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