/** * routes/memory-projections.ts * * Handlers for memory.projections.list + memory.projections.get over the * daemon's canonical MemoryRegistry. A read-only view that projects standing * (project/team-scope) memory records to their markdown form, the same * projection the file-projection surface writes, computed live from the store * rather than read from disk so it always matches the current records. * * Registered from register-gateway-verb-groups.ts alongside the other gateway * verb groups. Missing descriptor is a silent no-op (graceful degrade for a * minimal embed), exactly like the cost/skills groups. */ import type { GatewayMethodCatalog } from '../method-catalog.js'; import type { GatewayMethodHandler } from '../method-catalog-shared.js'; import type { MemoryRecord } from '../../state/memory-store.js'; /** The read surface memory projection needs: every standing/session record in the store. */ export interface MemoryProjectionSource { getAll(): readonly MemoryRecord[]; } export declare function createMemoryProjectionsListHandler(source: MemoryProjectionSource): GatewayMethodHandler; export declare function createMemoryProjectionsGetHandler(source: MemoryProjectionSource): GatewayMethodHandler; /** Attach the memory.projections.list + memory.projections.get handlers to their descriptors. Missing descriptor is a silent no-op. */ export declare function registerMemoryProjectionsGatewayMethods(catalog: GatewayMethodCatalog, source: MemoryProjectionSource): void; //# sourceMappingURL=memory-projections.d.ts.map