@microsoft/teamsfx-core 2.0.7-alpha.07c4fbf2b.0 → 2.0.7-alpha.0e84b9566.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 (287) hide show
  1. package/build/common/constants.d.ts +2 -0
  2. package/build/common/constants.d.ts.map +1 -1
  3. package/build/common/constants.js +2 -0
  4. package/build/common/constants.js.map +1 -1
  5. package/build/common/deps-checker/constant/helpLink.d.ts +1 -1
  6. package/build/common/deps-checker/constant/helpLink.d.ts.map +1 -1
  7. package/build/common/deps-checker/constant/helpLink.js +1 -1
  8. package/build/common/deps-checker/constant/helpLink.js.map +1 -1
  9. package/build/common/featureFlags.d.ts +2 -0
  10. package/build/common/featureFlags.d.ts.map +1 -1
  11. package/build/common/featureFlags.js +10 -2
  12. package/build/common/featureFlags.js.map +1 -1
  13. package/build/common/jsonUtils.js.map +1 -1
  14. package/build/common/local/packageJsonHelper.d.ts.map +1 -1
  15. package/build/common/local/packageJsonHelper.js +1 -2
  16. package/build/common/local/packageJsonHelper.js.map +1 -1
  17. package/build/common/m365/packageService.d.ts +1 -0
  18. package/build/common/m365/packageService.d.ts.map +1 -1
  19. package/build/common/m365/packageService.js +17 -3
  20. package/build/common/m365/packageService.js.map +1 -1
  21. package/build/common/samples.d.ts +1 -1
  22. package/build/common/samples.d.ts.map +1 -1
  23. package/build/common/samples.js +1 -1
  24. package/build/common/samples.js.map +1 -1
  25. package/build/common/telemetry.d.ts +3 -1
  26. package/build/common/telemetry.d.ts.map +1 -1
  27. package/build/common/telemetry.js +2 -0
  28. package/build/common/telemetry.js.map +1 -1
  29. package/build/common/templates-config.json +1 -0
  30. package/build/common/tools.d.ts.map +1 -1
  31. package/build/common/tools.js +5 -2
  32. package/build/common/tools.js.map +1 -1
  33. package/build/common/wrappedAxiosClient.d.ts +59 -0
  34. package/build/common/wrappedAxiosClient.d.ts.map +1 -0
  35. package/build/common/wrappedAxiosClient.js +247 -0
  36. package/build/common/wrappedAxiosClient.js.map +1 -0
  37. package/build/component/configManager/lifecycle.js +1 -1
  38. package/build/component/configManager/lifecycle.js.map +1 -1
  39. package/build/component/configManager/validator.js +1 -1
  40. package/build/component/configManager/validator.js.map +1 -1
  41. package/build/component/constant/commonConstant.d.ts +5 -0
  42. package/build/component/constant/commonConstant.d.ts.map +1 -1
  43. package/build/component/constant/commonConstant.js +7 -1
  44. package/build/component/constant/commonConstant.js.map +1 -1
  45. package/build/component/coordinator/index.d.ts +4 -0
  46. package/build/component/coordinator/index.d.ts.map +1 -1
  47. package/build/component/coordinator/index.js +38 -18
  48. package/build/component/coordinator/index.js.map +1 -1
  49. package/build/component/developerPortalScaffoldUtils.d.ts.map +1 -1
  50. package/build/component/developerPortalScaffoldUtils.js +0 -2
  51. package/build/component/developerPortalScaffoldUtils.js.map +1 -1
  52. package/build/component/driver/aad/create.d.ts +1 -1
  53. package/build/component/driver/aad/create.d.ts.map +1 -1
  54. package/build/component/driver/aad/create.js +11 -11
  55. package/build/component/driver/aad/create.js.map +1 -1
  56. package/build/component/driver/aad/update.d.ts +1 -1
  57. package/build/component/driver/aad/update.d.ts.map +1 -1
  58. package/build/component/driver/aad/update.js +10 -8
  59. package/build/component/driver/aad/update.js.map +1 -1
  60. package/build/component/driver/aad/utility/aadAppClient.d.ts +1 -0
  61. package/build/component/driver/aad/utility/aadAppClient.d.ts.map +1 -1
  62. package/build/component/driver/aad/utility/aadAppClient.js +11 -2
  63. package/build/component/driver/aad/utility/aadAppClient.js.map +1 -1
  64. package/build/component/driver/apiKey/create.d.ts +1 -2
  65. package/build/component/driver/apiKey/create.d.ts.map +1 -1
  66. package/build/component/driver/apiKey/create.js +29 -34
  67. package/build/component/driver/apiKey/create.js.map +1 -1
  68. package/build/component/driver/apiKey/error/apiKeyClientSecretInvalid.d.ts.map +1 -1
  69. package/build/component/driver/apiKey/error/apiKeyClientSecretInvalid.js +2 -3
  70. package/build/component/driver/apiKey/error/apiKeyClientSecretInvalid.js.map +1 -1
  71. package/build/component/driver/apiKey/interface/createApiKeyArgs.d.ts +2 -1
  72. package/build/component/driver/apiKey/interface/createApiKeyArgs.d.ts.map +1 -1
  73. package/build/component/driver/apiKey/utility/constants.d.ts +2 -1
  74. package/build/component/driver/apiKey/utility/constants.d.ts.map +1 -1
  75. package/build/component/driver/apiKey/utility/constants.js +3 -2
  76. package/build/component/driver/apiKey/utility/constants.js.map +1 -1
  77. package/build/component/driver/botAadApp/create.d.ts +2 -2
  78. package/build/component/driver/botAadApp/create.d.ts.map +1 -1
  79. package/build/component/driver/botAadApp/create.js +18 -18
  80. package/build/component/driver/botAadApp/create.js.map +1 -1
  81. package/build/component/driver/botFramework/createOrUpdateBot.d.ts.map +1 -1
  82. package/build/component/driver/botFramework/createOrUpdateBot.js +9 -11
  83. package/build/component/driver/botFramework/createOrUpdateBot.js.map +1 -1
  84. package/build/component/driver/file/createOrUpdateEnvironmentFile.d.ts.map +1 -1
  85. package/build/component/driver/file/createOrUpdateEnvironmentFile.js +6 -6
  86. package/build/component/driver/file/createOrUpdateEnvironmentFile.js.map +1 -1
  87. package/build/component/driver/file/createOrUpdateJsonFile.d.ts.map +1 -1
  88. package/build/component/driver/file/createOrUpdateJsonFile.js +8 -8
  89. package/build/component/driver/file/createOrUpdateJsonFile.js.map +1 -1
  90. package/build/component/driver/m365/acquire.d.ts.map +1 -1
  91. package/build/component/driver/m365/acquire.js +9 -10
  92. package/build/component/driver/m365/acquire.js.map +1 -1
  93. package/build/component/driver/middleware/addSWADeployTelemetry.js +1 -2
  94. package/build/component/driver/middleware/addSWADeployTelemetry.js.map +1 -1
  95. package/build/component/driver/teamsApp/appStudio.d.ts.map +1 -1
  96. package/build/component/driver/teamsApp/appStudio.js +0 -2
  97. package/build/component/driver/teamsApp/appStudio.js.map +1 -1
  98. package/build/component/driver/teamsApp/clients/appStudioClient.d.ts +3 -9
  99. package/build/component/driver/teamsApp/clients/appStudioClient.d.ts.map +1 -1
  100. package/build/component/driver/teamsApp/clients/appStudioClient.js +79 -112
  101. package/build/component/driver/teamsApp/clients/appStudioClient.js.map +1 -1
  102. package/build/component/driver/teamsApp/clients/authSvcClient.d.ts.map +1 -1
  103. package/build/component/driver/teamsApp/clients/authSvcClient.js +3 -24
  104. package/build/component/driver/teamsApp/clients/authSvcClient.js.map +1 -1
  105. package/build/component/driver/teamsApp/configure.d.ts.map +1 -1
  106. package/build/component/driver/teamsApp/configure.js +0 -2
  107. package/build/component/driver/teamsApp/configure.js.map +1 -1
  108. package/build/component/driver/teamsApp/constants.d.ts +4 -0
  109. package/build/component/driver/teamsApp/constants.d.ts.map +1 -1
  110. package/build/component/driver/teamsApp/constants.js +4 -0
  111. package/build/component/driver/teamsApp/constants.js.map +1 -1
  112. package/build/component/driver/teamsApp/create.d.ts.map +1 -1
  113. package/build/component/driver/teamsApp/create.js +0 -2
  114. package/build/component/driver/teamsApp/create.js.map +1 -1
  115. package/build/component/driver/teamsApp/createAppPackage.d.ts.map +1 -1
  116. package/build/component/driver/teamsApp/createAppPackage.js.map +1 -1
  117. package/build/component/driver/teamsApp/publishAppPackage.d.ts.map +1 -1
  118. package/build/component/driver/teamsApp/publishAppPackage.js +3 -5
  119. package/build/component/driver/teamsApp/publishAppPackage.js.map +1 -1
  120. package/build/component/driver/teamsApp/utils/telemetry.d.ts +0 -31
  121. package/build/component/driver/teamsApp/utils/telemetry.d.ts.map +1 -1
  122. package/build/component/driver/teamsApp/utils/telemetry.js +1 -53
  123. package/build/component/driver/teamsApp/utils/telemetry.js.map +1 -1
  124. package/build/component/driver/teamsApp/validate.d.ts.map +1 -1
  125. package/build/component/driver/teamsApp/validate.js +0 -1
  126. package/build/component/driver/teamsApp/validate.js.map +1 -1
  127. package/build/component/driver/teamsApp/validateAppPackage.d.ts.map +1 -1
  128. package/build/component/driver/teamsApp/validateAppPackage.js +0 -1
  129. package/build/component/driver/teamsApp/validateAppPackage.js.map +1 -1
  130. package/build/component/feature/collaboration.d.ts +1 -1
  131. package/build/component/feature/collaboration.d.ts.map +1 -1
  132. package/build/component/feature/collaboration.js +10 -12
  133. package/build/component/feature/collaboration.js.map +1 -1
  134. package/build/component/generator/copilotPlugin/generator.d.ts +3 -2
  135. package/build/component/generator/copilotPlugin/generator.d.ts.map +1 -1
  136. package/build/component/generator/copilotPlugin/generator.js +31 -15
  137. package/build/component/generator/copilotPlugin/generator.js.map +1 -1
  138. package/build/component/generator/copilotPlugin/helper.d.ts +1 -1
  139. package/build/component/generator/copilotPlugin/helper.js +19 -19
  140. package/build/component/generator/copilotPlugin/helper.js.map +1 -1
  141. package/build/component/generator/generator.d.ts.map +1 -1
  142. package/build/component/generator/generator.js +7 -6
  143. package/build/component/generator/generator.js.map +1 -1
  144. package/build/component/generator/generatorAction.d.ts +3 -4
  145. package/build/component/generator/generatorAction.d.ts.map +1 -1
  146. package/build/component/generator/generatorAction.js +29 -22
  147. package/build/component/generator/generatorAction.js.map +1 -1
  148. package/build/component/generator/officeAddin/config/projectProperties.d.ts +1 -0
  149. package/build/component/generator/officeAddin/config/projectProperties.d.ts.map +1 -1
  150. package/build/component/generator/officeAddin/config/projectProperties.js +1 -0
  151. package/build/component/generator/officeAddin/config/projectProperties.js.map +1 -1
  152. package/build/component/generator/officeAddin/config/projectsJsonData.d.ts +1 -4
  153. package/build/component/generator/officeAddin/config/projectsJsonData.d.ts.map +1 -1
  154. package/build/component/generator/officeAddin/config/projectsJsonData.js +3 -10
  155. package/build/component/generator/officeAddin/config/projectsJsonData.js.map +1 -1
  156. package/build/component/generator/officeAddin/generator.d.ts.map +1 -1
  157. package/build/component/generator/officeAddin/generator.js +5 -5
  158. package/build/component/generator/officeAddin/generator.js.map +1 -1
  159. package/build/component/generator/officeAddin/helperMethods.d.ts +2 -1
  160. package/build/component/generator/officeAddin/helperMethods.d.ts.map +1 -1
  161. package/build/component/generator/officeAddin/helperMethods.js +21 -10
  162. package/build/component/generator/officeAddin/helperMethods.js.map +1 -1
  163. package/build/component/generator/spfx/error.d.ts +1 -0
  164. package/build/component/generator/spfx/error.d.ts.map +1 -1
  165. package/build/component/generator/spfx/error.js +11 -1
  166. package/build/component/generator/spfx/error.js.map +1 -1
  167. package/build/component/generator/spfx/spfxGenerator.d.ts +1 -0
  168. package/build/component/generator/spfx/spfxGenerator.d.ts.map +1 -1
  169. package/build/component/generator/spfx/spfxGenerator.js +33 -0
  170. package/build/component/generator/spfx/spfxGenerator.js.map +1 -1
  171. package/build/component/generator/spfx/utils/constants.d.ts +2 -0
  172. package/build/component/generator/spfx/utils/constants.d.ts.map +1 -1
  173. package/build/component/generator/spfx/utils/constants.js +2 -0
  174. package/build/component/generator/spfx/utils/constants.js.map +1 -1
  175. package/build/component/generator/spfx/utils/telemetryEvents.d.ts +2 -1
  176. package/build/component/generator/spfx/utils/telemetryEvents.d.ts.map +1 -1
  177. package/build/component/generator/spfx/utils/telemetryEvents.js +1 -0
  178. package/build/component/generator/spfx/utils/telemetryEvents.js.map +1 -1
  179. package/build/component/generator/utils.d.ts +3 -1
  180. package/build/component/generator/utils.d.ts.map +1 -1
  181. package/build/component/generator/utils.js +11 -3
  182. package/build/component/generator/utils.js.map +1 -1
  183. package/build/component/middleware/envMW.d.ts.map +1 -1
  184. package/build/component/middleware/envMW.js +9 -6
  185. package/build/component/middleware/envMW.js.map +1 -1
  186. package/build/component/resource/botService/appStudio/appStudioClient.d.ts +2 -0
  187. package/build/component/resource/botService/appStudio/appStudioClient.d.ts.map +1 -1
  188. package/build/component/resource/botService/appStudio/appStudioClient.js +46 -31
  189. package/build/component/resource/botService/appStudio/appStudioClient.js.map +1 -1
  190. package/build/component/utils/envUtil.d.ts +2 -0
  191. package/build/component/utils/envUtil.d.ts.map +1 -1
  192. package/build/component/utils/envUtil.js +22 -0
  193. package/build/component/utils/envUtil.js.map +1 -1
  194. package/build/component/utils/pathUtils.js +1 -1
  195. package/build/component/utils/pathUtils.js.map +1 -1
  196. package/build/core/FxCore.js +3 -3
  197. package/build/core/FxCore.js.map +1 -1
  198. package/build/core/collaborator.js +3 -3
  199. package/build/core/collaborator.js.map +1 -1
  200. package/build/core/middleware/projectMigratorV3.d.ts.map +1 -1
  201. package/build/core/middleware/projectMigratorV3.js +6 -1
  202. package/build/core/middleware/projectMigratorV3.js.map +1 -1
  203. package/build/error/common.d.ts +4 -0
  204. package/build/error/common.d.ts.map +1 -1
  205. package/build/error/common.js +36 -2
  206. package/build/error/common.js.map +1 -1
  207. package/build/error/teamsApp.d.ts.map +1 -1
  208. package/build/error/teamsApp.js +3 -1
  209. package/build/error/teamsApp.js.map +1 -1
  210. package/build/index.d.ts +0 -1
  211. package/build/index.d.ts.map +1 -1
  212. package/build/index.js +1 -3
  213. package/build/index.js.map +1 -1
  214. package/build/question/create.d.ts +10 -0
  215. package/build/question/create.d.ts.map +1 -1
  216. package/build/question/create.js +123 -22
  217. package/build/question/create.js.map +1 -1
  218. package/build/question/inputs/CreateProjectInputs.d.ts +4 -4
  219. package/build/question/inputs/CreateProjectInputs.d.ts.map +1 -1
  220. package/build/question/options/CreateProjectOptions.d.ts.map +1 -1
  221. package/build/question/options/CreateProjectOptions.js +11 -8
  222. package/build/question/options/CreateProjectOptions.js.map +1 -1
  223. package/build/question/other.d.ts.map +1 -1
  224. package/build/question/other.js +2 -1
  225. package/build/question/other.js.map +1 -1
  226. package/build/question/questionNames.d.ts +1 -0
  227. package/build/question/questionNames.d.ts.map +1 -1
  228. package/build/question/questionNames.js +1 -0
  229. package/build/question/questionNames.js.map +1 -1
  230. package/package.json +7 -7
  231. package/resource/package.nls.json +17 -7
  232. package/resource/yaml-schema/v1.3/yaml.schema.json +6 -43
  233. package/resource/yaml-schema/v1.4/yaml.schema.json +1588 -0
  234. package/resource/yaml-schema/yaml.schema.json +1588 -0
  235. package/templates/fallback/common.zip +0 -0
  236. package/templates/fallback/csharp.zip +0 -0
  237. package/templates/fallback/js.zip +0 -0
  238. package/templates/fallback/ts.zip +0 -0
  239. package/templates/plugins/resource/aad/auth/V3/Enable SSO.txt +1 -1
  240. package/build/common/spec-parser/adaptiveCardGenerator.d.ts +0 -7
  241. package/build/common/spec-parser/adaptiveCardGenerator.d.ts.map +0 -1
  242. package/build/common/spec-parser/adaptiveCardGenerator.js +0 -168
  243. package/build/common/spec-parser/adaptiveCardGenerator.js.map +0 -1
  244. package/build/common/spec-parser/adaptiveCardWrapper.d.ts +0 -15
  245. package/build/common/spec-parser/adaptiveCardWrapper.d.ts.map +0 -1
  246. package/build/common/spec-parser/adaptiveCardWrapper.js +0 -98
  247. package/build/common/spec-parser/adaptiveCardWrapper.js.map +0 -1
  248. package/build/common/spec-parser/constants.d.ts +0 -41
  249. package/build/common/spec-parser/constants.d.ts.map +0 -1
  250. package/build/common/spec-parser/constants.js +0 -95
  251. package/build/common/spec-parser/constants.js.map +0 -1
  252. package/build/common/spec-parser/index.browser.d.ts +0 -6
  253. package/build/common/spec-parser/index.browser.d.ts.map +0 -1
  254. package/build/common/spec-parser/index.browser.js +0 -16
  255. package/build/common/spec-parser/index.browser.js.map +0 -1
  256. package/build/common/spec-parser/index.d.ts +0 -5
  257. package/build/common/spec-parser/index.d.ts.map +0 -1
  258. package/build/common/spec-parser/index.js +0 -16
  259. package/build/common/spec-parser/index.js.map +0 -1
  260. package/build/common/spec-parser/interfaces.d.ts +0 -180
  261. package/build/common/spec-parser/interfaces.d.ts.map +0 -1
  262. package/build/common/spec-parser/interfaces.js +0 -51
  263. package/build/common/spec-parser/interfaces.js.map +0 -1
  264. package/build/common/spec-parser/manifestUpdater.d.ts +0 -7
  265. package/build/common/spec-parser/manifestUpdater.d.ts.map +0 -1
  266. package/build/common/spec-parser/manifestUpdater.js +0 -98
  267. package/build/common/spec-parser/manifestUpdater.js.map +0 -1
  268. package/build/common/spec-parser/specFilter.d.ts +0 -3
  269. package/build/common/spec-parser/specFilter.d.ts.map +0 -1
  270. package/build/common/spec-parser/specFilter.js +0 -40
  271. package/build/common/spec-parser/specFilter.js.map +0 -1
  272. package/build/common/spec-parser/specParser.browser.d.ts +0 -46
  273. package/build/common/spec-parser/specParser.browser.d.ts.map +0 -1
  274. package/build/common/spec-parser/specParser.browser.js +0 -139
  275. package/build/common/spec-parser/specParser.browser.js.map +0 -1
  276. package/build/common/spec-parser/specParser.d.ts +0 -46
  277. package/build/common/spec-parser/specParser.d.ts.map +0 -1
  278. package/build/common/spec-parser/specParser.js +0 -244
  279. package/build/common/spec-parser/specParser.js.map +0 -1
  280. package/build/common/spec-parser/specParserError.d.ts +0 -6
  281. package/build/common/spec-parser/specParserError.d.ts.map +0 -1
  282. package/build/common/spec-parser/specParserError.js +0 -13
  283. package/build/common/spec-parser/specParserError.js.map +0 -1
  284. package/build/common/spec-parser/utils.d.ts +0 -43
  285. package/build/common/spec-parser/utils.d.ts.map +0 -1
  286. package/build/common/spec-parser/utils.js +0 -587
  287. package/build/common/spec-parser/utils.js.map +0 -1
