Files
openclaw/extensions/msteams/package.json
Brad Groux 9a5f4cc4aa 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
2026-03-12 01:37:13 -05:00

36 lines
826 B
JSON

{
"name": "@openclaw/msteams",
"version": "2026.3.11",
"description": "OpenClaw Microsoft Teams channel plugin",
"type": "module",
"dependencies": {
"@microsoft/agents-hosting": "^1.3.1",
"express": "^5.2.1"
},
"openclaw": {
"extensions": [
"./index.ts"
],
"channel": {
"id": "msteams",
"label": "Microsoft Teams",
"selectionLabel": "Microsoft Teams (Bot Framework)",
"docsPath": "/channels/msteams",
"docsLabel": "msteams",
"blurb": "Bot Framework; enterprise support.",
"aliases": [
"teams"
],
"order": 60
},
"install": {
"npmSpec": "@openclaw/msteams",
"localPath": "extensions/msteams",
"defaultChoice": "npm"
},
"releaseChecks": {
"rootDependencyMirrorAllowlist": []
}
}
}