Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ default
Method
default
crates/opencode-agent/src/agent.rs:743–745 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
741
742
impl Default for AgentRegistry {
743
fn default() -> Self {
744
Self::new()
745
}
746
}
747
748
fn tool_to_permission(tool: &str) -> &str {
Callers
nothing calls this directly
Calls
1
new
Function · 0.85
Tested by
no test coverage detected