@candledottv/cli 0.11.5 → 0.11.6
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 +6 -2
- package/dist/index.js +32393 -30611
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -52,10 +52,10 @@ node packages/cli/dist/index.js auth login
|
|
|
52
52
|
| Command | What it does |
|
|
53
53
|
| --- | --- |
|
|
54
54
|
| `candle setup [--no-browser]` | The onboarding wizard: authorizes this device (skipped when already authorized), prints the agent wallets as funding destinations plus the paste-into-your-agent brief, shows the skill/MCP install lines, runs the full doctor check (setup's exit code is doctor's), and links the web console. Safe to re-run. |
|
|
55
|
-
| `candle auth login [--profile <name>] [--scopes <a,b,c>] [--label <name>] [--no-browser]` | Authorizes this device: prints a code, opens (or prints) an approval URL, polls until approved, then stores the resulting device token and API key. |
|
|
55
|
+
| `candle auth login [--profile <name>] [--scopes <a,b,c>] [--label <name>] [--no-browser]` | Authorizes this device: prints a code, opens (or prints) an approval URL, polls until approved, then stores the resulting device token and API key. `--label` names both the device and the key. |
|
|
56
56
|
| `candle auth status` | Shows which storage backend is in use, both credential prefixes, the config file path, and a live validity check for each credential. |
|
|
57
57
|
| `candle auth logout [--keep-key]` | Revokes the stored API key (skipped with `--keep-key`), clears local credentials and config, and prints the portal URL for revoking the device itself. |
|
|
58
|
-
| `candle keys list` | Lists this account's API keys: prefix,
|
|
58
|
+
| `candle keys list [--scopes]` | Lists this account's API keys: prefix, name, Read or Read:Write access, environment, timestamps, and which device minted each one. `--scopes` adds the raw scopes, sorted. |
|
|
59
59
|
| `candle keys create [--scopes <a,b,c>] [--label <name>] [--expires-in <days>] [--tx-limit <usd> [--reset daily\|weekly\|monthly\|never]]` | Creates a new API key and prints the plaintext exactly once, with the same optional name, expiration, and USD transaction limit the portal's create form takes. Stored locally only if the CLI does not already hold a working key. |
|
|
60
60
|
| `candle keys revoke <prefix>` | Revokes an API key by prefix. Revoking the CLI's own stored key also clears it locally. |
|
|
61
61
|
| `candle wallets` | Shows the account's embedded (launch) wallets and any linked wallets, using the API key, with a `Signer` column saying whether this machine holds each linked wallet's signing key. |
|
|
@@ -144,6 +144,10 @@ guarantee is unconfirmed: a wallet stop whose remote enforcement is still pendin
|
|
|
144
144
|
enabled without verified signing authority, or a sweep that left a residual). Treat `3` as not
|
|
145
145
|
done: follow the printed next step, usually re-running the same command.
|
|
146
146
|
|
|
147
|
+
The value is complete when the process exits, whatever stdout is connected to: a file, a pipe
|
|
148
|
+
into `jq`, a subprocess, or an MCP host. The CLI exits only after stdout has drained, and a
|
|
149
|
+
reader that closes the pipe early (`| head`) ends the output without an error.
|
|
150
|
+
|
|
147
151
|
A failure envelope is `{ ok: false, code, message }`, with an optional one-line `suggestion` and,
|
|
148
152
|
where a refusal carries facts worth acting on, an optional nested `details`. A vault that is not
|
|
149
153
|
where the command looked answers with `details: { path, pathSource: "flag" | "env" | "default" }`,
|