@microsoft/teamsfx-core 3.0.13 → 3.0.14-alpha.1673f8d0ac.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 (314) hide show
  1. package/build/client/teamsGraphClient.d.ts +3 -0
  2. package/build/client/teamsGraphClient.d.ts.map +1 -1
  3. package/build/client/teamsGraphClient.js +17 -0
  4. package/build/client/teamsGraphClient.js.map +1 -1
  5. package/build/common/featureFlags.d.ts +12 -2
  6. package/build/common/featureFlags.d.ts.map +1 -1
  7. package/build/common/featureFlags.js +15 -3
  8. package/build/common/featureFlags.js.map +1 -1
  9. package/build/common/projectSettingsHelper.d.ts +0 -2
  10. package/build/common/projectSettingsHelper.d.ts.map +1 -1
  11. package/build/common/projectSettingsHelper.js +1 -56
  12. package/build/common/projectSettingsHelper.js.map +1 -1
  13. package/build/common/telemetry.d.ts +4 -15
  14. package/build/common/telemetry.d.ts.map +1 -1
  15. package/build/common/telemetry.js +5 -18
  16. package/build/common/telemetry.js.map +1 -1
  17. package/build/common/templates-config.json +9 -2
  18. package/build/component/configManager/validator.d.ts.map +1 -1
  19. package/build/component/configManager/validator.js +2 -0
  20. package/build/component/configManager/validator.js.map +1 -1
  21. package/build/component/coordinator/index.d.ts.map +1 -1
  22. package/build/component/coordinator/index.js +5 -1
  23. package/build/component/coordinator/index.js.map +1 -1
  24. package/build/component/driver/copilotAgent/interfaces/PublishArgs.d.ts +14 -0
  25. package/build/component/driver/copilotAgent/interfaces/PublishArgs.d.ts.map +1 -0
  26. package/build/component/driver/copilotAgent/interfaces/PublishArgs.js +5 -0
  27. package/build/component/driver/copilotAgent/interfaces/PublishArgs.js.map +1 -0
  28. package/build/component/driver/copilotAgent/publish.d.ts +16 -0
  29. package/build/component/driver/copilotAgent/publish.d.ts.map +1 -0
  30. package/build/component/driver/copilotAgent/publish.js +175 -0
  31. package/build/component/driver/copilotAgent/publish.js.map +1 -0
  32. package/build/component/driver/dcr/create.d.ts +10 -0
  33. package/build/component/driver/dcr/create.d.ts.map +1 -0
  34. package/build/component/driver/dcr/create.js +142 -0
  35. package/build/component/driver/dcr/create.js.map +1 -0
  36. package/build/component/driver/dcr/error/dcrNameTooLong.d.ts +5 -0
  37. package/build/component/driver/dcr/error/dcrNameTooLong.d.ts.map +1 -0
  38. package/build/component/driver/dcr/error/dcrNameTooLong.js +21 -0
  39. package/build/component/driver/dcr/error/dcrNameTooLong.js.map +1 -0
  40. package/build/component/driver/dcr/error/dcrWellKnownInvalid.d.ts +5 -0
  41. package/build/component/driver/dcr/error/dcrWellKnownInvalid.d.ts.map +1 -0
  42. package/build/component/driver/dcr/error/dcrWellKnownInvalid.js +21 -0
  43. package/build/component/driver/dcr/error/dcrWellKnownInvalid.js.map +1 -0
  44. package/build/component/driver/dcr/interface/createDcrArgs.d.ts +9 -0
  45. package/build/component/driver/dcr/interface/createDcrArgs.d.ts.map +1 -0
  46. package/build/component/driver/dcr/interface/createDcrArgs.js +5 -0
  47. package/build/component/driver/dcr/interface/createDcrArgs.js.map +1 -0
  48. package/build/component/driver/dcr/interface/createDcrOutputs.d.ts +7 -0
  49. package/build/component/driver/dcr/interface/createDcrOutputs.d.ts.map +1 -0
  50. package/build/component/driver/dcr/interface/createDcrOutputs.js +10 -0
  51. package/build/component/driver/dcr/interface/createDcrOutputs.js.map +1 -0
  52. package/build/component/driver/dcr/utility/constants.d.ts +7 -0
  53. package/build/component/driver/dcr/utility/constants.d.ts.map +1 -0
  54. package/build/component/driver/dcr/utility/constants.js +12 -0
  55. package/build/component/driver/dcr/utility/constants.js.map +1 -0
  56. package/build/component/driver/index.d.ts +2 -0
  57. package/build/component/driver/index.d.ts.map +1 -1
  58. package/build/component/driver/index.js +2 -0
  59. package/build/component/driver/index.js.map +1 -1
  60. package/build/component/driver/share/utils.d.ts.map +1 -1
  61. package/build/component/driver/share/utils.js +9 -7
  62. package/build/component/driver/share/utils.js.map +1 -1
  63. package/build/component/driver/teamsApp/constants.d.ts +1 -0
  64. package/build/component/driver/teamsApp/constants.d.ts.map +1 -1
  65. package/build/component/driver/teamsApp/constants.js +1 -0
  66. package/build/component/driver/teamsApp/constants.js.map +1 -1
  67. package/build/component/driver/teamsApp/createAppPackage.d.ts +2 -0
  68. package/build/component/driver/teamsApp/createAppPackage.d.ts.map +1 -1
  69. package/build/component/driver/teamsApp/createAppPackage.js +74 -10
  70. package/build/component/driver/teamsApp/createAppPackage.js.map +1 -1
  71. package/build/component/driver/teamsApp/interfaces/DcrRegistration.d.ts +10 -0
  72. package/build/component/driver/teamsApp/interfaces/DcrRegistration.d.ts.map +1 -0
  73. package/build/component/driver/teamsApp/interfaces/DcrRegistration.js +5 -0
  74. package/build/component/driver/teamsApp/interfaces/DcrRegistration.js.map +1 -0
  75. package/build/component/driver/teamsApp/publishAppPackage.d.ts +0 -2
  76. package/build/component/driver/teamsApp/publishAppPackage.d.ts.map +1 -1
  77. package/build/component/driver/teamsApp/publishAppPackage.js +2 -51
  78. package/build/component/driver/teamsApp/publishAppPackage.js.map +1 -1
  79. package/build/component/driver/teamsApp/utils/ManifestUtils.d.ts +1 -1
  80. package/build/component/driver/teamsApp/utils/ManifestUtils.d.ts.map +1 -1
  81. package/build/component/driver/teamsApp/utils/ManifestUtils.js +10 -2
  82. package/build/component/driver/teamsApp/utils/ManifestUtils.js.map +1 -1
  83. package/build/component/driver/teamsApp/utils/McpCertVerification.d.ts +13 -0
  84. package/build/component/driver/teamsApp/utils/McpCertVerification.d.ts.map +1 -0
  85. package/build/component/driver/teamsApp/utils/McpCertVerification.js +65 -0
  86. package/build/component/driver/teamsApp/utils/McpCertVerification.js.map +1 -0
  87. package/build/component/driver/teamsApp/validate.js +1 -1
  88. package/build/component/driver/teamsApp/validate.js.map +1 -1
  89. package/build/component/generator/declarativeAgent/generator.d.ts.map +1 -1
  90. package/build/component/generator/declarativeAgent/generator.js +1 -2
  91. package/build/component/generator/declarativeAgent/generator.js.map +1 -1
  92. package/build/component/generator/defaultGenerator.d.ts.map +1 -1
  93. package/build/component/generator/defaultGenerator.js +14 -1
  94. package/build/component/generator/defaultGenerator.js.map +1 -1
  95. package/build/component/generator/error.d.ts +3 -0
  96. package/build/component/generator/error.d.ts.map +1 -1
  97. package/build/component/generator/error.js +7 -1
  98. package/build/component/generator/error.js.map +1 -1
  99. package/build/component/generator/officeAddin/generator.d.ts +8 -0
  100. package/build/component/generator/officeAddin/generator.d.ts.map +1 -1
  101. package/build/component/generator/officeAddin/generator.js +47 -0
  102. package/build/component/generator/officeAddin/generator.js.map +1 -1
  103. package/build/component/generator/openPlugin/authorParser.d.ts +8 -0
  104. package/build/component/generator/openPlugin/authorParser.d.ts.map +1 -0
  105. package/build/component/generator/openPlugin/authorParser.js +49 -0
  106. package/build/component/generator/openPlugin/authorParser.js.map +1 -0
  107. package/build/component/generator/openPlugin/deterministicId.d.ts +6 -0
  108. package/build/component/generator/openPlugin/deterministicId.d.ts.map +1 -0
  109. package/build/component/generator/openPlugin/deterministicId.js +31 -0
  110. package/build/component/generator/openPlugin/deterministicId.js.map +1 -0
  111. package/build/component/generator/openPlugin/exporter.d.ts +18 -0
  112. package/build/component/generator/openPlugin/exporter.d.ts.map +1 -0
  113. package/build/component/generator/openPlugin/exporter.js +233 -0
  114. package/build/component/generator/openPlugin/exporter.js.map +1 -0
  115. package/build/component/generator/openPlugin/iconStrategy.d.ts +8 -0
  116. package/build/component/generator/openPlugin/iconStrategy.d.ts.map +1 -0
  117. package/build/component/generator/openPlugin/iconStrategy.js +62 -0
  118. package/build/component/generator/openPlugin/iconStrategy.js.map +1 -0
  119. package/build/component/generator/openPlugin/importer.d.ts +25 -0
  120. package/build/component/generator/openPlugin/importer.d.ts.map +1 -0
  121. package/build/component/generator/openPlugin/importer.js +140 -0
  122. package/build/component/generator/openPlugin/importer.js.map +1 -0
  123. package/build/component/generator/openPlugin/mapper.d.ts +6 -0
  124. package/build/component/generator/openPlugin/mapper.d.ts.map +1 -0
  125. package/build/component/generator/openPlugin/mapper.js +141 -0
  126. package/build/component/generator/openPlugin/mapper.js.map +1 -0
  127. package/build/component/generator/openPlugin/parser.d.ts +3 -0
  128. package/build/component/generator/openPlugin/parser.d.ts.map +1 -0
  129. package/build/component/generator/openPlugin/parser.js +153 -0
  130. package/build/component/generator/openPlugin/parser.js.map +1 -0
  131. package/build/component/generator/openPlugin/placeholderPng.d.ts +6 -0
  132. package/build/component/generator/openPlugin/placeholderPng.d.ts.map +1 -0
  133. package/build/component/generator/openPlugin/placeholderPng.js +71 -0
  134. package/build/component/generator/openPlugin/placeholderPng.js.map +1 -0
  135. package/build/component/generator/openPlugin/textUtils.d.ts +12 -0
  136. package/build/component/generator/openPlugin/textUtils.d.ts.map +1 -0
  137. package/build/component/generator/openPlugin/textUtils.js +43 -0
  138. package/build/component/generator/openPlugin/textUtils.js.map +1 -0
  139. package/build/component/generator/openPlugin/types.d.ts +128 -0
  140. package/build/component/generator/openPlugin/types.d.ts.map +1 -0
  141. package/build/component/generator/openPlugin/types.js.map +1 -0
  142. package/build/component/generator/templateHelper.d.ts +15 -0
  143. package/build/component/generator/templateHelper.d.ts.map +1 -1
  144. package/build/component/generator/templateHelper.js +28 -0
  145. package/build/component/generator/templateHelper.js.map +1 -1
  146. package/build/component/generator/templates/metadata/index.d.ts.map +1 -1
  147. package/build/component/generator/templates/metadata/index.js +9 -2
  148. package/build/component/generator/templates/metadata/index.js.map +1 -1
  149. package/build/component/generator/templates/templateNames.d.ts +2 -1
  150. package/build/component/generator/templates/templateNames.d.ts.map +1 -1
  151. package/build/component/generator/templates/templateNames.js +2 -0
  152. package/build/component/generator/templates/templateNames.js.map +1 -1
  153. package/build/component/generator/templates/templateReplaceMap.d.ts.map +1 -1
  154. package/build/component/generator/templates/templateReplaceMap.js +4 -1
  155. package/build/component/generator/templates/templateReplaceMap.js.map +1 -1
  156. package/build/component/generator/v4MetadataSource.d.ts +23 -0
  157. package/build/component/generator/v4MetadataSource.d.ts.map +1 -0
  158. package/build/component/generator/v4MetadataSource.js +42 -0
  159. package/build/component/generator/v4MetadataSource.js.map +1 -0
  160. package/build/component/generator/v4TemplateBridge.d.ts +29 -0
  161. package/build/component/generator/v4TemplateBridge.d.ts.map +1 -0
  162. package/build/component/generator/v4TemplateBridge.js +114 -0
  163. package/build/component/generator/v4TemplateBridge.js.map +1 -0
  164. package/build/component/m365/packageService.d.ts +5 -0
  165. package/build/component/m365/packageService.d.ts.map +1 -1
  166. package/build/component/m365/packageService.js +23 -1
  167. package/build/component/m365/packageService.js.map +1 -1
  168. package/build/core/FxCore.d.ts +2 -4
  169. package/build/core/FxCore.d.ts.map +1 -1
  170. package/build/core/FxCore.js +53 -78
  171. package/build/core/FxCore.js.map +1 -1
  172. package/build/core/FxCore.openPlugin.d.ts +23 -0
  173. package/build/core/FxCore.openPlugin.d.ts.map +1 -0
  174. package/build/core/FxCore.openPlugin.js +131 -0
  175. package/build/core/FxCore.openPlugin.js.map +1 -0
  176. package/build/core/middleware/concurrentLocker.d.ts.map +1 -1
  177. package/build/core/middleware/concurrentLocker.js +0 -3
  178. package/build/core/middleware/concurrentLocker.js.map +1 -1
  179. package/build/core/middleware/errorHandler.d.ts.map +1 -1
  180. package/build/core/middleware/errorHandler.js +9 -0
  181. package/build/core/middleware/errorHandler.js.map +1 -1
  182. package/build/core/middleware/utils/v3MigrationUtils.d.ts +1 -34
  183. package/build/core/middleware/utils/v3MigrationUtils.d.ts.map +1 -1
  184. package/build/core/middleware/utils/v3MigrationUtils.js +6 -245
  185. package/build/core/middleware/utils/v3MigrationUtils.js.map +1 -1
  186. package/build/question/constants.d.ts.map +1 -1
  187. package/build/question/constants.js +1 -6
  188. package/build/question/constants.js.map +1 -1
  189. package/build/question/inputs/ExportOpenPluginInputs.d.ts +10 -0
  190. package/build/question/inputs/ExportOpenPluginInputs.d.ts.map +1 -0
  191. package/build/question/inputs/ExportOpenPluginInputs.js +5 -0
  192. package/build/question/inputs/ExportOpenPluginInputs.js.map +1 -0
  193. package/build/question/inputs/ImportOpenPluginInputs.d.ts +28 -0
  194. package/build/question/inputs/ImportOpenPluginInputs.d.ts.map +1 -0
  195. package/build/question/inputs/ImportOpenPluginInputs.js +5 -0
  196. package/build/question/inputs/ImportOpenPluginInputs.js.map +1 -0
  197. package/build/question/inputs/index.d.ts +2 -0
  198. package/build/question/inputs/index.d.ts.map +1 -1
  199. package/build/question/inputs/index.js +2 -0
  200. package/build/question/inputs/index.js.map +1 -1
  201. package/build/question/options/ExportOpenPluginOptions.d.ts +4 -0
  202. package/build/question/options/ExportOpenPluginOptions.d.ts.map +1 -0
  203. package/build/question/options/ExportOpenPluginOptions.js +29 -0
  204. package/build/question/options/ExportOpenPluginOptions.js.map +1 -0
  205. package/build/question/options/ImportOpenPluginOptions.d.ts +4 -0
  206. package/build/question/options/ImportOpenPluginOptions.d.ts.map +1 -0
  207. package/build/question/options/ImportOpenPluginOptions.js +54 -0
  208. package/build/question/options/ImportOpenPluginOptions.js.map +1 -0
  209. package/build/question/options/index.d.ts +2 -0
  210. package/build/question/options/index.d.ts.map +1 -1
  211. package/build/question/options/index.js +2 -0
  212. package/build/question/options/index.js.map +1 -1
  213. package/build/question/scaffold/vsc/daProjectTypeNode.d.ts.map +1 -1
  214. package/build/question/scaffold/vsc/daProjectTypeNode.js +1 -3
  215. package/build/question/scaffold/vsc/daProjectTypeNode.js.map +1 -1
  216. package/build/question/scaffold/vsc/rootNode.d.ts.map +1 -1
  217. package/build/question/scaffold/vsc/rootNode.js +1 -1
  218. package/build/question/scaffold/vsc/rootNode.js.map +1 -1
  219. package/build/v4/distribution/bundledFloor.d.ts +12 -0
  220. package/build/v4/distribution/bundledFloor.d.ts.map +1 -0
  221. package/build/v4/distribution/bundledFloor.js +80 -0
  222. package/build/v4/distribution/bundledFloor.js.map +1 -0
  223. package/build/v4/distribution/templateConfig.d.ts +53 -0
  224. package/build/v4/distribution/templateConfig.d.ts.map +1 -0
  225. package/build/v4/distribution/templateConfig.js +43 -0
  226. package/build/v4/distribution/templateConfig.js.map +1 -0
  227. package/build/v4/distribution/templatePackage.d.ts +29 -0
  228. package/build/v4/distribution/templatePackage.d.ts.map +1 -0
  229. package/build/v4/distribution/templatePackage.js +82 -0
  230. package/build/v4/distribution/templatePackage.js.map +1 -0
  231. package/build/v4/distribution/templateSource.d.ts +67 -0
  232. package/build/v4/distribution/templateSource.d.ts.map +1 -0
  233. package/build/v4/distribution/templateSource.js +220 -0
  234. package/build/v4/distribution/templateSource.js.map +1 -0
  235. package/build/v4/distribution/templateSourcePort.d.ts +50 -0
  236. package/build/v4/distribution/templateSourcePort.d.ts.map +1 -0
  237. package/build/v4/distribution/templateSourcePort.js +207 -0
  238. package/build/v4/distribution/templateSourcePort.js.map +1 -0
  239. package/build/v4/index.d.ts +13 -0
  240. package/build/v4/index.d.ts.map +1 -0
  241. package/build/v4/index.js +18 -0
  242. package/build/v4/index.js.map +1 -0
  243. package/package.json +4 -4
  244. package/resource/package.nls.cs.json +12 -14
  245. package/resource/package.nls.de.json +13 -15
  246. package/resource/package.nls.es.json +12 -14
  247. package/resource/package.nls.fr.json +12 -14
  248. package/resource/package.nls.it.json +13 -15
  249. package/resource/package.nls.ja.json +12 -14
  250. package/resource/package.nls.json +10 -13
  251. package/resource/package.nls.ko.json +12 -14
  252. package/resource/package.nls.pl.json +13 -15
  253. package/resource/package.nls.pt-BR.json +12 -14
  254. package/resource/package.nls.ru.json +13 -15
  255. package/resource/package.nls.tr.json +14 -16
  256. package/resource/package.nls.zh-Hans.json +12 -14
  257. package/resource/package.nls.zh-Hant.json +24 -26
  258. package/resource/yaml-schema/v1.12/yaml.schema.json +2132 -0
  259. package/resource/yaml-schema/v1.13/yaml.schema.json +2193 -0
  260. package/resource/yaml-schema/yaml.schema.json +124 -2
  261. package/templates/fallback/common.zip +0 -0
  262. package/templates/fallback/csharp.zip +0 -0
  263. package/templates/fallback/js.zip +0 -0
  264. package/templates/fallback/python.zip +0 -0
  265. package/templates/fallback/ts.zip +0 -0
  266. package/templates/metadata.zip +0 -0
  267. package/templates/ui/tdpNode.json +1 -2
  268. package/templates/ui/wizardNode.json +1 -2
  269. package/templates/v4/floor.json +3 -0
  270. package/templates/v4/templates.zip +0 -0
  271. package/build/core/middleware/projectMigratorV3.d.ts +0 -39
  272. package/build/core/middleware/projectMigratorV3.d.ts.map +0 -1
  273. package/build/core/middleware/projectMigratorV3.js +0 -694
  274. package/build/core/middleware/projectMigratorV3.js.map +0 -1
  275. package/build/core/middleware/projectVersionChecker.d.ts +0 -3
  276. package/build/core/middleware/projectVersionChecker.d.ts.map +0 -1
  277. package/build/core/middleware/projectVersionChecker.js +0 -60
  278. package/build/core/middleware/projectVersionChecker.js.map +0 -1
  279. package/build/core/middleware/types.d.ts +0 -9
  280. package/build/core/middleware/types.d.ts.map +0 -1
  281. package/build/core/middleware/types.js.map +0 -1
  282. package/build/core/middleware/utils/MigrationUtils.d.ts +0 -13
  283. package/build/core/middleware/utils/MigrationUtils.d.ts.map +0 -1
  284. package/build/core/middleware/utils/MigrationUtils.js +0 -212
  285. package/build/core/middleware/utils/MigrationUtils.js.map +0 -1
  286. package/build/core/middleware/utils/appYmlGenerator.d.ts +0 -34
  287. package/build/core/middleware/utils/appYmlGenerator.d.ts.map +0 -1
  288. package/build/core/middleware/utils/appYmlGenerator.js +0 -158
  289. package/build/core/middleware/utils/appYmlGenerator.js.map +0 -1
  290. package/build/core/middleware/utils/debug/appLocalYmlGenerator.d.ts +0 -65
  291. package/build/core/middleware/utils/debug/appLocalYmlGenerator.d.ts.map +0 -1
  292. package/build/core/middleware/utils/debug/appLocalYmlGenerator.js +0 -61
  293. package/build/core/middleware/utils/debug/appLocalYmlGenerator.js.map +0 -1
  294. package/build/core/middleware/utils/debug/constants.d.ts +0 -20
  295. package/build/core/middleware/utils/debug/constants.d.ts.map +0 -1
  296. package/build/core/middleware/utils/debug/constants.js +0 -28
  297. package/build/core/middleware/utils/debug/constants.js.map +0 -1
  298. package/build/core/middleware/utils/debug/debugMigrationContext.d.ts +0 -14
  299. package/build/core/middleware/utils/debug/debugMigrationContext.d.ts.map +0 -1
  300. package/build/core/middleware/utils/debug/debugMigrationContext.js +0 -23
  301. package/build/core/middleware/utils/debug/debugMigrationContext.js.map +0 -1
  302. package/build/core/middleware/utils/debug/debugV3MigrationUtils.d.ts +0 -37
  303. package/build/core/middleware/utils/debug/debugV3MigrationUtils.d.ts.map +0 -1
  304. package/build/core/middleware/utils/debug/debugV3MigrationUtils.js +0 -291
  305. package/build/core/middleware/utils/debug/debugV3MigrationUtils.js.map +0 -1
  306. package/build/core/middleware/utils/debug/taskMigrator.d.ts +0 -22
  307. package/build/core/middleware/utils/debug/taskMigrator.d.ts.map +0 -1
  308. package/build/core/middleware/utils/debug/taskMigrator.js +0 -935
  309. package/build/core/middleware/utils/debug/taskMigrator.js.map +0 -1
  310. package/build/core/middleware/utils/migrationContext.d.ts +0 -32
  311. package/build/core/middleware/utils/migrationContext.d.ts.map +0 -1
  312. package/build/core/middleware/utils/migrationContext.js +0 -104
  313. package/build/core/middleware/utils/migrationContext.js.map +0 -1
  314. /package/build/{core/middleware → component/generator/openPlugin}/types.js +0 -0
