Files
oh-my-pi/packages/coding-agent/src/memory-backend/off-backend.ts
T
can1357 d57275fb5d feat(coding-agent): made memory.backend the authoritative selector for memory backends
- Updated runtime memory config loading and backend resolution so `memory.backend === "local"` now enables the local pipeline directly, while `memories.enabled` is treated only as a legacy migration input.
- Switched the `memory.backend` default to `off` and kept `memories.enabled` hidden from the Memory tab UI for migration compatibility.
- Adjusted memory runtime, resolver, and documentation/tests to match the new backend-selection semantics.
2026-05-03 07:39:52 +02:00

17 lines
308 B
TypeScript

import type { MemoryBackend } from "./types";
/**
* No-op memory backend.
*
* Selected when `memory.backend` is `"off"`.
*/
export const offBackend: MemoryBackend = {
id: "off",
async start() {},
async buildDeveloperInstructions() {
return undefined;
},
async clear() {},
async enqueue() {},
};