@microsoft/teamsfx-core 3.1.4 → 3.1.5-alpha.36e30da2f6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (238) hide show
  1. package/README.md +4 -0
  2. package/build/common/featureFlags.d.ts +5 -0
  3. package/build/common/featureFlags.d.ts.map +1 -1
  4. package/build/common/featureFlags.js +5 -0
  5. package/build/common/featureFlags.js.map +1 -1
  6. package/build/common/telemetry.d.ts +2 -1
  7. package/build/common/telemetry.d.ts.map +1 -1
  8. package/build/common/telemetry.js +1 -0
  9. package/build/common/telemetry.js.map +1 -1
  10. package/build/common/templates-config.json +2 -2
  11. package/build/common/wrappedAxiosClient.d.ts +5 -0
  12. package/build/common/wrappedAxiosClient.d.ts.map +1 -1
  13. package/build/common/wrappedAxiosClient.js +95 -4
  14. package/build/common/wrappedAxiosClient.js.map +1 -1
  15. package/build/component/configManager/actionInjector.d.ts +1 -1
  16. package/build/component/configManager/actionInjector.d.ts.map +1 -1
  17. package/build/component/configManager/actionInjector.js +2 -2
  18. package/build/component/configManager/actionInjector.js.map +1 -1
  19. package/build/component/driver/copilotAgent/publish.d.ts.map +1 -1
  20. package/build/component/driver/copilotAgent/publish.js +1 -1
  21. package/build/component/driver/copilotAgent/publish.js.map +1 -1
  22. package/build/component/driver/dcr/create.d.ts.map +1 -1
  23. package/build/component/driver/dcr/create.js +47 -14
  24. package/build/component/driver/dcr/create.js.map +1 -1
  25. package/build/component/driver/dcr/interface/createDcrArgs.d.ts +4 -1
  26. package/build/component/driver/dcr/interface/createDcrArgs.d.ts.map +1 -1
  27. package/build/component/driver/index.d.ts +0 -1
  28. package/build/component/driver/index.d.ts.map +1 -1
  29. package/build/component/driver/index.js +0 -1
  30. package/build/component/driver/index.js.map +1 -1
  31. package/build/component/driver/m365/acquire.d.ts.map +1 -1
  32. package/build/component/driver/m365/acquire.js +2 -2
  33. package/build/component/driver/m365/acquire.js.map +1 -1
  34. package/build/component/driver/oauth/create.d.ts.map +1 -1
  35. package/build/component/driver/oauth/create.js +16 -2
  36. package/build/component/driver/oauth/create.js.map +1 -1
  37. package/build/component/driver/oauth/error/oauthSupportedAccountTypesUnsupportedCloud.d.ts +5 -0
  38. package/build/component/driver/oauth/error/oauthSupportedAccountTypesUnsupportedCloud.d.ts.map +1 -0
  39. package/build/component/driver/oauth/error/oauthSupportedAccountTypesUnsupportedCloud.js +13 -0
  40. package/build/component/driver/oauth/error/oauthSupportedAccountTypesUnsupportedCloud.js.map +1 -0
  41. package/build/component/driver/oauth/interface/createOauthArgs.d.ts +1 -0
  42. package/build/component/driver/oauth/interface/createOauthArgs.d.ts.map +1 -1
  43. package/build/component/driver/oauth/interface/updateOauthArgs.d.ts +1 -0
  44. package/build/component/driver/oauth/interface/updateOauthArgs.d.ts.map +1 -1
  45. package/build/component/driver/oauth/update.d.ts.map +1 -1
  46. package/build/component/driver/oauth/update.js +26 -4
  47. package/build/component/driver/oauth/update.js.map +1 -1
  48. package/build/component/driver/oauth/utility/supportedAccountTypes.d.ts +6 -0
  49. package/build/component/driver/oauth/utility/supportedAccountTypes.d.ts.map +1 -0
  50. package/build/component/driver/oauth/utility/supportedAccountTypes.js +31 -0
  51. package/build/component/driver/oauth/utility/supportedAccountTypes.js.map +1 -0
  52. package/build/component/driver/teamsApp/constants.d.ts +5 -0
  53. package/build/component/driver/teamsApp/constants.d.ts.map +1 -1
  54. package/build/component/driver/teamsApp/constants.js +5 -0
  55. package/build/component/driver/teamsApp/constants.js.map +1 -1
  56. package/build/component/driver/teamsApp/interfaces/DcrRegistration.d.ts +5 -2
  57. package/build/component/driver/teamsApp/interfaces/DcrRegistration.d.ts.map +1 -1
  58. package/build/component/driver/teamsApp/interfaces/OauthRegistration.d.ts +6 -0
  59. package/build/component/driver/teamsApp/interfaces/OauthRegistration.d.ts.map +1 -1
  60. package/build/component/driver/teamsApp/interfaces/OauthRegistration.js +5 -1
  61. package/build/component/driver/teamsApp/interfaces/OauthRegistration.js.map +1 -1
  62. package/build/component/generator/generatorProvider.d.ts.map +1 -1
  63. package/build/component/generator/generatorProvider.js +0 -3
  64. package/build/component/generator/generatorProvider.js.map +1 -1
  65. package/build/component/generator/templates/templateNames.d.ts +1 -1
  66. package/build/component/generator/templates/templateNames.d.ts.map +1 -1
  67. package/build/component/m365/packageService.d.ts +4 -3
  68. package/build/component/m365/packageService.d.ts.map +1 -1
  69. package/build/component/m365/packageService.js +34 -30
  70. package/build/component/m365/packageService.js.map +1 -1
  71. package/build/component/m365/serviceConstant.d.ts.map +1 -1
  72. package/build/component/m365/serviceConstant.js +5 -0
  73. package/build/component/m365/serviceConstant.js.map +1 -1
  74. package/build/component/m365/skills/graphSkillFileStore.d.ts +14 -0
  75. package/build/component/m365/skills/graphSkillFileStore.d.ts.map +1 -0
  76. package/build/component/m365/skills/graphSkillFileStore.js +164 -0
  77. package/build/component/m365/skills/graphSkillFileStore.js.map +1 -0
  78. package/build/component/m365/skills/incrementalSkillUpload.d.ts +6 -0
  79. package/build/component/m365/skills/incrementalSkillUpload.d.ts.map +1 -0
  80. package/build/component/m365/skills/incrementalSkillUpload.js +70 -0
  81. package/build/component/m365/skills/incrementalSkillUpload.js.map +1 -0
  82. package/build/component/m365/skills/skillDirectoryClient.d.ts +12 -0
  83. package/build/component/m365/skills/skillDirectoryClient.d.ts.map +1 -0
  84. package/build/component/m365/skills/skillDirectoryClient.js +150 -0
  85. package/build/component/m365/skills/skillDirectoryClient.js.map +1 -0
  86. package/build/component/m365/skills/skillFileSync.d.ts +35 -0
  87. package/build/component/m365/skills/skillFileSync.d.ts.map +1 -0
  88. package/build/component/m365/skills/skillFileSync.js +256 -0
  89. package/build/component/m365/skills/skillFileSync.js.map +1 -0
  90. package/build/component/m365/skills/skillPackage.d.ts +40 -0
  91. package/build/component/m365/skills/skillPackage.d.ts.map +1 -0
  92. package/build/component/m365/skills/skillPackage.js +471 -0
  93. package/build/component/m365/skills/skillPackage.js.map +1 -0
  94. package/build/component/m365/skills/skillRequest.d.ts +7 -0
  95. package/build/component/m365/skills/skillRequest.d.ts.map +1 -0
  96. package/build/component/m365/skills/skillRequest.js +91 -0
  97. package/build/component/m365/skills/skillRequest.js.map +1 -0
  98. package/build/component/utils/mcpAuthScaffolder.d.ts +5 -20
  99. package/build/component/utils/mcpAuthScaffolder.d.ts.map +1 -1
  100. package/build/component/utils/mcpAuthScaffolder.js +9 -24
  101. package/build/component/utils/mcpAuthScaffolder.js.map +1 -1
  102. package/build/core/FxCore.d.ts +2 -4
  103. package/build/core/FxCore.d.ts.map +1 -1
  104. package/build/core/FxCore.js +7 -22
  105. package/build/core/FxCore.js.map +1 -1
  106. package/build/question/create.d.ts +0 -6
  107. package/build/question/create.d.ts.map +1 -1
  108. package/build/question/create.js +119 -281
  109. package/build/question/create.js.map +1 -1
  110. package/build/question/generator.js +0 -2
  111. package/build/question/generator.js.map +1 -1
  112. package/build/question/index.d.ts +0 -1
  113. package/build/question/index.d.ts.map +1 -1
  114. package/build/question/index.js +0 -3
  115. package/build/question/index.js.map +1 -1
  116. package/build/question/inputs/index.d.ts +0 -1
  117. package/build/question/inputs/index.d.ts.map +1 -1
  118. package/build/question/inputs/index.js +0 -1
  119. package/build/question/inputs/index.js.map +1 -1
  120. package/build/question/options/CreateProjectOptions.d.ts.map +1 -1
  121. package/build/question/options/CreateProjectOptions.js +0 -1
  122. package/build/question/options/CreateProjectOptions.js.map +1 -1
  123. package/build/question/options/index.d.ts +0 -1
  124. package/build/question/options/index.d.ts.map +1 -1
  125. package/build/question/options/index.js +0 -1
  126. package/build/question/options/index.js.map +1 -1
  127. package/build/question/other.d.ts +0 -1
  128. package/build/question/other.d.ts.map +1 -1
  129. package/build/question/other.js +158 -214
  130. package/build/question/other.js.map +1 -1
  131. package/build/question/scaffold/vsc/CapabilityOptions.d.ts +0 -1
  132. package/build/question/scaffold/vsc/CapabilityOptions.d.ts.map +1 -1
  133. package/build/question/scaffold/vsc/CapabilityOptions.js +0 -9
  134. package/build/question/scaffold/vsc/CapabilityOptions.js.map +1 -1
  135. package/build/question/scaffold/vsc/teamsProjectTypeNode.d.ts.map +1 -1
  136. package/build/question/scaffold/vsc/teamsProjectTypeNode.js +0 -24
  137. package/build/question/scaffold/vsc/teamsProjectTypeNode.js.map +1 -1
  138. package/build/v4/mcp/mcpAuthAction.d.ts +0 -1
  139. package/build/v4/mcp/mcpAuthAction.d.ts.map +1 -1
  140. package/build/v4/mcp/mcpAuthAction.js +5 -7
  141. package/build/v4/mcp/mcpAuthAction.js.map +1 -1
  142. package/build/v4/mcp/mcpAuthScaffold.d.ts.map +1 -1
  143. package/build/v4/mcp/mcpAuthScaffold.js +4 -12
  144. package/build/v4/mcp/mcpAuthScaffold.js.map +1 -1
  145. package/package.json +11 -8
  146. package/resource/package.nls.cs.json +59 -68
  147. package/resource/package.nls.de.json +59 -68
  148. package/resource/package.nls.es.json +59 -68
  149. package/resource/package.nls.fr.json +59 -68
  150. package/resource/package.nls.it.json +59 -68
  151. package/resource/package.nls.ja.json +59 -68
  152. package/resource/package.nls.json +15 -58
  153. package/resource/package.nls.ko.json +59 -68
  154. package/resource/package.nls.pl.json +59 -68
  155. package/resource/package.nls.pt-BR.json +59 -68
  156. package/resource/package.nls.ru.json +59 -68
  157. package/resource/package.nls.tr.json +59 -68
  158. package/resource/package.nls.zh-Hans.json +59 -68
  159. package/resource/package.nls.zh-Hant.json +59 -68
  160. package/resource/yaml-schema/v1.13/yaml.schema.json +71 -33
  161. package/resource/yaml-schema/yaml.schema.json +71 -33
  162. package/templates/fallback/common.zip +0 -0
  163. package/templates/fallback/csharp.zip +0 -0
  164. package/templates/fallback/js.zip +0 -0
  165. package/templates/fallback/python.zip +0 -0
  166. package/templates/fallback/ts.zip +0 -0
  167. package/templates/metadata.zip +0 -0
  168. package/templates/v4/floor.json +1 -1
  169. package/templates/v4/templates-metadata.zip +0 -0
  170. package/templates/v4/templates.zip +0 -0
  171. package/build/common/treatmentVariables.d.ts +0 -5
  172. package/build/common/treatmentVariables.d.ts.map +0 -1
  173. package/build/common/treatmentVariables.js +0 -10
  174. package/build/common/treatmentVariables.js.map +0 -1
  175. package/build/component/driver/add/addWebPart.d.ts +0 -12
  176. package/build/component/driver/add/addWebPart.d.ts.map +0 -1
  177. package/build/component/driver/add/addWebPart.js +0 -109
  178. package/build/component/driver/add/addWebPart.js.map +0 -1
  179. package/build/component/driver/add/error/noConfigurationError.d.ts +0 -5
  180. package/build/component/driver/add/error/noConfigurationError.d.ts.map +0 -1
  181. package/build/component/driver/add/error/noConfigurationError.js +0 -22
  182. package/build/component/driver/add/error/noConfigurationError.js.map +0 -1
  183. package/build/component/driver/add/interface/AddWebPartArgs.d.ts +0 -27
  184. package/build/component/driver/add/interface/AddWebPartArgs.d.ts.map +0 -1
  185. package/build/component/driver/add/interface/AddWebPartArgs.js +0 -5
  186. package/build/component/driver/add/interface/AddWebPartArgs.js.map +0 -1
  187. package/build/component/driver/add/utility/constants.d.ts +0 -8
  188. package/build/component/driver/add/utility/constants.d.ts.map +0 -1
  189. package/build/component/driver/add/utility/constants.js +0 -14
  190. package/build/component/driver/add/utility/constants.js.map +0 -1
  191. package/build/component/generator/spfx/depsChecker/dependencyChecker.d.ts +0 -4
  192. package/build/component/generator/spfx/depsChecker/dependencyChecker.d.ts.map +0 -1
  193. package/build/component/generator/spfx/depsChecker/dependencyChecker.js +0 -5
  194. package/build/component/generator/spfx/depsChecker/dependencyChecker.js.map +0 -1
  195. package/build/component/generator/spfx/depsChecker/generatorChecker.d.ts +0 -20
  196. package/build/component/generator/spfx/depsChecker/generatorChecker.d.ts.map +0 -1
  197. package/build/component/generator/spfx/depsChecker/generatorChecker.js +0 -129
  198. package/build/component/generator/spfx/depsChecker/generatorChecker.js.map +0 -1
  199. package/build/component/generator/spfx/depsChecker/yoChecker.d.ts +0 -20
  200. package/build/component/generator/spfx/depsChecker/yoChecker.d.ts.map +0 -1
  201. package/build/component/generator/spfx/depsChecker/yoChecker.js +0 -143
  202. package/build/component/generator/spfx/depsChecker/yoChecker.js.map +0 -1
  203. package/build/component/generator/spfx/error.d.ts +0 -15
  204. package/build/component/generator/spfx/error.d.ts.map +0 -1
  205. package/build/component/generator/spfx/error.js +0 -124
  206. package/build/component/generator/spfx/error.js.map +0 -1
  207. package/build/component/generator/spfx/spfxGenerator.d.ts +0 -30
  208. package/build/component/generator/spfx/spfxGenerator.d.ts.map +0 -1
  209. package/build/component/generator/spfx/spfxGenerator.js +0 -684
  210. package/build/component/generator/spfx/spfxGenerator.js.map +0 -1
  211. package/build/component/generator/spfx/utils/constants.d.ts +0 -45
  212. package/build/component/generator/spfx/utils/constants.d.ts.map +0 -1
  213. package/build/component/generator/spfx/utils/constants.js +0 -56
  214. package/build/component/generator/spfx/utils/constants.js.map +0 -1
  215. package/build/component/generator/spfx/utils/progress-helper.d.ts +0 -9
  216. package/build/component/generator/spfx/utils/progress-helper.d.ts.map +0 -1
  217. package/build/component/generator/spfx/utils/progress-helper.js +0 -22
  218. package/build/component/generator/spfx/utils/progress-helper.js.map +0 -1
  219. package/build/component/generator/spfx/utils/telemetry-helper.d.ts +0 -14
  220. package/build/component/generator/spfx/utils/telemetry-helper.d.ts.map +0 -1
  221. package/build/component/generator/spfx/utils/telemetry-helper.js +0 -31
  222. package/build/component/generator/spfx/utils/telemetry-helper.js.map +0 -1
  223. package/build/component/generator/spfx/utils/telemetryEvents.d.ts +0 -20
  224. package/build/component/generator/spfx/utils/telemetryEvents.d.ts.map +0 -1
  225. package/build/component/generator/spfx/utils/telemetryEvents.js +0 -27
  226. package/build/component/generator/spfx/utils/telemetryEvents.js.map +0 -1
  227. package/build/component/generator/spfx/utils/utils.d.ts +0 -19
  228. package/build/component/generator/spfx/utils/utils.d.ts.map +0 -1
  229. package/build/component/generator/spfx/utils/utils.js +0 -184
  230. package/build/component/generator/spfx/utils/utils.js.map +0 -1
  231. package/build/question/inputs/SPFxAddWebpartInputs.d.ts +0 -20
  232. package/build/question/inputs/SPFxAddWebpartInputs.d.ts.map +0 -1
  233. package/build/question/inputs/SPFxAddWebpartInputs.js +0 -5
  234. package/build/question/inputs/SPFxAddWebpartInputs.js.map +0 -1
  235. package/build/question/options/SPFxAddWebpartOptions.d.ts +0 -10
  236. package/build/question/options/SPFxAddWebpartOptions.d.ts.map +0 -1
  237. package/build/question/options/SPFxAddWebpartOptions.js +0 -50
  238. package/build/question/options/SPFxAddWebpartOptions.js.map +0 -1