@@ -14,7 +14,7 @@
14
14
  "version": {
15
15
  "type": "string",
16
16
  "description": "The version of the yaml file schema",
17
- "const": "v1.11"
17
+ "const": "v1.13"
18
18
  },
19
19
  "additionalMetadata": {
20
20
  "type": "object",
@@ -81,9 +81,11 @@
81
81
  { "$ref": "#/definitions/apiKeyUpdate"},
82
82
  { "$ref": "#/definitions/oauthRegister"},
83
83
  { "$ref": "#/definitions/oauthUpdate"},
84
+ { "$ref": "#/definitions/dcrRegister"},
84
85
  { "$ref": "#/definitions/devChannelCreate"},
85
86
  { "$ref": "#/definitions/devChannelInstallApp"},
86
- { "$ref": "#/definitions/typeSpecCompile"}
87
+ { "$ref": "#/definitions/typeSpecCompile"},
88
+ { "$ref": "#/definitions/copilotAgentPublish"}
87
89
  ]
88
90
  }
89
91
  },
@@ -1944,6 +1946,66 @@
1944
1946
  }
1945
1947
  }
1946
1948
  },
1949
+ "dcrRegister": {
1950
+ "type": "object",
1951
+ "additionalProperties": false,
1952
+ "description": "Create a Dynamic Client Registration (DCR) configuration.",
1953
+ "required": ["uses", "with", "writeToEnvironmentFile"],
1954
+ "properties": {
1955
+ "uses": {
1956
+ "type": "string",
1957
+ "description": "Register a DCR configuration.",
1958
+ "const": "dcr/register"
1959
+ },
1960
+ "with": {
1961
+ "type": "object",
1962
+ "additionalProperties": false,
1963
+ "description": "Parameters for this action",
1964
+ "required": ["name", "wellKnownAuthorizationServer"],
1965
+ "properties": {
1966
+ "name": {
1967
+ "type": "string",
1968
+ "description": "The display name of the DCR configuration. Becomes the clientName sent during RFC 7591 registration. Max 128 characters."
1969
+ },
1970
+ "appId": {
1971
+ "type": "string",
1972
+ "description": "The Teams app id associated with this configuration. Only takes effect when applicableToApps is SpecificApp."
1973
+ },
1974
+ "wellKnownAuthorizationServer": {
1975
+ "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."
1977
+ },
1978
+ "targetUrlsShouldStartWith": {
1979
+ "type": "array",
1980
+ "description": "Outbound URL allowlist. TGS only allows this configuration to authorize calls whose destination URL starts with one of these prefixes.",
1981
+ "items": { "type": "string" }
1982
+ },
1983
+ "applicableToApps": {
1984
+ "type": "string",
1985
+ "description": "Which app can use this DCR configuration. Default is \"AnyApp\".",
1986
+ "enum": ["SpecificApp", "AnyApp"]
1987
+ },
1988
+ "targetAudience": {
1989
+ "type": "string",
1990
+ "description": "Which tenant can use this DCR configuration. Default is \"HomeTenant\".",
1991
+ "enum": ["HomeTenant", "AnyTenant"]
1992
+ }
1993
+ }
1994
+ },
1995
+ "writeToEnvironmentFile": {
1996
+ "type": "object",
1997
+ "additionalProperties": false,
1998
+ "description": "Write environment variables to environment file",
1999
+ "required": ["configurationId"],
2000
+ "properties": {
2001
+ "configurationId": {
2002
+ "description": "Required. The configuration id of the created DCR registration.",
2003
+ "$ref": "#/definitions/envVarName"
2004
+ }
2005
+ }
2006
+ }
2007
+ }
2008
+ },
1947
2009
  "devChannelCreate": {
1948
2010
  "type": "object",
1949
2011
  "additionalProperties": false,
@@ -2066,6 +2128,66 @@
2066
2128
  }