@@ -222,7 +222,8 @@
222
222
  "core.QuestionAppName.validation.maxlength": "Application name is longer than the maximum length of 30.",
223
223
  "core.QuestionAppName.validation.pathExist": "Path exists: %s. Select a different application name.",
224
224
  "core.QuestionAppName.validation.lengthWarning": "Your application name may exceed the maximum length of 30 characters because Teams Toolkit will automatically append a \"local\" suffix for the Teams application registered for local debugging purposes. You may continue, but make sure to update your application name in the \"manifest.json\" file.",
225
- "core.ProgrammingLanguageQuestion.placeholder": "Select a programming language.",
225
+ "core.ProgrammingLanguageQuestion.title": "Programming Language",
226
+ "core.ProgrammingLanguageQuestion.placeholder": "Select a programming language",
226
227
  "core.ProgrammingLanguageQuestion.placeholder.spfx": "SPFx is currently supporting TypeScript only.",
227
228
  "core.option.tutorial": "Open tutorial",
228
229
  "core.option.github": "Open a GitHub guide",
@@ -292,11 +293,13 @@
292
293
  "core.createProjectQuestion.projectType.copilotPlugin.placeholder": "Select an option",
293
294
  "core.createProjectQuestion.title": "New Project",
294
295
  "core.createProjectQuestion.capability.botMessageExtension.label": "Start with a Bot",
