@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.
- package/dist/index.js +104770 -87351
- package/dist/skills/temps/SKILL.md +6 -3
- package/dist/skills/temps/evals/evals.json +38 -0
- package/dist/skills/temps/howtos/agent-handoff.md +106 -0
- package/dist/skills/temps/howtos/install-temps.md +151 -0
- package/dist/skills/temps/references/commands/INDEX.md +7 -0
- package/dist/skills/temps/references/commands/agents.md +731 -0
- package/dist/skills/temps/references/commands/ai.md +2636 -11
- package/dist/skills/temps/references/commands/alarms.md +125 -0
- package/dist/skills/temps/references/commands/analytics.md +1001 -3
- package/dist/skills/temps/references/commands/apikeys.md +48 -1
- package/dist/skills/temps/references/commands/audit.md +1 -0
- package/dist/skills/temps/references/commands/backups.md +306 -0
- package/dist/skills/temps/references/commands/blob.md +169 -0
- package/dist/skills/temps/references/commands/cloud.md +59 -0
- package/dist/skills/temps/references/commands/cluster.md +223 -0
- package/dist/skills/temps/references/commands/containers.md +45 -0
- package/dist/skills/temps/references/commands/custom-domains.md +32 -0
- package/dist/skills/temps/references/commands/data.md +1 -0
- package/dist/skills/temps/references/commands/deploy-image.md +3 -1
- package/dist/skills/temps/references/commands/deploy-local-image.md +3 -0
- package/dist/skills/temps/references/commands/deployments.md +559 -0
- package/dist/skills/temps/references/commands/dns-provider.md +63 -0
- package/dist/skills/temps/references/commands/domains.md +104 -0
- package/dist/skills/temps/references/commands/email-domains.md +1 -0
- package/dist/skills/temps/references/commands/email-providers.md +59 -1
- package/dist/skills/temps/references/commands/emails.md +91 -0
- package/dist/skills/temps/references/commands/environments.md +483 -2
- package/dist/skills/temps/references/commands/errors.md +563 -3
- package/dist/skills/temps/references/commands/flags.md +76 -0
- package/dist/skills/temps/references/commands/funnels.md +22 -2
- package/dist/skills/temps/references/commands/incidents.md +18 -0
- package/dist/skills/temps/references/commands/ingress.md +26 -0
- package/dist/skills/temps/references/commands/ip-access.md +96 -1
- package/dist/skills/temps/references/commands/kv.md +184 -0
- package/dist/skills/temps/references/commands/load-balancer.md +2 -0
- package/dist/skills/temps/references/commands/login.md +4 -1
- package/dist/skills/temps/references/commands/logs.md +272 -0
- package/dist/skills/temps/references/commands/mcp.md +14 -1
- package/dist/skills/temps/references/commands/migrate.md +17 -0
- package/dist/skills/temps/references/commands/monitors.md +386 -0
- package/dist/skills/temps/references/commands/network-policy.md +27 -0
- package/dist/skills/temps/references/commands/nodes.md +155 -2
- package/dist/skills/temps/references/commands/notifications.md +149 -0
- package/dist/skills/temps/references/commands/otel.md +438 -0
- package/dist/skills/temps/references/commands/platform.md +64 -0
- package/dist/skills/temps/references/commands/plugin.md +76 -0
- package/dist/skills/temps/references/commands/preview-gateway.md +91 -0
- package/dist/skills/temps/references/commands/project-groups.md +31 -0
- package/dist/skills/temps/references/commands/projects.md +453 -6
- package/dist/skills/temps/references/commands/providers.md +519 -0
- package/dist/skills/temps/references/commands/proxy-logs.md +111 -0
- package/dist/skills/temps/references/commands/revenue.md +219 -0
- package/dist/skills/temps/references/commands/sandbox.md +732 -9
- package/dist/skills/temps/references/commands/secrets.md +3 -0
- package/dist/skills/temps/references/commands/server.md +107 -0
- package/dist/skills/temps/references/commands/services.md +831 -5
- package/dist/skills/temps/references/commands/settings.md +384 -0
- package/dist/skills/temps/references/commands/shield.md +354 -0
- package/dist/skills/temps/references/commands/start.md +1 -0
- package/dist/skills/temps/references/commands/status-pages.md +103 -3
- package/dist/skills/temps/references/commands/teams.md +14 -0
- package/dist/skills/temps/references/commands/templates.md +14 -0
- package/dist/skills/temps/references/commands/tokens.md +106 -0
- package/dist/skills/temps/references/commands/traces.md +149 -0
- package/dist/skills/temps/references/commands/tunnels.md +2 -0
- package/dist/skills/temps/references/commands/users.md +111 -0
- package/dist/skills/temps/references/commands/vault.md +662 -0
- package/dist/skills/temps/references/commands/webhooks.md +4 -0
- package/dist/skills/temps/references/commands/workflows.md +347 -0
- package/dist/skills/temps/scripts/generate_command_references.py +5 -3
- package/dist/skills/temps/scripts/test_generate_command_references.py +3 -1
- package/package.json +3 -2
|
@@ -4,6 +4,30 @@
|
|
|
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
|
+
- [`logs search`](#logs-search)
|
|
10
|
+
- [`logs facets`](#logs-facets)
|
|
11
|
+
- [`logs attributes`](#logs-attributes)
|
|
12
|
+
- [`logs histogram`](#logs-histogram)
|
|
13
|
+
- [`logs aggregate`](#logs-aggregate)
|
|
14
|
+
- [`logs capabilities`](#logs-capabilities)
|
|
15
|
+
- [`logs saved`](#logs-saved)
|
|
16
|
+
- [`logs keys`](#logs-keys)
|
|
17
|
+
- [`logs get-context`](#logs-get-context)
|
|
18
|
+
- [`logs global-aggregate`](#logs-global-aggregate)
|
|
19
|
+
- [`logs global-attribute-keys`](#logs-global-attribute-keys)
|
|
20
|
+
- [`logs global-capabilities`](#logs-global-capabilities)
|
|
21
|
+
- [`logs global-facets-attrs`](#logs-global-facets-attrs)
|
|
22
|
+
- [`logs global-histogram`](#logs-global-histogram)
|
|
23
|
+
- [`logs ingest`](#logs-ingest)
|
|
24
|
+
- [`logs ingest-budget`](#logs-ingest-budget)
|
|
25
|
+
- [`logs tail`](#logs-tail)
|
|
26
|
+
- [`logs purge`](#logs-purge)
|
|
27
|
+
- [`logs project-search`](#logs-project-search)
|
|
28
|
+
- [`logs get-saved-search`](#logs-get-saved-search)
|
|
29
|
+
- [`logs update-saved-search`](#logs-update-saved-search)
|
|
30
|
+
|
|
7
31
|
## `logs` (alias: `glogs`)
|
|
8
32
|
|
|
9
33
|
Search collected logs across every project and database you can access
|
|
@@ -18,6 +42,19 @@ Search collected logs across every project and database you can access
|
|
|
18
42
|
- `capabilities` - Whether container logs are being collected, and whether attribute facets, histograms and aggregates are available
|
|
19
43
|
- `saved` - Saved log searches: named filters you can reopen, chart on a dashboard and alert on
|
|
20
44
|
- `keys` - Ingest keys for POST /api/logs/ingest (newline-delimited JSON from Vector, Fluent Bit or any HTTP client)
|
|
45
|
+
- `get-context` - Get context lines surrounding a specific log line
|
|
46
|
+
- `global-aggregate` - Global log aggregate
|
|
47
|
+
- `global-attribute-keys` - Global log attribute keys
|
|
48
|
+
- `global-capabilities` - Global log capabilities
|
|
49
|
+
- `global-facets-attrs` - Global log facets attrs
|
|
50
|
+
- `global-histogram` - Global log histogram
|
|
51
|
+
- `ingest` - Ingest newline-delimited JSON log lines with a log ingest key
|
|
52
|
+
- `ingest-budget` - The ingestion budget and the containers dropping lines over it, for the warnings on the log views
|
|
53
|
+
- `tail` - Live tail logs via Server-Sent Events
|
|
54
|
+
- `purge` - Purge all logs for a project before a given timestamp
|
|
55
|
+
- `project-search` - Search one project's (or one database's) log lines, newest first, with a cursor for the next page
|
|
56
|
+
- `get-saved-search` - Read one saved log search
|
|
57
|
+
- `update-saved-search` - Change a saved log search
|
|
21
58
|
|
|
22
59
|
### `logs search`
|
|
23
60
|
|
|
@@ -288,3 +325,238 @@ Revoke an ingest key; collectors using it are refused
|
|
|
288
325
|
| Flag | Description | Default | Required |
|
|
289
326
|
|------|-------------|---------|----------|
|
|
290
327
|
| `--project <slug\|id>` | Project (defaults to the linked project) | - | No |
|
|
328
|
+
|
|
329
|
+
### `logs get-context`
|
|
330
|
+
|
|
331
|
+
Get context lines surrounding a specific log line
|
|
332
|
+
|
|
333
|
+
**Options:**
|
|
334
|
+
|
|
335
|
+
| Flag | Description | Default | Required |
|
|
336
|
+
|------|-------------|---------|----------|
|
|
337
|
+
| `--timestamp <value>` | Target line timestamp (RFC 3339) [required] | - | No |
|
|
338
|
+
| `--container-id <value>` | Target line container ID [required] | - | No |
|
|
339
|
+
| `--line-id <value>` | Target line_id, as a decimal string [required] | - | No |
|
|
340
|
+
| `--lines <n>` | Context lines before and after (default: 25, max 50) | - | No |
|
|
341
|
+
| `--json` | Output in JSON format | - | No |
|
|
342
|
+
|
|
343
|
+
### `logs global-aggregate`
|
|
344
|
+
|
|
345
|
+
Global log aggregate
|
|
346
|
+
|
|
347
|
+
**Options:**
|
|
348
|
+
|
|
349
|
+
| Flag | Description | Default | Required |
|
|
350
|
+
|------|-------------|---------|----------|
|
|
351
|
+
| `--start-time <value>` | Window start (RFC 3339) [required] | - | No |
|
|
352
|
+
| `--end-time <value>` | Window end (RFC 3339) [required] | - | No |
|
|
353
|
+
| `--source <value>` | Source kind (default: all) (one of: collected, application, service) | - | No |
|
|
354
|
+
| `--projects <value>` | Project selectors (repeatable) (repeatable) | - | No |
|
|
355
|
+
| `--external-services <value>` | External service selectors (repeatable) (repeatable) | - | No |
|
|
356
|
+
| `--scopes <value>` | Scope selectors (repeatable) (repeatable) | - | No |
|
|
357
|
+
| `--levels <value>` | Levels (repeatable) (one of: TRACE, DEBUG, INFO, WARN, ERROR) (repeatable) | - | No |
|
|
358
|
+
| `--envs <value>` | Environments (repeatable) (repeatable) | - | No |
|
|
359
|
+
| `--services <value>` | Services (repeatable) (repeatable) | - | No |
|
|
360
|
+
| `--container-ids <value>` | Container ids (repeatable) (repeatable) | - | No |
|
|
361
|
+
| `--node-ids <n>` | Node ids (repeatable) (repeatable) | - | No |
|
|
362
|
+
| `--deploy-id <n>` | Deployment id | - | No |
|
|
363
|
+
| `--group-by <value>` | Comma-separated label names and/or attr:<name> [required] | - | No |
|
|
364
|
+
| `--metric <value>` | count \| count_distinct:<k> \| avg:<k> \| p50:<k> \| p95:<k> \| p99:<k> \| max:<k> \| sum:<k> [required] | - | No |
|
|
365
|
+
| `--limit <n>` | Max rows returned (default 50, cap 1000) | - | No |
|
|
366
|
+
| `--attr <value>` | Repeatable attribute predicate: <key><op><value> or <key>? (repeatable) [required] | - | No |
|
|
367
|
+
| `--json` | Output in JSON format | - | No |
|
|
368
|
+
|
|
369
|
+
### `logs global-attribute-keys`
|
|
370
|
+
|
|
371
|
+
Global log attribute keys
|
|
372
|
+
|
|
373
|
+
**Options:**
|
|
374
|
+
|
|
375
|
+
| Flag | Description | Default | Required |
|
|
376
|
+
|------|-------------|---------|----------|
|
|
377
|
+
| `--start-time <value>` | Window start (RFC 3339) [required] | - | No |
|
|
378
|
+
| `--end-time <value>` | Window end (RFC 3339) [required] | - | No |
|
|
379
|
+
| `--source <value>` | Source kind (default: all) (one of: collected, application, service) | - | No |
|
|
380
|
+
| `--projects <value>` | Project selectors (repeatable) (repeatable) | - | No |
|
|
381
|
+
| `--external-services <value>` | External service selectors (repeatable) (repeatable) | - | No |
|
|
382
|
+
| `--scopes <value>` | Scope selectors (repeatable) (repeatable) | - | No |
|
|
383
|
+
| `--levels <value>` | Levels (repeatable) (one of: TRACE, DEBUG, INFO, WARN, ERROR) (repeatable) | - | No |
|
|
384
|
+
| `--envs <value>` | Environments (repeatable) (repeatable) | - | No |
|
|
385
|
+
| `--services <value>` | Services (repeatable) (repeatable) | - | No |
|
|
386
|
+
| `--container-ids <value>` | Container ids (repeatable) (repeatable) | - | No |
|
|
387
|
+
| `--node-ids <n>` | Node ids (repeatable) (repeatable) | - | No |
|
|
388
|
+
| `--deploy-id <n>` | Deployment id | - | No |
|
|
389
|
+
| `--limit <n>` | Max keys returned (default/cap 1000) | - | No |
|
|
390
|
+
| `--json` | Output in JSON format | - | No |
|
|
391
|
+
|
|
392
|
+
### `logs global-capabilities`
|
|
393
|
+
|
|
394
|
+
Global log capabilities
|
|
395
|
+
|
|
396
|
+
**Options:**
|
|
397
|
+
|
|
398
|
+
| Flag | Description | Default | Required |
|
|
399
|
+
|------|-------------|---------|----------|
|
|
400
|
+
| `--json` | Output in JSON format | - | No |
|
|
401
|
+
|
|
402
|
+
### `logs global-facets-attrs`
|
|
403
|
+
|
|
404
|
+
Global log facets attrs
|
|
405
|
+
|
|
406
|
+
**Options:**
|
|
407
|
+
|
|
408
|
+
| Flag | Description | Default | Required |
|
|
409
|
+
|------|-------------|---------|----------|
|
|
410
|
+
| `--start-time <value>` | Window start (RFC 3339) [required] | - | No |
|
|
411
|
+
| `--end-time <value>` | Window end (RFC 3339) [required] | - | No |
|
|
412
|
+
| `--source <value>` | Source kind (default: all) (one of: collected, application, service) | - | No |
|
|
413
|
+
| `--projects <value>` | Project selectors (repeatable) (repeatable) | - | No |
|
|
414
|
+
| `--external-services <value>` | External service selectors (repeatable) (repeatable) | - | No |
|
|
415
|
+
| `--scopes <value>` | Scope selectors (repeatable) (repeatable) | - | No |
|
|
416
|
+
| `--levels <value>` | Levels (repeatable) (one of: TRACE, DEBUG, INFO, WARN, ERROR) (repeatable) | - | No |
|
|
417
|
+
| `--envs <value>` | Environments (repeatable) (repeatable) | - | No |
|
|
418
|
+
| `--services <value>` | Services (repeatable) (repeatable) | - | No |
|
|
419
|
+
| `--container-ids <value>` | Container ids (repeatable) (repeatable) | - | No |
|
|
420
|
+
| `--node-ids <n>` | Node ids (repeatable) (repeatable) | - | No |
|
|
421
|
+
| `--deploy-id <n>` | Deployment id | - | No |
|
|
422
|
+
| `--keys <value>` | Comma-separated label names or attr:<name> [required] | - | No |
|
|
423
|
+
| `--attr <value>` | Repeatable attribute predicate: <key><op><value> or <key>? (repeatable) [required] | - | No |
|
|
424
|
+
| `--limit <n>` | Max values per key (default/cap 1000) | - | No |
|
|
425
|
+
| `--json` | Output in JSON format | - | No |
|
|
426
|
+
|
|
427
|
+
### `logs global-histogram`
|
|
428
|
+
|
|
429
|
+
Global log histogram
|
|
430
|
+
|
|
431
|
+
**Options:**
|
|
432
|
+
|
|
433
|
+
| Flag | Description | Default | Required |
|
|
434
|
+
|------|-------------|---------|----------|
|
|
435
|
+
| `--start-time <value>` | Window start (RFC 3339) [required] | - | No |
|
|
436
|
+
| `--end-time <value>` | Window end (RFC 3339) [required] | - | No |
|
|
437
|
+
| `--source <value>` | Source kind (default: all) (one of: collected, application, service) | - | No |
|
|
438
|
+
| `--projects <value>` | Project selectors (repeatable) (repeatable) | - | No |
|
|
439
|
+
| `--external-services <value>` | External service selectors (repeatable) (repeatable) | - | No |
|
|
440
|
+
| `--scopes <value>` | Scope selectors (repeatable) (repeatable) | - | No |
|
|
441
|
+
| `--levels <value>` | Levels (repeatable) (one of: TRACE, DEBUG, INFO, WARN, ERROR) (repeatable) | - | No |
|
|
442
|
+
| `--envs <value>` | Environments (repeatable) (repeatable) | - | No |
|
|
443
|
+
| `--services <value>` | Services (repeatable) (repeatable) | - | No |
|
|
444
|
+
| `--container-ids <value>` | Container ids (repeatable) (repeatable) | - | No |
|
|
445
|
+
| `--node-ids <n>` | Node ids (repeatable) (repeatable) | - | No |
|
|
446
|
+
| `--deploy-id <n>` | Deployment id | - | No |
|
|
447
|
+
| `--bucket-secs <n>` | Bucket width in seconds (default 60) | - | No |
|
|
448
|
+
| `--group-by <value>` | One label name or attr:<name> to split series by | - | No |
|
|
449
|
+
| `--max-groups <n>` | Max series before folding the rest into "other" (default 8) | - | No |
|
|
450
|
+
| `--attr <value>` | Repeatable attribute predicate: <key><op><value> or <key>? (repeatable) [required] | - | No |
|
|
451
|
+
| `--json` | Output in JSON format | - | No |
|
|
452
|
+
|
|
453
|
+
### `logs ingest`
|
|
454
|
+
|
|
455
|
+
Ingest newline-delimited JSON log lines with a log ingest key
|
|
456
|
+
|
|
457
|
+
**Options:**
|
|
458
|
+
|
|
459
|
+
| Flag | Description | Default | Required |
|
|
460
|
+
|------|-------------|---------|----------|
|
|
461
|
+
| `--input <path>` | The file to upload (- for stdin) | - | Yes |
|
|
462
|
+
| `--json` | Output in JSON format | - | No |
|
|
463
|
+
|
|
464
|
+
### `logs ingest-budget`
|
|
465
|
+
|
|
466
|
+
The ingestion budget and the containers dropping lines over it, for the warnings on the log views
|
|
467
|
+
|
|
468
|
+
**Options:**
|
|
469
|
+
|
|
470
|
+
| Flag | Description | Default | Required |
|
|
471
|
+
|------|-------------|---------|----------|
|
|
472
|
+
| `--json` | Output in JSON format | - | No |
|
|
473
|
+
|
|
474
|
+
### `logs tail`
|
|
475
|
+
|
|
476
|
+
Live tail logs via Server-Sent Events
|
|
477
|
+
|
|
478
|
+
**Options:**
|
|
479
|
+
|
|
480
|
+
| Flag | Description | Default | Required |
|
|
481
|
+
|------|-------------|---------|----------|
|
|
482
|
+
| `--project-id <value>` | Project ID [required] | - | No |
|
|
483
|
+
| `--service <value>` | Service name [required] | - | No |
|
|
484
|
+
| `--env <value>` | Environment [required] | - | No |
|
|
485
|
+
| `--levels <value>` | Optional level filters (repeatable) [required] | - | No |
|
|
486
|
+
| `--text <value>` | Optional text filter | - | No |
|
|
487
|
+
| `--json` | Output in JSON format | - | No |
|
|
488
|
+
|
|
489
|
+
### `logs purge`
|
|
490
|
+
|
|
491
|
+
Purge all logs for a project before a given timestamp
|
|
492
|
+
|
|
493
|
+
**Options:**
|
|
494
|
+
|
|
495
|
+
| Flag | Description | Default | Required |
|
|
496
|
+
|------|-------------|---------|----------|
|
|
497
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
498
|
+
| `--before <value>` | Delete all logs before this timestamp (ISO 8601) [required] | - | No |
|
|
499
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
500
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
501
|
+
| `-y, --yes` | Do not ask for confirmation | - | No |
|
|
502
|
+
| `--json` | Output in JSON format | - | No |
|
|
503
|
+
|
|
504
|
+
### `logs project-search`
|
|
505
|
+
|
|
506
|
+
Search one project's (or one database's) log lines, newest first, with a cursor for the next page
|
|
507
|
+
|
|
508
|
+
**Options:**
|
|
509
|
+
|
|
510
|
+
| Flag | Description | Default | Required |
|
|
511
|
+
|------|-------------|---------|----------|
|
|
512
|
+
| `--project-id <n>` | Project ID (0 with --external-service-id searches a database's logs) [required] | - | No |
|
|
513
|
+
| `--external-service-id <n>` | Search this external service's (database's) logs instead | - | No |
|
|
514
|
+
| `--start-time <value>` | Window start (RFC 3339; default: 24 hours ago) | - | No |
|
|
515
|
+
| `--end-time <value>` | Window end (RFC 3339; default: now) | - | No |
|
|
516
|
+
| `--text <value>` | Only lines containing this text | - | No |
|
|
517
|
+
| `--levels <value>` | Only these levels (repeatable) (one of: TRACE, DEBUG, INFO, WARN, ERROR) (repeatable) | - | No |
|
|
518
|
+
| `--envs <value>` | Only these environments (repeatable) (repeatable) | - | No |
|
|
519
|
+
| `--services <value>` | Only these services (repeatable) (repeatable) | - | No |
|
|
520
|
+
| `--container-ids <value>` | Only these containers (repeatable) (repeatable) | - | No |
|
|
521
|
+
| `--node-ids <n>` | Only lines from these nodes (repeatable) (repeatable) | - | No |
|
|
522
|
+
| `--deploy-id <n>` | Only lines from this deployment | - | No |
|
|
523
|
+
| `--context-lines <n>` | Lines of context around each match | - | No |
|
|
524
|
+
| `--page-size <n>` | Lines per page | - | No |
|
|
525
|
+
| `--cursor <value>` | Resume from a previous next_cursor | - | No |
|
|
526
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
527
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
528
|
+
| `--json` | Output in JSON format | - | No |
|
|
529
|
+
|
|
530
|
+
### `logs get-saved-search`
|
|
531
|
+
|
|
532
|
+
Read one saved log search
|
|
533
|
+
|
|
534
|
+
**Usage:** `logs get-saved-search <saved-search-id> [options]`
|
|
535
|
+
|
|
536
|
+
**Options:**
|
|
537
|
+
|
|
538
|
+
| Flag | Description | Default | Required |
|
|
539
|
+
|------|-------------|---------|----------|
|
|
540
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
541
|
+
| `--json` | Output in JSON format | - | No |
|
|
542
|
+
|
|
543
|
+
### `logs update-saved-search`
|
|
544
|
+
|
|
545
|
+
Change a saved log search
|
|
546
|
+
|
|
547
|
+
**Usage:** `logs update-saved-search <saved-search-id> [options]`
|
|
548
|
+
|
|
549
|
+
**Options:**
|
|
550
|
+
|
|
551
|
+
| Flag | Description | Default | Required |
|
|
552
|
+
|------|-------------|---------|----------|
|
|
553
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
554
|
+
| `--description <value>` | Absent leaves the description unchanged; an empty string clears it | - | No |
|
|
555
|
+
| `--name <value>` | Absent leaves the name unchanged | - | No |
|
|
556
|
+
| `--pinned` | Body field pinned | - | No |
|
|
557
|
+
| `--no-pinned` | Set pinned to false | - | No |
|
|
558
|
+
| `--query <json>` | The stored filter set of a saved search (JSON) | - | No |
|
|
559
|
+
| `--time-range <value>` | Body field time_range | - | No |
|
|
560
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
561
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
562
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -13,6 +13,7 @@ Configure this Temps instance as an MCP server for AI clients (Claude Code, Clau
|
|
|
13
13
|
- `enable` - Enable the Temps MCP server on this instance (admin, one-time per instance)
|
|
14
14
|
- `disable` - Disable the Temps MCP server on this instance (admin)
|
|
15
15
|
- `add` - Configure an AI client to connect to this Temps instance over MCP. Clients: claude-code, claude-desktop, codex, cursor, vscode, windsurf, zed
|
|
16
|
+
- `bridge` - Run the Temps MCP server on this computer over stdio, adding a tool that deploys local folders. AI apps start this themselves (see mcp add --deploy-folder); the API key comes from TEMPS_API_KEY
|
|
16
17
|
- `remove` - Remove the Temps MCP server from an AI client
|
|
17
18
|
- `status` - Show whether this instance has MCP enabled and which AI clients are configured
|
|
18
19
|
|
|
@@ -50,11 +51,23 @@ Configure an AI client to connect to this Temps instance over MCP. Clients: clau
|
|
|
50
51
|
| `-w, --write` | Enable write tools (deploy, delete, restart, etc). Default: read-only | - | No |
|
|
51
52
|
| `-k, --api-key <key>` | Use this API key instead of creating or prompting for one | - | No |
|
|
52
53
|
| `-u, --url <url>` | Target this Temps instance directly (e.g. copied from the Settings UI), without needing a saved CLI context or changing the active one. Defaults to the current context/login when omitted. | - | No |
|
|
53
|
-
| `-y, --yes` | Skip prompts and confirmation (uses defaults; requires --api-key or an existing login) | - | No |
|
|
54
|
+
| `-y, --yes` | Skip prompts and confirmation (uses defaults; requires --api-key or an existing login; creates a key for the app: read-only, or with --write one that can make changes) | - | No |
|
|
55
|
+
| `-d, --deploy-folder <dir>` | Let the agent deploy project folders from this computer, from inside this folder (repeatable). The app then runs the Temps bridge locally (temps mcp bridge) instead of connecting over HTTP. Implies --write | - | No |
|
|
54
56
|
| `--api-key-file <path>` | Read the API key from a file (- reads stdin) instead of --api-key | - | No |
|
|
55
57
|
| `--api-key-stdin` | Read the API key from stdin instead of --api-key | - | No |
|
|
56
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 |
|
|
57
59
|
|
|
60
|
+
### `mcp bridge`
|
|
61
|
+
|
|
62
|
+
Run the Temps MCP server on this computer over stdio, adding a tool that deploys local folders. AI apps start this themselves (see mcp add --deploy-folder); the API key comes from TEMPS_API_KEY
|
|
63
|
+
|
|
64
|
+
**Options:**
|
|
65
|
+
|
|
66
|
+
| Flag | Description | Default | Required |
|
|
67
|
+
|------|-------------|---------|----------|
|
|
68
|
+
| `-u, --url <url>` | The address of your Temps console (default: TEMPS_URL) | - | No |
|
|
69
|
+
| `-f, --folder <dir>` | A folder the agent may deploy from, with everything inside it (repeatable) | - | No |
|
|
70
|
+
|
|
58
71
|
### `mcp remove`
|
|
59
72
|
|
|
60
73
|
Remove the Temps MCP server from an AI client
|
|
@@ -42,6 +42,11 @@ Discover workloads from a source
|
|
|
42
42
|
| `--kubeconfig <path>` | Path to a kubeconfig file (kubernetes source) | - | No |
|
|
43
43
|
| `--deploy-yml <path>` | Path to config/deploy.yml (kamal source) | - | No |
|
|
44
44
|
| `--json` | Output in JSON format | - | No |
|
|
45
|
+
| `--name-pattern <value>` | Only workloads whose name matches this glob or pattern | - | No |
|
|
46
|
+
| `--status-filter <value>` | Only workloads in this state, e.g. running (repeatable) (repeatable) | - | No |
|
|
47
|
+
| `--workload-type-filter <value>` | Only workloads of this type, e.g. container or static-site (repeatable) (repeatable) | - | No |
|
|
48
|
+
| `--label-filter <json>` | Only workloads with these labels, as a JSON object, e.g. {"env":"prod"} (JSON) | - | No |
|
|
49
|
+
| `--limit <n>` | Return at most this many workloads | - | No |
|
|
45
50
|
| `--token-file <path>` | Read the source API token or admin password from a file (- reads stdin) instead of --token | - | No |
|
|
46
51
|
| `--token-stdin` | Read the source API token or admin password from stdin instead of --token | - | No |
|
|
47
52
|
| `--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 |
|
|
@@ -61,6 +66,12 @@ Discover a source, pick a workload, and show the import plan
|
|
|
61
66
|
| `--username <name>` | Admin username (portainer source, defaults to "admin") | - | No |
|
|
62
67
|
| `--kubeconfig <path>` | Path to a kubeconfig file (kubernetes source) | - | No |
|
|
63
68
|
| `--deploy-yml <path>` | Path to config/deploy.yml (kamal source) | - | No |
|
|
69
|
+
| `--name-pattern <value>` | Only workloads whose name matches this glob or pattern | - | No |
|
|
70
|
+
| `--status-filter <value>` | Only workloads in this state, e.g. running (repeatable) (repeatable) | - | No |
|
|
71
|
+
| `--workload-type-filter <value>` | Only workloads of this type, e.g. container or static-site (repeatable) (repeatable) | - | No |
|
|
72
|
+
| `--label-filter <json>` | Only workloads with these labels, as a JSON object, e.g. {"env":"prod"} (JSON) | - | No |
|
|
73
|
+
| `--limit <n>` | Return at most this many workloads | - | No |
|
|
74
|
+
| `--repository-id <n>` | Connected repository to detect the build preset from | - | No |
|
|
64
75
|
| `--token-file <path>` | Read the source API token or admin password from a file (- reads stdin) instead of --token | - | No |
|
|
65
76
|
| `--token-stdin` | Read the source API token or admin password from stdin instead of --token | - | No |
|
|
66
77
|
| `--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 |
|
|
@@ -86,6 +97,12 @@ Guided end-to-end migration: discover, plan, review, and execute
|
|
|
86
97
|
| `--branch <branch>` | Branch to deploy | `main` | No |
|
|
87
98
|
| `--dry-run` | Plan only — do not create or deploy anything | - | No |
|
|
88
99
|
| `-y, --yes` | Skip the confirmation prompt (for automation) | - | No |
|
|
100
|
+
| `--name-pattern <value>` | Only workloads whose name matches this glob or pattern | - | No |
|
|
101
|
+
| `--status-filter <value>` | Only workloads in this state, e.g. running (repeatable) (repeatable) | - | No |
|
|
102
|
+
| `--workload-type-filter <value>` | Only workloads of this type, e.g. container or static-site (repeatable) (repeatable) | - | No |
|
|
103
|
+
| `--label-filter <json>` | Only workloads with these labels, as a JSON object, e.g. {"env":"prod"} (JSON) | - | No |
|
|
104
|
+
| `--limit <n>` | Return at most this many workloads | - | No |
|
|
105
|
+
| `--repository-id <n>` | Connected repository to detect the build preset from | - | No |
|
|
89
106
|
| `--token-file <path>` | Read the source API token or admin password from a file (- reads stdin) instead of --token | - | No |
|
|
90
107
|
| `--token-stdin` | Read the source API token or admin password from stdin instead of --token | - | No |
|
|
91
108
|
| `--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 |
|