feat: Call resolvePromptInput on the --system-prompt received on the CLI argument. This is needed to support file paths on the prompt (#287)

This commit is contained in:
scutifer 2025-12-23 17:36:40 +05:30 committed by GitHub
parent c57ed89110
commit 35ebe88870
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 7 deletions

View file

@ -22,7 +22,7 @@ const toolDescriptions: Record<ToolName, string> = {
};
/** Resolve input as file path or literal string */
function resolvePromptInput(input: string | undefined, description: string): string | undefined {
export function resolvePromptInput(input: string | undefined, description: string): string | undefined {
if (!input) {
return undefined;
}