295
- "core.createProjectQuestion.capability.botMessageExtension.detail": "Create a Message extension using Bot Framework",
296
+ "core.createProjectQuestion.capability.botMessageExtension.detail": "Create a message extension using Bot Framework",
296
297
  "core.createProjectQuestion.capability.copilotPluginNewApiOption.label": "Start with a new API",
297
- "core.createProjectQuestion.capability.copilotPluginNewApiOption.detail": "Create a Message extension with a new API from Azure Functions",
298
+ "core.createProjectQuestion.capability.copilotPluginNewApiOption.detail": "Create an API plugin with a new API from Azure Functions",
299
+ "core.createProjectQuestion.capability.messageExtensionNewApiOption.detail": "Create a message extension with a new API from Azure Functions",
298
300
  "core.createProjectQuestion.capability.copilotPluginApiSpecOption.label": "Start with an OpenAPI Description Document",
299
- "core.createProjectQuestion.capability.copilotPluginApiSpecOption.detail": "Create a Message extension from your existing API",
301
+ "core.createProjectQuestion.capability.copilotPluginApiSpecOption.detail": "Create an API plugin from your existing API",
302
+ "core.createProjectQuestion.capability.messageExtensionApiSpecOption.detail": "Create a message extension from your existing API",
300
303
  "core.createProjectQuestion.capability.copilotPluginAIPluginOption.label": "Start with an OpenAI Plugin",
