Subagents: task tool (explore on cheap model, general), child sessions, usage roll-up, stats
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s

This commit is contained in:
hermes committed 2026-10-02 11:57:59 +00:00
1 parent 6b980591ed
commit 359a5058d7
14 files changed
+525 -2

No files matched your search

+6
View File
@@ -166,6 +166,12 @@ fn outcome(name: &str, content: &str, err: bool) -> String {
.rsplit_once('(')
.map_or("ok".into(), |(_, r)| r.trim_end_matches(')').to_string()),
"read" => format!("{} lines", content.lines().count()),
// `[task explore · 12 tool calls · 41k tok · 38s]` is the last line of a task result
"task" => content
.lines()
.last()
.and_then(|l| l.strip_prefix("[task ")?.strip_suffix(']'))
.map_or("ok".into(), str::to_string),
_ => "ok".into(),
}
}