StreamHandleFluent .on().done() callbacks, .text() one-liner, .pipe() to any writable, .toReadable() for Node.js ecosystem.
Bidirectional Chatclaude.chat() — persistent process, unlimited turns. .send(), .toDuplex(), WebSocket-ready.
Node.js StreamsReadable, Duplex, pipeline(). Pipe to files, gzip, HTTP responses — the full Node.js streams ecosystem.
Multi-turn Sessionssession.query() maintains context across turns. Resume, fork, continue — all via typed API.
Full CLI Parity45+ CLI flags as typed options. Models, permissions, tools, MCP, agents, hooks, worktrees.
Zero Magic StringsEvery string literal is a named constant. EVENT_TEXT, PERMISSION_PLAN, SCHED_RESULT — import and use.