iris
57f936af63
fix(agent): strip tool_use_error tags and render errors in red
...
When a tool call fails, claude wraps the result text in
<tool_use_error>...</tool_use_error> XML tags. The terminal was
displaying these raw, producing output like:
'<tool_use_error>File has not been read yet.</tool_use_error>'
Fix renderToolResult in app.js:
- Check c.is_error on the tool_result content block.
- Strip the <tool_use_error>...</tool_use_error> wrapper from the text.
- Render error results with a '✗' prefix under '.tool-result.error'
(flat, ≤120c) or '.tool-result-block.error' (<details>, longer text).
Add .live .tool-result.error { color: var(--red); } to terminal.css
so error results are visually distinct (red, same as turn-end-fail).
Update terminal-rendering.md row taxonomy to document the two new
error row classes.
Closes #2104 .
2026-07-01 18:34:03 +02:00
..
tools
fix( #2022 ): seed claude onboarding+trust via a boot-time oneshot
2026-06-29 18:41:42 +02:00
web-ui
refactor(fe): trim >30-line comment blocks (second pass, #2077 )
2026-06-29 01:05:53 +02:00
agent-hierarchy.md
feat( #2050 ): set matrix avatar in the daemon over the live client
2026-06-28 01:38:21 +02:00
approvals.md
docs(approvals): update helper-events routing to reflect shipped behavior
2026-06-23 22:45:43 +02:00
boundary.md
docs: move privsep socket-activation + child-state rw rationale out of code comments
2026-06-08 21:58:12 +02:00
ci.md
feat( #1867 ): make the internal forge mandatory (remove forge.enable)
2026-06-22 19:26:34 +02:00
conventions.md
feat( #2050 ): set matrix avatar in the daemon over the live client
2026-06-28 01:38:21 +02:00
coordinator.md
docs: fix remaining bare /kill/ and /rebuild/ paths → /api/ variants
2026-06-23 22:05:05 +02:00
forge.md
fix( #1896 ): remove dead forge_notify reason drop-list + auto-unsubscribe
2026-06-24 23:07:48 +02:00
gateway.md
refactor( #2015 ): drop redundant domain != null checks (domain is required) + update docs
2026-06-27 21:02:55 +02:00
gotchas.md
gui: one shared dbus session bus for the gui session ( #1906 )
2026-06-24 00:06:07 +02:00
knowledge.md
docs(knowledge): document the hive-forge AGit no-fork contribution flow
2026-06-05 20:54:25 +02:00
matrix.md
feat( #551 ): gate server-side e2ee behind opt-in matrix.allowEncryption (default off)
2026-06-10 19:12:36 +02:00
network.md
fix( #1977 ): exposeHostPorts is firewall-only (drop conflicting loopback proxy)
2026-06-24 19:48:50 +02:00
persistence.md
feat( #2050 ): set matrix avatar in the daemon over the live client
2026-06-28 01:38:21 +02:00
security.md
docs(security): operator-merge IS enforced on the internal forge
2026-06-26 17:19:35 +02:00
setup.md
docs( #2012 ): add first-run setup guide + link from index
2026-06-27 20:02:15 +02:00
swarm.md
feat( #1886 ): trust a peer hive's root CA hive-wide for self-signed federation
2026-06-22 16:54:44 +02:00
terminal-rendering.md
fix(agent): strip tool_use_error tags and render errors in red
2026-07-01 18:34:03 +02:00
turn-loop.md
feat( #2050 ): set matrix avatar in the daemon over the live client
2026-06-28 01:38:21 +02:00
web-ui.md
docs: address mara review on #1936
2026-06-23 14:48:10 +02:00