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
[DOCS] Document the /tasks Output detail section for background shells and subagents #387
inference-gateway/cli#897 (resolves inference-gateway/cli#692) adds an "Output" section to the /tasks detail panel in the chat TUI for background shell and subagent rows, bringing them to
parity with the A2A "Final Result" panel. The docs should cover:
Selecting a background shell row in /tasks now shows its captured stdout/stderr, updated
live (about once per second) while the shell is running, and the full captured output
(bounded by the output ring buffer) once it finishes.
Selecting a subagent row shows the subagent's final result message (headless subagents) or
the last harvested turn (interactive tmux-pane subagents).
Rendering is bounded: the panel shows at most the last 10KB of output, prefixed with
"(truncated, showing last 10KB)".
New configuration option tools.agent.inherit_mock (env var INFER_TOOLS_AGENT_INHERIT_MOCK, default true): when the parent CLI runs against the
embedded mock gateway (gateway.mock: true), spawned subagents inherit mock mode via INFER_GATEWAY_MOCK=true instead of talking to the real gateway. Set to false to opt out.
Affected pages: the /tasks panel / background tasks documentation, and the configuration
reference (agent tool options).
The /tasks documentation describes the Output detail section for background shell rows
(live streaming while running, captured output when finished, 10KB tail bound).
The /tasks documentation describes the Output detail section for subagent rows (final
result / last harvested turn).
The configuration reference documents tools.agent.inherit_mock and INFER_TOOLS_AGENT_INHERIT_MOCK with the default value and its purpose.
Document tools.agent.inherit_mock / INFER_TOOLS_AGENT_INHERIT_MOCK in the agent-tool config reference
Add a /tasks view section documenting the Output detail (shell live streaming + captured output + 10KB tail; subagent final result / last harvested turn)
Add /tasks to the built-in shortcuts table
Run lint / format / build checks (all pass)
Commit and open PR
What changed (cli.md)
New /tasks view section (next to the existing /tools and /a2a view docs):
Describes the per-kind background-work panel (A2A tasks, background shells, subagents) with live-updating rows.
Output detail for background shell rows - stdout/stderr streams live (about once per second) while running; the full captured output (bounded by the shell's output ring buffer) shows once it finishes.
Output detail for subagent rows - final result message for headless subagents, last harvested turn for interactive tmux-pane subagents.
10KB tail bound - the panel shows at most the last 10KB, prefixed with (truncated, showing last 10KB).
Added /tasks to the built-in shortcuts table.
Configuration reference (agent-tool options):
Documented tools.agent.inherit_mock (env INFER_TOOLS_AGENT_INHERIT_MOCK, default true) in the YAML block and env-var table, plus a prose note: when the parent runs against the embedded mock gateway (gateway.mock: true), subagents inherit mock mode via INFER_GATEWAY_MOCK=true; set to false to opt out.
All three acceptance criteria are covered. Verified locally with bun run lint:md, bun run format:check, bun run build, and bun test - all green. No /tasks view or inherit_mock docs existed before, so I added a focused /tasks section to host the Output detail rather than editing a non-existent one.
Activity
edenreich commentedon Jul 13, 2026
@claude Can you work on this?
inference-gateway-maintainer commentedon Jul 13, 2026
Claude finished @edenreich's task in 10m 9s —— View job •
docs/issue-387-20260713-1406• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-387-20260713-1406?quick_pull=1&title=Issue%20%23387%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23387%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documenting
/tasksOutput detail section +tools.agent.inherit_mockDone. Opened PR #388.
/taskspanel documentation and configuration referenceinherit_mockdefaulttrue)tools.agent.inherit_mock/INFER_TOOLS_AGENT_INHERIT_MOCKin the agent-tool config reference/tasksview section documenting the Output detail (shell live streaming + captured output + 10KB tail; subagent final result / last harvested turn)/tasksto the built-in shortcuts tableWhat changed (
cli.md)New
/tasksview section (next to the existing/toolsand/a2aview docs):(truncated, showing last 10KB)./tasksto the built-in shortcuts table.Configuration reference (agent-tool options):
tools.agent.inherit_mock(envINFER_TOOLS_AGENT_INHERIT_MOCK, defaulttrue) in the YAML block and env-var table, plus a prose note: when the parent runs against the embedded mock gateway (gateway.mock: true), subagents inherit mock mode viaINFER_GATEWAY_MOCK=true; set tofalseto opt out.All three acceptance criteria are covered. Verified locally with
bun run lint:md,bun run format:check,bun run build, andbun test- all green. No/tasksview orinherit_mockdocs existed before, so I added a focused/taskssection to host the Output detail rather than editing a non-existent one.docs/issue-387-20260713-1406inference-gateway-releaser commentedon Jul 18, 2026
🎉 This issue has been resolved in version 0.9.2 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