mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-16 04:30:46 +00:00
feat(tokenjuice): bundle the native adapter (#69946)
* feat(plugins): register embedded extension factories * feat(tokenjuice): bundle the native adapter * fix(tokenjuice): gate the bundled embedded extension seam * fix(tokenjuice): refresh runtime sidecar baseline * fix(plugins): harden bundled embedded extensions * fix(plugins): install source bundled runtime deps * fix(tokenjuice): sync lockfile importer * fix(plugins): validate reused runtime dep versions * fix(plugins): restore tokenjuice CI contract * fix(plugins): remove tokenjuice dts bridge * fix(tokenjuice): repair openclaw type shim * fix(plugins): harden bundled runtime deps * fix(plugins): keep source checkout runtime deps local * fix(plugins): isolate bundled runtime dep installs * fix(cli): keep plugin startup registration non-activating * fix(cli): keep loader overrides out of plugin cli options
This commit is contained in:
@@ -108,14 +108,16 @@ export async function loadPluginCliCommandRegistryWithContext(params: {
|
||||
primaryCommand?: string;
|
||||
loaderOptions?: PluginCliLoaderOptions;
|
||||
}): Promise<PluginCliRegistryLoadResult> {
|
||||
const onlyPluginIds = resolvePrimaryCommandPluginIds(params.context, params.primaryCommand);
|
||||
return {
|
||||
...params.context,
|
||||
registry: loadOpenClawPlugins(
|
||||
buildPluginCliLoaderParams(
|
||||
params.context,
|
||||
{ primaryCommand: params.primaryCommand },
|
||||
params.loaderOptions,
|
||||
),
|
||||
buildPluginRuntimeLoadOptions(params.context, {
|
||||
...params.loaderOptions,
|
||||
...(onlyPluginIds.length > 0 ? { onlyPluginIds } : {}),
|
||||
activate: false,
|
||||
cache: false,
|
||||
}),
|
||||
),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user