Commit Graph

3253 Commits

Author SHA1 Message Date
Chinar Amrutkar
f2c15f94ae fix(channels): narrow bundled channel loader diagnostics
Narrow bundled channel wrong-loader diagnostics, preserve ordinary missing-register debug details, and add focused loader coverage.

Verification:
- pnpm test src/plugins/loader.test.ts src/plugins/loader.cli-metadata.test.ts -- --reporter=verbose
- env -u OPENCLAW_TESTBOX -u OPENCLAW_TESTBOX_REMOTE_RUN pnpm check:changed

CI notes:
- Real behavior proof passed with maintainer proof: override label.
- check-additional-boundaries-d is red from existing extension test imports outside this PR: extensions/telegram/src/bot.create-telegram-bot.test.ts and extensions/whatsapp/src/login.coverage.test.ts.

Co-authored-by: Chinar Amrutkar <chinar.amrutkar@gmail.com>
2026-05-11 16:58:06 +01:00
Peter Steinberger
c9c9c3f7f1 fix: surface plugin beta fallback outcomes 2026-05-11 16:57:27 +01:00
Neerav Makwana
5171c2654a fix(models/auth): preserve primary when login omits --set-default
Provider applyConfig patches merged during models auth login could replace
agents.defaults.model.primary even without --set-default. Snapshot the prior
defaults.model and restore it after the patch unless the user opts in.

