codexmate 0.0.44 → 0.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -7
- package/README.zh.md +20 -7
- package/cli.js +473 -3
- package/package.json +2 -1
- package/web-ui/app.js +42 -5
- package/web-ui/index.html +2 -0
- package/web-ui/modules/app.computed.index.mjs +3 -1
- package/web-ui/modules/app.computed.main-tabs.mjs +3 -0
- package/web-ui/modules/app.computed.prompts.mjs +28 -0
- package/web-ui/modules/app.computed.session.mjs +23 -1
- package/web-ui/modules/app.constants.mjs +13 -0
- package/web-ui/modules/app.methods.agents.mjs +50 -4
- package/web-ui/modules/app.methods.index.mjs +6 -0
- package/web-ui/modules/app.methods.navigation.mjs +2 -1
- package/web-ui/modules/app.methods.opencode-config.mjs +228 -0
- package/web-ui/modules/app.methods.session-actions.mjs +10 -0
- package/web-ui/modules/app.methods.startup-claude.mjs +3 -1
- package/web-ui/modules/app.methods.tool-config-permissions.mjs +3 -2
- package/web-ui/modules/config-mode.computed.mjs +17 -1
- package/web-ui/modules/i18n/locales/en.mjs +66 -5
- package/web-ui/modules/i18n/locales/ja.mjs +66 -5
- package/web-ui/modules/i18n/locales/vi.mjs +74 -0
- package/web-ui/modules/i18n/locales/zh-tw.mjs +1269 -0
- package/web-ui/modules/i18n/locales/zh.mjs +66 -5
- package/web-ui/modules/i18n.dict.mjs +2 -0
- package/web-ui/modules/i18n.mjs +3 -2
- package/web-ui/partials/index/layout-footer.html +1 -1
- package/web-ui/partials/index/layout-header.html +70 -2
- package/web-ui/partials/index/modal-config-template-agents.html +12 -13
- package/web-ui/partials/index/panel-config-claude.html +6 -12
- package/web-ui/partials/index/panel-config-codex.html +6 -11
- package/web-ui/partials/index/panel-config-opencode.html +166 -0
- package/web-ui/partials/index/panel-prompts.html +100 -0
- package/web-ui/partials/index/panel-sessions.html +30 -10
- package/web-ui/partials/index/panel-usage.html +34 -18
- package/web-ui/res/web-ui-render.precompiled.js +932 -183
- package/web-ui/styles/controls-forms.css +62 -4
- package/web-ui/styles/modals-core.css +162 -0
- package/web-ui/styles/responsive.css +65 -5
- package/web-ui/styles/sessions-toolbar-trash.css +45 -10
- package/web-ui/styles/sessions-usage.css +31 -2
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Codex Mate
|
|
6
6
|
|
|
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.**
|
|
8
8
|
|
|
9
9
|
<p>
|
|
10
10
|
<a href="https://sakurabytecore.github.io/codexmate/">[Documentation]</a>
|
|
@@ -24,7 +24,15 @@
|
|
|
24
24
|
|
|
25
25
|
<br />
|
|
26
26
|
|
|
27
|
-
<
|
|
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>
|
|
28
36
|
|
|
29
37
|
</div>
|
|
30
38
|
|
|
@@ -40,14 +48,15 @@
|
|
|
40
48
|
|
|
41
49
|
Have you ever felt overwhelmed by managing multiple local AI agents? Each has its own config format, session storage, and skills directory.
|
|
42
50
|
|
|
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)
|
|
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.
|
|
44
52
|
|
|
45
53
|
### What's So Special?
|
|
46
54
|
|
|
47
55
|
Unlike simple wrappers, Codex Mate acts as a **Local Agent Bridge**:
|
|
48
|
-
- **Unified Session Browser**: Search and export sessions across
|
|
56
|
+
- **Unified Session Browser**: Search, inspect, filter, and export local sessions across Codex, Claude Code, Gemini CLI, and CodeBuddy Code from one place.
|
|
49
57
|
- **OpenAI-Compatible Bridge**: Use Codex with any OpenAI-compatible UI by normalizing the Responses API.
|
|
50
58
|
- **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.
|
|
51
60
|
- **Skills Marketplace**: A local-first market to share and import skills between different agent apps.
|
|
52
61
|
- **Task Orchestrator**: Plan and execute complex tasks with dependency tracking.
|
|
53
62
|
|
|
@@ -57,14 +66,15 @@ Unlike simple wrappers, Codex Mate acts as a **Local Agent Bridge**:
|
|
|
57
66
|
|
|
58
67
|
| Feature | Status | Description |
|
|
59
68
|
| --- | --- | --- |
|
|
60
|
-
| **Provider Management** | ✅ | Switch providers/models for Codex, Claude, and OpenClaw |
|
|
69
|
+
| **Provider Management** | ✅ | Switch providers/models for Codex, Claude, OpenCode, and OpenClaw |
|
|
61
70
|
| **Live Agent Sync** | ✅ | Real-time monitoring of Codex/Claude config & status |
|
|
62
|
-
| **Session Browser** | ✅ |
|
|
71
|
+
| **Session Browser** | ✅ | Search, preview, filter, and export sessions across Codex, Claude Code, Gemini CLI, and CodeBuddy Code |
|
|
63
72
|
| **Usage Analytics** | ✅ | Visualize message trends and top projects |
|
|
64
73
|
| **Local Skills Market** | ✅ | Cross-app import/export of agent skills |
|
|
65
74
|
| **Task Queue** | ✅ | DAG-based task execution and logs |
|
|
66
75
|
| **OpenAI Bridge** | ✅ | Convert Codex Responses API to standard OpenAI format |
|
|
67
76
|
| **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 |
|
|
68
78
|
| **Prompt Templates** | ✅ | Reusable prompt plugins with variables |
|
|
69
79
|
| **MCP Integration** | ✅ | Expose local tools and resources via MCP stdio |
|
|
70
80
|
| **Auto Update** | ✅ | Quick update CLI via `codexmate update` |
|
|
@@ -113,6 +123,7 @@ curl -fsSL https://raw.githubusercontent.com/SakuraByteCore/codexmate/main/scrip
|
|
|
113
123
|
- **Claude Code**: `npm install -g @anthropic-ai/claude-code`
|
|
114
124
|
- **Gemini CLI**: `npm install -g @google/gemini-cli`
|
|
115
125
|
- **CodeBuddy**: `npm install -g @tencent-ai/codebuddy-code`
|
|
126
|
+
- **OpenCode**: install from the [official OpenCode docs](https://opencode.ai/)
|
|
116
127
|
|
|
117
128
|
---
|
|
118
129
|
|
|
@@ -138,6 +149,8 @@ flowchart TD
|
|
|
138
149
|
CodexDir[~/.codex]
|
|
139
150
|
ClaudeDir[~/.claude]
|
|
140
151
|
ClawDir[~/.openclaw]
|
|
152
|
+
OpenCodeDir[~/.config/opencode]
|
|
153
|
+
MateDir[~/.codexmate]
|
|
141
154
|
State[Sessions/Usage/Trash]
|
|
142
155
|
end
|
|
143
156
|
|
|
@@ -146,7 +159,7 @@ flowchart TD
|
|
|
146
159
|
|
|
147
160
|
API --> Config & Session & Skills & Tasks
|
|
148
161
|
|
|
149
|
-
Config --> CodexDir & ClaudeDir & ClawDir
|
|
162
|
+
Config --> CodexDir & ClaudeDir & ClawDir & OpenCodeDir & MateDir
|
|
150
163
|
Session --> State
|
|
151
164
|
Skills --> Local
|
|
152
165
|
```
|
package/README.zh.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Codex Mate
|
|
6
6
|
|
|
7
|
-
**一站式本地 AI 编程智能体管理面板。统一管理 Codex、Claude Code 与 OpenClaw,支持 Provider 切换、会话管理与任务编排。纯本地优先,你的智能体控制中心。**
|
|
7
|
+
**一站式本地 AI 编程智能体管理面板。统一管理 Codex、Claude Code、OpenCode 与 OpenClaw,支持 Provider 切换、会话管理与任务编排。纯本地优先,你的智能体控制中心。**
|
|
8
8
|
|
|
9
9
|
<p>
|
|
10
10
|
<a href="https://sakurabytecore.github.io/codexmate/">[项目文档]</a>
|
|
@@ -24,7 +24,15 @@
|
|
|
24
24
|
|
|
25
25
|
<br />
|
|
26
26
|
|
|
27
|
-
<
|
|
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>
|
|
28
36
|
|
|
29
37
|
</div>
|
|
30
38
|
|
|
@@ -40,14 +48,15 @@
|
|
|
40
48
|
|
|
41
49
|
你是否曾因管理多个本地 AI 智能体而感到疲惫?每个工具都有自己的配置格式、会话存储和 Skills 目录。
|
|
42
50
|
|
|
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)。
|
|
44
52
|
|
|
45
53
|
### 有什么独特之处?
|
|
46
54
|
|
|
47
55
|
不同于简单的封装,Codex Mate 充当了 **本地智能体桥接器**:
|
|
48
|
-
-
|
|
56
|
+
- **统一会话浏览器**:在一个地方检索、预览、筛选并导出 Codex、Claude Code、Gemini CLI 与 CodeBuddy Code 的本地会话。
|
|
49
57
|
- **OpenAI 兼容桥接**:通过归一化 Responses API,让 Codex 能够与任何支持 OpenAI 格式的 UI 配合使用。
|
|
50
58
|
- **Claude Provider 桥接**:通过内建本地 Claude 兼容代理,让 Claude Code 接入 OpenAI Chat Completions 兼容 provider 与 Ollama。
|
|
59
|
+
- **OpenCode Provider 控制**:在 `~/.codexmate` 下维护 CodexMate 自有的 OpenCode 多 provider 存储,只将当前选中的 provider 投影到 OpenCode 原生配置,避免污染或误删用户已有配置。
|
|
51
60
|
- **Skills 市场**:本地优先的市场,支持在不同的智能体应用之间共享和导入 Skills。
|
|
52
61
|
- **任务编排器**:支持带有依赖跟踪的复杂任务规划与执行。
|
|
53
62
|
|
|
@@ -57,14 +66,15 @@
|
|
|
57
66
|
|
|
58
67
|
| 特性 | 状态 | 描述 |
|
|
59
68
|
| --- | --- | --- |
|
|
60
|
-
| **Provider 管理** | ✅ | 切换 Codex、Claude 和 OpenClaw 的 provider/model |
|
|
69
|
+
| **Provider 管理** | ✅ | 切换 Codex、Claude、OpenCode 和 OpenClaw 的 provider/model |
|
|
61
70
|
| **状态实时同步** | ✅ | 实时感知 Codex/Claude 的配置与运行状态变更 |
|
|
62
|
-
| **会话浏览器** | ✅ |
|
|
71
|
+
| **会话浏览器** | ✅ | 跨 Codex、Claude Code、Gemini CLI 与 CodeBuddy Code 的本地会话进行检索、预览、筛选与导出 |
|
|
63
72
|
| **Usage 统计** | ✅ | 可视化消息趋势与热门项目统计 |
|
|
64
73
|
| **本地 Skills 市场** | ✅ | 跨应用的智能体 Skills 导入与导出 |
|
|
65
74
|
| **任务队列** | ✅ | 基于 DAG 的任务执行与日志查看 |
|
|
66
75
|
| **OpenAI 桥接** | ✅ | 将 Codex Responses API 转换为标准 OpenAI 格式 |
|
|
67
76
|
| **Claude Provider 桥接** | ✅ | 通过内建 Claude 兼容代理,让 Claude Code 接入 OpenAI Chat Completions 兼容 provider 与 Ollama |
|
|
77
|
+
| **OpenCode Provider 存储** | ✅ | 在 `~/.codexmate` 中保留多个 OpenCode provider,只将当前选中的 provider 投影到 OpenCode 原生配置 |
|
|
68
78
|
| **提示词模板** | ✅ | 支持变量的可复用提示词插件 |
|
|
69
79
|
| **MCP 集成** | ✅ | 通过 MCP stdio 暴露本地工具与资源 |
|
|
70
80
|
| **自动更新** | ✅ | 通过 `codexmate update` 快速更新 CLI |
|
|
@@ -113,6 +123,7 @@ curl -fsSL https://raw.githubusercontent.com/SakuraByteCore/codexmate/main/scrip
|
|
|
113
123
|
- **Claude Code**: `npm install -g @anthropic-ai/claude-code`
|
|
114
124
|
- **Gemini CLI**: `npm install -g @google/gemini-cli`
|
|
115
125
|
- **CodeBuddy**: `npm install -g @tencent-ai/codebuddy-code`
|
|
126
|
+
- **OpenCode**: 参照 [OpenCode 官方文档](https://opencode.ai/) 安装
|
|
116
127
|
|
|
117
128
|
---
|
|
118
129
|
|
|
@@ -138,6 +149,8 @@ flowchart TD
|
|
|
138
149
|
CodexDir[~/.codex]
|
|
139
150
|
ClaudeDir[~/.claude]
|
|
140
151
|
ClawDir[~/.openclaw]
|
|
152
|
+
OpenCodeDir[~/.config/opencode]
|
|
153
|
+
MateDir[~/.codexmate]
|
|
141
154
|
State[会话/Usage/回收站]
|
|
142
155
|
end
|
|
143
156
|
|
|
@@ -146,7 +159,7 @@ flowchart TD
|
|
|
146
159
|
|
|
147
160
|
API --> Config & Session & Skills & Tasks
|
|
148
161
|
|
|
149
|
-
Config --> CodexDir & ClaudeDir & ClawDir
|
|
162
|
+
Config --> CodexDir & ClaudeDir & ClawDir & OpenCodeDir & MateDir
|
|
150
163
|
Session --> State
|
|
151
164
|
Skills --> Local
|
|
152
165
|
```
|