()
| 796 | |
| 797 | // Get color based on state |
| 798 | const getStateColor = (): string => { |
| 799 | switch (state) { |
| 800 | case 'STARTING': return '#facc15'; // yellow-400 |
| 801 | case 'CAPTURING': return '#22d3ee'; // cyan-400 |
| 802 | case 'THINKING': return '#a855f7'; // purple-500 |
| 803 | case 'RESPONDING': return '#3b82f6'; // blue-500 |
| 804 | case 'WAITING': return '#6b7280'; // gray-500 |
| 805 | case 'SLEEPING': return '#3b82f6'; // blue-500 |
| 806 | case 'SKIPPED': return '#f97316'; // orange-500 |
| 807 | default: return '#6b7280'; // gray-500 |
| 808 | } |
| 809 | }; |
| 810 | |
| 811 | const color = getStateColor(); |
| 812 | ctx.strokeStyle = color; |
nothing calls this directly
no outgoing calls
no test coverage detected