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

Function getAutonomyFlowById

src/utils/autonomyFlows.ts:1011–1017  ·  view source on GitHub ↗
(
  flowId: string,
  rootDir: string = getProjectRoot(),
)

Source from the content-addressed store, hash-verified

1009}
1010
1011export async function getAutonomyFlowById(
1012 flowId: string,
1013 rootDir: string = getProjectRoot(),
1014): Promise<AutonomyFlowRecord | null> {
1015 const flows = await listAutonomyFlows(rootDir)
1016 return flows.find(flow => flow.flowId === flowId) ?? null
1017}
1018
1019export function formatAutonomyFlowsStatus(flows: AutonomyFlowRecord[]): string {
1020 const counts = {

Calls 2

getProjectRootFunction · 0.85
listAutonomyFlowsFunction · 0.85

Tested by

no test coverage detected