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

Function ctx

tests/agent_suite/update_plugin_test.rs:23–32  ·  view source on GitHub ↗
(home: &Path, tracedecay_bin: &str)

Source from the content-addressed store, hash-verified

21const NEW_BIN: &str = "/new/bin/tracedecay";
22
23fn ctx(home: &Path, tracedecay_bin: &str) -> InstallContext {
24 InstallContext {
25 home: home.to_path_buf(),
26 tracedecay_bin: tracedecay_bin.to_string(),
27 tool_permissions: tracedecay::agents::expected_tool_perms(),
28 profile: None,
29 project_root: None,
30 dashboard: true,
31 }
32}
33
34fn ctx_with_project(home: &Path, tracedecay_bin: &str, project_root: &Path) -> InstallContext {
35 let mut ctx = ctx(home, tracedecay_bin);

Calls 1

expected_tool_permsFunction · 0.85

Tested by

no test coverage detected