replace all $ARGUMENTS (#3276)

This commit is contained in:
Aiden Cline 2025-10-18 23:37:17 -05:00 committed by GitHub
parent 290d15a80f
commit 1c7bd6365e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1409,7 +1409,7 @@ export namespace SessionPrompt {
const command = await Command.get(input.command)
const agentName = command.agent ?? input.agent ?? "build"
let template = command.template.replace("$ARGUMENTS", input.arguments)
let template = command.template.replaceAll("$ARGUMENTS", input.arguments)
const shell = ConfigMarkdown.shell(template)
if (shell.length > 0) {