lloyal-agents API Reference
    Preparing search index...

    Interface Resource

    A loaded document available for search, read, and grep operations

    Represents a single file (typically Markdown) loaded into memory. Resources are chunked into Chunk instances for reranking.

    interface Resource {
        content: string;
        name: string;
    }
    Index

    Properties

    Properties

    content: string

    Full text content of the file

    name: string

    File name (basename, not full path) used as the resource identifier