Skip to content

[BUG] Permission request fails to show for sub-agent runs in Claude Code #587

@Troyanovsky

Description

@Troyanovsky

What version of HAPI is running?

0.16.7

What platform is your computer?

Darwin 24.6.0 Arm64

What issue are you seeing?

In Claude Code, when a sub-agent is dispatched and the agent requests permission. The status indicator shows an orange premission requested, but the permission option don't show up, so I can't give permission to continue the run.
But when I go to the local terminal and double press space bar to continue on local, the sub-agent run will be interrupted.

What steps can reproduce the bug?

Launch claude code with hapi
In remote mode, launch a sub-agent for a task that may request permissions
When the sub-agent needs permissions, the issue happens.

What is the expected behavior?

  • When the sub-agent needs permissions, show the permission option picker correctly.
  • Or alternatively, don't interrupt the sub-agent session when the user switches to local mode to approve the permission request.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions