MCPcopy Create free account
hub / github.com/codeaashu/claude-code / isIt2CliAvailable

Function isIt2CliAvailable

src/utils/swarm/backends/detection.ts:117–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115 * 'session split' to fail later with no fallback.
116 */
117export async function isIt2CliAvailable(): Promise<boolean> {
118 const result = await execFileNoThrow(IT2_COMMAND, ['session', 'list'])
119 return result.code === 0
120}
121
122/**
123 * Resets all cached detection results. Used for testing.

Callers

nothing calls this directly

Calls 1

execFileNoThrowFunction · 0.85

Tested by

no test coverage detected