@temps-sdk/cli 0.1.37 → 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.
Files changed (130) hide show
  1. package/README.md +14 -0
  2. package/dist/index.js +32148 -34152
  3. package/dist/skills/temps/SKILL.md +148 -0
  4. package/dist/skills/temps/agents/openai.yaml +7 -0
  5. package/dist/skills/temps/evals/evals.json +112 -0
  6. package/dist/skills/temps/howtos/backup-recovery.md +41 -0
  7. package/dist/skills/temps/howtos/ci-automation.md +17 -0
  8. package/dist/skills/temps/howtos/curated-services.md +69 -0
  9. package/dist/skills/temps/howtos/deploy-application.md +36 -0
  10. package/dist/skills/temps/howtos/diagnose-deployment.md +17 -0
  11. package/dist/skills/temps/howtos/edge-rules.md +135 -0
  12. package/dist/skills/temps/howtos/framework-routing.md +28 -0
  13. package/dist/skills/temps/howtos/javascript-typescript.md +57 -0
  14. package/dist/skills/temps/howtos/managed-services.md +83 -0
  15. package/dist/skills/temps/howtos/observability-onboarding.md +52 -0
  16. package/dist/skills/temps/howtos/projects-and-monorepos.md +50 -0
  17. package/dist/skills/temps/howtos/python.md +42 -0
  18. package/dist/skills/temps/howtos/rust.md +30 -0
  19. package/dist/skills/temps/references/cli-runtime.md +60 -0
  20. package/dist/skills/temps/references/commands/INDEX.md +102 -0
  21. package/dist/skills/temps/references/commands/access.md +53 -0
  22. package/dist/skills/temps/references/commands/ai.md +47 -0
  23. package/dist/skills/temps/references/commands/alarms.md +91 -0
  24. package/dist/skills/temps/references/commands/analytics.md +568 -0
  25. package/dist/skills/temps/references/commands/apikeys.md +98 -0
  26. package/dist/skills/temps/references/commands/audit.md +41 -0
  27. package/dist/skills/temps/references/commands/backups.md +269 -0
  28. package/dist/skills/temps/references/commands/cloud.md +385 -0
  29. package/dist/skills/temps/references/commands/cluster.md +31 -0
  30. package/dist/skills/temps/references/commands/configure.md +62 -0
  31. package/dist/skills/temps/references/commands/containers.md +110 -0
  32. package/dist/skills/temps/references/commands/context.md +55 -0
  33. package/dist/skills/temps/references/commands/custom-domains.md +98 -0
  34. package/dist/skills/temps/references/commands/data.md +87 -0
  35. package/dist/skills/temps/references/commands/delivery-profiles.md +69 -0
  36. package/dist/skills/temps/references/commands/delivery.md +116 -0
  37. package/dist/skills/temps/references/commands/deploy-image.md +23 -0
  38. package/dist/skills/temps/references/commands/deploy-local-image.md +28 -0
  39. package/dist/skills/temps/references/commands/deploy-static.md +23 -0
  40. package/dist/skills/temps/references/commands/deploy.md +23 -0
  41. package/dist/skills/temps/references/commands/deployments.md +173 -0
  42. package/dist/skills/temps/references/commands/dns-provider.md +196 -0
  43. package/dist/skills/temps/references/commands/dns.md +181 -0
  44. package/dist/skills/temps/references/commands/domains.md +188 -0
  45. package/dist/skills/temps/references/commands/drop.md +23 -0
  46. package/dist/skills/temps/references/commands/dsn.md +84 -0
  47. package/dist/skills/temps/references/commands/edge-rules.md +218 -0
  48. package/dist/skills/temps/references/commands/email-domains.md +160 -0
  49. package/dist/skills/temps/references/commands/email-providers.md +96 -0
  50. package/dist/skills/temps/references/commands/emails.md +79 -0
  51. package/dist/skills/temps/references/commands/env-pull.md +18 -0
  52. package/dist/skills/temps/references/commands/env-push.md +19 -0
  53. package/dist/skills/temps/references/commands/environments.md +500 -0
  54. package/dist/skills/temps/references/commands/errors.md +763 -0
  55. package/dist/skills/temps/references/commands/facets.md +63 -0
  56. package/dist/skills/temps/references/commands/flags.md +246 -0
  57. package/dist/skills/temps/references/commands/funnels.md +92 -0
  58. package/dist/skills/temps/references/commands/incidents.md +115 -0
  59. package/dist/skills/temps/references/commands/init.md +18 -0
  60. package/dist/skills/temps/references/commands/instances.md +62 -0
  61. package/dist/skills/temps/references/commands/instantiations.md +57 -0
  62. package/dist/skills/temps/references/commands/ip-access.md +153 -0
  63. package/dist/skills/temps/references/commands/link.md +17 -0
  64. package/dist/skills/temps/references/commands/load-balancer.md +73 -0
  65. package/dist/skills/temps/references/commands/login.md +22 -0
  66. package/dist/skills/temps/references/commands/logout.md +16 -0
  67. package/dist/skills/temps/references/commands/logs.md +290 -0
  68. package/dist/skills/temps/references/commands/mcp-servers.md +74 -0
  69. package/dist/skills/temps/references/commands/mcp.md +72 -0
  70. package/dist/skills/temps/references/commands/metrics.md +79 -0
  71. package/dist/skills/temps/references/commands/migrate.md +118 -0
  72. package/dist/skills/temps/references/commands/monitors.md +162 -0
  73. package/dist/skills/temps/references/commands/network-policy.md +120 -0
  74. package/dist/skills/temps/references/commands/nodes.md +254 -0
  75. package/dist/skills/temps/references/commands/notification-preferences.md +47 -0
  76. package/dist/skills/temps/references/commands/notifications.md +233 -0
  77. package/dist/skills/temps/references/commands/open.md +19 -0
  78. package/dist/skills/temps/references/commands/otel-forward.md +226 -0
  79. package/dist/skills/temps/references/commands/otel.md +38 -0
  80. package/dist/skills/temps/references/commands/platform.md +151 -0
  81. package/dist/skills/temps/references/commands/plugin.md +222 -0
  82. package/dist/skills/temps/references/commands/presets.md +37 -0
  83. package/dist/skills/temps/references/commands/project-groups.md +292 -0
  84. package/dist/skills/temps/references/commands/projects.md +329 -0
  85. package/dist/skills/temps/references/commands/providers.md +290 -0
  86. package/dist/skills/temps/references/commands/proxy-logs.md +85 -0
  87. package/dist/skills/temps/references/commands/revenue.md +52 -0
  88. package/dist/skills/temps/references/commands/rollback.md +20 -0
  89. package/dist/skills/temps/references/commands/runtime-logs.md +21 -0
  90. package/dist/skills/temps/references/commands/sandbox.md +518 -0
  91. package/dist/skills/temps/references/commands/scans.md +113 -0
  92. package/dist/skills/temps/references/commands/secrets.md +75 -0
  93. package/dist/skills/temps/references/commands/server.md +50 -0
  94. package/dist/skills/temps/references/commands/services.md +642 -0
  95. package/dist/skills/temps/references/commands/session-replay.md +84 -0
  96. package/dist/skills/temps/references/commands/settings.md +84 -0
  97. package/dist/skills/temps/references/commands/setup.md +25 -0
  98. package/dist/skills/temps/references/commands/skills.md +93 -0
  99. package/dist/skills/temps/references/commands/start.md +21 -0
  100. package/dist/skills/temps/references/commands/status-pages.md +455 -0
  101. package/dist/skills/temps/references/commands/status.md +19 -0
  102. package/dist/skills/temps/references/commands/stop.md +16 -0
  103. package/dist/skills/temps/references/commands/surveys.md +165 -0
  104. package/dist/skills/temps/references/commands/teams.md +143 -0
  105. package/dist/skills/temps/references/commands/templates.md +67 -0
  106. package/dist/skills/temps/references/commands/tokens.md +77 -0
  107. package/dist/skills/temps/references/commands/traces.md +100 -0
  108. package/dist/skills/temps/references/commands/traefik-discovery.md +123 -0
  109. package/dist/skills/temps/references/commands/tunnels.md +139 -0
  110. package/dist/skills/temps/references/commands/up.md +27 -0
  111. package/dist/skills/temps/references/commands/users.md +115 -0
  112. package/dist/skills/temps/references/commands/webhooks.md +171 -0
  113. package/dist/skills/temps/references/commands/whoami.md +15 -0
  114. package/dist/skills/temps/references/commands/workflow.md +44 -0
  115. package/dist/skills/temps/references/commands/workflows.md +216 -0
  116. package/dist/skills/temps/references/observability/analytics.md +146 -0
  117. package/dist/skills/temps/references/observability/error-tracking.md +73 -0
  118. package/dist/skills/temps/references/observability/hygiene.md +112 -0
  119. package/dist/skills/temps/references/observability/logs.md +43 -0
  120. package/dist/skills/temps/references/observability/metrics.md +41 -0
  121. package/dist/skills/temps/references/observability/tracing.md +392 -0
  122. package/dist/skills/temps/references/runtime-contract.md +115 -0
  123. package/dist/skills/temps/references/workflows/platform-operations.md +164 -0
  124. package/dist/skills/temps/scripts/detect_project_capabilities.py +239 -0
  125. package/dist/skills/temps/scripts/generate_command_references.py +144 -0
  126. package/dist/skills/temps/scripts/test_detect_project_capabilities.py +124 -0
  127. package/dist/skills/temps/scripts/test_generate_command_references.py +128 -0
  128. package/dist/skills/temps/scripts/test_validate_skill.py +43 -0
  129. package/dist/skills/temps/scripts/validate_skill.py +97 -0
  130. package/package.json +7 -2
