@microsoft/teamsfx-core 2.0.4-alpha.bdda88800.0 → 2.0.4-alpha.ceeb9e1b9.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 (674) hide show
  1. package/build/common/constants.d.ts +1 -0
  2. package/build/common/constants.d.ts.map +1 -1
  3. package/build/common/constants.js +1 -0
  4. package/build/common/constants.js.map +1 -1
  5. package/build/common/deps-checker/checkerFactory.d.ts +1 -2
  6. package/build/common/deps-checker/checkerFactory.d.ts.map +1 -1
  7. package/build/common/deps-checker/checkerFactory.js +2 -2
  8. package/build/common/deps-checker/checkerFactory.js.map +1 -1
  9. package/build/common/deps-checker/depsLogger.d.ts +14 -14
  10. package/build/common/deps-checker/depsLogger.d.ts.map +1 -1
  11. package/build/common/deps-checker/depsLogger.js +7 -21
  12. package/build/common/deps-checker/depsLogger.js.map +1 -1
  13. package/build/common/deps-checker/internal/dotnetChecker.d.ts.map +1 -1
  14. package/build/common/deps-checker/internal/dotnetChecker.js +42 -37
  15. package/build/common/deps-checker/internal/dotnetChecker.js.map +1 -1
  16. package/build/common/deps-checker/internal/funcToolChecker.d.ts.map +1 -1
  17. package/build/common/deps-checker/internal/funcToolChecker.js +2 -2
  18. package/build/common/deps-checker/internal/funcToolChecker.js.map +1 -1
  19. package/build/common/deps-checker/internal/nodeChecker.d.ts.map +1 -1
  20. package/build/common/deps-checker/internal/nodeChecker.js +8 -8
  21. package/build/common/deps-checker/internal/nodeChecker.js.map +1 -1
  22. package/build/common/deps-checker/internal/vxTestAppChecker.js +1 -1
  23. package/build/common/deps-checker/internal/vxTestAppChecker.js.map +1 -1
  24. package/build/common/deps-checker/util/cpUtils.d.ts +1 -1
  25. package/build/common/deps-checker/util/cpUtils.d.ts.map +1 -1
  26. package/build/common/deps-checker/util/cpUtils.js +5 -5
  27. package/build/common/deps-checker/util/cpUtils.js.map +1 -1
  28. package/build/common/deps-checker/util/fileHelper.d.ts.map +1 -1
  29. package/build/common/deps-checker/util/fileHelper.js +2 -0
  30. package/build/common/deps-checker/util/fileHelper.js.map +1 -1
  31. package/build/common/deps-checker/util/progressIndicator.js +2 -2
  32. package/build/common/deps-checker/util/progressIndicator.js.map +1 -1
  33. package/build/common/featureFlags.d.ts +1 -0
  34. package/build/common/featureFlags.d.ts.map +1 -1
  35. package/build/common/featureFlags.js +5 -1
  36. package/build/common/featureFlags.js.map +1 -1
  37. package/build/common/jsonUtils.d.ts.map +1 -1
  38. package/build/common/jsonUtils.js +2 -0
  39. package/build/common/jsonUtils.js.map +1 -1
  40. package/build/common/local/localCertificateManager.d.ts.map +1 -1
  41. package/build/common/local/localCertificateManager.js +4 -1
  42. package/build/common/local/localCertificateManager.js.map +1 -1
  43. package/build/common/local/packageJsonHelper.d.ts.map +1 -1
  44. package/build/common/local/packageJsonHelper.js +1 -0
  45. package/build/common/local/packageJsonHelper.js.map +1 -1
  46. package/build/common/local/portChecker.js.map +1 -1
  47. package/build/common/m365/launchHelper.d.ts +2 -2
  48. package/build/common/m365/launchHelper.d.ts.map +1 -1
  49. package/build/common/m365/launchHelper.js +24 -6
  50. package/build/common/m365/launchHelper.js.map +1 -1
  51. package/build/common/m365/packageService.d.ts.map +1 -1
  52. package/build/common/m365/packageService.js +52 -13
  53. package/build/common/m365/packageService.js.map +1 -1
  54. package/build/common/projectSettingsHelper.d.ts.map +1 -1
  55. package/build/common/projectSettingsHelper.js +1 -0
  56. package/build/common/projectSettingsHelper.js.map +1 -1
  57. package/build/common/samples.d.ts +13 -5
  58. package/build/common/samples.d.ts.map +1 -1
  59. package/build/common/samples.js +60 -38
  60. package/build/common/samples.js.map +1 -1
  61. package/build/common/spec-parser/adaptiveCardGenerator.d.ts +5 -0
  62. package/build/common/spec-parser/adaptiveCardGenerator.d.ts.map +1 -0
  63. package/build/common/spec-parser/adaptiveCardGenerator.js +120 -0
  64. package/build/common/spec-parser/adaptiveCardGenerator.js.map +1 -0
  65. package/build/common/spec-parser/constants.d.ts +19 -1
  66. package/build/common/spec-parser/constants.d.ts.map +1 -1
  67. package/build/common/spec-parser/constants.js +43 -1
  68. package/build/common/spec-parser/constants.js.map +1 -1
  69. package/build/common/spec-parser/interfaces.d.ts +72 -14
  70. package/build/common/spec-parser/interfaces.d.ts.map +1 -1
  71. package/build/common/spec-parser/interfaces.js +21 -10
  72. package/build/common/spec-parser/interfaces.js.map +1 -1
  73. package/build/common/spec-parser/manifestUpdater.d.ts +6 -0
  74. package/build/common/spec-parser/manifestUpdater.d.ts.map +1 -0
  75. package/build/common/spec-parser/manifestUpdater.js +119 -0
  76. package/build/common/spec-parser/manifestUpdater.js.map +1 -0
  77. package/build/common/spec-parser/specFilter.d.ts +3 -0
  78. package/build/common/spec-parser/specFilter.d.ts.map +1 -0
  79. package/build/common/spec-parser/specFilter.js +40 -0
  80. package/build/common/spec-parser/specFilter.js.map +1 -0
  81. package/build/common/spec-parser/specParser.d.ts +15 -5
  82. package/build/common/spec-parser/specParser.d.ts.map +1 -1
  83. package/build/common/spec-parser/specParser.js +183 -34
  84. package/build/common/spec-parser/specParser.js.map +1 -1
  85. package/build/common/spec-parser/utils.d.ts +28 -0
  86. package/build/common/spec-parser/utils.d.ts.map +1 -0
  87. package/build/common/spec-parser/utils.js +242 -0
  88. package/build/common/spec-parser/utils.js.map +1 -0
  89. package/build/common/telemetry.d.ts +7 -5
  90. package/build/common/telemetry.d.ts.map +1 -1
  91. package/build/common/telemetry.js +40 -15
  92. package/build/common/telemetry.js.map +1 -1
  93. package/build/common/tools.js +2 -2
  94. package/build/common/tools.js.map +1 -1
  95. package/build/common/utils.d.ts +1 -0
  96. package/build/common/utils.d.ts.map +1 -1
  97. package/build/common/utils.js +5 -1
  98. package/build/common/utils.js.map +1 -1
  99. package/build/component/configManager/constant.d.ts.map +1 -1
  100. package/build/component/configManager/constant.js +4 -2
  101. package/build/component/configManager/constant.js.map +1 -1
  102. package/build/component/configManager/interface.d.ts +5 -1
  103. package/build/component/configManager/interface.d.ts.map +1 -1
  104. package/build/component/configManager/interface.js +2 -3
  105. package/build/component/configManager/interface.js.map +1 -1
  106. package/build/component/configManager/lifecycle.d.ts +1 -3
  107. package/build/component/configManager/lifecycle.d.ts.map +1 -1
  108. package/build/component/configManager/lifecycle.js +27 -53
  109. package/build/component/configManager/lifecycle.js.map +1 -1
  110. package/build/component/configManager/parser.d.ts.map +1 -1
  111. package/build/component/configManager/parser.js +17 -9
  112. package/build/component/configManager/parser.js.map +1 -1
  113. package/build/component/configManager/validator.d.ts +0 -3
  114. package/build/component/configManager/validator.d.ts.map +1 -1
  115. package/build/component/configManager/validator.js +4 -12
  116. package/build/component/configManager/validator.js.map +1 -1
  117. package/build/component/constants.d.ts +10 -0
  118. package/build/component/constants.d.ts.map +1 -1
  119. package/build/component/constants.js +10 -0
  120. package/build/component/constants.js.map +1 -1
  121. package/build/component/coordinator/index.d.ts +12 -8
  122. package/build/component/coordinator/index.d.ts.map +1 -1
  123. package/build/component/coordinator/index.js +85 -67
  124. package/build/component/coordinator/index.js.map +1 -1
  125. package/build/component/coordinator/summary.d.ts.map +1 -1
  126. package/build/component/coordinator/summary.js +4 -1
  127. package/build/component/coordinator/summary.js.map +1 -1
  128. package/build/component/developerPortalScaffoldUtils.d.ts +1 -1
  129. package/build/component/developerPortalScaffoldUtils.d.ts.map +1 -1
  130. package/build/component/developerPortalScaffoldUtils.js +7 -7
  131. package/build/component/developerPortalScaffoldUtils.js.map +1 -1
  132. package/build/component/driver/aad/create.d.ts +1 -0
  133. package/build/component/driver/aad/create.d.ts.map +1 -1
  134. package/build/component/driver/aad/create.js +2 -5
  135. package/build/component/driver/aad/create.js.map +1 -1
  136. package/build/component/driver/aad/error/aadManifestError.d.ts +3 -0
  137. package/build/component/driver/aad/error/aadManifestError.d.ts.map +1 -1
  138. package/build/component/driver/aad/error/aadManifestError.js +14 -2
  139. package/build/component/driver/aad/error/aadManifestError.js.map +1 -1
  140. package/build/component/driver/aad/interface/AADApplication.js +1 -1
  141. package/build/component/driver/aad/interface/AADApplication.js.map +1 -1
  142. package/build/component/driver/aad/interface/AADManifest.js +1 -1
  143. package/build/component/driver/aad/interface/AADManifest.js.map +1 -1
  144. package/build/component/driver/aad/update.d.ts +1 -0
  145. package/build/component/driver/aad/update.d.ts.map +1 -1
  146. package/build/component/driver/aad/update.js +2 -5
  147. package/build/component/driver/aad/update.js.map +1 -1
  148. package/build/component/driver/aad/utility/aadAppClient.d.ts +1 -1
  149. package/build/component/driver/aad/utility/aadAppClient.d.ts.map +1 -1
  150. package/build/component/driver/aad/utility/aadAppClient.js +58 -13
  151. package/build/component/driver/aad/utility/aadAppClient.js.map +1 -1
  152. package/build/component/driver/aad/utility/aadManifestHelper.js +1 -1
  153. package/build/component/driver/aad/utility/aadManifestHelper.js.map +1 -1
  154. package/build/component/driver/aad/utility/buildAadManifest.js +1 -1
  155. package/build/component/driver/aad/utility/buildAadManifest.js.map +1 -1
  156. package/build/component/driver/aad/utility/constants.d.ts +3 -0
  157. package/build/component/driver/aad/utility/constants.d.ts.map +1 -1
  158. package/build/component/driver/aad/utility/constants.js +4 -1
  159. package/build/component/driver/aad/utility/constants.js.map +1 -1
  160. package/build/component/driver/add/addWebPart.d.ts.map +1 -1
  161. package/build/component/driver/add/addWebPart.js +10 -1
  162. package/build/component/driver/add/addWebPart.js.map +1 -1
  163. package/build/component/driver/arm/deploy.d.ts +1 -3
  164. package/build/component/driver/arm/deploy.d.ts.map +1 -1
  165. package/build/component/driver/arm/deploy.js +1 -14
  166. package/build/component/driver/arm/deploy.js.map +1 -1
  167. package/build/component/driver/arm/deployImpl.d.ts +2 -1
  168. package/build/component/driver/arm/deployImpl.d.ts.map +1 -1
  169. package/build/component/driver/arm/deployImpl.js +15 -0
  170. package/build/component/driver/arm/deployImpl.js.map +1 -1
  171. package/build/component/driver/arm/util/bicepChecker.d.ts.map +1 -1
  172. package/build/component/driver/arm/util/bicepChecker.js +9 -6
  173. package/build/component/driver/arm/util/bicepChecker.js.map +1 -1
  174. package/build/component/driver/arm/util/handleError.js.map +1 -1
  175. package/build/component/driver/arm/validator.d.ts.map +1 -1
  176. package/build/component/driver/arm/validator.js +3 -3
  177. package/build/component/driver/arm/validator.js.map +1 -1
  178. package/build/component/driver/botAadApp/create.d.ts +1 -0
  179. package/build/component/driver/botAadApp/create.d.ts.map +1 -1
  180. package/build/component/driver/botAadApp/create.js +4 -7
  181. package/build/component/driver/botAadApp/create.js.map +1 -1
  182. package/build/component/driver/botFramework/createOrUpdateBot.d.ts +1 -0
  183. package/build/component/driver/botFramework/createOrUpdateBot.d.ts.map +1 -1
  184. package/build/component/driver/botFramework/createOrUpdateBot.js +8 -12
  185. package/build/component/driver/botFramework/createOrUpdateBot.js.map +1 -1
  186. package/build/component/driver/deploy/azure/azureAppServiceDeployDriver.d.ts +0 -2
  187. package/build/component/driver/deploy/azure/azureAppServiceDeployDriver.d.ts.map +1 -1
  188. package/build/component/driver/deploy/azure/azureAppServiceDeployDriver.js +0 -10
  189. package/build/component/driver/deploy/azure/azureAppServiceDeployDriver.js.map +1 -1
  190. package/build/component/driver/deploy/azure/azureFunctionDeployDriver.d.ts +0 -2
  191. package/build/component/driver/deploy/azure/azureFunctionDeployDriver.d.ts.map +1 -1
  192. package/build/component/driver/deploy/azure/azureFunctionDeployDriver.js +0 -10
  193. package/build/component/driver/deploy/azure/azureFunctionDeployDriver.js.map +1 -1
  194. package/build/component/driver/deploy/azure/azureStorageDeployDriver.d.ts +0 -2
  195. package/build/component/driver/deploy/azure/azureStorageDeployDriver.d.ts.map +1 -1
  196. package/build/component/driver/deploy/azure/azureStorageDeployDriver.js +17 -19
  197. package/build/component/driver/deploy/azure/azureStorageDeployDriver.js.map +1 -1
  198. package/build/component/driver/deploy/azure/azureStorageStaticWebsiteConfigDriver.d.ts.map +1 -1
  199. package/build/component/driver/deploy/azure/azureStorageStaticWebsiteConfigDriver.js +11 -4
  200. package/build/component/driver/deploy/azure/azureStorageStaticWebsiteConfigDriver.js.map +1 -1
  201. package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.d.ts.map +1 -1
  202. package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js +29 -16
  203. package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js.map +1 -1
  204. package/build/component/driver/deploy/azure/impl/azureDeployImpl.d.ts.map +1 -1
  205. package/build/component/driver/deploy/azure/impl/azureDeployImpl.js +18 -15
  206. package/build/component/driver/deploy/azure/impl/azureDeployImpl.js.map +1 -1
  207. package/build/component/driver/deploy/azure/impl/baseDeployImpl.d.ts.map +1 -1
  208. package/build/component/driver/deploy/azure/impl/baseDeployImpl.js +4 -4
  209. package/build/component/driver/deploy/azure/impl/baseDeployImpl.js.map +1 -1
  210. package/build/component/driver/deploy/spfx/deployDriver.d.ts +1 -0
  211. package/build/component/driver/deploy/spfx/deployDriver.d.ts.map +1 -1
  212. package/build/component/driver/deploy/spfx/deployDriver.js +27 -5
  213. package/build/component/driver/deploy/spfx/deployDriver.js.map +1 -1
  214. package/build/component/driver/devTool/installDriver.d.ts +1 -0
  215. package/build/component/driver/devTool/installDriver.d.ts.map +1 -1
  216. package/build/component/driver/devTool/installDriver.js +33 -11
  217. package/build/component/driver/devTool/installDriver.js.map +1 -1
  218. package/build/component/driver/file/createOrUpdateEnvironmentFile.d.ts +1 -0
  219. package/build/component/driver/file/createOrUpdateEnvironmentFile.d.ts.map +1 -1
  220. package/build/component/driver/file/createOrUpdateEnvironmentFile.js +12 -18
  221. package/build/component/driver/file/createOrUpdateEnvironmentFile.js.map +1 -1
  222. package/build/component/driver/file/createOrUpdateJsonFile.d.ts +1 -0
  223. package/build/component/driver/file/createOrUpdateJsonFile.d.ts.map +1 -1
  224. package/build/component/driver/file/createOrUpdateJsonFile.js +5 -11
  225. package/build/component/driver/file/createOrUpdateJsonFile.js.map +1 -1
  226. package/build/component/driver/interface/stepDriver.d.ts +2 -7
  227. package/build/component/driver/interface/stepDriver.d.ts.map +1 -1
  228. package/build/component/driver/m365/acquire.d.ts +1 -0
  229. package/build/component/driver/m365/acquire.d.ts.map +1 -1
  230. package/build/component/driver/m365/acquire.js +6 -12
  231. package/build/component/driver/m365/acquire.js.map +1 -1
  232. package/build/component/driver/script/baseBuildDriver.d.ts.map +1 -1
  233. package/build/component/driver/script/baseBuildDriver.js +1 -0
  234. package/build/component/driver/script/baseBuildDriver.js.map +1 -1
  235. package/build/component/driver/script/baseBuildStepDriver.d.ts +0 -2
  236. package/build/component/driver/script/baseBuildStepDriver.d.ts.map +1 -1
  237. package/build/component/driver/script/baseBuildStepDriver.js +0 -4
  238. package/build/component/driver/script/baseBuildStepDriver.js.map +1 -1
  239. package/build/component/driver/script/dotnetBuildDriver.d.ts +0 -2
  240. package/build/component/driver/script/dotnetBuildDriver.d.ts.map +1 -1
  241. package/build/component/driver/script/dotnetBuildDriver.js +0 -9
  242. package/build/component/driver/script/dotnetBuildDriver.js.map +1 -1
  243. package/build/component/driver/script/npmBuildDriver.d.ts +0 -2
  244. package/build/component/driver/script/npmBuildDriver.d.ts.map +1 -1
  245. package/build/component/driver/script/npmBuildDriver.js +0 -9
  246. package/build/component/driver/script/npmBuildDriver.js.map +1 -1
  247. package/build/component/driver/script/npxBuildDriver.d.ts +0 -2
  248. package/build/component/driver/script/npxBuildDriver.d.ts.map +1 -1
  249. package/build/component/driver/script/npxBuildDriver.js +0 -9
  250. package/build/component/driver/script/npxBuildDriver.js.map +1 -1
  251. package/build/component/driver/script/scriptDriver.d.ts +10 -1
  252. package/build/component/driver/script/scriptDriver.d.ts.map +1 -1
  253. package/build/component/driver/script/scriptDriver.js +33 -30
  254. package/build/component/driver/script/scriptDriver.js.map +1 -1
  255. package/build/component/driver/teamsApp/appStudio.d.ts.map +1 -1
  256. package/build/component/driver/teamsApp/appStudio.js +11 -11
  257. package/build/component/driver/teamsApp/appStudio.js.map +1 -1
  258. package/build/component/driver/teamsApp/clients/appStudioClient.d.ts +5 -5
  259. package/build/component/driver/teamsApp/clients/appStudioClient.d.ts.map +1 -1
  260. package/build/component/driver/teamsApp/clients/appStudioClient.js +31 -11
  261. package/build/component/driver/teamsApp/clients/appStudioClient.js.map +1 -1
  262. package/build/component/driver/teamsApp/clients/authSvcClient.d.ts.map +1 -1
  263. package/build/component/driver/teamsApp/clients/authSvcClient.js +2 -0
  264. package/build/component/driver/teamsApp/clients/authSvcClient.js.map +1 -1
  265. package/build/component/driver/teamsApp/configure.d.ts +1 -1
  266. package/build/component/driver/teamsApp/configure.d.ts.map +1 -1
  267. package/build/component/driver/teamsApp/configure.js +5 -23
  268. package/build/component/driver/teamsApp/configure.js.map +1 -1
  269. package/build/component/driver/teamsApp/constants.d.ts +0 -1
  270. package/build/component/driver/teamsApp/constants.d.ts.map +1 -1
  271. package/build/component/driver/teamsApp/constants.js +1 -2
  272. package/build/component/driver/teamsApp/constants.js.map +1 -1
  273. package/build/component/driver/teamsApp/copyAppPackageToSPFx.d.ts +1 -2
  274. package/build/component/driver/teamsApp/copyAppPackageToSPFx.d.ts.map +1 -1
  275. package/build/component/driver/teamsApp/copyAppPackageToSPFx.js +4 -11
  276. package/build/component/driver/teamsApp/copyAppPackageToSPFx.js.map +1 -1
  277. package/build/component/driver/teamsApp/create.d.ts +1 -1
  278. package/build/component/driver/teamsApp/create.d.ts.map +1 -1
  279. package/build/component/driver/teamsApp/create.js +6 -11
  280. package/build/component/driver/teamsApp/create.js.map +1 -1
  281. package/build/component/driver/teamsApp/createAppPackage.d.ts +3 -3
  282. package/build/component/driver/teamsApp/createAppPackage.d.ts.map +1 -1
  283. package/build/component/driver/teamsApp/createAppPackage.js +43 -29
  284. package/build/component/driver/teamsApp/createAppPackage.js.map +1 -1
  285. package/build/component/driver/teamsApp/errors.d.ts.map +1 -1
  286. package/build/component/driver/teamsApp/errors.js +2 -0
  287. package/build/component/driver/teamsApp/errors.js.map +1 -1
  288. package/build/component/driver/teamsApp/interfaces/appdefinitions/messagingExtension.d.ts +2 -0
  289. package/build/component/driver/teamsApp/interfaces/appdefinitions/messagingExtension.d.ts.map +1 -1
  290. package/build/component/driver/teamsApp/interfaces/appdefinitions/messagingExtensionCommand.d.ts +1 -0
  291. package/build/component/driver/teamsApp/interfaces/appdefinitions/messagingExtensionCommand.d.ts.map +1 -1
  292. package/build/component/driver/teamsApp/publishAppPackage.d.ts +1 -1
  293. package/build/component/driver/teamsApp/publishAppPackage.d.ts.map +1 -1
  294. package/build/component/driver/teamsApp/publishAppPackage.js +4 -12
  295. package/build/component/driver/teamsApp/publishAppPackage.js.map +1 -1
  296. package/build/component/driver/teamsApp/results.d.ts.map +1 -1
  297. package/build/component/driver/teamsApp/results.js +2 -0
  298. package/build/component/driver/teamsApp/results.js.map +1 -1
  299. package/build/component/driver/teamsApp/utils/ManifestUtils.d.ts +6 -1
  300. package/build/component/driver/teamsApp/utils/ManifestUtils.d.ts.map +1 -1
  301. package/build/component/driver/teamsApp/utils/ManifestUtils.js +19 -2
  302. package/build/component/driver/teamsApp/utils/ManifestUtils.js.map +1 -1
  303. package/build/component/driver/teamsApp/utils/utils.d.ts +2 -3
  304. package/build/component/driver/teamsApp/utils/utils.d.ts.map +1 -1
  305. package/build/component/driver/teamsApp/utils/utils.js +21 -19
  306. package/build/component/driver/teamsApp/utils/utils.js.map +1 -1
  307. package/build/component/driver/teamsApp/validate.d.ts +1 -1
  308. package/build/component/driver/teamsApp/validate.d.ts.map +1 -1
  309. package/build/component/driver/teamsApp/validate.js +2 -10
  310. package/build/component/driver/teamsApp/validate.js.map +1 -1
  311. package/build/component/driver/teamsApp/validateAppPackage.d.ts +1 -1
  312. package/build/component/driver/teamsApp/validateAppPackage.d.ts.map +1 -1
  313. package/build/component/driver/teamsApp/validateAppPackage.js +22 -18
  314. package/build/component/driver/teamsApp/validateAppPackage.js.map +1 -1
  315. package/build/component/error/componentError.d.ts +2 -1
  316. package/build/component/error/componentError.d.ts.map +1 -1
  317. package/build/component/error/componentError.js +8 -4
  318. package/build/component/error/componentError.js.map +1 -1
  319. package/build/component/feature/collaboration.d.ts.map +1 -1
  320. package/build/component/feature/collaboration.js +53 -24
  321. package/build/component/feature/collaboration.js.map +1 -1
  322. package/build/component/feature/createAuthFiles.js.map +1 -1
  323. package/build/component/generator/copilotPlugin/generator.d.ts +7 -2
  324. package/build/component/generator/copilotPlugin/generator.d.ts.map +1 -1
  325. package/build/component/generator/copilotPlugin/generator.js +133 -25
  326. package/build/component/generator/copilotPlugin/generator.js.map +1 -1
  327. package/build/component/generator/copilotPlugin/helper.d.ts +12 -12
  328. package/build/component/generator/copilotPlugin/helper.d.ts.map +1 -1
  329. package/build/component/generator/copilotPlugin/helper.js +214 -28
  330. package/build/component/generator/copilotPlugin/helper.js.map +1 -1
  331. package/build/component/generator/error.d.ts +7 -1
  332. package/build/component/generator/error.d.ts.map +1 -1
  333. package/build/component/generator/error.js +15 -3
  334. package/build/component/generator/error.js.map +1 -1
  335. package/build/component/generator/generator.d.ts.map +1 -1
  336. package/build/component/generator/generator.js +31 -22
  337. package/build/component/generator/generator.js.map +1 -1
  338. package/build/component/generator/generatorAction.d.ts +2 -1
  339. package/build/component/generator/generatorAction.d.ts.map +1 -1
  340. package/build/component/generator/generatorAction.js +12 -5
  341. package/build/component/generator/generatorAction.js.map +1 -1
  342. package/build/component/generator/officeAddin/config/projectProperties.d.ts.map +1 -1
  343. package/build/component/generator/officeAddin/config/projectProperties.js +2 -0
  344. package/build/component/generator/officeAddin/config/projectProperties.js.map +1 -1
  345. package/build/component/generator/officeAddin/config/projectsJsonData.d.ts.map +1 -1
  346. package/build/component/generator/officeAddin/config/projectsJsonData.js +2 -0
  347. package/build/component/generator/officeAddin/config/projectsJsonData.js.map +1 -1
  348. package/build/component/generator/officeAddin/generator.d.ts.map +1 -1
  349. package/build/component/generator/officeAddin/generator.js +9 -1
  350. package/build/component/generator/officeAddin/generator.js.map +1 -1
  351. package/build/component/generator/officeAddin/helperMethods.d.ts.map +1 -1
  352. package/build/component/generator/officeAddin/helperMethods.js +11 -5
  353. package/build/component/generator/officeAddin/helperMethods.js.map +1 -1
  354. package/build/component/generator/spfx/depsChecker/generatorChecker.d.ts +1 -1
  355. package/build/component/generator/spfx/depsChecker/generatorChecker.d.ts.map +1 -1
  356. package/build/component/generator/spfx/depsChecker/generatorChecker.js +12 -12
  357. package/build/component/generator/spfx/depsChecker/generatorChecker.js.map +1 -1
  358. package/build/component/generator/spfx/depsChecker/yoChecker.d.ts +1 -1
  359. package/build/component/generator/spfx/depsChecker/yoChecker.d.ts.map +1 -1
  360. package/build/component/generator/spfx/depsChecker/yoChecker.js +10 -10
  361. package/build/component/generator/spfx/depsChecker/yoChecker.js.map +1 -1
  362. package/build/component/generator/spfx/spfxGenerator.d.ts.map +1 -1
  363. package/build/component/generator/spfx/spfxGenerator.js +16 -14
  364. package/build/component/generator/spfx/spfxGenerator.js.map +1 -1
  365. package/build/component/generator/spfx/utils/constants.d.ts +1 -0
  366. package/build/component/generator/spfx/utils/constants.d.ts.map +1 -1
  367. package/build/component/generator/spfx/utils/constants.js +2 -0
  368. package/build/component/generator/spfx/utils/constants.js.map +1 -1
  369. package/build/component/generator/spfx/utils/utils.js +3 -3
  370. package/build/component/generator/spfx/utils/utils.js.map +1 -1
  371. package/build/component/generator/utils.d.ts +12 -4
  372. package/build/component/generator/utils.d.ts.map +1 -1
  373. package/build/component/generator/utils.js +17 -16
  374. package/build/component/generator/utils.js.map +1 -1
  375. package/build/component/messages.d.ts +2 -3
  376. package/build/component/messages.d.ts.map +1 -1
  377. package/build/component/messages.js +3 -4
  378. package/build/component/messages.js.map +1 -1
  379. package/build/component/middleware/actionExecutionMW.d.ts +2 -2
  380. package/build/component/middleware/actionExecutionMW.d.ts.map +1 -1
  381. package/build/component/middleware/envMW.js +1 -1
  382. package/build/component/middleware/envMW.js.map +1 -1
  383. package/build/component/middleware/questionMW.d.ts +2 -2
  384. package/build/component/middleware/questionMW.d.ts.map +1 -1
  385. package/build/component/middleware/questionMW.js +7 -11
  386. package/build/component/middleware/questionMW.js.map +1 -1
  387. package/build/component/migrate.d.ts.map +1 -1
  388. package/build/component/migrate.js +2 -0
  389. package/build/component/migrate.js.map +1 -1
  390. package/build/component/provisionUtils.d.ts +3 -3
  391. package/build/component/provisionUtils.d.ts.map +1 -1
  392. package/build/component/provisionUtils.js +3 -3
  393. package/build/component/provisionUtils.js.map +1 -1
  394. package/build/component/resource/botService/appStudio/appStudioClient.d.ts.map +1 -1
  395. package/build/component/resource/botService/appStudio/appStudioClient.js +24 -2
  396. package/build/component/resource/botService/appStudio/appStudioClient.js.map +1 -1
  397. package/build/component/resource/botService/botRegistration/botFrameworkRegistration.d.ts +2 -2
  398. package/build/component/resource/botService/botRegistration/botFrameworkRegistration.d.ts.map +1 -1
  399. package/build/component/resource/botService/botRegistration/botFrameworkRegistration.js +6 -1
  400. package/build/component/resource/botService/botRegistration/botFrameworkRegistration.js.map +1 -1
  401. package/build/component/telemetry.d.ts.map +1 -1
  402. package/build/component/telemetry.js +3 -6
  403. package/build/component/telemetry.js.map +1 -1
  404. package/build/component/utils/ResourceGroupHelper.d.ts +2 -2
  405. package/build/component/utils/ResourceGroupHelper.d.ts.map +1 -1
  406. package/build/component/utils/ResourceGroupHelper.js +1 -4
  407. package/build/component/utils/ResourceGroupHelper.js.map +1 -1
  408. package/build/component/utils/azureResourceOperation.js +2 -2
  409. package/build/component/utils/azureResourceOperation.js.map +1 -1
  410. package/build/component/utils/charsetUtils.d.ts.map +1 -1
  411. package/build/component/utils/charsetUtils.js +5 -3
  412. package/build/component/utils/charsetUtils.js.map +1 -1
  413. package/build/component/utils/common.d.ts +1 -1
  414. package/build/component/utils/common.d.ts.map +1 -1
  415. package/build/component/utils/common.js +4 -5
  416. package/build/component/utils/common.js.map +1 -1
  417. package/build/component/utils/depsChecker/common.d.ts.map +1 -1
  418. package/build/component/utils/depsChecker/common.js +1 -1
  419. package/build/component/utils/depsChecker/common.js.map +1 -1
  420. package/build/component/utils/depsChecker/cpUtils.d.ts.map +1 -1
  421. package/build/component/utils/depsChecker/cpUtils.js +9 -5
  422. package/build/component/utils/depsChecker/cpUtils.js.map +1 -1
  423. package/build/component/utils/envUtil.d.ts.map +1 -1
  424. package/build/component/utils/envUtil.js +4 -2
  425. package/build/component/utils/envUtil.js.map +1 -1
  426. package/build/component/utils/metadataUtil.d.ts +3 -0
  427. package/build/component/utils/metadataUtil.d.ts.map +1 -1
  428. package/build/component/utils/metadataUtil.js +18 -4
  429. package/build/component/utils/metadataUtil.js.map +1 -1
  430. package/build/component/utils/pathUtils.d.ts.map +1 -1
  431. package/build/component/utils/pathUtils.js +2 -0
  432. package/build/component/utils/pathUtils.js.map +1 -1
  433. package/build/component/utils/teamsFxTelemetryReporter.d.ts.map +1 -1
  434. package/build/component/utils/teamsFxTelemetryReporter.js +3 -6
  435. package/build/component/utils/teamsFxTelemetryReporter.js.map +1 -1
  436. package/build/component/utils.js.map +1 -1
  437. package/build/core/FxCore.d.ts +44 -32
  438. package/build/core/FxCore.d.ts.map +1 -1
  439. package/build/core/FxCore.js +823 -63
  440. package/build/core/FxCore.js.map +1 -1
  441. package/build/core/collaborator.d.ts +1 -1
  442. package/build/core/collaborator.d.ts.map +1 -1
  443. package/build/core/collaborator.js +16 -10
  444. package/build/core/collaborator.js.map +1 -1
  445. package/build/core/error.d.ts +6 -0
  446. package/build/core/error.d.ts.map +1 -1
  447. package/build/core/error.js +23 -1
  448. package/build/core/error.js.map +1 -1
  449. package/build/core/globalVars.d.ts +16 -0
  450. package/build/core/globalVars.d.ts.map +1 -1
  451. package/build/core/globalVars.js +34 -1
  452. package/build/core/globalVars.js.map +1 -1
  453. package/build/core/index.js +1 -0
  454. package/build/core/index.js.map +1 -1
  455. package/build/core/middleware/concurrentLocker.d.ts.map +1 -1
  456. package/build/core/middleware/concurrentLocker.js +7 -3
  457. package/build/core/middleware/concurrentLocker.js.map +1 -1
  458. package/build/core/middleware/errorHandler.d.ts +2 -0
  459. package/build/core/middleware/errorHandler.d.ts.map +1 -1
  460. package/build/core/middleware/errorHandler.js +16 -25
  461. package/build/core/middleware/errorHandler.js.map +1 -1
  462. package/build/core/middleware/projectMigratorV3.d.ts +7 -1
  463. package/build/core/middleware/projectMigratorV3.d.ts.map +1 -1
  464. package/build/core/middleware/projectMigratorV3.js +35 -34
  465. package/build/core/middleware/projectMigratorV3.js.map +1 -1
  466. package/build/core/middleware/projectVersionChecker.js +8 -8
  467. package/build/core/middleware/projectVersionChecker.js.map +1 -1
  468. package/build/core/middleware/utils/appYmlGenerator.d.ts.map +1 -1
  469. package/build/core/middleware/utils/appYmlGenerator.js +2 -1
  470. package/build/core/middleware/utils/appYmlGenerator.js.map +1 -1
  471. package/build/core/middleware/utils/debug/appLocalYmlGenerator.d.ts.map +1 -1
  472. package/build/core/middleware/utils/debug/appLocalYmlGenerator.js +3 -2
  473. package/build/core/middleware/utils/debug/appLocalYmlGenerator.js.map +1 -1
  474. package/build/core/middleware/utils/debug/debugV3MigrationUtils.js.map +1 -1
  475. package/build/core/middleware/utils/debug/taskMigrator.d.ts.map +1 -1
  476. package/build/core/middleware/utils/debug/taskMigrator.js +33 -15
  477. package/build/core/middleware/utils/debug/taskMigrator.js.map +1 -1
  478. package/build/core/middleware/utils/migrationContext.d.ts +1 -0
  479. package/build/core/middleware/utils/migrationContext.d.ts.map +1 -1
  480. package/build/core/middleware/utils/migrationContext.js.map +1 -1
  481. package/build/core/middleware/utils/v3MigrationUtils.d.ts.map +1 -1
  482. package/build/core/middleware/utils/v3MigrationUtils.js +6 -2
  483. package/build/core/middleware/utils/v3MigrationUtils.js.map +1 -1
  484. package/build/error/arm.d.ts.map +1 -1
  485. package/build/error/arm.js +2 -0
  486. package/build/error/arm.js.map +1 -1
  487. package/build/error/azure.d.ts.map +1 -1
  488. package/build/error/azure.js +2 -0
  489. package/build/error/azure.js.map +1 -1
  490. package/build/error/common.d.ts +8 -2
  491. package/build/error/common.d.ts.map +1 -1
  492. package/build/error/common.js +129 -22
  493. package/build/error/common.js.map +1 -1
  494. package/build/error/deploy.d.ts.map +1 -1
  495. package/build/error/deploy.js +2 -0
  496. package/build/error/deploy.js.map +1 -1
  497. package/build/error/index.d.ts.map +1 -1
  498. package/build/error/index.js +2 -0
  499. package/build/error/index.js.map +1 -1
  500. package/build/error/m365.d.ts.map +1 -1
  501. package/build/error/m365.js +2 -0
  502. package/build/error/m365.js.map +1 -1
  503. package/build/error/script.d.ts.map +1 -1
  504. package/build/error/script.js +2 -0
  505. package/build/error/script.js.map +1 -1
  506. package/build/error/upgrade.d.ts.map +1 -1
  507. package/build/error/upgrade.js +2 -0
  508. package/build/error/upgrade.js.map +1 -1
  509. package/build/error/yml.d.ts.map +1 -1
  510. package/build/error/yml.js +2 -0
  511. package/build/error/yml.js.map +1 -1
  512. package/build/failpoint/index.d.ts.map +1 -1
  513. package/build/failpoint/index.js +2 -0
  514. package/build/failpoint/index.js.map +1 -1
  515. package/build/failpoint/marker.d.ts.map +1 -1
  516. package/build/failpoint/marker.js +2 -0
  517. package/build/failpoint/marker.js.map +1 -1
  518. package/build/failpoint/runtime.d.ts.map +1 -1
  519. package/build/failpoint/runtime.js +3 -4
  520. package/build/failpoint/runtime.js.map +1 -1
  521. package/build/index.d.ts +4 -1
  522. package/build/index.d.ts.map +1 -1
  523. package/build/index.js +5 -1
  524. package/build/index.js.map +1 -1
  525. package/build/question/constants.d.ts +4 -0
  526. package/build/question/constants.d.ts.map +1 -0
  527. package/build/question/constants.js +12 -0
  528. package/build/question/constants.js.map +1 -0
  529. package/build/question/create.d.ts +14 -15
  530. package/build/question/create.d.ts.map +1 -1
  531. package/build/question/create.js +465 -313
  532. package/build/question/create.js.map +1 -1
  533. package/build/question/generator.d.ts +4 -0
  534. package/build/question/generator.d.ts.map +1 -0
  535. package/build/question/generator.js +365 -0
  536. package/build/question/generator.js.map +1 -0
  537. package/build/question/index.d.ts +18 -28
  538. package/build/question/index.d.ts.map +1 -1
  539. package/build/question/index.js +18 -44
  540. package/build/question/index.js.map +1 -1
  541. package/build/question/inputs/CreateEnvInputs.d.ts +14 -0
  542. package/build/question/inputs/CreateEnvInputs.d.ts.map +1 -0
  543. package/build/question/inputs/CreateEnvInputs.js +5 -0
  544. package/build/question/inputs/CreateEnvInputs.js.map +1 -0
  545. package/build/question/inputs/CreateProjectInputs.d.ts +40 -0
  546. package/build/question/inputs/CreateProjectInputs.d.ts.map +1 -0
  547. package/build/question/inputs/CreateProjectInputs.js +5 -0
  548. package/build/question/inputs/CreateProjectInputs.js.map +1 -0
  549. package/build/question/inputs/CreateSampleProjectInputs.d.ts +12 -0
  550. package/build/question/inputs/CreateSampleProjectInputs.d.ts.map +1 -0
  551. package/build/question/inputs/CreateSampleProjectInputs.js +5 -0
  552. package/build/question/inputs/CreateSampleProjectInputs.js.map +1 -0
  553. package/build/question/inputs/DeployAadManifestInputs.d.ts +14 -0
  554. package/build/question/inputs/DeployAadManifestInputs.d.ts.map +1 -0
  555. package/build/question/inputs/DeployAadManifestInputs.js +5 -0
  556. package/build/question/inputs/DeployAadManifestInputs.js.map +1 -0
  557. package/build/question/inputs/PermissionGrantInputs.d.ts +18 -0
  558. package/build/question/inputs/PermissionGrantInputs.d.ts.map +1 -0
  559. package/build/question/inputs/PermissionGrantInputs.js +5 -0
  560. package/build/question/inputs/PermissionGrantInputs.js.map +1 -0
  561. package/build/question/inputs/PermissionListInputs.d.ts +16 -0
  562. package/build/question/inputs/PermissionListInputs.d.ts.map +1 -0
  563. package/build/question/inputs/PermissionListInputs.js +5 -0
  564. package/build/question/inputs/PermissionListInputs.js.map +1 -0
  565. package/build/question/inputs/PreviewTeamsAppInputs.d.ts +14 -0
  566. package/build/question/inputs/PreviewTeamsAppInputs.d.ts.map +1 -0
  567. package/build/question/inputs/PreviewTeamsAppInputs.js +5 -0
  568. package/build/question/inputs/PreviewTeamsAppInputs.js.map +1 -0
  569. package/build/question/inputs/SPFxAddWebpartInputs.d.ts +18 -0
  570. package/build/question/inputs/SPFxAddWebpartInputs.d.ts.map +1 -0
  571. package/build/question/inputs/SPFxAddWebpartInputs.js +5 -0
  572. package/build/question/inputs/SPFxAddWebpartInputs.js.map +1 -0
  573. package/build/question/inputs/SelectTeamsManifestInputs.d.ts +12 -0
  574. package/build/question/inputs/SelectTeamsManifestInputs.d.ts.map +1 -0
  575. package/build/question/inputs/SelectTeamsManifestInputs.js +5 -0
  576. package/build/question/inputs/SelectTeamsManifestInputs.js.map +1 -0
  577. package/build/question/inputs/ValidateTeamsAppInputs.d.ts +14 -0
  578. package/build/question/inputs/ValidateTeamsAppInputs.d.ts.map +1 -0
  579. package/build/question/inputs/ValidateTeamsAppInputs.js +5 -0
  580. package/build/question/inputs/ValidateTeamsAppInputs.js.map +1 -0
  581. package/build/question/inputs/index.d.ts +11 -0
  582. package/build/question/inputs/index.d.ts.map +1 -0
  583. package/build/question/inputs/index.js +16 -0
  584. package/build/question/inputs/index.js.map +1 -0
  585. package/build/question/options/CreateEnvOptions.d.ts +10 -0
  586. package/build/question/options/CreateEnvOptions.d.ts.map +1 -0
  587. package/build/question/options/CreateEnvOptions.js +24 -0
  588. package/build/question/options/CreateEnvOptions.js.map +1 -0
  589. package/build/question/options/CreateProjectOptions.d.ts +10 -0
  590. package/build/question/options/CreateProjectOptions.d.ts.map +1 -0
  591. package/build/question/options/CreateProjectOptions.js +137 -0
  592. package/build/question/options/CreateProjectOptions.js.map +1 -0
  593. package/build/question/options/CreateSampleProjectOptions.d.ts +10 -0
  594. package/build/question/options/CreateSampleProjectOptions.d.ts.map +1 -0
  595. package/build/question/options/CreateSampleProjectOptions.js +52 -0
  596. package/build/question/options/CreateSampleProjectOptions.js.map +1 -0
  597. package/build/question/options/DeployAadManifestOptions.d.ts +10 -0
  598. package/build/question/options/DeployAadManifestOptions.d.ts.map +1 -0
  599. package/build/question/options/DeployAadManifestOptions.js +21 -0
  600. package/build/question/options/DeployAadManifestOptions.js.map +1 -0
  601. package/build/question/options/PermissionGrantOptions.d.ts +10 -0
  602. package/build/question/options/PermissionGrantOptions.d.ts.map +1 -0
  603. package/build/question/options/PermissionGrantOptions.js +33 -0
  604. package/build/question/options/PermissionGrantOptions.js.map +1 -0
  605. package/build/question/options/PermissionListOptions.d.ts +10 -0
  606. package/build/question/options/PermissionListOptions.d.ts.map +1 -0
  607. package/build/question/options/PermissionListOptions.js +28 -0
  608. package/build/question/options/PermissionListOptions.js.map +1 -0
  609. package/build/question/options/PreviewTeamsAppOptions.d.ts +10 -0
  610. package/build/question/options/PreviewTeamsAppOptions.d.ts.map +1 -0
  611. package/build/question/options/PreviewTeamsAppOptions.js +26 -0
  612. package/build/question/options/PreviewTeamsAppOptions.js.map +1 -0
  613. package/build/question/options/SPFxAddWebpartOptions.d.ts +10 -0
  614. package/build/question/options/SPFxAddWebpartOptions.d.ts.map +1 -0
  615. package/build/question/options/SPFxAddWebpartOptions.js +37 -0
  616. package/build/question/options/SPFxAddWebpartOptions.js.map +1 -0
  617. package/build/question/options/SelectTeamsManifestOptions.d.ts +10 -0
  618. package/build/question/options/SelectTeamsManifestOptions.d.ts.map +1 -0
  619. package/build/question/options/SelectTeamsManifestOptions.js +17 -0
  620. package/build/question/options/SelectTeamsManifestOptions.js.map +1 -0
  621. package/build/question/options/ValidateTeamsAppOptions.d.ts +10 -0
  622. package/build/question/options/ValidateTeamsAppOptions.d.ts.map +1 -0
  623. package/build/question/options/ValidateTeamsAppOptions.js +23 -0
  624. package/build/question/options/ValidateTeamsAppOptions.js.map +1 -0
  625. package/build/question/options/index.d.ts +11 -0
  626. package/build/question/options/index.d.ts.map +1 -0
  627. package/build/question/options/index.js +16 -0
  628. package/build/question/options/index.js.map +1 -0
  629. package/build/question/other.d.ts +13 -1
  630. package/build/question/other.d.ts.map +1 -1
  631. package/build/question/other.js +134 -26
  632. package/build/question/other.js.map +1 -1
  633. package/build/question/questionNames.d.ts +7 -2
  634. package/build/question/questionNames.d.ts.map +1 -1
  635. package/build/question/questionNames.js +11 -3
  636. package/build/question/questionNames.js.map +1 -1
  637. package/build/question/util.d.ts.map +1 -1
  638. package/build/question/util.js +2 -2
  639. package/build/question/util.js.map +1 -1
  640. package/build/ui/validationUtils.d.ts +31 -0
  641. package/build/ui/validationUtils.d.ts.map +1 -0
  642. package/build/ui/validationUtils.js +297 -0
  643. package/build/ui/validationUtils.js.map +1 -0
  644. package/build/ui/visitor.d.ts +13 -1
  645. package/build/ui/visitor.d.ts.map +1 -1
  646. package/build/ui/visitor.js +264 -215
  647. package/build/ui/visitor.js.map +1 -1
  648. package/package.json +21 -14
  649. package/resource/package.nls.json +58 -18
  650. package/resource/yaml-schema/v1.2/yaml.schema.json +1474 -0
  651. package/templates/fallback/common.zip +0 -0
  652. package/templates/fallback/csharp.zip +0 -0
  653. package/templates/fallback/js.zip +0 -0
  654. package/templates/fallback/ts.zip +0 -0
  655. package/templates/plugins/resource/aad/auth/V3/Tab/GetUserProfile.razor +1 -2
  656. package/templates/plugins/resource/aad/auth/bot/README.md +281 -263
  657. package/templates/plugins/resource/aad/auth/bot/js/sso/handleMessageExtensionQueryWithToken.js +13 -3
  658. package/templates/plugins/resource/aad/auth/bot/js/sso/profileSsoCommandHandler.js +14 -5
  659. package/templates/plugins/resource/aad/auth/bot/ts/sso/handleMessageExtensionQueryWithToken.ts +11 -3
  660. package/templates/plugins/resource/aad/auth/bot/ts/sso/profileSsoCommandHandler.ts +12 -3
  661. package/templates/plugins/resource/aad/auth/tab/csharp/GetUserProfile.razor +1 -2
  662. package/build/common/samples-config-v3.json +0 -233
  663. package/build/component/configManager/diagnostic.d.ts +0 -9
  664. package/build/component/configManager/diagnostic.d.ts.map +0 -1
  665. package/build/component/configManager/diagnostic.js +0 -47
  666. package/build/component/configManager/diagnostic.js.map +0 -1
  667. package/build/component/driver/middleware/updateProgress.d.ts +0 -6
  668. package/build/component/driver/middleware/updateProgress.d.ts.map +0 -1
  669. package/build/component/driver/middleware/updateProgress.js +0 -15
  670. package/build/component/driver/middleware/updateProgress.js.map +0 -1
  671. package/build/core/FxCoreImplementV3.d.ts +0 -43
  672. package/build/core/FxCoreImplementV3.d.ts.map +0 -1
  673. package/build/core/FxCoreImplementV3.js +0 -653
  674. package/build/core/FxCoreImplementV3.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/teamsfx-core",
