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

@@ -9,6 +9,10 @@ export interface CodingProjectSummary {
lastOpenedAt: string;
}
export type ProjectIdentityChoice =
| { kind: 'create' }
| { kind: 'bind'; projectId: string };
export interface CodingProjectAgent extends ConversationModelState {
id: string;
avatarId: string;
@@ -29,6 +33,7 @@ export interface CodingProjectAgent extends ConversationModelState {
export interface CodingProjectConfig {
schemaVersion: 2;
projectType: ProjectType;
projectId?: string;
initialized: boolean;
agents: CodingProjectAgent[];
knowledgeDirectory: 'knowledge';