MCPcopy Create free account
hub / github.com/claude-code-best/claude-code / getAutonomyStatusText

Function getAutonomyStatusText

src/cli/handlers/autonomy.ts:38–56  ·  view source on GitHub ↗
(options?: {
  deep?: boolean
  rootDir?: string
})

Source from the content-addressed store, hash-verified

36}
37
38export async function getAutonomyStatusText(options?: {
39 deep?: boolean
40 rootDir?: string
41}): Promise<string> {
42 const rootDir = options?.rootDir
43 const [runs, flows] = await Promise.all([
44 listAutonomyRuns(rootDir),
45 listAutonomyFlows(rootDir),
46 ])
47
48 if (options?.deep) {
49 return formatAutonomyDeepStatus({ runs, flows })
50 }
51
52 return [
53 formatAutonomyRunsStatus(runs),
54 formatAutonomyFlowsStatus(flows),
55 ].join('\n')
56}
57
58export async function getAutonomyDeepSectionText(
59 sectionId: AutonomyDeepStatusSectionId,

Callers 4

autonomy.test.tsFile · 0.90
AutonomyPanelFunction · 0.85
autonomyStatusHandlerFunction · 0.85
getAutonomyCommandTextFunction · 0.85

Calls 5

listAutonomyRunsFunction · 0.85
listAutonomyFlowsFunction · 0.85
formatAutonomyDeepStatusFunction · 0.85
formatAutonomyRunsStatusFunction · 0.85

Tested by

no test coverage detected