MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / with_permission

Method with_permission

crates/opencode-agent/src/agent.rs:424–427  ·  view source on GitHub ↗
(mut self, permission: PermissionRuleset)

Source from the content-addressed store, hash-verified

422 }
423
424 pub fn with_permission(mut self, permission: PermissionRuleset) -> Self {
425 self.permission = permission;
426 self
427 }
428
429 pub fn with_hidden(mut self, hidden: bool) -> Self {
430 self.hidden = hidden;

Calls

no outgoing calls