Skip to content

remove ai, openai, mcpplugin, a2a, and devtools packages#413

Merged
heyitsaamir merged 1 commit into
mainfrom
remove-deprecated-packages
Apr 29, 2026
Merged

remove ai, openai, mcpplugin, a2a, and devtools packages#413
heyitsaamir merged 1 commit into
mainfrom
remove-deprecated-packages

Conversation

@lilyydu

@lilyydu lilyydu commented Apr 25, 2026

Copy link
Copy Markdown
Collaborator

follow-up to the deprecations in #406 and #410:

  • fully delete the 5 packages along with their workspace, pyright, and ADO publish wiring
  • refresh the package lists in README, CLAUDE.md, copilot-instructions, and RELEASE.md.

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) <[email protected]>
Copilot AI review requested due to automatic review settings April 25, 2026 01:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 thread .github/copilot-instructions.md
@heyitsaamir
heyitsaamir merged commit 6f1932c into main Apr 29, 2026
8 of 11 checks passed
@heyitsaamir
heyitsaamir deleted the remove-deprecated-packages branch April 29, 2026 22:37
corinagum added a commit that referenced this pull request May 27, 2026
## Summary

Brings `origin/main` into `release` for the **2.0.12** release. **No
carve-outs this time** — Quoted Replies (PR #321) is included.

`version.json`: `2.0.11` → `2.0.12`.

Aligns with teams.ts/teams.net cadence.

## What's in this release (delta from 2.0.11)

**Features**
- Quoted Replies & new quotes features (#321) — previously held back
- SuggestedActionSubmitActivity for `suggestedAction/submit` invoke
(#434)
- Default targeted replies for targeted inbound messages (#439)
- Reactions API marked GA (#427) — already shipped in 2.0.11 actually,
ignore if duplicate
- Prompt Preview support (#397)
- Sample: opt targeted-messages into slash commands (#430)
- Sample: a2a-in-teams (#401)
- Sample: proactive message update (#405)
- Allow custom HTTP client via `AppOptions` (#416)

**Security & fixes**
- Lock JsonWebToken trust-boundary contract (#432)
- Bump starlette 1.0.0 -> 1.1.0 for PYSEC-2026-161 / BadHost (#441)
- warn when bot starts without credentials (#435)
- fix(apps): support AAD v1 issuers in Entra token validation (#422)
- fix(apps): log inbound activities at info, warn on missing
Authorization (#425)
- fix(http-stream): wait for in-flight flush before sending final close
(#419)
- Mark reactions API as GA and fix sample remove flow (#427)
- Revert serviceUrl allowlist (ADO 5310460) (#415)
- Route `app.get_app_graph` + `ctx.*_graph` to sovereign endpoints via
`cloud.graph_scope` (#402)

**Deprecations / package changes**
- Remove ai, openai, mcpplugin, a2a, and devtools packages (#413)
- Restore and deprecate devtools package (#410)
- Deprecate ai, openai, mcpplugin, a2a packages (#406)
- Add agent framework example, remove chatprompt/mcp client samples
(#386)

**Dependency bumps**
- urllib3 2.6.3 → 2.7.0 (#426)
- python-multipart 0.0.26 → 0.0.27 (#424)
- microsoft-kiota-http 1.9.7 → 1.9.9 (#423)
- idna 3.11 → 3.15 (#431)
- starlette 1.0.0 → 1.1.0 (#441, security)
- /examples/tab/Web: qs, postcss, uuid, follow-redirects bumps

## Quoted Replies inclusion notes

- Teams client rendering is in-sync with the wire format as of
2026-05-06.
- APX QR rollout completed: Public 2026-04-10, GCCH/DoD/Gallatin
2026-04-14.
- Builder methods (`prepend_quote()`, `add_quote()`), `ctx.quote()`, and
the quote-aware `ctx.reply()` behavior are all present in this release.
- `examples/quoting` is included.

## Conflict resolution

The 2.0.11 release branch had the QR-removed shape for four files; took
`main`'s (QR-included) version for all of them:
- `examples/targeted-messages/src/main.py`
- `packages/api/src/microsoft_teams/api/activities/message/message.py`
- `packages/apps/src/microsoft_teams/apps/routing/activity_context.py`
- `packages/apps/tests/test_activity_context.py`

`version.json` conflict resolved to `2.0.12`.

## Test plan

- [x] `uv sync` clean
- [x] `poe check` (ruff format + lint) — clean
- [x] `poe test` — 609 passed
- [x] `pyright` — 0 errors, 0 warnings
- [ ] Pipeline build + test stages green on `release` after merge
- [ ] Publish pipeline run with **Public** → ESRP approval → PyPI
- [ ] `pip install microsoft-teams-apps==2.0.12` smoke install

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Aamir Jawaid <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
Co-authored-by: Shanmathi Mayuram Krithivasan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants