mirror of
https://github.com/stablyai/orca.git
synced 2026-11-15 02:17:31 +00:00
23 lines
652 B
TypeScript
23 lines
652 B
TypeScript
import type {
|
|
CatalogAgentInteractionDetection,
|
|
CatalogCommandDelivery
|
|
} from './agent-session/options/agent-session-option-catalog-types'
|
|
|
|
export type ClaudeModelSwitchOutcome = 'applied' | 'rejected' | 'unknown'
|
|
|
|
export type NativeChatSessionOptionDispatchResult = {
|
|
outcome?: ClaudeModelSwitchOutcome
|
|
}
|
|
|
|
export type NativeChatSessionOptionDispatchCommand = (
|
|
command: string,
|
|
options?: {
|
|
detectAgentInteraction?: CatalogAgentInteractionDetection
|
|
expectedChoiceLabel?: string
|
|
delivery?: CatalogCommandDelivery
|
|
}
|
|
) =>
|
|
| Promise<NativeChatSessionOptionDispatchResult | void>
|
|
| NativeChatSessionOptionDispatchResult
|
|
| void
|