/** * Session MCP Tools for CLI * * Tool definitions for session management with file persistence. */ import { type MCPTool } from './types.js'; /** * #3573: what session_save learned about memory, so callers can say * "not included" or "no store" instead of printing an invented 0. */ export interface MemoryCaptureReport { requested: boolean; status: 'not-requested' | 'captured' | 'no-store' | 'error'; entries: number; sources: { memoryDb: number; agentdb: number; legacyJson: number; }; error?: string; } /** * #4404: snapshot map ID for a live (namespace, key) row. A bare * `namespace::key` join collides when either part contains `::` * (`team::alice`/`profile` vs `team`/`alice::profile`), so one row was * dropped on save and a distinct sibling row was skipped as a mirror. `%` and * `:` are percent-escaped in each part, which keeps ordinary IDs unchanged. * Restore reads the explicit namespace/key fields, never this ID, so older * snapshots restore as before. */ export declare function memorySnapshotId(namespace: string, key: string): string; export declare const sessionTools: MCPTool[]; //# sourceMappingURL=session-tools.d.ts.map