mirror of
https://github.com/codewhale-hq/Codewhale.git
synced 2026-11-07 17:09:13 -10:00
docs: qualify pet view chords and Terminal.app tab switching
Document Ctrl+] as the portable pet view chord, distinguish the kitty
keyboard-protocol Tab chords, and explain Terminal.app's tab switching.
The key reference now describes pet view cycling as well as the work dock.
Keep the reviewed cove fallback correction in both languages.
Checked against the current main view routing and capability fallback;
owned Markdown whitespace check passed. Documentation-only slice reuses
the unchanged-source npm gate (1312 passed; 0 failed; 7 skipped and
check:web exit 0); no new tests or comments.
Verification clarification for 25b7fccc01: check-versions.sh reports
version/release-note consistency; it does not include wrapper tests. The
workflow guard script separately passed 13 hermetic checks and 11 event
cases x 12 steps. with-hermetic-test-home.test.sh was then run separately
and produced the real line "test result: 10 passed; 0 failed". Logs are
retained with the continuation receipts. The previous commit's wording
that the version checker included that test was incorrect.
Refs #6960
Refs #6915
This commit is contained in:
1 parent
25b7fccc01
commit
dde71a11e3
4 files changed
+13
-11
No files matched your search
+2
-2
@@ -27,8 +27,8 @@ Global key chords are not yet user-configurable — tracked for a future release
|
||||
| `Ctrl-Alt-O` | Open the whole-turn Turn Inspector, regardless of composer contents |
|
||||
| `Alt-V` / `Option-V` (macOS) | Open the details pager for the selected tool/sub-agent card; with nothing selected, the live inspector of the newest running shell, else the visible or most recent card; terminals that emit the legacy Option-V glyph are also handled |
|
||||
| `Ctrl-Shift-E` / `Cmd-Shift-E` | Toggle the file tree in the workbar |
|
||||
| `Ctrl-]` or `Ctrl-Tab` | Cycle the work dock: TODO → Agents → Jobs → Background. `Ctrl-]` is the portable chord — `Ctrl-Tab` only arrives under the kitty keyboard protocol |
|
||||
| `Ctrl-Shift-Tab` | Cycle the work dock backwards |
|
||||
| `Ctrl-]` or `Ctrl-Tab` | Cycle the pet view while the pet main view is showing; otherwise cycle the work dock: TODO → Agents → Jobs → Background. `Ctrl-]` is portable; `Ctrl-Tab` requires the kitty keyboard protocol. Terminal.app uses it to switch terminal tabs |
|
||||
| `Ctrl-Shift-Tab` | Cycle the pet view or work dock backwards where the terminal sends the kitty keyboard chord. Terminal.app uses it to switch terminal tabs |
|
||||
| `Alt-G` / `Alt-Shift-G` | Scroll transcript to top / bottom when the composer is empty |
|
||||
| `Alt-1`-`Alt-8` | Dispatch Hotbar slots 1-8 when no modal or inline picker is open |
|
||||
| `Alt-!` / `Alt-@` / `Alt-#` / `Alt-$` | Select the workbar panel: Tasks / Agents / Context / Files |
|
||||
|
||||
+6
-4
@@ -57,8 +57,10 @@ second line.
|
||||
|
||||
## Views
|
||||
|
||||
`Ctrl+]` (or `Ctrl+Tab` where the terminal sends it) switches the pet to its
|
||||
next view while the pet main view is showing; `Ctrl+Shift+Tab` goes back. The
|
||||
`Ctrl+]` switches the pet to its next view while the pet main view is showing.
|
||||
Terminals with the kitty keyboard protocol can also send `Ctrl+Tab` for the
|
||||
next view and `Ctrl+Shift+Tab` for the previous view. Terminal.app uses those
|
||||
Tab chords to switch terminal tabs; use `Ctrl+]` there. The
|
||||
footer's second line names the current view, `Ctrl+] view: whale`, and
|
||||
clicking it also moves to the next view. `/pet avatar <key>` jumps straight to
|
||||
one.
|
||||
@@ -66,7 +68,7 @@ one.
|
||||
| View | What it draws | When its requirement is missing |
|
||||
| --- | --- | --- |
|
||||
| `whale` | The companion's live dot whale. | Shows `cove` (or `braille`) until the companion is reachable (`codewhale pet serve`) and this terminal's session is its source (`/pet source`). |
|
||||
| `cove` | The local half-block whale, without the translucent cove scenery. | Needs colour: `braille` is shown under `NO_COLOR`, a 16-colour terminal (`COLORTERM=truecolor`), or an unknown background (`CODEWHALE_APPEARANCE=dark` or `light`). |
|
||||
| `cove` | The local half-block whale, without the translucent cove scenery. | Needs colour: `braille` is shown under `NO_COLOR`, a 16-colour terminal, or an unknown background. `COLORTERM=truecolor` enables true colour; `CODEWHALE_APPEARANCE=dark` or `light` selects a known background. |
|
||||
| `braille` | The local whale in coloured Braille dots. | Shows only the state words under `CODEWHALE_ASCII_SAFE` or when the art area is smaller than 16x8 cells. |
|
||||
| `pixels` | The companion's whale as a kitty-graphics image. | Needs kitty graphics, synchronized output, a known cell size in pixels, and `CODEWHALE_PET_GRAPHICS` unset; otherwise shows `particles`. Terminal.app has no kitty graphics. |
|
||||
| `particles` | The companion's Braille particle grid. | Shows the resting whale and `offline` while the companion is unreachable. |
|
||||
@@ -90,7 +92,7 @@ inspector over it:
|
||||
| Key | Effect |
|
||||
| --- | --- |
|
||||
| `F5` or `/pet inspect` | Open replies and agents. |
|
||||
| `Ctrl+]` / `Ctrl+Tab`, `Ctrl+Shift+Tab` | Next or previous pet view (main view only). |
|
||||
| `Ctrl+]` / `Ctrl+Tab`, `Ctrl+Shift+Tab` | Next or previous pet view (main view only). The Tab chords require a terminal that sends them; use `Ctrl+]` in Terminal.app. |
|
||||
| `F6` | Turn the companion's sound on or off. |
|
||||
| `F8` | Open the appearance studio in your browser. |
|
||||
| `F9` | Open the native Codewhale Pet window (macOS). |
|
||||
|
||||
@@ -29,8 +29,8 @@
|
||||
| `Ctrl-Alt-O` | 打开整个回合的 Turn Inspector,与输入框内容无关 |
|
||||
| `Alt-V` / `Option-V`(macOS) | 为所选的工具/智能体卡片打开详情分页器;未选择时,打开最新正在运行的 shell 的实时检查器,否则打开可见或最近的卡片;发出传统 Option-V 字符的终端也会被处理 |
|
||||
| `Ctrl-Shift-E` / `Cmd-Shift-E` | 在任务面板(workbar)中切换文件树 |
|
||||
| `Ctrl-]` 或 `Ctrl-Tab` | 循环切换 work dock:TODO → Agents → Jobs → Background。`Ctrl-]` 是可移植的组合键——`Ctrl-Tab` 只有在 kitty 键盘协议下才能送达 |
|
||||
| `Ctrl-Shift-Tab` | 反向循环切换 work dock |
|
||||
| `Ctrl-]` 或 `Ctrl-Tab` | Pet 主视图显示时循环切换 Pet 视图;其他时候循环切换 work dock:TODO → Agents → Jobs → Background。`Ctrl-]` 可移植;`Ctrl-Tab` 需要 kitty 键盘协议。Terminal.app 用它切换终端标签页 |
|
||||
| `Ctrl-Shift-Tab` | 终端能发送 kitty 键盘组合键时,反向循环切换 Pet 视图或 work dock。Terminal.app 用它切换终端标签页 |
|
||||
| `Alt-G` / `Alt-Shift-G` | 输入框为空时将对话记录滚动到顶部 / 底部 |
|
||||
| `Alt-1`-`Alt-8` | 当没有模态框或内联选择器打开时分发 Hotbar 槽位 1-8 |
|
||||
| `Alt-!` / `Alt-@` / `Alt-#` / `Alt-$` | 选择任务面板(workbar)的面板:Tasks / Agents / Context / Files |
|
||||
|
||||
@@ -34,12 +34,12 @@ Pet 模式把你正在使用的终端变成一个一眼可读的状态视图。
|
||||
|
||||
## 视图
|
||||
|
||||
主视图显示时,按 `Ctrl+]`(终端能发送时也可按 `Ctrl+Tab`)切换到下一个视图,`Ctrl+Shift+Tab` 切回上一个。页脚第二行显示当前视图,例如 `Ctrl+] view: whale`,点击它也会切到下一个视图。`/pet avatar <key>` 可直接跳到某个视图。
|
||||
主视图显示时,按 `Ctrl+]` 切换到下一个视图。支持 kitty 键盘协议的终端还可发送 `Ctrl+Tab` 切到下一个、`Ctrl+Shift+Tab` 切回上一个。Terminal.app 用这两个 Tab 组合键切换终端标签页,因此请在那里使用 `Ctrl+]`。页脚第二行显示当前视图,例如 `Ctrl+] view: whale`,点击它也会切到下一个视图。`/pet avatar <key>` 可直接跳到某个视图。
|
||||
|
||||
| 视图 | 显示内容 | 条件不满足时 |
|
||||
| --- | --- | --- |
|
||||
| `whale` | 伴生进程的实时点阵鲸鱼。 | 在伴生进程可达(`codewhale pet serve`)且本终端的会话是来源(`/pet source`)之前,显示 `cove`(或 `braille`)。 |
|
||||
| `cove` | 本地半块字符鲸鱼,不带半透明的海湾背景。 | 需要颜色:在 `NO_COLOR`、16 色终端(`COLORTERM=truecolor`)或背景未知(`CODEWHALE_APPEARANCE=dark` 或 `light`)时显示 `braille`。 |
|
||||
| `cove` | 本地半块字符鲸鱼,不带半透明的海湾背景。 | 需要颜色:在 `NO_COLOR`、16 色终端或背景未知时显示 `braille`。`COLORTERM=truecolor` 启用真彩色;`CODEWHALE_APPEARANCE=dark` 或 `light` 明确选择背景。 |
|
||||
| `braille` | 本地彩色盲文点阵鲸鱼。 | 在 `CODEWHALE_ASCII_SAFE` 下或图案区域小于 16x8 个单元格时,只显示状态文字。 |
|
||||
| `pixels` | 伴生进程鲸鱼的 kitty 图形图像。 | 需要 kitty 图形、同步输出、已知的单元格像素尺寸,且未设置 `CODEWHALE_PET_GRAPHICS`;否则显示 `particles`。Terminal.app 不支持 kitty 图形。 |
|
||||
| `particles` | 伴生进程的盲文粒子网格。 | 伴生进程不可达时,显示静止的鲸鱼和 `offline`。 |
|
||||
@@ -58,7 +58,7 @@ Pet 模式把你正在使用的终端变成一个一眼可读的状态视图。
|
||||
| 按键 | 效果 |
|
||||
| --- | --- |
|
||||
| `F5` 或 `/pet inspect` | 打开回复与智能体。 |
|
||||
| `Ctrl+]` / `Ctrl+Tab`、`Ctrl+Shift+Tab` | 下一个或上一个 Pet 视图(仅主视图)。 |
|
||||
| `Ctrl+]` / `Ctrl+Tab`、`Ctrl+Shift+Tab` | 下一个或上一个 Pet 视图(仅主视图)。Tab 组合键需要终端能发送;Terminal.app 中请使用 `Ctrl+]`。 |
|
||||
| `F6` | 开关伴生进程的声音。 |
|
||||
| `F8` | 在浏览器中打开外观工作室。 |
|
||||
| `F9` | 打开原生 Codewhale Pet 窗口(macOS)。 |
|
||||
|
||||
Reference in new issue
Block a user