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

Function opencode_prompt_path

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

Source from the content-addressed store, hash-verified

31}
32
33fn opencode_prompt_path(home: &Path) -> std::path::PathBuf {
34 // Mirrors the logic: if .config/opencode exists, use it
35 let modern = home.join(".config/opencode/AGENTS.md");
36 if modern.exists() || home.join(".config/opencode").exists() {
37 return modern;
38 }
39 home.join("AGENTS.md")
40}
41
42// ===========================================================================
43// Install content verification

Calls 1

existsMethod · 0.80

Tested by

no test coverage detected