Notification (canonical)
hook-surface:notification
HookSurfacechannels-hooks/hook-surfaces/canonical/lifecycle-and-native-stubs.yaml·Open in Graph → {
"id": "hook-surface:notification",
"_kind": "HookSurface",
"_file": "channels-hooks/hook-surfaces/canonical/lifecycle-and-native-stubs.yaml",
"_cluster": "channels-hooks",
"attributes": {
"eventName": "Notification (canonical)",
"displayName": "Notification (canonical)",
"kind": "canonical",
"direction": "event",
"blocking": false,
"family": "in-process",
"payloadSchema": {
"type": "object",
"required": [
"session_id",
"transcript_path",
"message"
],
"properties": {
"session_id": {
"type": "string"
},
"transcript_path": {
"type": "string"
},
"cwd": {
"type": "string"
},
"message": {
"type": "string",
"description": "Human-readable notification body shown to the user."
}
}
},
"description": "Fires when an agent emits a user-visible notification (Claude\nCode \"Notification\" hook and equivalents). Payload mirrors the\nClaude Code docs.\n"
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "agent-runtime-impl:claude-code.runtime@1.x",
"to": "hook-surface:notification",
"kind": "exposes",
"attributes": {}
},
{
"from": "hook-mapping:notification-claude-code",
"to": "hook-surface:notification",
"kind": "maps_hook",
"attributes": {}
},
{
"from": "hook-surface:claude.notification",
"to": "hook-surface:notification",
"kind": "canonicalized_to",
"attributes": {}
},
{
"from": "background-monitor:example-file-watcher",
"to": "hook-surface:notification",
"kind": "emits_hook",
"attributes": {}
}
]
}