Files
oh-my-pi/packages/coding-agent/src/memory-backend/index.ts
T
Kenneth Hoff c3a72e026e fix(memory): mirror off-backend message in ACP /memory stats|diagnose
The TUI's CommandController special-cased backend.id === "off" for
/memory stats|diagnose, but the ACP/RPC slash-command handler in
builtin-registry.ts still fell back to the generic "not available for
the off backend" template — non-TUI users with memory.backend=off saw
the self-contradictory wording this PR was meant to remove.

Extract the shared fallback into memoryStatsUnavailableMessage()
(memory-backend/messages.ts) and use it from both CommandController
and the ACP builtin-registry handler, so the two surfaces can't drift
again.

Addresses review comment:
https://github.com/can1357/oh-my-pi/pull/7251#discussion_r3695383090
2026-08-01 12:12:57 +02:00

20 lines
469 B
TypeScript

export type {
MnemopiBackendConfig,
MnemopiLlmMode,
MnemopiProviderOptions,
MnemopiScoping,
} from "../mnemopi/config";
export type {
MnemopiMemoryEditOperation,
MnemopiMemoryEditOptions,
MnemopiMemoryEditResult,
MnemopiSessionState,
MnemopiSessionStateOptions,
} from "../mnemopi/state";
export * from "./local-backend";
export * from "./messages";
export * from "./off-backend";
export * from "./resolve";
export * from "./runtime";
export * from "./types";