- Add three-level isolation model (shared session, same agent, separate agent) with agent-shared session mode for cross-channel shared sessions - Create /manage-channels skill for wiring channels to agent groups - Refactor all 12 v2 channel skills: lean SKILL.md + VERIFY.md + REMOVE.md with structured Channel Info section for platform-specific metadata - Create /add-discord-v2 skill (was missing) - Add step 5a to setup SKILL.md invoking /manage-channels after channel install - Update setup/verify.ts to check all 12 channel token types - Add docs/v2-isolation-model.md explaining the isolation model - Update v2-checklist.md and v2-setup-wiring.md to reflect completed work Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1.8 KiB
1.8 KiB
name, description
| name | description |
|---|---|
| add-teams-v2 | Add Microsoft Teams channel integration to NanoClaw v2 via Chat SDK. |
Add Microsoft Teams Channel
Connect NanoClaw to Microsoft Teams for interactive chat in team channels and direct messages.
Pre-flight
Check if src/channels/teams.ts exists and the import is uncommented in src/channels/index.ts. If both are in place, skip to Credentials.
Install
npm install @chat-adapter/teams
Uncomment the Teams import in src/channels/index.ts:
import './teams.js';
Build:
npm run build
Credentials
- Go to Azure Portal > Azure Bot > Create.
- Configure the messaging endpoint:
https://your-domain/webhook/teams. - Add the Microsoft Teams channel.
- Note the App ID and Password from the Azure AD app registration.
Configure environment
Add to .env:
TEAMS_APP_ID=your-app-id
TEAMS_APP_PASSWORD=your-app-password
Sync to container: mkdir -p data/env && cp .env data/env/env
Next Steps
If you're in the middle of /setup, return to the setup flow now.
Otherwise, run /manage-channels to wire this channel to an agent group.
Channel Info
- type:
teams - terminology: Teams has "teams" containing "channels." The bot can also receive direct messages. Teams channels can have threaded replies.
- how-to-find-id: Right-click a channel in Teams > "Get link to channel" -- the channel ID is in the URL. Or use the Microsoft Graph API to list channels.
- supports-threads: yes
- typical-use: Interactive chat -- team channels or direct messages
- default-isolation: Same agent group for channels where you're the primary user. Separate agent group for channels with different teams or where different members have different information boundaries.