2067
2129
  }
2068
2130
  }
2131
+ },
2132
+ "copilotAgentPublish": {
2133
+ "type": "object",
2134
+ "additionalProperties": false,
2135
+ "description": "Publish Copilot agent to Microsoft Admin Center. Refer to https://aka.ms/teamsfx-actions/copilotagent-publish for more details.",
2136
+ "required": ["uses", "with"],
2137
+ "properties": {
2138
+ "name": {
2139
+ "type": "string",
2140
+ "description": "An optional name of this action."
2141
+ },
2142
+ "env": {
2143
+ "type": "object",
2144
+ "description": "Define environment variables for this action.",
2145
+ "additionalProperties": {
2146
+ "type": "string"
2147
+ }
2148
+ },
2149
+ "uses": {
2150
+ "type": "string",
2151
+ "description": "Publish Copilot agent to Microsoft Admin Center. Refer to https://aka.ms/teamsfx-actions/copilotagent-publish for more details.",
2152
+ "const": "copilotAgent/publish"
2153
+ },
2154
+ "with": {
2155
+ "type": "object",
2156
+ "additionalProperties": false,
2157
+ "description": "parameters for this action",
2158
+ "required": ["appPackagePath"],
2159
+ "properties": {
2160
+ "appPackagePath": {
2161
+ "type": "string",
2162
+ "description": "Path to app package to be published."
2163
+ },
2164
+ "scope": {
2165
+ "type": "string",
2166
+ "description": "Scope of the agent. 'personal' is only visible to the owners. 'shared' can be visible to other users in the tenant. 'tenant' is visible to all users in the tenant. Default is 'personal'."
2167
+ }
2168
+ }
2169
+ },
2170
+ "writeToEnvironmentFile": {
2171
+ "type": "object",
2172
+ "additionalProperties": false,
2173
+ "description": "Write environment variables to environment file",
2174
+ "required": ["titleId", "appId"],
2175
+ "properties": {
2176
+ "titleId": {
2177
+ "description": "Required. The title ID of the published agent.",
2178
+ "$ref": "#/definitions/envVarName"
2179
+ },
2180
+ "appId": {
2181
+ "description": "Required. The app ID of the published agent.",
2182
+ "$ref": "#/definitions/envVarName"
2183
+ },
2184
+ "shareLink": {
2185
+ "description": "Optional. The share link of the app.",
2186
+ "$ref": "#/definitions/envVarName"
2187
+ }
2188
+ }
2189
+ }
2190
+ }
2069
2191
  }