3
- "version": "2.0.4-alpha.bdda88800.0",
3
+ "version": "2.0.4-alpha.ceeb9e1b9.0",
4
4
  "main": "build/index.js",
5
5
  "types": "build/index.d.ts",
6
6
  "license": "MIT",
@@ -51,9 +51,13 @@
51
51
  "test:azureFuncDeploy": "nyc mocha \"tests/component/driver/deploy/azure/AzureFunctionDeployDriver.test.ts\"",
52
52
  "test:devportal": "nyc mocha \"tests/component/developerPortalScaffoldUtils.test.ts\"",
53
53
  "test:visitor": "nyc mocha \"tests/ui/qm.visitor.test.ts\"",
54
+ "test:validUtils": "nyc mocha \"tests/ui/validationUtils.test.ts\"",
54
55
  "test:question": "nyc mocha \"tests/question/*.test.ts\"",
55
56
  "test:coll": "nyc mocha \"tests/core/collaborator.test.ts\"",
56
- "test:specParser": "npx mocha \"tests/common/spec-parser/**/specParser.test.ts\"",
57
+ "test:specParser": "npx mocha \"tests/common/spec-parser/**/*.test.ts\"",
58
+ "test:error": "nyc mocha \"tests/error/*.test.ts\"",
59
+ "test:cutils": "nyc mocha \"tests/component/utils.test.ts\"",
60
+ "test:globalVars": "nyc mocha \"tests/core/globalVars.test.ts\"",
57
61
  "clean": "rm -rf build",
