MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getProgressUpdate

Function getProgressUpdate

src/tasks/LocalAgentTask/LocalAgentTask.tsx:97–104  ·  view source on GitHub ↗
(tracker: ProgressTracker)

Source from the content-addressed store, hash-verified

95 }
96}
97export function getProgressUpdate(tracker: ProgressTracker): AgentProgress {
98 return {
99 toolUseCount: tracker.toolUseCount,
100 tokenCount: getTokenCountFromTracker(tracker),
101 lastActivity: tracker.recentActivities.length > 0 ? tracker.recentActivities[tracker.recentActivities.length - 1] : undefined,
102 recentActivities: [...tracker.recentActivities]
103 };
104}
105
106/**
107 * Creates an ActivityDescriptionResolver from a tools list.

Callers 4

emitTaskProgressFunction · 0.85
runAsyncAgentLifecycleFunction · 0.85
callFunction · 0.85
runInProcessTeammateFunction · 0.85

Calls 1

getTokenCountFromTrackerFunction · 0.85

Tested by

no test coverage detected