Commit 9fbb783
fix(project-context): correct parent transcript path resolution
Agent transcripts are at .../project/{sessionId}/subagents/agent-{agentId}.jsonl
Parent transcripts are at .../project/{sessionId}.jsonl
The previous code incorrectly computed the parent path by only going up one
directory level. This fix properly navigates from the subagents/ directory
to the project root to find the parent transcript.
Integrates fix from PR #320.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 453365f commit 9fbb783
1 file changed
Lines changed: 7 additions & 1 deletion
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
339 | | - | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
340 | 346 | | |
341 | 347 | | |
342 | 348 | | |
| |||
0 commit comments