From f14a83c0267b37a886267c80499c2dda98dd7b85 Mon Sep 17 00:00:00 2001 From: kami Date: Sun, 21 Jun 2026 23:24:10 +0000 Subject: [PATCH] feat(tui-go): drop inline tool-start rows (keep results only) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ⏵ tool-start row doubled up with the ✓/✎ result row in OUTPUT. Drop it inline — tool starts still show in the tool list + EVENTS panel. The inline transcript now carries only outcomes: ✎ writes, ✓/✗ tool results, ⌘/✕ approvals, ⊞/⊟ grants. Co-Authored-By: Claude Opus 4.8 --- apps/tui-go/internal/app/demo.go | 2 -- apps/tui-go/internal/app/model.go | 2 +- apps/tui-go/internal/app/server.go | 3 ++- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/tui-go/internal/app/demo.go b/apps/tui-go/internal/app/demo.go index c10be9dc..796a6104 100644 --- a/apps/tui-go/internal/app/demo.go +++ b/apps/tui-go/internal/app/demo.go @@ -173,10 +173,8 @@ func PreviewFrame(kind string, w, h int) string { m.routerMessages["04a546aa"] = []RouterEntry{ {Role: "user", Content: "run the healthcheck and write the script"}, {Role: "router", Content: "I'll create the script, then run it."}, - {Role: "action", Icon: "⏵", Content: "file_write"}, {Role: "action", Icon: "✎", Content: "wrote healthcheck.sh (+4 −0)"}, {Role: "action", Icon: "⌘", Content: "approved file_write"}, - {Role: "action", Icon: "⏵", Content: "shell"}, {Role: "action", Icon: "✓", Content: "shell · exit 0"}, {Role: "action", Icon: "⊞", Content: "granted file_write · global"}, {Role: "router", Content: "Done — script written and the healthcheck passes."}, diff --git a/apps/tui-go/internal/app/model.go b/apps/tui-go/internal/app/model.go index 3b0356a0..478a42bc 100644 --- a/apps/tui-go/internal/app/model.go +++ b/apps/tui-go/internal/app/model.go @@ -67,7 +67,7 @@ const ( type RouterEntry struct { Role string // user | router | tool | narration | narration_llm | action Content string - Icon string // action role only: the gutter glyph (⏵ ✓ ✎ ⌘ ✕ ⊞ ⊟) + Icon string // action role only: the gutter glyph (✓ ✎ ✗ ⌘ ✕ ⊞ ⊟) Metrics *TurnMetrics } diff --git a/apps/tui-go/internal/app/server.go b/apps/tui-go/internal/app/server.go index e4924787..6b5c0dc2 100644 --- a/apps/tui-go/internal/app/server.go +++ b/apps/tui-go/internal/app/server.go @@ -198,7 +198,8 @@ func (m *Model) applyServer(msg protocol.ServerMessage) { } s.LastEventAt = nowMillis() } - m.appendAction(msg.SessionID, "⏵", msg.ToolName) + // Tool-start is not surfaced inline (it doubles up with the ✓/✎ result row); it + // stays in the tool list + EVENTS panel. case protocol.TypeToolCompleted: if s := m.session(msg.SessionID); s != nil { s.Active = false