(scope: ServerScope, directory: string | null, sdk: OpencodeClient)
| 185 | }) |
| 186 | |
| 187 | export const loadAgentsQuery = (scope: ServerScope, directory: string | null, sdk: OpencodeClient) => |
| 188 | queryOptions({ |
| 189 | queryKey: [scope, directory, "agents"], |
| 190 | queryFn: () => retry(() => sdk.app.agents().then((x) => normalizeAgentList(x.data))), |
| 191 | }) |
| 192 | |
| 193 | export const loadPathQuery = (scope: ServerScope, directory: string | null, sdk: OpencodeClient) => |
| 194 | queryOptions<Path>({ |
no test coverage detected