(run: AutonomyRunRecord)
| 130 | Partial<Pick<AutonomyRunRecord, 'runtime' | 'currentDir' | 'ownerKey'>> |
| 131 | |
| 132 | function cloneRunRecord(run: AutonomyRunRecord): AutonomyRunRecord { |
| 133 | return { ...run } |
| 134 | } |
| 135 | |
| 136 | function isAutonomyRunActive(run: AutonomyRunRecord): boolean { |
| 137 | return run.status === 'queued' || run.status === 'running' |