/** * session_start Tool * * Initialize session, detect agent, load institutional context. * Returns threads and recent decisions. Scars surface via recall on demand. * * Performance target: <750ms * * Removed scar/wins queries from start pipeline. * Scars load on-demand via recall(). Wins available via search/log. * loadLastSession and loadRecentDecisions run in parallel. * createSessionRecord is fire-and-forget. */ import type { SessionStartParams, SessionStartResult, Project } from "../types/index.js"; /** * Execute session_start tool * * Returns detailed performance breakdown for test harness validation. * Key metrics: network_calls_made, fully_local, breakdown per component. * * Guards against overwriting existing active sessions. * Returns existing session if active-session.json exists (idempotent). * Pass force=true to override. */ export declare function sessionStart(params: SessionStartParams): Promise; /** * session_refresh Tool * * Re-surfaces institutional context for the current active session * without creating a new session ID. Same lean pipeline as session_start * (last session, decisions, threads) but skips session creation. * * Scars/wins removed — load on-demand via recall/search. * * Use when: mid-session context refresh after compaction, long gaps, or * when you need to remember where you left off. */ export interface SessionRefreshParams { project?: Project; } export declare function sessionRefresh(params: SessionRefreshParams): Promise; //# sourceMappingURL=session-start.d.ts.map