#!/usr/bin/env node /** * Standalone Node entry point that owns all Claude-Code-specific complexity: spawning the real * `claude` binary, hosting the MCP bridge, and translating its stream-json into the normalized * adapter↔wrapper protocol. * * @remarks * Self-contained with respect to `@nhtio/adk/*` — no such imports anywhere in this file or its * three siblings (`wire.ts`, `cli_protocol.ts`, `mcp_bridge.ts`). Only `node:*` builtins, * `@modelcontextprotocol/sdk`, and those three battery-local modules. Ships as a sibling dist * asset (see Decision C in the design notes) — never imported as a library, only ever spawned by * file path via `execa(process.execPath, [wrapperPath])` from `adapter.ts`. * * Carries no `@module` JSDoc tag: it is invisible to the `@module`-tag scraper that builds the * public `exports` map, and is added to `vite.config.mts`'s `build.lib.entry` as an explicit extra * key instead, following the `mcp/server.ts` precedent for a non-consumer-facing standalone * executable. */ export {};