Skip to content

The open source coding agent.

TypeScript

docs: clarify Bun's default registry resolution in index.ts (#1438)

Yordis Prieto31b8e3d5ab90
diff --git a/packages/opencode/src/bun/index.ts b/packages/opencode/src/bun/index.ts
index eea467370c8..cd413ff4a0a 100644
--- a/packages/opencode/src/bun/index.ts
+++ b/packages/opencode/src/bun/index.ts
@@ -73,6 +73,7 @@ export namespace BunProc {
// Let Bun handle registry resolution:
// - If .npmrc files exist, Bun will use them automatically
// - If no .npmrc files exist, Bun will default to https://registry.npmjs.org
+ // - No need to pass --registry flag
log.info("installing package using Bun's default registry resolution", { pkg, version })
await BunProc.run(args, {