GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs(zh-cn): 补上 permissions 与 troubleshooting 缺失的小节 by Kissshot-2003 · Pull Request #58029 · anomalyco/opencode

Conversation

@Kissshot-2003

@Kissshot-2003 Kissshot-2003 commented Oct 22, 2026 •
edited by opencode-agent Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Issue for this PR

Refs #57623

Type of change

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

What does this PR do?

Two English sections never made it into the Chinese docs, so a Chinese reader cannot find that the features exist at all.

permissions.mdx — ## Auto mode. Starting OpenCode with --auto approves the permission requests that are not explicitly denied, and explicit "deny" rules are still enforced. The Chinese page has no mention of auto mode anywhere.

troubleshooting.mdx — ## Uninstall. The opencode uninstall command, what it removes, and how to uninstall the desktop app.

Both sections are added in the position they occupy in the English pages.

The terminology follows .opencode/glossary/zh-cn.md and the wording already used on the site: agent is 代理, permission is 权限. The anchor in the :::note points at the Chinese heading slug, which is how the other Chinese pages link to their own sections.

How did you verify your code works?

  • Compared both pages against their English sources for everything that has to line up: heading count and order, fenced code block count and their info strings, internal link count, and table row counts. All of them match now.
  • Checked that every anchor link in the two pages resolves to a heading inside the same file, since the Chinese pages link to Chinese heading slugs.
  • Built the v1 documentation site with bun run build from packages/web, which is the tree these pages belong to. The build also regenerates the config schema, so it covers the generated-output check as well.

Screenshots / recordings

Not a UI change.

Checklist

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

Added by the opencode bot (AI-generated).

Related: #57623

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Kissshot-2003
docs(zh-cn): 补上 permissions 与 troubleshooting 缺失的小节
b4a081c
英文版有这两节,中文版一直没有:

- `permissions.mdx` 的 `## Auto mode` —— 用 `--auto` 启动可以自动批准那些没有被
  显式拒绝的权限请求;显式的 `"deny"` 规则仍然生效。中文版全文没有「自动模式」
  这个说法,用户不知道这个开关存在。
- `troubleshooting.mdx` 的 `## Uninstall` —— 卸载 OpenCode CLI 的命令,以及
  卸载桌面版的方式。

两个小节的标题数、代码块、内部链接、表格行数现在都与英文版逐项对齐,
锚点也能在中文页面内正常解析(中文页面用中文标题做锚点,这是站内既有做法)。

译名沿用术语表与本站既有译法:agent 译作「代理」,permission 译作「权限」。
opencode-agent[bot]
opencode-agent Bot reviewed Oct 22, 2026
View reviewed changes

@opencode-agent opencode-agent Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

This looks good to merge as is. Both sections are accurate translations of the English 'Auto mode' and 'Uninstall' sections, in the same positions as on the English pages. The new links use the same /docs/cli#… style as the rest of the zh-cn pages, and both anchors resolve to headings in zh-cn/cli.mdx.

The public API is unchanged: this is docs only.

One small note: the description mentions an anchor in a :::note, but the diff contains no :::note. As far as I can tell nothing is missing from the change; only the description is off.

Related: #57623

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Kissshot-2003

Kissshot-2003 commented Nov 13, 2026

Copy link
Copy Markdown
Author

Superseded by the docs-tree move: #63117 deleted packages/web/src/content/docs, so the branch is CONFLICTING.

Checked the current zh-cn pages under services/site/src/docs/v1/content/zh-cn/:

  • permissions.mdx still lacks the 自动模式 (Auto mode) section — the English page has ## Auto mode.
  • troubleshooting.mdx still lacks 卸载 (Uninstall) — the English page has ## Uninstall.

Both sections still need to land on the new path.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Kissshot-2003 Kissshot-2003 closed this Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@opencode-agent opencode-agent[bot] opencode-agent[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@Kissshot-2003
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.