@siteboon/claude-code-ui 1.22.0 → 1.23.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.md +63 -214
- package/dist/assets/index-7_J3n3lH.js +1204 -0
- package/dist/assets/index-BFyod1Qa.css +32 -0
- package/dist/assets/{vendor-codemirror-BMLq5tLB.js → vendor-codemirror-C8f1vU1x.js} +9 -9
- package/dist/assets/{vendor-react-DIN4KjD2.js → vendor-react-CdSTmIF1.js} +1 -1
- package/dist/index.html +6 -6
- package/package.json +22 -2
- package/server/claude-sdk.js +59 -8
- package/server/database/db.js +68 -0
- package/server/database/init.sql +14 -1
- package/server/index.js +53 -3
- package/server/projects.js +53 -14
- package/server/routes/cli-auth.js +23 -4
- package/server/routes/codex.js +3 -0
- package/server/routes/cursor.js +5 -2
- package/server/routes/gemini.js +2 -0
- package/shared/modelConstants.js +6 -2
- package/dist/assets/index-B6iL1dXV.css +0 -32
- package/dist/assets/index-Br2fwqOq.js +0 -1397
package/README.md
CHANGED
|
@@ -70,137 +70,53 @@ The fastest way to get started — no local setup required. Get a fully managed,
|
|
|
70
70
|
|
|
71
71
|
**[Get started with CloudCLI Cloud](https://cloudcli.ai)**
|
|
72
72
|
|
|
73
|
-
### Self-Hosted (Open Source)
|
|
74
73
|
|
|
75
|
-
|
|
74
|
+
### Self-Hosted (Open source)
|
|
76
75
|
|
|
77
|
-
|
|
78
|
-
- [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code) installed and configured, and/or
|
|
79
|
-
- [Cursor CLI](https://docs.cursor.com/en/cli/overview) installed and configured, and/or
|
|
80
|
-
- [Codex](https://developers.openai.com/codex) installed and configured, and/or
|
|
81
|
-
- [Gemini-CLI](https://geminicli.com/) installed and configured
|
|
76
|
+
Try CloudCLI UI instantly with **npx** (requires **Node.js** v22+):
|
|
82
77
|
|
|
83
|
-
#### One-click Operation
|
|
84
|
-
|
|
85
|
-
No installation required, direct operation:
|
|
86
|
-
|
|
87
|
-
```bash
|
|
88
|
-
npx @siteboon/claude-code-ui
|
|
89
78
|
```
|
|
90
|
-
|
|
91
|
-
The server will start and be accessible at `http://localhost:3001` (or your configured PORT).
|
|
92
|
-
|
|
93
|
-
**To restart**: Simply run the same `npx` command again after stopping the server
|
|
94
|
-
### Global Installation (For Regular Use)
|
|
95
|
-
|
|
96
|
-
For frequent use, install globally once:
|
|
97
|
-
|
|
98
|
-
```bash
|
|
99
|
-
npm install -g @siteboon/claude-code-ui
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
Then start with a simple command:
|
|
103
|
-
|
|
104
|
-
```bash
|
|
105
|
-
claude-code-ui
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
**To restart**: Stop with Ctrl+C and run `claude-code-ui` again.
|
|
110
|
-
|
|
111
|
-
**To update**:
|
|
112
|
-
```bash
|
|
113
|
-
cloudcli update
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
### CLI Usage
|
|
117
|
-
|
|
118
|
-
After global installation, you have access to both `claude-code-ui` and `cloudcli` commands:
|
|
119
|
-
|
|
120
|
-
| Command / Option | Short | Description |
|
|
121
|
-
|------------------|-------|-------------|
|
|
122
|
-
| `cloudcli` or `claude-code-ui` | | Start the server (default) |
|
|
123
|
-
| `cloudcli start` | | Start the server explicitly |
|
|
124
|
-
| `cloudcli status` | | Show configuration and data locations |
|
|
125
|
-
| `cloudcli update` | | Update to the latest version |
|
|
126
|
-
| `cloudcli help` | | Show help information |
|
|
127
|
-
| `cloudcli version` | | Show version information |
|
|
128
|
-
| `--port <port>` | `-p` | Set server port (default: 3001) |
|
|
129
|
-
| `--database-path <path>` | | Set custom database location |
|
|
130
|
-
|
|
131
|
-
**Examples:**
|
|
132
|
-
```bash
|
|
133
|
-
cloudcli # Start with defaults
|
|
134
|
-
cloudcli -p 8080 # Start on custom port
|
|
135
|
-
cloudcli status # Show current configuration
|
|
136
|
-
```
|
|
137
|
-
|
|
138
|
-
### Run as Background Service (Recommended for Production)
|
|
139
|
-
|
|
140
|
-
For production use, run CloudCLI as a background service using PM2 (Process Manager 2):
|
|
141
|
-
|
|
142
|
-
#### Install PM2
|
|
143
|
-
|
|
144
|
-
```bash
|
|
145
|
-
npm install -g pm2
|
|
79
|
+
npx @siteboon/claude-code-ui
|
|
146
80
|
```
|
|
147
81
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
```bash
|
|
151
|
-
# Start the server in background
|
|
152
|
-
pm2 start claude-code-ui --name "claude-code-ui"
|
|
82
|
+
Or install **globally** for regular use:
|
|
153
83
|
|
|
154
|
-
# Or using the shorter alias
|
|
155
|
-
pm2 start cloudcli --name "claude-code-ui"
|
|
156
|
-
|
|
157
|
-
# Start on a custom port
|
|
158
|
-
pm2 start cloudcli --name "claude-code-ui" -- --port 8080
|
|
159
84
|
```
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
#### Auto-Start on System Boot
|
|
163
|
-
|
|
164
|
-
To make CloudCLI UI start automatically when your system boots:
|
|
165
|
-
|
|
166
|
-
```bash
|
|
167
|
-
# Generate startup script for your platform
|
|
168
|
-
pm2 startup
|
|
169
|
-
|
|
170
|
-
# Save current process list
|
|
171
|
-
pm2 save
|
|
85
|
+
npm install -g @siteboon/claude-code-ui
|
|
86
|
+
cloudcli
|
|
172
87
|
```
|
|
173
88
|
|
|
89
|
+
Open `http://localhost:3001` — all your existing sessions are discovered automatically.
|
|
174
90
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
1. **Clone the repository:**
|
|
178
|
-
```bash
|
|
179
|
-
git clone https://github.com/siteboon/claudecodeui.git
|
|
180
|
-
cd claudecodeui
|
|
181
|
-
```
|
|
91
|
+
Visit the **[documentation →](https://cloudcli.ai/docs)** for more full configuration options, PM2, remote server setup and more
|
|
182
92
|
|
|
183
|
-
2. **Install dependencies:**
|
|
184
|
-
```bash
|
|
185
|
-
npm install
|
|
186
|
-
```
|
|
187
|
-
|
|
188
|
-
3. **Configure environment:**
|
|
189
|
-
```bash
|
|
190
|
-
cp .env.example .env
|
|
191
|
-
# Edit .env with your preferred settings
|
|
192
|
-
```
|
|
193
93
|
|
|
194
|
-
|
|
195
|
-
```bash
|
|
196
|
-
# Development mode (with hot reload)
|
|
197
|
-
npm run dev
|
|
94
|
+
---
|
|
198
95
|
|
|
199
|
-
|
|
200
|
-
|
|
96
|
+
## Which option is right for you?
|
|
97
|
+
|
|
98
|
+
CloudCLI UI is the open source UI layer that powers CloudCLI Cloud. You can self-host it on your own machine, or use CloudCLI Cloud which builds on top of it with a full managed cloud environment, team features, and deeper integrations.
|
|
99
|
+
|
|
100
|
+
| | CloudCLI UI (Self-hosted) | CloudCLI Cloud |
|
|
101
|
+
|---|---|---|
|
|
102
|
+
| **Best for** | Developers who want a full UI for local agent sessions on their own machine | Teams and developers who want agents running in the cloud, accessible from anywhere |
|
|
103
|
+
| **How you access it** | Browser via `[yourip]:port` | Browser, any IDE, REST API, n8n |
|
|
104
|
+
| **Setup** | `npx @siteboon/claude-code-ui` | No setup required |
|
|
105
|
+
| **Machine needs to stay on** | Yes | No |
|
|
106
|
+
| **Mobile access** | Any browser on your network | Any device, native app coming |
|
|
107
|
+
| **Sessions available** | All sessions auto-discovered from `~/.claude` | All sessions within your cloud environment |
|
|
108
|
+
| **Agents supported** | Claude Code, Cursor CLI, Codex, Gemini CLI | Claude Code, Cursor CLI, Codex, Gemini CLI |
|
|
109
|
+
| **File explorer and Git** | Yes, built into the UI | Yes, built into the UI |
|
|
110
|
+
| **MCP configuration** | Managed via UI, synced with your local `~/.claude` config | Managed via UI |
|
|
111
|
+
| **IDE access** | Your local IDE | Any IDE connected to your cloud environment |
|
|
112
|
+
| **REST API** | Yes | Yes |
|
|
113
|
+
| **n8n node** | No | Yes |
|
|
114
|
+
| **Team sharing** | No | Yes |
|
|
115
|
+
| **Platform cost** | Free, open source | Starts at $7/month |
|
|
116
|
+
|
|
117
|
+
> Both options use your own AI subscriptions (Claude, Cursor, etc.) — CloudCLI provides the environment, not the AI.
|
|
201
118
|
|
|
202
|
-
|
|
203
|
-
- Development: `http://localhost:3001`
|
|
119
|
+
---
|
|
204
120
|
|
|
205
121
|
## Security & Tools Configuration
|
|
206
122
|
|
|
@@ -223,114 +139,55 @@ To use Claude Code's full functionality, you'll need to manually enable tools:
|
|
|
223
139
|
|
|
224
140
|
**Recommended approach**: Start with basic tools enabled and add more as needed. You can always adjust these settings later.
|
|
225
141
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
CloudCLI UI supports **[TaskMaster AI](https://github.com/eyaltoledano/claude-task-master)** (aka claude-task-master) integration for advanced project management and AI-powered task planning.
|
|
229
|
-
|
|
230
|
-
It provides
|
|
231
|
-
- AI-powered task generation from PRDs (Product Requirements Documents)
|
|
232
|
-
- Smart task breakdown and dependency management
|
|
233
|
-
- Visual task boards and progress tracking
|
|
234
|
-
|
|
235
|
-
**Setup & Documentation**: Visit the [TaskMaster AI GitHub repository](https://github.com/eyaltoledano/claude-task-master) for installation instructions, configuration guides, and usage examples.
|
|
236
|
-
After installing it you should be able to enable it from the Settings
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
## Usage Guide
|
|
240
|
-
|
|
241
|
-
### Core Features
|
|
242
|
-
|
|
243
|
-
#### Project Management
|
|
244
|
-
It automatically discovers Claude Code, Cursor or Codex sessions when available and groups them together into projects
|
|
245
|
-
session counts
|
|
246
|
-
- **Project Actions** - Rename, delete, and organize projects
|
|
247
|
-
- **Smart Navigation** - Quick access to recent projects and sessions
|
|
248
|
-
- **MCP support** - Add your own MCP servers through the UI
|
|
249
|
-
|
|
250
|
-
#### Chat Interface
|
|
251
|
-
- **Use responsive chat or Claude Code/Cursor CLI/Codex CLI** - You can either use the adapted chat interface or use the shell button to connect to your selected CLI.
|
|
252
|
-
- **Real-time Communication** - Stream responses from your selected CLI (Claude Code/Cursor/Codex) with WebSocket connection
|
|
253
|
-
- **Session Management** - Resume previous conversations or start fresh sessions
|
|
254
|
-
- **Message History** - Complete conversation history with timestamps and metadata
|
|
255
|
-
- **Multi-format Support** - Text, code blocks, and file references
|
|
256
|
-
|
|
257
|
-
#### File Explorer & Editor
|
|
258
|
-
- **Interactive File Tree** - Browse project structure with expand/collapse navigation
|
|
259
|
-
- **Live File Editing** - Read, modify, and save files directly in the interface
|
|
260
|
-
- **Syntax Highlighting** - Support for multiple programming languages
|
|
261
|
-
- **File Operations** - Create, rename, delete files and directories
|
|
262
|
-
|
|
263
|
-
#### Git Explorer
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
#### TaskMaster AI Integration *(Optional)*
|
|
267
|
-
- **Visual Task Board** - Kanban-style interface for managing development tasks
|
|
268
|
-
- **PRD Parser** - Create Product Requirements Documents and parse them into structured tasks
|
|
269
|
-
- **Progress Tracking** - Real-time status updates and completion tracking
|
|
142
|
+
---
|
|
143
|
+
## FAQ
|
|
270
144
|
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
- **Session Organization** - Group sessions by project and timestamp
|
|
274
|
-
- **Session Actions** - Rename, delete, and export conversation history
|
|
275
|
-
- **Cross-device Sync** - Access sessions from any device
|
|
145
|
+
<details>
|
|
146
|
+
<summary>How is this different from Claude Code Remote Control?</summary>
|
|
276
147
|
|
|
277
|
-
|
|
278
|
-
- **Responsive Design** - Optimized for all screen sizes
|
|
279
|
-
- **Touch-friendly Interface** - Swipe gestures and touch navigation
|
|
280
|
-
- **Mobile Navigation** - Bottom tab bar for easy thumb navigation
|
|
281
|
-
- **Adaptive Layout** - Collapsible sidebar and smart content prioritization
|
|
282
|
-
- **Add shortcut to Home Screen** - Add a shortcut to your home screen and the app will behave like a PWA
|
|
148
|
+
Claude Code Remote Control lets you send messages to a session already running in your local terminal. Your machine has to stay on, your terminal has to stay open, and sessions time out after roughly 10 minutes without a network connection.
|
|
283
149
|
|
|
284
|
-
|
|
150
|
+
CloudCLI UI and CloudCLI Cloud extend Claude Code rather than sit alongside it — your MCP servers, permissions, settings, and sessions are the exact same ones Claude Code uses natively. Nothing is duplicated or managed separately.
|
|
285
151
|
|
|
286
|
-
|
|
152
|
+
Here's what that means in practice:
|
|
287
153
|
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
└─────────────────┘ └─────────────────┘ └─────────────────┘
|
|
294
|
-
```
|
|
154
|
+
- **All your sessions, not just one** — CloudCLI UI auto-discovers every session from your `~/.claude` folder. Remote Control only exposes the single active session to make it available in the Claude mobile app.
|
|
155
|
+
- **Your settings are your settings** — MCP servers, tool permissions, and project config you change in CloudCLI UI are written directly to your Claude Code config and take effect immediately, and vice versa.
|
|
156
|
+
- **Works with more agents** — Claude Code, Cursor CLI, Codex, and Gemini CLI, not just Claude Code.
|
|
157
|
+
- **Full UI, not just a chat window** — file explorer, Git integration, MCP management, and a shell terminal are all built in.
|
|
158
|
+
- **CloudCLI Cloud runs in the cloud** — close your laptop, the agent keeps running. No terminal to babysit, no machine to keep awake.
|
|
295
159
|
|
|
296
|
-
|
|
297
|
-
- **Express Server** - RESTful API with static file serving
|
|
298
|
-
- **WebSocket Server** - Communication for chats and project refresh
|
|
299
|
-
- **Agent Integration (Claude Code / Cursor CLI / Codex / Gemini CLI)** - Process spawning and management
|
|
300
|
-
- **File System API** - Exposing file browser for projects
|
|
160
|
+
</details>
|
|
301
161
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
- **CodeMirror** - Advanced code editor with syntax highlighting
|
|
162
|
+
<details>
|
|
163
|
+
<summary>Do I need to pay for an AI subscription separately?</summary>
|
|
305
164
|
|
|
165
|
+
Yes. CloudCLI provides the environment, not the AI. You bring your own Claude, Cursor, Codex, or Gemini subscription. CloudCLI Cloud starts at $7/month for the hosted environment on top of that.
|
|
306
166
|
|
|
167
|
+
</details>
|
|
307
168
|
|
|
169
|
+
<details>
|
|
170
|
+
<summary>Can I use CloudCLI UI on my phone?</summary>
|
|
308
171
|
|
|
172
|
+
Yes. For self-hosted, run the server on your machine and open `[yourip]:port` in any browser on your network. For CloudCLI Cloud, open it from any device — no VPN, no port forwarding, no setup. A native app is also in the works.
|
|
309
173
|
|
|
310
|
-
|
|
174
|
+
</details>
|
|
311
175
|
|
|
312
|
-
|
|
176
|
+
<details>
|
|
177
|
+
<summary>Will changes I make in the UI affect my local Claude Code setup?</summary>
|
|
313
178
|
|
|
314
|
-
|
|
179
|
+
Yes, for self-hosted. CloudCLI UI reads from and writes to the same `~/.claude` config that Claude Code uses natively. MCP servers you add via the UI show up in Claude Code immediately and vice versa.
|
|
315
180
|
|
|
316
|
-
|
|
181
|
+
</details>
|
|
317
182
|
|
|
183
|
+
---
|
|
318
184
|
|
|
319
|
-
|
|
320
|
-
**Problem**: The UI shows no projects or empty project list
|
|
321
|
-
**Solutions**:
|
|
322
|
-
- Ensure [Claude Code](https://docs.anthropic.com/en/docs/claude-code) is properly installed
|
|
323
|
-
- Run `claude` command in at least one project directory to initialize
|
|
324
|
-
- Verify `~/.claude/projects/` directory exists and has proper permissions
|
|
325
|
-
|
|
326
|
-
#### File Explorer Issues
|
|
327
|
-
**Problem**: Files not loading, permission errors, empty directories
|
|
328
|
-
**Solutions**:
|
|
329
|
-
- Check project directory permissions (`ls -la` in terminal)
|
|
330
|
-
- Verify the project path exists and is accessible
|
|
331
|
-
- Review server console logs for detailed error messages
|
|
332
|
-
- Ensure you're not trying to access system directories outside project scope
|
|
185
|
+
## Community & Support
|
|
333
186
|
|
|
187
|
+
- **[Documentation](https://cloudcli.ai/docs)** — installation, configuration, features, and troubleshooting
|
|
188
|
+
- **[Discord](https://discord.gg/buxwujPNRE)** — get help and connect with other users
|
|
189
|
+
- **[GitHub Issues](https://github.com/siteboon/claudecodeui/issues)** — bug reports and feature requests
|
|
190
|
+
- **[Contributing Guide](CONTRIBUTING.md)** — how to contribute to the project
|
|
334
191
|
|
|
335
192
|
## License
|
|
336
193
|
|
|
@@ -351,14 +208,6 @@ This project is open source and free to use, modify, and distribute under the GP
|
|
|
351
208
|
- **[CodeMirror](https://codemirror.net/)** - Advanced code editor
|
|
352
209
|
- **[TaskMaster AI](https://github.com/eyaltoledano/claude-task-master)** *(Optional)* - AI-powered project management and task planning
|
|
353
210
|
|
|
354
|
-
## Support & Community
|
|
355
|
-
|
|
356
|
-
### Stay Updated
|
|
357
|
-
- **[Join our Discord](https://discord.gg/buxwujPNRE)** - Get help, share feedback, and connect with the community
|
|
358
|
-
- **[CloudCLI Cloud](https://cloudcli.ai)** - Try the hosted cloud version
|
|
359
|
-
- **Star** this repository to show support
|
|
360
|
-
- **Watch** for updates and new releases
|
|
361
|
-
- **Follow** the project for announcements
|
|
362
211
|
|
|
363
212
|
### Sponsors
|
|
364
213
|
- [Siteboon - AI powered website builder](https://siteboon.ai)
|