@promptbook/utils
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
13 lines (12 loc) • 763 B
TypeScript
/** Result of preparing project-owned checks and migrating recognized generated callers. @private internal initializer result */
export type PreparedCoderPackageJsonScripts = {
readonly scripts: Readonly<Record<string, string>>;
readonly checkScriptSummary: string;
readonly migrationInstructions: ReadonlyArray<string>;
readonly isCheckConfigured: boolean;
};
/**
* Preserves project scripts, creates one canonical check, and migrates only exact generated caller forms.
* @private shared package-script preparation for Coder initialization
*/
export declare function prepareCoderPackageJsonScripts(existing: Readonly<Record<string, string>>, externalCallers?: Readonly<Record<string, ReadonlyArray<string>>>): PreparedCoderPackageJsonScripts;