Reverse engineer anything with agents, from app behavior down to native binaries.
TypeScript agent-skillsai-agentsbinary-analysisclaude-codeclicodexcordisdecompilerdeveloper-toolsdshdsh-pluginghidrahopperllmmcpmodel-context-protocolreareverse-engineeringstatic-analysistouhou
fix(javascript): keep Wakaru version stderr out of the refusal message
Kaoru08226489d58851d0
diff --git a/src/javascript/recovery/WakaruExecution.ts b/src/javascript/recovery/WakaruExecution.tsindex 1a4c72067..2d99b46ed 100644--- a/src/javascript/recovery/WakaruExecution.ts+++ b/src/javascript/recovery/WakaruExecution.ts@@ -70,10 +70,14 @@ const executeWakaruRecovery = async (context: RecoveryWorkspace) => {version.exit_code !== 0 ||version.stdout.trim() !== `wakaru ${WAKARU_RELEASE.version}`) {- const reason = `This adapter requires Wakaru ${WAKARU_RELEASE.version}; reported version: ${version.stdout.trim()}; exit: ${String(version.exit_code)}; stderr: ${version.stderr}`;- throw new AnalysisCapabilityUnavailableError("wakaru", OPERATION, reason, {- userMessage: reason,- });+ // The message names the mismatch; the reason also keeps the tool's stderr.+ const mismatch = `This adapter requires Wakaru ${WAKARU_RELEASE.version}; reported version: ${version.stdout.trim()}; exit: ${String(version.exit_code)}`;+ throw new AnalysisCapabilityUnavailableError(+ "wakaru",+ OPERATION,+ `${mismatch}; stderr: ${version.stderr}`,+ { userMessage: `${mismatch}.` },+ );}const run = await runWakaruCommand({...commandContext,