Repository navigation
v1.4.1 — MCP tools + LSP web-compatible
Makes ApolloVM's MCP server and all its tools (apollovm.* + apollovm.lsp.*) run in a browser.
MCP — web compatibility
package:apollovm/apollovm_mcp.dartis now fully web-safe — nodart:io, nodart:isolate. The MCP server and every tool compile and run under dart2js / DDC. ConstructApolloMcpServeron anyStreamChannel<String>(e.g. a webMessageChannel) and drive the tools in-process. (In 1.4.0 theapollovm.lsp.*tools were documented as web-safe, butapollovm_mcp.dartstill transitively importeddart:io/dart:isolate, so a web build failed to compile.)- The
dart:io-only pieces moved to a newpackage:apollovm/apollovm_mcp_io.dart(which re-exportsapollovm_mcp.dart):serveStdio,HttpSseTransport, and theCommandMcpCLI group. Migration: if you imported those fromapollovm_mcp.dart, switch that import toapollovm_mcp_io.dart(one line). - The per-tool timeout executor is platform-selected (mirroring
wasm_runtime.dart): a killable-isolate executor on native, an in-process cooperative-timeout executor on the web. - New cross-platform
test/mcp/web_compat_test.dartruns underdart test --platform chrome, guarding the web-safe surface.
Verified: dart2js compiles the full MCP + LSP surface; web-compat tests pass in Chrome; all MCP tests pass on the VM.
Full changelog: see CHANGELOG.md.
🤖 Generated with Claude Code