@squidcloud/client
    Preparing search index...

    Interface AiKnowledgeBaseGrepMatch

    One matching line found by GrepKnowledgeBaseRequest.

    interface AiKnowledgeBaseGrepMatch {
        context: string;
        contextId: string;
        fileName: string;
        line: string;
        lineNumber: number;
        part: string;
    }
    Index
    context: string

    The matching line plus a small window of the lines around it, joined by newlines and clipped to GREP_KNOWLEDGE_BASE_MAX_MATCH_LINE_CHARS. Wide spreadsheet rows are the normal case here, so the clip is what keeps a full result set from overflowing an agent's context window.

    contextId: string

    The id of the context the match was found in.

    fileName: string

    The source file name (or context title for text contexts).

    line: string

    The matching line, clipped to GREP_KNOWLEDGE_BASE_MAX_MATCH_LINE_CHARS with an ellipsis.

    lineNumber: number

    The 1-based line number the match starts on within its part.

    part: string

    The locator within the file: a sheet/section title when the extractor supplied one, else page N.