terminal: drop stale ask/answer references in comments and docs
mara, on #3791: "also ask/answer was removed, so any references are stale and can be removed afaik" — confirmed: no code anywhere references those tool names anymore (the rich-markdown classification is generic, gated on _category/_body_type stamped server-side, not a per-tool-name check), just two leftover comment/doc mentions.
This commit is contained in:
parent
4bd5c51e2e
commit
6233538f29
2 changed files with 4 additions and 5 deletions
|
|
@ -63,7 +63,7 @@ parent's negative pull.
|
|||
| `.thinking` | `💭 thinking …` | muted, italic | claude `assistant.content[].thinking` | stream-json |
|
||||
| `.tool-use` (flat) | `<icon> Name args…` | cyan | tool_use w/o rich renderer; `<icon>` from the backend's `tool_icon(name)` (`stream_enrich.rs`): 📤 send · 📥 recv · ❓ ask · ⏰ remind · 🏷️ set_status · 🪢 loose-ends · ✂️ cancel_loose_end · ℹ️ get_agent_meta · ✅ ack_until · 📜 get_logs/get_host_journal · ↻ restart · ⏹️ kill · ▶️ start · 🔄 update · 📋 list_containers/list_rooms/list_room_members/list_invites · 📖 read_room/Read · 👁️ mark_read · 🛑 bash kill · 🖥️ bash other · 💬 matrix send/reply/dm · 📦 request_* · ⏱️ schedule · 🔧 default | stream-json |
|
||||
| `.tool-use` `<details>` | `✏️ Edit <path> · -N +N` (no `→`) | cyan, body is +/- diff | `renderRichToolUse` Edit | stream-json |
|
||||
| `.tool-use` `<details open>` | `📤 send → to · NL`, `❓ ask → to`, `✍️ answer #id` | cyan, body is markdown | rich renderer for send / ask / answer | stream-json |
|
||||
| `.tool-use` `<details open>` | `📤 send → to · NL` | cyan, body is markdown | rich renderer for send | stream-json |
|
||||
| `.tool-result` (flat) | `← <txt>` | muted | short `tool_result` (≤120c, non-recv) | stream-json |
|
||||
| `.tool-result-block` `<details>` | `Nl · headline` | muted, body is text | long generic `tool_result` | stream-json |
|
||||
| `.tool-result-block` `<details open>` | `recv ← <txt>` | muted, body is markdown | `tool_result` correlated to a prior `recv` tool_use via id | stream-json |
|
||||
|
|
@ -222,8 +222,7 @@ class="md">`. CSS in `terminal.css` scopes paragraph / code /
|
|||
list / blockquote / link styling under `.live .row .md` so
|
||||
the markdown body doesn't bleed into the row's own
|
||||
text-indent. Falls back to plain text if `marked` didn't
|
||||
load. Applied to `text` rows and to send / ask / answer /
|
||||
recv message bodies.
|
||||
load. Applied to `text` rows and to send / recv message bodies.
|
||||
|
||||
## Extra-MCP tools
|
||||
|
||||
|
|
|
|||
|
|
@ -172,8 +172,8 @@ function classifyStream(v: AnyEvent, fromHistory: boolean, ctx: ClassifyCtx): St
|
|||
}
|
||||
|
||||
// `_category === 'rich'` tools get an expandable row: diff body (Edit),
|
||||
// default-open markdown body (send/ask/answer/recv-shaped, always open
|
||||
// regardless of the preference below — matches app.js), or a plain
|
||||
// default-open markdown body (send/recv-shaped, always open regardless
|
||||
// of the preference below — matches app.js), or a plain
|
||||
// body (collapsed unless the operator's "expand tool output" preference
|
||||
// says otherwise — @hive/shared/prefs.js's getExpandDetailsPref(), read
|
||||
// fresh per row so a mid-session preference change applies going
|
||||
|
|
|
|||
Loading…
Reference in a new issue