From 71f73fccbc4c0218b814138c8aa1a0f823380e55 Mon Sep 17 00:00:00 2001 From: colem Date: Tue, 11 Aug 2026 14:52:40 -0500 Subject: [PATCH] chore(opencode): update permissions and model providers - allow head, tail, gofmt, and additional npm test commands - switch default and explore agents to OpenAI models - add OpenAI provider configuration - disable paste summaries experimentally --- .config/opencode/opencode.jsonc | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.config/opencode/opencode.jsonc b/.config/opencode/opencode.jsonc index 915820c..841b303 100644 --- a/.config/opencode/opencode.jsonc +++ b/.config/opencode/opencode.jsonc @@ -24,12 +24,15 @@ "which *": "allow", "ls *": "allow", "wc *": "allow", + "head *": "allow", + "tail *": "allow", // Go "go build *": "allow", "go test *": "allow", "go vet *": "allow", "go mod tidy": "allow", "go mod download": "allow", + "gofmt *": "allow", // Node.js "npm ci": "allow", "npm test": "allow", @@ -40,6 +43,10 @@ "npm ls *": "allow", "npm outdated": "allow", "npm audit *": "allow", + "npm run test:unit": "allow", + "npm run test:integration": "allow", + "npm run test:e2e": "allow", + "npm run type-check": "allow", "npx *": "ask", // Python "python -m unittest *": "allow", @@ -194,11 +201,11 @@ }, "lsp": true, "formatter": true, - "model": "zai-coding-plan/glm-5.2", - "small_model": "zai-coding-plan/glm-4.5-air", + "model": "openai/gpt-5.5-pro", + "small_model": "openai/gpt-4-turbo", "agent": { "explore": { - "model": "zai-coding-plan/glm-4.5-air", + "model": "openai/gpt-4-turbo", }, }, "share": "disabled", @@ -206,5 +213,9 @@ "plugin": ["./plugins/ibmi-gate.ts", "@slkiser/opencode-quota@latest"], "provider": { "zai": {}, + "openai": {}, + }, + "experimental": { + "disable_paste_summary": true, }, }