MCPcopy Create free account
hub / github.com/Roy3838/Observer / useAllIterationData

Function useAllIterationData

app/src/hooks/useIterations.ts:158–163  ·  view source on GitHub ↗
(agentId: string, pollInterval = DEFAULT_POLL_INTERVAL)

Source from the content-addressed store, hash-verified

156 * Useful for AgentLogViewer which displays both
157 */
158export function useAllIterationData(agentId: string, pollInterval = DEFAULT_POLL_INTERVAL) {
159 const iterations = useIterations(agentId, pollInterval);
160 const historicalSessions = useHistoricalSessions(agentId);
161
162 return { iterations, historicalSessions };
163}
164
165/**
166 * Hook to get storage usage for an agent

Callers 2

AgentLogViewerFunction · 0.90
IterationStoreDebugFunction · 0.90

Calls 2

useIterationsFunction · 0.85
useHistoricalSessionsFunction · 0.85

Tested by

no test coverage detected