/** * @packageDocumentation * Default Gaunt Sloth configuration ({@link DEFAULT_CONFIG}). Extracted verbatim from * the former `config.ts` god-file; values are unchanged. */ import { StatusLevel } from '#src/core/types.js'; /** * Default config */ export declare const DEFAULT_CONFIG: { readonly contentSource: 'file'; readonly requirementSource: 'file'; /** * Whether to include the current date in the project review instructions or not. */ readonly includeCurrentDateAfterGuidelines: false; readonly filesystem: 'none'; readonly builtInTools: string[]; readonly debugLog: false; readonly consoleLevel: StatusLevel.INFO; /** * Default source for both requirements and content is GitHub. * It needs GitHub CLI (gh). * * `github` content source uses `gh pr diff NN` internally. * {@link @gaunt-sloth/review!sources/ghPrDiffSource.get | ghPrDiffSource.get} * * * `github` requirement source uses `gh issue view NN` internally */ readonly commands: { readonly pr: { readonly contentSource: 'github'; readonly requirementSource: 'github'; readonly rating: { readonly enabled: true; readonly passThreshold: 6; readonly minRating: 0; readonly maxRating: 10; readonly errorOnReviewFail: true; }; }; readonly review: { readonly rating: { readonly enabled: true; readonly passThreshold: 6; readonly minRating: 0; readonly maxRating: 10; readonly errorOnReviewFail: true; }; }; readonly ask: { readonly filesystem: 'read'; }; readonly chat: { readonly filesystem: 'read'; }; readonly code: { readonly filesystem: 'all'; }; readonly exec: { readonly filesystem: 'all'; }; readonly api: { readonly filesystem: 'read'; readonly port: 3000; readonly cors: { readonly allowOrigin: 'http://localhost:3000'; readonly allowMethods: 'POST, GET, OPTIONS'; readonly allowHeaders: 'Content-Type, Accept'; }; }; }; readonly streamOutput: true; readonly writeOutputToFile: false; readonly writeBinaryOutputsToFile: true; readonly useColour: true; readonly useMouse: true; readonly streamSessionInferenceLog: true; readonly canInterruptInferenceWithEsc: true; readonly aiignore: { readonly enabled: true; readonly patterns: undefined; }; };