(agent: WorkspaceAgent)
| 560 | ]; |
| 561 | |
| 562 | export const workspaceAgentContainers = (agent: WorkspaceAgent) => { |
| 563 | return { |
| 564 | queryKey: workspaceAgentContainersKey(agent.id), |
| 565 | queryFn: () => API.getAgentContainers(agent.id), |
| 566 | enabled: agent.status === "connected", |
| 567 | } satisfies UseQueryOptions<WorkspaceAgentListContainersResponse>; |
| 568 | }; |
| 569 | |
| 570 | export const deleteWorkspaceAgentDevcontainer = ( |
| 571 | parentAgent: WorkspaceAgent, |
no test coverage detected