From a4a909aaf596afc1897a2f093c53b7b63844cb6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=82CHES?= Date: Sat, 14 Mar 2026 11:16:14 -0600 Subject: [PATCH] =?UTF-8?q?fix:=20hoist=20workspace=20deps=20=E2=80=94=20E?= =?UTF-8?q?RR=5FMODULE=5FNOT=5FFOUND=20on=20install=20(#376)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit v2.10.10 removed bundleDependencies but didn't promote transitive deps (anthropic SDK, openai, undici, chalk, etc.) into root dependencies. Users got ERR_MODULE_NOT_FOUND on install. Adds all 28 workspace package deps to root dependencies so npm installs them. Bumps to v2.10.11. Co-authored-by: Claude Opus 4.6 (1M context) --- CHANGELOG.md | 8 +++++- native/npm/darwin-arm64/package.json | 2 +- native/npm/darwin-x64/package.json | 2 +- native/npm/linux-arm64-gnu/package.json | 2 +- native/npm/linux-x64-gnu/package.json | 2 +- native/npm/win32-x64-msvc/package.json | 2 +- package-lock.json | 37 ++++++++++++++++++++++--- package.json | 35 +++++++++++++++++++++-- 8 files changed, 77 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c3b1354c..e2bd0d9a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,11 @@ Format based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). - Fallback `--backend=local` for offline faster-whisper on CPU - Venv-aware Python detection (`~/.gsd/voice-venv/bin/python3`) +## [2.10.11] - 2026-03-14 + +### Fixed +- Hoist workspace package dependencies (undici, anthropic SDK, openai, chalk, etc.) into root `dependencies` so they install for end users. v2.10.10 removed `bundleDependencies` but didn't promote the transitive deps. + ## [2.10.10] - 2026-03-14 ### Fixed @@ -491,7 +496,8 @@ Format based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ### Changed - License updated to MIT -[Unreleased]: https://github.com/gsd-build/gsd-2/compare/v2.10.10...HEAD +[Unreleased]: https://github.com/gsd-build/gsd-2/compare/v2.10.11...HEAD +[2.10.11]: https://github.com/gsd-build/gsd-2/compare/v2.10.10...v2.10.11 [2.10.10]: https://github.com/gsd-build/gsd-2/compare/v2.10.9...v2.10.10 [2.10.9]: https://github.com/gsd-build/gsd-2/compare/v2.10.8...v2.10.9 [2.10.8]: https://github.com/gsd-build/gsd-2/compare/v2.10.7...v2.10.8 diff --git a/native/npm/darwin-arm64/package.json b/native/npm/darwin-arm64/package.json index 9bebeea55..88d4d9bea 100644 --- a/native/npm/darwin-arm64/package.json +++ b/native/npm/darwin-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@gsd-build/engine-darwin-arm64", - "version": "2.10.10", + "version": "2.10.11", "description": "GSD native engine binary for macOS ARM64", "os": [ "darwin" diff --git a/native/npm/darwin-x64/package.json b/native/npm/darwin-x64/package.json index 171b2e2d4..c4c667a17 100644 --- a/native/npm/darwin-x64/package.json +++ b/native/npm/darwin-x64/package.json @@ -1,6 +1,6 @@ { "name": "@gsd-build/engine-darwin-x64", - "version": "2.10.10", + "version": "2.10.11", "description": "GSD native engine binary for macOS Intel", "os": [ "darwin" diff --git a/native/npm/linux-arm64-gnu/package.json b/native/npm/linux-arm64-gnu/package.json index 4cc9fea4f..80b869f34 100644 --- a/native/npm/linux-arm64-gnu/package.json +++ b/native/npm/linux-arm64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "@gsd-build/engine-linux-arm64-gnu", - "version": "2.10.10", + "version": "2.10.11", "description": "GSD native engine binary for Linux ARM64 (glibc)", "os": [ "linux" diff --git a/native/npm/linux-x64-gnu/package.json b/native/npm/linux-x64-gnu/package.json index ee27b9528..2662497ef 100644 --- a/native/npm/linux-x64-gnu/package.json +++ b/native/npm/linux-x64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "@gsd-build/engine-linux-x64-gnu", - "version": "2.10.10", + "version": "2.10.11", "description": "GSD native engine binary for Linux x64 (glibc)", "os": [ "linux" diff --git a/native/npm/win32-x64-msvc/package.json b/native/npm/win32-x64-msvc/package.json index d74a36ba0..34ff87117 100644 --- a/native/npm/win32-x64-msvc/package.json +++ b/native/npm/win32-x64-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@gsd-build/engine-win32-x64-msvc", - "version": "2.10.10", + "version": "2.10.11", "description": "GSD native engine binary for Windows x64 (MSVC)", "os": [ "win32" diff --git a/package-lock.json b/package-lock.json index ccd367489..dfb890da7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,24 +1,52 @@ { "name": "gsd-pi", - "version": "2.10.10", + "version": "2.10.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "gsd-pi", - "version": "2.10.10", + "version": "2.10.11", "hasInstallScript": true, "license": "MIT", "workspaces": [ "packages/*" ], "dependencies": { + "@anthropic-ai/sdk": "^0.73.0", + "@aws-sdk/client-bedrock-runtime": "^3.983.0", "@clack/prompts": "^1.1.0", + "@google/genai": "^1.40.0", + "@mariozechner/jiti": "^2.6.2", + "@mistralai/mistralai": "1.14.1", + "@silvia-odwyer/photon-node": "^0.3.4", + "@sinclair/typebox": "^0.34.41", + "@types/mime-types": "^2.1.4", + "ajv": "^8.17.1", + "ajv-formats": "^3.0.1", + "chalk": "^5.5.0", + "diff": "^8.0.2", + "extract-zip": "^2.0.1", + "file-type": "^21.1.1", + "get-east-asian-width": "^1.3.0", + "glob": "^13.0.1", + "hosted-git-info": "^9.0.2", + "ignore": "^7.0.5", + "marked": "^15.0.12", + "mime-types": "^3.0.1", + "minimatch": "^10.2.3", + "openai": "6.26.0", "picocolors": "^1.1.1", "picomatch": "^4.0.3", "playwright": "^1.58.2", + "proper-lockfile": "^4.1.2", + "proxy-agent": "^6.5.0", "sharp": "^0.34.5", - "undici": "^7.24.2" + "sql.js": "^1.14.1", + "strip-ansi": "^7.1.0", + "undici": "^7.24.2", + "yaml": "^2.8.2", + "zod-to-json-schema": "^3.24.6" }, "bin": { "gsd": "dist/loader.js", @@ -39,7 +67,8 @@ "@gsd-build/engine-linux-arm64-gnu": ">=2.10.2", "@gsd-build/engine-linux-x64-gnu": ">=2.10.2", "@gsd-build/engine-win32-x64-msvc": ">=2.10.2", - "fsevents": "~2.3.3" + "fsevents": "~2.3.3", + "koffi": "^2.9.0" } }, "node_modules/@anthropic-ai/sdk": { diff --git a/package.json b/package.json index 5b6be1f0f..f0f662964 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gsd-pi", - "version": "2.10.10", + "version": "2.10.11", "description": "GSD — Get Shit Done coding agent", "license": "MIT", "repository": { @@ -62,12 +62,40 @@ "prepublishOnly": "npm run sync-pkg-version && npm run sync-platform-versions && git diff --exit-code || (echo 'ERROR: version sync changed files — commit them before publishing' && exit 1) && npm run build && npm run validate-pack" }, "dependencies": { + "@anthropic-ai/sdk": "^0.73.0", + "@aws-sdk/client-bedrock-runtime": "^3.983.0", "@clack/prompts": "^1.1.0", + "@google/genai": "^1.40.0", + "@mariozechner/jiti": "^2.6.2", + "@mistralai/mistralai": "1.14.1", + "@silvia-odwyer/photon-node": "^0.3.4", + "@sinclair/typebox": "^0.34.41", + "@types/mime-types": "^2.1.4", + "ajv": "^8.17.1", + "ajv-formats": "^3.0.1", + "chalk": "^5.5.0", + "diff": "^8.0.2", + "extract-zip": "^2.0.1", + "file-type": "^21.1.1", + "get-east-asian-width": "^1.3.0", + "glob": "^13.0.1", + "hosted-git-info": "^9.0.2", + "ignore": "^7.0.5", + "marked": "^15.0.12", + "mime-types": "^3.0.1", + "minimatch": "^10.2.3", + "openai": "6.26.0", "picocolors": "^1.1.1", "picomatch": "^4.0.3", "playwright": "^1.58.2", + "proper-lockfile": "^4.1.2", + "proxy-agent": "^6.5.0", "sharp": "^0.34.5", - "undici": "^7.24.2" + "sql.js": "^1.14.1", + "strip-ansi": "^7.1.0", + "undici": "^7.24.2", + "yaml": "^2.8.2", + "zod-to-json-schema": "^3.24.6" }, "devDependencies": { "@types/node": "^22.0.0", @@ -81,7 +109,8 @@ "@gsd-build/engine-linux-x64-gnu": ">=2.10.2", "@gsd-build/engine-linux-arm64-gnu": ">=2.10.2", "@gsd-build/engine-win32-x64-msvc": ">=2.10.2", - "fsevents": "~2.3.3" + "fsevents": "~2.3.3", + "koffi": "^2.9.0" }, "overrides": { "gaxios": "7.1.4"