Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
f13d3b3
Fix agents quickstart runner registration
KyleAMathews Jun 17, 2026
e43c98b
feat(agents): context-window usage gauge (compaction phase 0)
kevin-dp Jun 15, 2026
b35d138
test(agents): cover cache-inclusive context_input_tokens + context_wi…
kevin-dp Jun 15, 2026
72d6a19
feat(agents): context budget notice to the model (compaction phase 1)
kevin-dp Jun 15, 2026
e9d46e6
test(agents): end-to-end budget notice injection through runAgent
kevin-dp Jun 15, 2026
354659a
feat(agents): truncate oversized tool results before model calls (pha…
kevin-dp Jun 15, 2026
64211b6
feat(agents): checkpoint-aware timeline reconstruction (phase 2)
kevin-dp Jun 15, 2026
d562687
feat(agents): conversation summarization for compaction (phase 2)
kevin-dp Jun 15, 2026
8033686
feat(agents): synchronous compaction at the 95% hard ceiling (phase 2)
kevin-dp Jun 15, 2026
5ff491c
feat(agents): lower blocking compaction ceiling to 90% (match Codex)
kevin-dp Jun 15, 2026
fc11965
test(agents): gated live compaction test against a real model
kevin-dp Jun 16, 2026
ec3d952
test(agents): remove one-off gated live compaction test
kevin-dp Jun 16, 2026
d8024c4
feat(agents): compaction checkpoint status lifecycle (running/complet…
kevin-dp Jun 16, 2026
ee19e0c
feat(agents-server-ui): live "Compacting context…" indicator
kevin-dp Jun 16, 2026
b5a894f
feat(agents): env-configurable compaction thresholds (testing tunables)
kevin-dp Jun 16, 2026
a6b8f2d
feat(agents-server-ui): "Context compacted" entry in the timeline
kevin-dp Jun 16, 2026
28ddc67
feat(agents): mid-turn compaction via pi-agent transformContext
kevin-dp Jun 16, 2026
9a68f50
fix(agents): don't orphan a tool_result when compacting mid-turn
kevin-dp Jun 16, 2026
991bef6
feat(agents): background (turn-end) context compaction [phase 3]
kevin-dp Jun 16, 2026
5a1ea25
chore: changeset for context compaction
kevin-dp Jun 16, 2026
26a1901
chore: downgrade context compaction changeset to patch
kevin-dp Jun 16, 2026
86d5e66
refactor(agents): drop the mid-turn compaction min-tokens floor
kevin-dp Jun 17, 2026
d81d8c3
fix(agents): mid-turn compaction must not drop the kept tail [review …
kevin-dp Jun 17, 2026
647baf0
fix(agents-server-ui): clear an orphaned "Compacting…" spinner [revie…
kevin-dp Jun 17, 2026
226c209
docs(agents): clarify the mid-turn token anchor approximation [review…
kevin-dp Jun 17, 2026
6ca66e8
fix(agents): snapshot the mid-turn watermark before summarizing [revi…
kevin-dp Jun 17, 2026
2c179f3
test(agents-server-ui): cover the orphaned-spinner staleness logic [r…
kevin-dp Jun 17, 2026
722ec63
docs(agents): drop RFC/phase references and trim compaction comments
kevin-dp Jun 17, 2026
3d6fd61
refactor(agents): clearer idle background-apply loop + trim comment
kevin-dp Jun 17, 2026
295d9ab
docs(agents): trim more excessive compaction comments
kevin-dp Jun 17, 2026
28ce457
test(agents): add missing doUnobserve to a context config fixture
kevin-dp Jun 18, 2026
99936cf
feat(agents-server-ui): circular ring gauge for the context usage ind…
kevin-dp Jun 16, 2026
b716cc1
feat(agents): context-usage breakdown popover (system / tools / messa…
kevin-dp Jun 16, 2026
2dbc891
chore: changeset for context-usage breakdown
kevin-dp Jun 16, 2026
06604b2
chore: downgrade context-usage breakdown changeset to patch
kevin-dp Jun 16, 2026
7afdf20
fix(agents): estimate the tools breakdown from serialized schemas [re…
kevin-dp Jun 17, 2026
0fca4c4
refactor(agents-server-ui): use usage.ratio in the breakdown header […
kevin-dp Jun 17, 2026
1d83207
fix(agents-server-ui): show "<1%" for tiny non-zero breakdown segment…
kevin-dp Jun 17, 2026
c94d005
test(agents): cover the over-window clamp in computeContextBreakdown …
kevin-dp Jun 17, 2026
5342466
fix(agents-server-ui): keep token/model detail in the gauge's aria-la…
kevin-dp Jun 17, 2026
ae99cbe
fix(agents-server-ui): omit empty buckets from the breakdown legend […
kevin-dp Jun 17, 2026
900f465
docs(agents): trim the breakdown comments (schema + adapter)
kevin-dp Jun 17, 2026
ed13b56
docs(agents-server-ui): tighten breakdown doc comments
kevin-dp Jun 17, 2026
ac19f7d
docs(agents): drop the confusing serialize-first tools comment
kevin-dp Jun 17, 2026
eb6189c
Fix electric-ax observe stopped rerenders
samwillis Jun 18, 2026
0376e4e
Tighten observe stopped test types
samwillis Jun 18, 2026
a55f149
Fix observe test import type syntax
samwillis Jun 18, 2026
dcb4fac
Merge remote-tracking branch 'origin/fix-agents-quickstart-runner-pri…
KyleAMathews Jun 18, 2026
df9eba6
Fix reasoning section elapsed timers
KyleAMathews Jun 18, 2026
9eb8e69
Add changeset for reasoning timer fix
KyleAMathews Jun 18, 2026
300d36e
Merge remote-tracking branch 'origin/main' into test-agents-prs
KyleAMathews Jun 18, 2026
3a3492f
Fix deferred pull wake delivery
KyleAMathews Jun 18, 2026
370a761
Add changeset for pull wake delivery fix
KyleAMathews Jun 18, 2026
9c1f104
Merge remote-tracking branch 'origin/fix-child-wake-delivery' into te…
KyleAMathews Jun 18, 2026
2cc6c26
Reload wake registrations on runFinished cache miss
KyleAMathews Jun 18, 2026
c2b83c2
Merge remote-tracking branch 'origin/feat/context-compaction' into te…
KyleAMathews Jun 18, 2026
42bb5d6
Merge remote-tracking branch 'origin/feat/context-usage-indicator-ui'…
KyleAMathews Jun 18, 2026
6ac447b
Design TanStack DB wake registry refactor
KyleAMathews Jun 19, 2026
65b084a
Add local TanStack wake registry foundation
KyleAMathews Jun 19, 2026
a0ab414
Move wake registry mutations to optimistic actions
KyleAMathews Jun 19, 2026
499e9b0
Drive wake timeouts from collection effects
KyleAMathews Jun 19, 2026
0199d27
Use Electric collection for wake registry sync
KyleAMathews Jun 19, 2026
c74e29e
Require Electric URL for wake registry startup
KyleAMathews Jun 19, 2026
7a5037a
Verify TanStack DB wake registry behavior
KyleAMathews Jun 19, 2026
72b306a
Fix wake registry conflict cleanup
KyleAMathews Jun 19, 2026
96c74aa
Stabilize wake registry verification
KyleAMathews Jun 19, 2026
1d1a85f
Remove skill content max truncation
KyleAMathews Jun 19, 2026
6ce6c44
Add changeset for skill content truncation
KyleAMathews Jun 19, 2026
e73142d
Avoid resetting backend in wake sync test
KyleAMathews Jun 19, 2026
8e4506a
Merge remote-tracking branch 'origin/horton/fix-use-skill-truncation'…
KyleAMathews Jun 19, 2026
48109a9
Stabilize wake registration visibility
KyleAMathews Jun 19, 2026
89292f7
Fail started runs on handler errors
KyleAMathews Jun 19, 2026
e6b9c58
Add changeset for started run failures
KyleAMathews Jun 19, 2026
2341af0
Merge remote-tracking branch 'origin/fix-started-runs-handler-errors'…
KyleAMathews Jun 19, 2026
e70a1e1
Tolerate wake registration tx visibility lag
KyleAMathews Jun 19, 2026
9bb4d38
Handle concurrent cron stream creation
KyleAMathews Jun 19, 2026
613758e
Isolate scheduler integration backend
KyleAMathews Jun 19, 2026
6c4dfa6
Isolate scheduler integration test backend
KyleAMathews Jun 19, 2026
6125195
Stabilize wake registry sync test
KyleAMathews Jun 19, 2026
d1aafab
Isolate wake registry sync test backend
KyleAMathews Jun 19, 2026
e11b2f6
Clarify queued wake changeset
KyleAMathews Jun 19, 2026
d9da41a
Coalesce queued wake triggers
KyleAMathews Jun 19, 2026
86df903
Fix wake queue and registry visibility gaps
KyleAMathews Jun 20, 2026
c73fb91
Update wake registry conflict visibility test
KyleAMathews Jun 20, 2026
718826b
Reconcile wake registration conflicts
KyleAMathews Jun 20, 2026
f26a5ec
Tighten wake registry conflict handling
KyleAMathews Jun 21, 2026
3f22179
Merge remote-tracking branch 'origin/fix-child-wake-delivery' into te…
KyleAMathews Jun 22, 2026
a4da19e
Reconnect pull-wake stream after sleep
KyleAMathews Jun 18, 2026
425ab3a
Merge remote-tracking branch 'origin/fix-wake-resume-after-sleep' int…
KyleAMathews Jun 22, 2026
8a174ff
Merge remote-tracking branch 'origin/horton/fix-thought-duration' int…
KyleAMathews Jun 22, 2026
d09b942
Merge remote-tracking branch 'origin/main' into test-agents-prs
KyleAMathews Jun 22, 2026
503ccbf
Reclaim pending wake after done callback
KyleAMathews Jun 23, 2026
47d6d8c
Merge remote-tracking branch 'origin/fix-child-wake-delivery' into te…
KyleAMathews Jun 23, 2026
c1f1aed
Do not ack pending inbox during SIGINT cleanup
KyleAMathews Jun 24, 2026
88bbc2b
Merge remote-tracking branch 'origin/fix-child-wake-delivery' into te…
KyleAMathews Jun 24, 2026
91693ba
Merge remote-tracking branch 'origin/main' into test-agents-prs
KyleAMathews Jun 24, 2026
bdb9a9f
Merge remote-tracking branch 'origin/main' into test-agents-prs
KyleAMathews Jun 25, 2026
3532362
fix(agents-runtime): avoid stack overflow on large live batches
KyleAMathews Jul 9, 2026
972d826
Merge remote-tracking branch 'origin/fix-streamdb-stack-overflow-pr' …
KyleAMathews Jul 9, 2026
3b30ad1
Merge origin/fix-streamdb-stack-overflow-pr - resolve conflicts
KyleAMathews Jul 9, 2026
e2b4205
Upgrade pi agent packages and Codex defaults
KyleAMathews Jul 13, 2026
85d4deb
Add changeset for pi agent upgrade
KyleAMathews Jul 13, 2026
fa36b93
Fix reconstructed pi assistant history
KyleAMathews Jul 13, 2026
7e3ce0f
Merge branch 'pr-4702-updated' into test-agents-prs
KyleAMathews Jul 13, 2026
52168b1
docs: design desktop sleep resume wake recovery
KyleAMathews Jul 14, 2026
603aef0
docs: plan desktop sleep resume wake recovery
KyleAMathews Jul 14, 2026
dc9455d
fix: improve agent wake reliability
KyleAMathews Jul 14, 2026
356d110
fix(agents-runtime): reconnect stalled pull-wake streams
KyleAMathews Jul 14, 2026
e62ce04
test(agents-runtime): cover active wake reconnect
KyleAMathews Jul 14, 2026
3a65584
feat(agents): expose pull-wake reconnect
KyleAMathews Jul 14, 2026
9968811
fix(agents-desktop): select runtimes for resume recovery
KyleAMathews Jul 14, 2026
2da6492
test(agents-desktop): fix lifecycle type import
KyleAMathews Jul 14, 2026
b310ed9
test(agents-desktop): preserve valid type import literal
KyleAMathews Jul 14, 2026
4560f59
feat(agents-desktop): monitor system resume
KyleAMathews Jul 14, 2026
9bee418
fix(agents-desktop): reconnect pull wakes on resume
KyleAMathews Jul 14, 2026
7f2302a
test(agents-runtime): type active wake mock
KyleAMathews Jul 14, 2026
cbd13bd
chore(changeset): release agents wake API
KyleAMathews Jul 14, 2026
a6b5b3a
Apply code simplification and review fixes
KyleAMathews Jul 15, 2026
7bb5e74
chore: complete combined branch changesets
KyleAMathews Jul 15, 2026
19a9a6d
chore: sync lockfile for agents dependencies
KyleAMathews Jul 15, 2026
e492e93
chore: align Expo SDK patch version
KyleAMathews Jul 15, 2026
947d91f
chore: include mobile Expo update in changeset
KyleAMathews Jul 15, 2026
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
5 changes: 5 additions & 0 deletions .changeset/fail-started-agent-runs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@electric-ax/agents-runtime': patch
---

Mark newly-started agent runs as failed when a wake handler errors before ending them, preventing chat UIs from showing "Thinking" indefinitely after runtime failures.
8 changes: 8 additions & 0 deletions .changeset/fix-deferred-pull-wakes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@electric-ax/agents-runtime': patch
'@electric-ax/agents-server': patch
---

Fix child wake delivery so same-stream wake trigger notifications are queued while an active claim is already running, ensuring the runner checks for all pending wake rows again after the active work drains.

Refactor the server wake registry to use TanStack DB collections and optimistic actions over `wake_registrations`, removing the manual ShapeStream-backed registration cache and stale-cache reload fallback.
5 changes: 5 additions & 0 deletions .changeset/large-live-batches.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@electric-ax/agents-runtime": patch
---

Avoid stack overflows when processing large live StreamDB batches.
5 changes: 5 additions & 0 deletions .changeset/reconnect-wake-stream-after-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@electric-ax/agents-runtime': patch
---

Reconnect pull-wake streams after the runner resumes from sleep or a long event-loop stall so desktop agents keep receiving wake notifications.
11 changes: 11 additions & 0 deletions .changeset/reliable-repeated-wakes-and-desktop-restart.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
'@electric-ax/agents': patch
'@electric-ax/agents-runtime': patch
'@electric-ax/agents-desktop': patch
---

Preserve every deferred same-stream pull-wake notification instead of coalescing later generations, so repeated child completions reliably wake their parent.

Make desktop runtime startup failures observable and retryable even when they occur before the built-in runtime instance starts, allowing configured agents to recover after relaunch.

Reconnect the pull-wake Durable Streams subscription when Electron reports system resume, preserving active agent work while replacing stale long-poll connections.
12 changes: 12 additions & 0 deletions .changeset/upgrade-pi-agent-core-openai.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
'@electric-ax/agents': patch
'@electric-ax/agents-runtime': patch
'@electric-ax/agents-server': patch
'@electric-ax/agents-server-conformance-tests': patch
'@electric-ax/agents-server-ui': patch
'@electric-ax/agents-desktop': patch
'@electric-ax/agents-mobile': patch
'electric-ax': patch
---

Update the agents runtime to the renamed Earendil Works pi packages and latest OpenAI/Codex model catalog. Preserve custom provider id compatibility, move built-in Codex defaults to GPT-5.6 models, and remove deprecated direct pi-agent-core dependencies from agents examples.
Loading
Loading