301
304
  "core.createProjectQuestion.capability.copilotPluginAIPluginOption.detail": "Convert an OpenAI Plugin to Microsoft 365 Copilot plugin",
302
305
  "core.createProjectQuestion.apiSpec.title": "OpenAPI Description Document",
@@ -306,9 +309,12 @@
306
309
  "core.createProjectQuestion.OpenAIPluginDomain.placeholder": "Enter your website domain or manifest URL",
307
310
  "core.createProjectQuestion.ApiKey": "Enter API Key in OpenAPI Description Document",
308
311
  "core.createProjectQuestion.ApiKeyConfirm": "Teams Toolkit will upload the API key to Teams Developer Portal. The API key will be used by Teams client to securely access your API in runtime when API-Based Message Extension is triggered. Teams Toolkit will not store your API key.",
312
+ "core.createProjectQuestion.apiMessageExtensionAuth.title": "Authentication Type",
313
+ "core.createProjectQuestion.apiMessageExtensionAuth.placeholder": "Select an authentication type",
309
314
  "core.createProjectQuestion.invalidApiKey.message": "Client secret is invalid. The length of secret should be >= 10 and <= 128",
310
315
  "core.createProjectQuestion.invalidUrl.message": "Enter a valid HTTP URL without authentication to access your OpenAPI description document.",
