Download packages/transcript/src/model/interaction.ts from SaylorTwift/kimi-code: direct link, hf CLI and curl.
- Browser
- Download file 483 Bytes
-
https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/transcript/src/model/interaction.ts
- Command line
-
hf download hf://SaylorTwift/kimi-code/packages/transcript/src/model/interaction.ts
-
curl -L -o interaction.ts https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/transcript/src/model/interaction.ts
483 Bytes
| 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; | |
| } | |