Skip to content

Use copilotManagedRuntime factory in public template and skills - #7

Merged
Esteban Chavez (eschavez) merged 2 commits into
mainfrom
eschavez-cmr-vite-factory-rename
Nov 5, 2026
Merged

Esteban Chavez (eschavez) merged 2 commits into
mainfrom
eschavez-cmr-vite-factory-rename

Conversation

@eschavez

@eschavez Esteban Chavez (eschavez) commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Rename the public Vite template import and factory call to copilotManagedRuntime() with no managedApps aliases.
  • Require @microsoft/cmr-apps-vite-plugin ^0.5.0 in the template and all state-skill installation guidance; update local gateway examples and verification steps to the renamed factory.
  • Synchronize agent-plugin manifests and marketplace metadata at 2.1.12 per repository guidelines.

Merge blocked: coordinated releases required

Do not merge until both conditions are met:

  1. @microsoft/cmr-apps-vite-plugin@0.5.0, exporting copilotManagedRuntime, is publicly published.
  2. The updated ms CLI detection supporting the renamed factory is released.

This is an intentional breaking rename without compatibility aliases. The user-selected release increment is minor (0.4.9 to 0.5.0). Coordinated internal counterpart (private): bic/PowerPlatform-Managed-Host#2143.

Validation

  • Plugin compatibility validator passed.
  • Node compatibility and attribution-hook tests: 60 passed.
  • Packaged-skill validator and Python tests: passed (5 tests).
  • git diff --check and exact template factory/dependency assertions passed; hidden-inclusive repository search found no remaining old factory/type references.
  • The validators and tests above were rerun for the corrected 0.5.0 dependency floor, including assertions for all four package-manager installation examples and the unchanged factory.
  • A disposable copy of the updated public template installed, built (tsc -b && vite build), and linted (eslint .) successfully against the actual locally built candidate tarball. Only the copied Vite-plugin dependency was overridden to a local file; the committed template now requires ^0.5.0. Runtime assertions verified the candidate's new factory export and absence of the old alias. The disposable copy and isolated npm cache were removed.

Validation limits: the local candidate still reports package version 0.4.9 pending the minor release. This proves local candidate integration only, not public 0.5.0 availability or real ms app create. Public 0.5.0 availability has not been verified; no successful public-release install is claimed. No live ms app create was run.

Require the breaking Vite plugin 1.0.0 API without legacy aliases and synchronize agent plugin metadata.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@eschavez
Esteban Chavez (eschavez) requested a review from a team as a code owner November 5, 2026 02:20
Correct the template dependency and state skill guidance to the user-selected minor release while preserving the no-alias factory rename.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@eschavez
Esteban Chavez (eschavez) merged commit 9694987 into main Nov 5, 2026
3 checks passed
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