codexmate 0.0.21 → 0.0.22
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 +389 -284
- package/README.zh.md +321 -0
- package/cli/agents-files.js +224 -162
- package/cli/archive-helpers.js +446 -446
- package/cli/auth-profiles.js +359 -359
- package/cli/builtin-proxy.js +1044 -580
- package/cli/claude-proxy.js +998 -998
- package/cli/config-bootstrap.js +384 -384
- package/cli/config-health.js +338 -338
- package/cli/openai-bridge.js +950 -0
- package/cli/openclaw-config.js +629 -629
- package/cli/session-usage.concurrent.js +28 -0
- package/cli/session-usage.js +112 -0
- package/cli/session-usage.models.js +176 -0
- package/cli/skills.js +1141 -1141
- package/cli/zip-commands.js +510 -510
- package/cli.js +13214 -13129
- package/lib/cli-file-utils.js +151 -151
- package/lib/cli-models-utils.js +419 -419
- package/lib/cli-network-utils.js +164 -164
- package/lib/cli-path-utils.js +69 -69
- package/lib/cli-session-utils.js +121 -121
- package/lib/cli-sessions.js +386 -386
- package/lib/cli-utils.js +155 -155
- package/lib/download-artifacts.js +77 -77
- package/lib/mcp-stdio.js +440 -440
- package/lib/task-orchestrator.js +869 -869
- package/lib/text-diff.js +303 -303
- package/lib/workflow-engine.js +340 -340
- package/package.json +74 -74
- package/res/json5.min.js +1 -1
- package/res/logo.png +0 -0
- package/res/vue.global.prod.js +13 -13
- package/web-ui/app.js +575 -530
- package/web-ui/index.html +34 -33
- package/web-ui/logic.agents-diff.mjs +386 -386
- package/web-ui/logic.claude.mjs +168 -168
- package/web-ui/logic.mjs +5 -5
- package/web-ui/logic.runtime.mjs +128 -124
- package/web-ui/logic.sessions.mjs +614 -581
- package/web-ui/modules/api.mjs +90 -90
- package/web-ui/modules/app.computed.dashboard.mjs +126 -113
- package/web-ui/modules/app.computed.index.mjs +17 -15
- package/web-ui/modules/app.computed.main-tabs.mjs +198 -195
- package/web-ui/modules/app.computed.session.mjs +653 -507
- package/web-ui/modules/app.constants.mjs +15 -15
- package/web-ui/modules/app.methods.agents.mjs +544 -493
- package/web-ui/modules/app.methods.claude-config.mjs +174 -174
- package/web-ui/modules/app.methods.codex-config.mjs +795 -640
- package/web-ui/modules/app.methods.index.mjs +92 -88
- package/web-ui/modules/app.methods.install.mjs +161 -149
- package/web-ui/modules/app.methods.navigation.mjs +619 -619
- package/web-ui/modules/app.methods.openclaw-core.mjs +814 -814
- package/web-ui/modules/app.methods.openclaw-editing.mjs +372 -372
- package/web-ui/modules/app.methods.openclaw-persist.mjs +369 -369
- package/web-ui/modules/app.methods.providers.mjs +404 -363
- package/web-ui/modules/app.methods.runtime.mjs +323 -323
- package/web-ui/modules/app.methods.session-actions.mjs +537 -520
- package/web-ui/modules/app.methods.session-browser.mjs +626 -626
- package/web-ui/modules/app.methods.session-timeline.mjs +448 -448
- package/web-ui/modules/app.methods.session-trash.mjs +422 -422
- package/web-ui/modules/app.methods.startup-claude.mjs +405 -412
- package/web-ui/modules/app.methods.task-orchestration.mjs +471 -471
- package/web-ui/modules/config-mode.computed.mjs +126 -126
- package/web-ui/modules/config-template-confirm-pref.mjs +33 -0
- package/web-ui/modules/i18n.mjs +1609 -0
- package/web-ui/modules/plugins.computed.mjs +220 -0
- package/web-ui/modules/plugins.methods.mjs +620 -0
- package/web-ui/modules/plugins.storage.mjs +37 -0
- package/web-ui/modules/skills.computed.mjs +107 -107
- package/web-ui/modules/skills.methods.mjs +481 -481
- package/web-ui/partials/index/layout-footer.html +13 -13
- package/web-ui/partials/index/layout-header.html +461 -402
- package/web-ui/partials/index/modal-config-template-agents.html +175 -125
- package/web-ui/partials/index/modal-confirm-toast.html +32 -32
- package/web-ui/partials/index/modal-health-check.html +72 -72
- package/web-ui/partials/index/modal-openclaw-config.html +280 -280
- package/web-ui/partials/index/modal-skills.html +200 -184
- package/web-ui/partials/index/modals-basic.html +165 -156
- package/web-ui/partials/index/panel-config-claude.html +138 -126
- package/web-ui/partials/index/panel-config-codex.html +234 -237
- package/web-ui/partials/index/panel-config-openclaw.html +78 -78
- package/web-ui/partials/index/panel-docs.html +147 -130
- package/web-ui/partials/index/panel-market.html +174 -174
- package/web-ui/partials/index/panel-orchestration.html +397 -397
- package/web-ui/partials/index/panel-plugins.html +243 -0
- package/web-ui/partials/index/panel-sessions.html +292 -292
- package/web-ui/partials/index/panel-settings.html +258 -190
- package/web-ui/partials/index/panel-usage.html +353 -213
- package/web-ui/session-helpers.mjs +573 -559
- package/web-ui/source-bundle.cjs +233 -233
- package/web-ui/styles/base-theme.css +264 -271
- package/web-ui/styles/controls-forms.css +362 -360
- package/web-ui/styles/docs-panel.css +247 -182
- package/web-ui/styles/feedback.css +108 -108
- package/web-ui/styles/health-check-dialog.css +144 -144
- package/web-ui/styles/layout-shell.css +596 -376
- package/web-ui/styles/modals-core.css +464 -464
- package/web-ui/styles/navigation-panels.css +382 -348
- package/web-ui/styles/openclaw-structured.css +266 -266
- package/web-ui/styles/plugins-panel.css +518 -0
- package/web-ui/styles/responsive.css +456 -450
- package/web-ui/styles/sessions-list.css +400 -400
- package/web-ui/styles/sessions-preview.css +411 -411
- package/web-ui/styles/sessions-toolbar-trash.css +268 -243
- package/web-ui/styles/sessions-usage.css +851 -628
- package/web-ui/styles/settings-panel.css +166 -0
- package/web-ui/styles/skills-list.css +303 -296
- package/web-ui/styles/skills-market.css +396 -335
- package/web-ui/styles/task-orchestration.css +776 -776
- package/web-ui/styles/titles-cards.css +408 -408
- package/web-ui/styles.css +20 -18
- package/web-ui.html +17 -17
- package/README.en.md +0 -349
package/web-ui/styles.css
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
@import url('./styles/base-theme.css');
|
|
2
|
-
@import url('./styles/layout-shell.css');
|
|
3
|
-
@import url('./styles/navigation-panels.css');
|
|
4
|
-
@import url('./styles/titles-cards.css');
|
|
5
|
-
@import url('./styles/controls-forms.css');
|
|
6
|
-
@import url('./styles/
|
|
7
|
-
@import url('./styles/sessions-
|
|
8
|
-
@import url('./styles/sessions-
|
|
9
|
-
@import url('./styles/sessions-
|
|
10
|
-
@import url('./styles/
|
|
11
|
-
@import url('./styles/
|
|
12
|
-
@import url('./styles/
|
|
13
|
-
@import url('./styles/
|
|
14
|
-
@import url('./styles/
|
|
15
|
-
@import url('./styles/skills-
|
|
16
|
-
@import url('./styles/
|
|
17
|
-
@import url('./styles/
|
|
18
|
-
@import url('./styles/
|
|
1
|
+
@import url('./styles/base-theme.css');
|
|
2
|
+
@import url('./styles/layout-shell.css');
|
|
3
|
+
@import url('./styles/navigation-panels.css');
|
|
4
|
+
@import url('./styles/titles-cards.css');
|
|
5
|
+
@import url('./styles/controls-forms.css');
|
|
6
|
+
@import url('./styles/settings-panel.css');
|
|
7
|
+
@import url('./styles/sessions-toolbar-trash.css');
|
|
8
|
+
@import url('./styles/sessions-list.css');
|
|
9
|
+
@import url('./styles/sessions-preview.css');
|
|
10
|
+
@import url('./styles/sessions-usage.css');
|
|
11
|
+
@import url('./styles/task-orchestration.css');
|
|
12
|
+
@import url('./styles/modals-core.css');
|
|
13
|
+
@import url('./styles/health-check-dialog.css');
|
|
14
|
+
@import url('./styles/openclaw-structured.css');
|
|
15
|
+
@import url('./styles/skills-market.css');
|
|
16
|
+
@import url('./styles/skills-list.css');
|
|
17
|
+
@import url('./styles/plugins-panel.css');
|
|
18
|
+
@import url('./styles/docs-panel.css');
|
|
19
|
+
@import url('./styles/feedback.css');
|
|
20
|
+
@import url('./styles/responsive.css');
|
package/web-ui.html
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="zh-CN">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>Codex Mate</title>
|
|
7
|
-
<meta http-equiv="refresh" content="0; url=./web-ui/index.html">
|
|
8
|
-
<script>
|
|
9
|
-
window.location.href = './web-ui/index.html';
|
|
10
|
-
</script>
|
|
11
|
-
</head>
|
|
12
|
-
<body>
|
|
13
|
-
<p>Redirecting to <a href="./web-ui/index.html">Web UI</a>...</p>
|
|
14
|
-
<p>If not redirected automatically, <a href="./web-ui/index.html">click here</a>.</p>
|
|
15
|
-
<noscript>JavaScript is disabled. Please <a href="./web-ui/index.html">click here</a> to open the Web UI.</noscript>
|
|
16
|
-
</body>
|
|
17
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="zh-CN">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>Codex Mate</title>
|
|
7
|
+
<meta http-equiv="refresh" content="0; url=./web-ui/index.html">
|
|
8
|
+
<script>
|
|
9
|
+
window.location.href = './web-ui/index.html';
|
|
10
|
+
</script>
|
|
11
|
+
</head>
|
|
12
|
+
<body>
|
|
13
|
+
<p>Redirecting to <a href="./web-ui/index.html">Web UI</a>...</p>
|
|
14
|
+
<p>If not redirected automatically, <a href="./web-ui/index.html">click here</a>.</p>
|
|
15
|
+
<noscript>JavaScript is disabled. Please <a href="./web-ui/index.html">click here</a> to open the Web UI.</noscript>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
package/README.en.md
DELETED
|
@@ -1,349 +0,0 @@
|
|
|
1
|
-
<div align="center">
|
|
2
|
-
|
|
3
|
-
<img src="res/logo.png" alt="Codex Mate logo" width="180" />
|
|
4
|
-
|
|
5
|
-
# Codex Mate
|
|
6
|
-
|
|
7
|
-
**Local configuration and session manager for Codex / Claude Code / OpenClaw**
|
|
8
|
-
|
|
9
|
-
[](https://github.com/SakuraByteCore/codexmate/actions/workflows/release.yml)
|
|
10
|
-
[](https://www.npmjs.com/package/codexmate)
|
|
11
|
-
[](https://www.npmjs.com/package/codexmate)
|
|
12
|
-
[](LICENSE)
|
|
13
|
-
[](https://nodejs.org/)
|
|
14
|
-
|
|
15
|
-
[Quick Start](#quick-start) · [Commands](#command-reference) · [Web UI](#web-ui) · [MCP](#mcp) · [中文](README.md)
|
|
16
|
-
|
|
17
|
-
</div>
|
|
18
|
-
|
|
19
|
-
---
|
|
20
|
-
|
|
21
|
-
## What Is This?
|
|
22
|
-
|
|
23
|
-
Codex Mate is a local-first CLI + Web UI for unified management of:
|
|
24
|
-
|
|
25
|
-
- Codex provider/model switching and config writes
|
|
26
|
-
- Claude Code profiles (writes to `~/.claude/settings.json`)
|
|
27
|
-
- OpenClaw JSON5 profiles and workspace `AGENTS.md`
|
|
28
|
-
- Local skills market for Codex / Claude Code (target switching, local skills management, cross-app import, ZIP distribution)
|
|
29
|
-
- Local Codex/Claude sessions (list/filter/export/delete) with Usage analytics overview
|
|
30
|
-
|
|
31
|
-
It works on local files directly and does not require cloud hosting. The skills market is also local-first: it operates on local directories and does not depend on a remote marketplace.
|
|
32
|
-
|
|
33
|
-
## Comparison
|
|
34
|
-
|
|
35
|
-
| Dimension | Codex Mate | Manual File Editing |
|
|
36
|
-
| --- | --- | --- |
|
|
37
|
-
| Multi-tool management | Codex + Claude Code + OpenClaw in one entry | Different files and folders per tool |
|
|
38
|
-
| Operation mode | CLI + local Web UI | Manual TOML/JSON/JSON5 edits |
|
|
39
|
-
| Session handling | Browse/filter/Usage analytics/export/batch cleanup | Manual file location and processing |
|
|
40
|
-
| Skills reuse | Local skills market + cross-app import + ZIP distribution | Manual folder copy and reconciliation |
|
|
41
|
-
| Operational visibility | Unified view of config, sessions, and Usage summaries | Depends on manual file inspection and scattered commands |
|
|
42
|
-
| Rollback readiness | Backup before first takeover | Easy to overwrite by mistake |
|
|
43
|
-
| Automation integration | MCP stdio (read-only by default) | Requires custom scripting |
|
|
44
|
-
|
|
45
|
-
## Core Features
|
|
46
|
-
|
|
47
|
-
**Configuration**
|
|
48
|
-
- Provider/model switching (`switch`, `use`)
|
|
49
|
-
- Codex `config.toml` template confirmation before write
|
|
50
|
-
- Claude Code profile management and apply
|
|
51
|
-
- OpenClaw JSON5 profile management
|
|
52
|
-
|
|
53
|
-
**Session Management**
|
|
54
|
-
- Unified Codex + Claude session list
|
|
55
|
-
- Local session pinning with persistent pinned state and pinned-first ordering
|
|
56
|
-
- Keyword/source/cwd filters
|
|
57
|
-
- Usage subview with 7d / 30d session trends, message trends, source share, and top paths
|
|
58
|
-
- Markdown export
|
|
59
|
-
- Session-level and message-level delete (supports batch)
|
|
60
|
-
|
|
61
|
-
**Skills Market**
|
|
62
|
-
- Switch the skills install target between Codex and Claude Code
|
|
63
|
-
- Inspect local installed skills, root paths, and status
|
|
64
|
-
- Scan importable sources from `Codex` / `Claude Code` / `Agents`
|
|
65
|
-
- Support cross-app import, ZIP import/export, and batch delete
|
|
66
|
-
|
|
67
|
-
**Engineering Utilities**
|
|
68
|
-
- MCP stdio domains (`tools`, `resources`, `prompts`)
|
|
69
|
-
- Built-in proxy controls (`proxy`)
|
|
70
|
-
- Auth profile management (`auth`)
|
|
71
|
-
- Zip/unzip utilities
|
|
72
|
-
|
|
73
|
-
## Architecture
|
|
74
|
-
|
|
75
|
-
### At a glance (what it does → what you get)
|
|
76
|
-
|
|
77
|
-
```mermaid
|
|
78
|
-
flowchart LR
|
|
79
|
-
subgraph You["You"]
|
|
80
|
-
CLI["CLI"]
|
|
81
|
-
WEB["Web UI"]
|
|
82
|
-
MCP["MCP (stdio)"]
|
|
83
|
-
end
|
|
84
|
-
|
|
85
|
-
subgraph Mate["Codex Mate (local control panel)"]
|
|
86
|
-
API["Local HTTP API"]
|
|
87
|
-
CFG["Config management"]
|
|
88
|
-
SESS["Sessions & Usage"]
|
|
89
|
-
SKL["Skills management"]
|
|
90
|
-
end
|
|
91
|
-
|
|
92
|
-
subgraph Files["Local files only (auditable & reversible)"]
|
|
93
|
-
CODEX["~/.codex/*"]
|
|
94
|
-
CLAUDE["~/.claude/settings.json"]
|
|
95
|
-
OPENCLAW["~/.openclaw/*.json5 + ~/.openclaw/openclaw.json + workspace/AGENTS.md"]
|
|
96
|
-
SKILLS["~/.{codex,claude,agents}/skills"]
|
|
97
|
-
STATE["sessions / usage / trash / runs"]
|
|
98
|
-
end
|
|
99
|
-
|
|
100
|
-
CLI --> API
|
|
101
|
-
WEB --> API
|
|
102
|
-
MCP --> API
|
|
103
|
-
|
|
104
|
-
API --> CFG
|
|
105
|
-
API --> SESS
|
|
106
|
-
API --> SKL
|
|
107
|
-
|
|
108
|
-
CFG --> CODEX
|
|
109
|
-
CFG --> CLAUDE
|
|
110
|
-
CFG --> OPENCLAW
|
|
111
|
-
SKL --> SKILLS
|
|
112
|
-
SESS --> STATE
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
### Capability → Local target → Outcome
|
|
116
|
-
|
|
117
|
-
| Capability | Local target | What you get |
|
|
118
|
-
| --- | --- | --- |
|
|
119
|
-
| Config management (Codex / Claude / OpenClaw) | `~/.codex/*`, `~/.claude/settings.json`, `~/.openclaw/*` | Faster provider/model switching, multi-profile management, safer writes with backups |
|
|
120
|
-
| Sessions & Usage | sessions / usage aggregates / trash | Quickly locate sessions, filter/export, batch cleanup, and view trends |
|
|
121
|
-
| Skills market | `~/.{codex,claude,agents}/skills` | Local install/import/export (ZIP), cross-app reuse |
|
|
122
|
-
| MCP (stdio) | local API + file operations | Integrate with external tools under controllable permissions (read-only by default) |
|
|
123
|
-
|
|
124
|
-
## Quick Start
|
|
125
|
-
|
|
126
|
-
### Install from npm
|
|
127
|
-
|
|
128
|
-
```bash
|
|
129
|
-
npm install -g codexmate
|
|
130
|
-
codexmate setup
|
|
131
|
-
codexmate status
|
|
132
|
-
codexmate run
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
Default listen address is `0.0.0.0:3737` for LAN access, and browser auto-open is enabled by default.
|
|
136
|
-
|
|
137
|
-
> Safety note: the unauthenticated management UI is exposed to your current LAN by default. Use trusted networks only; for local-only access, set `CODEXMATE_HOST=127.0.0.1` or pass `--host 127.0.0.1`.
|
|
138
|
-
|
|
139
|
-
### Run from source
|
|
140
|
-
|
|
141
|
-
```bash
|
|
142
|
-
git clone https://github.com/SakuraByteCore/codexmate.git
|
|
143
|
-
cd codexmate
|
|
144
|
-
npm install
|
|
145
|
-
npm start run
|
|
146
|
-
```
|
|
147
|
-
|
|
148
|
-
### Tests / CI (service only)
|
|
149
|
-
|
|
150
|
-
```bash
|
|
151
|
-
npm start run --no-browser
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
> Convention: automated tests validate service and API behavior only, without opening browser pages.
|
|
155
|
-
|
|
156
|
-
### Developer helper scripts
|
|
157
|
-
|
|
158
|
-
```bash
|
|
159
|
-
npm run reset
|
|
160
|
-
npm run reset 79
|
|
161
|
-
```
|
|
162
|
-
|
|
163
|
-
- `npm run reset`: prompt for a PR number; leave it blank to return to default `origin/main`
|
|
164
|
-
- `npm run reset 79`: sync directly to the latest head snapshot of PR `#79`
|
|
165
|
-
- The script also handles local branch switching, workspace cleanup, untracked file cleanup, and final state validation
|
|
166
|
-
|
|
167
|
-
## Command Reference
|
|
168
|
-
|
|
169
|
-
| Command | Description |
|
|
170
|
-
| --- | --- |
|
|
171
|
-
| `codexmate status` | Show current config status |
|
|
172
|
-
| `codexmate setup` | Interactive setup |
|
|
173
|
-
| `codexmate list` / `codexmate models` | List providers / models |
|
|
174
|
-
| `codexmate switch <provider>` / `codexmate use <model>` | Switch provider / model |
|
|
175
|
-
| `codexmate add <name> <URL> [API_KEY]` | Add provider |
|
|
176
|
-
| `codexmate delete <name>` | Delete provider |
|
|
177
|
-
| `codexmate claude <BaseURL> <API_KEY> [model]` | Write Claude Code config |
|
|
178
|
-
| `codexmate auth <list\|import\|switch\|delete\|status>` | Auth profile management |
|
|
179
|
-
| `codexmate proxy <status\|set\|apply\|enable\|start\|stop>` | Built-in proxy management |
|
|
180
|
-
| `codexmate workflow <list\|get\|validate\|run\|runs>` | MCP workflow management |
|
|
181
|
-
| `codexmate codex [args...] [--follow-up <text> repeatable]` | Codex CLI passthrough entrypoint (auto-adds `--yolo`, supports queued follow-up appends) |
|
|
182
|
-
| `codexmate qwen [args...]` | Qwen CLI passthrough entrypoint |
|
|
183
|
-
| `codexmate run [--host <HOST>] [--no-browser]` | Start Web UI |
|
|
184
|
-
| `codexmate mcp serve [--read-only\|--allow-write]` | Start MCP stdio server |
|
|
185
|
-
| `codexmate export-session --source <codex\|claude> ...` | Export session to Markdown |
|
|
186
|
-
| `codexmate zip <path> [--max:0-9]` / `codexmate unzip <zip> [out]` | Zip / unzip |
|
|
187
|
-
| `codexmate unzip-ext <zip-dir> [out] [--ext:suffix[,suffix...]] [--no-recursive]` | Extract files with target suffixes from ZIP files in a directory (default `.json`, recursive by default) |
|
|
188
|
-
|
|
189
|
-
### Codex Follow-up Append (Optional)
|
|
190
|
-
|
|
191
|
-
```bash
|
|
192
|
-
codexmate codex --follow-up "scan repository first" --follow-up "then fix failing tests"
|
|
193
|
-
codexmate codex --model gpt-5.3-codex --follow-up "step1" --follow-up "step2"
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
> Note: both `--follow-up` and `--queued-follow-up` are accepted and repeatable.
|
|
197
|
-
|
|
198
|
-
## Web UI
|
|
199
|
-
|
|
200
|
-
### Codex Mode
|
|
201
|
-
- Provider/model switching
|
|
202
|
-
- Model list management
|
|
203
|
-
- `~/.codex/AGENTS.md` editing
|
|
204
|
-
|
|
205
|
-
### Claude Code Mode
|
|
206
|
-
- Multi-profile management
|
|
207
|
-
- Default write to `~/.claude/settings.json`
|
|
208
|
-
- Shareable import command copy
|
|
209
|
-
|
|
210
|
-
### OpenClaw Mode
|
|
211
|
-
- JSON5 multi-profile management
|
|
212
|
-
- Apply to `~/.openclaw/openclaw.json`
|
|
213
|
-
- Manage `~/.openclaw/workspace/AGENTS.md`
|
|
214
|
-
|
|
215
|
-
### Sessions Mode
|
|
216
|
-
- Unified Codex + Claude sessions
|
|
217
|
-
- Browser / Usage subview switching
|
|
218
|
-
- Local pin/unpin with persistent storage and pinned-first ordering
|
|
219
|
-
- Search, filter, export, delete, batch cleanup
|
|
220
|
-
- Usage view includes 7d / 30d session trends, message trends, source share, and top paths
|
|
221
|
-
|
|
222
|
-
### Skills Market Tab
|
|
223
|
-
- Switch the skills install target between `Codex` and `Claude Code`
|
|
224
|
-
- Show the current local skills root, installed items, and importable items
|
|
225
|
-
- Scan importable sources under `Codex` / `Claude Code` / `Agents`
|
|
226
|
-
- Support cross-app import, ZIP import/export, and batch delete
|
|
227
|
-
|
|
228
|
-
## MCP
|
|
229
|
-
|
|
230
|
-
> Transport: `stdio`
|
|
231
|
-
|
|
232
|
-
- Default: read-only tools
|
|
233
|
-
- Enable writes: `--allow-write` or `CODEXMATE_MCP_ALLOW_WRITE=1`
|
|
234
|
-
- Domains: `tools`, `resources`, `prompts`
|
|
235
|
-
|
|
236
|
-
Examples:
|
|
237
|
-
|
|
238
|
-
```bash
|
|
239
|
-
codexmate mcp serve --read-only
|
|
240
|
-
codexmate mcp serve --allow-write
|
|
241
|
-
```
|
|
242
|
-
|
|
243
|
-
## Config Files
|
|
244
|
-
|
|
245
|
-
- `~/.codex/config.toml`
|
|
246
|
-
- `~/.codex/auth.json`
|
|
247
|
-
- `~/.codex/models.json`
|
|
248
|
-
- `~/.codex/provider-current-models.json`
|
|
249
|
-
- `~/.claude/settings.json`
|
|
250
|
-
- `~/.openclaw/openclaw.json`
|
|
251
|
-
- `~/.openclaw/workspace/AGENTS.md`
|
|
252
|
-
|
|
253
|
-
## Environment Variables
|
|
254
|
-
|
|
255
|
-
| Variable | Default | Description |
|
|
256
|
-
| --- | --- | --- |
|
|
257
|
-
| `CODEXMATE_PORT` | `3737` | Web server port |
|
|
258
|
-
| `CODEXMATE_HOST` | `0.0.0.0` | Web listen host (set `127.0.0.1` for local-only access) |
|
|
259
|
-
| `CODEXMATE_NO_BROWSER` | unset | Set `1` to disable browser auto-open |
|
|
260
|
-
| `CODEXMATE_MCP_ALLOW_WRITE` | unset | Set `1` to allow MCP write tools by default |
|
|
261
|
-
| `CODEXMATE_FORCE_RESET_EXISTING_CONFIG` | `0` | Set `1` to force bootstrap reset of existing config |
|
|
262
|
-
|
|
263
|
-
## Tech Stack
|
|
264
|
-
|
|
265
|
-
- Node.js
|
|
266
|
-
- Vue.js 3 (Web UI)
|
|
267
|
-
- Native HTTP server
|
|
268
|
-
- `@iarna/toml`, `json5`
|
|
269
|
-
|
|
270
|
-
## Contributing
|
|
271
|
-
|
|
272
|
-
Issues and pull requests are accepted.
|
|
273
|
-
|
|
274
|
-
## License
|
|
275
|
-
|
|
276
|
-
Apache-2.0
|
|
277
|
-
|
|
278
|
-
### Claude Code Mode
|
|
279
|
-
- Multi-profile management
|
|
280
|
-
- Default write to `~/.claude/settings.json`
|
|
281
|
-
- Shareable import command copy
|
|
282
|
-
|
|
283
|
-
### OpenClaw Mode
|
|
284
|
-
- JSON5 multi-profile management
|
|
285
|
-
- Apply to `~/.openclaw/openclaw.json`
|
|
286
|
-
- Manage `~/.openclaw/workspace/AGENTS.md`
|
|
287
|
-
|
|
288
|
-
### Sessions Mode
|
|
289
|
-
- Unified Codex + Claude sessions
|
|
290
|
-
- Browser / Usage subview switching
|
|
291
|
-
- Local pin/unpin with persistent storage and pinned-first ordering
|
|
292
|
-
- Search, filter, export, delete, batch cleanup
|
|
293
|
-
- Usage view includes 7d / 30d session trends, message trends, source share, and top paths
|
|
294
|
-
|
|
295
|
-
### Skills Market Tab
|
|
296
|
-
- Switch the skills install target between `Codex` and `Claude Code`
|
|
297
|
-
- Show the current local skills root, installed items, and importable items
|
|
298
|
-
- Scan importable sources under `Codex` / `Claude Code` / `Agents`
|
|
299
|
-
- Support cross-app import, ZIP import/export, and batch delete
|
|
300
|
-
|
|
301
|
-
## MCP
|
|
302
|
-
|
|
303
|
-
> Transport: `stdio`
|
|
304
|
-
|
|
305
|
-
- Default: read-only tools
|
|
306
|
-
- Enable writes: `--allow-write` or `CODEXMATE_MCP_ALLOW_WRITE=1`
|
|
307
|
-
- Domains: `tools`, `resources`, `prompts`
|
|
308
|
-
|
|
309
|
-
Examples:
|
|
310
|
-
|
|
311
|
-
```bash
|
|
312
|
-
codexmate mcp serve --read-only
|
|
313
|
-
codexmate mcp serve --allow-write
|
|
314
|
-
```
|
|
315
|
-
|
|
316
|
-
## Config Files
|
|
317
|
-
|
|
318
|
-
- `~/.codex/config.toml`
|
|
319
|
-
- `~/.codex/auth.json`
|
|
320
|
-
- `~/.codex/models.json`
|
|
321
|
-
- `~/.codex/provider-current-models.json`
|
|
322
|
-
- `~/.claude/settings.json`
|
|
323
|
-
- `~/.openclaw/openclaw.json`
|
|
324
|
-
- `~/.openclaw/workspace/AGENTS.md`
|
|
325
|
-
|
|
326
|
-
## Environment Variables
|
|
327
|
-
|
|
328
|
-
| Variable | Default | Description |
|
|
329
|
-
| --- | --- | --- |
|
|
330
|
-
| `CODEXMATE_PORT` | `3737` | Web server port |
|
|
331
|
-
| `CODEXMATE_HOST` | `0.0.0.0` | Web listen host (set `127.0.0.1` for local-only access) |
|
|
332
|
-
| `CODEXMATE_NO_BROWSER` | unset | Set `1` to disable browser auto-open |
|
|
333
|
-
| `CODEXMATE_MCP_ALLOW_WRITE` | unset | Set `1` to allow MCP write tools by default |
|
|
334
|
-
| `CODEXMATE_FORCE_RESET_EXISTING_CONFIG` | `0` | Set `1` to force bootstrap reset of existing config |
|
|
335
|
-
|
|
336
|
-
## Tech Stack
|
|
337
|
-
|
|
338
|
-
- Node.js
|
|
339
|
-
- Vue.js 3 (Web UI)
|
|
340
|
-
- Native HTTP server
|
|
341
|
-
- `@iarna/toml`, `json5`
|
|
342
|
-
|
|
343
|
-
## Contributing
|
|
344
|
-
|
|
345
|
-
Issues and pull requests are accepted.
|
|
346
|
-
|
|
347
|
-
## License
|
|
348
|
-
|
|
349
|
-
Apache-2.0
|