feat: implement PI core chat timeline
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
export type {
|
||||
CodingRuntimePublicError,
|
||||
CodingConversationPatchBatchEvent,
|
||||
ConversationMessageNode,
|
||||
ConversationModelState,
|
||||
ConversationNode,
|
||||
ConversationPatch,
|
||||
ConversationPatchBatchItem,
|
||||
ConversationPatchEnvelope,
|
||||
ConversationQueueState,
|
||||
ConversationRunState,
|
||||
@@ -17,7 +19,7 @@ export type {
|
||||
} from '../../shared/coding-conversation-contracts';
|
||||
|
||||
import type {
|
||||
ConversationPatchEnvelope,
|
||||
CodingConversationPatchBatchEvent,
|
||||
ConversationSnapshot,
|
||||
PromptMode,
|
||||
} from '../../shared/coding-conversation-contracts';
|
||||
@@ -30,13 +32,9 @@ export interface CodingConversationSnapshotEvent {
|
||||
snapshot: ConversationSnapshot;
|
||||
}
|
||||
|
||||
export type CodingConversationPatchEvent = {
|
||||
type: 'patch';
|
||||
} & ConversationPatchEnvelope;
|
||||
|
||||
export type CodingConversationStreamEvent =
|
||||
| CodingConversationSnapshotEvent
|
||||
| CodingConversationPatchEvent;
|
||||
| CodingConversationPatchBatchEvent;
|
||||
|
||||
export interface CodingDraftAttachment {
|
||||
attachmentId: string;
|
||||
|
||||
7
src/types/coding-project.ts
Normal file
7
src/types/coding-project.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export type {
|
||||
CodingConversationMetadata,
|
||||
CodingProjectAgent,
|
||||
CodingProjectConfig,
|
||||
CodingProjectConfigSnapshot,
|
||||
CodingProjectSummary,
|
||||
} from '../../shared/coding-project-contracts';
|
||||
Reference in New Issue
Block a user