Skip to content

Commit 52f8976

Browse files
authored
feat(ui): add OpenCode config editor (#191)
* feat(ui): add opencode config editor * fix(ui): align OpenCode config editor with real schema * fix(ui): close OpenCode config review gaps * fix(ui): show OpenCode config status * fix(opencode): isolate provider store from native config * fix(opencode): localize remaining config labels * test(opencode): harden provider store backend tests * docs(readme): document OpenCode provider support * docs(readme): clarify session browser sources * docs(readme): remove unsupported derived session mention * chore: bump version to 0.0.46 * docs(readme): refresh screenshots * fix(opencode): align provider action buttons * chore(web-ui): refresh precompiled render * docs(readme): refresh Chinese screenshots * chore(release): reaffirm v0.0.46 head
1 parent 2765d58 commit 52f8976

29 files changed

Lines changed: 2115 additions & 41 deletions

README.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# Codex Mate
66

7-
**One dashboard for all your local AI coding agents. Switch providers, manage sessions, and orchestrate tasks across Codex, Claude Code, and OpenClaw. Zero cloud, local-first control plane.**
7+
**One dashboard for all your local AI coding agents. Switch providers, manage sessions, and orchestrate tasks across Codex, Claude Code, OpenCode, and OpenClaw. Zero cloud, local-first control plane.**
88

99
<p>
1010
<a href="https://sakurabytecore.github.io/codexmate/">[Documentation]</a>
@@ -24,7 +24,15 @@
2424

2525
<br />
2626

27-
<img src="site/.vitepress/public/images/readme-hero.png" alt="Codex Mate screenshot" width="100%" />
27+
<p>
28+
<img src="site/.vitepress/public/images/readme/config-codex.png" alt="Codex Mate Codex provider configuration" width="100%" />
29+
</p>
30+
<p>
31+
<img src="site/.vitepress/public/images/readme/config-opencode.png" alt="Codex Mate OpenCode provider configuration" width="100%" />
32+
</p>
33+
<p>
34+
<img src="site/.vitepress/public/images/readme/sessions.png" alt="Codex Mate unified session browser" width="100%" />
35+
</p>
2836

2937
</div>
3038

@@ -40,14 +48,15 @@
4048

4149
Have you ever felt overwhelmed by managing multiple local AI agents? Each has its own config format, session storage, and skills directory.
4250

43-
**Codex Mate** offers a unified control plane to bring order to the chaos. It's a local-first CLI + Web UI designed to manage [Codex](https://github.com/openai/codex)[Claude Code](https://github.com/anthropic-ai/claude-code) and [OpenClaw](https://github.com/moeru-ai/openclaw) seamlessly.
51+
**Codex Mate** offers a unified control plane to bring order to the chaos. It's a local-first CLI + Web UI designed to manage [Codex](https://github.com/openai/codex), [Claude Code](https://github.com/anthropic-ai/claude-code), [OpenCode](https://opencode.ai/), and [OpenClaw](https://github.com/moeru-ai/openclaw) seamlessly.
4452

4553
### What's So Special?
4654

4755
Unlike simple wrappers, Codex Mate acts as a **Local Agent Bridge**:
48-
- **Unified Session Browser**: Search and export sessions across all tools in one place.
56+
- **Unified Session Browser**: Search, inspect, filter, and export local sessions across Codex, Claude Code, Gemini CLI, and CodeBuddy Code from one place.
4957
- **OpenAI-Compatible Bridge**: Use Codex with any OpenAI-compatible UI by normalizing the Responses API.
5058
- **Claude Provider Bridge**: Connect Claude Code to OpenAI Chat Completions-compatible providers and Ollama through the built-in local Claude-compatible proxy.
59+
- **OpenCode Provider Control**: Manage OpenCode provider/model selection with a CodexMate-owned provider store under `~/.codexmate`, projecting only the active provider into native OpenCode config to avoid polluting or deleting user-owned settings.
5160
- **Skills Marketplace**: A local-first market to share and import skills between different agent apps.
5261
- **Task Orchestrator**: Plan and execute complex tasks with dependency tracking.
5362

@@ -57,14 +66,15 @@ Unlike simple wrappers, Codex Mate acts as a **Local Agent Bridge**:
5766

5867
| Feature | Status | Description |
5968
| --- | --- | --- |
60-
| **Provider Management** || Switch providers/models for Codex, Claude, and OpenClaw |
69+
| **Provider Management** || Switch providers/models for Codex, Claude, OpenCode, and OpenClaw |
6170
| **Live Agent Sync** || Real-time monitoring of Codex/Claude config & status |
62-
| **Session Browser** || List, filter, and export sessions (Codex/Claude/Gemini) |
71+
| **Session Browser** || Search, preview, filter, and export sessions across Codex, Claude Code, Gemini CLI, and CodeBuddy Code |
6372
| **Usage Analytics** || Visualize message trends and top projects |
6473
| **Local Skills Market** || Cross-app import/export of agent skills |
6574
| **Task Queue** || DAG-based task execution and logs |
6675
| **OpenAI Bridge** || Convert Codex Responses API to standard OpenAI format |
6776
| **Claude Provider Bridge** || Connect Claude Code to OpenAI Chat Completions-compatible providers and Ollama via the built-in Claude-compatible proxy |
77+
| **OpenCode Provider Store** || Keep multiple OpenCode providers in `~/.codexmate` while projecting only the selected provider to native OpenCode config |
6878
| **Prompt Templates** || Reusable prompt plugins with variables |
6979
| **MCP Integration** || Expose local tools and resources via MCP stdio |
7080
| **Auto Update** || Quick update CLI via `codexmate update` |
@@ -113,6 +123,7 @@ curl -fsSL https://raw.githubusercontent.com/SakuraByteCore/codexmate/main/scrip
113123
- **Claude Code**: `npm install -g @anthropic-ai/claude-code`
114124
- **Gemini CLI**: `npm install -g @google/gemini-cli`
115125
- **CodeBuddy**: `npm install -g @tencent-ai/codebuddy-code`
126+
- **OpenCode**: install from the [official OpenCode docs](https://opencode.ai/)
116127

117128
---
118129

@@ -138,6 +149,8 @@ flowchart TD
138149
CodexDir[~/.codex]
139150
ClaudeDir[~/.claude]
140151
ClawDir[~/.openclaw]
152+
OpenCodeDir[~/.config/opencode]
153+
MateDir[~/.codexmate]
141154
State[Sessions/Usage/Trash]
142155
end
143156
@@ -146,7 +159,7 @@ flowchart TD
146159
147160
API --> Config & Session & Skills & Tasks
148161
149-
Config --> CodexDir & ClaudeDir & ClawDir
162+
Config --> CodexDir & ClaudeDir & ClawDir & OpenCodeDir & MateDir
150163
Session --> State
151164
Skills --> Local
152165
```

README.zh.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# Codex Mate
66

7-
**一站式本地 AI 编程智能体管理面板。统一管理 Codex、Claude Code 与 OpenClaw,支持 Provider 切换、会话管理与任务编排。纯本地优先,你的智能体控制中心。**
7+
**一站式本地 AI 编程智能体管理面板。统一管理 Codex、Claude Code、OpenCode 与 OpenClaw,支持 Provider 切换、会话管理与任务编排。纯本地优先,你的智能体控制中心。**
88

99
<p>
1010
<a href="https://sakurabytecore.github.io/codexmate/">[项目文档]</a>
@@ -24,7 +24,15 @@
2424

2525
<br />
2626

27-
<img src="site/.vitepress/public/images/readme-hero.png" alt="Codex Mate 界面预览" width="100%" />
27+
<p>
28+
<img src="site/.vitepress/public/images/readme/config-codex.png" alt="Codex Mate Codex Provider 配置" width="100%" />
29+
</p>
30+
<p>
31+
<img src="site/.vitepress/public/images/readme/config-opencode.png" alt="Codex Mate OpenCode Provider 配置" width="100%" />
32+
</p>
33+
<p>
34+
<img src="site/.vitepress/public/images/readme/sessions.png" alt="Codex Mate 统一会话浏览器" width="100%" />
35+
</p>
2836

2937
</div>
3038

@@ -40,14 +48,15 @@
4048

4149
你是否曾因管理多个本地 AI 智能体而感到疲惫?每个工具都有自己的配置格式、会话存储和 Skills 目录。
4250

43-
**Codex Mate** 提供了一个统一的控制平面,让混乱重归有序。这是一个本地优先的 CLI + Web UI,旨在无缝管理 [Codex](https://github.com/openai/codex)[Claude Code](https://github.com/anthropic-ai/claude-code)[OpenClaw](https://github.com/moeru-ai/openclaw)
51+
**Codex Mate** 提供了一个统一的控制平面,让混乱重归有序。这是一个本地优先的 CLI + Web UI,旨在无缝管理 [Codex](https://github.com/openai/codex)[Claude Code](https://github.com/anthropic-ai/claude-code)[OpenCode](https://opencode.ai/)[OpenClaw](https://github.com/moeru-ai/openclaw)
4452

4553
### 有什么独特之处?
4654

4755
不同于简单的封装,Codex Mate 充当了 **本地智能体桥接器**
48-
- **统一会话浏览器**在一个地方搜索并导出所有工具的会话
56+
- **统一会话浏览器**在一个地方检索、预览、筛选并导出 Codex、Claude Code、Gemini CLI 与 CodeBuddy Code 的本地会话
4957
- **OpenAI 兼容桥接**:通过归一化 Responses API,让 Codex 能够与任何支持 OpenAI 格式的 UI 配合使用。
5058
- **Claude Provider 桥接**:通过内建本地 Claude 兼容代理,让 Claude Code 接入 OpenAI Chat Completions 兼容 provider 与 Ollama。
59+
- **OpenCode Provider 控制**:在 `~/.codexmate` 下维护 CodexMate 自有的 OpenCode 多 provider 存储,只将当前选中的 provider 投影到 OpenCode 原生配置,避免污染或误删用户已有配置。
5160
- **Skills 市场**:本地优先的市场,支持在不同的智能体应用之间共享和导入 Skills。
5261
- **任务编排器**:支持带有依赖跟踪的复杂任务规划与执行。
5362

@@ -57,14 +66,15 @@
5766

5867
| 特性 | 状态 | 描述 |
5968
| --- | --- | --- |
60-
| **Provider 管理** || 切换 Codex、Claude 和 OpenClaw 的 provider/model |
69+
| **Provider 管理** || 切换 Codex、Claude、OpenCode 和 OpenClaw 的 provider/model |
6170
| **状态实时同步** || 实时感知 Codex/Claude 的配置与运行状态变更 |
62-
| **会话浏览器** || 列表、筛选及导出会话 (Codex/Claude/Gemini) |
71+
| **会话浏览器** || CodexClaude Code、Gemini CLI 与 CodeBuddy Code 的本地会话进行检索、预览、筛选与导出 |
6372
| **Usage 统计** || 可视化消息趋势与热门项目统计 |
6473
| **本地 Skills 市场** || 跨应用的智能体 Skills 导入与导出 |
6574
| **任务队列** || 基于 DAG 的任务执行与日志查看 |
6675
| **OpenAI 桥接** || 将 Codex Responses API 转换为标准 OpenAI 格式 |
6776
| **Claude Provider 桥接** || 通过内建 Claude 兼容代理,让 Claude Code 接入 OpenAI Chat Completions 兼容 provider 与 Ollama |
77+
| **OpenCode Provider 存储** ||`~/.codexmate` 中保留多个 OpenCode provider,只将当前选中的 provider 投影到 OpenCode 原生配置 |
6878
| **提示词模板** || 支持变量的可复用提示词插件 |
6979
| **MCP 集成** || 通过 MCP stdio 暴露本地工具与资源 |
7080
| **自动更新** || 通过 `codexmate update` 快速更新 CLI |
@@ -113,6 +123,7 @@ curl -fsSL https://raw.githubusercontent.com/SakuraByteCore/codexmate/main/scrip
113123
- **Claude Code**: `npm install -g @anthropic-ai/claude-code`
114124
- **Gemini CLI**: `npm install -g @google/gemini-cli`
115125
- **CodeBuddy**: `npm install -g @tencent-ai/codebuddy-code`
126+
- **OpenCode**: 参照 [OpenCode 官方文档](https://opencode.ai/) 安装
116127

117128
---
118129

@@ -138,6 +149,8 @@ flowchart TD
138149
CodexDir[~/.codex]
139150
ClaudeDir[~/.claude]
140151
ClawDir[~/.openclaw]
152+
OpenCodeDir[~/.config/opencode]
153+
MateDir[~/.codexmate]
141154
State[会话/Usage/回收站]
142155
end
143156
@@ -146,7 +159,7 @@ flowchart TD
146159
147160
API --> Config & Session & Skills & Tasks
148161
149-
Config --> CodexDir & ClaudeDir & ClawDir
162+
Config --> CodexDir & ClaudeDir & ClawDir & OpenCodeDir & MateDir
150163
Session --> State
151164
Skills --> Local
152165
```

0 commit comments

Comments
 (0)