Packages

@tanstack/ai-claude-code

1.0.0 · 22 Oct 2026MIT13k / weekRepositorynpmAtom feed

34 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 1.x · latest line
  2. 1.0.0

    22 Oct 2026
  3. 0.9.x
  4. 0.9.1 – 0.9.22 releases that only update dependencies@tanstack/ai 0.71.0@tanstack/ai-sandbox 0.5.25Show each
  5. 0.9.0

    13 Oct 2026
    • Set reasoning with chat({ reasoning }).

      Breaking: none. The adapter had no reasoning option before.

      chat({
        adapter: claudeCodeText('claude-opus-4-8'),
        messages,
        reasoning: 'xhigh',
      })
    • The CLI-style adapters follow chat({ toolChoice }) where they can.

  6. 0.8.x
  7. 0.8.1

    9 Oct 2026
  8. 0.8.0

    9 Oct 2026
    • usage.promptTokens is now the total input on the Anthropic, Bedrock Converse, and Claude Code adapters. It is the uncached tokens plus the cache reads plus the cache writes. Before, it was the uncached tokens only. totalTokens now uses the new promptTokens. The cache parts stay in promptTokensDetails.cachedTokens and promptTokensDetails.cacheWriteTokens. Other adapters already report promptTokens this way.

      Breaking: if your code adds cachedTokens or cacheWriteTokens to promptTokens to get the total input, it now counts the cache two times. Use promptTokens as the total. To get the uncached tokens, subtract cachedTokens and cacheWriteTokens from promptTokens.

  9. 0.7.x
  10. 0.7.1 – 0.7.44 releases that only update dependencies@tanstack/ai 0.66.0@tanstack/ai-sandbox 0.5.20Show each
  11. 0.6.x
  12. 0.6.1 – 0.6.1210 releases that only update dependencies@tanstack/ai 0.61.0@tanstack/ai-sandbox 0.5.15Show each
  13. 0.6.0

    25 Aug 2026
    • Expose Claude Code setting sources and loaded skills in session metadata.

      settingSources defaults to ['project']. Workspace projections (instructions, skills, MCP config) now load, and a local-process run no longer picks up the host's ~/.claude. Pass ['user', 'project', 'local'] for CLI-equivalent behavior. Plugin projection installs at project scope.

  14. 0.5.x
  15. 0.5.0

    24 Aug 2026
    • Add headless BYOK: defineByok in @tanstack/ai-client/byok, pass byok into chat and generation hooks, and read keys on the relay with getByokKey from @tanstack/ai/byok/server. Provider ids are open slugs (x-byok-<slug>). Each adapter exports a { id, label, env? } object (openaiByok, …); id is required. env is the env var name(s) for the relay — names only; the client never reads process.env. A wrong key surfaces as the provider's own 401 through the relay, so no client-side key check is needed. OpenRouter PKCE (@tanstack/ai-openrouter/pkce) saves the minted key under openrouterByok.id.

  16. 0.4.x
  17. 0.4.1 – 0.4.43 releases that only update dependencies@tanstack/ai 0.48.0@tanstack/ai-sandbox 0.5.0Show each
  18. 0.4.0

    18 Aug 2026
    • Harness adapters honor chat({ outputSchema }) on the same turn.

      Claude Code and Codex pass a native schema flag. OpenCode, Grok Build, and acpCompatible parse JSON from the final assistant text. The engine reads a structured-output.complete event so harness prose is not parsed as JSON.

  19. 0.3.x
  20. 0.3.2

    12 Aug 2026
    • make default Daytona + Grok/Codex sandbox runs work without extra wrappers

      Headless Grok and Codex stay permissive when policy is deny-only plus default allow. Daytona remaps /workspace, starts stopped sandboxes on resume, keeps secrets out of create-time envVars and command strings, and uses native fs/git plus session stdin. Nested skills project by name. Durable Grok journals when durability is wired.

  21. 0.3.1

    10 Aug 2026
  22. 0.3.0

    4 Aug 2026
    • breaking

      RunStatus widened to include 'aborted' (previously 'running' | 'completed' | 'failed' | 'interrupted'). The union appears in a read position (get(): Promise<RunRecord | null>), so an exhaustive switch over record.status with a never default in your code stops compiling until it handles 'aborted'.

    • breaking

      Run types are re-exported from @tanstack/ai rather than declared here, so the runs store is typed against core's RunStore directly. MemoryRunStore implements both optional list methods, and the shared conformance testkit covers them.

    • breaking

      runPersistenceConformance accepts skipMethods. An optional method that is missing and not declared in skipMethods now throws instead of silently passing, so an existing backend running the suite may see a new failure telling it to implement the method or declare the omission.

  23. 0.2.x
  24. 0.2.3

    20 Jul 2026

    Reading the note…

  25. 0.2.2

    16 Jul 2026

    Reading the note…

  26. 0.2.1

    6 Jul 2026

    Reading the note…

  27. 0.2.0

    30 Jun 2026

    Reading the note…

  28. 0.1.x
  29. 0.1.0

    30 Jun 2026

    Reading the note…