Skip to content

The open source coding agent.

TypeScript

core: silently ignore proxy command failures to prevent config initialization crashes

Dax Raad7c748ef08925
diff --git a/packages/opencode/src/config/config.ts b/packages/opencode/src/config/config.ts
index e1110e0927c..ed1b155003d 100644
--- a/packages/opencode/src/config/config.ts
+++ b/packages/opencode/src/config/config.ts
@@ -274,7 +274,7 @@ export namespace Config {
...(proxied() ? ["--no-cache"] : []),
],
{ cwd: dir },
- )
+ ).catch(() => {})
}
async function isWritable(dir: string) {