MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / has_tracedecay

Method has_tracedecay

src/agents/opencode.rs:101–109  ·  view source on GitHub ↗
(&self, home: &Path)

Source from the content-addressed store, hash-verified

99 }
100
101 fn has_tracedecay(&self, home: &Path) -> bool {
102 let config_path = opencode_config_path(home);
103 if !config_path.exists() {
104 return false;
105 }
106 let json = super::load_json_file(&config_path);
107 let mcp = json.get("mcp");
108 mcp.and_then(|v| v.get("tracedecay")).is_some()
109 }
110
111 fn export_managed_skills(
112 &self,

Callers 1

export_managed_skillsMethod · 0.45

Calls 3

load_json_fileFunction · 0.85
existsMethod · 0.80
opencode_config_pathFunction · 0.70

Tested by

no test coverage detected