MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getStatusText

Function getStatusText

source code/utils/task/framework.ts:297–310  ·  view source on GitHub ↗

* Get human-readable status text.

(status: TaskStatus)

Source from the content-addressed store, hash-verified

295 * Get human-readable status text.
296 */
297function getStatusText(status: TaskStatus): string {
298 switch (status) {
299 case 'completed':
300 return 'completed successfully'
301 case 'failed':
302 return 'failed'
303 case 'killed':
304 return 'was stopped'
305 case 'running':
306 return 'is running'
307 case 'pending':
308 return 'is pending'
309 }
310}

Callers 2

AgentProgressLineFunction · 0.85
enqueueTaskNotificationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected