@hyperscale0/cli 1.0.246 → 1.0.251
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/AGENTS.md +14 -3
- package/README.md +2 -0
- package/hyperscale.js +45 -44
- package/package.json +2 -2
package/AGENTS.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Hyperscale CLI for agents
|
|
2
2
|
|
|
3
|
+
Hyperscale is the operating system for financial products: providers are the hardware and ADL adapters are the drivers. The CLI is its `kubectl`, a client of the same operation API as portals, MCP and SDK; read [how Hyperscale fits](https://hyperscale0.ai/docs/runtime.md#how-hyperscale-fits).
|
|
4
|
+
|
|
3
5
|
Use `hyperscale help --json` for the complete tree, flags and examples.
|
|
4
6
|
Use `hyperscale <group> <command> --help --json` for one command.
|
|
5
7
|
|
|
@@ -21,14 +23,23 @@ help command tree
|
|
|
21
23
|
Start with `hyperscale auth login --no-open --json`. The URL and code go to
|
|
22
24
|
stderr. A person approves them in the browser. Rerun to resume a pending login.
|
|
23
25
|
Verify with `hyperscale whoami --json`. Signup uses `auth signup --email <email>
|
|
24
|
-
--name <name> --company <company>`.
|
|
25
|
-
|
|
26
|
+
--name <name> --company <company>`. Do not print or persist credentials in
|
|
27
|
+
project files.
|
|
28
|
+
|
|
29
|
+
Browser login creates a named agent member with its own CLI grant. Access
|
|
30
|
+
tokens last ten minutes; the CLI rotates the refresh token and keeps both in
|
|
31
|
+
Keychain or a mode 0600 file. Logout removes them locally. Revoke the member or
|
|
32
|
+
grant in the browser; `--revoke` only revokes a human PAT. Sandbox work within
|
|
33
|
+
the grant runs directly. A live action exits 3 with `agent_approval_required`
|
|
34
|
+
and a browser link; a human approves it with their password. The CLI cannot
|
|
35
|
+
approve its own work.
|
|
26
36
|
|
|
27
37
|
Every command accepts `--json`. Ordinary success is one JSON value on stdout;
|
|
28
38
|
failure is an error object on stderr. Errors retain status, code, message,
|
|
29
39
|
fix, details and available request, operation, receipt and trace IDs.
|
|
30
40
|
JSON output has no ANSI codes, banners, spinners or prompts.
|
|
31
|
-
Exit codes: 0 success, 1 failure, 2 HSX check or plan cannot proceed
|
|
41
|
+
Exit codes: 0 success, 1 failure, 2 HSX check or plan cannot proceed,
|
|
42
|
+
3 live action waiting for human approval.
|
|
32
43
|
|
|
33
44
|
`hsx watch --json` emits one JSON object per line with `type` set to `check`,
|
|
34
45
|
`plan` or `error`. Check and plan events contain `data`; errors contain `error`.
|
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Hyperscale CLI
|
|
2
2
|
|
|
3
|
+
The CLI is Hyperscale's `kubectl`: it uses the same operation API as portals, MCP and SDK. Read [how Hyperscale fits](https://hyperscale0.ai/docs/runtime.md#how-hyperscale-fits) for the operating system, providers and money retry rules.
|
|
4
|
+
|
|
3
5
|
Build and operate financial products from your terminal. Work in HSX, manage
|
|
4
6
|
products and keys, and run actions. Use Launch and Build for the visual editor
|
|
5
7
|
and richer product design.
|