Prepend and append prompt arguments to executors (vibe-kanban) (#507)

* Commit changes from coding agent for task attempt 50dc90ec-29b2-4c80-9000-133dd7f9fad4

* Cleanup script changes for task attempt 50dc90ec-29b2-4c80-9000-133dd7f9fad4

* Commit changes from coding agent for task attempt 50dc90ec-29b2-4c80-9000-133dd7f9fad4

* Cleanup script changes for task attempt 50dc90ec-29b2-4c80-9000-133dd7f9fad4

* Reverse JSON editor disable

* prompt_args_for_profiles

* Reset any frontend changes

* Remove new. UI components

* reset shared types

* Commit changes from coding agent for task attempt 50dc90ec-29b2-4c80-9000-133dd7f9fad4

* Cleanup script changes for task attempt 50dc90ec-29b2-4c80-9000-133dd7f9fad4

* fmt

* lockfile
This commit is contained in:
Louis Knight-Webb
2025-08-19 10:54:53 +01:00
committed by GitHub
parent 317811d696
commit 88a67d8d9c
12 changed files with 118 additions and 83 deletions

View File

@@ -22,3 +22,10 @@ pub fn short_uuid(u: &Uuid) -> String {
let full = u.simple().to_string();
full.chars().take(4).collect() // grab the first 4 chars
}
pub fn combine_prompt(append: &Option<String>, prompt: &str) -> String {
match append {
Some(append) => format!("{prompt}{append}"),
None => prompt.to_string(),
}
}