Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -1195,8 +1195,11 @@ implements TanStack AI's own backend contracts (see its section below) — keep
implementation needed **no** new member for 0.55.0 — `pnpm typecheck` is clean across all four packages.
Even the extension's compiled output is unchanged: **`_manifest.json` is the only file in
`packages/eve-extension/dist` that differs from published `0.10.0`.**
- **TanStack AI 1.0.0 (2026-10-22) is NOT applied yet; `packages/tanstack-ai` + `examples/tanstack-ai-demo` stay on 0.71.0 / ai-persistence 0.10.1.** Against 1.0.0 `src` builds and the persistence conformance suite passes, but `pnpm typecheck` fails in tests only: `chat()` now requires `threadId` (`middleware.test.ts`, `search-tools.test.ts`; 4 runtime failures "chat() needs a threadId"), and `ArtifactRecord` requires `blobKey` (`persistence.test.ts` fixtures). Also: `@tanstack/ai@1.0.0`'s own `.d.ts` has a broken import (`spawn.d.ts`: `import('../../..')`), so `skipLibCheck: false` consumers get TS2307 from upstream. New 1.0 contracts not implemented yet: `SessionIndexStore`, `CredentialStore` (BYOK). ai 7.0.149+ added the `interrupted` finish reason; `@ai-sdk/react` pins `ai` exactly, so keep it in step (`^4.0.154` for ai 7.0.150).
- **TanStack AI 1.0.0 (2026-10-22) is NOT applied yet; `packages/tanstack-ai` + `examples/tanstack-ai-demo` stay on 0.71.0 / ai-persistence 0.10.1.** Against 1.0.0 `src` builds and the persistence conformance suite passes, but `pnpm typecheck` fails in tests only: `chat()` now requires `threadId` (`middleware.test.ts`, `search-tools.test.ts`; 4 runtime failures "chat() needs a threadId"), and `ArtifactRecord` requires `blobKey` (`persistence.test.ts` fixtures). Also: `@tanstack/ai@1.0.0`'s own `.d.ts` has a broken import (`spawn.d.ts`: `import('../../..')`), so `skipLibCheck: false` consumers get TS2307 from upstream. New 1.0 contracts not implemented yet: `SessionIndexStore`, `CredentialStore` (BYOK). ai 7.0.149+ added the `interrupted` finish reason; `@ai-sdk/react` pins `ai` exactly, so keep it in step (`^4.0.156` for ai 7.0.152).
- **eve 0.83.0 (2026-10-23) is applied to the extension only; `packages/eve` stays on 0.82.0.** 0.83.0 dropped the 0.82.0 contract stamps (extension rebuild: tool 96→102, dynamicTool 88→92, hook 48→51; extension peer `>=0.83.0`) and also **broke `packages/eve/src/sandbox.ts`'s typing** (not migrated yet — needs a source change): `eve/sandbox/provider` no longer exports `SandboxProviderHandle`/`SandboxProviderResources`; `NetworkPolicy` lists are mutable `string[]` (ours are `readonly`); `SandboxSession` requires `writeFiles`; `SandboxPrepareContext` lost `resources`/`sourceRevision`; the connection no longer has `handle`/`sandbox`/`onSandboxDelete`. Until that migration lands, `packages/eve` + `examples/eve-demo` pin `eve ^0.82.0` (two eve versions in the workspace on purpose).
- **eve 0.83.2 + ai 7.0.153 (2026-10-25): extension + `examples/eve-extension-demo` move to eve `^0.83.2`; `packages/eve` + `examples/eve-demo` stay on `^0.82.0`.** The extension rebuilt on 0.83.2 stamps the same contracts as 0.83.0 (tool 102 / dynamicTool 92 / hook 51), so its `>=0.83.0` peer floor is still truthful. Published `@upstash/agentkit-eve@0.16.1` `./sandbox` fails at sandbox-template init on eve 0.83.x (plain `eve build` with `UpstashSandbox.environment()` -> "Cannot read properties of undefined (reading 'workspace')"; `--skip-sandbox-prewarm` hides it), so its `>=0.75.0` peer admits eve versions where `./sandbox` is broken until the source migration lands. TanStack AI 1.0.0 still not applied (see above).
- **eve 0.83.3 + ai 7.0.154 (2026-10-27): extension + `examples/eve-extension-demo` move to eve `^0.83.3`, ai is `7.0.154` everywhere (`@ai-sdk/react ^4.0.158`).** Same contracts as 0.83.0, peer floor unchanged. **eve 0.84.0 (2026-10-26) is NOT applied: it breaks `packages/eve-extension` and `packages/eve` sources** (needs a source migration). Published `@upstash/agentkit-eve-extension@0.16.1` fails `eve build` on eve 0.84.0 with "uses an old epoch-based distribution manifest … Rebuild the extension with this eve release". Extension typecheck on 0.84.0: `SessionContext` no longer exported from `eve/tools`; hook key `message.received` gone; tool defs no longer accept `events`. `packages/eve` on 0.84.0: `signal` removed from `MemoryDocumentReadInput`/`WriteInput`, `MemoryCompactionCompletedContext` and the `compaction.completed` recall hook gone, `MemoryToolsContext.turn` gone, plus the sandbox typings above. TanStack AI 1.0.0 still not applied (see above); ai 7.0.154 is clean (published `@upstash/agentkit-ai-sdk@0.15.1` typechecks and imports on it).
- **ai 7.0.155 (2026-10-28) applied everywhere except `packages/eve` + `examples/eve-demo` (stay on 7.0.154; `@ai-sdk/react ^4.0.159`); with 7.0.155 `packages/eve` tsc fails at `src/sandbox.ts:340` (spawn return type vs eve 0.82.0 overloads) and eve-demo `next build` fails; eve 0.84.1 / 0.85.0 NOT applied.** Same state as 0.84.0: extension typecheck on 0.85.0 still fails (`SessionContext` missing from `eve/tools`, hook key `message.received` gone, `events` rejected on tool defs) and published `@upstash/agentkit-eve-extension@0.16.1` still fails `eve build` on eve 0.85.0 ("uses an old epoch-based distribution manifest"); needs a source migration. Published `@upstash/agentkit-ai-sdk@0.15.1` typechecks (`skipLibCheck: false`, with `@types/json-schema` installed, which `@ai-sdk/provider` omits) and imports on ai 7.0.155. TanStack AI 1.0.0 still not applied.
- **The 0.74.0 → 0.82.0 bump (2026-10-22) moves everything, with a source migration in `packages/eve`.** eve 0.75.0 renamed the sandbox provider handle hooks `onSessionStop`/`onSessionDelete` → `onSandboxStop`/`onSandboxDelete`, and eve 0.66.0 had removed `MutableNetworkSandboxSession` (network policy became provider-specific). `packages/eve/src/sandbox.ts` now declares its own `UpstashSandboxSession = SandboxSession & { setNetworkPolicy }` (exported; what `ctx.getSandbox(environment)` returns) and uses the new hook names, so the `eve` peer floor moved `>=0.65.0` → **`>=0.75.0`** (floor read off the 0.74.0 vs 0.75.0 tarballs: `onSessionStop` present vs absent in `shared/sandbox-provider.d.ts`; not verified by a full `tsc` against 0.75.0). `packages/eve` + `examples/eve-demo` are on eve ^0.82.0. The extension rebuild re-stamps **tool 78→96, dynamicTool 73→88, hook 39→48**; only 0.82.0 accepts them (0.75.0–0.81.1 do not), floor `>=0.74.0` → **`>=0.82.0`**. `upstashPersistence` gained an `activities` store (`ActivityStore`, one JSON doc per thread at `<prefix>:activities:<threadId>`, same TTL as messages) because `@tanstack/ai-persistence` ≥0.8.0's conformance suite requires it, so ai-persistence moves 0.7.2 → 0.10.1 and the peer floors become `@tanstack/ai` `>=0.65.0` (`ActivityRecord` type), `@tanstack/ai-persistence` `>=0.8.0` (`ActivityStore` type). ai 7.0.148, @tanstack/ai 0.71.0, -memory 0.2.16 and the demo packages are bumped.
- **The 0.72.1 → 0.74.0 bump (2026-10-08) is EXTENSION-ONLY again** (same reason: `packages/eve` still imports the removed
`MutableNetworkSandboxSession`, `TS2305` in `src/sandbox.ts`/`sandbox.test.ts` on 0.74.0; `packages/eve` + `examples/eve-demo` stay on 0.65.0). The rebuild re-stamps
Expand Down
4 changes: 2 additions & 2 deletions examples/ai-sdk-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
},
"dependencies": {
"@ai-sdk/openai": "^4.0.71",
"@ai-sdk/react": "^4.0.154",
"@ai-sdk/react": "^4.0.159",
"@upstash/agentkit-ai-sdk": "workspace:*",
"@upstash/agentkit-sdk": "workspace:*",
"@upstash/redis": "^1.38.4",
"ai": "7.0.150",
"ai": "7.0.155",
"dotenv": "^16.4.5",
"next": "16.2.9",
"react": "19.2.6",
Expand Down
2 changes: 1 addition & 1 deletion examples/eve-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@upstash/box": "^0.7.5",
"@upstash/redis": "^1.38.4",
"@vercel/connect": "0.2.2",
"ai": "7.0.150",
"ai": "7.0.154",
"class-variance-authority": "0.7.1",
"clsx": "2.1.1",
"cmdk": "1.1.1",
Expand Down
4 changes: 2 additions & 2 deletions examples/eve-extension-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"@upstash/agentkit-eve-extension": "workspace:*",
"@upstash/redis": "^1.38.4",
"@vercel/connect": "0.2.2",
"ai": "7.0.150",
"eve": "^0.83.0",
"ai": "7.0.155",
"eve": "^0.83.3",
"zod": "4.4.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@ai-sdk/openai": "^4.0.71",
"@ai-sdk/provider": "^4.0.17",
"@upstash/redis": "^1.38.4",
"ai": "7.0.150",
"ai": "7.0.155",
"dotenv": "^16.4.5"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/eve-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
},
"devDependencies": {
"@types/node": "24.x",
"eve": "^0.83.0",
"eve": "^0.83.3",
"typescript": "7.0.2"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/eve/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"devDependencies": {
"@upstash/box": "^0.7.5",
"@upstash/redis": "^1.38.4",
"ai": "7.0.150",
"ai": "7.0.154",
"dotenv": "^16.4.5",
"eve": "^0.82.0"
},
Expand Down
Loading
Loading