File size: 483 Bytes
4e23b01 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | import type { InteractionId } from './ids';
export type InteractionKind = 'approval' | 'question';
export type InteractionState =
| 'pending'
| 'approved'
| 'rejected'
| 'cancelled'
| 'answered'
| 'dismissed';
export interface TranscriptInteraction {
readonly interactionId: InteractionId;
readonly interactionKind: InteractionKind;
readonly toolCallId?: string;
readonly state: InteractionState;
readonly request?: unknown;
readonly response?: unknown;
}
|