@promptbook/google
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
21 lines (20 loc) • 999 B
TypeScript
import { type PromptRunnerHarnessName } from '../common/promptRunnerCliOptions';
import type { InitializationStatus } from './boilerplateTemplates';
/**
* Ensures `.gitignore` covers local dependencies, coder artifacts and every supported harness's local artifacts.
*
* @private function of `initializeCoderProjectConfiguration`
*/
export declare function ensureCoderGitignoreFile(projectPath: string): Promise<InitializationStatus>;
/**
* Lists missing project-local ignore rules for the selected harnesses.
*
* @private internal utility of `ptbk coder`
*/
export declare function getMissingCoderHarnessGitignoreRules(projectPath: string, harnessNames: ReadonlyArray<PromptRunnerHarnessName>): Promise<ReadonlyArray<string>>;
/**
* Adds the given Promptbook Coder rules to a project's `.gitignore` file.
*
* @private internal utility of `ptbk coder`
*/
export declare function ensureCoderGitignoreRules(projectPath: string, rules: ReadonlyArray<string>): Promise<InitializationStatus>;