@temps-sdk/cli 0.2.0-beta.1 → 0.2.0-beta.3

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 (73) hide show
  1. package/dist/index.js +104770 -87351
  2. package/dist/skills/temps/SKILL.md +6 -3
  3. package/dist/skills/temps/evals/evals.json +38 -0
  4. package/dist/skills/temps/howtos/agent-handoff.md +106 -0
  5. package/dist/skills/temps/howtos/install-temps.md +151 -0
  6. package/dist/skills/temps/references/commands/INDEX.md +7 -0
  7. package/dist/skills/temps/references/commands/agents.md +731 -0
  8. package/dist/skills/temps/references/commands/ai.md +2636 -11
  9. package/dist/skills/temps/references/commands/alarms.md +125 -0
  10. package/dist/skills/temps/references/commands/analytics.md +1001 -3
  11. package/dist/skills/temps/references/commands/apikeys.md +48 -1
  12. package/dist/skills/temps/references/commands/audit.md +1 -0
  13. package/dist/skills/temps/references/commands/backups.md +306 -0
  14. package/dist/skills/temps/references/commands/blob.md +169 -0
  15. package/dist/skills/temps/references/commands/cloud.md +59 -0
  16. package/dist/skills/temps/references/commands/cluster.md +223 -0
  17. package/dist/skills/temps/references/commands/containers.md +45 -0
  18. package/dist/skills/temps/references/commands/custom-domains.md +32 -0
  19. package/dist/skills/temps/references/commands/data.md +1 -0
  20. package/dist/skills/temps/references/commands/deploy-image.md +3 -1
  21. package/dist/skills/temps/references/commands/deploy-local-image.md +3 -0
  22. package/dist/skills/temps/references/commands/deployments.md +559 -0
  23. package/dist/skills/temps/references/commands/dns-provider.md +63 -0
  24. package/dist/skills/temps/references/commands/domains.md +104 -0
  25. package/dist/skills/temps/references/commands/email-domains.md +1 -0
  26. package/dist/skills/temps/references/commands/email-providers.md +59 -1
  27. package/dist/skills/temps/references/commands/emails.md +91 -0
  28. package/dist/skills/temps/references/commands/environments.md +483 -2
  29. package/dist/skills/temps/references/commands/errors.md +563 -3
  30. package/dist/skills/temps/references/commands/flags.md +76 -0
  31. package/dist/skills/temps/references/commands/funnels.md +22 -2
  32. package/dist/skills/temps/references/commands/incidents.md +18 -0
  33. package/dist/skills/temps/references/commands/ingress.md +26 -0
  34. package/dist/skills/temps/references/commands/ip-access.md +96 -1
  35. package/dist/skills/temps/references/commands/kv.md +184 -0
  36. package/dist/skills/temps/references/commands/load-balancer.md +2 -0
  37. package/dist/skills/temps/references/commands/login.md +4 -1
  38. package/dist/skills/temps/references/commands/logs.md +272 -0
  39. package/dist/skills/temps/references/commands/mcp.md +14 -1
  40. package/dist/skills/temps/references/commands/migrate.md +17 -0
  41. package/dist/skills/temps/references/commands/monitors.md +386 -0
  42. package/dist/skills/temps/references/commands/network-policy.md +27 -0
  43. package/dist/skills/temps/references/commands/nodes.md +155 -2
  44. package/dist/skills/temps/references/commands/notifications.md +149 -0
  45. package/dist/skills/temps/references/commands/otel.md +438 -0
  46. package/dist/skills/temps/references/commands/platform.md +64 -0
  47. package/dist/skills/temps/references/commands/plugin.md +76 -0
  48. package/dist/skills/temps/references/commands/preview-gateway.md +91 -0
  49. package/dist/skills/temps/references/commands/project-groups.md +31 -0
  50. package/dist/skills/temps/references/commands/projects.md +453 -6
  51. package/dist/skills/temps/references/commands/providers.md +519 -0
  52. package/dist/skills/temps/references/commands/proxy-logs.md +111 -0
  53. package/dist/skills/temps/references/commands/revenue.md +219 -0
  54. package/dist/skills/temps/references/commands/sandbox.md +732 -9
  55. package/dist/skills/temps/references/commands/secrets.md +3 -0
  56. package/dist/skills/temps/references/commands/server.md +107 -0
  57. package/dist/skills/temps/references/commands/services.md +831 -5
  58. package/dist/skills/temps/references/commands/settings.md +384 -0
  59. package/dist/skills/temps/references/commands/shield.md +354 -0
  60. package/dist/skills/temps/references/commands/start.md +1 -0
  61. package/dist/skills/temps/references/commands/status-pages.md +103 -3
  62. package/dist/skills/temps/references/commands/teams.md +14 -0
  63. package/dist/skills/temps/references/commands/templates.md +14 -0
  64. package/dist/skills/temps/references/commands/tokens.md +106 -0
  65. package/dist/skills/temps/references/commands/traces.md +149 -0
  66. package/dist/skills/temps/references/commands/tunnels.md +2 -0
  67. package/dist/skills/temps/references/commands/users.md +111 -0
  68. package/dist/skills/temps/references/commands/vault.md +662 -0
  69. package/dist/skills/temps/references/commands/webhooks.md +4 -0
  70. package/dist/skills/temps/references/commands/workflows.md +347 -0
  71. package/dist/skills/temps/scripts/generate_command_references.py +5 -3
  72. package/dist/skills/temps/scripts/test_generate_command_references.py +3 -1
  73. package/package.json +3 -2
