Files
cindy/apps/desktop/help-knowledge/reviewing-changes.md
Dash 706ba03ac5 feat(help): 让 Agent 读取产品帮助文档,并全面校订帮助内容
- get_capabilities 新增 scope=help:不带 key 返回帮助文档目录,带 key 返回整篇;
  复用设置页帮助助手的 HELP_KNOWLEDGE,由桌面宿主注入 cindy_helper
- 工具说明与伙伴指引补上「某功能在哪 / 怎么操作」的触发问法
- 按当前代码校订 25 篇帮助文档,新增伙伴、工具、存储、快捷键、用量、
  右侧栏面板、共享任务、手机端 8 篇
- 校订 capabilities.ts:查看已归档入口、Google 插件拆分、Pi 支持 SSH、
  按版本 tag 只读查源码等
- 手机端提示里的设置页名称统一为 Remote Connection(远程连接)

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-27 18:50:21 +13:00

3.2 KiB

id, title, summary
id title summary
reviewing-changes Reviewing the agent's file changes See what changed from a message's "Changed N files" card (Review / Undo / Reapply) or in the right sidebar's Review tab (git diffs by source, stage / revert, commit and push); use /review for an independent read-only review.

There are two places to see what the agent changed: the changes card under each reply, and the Review tab in the right sidebar.

Per-message changes card:

  • When a reply edits files, a "Changed N files" card appears under it, listing the files.
  • Review opens those exact changes ("Changes from this message") in the Review tab.
  • Undo reverts that message's file changes; Reapply puts them back. These are blocked while the agent is still replying, and if the files have changed since then, Cindy asks you to review the current changes first. Undo needs Git installed.
  • If some writes (e.g. from shell commands) couldn't be captured exactly, the card says so and only the captured part can be reviewed or undone. Exact per-message changes aren't available for remote sessions yet.

Opening the Review tab:

  • Show the right sidebar with the panel icon at the top-right of the window, click + (Add tab), and pick Review.
  • The source dropdown picks what to compare: Unstaged (default), Staged, Commit (pick a commit on this branch), Branch (everything since the merge-base with a Compare base branch you choose), or Last turn (only files the agent touched in its latest turn).
  • Diffs are read from real git state, so the working-tree views include edits you made yourself, not only the agent's.

Inside the tab:

  • Toggle Unified / Split views. Diffs are expanded by default; Expand all diffs / Collapse all diffs and per-file collapse are available.
  • Show files opens a file tree (with a filter); Jump to file filters and jumps.
  • The view-options menu has word wrap, word diffs, hide whitespace, rich text preview for Markdown files (on by default), and Copy git apply command. Changed images show a Before / After preview.
  • Colors follow git convention: red removed / green added. Each file can be opened or revealed in its folder.

Acting on changes:

  • Stage / Unstage / Revert whole files or single hunks, or use Stage all / Unstage all / Revert all. Revert asks for confirmation (untracked files are deleted).
  • Commit or push (top of the tab): write a commit message, then Commit or Commit and push (optionally Include unstaged changes), or Push local commits. Cindy asks before a force push.
  • Writes are paused while the agent is running, and during detached HEAD, merge conflicts, or an in-progress git operation. Sessions on SSH hosts or another computer are view-only.

Independent review (/review):

  • Type /review (optionally with a focus or path) to start a fresh, read-only reviewer session with no memory of the work; it checks code changes, files, documents, or images against the task. It currently works for local sessions only.

Notes:

  • This is separate from Plan mode (approving a plan before work starts) and from the collaboration worker panes.