@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
21 lines (20 loc) • 901 B
TypeScript
import type { PipelineExecutor } from '../../../execution/PipelineExecutor';
import type { PipelineJson } from '../../../pipeline/PipelineJson/PipelineJson';
import type { PrepareAndScrapeOptions } from '../../../prepare/PrepareAndScrapeOptions';
import type { RunCommandCliOptions } from './runCommandAction';
/**
* Prepares the tools, pipeline, and executor required to run one `ptbk run` invocation.
*
* @private internal utility of `$initializeRunCommand`
*/
export declare function prepareRunCommandResources(options: {
readonly pipelineSource?: string;
readonly cliOptions: RunCommandCliOptions;
readonly prepareAndScrapeOptions: Pick<PrepareAndScrapeOptions, 'isVerbose'> & {
readonly isCacheReloaded: boolean;
};
readonly logStage: (stage: string) => void;
}): Promise<{
readonly pipeline: PipelineJson;
readonly pipelineExecutor: PipelineExecutor;
}>;