Repository navigation
docs: align SDK and provider guidance with installed dependencies - #380
developerz-ai[bot] merged 1 commit into
Conversation
The root CLAUDE.md stack table still named `ai` ^6.0.182 and `@ai-sdk/mcp` ^2.0.87, and its provider note ordered the hoisted `@ai-sdk/provider` copy to stay on the v3 line. The manifests and bun.lock are right: `ai` v7 and `@ai-sdk/mcp` v2 both resolve provider v4 (4.0.35) and `@openrouter/ai-sdk-provider` v3 declares no provider dependency, so no v3 has to be defended. Restate the AI SDK row for v7 (`ToolLoopAgent`; `experimental_Agent` survives only as an alias export), rewrite the provider-hoisting paragraph around the current relationship, and fix the ai-claude-compat README's stale "Peer dep: `ai` (AI SDK v6)" line — `ai` is a direct dependency at ^7.0.159. Prose only: no dependency version moves. Dz-Task-Id: tsk_28d04c9e8582c1483c3c00e604ab42fa
|
Align SDK and provider house guidance with installed dependencies
Work landed on #380 — watching it toward merge. 45m · 135 tool calls · 6 messages Sessions: coding run 🤖 developerz.ai, an automated agent, not a human — hv-dedicated-dev-din (developerz-ai[bot]) · model |
✅ Reviewed — nothing blocking0 actionable comment(s) · grounded on your code ⏱ 1m 19s wall clock · 🤖 developerz.ai — automated review, running on your model and your box. |
There was a problem hiding this comment.
Review summary — 2 file(s), 0 finding(s).
completed Updates SDK v7/provider v4 guidance and corrects the README’s direct-dependency description; documentation-only, low risk, with no verified defects in the supplied diff.
- test files were not shown to the reviewer — this diff touched no path recognised as a test, so no assertion was available to read the change against
🤖 developerz.ai review — automated, running on your model and your box. What is this? · Reviewed by router/gpt-6.1-sol on box hv-dedicated-dev-marshall — 44.7k in / 420 out over 2 calls; cost unknown: no price on record for router/gpt-6.1-sol.
What
The root CLAUDE.md stack table still named
ai^6.0.182 and@ai-sdk/mcp^2.0.87, and itsprovider note ordered the hoisted
@ai-sdk/providercopy to stay on the v3 line. The manifestsand bun.lock are right:
aiv7 and@ai-sdk/mcpv2 both resolve provider v4 (4.0.35) and@openrouter/ai-sdk-providerv3 declares no provider dependency, so no v3 has to be defended.Restate the AI SDK row for v7 (
ToolLoopAgent;experimental_Agentsurvives only as an aliasexport), rewrite the provider-hoisting paragraph around the current relationship, and fix the
ai-claude-compat README's stale "Peer dep:
ai(AI SDK v6)" line —aiis a direct dependencyat ^7.0.159. Prose only: no dependency version moves.
Acceptance
ai^7.0.159 and@ai-sdk/mcp^2.0.88, matching packages/aitm/package.json lines 46-49.aiv7 and@ai-sdk/mcpv2 both resolve@ai-sdk/providerv4 (4.0.35) and that@openrouter/ai-sdk-providerv3 declares no provider dependency; no line in the file still directs the reader to hold the hoisted copy at provider v3.experimental_Agentis gone — it states the v7 naming:ToolLoopAgent, withexperimental_Agentonly an alias export of it.aias this package's direct dependency ^7.0.159 (AI SDK v7) instead of 'Peer dep:ai(AI SDK v6)'.ai6.0.182 → 6.0.240,@ai-sdk/provider3.0.10 → 3.0.14) is left verbatim — it is a historical record, not current guidance.bun run lint(biome check .) passes on the tree with the two edited markdown files.Changes
CLAUDE.md(edit) — Rewrite two spots of the house guidance: (1) the ## Stack table's AI SDK row —ai^6.0.182→^7.0.159,@ai-sdk/mcp^2.0.87→^2.0.88, and replace the stale '(v6; the AI SDK 5 nameexperimental_Agentis gone)' with the v7 naming (ToolLoopAgent;experimental_Agentexists in v7 only as an alias export of it). (2) the 'Provider & AI SDK' bullet that orders the reader to keep the hoisted@ai-sdk/provideron the v3 line — replace it with the current relationship (ai v7 and @ai-sdk/mcp v2 both resolve provider v4 4.0.35; @openrouter/ai-sdk-provider v3 declares no provide [trimmed]packages/ai-claude-compat/README.md(edit) — Fix the '## Runtime' sentence 'Peer dep:ai(AI SDK v6)':aiis a DIRECT dependency of this package (ai: ^7.0.159 → AI SDK v7) — packages/ai-claude-compat/package.json declares no peerDependencies block at all. Rewrite the sentence to say the direct dependency and AI SDK v7; nothing else in the file changes.packages/ai-claude-compat/src/subagent.test.ts(edit) — [completeness] This change must be documentation-only (criteria: 'Only documentation changes'; 'The diff touches only CLAUDE.md and packages/ai-claude-compat/README.md'), but this third path adds code. Restore the pre-change content: delete the oneShotStallTimer helper (lines 909-954) and restore the stall-recovery test body (:1076-1101) toonStream: () => {},, the original two-line comment, andstreamWatchdog: { inactivityMs: 50, graceMs: 5_000 },(notimer). The file's diff must end up empty; the deterministic-timer rewrite belongs in its own PR.Verification
./bin/checkpassed (exit 0) in 3m 41s.🤖 Opened by developerz.ai for task
tsk_28d04c9e8582c1483c3c00e604ab42faon developerz-ai/ai-task-master.Raised automatically by the
raw_task_triagelane.