Commit Graph

5202 Commits

Author SHA1 Message Date
Peter Steinberger 37e667c4c5 test: keep tool-policy tests below coding tool construction 2026-04-08 09:20:27 +01:00
Vincent Koc ed846a7157 refactor(agents): share media status action helpers 2026-04-08 09:07:28 +01:00
Vincent Koc 363c2bc171 refactor(agents): share media background task lifecycle 2026-04-08 09:07:28 +01:00
Peter Steinberger 290bde2c14 test: cover multi-agent tool policy below tool construction 2026-04-08 08:58:50 +01:00
Peter Steinberger a385121475 test: use stubbed OpenClaw tools in agent config tool suite 2026-04-08 08:49:10 +01:00
Peter Steinberger 95754cf57a test: isolate subagent resume persistence registry path 2026-04-08 07:26:43 +01:00
Peter Steinberger 8a9a3984e4 test: isolate video media runner auth from main profile store 2026-04-08 07:01:00 +01:00
Peter Steinberger e89dc72c35 test: stabilize provider auth alias test imports 2026-04-08 05:28:46 +01:00
Peter Steinberger 9d31c5ad53 fix: compact update_plan tool result 2026-04-08 04:43:09 +01:00
Peter Steinberger d9d9d357b4 fix: align exec default reporting with runtime 2026-04-08 04:39:27 +01:00
Ayaan Zaidi 99db33eb39 fix: keep runtime model lookup on configured workspace 2026-04-08 08:30:44 +05:30
ruclaw7 81969c7a91 fix: prefer codex gpt-5.4 runtime metadata (#62694) (thanks @ruclaw7)
* Agents: prefer runtime codex gpt-5.4 metadata

* Agents: move codex gpt-5.4 override into provider hook

* fix: repair codex runtime preference hooks

* fix: use workspace dir for codex runtime preference

* test: cover codex workspace dir hook

* fix: prefer codex gpt-5.4 runtime metadata (#62694) (thanks @ruclaw7)

---------

Co-authored-by: Rudi Cilibrasi <cilibrar@gmail.com>
Co-authored-by: Rudi Cilibrasi <rudi@metagood.com>
Co-authored-by: Ayaan Zaidi <hi@obviy.us>
2026-04-08 08:16:23 +05:30
Peter Steinberger 7fc3197ecb fix: guide exec timeouts to registered background sessions 2026-04-08 03:01:55 +01:00
Peter Steinberger dbaf4df493 test: drop pre-Gemini 3 from live model matrix 2026-04-08 02:19:23 +01:00
Peter Steinberger e80ae14771 test: speed up effective tools inventory test 2026-04-08 01:44:13 +01:00
Peter Steinberger ce07a38f0c test: trim config migration smoke coverage 2026-04-08 01:29:43 +01:00
Peter Steinberger 381d229699 Tests: type sessions send gateway mock 2026-04-08 01:18:01 +01:00
Josh Lehman 8359e5f584 fix: pass threadId through sessions_send announce delivery (#62758) 2026-04-07 17:11:33 -07:00
Peter Steinberger 51633fc13a fix: respect disabled heartbeat guidance 2026-04-08 00:51:13 +01:00
Peter Steinberger 4d3c72a521 fix: surface Claude CLI API errors 2026-04-08 00:44:50 +01:00
Peter Steinberger 259e9abbc5 Tests: align provider synthetic auth fixture 2026-04-08 00:43:55 +01:00
Peter Steinberger 7f508755a1 Tests: use timeout-classed compaction failure 2026-04-08 00:39:22 +01:00
Peter Steinberger f9dcd1e155 test: speed up agent runtime helper tests 2026-04-08 00:30:22 +01:00
Peter Steinberger c01666f7ab test: speed up agent auth config tests 2026-04-08 00:30:22 +01:00
Josh Lehman 6bd480ea1f fix: honor explicit auth profile selection (#62744)
* Auth: fix native model profile selection

Fix native `/model ...@profile` targeting so profile selections persist onto the intended session, and preserve explicit session auth-profile overrides even when stored auth order prefers another profile. Update the reply/session regressions to use placeholder example.test profile ids.

Regeneration-Prompt: |
  Native `/model ...@profile` commands in chat were acknowledging the requested auth profile but later runs still used another account. Fix the target-session handling so native slash commands mutate the real chat session rather than a slash-session surrogate, and keep explicit session auth-profile overrides from being cleared just because stored provider order prefers another profile. Update the tests to cover the target-session path and the override-preservation behavior, and use placeholder profile ids instead of real email addresses in test fixtures.

* Auth: honor explicit user-locked profiles in runner

Allow an explicit user-selected auth profile to run even when per-agent auth-state order excludes it. Keep auth-state order for automatic selection and failover, and add an embedded runner regression that seeds stored order with one profile while verifying a different user-locked profile still executes.

Regeneration-Prompt: |
  The remaining bug after fixing native `/model ...@profile` persistence was in the embedded runner itself. A user could explicitly select a valid auth profile for a provider, but the run still failed if per-agent auth-state order did not include that profile. Preserve the intended semantics by validating user-locked profiles directly for provider match and credential eligibility, then using them without requiring membership in resolved auto-order. Add a regression in the embedded auth-profile rotation suite where stored order only includes one OpenAI profile but a different user-locked profile is chosen and must still be used.

* Changelog: note explicit auth profile selection fix

Add the required Unreleased changelog line for the explicit auth-profile selection and runner honor fix in this PR.

Regeneration-Prompt: |
  The PR needed a mandatory CHANGELOG.md entry under Unreleased/Fixes. Add a concise user-facing line describing that native `/model ...@profile` selections now persist on the target session and explicit user-locked OpenAI Codex auth profiles are honored even when per-agent auth order excludes them, and include the PR number plus thanks attribution for the PR author.
2026-04-07 16:12:25 -07:00
Peter Steinberger 5e2736089d fix: resolve ci type regressions 2026-04-08 00:09:42 +01:00
Peter Steinberger ee0425a705 refactor: dedupe agent trimmed readers 2026-04-08 00:09:42 +01:00
Peter Steinberger 65ea8c60f3 refactor: dedupe agent trimmed readers 2026-04-08 00:09:41 +01:00
Peter Steinberger 8fae182531 test: speed up model config provider tests 2026-04-08 00:09:07 +01:00
Peter Steinberger f738297bda test: speed up stream and bash tool tests 2026-04-08 00:09:07 +01:00
Peter Steinberger 6f159a9a28 fix(test): align exec approvals expectations 2026-04-07 23:57:46 +01:00
Peter Steinberger 6affd09dbe Tests: repair latest main type drift 2026-04-07 23:52:55 +01:00
Peter Steinberger a80453f2e1 Tests: align exec approval policy expectations 2026-04-07 23:52:55 +01:00
Peter Steinberger 7e2fc57858 Tests: update compaction fallback retry mock 2026-04-07 23:52:54 +01:00
Peter Steinberger 11185f6397 fix(test): align boundary and approval suites 2026-04-07 23:26:34 +01:00
Peter Steinberger d471bbc94d test: speed up auth profile store tests 2026-04-07 23:17:39 +01:00
Peter Steinberger b2169c4295 test: speed up subagent registry persistence resume test 2026-04-07 23:17:28 +01:00
Peter Steinberger fdf60c06b0 refactor: dedupe gateway agent trimmed readers 2026-04-07 22:57:52 +01:00
Peter Steinberger 7897fb9c84 refactor: dedupe locale lowercase helpers 2026-04-07 22:57:52 +01:00
Peter Steinberger 88ac6f1194 refactor: dedupe remaining lowercase helpers 2026-04-07 22:57:52 +01:00
Peter Steinberger b6970865b6 refactor: dedupe path lowercase helpers 2026-04-07 22:57:52 +01:00
Peter Steinberger 5a020cf9a1 refactor: dedupe canvas lowercase helpers 2026-04-07 22:57:52 +01:00
Peter Steinberger 81a613f687 test: speed up agent config auth tests 2026-04-07 22:26:23 +01:00
Peter Steinberger 1a72ed7e13 test: speed up subagent registry tests 2026-04-07 22:26:23 +01:00
Agustin Rivera a31cb15561 Guard missed base64 decode paths (#62007)
* fix(media): guard missed base64 decode paths

Co-authored-by: zsxsoft <git@zsxsoft.com>

* fix(media): wire maxBytes into image-generate-tool and consolidate base64 guard helpers

* docs(changelog): add base64 decode guard entry

* fix(image-generate): validate configured media cap

---------

Co-authored-by: zsxsoft <git@zsxsoft.com>
Co-authored-by: Devin Robison <drobison@nvidia.com>
2026-04-07 15:25:19 -06:00
Peter Steinberger 5fb6aeaf86 fix: preserve fallback error details 2026-04-07 22:07:12 +01:00
Agustin Rivera b9e972e174 Protect gateway exec approval config paths (#62001)
* fix(gateway): protect exec approval config paths

* fix(gateway): compare protected config paths by value

* docs(changelog): add gateway exec config entry

---------

Co-authored-by: Devin Robison <drobison@nvidia.com>
Co-authored-by: Devin Robison <drobison00@users.noreply.github.com>
2026-04-07 14:56:14 -06:00
Peter Steinberger a00b01f5ed fix: harden complex qa suite scenarios 2026-04-07 20:35:39 +01:00
BitToby 9edf9804b1 feat: add cover image support to Discord event create (#60883)
* feat: add image param to Discord event create for cover art

* fix: pass trusted media roots to event cover image loader

* fix: solve lint error

* fix: add changelog entry for Discord event cover image support (#60883) (thanks @bittoby)

---------

Co-authored-by: Shadow <hi@shadowing.dev>
2026-04-07 13:40:39 -05:00
Gustavo Madeira Santana d78512b09d Refactor: centralize native approval lifecycle assembly (#62135)
Merged via squash.

Prepared head SHA: b7c20a7398e91fcba5a1cf6dc5dc0811547107b4
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-07 14:40:26 -04:00