[0.9.0] - 2026-04-24
Added
- Subagent tree reconstruction from Claude JSONL.
parseClaudeSession/parseClaudeSessionIncrementalnow walkparentUuidchains to resolve the subagent invocation each sidechain turn belongs to.TurnRecord.subagentgainsagentId(stable id per invocation — the root user uuid),parentAgentId(the enclosing invocation's agentId, or the session id for first-level subagents),parentToolUseId(the Agent/Tasktool_use.idthat spawned the invocation),subagentType, anddescription(both lifted from the spawning Agent/Task tool input). Tool_result continuations within the same invocation are distinguished from nested spawns viatool_use_idmatching, so long subagent chains don't get mis-split. Walk results are memoized per uuid so deeply nested trees stay linear.Subagent.isSidechainis unchanged — existing consumers keep working. Closes #8.