58
62
  "build": "rimraf build && npx tsc -p ./",
59
63
  "lint:fix": "eslint --fix \"src/**/*.ts\" \"tests/**/*.ts\"",
@@ -65,7 +69,8 @@
65
69
  "install:tabs": "cd tabs && npm install",
66
70
  "installAll": "npm run install:tabs",
67
71
  "checkUnusedStrings": "node ./scripts/find-unused-strings.js ./resource/package.nls.json ./src || exit 1",
68
- "deleteUnusedStrings": "node ./scripts/delete-unused-strings.js ./resource/package.nls.json ./src"
72
+ "clean:strings": "node ./scripts/delete-unused-strings.js ./resource/package.nls.json ./src",
73
+ "gen:cli": "npx ts-node ./src/question/generator.ts && npx prettier --write \"src/question/options/*.ts\" && npx prettier --write \"src/question/inputs/*.ts\""
69
74
  },
70
75
  "dependencies": {
71
76
  "@apidevtools/swagger-parser": "^10.1.0",
@@ -77,13 +82,13 @@
77
82
  "@azure/arm-subscriptions": "^5.0.0",
78
83
  "@azure/core-auth": "^1.4.0",
79
84
  "@azure/identity": "^3.1.3",
80
- "@azure/ms-rest-js": "^2.6.6",
85
+ "@azure/ms-rest-js": "^2.7.0",
81
86
  "@azure/msal-node": "^1.14.6",
82
87
  "@azure/storage-blob": "^12.7.0",
83
88
  "@feathersjs/hooks": "^0.6.5",
84
89
  "@microsoft/dev-tunnels-contracts": "~1.0.7360",
85
90
  "@microsoft/dev-tunnels-management": "~1.0.7360",
86
- "@microsoft/teamsfx-api": "0.22.4-alpha.bdda88800.0",
91
+ "@microsoft/teamsfx-api": "0.22.4-alpha.ceeb9e1b9.0",
87
92
  "@npmcli/arborist": "^4.2.0",
88
93
  "@types/proper-lockfile": "^4.1.1",
89
94
  "adm-zip": "^0.5.5",
@@ -110,7 +115,7 @@
110
115
  "md5": "^2.3.0",
111
116
  "mime": "^2.5.2",
112
117
  "mustache": "^4.2.0",
113
- "node-forge": "^1.0.0",
118
+ "node-forge": "^1.3.1",
114
119
  "node-ts-uuid": "^1.0.8",
115
120
  "office-addin-manifest": "^1.12.4",
116
121
  "office-addin-project": "^0.7.0",
@@ -127,13 +132,11 @@
127
132
  "uuid": "^8.3.2",
128
133
  "validator": "^13.7.0",
129
134
  "xml2js": "^0.5.0",
130
- "yaml": "^2.2.2",
131
- "yaml-language-server": "1.7.0"
135
+ "yaml": "^2.2.2"
132
136
  },
