Commit 56d396f
fix(mcp): default sub-tasks to skip-permissions and fix idle resolver race
MCP-created sub-tasks now default to skipPermissions=true so Claude Code
spawns with --dangerously-skip-permissions. Without this, a fresh trust
dialog blocks the PromptInput auto-send indefinitely, causing initial
prompts to appear drafted but never execute.
Also fires idle resolvers in the spawn-listener scrollback check so
waitForIdle unblocks correctly when the ❯ prompt was already emitted
before the orchestrator subscribed to output.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent b436f19 commit 56d396f
2 files changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
170 | 175 | | |
171 | 176 | | |
172 | 177 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
803 | 803 | | |
804 | 804 | | |
805 | 805 | | |
806 | | - | |
| 806 | + | |
807 | 807 | | |
808 | 808 | | |
809 | 809 | | |
| |||
0 commit comments