fix(plugin-sdk): restore memory core alias

This commit is contained in:
Vincent Koc
2026-05-14 12:50:22 +08:00
committed by GitHub
parent 6db2ee6583
commit fe89243c3b
7 changed files with 20 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ Docs: https://docs.openclaw.ai
- Codex app-server: project bundle and user MCP servers into Codex threads, rotate threads when an MCP server is disabled, scope bundle MCP injection to bundled servers, and resend user MCP config on resume so MCP changes take effect mid-session without restarting the agent. (#81551) Thanks @jalehman.
- Codex migration: invoke the managed Codex binary instead of a stale system `codex` for source-config migration plans, so users running the bundled Codex runtime get plan output that matches the binary the gateway will actually use. (#81582) Thanks @fuller-stack-dev.
- Subagents/maintenance: preserve pending subagent registry sessions during session-store cleanup, pruning, and disk-budget enforcement so in-flight subagent runs are not deleted by background maintenance before they complete. (#81498) Thanks @ai-hpc.
- Plugin SDK: restore the deprecated `openclaw/plugin-sdk/memory-core` package subpath as an alias of `memory-host-core`, so published memory companion plugins that still import it resolve on current hosts.
- Control UI/chat: reconcile terminal and reconnect run cleanup with cached session activity, stale compaction/fallback indicators, and a compact composer run-status chip so completed or interrupted turns do not leave Stop active. Fixes #76874 and #64220; refs #71630. Thanks @BunsDev.
- Maintainer tooling: clarify which pnpm test/check commands are safe locally versus inside Codex worktrees, routing linked-worktree gates through node wrappers and Crabbox/Testbox.
- Auto-reply: preserve same-key ordering when debounced inbound work falls back to immediate flushes, so follow-up turns cannot overtake an active buffered flush.

View File

@@ -1,2 +1,2 @@
3468877af0d3fe749812abc6d4852194b07f3468533fd0fee2772dd26c4e62fe plugin-sdk-api-baseline.json
2b880b2509bd9a02566b003a4cded1c556245f3625aa13fb3013fa16114ab75a plugin-sdk-api-baseline.jsonl
78463c11b4045fa1308df0a73f9dbdc1cba613fb33890facf42355a57092f039 plugin-sdk-api-baseline.json
4fd677ccad0738831e75f70c704d7092346bb32117d872c6c927d341fcab7b7b plugin-sdk-api-baseline.jsonl

View File

@@ -1019,6 +1019,10 @@
"types": "./dist/plugin-sdk/qa-runner-runtime.d.ts",
"default": "./dist/plugin-sdk/qa-runner-runtime.js"
},
"./plugin-sdk/memory-core": {
"types": "./dist/plugin-sdk/memory-core.d.ts",
"default": "./dist/plugin-sdk/memory-core.js"
},
"./plugin-sdk/memory-core-engine-runtime": {
"types": "./dist/plugin-sdk/memory-core-engine-runtime.d.ts",
"default": "./dist/plugin-sdk/memory-core-engine-runtime.js"

View File

@@ -19,6 +19,7 @@
"matrix",
"mattermost",
"media-generation-runtime-shared",
"memory-core",
"memory-core-engine-runtime",
"memory-core-host-events",
"memory-core-host-multimodal",

View File

@@ -231,6 +231,7 @@
"persistent-dedupe",
"keyed-async-queue",
"qa-runner-runtime",
"memory-core",
"memory-core-engine-runtime",
"memory-core-host-engine-embeddings",
"memory-core-host-engine-foundation",

View File

@@ -0,0 +1,5 @@
/**
* @deprecated Use `openclaw/plugin-sdk/memory-host-core` for vendor-neutral
* memory host helpers.
*/
export * from "./memory-host-core.js";

View File

@@ -8,6 +8,7 @@ import {
buildActiveMemoryPromptSection,
listActiveMemoryPublicArtifacts,
} from "./memory-host-core.js";
import * as memoryCoreAlias from "./memory-core.js";
describe("memory-host-core helpers", () => {
afterEach(() => {
@@ -58,4 +59,9 @@ describe("memory-host-core helpers", () => {
},
]);
});
it("keeps the deprecated memory-core alias wired to memory-host-core", () => {
expect(memoryCoreAlias.buildActiveMemoryPromptSection).toBe(buildActiveMemoryPromptSection);
expect(memoryCoreAlias.listActiveMemoryPublicArtifacts).toBe(listActiveMemoryPublicArtifacts);
});
});