Fixes #78162.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-11 16:16:49 +01:00
Shakker
723ebb2a2c test: check sync hook warning text 2026-05-11 16:10:45 +01:00
Shakker
a150e35928 test: check plugin service failure logs 2026-05-11 16:10:06 +01:00
Shakker
691440f061 test: check inbound claim hook warnings 2026-05-11 16:09:26 +01:00
Shakker
584c9bdeb2 test: check reply dispatch hook warnings 2026-05-11 16:08:38 +01:00
Shakker
c214a5f262 test: pin self-hosted provider setup 2026-05-11 14:17:08 +01:00
samzong
1ecd46f49b fix(channels): cache selected channel registry lookups 2026-05-11 13:58:14 +01:00
Peter Steinberger
29f36e0072 fix: avoid llama.cpp router autoload during discovery (#74057) 2026-05-11 13:16:06 +01:00
brokemac79
f4be39c4f4 fix(providers): read nested llama cpp props context 2026-05-11 13:16:06 +01:00
brokemac79
7c7d19ec84 fix(providers): use llama.cpp runtime context cap 2026-05-11 13:16:06 +01:00
Shakker
40457455e1 test: assert tts contract attempts 2026-05-11 12:17:30 +01:00
Shakker
ccc6109853 test: assert plugin update warnings 2026-05-11 12:13:14 +01:00
Peter Steinberger
b3e2f3b261 fix: repair broken plugin package entries 2026-05-11 10:53:55 +01:00
ChandlerChien
8847d390bc fix(skills): normalize backslashes in compacted skill paths on Windows
Summary:
- Normalize compacted home-relative skill prompt locations to forward slashes only when the matched home prefix is Windows-style.
- Preserve POSIX literal backslashes after home-prefix compaction so prompt locations do not point at a different POSIX path.
- Keep provider-validation test fixtures typed for current test-type expectations and add the changelog entry.

Verification:
- pnpm vitest run src/plugins/provider-validation.test.ts src/agents/skills.compact-skill-paths.test.ts
- pnpm check:test-types
- pnpm exec oxfmt --check --threads=1 CHANGELOG.md src/agents/skills/workspace.ts src/agents/skills.compact-skill-paths.test.ts src/plugins/provider-validation.test.ts
- git diff --check
- Real code-path probe emitted `windowsCompacted=~/.openclaw-test-skills/win-skill/SKILL.md`, `windowsContainsBackslash=false`, and `posixLiteralBackslashPreserved=true`
- GitHub CI passed, including Real behavior proof, auto-response, Critical Quality, Security High, and full repository checks.

Closes #52022

Co-authored-by: ChandlerChien <123870275+chienchandler@users.noreply.github.com>
2026-05-11 01:35:26 -05:00
Peter Steinberger
233699c5b5 test: narrow scheduled turn cron assertion 2026-05-11 07:28:44 +01:00
Shakker
d0e881eed4 test: classify runtime api guardrails exactly 2026-05-11 07:16:19 +01:00
Shakker
23709c5481 test: tighten loader contract allowlist assertions 2026-05-11 07:14:04 +01:00
Shakker
9131545065 test: tighten file install warning assertion 2026-05-11 07:13:01 +01:00
Shakker
b24db963a6 test: tighten npm spec install assertions 2026-05-11 07:10:09 +01:00
Shakker
0f2f0cbbad test: tighten web fetch provider runtime assertions 2026-05-11 07:09:04 +01:00
Shakker
2176b2a578 test: tighten bundled metadata config assertions 2026-05-11 07:06:45 +01:00
Shakker
d6ee4989b3 test: tighten scheduled turn contract assertions 2026-05-11 07:04:52 +01:00
Shakker
384d74d951 test: tighten provider family sentinel assertions 2026-05-11 07:02:49 +01:00
Shakker
838956becd test: tighten provider auth manifest assertions 2026-05-11 07:00:58 +01:00
Shakker
ebe0f12b82 test: tighten llm hook assertions 2026-05-11 06:59:29 +01:00
Shakker
7e21db747d test: tighten after tool call hook assertions 2026-05-11 06:58:28 +01:00
Shakker
4593d3c6d2 test: tighten doctor contract registry assertions 2026-05-11 06:57:19 +01:00
Shakker
99a313ddc1 test: tighten dual-kind memory gate assertions 2026-05-11 06:54:46 +01:00
Shakker
e7e3ae6d8f test: tighten runtime model auth assertions 2026-05-11 06:51:58 +01:00
Shakker
b66c3b4fc3 test: tighten memory embedding provider assertions 2026-05-11 06:49:57 +01:00
Shakker
c7f9595bd8 test: tighten memory runtime loader assertions 2026-05-11 06:48:47 +01:00
Shakker
127eae2792 test: tighten host hook cleanup assertion 2026-05-11 06:46:21 +01:00
Shakker
a27dfe5198 test: tighten config boundary guard assertions 2026-05-11 06:44:53 +01:00
Shakker
b0e6a24782 test: tighten provider install catalog assertions 2026-05-11 06:43:46 +01:00
Shakker
5a60f9d4e0 test: tighten provider auth choice assertions 2026-05-11 06:42:31 +01:00
Shakker
0d92a76232 test: tighten Claude bundle inspect assertions 2026-05-11 06:41:17 +01:00
Shakker
d03772b1e5 test: tighten plugin file install hook payload assertion 2026-05-11 06:39:39 +01:00
Shakker
a3479c3ff8 test: tighten bundle loader capability assertions 2026-05-11 06:38:26 +01:00
Shakker
a6bf7a2a89 test: tighten bundled capability snapshot assertion 2026-05-11 06:37:32 +01:00
Shakker
962149e455 test: tighten bundle command assertions 2026-05-11 06:35:41 +01:00
Shakker
7c3af7fd43 test: tighten plugin config schema assertions 2026-05-11 06:35:04 +01:00
Peter Steinberger
b7db08f54e fix: normalize nested gemini preview config refs 2026-05-11 06:34:48 +01:00
Shakker
2d65786d8c test: tighten doctor load-path policy assertion 2026-05-11 06:34:13 +01:00
Shakker
59f2ef0499 test: tighten hook approval assertions 2026-05-11 06:33:41 +01:00
Shakker
b68e39fb18 test: tighten external plugin catalog assertion 2026-05-11 06:31:21 +01:00
Shakker
6e318f8aec test: tighten bundled metadata package assertion 2026-05-11 06:29:14 +01:00
Peter Steinberger
fd38a8a36d test: relax provider normalization expectations 2026-05-11 06:27:17 +01:00
Peter Steinberger
ebbdeab270 test: avoid bundle manifest helper name collision 2026-05-11 06:27:17 +01:00