@@ -10,7 +10,8 @@
10
10
  "core.addKnowledge.continue": "新增",
11
11
  "core.addSkill.confirm": "Microsoft 365 Agents Toolkit 會修改 \"%s\" 資料夾中的檔案,以新增 Agent 技能。為了避免遺失未預期的變更,請在繼續之前備份您的檔案或使用 Git 進行變更追蹤。",
12
12
  "core.addSkill.continue": "新增",
13
- "core.addSkill.featureFlagDisabled": "未啟用 Agent 技能。設定環境變數 TEAMSFX_AGENT_SKILLS=true 以啟用此預覽功能。",
13
+ "core.addSkill.featureFlagDisabled": "Agent skills are not enabled. Set the environment variable ATK_FRONTIER=true to enable this preview feature.",
14
+ "core.featureFlaggedLabel.frontier": "%s (Frontier)",
14
15
  "core.setSensitivityLabel.confirm": "Teams 工具組會根據您提供的敏感度標籤來修改檔案 \"%s\"。為了避免遺失未預期的變更,請在繼續之前備份您的檔案或使用 Git 進行變更追蹤。",
15
16
  "core.setSensitivityLabel.continue": "設定",
16
17
  "core.provision.provision": "佈建",
@@ -41,7 +42,7 @@
41
42
  "core.progress.configureAzureStorage": "正在設定 Azure 儲存體,啟用靜態網站設定。",
