Back to Components
Desktop (Electron)
AICommandQueue
Function Component
Command Queue
Lines
480
File
AICommandQueue.tsx
Last Modified
2026-07-22
Exports
AICommandAICommandQueue
Source Path
aartiq-browser/src/AICommandQueue.tsx
Tags
ReactAIAutomationPDFOCRmacOSWindows
Code Analysis
React Hooks
useStateuseMemo
API / Library Usage
framer-motionlucide-icons
External Dependencies
reactframer-motion
Internal Imports
No internal imports
Props / Types
AICommand
| Prop | Type | Required |
|---|---|---|
| id | string | Yes |
| type | string | Yes |
| value | string | Yes |
| status | 'pending' | 'executing' | 'completed' | 'failed' | 'awaiting_permission' | 'idle' | Yes |
| output | string | No |
| error | string | No |
| context | string | No |
| timestamp | number | Yes |
| startTime | number | No |
| endTime | number | No |
| category | string | No |
| riskLevel | 'low' | 'medium' | 'high' | 'critical' | No |
| reason | string | No |
| jsonFormat | object | No |
AICommandQueueProps
| Prop | Type | Required |
|---|---|---|
| commands | AICommand[] | Yes |
| currentCommandIndex | number | Yes |
| onCancel | () => void | No |
| onStopCurrent | () => void | No |
| cancelImmediately | () => void | No |
Key Functions
commandGroup()formatDuration()formatTimestamp()elapsedForCommand()shellSummary()commandLabel()outputSummary()StatusMark()Timeline()ExpandableTechnicalDetails()ResultCard()ExecutionCard()toggleCommand()
Related Components
Browse all components in the Component Inventory
Auto-Generated Documentation
Component metadata is auto-generated by aartiq-browser/scripts/component-scanner.js