Repository navigation
docs: add web slash commands table and fold goal mode guide into interaction page - #3772
Conversation
|
commit: |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 15fa65f676
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| | `/compact` | Compact the current session's context | | ||
| | `/tower` | Tower multi-agent collaboration (experimental); `/tower <base-branch>` sets the base branch | | ||
| | `/export` | Export the session content and troubleshooting logs as a ZIP | | ||
| | `/remote-control` | Enable remote control to access the local web session remotely | |
There was a problem hiding this comment.
Remove unsupported
/remote-control from the web command table
When a reader enters this command in the web composer, it does not enable Remote Control: the shipped bundle's built-in FS registry in apps/kimi-code/dist-web/assets/index-7SHxad1A.js contains the other listed commands but no /remote-control, so its Slt parser falls through and submits the text as a normal prompt. The command is implemented only for the CLI/TUI, as also documented in docs/en/guides/remote-control.md:21; remove this row or add a web handler before advertising it.
AGENTS.md reference: AGENTS.md:L9-L10
Useful? React with 👍 / 👎.
… and remove the orphaned page
74832a8 to
3970016
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3970016b15
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| | `/goal` or `/goal status` | Show the current goal and its progress | | ||
| | `/goal pause` / `/goal resume` | Pause / resume the goal | | ||
| | `/goal cancel` | Cancel the goal | | ||
| | `/goal cancel` | Cancel the goal (asks for confirmation; a cancelled goal cannot be resumed) | |
There was a problem hiding this comment.
Remove the false confirmation guarantee from
/goal cancel
When a CLI/TUI user enters /goal cancel, apps/kimi-code/src/tui/commands/goal.ts::cancelGoal immediately calls session.cancelGoal() without confirmation; confirmation exists only when cancelling through the web goal-bar button. Because cancellation cannot be resumed, this text may lead users to submit an irreversible command expecting another chance to back out. The Chinese mirror makes the same promise, so correct both locales.
AGENTS.md reference: docs/AGENTS.md:L18-L21
Useful? React with 👍 / 👎.
| | `/new` | Start a new session | | ||
| | `/goal` | Enter Goal mode and keep working toward the same objective across turns | | ||
| | `/compact` | Compact the current session's context | | ||
| | `/tower` | Tower multi-agent collaboration (experimental); `/tower <base-branch>` sets the base branch | |
There was a problem hiding this comment.
Include the prerequisite for the Tower command
On a default installation this advertised command cannot start Tower: packages/agent-core-v2/src/features/tower/flag.ts sets the experiment's default to false, and towerEnterFailureMessage directs users to enable KIMI_CODE_EXPERIMENTAL_TOWER=1 or [experimental] tower = true. Merely labeling the command experimental omits the required setup, so readers following this table encounter an experiment-off failure; add the prerequisite or link to setup instructions in both locale tables.
AGENTS.md reference: AGENTS.md:L66-L69
Useful? React with 👍 / 👎.
Step 5 of the incremental sync to 2.1.1: 14 upstream commits over 230 files. The bulk is the pi-tui re-baseline onto upstream v0.85.1. Upstream's changes in this step, all absorbed: - pi-tui re-baselined on upstream v0.85.1 (MoonshotAI#3780): the native platform modules were consolidated and renamed (darwin-modifiers -> darwin-platform, win32-console-mode -> win32-platform), a Linux/X11 clipboard backend with prebuilds was added, and alt-screen search, autocomplete, editor, input, markdown and the render path were reworked; the native-asset copy scripts and flake.nix follow - the session event bus is sharded by agent id (MoonshotAI#3775) - disposed agent scopes are released from the DI dependency graph (MoonshotAI#3776) - swarm cancellation no longer crashes the CLI (MoonshotAI#3779) - tower mode no longer mistakes newly spawned agents for the previous name (MoonshotAI#3752) - [secondary_model].default_effort fails fast when unsupported (MoonshotAI#3785) - the managed usage payload switched to the quota model (MoonshotAI#3787) - kap-server verifies indexed search results against session sources (MoonshotAI#3631) - web dist synced from code-app (MoonshotAI#3792); docs for the web slash-command table and flat-form skill naming (MoonshotAI#3772, MoonshotAI#3774) Fork behaviour preserved through the re-baseline (pi-tui/UPSTREAM.md): - every `keep` intent card still has a matching per-file diff: the width/grapheme clamps, editor history hooks, multi-root @-completion, inline slash autocomplete, CJK autolink, fullscreen nav fall-through, mouse dispatch (cropped rows, prompt-width clicks, search-field forwarding), and sixel graphics with the startup probe - the fork's image/terminal-image, latex and layout extensions ride on upstream's v0.85.1 baseline - the fork's i18n layer covers the new user-facing strings Verification and the follow-up fixes are recorded in the next commit: the fork's auth-facade test still asserted the pre-quota managed-usage shape, and the node-sdk dts build had lost its i18n specifier rewriting in the 0.42.0 merge (found by this step's root typecheck).
Related Issue
Resolve #3771
(External PR — the linked issue is newly filed and awaiting a maintainer's
/approve.)Problem
Two related documentation gaps, both in the guides:
kimi webstartup options, so the heading misleads readers. And while the "Relationship with the CLI" section notes the web UI supports only a subset of slash commands, it names just/new,/goal,/compactinline — readers get no complete list of which slash commands work in the web UI.guides/goals.mdis no longer in the sidebar and no page links to it, so the full Goal Mode guide is effectively unreachable — its unique content (when to use / not use Goal Mode, the 4000-character limit, time-budget rules, web UI goal-bar details, the/goal next manageinteractive queue manager) is invisible to readers.What changed
Mirrored changes in both locales (zh/en):
docs/*/guides/web.md: renamed the section to "Startup options" / "启动选项" so the heading matches its content; added a "Common slash commands" / "常用斜杠命令" table (/new,/goal,/compact,/tower,/export,/remote-control); the "Relationship with the CLI" paragraph now links to that table instead of enumerating commands inline.docs/*/guides/interaction.md: folded the goal guide's unique content into the Goal mode section, condensed to match the page's style — the 4000-character limit, impossible-goal blocking, time-budget rules, web goal-bar details, and/goal next managekeybindings are now covered in place.docs/*/guides/goals.md: removed the now-redundant orphaned page; all of its content has a destination in the interaction page (the basics were already there since docs: rework web guide, interaction and getting-started pages #3260, the rest is folded in by this PR). No other page links to it.Docs-only change; no code touched.
Checklist
/approve). — docs(web): web guide's "Common commands" section lists startup options, and supported slash commands are not enumerated #3771, approval pendinggen-changesetsskill, or this PR needs no changeset. — no changeset: docs-only, never enters the shipped artifactgen-docsskill, or this PR needs no doc update. — this PR is itself the doc update, mirrored zh/en per docs/AGENTS.md