In full detail mode, we should show everything of interest, including the hooks.
For now, we only show some hook messages. The "attachment" ones are missing:
{
"parentUuid": "792025a9-bf61-4d42-af9f-6fd9ccce4d96",
"isSidechain": false,
"attachment": {
"type": "hook_success",
"hookName": "PostToolUse:TaskUpdate",
"toolUseID": "toolu_018zdqTEqBHAyFpgGNy1wo4S",
"hookEvent": "PostToolUse",
"content": "Status set to busy: /home/cboos/Workspace/github/daain/claude-code-log/experiments/worktrees",
"stdout": "Status set to busy: /home/cboos/Workspace/github/daain/claude-code-log/experiments/worktrees\n",
"stderr": "",
"exitCode": 0,
"command": "\"${CLAUDE_PLUGIN_ROOT}/scripts/clmail.cmd\" actor busy",
"durationMs": 98
},
"type": "attachment",
"uuid": "f14b46f3-fc1b-4ba4-9516-0ea664e69364",
"timestamp": "2026-04-18T13:20:19.762Z",
"userType": "external",
"entrypoint": "cli",
"cwd": "/home/cboos/Workspace/github/daain/claude-code-log/experiments/worktrees/.claude/worktrees/agent-ab1e6e14",
"sessionId": "ef958aa1-0e93-49f0-bb71-150f63befcd1",
"version": "2.1.114",
"gitBranch": "worktree-agent-a4ca7529"
}
Same nesting remark as for #111. An "attachment" should probably always be one level below the message it is attached to. This seems to be the parentUuid rather than the toolUseID (I found a {"parentUuid":"f8d13cc3-a94c-49ed-9bad-dfa19cb45fb8","isSidechain":false,"attachment":{"type":"hook_success","hookName":"UserPromptSubmit","toolUseID":"679d015f-323f-4b6c-8ada-c908b9e7aea3","hookEvent":"UserPromptSubmit" ...} message and that toolUseID didn't correspond to anything in the whole project, while the parentUuid was indeed the corresponding prompt).
In full detail mode, we should show everything of interest, including the hooks.
For now, we only show some hook messages. The "attachment" ones are missing:
Same nesting remark as for #111. An "attachment" should probably always be one level below the message it is attached to. This seems to be the parentUuid rather than the toolUseID (I found a
{"parentUuid":"f8d13cc3-a94c-49ed-9bad-dfa19cb45fb8","isSidechain":false,"attachment":{"type":"hook_success","hookName":"UserPromptSubmit","toolUseID":"679d015f-323f-4b6c-8ada-c908b9e7aea3","hookEvent":"UserPromptSubmit" ...}message and that toolUseID didn't correspond to anything in the whole project, while the parentUuid was indeed the corresponding prompt).