@elysiumoss/ui-capture - v0.3.0
    Preparing search index...

    Type Alias StateTask

    One scripted state, queued as a first-class peer of a route rather than a phase bolted onto the end of a crawl: same queue, same worker pool, same --concurrency, same results map, same report.

    type StateTask = {
        type: "state";
        url: string;
        stateName: string;
        resultKey: string;
    }
    Index
    type: "state"
    url: string
    stateName: string
    resultKey: string

    Where the state's result lands. A state is a capture leaf — it never feeds the crawl frontier and is never deduplicated by URL — so the normalized URL a RouteTask needs has no reader here, and carrying one would only invite a caller to key a state by it and collide with the route capture for the same page.