42
43
  "core.progress.runCommand": "在 %s 執行命令 %s",
43
44
  "core.progress.deployToAzure": "正在將 %s 部署至 %s。",
44
- "core.v4.scaffoldMetadataSourceReadFailed": "The scaffold metadata source could not be read.",
45
+ "core.v4.scaffoldMetadataSourceReadFailed": "無法讀取 Scaffold 中繼資料來源。",
45
46
  "core.migrationV3.abandonedProject": "不支援此專案版本,且無法升級。請使用 Microsoft 365 Agents 工具組建立新專案。",
46
47
  "core.migrationV3.notAllowedMigration": "此專案可升級。請使用適用於 VS Code v6.10 的 Microsoft 365 Agents 工具組或 Microsoft 365 Agents 工具組 CLI v1.1.11 以升級您的專案。",
47
48
  "core.deployArmTemplates.ActionSuccess": "已成功部署ARM範本。資源組名: %s。部署名稱: %s",
@@ -74,22 +75,6 @@
74
75
  "core.collaboration.agent.label": "代理程式",
75
76
  "core.collaboration.agent.description": "Microsoft 365 代理程式",
76
77
  "core.developerPortal.scaffold.CannotFindManifest": "未從下載的套件中找到應用程式 %s 的資訊清單。",
77
- "plugins.spfx.questions.framework.title": "架構",
78
- "plugins.spfx.questions.webpartName": "SharePoint 架構網頁組件的名稱",
79
- "plugins.spfx.questions.webpartName.error.duplicate": "foler %s 已經存在。請為您的元件選擇不同的名稱。",
80
- "plugins.spfx.questions.webpartName.error.notMatch": "%s 不符合模式: %s",
81
- "plugins.spfx.questions.packageSelect.title": "SharePoint 架構",
82
- "plugins.spfx.questions.packageSelect.placeholder": "選取 Scaffolding 的選項",
83
- "plugins.spfx.questions.packageSelect.useGlobalPackage.withVersion.label": "使用全域安裝的 SPFx (%s)",
84
- "plugins.spfx.questions.packageSelect.useGlobalPackage.noVersion.label": "使用全域安裝的 SPFx",
85
- "plugins.spfx.questions.packageSelect.useGlobalPackage.detail": "SPFx %s 或更新版本",
86
- "plugins.spfx.questions.packageSelect.installLocally.withVersion.label": "在 Microsoft 365 代理程式工具組目錄中於本機安裝最新的 SPFx (%s)",
87
- "plugins.spfx.questions.packageSelect.installLocally.noVersion.label": "在 Microsoft 365 代理程式工具組目錄中於本機安裝最新的 SPFx",
88
- "plugins.spfx.questions.spfxSolution.title": "SharePoint 解決方案",
89
- "plugins.spfx.questions.spfxSolution.createNew": "建立新的 SPFx 解決方案",
90
- "plugins.spfx.questions.spfxSolution.createNew.detail": "使用 SPFx Web 組件建立 Teams 索引標籤應用程式",
91
- "plugins.spfx.questions.spfxSolution.importExisting": "匯入現有的 SPFx 解決方案",
92
- "plugins.spfx.questions.spfxSolution.importExisting.detail": "以 Microsoft Teams 索引標籤或個人應用程式公開 SPFx 用戶端網頁組件",
93
78
  "plugins.spfx.deployNotice": "SharePoint 套件 %s 已成功部署至 [%s](%s)。",
94
79
  "plugins.spfx.cannotFindPackage": "找不到 SharePoint 套件 %s",
95
80
  "plugins.spfx.cannotGetSPOToken": "無法取得 SPO 存取權杖",
@@ -97,41 +82,8 @@
97
82
  "plugins.spfx.insufficientPermission": "若要將套件上傳並部署至應用程式目錄 %s,您需要組織的 Microsoft 365 租用戶系統管理員權限。透過 [Microsoft 365 開發人員計畫](%s) 取得免費的 Microsoft 365 租用戶,供測試使用。",
98
83
  "plugins.spfx.createAppcatalogFail": "無法建立租用戶應用程式目錄,原因 %s,堆疊: %s",
99
84
  "plugins.spfx.uploadAppcatalogFail": "無法上傳應用程式套件,原因 %s",
100
- "plugins.spfx.buildSharepointPackage": "建置 SharePoint 套件",
101
85
  "plugins.spfx.deploy.title": "上傳並部署 SharePoint 套件",
102
- "plugins.spfx.scaffold.title": "Scaffolding 專案",
103
- "plugins.spfx.error.invalidDependency": "無法驗證套件 %s",
104
- "plugins.spfx.error.noConfiguration": "您的 SPFx 專案中沒有 .yo-rc.json 檔案,請新增組態檔,然後再試一次。",
105
- "plugins.spfx.error.devEnvironmentNotSetup": "您的 SPFx 開發環境未正確設定。按一下 [取得協助] 以設定正確的環境。",
106
- "plugins.spfx.scaffold.dependencyCheck": "正在檢查相依性...",
107
- "plugins.spfx.scaffold.dependencyInstall": "正在安裝相依性。可能需要 5 分鐘以上的時間。",
108
- "plugins.spfx.scaffold.scaffoldProject": "使用 Yeoman CLI 產生 SPFx 專案",
109
- "plugins.spfx.scaffold.updateManifest": "更新網頁組件資訊清單",
110
86
  "plugins.spfx.GetTenantFailedError": "無法取得租使用者 %s %s",
