Restore existing project works independently of model sessions

This commit is contained in:
鲨鱼辣椒 committed 2026-10-14 11:15:17 +08:00
1 parent 4eb3efa3d1
commit 0f26b6d072
19 files changed
+1977 -68

No files matched your search

@@ -0,0 +1,14 @@
/** Project-relative, app-owned launch recipes. Never persisted shell commands. */
export type WorkLaunchSpec =
| { kind: 'vite'; directory: string; args: string[] }
| { kind: 'static'; directory: string; entry: string };
export type WorkEntryProject = { id: string; path: string };
export type WorkEntry = {
version: 1;
projectId: string;
projectPath: string;
url: string;
documentHash?: string;
launch?: WorkLaunchSpec;
};