@karmaniverous/jeeves-watcher
    Preparing search index...

    Interface ApiServerOptions

    Options for createApiServer.

    interface ApiServerOptions {
        config: JeevesWatcherConfig;
        configPath: string;
        descriptor: {
            configFileName: string;
            configSchema: ZodType<unknown, unknown>;
            customCliCommands?: $InferOuterFunctionType<
                ZodTuple<
                    readonly [ZodCustom<Command<[], {}, {}>, Command<[], {}, {}>>],
                    null,
                >,
                ZodVoid,
            >;
            customMerge?: $InferOuterFunctionType<
                ZodTuple<
                    readonly [
                        ZodRecord<ZodString, ZodUnknown>,
                        ZodRecord<ZodString, ZodUnknown>,
                    ],
                    null,
                >,
                ZodRecord<ZodString, ZodUnknown>,
            >;
            customPluginTools?: $InferOuterFunctionType<
                ZodTuple<readonly [ZodCustom<PluginApi, PluginApi>], null>,
                ZodArray<ZodUnknown>,
            >;
            defaultPort: number;
            dependencies?: { hard: string[]; soft: string[] };
            generateToolsContent: $InferOuterFunctionType<
                ZodTuple<readonly [], null>,
                ZodString,
            >;
            initTemplate: $InferOuterFunctionType<
                ZodTuple<readonly [], null>,
                ZodRecord<ZodString, ZodUnknown>,
            >;
            name: string;
            onConfigApply?: $InferOuterFunctionType<
                ZodTuple<readonly [ZodRecord<ZodString, ZodUnknown>], null>,
                ZodPromise<ZodVoid>,
            >;
            pluginPackage: string;
            refreshIntervalSeconds: number;
            run: $InferOuterFunctionType<
                ZodTuple<readonly [ZodString], null>,
                ZodPromise<ZodVoid>,
            >;
            sectionId: string;
            serviceName?: string;
            servicePackage: string;
            startCommand: $InferOuterFunctionType<
                ZodTuple<readonly [ZodString], null>,
                ZodArray<ZodString>,
            >;
            version: string;
        };
        embeddingProvider: EmbeddingProvider;
        enrichmentStore?: EnrichmentStoreInterface;
        fileSystemWatcher?: FileSystemWatcher;
        getConfig?: () => JeevesWatcherConfig;
        getFileSystemWatcher?: () => FileSystemWatcher | undefined;
        gitignoreFilter?: GitignoreFilter;
        helperIntrospection?: AllHelpersIntrospection;
        initialScanTracker?: InitialScanTracker;
        issuesManager: IssuesManager;
        logger: Logger;
        processor: DocumentProcessorInterface;
        queue: EventQueue;
        reindexTracker?: ReindexTracker;
        valuesManager: ValuesManager;
        vectorStore: VectorStoreClient;
        version?: string;
        virtualRuleStore?: VirtualRuleStore;
    }
    Index

    Properties

    The application configuration (used as initial/fallback value).

    configPath: string

    Path to the config file on disk.

    descriptor: {
        configFileName: string;
        configSchema: ZodType<unknown, unknown>;
        customCliCommands?: $InferOuterFunctionType<
            ZodTuple<
                readonly [ZodCustom<Command<[], {}, {}>, Command<[], {}, {}>>],
                null,
            >,
            ZodVoid,
        >;
        customMerge?: $InferOuterFunctionType<
            ZodTuple<
                readonly [
                    ZodRecord<ZodString, ZodUnknown>,
                    ZodRecord<ZodString, ZodUnknown>,
                ],
                null,
            >,
            ZodRecord<ZodString, ZodUnknown>,
        >;
        customPluginTools?: $InferOuterFunctionType<
            ZodTuple<readonly [ZodCustom<PluginApi, PluginApi>], null>,
            ZodArray<ZodUnknown>,
        >;
        defaultPort: number;
        dependencies?: { hard: string[]; soft: string[] };
        generateToolsContent: $InferOuterFunctionType<
            ZodTuple<readonly [], null>,
            ZodString,
        >;
        initTemplate: $InferOuterFunctionType<
            ZodTuple<readonly [], null>,
            ZodRecord<ZodString, ZodUnknown>,
        >;
        name: string;
        onConfigApply?: $InferOuterFunctionType<
            ZodTuple<readonly [ZodRecord<ZodString, ZodUnknown>], null>,
            ZodPromise<ZodVoid>,
        >;
        pluginPackage: string;
        refreshIntervalSeconds: number;
        run: $InferOuterFunctionType<
            ZodTuple<readonly [ZodString], null>,
            ZodPromise<ZodVoid>,
        >;
        sectionId: string;
        serviceName?: string;
        servicePackage: string;
        startCommand: $InferOuterFunctionType<
            ZodTuple<readonly [ZodString], null>,
            ZodArray<ZodString>,
        >;
        version: string;
    }

    The component descriptor (used for config-apply handler).

    embeddingProvider: EmbeddingProvider

    The embedding provider.

    enrichmentStore?: EnrichmentStoreInterface

    Optional enrichment store for persisted enrichment metadata.

    fileSystemWatcher?: FileSystemWatcher

    Filesystem watcher instance for /walk endpoint (in-memory file list).

    getConfig?: () => JeevesWatcherConfig

    Config getter for live config access after hot-reload.

    getFileSystemWatcher?: () => FileSystemWatcher | undefined

    Getter for live filesystem watcher access after hot-reload rebuilds.

    gitignoreFilter?: GitignoreFilter

    Gitignore filter for reindex path validation.

    helperIntrospection?: AllHelpersIntrospection

    Helper introspection for merged document.

    initialScanTracker?: InitialScanTracker

    Initial scan tracker for /status visibility.

    issuesManager: IssuesManager

    The issues manager.

    logger: Logger

    The logger instance.

    The document processor.

    queue: EventQueue

    The event queue.

    reindexTracker?: ReindexTracker

    The reindex tracker (optional, created if not provided).

    valuesManager: ValuesManager

    The values manager.

    vectorStore: VectorStoreClient

    The vector store client.

    version?: string

    Service version string for /status endpoint.

    virtualRuleStore?: VirtualRuleStore

    Virtual rule store for externally registered inference rules.