133
137
  "devDependencies": {
134
138
  "@azure/storage-blob": "^12.5.0",
135
139
  "@istanbuljs/nyc-config-typescript": "^1.0.1",
136
- "@microsoft/eslint-plugin-teamsfx": "0.0.4-alpha.bdda88800.0",
137
140
  "@types/adm-zip": "^0.4.33",
138
141
  "@types/chai": "^4.2.14",
139
142
  "@types/chai-as-promised": "^7.1.3",
@@ -150,7 +153,7 @@
150
153
  "@types/md5": "^2.3.0",
151
154
  "@types/mime": "^2.0.3",
152
155
  "@types/mocha": "^8.2.1",
153
- "@types/mock-fs": "^4.13.0",
156
+ "@types/mock-fs": "^4.13.1",
154
157
  "@types/mustache": "^4.1.1",
155
158
  "@types/node": "^14.14.21",
156
159
  "@types/node-forge": "^0.9.7",
@@ -168,6 +171,7 @@
168
171
  "@typescript-eslint/eslint-plugin": "^4.19.0",
169
172
  "@typescript-eslint/parser": "^4.19.0",
170
173
  "ahocorasick": "^1.0.2",
174
+ "axios-mock-adapter": "^1.20.0",
171
175
  "chai": "^4.2.0",
172
176
  "chai-as-promised": "^7.1.1",
173
177
  "chai-spies": "^1.0.0",
@@ -181,20 +185,23 @@
181
185
  "faker": "^5.5.2",
182
186
  "find-process": "^1.4.4",
183
187
  "lint-staged": "^10.5.4",
188
+ "lodash": "^4.17.21",
184
189
  "mocha": "^10.2.0",
185
- "mock-fs": "^4.13.0",
190
+ "mock-fs": "5.2.0",
186
191
  "mocked-env": "^1.3.5",
187
- "nock": "^13.2.9",
188
192
  "nyc": "^15.1.0",
189
193
  "prettier": "^2.4.1",
190
194
  "proxyquire": "^2.1.3",
191
195
  "rewire": "^6.0.0",
196
+ "rimraf": "^5.0.1",
192
197
  "sinon": "^9.2.2",
193
198
  "source-map-support": "^0.5.19",
194
199
  "tmp": "^0.2.1",
195
200
  "ts-loader": "^8.0.3",
201
+ "ts-morph": "^19.0.0",
196
202
  "ts-node": "^9.1.1",
197
- "typescript": "^4.2.3",
203
+ "tslib": "^2.3.1",
204
+ "typescript": "4.3.5",
198
205
  "webpack": "^5.61.0"
199
206
  },
