@microsoft/teamsfx-core 3.1.3 → 3.1.4-alpha.26ce7a8dda.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/templates-config.json +4 -4
- package/build/component/configManager/actionInjector.d.ts +13 -3
- package/build/component/configManager/actionInjector.d.ts.map +1 -1
- package/build/component/configManager/actionInjector.js +88 -5
- package/build/component/configManager/actionInjector.js.map +1 -1
- package/build/component/driver/teamsApp/utils/utils.d.ts.map +1 -1
- package/build/component/driver/teamsApp/utils/utils.js +1 -18
- package/build/component/driver/teamsApp/utils/utils.js.map +1 -1
- package/build/component/generator/openApiSpec/helper.d.ts +2 -2
- package/build/component/generator/openApiSpec/helper.d.ts.map +1 -1
- package/build/component/generator/openApiSpec/helper.js +65 -5
- package/build/component/generator/openApiSpec/helper.js.map +1 -1
- package/build/component/generator/openPlugin/authResolver.d.ts +2 -2
- package/build/component/generator/openPlugin/authResolver.d.ts.map +1 -1
- package/build/component/generator/openPlugin/authResolver.js +17 -7
- package/build/component/generator/openPlugin/authResolver.js.map +1 -1
- package/build/component/generator/openPlugin/errors.d.ts +4 -0
- package/build/component/generator/openPlugin/errors.d.ts.map +1 -0
- package/build/component/generator/openPlugin/errors.js +13 -0
- package/build/component/generator/openPlugin/errors.js.map +1 -0
- package/build/component/generator/openPlugin/exporter.d.ts +9 -6
- package/build/component/generator/openPlugin/exporter.d.ts.map +1 -1
- package/build/component/generator/openPlugin/exporter.js +502 -53
- package/build/component/generator/openPlugin/exporter.js.map +1 -1
- package/build/component/generator/openPlugin/fileSystem.d.ts +28 -0
- package/build/component/generator/openPlugin/fileSystem.d.ts.map +1 -0
- package/build/component/generator/openPlugin/fileSystem.js +181 -0
- package/build/component/generator/openPlugin/fileSystem.js.map +1 -0
- package/build/component/generator/openPlugin/iconStrategy.d.ts.map +1 -1
- package/build/component/generator/openPlugin/iconStrategy.js +30 -14
- package/build/component/generator/openPlugin/iconStrategy.js.map +1 -1
- package/build/component/generator/openPlugin/importer.d.ts.map +1 -1
- package/build/component/generator/openPlugin/importer.js +75 -12
- package/build/component/generator/openPlugin/importer.js.map +1 -1
- package/build/component/generator/openPlugin/mapper.d.ts +3 -2
- package/build/component/generator/openPlugin/mapper.d.ts.map +1 -1
- package/build/component/generator/openPlugin/mapper.js +188 -29
- package/build/component/generator/openPlugin/mapper.js.map +1 -1
- package/build/component/generator/openPlugin/parser.d.ts.map +1 -1
- package/build/component/generator/openPlugin/parser.js +264 -70
- package/build/component/generator/openPlugin/parser.js.map +1 -1
- package/build/component/generator/openPlugin/skillValidation.d.ts +2 -0
- package/build/component/generator/openPlugin/skillValidation.d.ts.map +1 -0
- package/build/component/generator/openPlugin/skillValidation.js +63 -0
- package/build/component/generator/openPlugin/skillValidation.js.map +1 -0
- package/build/component/generator/openPlugin/spec.d.ts +67 -0
- package/build/component/generator/openPlugin/spec.d.ts.map +1 -0
- package/build/component/generator/openPlugin/spec.js +157 -0
- package/build/component/generator/openPlugin/spec.js.map +1 -0
- package/build/component/generator/openPlugin/textUtils.d.ts +1 -1
- package/build/component/generator/openPlugin/textUtils.d.ts.map +1 -1
- package/build/component/generator/openPlugin/textUtils.js +8 -7
- package/build/component/generator/openPlugin/textUtils.js.map +1 -1
- package/build/component/generator/openPlugin/types.d.ts +76 -14
- package/build/component/generator/openPlugin/types.d.ts.map +1 -1
- package/build/component/generator/openPlugin/validation.d.ts +17 -0
- package/build/component/generator/openPlugin/validation.d.ts.map +1 -0
- package/build/component/generator/openPlugin/validation.js +563 -0
- package/build/component/generator/openPlugin/validation.js.map +1 -0
- package/build/component/utils/common.d.ts +1 -9
- package/build/component/utils/common.d.ts.map +1 -1
- package/build/component/utils/common.js +7 -37
- package/build/component/utils/common.js.map +1 -1
- package/build/component/utils/envFunctionUtils.d.ts +3 -8
- package/build/component/utils/envFunctionUtils.d.ts.map +1 -1
- package/build/component/utils/envFunctionUtils.js +46 -131
- package/build/component/utils/envFunctionUtils.js.map +1 -1
- package/build/component/utils/envUtil.d.ts.map +1 -1
- package/build/component/utils/envUtil.js +7 -6
- package/build/component/utils/envUtil.js.map +1 -1
- package/build/component/utils/mcpAuthScaffolder.d.ts +6 -0
- package/build/component/utils/mcpAuthScaffolder.d.ts.map +1 -1
- package/build/component/utils/mcpAuthScaffolder.js +17 -7
- package/build/component/utils/mcpAuthScaffolder.js.map +1 -1
- package/build/core/FxCore.d.ts +3 -2
- package/build/core/FxCore.d.ts.map +1 -1
- package/build/core/FxCore.declarativeAgent.d.ts +8 -2
- package/build/core/FxCore.declarativeAgent.d.ts.map +1 -1
- package/build/core/FxCore.declarativeAgent.js +109 -6
- package/build/core/FxCore.declarativeAgent.js.map +1 -1
- package/build/core/FxCore.js +42 -3
- package/build/core/FxCore.js.map +1 -1
- package/build/core/FxCore.openPlugin.d.ts +7 -6
- package/build/core/FxCore.openPlugin.d.ts.map +1 -1
- package/build/core/FxCore.openPlugin.js +7 -6
- package/build/core/FxCore.openPlugin.js.map +1 -1
- package/build/error/common.d.ts +9 -0
- package/build/error/common.d.ts.map +1 -1
- package/build/error/common.js +40 -1
- package/build/error/common.js.map +1 -1
- package/build/question/generator.d.ts.map +1 -1
- package/build/question/generator.js +9 -9
- package/build/question/generator.js.map +1 -1
- package/build/question/inputs/AddAuthActionInputs.d.ts +6 -0
- package/build/question/inputs/AddAuthActionInputs.d.ts.map +1 -1
- package/build/question/inputs/AddPluginInputs.d.ts +15 -1
- package/build/question/inputs/AddPluginInputs.d.ts.map +1 -1
- package/build/question/options/AddAuthActionOptions.d.ts.map +1 -1
- package/build/question/options/AddAuthActionOptions.js +19 -0
- package/build/question/options/AddAuthActionOptions.js.map +1 -1
- package/build/question/options/AddPluginOptions.d.ts.map +1 -1
- package/build/question/options/AddPluginOptions.js +45 -1
- package/build/question/options/AddPluginOptions.js.map +1 -1
- package/build/question/options/ExportOpenPluginOptions.js +2 -2
- package/build/question/options/ExportOpenPluginOptions.js.map +1 -1
- package/build/question/options/ImportOpenPluginOptions.js +4 -4
- package/build/question/options/ImportOpenPluginOptions.js.map +1 -1
- package/build/question/other.d.ts +2 -0
- package/build/question/other.d.ts.map +1 -1
- package/build/question/other.js +174 -8
- package/build/question/other.js.map +1 -1
- package/build/question/questionNames.d.ts +6 -0
- package/build/question/questionNames.d.ts.map +1 -1
- package/build/question/questionNames.js +6 -0
- package/build/question/questionNames.js.map +1 -1
- package/build/question/scaffold/vsc/rootNode.js +1 -1
- package/build/question/scaffold/vsc/rootNode.js.map +1 -1
- package/build/question/scaffold/vsc/teamsProjectTypeNode.d.ts +2 -0
- package/build/question/scaffold/vsc/teamsProjectTypeNode.d.ts.map +1 -1
- package/build/question/scaffold/vsc/teamsProjectTypeNode.js +31 -1
- package/build/question/scaffold/vsc/teamsProjectTypeNode.js.map +1 -1
- package/build/ui/visitor.d.ts.map +1 -1
- package/build/ui/visitor.js +1 -0
- package/build/ui/visitor.js.map +1 -1
- package/build/v4/mcp/mcpAuthAction.d.ts +2 -1
- package/build/v4/mcp/mcpAuthAction.d.ts.map +1 -1
- package/build/v4/mcp/mcpAuthAction.js +32 -5
- package/build/v4/mcp/mcpAuthAction.js.map +1 -1
- package/build/v4/mcp/mcpAuthScaffold.d.ts +3 -0
- package/build/v4/mcp/mcpAuthScaffold.d.ts.map +1 -1
- package/build/v4/mcp/mcpAuthScaffold.js +61 -38
- package/build/v4/mcp/mcpAuthScaffold.js.map +1 -1
- package/build/v4/runtime/steps/mcpAuth.d.ts.map +1 -1
- package/build/v4/runtime/steps/mcpAuth.js +15 -4
- package/build/v4/runtime/steps/mcpAuth.js.map +1 -1
- package/package.json +37 -37
- package/resource/package.nls.json +30 -0
- package/templates/configs/local/typescript/.gitignore +1 -0
- package/templates/configs/playground/typescript/.gitignore +4 -0
- 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/templates/metadata.zip +0 -0
- package/templates/v4/floor.json +1 -1
- package/templates/v4/templates-metadata.zip +0 -0
- package/templates/v4/templates.zip +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcpAuth.js","sourceRoot":"","sources":["../../../../src/v4/runtime/steps/mcpAuth.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,wDAA8D;AAC9D,2CAAyC;AAEzC,+DAA+F;AAE/F,2FAA2F;AAE3F,MAAM,MAAM,GAAG,UAAU,CAAC;AAE1B,qDAAqD;AACxC,QAAA,sBAAsB,GAAG,4BAA4B,CAAC;AAEnE,0DAA0D;AAC7C,QAAA,2BAA2B,GAAG,iCAAiC,CAAC;AAE7E,SAAS,WAAW,CAAC,IAAY,EAAE,OAAe;IAChD,OAAO,IAAI,yBAAW,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;AAC5D,CAAC;AAED,oFAAoF;AACpF,SAAS,WAAW,CAAC,MAAkB,EAAE,GAAW;IAClD,MAAM,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;IAC1B,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;AACvD,CAAC;AAED,yFAAyF;AAC5E,QAAA,sBAAsB,GAAmB;IACpD,cAAc,CAAC,QAAoB;QACjC,IAAI,WAAW,CAAC,QAAQ,EAAE,SAAS,CAAC,KAAK,SAAS,EAAE,CAAC;YACnD,OAAO,oCAAoC,CAAC;QAC9C,CAAC;QACD,MAAM,QAAQ,GAAG,WAAW,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QACnD,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC3B,OAAO,qCAAqC,CAAC;QAC/C,CAAC;QACD,IAAI,WAAW,CAAC,QAAQ,EAAE,cAAc,CAAC,KAAK,SAAS,EAAE,CAAC;YACxD,OAAO,yCAAyC,CAAC;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AC;QAC3D,IAAI,QAAQ,KAAK,SAAS,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;YACzD,OAAO,OAAO,CAAC,OAAO,CACpB,IAAA,gBAAG,EAAC,WAAW,CAAC,sBAAsB,EAAE,yCAAyC,CAAC,CAAC,CACpF,CAAC;QACJ,CAAC;QACD,OAAO,IAAA,+CAA6B,EAAC,GAAG,EAAE;YACxC,QAAQ;YACR,YAAY;YACZ,aAAa,EAAE,WAAW,CAAC,QAAQ,EAAE,eAAe,CAAC;YACrD,iBAAiB,EAAE,WAAW,CAAC,QAAQ,EAAE,mBAAmB,CAAC;YAC7D,WAAW,EAAE,WAAW,CAAC,QAAQ,EAAE,aAAa,CAAC;YACjD,aAAa,EAAE,WAAW,CAAC,QAAQ,EAAE,eAAe,CAAC;YACrD,MAAM,EAAE,WAAW,CAAC,QAAQ,EAAE,QAAQ,CAAC;SACxC,CAAC,CAAC;IACL,CAAC;CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/teamsfx-core",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.4-alpha.26ce7a8dda.0",
|
|
4
4
|
"main": "build/index.js",
|
|
5
5
|
"types": "build/index.d.ts",
|
|
6
6
|
"license": "MIT",
|
|
@@ -8,37 +8,6 @@
|
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "git+https://github.com/OfficeDev/microsoft-365-agents-toolkit.git"
|
|
10
10
|
},
|
|
11
|
-
"scripts": {
|
|
12
|
-
"lint": "eslint \"src/**/*.ts\" \"tests/**/*.ts\" \"scripts/scenario-tooling/**/*.ts\"",
|
|
13
|
-
"test:unit": "vitest run --coverage --config vitest.config.ts --maxWorkers=75%",
|
|
14
|
-
"test:unit:fast": "vitest run --config vitest.config.ts --maxWorkers=75% --reporter=dot",
|
|
15
|
-
"test:unit:changed": "vitest run --config vitest.config.ts --maxWorkers=75% --changed",
|
|
16
|
-
"test:unit:log": "vitest run --coverage --config vitest.config.ts --maxWorkers=75% > unit-test.log 2>&1",
|
|
17
|
-
"test:unit:vitest": "vitest run --config vitest.config.ts --maxWorkers=75%",
|
|
18
|
-
"test:unit:vitest:watch": "vitest --config vitest.config.ts",
|
|
19
|
-
"test:coverage:changed": "node scripts/run-changed-coverage.js",
|
|
20
|
-
"test:env-checker": "vitest run --config vitest.config.ts --maxWorkers=75% \"tests/component/deps-checker/\"",
|
|
21
|
-
"clean": "rimraf -rf build",
|
|
22
|
-
"prebuild": "npm run gen:cli",
|
|
23
|
-
"build": "tsc -p ./ --incremental && npm run typecheck:scenario-tooling",
|
|
24
|
-
"typecheck:scenario-tooling": "tsc -p tsconfig.scenario-tooling.json --incremental false",
|
|
25
|
-
"lint:fix": "eslint --fix \"src/**/*.ts\" \"tests/**/*.ts\" \"scripts/scenario-tooling/**/*.ts\"",
|
|
26
|
-
"prepublishOnly": "npm run build",
|
|
27
|
-
"package": "rimraf build && webpack --mode production --config ./webpack.config.js",
|
|
28
|
-
"precommit": "lint-staged",
|
|
29
|
-
"install:tabs": "cd tabs && npm install",
|
|
30
|
-
"installAll": "npm run install:tabs",
|
|
31
|
-
"checkUnusedStrings": "node ./scripts/find-unused-strings.js ./resource/package.nls.json ./src ./templates/ui || exit 1",
|
|
32
|
-
"clean:strings": "node ./scripts/delete-unused-strings.js ./resource/package.nls.json ./src",
|
|
33
|
-
"gen:cli": "npx tsx ./src/question/generator.ts && npx prettier --write \"src/question/options/*.ts\" && npx prettier --write \"src/question/inputs/*.ts\"",
|
|
34
|
-
"gen:template-info:vsc": "npx tsx ./scripts/generate-template-info.ts vscode ./resource/template-info/vsc.json",
|
|
35
|
-
"scenario:catalog": "tsx ./scripts/scenario-tooling/scenarioCli.ts catalog",
|
|
36
|
-
"scenario:init": "tsx ./scripts/scenario-tooling/scenarioCli.ts init",
|
|
37
|
-
"scenario:render": "tsx ./scripts/scenario-tooling/scenarioCli.ts render",
|
|
38
|
-
"scenario:review": "tsx ./scripts/scenario-tooling/scenarioCli.ts review",
|
|
39
|
-
"scenario:check": "tsx ./scripts/scenario-tooling/scenarioCli.ts check",
|
|
40
|
-
"scenario:accept": "tsx ./scripts/scenario-tooling/scenarioCli.ts accept"
|
|
41
|
-
},
|
|
42
11
|
"dependencies": {
|
|
43
12
|
"@apidevtools/swagger-parser": "^10.1.0",
|
|
44
13
|
"@azure/arm-appservice": "^13.0.0",
|
|
@@ -53,8 +22,6 @@
|
|
|
53
22
|
"@microsoft/dev-tunnels-contracts": "1.1.9",
|
|
54
23
|
"@microsoft/dev-tunnels-management": "1.1.9",
|
|
55
24
|
"@microsoft/kiota": "1.31.1",
|
|
56
|
-
"@microsoft/m365-spec-parser": "^0.3.2",
|
|
57
|
-
"@microsoft/teamsfx-api": "0.24.2",
|
|
58
25
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
59
26
|
"adm-zip": "^0.6.0",
|
|
60
27
|
"ajv": "^8.18.0",
|
|
@@ -100,7 +67,9 @@
|
|
|
100
67
|
"uuid": "^11.1.1",
|
|
101
68
|
"validator": "^13.7.0",
|
|
102
69
|
"xml2js": "^0.5.0",
|
|
103
|
-
"yaml": "^2.4.2"
|
|
70
|
+
"yaml": "^2.4.2",
|
|
71
|
+
"@microsoft/m365-spec-parser": "^0.3.3-alpha.26ce7a8dda.0",
|
|
72
|
+
"@microsoft/teamsfx-api": "0.24.3-alpha.26ce7a8dda.0"
|
|
104
73
|
},
|
|
105
74
|
"devDependencies": {
|
|
106
75
|
"@azure/storage-blob": "^12.5.0",
|
|
@@ -184,12 +153,43 @@
|
|
|
184
153
|
],
|
|
185
154
|
"gitHead": "7d60c0765c0ea8c023a26c10d1c93001c597afbb",
|
|
186
155
|
"publishConfig": {
|
|
187
|
-
"access": "public"
|
|
156
|
+
"access": "public",
|
|
157
|
+
"tag": "alpha"
|
|
188
158
|
},
|
|
189
159
|
"lint-staged": {
|
|
190
160
|
"*.{js,jsx,css,ts,tsx}": [
|
|
191
161
|
"eslint --cache --fix --quiet",
|
|
192
162
|
"prettier --cache --write --ignore-unknown"
|
|
193
163
|
]
|
|
164
|
+
},
|
|
165
|
+
"scripts": {
|
|
166
|
+
"lint": "eslint \"src/**/*.ts\" \"tests/**/*.ts\" \"scripts/scenario-tooling/**/*.ts\"",
|
|
167
|
+
"test:unit": "vitest run --coverage --config vitest.config.ts --maxWorkers=75%",
|
|
168
|
+
"test:unit:fast": "vitest run --config vitest.config.ts --maxWorkers=75% --reporter=dot",
|
|
169
|
+
"test:unit:changed": "vitest run --config vitest.config.ts --maxWorkers=75% --changed",
|
|
170
|
+
"test:unit:log": "vitest run --coverage --config vitest.config.ts --maxWorkers=75% > unit-test.log 2>&1",
|
|
171
|
+
"test:unit:vitest": "vitest run --config vitest.config.ts --maxWorkers=75%",
|
|
172
|
+
"test:unit:vitest:watch": "vitest --config vitest.config.ts",
|
|
173
|
+
"test:coverage:changed": "node scripts/run-changed-coverage.js",
|
|
174
|
+
"test:env-checker": "vitest run --config vitest.config.ts --maxWorkers=75% \"tests/component/deps-checker/\"",
|
|
175
|
+
"clean": "rimraf -rf build",
|
|
176
|
+
"prebuild": "npm run gen:cli",
|
|
177
|
+
"build": "tsc -p ./ --incremental && npm run typecheck:scenario-tooling",
|
|
178
|
+
"typecheck:scenario-tooling": "tsc -p tsconfig.scenario-tooling.json --incremental false",
|
|
179
|
+
"lint:fix": "eslint --fix \"src/**/*.ts\" \"tests/**/*.ts\" \"scripts/scenario-tooling/**/*.ts\"",
|
|
180
|
+
"package": "rimraf build && webpack --mode production --config ./webpack.config.js",
|
|
181
|
+
"precommit": "lint-staged",
|
|
182
|
+
"install:tabs": "cd tabs && npm install",
|
|
183
|
+
"installAll": "npm run install:tabs",
|
|
184
|
+
"checkUnusedStrings": "node ./scripts/find-unused-strings.js ./resource/package.nls.json ./src ./templates/ui || exit 1",
|
|
185
|
+
"clean:strings": "node ./scripts/delete-unused-strings.js ./resource/package.nls.json ./src",
|
|
186
|
+
"gen:cli": "npx tsx ./src/question/generator.ts && npx prettier --write \"src/question/options/*.ts\" && npx prettier --write \"src/question/inputs/*.ts\"",
|
|
187
|
+
"gen:template-info:vsc": "npx tsx ./scripts/generate-template-info.ts vscode ./resource/template-info/vsc.json",
|
|
188
|
+
"scenario:catalog": "tsx ./scripts/scenario-tooling/scenarioCli.ts catalog",
|
|
189
|
+
"scenario:init": "tsx ./scripts/scenario-tooling/scenarioCli.ts init",
|
|
190
|
+
"scenario:render": "tsx ./scripts/scenario-tooling/scenarioCli.ts render",
|
|
191
|
+
"scenario:review": "tsx ./scripts/scenario-tooling/scenarioCli.ts review",
|
|
192
|
+
"scenario:check": "tsx ./scripts/scenario-tooling/scenarioCli.ts check",
|
|
193
|
+
"scenario:accept": "tsx ./scripts/scenario-tooling/scenarioCli.ts accept"
|
|
194
194
|
}
|
|
195
|
-
}
|
|
195
|
+
}
|
|
@@ -404,6 +404,13 @@
|
|
|
404
404
|
"core.createProjectQuestion.apiSpec.placeholder": "Enter OpenAPI Document URL",
|
|
405
405
|
"core.createProjectQuestion.apiSpecInputUrl.label": "Enter OpenAPI Document URL",
|
|
406
406
|
"core.createProjectQuestion.ApiKey": "Enter API Key in OpenAPI Description Document",
|
|
407
|
+
"core.addOpenApiActionQuestion.ApiKey.title": "API Key (optional)",
|
|
408
|
+
"core.addOpenApiActionQuestion.IdentityProvider.title": "Select the identity provider for OpenAPI OAuth",
|
|
409
|
+
"core.addOpenApiActionQuestion.IdentityProvider.description": "Identity provider for OpenAPI OAuth (optional; defaults to OAuth).",
|
|
410
|
+
"core.addOpenApiActionQuestion.OAuthClientId.title": "OpenAPI OAuth client ID (optional)",
|
|
411
|
+
"core.addOpenApiActionQuestion.OAuthClientSecret.title": "OpenAPI OAuth client secret (optional)",
|
|
412
|
+
"core.addOpenApiActionQuestion.OAuthScopes.title": "OpenAPI OAuth scopes (optional)",
|
|
413
|
+
"core.addOpenApiActionQuestion.OAuthPKCE.title": "Enable PKCE for OpenAPI OAuth?",
|
|
407
414
|
"core.createProjectQuestion.ApiKeyConfirm": "Microsoft 365 Agents Toolkit will upload the API key to Developer Portal. The API key will be used by Teams client to securely access your API in runtime. Microsoft 365 Agents Toolkit will not store your API key.",
|
|
408
415
|
"core.createProjectQuestion.OauthClientId": "Oauth registration client ID",
|
|
409
416
|
"core.createProjectQuestion.OauthClientId.placeholder": "Input client ID for OAuth registration in OpenAPI Description Document",
|
|
@@ -935,6 +942,9 @@
|
|
|
935
942
|
"error.common.MissingEnvironmentVariablesError": "Missing environment variables '%s' for file: %s. Please edit the .env file '%s' or '%s', or adjust system environment variables. For new projects, run local debugging or provision a remote environment to set these variables.",
|
|
936
943
|
"error.common.InvalidProjectError": "This command only works for project created by Microsoft 365 Agents Toolkit. 'm365agents.yml' or 'm365agents.local.yml' not found",
|
|
937
944
|
"error.common.InvalidProjectError.display": "This command only works for project created by Microsoft 365 Agents Toolkit. Yaml file not found: %s",
|
|
945
|
+
"error.common.AmbiguousOpenApiAuthCredentialError": "OpenAPI credentials cannot be mapped because the selected operations use multiple authentication registrations. Omit the scalar credentials or select operations that use one registration.",
|
|
946
|
+
"error.common.InapplicableOpenApiAuthCredentialError": "The supplied OpenAPI credentials do not apply to the authentication type used by the selected operations. Omit the credentials or supply credentials for the discovered authentication type.",
|
|
947
|
+
"error.common.IncompleteOpenApiOAuthCredentialError": "OpenAPI OAuth client secret, scopes, and PKCE require --openapi-auth-client-id. Supply a client ID or omit the OAuth credential options to configure credentials during provision.",
|
|
938
948
|
"error.common.FileNotFoundError": "The file or directory is not found: '%s'. Check if it exists and you have permission to access it.",
|
|
939
949
|
"error.common.JSONSyntaxError": "JSON syntax error: %s. Check the JSON syntax to ensure it is properly formatted.",
|
|
940
950
|
"error.common.ReadFileError": "Unable to read file for reason: %s",
|
|
@@ -1144,6 +1154,7 @@
|
|
|
1144
1154
|
"core.createProjectQuestion.mcpForDa.Auth.OAuthDynamic.Detail": "MCP server registers a client at runtime; no extra details needed.",
|
|
1145
1155
|
"core.createProjectQuestion.mcpForDa.Auth.EntraSSO": "Entra SSO",
|
|
1146
1156
|
"core.createProjectQuestion.mcpForDa.Auth.EntraSSO.Detail": "Use a Microsoft Entra app for single sign-on. The toolkit will ask for the Entra app client id.",
|
|
1157
|
+
"core.createProjectQuestion.mcpForDa.Auth.BearerToken.Detail": "Send an API key as an HTTP Bearer token.",
|
|
1147
1158
|
"core.createProjectQuestion.mcpForDa.Auth.None": "None",
|
|
1148
1159
|
"core.createProjectQuestion.mcpForDa.Auth.None.Detail": "The MCP server does not require authentication.",
|
|
1149
1160
|
"core.createProjectQuestion.mcpForDa.ClientId.title": "OAuth Client ID",
|
|
@@ -1154,6 +1165,9 @@
|
|
|
1154
1165
|
"core.createProjectQuestion.mcpForDa.ClientSecret.required": "OAuth Client Secret is required.",
|
|
1155
1166
|
"core.createProjectQuestion.mcpForDa.Scopes.title": "OAuth Scopes (optional)",
|
|
1156
1167
|
"core.createProjectQuestion.mcpForDa.Scopes.placeholder": "Space-separated OAuth scopes, e.g. 'read:user repo'",
|
|
1168
|
+
"core.createProjectQuestion.mcpForDa.ApiKey.title": "API Key",
|
|
1169
|
+
"core.createProjectQuestion.mcpForDa.ApiKey.placeholder": "Enter the API key sent as a bearer token",
|
|
1170
|
+
"core.createProjectQuestion.mcpForDa.ApiKey.required": "API key is required.",
|
|
1157
1171
|
"core.createProjectQuestion.mcpForDa.EntraClientId.title": "Microsoft Entra Application (Client) ID",
|
|
1158
1172
|
"core.createProjectQuestion.mcpForDa.EntraClientId.placeholder": "Enter the Application (client) ID of your Microsoft Entra app registration",
|
|
1159
1173
|
"core.createProjectQuestion.mcpForDa.EntraClientId.required": "Microsoft Entra Application (Client) ID is required.",
|
|
@@ -1198,7 +1212,23 @@
|
|
|
1198
1212
|
"core.openPluginImport.autoAuthNone": "Auto inferred authentication type None for MCP server '%s'. Verify this choice if individual tools require authentication or use an API key.",
|
|
1199
1213
|
"core.openPluginImport.autoAuthOAuth": "Auto inferred OAuthPluginVault for MCP server '%s'. The generated reference ID is a placeholder and must be registered before use.",
|
|
1200
1214
|
"core.openPluginImport.authFallback": "OAuth metadata could not be resolved for MCP server '%s' after it confirmed authentication is required. Auto fell back to OAuthPluginVault. Verify the authentication type and register the generated reference ID before use.",
|
|
1215
|
+
"core.openPluginImport.failed": "Failed to import the Agent Plugin.",
|
|
1216
|
+
"core.openPluginImport.invalidManifest": "The mapped Teams manifest is invalid: %s",
|
|
1217
|
+
"core.openPluginImport.invalidOutputPath": "The output path must not be a symbolic link or junction: %s.",
|
|
1218
|
+
"core.openPluginImport.invalidPlugin": "The Agent Plugin is invalid: %s",
|
|
1219
|
+
"core.openPluginImport.missingPluginPath": "The --path option is required.",
|
|
1220
|
+
"core.openPluginImport.outputDirectoryNotEmpty": "The output directory is not empty: %s. Choose a different --output path or empty the directory.",
|
|
1201
1221
|
"core.openPluginImport.unresolvedMcpAuth": "Unable to resolve authentication for MCP server '%s' while --default-auth-type is Auto. Specify None, OAuthPluginVault, or ApiKeyPluginVault explicitly.",
|
|
1222
|
+
"core.openPluginExport.failed": "Failed to export the Agent Plugin.",
|
|
1223
|
+
"core.openPluginExport.invalidAgentPluginManifest": "The project cannot be exported as an Agent Plugins 1.0.0 manifest.",
|
|
1224
|
+
"core.openPluginExport.invalidManifest": "The project manifest is invalid.",
|
|
1225
|
+
"core.openPluginExport.invalidMcpServerUrl": "The project contains an MCP server URL that cannot be exported.",
|
|
1226
|
+
"core.openPluginExport.invalidOutputPath": "The output path must not be a symbolic link or junction.",
|
|
1227
|
+
"core.openPluginExport.invalidProjectPath": "The project path is invalid.",
|
|
1228
|
+
"core.openPluginExport.invalidProjectStructure": "The project structure is invalid.",
|
|
1229
|
+
"core.openPluginExport.manifestNotFound": "appPackage/manifest.json was not found in the project.",
|
|
1230
|
+
"core.openPluginExport.missingProjectPath": "The --path option is required.",
|
|
1231
|
+
"core.openPluginExport.outputDirectoryNotEmpty": "The output directory is not empty. Choose a different --output path or empty the directory.",
|
|
1202
1232
|
"core.MCPForDA.openYmlFile": "Open m365agents.yml",
|
|
1203
1233
|
"core.MCPForDA.fetchError": "Failed to fetch tools from the MCP server at %s. To add tools later, run:\n %s"
|
|
1204
1234
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.localConfigs
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/templates/metadata.zip
CHANGED
|
Binary file
|
package/templates/v4/floor.json
CHANGED
|
Binary file
|
|
Binary file
|