MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / getAutonomyRunById

Function getAutonomyRunById

src/utils/autonomyRuns.ts:257–263  ·  view source on GitHub ↗
(
  runId: string,
  rootDir: string = getProjectRoot(),
)

Source from the content-addressed store, hash-verified

255}
256
257export async function getAutonomyRunById(
258 runId: string,
259 rootDir: string = getProjectRoot(),
260): Promise<AutonomyRunRecord | null> {
261 const runs = await listAutonomyRuns(rootDir)
262 return runs.find(run => run.runId === runId) ?? null
263}
264
265function isActiveAutonomyRunStatus(status: AutonomyRunStatus): boolean {
266 return status === 'queued' || status === 'running'

Calls 2

getProjectRootFunction · 0.85
listAutonomyRunsFunction · 0.85

Tested by 1

waitForRunStatusFunction · 0.72