replicas-cli 0.2.37 → 0.2.40
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 +23 -11
- package/dist/{index.js → chunk-WCKZW4VV.mjs} +727 -2587
- package/dist/index.mjs +2201 -0
- package/dist/interactive-NB2QAJE2.mjs +1925 -0
- package/package.json +13 -7
package/README.md
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
# Replicas CLI
|
|
2
2
|
|
|
3
|
-
Official CLI for [Replicas](https://replicas.dev) - manage cloud development workspaces with automatic SSH tunneling.
|
|
3
|
+
Official CLI for [Replicas](https://replicas.dev) - manage cloud development workspaces with automatic SSH tunneling and an interactive terminal dashboard.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
|
|
8
|
+
curl -fsSL https://replicas.dev/install.sh | bash
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Or if you already have [Bun](https://bun.sh) installed:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
bun install -g replicas-cli
|
|
9
15
|
```
|
|
10
16
|
|
|
11
17
|
## Quick Start
|
|
@@ -16,6 +22,9 @@ replicas login
|
|
|
16
22
|
|
|
17
23
|
# Connect to a workspace
|
|
18
24
|
replicas connect my-workspace
|
|
25
|
+
|
|
26
|
+
# Launch the interactive terminal dashboard
|
|
27
|
+
replicas interactive
|
|
19
28
|
```
|
|
20
29
|
|
|
21
30
|
## Commands
|
|
@@ -38,6 +47,9 @@ Switch between organizations.
|
|
|
38
47
|
### `replicas connect <workspace-name>`
|
|
39
48
|
Connect to a workspace via SSH.
|
|
40
49
|
|
|
50
|
+
### `replicas interactive`
|
|
51
|
+
Launch the interactive terminal dashboard — a full TUI alternative to the web dashboard. View workspaces, chat with agents, monitor environment status, and create workspaces without leaving the terminal.
|
|
52
|
+
|
|
41
53
|
## Configuration
|
|
42
54
|
|
|
43
55
|
Create a `replicas.json` or `replicas.yaml` file in your repository root:
|
|
@@ -51,12 +63,11 @@ Create a `replicas.json` or `replicas.yaml` file in your repository root:
|
|
|
51
63
|
}
|
|
52
64
|
```
|
|
53
65
|
|
|
54
|
-
Or use YAML
|
|
66
|
+
Or use YAML:
|
|
55
67
|
|
|
56
68
|
```yaml
|
|
57
69
|
systemPrompt: |
|
|
58
70
|
Custom instructions for coding agents.
|
|
59
|
-
Supports multiline text.
|
|
60
71
|
|
|
61
72
|
startHook:
|
|
62
73
|
commands:
|
|
@@ -66,19 +77,20 @@ startHook:
|
|
|
66
77
|
|
|
67
78
|
## Features
|
|
68
79
|
|
|
80
|
+
- **Interactive Dashboard**: Full-featured TUI with workspace management, chat, and environment monitoring
|
|
69
81
|
- **Secure Authentication**: OAuth-based login with token refresh
|
|
70
82
|
- **Quick SSH Access**: Connect to workspaces with a single command
|
|
71
|
-
- **SSH Key Caching**: Reuse SSH keys across sessions
|
|
72
83
|
- **Multi-Organization**: Switch between different organizations
|
|
73
84
|
|
|
74
|
-
##
|
|
75
|
-
|
|
76
|
-
1. **SSH Key Management**: The CLI securely caches SSH keys in `~/.replicas/keys/`
|
|
85
|
+
## Development
|
|
77
86
|
|
|
78
|
-
|
|
87
|
+
```bash
|
|
88
|
+
# Run from source
|
|
89
|
+
bun run dev
|
|
79
90
|
|
|
80
|
-
|
|
81
|
-
|
|
91
|
+
# Build
|
|
92
|
+
bun run build
|
|
93
|
+
```
|
|
82
94
|
|
|
83
95
|
## Support
|
|
84
96
|
|