Replace over-engineered pure Node.js backward-reading implementation with simple `tail -1` via execFile. The codebase already shells out to tmux, git, and ps everywhere — tail is no different. Add integration test that validates toClaudeProjectPath() and readLastJsonlEntry() against real ~/.claude/projects/ data on disk. No API key needed — just requires Claude to have been run once. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| package.json | ||
| tsconfig.json | ||
| vitest.config.ts | ||