v0.47.13 — Windows hardening
Records Claude Code on native Windows cleanly. The recorder tails the JSONL transcripts (no hook install), so it sidesteps Claude Code's Windows hook bugs — but the transcripts store paths with backslashes ("cwd":"C:\\Users\\..."), which needed handling end to end.
Fixes
- Separator-safe file paths — the session map's FILES panel split paths on
/only, so a Windows path ($PROJECT\src\foo.ts,C:\proj\src\foo.ts) collapsed into one mangled segment. Now separator-agnostic; the file tree, connection arcs, and rows render correctly on Windows. - Separator-insensitive redaction — a home/project dir is now stripped whether a path uses
\or/(Claude Code mixes both on Windows). Closes a latent leak where a mixed-separator absolute home path could survive in the trace, and makes the$PROJECT/~rewrite reliable. - CRLF-safe transcript tailing — Windows
\r\nline endings handled explicitly.
Verification
- A
windows-latestCI job now runsnpm ci+ check + build on every push, plus a daemon smoke test that POSTs aC:\…event and asserts the snapshot — real Windows file I/O. Both OS legs green. - 253 tests, including Windows path-segmentation + mixed-separator redaction cases.
(Live browser gestures + a real recorded session are still best confirmed on a Windows desktop.)
Run it: npx @taewooopark/agent-blackbox@0.47.13 up