mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-13 10:11:20 +00:00
* msteams: add pin/unpin, list-pins, and read message actions Wire up Graph API endpoints for message read, pin, unpin, and list-pins in the MS Teams extension, following the same patterns as edit/delete. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * msteams: address PR review comments for pin/unpin/read actions - Handle 204 No Content in postGraphJson (Graph mutations may return empty body) - Strip conversation:/user: prefixes in resolveConversationPath to avoid Graph 404s - Remove dead variable in channel pin branch - Rename unpin param from messageId to pinnedMessageId for semantic clarity - Accept both pinnedMessageId and messageId in unpin action handler for compat Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * msteams: resolve user targets + add User-Agent to Graph helpers - Resolve user:<aadId> targets to actual conversation IDs via conversation store before Graph API calls (fixes 404 for DM-context actions) - Add User-Agent header to postGraphJson/deleteGraphRequest for consistency with fetchGraphJson after rebase onto main Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * msteams: resolve DM targets to Graph chat IDs + expose pin IDs - Prefer cached graphChatId over Bot Framework conversation IDs for user targets; throw descriptive error when no Graph-compatible ID is available - Add `id` field to list-pins rows so default formatters surface the pinned resource ID needed for the unpin flow Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * msteams: add react and reactions (list) message actions * msteams: fix reaction count undercount and remove unpin messageId fallback * msteams: wire pinnedMessageId through CLI/tool schema, add channel pin beta warnings, add list-pins pagination * msteams: address PR #53432 remaining review feedback * fix(msteams): route channel actions via teamId/channelId path (#53432) * msteams: add unpin pinnedMessageId test coverage (#53432) * fix(msteams): keep graph routing scoped to graph actions * fix(msteams): align graph routing context types * msteams: route fetchGraphAbsoluteUrl through fetchWithSsrFGuard --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: Brad Groux <3053586+BradGroux@users.noreply.github.com>
61 lines
1.3 KiB
JSON
61 lines
1.3 KiB
JSON
{
|
|
"name": "@openclaw/msteams",
|
|
"version": "2026.4.10",
|
|
"description": "OpenClaw Microsoft Teams channel plugin",
|
|
"type": "module",
|
|
"dependencies": {
|
|
"@sinclair/typebox": "0.34.49",
|
|
"@microsoft/teams.api": "2.0.7",
|
|
"@microsoft/teams.apps": "2.0.7",
|
|
"express": "^5.2.1",
|
|
"jsonwebtoken": "^9.0.3",
|
|
"jwks-rsa": "^4.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@openclaw/plugin-sdk": "workspace:*",
|
|
"@types/jsonwebtoken": "^9.0.10",
|
|
"openclaw": "workspace:*"
|
|
},
|
|
"peerDependencies": {
|
|
"openclaw": ">=2026.4.10"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"openclaw": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"openclaw": {
|
|
"extensions": [
|
|
"./index.ts"
|
|
],
|
|
"setupEntry": "./setup-entry.ts",
|
|
"channel": {
|
|
"id": "msteams",
|
|
"label": "Microsoft Teams",
|
|
"selectionLabel": "Microsoft Teams (Teams SDK)",
|
|
"docsPath": "/channels/msteams",
|
|
"docsLabel": "msteams",
|
|
"blurb": "Teams SDK; enterprise support.",
|
|
"aliases": [
|
|
"teams"
|
|
],
|
|
"order": 60
|
|
},
|
|
"install": {
|
|
"npmSpec": "@openclaw/msteams",
|
|
"defaultChoice": "npm",
|
|
"minHostVersion": ">=2026.4.10"
|
|
},
|
|
"compat": {
|
|
"pluginApi": ">=2026.4.10"
|
|
},
|
|
"build": {
|
|
"openclawVersion": "2026.4.10"
|
|
},
|
|
"release": {
|
|
"publishToClawHub": true,
|
|
"publishToNpm": true
|
|
}
|
|
}
|
|
}
|