feat(#1653): optional name param for bash run tool
This commit is contained in:
parent
0b6a52e81f
commit
9bd51a7440
5 changed files with 119 additions and 8 deletions
|
|
@ -70,6 +70,13 @@ pub enum DaemonRequest {
|
|||
/// task-started-id response immediately.
|
||||
#[serde(default)]
|
||||
wait_seconds: Option<u64>,
|
||||
/// Optional caller-chosen task name, used as the task id (so it
|
||||
/// flows into the wake `from`, status lookups, and the loose-ends
|
||||
/// summary). Must be filesystem-safe. Reusable once any prior task
|
||||
/// of the same name has finished; rejected while one is still
|
||||
/// running. `None` falls back to the auto-generated id.
|
||||
#[serde(default)]
|
||||
name: Option<String>,
|
||||
},
|
||||
|
||||
/// Query the current status of a task. Returns the full `TaskFile`
|
||||
|
|
|
|||
Loading…
Reference in a new issue