From 4c604dd1293abfb99fa750db7b561f9d64b3d7d8 Mon Sep 17 00:00:00 2001 From: Ayane Date: Sun, 8 Mar 2026 20:17:29 +0800 Subject: [PATCH] fix(feishu): restore @larksuiteoapi/node-sdk in root dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The bundled Feishu extension fails to load after npm global install because `@larksuiteoapi/node-sdk` was removed from the root package.json in e1503349c ("scope extension runtime deps to plugin manifests"). Bundled extensions shipped inside the npm package resolve modules through the root node_modules tree. Since `.gitignore` excludes nested `node_modules/` directories, the extension-level `node_modules/` is never published, so the module is unreachable at runtime. Other bundled channel dependencies (e.g. `@discordjs/voice`, `@slack/bolt`) remain in the root manifest for the same reason. Re-add the entry — matching the version already declared in `extensions/feishu/package.json` — so that both global npm installs and the bundled extension path can locate the SDK. Closes #39733 --- package.json | 1 + pnpm-lock.yaml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/package.json b/package.json index f50f3b5fb2f..ed248de2fa9 100644 --- a/package.json +++ b/package.json @@ -340,6 +340,7 @@ "@grammyjs/runner": "^2.0.3", "@grammyjs/transformer-throttler": "^1.2.1", "@homebridge/ciao": "^1.3.5", + "@larksuiteoapi/node-sdk": "^1.59.0", "@line/bot-sdk": "^10.6.0", "@lydell/node-pty": "1.2.0-beta.3", "@mariozechner/pi-agent-core": "0.55.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 11144b4fd77..de39720b6a9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -48,6 +48,9 @@ importers: '@homebridge/ciao': specifier: ^1.3.5 version: 1.3.5 + '@larksuiteoapi/node-sdk': + specifier: ^1.59.0 + version: 1.59.0 '@line/bot-sdk': specifier: ^10.6.0 version: 10.6.0