@microsoft/teamsfx-core 3.0.13 → 3.0.14-alpha.1ba1d62e58.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/client/teamsGraphClient.d.ts +3 -0
- package/build/client/teamsGraphClient.d.ts.map +1 -1
- package/build/client/teamsGraphClient.js +17 -0
- package/build/client/teamsGraphClient.js.map +1 -1
- package/build/common/featureFlags.d.ts +12 -2
- package/build/common/featureFlags.d.ts.map +1 -1
- package/build/common/featureFlags.js +15 -3
- package/build/common/featureFlags.js.map +1 -1
- package/build/common/projectSettingsHelper.d.ts +0 -2
- package/build/common/projectSettingsHelper.d.ts.map +1 -1
- package/build/common/projectSettingsHelper.js +1 -56
- package/build/common/projectSettingsHelper.js.map +1 -1
- package/build/common/telemetry.d.ts +4 -15
- package/build/common/telemetry.d.ts.map +1 -1
- package/build/common/telemetry.js +5 -18
- package/build/common/telemetry.js.map +1 -1
- package/build/common/templates-config.json +8 -2
- package/build/component/configManager/validator.d.ts.map +1 -1
- package/build/component/configManager/validator.js +2 -0
- package/build/component/configManager/validator.js.map +1 -1
- package/build/component/coordinator/index.d.ts.map +1 -1
- package/build/component/coordinator/index.js +5 -1
- package/build/component/coordinator/index.js.map +1 -1
- package/build/component/driver/copilotAgent/interfaces/PublishArgs.d.ts +14 -0
- package/build/component/driver/copilotAgent/interfaces/PublishArgs.d.ts.map +1 -0
- package/build/component/driver/copilotAgent/interfaces/PublishArgs.js +5 -0
- package/build/component/driver/copilotAgent/interfaces/PublishArgs.js.map +1 -0
- package/build/component/driver/copilotAgent/publish.d.ts +16 -0
- package/build/component/driver/copilotAgent/publish.d.ts.map +1 -0
- package/build/component/driver/copilotAgent/publish.js +175 -0
- package/build/component/driver/copilotAgent/publish.js.map +1 -0
- package/build/component/driver/dcr/create.d.ts +10 -0
- package/build/component/driver/dcr/create.d.ts.map +1 -0
- package/build/component/driver/dcr/create.js +142 -0
- package/build/component/driver/dcr/create.js.map +1 -0
- package/build/component/driver/dcr/error/dcrNameTooLong.d.ts +5 -0
- package/build/component/driver/dcr/error/dcrNameTooLong.d.ts.map +1 -0
- package/build/component/driver/dcr/error/dcrNameTooLong.js +21 -0
- package/build/component/driver/dcr/error/dcrNameTooLong.js.map +1 -0
- package/build/component/driver/dcr/error/dcrWellKnownInvalid.d.ts +5 -0
- package/build/component/driver/dcr/error/dcrWellKnownInvalid.d.ts.map +1 -0
- package/build/component/driver/dcr/error/dcrWellKnownInvalid.js +21 -0
- package/build/component/driver/dcr/error/dcrWellKnownInvalid.js.map +1 -0
- package/build/component/driver/dcr/interface/createDcrArgs.d.ts +9 -0
- package/build/component/driver/dcr/interface/createDcrArgs.d.ts.map +1 -0
- package/build/component/driver/dcr/interface/createDcrArgs.js +5 -0
- package/build/component/driver/dcr/interface/createDcrArgs.js.map +1 -0
- package/build/component/driver/dcr/interface/createDcrOutputs.d.ts +7 -0
- package/build/component/driver/dcr/interface/createDcrOutputs.d.ts.map +1 -0
- package/build/component/driver/dcr/interface/createDcrOutputs.js +10 -0
- package/build/component/driver/dcr/interface/createDcrOutputs.js.map +1 -0
- package/build/component/driver/dcr/utility/constants.d.ts +7 -0
- package/build/component/driver/dcr/utility/constants.d.ts.map +1 -0
- package/build/component/driver/dcr/utility/constants.js +12 -0
- package/build/component/driver/dcr/utility/constants.js.map +1 -0
- package/build/component/driver/index.d.ts +2 -0
- package/build/component/driver/index.d.ts.map +1 -1
- package/build/component/driver/index.js +2 -0
- package/build/component/driver/index.js.map +1 -1
- package/build/component/driver/teamsApp/constants.d.ts +1 -0
- package/build/component/driver/teamsApp/constants.d.ts.map +1 -1
- package/build/component/driver/teamsApp/constants.js +1 -0
- package/build/component/driver/teamsApp/constants.js.map +1 -1
- package/build/component/driver/teamsApp/createAppPackage.d.ts +2 -0
- package/build/component/driver/teamsApp/createAppPackage.d.ts.map +1 -1
- package/build/component/driver/teamsApp/createAppPackage.js +51 -6
- package/build/component/driver/teamsApp/createAppPackage.js.map +1 -1
- package/build/component/driver/teamsApp/interfaces/DcrRegistration.d.ts +10 -0
- package/build/component/driver/teamsApp/interfaces/DcrRegistration.d.ts.map +1 -0
- package/build/component/driver/teamsApp/interfaces/DcrRegistration.js +5 -0
- package/build/component/driver/teamsApp/interfaces/DcrRegistration.js.map +1 -0
- package/build/component/driver/teamsApp/publishAppPackage.d.ts +0 -2
- package/build/component/driver/teamsApp/publishAppPackage.d.ts.map +1 -1
- package/build/component/driver/teamsApp/publishAppPackage.js +2 -51
- package/build/component/driver/teamsApp/publishAppPackage.js.map +1 -1
- package/build/component/driver/teamsApp/utils/ManifestUtils.d.ts +1 -1
- package/build/component/driver/teamsApp/utils/ManifestUtils.d.ts.map +1 -1
- package/build/component/driver/teamsApp/utils/ManifestUtils.js +10 -2
- package/build/component/driver/teamsApp/utils/ManifestUtils.js.map +1 -1
- package/build/component/driver/teamsApp/utils/McpCertVerification.d.ts +13 -0
- package/build/component/driver/teamsApp/utils/McpCertVerification.d.ts.map +1 -0
- package/build/component/driver/teamsApp/utils/McpCertVerification.js +65 -0
- package/build/component/driver/teamsApp/utils/McpCertVerification.js.map +1 -0
- package/build/component/driver/teamsApp/validate.js +1 -1
- package/build/component/driver/teamsApp/validate.js.map +1 -1
- package/build/component/generator/declarativeAgent/generator.d.ts.map +1 -1
- package/build/component/generator/declarativeAgent/generator.js +1 -2
- package/build/component/generator/declarativeAgent/generator.js.map +1 -1
- package/build/component/generator/defaultGenerator.d.ts.map +1 -1
- package/build/component/generator/defaultGenerator.js +14 -1
- package/build/component/generator/defaultGenerator.js.map +1 -1
- package/build/component/generator/error.d.ts +3 -0
- package/build/component/generator/error.d.ts.map +1 -1
- package/build/component/generator/error.js +7 -1
- package/build/component/generator/error.js.map +1 -1
- package/build/component/generator/officeAddin/generator.d.ts +8 -0
- package/build/component/generator/officeAddin/generator.d.ts.map +1 -1
- package/build/component/generator/officeAddin/generator.js +47 -0
- package/build/component/generator/officeAddin/generator.js.map +1 -1
- package/build/component/generator/openPlugin/authorParser.d.ts +8 -0
- package/build/component/generator/openPlugin/authorParser.d.ts.map +1 -0
- package/build/component/generator/openPlugin/authorParser.js +49 -0
- package/build/component/generator/openPlugin/authorParser.js.map +1 -0
- package/build/component/generator/openPlugin/deterministicId.d.ts +6 -0
- package/build/component/generator/openPlugin/deterministicId.d.ts.map +1 -0
- package/build/component/generator/openPlugin/deterministicId.js +31 -0
- package/build/component/generator/openPlugin/deterministicId.js.map +1 -0
- package/build/component/generator/openPlugin/exporter.d.ts +18 -0
- package/build/component/generator/openPlugin/exporter.d.ts.map +1 -0
- package/build/component/generator/openPlugin/exporter.js +233 -0
- package/build/component/generator/openPlugin/exporter.js.map +1 -0
- package/build/component/generator/openPlugin/iconStrategy.d.ts +8 -0
- package/build/component/generator/openPlugin/iconStrategy.d.ts.map +1 -0
- package/build/component/generator/openPlugin/iconStrategy.js +62 -0
- package/build/component/generator/openPlugin/iconStrategy.js.map +1 -0
- package/build/component/generator/openPlugin/importer.d.ts +25 -0
- package/build/component/generator/openPlugin/importer.d.ts.map +1 -0
- package/build/component/generator/openPlugin/importer.js +140 -0
- package/build/component/generator/openPlugin/importer.js.map +1 -0
- package/build/component/generator/openPlugin/mapper.d.ts +6 -0
- package/build/component/generator/openPlugin/mapper.d.ts.map +1 -0
- package/build/component/generator/openPlugin/mapper.js +141 -0
- package/build/component/generator/openPlugin/mapper.js.map +1 -0
- package/build/component/generator/openPlugin/parser.d.ts +3 -0
- package/build/component/generator/openPlugin/parser.d.ts.map +1 -0
- package/build/component/generator/openPlugin/parser.js +153 -0
- package/build/component/generator/openPlugin/parser.js.map +1 -0
- package/build/component/generator/openPlugin/placeholderPng.d.ts +6 -0
- package/build/component/generator/openPlugin/placeholderPng.d.ts.map +1 -0
- package/build/component/generator/openPlugin/placeholderPng.js +71 -0
- package/build/component/generator/openPlugin/placeholderPng.js.map +1 -0
- package/build/component/generator/openPlugin/textUtils.d.ts +12 -0
- package/build/component/generator/openPlugin/textUtils.d.ts.map +1 -0
- package/build/component/generator/openPlugin/textUtils.js +43 -0
- package/build/component/generator/openPlugin/textUtils.js.map +1 -0
- package/build/component/generator/openPlugin/types.d.ts +128 -0
- package/build/component/generator/openPlugin/types.d.ts.map +1 -0
- package/build/component/generator/openPlugin/types.js.map +1 -0
- package/build/component/generator/templates/templateNames.d.ts +2 -1
- package/build/component/generator/templates/templateNames.d.ts.map +1 -1
- package/build/component/generator/templates/templateNames.js +2 -0
- package/build/component/generator/templates/templateNames.js.map +1 -1
- package/build/component/generator/templates/templateReplaceMap.d.ts.map +1 -1
- package/build/component/generator/templates/templateReplaceMap.js +4 -1
- package/build/component/generator/templates/templateReplaceMap.js.map +1 -1
- package/build/component/generator/v4TemplateBridge.d.ts +29 -0
- package/build/component/generator/v4TemplateBridge.d.ts.map +1 -0
- package/build/component/generator/v4TemplateBridge.js +114 -0
- package/build/component/generator/v4TemplateBridge.js.map +1 -0
- package/build/component/m365/packageService.d.ts +5 -0
- package/build/component/m365/packageService.d.ts.map +1 -1
- package/build/component/m365/packageService.js +23 -1
- package/build/component/m365/packageService.js.map +1 -1
- package/build/core/FxCore.d.ts +2 -4
- package/build/core/FxCore.d.ts.map +1 -1
- package/build/core/FxCore.js +3 -62
- package/build/core/FxCore.js.map +1 -1
- package/build/core/FxCore.openPlugin.d.ts +23 -0
- package/build/core/FxCore.openPlugin.d.ts.map +1 -0
- package/build/core/FxCore.openPlugin.js +131 -0
- package/build/core/FxCore.openPlugin.js.map +1 -0
- package/build/core/middleware/concurrentLocker.d.ts.map +1 -1
- package/build/core/middleware/concurrentLocker.js +0 -3
- package/build/core/middleware/concurrentLocker.js.map +1 -1
- package/build/core/middleware/errorHandler.d.ts.map +1 -1
- package/build/core/middleware/errorHandler.js +9 -0
- package/build/core/middleware/errorHandler.js.map +1 -1
- package/build/core/middleware/utils/v3MigrationUtils.d.ts +1 -34
- package/build/core/middleware/utils/v3MigrationUtils.d.ts.map +1 -1
- package/build/core/middleware/utils/v3MigrationUtils.js +6 -245
- package/build/core/middleware/utils/v3MigrationUtils.js.map +1 -1
- package/build/question/constants.d.ts.map +1 -1
- package/build/question/constants.js +1 -6
- package/build/question/constants.js.map +1 -1
- package/build/question/inputs/ExportOpenPluginInputs.d.ts +10 -0
- package/build/question/inputs/ExportOpenPluginInputs.d.ts.map +1 -0
- package/build/question/inputs/ExportOpenPluginInputs.js +5 -0
- package/build/question/inputs/ExportOpenPluginInputs.js.map +1 -0
- package/build/question/inputs/ImportOpenPluginInputs.d.ts +28 -0
- package/build/question/inputs/ImportOpenPluginInputs.d.ts.map +1 -0
- package/build/question/inputs/ImportOpenPluginInputs.js +5 -0
- package/build/question/inputs/ImportOpenPluginInputs.js.map +1 -0
- package/build/question/inputs/index.d.ts +2 -0
- package/build/question/inputs/index.d.ts.map +1 -1
- package/build/question/inputs/index.js +2 -0
- package/build/question/inputs/index.js.map +1 -1
- package/build/question/options/ExportOpenPluginOptions.d.ts +4 -0
- package/build/question/options/ExportOpenPluginOptions.d.ts.map +1 -0
- package/build/question/options/ExportOpenPluginOptions.js +29 -0
- package/build/question/options/ExportOpenPluginOptions.js.map +1 -0
- package/build/question/options/ImportOpenPluginOptions.d.ts +4 -0
- package/build/question/options/ImportOpenPluginOptions.d.ts.map +1 -0
- package/build/question/options/ImportOpenPluginOptions.js +54 -0
- package/build/question/options/ImportOpenPluginOptions.js.map +1 -0
- package/build/question/options/index.d.ts +2 -0
- package/build/question/options/index.d.ts.map +1 -1
- package/build/question/options/index.js +2 -0
- package/build/question/options/index.js.map +1 -1
- package/build/question/scaffold/vsc/daProjectTypeNode.d.ts.map +1 -1
- package/build/question/scaffold/vsc/daProjectTypeNode.js +1 -3
- package/build/question/scaffold/vsc/daProjectTypeNode.js.map +1 -1
- package/build/v4/distribution/bundledFloor.d.ts +12 -0
- package/build/v4/distribution/bundledFloor.d.ts.map +1 -0
- package/build/v4/distribution/bundledFloor.js +80 -0
- package/build/v4/distribution/bundledFloor.js.map +1 -0
- package/build/v4/distribution/templateConfig.d.ts +53 -0
- package/build/v4/distribution/templateConfig.d.ts.map +1 -0
- package/build/v4/distribution/templateConfig.js +43 -0
- package/build/v4/distribution/templateConfig.js.map +1 -0
- package/build/v4/distribution/templatePackage.d.ts +29 -0
- package/build/v4/distribution/templatePackage.d.ts.map +1 -0
- package/build/v4/distribution/templatePackage.js +82 -0
- package/build/v4/distribution/templatePackage.js.map +1 -0
- package/build/v4/distribution/templateSource.d.ts +67 -0
- package/build/v4/distribution/templateSource.d.ts.map +1 -0
- package/build/v4/distribution/templateSource.js +220 -0
- package/build/v4/distribution/templateSource.js.map +1 -0
- package/build/v4/distribution/templateSourcePort.d.ts +50 -0
- package/build/v4/distribution/templateSourcePort.d.ts.map +1 -0
- package/build/v4/distribution/templateSourcePort.js +207 -0
- package/build/v4/distribution/templateSourcePort.js.map +1 -0
- package/build/v4/index.d.ts +13 -0
- package/build/v4/index.d.ts.map +1 -0
- package/build/v4/index.js +18 -0
- package/build/v4/index.js.map +1 -0
- package/package.json +4 -4
- package/resource/package.nls.cs.json +9 -1
- package/resource/package.nls.de.json +10 -2
- package/resource/package.nls.es.json +9 -1
- package/resource/package.nls.fr.json +9 -1
- package/resource/package.nls.it.json +10 -2
- package/resource/package.nls.ja.json +9 -1
- package/resource/package.nls.json +10 -13
- package/resource/package.nls.ko.json +9 -1
- package/resource/package.nls.pl.json +10 -2
- package/resource/package.nls.pt-BR.json +9 -1
- package/resource/package.nls.ru.json +10 -2
- package/resource/package.nls.tr.json +11 -3
- package/resource/package.nls.zh-Hans.json +9 -1
- package/resource/package.nls.zh-Hant.json +9 -1
- package/resource/yaml-schema/v1.12/yaml.schema.json +2132 -0
- package/resource/yaml-schema/v1.13/yaml.schema.json +2193 -0
- package/resource/yaml-schema/yaml.schema.json +124 -2
- 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/ui/tdpNode.json +1 -2
- package/templates/ui/wizardNode.json +1 -2
- package/templates/v4/floor.json +3 -0
- package/templates/v4/templates.zip +0 -0
- package/build/core/middleware/projectMigratorV3.d.ts +0 -39
- package/build/core/middleware/projectMigratorV3.d.ts.map +0 -1
- package/build/core/middleware/projectMigratorV3.js +0 -694
- package/build/core/middleware/projectMigratorV3.js.map +0 -1
- package/build/core/middleware/projectVersionChecker.d.ts +0 -3
- package/build/core/middleware/projectVersionChecker.d.ts.map +0 -1
- package/build/core/middleware/projectVersionChecker.js +0 -60
- package/build/core/middleware/projectVersionChecker.js.map +0 -1
- package/build/core/middleware/types.d.ts +0 -9
- package/build/core/middleware/types.d.ts.map +0 -1
- package/build/core/middleware/types.js.map +0 -1
- package/build/core/middleware/utils/MigrationUtils.d.ts +0 -13
- package/build/core/middleware/utils/MigrationUtils.d.ts.map +0 -1
- package/build/core/middleware/utils/MigrationUtils.js +0 -212
- package/build/core/middleware/utils/MigrationUtils.js.map +0 -1
- package/build/core/middleware/utils/appYmlGenerator.d.ts +0 -34
- package/build/core/middleware/utils/appYmlGenerator.d.ts.map +0 -1
- package/build/core/middleware/utils/appYmlGenerator.js +0 -158
- package/build/core/middleware/utils/appYmlGenerator.js.map +0 -1
- package/build/core/middleware/utils/debug/appLocalYmlGenerator.d.ts +0 -65
- package/build/core/middleware/utils/debug/appLocalYmlGenerator.d.ts.map +0 -1
- package/build/core/middleware/utils/debug/appLocalYmlGenerator.js +0 -61
- package/build/core/middleware/utils/debug/appLocalYmlGenerator.js.map +0 -1
- package/build/core/middleware/utils/debug/constants.d.ts +0 -20
- package/build/core/middleware/utils/debug/constants.d.ts.map +0 -1
- package/build/core/middleware/utils/debug/constants.js +0 -28
- package/build/core/middleware/utils/debug/constants.js.map +0 -1
- package/build/core/middleware/utils/debug/debugMigrationContext.d.ts +0 -14
- package/build/core/middleware/utils/debug/debugMigrationContext.d.ts.map +0 -1
- package/build/core/middleware/utils/debug/debugMigrationContext.js +0 -23
- package/build/core/middleware/utils/debug/debugMigrationContext.js.map +0 -1
- package/build/core/middleware/utils/debug/debugV3MigrationUtils.d.ts +0 -37
- package/build/core/middleware/utils/debug/debugV3MigrationUtils.d.ts.map +0 -1
- package/build/core/middleware/utils/debug/debugV3MigrationUtils.js +0 -291
- package/build/core/middleware/utils/debug/debugV3MigrationUtils.js.map +0 -1
- package/build/core/middleware/utils/debug/taskMigrator.d.ts +0 -22
- package/build/core/middleware/utils/debug/taskMigrator.d.ts.map +0 -1
- package/build/core/middleware/utils/debug/taskMigrator.js +0 -935
- package/build/core/middleware/utils/debug/taskMigrator.js.map +0 -1
- package/build/core/middleware/utils/migrationContext.d.ts +0 -32
- package/build/core/middleware/utils/migrationContext.d.ts.map +0 -1
- package/build/core/middleware/utils/migrationContext.js +0 -104
- package/build/core/middleware/utils/migrationContext.js.map +0 -1
- /package/build/{core/middleware → component/generator/openPlugin}/types.js +0 -0
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"version": {
|
|
15
15
|
"type": "string",
|
|
16
16
|
"description": "The version of the yaml file schema",
|
|
17
|
-
"const": "v1.
|
|
17
|
+
"const": "v1.13"
|
|
18
18
|
},
|
|
19
19
|
"additionalMetadata": {
|
|
20
20
|
"type": "object",
|
|
@@ -81,9 +81,11 @@
|
|
|
81
81
|
{ "$ref": "#/definitions/apiKeyUpdate"},
|
|
82
82
|
{ "$ref": "#/definitions/oauthRegister"},
|
|
83
83
|
{ "$ref": "#/definitions/oauthUpdate"},
|
|
84
|
+
{ "$ref": "#/definitions/dcrRegister"},
|
|
84
85
|
{ "$ref": "#/definitions/devChannelCreate"},
|
|
85
86
|
{ "$ref": "#/definitions/devChannelInstallApp"},
|
|
86
|
-
{ "$ref": "#/definitions/typeSpecCompile"}
|
|
87
|
+
{ "$ref": "#/definitions/typeSpecCompile"},
|
|
88
|
+
{ "$ref": "#/definitions/copilotAgentPublish"}
|
|
87
89
|
]
|
|
88
90
|
}
|
|
89
91
|
},
|
|
@@ -1944,6 +1946,66 @@
|
|
|
1944
1946
|
}
|
|
1945
1947
|
}
|
|
1946
1948
|
},
|
|
1949
|
+
"dcrRegister": {
|
|
1950
|
+
"type": "object",
|
|
1951
|
+
"additionalProperties": false,
|
|
1952
|
+
"description": "Create a Dynamic Client Registration (DCR) configuration.",
|
|
1953
|
+
"required": ["uses", "with", "writeToEnvironmentFile"],
|
|
1954
|
+
"properties": {
|
|
1955
|
+
"uses": {
|
|
1956
|
+
"type": "string",
|
|
1957
|
+
"description": "Register a DCR configuration.",
|
|
1958
|
+
"const": "dcr/register"
|
|
1959
|
+
},
|
|
1960
|
+
"with": {
|
|
1961
|
+
"type": "object",
|
|
1962
|
+
"additionalProperties": false,
|
|
1963
|
+
"description": "Parameters for this action",
|
|
1964
|
+
"required": ["name", "wellKnownAuthorizationServer"],
|
|
1965
|
+
"properties": {
|
|
1966
|
+
"name": {
|
|
1967
|
+
"type": "string",
|
|
1968
|
+
"description": "The display name of the DCR configuration. Becomes the clientName sent during RFC 7591 registration. Max 128 characters."
|
|
1969
|
+
},
|
|
1970
|
+
"appId": {
|
|
1971
|
+
"type": "string",
|
|
1972
|
+
"description": "The Teams app id associated with this configuration. Only takes effect when applicableToApps is SpecificApp."
|
|
1973
|
+
},
|
|
1974
|
+
"wellKnownAuthorizationServer": {
|
|
1975
|
+
"type": "string",
|
|
1976
|
+
"description": "URL to the authorization server's RFC 8414 metadata document. TGS fetches this to discover the registration_endpoint and performs the RFC 7591 exchange server-side."
|
|
1977
|
+
},
|
|
1978
|
+
"targetUrlsShouldStartWith": {
|
|
1979
|
+
"type": "array",
|
|
1980
|
+
"description": "Outbound URL allowlist. TGS only allows this configuration to authorize calls whose destination URL starts with one of these prefixes.",
|
|
1981
|
+
"items": { "type": "string" }
|
|
1982
|
+
},
|
|
1983
|
+
"applicableToApps": {
|
|
1984
|
+
"type": "string",
|
|
1985
|
+
"description": "Which app can use this DCR configuration. Default is \"AnyApp\".",
|
|
1986
|
+
"enum": ["SpecificApp", "AnyApp"]
|
|
1987
|
+
},
|
|
1988
|
+
"targetAudience": {
|
|
1989
|
+
"type": "string",
|
|
1990
|
+
"description": "Which tenant can use this DCR configuration. Default is \"HomeTenant\".",
|
|
1991
|
+
"enum": ["HomeTenant", "AnyTenant"]
|
|
1992
|
+
}
|
|
1993
|
+
}
|
|
1994
|
+
},
|
|
1995
|
+
"writeToEnvironmentFile": {
|
|
1996
|
+
"type": "object",
|
|
1997
|
+
"additionalProperties": false,
|
|
1998
|
+
"description": "Write environment variables to environment file",
|
|
1999
|
+
"required": ["configurationId"],
|
|
2000
|
+
"properties": {
|
|
2001
|
+
"configurationId": {
|
|
2002
|
+
"description": "Required. The configuration id of the created DCR registration.",
|
|
2003
|
+
"$ref": "#/definitions/envVarName"
|
|
2004
|
+
}
|
|
2005
|
+
}
|
|
2006
|
+
}
|
|
2007
|
+
}
|
|
2008
|
+
},
|
|
1947
2009
|
"devChannelCreate": {
|
|
1948
2010
|
"type": "object",
|
|
1949
2011
|
"additionalProperties": false,
|
|
@@ -2066,6 +2128,66 @@
|
|
|
2066
2128
|
}
|
|
2067
2129
|
}
|
|
2068
2130
|
}
|
|
2131
|
+
},
|
|
2132
|
+
"copilotAgentPublish": {
|
|
2133
|
+
"type": "object",
|
|
2134
|
+
"additionalProperties": false,
|
|
2135
|
+
"description": "Publish Copilot agent to Microsoft Admin Center. Refer to https://aka.ms/teamsfx-actions/copilotagent-publish for more details.",
|
|
2136
|
+
"required": ["uses", "with"],
|
|
2137
|
+
"properties": {
|
|
2138
|
+
"name": {
|
|
2139
|
+
"type": "string",
|
|
2140
|
+
"description": "An optional name of this action."
|
|
2141
|
+
},
|
|
2142
|
+
"env": {
|
|
2143
|
+
"type": "object",
|
|
2144
|
+
"description": "Define environment variables for this action.",
|
|
2145
|
+
"additionalProperties": {
|
|
2146
|
+
"type": "string"
|
|
2147
|
+
}
|
|
2148
|
+
},
|
|
2149
|
+
"uses": {
|
|
2150
|
+
"type": "string",
|
|
2151
|
+
"description": "Publish Copilot agent to Microsoft Admin Center. Refer to https://aka.ms/teamsfx-actions/copilotagent-publish for more details.",
|
|
2152
|
+
"const": "copilotAgent/publish"
|
|
2153
|
+
},
|
|
2154
|
+
"with": {
|
|
2155
|
+
"type": "object",
|
|
2156
|
+
"additionalProperties": false,
|
|
2157
|
+
"description": "parameters for this action",
|
|
2158
|
+
"required": ["appPackagePath"],
|
|
2159
|
+
"properties": {
|
|
2160
|
+
"appPackagePath": {
|
|
2161
|
+
"type": "string",
|
|
2162
|
+
"description": "Path to app package to be published."
|
|
2163
|
+
},
|
|
2164
|
+
"scope": {
|
|
2165
|
+
"type": "string",
|
|
2166
|
+
"description": "Scope of the agent. 'personal' is only visible to the owners. 'shared' can be visible to other users in the tenant. 'tenant' is visible to all users in the tenant. Default is 'personal'."
|
|
2167
|
+
}
|
|
2168
|
+
}
|
|
2169
|
+
},
|
|
2170
|
+
"writeToEnvironmentFile": {
|
|
2171
|
+
"type": "object",
|
|
2172
|
+
"additionalProperties": false,
|
|
2173
|
+
"description": "Write environment variables to environment file",
|
|
2174
|
+
"required": ["titleId", "appId"],
|
|
2175
|
+
"properties": {
|
|
2176
|
+
"titleId": {
|
|
2177
|
+
"description": "Required. The title ID of the published agent.",
|
|
2178
|
+
"$ref": "#/definitions/envVarName"
|
|
2179
|
+
},
|
|
2180
|
+
"appId": {
|
|
2181
|
+
"description": "Required. The app ID of the published agent.",
|
|
2182
|
+
"$ref": "#/definitions/envVarName"
|
|
2183
|
+
},
|
|
2184
|
+
"shareLink": {
|
|
2185
|
+
"description": "Optional. The share link of the app.",
|
|
2186
|
+
"$ref": "#/definitions/envVarName"
|
|
2187
|
+
}
|
|
2188
|
+
}
|
|
2189
|
+
}
|
|
2190
|
+
}
|
|
2069
2191
|
}
|
|
2070
2192
|
}
|
|
2071
2193
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -112,8 +112,7 @@
|
|
|
112
112
|
"id": "mcp",
|
|
113
113
|
"label": "template.createProjectQuestion.mcpForDa.label",
|
|
114
114
|
"detail": "template.createProjectQuestion.mcpForDa.detail",
|
|
115
|
-
"data": "declarative-agent-with-action-from-mcp"
|
|
116
|
-
"featureFlag": "TEAMSFX_MCP_FOR_DA"
|
|
115
|
+
"data": "declarative-agent-with-action-from-mcp"
|
|
117
116
|
}
|
|
118
117
|
]
|
|
119
118
|
},
|
|
@@ -134,8 +134,7 @@
|
|
|
134
134
|
"id": "mcp",
|
|
135
135
|
"label": "template.createProjectQuestion.mcpForDa.label",
|
|
136
136
|
"detail": "template.createProjectQuestion.mcpForDa.detail",
|
|
137
|
-
"data": "declarative-agent-with-action-from-mcp"
|
|
138
|
-
"featureFlag": "TEAMSFX_MCP_FOR_DA"
|
|
137
|
+
"data": "declarative-agent-with-action-from-mcp"
|
|
139
138
|
}
|
|
140
139
|
]
|
|
141
140
|
},
|
|
Binary file
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author xzf0587 <zhaofengxu@microsoft.com>
|
|
3
|
-
*/
|
|
4
|
-
import { Middleware } from "@feathersjs/hooks/lib";
|
|
5
|
-
import { CoreHookContext } from "../types";
|
|
6
|
-
import { VersionForMigration } from "./types";
|
|
7
|
-
import { MigrationContext } from "./utils/migrationContext";
|
|
8
|
-
export declare const learnMoreLink = "https://aka.ms/teams-toolkit-5.0-upgrade";
|
|
9
|
-
export declare const errorNames: {
|
|
10
|
-
manifestTemplateNotExist: string;
|
|
11
|
-
manifestTemplateInvalid: string;
|
|
12
|
-
aadManifestTemplateNotExist: string;
|
|
13
|
-
};
|
|
14
|
-
export declare const moreInfoButton: () => string;
|
|
15
|
-
type Migration = (context: MigrationContext) => Promise<void>;
|
|
16
|
-
export declare const subMigrations: Array<Migration>;
|
|
17
|
-
export declare const ProjectMigratorMWV3: Middleware;
|
|
18
|
-
export declare function wrapRunMigration(context: MigrationContext, exec: Migration): Promise<void>;
|
|
19
|
-
export declare function buildErrorMessage(error: any, step?: string): string;
|
|
20
|
-
export declare function rollbackMigration(context: MigrationContext): Promise<void>;
|
|
21
|
-
export declare function migrate(context: MigrationContext): Promise<void>;
|
|
22
|
-
export declare function preMigration(context: MigrationContext): Promise<void>;
|
|
23
|
-
export declare function checkVersionForMigration(ctx: CoreHookContext): Promise<VersionForMigration>;
|
|
24
|
-
export declare function generateAppYml(context: MigrationContext): Promise<void>;
|
|
25
|
-
export declare function updateLaunchJson(context: MigrationContext): Promise<void>;
|
|
26
|
-
export declare function isSPFxProject(projectSettings?: any): boolean;
|
|
27
|
-
export declare function manifestsMigration(context: MigrationContext): Promise<void>;
|
|
28
|
-
export declare function azureParameterMigration(context: MigrationContext): Promise<void>;
|
|
29
|
-
export declare function showNotification(ctx: CoreHookContext, versionForMigration: VersionForMigration): Promise<boolean>;
|
|
30
|
-
export declare function configsMigration(context: MigrationContext): Promise<void>;
|
|
31
|
-
export declare function statesMigration(context: MigrationContext): Promise<void>;
|
|
32
|
-
export declare function userdataMigration(context: MigrationContext): Promise<void>;
|
|
33
|
-
export declare function debugMigration(context: MigrationContext): Promise<void>;
|
|
34
|
-
export declare function checkapimPluginExists(pjSettings: any): boolean;
|
|
35
|
-
export declare function generateApimPluginEnvContent(context: MigrationContext): Promise<void>;
|
|
36
|
-
export declare function checkActiveResourcePlugins(projectPath: string): Promise<boolean>;
|
|
37
|
-
export declare function updateGitignore(context: MigrationContext): Promise<void>;
|
|
38
|
-
export {};
|
|
39
|
-
//# sourceMappingURL=projectMigratorV3.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"projectMigratorV3.d.ts","sourceRoot":"","sources":["../../../src/core/middleware/projectMigratorV3.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAgB,MAAM,uBAAuB,CAAC;AA+BjE,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAE3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;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