111
- "plugins.spfx.error.installLatestDependencyError": "無法在 %s 資料夾中設定SPFx環境。若要設定全域 SPFx 環境,請遵循 [設定您的 SharePoint 架構 開發環境 |Microsoft Learn](%s)。",
112
- "plugins.spfx.error.scaffoldError": "專案建立失敗,這可能是因為Yeoman SharePoint產生器所造成。如需詳細數據,請查看 [Output panel](%s)。",
113
- "plugins.spfx.error.import.retrieveSolutionInfo": "無法取得現有的 SPFx 解決方案資訊。確保您的 SPFx 解決方案有效。",
114
- "plugins.spfx.error.import.copySPFxSolution": "無法複製現有的 SPFx 解決方案: %s",
115
- "plugins.spfx.error.import.updateSPFxTemplate": "無法使用現有的 SPFx 解決方案更新專案範本: %s",
116
- "plugins.spfx.error.import.common": "無法將現有的 SPFx 解決方案匯入 Microsoft 365 代理程式工具組: %s",
117
- "plugins.spfx.import.title": "正在匯入 SPFx 解決方案",
118
- "plugins.spfx.import.copyExistingSPFxSolution": "正在複製現有的 SPFx 解決方案...",
119
- "plugins.spfx.import.generateSPFxTemplates": "正在根據解決方案資訊產生範本...",
120
- "plugins.spfx.import.updateTemplates": "正在更新範本...",
121
- "plugins.spfx.import.success": "您的 SPFx 解決方案已成功匯入至 %s。",
122
- "plugins.spfx.import.log.success": "Microsoft 365 代理程式工具組已成功匯入您的 SPFx 解決方案。在 %s 中尋找完整的匯入詳細資料記錄。",
123
- "plugins.spfx.import.log.fail": "Microsoft 365 代理程式工具組無法匯入您的 SPFx 解決方案。在 %s 中尋找完整的重要詳細資料記錄。",
124
- "plugins.spfx.addWebPart.confirmInstall": "您的電腦未安裝您解決方案中的 SPFx %s 版本。您要在 Microsoft 365 代理程式工具組目錄中安裝它,以繼續新增 Web 組件嗎?",
125
- "plugins.spfx.addWebPart.install": "安裝",
126
- "plugins.spfx.addWebPart.confirmUpgrade": "Microsoft 365 代理程式工具組正在使用 SPFx 版本 %s,且您的解決方案具有 SPFx 版本 %s。您要將它升級到 Microsoft 365 代理程式工具組目錄中的版本 %s 並新增 Web 組件嗎?",
127
- "plugins.spfx.addWebPart.upgrade": "升級",
128
- "plugins.spfx.addWebPart.versionMismatch.continueConfirm": "此電腦上未安裝您解決方案中的 SPFx 版本 %s。Microsoft 365 代理程式工具組預設會使用安裝在其目錄中的 SPFx (%s)。版本不符可能會導致意外的錯誤。仍要繼續嗎?",
129
- "plugins.spfx.addWebPart.versionMismatch.help": "說明",
130
- "plugins.spfx.addWebPart.versionMismatch.continue": "繼續",
131
- "plugins.spfx.addWebPart.versionMismatch.output": "您的解決方案中的 SPFx 版本為 %s。您已全域安裝 %s,並在 Microsoft 365 代理程式工具組目錄中安裝 %s,其被 Microsoft 365 代理程式工具組作為預設 (%s) 使用。版本不符可能會導致意外的錯誤。請在 %s 中尋找可能的解決方案。",
132
- "plugins.spfx.addWebPart.versionMismatch.localOnly.output": "您的解決方案中的 SPFx 版本為 %s。您已在 Microsoft 365 代理程式工具組目錄中安裝 %s,其在 Microsoft 365 代理程式工具組用作預設項目。版本不符可能會導致意外的錯誤。請在 %s 中尋找可能的解決方案。",
133
- "plugins.spfx.addWebPart.cannotFindSolutionVersion": "在您的解決方案中找不到 %s 中的SPFx版本",
134
- "plugins.spfx.error.installDependencyError": "您似乎在 %s 資料夾中設定 SPFx 環境時發生問題。請遵循 %s 安裝全域 SPFx 環境設定的 %s。",
135
87
  "plugins.frontend.checkNetworkTip": "請檢查您的網路連線。",
136
88
  "plugins.frontend.checkFsPermissionsTip": "檢查您是否有檔案系統的讀取/寫入權限。",
137
89
  "plugins.frontend.checkStoragePermissionsTip": "檢查您是否有 Azure 儲存體帳戶的權限。",
@@ -283,8 +235,6 @@
283
235
  "core.CommandAndResponseOption.detail": "在 Teams 聊天中使用自訂聊天命令觸發工作",
284
236
  "core.WorkflowOption.label": "聊天中的連續工作流程",
285
237
  "core.WorkflowOption.detail": "在 Teams 聊天中與多步驟處理序互動",
286
- "core.TabSPFxOption.labelNew": "SPFx",
287
- "core.TabSPFxOption.detailNew": "使用 SharePoint 架構建置 UI",
288
238
  "core.TabNonSso.label": "索引標籤",
289
239
  "core.TabNonSso.detail": "簡易實作準備好自訂的 Web 應用程式",
290
240
  "core.copilotPlugin.api.noAuth": "無驗證",
@@ -397,6 +347,13 @@
397
347
  "core.createProjectQuestion.apiSpec.placeholder": "輸入 OpenAPI 文件 URL",
398
348
  "core.createProjectQuestion.apiSpecInputUrl.label": "輸入 OpenAPI 文件 URL",
399
349
  "core.createProjectQuestion.ApiKey": "在 OpenAPI 描述檔中輸入 API 金鑰",
350
+ "core.addOpenApiActionQuestion.ApiKey.title": "API Key (optional)",
351
+ "core.addOpenApiActionQuestion.IdentityProvider.title": "Select the identity provider for OpenAPI OAuth",
352
+ "core.addOpenApiActionQuestion.IdentityProvider.description": "Identity provider for OpenAPI OAuth (optional; defaults to OAuth).",
353
+ "core.addOpenApiActionQuestion.OAuthClientId.title": "OpenAPI OAuth client ID (optional)",
354
+ "core.addOpenApiActionQuestion.OAuthClientSecret.title": "OpenAPI OAuth client secret (optional)",
355
+ "core.addOpenApiActionQuestion.OAuthScopes.title": "OpenAPI OAuth scopes (optional)",
356
+ "core.addOpenApiActionQuestion.OAuthPKCE.title": "Enable PKCE for OpenAPI OAuth?",
400
357
  "core.createProjectQuestion.ApiKeyConfirm": "Microsoft 365 Agents 工具組會將 API 金鑰上傳至開發人員入口網站。Teams 用戶端會在執行階段使用該 API 金鑰來安全地存取您的 API。Microsoft 365 Agents 工具組不會儲存您的 API 金鑰。",
401
358
  "core.createProjectQuestion.OauthClientId": "OAuth 註冊用戶端識別碼",
402
359
  "core.createProjectQuestion.OauthClientId.placeholder": "OpenAPI 描述文件中 OAuth 註冊的輸入用戶端識別碼",
@@ -440,8 +397,6 @@
440
397
  "core.regenerateQuestion.selectPluginManifestTitle": "選取外掛程式資訊清單檔。",
441
398
  "core.regenerateQuestion.selectOpenAPISpecFromPluginTitle": "選取 OpenAPI 描述文件檔案。",
442
399
  "core.regenerateQuestion.selectApiOperationForRegenerateTitle": "選取 Copilot 可以互動的作業。",
443
- "core.spfxFolder.title": "SPFx 解決方案資料夾",
444
- "core.spfxFolder.placeholder": "選取包含 SPFx 解決方案的資料夾",
445
400
  "core.QuestionSelectTargetEnvironment.title": "選取環境",
446
401
  "core.getQuestionNewTargetEnvironmentName.title": "新增環境名稱",
447
402
  "core.getQuestionNewTargetEnvironmentName.placeholder": "新增環境名稱",
@@ -598,6 +553,9 @@
598
553
  "core.common.removeShareAccess.success": "已從使用者成功移除共用存取: %s。",
599
554
  "core.envFunc.unsupportedFile.errorLog": "\"%s\" 是無效的檔案。支援的格式: %s。",
600
555
  "core.envFunc.unsupportedFile.errorMessage": "無效的檔案。%s",
556
+ "core.envFunc.fileReferenceOutsideManifestDirectory.errorLog.local": "The file reference resolves outside the manifest directory.\nReference: %s\nResolved path: %s\nManifest directory: %s\nMove the file into the manifest directory, then update the file reference in %s.",
557
+ "core.envFunc.fileReferenceOutsideManifestDirectory.errorMessage": "The file reference must point to a file inside the manifest directory.",
558
+ "core.envFunc.fileReferenceOutsideManifestDirectory.errorMessage.local": "The file reference \"%s\" resolves to \"%s\", outside the manifest directory \"%s\". Move the file into the manifest directory, then update the reference in %s.",
601
559
  "core.envFunc.unsupportedFunction.errorLog": "\"%s\" 是無效的函數。支援的函數: \"%s\"。",
602
560
  "core.envFunc.unsupportedFunction.errorMessage": "無效的函數。%s",
603
561
  "core.envFunc.invalidFunctionParameter.errorLog": "函數 \"%s\" 的參數 \"%s\" 無效。請提供由 '' 包裝的有效檔案路徑,或以 “${{}}” 格式包裝的環境變數名稱。",
@@ -787,10 +745,6 @@
787
745
  "driver.spfx.warn.noTenantAppCatalogFound": "找不到租用戶應用程式目錄,請再試一次: %s",
788
746
  "driver.spfx.error.failedToGetAppCatalog": "建立后無法取得應用程式目錄網站 URL。請稍候數分鐘,然後再試一次。",
789
747
  "driver.spfx.error.noValidAppCatelog": "您的租用戶中沒有有效的應用程式目錄。如果您希望 Microsoft 365 Agents 工具組為您建立屬性,或者您可以自行建立,您可以將 %s 中的屬性 'createAppCatalogIfNotExist' 更新為 true。",
790
- "driver.spfx.add.description": "將其他網頁組件新增至 SPFx 專案",
791
- "driver.spfx.add.successNotice": "Web 組件 %s 已成功新增至專案。",
792
- "driver.spfx.add.progress.title": "Scaffolding 網頁組件",
793
- "driver.spfx.add.progress.scaffoldWebpart": "使用 Yeoman CLI 產生 SPFx 網頁組件",
794
748
  "driver.prerequisite.error.funcInstallationError": "無法檢查及安裝 Azure Functions Core Tools。",
795
749
  "driver.prerequisite.error.dotnetInstallationError": "無法檢查和安裝 .NET Core SDK。",
796
750
  "driver.prerequisite.error.testToolInstallationError": "無法檢查並安裝 Microsoft 365 Agents 遊樂場。",
@@ -885,9 +839,14 @@
885
839
  "error.teamsApp.validate.details": "檔案路徑: %s,標題: %s",
886
840
  "error.teamsApp.AppIdNotExistError": "開發人員入口網站中不存在識別碼為 %s 的應用程式。",
887
841
  "error.teamsApp.InvalidAppIdError": "應用程式識別碼 %s 無效,必須是 GUID。",
888
- "error.teamsApp.createAppPackage.invalidFile": "%s 無效,它應該與manifest.json或其子目錄位於相同的目錄中。",
842
+ "error.teamsApp.createAppPackage.invalidFile": "A referenced file is invalid. It must be in the same directory as manifest.json or a subdirectory of it.",
843
+ "error.teamsApp.createAppPackage.invalidFile.local": "The file reference \"%s\" resolves to \"%s\", outside the manifest directory \"%s\". Move the file into the manifest directory, then update this reference in the manifest that contains it.",
889
844
  "error.teamsApp.createAppPackage.packageSizeExceeded": "產生的應用程式套件 (%s MB) 超過允許的大小上限 %s MB。建置之前先減少套件內容。",
845
+ "error.teamsApp.createAppPackage.fileSystemError.telemetry": "The app package file operation failed. File system error: %s.",
846
+ "error.teamsApp.createAppPackage.fileSystemError.display": "The app package file operation failed for '%s'. File system error: %s.",
890
847
  "error.m365.packageService.packageSizeExceeded": "應用程式套件 (%s MB) 超過支援的大小上限 (%s MB)。上傳之前先減少套件內容。",
848
+ "error.m365.packageService.validationFailed": "The app package failed RAI validation. Resolve the following issues and try again:\n%s",
849
+ "info.m365.packageService.raiValidationInProgress": "RAI validation is in progress. Waiting for completion...",
891
850
  "driver.botFramework.description": "在 dev.botframework.com 上建立或更新 Bot 註冊",
892
851
  "driver.botFramework.summary.create": "已成功建立 Bot 註冊 (%s)。",
893
852
  "driver.botFramework.summary.update": "已成功更新 Bot 註冊 (%s)。",
@@ -913,10 +872,14 @@
913
872
  "error.yaml.LifeCycleUndefinedError": "生命週期 '%s' 未定義,yaml 檔案: %s",
914
873
  "error.yaml.InvalidActionInputError": "無法完成 '%s' 動作,因為下列參數: %s,在提供的 yaml 檔案中遺失或具有無效值: %s。請確定已提供所需的參數,且具有有效的值,然後再試一次。",
915
874
  "error.common.InstallSoftwareError": "無法安裝 %s。如果您使用 Visual Studio Code 中的工具組,則可以手動安裝並重新啟動 Visual Studio Code。",
875
+ "core.spfxGenerationNotSupported": "Creating or importing SharePoint Framework projects and adding web parts are no longer supported by Microsoft 365 Agents Toolkit. Use the SharePoint Framework tooling directly.",
916
876
  "error.common.VersionError": "找不到符合版本範圍 %s 的版本。",
917
877
  "error.common.MissingEnvironmentVariablesError": "檔案 %s 缺少環境變數 '%s'。請編輯 .env 檔案 '%s' 或 '%s',或調整系統環境變數。針對新專案,請執行本機偵錯或佈建遠端環境以設定這些變數。",
918
878
  "error.common.InvalidProjectError": "此命令僅適用於 Microsoft 365 代理程式工具組建立的專案。找不到 'm365agents.yml' 或 'm365agents.local.yml'",
919
879
  "error.common.InvalidProjectError.display": "此命令僅適用於 Microsoft 365 代理程式工具組建立的專案。找不到 Yaml 檔案: %s",
880
+ "error.common.AmbiguousOpenApiAuthCredentialError": "OpenAPI credentials cannot be mapped because the selected operations use multiple authentication registrations. Omit the scalar credentials or select operations that use one registration.",
881
+ "error.common.InapplicableOpenApiAuthCredentialError": "The supplied OpenAPI credentials do not apply to the authentication type used by the selected operations. Omit the credentials or supply credentials for the discovered authentication type.",
882
+ "error.common.IncompleteOpenApiOAuthCredentialError": "OpenAPI OAuth client secret, scopes, and PKCE require --openapi-auth-client-id. Supply a client ID or omit the OAuth credential options to configure credentials during provision.",
920
883
  "error.common.FileNotFoundError": "找不到檔案或目錄: '%s'。請檢查它是否存在,以及您是否有存取它的權限。",
921
884
  "error.common.JSONSyntaxError": "JSON 語法錯誤: %s。請檢查 JSON 語法,以確保其格式正確。",
922
885
  "error.common.ReadFileError": "無法讀取檔案的原因: %s",
@@ -1116,8 +1079,8 @@
1116
1079
  "error.kiotaClient.EmptyResult": "剖析 OpenAPI 描述檔案時取得空白結果。",
1117
1080
  "core.createProjectQuestion.mcpForDa.ServerUrl.title": "MCP 伺服器 URL",
1118
1081
  "core.createProjectQuestion.mcpForDa.ServerUrl.placeholder": "輸入您的 MCP 伺服器 URL (例如 https://example-mcp.com)",
1119
- "core.createProjectQuestion.mcpForDa.ServerUrl.notAnMcpEndpoint": "Couldn't reach an MCP server at this URL (returned 404 to the MCP 'initialize' request). Verify the URL, or confirm the server is running.",
1120
- "core.createProjectQuestion.mcpForDa.ServerUrl.invalidUrl": "Enter an absolute URL that starts with https:// or http://.",
1082
+ "core.createProjectQuestion.mcpForDa.ServerUrl.notAnMcpEndpoint": "無法連線到此 URL 的 MCP 伺服器 (對 MCP 'initialize' 要求傳回了 404)。確認 URL,或確認伺服器正在執行。",
1083
+ "core.createProjectQuestion.mcpForDa.ServerUrl.invalidUrl": "輸入以 https:// 或 http:// 開頭的絕對 URL。",
1121
1084
  "core.createProjectQuestion.mcpForDa.PreFetchTools.title": "選取 Copilot 可以互動的作業",
1122
1085
  "core.createProjectQuestion.mcpForDa.AuthType.title": "選取驗證類型",
1123
1086
  "core.createProjectQuestion.mcpForDa.Auth.OAuth": "OAuth (具有靜態註冊)",
