]> git.giacomolli.uk - onechat/commit
Show the subagents in the clients
authorAnderson A. Giacomolli <agiacomolli@gmail.com>
Sun, 8 Nov 2026 13:57:31 +0000 (10:57 -0300)
committerAnderson A. Giacomolli <agiacomolli@gmail.com>
Sun, 8 Nov 2026 13:57:31 +0000 (10:57 -0300)
commiteeb821ff17ad79c87ca9b64cd9be26f8612f4a03
treeefdeefca1eaef453a09530cd099c2d61aef71d10
parent47f69638bc96100f2e446f63c7c3689023156e64
Show the subagents in the clients

When a subagent starts a run, the terminal client and Telegram show
"[NAME] started". The terminal shows the whole report, which starts with
the name. Telegram shows only "[NAME] finished", "[NAME] stopped", or
"[NAME] failed", because the reply of the agent in the turn of the
report carries its content, and the phone then gets one message for each
result. Neither client shows the tool calls of a subagent.

The work event of a report gets the name of the subagent in its source
and the end of the run in a new status field, so that a client needs no
parse of the report text.

Issue: b1ac698
README.rst
prompt.go
subagent_run.go
subagent_run_test.go
telegram.go
telegram_test.go
terminal.go
terminal_test.go
turn.go
turn_test.go