311
316
  "core.createProjectQuestion.apiSpec.operation.title": "Select Operation(s) Teams Can Interact with",
317
+ "core.createProjectQuestion.apiSpec.copilotOperation.title": "Select Operation(s) Copilot Can Interact with",
312
318
  "core.createProjectQuestion.apiSpec.operation.placeholder": "GET/POST methods with at most one required parameter and no auth are listed",
313
319
  "core.createProjectQuestion.apiSpec.operation.apikey.placeholder": "GET/POST methods with at most one required parameter and API key are listed",
314
320
  "core.createProjectQuestion.apiSpec.operation.invalidMessage": "%s API(s) selected. You can select at least one and at most %s APIs.",
@@ -342,8 +348,10 @@
342
348
  "core.QuestionNewResourceGroupLocation.title": "Location for the new resource group",
343
349
  "core.QuestionNewResourceGroupLocation.group.recommended": "Recommended",
344
350
  "core.QuestionNewResourceGroupLocation.group.others": "Others",
345
- "core.question.workspaceFolder.title": "Workspace folder",
351
+ "core.question.workspaceFolder.title": "Workspace Folder",
346
352
  "core.question.workspaceFolder.placeholder": "Select the folder that will contain your project root folder",
353
+ "core.question.appName.title": "Application Name",
354
+ "core.question.appName.placeholder": "Input an application name",
347
355
  "core.ScratchOptionYes.label": "Create a new app",
