@rockcarver/frodo-lib 4.10.0 → 4.11.0-1
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/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +6 -3
- package/types/api/AgentApi.d.ts +128 -0
- package/types/api/AgentApi.d.ts.map +1 -0
- package/types/api/AmConfigApi.d.ts +87 -0
- package/types/api/AmConfigApi.d.ts.map +1 -0
- package/types/api/ApiTypes.d.ts +59 -0
- package/types/api/ApiTypes.d.ts.map +1 -0
- package/types/api/AuthenticateApi.d.ts +38 -0
- package/types/api/AuthenticateApi.d.ts.map +1 -0
- package/types/api/AuthenticationSettingsApi.d.ts +31 -0
- package/types/api/AuthenticationSettingsApi.d.ts.map +1 -0
- package/types/api/BaseApi.d.ts +190 -0
- package/types/api/BaseApi.d.ts.map +1 -0
- package/types/api/CirclesOfTrustApi.d.ts +52 -0
- package/types/api/CirclesOfTrustApi.d.ts.map +1 -0
- package/types/api/IdmConfigApi.d.ts +69 -0
- package/types/api/IdmConfigApi.d.ts.map +1 -0
- package/types/api/IdmScriptApi.d.ts +17 -0
- package/types/api/IdmScriptApi.d.ts.map +1 -0
- package/types/api/IdmSystemApi.d.ts +111 -0
- package/types/api/IdmSystemApi.d.ts.map +1 -0
- package/types/api/InternalObjectApi.d.ts +103 -0
- package/types/api/InternalObjectApi.d.ts.map +1 -0
- package/types/api/ManagedObjectApi.d.ts +252 -0
- package/types/api/ManagedObjectApi.d.ts.map +1 -0
- package/types/api/ManagedSystemObjectApi.d.ts +150 -0
- package/types/api/ManagedSystemObjectApi.d.ts.map +1 -0
- package/types/api/NodeApi.d.ts +243 -0
- package/types/api/NodeApi.d.ts.map +1 -0
- package/types/api/OAuth2ClientApi.d.ts +78 -0
- package/types/api/OAuth2ClientApi.d.ts.map +1 -0
- package/types/api/OAuth2OIDCApi.d.ts +121 -0
- package/types/api/OAuth2OIDCApi.d.ts.map +1 -0
- package/types/api/OAuth2ProviderApi.d.ts +176 -0
- package/types/api/OAuth2ProviderApi.d.ts.map +1 -0
- package/types/api/OAuth2TrustedJwtIssuerApi.d.ts +54 -0
- package/types/api/OAuth2TrustedJwtIssuerApi.d.ts.map +1 -0
- package/types/api/PoliciesApi.d.ts +60 -0
- package/types/api/PoliciesApi.d.ts.map +1 -0
- package/types/api/PolicySetApi.d.ts +52 -0
- package/types/api/PolicySetApi.d.ts.map +1 -0
- package/types/api/RawConfigApi.d.ts +75 -0
- package/types/api/RawConfigApi.d.ts.map +1 -0
- package/types/api/RealmApi.d.ts +54 -0
- package/types/api/RealmApi.d.ts.map +1 -0
- package/types/api/ReconApi.d.ts +171 -0
- package/types/api/ReconApi.d.ts.map +1 -0
- package/types/api/ResourceTypesApi.d.ts +63 -0
- package/types/api/ResourceTypesApi.d.ts.map +1 -0
- package/types/api/Saml2Api.d.ts +112 -0
- package/types/api/Saml2Api.d.ts.map +1 -0
- package/types/api/ScriptApi.d.ts +94 -0
- package/types/api/ScriptApi.d.ts.map +1 -0
- package/types/api/ScriptTypeApi.d.ts +103 -0
- package/types/api/ScriptTypeApi.d.ts.map +1 -0
- package/types/api/SecretStoreApi.d.ts +185 -0
- package/types/api/SecretStoreApi.d.ts.map +1 -0
- package/types/api/ServerInfoApi.d.ts +26 -0
- package/types/api/ServerInfoApi.d.ts.map +1 -0
- package/types/api/ServiceApi.d.ts +102 -0
- package/types/api/ServiceApi.d.ts.map +1 -0
- package/types/api/SessionApi.d.ts +23 -0
- package/types/api/SessionApi.d.ts.map +1 -0
- package/types/api/SocialIdentityProvidersApi.d.ts +89 -0
- package/types/api/SocialIdentityProvidersApi.d.ts.map +1 -0
- package/types/api/TreeApi.d.ts +62 -0
- package/types/api/TreeApi.d.ts.map +1 -0
- package/types/api/UserApi.d.ts +159 -0
- package/types/api/UserApi.d.ts.map +1 -0
- package/types/api/classic/ServerApi.d.ts +78 -0
- package/types/api/classic/ServerApi.d.ts.map +1 -0
- package/types/api/classic/SiteApi.d.ts +39 -0
- package/types/api/classic/SiteApi.d.ts.map +1 -0
- package/types/api/cloud/AdminFederationProvidersApi.d.ts +71 -0
- package/types/api/cloud/AdminFederationProvidersApi.d.ts.map +1 -0
- package/types/api/cloud/EnvAIAgentApi.d.ts +9 -0
- package/types/api/cloud/EnvAIAgentApi.d.ts.map +1 -0
- package/types/api/cloud/EnvCSRsApi.d.ts +165 -0
- package/types/api/cloud/EnvCSRsApi.d.ts.map +1 -0
- package/types/api/cloud/EnvCertificatesApi.d.ts +74 -0
- package/types/api/cloud/EnvCertificatesApi.d.ts.map +1 -0
- package/types/api/cloud/EnvContentSecurityPolicyApi.d.ts +87 -0
- package/types/api/cloud/EnvContentSecurityPolicyApi.d.ts.map +1 -0
- package/types/api/cloud/EnvCookieDomainsApi.d.ts +26 -0
- package/types/api/cloud/EnvCookieDomainsApi.d.ts.map +1 -0
- package/types/api/cloud/EnvCustomDomainsApi.d.ts +37 -0
- package/types/api/cloud/EnvCustomDomainsApi.d.ts.map +1 -0
- package/types/api/cloud/EnvDirectConfigurationSessionApi.d.ts +43 -0
- package/types/api/cloud/EnvDirectConfigurationSessionApi.d.ts.map +1 -0
- package/types/api/cloud/EnvFederationEnforcementApi.d.ts +26 -0
- package/types/api/cloud/EnvFederationEnforcementApi.d.ts.map +1 -0
- package/types/api/cloud/EnvInfoApi.d.ts +22 -0
- package/types/api/cloud/EnvInfoApi.d.ts.map +1 -0
- package/types/api/cloud/EnvPromotionApi.d.ts +218 -0
- package/types/api/cloud/EnvPromotionApi.d.ts.map +1 -0
- package/types/api/cloud/EnvReleaseApi.d.ts +16 -0
- package/types/api/cloud/EnvReleaseApi.d.ts.map +1 -0
- package/types/api/cloud/EnvSSOCookieConfigApi.d.ts +35 -0
- package/types/api/cloud/EnvSSOCookieConfigApi.d.ts.map +1 -0
- package/types/api/cloud/EnvServiceAccountScopesApi.d.ts +17 -0
- package/types/api/cloud/EnvServiceAccountScopesApi.d.ts.map +1 -0
- package/types/api/cloud/EsvCountApi.d.ts +13 -0
- package/types/api/cloud/EsvCountApi.d.ts.map +1 -0
- package/types/api/cloud/FeatureApi.d.ts +16 -0
- package/types/api/cloud/FeatureApi.d.ts.map +1 -0
- package/types/api/cloud/IdmFeatureApi.d.ts +65 -0
- package/types/api/cloud/IdmFeatureApi.d.ts.map +1 -0
- package/types/api/cloud/LogApi.d.ts +108 -0
- package/types/api/cloud/LogApi.d.ts.map +1 -0
- package/types/api/cloud/SecretsApi.d.ts +163 -0
- package/types/api/cloud/SecretsApi.d.ts.map +1 -0
- package/types/api/cloud/StartupApi.d.ts +20 -0
- package/types/api/cloud/StartupApi.d.ts.map +1 -0
- package/types/api/cloud/TelemetryApi.d.ts +60 -0
- package/types/api/cloud/TelemetryApi.d.ts.map +1 -0
- package/types/api/cloud/VariablesApi.d.ts +86 -0
- package/types/api/cloud/VariablesApi.d.ts.map +1 -0
- package/types/api/cloud/WSFedApi.d.ts +495 -0
- package/types/api/cloud/WSFedApi.d.ts.map +1 -0
- package/types/api/cloud/iga/IgaCertificationTemplateApi.d.ts +227 -0
- package/types/api/cloud/iga/IgaCertificationTemplateApi.d.ts.map +1 -0
- package/types/api/cloud/iga/IgaEventApi.d.ts +111 -0
- package/types/api/cloud/iga/IgaEventApi.d.ts.map +1 -0
- package/types/api/cloud/iga/IgaGlossaryApi.d.ts +103 -0
- package/types/api/cloud/iga/IgaGlossaryApi.d.ts.map +1 -0
- package/types/api/cloud/iga/IgaRequestFormApi.d.ts +184 -0
- package/types/api/cloud/iga/IgaRequestFormApi.d.ts.map +1 -0
- package/types/api/cloud/iga/IgaRequestTypeApi.d.ts +124 -0
- package/types/api/cloud/iga/IgaRequestTypeApi.d.ts.map +1 -0
- package/types/api/cloud/iga/IgaWorkflowApi.d.ts +208 -0
- package/types/api/cloud/iga/IgaWorkflowApi.d.ts.map +1 -0
- package/types/ext/axios-curlirize/curlirize.d.ts +14 -0
- package/types/ext/axios-curlirize/curlirize.d.ts.map +1 -0
- package/types/ext/axios-curlirize/lib/CurlHelper.d.ts +12 -0
- package/types/ext/axios-curlirize/lib/CurlHelper.d.ts.map +1 -0
- package/types/index.d.ts +11 -0
- package/types/index.d.ts.map +1 -0
- package/types/lib/FrodoLib.d.ts +407 -0
- package/types/lib/FrodoLib.d.ts.map +1 -0
- package/types/lib/Help.d.ts +18 -0
- package/types/lib/Help.d.ts.map +1 -0
- package/types/mcp/CapabilityMetadata.d.ts +48 -0
- package/types/mcp/CapabilityMetadata.d.ts.map +1 -0
- package/types/mcp/CapabilityPolicy.d.ts +22 -0
- package/types/mcp/CapabilityPolicy.d.ts.map +1 -0
- package/types/mcp/CapabilityRegistry.d.ts +62 -0
- package/types/mcp/CapabilityRegistry.d.ts.map +1 -0
- package/types/mcp/CapabilityRouting.d.ts +9 -0
- package/types/mcp/CapabilityRouting.d.ts.map +1 -0
- package/types/mcp/CapabilityTypes.d.ts +371 -0
- package/types/mcp/CapabilityTypes.d.ts.map +1 -0
- package/types/mcp/DiscoveryHydration.d.ts +21 -0
- package/types/mcp/DiscoveryHydration.d.ts.map +1 -0
- package/types/mcp/DocsContext.d.ts +123 -0
- package/types/mcp/DocsContext.d.ts.map +1 -0
- package/types/mcp/McpService.d.ts +94 -0
- package/types/mcp/McpService.d.ts.map +1 -0
- package/types/mcp/ProfileRegistry.d.ts +63 -0
- package/types/mcp/ProfileRegistry.d.ts.map +1 -0
- package/types/mcp/SemanticIdentifiers.d.ts +17 -0
- package/types/mcp/SemanticIdentifiers.d.ts.map +1 -0
- package/types/mcp/SemanticObjectFamilies.d.ts +24 -0
- package/types/mcp/SemanticObjectFamilies.d.ts.map +1 -0
- package/types/mcp/ToolManifest.d.ts +231 -0
- package/types/mcp/ToolManifest.d.ts.map +1 -0
- package/types/mcp/ToolRuntime.d.ts +477 -0
- package/types/mcp/ToolRuntime.d.ts.map +1 -0
- package/types/mcp/index.d.ts +20 -0
- package/types/mcp/index.d.ts.map +1 -0
- package/types/ops/AdminOps.d.ts +85 -0
- package/types/ops/AdminOps.d.ts.map +1 -0
- package/types/ops/AgentOps.d.ts +938 -0
- package/types/ops/AgentOps.d.ts.map +1 -0
- package/types/ops/AmConfigOps.d.ts +96 -0
- package/types/ops/AmConfigOps.d.ts.map +1 -0
- package/types/ops/ApiFactoryOps.d.ts +77 -0
- package/types/ops/ApiFactoryOps.d.ts.map +1 -0
- package/types/ops/ApplicationOps.d.ts +334 -0
- package/types/ops/ApplicationOps.d.ts.map +1 -0
- package/types/ops/AuthenticateOps.d.ts +196 -0
- package/types/ops/AuthenticateOps.d.ts.map +1 -0
- package/types/ops/AuthenticationSettingsOps.d.ts +78 -0
- package/types/ops/AuthenticationSettingsOps.d.ts.map +1 -0
- package/types/ops/BrowserAuthenticateOps.d.ts +188 -0
- package/types/ops/BrowserAuthenticateOps.d.ts.map +1 -0
- package/types/ops/CallbackOps.d.ts +27 -0
- package/types/ops/CallbackOps.d.ts.map +1 -0
- package/types/ops/CallerTrustTierOps.d.ts +103 -0
- package/types/ops/CallerTrustTierOps.d.ts.map +1 -0
- package/types/ops/CirclesOfTrustOps.d.ts +203 -0
- package/types/ops/CirclesOfTrustOps.d.ts.map +1 -0
- package/types/ops/ConfigOps.d.ts +214 -0
- package/types/ops/ConfigOps.d.ts.map +1 -0
- package/types/ops/ConnectionProfileOps.d.ts +346 -0
- package/types/ops/ConnectionProfileOps.d.ts.map +1 -0
- package/types/ops/ConnectorOps.d.ts +269 -0
- package/types/ops/ConnectorOps.d.ts.map +1 -0
- package/types/ops/EmailTemplateOps.d.ts +160 -0
- package/types/ops/EmailTemplateOps.d.ts.map +1 -0
- package/types/ops/FrodoError.d.ts +40 -0
- package/types/ops/FrodoError.d.ts.map +1 -0
- package/types/ops/IdmConfigOps.d.ts +286 -0
- package/types/ops/IdmConfigOps.d.ts.map +1 -0
- package/types/ops/IdmCryptoOps.d.ts +68 -0
- package/types/ops/IdmCryptoOps.d.ts.map +1 -0
- package/types/ops/IdmScriptOps.d.ts +29 -0
- package/types/ops/IdmScriptOps.d.ts.map +1 -0
- package/types/ops/IdmSystemOps.d.ts +198 -0
- package/types/ops/IdmSystemOps.d.ts.map +1 -0
- package/types/ops/IdpOps.d.ts +234 -0
- package/types/ops/IdpOps.d.ts.map +1 -0
- package/types/ops/InfoOps.d.ts +28 -0
- package/types/ops/InfoOps.d.ts.map +1 -0
- package/types/ops/InternalRoleOps.d.ts +232 -0
- package/types/ops/InternalRoleOps.d.ts.map +1 -0
- package/types/ops/JoseOps.d.ts +87 -0
- package/types/ops/JoseOps.d.ts.map +1 -0
- package/types/ops/JourneyOps.d.ts +573 -0
- package/types/ops/JourneyOps.d.ts.map +1 -0
- package/types/ops/ManagedObjectOps.d.ts +393 -0
- package/types/ops/ManagedObjectOps.d.ts.map +1 -0
- package/types/ops/ManagedObjectSchemaOps.d.ts +757 -0
- package/types/ops/ManagedObjectSchemaOps.d.ts.map +1 -0
- package/types/ops/ManagedSystemObjectOps.d.ts +270 -0
- package/types/ops/ManagedSystemObjectOps.d.ts.map +1 -0
- package/types/ops/ManagedSystemObjectSchemaOps.d.ts +42 -0
- package/types/ops/ManagedSystemObjectSchemaOps.d.ts.map +1 -0
- package/types/ops/MappingOps.d.ts +332 -0
- package/types/ops/MappingOps.d.ts.map +1 -0
- package/types/ops/NodeOps.d.ts +627 -0
- package/types/ops/NodeOps.d.ts.map +1 -0
- package/types/ops/OAuth2ClientOps.d.ts +235 -0
- package/types/ops/OAuth2ClientOps.d.ts.map +1 -0
- package/types/ops/OAuth2OidcOps.d.ts +64 -0
- package/types/ops/OAuth2OidcOps.d.ts.map +1 -0
- package/types/ops/OAuth2ProviderOps.d.ts +57 -0
- package/types/ops/OAuth2ProviderOps.d.ts.map +1 -0
- package/types/ops/OAuth2TrustedJwtIssuerOps.d.ts +223 -0
- package/types/ops/OAuth2TrustedJwtIssuerOps.d.ts.map +1 -0
- package/types/ops/OpsTypes.d.ts +12 -0
- package/types/ops/OpsTypes.d.ts.map +1 -0
- package/types/ops/OrganizationOps.d.ts +34 -0
- package/types/ops/OrganizationOps.d.ts.map +1 -0
- package/types/ops/PolicyOps.d.ts +294 -0
- package/types/ops/PolicyOps.d.ts.map +1 -0
- package/types/ops/PolicySetOps.d.ts +195 -0
- package/types/ops/PolicySetOps.d.ts.map +1 -0
- package/types/ops/PrivilegeEscalationOps.d.ts +51 -0
- package/types/ops/PrivilegeEscalationOps.d.ts.map +1 -0
- package/types/ops/RawConfigOps.d.ts +67 -0
- package/types/ops/RawConfigOps.d.ts.map +1 -0
- package/types/ops/RealmOps.d.ts +196 -0
- package/types/ops/RealmOps.d.ts.map +1 -0
- package/types/ops/ReconOps.d.ts +57 -0
- package/types/ops/ReconOps.d.ts.map +1 -0
- package/types/ops/RequiredScopesOps.d.ts +69 -0
- package/types/ops/RequiredScopesOps.d.ts.map +1 -0
- package/types/ops/ResourceTypeOps.d.ts +219 -0
- package/types/ops/ResourceTypeOps.d.ts.map +1 -0
- package/types/ops/Saml2Ops.d.ts +261 -0
- package/types/ops/Saml2Ops.d.ts.map +1 -0
- package/types/ops/ScriptOps.d.ts +426 -0
- package/types/ops/ScriptOps.d.ts.map +1 -0
- package/types/ops/ScriptTypeOps.d.ts +124 -0
- package/types/ops/ScriptTypeOps.d.ts.map +1 -0
- package/types/ops/SecretStoreOps.d.ts +357 -0
- package/types/ops/SecretStoreOps.d.ts.map +1 -0
- package/types/ops/ServiceOps.d.ts +194 -0
- package/types/ops/ServiceOps.d.ts.map +1 -0
- package/types/ops/SessionOps.d.ts +22 -0
- package/types/ops/SessionOps.d.ts.map +1 -0
- package/types/ops/ThemeOps.d.ts +245 -0
- package/types/ops/ThemeOps.d.ts.map +1 -0
- package/types/ops/TokenCacheOps.d.ts +243 -0
- package/types/ops/TokenCacheOps.d.ts.map +1 -0
- package/types/ops/UserOps.d.ts +199 -0
- package/types/ops/UserOps.d.ts.map +1 -0
- package/types/ops/VersionUtils.d.ts +29 -0
- package/types/ops/VersionUtils.d.ts.map +1 -0
- package/types/ops/classic/ServerOps.d.ts +195 -0
- package/types/ops/classic/ServerOps.d.ts.map +1 -0
- package/types/ops/classic/SiteOps.d.ts +117 -0
- package/types/ops/classic/SiteOps.d.ts.map +1 -0
- package/types/ops/cloud/AdminFederationOps.d.ts +165 -0
- package/types/ops/cloud/AdminFederationOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvAIAgentOps.d.ts +18 -0
- package/types/ops/cloud/EnvAIAgentOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvCSRsOps.d.ts +86 -0
- package/types/ops/cloud/EnvCSRsOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvCertificatesOps.d.ts +140 -0
- package/types/ops/cloud/EnvCertificatesOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvContentSecurityPolicyOps.d.ts +101 -0
- package/types/ops/cloud/EnvContentSecurityPolicyOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvCookieDomainsOps.d.ts +36 -0
- package/types/ops/cloud/EnvCookieDomainsOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvCustomDomainsOps.d.ts +53 -0
- package/types/ops/cloud/EnvCustomDomainsOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvDirectConfigurationSessionOps.d.ts +55 -0
- package/types/ops/cloud/EnvDirectConfigurationSessionOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvFederationEnforcementOps.d.ts +58 -0
- package/types/ops/cloud/EnvFederationEnforcementOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvPromotionOps.d.ts +175 -0
- package/types/ops/cloud/EnvPromotionOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvReleaseOps.d.ts +19 -0
- package/types/ops/cloud/EnvReleaseOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvSSOCookieConfigOps.d.ts +50 -0
- package/types/ops/cloud/EnvSSOCookieConfigOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvServiceAccountScopesOps.d.ts +21 -0
- package/types/ops/cloud/EnvServiceAccountScopesOps.d.ts.map +1 -0
- package/types/ops/cloud/EsvCountOps.d.ts +15 -0
- package/types/ops/cloud/EsvCountOps.d.ts.map +1 -0
- package/types/ops/cloud/FeatureOps.d.ts +34 -0
- package/types/ops/cloud/FeatureOps.d.ts.map +1 -0
- package/types/ops/cloud/IdmFeatureOps.d.ts +78 -0
- package/types/ops/cloud/IdmFeatureOps.d.ts.map +1 -0
- package/types/ops/cloud/LogOps.d.ts +271 -0
- package/types/ops/cloud/LogOps.d.ts.map +1 -0
- package/types/ops/cloud/SecretsOps.d.ts +306 -0
- package/types/ops/cloud/SecretsOps.d.ts.map +1 -0
- package/types/ops/cloud/ServiceAccountOps.d.ts +86 -0
- package/types/ops/cloud/ServiceAccountOps.d.ts.map +1 -0
- package/types/ops/cloud/StartupOps.d.ts +62 -0
- package/types/ops/cloud/StartupOps.d.ts.map +1 -0
- package/types/ops/cloud/TelemetryOps.d.ts +109 -0
- package/types/ops/cloud/TelemetryOps.d.ts.map +1 -0
- package/types/ops/cloud/VariablesOps.d.ts +224 -0
- package/types/ops/cloud/VariablesOps.d.ts.map +1 -0
- package/types/ops/cloud/WSFedOps.d.ts +412 -0
- package/types/ops/cloud/WSFedOps.d.ts.map +1 -0
- package/types/ops/cloud/iga/IgaCertificationTemplateOps.d.ts +261 -0
- package/types/ops/cloud/iga/IgaCertificationTemplateOps.d.ts.map +1 -0
- package/types/ops/cloud/iga/IgaEventOps.d.ts +242 -0
- package/types/ops/cloud/iga/IgaEventOps.d.ts.map +1 -0
- package/types/ops/cloud/iga/IgaGlossaryOps.d.ts +241 -0
- package/types/ops/cloud/iga/IgaGlossaryOps.d.ts.map +1 -0
- package/types/ops/cloud/iga/IgaRequestFormOps.d.ts +259 -0
- package/types/ops/cloud/iga/IgaRequestFormOps.d.ts.map +1 -0
- package/types/ops/cloud/iga/IgaRequestTypeOps.d.ts +240 -0
- package/types/ops/cloud/iga/IgaRequestTypeOps.d.ts.map +1 -0
- package/types/ops/cloud/iga/IgaWorkflowOps.d.ts +334 -0
- package/types/ops/cloud/iga/IgaWorkflowOps.d.ts.map +1 -0
- package/types/ops/internal/RelationshipHelpers.d.ts +111 -0
- package/types/ops/internal/RelationshipHelpers.d.ts.map +1 -0
- package/types/shared/Constants.d.ts +100 -0
- package/types/shared/Constants.d.ts.map +1 -0
- package/types/shared/OperationType.d.ts +14 -0
- package/types/shared/OperationType.d.ts.map +1 -0
- package/types/shared/State.d.ts +355 -0
- package/types/shared/State.d.ts.map +1 -0
- package/types/shared/Version.d.ts +16 -0
- package/types/shared/Version.d.ts.map +1 -0
- package/types/test/mocks/ForgeRockApiMockEngine.d.ts +38 -0
- package/types/test/mocks/ForgeRockApiMockEngine.d.ts.map +1 -0
- package/types/test/setup/EmailTemplateSetup.d.ts +8 -0
- package/types/test/setup/EmailTemplateSetup.d.ts.map +1 -0
- package/types/test/setup/IgaCertificationTemplateSetup.d.ts +12 -0
- package/types/test/setup/IgaCertificationTemplateSetup.d.ts.map +1 -0
- package/types/test/setup/IgaEventSetup.d.ts +22 -0
- package/types/test/setup/IgaEventSetup.d.ts.map +1 -0
- package/types/test/setup/IgaGlossarySetup.d.ts +11 -0
- package/types/test/setup/IgaGlossarySetup.d.ts.map +1 -0
- package/types/test/setup/IgaRequestFormSetup.d.ts +42 -0
- package/types/test/setup/IgaRequestFormSetup.d.ts.map +1 -0
- package/types/test/setup/IgaRequestTypeSetup.d.ts +10 -0
- package/types/test/setup/IgaRequestTypeSetup.d.ts.map +1 -0
- package/types/test/setup/IgaWorkflowSetup.d.ts +32 -0
- package/types/test/setup/IgaWorkflowSetup.d.ts.map +1 -0
- package/types/test/setup/JourneySetup.d.ts +18 -0
- package/types/test/setup/JourneySetup.d.ts.map +1 -0
- package/types/test/setup/NodeSetup.d.ts +14 -0
- package/types/test/setup/NodeSetup.d.ts.map +1 -0
- package/types/test/setup/RawConfigSetup.d.ts +2 -0
- package/types/test/setup/RawConfigSetup.d.ts.map +1 -0
- package/types/test/setup/SecretSetup.d.ts +69 -0
- package/types/test/setup/SecretSetup.d.ts.map +1 -0
- package/types/test/setup/StartupSetup.d.ts +2 -0
- package/types/test/setup/StartupSetup.d.ts.map +1 -0
- package/types/test/setup/TelemetrySetup.d.ts +8 -0
- package/types/test/setup/TelemetrySetup.d.ts.map +1 -0
- package/types/test/setup/VariablesSetup.d.ts +27 -0
- package/types/test/setup/VariablesSetup.d.ts.map +1 -0
- package/types/test/utils/TestUtils.d.ts +15 -0
- package/types/test/utils/TestUtils.d.ts.map +1 -0
- package/types/utils/AsyncUtils.d.ts +14 -0
- package/types/utils/AsyncUtils.d.ts.map +1 -0
- package/types/utils/AutoSetupPolly.d.ts +25 -0
- package/types/utils/AutoSetupPolly.d.ts.map +1 -0
- package/types/utils/Base64Utils.d.ts +41 -0
- package/types/utils/Base64Utils.d.ts.map +1 -0
- package/types/utils/ColorTheme.d.ts +40 -0
- package/types/utils/ColorTheme.d.ts.map +1 -0
- package/types/utils/Console.d.ts +110 -0
- package/types/utils/Console.d.ts.map +1 -0
- package/types/utils/CryptoUtils.d.ts +35 -0
- package/types/utils/CryptoUtils.d.ts.map +1 -0
- package/types/utils/DataProtection.d.ts +24 -0
- package/types/utils/DataProtection.d.ts.map +1 -0
- package/types/utils/ExportImportUtils.d.ts +415 -0
- package/types/utils/ExportImportUtils.d.ts.map +1 -0
- package/types/utils/ForgeRockUtils.d.ts +122 -0
- package/types/utils/ForgeRockUtils.d.ts.map +1 -0
- package/types/utils/FrodoNodeHttpAdapter.d.ts +5 -0
- package/types/utils/FrodoNodeHttpAdapter.d.ts.map +1 -0
- package/types/utils/FrodoUtils.d.ts +15 -0
- package/types/utils/FrodoUtils.d.ts.map +1 -0
- package/types/utils/HelpUtils.d.ts +19 -0
- package/types/utils/HelpUtils.d.ts.map +1 -0
- package/types/utils/JsonUtils.d.ts +105 -0
- package/types/utils/JsonUtils.d.ts.map +1 -0
- package/types/utils/JwtUtils.d.ts +19 -0
- package/types/utils/JwtUtils.d.ts.map +1 -0
- package/types/utils/PkceUtils.d.ts +17 -0
- package/types/utils/PkceUtils.d.ts.map +1 -0
- package/types/utils/PollyUtils.d.ts +65 -0
- package/types/utils/PollyUtils.d.ts.map +1 -0
- package/types/utils/ScriptValidationUtils.d.ts +38 -0
- package/types/utils/ScriptValidationUtils.d.ts.map +1 -0
- package/types/utils/SemverUtils.d.ts +61 -0
- package/types/utils/SemverUtils.d.ts.map +1 -0
- package/types/utils/SetupPollyForFrodoLib.d.ts +7 -0
- package/types/utils/SetupPollyForFrodoLib.d.ts.map +1 -0
- package/types/utils/TerminalBackgroundDetection.d.ts +48 -0
- package/types/utils/TerminalBackgroundDetection.d.ts.map +1 -0
- package/types/utils/TerminalContrast.d.ts +44 -0
- package/types/utils/TerminalContrast.d.ts.map +1 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Subject-oriented MCP profile registry.
|
|
3
|
+
*
|
|
4
|
+
* @remarks
|
|
5
|
+
* This is the single source of truth for profile names, human-readable profile
|
|
6
|
+
* descriptions, and subtree mappings used by MCP surface selection.
|
|
7
|
+
*
|
|
8
|
+
* `all` is derived dynamically from the non-disabled profile universe.
|
|
9
|
+
*/
|
|
10
|
+
import { McpCapabilityDescriptor, McpCapabilityInventoryOptions, McpCapabilityPolicy, McpCapabilityPolicyPresetName } from './CapabilityTypes';
|
|
11
|
+
export type McpProfileName = 'all' | 'authentication' | 'journey-dev' | 'authorization' | 'federation' | 'iga' | 'apps' | 'managed-objects' | 'platform-admin' | 'self-service' | 'disabled';
|
|
12
|
+
export type McpProfileDefinition = {
|
|
13
|
+
name: McpProfileName;
|
|
14
|
+
description: string;
|
|
15
|
+
/** Prefixes in FrodoLib object-graph terms, e.g. `oauth2oidc` or `authn.journey`. */
|
|
16
|
+
includePathPrefixes?: string[];
|
|
17
|
+
/** Internal exclusion prefixes that are never exposed by any profile. */
|
|
18
|
+
excludePathPrefixes?: string[];
|
|
19
|
+
/** Optional default policy posture for the profile. */
|
|
20
|
+
policyPreset?: McpCapabilityPolicyPresetName;
|
|
21
|
+
/**
|
|
22
|
+
* Optional additional policy fields merged into this profile's derived
|
|
23
|
+
* overlay (alongside the `includePathPrefixes`-derived allow/deny path
|
|
24
|
+
* rules) — e.g. `self-service`'s `denyTrustTiers`, a cross-cutting
|
|
25
|
+
* restriction that isn't naturally expressed as a subject-area path
|
|
26
|
+
* prefix.
|
|
27
|
+
*/
|
|
28
|
+
policyOverride?: Partial<McpCapabilityPolicy>;
|
|
29
|
+
/** Hidden/internal profile entries should not be shown in user-facing lists. */
|
|
30
|
+
hidden?: boolean;
|
|
31
|
+
/** True for the derived `all` profile. */
|
|
32
|
+
derived?: boolean;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Returns a stable list of user-facing profiles plus derived `all`.
|
|
36
|
+
*/
|
|
37
|
+
export declare function listMcpProfiles(): McpProfileDefinition[];
|
|
38
|
+
/**
|
|
39
|
+
* Returns a stable list of all profile definitions, including hidden/internal ones.
|
|
40
|
+
*/
|
|
41
|
+
export declare function listAllMcpProfiles(): McpProfileDefinition[];
|
|
42
|
+
/**
|
|
43
|
+
* Returns a single profile definition by name.
|
|
44
|
+
*/
|
|
45
|
+
export declare function getMcpProfileDefinition(name: McpProfileName): McpProfileDefinition;
|
|
46
|
+
/**
|
|
47
|
+
* Creates a profile-scoped policy overlay and inventory scope for service composition.
|
|
48
|
+
*/
|
|
49
|
+
export declare function resolveMcpProfileSelection(name: McpProfileName): {
|
|
50
|
+
profile: McpProfileDefinition;
|
|
51
|
+
inventoryOptions?: McpCapabilityInventoryOptions;
|
|
52
|
+
policyOverride?: Partial<McpCapabilityPolicy>;
|
|
53
|
+
policyPreset?: McpCapabilityPolicyPresetName;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Returns true if the capability matches any known profile prefix.
|
|
57
|
+
*/
|
|
58
|
+
export declare function capabilityMatchesAnyProfile(capability: McpCapabilityDescriptor): boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Returns true if the capability is explicitly disabled.
|
|
61
|
+
*/
|
|
62
|
+
export declare function capabilityMatchesDisabled(capability: McpCapabilityDescriptor): boolean;
|
|
63
|
+
//# sourceMappingURL=ProfileRegistry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProfileRegistry.d.ts","sourceRoot":"","sources":["../../src/mcp/ProfileRegistry.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EACL,uBAAuB,EACvB,6BAA6B,EAC7B,mBAAmB,EACnB,6BAA6B,EAC9B,MAAM,mBAAmB,CAAC;AAE3B,MAAM,MAAM,cAAc,GACtB,KAAK,GACL,gBAAgB,GAChB,aAAa,GACb,eAAe,GACf,YAAY,GACZ,KAAK,GACL,MAAM,GACN,iBAAiB,GACjB,gBAAgB,GAChB,cAAc,GACd,UAAU,CAAC;AAEf,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,cAAc,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,qFAAqF;IACrF,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,yEAAyE;IACzE,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,uDAAuD;IACvD,YAAY,CAAC,EAAE,6BAA6B,CAAC;IAC7C;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAC9C,gFAAgF;IAChF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,0CAA0C;IAC1C,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAiIF;;GAEG;AACH,wBAAgB,eAAe,IAAI,oBAAoB,EAAE,CAYxD;AAED;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,oBAAoB,EAAE,CAM3D;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,cAAc,GACnB,oBAAoB,CAWtB;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,cAAc,GAAG;IAChE,OAAO,EAAE,oBAAoB,CAAC;IAC9B,gBAAgB,CAAC,EAAE,6BAA6B,CAAC;IACjD,cAAc,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAC9C,YAAY,CAAC,EAAE,6BAA6B,CAAC;CAC9C,CA+BA;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,uBAAuB,GAClC,OAAO,CAKT;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,uBAAuB,GAClC,OAAO,CAKT"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const MCP_SEMANTIC_TERM_SYNONYMS: Readonly<Record<string, string>>;
|
|
2
|
+
/**
|
|
3
|
+
* Converts a technical identifier or natural-language phrase into canonical
|
|
4
|
+
* semantic terms while preserving enough structure for catalog matching.
|
|
5
|
+
*/
|
|
6
|
+
export declare function normalizeSemanticIdentifier(value: string): string[];
|
|
7
|
+
export type McpSemanticIdentifierMatch = {
|
|
8
|
+
identifier: string;
|
|
9
|
+
matchedTerms: string[];
|
|
10
|
+
score: number;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Ranks live catalog identifiers against one or more semantic phrases and
|
|
14
|
+
* returns every identifier tied for the best positive score.
|
|
15
|
+
*/
|
|
16
|
+
export declare function matchSemanticIdentifiers(phrases: readonly string[], identifiers: readonly string[]): McpSemanticIdentifierMatch[];
|
|
17
|
+
//# sourceMappingURL=SemanticIdentifiers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SemanticIdentifiers.d.ts","sourceRoot":"","sources":["../../src/mcp/SemanticIdentifiers.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAEvE,CAAC;AAEF;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAgBnE;AAED,MAAM,MAAM,0BAA0B,GAAG;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;GAGG;AACH,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,SAAS,MAAM,EAAE,EAC1B,WAAW,EAAE,SAAS,MAAM,EAAE,GAC7B,0BAA0B,EAAE,CA8B9B"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const MCP_SEMANTIC_OBJECT_SYNONYMS: Readonly<Record<string, string>>;
|
|
2
|
+
export declare const MCP_AMBIGUOUS_OBJECT_CONCEPTS: Readonly<Record<string, readonly string[]>>;
|
|
3
|
+
export type McpSemanticObjectFamily = string;
|
|
4
|
+
export type McpManagedObjectFamilyMatch = {
|
|
5
|
+
family: McpSemanticObjectFamily;
|
|
6
|
+
type: string;
|
|
7
|
+
realm?: string;
|
|
8
|
+
};
|
|
9
|
+
export type McpSemanticObjectFamilyResolution = {
|
|
10
|
+
status: 'resolved';
|
|
11
|
+
family: McpSemanticObjectFamily;
|
|
12
|
+
} | {
|
|
13
|
+
status: 'ambiguous';
|
|
14
|
+
candidates: McpSemanticObjectFamily[];
|
|
15
|
+
} | {
|
|
16
|
+
status: 'unresolved';
|
|
17
|
+
candidates: McpSemanticObjectFamily[];
|
|
18
|
+
};
|
|
19
|
+
export declare function normalizeSemanticObjectFamily(value: string): string;
|
|
20
|
+
export declare function discoverManagedObjectFamilies(managedObjectTypes: readonly string[]): McpSemanticObjectFamily[];
|
|
21
|
+
export declare function resolveSemanticObjectFamily(value: string | undefined, managedObjectTypes?: readonly string[]): McpSemanticObjectFamilyResolution;
|
|
22
|
+
export declare function matchManagedObjectFamily(type: string, family: McpSemanticObjectFamily): McpManagedObjectFamilyMatch | undefined;
|
|
23
|
+
export declare function descriptorPatternsSupportFamily(patterns: readonly string[] | undefined, family: McpSemanticObjectFamily): boolean;
|
|
24
|
+
//# sourceMappingURL=SemanticObject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AAM,EAAE,GAAG,SAAS,EACvC,MAAM,EAAE,uBAAuB,GAC9B,OAAO,CAST"}
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts a flat capability inventory into the reduced MCP tool surface.
|
|
3
|
+
*
|
|
4
|
+
* @remarks
|
|
5
|
+
* The manifest layer is the bridge between the registry (one descriptor per
|
|
6
|
+
* Frodo method) and the MCP runtime (one registered tool per unique operation
|
|
7
|
+
* category). Generic CRUDS-style tools accept `domain` and `objectType`
|
|
8
|
+
* parameters so the full breadth of the library is reachable via a small,
|
|
9
|
+
* stable set of tool names.
|
|
10
|
+
*
|
|
11
|
+
* A built-in discovery tool is always present in every manifest, enabling
|
|
12
|
+
* agents to introspect the available operation space without requiring
|
|
13
|
+
* out-of-band documentation.
|
|
14
|
+
*
|
|
15
|
+
* Typical usage:
|
|
16
|
+
* ```typescript
|
|
17
|
+
* const inventory = buildCapabilityInventory(frodo);
|
|
18
|
+
* const filtered = applyCapabilityPolicy(inventory, MCP_POLICY_PRESETS['standard']);
|
|
19
|
+
* const manifest = buildToolManifest(filtered);
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
import { McpCapabilityArgumentMode, McpCapabilityDescriptor, McpCapabilityOperationType, McpCapabilityParameter, McpCapabilityRiskClass, McpDeploymentType, McpIdentitySurface, McpToolAnnotations } from './CapabilityTypes';
|
|
23
|
+
/** Fixed tool name for the built-in introspection/discovery tool. */
|
|
24
|
+
declare const DISCOVERY_TOOL_NAME: "frodo_discover";
|
|
25
|
+
declare const FIND_SKILLS_TOOL_NAME: "frodo_find_skills";
|
|
26
|
+
declare const DESCRIBE_SKILL_TOOL_NAME: "frodo_describe_skill";
|
|
27
|
+
declare const DISPATCH_READ_ONLY_TOOL_NAME: "frodo_dispatch_read_only";
|
|
28
|
+
declare const DISPATCH_TOOL_NAME: "frodo_dispatch";
|
|
29
|
+
/**
|
|
30
|
+
* One `(domain, objectType)` combination supported by a generic tool.
|
|
31
|
+
* Each entry corresponds to exactly one backing capability descriptor.
|
|
32
|
+
*/
|
|
33
|
+
export type McpObjectTypeEntry = {
|
|
34
|
+
/** Domain key the object type lives in, e.g. `'authn'`. */
|
|
35
|
+
domain: string;
|
|
36
|
+
/** Singular PascalCase object type label, e.g. `'Journey'`. */
|
|
37
|
+
objectType: string;
|
|
38
|
+
/** Id of the source {@link McpCapabilityDescriptor} that backs this entry. */
|
|
39
|
+
descriptorId: string;
|
|
40
|
+
/** Backing Frodo method name. */
|
|
41
|
+
methodName: string;
|
|
42
|
+
/** Dot-path source id of the backing descriptor. */
|
|
43
|
+
sourcePath: string;
|
|
44
|
+
/** MCP-facing argument mode for this entry. */
|
|
45
|
+
argumentMode?: McpCapabilityArgumentMode;
|
|
46
|
+
/** Optional parameter metadata for discovery and validation. */
|
|
47
|
+
parameters?: McpCapabilityParameter[];
|
|
48
|
+
/** Optional scope selector used to distinguish single vs bulk semantics. */
|
|
49
|
+
scope?: string;
|
|
50
|
+
/** Whether realm override is supported for this entry. */
|
|
51
|
+
supportsRealm?: boolean;
|
|
52
|
+
/** Whether paging hints are supported for this entry. */
|
|
53
|
+
supportsPaging?: boolean;
|
|
54
|
+
/** Whether includeTotal hints are supported for this entry. */
|
|
55
|
+
supportsIncludeTotal?: boolean;
|
|
56
|
+
/** Optional human-readable notes for agents. */
|
|
57
|
+
notes?: string;
|
|
58
|
+
/** Deployment families where this operation is functional. */
|
|
59
|
+
deploymentTypes: McpDeploymentType[];
|
|
60
|
+
/** Deployment families where this operation is preferred. */
|
|
61
|
+
preferredDeploymentTypes?: McpDeploymentType[];
|
|
62
|
+
/** Identity data surface used by this operation. */
|
|
63
|
+
identitySurface?: McpIdentitySurface;
|
|
64
|
+
/** Managed-object type patterns associated with this operation. */
|
|
65
|
+
objectTypePatterns?: string[];
|
|
66
|
+
/** Risk class of the backing descriptor. */
|
|
67
|
+
riskClass: McpCapabilityRiskClass;
|
|
68
|
+
/** MCP annotations from the backing descriptor. */
|
|
69
|
+
annotations: McpToolAnnotations;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Rich discovery detail for one concrete `(domain, objectType, operation)` path.
|
|
73
|
+
*/
|
|
74
|
+
export type McpDiscoveryOperationDetail = {
|
|
75
|
+
toolName: string;
|
|
76
|
+
operationType: McpCapabilityOperationType;
|
|
77
|
+
domain: string;
|
|
78
|
+
objectType: string;
|
|
79
|
+
descriptorId: string;
|
|
80
|
+
methodName: string;
|
|
81
|
+
sourcePath: string;
|
|
82
|
+
argumentMode?: McpCapabilityArgumentMode;
|
|
83
|
+
parameters?: McpCapabilityParameter[];
|
|
84
|
+
scope?: string;
|
|
85
|
+
supportsRealm?: boolean;
|
|
86
|
+
supportsPaging?: boolean;
|
|
87
|
+
supportsIncludeTotal?: boolean;
|
|
88
|
+
deploymentTypes: McpDeploymentType[];
|
|
89
|
+
preferredDeploymentTypes?: McpDeploymentType[];
|
|
90
|
+
identitySurface?: McpIdentitySurface;
|
|
91
|
+
objectTypePatterns?: string[];
|
|
92
|
+
notes?: string;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Explicit per-object operation support matrix for agent planning.
|
|
96
|
+
* This allows clients to see both supported and unsupported generic
|
|
97
|
+
* operations (for example, that `authn.Journey` can be read/listed/exported
|
|
98
|
+
* but is not searchable).
|
|
99
|
+
*/
|
|
100
|
+
export type McpDiscoveryObjectTypeSupport = {
|
|
101
|
+
domain: string;
|
|
102
|
+
objectType: string;
|
|
103
|
+
supportedOperations: McpCapabilityOperationType[];
|
|
104
|
+
unsupportedOperations: McpCapabilityOperationType[];
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* A single generic CRUDS-style tool in the manifest, parameterized by
|
|
108
|
+
* `domain` and `objectType`. Many source descriptors collapse into one tool.
|
|
109
|
+
*/
|
|
110
|
+
export type McpGenericTool = {
|
|
111
|
+
/** Stable MCP tool name, e.g. `'frodo_read'`. */
|
|
112
|
+
toolName: string;
|
|
113
|
+
/** Operation type this tool executes. */
|
|
114
|
+
operationType: McpCapabilityOperationType;
|
|
115
|
+
/** Description suitable for MCP tool registration and model guidance. */
|
|
116
|
+
description: string;
|
|
117
|
+
/**
|
|
118
|
+
* Conservative union of MCP annotations across all backed capabilities.
|
|
119
|
+
* - `readOnlyHint`: `true` only when every backed capability is read-only.
|
|
120
|
+
* - `destructiveHint`: `true` if any backed capability is destructive.
|
|
121
|
+
* - `idempotentHint`: `true` only when every backed capability is idempotent.
|
|
122
|
+
* - `openWorldHint`: always `false`.
|
|
123
|
+
*/
|
|
124
|
+
annotations: McpToolAnnotations;
|
|
125
|
+
/** Highest risk class present across all backed capabilities. */
|
|
126
|
+
riskClass: McpCapabilityRiskClass;
|
|
127
|
+
/** All `(domain, objectType)` pairs reachable through this tool. */
|
|
128
|
+
supportedObjectTypes: McpObjectTypeEntry[];
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* Entry for the built-in introspection tool.
|
|
132
|
+
* Agents can invoke this to learn what object types and operations are
|
|
133
|
+
* available without requiring external documentation.
|
|
134
|
+
*/
|
|
135
|
+
export type McpDiscoveryEntry = {
|
|
136
|
+
/** Fixed tool name — always `'frodo_discover'`. */
|
|
137
|
+
toolName: typeof DISCOVERY_TOOL_NAME;
|
|
138
|
+
/** Description for MCP tool registration. */
|
|
139
|
+
description: string;
|
|
140
|
+
/** Deployment type resolved for this request, when available. */
|
|
141
|
+
activeDeploymentType?: McpDeploymentType;
|
|
142
|
+
/** Sanitized active MCP target, when supplied by the transport. */
|
|
143
|
+
activeTarget?: McpDiscoveryTarget;
|
|
144
|
+
/** Number of tenant managed-object types available to semantic discovery. */
|
|
145
|
+
managedObjectTypeCount?: number;
|
|
146
|
+
/** Whether tenant managed-object type hydration completed successfully. */
|
|
147
|
+
managedObjectHydrationStatus?: McpManagedObjectHydrationStatus;
|
|
148
|
+
/** Number of tenant config entity IDs available to semantic discovery. */
|
|
149
|
+
configEntityIdCount?: number;
|
|
150
|
+
/** Whether tenant config entity hydration completed successfully. */
|
|
151
|
+
configEntityHydrationStatus?: McpCatalogHydrationStatus;
|
|
152
|
+
/** Sorted list of all domain keys present in the manifest. */
|
|
153
|
+
domains: string[];
|
|
154
|
+
/**
|
|
155
|
+
* Mapping from domain key to the sorted list of object type labels that
|
|
156
|
+
* are reachable within that domain through generic tools.
|
|
157
|
+
*/
|
|
158
|
+
objectTypesByDomain: Record<string, string[]>;
|
|
159
|
+
/**
|
|
160
|
+
* Mapping from operation type to sorted `"domain.ObjectType"` strings,
|
|
161
|
+
* listing every `(domain, objectType)` pair that supports that operation.
|
|
162
|
+
*/
|
|
163
|
+
operationsByType: Partial<Record<McpCapabilityOperationType, string[]>>;
|
|
164
|
+
/**
|
|
165
|
+
* Rich per-operation details for agent planning, including argument contracts
|
|
166
|
+
* and scope selectors for ambiguous generic operations.
|
|
167
|
+
*/
|
|
168
|
+
operationDetailsByType: Partial<Record<McpCapabilityOperationType, McpDiscoveryOperationDetail[]>>;
|
|
169
|
+
/**
|
|
170
|
+
* Explicit support matrix per `(domain, objectType)` showing which generic
|
|
171
|
+
* operations are supported vs unsupported under the current policy.
|
|
172
|
+
*/
|
|
173
|
+
objectTypeOperationSupport?: McpDiscoveryObjectTypeSupport[];
|
|
174
|
+
};
|
|
175
|
+
export type McpDiscoveryTarget = {
|
|
176
|
+
host?: string;
|
|
177
|
+
profile?: string;
|
|
178
|
+
};
|
|
179
|
+
export type McpDiscoveryContext = {
|
|
180
|
+
managedObjectTypes?: readonly string[];
|
|
181
|
+
managedObjectHydrationStatus?: McpManagedObjectHydrationStatus;
|
|
182
|
+
configEntityIds?: readonly string[];
|
|
183
|
+
configEntityHydrationStatus?: McpCatalogHydrationStatus;
|
|
184
|
+
activeTarget?: McpDiscoveryTarget;
|
|
185
|
+
};
|
|
186
|
+
export type McpCatalogHydrationStatus = 'available' | 'not-applicable' | 'failed' | 'timed-out';
|
|
187
|
+
export type McpManagedObjectHydrationStatus = McpCatalogHydrationStatus;
|
|
188
|
+
/**
|
|
189
|
+
* The complete reduced tool surface derived from a policy-filtered capability
|
|
190
|
+
* inventory.
|
|
191
|
+
*/
|
|
192
|
+
export type McpToolManifest = {
|
|
193
|
+
/** Canonical hybrid tools exposed to agents. */
|
|
194
|
+
canonicalTools?: McpCanonicalTool[];
|
|
195
|
+
/** Generic CRUDS tools parameterized by domain and objectType. */
|
|
196
|
+
genericTools: McpGenericTool[];
|
|
197
|
+
/** Built-in introspection tool entry describing the available operation space. */
|
|
198
|
+
discoveryTool: McpDiscoveryEntry;
|
|
199
|
+
/** Number of capability descriptors that back this manifest. */
|
|
200
|
+
backingDescriptorCount: number;
|
|
201
|
+
/** Total exposed tool count: `canonicalTools.length + 1`. */
|
|
202
|
+
totalToolCount: number;
|
|
203
|
+
};
|
|
204
|
+
export type McpCanonicalTool = {
|
|
205
|
+
/** Stable MCP tool name. */
|
|
206
|
+
toolName: typeof FIND_SKILLS_TOOL_NAME | typeof DESCRIBE_SKILL_TOOL_NAME | typeof DISPATCH_READ_ONLY_TOOL_NAME | typeof DISPATCH_TOOL_NAME;
|
|
207
|
+
/** Description suitable for MCP registration and model guidance. */
|
|
208
|
+
description: string;
|
|
209
|
+
/** MCP annotations for tool behavior guidance. */
|
|
210
|
+
annotations: McpToolAnnotations;
|
|
211
|
+
};
|
|
212
|
+
/**
|
|
213
|
+
* Builds a reduced MCP tool manifest from a policy-filtered capability
|
|
214
|
+
* inventory.
|
|
215
|
+
*
|
|
216
|
+
* @remarks
|
|
217
|
+
* The caller is responsible for applying policy **before** calling this
|
|
218
|
+
* function. Use {@link applyCapabilityPolicy} from `CapabilityPolicy` to
|
|
219
|
+
* filter the inventory first.
|
|
220
|
+
*
|
|
221
|
+
* Generic capabilities (`kind === 'generic'`) are collapsed by
|
|
222
|
+
* `operationType`, each producing one {@link McpGenericTool} with an
|
|
223
|
+
* enumerated `supportedObjectTypes` list. A single
|
|
224
|
+
* {@link McpDiscoveryEntry} is always appended and counted in `totalToolCount`.
|
|
225
|
+
*
|
|
226
|
+
* @param capabilities Policy-filtered capability descriptors.
|
|
227
|
+
* @returns Fully populated tool manifest ready for MCP runtime registration.
|
|
228
|
+
*/
|
|
229
|
+
export declare function buildToolManifest(capabilities: McpCapabilityDescriptor[], discoveryContext?: McpDiscoveryContext): McpToolManifest;
|
|
230
|
+
export {};
|
|
231
|
+
//# sourceMappingURL=ToolManifest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToolManifest.d.ts","sourceRoot":"","sources":["../../src/mcp/ToolManifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,EACL,yBAAyB,EACzB,uBAAuB,EACvB,0BAA0B,EAC1B,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,mBAAmB,CAAC;AAiB3B,qEAAqE;AACrE,QAAA,MAAM,mBAAmB,EAAG,gBAAyB,CAAC;AACtD,QAAA,MAAM,qBAAqB,EAAG,mBAA4B,CAAC;AAC3D,QAAA,MAAM,wBAAwB,EAAG,sBAA+B,CAAC;AACjE,QAAA,MAAM,4BAA4B,EAAG,0BAAmC,CAAC;AACzE,QAAA,MAAM,kBAAkB,EAAG,gBAAyB,CAAC;AA+BrD;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,2DAA2D;IAC3D,MAAM,EAAE,MAAM,CAAC;IACf,+DAA+D;IAC/D,UAAU,EAAE,MAAM,CAAC;IACnB,8EAA8E;IAC9E,YAAY,EAAE,MAAM,CAAC;IACrB,iCAAiC;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,UAAU,EAAE,MAAM,CAAC;IACnB,+CAA+C;IAC/C,YAAY,CAAC,EAAE,yBAAyB,CAAC;IACzC,gEAAgE;IAChE,UAAU,CAAC,EAAE,sBAAsB,EAAE,CAAC;IACtC,4EAA4E;IAC5E,KAAK,CAAC,EAAE,MAAM,CAAC;I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