gaunt-sloth-assistant
Version:
> ⚠️ **`gaunt-sloth-assistant` has been renamed to [`gaunt-sloth`](https://www.npmjs.com/package/gaunt-sloth).** > The `1.5.x` series is the final release under the old name — active development continues under > the new package. To switch: > > ```bash >
12 lines (11 loc) • 1.2 kB
TypeScript
import type { GthConfig } from '@gaunt-sloth/core/config.js';
import { type ContentProviderType, type RequirementsProviderType } from '#src/commands/commandUtils.js';
export type PromptCommandType = 'ask' | 'review' | 'pr' | 'pr-discovery' | 'chat' | 'code';
export type ProviderCommandType = 'review' | 'pr';
export type ProviderInputType = 'content' | 'requirements';
export declare function getAskSystemPrompt(config: GthConfig): string;
export declare function getReviewSystemPrompt(config: GthConfig): string;
export declare function getCommandSystemPrompt(command: PromptCommandType, config: GthConfig): string;
export declare function getEffectiveRequirementsProvider(command: ProviderCommandType, config: GthConfig, cliProvider?: RequirementsProviderType): RequirementsProviderType | undefined;
export declare function getEffectiveContentProvider(command: ProviderCommandType, config: GthConfig, cliProvider?: ContentProviderType): ContentProviderType | undefined;
export declare function getCommandProviderInput(command: ProviderCommandType, inputType: ProviderInputType, id: string | undefined, config: GthConfig, cliProvider?: RequirementsProviderType | ContentProviderType): Promise<string>;