From db49ae7835a124c51b32d8d508c989e0605e23e3 Mon Sep 17 00:00:00 2001 From: lvjiayu Date: Mon, 23 Mar 2026 21:58:28 +0800 Subject: [PATCH] init --- openclaw/openclaw.json | 374 +++++++++++++++++++++++++++++++++++ opencode/oh-my-opencode.json | 64 ++++++ opencode/opencode.json | 171 ++++++++++++++++ 3 files changed, 609 insertions(+) create mode 100644 openclaw/openclaw.json create mode 100644 opencode/oh-my-opencode.json create mode 100644 opencode/opencode.json diff --git a/openclaw/openclaw.json b/openclaw/openclaw.json new file mode 100644 index 0000000..a85b71b --- /dev/null +++ b/openclaw/openclaw.json @@ -0,0 +1,374 @@ +{ + "meta": { + "lastTouchedVersion": "2026.3.13", + "lastTouchedAt": "2026-03-23T13:22:02.267Z" + }, + "wizard": { + "lastRunAt": "2026-03-02T10:19:51.514Z", + "lastRunVersion": "2026.3.1", + "lastRunCommand": "onboard", + "lastRunMode": "local" + }, + "auth": { + "profiles": {} + }, + "models": { + "mode": "merge", + "providers": { + "cliproxy": { + "baseUrl": "https://sub2api.mrjy.online/v1", + "apiKey": "sk-4a762f6bec8536d1906dc83ca886acfc49a94f64376de65134d51eebdb6d84d1", + "api": "openai-completions", + "models": [ + { + "id": "gpt-5", + "name": "GPT-5", + "reasoning": false, + "input": [ + "text" + ], + "cost": { + "input": 0, + "output": 0, + "cacheRead": 0, + "cacheWrite": 0 + }, + "contextWindow": 200000, + "maxTokens": 8192 + }, + { + "id": "gpt-5.1", + "name": "GPT-5.1", + "reasoning": false, + "input": [ + "text" + ], + "cost": { + "input": 0, + "output": 0, + "cacheRead": 0, + "cacheWrite": 0 + }, + "contextWindow": 200000, + "maxTokens": 8192 + }, + { + "id": "gpt-5.2", + "name": "GPT-5.2", + "reasoning": false, + "input": [ + "text" + ], + "cost": { + "input": 0, + "output": 0, + "cacheRead": 0, + "cacheWrite": 0 + }, + "contextWindow": 200000, + "maxTokens": 8192 + }, + { + "id": "gpt-5.4", + "name": "GPT-5.4", + "reasoning": false, + "input": [ + "text" + ], + "cost": { + "input": 0, + "output": 0, + "cacheRead": 0, + "cacheWrite": 0 + }, + "contextWindow": 200000, + "maxTokens": 8192 + } + ] + }, + "bailian": { + "baseUrl": "https://coding.dashscope.aliyuncs.com/v1", + "apiKey": "sk-sp-9840f6c1bccc497babe157423e2ad69a", + "api": "openai-completions", + "models": [ + { + "id": "qwen3.5-plus", + "name": "qwen3.5-plus", + "reasoning": false, + "input": [ + "text", + "image" + ], + "cost": { + "input": 0, + "output": 0, + "cacheRead": 0, + "cacheWrite": 0 + }, + "contextWindow": 1000000, + "maxTokens": 65536 + }, + { + "id": "qwen3-max-2026-01-23", + "name": "qwen3-max-2026-01-23", + "reasoning": false, + "input": [ + "text" + ], + "cost": { + "input": 0, + "output": 0, + "cacheRead": 0, + "cacheWrite": 0 + }, + "contextWindow": 262144, + "maxTokens": 65536 + }, + { + "id": "qwen3-coder-next", + "name": "qwen3-coder-next", + "reasoning": false, + "input": [ + "text" + ], + "cost": { + "input": 0, + "output": 0, + "cacheRead": 0, + "cacheWrite": 0 + }, + "contextWindow": 262144, + "maxTokens": 65536 + }, + { + "id": "qwen3-coder-plus", + "name": "qwen3-coder-plus", + "reasoning": false, + "input": [ + "text" + ], + "cost": { + "input": 0, + "output": 0, + "cacheRead": 0, + "cacheWrite": 0 + }, + "contextWindow": 1000000, + "maxTokens": 65536 + }, + { + "id": "MiniMax-M2.5", + "name": "MiniMax-M2.5", + "reasoning": false, + "input": [ + "text" + ], + "cost": { + "input": 0, + "output": 0, + "cacheRead": 0, + "cacheWrite": 0 + }, + "contextWindow": 1000000, + "maxTokens": 65536 + }, + { + "id": "glm-5", + "name": "glm-5", + "reasoning": false, + "input": [ + "text" + ], + "cost": { + "input": 0, + "output": 0, + "cacheRead": 0, + "cacheWrite": 0 + }, + "contextWindow": 202752, + "maxTokens": 16384 + }, + { + "id": "glm-4.7", + "name": "glm-4.7", + "reasoning": false, + "input": [ + "text" + ], + "cost": { + "input": 0, + "output": 0, + "cacheRead": 0, + "cacheWrite": 0 + }, + "contextWindow": 202752, + "maxTokens": 16384 + }, + { + "id": "kimi-k2.5", + "name": "kimi-k2.5", + "reasoning": false, + "input": [ + "text", + "image" + ], + "cost": { + "input": 0, + "output": 0, + "cacheRead": 0, + "cacheWrite": 0 + }, + "contextWindow": 262144, + "maxTokens": 32768 + } + ] + } + } + }, + "agents": { + "defaults": { + "model": { + "primary": "cliproxy/gpt-5.4" + }, + "models": { + "anyrouter/claude-opus-4-6": {}, + "cliproxy/gpt-5": {}, + "cliproxy/gpt-5.1": {}, + "cliproxy/gpt-5.2": {}, + "cliproxy/gpt-5.4": {}, + "bailian/qwen3.5-plus": {}, + "bailian/qwen3-max-2026-01-23": {}, + "bailian/qwen3-coder-next": {}, + "bailian/qwen3-coder-plus": {}, + "bailian/MiniMax-M2.5": {}, + "bailian/glm-5": {}, + "bailian/glm-4.7": {}, + "bailian/kimi-k2.5": {} + }, + "workspace": "/home/openclaw/.openclaw/workspace", + "compaction": { + "mode": "safeguard" + }, + "maxConcurrent": 4, + "subagents": { + "maxConcurrent": 8 + } + }, + "list": [ + { + "id": "kernel", + "name": "Kernel", + "workspace": "/home/openclaw/.openclaw/workspace-kernel", + "identity": { + "name": "Kernel", + "theme": "Auralis systems architect and operations engineer", + "emoji": "⚙️" + }, + "tools": { + "deny": [ + "tts" + ] + } + } + ] + }, + "messages": { + "ackReactionScope": "group-mentions" + }, + "commands": { + "native": "auto", + "nativeSkills": "auto", + "restart": true, + "ownerDisplay": "raw" + }, + "session": { + "dmScope": "per-channel-peer" + }, + "channels": { + "telegram": { + "enabled": true, + "dmPolicy": "pairing", + "botToken": "8644688776:AAE8KQeY-5adjw80wDCiHPQCaSfVaQmVOXA", + "groupPolicy": "allowlist", + "streaming": "off" + }, + "feishu": { + "enabled": true, + "appId": "cli_a936100b467a9bb6", + "appSecret": "EhYgr0DC3YmJSLPk4ZWm1gd7xflbmkOQ", + "domain": "feishu", + "connectionMode": "websocket", + "requireMention": false, + "dmPolicy": "allowlist", + "allowFrom": [ + "ou_33cd6527abe55ccb282a6adcd4af75ac", + "ou_8f0bd8e11423d354ec74ee6ec275f0f0" + ], + "groupAllowFrom": [ + "ou_33cd6527abe55ccb282a6adcd4af75ac", + "ou_8f0bd8e11423d354ec74ee6ec275f0f0" + ], + "groupPolicy": "allowlist", + "groups": { + "*": { + "enabled": true + } + } + } + }, + "gateway": { + "port": 18789, + "mode": "local", + "bind": "loopback", + "auth": { + "mode": "token", + "token": "4c7aa9fbdd654f16921765d71c5e4a88f97694ada5d77262" + }, + "tailscale": { + "mode": "off", + "resetOnExit": false + }, + "nodes": { + "denyCommands": [ + "camera.snap", + "camera.clip", + "screen.record", + "calendar.add", + "contacts.add", + "reminders.add" + ] + } + }, + "plugins": { + "allow": [ + "openclaw-lark", + "telegram" + ], + "entries": { + "telegram": { + "enabled": true + }, + "feishu": { + "enabled": false + }, + "openclaw-lark": { + "enabled": true + } + }, + "installs": { + "openclaw-lark": { + "source": "npm", + "spec": "@larksuite/openclaw-lark", + "installPath": "/home/openclaw/.openclaw/extensions/openclaw-lark", + "version": "2026.3.17", + "resolvedName": "@larksuite/openclaw-lark", + "resolvedVersion": "2026.3.17", + "resolvedSpec": "@larksuite/openclaw-lark@2026.3.17", + "integrity": "sha512-7GxqBu7jIe0jmApQXt/9hpvorV04Vpqkcr9LvAOMZJzbhmI0+XZKVJgvzw0Ypxz+UfWJ9tlcSw7WpkBcyqvo8g==", + "shasum": "407d4616186cf776c21cf49aa533b80c2ef23530", + "resolvedAt": "2026-03-20T02:07:16.094Z", + "installedAt": "2026-03-20T02:07:19.398Z" + } + } + } +} \ No newline at end of file diff --git a/opencode/oh-my-opencode.json b/opencode/oh-my-opencode.json new file mode 100644 index 0000000..354d9f2 --- /dev/null +++ b/opencode/oh-my-opencode.json @@ -0,0 +1,64 @@ +{ + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", + "agents": { + "hephaestus": { + "model": "opencode/glm-4.7-free" + }, + "oracle": { + "model": "bailian-coding-plan/MiniMax-M2.5", + "variant": "high" + }, + "librarian": { + "model": "bailian-coding-plan/qwen3-coder-next" + }, + "explore": { + "model": "bailian-coding-plan/qwen3-coder-next" + }, + "multimodal-looker": { + "model": "bailian-coding-plan/qwen3-coder-next" + }, + "prometheus": { + "model": "bailian-coding-plan/MiniMax-M2.5" + }, + "metis": { + "model": "bailian-coding-plan/MiniMax-M2.5", + "variant": "high" + }, + "momus": { + "model": "bailian-coding-plan/MiniMax-M2.5", + "variant": "high" + }, + "atlas": { + "model": "bailian-coding-plan/MiniMax-M2.5" + } + }, + "categories": { + "visual-engineering": { + "model": "bailian-coding-plan/MiniMax-M2.5", + "variant": "high" + }, + "ultrabrain": { + "model": "bailian-coding-plan/MiniMax-M2.5", + "variant": "high" + }, + "deep": { + "model": "opencode/glm-4.7-free" + }, + "artistry": { + "model": "bailian-coding-plan/MiniMax-M2.5", + "variant": "high" + }, + "quick": { + "model": "bailian-coding-plan/qwen3-coder-next" + }, + "unspecified-low": { + "model": "bailian-coding-plan/qwen3-coder-next" + }, + "unspecified-high": { + "model": "bailian-coding-plan/qwen3-coder-next" + }, + "writing": { + "model": "bailian-coding-plan/qwen3-coder-next" + } + } +} diff --git a/opencode/opencode.json b/opencode/opencode.json new file mode 100644 index 0000000..e88dda7 --- /dev/null +++ b/opencode/opencode.json @@ -0,0 +1,171 @@ +{ + "$schema": "https://opencode.ai/config.json", + "provider": { + "bailian-coding-plan": { + "npm": "@ai-sdk/anthropic", + "name": "Model Studio Coding Plan", + "options": { + "baseURL": "https://coding.dashscope.aliyuncs.com/apps/anthropic/v1", + "apiKey": "sk-sp-9840f6c1bccc497babe157423e2ad69a" + }, + "models": { + "qwen3.5-plus": { + "name": "Qwen3.5 Plus", + "modalities": { + "input": [ + "text", + "image" + ], + "output": [ + "text" + ] + }, + "options": { + "thinking": { + "type": "enabled", + "budgetTokens": 8192 + } + }, + "limit": { + "context": 1000000, + "output": 65536 + } + }, + "qwen3-max-2026-01-23": { + "name": "Qwen3 Max 2026-01-23", + "modalities": { + "input": [ + "text" + ], + "output": [ + "text" + ] + }, + "limit": { + "context": 262144, + "output": 32768 + } + }, + "qwen3-coder-next": { + "name": "Qwen3 Coder Next", + "modalities": { + "input": [ + "text" + ], + "output": [ + "text" + ] + }, + "limit": { + "context": 262144, + "output": 65536 + } + }, + "qwen3-coder-plus": { + "name": "Qwen3 Coder Plus", + "modalities": { + "input": [ + "text" + ], + "output": [ + "text" + ] + }, + "limit": { + "context": 1000000, + "output": 65536 + } + }, + "MiniMax-M2.5": { + "name": "MiniMax M2.5", + "modalities": { + "input": [ + "text" + ], + "output": [ + "text" + ] + }, + "options": { + "thinking": { + "type": "enabled", + "budgetTokens": 8192 + } + }, + "limit": { + "context": 196608, + "output": 24576 + } + }, + "glm-5": { + "name": "GLM-5", + "modalities": { + "input": [ + "text" + ], + "output": [ + "text" + ] + }, + "options": { + "thinking": { + "type": "enabled", + "budgetTokens": 8192 + } + }, + "limit": { + "context": 202752, + "output": 16384 + } + }, + "glm-4.7": { + "name": "GLM-4.7", + "modalities": { + "input": [ + "text" + ], + "output": [ + "text" + ] + }, + "options": { + "thinking": { + "type": "enabled", + "budgetTokens": 8192 + } + }, + "limit": { + "context": 202752, + "output": 16384 + } + }, + "kimi-k2.5": { + "name": "Kimi K2.5", + "modalities": { + "input": [ + "text", + "image" + ], + "output": [ + "text" + ] + }, + "options": { + "thinking": { + "type": "enabled", + "budgetTokens": 8192 + } + }, + "limit": { + "context": 262144, + "output": 32768 + } + } + } + } + }, + "plugin": [ + "oh-my-opencode" + ] + +} \ No newline at end of file