diff --git a/src/cli/memory-cli.ts b/src/cli/memory-cli.ts index 9c09e95a7..ac91e0d6e 100644 --- a/src/cli/memory-cli.ts +++ b/src/cli/memory-cli.ts @@ -91,6 +91,10 @@ export function registerMemoryCli(program: Command) { ); return; } + if (opts.index) { + const line = indexError ? `Memory index failed: ${indexError}` : "Memory index complete."; + defaultRuntime.log(line); + } const rich = isRich(); const heading = (text: string) => colorize(rich, theme.heading, text); const muted = (text: string) => colorize(rich, theme.muted, text);