Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ PR titles should follow the conventional commit format as they are used for rele
src/
├── cli.ts # Main CLI entry point
├── commands/ # Command implementations
│ ├── devbox/ # Devbox commands (ssh, pty, exec, etc.)
│ ├── devbox/ # Devbox commands (pty, exec, etc.)
│ ├── snapshot/ # Snapshot commands
│ ├── blueprint/ # Blueprint commands
│ └── object/ # Object storage commands
Expand Down
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ rli devbox delete <devbox-id>
- 🎯 **CLI mode** — Traditional commands with text, JSON, and YAML output for scripting
- ⚡ Fast and responsive with pagination
- 📦 Manage devboxes, snapshots, and blueprints
- 🚀 Execute commands, SSH, PTY shell, view logs in devboxes
- 🚀 Execute commands, PTY shell, view logs in devboxes
- 🤖 **Model Context Protocol (MCP) server for AI integration**

## Installation
Expand Down Expand Up @@ -68,7 +68,6 @@ The URL must be of the form `https://api.<domain>`, optionally with a `:port` (e
|----------|------|
| API | `https://api.<domain>` (the value of `RUNLOOP_BASE_URL`) |
| Platform | `https://platform.<domain>` |
| SSH | `ssh.<domain>:443` |
| Tunnels | `tunnel.<domain>` (PTY sessions reach the devbox over a tunnel created via the API) |

## Usage
Expand Down Expand Up @@ -108,11 +107,7 @@ rli devbox get-async <id> <execution-id> # Get status of an async execution
rli devbox suspend <id> # Suspend a devbox
rli devbox resume <id> # Resume a suspended devbox
rli devbox shutdown <id> # Shutdown a devbox
rli devbox ssh <id> # SSH into a devbox
rli devbox pty <id> # Connect to a devbox PTY session via W...
rli devbox scp <src> <dst> # Copy files to/from a devbox using scp...
rli devbox rsync <src> <dst> # Sync files to/from a devbox using rsy...
rli devbox tunnel <id> <ports> # Create a port-forwarding tunnel to a ...
rli devbox read <id> # Read a file from a devbox using the API
rli devbox write <id> # Write a file to a devbox using the API
rli devbox download <id> # Download a file from a devbox
Expand Down
1 change: 1 addition & 0 deletions jest.e2e.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export default {
// e2e tests may take a while (devbox creation, transfers, etc.)
testTimeout: 180_000,

passWithNoTests: true,
moduleFileExtensions: ["ts", "js", "json"],
clearMocks: true,
restoreMocks: true,
Expand Down
3 changes: 0 additions & 3 deletions llms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ Get your API key from [https://runloop.ai/settings](https://runloop.ai/settings)
- `rli devbox list` - List all devboxes (filter with `-s running`, `-s suspended`, etc.)
- `rli devbox create --name <name>` - Create a new devbox
- `rli devbox exec <id> <command...>` - Execute a command in a devbox
- `rli devbox ssh <id>` - SSH into a devbox
- `rli devbox scp <src> <dst>` - Copy files to/from a devbox (e.g., `rli devbox scp dbx_id:/remote ./local`)
- `rli devbox rsync <src> <dst>` - Sync files to/from a devbox using rsync
- `rli devbox delete <id>` - Shutdown and delete a devbox
- `rli devbox logs <id>` - View devbox logs (use `-o json` for structured output)
- `rli snapshot list` - List snapshots
Expand Down
Binary file removed misc/rli-ssh-demo.gif
Binary file not shown.
18 changes: 0 additions & 18 deletions scripts/generate-command-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ function generateCommandStructure(program) {
suspend: "Suspend",
resume: "Resume",
shutdown: "Shutdown",
ssh: "SSH",
scp: "Copy files (scp)",
rsync: "Sync files (rsync)",
tunnel: "Create tunnel",
logs: "View logs",
status: "Get status",
install: "Install",
Expand Down Expand Up @@ -239,10 +235,6 @@ function getCommandIcon(cmdName) {
suspend: "pause",
resume: "play",
shutdown: "power-off",
ssh: "terminal",
scp: "copy",
rsync: "rotate",
tunnel: "network-wired",
logs: "scroll",
status: "info",
start: "play",
Expand Down Expand Up @@ -361,14 +353,6 @@ export RUNLOOP_API_KEY=your_api_key_here
<Frame>
<img src="https://raw.githubusercontent.com/runloopai/rl-cli/main/misc/rli-demo-search.gif" alt="Search devboxes in interactive mode" />
</Frame>

### SSH to Devbox

From the interactive menu, select a devbox and choose **SSH** to open a secure shell session directly into your devbox. The CLI handles all the SSH key setup and connection details automatically.

<Frame>
<img src="https://raw.githubusercontent.com/runloopai/rl-cli/main/misc/rli-ssh-demo.gif" alt="SSH into a Devbox" />
</Frame>
</Tab>
<Tab title="CLI Mode">
Use traditional commands for scripting and automation:
Expand Down Expand Up @@ -408,8 +392,6 @@ export RUNLOOP_API_KEY=your_api_key_here
\`\`\`

\`\`\`bash
# SSH into a devbox
rli devbox ssh dbx_1234567890
\`\`\`
</Tab>
</Tabs>
Expand Down
7 changes: 0 additions & 7 deletions src/commands/devbox/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -371,13 +371,6 @@ const ListDevboxesUI = ({
icon: figures.circleFilled,
shortcut: "n",
},
{
key: "ssh",
label: "SSH onto the box",
color: colors.primary,
icon: figures.arrowRight,
shortcut: "s",
},
{
key: "tunnel",
label: "Open Tunnel",
Expand Down
2 changes: 1 addition & 1 deletion src/commands/devbox/pty.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import WebSocket from "ws";
import { cliStatus } from "../../utils/cliStatus.js";
import { outputError } from "../../utils/output.js";
import { waitForReady } from "../../utils/ssh.js";
import { waitForReady } from "../../utils/devboxReady.js";
import {
getPtyBaseUrl,
createPtySessionReleaser,
Expand Down
131 changes: 0 additions & 131 deletions src/commands/devbox/rsync.ts

This file was deleted.

Loading
Loading