Commit Graph

49731 Commits

Author SHA1 Message Date
Jim Dawdy
7958eb0fc4 test(xiaomi): add MiMo thinking profile, stream wrapper, and reasoning_content injection tests 2026-05-15 12:35:44 +01:00
Jim Dawdy
f97645428e feat(xiaomi): register wrapStreamFn, resolveThinkingProfile, isModernModelRef, and replay hooks 2026-05-15 12:35:44 +01:00
Jim Dawdy
e3ad37c24f feat(xiaomi): add MiMo thinking profile and stream wrapper 2026-05-15 12:35:44 +01:00
Jim Dawdy
0dc34ca171 feat(xiaomi): add providerEndpoints for xiaomi-native and mimo-v2.5 model entries 2026-05-15 12:35:44 +01:00
Jim Dawdy
d4c83edba8 fix(transport): propagate requiresReasoningContentOnAssistantMessages to convertMessages 2026-05-15 12:35:44 +01:00
Jim Dawdy
e6dc6c52fe fix(compat): detect xiaomi-native endpoints, set deepseek thinkingFormat and requiresReasoningContentOnAssistantMessages 2026-05-15 12:35:44 +01:00
Jim Dawdy
215e43aa94 fix(transport): add xiaomi-native to ProviderEndpointClass and manifest endpoint classes 2026-05-15 12:35:44 +01:00
Peter Steinberger
e360e105a3 fix: require web search query schema 2026-05-15 12:32:52 +01:00
Peter Steinberger
f06e9f6358 fix(release): keep TypeScript compiler external 2026-05-15 12:32:33 +01:00
Peter Steinberger
b3d9bef38d [codex] Fix Codex OAuth refresh fallback (#82117)
* fix: fall back to Codex CLI OAuth after refresh failure

* fix: support Codex CLI fallback for named profiles
2026-05-15 12:32:00 +01:00
Peter Steinberger
b6809b5e31 fix(gateway): keep config schema admin scoped 2026-05-15 12:25:31 +01:00
Peter Steinberger
8ff722fe7d docs: update changelog for gateway methods (#82063) 2026-05-15 12:25:31 +01:00
Peter Steinberger
3bedce151e fix(gateway): keep exec approvals policy admin scoped 2026-05-15 12:25:31 +01:00
Peter Steinberger
373f709130 fix(gateway): preserve core method collision guards 2026-05-15 12:25:31 +01:00
Peter Steinberger
a383baac03 test(logging): fix stalled recovery threshold test 2026-05-15 12:25:31 +01:00
Peter Steinberger
93b9223bee fix(plugins): tolerate legacy inspect reports 2026-05-15 12:25:31 +01:00
Peter Steinberger
4aa37c3261 fix(gateway): allow partial method registries 2026-05-15 12:25:31 +01:00
Peter Steinberger
db3c4ba8d3 refactor(gateway): collapse method metadata shims 2026-05-15 12:25:31 +01:00
Peter Steinberger
7c639d4b46 fix(gateway): accept legacy plugin registries 2026-05-15 12:25:31 +01:00
Peter Steinberger
fb7dc43043 fix(gateway): preserve lazy method boundaries 2026-05-15 12:25:31 +01:00
Peter Steinberger
386fbd6594 fix(gateway): preserve advertised method ordering 2026-05-15 12:25:31 +01:00
Peter Steinberger
e4a1032072 style(gateway): avoid method list spread allocations 2026-05-15 12:25:31 +01:00
Peter Steinberger
622728757f refactor(gateway): add method descriptor registry 2026-05-15 12:25:31 +01:00
Ayaan Zaidi
b2d04646c1 ci(mantis): run telegram proof agent faster 2026-05-15 16:54:58 +05:30
Ayaan Zaidi
f04d20f8f9 ci(mantis): allow non-visual telegram proof skips 2026-05-15 16:54:58 +05:30
Peter Steinberger
c0fe7ab34a fix: keep queued system event authority structured
Keep queued system-event owner downgrades as structured runtime metadata while rendering the model-visible prompt as plain `System:` lines.

This preserves least-privilege wakeups for webhook/node/exec/cron/reaction/hook producers, keeps legacy `trusted: false` compatibility for installed plugins and older hosts, and updates representative gateway, agent, cron, plugin, and OpenGrep coverage.
2026-05-15 12:24:27 +01:00
Val Alexander
2ac011b8ae fix(ui): repair chat composer usability
Fix the WebChat composer regression reported in #45656 by focusing the textarea from non-control composer chrome clicks and restoring larger labeled desktop composer controls while preserving compact mobile taps.

Verification:
- pnpm test ui/src/ui/views/chat.test.ts ui/src/ui/chat/run-controls.test.ts ui/src/styles/chat/layout.test.ts
- pnpm exec oxfmt --check --threads=1 CHANGELOG.md ui/src/ui/views/chat.ts ui/src/ui/views/chat.test.ts ui/src/ui/chat/run-controls.ts ui/src/ui/chat/run-controls.test.ts ui/src/styles/chat/layout.css ui/src/styles/chat/layout.test.ts
- git diff --check origin/main...HEAD
- pnpm changed:lanes --json
- pnpm lint:core
- pnpm ui:build
- gh pr checks 82120 --repo openclaw/openclaw --watch=false
- ClawSweeper review completed successfully: https://github.com/openclaw/clawsweeper/actions/runs/25914298634

Closes #45656
2026-05-15 06:07:12 -05:00
civil
c8d53fdf1b docs: credit STT WAV transcode contributor (#82110)
Credit contributor PR #82110 in the existing Audio/STT changelog entry after the ffmpeg muxer fix landed on main.

Verification:
- /Users/steipete/Projects/agent-scripts/skills/codex-review/scripts/codex-review --mode branch
- node scripts/run-vitest.mjs src/media-understanding/apply.test.ts src/media-understanding/runner.cli-audio.test.ts
- gh pr checks 82110 --repo openclaw/openclaw --watch --interval 10
2026-05-15 12:04:19 +01:00
Peter Steinberger
b2dfa98877 docs: credit OpenRouter reasoning replay fix 2026-05-15 11:59:07 +01:00
Peter Steinberger
3537d8a613 fix: preserve valid completions reasoning replay 2026-05-15 11:59:07 +01:00
sliverp
8bfb943945 fix: strip response-only reasoning fields from OpenAI Completions requests
Prevents providers like OpenRouter from returning HTTP 500 errors when replayed assistant messages include fields such as `reasoning_details`.
2026-05-15 11:59:07 +01:00
Peter Steinberger
a1a6cd6508 refactor: centralize inbound history shaping
Centralize inbound history shaping through shared reply-history helpers and preserve existing channel behavior.
2026-05-15 11:56:38 +01:00
Peter Steinberger
f686bb519f fix: force ffmpeg muxers for staged audio outputs
* fix: force ffmpeg muxers for staged audio outputs

* docs: clarify staged audio changelog
2026-05-15 11:56:12 +01:00
Ayaan Zaidi
f1b92c8885 fix(mantis): publish evidence to r2 (#81845)
* fix(mantis): publish evidence to r2

* ci(mantis): pass r2 artifact credentials

* ci(mantis): pin artifact bucket config

* fix(mantis): link raw evidence index
2026-05-15 16:23:53 +05:30
solodmd
239def7838 perf(skills): cache hydrated resolved skills (#81451)
Merged via squash.

Prepared head SHA: e202d16e50
Co-authored-by: solodmd <51304754+solodmd@users.noreply.github.com>
Co-authored-by: altaywtf <9790196+altaywtf@users.noreply.github.com>
Reviewed-by: @altaywtf
2026-05-15 13:48:22 +03:00
Peter Steinberger
cd91bd9a1e docs: document admin HTTP RPC plugin 2026-05-15 11:44:58 +01:00
Peter Steinberger
764cfd5552 feat: add bundled admin HTTP RPC plugin 2026-05-15 11:44:58 +01:00
Peter Steinberger
dfeaf6f7cf refactor: add gateway method dispatch contract 2026-05-15 11:44:58 +01:00
Peter Steinberger
cd9b2c0af4 fix: restore voice media uploads 2026-05-15 11:35:34 +01:00
Peter Steinberger
0e5f4ea18c perf: reuse manifest metadata for read-only model catalogs 2026-05-15 11:24:06 +01:00
Frank Yang
b04e42812e fix(memory): stop watcher write-polling fd pressure (#81802)
Merged via squash.

Prepared head SHA: 623874619b
Co-authored-by: frankekn <4488090+frankekn@users.noreply.github.com>
Co-authored-by: frankekn <4488090+frankekn@users.noreply.github.com>
Reviewed-by: @frankekn
2026-05-15 18:12:29 +08:00
Peter Steinberger
21b6dcbe37 fix: restore Discord voice Ogg transcoding 2026-05-15 11:01:15 +01:00
Kaspre
44840007d4 fix(agents): scope custom provider baseUrl SSRF trust by origin (#80751)
* fix(agents): scope provider SSRF trust by origin

* fix(provider): preserve explicit private-network deny

* docs(provider): document exact-origin SSRF trust

* test(provider): cover exact-origin SSRF edges

* docs(provider): align local model private-origin guidance

* refactor(ssrf): keep policy merging in infra

* test(ssrf): cover exact-origin trust through guard

* test(ssrf): block sibling private-origin redirects

* fix(provider): keep loopback trust origin-scoped

* fix(provider): block metadata origin trust

* fix(ssrf): keep metadata rebinding blocked

* fix(ssrf): block cloud metadata origins

* fix(ssrf): block ipv6 metadata origins

* fix(ssrf): block embedded metadata origins

* test(ssrf): cover embedded link-local metadata

* test(provider): cover custom anthropic proxy classification

* test(provider): widen transport policy mock

* test(plugin-sdk): assert metadata-IP allowedOrigins entries are rejected

Plugin authors can construct an SsrFPolicy that lists any well-formed
http(s) origin in allowedOrigins. The abuse-resistance lives one layer
deeper, in resolvePinnedHostnameWithPolicy's metadata/link-local block.
Add an SDK-level smoke test asserting that contract directly:

- AWS/Alibaba IMDS IPv4 literals, GCP metadata canonical hostname,
  IPv6 ULA metadata literal, and non-metadata link-local IPv4 entries
  build a policy via ssrfPolicyFromHttpBaseUrlAllowedOrigin and are
  then rejected at resolvePinnedHostnameWithPolicy.
- DNS rebinding from a trusted private DNS origin to a metadata IP is
  rejected even when the request hostname is origin-trusted.

This would fail if the SDK helper or resolveSsrFPolicyForUrl ever
short-circuited past the metadata block.

* chore(docs): regenerate baselines after upstream rebase

upstream/main moved between rebases; the merged source state for the
PR's `src/config/schema.help.ts` change and the upstream plugin-sdk
surface changes both produce different hashes than the committed
baselines, so `config:docs:check` and `plugin-sdk:api:check` would fail.

Regenerated via `pnpm config:docs:gen` + `pnpm plugin-sdk:api:gen` on
Crabbox; both baselines verified with their respective `--check`
generators.

* test(plugin-sdk): assert SSRF blocked error class

* fix(lint): satisfy exact-origin PR lint rules

* docs: clarify custom provider origin trust

* chore(docs): refresh plugin sdk api baseline

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-05-15 11:00:29 +01:00
Peter Steinberger
778ad09ff2 test(logging): derive diagnostic abort threshold 2026-05-15 10:38:43 +01:00
Peter Steinberger
582f834269 test(sdk): refresh command facts API baseline 2026-05-15 10:38:43 +01:00
Peter Steinberger
fc5349688f test(agents): update command turn prompt snapshots 2026-05-15 10:38:43 +01:00
Peter Steinberger
3b1497789c refactor(channels): derive command turns from turn facts 2026-05-15 10:38:43 +01:00
Pavan Kumar Gondhi
b9fbc57bbd Bind shell script operands after combined options [AI] (#81882)
* fix: bind shell script operands after combined options

* addressing codex review

* docs: add changelog entry for PR merge
2026-05-15 14:55:37 +05:30
Pavan Kumar Gondhi
238b0fc76f fix(canvas): validate snapshot response formats [AI] (#81881)
* fix: validate canvas snapshot formats

* addressing codex review

* docs: add changelog entry for PR merge
2026-05-15 14:51:38 +05:30
Peter Steinberger
e30be460e1 fix: shorten stalled Codex recovery window 2026-05-15 10:19:37 +01:00