You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] Show background shell (and subagent) output in the /tasks detail panel #692
In /tasks, selecting a background shell (or subagent) row shows only metadata - the command (Detail:), status, and elapsed time - but not the shell's output. There is no way to see, let alone stream, the captured stdout/stderr of a background shell from /tasks. A2A tasks already render their result (renderFinalResult, internal/ui/components/task_management_view.go:808), so shells/subagents feel inconsistent.
The data is not currently plumbed to the view: the /tasks view consumes the supervisor Snapshot() as domain.TrackedJob, which carries Meta / Status / CompletedAt / LastNote (internal/domain/background_job.go:133-137) - metadata and a short last-note, but not the captured output stream. A background shell's full output currently flows into the conversation when the job finishes (via the supervisor completion note), not into the /tasks detail panel.
Requested: when a background shell/subagent row is selected in /tasks, show its output in the detail panel - ideally streamed live for a running shell, and the captured output (or a tail) for a finished one - bringing shells/subagents to parity with the A2A "Final Result" panel.
Acceptance Criteria
Selecting a running background-shell row in /tasks shows its output, updated live as it streams.
Selecting a completed background-shell row shows its captured output (or a bounded tail with a way to see more).
The same applies to subagent rows (show the subagent's output/result).
Output rendering is bounded (truncation/scroll) so a chatty shell does not blow up the panel.
Plumb the output to the view: extend the supervisor snapshot / TrackedJob (or add a lookup by job id) so the detail panel can read a job's output without routing through the conversation.
Reported on macOS, infer chat TUI, against the new per-kind /tasks tables.
Tokens: 6,384,190 in · 16,190 out · 6,400,380 total (54 requests)
Tool calls: 67 total · 97% success rate
⚠️ 2 failed tool call(s)
Edit: old_string not found in file /home/runner/work/cli/cli/internal/ui/components/task_management_view.go
No similar content found. Please verify the content exists and matches exactly (including whitespace).
Bash: exit status -1: �[32mtask: [precommit:run] pre-commit run --all-files
�[0m[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
trim trailing whitespace.................................................Passed
fix end of files.........................................................Passed
check yaml...............................................................Passed
check json...............................................................Passed
check toml...............................................................Passed
check for merge conflicts................................................Passed
check for added large files..............................................Passed
mixed line ending........................................................Passed
Go mod tidy..............................................................Passed
Format code..............................................................Passed
Lint.....................................................................Passed
Generate mocks...........................................................Passed
Activity
edenreich commentedon Jul 13, 2026
@infer Can you work on this?
inference-gateway-maintainer commentedon Jul 13, 2026
Model:
ollama_cloud/deepseek-v4-flash· View JobTodos
Pull Request
#897
✅ Infer Result: Success
All changes are committed and pushed. The draft PR is open at #897.
Model:
ollama_cloud/deepseek-v4-flash· Exit Code:0· Duration: 12m 38sTokens: 6,384,190 in · 16,190 out · 6,400,380 total (54 requests)
Tool calls: 67 total · 97% success rate
No similar content found. Please verify the content exists and matches exactly (including whitespace).
�[0m[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
trim trailing whitespace.................................................Passed
fix end of files.........................................................Passed
check yaml...............................................................Passed
check json...............................................................Passed
check toml...............................................................Passed
check for merge conflicts................................................Passed
check for added large files..............................................Passed
mixed line ending........................................................Passed
Go mod tidy..............................................................Passed
Format code..............................................................Passed
Lint.....................................................................Passed
Generate mocks...........................................................Passed
Triggered by edenreich · Infer Action
feat(tasks): show background shell and subagent output in /tasks deta…
inference-gateway-releaser commentedon Jul 13, 2026
🎉 This issue has been resolved in version 0.146.0 🎉
The release is available on:
Your semantic-release bot 📦🚀