feat(microsoft): emulate Teams discovery and bot messaging - #4
Open
kamal wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Review and landing order
Independent PR targeting
main; no stack dependency on the other emulator addition. Ready for code review based on the package-level validation below. GitHub currently reports no PR checks, so this is local-validation evidence rather than a green hosted CI claim. Review and merge either addition first; recheck shared documentation/lockfile overlap on the second PR.Snapshot: 2026-09-06. Recheck checks and approvals after rebasing or retargeting.
Summary
Teams bot messaging requires Graph discovery and Bot Framework Connector delivery. Add Graph user, installed-app and chat discovery alongside authenticated Connector conversation creation, send, reply, update and delete. Preserve rich card payloads and expose an emulator-only read-back endpoint backed by the shared store.
Add seed configuration for conversations and installations, tenant-qualified token endpoints, bot access checks, and meaningful input/resource/authentication failures. Update package and root documentation, agent instructions, docs site and CLI help.
Validation
Limitations
No inbound bot events, card callbacks, incoming webhooks, Graph message writes, installation writes, pagination or throttling. Cards are retained as JSON with basic validation. Full tenant/consent simulation and external SDK token discovery are not covered; seed OAuth clients for credential validation. No live provider or deployed environment validation was performed.