c93ba1ae8f69caf7f83da105b67183fefd115825

Author
TheEdgeOfRage <git@theedgeofrage.com>
Committer
TheEdgeOfRage <git@theedgeofrage.com>
Date

Message

Allow opencode access to more readonly commands

Diff

 1diff --git a/dot_config/opencode/opencode.json b/dot_config/opencode/opencode.json
 2index 50edb9855b77148b9dea486d927aff539e3a090f..0bbf138cf007f2f7ee630033d5552c00981a2aeb 100644
 3--- a/dot_config/opencode/opencode.json
 4+++ b/dot_config/opencode/opencode.json
 5@@ -10,23 +10,22 @@
 6       "grep *": "allow",
 7       "head *": "allow",
 8       "ls *": "allow",
 9-      "tree *": "allow",
10+      "sort *": "allow",
11+      "uniq *": "allow",
12       "tail *": "allow",
13+      "tc *": "allow",
14+      "tree *": "allow",
15+      "wc *": "allow",
16       "git diff *": "allow",
17       "git status *": "allow",
18       "git show *": "allow",
19       "git log *": "allow",
20+      "git branch *": "allow",
21       "mvn test *": "allow",
22       "mvn compile *": "allow",
23       "mvn clean *": "allow",
24       "make lint *": "allow",
25-      "make test *": "allow",
26-
27-      "rm *": "deny",
28-      "git commit*": "deny",
29-      "git stash*": "deny",
30-      "git checkout*": "deny",
31-      "git reset*": "deny"
32+      "make test *": "allow"
33     },
34     "webfetch": "ask",
35     "doom_loop": "ask",