| banksean | 659b983 | 2025-06-27 00:50:41 +0000 | [diff] [blame] | 1 | /** |
| 2 | * Shared fake call status data for demos |
| 3 | */ |
| 4 | |
| 5 | export interface CallStatusState { |
| 6 | llmCalls: number; |
| 7 | toolCalls: string[]; |
| 8 | agentState: string | null; |
| 9 | isIdle: boolean; |
| 10 | isDisconnected: boolean; |
| 11 | } |
| 12 | |
| 13 | export const idleCallStatus: CallStatusState = { |
| 14 | llmCalls: 0, |
| 15 | toolCalls: [], |
| 16 | agentState: null, |
| 17 | isIdle: true, |
| 18 | isDisconnected: false, |
| 19 | }; |
| 20 | |
| 21 | export const workingCallStatus: CallStatusState = { |
| 22 | llmCalls: 1, |
| 23 | toolCalls: ["patch", "bash"], |
| 24 | agentState: "analyzing code", |
| 25 | isIdle: false, |
| 26 | isDisconnected: false, |
| 27 | }; |
| 28 | |
| 29 | export const heavyWorkingCallStatus: CallStatusState = { |
| 30 | llmCalls: 3, |
| 31 | toolCalls: ["keyword_search", "patch", "bash", "think", "codereview"], |
| 32 | agentState: "refactoring components", |
| 33 | isIdle: false, |
| 34 | isDisconnected: false, |
| 35 | }; |
| 36 | |
| 37 | export const disconnectedCallStatus: CallStatusState = { |
| 38 | llmCalls: 0, |
| 39 | toolCalls: [], |
| 40 | agentState: null, |
| 41 | isIdle: true, |
| 42 | isDisconnected: true, |
| 43 | }; |
| 44 | |
| 45 | export const workingDisconnectedCallStatus: CallStatusState = { |
| 46 | llmCalls: 2, |
| 47 | toolCalls: ["browser_navigate", "patch"], |
| 48 | agentState: "testing changes", |
| 49 | isIdle: false, |
| 50 | isDisconnected: true, |
| 51 | }; |