348
356
  "core.ScratchOptionYes.detail": "Use the Teams Toolkit to create a new Teams application.",
349
357
  "core.ScratchOptionNo.label": "Start from a sample",
@@ -414,7 +422,7 @@
414
422
  "core.common.OutlookWebClientName2": "Outlook web access client id 2",
415
423
  "core.common.CancelledMessage": "Operation is cancelled.",
416
424
  "core.common.SwaggerNotSupported": "Swagger 2.0 is not supported. Please convert it to OpenAPI 3.0 first.",
417
- "core.common.NoServerInformation": "No server information is found in the OpenAPI description document.",
425
+ "core.common.NoServerInformation": "No server information is found in the OpenAPI description document.",
418
426
  "core.common.RemoteRefNotSupported": "Remote reference is not supported: %s.",
419
427
  "core.common.MissingOperationId": "Missing operationIds: %s.",
420
428
  "core.common.NoSupportedApi": "No supported API is found in the OpenAPI description document: only GET and POST methods are supported, additionally, there can be at most one required parameter, and no auth is allowed. \nFor more information visit: \"https://aka.ms/build-api-based-message-extension\".",
@@ -657,6 +665,8 @@
657
665
  "error.common.HttpServerError": "A http server error happened while performing the %s task. Please try again later. The error response is: %s",
