返回 DeepSeek-Reasonix
sessionRef.ts
根目录 / desktop / frontend / src / lib / sessionRef.ts
1 /** Durable local-session identity. Paths and workspace selection are not identity. */
2 export interface SessionRef {
3 hostId: string;
4 sessionId: string;
5 }
6
7 export interface SessionRuntimeIssue {
8 code: "session_lease_held" | "startup_failed";
9 message: string;
10 retryable: boolean;
11 holderPid?: number;
12 holderHost?: string;
13 acquiredAt?: string;
14 }
15
15 lines TYPESCRIPT