Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/openclaw/openclaw.plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
"type": "array",
"items": {
"type": "string",
"enum": ["profile", "semantic", "procedural", "working", "tool_result"]
"enum": ["profile", "semantic", "episodic", "procedural", "working", "tool_result"]
}
},
"observeTailMessages": {
Expand Down
19 changes: 19 additions & 0 deletions plugins/openclaw/openclaw/__tests__/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Group 1: Config & Onboarding
* "Can a user configure the plugin correctly?"
*/
import { readFileSync } from "node:fs";
import { describe, it, expect, beforeEach, afterEach } from "vitest";
import {
parseMemoriaPluginConfig,
Expand Down Expand Up @@ -170,4 +171,22 @@ describe("Group 1: Config & Onboarding", () => {
memoriaRoot: "/opt/memoria",
})).not.toThrow();
});

it("1.19 accepts episodic memories in retrieval filters", () => {
const config = parseMemoriaPluginConfig({
retrieveMemoryTypes: ["episodic"],
});

expect(config.retrieveMemoryTypes).toEqual(["episodic"]);
});

it("1.20 advertises episodic retrieval filters in the plugin manifest", () => {
const manifest = JSON.parse(
readFileSync(new URL("../../openclaw.plugin.json", import.meta.url), "utf8"),
);

expect(
manifest.configSchema.properties.retrieveMemoryTypes.items.enum,
).toContain("episodic");
});
});
1 change: 1 addition & 0 deletions plugins/openclaw/openclaw/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import type { OpenClawPluginConfigSchema } from "openclaw/plugin-sdk";
export const MEMORIA_MEMORY_TYPES = [
"profile",
"semantic",
"episodic",
"procedural",
"working",
"tool_result",
Expand Down
Loading