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

Function labelForRunStatus

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

Source from the content-addressed store, hash-verified

308}
309
310export function labelForRunStatus(status?: string | null) {
311 switch (status) {
312 case 'running':
313 return '运行中';
314 case 'idle':
315 return '空闲';
316 case 'ready':
317 return '已就绪';
318 case 'error':
319 return '异常';
320 default:
321 return status || '未知';
322 }
323}
324
325export function labelForSessionRunStatus(status?: string | null) {
326 switch (status) {

Callers 2

SetupSidebarFunction · 0.90
DiagnosticsPanelFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected