Tak Hoffman
16e055c083
restore extension-api backward compatibility with migration warning
2026-03-20 13:27:30 -05:00
Vincent Koc
0fae764f10
test(plugins): use sync jiti regression path
2026-03-20 01:12:05 -07:00
Vincent Koc
95f890a8b2
test(plugins): relax jiti error string assertions
2026-03-20 01:07:29 -07:00
Vincent Koc
f0a0a6a5b4
test(plugins): isolate git path alias regression
2026-03-20 00:57:25 -07:00
Vincent Koc
9f8af3604d
fix(ci): split slow plugin loader regression test
2026-03-20 00:28:04 -07:00
Vincent Koc
dfc157e1a2
test(plugins): trim loader regression harness churn
2026-03-20 00:06:12 -07:00
Vincent Koc
f3971571fe
fix(plugins): fail strict bootstrap on plugin load errors
2026-03-19 16:07:53 -07:00
Vincent Koc
d80b83e8e3
fix(plugins): scope sdk aliases to loaded module paths
2026-03-19 15:25:54 -07:00
Josh Avant
a2a9a553e1
Stabilize plugin loader and Docker extension smoke ( #50058 )
...
* Plugins: stabilize Area 6 loader and Docker smoke
* Docker: fail fast on extension npm install errors
* Tests: stabilize loader non-native Jiti boundary CI timeout
* Tests: stabilize plugin loader Jiti source-runtime coverage
* Docker: keep extension deps on lockfile graph
* Tests: cover tsx-cache renamed package cwd fallback
* Tests: stabilize plugin-sdk export subpath assertions
* Plugins: align tsx-cache alias fallback with subpath fallback
* Tests: normalize guardrail path checks for Windows
* Plugins: restrict plugin-sdk cwd fallback to trusted roots
* Tests: exempt outbound-session from extension import guard
* Tests: tighten guardrails and cli-entry trust coverage
* Tests: guard optional loader fixture exports
* Tests: make loader fixture package exports null-safe
* Tests: make loader fixture package exports null-safe
* Tests: make loader fixture package exports null-safe
* changelog
Signed-off-by: joshavant <830519+joshavant@users.noreply.github.com>
---------
Signed-off-by: joshavant <830519+joshavant@users.noreply.github.com>
2026-03-18 23:35:32 -05:00
Peter Steinberger
83c5bc946d
fix: restore full gate stability
2026-03-19 03:36:03 +00:00
Peter Steinberger
3d8afb96bd
fix: use transpiled jiti for source plugin shims
2026-03-18 16:24:45 +00:00
Peter Steinberger
a724bbce1a
feat: add bundled Chutes extension ( #49136 )
...
* refactor: generalize bundled provider discovery seams
* feat: land chutes extension via plugin-owned auth (#41416 ) (thanks @Veightor)
2026-03-17 09:35:21 -07:00
Peter Steinberger
9f8cf7f71a
test: stabilize full gate
2026-03-17 16:21:59 +00:00
Peter Steinberger
b7dc23b403
test: merge loader cache miss cases
2026-03-17 16:21:59 +00:00
Peter Steinberger
5311d48c66
test: merge loader scoped load cases
2026-03-17 16:21:59 +00:00
Peter Steinberger
477cea7709
test: merge loader memory slot cases
2026-03-17 16:21:59 +00:00
Peter Steinberger
d49c1688f7
test: merge loader bundled telegram cases
2026-03-17 16:21:58 +00:00
Peter Steinberger
6372062be4
test: merge loader provenance warning cases
2026-03-17 16:21:58 +00:00
Peter Steinberger
909ec6b416
test: merge loader workspace warning cases
2026-03-17 16:21:58 +00:00
Peter Steinberger
c21654e1b9
test: merge loader precedence cases
2026-03-17 16:21:58 +00:00
Peter Steinberger
1a3bde81d8
test: merge loader single-plugin registration cases
2026-03-17 16:21:58 +00:00
Peter Steinberger
2c073e7bcb
test: merge loader http route cases
2026-03-17 16:21:58 +00:00
Peter Steinberger
d988e39fc7
test: merge loader duplicate registration cases
2026-03-17 16:21:58 +00:00
Peter Steinberger
bf22e9461e
test: merge loader alias resolution cases
2026-03-17 16:21:58 +00:00
Peter Steinberger
444e3eb9e3
test: merge loader escape path cases
2026-03-17 16:21:58 +00:00
Peter Steinberger
790747478e
test: merge loader provenance path cases
2026-03-17 16:21:58 +00:00
Peter Steinberger
9c086f26a0
test: merge loader setup entry matrix
2026-03-17 16:21:58 +00:00
Peter Steinberger
34460f24b8
test: merge loader cache partition cases
2026-03-17 16:21:58 +00:00
Peter Steinberger
7c3efaeccf
test: merge bundle loader fixture cases
2026-03-17 16:21:58 +00:00
Chris Kimpton
f404ff32d5
tests: add missing useNoBundledPlugins() to bundle MCP loader test
...
The "treats bundle MCP as a supported bundle surface" test was missing
the useNoBundledPlugins() call present in all surrounding bundle plugin
tests. Without it, loadOpenClawPlugins() scanned and loaded the full
real bundled plugins directory on every call (with cache:false), causing
excessive memory pressure and an OOM crash on Linux CI, which manifested
as the test timing out at 120s.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 15:49:08 +05:30
Vincent Koc
06459ca0df
Agents: run bundle MCP tools in embedded Pi ( #48611 )
...
* Agents: run bundle MCP tools in embedded Pi
* Plugins: fix bundle MCP path resolution
* Plugins: warn on unsupported bundle MCP transports
* Commands: add embedded Pi MCP management
* Config: move MCP management to top-level config
2026-03-16 21:46:05 -07:00
Vincent Koc
9c80d717bc
Tests: pin loader command activation semantics
2026-03-16 18:40:50 -07:00
Harold Hunt
94c27f34a1
fix(plugins): keep built plugin loading on one module graph ( #48595 )
2026-03-16 20:58:58 -04:00
Josh Lehman
eeb140b4f0
fix(plugins): late-binding subagent runtime for non-gateway load paths ( #46648 )
...
Merged via squash.
Prepared head SHA: 44742652c9ac2eec82a6d958fd77f84ba1d29c0a
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
2026-03-16 14:27:54 -07:00
Tak Hoffman
2de28379dd
Plugins: remove public extension-api surface ( #48462 )
...
* Plugins: remove public extension-api surface
* Plugins: fix loader setup routing follow-ups
* CI: ignore non-extension helper dirs in extension-fast
* Docs: note extension-api removal as breaking
2026-03-16 15:51:08 -05:00
Gustavo Madeira Santana
96ed010a37
Gateway: gate deferred channel startup behind opt-in
2026-03-16 13:55:53 +00:00
Gustavo Madeira Santana
1b234b910b
Gateway: defer full channel plugins until after listen
2026-03-16 13:31:20 +00:00
Gustavo Madeira Santana
4c8853122a
Plugins: preserve lazy runtime provider resolution
2026-03-16 11:52:50 +00:00
Gustavo Madeira Santana
fdfa98cda8
Tests: isolate bundle surface fixtures
2026-03-16 11:03:17 +00:00
Gustavo Madeira Santana
d61c08efbb
Tests: scope Codex bundle loader fixture
2026-03-16 10:48:42 +00:00
Peter Steinberger
69c12c2b11
fix(plugins): resolve lazy runtime from package root
2026-03-16 05:12:30 +00:00
Peter Steinberger
0218045818
test: silence vitest warning noise
2026-03-15 21:02:31 -07:00
Peter Steinberger
acae0b60c2
perf(plugins): lazy-load channel setup entrypoints
2026-03-15 19:27:55 -07:00
Peter Steinberger
fb991e6f31
perf(plugins): lazy-load setup surfaces
2026-03-15 18:46:54 -07:00
Mason
f4cc93dc7d
fix(onboarding): use scoped plugin snapshots to prevent OOM on low-memory hosts ( #46763 )
...
* fix(onboarding): use scoped plugin snapshots to prevent OOM on low-memory hosts
Onboarding and channel-add flows previously loaded the full plugin registry,
which caused OOM crashes on memory-constrained hosts. This patch introduces
scoped, non-activating plugin registry snapshots that load only the selected
channel plugin without replacing the running gateway's global state.
Key changes:
- Add onlyPluginIds and activate options to loadOpenClawPlugins for scoped loads
- Add suppressGlobalCommands to plugin registry to avoid leaking commands
- Replace full registry reloads in onboarding with per-channel scoped snapshots
- Validate command definitions in snapshot loads without writing global registry
- Preload configured external plugins via scoped discovery during onboarding
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(test): add return type annotation to hoisted mock to resolve TS2322
* fix(plugins): enforce cache:false invariant for non-activating snapshot loads
* Channels: preserve lazy scoped snapshot import after rebase
* Onboarding: scope channel snapshots by plugin id
* Catalog: trust manifest ids for channel plugin mapping
* Onboarding: preserve scoped setup channel loading
* Onboarding: restore built-in adapter fallback
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-03-15 16:52:08 -07:00
Peter Steinberger
dd40741e18
feat(plugins): add compatible bundle support
2026-03-15 16:08:50 -07:00
Vincent Koc
51631e5797
Plugins: reserve context engine ownership
2026-03-15 12:27:29 -07:00
Nimrod Gutman
e2dac5d5cb
fix(plugins): load bundled extensions from dist ( #47560 )
2026-03-15 21:16:27 +02:00
xiaoyi
bbb0c3e5d7
CLI/completion: fix generator OOM and harden plugin registries ( #45537 )
...
* fix: avoid OOM during completion script generation
* CLI/completion: fix PowerShell nested command paths
* CLI/completion: cover generated shell scripts
* Changelog: note completion generator follow-up
* Plugins: reserve shared registry names
---------
Co-authored-by: Xiaoyi <xiaoyi@example.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-03-15 12:14:30 -07:00
Vincent Koc
8d44b16b7c
Plugins: preserve scoped ids and reserve bundled duplicates ( #47413 )
...
* Plugins: preserve scoped ids and reserve bundled duplicates
* Changelog: add plugin scoped id note
* Plugins: harden scoped install ids
* Plugins: reserve scoped install dirs
* Plugins: migrate legacy scoped update ids
2026-03-15 09:07:10 -07:00