Dont target config files directly
either extract from opencode config, env var etc..
i might have my config specified under OPENCODE_CONFIG_DIR or ~/.config/opencode/opencode.jsonc (mind c in extension for json file with comments)
|
config_paths = [ |
|
os.path.expanduser("~/.config/opencode/opencode.json"), |
|
"opencode.json", |
|
] |
Dont target config files directly
either extract from opencode config, env var etc..
i might have my config specified under
OPENCODE_CONFIG_DIRor~/.config/opencode/opencode.jsonc(mind c in extension for json file with comments)memsearch/plugins/opencode/scripts/capture-daemon.py
Lines 62 to 65 in 018a85f