@promptbook/google
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
17 lines (16 loc) • 901 B
TypeScript
import type { PromptRunnerHarnessName } from '../promptRunnerCliOptions';
import type { NormalizedQuestionsCliOptions } from '../questionsCliOptions';
/**
* Checks that every given CLI coding harness is installed globally and, when the questions are enabled, up to date.
* Offers to install missing harnesses and update outdated ones.
*
* Harness names which are `undefined`, for example when no `--harness` is selected in a dry run,
* are ignored so that every call site can pass its raw selection.
*
* Note: `$` is used to indicate that this function is not a pure function - it may install npm packages
*
* @private internal utility of `promptbookCli`
*/
export declare function $ensureHarnessInstallations(harnessNames: ReadonlyArray<PromptRunnerHarnessName | undefined>, questionsOptions: NormalizedQuestionsCliOptions, options?: {
readonly isRequired?: boolean;
}): Promise<void>;