@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,25 @@
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
+ - [`settings show`](#settings-show-alias-get)
10
+ - [`settings update`](#settings-update-alias-set)
11
+ - [`settings geo-status`](#settings-geo-status)
12
+ - [`settings set-external-url`](#settings-set-external-url)
13
+ - [`settings set-preview-domain`](#settings-set-preview-domain)
14
+ - [`settings fields`](#settings-fields)
15
+ - [`settings apply`](#settings-apply)
16
+ - [`settings admin-gate`](#settings-admin-gate)
17
+ - [`settings telemetry`](#settings-telemetry)
18
+ - [`settings ci-builder`](#settings-ci-builder)
19
+ - [`settings disk-status`](#settings-disk-status)
20
+ - [`settings public-ingress`](#settings-public-ingress)
21
+ - [`settings refresh-routes`](#settings-refresh-routes)
22
+ - [`settings weekly-digest`](#settings-weekly-digest)
23
+ - [`settings onboarding`](#settings-onboarding)
24
+ - [`settings oidc`](#settings-oidc)
25
+
7
26
  ## `settings`
8
27
 
9
28
  Manage platform settings
@@ -15,6 +34,17 @@ Manage platform settings
15
34
  - `geo-status` - Show the freshness of the geolocation (GeoLite2) database
16
35
  - `set-external-url` - Set the external URL for the platform
17
36
  - `set-preview-domain` - Set the preview domain pattern
37
+ - `fields` - List every instance setting, or print the value at a field path (e.g. shield, otel_ingest.max_spans_per_second)
38
+ - `apply` - Change any instance setting by field path: field=value (JSON or text), field:=text, or a bare field with --value-stdin
39
+ - `admin-gate` - Show, or change with flags, which hosts and source IPs may reach the console and API listener
40
+ - `telemetry` - Show anonymous telemetry status, or turn it on/off with --enable/--disable
41
+ - `ci-builder` - Configure the external CI builder that runs builds off the control plane
42
+ - `disk-status` - Show the control plane's disk usage and alert threshold
43
+ - `public-ingress` - Show where third parties (webhooks, email tracking) call back into Temps, and whether it is reachable
44
+ - `refresh-routes` - Rebuild the proxy route table now instead of waiting for the next change
45
+ - `weekly-digest` - Generate and send the weekly digest now
46
+ - `onboarding` - Onboarding commands
47
+ - `oidc` - Oidc commands
18
48
 
19
49
  ### `settings show` (alias: `get`)
20
50
 
@@ -82,3 +112,357 @@ Set the preview domain pattern
82
112
  | Flag | Description | Default | Required |
83
113
  |------|-------------|---------|----------|
84
114
  | `--domain <domain>` | Preview domain pattern | - | Yes |
115
+
116
+ ### `settings fields`
117
+
118
+ List every instance setting, or print the value at a field path (e.g. shield, otel_ingest.max_spans_per_second)
119
+
120
+ **Usage:** `settings fields [path] [options]`
121
+
122
+ **Options:**
123
+
124
+ | Flag | Description | Default | Required |
125
+ |------|-------------|---------|----------|
126
+ | `--json` | Output in JSON format | - | No |
127
+
128
+ ### `settings apply`
129
+
130
+ Change any instance setting by field path: field=value (JSON or text), field:=text, or a bare field with --value-stdin
131
+
132
+ **Usage:** `settings apply [assignments...] [options]`
133
+
134
+ **Options:**
135
+
136
+ | Flag | Description | Default | Required |
137
+ |------|-------------|---------|----------|
138
+ | `--from-file <path>` | Merge a JSON object of settings from a file (- for stdin) | - | No |
139
+ | `--value-stdin` | Read the value of the one bare field from stdin (for secrets) | - | No |
140
+ | `-y, --yes` | Do not ask before changing a setting that can lock you out | - | No |
141
+ | `--json` | Print the saved settings response as JSON | - | No |
142
+
143
+ ### `settings admin-gate`
144
+
145
+ Show, or change with flags, which hosts and source IPs may reach the console and API listener
146
+
147
+ **Options:**
148
+
149
+ | Flag | Description | Default | Required |
150
+ |------|-------------|---------|----------|
151
+ | `--allowed-host <host>` | Host header to allow (repeatable; replaces the list) | - | No |
152
+ | `--allowed-ip <ip-or-cidr>` | Source IP or CIDR to allow (repeatable; replaces the list) | - | No |
153
+ | `--clear-hosts` | Allow any Host header | - | No |
154
+ | `--clear-ips` | Allow any source address | - | No |
155
+ | `--trust-forwarded-for` | Trust X-Forwarded-For from loopback peers | - | No |
156
+ | `--no-trust-forwarded-for` | Ignore X-Forwarded-For | - | No |
157
+ | `-y, --yes` | Do not ask before saving a gate that may lock you out | - | No |
158
+ | `--json` | Output in JSON format | - | No |
159
+
160
+ ### `settings telemetry`
161
+
162
+ Show anonymous telemetry status, or turn it on/off with --enable/--disable
163
+
164
+ **Options:**
165
+
166
+ | Flag | Description | Default | Required |
167
+ |------|-------------|---------|----------|
168
+ | `--enable` | Send anonymous telemetry | - | No |
169
+ | `--disable` | Stop sending anonymous telemetry | - | No |
170
+ | `--json` | Output in JSON format | - | No |
171
+
172
+ ### `settings ci-builder`
173
+
174
+ Configure the external CI builder that runs builds off the control plane
175
+
176
+ **Subcommands:**
177
+
178
+ - `show` - Show whether the CI builder is configured, and its settings (credentials are never returned)
179
+ - `set` - Save CI builder settings from --from-file and/or field=value assignments (e.g. limits.concurrency=2)
180
+ - `provision` - Create the builder repository and its pinned runner shim at the configured provider
181
+
182
+ #### `settings ci-builder show`
183
+
184
+ Show whether the CI builder is configured, and its settings (credentials are never returned)
185
+
186
+ **Options:**
187
+
188
+ | Flag | Description | Default | Required |
189
+ |------|-------------|---------|----------|
190
+ | `--json` | Output in JSON format | - | No |
191
+
192
+ #### `settings ci-builder set`
193
+
194
+ Save CI builder settings from --from-file and/or field=value assignments (e.g. limits.concurrency=2)
195
+
196
+ **Usage:** `settings ci-builder set [assignments...] [options]`
197
+
198
+ **Options:**
199
+
200
+ | Flag | Description | Default | Required |
201
+ |------|-------------|---------|----------|
202
+ | `--from-file <path>` | JSON object of CI builder settings (- for stdin) | - | No |
203
+ | `--dispatch-token-stdin` | Read the dispatch token from stdin | - | No |
204
+ | `--json` | Output in JSON format | - | No |
205
+
206
+ #### `settings ci-builder provision`
207
+
208
+ Create the builder repository and its pinned runner shim at the configured provider
209
+
210
+ **Options:**
211
+
212
+ | Flag | Description | Default | Required |
213
+ |------|-------------|---------|----------|
214
+ | `-y, --yes` | Do not ask for confirmation | - | No |
215
+
216
+ ### `settings disk-status`
217
+
218
+ Show the control plane's disk usage and alert threshold
219
+
220
+ **Options:**
221
+
222
+ | Flag | Description | Default | Required |
223
+ |------|-------------|---------|----------|
224
+ | `--json` | Output in JSON format | - | No |
225
+
226
+ ### `settings public-ingress`
227
+
228
+ Show where third parties (webhooks, email tracking) call back into Temps, and whether it is reachable
229
+
230
+ **Options:**
231
+
232
+ | Flag | Description | Default | Required |
233
+ |------|-------------|---------|----------|
234
+ | `--json` | Output in JSON format | - | No |
235
+
236
+ ### `settings refresh-routes`
237
+
238
+ Rebuild the proxy route table now instead of waiting for the next change
239
+
240
+ **Options:**
241
+
242
+ | Flag | Description | Default | Required |
243
+ |------|-------------|---------|----------|
244
+ | `--json` | Output in JSON format | - | No |
245
+
246
+ ### `settings weekly-digest`
247
+
248
+ Generate and send the weekly digest now
249
+
250
+ **Options:**
251
+
252
+ | Flag | Description | Default | Required |
253
+ |------|-------------|---------|----------|
254
+ | `--json` | Output in JSON format | - | No |
255
+
256
+ ### `settings onboarding`
257
+
258
+ Onboarding commands
259
+
260
+ **Subcommands:**
261
+
262
+ - `get` - Show the install's first-run record: whether the welcome flow is finished, the steps left for later and why, and the default way in
263
+ - `update` - Change the install's first-run record
264
+
265
+ #### `settings onboarding get`
266
+
267
+ Show the install's first-run record: whether the welcome flow is finished, the steps left for later and why, and the default way in
268
+
269
+ **Options:**
270
+
271
+ | Flag | Description | Default | Required |
272
+ |------|-------------|---------|----------|
273
+ | `--json` | Output in JSON format | - | No |
274
+
275
+ #### `settings onboarding update`
276
+
277
+ Change the install's first-run record
278
+
279
+ **Options:**
280
+
281
+ | Flag | Description | Default | Required |
282
+ |------|-------------|---------|----------|
283
+ | `--completed` | Mark the welcome flow finished (true) or reopen it (false) | - | No |
284
+ | `--no-completed` | Set completed to false | - | No |
285
+ | `--default-reach <json>` | How new apps are reached by default, e.g. {"audience":"public","way":"tunnel","naming":"wildcard","domain":"apps.example.com"} (JSON) | - | No |
286
+ | `--done <value>` | Mark these steps done (one of: host, reach, agents, app) (repeatable) | - | No |
287
+ | `--later <json>` | Leave steps for later with why, e.g. [{"step":"agents","reason":"no provider yet"}] (JSON) | - | No |
288
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
289
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
290
+ | `--json` | Output in JSON format | - | No |
291
+
292
+ ### `settings oidc`
293
+
294
+ Oidc commands
295
+
296
+ **Subcommands:**
297
+
298
+ - `list-providers` - List oidc providers
299
+ - `create-provider` - Create oidc provider
300
+ - `get-provider` - Show one oidc provider
301
+ - `delete-provider` - Delete oidc provider
302
+ - `update-provider` - Update oidc provider
303
+ - `list-role-mappings` - List oidc role mappings
304
+ - `create-role-mapping` - Create oidc role mapping
305
+ - `test-provider` - Test oidc provider
306
+ - `list-provider-users` - List oidc provider users
307
+ - `delete-role-mapping` - Delete oidc role mapping
308
+
309
+ #### `settings oidc list-providers`
310
+
311
+ List oidc providers
312
+
313
+ **Options:**
314
+
315
+ | Flag | Description | Default | Required |
316
+ |------|-------------|---------|----------|
317
+ | `--json` | Output in JSON format | - | No |
318
+
319
+ #### `settings oidc create-provider`
320
+
321
+ Create oidc provider
322
+
323
+ **Options:**
324
+
325
+ | Flag | Description | Default | Required |
326
+ |------|-------------|---------|----------|
327
+ | `--client-id <value>` | Body field client_id [required] | - | No |
328
+ | `--client-secret-stdin` | A credential [required] (read from stdin) | - | No |
329
+ | `--client-secret-file <path>` | A credential [required] (read from a file) | - | No |
330
+ | `--default-role <value>` | Body field default_role | - | No |
331
+ | `--enabled` | Body field enabled | - | No |
332
+ | `--no-enabled` | Set enabled to false | - | No |
333
+ | `--group-claim <value>` | Body field group_claim | - | No |
334
+ | `--issuer-url <value>` | Body field issuer_url [required] | - | No |
335
+ | `--jit-provisioning` | Body field jit_provisioning | - | No |
336
+ | `--no-jit-provisioning` | Set jit_provisioning to false | - | No |
337
+ | `--name <value>` | Body field name [required] | - | No |
338
+ | `--role-claim <value>` | Body field role_claim | - | No |
339
+ | `--scopes <value>` | Body field scopes | - | No |
340
+ | `--template <value>` | Body field template | - | No |
341
+ | `--trust-idp-email` | Defaults false | - | No |
342
+ | `--no-trust-idp-email` | Set trust_idp_email to false | - | No |
343
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
344
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
345
+ | `--json` | Output in JSON format | - | No |
346
+
347
+ #### `settings oidc get-provider`
348
+
349
+ Show one oidc provider
350
+
351
+ **Usage:** `settings oidc get-provider <provider-id> [options]`
352
+
353
+ **Options:**
354
+
355
+ | Flag | Description | Default | Required |
356
+ |------|-------------|---------|----------|
357
+ | `--json` | Output in JSON format | - | No |
358
+
359
+ #### `settings oidc delete-provider`
360
+
361
+ Delete oidc provider
362
+
363
+ **Usage:** `settings oidc delete-provider <provider-id> [options]`
364
+
365
+ **Options:**
366
+
367
+ | Flag | Description | Default | Required |
368
+ |------|-------------|---------|----------|
369
+ | `-y, --yes` | Do not ask for confirmation | - | No |
370
+ | `--json` | Output in JSON format | - | No |
371
+
372
+ #### `settings oidc update-provider`
373
+
374
+ Update oidc provider
375
+
376
+ **Usage:** `settings oidc update-provider <provider-id> [options]`
377
+
378
+ **Options:**
379
+
380
+ | Flag | Description | Default | Required |
381
+ |------|-------------|---------|----------|
382
+ | `--client-id <value>` | Body field client_id | - | No |
383
+ | `--client-secret-stdin` | A credential (read from stdin) | - | No |
384
+ | `--client-secret-file <path>` | A credential (read from a file) | - | No |
385
+ | `--default-role <value>` | Body field default_role | - | No |
386
+ | `--enabled` | Body field enabled | - | No |
387
+ | `--no-enabled` | Set enabled to false | - | No |
388
+ | `--group-claim <value>` | Body field group_claim | - | No |
389
+ | `--issuer-url <value>` | Body field issuer_url | - | No |
390
+ | `--jit-provisioning` | Body field jit_provisioning | - | No |
391
+ | `--no-jit-provisioning` | Set jit_provisioning to false | - | No |
392
+ | `--name <value>` | Body field name | - | No |
393
+ | `--role-claim <value>` | Body field role_claim | - | No |
394
+ | `--scopes <value>` | Body field scopes | - | No |
395
+ | `--template <value>` | Body field template | - | No |
396
+ | `--trust-idp-email` | Body field trust_idp_email | - | No |
397
+ | `--no-trust-idp-email` | Set trust_idp_email to false | - | No |
398
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
399
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
400
+ | `--json` | Output in JSON format | - | No |
401
+
402
+ #### `settings oidc list-role-mappings`
403
+
404
+ List oidc role mappings
405
+
406
+ **Usage:** `settings oidc list-role-mappings <provider-id> [options]`
407
+
408
+ **Options:**
409
+
410
+ | Flag | Description | Default | Required |
411
+ |------|-------------|---------|----------|
412
+ | `--json` | Output in JSON format | - | No |
413
+
414
+ #### `settings oidc create-role-mapping`
415
+
416
+ Create oidc role mapping
417
+
418
+ **Usage:** `settings oidc create-role-mapping <provider-id> [options]`
419
+
420
+ **Options:**
421
+
422
+ | Flag | Description | Default | Required |
423
+ |------|-------------|---------|----------|
424
+ | `--idp-group <value>` | Body field idp_group [required] | - | No |
425
+ | `--priority <n>` | Body field priority [required] | - | No |
426
+ | `--role <value>` | Body field role [required] | - | No |
427
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
428
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
429
+ | `--json` | Output in JSON format | - | No |
430
+
431
+ #### `settings oidc test-provider`
432
+
433
+ Test oidc provider
434
+
435
+ **Usage:** `settings oidc test-provider <provider-id> [options]`
436
+
437
+ **Options:**
438
+
439
+ | Flag | Description | Default | Required |
440
+ |------|-------------|---------|----------|
441
+ | `--json` | Output in JSON format | - | No |
442
+
443
+ #### `settings oidc list-provider-users`
444
+
445
+ List oidc provider users
446
+
447
+ **Usage:** `settings oidc list-provider-users <provider-id> [options]`
448
+
449
+ **Options:**
450
+
451
+ | Flag | Description | Default | Required |
452
+ |------|-------------|---------|----------|
453
+ | `--page <n>` | Query parameter page | - | No |
454
+ | `--page-size <n>` | Query parameter page_size | - | No |
455
+ | `--json` | Output in JSON format | - | No |
456
+
457
+ #### `settings oidc delete-role-mapping`
458
+
459
+ Delete oidc role mapping
460
+
461
+ **Usage:** `settings oidc delete-role-mapping <mapping-id> [options]`
462
+
463
+ **Options:**
464
+
465
+ | Flag | Description | Default | Required |
466
+ |------|-------------|---------|----------|
467
+ | `-y, --yes` | Do not ask for confirmation | - | No |
468
+ | `--json` | Output in JSON format | - | No |