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

Function make_ctx

tests/agent_suite/opencode_agent_test.rs:13–22  ·  view source on GitHub ↗
(home: &Path)

Source from the content-addressed store, hash-verified

11// ---------------------------------------------------------------------------
12
13fn make_ctx(home: &Path) -> InstallContext {
14 InstallContext {
15 home: home.to_path_buf(),
16 tracedecay_bin: "/usr/local/bin/tracedecay".to_string(),
17 tool_permissions: expected_tool_perms(),
18 profile: None,
19 project_root: None,
20 dashboard: true,
21 }
22}
23
24fn read_json(path: &Path) -> serde_json::Value {
25 let contents = std::fs::read_to_string(path).unwrap();

Calls 1

expected_tool_permsFunction · 0.85

Tested by

no test coverage detected