Files
gabrielvidalandClaude Opus 5.5 e94deb8174 feat(parse): neutral tool names in the readers, the fold and the buckets (parser v45)
The readers put the neutral name in a tool_call's `tool` and the record's
own in `native` (readers/toolnames.py): Bash → shell, Read → read,
Agent/Task → agent, the five task tools → todo, CronCreate →
claude:CronCreate; a converter-written legacy file namespaces its own
tools under its entrypoint (agy:manage_task, opencode:execute), an
unstamped one's lowercase names are pi's. MCP names are untouched.

The fold, the cost buckets (bash → shell, task → todo; TaskOutput /
TaskStop now count as shell, TaskGet / TaskList as todo), taskevents, the
resource miner, the lifecycle / deploy / worktree detection, tree.py's
agent cards, spawned children, the scaffold and the bgtasks route key on
the neutral names only. The `todo` calls are told apart by their input
(tools.todo_op). A tool card carries `native` when it differs.

PARSER_VERSION 45 (a full re-index). docs/transcript-format.md gets the
"Tool names" table with the agy column filled from sidecar/agy_tools.py;
the v1 fixtures use the neutral names.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 18:14:14 +01:00

17 lines
1.8 KiB
JSON

{"t": "session", "v": 1, "id": "44444444-aaaa-4bbb-8ccc-000000000004", "harness": "agy", "cwd": "/home/synth/projects/demo", "at": "2026-01-05T10:00:00.000Z"}
{"t": "prompt", "at": "2026-01-05T10:00:00.000Z", "origin": "user", "text": "Reply with exactly: pong — then list the directory."}
{"t": "call", "at": "2026-01-05T10:00:04.148Z", "id": "msg_agy_synth_1", "model": "gemini-4-neon-high", "effort": "high"}
{"t": "text", "at": "2026-01-05T10:00:04.148Z", "call": "msg_agy_synth_1", "text": "pong"}
{"t": "tool_call", "at": "2026-01-05T10:00:04.148Z", "call": "msg_agy_synth_1", "id": "agy_call_01", "tool": "shell", "native": "run_command", "input": {"command": "ls"}}
{"t": "usage", "at": "2026-01-05T10:00:04.148Z", "call": "msg_agy_synth_1", "input": 22757, "output": 14, "cacheRead": 7515}
{"t": "tool_result", "at": "2026-01-05T10:00:05.185Z", "toolCall": "agy_call_01", "ok": true, "text": "menu.py\nREADME.md"}
{"t": "call", "at": "2026-01-05T10:00:09.333Z", "id": "msg_agy_synth_2", "model": "gemini-4-neon-high", "effort": "high"}
{"t": "text", "at": "2026-01-05T10:00:09.333Z", "call": "msg_agy_synth_2", "text": "Two files: menu.py and README.md."}
{"t": "usage", "at": "2026-01-05T10:00:09.333Z", "call": "msg_agy_synth_2", "input": 310, "output": 22, "cacheRead": 30100}
{"t": "turn_end", "at": "2026-01-05T10:00:09.333Z", "reason": "done"}
{"t": "prompt", "at": "2026-01-05T10:00:40.480Z", "origin": "user", "text": "And on Hydrogen, low effort?"}
{"t": "call", "at": "2026-01-05T10:00:43.591Z", "id": "msg_agy_synth_3", "model": "gemini-4-hydrogen-low", "effort": "low"}
{"t": "text", "at": "2026-01-05T10:00:43.591Z", "call": "msg_agy_synth_3", "text": "Same two files."}
{"t": "usage", "at": "2026-01-05T10:00:43.591Z", "call": "msg_agy_synth_3", "input": 120, "output": 9, "cacheRead": 30400}
{"t": "turn_end", "at": "2026-01-05T10:00:43.591Z", "reason": "done"}