2070
2192
  }
2071
2193
  }
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -112,8 +112,7 @@
112
112
  "id": "mcp",
113
113
  "label": "template.createProjectQuestion.mcpForDa.label",
114
114
  "detail": "template.createProjectQuestion.mcpForDa.detail",
115
- "data": "declarative-agent-with-action-from-mcp",
116
- "featureFlag": "TEAMSFX_MCP_FOR_DA"
115
+ "data": "declarative-agent-with-action-from-mcp"
117
116
  }
118
117
  ]
119
118
  },
@@ -134,8 +134,7 @@
134
134
  "id": "mcp",
135
135
  "label": "template.createProjectQuestion.mcpForDa.label",
136
136
  "detail": "template.createProjectQuestion.mcpForDa.detail",
137
- "data": "declarative-agent-with-action-from-mcp",
138
- "featureFlag": "TEAMSFX_MCP_FOR_DA"
137
+ "data": "declarative-agent-with-action-from-mcp"
139
138
  }
140
139
  ]
141
140
  },
@@ -0,0 +1,3 @@
1
+ {
2
+ "version": "6.10.2-alpha.1673f8d0ac.0"
3
+ }
Binary file
@@ -1,39 +0,0 @@
1
- /**
2
- * @author xzf0587 <zhaofengxu@microsoft.com>
3
- */
4
- import { Middleware } from "@feathersjs/hooks/lib";
5
- import { CoreHookContext } from "../types";
6
- import { VersionForMigration } from "./types";
7
- import { MigrationContext } from "./utils/migrationContext";
8
- export declare const learnMoreLink = "https://aka.ms/teams-toolkit-5.0-upgrade";
9
- export declare const errorNames: {
10
- manifestTemplateNotExist: string;
11
- manifestTemplateInvalid: string;
12
- aadManifestTemplateNotExist: string;
13
- };
14
- export declare const moreInfoButton: () => string;
15
- type Migration = (context: MigrationContext) => Promise<void>;
16
- export declare const subMigrations: Array<Migration>;
17
- export declare const ProjectMigratorMWV3: Middleware;
18
- export declare function wrapRunMigration(context: MigrationContext, exec: Migration): Promise<void>;
19
- export declare function buildErrorMessage(error: any, step?: string): string;
20
- export declare function rollbackMigration(context: MigrationContext): Promise<void>;
21
- export declare function migrate(context: MigrationContext): Promise<void>;
22
- export declare function preMigration(context: MigrationContext): Promise<void>;
23
- export declare function checkVersionForMigration(ctx: CoreHookContext): Promise<VersionForMigration>;
24
- export declare function generateAppYml(context: MigrationContext): Promise<void>;
25
- export declare function updateLaunchJson(context: MigrationContext): Promise<void>;
26
- export declare function isSPFxProject(projectSettings?: any): boolean;
27
- export declare function manifestsMigration(context: MigrationContext): Promise<void>;
28
- export declare function azureParameterMigration(context: MigrationContext): Promise<void>;
29
- export declare function showNotification(ctx: CoreHookContext, versionForMigration: VersionForMigration): Promise<boolean>;
30
- export declare function configsMigration(context: MigrationContext): Promise<void>;
31
- export declare function statesMigration(context: MigrationContext): Promise<void>;
32
- export declare function userdataMigration(context: MigrationContext): Promise<void>;
33
- export declare function debugMigration(context: MigrationContext): Promise<void>;
34
- export declare function checkapimPluginExists(pjSettings: any): boolean;
35
- export declare function generateApimPluginEnvContent(context: MigrationContext): Promise<void>;
36
- export declare function checkActiveResourcePlugins(projectPath: string): Promise<boolean>;
37
- export declare function updateGitignore(context: MigrationContext): Promise<void>;
38
- export {};
39
- //# sourceMappingURL=projectMigratorV3.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"projectMigratorV3.d.ts","sourceRoot":"","sources":["../../../src/core/middleware/projectMigratorV3.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAgB,MAAM,uBAAuB,CAAC;AA+BjE,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAE3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAoC9C,OAAO,EAAE,gBAAgB,EAAgB,MAAM,0BAA0B,CAAC;AA+D1E,eAAO,MAAM,aAAa,6CAA6C,CAAC;AAGxE,eAAO,MAAM,UAAU;;;;CAItB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,MAAM,MAAyD,CAAC;AAO7F,KAAK,SAAS,GAAG,CAAC,OAAO,EAAE,gBAAgB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;AAC9D,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,SAAS,CAY1C,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,UA6CjC,CAAC;AAEF,wBAAsB,gBAAgB,CAAC,OAAO,EAAE,gBAAgB,EAAE,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,CAwBhG;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAUnE;AAED,wBAAsB,iBAAiB,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAIhF;AAWD,wBAAsB,OAAO,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAKtE;AAED,wBAAsB,YAAY,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAE3E;AAED,wBAAsB,wBAAwB,CAAC,GAAG,EAAE,eAAe,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAWjG;AAED,wBAAsB,cAAc,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAgB7E;AAED,wBAAsB,gBAAgB,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAwD/E;AAUD,wBAAgB,aAAa,CAAC,eAAe,CAAC,EAAE,GAAG,GAAG,OAAO,CAO5D;AACD,wBAAsB,kBAAkB,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CA8GjF;AAED,wBAAsB,uBAAuB,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CA6BtF;AAED,wBAAsB,gBAAgB,CACpC,GAAG,EAAE,eAAe,EACpB,mBAAmB,EAAE,mBAAmB,GACvC,OAAO,CAAC,OAAO,CAAC,CAkBlB;AAmHD,wBAAsB,gBAAgB,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAmE/E;AAED,wBAAsB,eAAe,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAqD9E;AAED,wBAAsB,iBAAiB,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAyBhF;AAED,wBAAsB,cAAc,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAiE7E;AAED,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,GAAG,GAAG,OAAO,CAQ9D;AAED,wBAAsB,4BAA4B,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAyC3F;AAED,wBAAsB,0BAA0B,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAkBtF;AAED,wBAAsB,eAAe,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAiB9E"}