takt/src/core/models/status.ts
2026-02-12 13:32:28 +09:00

33 lines
678 B
TypeScript

/**
* Status and classification types
*/
/** Built-in agent types */
export type AgentType = 'coder' | 'architect' | 'supervisor' | 'custom';
/** Execution status for agents and pieces */
export type Status =
| 'pending'
| 'done'
| 'blocked'
| 'error'
| 'approved'
| 'rejected'
| 'improve'
| 'cancelled'
| 'interrupted'
| 'answer';
/** How a rule match was detected */
export type RuleMatchMethod =
| 'aggregate'
| 'auto_select'
| 'structured_output'
| 'phase3_tag'
| 'phase1_tag'
| 'ai_judge'
| 'ai_judge_fallback';
/** Permission mode for tool execution (provider-agnostic) */
export type PermissionMode = 'readonly' | 'edit' | 'full';