1.6 KiB
1.6 KiB
Microsoft Teams Channel Adapter Checklist
Date: 2026-02-16 Status: completed
Scope
- Add a first-class Microsoft Teams channel adapter using Bot Framework activity webhooks.
- Support inbound activity handling and outbound message replies through Bot Framework REST.
Completed
- Added
TeamsAdapterinsrc/channels/teams/adapter.ts:- inbound activity handling for
POST /teams/events - mention-aware group message gating (
require_mention) - optional conversation allowlist (
allowed_conversation_ids) - outbound Bot Framework send using OAuth client credentials token flow
- reply routing via encoded
metadata.replyPeerId
- inbound activity handling for
- Registered channel exports:
src/channels/teams/index.tssrc/channels/index.ts
- Added config schema support in
src/config/schema.ts:teams.app_idteams.app_passwordteams.allowed_conversation_idsteams.require_mention
- Wired daemon + gateway integration:
- registration in
src/daemon/channels.ts - gateway Teams route handling in
src/gateway/server.ts(POST /teams/events)
- registration in
- Updated service discovery + docs:
src/gateway/handlers/services.tsREADME.mdconfig/default.yaml- secret redaction for
teams.app_passwordinsrc/cli/shared.ts
- Added tests:
src/channels/teams/adapter.test.tssrc/config/schema.test.ts(teams schema coverage)src/gateway/handlers/services.test.ts(teams service status)src/cli/shared.test.ts(teams secret redaction)
Verification
pnpm test:run src/channels/teams/adapter.test.ts src/config/schema.test.ts src/gateway/handlers/services.test.ts src/cli/shared.test.tspnpm typecheck