Repository navigation
StreamCheck v0.2.0
StreamCheck v0.2.0 adds role-preserving conversation input and verifies the actual packed package inside the Cloudflare Workers runtime. Existing prompt callers, the prompt-based CLI, result schema, synchronous callbacks, and disabled retries are preserved.
Changes
- Export
TextMessagewith system, user, and assistant roles. Accept exactly one ofpromptor a nonemptymessagesarray, preserving roles, order, whitespace, and content through the official SDK. Malformed or ambiguous input fails before transport; pre-aborted cancellation retains precedence. PR #7, issue #5. - Add
npm run test:workersto the full check. It installs the tarball outside the checkout and exercises public exports through the real SDK with synthetic HTTP/SSE fixtures and blocked external traffic. - Require both a normal finish reason and a complete SSE
[DONE]event before accepting success. Missing terminal markers and unfinished trailing frames now produce protocol diagnostics with received text retained. This stricter completion check can reject streams that earlier releases appeared to accept. PR #6. - Add an explicitly invoked, bounded manual live-interruption verification command, excluded from automated checks. Running that command explicitly can incur provider charges. PR #4.
Install
npm install --ignore-scripts https://github.com/dannymitchelldev/streamcheck/releases/download/v0.2.0/streamcheck-0.2.0.tgzDistribution remains through GitHub Releases, not the npm registry. Download the archive and SHA256SUMS together and verify with sha256sum -c SHA256SUMS, shasum -a 256 -c SHA256SUMS, or the source checkout's npm run checksum -- --check <path-to-SHA256SUMS>.
Verification
Release commit: 6b45f03da1dbb7f29edcbb4ca3541b48b38f4cdf.
All four exact-commit CI jobs passed: Ubuntu/Windows × Node 22.12.0/24, using npm ci --ignore-scripts, the full check, and the typed offline example. The full check passed 157 Node tests, packed declarations/installed CLI checks, and 50 workerd cases. The Workers report records 22 intercepted fixture requests and zero external requests.
The attached archive was packed from the clean release commit and verified without repacking through both the installed package consumer and workerd. SHA-256:
26052e58300c227ea5cafcd1a34a0736c70d0091001f5805be416365557a38e7 streamcheck-0.2.0.tgz
Runtime and evidence boundaries
Node.js 22.12+ and ESM are required for the CLI/tooling. The library's Workers configuration is verified with workerd 1.20260730.1, compatibility date 2026-07-30, and nodejs_compat. The SDK remains pinned to 1.5.91; esbuild 0.28.2 is development tooling. Other compatibility settings, deployed Cloudflare behavior, macOS, and physical console Ctrl+C are not established by this release's matrix.
No new live-provider calls were made for this release. Synthetic faults do not establish naturally occurring upstream reliability or cessation of provider billing after cancellation. Framing observation ends at the first complete [DONE] event, not full HTTP EOF. Tools, images, async callbacks, automatic retry/continuation, and server-side persistence remain unsupported. Prompts and generated text are not automatically redacted. Historical live receipts remain tied to their recorded source revisions.