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

Function getStatusText

src/utils/task/framework.ts:295–308  ·  view source on GitHub ↗

* Get human-readable status text.

(status: TaskStatus)

Source from the content-addressed store, hash-verified

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

Callers 2

AgentProgressLineFunction · 0.85
enqueueTaskNotificationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected