openclaw/openclaw · error · Error
Claude CLI is unavailable
Error message
Claude CLI is unavailable
What it means
Error "Claude CLI is unavailable" thrown in openclaw/openclaw.
Source
Thrown at extensions/anthropic/session-catalog-node-commands.ts:75
return JSON.stringify(await listLocalClaudeSessionPage(parseNodeParams(paramsJSON)));
}
export async function readClaudeSession(paramsJSON?: string | null): Promise<string> {
return JSON.stringify(await readLocalClaudeTranscriptPage(parseNodeParams(paramsJSON)));
}
export async function resumeClaudeSession(
paramsJSON: string | null | undefined,
io: OpenClawPluginNodeHostCommandIo | undefined,
): Promise<string> {
if (!io) {
throw new Error("Claude terminal command requires duplex transport");
}
const params = decodeNodePtyResumeParams(paramsJSON, validateClaudeSessionId);
const record = await requireLocalResumableClaudeSession(params.threadId);
const resolution = resolveClaudeTerminalExecutable();
if (!resolution) {
throw new Error("Claude CLI is unavailable");
}
return JSON.stringify(
await runNodePtyCommand(
{
file: resolution.executable,
args: ["--resume", params.threadId],
cwd: record.cwd,
...(resolution.pathEnv ? { pathEnv: resolution.pathEnv } : {}),
cols: params.cols,
rows: params.rows,
},
io,
),
);
}
View on GitHub (pinned to 01804a7531)
When it happens
Trigger: Thrown at extensions/anthropic/session-catalog-node-commands.ts:75 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of openclaw/openclaw@01804a7531 (2026-08-12).
Data as JSON: /api/errors/2b58dfaa6ea0a4f3.
Report an issue: GitHub.