nexrall-code 0.5.207 → 0.5.209

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 (3) hide show
  1. package/README.md +5 -3
  2. package/dist/index.js +779 -540
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -7,7 +7,7 @@ npm install -g nexrall-code
7
7
  nex
8
8
  ```
9
9
 
10
- Requires Node.js 20+ and a Nexrall account — it signs in with the same account as the extension; billing stays in one place and there are no API keys to configure.
10
+ Requires Node.js 20+ and a Nexrall account. **Signing in happens in the terminal** — no editor, no VS Code login first: the first `nex` (or `nex auth`) asks how you want to sign in, with a browser hand-off that works for Google/Apple/SSO accounts as well as email + password or a token. It is the same account as the extension, so billing stays in one place and there are no API keys to configure.
11
11
 
12
12
  ## Quick start
13
13
 
@@ -53,8 +53,10 @@ nex usage export --since 7d --format csv --out usage.csv
53
53
 
54
54
  | Command | What it does |
55
55
  |---|---|
56
- | `nex auth` | Log in to your Nexrall account |
57
- | `nex logout` | Log out |
56
+ | `nex auth` (alias `nex login`) | Log in — choose browser (Google, Apple, SSO or password), email + password, or a token |
57
+ | `nex auth --browser` | The browser hand-off in one step; `--code <code>` finishes it without opening a browser |
58
+ | `nex auth --token <t>` | Save a token directly, for CI/headless (prefer `NEXRALL_TOKEN` where you can) |
59
+ | `nex logout` | Log out: revokes the refresh token server-side, then deletes the local config (`/logout` inside a session) |
58
60
  | `nex doctor` | Check Node, sign-in, network, terminal, MCP and storage, with a fix for each problem |
59
61
  | `nex billing` | Show, or change, which budget pays for your usage |
60
62
  | `nex sessions` | List or delete saved chat sessions |