Skip to content

implement background agents#15994

Open
nexxeln wants to merge 5 commits intodevfrom
implement-background-agents
Open

implement background agents#15994
nexxeln wants to merge 5 commits intodevfrom
implement-background-agents

Conversation

@nexxeln
Copy link
Copy Markdown
Member

@nexxeln nexxeln commented Mar 4, 2026

Summary

  • add task(background=true) for fire-and-forget subagent execution with hidden synthetic completion injection and parent auto-resume
  • add task_status polling/waiting with compact parseable output and resumed-task stale-state handling
  • update TUI subagent UX to stay non-blocking, show live toolcall progress, and avoid premature finished status under sync lag

Testing

  • bun run typecheck (from packages/opencode)
  • bun test test/tool/task_status.test.ts (from packages/opencode)

@nexxeln nexxeln added the beta label Mar 6, 2026
opencode-agent bot added a commit that referenced this pull request Mar 6, 2026
opencode-agent bot added a commit that referenced this pull request Mar 6, 2026
opencode-agent bot added a commit that referenced this pull request Mar 6, 2026
opencode-agent bot added a commit that referenced this pull request Mar 6, 2026
opencode-agent bot added a commit that referenced this pull request Mar 6, 2026
opencode-agent bot added a commit that referenced this pull request Mar 6, 2026
opencode-agent bot added a commit that referenced this pull request Mar 7, 2026
opencode-agent bot added a commit that referenced this pull request Mar 7, 2026
opencode-agent bot added a commit that referenced this pull request Mar 7, 2026
opencode-agent bot added a commit that referenced this pull request Mar 7, 2026
opencode-agent bot added a commit that referenced this pull request Mar 7, 2026
opencode-agent bot added a commit that referenced this pull request Mar 7, 2026
opencode-agent bot added a commit that referenced this pull request Mar 7, 2026
opencode-agent bot added a commit that referenced this pull request Mar 7, 2026
opencode-agent bot added a commit that referenced this pull request Mar 7, 2026
opencode-agent bot added a commit that referenced this pull request Mar 7, 2026
opencode-agent bot added a commit that referenced this pull request Mar 7, 2026
opencode-agent bot added a commit that referenced this pull request Mar 7, 2026
opencode-agent bot added a commit that referenced this pull request Mar 7, 2026
opencode-agent bot added a commit that referenced this pull request Mar 7, 2026
opencode-agent bot added a commit that referenced this pull request Mar 7, 2026
opencode-agent bot added a commit that referenced this pull request Mar 7, 2026
opencode-agent bot added a commit that referenced this pull request Mar 7, 2026
@jeesondk
Copy link
Copy Markdown

Hey @nexxeln — this feature is something I'd really like to see land. I'm running a dual-agent setup (lead engineer + local worker via llama.cpp) and the blocking behavior on task delegation is the main friction point in my workflow.

Happy to help with testing, review, or rebasing if that would move this forward. Is there anything blocking this from getting reviewed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants