weasel API - v0.8.0
    Preparing search index...

    Interface ChromeCtx

    Live state read by chrome-visibility Conditions. Backward-compat alias for the legacy ChromeCtx shape — kept for consumers that still import ChromeCtx. Subset of RuleCtx: legacy ChromeCtx didn't carry mode/capability info. The resolver builds a RuleCtx for evaluation; surfaces that still operate in ChromeCtx shape supply defaults (mode='normal', empty allowedCapabilities) at the construction site.

    interface ChromeCtx {
        action: { id: string | null; kind: string | null };
        focused: boolean;
        hover: NodeId | null;
        modifiers: ModifierState;
        multiActive: boolean;
        selection: readonly NodeId[];
        view: View;
    }
    Index

    Properties

    action: { id: string | null; kind: string | null }
    focused: boolean
    hover: NodeId | null
    modifiers: ModifierState
    multiActive: boolean
    selection: readonly NodeId[]
    view: View