From 7a035096ac513a5f5021788f8ad6cffb49452a38 Mon Sep 17 00:00:00 2001 From: Han Muqi Date: Fri, 18 Sep 2026 22:35:00 +0800 Subject: docs: 《活着的村庄》设计文档 v1 + opencode.json(ark-plan/glm-5.3-flash) + README MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- opencode.json | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 opencode.json (limited to 'opencode.json') diff --git a/opencode.json b/opencode.json new file mode 100644 index 0000000..7d8f9dc --- /dev/null +++ b/opencode.json @@ -0,0 +1,60 @@ +{ + "$schema": "https://opencode.ai/config.json", + "model": "ark-plan/glm-5.3-flash", + "small_model": "ark-plan/glm-5.3-flash", + "enabled_providers": [ + "strategy-go", + "ark-plan" + ], + "share": "disabled", + "autoupdate": false, + "provider": { + "strategy-go": { + "npm": "@ai-sdk/openai-compatible", + "name": "OpenCode Go (Hermes credential)", + "options": { + "baseURL": "https://opencode.ai/zen/go/v1", + "apiKey": "{env:OPENCODE_GO_API_KEY}" + }, + "models": { + "glm-5.3-flash": { + "name": "GLM-5.3-Flash", + "tool_call": true, + "limit": { + "context": 1000000, + "input": 1000000, + "output": 16000 + } + } + } + }, + "ark-plan": { + "npm": "@ai-sdk/openai-compatible", + "name": "Volcano Ark Coding Plan", + "options": { + "baseURL": "https://ark.cn-beijing.volces.com/api/plan/v3", + "apiKey": "{env:ARK_PLAN_API_KEY}" + }, + "models": { + "glm-5.3-flash": { + "name": "GLM-5.3-Flash (Ark Plan)", + "tool_call": true, + "limit": { + "context": 262144, + "input": 262144, + "output": 32000 + } + } + } + } + }, + "compaction": { + "auto": true, + "prune": true, + "reserved": 192000 + }, + "permission": { + "*": "allow", + "external_directory": "deny" + } +} -- cgit v1.2.3