UNPKG

@promptbook/remote-server

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

26 lines (25 loc) 953 B
import type { NormalizedPromptRunnerCliOptions, PromptRunnerCliOptions } from '../common/promptRunnerCliOptions'; /** * Options passed from `ptbk agent` CLI commands to the message runner. * * @private internal utility of `ptbk agent` */ export type AgentRunCliOptions = PromptRunnerCliOptions & { readonly autoClone?: boolean; readonly ignore?: string | readonly string[]; }; /** * Normalized options passed from `ptbk agent` CLI commands to the message runner. * * @private internal utility of `ptbk agent` */ export type NormalizedAgentRunCliOptions = NormalizedPromptRunnerCliOptions & { readonly autoClone: boolean; readonly ignorePatterns: readonly string[]; }; /** * Converts Commander options into the `scripts/run-agent-messages` option shape. * * @private internal utility of `ptbk agent` */ export declare function createAgentRunOptionsFromCliOptions(cliOptions: AgentRunCliOptions): NormalizedAgentRunCliOptions;