mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-02 08:21:35 +00:00
22 lines
612 B
TypeScript
22 lines
612 B
TypeScript
// Memory Lancedb plugin module implements cli metadata behavior.
|
|
import { definePluginEntry } from "openclaw/plugin-sdk/core";
|
|
import { isMemoryMachineOutput } from "./cli-output-mode.js";
|
|
|
|
export default definePluginEntry({
|
|
id: "memory-lancedb",
|
|
name: "Memory LanceDB",
|
|
description: "LanceDB-backed memory provider",
|
|
register(api) {
|
|
api.registerCli(() => {}, {
|
|
descriptors: [
|
|
{
|
|
name: "ltm",
|
|
description: "Inspect and query LanceDB-backed memory",
|
|
hasSubcommands: true,
|
|
machineOutput: isMemoryMachineOutput,
|
|
},
|
|
],
|
|
});
|
|
},
|
|
});
|