Commit 8459ac7
committed
fix(coding-agent): keep pending tool calls visible in parked transcript viewer
The append-tailing refactor routed full local/remote rebuilds through
buildSessionContext(transcript:true), which strips dangling (resultless)
tool_use blocks for LLM-context safety. That hid a parked/advisor agent's
in-flight tool call (e.g. a pending search) from the hub transcript.
Display semantics differ from LLM semantics: only collapse through
buildSessionContext when a compaction is present; otherwise map message
entries verbatim so pending calls render, matching prior viewer behavior.1 parent e3fca3e commit 8459ac7
1 file changed
Lines changed: 11 additions & 0 deletions
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
338 | 349 | | |
339 | 350 | | |
340 | 351 | | |
| |||
0 commit comments