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

    Class JeevesWatcher

    Main application class that wires together all components.

    Index

    Constructors

    Methods

    Constructors

    • Create a new JeevesWatcher instance.

      Parameters

      • config: JeevesWatcherConfig
      • OptionalconfigPath: string
      • Optionaldescriptor: {
            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;
        }
      • factories: Partial<JeevesWatcherFactories> = {}
      • runtimeOptions: JeevesWatcherRuntimeOptions = {}

      Returns JeevesWatcher

    Methods