@@ -1126,6 +1089,7 @@
1126
1089
  "core.createProjectQuestion.mcpForDa.Auth.OAuthDynamic.Detail": "MCP 伺服器會在執行階段註冊用戶端; 不需要額外的詳細資料。",
1127
1090
  "core.createProjectQuestion.mcpForDa.Auth.EntraSSO": "Entra SSO",
1128
1091
  "core.createProjectQuestion.mcpForDa.Auth.EntraSSO.Detail": "使用 Microsoft Entra 應用程式進行單一登入。工具組會要求 Entra 應用程式用戶端識別碼。",
1092
+ "core.createProjectQuestion.mcpForDa.Auth.BearerToken.Detail": "Send an API key as an HTTP Bearer token.",
1129
1093
  "core.createProjectQuestion.mcpForDa.Auth.None": "無",
1130
1094
  "core.createProjectQuestion.mcpForDa.Auth.None.Detail": "MCP 伺服器不需要驗證。",
1131
1095
  "core.createProjectQuestion.mcpForDa.ClientId.title": "OAuth 用戶端識別碼",
@@ -1136,9 +1100,13 @@
1136
1100
  "core.createProjectQuestion.mcpForDa.ClientSecret.required": "需要 OAuth 用戶端密碼。",
1137
1101
  "core.createProjectQuestion.mcpForDa.Scopes.title": "OAuth 範圍 (選用)",
1138
1102
  "core.createProjectQuestion.mcpForDa.Scopes.placeholder": "以空格分隔的 OAuth 範圍,例如 'read:user repo'",
1103
+ "core.createProjectQuestion.mcpForDa.ApiKey.title": "API Key",
1104
+ "core.createProjectQuestion.mcpForDa.ApiKey.placeholder": "Enter the API key sent as a bearer token",
1105
+ "core.createProjectQuestion.mcpForDa.ApiKey.required": "API key is required.",
1139
1106
  "core.createProjectQuestion.mcpForDa.EntraClientId.title": "Microsoft Entra 應用程式 (用戶端) 識別碼",
1140
1107
  "core.createProjectQuestion.mcpForDa.EntraClientId.placeholder": "輸入 Microsoft Entra 應用程式註冊的應用程式 (用戶端) 識別碼",
1141
1108
  "core.createProjectQuestion.mcpForDa.EntraClientId.required": "需要 Microsoft Entra 應用程式 (用戶端) 識別碼。",
1109
+ "driver.oauth.error.supportedAccountTypesUnsupportedCloud": "The includePersonalMicrosoftAccounts option is supported only in the Microsoft 365 commercial cloud environment.",
1142
1110
  "core.createProjectQuestion.mcpForDa.File.title": "選取您想要更新的動作資訊清單",
1143
1111
  "core.createProjectQuestion.mcpForDa.File.createNew.label": "建立新的 ai-plugin.json",
1144
1112
  "core.createProjectQuestion.mcpForDa.File.createNew.title": "為新的動作資訊清單檔命名",
@@ -1157,12 +1125,15 @@
1157
1125
  "core.createProjectQuestion.mcpLocalServer.validationHelp": "必須選取至少一個 MCP 伺服器",
1158
1126
  "core.MCPForDA.updatePluginManifest": "已順利新增從 MCP 伺服器選取的作業,讓 Copilot 與其互動。您可以前往 '%s' 來查看詳細資料。現在,您可以佈建宣告式代理程式以繼續。",
1159
1127
  "core.MCPForDA.mcpAuthMetadataMissingError": "在 MCP 伺服器中找不到驗證中繼資料。請確定您的 MCP 伺服器已正確設定,然後再試一次。詳細資料: %s",
1160
- "core.MCPForDA.mcpAuthDcrPlaceholderWarning": "Scaffolding succeeded, but the OAuth endpoints couldn't be discovered automatically. Your MCP server is reachable, but it doesn't advertise its OAuth endpoints — ATK checks the server's OAuth metadata ('.well-known/oauth-authorization-server') and found 'none'. Replace the 'wellKnownAuthorizationServer' placeholder in 'm365agents.yml' with the right value before provisioning.",
1161
- "core.MCPForDA.mcpAuthOAuthPlaceholderWarning": "Scaffolding succeeded, but the OAuth endpoints couldn't be discovered automatically. Your MCP server is reachable, but it doesn't advertise its OAuth endpoints — ATK checks the server's OAuth metadata ('.well-known/oauth-authorization-server') and found 'none'. Replace the 'authorizationUrl' and 'tokenUrl' placeholders in 'm365agents.yml' with the right values before provisioning.",
1128
+ "core.MCPForDA.mcpAuthDcrPlaceholderWarning": "Scaffolding 成功,但無法自動探索 OAuth 端點。您的 MCP 伺服器可連線,但未公告其 OAuth 端點 - ATK 會檢查伺服器的 OAuth 中繼資料 ('.well-known/oauth-authorization-server') 並發現 'none'。在佈建之前,請以正確的值取代 'm365agents.yml' 中的 'wellKnownAuthorizationServer' 預留位置。",
1129
+ "core.MCPForDA.mcpAuthOAuthPlaceholderWarning": "Scaffolding 成功,但無法自動探索 OAuth 端點。您的 MCP 伺服器可連線,但未公告其 OAuth 端點 - ATK 會檢查伺服器的 OAuth 中繼資料 ('.well-known/oauth-authorization-server') 並發現 'none'。在佈建之前,請以正確的值取代 'm365agents.yml' 中的 'authorizationUrl' 和 'tokenUrl' 預留位置。",
1162
1130
  "core.v4.scaffold.existingFileSkipped": "'%s' 已存在,且未被覆寫。請將其刪除或重新命名,以重新建置檔案。",
1131
+ "core.v4.scaffold.languageOptionsInvalid": "The template package contains invalid language presentation metadata.",
1132
+ "core.v4.scaffold.languageOptionsFailed": "Failed to load language choices from the template package.",
1133
+ "core.v4.scaffold.openApiAuthYamlInvalid": "Cannot add OpenAPI authentication actions. The project YAML must be valid and contain a provision action list.",
1163
1134
  "core.MCPForDA.mcpAuthMetadataUrlNotFound": "無法從 MCP 伺服器的回應中找到來自 \"resource_metadata\" 屬性的驗證中繼資料。",
1164
- "core.MCPForDA.mcpServerMetadataUrlNotFound": "Unable to find the server metadata from property \"authorization_servers\" from response of the Protected Resource Metadata of the MCP server.",
1165
- "core.MCPForDA.authUrlNotFound": "Unable to find the authentication URL(s) from response of Authorization Server Metadata of the MCP server. Attempted: %s",
1135
+ "core.MCPForDA.mcpServerMetadataUrlNotFound": "無法從 MCP 伺服器的受保護資源中繼資料回應中找到來自 \"authorization_servers\" 屬性的伺服器中繼資料。",
1136
+ "core.MCPForDA.authUrlNotFound": "無法從 MCP 伺服器的授權伺服器中繼資料回應中找到驗證 URL。已嘗試: %s",
1166
1137
  "core.MCPForDA.toolsFileNotFound": "找不到 MCP 工具檔案: %s",
1167
1138
  "core.MCPForDA.toolsFileInvalidFormat": "無效 MCP 工具檔案格式。預期為 %s 或工具的 JSON 陣列: %s",
1168
1139
  "core.MCPForDA.toolsFileMissingName": "MCP 工具檔案中的每個工具都必須具有 %s 屬性: %s",
@@ -1175,7 +1146,27 @@
1175
1146
  "core.MCPForDA.toolsFileReadError": "無法讀取 MCP 工具檔案: %s。若要稍後新增工具,請執行:\n %s",
1176
1147
  "core.MCPForDA.authRequired": "位於 %s 的 MCP 伺服器需要驗證。無法自動擷取工具。若要新增工具,請執行:\n %s",
1177
1148
  "core.MCPForDA.noToolsFetched": "從 %s 的 MCP 伺服器中未探索到任何工具。若要稍後新增工具,請執行:\n %s",
