mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
fix(msteams): add @microsoft/agents-hosting to root dependencies
Bundled extensions ship inside the openclaw package (via the files array), but their node_modules are not included. In global/Homebrew installs, Node module resolution cannot find @microsoft/agents-hosting because it was only declared in the extension's package.json and explicitly allowlisted as an expected gap via rootDependencyMirrorAllowlist. This commit: - Adds @microsoft/agents-hosting ^1.3.1 to the root package.json dependencies so it is installed alongside openclaw in all install modes - Clears the now-stale rootDependencyMirrorAllowlist entry in the msteams extension manifest so the release-check gate will catch future drift - Updates pnpm-lock.yaml to include the new root dependency Fixes the runtime error: Cannot find module '@microsoft/agents-hosting' Supersedes #16606. Refs: #15622, #9357, #17089, #41431
This commit is contained in:
@@ -29,9 +29,7 @@
|
||||
"defaultChoice": "npm"
|
||||
},
|
||||
"releaseChecks": {
|
||||
"rootDependencyMirrorAllowlist": [
|
||||
"@microsoft/agents-hosting"
|
||||
]
|
||||
"rootDependencyMirrorAllowlist": []
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -353,6 +353,7 @@
|
||||
"@mariozechner/pi-ai": "0.57.1",
|
||||
"@mariozechner/pi-coding-agent": "0.57.1",
|
||||
"@mariozechner/pi-tui": "0.57.1",
|
||||
"@microsoft/agents-hosting": "^1.3.1",
|
||||
"@mozilla/readability": "^0.6.0",
|
||||
"@sinclair/typebox": "0.34.48",
|
||||
"@slack/bolt": "^4.6.0",
|
||||
|
||||
3
pnpm-lock.yaml
generated
3
pnpm-lock.yaml
generated
@@ -70,6 +70,9 @@ importers:
|
||||
'@mariozechner/pi-tui':
|
||||
specifier: 0.57.1
|
||||
version: 0.57.1
|
||||
'@microsoft/agents-hosting':
|
||||
specifier: ^1.3.1
|
||||
version: 1.3.1
|
||||
'@mozilla/readability':
|
||||
specifier: ^0.6.0
|
||||
version: 0.6.0
|
||||
|
||||
Reference in New Issue
Block a user