Skip to content

docs: add web slash commands table and fold goal mode guide into interaction page - #3772

Merged
wbxl2000 merged 2 commits into
MoonshotAI:mainfrom
wenhua020201-arch:docs/web-slash-commands
Sep 15, 2026
Merged

wbxl2000 merged 2 commits into
MoonshotAI:mainfrom
wenhua020201-arch:docs/web-slash-commands

Conversation

@wenhua020201-arch

@wenhua020201-arch wenhua020201-arch commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

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:

  1. The web guide's "Common commands" / "常用指令" section actually lists kimi web startup 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, /compact inline — readers get no complete list of which slash commands work in the web UI.
  2. Since the guides rework (docs: rework web guide, interaction and getting-started pages #3260), guides/goals.md is 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 manage interactive 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 manage keybindings 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

@changeset-bot

changeset-bot Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 3970016

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@3970016
npx https://pkg.pr.new/@moonshot-ai/kimi-code@3970016

commit: 3970016

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 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".

Comment thread docs/en/guides/web.md
| `/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 |

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge 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 👍 / 👎.

@wenhua020201-arch wenhua020201-arch changed the title docs(web): add common slash commands table and rename startup options section docs: add web slash commands table and fold goal mode guide into interaction page Sep 15, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 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) |

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge 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 👍 / 👎.

Comment thread docs/en/guides/web.md
| `/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 |

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge 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 👍 / 👎.

@wbxl2000
wbxl2000 merged commit da7f7ed into MoonshotAI:main Sep 15, 2026
16 checks passed
7723qqq pushed a commit to 7723qqq/kimi-code that referenced this pull request Oct 5, 2026
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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(web): web guide's "Common commands" section lists startup options, and supported slash commands are not enumerated

2 participants