@agent-wasm/code
v0.1.0
Published
Claude Code transcript parsing and browser IDE bridge helpers for agent-wasm.
Readme
@agent-wasm/code
Claude Code agent integration for agent-wasm: an incremental JSONL transcript
parser and a synced conversation adapter over
@agent-wasm/chat-core.
npm install @agent-wasm/code @agent-wasm/chat-coreAPI
ClaudeTranscriptTail— tail a Claude Code project transcript (.jsonl), emittingChatMessages as the agent writes its own record.ClaudeConversationAdapter— aConversationAdapterthat surfaces a live, bidirectional view of a running Claude Code session in the chat UI.claudeToolUseToToolCall(re-exported from chat-core) — map Claudetool_useblocks to renderable tool-call cards with diffs.CLAUDE_PROJECTS_ROOT/extractClaudeMessageText— transcript path + content helpers.
Scope
This package ships the browser-runnable, encoding-only Claude pieces. The
MCP-over-SSE IDE bridge that streams Monaco editor selection/diagnostics back to
the CLI lives behind an injected EditorStateProvider — its reusable server half
ships here as ClaudeIdeVirtualServer + buildClaudeIdeMcpConfig, while the
editor-state reads stay in the host (the web IDE).
License
MIT
