Commit Graph

7580 Commits

Author SHA1 Message Date
Peter Steinberger d1b2d81752 fix: send OpenClaw attribution to OpenAI 2026-04-29 13:54:07 +01:00
Alex Knight 8f2dd02d2d fix(deepseek): add provider-policy-api to hydrate contextWindow and cost from catalog (#74326)
DeepSeek models had no provider-policy-api.ts, so materializeRuntimeConfig
filled contextWindow with DEFAULT_CONTEXT_TOKENS (200k) and cost with zeros
for all DeepSeek models. This caused premature session compaction at ~125k
instead of using the full 1M window, and zero-cost display for v4 models.

Add a normalizeConfig surface that hydrates missing contextWindow, maxTokens,
and cost from the bundled DeepSeek model catalog for matching model ids.
Explicit user overrides are preserved.

Fixes #74245
2026-04-29 22:38:11 +10:00
Peter Steinberger 81551ac24b fix(telegram): bound command menu setup requests 2026-04-29 13:11:41 +01:00
Peter Steinberger 40f820bda2 fix: preserve discord voice owner allowlist fallback 2026-04-29 13:09:13 +01:00
Squirbie 94a85e77de fix(discord): disambiguate allow-from DM targets (#74303)
* fix(discord): disambiguate allow-from DM targets

* test(discord): align allowFrom precedence

* docs(discord): clarify allowFrom id forms

* fix(discord): align allowFrom precedence

---------

Co-authored-by: 따온이네 맥북프로 <tulisy@ttaon-ine-ui-MacBookPro.local>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-04-29 13:01:28 +01:00
Peter Steinberger 4f540c703f fix(telegram): warn on stale polling status 2026-04-29 12:58:41 +01:00
Peter Steinberger 1fb58ca5ee fix(telegram): recover transient polling and reply sends 2026-04-29 12:42:31 +01:00
Peter Steinberger d8b9ace39c fix(ci): repair github copilot setup types 2026-04-29 12:31:17 +01:00
vinoyang 96dff27808 feat(memory-lancedb): support Chinese memory trigger keywords (#70040) 2026-04-29 19:25:29 +08:00
Peter Steinberger dc9f1b8525 fix(telegram): honor managed proxy env 2026-04-29 12:18:49 +01:00
Logan Ye 89cd2b6362 feat(active-memory): add timeout circuit breaker to skip recall after consecutive failures (#74054) (#74158) 2026-04-29 07:18:43 -04:00
Ayaan Zaidi 42b352c57e fix(github-copilot): publish model catalog 2026-04-29 16:48:18 +05:30
Ayaan Zaidi 22c42b6b30 fix(github-copilot): reuse existing auth profiles 2026-04-29 16:48:18 +05:30
Logan Ye 2aa6abddbe fix(memory): add LIKE fallback when FTS5 MATCH throws and log silent search errors (#74175)
* fix(memory): add LIKE fallback when FTS5 MATCH throws and log silent search errors

When searchKeyword FTS5 MATCH fails (e.g. unicode61 tokenizer rejects
certain query patterns), the search now falls back to a LIKE-based query
instead of silently returning zero results. The four .catch(() => [])
sites in the search orchestrator now log warnings so failures are
visible in diagnostics.

Fixes #74036

* fix(memory): split LIKE fallback into per-token clauses and log MATCH errors
2026-04-29 07:16:32 -04:00
Peter Steinberger 34ec184dcb refactor: reuse shared dedupe helpers 2026-04-29 12:14:59 +01:00
Peter Steinberger 9d1c5a77c2 fix: add vercel ai gateway thinking profile
Adds a Vercel AI Gateway provider thinking-profile resolver for trusted OpenAI and Anthropic upstream refs, preserving catalog compat fallback for unsupported/base-only refs.

Includes provider tests, docs, and changelog coverage. Supersedes #41561.

Co-authored-by: Zcg2021 <80769518+Zcg2021@users.noreply.github.com>
2026-04-29 12:13:20 +01:00
Peter Steinberger e6cd90e3fd fix(agents): keep OAuth auth read-through 2026-04-29 11:54:28 +01:00
Vincent Koc 21a92ea0f6 fix(whatsapp): recover group inbound after reconnect churn
Repair WhatsApp group inbound recovery after repeated reconnect churn while keeping the fallback scoped to reconnect metadata.

Canonical issue: #66920. Related evidence: #7433, #63855, #70856.

Thanks to legonhilltech-jpg, octopuslabs-fl, Kanorin-chan, and stuswan for the reports and reproduction details.
2026-04-29 03:54:18 -07:00
vinoyang 6b44dce0c8 feat(memory-lancedb): support query cmd for llm CLI (#71112)
* feat(memory-lancedb): support query cmd for llm CLI

* address review comments

* address review comments

* trigger ci
2026-04-29 18:42:40 +08:00
Vincent Koc abed3a056d test(qa): add kitchen sink plugin gauntlet 2026-04-29 02:29:01 -07:00
openclaw-clownfish[bot] c33968e10c fix(discord): split CJK text at safe break points (#73960)
Co-authored-by: openclaw-clownfish[bot] <280122609+openclaw-clownfish[bot]@users.noreply.github.com>
Co-authored-by: Penchan <5032148+p3nchan@users.noreply.github.com>
2026-04-29 02:07:26 -07:00
openclaw-clownfish[bot] 928698d388 fix(discord): fail closed when bot identity is unavailable
Fail Discord startup closed when the bot identity cannot be resolved, and keep mention gating active when configured mention patterns can still detect required mentions without a bot id.\n\nFixes #42219. Carries forward source PRs #46856 by @education-01 and #49218 by @BenediktSchackenberg. #46847 was already closed as a duplicate; #42675 was security-routed separately and left out of the replacement source.
2026-04-29 01:55:04 -07:00
Ted Li 8c8f396985 fix(feishu): suppress late streaming card finals (#72294)
Merged via squash.

Prepared head SHA: d18a9ff4c3
Co-authored-by: MonkeyLeeT <6754057+MonkeyLeeT@users.noreply.github.com>
Co-authored-by: hxy91819 <8814856+hxy91819@users.noreply.github.com>
Reviewed-by: @hxy91819
2026-04-29 16:47:20 +08:00
Ayaan Zaidi 071e7610d6 fix(telegram): bound outbound request timeouts 2026-04-29 14:09:03 +05:30
Peter Steinberger 14e8a2d00b chore: remove unused internal dead code 2026-04-29 09:34:40 +01:00
Peter Steinberger 7a32d6a09f chore: remove unused plugin helper code 2026-04-29 09:24:51 +01:00
openclaw-clownfish[bot] 4d43daa7bb fix(browser): ignore Playwright dialog race rejections
Carries forward #40067 from @randyjtw.

Validated:
- OPENCLAW_TESTBOX=1 pnpm check:changed (tbx_01kqc44esqmt15ygzvfxd1pqng)
- CI: https://github.com/openclaw/openclaw/actions/runs/25097879442
2026-04-29 01:11:54 -07:00
Vincent Koc 59a0457251 fix(ci): restore extension package boundary excludes 2026-04-29 00:57:08 -07:00
Vincent Koc 1e168b17b7 fix(ci): keep browser test support out of prod boundaries 2026-04-29 00:50:56 -07:00
Peter Steinberger ca972f692f fix: keep browser fetch helper under test support 2026-04-29 08:47:43 +01:00
Peter Steinberger e52b660749 fix(browser): repair test fetch helper export 2026-04-29 08:45:05 +01:00
Peter Steinberger 2a02b3bcec test: harden plugin prerelease smoke checks 2026-04-29 08:41:30 +01:00
Vincent Koc eb7f305737 Merge branch 'main' of https://github.com/openclaw/openclaw
* 'main' of https://github.com/openclaw/openclaw:
  fix: exclude test support from raw fetch guard
  fix(ollama): preserve aborts with stream timeouts
  ci: require maintainer permission for command reactions
  docs(hooks/bundled/readme): cover session compaction and message events
  refactor: share docker e2e harness runner
  fix: keep browser test fetch out of runtime scan
2026-04-29 00:36:24 -07:00
Peter Steinberger a31342ab6b fix(ollama): preserve aborts with stream timeouts 2026-04-29 08:33:23 +01:00
Vincent Koc c01244e859 test(browser): keep undici fetch helper test-only 2026-04-29 00:28:02 -07:00
Peter Steinberger f6a2cf15c0 fix: keep browser test fetch out of runtime scan 2026-04-29 08:27:57 +01:00
Peter Steinberger 7662a17b08 test: trim release smoke memory startup 2026-04-29 08:16:17 +01:00
Peter Steinberger afc4f06ca3 fix(memory): isolate qmd boot refresh 2026-04-29 08:14:08 +01:00
Peter Steinberger 7e5d6dba80 build(deps): trim runtime dependency graph 2026-04-29 08:11:57 +01:00
Vincent Koc 8b71d2347f docs(types): mark remaining deprecated aliases 2026-04-29 00:04:17 -07:00
peter e71d7d48fb fix(telegram): probe video dimensions through sdk
Fix Telegram portrait video distortion by probing video dimensions through the shared media helper and passing width/height to sendVideo.

Validation:
- Targeted Telegram/media tests passed locally.
- Plugin SDK API baseline check passed locally.
- Formatter and git diff whitespace checks passed locally.

CI note: current boundary drift observed on prior run came from existing src/plugin-sdk/discord.ts and src/plugin-sdk/telegram-account.ts, not this PR diff.
2026-04-29 01:58:25 -05:00
Peter Steinberger 3367cfaa14 test: skip bot-to-bot telegram mention in default qa 2026-04-29 07:40:15 +01:00
Vincent Koc 1b25dcf57a docs(types): mark legacy hook surfaces deprecated 2026-04-28 23:31:32 -07:00
Peter Steinberger 71473e7448 test: make telegram live mention scenario privacy-safe 2026-04-29 07:27:14 +01:00
Peter Steinberger 32c2337095 test(ci): tolerate slow live provider cleanup 2026-04-29 07:24:47 +01:00
Peter Steinberger 2da2d506b5 test(zalo): align open dm lifecycle fixtures 2026-04-29 07:15:29 +01:00
Peter Steinberger 7d74c1f4b9 test: align channel fixtures with open dm policy 2026-04-29 07:08:06 +01:00
Ayaan Zaidi 47204a1db5 test(media): cover timeout request forwarding 2026-04-29 11:26:58 +05:30
Ayaan Zaidi 09a64bd77e fix(media): propagate image timeout to providers 2026-04-29 11:26:58 +05:30
Vincent Koc b62e9e624d test(codex): satisfy bundled app-server lint 2026-04-28 22:55:36 -07:00