fix(build): add stable memory-cli dist entry (#51759)

Co-authored-by: oliviareid-svg <269669958+oliviareid-svg@users.noreply.github.com>
Co-authored-by: Frank <vibespecs@gmail.com>
This commit is contained in:
oliviareid-svg
2026-03-23 13:11:06 +08:00
committed by GitHub
parent 91f2c92960
commit 5ff60cc39f
3 changed files with 6 additions and 0 deletions

View File

@@ -169,6 +169,10 @@ function buildCoreDistEntries(): Record<string, string> {
entry: "src/entry.ts",
// Ensure this module is bundled as an entry so legacy CLI shims can resolve its exports.
"cli/daemon-cli": "src/cli/daemon-cli.ts",
// Ensure memory-cli is a stable entry so the runtime tools plugin can import
// it by a deterministic path instead of a content-hashed chunk name.
// See https://github.com/openclaw/openclaw/issues/51676
"cli/memory-cli": "src/cli/memory-cli.ts",
extensionAPI: "src/extensionAPI.ts",
"infra/warning-filter": "src/infra/warning-filter.ts",
"telegram/audit": "extensions/telegram/src/audit.ts",