/** * Shared helper for repinning a topic session's working directory. * Extracted from the `/cd` command handler so the upcoming dashboard IPC * `cd` route (Task 9) can reuse the exact same daemon-record write path. */ import type { DaemonSession } from './types.js'; /** * 重钉一个话题会话的工作目录(daemon 记录 = 唯一事实源): * 内存(ds.workingDir / ds.session.workingDir)+ sessions 文件落盘。 * 注意统一存 resolvedPath(修正 /cd 历史行为:曾存用户原始输入如 "~/x", * 现改为 validateWorkingDir 产出的已展开/已归一化绝对路径)。 */ export declare function repinSessionWorkingDir(ds: DaemonSession, resolvedPath: string): void; //# sourceMappingURL=session-cwd.d.ts.map