docs: move SubagentStop hook config to claude-runner CT
The hook belongs on the instance running long-running subagents, not in the claude-home repo settings. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
e2ec022a33
commit
2897d1f037
@ -6,14 +6,5 @@
|
|||||||
"allowed_working_directories": [
|
"allowed_working_directories": [
|
||||||
"/mnt/NV2/Development/claude-home",
|
"/mnt/NV2/Development/claude-home",
|
||||||
"/mnt/media"
|
"/mnt/media"
|
||||||
],
|
]
|
||||||
"hooks": {
|
|
||||||
"SubagentStop": [
|
|
||||||
{
|
|
||||||
"type": "http",
|
|
||||||
"url": "http://localhost:5678/webhook/claude-agent-done",
|
|
||||||
"async": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -294,7 +294,8 @@ ssh root@10.10.0.210 "docker stats --no-stream n8n n8n-postgres"
|
|||||||
**Related Files:**
|
**Related Files:**
|
||||||
- `workflows/claude-agent-notifications.md` - Setup guide
|
- `workflows/claude-agent-notifications.md` - Setup guide
|
||||||
- `workflows/claude-agent-done.json` - Importable n8n workflow
|
- `workflows/claude-agent-done.json` - Importable n8n workflow
|
||||||
- `.claude/settings.json` (repo root) - Claude Code hook config
|
|
||||||
|
**Hook Config:** The `SubagentStop` HTTP hook should be configured in the `.claude/settings.json` of whichever Claude Code instance runs long-running subagents (e.g. `claude-runner` CT 302), not in `claude-home`.
|
||||||
|
|
||||||
**Custom Variables:**
|
**Custom Variables:**
|
||||||
- `DISCORD_CLAUDE_ALERTS_WEBHOOK` - Discord webhook URL for the target channel
|
- `DISCORD_CLAUDE_ALERTS_WEBHOOK` - Discord webhook URL for the target channel
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user