Cotal TypeScript packages
    Preparing search index...

    Function composeUserBundle

    • Compose the user bundle the public face serves at /.well-known/cotal-mesh. ONE producer, exported so the consumer contract (checkUserBundle in the CLI) can be asserted against the real composition rather than a copy. The trust pins ride a userAuth arm because that is the shape the consumer records: registration passes it through assertUserAuthInfo and lands it in the registry entry (plus remote: true and the sentinel PATH). endpoints.url starts empty — the daemon finalizes it with finalizeUserBundleEndpoint after the public listener binds.

      Parameters

      • args: {
            agentProvisioningUrl?: string;
            eventPayloadsWithheld?: boolean;
            idp: { audience: string; issuer: string; url: string };
            sentinelCreds: string;
            server: string;
            space: string;
        }
        • OptionalagentProvisioningUrl?: string

          The deployment's remote agent-provisioning endpoint (U6): where cotal spawn POSTs the login bearer to mint a managed agent in the owner's envelope. Optional — a mesh without one simply has no self-service remote spawn, and the client refuses with a named message.

        • OptionaleventPayloadsWithheld?: boolean
        • idp: { audience: string; issuer: string; url: string }
        • sentinelCreds: string
        • server: string
        • space: string

      Returns Record<string, unknown>