From 40297b49792f4b4cbde34d9b3b08d56fcf0e92c4 Mon Sep 17 00:00:00 2001 From: JATMN Date: Fri, 23 Oct 2026 09:22:42 -0700 Subject: [PATCH] chore: upgrade Bun to 1.4.4 (#2351) * chore: upgrade Bun to 1.4.3 * chore: upgrade Bun to 1.4.4 --- .bun-version | 2 +- ANDROID_INSTALL.md | 7 +++++-- CONTRIBUTING.md | 2 ++ README.md | 2 +- bun.lock | 6 +++--- docs/advanced-setup.md | 2 +- package.json | 2 +- 7 files changed, 14 insertions(+), 9 deletions(-) diff --git a/.bun-version b/.bun-version index 7962dcfdb..1c99cf0e8 100644 --- a/.bun-version +++ b/.bun-version @@ -1 +1 @@ -1.3.13 +1.4.4 diff --git a/ANDROID_INSTALL.md b/ANDROID_INSTALL.md index 2e77fb8ce..357f19eab 100644 --- a/ANDROID_INSTALL.md +++ b/ANDROID_INSTALL.md @@ -60,9 +60,12 @@ This downloads ~200–400MB. Wait for it to complete. ```bash proot-distro login ubuntu -curl -fsSL https://bun.sh/install | bash +bun_installer="$(mktemp)" +curl -fsSL https://bun.sh/install -o "$bun_installer" +bash "$bun_installer" bun-v1.4.4 +rm -f "$bun_installer" source ~/.bashrc -bun --version # should show 1.3.13+ +bun --version # should show 1.4.4 ``` ### Step 6 — Build OpenClaude diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9fd3b80a9..2236d182b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -211,6 +211,8 @@ When submitting provider changes: ## Local Setup +Use Node.js `>=22.0.0` and Bun `1.4.4` (tracked in `.bun-version`). + Install dependencies: ```bash diff --git a/README.md b/README.md index 29fdd5047..e3dad94f3 100644 --- a/README.md +++ b/README.md @@ -489,7 +489,7 @@ and client generation from `src/proto/openclaude.proto`. ## Development -Use Node.js `>=22.0.0` and Bun `1.3.13` or newer for source builds. +Use Node.js `>=22.0.0` and Bun `1.4.4` for source builds. ```bash bun install diff --git a/bun.lock b/bun.lock index 8785f5262..cda29e846 100644 --- a/bun.lock +++ b/bun.lock @@ -26,7 +26,7 @@ "@sentry/node": "^10.70.0", "@smithy/core": "3.24.3", "@smithy/node-http-handler": "4.7.3", - "@types/bun": "1.3.11", + "@types/bun": "1.4.4", "@types/node": "25.5.0", "@types/react": "19.2.14", "@typescript-eslint/eslint-plugin": "^8.69.0", @@ -533,7 +533,7 @@ "@tybys/wasm-util": ["@tybys/wasm-util@0.10.2", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-RoBvJ2X0wuKlWFIjrwffGw1IqZHKQqzIchKaadZZfnNpsAYp2mM0h36JtPCjNDAHGgYez/15uMBpfGwchhiMgg=="], - "@types/bun": ["@types/bun@1.3.11", "", { "dependencies": { "bun-types": "1.3.11" } }, "sha512-5vPne5QvtpjGpsGYXiFyycfpDF2ECyPcTSsFBMa0fraoxiQyMJ3SmuQIGhzPg2WJuWxVBoxWJ2kClYTcw/4fAg=="], + "@types/bun": ["@types/bun@1.4.4", "", { "dependencies": { "bun-types": "1.4.4" } }, "sha512-9wkRDXUXK124pEnAutE6n/l18j+i9GC5IAHK8TmX/2nlySETmky0OU6yL5U8pW1AoKh++AN9auDCr647BfurjQ=="], "@types/estree": ["@types/estree@1.0.9", "", {}, "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg=="], @@ -637,7 +637,7 @@ "buffer-equal-constant-time": ["buffer-equal-constant-time@1.0.1", "", {}, "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA=="], - "bun-types": ["bun-types@1.3.11", "", { "dependencies": { "@types/node": "*" } }, "sha512-1KGPpoxQWl9f6wcZh57LvrPIInQMn2TQ7jsgxqpRzg+l0QPOFvJVH7HmvHo/AiPgwXy+/Thf6Ov3EdVn1vOabg=="], + "bun-types": ["bun-types@1.4.4", "", { "dependencies": { "@types/node": "*", "undici-types": "*" } }, "sha512-yjrJh5oGX7mMPKGd19YXyIjmEuj4G4zNC30bs7PM9Az7NQ3ndF3j6hbeRdvJTRQEhJ/FYQwW0a2moweEi2hMxQ=="], "bundle-name": ["bundle-name@4.1.0", "", { "dependencies": { "run-applescript": "^7.0.0" } }, "sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q=="], diff --git a/docs/advanced-setup.md b/docs/advanced-setup.md index 6d23c8622..56781de03 100644 --- a/docs/advanced-setup.md +++ b/docs/advanced-setup.md @@ -15,7 +15,7 @@ npm install -g @twigpine/openclaude@latest ### Option B: From source with Bun -Use Bun `1.3.13` or newer for source builds. Older Bun versions can fail during `bun run build`. +Use Bun `1.4.4` for source builds. Older Bun versions can fail during `bun run build`. ```bash git clone https://github.com/Twigpine/openclaude.git diff --git a/package.json b/package.json index 09a6c8e60..ac7975635 100644 --- a/package.json +++ b/package.json @@ -105,7 +105,7 @@ "@sentry/node": "^10.70.0", "@smithy/core": "3.24.3", "@smithy/node-http-handler": "4.7.3", - "@types/bun": "1.3.11", + "@types/bun": "1.4.4", "@types/node": "25.5.0", "@types/react": "19.2.14", "@typescript-eslint/eslint-plugin": "^8.69.0",