200
207
  "files": [
@@ -202,7 +209,7 @@
202
209
  "resource/**/*",
203
210
  "templates/**/*"
204
211
  ],
205
- "gitHead": "9c12362ae712cb2b3ca06d236e944ed6eed7e251",
212
+ "gitHead": "8112a182accf3b4696e084c13d7285f75af65ab9",
206
213
  "publishConfig": {
207
214
  "access": "public"
208
215
  },
@@ -18,10 +18,9 @@
18
18
  "core.option.learnMore": "Learn more",
19
19
  "core.option.upgrade": "Upgrade",
20
20
  "core.option.moreInfo": "More Info",
21
- "core.progress.generateTemplate": "Generating Template",
22
- "core.progress.generateTemplate.detail": "Downloading Template %s",
23
- "core.progress.generateSample": "Generating Sample",
24
- "core.progress.generateSample.detail": "Downloading Sample %s",
21
+ "core.progress.create": "Create",
22
+ "core.progress.createFromTemplate": "Downloading app template.",
23
+ "core.progress.createFromSample": "Downloading sample %s",
25
24
  "core.progress.deploy": "Deploy",
26
25
  "core.progress.publish": "Publish",
27
26
  "core.progress.provision": "Provision",
@@ -77,7 +76,9 @@
77
76
  "plugins.spfx.questions.packageSelect.installLocally.noVersion.label": "Install the latest SPFx locally in Teams Toolkit directory ",
