Support background tool execution #6829

Closed
opened 2026-02-16 18:05:23 -05:00 by yindo · 1 comment
Owner

Originally created by @LiusCraft on GitHub (Jan 19, 2026).

Originally assigned to: @thdxr on GitHub.

Background\nTool execution (e.g., bash/task/batch) waits for child processes to exit and cannot keep running in the background; only service processes like LSP are long‑lived.\n\n## Expected\nSupport tools running persistently in the background (e.g., long‑running tasks/daemons), with the ability to check status, view output, and stop them.\n\n## Possible direction\n- Add tool execution modes: foreground / background\n- Provide status and log query APIs for background jobs\n- Provide explicit stop/cleanup mechanisms

Originally created by @LiusCraft on GitHub (Jan 19, 2026). Originally assigned to: @thdxr on GitHub. ## Background\nTool execution (e.g., bash/task/batch) waits for child processes to exit and cannot keep running in the background; only service processes like LSP are long‑lived.\n\n## Expected\nSupport tools running persistently in the background (e.g., long‑running tasks/daemons), with the ability to check status, view output, and stop them.\n\n## Possible direction\n- Add tool execution modes: foreground / background\n- Provide status and log query APIs for background jobs\n- Provide explicit stop/cleanup mechanisms
yindo closed this issue 2026-02-16 18:05:23 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 19, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #5887: [feat] True Async/Background Sub-Agent Delegation - requests non-blocking async sub-agent execution
  • #8322: feat: Show background tasks status in sidebar - addresses visibility for background tasks
  • #6375: [FEATURE]: Better active/background terminal and bash management - proposes background terminal suite with query APIs
  • #1970: Feature Request: Add Background Bash Execution - requests background bash execution similar to Claude Code's Ctrl+b

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 19, 2026): This issue might be a duplicate of existing issues. Please check: - #5887: [feat] True Async/Background Sub-Agent Delegation - requests non-blocking async sub-agent execution - #8322: feat: Show background tasks status in sidebar - addresses visibility for background tasks - #6375: [FEATURE]: Better active/background terminal and bash management - proposes background terminal suite with query APIs - #1970: Feature Request: Add Background Bash Execution - requests background bash execution similar to Claude Code's Ctrl+b Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6829