| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-08-24 | 5.3 kB | |
| v2.0.1 source code.tar.gz | 2026-08-24 | 542.1 kB | |
| v2.0.1 source code.zip | 2026-08-24 | 621.1 kB | |
| Totals: 3 Items | 1.2 MB | 0 | |
Added
- Added a static, no-JavaScript landing page at
GET /andHEAD /for native and Cloudflare runtimes. It reports the runtime and package version, links to health and public project resources, sends a restrictive content-security policy, and is cached for five minutes.HEADpreserves the response contract without a body./docsand/openapi.jsonremain unimplemented. - Native Bedrock signing now accepts the optional
x-aws-session-tokenheader, bringing temporary STS credential support to both native and Cloudflare runtimes.
Fixed
- Cloudflare Worker Bedrock requests with
stream: truenow fail with a deterministic OpenAI-shaped HTTP 400 witherror.code = "unsupported_feature"before Nova Guard admission or AWS dispatch. A present non-Booleanstreamvalue is likewise rejected with a deterministic HTTP 400 instead of being treated as buffered mode. Native Bedrock ConverseStream remains supported; Worker Bedrock streaming is not implemented and is no longer allowed to enter an invalid signing/response path. - The native server now honors the configured
HOSTwhen binding its TCP listener. The previous startup path loggedHOSTbut always bound the wildcard address. WORKER_THREADSnow determines the native Tokio runtime's worker count; the previous startup path applied the value only after Tokio had already created its runtime.- The container image now sets
HOST=0.0.0.0so published ports and orchestrator probes can reach the process, while native installations retain the loopback default. Release builds pass the Cargo version into the OCI image label instead of permanently labeling the imagelatest, record the exact source revision, and run as the fixed unprivileged UID/GID65532:65532. - Container automation now publishes versioned GHCR and Docker Hub images (and
advances
latest) only for a pushedv${Cargo package version}tag. Pull requests,main, and manual runs build without publishing; a mismatched tag or a tag whose commit is outside trustedmainfails before registry login. Every event validates the image with a read-only root filesystem, all capabilities dropped,no-new-privileges, the exact OCI labels, and a live versioned health response. The BuildKit context is deny-by-default and contains only the Cargo manifests, Rust source, policy schema, and pricing catalog. - Cross-provider credential headers are stripped from generic upstream
requests.
x-api-keyis reconstructed only for Anthropic, andx-aws-*headers are consumed only by Bedrock, so a credential for one provider is not leaked to another provider. - Cloudflare version and alias preview URLs are explicitly disabled in
wrangler.toml. This keeps preview hostnames dark after the deleted-version routing incident and makes future preview exposure an intentional, reviewable configuration change. - Live-provider smoke defaults now use the model IDs verified on 2026-08-24, accept per-provider model overrides through repository/environment variables, can pass an optional AWS STS session token without storing it in source, and require authoritative terminal streaming usage. OpenAI and Groq request that usage explicitly; Together and Fireworks rely on their provider-emitted final chunks rather than an undocumented OpenAI option.
- Native Bedrock event-stream decoding now uses AWS's maintained Smithy parser,
validates both frame checksums before translating a message to SSE, and
propagates corrupt-frame failures to the downstream body. This removes the
legacy parser chain that pulled in the unsound
lexical-core 0.7.6. - Native and integration-test environment loading now uses the maintained
dotenvyfork instead of the unmaintaineddotenv 0.15.0. Together with the Bedrock parser migration, the Rust security gates now carry no explicit advisory waivers. - The integration harness no longer falls back to the repository's production
.envwhen.env.testis absent. Hermetic CI now runs all eight network-free provider-helper regressions, including model override and provider-aware terminal-usage selection. - The Workerd suite now verifies
HEAD /parity, cross-provider credential stripping, the complete OpenAI-shaped Worker Bedrockunsupported_featureerror envelope, and rejection of a non-Boolean Bedrockstreamfield rather than checking only a status or one field.
Documentation
- Added a v1.2-to-v2 migration guide, a five-minute quick start, an explicit credential/scope matrix, production deployment and rollback runbooks, and a repeatable native/Worker/live-provider validation checklist.
- Made the packaged README's repository links resolve through the immutable
v2.0.1Git tag instead of crates.io's movingHEADrewrite. - Preserved the v2.0.0 Cloudflare deployment as a dated release baseline and clarified, without pinning the current production version, that a shared hostname must remain transparent unless it is split into dedicated project-bound deployments.
- Replaced stale Fireworks and Together model inventories with dated, production-verified examples and documented the native/Worker Bedrock streaming split and AWS credential boundary.