658
666
  "error.common.AccessGithubError": "Access GitHub (%s) Error: %s",
659
667
  "error.common.ConcurrentError": "Previous task is still running. Wait until your previous task is finished and try again.",
668
+ "error.common.NetworkError": "Network error: %s",
669
+ "error.common.NetworkError.EAI_AGAIN": "DNS cannot resolve domain %s.",
660
670
  "error.upgrade.NoNeedUpgrade": "This project is already the latest, no need to upgrade.",
661
671
  "error.collaboration.InvalidManifestError": "Unable to process your manifest file ('%s') due to the absence of the 'id' key. To identify your application correctly, please make sure that the 'id' key is present in the manifest file.",
662
672
  "error.collaboration.FailedToLoadManifest": "Unable to load manifest file. Reason: %s.",
@@ -709,7 +719,7 @@
709
719
  "driver.apiKey.log.skipCreateApiKey": "Environment variable %s exists. Skip creating API key.",
710
720
  "driver.apiKey.log.apiKeyNotFound": "Environment variable %s exists but failed to retrieve API key from Developer Portal. Check manually if API key exists.",
711
721
  "driver.apiKey.error.nameTooLong": "The name for API key is too long. The maximum length is 128.",
712
- "driver.apiKey.error.clientSecretInvalid": "Client secret is invalid. Client secret should follow: 1. Max %d secrets per API key. 2. Use comma to separate secrets. 3. Length of every secret >= 10 and <= 128",
722
+ "driver.apiKey.error.clientSecretInvalid": "Client secret is invalid. The length of client secret should be in this range: >=10 and <=128",
713
723
  "driver.apiKey.error.domainInvalid": "Domain is invalid. Domain for API key should follow: 1. Max %d domain per API key. 2. Use comma to separate domains",
