Commit Graph
1486 Commits
Author SHA1 Message Date
Peter Steinberger 934641df86 perf(auto-reply): defer ACP runtime imports 2026-04-05 15:27:43 +01:00
Peter Steinberger 79d722e922 fix: tighten group chat reply spacing guidance 2026-04-05 15:06:09 +01:00
Vincent Koc 7cd015b203 fix(agents): rotate claude cli bindings on reset 2026-04-05 14:54:25 +01:00
Peter Steinberger d842251ef8 fix(acp): guard missing delivery channel config 2026-04-05 14:24:01 +01:00
Peter Steinberger d893ae341c fix(auto-reply): remove direct working status updates 2026-04-05 14:14:51 +01:00
Peter Steinberger a705845e18 feat(agents): add experimental structured plan updates 2026-04-05 14:08:43 +01:00
Peter Steinberger 1dc3da6eda refactor(agents): use structured tool definitions 2026-04-05 13:26:34 +01:00
Peter Steinberger deb212d3b0 fix(openai): tighten gpt chat action turns 2026-04-05 12:53:35 +01:00
Peter Steinberger 996dccb19c feat(agents): add structured execution item events 2026-04-05 12:36:33 +01:00
Peter Steinberger 4559ece355 fix(ci): align test fixtures with current runner types 2026-04-05 11:23:51 +01:00
Peter Steinberger af81ee9fee fix(agents): add embedded item lifecycle events 2026-04-05 11:16:28 +01:00
Peter Steinberger e468da1040 fix: improve gpt execution flow and visibility 2026-04-05 10:32:58 +01:00
Onur d4e06d1249 Revert "[codex] Reproduce session stall and restart drain bugs (#61225)" (#61265)
This reverts commit 83d29dae2b.
2026-04-05 11:10:20 +02:00
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
Peter Steinberger 9238b98a7a fix: fall back to resolved agent dir for btw command 2026-04-05 08:21:52 +01:00
Peter Steinberger d655a8bc76 feat: add Fireworks provider and simplify plugin setup loading 2026-04-05 07:43:14 +01:00
Gustavo Madeira Santanaandgumadeiras e627f53d24 core: dedupe approval not-found handling (#60932)
Merged via squash.

Prepared head SHA: 108221fdfe0e84c486df21effc9d81318df85674
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
2026-04-04 13:23:58 -04:00
Peter Steinberger e4ea3c03cf fix: scope live model switch pending state (#60266) (thanks @kiranvk-2011) 2026-04-04 19:45:53 +09:00
kiranvk2011 251e086eac fix: use explicit flag for live model switch detection in fallback chain
Replace the ambiguous comparison-based approach (hasDifferentLiveSessionModelSelection
+ in-memory map EMBEDDED_RUN_MODEL_SWITCH_REQUESTS) with a persisted
`liveModelSwitchPending` flag on SessionEntry.

The root cause: the in-memory map was never populated in production because
requestLiveSessionModelSwitch() was removed in commit 622b91d04e and replaced
with refreshQueuedFollowupSession(). This left the comparison-based detection
as the only path, which could not distinguish user-initiated model switches
(via /model command) from system-initiated fallback rotations.

The fix:
- Add `liveModelSwitchPending?: boolean` to SessionEntry (persisted)
- Set the flag to true ONLY when /model command applies a model override
- New `shouldSwitchToLiveModel()` checks the flag + model mismatch together
- New `clearLiveModelSwitchPending()` resets the flag after consumption
- Replace throw-site logic in run.ts to use the new flag-based functions
- Remove orphaned resolveCurrentLiveSelection helper

Only the /model command sets this flag, so system-initiated fallback rotations
are never mistaken for user-initiated model switches. This restores the
live-switch-during-active-run feature that was accidentally broken.

Fixes #57857, #57760, #58137
2026-04-04 19:45:53 +09:00
Peter Steinberger 238fac6636 fix: cover status transcript fallback (#55041) (thanks @jjjojoj) 2026-04-04 17:38:44 +09:00
jjjojoj 97a8ba89fd fix: use transcript usage as fallback for /status token display
When using custom providers like LM Studio, Ollama, or DashScope,
token counts in /status show as 0 because the agent meta store
does not always have usage data populated for these providers.

Fix: set includeTranscriptUsage: true in both /status command and
the session_status tool. This enables the existing fallback path
that reads usage from the session transcript JSONL file when the
meta store has zero/missing token counts.

The merge logic already guards against overwriting valid data:
- totalTokens: only updated when zero or transcript value is larger
- inputTokens/outputTokens: only filled when zero/missing
- model/contextTokens: only filled when missing

Fixes #54995
2026-04-04 17:38:44 +09:00
Peter Steinberger b4e9802ef3 test: tidy gateway scope forwarding coverage 2026-04-04 16:48:26 +09:00
Peter Steinberger 9bbedf3caa test: replace hanging pair approve poc coverage 2026-04-04 16:42:46 +09:00
Peter Steinberger 14cfcdba1a docs(test): refresh stale model refs 2026-04-04 08:05:49 +01:00
Peter Steinberger 3de09fbe74 fix: restore claude cli loopback mcp bridge (#35676) (thanks @mylukin) 2026-04-04 15:16:20 +09:00
Peter Steinberger 64d9b65b56 style(core): format reply and infra helpers 2026-04-04 06:02:47 +01:00
Marcus Castro 9d1a58f551 fix(auto-reply): preserve reasoning markers during block coalescing (#60655)
* fix: preserve reasoning markers during block coalescing

* docs(changelog): add auto-reply reasoning fix entry
2026-04-04 00:44:11 -03:00
Peter Steinberger 7e69c2f6a7 test: trim remaining mock drift 2026-04-04 04:04:12 +01:00
Peter Steinberger fe72474153 fix: persist fallback overrides safely 2026-04-04 09:00:16 +09:00
Peter Steinberger 3a3fdf1920 fix(ci): restore plugin contract surfaces 2026-04-04 00:24:57 +01:00
Peter Steinberger d02fc365b4 test(plugins): drop stale core test files 2026-04-04 00:11:54 +01:00
Peter Steinberger ab318de8b7 test(plugins): finish moving contract coverage 2026-04-04 00:11:39 +01:00
Peter Steinberger e4b5027c5e refactor(plugins): move extension seams into extensions 2026-04-04 00:10:16 +01:00
Peter Steinberger 3d2734185b test: stabilize rebased auto-reply command checks 2026-04-03 23:11:34 +01:00
Tak Hoffman 3fd29e549d fix: honor tools default account 2026-04-03 17:06:50 -05:00
Tak Hoffman cc0987f7b1 fix: honor allowlist default account 2026-04-03 17:04:11 -05:00
Tak Hoffman 393d8c7606 fix: honor approve default account 2026-04-03 17:01:58 -05:00
Tak Hoffman 5f1f43af4d fix: honor config write default account 2026-04-03 16:59:58 -05:00
Tak Hoffman 4d60d61dec fix: honor reset notice default account 2026-04-03 16:57:15 -05:00
Tak Hoffman da68fa4079 fix: honor followup default account 2026-04-03 16:53:38 -05:00
Tak Hoffman 6ddc86a3d1 fix: honor session default delivery account 2026-04-03 16:51:34 -05:00
Peter Steinberger 30fd4c6cdb test: add default channel account stubs in subagent focus tests 2026-04-03 22:51:17 +01:00
Tak Hoffman 01534d9bd5 fix: honor acp projector default account 2026-04-03 16:49:16 -05:00
Tak Hoffman 2b54ce30ae fix: honor acp delivery default account 2026-04-03 16:46:25 -05:00
Tak Hoffman bb649de1ad fix: honor subagent default account 2026-04-03 16:43:26 -05:00
Tak Hoffman 4518b9ea7a fix: honor acp reset default account 2026-04-03 16:39:50 -05:00
Tak Hoffman 10062e8111 fix: honor plugin binding default account 2026-04-03 16:31:24 -05:00
Tak Hoffman 037da3ce34 fix: honor acp dispatch default account 2026-04-03 16:26:41 -05:00
Tak Hoffman 759598f737 fix: honor default account in conversation bindings 2026-04-03 16:09:48 -05:00
Peter Steinberger f3a6d13965 test: trim helper partial mocks 2026-04-03 21:34:42 +01:00