mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-02 13:21:43 +00:00
8 lines
371 B
TypeScript
8 lines
371 B
TypeScript
import { getRootOptionAwareCommandPath } from "openclaw/plugin-sdk/cli-argv";
|
|
|
|
/** LanceDB inspection commands emit JSON as their only presentation. */
|
|
export function isMemoryMachineOutput(params: { argv: readonly string[] }): boolean {
|
|
const [, command] = getRootOptionAwareCommandPath(params.argv, 2);
|
|
return ["list", "query", "search"].includes(command ?? "");
|
|
}
|