Skip to content

docs: remove V2 details from V1 docs - #58277

Merged
Tarquinen merged 1 commit into
anomalyco:devfrom
Tarquinen:v1-docs-restore
Oct 23, 2026
Merged

Tarquinen merged 1 commit into
anomalyco:devfrom
Tarquinen:v1-docs-restore

Conversation

@Tarquinen

@Tarquinen Tarquinen commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Issue for this PR

No linked issue.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

The V1 docs at /docs describe some V2 behavior. This puts back what 1.19.4 actually does.

  • Rename shell back to bash for 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 uses bash. The ! feature keeps the name "Shell commands".
  • Plan agent: plan files need OPENCODE_EXPERIMENTAL_PLAN_MODE. Fix their location and the permission example.
  • Policies: mark as OpenCode 2 only. OpenCode 1 doesn't enforce them.
  • webfetch: V1 only accepts allow/ask/deny, not URL patterns.
  • Remove Scout and the skill metadata options. Neither exists in V1.
  • opencode debug agents -> opencode agent list. Add back agent create.
  • .env reads ask instead of deny.
  • Provider timeouts: overall timeout is off by default, chunk timeout is 5 minutes.
  • Autoupdate only notifies, it never installs. Add /update and upgrade --major.
  • Add back todowrite, todo.updated, and the session todo endpoint.

Translations only get the renames, no other wording changes.

How did you verify your code works?

  • Checked each change against the v1.19.4 source.
  • bun run build in packages/web, and checked that every #shell-commands link resolves.

Screenshots / recordings

N/A, docs only.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@opencode-agent opencode-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@Tarquinen Tarquinen mentioned this pull request Oct 23, 2026
3 of 6 tasks
@Tarquinen Tarquinen changed the title docs: restore V1 behaviour in V1 docs docs: restore V1 behavior in V1 docs Oct 23, 2026
@Tarquinen Tarquinen changed the title docs: restore V1 behavior in V1 docs docs: remove V2 details from V1 docs Oct 23, 2026

@opencode-agent opencode-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant