Generate opencode's config from a tracked template, with matching commands, agents and pwswitch

This commit is contained in:
Gabriel Brown committed 2026-10-30 13:44:29 -04:00
1 parent 68c7d6a3ea
commit a987cbab66
16 files changed
+531 -25

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
{
"$schema": "https://opencode.ai/config.json",
"instructions": ["~/.claude/rules/*.md"],
"permissions": [
{ "action": "read", "resource": "/etc/**", "effect": "allow" },
{ "action": "shell", "resource": "coredumpctl list*", "effect": "allow" },
{ "action": "shell", "resource": "coredumpctl info*", "effect": "allow" },
{ "action": "shell", "resource": "journalctl*", "effect": "allow" },
{ "action": "shell", "resource": "rpm -q*", "effect": "allow" },
{ "action": "shell", "resource": "panama doctor*", "effect": "allow" },
{ "action": "shell", "resource": "lspci*", "effect": "allow" },
{ "action": "shell", "resource": "lsusb*", "effect": "allow" },
{ "action": "shell", "resource": "getent hosts*", "effect": "allow" }
]
}