github electric-sql/electric @electric-ax/agents-desktop@0.1.4

4 hours ago

Patch Changes

  • e4acb1d: Use the Electric Cloud service query parameter for tenant-specific agents URLs so desktop cloud requests target the root agents endpoint while preserving tenant auth routing.
  • e126eba: Route local desktop mutating agents-server requests through the Electron main process so CORS preflights cannot stall behind renderer connection limits.
  • e126eba: Default unauthenticated local desktop sessions to the system:dev-local principal and resolve optimistic send principals at mutation time so pending messages do not render as unknown.
  • e126eba: Add pull-wake runner health check endpoint and rename owner_user_id to owner_principal across the runners system. The GET /_electric/runners/:id/health endpoint returns comprehensive diagnostics including runner state, client-reported stream/heartbeat/claim metrics, active claims, and dispatch stats with a derived health status (healthy/degraded/unhealthy). The PullWakeRunner now tracks internal diagnostics and reports them to the server via heartbeats, stored in a separate runner_runtime_diagnostics table so the main runners shape stays stable for normal UI sync. The owner_user_idowner_principal rename stores canonical principal URLs instead of keys, with strict validation and canonicalization at route boundaries. The migration expires active runner claims and deletes existing runner rows as part of the principal rewrite. This is a breaking change with no backward compatibility — all callers must send principal URLs.

Don't miss a new electric release

NewReleases is sending notifications on new releases.