/** * `gsk design [path]` — local cc-bridge daemon for Genspark Designer V2 / V3. * * Hosts two HTTP servers on 127.0.0.1, mirroring the protocol Tiffany's * private Anthropic CC binary speaks to claude.ai/design. Once the URL is * opened in the user's browser, the FE side of cc-bridge (see * `frontend-nuxt/utils/cc_bridge.ts`) redeems the nonce, registers the 6 * cc_* tool handlers in the client-tool dispatcher, and dispatches LLM * tool calls over this bridge. * * Servers: * - Exchange: port 47820 (well-known), POST /exchange {nonce} → * {port, token, prompt, cwd, ls_tree}. Single-use — second hit on * the same nonce returns 410 Gone. * - Data: random port, bearer-authenticated routes * /ls /read /grep /exec /back_to_cc /context. Auth = Authorization: * Bearer + X-Bridge-Token (both headers must match the issued token, * to force a fetch/CORS preflight and block