feat: add DevTools debugging UI for core branch#380
Closed
rajan-chari wants to merge 1 commit intomicrosoft:next/corefrom
Closed
feat: add DevTools debugging UI for core branch#380rajan-chari wants to merge 1 commit intomicrosoft:next/corefrom
rajan-chari wants to merge 1 commit intomicrosoft:next/corefrom
Conversation
Port the DevTools debugging UI from main's plugin system to core's middleware architecture. Provides real-time WebSocket activity monitoring, test message injection, and app metadata display at /devtools. Architecture: - DevToolsMiddleware (ITurnMiddleware) intercepts incoming activities + errors - DevToolsConversationClient (extends ConversationClient) intercepts outgoing - DevToolsService holds shared WebSocket state and emit helpers - Minimal API endpoints replace MVC controllers - Embedded React UI copied from main (unchanged) Usage: services.AddDevTools() + app.UseDevTools() Includes devtools-plan/ docs describing the main→core porting design. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Member
|
closing, superseed by #381 |
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.
Summary
main's plugin system to theupstream/next/coremiddleware architectureMicrosoft.Teams.Bot.DevToolsproject undercore/src/— provides real-time WebSocket activity monitoring, test message injection, and app metadata display at/devtoolsITurnMiddlewarefor incoming activity interception,ConversationClientoverride for outgoing, and minimal API endpoints (replacing MVC controllers)Architecture
DevToolsMiddlewareITurnMiddleware— emits received/error eventsDevToolsConversationClientConversationClient— emits sent eventsDevToolsServiceDevToolsHostingExtensionsAddDevTools()+UseDevTools()registrationweb/Usage
Verification
net8.0andnet10.0Test plan
dotnet build core/src/Microsoft.Teams.Bot.DevTools/dotnet test core/core.slnx/devtoolsUI loads🤖 Generated with Claude Code