mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-08 16:39:42 +02:00
docs: update all docs for hooks integration with elicitation_dialog
- Add hook:elicitation_dialog SSE handler in frontend (critical urgency) - Add Desktop Notifications section to README with hook event table - Add hooks API endpoint to README API reference - Update CLAUDE.md SSE events and API routes for elicitation_dialog - Add session log entry for hooks feature Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -159,6 +159,21 @@ curl -X POST localhost:3000/api/sessions/:id/auto-compact \
|
||||
|
||||
---
|
||||
|
||||
### 🔔 Desktop Notifications via Hooks
|
||||
|
||||
Automatic desktop notifications when sessions need attention — powered by Claude Code's hooks system:
|
||||
|
||||
| Hook Event | Urgency | Meaning |
|
||||
|------------|---------|---------|
|
||||
| `permission_prompt` | Critical | Claude needs tool approval |
|
||||
| `elicitation_dialog` | Critical | Claude is asking a question |
|
||||
| `idle_prompt` | Warning | Session idle, waiting for input |
|
||||
| `stop` | Info | Response complete |
|
||||
|
||||
Hooks are auto-configured per case directory (`.claude/settings.local.json`). Requires `--https` flag for browser notification API support.
|
||||
|
||||
---
|
||||
|
||||
### 🖥️ Multi-Session Dashboard
|
||||
|
||||
Run **20 parallel sessions** with full visibility:
|
||||
@@ -257,6 +272,11 @@ npx tsx src/index.ts web
|
||||
| `POST` | `/api/spawn/agents/:id/cancel` | Cancel agent |
|
||||
| `POST` | `/api/spawn/trigger` | Programmatic spawn |
|
||||
|
||||
### Hooks & Notifications
|
||||
| Method | Endpoint | Description |
|
||||
|--------|----------|-------------|
|
||||
| `POST` | `/api/hook-event` | Claude Code hook callbacks |
|
||||
|
||||
### Real-Time
|
||||
| Method | Endpoint | Description |
|
||||
|--------|----------|-------------|
|
||||
|
||||
Reference in New Issue
Block a user