78
77
  "plugins.spfx.questions.spfxSolution.title": "SharePoint Solution",
79
78
  "plugins.spfx.questions.spfxSolution.createNew": "Create a New SPFx Solution",
79
+ "plugins.spfx.questions.spfxSolution.createNew.detail": "Create a Teams Tab application using SPFx web parts",
80
80
  "plugins.spfx.questions.spfxSolution.importExisting": "Import an Existing SPFx Solution",
81
+ "plugins.spfx.questions.spfxSolution.importExisting.detail": "Expose SPFx client-side web part as Microsoft Teams tab or personal app",
81
82
  "plugins.spfx.deployNotice": "SharePoint package %s has been successfully deployed to [%s](%s).",
82
83
  "plugins.spfx.cannotFindPackage": "Cannot find SharePoint package %s",
83
84
  "plugins.spfx.cannotGetSPOToken": "Cannot get SPO access token",
@@ -141,23 +142,18 @@
141
142
  "plugins.appstudio.viewDeveloperPortal": "View in Developer Portal",
142
143
  "plugins.bot.questionHostTypeTrigger.title": "Choose triggers",
143
144
  "plugins.bot.questionHostTypeTrigger.placeholder": "Choose triggers",
144
- "plugins.bot.triggers.http-functions.cliName": "http-functions",
145
145
  "plugins.bot.triggers.http-functions.description": "Azure Functions",
