anomalyco / anomalyco/opencode
[FEATURE]: /tasks — list and manage background subagents running in parallel
Open
@kommander is already working on this.
Since Aug 12, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Requested feature
Add a /tasks slash command (inspired by Claude Code's /tasks) to list subtasks/subagents running in parallel in the background.
Why
openCode already has the machinery: BackgroundJob.Service (packages/opencode/src/background/job.ts), the experimental background-subagent endpoint (packages/opencode/src/server/routes/instance/httpapi/handlers/experimental.ts, /experimental/session/:id/background), and background.promote / background.cancel. But these are only surfaced via internal/experimental APIs — there is no user-facing /tasks view.
Proposed behavior
/tasksshows active background jobs/subagents with status (running/completed/error/cancelled), plus promote/cancel actions wired toBackgroundJob.Service.- Build on the experimental background-subagents flag to promote/join blocking subagents into the background from the TUI.
Benefits
- Visibility into parallel work without digging into debug endpoints.
- Promotes the existing background-job infrastructure to a first-class UX.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.