757b4956d5a867e20c61459cd482feff26a5e9bd

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

Message

Allow edits by default in opencode

Diff

This diff is truncated to protect this page.

  1diff --git a/dot_config/opencode/opencode.json b/dot_config/opencode/opencode.json
  2index ae747e7805f96f521774b7da3502523c2408b5b8..d3c6f80ec493841b746179197265d38ab4fd7761 100644
  3--- a/dot_config/opencode/opencode.json
  4+++ b/dot_config/opencode/opencode.json
  5@@ -1,103 +1,103 @@
  6 {
  7-  "$schema": "https://opencode.ai/config.json",
  8-  "permission": {
  9-    "edit": "ask",
 10-    "bash": {
 11-      "*": "ask",
 12-      "awk *": "allow",
 13-      "cat *": "allow",
 14-      "echo *": "allow",
 15-      "find *": "allow",
 16-      "grep *": "allow",
 17-      "head *": "allow",
 18-      "ls *": "allow",
 19-      "mkdir *": "allow",
 20-      "rg *": "allow",
 21-      "sed *": "allow",
 22-      "sort *": "allow",
 23-      "stat *": "allow",
 24-      "tail *": "allow",
 25-      "tc *": "allow",
 26-      "tree *": "allow",
 27-      "uniq *": "allow",
 28-      "wc *": "allow",
 29-      "git branch *": "allow",
 30-      "git describe *": "allow",
 31-      "git diff *": "allow",
 32-      "git log *": "allow",
 33-      "git merge-base *": "allow",
 34-      "git rev-parse *": "allow",
 35-      "git show *": "allow",
 36-      "git status *": "allow",
 37-      "git tag -l *": "allow",
 38-      "go vet *": "allow",
 39-      "mvn test *": "allow",
 40-      "mvn compile *": "allow",
 41-      "mvn clean *": "allow",
 42-      "make lint *": "allow",
 43-      "make test *": "allow"
 44-    },
 45-    "webfetch": "ask",
 46-    "doom_loop": "ask",
 47-    "external_directory": "ask"
 48-  },
 49-  "plugin": ["@mohak34/opencode-notifier@latest"],
 50-  "provider": {
 51-    "llama.cpp": {
 52-      "npm": "@ai-sdk/openai-compatible",
 53-      "name": "llama-server (local)",
 54-      "options": {
 55-        "baseURL": "http://127.0.0.1:8080/v1"
 56-      },
 57-      "models": {
 58-        "qwen3.5-27b": {
 59-          "name": "Qwen3.5 27B (local)",
 60-          "limit": {
 61-            "context": 262144,
 62-            "output": 32768
 63-          }
 64-        }
 65-      }
 66-    }
 67-  },
 68-  "mcp": {
 69-    "Linear": {
 70-      "enabled": false,
 71-      "type": "remote",
 72-      "url": "https://mcp.linear.app/mcp",
 73-      "oauth": {}
 74-    },
 75-    "Sentry": {
 76-      "enabled": false,
 77-      "type": "remote",
 78-      "url": "https://mcp.sentry.dev/mcp",
 79-      "oauth": {}
 80-    },
 81-    "Grafana prod": {
 82-      "enabled": false,
 83-      "type": "local",
 84-      "command": ["uvx", "mcp-grafana"],
 85-      "environment": {
 86-        "GRAFANA_URL": "https://grafana.prod.internal.dunetech.io/",
 87-        "GRAFANA_SERVICE_ACCOUNT_TOKEN": "{file:~/hfs/mcp/grafana-prod-token}"
 88-      }
 89-    },
 90-    "Grafana dev": {
 91-      "enabled": false,
 92-      "type": "local",
 93-      "command": ["uvx", "mcp-grafana"],
 94-      "environment": {
 95-        "GRAFANA_URL": "https://grafana.dev.internal.dunetech.io/",
 96-        "GRAFANA_SERVICE_ACCOUNT_TOKEN": "{file:~/hfs/mcp/grafana-dev-token}"
 97-      }
 98-    },
 99-    "GitHub": {
100-      "enabled": false,
101-      "type": "remote",
102-      "url": "https://api.githubcopilot.com/mcp/",
103-      "headers": {
104-        "Authorization": "{file:~/hfs/mcp/github}"