electron-agent-bridge
    Preparing search index...

    Variable CAPSConst

    CAPS: {
        inlineTokens: 8000;
        ipcRingBytes: number;
        logRingBytes: number;
        maxPageItems: 500;
        networkRingBytes: number;
        pageItems: 100;
        snapshotLines: 2000;
        value: {
            maxArrayItems: 50;
            maxDepth: 6;
            maxKeys: 50;
            maxNodes: 5000;
            maxStringChars: 1000;
        };
    } = ...

    Default budgets (NFR3). Every buffer and output in the bridge is bounded by one of these and counts what it drops; apps may lower them, never remove them.

    Type Declaration

    • ReadonlyinlineTokens: 8000

      Results larger than this many estimated tokens are spilled to a file instead of returned inline.

    • ReadonlyipcRingBytes: number

      IPC event ring (metadata + shapes; values only for opted-in channels).

    • ReadonlylogRingBytes: number

      Console / crash / process log ring.

    • ReadonlymaxPageItems: 500

      Hard ceiling for one query page.

    • ReadonlynetworkRingBytes: number

      Network request metadata ring (bodies are never buffered).

    • ReadonlypageItems: 100

      Items returned by one query page.

    • ReadonlysnapshotLines: 2000

      Lines in one snapshot before it is truncated (with a limitation).

    • Readonlyvalue: {
          maxArrayItems: 50;
          maxDepth: 6;
          maxKeys: 50;
          maxNodes: 5000;
          maxStringChars: 1000;
      }

      Serialisation limits for captured values (IPC args, state, eval results).