Repository navigation
docs: fix stale API names and upgrade guidance - #410
Merged
Merged
Conversation
commit: |
There was a problem hiding this comment.
1 issue found across 9 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="CLAUDE.md">
<violation number="1" location="CLAUDE.md:104">
P2: This leaves the v0.3.x upgrade path incomplete: the historical section starts at Step 2 after its dependency-update step was removed, while the only current install block jumps directly to v0.7/AI SDK 7. Link the historical v0.3-to-v0.6 guide here or restore the missing v0.6 dependency step.</violation>
</file>
Tip: Get a Slack DM when cubic finishes reviewing your PRs. Connect Slack
Re-trigger cubic
|
|
||
| ### Historical: v0.3.x (AI SDK v5) to v0.6.0 (AI SDK v6) | ||
|
|
||
| The remaining sections describe the older v5 to v6 upgrade. Apply them first when a project is still on v0.3.x, then continue with `MIGRATION.md`. |
There was a problem hiding this comment.
P2: This leaves the v0.3.x upgrade path incomplete: the historical section starts at Step 2 after its dependency-update step was removed, while the only current install block jumps directly to v0.7/AI SDK 7. Link the historical v0.3-to-v0.6 guide here or restore the missing v0.6 dependency step.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At CLAUDE.md, line 104:
<comment>This leaves the v0.3.x upgrade path incomplete: the historical section starts at Step 2 after its dependency-update step was removed, while the only current install block jumps directly to v0.7/AI SDK 7. Link the historical v0.3-to-v0.6 guide here or restore the missing v0.6 dependency step.</comment>
<file context>
@@ -88,26 +88,22 @@ Follow the rules in `.cursor/rules/convex_rules.mdc`:
+
+### Historical: v0.3.x (AI SDK v5) to v0.6.0 (AI SDK v6)
+
+The remaining sections describe the older v5 to v6 upgrade. Apply them first when a project is still on v0.3.x, then continue with `MIGRATION.md`.
-### Step 2: Detect v5 Patterns
</file context>
Suggested change
| The remaining sections describe the older v5 to v6 upgrade. Apply them first when a project is still on v0.3.x, then continue with `MIGRATION.md`. | |
| The remaining sections describe the older v5 to v6 upgrade. For a v0.3.x project, follow the earlier migration guide linked in `MIGRATION.md` before upgrading to v0.7. |
Collaborator
Author
There was a problem hiding this comment.
Valid, but #410 was merged before the fix landed. Restoring the v0.6 dependency step in a follow-up docs PR.
ianmacartney
approved these changes
Oct 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes stale API names and guidance in the docs, each checked against the code and AI SDK 7: the upgrade section in CLAUDE.md (v0.7, AI SDK 7, rag 0.7.6), CONTRIBUTING build steps, createTool in rag.mdx and human-agents.mdx (inputSchema/execute, input, output), embeddingModel and embed() in context.mdx, toUIMessageStreamResponse in streaming.mdx, the UIMessage part list in messages.mdx, and what auto-deny actually does in tool-approval.mdx. Also notes that streamObject only saves once its stream is read to the end.