@hyperscale0/cli 1.0.199 → 1.0.216

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 +10 -13
  2. package/hyperscale.js +43 -46
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -5,25 +5,22 @@ The Hyperscale developer command line.
5
5
  ## Start
6
6
 
7
7
  ```sh
8
- bunx @hyperscale0/cli@latest auth login --base-url https://dev.hyperscale0.ai
9
- bunx @hyperscale0/cli@latest whoami --json
8
+ bunx @hyperscale0/cli@latest auth status
9
+ bunx @hyperscale0/cli@latest auth login
10
10
  ```
11
11
 
12
- Bun runs the latest CLI without an install; every command below starts the
13
- same way. Browser login requests read-only scopes through
14
- portal consent. Request different scopes with `auth login --scopes <scope,...>`.
15
- The login summary shows the authority actually returned by the server.
16
- Headless email login uses `auth login --email founder@example.com --no-browser`
17
- in sandbox or live. The password prompt requires a TTY. Passwords and temporary sessions never
18
- enter files or saved replay requests. Use browser sign-in for terms.
19
- Default scopes include blueprints:read for `compose check`. Creation and the
20
- key create after it require explicit reauthorization:
12
+ The CLI prints a URL and code. Approve them in your browser. A rerun resumes a
13
+ pending request. Use `--no-open` to open the URL on another device. New
14
+ founders can run:
21
15
 
22
16
  ```sh
23
- env -u HYPERSCALE_TOKEN bunx @hyperscale0/cli@latest auth login --base-url https://dev.hyperscale0.ai --environment sandbox --scopes activity:read,billing:read,blueprints:read,catalog:read,finance:read,products:read,blueprints:write,keys:write
17
+ bunx @hyperscale0/cli@latest signup --email founder@example.com --name 'Founder Name' --company 'Company Name'
24
18
  ```
25
19
 
26
- Headless callers can use `auth login --no-browser --token <pat>`.
20
+ Browser consent grants the agent scope set for sandbox Product work. The CLI
21
+ stores the token in macOS Keychain or an owner-only 0600 file. Never search for
22
+ or ask the founder to paste a token. `HYPERSCALE_TOKEN` remains available for
23
+ existing automation. See https://hyperscale0.ai/auth.md for MCP setup.
27
24
 
28
25
  ## Product commands
29
26