Frodo Library - v5.0.0-5
    Preparing search index...

    Function resolveDocsContext

    • Resolves the docs target for a deployment, given its type and (for self-managed AM/IDM) its raw version string(s).

      Parameters

      • deploymentType: McpDeploymentType

        Active deployment type, or undefined if unknown.

      • OptionalrawAmVersion: string

        Raw value from state.getAmVersion(), consulted for classic and forgeops deployments.

      • OptionalrawIdmVersion: string

        Raw value from state.getIdmVersion(), consulted only for forgeops deployments (classic has no IDM component; cloud ignores component versions by design).

      Returns McpDocsContext | McpDocsContextUnresolved | McpDocsContextForgeops

      A resolved docs context, or an explicit unresolved result — never a guess.