Skip to content

docs(teams): add Teams to sidebar - #18239

Closed
heyitsaamir wants to merge 8 commits into
NousResearch:mainfrom
heyitsaamir:main
Closed

docs(teams): add Teams to sidebar#18239
heyitsaamir wants to merge 8 commits into
NousResearch:mainfrom
heyitsaamir:main

Conversation

@heyitsaamir

@heyitsaamir heyitsaamir commented May 1, 2026

Copy link
Copy Markdown

Summary

Follow-up to the Teams adapter landing in main. Five commits:

  • docs(teams): add Teams to sidebar — Teams was missing from the Messaging Platforms sidebar section
  • docs: add Teams to platform lists across docs — index.md, quickstart, integrations, sessions, slash-commands, updating, hooks, and hermes-agent skill
  • docs(teams): add Teams to messaging/index.md — platform comparison table (images ✅, typing ✅, threads ✅), architecture diagram, toolsets table, security examples, Next Steps link
  • feat(teams): implement threading via app.reply() — wires reply_to into send() using the SDK's App.reply(conv_id, msg_id, content) which handles to_threaded_conversation_id internally; works in channels and group chats where supported
  • fix(teams): fall back to flat send when threading returns 400 — group chats return 400 for threaded sends; catch and deliver as flat message instead

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@alt-glitch alt-glitch added type/docs Documentation improvements P3 Low — cosmetic, nice to have labels May 1, 2026
Aamir Jawaid and others added 7 commits May 1, 2026 04:39
Update all platform enumeration lists to include Teams:
index.md, quickstart.md, integrations/index.md, sessions.md,
slash-commands.md, updating.md, hooks.md, hermes-agent skill.

Skipped PII redaction docs — Teams uses AAD object IDs, not
phone numbers, so redaction doesn't apply there.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add to platform description and intro paragraph
- Add row to platform comparison table (images + typing)
- Add node to architecture mermaid diagram
- Add TEAMS_ALLOWED_USERS to security examples
- Add to platform-specific toolsets table
- Add to Next Steps links

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Wire reply_to into send() using App.reply(conv_id, msg_id, content)
which constructs the threaded conversation ID internally.
Threads supported in channels and group chats.

Update comparison table: Threads ✅

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Group chats return 400 for threaded sends. Catch the error and
fall back to a flat send so messages always get delivered.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The SDK requires Python >=3.12 so CI (3.11) falls to the except
ImportError branch, leaving TypingActivityInput=None. After loading
the adapter module, explicitly restore it from the mock so
test_send_typing doesn't silently no-op.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@teknium1

teknium1 commented May 5, 2026

Copy link
Copy Markdown
Contributor

Merged via #20042 — your commits were cherry-picked onto current main with authorship preserved, plus one small follow-up from us narrowing the exception handling to log failures instead of swallowing them silently. Thanks for the contribution!

@teknium1 teknium1 closed this May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low — cosmetic, nice to have type/docs Documentation improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants