MCPcopy Create free account
hub / github.com/agent-tower/core / useWorkspaceDiff

Function useWorkspaceDiff

packages/web/src/hooks/use-workspaces.ts:27–33  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

25 queryClient.invalidateQueries({ queryKey: queryKeys.workspaces.all }),
26 queryClient.invalidateQueries({ queryKey: queryKeys.tasks.all }),
27 queryClient.invalidateQueries({ queryKey: queryKeys.git.all }),
28 ])
29 },
30 })
31}
32
33/** 获取某个 task 下的所有 workspaces */
34export function useWorkspaces(taskId: string) {
35 return useQuery({
36 queryKey: queryKeys.workspaces.list(taskId),

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected