Skip to content

chore: publish new package versions - #4544

Merged
balegas merged 1 commit into
mainfrom
changeset-release/main
Jun 10, 2026
Merged

balegas merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 9, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@electric-ax/agents@0.4.16

Patch Changes

  • Updated dependencies [5238055]
  • Updated dependencies [916f6cd]
  • Updated dependencies [a044ede]
    • @electric-ax/agents-runtime@0.3.12

@electric-ax/agents-runtime@0.3.12

Patch Changes

  • 5238055: Show per-response token usage in the agent meta row, e.g. 1.2k ↑ 412 ↓. Updates as each step settles — for a single-turn call this lands
    once at done; for tool-using runs the counter jumps at each step
    boundary (the LLM SDK only emits usage at end-of-step, so we can't
    tick smoothly between tokens).

    Plumbing:

    • StepValue gains optional input_tokens / output_tokens columns
      (Zod + TS). Strictly additive: events recorded before this change
      stay valid since both fields are optional, so no migration.
    • outbound-bridge.ts:onStepEnd now persists the tokenInput /
      tokenOutput it already received from pi-adapter.ts — previously
      those values were accepted and silently dropped.
    • EntityTimelineStepItem / IncludesStep surface the new fields,
      and the three .select() blocks that materialize steps include
      them.
    • The cached agent_response section gets a tokens?: { input?, output? } summed across the run's steps at section-build time, and
      the section-cache fingerprint factors in step token deltas so a
      late-arriving onStepEnd invalidates a stale section.
  • 916f6cd: agents-mobile: native slash-command composer for the Horton prompt. The in-session and new-session inputs gain slash-command autocomplete, structured composer_input payloads, and inline command/argument highlighting — reaching feature parity with the desktop composer, on a native TextInput rather than a WebView. The slash-command grammar and serializer move into @electric-ax/agents-runtime (exported via /client) as the shared source of truth for both surfaces; the desktop composer repoints to them with no behaviour change.

  • a044ede: agents-server, agents-runtime: fix two first-spawn races that prevented writer-side shared-state entities from reaching their first handler run on a fresh tenant.

    agents-server: PUT /_electric/shared-state/<id> now inserts the corresponding shared_state_links row synchronously whenever the request carries a valid electric-owner-entity header and the principal can access the entity. Previously this PUT only ran the authz check; the link row was created later — asynchronously — when the entity's manifest stream event was processed via applyManifestEntitySource. The runtime's mkdb wiring schedules the PUT and the preload GET back-to-back, so the GET always raced ahead of the eventually-consistent link insert and returned 401 UNAUTHORIZED: Principal is not allowed to read shared state on every fresh-tenant first wake.

    agents-runtime: createChildDb (used by entity observations) now swallows Stream not found / 404 on initial preload. A handler may legitimately observe an entity that hasn't been spawned yet — e.g. a parent observes its own future child to wake on the child's runFinished. Treating the 404 as "no events yet" matches the spirit of the observation (we'll be woken when the entity appears); the previous unconditional throw aborted the entire wake with HTTP Error 404 ... Stream not found, and the entity could never recover because the spawn that would create the child never ran.

    Verified end-to-end with OpenFactory's daily-digest entity (uses mkdb + observe(db(...)) + observe(entity(<future child>))) against a freshly torn-down local agents-server: the first run-now now writes the digest row, the discord-router subscriber picks it up, and the digest reaches Discord — without manual SQL or out-of-band link bootstrapping.

@electric-ax/agents-server@0.4.19

Patch Changes

  • a044ede: agents-server, agents-runtime: fix two first-spawn races that prevented writer-side shared-state entities from reaching their first handler run on a fresh tenant.

    agents-server: PUT /_electric/shared-state/<id> now inserts the corresponding shared_state_links row synchronously whenever the request carries a valid electric-owner-entity header and the principal can access the entity. Previously this PUT only ran the authz check; the link row was created later — asynchronously — when the entity's manifest stream event was processed via applyManifestEntitySource. The runtime's mkdb wiring schedules the PUT and the preload GET back-to-back, so the GET always raced ahead of the eventually-consistent link insert and returned 401 UNAUTHORIZED: Principal is not allowed to read shared state on every fresh-tenant first wake.

    agents-runtime: createChildDb (used by entity observations) now swallows Stream not found / 404 on initial preload. A handler may legitimately observe an entity that hasn't been spawned yet — e.g. a parent observes its own future child to wake on the child's runFinished. Treating the 404 as "no events yet" matches the spirit of the observation (we'll be woken when the entity appears); the previous unconditional throw aborted the entire wake with HTTP Error 404 ... Stream not found, and the entity could never recover because the spawn that would create the child never ran.

    Verified end-to-end with OpenFactory's daily-digest entity (uses mkdb + observe(db(...)) + observe(entity(<future child>))) against a freshly torn-down local agents-server: the first run-now now writes the digest row, the discord-router subscriber picks it up, and the digest reaches Discord — without manual SQL or out-of-band link bootstrapping.

  • Updated dependencies [5238055]

  • Updated dependencies [916f6cd]

  • Updated dependencies [a044ede]

    • @electric-ax/agents-runtime@0.3.12

electric-ax@0.2.16

Patch Changes

  • Updated dependencies [5238055]
  • Updated dependencies [916f6cd]
  • Updated dependencies [a044ede]
    • @electric-ax/agents-runtime@0.3.12
    • @electric-ax/agents@0.4.16

@core/electric-telemetry@0.3.0

Minor Changes

  • c0ebd51: Refine the process_type telemetry attribute for the coarse buckets that previously hid most of the signal during overload. :erlang and :supervisor are now replaced by a more specific, low-cardinality name (registered name, falling back to the first named $ancestor, then to the initial-call MFA), and logger handler/proxy processes are reported as logger_olp:<handler_id> instead of a bare logger_olp. This affects the vm.monitor.long_gc, vm.monitor.long_schedule, vm.monitor.long_message_queue, process.memory, and process.bin_memory events. No separate attribute is added.

@electric-ax/example-agents-chat-starter@0.1.7

Patch Changes

  • Updated dependencies [5238055]
  • Updated dependencies [916f6cd]
  • Updated dependencies [a044ede]
    • @electric-ax/agents-runtime@0.3.12

@electric-ax/example-agents-walkthrough@0.1.4

Patch Changes

  • Updated dependencies [5238055]
  • Updated dependencies [916f6cd]
  • Updated dependencies [a044ede]
    • @electric-ax/agents-runtime@0.3.12

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

Patch Changes

  • Updated dependencies [5238055]
  • Updated dependencies [916f6cd]
  • Updated dependencies [a044ede]
    • @electric-ax/agents-runtime@0.3.12

@electric-ax/agents-desktop@0.1.16

Patch Changes

  • 5238055: Show per-response token usage in the agent meta row, e.g. 1.2k ↑ 412 ↓. Updates as each step settles — for a single-turn call this lands
    once at done; for tool-using runs the counter jumps at each step
    boundary (the LLM SDK only emits usage at end-of-step, so we can't
    tick smoothly between tokens).

    Plumbing:

    • StepValue gains optional input_tokens / output_tokens columns
      (Zod + TS). Strictly additive: events recorded before this change
      stay valid since both fields are optional, so no migration.
    • outbound-bridge.ts:onStepEnd now persists the tokenInput /
      tokenOutput it already received from pi-adapter.ts — previously
      those values were accepted and silently dropped.
    • EntityTimelineStepItem / IncludesStep surface the new fields,
      and the three .select() blocks that materialize steps include
      them.
    • The cached agent_response section gets a tokens?: { input?, output? } summed across the run's steps at section-build time, and
      the section-cache fingerprint factors in step token deltas so a
      late-arriving onStepEnd invalidates a stale section.

@electric-ax/agents-mobile@0.0.14

Patch Changes

  • 916f6cd: agents-mobile: native slash-command composer for the Horton prompt. The in-session and new-session inputs gain slash-command autocomplete, structured composer_input payloads, and inline command/argument highlighting — reaching feature parity with the desktop composer, on a native TextInput rather than a WebView. The slash-command grammar and serializer move into @electric-ax/agents-runtime (exported via /client) as the shared source of truth for both surfaces; the desktop composer repoints to them with no behaviour change.
  • Updated dependencies [5238055]
  • Updated dependencies [916f6cd]
  • Updated dependencies [a044ede]
    • @electric-ax/agents-server-ui@0.4.19
    • @electric-ax/agents-runtime@0.3.12

@electric-ax/agents-server-ui@0.4.19

Patch Changes

  • 5238055: Show per-response token usage in the agent meta row, e.g. 1.2k ↑ 412 ↓. Updates as each step settles — for a single-turn call this lands
    once at done; for tool-using runs the counter jumps at each step
    boundary (the LLM SDK only emits usage at end-of-step, so we can't
    tick smoothly between tokens).

    Plumbing:

    • StepValue gains optional input_tokens / output_tokens columns
      (Zod + TS). Strictly additive: events recorded before this change
      stay valid since both fields are optional, so no migration.
    • outbound-bridge.ts:onStepEnd now persists the tokenInput /
      tokenOutput it already received from pi-adapter.ts — previously
      those values were accepted and silently dropped.
    • EntityTimelineStepItem / IncludesStep surface the new fields,
      and the three .select() blocks that materialize steps include
      them.
    • The cached agent_response section gets a tokens?: { input?, output? } summed across the run's steps at section-build time, and
      the section-cache fingerprint factors in step token deltas so a
      late-arriving onStepEnd invalidates a stale section.
  • 916f6cd: agents-mobile: native slash-command composer for the Horton prompt. The in-session and new-session inputs gain slash-command autocomplete, structured composer_input payloads, and inline command/argument highlighting — reaching feature parity with the desktop composer, on a native TextInput rather than a WebView. The slash-command grammar and serializer move into @electric-ax/agents-runtime (exported via /client) as the shared source of truth for both surfaces; the desktop composer repoints to them with no behaviour change.

  • Updated dependencies [5238055]

  • Updated dependencies [916f6cd]

  • Updated dependencies [a044ede]

    • @electric-ax/agents-runtime@0.3.12

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 2 times, most recently from cfa5cef to 89e6bf9 Compare June 10, 2026 12:36
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 89e6bf9 to b8f671e Compare June 10, 2026 14:24
@balegas
balegas merged commit 5060b49 into main Jun 10, 2026
5 checks passed
@balegas
balegas deleted the changeset-release/main branch June 10, 2026 15:24

This branch was previously deployed

1 inactive deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant