Skip to content

feat: Show background tasks status in sidebar #8322

Closed as not planned
Closed as not planned

Description

@dccarbone

Problem

When using background tasks (background_task, call_omo_agent with run_in_background=true), there's no visibility into which tasks are currently running.

The user has to:

  1. Remember the task_ids manually
  2. Use background_output to check status one by one
  3. Hope they don't forget to cancel tasks before finishing

Proposed Solution

Add a visual indicator in the sidebar showing active background tasks:

  • Task count badge on sidebar (e.g., "3 running")
  • Expandable list showing:
    • Agent type (explore, librarian, oracle, etc.)
    • Task description (the short description passed to the tool)
    • Duration/elapsed time
    • Quick actions: view output, cancel

Why This Matters

  • Resource awareness: Users can see if they're spinning up too many agents
  • Better UX: No need to track task_ids mentally
  • Easier cleanup: One-click cancel instead of background_cancel(all=true)

Alternatives Considered

  • Toast notifications for task start/end (less persistent)
  • Status bar indicator (less detailed)

Feature request from a user who frequently uses parallel background agents for exploration.

Activity

  1. dccarbone commented on Jan 14, 2026

    @dccarbone
    Author

    Additional thought: It would be great to have a kill/cancel button directly in the sidebar for each task.

    One-click cancel without needing to type background_cancel(task_id="...") would be a nice QoL improvement.

  2. github-actions commented on Jan 14, 2026

    @github-actions
    Contributor

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

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

  3. zxsleebu commented on Feb 26, 2026

    @zxsleebu

    +1. i don't always understand why is my agent getting stale when it promises to continue the work

  4. github-actions commented on Apr 28, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

Labels

webRelates to opencode on web / desktop

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions