@suluk/keys - v0.1.0
    Preparing search index...

    Interface ChainNode

    One node of a caller's chain — itself or an ancestor — with its OWN (pre-chain) grant + caps + its materialized path.

    interface ChainNode {
        keyId: string;
        path: string;
        scopes: string[];
        ownCreditLimit: number | null;
        ownRateSharePct: number | null;
        ownExpiresAt: number | null;
        disabled?: boolean;
    }
    Index

    Properties

    keyId: string
    path: string

    the node's own materialized path (a prefix of the caller's) — used to sum its subtree spend.

    scopes: string[]

    the node's OWN granted tool scopes (an unrestricted account-root never appears as a node).

    ownCreditLimit: number | null
    ownRateSharePct: number | null
    ownExpiresAt: number | null

    epoch ms — the node's own expiry; null = never.

    disabled?: boolean

    an ancestor soft-disabled (enabled=false) — drives the auth-time revocation cascade.