714
724
  "driver.apiKey.error.failedToGetDomain": "Failed to get domain from API specification. Please make sure your API specification is valid.",
715
725
  "driver.apiKey.log.successCreateApiKey": "Created API key with id %s",
@@ -10,7 +10,7 @@
10
10
  "environmentFolderPath": {
11
11
  "type": "string",
12
12
  "description": "The folder path of .env files used for variables and different envrironments."
13
- },
13
+ },
14
14
  "version": {
15
15
  "type": "string",
16
16
  "description": "The version of the yaml file schema",
@@ -71,8 +71,7 @@
71
71
  { "$ref": "#/definitions/spfxDeploy" },
72
72
  { "$ref": "#/definitions/teamsAppCopyAppPackageToSPFx" },
73
73
  { "$ref": "#/definitions/script" },
74
- { "$ref": "#/definitions/apiKeyRegister"},
75
- { "$ref": "#/definitions/azureStaticWebAppGetDeploymentKey"}
74
+ { "$ref": "#/definitions/apiKeyRegister"}
76
75
  ]
77
76
  }
78
77
  },
@@ -1435,11 +1434,12 @@
1435
1434
  },
1436
1435
  "workingDirectory": {
1437
1436
  "type": "string",
1438
- "description": "Current working directory. Defaults to the directory of this file."
1437
+ "description": "current working directory. Defaults to the directory of this file."
1439
1438
  },
1440
1439
  "shell": {
1441
1440
  "type": "string",
1442
- "description": "Shell command. If not specified, use default shell for current platform. The rule is: 1) use the value of the 'SHELL' environment variable if it is set. Otherwise the shell depends on operation system: 2) on macOS, use '/bin/zsh' if it exists, otherwise use '/bin/bash'; 3) On Windows, use the value of the 'ComSpec' environment variable if it exists, otherwise use 'cmd.exe'; 4) On Linux or other OS, use '/bin/sh' if it extis."
1441
+ "enum": ["bash", "sh", "powershell", "pwsh", "cmd"],
1442
+ "description": "The shell type. Can be omitted. If omitted, it defaults to bash on Linux/MacOS, defaults to pwsh on windows."
1443
1443
  },
1444
1444
  "timeout": {
1445
1445
  "type": "number",
@@ -1542,43 +1542,6 @@
1542
1542
  }
1543
1543
  }
1544
1544
  }
1545
- },
1546
- "azureStaticWebAppGetDeploymentKey": {
1547
- "type": "object",
1548
- "additionalProperties": false,
1549
- "description": "Get deployment key from Azure Static Web App.",
1550
- "required": ["uses", "with", "writeToEnvironmentFile"],
1551
- "properties": {
1552
- "uses": {
1553
- "type": "string",
1554
- "description": "Get deployment key. Refer to https://aka.ms/teamsfx-actions/swa-get-deployment-key for more details.",
1555
- "const": "azureStaticWebApps/getDeploymentToken"
1556
- },
1557
- "with": {
1558
- "type": "object",
1559
- "additionalProperties": false,
1560
- "description": "Parameters for this action",
1561
- "required": ["resourceId"],
1562
- "properties": {
1563
- "resourceId": {
1564
- "type": "string",
1565
- "description": "The resource ID of Azure Static Web App."
1566
- }
1567
- }
1568
- },
1569
- "writeToEnvironmentFile": {
1570
- "type": "object",
1571
- "additionalProperties": false,
1572
- "description": "Write environment variables to environment file",
1573
- "required": ["deploymentToken"],
1574
- "properties": {
1575
- "deploymentToken": {
1576
- "description": "Required. The deployment token of Azure Static Web App.",
1577
- "$ref": "#/definitions/envVarName"
1578
- }
1579
- }
1580
- }
1581
- }
1582
1545
  }
1583
1546
  }
1584
- }
1547
+ }