146
146
  "plugins.bot.triggers.http-functions.detail": "A running function hosted on Azure Functions can listen to HTTP requests.",
147
147
  "plugins.bot.triggers.http-functions.label": "HTTP Trigger",
148
- "plugins.bot.triggers.http-and-timer-functions.cliName": "http-and-timer-functions",
149
148
  "plugins.bot.triggers.http-and-timer-functions.description": "Azure Functions",
150
149
  "plugins.bot.triggers.http-and-timer-functions.detail": "A running function hosted on Azure Functions can listen to HTTP requests and respond based on a specific schedule.",
151
150
  "plugins.bot.triggers.http-and-timer-functions.label": "HTTP and Timer Trigger",
152
- "plugins.bot.triggers.http-restify.cliName": "http-restify",
153
151
  "plugins.bot.triggers.http-restify.description": "Restify Server",
154
152
  "plugins.bot.triggers.http-restify.detail": "A running restify server hosted on Azure App Service can listen to HTTP requests.",
155
153
  "plugins.bot.triggers.http-restify.label": "HTTP Trigger",
156
- "plugins.bot.triggers.http-webapi.cliName": "http-webapi",
157
154
  "plugins.bot.triggers.http-webapi.description": "Web API Server",
158
155
  "plugins.bot.triggers.http-webapi.detail": "A running Web API server hosted on Azure App Service can listen to HTTP requests.",
159
156
  "plugins.bot.triggers.http-webapi.label": "HTTP Trigger",
160
- "plugins.bot.triggers.timer-functions.cliName": "timer-functions",
161
157
  "plugins.bot.triggers.timer-functions.description": "Azure Functions",
162
158
  "plugins.bot.triggers.timer-functions.detail": "A running function hosted on Azure Functions can respond based on a specific schedule.",
163
159
  "plugins.bot.triggers.timer-functions.label": "Timer Trigger",
@@ -201,12 +197,15 @@
201
197
  "error.appstudio.BotProvisionReturnsConflictResult": "Botframework provisioning returns conflict result from attempting to create bot registration.",
202
198
  "_error.appstudio.BotProvisionReturnsConflictResult.comment": "This is to describe API call, no need to translate 'Botframework'.",
203
199
  "error.generator.TemplateZipFallbackError": "Unable to download zip package and open local zip package.",
200
+ "error.generator.TemplateNotFoundError": "Unable to find template: %s.",
201
+ "error.generator.SampleNotFoundError": "Unable to find sample: %s.",
204
202
  "error.generator.FetchZipFromUrlError": "Unable to download zip package from %s.",
205
203
  "error.generator.UnzipError": "Unable to unzip templates and write to disk.",
206
204
  "error.generator.MissKeyError": "Unable to find key %s",
207
205
  "error.generator.DownloadSampleApiLimitError": "Unable to download sample due to throttling. Retry later after rate limit reset (This may take up to 1 hour). Alternatively, you can go to %s to git clone the repo manually",
208
206
  "error.generator.DownloadSampleNetworkError": "Unable to download sample due to network error. Check your network connection and retry. Alternatively, you can go to %s to git clone the repo manually",
209
207
  "error.generator.ParseUrlError": "Unable to parse url %s",
208
+ "error.copilotPlugin.openAiPluginManifest.CannotGetManifest": "Unable to get OpenAI plugin manifest from '%s'.",
210
209
  "error.m365.NotExtendedToM365Error": "Unable to extend Teams app to Microsoft 365. Use 'teamsApp/extendToM365' action to extend your Teams app to Microsoft 365.",
211
210
  "core.QuestionAppName.validation.pattern": "Application name must start with letters and contain at least two letters or digits. It can not contain some special characters.",
212
211
  "core.QuestionAppName.validation.maxlength": "Application name is longer than the maximum length of 30.",
@@ -217,12 +216,16 @@
217
216
  "core.option.github": "Open a GitHub guide",
218
217
  "core.option.inProduct": "Open a in-product guide",
219
218
  "core.TabOption.label": "Tab",
219
+ "core.generator.officeAddin.importProject.title": "Importing an existing Outlook add-in project",
220
+ "core.generator.officeAddin.importProject.copyFiles": "Copying files",
221
+ "core.generator.officeAddin.importProject.convertProject": "Converting project",
222
+ "core.generator.officeAddin.importProject.updateManifest": "Modifying manifest",
220
223
  "core.TabOption.description": "UI-based app",
221
224
  "core.TabOption.detail": "Teams-aware webpages embedded in Microsoft Teams",
222
225
  "core.DashboardOption.label": "Dashboard",
223
226
  "core.DashboardOption.detail": "A canvas with cards and widgets for displaying important information",
224
227
  "core.BotNewUIOption.label": "Basic Bot",
225
- "core.BotNewUIOption.detail": "A simple implementation of a bot that's ready to customize",
228
+ "core.BotNewUIOption.detail": "A simple implementation of an echo bot that's ready to customize",
226
229
  "core.LinkUnfurlingOption.label": "Link Unfurling",
227
230
  "core.LinkUnfurlingOption.detail": "Display information and actions when a URL is pasted into the compose message area",
228
231
  "core.MessageExtensionOption.labelNew": "Collect Form Input and Process Data",
@@ -239,6 +242,17 @@
239
242
  "core.TabSPFxOption.detailNew": "Build UI with SharePoint Framework",
240
243
  "core.TabNonSso.label": "Basic Tab",
241
244
  "core.TabNonSso.detail": "A simple implementation of a web app that's ready to customize",
245
+ "core.copilotPlugin.validate.apiSpec.summary": "Teams Toolkit has checked your API spec:\n\nSummary:\n%s.\n%s\n%s",
246
+ "core.copilotPlugin.validate.openAIPluginManifest.summary": "Teams Toolkit has checked your OpenAI plugin manifest:\n\nSummary:\n%s.\n%s\n%s",
247
+ "core.copilotPlugin.validate.summary.validate.failed": "%s failed",
248
+ "core.copilotPlugin.validate.summary.validate.warning": "%s warning",
249
+ "core.copilotPlugin.scaffold.summary": "We have detected the following issues for your OpenAPI specification file:\n%s",
250
+ "core.copilotPlugin.scaffold.summary.warning.operationId": "%s Mitigation: Not required, operationId has been automatically generated and added into \"%s\" file.",
251
+ "core.copilotPlugin.scaffold.summary.warning.teamsManifest.lengthExceeding": "\"%s\" must not have more than %s characters. ",
252
+ "core.copilotPlugin.scaffold.summary.warning.teamsManifest.missingFullDescription": "Missing full description. ",
253
+ "core.copilotPlugin.scaffold.summary.warning.teamsManifest.mitigation": "Mitigation: update \"%s\" field in \"%s\".",
254
+ "core.copilotPlugin.scaffold.summary.warning.teamsManifest.missingCardTemlate": "Missing \"%s\" in command \"%s\".",
255
+ "core.copilotPlugin.scaffold.summary.warning.teamsManifest.missingCardTemlate.mitigation": " Mitigation: create Adaptive Card template in \"%s\" and then update \"%s\" field to the relative path in \"%s\".",
242
256
  "core.createCapabilityQuestion.titleNew": "Capabilities",
243
257
  "core.createCapabilityQuestion.placeholder": "Select a capability",
244
258
  "core.createProjectQuestion.option.description.previewOnWindow": "Preview on Windows",
@@ -269,10 +283,20 @@
269
283
  "core.createProjectQuestion.apiSpec.placeholder": "Enter OpenAPI Specification URL",
270
284
  "core.createProjectQuestion.apiSpecInputUrl.label": "Enter OpenAPI Specification Location",
271
285
  "core.createProjectQuestion.AIPluginManifest.title": "OpenAI Plugin Manifest",
272
- "core.createProjectQuestion.AIPluginManifest.placeholder": "Enter OpenAI Plugin Manifest URL",
286
+ "core.createProjectQuestion.AIPluginManifest.placeholder": "Enter your website domain",
273
287
  "core.createProjectQuestion.invalidUrl.message": "Please enter a valid URL",
288
+ "core.createProjectQuestion.invalidDomain.message": "Please enter a valid domain",
274
289
  "core.createProjectQuestion.apiSpec.operation.title": "Select an Operation",
