Repository navigation
docs: remove V2 details from V1 docs - #58277
Conversation
There was a problem hiding this comment.
I found nothing blocking. I checked every English change against the v1.19.4 source, and they match it. That covers the 5-minute chunk timeout with no overall timeout, .env reads set to ask, the plan file locations, webfetch accepting a single action only, Scout and the skill metadata keys being absent, agent create/agent list/debug agent <name>, upgrade --major, autoupdate only notifying, and todowrite. In the translations, every changed line is part of the shell→bash rename, and the renamed links and anchors resolve. Nothing was run, since it is docs only.
The public API is unchanged. Only the documentation changes.
For maintainers to decide: this undoes parts of #56922 (the shell rename) and #57419 (removed agent create), and it conflicts with open #58016, which rewrites the same cli.mdx for V2 commands. A few small changes aren't listed in the description: tips_toggle, OPENCODE_EXPERIMENTAL_BACKGROUND_SUBAGENTS, the watcher wording and the debug config wording. They are correct for v1.
9d55760 to
6662815
Compare
There was a problem hiding this comment.
The new commit looks good. Plan files are now tied to OPENCODE_EXPERIMENTAL_PLAN_MODE, which matches v1.19.4. --major is in the upgrade flags table. The ! section is back to "Shell commands" in English and the translations, and every tui#shell-commands link resolves. The rest is wording. I checked against the v1.19.4 source and ran nothing, since it is docs only. The public API is unchanged. I have nothing new to raise.
Issue for this PR
No linked issue.
Type of change
What does this PR do?
The V1 docs at
/docsdescribe some V2 behavior. This puts back what 1.19.4 actually does.shellback tobashfor the tool, permission, and examples, in English and all translations. docs: correct plan agent permissions and use shell tool name #56922 renamed it, but V1 still usesbash. The!feature keeps the name "Shell commands".OPENCODE_EXPERIMENTAL_PLAN_MODE. Fix their location and the permission example.webfetch: V1 only accepts allow/ask/deny, not URL patterns.metadataoptions. Neither exists in V1.opencode debug agents->opencode agent list. Add backagent create..envreads ask instead of deny./updateandupgrade --major.todowrite,todo.updated, and the session todo endpoint.Translations only get the renames, no other wording changes.
How did you verify your code works?
bun run buildinpackages/web, and checked that every#shell-commandslink resolves.Screenshots / recordings
N/A, docs only.
Checklist