1178
- "core.MCPForDA.mcpServerUrlNotAnEndpoint": "%s answered an MCP initialize request with HTTP %s, so it may not be an MCP server URL. Verify the URL before provisioning.",
1179
- "core.MCPForDA.openYmlFile": "Open m365agents.yml",
1149
+ "core.MCPForDA.mcpServerUrlNotAnEndpoint": "%s 以 HTTP %s 回應了 MCP 的初始化要求,因此它可能不是 MCP 伺服器 URL。佈建前請先驗證 URL。",
1150
+ "core.openPluginImport.autoAuthNone": "Auto inferred authentication type None for MCP server '%s'. Verify this choice if individual tools require authentication or use an API key.",
1151
+ "core.openPluginImport.autoAuthOAuth": "Auto inferred OAuthPluginVault for MCP server '%s'. The generated reference ID is a placeholder and must be registered before use.",
1152
+ "core.openPluginImport.authFallback": "OAuth metadata could not be resolved for MCP server '%s' after it confirmed authentication is required. Auto fell back to OAuthPluginVault. Verify the authentication type and register the generated reference ID before use.",
1153
+ "core.openPluginImport.failed": "Failed to import the Agent Plugin.",
1154
+ "core.openPluginImport.invalidManifest": "The mapped Teams manifest is invalid: %s",
1155
+ "core.openPluginImport.invalidOutputPath": "The output path must not be a symbolic link or junction: %s.",
1156
+ "core.openPluginImport.invalidPlugin": "The Agent Plugin is invalid: %s",
1157
+ "core.openPluginImport.missingPluginPath": "The --path option is required.",
1158
+ "core.openPluginImport.outputDirectoryNotEmpty": "The output directory is not empty: %s. Choose a different --output path or empty the directory.",
1159
+ "core.openPluginImport.unresolvedMcpAuth": "Unable to resolve authentication for MCP server '%s' while --default-auth-type is Auto. Specify None, OAuthPluginVault, or ApiKeyPluginVault explicitly.",
1160
+ "core.openPluginExport.failed": "Failed to export the Agent Plugin.",
1161
+ "core.openPluginExport.invalidAgentPluginManifest": "The project cannot be exported as an Agent Plugins 1.0.0 manifest.",
1162
+ "core.openPluginExport.invalidManifest": "The project manifest is invalid.",
1163
+ "core.openPluginExport.invalidMcpServerUrl": "The project contains an MCP server URL that cannot be exported.",
1164
+ "core.openPluginExport.invalidOutputPath": "The output path must not be a symbolic link or junction.",
1165
+ "core.openPluginExport.invalidProjectPath": "The project path is invalid.",
1166
+ "core.openPluginExport.invalidProjectStructure": "The project structure is invalid.",
1167
+ "core.openPluginExport.manifestNotFound": "appPackage/manifest.json was not found in the project.",
1168
+ "core.openPluginExport.missingProjectPath": "The --path option is required.",
1169
+ "core.openPluginExport.outputDirectoryNotEmpty": "The output directory is not empty. Choose a different --output path or empty the directory.",
1170
+ "core.MCPForDA.openYmlFile": "開啟 m365agents.yml",
1180
1171
  "core.MCPForDA.fetchError": "無法從 %s 的 MCP 伺服器擷取工具。若要稍後新增工具,請執行:\n %s"
1181
1172
  }
@@ -10,7 +10,7 @@
10
10
  "environmentFolderPath": {
11
11
  "type": "string",
12
12
  "description": "The folder path of .env files used for variables and different environments."
13
- },
13
+ },
14
14
  "version": {
15
15
  "type": "string",
16
16
  "description": "The version of the yaml file schema",
@@ -22,7 +22,7 @@
22
22
  "additionalProperties": true,
23
23
  "properties": {
24
24
  "sampleTag": {
25
- "type": ["number","string","boolean","object","array", "null", "integer"],
25
+ "type": ["number", "string", "boolean", "object", "array", "null", "integer"],
26
26
  "description": "A tag for the sample app used to track telemetry events sent by Microsoft 365 Agents Toolkit associated with that sample. Pattern: <sample-repo>:<sample-name>"
27
27
  }
28
28
  }
@@ -76,16 +76,16 @@
76
76
  { "$ref": "#/definitions/spfxDeploy" },
77
77
  { "$ref": "#/definitions/teamsAppCopyAppPackageToSPFx" },
78
78
  { "$ref": "#/definitions/script" },
79
- { "$ref": "#/definitions/apiKeyRegister"},
80
- { "$ref": "#/definitions/azureStaticWebAppGetDeploymentKey"},
81
- { "$ref": "#/definitions/apiKeyUpdate"},
82
- { "$ref": "#/definitions/oauthRegister"},
83
- { "$ref": "#/definitions/oauthUpdate"},
84
- { "$ref": "#/definitions/dcrRegister"},
85
- { "$ref": "#/definitions/devChannelCreate"},
86
- { "$ref": "#/definitions/devChannelInstallApp"},
87
- { "$ref": "#/definitions/typeSpecCompile"},
88
- { "$ref": "#/definitions/copilotAgentPublish"}
79
+ { "$ref": "#/definitions/apiKeyRegister" },
80
+ { "$ref": "#/definitions/azureStaticWebAppGetDeploymentKey" },
81
+ { "$ref": "#/definitions/apiKeyUpdate" },
82
+ { "$ref": "#/definitions/oauthRegister" },
83
+ { "$ref": "#/definitions/oauthUpdate" },
84
+ { "$ref": "#/definitions/dcrRegister" },
85
+ { "$ref": "#/definitions/devChannelCreate" },
86
+ { "$ref": "#/definitions/devChannelInstallApp" },
87
+ { "$ref": "#/definitions/typeSpecCompile" },
88
+ { "$ref": "#/definitions/copilotAgentPublish" }
89
89
  ]
90
90
  }
91
91
  },
@@ -115,7 +115,7 @@
115
115
  "aadAppCreateWithSecret": {
116
116
  "type": "object",
117
117
  "additionalProperties": false,
118
- "allOf": [ { "$ref": "#/definitions/aadAppCreateBase" } ],
118
+ "allOf": [{ "$ref": "#/definitions/aadAppCreateBase" }],
119
119
  "required": ["with", "writeToEnvironmentFile"],
120
120
  "properties": {
121
121
  "name": {},
@@ -144,7 +144,12 @@
144
144
  "signInAudience": {
145
145
  "type": "string",
146
146
  "description": "Specifies what Microsoft accounts are supported for the current application.",
147
- "enum": ["AzureADMyOrg", "AzureADMultipleOrgs", "AzureADandPersonalMicrosoftAccount", "PersonalMicrosoftAccount"]
147
+ "enum": [
148
+ "AzureADMyOrg",
149
+ "AzureADMultipleOrgs",
150
+ "AzureADandPersonalMicrosoftAccount",
151
+ "PersonalMicrosoftAccount"
152
+ ]
148
153
  },
149
154
  "serviceManagementReference": {
150
155
  "type": "string",
@@ -197,7 +202,7 @@
197
202
  },
198
203
  "aadAppCreateWithoutSecret": {
199
204
  "type": "object",
200
- "allOf": [ { "$ref": "#/definitions/aadAppCreateBase" } ],
205
+ "allOf": [{ "$ref": "#/definitions/aadAppCreateBase" }],
201
206
  "required": ["with", "writeToEnvironmentFile"],
202
207
  "additionalProperties": false,
203
208
  "properties": {
@@ -227,7 +232,12 @@
227
232
  "signInAudience": {
228
233
  "type": "string",
229
234
  "description": "Specifies what Microsoft accounts are supported for the current application.",
230
- "enum": ["AzureADMyOrg", "AzureADMultipleOrgs", "AzureADandPersonalMicrosoftAccount", "PersonalMicrosoftAccount"]
235
+ "enum": [
236
+ "AzureADMyOrg",
237
+ "AzureADMultipleOrgs",
238
+ "AzureADandPersonalMicrosoftAccount",
239
+ "PersonalMicrosoftAccount"
240
+ ]
231
241
  },
232
242
  "serviceManagementReference": {
233
243
  "type": "string",
@@ -1049,7 +1059,7 @@
1049
1059
  "$ref": "#/definitions/secretEnvVarName"
1050
1060
  }
1051
1061
  }
1052
- }
1062
+ }
1053
1063
  }
1054
1064
  },
1055
1065
  "botframeworkCreate": {
@@ -1104,7 +1114,10 @@
1104
1114
  "type": "array",
1105
1115
  "description": "the channel(s) to be enabled of the bot",
1106
1116
  "items": {
1107
- "oneOf": [{ "$ref": "#/definitions/MsTeamsChannel" }, { "$ref": "#/definitions/M365ExtensionsChannel" }]
1117
+ "oneOf": [
1118
+ { "$ref": "#/definitions/MsTeamsChannel" },
1119
+ { "$ref": "#/definitions/M365ExtensionsChannel" }
1120
+ ]
1108
1121
  }
1109
1122
  }
