@meistrari/remy-cli 1.0.0-rc.0
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 +91 -0
- package/assets/remy-pixel-field.png +0 -0
- package/dist/remy.js +38826 -0
- package/package.json +29 -0
package/README.md
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# Remy CLI
|
|
2
|
+
|
|
3
|
+
Remy is the terminal client for [Coding Agent](https://github.com/meistrari/background-coding-agent). Use it to sign in, start coding sessions, and follow existing sessions without cloning a repository or running an agent on your machine.
|
|
4
|
+
|
|
5
|
+
## Requirements
|
|
6
|
+
|
|
7
|
+
- Node.js 22 or later
|
|
8
|
+
- Access to a Coding Agent deployment
|
|
9
|
+
|
|
10
|
+
## Install
|
|
11
|
+
|
|
12
|
+
Install Remy globally with [mise](https://mise.jdx.dev/):
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
mise use --global npm:@meistrari/remy-cli
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Or run it without a global installation:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
bunx @meistrari/remy-cli whoami
|
|
22
|
+
npx @meistrari/remy-cli whoami
|
|
23
|
+
pnpm dlx @meistrari/remy-cli whoami
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Sign in
|
|
27
|
+
|
|
28
|
+
`remy login` opens browser-based device authorization. Select a built-in deployment profile with `--env`:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
remy login --env staging
|
|
32
|
+
# or: remy login --env production
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
`REMY_ENVIRONMENT=staging remy login` supplies the same profile when `--env` is omitted.
|
|
36
|
+
|
|
37
|
+
For another Coding Agent deployment, provide its endpoints and Tela application IDs:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
remy login \
|
|
41
|
+
--api-url <agent-api-url> \
|
|
42
|
+
--auth-api-url <auth-api-url> \
|
|
43
|
+
--requester-application-id <requester-application-uuid> \
|
|
44
|
+
--target-application-id <target-application-uuid>
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Remy opens the approval URL in your browser and stores its configuration at `~/.config/remy/config.json` and tokens at `~/.local/state/remy/tokens.json`. Set `XDG_CONFIG_HOME` or `XDG_STATE_HOME` to use different directories. Interrupted local credential switches are recovered before authenticated commands proceed; if Remy cannot safely restore a complete credential pair, it stops instead of sending credentials.
|
|
48
|
+
|
|
49
|
+
On first use, bare `remy` shows its Remy splash, signs in through the browser, then continues to the dashboard. The splash footer shows the installed package version. The splash begins with `Checking authentication...` and `Load sessions`. If saved credentials have expired or are unavailable, it switches to `Authentication needed`, shows the validated verification URL and browser-continuation status, and waits for approval; press `q`, `Esc`, or `Ctrl+C` to cancel safely. Saved valid credentials show the validated account email, then session loading and a brief `Sessions loaded!` confirmation before the populated dashboard opens. Use `remy login` to select a profile or pass different endpoints explicitly; it uses the same authentication splash and returns after sign-in instead of opening the dashboard.
|
|
50
|
+
|
|
51
|
+
## Usage
|
|
52
|
+
|
|
53
|
+
Confirm the authenticated account:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
remy whoami
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Start an interactive dashboard in a terminal:
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
remy dashboard
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Create a coding session from the command line, then attach to an existing session later:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
remy new --repository owner/repository "Add a health check endpoint"
|
|
69
|
+
remy --session <session-id>
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
`remy new` creates directly from its prompt and flags. In the interactive dashboard, press `n` to open the guided session wizard or `l` to start logout; confirm logout with `y` or cancel with Escape. `/new` opens the wizard from an attached session, and `/logout` starts the same confirmed logout flow there. The wizard gets repository suggestions from the Coding Agent API, then lets you review or change its selection before creating the session.
|
|
73
|
+
|
|
74
|
+
In a session composer, arrow keys move through wrapped lines and then recall prior human messages. Accepted slash-command and path completions leave the cursor at the completion end, without an added space, so paths can be completed further. `Cmd+V` pastes text normally. On macOS, `Ctrl+V` adds an image from the system clipboard as a temporary-file attachment when the message is sent. When a session ends, its composer becomes a status band: press `Esc` to return to the dashboard or `n` to start a new session.
|
|
75
|
+
|
|
76
|
+
For scripts, use `--no-tui` or `--json` with `new` or `--session`. Both disable the terminal view and write JSON Lines lifecycle and event output; non-interactive input or output does this automatically.
|
|
77
|
+
|
|
78
|
+
## Commands
|
|
79
|
+
|
|
80
|
+
```text
|
|
81
|
+
remy
|
|
82
|
+
remy help | --help | -h
|
|
83
|
+
remy login [--env production|staging] [--api-url <url> --auth-api-url <url> --requester-application-id <uuid> --target-application-id <uuid>]
|
|
84
|
+
remy logout [--api-url <url>]
|
|
85
|
+
remy whoami
|
|
86
|
+
remy dashboard
|
|
87
|
+
remy new [--repository <owner/name> ... --installation <id> --model <name> --reasoning-effort <low|medium|high|xhigh> --attach <path> ... --no-tui --json] <prompt>
|
|
88
|
+
remy --session <session-id> [--no-tui] [--json]
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Remy uses only the Coding Agent API; it never clones repositories, reads local Git state, or runs an agent locally.
|
|
Binary file
|