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

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 (68) hide show
  1. package/dist/index.js +68378 -53718
  2. package/dist/skills/temps/SKILL.md +1 -0
  3. package/dist/skills/temps/howtos/agent-handoff.md +106 -0
  4. package/dist/skills/temps/references/commands/INDEX.md +6 -0
  5. package/dist/skills/temps/references/commands/agents.md +731 -0
  6. package/dist/skills/temps/references/commands/ai.md +2636 -11
  7. package/dist/skills/temps/references/commands/alarms.md +125 -0
  8. package/dist/skills/temps/references/commands/analytics.md +1001 -3
  9. package/dist/skills/temps/references/commands/apikeys.md +48 -1
  10. package/dist/skills/temps/references/commands/audit.md +1 -0
  11. package/dist/skills/temps/references/commands/backups.md +306 -0
  12. package/dist/skills/temps/references/commands/blob.md +169 -0
  13. package/dist/skills/temps/references/commands/cloud.md +59 -0
  14. package/dist/skills/temps/references/commands/cluster.md +223 -0
  15. package/dist/skills/temps/references/commands/containers.md +45 -0
  16. package/dist/skills/temps/references/commands/custom-domains.md +32 -0
  17. package/dist/skills/temps/references/commands/data.md +1 -0
  18. package/dist/skills/temps/references/commands/deploy-image.md +3 -1
  19. package/dist/skills/temps/references/commands/deploy-local-image.md +3 -0
  20. package/dist/skills/temps/references/commands/deployments.md +559 -0
  21. package/dist/skills/temps/references/commands/dns-provider.md +63 -0
  22. package/dist/skills/temps/references/commands/domains.md +104 -0
  23. package/dist/skills/temps/references/commands/email-domains.md +1 -0
  24. package/dist/skills/temps/references/commands/email-providers.md +59 -1
  25. package/dist/skills/temps/references/commands/emails.md +91 -0
  26. package/dist/skills/temps/references/commands/environments.md +447 -2
  27. package/dist/skills/temps/references/commands/errors.md +563 -3
  28. package/dist/skills/temps/references/commands/flags.md +76 -0
  29. package/dist/skills/temps/references/commands/funnels.md +22 -2
  30. package/dist/skills/temps/references/commands/incidents.md +18 -0
  31. package/dist/skills/temps/references/commands/ip-access.md +96 -1
  32. package/dist/skills/temps/references/commands/kv.md +184 -0
  33. package/dist/skills/temps/references/commands/load-balancer.md +2 -0
  34. package/dist/skills/temps/references/commands/login.md +4 -1
  35. package/dist/skills/temps/references/commands/logs.md +272 -0
  36. package/dist/skills/temps/references/commands/migrate.md +17 -0
  37. package/dist/skills/temps/references/commands/monitors.md +386 -0
  38. package/dist/skills/temps/references/commands/network-policy.md +27 -0
  39. package/dist/skills/temps/references/commands/nodes.md +155 -2
  40. package/dist/skills/temps/references/commands/notifications.md +149 -0
  41. package/dist/skills/temps/references/commands/otel.md +436 -0
  42. package/dist/skills/temps/references/commands/platform.md +53 -0
  43. package/dist/skills/temps/references/commands/plugin.md +76 -0
  44. package/dist/skills/temps/references/commands/preview-gateway.md +91 -0
  45. package/dist/skills/temps/references/commands/project-groups.md +31 -0
  46. package/dist/skills/temps/references/commands/projects.md +452 -6
  47. package/dist/skills/temps/references/commands/providers.md +519 -0
  48. package/dist/skills/temps/references/commands/proxy-logs.md +111 -0
  49. package/dist/skills/temps/references/commands/revenue.md +219 -0
  50. package/dist/skills/temps/references/commands/sandbox.md +699 -9
  51. package/dist/skills/temps/references/commands/secrets.md +3 -0
  52. package/dist/skills/temps/references/commands/server.md +107 -0
  53. package/dist/skills/temps/references/commands/services.md +830 -5
  54. package/dist/skills/temps/references/commands/settings.md +346 -0
  55. package/dist/skills/temps/references/commands/shield.md +354 -0
  56. package/dist/skills/temps/references/commands/status-pages.md +103 -3
  57. package/dist/skills/temps/references/commands/teams.md +14 -0
  58. package/dist/skills/temps/references/commands/templates.md +14 -0
  59. package/dist/skills/temps/references/commands/tokens.md +106 -0
  60. package/dist/skills/temps/references/commands/traces.md +149 -0
  61. package/dist/skills/temps/references/commands/tunnels.md +2 -0
  62. package/dist/skills/temps/references/commands/users.md +111 -0
  63. package/dist/skills/temps/references/commands/vault.md +662 -0
  64. package/dist/skills/temps/references/commands/webhooks.md +4 -0
  65. package/dist/skills/temps/references/commands/workflows.md +347 -0
  66. package/dist/skills/temps/scripts/generate_command_references.py +5 -3
  67. package/dist/skills/temps/scripts/test_generate_command_references.py +3 -1
  68. package/package.json +3 -2
