Skip to content

@electric-ax/example-deep-survey@0.1.8

Choose a tag to compare

@github-actions github-actions released this 13 May 09:37
· 312 commits to main since this release
b02c21d

Patch Changes

  • 08e85a0: Refactor agents-server HTTP routing around a single globalRouter entrypoint passed a flat TenantContext.

    The ElectricAgentsServer class now owns lifecycle setup only and dispatches each request through an OSS-only wrapper router that layers dashboard and mock-agent routes over globalRouter.fetch(request, tenantContext). This prepares the exported globalRouter for library-mode use by callers that build tenant context outside the OSS server class without pulling in the bundled UI or mock agent.

    Breaking change: entity RPC URLs moved from /:type/:instanceId/... to /_electric/entities/:type/:instanceId/.... This affects entity spawn/get/head/delete, send, fork, tag, and schedule endpoints. The root namespace is now durable-streams pass-through, with no reserved entity control routes.

    Breaking change: the @electric-ax/agents-server package root now only exports the library-mode routing assembly surface: DB setup helpers, AgentsHost, StreamClient, globalRouter, TenantContext, GlobalRoutes, EntityBridgeCoordinator, and tenant helpers. OSS server classes, subrouters, entity-manager internals, scheduler/wake-registry internals, schema helpers, and entity response helpers are no longer root exports.

    The runtime server client, bundled agents-server UI, and conformance tests have been updated for the new route layout. Agents-server control-plane routes now use shared TypeBox/Ajv body validation.

  • Updated dependencies [dec65ae]

  • Updated dependencies [dec65ae]

  • Updated dependencies [08e85a0]

    • @electric-ax/agents-runtime@0.2.0