enquire-mcp API reference - v4.0.0-rc.7
    Preparing search index...

    Type Alias FtsIndexDiscovery

    FtsIndexDiscovery:
        | { kind: "missing" }
        | { kind: "empty" }
        | { kind: "owned"; meta: Readonly<FtsIndexOwnedMeta> }
        | { kind: "refused" }

    Readonly classification of a configured FTS index path. Only missing and genuinely schema-empty paths may select a requested or default tokenizer. owned must use its returned tokenizer; every other existing file is refused without exposing native or path details.

    Type Declaration

    • { kind: "missing" }
    • { kind: "empty" }
    • { kind: "owned"; meta: Readonly<FtsIndexOwnedMeta> }
      • Readonlykind: "owned"

        Same-root, fully admitted FTS class and exact stored config.

      • Readonlymeta: Readonly<FtsIndexOwnedMeta>
    • { kind: "refused" }
    const discovery: FtsIndexDiscovery = { kind: "empty" };
    if (discovery.kind === "empty") {
    // A caller may initialize with its requested tokenizer.
    }