@ramp/router 0.2.64 → 0.2.68
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 +57 -32
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,43 +1,68 @@
|
|
|
1
1
|
# @ramp/router
|
|
2
2
|
|
|
3
|
-
Install the Ramp CLI and open the Router
|
|
3
|
+
Install the Ramp CLI and open the Router workspace to connect coding agents and desktop apps, manage API keys, edit routing strategies, and choose subagent models.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
Run in one command without a global install:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
6
10
|
npx @ramp/router
|
|
7
11
|
```
|
|
8
12
|
|
|
9
|
-
Or install
|
|
13
|
+
Or install the global `router` command:
|
|
10
14
|
|
|
11
|
-
```
|
|
15
|
+
```bash
|
|
12
16
|
npm install -g @ramp/router
|
|
13
17
|
router
|
|
14
18
|
```
|
|
15
19
|
|
|
16
|
-
Requires Node.js 22+ and npm 10
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
20
|
+
Requires Node.js 22+ and npm 10+ (Python is not required). Supported platforms: macOS (Apple Silicon & Intel), Linux (glibc x64 & arm64), and Windows (x64).
|
|
21
|
+
|
|
22
|
+
## Router Workspace & Setup
|
|
23
|
+
|
|
24
|
+
Open the interactive Router workspace or configure harnesses directly:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
router # or: ramp router ui
|
|
28
|
+
router ui --inline --height 18 # beneath your prompt (macOS/Linux)
|
|
29
|
+
router ui --theme light # dark, light, terminal, or auto (default)
|
|
30
|
+
router configure # Start directly at harness setup
|
|
31
|
+
router configure codex # Configure a specific harness
|
|
32
|
+
router status # View current Router connection and agent status
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Interactive `router configure`, `keys`, `strategies`, `account`, and `subagents` open their workspace screens.
|
|
36
|
+
|
|
37
|
+
For scripts and AI agents:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
router --agent keys list
|
|
41
|
+
router --agent --no-input configure codex # key from RAMP_ROUTER_CONFIGURE_API_KEY or --setup-file
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Manage Router API Keys & Strategies
|
|
45
|
+
|
|
46
|
+
Run `router login`, then `router keys` to select a key, inspect its usage, rename it, choose a routing strategy, or lock/unlock it:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
router keys rename KEY_ID --name "Coding"
|
|
50
|
+
router keys set-strategy KEY_ID --routing-profile "Cheap"
|
|
51
|
+
router keys lock KEY_ID
|
|
52
|
+
router keys unlock KEY_ID
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
For routing strategies, `router strategies` opens the account editor in interactive mode, or `router --agent strategies list --account` in script mode.
|
|
56
|
+
|
|
57
|
+
## Codex Model Picker
|
|
58
|
+
|
|
59
|
+
Codex CLI and Desktop use Router's recommended model shortlist by default:
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
router configure codex --codex-models compact --reuse-existing-key
|
|
63
|
+
router configure codex --codex-models all --reuse-existing-key
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## License
|
|
67
|
+
|
|
68
|
+
MIT — powered by [`@ramp/cli`](https://www.npmjs.com/package/@ramp/cli). See [https://github.com/ramp-public/ramp-cli](https://github.com/ramp-public/ramp-cli) for full documentation and source.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ramp/router",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.68",
|
|
4
4
|
"description": "Install the Ramp CLI and open the Router terminal workspace",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"postinstall": "node bin/postinstall.js"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@ramp/cli": "0.2.
|
|
22
|
+
"@ramp/cli": "0.2.68"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public",
|