mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-04-17 11:01:30 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b6d19201b6 | ||
|
|
4a569725da |
@@ -3,6 +3,12 @@
|
|||||||
All notable changes to CloudCLI UI will be documented in this file.
|
All notable changes to CloudCLI UI will be documented in this file.
|
||||||
|
|
||||||
|
|
||||||
|
## [1.29.1](https://github.com/siteboon/claudecodeui/compare/v1.29.0...v1.29.1) (2026-04-14)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* add latest tag to docker npx command and change the detach mode to work without spawn ([4a56972](https://github.com/siteboon/claudecodeui/commit/4a569725dae320a505753359d8edfd8ca79f0fd7))
|
||||||
|
|
||||||
## [1.29.0](https://github.com/siteboon/claudecodeui/compare/v1.28.1...v1.29.0) (2026-04-14)
|
## [1.29.0](https://github.com/siteboon/claudecodeui/compare/v1.28.1...v1.29.0) (2026-04-14)
|
||||||
|
|
||||||
### New Features
|
### New Features
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ Die **[Dokumentation →](https://cloudcli.ai/docs)** enthält weitere Konfigura
|
|||||||
Agents in isolierten Sandboxes mit Hypervisor-Isolation ausführen. Standardmäßig wird Claude Code gestartet. Erfordert die [`sbx` CLI](https://docs.docker.com/ai/sandboxes/get-started/).
|
Agents in isolierten Sandboxes mit Hypervisor-Isolation ausführen. Standardmäßig wird Claude Code gestartet. Erfordert die [`sbx` CLI](https://docs.docker.com/ai/sandboxes/get-started/).
|
||||||
|
|
||||||
```
|
```
|
||||||
npx @cloudcli-ai/cloudcli sandbox ~/my-project
|
npx @cloudcli-ai/cloudcli@latest sandbox ~/my-project
|
||||||
```
|
```
|
||||||
|
|
||||||
Unterstützt Claude Code, Codex und Gemini CLI. Weitere Details in der [Sandbox-Dokumentation](docker/).
|
Unterstützt Claude Code, Codex und Gemini CLI. Weitere Details in der [Sandbox-Dokumentation](docker/).
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ cloudcli
|
|||||||
ハイパーバイザーレベルの分離でエージェントをサンドボックスで実行します。デフォルトでは Claude Code が起動します。[`sbx` CLI](https://docs.docker.com/ai/sandboxes/get-started/) が必要です。
|
ハイパーバイザーレベルの分離でエージェントをサンドボックスで実行します。デフォルトでは Claude Code が起動します。[`sbx` CLI](https://docs.docker.com/ai/sandboxes/get-started/) が必要です。
|
||||||
|
|
||||||
```
|
```
|
||||||
npx @cloudcli-ai/cloudcli sandbox ~/my-project
|
npx @cloudcli-ai/cloudcli@latest sandbox ~/my-project
|
||||||
```
|
```
|
||||||
|
|
||||||
Claude Code、Codex、Gemini CLI に対応。詳細は[サンドボックスのドキュメント](docker/)をご覧ください。
|
Claude Code、Codex、Gemini CLI に対応。詳細は[サンドボックスのドキュメント](docker/)をご覧ください。
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ cloudcli
|
|||||||
하이퍼바이저 수준 격리로 에이전트를 샌드박스에서 실행합니다. 기본 에이전트는 Claude Code입니다. [`sbx` CLI](https://docs.docker.com/ai/sandboxes/get-started/)가 필요합니다.
|
하이퍼바이저 수준 격리로 에이전트를 샌드박스에서 실행합니다. 기본 에이전트는 Claude Code입니다. [`sbx` CLI](https://docs.docker.com/ai/sandboxes/get-started/)가 필요합니다.
|
||||||
|
|
||||||
```
|
```
|
||||||
npx @cloudcli-ai/cloudcli sandbox ~/my-project
|
npx @cloudcli-ai/cloudcli@latest sandbox ~/my-project
|
||||||
```
|
```
|
||||||
|
|
||||||
Claude Code, Codex, Gemini CLI를 지원합니다. 자세한 내용은 [샌드박스 문서](docker/)를 참고하세요.
|
Claude Code, Codex, Gemini CLI를 지원합니다. 자세한 내용은 [샌드박스 문서](docker/)를 참고하세요.
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ Visit the **[documentation →](https://cloudcli.ai/docs)** for full configurati
|
|||||||
Run agents in isolated sandboxes with hypervisor-level isolation. Starts Claude Code by default. Requires the [`sbx` CLI](https://docs.docker.com/ai/sandboxes/get-started/).
|
Run agents in isolated sandboxes with hypervisor-level isolation. Starts Claude Code by default. Requires the [`sbx` CLI](https://docs.docker.com/ai/sandboxes/get-started/).
|
||||||
|
|
||||||
```
|
```
|
||||||
npx @cloudcli-ai/cloudcli sandbox ~/my-project
|
npx @cloudcli-ai/cloudcli@latest sandbox ~/my-project
|
||||||
```
|
```
|
||||||
|
|
||||||
Supports Claude Code, Codex, and Gemini CLI. See the [sandbox docs](docker/) for setup and advanced options.
|
Supports Claude Code, Codex, and Gemini CLI. See the [sandbox docs](docker/) for setup and advanced options.
|
||||||
@@ -116,7 +116,7 @@ CloudCLI UI is the open source UI layer that powers CloudCLI Cloud. You can self
|
|||||||
|---|---|---|---|
|
|---|---|---|---|
|
||||||
| **Best for** | Local agent sessions on your own machine | Isolated agents with web/mobile IDE | Teams who want agents in the cloud |
|
| **Best for** | Local agent sessions on your own machine | Isolated agents with web/mobile IDE | Teams who want agents in the cloud |
|
||||||
| **How you access it** | Browser via `[yourip]:port` | Browser via `localhost:port` | Browser, any IDE, REST API, n8n |
|
| **How you access it** | Browser via `[yourip]:port` | Browser via `localhost:port` | Browser, any IDE, REST API, n8n |
|
||||||
| **Setup** | `npx @cloudcli-ai/cloudcli` | `npx @cloudcli-ai/cloudcli sandbox ~/project` | No setup required |
|
| **Setup** | `npx @cloudcli-ai/cloudcli` | `npx @cloudcli-ai/cloudcli@latest sandbox ~/project` | No setup required |
|
||||||
| **Isolation** | Runs on your host | Hypervisor-level sandbox (microVM) | Full cloud isolation |
|
| **Isolation** | Runs on your host | Hypervisor-level sandbox (microVM) | Full cloud isolation |
|
||||||
| **Machine needs to stay on** | Yes | Yes | No |
|
| **Machine needs to stay on** | Yes | Yes | No |
|
||||||
| **Mobile access** | Any browser on your network | Any browser on your network | Any device, native app coming |
|
| **Mobile access** | Any browser on your network | Any browser on your network | Any device, native app coming |
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ cloudcli
|
|||||||
Запускайте агентов в изолированных песочницах с гипервизорной изоляцией. По умолчанию запускается Claude Code. Требуется [`sbx` CLI](https://docs.docker.com/ai/sandboxes/get-started/).
|
Запускайте агентов в изолированных песочницах с гипервизорной изоляцией. По умолчанию запускается Claude Code. Требуется [`sbx` CLI](https://docs.docker.com/ai/sandboxes/get-started/).
|
||||||
|
|
||||||
```
|
```
|
||||||
npx @cloudcli-ai/cloudcli sandbox ~/my-project
|
npx @cloudcli-ai/cloudcli@latest sandbox ~/my-project
|
||||||
```
|
```
|
||||||
|
|
||||||
Поддерживаются Claude Code, Codex и Gemini CLI. Подробнее в [документации sandbox](docker/).
|
Поддерживаются Claude Code, Codex и Gemini CLI. Подробнее в [документации sandbox](docker/).
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ cloudcli
|
|||||||
在隔离的沙箱中运行代理,具有虚拟机管理程序级别的隔离。默认启动 Claude Code。需要 [`sbx` CLI](https://docs.docker.com/ai/sandboxes/get-started/)。
|
在隔离的沙箱中运行代理,具有虚拟机管理程序级别的隔离。默认启动 Claude Code。需要 [`sbx` CLI](https://docs.docker.com/ai/sandboxes/get-started/)。
|
||||||
|
|
||||||
```
|
```
|
||||||
npx @cloudcli-ai/cloudcli sandbox ~/my-project
|
npx @cloudcli-ai/cloudcli@latest sandbox ~/my-project
|
||||||
```
|
```
|
||||||
|
|
||||||
支持 Claude Code、Codex 和 Gemini CLI。详情请参阅 [沙箱文档](docker/)。
|
支持 Claude Code、Codex 和 Gemini CLI。详情请参阅 [沙箱文档](docker/)。
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ sbx secret set -g anthropic
|
|||||||
### 3. Launch Claude Code
|
### 3. Launch Claude Code
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npx @cloudcli-ai/cloudcli sandbox ~/my-project
|
npx @cloudcli-ai/cloudcli@latest sandbox ~/my-project
|
||||||
```
|
```
|
||||||
|
|
||||||
Open **http://localhost:3001**. Set a password on first visit. Start building.
|
Open **http://localhost:3001**. Set a password on first visit. Start building.
|
||||||
@@ -41,11 +41,11 @@ Store the matching API key and pass `--agent`:
|
|||||||
```bash
|
```bash
|
||||||
# OpenAI Codex
|
# OpenAI Codex
|
||||||
sbx secret set -g openai
|
sbx secret set -g openai
|
||||||
npx @cloudcli-ai/cloudcli sandbox ~/my-project --agent codex
|
npx @cloudcli-ai/cloudcli@latest sandbox ~/my-project --agent codex
|
||||||
|
|
||||||
# Gemini CLI
|
# Gemini CLI
|
||||||
sbx secret set -g google
|
sbx secret set -g google
|
||||||
npx @cloudcli-ai/cloudcli sandbox ~/my-project --agent gemini
|
npx @cloudcli-ai/cloudcli@latest sandbox ~/my-project --agent gemini
|
||||||
```
|
```
|
||||||
|
|
||||||
### Available templates
|
### Available templates
|
||||||
@@ -61,11 +61,19 @@ These are used with `--template` when running `sbx` directly (see [Advanced usag
|
|||||||
## Managing sandboxes
|
## Managing sandboxes
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cloudcli sandbox ls # List all sandboxes
|
sbx ls # List all sandboxes
|
||||||
cloudcli sandbox stop my-project # Stop (preserves state)
|
sbx stop my-project # Stop (preserves state)
|
||||||
|
sbx start my-project # Restart a stopped sandbox
|
||||||
|
sbx rm my-project # Remove everything
|
||||||
|
sbx exec my-project bash # Open a shell inside the sandbox
|
||||||
|
```
|
||||||
|
|
||||||
|
If you install CloudCLI globally (`npm install -g @cloudcli-ai/cloudcli`), you can also use:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cloudcli sandbox ls
|
||||||
cloudcli sandbox start my-project # Restart and re-launch web UI
|
cloudcli sandbox start my-project # Restart and re-launch web UI
|
||||||
cloudcli sandbox logs my-project # View server logs
|
cloudcli sandbox logs my-project # View server logs
|
||||||
cloudcli sandbox rm my-project # Remove everything
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## What you get
|
## What you get
|
||||||
@@ -84,14 +92,20 @@ Your project directory is mounted bidirectionally — edits propagate in real ti
|
|||||||
Set variables at creation time with `--env`:
|
Set variables at creation time with `--env`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npx @cloudcli-ai/cloudcli sandbox ~/my-project --env SERVER_PORT=8080
|
npx @cloudcli-ai/cloudcli@latest sandbox ~/my-project --env SERVER_PORT=8080
|
||||||
```
|
```
|
||||||
|
|
||||||
Or inside a running sandbox:
|
Or inside a running sandbox:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sbx exec my-project bash -c 'echo "export SERVER_PORT=8080" >> /etc/sandbox-persistent.sh'
|
sbx exec my-project bash -c 'echo "export SERVER_PORT=8080" >> /etc/sandbox-persistent.sh'
|
||||||
sbx exec my-project bash -c 'pkill -f "server/index.js"; . ~/.cloudcli-start.sh'
|
```
|
||||||
|
|
||||||
|
Restart CloudCLI for changes to take effect:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sbx exec my-project bash -c 'pkill -f "server/index.js"'
|
||||||
|
sbx exec -d my-project cloudcli start --port 3001
|
||||||
```
|
```
|
||||||
|
|
||||||
| Variable | Default | Description |
|
| Variable | Default | Description |
|
||||||
|
|||||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@cloudcli-ai/cloudcli",
|
"name": "@cloudcli-ai/cloudcli",
|
||||||
"version": "1.29.0",
|
"version": "1.29.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@cloudcli-ai/cloudcli",
|
"name": "@cloudcli-ai/cloudcli",
|
||||||
"version": "1.29.0",
|
"version": "1.29.1",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@cloudcli-ai/cloudcli",
|
"name": "@cloudcli-ai/cloudcli",
|
||||||
"version": "1.29.0",
|
"version": "1.29.1",
|
||||||
"description": "A web-based UI for Claude Code CLI",
|
"description": "A web-based UI for Claude Code CLI",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "server/index.js",
|
"main": "server/index.js",
|
||||||
|
|||||||
@@ -448,7 +448,7 @@ async function sandboxCommand(args) {
|
|||||||
} catch { /* might already be running */ }
|
} catch { /* might already be running */ }
|
||||||
|
|
||||||
console.log(`${c.info('▶')} Launching CloudCLI web server...`);
|
console.log(`${c.info('▶')} Launching CloudCLI web server...`);
|
||||||
sbx(['exec', '-d', opts.name, 'bash', '-c', '. ~/.cloudcli-start.sh']);
|
sbx(['exec', '-d', opts.name, 'cloudcli', 'start', '--port', '3001']);
|
||||||
|
|
||||||
console.log(`${c.info('▶')} Forwarding port ${opts.port} → 3001...`);
|
console.log(`${c.info('▶')} Forwarding port ${opts.port} → 3001...`);
|
||||||
try {
|
try {
|
||||||
@@ -548,14 +548,11 @@ async function sandboxCommand(args) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Step 3: Start CloudCLI
|
// Step 3: Start CloudCLI as a long-running detached exec session.
|
||||||
|
// Using -d with a long-running command (cloudcli start never exits)
|
||||||
|
// keeps the exec session alive, which keeps the sandbox running.
|
||||||
console.log(`${c.info('▶')} Launching CloudCLI web server...`);
|
console.log(`${c.info('▶')} Launching CloudCLI web server...`);
|
||||||
try {
|
sbx(['exec', '-d', opts.name, 'cloudcli', 'start', '--port', '3001']);
|
||||||
sbx(['exec', '-d', opts.name, 'bash', '-c', '. ~/.cloudcli-start.sh']);
|
|
||||||
} catch (e) {
|
|
||||||
console.error(`${c.error('❌')} Failed to start CloudCLI: ${e.message}`);
|
|
||||||
process.exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Step 4: Forward port
|
// Step 4: Forward port
|
||||||
console.log(`${c.info('▶')} Forwarding port ${opts.port} → 3001...`);
|
console.log(`${c.info('▶')} Forwarding port ${opts.port} → 3001...`);
|
||||||
@@ -582,10 +579,11 @@ async function sandboxCommand(args) {
|
|||||||
console.log(`\n${c.ok('✔')} ${c.bright('CloudCLI is ready!')}`);
|
console.log(`\n${c.ok('✔')} ${c.bright('CloudCLI is ready!')}`);
|
||||||
console.log(` ${c.info('→')} Open ${c.bright(`http://localhost:${opts.port}`)}`);
|
console.log(` ${c.info('→')} Open ${c.bright(`http://localhost:${opts.port}`)}`);
|
||||||
console.log(`\n${c.dim(' Manage with:')}`);
|
console.log(`\n${c.dim(' Manage with:')}`);
|
||||||
console.log(` ${c.dim('$')} cloudcli sandbox ls`);
|
console.log(` ${c.dim('$')} sbx ls`);
|
||||||
console.log(` ${c.dim('$')} cloudcli sandbox stop ${opts.name}`);
|
console.log(` ${c.dim('$')} sbx stop ${opts.name}`);
|
||||||
console.log(` ${c.dim('$')} cloudcli sandbox start ${opts.name}`);
|
console.log(` ${c.dim('$')} sbx start ${opts.name}`);
|
||||||
console.log(` ${c.dim('$')} cloudcli sandbox rm ${opts.name}\n`);
|
console.log(` ${c.dim('$')} sbx rm ${opts.name}`);
|
||||||
|
console.log(`\n${c.dim(' Or install globally:')} npm install -g @cloudcli-ai/cloudcli\n`);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user