xonecas.io
56101
Df

dotfiles / commit 798ce6b

fix: opencode.json for docs path

xonecas2026-01-31 798ce6b7d23e6d8903f55e47ea5bba0a1ca898b5 parent 06ac58a

2 files changed

opencode/install.sh+1−0
@@ -10,6 +10,7 @@ repo_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
1010
1111 mkdir -p "$config_dir" "$commands_dir" "$skills_dir" "$agents_dir"
1212
13+ln -sf "$repo_dir/opencode.json" "$config_dir/opencode.json"
1314 ln -sf "$repo_dir/AGENTS.md" "$config_dir/AGENTS.md"
1415 ln -sfn "$repo_dir/.agent-docs" "$config_dir/.agent-docs"
1516
opencode/opencode.json+8−0
@@ -0,0 +1,8 @@
1+{
2+ "$schema": "https://opencode.ai/config.json",
3+ "instructions": [
4+ ".agent-docs/**/*.md",
5+ ".agent-docs/**/*.ts",
6+ ".agent-docs/**/*.sh"
7+ ]
8+}