mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-05 15:09: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:
@@ -1120,6 +1120,19 @@ class ClaudemanApp {
|
||||
});
|
||||
});
|
||||
|
||||
this.eventSource.addEventListener('hook:elicitation_dialog', (e) => {
|
||||
const data = JSON.parse(e.data);
|
||||
const session = this.sessions.get(data.sessionId);
|
||||
this.notificationManager?.notify({
|
||||
urgency: 'critical',
|
||||
category: 'hook-elicitation',
|
||||
sessionId: data.sessionId,
|
||||
sessionName: session?.name || data.sessionId,
|
||||
title: 'Question Asked',
|
||||
message: 'Claude is asking a question and waiting for your answer',
|
||||
});
|
||||
});
|
||||
|
||||
this.eventSource.addEventListener('hook:stop', (e) => {
|
||||
const data = JSON.parse(e.data);
|
||||
const session = this.sessions.get(data.sessionId);
|
||||
|
||||
Reference in New Issue
Block a user