Commit Graph

55 Commits

Author SHA1 Message Date
Conan-Scott
8ebf86cdff fix(plugins): preserve external capability provider fallback (#76536)
* fix(plugins): preserve external capability provider fallback

* docs: move changelog entry to avoid merge conflict

---------

Co-authored-by: Clawdbot <clawdbot@apilab.us>
2026-05-03 13:22:34 +01:00
DmitryPogodaev
8283c5d6cc perf(plugins): reuse startup runtime registry
Reuse the startup runtime plugin registry across provider/tool helper paths while preserving standalone CLI/MCP fallback loading.

Includes follow-up fixes for migration/provider/tool registry bootstrap and regression coverage for compatible registry reuse.

Co-authored-by: DmitryPogodaev <pogodaev.dm@gmail.com>
2026-05-02 13:44:49 +01:00
Peter Steinberger
701811e013 test: align runtime fixture expectations 2026-05-02 10:41:42 +01:00
Peter Steinberger
314a197da9 refactor: hide gateway wake internals 2026-05-02 08:49:23 +01:00
Peter Steinberger
267c6e6edb test: align metadata runtime fixtures 2026-05-02 08:46:45 +01:00
Peter Steinberger
eaf1f53d60 fix: stabilize plugin metadata release checks 2026-05-02 07:27:27 +01:00
Shakker
3cf1dd982b fix: gate plugin tools from manifest availability 2026-05-02 06:21:08 +01:00
Shakker
d94889909c test: align manifest hot path fixtures 2026-05-02 06:21:08 +01:00
Shakker
dfde770a3a fix: preserve external capability providers 2026-05-02 06:21:07 +01:00
Shakker
1a6d891132 perf: use plugin metadata snapshot for media tool lookups 2026-05-02 06:21:07 +01:00
Peter Steinberger
ed8f50f240 refactor: simplify plugin dependency handling
Simplify plugin installation and runtime loading around package-manager-owned dependencies, with Jiti reserved for local/TS fallback paths.

Also scans npm plugin install roots so hoisted transitive dependencies are covered by dependency denylist and node_modules symlink checks.
2026-05-01 21:32:22 +01:00
Vincent Koc
132b3e3940 fix(plugins): preserve requested speech fallback 2026-05-01 04:56:12 -07:00
Peter Steinberger
f3d5c54884 fix: keep configured media STT providers registered 2026-05-01 11:38:07 +01:00
Peter Steinberger
29ed5266bf fix: keep runtime deps repair out of hot paths 2026-05-01 09:26:45 +01:00
clawsweeper[bot]
8b51d1fdc2 fix(plugins): keep disabled-plugin guard for non-speech providers
Co-authored-by: openclaw-clawsweeper[bot] <280122609+openclaw-clawsweeper[bot]@users.noreply.github.com>
2026-04-30 22:45:12 -07:00
Ayaan Zaidi
60bdb96f2c fix(tools): defer media generation provider discovery 2026-05-01 08:33:02 +05:30
Vincent Koc
1d74ecd71f fix(plugins): restore disabled TTS provider fallback 2026-04-30 14:35:00 -07:00
clawsweeper[bot]
554b32feea fix: change disables bundled dependency repair when plugins.enabled: false, but the same fall... (#74916)
Co-authored-by: openclaw-clawsweeper[bot] <280122609+openclaw-clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-04-30 00:13:52 -07:00
clawsweeper[bot]
6dbaa0a278 fix(plugins): keep disabled plugin runtime deps off
Co-authored-by: openclaw-clawsweeper[bot] <280122609+openclaw-clawsweeper[bot]@users.noreply.github.com>
2026-04-29 23:15:47 -07:00
clawsweeper[bot]
1ff1fbe682 fix(plugins): honor runtime deps fallback install option
Co-authored-by: openclaw-clawsweeper[bot] <280122609+openclaw-clawsweeper[bot]@users.noreply.github.com>
2026-04-29 22:28:15 -07:00
Peter Steinberger
94cb213544 fix: stabilize full release validation 2026-04-30 04:55:23 +01:00
brokemac79
20c7a98fb8 fix(plugins): keep provider discovery metadata-only
Fix startup and per-turn provider registry hot paths by keeping primary-model startup discovery on metadata-only provider entries and by keeping capability provider fallback loads scoped to manifest-derived owners, including explicit empty scopes when no bundled owner exists.

Evidence:
- Reproduces the reported code paths from #73729, #73835, and #73793: startup prewarm was able to enter provider/model discovery that loaded plugin runtime, and capability lookups could bypass active registry reuse or broaden fallback registry loads.
- Fix threads providerDiscoveryEntriesOnly through models-config planning into plugin discovery.
- Fix reuses active non-memory/non-speech capability providers even with explicit plugins.entries.
- Fix keeps fallback registry loads scoped with onlyPluginIds, including [] for no-owner media capability checks.
- Local targeted tests passed for gateway startup, models config, provider discovery, capability providers, and web provider runtimes.
- Testbox pnpm check:changed passed.
- Testbox pnpm build passed.
- GitHub CI required checks passed on e5e6fe1d52.

Fixes #73729.
Fixes #73835.
Fixes #73793.
Supersedes #73794.
2026-04-29 07:52:32 +01:00
Vincent Koc
7c7561f5a3 fix(plugins): scope capability provider snapshots 2026-04-28 22:19:34 -07:00
Peter Steinberger
e27fe55aa8 refactor: simplify plugin cache boundaries 2026-04-29 04:33:15 +01:00
Peter Steinberger
7a5b419843 refactor(plugins): simplify plugin cache boundaries 2026-04-29 03:52:22 +01:00
Shakker
e792f96a84 fix: cache capability provider manifest ids 2026-04-27 09:36:53 +01:00
Shakker
d955bf0ff8 fix: scope cold plugin manifests to index 2026-04-26 03:47:46 +01:00
Shakker
1a193b2d96 fix: scope cold plugin manifests to index 2026-04-26 03:47:45 +01:00
Vincent Koc
2235a13dab fix(plugins): resolve capability metadata cold 2026-04-25 19:43:07 -07:00
Peter Steinberger
c11730fd09 fix(tts): keep speech fallback discovery scoped 2026-04-25 05:38:45 +01:00
Jamil Zakirov
52267a6b75 fix(auto-reply): run message_sending before inbound delivery
Run inbound auto-reply delivery through message_sending hooks before sending replies.

Co-authored-by: Jamil Zakirov <15848838+jzakirov@users.noreply.github.com>
2026-04-25 10:07:35 +05:30
Peter Steinberger
73a6a2a6ab fix(tts): merge allowlisted speech providers 2026-04-25 04:20:04 +01:00
Gustavo Madeira Santana
d6c90b5af1 Tests: avoid memory-search cold plugin loads 2026-04-17 11:37:46 -04:00
Peter Steinberger
8ddd9b8aac perf: narrow plugin config test surfaces 2026-04-11 13:55:08 +01:00
Neerav Makwana
9a9dc1dbec fix: allowlist compat for capability provider fallback (#62234) (thanks @neeravmakwana)
* Plugins: allowlist compat for capability provider fallback (#62205)

* test: cover all capability fallback keys

---------

Co-authored-by: Ayaan Zaidi <hi@obviy.us>
2026-04-07 12:45:56 +05:30
Peter Steinberger
629baf5fa7 refactor: move plugin setup and memory capabilities to registries 2026-04-05 14:53:53 +01:00
Peter Steinberger
e3ac0f43df feat(qwen): add qwen provider and video generation 2026-04-04 19:34:56 +01:00
Peter Steinberger
a23ab9b906 refactor: move voice-call realtime providers into extensions 2026-04-04 12:07:23 +09:00
Nyx
dc21e3bb1e fix(plugins): reuse active registry during tool resolution (#52262)
Merged via squash.

Prepared head SHA: 55982a6be6
Co-authored-by: PerfectPan <24316656+PerfectPan@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
2026-04-03 17:16:33 -04:00
Peter Steinberger
6b6ddcd2a6 test: speed up core runtime suites 2026-03-31 02:25:02 +01:00
Ayaan Zaidi
c06dcf6b8b fix(plugins): preserve active capability providers 2026-03-28 15:46:24 +05:30
Peter Steinberger
48b2291b1e test: dedupe plugin provider runtime suites 2026-03-28 06:04:51 +00:00
Peter Steinberger
47b3bf8c89 test: drop unused capability test helper 2026-03-28 04:28:54 +00:00
Peter Steinberger
9155f3914a test: dedupe plugin provider helper suites 2026-03-28 04:28:54 +00:00
Gustavo Madeira Santana
286d6b388f Tests: remove stale runtime state setup 2026-03-28 00:25:14 -04:00
Gustavo Madeira Santana
ee7f5825c8 Plugins: share runtime registry resolution 2026-03-28 00:19:33 -04:00
Gustavo Madeira Santana
a00127bf5b Plugins: reuse compatible registries for runtime providers 2026-03-28 00:09:37 -04:00
Peter Steinberger
e74f206a68 test: dedupe plugin provider runtime suites 2026-03-28 04:02:34 +00:00
Peter Steinberger
b4c38c78f3 test: dedupe plugin provider runtime suites 2026-03-28 03:30:25 +00:00
Peter Steinberger
a9be5421d0 test: dedupe plugin provider runtime suites 2026-03-28 02:34:39 +00:00