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

latest releases: @electric-ax/agents-server@0.4.7, @electric-ax/example-deep-survey@0.1.13, @electric-ax/agents-mobile@0.0.2...
4 hours ago

Patch Changes

  • 9f10b20: Update Durable Streams server webhook support to Ed25519/JWKS signatures. Agents-server now exposes its own stream-root JWKS endpoint, supports injectable webhook signing keys/signers, validates upstream Durable Streams webhook signatures, rewrites subscription signing metadata to the agents-server JWKS, re-signs forwarded webhook deliveries, and preserves bodyless upstream 204/205/304 subscription responses. Agents-runtime now validates webhook signatures before dispatching wakes.
  • c02dd6d: Fix materializeHeartbeatClaim nulling out consumer_claims.lease_expires_at when called without a lease argument. The heartbeat path is now an alive-ping only — it updates last_heartbeat_at and leaves the lease (set at claim materialization time from the upstream lease_ttl_ms) intact. Callers that genuinely want to extend the lease can still pass leaseExpiresAt explicitly.
  • c6fb22d: Fix pull-wake claims leaking in consumer_claims after dispatch. The release path in callback-forward was gated entirely on the in-memory write-token state, so any condition that lost or evicted the token (server restart, a newer wake on the same stream) would prevent materializeReleasedClaim from running and leave the DB row pinned at status='active'. The fix decouples the durable-row release (keyed by consumerId + epoch) from in-memory token cleanup, and uses entityCleared || stillOwnsClaim to gate the entity status transition back to idle. Includes regression tests in test/webhook-forward-routing.test.ts.
  • Updated dependencies [ca01b9d]
  • Updated dependencies [9f10b20]
    • @electric-ax/agents-runtime@0.3.1

Don't miss a new electric release

NewReleases is sending notifications on new releases.