fix: close PI core chat review gaps
This commit is contained in:
@@ -56,6 +56,7 @@ export interface CodingProjectConfigSnapshot {
|
||||
export interface CodingProjectServiceOptions {
|
||||
onResourcesChanged?(project: CodingProject): Promise<void> | void;
|
||||
onProjectDeactivated?(project: CodingProject): Promise<void> | void;
|
||||
createConversationStore?: typeof createCodingConversationStore;
|
||||
writeConfig?: typeof writeCodingProjectConfigV2;
|
||||
}
|
||||
|
||||
@@ -299,7 +300,7 @@ export class CodingProjectService {
|
||||
conversationStore(projectPath: string): ReturnType<typeof createCodingConversationStore> {
|
||||
const existing = this.conversationStores.get(projectPath);
|
||||
if (existing) return existing;
|
||||
const created = createCodingConversationStore(projectPath);
|
||||
const created = (this.options.createConversationStore ?? createCodingConversationStore)(projectPath);
|
||||
this.conversationStores.set(projectPath, created);
|
||||
return created;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user