fix: explain disabled plugin command aliases

Preserve enabled-by-default metadata for manifest command aliases so missing CLI command diagnostics can point users at the parent bundled plugin and the `openclaw plugins enable <plugin>` repair path.

Also carries the current-main deadcode allowlist entry for the command-analysis barrel that blocked CI.

Verified:
- pnpm test src/cli/run-main.test.ts src/plugins/manifest-command-aliases.test.ts
- pnpm deadcode:unused-files
- pnpm exec oxfmt --check --threads=1 scripts/deadcode-unused-files.allowlist.mjs CHANGELOG.md src/cli/run-main-policy.ts src/cli/run-main.test.ts src/plugins/manifest-command-aliases.ts src/plugins/manifest-command-aliases.test.ts
- git diff --check
- PR CI on 6076ff2d52 green, ignoring cancelled auto-response per landing matrix
This commit is contained in:
Peter Steinberger
2026-05-03 18:19:50 +01:00
committed by GitHub
parent 7857dfabcc
commit d763b83854
6 changed files with 71 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ export const KNIP_UNUSED_FILE_ALLOWLIST = [
"src/gateway/gateway-cli-backend.live-probe-helpers.ts",
"src/gateway/gateway-codex-harness.live-helpers.ts",
"src/infra/changelog-unreleased.ts",
"src/infra/command-analysis/index.ts",
"src/mcp/openclaw-tools-serve.ts",
"src/mcp/plugin-tools-handlers.ts",
"src/mcp/plugin-tools-serve.ts",