summaryrefslogtreecommitdiffhomepage
path: root/packages/kernel/src/contracts/conversation.ts
blob: 80da86e658f4f6f75aa1a264d02f50ddd8093103 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/**
 * Conversation model — the kernel's representation of a dialogue.
 *
 * Re-exported from @dispatch/wire so the kernel barrel surface stays
 * byte-identical. The canonical definitions live in @dispatch/wire.
 */

export type {
  ChatMessage,
  Chunk,
  CompactionResult,
  ConversationMeta,
  ConversationStatus,
  ErrorChunk,
  ImageChunk,
  ImageInput,
  Role,
  StepId,
  StepMetrics,
  StoredChunk,
  SystemChunk,
  TextChunk,
  ThinkingChunk,
  ToolCallChunk,
  ToolResultChunk,
  TurnId,
  TurnMetrics,
  Workspace,
  WorkspaceEntry,
} from "@dispatch/wire";