e30ac1d1069532fb6d652d87e2d4a2fe9d1b4773
Adds archyBridge.sendChat(text) built on the existing postToParent + origin-validated listener pattern (same request-id correlation as requestContext), with a 180s timeout matching the node's ASSISTANT_HTTP_TIMEOUT. Adds useAI.ts's streamViaArchy, which branches all three existing send sites on the same __AIUI_EMBEDDED__ signal useArchy.ts already reads: embedded mode delegates the model call, the tool-calling loop and the model key to the node; standalone mode is untouched and keeps using streamClaude/streamOpenRouter with AIUI's own dev proxy (D-17). CLAUDE_PATH/OPENROUTER_PATH are not removed — 13-02 changes what those paths resolve to on a node, 13-09 retires them. Verified: vitest run 332/335 passing (3 pre-existing failures confirmed via a scratch worktree at the prior HEAD, unrelated to this change — seed extraction count assertions and a web-search-integration body.webSearch assertion); vue-tsc --noEmit clean. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Releases
72
Languages
Rust
42.1%
Vue
21.6%
TypeScript
15.2%
Shell
8.1%
JavaScript
5.5%
Other
7.5%