Skip to content

Commit 7c39ce5

Browse files
committed
Bump eca-webview and wire global-config + logs IPC stubs
The webview now embeds a CodeMirror-powered Global Config editor (new Settings → Global Config tab) and the Logs tab, both of which add new host↔webview messages. Because eca-web compiles the webview sources inline (via the `@webview` Vite alias + tsconfig `include`) rather than consuming a prebuilt bundle, any new runtime dep the webview picks up must also be mirrored in eca-web's own package.json for Vite/Rollup to resolve at build time — otherwise the build fails with "Rollup failed to resolve import @codemirror/state". This commit mirrors the six @codemirror/* packages plus jsonc-parser. The new messages are sent via webviewSendAndGet, which blocks on a matching requestId reply for up to 30 s. A browser has no local filesystem and no local log buffer, so we reply immediately with error-shaped payloads and let the tabs render a graceful "not available in the web client" state instead of spinning. The two fire-and-forget messages (logs/clear, logs/openFolder) are silent no-ops. All five cases are moved out of the `// Ignored (no web equivalent)` fallthrough block into explicit branches so the intent — and the future extension points for remote-log streaming — stay visible. Submodule bump also brings in Hero-mode polish, live server-startup progress, MCP add/remove, and the Settings tab-bar horizontal-scroll fix.
1 parent d14b3b7 commit 7c39ce5

4 files changed

Lines changed: 336 additions & 149 deletions