A desktop coding agent with free access to frontier models.
TypeScript
fix: docker context failures read from their own words
ogsamrat47a4538bea99
diff --git a/apps/server/src/box/runtime.ts b/apps/server/src/box/runtime.tsindex d88fa378..8d2aca14 100644--- a/apps/server/src/box/runtime.ts+++ b/apps/server/src/box/runtime.ts@@ -249,7 +249,9 @@ export async function probe(candidate: RuntimeCandidate, { run = runCommand, envconst prefix = Array.isArray(candidate.prefix) ? candidate.prefix : [];const args = [...prefix, ...(name === "podman" ? ["info", "--format", "json"] : ["info", "--format", "{{json .}}"])];const result = await run(bin, args, { env, timeoutMs });- if (result.code !== 0) return { ok: false, name, bin, reason: explainFailure(name, result, { platform, env }) };+ // A docker context (OrbStack, colima, Desktop) has its own socket: its words decide, not the default socket.+ const ownSocket = prefix.includes("--context") ? { exists: () => true } : {};+ if (result.code !== 0) return { ok: false, name, bin, reason: explainFailure(name, result, { platform, env, ...ownSocket }) };let info: Info;try {info = JSON.parse(result.stdout);