Repository navigation
StreamCheck v0.1.0
StreamCheck diagnoses OpenRouter text-stream failures while preserving the text already received. This is the initial MIT-licensed release of the TypeScript library and CLI.
Included
- Typed success, failure, interrupted-output, and cancellation results.
- Timing, observed HTTP status, normalized diagnostics, and exact partial text.
- Human CLI output, one-object JSON, meaningful exit codes, overall deadlines, and SIGINT handling.
- Four credential-free HTTP/SSE scenarios through the official SDK; no automatic retries.
- Source, declarations, public documentation, actual terminal recording, and packaged-consumer checks.
Try without credentials
git clone https://github.com/dannymitchelldev/streamcheck.git
cd streamcheck
git checkout v0.1.0
npm ci --ignore-scripts
npm run build
node dist/bin.js demo interruptedExit 3 is intentional: the demonstration returns interrupted output and a provider diagnostic. No provider request or API key is required.
For another ESM project:
npm install --ignore-scripts https://github.com/dannymitchelldev/streamcheck/releases/download/v0.1.0/streamcheck-0.1.0.tgzGitHub is the distribution channel; the package is not published to the npm registry.
Verification
Release commit: f0c219e08c807c83d531c18d407d66a7ed1993e5.
All four CI jobs passed: Windows/Ubuntu × Node 22.12.0/24, including type checking, build, the 95-test suite, archive/fresh-consumer checks, and the typed offline example. Local publication checks also passed from a newly populated npm cache.
The attached .tgz contains the built library/CLI and is verified as an exact artifact in an isolated consumer. SHA256SUMS contains its SHA-256 digest. Keep both downloads together and verify with:
sha256sum -c SHA256SUMSAlternatively use shasum -a 256 -c SHA256SUMS, or npm run checksum -- --check <path-to-SHA256SUMS> from the source checkout.
Boundaries
Node 22.12+ and ESM are required. The pinned SDK hides DONE versus EOF and can drop an unfinished trailing frame; a valid finish followed by such a frame can remain undetectable. See the design contract.
Live provider behavior, macOS, physical console Ctrl+C, and human implementation review are not claimed as verified. SIGINT handling is exercised through a portable subprocess harness. Prompts and generated text are not automatically redacted. Explicit live runs may incur charges; retries after partial output can duplicate text and add charges.
Built with Codex from a reviewed contract, with separate independent AI implementation and publication reviews. The engineering record documents actual findings, corrections, and verification boundaries.