Commit Graph

26785 Commits

Author SHA1 Message Date
Bob
83d29dae2b [codex] Reproduce session stall and restart drain bugs (#61225)
* Tests: reproduce session stall and drain bugs

* Docs: add reply lifecycle unification plan

* Docs: lock down reply lifecycle plan

* Delete docs/experiments/plans/reply-lifecycle-unification.md

---------

Co-authored-by: Onur <2453968+osolmaz@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-04-05 10:05:40 +01:00
wesley
1030b498de fix(acpx): retry persisted resume ids cleanly (#52209)
* fix(acpx): store agent session ID when session/load fails

When an ACP agent (e.g. Gemini CLI) rejects the acpx-generated session
ID via session/load and falls back to session/new, the agent-returned
session ID was previously discarded. This caused identity stuck at
pending forever, multi-turn failures, lost completion events, and
persistent reconcile warnings.

- Parse ACP protocol stream in runTurn() to capture agent session IDs
- Flip resolveRuntimeResumeSessionId() to prefer agentSessionId
- Add createIdentityFromHandleEvent() for handle-sourced identity
- Layer handle event identity before status in reconcile
- Add regression tests for load fallback and restart resume

Closes #52182

* ACPX: prefer decoded session ids

* ACPX: refresh runtime handle state from status

---------

Co-authored-by: Wesley <imwyvern@users.noreply.github.com>
2026-04-05 10:01:59 +01:00
Vincent Koc
cc09171929 fix(ci): align sanitize session history tests with transcript types 2026-04-05 10:01:29 +01:00
Vincent Koc
f1f8fd5970 fix(plugins): drop dead runtime helper 2026-04-05 09:59:50 +01:00
Vincent Koc
2489913ede refactor(tlon): align internal network naming 2026-04-05 09:59:50 +01:00
Peter Steinberger
4a85810091 fix: migrate bedrock discovery config in doctor 2026-04-05 09:55:55 +01:00
Peter Steinberger
19de5d1b56 refactor: move provider discovery config into plugins 2026-04-05 09:55:55 +01:00
Vincent Koc
4613f121ad fix(agents): preserve native Anthropic replay tool ids (#61254)
* fix(agents): preserve native Anthropic replay tool ids

* docs(changelog): note native Anthropic replay ids

* fix(agents): preserve native Anthropic replay ids selectively
2026-04-05 09:53:52 +01:00
Peter Steinberger
a9c52dd935 test(gateway): cover claude cli bootstrap injection 2026-04-05 17:51:41 +09:00
Peter Steinberger
3d952aa35d fix(agents): preserve claude cli backend defaults 2026-04-05 17:51:41 +09:00
Daev Mithran
03be4c2489 fix(plugin-sdk): export missing context-engine types (#61251)
* fix(plugin-sdk): export missing context-engine types

Signed-off-by: DaevMithran <daevmithran1999@gmail.com>

* build(plugin-sdk): refresh api baseline hash

* docs(changelog): note context engine sdk exports

---------

Signed-off-by: DaevMithran <daevmithran1999@gmail.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-04-05 09:49:19 +01:00
Vincent Koc
19e97193d3 fix(ci): make discord doctor loading bundler-safe 2026-04-05 09:48:11 +01:00
Peter Steinberger
48653c2031 fix: recover launchd restart and restore prompt-cache gate 2026-04-05 17:47:07 +09:00
Peter Steinberger
48f0d9aaf7 fix: normalize telegram announce thread targets 2026-04-05 09:44:20 +01:00
Peter Steinberger
a3f6e58928 docs: move zh-CN output to publish repo 2026-04-05 09:44:05 +01:00
Vincent Koc
3a9569ff38 fix(ci): keep self-hosted setup out of plugin internals 2026-04-05 09:43:35 +01:00
Vincent Koc
de04eeab76 docs: remove duplicate Unreleased changelog entries 2026-04-05 09:40:16 +01:00
Peter Steinberger
647fc7bfec refactor(plugins): unify explicit provider ownership loading 2026-04-05 09:38:04 +01:00
Peter Steinberger
f9f44b9b96 fix(models): restore anthropic cli auth login 2026-04-05 09:36:47 +01:00
Vincent Koc
50ed91a589 fix(ci): wire heartbeat busy-lane test reply mock 2026-04-05 09:35:55 +01:00
Peter Steinberger
1afa076cfa refactor: simplify plugin auto-enable structure 2026-04-05 09:34:16 +01:00
Peter Steinberger
22db77d2b6 fix: avoid eager web provider config reads 2026-04-05 09:34:01 +01:00
Vincent Koc
0b8336f49d fix(config): align bluebubbles network schema 2026-04-05 09:32:27 +01:00
Vincent Koc
2d6e75ccd5 fix(ci): align google prompt cache stream typing 2026-04-05 09:31:39 +01:00
Vincent Koc
bca6faf11d docs: sync CLI and prompt-caching reference with code 2026-04-05 09:30:31 +01:00
Peter Steinberger
455c642acb feat: add implicit discovery toggles 2026-04-05 09:27:48 +01:00
Peter Steinberger
bff55b55cb style: normalize import ordering and wrapping 2026-04-05 09:26:39 +01:00
Peter Steinberger
fb77c8ce4e chore: ignore local artifacts workspace 2026-04-05 09:26:39 +01:00
Eunho Lee (Tony)
5b9cdb8975 fix(heartbeat): skip busy session lane wake delivery (#40526)
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-04-05 09:25:45 +01:00
rstar327
43fe68f9ef fix(exec): keep notifyOnExit heartbeat wakes on exec-event (#41479)
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-04-05 09:25:12 +01:00
Peter Steinberger
8be017fae6 refactor: remove plugin sdk facade generator 2026-04-05 09:23:55 +01:00
Vincent Koc
a4b767c89b docs: sync config reference with unreleased changes 2026-04-05 09:23:18 +01:00
imechZhangLY
0e61a1d0ca fix: windows restart fallback when scheduled task is unregistered (#58943) (thanks @imechZhangLY)
* fix(infra): windows-task-restart fallback to startup entry when schtasks task is unregistered

* fix code style problem

* use /min for startup fallback and assert schtasks pre-check in test

* fix: windows restart fallback when scheduled task is unregistered (#58943) (thanks @imechZhangLY)

---------

Co-authored-by: Luyao Zhang <zhangluyao@microsoft.com>
Co-authored-by: Ayaan Zaidi <hi@obviy.us>
2026-04-05 13:51:57 +05:30
Peter Steinberger
5ac07b8ef0 fix: normalize huggingface refs and discovery timeout 2026-04-05 09:18:17 +01:00
Vincent Koc
b5f8cd4fcf fix(google): add managed gemini prompt caching 2026-04-05 09:17:51 +01:00
Peter Steinberger
aa497e9c52 refactor: extract daemon launchd recovery helper 2026-04-05 09:16:44 +01:00
Ayaan Zaidi
92c498cf7b build(android): fix flavored release bundle prep 2026-04-05 13:44:44 +05:30
Ayaan Zaidi
90fcc1f551 fix(android): correct App Actions prompt parameter typing 2026-04-05 13:44:44 +05:30
Vincent Koc
c6e117897f test(nextcloud-talk): keep send runtime mock aligned 2026-04-05 09:14:12 +01:00
Peter Steinberger
41e39eb46f refactor: register channel bootstrap capabilities 2026-04-05 09:13:48 +01:00
Vincent Koc
a5b6b71468 test(gateway): align current response and callback types 2026-04-05 09:12:49 +01:00
Vincent Koc
4c11a520a8 fix(plugins): carry workspaceDir in runtime state 2026-04-05 09:10:09 +01:00
Peter Steinberger
3038079c2f fix: clamp pi embedded fenced chunk splits 2026-04-05 09:09:26 +01:00
Peter Steinberger
b57372d665 refactor: route capability runtime through channel stores 2026-04-05 09:07:33 +01:00
Peter Steinberger
1903be5401 refactor: remove generated plugin sdk facades 2026-04-05 09:07:33 +01:00
Peter Steinberger
fd968bfb2d fix: recover unloaded macOS launch agents (#43766) 2026-04-05 17:06:22 +09:00
Peter Steinberger
07e7b7177f test: stabilize pi embedded text-end hooks 2026-04-05 09:06:15 +01:00
Jamil Zakirov
ffb5b99114 fix: propagate workspaceDir to snapshot plugin loads (#61138)
* plugins: include resolved workspaceDir in provider hook cache keys

resolveProviderPluginsForHooks, resolveProviderPluginsForCatalogHooks, and
resolveProviderRuntimePlugin used the raw params.workspaceDir for cache keys
and plugin-id discovery while resolvePluginProviders already fell back to
the active registry workspace. Resolve workspaceDir once at the top of each
function so cache keys, candidate filtering, and loading all use the same
workspace root.

* fix(plugins): inherit runtime workspace for snapshot loads

* test(gateway): stub runtime registry seam

* fix(plugins): restore workspace fallback after rebase

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-04-05 09:03:54 +01:00
Peter Steinberger
e28e83f4e4 test: load browser fixture for sandbox policy 2026-04-05 09:00:42 +01:00
Peter Steinberger
3728cfbe29 test: use stable sandbox denied tool assertions 2026-04-05 08:58:55 +01:00