@@ -4,6 +4,23 @@
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
+ - [`monitors list`](#monitors-list-alias-ls)
10
+ - [`monitors create`](#monitors-create-alias-add)
11
+ - [`monitors add-target`](#monitors-add-target)
12
+ - [`monitors update-target`](#monitors-update-target)
13
+ - [`monitors locations`](#monitors-locations)
14
+ - [`monitors show`](#monitors-show)
15
+ - [`monitors remove`](#monitors-remove-alias-rm)
16
+ - [`monitors status`](#monitors-status)
17
+ - [`monitors history`](#monitors-history)
18
+ - [`monitors get-health`](#monitors-get-health)
19
+ - [`monitors update`](#monitors-update)
20
+ - [`monitors get-bucketed-status`](#monitors-get-bucketed-status)
21
+ - [`monitors crons`](#monitors-crons)
22
+ - [`monitors http-checks`](#monitors-http-checks)
23
+
7
24
  ## `monitors` (alias: `monitoring`)
8
25
 
9
26
  Manage uptime monitors for status pages
@@ -19,6 +36,11 @@ Manage uptime monitors for status pages
19
36
  - `remove` (`rm`) - Delete a monitor
20
37
  - `status` - Get current status — all monitors for a project, or a single monitor by ID
21
38
  - `history` - Get monitor uptime history
39
+ - `get-health` - Get monitor-based health summaries for multiple projects in a single query
40
+ - `update` - Update a monitor's name, check interval or check path
41
+ - `get-bucketed-status` - Get bucketed status data for a monitor using TimescaleDB
42
+ - `crons` - Crons commands
43
+ - `http-checks` - Http checks commands
22
44
 
23
45
  ### `monitors list` (alias: `ls`)
24
46
 
@@ -160,3 +182,367 @@ Get monitor uptime history
160
182
  | `--id <id>` | Monitor ID | - | Yes |
161
183
  | `--json` | Output in JSON format | - | No |
162
184
  | `--days <days>` | Number of days to show | `7` | No |
185
+
186
+ ### `monitors get-health`
187
+
188
+ Get monitor-based health summaries for multiple projects in a single query
189
+
190
+ **Options:**
191
+
192
+ | Flag | Description | Default | Required |
193
+ |------|-------------|---------|----------|
194
+ | `--project-ids <value>` | Comma-separated list of project IDs [required] | - | No |
195
+ | `--environment-id <n>` | Select one environment within the authorized projects; defaults to production | - | No |
196
+ | `--json` | Output in JSON format | - | No |
197
+
198
+ ### `monitors update`
199
+
200
+ Update a monitor's name, check interval or check path
201
+
202
+ **Usage:** `monitors update <monitor-id> [options]`
203
+
204
+ **Options:**
205
+
206
+ | Flag | Description | Default | Required |
207
+ |------|-------------|---------|----------|
208
+ | `--check-interval-seconds <n>` | How often to probe, in seconds. **Clamped, not rejected**, exactly like on create: values below 30 are... | - | No |
209
+ | `--check-path <value>` | Path probed on the monitored environment; must start with '/' | - | No |
210
+ | `--name <value>` | Display name; 1 to 255 characters after trimming | - | No |
211
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
212
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
213
+ | `--json` | Output in JSON format | - | No |
214
+
215
+ ### `monitors get-bucketed-status`
216
+
217
+ Get bucketed status data for a monitor using TimescaleDB
218
+
219
+ **Usage:** `monitors get-bucketed-status <monitor-id> [options]`
220
+
221
+ **Options:**
222
+
223
+ | Flag | Description | Default | Required |
224
+ |------|-------------|---------|----------|
225
+ | `--interval <value>` | Bucket interval: '5min', 'hourly', or 'daily' (default: hourly) | - | No |
226
+ | `--start-time <value>` | Start time (ISO 8601) (default: 24 hours ago) | - | No |
227
+ | `--end-time <value>` | End time (ISO 8601) (default: now) | - | No |
228
+ | `--json` | Output in JSON format | - | No |
229
+
230
+ ### `monitors crons`
231
+
232
+ Crons commands
233
+
234
+ **Subcommands:**
235
+
236
+ - `list` - List cron monitors
237
+ - `create` - Create cron monitor
238
+ - `delete` - Delete cron monitor
239
+ - `get` - Get cron monitor
240
+ - `update` - Update cron monitor
241
+ - `list-runs` - List cron monitor runs
242
+
243
+ #### `monitors crons list`
244
+
245
+ List cron monitors
246
+
247
+ **Options:**
248
+
249
+ | Flag | Description | Default | Required |
250
+ |------|-------------|---------|----------|
251
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
252
+ | `--page <n>` | Query parameter page | - | No |
253
+ | `--page-size <n>` | Query parameter page_size | - | No |
254
+ | `--json` | Output in JSON format | - | No |
255
+
256
+ #### `monitors crons create`
257
+
258
+ Create cron monitor
259
+
260
+ **Options:**
261
+
262
+ | Flag | Description | Default | Required |
263
+ |------|-------------|---------|----------|
264
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
265
+ | `--config <json>` | Body field config (JSON) [required] | - | No |
266
+ | `--environment-id <n>` | Body field environment_id | - | No |
267
+ | `--slug <value>` | Body field slug [required] | - | No |
268
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
269
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
270
+ | `--json` | Output in JSON format | - | No |
271
+
272
+ #### `monitors crons delete`
273
+
274
+ Delete cron monitor
275
+
276
+ **Usage:** `monitors crons delete <monitor-id> [options]`
277
+
278
+ **Options:**
279
+
280
+ | Flag | Description | Default | Required |
281
+ |------|-------------|---------|----------|
282
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
283
+ | `-y, --yes` | Do not ask for confirmation | - | No |
284
+ | `--json` | Output in JSON format | - | No |
285
+
286
+ #### `monitors crons get`
287
+
288
+ Get cron monitor
289
+
290
+ **Usage:** `monitors crons get <monitor-id> [options]`
291
+
292
+ **Options:**
293
+
294
+ | Flag | Description | Default | Required |
295
+ |------|-------------|---------|----------|
296
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
297
+ | `--json` | Output in JSON format | - | No |
298
+
299
+ #### `monitors crons update`
300
+
301
+ Update cron monitor
302
+
303
+ **Usage:** `monitors crons update <monitor-id> [options]`
304
+
305
+ **Options:**
306
+
307
+ | Flag | Description | Default | Required |
308
+ |------|-------------|---------|----------|
309
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
310
+ | `--config <json>` | Body field config (JSON) | - | No |
311
+ | `--enabled` | Body field enabled | - | No |
312
+ | `--no-enabled` | Set enabled to false | - | No |
313
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
314
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
315
+ | `--json` | Output in JSON format | - | No |
316
+
317
+ #### `monitors crons list-runs`
318
+
319
+ List cron monitor runs
320
+
321
+ **Usage:** `monitors crons list-runs <monitor-id> [options]`
322
+
323
+ **Options:**
324
+
325
+ | Flag | Description | Default | Required |
326
+ |------|-------------|---------|----------|
327
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
328
+ | `--page <n>` | Query parameter page | - | No |
329
+ | `--page-size <n>` | Query parameter page_size | - | No |
330
+ | `--json` | Output in JSON format | - | No |
331
+
332
+ ### `monitors http-checks`
333
+
334
+ Http checks commands
335
+
336
+ **Subcommands:**
337
+
338
+ - `detect-env-credential` - Detect env credential
339
+ - `list-variable-history` - List variable history
340
+ - `list` - List http checks
341
+ - `create` - Create http check
342
+ - `get-capabilities` - Get http checks capabilities
343
+ - `list-presets` - List http check presets
344
+ - `get` - Show one http check
345
+ - `delete` - Delete http check
346
+ - `set-enabled` - Set http check enabled
347
+ - `update` - Update http check
348
+ - `run` - Run http check
349
+ - `detect-secret-credential` - Detect secret credential
350
+ - `list-secret-history` - List secret history
351
+
352
+ #### `monitors http-checks detect-env-credential`
353
+
354
+ Detect env credential
355
+
356
+ **Usage:** `monitors http-checks detect-env-credential <env-var-id> [options]`
357
+
358
+ **Options:**
359
+
360
+ | Flag | Description | Default | Required |
361
+ |------|-------------|---------|----------|
362
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
363
+ | `--json` | Output in JSON format | - | No |
364
+
365
+ #### `monitors http-checks list-variable-history`
366
+
367
+ List variable history
368
+
369
+ **Usage:** `monitors http-checks list-variable-history <env-var-id> [options]`
370
+
371
+ **Options:**
372
+
373
+ | Flag | Description | Default | Required |
374
+ |------|-------------|---------|----------|
375
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
376
+ | `--page <n>` | Query parameter page | - | No |
377
+ | `--page-size <n>` | Query parameter page_size | - | No |
378
+ | `--json` | Output in JSON format | - | No |
379
+
380
+ #### `monitors http-checks list`
381
+
382
+ List http checks
383
+
384
+ **Options:**
385
+
386
+ | Flag | Description | Default | Required |
387
+ |------|-------------|---------|----------|
388
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
389
+ | `--page <n>` | Query parameter page | - | No |
390
+ | `--page-size <n>` | Query parameter page_size | - | No |
391
+ | `--json` | Output in JSON format | - | No |
392
+
393
+ #### `monitors http-checks create`
394
+
395
+ Create http check
396
+
397
+ **Options:**
398
+
399
+ | Flag | Description | Default | Required |
400
+ |------|-------------|---------|----------|
401
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
402
+ | `--credential-stdin` | Body field credential (read from stdin) | - | No |
403
+ | `--credential-file <path>` | Body field credential (read from a file) | - | No |
404
+ | `--enabled` | Body field enabled | - | No |
405
+ | `--no-enabled` | Set enabled to false | - | No |
406
+ | `--env-var-id <n>` | Body field env_var_id | - | No |
407
+ | `--interval-seconds <n>` | Body field interval_seconds | - | No |
408
+ | `--kind <value>` | 'http' (default) calls an endpoint; 'local' reads expiring items (certificates, SSH certificates, OpenPGP... (one of: http, local) | - | No |
409
+ | `--local <json>` | Body field local (JSON) | - | No |
410
+ | `--name <value>` | Body field name [required] | - | No |
411
+ | `--secret-id <n>` | Project secret to check | - | No |
412
+ | `--spec <json>` | This is a declarative HTTP recipe, never executable code (JSON) | - | No |
413
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
414
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
415
+ | `--json` | Output in JSON format | - | No |
416
+
417
+ #### `monitors http-checks get-capabilities`
418
+
419
+ Get http checks capabilities
420
+
421
+ **Options:**
422
+
423
+ | Flag | Description | Default | Required |
424
+ |------|-------------|---------|----------|
425
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
426
+ | `--json` | Output in JSON format | - | No |
427
+
428
+ #### `monitors http-checks list-presets`
429
+
430
+ List http check presets
431
+
432
+ **Options:**
433
+
434
+ | Flag | Description | Default | Required |
435
+ |------|-------------|---------|----------|
436
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
437
+ | `--json` | Output in JSON format | - | No |
438
+
439
+ #### `monitors http-checks get`
440
+
441
+ Show one http check
442
+
443
+ **Usage:** `monitors http-checks get <check-id> [options]`
444
+
445
+ **Options:**
446
+
447
+ | Flag | Description | Default | Required |
448
+ |------|-------------|---------|----------|
449
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
450
+ | `--json` | Output in JSON format | - | No |
451
+
452
+ #### `monitors http-checks delete`
453
+
454
+ Delete http check
455
+
456
+ **Usage:** `monitors http-checks delete <check-id> [options]`
457
+
458
+ **Options:**
459
+
460
+ | Flag | Description | Default | Required |
461
+ |------|-------------|---------|----------|
462
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
463
+ | `-y, --yes` | Do not ask for confirmation | - | No |
464
+ | `--json` | Output in JSON format | - | No |
465
+
466
+ #### `monitors http-checks set-enabled`
467
+
468
+ Set http check enabled
469
+
470
+ **Usage:** `monitors http-checks set-enabled <check-id> [options]`
471
+
472
+ **Options:**
473
+
474
+ | Flag | Description | Default | Required |
475
+ |------|-------------|---------|----------|
476
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
477
+ | `--enabled` | Body field enabled [required] | - | No |
478
+ | `--no-enabled` | Set enabled to false | - | No |
479
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
480
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
481
+ | `--json` | Output in JSON format | - | No |
482
+
483
+ #### `monitors http-checks update`
484
+
485
+ Update http check
486
+
487
+ **Usage:** `monitors http-checks update <check-id> [options]`
488
+
489
+ **Options:**
490
+
491
+ | Flag | Description | Default | Required |
492
+ |------|-------------|---------|----------|
493
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
494
+ | `--credential-stdin` | Body field credential (read from stdin) | - | No |
495
+ | `--credential-file <path>` | Body field credential (read from a file) | - | No |
496
+ | `--enabled` | Body field enabled | - | No |
497
+ | `--no-enabled` | Set enabled to false | - | No |
498
+ | `--env-var-id <n>` | Body field env_var_id | - | No |
499
+ | `--interval-seconds <n>` | Body field interval_seconds | - | No |
500
+ | `--kind <value>` | 'http' (default) calls an endpoint; 'local' reads expiring items (certificates, SSH certificates, OpenPGP... (one of: http, local) | - | No |
501
+ | `--local <json>` | Body field local (JSON) | - | No |
502
+ | `--name <value>` | Body field name [required] | - | No |
503
+ | `--secret-id <n>` | Project secret to check | - | No |
504
+ | `--spec <json>` | This is a declarative HTTP recipe, never executable code (JSON) | - | No |
505
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
506
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
507
+ | `--json` | Output in JSON format | - | No |
508
+
509
+ #### `monitors http-checks run`
510
+
511
+ Run http check
512
+
513
+ **Usage:** `monitors http-checks run <check-id> [options]`
514
+
515
+ **Options:**
516
+
517
+ | Flag | Description | Default | Required |
518
+ |------|-------------|---------|----------|
519
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
520
+ | `--json` | Output in JSON format | - | No |
521
+
522
+ #### `monitors http-checks detect-secret-credential`
523
+
524
+ Detect secret credential
525
+
526
+ **Usage:** `monitors http-checks detect-secret-credential <secret-id> [options]`
527
+
528
+ **Options:**
529
+
530
+ | Flag | Description | Default | Required |
531
+ |------|-------------|---------|----------|
532
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
533
+ | `--json` | Output in JSON format | - | No |
534
+
535
+ #### `monitors http-checks list-secret-history`
536
+
537
+ List secret history
538
+
539
+ **Usage:** `monitors http-checks list-secret-history <secret-id> [options]`
540
+
541
+ **Options:**
542
+
543
+ | Flag | Description | Default | Required |
544
+ |------|-------------|---------|----------|
545
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
546
+ | `--page <n>` | Query parameter page | - | No |
547
+ | `--page-size <n>` | Query parameter page_size | - | No |
548
+ | `--json` | Output in JSON format | - | No |
@@ -13,6 +13,8 @@ Manage network policy for workloads: rules, egress/ingress profiles and the effe
13
13
  - `rules` - Manage network policy rules
14
14
  - `effective` - Show the policy in force for a workload: profile, rules, inbound links and where it is enforced. <kind> is one of deployment, sandbox, service, function, job; <id> is the environment id for a deployment
15
15
  - `profile` - Manage a workload's egress and ingress profile
16
+ - `list-node-modes` - List node modes
17
+ - `set-node-mode` - Set node mode
16
18
 
17
19
  ### `network-policy rules`
18
20
 
@@ -118,3 +120,28 @@ Set a workload's profile. Each direction is open, restricted, none; a direction
118
120
  | `--egress <profile>` | Outbound profile (open, restricted, none). Omit for the kind's default | - | No |
119
121
  | `--ingress <profile>` | Inbound profile (open, restricted, none). Omit for the kind's default | - | No |
120
122
  | `--json` | Output in JSON format | - | No |
123
+
124
+ ### `network-policy list-node-modes`
125
+
126
+ List node modes
127
+
128
+ **Options:**
129
+
130
+ | Flag | Description | Default | Required |
131
+ |------|-------------|---------|----------|
132
+ | `--json` | Output in JSON format | - | No |
133
+
134
+ ### `network-policy set-node-mode`
135
+
136
+ Set node mode
137
+
138
+ **Usage:** `network-policy set-node-mode <node-id> [options]`
139
+
140
+ **Options:**
141
+
142
+ | Flag | Description | Default | Required |
143
+ |------|-------------|---------|----------|
144
+ | `--mode <value>` | Body field mode [required] | - | No |
145
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
146
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
147
+ | `--json` | Output in JSON format | - | No |
@@ -4,6 +4,23 @@
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
+ - [`nodes capability`](#nodes-capability)
10
+ - [`nodes mesh`](#nodes-mesh)
11
+ - [`nodes pair`](#nodes-pair)
12
+ - [`nodes ssh`](#nodes-ssh)
13
+ - [`nodes resources`](#nodes-resources)
14
+ - [`nodes state-status`](#nodes-state-status)
15
+ - [`nodes show`](#nodes-show)
16
+ - [`nodes containers`](#nodes-containers)
17
+ - [`nodes drain`](#nodes-drain)
18
+ - [`nodes undrain`](#nodes-undrain)
19
+ - [`nodes remove`](#nodes-remove-alias-rm)
20
+ - [`nodes build-limits`](#nodes-build-limits)
21
+ - [`nodes public-ingress`](#nodes-public-ingress)
22
+ - [`nodes workload-mode`](#nodes-workload-mode)
23
+
7
24
  ## `nodes`
8
25
 
9
26
  Worker nodes and workload placement
@@ -16,6 +33,14 @@ Worker nodes and workload placement
16
33
  - `ssh` - Add servers over SSH: the control plane logs in, installs temps if needed, pairs the server and starts its agent. Lists recent ones and their progress
17
34
  - `resources` - What the scheduler keeps for the OS and Temps on a node, and whether a placement that does not fit the remaining capacity is refused
18
35
  - `state-status` - Show the workload plane's desired-state stream: whether it runs here, its lag and counters
36
+ - `show` - Show one node: status, addresses, labels and capacity
37
+ - `containers` - List the containers running on a node
38
+ - `drain` - Stop scheduling on a node and move its replicas elsewhere (redeploys the affected environments)
39
+ - `undrain` - Let a drained node accept new deployments again
40
+ - `remove` (`rm`) - Remove a drained node from the cluster and from every placement that targets it
41
+ - `build-limits` - Show a worker node's build limits, or change them with flags
42
+ - `public-ingress` - Show or change whether a node serves public HTTP(S) traffic itself, and on which ports and addresses
43
+ - `workload-mode` - Show an environment's workload mode, or set it (legacy, shadow, enforce); operator-only
19
44
 
20
45
  ### `nodes capability`
21
46
 
@@ -39,13 +64,14 @@ WireGuard mesh: lets nodes that only share the internet with the control plane j
39
64
 
40
65
  **Subcommands:**
41
66
 
42
- - `enable` - Turn the WireGuard mesh on. The control plane and every agent move onto it within a minute; it cannot be turned off again
67
+ - `enable` - Turn the WireGuard mesh on. The control plane and every agent move onto it within a minute; it can be turned off again only while no node is on it
68
+ - `disable` - Turn the WireGuard mesh off. Refused, with the reason, while a node is on it, a pairing is in progress or the cluster network runs over it. The control plane stops tending its end; the interface itself goes away when `temps serve` restarts
43
69
  - `hub` - Mesh hub: a member that relays between members that cannot reach each other (two nodes behind NAT). Shows the hub and every pair it carries
44
70
  - `doctor` - Check the mesh from the control plane: its end, every node link and every pairing in progress, each failure with what fixes it. Exits 1 when a check fails. For a node's own end, run `temps doctor mesh` on it
45
71
 
46
72
  #### `nodes mesh enable`
47
73
 
48
- Turn the WireGuard mesh on. The control plane and every agent move onto it within a minute; it cannot be turned off again
74
+ Turn the WireGuard mesh on. The control plane and every agent move onto it within a minute; it can be turned off again only while no node is on it
49
75
 
50
76
  **Options:**
51
77
 
@@ -57,6 +83,17 @@ Turn the WireGuard mesh on. The control plane and every agent move onto it withi
57
83
  | `-y, --yes` | Skip the confirmation prompt (for automation) | - | No |
58
84
  | `--json` | Output in JSON format | - | No |
59
85
 
86
+ #### `nodes mesh disable`
87
+
88
+ Turn the WireGuard mesh off. Refused, with the reason, while a node is on it, a pairing is in progress or the cluster network runs over it. The control plane stops tending its end; the interface itself goes away when `temps serve` restarts
89
+
90
+ **Options:**
91
+
92
+ | Flag | Description | Default | Required |
93
+ |------|-------------|---------|----------|
94
+ | `-y, --yes` | Skip the confirmation prompt (for automation) | - | No |
95
+ | `--json` | Output in JSON format | - | No |
96
+
60
97
  #### `nodes mesh hub`
61
98
 
62
99
  Mesh hub: a member that relays between members that cannot reach each other (two nodes behind NAT). Shows the hub and every pair it carries
@@ -154,6 +191,8 @@ Add servers over SSH: the control plane logs in, installs temps if needed, pairs
154
191
 
155
192
  | Flag | Description | Default | Required |
156
193
  |------|-------------|---------|----------|
194
+ | `--page <n>` | Page to show (default 1) | - | No |
195
+ | `--per-page <n>` | Servers per page (default 20, max 100) | - | No |
157
196
  | `--json` | Output in JSON format | - | No |
158
197
 
159
198
  **Subcommands:**
@@ -241,6 +280,7 @@ Change a node's resource policy or reservation. Giving only one of --reserve-cpu
241
280
  | `--policy <policy>` | best_effort (reservations not checked) or enforced (placements that do not fit are refused) | - | No |
242
281
  | `--reserve-cpu <millis>` | CPU kept for the OS and Temps, in millicores (1000 = one core) | - | No |
243
282
  | `--reserve-memory <mb>` | Memory kept for the OS and Temps, in MB | - | No |
283
+ | `--reset-reserved` | Go back to the default reservation for the node's role | - | No |
244
284
  | `--json` | Output in JSON format | - | No |
245
285
 
246
286
  ### `nodes state-status`
@@ -252,3 +292,116 @@ Show the workload plane's desired-state stream: whether it runs here, its lag an
252
292
  | Flag | Description | Default | Required |
253
293
  |------|-------------|---------|----------|
254
294
  | `--json` | Output in JSON format | - | No |
295
+
296
+ ### `nodes show`
297
+
298
+ Show one node: status, addresses, labels and capacity
299
+
300
+ **Usage:** `nodes show <node-id> [options]`
301
+
302
+ **Options:**
303
+
304
+ | Flag | Description | Default | Required |
305
+ |------|-------------|---------|----------|
306
+ | `--json` | Output in JSON format | - | No |
307
+
308
+ ### `nodes containers`
309
+
310
+ List the containers running on a node
311
+
312
+ **Usage:** `nodes containers <node-id> [options]`
313
+
314
+ **Options:**
315
+
316
+ | Flag | Description | Default | Required |
317
+ |------|-------------|---------|----------|
318
+ | `--json` | Output in JSON format | - | No |
319
+
320
+ ### `nodes drain`
321
+
322
+ Stop scheduling on a node and move its replicas elsewhere (redeploys the affected environments)
323
+
324
+ **Usage:** `nodes drain <node-id> [options]`
325
+
326
+ **Options:**
327
+
328
+ | Flag | Description | Default | Required |
329
+ |------|-------------|---------|----------|
330
+ | `--status` | Only show drain progress | - | No |
331
+ | `-y, --yes` | Do not ask for confirmation | - | No |
332
+ | `--json` | Output in JSON format | - | No |
333
+
334
+ ### `nodes undrain`
335
+
336
+ Let a drained node accept new deployments again
337
+
338
+ **Usage:** `nodes undrain <node-id> [options]`
339
+
340
+ **Options:**
341
+
342
+ | Flag | Description | Default | Required |
343
+ |------|-------------|---------|----------|
344
+ | `--json` | Output in JSON format | - | No |
345
+
346
+ ### `nodes remove` (alias: `rm`)
347
+
348
+ Remove a drained node from the cluster and from every placement that targets it
349
+
350
+ **Usage:** `nodes remove <node-id> [options]`
351
+
352
+ **Options:**
353
+
354
+ | Flag | Description | Default | Required |
355
+ |------|-------------|---------|----------|
356
+ | `--force` | Remove even if the node is not drained (its containers are not moved first) | - | No |
357
+ | `-y, --yes` | Do not ask for confirmation | - | No |
358
+ | `--json` | Output in JSON format | - | No |
359
+
360
+ ### `nodes build-limits`
361
+
362
+ Show a worker node's build limits, or change them with flags
363
+
364
+ **Usage:** `nodes build-limits <node-id> [options]`
365
+
366
+ **Options:**
367
+
368
+ | Flag | Description | Default | Required |
369
+ |------|-------------|---------|----------|
370
+ | `--timeout <seconds>` | Longest a build may run | - | No |
371
+ | `--concurrency <n>` | Builds that may run at once | - | No |
372
+ | `--queue-wait <seconds>` | Longest a build may wait for a slot | - | No |
373
+ | `--json` | Output in JSON format | - | No |
374
+
375
+ ### `nodes public-ingress`
376
+
377
+ Show or change whether a node serves public HTTP(S) traffic itself, and on which ports and addresses
378
+
379
+ **Usage:** `nodes public-ingress <node-id> [options]`
380
+
381
+ **Options:**
382
+
383
+ | Flag | Description | Default | Required |
384
+ |------|-------------|---------|----------|
385
+ | `--enable` | Serve public traffic on this node | - | No |
386
+ | `--disable` | Stop serving public traffic on this node | - | No |
387
+ | `--http-port <port>` | HTTP port to listen on | - | No |
388
+ | `--https-port <port>` | HTTPS port to listen on | - | No |
389
+ | `--listen-address <addr>` | Local address to bind ("" for automatic) | - | No |
390
+ | `--public-address <addr>` | Address DNS points at ("" for the listen address) | - | No |
391
+ | `--toggle-only` | Only flip enabled with --enable/--disable, without saving ports or addresses | - | No |
392
+ | `--check` | Check from the control plane that the node answers on its public address | - | No |
393
+ | `-y, --yes` | Do not ask before disabling | - | No |
394
+ | `--json` | Output in JSON format | - | No |
395
+
396
+ ### `nodes workload-mode`
397
+
398
+ Show an environment's workload mode, or set it (legacy, shadow, enforce); operator-only
399
+
400
+ **Usage:** `nodes workload-mode <environment-id> [mode] [options]`
401
+
402
+ **Options:**
403
+
404
+ | Flag | Description | Default | Required |
405
+ |------|-------------|---------|----------|
406
+ | `-y, --yes` | Do not ask before changing it | - | No |
407
+ | `--json` | Output in JSON format | - | No |