1110
1123
  }
@@ -1281,9 +1294,7 @@
1281
1294
  "type": "object",
1282
1295
  "description": "Install Azure Functions Core Tools. This will output environment variable specified by `funcPath` to current environment's .env file.",
1283
1296
  "additionalProperties": false,
1284
- "required": [
1285
- "version"
1286
- ],
1297
+ "required": ["version"],
1287
1298
  "properties": {
1288
1299
  "version": {
1289
1300
  "oneOf": [
@@ -1557,7 +1568,7 @@
1557
1568
  "description": "redirect stdout and stderr to a file"
1558
1569
  }
1559
1570
  }
1560
- }
1571
+ }
1561
1572
  }
1562
1573
  },
1563
1574
  "relativePath": {
@@ -1841,6 +1852,10 @@
1841
1852
  "type": "string",
1842
1853
  "description": "Token exchange method type, can be BasicAuthorizationHeader or PostRequestBody. BasicAuthorizationHeader: token exchange via HTTP headers, PostRequestBody: token exchange via request body. Default is BasicAuthorizationHeader.",
1843
1854
  "enum": ["BasicAuthorizationHeader", "PostRequestBody"]
1855
+ },
1856
+ "includePersonalMicrosoftAccounts": {
1857
+ "type": "boolean",
1858
+ "description": "Whether to allow personal Microsoft accounts in addition to work or school accounts. If omitted when registering, only work or school accounts are allowed."
1844
1859
  }
1845
1860
  }
1846
1861
  },
@@ -1941,6 +1956,10 @@
1941
1956
  "type": "string",
1942
1957
  "description": "Token exchange method type, can be BasicAuthorizationHeader or PostRequestBody. BasicAuthorizationHeader: token exchange via HTTP headers, PostRequestBody: token exchange via request body. Default is BasicAuthorizationHeader.",
1943
1958
  "enum": ["BasicAuthorizationHeader", "PostRequestBody"]
1959
+ },
1960
+ "includePersonalMicrosoftAccounts": {
1961
+ "type": "boolean",
1962
+ "description": "Whether to allow personal Microsoft accounts in addition to work or school accounts. If omitted during an update, the existing account support remains unchanged."
1944
1963
  }
1945
1964
  }
1946
1965
  }
@@ -1949,46 +1968,65 @@
1949
1968
  "dcrRegister": {
1950
1969
  "type": "object",
1951
1970
  "additionalProperties": false,
1952
- "description": "Create a Dynamic Client Registration (DCR) configuration.",
1971
+ "description": "Create a Dynamic Client Registration (DCR) configuration through Teams Graph Service (TGS). Registration is skipped when the mapped configurationId environment variable already has a value.",
1953
1972
  "required": ["uses", "with", "writeToEnvironmentFile"],
1954
1973
  "properties": {
1955
1974
  "uses": {
1956
1975
  "type": "string",
1957
- "description": "Register a DCR configuration.",
1976
+ "description": "Register an OAuth configuration using server-side Dynamic Client Registration.",
1958
1977
  "const": "dcr/register"
1959
1978
  },
1960
1979
  "with": {
1961
1980
  "type": "object",
1962
1981
  "additionalProperties": false,
1963
- "description": "Parameters for this action",
1964
- "required": ["name", "wellKnownAuthorizationServer"],
1982
+ "description": "DCR registration parameters. Supply mcpResourceUrl for protected resource metadata discovery, wellKnownAuthorizationServer to pin authorization-server metadata, or both.",
1983
+ "required": ["name"],
1984
+ "anyOf": [
1985
+ { "required": ["mcpResourceUrl"] },
1986
+ { "required": ["wellKnownAuthorizationServer"] }
1987
+ ],
1965
1988
  "properties": {
1966
1989
  "name": {
1967
1990
  "type": "string",
1968
- "description": "The display name of the DCR configuration. Becomes the clientName sent during RFC 7591 registration. Max 128 characters."
1991
+ "description": "Required client name sent to TGS as clientName for dynamic registration. Maximum 128 characters."
1969
1992
  },
1970
1993
  "appId": {
1971
1994
  "type": "string",
1972
- "description": "The Teams app id associated with this configuration. Only takes effect when applicableToApps is SpecificApp."
1995
+ "description": "Microsoft 365 app ID. Required when applicableToApps is SpecificApp; ignored when applicableToApps is AnyApp."
1996
+ },
1997
+ "mcpResourceUrl": {
1998
+ "type": "string",
1999
+ "minLength": 1,
2000
+ "description": "HTTPS URL of the actual MCP endpoint, including its path. Recommended for new configurations. TGS probes this endpoint and RFC 9728 well-known locations for protected resource metadata (PRM) to discover resource and scopes_supported. Unless wellKnownAuthorizationServer is supplied, TGS uses PRM's first authorization_servers entry. This is not the PRM document URL; the OAuth resource indicator comes from PRM's resource, not directly from this endpoint URL. Optional when wellKnownAuthorizationServer is supplied."
1973
2001
  },
1974
2002
  "wellKnownAuthorizationServer": {
1975
2003
  "type": "string",
1976
- "description": "URL to the authorization server's RFC 8414 metadata document. TGS fetches this to discover the registration_endpoint and performs the RFC 7591 exchange server-side."
2004
+ "minLength": 1,
2005
+ "description": "HTTPS URL of the authorization server's RFC 8414 metadata document, supported for existing configurations and explicit authorization-server selection. Optional when mcpResourceUrl is supplied. When present, this URL takes precedence for authorization-server metadata resolution. An authorization server can serve multiple resources, so this metadata alone cannot identify the intended OAuth resource. Without mcpResourceUrl, supply resource explicitly if the service requires it. If mcpResourceUrl is also supplied, TGS attempts best-effort PRM discovery for resource and scopes; failure of that enrichment does not fail registration."
2006
+ },
2007
+ "resource": {
2008
+ "type": "string",
2009
+ "minLength": 1,
2010
+ "description": "Optional explicit OAuth resource indicator: an absolute URI without a fragment. Overrides PRM's resource value. Omit this field when mcpResourceUrl enables PRM discovery of the intended resource; otherwise supply it explicitly if the service requires a resource indicator. It is not inferred from authorization-server metadata or copied from the MCP endpoint or target URL. If neither an explicit value nor PRM supplies a resource, no resource indicator is sent. TGS sends the selected resource in authorization, token and refresh-token requests."
1977
2011
  },
1978
2012
  "targetUrlsShouldStartWith": {
1979
2013
  "type": "array",
1980
- "description": "Outbound URL allowlist. TGS only allows this configuration to authorize calls whose destination URL starts with one of these prefixes.",
2014
+ "description": "Required MCP target URL array. TGS requires exactly one valid HTTPS URL; omission, a string, an empty array or multiple entries is rejected. New configurations use the actual MCP endpoint. This field does not set the OAuth resource indicator.",
1981
2015
  "items": { "type": "string" }
1982
2016
  },
1983
2017
  "applicableToApps": {
1984
2018
  "type": "string",
1985
- "description": "Which app can use this DCR configuration. Default is \"AnyApp\".",
2019
+ "description": "Applications permitted to use this configuration: AnyApp (default), or SpecificApp, which requires appId.",
1986
2020
  "enum": ["SpecificApp", "AnyApp"]
1987
2021
  },
1988
2022
  "targetAudience": {
1989
2023
  "type": "string",
1990
- "description": "Which tenant can use this DCR configuration. Default is \"HomeTenant\".",
2024
+ "description": "Tenants permitted to use this configuration: HomeTenant (default) or AnyTenant.",
1991
2025
  "enum": ["HomeTenant", "AnyTenant"]
2026
+ },
2027
+ "includePersonalMicrosoftAccounts": {
2028
+ "type": "boolean",
2029
+ "description": "Whether to allow personal Microsoft accounts in addition to work or school accounts. If omitted when registering, only work or school accounts are allowed."
1992
2030
  }
1993
2031
  }
1994
2032
  },
@@ -1999,7 +2037,7 @@
1999
2037
  "required": ["configurationId"],
2000
2038
  "properties": {
2001
2039
  "configurationId": {
2002
- "description": "Required. The configuration id of the created DCR registration.",
2040
+ "description": "Required environment variable name receiving the returned configurationRegistrationId.oAuthConfigId. This is a configuration ID, not an OAuth client ID or resource indicator. An existing value causes this action to skip registration.",
2003
2041
  "$ref": "#/definitions/envVarName"
2004
2042
  }
2005
2043
  }