remove ai, openai, mcpplugin, a2a, and devtools packages#413
Open
remove ai, openai, mcpplugin, a2a, and devtools packages#413
Conversation
Follow-up to the deprecations in #406 and #410: fully delete the five packages along with their workspace, pyright, and Azure DevOps publish wiring, and refresh the package lists in README, CLAUDE.md, copilot-instructions, and RELEASE.md. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Removes deprecated preview packages (ai, openai, mcpplugin, a2a, devtools) from the monorepo and cleans up workspace/type-checking/publish wiring and top-level documentation so the remaining SDK packages are the only supported surface area.
Changes:
- Deleted the 5 deprecated packages (source + tests + shims + package metadata).
- Removed those packages from workspace/tooling configs (UV sources, Pyright paths, AzDO publish install step).
- Updated top-level docs (README/CLAUDE/Copilot instructions/RELEASE) to reflect the new package set.
Reviewed changes
Copilot reviewed 79 out of 95 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| pyrightconfig.json | Removes deleted packages from extraPaths. |
| pyproject.toml | Removes deleted packages from [tool.uv.sources] workspace sources list. |
| packages/openai/tests/test_openai_responses_model.py | Deleted OpenAI package test suite. |
| packages/openai/tests/test_openai_completions_model.py | Deleted OpenAI package test suite. |
| packages/openai/tests/test_function_utils.py | Deleted OpenAI package test suite. |
| packages/openai/tests/init.py | Deleted OpenAI tests module marker. |
| packages/openai/src/microsoft_teams/openai/responses_chat_model.py | Deleted OpenAI Responses model implementation. |
| packages/openai/src/microsoft_teams/openai/function_utils.py | Deleted OpenAI function schema/args helpers. |
| packages/openai/src/microsoft_teams/openai/completions_model.py | Deleted OpenAI Completions model implementation. |
| packages/openai/src/microsoft_teams/openai/common.py | Deleted OpenAI base config/client wrapper. |
| packages/openai/src/microsoft_teams/openai/init.py | Deleted OpenAI package entrypoint + deprecation warning. |
| packages/openai/src/microsoft/teams/openai/init.py | Deleted legacy namespace shim for microsoft.teams.openai. |
| packages/openai/pyproject.toml | Deleted OpenAI package metadata/build config. |
| packages/openai/README.md | Deleted OpenAI package README. |
| packages/mcpplugin/tests/test_transport.py | Deleted MCP plugin test suite. |
| packages/mcpplugin/tests/test_server_plugin.py | Deleted MCP plugin test suite. |
| packages/mcpplugin/tests/test_ai_plugin.py | Deleted MCP plugin test suite. |
| packages/mcpplugin/tests/conftest.py | Deleted MCP plugin test fixtures. |
| packages/mcpplugin/src/microsoft_teams/mcpplugin/transport.py | Deleted MCP transport utilities. |
| packages/mcpplugin/src/microsoft_teams/mcpplugin/server_plugin.py | Deleted MCP server plugin. |
| packages/mcpplugin/src/microsoft_teams/mcpplugin/models/tool.py | Deleted MCP models. |
| packages/mcpplugin/src/microsoft_teams/mcpplugin/models/params.py | Deleted MCP models. |
| packages/mcpplugin/src/microsoft_teams/mcpplugin/models/cache.py | Deleted MCP models. |
| packages/mcpplugin/src/microsoft_teams/mcpplugin/models/init.py | Deleted MCP models exports. |
| packages/mcpplugin/src/microsoft_teams/mcpplugin/ai_plugin.py | Deleted MCP client plugin. |
| packages/mcpplugin/src/microsoft_teams/mcpplugin/init.py | Deleted MCP package entrypoint + deprecation warning. |
| packages/mcpplugin/src/microsoft/teams/mcpplugin/init.py | Deleted legacy namespace shim for microsoft.teams.mcpplugin. |
| packages/mcpplugin/pyproject.toml | Deleted MCP plugin package metadata/build config. |
| packages/mcpplugin/README.md | Deleted MCP plugin README. |
| packages/devtools/tests/test_devtools_plugin.py | Deleted devtools package test suite. |
| packages/devtools/src/microsoft_teams/devtools/web/teams.png | Deleted devtools static asset. |
| packages/devtools/src/microsoft_teams/devtools/web/index.html | Deleted devtools static UI entrypoint. |
| packages/devtools/src/microsoft_teams/devtools/web/icon.png | Deleted devtools static asset. |
| packages/devtools/src/microsoft_teams/devtools/web/assets/index-DUmBwYhV.css | Deleted devtools static asset. |
| packages/devtools/src/microsoft_teams/devtools/web/assets/FluentSystemIcons-Resizable-Iep0utY8.woff2 | Deleted devtools static asset. |
| packages/devtools/src/microsoft_teams/devtools/web/assets/FluentSystemIcons-Resizable-DnCkRnj_.woff | Deleted devtools static asset. |
| packages/devtools/src/microsoft_teams/devtools/web/assets/FluentSystemIcons-Resizable-CnnvCM7P.ttf | Deleted devtools static asset. |
| packages/devtools/src/microsoft_teams/devtools/web/assets/FluentSystemIcons-Regular-DaURWknX.woff2 | Deleted devtools static asset. |
| packages/devtools/src/microsoft_teams/devtools/web/assets/FluentSystemIcons-Regular-DG6j5pl_.woff | Deleted devtools static asset. |
| packages/devtools/src/microsoft_teams/devtools/web/assets/FluentSystemIcons-Regular-Ck4JqYAr.ttf | Deleted devtools static asset. |
| packages/devtools/src/microsoft_teams/devtools/web/assets/FluentSystemIcons-Light-eu0dDZrh.woff2 | Deleted devtools static asset. |
| packages/devtools/src/microsoft_teams/devtools/web/assets/FluentSystemIcons-Light-DzHdd4FE.woff | Deleted devtools static asset. |
| packages/devtools/src/microsoft_teams/devtools/web/assets/FluentSystemIcons-Light-CPYKaotZ.ttf | Deleted devtools static asset. |
| packages/devtools/src/microsoft_teams/devtools/web/assets/FluentSystemIcons-Filled-CKlopXFJ.woff | Deleted devtools static asset. |
| packages/devtools/src/microsoft_teams/devtools/web/assets/FluentSystemIcons-Filled-BkKNRAuh.ttf | Deleted devtools static asset. |
| packages/devtools/src/microsoft_teams/devtools/web/assets/FluentSystemIcons-Filled-BNz-nPog.woff2 | Deleted devtools static asset. |
| packages/devtools/src/microsoft_teams/devtools/routes/v3/router.py | Deleted devtools API routes. |
| packages/devtools/src/microsoft_teams/devtools/routes/v3/conversations/router.py | Deleted devtools API routes. |
| packages/devtools/src/microsoft_teams/devtools/routes/v3/conversations/activities/router.py | Deleted devtools API routes. |
| packages/devtools/src/microsoft_teams/devtools/routes/v3/conversations/activities/create.py | Deleted devtools API routes. |
| packages/devtools/src/microsoft_teams/devtools/routes/v3/conversations/activities/init.py | Deleted devtools API routes exports. |
| packages/devtools/src/microsoft_teams/devtools/routes/v3/conversations/init.py | Deleted devtools API routes exports. |
| packages/devtools/src/microsoft_teams/devtools/routes/v3/init.py | Deleted devtools API routes exports. |
| packages/devtools/src/microsoft_teams/devtools/routes/router.py | Deleted devtools API routes. |
| packages/devtools/src/microsoft_teams/devtools/routes/context.py | Deleted devtools route context model. |
| packages/devtools/src/microsoft_teams/devtools/routes/init.py | Deleted devtools routes exports. |
| packages/devtools/src/microsoft_teams/devtools/page.py | Deleted devtools Page model. |
| packages/devtools/src/microsoft_teams/devtools/event.py | Deleted devtools event models. |
| packages/devtools/src/microsoft_teams/devtools/devtools_plugin.py | Deleted devtools plugin implementation. |
| packages/devtools/src/microsoft_teams/devtools/init.py | Deleted devtools package entrypoint + deprecation warning. |
| packages/devtools/src/microsoft/teams/devtools/init.py | Deleted legacy namespace shim for microsoft.teams.devtools. |
| packages/devtools/pyproject.toml | Deleted devtools package metadata/build config. |
| packages/devtools/README.md | Deleted devtools package README. |
| packages/ai/tests/test_chat_prompt.py | Deleted AI package test suite. |
| packages/ai/src/microsoft_teams/ai/plugin.py | Deleted AI plugin interfaces/base. |
| packages/ai/src/microsoft_teams/ai/message.py | Deleted AI message models. |
| packages/ai/src/microsoft_teams/ai/memory.py | Deleted AI memory abstraction/impl. |
| packages/ai/src/microsoft_teams/ai/function.py | Deleted AI function models/handlers. |
| packages/ai/src/microsoft_teams/ai/chat_prompt.py | Deleted ChatPrompt implementation. |
| packages/ai/src/microsoft_teams/ai/ai_model.py | Deleted AIModel protocol. |
| packages/ai/src/microsoft_teams/ai/init.py | Deleted AI package entrypoint + deprecation warning. |
| packages/ai/src/microsoft/teams/ai/init.py | Deleted legacy namespace shim for microsoft.teams.ai. |
| packages/ai/pyproject.toml | Deleted AI package metadata/build config. |
| packages/ai/README.md | Deleted AI package README. |
| packages/a2aprotocol/src/microsoft_teams/a2a/server/plugin.py | Deleted A2A server plugin. |
| packages/a2aprotocol/src/microsoft_teams/a2a/server/logging_middleware.py | Deleted A2A middleware. |
| packages/a2aprotocol/src/microsoft_teams/a2a/server/custom_agent_executor.py | Deleted A2A executor integration. |
| packages/a2aprotocol/src/microsoft_teams/a2a/server/a2a_plugin_options.py | Deleted A2A options model. |
| packages/a2aprotocol/src/microsoft_teams/a2a/server/init.py | Deleted A2A server exports. |
| packages/a2aprotocol/src/microsoft_teams/a2a/chat_prompt/types.py | Deleted A2A chat prompt types. |
| packages/a2aprotocol/src/microsoft_teams/a2a/chat_prompt/plugin.py | Deleted A2A chat prompt plugin. |
| packages/a2aprotocol/src/microsoft_teams/a2a/chat_prompt/agent_config.py | Deleted A2A chat prompt types. |
| packages/a2aprotocol/src/microsoft_teams/a2a/chat_prompt/agent_client_info.py | Deleted A2A chat prompt types. |
| packages/a2aprotocol/src/microsoft_teams/a2a/chat_prompt/init.py | Deleted A2A chat prompt exports. |
| packages/a2aprotocol/src/microsoft_teams/a2a/init.py | Deleted A2A package entrypoint + deprecation warning. |
| packages/a2aprotocol/src/microsoft/teams/a2a/init.py | Deleted legacy namespace shim for microsoft.teams.a2a. |
| packages/a2aprotocol/pyproject.toml | Deleted A2A package metadata/build config. |
| packages/a2aprotocol/README.md | Deleted A2A package README. |
| RELEASE.md | Updates release doc examples to avoid removed package names. |
| README.md | Updates package/app lists to remove deleted packages/examples. |
| CLAUDE.md | Updates architecture package table to remove deleted packages. |
| .github/copilot-instructions.md | Updates “Core Packages” and examples list to remove deleted packages. |
| .azdo/publish.yml | Removes deleted packages from the AzDO editable-install step used for tests. |
Comment on lines
94
to
108
| ## Repository Structure and Navigation | ||
|
|
||
| ### Core Packages (`/packages`) | ||
| - **microsoft-teams-apps**: Main application framework | ||
| - **microsoft-teams-ai**: AI integration functionality | ||
| - **microsoft-teams-api**: Teams API client | ||
| - **microsoft-teams-cards**: Adaptive cards support | ||
| - **microsoft-teams-common**: Shared utilities | ||
| - **microsoft-teams-graph**: Microsoft Graph integration | ||
| - **microsoft-teams-openai**: OpenAI integration | ||
| - **microsoft-teams-mcpplugin**: MCP protocol integration | ||
| - **microsoft-teams-botbuilder**: Bot Framework integration plugin | ||
|
|
||
| ### Test Applications (`/examples`) | ||
| Available test apps for development and validation: | ||
| - **echo**: Basic message echo bot (recommended for quick validation) | ||
| - **ai-test**: AI functionality testing | ||
| - **dialogs**: Dialog handling examples | ||
| - **message-extensions**: Message extension samples |
There was a problem hiding this comment.
There is a second copy of the Copilot instructions at custom-instructions/repo/.github/copilot-instructions.md that still lists the removed packages (ai/openai/mcpplugin/a2a/devtools). To avoid inconsistent guidance, update or remove that duplicate file as part of this cleanup.
heyitsaamir
approved these changes
Apr 25, 2026
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.
follow-up to the deprecations in #406 and #410: