feat: implement PI core chat timeline

This commit is contained in:
2026-08-24 00:34:03 +08:00
parent 54d8bb2e4a
commit 612135f911
40 changed files with 3881 additions and 119 deletions

View File

@@ -315,6 +315,22 @@ export interface ConversationPatchEnvelope {
patch: ConversationPatch;
}
export interface ConversationPatchBatchItem {
runId?: string;
seq: number;
at: number;
patch: ConversationPatch;
}
export interface CodingConversationPatchBatchEvent {
type: 'patch-batch';
conversationId: string;
workerGeneration: number;
fromSeq: number;
toSeq: number;
items: ConversationPatchBatchItem[];
}
export interface PrepareConversationInput {
conversationId: string;
projectId: string;