Show shell tool calls as the trimmed full command

Goose's titles cut the command at ~40 characters, mostly spent on cd.
Use rawInput's command, strip cd/timeout/nix develop -c/env prefixes,
tag the directory and clip at 80 characters.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0119iKoN3fSvRGUAYHupPW4U
This commit is contained in:
ariandClaude Opus 5.5 committed 2026-11-01 22:40:15 -05:00
1 parent 8c83a3316a
commit 4db99eaa2a
4 files changed
+140 -2

No files matched your search

+3 -2
View File
@@ -64,11 +64,12 @@ func (s *Streamer) Update(u acp.Update) {
if u.Title == "" {
return
}
s.status = "Running " + u.Title
line := toolLine(u)
s.status = "Running " + line
if t := s.full.String(); t != "" && !strings.HasSuffix(t, "\n") {
s.full.WriteString("\n")
}
s.full.WriteString("> :wrench: " + u.Title + "\n")
s.full.WriteString("> :wrench: " + line + "\n")
case "tool_call_update":
if u.Status == "completed" || u.Status == "failed" {
s.status = "Thinking"