@@ -0,0 +1,518 @@
1
+ <!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
2
+
3
+ # `sandbox` command reference
4
+
5
+ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
6
+
7
+ ## Contents
8
+
9
+ - [`sandbox create`](#sandbox-create)
10
+ - [`sandbox list`](#sandbox-list)
11
+ - [`sandbox nodes`](#sandbox-nodes)
12
+ - [`sandbox show`](#sandbox-show)
13
+ - [`sandbox rm`](#sandbox-rm)
14
+ - [`sandbox pause`](#sandbox-pause)
15
+ - [`sandbox resume`](#sandbox-resume)
16
+ - [`sandbox restart`](#sandbox-restart)
17
+ - [`sandbox clone`](#sandbox-clone)
18
+ - [`sandbox shell`](#sandbox-shell)
19
+ - [`sandbox extend`](#sandbox-extend)
20
+ - [`sandbox exec`](#sandbox-exec)
21
+ - [`sandbox logs`](#sandbox-logs)
22
+ - [`sandbox domain`](#sandbox-domain)
23
+ - [`sandbox password`](#sandbox-password)
24
+ - [`sandbox preview-access`](#sandbox-preview-access)
25
+ - [`sandbox egress`](#sandbox-egress)
26
+ - [`sandbox fs`](#sandbox-fs)
27
+ - [`sandbox snapshots`](#sandbox-snapshots)
28
+ - [`sandbox snapshot`](#sandbox-snapshot)
29
+
30
+ ## `sandbox`
31
+
32
+ Manage standalone sandboxes (/v1/sandbox API)
33
+
34
+ **Subcommands:**
35
+
36
+ - `create` - Create a new sandbox
37
+ - `list` (`ls`) - List your sandboxes
38
+ - `nodes` - List nodes that can run sandboxes and control which ones take new sandboxes
39
+ - `show` - Show details for a sandbox
40
+ - `rm` (`stop`, `destroy`) - Remove a sandbox permanently (aliases: stop, destroy)
41
+ - `pause` - Pause a running sandbox (non-destructive — resume later with `sandbox resume`)
42
+ - `resume` - Resume a paused sandbox
43
+ - `restart` - Restart a running sandbox (preserves filesystem)
44
+ - `clone` - Clone a git repo or extract a tarball into a running sandbox
45
+ - `shell` (`attach`) - 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
46
+ - `extend` - Extend a sandbox's idle timeout
47
+ - `exec` - Run a command inside a sandbox. Use `--` to pass flags: `exec ID -- ls -la`
48
+ - `logs` - Stream logs from a detached job (SSE)
49
+ - `domain` - Resolve the preview URL for a port inside a sandbox
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
53
+ - `fs` - Filesystem operations inside a sandbox
54
+ - `snapshots` - Manage sandbox snapshots (ADR-037)
55
+ - `snapshot` - Take a snapshot of a sandbox
56
+
57
+ ### `sandbox create`
58
+
59
+ Create a new sandbox
60
+
61
+ **Options:**
62
+
63
+ | Flag | Description | Default | Required |
64
+ |------|-------------|---------|----------|
65
+ | `--image <image>` | Docker image override (uses platform default when omitted) | - | No |
66
+ | `--name <name>` | Display name for the sandbox | - | No |
67
+ | `--timeout <seconds>` | Idle timeout in seconds (clamped to [60, 86400]) | - | No |
68
+ | `-e, --env <KEY=VAL>` | Env var baked into the container (repeatable) | - | No |
69
+ | `--cpu-limit <cpu>` | CPU limit (e.g., 0.5 for half a core) | - | No |
70
+ | `--memory-mb <mb>` | Memory limit in megabytes | - | No |
71
+ | `--git-url <url>` | Git repo URL to clone into the work dir | - | No |
72
+ | `--git-rev <revision>` | Git revision to check out (requires --git-url) | - | No |
73
+ | `--git-depth <n>` | Shallow clone depth (requires --git-url) | - | No |
74
+ | `--git-connection <id>` | ID of a stored git provider connection; temps injects the token server-side | - | No |
75
+ | `--git-username <user>` | HTTP Basic username for private repo clone (requires --git-password) | - | No |
76
+ | `--git-password <token>` | HTTP Basic password/token (paired with --git-username; injected via GIT_ASKPASS) | - | No |
77
+ | `--tarball-url <url>` | Tarball URL to download and extract | - | No |
78
+ | `--workspace` | Create a persistent workspace: suspends when idle, wakes automatically on the next command, and is never destroyed for you | - | No |
79
+ | `--project <slug>` | Seed from a temps project's connected repo (and attribute the sandbox to it). Defaults to the linked project in .temps/config.json | - | No |
80
+ | `--repo <owner/name>` | Seed from a repo on one of your git connections that has no temps project | - | No |
81
+ | `--branch <ref>` | Branch, tag, or SHA to check out (alias of --git-rev) | - | No |
82
+ | `--new-branch <name>` | Create and switch to a new branch after cloning, based on whatever was checked out | - | No |
83
+ | `--preview-password` | Generate a random preview-URL password and print it once on stdout | - | No |
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 |
87
+ | `--from-snapshot <snap-id>` | Create sandbox from a snapshot (mutually exclusive with --image) | - | No |
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 |
89
+ | `--backend <backend>` | Isolation backend: docker, firecracker, microsandbox. Omit for the host default. An unavailable backend fails instead of downgrading | - | No |
90
+ | `--allow-docker` | Allow installing/running Docker inside microsandbox; relaxes guest privilege restrictions. Requires --backend microsandbox | - | No |
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 |
95
+
96
+ ### `sandbox list` (alias: `ls`)
97
+
98
+ List your sandboxes
99
+
100
+ **Options:**
101
+
102
+ | Flag | Description | Default | Required |
103
+ |------|-------------|---------|----------|
104
+ | `--page <n>` | Page (1-indexed) | - | No |
105
+ | `--page-size <n>` | Items per page (default 20, max 100) | - | No |
106
+ | `--workspace` | Show only persistent workspaces | - | No |
107
+ | `--lifecycle <class>` | Filter by lifecycle class: ephemeral \| workspace | - | No |
108
+ | `--project <slug>` | Show only sandboxes created from this project | - | No |
109
+ | `--json` | Output as JSON | - | No |
110
+
111
+ ### `sandbox nodes`
112
+
113
+ List nodes that can run sandboxes and control which ones take new sandboxes
114
+
115
+ **Subcommands:**
116
+
117
+ - `list` - List nodes with their sandbox placement state (the default)
118
+ - `show` - Show a node's placement state and every live sandbox on it, from all users (name, id, or 'control-plane'). Admin only
119
+ - `set` - Allow exactly these nodes to run new sandboxes, replacing the list (names, ids, or 'control-plane'). Admin only
120
+ - `allow` - Add nodes to the list allowed to run new sandboxes. Admin only
121
+ - `deny` - Stop nodes from taking new sandboxes (existing ones keep running). Admin only
122
+ - `allow-all` - Allow every node, including the control plane, to run sandboxes (the default). Admin only
123
+ - `deny-all` - Stop every node from taking new sandboxes (existing ones keep running). Admin only
124
+ - `evict` - 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
125
+
126
+ #### `sandbox nodes list`
127
+
128
+ List nodes with their sandbox placement state (the default)
129
+
130
+ **Options:**
131
+
132
+ | Flag | Description | Default | Required |
133
+ |------|-------------|---------|----------|
134
+ | `--json` | Output as JSON | - | No |
135
+
136
+ #### `sandbox nodes show`
137
+
138
+ Show a node's placement state and every live sandbox on it, from all users (name, id, or 'control-plane'). Admin only
139
+
140
+ **Usage:** `sandbox nodes show <node> [options]`
141
+
142
+ **Options:**
143
+
144
+ | Flag | Description | Default | Required |
145
+ |------|-------------|---------|----------|
146
+ | `--page <n>` | Page number (default 1) | - | No |
147
+ | `--page-size <n>` | Items per page (default 20, max 100) | - | No |
148
+ | `--json` | Output as JSON | - | No |
149
+
150
+ #### `sandbox nodes set`
151
+
152
+ Allow exactly these nodes to run new sandboxes, replacing the list (names, ids, or 'control-plane'). Admin only
153
+
154
+ **Usage:** `sandbox nodes set <nodes...> [options]`
155
+
156
+ **Options:**
157
+
158
+ | Flag | Description | Default | Required |
159
+ |------|-------------|---------|----------|
160
+ | `--json` | Output as JSON | - | No |
161
+
162
+ #### `sandbox nodes allow`
163
+
164
+ Add nodes to the list allowed to run new sandboxes. Admin only
165
+
166
+ **Usage:** `sandbox nodes allow <nodes...> [options]`
167
+
168
+ **Options:**
169
+
170
+ | Flag | Description | Default | Required |
171
+ |------|-------------|---------|----------|
172
+ | `--json` | Output as JSON | - | No |
173
+
174
+ #### `sandbox nodes deny`
175
+
176
+ Stop nodes from taking new sandboxes (existing ones keep running). Admin only
177
+
178
+ **Usage:** `sandbox nodes deny <nodes...> [options]`
179
+
180
+ **Options:**
181
+
182
+ | Flag | Description | Default | Required |
183
+ |------|-------------|---------|----------|
184
+ | `--json` | Output as JSON | - | No |
185
+
186
+ #### `sandbox nodes allow-all`
187
+
188
+ Allow every node, including the control plane, to run sandboxes (the default). Admin only
189
+
190
+ **Options:**
191
+
192
+ | Flag | Description | Default | Required |
193
+ |------|-------------|---------|----------|
194
+ | `--json` | Output as JSON | - | No |
195
+
196
+ #### `sandbox nodes deny-all`
197
+
198
+ Stop every node from taking new sandboxes (existing ones keep running). Admin only
199
+
200
+ **Options:**
201
+
202
+ | Flag | Description | Default | Required |
203
+ |------|-------------|---------|----------|
204
+ | `--json` | Output as JSON | - | No |
205
+
206
+ #### `sandbox nodes evict`
207
+
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
209
+
210
+ **Usage:** `sandbox nodes evict <node> [options]`
211
+
212
+ **Options:**
213
+
214
+ | Flag | Description | Default | Required |
215
+ |------|-------------|---------|----------|
216
+ | `-f, --force` | Skip confirmation prompt | - | No |
217
+ | `--json` | Output as JSON | - | No |
218
+
219
+ ### `sandbox show`
220
+
221
+ Show details for a sandbox
222
+
223
+ **Usage:** `sandbox show <id> [options]`
224
+
225
+ **Options:**
226
+
227
+ | Flag | Description | Default | Required |
228
+ |------|-------------|---------|----------|
229
+ | `--json` | Output as JSON | - | No |
230
+
231
+ ### `sandbox rm` (alias: `stop`, `destroy`)
232
+
233
+ Remove a sandbox permanently (aliases: stop, destroy)
234
+
235
+ **Usage:** `sandbox rm <id> [options]`
236
+
237
+ **Options:**
238
+
239
+ | Flag | Description | Default | Required |
240
+ |------|-------------|---------|----------|
241
+ | `-f, --force` | Skip confirmation prompt | - | No |
242
+
243
+ ### `sandbox pause`
244
+
245
+ Pause a running sandbox (non-destructive — resume later with `sandbox resume`)
246
+
247
+ **Usage:** `sandbox pause <id>`
248
+
249
+ ### `sandbox resume`
250
+
251
+ Resume a paused sandbox
252
+
253
+ **Usage:** `sandbox resume <id>`
254
+
255
+ ### `sandbox restart`
256
+
257
+ Restart a running sandbox (preserves filesystem)
258
+
259
+ **Usage:** `sandbox restart <id>`
260
+
261
+ ### `sandbox clone`
262
+
263
+ Clone a git repo or extract a tarball into a running sandbox
264
+
265
+ **Usage:** `sandbox clone <id> [options]`
266
+
267
+ **Options:**
268
+
269
+ | Flag | Description | Default | Required |
270
+ |------|-------------|---------|----------|
271
+ | `--git-url <url>` | Git repo URL to clone | - | No |
272
+ | `--git-rev <revision>` | Git revision (branch/tag/SHA) to check out | - | No |
273
+ | `--git-depth <n>` | Shallow clone depth | - | No |
274
+ | `--git-connection <id>` | ID of a stored git provider connection; temps injects the token server-side | - | No |
275
+ | `--git-username <user>` | HTTP Basic username (pairs with --git-password) | - | No |
276
+ | `--git-password <token>` | HTTP Basic password/token (injected via GIT_ASKPASS) | - | No |
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 |
281
+
282
+ ### `sandbox shell` (alias: `attach`)
283
+
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
285
+
286
+ **Usage:** `sandbox shell <id> [options]`
287
+
288
+ **Options:**
289
+
290
+ | Flag | Description | Default | Required |
291
+ |------|-------------|---------|----------|
292
+ | `--tab <name>` | Tab to attach to; reusing a name reattaches to the program already running in it | `main` | No |
293
+ | `--cmd <command>` | Program to start when the tab is created, e.g. "claude" (default: login shell) | - | No |
294
+
295
+ ### `sandbox extend`
296
+
297
+ Extend a sandbox's idle timeout
298
+
299
+ **Usage:** `sandbox extend <id> [options]`
300
+
301
+ **Options:**
302
+
303
+ | Flag | Description | Default | Required |
304
+ |------|-------------|---------|----------|
305
+ | `--secs <seconds>` | Extra seconds to add to the current expiry | - | Yes |
306
+
307
+ ### `sandbox exec`
308
+
309
+ Run a command inside a sandbox. Use `--` to pass flags: `exec ID -- ls -la`
310
+
311
+ **Usage:** `sandbox exec <id> [args...] [options]`
312
+
313
+ **Options:**
314
+
315
+ | Flag | Description | Default | Required |
316
+ |------|-------------|---------|----------|
317
+ | `--detach` | Start in background and print a job ID instead of waiting | - | No |
318
+ | `--cwd <path>` | Working directory inside the sandbox | - | No |
319
+ | `-e, --env <KEY=VAL>` | Env var for this exec (repeatable) | - | No |
320
+
321
+ ### `sandbox logs`
322
+
323
+ Stream logs from a detached job (SSE)
324
+
325
+ **Usage:** `sandbox logs <id> <jobId>`
326
+
327
+ ### `sandbox domain`
328
+
329
+ Resolve the preview URL for a port inside a sandbox
330
+
331
+ **Usage:** `sandbox domain <id> [options]`
332
+
333
+ **Options:**
334
+
335
+ | Flag | Description | Default | Required |
336
+ |------|-------------|---------|----------|
337
+ | `--port <port>` | Port inside the sandbox (1..=65535) | - | Yes |
338
+
339
+ ### `sandbox password`
340
+
341
+ Generate, rotate, or clear the preview-URL password for a sandbox
342
+
343
+ **Usage:** `sandbox password <id> [options]`
344
+
345
+ **Options:**
346
+
347
+ | Flag | Description | Default | Required |
348
+ |------|-------------|---------|----------|
349
+ | `--rotate` | Generate a new random password and set it (default when no flag is given) | - | No |
350
+ | `--length <n>` | Length of the generated password (8..=256, default 24) | - | No |
351
+ | `--clear` | Remove the preview password — preview URLs become open again | - | No |
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
+
383
+ ### `sandbox fs`
384
+
385
+ Filesystem operations inside a sandbox
386
+
387
+ **Subcommands:**
388
+
389
+ - `read` - Read a file from the sandbox
390
+ - `write` - Write a file to the sandbox
391
+ - `stat` - Stat a path inside the sandbox
392
+ - `mkdir` - Create a directory inside the sandbox (mkdir -p)
393
+
394
+ #### `sandbox fs read`
395
+
396
+ Read a file from the sandbox
397
+
398
+ **Usage:** `sandbox fs read <id> [options]`
399
+
400
+ **Options:**
401
+
402
+ | Flag | Description | Default | Required |
403
+ |------|-------------|---------|----------|
404
+ | `--path <path>` | Absolute file path inside the sandbox | - | Yes |
405
+ | `--out <localPath>` | Write to this local file (stdout when omitted) | - | No |
406
+
407
+ #### `sandbox fs write`
408
+
409
+ Write a file to the sandbox
410
+
411
+ **Usage:** `sandbox fs write <id> [options]`
412
+
413
+ **Options:**
414
+
415
+ | Flag | Description | Default | Required |
416
+ |------|-------------|---------|----------|
417
+ | `--path <path>` | Absolute target path inside the sandbox | - | Yes |
418
+ | `--file <localPath>` | Local source file to upload (mutually exclusive with --content) | - | No |
419
+ | `--content <string>` | Inline string content to write | - | No |
420
+ | `--mode <octal>` | Unix permission mask (default: 0644) | - | No |
421
+
422
+ #### `sandbox fs stat`
423
+
424
+ Stat a path inside the sandbox
425
+
426
+ **Usage:** `sandbox fs stat <id> [options]`
427
+
428
+ **Options:**
429
+
430
+ | Flag | Description | Default | Required |
431
+ |------|-------------|---------|----------|
432
+ | `--path <path>` | Absolute path inside the sandbox | - | Yes |
433
+ | `--json` | Output as JSON | - | No |
434
+
435
+ #### `sandbox fs mkdir`
436
+
437
+ Create a directory inside the sandbox (mkdir -p)
438
+
439
+ **Usage:** `sandbox fs mkdir <id> [options]`
440
+
441
+ **Options:**
442
+
443
+ | Flag | Description | Default | Required |
444
+ |------|-------------|---------|----------|
445
+ | `--path <path>` | Absolute path inside the sandbox | - | Yes |
446
+
447
+ ### `sandbox snapshots`
448
+
449
+ Manage sandbox snapshots (ADR-037)
450
+
451
+ **Subcommands:**
452
+
453
+ - `list` (`ls`) - List your snapshots
454
+ - `show` - Show details for a snapshot
455
+ - `delete` (`rm`) - Delete a snapshot permanently
456
+ - `storage` - Show snapshot storage usage and quota
457
+
458
+ #### `sandbox snapshots list` (alias: `ls`)
459
+
460
+ List your snapshots
461
+
462
+ **Options:**
463
+
464
+ | Flag | Description | Default | Required |
465
+ |------|-------------|---------|----------|
466
+ | `--project <id>` | Filter by project ID | - | No |
467
+ | `--status <status>` | Filter by status: creating \| ready \| failed \| deleted | - | No |
468
+ | `--page <n>` | Page number (1-indexed) | - | No |
469
+ | `--page-size <n>` | Items per page (default 20, max 100) | - | No |
470
+ | `--json` | Output as JSON | - | No |
471
+
472
+ #### `sandbox snapshots show`
473
+
474
+ Show details for a snapshot
475
+
476
+ **Usage:** `sandbox snapshots show <snapId> [options]`
477
+
478
+ **Options:**
479
+
480
+ | Flag | Description | Default | Required |
481
+ |------|-------------|---------|----------|
482
+ | `--json` | Output as JSON | - | No |
483
+
484
+ #### `sandbox snapshots delete` (alias: `rm`)
485
+
486
+ Delete a snapshot permanently
487
+
488
+ **Usage:** `sandbox snapshots delete <snapId> [options]`
489
+
490
+ **Options:**
491
+
492
+ | Flag | Description | Default | Required |
493
+ |------|-------------|---------|----------|
494
+ | `-f, --force` | Skip confirmation prompt | - | No |
495
+
496
+ #### `sandbox snapshots storage`
497
+
498
+ Show snapshot storage usage and quota
499
+
500
+ **Options:**
501
+
502
+ | Flag | Description | Default | Required |
503
+ |------|-------------|---------|----------|
504
+ | `--json` | Output as JSON | - | No |
505
+
506
+ ### `sandbox snapshot`
507
+
508
+ Take a snapshot of a sandbox
509
+
510
+ **Usage:** `sandbox snapshot <id> [options]`
511
+
512
+ **Options:**
513
+
514
+ | Flag | Description | Default | Required |
515
+ |------|-------------|---------|----------|
516
+ | `--label <label>` | Human-readable label for the snapshot | - | No |
517
+ | `--wait` | Wait until the snapshot reaches ready or failed status | - | No |
518
+ | `--json` | Output as JSON | - | No |
@@ -0,0 +1,113 @@
1
+ <!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
2
+
3
+ # `scans` command reference
4
+
5
+ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
6
+
7
+ ## `scans` (alias: `scan`)
8
+
9
+ Manage vulnerability scans
10
+
11
+ **Subcommands:**
12
+
13
+ - `list` (`ls`) - List vulnerability scans for a project
14
+ - `trigger` - Trigger a new vulnerability scan
15
+ - `latest` - Get the latest scan for a project
16
+ - `environments` (`envs`) - Get latest scans per environment
17
+ - `show` - Show scan details
18
+ - `vulnerabilities` (`vulns`) - List vulnerabilities found in a scan
19
+ - `remove` (`rm`) - Delete a vulnerability scan
20
+ - `by-deployment` - Get the scan for a specific deployment
21
+
22
+ ### `scans list` (alias: `ls`)
23
+
24
+ List vulnerability scans for a project
25
+
26
+ **Options:**
27
+
28
+ | Flag | Description | Default | Required |
29
+ |------|-------------|---------|----------|
30
+ | `--project-id <id>` | Project ID | - | Yes |
31
+ | `--page <n>` | Page number | - | No |
32
+ | `--page-size <n>` | Items per page (default: 20, max: 100) | - | No |
33
+ | `--json` | Output in JSON format | - | No |
34
+
35
+ ### `scans trigger`
36
+
37
+ Trigger a new vulnerability scan
38
+
39
+ **Options:**
40
+
41
+ | Flag | Description | Default | Required |
42
+ |------|-------------|---------|----------|
43
+ | `--project-id <id>` | Project ID | - | Yes |
44
+ | `--environment-id <id>` | Environment ID to scan | - | Yes |
45
+
46
+ ### `scans latest`
47
+
48
+ Get the latest scan for a project
49
+
50
+ **Options:**
51
+
52
+ | Flag | Description | Default | Required |
53
+ |------|-------------|---------|----------|
54
+ | `--project-id <id>` | Project ID | - | Yes |
55
+ | `--environment-id <id>` | Filter by environment ID | - | No |
56
+ | `--json` | Output in JSON format | - | No |
57
+
58
+ ### `scans environments` (alias: `envs`)
59
+
60
+ Get latest scans per environment
61
+
62
+ **Options:**
63
+
64
+ | Flag | Description | Default | Required |
65
+ |------|-------------|---------|----------|
66
+ | `--project-id <id>` | Project ID | - | Yes |
67
+ | `--json` | Output in JSON format | - | No |
68
+
69
+ ### `scans show`
70
+
71
+ Show scan details
72
+
73
+ **Options:**
74
+
75
+ | Flag | Description | Default | Required |
76
+ |------|-------------|---------|----------|
77
+ | `--id <id>` | Scan ID | - | Yes |
78
+ | `--json` | Output in JSON format | - | No |
79
+
80
+ ### `scans vulnerabilities` (alias: `vulns`)
81
+
82
+ List vulnerabilities found in a scan
83
+
84
+ **Options:**
85
+
86
+ | Flag | Description | Default | Required |
87
+ |------|-------------|---------|----------|
88
+ | `--id <id>` | Scan ID | - | Yes |
89
+ | `--severity <level>` | Filter by severity (CRITICAL, HIGH, MEDIUM, LOW) | - | No |
90
+ | `--json` | Output in JSON format | - | No |
91
+
92
+ ### `scans remove` (alias: `rm`)
93
+
94
+ Delete a vulnerability scan
95
+
96
+ **Options:**
97
+
98
+ | Flag | Description | Default | Required |
99
+ |------|-------------|---------|----------|
100
+ | `--id <id>` | Scan ID | - | Yes |
101
+ | `-f, --force` | Skip confirmation | - | No |
102
+ | `-y, --yes` | Skip confirmation prompts (alias for --force) | - | No |
103
+
104
+ ### `scans by-deployment`
105
+
106
+ Get the scan for a specific deployment
107
+
108
+ **Options:**
109
+
110
+ | Flag | Description | Default | Required |
111
+ |------|-------------|---------|----------|
112
+ | `--deployment-id <id>` | Deployment ID | - | Yes |
113
+ | `--json` | Output in JSON format | - | No |
@@ -0,0 +1,75 @@
1
+ <!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
2
+
3
+ # `secrets` command reference
4
+
5
+ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
6
+
7
+ ## `secrets` (alias: `secret`)
8
+
9
+ Manage agent secrets. env-type: reference as ${TEMPS_SECRET:name} in MCP config. file-type: written to --mount-path in sandbox; reference that path.
10
+
11
+ **Subcommands:**
12
+
13
+ - `list` (`ls`) - List all secrets (values are masked)
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
+ - `delete` (`rm`) - Delete a secret
17
+
18
+ ### `secrets list` (alias: `ls`)
19
+
20
+ List all secrets (values are masked)
21
+
22
+ **Options:**
23
+
24
+ | Flag | Description | Default | Required |
25
+ |------|-------------|---------|----------|
26
+ | `--json` | Output in JSON format | - | No |
27
+
28
+ ### `secrets create` (alias: `add`)
29
+
30
+ Create or update a secret (upsert by name). Prefer --value-file or --value-stdin, which keep the value out of shell history
31
+
32
+ **Options:**
33
+
34
+ | Flag | Description | Default | Required |
35
+ |------|-------------|---------|----------|
36
+ | `-n, --name <name>` | Secret name | - | Yes |
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
+ | `-t, --type <type>` | Secret type: "env" (default) or "file" | `env` | No |
39
+ | `-m, --mount-path <path>` | Absolute path inside sandbox where file-type secret is written (required for --type file) | - | No |
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 |
45
+
46
+ ### `secrets update`
47
+
48
+ Update an existing secret (alias for create — upserts). The value must be re-supplied: the server never returns it
49
+
50
+ **Options:**
51
+
52
+ | Flag | Description | Default | Required |
53
+ |------|-------------|---------|----------|
54
+ | `-n, --name <name>` | Secret name | - | Yes |
55
+ | `-v, --value <value>` | New value on the command line (visible in shell history). `-v @path` is deprecated: use --value-file | - | No |
56
+ | `-t, --type <type>` | Secret type: "env" or "file" | - | No |
57
+ | `-m, --mount-path <path>` | New mount path (file type only) | - | No |
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 |
63
+
64
+ ### `secrets delete` (alias: `rm`)
65
+
66
+ Delete a secret
67
+
68
+ **Usage:** `secrets delete <name> [options]`
69
+
70
+ **Options:**
71
+
72
+ | Flag | Description | Default | Required |
73
+ |------|-------------|---------|----------|
74
+ | `-f, --force` | Skip confirmation | - | No |
75
+ | `-y, --yes` | Skip confirmation (alias for --force) | - | No |