@microsoft/teamsfx-core 2.0.10-alpha.e08ff04cf.0 → 2.0.10-alpha.e185efa53.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.
- package/build/common/correlator.d.ts +1 -0
- package/build/common/correlator.d.ts.map +1 -1
- package/build/common/correlator.js +6 -1
- package/build/common/correlator.js.map +1 -1
- package/build/common/featureFlags.d.ts +2 -7
- package/build/common/featureFlags.d.ts.map +1 -1
- package/build/common/featureFlags.js +5 -4
- package/build/common/featureFlags.js.map +1 -1
- package/build/common/globalState.js +1 -1
- package/build/common/globalState.js.map +1 -1
- package/build/common/globalVars.d.ts +1 -0
- package/build/common/globalVars.d.ts.map +1 -1
- package/build/common/globalVars.js +2 -1
- package/build/common/globalVars.js.map +1 -1
- package/build/common/stringUtils.d.ts +3 -5
- package/build/common/stringUtils.d.ts.map +1 -1
- package/build/common/stringUtils.js +12 -14
- package/build/common/stringUtils.js.map +1 -1
- package/build/common/templates-config.json +1 -1
- package/build/component/developerPortalScaffoldUtils.js +1 -1
- package/build/component/developerPortalScaffoldUtils.js.map +1 -1
- package/build/component/driver/aad/create.d.ts.map +1 -1
- package/build/component/driver/aad/create.js +9 -1
- package/build/component/driver/aad/create.js.map +1 -1
- package/build/component/driver/aad/utility/constants.d.ts +1 -0
- package/build/component/driver/aad/utility/constants.d.ts.map +1 -1
- package/build/component/driver/aad/utility/constants.js +1 -0
- package/build/component/driver/aad/utility/constants.js.map +1 -1
- package/build/component/driver/apiKey/create.d.ts.map +1 -1
- package/build/component/driver/apiKey/create.js +4 -1
- package/build/component/driver/apiKey/create.js.map +1 -1
- package/build/component/driver/apiKey/error/apiKeyFromScratchClientSecretInvalid.d.ts +5 -0
- package/build/component/driver/apiKey/error/apiKeyFromScratchClientSecretInvalid.d.ts.map +1 -0
- package/build/component/driver/apiKey/error/apiKeyFromScratchClientSecretInvalid.js +21 -0
- package/build/component/driver/apiKey/error/apiKeyFromScratchClientSecretInvalid.js.map +1 -0
- package/build/component/driver/apiKey/utility/constants.d.ts +1 -1
- package/build/component/driver/apiKey/utility/constants.js +1 -1
- package/build/component/driver/botAadApp/create.d.ts.map +1 -1
- package/build/component/driver/botAadApp/create.js +10 -1
- package/build/component/driver/botAadApp/create.js.map +1 -1
- package/build/component/driver/botAadApp/utility/constants.d.ts +1 -0
- package/build/component/driver/botAadApp/utility/constants.d.ts.map +1 -1
- package/build/component/driver/botAadApp/utility/constants.js +1 -0
- package/build/component/driver/botAadApp/utility/constants.js.map +1 -1
- package/build/component/driver/middleware/addSWADeployTelemetry.js +1 -1
- package/build/component/driver/middleware/addSWADeployTelemetry.js.map +1 -1
- package/build/component/driver/oauth/utility/constants.d.ts +1 -1
- package/build/component/driver/oauth/utility/constants.js +1 -1
- package/build/component/driver/script/scriptDriver.js +6 -6
- package/build/component/driver/script/scriptDriver.js.map +1 -1
- package/build/component/driver/teamsApp/constants.d.ts +12 -0
- package/build/component/driver/teamsApp/constants.d.ts.map +1 -1
- package/build/component/driver/teamsApp/constants.js +129 -1
- package/build/component/driver/teamsApp/constants.js.map +1 -1
- package/build/component/driver/teamsApp/utils/ManifestUtils.d.ts.map +1 -1
- package/build/component/driver/teamsApp/utils/ManifestUtils.js +11 -11
- package/build/component/driver/teamsApp/utils/ManifestUtils.js.map +1 -1
- package/build/component/generator/apiSpec/generator.d.ts +0 -6
- package/build/component/generator/apiSpec/generator.d.ts.map +1 -1
- package/build/component/generator/apiSpec/generator.js +46 -154
- package/build/component/generator/apiSpec/generator.js.map +1 -1
- package/build/component/generator/apiSpec/helper.d.ts.map +1 -1
- package/build/component/generator/apiSpec/helper.js +6 -2
- package/build/component/generator/apiSpec/helper.js.map +1 -1
- package/build/component/generator/copilotExtensionFromScratch/generator.d.ts +13 -0
- package/build/component/generator/copilotExtensionFromScratch/generator.d.ts.map +1 -0
- package/build/component/generator/copilotExtensionFromScratch/generator.js +60 -0
- package/build/component/generator/copilotExtensionFromScratch/generator.js.map +1 -0
- package/build/component/generator/error.d.ts +1 -1
- package/build/component/generator/error.d.ts.map +1 -1
- package/build/component/generator/error.js +2 -2
- package/build/component/generator/error.js.map +1 -1
- package/build/component/generator/generator.js +1 -1
- package/build/component/generator/generator.js.map +1 -1
- package/build/component/generator/generatorProvider.d.ts.map +1 -1
- package/build/component/generator/generatorProvider.js +4 -2
- package/build/component/generator/generatorProvider.js.map +1 -1
- package/build/component/generator/officeAddin/generator.d.ts.map +1 -1
- package/build/component/generator/officeAddin/generator.js +7 -0
- package/build/component/generator/officeAddin/generator.js.map +1 -1
- package/build/component/generator/spfx/spfxGenerator.d.ts.map +1 -1
- package/build/component/generator/spfx/spfxGenerator.js +4 -4
- package/build/component/generator/spfx/spfxGenerator.js.map +1 -1
- package/build/component/generator/templates/templateNames.d.ts.map +1 -1
- package/build/component/generator/templates/templateNames.js +8 -19
- package/build/component/generator/templates/templateNames.js.map +1 -1
- package/build/core/FxCore.js +1 -1
- package/build/core/FxCore.js.map +1 -1
- package/build/core/middleware/concurrentLocker.js +1 -1
- package/build/core/middleware/concurrentLocker.js.map +1 -1
- package/build/error/teamsApp.d.ts.map +1 -1
- package/build/error/teamsApp.js +3 -1
- package/build/error/teamsApp.js.map +1 -1
- package/build/index.d.ts +1 -0
- package/build/index.d.ts.map +1 -1
- package/build/index.js +3 -1
- package/build/index.js.map +1 -1
- package/build/question/constants.d.ts +18 -13
- package/build/question/constants.d.ts.map +1 -1
- package/build/question/constants.js +80 -64
- package/build/question/constants.js.map +1 -1
- package/build/question/create.d.ts.map +1 -1
- package/build/question/create.js +73 -35
- package/build/question/create.js.map +1 -1
- package/build/question/inputs/CreateProjectInputs.d.ts +5 -1
- package/build/question/inputs/CreateProjectInputs.d.ts.map +1 -1
- package/build/question/options/CreateProjectOptions.d.ts.map +1 -1
- package/build/question/options/CreateProjectOptions.js +16 -4
- package/build/question/options/CreateProjectOptions.js.map +1 -1
- package/build/question/other.js +2 -2
- package/build/tsconfig.tsbuildinfo +1 -0
- package/package.json +7 -7
- package/resource/package.nls.json +22 -12
- package/templates/fallback/common.zip +0 -0
- package/templates/fallback/csharp.zip +0 -0
- package/templates/fallback/js.zip +0 -0
- package/templates/fallback/python.zip +0 -0
- package/templates/fallback/ts.zip +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/teamsfx-core",
|
|
3
|
-
"version": "2.0.10-alpha.
|
|
3
|
+
"version": "2.0.10-alpha.e185efa53.0",
|
|
4
4
|
"main": "build/index.js",
|
|
5
5
|
"types": "build/index.d.ts",
|
|
6
6
|
"license": "MIT",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"test:tdpClient": "nyc mocha \"tests/client/tdpClient.test.ts\"",
|
|
72
72
|
"clean": "rm -rf build",
|
|
73
73
|
"prebuild": "npm run gen:cli",
|
|
74
|
-
"build": "
|
|
74
|
+
"build": "tsc -p ./ --incremental",
|
|
75
75
|
"lint:fix": "eslint --fix \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
76
76
|
"prepublishOnly": "npm run build",
|
|
77
77
|
"package": "rimraf build && webpack --mode production --config ./webpack.config.js",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"installAll": "npm run install:tabs",
|
|
82
82
|
"checkUnusedStrings": "node ./scripts/find-unused-strings.js ./resource/package.nls.json ./src || exit 1",
|
|
83
83
|
"clean:strings": "node ./scripts/delete-unused-strings.js ./resource/package.nls.json ./src",
|
|
84
|
-
"gen:cli": "npx
|
|
84
|
+
"gen:cli": "npx tsx ./src/question/generator.ts && npx prettier --write \"src/question/options/*.ts\" && npx prettier --write \"src/question/inputs/*.ts\""
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
87
|
"@apidevtools/swagger-parser": "^10.1.0",
|
|
@@ -96,8 +96,8 @@
|
|
|
96
96
|
"@feathersjs/hooks": "^0.6.5",
|
|
97
97
|
"@microsoft/dev-tunnels-contracts": "1.1.9",
|
|
98
98
|
"@microsoft/dev-tunnels-management": "1.1.9",
|
|
99
|
-
"@microsoft/m365-spec-parser": "^0.2.2-alpha.
|
|
100
|
-
"@microsoft/teamsfx-api": "0.23.2-alpha.
|
|
99
|
+
"@microsoft/m365-spec-parser": "^0.2.2-alpha.e185efa53.0",
|
|
100
|
+
"@microsoft/teamsfx-api": "0.23.2-alpha.e185efa53.0",
|
|
101
101
|
"adm-zip": "^0.5.10",
|
|
102
102
|
"ajv": "^8.5.0",
|
|
103
103
|
"axios": "^1.6.8",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"klaw": "^3.0.0",
|
|
119
119
|
"md5": "^2.3.0",
|
|
120
120
|
"mime": "^2.5.2",
|
|
121
|
-
"mustache": "^4.
|
|
121
|
+
"mustache": "^4.1.0",
|
|
122
122
|
"node-fetch": "2.7.0",
|
|
123
123
|
"node-forge": "^1.3.1",
|
|
124
124
|
"office-addin-manifest": "^1.13.1",
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
"resource/**/*",
|
|
213
213
|
"templates/**/*"
|
|
214
214
|
],
|
|
215
|
-
"gitHead": "
|
|
215
|
+
"gitHead": "bca97cdcce4a05fb4ed46645bd78ed001c8eb195",
|
|
216
216
|
"publishConfig": {
|
|
217
217
|
"access": "public"
|
|
218
218
|
},
|
|
@@ -261,6 +261,7 @@
|
|
|
261
261
|
"core.copilotPlugin.validate.apiSpec.summary": "Teams Toolkit has checked your OpenAPI description document:\n\nSummary:\n%s.\n%s\n%s",
|
|
262
262
|
"core.copilotPlugin.validate.summary.validate.failed": "%s failed",
|
|
263
263
|
"core.copilotPlugin.validate.summary.validate.warning": "%s warning",
|
|
264
|
+
"core.copilotPlugin.list.unsupportedBecause": "is unsupported because:",
|
|
264
265
|
"core.copilotPlugin.scaffold.summary": "We have detected the following issues for your OpenAPI description document:\n%s",
|
|
265
266
|
"core.copilotPlugin.scaffold.summary.warning.operationId": "%s Mitigation: Not required, operationId has been automatically generated and added into \"%s\" file.",
|
|
266
267
|
"core.copilotPlugin.scaffold.summary.warning.swaggerVersion": "The OpenAPI description document is on Swagger version 2.0. Mitigation: Not required. The content has been converted to OpenAPI 3.0 and saved in \"%s\".",
|
|
@@ -293,11 +294,13 @@
|
|
|
293
294
|
"core.createProjectQuestion.projectType.officeAddin.framework.placeholder": "Select a framework",
|
|
294
295
|
"core.createProjectQuestion.projectType.tab.detail": "Embed your own web content in Teams, Outlook, and the Microsoft 365 app",
|
|
295
296
|
"core.createProjectQuestion.projectType.tab.title": "App Features Using a Tab",
|
|
297
|
+
"core.createProjectQuestion.projectType.copilotExtension.label": "Copilot Extension",
|
|
298
|
+
"core.createProjectQuestion.projectType.copilotExtension.title": "App Features using Copilot Extension",
|
|
299
|
+
"core.createProjectQuestion.projectType.copilotExtension.detail": "Create declarative Copilot, API plugin, or both with Microsoft Copilot orchestrator and LLM.",
|
|
296
300
|
"core.createProjectQuestion.projectType.copilotPlugin.detail": "Create a plugin to extend Microsoft Copilot for Microsoft 365 using your APIs",
|
|
297
301
|
"core.createProjectQuestion.projectType.copilotPlugin.label": "API Plugin",
|
|
298
|
-
"core.createProjectQuestion.projectType.
|
|
299
|
-
"core.createProjectQuestion.projectType.
|
|
300
|
-
"core.createProjectQuestion.projectType.customCopilot.detail": "Build intelligent chatbot in Microsoft Teams easily using Teams AI Library",
|
|
302
|
+
"core.createProjectQuestion.projectType.copilotExtension.placeholder": "Select an option",
|
|
303
|
+
"core.createProjectQuestion.projectType.customCopilot.detail": "Build intelligent chatbot with Teams AI Library where you manage orchestration and provide your own LLM.",
|
|
301
304
|
"core.createProjectQuestion.projectType.customCopilot.label": "Custom Engine Copilot",
|
|
302
305
|
"core.createProjectQuestion.projectType.customCopilot.title": "App Features Using Teams AI Library",
|
|
303
306
|
"core.createProjectQuestion.projectType.customCopilot.placeholder": "Select an option",
|
|
@@ -306,7 +309,7 @@
|
|
|
306
309
|
"core.createProjectQuestion.projectType.copilotGroup.title": "Use Copilot",
|
|
307
310
|
"core.createProjectQuestion.projectType.createGroup.title": "Create",
|
|
308
311
|
"core.createProjectQuestion.projectType.declarativeCopilot.label": "Declarative Copilot",
|
|
309
|
-
"core.createProjectQuestion.projectType.declarativeCopilot.
|
|
312
|
+
"core.createProjectQuestion.projectType.declarativeCopilot.detail": "Create your own Copilot by declaring instructions, actions, & knowledge to suit your needs.",
|
|
310
313
|
"core.createProjectQuestion.title": "New Project",
|
|
311
314
|
"core.createProjectQuestion.capability.botMessageExtension.label": "Start with a Bot",
|
|
312
315
|
"core.createProjectQuestion.capability.botMessageExtension.detail": "Create a message extension using Bot Framework",
|
|
@@ -338,11 +341,6 @@
|
|
|
338
341
|
"core.createProjectQuestion.capability.customCopilotAssistantAssistantsApiOption.detail": "Build an AI agent with OpenAI Assistants API and Teams AI Library",
|
|
339
342
|
"core.createProjectQuestion.capability.customCopilotAssistant.title": "AI Agent",
|
|
340
343
|
"core.createProjectQuestion.capability.customCopilotAssistant.placeholder": "Choose how you want to manage your AI tasks",
|
|
341
|
-
"core.createProjectQuestion.capability.declarativeCopilotBasic.title": "Basic Declarative Copilot",
|
|
342
|
-
"core.createProjectQuestion.capability.declarativeCopilotBasic.detail": "A declarative Copilot skeleton you can author without any plugin",
|
|
343
|
-
"core.createProjectQuestion.capability.declarativeCopilotWithPlugin.title": "Declarative Copilot with a plugin using Azure Functions",
|
|
344
|
-
"core.createProjectQuestion.capability.declarativeCopilotWithPlugin.detail": "A declarative Copilot containing an API plugin with a new API from Azure Functions",
|
|
345
|
-
"core.createProjectQuestion.declarativeCopilotType.title": "Choose Declarative Copilot Type",
|
|
346
344
|
"core.createProjectQuestion.llmService.title": "Service for Large Language Model (LLM)",
|
|
347
345
|
"core.createProjectQuestion.llmService.placeholder": "Select a service to access LLMs",
|
|
348
346
|
"core.createProjectQuestion.llmServiceOpenAIOption.label": "OpenAI",
|
|
@@ -367,11 +365,12 @@
|
|
|
367
365
|
"core.createProjectQuestion.OauthClientSecretConfirm": "Teams Toolkit uploads the client id/secret for OAuth Registration to Teams Developer Portal. It is used by Teams client to securely access your API at runtime. Teams Toolkit doesn't store your client id/secret.",
|
|
368
366
|
"core.createProjectQuestion.apiMessageExtensionAuth.title": "Authentication Type",
|
|
369
367
|
"core.createProjectQuestion.apiMessageExtensionAuth.placeholder": "Select an authentication type",
|
|
370
|
-
"core.createProjectQuestion.invalidApiKey.message": "
|
|
368
|
+
"core.createProjectQuestion.invalidApiKey.message": "Invalid client secret. It should be 10 to 512 characters long.",
|
|
371
369
|
"core.createProjectQuestion.invalidUrl.message": "Enter a valid HTTP URL without authentication to access your OpenAPI description document.",
|
|
372
370
|
"core.createProjectQuestion.apiSpec.operation.title": "Select Operation(s) Teams Can Interact with",
|
|
373
371
|
"core.createProjectQuestion.apiSpec.copilotOperation.title": "Select Operation(s) Copilot Can Interact with",
|
|
374
372
|
"core.createProjectQuestion.apiSpec.operation.apikey.placeholder": "GET/POST methods with at most 5 required parameter and API key are listed",
|
|
373
|
+
"core.createProjectQuestion.apiSpec.operation.plugin.placeholder": "Unsupported APIs are not listed, check the output channel for reasons",
|
|
375
374
|
"core.createProjectQuestion.apiSpec.operation.invalidMessage": "%s API(s) selected. You can select at least one and at most %s APIs.",
|
|
376
375
|
"core.createProjectQuestion.apiSpec.operation.multipleAuth": "Your selected APIs have multiple authorizations %s which are not supported.",
|
|
377
376
|
"core.createProjectQuestion.apiSpec.operation.multipleServer": "Your selected APIs have multiple server URLs %s which are not supported.",
|
|
@@ -379,6 +378,15 @@
|
|
|
379
378
|
"core.createProjectQuestion.apiSpec.multipleValidationErrors.message": "Incompatible OpenAPI description document. Check output panel for details.",
|
|
380
379
|
"core.createProjectQuestion.apiSpec.multipleValidationErrors.vscode.message": "Incompatible OpenAPI description document. Check [output panel](command:fx-extension.showOutputChannel) for details.",
|
|
381
380
|
"core.createProjectQuestion.meArchitecture.title": "Architecture of Search Based Message Extension",
|
|
381
|
+
"core.createProjectQuestion.declarativeCopilot.title": "Create Declarative Copilot",
|
|
382
|
+
"core.createProjectQuestion.declarativeCopilot.placeholder": "Add API plugin to your declarative Copilot",
|
|
383
|
+
"core.createProjectQuestion.createApiPlugin.title": "Create API Plugin",
|
|
384
|
+
"core.createProjectQuestion.addApiPlugin.title": "Add API Plugin",
|
|
385
|
+
"core.createProjectQuestion.addApiPlugin.placeholder": "Select how to add plugin",
|
|
386
|
+
"core.createProjectQuestion.noPlugin.label": "No plugin",
|
|
387
|
+
"core.createProjectQuestion.noPlugin.detail": "Create declarative Copilot only",
|
|
388
|
+
"core.createProjectQuestion.addPlugin.label": "Add plugin",
|
|
389
|
+
"core.createProjectQuestion.addPlugin.detail": "Create declarative Copilot with API plugin",
|
|
382
390
|
"core.aiAssistantBotOption.label": "AI Agent Bot",
|
|
383
391
|
"core.aiAssistantBotOption.detail": "A custom AI Agent bot in Teams using Teams AI library and OpenAI Assistants API",
|
|
384
392
|
"core.aiBotOption.label": "AI Chat Bot",
|
|
@@ -642,6 +650,7 @@
|
|
|
642
650
|
"driver.aadApp.log.skipGenerateClientSecret": "Environment variable %s already exist, skipping Microsoft Entra app client secret generation step.",
|
|
643
651
|
"driver.aadApp.log.outputAadAppManifest": "Build Microsoft Entra app manifest completed, and app manifest content is written to %s",
|
|
644
652
|
"driver.aadApp.log.successUpdateAadAppManifest": "Applied manifest %s to Microsoft Entra application with object id %s",
|
|
653
|
+
"driver.aadApp.log.deleteAadAfterDebugging": " (Teams toolkit will delete the Microsoft Entra application after debugging)",
|
|
645
654
|
"botRegistration.ProgressBar.creatingBotAadApp": "Creating bot Microsoft Entra app...",
|
|
646
655
|
"botRegistration.log.startCreateBotAadApp": "Creating bot Microsoft Entra app.",
|
|
647
656
|
"botRegistration.log.successCreateBotAadApp": "Bot Microsoft Entra app created successfully.",
|
|
@@ -849,9 +858,10 @@
|
|
|
849
858
|
"driver.apiKey.log.skipCreateApiKey": "Environment variable %s exists. Skip creating API key.",
|
|
850
859
|
"driver.apiKey.log.apiKeyNotFound": "Environment variable %s exists but unable to retrieve API key from Developer Portal. Check manually if API key exists.",
|
|
851
860
|
"driver.apiKey.error.nameTooLong": "The name for API key is too long. The maximum character length is 128.",
|
|
852
|
-
"driver.apiKey.error.clientSecretInvalid": "
|
|
853
|
-
"driver.apiKey.error.domainInvalid": "
|
|
861
|
+
"driver.apiKey.error.clientSecretInvalid": "Invalid client secret. It should be 10 to 512 characters long.",
|
|
862
|
+
"driver.apiKey.error.domainInvalid": "Invalid domain. Please follow these rules: 1. Max %d domain(s) per API key. 2. Use comma to separate domains.",
|
|
854
863
|
"driver.apiKey.error.failedToGetDomain": "Unable to get domain from API specification. Make sure your API specification is valid.",
|
|
864
|
+
"driver.apiKey.error.clientSecretFromScratchInvalid": "Invalid client secret. If you start with a new API, refer to the README file for details.",
|
|
855
865
|
"driver.apiKey.log.successCreateApiKey": "Created API key with id %s",
|
|
856
866
|
"driver.apiKey.log.failedExecuteDriver": "Unable to execute action %s. Error message: %s",
|
|
857
867
|
"driver.oauth.description.create": "Create an OAuth registration on Developer Portal for authentication in Open API spec.",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|