diff --git a/.changeset/add-openai-codex-provider.md b/.changeset/add-openai-codex-provider.md deleted file mode 100644 index c07e5f16f8..0000000000 --- a/.changeset/add-openai-codex-provider.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@electric-ax/agents': patch ---- - -Add `openai-codex` as a built-in model provider. When the user has logged into OpenAI Codex CLI (`~/.codex/auth.json` exists), GPT-5.x models automatically appear in the dashboard model dropdown with reasoning effort support. diff --git a/.changeset/agents-configurable-builtin-models.md b/.changeset/agents-configurable-builtin-models.md deleted file mode 100644 index 5b36316306..0000000000 --- a/.changeset/agents-configurable-builtin-models.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@electric-ax/agents': patch ---- - -Allow Horton and Worker to use configured Anthropic or OpenAI models. Adds a `model-catalog` that selects providers from `ANTHROPIC_API_KEY` / `OPENAI_API_KEY`, surfaces UI-selectable reasoning effort for compatible OpenAI reasoning models, and threads the catalog through `bootstrap`, `registerHorton`, `registerWorker`, and `spawnWorker`. diff --git a/.changeset/agents-runtime-chat-cache.md b/.changeset/agents-runtime-chat-cache.md deleted file mode 100644 index 525c9695c6..0000000000 --- a/.changeset/agents-runtime-chat-cache.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@electric-ax/agents-runtime': patch ---- - -Stabilise chat section identity across streaming updates: `buildSections` / `buildTimelineEntries` in `use-chat` now key a fingerprint-based section cache by `run.key` / `msg.key`, so settled rows return the same reference even when the upstream pipeline rebuilds row objects. Adds a bounded prune pass + a `__resetSectionCachesForTesting` hook for test isolation. Also small cleanups in `tools/context-tools.ts`. diff --git a/.changeset/agents-server-ui-redesign.md b/.changeset/agents-server-ui-redesign.md deleted file mode 100644 index 5b422f12e0..0000000000 --- a/.changeset/agents-server-ui-redesign.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@electric-ax/agents-server-ui': patch ---- - -Redesign. diff --git a/.changeset/agents-ui-runtime-client.md b/.changeset/agents-ui-runtime-client.md deleted file mode 100644 index f87e358bfa..0000000000 --- a/.changeset/agents-ui-runtime-client.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@electric-ax/agents-runtime': patch -'@electric-ax/agents': patch -'@electric-ax/agents-desktop': patch -'@electric-ax/agents-server-ui': patch -'@electric-ax/example-deep-survey': patch -electric-ax: patch ---- - -Improve the agents UI timeline and reactivity, add a browser-safe runtime client export, and route built-in agent metadata extraction through the configurable low-cost model runner. diff --git a/.changeset/claim-scoped-write-tokens.md b/.changeset/claim-scoped-write-tokens.md deleted file mode 100644 index a5357c9655..0000000000 --- a/.changeset/claim-scoped-write-tokens.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@electric-ax/agents-server': patch -'@electric-ax/agents-runtime': patch -'@electric-ax/agents-server-conformance-tests': patch ---- - -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. diff --git a/.changeset/dull-seas-rescue.md b/.changeset/dull-seas-rescue.md deleted file mode 100644 index e0f854d46d..0000000000 --- a/.changeset/dull-seas-rescue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@core/elixir-client': patch ---- - -Add support for electric v1.6 diff --git a/.changeset/fix-bash-tool-home.md b/.changeset/fix-bash-tool-home.md deleted file mode 100644 index ac4efc7ff5..0000000000 --- a/.changeset/fix-bash-tool-home.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@electric-ax/agents-runtime': patch ---- - -Preserve the caller's HOME environment variable when running bash tool commands so CLIs can find user-level config and credentials. diff --git a/.changeset/fix-expiry-manager-log-attributes.md b/.changeset/fix-expiry-manager-log-attributes.md deleted file mode 100644 index ff323ce7f0..0000000000 --- a/.changeset/fix-expiry-manager-log-attributes.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@core/sync-service': patch ---- - -Emit `number_to_expire` and `max_shapes` as Logger metadata (instead of interpolating them into the message body) for the "Expiring shapes as the number of shapes has exceeded the limit" notice. This keeps the message text static so log aggregators can group these events and so Honeycomb can filter by `shape.expiry.*` attributes. diff --git a/.changeset/otel-context-effects-move-in.md b/.changeset/otel-context-effects-move-in.md deleted file mode 100644 index 7fd206938e..0000000000 --- a/.changeset/otel-context-effects-move-in.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@core/sync-service': patch ---- - -Propagate OpenTelemetry context so that child spans in ShapeStatus and SnapshotQuery are linked to originating traces: - -- `Effects.query_move_in_async`: propagate context into spawned task -- `ShapeCache.handle_call({:create_or_wait_shape_handle, ...})`: set context before calling ShapeStatus functions -- `ShapeCache.handle_call({:start_consumer_for_handle, ...})`: accept and set context from ConsumerRegistry diff --git a/.changeset/quiet-dolphins-return.md b/.changeset/quiet-dolphins-return.md deleted file mode 100644 index 7916c55d42..0000000000 --- a/.changeset/quiet-dolphins-return.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@core/sync-service': patch ---- - -Demote the log entry about expiring shapes to level info so that it's excluded from logs in Honeycomb. diff --git a/.changeset/quiet-pumas-jump.md b/.changeset/quiet-pumas-jump.md deleted file mode 100644 index 4b8e812ecd..0000000000 --- a/.changeset/quiet-pumas-jump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'electric-ax': patch ---- - -fix: don't show a stale error before the first API key prompt when no key is configured diff --git a/.changeset/remove-coder-entity.md b/.changeset/remove-coder-entity.md deleted file mode 100644 index 4d677bcee0..0000000000 --- a/.changeset/remove-coder-entity.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@electric-ax/agents': patch -'@electric-ax/agents-runtime': patch -'@electric-ax/agents-server': patch -'@electric-ax/agents-server-ui': patch ---- - -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. diff --git a/.changeset/rotten-turkeys-rhyme.md b/.changeset/rotten-turkeys-rhyme.md deleted file mode 100644 index f30264ec5b..0000000000 --- a/.changeset/rotten-turkeys-rhyme.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@core/sync-service': patch ---- - -Replace literal shape handles in log output with metadata. Makes it easier to search through and group log entries in observability tools. diff --git a/.changeset/warn-http-urls.md b/.changeset/warn-http-urls.md deleted file mode 100644 index d5a9a7cc66..0000000000 --- a/.changeset/warn-http-urls.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@electric-sql/client": patch ---- - -Add console warning when using HTTP URLs in browser environments. HTTP limits browsers to 6 concurrent connections per host (HTTP/1.1), which can cause slow streams and app freezes. The warning can be disabled with `warnOnHttp: false`. diff --git a/.changeset/wise-dodos-add.md b/.changeset/wise-dodos-add.md deleted file mode 100644 index 54cc89de98..0000000000 --- a/.changeset/wise-dodos-add.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@core/electric-telemetry': patch -'@core/sync-service': patch ---- - -Update Elixir deps to latest available versions diff --git a/examples/deep-survey/CHANGELOG.md b/examples/deep-survey/CHANGELOG.md index 2111d3e99a..eaabf845a8 100644 --- a/examples/deep-survey/CHANGELOG.md +++ b/examples/deep-survey/CHANGELOG.md @@ -1,5 +1,18 @@ # @electric-ax/example-deep-survey +## 0.1.7 + +### Patch Changes + +- 590aabb: Improve the agents UI timeline and reactivity, add a browser-safe runtime client export, and route built-in agent metadata extraction through the configurable low-cost model runner. +- Updated dependencies [f509387] +- Updated dependencies [590aabb] +- Updated dependencies [744c47f] +- Updated dependencies [28d127b] +- Updated dependencies [6399147] +- Updated dependencies [a3cee92] + - @electric-ax/agents-runtime@0.1.3 + ## 0.1.6 ### Patch Changes diff --git a/examples/deep-survey/package.json b/examples/deep-survey/package.json index 24555eafa8..ab770e77b2 100644 --- a/examples/deep-survey/package.json +++ b/examples/deep-survey/package.json @@ -1,7 +1,7 @@ { "name": "@electric-ax/example-deep-survey", "private": true, - "version": "0.1.6", + "version": "0.1.7", "type": "module", "scripts": { "dev": "pnpm run --parallel \"/^dev:/\"", diff --git a/examples/tanstack-db-expo-starter/CHANGELOG.md b/examples/tanstack-db-expo-starter/CHANGELOG.md index de8354bca9..6270857f38 100644 --- a/examples/tanstack-db-expo-starter/CHANGELOG.md +++ b/examples/tanstack-db-expo-starter/CHANGELOG.md @@ -1,5 +1,12 @@ # expo-db-electric-starter +## 1.0.18 + +### Patch Changes + +- Updated dependencies [92a332e] + - @electric-sql/client@1.5.17 + ## 1.0.17 ### Patch Changes diff --git a/examples/tanstack-db-expo-starter/package.json b/examples/tanstack-db-expo-starter/package.json index 4c3cbcfb85..6aee308fa1 100644 --- a/examples/tanstack-db-expo-starter/package.json +++ b/examples/tanstack-db-expo-starter/package.json @@ -1,6 +1,6 @@ { "name": "expo-db-electric-starter", - "version": "1.0.17", + "version": "1.0.18", "main": "index.ts", "scripts": { "start": "docker compose up -d && expo start", @@ -13,7 +13,7 @@ "api": "tsx api/index.ts" }, "dependencies": { - "@electric-sql/client": "1.5.16", + "@electric-sql/client": "1.5.17", "@expo/metro-runtime": "~5.0.4", "@tanstack/electric-db-collection": "^0.0.15", "@tanstack/react-db": "^0.0.27", diff --git a/.changeset/electron-desktop-and-agents-ui-tiles.md b/packages/agents-desktop/CHANGELOG.md similarity index 68% rename from .changeset/electron-desktop-and-agents-ui-tiles.md rename to packages/agents-desktop/CHANGELOG.md index 77e7fb8927..992bd330cd 100644 --- a/.changeset/electron-desktop-and-agents-ui-tiles.md +++ b/packages/agents-desktop/CHANGELOG.md @@ -1,16 +1,12 @@ ---- -'@electric-ax/agents-desktop': patch -'@electric-ax/agents-server': patch -'@electric-ax/agents-server-ui': patch -'@electric-ax/agents-runtime': patch -'@electric-ax/agents': patch -'@electric-sql/experimental': patch -'@electric-sql/react': patch ---- +# @electric-ax/agents-desktop -Electron desktop shell, tile-based workspace, and per-session -working-directory picker. +## 0.0.1 +### Patch Changes + +- 590aabb: Improve the agents UI timeline and reactivity, add a browser-safe runtime client export, and route built-in agent metadata extraction through the configurable low-cost model runner. +- 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, @@ -34,3 +30,12 @@ working-directory picker. surfaced while building the desktop UI). - `@electric-sql/experimental`, `@electric-sql/react`: align test type configuration with DOM AbortSignal types used by the client. + +- Updated dependencies [65f0cf0] +- Updated dependencies [f509387] +- Updated dependencies [f509387] +- Updated dependencies [590aabb] +- Updated dependencies [28d127b] +- Updated dependencies [a3cee92] + - @electric-ax/agents@0.2.5 + - @electric-ax/agents-server-ui@0.2.9 diff --git a/packages/agents-desktop/package.json b/packages/agents-desktop/package.json index 12530de927..1b3eec2a12 100644 --- a/packages/agents-desktop/package.json +++ b/packages/agents-desktop/package.json @@ -2,7 +2,7 @@ "name": "@electric-ax/agents-desktop", "productName": "Electric Agents", "private": true, - "version": "0.0.0", + "version": "0.0.1", "type": "module", "main": "./dist/main.cjs", "scripts": { diff --git a/packages/agents-runtime/CHANGELOG.md b/packages/agents-runtime/CHANGELOG.md index 0c6abdbfff..7caa4f2a25 100644 --- a/packages/agents-runtime/CHANGELOG.md +++ b/packages/agents-runtime/CHANGELOG.md @@ -1,5 +1,41 @@ # @electric-ax/agents-runtime +## 0.1.3 + +### Patch Changes + +- f509387: Stabilise chat section identity across streaming updates: `buildSections` / `buildTimelineEntries` in `use-chat` now key a fingerprint-based section cache by `run.key` / `msg.key`, so settled rows return the same reference even when the upstream pipeline rebuilds row objects. Adds a bounded prune pass + a `__resetSectionCachesForTesting` hook for test isolation. Also small cleanups in `tools/context-tools.ts`. +- 590aabb: Improve the agents UI timeline and reactivity, add a browser-safe runtime client export, and route built-in agent metadata extraction through the configurable low-cost model runner. +- 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. + +- 6399147: Preserve the caller's HOME environment variable when running bash tool commands so CLIs can find user-level config and credentials. +- 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. + ## 0.1.2 ### Patch Changes diff --git a/packages/agents-runtime/package.json b/packages/agents-runtime/package.json index 714b90ca88..3b5adf98a9 100644 --- a/packages/agents-runtime/package.json +++ b/packages/agents-runtime/package.json @@ -1,6 +1,6 @@ { "name": "@electric-ax/agents-runtime", - "version": "0.1.2", + "version": "0.1.3", "description": "Electric agent runtime — behavioral stack for agent entities over durable streams", "keywords": [ "tanstack-intent" diff --git a/packages/agents-server-conformance-tests/CHANGELOG.md b/packages/agents-server-conformance-tests/CHANGELOG.md index 7cb341ba24..afbf4c1c07 100644 --- a/packages/agents-server-conformance-tests/CHANGELOG.md +++ b/packages/agents-server-conformance-tests/CHANGELOG.md @@ -1,5 +1,13 @@ # @electric-ax/agents-server-conformance-tests +## 0.1.2 + +### Patch Changes + +- 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. +- Updated dependencies [92a332e] + - @electric-sql/client@1.5.17 + ## 0.1.1 ### Patch Changes diff --git a/packages/agents-server-conformance-tests/package.json b/packages/agents-server-conformance-tests/package.json index bb16e316cc..7f1f170b7a 100644 --- a/packages/agents-server-conformance-tests/package.json +++ b/packages/agents-server-conformance-tests/package.json @@ -1,6 +1,6 @@ { "name": "@electric-ax/agents-server-conformance-tests", - "version": "0.1.1", + "version": "0.1.2", "private": true, "description": "Conformance test suite for Electric Agents server implementations", "author": "Durable Stream contributors", @@ -37,7 +37,7 @@ }, "dependencies": { "@durable-streams/client": "npm:@electric-ax/durable-streams-client-beta@^0.3.1", - "@electric-sql/client": "^1.5.16", + "@electric-sql/client": "^1.5.17", "fast-check": "^4.6.0", "vitest": "^4.1.0" }, diff --git a/packages/agents-server-ui/CHANGELOG.md b/packages/agents-server-ui/CHANGELOG.md index bc1f3365ae..3eb01e6fab 100644 --- a/packages/agents-server-ui/CHANGELOG.md +++ b/packages/agents-server-ui/CHANGELOG.md @@ -1,5 +1,46 @@ # @electric-ax/agents-server-ui +## 0.2.9 + +### Patch Changes + +- f509387: Redesign. +- 590aabb: Improve the agents UI timeline and reactivity, add a browser-safe runtime client export, and route built-in agent metadata extraction through the configurable low-cost model runner. +- 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 [f509387] +- Updated dependencies [590aabb] +- Updated dependencies [744c47f] +- Updated dependencies [28d127b] +- Updated dependencies [6399147] +- Updated dependencies [a3cee92] + - @electric-ax/agents-runtime@0.1.3 + ## 0.2.8 ### Patch Changes diff --git a/packages/agents-server-ui/package.json b/packages/agents-server-ui/package.json index 78fe4d7a2e..db084bb0cc 100644 --- a/packages/agents-server-ui/package.json +++ b/packages/agents-server-ui/package.json @@ -1,7 +1,7 @@ { "name": "@electric-ax/agents-server-ui", "private": true, - "version": "0.2.8", + "version": "0.2.9", "type": "module", "scripts": { "build": "vite build", diff --git a/packages/agents-server/CHANGELOG.md b/packages/agents-server/CHANGELOG.md index bf3b2bc63c..388c62a694 100644 --- a/packages/agents-server/CHANGELOG.md +++ b/packages/agents-server/CHANGELOG.md @@ -1,5 +1,47 @@ # @electric-ax/agents-server +## 0.2.9 + +### Patch Changes + +- 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 [f509387] +- Updated dependencies [590aabb] +- Updated dependencies [744c47f] +- Updated dependencies [28d127b] +- Updated dependencies [6399147] +- Updated dependencies [a3cee92] +- Updated dependencies [92a332e] + - @electric-ax/agents-runtime@0.1.3 + - @electric-sql/client@1.5.17 + ## 0.2.8 ## 0.2.7 diff --git a/packages/agents-server/package.json b/packages/agents-server/package.json index cd092eb0de..dc5037c7a2 100644 --- a/packages/agents-server/package.json +++ b/packages/agents-server/package.json @@ -1,7 +1,7 @@ { "name": "@electric-ax/agents-server", "private": true, - "version": "0.2.8", + "version": "0.2.9", "description": "Electric Agents entity runtime server", "author": "Durable Stream contributors", "bin": { @@ -47,7 +47,7 @@ "@durable-streams/server": "npm:@electric-ax/durable-streams-server-beta@^0.3.2", "@durable-streams/state": "npm:@electric-ax/durable-streams-state-beta@^0.3.1", "@electric-ax/agents-runtime": "workspace:*", - "@electric-sql/client": "^1.5.16", + "@electric-sql/client": "^1.5.17", "@mariozechner/pi-agent-core": "^0.70.2", "@opentelemetry/api": "^1.9.1", "@sinclair/typebox": "^0.34.48", diff --git a/packages/agents/CHANGELOG.md b/packages/agents/CHANGELOG.md index 50d6f6974a..dd4095b271 100644 --- a/packages/agents/CHANGELOG.md +++ b/packages/agents/CHANGELOG.md @@ -1,5 +1,47 @@ # @electric-ax/agents +## 0.2.5 + +### Patch Changes + +- 65f0cf0: Add `openai-codex` as a built-in model provider. When the user has logged into OpenAI Codex CLI (`~/.codex/auth.json` exists), GPT-5.x models automatically appear in the dashboard model dropdown with reasoning effort support. +- f509387: Allow Horton and Worker to use configured Anthropic or OpenAI models. Adds a `model-catalog` that selects providers from `ANTHROPIC_API_KEY` / `OPENAI_API_KEY`, surfaces UI-selectable reasoning effort for compatible OpenAI reasoning models, and threads the catalog through `bootstrap`, `registerHorton`, `registerWorker`, and `spawnWorker`. +- 590aabb: Improve the agents UI timeline and reactivity, add a browser-safe runtime client export, and route built-in agent metadata extraction through the configurable low-cost model runner. +- 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 [f509387] +- Updated dependencies [590aabb] +- Updated dependencies [744c47f] +- Updated dependencies [28d127b] +- Updated dependencies [6399147] +- Updated dependencies [a3cee92] + - @electric-ax/agents-runtime@0.1.3 + ## 0.2.4 ### Patch Changes diff --git a/packages/agents/package.json b/packages/agents/package.json index b817a5d356..bcc3137178 100644 --- a/packages/agents/package.json +++ b/packages/agents/package.json @@ -1,6 +1,6 @@ { "name": "@electric-ax/agents", - "version": "0.2.4", + "version": "0.2.5", "description": "Built-in Electric Agents runtimes such as Horton and worker", "repository": { "type": "git", diff --git a/packages/electric-ax/CHANGELOG.md b/packages/electric-ax/CHANGELOG.md index d0e0fa5a38..1117b88a2a 100644 --- a/packages/electric-ax/CHANGELOG.md +++ b/packages/electric-ax/CHANGELOG.md @@ -1,5 +1,24 @@ # electric-ax +## 0.1.18 + +### Patch Changes + +- 590aabb: Improve the agents UI timeline and reactivity, add a browser-safe runtime client export, and route built-in agent metadata extraction through the configurable low-cost model runner. +- b16ef14: fix: don't show a stale error before the first API key prompt when no key is configured +- Updated dependencies [65f0cf0] +- Updated dependencies [f509387] +- Updated dependencies [f509387] +- Updated dependencies [590aabb] +- Updated dependencies [744c47f] +- Updated dependencies [28d127b] +- Updated dependencies [6399147] +- Updated dependencies [a3cee92] +- Updated dependencies [92a332e] + - @electric-ax/agents@0.2.5 + - @electric-ax/agents-runtime@0.1.3 + - @electric-sql/client@1.5.17 + ## 0.1.17 ### Patch Changes diff --git a/packages/electric-ax/package.json b/packages/electric-ax/package.json index 59a827535a..0e3b795aba 100644 --- a/packages/electric-ax/package.json +++ b/packages/electric-ax/package.json @@ -1,6 +1,6 @@ { "name": "electric-ax", - "version": "0.1.17", + "version": "0.1.18", "description": "CLI for Electric Agents", "author": "ElectricSQL team and contributors", "license": "Apache-2.0", @@ -49,7 +49,7 @@ "@durable-streams/state": "npm:@electric-ax/durable-streams-state-beta@^0.3.0", "@electric-ax/agents": "workspace:*", "@electric-ax/agents-runtime": "workspace:*", - "@electric-sql/client": "^1.5.16", + "@electric-sql/client": "^1.5.17", "@tanstack/db": "^0.6.4", "@tanstack/react-db": "^0.1.82", "commander": "^13.1.0", diff --git a/packages/electric-telemetry/CHANGELOG.md b/packages/electric-telemetry/CHANGELOG.md index e43d09b343..910375b226 100644 --- a/packages/electric-telemetry/CHANGELOG.md +++ b/packages/electric-telemetry/CHANGELOG.md @@ -1,5 +1,11 @@ # @core/electric-telemetry +## 0.2.5 + +### Patch Changes + +- 4c52d76: Update Elixir deps to latest available versions + ## 0.2.4 ### Patch Changes diff --git a/packages/electric-telemetry/package.json b/packages/electric-telemetry/package.json index 979330ba8b..24a60260ab 100644 --- a/packages/electric-telemetry/package.json +++ b/packages/electric-telemetry/package.json @@ -1,5 +1,5 @@ { "name": "@core/electric-telemetry", "private": true, - "version": "0.2.4" + "version": "0.2.5" } diff --git a/packages/elixir-client/CHANGELOG.md b/packages/elixir-client/CHANGELOG.md index e8948d9649..5a74cab5fa 100644 --- a/packages/elixir-client/CHANGELOG.md +++ b/packages/elixir-client/CHANGELOG.md @@ -1,5 +1,11 @@ # @core/elixir-client +## 0.10.2 + +### Patch Changes + +- 4d5c855: Add support for electric v1.6 + ## 0.10.1 ### Patch Changes diff --git a/packages/elixir-client/package.json b/packages/elixir-client/package.json index 9fa638af02..a66779d8c0 100644 --- a/packages/elixir-client/package.json +++ b/packages/elixir-client/package.json @@ -1,7 +1,7 @@ { "name": "@core/elixir-client", "private": true, - "version": "0.10.1", + "version": "0.10.2", "scripts": { "publish:hex": "../../scripts/publish_hex.sh electric_client" } diff --git a/packages/experimental/CHANGELOG.md b/packages/experimental/CHANGELOG.md index dc76ebeac6..6d38cac04e 100644 --- a/packages/experimental/CHANGELOG.md +++ b/packages/experimental/CHANGELOG.md @@ -1,5 +1,38 @@ # @electric-sql/experimental +## 6.0.17 + +### Patch Changes + +- 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. + +- Updated dependencies [92a332e] + - @electric-sql/client@1.5.17 + ## 6.0.16 ### Patch Changes diff --git a/packages/experimental/package.json b/packages/experimental/package.json index 8958e76cb8..9353969ebd 100644 --- a/packages/experimental/package.json +++ b/packages/experimental/package.json @@ -1,7 +1,7 @@ { "name": "@electric-sql/experimental", "description": "Experimental TypeScript features for ElectricSQL.", - "version": "6.0.16", + "version": "6.0.17", "author": "ElectricSQL team and contributors.", "bugs": { "url": "https://github.com/electric-sql/electric/issues" diff --git a/packages/react-hooks/CHANGELOG.md b/packages/react-hooks/CHANGELOG.md index b3607fb2c4..5088a7ba55 100644 --- a/packages/react-hooks/CHANGELOG.md +++ b/packages/react-hooks/CHANGELOG.md @@ -1,5 +1,38 @@ # @electric-sql/react +## 1.0.46 + +### Patch Changes + +- 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. + +- Updated dependencies [92a332e] + - @electric-sql/client@1.5.17 + ## 1.0.45 ### Patch Changes diff --git a/packages/react-hooks/package.json b/packages/react-hooks/package.json index 8049a5977e..812f286993 100644 --- a/packages/react-hooks/package.json +++ b/packages/react-hooks/package.json @@ -1,7 +1,7 @@ { "name": "@electric-sql/react", "description": "React hooks for ElectricSQL", - "version": "1.0.45", + "version": "1.0.46", "author": "ElectricSQL team and contributors.", "bugs": { "url": "https://github.com/electric-sql/electric/issues" diff --git a/packages/sync-service/CHANGELOG.md b/packages/sync-service/CHANGELOG.md index cfec97f0ea..e19cf2e25c 100644 --- a/packages/sync-service/CHANGELOG.md +++ b/packages/sync-service/CHANGELOG.md @@ -1,5 +1,19 @@ # @core/sync-service +## 1.6.3 + +### Patch Changes + +- 5fcf002: Emit `number_to_expire` and `max_shapes` as Logger metadata (instead of interpolating them into the message body) for the "Expiring shapes as the number of shapes has exceeded the limit" notice. This keeps the message text static so log aggregators can group these events and so Honeycomb can filter by `shape.expiry.*` attributes. +- 686ebdb: Propagate OpenTelemetry context so that child spans in ShapeStatus and SnapshotQuery are linked to originating traces: + - `Effects.query_move_in_async`: propagate context into spawned task + - `ShapeCache.handle_call({:create_or_wait_shape_handle, ...})`: set context before calling ShapeStatus functions + - `ShapeCache.handle_call({:start_consumer_for_handle, ...})`: accept and set context from ConsumerRegistry + +- 093449a: Demote the log entry about expiring shapes to level info so that it's excluded from logs in Honeycomb. +- 5a8d70d: Replace literal shape handles in log output with metadata. Makes it easier to search through and group log entries in observability tools. +- 4c52d76: Update Elixir deps to latest available versions + ## 1.6.2 ### Patch Changes diff --git a/packages/sync-service/package.json b/packages/sync-service/package.json index 3d28abdb18..c9e4ce989d 100644 --- a/packages/sync-service/package.json +++ b/packages/sync-service/package.json @@ -1,7 +1,7 @@ { "name": "@core/sync-service", "private": true, - "version": "1.6.2", + "version": "1.6.3", "scripts": { "publish:hex": "../../scripts/publish_hex.sh electric", "changeset": "pushd ../..; pnpm changeset; popd" diff --git a/packages/typescript-client/CHANGELOG.md b/packages/typescript-client/CHANGELOG.md index c5ee48e47a..1463a6d0f0 100644 --- a/packages/typescript-client/CHANGELOG.md +++ b/packages/typescript-client/CHANGELOG.md @@ -1,5 +1,11 @@ # @electric-sql/client +## 1.5.17 + +### Patch Changes + +- 92a332e: Add console warning when using HTTP URLs in browser environments. HTTP limits browsers to 6 concurrent connections per host (HTTP/1.1), which can cause slow streams and app freezes. The warning can be disabled with `warnOnHttp: false`. + ## 1.5.16 ### Patch Changes diff --git a/packages/typescript-client/package.json b/packages/typescript-client/package.json index ccad926af8..d5dd1706f7 100644 --- a/packages/typescript-client/package.json +++ b/packages/typescript-client/package.json @@ -1,7 +1,7 @@ { "name": "@electric-sql/client", "description": "Postgres everywhere - your data, in sync, wherever you need it.", - "version": "1.5.16", + "version": "1.5.17", "keywords": [ "tanstack-intent" ], diff --git a/packages/y-electric/CHANGELOG.md b/packages/y-electric/CHANGELOG.md index 4845f17357..505ecdc89c 100644 --- a/packages/y-electric/CHANGELOG.md +++ b/packages/y-electric/CHANGELOG.md @@ -1,5 +1,12 @@ # @electric-sql/y-electric +## 0.1.43 + +### Patch Changes + +- Updated dependencies [92a332e] + - @electric-sql/client@1.5.17 + ## 0.1.42 ### Patch Changes diff --git a/packages/y-electric/package.json b/packages/y-electric/package.json index 4ce0d9423f..04861d1965 100644 --- a/packages/y-electric/package.json +++ b/packages/y-electric/package.json @@ -1,6 +1,6 @@ { "name": "@electric-sql/y-electric", - "version": "0.1.42", + "version": "0.1.43", "description": "YJS network provider for ElectricSQL", "author": "ElectricSQL team and contributors.", "bugs": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cf44601bb7..1fe3a28e17 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -991,7 +991,7 @@ importers: examples/tanstack-db-expo-starter: dependencies: '@electric-sql/client': - specifier: 1.5.16 + specifier: 1.5.17 version: link:../../packages/typescript-client '@expo/metro-runtime': specifier: ~5.0.4 @@ -1722,7 +1722,7 @@ importers: specifier: workspace:* version: link:../agents-runtime '@electric-sql/client': - specifier: ^1.5.16 + specifier: ^1.5.17 version: link:../typescript-client '@mariozechner/pi-agent-core': specifier: ^0.70.2 @@ -1801,7 +1801,7 @@ importers: specifier: npm:@electric-ax/durable-streams-client-beta@^0.3.1 version: '@electric-ax/durable-streams-client-beta@0.3.1' '@electric-sql/client': - specifier: ^1.5.16 + specifier: ^1.5.17 version: link:../typescript-client fast-check: specifier: ^4.6.0 @@ -1926,7 +1926,7 @@ importers: specifier: workspace:* version: link:../agents-runtime '@electric-sql/client': - specifier: ^1.5.16 + specifier: ^1.5.17 version: link:../typescript-client '@tanstack/db': specifier: ^0.6.4 @@ -5910,19 +5910,23 @@ packages: '@mariozechner/pi-agent-core@0.57.1': resolution: {integrity: sha512-WXsBbkNWOObFGHkhixaT8GXJpHDd3+fn8QntYF+4R8Sa9WB90ENXWidO6b7vcKX+JX0jjO5dIsQxmzosARJKlg==} engines: {node: '>=20.0.0'} + deprecated: please use @earendil-works/pi-agent-core instead going forward '@mariozechner/pi-agent-core@0.70.2': resolution: {integrity: sha512-g1hIdKyDwmQOoBGO0R4OhpemKeMENeK0vE5FJtuQKqEcsdCAkVBgZAK6aZUARYZVxMA718JS6WPLFWoddzjD7g==} engines: {node: '>=20.0.0'} + deprecated: please use @earendil-works/pi-agent-core instead going forward '@mariozechner/pi-ai@0.57.1': resolution: {integrity: sha512-Bd/J4a3YpdzJVyHLih0vDSdB0QPL4ti0XsAwtHOK/8eVhB0fHM1CpcgIrcBFJ23TMcKXMi0qamz18ERfp8tmgg==} engines: {node: '>=20.0.0'} + deprecated: please use @earendil-works/pi-ai instead going forward hasBin: true '@mariozechner/pi-ai@0.70.2': resolution: {integrity: sha512-+30LRPjXsXF+oI96DvGWMbdPGeqoLJvadh6UPev7wx2DzhC9FEqXkQcoMZ0usbCm7E9pl8ua8a9s/pQ5ikaUbg==} engines: {node: '>=20.0.0'} + deprecated: please use @earendil-works/pi-ai instead going forward hasBin: true '@mermaid-js/parser@1.1.0': @@ -10030,6 +10034,7 @@ packages: '@ungap/structured-clone@1.2.0': resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} + deprecated: Potential CWE-502 - Update to 1.3.1 or higher '@upsetjs/venn.js@2.0.0': resolution: {integrity: sha512-WbBhLrooyePuQ1VZxrJjtLvTc4NVfpOyKx0sKqioq9bX1C1m7Jgykkn8gLrtwumBioXIqam8DLxp88Adbue6Hw==}