275
- "core.createProjectQuestion.apiSpec.operation.placeholder": "Only GET and POST methods are listed.",
290
+ "core.createProjectQuestion.apiSpec.operation.placeholder": "Only GET and POST methods with single parameter and no auth are listed",
291
+ "core.createProjectQuestion.apiSpec.operation.placeholder.skipExisting": "Methods defined in manifest.json are not listed",
292
+ "core.createProjectQuestion.apiSpec.multipleValidationErrors.message": "Invalid API specification. Check output panel for details.",
293
+ "core.createProjectQuestion.apiSpec.multipleValidationErrors.vscode.message": "Invalid API specification. Check [output panel](command:fx-extension.showOutputChannel) for details.",
294
+ "core.createProjectQuestion.openAiPluginManifest.multipleValidationErrors.message": "Invalid OpenAI plugin manifest. Check output panel for details.",
295
+ "core.createProjectQuestion.openAiPluginManifest.multipleValidationErrors.vscode.message": "Invalid OpenAI plugin manifest. Check [output panel](command:fx-extension.showOutputChannel) for details.",
296
+ "core.createProjectQuestion.openAiPluginManifest.validationError.missingApiUrl": "Missing URL in \"%s\".",
297
+ "core.createProjectQuestion.openAiPluginManifest.validationError.authNotSupported": "Auth type is not supported. Supported auth type: \"%s\".",
298
+ "core.aiBotOption.label": "AI Chat Bot",
299
+ "core.aiBotOption.detail": "A chat bot using Teams AI library",
276
300
  "core.spfxFolder.title": "SPFx solution folder",
277
301
  "core.spfxFolder.placeholder": "Select the folder that contains your SPFx solution",
278
302
  "core.QuestionSelectTargetEnvironment.title": "Select an environment",
@@ -296,7 +320,6 @@
296
320
  "core.ScratchOptionNo.detail": "Use an existing sample as a starting point for your new application.",
297
321
  "core.RuntimeOptionNodeJS.detail": "A fast JavaScript server runtime",
298
322
  "core.RuntimeOptionDotNet.detail": "Free. Cross-platform. Open Source.",
299
- "core.getCreateNewOrFromSampleQuestion.title": "Teams Toolkit: Create a New App",
300
323
  "core.getRuntimeQuestion.title": "Teams Toolkit: select runtime for your app",
301
324
  "core.getCreateNewOrFromSampleQuestion.placeholder": "Select an option",
302
325
  "core.getRuntimeQuestion.placeholder": "Select a runtime",
@@ -342,6 +365,7 @@
342
365
  "core.M365SsoLaunchPageOptionItem.detail": "A web app that uses Fluent UI React components to get a Teams look and feel",
343
366
  "core.M365SearchAppOptionItem.label": "Custom Search Results",
344
367
  "core.M365SearchAppOptionItem.detail": "Display data directly in Teams and Outlook search results from search or the chat area",
368
+ "core.SearchAppOptionItem.detail": "Display data directly in Teams search results from search or the chat area",
345
369
  "core.M365HostQuestion.title": "Platform",
346
370
  "core.M365HostQuestion.placeholder": "Select a platform to preview the app",
347
371
  "core.options.separator.additional": "Additional features",
@@ -357,8 +381,18 @@
357
381
  "core.common.OutlookDesktopClientName": "Outlook desktop client id",
358
382
  "core.common.OutlookWebClientName1": "Outlook web access client id 1",
359
383
  "core.common.OutlookWebClientName2": "Outlook web access client id 2",
360
- "core.importAddin.label": "Import an Existing Outlook Add-in",
361
- "core.importAddin.detail": "Upgrade and add-in project to the latest app manifest and project structure",
384
+ "core.common.CancelledMessage": "Operation is cancelled.",
385
+ "core.common.SpecVersionNotSupported": "OpenAPI version lower than 3.0.0 is not supported.",
386
+ "core.common.NoServerInformation": "No server information is found in the OpenAPI specification file.",
387
+ "core.common.MultipleServerInformation": "Multiple server information is found in the OpenAPI specification file.",
388
+ "core.common.RemoteRefNotSupported": "Remote reference is not supported: %s.",
389
+ "core.common.MissingOperationId": "Missing operationIds: %s.",
390
+ "core.common.NoSupportedApi": "No supported API is found in the OpenAPI specification file.",
391
+ "core.common.AdditionalPropertiesNotSupported": "'additionalProperties' is not supported, and will be ignored.",
392
+ "core.common.SchemaNotSupported": "'oneOf', 'anyOf', and 'not' schema are not supported: %s.",
393
+ "core.common.UnknownSchema": "Unknown schema: %s.",
394
+ "core.importAddin.label": "Import an Existing Outlook Add-ins",
395
+ "core.importAddin.detail": "Upgrade an Add-ins project to the latest app manifest and project structure",
362
396
  "core.newTaskpaneAddin.label": "Taskpane",
363
397
  "core.newTaskpaneAddin.detail": "Customize the Ribbon with a button and embed content in the Taskpane",
364
398
  "core.summary.actionDescription": "Action %s%s",
@@ -370,7 +404,9 @@
370
404
  "core.summary.actionFailed": "%s failed.",
371
405
  "core.summary.actionSucceeded": "%s was executed successfully.",
372
406
  "core.summary.createdEnvFile": "Environment file was created at",
407
+ "core.copilot.addAPI.success": "%s have(has) been successfully added to %s",
373
408
  "ui.select.LoadingOptionsPlaceholder": "Loading options ...",
409
+ "ui.select.LoadingDefaultPlaceholder": "Loading default value ...",
374
410
  "error.aad.manifest.NameIsMissing": "name is missing\n",
375
411
  "error.aad.manifest.SignInAudienceIsMissing": "signInAudience is missing\n",
376
412
  "error.aad.manifest.RequiredResourceAccessIsMissing": "requiredResourceAccess is missing\n",
@@ -380,6 +416,7 @@
380
416
  "error.aad.manifest.OptionalClaimsIsMissing": "optionalClaims is missing\n",
381
417
  "error.aad.manifest.OptionalClaimsMissingIdtypClaim": "optionalClaims access token doesn't contain idtyp claim\n",
382
418
  "error.aad.manifest.AADManifestIssues": "AAD manifest has following issues that may potentially break the Teams App:\n",
419
+ "error.aad.manifest.DeleteOrUpdatePermissionFailed": "Unable to update or delete an existing permission when it's enabled. One possible reason is that the ACCESS_AS_USER_PERMISSION_ID environment variable is changed for selected environment. Ensure your permission id(s) are identical with the actual AAD application and try again.\n",
383
420
  "error.aad.manifest.UnknownResourceAppId": "Unknown resourceAppId %s",
384
421
  "error.aad.manifest.UnknownResourceAccessType": "Unknown resourceAccess: %s",
385
422
  "error.aad.manifest.UnknownResourceAccessId": "Unknown resourceAccess id: %s, if you're using permission as resourceAccess id, please try to use permission id instead.",
@@ -546,8 +583,8 @@
546
583
  "driver.botFramework.summary.update": "The bot registration has been updated successfully (%s).",
547
584
  "driver.botFramework.progressBar.createOrUpdateBot": "Creating or updating bot registration.",
548
585
  "driver.botFramework.error.InvalidBotId": "Bot ID %s is invalid. It must be a GUID.",
549
- "error.yaml.InvalidYamlSchemaError": "Unable to parse yaml file: %s. Please review the yaml file.",
550
- "error.yaml.InvalidYamlSchemaErrorWithReason": "Unable to parse yaml file: %s. Reason: %s Please review the yaml file.",
586
+ "error.yaml.InvalidYamlSchemaError": "Unable to parse yaml file: %s. Please open the yaml file for detailed errors.",
587
+ "error.yaml.InvalidYamlSchemaErrorWithReason": "Unable to parse yaml file: %s. Reason: %s Please review the yaml file or upgrade to the latest Teams Toolkit.",
551
588
  "error.yaml.VersionNotSupported": "version %s is not supported. Supported versions: %s.",
552
589
  "error.yaml.YamlFieldTypeError": "Field '%s' should have %s type, yaml file: %s",
553
590
  "error.yaml.YamlFieldMissingError": "Field '%s' is missing, yaml file: %s",
@@ -562,6 +599,7 @@
562
599
  "error.common.ReadFileError": "Unable to read file for reason: %s",
563
600
  "error.common.UnhandledError": "An unexpected error has occurred while performing the %s task. %s",
564
601
  "error.common.WriteFileError": "Unable to write file for reason: %s",
602
+ "error.common.FilePermissionError": "File operation is not permitted, ensure that you have the necessary permissions: %s",
565
603
  "error.common.MissingRequiredInputError": "Missing required input: %s",
566
604
  "error.common.InputValidationError": "Input '%s' validation failed: %s",
567
605
  "error.common.NoEnvFilesError": "Unable to find .env files.",
@@ -610,5 +648,7 @@
610
648
  "error.deploy.AzureStorageGetContainerPropertiesError.Notification": "Unable to get properties of container '%s' in Azure Storage Account '%s' due to error: %s. Refer to the [Output panel](command:fx-extension.showOutputChannel) for more details.",
611
649
  "error.deploy.AzureStorageGetContainerPropertiesError": "Unable to get properties of container '%s' in Azure Storage Account '%s' due to error: %s. The error responses from Azure are:\n %s. \nIf the error message specifies the reason, fix the error and try again.",
612
650
  "error.deploy.AzureStorageSetContainerPropertiesError.Notification": "Unable to set properties of container '%s' in Azure Storage Account '%s' due to error: %s. Refer to the [Output panel](command:fx-extension.showOutputChannel) for more details.",
613
- "error.deploy.AzureStorageSetContainerPropertiesError": "Unable to set properties of container '%s' in Azure Storage Account '%s' due to error: %s. The error responses from Azure are:\n %s. \nIf the error message specifies the reason, fix the error and try again."
651
+ "error.deploy.AzureStorageSetContainerPropertiesError": "Unable to set properties of container '%s' in Azure Storage Account '%s' due to error: %s. The error responses from Azure are:\n %s. \nIf the error message specifies the reason, fix the error and try again.",
652
+ "error.core.failedToLoadManifestId": "Unable to load manifest id from path: %s. You must run provision first.",
653
+ "error.core.appIdNotExist": "Cannot find app id: %s. Maybe your current M365 account does not have permission, or the app has alredy been deleted."
614
654
  }