buroventures-harald-code
Version:
Harald Code - AI-powered coding assistant CLI
22 lines (21 loc) • 753 B
TypeScript
/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { IPromptProcessor } from './types.js';
import { CommandContext } from '../../ui/commands/types.js';
/**
* Replaces all instances of `{{args}}` in a prompt with the user-provided
* argument string.
*/
export declare class ShorthandArgumentProcessor implements IPromptProcessor {
process(prompt: string, context: CommandContext): Promise<string>;
}
/**
* Appends the user's full command invocation to the prompt if arguments are
* provided, allowing the model to perform its own argument parsing.
*/
export declare class DefaultArgumentProcessor implements IPromptProcessor {
process(prompt: string, context: CommandContext): Promise<string>;
}