@temps-sdk/cli 0.1.38 → 0.2.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/dist/index.js +10116 -996
- package/dist/skills/temps/SKILL.md +17 -9
- package/dist/skills/temps/evals/evals.json +23 -6
- package/dist/skills/temps/howtos/ci-automation.md +2 -3
- package/dist/skills/temps/howtos/curated-services.md +69 -0
- package/dist/skills/temps/howtos/deploy-application.md +8 -1
- package/dist/skills/temps/howtos/edge-rules.md +135 -0
- package/dist/skills/temps/howtos/managed-services.md +4 -4
- package/dist/skills/temps/howtos/projects-and-monorepos.md +2 -1
- package/dist/skills/temps/references/cli-runtime.md +10 -18
- package/dist/skills/temps/references/commands/INDEX.md +5 -0
- package/dist/skills/temps/references/commands/access.md +4 -0
- package/dist/skills/temps/references/commands/ai.md +4 -0
- package/dist/skills/temps/references/commands/alarms.md +4 -0
- package/dist/skills/temps/references/commands/analytics.md +199 -0
- package/dist/skills/temps/references/commands/apikeys.md +2 -0
- package/dist/skills/temps/references/commands/backups.md +6 -0
- package/dist/skills/temps/references/commands/cloud.md +14 -0
- package/dist/skills/temps/references/commands/configure.md +7 -0
- package/dist/skills/temps/references/commands/context.md +6 -0
- package/dist/skills/temps/references/commands/data.md +10 -13
- package/dist/skills/temps/references/commands/deploy.md +2 -0
- package/dist/skills/temps/references/commands/deployments.md +1 -0
- package/dist/skills/temps/references/commands/domains.md +1 -0
- package/dist/skills/temps/references/commands/drop.md +2 -0
- package/dist/skills/temps/references/commands/edge-rules.md +218 -0
- package/dist/skills/temps/references/commands/email-providers.md +5 -0
- package/dist/skills/temps/references/commands/env-pull.md +2 -0
- package/dist/skills/temps/references/commands/env-push.md +2 -0
- package/dist/skills/temps/references/commands/environments.md +250 -2
- package/dist/skills/temps/references/commands/errors.md +514 -1
- package/dist/skills/temps/references/commands/facets.md +6 -0
- package/dist/skills/temps/references/commands/flags.md +103 -0
- package/dist/skills/temps/references/commands/incidents.md +4 -0
- package/dist/skills/temps/references/commands/init.md +2 -0
- package/dist/skills/temps/references/commands/instances.md +6 -0
- package/dist/skills/temps/references/commands/instantiations.md +4 -0
- package/dist/skills/temps/references/commands/link.md +2 -0
- package/dist/skills/temps/references/commands/login.md +5 -0
- package/dist/skills/temps/references/commands/logs.md +133 -10
- package/dist/skills/temps/references/commands/mcp-servers.md +4 -0
- package/dist/skills/temps/references/commands/mcp.md +8 -1
- package/dist/skills/temps/references/commands/migrate.md +9 -0
- package/dist/skills/temps/references/commands/monitors.md +70 -0
- package/dist/skills/temps/references/commands/network-policy.md +120 -0
- package/dist/skills/temps/references/commands/nodes.md +54 -0
- package/dist/skills/temps/references/commands/notifications.md +24 -2
- package/dist/skills/temps/references/commands/open.md +2 -0
- package/dist/skills/temps/references/commands/otel-forward.md +16 -0
- package/dist/skills/temps/references/commands/platform.md +4 -0
- package/dist/skills/temps/references/commands/plugin.md +30 -1
- package/dist/skills/temps/references/commands/presets.md +2 -0
- package/dist/skills/temps/references/commands/project-groups.md +41 -4
- package/dist/skills/temps/references/commands/projects.md +63 -4
- package/dist/skills/temps/references/commands/providers.md +14 -1
- package/dist/skills/temps/references/commands/revenue.md +4 -0
- package/dist/skills/temps/references/commands/rollback.md +2 -0
- package/dist/skills/temps/references/commands/sandbox.md +91 -1
- package/dist/skills/temps/references/commands/secrets.md +16 -6
- package/dist/skills/temps/references/commands/services.md +6 -0
- package/dist/skills/temps/references/commands/session-replay.md +8 -0
- package/dist/skills/temps/references/commands/skills.md +6 -0
- package/dist/skills/temps/references/commands/start.md +1 -0
- package/dist/skills/temps/references/commands/status-pages.md +276 -9
- package/dist/skills/temps/references/commands/status.md +2 -0
- package/dist/skills/temps/references/commands/surveys.md +165 -0
- package/dist/skills/temps/references/commands/teams.md +14 -0
- package/dist/skills/temps/references/commands/templates.md +8 -2
- package/dist/skills/temps/references/commands/traces.md +58 -0
- package/dist/skills/temps/references/commands/traefik-discovery.md +10 -0
- package/dist/skills/temps/references/commands/tunnels.md +139 -0
- package/dist/skills/temps/references/commands/up.md +2 -0
- package/dist/skills/temps/references/commands/users.md +16 -0
- package/dist/skills/temps/references/commands/webhooks.md +6 -0
- package/dist/skills/temps/references/commands/workflow.md +2 -0
- package/dist/skills/temps/references/commands/workflows.md +216 -0
- package/dist/skills/temps/references/observability/analytics.md +2 -2
- package/dist/skills/temps/references/workflows/platform-operations.md +46 -36
- package/dist/skills/temps/scripts/test_validate_skill.py +25 -66
- package/dist/skills/temps/scripts/validate_skill.py +29 -43
- package/package.json +7 -2
- package/dist/skills/temps/scripts/__pycache__/generate_command_references.cpython-314.pyc +0 -0
- package/dist/skills/temps/scripts/__pycache__/test_generate_command_references.cpython-314.pyc +0 -0
- package/dist/skills/temps/scripts/__pycache__/test_validate_skill.cpython-314.pyc +0 -0
- package/dist/skills/temps/scripts/__pycache__/validate_skill.cpython-314.pyc +0 -0
|
@@ -4,6 +4,24 @@
|
|
|
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
|
+
- [`projects secrets`](#projects-secrets)
|
|
10
|
+
- [`projects list`](#projects-list)
|
|
11
|
+
- [`projects create`](#projects-create)
|
|
12
|
+
- [`projects cloudflare-capability`](#projects-cloudflare-capability)
|
|
13
|
+
- [`projects show`](#projects-show)
|
|
14
|
+
- [`projects group`](#projects-group)
|
|
15
|
+
- [`projects update`](#projects-update)
|
|
16
|
+
- [`projects settings`](#projects-settings)
|
|
17
|
+
- [`projects git`](#projects-git)
|
|
18
|
+
- [`projects source`](#projects-source)
|
|
19
|
+
- [`projects hosting`](#projects-hosting)
|
|
20
|
+
- [`projects container-security`](#projects-container-security)
|
|
21
|
+
- [`projects identical-builds`](#projects-identical-builds)
|
|
22
|
+
- [`projects config`](#projects-config)
|
|
23
|
+
- [`projects delete`](#projects-delete)
|
|
24
|
+
|
|
7
25
|
## `projects` (alias: `project`, `p`)
|
|
8
26
|
|
|
9
27
|
Manage services: each one deployable app (the console calls these Services). To group services that ship together into a Project, as the console calls it, use `project-groups`.
|
|
@@ -21,6 +39,8 @@ Manage services: each one deployable app (the console calls these Services). To
|
|
|
21
39
|
- `git` - Update git repository settings
|
|
22
40
|
- `source` - Show or change how a service is deployed (primary source, and whether it also accepts `drop` uploads)
|
|
23
41
|
- `hosting` - Show or set whether Temps runs the app (hosted) or it runs elsewhere (external, labelled External and never deployed)
|
|
42
|
+
- `container-security` - Show or change which Linux capabilities the project's deployment containers get back (only NET_BIND_SERVICE can be allowed; Compose services and microVMs are not affected)
|
|
43
|
+
- `identical-builds` - Show or change what the project's builds do when an identical build (same repository, commit, build path and build-time values) is already running: build in parallel, queue, or build once and share the image
|
|
24
44
|
- `config` - Update deployment configuration (resources, replicas)
|
|
25
45
|
- `delete` (`rm`) - Delete a service
|
|
26
46
|
|
|
@@ -31,7 +51,7 @@ Manage project secrets — mounted into the deployed container as files at /run/
|
|
|
31
51
|
**Subcommands:**
|
|
32
52
|
|
|
33
53
|
- `list` (`ls`) - List secrets for a project (values are never returned)
|
|
34
|
-
- `create` (`add`) - Create a project secret (mounted at /run/secrets/<KEY> on the next deployment)
|
|
54
|
+
- `create` (`add`) - Create a project secret (mounted at /run/secrets/<KEY> on the next deployment). Read the value with --value-file or --value-stdin to keep it out of shell history
|
|
35
55
|
- `update` - Update a project secret (a redeploy is required for running containers to pick it up)
|
|
36
56
|
- `delete` (`rm`) - Delete a project secret
|
|
37
57
|
|
|
@@ -49,7 +69,7 @@ List secrets for a project (values are never returned)
|
|
|
49
69
|
|
|
50
70
|
#### `projects secrets create` (alias: `add`)
|
|
51
71
|
|
|
52
|
-
Create a project secret (mounted at /run/secrets/<KEY> on the next deployment)
|
|
72
|
+
Create a project secret (mounted at /run/secrets/<KEY> on the next deployment). Read the value with --value-file or --value-stdin to keep it out of shell history
|
|
53
73
|
|
|
54
74
|
**Options:**
|
|
55
75
|
|
|
@@ -57,10 +77,14 @@ Create a project secret (mounted at /run/secrets/<KEY> on the next deployment)
|
|
|
57
77
|
|------|-------------|---------|----------|
|
|
58
78
|
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
59
79
|
| `-k, --key <key>` | Secret key — becomes the filename at /run/secrets/<KEY>. Letters, digits, underscore; must start with a letter or underscore. | - | Yes |
|
|
60
|
-
| `-v, --value <value>` | Secret value (<=1 MiB
|
|
80
|
+
| `-v, --value <value>` | Secret value on the command line (<=1 MiB; visible in shell history and `ps`). `-v @path` reading a file is deprecated: use --value-file | - | No |
|
|
61
81
|
| `-e, --environment <name>` | Scope to one environment (repeatable; default: all) | `` | No |
|
|
62
82
|
| `-s, --service <name>` | Docker Compose service allowed to read this secret (repeatable; default: every service). Ignored for non-Compose projects, which deploy a single container. | `` | No |
|
|
63
83
|
| `--include-in-preview` | Also mount this secret in preview environments | - | No |
|
|
84
|
+
| `--value-file <path>` | Read the secret value (<=1 MiB) from a file, byte-for-byte (- reads stdin). Keeps it out of shell history | - | No |
|
|
85
|
+
| `--value-stdin` | Read the secret value (<=1 MiB) from stdin, e.g. piped from a secret manager | - | No |
|
|
86
|
+
| `--literal` | Send a -v value that starts with @ as is, instead of reading it as a file path (deprecated form) | - | No |
|
|
87
|
+
| `--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 |
|
|
64
88
|
|
|
65
89
|
#### `projects secrets update`
|
|
66
90
|
|
|
@@ -72,17 +96,23 @@ Update a project secret (a redeploy is required for running containers to pick i
|
|
|
72
96
|
|------|-------------|---------|----------|
|
|
73
97
|
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
74
98
|
| `-k, --key <key>` | Key of the secret to update | - | Yes |
|
|
75
|
-
| `-v, --value <value>` | New value (<=1 MiB).
|
|
99
|
+
| `-v, --value <value>` | New value on the command line (<=1 MiB; visible in shell history). `-v @path` is deprecated: use --value-file. Give no value source to keep the existing value. | - | No |
|
|
76
100
|
| `-e, --environment <name>` | Replace environment scoping (repeatable) | `` | No |
|
|
77
101
|
| `-s, --service <name>` | Replace the Docker Compose service scope (repeatable). Pass none to keep the current scope; use --all-services to widen it back to every service. | `` | No |
|
|
78
102
|
| `--all-services` | Deliver to every Compose service, clearing any per-service scope | - | No |
|
|
79
103
|
| `--include-in-preview` | Include in preview environments | - | No |
|
|
80
104
|
| `--no-include-in-preview` | Exclude from preview environments | - | No |
|
|
105
|
+
| `--value-file <path>` | Read the new secret value (<=1 MiB) from a file, byte-for-byte (- reads stdin). Keeps it out of shell history | - | No |
|
|
106
|
+
| `--value-stdin` | Read the new secret value (<=1 MiB) from stdin, e.g. piped from a secret manager | - | No |
|
|
107
|
+
| `--literal` | Send a -v value that starts with @ as is, instead of reading it as a file path (deprecated form) | - | No |
|
|
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 |
|
|
81
109
|
|
|
82
110
|
#### `projects secrets delete` (alias: `rm`)
|
|
83
111
|
|
|
84
112
|
Delete a project secret
|
|
85
113
|
|
|
114
|
+
**Usage:** `projects secrets delete <key> [options]`
|
|
115
|
+
|
|
86
116
|
**Options:**
|
|
87
117
|
|
|
88
118
|
| Flag | Description | Default | Required |
|
|
@@ -230,11 +260,40 @@ Show or change how a service is deployed (primary source, and whether it also ac
|
|
|
230
260
|
|
|
231
261
|
Show or set whether Temps runs the app (hosted) or it runs elsewhere (external, labelled External and never deployed)
|
|
232
262
|
|
|
263
|
+
**Usage:** `projects hosting [hosting] [options]`
|
|
264
|
+
|
|
265
|
+
**Options:**
|
|
266
|
+
|
|
267
|
+
| Flag | Description | Default | Required |
|
|
268
|
+
|------|-------------|---------|----------|
|
|
269
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
270
|
+
| `--json` | Output in JSON format | - | No |
|
|
271
|
+
|
|
272
|
+
### `projects container-security`
|
|
273
|
+
|
|
274
|
+
Show or change which Linux capabilities the project's deployment containers get back (only NET_BIND_SERVICE can be allowed; Compose services and microVMs are not affected)
|
|
275
|
+
|
|
276
|
+
**Options:**
|
|
277
|
+
|
|
278
|
+
| Flag | Description | Default | Required |
|
|
279
|
+
|------|-------------|---------|----------|
|
|
280
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
281
|
+
| `--allow <capabilities...>` | Allow these capabilities, e.g. NET_BIND_SERVICE (asks for confirmation) | - | No |
|
|
282
|
+
| `--remove <capabilities...>` | Stop allowing these capabilities | - | No |
|
|
283
|
+
| `--json` | Output in JSON format | - | No |
|
|
284
|
+
| `-y, --yes` | Skip the confirmation (for automation) | - | No |
|
|
285
|
+
|
|
286
|
+
### `projects identical-builds`
|
|
287
|
+
|
|
288
|
+
Show or change what the project's builds do when an identical build (same repository, commit, build path and build-time values) is already running: build in parallel, queue, or build once and share the image
|
|
289
|
+
|
|
233
290
|
**Options:**
|
|
234
291
|
|
|
235
292
|
| Flag | Description | Default | Required |
|
|
236
293
|
|------|-------------|---------|----------|
|
|
237
294
|
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
295
|
+
| `--mode <mode>` | parallel (default), queue or share | - | No |
|
|
296
|
+
| `--scope <scope>` | Which builds wait for each other: source (same repository and path, the default) or fingerprint (only identical builds) | - | No |
|
|
238
297
|
| `--json` | Output in JSON format | - | No |
|
|
239
298
|
|
|
240
299
|
### `projects config`
|
|
@@ -48,6 +48,11 @@ Add a new Git provider
|
|
|
48
48
|
| `--clone-url <url>` | HTTPS clone URL (generic provider) | - | No |
|
|
49
49
|
| `--token-username <username>` | HTTP Basic username for the token (generic; default x-access-token) | - | No |
|
|
50
50
|
| `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
|
|
51
|
+
| `--token-file <path>` | Read the access token from a file (- reads stdin) instead of --token | - | No |
|
|
52
|
+
| `--token-stdin` | Read the access token from stdin instead of --token | - | No |
|
|
53
|
+
| `--password-file <path>` | Read the Bitbucket app password from a file (- reads stdin) instead of --password | - | No |
|
|
54
|
+
| `--password-stdin` | Read the Bitbucket app password from stdin instead of --password | - | No |
|
|
55
|
+
| `--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 |
|
|
51
56
|
|
|
52
57
|
### `providers remove` (alias: `rm`)
|
|
53
58
|
|
|
@@ -141,6 +146,11 @@ Connect a Git provider (github, gitlab, bitbucket, gitea, generic)
|
|
|
141
146
|
| `--clone-url <url>` | HTTPS clone URL (generic provider) | - | No |
|
|
142
147
|
| `--token-username <username>` | HTTP Basic username for the token (generic; default x-access-token) | - | No |
|
|
143
148
|
| `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
|
|
149
|
+
| `--token-file <path>` | Read the access token from a file (- reads stdin) instead of --token | - | No |
|
|
150
|
+
| `--token-stdin` | Read the access token from stdin instead of --token | - | No |
|
|
151
|
+
| `--password-file <path>` | Read the Bitbucket app password from a file (- reads stdin) instead of --password | - | No |
|
|
152
|
+
| `--password-stdin` | Read the Bitbucket app password from stdin instead of --password | - | No |
|
|
153
|
+
| `--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 |
|
|
144
154
|
|
|
145
155
|
#### `providers git repos`
|
|
146
156
|
|
|
@@ -263,7 +273,10 @@ Update access token for a Git connection
|
|
|
263
273
|
| Flag | Description | Default | Required |
|
|
264
274
|
|------|-------------|---------|----------|
|
|
265
275
|
| `--id <id>` | Connection ID | - | Yes |
|
|
266
|
-
| `-t, --token <token>` | New access token | - |
|
|
276
|
+
| `-t, --token <token>` | New access token (prefer --token-file or --token-stdin, which keep it out of shell history) | - | No |
|
|
277
|
+
| `--token-file <path>` | Read the new access token from a file (- reads stdin) instead of --token | - | No |
|
|
278
|
+
| `--token-stdin` | Read the new access token from stdin instead of --token | - | No |
|
|
279
|
+
| `--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 |
|
|
267
280
|
|
|
268
281
|
#### `providers connections validate`
|
|
269
282
|
|
|
@@ -25,6 +25,8 @@ Import historical revenue data from a CSV export
|
|
|
25
25
|
|
|
26
26
|
Import current subscriptions CSV (e.g., Stripe → Subscriptions → Export)
|
|
27
27
|
|
|
28
|
+
**Usage:** `revenue import subscriptions <file> [options]`
|
|
29
|
+
|
|
28
30
|
**Options:**
|
|
29
31
|
|
|
30
32
|
| Flag | Description | Default | Required |
|
|
@@ -38,6 +40,8 @@ Import current subscriptions CSV (e.g., Stripe → Subscriptions → Export)
|
|
|
38
40
|
|
|
39
41
|
Import paid invoices CSV to backfill the revenue chart
|
|
40
42
|
|
|
43
|
+
**Usage:** `revenue import invoices <file> [options]`
|
|
44
|
+
|
|
41
45
|
**Options:**
|
|
42
46
|
|
|
43
47
|
| Flag | Description | Default | Required |
|
|
@@ -21,6 +21,8 @@ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing
|
|
|
21
21
|
- [`sandbox logs`](#sandbox-logs)
|
|
22
22
|
- [`sandbox domain`](#sandbox-domain)
|
|
23
23
|
- [`sandbox password`](#sandbox-password)
|
|
24
|
+
- [`sandbox preview-access`](#sandbox-preview-access)
|
|
25
|
+
- [`sandbox egress`](#sandbox-egress)
|
|
24
26
|
- [`sandbox fs`](#sandbox-fs)
|
|
25
27
|
- [`sandbox snapshots`](#sandbox-snapshots)
|
|
26
28
|
- [`sandbox snapshot`](#sandbox-snapshot)
|
|
@@ -46,6 +48,8 @@ Manage standalone sandboxes (/v1/sandbox API)
|
|
|
46
48
|
- `logs` - Stream logs from a detached job (SSE)
|
|
47
49
|
- `domain` - Resolve the preview URL for a port inside a sandbox
|
|
48
50
|
- `password` - Generate, rotate, or clear the preview-URL password for a sandbox
|
|
51
|
+
- `preview-access` - Show or set who may open the preview URLs: Temps login (default), the preview password, or anyone, optionally from listed networks only
|
|
52
|
+
- `egress` - Show or set where the sandbox may connect to: the internet, nothing, or only listed hosts and CIDRs. Private, loopback and metadata addresses are always refused
|
|
49
53
|
- `fs` - Filesystem operations inside a sandbox
|
|
50
54
|
- `snapshots` - Manage sandbox snapshots (ADR-037)
|
|
51
55
|
- `snapshot` - Take a snapshot of a sandbox
|
|
@@ -78,11 +82,16 @@ Create a new sandbox
|
|
|
78
82
|
| `--new-branch <name>` | Create and switch to a new branch after cloning, based on whatever was checked out | - | No |
|
|
79
83
|
| `--preview-password` | Generate a random preview-URL password and print it once on stdout | - | No |
|
|
80
84
|
| `--preview-password-length <n>` | Length of the generated preview password (8..=256, default 24) | - | No |
|
|
85
|
+
| `--egress-allow <host\|cidr[:ports]>` | Restrict outbound traffic to this destination (repeatable; no ports = 80 and 443). IPv6 with ports: [addr/prefix]:port | - | No |
|
|
86
|
+
| `--egress-deny-all` | Allow no outbound traffic at all | - | No |
|
|
81
87
|
| `--from-snapshot <snap-id>` | Create sandbox from a snapshot (mutually exclusive with --image) | - | No |
|
|
82
|
-
| `--node <name
|
|
88
|
+
| `--node <name\|id>` | Node to run the sandbox on (name, id, or 'control-plane'). Omit to let Temps place it; see `sandbox nodes` | - | No |
|
|
83
89
|
| `--backend <backend>` | Isolation backend: docker, firecracker, microsandbox. Omit for the host default. An unavailable backend fails instead of downgrading | - | No |
|
|
84
90
|
| `--allow-docker` | Allow installing/running Docker inside microsandbox; relaxes guest privilege restrictions. Requires --backend microsandbox | - | No |
|
|
85
91
|
| `--json` | Output as JSON | - | No |
|
|
92
|
+
| `--git-password-file <path>` | Read the Git HTTP password or token from a file (- reads stdin) instead of --git-password | - | No |
|
|
93
|
+
| `--git-password-stdin` | Read the Git HTTP password or token from stdin instead of --git-password | - | No |
|
|
94
|
+
| `--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
95
|
|
|
87
96
|
### `sandbox list` (alias: `ls`)
|
|
88
97
|
|
|
@@ -128,6 +137,8 @@ List nodes with their sandbox placement state (the default)
|
|
|
128
137
|
|
|
129
138
|
Show a node's placement state and every live sandbox on it, from all users (name, id, or 'control-plane'). Admin only
|
|
130
139
|
|
|
140
|
+
**Usage:** `sandbox nodes show <node> [options]`
|
|
141
|
+
|
|
131
142
|
**Options:**
|
|
132
143
|
|
|
133
144
|
| Flag | Description | Default | Required |
|
|
@@ -140,6 +151,8 @@ Show a node's placement state and every live sandbox on it, from all users (name
|
|
|
140
151
|
|
|
141
152
|
Allow exactly these nodes to run new sandboxes, replacing the list (names, ids, or 'control-plane'). Admin only
|
|
142
153
|
|
|
154
|
+
**Usage:** `sandbox nodes set <nodes...> [options]`
|
|
155
|
+
|
|
143
156
|
**Options:**
|
|
144
157
|
|
|
145
158
|
| Flag | Description | Default | Required |
|
|
@@ -150,6 +163,8 @@ Allow exactly these nodes to run new sandboxes, replacing the list (names, ids,
|
|
|
150
163
|
|
|
151
164
|
Add nodes to the list allowed to run new sandboxes. Admin only
|
|
152
165
|
|
|
166
|
+
**Usage:** `sandbox nodes allow <nodes...> [options]`
|
|
167
|
+
|
|
153
168
|
**Options:**
|
|
154
169
|
|
|
155
170
|
| Flag | Description | Default | Required |
|
|
@@ -160,6 +175,8 @@ Add nodes to the list allowed to run new sandboxes. Admin only
|
|
|
160
175
|
|
|
161
176
|
Stop nodes from taking new sandboxes (existing ones keep running). Admin only
|
|
162
177
|
|
|
178
|
+
**Usage:** `sandbox nodes deny <nodes...> [options]`
|
|
179
|
+
|
|
163
180
|
**Options:**
|
|
164
181
|
|
|
165
182
|
| Flag | Description | Default | Required |
|
|
@@ -190,6 +207,8 @@ Stop every node from taking new sandboxes (existing ones keep running). Admin on
|
|
|
190
207
|
|
|
191
208
|
Destroy every sandbox on a worker node, from all users, so the node can be removed. Works on a node that is offline for good. Admin only
|
|
192
209
|
|
|
210
|
+
**Usage:** `sandbox nodes evict <node> [options]`
|
|
211
|
+
|
|
193
212
|
**Options:**
|
|
194
213
|
|
|
195
214
|
| Flag | Description | Default | Required |
|
|
@@ -201,6 +220,8 @@ Destroy every sandbox on a worker node, from all users, so the node can be remov
|
|
|
201
220
|
|
|
202
221
|
Show details for a sandbox
|
|
203
222
|
|
|
223
|
+
**Usage:** `sandbox show <id> [options]`
|
|
224
|
+
|
|
204
225
|
**Options:**
|
|
205
226
|
|
|
206
227
|
| Flag | Description | Default | Required |
|
|
@@ -211,6 +232,8 @@ Show details for a sandbox
|
|
|
211
232
|
|
|
212
233
|
Remove a sandbox permanently (aliases: stop, destroy)
|
|
213
234
|
|
|
235
|
+
**Usage:** `sandbox rm <id> [options]`
|
|
236
|
+
|
|
214
237
|
**Options:**
|
|
215
238
|
|
|
216
239
|
| Flag | Description | Default | Required |
|
|
@@ -221,18 +244,26 @@ Remove a sandbox permanently (aliases: stop, destroy)
|
|
|
221
244
|
|
|
222
245
|
Pause a running sandbox (non-destructive — resume later with `sandbox resume`)
|
|
223
246
|
|
|
247
|
+
**Usage:** `sandbox pause <id>`
|
|
248
|
+
|
|
224
249
|
### `sandbox resume`
|
|
225
250
|
|
|
226
251
|
Resume a paused sandbox
|
|
227
252
|
|
|
253
|
+
**Usage:** `sandbox resume <id>`
|
|
254
|
+
|
|
228
255
|
### `sandbox restart`
|
|
229
256
|
|
|
230
257
|
Restart a running sandbox (preserves filesystem)
|
|
231
258
|
|
|
259
|
+
**Usage:** `sandbox restart <id>`
|
|
260
|
+
|
|
232
261
|
### `sandbox clone`
|
|
233
262
|
|
|
234
263
|
Clone a git repo or extract a tarball into a running sandbox
|
|
235
264
|
|
|
265
|
+
**Usage:** `sandbox clone <id> [options]`
|
|
266
|
+
|
|
236
267
|
**Options:**
|
|
237
268
|
|
|
238
269
|
| Flag | Description | Default | Required |
|
|
@@ -244,11 +275,16 @@ Clone a git repo or extract a tarball into a running sandbox
|
|
|
244
275
|
| `--git-username <user>` | HTTP Basic username (pairs with --git-password) | - | No |
|
|
245
276
|
| `--git-password <token>` | HTTP Basic password/token (injected via GIT_ASKPASS) | - | No |
|
|
246
277
|
| `--tarball-url <url>` | Tarball URL to download and extract | - | No |
|
|
278
|
+
| `--git-password-file <path>` | Read the Git HTTP password or token from a file (- reads stdin) instead of --git-password | - | No |
|
|
279
|
+
| `--git-password-stdin` | Read the Git HTTP password or token from stdin instead of --git-password | - | No |
|
|
280
|
+
| `--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 |
|
|
247
281
|
|
|
248
282
|
### `sandbox shell` (alias: `attach`)
|
|
249
283
|
|
|
250
284
|
Open an interactive terminal in a sandbox. Detach with Ctrl-P Ctrl-Q to leave the program running; `exit` ends it. Reattach with the same --tab
|
|
251
285
|
|
|
286
|
+
**Usage:** `sandbox shell <id> [options]`
|
|
287
|
+
|
|
252
288
|
**Options:**
|
|
253
289
|
|
|
254
290
|
| Flag | Description | Default | Required |
|
|
@@ -260,6 +296,8 @@ Open an interactive terminal in a sandbox. Detach with Ctrl-P Ctrl-Q to leave th
|
|
|
260
296
|
|
|
261
297
|
Extend a sandbox's idle timeout
|
|
262
298
|
|
|
299
|
+
**Usage:** `sandbox extend <id> [options]`
|
|
300
|
+
|
|
263
301
|
**Options:**
|
|
264
302
|
|
|
265
303
|
| Flag | Description | Default | Required |
|
|
@@ -270,6 +308,8 @@ Extend a sandbox's idle timeout
|
|
|
270
308
|
|
|
271
309
|
Run a command inside a sandbox. Use `--` to pass flags: `exec ID -- ls -la`
|
|
272
310
|
|
|
311
|
+
**Usage:** `sandbox exec <id> [args...] [options]`
|
|
312
|
+
|
|
273
313
|
**Options:**
|
|
274
314
|
|
|
275
315
|
| Flag | Description | Default | Required |
|
|
@@ -282,10 +322,14 @@ Run a command inside a sandbox. Use `--` to pass flags: `exec ID -- ls -la`
|
|
|
282
322
|
|
|
283
323
|
Stream logs from a detached job (SSE)
|
|
284
324
|
|
|
325
|
+
**Usage:** `sandbox logs <id> <jobId>`
|
|
326
|
+
|
|
285
327
|
### `sandbox domain`
|
|
286
328
|
|
|
287
329
|
Resolve the preview URL for a port inside a sandbox
|
|
288
330
|
|
|
331
|
+
**Usage:** `sandbox domain <id> [options]`
|
|
332
|
+
|
|
289
333
|
**Options:**
|
|
290
334
|
|
|
291
335
|
| Flag | Description | Default | Required |
|
|
@@ -296,6 +340,8 @@ Resolve the preview URL for a port inside a sandbox
|
|
|
296
340
|
|
|
297
341
|
Generate, rotate, or clear the preview-URL password for a sandbox
|
|
298
342
|
|
|
343
|
+
**Usage:** `sandbox password <id> [options]`
|
|
344
|
+
|
|
299
345
|
**Options:**
|
|
300
346
|
|
|
301
347
|
| Flag | Description | Default | Required |
|
|
@@ -304,6 +350,36 @@ Generate, rotate, or clear the preview-URL password for a sandbox
|
|
|
304
350
|
| `--length <n>` | Length of the generated password (8..=256, default 24) | - | No |
|
|
305
351
|
| `--clear` | Remove the preview password — preview URLs become open again | - | No |
|
|
306
352
|
|
|
353
|
+
### `sandbox preview-access`
|
|
354
|
+
|
|
355
|
+
Show or set who may open the preview URLs: Temps login (default), the preview password, or anyone, optionally from listed networks only
|
|
356
|
+
|
|
357
|
+
**Usage:** `sandbox preview-access <id> [options]`
|
|
358
|
+
|
|
359
|
+
**Options:**
|
|
360
|
+
|
|
361
|
+
| Flag | Description | Default | Required |
|
|
362
|
+
|------|-------------|---------|----------|
|
|
363
|
+
| `--access <mode>` | temps_login (alias 'login'), password, or public. 'password' needs a preview password first (`sandbox password`) | - | No |
|
|
364
|
+
| `--allow-ip <ip\|cidr>` | Only these client networks may open previews, in every mode (repeatable; replaces the list) | - | No |
|
|
365
|
+
| `--any-ip` | Clear the allow-list: any client address may open previews | - | No |
|
|
366
|
+
| `--json` | Output as JSON | - | No |
|
|
367
|
+
|
|
368
|
+
### `sandbox egress`
|
|
369
|
+
|
|
370
|
+
Show or set where the sandbox may connect to: the internet, nothing, or only listed hosts and CIDRs. Private, loopback and metadata addresses are always refused
|
|
371
|
+
|
|
372
|
+
**Usage:** `sandbox egress <id> [options]`
|
|
373
|
+
|
|
374
|
+
**Options:**
|
|
375
|
+
|
|
376
|
+
| Flag | Description | Default | Required |
|
|
377
|
+
|------|-------------|---------|----------|
|
|
378
|
+
| `--internet` | Remove the restriction | - | No |
|
|
379
|
+
| `--deny-all` | Allow no outbound traffic at all | - | No |
|
|
380
|
+
| `--allow <host\|cidr[:ports]>` | Allow only these destinations (repeatable; replaces the policy; no ports = 80 and 443). IPv6 with ports: [addr/prefix]:port | - | No |
|
|
381
|
+
| `--json` | Output as JSON | - | No |
|
|
382
|
+
|
|
307
383
|
### `sandbox fs`
|
|
308
384
|
|
|
309
385
|
Filesystem operations inside a sandbox
|
|
@@ -319,6 +395,8 @@ Filesystem operations inside a sandbox
|
|
|
319
395
|
|
|
320
396
|
Read a file from the sandbox
|
|
321
397
|
|
|
398
|
+
**Usage:** `sandbox fs read <id> [options]`
|
|
399
|
+
|
|
322
400
|
**Options:**
|
|
323
401
|
|
|
324
402
|
| Flag | Description | Default | Required |
|
|
@@ -330,6 +408,8 @@ Read a file from the sandbox
|
|
|
330
408
|
|
|
331
409
|
Write a file to the sandbox
|
|
332
410
|
|
|
411
|
+
**Usage:** `sandbox fs write <id> [options]`
|
|
412
|
+
|
|
333
413
|
**Options:**
|
|
334
414
|
|
|
335
415
|
| Flag | Description | Default | Required |
|
|
@@ -343,6 +423,8 @@ Write a file to the sandbox
|
|
|
343
423
|
|
|
344
424
|
Stat a path inside the sandbox
|
|
345
425
|
|
|
426
|
+
**Usage:** `sandbox fs stat <id> [options]`
|
|
427
|
+
|
|
346
428
|
**Options:**
|
|
347
429
|
|
|
348
430
|
| Flag | Description | Default | Required |
|
|
@@ -354,6 +436,8 @@ Stat a path inside the sandbox
|
|
|
354
436
|
|
|
355
437
|
Create a directory inside the sandbox (mkdir -p)
|
|
356
438
|
|
|
439
|
+
**Usage:** `sandbox fs mkdir <id> [options]`
|
|
440
|
+
|
|
357
441
|
**Options:**
|
|
358
442
|
|
|
359
443
|
| Flag | Description | Default | Required |
|
|
@@ -389,6 +473,8 @@ List your snapshots
|
|
|
389
473
|
|
|
390
474
|
Show details for a snapshot
|
|
391
475
|
|
|
476
|
+
**Usage:** `sandbox snapshots show <snapId> [options]`
|
|
477
|
+
|
|
392
478
|
**Options:**
|
|
393
479
|
|
|
394
480
|
| Flag | Description | Default | Required |
|
|
@@ -399,6 +485,8 @@ Show details for a snapshot
|
|
|
399
485
|
|
|
400
486
|
Delete a snapshot permanently
|
|
401
487
|
|
|
488
|
+
**Usage:** `sandbox snapshots delete <snapId> [options]`
|
|
489
|
+
|
|
402
490
|
**Options:**
|
|
403
491
|
|
|
404
492
|
| Flag | Description | Default | Required |
|
|
@@ -419,6 +507,8 @@ Show snapshot storage usage and quota
|
|
|
419
507
|
|
|
420
508
|
Take a snapshot of a sandbox
|
|
421
509
|
|
|
510
|
+
**Usage:** `sandbox snapshot <id> [options]`
|
|
511
|
+
|
|
422
512
|
**Options:**
|
|
423
513
|
|
|
424
514
|
| Flag | Description | Default | Required |
|
|
@@ -11,8 +11,8 @@ Manage agent secrets. env-type: reference as ${TEMPS_SECRET:name} in MCP config.
|
|
|
11
11
|
**Subcommands:**
|
|
12
12
|
|
|
13
13
|
- `list` (`ls`) - List all secrets (values are masked)
|
|
14
|
-
- `create` (`add`) - Create or update a secret (upsert by name)
|
|
15
|
-
- `update` - Update an existing secret (alias for create — upserts)
|
|
14
|
+
- `create` (`add`) - Create or update a secret (upsert by name). Prefer --value-file or --value-stdin, which keep the value out of shell history
|
|
15
|
+
- `update` - Update an existing secret (alias for create — upserts). The value must be re-supplied: the server never returns it
|
|
16
16
|
- `delete` (`rm`) - Delete a secret
|
|
17
17
|
|
|
18
18
|
### `secrets list` (alias: `ls`)
|
|
@@ -27,36 +27,46 @@ List all secrets (values are masked)
|
|
|
27
27
|
|
|
28
28
|
### `secrets create` (alias: `add`)
|
|
29
29
|
|
|
30
|
-
Create or update a secret (upsert by name)
|
|
30
|
+
Create or update a secret (upsert by name). Prefer --value-file or --value-stdin, which keep the value out of shell history
|
|
31
31
|
|
|
32
32
|
**Options:**
|
|
33
33
|
|
|
34
34
|
| Flag | Description | Default | Required |
|
|
35
35
|
|------|-------------|---------|----------|
|
|
36
36
|
| `-n, --name <name>` | Secret name | - | Yes |
|
|
37
|
-
| `-v, --value <value>` | Secret value
|
|
37
|
+
| `-v, --value <value>` | Secret value on the command line (visible in shell history and `ps`). `-v @path` reading a file is deprecated: use --value-file | - | No |
|
|
38
38
|
| `-t, --type <type>` | Secret type: "env" (default) or "file" | `env` | No |
|
|
39
39
|
| `-m, --mount-path <path>` | Absolute path inside sandbox where file-type secret is written (required for --type file) | - | No |
|
|
40
40
|
| `-d, --description <description>` | Human-readable description | - | No |
|
|
41
|
+
| `--value-file <path>` | Read the secret value from a file, byte-for-byte (- reads stdin). Keeps it out of shell history | - | No |
|
|
42
|
+
| `--value-stdin` | Read the secret value from stdin, e.g. piped from a secret manager | - | No |
|
|
43
|
+
| `--literal` | Send a -v value that starts with @ as is, instead of reading it as a file path (deprecated form) | - | No |
|
|
44
|
+
| `--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 |
|
|
41
45
|
|
|
42
46
|
### `secrets update`
|
|
43
47
|
|
|
44
|
-
Update an existing secret (alias for create — upserts)
|
|
48
|
+
Update an existing secret (alias for create — upserts). The value must be re-supplied: the server never returns it
|
|
45
49
|
|
|
46
50
|
**Options:**
|
|
47
51
|
|
|
48
52
|
| Flag | Description | Default | Required |
|
|
49
53
|
|------|-------------|---------|----------|
|
|
50
54
|
| `-n, --name <name>` | Secret name | - | Yes |
|
|
51
|
-
| `-v, --value <value>` | New value.
|
|
55
|
+
| `-v, --value <value>` | New value on the command line (visible in shell history). `-v @path` is deprecated: use --value-file | - | No |
|
|
52
56
|
| `-t, --type <type>` | Secret type: "env" or "file" | - | No |
|
|
53
57
|
| `-m, --mount-path <path>` | New mount path (file type only) | - | No |
|
|
54
58
|
| `-d, --description <description>` | New description | - | No |
|
|
59
|
+
| `--value-file <path>` | Read the new secret value from a file, byte-for-byte (- reads stdin). Keeps it out of shell history | - | No |
|
|
60
|
+
| `--value-stdin` | Read the new secret value from stdin, e.g. piped from a secret manager | - | No |
|
|
61
|
+
| `--literal` | Send a -v value that starts with @ as is, instead of reading it as a file path (deprecated form) | - | No |
|
|
62
|
+
| `--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 |
|
|
55
63
|
|
|
56
64
|
### `secrets delete` (alias: `rm`)
|
|
57
65
|
|
|
58
66
|
Delete a secret
|
|
59
67
|
|
|
68
|
+
**Usage:** `secrets delete <name> [options]`
|
|
69
|
+
|
|
60
70
|
**Options:**
|
|
61
71
|
|
|
62
72
|
| Flag | Description | Default | Required |
|
|
@@ -101,6 +101,8 @@ Create a new external service
|
|
|
101
101
|
| `-t, --type <type>` | Service type (postgres, mongodb, redis, s3) | - | No |
|
|
102
102
|
| `-n, --name <name>` | Service name | - | No |
|
|
103
103
|
| `-s, --set <key=value>` | Set a parameter (repeatable) | `` | No |
|
|
104
|
+
| `--backend <backend>` | S3 storage engine: rustfs (default) or garage (s3/blob only) | - | No |
|
|
105
|
+
| `--bucket <name>` | Bucket to create (repeatable, s3/blob only; the first is S3_BUCKET) | `` | No |
|
|
104
106
|
| `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
|
|
105
107
|
|
|
106
108
|
### `services show`
|
|
@@ -164,6 +166,8 @@ List available service types
|
|
|
164
166
|
|
|
165
167
|
Show parameters schema for a service type (useful for automation)
|
|
166
168
|
|
|
169
|
+
**Usage:** `services types info <type> [options]`
|
|
170
|
+
|
|
167
171
|
**Options:**
|
|
168
172
|
|
|
169
173
|
| Flag | Description | Default | Required |
|
|
@@ -258,6 +262,8 @@ Unlink a service from a project
|
|
|
258
262
|
|
|
259
263
|
Get connection info for a service by name or slug
|
|
260
264
|
|
|
265
|
+
**Usage:** `services connect <name> [options]`
|
|
266
|
+
|
|
261
267
|
**Options:**
|
|
262
268
|
|
|
263
269
|
| Flag | Description | Default | Required |
|
|
@@ -34,6 +34,8 @@ List session replays for a project
|
|
|
34
34
|
|
|
35
35
|
List session replays for a specific visitor
|
|
36
36
|
|
|
37
|
+
**Usage:** `session-replay visitor <visitor-id> [options]`
|
|
38
|
+
|
|
37
39
|
**Options:**
|
|
38
40
|
|
|
39
41
|
| Flag | Description | Default | Required |
|
|
@@ -46,6 +48,8 @@ List session replays for a specific visitor
|
|
|
46
48
|
|
|
47
49
|
Show session metadata (use numeric session ID from list)
|
|
48
50
|
|
|
51
|
+
**Usage:** `session-replay show <visitor-id> <session-id> [options]`
|
|
52
|
+
|
|
49
53
|
**Options:**
|
|
50
54
|
|
|
51
55
|
| Flag | Description | Default | Required |
|
|
@@ -56,6 +60,8 @@ Show session metadata (use numeric session ID from list)
|
|
|
56
60
|
|
|
57
61
|
Download or page through all rrweb events for a session
|
|
58
62
|
|
|
63
|
+
**Usage:** `session-replay events <visitor-id> <session-id> [options]`
|
|
64
|
+
|
|
59
65
|
**Options:**
|
|
60
66
|
|
|
61
67
|
| Flag | Description | Default | Required |
|
|
@@ -69,6 +75,8 @@ Download or page through all rrweb events for a session
|
|
|
69
75
|
|
|
70
76
|
Delete a session replay
|
|
71
77
|
|
|
78
|
+
**Usage:** `session-replay delete <visitor-id> <session-id> [options]`
|
|
79
|
+
|
|
72
80
|
**Options:**
|
|
73
81
|
|
|
74
82
|
| Flag | Description | Default | Required |
|
|
@@ -47,6 +47,8 @@ Create a new skill definition. Use @path for content from a file, directory, or
|
|
|
47
47
|
|
|
48
48
|
Update an existing skill definition
|
|
49
49
|
|
|
50
|
+
**Usage:** `skills update <slug> [options]`
|
|
51
|
+
|
|
50
52
|
**Options:**
|
|
51
53
|
|
|
52
54
|
| Flag | Description | Default | Required |
|
|
@@ -61,6 +63,8 @@ Update an existing skill definition
|
|
|
61
63
|
|
|
62
64
|
Delete a skill definition
|
|
63
65
|
|
|
66
|
+
**Usage:** `skills delete <slug> [options]`
|
|
67
|
+
|
|
64
68
|
**Options:**
|
|
65
69
|
|
|
66
70
|
| Flag | Description | Default | Required |
|
|
@@ -74,6 +78,8 @@ Delete a skill definition
|
|
|
74
78
|
|
|
75
79
|
Import a skill from a public GitHub repository (skills.sh-compatible). Source: <owner>/<repo> or <owner>/<repo>/<skill-name>
|
|
76
80
|
|
|
81
|
+
**Usage:** `skills import <source> [options]`
|
|
82
|
+
|
|
77
83
|
**Options:**
|
|
78
84
|
|
|
79
85
|
| Flag | Description | Default | Required |
|
|
@@ -14,6 +14,7 @@ Run Temps on this computer, sign in the CLI and add the Temps skill for your cod
|
|
|
14
14
|
|------|-------------|---------|----------|
|
|
15
15
|
| `--channel <channel>` | Release channel for a fresh install: stable, beta or nightly | `beta` | No |
|
|
16
16
|
| `--runtime-version <tag>` | Run this exact Temps release | - | No |
|
|
17
|
+
| `--allow-unsigned` | Run a release that publishes no Sigstore signature (only releases from before signing), trusting its checksum alone | - | No |
|
|
17
18
|
| `--skills <scope>` | Where to add the Temps agent skill: project, global or none (default: project inside a project, otherwise global) | - | No |
|
|
18
19
|
| `--port <port>` | Port for your apps and the console on a fresh install (default: 8080 or the next free port) | - | No |
|
|
19
20
|
| `--make-default` | Make "local" the default CLI context even if another one is active | - | No |
|