Skip to content

[Bug]: OMP agent status remains stuck at "working" in sidebar after task completes (reproduces on v1.4.206) #22017

Description

@fanyu

Operating system

macOS

Orca version

v1.4.206

Details

Short summary:
When running an OMP (Oh My Pi v18.2.7) agent in Orca on macOS, after a turn finishes (all tool calls completed and final assistant response returned), the sidebar status indicator remains stuck at "working" (yellow spinner) indefinitely instead of settling to idle.

What happened:

  • The agent finished executing tools, outputted its final response, and returned control to the user prompt.
  • The sidebar entry for the worktree/pane continued to show the yellow spinner and "working" state for >10 minutes.
  • Checking ~/Library/Application Support/orca/agent-hooks/last-status.json, the last recorded event was still stuck on:
    "hookEventName": "tool_execution_end",
    "payload": {
      "state": "working"
    }
  • It looks like agent_end is either not received, dropped, or fails to transition the sidebar status to done/idle.

How can we reproduce it:

  1. Open Orca v1.4.206 on macOS (Apple Silicon).
  2. Start an OMP agent (omp/18.2.7) in a workspace pane.
  3. Send a prompt that executes multiple tools (e.g., reading/editing files, running build commands).
  4. Wait for the agent to complete all tool calls and print its final response.
  5. Check the left sidebar: the pane indicator remains in the "working" spinner state even though the agent is idle and waiting for the next user input.

Anything else that might help:

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    os:macosIssues affecting macOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions