You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9eecbd5
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -526,6 +526,25 @@ When `mcp.confirmations` is configured, four extra tools appear:
526
526
|`approve_intent`|`id`| Manually settle a pending intent (e.g. MCP override). |
527
527
|`deny_intent`|`id`||
528
528
529
+
Non-MCP agents can use the same shared confirmation daemon through the CLI:
530
+
531
+
```bash
532
+
node bin/cli.mjs confirm request \
533
+
--config /path/to/ide-agent-kit.json \
534
+
--prompt "Approve destructive command?" \
535
+
--session codex \
536
+
--channels groupmind \
537
+
--from @CodexMB \
538
+
--wait
539
+
540
+
node bin/cli.mjs confirm list --config /path/to/ide-agent-kit.json
541
+
```
542
+
543
+
The request command POSTs to the live daemon's `/intent` endpoint, so CodeWatch
544
+
polling `/intents` shows the confirmation in the matching IDE channel (for
545
+
example `session=codex...` maps to `@CodexMB`) and phone/watch Approve/Deny
546
+
buttons settle the same intent. `--wait` blocks until a decision or timeout.
547
+
529
548
End-to-end:
530
549
1. MCP-aware agent calls `request_confirmation({prompt: "Drop production DB?"})`.
531
550
2. The IAK MCP server posts to GroupMind room (`/approve <id>` / `/deny <id>` quick replies) and to the CLAWWATCH_GATE (Android interactive notification with Approve / Deny buttons that vibrate the watch).
0 commit comments