OpenCode session-idle (native)
hook-surface:opencode.session-idle
HookSurfacechannels-hooks/hook-surfaces/canonical/lifecycle-and-native-stubs.yaml·Open in Graph → {
"id": "hook-surface:opencode.session-idle",
"_kind": "HookSurface",
"_file": "channels-hooks/hook-surfaces/canonical/lifecycle-and-native-stubs.yaml",
"_cluster": "channels-hooks",
"attributes": {
"eventName": "OpenCode session-idle (native)",
"displayName": "OpenCode session-idle (native)",
"kind": "native",
"originVendor": "SST",
"direction": "event",
"blocking": false,
"family": "shell-hook",
"payloadSchema": {
"type": "object",
"required": [
"session_id"
],
"properties": {
"session_id": {
"type": "string"
},
"idle_seconds": {
"type": "number",
"description": "Seconds since last activity."
}
}
},
"description": "OpenCode's session-idle hook."
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "agent-runtime-impl:opencode.runtime@1.x",
"to": "hook-surface:opencode.session-idle",
"kind": "exposes",
"attributes": {}
},
{
"from": "hook-mapping:session-idle-opencode",
"to": "hook-surface:opencode.session-idle",
"kind": "maps_hook",
"attributes": {}
}
]
}