@microsoft/teamsfx-core 3.1.3 → 3.1.4-alpha.17203f2e50.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/devPortalClient.d.ts +43 -0
- package/build/client/devPortalClient.d.ts.map +1 -0
- package/build/client/devPortalClient.js +626 -0
- package/build/client/devPortalClient.js.map +1 -0
- package/build/client/graphClient.d.ts +1 -0
- package/build/client/graphClient.d.ts.map +1 -1
- package/build/client/graphClient.js +17 -2
- package/build/client/graphClient.js.map +1 -1
- package/build/client/teamsDevPortalClient.d.ts +14 -21
- package/build/client/teamsDevPortalClient.d.ts.map +1 -1
- package/build/client/teamsDevPortalClient.js +65 -112
- package/build/client/teamsDevPortalClient.js.map +1 -1
- package/build/client/teamsDevPortalClientProvider.d.ts +6 -0
- package/build/client/teamsDevPortalClientProvider.d.ts.map +1 -0
- package/build/client/teamsDevPortalClientProvider.js +76 -0
- package/build/client/teamsDevPortalClientProvider.js.map +1 -0
- package/build/common/featureFlags.d.ts +7 -2
- package/build/common/featureFlags.d.ts.map +1 -1
- package/build/common/featureFlags.js +8 -3
- package/build/common/featureFlags.js.map +1 -1
- package/build/common/localizeUtils.d.ts +1 -0
- package/build/common/localizeUtils.d.ts.map +1 -1
- package/build/common/localizeUtils.js +10 -0
- package/build/common/localizeUtils.js.map +1 -1
- package/build/common/templates-config.json +4 -4
- package/build/common/tools.js +2 -2
- package/build/common/tools.js.map +1 -1
- package/build/common/utils.d.ts.map +1 -1
- package/build/common/utils.js +1 -0
- package/build/common/utils.js.map +1 -1
- package/build/common/wrappedAxiosClient.d.ts.map +1 -1
- package/build/common/wrappedAxiosClient.js +87 -27
- package/build/common/wrappedAxiosClient.js.map +1 -1
- 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/interface/commonArgs.d.ts +1 -0
- package/build/component/driver/interface/commonArgs.d.ts.map +1 -1
- package/build/component/driver/teamsApp/appStudio.d.ts.map +1 -1
- package/build/component/driver/teamsApp/appStudio.js +10 -6
- package/build/component/driver/teamsApp/appStudio.js.map +1 -1
- package/build/component/driver/teamsApp/configure.d.ts.map +1 -1
- package/build/component/driver/teamsApp/configure.js +12 -8
- package/build/component/driver/teamsApp/configure.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/create.d.ts.map +1 -1
- package/build/component/driver/teamsApp/create.js +28 -26
- package/build/component/driver/teamsApp/create.js.map +1 -1
- package/build/component/driver/teamsApp/createAppPackage.js +1 -1
- package/build/component/driver/teamsApp/createAppPackage.js.map +1 -1
- package/build/component/driver/teamsApp/interfaces/appdefinitions/appUser.d.ts +1 -0
- package/build/component/driver/teamsApp/interfaces/appdefinitions/appUser.d.ts.map +1 -1
- package/build/component/driver/teamsApp/utils/telemetry.d.ts +0 -1
- package/build/component/driver/teamsApp/utils/telemetry.d.ts.map +1 -1
- package/build/component/driver/teamsApp/utils/telemetry.js +0 -1
- package/build/component/driver/teamsApp/utils/telemetry.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/driver/teamsApp/validateAppPackage.js +3 -3
- package/build/component/driver/teamsApp/validateAppPackage.js.map +1 -1
- package/build/component/driver/teamsApp/validateTestCases.js +4 -4
- package/build/component/driver/teamsApp/validateTestCases.js.map +1 -1
- package/build/component/driver/util/utils.d.ts.map +1 -1
- package/build/component/driver/util/utils.js +1 -0
- package/build/component/driver/util/utils.js.map +1 -1
- package/build/component/feature/collaboration.js +4 -4
- package/build/component/feature/collaboration.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/generator/v4TemplateBridge.d.ts +1 -1
- package/build/component/generator/v4TemplateBridge.d.ts.map +1 -1
- package/build/component/generator/v4TemplateBridge.js +11 -6
- package/build/component/generator/v4TemplateBridge.js.map +1 -1
- package/build/component/middleware/questionMW.d.ts.map +1 -1
- package/build/component/middleware/questionMW.js +2 -0
- package/build/component/middleware/questionMW.js.map +1 -1
- package/build/component/resource/botService/botRegistration/botFrameworkRegistration.js +4 -4
- package/build/component/resource/botService/botRegistration/botFrameworkRegistration.js.map +1 -1
- 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 +1 -1
- package/build/component/utils/envUtil.d.ts.map +1 -1
- package/build/component/utils/envUtil.js +17 -8
- 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/component/utils/pathUtils.d.ts +4 -4
- package/build/component/utils/pathUtils.d.ts.map +1 -1
- package/build/component/utils/pathUtils.js +17 -8
- package/build/component/utils/pathUtils.js.map +1 -1
- package/build/component/utils/settingsUtil.d.ts +1 -1
- package/build/component/utils/settingsUtil.d.ts.map +1 -1
- package/build/component/utils/settingsUtil.js +3 -3
- package/build/component/utils/settingsUtil.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 +49 -9
- 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/index.d.ts +2 -2
- package/build/index.d.ts.map +1 -1
- package/build/index.js +6 -5
- package/build/index.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/CapabilityOptions.d.ts.map +1 -1
- package/build/question/scaffold/vsc/CapabilityOptions.js +5 -2
- package/build/question/scaffold/vsc/CapabilityOptions.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/question/share.js +2 -2
- package/build/question/share.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/capabilities/declarations.d.ts +140 -0
- package/build/v4/capabilities/declarations.d.ts.map +1 -0
- package/build/v4/capabilities/declarations.js +59 -0
- package/build/v4/capabilities/declarations.js.map +1 -0
- package/build/v4/collectInputs/collectInputs.d.ts +1 -0
- package/build/v4/collectInputs/collectInputs.d.ts.map +1 -1
- package/build/v4/collectInputs/collectInputs.js +113 -222
- package/build/v4/collectInputs/collectInputs.js.map +1 -1
- package/build/v4/distribution/declarativePackage.d.ts +2 -2
- package/build/v4/distribution/declarativePackage.d.ts.map +1 -1
- package/build/v4/distribution/declarativePackage.js +2 -1
- package/build/v4/distribution/declarativePackage.js.map +1 -1
- package/build/v4/distribution/descriptorLanguages.d.ts +9 -0
- package/build/v4/distribution/descriptorLanguages.d.ts.map +1 -0
- package/build/v4/distribution/descriptorLanguages.js +44 -0
- package/build/v4/distribution/descriptorLanguages.js.map +1 -0
- package/build/v4/distribution/packageDir.d.ts +6 -1
- package/build/v4/distribution/packageDir.d.ts.map +1 -1
- package/build/v4/distribution/packageDir.js +6 -1
- package/build/v4/distribution/packageDir.js.map +1 -1
- package/build/v4/engineVersion.d.ts +1 -1
- package/build/v4/engineVersion.js +1 -1
- package/build/v4/expression/evaluateExpression.d.ts.map +1 -1
- package/build/v4/expression/evaluateExpression.js +15 -13
- package/build/v4/expression/evaluateExpression.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 +63 -40
- package/build/v4/mcp/mcpAuthScaffold.js.map +1 -1
- package/build/v4/pipeline/defineStep.d.ts +10 -0
- package/build/v4/pipeline/defineStep.d.ts.map +1 -0
- package/build/v4/pipeline/defineStep.js +28 -0
- package/build/v4/pipeline/defineStep.js.map +1 -0
- package/build/v4/pipeline/runScaffoldPipeline.d.ts +3 -7
- package/build/v4/pipeline/runScaffoldPipeline.d.ts.map +1 -1
- package/build/v4/pipeline/runScaffoldPipeline.js +26 -16
- package/build/v4/pipeline/runScaffoldPipeline.js.map +1 -1
- package/build/v4/pipeline/stepParams.d.ts +4 -0
- package/build/v4/pipeline/stepParams.d.ts.map +1 -0
- package/build/v4/pipeline/stepParams.js +17 -0
- package/build/v4/pipeline/stepParams.js.map +1 -0
- package/build/v4/providers/createLanguageOptionsProvider.d.ts +13 -0
- package/build/v4/providers/createLanguageOptionsProvider.d.ts.map +1 -0
- package/build/v4/providers/createLanguageOptionsProvider.js +61 -0
- package/build/v4/providers/createLanguageOptionsProvider.js.map +1 -0
- package/build/v4/providers/createOptionsProviders.d.ts +3 -1
- package/build/v4/providers/createOptionsProviders.d.ts.map +1 -1
- package/build/v4/providers/createOptionsProviders.js +67 -61
- package/build/v4/providers/createOptionsProviders.js.map +1 -1
- package/build/v4/runtime/compatibility/index.d.ts +4 -0
- package/build/v4/runtime/compatibility/index.d.ts.map +1 -0
- package/build/v4/runtime/compatibility/index.js +11 -0
- package/build/v4/runtime/compatibility/index.js.map +1 -0
- package/build/v4/runtime/compatibility/legacyOpenApiSearch.d.ts +4 -0
- package/build/v4/runtime/compatibility/legacyOpenApiSearch.d.ts.map +1 -0
- package/build/v4/runtime/compatibility/legacyOpenApiSearch.js +26 -0
- package/build/v4/runtime/compatibility/legacyOpenApiSearch.js.map +1 -0
- package/build/v4/runtime/functions/assets/officeAddin.json +48 -0
- package/build/v4/runtime/functions/generic.d.ts +10 -0
- package/build/v4/runtime/functions/generic.d.ts.map +1 -0
- package/build/v4/runtime/functions/generic.js +25 -0
- package/build/v4/runtime/functions/generic.js.map +1 -0
- package/build/v4/runtime/functions/mcp.d.ts +8 -0
- package/build/v4/runtime/functions/mcp.d.ts.map +1 -0
- package/build/v4/runtime/functions/mcp.js +28 -0
- package/build/v4/runtime/functions/mcp.js.map +1 -0
- package/build/v4/runtime/functions/officeAddin.d.ts +27 -0
- package/build/v4/runtime/functions/officeAddin.d.ts.map +1 -0
- package/build/v4/runtime/functions/officeAddin.js +120 -0
- package/build/v4/runtime/functions/officeAddin.js.map +1 -0
- package/build/v4/runtime/inMemoryRuntime.d.ts.map +1 -1
- package/build/v4/runtime/inMemoryRuntime.js +7 -0
- package/build/v4/runtime/inMemoryRuntime.js.map +1 -1
- package/build/v4/runtime/packageParse.d.ts +13 -8
- package/build/v4/runtime/packageParse.d.ts.map +1 -1
- package/build/v4/runtime/packageParse.js +13 -219
- package/build/v4/runtime/packageParse.js.map +1 -1
- package/build/v4/runtime/realRuntime.d.ts.map +1 -1
- package/build/v4/runtime/realRuntime.js +44 -5
- package/build/v4/runtime/realRuntime.js.map +1 -1
- package/build/v4/runtime/renderFragment.d.ts +2 -0
- package/build/v4/runtime/renderFragment.d.ts.map +1 -0
- package/build/v4/runtime/renderFragment.js +11 -0
- package/build/v4/runtime/renderFragment.js.map +1 -0
- package/build/v4/runtime/runtimeRegistry.d.ts +4 -4
- package/build/v4/runtime/runtimeRegistry.d.ts.map +1 -1
- package/build/v4/runtime/runtimeRegistry.js +9 -106
- package/build/v4/runtime/runtimeRegistry.js.map +1 -1
- package/build/v4/runtime/scaffold.d.ts +2 -0
- package/build/v4/runtime/scaffold.d.ts.map +1 -1
- package/build/v4/runtime/scaffold.js +15 -12
- package/build/v4/runtime/scaffold.js.map +1 -1
- package/build/v4/runtime/scaffoldFromPackageDir.d.ts.map +1 -1
- package/build/v4/runtime/scaffoldFromPackageDir.js +1 -4
- package/build/v4/runtime/scaffoldFromPackageDir.js.map +1 -1
- package/build/v4/runtime/selectLanguageContent.d.ts +1 -0
- package/build/v4/runtime/selectLanguageContent.d.ts.map +1 -1
- package/build/v4/runtime/selectLanguageContent.js +5 -1
- package/build/v4/runtime/selectLanguageContent.js.map +1 -1
- package/build/v4/runtime/services/daManifestService.d.ts +9 -0
- package/build/v4/runtime/services/daManifestService.d.ts.map +1 -0
- package/build/v4/runtime/services/daManifestService.js +102 -0
- package/build/v4/runtime/services/daManifestService.js.map +1 -0
- package/build/v4/runtime/steps/assets/metaOs.json +197 -0
- package/build/v4/runtime/steps/assets/openApiAuth.json +33 -0
- package/build/v4/runtime/steps/assets/openApiCustomApi.json +141 -0
- package/build/v4/runtime/steps/daAction.d.ts +3 -1
- package/build/v4/runtime/steps/daAction.d.ts.map +1 -1
- package/build/v4/runtime/steps/daAction.js +25 -25
- package/build/v4/runtime/steps/daAction.js.map +1 -1
- package/build/v4/runtime/steps/daSensitivity.d.ts +3 -2
- package/build/v4/runtime/steps/daSensitivity.d.ts.map +1 -1
- package/build/v4/runtime/steps/daSensitivity.js +16 -16
- package/build/v4/runtime/steps/daSensitivity.js.map +1 -1
- package/build/v4/runtime/steps/mcpAuth.d.ts +2 -2
- package/build/v4/runtime/steps/mcpAuth.d.ts.map +1 -1
- package/build/v4/runtime/steps/mcpAuth.js +43 -50
- package/build/v4/runtime/steps/mcpAuth.js.map +1 -1
- package/build/v4/runtime/steps/mcpLocal.d.ts +1 -1
- package/build/v4/runtime/steps/mcpLocal.d.ts.map +1 -1
- package/build/v4/runtime/steps/mcpLocal.js +19 -31
- package/build/v4/runtime/steps/mcpLocal.js.map +1 -1
- package/build/v4/runtime/steps/mcpStatic.d.ts +1 -1
- package/build/v4/runtime/steps/mcpStatic.d.ts.map +1 -1
- package/build/v4/runtime/steps/mcpStatic.js +33 -39
- package/build/v4/runtime/steps/mcpStatic.js.map +1 -1
- package/build/v4/runtime/steps/metaOs.d.ts +2 -2
- package/build/v4/runtime/steps/metaOs.d.ts.map +1 -1
- package/build/v4/runtime/steps/metaOs.js +46 -169
- package/build/v4/runtime/steps/metaOs.js.map +1 -1
- package/build/v4/runtime/steps/officeAddin.d.ts +1 -1
- package/build/v4/runtime/steps/officeAddin.d.ts.map +1 -1
- package/build/v4/runtime/steps/officeAddin.js +16 -20
- package/build/v4/runtime/steps/officeAddin.js.map +1 -1
- package/build/v4/runtime/steps/openApi.d.ts +2 -2
- package/build/v4/runtime/steps/openApi.d.ts.map +1 -1
- package/build/v4/runtime/steps/openApi.js +46 -112
- package/build/v4/runtime/steps/openApi.js.map +1 -1
- package/build/v4/runtime/steps/openApiAuth.d.ts +9 -0
- package/build/v4/runtime/steps/openApiAuth.d.ts.map +1 -0
- package/build/v4/runtime/steps/openApiAuth.js +51 -0
- package/build/v4/runtime/steps/openApiAuth.js.map +1 -0
- package/build/v4/runtime/steps/openApiCustomApi.d.ts.map +1 -1
- package/build/v4/runtime/steps/openApiCustomApi.js +9 -119
- package/build/v4/runtime/steps/openApiCustomApi.js.map +1 -1
- package/build/v4/runtime/whitelist.d.ts +4 -38
- package/build/v4/runtime/whitelist.d.ts.map +1 -1
- package/build/v4/runtime/whitelist.js +30 -190
- package/build/v4/runtime/whitelist.js.map +1 -1
- package/build/v4/surface/createFloorTail.d.ts +2 -2
- package/build/v4/surface/createFloorTail.d.ts.map +1 -1
- package/build/v4/surface/createFloorTail.js +5 -22
- package/build/v4/surface/createFloorTail.js.map +1 -1
- package/build/v4/surface/createInputs.d.ts +2 -2
- package/build/v4/surface/createInputs.d.ts.map +1 -1
- package/build/v4/surface/createInputs.js +17 -44
- package/build/v4/surface/createInputs.js.map +1 -1
- package/build/v4/surface/createSelectorWalk.d.ts.map +1 -1
- package/build/v4/surface/createSelectorWalk.js +2 -56
- package/build/v4/surface/createSelectorWalk.js.map +1 -1
- package/build/v4/surface/localizePrompt.d.ts +2 -0
- package/build/v4/surface/localizePrompt.d.ts.map +1 -1
- package/build/v4/surface/localizePrompt.js +0 -1
- package/build/v4/surface/localizePrompt.js.map +1 -1
- package/build/v4/surface/modifySelectorWalk.d.ts.map +1 -1
- package/build/v4/surface/modifySelectorWalk.js +2 -52
- package/build/v4/surface/modifySelectorWalk.js.map +1 -1
- package/build/v4/surface/selectorPresentation.d.ts +5 -0
- package/build/v4/surface/selectorPresentation.d.ts.map +1 -0
- package/build/v4/surface/selectorPresentation.js +78 -0
- package/build/v4/surface/selectorPresentation.js.map +1 -0
- package/build/v4/validation/capabilityCatalog.d.ts +2 -2
- package/build/v4/validation/capabilityCatalog.d.ts.map +1 -1
- package/build/v4/validation/capabilityCatalog.js +9 -46
- package/build/v4/validation/capabilityCatalog.js.map +1 -1
- package/build/v4/validation/packageParse.d.ts +27 -0
- package/build/v4/validation/packageParse.d.ts.map +1 -0
- package/build/v4/validation/packageParse.js +247 -0
- package/build/v4/validation/packageParse.js.map +1 -0
- package/build/v4/validation/templateArchiveValidation.d.ts +2 -2
- package/build/v4/validation/templateArchiveValidation.d.ts.map +1 -1
- package/build/v4/validation/templateArchiveValidation.js +7 -2
- package/build/v4/validation/templateArchiveValidation.js.map +1 -1
- package/build/v4/validation/validateTemplatePackage.d.ts +3 -2
- package/build/v4/validation/validateTemplatePackage.d.ts.map +1 -1
- package/build/v4/validation/validateTemplatePackage.js +23 -3
- package/build/v4/validation/validateTemplatePackage.js.map +1 -1
- package/build/v4/validators/createInputValidators.d.ts.map +1 -1
- package/build/v4/validators/createInputValidators.js +9 -8
- package/build/v4/validators/createInputValidators.js.map +1 -1
- package/package.json +37 -37
- package/resource/package.nls.json +35 -1
- 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/ui/tdpNode.json +1 -1
- package/templates/ui/wizardNode.json +1 -1
- package/templates/v4/create-selector.json +2 -2
- 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":"daAction.d.ts","sourceRoot":"","sources":["../../../../src/v4/runtime/steps/daAction.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"daAction.d.ts","sourceRoot":"","sources":["../../../../src/v4/runtime/steps/daAction.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAGpE,OAAO,EAAE,iBAAiB,EAAqB,MAAM,+BAA+B,CAAC;AAMrF,6DAA6D;AAC7D,eAAO,MAAM,6BAA6B,QAAwD,CAAC;AAMnG,wBAAgB,wCAAwC,CACtD,SAAS,GAAE,iBAAqC,GAC/C,cAAc,CAmBhB;AAED,gFAAgF;AAChF,eAAO,MAAM,8BAA8B,gBAA6C,CAAC"}
|
|
@@ -3,39 +3,39 @@
|
|
|
3
3
|
// Licensed under the MIT license.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.daActionRegisterPluginManifest = exports.STEP_REGISTER_PLUGIN_MANIFEST = void 0;
|
|
6
|
+
exports.createDaActionRegisterPluginManifestStep = createDaActionRegisterPluginManifestStep;
|
|
6
7
|
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
7
8
|
const neverthrow_1 = require("neverthrow");
|
|
9
|
+
const declarations_1 = require("../../capabilities/declarations");
|
|
10
|
+
const defineStep_1 = require("../../pipeline/defineStep");
|
|
11
|
+
const stepParams_1 = require("../../pipeline/stepParams");
|
|
12
|
+
const daManifestService_1 = require("../services/daManifestService");
|
|
8
13
|
/** Declarative Agent manifest mutation steps for modify flows. */
|
|
9
14
|
const SOURCE = "Scaffold";
|
|
10
15
|
/** Engine step name `da-action/register-plugin-manifest`. */
|
|
11
|
-
exports.STEP_REGISTER_PLUGIN_MANIFEST =
|
|
16
|
+
exports.STEP_REGISTER_PLUGIN_MANIFEST = declarations_1.capabilityDeclarations.step.registerPluginManifest.id;
|
|
12
17
|
function systemError(name, message) {
|
|
13
18
|
return new teamsfx_api_1.SystemError({ source: SOURCE, name, message });
|
|
14
19
|
}
|
|
15
|
-
function
|
|
16
|
-
|
|
17
|
-
|
|
20
|
+
function createDaActionRegisterPluginManifestStep(manifests = daManifestService_1.daManifestService) {
|
|
21
|
+
return (0, defineStep_1.defineStep)({
|
|
22
|
+
parse(resolved) {
|
|
23
|
+
const teamsManifestPath = (0, stepParams_1.stringParam)(resolved, "teamsManifestPath");
|
|
24
|
+
if (teamsManifestPath === undefined) {
|
|
25
|
+
return (0, neverthrow_1.err)("missing string parameter 'teamsManifestPath'");
|
|
26
|
+
}
|
|
27
|
+
const pluginManifestPath = (0, stepParams_1.stringParam)(resolved, "pluginManifestPath");
|
|
28
|
+
if (pluginManifestPath === undefined) {
|
|
29
|
+
return (0, neverthrow_1.err)("missing string parameter 'pluginManifestPath'");
|
|
30
|
+
}
|
|
31
|
+
return (0, neverthrow_1.ok)({ teamsManifestPath, pluginManifestPath });
|
|
32
|
+
},
|
|
33
|
+
invalidParams: () => systemError("DaActionRegisterParams", "resolved parameters are not all strings"),
|
|
34
|
+
apply({ teamsManifestPath, pluginManifestPath }, ctx) {
|
|
35
|
+
return manifests.registerDeclarativeAgentAction(ctx, teamsManifestPath, pluginManifestPath);
|
|
36
|
+
},
|
|
37
|
+
});
|
|
18
38
|
}
|
|
19
39
|
/** Registered step for adding a rendered API plugin manifest as a DA action. */
|
|
20
|
-
exports.daActionRegisterPluginManifest =
|
|
21
|
-
validateParams(resolved) {
|
|
22
|
-
if (stringParam(resolved, "teamsManifestPath") === undefined) {
|
|
23
|
-
return "missing string parameter 'teamsManifestPath'";
|
|
24
|
-
}
|
|
25
|
-
if (stringParam(resolved, "pluginManifestPath") === undefined) {
|
|
26
|
-
return "missing string parameter 'pluginManifestPath'";
|
|
27
|
-
}
|
|
28
|
-
return undefined;
|
|
29
|
-
},
|
|
30
|
-
apply(resolved, ctx) {
|
|
31
|
-
const teamsManifestPath = stringParam(resolved, "teamsManifestPath");
|
|
32
|
-
const pluginManifestPath = stringParam(resolved, "pluginManifestPath");
|
|
33
|
-
if (teamsManifestPath === undefined || pluginManifestPath === undefined) {
|
|
34
|
-
return (0, neverthrow_1.err)(systemError("DaActionRegisterParams", "resolved parameters are not all strings"));
|
|
35
|
-
}
|
|
36
|
-
return ctx
|
|
37
|
-
.manifestWrapper("declarativeAgent")
|
|
38
|
-
.registerDeclarativeAgentAction(teamsManifestPath, pluginManifestPath);
|
|
39
|
-
},
|
|
40
|
-
};
|
|
40
|
+
exports.daActionRegisterPluginManifest = createDaActionRegisterPluginManifestStep();
|
|
41
41
|
//# sourceMappingURL=daAction.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"daAction.js","sourceRoot":"","sources":["../../../../src/v4/runtime/steps/daAction.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;
|
|
1
|
+
{"version":3,"file":"daAction.js","sourceRoot":"","sources":["../../../../src/v4/runtime/steps/daAction.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAqBlC,4FAqBC;AAxCD,wDAA8D;AAC9D,2CAA6C;AAC7C,kEAAyE;AAEzE,0DAAuD;AACvD,0DAAwD;AACxD,qEAAqF;AAErF,kEAAkE;AAElE,MAAM,MAAM,GAAG,UAAU,CAAC;AAE1B,6DAA6D;AAChD,QAAA,6BAA6B,GAAG,qCAAsB,CAAC,IAAI,CAAC,sBAAsB,CAAC,EAAE,CAAC;AAEnG,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,SAAgB,wCAAwC,CACtD,YAA+B,qCAAiB;IAEhD,OAAO,IAAA,uBAAU,EAAC;QAChB,KAAK,CAAC,QAAQ;YACZ,MAAM,iBAAiB,GAAG,IAAA,wBAAW,EAAC,QAAQ,EAAE,mBAAmB,CAAC,CAAC;YACrE,IAAI,iBAAiB,KAAK,SAAS,EAAE,CAAC;gBACpC,OAAO,IAAA,gBAAG,EAAC,8CAA8C,CAAC,CAAC;YAC7D,CAAC;YACD,MAAM,kBAAkB,GAAG,IAAA,wBAAW,EAAC,QAAQ,EAAE,oBAAoB,CAAC,CAAC;YACvE,IAAI,kBAAkB,KAAK,SAAS,EAAE,CAAC;gBACrC,OAAO,IAAA,gBAAG,EAAC,+CAA+C,CAAC,CAAC;YAC9D,CAAC;YACD,OAAO,IAAA,eAAE,EAAC,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,CAAC,CAAC;QACvD,CAAC;QACD,aAAa,EAAE,GAAG,EAAE,CAClB,WAAW,CAAC,wBAAwB,EAAE,yCAAyC,CAAC;QAClF,KAAK,CAAC,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,EAAE,GAAG;YAClD,OAAO,SAAS,CAAC,8BAA8B,CAAC,GAAG,EAAE,iBAAiB,EAAE,kBAAkB,CAAC,CAAC;QAC9F,CAAC;KACF,CAAC,CAAC;AACL,CAAC;AAED,gFAAgF;AACnE,QAAA,8BAA8B,GAAG,wCAAwC,EAAE,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { RegisteredStep } from "../../pipeline/runScaffoldPipeline";
|
|
2
|
+
import { DaManifestService } from "../services/daManifestService";
|
|
2
3
|
/** Engine step name `da/set-sensitivity-label`. */
|
|
3
|
-
export declare const STEP_SET_SENSITIVITY_LABEL
|
|
4
|
+
export declare const STEP_SET_SENSITIVITY_LABEL: string;
|
|
4
5
|
/** Best-effort service used by the sensitivity-label step. */
|
|
5
6
|
export interface GeneralSensitivityLabelService {
|
|
6
7
|
resolveId(): Promise<string | undefined>;
|
|
@@ -8,7 +9,7 @@ export interface GeneralSensitivityLabelService {
|
|
|
8
9
|
/** Offline/default service used when no authenticated M365 adapter is registered. */
|
|
9
10
|
export declare const NOOP_GENERAL_SENSITIVITY_LABEL_SERVICE: GeneralSensitivityLabelService;
|
|
10
11
|
/** Bind the General-label lookup dependency into its registered step. */
|
|
11
|
-
export declare function createDaSetSensitivityLabelStep(generalSensitivityLabel: GeneralSensitivityLabelService): RegisteredStep;
|
|
12
|
+
export declare function createDaSetSensitivityLabelStep(generalSensitivityLabel: GeneralSensitivityLabelService, manifests?: DaManifestService): RegisteredStep;
|
|
12
13
|
/** Default step binding for offline runtimes and compatibility consumers. */
|
|
13
14
|
export declare const daSetSensitivityLabel: RegisteredStep;
|
|
14
15
|
//# sourceMappingURL=daSensitivity.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"daSensitivity.d.ts","sourceRoot":"","sources":["../../../../src/v4/runtime/steps/daSensitivity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"daSensitivity.d.ts","sourceRoot":"","sources":["../../../../src/v4/runtime/steps/daSensitivity.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAc,MAAM,oCAAoC,CAAC;AAEhF,OAAO,EAAE,iBAAiB,EAAqB,MAAM,+BAA+B,CAAC;AAIrF,mDAAmD;AACnD,eAAO,MAAM,0BAA0B,QAAqD,CAAC;AAW7F,8DAA8D;AAC9D,MAAM,WAAW,8BAA8B;IAC7C,SAAS,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC1C;AAED,qFAAqF;AACrF,eAAO,MAAM,sCAAsC,EAAE,8BAEpD,CAAC;AAEF,yEAAyE;AACzE,wBAAgB,+BAA+B,CAC7C,uBAAuB,EAAE,8BAA8B,EACvD,SAAS,GAAE,iBAAqC,GAC/C,cAAc,CA2BhB;AAED,6EAA6E;AAC7E,eAAO,MAAM,qBAAqB,gBAEjC,CAAC"}
|
|
@@ -6,9 +6,12 @@ exports.daSetSensitivityLabel = exports.NOOP_GENERAL_SENSITIVITY_LABEL_SERVICE =
|
|
|
6
6
|
exports.createDaSetSensitivityLabelStep = createDaSetSensitivityLabelStep;
|
|
7
7
|
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
8
8
|
const neverthrow_1 = require("neverthrow");
|
|
9
|
+
const declarations_1 = require("../../capabilities/declarations");
|
|
10
|
+
const defineStep_1 = require("../../pipeline/defineStep");
|
|
11
|
+
const daManifestService_1 = require("../services/daManifestService");
|
|
9
12
|
const SOURCE = "Scaffold";
|
|
10
13
|
/** Engine step name `da/set-sensitivity-label`. */
|
|
11
|
-
exports.STEP_SET_SENSITIVITY_LABEL =
|
|
14
|
+
exports.STEP_SET_SENSITIVITY_LABEL = declarations_1.capabilityDeclarations.step.setSensitivityLabel.id;
|
|
12
15
|
function systemError(name, message) {
|
|
13
16
|
return new teamsfx_api_1.SystemError({ source: SOURCE, name, message });
|
|
14
17
|
}
|
|
@@ -21,29 +24,26 @@ exports.NOOP_GENERAL_SENSITIVITY_LABEL_SERVICE = {
|
|
|
21
24
|
resolveId: () => Promise.resolve(undefined),
|
|
22
25
|
};
|
|
23
26
|
/** Bind the General-label lookup dependency into its registered step. */
|
|
24
|
-
function createDaSetSensitivityLabelStep(generalSensitivityLabel) {
|
|
25
|
-
return {
|
|
26
|
-
|
|
27
|
-
return manifestPath(resolved) === undefined
|
|
28
|
-
? "missing non-empty string parameter 'manifestPath'"
|
|
29
|
-
: undefined;
|
|
30
|
-
},
|
|
31
|
-
async apply(resolved, ctx) {
|
|
27
|
+
function createDaSetSensitivityLabelStep(generalSensitivityLabel, manifests = daManifestService_1.daManifestService) {
|
|
28
|
+
return (0, defineStep_1.defineStep)({
|
|
29
|
+
parse(resolved) {
|
|
32
30
|
const path = manifestPath(resolved);
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
return path === undefined
|
|
32
|
+
? (0, neverthrow_1.err)("missing non-empty string parameter 'manifestPath'")
|
|
33
|
+
: (0, neverthrow_1.ok)(path);
|
|
34
|
+
},
|
|
35
|
+
invalidParams: () => systemError("DaSensitivityLabelParams", "resolved manifestPath is not a non-empty string"),
|
|
36
|
+
async apply(path, ctx) {
|
|
36
37
|
const id = await generalSensitivityLabel.resolveId();
|
|
37
38
|
if (id === undefined) {
|
|
38
39
|
return (0, neverthrow_1.ok)(undefined);
|
|
39
40
|
}
|
|
40
|
-
|
|
41
|
-
if (wrapper.setSensitivityLabel === undefined) {
|
|
41
|
+
if (manifests.setSensitivityLabel === undefined) {
|
|
42
42
|
return (0, neverthrow_1.err)(systemError("DaSensitivityLabelWrapperMissing", "the Declarative Agent manifest wrapper cannot set a sensitivity label"));
|
|
43
43
|
}
|
|
44
|
-
return
|
|
44
|
+
return manifests.setSensitivityLabel(ctx, path, id);
|
|
45
45
|
},
|
|
46
|
-
};
|
|
46
|
+
});
|
|
47
47
|
}
|
|
48
48
|
/** Default step binding for offline runtimes and compatibility consumers. */
|
|
49
49
|
exports.daSetSensitivityLabel = createDaSetSensitivityLabelStep(exports.NOOP_GENERAL_SENSITIVITY_LABEL_SERVICE);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"daSensitivity.js","sourceRoot":"","sources":["../../../../src/v4/runtime/steps/daSensitivity.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;
|
|
1
|
+
{"version":3,"file":"daSensitivity.js","sourceRoot":"","sources":["../../../../src/v4/runtime/steps/daSensitivity.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAkClC,0EA8BC;AA9DD,wDAA8D;AAC9D,2CAA6C;AAC7C,kEAAyE;AAEzE,0DAAuD;AACvD,qEAAqF;AAErF,MAAM,MAAM,GAAG,UAAU,CAAC;AAE1B,mDAAmD;AACtC,QAAA,0BAA0B,GAAG,qCAAsB,CAAC,IAAI,CAAC,mBAAmB,CAAC,EAAE,CAAC;AAE7F,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,SAAS,YAAY,CAAC,MAAkB;IACtC,MAAM,KAAK,GAAG,MAAM,CAAC,YAAY,CAAC;IAClC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;AAClF,CAAC;AAOD,qFAAqF;AACxE,QAAA,sCAAsC,GAAmC;IACpF,SAAS,EAAE,GAAuB,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC;CAChE,CAAC;AAEF,yEAAyE;AACzE,SAAgB,+BAA+B,CAC7C,uBAAuD,EACvD,YAA+B,qCAAiB;IAEhD,OAAO,IAAA,uBAAU,EAAC;QAChB,KAAK,CAAC,QAAQ;YACZ,MAAM,IAAI,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;YACpC,OAAO,IAAI,KAAK,SAAS;gBACvB,CAAC,CAAC,IAAA,gBAAG,EAAC,mDAAmD,CAAC;gBAC1D,CAAC,CAAC,IAAA,eAAE,EAAC,IAAI,CAAC,CAAC;QACf,CAAC;QACD,aAAa,EAAE,GAAG,EAAE,CAClB,WAAW,CAAC,0BAA0B,EAAE,iDAAiD,CAAC;QAC5F,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,GAAG;YACnB,MAAM,EAAE,GAAG,MAAM,uBAAuB,CAAC,SAAS,EAAE,CAAC;YACrD,IAAI,EAAE,KAAK,SAAS,EAAE,CAAC;gBACrB,OAAO,IAAA,eAAE,EAAC,SAAS,CAAC,CAAC;YACvB,CAAC;YAED,IAAI,SAAS,CAAC,mBAAmB,KAAK,SAAS,EAAE,CAAC;gBAChD,OAAO,IAAA,gBAAG,EACR,WAAW,CACT,kCAAkC,EAClC,uEAAuE,CACxE,CACF,CAAC;YACJ,CAAC;YACD,OAAO,SAAS,CAAC,mBAAmB,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;QACtD,CAAC;KACF,CAAC,CAAC;AACL,CAAC;AAED,6EAA6E;AAChE,QAAA,qBAAqB,GAAG,+BAA+B,CAClE,8CAAsC,CACvC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RegisteredStep } from "../../pipeline/runScaffoldPipeline";
|
|
2
2
|
/** Engine step name `mcp-auth/inject-yml-action`. */
|
|
3
|
-
export declare const STEP_INJECT_YML_ACTION
|
|
3
|
+
export declare const STEP_INJECT_YML_ACTION: string;
|
|
4
4
|
/** Engine step name `mcp-auth/persist-credential-env`. */
|
|
5
|
-
export declare const STEP_PERSIST_CREDENTIAL_ENV
|
|
5
|
+
export declare const STEP_PERSIST_CREDENTIAL_ENV: string;
|
|
6
6
|
/** Registered step for injecting the shared v4 MCP auth action into `m365agents.yml`. */
|
|
7
7
|
export declare const mcpAuthInjectYmlAction: RegisteredStep;
|
|
8
8
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcpAuth.d.ts","sourceRoot":"","sources":["../../../../src/v4/runtime/steps/mcpAuth.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mcpAuth.d.ts","sourceRoot":"","sources":["../../../../src/v4/runtime/steps/mcpAuth.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AASpE,qDAAqD;AACrD,eAAO,MAAM,sBAAsB,QAAiD,CAAC;AAErF,0DAA0D;AAC1D,eAAO,MAAM,2BAA2B,QAAsD,CAAC;AAM/F,yFAAyF;AACzF,eAAO,MAAM,sBAAsB,EAAE,cAkCnC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,2BAA2B,EAAE,cAuBxC,CAAC"}
|
|
@@ -5,86 +5,79 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.mcpAuthPersistCredentialEnv = exports.mcpAuthInjectYmlAction = exports.STEP_PERSIST_CREDENTIAL_ENV = exports.STEP_INJECT_YML_ACTION = void 0;
|
|
6
6
|
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
7
7
|
const neverthrow_1 = require("neverthrow");
|
|
8
|
+
const declarations_1 = require("../../capabilities/declarations");
|
|
9
|
+
const defineStep_1 = require("../../pipeline/defineStep");
|
|
10
|
+
const stepParams_1 = require("../../pipeline/stepParams");
|
|
8
11
|
const mcpAuthScaffold_1 = require("../../mcp/mcpAuthScaffold");
|
|
9
12
|
/** MCP auth post-render steps for the create flow. See create-mcp-server scenario spec. */
|
|
10
13
|
const SOURCE = "Scaffold";
|
|
11
14
|
/** Engine step name `mcp-auth/inject-yml-action`. */
|
|
12
|
-
exports.STEP_INJECT_YML_ACTION =
|
|
15
|
+
exports.STEP_INJECT_YML_ACTION = declarations_1.capabilityDeclarations.step.injectYmlAction.id;
|
|
13
16
|
/** Engine step name `mcp-auth/persist-credential-env`. */
|
|
14
|
-
exports.STEP_PERSIST_CREDENTIAL_ENV =
|
|
17
|
+
exports.STEP_PERSIST_CREDENTIAL_ENV = declarations_1.capabilityDeclarations.step.persistCredentialEnv.id;
|
|
15
18
|
function systemError(name, message) {
|
|
16
19
|
return new teamsfx_api_1.SystemError({ source: SOURCE, name, message });
|
|
17
20
|
}
|
|
18
|
-
/** Read a `with` value as a string, or `undefined` if it is absent / non-string. */
|
|
19
|
-
function stringParam(params, key) {
|
|
20
|
-
const value = params[key];
|
|
21
|
-
return typeof value === "string" ? value : undefined;
|
|
22
|
-
}
|
|
23
21
|
/** Registered step for injecting the shared v4 MCP auth action into `m365agents.yml`. */
|
|
24
|
-
exports.mcpAuthInjectYmlAction = {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
exports.mcpAuthInjectYmlAction = (0, defineStep_1.defineStep)({
|
|
23
|
+
parse(resolved) {
|
|
24
|
+
const ymlPath = (0, stepParams_1.stringParam)(resolved, "ymlPath");
|
|
25
|
+
if (ymlPath === undefined) {
|
|
26
|
+
return (0, neverthrow_1.err)("missing string parameter 'ymlPath'");
|
|
28
27
|
}
|
|
29
|
-
const authType = stringParam(resolved, "authType");
|
|
28
|
+
const authType = (0, stepParams_1.stringParam)(resolved, "authType");
|
|
30
29
|
if (authType === undefined) {
|
|
31
|
-
return "missing string parameter 'authType'";
|
|
30
|
+
return (0, neverthrow_1.err)("missing string parameter 'authType'");
|
|
32
31
|
}
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
const mcpServerUrl = (0, stepParams_1.stringParam)(resolved, "mcpServerUrl");
|
|
33
|
+
if (mcpServerUrl === undefined) {
|
|
34
|
+
return (0, neverthrow_1.err)("missing string parameter 'mcpServerUrl'");
|
|
35
35
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
const ymlPath = stringParam(resolved, "ymlPath");
|
|
40
|
-
const authType = stringParam(resolved, "authType");
|
|
41
|
-
const mcpServerUrl = stringParam(resolved, "mcpServerUrl");
|
|
42
|
-
if (ymlPath === undefined || authType === undefined || mcpServerUrl === undefined) {
|
|
43
|
-
return Promise.resolve((0, neverthrow_1.err)(systemError("McpAuthInjectParams", "resolved parameters are not all strings")));
|
|
36
|
+
const optionalYmlPaths = (0, stepParams_1.stringArrayParam)(resolved, "optionalYmlPaths");
|
|
37
|
+
if (resolved.optionalYmlPaths !== undefined && optionalYmlPaths === undefined) {
|
|
38
|
+
return (0, neverthrow_1.err)("parameter 'optionalYmlPaths' must be a string array");
|
|
44
39
|
}
|
|
45
|
-
return (0,
|
|
40
|
+
return (0, neverthrow_1.ok)({
|
|
46
41
|
ymlPath,
|
|
47
42
|
authType,
|
|
48
43
|
mcpServerUrl,
|
|
44
|
+
optionalYmlPaths,
|
|
49
45
|
credentialFields: {
|
|
50
|
-
clientId: authType === "oauth"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
scope: Boolean(stringParam(resolved, "oauthScopes")?.trim()),
|
|
46
|
+
clientId: authType === "oauth" || authType === "entra-sso",
|
|
47
|
+
clientSecret: authType === "oauth",
|
|
48
|
+
scope: Boolean((0, stepParams_1.stringParam)(resolved, "oauthScopes")?.trim()),
|
|
49
|
+
apiKey: authType === "bearer-token",
|
|
55
50
|
},
|
|
56
51
|
});
|
|
57
52
|
},
|
|
58
|
-
|
|
53
|
+
apply: (params, ctx) => (0, mcpAuthScaffold_1.injectMcpAuthAction)(ctx, params),
|
|
54
|
+
invalidParams: () => systemError("McpAuthInjectParams", "resolved parameters are not all strings"),
|
|
55
|
+
});
|
|
59
56
|
/**
|
|
60
57
|
* Registered step for writing the deterministic `MCP_DA_AUTH_ID_<NS>` registration placeholder into
|
|
61
58
|
* `env/.env.dev`.
|
|
62
59
|
*/
|
|
63
|
-
exports.mcpAuthPersistCredentialEnv = {
|
|
64
|
-
|
|
65
|
-
const authType = stringParam(resolved, "authType");
|
|
60
|
+
exports.mcpAuthPersistCredentialEnv = (0, defineStep_1.defineStep)({
|
|
61
|
+
parse(resolved) {
|
|
62
|
+
const authType = (0, stepParams_1.stringParam)(resolved, "authType");
|
|
66
63
|
if (authType === undefined) {
|
|
67
|
-
return "missing string parameter 'authType'";
|
|
64
|
+
return (0, neverthrow_1.err)("missing string parameter 'authType'");
|
|
68
65
|
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
return undefined;
|
|
73
|
-
},
|
|
74
|
-
apply(resolved, ctx) {
|
|
75
|
-
const authType = stringParam(resolved, "authType");
|
|
76
|
-
const mcpServerUrl = stringParam(resolved, "mcpServerUrl");
|
|
77
|
-
if (authType === undefined || mcpServerUrl === undefined) {
|
|
78
|
-
return Promise.resolve((0, neverthrow_1.err)(systemError("McpAuthPersistParams", "resolved parameters are not all strings")));
|
|
66
|
+
const mcpServerUrl = (0, stepParams_1.stringParam)(resolved, "mcpServerUrl");
|
|
67
|
+
if (mcpServerUrl === undefined) {
|
|
68
|
+
return (0, neverthrow_1.err)("missing string parameter 'mcpServerUrl'");
|
|
79
69
|
}
|
|
80
|
-
return (0,
|
|
70
|
+
return (0, neverthrow_1.ok)({
|
|
81
71
|
authType,
|
|
82
72
|
mcpServerUrl,
|
|
83
|
-
oauthClientId: stringParam(resolved, "oauthClientId"),
|
|
84
|
-
oauthClientSecret: stringParam(resolved, "oauthClientSecret"),
|
|
85
|
-
oauthScopes: stringParam(resolved, "oauthScopes"),
|
|
86
|
-
entraClientId: stringParam(resolved, "entraClientId"),
|
|
73
|
+
oauthClientId: (0, stepParams_1.stringParam)(resolved, "oauthClientId"),
|
|
74
|
+
oauthClientSecret: (0, stepParams_1.stringParam)(resolved, "oauthClientSecret"),
|
|
75
|
+
oauthScopes: (0, stepParams_1.stringParam)(resolved, "oauthScopes"),
|
|
76
|
+
entraClientId: (0, stepParams_1.stringParam)(resolved, "entraClientId"),
|
|
77
|
+
apiKey: (0, stepParams_1.stringParam)(resolved, "apiKey"),
|
|
87
78
|
});
|
|
88
79
|
},
|
|
89
|
-
|
|
80
|
+
apply: (params, ctx) => (0, mcpAuthScaffold_1.persistMcpAuthRegistrationEnv)(ctx, params),
|
|
81
|
+
invalidParams: () => systemError("McpAuthPersistParams", "resolved parameters are not all strings"),
|
|
82
|
+
});
|
|
90
83
|
//# sourceMappingURL=mcpAuth.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcpAuth.js","sourceRoot":"","sources":["../../../../src/v4/runtime/steps/mcpAuth.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,
|
|
1
|
+
{"version":3,"file":"mcpAuth.js","sourceRoot":"","sources":["../../../../src/v4/runtime/steps/mcpAuth.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,wDAAqD;AACrD,2CAA6C;AAC7C,kEAAyE;AAEzE,0DAAuD;AACvD,0DAA0E;AAC1E,+DAA+F;AAE/F,2FAA2F;AAE3F,MAAM,MAAM,GAAG,UAAU,CAAC;AAE1B,qDAAqD;AACxC,QAAA,sBAAsB,GAAG,qCAAsB,CAAC,IAAI,CAAC,eAAe,CAAC,EAAE,CAAC;AAErF,0DAA0D;AAC7C,QAAA,2BAA2B,GAAG,qCAAsB,CAAC,IAAI,CAAC,oBAAoB,CAAC,EAAE,CAAC;AAE/F,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,yFAAyF;AAC5E,QAAA,sBAAsB,GAAmB,IAAA,uBAAU,EAA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1
|
import { RegisteredStep } from "../../pipeline/runScaffoldPipeline";
|
|
2
2
|
/** Engine step name `mcp-local/materialize-servers`. */
|
|
3
|
-
export declare const STEP_MATERIALIZE_LOCAL_SERVERS
|
|
3
|
+
export declare const STEP_MATERIALIZE_LOCAL_SERVERS: string;
|
|
4
4
|
/** Registered step for writing `.vscode/mcp.json` in the local branch. */
|
|
5
5
|
export declare const mcpLocalMaterializeServers: RegisteredStep;
|
|
6
6
|
//# sourceMappingURL=mcpLocal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcpLocal.d.ts","sourceRoot":"","sources":["../../../../src/v4/runtime/steps/mcpLocal.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mcpLocal.d.ts","sourceRoot":"","sources":["../../../../src/v4/runtime/steps/mcpLocal.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAQpE,wDAAwD;AACxD,eAAO,MAAM,8BAA8B,QACa,CAAC;AA8CzD,0EAA0E;AAC1E,eAAO,MAAM,0BAA0B,EAAE,cA4CvC,CAAC"}
|
|
@@ -5,26 +5,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.mcpLocalMaterializeServers = exports.STEP_MATERIALIZE_LOCAL_SERVERS = void 0;
|
|
6
6
|
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
7
7
|
const neverthrow_1 = require("neverthrow");
|
|
8
|
+
const declarations_1 = require("../../capabilities/declarations");
|
|
9
|
+
const defineStep_1 = require("../../pipeline/defineStep");
|
|
10
|
+
const stepParams_1 = require("../../pipeline/stepParams");
|
|
8
11
|
/** Materialize local MCP stdio servers. See create-mcp-server scenario spec. */
|
|
9
12
|
const SOURCE = "Scaffold";
|
|
10
13
|
/** Engine step name `mcp-local/materialize-servers`. */
|
|
11
|
-
exports.STEP_MATERIALIZE_LOCAL_SERVERS =
|
|
14
|
+
exports.STEP_MATERIALIZE_LOCAL_SERVERS = declarations_1.capabilityDeclarations.step.materializeLocalServers.id;
|
|
12
15
|
function systemError(name, message) {
|
|
13
16
|
return new teamsfx_api_1.SystemError({ source: SOURCE, name, message });
|
|
14
17
|
}
|
|
15
|
-
/** Read a `with` value as a string, or `undefined` if it is absent / non-string. */
|
|
16
|
-
function stringParam(params, key) {
|
|
17
|
-
const value = params[key];
|
|
18
|
-
return typeof value === "string" ? value : undefined;
|
|
19
|
-
}
|
|
20
|
-
/** Read a `with` value as the multiSelect `string[]`, or `undefined`. */
|
|
21
|
-
function stringArrayParam(params, key) {
|
|
22
|
-
const value = params[key];
|
|
23
|
-
if (!Array.isArray(value) || !value.every((item) => typeof item === "string")) {
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
26
|
-
return value;
|
|
27
|
-
}
|
|
28
18
|
function isRecord(value) {
|
|
29
19
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
30
20
|
}
|
|
@@ -48,26 +38,24 @@ function toLocalServer(id, entry) {
|
|
|
48
38
|
return (0, neverthrow_1.ok)({ type: "stdio", command, args: rawArgs === undefined ? [] : rawArgs });
|
|
49
39
|
}
|
|
50
40
|
/** Registered step for writing `.vscode/mcp.json` in the local branch. */
|
|
51
|
-
exports.mcpLocalMaterializeServers = {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
41
|
+
exports.mcpLocalMaterializeServers = (0, defineStep_1.defineStep)({
|
|
42
|
+
parse(resolved) {
|
|
43
|
+
const target = (0, stepParams_1.stringParam)(resolved, "target");
|
|
44
|
+
if (target === undefined) {
|
|
45
|
+
return (0, neverthrow_1.err)("missing string parameter 'target'");
|
|
55
46
|
}
|
|
56
|
-
|
|
57
|
-
|
|
47
|
+
const selected = (0, stepParams_1.stringArrayParam)(resolved, "selected");
|
|
48
|
+
if (selected === undefined) {
|
|
49
|
+
return (0, neverthrow_1.err)("missing string[] parameter 'selected'");
|
|
58
50
|
}
|
|
59
|
-
|
|
60
|
-
|
|
51
|
+
const catalogRaw = (0, stepParams_1.stringParam)(resolved, "catalog");
|
|
52
|
+
if (catalogRaw === undefined) {
|
|
53
|
+
return (0, neverthrow_1.err)("missing string parameter 'catalog'");
|
|
61
54
|
}
|
|
62
|
-
return
|
|
55
|
+
return (0, neverthrow_1.ok)({ target, selected, catalogRaw });
|
|
63
56
|
},
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
const selected = stringArrayParam(resolved, "selected");
|
|
67
|
-
const catalogRaw = stringParam(resolved, "catalog");
|
|
68
|
-
if (target === undefined || selected === undefined || catalogRaw === undefined) {
|
|
69
|
-
return (0, neverthrow_1.err)(systemError("McpLocalParams", "resolved parameters are not all of the expected type"));
|
|
70
|
-
}
|
|
57
|
+
invalidParams: () => systemError("McpLocalParams", "resolved parameters are not all of the expected type"),
|
|
58
|
+
apply({ target, selected, catalogRaw }, ctx) {
|
|
71
59
|
let parsed;
|
|
72
60
|
try {
|
|
73
61
|
parsed = JSON.parse(catalogRaw);
|
|
@@ -89,5 +77,5 @@ exports.mcpLocalMaterializeServers = {
|
|
|
89
77
|
ctx.write(target, Buffer.from(JSON.stringify({ servers }, null, 2) + "\n", "utf8"));
|
|
90
78
|
return (0, neverthrow_1.ok)(undefined);
|
|
91
79
|
},
|
|
92
|
-
};
|
|
80
|
+
});
|
|
93
81
|
//# sourceMappingURL=mcpLocal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcpLocal.js","sourceRoot":"","sources":["../../../../src/v4/runtime/steps/mcpLocal.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,wDAA8D;AAC9D,2CAA6C;
|
|
1
|
+
{"version":3,"file":"mcpLocal.js","sourceRoot":"","sources":["../../../../src/v4/runtime/steps/mcpLocal.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,wDAA8D;AAC9D,2CAA6C;AAC7C,kEAAyE;AAEzE,0DAAuD;AACvD,0DAA0E;AAE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AI,MAAe,CAAC;QACpB,IAAI,CAAC;YACH,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QAClC,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,IAAA,gBAAG,EACR,WAAW,CACT,sBAAsB,EACtB,2CAA2C,YAAY,CAAC,KAAK,CAAC,EAAE,CACjE,CACF,CAAC;QACJ,CAAC;QACD,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;YACtB,OAAO,IAAA,gBAAG,EAAC,WAAW,CAAC,sBAAsB,EAAE,2CAA2C,CAAC,CAAC,CAAC;QAC/F,CAAC;QACD,MAAM,OAAO,GAAgC,EAAE,CAAC;QAChD,KAAK,MAAM,EAAE,IAAI,QAAQ,EAAE,CAAC;YAC1B,MAAM,KAAK,GAAG,aAAa,CAAC,EAAE,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC;YAC5C,IAAI,KAAK,CAAC,KAAK,EAAE,EAAE,CAAC;gBAClB,OAAO,IAAA,gBAAG,EAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YAC1B,CAAC;YACD,OAAO,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC;QAC5B,CAAC;QACD,GAAG,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;QACpF,OAAO,IAAA,eAAE,EAAC,SAAS,CAAC,CAAC;IACvB,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -4,7 +4,7 @@ export declare const mcpStaticDeps: {
|
|
|
4
4
|
fetchTools: (serverUrl: string) => Promise<MCPFetchResult>;
|
|
5
5
|
};
|
|
6
6
|
/** Engine step name `mcp-static/materialize-tools`. */
|
|
7
|
-
export declare const STEP_MATERIALIZE_STATIC_MCP_TOOLS
|
|
7
|
+
export declare const STEP_MATERIALIZE_STATIC_MCP_TOOLS: string;
|
|
8
8
|
/** Registered step for writing `mcp-tools-1.json` and static RemoteMCPServer metadata. */
|
|
9
9
|
export declare const mcpStaticMaterializeTools: RegisteredStep;
|
|
10
10
|
//# sourceMappingURL=mcpStatic.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcpStatic.d.ts","sourceRoot":"","sources":["../../../../src/v4/runtime/steps/mcpStatic.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mcpStatic.d.ts","sourceRoot":"","sources":["../../../../src/v4/runtime/steps/mcpStatic.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,cAAc,EAAiB,MAAM,gCAAgC,CAAC;AAE/E,OAAO,EAAE,cAAc,EAA2B,MAAM,oCAAoC,CAAC;AAQ7F,eAAO,MAAM,aAAa;4BACA,MAAM,KAAG,OAAO,CAAC,cAAc,CAAC;CACzD,CAAC;AAEF,uDAAuD;AACvD,eAAO,MAAM,iCAAiC,QACY,CAAC;AAuI3D,0FAA0F;AAC1F,eAAO,MAAM,yBAAyB,EAAE,cAiFtC,CAAC"}
|