codexmate 0.1.35 → 0.1.37
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 +102 -100
- package/README.vi.md +105 -93
- package/README.zh.md +102 -98
- package/cli/skills.js +103 -4
- package/cli.js +5 -2
- package/package.json +1 -1
- package/web-ui/app.js +14 -0
- package/web-ui/logic.codex.mjs +14 -0
- package/web-ui/modules/app.computed.main-tabs.mjs +12 -0
- package/web-ui/modules/app.methods.agents.mjs +0 -3
- package/web-ui/modules/app.methods.claude-config.mjs +26 -5
- package/web-ui/modules/app.methods.install.mjs +13 -17
- package/web-ui/modules/app.methods.navigation.mjs +1 -1
- package/web-ui/modules/app.methods.openclaw-editing.mjs +29 -0
- package/web-ui/modules/app.methods.openclaw-persist.mjs +3 -3
- package/web-ui/modules/app.methods.opencode-config.mjs +34 -0
- package/web-ui/modules/app.methods.pi-config.mjs +14 -9
- package/web-ui/modules/app.methods.prompts-editor.mjs +30 -6
- package/web-ui/modules/app.methods.providers.mjs +11 -0
- package/web-ui/modules/app.methods.session-trash.mjs +4 -5
- package/web-ui/modules/app.methods.startup-claude.mjs +11 -5
- package/web-ui/modules/claude-provider-presets.mjs +23 -0
- package/web-ui/modules/i18n/locales/en.mjs +29 -0
- package/web-ui/modules/i18n/locales/ja.mjs +29 -0
- package/web-ui/modules/i18n/locales/vi.mjs +29 -0
- package/web-ui/modules/i18n/locales/zh-tw.mjs +29 -0
- package/web-ui/modules/i18n/locales/zh.mjs +29 -0
- package/web-ui/modules/pi-provider-templates.mjs +6 -1
- package/web-ui/modules/session-features.mjs +25 -1
- package/web-ui/modules/skills.methods.mjs +61 -16
- package/web-ui/partials/index/layout-header.html +36 -37
- package/web-ui/partials/index/modal-openclaw-config.html +3 -0
- package/web-ui/partials/index/modals-basic.html +1 -1
- package/web-ui/partials/index/modals-pi-provider.html +1 -1
- package/web-ui/partials/index/panel-config-claude.html +4 -21
- package/web-ui/partials/index/panel-config-codex.html +3 -1
- package/web-ui/partials/index/panel-config-opencode.html +4 -0
- package/web-ui/partials/index/panel-market.html +10 -3
- package/web-ui/partials/index/panel-prompts.html +40 -20
- package/web-ui/partials/index/panel-settings.html +45 -0
- package/web-ui/partials/index/session-features.html +24 -7
- package/web-ui/res/web-ui-render.precompiled.js +531 -271
- package/web-ui/styles/layout-shell.css +41 -70
- package/web-ui/styles/prompts-editor.css +127 -27
- package/web-ui/styles/session-features.css +12 -1
- package/web-ui/styles/settings-panel.css +4 -0
- package/web-ui/styles/system-prompt.css +9 -4
- package/web-ui/styles/theme-dark.css +0 -18
- package/web-ui/styles/theme-ocean.css +0 -14
- package/web-ui/styles/theme-violet.css +0 -23
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
|
-
<img src="site/.vitepress/public/images/logo.png" alt="Codex Mate logo" width="
|
|
3
|
+
<img src="site/.vitepress/public/images/logo.png" alt="Codex Mate logo" width="96" />
|
|
4
4
|
|
|
5
5
|
# Codex Mate
|
|
6
6
|
|
|
@@ -9,83 +9,34 @@
|
|
|
9
9
|
Codex Mate is a locally running CLI + Web tool for browsing, filtering, and exporting existing sessions in one place, with Provider, Skills, and task management when you need them.
|
|
10
10
|
|
|
11
11
|
<p>
|
|
12
|
-
<a href="https://sakurabytecore.github.io/codexmate/">
|
|
13
|
-
<a href="#quick-start">
|
|
14
|
-
<a href="README.zh.md"
|
|
15
|
-
<a href="README.vi.md">
|
|
12
|
+
<a href="https://sakurabytecore.github.io/codexmate/">Documentation</a>
|
|
13
|
+
<a href="#quick-start">Quick Start</a>
|
|
14
|
+
<a href="README.zh.md">简体中文</a>
|
|
15
|
+
<a href="README.vi.md">Tiếng Việt</a>
|
|
16
16
|
</p>
|
|
17
17
|
|
|
18
18
|
[](https://www.npmjs.com/package/codexmate)
|
|
19
19
|
[](https://github.com/SakuraByteCore/codexmate/actions/workflows/release.yml)
|
|
20
20
|
[](https://www.npmjs.com/package/codexmate)
|
|
21
|
-
[](#install-via-homebrew-macos--linux)
|
|
22
|
-
[](#quick-start)
|
|
23
|
-
[](https://nodejs.org/)
|
|
24
21
|
[](LICENSE)
|
|
25
22
|
[](https://github.com/SakuraByteCore/codexmate/stargazers)
|
|
26
|
-
[](https://github.com/SakuraByteCore/codexmate/issues)
|
|
27
|
-
[](https://stackmap.shipwithai.xyz/repos/SakuraByteCore/codexmate?utm_source=badge)
|
|
28
|
-
|
|
29
|
-
<br />
|
|
30
23
|
|
|
31
24
|
</div>
|
|
32
25
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
Expand UTC usage records on demand to separate recorded tokens, cache categories and full saved-text estimates. Record adapters cover Codex, Claude, Pi and Gemini JSON sessions; existing charts and default exports keep their original semantics. No cost calculation. Use `codexmate analytics export --attribution records`. See the [usage guide](https://sakurabytecore.github.io/codexmate/guide/sessions#%E7%94%A8%E9%87%8F%E8%AE%B0%E5%BD%95%E6%98%8E%E7%BB%86).
|
|
36
|
-
|
|
37
|
-
### File sharing
|
|
38
|
-
|
|
39
|
-
Select files or a folder, then upload explicitly. Download copies or copy LAN links valid for 60 minutes. Downloads use a separate port without management API access. Removing a batch or stopping the service invalidates its links and preserves the originals. See the [file-sharing guide](https://sakurabytecore.github.io/codexmate/guide/web-ui#%E6%96%87%E4%BB%B6%E5%85%B1%E4%BA%AB).
|
|
40
|
-
|
|
41
|
-
### Appearance themes
|
|
42
|
-
|
|
43
|
-
Choose Light, Dark, Ocean or Violet in Settings. Violet adapts [Catppuccin Latte](https://github.com/catppuccin/palette) with light surfaces and a purple accent. Your theme is saved automatically and restored after reload.
|
|
44
|
-
|
|
45
|
-
<a id="routing-groups"></a>
|
|
46
|
-
### Model test
|
|
47
|
-
|
|
48
|
-
The selected Codex/Pi subtab is saved and restored after reload. Choose a provider and model from existing configuration, enter a message and send it. View the Markdown reply, returned model ID and response time in seconds. Tests consume API credits without starting CLIs, changing configuration or saving test history. Each test sends one request without retries, sets no local response deadline and limits output to 2048 tokens. Supports configured Responses, Chat Completions, Completions and Anthropic Messages; native login and command-based credentials are not integrated. Group settings are no longer shown in the Web UI; existing backend routing and OpenAI Chat API behavior is unchanged. See the [Web UI guide](https://sakurabytecore.github.io/codexmate/guide/web-ui).
|
|
49
|
-
|
|
50
|
-
Tests use Codex UA/Originator or Pi SDK headers, with configured UA overrides taking priority. They read Codex reasoning/output settings and Pi model token limits and compatibility flags. If the installed client version cannot be resolved, requests identify as versioned CodexMate tests rather than inventing a client version.
|
|
26
|
+
## One place for your AI coding history
|
|
51
27
|
|
|
52
|
-
|
|
28
|
+
- **Find the conversation** — Browse records from Codex, Claude Code, Gemini CLI, Pi, OpenCode and more; narrow the list by source, project or time.
|
|
29
|
+
- **Keep the useful parts** — Open a conversation, check the content and export Markdown for project notes or a handoff. Search and export support varies by source.
|
|
30
|
+
- **Manage the tools around it** — Switch providers and models, reuse Skills and prompts, and advance existing task workflows without replacing your coding assistant.
|
|
53
31
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
Build cross-session evidence packs from indexed selections, verify source hashes, and download Markdown; reload clears only the new in-memory basket. Usage offers a separate cost reference using a bundled versioned snapshot from [Wei-Shaw/model-price-repo](https://github.com/Wei-Shaw/model-price-repo), with unknown rows separate from known subtotals, not a bill and no automatic network updates. The project workspace adds read-only Git state and commit file statistics; associations within 24 hours are time-based candidates, not causation. These features do not call models or send sessions automatically. Pricing excludes tiers, service levels, cache durations, tool and multimodal extras.
|
|
57
|
-
|
|
58
|
-
Evidence collections explicitly save named source references. Reopen them after reload to recheck originals; the temporary basket still clears, and full sessions are not backed up. Commit details add development stories: manually link sessions and reasons for changes, with project isolation. Only local metadata is written; Git is unchanged, and links do not prove authorship or passing tests. See the [session guide](https://sakurabytecore.github.io/codexmate/guide/sessions).
|
|
59
|
-
|
|
60
|
-
The material basket also generates development receipts and multi-agent relay packs. Choose a format, supply a goal and optional notes, then verify sources and download Markdown. Historical material only: no model calls, command execution or automatic delivery; the current version still needs acceptance. Notes are not saved in collections and clear when a collection opens.
|
|
32
|
+
[Quick Start](#quick-start) · [Session guide (Chinese)](https://sakurabytecore.github.io/codexmate/guide/sessions) · [Thread handoff](#thread-handoff)
|
|
61
33
|
|
|
62
34
|
---
|
|
63
35
|
|
|
64
36
|
> [!TIP]
|
|
65
37
|
> **Local First**: Read existing sessions and manage configuration on your machine. No telemetry or Codex Mate cloud account required. Model requests still go to your configured provider; running locally does not mean models run offline.
|
|
66
38
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
Was last week's solution discussed in Codex or Claude Code? Narrow down your local sessions by source, project, or time, open the conversation, and export it as Markdown for reference.
|
|
70
|
-
|
|
71
|
-
Codex Mate manages existing tools and local records. It is not a new AI model or a replacement for your coding assistant. Start by finding one useful conversation, without configuring every tool first.
|
|
72
|
-
|
|
73
|
-
[Get started](#quick-start) · [Session guide (Chinese)](https://sakurabytecore.github.io/codexmate/guide/sessions) · [Thread handoff](#thread-handoff)
|
|
74
|
-
|
|
75
|
-
## Comparison with Related Tools
|
|
76
|
-
|
|
77
|
-
Choose by primary use case rather than treating this as an exclusive feature checklist. These projects overlap and can be used together.
|
|
78
|
-
|
|
79
|
-
| Tool | Primary focus | Best fit |
|
|
80
|
-
| --- | --- | --- |
|
|
81
|
-
| **Codex Mate** | Local-first, cross-tool session and configuration management through CLI + Web and desktop entry points | Find, filter, and export conversations from different tools in one place, alongside Provider, Skills, and task workflow management |
|
|
82
|
-
| [CC Switch](https://github.com/farion1231/cc-switch) | Desktop configuration manager for multiple AI coding tools, covering providers, MCP, Skills, and prompts | Switching API providers and reducing manual edits to each tool's configuration files |
|
|
83
|
-
| [CloudCLI (Claude Code UI)](https://github.com/siteboon/claudecodeui) | Desktop and mobile Web UI for Claude Code, Cursor CLI, and Codex | Using coding assistants from a browser or phone and accessing local or remote projects and sessions |
|
|
84
|
-
| [ccusage](https://github.com/ryoppippi/ccusage) | CLI for analyzing token usage and costs from local coding-agent records | Daily, weekly, monthly, or per-session usage and cost reports |
|
|
85
|
-
|
|
86
|
-
**Why choose Codex Mate?** Bring cross-tool conversation lookup, Markdown archiving, and everyday configuration, Skills, and task management into one entry point without replacing your coding assistant.
|
|
87
|
-
|
|
88
|
-
This comparison follows the official project descriptions linked above; it does not imply that other tools lack unlisted features and is not a performance or pricing ranking. Codex Mate's session operations vary by source; see the [session guide (Chinese)](https://sakurabytecore.github.io/codexmate/guide/sessions). Export and handoff do not provide lossless migration of complete session state, and running locally does not mean models run offline.
|
|
39
|
+
---
|
|
89
40
|
|
|
90
41
|
## Quick Start
|
|
91
42
|
|
|
@@ -145,6 +96,95 @@ curl -fsSL https://raw.githubusercontent.com/SakuraByteCore/codexmate/main/scrip
|
|
|
145
96
|
|
|
146
97
|
---
|
|
147
98
|
|
|
99
|
+
## What is Codex Mate?
|
|
100
|
+
|
|
101
|
+
Was last week's solution discussed in Codex or Claude Code? Narrow down your local sessions by source, project, or time, open the conversation, and export it as Markdown for reference.
|
|
102
|
+
|
|
103
|
+
Codex Mate manages existing tools and local records. It is not a new AI model or a replacement for your coding assistant. Start by finding one useful conversation, without configuring every tool first.
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## More tools, when you need them
|
|
108
|
+
|
|
109
|
+
<a id="whats-so-special"></a>
|
|
110
|
+
<a id="current-progress"></a>
|
|
111
|
+
|
|
112
|
+
<details>
|
|
113
|
+
<summary>Provider, Skills, prompt and integration reference</summary>
|
|
114
|
+
|
|
115
|
+
- **Unified Session Browser**: Browse local sessions from Codex, Claude Code, Gemini CLI, CodeBuddy Code, WorkBuddy, Pi, OpenCode, and Zed in one place. Search, export, and deletion availability varies by source; see the [session guide (Chinese)](https://sakurabytecore.github.io/codexmate/guide/sessions). Session details show an always-visible five-category token breakdown, a composition bar, and a health rating.
|
|
116
|
+
- **OpenAI-Compatible Bridge**: Use Codex with any OpenAI-compatible UI by normalizing the Responses API; the built-in Codex conversion also fills and normalizes Codex fingerprint headers such as `User-Agent`, `Version`, `OpenAI-Beta`, and `Originator` so upstream providers see an official Codex CLI-shaped request.
|
|
117
|
+
- **Claude Provider Bridge**: Connect Claude Code to OpenAI Chat Completions-compatible providers and Ollama through the built-in local Claude-compatible proxy.
|
|
118
|
+
- **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.
|
|
119
|
+
- **KiloCode Config Bridge**: Configure KiloCode providers from the CLI or Web UI, writing to `~/.config/kilo/kilo.jsonc` while preserving stored API keys.
|
|
120
|
+
- **Pi Provider Config**: Manage Pi providers from the Web UI with lossless round-trip writes to `~/.pi/agent/models.json`, auto-fetched remote model lists, and one-click default provider/model switching via `~/.pi/agent/settings.json`.
|
|
121
|
+
- **Provider Health Cleanup**: Probe local Codex and Claude provider routes, surface failed configs in one modal, and bulk-clean selected broken providers without touching healthy or protected entries.
|
|
122
|
+
- **Configuration Preview and Undo**: Preview affected paths and redacted field changes before writing any of the six tools. Detect external edits since loading or preview, and undo the latest change per tool, including after a server restart. The existing preview setting controls the dialog; turning it off keeps conflict checks and undo.
|
|
123
|
+
- **Skills Marketplace**: A local-first market to share and import skills between different agent apps.
|
|
124
|
+
- **Prompt File Editor**: Edit global and project-level CLAUDE.md / AGENTS.md with a shared preset pool. Presets fill variables before updating the editor; save manually to write files. History shows version Diff; confirmed rollback writes the selected version with an atomic backup and concurrent-change checks. Editor tabs and target selections persist across refreshes. Pi restores the selected file when listed; a missing selection falls back to the first item only when no draft is pending. Pi lists direct `.md` files in `~/.pi/agent/` or `<cwd>/.pi/`, refreshing on tab entry or file-picker opening. Listing does not auto-load prompts. Initial config loading does not add a page spacer to the prompt editor or make scrolling jump when loading finishes. Project paths are detected automatically; OpenCode's global prompt file is `~/.config/opencode/AGENTS.md`.
|
|
125
|
+
- **Task Orchestrator**: Automatically advance existing workflows, persist progress and results, and request intervention only when blocked.
|
|
126
|
+
- **Provider Management**: Switch providers/models for Codex, Claude, OpenCode, KiloCode, OpenClaw, and Pi
|
|
127
|
+
- **Live Agent Sync**: Real-time monitoring of Codex/Claude config & status
|
|
128
|
+
- **Usage Analytics**: Visualize message trends and top projects
|
|
129
|
+
- **Prompt Templates**: Variable-fill dialog on invocation, one-template JSON sharing, and versioned plugin template configuration with history Diff and rollback. `git_diff` is pasted text, not an executed command.
|
|
130
|
+
- **MCP Integration**: Expose local tools and resources via MCP stdio
|
|
131
|
+
- **Auto Update**: Click the Web UI update notice to view versions and copy `codexmate update`. Run it on the service host, then restart the service after a successful update. Clicking or copying does not run updates
|
|
132
|
+
|
|
133
|
+
</details>
|
|
134
|
+
|
|
135
|
+
<details>
|
|
136
|
+
<summary>Session workbench, usage, sharing and appearance details</summary>
|
|
137
|
+
|
|
138
|
+
### Usage record breakdown
|
|
139
|
+
|
|
140
|
+
Expand UTC usage records on demand to separate recorded tokens, cache categories and full saved-text estimates. Record adapters cover Codex, Claude, Pi and Gemini JSON sessions; existing charts and default exports keep their original semantics. No cost calculation. Use `codexmate analytics export --attribution records`. See the [usage guide](https://sakurabytecore.github.io/codexmate/guide/sessions#%E7%94%A8%E9%87%8F%E8%AE%B0%E5%BD%95%E6%98%8E%E7%BB%86).
|
|
141
|
+
|
|
142
|
+
### File sharing
|
|
143
|
+
|
|
144
|
+
Select files or a folder, then upload explicitly. Download copies or copy LAN links valid for 60 minutes. Downloads use a separate port without management API access. Removing a batch or stopping the service invalidates its links and preserves the originals. See the [file-sharing guide](https://sakurabytecore.github.io/codexmate/guide/web-ui#%E6%96%87%E4%BB%B6%E5%85%B1%E4%BA%AB).
|
|
145
|
+
|
|
146
|
+
### Appearance themes
|
|
147
|
+
|
|
148
|
+
Choose Light, Dark, Ocean or Violet in Settings. Violet adapts [Catppuccin Latte](https://github.com/catppuccin/palette) with light surfaces and a purple accent. Your theme is saved automatically and restored after reload.
|
|
149
|
+
|
|
150
|
+
<a id="routing-groups"></a>
|
|
151
|
+
### Model test
|
|
152
|
+
|
|
153
|
+
The selected Codex/Pi subtab is saved and restored after reload. Choose a provider and model from existing configuration, enter a message and send it. View the Markdown reply, returned model ID and response time in seconds. Tests consume API credits without starting CLIs, changing configuration or saving test history. Each test sends one request without retries, sets no local response deadline and limits output to 2048 tokens. Supports configured Responses, Chat Completions, Completions and Anthropic Messages; native login and command-based credentials are not integrated. Group settings are no longer shown in the Web UI; existing backend routing and OpenAI Chat API behavior is unchanged. See the [Web UI guide](https://sakurabytecore.github.io/codexmate/guide/web-ui).
|
|
154
|
+
|
|
155
|
+
Tests use Codex UA/Originator or Pi SDK headers, with configured UA overrides taking priority. They read Codex reasoning/output settings and Pi model token limits and compatibility flags. If the installed client version cannot be resolved, requests identify as versioned CodexMate tests rather than inventing a client version.
|
|
156
|
+
|
|
157
|
+
### Session workbench
|
|
158
|
+
|
|
159
|
+
The session page adds message bookmarks with notes and tags, an incremental local full-text index, evidence-linked handoff drafts, a read-only project workspace, and model-window references. Bookmarks do not modify source sessions. The index covers discovered candidates only; refresh it for new messages. Historical text ratios are not actual request utilization. Settings offers local diagnostics and redacted JSON/Markdown exports. Only selected checks probe the current Codex route or start selected MCP servers; no write tools are called. See the [session guide](https://sakurabytecore.github.io/codexmate/guide/sessions).
|
|
160
|
+
|
|
161
|
+
Build cross-session evidence packs from indexed selections, verify source hashes, and download Markdown; reload clears only the new in-memory basket. Usage offers a separate cost reference using a bundled versioned snapshot from [Wei-Shaw/model-price-repo](https://github.com/Wei-Shaw/model-price-repo), with unknown rows separate from known subtotals, not a bill and no automatic network updates. The project workspace adds read-only Git state and commit file statistics; associations within 24 hours are time-based candidates, not causation. These features do not call models or send sessions automatically. Pricing excludes tiers, service levels, cache durations, tool and multimodal extras.
|
|
162
|
+
|
|
163
|
+
Evidence collections explicitly save named source references. Reopen them after reload to recheck originals; the temporary basket still clears, and full sessions are not backed up. Commit details add development stories: manually link sessions and reasons for changes, with project isolation. Only local metadata is written; Git is unchanged, and links do not prove authorship or passing tests. See the [session guide](https://sakurabytecore.github.io/codexmate/guide/sessions).
|
|
164
|
+
|
|
165
|
+
The material basket also generates development receipts and multi-agent relay packs. Choose a format, supply a goal and optional notes, then verify sources and download Markdown. Historical material only: no model calls, command execution or automatic delivery; the current version still needs acceptance. Notes are not saved in collections and clear when a collection opens.
|
|
166
|
+
|
|
167
|
+
</details>
|
|
168
|
+
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
## Comparison with Related Tools
|
|
172
|
+
|
|
173
|
+
Choose by primary use case rather than treating this as an exclusive feature checklist. These projects overlap and can be used together.
|
|
174
|
+
|
|
175
|
+
| Tool | Primary focus | Best fit |
|
|
176
|
+
| --- | --- | --- |
|
|
177
|
+
| **Codex Mate** | Local-first, cross-tool session and configuration management through CLI + Web and desktop entry points | Find, filter, and export conversations from different tools in one place, alongside Provider, Skills, and task workflow management |
|
|
178
|
+
| [CC Switch](https://github.com/farion1231/cc-switch) | Desktop configuration manager for multiple AI coding tools, covering providers, MCP, Skills, and prompts | Switching API providers and reducing manual edits to each tool's configuration files |
|
|
179
|
+
| [CloudCLI (Claude Code UI)](https://github.com/siteboon/claudecodeui) | Desktop and mobile Web UI for Claude Code, Cursor CLI, and Codex | Using coding assistants from a browser or phone and accessing local or remote projects and sessions |
|
|
180
|
+
| [ccusage](https://github.com/ryoppippi/ccusage) | CLI for analyzing token usage and costs from local coding-agent records | Daily, weekly, monthly, or per-session usage and cost reports |
|
|
181
|
+
|
|
182
|
+
**Why choose Codex Mate?** Bring cross-tool conversation lookup, Markdown archiving, and everyday configuration, Skills, and task management into one entry point without replacing your coding assistant.
|
|
183
|
+
|
|
184
|
+
This comparison follows the official project descriptions linked above; it does not imply that other tools lack unlisted features and is not a performance or pricing ranking. Codex Mate's session operations vary by source; see the [session guide (Chinese)](https://sakurabytecore.github.io/codexmate/guide/sessions). Export and handoff do not provide lossless migration of complete session state, and running locally does not mean models run offline.
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
148
188
|
## Thread handoff
|
|
149
189
|
|
|
150
190
|
Share a structured handoff card with a target agent through a shared-memory MCP. This does not restore complete session state. Save a `card.json` containing a `goal` string and string arrays for `completed`, `blockers`, `nextSteps`, and `files`:
|
|
@@ -177,46 +217,6 @@ Use the handoff's returned ID for `<id>`, the same target agent for `<target>`,
|
|
|
177
217
|
|
|
178
218
|
---
|
|
179
219
|
|
|
180
|
-
## What's So Special?
|
|
181
|
-
|
|
182
|
-
After finding your conversations, manage the configuration, skills, and tasks used in your daily work:
|
|
183
|
-
- **Unified Session Browser**: Browse local sessions from Codex, Claude Code, Gemini CLI, CodeBuddy Code, WorkBuddy, Pi, OpenCode, and Zed in one place. Search, export, and deletion availability varies by source; see the [session guide (Chinese)](https://sakurabytecore.github.io/codexmate/guide/sessions). Session details show an always-visible five-category token breakdown, a composition bar, and a health rating.
|
|
184
|
-
- **OpenAI-Compatible Bridge**: Use Codex with any OpenAI-compatible UI by normalizing the Responses API; the built-in Codex conversion also fills and normalizes Codex fingerprint headers such as `User-Agent`, `Version`, `OpenAI-Beta`, and `Originator` so upstream providers see an official Codex CLI-shaped request.
|
|
185
|
-
- **Claude Provider Bridge**: Connect Claude Code to OpenAI Chat Completions-compatible providers and Ollama through the built-in local Claude-compatible proxy.
|
|
186
|
-
- **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.
|
|
187
|
-
- **KiloCode Config Bridge**: Configure KiloCode providers from the CLI or Web UI, writing to `~/.config/kilo/kilo.jsonc` while preserving stored API keys.
|
|
188
|
-
- **Pi Provider Config**: Manage Pi providers from the Web UI with lossless round-trip writes to `~/.pi/agent/models.json`, auto-fetched remote model lists, and one-click default provider/model switching via `~/.pi/agent/settings.json`.
|
|
189
|
-
- **Provider Health Cleanup**: Probe local Codex and Claude provider routes, surface failed configs in one modal, and bulk-clean selected broken providers without touching healthy or protected entries.
|
|
190
|
-
- **Configuration Preview and Undo**: Preview affected paths and redacted field changes before writing any of the six tools. Detect external edits since loading or preview, and undo the latest change per tool, including after a server restart. The existing preview setting controls the dialog; turning it off keeps conflict checks and undo.
|
|
191
|
-
- **Skills Marketplace**: A local-first market to share and import skills between different agent apps.
|
|
192
|
-
- **Prompt File Editor**: Unified editor for global and project-level `CLAUDE.md` and `AGENTS.md` (including OpenCode's `~/.config/opencode/AGENTS.md`) with auto-detection of project paths, plus a shared preset pool for reusable prompts.
|
|
193
|
-
- **Task Orchestrator**: Automatically advance existing workflows, persist progress and results, and request intervention only when blocked.
|
|
194
|
-
|
|
195
|
-
---
|
|
196
|
-
|
|
197
|
-
## Current Progress
|
|
198
|
-
|
|
199
|
-
| Feature | Status | Description |
|
|
200
|
-
| --- | --- | --- |
|
|
201
|
-
| **Provider Management** | ✅ | Switch providers/models for Codex, Claude, OpenCode, KiloCode, OpenClaw, and Pi |
|
|
202
|
-
| **Live Agent Sync** | ✅ | Real-time monitoring of Codex/Claude config & status |
|
|
203
|
-
| **Session Browser** | ✅ | Browse and filter local sessions; search and Markdown export depend on the source. See the session guide |
|
|
204
|
-
| **Usage Analytics** | ✅ | Visualize message trends and top projects |
|
|
205
|
-
| **Local Skills Market** | ✅ | Cross-app import/export of agent skills |
|
|
206
|
-
| **Task Queue** | ✅ | Dependency-aware automatic workflows, persistent progress, safe recovery, and result summaries |
|
|
207
|
-
| **OpenAI Bridge** | ✅ | Convert Codex Responses API to standard OpenAI format and attach/normalize Codex fingerprints in the built-in conversion |
|
|
208
|
-
| **Claude Provider Bridge** | ✅ | Connect Claude Code to OpenAI Chat Completions-compatible providers and Ollama via the built-in Claude-compatible proxy |
|
|
209
|
-
| **OpenCode Provider Store** | ✅ | Keep multiple OpenCode providers in `~/.codexmate` while projecting only the selected provider to native OpenCode config |
|
|
210
|
-
| **KiloCode Config Bridge** | ✅ | Configure KiloCode through `codexmate kilo config` or the Web UI, writing provider URL/model/API key data to `~/.config/kilo/kilo.jsonc` |
|
|
211
|
-
| **Pi Provider Config** | ✅ | Manage Pi providers in the Web UI writing to `~/.pi/agent/models.json` (unknown fields preserved) and switch the default provider/model in `~/.pi/agent/settings.json` |
|
|
212
|
-
| **Provider Health Check** | ✅ | Probe local Codex/Claude provider routes, highlight failed configs, and bulk-remove selected broken providers safely |
|
|
213
|
-
| **Prompt Templates** | ✅ | Variable-fill dialog on invocation, one-template JSON sharing, and versioned plugin template configuration with history Diff and rollback. `git_diff` is pasted text, not an executed command. |
|
|
214
|
-
| **Prompt File Editor** | ✅ | Edit global and project-level CLAUDE.md / AGENTS.md with a shared preset pool. Presets fill variables before updating the editor; save manually to write files. History shows version Diff; confirmed rollback writes the selected version with an atomic backup and concurrent-change checks. Editor tabs and target selections persist across refreshes. Pi restores the selected file when listed; a missing selection falls back to the first item only when no draft is pending. Pi lists direct `.md` files in `~/.pi/agent/` or `<cwd>/.pi/`, refreshing on tab entry or file-picker opening. Listing does not auto-load prompts. Initial config loading does not add a page spacer to the prompt editor or make scrolling jump when loading finishes. |
|
|
215
|
-
| **MCP Integration** | ✅ | Expose local tools and resources via MCP stdio |
|
|
216
|
-
| **Auto Update** | ✅ | Click the Web UI update notice to view versions and copy `codexmate update`. Run it on the service host, then restart the service after a successful update. Clicking or copying does not run updates |
|
|
217
|
-
|
|
218
|
-
---
|
|
219
|
-
|
|
220
220
|
## Unattended Workflows
|
|
221
221
|
|
|
222
222
|
Reuse existing workflow definitions and let the backend advance tasks automatically after submission. The dashboard's workflow panel supports submission, result lookup, resuming with additional input, and cancellation of subsequent steps. Closing the page does not interrupt execution; tasks do not execute while the service is stopped.
|
|
@@ -307,6 +307,8 @@ Special thanks to all contributors for their contributions to Codex Mate ❤️
|
|
|
307
307
|
<img src="https://contrib.rocks/image?repo=SakuraByteCore/codexmate" />
|
|
308
308
|
</a>
|
|
309
309
|
|
|
310
|
+
---
|
|
311
|
+
|
|
310
312
|
## License
|
|
311
313
|
|
|
312
314
|
Apache-2.0
|
package/README.vi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
|
-
<img src="site/.vitepress/public/images/logo.png" alt="Codex Mate logo" width="
|
|
3
|
+
<img src="site/.vitepress/public/images/logo.png" alt="Codex Mate logo" width="96" />
|
|
4
4
|
|
|
5
5
|
# Codex Mate
|
|
6
6
|
|
|
@@ -9,83 +9,34 @@
|
|
|
9
9
|
Codex Mate là công cụ CLI + Web chạy cục bộ, giúp xem, lọc và xuất các phiên đã có tại một nơi, đồng thời quản lý Provider, Skills và tác vụ khi cần.
|
|
10
10
|
|
|
11
11
|
<p>
|
|
12
|
-
<a href="https://sakurabytecore.github.io/codexmate/">
|
|
13
|
-
<a href="#bắt-đầu-nhanh">
|
|
14
|
-
<a href="README.md">
|
|
15
|
-
<a href="README.zh.md"
|
|
12
|
+
<a href="https://sakurabytecore.github.io/codexmate/">Tài liệu</a>
|
|
13
|
+
<a href="#bắt-đầu-nhanh">Bắt đầu nhanh</a>
|
|
14
|
+
<a href="README.md">English</a>
|
|
15
|
+
<a href="README.zh.md">简体中文</a>
|
|
16
16
|
</p>
|
|
17
17
|
|
|
18
18
|
[](https://www.npmjs.com/package/codexmate)
|
|
19
19
|
[](https://github.com/SakuraByteCore/codexmate/actions/workflows/release.yml)
|
|
20
20
|
[](https://www.npmjs.com/package/codexmate)
|
|
21
|
-
[](#bắt-đầu-nhanh)
|
|
22
|
-
[](#bắt-đầu-nhanh)
|
|
23
|
-
[](https://nodejs.org/)
|
|
24
21
|
[](LICENSE)
|
|
25
22
|
[](https://github.com/SakuraByteCore/codexmate/stargazers)
|
|
26
|
-
[](https://github.com/SakuraByteCore/codexmate/issues)
|
|
27
|
-
[](https://stackmap.shipwithai.xyz/repos/SakuraByteCore/codexmate?utm_source=badge)
|
|
28
|
-
|
|
29
|
-
<br />
|
|
30
23
|
|
|
31
24
|
</div>
|
|
32
25
|
|
|
33
|
-
|
|
26
|
+
## Một nơi cho lịch sử lập trình AI
|
|
34
27
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
Chọn tệp hoặc thư mục rồi tải lên thủ công. Tải bản sao hoặc sao chép liên kết LAN có hiệu lực 60 phút. Tải xuống dùng cổng riêng, không cấp quyền API quản trị. Xóa lô hoặc dừng dịch vụ sẽ vô hiệu hóa liên kết và giữ nguyên tệp gốc. Xem [hướng dẫn chia sẻ tệp](https://sakurabytecore.github.io/codexmate/guide/web-ui#%E6%96%87%E4%BB%B6%E5%85%B1%E4%BA%AB).
|
|
40
|
-
|
|
41
|
-
### Chủ đề giao diện
|
|
28
|
+
- **Tìm lại cuộc trò chuyện** — Xem bản ghi từ Codex, Claude Code, Gemini CLI, Pi, OpenCode và các công cụ khác; lọc theo nguồn, dự án hoặc thời gian.
|
|
29
|
+
- **Giữ nội dung hữu ích** — Mở phiên, kiểm tra nội dung rồi xuất Markdown để ghi chép dự án hoặc bàn giao. Khả năng tìm kiếm và xuất tùy thuộc nguồn.
|
|
30
|
+
- **Quản lý công cụ liên quan** — Chuyển provider và mô hình, tái sử dụng Skills và prompt, thực thi quy trình tác vụ hiện có mà không thay thế trợ lý lập trình đang dùng.
|
|
42
31
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
<a id="nhóm-định-tuyến"></a>
|
|
46
|
-
### Kiểm thử mô hình
|
|
47
|
-
|
|
48
|
-
Lựa chọn tab Codex/Pi được lưu và khôi phục sau khi tải lại. Chọn nhà cung cấp và mô hình trong cấu hình hiện có, nhập nội dung rồi gửi. Xem câu trả lời Markdown, ID mô hình trả về và thời gian tính bằng giây. Kiểm thử tiêu thụ hạn mức API; không mở CLI, đổi cấu hình hoặc lưu lịch sử. Mỗi lần chỉ gửi một yêu cầu, không tự thử lại, không đặt thời hạn phản hồi cục bộ và giới hạn đầu ra 2048 token. Hỗ trợ Responses, Chat Completions, Completions và Anthropic Messages đã cấu hình; chưa tích hợp đăng nhập gốc hoặc khóa lấy bằng lệnh. Web không còn hiển thị cài đặt nhóm; chức năng phân phối phía máy chủ và OpenAI Chat API giữ nguyên. Xem [hướng dẫn Web UI](https://sakurabytecore.github.io/codexmate/guide/web-ui).
|
|
49
|
-
|
|
50
|
-
Yêu cầu kiểm thử dùng UA/Originator của Codex hoặc header SDK của Pi; UA đã cấu hình được ưu tiên. Đọc thiết lập suy luận/đầu ra Codex và giới hạn token, tham số tương thích của mô hình Pi. Nếu không đọc được phiên bản khách đã cài, yêu cầu dùng định danh kiểm thử CodexMate có phiên bản, không giả tạo phiên bản khách.
|
|
51
|
-
|
|
52
|
-
### Không gian làm việc phiên
|
|
53
|
-
|
|
54
|
-
Trang phiên bổ sung dấu trang tin nhắn với ghi chú và nhãn, chỉ mục toàn văn cục bộ cập nhật tăng dần, bản nháp bàn giao có bằng chứng, không gian dự án chỉ đọc và tham chiếu cửa sổ mô hình. Dấu trang không sửa phiên gốc. Chỉ mục chỉ bao gồm phiên đã phát hiện; cần cập nhật để tìm tin nhắn mới. Tỷ lệ văn bản lịch sử không phải mức sử dụng thực tế của yêu cầu. Cài đặt cung cấp chẩn đoán cục bộ và xuất JSON/Markdown đã ẩn bí mật. Chỉ mục kiểm tra được chọn mới truy cập tuyến Codex hiện tại hoặc khởi động MCP; không gọi công cụ ghi. Xem [hướng dẫn phiên](https://sakurabytecore.github.io/codexmate/guide/sessions).
|
|
55
|
-
|
|
56
|
-
Tạo gói bằng chứng liên phiên từ kết quả chỉ mục, kiểm tra hash nguồn và tải Markdown; tải lại chỉ xóa giỏ tài liệu trong bộ nhớ. Usage có tham khảo chi phí riêng từ bản giá tích hợp có phiên bản của [Wei-Shaw/model-price-repo](https://github.com/Wei-Shaw/model-price-repo), tách dòng chưa rõ khỏi tổng đã biết, không phải hóa đơn và không tự cập nhật qua mạng. Không gian dự án bổ sung trạng thái Git chỉ đọc và thống kê tệp của commit; liên kết trong 24 giờ chỉ là ứng viên theo thời gian, không chứng minh nguyên nhân. Các tính năng không gọi mô hình hay tự gửi phiên. Giá không gồm bậc giá, tầng dịch vụ, thời hạn bộ nhớ đệm, công cụ hoặc đa phương thức.
|
|
57
|
-
|
|
58
|
-
Bộ sưu tập bằng chứng lưu tham chiếu nguồn có tên khi người dùng chọn lưu. Sau khi tải lại, mở thủ công để kiểm tra nguồn; giỏ tạm vẫn bị xóa và không sao lưu toàn bộ phiên. Chi tiết commit có câu chuyện phát triển để liên kết phiên và lý do thay đổi, tách biệt từng dự án. Chỉ ghi siêu dữ liệu cục bộ; không đổi Git, không chứng minh nguồn tạo mã hay kiểm thử đạt. Xem [hướng dẫn phiên](https://sakurabytecore.github.io/codexmate/guide/sessions).
|
|
59
|
-
|
|
60
|
-
Giỏ tài liệu cũng tạo phiếu phát triển và gói tiếp sức đa Agent. Chọn định dạng, nhập mục tiêu và ghi chú tùy chọn, kiểm tra nguồn rồi tải Markdown. Chỉ tổng hợp tài liệu lịch sử: không gọi mô hình, chạy lệnh hay tự gửi; phiên bản hiện tại vẫn cần nghiệm thu. Ghi chú không lưu vào bộ sưu tập và bị xóa khi mở bộ sưu tập.
|
|
32
|
+
[Bắt đầu nhanh](#bắt-đầu-nhanh) · [Hướng dẫn phiên (tiếng Trung)](https://sakurabytecore.github.io/codexmate/guide/sessions) · [Bàn giao luồng](#bàn-giao-luồng)
|
|
61
33
|
|
|
62
34
|
---
|
|
63
35
|
|
|
64
36
|
> [!TIP]
|
|
65
37
|
> **Ưu tiên cục bộ**: Đọc các phiên đã có và quản lý cấu hình trên máy của bạn. Không có telemetry, không cần tài khoản cloud của Codex Mate. Yêu cầu tới mô hình vẫn được gửi đến provider đã cấu hình; chạy cục bộ không có nghĩa là mô hình chạy ngoại tuyến.
|
|
66
38
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
Giải pháp tuần trước được thảo luận trong Codex hay Claude Code? Lọc phiên theo nguồn, dự án hoặc thời gian, mở cuộc trò chuyện để xem lại, rồi xuất thành Markdown để tham khảo.
|
|
70
|
-
|
|
71
|
-
Codex Mate quản lý công cụ và dữ liệu cục bộ đã có. Đây không phải mô hình AI mới và không thay thế trợ lý lập trình của bạn. Hãy bắt đầu bằng việc tìm lại một cuộc trò chuyện hữu ích, không cần cấu hình mọi công cụ trước.
|
|
72
|
-
|
|
73
|
-
[Bắt đầu sử dụng](#bắt-đầu-nhanh) · [Hướng dẫn phiên (tiếng Trung)](https://sakurabytecore.github.io/codexmate/guide/sessions) · [Bàn giao luồng](#bàn-giao-luồng)
|
|
74
|
-
|
|
75
|
-
## So sánh với các công cụ cùng nhóm
|
|
76
|
-
|
|
77
|
-
Chọn theo nhu cầu chính, không xem bảng này là danh sách tính năng loại trừ lẫn nhau. Các dự án có tính năng giao nhau và có thể dùng kết hợp.
|
|
78
|
-
|
|
79
|
-
| Công cụ | Trọng tâm chính | Nhu cầu phù hợp |
|
|
80
|
-
| --- | --- | --- |
|
|
81
|
-
| **Codex Mate** | Quản lý phiên và cấu hình xuyên công cụ, ưu tiên cục bộ, qua CLI + Web và ứng dụng máy tính | Tìm, lọc và xuất hội thoại từ nhiều công cụ tại một nơi, cùng quản lý Provider, Skills và quy trình tác vụ |
|
|
82
|
-
| [CC Switch](https://github.com/farion1231/cc-switch) | Trình quản lý cấu hình trên máy tính cho nhiều công cụ lập trình AI, gồm provider, MCP, Skills và lời nhắc | Chuyển đổi API provider và giảm việc sửa thủ công tệp cấu hình của từng công cụ |
|
|
83
|
-
| [CloudCLI (Claude Code UI)](https://github.com/siteboon/claudecodeui) | Giao diện Web trên máy tính và thiết bị di động cho Claude Code, Cursor CLI và Codex | Dùng trợ lý lập trình từ trình duyệt hoặc điện thoại, truy cập dự án và phiên cục bộ hoặc từ xa |
|
|
84
|
-
| [ccusage](https://github.com/ryoppippi/ccusage) | CLI phân tích lượng token sử dụng và chi phí từ dữ liệu cục bộ của tác nhân lập trình | Xem báo cáo lượng sử dụng và chi phí theo ngày, tuần, tháng hoặc phiên |
|
|
85
|
-
|
|
86
|
-
**Vì sao chọn Codex Mate?** Tập hợp tra cứu hội thoại xuyên công cụ, lưu trữ Markdown, quản lý cấu hình, Skills và tác vụ hằng ngày tại một nơi mà không thay thế trợ lý lập trình đang dùng.
|
|
87
|
-
|
|
88
|
-
So sánh dựa trên mô tả chính thức tại các liên kết trên; không hàm ý công cụ khác thiếu tính năng chưa liệt kê và không phải bảng xếp hạng hiệu năng hay giá. Thao tác phiên của Codex Mate tùy thuộc nguồn; xem [hướng dẫn phiên (tiếng Trung)](https://sakurabytecore.github.io/codexmate/guide/sessions). Xuất và bàn giao không di chuyển nguyên vẹn toàn bộ trạng thái phiên; chạy cục bộ cũng không có nghĩa là mô hình chạy ngoại tuyến.
|
|
39
|
+
---
|
|
89
40
|
|
|
90
41
|
## Bắt đầu nhanh
|
|
91
42
|
|
|
@@ -145,6 +96,95 @@ curl -fsSL https://raw.githubusercontent.com/SakuraByteCore/codexmate/main/scrip
|
|
|
145
96
|
|
|
146
97
|
---
|
|
147
98
|
|
|
99
|
+
## Codex Mate là gì?
|
|
100
|
+
|
|
101
|
+
Giải pháp tuần trước được thảo luận trong Codex hay Claude Code? Lọc phiên theo nguồn, dự án hoặc thời gian, mở cuộc trò chuyện để xem lại, rồi xuất thành Markdown để tham khảo.
|
|
102
|
+
|
|
103
|
+
Codex Mate quản lý công cụ và dữ liệu cục bộ đã có. Đây không phải mô hình AI mới và không thay thế trợ lý lập trình của bạn. Hãy bắt đầu bằng việc tìm lại một cuộc trò chuyện hữu ích, không cần cấu hình mọi công cụ trước.
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## Công cụ bổ sung khi cần
|
|
108
|
+
|
|
109
|
+
<a id="điểm-nổi-bật"></a>
|
|
110
|
+
<a id="tiến-độ-hiện-tại"></a>
|
|
111
|
+
|
|
112
|
+
<details>
|
|
113
|
+
<summary>Tham khảo Provider, Skills, prompt và tích hợp</summary>
|
|
114
|
+
|
|
115
|
+
- **Trình duyệt phiên thống nhất**: Xem phiên cục bộ từ Codex, Claude Code, Gemini CLI, CodeBuddy Code, WorkBuddy, Pi, OpenCode và Zed tại một nơi. Khả năng tìm kiếm, xuất và xóa tùy thuộc nguồn; xem [hướng dẫn phiên (tiếng Trung)](https://sakurabytecore.github.io/codexmate/guide/sessions). Chi tiết phiên luôn hiển thị ước tính token theo năm nhóm, thanh tỷ lệ và mức sức khỏe ngữ cảnh.
|
|
116
|
+
- **Bridge tương thích OpenAI**: Dùng Codex với bất kỳ UI nào hỗ trợ OpenAI bằng cách chuẩn hóa Responses API. Chuyển đổi Codex tích hợp cũng bổ sung và chuẩn hóa các header `User-Agent`, `Version`, `OpenAI-Beta` và `Originator` theo dạng yêu cầu của Codex CLI.
|
|
117
|
+
- **Dọn dẹp provider lỗi**: Kiểm tra route provider cục bộ của Codex/Claude, hiển thị cấu hình lỗi trong một modal và xóa hàng loạt các provider hỏng đã chọn mà không chạm vào mục khỏe mạnh hoặc được bảo vệ.
|
|
118
|
+
- **Xem trước và hoàn tác cấu hình**: Hiển thị đường dẫn và khác biệt trường đã ẩn thông tin xác thực trước khi ghi cả sáu công cụ. Phát hiện sửa đổi bên ngoài sau khi tải hoặc xem trước; hoàn tác thay đổi gần nhất của từng công cụ, kể cả sau khi khởi động lại dịch vụ. Tùy chọn xem trước điều khiển hộp thoại; khi tắt vẫn giữ kiểm tra xung đột và hoàn tác.
|
|
119
|
+
- **Chợ skill cục bộ**: Chia sẻ và nhập skill giữa các app agent khác nhau.
|
|
120
|
+
- **Điều phối tác vụ**: Tự động thực thi quy trình hiện có, lưu bền vững tiến độ và kết quả, chỉ yêu cầu can thiệp khi bị chặn.
|
|
121
|
+
- **Quản lý Provider**: Chuyển đổi provider/model cho Codex, Claude, OpenCode, KiloCode, OpenClaw và Pi
|
|
122
|
+
- **Cấu hình Provider Pi**: Quản lý provider Pi trong Web UI, ghi vào `~/.pi/agent/models.json` (giữ nguyên các trường không nhận dạng được), tự động lấy danh sách mô hình từ xa và chuyển đổi provider/model mặc định trong `~/.pi/agent/settings.json`
|
|
123
|
+
- **Đồng bộ Agent trực tiếp**: Giám sát cấu hình & trạng thái Codex/Claude theo thời gian thực
|
|
124
|
+
- **Phân tích sử dụng**: Trực quan hóa xu hướng tin nhắn và dự án nổi bật
|
|
125
|
+
- **Mẫu Prompt**: Hộp thoại điền biến khi gọi, chia sẻ một mẫu bằng JSON, lịch sử Diff và khôi phục cấu hình mẫu plugin. `git_diff` là văn bản được dán, không thực thi lệnh.
|
|
126
|
+
- **Tích hợp MCP**: Expose tool và resource cục bộ qua MCP stdio
|
|
127
|
+
- **Tự động cập nhật**: Nhấp thông báo phiên bản mới trong Web UI để xem phiên bản và sao chép `codexmate update`. Chạy trên máy chủ dịch vụ rồi khởi động lại dịch vụ sau khi cập nhật thành công. Nhấp hoặc sao chép không thực thi cập nhật
|
|
128
|
+
- **Trình sửa tệp prompt**: Chỉnh sửa CLAUDE.md / AGENTS.md toàn cục và theo dự án với kho preset chung. Điền biến trước khi áp dụng preset; cần lưu thủ công để ghi tệp. Lịch sử hiển thị Diff; xác nhận khôi phục sẽ ghi phiên bản đã chọn với bản sao lưu nguyên tử và kiểm tra thay đổi bên ngoài. Tab và lựa chọn tệp đích được lưu và khôi phục sau khi tải lại. Pi giữ tệp đã chọn nếu còn trong danh sách; chỉ chuyển về mục đầu khi tệp không còn và không có bản nháp chưa lưu. Tab Pi liệt kê tệp `.md` trực tiếp trong `~/.pi/agent/` hoặc `<cwd>/.pi/`, cập nhật khi mở tab hoặc danh sách tệp; không tự động nạp prompt. Trang sửa prompt không thêm khoảng trống tải cấu hình, tránh nhảy vị trí cuộn khi quá trình tải hoàn tất. Tự động phát hiện đường dẫn dự án; tệp prompt toàn cục của OpenCode nằm tại `~/.config/opencode/AGENTS.md`.
|
|
129
|
+
- **Bridge Provider Claude**: Kết nối Claude Code với provider tương thích OpenAI Chat Completions và Ollama qua proxy tương thích Claude cục bộ tích hợp.
|
|
130
|
+
- **Kho Provider OpenCode**: Lưu nhiều provider trong kho riêng của CodexMate tại `~/.codexmate`, chỉ đưa provider đang chọn vào cấu hình OpenCode gốc, giữ nguyên thiết lập do người dùng quản lý.
|
|
131
|
+
- **Bridge cấu hình KiloCode**: Cấu hình provider KiloCode từ CLI hoặc Web UI, ghi vào `~/.config/kilo/kilo.jsonc` và giữ API key đã lưu.
|
|
132
|
+
|
|
133
|
+
</details>
|
|
134
|
+
|
|
135
|
+
<details>
|
|
136
|
+
<summary>Chi tiết không gian phiên, sử dụng, chia sẻ và giao diện</summary>
|
|
137
|
+
|
|
138
|
+
### Chi tiết bản ghi sử dụng
|
|
139
|
+
|
|
140
|
+
Mở bản ghi UTC khi cần để tách token ghi nhận, các loại bộ nhớ đệm và ước tính toàn bộ văn bản đã lưu. Hỗ trợ bản ghi Codex, Claude, Pi và phiên Gemini JSON; biểu đồ và xuất mặc định giữ nguyên cách thống kê. Không tính chi phí. Dùng `codexmate analytics export --attribution records`. Xem [hướng dẫn sử dụng](https://sakurabytecore.github.io/codexmate/guide/sessions#%E7%94%A8%E9%87%8F%E8%AE%B0%E5%BD%95%E6%98%8E%E7%BB%86).
|
|
141
|
+
|
|
142
|
+
### Chia sẻ tệp
|
|
143
|
+
|
|
144
|
+
Chọn tệp hoặc thư mục rồi tải lên thủ công. Tải bản sao hoặc sao chép liên kết LAN có hiệu lực 60 phút. Tải xuống dùng cổng riêng, không cấp quyền API quản trị. Xóa lô hoặc dừng dịch vụ sẽ vô hiệu hóa liên kết và giữ nguyên tệp gốc. Xem [hướng dẫn chia sẻ tệp](https://sakurabytecore.github.io/codexmate/guide/web-ui#%E6%96%87%E4%BB%B6%E5%85%B1%E4%BA%AB).
|
|
145
|
+
|
|
146
|
+
### Chủ đề giao diện
|
|
147
|
+
|
|
148
|
+
Chọn Sáng, Tối, Đại dương hoặc Tím dịu trong phần cài đặt. Tím dịu tham khảo [Catppuccin Latte](https://github.com/catppuccin/palette), dùng nền sáng và điểm nhấn tím. Chủ đề được lưu tự động và khôi phục sau khi tải lại.
|
|
149
|
+
|
|
150
|
+
<a id="nhóm-định-tuyến"></a>
|
|
151
|
+
### Kiểm thử mô hình
|
|
152
|
+
|
|
153
|
+
Lựa chọn tab Codex/Pi được lưu và khôi phục sau khi tải lại. Chọn nhà cung cấp và mô hình trong cấu hình hiện có, nhập nội dung rồi gửi. Xem câu trả lời Markdown, ID mô hình trả về và thời gian tính bằng giây. Kiểm thử tiêu thụ hạn mức API; không mở CLI, đổi cấu hình hoặc lưu lịch sử. Mỗi lần chỉ gửi một yêu cầu, không tự thử lại, không đặt thời hạn phản hồi cục bộ và giới hạn đầu ra 2048 token. Hỗ trợ Responses, Chat Completions, Completions và Anthropic Messages đã cấu hình; chưa tích hợp đăng nhập gốc hoặc khóa lấy bằng lệnh. Web không còn hiển thị cài đặt nhóm; chức năng phân phối phía máy chủ và OpenAI Chat API giữ nguyên. Xem [hướng dẫn Web UI](https://sakurabytecore.github.io/codexmate/guide/web-ui).
|
|
154
|
+
|
|
155
|
+
Yêu cầu kiểm thử dùng UA/Originator của Codex hoặc header SDK của Pi; UA đã cấu hình được ưu tiên. Đọc thiết lập suy luận/đầu ra Codex và giới hạn token, tham số tương thích của mô hình Pi. Nếu không đọc được phiên bản khách đã cài, yêu cầu dùng định danh kiểm thử CodexMate có phiên bản, không giả tạo phiên bản khách.
|
|
156
|
+
|
|
157
|
+
### Không gian làm việc phiên
|
|
158
|
+
|
|
159
|
+
Trang phiên bổ sung dấu trang tin nhắn với ghi chú và nhãn, chỉ mục toàn văn cục bộ cập nhật tăng dần, bản nháp bàn giao có bằng chứng, không gian dự án chỉ đọc và tham chiếu cửa sổ mô hình. Dấu trang không sửa phiên gốc. Chỉ mục chỉ bao gồm phiên đã phát hiện; cần cập nhật để tìm tin nhắn mới. Tỷ lệ văn bản lịch sử không phải mức sử dụng thực tế của yêu cầu. Cài đặt cung cấp chẩn đoán cục bộ và xuất JSON/Markdown đã ẩn bí mật. Chỉ mục kiểm tra được chọn mới truy cập tuyến Codex hiện tại hoặc khởi động MCP; không gọi công cụ ghi. Xem [hướng dẫn phiên](https://sakurabytecore.github.io/codexmate/guide/sessions).
|
|
160
|
+
|
|
161
|
+
Tạo gói bằng chứng liên phiên từ kết quả chỉ mục, kiểm tra hash nguồn và tải Markdown; tải lại chỉ xóa giỏ tài liệu trong bộ nhớ. Usage có tham khảo chi phí riêng từ bản giá tích hợp có phiên bản của [Wei-Shaw/model-price-repo](https://github.com/Wei-Shaw/model-price-repo), tách dòng chưa rõ khỏi tổng đã biết, không phải hóa đơn và không tự cập nhật qua mạng. Không gian dự án bổ sung trạng thái Git chỉ đọc và thống kê tệp của commit; liên kết trong 24 giờ chỉ là ứng viên theo thời gian, không chứng minh nguyên nhân. Các tính năng không gọi mô hình hay tự gửi phiên. Giá không gồm bậc giá, tầng dịch vụ, thời hạn bộ nhớ đệm, công cụ hoặc đa phương thức.
|
|
162
|
+
|
|
163
|
+
Bộ sưu tập bằng chứng lưu tham chiếu nguồn có tên khi người dùng chọn lưu. Sau khi tải lại, mở thủ công để kiểm tra nguồn; giỏ tạm vẫn bị xóa và không sao lưu toàn bộ phiên. Chi tiết commit có câu chuyện phát triển để liên kết phiên và lý do thay đổi, tách biệt từng dự án. Chỉ ghi siêu dữ liệu cục bộ; không đổi Git, không chứng minh nguồn tạo mã hay kiểm thử đạt. Xem [hướng dẫn phiên](https://sakurabytecore.github.io/codexmate/guide/sessions).
|
|
164
|
+
|
|
165
|
+
Giỏ tài liệu cũng tạo phiếu phát triển và gói tiếp sức đa Agent. Chọn định dạng, nhập mục tiêu và ghi chú tùy chọn, kiểm tra nguồn rồi tải Markdown. Chỉ tổng hợp tài liệu lịch sử: không gọi mô hình, chạy lệnh hay tự gửi; phiên bản hiện tại vẫn cần nghiệm thu. Ghi chú không lưu vào bộ sưu tập và bị xóa khi mở bộ sưu tập.
|
|
166
|
+
|
|
167
|
+
</details>
|
|
168
|
+
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
## So sánh với các công cụ cùng nhóm
|
|
172
|
+
|
|
173
|
+
Chọn theo nhu cầu chính, không xem bảng này là danh sách tính năng loại trừ lẫn nhau. Các dự án có tính năng giao nhau và có thể dùng kết hợp.
|
|
174
|
+
|
|
175
|
+
| Công cụ | Trọng tâm chính | Nhu cầu phù hợp |
|
|
176
|
+
| --- | --- | --- |
|
|
177
|
+
| **Codex Mate** | Quản lý phiên và cấu hình xuyên công cụ, ưu tiên cục bộ, qua CLI + Web và ứng dụng máy tính | Tìm, lọc và xuất hội thoại từ nhiều công cụ tại một nơi, cùng quản lý Provider, Skills và quy trình tác vụ |
|
|
178
|
+
| [CC Switch](https://github.com/farion1231/cc-switch) | Trình quản lý cấu hình trên máy tính cho nhiều công cụ lập trình AI, gồm provider, MCP, Skills và lời nhắc | Chuyển đổi API provider và giảm việc sửa thủ công tệp cấu hình của từng công cụ |
|
|
179
|
+
| [CloudCLI (Claude Code UI)](https://github.com/siteboon/claudecodeui) | Giao diện Web trên máy tính và thiết bị di động cho Claude Code, Cursor CLI và Codex | Dùng trợ lý lập trình từ trình duyệt hoặc điện thoại, truy cập dự án và phiên cục bộ hoặc từ xa |
|
|
180
|
+
| [ccusage](https://github.com/ryoppippi/ccusage) | CLI phân tích lượng token sử dụng và chi phí từ dữ liệu cục bộ của tác nhân lập trình | Xem báo cáo lượng sử dụng và chi phí theo ngày, tuần, tháng hoặc phiên |
|
|
181
|
+
|
|
182
|
+
**Vì sao chọn Codex Mate?** Tập hợp tra cứu hội thoại xuyên công cụ, lưu trữ Markdown, quản lý cấu hình, Skills và tác vụ hằng ngày tại một nơi mà không thay thế trợ lý lập trình đang dùng.
|
|
183
|
+
|
|
184
|
+
So sánh dựa trên mô tả chính thức tại các liên kết trên; không hàm ý công cụ khác thiếu tính năng chưa liệt kê và không phải bảng xếp hạng hiệu năng hay giá. Thao tác phiên của Codex Mate tùy thuộc nguồn; xem [hướng dẫn phiên (tiếng Trung)](https://sakurabytecore.github.io/codexmate/guide/sessions). Xuất và bàn giao không di chuyển nguyên vẹn toàn bộ trạng thái phiên; chạy cục bộ cũng không có nghĩa là mô hình chạy ngoại tuyến.
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
148
188
|
## Bàn giao luồng
|
|
149
189
|
|
|
150
190
|
Chuyển thẻ bàn giao có cấu trúc cho tác nhân đích qua MCP bộ nhớ dùng chung. Thao tác này không khôi phục toàn bộ trạng thái phiên. Lưu `card.json` với `goal` là chuỗi, còn `completed`, `blockers`, `nextSteps` và `files` là các mảng chuỗi:
|
|
@@ -177,38 +217,6 @@ Dùng mã bàn giao được trả về cho `<id>`, cùng tác nhân đích cho
|
|
|
177
217
|
|
|
178
218
|
---
|
|
179
219
|
|
|
180
|
-
## Điểm nổi bật
|
|
181
|
-
|
|
182
|
-
Sau khi tìm lại cuộc trò chuyện, bạn có thể quản lý cấu hình, skill và tác vụ phục vụ công việc hằng ngày:
|
|
183
|
-
- **Trình duyệt phiên thống nhất**: Xem phiên cục bộ từ Codex, Claude Code, Gemini CLI, CodeBuddy Code, WorkBuddy, Pi, OpenCode và Zed tại một nơi. Khả năng tìm kiếm, xuất và xóa tùy thuộc nguồn; xem [hướng dẫn phiên (tiếng Trung)](https://sakurabytecore.github.io/codexmate/guide/sessions). Chi tiết phiên luôn hiển thị ước tính token theo năm nhóm, thanh tỷ lệ và mức sức khỏe ngữ cảnh.
|
|
184
|
-
- **Bridge tương thích OpenAI**: Dùng Codex với bất kỳ UI nào hỗ trợ OpenAI bằng cách chuẩn hóa Responses API.
|
|
185
|
-
- **Dọn dẹp provider lỗi**: Kiểm tra route provider cục bộ của Codex/Claude, hiển thị cấu hình lỗi trong một modal và xóa hàng loạt các provider hỏng đã chọn mà không chạm vào mục khỏe mạnh hoặc được bảo vệ.
|
|
186
|
-
- **Xem trước và hoàn tác cấu hình**: Hiển thị đường dẫn và khác biệt trường đã ẩn thông tin xác thực trước khi ghi cả sáu công cụ. Phát hiện sửa đổi bên ngoài sau khi tải hoặc xem trước; hoàn tác thay đổi gần nhất của từng công cụ, kể cả sau khi khởi động lại dịch vụ. Tùy chọn xem trước điều khiển hộp thoại; khi tắt vẫn giữ kiểm tra xung đột và hoàn tác.
|
|
187
|
-
- **Chợ skill cục bộ**: Chia sẻ và nhập skill giữa các app agent khác nhau.
|
|
188
|
-
- **Điều phối tác vụ**: Tự động thực thi quy trình hiện có, lưu bền vững tiến độ và kết quả, chỉ yêu cầu can thiệp khi bị chặn.
|
|
189
|
-
|
|
190
|
-
---
|
|
191
|
-
|
|
192
|
-
## Tiến độ hiện tại
|
|
193
|
-
|
|
194
|
-
| Tính năng | Trạng thái | Mô tả |
|
|
195
|
-
| --- | --- | --- |
|
|
196
|
-
| **Quản lý Provider** | ✅ | Chuyển đổi provider/model cho Codex, Claude, OpenCode, KiloCode, OpenClaw và Pi |
|
|
197
|
-
| **Cấu hình Provider Pi** | ✅ | Quản lý provider Pi trong Web UI, ghi vào `~/.pi/agent/models.json` (giữ nguyên các trường không nhận dạng được) và chuyển đổi provider/model mặc định trong `~/.pi/agent/settings.json` |
|
|
198
|
-
| **Đồng bộ Agent trực tiếp** | ✅ | Giám sát cấu hình & trạng thái Codex/Claude theo thời gian thực |
|
|
199
|
-
| **Trình duyệt phiên** | ✅ | Xem và lọc phiên cục bộ; khả năng tìm kiếm và xuất Markdown tùy thuộc nguồn. Xem hướng dẫn phiên |
|
|
200
|
-
| **Phân tích sử dụng** | ✅ | Trực quan hóa xu hướng tin nhắn và dự án nổi bật |
|
|
201
|
-
| **Chợ skill cục bộ** | ✅ | Import/export skill giữa các app agent |
|
|
202
|
-
| **Hàng đợi tác vụ** | ✅ | Quy trình tự động có phụ thuộc, lưu tiến độ, khôi phục an toàn và tổng kết kết quả |
|
|
203
|
-
| **Bridge OpenAI** | ✅ | Chuyển đổi Codex Responses API sang định dạng OpenAI chuẩn |
|
|
204
|
-
| **Kiểm tra sức khỏe Provider** | ✅ | Kiểm tra route provider Codex/Claude, đánh dấu cấu hình lỗi và xóa hàng loạt các provider hỏng đã chọn một cách an toàn |
|
|
205
|
-
| **Mẫu Prompt** | ✅ | Hộp thoại điền biến khi gọi, chia sẻ một mẫu bằng JSON, lịch sử Diff và khôi phục cấu hình mẫu plugin. `git_diff` là văn bản được dán, không thực thi lệnh. |
|
|
206
|
-
| **Trình sửa tệp prompt** | ✅ | Chỉnh sửa CLAUDE.md / AGENTS.md toàn cục và theo dự án với kho preset chung. Điền biến trước khi áp dụng preset; cần lưu thủ công để ghi tệp. Lịch sử hiển thị Diff; xác nhận khôi phục sẽ ghi phiên bản đã chọn với bản sao lưu nguyên tử và kiểm tra thay đổi bên ngoài. Tab và lựa chọn tệp đích được lưu và khôi phục sau khi tải lại. Pi giữ tệp đã chọn nếu còn trong danh sách; chỉ chuyển về mục đầu khi tệp không còn và không có bản nháp chưa lưu. Tab Pi liệt kê tệp `.md` trực tiếp trong `~/.pi/agent/` hoặc `<cwd>/.pi/`, cập nhật khi mở tab hoặc danh sách tệp; không tự động nạp prompt. Trang sửa prompt không thêm khoảng trống tải cấu hình, tránh nhảy vị trí cuộn khi quá trình tải hoàn tất. |
|
|
207
|
-
| **Tích hợp MCP** | ✅ | Expose tool và resource cục bộ qua MCP stdio |
|
|
208
|
-
| **Tự động cập nhật** | ✅ | Nhấp thông báo phiên bản mới trong Web UI để xem phiên bản và sao chép `codexmate update`. Chạy trên máy chủ dịch vụ rồi khởi động lại dịch vụ sau khi cập nhật thành công. Nhấp hoặc sao chép không thực thi cập nhật |
|
|
209
|
-
|
|
210
|
-
---
|
|
211
|
-
|
|
212
220
|
## Quy trình tự động không cần theo dõi liên tục
|
|
213
221
|
|
|
214
222
|
Tái sử dụng định nghĩa quy trình hiện có để backend tự động thực thi các bước sau khi gửi. Bảng quy trình trên trang tổng quan hỗ trợ gửi tác vụ, xem kết quả, tiếp tục sau khi bổ sung đầu vào và hủy các bước tiếp theo. Đóng trang không làm gián đoạn tác vụ; tác vụ không chạy khi dịch vụ dừng.
|
|
@@ -271,6 +279,8 @@ flowchart TD
|
|
|
271
279
|
CodexDir[~/.codex]
|
|
272
280
|
ClaudeDir[~/.claude]
|
|
273
281
|
ClawDir[~/.openclaw]
|
|
282
|
+
OpenCodeDir[~/.config/opencode]
|
|
283
|
+
MateDir[~/.codexmate]
|
|
274
284
|
State[Phiên/Sử dụng/Thùng rác]
|
|
275
285
|
end
|
|
276
286
|
|
|
@@ -279,7 +289,7 @@ flowchart TD
|
|
|
279
289
|
|
|
280
290
|
API --> Config & Session & Skills & Tasks
|
|
281
291
|
|
|
282
|
-
Config --> CodexDir & ClaudeDir & ClawDir
|
|
292
|
+
Config --> CodexDir & ClaudeDir & ClawDir & OpenCodeDir & MateDir
|
|
283
293
|
Session --> State
|
|
284
294
|
Skills --> Local
|
|
285
295
|
```
|
|
@@ -297,6 +307,8 @@ Cảm ơn tất cả những người đóng góp cho Codex Mate ❤️
|
|
|
297
307
|
<img src="https://contrib.rocks/image?repo=SakuraByteCore/codexmate" alt="Contributors" />
|
|
298
308
|
</a>
|
|
299
309
|
|
|
310
|
+
---
|
|
311
|
+
|
|
300
312
|
## Giấy phép
|
|
301
313
|
|
|
302
314
|
Apache-2.0
|