The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat(agent): add enabled flag to autonomy settings schema
Steven Enamakeleeb57d7f2499
diff --git a/crates/openhuman-core/src/config/schemas/schema_defs/agent.rs b/crates/openhuman-core/src/config/schemas/schema_defs/agent.rsindex 041dda1ef1..63ab1935d8 100644--- a/crates/openhuman-core/src/config/schemas/schema_defs/agent.rs+++ b/crates/openhuman-core/src/config/schemas/schema_defs/agent.rs@@ -16,9 +16,10 @@ pub(super) fn lookup(function: &str) -> Option<ControllerSchema> {"update_autonomy_settings" => Some( ControllerSchema {namespace: "config",function: "update_autonomy_settings",- description: "Update the agent access mode: autonomy level, workspace confinement, trusted-roots allow-list, command allow-list, forbidden paths, and OS-install permission. Applies live to active sessions.",+ description: "Update the agent access mode: whether the policy is enabled at all, autonomy level, workspace confinement, trusted-roots allow-list, command allow-list, forbidden paths, and OS-install permission. Applies live to active sessions.",inputs: vec![- optional_string("level", "Autonomy level: readonly | supervised | full."),+ optional_bool("enabled", "Master switch for the autonomy policy. Defaults to false: with it off, command classification, the approval gate, the command allow-list, the action budget and workspace containment are all inert, and every other field here has no effect. Credential stores and system roots stay blocked either way."),+ optional_string("level", "Autonomy level: readonly | supervised | full. Only binds when enabled is true."),optional_bool("workspace_only", "Confine file/path access to the workspace directory."),FieldSchema {name: "allowed_commands",