Skip to content

Move deprecated desktop-driver-mcp package to shims - #4520

Merged
Jason Morse (JasonVMo) merged 1 commit into
mainfrom
user/jasonvmo/deprecate-old-mcp
Nov 20, 2026
Merged

Jason Morse (JasonVMo) merged 1 commit into
mainfrom
user/jasonvmo/deprecate-old-mcp

Conversation

@JasonVMo

Copy link
Copy Markdown
Contributor

Platforms Impacted

  • iOS
  • macOS
  • win32 (Office)
  • windows
  • android

Platform-neutral package relocation; no native implementation changes.

Description of changes

Move @fluentui-react-native/desktop-driver-mcp from packages/agentic to packages/shims, preserving the package name, executable, and driver-only forwarding APIs.

Add explicit deprecated package metadata and migration instructions directing consumers to @fluentui-react-native/desktop-mcp. Use desktop-mcp --driver-only to preserve existing descriptor discovery and CLI behavior; update embedding imports to the replacement package.

Update TypeScript references, the Yarn workspace lock entry, package guidance ownership, and executable/consumer test paths. Include a patch changeset. This PR does not modify already-published npm registry versions.

Verification

Command Result
yarn install Passed; workspace links and lock entry refreshed, with existing peer-dependency warnings.
yarn workspace @fluentui-react-native/desktop-driver-mcp format Passed.
yarn workspace @fluentui-react-native/desktop-driver-mcp lint Passed.
yarn workspace @fluentui-react-native/desktop-driver-mcp build Passed.
yarn workspace @fluentui-react-native/desktop-driver-mcp test Passed: 1 test.
yarn workspace @fluentui-react-native/desktop-mcp lint Passed.
yarn workspace @fluentui-react-native/desktop-mcp build Passed.
yarn workspace @fluentui-react-native/desktop-mcp test Passed: 55 tests, including all three stdio startup modes.
yarn workspace @fluentui-react-native/desktop-test format --check Passed.
yarn workspace @fluentui-react-native/desktop-test lint Passed.
yarn workspace @fluentui-react-native/desktop-test build Passed.
yarn workspace @fluentui-react-native/desktop-test test packageBoundary Passed: 13 tests, including the relocated shim's standalone consumer.
yarn workspace @fluentui-react-native/desktop-test test Passed on unchanged rerun: 603 tests; 36 opt-in native tests skipped.
yarn check-agent-instructions Passed.
yarn lage test-links Passed: 93 tasks.
yarn clean-lage-cache then yarn lage buildci Initial aggregate failed on two 5-second desktop-test fixture deadlines; unchanged full package rerun passed. Subsequent yarn lage buildci passed with 10 tasks executed, 174 fresh cached tasks reused, and no failures.
yarn change:check Passed after commit.
node packages/shims/desktop-driver-mcp/config/cli.cjs --help Passed; legacy command and options preserved.

Native runtime qualification was not run: no native behavior changed.

Before After
Compatibility package lived under packages/agentic with a brief deprecation notice. Compatibility package lives under packages/shims, includes deprecation metadata and explicit dependency, CLI, and embedding migration instructions, and retains driver-only behavior.

Pull request checklist

This PR has considered (when applicable):

  • Automated Tests
  • Documentation and examples
  • Keyboard Accessibility
  • Voiceover
  • Internationalization and Right-to-left Layouts

Preserve driver-only compatibility, add deprecation metadata and migration guidance, and update workspace and test references.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

Bundle size report

Tree-shaken, minified production esbuild bundles with React and React Native runtimes externalized.

Scenario Modules-Mac (Δ) Modules-Win (Δ) Size-Mac (Δ) Size-Win (Δ)
components-button 79 (+1) 80 (+1) 72.92k (-702b) 72.85k (-702b)
components-catalog 228 (+1) 229 (+1) 229.66k (+349b) 229.59k (+349b)
design-themed-root 55 (+4) 56 (+4) 56.26k (+998b) 56.18k (+998b)
design-color-lib 6 (+0) 6 (+0) 6.27k (+0b) 6.27k (+0b)
design-theme-state-legacy-source 49 (+1) 50 (+1) 52.96k (-841b) 52.89k (-841b)
design-legacy-theme 42 (+0) 42 (+0) 39.11k (+0b) 42.91k (+0b)
design-legacy-theme-from-flex 58 (+4) 58 (+4) 60.70k (+824b) 64.51k (+822b)
design-fluent-light-theme 7 (+0) 7 (+0) 18.74k (+0b) 22.59k (+0b)
design-fluent-theme 35 (+0) 35 (+0) 27.46k (+4b) 31.25k (-1b)
design-fluent-hc-theme 32 (+0) 32 (+0) 27.34k (+0b) 31.13k (+0b)
design-flex-theme 29 (-4) 29 (-4) 14.30k (-9.07k) 14.29k (-9.07k)
design-flex-cool-theme 26 (New) 26 (New) 12.51k (New) 12.50k (New)
design-flex-warm-theme 26 (-7) 26 (-7) 12.28k (-11.15k) 12.27k (-11.15k)

The job is advisory: size changes are reported but do not fail the pull request. Bundle or analysis errors still fail.


View bundle-size workflow run

@JasonVMo
Jason Morse (JasonVMo) merged commit 56db7f1 into main Nov 20, 2026
20 checks passed
@JasonVMo
Jason Morse (JasonVMo) deleted the user/jasonvmo/deprecate-old-mcp branch November 20, 2026 03:55
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.

2 participants