@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.
Files changed (2) hide show
  1. package/README.md +57 -32
  2. 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 terminal workspace in one command:
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
- ```sh
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 a global Router command:
13
+ Or install the global `router` command:
10
14
 
11
- ```sh
15
+ ```bash
12
16
  npm install -g @ramp/router
13
17
  router
14
18
  ```
15
19
 
16
- Requires Node.js 22+ and npm 10+. This package depends on an exact version of
17
- `@ramp/cli` for its shared native installer. It owns only the `router` npm
18
- command; `@ramp/cli` owns `ramp`, so installing both does not replace either shim.
19
-
20
- Bare `router` opens the interactive Router workspace; its Connect tab handles
21
- sign-in and configuration. It does not open a web dashboard. Explicit arguments
22
- are forwarded to the native CLI's `router` group, so `router status` and
23
- `router --version` continue to work. Help/version commands do not launch the UI
24
- or edit shell startup files.
25
-
26
- A global install opens the workspace once when it has an interactive terminal;
27
- otherwise it installs successfully and tells you to run `router` from one.
28
- Dependency installs and npx lifecycle hooks only install; running
29
- `npx @ramp/router` opens the workspace. `CI=1` or
30
- `RAMP_ROUTER_SKIP_ONBOARDING=1` suppresses install-time UI and optional wrapper
31
- prompts, but an explicit `router` command still opens the UI. An unsuccessful UI
32
- launch leaves the CLI installed for retry.
33
-
34
- The workspace needs a human interactive terminal. Without one, install-time UI
35
- is deferred and an explicit `router` command reports a usage error. Sign-in may
36
- open a browser from within the terminal workspace.
37
-
38
- Interactive npx launch offers persistent PATH setup with consent. Global
39
- installation uses npm's normal shims. Shared installation overrides and
40
- platform limitations are documented in `@ramp/cli`'s README. With
41
- `--ignore-scripts`, the first command installs the native CLI on demand.
42
-
43
- Source and issues: https://github.com/ramp-public/ramp-cli
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.64",
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.64"
22
+ "@ramp/cli": "0.2.68"
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public",