@siteboon/claude-code-ui 1.25.1 → 1.26.0
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.de.md +239 -0
- package/README.ja.md +115 -230
- package/README.ko.md +116 -231
- package/README.md +2 -1
- package/README.ru.md +75 -54
- package/README.zh-CN.md +121 -238
- package/dist/assets/index-C08k8QbP.css +32 -0
- package/dist/assets/{index-D6EffcRY.js → index-DnXcHp5q.js} +249 -242
- package/dist/index.html +2 -2
- package/dist/sw.js +59 -3
- package/package.json +3 -2
- package/server/claude-sdk.js +106 -62
- package/server/cli.js +10 -7
- package/server/cursor-cli.js +59 -73
- package/server/database/db.js +142 -1
- package/server/database/init.sql +28 -1
- package/server/gemini-cli.js +46 -48
- package/server/gemini-response-handler.js +12 -73
- package/server/index.js +82 -55
- package/server/middleware/auth.js +2 -2
- package/server/openai-codex.js +43 -28
- package/server/projects.js +1 -1
- package/server/providers/claude/adapter.js +278 -0
- package/server/providers/codex/adapter.js +248 -0
- package/server/providers/cursor/adapter.js +353 -0
- package/server/providers/gemini/adapter.js +186 -0
- package/server/providers/registry.js +44 -0
- package/server/providers/types.js +119 -0
- package/server/providers/utils.js +29 -0
- package/server/routes/agent.js +7 -5
- package/server/routes/cli-auth.js +38 -0
- package/server/routes/codex.js +1 -19
- package/server/routes/gemini.js +0 -30
- package/server/routes/git.js +48 -20
- package/server/routes/messages.js +61 -0
- package/server/routes/plugins.js +5 -1
- package/server/routes/settings.js +99 -1
- package/server/routes/taskmaster.js +2 -2
- package/server/services/notification-orchestrator.js +227 -0
- package/server/services/vapid-keys.js +35 -0
- package/server/utils/plugin-loader.js +53 -4
- package/shared/networkHosts.js +22 -0
- package/dist/assets/index-WNTmA_ug.css +0 -32
package/README.zh-CN.md
CHANGED
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<img src="public/logo.svg" alt="
|
|
3
|
-
<h1>Cloud CLI
|
|
2
|
+
<img src="public/logo.svg" alt="CloudCLI UI" width="64" height="64">
|
|
3
|
+
<h1>Cloud CLI(又名 Claude Code UI)</h1>
|
|
4
|
+
<p><a href="https://docs.anthropic.com/en/docs/claude-code">Claude Code</a>、<a href="https://docs.cursor.com/en/cli/overview">Cursor CLI</a>、<a href="https://developers.openai.com/codex">Codex</a> 和 <a href="https://geminicli.com/">Gemini-CLI</a> 的桌面和移动端 UI。可在本地或远程使用,从任何地方查看激活的项目与会话。</p>
|
|
4
5
|
</div>
|
|
5
6
|
|
|
7
|
+
<p align="center">
|
|
8
|
+
<a href="https://cloudcli.ai">CloudCLI Cloud</a> · <a href="https://cloudcli.ai/docs">文档</a> · <a href="https://discord.gg/buxwujPNRE">Discord</a> · <a href="https://github.com/siteboon/claudecodeui/issues">Bug 报告</a> · <a href="CONTRIBUTING.md">贡献指南</a>
|
|
9
|
+
</p>
|
|
6
10
|
|
|
7
|
-
|
|
11
|
+
<p align="center">
|
|
12
|
+
<a href="https://cloudcli.ai"><img src="https://img.shields.io/badge/☁️_CloudCLI_Cloud-Try_Now-0066FF?style=for-the-badge" alt="CloudCLI Cloud"></a>
|
|
13
|
+
<a href="https://discord.gg/buxwujPNRE"><img src="https://img.shields.io/badge/Discord-Join%20Community-5865F2?style=for-the-badge&logo=discord&logoColor=white" alt="加入 Discord 社区"></a>
|
|
14
|
+
<br><br>
|
|
15
|
+
<a href="https://trendshift.io/repositories/15586" target="_blank"><img src="https://trendshift.io/api/badge/repositories/15586" alt="siteboon%2Fclaudecodeui | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
|
|
16
|
+
</p>
|
|
8
17
|
|
|
9
|
-
<div align="right"><i><a href="./README.md">English</a> · <a href="./README.ru.md">Русский</a> · <a href="./README.ko.md">한국어</a> · <b>中文</b> · <a href="./README.ja.md">日本語</a></i></div>
|
|
18
|
+
<div align="right"><i><a href="./README.md">English</a> · <a href="./README.ru.md">Русский</a> · <a href="./README.de.md">Deutsch</a> · <a href="./README.ko.md">한국어</a> · <b>中文</b> · <a href="./README.ja.md">日本語</a></i></div>
|
|
19
|
+
|
|
20
|
+
---
|
|
10
21
|
|
|
11
22
|
## 截图
|
|
12
23
|
|
|
@@ -16,327 +27,199 @@
|
|
|
16
27
|
<tr>
|
|
17
28
|
<td align="center">
|
|
18
29
|
<h3>桌面视图</h3>
|
|
19
|
-
<img src="public/screenshots/desktop-main.png" alt="
|
|
30
|
+
<img src="public/screenshots/desktop-main.png" alt="桌面界面" width="400">
|
|
20
31
|
<br>
|
|
21
|
-
<em
|
|
32
|
+
<em>显示项目概览和聊天的主界面</em>
|
|
22
33
|
</td>
|
|
23
34
|
<td align="center">
|
|
24
|
-
<h3
|
|
25
|
-
<img src="public/screenshots/mobile-chat.png" alt="
|
|
35
|
+
<h3>移动体验</h3>
|
|
36
|
+
<img src="public/screenshots/mobile-chat.png" alt="移动界面" width="250">
|
|
26
37
|
<br>
|
|
27
|
-
<em
|
|
38
|
+
<em>具有触控导航的响应式移动设计</em>
|
|
28
39
|
</td>
|
|
29
40
|
</tr>
|
|
30
41
|
<tr>
|
|
31
42
|
<td align="center" colspan="2">
|
|
32
43
|
<h3>CLI 选择</h3>
|
|
33
|
-
<img src="public/screenshots/cli-selection.png" alt="CLI
|
|
44
|
+
<img src="public/screenshots/cli-selection.png" alt="CLI 选择" width="400">
|
|
34
45
|
<br>
|
|
35
|
-
<em>在 Claude Code、Cursor CLI
|
|
46
|
+
<em>在 Claude Code、Gemini、Cursor CLI 与 Codex 之间进行选择</em>
|
|
36
47
|
</td>
|
|
37
48
|
</tr>
|
|
38
49
|
</table>
|
|
39
50
|
|
|
40
|
-
|
|
41
|
-
|
|
42
51
|
</div>
|
|
43
52
|
|
|
44
|
-
##
|
|
53
|
+
## 功能
|
|
45
54
|
|
|
46
|
-
- **响应式设计** -
|
|
47
|
-
-
|
|
48
|
-
- **集成 Shell 终端** - 通过内置 shell 功能直接访问
|
|
49
|
-
- **文件浏览器** -
|
|
50
|
-
- **Git 浏览器** -
|
|
55
|
+
- **响应式设计** - 在桌面、平板和移动设备上无缝运行,让您随时随地使用 Agents
|
|
56
|
+
- **交互聊天界面** - 内置聊天 UI,轻松与 Agents 交流
|
|
57
|
+
- **集成 Shell 终端** - 通过内置 shell 功能直接访问 Agents CLI
|
|
58
|
+
- **文件浏览器** - 交互式文件树,支持语法高亮与实时编辑
|
|
59
|
+
- **Git 浏览器** - 查看、暂存并提交更改,还可切换分支
|
|
51
60
|
- **会话管理** - 恢复对话、管理多个会话并跟踪历史记录
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
|
|
61
|
+
- **插件系统** - 通过自定义选项卡、后端服务与集成扩展 CloudCLI。 [开始构建 →](https://github.com/cloudcli-ai/cloudcli-plugin-starter)
|
|
62
|
+
- **TaskMaster AI 集成** *(可选)* - 结合 AI 任务规划、PRD 分析与工作流自动化,实现高级项目管理
|
|
63
|
+
- **模型兼容性** - 支持 Claude、GPT、Gemini 模型家族(完整支持列表见 [`shared/modelConstants.js`](shared/modelConstants.js))
|
|
55
64
|
|
|
56
65
|
## 快速开始
|
|
57
66
|
|
|
58
|
-
###
|
|
67
|
+
### CloudCLI Cloud(推荐)
|
|
59
68
|
|
|
60
|
-
|
|
61
|
-
- 已安装并配置 [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code),和/或
|
|
62
|
-
- 已安装并配置 [Cursor CLI](https://docs.cursor.com/en/cli/overview),和/或
|
|
63
|
-
- 已安装并配置 [Codex](https://developers.openai.com/codex)
|
|
69
|
+
无需本地设置即可快速启动。提供可通过网络浏览器、移动应用、API 或喜欢的 IDE 访问的完全集装式托管开发环境。
|
|
64
70
|
|
|
65
|
-
|
|
71
|
+
**[立即开始 CloudCLI Cloud](https://cloudcli.ai)**
|
|
66
72
|
|
|
67
|
-
|
|
73
|
+
### 自托管(开源)
|
|
74
|
+
|
|
75
|
+
启动 CloudCLI UI,只需一行 `npx`(需要 Node.js v22+):
|
|
68
76
|
|
|
69
77
|
```bash
|
|
70
78
|
npx @siteboon/claude-code-ui
|
|
71
79
|
```
|
|
72
80
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
**重启**: 停止服务器后只需再次运行相同的 `npx` 命令
|
|
76
|
-
|
|
77
|
-
### 全局安装(供常规使用)
|
|
78
|
-
|
|
79
|
-
为了频繁使用,一次性全局安装:
|
|
81
|
+
或进行全局安装,便于日常使用:
|
|
80
82
|
|
|
81
83
|
```bash
|
|
82
84
|
npm install -g @siteboon/claude-code-ui
|
|
85
|
+
cloudcli
|
|
83
86
|
```
|
|
84
87
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
```bash
|
|
88
|
-
claude-code-ui
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
**重启**: 使用 Ctrl+C 停止,然后再次运行 `claude-code-ui`。
|
|
93
|
-
|
|
94
|
-
**更新**:
|
|
95
|
-
```bash
|
|
96
|
-
cloudcli update
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
### CLI 使用方法
|
|
100
|
-
|
|
101
|
-
全局安装后,您可以访问 `claude-code-ui` 和 `cloudcli` 命令:
|
|
102
|
-
|
|
103
|
-
| 命令 / 选项 | 简写 | 描述 |
|
|
104
|
-
|------------------|-------|-------------|
|
|
105
|
-
| `cloudcli` 或 `claude-code-ui` | | 启动服务器(默认) |
|
|
106
|
-
| `cloudcli start` | | 显式启动服务器 |
|
|
107
|
-
| `cloudcli status` | | 显示配置和数据位置 |
|
|
108
|
-
| `cloudcli update` | | 更新到最新版本 |
|
|
109
|
-
| `cloudcli help` | | 显示帮助信息 |
|
|
110
|
-
| `cloudcli version` | | 显示版本信息 |
|
|
111
|
-
| `--port <port>` | `-p` | 设置服务器端口(默认: 3001) |
|
|
112
|
-
| `--database-path <path>` | | 设置自定义数据库位置 |
|
|
113
|
-
|
|
114
|
-
**示例:**
|
|
115
|
-
```bash
|
|
116
|
-
cloudcli # 使用默认设置启动
|
|
117
|
-
cloudcli -p 8080 # 在自定义端口启动
|
|
118
|
-
cloudcli status # 显示当前配置
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
### 作为后台服务运行(推荐用于生产环境)
|
|
122
|
-
|
|
123
|
-
在生产环境中,使用 PM2(Process Manager 2)将 Claude Code UI 作为后台服务运行:
|
|
124
|
-
|
|
125
|
-
#### 安装 PM2
|
|
126
|
-
|
|
127
|
-
```bash
|
|
128
|
-
npm install -g pm2
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
#### 作为后台服务启动
|
|
132
|
-
|
|
133
|
-
```bash
|
|
134
|
-
# 在后台启动服务器
|
|
135
|
-
pm2 start claude-code-ui --name "claude-code-ui"
|
|
136
|
-
|
|
137
|
-
# 或使用更短的别名
|
|
138
|
-
pm2 start cloudcli --name "claude-code-ui"
|
|
139
|
-
|
|
140
|
-
# 在自定义端口启动
|
|
141
|
-
pm2 start cloudcli --name "claude-code-ui" -- --port 8080
|
|
142
|
-
```
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
#### 系统启动时自动启动
|
|
146
|
-
|
|
147
|
-
要使 Claude Code UI 在系统启动时自动启动:
|
|
148
|
-
|
|
149
|
-
```bash
|
|
150
|
-
# 为您的平台生成启动脚本
|
|
151
|
-
pm2 startup
|
|
152
|
-
|
|
153
|
-
# 保存当前进程列表
|
|
154
|
-
pm2 save
|
|
155
|
-
```
|
|
156
|
-
|
|
88
|
+
打开 `http://localhost:3001`,系统会自动发现所有现有会话。
|
|
157
89
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
1. **克隆仓库:**
|
|
161
|
-
```bash
|
|
162
|
-
git clone https://github.com/siteboon/claudecodeui.git
|
|
163
|
-
cd claudecodeui
|
|
164
|
-
```
|
|
165
|
-
|
|
166
|
-
2. **安装依赖:**
|
|
167
|
-
```bash
|
|
168
|
-
npm install
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
3. **配置环境:**
|
|
172
|
-
```bash
|
|
173
|
-
cp .env.example .env
|
|
174
|
-
# 使用您喜欢的设置编辑 .env
|
|
175
|
-
```
|
|
90
|
+
更多配置选项、PM2、远程服务器设置等,请参阅 **[文档 →](https://cloudcli.ai/docs)**
|
|
176
91
|
|
|
177
|
-
|
|
178
|
-
```bash
|
|
179
|
-
# 开发模式(支持热重载)
|
|
180
|
-
npm run dev
|
|
92
|
+
---
|
|
181
93
|
|
|
182
|
-
|
|
183
|
-
|
|
94
|
+
## 哪个选项更适合你?
|
|
95
|
+
|
|
96
|
+
CloudCLI UI 是 CloudCLI Cloud 的开源 UI 层。你可以在本地机器上自托管它,也可以使用提供团队功能与深入集成的 CloudCLI Cloud。
|
|
97
|
+
|
|
98
|
+
| | CloudCLI UI(自托管) | CloudCLI Cloud |
|
|
99
|
+
|---|---|---|
|
|
100
|
+
| **适合对象** | 需要为本地代理会话提供完整 UI 的开发者 | 需要部署在云端,随时从任何地方访问代理的团队与开发者 |
|
|
101
|
+
| **访问方式** | 通过 `[yourip]:port` 在浏览器中访问 | 浏览器、任意 IDE、REST API、n8n |
|
|
102
|
+
| **设置** | `npx @siteboon/claude-code-ui` | 无需设置 |
|
|
103
|
+
| **机器需保持开机吗** | 是 | 否 |
|
|
104
|
+
| **移动端访问** | 网络内任意浏览器 | 任意设备(原生应用即将推出) |
|
|
105
|
+
| **可用会话** | 自动发现 `~/.claude` 中的所有会话 | 云端环境内的会话 |
|
|
106
|
+
| **支持的 Agents** | Claude Code、Cursor CLI、Codex、Gemini CLI | Claude Code、Cursor CLI、Codex、Gemini CLI |
|
|
107
|
+
| **文件浏览与 Git** | 内置于 UI | 内置于 UI |
|
|
108
|
+
| **MCP 配置** | UI 管理,与本地 `~/.claude` 配置同步 | UI 管理 |
|
|
109
|
+
| **IDE 访问** | 本地 IDE | 任何连接到云环境的 IDE |
|
|
110
|
+
| **REST API** | 是 | 是 |
|
|
111
|
+
| **n8n 节点** | 否 | 是 |
|
|
112
|
+
| **团队共享** | 否 | 是 |
|
|
113
|
+
| **平台费用** | 免费开源 | 起价 $7/月 |
|
|
114
|
+
|
|
115
|
+
> 两种方式都使用你自己的 AI 订阅(Claude、Cursor 等)— CloudCLI 提供环境,而非 AI。
|
|
184
116
|
|
|
185
|
-
|
|
186
|
-
- 开发环境: `http://localhost:3001`
|
|
117
|
+
---
|
|
187
118
|
|
|
188
119
|
## 安全与工具配置
|
|
189
120
|
|
|
190
|
-
**🔒 重要提示**: 所有 Claude Code
|
|
121
|
+
**🔒 重要提示**: 所有 Claude Code 工具默认**禁用**,可防止潜在的有害操作自动运行。
|
|
191
122
|
|
|
192
123
|
### 启用工具
|
|
193
124
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
2. **选择性启用** - 仅打开您需要的工具
|
|
198
|
-
3. **应用设置** - 您的偏好设置将保存在本地
|
|
125
|
+
1. **打开工具设置** - 点击侧边栏齿轮图标
|
|
126
|
+
2. **选择性启用** - 仅启用所需工具
|
|
127
|
+
3. **应用设置** - 偏好设置保存在本地
|
|
199
128
|
|
|
200
129
|
<div align="center">
|
|
201
130
|
|
|
202
|
-

|
|
132
|
+
*工具设置界面 - 只启用你需要的内容*
|
|
204
133
|
|
|
205
134
|
</div>
|
|
206
135
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
## TaskMaster AI 集成 *(可选)*
|
|
210
|
-
|
|
211
|
-
Claude Code UI 支持 **[TaskMaster AI](https://github.com/eyaltoledano/claude-task-master)**(aka claude-task-master)集成,用于高级项目管理和 AI 驱动的任务规划。
|
|
212
|
-
|
|
213
|
-
它提供
|
|
214
|
-
- 从 PRD(产品需求文档)生成 AI 驱动的任务
|
|
215
|
-
- 智能任务分解和依赖管理
|
|
216
|
-
- 可视化任务板和进度跟踪
|
|
217
|
-
|
|
218
|
-
**设置与文档**: 访问 [TaskMaster AI GitHub 仓库](https://github.com/eyaltoledano/claude-task-master)获取安装说明、配置指南和使用示例。
|
|
219
|
-
安装后,您应该能够从设置中启用它
|
|
136
|
+
**推荐做法**: 先启用基础工具,再根据需要添加其他工具。随时可以调整。
|
|
220
137
|
|
|
138
|
+
---
|
|
221
139
|
|
|
222
|
-
##
|
|
140
|
+
## 插件
|
|
223
141
|
|
|
224
|
-
|
|
142
|
+
CloudCLI 配备插件系统,允许你添加带自定义前端 UI 和可选 Node.js 后端的选项卡。在 Settings > Plugins 中直接从 Git 仓库安装插件,或自行开发。
|
|
225
143
|
|
|
226
|
-
|
|
227
|
-
当可用时,它会自动发现 Claude Code、Cursor 或 Codex 会话并将它们分组到项目中
|
|
228
|
-
- **项目操作** - 重命名、删除和组织项目
|
|
229
|
-
- **智能导航** - 快速访问最近的项目和会话
|
|
230
|
-
- **MCP 支持** - 通过 UI 添加您自己的 MCP 服务器
|
|
144
|
+
### 可用插件
|
|
231
145
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
- **会话管理** - 恢复之前的对话或启动新会话
|
|
236
|
-
- **消息历史** - 带有时间戳和元数据的完整对话历史
|
|
237
|
-
- **多格式支持** - 文本、代码块和文件引用
|
|
146
|
+
| 插件 | 描述 |
|
|
147
|
+
|---|---|
|
|
148
|
+
| **[Project Stats](https://github.com/cloudcli-ai/cloudcli-plugin-starter)** | 展示当前项目的文件数、代码行数、文件类型分布、最大文件以及最近修改的文件 |
|
|
238
149
|
|
|
239
|
-
|
|
240
|
-
- **交互式文件树** - 使用展开/折叠导航浏览项目结构
|
|
241
|
-
- **实时文件编辑** - 直接在界面中读取、修改和保存文件
|
|
242
|
-
- **语法高亮** - 支持多种编程语言
|
|
243
|
-
- **文件操作** - 创建、重命名、删除文件和目录
|
|
150
|
+
### 自行构建
|
|
244
151
|
|
|
245
|
-
|
|
152
|
+
**[Plugin Starter Template →](https://github.com/cloudcli-ai/cloudcli-plugin-starter)** — Fork 该仓库以构建自己的插件。示例包括前端渲染、实时上下文更新和 RPC 通信。
|
|
246
153
|
|
|
154
|
+
**[插件文档 →](https://cloudcli.ai/docs/plugin-overview)** — 提供插件 API、清单格式、安全模型等完整指南。
|
|
247
155
|
|
|
248
|
-
|
|
249
|
-
- **可视化任务板** - 用于管理开发任务的看板风格界面
|
|
250
|
-
- **PRD 解析器** - 创建产品需求文档并将其解析为结构化任务
|
|
251
|
-
- **进度跟踪** - 实时状态更新和完成跟踪
|
|
156
|
+
---
|
|
252
157
|
|
|
253
|
-
|
|
254
|
-
- **会话持久化** - 所有对话自动保存
|
|
255
|
-
- **会话组织** - 按项目和 timestamp 分组会话
|
|
256
|
-
- **会话操作** - 重命名、删除和导出对话历史
|
|
257
|
-
- **跨设备同步** - 从任何设备访问会话
|
|
158
|
+
## 常见问题
|
|
258
159
|
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
- **触摸友好界面** - 滑动手势和触摸导航
|
|
262
|
-
- **移动导航** - 底部选项卡栏,方便拇指导航
|
|
263
|
-
- **自适应布局** - 可折叠侧边栏和智能内容优先级
|
|
264
|
-
- **添加到主屏幕快捷方式** - 添加快捷方式到主屏幕,应用程序将像 PWA 一样运行
|
|
160
|
+
<details>
|
|
161
|
+
<summary>与 Claude Code Remote Control 有何不同?</summary>
|
|
265
162
|
|
|
266
|
-
|
|
163
|
+
Claude Code Remote Control 让你发送消息到本地终端中已经运行的会话。该方式要求你的机器保持开机,终端保持开启,断开网络后约 10 分钟会话会超时。
|
|
267
164
|
|
|
268
|
-
|
|
165
|
+
CloudCLI UI 与 CloudCLI Cloud 是对 Claude Code 的扩展,而非旁观 — MCP 服务器、权限、设置、会话与 Claude Code 完全一致。
|
|
269
166
|
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
└─────────────────┘ └─────────────────┘ └─────────────────┘
|
|
276
|
-
```
|
|
167
|
+
- **覆盖全部会话** — CloudCLI UI 会自动扫描 `~/.claude` 文件夹中的每个会话。Remote Control 只暴露当前活动的会话。
|
|
168
|
+
- **设置统一** — 在 CloudCLI UI 中修改的 MCP、工具权限等设置会立即写入 Claude Code。
|
|
169
|
+
- **支持更多 Agents** — Claude Code、Cursor CLI、Codex、Gemini CLI。
|
|
170
|
+
- **完整 UI** — 除了聊天界面,还包括文件浏览器、Git 集成、MCP 管理和 Shell 终端。
|
|
171
|
+
- **CloudCLI Cloud 保持运行于云端** — 关闭本地设备也不会中断代理运行,无需监控终端。
|
|
277
172
|
|
|
278
|
-
|
|
279
|
-
- **Express 服务器** - 具有静态文件服务的 RESTful API
|
|
280
|
-
- **WebSocket 服务器** - 用于聊天和项目刷新的通信
|
|
281
|
-
- **Agent 集成 (Claude Code / Cursor CLI / Codex)** - 进程生成和管理
|
|
282
|
-
- **文件系统 API** - 为项目公开文件浏览器
|
|
173
|
+
</details>
|
|
283
174
|
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
- **CodeMirror** - 具有语法高亮的高级代码编辑器
|
|
175
|
+
<details>
|
|
176
|
+
<summary>需要额外购买 AI 订阅吗?</summary>
|
|
287
177
|
|
|
178
|
+
需要。CloudCLI 只提供环境。你仍需自行获取 Claude、Cursor、Codex 或 Gemini 订阅。CloudCLI Cloud 从 $7/月起提供托管环境。
|
|
288
179
|
|
|
180
|
+
</details>
|
|
289
181
|
|
|
182
|
+
<details>
|
|
183
|
+
<summary>能在手机上使用 CloudCLI UI 吗?</summary>
|
|
290
184
|
|
|
291
|
-
|
|
185
|
+
可以。自托管时,在你的设备上运行服务器,然后在网络中的任意浏览器打开 `[yourip]:port`。CloudCLI Cloud 可从任意设备访问,内置原生应用也在开发中。
|
|
292
186
|
|
|
293
|
-
|
|
187
|
+
</details>
|
|
294
188
|
|
|
295
|
-
|
|
189
|
+
<details>
|
|
190
|
+
<summary>UI 中的更改会影响本地 Claude Code 配置吗?</summary>
|
|
296
191
|
|
|
297
|
-
|
|
192
|
+
会的。自托管模式下,CloudCLI UI 读取并写入 Claude Code 使用的 `~/.claude` 配置。通过 UI 添加的 MCP 服务器会立即在 Claude Code 中可见。
|
|
298
193
|
|
|
194
|
+
</details>
|
|
299
195
|
|
|
300
|
-
|
|
301
|
-
**问题**: UI 显示没有项目或项目列表为空
|
|
302
|
-
**解决方案**:
|
|
303
|
-
- 确保已正确安装 [Claude Code](https://docs.anthropic.com/en/docs/claude-code)
|
|
304
|
-
- 至少在一个项目目录中运行 `claude` 命令以进行初始化
|
|
305
|
-
- 验证 `~/.claude/projects/` 目录存在并具有适当的权限
|
|
196
|
+
---
|
|
306
197
|
|
|
307
|
-
|
|
308
|
-
**问题**: 文件无法加载、权限错误、空目录
|
|
309
|
-
**解决方案**:
|
|
310
|
-
- 检查项目目录权限(在终端中使用 `ls -la`)
|
|
311
|
-
- 验证项目路径存在且可访问
|
|
312
|
-
- 查看服务器控制台日志以获取详细错误消息
|
|
313
|
-
- 确保您未尝试访问项目范围之外的系统目录
|
|
198
|
+
## 社区与支持
|
|
314
199
|
|
|
200
|
+
- **[文档](https://cloudcli.ai/docs)** — 安装、配置、功能与故障排除指南
|
|
201
|
+
- **[Discord](https://discord.gg/buxwujPNRE)** — 获取帮助并与社区交流
|
|
202
|
+
- **[GitHub Issues](https://github.com/siteboon/claudecodeui/issues)** — 报告 Bug 与建议功能
|
|
203
|
+
- **[贡献指南](CONTRIBUTING.md)** — 如何参与项目贡献
|
|
315
204
|
|
|
316
205
|
## 许可证
|
|
317
206
|
|
|
318
|
-
GNU
|
|
207
|
+
GNU 通用公共许可证 v3.0 - 详见 [LICENSE](LICENSE) 文件。
|
|
319
208
|
|
|
320
|
-
|
|
209
|
+
该项目为开源软件,在 GPL v3 许可证下可自由使用、修改与分发。
|
|
321
210
|
|
|
322
211
|
## 致谢
|
|
323
212
|
|
|
324
|
-
###
|
|
325
|
-
- **[Claude Code](https://docs.anthropic.com/en/docs/claude-code)** - Anthropic
|
|
326
|
-
- **[Cursor CLI](https://docs.cursor.com/en/cli/overview)** - Cursor
|
|
213
|
+
### 使用技术
|
|
214
|
+
- **[Claude Code](https://docs.anthropic.com/en/docs/claude-code)** - Anthropic 官方 CLI
|
|
215
|
+
- **[Cursor CLI](https://docs.cursor.com/en/cli/overview)** - Cursor 官方 CLI
|
|
327
216
|
- **[Codex](https://developers.openai.com/codex)** - OpenAI Codex
|
|
217
|
+
- **[Gemini-CLI](https://geminicli.com/)** - Google Gemini CLI
|
|
328
218
|
- **[React](https://react.dev/)** - 用户界面库
|
|
329
|
-
- **[Vite](https://vitejs.dev/)** -
|
|
330
|
-
- **[Tailwind CSS](https://tailwindcss.com/)** -
|
|
219
|
+
- **[Vite](https://vitejs.dev/)** - 快速构建工具与开发服务器
|
|
220
|
+
- **[Tailwind CSS](https://tailwindcss.com/)** - 实用先行 CSS 框架
|
|
331
221
|
- **[CodeMirror](https://codemirror.net/)** - 高级代码编辑器
|
|
332
|
-
- **[TaskMaster AI](https://github.com/eyaltoledano/claude-task-master)** *(可选)* - AI
|
|
333
|
-
|
|
334
|
-
## 支持与社区
|
|
335
|
-
|
|
336
|
-
### 保持更新
|
|
337
|
-
- **Star** 此仓库以表示支持
|
|
338
|
-
- **Watch** 以获取更新和新版本
|
|
339
|
-
- **Follow** 项目以获取公告
|
|
222
|
+
- **[TaskMaster AI](https://github.com/eyaltoledano/claude-task-master)** *(可选)* - AI 驱动的项目管理与任务规划
|
|
340
223
|
|
|
341
224
|
### 赞助商
|
|
342
225
|
- [Siteboon - AI powered website builder](https://siteboon.ai)
|