feat(cli): cherry-pick PR #15402 — use alias name for template id#15407
Merged
feat(cli): cherry-pick PR #15402 — use alias name for template id#15407
Conversation
Co-authored-by: tecton <886116+tecton@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Cherry-pick changes from PR #15402 to other branches
feat(cli): cherry-pick PR #15402 — use alias name for template id
Mar 4, 2026
HuihuiWu-Microsoft
approved these changes
Mar 4, 2026
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #15407 +/- ##
========================================
Coverage 89.29% 89.30%
========================================
Files 620 620
Lines 38084 38089 +5
Branches 7561 7778 +217
========================================
+ Hits 34009 34017 +8
+ Misses 1973 1972 -1
+ Partials 2102 2100 -2
🚀 New features to boost your workflow:
|
Alive-Fish
approved these changes
Mar 4, 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.
Cherry-pick of PR #15402 to
dev. Adds user-friendly alias names for template IDs in the CLI, so users can use short, readable names (e.g.,declarative-agent,bot,tab) instead of internal template names likecopilot-gpt-basic.Template metadata
aliasfield toTemplateinterface (templates/src/metadata/interface.ts,packages/fx-core/.../interface.ts)TemplateAliasenum totemplates/src/templateNames.tsaliason templates acrossdeclarativeAgent.ts,graphConnector.ts,teams.ts,allTemplates.json,defaultGeneratorTemplates.jsonfoundry-agent→foundry-agent-to-m365(id and name)CLI logic (
create.ts,listTemplates.ts)[alias, name]listTemplatestable displays alias as theCapability(Id)column when availablegroupTemplatesByNameas a named export for testabilityOther
advancedDASettingUrlupdated tohttps://aka.ms/atk-da-sharelaunch.jsonupdated to usedeclarative-agentin default debug argsOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.