ccmux v0.1.19
session-reader library seam — expose the tested block-parser as 'ccmux/session-reader' for external consumers (readSession/parseSession/detect + types), lean (no ink/react), inert for the fleet bundle
- Expose the transcript reader as a library —
ccmux/session-reader(src/lib.ts+ a package.json
exportssubpath).readSession(path, agent, textLimit?)/parseSession(lines, agent, textLimit?)
/detect(lines)plus theTranscriptMessagetypes, so an external consumer reuses the tested,
agent-agnostic (Claude + Codex) block-parser instead of duplicating it.textLimitis a passthrough
(default 6000; pass higher for full-text indexing). Lean by construction: the seam wires only the
PURE parsers +readLines+ types, so importing it pulls inzod+node:fs— not ink/react/tmux
(verified:src/lib.tsbundles to ~15 KB with zero ink/react in the subgraph). Inert for the fleet:
the shipped bundle is built fromcli.ts, andexportsonly affects externalimport "ccmux/…"
resolution. The format sniff moved tosrc/agent/detect.ts(normalize-only deps) and is re-exported
fromagent/index.tsunder its existing name.