@@ -4,6 +4,26 @@
4
4
 
5
5
  Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
6
6
 
7
+ ## Contents
8
+
9
+ - [`flags list`](#flags-list-alias-ls)
10
+ - [`flags get`](#flags-get)
11
+ - [`flags create`](#flags-create)
12
+ - [`flags update`](#flags-update)
13
+ - [`flags rules`](#flags-rules)
14
+ - [`flags evaluate`](#flags-evaluate-alias-eval)
15
+ - [`flags reshuffle`](#flags-reshuffle)
16
+ - [`flags set`](#flags-set)
17
+ - [`flags clear`](#flags-clear)
18
+ - [`flags disable`](#flags-disable)
19
+ - [`flags enable`](#flags-enable)
20
+ - [`flags restore`](#flags-restore)
21
+ - [`flags archive`](#flags-archive)
22
+ - [`flags record-exposure`](#flags-record-exposure)
23
+ - [`flags get-snapshot`](#flags-get-snapshot)
24
+ - [`flags ofrep-server-bulk`](#flags-ofrep-server-bulk)
25
+ - [`flags ofrep-server-single`](#flags-ofrep-server-single)
26
+
7
27
  ## `flags` (alias: `flag`)
8
28
 
9
29
  Manage feature flags (runtime config that changes without a redeploy)
@@ -23,6 +43,10 @@ Manage feature flags (runtime config that changes without a redeploy)
23
43
  - `enable` - Re-enable a flag in this environment after a kill switch
24
44
  - `restore` - Restore an archived flag
25
45
  - `archive` - Archive a flag (callers fall back to their own default)
46
+ - `record-exposure` - Record which flags a running app actually evaluated
47
+ - `get-snapshot` - Every flag for the caller's environment, collapsed to what the evaluator needs
48
+ - `ofrep-server-bulk` - OFREP bulk evaluation for server-side OpenFeature SDKs
49
+ - `ofrep-server-single` - OFREP single-flag evaluation for server-side OpenFeature SDKs
26
50
 
27
51
  ### `flags list` (alias: `ls`)
28
52
 
@@ -244,3 +268,55 @@ Archive a flag (callers fall back to their own default)
244
268
  | Flag | Description | Default | Required |
245
269
  |------|-------------|---------|----------|
246
270
  | `-p, --project <project>` | Project slug or ID | - | No |
271
+
272
+ ### `flags record-exposure`
273
+
274
+ Record which flags a running app actually evaluated
275
+
276
+ **Options:**
277
+
278
+ | Flag | Description | Default | Required |
279
+ |------|-------------|---------|----------|
280
+ | `--keys <value>` | Flag keys evaluated since the last report (repeatable) [required] | - | No |
281
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
282
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
283
+ | `--json` | Output in JSON format | - | No |
284
+
285
+ ### `flags get-snapshot`
286
+
287
+ Every flag for the caller's environment, collapsed to what the evaluator needs
288
+
289
+ **Options:**
290
+
291
+ | Flag | Description | Default | Required |
292
+ |------|-------------|---------|----------|
293
+ | `--environment-id <n>` | Required only when the calling token is project-wide rather than scoped to a single environment | - | No |
294
+ | `--json` | Output in JSON format | - | No |
295
+
296
+ ### `flags ofrep-server-bulk`
297
+
298
+ OFREP bulk evaluation for server-side OpenFeature SDKs
299
+
300
+ **Options:**
301
+
302
+ | Flag | Description | Default | Required |
303
+ |------|-------------|---------|----------|
304
+ | `--context <json>` | Body field context (JSON) | - | No |
305
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
306
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
307
+ | `--json` | Output in JSON format | - | No |
308
+
309
+ ### `flags ofrep-server-single`
310
+
311
+ OFREP single-flag evaluation for server-side OpenFeature SDKs
312
+
313
+ **Usage:** `flags ofrep-server-single <key> [options]`
314
+
315
+ **Options:**
316
+
317
+ | Flag | Description | Default | Required |
318
+ |------|-------------|---------|----------|
319
+ | `--context <json>` | Body field context (JSON) | - | No |
320
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
321
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
322
+ | `--json` | Output in JSON format | - | No |
@@ -10,22 +10,25 @@ Manage analytics funnels for projects
10
10
 
11
11
  **Subcommands:**
12
12
 
13
- - `list` (`ls`) - List all funnels for a project
13
+ - `list` (`ls`) - List the funnels of a project, newest first
14
14
  - `create` (`add`) - Create a new funnel for a project
15
15
  - `update` - Update a funnel
16
16
  - `remove` (`rm`) - Delete a funnel
17
17
  - `metrics` - Get funnel metrics
18
18
  - `preview` - Preview funnel metrics without saving
19
+ - `get-unique-events` - Get all unique/distinct event types for a project (paginated)
19
20
 
20
21
  ### `funnels list` (alias: `ls`)
21
22
 
22
- List all funnels for a project
23
+ List the funnels of a project, newest first
23
24
 
24
25
  **Options:**
25
26
 
26
27
  | Flag | Description | Default | Required |
27
28
  |------|-------------|---------|----------|
28
29
  | `--project-id <id>` | Project ID | - | Yes |
30
+ | `--page <n>` | Page number (default: 1) | - | No |
31
+ | `--page-size <n>` | Items per page (default: 20, max: 100) | - | No |
29
32
  | `--json` | Output in JSON format | - | No |
30
33
 
31
34
  ### `funnels create` (alias: `add`)
@@ -78,6 +81,10 @@ Get funnel metrics
78
81
  | `--project-id <id>` | Project ID | - | Yes |
79
82
  | `--funnel-id <id>` | Funnel ID | - | Yes |
80
83
  | `--json` | Output in JSON format | - | No |
84
+ | `--start-date <value>` | Window start (RFC 3339) | - | No |
85
+ | `--end-date <value>` | Window end (RFC 3339) | - | No |
86
+ | `--environment-id <n>` | Only this environment (an ID) | - | No |
87
+ | `--country-code <value>` | Only visitors from this country (ISO code, e.g. DE) | - | No |
81
88
 
82
89
  ### `funnels preview`
83
90
 
@@ -90,3 +97,16 @@ Preview funnel metrics without saving
90
97
  | `--project-id <id>` | Project ID | - | Yes |
91
98
  | `-s, --steps <json>` | Funnel steps as JSON array | - | Yes |
92
99
  | `--json` | Output in JSON format | - | No |
100
+
101
+ ### `funnels get-unique-events`
102
+
103
+ Get all unique/distinct event types for a project (paginated)
104
+
105
+ **Options:**
106
+
107
+ | Flag | Description | Default | Required |
108
+ |------|-------------|---------|----------|
109
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
110
+ | `--page <n>` | Page number (default: 1) | - | No |
111
+ | `--page-size <n>` | Items per page (default: 50, max: 100) | - | No |
112
+ | `--json` | Output in JSON format | - | No |
@@ -17,6 +17,7 @@ Manage incidents for status pages and monitoring
17
17
  - `set-visibility` - Show or hide an incident update on published status pages
18
18
  - `updates` - List status updates for an incident
19
19
  - `bucketed` - Get bucketed incident data for a project
20
+ - `update` - Set or clear the heading an incident shows on published status pages
20
21
 
21
22
  ### `incidents list` (alias: `ls`)
22
23
 
@@ -97,6 +98,8 @@ List status updates for an incident
97
98
  | Flag | Description | Default | Required |
98
99
  |------|-------------|---------|----------|
99
100
  | `--id <id>` | Incident ID | - | Yes |
101
+ | `--page <n>` | Page number (default: 1) | - | No |
102
+ | `--page-size <n>` | Items per page (default: 20, max: 100) | - | No |
100
103
  | `--json` | Output in JSON format | - | No |
101
104
 
102
105
  ### `incidents bucketed`
@@ -113,3 +116,18 @@ Get bucketed incident data for a project
113
116
  | `--end-time <time>` | End time (ISO 8601) | - | No |
114
117
  | `--environment-id <id>` | Filter by environment ID | - | No |
115
118
  | `--json` | Output in JSON format | - | No |
119
+
120
+ ### `incidents update`
121
+
122
+ Set or clear the heading an incident shows on published status pages
123
+
124
+ **Usage:** `incidents update <incident-id> [options]`
125
+
126
+ **Options:**
127
+
128
+ | Flag | Description | Default | Required |
129
+ |------|-------------|---------|----------|
130
+ | `--public-title <value>` | New public heading [required] | - | No |
131
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
132
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
133
+ | `--json` | Output in JSON format | - | No |
@@ -0,0 +1,26 @@
1
+ <!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
2
+
3
+ # `ingress` command reference
4
+
5
+ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
6
+
7
+ ## `ingress`
8
+
9
+ How this Temps machine receives traffic for your apps
10
+
11
+ **Subcommands:**
12
+
13
+ - `private` - Serve private addresses from this machine, only to connections from your private network (Tailscale, WireGuard, NetBird, your LAN…)
14
+
15
+ ### `ingress private`
16
+
17
+ Serve private addresses from this machine, only to connections from your private network (Tailscale, WireGuard, NetBird, your LAN…)
18
+
19
+ **Options:**
20
+
21
+ | Flag | Description | Default | Required |
22
+ |------|-------------|---------|----------|
23
+ | `--listen <address>` | One of this machine's private addresses, or "tailscale" for its Tailscale address | - | No |
24
+ | `--admit <cidr...>` | Who may connect, as private ranges (default: the network of the --listen address; Tailscale's ranges on Tailscale) | - | No |
25
+ | `--off` | Stop serving private addresses from this machine | - | No |
26
+ | `--json` | Output in JSON format | - | No |
@@ -17,6 +17,7 @@ Manage instance-wide IP access control rules, and per-project lists (ip-access p
17
17
  - `remove` (`rm`) - Delete an IP access control rule
18
18
  - `check` - Check if an IP address is blocked
19
19
  - `project` - Allow or deny IP ranges for one project or environment
20
+ - `sessions` - Sessions commands
20
21
 
21
22
  ### `ip-access list` (alias: `ls`)
22
23
 
@@ -39,7 +40,9 @@ Create a new IP access control rule
39
40
  | `--ip <ip_or_cidr>` | IPv4 or IPv6 address or CIDR range (e.g., "192.168.1.1", "10.0.0.0/24", or "2001:db8::/32") | - | No |
40
41
  | `--action <action>` | Action to take: "allow" or "deny" | - | No |
41
42
  | `--description <desc>` | Optional description/reason for the rule | - | No |
42
- | `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
43
+ | `--confirm-broad-range` | Save a block range wider than /8 (IPv4) or /16 (IPv6) | - | No |
44
+ | `--acknowledge-lockout` | Save a block rule even if it matches the address you are calling from | - | No |
45
+ | `-y, --yes` | Skip prompts (for automation); does not confirm a broad range or a lockout | - | No |
43
46
 
44
47
  ### `ip-access show`
45
48
 
@@ -64,6 +67,8 @@ Update an IP access control rule
64
67
  | `--ip <ip>` | New IP address or CIDR range | - | No |
65
68
  | `--action <action>` | New action: "allow" or "deny" | - | No |
66
69
  | `--description <desc>` | New description/reason | - | No |
70
+ | `--confirm-broad-range` | Save a block range wider than /8 (IPv4) or /16 (IPv6) | - | No |
71
+ | `--acknowledge-lockout` | Save a block rule even if it matches the address you are calling from | - | No |
67
72
 
68
73
  ### `ip-access remove` (alias: `rm`)
69
74
 
@@ -151,3 +156,93 @@ Check whether an address would be allowed
151
156
  | `--environment-id <id>` | Environment ID (omit for the project-wide list) | - | No |
152
157
  | `--ip <ip>` | Address to evaluate | - | Yes |
153
158
  | `--json` | Output in JSON format | - | No |
159
+
160
+ ### `ip-access sessions`
161
+
162
+ Sessions commands
163
+
164
+ **Subcommands:**
165
+
166
+ - `list-providers` - The saved Cloudflare Access tokens
167
+ - `create-provider` - Check a Cloudflare Access token, then save it sealed
168
+ - `check-provider` - Check which Cloudflare Access permissions a pasted token has: Access: Apps and Policies Edit (probed with..
169
+ - `delete-provider` - Delete a saved Cloudflare Access token
170
+ - `sign-out-of-apps` - Sign out of every signed-in address
171
+ - `sign-everyone-out-of-address` - Sign everyone out of a signed-in address
172
+
173
+ #### `ip-access sessions list-providers`
174
+
175
+ The saved Cloudflare Access tokens
176
+
177
+ **Options:**
178
+
179
+ | Flag | Description | Default | Required |
180
+ |------|-------------|---------|----------|
181
+ | `--json` | Output in JSON format | - | No |
182
+
183
+ #### `ip-access sessions create-provider`
184
+
185
+ Check a Cloudflare Access token, then save it sealed
186
+
187
+ **Options:**
188
+
189
+ | Flag | Description | Default | Required |
190
+ |------|-------------|---------|----------|
191
+ | `--account-id <value>` | Body field account_id [required] | - | No |
192
+ | `--name <value>` | A name to tell tokens apart [required] | - | No |
193
+ | `--token-stdin` | Checked, then sealed; never returned [required] (read from stdin) | - | No |
194
+ | `--token-file <path>` | Checked, then sealed; never returned [required] (read from a file) | - | No |
195
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
196
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
197
+ | `--json` | Output in JSON format | - | No |
198
+
199
+ #### `ip-access sessions check-provider`
200
+
201
+ Check which Cloudflare Access permissions a pasted token has: Access: Apps and Policies Edit (probed with..
202
+
203
+ **Options:**
204
+
205
+ | Flag | Description | Default | Required |
206
+ |------|-------------|---------|----------|
207
+ | `--account-id <value>` | The Cloudflare account the Access applications live in (32 hex characters, from the dashboard URL or the... [required] | - | No |
208
+ | `--token-stdin` | The token, as pasted [required] (read from stdin) | - | No |
209
+ | `--token-file <path>` | The token, as pasted [required] (read from a file) | - | No |
210
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
211
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
212
+ | `--json` | Output in JSON format | - | No |
213
+
214
+ #### `ip-access sessions delete-provider`
215
+
216
+ Delete a saved Cloudflare Access token
217
+
218
+ **Usage:** `ip-access sessions delete-provider <provider-id> [options]`
219
+
220
+ **Options:**
221
+
222
+ | Flag | Description | Default | Required |
223
+ |------|-------------|---------|----------|
224
+ | `-y, --yes` | Do not ask for confirmation | - | No |
225
+ | `--json` | Output in JSON format | - | No |
226
+
227
+ #### `ip-access sessions sign-out-of-apps`
228
+
229
+ Sign out of every signed-in address
230
+
231
+ **Options:**
232
+
233
+ | Flag | Description | Default | Required |
234
+ |------|-------------|---------|----------|
235
+ | `--json` | Output in JSON format | - | No |
236
+
237
+ #### `ip-access sessions sign-everyone-out-of-address`
238
+
239
+ Sign everyone out of a signed-in address
240
+
241
+ **Usage:** `ip-access sessions sign-everyone-out-of-address <address-id> [options]`
242
+
243
+ **Options:**
244
+
245
+ | Flag | Description | Default | Required |
246
+ |------|-------------|---------|----------|
247
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
248
+ | `--json` | Output in JSON format | - | No |
@@ -0,0 +1,184 @@
1
+ <!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
2
+
3
+ # `kv` command reference
4
+
5
+ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
6
+
7
+ ## `kv`
8
+
9
+ Read and write a project's keys in the KV store, and manage the KV service
10
+
11
+ **Subcommands:**
12
+
13
+ - `get` - Get the value of a key
14
+ - `set` - Set a key; the value is a string unless --json-value
15
+ - `del` (`delete`) - Delete one or more keys
16
+ - `keys` (`ls`) - List keys matching a pattern (* and ? wildcards; default *)
17
+ - `ttl` - Show how long until a key expires
18
+ - `expire` - Expire a key after a number of seconds
19
+ - `incr` - Increment a numeric key (creating it at 0 first)
20
+ - `status` - Show whether the KV service is enabled and healthy on this instance
21
+ - `enable` - Enable the KV service on this instance (starts its Redis container)
22
+ - `update` - Change the Docker image the KV service runs (recreates its container)
23
+ - `disable` - Disable the KV service on this instance (stops its container; every project loses KV access)
24
+ - `container-name` - Show, or set with --container-name/--reset, the Docker container name of the KV service
25
+
26
+ ### `kv get`
27
+
28
+ Get the value of a key
29
+
30
+ **Usage:** `kv get <key> [options]`
31
+
32
+ **Options:**
33
+
34
+ | Flag | Description | Default | Required |
35
+ |------|-------------|---------|----------|
36
+ | `-p, --project <slug-or-id>` | Project slug or ID (defaults to the linked project) | - | No |
37
+ | `--json` | Output in JSON format | - | No |
38
+
39
+ ### `kv set`
40
+
41
+ Set a key; the value is a string unless --json-value
42
+
43
+ **Usage:** `kv set <key> [value] [options]`
44
+
45
+ **Options:**
46
+
47
+ | Flag | Description | Default | Required |
48
+ |------|-------------|---------|----------|
49
+ | `-p, --project <slug-or-id>` | Project slug or ID (defaults to the linked project) | - | No |
50
+ | `--json-value` | Parse the value as JSON (a number, object, array, true/false or null) | - | No |
51
+ | `--ex <seconds>` | Expire the key after this many seconds | - | No |
52
+ | `--px <milliseconds>` | Expire the key after this many milliseconds | - | No |
53
+ | `--nx` | Only set the key if it does not exist | - | No |
54
+ | `--xx` | Only set the key if it already exists | - | No |
55
+ | `--json` | Output in JSON format | - | No |
56
+ | `--value-file <path>` | Read the value from a file, byte-for-byte (- reads stdin). Keeps it out of shell history | - | No |
57
+ | `--value-stdin` | Read the value from stdin, e.g. piped from a secret manager | - | No |
58
+ | `--trim-trailing-newline` | Drop exactly one trailing newline (\n or \r\n) from a value read from a file or stdin (kept byte-for-byte by default) | - | No |
59
+
60
+ ### `kv del` (alias: `delete`)
61
+
62
+ Delete one or more keys
63
+
64
+ **Usage:** `kv del <keys...> [options]`
65
+
66
+ **Options:**
67
+
68
+ | Flag | Description | Default | Required |
69
+ |------|-------------|---------|----------|
70
+ | `-p, --project <slug-or-id>` | Project slug or ID (defaults to the linked project) | - | No |
71
+ | `-y, --yes` | Do not ask for confirmation | - | No |
72
+ | `--json` | Output in JSON format | - | No |
73
+
74
+ ### `kv keys` (alias: `ls`)
75
+
76
+ List keys matching a pattern (* and ? wildcards; default *)
77
+
78
+ **Usage:** `kv keys [pattern] [options]`
79
+
80
+ **Options:**
81
+
82
+ | Flag | Description | Default | Required |
83
+ |------|-------------|---------|----------|
84
+ | `-p, --project <slug-or-id>` | Project slug or ID (defaults to the linked project) | - | No |
85
+ | `--json` | Output in JSON format | - | No |
86
+
87
+ ### `kv ttl`
88
+
89
+ Show how long until a key expires
90
+
91
+ **Usage:** `kv ttl <key> [options]`
92
+
93
+ **Options:**
94
+
95
+ | Flag | Description | Default | Required |
96
+ |------|-------------|---------|----------|
97
+ | `-p, --project <slug-or-id>` | Project slug or ID (defaults to the linked project) | - | No |
98
+ | `--json` | Output in JSON format | - | No |
99
+
100
+ ### `kv expire`
101
+
102
+ Expire a key after a number of seconds
103
+
104
+ **Usage:** `kv expire <key> <seconds> [options]`
105
+
106
+ **Options:**
107
+
108
+ | Flag | Description | Default | Required |
109
+ |------|-------------|---------|----------|
110
+ | `-p, --project <slug-or-id>` | Project slug or ID (defaults to the linked project) | - | No |
111
+ | `--json` | Output in JSON format | - | No |
112
+
113
+ ### `kv incr`
114
+
115
+ Increment a numeric key (creating it at 0 first)
116
+
117
+ **Usage:** `kv incr <key> [options]`
118
+
119
+ **Options:**
120
+
121
+ | Flag | Description | Default | Required |
122
+ |------|-------------|---------|----------|
123
+ | `-p, --project <slug-or-id>` | Project slug or ID (defaults to the linked project) | - | No |
124
+ | `--by <amount>` | Amount to add, may be negative (default 1) | - | No |
125
+ | `--json` | Output in JSON format | - | No |
126
+
127
+ ### `kv status`
128
+
129
+ Show whether the KV service is enabled and healthy on this instance
130
+
131
+ **Options:**
132
+
133
+ | Flag | Description | Default | Required |
134
+ |------|-------------|---------|----------|
135
+ | `--json` | Output in JSON format | - | No |
136
+
137
+ ### `kv enable`
138
+
139
+ Enable the KV service on this instance (starts its Redis container)
140
+
141
+ **Options:**
142
+
143
+ | Flag | Description | Default | Required |
144
+ |------|-------------|---------|----------|
145
+ | `--image <ref>` | Docker image to run (default: the one this Temps release pins) | - | No |
146
+ | `--max-memory <size>` | Memory limit, e.g. 256mb or 1gb | - | No |
147
+ | `--persistence` | Persist data to disk | - | No |
148
+ | `--no-persistence` | Keep data in memory only | - | No |
149
+ | `--json` | Output in JSON format | - | No |
150
+
151
+ ### `kv update`
152
+
153
+ Change the Docker image the KV service runs (recreates its container)
154
+
155
+ **Options:**
156
+
157
+ | Flag | Description | Default | Required |
158
+ |------|-------------|---------|----------|
159
+ | `--image <ref>` | Docker image to run | - | Yes |
160
+ | `-y, --yes` | Do not ask for confirmation | - | No |
161
+ | `--json` | Output in JSON format | - | No |
162
+
163
+ ### `kv disable`
164
+
165
+ Disable the KV service on this instance (stops its container; every project loses KV access)
166
+
167
+ **Options:**
168
+
169
+ | Flag | Description | Default | Required |
170
+ |------|-------------|---------|----------|
171
+ | `-y, --yes` | Do not ask for confirmation | - | No |
172
+ | `--json` | Output in JSON format | - | No |
173
+
174
+ ### `kv container-name`
175
+
176
+ Show, or set with --container-name/--reset, the Docker container name of the KV service
177
+
178
+ **Options:**
179
+
180
+ | Flag | Description | Default | Required |
181
+ |------|-------------|---------|----------|
182
+ | `--container-name <name>` | New container name (must keep the required prefix) | - | No |
183
+ | `--reset` | Go back to the default container name | - | No |
184
+ | `--json` | Output in JSON format | - | No |
@@ -36,6 +36,7 @@ Create a load balancer route
36
36
  |------|-------------|---------|----------|
37
37
  | `-d, --domain <domain>` | Domain for the route | - | No |
38
38
  | `-t, --target <target>` | Target upstream URL | - | No |
39
+ | `--type <type>` | http (default: match the Host header) or tls (match the SNI name, pass TCP through) | - | No |
39
40
  | `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
40
41
 
41
42
  ### `load-balancer show`
@@ -59,6 +60,7 @@ Update a load balancer route
59
60
  |------|-------------|---------|----------|
60
61
  | `-d, --domain <domain>` | Domain of the route | - | Yes |
61
62
  | `-t, --target <target>` | New target upstream URL | - | No |
63
+ | `--type <type>` | http (match the Host header) or tls (match the SNI name, pass TCP through) | - | No |
62
64
 
63
65
  ### `load-balancer remove` (alias: `rm`)
64
66
 
@@ -6,7 +6,7 @@ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing
6
6
 
7
7
  ## `login`
8
8
 
9
- Authenticate with a Temps server. Opens the browser for interactive logins; use --api-key for headless / CI.
9
+ Authenticate with a Temps server. Opens the browser for interactive logins; use --no-wait then --resume when a person approves but the caller cannot keep a command open, and --api-key for headless / CI.
10
10
 
11
11
  **Usage:** `login [url] [options]`
12
12
 
@@ -16,6 +16,9 @@ Authenticate with a Temps server. Opens the browser for interactive logins; use
16
16
  |------|-------------|---------|----------|
17
17
  | `-k, --api-key <key>` | Use a pre-minted API key (Settings → API Keys) instead of opening the browser. Required for headless / CI. | - | No |
18
18
  | `--context <name>` | Save the credentials under this context name (defaults to URL host) | - | No |
19
+ | `--no-wait` | Print the browser approval link and exit instead of waiting for it. For agents and scripts whose shell returns output only when a command exits; finish with --resume. | - | No |
20
+ | `--resume` | Finish a sign-in started with --no-wait: wait for the browser approval, then save the credentials. Exits with code 2 if it is not approved yet; run it again. | - | No |
21
+ | `--wait-secs <seconds>` | With --resume: how long to wait for the approval before exiting with code 2 (default: 90) | - | No |
19
22
  | `--debug` | Print every request/response (URL, status, headers, raw body) to stderr. Also enabled via TEMPS_DEBUG=1. | - | No |
20
23
  | `--api-key-file <path>` | Read the API key from a file (- reads stdin) instead of --api-key | - | No |
21
24
  | `--api-key-stdin` | Read the API key from stdin instead of --api-key | - | No |