From eeecdedef2175eb62989646173a8424c0be654fb Mon Sep 17 00:00:00 2001 From: A <258483684+la14-1@users.noreply.github.com> Date: Tue, 10 Feb 2026 12:22:58 -0800 Subject: [PATCH] fix: Bundle dependencies in CLI build for proot-distro compatibility (#216) The bun build command was failing on proot-distro ubuntu because it couldn't resolve node_modules dependencies. Added --packages bundle flag to explicitly bundle all dependencies into the output file. Fixes #209 Agent: issue-responder Co-authored-by: B <6723574+louisgv@users.noreply.github.com> --- cli/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/package.json b/cli/package.json index eadf1756..df865ddd 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,13 +1,13 @@ { "name": "@openrouter/spawn", - "version": "0.2.15", + "version": "0.2.16", "type": "module", "bin": { "spawn": "cli.js" }, "scripts": { "dev": "bun run src/index.ts", - "build": "bun build src/index.ts --outfile cli.js --target bun --minify", + "build": "bun build src/index.ts --outfile cli.js --target bun --minify --packages bundle", "compile": "bun build src/index.ts --compile --outfile spawn", "test": "bun test", "test:watch": "bun test --watch"