MCPcopy Create free account
hub / github.com/Work-Fisher/code-claw / labelForSessionRunStatus

Function labelForSessionRunStatus

ai-code-studio/src/app/helpers.ts:325–340  ·  view source on GitHub ↗
(status?: string | null)

Source from the content-addressed store, hash-verified

323}
324
325export function labelForSessionRunStatus(status?: string | null) {
326 switch (status) {
327 case 'running':
328 return '运行中';
329 case 'failed':
330 return '失败';
331 case 'stopped':
332 return '已停止';
333 case 'interrupted':
334 return '已中断';
335 case 'completed':
336 return '已完成';
337 default:
338 return '空闲';
339 }
340}
341
342export function sessionRunTone(status?: string | null) {
343 switch (status) {

Callers 2

SessionRowFunction · 0.90
DiagnosticsPanelFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected