mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 21:30:42 +00:00
test: trim skills and bundle mcp overhead
This commit is contained in:
@@ -13,7 +13,11 @@ import {
|
||||
mergeBundlePathLists,
|
||||
normalizeBundlePathList,
|
||||
} from "./bundle-manifest.js";
|
||||
import { normalizePluginsConfig, resolveEffectivePluginActivationState } from "./config-state.js";
|
||||
import {
|
||||
hasExplicitPluginConfig,
|
||||
normalizePluginsConfig,
|
||||
resolveEffectivePluginActivationState,
|
||||
} from "./config-state.js";
|
||||
import { loadPluginManifestRegistry } from "./manifest-registry.js";
|
||||
|
||||
export type ClaudeBundleCommandSpec = {
|
||||
@@ -169,6 +173,9 @@ export function loadEnabledClaudeBundleCommands(params: {
|
||||
workspaceDir: string;
|
||||
cfg?: OpenClawConfig;
|
||||
}): ClaudeBundleCommandSpec[] {
|
||||
if (!hasExplicitPluginConfig(params.cfg?.plugins)) {
|
||||
return [];
|
||||
}
|
||||
const registry = loadPluginManifestRegistry({
|
||||
workspaceDir: params.workspaceDir,
|
||||
config: params.cfg,
|
||||
|
||||
Reference in New Issue
Block a user