iiRecord
Agentic AI Atlas · OpenCode session-idle (native)
hook-surface:opencode.session-idlea5c.ai
II.
HookSurface JSON

hook-surface:opencode.session-idle

Structured · live

OpenCode session-idle (native) json

Inspect the normalized record payload exactly as the atlas UI reads it.

File · channels-hooks/hook-surfaces/canonical/lifecycle-and-native-stubs.yamlCluster · channels-hooks
Record JSON
{
  "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:opencode-session-idle",
      "to": "hook-surface:opencode.session-idle",
      "kind": "maps_hook",
      "attributes": {}
    }
  ]
}