Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 0 additions & 81 deletions .changeset/agent-goal-tracking.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/agents-mobile-session-sharing.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/generic-externally-writable-collections.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/openfactory-sandbox-options.md

This file was deleted.

49 changes: 0 additions & 49 deletions .changeset/reasoning-content.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/token-usage-threshold.md

This file was deleted.

19 changes: 0 additions & 19 deletions .changeset/uncached-input-tokens.md

This file was deleted.

10 changes: 10 additions & 0 deletions examples/agents-chat-starter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @electric-ax/example-agents-chat-starter

## 0.1.9

### Patch Changes

- Updated dependencies [708c946]
- Updated dependencies [8bc630a]
- Updated dependencies [c48c1a8]
- Updated dependencies [c1f3aac]
- @electric-ax/agents-runtime@0.4.0

## 0.1.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/agents-chat-starter/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@electric-ax/example-agents-chat-starter",
"private": true,
"version": "0.1.8",
"version": "0.1.9",
"type": "module",
"scripts": {
"dev": "pnpm run dev:server & pnpm run dev:ui",
Expand Down
10 changes: 10 additions & 0 deletions examples/agents-walkthrough/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @electric-ax/example-agents-walkthrough

## 0.1.6

### Patch Changes

- Updated dependencies [708c946]
- Updated dependencies [8bc630a]
- Updated dependencies [c48c1a8]
- Updated dependencies [c1f3aac]
- @electric-ax/agents-runtime@0.4.0

## 0.1.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/agents-walkthrough/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@electric-ax/example-agents-walkthrough",
"private": true,
"version": "0.1.5",
"version": "0.1.6",
"type": "module",
"scripts": {
"dev": "tsx watch --env-file=.env src/index.ts",
Expand Down
10 changes: 10 additions & 0 deletions examples/deep-survey/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @electric-ax/example-deep-survey

## 0.1.25

### Patch Changes

- Updated dependencies [708c946]
- Updated dependencies [8bc630a]
- Updated dependencies [c48c1a8]
- Updated dependencies [c1f3aac]
- @electric-ax/agents-runtime@0.4.0

## 0.1.24

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/deep-survey/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@electric-ax/example-deep-survey",
"private": true,
"version": "0.1.24",
"version": "0.1.25",
"type": "module",
"scripts": {
"dev": "pnpm run --parallel \"/^dev:/\"",
Expand Down
46 changes: 46 additions & 0 deletions packages/agents-desktop/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,51 @@
# @electric-ax/agents-desktop

## 0.1.18

### Patch Changes

- c48c1a8: Stream model reasoning / extended-thinking content into the UI. While
the model is "thinking" (Anthropic extended thinking, DeepSeek-R1
reasoning, Moonshot K2, OpenAI Responses summaries) the agent response
now shows the live reasoning text faded above the answer, with the
existing `Thinking` shimmer heading and an elapsed-time ticker. Once
the reasoning settles it collapses to `▸ Thought for 12s` — click to
expand. Multiple reasoning rows per run are rendered independently in
order, so tool-using turns show each step's reasoning separately.

Implementation:
- **Schema** — `reasoning` row gains `run_id`, `encrypted` (Anthropic
redacted-thinking opaque payload, must round-trip back to the model
verbatim), and `summary_title` (extracted at write time for
providers that emit a bolded heading). New `reasoningDeltas`
collection mirrors `textDeltas` for streamed content.
- **Bridge** — `OutboundBridge` gains `onReasoningStart` /
`onReasoningDelta` / `onReasoningEnd`, parallel to the text path.
- **Adapter** — `pi-adapter.ts` routes pi-ai's `thinking_start` /
`thinking_delta` / `thinking_end` events to the bridge, parses the
`**Title**\n\n<body>` heading (OpenAI Responses only) once at
`thinking_end` so the UI doesn't re-parse on every render.
- **Timeline** — `EntityTimelineRunRow` gains a live
`reasoning: Collection<EntityTimelineReasoningItem>` with content
built from a delta-join, mirroring `EntityTimelineTextItem`.
- **UI** — New `<ReasoningSection>` component renders above the
answer in `AgentResponseLive`. Live shows faded markdown via
`Streamdown` with `ThinkingIndicator` heading + summary title +
elapsed-time ticker. Settled collapses to `Thought for Ns` with
click-to-expand. Redacted Anthropic blocks render a single muted
line — content is opaque, but the encrypted payload is still
persisted server-side so the model gets it back next turn.

Providers without reasoning emit nothing → no reasoning section
rendered. Historical responses recorded before this PR have no
closure cue, same as today.

Anthropic extended thinking is now always-on for reasoning-capable
models: `reasoningEffort: auto` maps to the minimal budget
(1024 tokens), matching the OpenAI branch where `auto` already
defaulted to `minimal`. Explicit `low`/`medium`/`high` scale the
budget as before.

## 0.1.17

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/agents-desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@electric-ax/agents-desktop",
"productName": "Electric Agents",
"private": true,
"version": "0.1.17",
"version": "0.1.18",
"description": "Desktop app for Electric Agents",
"author": "ElectricSQL <info@electric-sql.com>",
"homepage": "https://electric-sql.com",
Expand Down
20 changes: 20 additions & 0 deletions packages/agents-mobile/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# @electric-ax/agents-mobile

## 0.0.16

### Patch Changes

- 0b26edf: Bring session sharing to mobile (desktop `ShareEntityDialog` parity, mobile-first UX):
- **Share session screen.** A modal route opened from the session menu's new **Share** entry. It exposes a link pill (abbreviated session web URL — one tap opens the native OS share sheet, which includes Copy), a "People with access" list with a pinned Owner row, a Google-Drive-style "General access" section for the workspace-wide _All users_ grant, and a search-first "Add people" section. Roles (View / Chat / Manage, same permission sets and glyphs as desktop) commit per row through a bottom-sheet picker with a destructive _Remove access_ action — no deferred Grant/Update button. The grant list comes from the manage-protected REST `GET /grants` endpoint (the synced effective-permissions shape is scoped to the current principal, so it can't list other people's access); non-managers still get the link actions and see a manage-required message below.
- **Copy session id.** The session menu's status header and the long-press row sheet now render the id with a tap-to-copy affordance (copy→check icon swap, mirroring the desktop entity header), via a new `expo-clipboard` dependency.
- **Session web links.** `sessionWebUrl()` builds `{serverUrl}/__agent_ui/#/entity/{id}` directly — targeting the web UI path rather than the server root, whose absolute-path redirect would drop a Cloud `/t/<service-id>/v1` tenant prefix.

The desktop dialog's `userDisplay()`/`initials()` helpers move into `agents-server-ui`'s `lib/userDisplay.ts` so mobile deep-imports them instead of duplicating. Grant-diffing, removal, and access-model grouping logic is ported into a pure, unit-tested `entityGrants` module. No server API changes.

- Updated dependencies [708c946]
- Updated dependencies [0b26edf]
- Updated dependencies [8bc630a]
- Updated dependencies [c48c1a8]
- Updated dependencies [8b1d39f]
- Updated dependencies [c1f3aac]
- @electric-ax/agents-server-ui@0.5.0
- @electric-ax/agents-runtime@0.4.0

## 0.0.15

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/agents-mobile/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@electric-ax/agents-mobile",
"private": true,
"version": "0.0.15",
"version": "0.0.16",
"main": "index.ts",
"scripts": {
"start": "expo start",
Expand Down
Loading
Loading