MCPcopy
hub / github.com/virattt/dexter / HistoryItem

Interface HistoryItem

src/types.ts:12–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10export type HistoryItemStatus = 'processing' | 'complete' | 'error' | 'interrupted';
11
12export interface HistoryItem {
13 id: string;
14 query: string;
15 events: DisplayEvent[];
16 answer: string;
17 status: HistoryItemStatus;
18 activeToolId?: string;
19 startTime?: number;
20 duration?: number;
21 tokenUsage?: TokenUsage;
22 tokensPerSecond?: number;
23}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected