Repository navigation
StreamCheck v0.1.1
StreamCheck v0.1.1 fixes two diagnostic edge cases without changing the public API or result schema.
Fixed
- #1: malformed authorization-header values now return input/setup diagnostics before transport. This includes control characters that Headers accepts but Node HTTP rejects. The CLI returns exit 2, genuine connectivity errors remain network diagnostics, and header normalization is preserved.
- #2: the first observed finish reason is retained when synchronous onText throws or cancels on a combined text/finish frame. Partial text and first-accepted terminal precedence are preserved; success still waits for SDK draining.
Changes are in PR #3.
Try without credentials
git clone https://github.com/dannymitchelldev/streamcheck.git
cd streamcheck
git checkout v0.1.1
npm ci --ignore-scripts
npm run build
node dist/bin.js demo interruptedExit 3 is intentional: the fixture demonstrates retained partial output after a streaming provider error. No API key or provider request is needed.
Install the built library and CLI into another ESM project:
npm install --ignore-scripts https://github.com/dannymitchelldev/streamcheck/releases/download/v0.1.1/streamcheck-0.1.1.tgzDistribution is through GitHub Releases; this package is not published to the npm registry.
Verification
Release commit: d9795dfb0cdc0fda6c37f887c49bb264d6179286.
All four exact-commit CI jobs passed: Ubuntu/Windows x Node 22.12.0/24, including type checks, build, 108 tests, package/fresh-consumer checks, and the typed offline example.
Twelve regression cases were observed failing before their corresponding fixes; a normalization control and existing network/cancellation controls also pass. Independent AI patch re-review resolved the control-character and subprocess-guard findings, with no remaining runtime findings. The engineering record documents the corrections.
The attached archive was built from the clean release commit and tested as an exact artifact in an isolated consumer. Download the archive and SHA256SUMS together and verify:
sha256sum -c SHA256SUMSAlternatively use shasum -a 256 -c SHA256SUMS, or npm run checksum -- --check <path-to-SHA256SUMS> from a source checkout.
Boundaries
Node 22.12+ and ESM are required. Dependencies and the no-retry policy are unchanged. The pinned SDK still hides DONE versus EOF and can discard an unfinished trailing frame; see the design contract.
Live provider behavior, macOS, physical console Ctrl+C, and human implementation review remain unverified. Prompts and generated text are not automatically redacted. Explicit live runs may incur charges, and retrying partial generations can duplicate output and add charges.