feat(#665): harness-internal async bash task runner (option B)
This commit is contained in:
parent
9bd37d4df3
commit
1178bb2999
5 changed files with 512 additions and 3 deletions
|
|
@ -736,6 +736,8 @@ pub enum ToolGroup {
|
|||
Scheduling,
|
||||
/// `get_logs` - *(privileged)*
|
||||
Diagnostics,
|
||||
/// `bash_run`, `bash_status`
|
||||
Execution,
|
||||
}
|
||||
|
||||
impl ToolGroup {
|
||||
|
|
@ -765,13 +767,14 @@ impl ToolGroup {
|
|||
"list_schedules",
|
||||
],
|
||||
Self::Diagnostics => &["get_logs"],
|
||||
Self::Execution => &["bash_run", "bash_status"],
|
||||
}
|
||||
}
|
||||
|
||||
/// Default tool groups for a plain agent harness — equivalent to the
|
||||
/// old `Flavor::Agent` allow-list. Used when `HIVE_TOOL_GROUPS` is unset.
|
||||
pub const AGENT_DEFAULT: &'static [Self] =
|
||||
&[Self::Messaging, Self::Meta, Self::Inbox];
|
||||
&[Self::Messaging, Self::Meta, Self::Inbox, Self::Execution];
|
||||
|
||||
/// Default tool groups for the manager harness — equivalent to the
|
||||
/// old `Flavor::Manager` allow-list. Used when `HIVE_TOOL_GROUPS` is unset.
|
||||
|
|
@ -783,6 +786,7 @@ impl ToolGroup {
|
|||
Self::Approvals,
|
||||
Self::Scheduling,
|
||||
Self::Diagnostics,
|
||||
Self::Execution,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue