Pretty Session turns noisy AI coding agent logs into clean terminal output for live streaming and saved sessions. Current stable version: 0.1.3. Release cadence: early-stage, active development. Key differentiators: supports Claude Code, Codex, and Gemini; three modes (parse, watch, live stream); parser structure easy to extend; built for CI and debugging. Ships TypeScript types.
npm install pretty-sessionNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Installs the CLI globally and parses a simple piped message with the Claude parser.
Update Node.js to v20 or higher (use nvm or asdf).
Update pnpm to v9 or higher (npm install -g pnpm@latest).
Use ES module syntax: import { parseClaude } from 'pretty-session'.Set PTS_TOOL_RESULT_LINES=10 or higher to see tool results.
Switch to import syntax or use dynamic import: import('pretty-session').Upgrade Node.js to v20+ or set NODE_OPTIONS=--openssl-legacy-provider (temporary).
No dependency data recorded yet.