github lukilabs/craft-agents-oss v0.7.8

9 hours ago

v0.7.8 — Amazon Bedrock, 1M Context & Error Handling


Features

  • Amazon Bedrock provider — Full IAM credential support for Amazon Bedrock connections. Pre-registers the Bedrock provider module to avoid bundled dynamic-import failures, injects IAM credentials as scoped subprocess env vars, and forces HTTP/1.1 for Bun/Electron compatibility. Fixes #400. Addresses #99.
  • 1M context window — Opus 4.6 and Sonnet 4.6 now use a 1,000,000-token context window. Fixes #424.
  • Onboarding "Setup later" — Users can now skip provider selection during onboarding and configure it later. Fixes #440.
  • CLI --base-url support — The --base-url flag now routes through the Pi backend (same codepath as the desktop UI) instead of being silently ignored.

Bug Fixes

  • Network proxy errors — Cloudflare HTML error pages from proxy misconfiguration now show a helpful error message instead of raw HTML. Detection works with and without proxy.
  • OAuth discovery for Streamable HTTP MCP — Servers using Streamable HTTP transport now correctly fall back to POST for OAuth metadata discovery, fixing connection failures for servers that don't support GET on /.well-known/oauth-authorization-server.
  • Plan submission interrupt — Suppressed spurious error messages that appeared after SubmitPlan interrupted agent execution. Fixes #420.
  • Session transcript persistence — Intermediate messages (tool results, system events) are now persisted to session JSONL, fixing transcript gaps on reload.
  • Automation history cap — Automation run history is now capped at 20 runs per automation (1000 global) with runtime compaction, preventing unbounded storage growth. Fixes #439.
  • Generic error messages — Removed hardcoded "Anthropic" from error messages so non-Anthropic providers see correct error text.

Improvements

  • Bedrock credential flow — Single credential fetch for IAM credentials eliminates a race window between env var injection and JSONL auth payload. AWS env vars are derived from the same getPiAuth() result used for the init message.
  • Pi proxy error handling — Extracted SDK error mapper and added a dedicated proxy_error code for typed error parity between Claude and Pi backends.
  • Automation history store — Refactored automation history into a dedicated history-store module with compaction, periodic persistence, and test coverage.

Docs

  • Added Network Proxy reference page documenting proxy configuration, NO_PROXY bypass, and troubleshooting.

Don't miss a new craft-agents-oss release

NewReleases is sending notifications on new releases.