(task: unknown)
| 12 | // teammateViewHelpers → LocalAgentTask runtime edge that creates a cycle |
| 13 | // through BackgroundTasksDialog. |
| 14 | function isLocalAgent(task: unknown): task is LocalAgentTaskState { |
| 15 | return ( |
| 16 | typeof task === 'object' && |
| 17 | task !== null && |
| 18 | 'type' in task && |
| 19 | task.type === 'local_agent' |
| 20 | ) |
| 21 | } |
| 22 | |
| 23 | /** |
| 24 | * Return the task released back to stub form: retain dropped, messages |
no outgoing calls
no test coverage detected