II.
HookSurface JSON
Structured · livehook-surface:pi.on-event
onEvent (Pi) json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "hook-surface:pi.on-event",
"_kind": "HookSurface",
"_file": "channels-hooks/hook-surfaces/native/pi-on-event.yaml",
"_cluster": "channels-hooks",
"attributes": {
"eventName": "onEvent (Pi)",
"displayName": "onEvent (Pi)",
"kind": "native",
"originVendor": "a5c",
"direction": "post",
"blocking": false,
"family": "shell-hook",
"payloadSchema": {
"type": "object",
"required": [
"event"
],
"properties": {
"event": {
"type": "string"
},
"payload": {
"type": "object"
}
}
},
"description": "Pi's generic onEvent hook. Pi exposes a single onEvent dispatcher\nthat routes to handler scripts by event name. Canonicalizes to\npost-tool-use for cross-product policies.\n"
},
"outgoingEdges": [
{
"from": "hook-surface:pi.on-event",
"to": "hook-surface:post-tool-use",
"kind": "canonicalized_to",
"attributes": {}
}
],
"incomingEdges": [
{
"from": "hook-mapping:before-provider-request-pi",
"to": "hook-surface:pi.on-event",
"kind": "maps_hook",
"attributes": {}
}
]
}