openclaw/extensions
Josh Lehman 2364e45fe4
test: align extension runtime mocks with plugin-sdk (#51289)
* test: align extension runtime mocks with plugin-sdk

Update stale extension tests to mock the plugin-sdk runtime barrels that production code now imports, and harden the Signal tool-result harness around system-event assertions so the channels lane matches current extension boundaries.

Regeneration-Prompt: |
  Verify the failing channels-lane tests against current origin/main in an isolated worktree before changing anything. If the failures reproduce on main, keep the fix test-only unless production behavior is clearly wrong. Recent extension refactors moved Telegram, WhatsApp, and Signal code onto plugin-sdk runtime barrels, so update stale tests that still mock old core module paths to intercept the seams production code now uses. For Signal reaction notifications, avoid brittle assertions that depend on shared queued system-event state when a direct harness spy on enqueue behavior is sufficient. Preserve scope: only touch the failing tests and their local harness, then rerun the reproduced targeted tests plus the full channels lane and repo check gate.

* test: fix extension test drift on main

* fix: lazy-load bundled web search plugin registry

* test: make matrix sweeper failure injection portable

* fix: split heavy matrix runtime-api seams

* fix: simplify bundled web search id lookup

* test: tolerate windows env key casing
2026-03-20 15:59:53 -07:00
..
acpx refactor(plugin-sdk): formalize runtime contract barrels 2026-03-20 09:30:34 -07:00
amazon-bedrock fix(plugin-sdk): isolate provider entry surfaces 2026-03-18 13:20:46 -07:00
anthropic refactor: dedupe bundled plugin entrypoints 2026-03-17 00:14:12 -07:00
anthropic-vertex feat: add anthropic-vertex provider for Claude via GCP Vertex AI (#43356) 2026-03-20 18:48:42 -04:00
bluebubbles test: align extension runtime mocks with plugin-sdk (#51289) 2026-03-20 15:59:53 -07:00
brave refactor(web-search): share scoped provider config plumbing 2026-03-19 23:52:53 -07:00
byteplus refactor: dedupe bundled plugin entrypoints 2026-03-17 00:14:12 -07:00
chutes refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
cloudflare-ai-gateway refactor: dedupe bundled plugin entrypoints 2026-03-17 00:14:12 -07:00
copilot-proxy refactor: prune bundled sdk facades 2026-03-19 07:17:04 +00:00
device-pair refactor: shrink sdk helper surfaces 2026-03-20 15:43:14 +00:00
diagnostics-otel fix(release): isolate config doc surfaces and sdk exports 2026-03-18 17:14:15 -07:00
diffs Diffs: route plugin context through artifacts 2026-03-19 00:24:00 -04:00
discord fix: pass full sdk gate 2026-03-20 19:24:10 +00:00
elevenlabs refactor: dedupe bundled plugin entrypoints 2026-03-17 00:14:12 -07:00
fal Image generation: add fal provider (#49454) 2026-03-17 21:35:13 -07:00
feishu refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
firecrawl refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
github-copilot Plugin SDK: split provider auth login seam 2026-03-18 02:04:10 -07:00
google refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
googlechat refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
huggingface refactor: unify plugin sdk primitives 2026-03-18 23:58:56 +00:00
imessage refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
irc refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
kilocode refactor: converge plugin sdk channel helpers 2026-03-19 00:25:19 +00:00
kimi-coding refactor: unify plugin sdk primitives 2026-03-18 23:58:56 +00:00
line fix: pass full sdk gate 2026-03-20 19:24:10 +00:00
llm-task fix: restore full gate stability 2026-03-19 03:36:03 +00:00
lobster refactor(plugin-sdk): formalize runtime contract barrels 2026-03-20 09:30:34 -07:00
matrix test: align extension runtime mocks with plugin-sdk (#51289) 2026-03-20 15:59:53 -07:00
mattermost refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
memory-core refactor: dedupe bundled plugin entrypoints 2026-03-17 00:14:12 -07:00
memory-lancedb refactor: install heavy plugins on demand 2026-03-19 03:37:30 +00:00
microsoft refactor: dedupe bundled plugin entrypoints 2026-03-17 00:14:12 -07:00
minimax refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
mistral refactor: unify plugin sdk primitives 2026-03-18 23:58:56 +00:00
modelstudio refactor: unify plugin sdk primitives 2026-03-18 23:58:56 +00:00
moonshot refactor(web-search): share scoped provider config plumbing 2026-03-19 23:52:53 -07:00
msteams refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
nextcloud-talk refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
nostr refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
nvidia refactor: dedupe bundled plugin entrypoints 2026-03-17 00:14:12 -07:00
ollama fix: preserve interactive Ollama model selection (#49249) (thanks @BruceMacD) 2026-03-18 18:02:44 -07:00
open-prose refactor: prune bundled sdk facades 2026-03-19 07:17:04 +00:00
openai test(openai): cover bundle media surfaces 2026-03-20 15:53:12 -07:00
opencode refactor: unify plugin sdk primitives 2026-03-18 23:58:56 +00:00
opencode-go refactor: unify plugin sdk primitives 2026-03-18 23:58:56 +00:00
openrouter test(openrouter): add live plugin coverage 2026-03-20 15:36:34 -07:00
openshell Plugin SDK: split setup and sandbox subpaths 2026-03-16 12:06:32 +00:00
perplexity refactor(web-search): share scoped provider config plumbing 2026-03-19 23:52:53 -07:00
phone-control refactor: shrink sdk helper surfaces 2026-03-20 15:43:14 +00:00
qianfan refactor: unify plugin sdk primitives 2026-03-18 23:58:56 +00:00
qwen-portal-auth refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
sglang refactor: dedupe bundled plugin entrypoints 2026-03-17 00:14:12 -07:00
shared refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
signal test: align extension runtime mocks with plugin-sdk (#51289) 2026-03-20 15:59:53 -07:00
slack refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
synology-chat refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
synthetic refactor: unify plugin sdk primitives 2026-03-18 23:58:56 +00:00
talk-voice refactor: prune bundled sdk facades 2026-03-19 07:17:04 +00:00
tavily Web: derive search provider metadata from plugin contracts (#50935) 2026-03-20 12:41:04 -07:00
telegram test: align extension runtime mocks with plugin-sdk (#51289) 2026-03-20 15:59:53 -07:00
thread-ownership fix(release): isolate config doc surfaces and sdk exports 2026-03-18 17:14:15 -07:00
tlon refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
together refactor: unify plugin sdk primitives 2026-03-18 23:58:56 +00:00
twitch refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
venice refactor: unify plugin sdk primitives 2026-03-18 23:58:56 +00:00
vercel-ai-gateway refactor: dedupe bundled plugin entrypoints 2026-03-17 00:14:12 -07:00
vllm refactor: dedupe bundled plugin entrypoints 2026-03-17 00:14:12 -07:00
voice-call refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
volcengine refactor: dedupe bundled plugin entrypoints 2026-03-17 00:14:12 -07:00
whatsapp test: align extension runtime mocks with plugin-sdk (#51289) 2026-03-20 15:59:53 -07:00
xai Add Grok 4.20 reasoning and non-reasoning to xAI model catalog (#50772) 2026-03-20 15:28:30 -04:00
xiaomi feat(xiaomi): add MiMo V2 Pro and MiMo V2 Omni models, switch to OpenAI completions API (#49214) 2026-03-19 19:26:47 -07:00
zai refactor(plugin-sdk): formalize runtime contract barrels 2026-03-20 09:30:34 -07:00
zalo refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
zalouser refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
.npmignore