@1mcp/agent 0.39.6 → 0.40.0-beta.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/README.md +14 -7
- package/build/admin/assets/{admin-BackendLogsWorkspace-BKavXT9B.js → admin-BackendLogsWorkspace-DnPzXW3E.js} +1 -1
- package/build/admin/assets/{admin-InstructionTemplatesWorkspace-CvG4EPdZ.js → admin-InstructionTemplatesWorkspace-B7beKEgz.js} +1 -1
- package/build/admin/assets/{admin-OAuthServicesWorkspace-BKqTW6r0.js → admin-OAuthServicesWorkspace-Bu74Bzt5.js} +1 -1
- package/build/admin/assets/{admin-PresetAuthoringWorkspace-BboJVBFl.js → admin-PresetAuthoringWorkspace-053b1zwU.js} +1 -1
- package/build/admin/assets/{admin-console-BwfDrlgF.js → admin-console-DVuqABnE.js} +3 -3
- package/build/admin/assets/admin-icons-wOzB38gm.js +1 -0
- package/build/admin/assets/admin-vendor-BLZ1Mauf.js +3 -0
- package/build/admin/assets/admin-vendor-BdHKHno1.js +1 -0
- package/build/admin/assets/admin-vendor-BqYiU41k.js +51 -0
- package/build/admin/assets/admin-vendor-C291Vs-N.js +3 -0
- package/build/admin/assets/admin-vendor-VzhcFgoy.js +1 -0
- package/build/admin/index.html +7 -5
- package/build/application/backendPreparationAdmission.d.ts +77 -0
- package/build/application/backendPreparationAdmission.d.ts.map +1 -0
- package/build/application/backendPreparationAdmission.js +423 -0
- package/build/application/backendPreparationAdmission.js.map +1 -0
- package/build/application/backendPreparationCoordinator.d.ts +122 -0
- package/build/application/backendPreparationCoordinator.d.ts.map +1 -0
- package/build/application/backendPreparationCoordinator.js +885 -0
- package/build/application/backendPreparationCoordinator.js.map +1 -0
- package/build/application/projectLifecycle.d.ts +49 -0
- package/build/application/projectLifecycle.d.ts.map +1 -0
- package/build/application/projectLifecycle.js +228 -0
- package/build/application/projectLifecycle.js.map +1 -0
- package/build/cli.d.ts.map +1 -1
- package/build/cli.js +39 -17
- package/build/cli.js.map +1 -1
- package/build/commands/admin/index.d.ts.map +1 -1
- package/build/commands/admin/index.js +2 -6
- package/build/commands/admin/index.js.map +1 -1
- package/build/commands/app/index.d.ts.map +1 -1
- package/build/commands/app/index.js +5 -17
- package/build/commands/app/index.js.map +1 -1
- package/build/commands/auth/index.d.ts.map +1 -1
- package/build/commands/auth/index.js +2 -7
- package/build/commands/auth/index.js.map +1 -1
- package/build/commands/bootstrap/bootstrap.d.ts +38 -0
- package/build/commands/bootstrap/bootstrap.d.ts.map +1 -0
- package/build/commands/bootstrap/bootstrap.js +265 -0
- package/build/commands/bootstrap/bootstrap.js.map +1 -0
- package/build/commands/bootstrap/bootstrapOwnership.d.ts +13 -0
- package/build/commands/bootstrap/bootstrapOwnership.d.ts.map +1 -0
- package/build/commands/bootstrap/bootstrapOwnership.js +112 -0
- package/build/commands/bootstrap/bootstrapOwnership.js.map +1 -0
- package/build/commands/bootstrap/index.d.ts +3 -0
- package/build/commands/bootstrap/index.d.ts.map +1 -0
- package/build/commands/bootstrap/index.js +22 -0
- package/build/commands/bootstrap/index.js.map +1 -0
- package/build/commands/cliSetup/index.d.ts.map +1 -1
- package/build/commands/cliSetup/index.js +3 -4
- package/build/commands/cliSetup/index.js.map +1 -1
- package/build/commands/cliSetup/installPreparationSkill.d.ts +8 -0
- package/build/commands/cliSetup/installPreparationSkill.d.ts.map +1 -0
- package/build/commands/cliSetup/installPreparationSkill.js +201 -0
- package/build/commands/cliSetup/installPreparationSkill.js.map +1 -0
- package/build/commands/cliSetup/preparationSkill.generated.d.ts +2 -0
- package/build/commands/cliSetup/preparationSkill.generated.d.ts.map +1 -0
- package/build/commands/cliSetup/preparationSkill.generated.js +8 -0
- package/build/commands/cliSetup/preparationSkill.generated.js.map +1 -0
- package/build/commands/cliSetup/setupFiles.d.ts +5 -1
- package/build/commands/cliSetup/setupFiles.d.ts.map +1 -1
- package/build/commands/cliSetup/setupFiles.js +54 -37
- package/build/commands/cliSetup/setupFiles.js.map +1 -1
- package/build/commands/inspect/index.d.ts.map +1 -1
- package/build/commands/inspect/index.js +4 -4
- package/build/commands/inspect/index.js.map +1 -1
- package/build/commands/inspect/inspect.d.ts +2 -1
- package/build/commands/inspect/inspect.d.ts.map +1 -1
- package/build/commands/inspect/inspect.js +10 -5
- package/build/commands/inspect/inspect.js.map +1 -1
- package/build/commands/inspect/inspectUtils.js +3 -0
- package/build/commands/inspect/inspectUtils.js.map +1 -1
- package/build/commands/instructions/index.d.ts.map +1 -1
- package/build/commands/instructions/index.js +8 -3
- package/build/commands/instructions/index.js.map +1 -1
- package/build/commands/instructions/instructions.d.ts +3 -1
- package/build/commands/instructions/instructions.d.ts.map +1 -1
- package/build/commands/instructions/instructions.js +24 -0
- package/build/commands/instructions/instructions.js.map +1 -1
- package/build/commands/instructions/instructionsUtils.d.ts +2 -0
- package/build/commands/instructions/instructionsUtils.d.ts.map +1 -1
- package/build/commands/instructions/instructionsUtils.js +14 -4
- package/build/commands/instructions/instructionsUtils.js.map +1 -1
- package/build/commands/mcp/index.d.ts.map +1 -1
- package/build/commands/mcp/index.js +16 -21
- package/build/commands/mcp/index.js.map +1 -1
- package/build/commands/mcp/installSource.d.ts +3 -1
- package/build/commands/mcp/installSource.d.ts.map +1 -1
- package/build/commands/mcp/installSource.js +2 -2
- package/build/commands/mcp/installSource.js.map +1 -1
- package/build/commands/mcp/knownServerSetup.d.ts +4 -0
- package/build/commands/mcp/knownServerSetup.d.ts.map +1 -0
- package/build/commands/mcp/knownServerSetup.js +102 -0
- package/build/commands/mcp/knownServerSetup.js.map +1 -0
- package/build/commands/mcp/setup.d.ts +28 -0
- package/build/commands/mcp/setup.d.ts.map +1 -0
- package/build/commands/mcp/setup.js +56 -0
- package/build/commands/mcp/setup.js.map +1 -0
- package/build/commands/mcp/tools.d.ts.map +1 -1
- package/build/commands/mcp/tools.js +3 -3
- package/build/commands/mcp/tools.js.map +1 -1
- package/build/commands/preparation/index.d.ts +3 -0
- package/build/commands/preparation/index.d.ts.map +1 -0
- package/build/commands/preparation/index.js +55 -0
- package/build/commands/preparation/index.js.map +1 -0
- package/build/commands/preparation/preparation.d.ts +18 -0
- package/build/commands/preparation/preparation.d.ts.map +1 -0
- package/build/commands/preparation/preparation.js +102 -0
- package/build/commands/preparation/preparation.js.map +1 -0
- package/build/commands/preset/index.d.ts.map +1 -1
- package/build/commands/preset/index.js +4 -51
- package/build/commands/preset/index.js.map +1 -1
- package/build/commands/project/index.d.ts +3 -0
- package/build/commands/project/index.d.ts.map +1 -0
- package/build/commands/project/index.js +40 -0
- package/build/commands/project/index.js.map +1 -0
- package/build/commands/project/project.d.ts +34 -0
- package/build/commands/project/project.d.ts.map +1 -0
- package/build/commands/project/project.js +119 -0
- package/build/commands/project/project.js.map +1 -0
- package/build/commands/proxy/index.d.ts +2 -1
- package/build/commands/proxy/index.d.ts.map +1 -1
- package/build/commands/proxy/index.js +6 -46
- package/build/commands/proxy/index.js.map +1 -1
- package/build/commands/proxy/proxy.d.ts.map +1 -1
- package/build/commands/proxy/proxy.js +7 -1
- package/build/commands/proxy/proxy.js.map +1 -1
- package/build/commands/registry/index.d.ts.map +1 -1
- package/build/commands/registry/index.js +16 -20
- package/build/commands/registry/index.js.map +1 -1
- package/build/commands/run/index.d.ts.map +1 -1
- package/build/commands/run/index.js +9 -3
- package/build/commands/run/index.js.map +1 -1
- package/build/commands/run/run.d.ts +4 -1
- package/build/commands/run/run.d.ts.map +1 -1
- package/build/commands/run/run.js +80 -14
- package/build/commands/run/run.js.map +1 -1
- package/build/commands/serve/cooperativeRuntime.d.ts.map +1 -1
- package/build/commands/serve/cooperativeRuntime.js +2 -1
- package/build/commands/serve/cooperativeRuntime.js.map +1 -1
- package/build/commands/serve/index.d.ts.map +1 -1
- package/build/commands/serve/index.js +57 -39
- package/build/commands/serve/index.js.map +1 -1
- package/build/commands/shared/agentSession.d.ts +5 -0
- package/build/commands/shared/agentSession.d.ts.map +1 -0
- package/build/commands/shared/agentSession.js +75 -0
- package/build/commands/shared/agentSession.js.map +1 -0
- package/build/commands/shared/apiClient.d.ts +2 -0
- package/build/commands/shared/apiClient.d.ts.map +1 -1
- package/build/commands/shared/apiClient.js +10 -6
- package/build/commands/shared/apiClient.js.map +1 -1
- package/build/commands/shared/cliContext.d.ts +2 -1
- package/build/commands/shared/cliContext.d.ts.map +1 -1
- package/build/commands/shared/cliContext.js +2 -1
- package/build/commands/shared/cliContext.js.map +1 -1
- package/build/commands/shared/clientSurfaceAttachment.d.ts +7 -1
- package/build/commands/shared/clientSurfaceAttachment.d.ts.map +1 -1
- package/build/commands/shared/clientSurfaceAttachment.js +221 -140
- package/build/commands/shared/clientSurfaceAttachment.js.map +1 -1
- package/build/commands/shared/projectOwnerStorage.d.ts +8 -0
- package/build/commands/shared/projectOwnerStorage.d.ts.map +1 -0
- package/build/commands/shared/projectOwnerStorage.js +63 -0
- package/build/commands/shared/projectOwnerStorage.js.map +1 -0
- package/build/commands/shared/projectOwnerStore.d.ts +78 -0
- package/build/commands/shared/projectOwnerStore.d.ts.map +1 -0
- package/build/commands/shared/projectOwnerStore.js +482 -0
- package/build/commands/shared/projectOwnerStore.js.map +1 -0
- package/build/commands/shared/projectSelectionOptions.d.ts +24 -0
- package/build/commands/shared/projectSelectionOptions.d.ts.map +1 -0
- package/build/commands/shared/projectSelectionOptions.js +20 -0
- package/build/commands/shared/projectSelectionOptions.js.map +1 -0
- package/build/commands/shared/serveTargetResolver.d.ts +7 -1
- package/build/commands/shared/serveTargetResolver.d.ts.map +1 -1
- package/build/commands/shared/serveTargetResolver.js +99 -4
- package/build/commands/shared/serveTargetResolver.js.map +1 -1
- package/build/commands/target/index.d.ts.map +1 -1
- package/build/commands/target/index.js +6 -13
- package/build/commands/target/index.js.map +1 -1
- package/build/commands/wait/index.d.ts.map +1 -1
- package/build/commands/wait/index.js +3 -3
- package/build/commands/wait/index.js.map +1 -1
- package/build/commands/wait/wait.d.ts +2 -1
- package/build/commands/wait/wait.d.ts.map +1 -1
- package/build/commands/wait/wait.js.map +1 -1
- package/build/config/configLoader.d.ts.map +1 -1
- package/build/config/configLoader.js +5 -1
- package/build/config/configLoader.js.map +1 -1
- package/build/config/configManager.d.ts.map +1 -1
- package/build/config/configManager.js +5 -1
- package/build/config/configManager.js.map +1 -1
- package/build/config/projectConfigLoader.d.ts +4 -0
- package/build/config/projectConfigLoader.d.ts.map +1 -1
- package/build/config/projectConfigLoader.js +129 -28
- package/build/config/projectConfigLoader.js.map +1 -1
- package/build/config/projectConfigTypes.d.ts +7 -0
- package/build/config/projectConfigTypes.d.ts.map +1 -1
- package/build/config/projectConfigTypes.js +1 -0
- package/build/config/projectConfigTypes.js.map +1 -1
- package/build/constants/cliTimeouts.d.ts +4 -0
- package/build/constants/cliTimeouts.d.ts.map +1 -0
- package/build/constants/cliTimeouts.js +4 -0
- package/build/constants/cliTimeouts.js.map +1 -0
- package/build/constants/mcp.d.ts +1 -1
- package/build/constants/mcp.d.ts.map +1 -1
- package/build/constants/mcp.js +1 -1
- package/build/constants/mcp.js.map +1 -1
- package/build/core/capabilities/capabilityCatalog.d.ts +7 -0
- package/build/core/capabilities/capabilityCatalog.d.ts.map +1 -1
- package/build/core/capabilities/capabilityCatalog.js +58 -2
- package/build/core/capabilities/capabilityCatalog.js.map +1 -1
- package/build/core/capabilities/capabilityPagination.d.ts +12 -4
- package/build/core/capabilities/capabilityPagination.d.ts.map +1 -1
- package/build/core/capabilities/capabilityPagination.js +15 -2
- package/build/core/capabilities/capabilityPagination.js.map +1 -1
- package/build/core/capabilities/capabilityVisibility.d.ts +3 -0
- package/build/core/capabilities/capabilityVisibility.d.ts.map +1 -1
- package/build/core/capabilities/capabilityVisibility.js.map +1 -1
- package/build/core/capabilities/lazyLoadingOrchestrator.d.ts +2 -1
- package/build/core/capabilities/lazyLoadingOrchestrator.d.ts.map +1 -1
- package/build/core/capabilities/lazyLoadingOrchestrator.js +2 -2
- package/build/core/capabilities/lazyLoadingOrchestrator.js.map +1 -1
- package/build/core/capabilities/metaToolProvider.d.ts +2 -2
- package/build/core/capabilities/metaToolProvider.d.ts.map +1 -1
- package/build/core/capabilities/metaToolProvider.js +2 -2
- package/build/core/capabilities/metaToolProvider.js.map +1 -1
- package/build/core/capabilities/runtimeCapabilityCatalog.d.ts +1 -0
- package/build/core/capabilities/runtimeCapabilityCatalog.d.ts.map +1 -1
- package/build/core/capabilities/runtimeCapabilityCatalog.js +23 -9
- package/build/core/capabilities/runtimeCapabilityCatalog.js.map +1 -1
- package/build/core/context/projectOwner.d.ts +16 -0
- package/build/core/context/projectOwner.d.ts.map +1 -0
- package/build/core/context/projectOwner.js +33 -0
- package/build/core/context/projectOwner.js.map +1 -0
- package/build/core/context/projectPreparationAuthority.d.ts +37 -0
- package/build/core/context/projectPreparationAuthority.d.ts.map +1 -0
- package/build/core/context/projectPreparationAuthority.js +113 -0
- package/build/core/context/projectPreparationAuthority.js.map +1 -0
- package/build/core/instructions/inspectionGuidance.d.ts +2 -0
- package/build/core/instructions/inspectionGuidance.d.ts.map +1 -0
- package/build/core/instructions/inspectionGuidance.js +2 -0
- package/build/core/instructions/inspectionGuidance.js.map +1 -0
- package/build/core/instructions/instructionAggregator.d.ts +1 -0
- package/build/core/instructions/instructionAggregator.d.ts.map +1 -1
- package/build/core/instructions/instructionAggregator.js +2 -2
- package/build/core/instructions/instructionAggregator.js.map +1 -1
- package/build/core/instructions/instructionsDistribution.d.ts +5 -0
- package/build/core/instructions/instructionsDistribution.d.ts.map +1 -1
- package/build/core/instructions/instructionsDistribution.js +72 -15
- package/build/core/instructions/instructionsDistribution.js.map +1 -1
- package/build/core/instructions/preparationGuidance.d.ts +3 -0
- package/build/core/instructions/preparationGuidance.d.ts.map +1 -0
- package/build/core/instructions/preparationGuidance.js +14 -0
- package/build/core/instructions/preparationGuidance.js.map +1 -0
- package/build/core/instructions/sessionGuidance.d.ts +3 -0
- package/build/core/instructions/sessionGuidance.d.ts.map +1 -0
- package/build/core/instructions/sessionGuidance.js +25 -0
- package/build/core/instructions/sessionGuidance.js.map +1 -0
- package/build/core/instructions/templateTypes.d.ts +3 -1
- package/build/core/instructions/templateTypes.d.ts.map +1 -1
- package/build/core/instructions/templateTypes.js +15 -5
- package/build/core/instructions/templateTypes.js.map +1 -1
- package/build/core/protocol/requestHandlerUtils.d.ts.map +1 -1
- package/build/core/protocol/requestHandlerUtils.js +23 -4
- package/build/core/protocol/requestHandlerUtils.js.map +1 -1
- package/build/core/server/connectionResolver.d.ts +5 -0
- package/build/core/server/connectionResolver.d.ts.map +1 -1
- package/build/core/server/connectionResolver.js +11 -0
- package/build/core/server/connectionResolver.js.map +1 -1
- package/build/core/server/runtimeLaunchIpc.d.ts +167 -2
- package/build/core/server/runtimeLaunchIpc.d.ts.map +1 -1
- package/build/core/server/runtimeReplacementConfig.d.ts +167 -2
- package/build/core/server/runtimeReplacementConfig.d.ts.map +1 -1
- package/build/core/tools/handlers/serverManagementHandler.d.ts +413 -7
- package/build/core/tools/handlers/serverManagementHandler.d.ts.map +1 -1
- package/build/core/tools/internal/adapters/helpers/configTransformers.d.ts +59 -1
- package/build/core/tools/internal/adapters/helpers/configTransformers.d.ts.map +1 -1
- package/build/core/types/server.d.ts +7 -1
- package/build/core/types/server.d.ts.map +1 -1
- package/build/core/types/transport.d.ts +249 -3
- package/build/core/types/transport.d.ts.map +1 -1
- package/build/core/types/transport.js +27 -0
- package/build/core/types/transport.js.map +1 -1
- package/build/domains/admin/adminInstructionPreviewRuntime.d.ts.map +1 -1
- package/build/domains/admin/adminInstructionPreviewRuntime.js +4 -1
- package/build/domains/admin/adminInstructionPreviewRuntime.js.map +1 -1
- package/build/domains/backend-preparation/adapterRegistry.d.ts +8 -0
- package/build/domains/backend-preparation/adapterRegistry.d.ts.map +1 -0
- package/build/domains/backend-preparation/adapterRegistry.js +15 -0
- package/build/domains/backend-preparation/adapterRegistry.js.map +1 -0
- package/build/domains/backend-preparation/builtInIntegrationDefinitions.d.ts +4 -0
- package/build/domains/backend-preparation/builtInIntegrationDefinitions.d.ts.map +1 -0
- package/build/domains/backend-preparation/builtInIntegrationDefinitions.js +3 -0
- package/build/domains/backend-preparation/builtInIntegrationDefinitions.js.map +1 -0
- package/build/domains/backend-preparation/configuredCommandAdapter.d.ts +88 -0
- package/build/domains/backend-preparation/configuredCommandAdapter.d.ts.map +1 -0
- package/build/domains/backend-preparation/configuredCommandAdapter.js +196 -0
- package/build/domains/backend-preparation/configuredCommandAdapter.js.map +1 -0
- package/build/domains/backend-preparation/configuredCommandProcess.d.ts +27 -0
- package/build/domains/backend-preparation/configuredCommandProcess.d.ts.map +1 -0
- package/build/domains/backend-preparation/configuredCommandProcess.js +183 -0
- package/build/domains/backend-preparation/configuredCommandProcess.js.map +1 -0
- package/build/domains/backend-preparation/contracts.d.ts +131 -0
- package/build/domains/backend-preparation/contracts.d.ts.map +1 -0
- package/build/domains/backend-preparation/contracts.js +2 -0
- package/build/domains/backend-preparation/contracts.js.map +1 -0
- package/build/domains/backend-preparation/integrationDefinitions.d.ts +171 -0
- package/build/domains/backend-preparation/integrationDefinitions.d.ts.map +1 -0
- package/build/domains/backend-preparation/integrationDefinitions.js +246 -0
- package/build/domains/backend-preparation/integrationDefinitions.js.map +1 -0
- package/build/domains/backend-preparation/policy.d.ts +50 -0
- package/build/domains/backend-preparation/policy.d.ts.map +1 -0
- package/build/domains/backend-preparation/policy.js +58 -0
- package/build/domains/backend-preparation/policy.js.map +1 -0
- package/build/domains/backend-preparation/scheduler.d.ts +18 -0
- package/build/domains/backend-preparation/scheduler.d.ts.map +1 -0
- package/build/domains/backend-preparation/scheduler.js +62 -0
- package/build/domains/backend-preparation/scheduler.js.map +1 -0
- package/build/domains/backend-preparation/service.d.ts +67 -0
- package/build/domains/backend-preparation/service.d.ts.map +1 -0
- package/build/domains/backend-preparation/service.js +709 -0
- package/build/domains/backend-preparation/service.js.map +1 -0
- package/build/domains/config-change/configChange.js +5 -5
- package/build/domains/config-change/configChange.js.map +1 -1
- package/build/domains/installation/knownServerCatalog.d.ts +14 -0
- package/build/domains/installation/knownServerCatalog.d.ts.map +1 -0
- package/build/domains/installation/knownServerCatalog.js +56 -0
- package/build/domains/installation/knownServerCatalog.js.map +1 -0
- package/build/domains/installation/knownServerSetup.d.ts +21 -0
- package/build/domains/installation/knownServerSetup.d.ts.map +1 -0
- package/build/domains/installation/knownServerSetup.js +330 -0
- package/build/domains/installation/knownServerSetup.js.map +1 -0
- package/build/domains/installation/knownServerSetupTypes.d.ts +34 -0
- package/build/domains/installation/knownServerSetupTypes.d.ts.map +1 -0
- package/build/domains/installation/knownServerSetupTypes.js +2 -0
- package/build/domains/installation/knownServerSetupTypes.js.map +1 -0
- package/build/domains/project-selection/projectBindingScope.d.ts +7 -0
- package/build/domains/project-selection/projectBindingScope.d.ts.map +1 -0
- package/build/domains/project-selection/projectBindingScope.js +9 -0
- package/build/domains/project-selection/projectBindingScope.js.map +1 -0
- package/build/domains/project-selection/projectPolicy.d.ts +11 -0
- package/build/domains/project-selection/projectPolicy.d.ts.map +1 -0
- package/build/domains/project-selection/projectPolicy.js +104 -0
- package/build/domains/project-selection/projectPolicy.js.map +1 -0
- package/build/domains/project-selection/projectSelection.d.ts +30 -0
- package/build/domains/project-selection/projectSelection.d.ts.map +1 -0
- package/build/domains/project-selection/projectSelection.js +124 -0
- package/build/domains/project-selection/projectSelection.js.map +1 -0
- package/build/globalOptions.d.ts +9 -0
- package/build/globalOptions.d.ts.map +1 -1
- package/build/globalOptions.js +13 -11
- package/build/globalOptions.js.map +1 -1
- package/build/observability/events/registry.d.ts +7 -1
- package/build/observability/events/registry.d.ts.map +1 -1
- package/build/observability/events/registry.js +7 -1
- package/build/observability/events/registry.js.map +1 -1
- package/build/sdk/legacy/client/runtime/backendDispatchLifetime.d.ts.map +1 -1
- package/build/sdk/legacy/client/runtime/backendDispatchLifetime.js +8 -2
- package/build/sdk/legacy/client/runtime/backendDispatchLifetime.js.map +1 -1
- package/build/sdk/legacy/client/runtime/legacyTransport.d.ts +2 -0
- package/build/sdk/legacy/client/runtime/legacyTransport.d.ts.map +1 -1
- package/build/sdk/legacy/client/runtime/serveClient.d.ts +6 -1
- package/build/sdk/legacy/client/runtime/serveClient.d.ts.map +1 -1
- package/build/sdk/legacy/client/runtime/serveClient.js +16 -5
- package/build/sdk/legacy/client/runtime/serveClient.js.map +1 -1
- package/build/sdk/legacy/commands/serve.d.ts.map +1 -1
- package/build/sdk/legacy/commands/serve.js +11 -5
- package/build/sdk/legacy/commands/serve.js.map +1 -1
- package/build/sdk/legacy/server/protocol/projectAdmission.d.ts +4 -0
- package/build/sdk/legacy/server/protocol/projectAdmission.d.ts.map +1 -0
- package/build/sdk/legacy/server/protocol/projectAdmission.js +24 -0
- package/build/sdk/legacy/server/protocol/projectAdmission.js.map +1 -0
- package/build/sdk/legacy/server/protocol/promptRequestHandlers.d.ts.map +1 -1
- package/build/sdk/legacy/server/protocol/promptRequestHandlers.js +6 -3
- package/build/sdk/legacy/server/protocol/promptRequestHandlers.js.map +1 -1
- package/build/sdk/legacy/server/protocol/resourceRequestHandlers.d.ts.map +1 -1
- package/build/sdk/legacy/server/protocol/resourceRequestHandlers.js +6 -4
- package/build/sdk/legacy/server/protocol/resourceRequestHandlers.js.map +1 -1
- package/build/sdk/legacy/server/protocol/resourceSubscriptions.d.ts +1 -1
- package/build/sdk/legacy/server/protocol/resourceSubscriptions.d.ts.map +1 -1
- package/build/sdk/legacy/server/protocol/resourceSubscriptions.js +193 -41
- package/build/sdk/legacy/server/protocol/resourceSubscriptions.js.map +1 -1
- package/build/sdk/legacy/server/protocol/toolRequestHandlers.d.ts.map +1 -1
- package/build/sdk/legacy/server/protocol/toolRequestHandlers.js +93 -17
- package/build/sdk/legacy/server/protocol/toolRequestHandlers.js.map +1 -1
- package/build/sdk/legacy/server/runtime/clientInstancePool.d.ts +12 -0
- package/build/sdk/legacy/server/runtime/clientInstancePool.d.ts.map +1 -1
- package/build/sdk/legacy/server/runtime/clientInstancePool.js +117 -4
- package/build/sdk/legacy/server/runtime/clientInstancePool.js.map +1 -1
- package/build/sdk/legacy/server/runtime/connectionManager.d.ts.map +1 -1
- package/build/sdk/legacy/server/runtime/connectionManager.js +2 -0
- package/build/sdk/legacy/server/runtime/connectionManager.js.map +1 -1
- package/build/sdk/legacy/server/runtime/requestContextPreparation.d.ts +19 -1
- package/build/sdk/legacy/server/runtime/requestContextPreparation.d.ts.map +1 -1
- package/build/sdk/legacy/server/runtime/requestContextPreparation.js +40 -7
- package/build/sdk/legacy/server/runtime/requestContextPreparation.js.map +1 -1
- package/build/sdk/legacy/server/runtime/serverManager.d.ts +6 -2
- package/build/sdk/legacy/server/runtime/serverManager.d.ts.map +1 -1
- package/build/sdk/legacy/server/runtime/serverManager.js +85 -17
- package/build/sdk/legacy/server/runtime/serverManager.js.map +1 -1
- package/build/sdk/legacy/server/runtime/templateServerManager.d.ts +26 -4
- package/build/sdk/legacy/server/runtime/templateServerManager.d.ts.map +1 -1
- package/build/sdk/legacy/server/runtime/templateServerManager.js +260 -14
- package/build/sdk/legacy/server/runtime/templateServerManager.js.map +1 -1
- package/build/sdk/legacy/transport/http/modernInboundLegacyBridge.js +1 -1
- package/build/sdk/legacy/transport/http/modernInboundLegacyBridge.js.map +1 -1
- package/build/sdk/legacy/transport/http/streamableSessionLifecycle.d.ts.map +1 -1
- package/build/sdk/legacy/transport/http/streamableSessionLifecycle.js +14 -3
- package/build/sdk/legacy/transport/http/streamableSessionLifecycle.js.map +1 -1
- package/build/sdk/legacy/transport/stdioProxyTransport.d.ts +1 -0
- package/build/sdk/legacy/transport/stdioProxyTransport.d.ts.map +1 -1
- package/build/sdk/legacy/transport/stdioProxyTransport.js +2 -0
- package/build/sdk/legacy/transport/stdioProxyTransport.js.map +1 -1
- package/build/template/handlebarsTemplateRenderer.d.ts.map +1 -1
- package/build/template/handlebarsTemplateRenderer.js +3 -0
- package/build/template/handlebarsTemplateRenderer.js.map +1 -1
- package/build/transport/http/middlewares/projectAdmission.d.ts +5 -0
- package/build/transport/http/middlewares/projectAdmission.d.ts.map +1 -0
- package/build/transport/http/middlewares/projectAdmission.js +33 -0
- package/build/transport/http/middlewares/projectAdmission.js.map +1 -0
- package/build/transport/http/routes/apiRoutes.d.ts.map +1 -1
- package/build/transport/http/routes/apiRoutes.js +4 -0
- package/build/transport/http/routes/apiRoutes.js.map +1 -1
- package/build/transport/http/routes/inspectHelpers.d.ts +1 -0
- package/build/transport/http/routes/inspectHelpers.d.ts.map +1 -1
- package/build/transport/http/routes/inspectHelpers.js +2 -0
- package/build/transport/http/routes/inspectHelpers.js.map +1 -1
- package/build/transport/http/routes/inspectRequestContext.d.ts +5 -2
- package/build/transport/http/routes/inspectRequestContext.d.ts.map +1 -1
- package/build/transport/http/routes/inspectRequestContext.js +41 -19
- package/build/transport/http/routes/inspectRequestContext.js.map +1 -1
- package/build/transport/http/routes/inspectRoutes.d.ts +11 -2
- package/build/transport/http/routes/inspectRoutes.d.ts.map +1 -1
- package/build/transport/http/routes/inspectRoutes.js +94 -24
- package/build/transport/http/routes/inspectRoutes.js.map +1 -1
- package/build/transport/http/routes/instructionsRoutes.d.ts.map +1 -1
- package/build/transport/http/routes/instructionsRoutes.js +20 -8
- package/build/transport/http/routes/instructionsRoutes.js.map +1 -1
- package/build/transport/http/routes/modernHttpRoutes.d.ts.map +1 -1
- package/build/transport/http/routes/modernHttpRoutes.js +96 -13
- package/build/transport/http/routes/modernHttpRoutes.js.map +1 -1
- package/build/transport/http/routes/modernInteractionBinding.d.ts.map +1 -1
- package/build/transport/http/routes/modernInteractionBinding.js +3 -9
- package/build/transport/http/routes/modernInteractionBinding.js.map +1 -1
- package/build/transport/http/routes/modernSubscriptions.d.ts.map +1 -1
- package/build/transport/http/routes/modernSubscriptions.js +7 -5
- package/build/transport/http/routes/modernSubscriptions.js.map +1 -1
- package/build/transport/http/routes/modernTemplateContext.d.ts +2 -1
- package/build/transport/http/routes/modernTemplateContext.d.ts.map +1 -1
- package/build/transport/http/routes/modernTemplateContext.js +14 -3
- package/build/transport/http/routes/modernTemplateContext.js.map +1 -1
- package/build/transport/http/routes/modernToolHeaderRegistry.d.ts.map +1 -1
- package/build/transport/http/routes/modernToolHeaderRegistry.js +2 -2
- package/build/transport/http/routes/modernToolHeaderRegistry.js.map +1 -1
- package/build/transport/http/routes/preparationRoutes.d.ts +26 -0
- package/build/transport/http/routes/preparationRoutes.d.ts.map +1 -0
- package/build/transport/http/routes/preparationRoutes.js +132 -0
- package/build/transport/http/routes/preparationRoutes.js.map +1 -0
- package/build/transport/http/routes/projectRoutes.d.ts +18 -0
- package/build/transport/http/routes/projectRoutes.d.ts.map +1 -0
- package/build/transport/http/routes/projectRoutes.js +159 -0
- package/build/transport/http/routes/projectRoutes.js.map +1 -0
- package/build/transport/http/routes/streamableHttpRoutes.d.ts.map +1 -1
- package/build/transport/http/routes/streamableHttpRoutes.js +24 -4
- package/build/transport/http/routes/streamableHttpRoutes.js.map +1 -1
- package/build/transport/http/routes/toolRoutes.d.ts.map +1 -1
- package/build/transport/http/routes/toolRoutes.js +163 -20
- package/build/transport/http/routes/toolRoutes.js.map +1 -1
- package/build/transport/http/utils/contextExtractor.d.ts +2 -0
- package/build/transport/http/utils/contextExtractor.d.ts.map +1 -1
- package/build/transport/http/utils/contextExtractor.js +11 -0
- package/build/transport/http/utils/contextExtractor.js.map +1 -1
- package/build/transport/http/utils/templateContextAuthority.d.ts +2 -0
- package/build/transport/http/utils/templateContextAuthority.d.ts.map +1 -1
- package/build/transport/http/utils/templateContextAuthority.js +23 -2
- package/build/transport/http/utils/templateContextAuthority.js.map +1 -1
- package/build/types/context.d.ts +13 -0
- package/build/types/context.d.ts.map +1 -1
- package/build/types/context.js.map +1 -1
- package/build/utils/cli/help.d.ts +7 -0
- package/build/utils/cli/help.d.ts.map +1 -0
- package/build/utils/cli/help.js +57 -0
- package/build/utils/cli/help.js.map +1 -0
- package/package.json +20 -22
- package/build/admin/assets/admin-icons-CYGTDZA5.js +0 -1
- package/build/admin/assets/admin-vendor-62eL-qdH.js +0 -1
- package/build/admin/assets/admin-vendor-BbMrl7MK.js +0 -3
- package/build/admin/assets/admin-vendor-DpjVwd81.js +0 -62
|
@@ -40,6 +40,64 @@ interface TemplateInstanceStatus {
|
|
|
40
40
|
export declare function handleInstallMCPServer(args: McpInstallToolArgs): Promise<{
|
|
41
41
|
serverName: string;
|
|
42
42
|
serverConfig: {
|
|
43
|
+
preparation?: {
|
|
44
|
+
adapter: "configured-command";
|
|
45
|
+
allowedActions: ("initialize" | "sync" | "rebuild" | "install" | "paid")[];
|
|
46
|
+
affectedTools?: string[] | "all" | undefined;
|
|
47
|
+
integration?: {
|
|
48
|
+
containment: "posix-process-group";
|
|
49
|
+
probe: {
|
|
50
|
+
executable: string;
|
|
51
|
+
args: string[];
|
|
52
|
+
};
|
|
53
|
+
readinessExitCodes: Record<string, {
|
|
54
|
+
state: "ready";
|
|
55
|
+
} | {
|
|
56
|
+
state: "required";
|
|
57
|
+
action: "initialize" | "sync" | "rebuild" | "install" | "paid";
|
|
58
|
+
instructions: string;
|
|
59
|
+
} | {
|
|
60
|
+
state: "conflict";
|
|
61
|
+
instructions: string;
|
|
62
|
+
} | {
|
|
63
|
+
state: "unsupported";
|
|
64
|
+
instructions: string;
|
|
65
|
+
} | {
|
|
66
|
+
state: "unknown";
|
|
67
|
+
reason: "probe_failed";
|
|
68
|
+
instructions: string;
|
|
69
|
+
}>;
|
|
70
|
+
actions: Partial<Record<"initialize" | "sync" | "rebuild" | "install" | "paid", {
|
|
71
|
+
executable: string;
|
|
72
|
+
args: string[];
|
|
73
|
+
successExitCodes: number[];
|
|
74
|
+
transientExitCodes: number[];
|
|
75
|
+
}>>;
|
|
76
|
+
inspectionTimeoutMs: number;
|
|
77
|
+
outputLimitBytes: number;
|
|
78
|
+
terminationGraceMs: number;
|
|
79
|
+
status?: {
|
|
80
|
+
executable: string;
|
|
81
|
+
args: string[];
|
|
82
|
+
} | undefined;
|
|
83
|
+
} | undefined;
|
|
84
|
+
definition?: {
|
|
85
|
+
id: string;
|
|
86
|
+
file?: string | undefined;
|
|
87
|
+
inputs?: Record<string, string> | undefined;
|
|
88
|
+
} | undefined;
|
|
89
|
+
activation?: "setup" | undefined;
|
|
90
|
+
enabled?: boolean | undefined;
|
|
91
|
+
executionDeadlineMs?: number | undefined;
|
|
92
|
+
transientRetryLimit?: number | undefined;
|
|
93
|
+
} | undefined;
|
|
94
|
+
projectTarget?: {
|
|
95
|
+
mode: "independent" | "single";
|
|
96
|
+
argument?: string | undefined;
|
|
97
|
+
} | {
|
|
98
|
+
mode: "native-set";
|
|
99
|
+
argument: string;
|
|
100
|
+
} | undefined;
|
|
43
101
|
type?: "stdio" | "http" | "sse" | "streamableHttp" | undefined;
|
|
44
102
|
protocolVersion?: "legacy" | "auto" | "2026-07-28" | undefined;
|
|
45
103
|
disabled?: string | boolean | undefined;
|
|
@@ -64,7 +122,7 @@ export declare function handleInstallMCPServer(args: McpInstallToolArgs): Promis
|
|
|
64
122
|
headers?: Record<string, string> | undefined;
|
|
65
123
|
command?: string | undefined;
|
|
66
124
|
args?: string[] | undefined;
|
|
67
|
-
stderr?: number | "pipe" | "overlapped" | "
|
|
125
|
+
stderr?: number | "pipe" | "overlapped" | "inherit" | "ignore" | undefined;
|
|
68
126
|
cwd?: string | undefined;
|
|
69
127
|
env?: string[] | Record<string, string> | undefined;
|
|
70
128
|
inheritParentEnv?: boolean | undefined;
|
|
@@ -99,6 +157,64 @@ export declare function handleUninstallMCPServer(args: McpUninstallToolArgs): Pr
|
|
|
99
157
|
export declare function handleUpdateMCPServer(args: McpUpdateToolArgs): Promise<{
|
|
100
158
|
serverName: string;
|
|
101
159
|
previousConfig: {
|
|
160
|
+
preparation?: {
|
|
161
|
+
adapter: "configured-command";
|
|
162
|
+
allowedActions: ("initialize" | "sync" | "rebuild" | "install" | "paid")[];
|
|
163
|
+
affectedTools?: string[] | "all" | undefined;
|
|
164
|
+
integration?: {
|
|
165
|
+
containment: "posix-process-group";
|
|
166
|
+
probe: {
|
|
167
|
+
executable: string;
|
|
168
|
+
args: string[];
|
|
169
|
+
};
|
|
170
|
+
readinessExitCodes: Record<string, {
|
|
171
|
+
state: "ready";
|
|
172
|
+
} | {
|
|
173
|
+
state: "required";
|
|
174
|
+
action: "initialize" | "sync" | "rebuild" | "install" | "paid";
|
|
175
|
+
instructions: string;
|
|
176
|
+
} | {
|
|
177
|
+
state: "conflict";
|
|
178
|
+
instructions: string;
|
|
179
|
+
} | {
|
|
180
|
+
state: "unsupported";
|
|
181
|
+
instructions: string;
|
|
182
|
+
} | {
|
|
183
|
+
state: "unknown";
|
|
184
|
+
reason: "probe_failed";
|
|
185
|
+
instructions: string;
|
|
186
|
+
}>;
|
|
187
|
+
actions: Partial<Record<"initialize" | "sync" | "rebuild" | "install" | "paid", {
|
|
188
|
+
executable: string;
|
|
189
|
+
args: string[];
|
|
190
|
+
successExitCodes: number[];
|
|
191
|
+
transientExitCodes: number[];
|
|
192
|
+
}>>;
|
|
193
|
+
inspectionTimeoutMs: number;
|
|
194
|
+
outputLimitBytes: number;
|
|
195
|
+
terminationGraceMs: number;
|
|
196
|
+
status?: {
|
|
197
|
+
executable: string;
|
|
198
|
+
args: string[];
|
|
199
|
+
} | undefined;
|
|
200
|
+
} | undefined;
|
|
201
|
+
definition?: {
|
|
202
|
+
id: string;
|
|
203
|
+
file?: string | undefined;
|
|
204
|
+
inputs?: Record<string, string> | undefined;
|
|
205
|
+
} | undefined;
|
|
206
|
+
activation?: "setup" | undefined;
|
|
207
|
+
enabled?: boolean | undefined;
|
|
208
|
+
executionDeadlineMs?: number | undefined;
|
|
209
|
+
transientRetryLimit?: number | undefined;
|
|
210
|
+
} | undefined;
|
|
211
|
+
projectTarget?: {
|
|
212
|
+
mode: "independent" | "single";
|
|
213
|
+
argument?: string | undefined;
|
|
214
|
+
} | {
|
|
215
|
+
mode: "native-set";
|
|
216
|
+
argument: string;
|
|
217
|
+
} | undefined;
|
|
102
218
|
type?: "stdio" | "http" | "sse" | "streamableHttp" | undefined;
|
|
103
219
|
protocolVersion?: "legacy" | "auto" | "2026-07-28" | undefined;
|
|
104
220
|
disabled?: string | boolean | undefined;
|
|
@@ -123,7 +239,7 @@ export declare function handleUpdateMCPServer(args: McpUpdateToolArgs): Promise<
|
|
|
123
239
|
headers?: Record<string, string> | undefined;
|
|
124
240
|
command?: string | undefined;
|
|
125
241
|
args?: string[] | undefined;
|
|
126
|
-
stderr?: number | "pipe" | "overlapped" | "
|
|
242
|
+
stderr?: number | "pipe" | "overlapped" | "inherit" | "ignore" | undefined;
|
|
127
243
|
cwd?: string | undefined;
|
|
128
244
|
env?: string[] | Record<string, string> | undefined;
|
|
129
245
|
inheritParentEnv?: boolean | undefined;
|
|
@@ -143,6 +259,64 @@ export declare function handleUpdateMCPServer(args: McpUpdateToolArgs): Promise<
|
|
|
143
259
|
} | undefined;
|
|
144
260
|
};
|
|
145
261
|
newConfig: {
|
|
262
|
+
preparation?: {
|
|
263
|
+
adapter: "configured-command";
|
|
264
|
+
allowedActions: ("initialize" | "sync" | "rebuild" | "install" | "paid")[];
|
|
265
|
+
affectedTools?: string[] | "all" | undefined;
|
|
266
|
+
integration?: {
|
|
267
|
+
containment: "posix-process-group";
|
|
268
|
+
probe: {
|
|
269
|
+
executable: string;
|
|
270
|
+
args: string[];
|
|
271
|
+
};
|
|
272
|
+
readinessExitCodes: Record<string, {
|
|
273
|
+
state: "ready";
|
|
274
|
+
} | {
|
|
275
|
+
state: "required";
|
|
276
|
+
action: "initialize" | "sync" | "rebuild" | "install" | "paid";
|
|
277
|
+
instructions: string;
|
|
278
|
+
} | {
|
|
279
|
+
state: "conflict";
|
|
280
|
+
instructions: string;
|
|
281
|
+
} | {
|
|
282
|
+
state: "unsupported";
|
|
283
|
+
instructions: string;
|
|
284
|
+
} | {
|
|
285
|
+
state: "unknown";
|
|
286
|
+
reason: "probe_failed";
|
|
287
|
+
instructions: string;
|
|
288
|
+
}>;
|
|
289
|
+
actions: Partial<Record<"initialize" | "sync" | "rebuild" | "install" | "paid", {
|
|
290
|
+
executable: string;
|
|
291
|
+
args: string[];
|
|
292
|
+
successExitCodes: number[];
|
|
293
|
+
transientExitCodes: number[];
|
|
294
|
+
}>>;
|
|
295
|
+
inspectionTimeoutMs: number;
|
|
296
|
+
outputLimitBytes: number;
|
|
297
|
+
terminationGraceMs: number;
|
|
298
|
+
status?: {
|
|
299
|
+
executable: string;
|
|
300
|
+
args: string[];
|
|
301
|
+
} | undefined;
|
|
302
|
+
} | undefined;
|
|
303
|
+
definition?: {
|
|
304
|
+
id: string;
|
|
305
|
+
file?: string | undefined;
|
|
306
|
+
inputs?: Record<string, string> | undefined;
|
|
307
|
+
} | undefined;
|
|
308
|
+
activation?: "setup" | undefined;
|
|
309
|
+
enabled?: boolean | undefined;
|
|
310
|
+
executionDeadlineMs?: number | undefined;
|
|
311
|
+
transientRetryLimit?: number | undefined;
|
|
312
|
+
} | undefined;
|
|
313
|
+
projectTarget?: {
|
|
314
|
+
mode: "independent" | "single";
|
|
315
|
+
argument?: string | undefined;
|
|
316
|
+
} | {
|
|
317
|
+
mode: "native-set";
|
|
318
|
+
argument: string;
|
|
319
|
+
} | undefined;
|
|
146
320
|
type?: "stdio" | "http" | "sse" | "streamableHttp" | undefined;
|
|
147
321
|
protocolVersion?: "legacy" | "auto" | "2026-07-28" | undefined;
|
|
148
322
|
disabled?: string | boolean | undefined;
|
|
@@ -167,7 +341,7 @@ export declare function handleUpdateMCPServer(args: McpUpdateToolArgs): Promise<
|
|
|
167
341
|
headers?: Record<string, string> | undefined;
|
|
168
342
|
command?: string | undefined;
|
|
169
343
|
args?: string[] | undefined;
|
|
170
|
-
stderr?: number | "pipe" | "overlapped" | "
|
|
344
|
+
stderr?: number | "pipe" | "overlapped" | "inherit" | "ignore" | undefined;
|
|
171
345
|
cwd?: string | undefined;
|
|
172
346
|
env?: string[] | Record<string, string> | undefined;
|
|
173
347
|
inheritParentEnv?: boolean | undefined;
|
|
@@ -234,6 +408,64 @@ export declare function handleServerStatus(args: McpStatusToolArgs): Promise<{
|
|
|
234
408
|
instances?: TemplateInstanceStatus[] | undefined;
|
|
235
409
|
targetType: "template";
|
|
236
410
|
status: string;
|
|
411
|
+
preparation?: {
|
|
412
|
+
adapter: "configured-command";
|
|
413
|
+
allowedActions: ("initialize" | "sync" | "rebuild" | "install" | "paid")[];
|
|
414
|
+
affectedTools?: string[] | "all" | undefined;
|
|
415
|
+
integration?: {
|
|
416
|
+
containment: "posix-process-group";
|
|
417
|
+
probe: {
|
|
418
|
+
executable: string;
|
|
419
|
+
args: string[];
|
|
420
|
+
};
|
|
421
|
+
readinessExitCodes: Record<string, {
|
|
422
|
+
state: "ready";
|
|
423
|
+
} | {
|
|
424
|
+
state: "required";
|
|
425
|
+
action: "initialize" | "sync" | "rebuild" | "install" | "paid";
|
|
426
|
+
instructions: string;
|
|
427
|
+
} | {
|
|
428
|
+
state: "conflict";
|
|
429
|
+
instructions: string;
|
|
430
|
+
} | {
|
|
431
|
+
state: "unsupported";
|
|
432
|
+
instructions: string;
|
|
433
|
+
} | {
|
|
434
|
+
state: "unknown";
|
|
435
|
+
reason: "probe_failed";
|
|
436
|
+
instructions: string;
|
|
437
|
+
}>;
|
|
438
|
+
actions: Partial<Record<"initialize" | "sync" | "rebuild" | "install" | "paid", {
|
|
439
|
+
executable: string;
|
|
440
|
+
args: string[];
|
|
441
|
+
successExitCodes: number[];
|
|
442
|
+
transientExitCodes: number[];
|
|
443
|
+
}>>;
|
|
444
|
+
inspectionTimeoutMs: number;
|
|
445
|
+
outputLimitBytes: number;
|
|
446
|
+
terminationGraceMs: number;
|
|
447
|
+
status?: {
|
|
448
|
+
executable: string;
|
|
449
|
+
args: string[];
|
|
450
|
+
} | undefined;
|
|
451
|
+
} | undefined;
|
|
452
|
+
definition?: {
|
|
453
|
+
id: string;
|
|
454
|
+
file?: string | undefined;
|
|
455
|
+
inputs?: Record<string, string> | undefined;
|
|
456
|
+
} | undefined;
|
|
457
|
+
activation?: "setup" | undefined;
|
|
458
|
+
enabled?: boolean | undefined;
|
|
459
|
+
executionDeadlineMs?: number | undefined;
|
|
460
|
+
transientRetryLimit?: number | undefined;
|
|
461
|
+
} | undefined;
|
|
462
|
+
projectTarget?: {
|
|
463
|
+
mode: "independent" | "single";
|
|
464
|
+
argument?: string | undefined;
|
|
465
|
+
} | {
|
|
466
|
+
mode: "native-set";
|
|
467
|
+
argument: string;
|
|
468
|
+
} | undefined;
|
|
237
469
|
type?: "stdio" | "http" | "sse" | "streamableHttp" | undefined;
|
|
238
470
|
protocolVersion?: "legacy" | "auto" | "2026-07-28" | undefined;
|
|
239
471
|
disabled?: string | boolean | undefined;
|
|
@@ -258,7 +490,7 @@ export declare function handleServerStatus(args: McpStatusToolArgs): Promise<{
|
|
|
258
490
|
headers?: Record<string, string> | undefined;
|
|
259
491
|
command?: string | undefined;
|
|
260
492
|
args?: string[] | undefined;
|
|
261
|
-
stderr?: number | "pipe" | "overlapped" | "
|
|
493
|
+
stderr?: number | "pipe" | "overlapped" | "inherit" | "ignore" | undefined;
|
|
262
494
|
cwd?: string | undefined;
|
|
263
495
|
env?: string[] | Record<string, string> | undefined;
|
|
264
496
|
inheritParentEnv?: boolean | undefined;
|
|
@@ -282,6 +514,64 @@ export declare function handleServerStatus(args: McpStatusToolArgs): Promise<{
|
|
|
282
514
|
supervision?: OperationalSupervision<OutboundSupervisionSnapshot> | undefined;
|
|
283
515
|
targetType: "static";
|
|
284
516
|
status: string;
|
|
517
|
+
preparation?: {
|
|
518
|
+
adapter: "configured-command";
|
|
519
|
+
allowedActions: ("initialize" | "sync" | "rebuild" | "install" | "paid")[];
|
|
520
|
+
affectedTools?: string[] | "all" | undefined;
|
|
521
|
+
integration?: {
|
|
522
|
+
containment: "posix-process-group";
|
|
523
|
+
probe: {
|
|
524
|
+
executable: string;
|
|
525
|
+
args: string[];
|
|
526
|
+
};
|
|
527
|
+
readinessExitCodes: Record<string, {
|
|
528
|
+
state: "ready";
|
|
529
|
+
} | {
|
|
530
|
+
state: "required";
|
|
531
|
+
action: "initialize" | "sync" | "rebuild" | "install" | "paid";
|
|
532
|
+
instructions: string;
|
|
533
|
+
} | {
|
|
534
|
+
state: "conflict";
|
|
535
|
+
instructions: string;
|
|
536
|
+
} | {
|
|
537
|
+
state: "unsupported";
|
|
538
|
+
instructions: string;
|
|
539
|
+
} | {
|
|
540
|
+
state: "unknown";
|
|
541
|
+
reason: "probe_failed";
|
|
542
|
+
instructions: string;
|
|
543
|
+
}>;
|
|
544
|
+
actions: Partial<Record<"initialize" | "sync" | "rebuild" | "install" | "paid", {
|
|
545
|
+
executable: string;
|
|
546
|
+
args: string[];
|
|
547
|
+
successExitCodes: number[];
|
|
548
|
+
transientExitCodes: number[];
|
|
549
|
+
}>>;
|
|
550
|
+
inspectionTimeoutMs: number;
|
|
551
|
+
outputLimitBytes: number;
|
|
552
|
+
terminationGraceMs: number;
|
|
553
|
+
status?: {
|
|
554
|
+
executable: string;
|
|
555
|
+
args: string[];
|
|
556
|
+
} | undefined;
|
|
557
|
+
} | undefined;
|
|
558
|
+
definition?: {
|
|
559
|
+
id: string;
|
|
560
|
+
file?: string | undefined;
|
|
561
|
+
inputs?: Record<string, string> | undefined;
|
|
562
|
+
} | undefined;
|
|
563
|
+
activation?: "setup" | undefined;
|
|
564
|
+
enabled?: boolean | undefined;
|
|
565
|
+
executionDeadlineMs?: number | undefined;
|
|
566
|
+
transientRetryLimit?: number | undefined;
|
|
567
|
+
} | undefined;
|
|
568
|
+
projectTarget?: {
|
|
569
|
+
mode: "independent" | "single";
|
|
570
|
+
argument?: string | undefined;
|
|
571
|
+
} | {
|
|
572
|
+
mode: "native-set";
|
|
573
|
+
argument: string;
|
|
574
|
+
} | undefined;
|
|
285
575
|
type?: "stdio" | "http" | "sse" | "streamableHttp" | undefined;
|
|
286
576
|
protocolVersion?: "legacy" | "auto" | "2026-07-28" | undefined;
|
|
287
577
|
disabled?: string | boolean | undefined;
|
|
@@ -306,7 +596,7 @@ export declare function handleServerStatus(args: McpStatusToolArgs): Promise<{
|
|
|
306
596
|
headers?: Record<string, string> | undefined;
|
|
307
597
|
command?: string | undefined;
|
|
308
598
|
args?: string[] | undefined;
|
|
309
|
-
stderr?: number | "pipe" | "overlapped" | "
|
|
599
|
+
stderr?: number | "pipe" | "overlapped" | "inherit" | "ignore" | undefined;
|
|
310
600
|
cwd?: string | undefined;
|
|
311
601
|
env?: string[] | Record<string, string> | undefined;
|
|
312
602
|
inheritParentEnv?: boolean | undefined;
|
|
@@ -334,6 +624,64 @@ export declare function handleServerStatus(args: McpStatusToolArgs): Promise<{
|
|
|
334
624
|
instances?: TemplateInstanceStatus[] | undefined;
|
|
335
625
|
targetType: "template";
|
|
336
626
|
status: string;
|
|
627
|
+
preparation?: {
|
|
628
|
+
adapter: "configured-command";
|
|
629
|
+
allowedActions: ("initialize" | "sync" | "rebuild" | "install" | "paid")[];
|
|
630
|
+
affectedTools?: string[] | "all" | undefined;
|
|
631
|
+
integration?: {
|
|
632
|
+
containment: "posix-process-group";
|
|
633
|
+
probe: {
|
|
634
|
+
executable: string;
|
|
635
|
+
args: string[];
|
|
636
|
+
};
|
|
637
|
+
readinessExitCodes: Record<string, {
|
|
638
|
+
state: "ready";
|
|
639
|
+
} | {
|
|
640
|
+
state: "required";
|
|
641
|
+
action: "initialize" | "sync" | "rebuild" | "install" | "paid";
|
|
642
|
+
instructions: string;
|
|
643
|
+
} | {
|
|
644
|
+
state: "conflict";
|
|
645
|
+
instructions: string;
|
|
646
|
+
} | {
|
|
647
|
+
state: "unsupported";
|
|
648
|
+
instructions: string;
|
|
649
|
+
} | {
|
|
650
|
+
state: "unknown";
|
|
651
|
+
reason: "probe_failed";
|
|
652
|
+
instructions: string;
|
|
653
|
+
}>;
|
|
654
|
+
actions: Partial<Record<"initialize" | "sync" | "rebuild" | "install" | "paid", {
|
|
655
|
+
executable: string;
|
|
656
|
+
args: string[];
|
|
657
|
+
successExitCodes: number[];
|
|
658
|
+
transientExitCodes: number[];
|
|
659
|
+
}>>;
|
|
660
|
+
inspectionTimeoutMs: number;
|
|
661
|
+
outputLimitBytes: number;
|
|
662
|
+
terminationGraceMs: number;
|
|
663
|
+
status?: {
|
|
664
|
+
executable: string;
|
|
665
|
+
args: string[];
|
|
666
|
+
} | undefined;
|
|
667
|
+
} | undefined;
|
|
668
|
+
definition?: {
|
|
669
|
+
id: string;
|
|
670
|
+
file?: string | undefined;
|
|
671
|
+
inputs?: Record<string, string> | undefined;
|
|
672
|
+
} | undefined;
|
|
673
|
+
activation?: "setup" | undefined;
|
|
674
|
+
enabled?: boolean | undefined;
|
|
675
|
+
executionDeadlineMs?: number | undefined;
|
|
676
|
+
transientRetryLimit?: number | undefined;
|
|
677
|
+
} | undefined;
|
|
678
|
+
projectTarget?: {
|
|
679
|
+
mode: "independent" | "single";
|
|
680
|
+
argument?: string | undefined;
|
|
681
|
+
} | {
|
|
682
|
+
mode: "native-set";
|
|
683
|
+
argument: string;
|
|
684
|
+
} | undefined;
|
|
337
685
|
type?: "stdio" | "http" | "sse" | "streamableHttp" | undefined;
|
|
338
686
|
protocolVersion?: "legacy" | "auto" | "2026-07-28" | undefined;
|
|
339
687
|
disabled?: string | boolean | undefined;
|
|
@@ -358,7 +706,7 @@ export declare function handleServerStatus(args: McpStatusToolArgs): Promise<{
|
|
|
358
706
|
headers?: Record<string, string> | undefined;
|
|
359
707
|
command?: string | undefined;
|
|
360
708
|
args?: string[] | undefined;
|
|
361
|
-
stderr?: number | "pipe" | "overlapped" | "
|
|
709
|
+
stderr?: number | "pipe" | "overlapped" | "inherit" | "ignore" | undefined;
|
|
362
710
|
cwd?: string | undefined;
|
|
363
711
|
env?: string[] | Record<string, string> | undefined;
|
|
364
712
|
inheritParentEnv?: boolean | undefined;
|
|
@@ -382,6 +730,64 @@ export declare function handleServerStatus(args: McpStatusToolArgs): Promise<{
|
|
|
382
730
|
supervision?: OperationalSupervision<OutboundSupervisionSnapshot> | undefined;
|
|
383
731
|
targetType: "static";
|
|
384
732
|
status: string;
|
|
733
|
+
preparation?: {
|
|
734
|
+
adapter: "configured-command";
|
|
735
|
+
allowedActions: ("initialize" | "sync" | "rebuild" | "install" | "paid")[];
|
|
736
|
+
affectedTools?: string[] | "all" | undefined;
|
|
737
|
+
integration?: {
|
|
738
|
+
containment: "posix-process-group";
|
|
739
|
+
probe: {
|
|
740
|
+
executable: string;
|
|
741
|
+
args: string[];
|
|
742
|
+
};
|
|
743
|
+
readinessExitCodes: Record<string, {
|
|
744
|
+
state: "ready";
|
|
745
|
+
} | {
|
|
746
|
+
state: "required";
|
|
747
|
+
action: "initialize" | "sync" | "rebuild" | "install" | "paid";
|
|
748
|
+
instructions: string;
|
|
749
|
+
} | {
|
|
750
|
+
state: "conflict";
|
|
751
|
+
instructions: string;
|
|
752
|
+
} | {
|
|
753
|
+
state: "unsupported";
|
|
754
|
+
instructions: string;
|
|
755
|
+
} | {
|
|
756
|
+
state: "unknown";
|
|
757
|
+
reason: "probe_failed";
|
|
758
|
+
instructions: string;
|
|
759
|
+
}>;
|
|
760
|
+
actions: Partial<Record<"initialize" | "sync" | "rebuild" | "install" | "paid", {
|
|
761
|
+
executable: string;
|
|
762
|
+
args: string[];
|
|
763
|
+
successExitCodes: number[];
|
|
764
|
+
transientExitCodes: number[];
|
|
765
|
+
}>>;
|
|
766
|
+
inspectionTimeoutMs: number;
|
|
767
|
+
outputLimitBytes: number;
|
|
768
|
+
terminationGraceMs: number;
|
|
769
|
+
status?: {
|
|
770
|
+
executable: string;
|
|
771
|
+
args: string[];
|
|
772
|
+
} | undefined;
|
|
773
|
+
} | undefined;
|
|
774
|
+
definition?: {
|
|
775
|
+
id: string;
|
|
776
|
+
file?: string | undefined;
|
|
777
|
+
inputs?: Record<string, string> | undefined;
|
|
778
|
+
} | undefined;
|
|
779
|
+
activation?: "setup" | undefined;
|
|
780
|
+
enabled?: boolean | undefined;
|
|
781
|
+
executionDeadlineMs?: number | undefined;
|
|
782
|
+
transientRetryLimit?: number | undefined;
|
|
783
|
+
} | undefined;
|
|
784
|
+
projectTarget?: {
|
|
785
|
+
mode: "independent" | "single";
|
|
786
|
+
argument?: string | undefined;
|
|
787
|
+
} | {
|
|
788
|
+
mode: "native-set";
|
|
789
|
+
argument: string;
|
|
790
|
+
} | undefined;
|
|
385
791
|
type?: "stdio" | "http" | "sse" | "streamableHttp" | undefined;
|
|
386
792
|
protocolVersion?: "legacy" | "auto" | "2026-07-28" | undefined;
|
|
387
793
|
disabled?: string | boolean | undefined;
|
|
@@ -406,7 +812,7 @@ export declare function handleServerStatus(args: McpStatusToolArgs): Promise<{
|
|
|
406
812
|
headers?: Record<string, string> | undefined;
|
|
407
813
|
command?: string | undefined;
|
|
408
814
|
args?: string[] | undefined;
|
|
409
|
-
stderr?: number | "pipe" | "overlapped" | "
|
|
815
|
+
stderr?: number | "pipe" | "overlapped" | "inherit" | "ignore" | undefined;
|
|
410
816
|
cwd?: string | undefined;
|
|
411
817
|
env?: string[] | Record<string, string> | undefined;
|
|
412
818
|
inheritParentEnv?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverManagementHandler.d.ts","sourceRoot":"","sources":["../../../../src/core/tools/handlers/serverManagementHandler.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAI7F,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kDAAkD,CAAC;AA6CpG;;GAEG;AACH,KAAK,mBAAmB,GAAG,0BAA0B,GAAG,2BAA2B,CAAC;AACpF,KAAK,sBAAsB,CAAC,CAAC,SAAS,mBAAmB,IAAI,IAAI,CAAC,CAAC,EAAE,WAAW,CAAC,GAAG;IAAE,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAC;AACjH,KAAK,6BAA6B,GAAG,sBAAsB,CAAC,0BAA0B,CAAC,CAAC;AACxF,KAAK,8BAA8B,GAAG,sBAAsB,CAAC,2BAA2B,CAAC,CAAC;AAE1F,UAAU,kBAAmB,SAAQ,IAAI,CAAC,eAAe,EAAE,KAAK,CAAC;IAC/D,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EACJ,SAAS,GAAG,UAAU,GAAG,WAAW,GAAG,cAAc,GAAG,OAAO,GAAG,gBAAgB,GAAG,YAAY,GAAG,YAAY,CAAC;IACnH,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,6BAA6B,GAAG,8BAA8B,CAAC;IAC7E,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7B,YAAY,CAAC,EAAE;QACb,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;QAClB,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,MAAM,CAAC,EAAE;QACP,SAAS,EAAE,OAAO,CAAC;QACnB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;QAC7B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;KAC7B,CAAC;CACH;AAED,UAAU,sBAAsB;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,6BAA6B,CAAC;CAC7C;AAgBD;;GAEG;AACH,wBAAsB,sBAAsB,CAAC,IAAI,EAAE,kBAAkB
|
|
1
|
+
{"version":3,"file":"serverManagementHandler.d.ts","sourceRoot":"","sources":["../../../../src/core/tools/handlers/serverManagementHandler.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAI7F,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2C/D;AA6DD;;GAEG;AACH,wBAAsB,qBAAqB,CAAC,IAAI,EAAE,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0GlE"}
|
|
@@ -26,6 +26,64 @@ export declare function generateChangeWarnings(changes: ConfigChange[]): string[
|
|
|
26
26
|
export declare function transformServerInfo(name: string, config: MCPServerParams): {
|
|
27
27
|
name: string;
|
|
28
28
|
config: {
|
|
29
|
+
preparation?: {
|
|
30
|
+
adapter: "configured-command";
|
|
31
|
+
allowedActions: ("initialize" | "sync" | "rebuild" | "install" | "paid")[];
|
|
32
|
+
affectedTools?: string[] | "all" | undefined;
|
|
33
|
+
integration?: {
|
|
34
|
+
containment: "posix-process-group";
|
|
35
|
+
probe: {
|
|
36
|
+
executable: string;
|
|
37
|
+
args: string[];
|
|
38
|
+
};
|
|
39
|
+
readinessExitCodes: Record<string, {
|
|
40
|
+
state: "ready";
|
|
41
|
+
} | {
|
|
42
|
+
state: "required";
|
|
43
|
+
action: "initialize" | "sync" | "rebuild" | "install" | "paid";
|
|
44
|
+
instructions: string;
|
|
45
|
+
} | {
|
|
46
|
+
state: "conflict";
|
|
47
|
+
instructions: string;
|
|
48
|
+
} | {
|
|
49
|
+
state: "unsupported";
|
|
50
|
+
instructions: string;
|
|
51
|
+
} | {
|
|
52
|
+
state: "unknown";
|
|
53
|
+
reason: "probe_failed";
|
|
54
|
+
instructions: string;
|
|
55
|
+
}>;
|
|
56
|
+
actions: Partial<Record<"initialize" | "sync" | "rebuild" | "install" | "paid", {
|
|
57
|
+
executable: string;
|
|
58
|
+
args: string[];
|
|
59
|
+
successExitCodes: number[];
|
|
60
|
+
transientExitCodes: number[];
|
|
61
|
+
}>>;
|
|
62
|
+
inspectionTimeoutMs: number;
|
|
63
|
+
outputLimitBytes: number;
|
|
64
|
+
terminationGraceMs: number;
|
|
65
|
+
status?: {
|
|
66
|
+
executable: string;
|
|
67
|
+
args: string[];
|
|
68
|
+
} | undefined;
|
|
69
|
+
} | undefined;
|
|
70
|
+
definition?: {
|
|
71
|
+
id: string;
|
|
72
|
+
file?: string | undefined;
|
|
73
|
+
inputs?: Record<string, string> | undefined;
|
|
74
|
+
} | undefined;
|
|
75
|
+
activation?: "setup" | undefined;
|
|
76
|
+
enabled?: boolean | undefined;
|
|
77
|
+
executionDeadlineMs?: number | undefined;
|
|
78
|
+
transientRetryLimit?: number | undefined;
|
|
79
|
+
} | undefined;
|
|
80
|
+
projectTarget?: {
|
|
81
|
+
mode: "independent" | "single";
|
|
82
|
+
argument?: string | undefined;
|
|
83
|
+
} | {
|
|
84
|
+
mode: "native-set";
|
|
85
|
+
argument: string;
|
|
86
|
+
} | undefined;
|
|
29
87
|
type?: "stdio" | "http" | "sse" | "streamableHttp" | undefined;
|
|
30
88
|
protocolVersion?: "legacy" | "auto" | "2026-07-28" | undefined;
|
|
31
89
|
disabled?: string | boolean | undefined;
|
|
@@ -50,7 +108,7 @@ export declare function transformServerInfo(name: string, config: MCPServerParam
|
|
|
50
108
|
headers?: Record<string, string> | undefined;
|
|
51
109
|
command?: string | undefined;
|
|
52
110
|
args?: string[] | undefined;
|
|
53
|
-
stderr?: number | "pipe" | "overlapped" | "
|
|
111
|
+
stderr?: number | "pipe" | "overlapped" | "inherit" | "ignore" | undefined;
|
|
54
112
|
cwd?: string | undefined;
|
|
55
113
|
env?: string[] | Record<string, string> | undefined;
|
|
56
114
|
inheritParentEnv?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configTransformers.d.ts","sourceRoot":"","sources":["../../../../../../src/core/tools/internal/adapters/helpers/configTransformers.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,SAAS,EAAE,eAAe,EAC1B,SAAS,EAAE,OAAO,CAAC,eAAe,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,EAC1D,UAAU,EAAE,MAAM,GACjB,YAAY,EAAE,CAkDhB;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,YAAY,EAAE,GAAG,MAAM,EAAE,CAYxE;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe
|
|
1
|
+
{"version":3,"file":"configTransformers.d.ts","sourceRoot":"","sources":["../../../../../../src/core/tools/internal/adapters/helpers/configTransformers.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,SAAS,EAAE,eAAe,EAC1B,SAAS,EAAE,OAAO,CAAC,eAAe,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,EAC1D,UAAU,EAAE,MAAM,GACjB,YAAY,EAAE,CAkDhB;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,YAAY,EAAE,GAAG,MAAM,EAAE,CAYxE;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYxE"}
|
|
@@ -3,7 +3,7 @@ import { TemplateConfig } from '../instructions/templateTypes.js';
|
|
|
3
3
|
import { TagExpression } from '../../domains/preset/parsers/tagQueryParser.js';
|
|
4
4
|
import { TagQuery } from '../../domains/preset/types/presetTypes.js';
|
|
5
5
|
import type { LegacyConnectionId, LegacySdkAdapter } from '../../sdk/contracts/legacySdkAdapter.js';
|
|
6
|
-
import { ContextNamespace, EnvironmentContext, UserContext } from '../../types/context.js';
|
|
6
|
+
import { ContextNamespace, EnvironmentContext, type ProjectSet, UserContext } from '../../types/context.js';
|
|
7
7
|
/**
|
|
8
8
|
* Enum representing possible server connection states
|
|
9
9
|
*/
|
|
@@ -27,6 +27,10 @@ export interface InboundConnectionError {
|
|
|
27
27
|
readonly code?: string | number;
|
|
28
28
|
}
|
|
29
29
|
export interface InboundConnectionConfig extends TemplateConfig {
|
|
30
|
+
/** Private checkout routing identity; never accepted in client ContextData. */
|
|
31
|
+
readonly bindingId?: string;
|
|
32
|
+
/** Original validated request selector mode, before auth tags narrow visibility. */
|
|
33
|
+
readonly projectFilterMode?: 'simple-or' | 'advanced' | 'preset' | 'none';
|
|
30
34
|
readonly tags?: string[];
|
|
31
35
|
readonly tagExpression?: TagExpression;
|
|
32
36
|
readonly tagQuery?: TagQuery;
|
|
@@ -44,7 +48,9 @@ export interface InboundConnectionConfig extends TemplateConfig {
|
|
|
44
48
|
readonly canonicalSchemaProjection?: boolean;
|
|
45
49
|
readonly presetName?: string;
|
|
46
50
|
readonly context?: {
|
|
51
|
+
owner?: import('../context/projectOwner.js').ProjectOwnerCredential;
|
|
47
52
|
project?: ContextNamespace;
|
|
53
|
+
projectSet?: ProjectSet;
|
|
48
54
|
user?: UserContext;
|
|
49
55
|
environment?: EnvironmentContext;
|
|
50
56
|
timestamp?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../src/core/types/server.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,MAAM,0CAA0C,CAAC;AACpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AACnG,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../src/core/types/server.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,MAAM,0CAA0C,CAAC;AACpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AACnG,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,KAAK,UAAU,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAE3G;;GAEG;AACH,oBAAY,YAAY;IACtB,qCAAqC;IACrC,UAAU,eAAe;IACzB,uCAAuC;IACvC,SAAS,cAAc;IACvB,6BAA6B;IAC7B,YAAY,iBAAiB;IAC7B,kCAAkC;IA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