feat(coding): add durable project identity core

This commit is contained in:
2026-08-26 17:59:44 +08:00
parent 7e54b8fbda
commit 43f58fc72b
12 changed files with 717 additions and 7 deletions

View File

@@ -196,12 +196,14 @@ export async function createLocalCodingProject(
input: {
projectPath: string;
projectType?: ProjectType;
projectId?: string;
now?: string;
},
store: CodingProjectStore,
): Promise<{ project: CodingProject; config: CodingProjectConfigV2 }> {
const config = await createCodingProjectMetadata(input.projectPath, {
projectType: input.projectType,
projectId: input.projectId,
now: input.now,
});
const project = await store.openFolder(input.projectPath);