Skip to content

v1.7.0 — The chatbot that remembers, knows its bill, and never breaks

Choose a tag to compare

@U-C4N U-C4N released this 19 Jul 04:35
· 22 commits to main since this release

Deuz 1.7: your chatbot now remembers, knows its bill, and never breaks — memory, live USD cost, budget guardrails, signed approvals, vendor-free resume, and cross-provider failover. All six inside the library. All six missing from the Vercel AI SDK (receipts in the README).

Six things even the Vercel AI SDK doesn't have

  1. Built-in cross-session memorymemory: { seams, scope } on any call: recall before the first token, mem0-style extract→reconcile after the turn, non-blocking.
  2. Live USD cost on the wire — a cumulative cost stream part per step from the in-library price catalog, with prompt-cache savings as its own field.
  3. Budget guardrailbudget: { usd, tokens } hard-stops the loop with a typed budget-exceeded part.
  4. Cryptographic approval trail — HMAC-signed, runId-bound, expiring approval tokens through the UI wire; forged/expired/token-less approvals are denied on resume.
  5. Durable × resumable, vendor-free — F5 mid-tool-loop: the run continues from its checkpoint AND the stream reconnects gaplessly (resumeDeuzChatResponse, one endpoint).
  6. Cross-provider failoverfallbackModels hops providers mid-conversation with the identical canonical history, backed by a live circuit breaker.

Also in 1.7

  • Resumable UI wire v2: SSE seq ids + Last-Event-ID replay, StreamStateStore seam, multi-client live follow, connectDeuzStream auto-reconnect — v1 clients keep working byte-identically.
  • Typed data parts (writeData + Standard Schema validation on-stream), tool state machine, built-in RAG citations.
  • ChatStore persistence + pure chat engine + regenerate / edit-and-branch.
  • New package: @deuz-sdk/react — useChat v2, useObject, headless ToolApprovalCard + CostBadge. (@deuz-sdk/core/react keeps working, frozen.)
  • Repo is now an npm-workspaces monorepo; 30 core subpaths; 664 tests.

Full details: packages/core/CHANGELOG.md · v1.7.0.md (design spec)

🤖 Generated with Claude Code