github electric-sql/electric @electric-ax/agents-server@0.3.0

5 hours ago

Patch Changes

  • 1df7cce: Add Model Context Protocol (MCP) support — agents can call tools, read resources, and use prompts from external MCP servers (stdio + Streamable HTTP), with OAuth handled by the runtime. New @electric-ax/agents-mcp package ships the Registry API, transports, OAuth bridges, and opt-in keychainPersistence / filePersistence helpers. The Electron desktop app exposes a Settings → MCP Servers page and a mcp.servers block in settings.json that layers with the per-workspace mcp.json. Built-in horton and worker agents see registered MCP tools transparently via mcp.tools().

  • 744c47f: Replace static entity write tokens with claim-scoped tokens. Write tokens are now issued when a consumer claims a wake and revoked on done, preventing leaked credentials from granting permanent write access. Removes writeToken from webhook notifications and spawn response headers.

  • 28d127b: Electron desktop shell, tile-based workspace, and per-session
    working-directory picker.

    • @electric-ax/agents-desktop: new package — Electron app
      bundling a local Horton runtime, system-tray status, multi-
      window support, frameless windows with in-app title bars,
      native menus, About dialog, on-launch API key prompt
      (Anthropic / OpenAI / Brave), localhost agent-server discovery,
      and HMR via vite-plugin-electron.
    • @electric-ax/agents-server: entrypoint support for the local
      desktop runtime wiring.
    • @electric-ax/agents-server-ui: tile-based workspace (DnD,
      splits, persisted layouts, shareable URLs), redesigned new-
      session screen, refreshed dropdown chrome (Combobox
      primitive, sentence-case section headings, ServerPicker-style
      rows), sidebar filter & view menu with grouping by date /
      type / status / working dir, full Settings screen with
      General / Appearance / Local Runtime categories.
    • @electric-ax/agents: Horton accepts an optional
      workingDirectory spawn arg so each session can run against
      its own project root without restarting the runtime.
    • @electric-ax/agents-runtime: tool-pair preservation during
      compaction and matching tool-call events by id (bug fixes
      surfaced while building the desktop UI).
    • @electric-sql/experimental, @electric-sql/react: align test
      type configuration with DOM AbortSignal types used by the client.
  • a3cee92: Remove the coder entity (coding-session). The registerCodingSession, useCodingAgent, CodingSessionHandle, and related types/tools (spawn_coder, prompt_coder) are no longer available. The agent-session-protocol dependency is also removed.

  • Updated dependencies [1df7cce]

  • Updated dependencies [f509387]

  • Updated dependencies [590aabb]

  • Updated dependencies [744c47f]

  • Updated dependencies [28d127b]

  • Updated dependencies [6399147]

  • Updated dependencies [a3cee92]

  • Updated dependencies [7f8947a]

  • Updated dependencies [92a332e]

    • @electric-ax/agents-runtime@0.1.3
    • @electric-sql/client@1.5.17

Don't miss a new electric release

NewReleases is sending notifications on new releases.