agent ui: terminal-themed live panel; pretty tool calls; collapsed results

- tool_use renders per-tool (Read /path, Bash $ cmd, send → operator: ...)
- tool_result with >120 chars collapses into <details>; short ones inline
- session_init / result / rate_limit dropped from the panel
- thinking content shown inline if present, fallback indicator otherwise
- TurnStart carries unread count → header badge "· 3 unread"
- per-tool [status] line dropped from envelope; lives in wake prompt + UI
- send form moved below the live panel
- live panel themed as a terminal (crust bg, inset shadow, monospace)
This commit is contained in:
müde 2026-05-15 18:20:58 +02:00
parent d8807b8e8c
commit ace13cd785
7 changed files with 191 additions and 87 deletions

View file

@ -10,13 +10,13 @@
<h2 id="title">◆ … ◆</h2>
<div class="divider">══════════════════════════════════════════════════════════════</div>
<h3>live</h3>
<div id="live" class="live terminal"><div class="meta">connecting…</div></div>
<div id="status">
<p class="meta">loading…</p>
</div>
<h3>live</h3>
<div id="live" class="live"><div class="meta">connecting…</div></div>
<script src="/static/app.js" defer></script>
</body>
</html>