mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-06 23:01:08 +00:00
25 lines
609 B
TypeScript
25 lines
609 B
TypeScript
import { definePluginEntry } from "openclaw/plugin-sdk/core";
|
|
|
|
export default definePluginEntry({
|
|
id: "memory-core",
|
|
name: "Memory (Core)",
|
|
description: "File-backed memory search tools and CLI",
|
|
register(api) {
|
|
api.registerCli(
|
|
async ({ program }) => {
|
|
const { registerMemoryCli } = await import("./src/cli.js");
|
|
registerMemoryCli(program);
|
|
},
|
|
{
|
|
descriptors: [
|
|
{
|
|
name: "memory",
|
|
description: "Search, inspect, and reindex memory files",
|
|
hasSubcommands: true,
|
|
},
|
|
],
|
|
},
|
|
);
|
|
},
|
|
});
|