@temps-sdk/cli 0.1.37 → 0.1.38

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 (126) hide show
  1. package/dist/index.js +14295 -25419
  2. package/dist/skills/temps/SKILL.md +140 -0
  3. package/dist/skills/temps/agents/openai.yaml +7 -0
  4. package/dist/skills/temps/evals/evals.json +95 -0
  5. package/dist/skills/temps/howtos/backup-recovery.md +41 -0
  6. package/dist/skills/temps/howtos/ci-automation.md +18 -0
  7. package/dist/skills/temps/howtos/deploy-application.md +29 -0
  8. package/dist/skills/temps/howtos/diagnose-deployment.md +17 -0
  9. package/dist/skills/temps/howtos/framework-routing.md +28 -0
  10. package/dist/skills/temps/howtos/javascript-typescript.md +57 -0
  11. package/dist/skills/temps/howtos/managed-services.md +83 -0
  12. package/dist/skills/temps/howtos/observability-onboarding.md +52 -0
  13. package/dist/skills/temps/howtos/projects-and-monorepos.md +49 -0
  14. package/dist/skills/temps/howtos/python.md +42 -0
  15. package/dist/skills/temps/howtos/rust.md +30 -0
  16. package/dist/skills/temps/references/cli-runtime.md +68 -0
  17. package/dist/skills/temps/references/commands/INDEX.md +97 -0
  18. package/dist/skills/temps/references/commands/access.md +49 -0
  19. package/dist/skills/temps/references/commands/ai.md +43 -0
  20. package/dist/skills/temps/references/commands/alarms.md +87 -0
  21. package/dist/skills/temps/references/commands/analytics.md +369 -0
  22. package/dist/skills/temps/references/commands/apikeys.md +96 -0
  23. package/dist/skills/temps/references/commands/audit.md +41 -0
  24. package/dist/skills/temps/references/commands/backups.md +263 -0
  25. package/dist/skills/temps/references/commands/cloud.md +371 -0
  26. package/dist/skills/temps/references/commands/cluster.md +31 -0
  27. package/dist/skills/temps/references/commands/configure.md +55 -0
  28. package/dist/skills/temps/references/commands/containers.md +110 -0
  29. package/dist/skills/temps/references/commands/context.md +49 -0
  30. package/dist/skills/temps/references/commands/custom-domains.md +98 -0
  31. package/dist/skills/temps/references/commands/data.md +90 -0
  32. package/dist/skills/temps/references/commands/delivery-profiles.md +69 -0
  33. package/dist/skills/temps/references/commands/delivery.md +116 -0
  34. package/dist/skills/temps/references/commands/deploy-image.md +23 -0
  35. package/dist/skills/temps/references/commands/deploy-local-image.md +28 -0
  36. package/dist/skills/temps/references/commands/deploy-static.md +23 -0
  37. package/dist/skills/temps/references/commands/deploy.md +21 -0
  38. package/dist/skills/temps/references/commands/deployments.md +172 -0
  39. package/dist/skills/temps/references/commands/dns-provider.md +196 -0
  40. package/dist/skills/temps/references/commands/dns.md +181 -0
  41. package/dist/skills/temps/references/commands/domains.md +187 -0
  42. package/dist/skills/temps/references/commands/drop.md +21 -0
  43. package/dist/skills/temps/references/commands/dsn.md +84 -0
  44. package/dist/skills/temps/references/commands/email-domains.md +160 -0
  45. package/dist/skills/temps/references/commands/email-providers.md +91 -0
  46. package/dist/skills/temps/references/commands/emails.md +79 -0
  47. package/dist/skills/temps/references/commands/env-pull.md +16 -0
  48. package/dist/skills/temps/references/commands/env-push.md +17 -0
  49. package/dist/skills/temps/references/commands/environments.md +252 -0
  50. package/dist/skills/temps/references/commands/errors.md +250 -0
  51. package/dist/skills/temps/references/commands/facets.md +57 -0
  52. package/dist/skills/temps/references/commands/flags.md +143 -0
  53. package/dist/skills/temps/references/commands/funnels.md +92 -0
  54. package/dist/skills/temps/references/commands/incidents.md +111 -0
  55. package/dist/skills/temps/references/commands/init.md +16 -0
  56. package/dist/skills/temps/references/commands/instances.md +56 -0
  57. package/dist/skills/temps/references/commands/instantiations.md +53 -0
  58. package/dist/skills/temps/references/commands/ip-access.md +153 -0
  59. package/dist/skills/temps/references/commands/link.md +15 -0
  60. package/dist/skills/temps/references/commands/load-balancer.md +73 -0
  61. package/dist/skills/temps/references/commands/login.md +17 -0
  62. package/dist/skills/temps/references/commands/logout.md +16 -0
  63. package/dist/skills/temps/references/commands/logs.md +167 -0
  64. package/dist/skills/temps/references/commands/mcp-servers.md +70 -0
  65. package/dist/skills/temps/references/commands/mcp.md +65 -0
  66. package/dist/skills/temps/references/commands/metrics.md +79 -0
  67. package/dist/skills/temps/references/commands/migrate.md +109 -0
  68. package/dist/skills/temps/references/commands/monitors.md +92 -0
  69. package/dist/skills/temps/references/commands/nodes.md +200 -0
  70. package/dist/skills/temps/references/commands/notification-preferences.md +47 -0
  71. package/dist/skills/temps/references/commands/notifications.md +211 -0
  72. package/dist/skills/temps/references/commands/open.md +17 -0
  73. package/dist/skills/temps/references/commands/otel-forward.md +210 -0
  74. package/dist/skills/temps/references/commands/otel.md +38 -0
  75. package/dist/skills/temps/references/commands/platform.md +147 -0
  76. package/dist/skills/temps/references/commands/plugin.md +193 -0
  77. package/dist/skills/temps/references/commands/presets.md +35 -0
  78. package/dist/skills/temps/references/commands/project-groups.md +255 -0
  79. package/dist/skills/temps/references/commands/projects.md +270 -0
  80. package/dist/skills/temps/references/commands/providers.md +277 -0
  81. package/dist/skills/temps/references/commands/proxy-logs.md +85 -0
  82. package/dist/skills/temps/references/commands/revenue.md +48 -0
  83. package/dist/skills/temps/references/commands/rollback.md +18 -0
  84. package/dist/skills/temps/references/commands/runtime-logs.md +21 -0
  85. package/dist/skills/temps/references/commands/sandbox.md +428 -0
  86. package/dist/skills/temps/references/commands/scans.md +113 -0
  87. package/dist/skills/temps/references/commands/secrets.md +65 -0
  88. package/dist/skills/temps/references/commands/server.md +50 -0
  89. package/dist/skills/temps/references/commands/services.md +636 -0
  90. package/dist/skills/temps/references/commands/session-replay.md +76 -0
  91. package/dist/skills/temps/references/commands/settings.md +84 -0
  92. package/dist/skills/temps/references/commands/setup.md +25 -0
  93. package/dist/skills/temps/references/commands/skills.md +87 -0
  94. package/dist/skills/temps/references/commands/start.md +20 -0
  95. package/dist/skills/temps/references/commands/status-pages.md +188 -0
  96. package/dist/skills/temps/references/commands/status.md +17 -0
  97. package/dist/skills/temps/references/commands/stop.md +16 -0
  98. package/dist/skills/temps/references/commands/teams.md +129 -0
  99. package/dist/skills/temps/references/commands/templates.md +61 -0
  100. package/dist/skills/temps/references/commands/tokens.md +77 -0
  101. package/dist/skills/temps/references/commands/traces.md +42 -0
  102. package/dist/skills/temps/references/commands/traefik-discovery.md +113 -0
  103. package/dist/skills/temps/references/commands/up.md +25 -0
  104. package/dist/skills/temps/references/commands/users.md +99 -0
  105. package/dist/skills/temps/references/commands/webhooks.md +165 -0
  106. package/dist/skills/temps/references/commands/whoami.md +15 -0
  107. package/dist/skills/temps/references/commands/workflow.md +42 -0
  108. package/dist/skills/temps/references/observability/analytics.md +146 -0
  109. package/dist/skills/temps/references/observability/error-tracking.md +73 -0
  110. package/dist/skills/temps/references/observability/hygiene.md +112 -0
  111. package/dist/skills/temps/references/observability/logs.md +43 -0
  112. package/dist/skills/temps/references/observability/metrics.md +41 -0
  113. package/dist/skills/temps/references/observability/tracing.md +392 -0
  114. package/dist/skills/temps/references/runtime-contract.md +115 -0
  115. package/dist/skills/temps/references/workflows/platform-operations.md +154 -0
  116. package/dist/skills/temps/scripts/__pycache__/generate_command_references.cpython-314.pyc +0 -0
  117. package/dist/skills/temps/scripts/__pycache__/test_generate_command_references.cpython-314.pyc +0 -0
  118. package/dist/skills/temps/scripts/__pycache__/test_validate_skill.cpython-314.pyc +0 -0
  119. package/dist/skills/temps/scripts/__pycache__/validate_skill.cpython-314.pyc +0 -0
  120. package/dist/skills/temps/scripts/detect_project_capabilities.py +239 -0
  121. package/dist/skills/temps/scripts/generate_command_references.py +144 -0
  122. package/dist/skills/temps/scripts/test_detect_project_capabilities.py +124 -0
  123. package/dist/skills/temps/scripts/test_generate_command_references.py +128 -0
  124. package/dist/skills/temps/scripts/test_validate_skill.py +84 -0
  125. package/dist/skills/temps/scripts/validate_skill.py +111 -0
  126. package/package.json +2 -2
@@ -0,0 +1,21 @@
1
+ <!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
2
+
3
+ # `runtime-logs` command reference
4
+
5
+ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
6
+
7
+ ## `runtime-logs` (alias: `rlogs`)
8
+
9
+ View runtime container logs (use -f to follow in real-time)
10
+
11
+ **Options:**
12
+
13
+ | Flag | Description | Default | Required |
14
+ |------|-------------|---------|----------|
15
+ | `-p, --project <project>` | Project slug or ID | - | No |
16
+ | `-e, --environment <env>` | Environment name | `production` | No |
17
+ | `-c, --container <id>` | Container ID (partial match supported) | - | No |
18
+ | `-d, --deployment <id>` | Deployment ID, including failed retained containers | - | No |
19
+ | `-n, --tail <lines>` | Number of lines to tail | `1000` | No |
20
+ | `-t, --timestamps` | Show timestamps | - | No |
21
+ | `-f, --follow` | Follow log output (stream in real-time) | - | No |
@@ -0,0 +1,428 @@
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 fs`](#sandbox-fs)
25
+ - [`sandbox snapshots`](#sandbox-snapshots)
26
+ - [`sandbox snapshot`](#sandbox-snapshot)
27
+
28
+ ## `sandbox`
29
+
30
+ Manage standalone sandboxes (/v1/sandbox API)
31
+
32
+ **Subcommands:**
33
+
34
+ - `create` - Create a new sandbox
35
+ - `list` (`ls`) - List your sandboxes
36
+ - `nodes` - List nodes that can run sandboxes and control which ones take new sandboxes
37
+ - `show` - Show details for a sandbox
38
+ - `rm` (`stop`, `destroy`) - Remove a sandbox permanently (aliases: stop, destroy)
39
+ - `pause` - Pause a running sandbox (non-destructive — resume later with `sandbox resume`)
40
+ - `resume` - Resume a paused sandbox
41
+ - `restart` - Restart a running sandbox (preserves filesystem)
42
+ - `clone` - Clone a git repo or extract a tarball into a running sandbox
43
+ - `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
44
+ - `extend` - Extend a sandbox's idle timeout
45
+ - `exec` - Run a command inside a sandbox. Use `--` to pass flags: `exec ID -- ls -la`
46
+ - `logs` - Stream logs from a detached job (SSE)
47
+ - `domain` - Resolve the preview URL for a port inside a sandbox
48
+ - `password` - Generate, rotate, or clear the preview-URL password for a sandbox
49
+ - `fs` - Filesystem operations inside a sandbox
50
+ - `snapshots` - Manage sandbox snapshots (ADR-037)
51
+ - `snapshot` - Take a snapshot of a sandbox
52
+
53
+ ### `sandbox create`
54
+
55
+ Create a new sandbox
56
+
57
+ **Options:**
58
+
59
+ | Flag | Description | Default | Required |
60
+ |------|-------------|---------|----------|
61
+ | `--image <image>` | Docker image override (uses platform default when omitted) | - | No |
62
+ | `--name <name>` | Display name for the sandbox | - | No |
63
+ | `--timeout <seconds>` | Idle timeout in seconds (clamped to [60, 86400]) | - | No |
64
+ | `-e, --env <KEY=VAL>` | Env var baked into the container (repeatable) | - | No |
65
+ | `--cpu-limit <cpu>` | CPU limit (e.g., 0.5 for half a core) | - | No |
66
+ | `--memory-mb <mb>` | Memory limit in megabytes | - | No |
67
+ | `--git-url <url>` | Git repo URL to clone into the work dir | - | No |
68
+ | `--git-rev <revision>` | Git revision to check out (requires --git-url) | - | No |
69
+ | `--git-depth <n>` | Shallow clone depth (requires --git-url) | - | No |
70
+ | `--git-connection <id>` | ID of a stored git provider connection; temps injects the token server-side | - | No |
71
+ | `--git-username <user>` | HTTP Basic username for private repo clone (requires --git-password) | - | No |
72
+ | `--git-password <token>` | HTTP Basic password/token (paired with --git-username; injected via GIT_ASKPASS) | - | No |
73
+ | `--tarball-url <url>` | Tarball URL to download and extract | - | No |
74
+ | `--workspace` | Create a persistent workspace: suspends when idle, wakes automatically on the next command, and is never destroyed for you | - | No |
75
+ | `--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 |
76
+ | `--repo <owner/name>` | Seed from a repo on one of your git connections that has no temps project | - | No |
77
+ | `--branch <ref>` | Branch, tag, or SHA to check out (alias of --git-rev) | - | No |
78
+ | `--new-branch <name>` | Create and switch to a new branch after cloning, based on whatever was checked out | - | No |
79
+ | `--preview-password` | Generate a random preview-URL password and print it once on stdout | - | No |
80
+ | `--preview-password-length <n>` | Length of the generated preview password (8..=256, default 24) | - | No |
81
+ | `--from-snapshot <snap-id>` | Create sandbox from a snapshot (mutually exclusive with --image) | - | No |
82
+ | `--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
+ | `--backend <backend>` | Isolation backend: docker, firecracker, microsandbox. Omit for the host default. An unavailable backend fails instead of downgrading | - | No |
84
+ | `--allow-docker` | Allow installing/running Docker inside microsandbox; relaxes guest privilege restrictions. Requires --backend microsandbox | - | No |
85
+ | `--json` | Output as JSON | - | No |
86
+
87
+ ### `sandbox list` (alias: `ls`)
88
+
89
+ List your sandboxes
90
+
91
+ **Options:**
92
+
93
+ | Flag | Description | Default | Required |
94
+ |------|-------------|---------|----------|
95
+ | `--page <n>` | Page (1-indexed) | - | No |
96
+ | `--page-size <n>` | Items per page (default 20, max 100) | - | No |
97
+ | `--workspace` | Show only persistent workspaces | - | No |
98
+ | `--lifecycle <class>` | Filter by lifecycle class: ephemeral \| workspace | - | No |
99
+ | `--project <slug>` | Show only sandboxes created from this project | - | No |
100
+ | `--json` | Output as JSON | - | No |
101
+
102
+ ### `sandbox nodes`
103
+
104
+ List nodes that can run sandboxes and control which ones take new sandboxes
105
+
106
+ **Subcommands:**
107
+
108
+ - `list` - List nodes with their sandbox placement state (the default)
109
+ - `show` - Show a node's placement state and every live sandbox on it, from all users (name, id, or 'control-plane'). Admin only
110
+ - `set` - Allow exactly these nodes to run new sandboxes, replacing the list (names, ids, or 'control-plane'). Admin only
111
+ - `allow` - Add nodes to the list allowed to run new sandboxes. Admin only
112
+ - `deny` - Stop nodes from taking new sandboxes (existing ones keep running). Admin only
113
+ - `allow-all` - Allow every node, including the control plane, to run sandboxes (the default). Admin only
114
+ - `deny-all` - Stop every node from taking new sandboxes (existing ones keep running). Admin only
115
+ - `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
116
+
117
+ #### `sandbox nodes list`
118
+
119
+ List nodes with their sandbox placement state (the default)
120
+
121
+ **Options:**
122
+
123
+ | Flag | Description | Default | Required |
124
+ |------|-------------|---------|----------|
125
+ | `--json` | Output as JSON | - | No |
126
+
127
+ #### `sandbox nodes show`
128
+
129
+ Show a node's placement state and every live sandbox on it, from all users (name, id, or 'control-plane'). Admin only
130
+
131
+ **Options:**
132
+
133
+ | Flag | Description | Default | Required |
134
+ |------|-------------|---------|----------|
135
+ | `--page <n>` | Page number (default 1) | - | No |
136
+ | `--page-size <n>` | Items per page (default 20, max 100) | - | No |
137
+ | `--json` | Output as JSON | - | No |
138
+
139
+ #### `sandbox nodes set`
140
+
141
+ Allow exactly these nodes to run new sandboxes, replacing the list (names, ids, or 'control-plane'). Admin only
142
+
143
+ **Options:**
144
+
145
+ | Flag | Description | Default | Required |
146
+ |------|-------------|---------|----------|
147
+ | `--json` | Output as JSON | - | No |
148
+
149
+ #### `sandbox nodes allow`
150
+
151
+ Add nodes to the list allowed to run new sandboxes. Admin only
152
+
153
+ **Options:**
154
+
155
+ | Flag | Description | Default | Required |
156
+ |------|-------------|---------|----------|
157
+ | `--json` | Output as JSON | - | No |
158
+
159
+ #### `sandbox nodes deny`
160
+
161
+ Stop nodes from taking new sandboxes (existing ones keep running). Admin only
162
+
163
+ **Options:**
164
+
165
+ | Flag | Description | Default | Required |
166
+ |------|-------------|---------|----------|
167
+ | `--json` | Output as JSON | - | No |
168
+
169
+ #### `sandbox nodes allow-all`
170
+
171
+ Allow every node, including the control plane, to run sandboxes (the default). Admin only
172
+
173
+ **Options:**
174
+
175
+ | Flag | Description | Default | Required |
176
+ |------|-------------|---------|----------|
177
+ | `--json` | Output as JSON | - | No |
178
+
179
+ #### `sandbox nodes deny-all`
180
+
181
+ Stop every node from taking new sandboxes (existing ones keep running). Admin only
182
+
183
+ **Options:**
184
+
185
+ | Flag | Description | Default | Required |
186
+ |------|-------------|---------|----------|
187
+ | `--json` | Output as JSON | - | No |
188
+
189
+ #### `sandbox nodes evict`
190
+
191
+ 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
+
193
+ **Options:**
194
+
195
+ | Flag | Description | Default | Required |
196
+ |------|-------------|---------|----------|
197
+ | `-f, --force` | Skip confirmation prompt | - | No |
198
+ | `--json` | Output as JSON | - | No |
199
+
200
+ ### `sandbox show`
201
+
202
+ Show details for a sandbox
203
+
204
+ **Options:**
205
+
206
+ | Flag | Description | Default | Required |
207
+ |------|-------------|---------|----------|
208
+ | `--json` | Output as JSON | - | No |
209
+
210
+ ### `sandbox rm` (alias: `stop`, `destroy`)
211
+
212
+ Remove a sandbox permanently (aliases: stop, destroy)
213
+
214
+ **Options:**
215
+
216
+ | Flag | Description | Default | Required |
217
+ |------|-------------|---------|----------|
218
+ | `-f, --force` | Skip confirmation prompt | - | No |
219
+
220
+ ### `sandbox pause`
221
+
222
+ Pause a running sandbox (non-destructive — resume later with `sandbox resume`)
223
+
224
+ ### `sandbox resume`
225
+
226
+ Resume a paused sandbox
227
+
228
+ ### `sandbox restart`
229
+
230
+ Restart a running sandbox (preserves filesystem)
231
+
232
+ ### `sandbox clone`
233
+
234
+ Clone a git repo or extract a tarball into a running sandbox
235
+
236
+ **Options:**
237
+
238
+ | Flag | Description | Default | Required |
239
+ |------|-------------|---------|----------|
240
+ | `--git-url <url>` | Git repo URL to clone | - | No |
241
+ | `--git-rev <revision>` | Git revision (branch/tag/SHA) to check out | - | No |
242
+ | `--git-depth <n>` | Shallow clone depth | - | No |
243
+ | `--git-connection <id>` | ID of a stored git provider connection; temps injects the token server-side | - | No |
244
+ | `--git-username <user>` | HTTP Basic username (pairs with --git-password) | - | No |
245
+ | `--git-password <token>` | HTTP Basic password/token (injected via GIT_ASKPASS) | - | No |
246
+ | `--tarball-url <url>` | Tarball URL to download and extract | - | No |
247
+
248
+ ### `sandbox shell` (alias: `attach`)
249
+
250
+ 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
+
252
+ **Options:**
253
+
254
+ | Flag | Description | Default | Required |
255
+ |------|-------------|---------|----------|
256
+ | `--tab <name>` | Tab to attach to; reusing a name reattaches to the program already running in it | `main` | No |
257
+ | `--cmd <command>` | Program to start when the tab is created, e.g. "claude" (default: login shell) | - | No |
258
+
259
+ ### `sandbox extend`
260
+
261
+ Extend a sandbox's idle timeout
262
+
263
+ **Options:**
264
+
265
+ | Flag | Description | Default | Required |
266
+ |------|-------------|---------|----------|
267
+ | `--secs <seconds>` | Extra seconds to add to the current expiry | - | Yes |
268
+
269
+ ### `sandbox exec`
270
+
271
+ Run a command inside a sandbox. Use `--` to pass flags: `exec ID -- ls -la`
272
+
273
+ **Options:**
274
+
275
+ | Flag | Description | Default | Required |
276
+ |------|-------------|---------|----------|
277
+ | `--detach` | Start in background and print a job ID instead of waiting | - | No |
278
+ | `--cwd <path>` | Working directory inside the sandbox | - | No |
279
+ | `-e, --env <KEY=VAL>` | Env var for this exec (repeatable) | - | No |
280
+
281
+ ### `sandbox logs`
282
+
283
+ Stream logs from a detached job (SSE)
284
+
285
+ ### `sandbox domain`
286
+
287
+ Resolve the preview URL for a port inside a sandbox
288
+
289
+ **Options:**
290
+
291
+ | Flag | Description | Default | Required |
292
+ |------|-------------|---------|----------|
293
+ | `--port <port>` | Port inside the sandbox (1..=65535) | - | Yes |
294
+
295
+ ### `sandbox password`
296
+
297
+ Generate, rotate, or clear the preview-URL password for a sandbox
298
+
299
+ **Options:**
300
+
301
+ | Flag | Description | Default | Required |
302
+ |------|-------------|---------|----------|
303
+ | `--rotate` | Generate a new random password and set it (default when no flag is given) | - | No |
304
+ | `--length <n>` | Length of the generated password (8..=256, default 24) | - | No |
305
+ | `--clear` | Remove the preview password — preview URLs become open again | - | No |
306
+
307
+ ### `sandbox fs`
308
+
309
+ Filesystem operations inside a sandbox
310
+
311
+ **Subcommands:**
312
+
313
+ - `read` - Read a file from the sandbox
314
+ - `write` - Write a file to the sandbox
315
+ - `stat` - Stat a path inside the sandbox
316
+ - `mkdir` - Create a directory inside the sandbox (mkdir -p)
317
+
318
+ #### `sandbox fs read`
319
+
320
+ Read a file from the sandbox
321
+
322
+ **Options:**
323
+
324
+ | Flag | Description | Default | Required |
325
+ |------|-------------|---------|----------|
326
+ | `--path <path>` | Absolute file path inside the sandbox | - | Yes |
327
+ | `--out <localPath>` | Write to this local file (stdout when omitted) | - | No |
328
+
329
+ #### `sandbox fs write`
330
+
331
+ Write a file to the sandbox
332
+
333
+ **Options:**
334
+
335
+ | Flag | Description | Default | Required |
336
+ |------|-------------|---------|----------|
337
+ | `--path <path>` | Absolute target path inside the sandbox | - | Yes |
338
+ | `--file <localPath>` | Local source file to upload (mutually exclusive with --content) | - | No |
339
+ | `--content <string>` | Inline string content to write | - | No |
340
+ | `--mode <octal>` | Unix permission mask (default: 0644) | - | No |
341
+
342
+ #### `sandbox fs stat`
343
+
344
+ Stat a path inside the sandbox
345
+
346
+ **Options:**
347
+
348
+ | Flag | Description | Default | Required |
349
+ |------|-------------|---------|----------|
350
+ | `--path <path>` | Absolute path inside the sandbox | - | Yes |
351
+ | `--json` | Output as JSON | - | No |
352
+
353
+ #### `sandbox fs mkdir`
354
+
355
+ Create a directory inside the sandbox (mkdir -p)
356
+
357
+ **Options:**
358
+
359
+ | Flag | Description | Default | Required |
360
+ |------|-------------|---------|----------|
361
+ | `--path <path>` | Absolute path inside the sandbox | - | Yes |
362
+
363
+ ### `sandbox snapshots`
364
+
365
+ Manage sandbox snapshots (ADR-037)
366
+
367
+ **Subcommands:**
368
+
369
+ - `list` (`ls`) - List your snapshots
370
+ - `show` - Show details for a snapshot
371
+ - `delete` (`rm`) - Delete a snapshot permanently
372
+ - `storage` - Show snapshot storage usage and quota
373
+
374
+ #### `sandbox snapshots list` (alias: `ls`)
375
+
376
+ List your snapshots
377
+
378
+ **Options:**
379
+
380
+ | Flag | Description | Default | Required |
381
+ |------|-------------|---------|----------|
382
+ | `--project <id>` | Filter by project ID | - | No |
383
+ | `--status <status>` | Filter by status: creating \| ready \| failed \| deleted | - | No |
384
+ | `--page <n>` | Page number (1-indexed) | - | No |
385
+ | `--page-size <n>` | Items per page (default 20, max 100) | - | No |
386
+ | `--json` | Output as JSON | - | No |
387
+
388
+ #### `sandbox snapshots show`
389
+
390
+ Show details for a snapshot
391
+
392
+ **Options:**
393
+
394
+ | Flag | Description | Default | Required |
395
+ |------|-------------|---------|----------|
396
+ | `--json` | Output as JSON | - | No |
397
+
398
+ #### `sandbox snapshots delete` (alias: `rm`)
399
+
400
+ Delete a snapshot permanently
401
+
402
+ **Options:**
403
+
404
+ | Flag | Description | Default | Required |
405
+ |------|-------------|---------|----------|
406
+ | `-f, --force` | Skip confirmation prompt | - | No |
407
+
408
+ #### `sandbox snapshots storage`
409
+
410
+ Show snapshot storage usage and quota
411
+
412
+ **Options:**
413
+
414
+ | Flag | Description | Default | Required |
415
+ |------|-------------|---------|----------|
416
+ | `--json` | Output as JSON | - | No |
417
+
418
+ ### `sandbox snapshot`
419
+
420
+ Take a snapshot of a sandbox
421
+
422
+ **Options:**
423
+
424
+ | Flag | Description | Default | Required |
425
+ |------|-------------|---------|----------|
426
+ | `--label <label>` | Human-readable label for the snapshot | - | No |
427
+ | `--wait` | Wait until the snapshot reaches ready or failed status | - | No |
428
+ | `--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,65 @@
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)
15
+ - `update` - Update an existing secret (alias for create — upserts)
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)
31
+
32
+ **Options:**
33
+
34
+ | Flag | Description | Default | Required |
35
+ |------|-------------|---------|----------|
36
+ | `-n, --name <name>` | Secret name | - | Yes |
37
+ | `-v, --value <value>` | Secret value. Prefix with @ to read from file (e.g. @./creds.json) | - | Yes |
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
+
42
+ ### `secrets update`
43
+
44
+ Update an existing secret (alias for create — upserts)
45
+
46
+ **Options:**
47
+
48
+ | Flag | Description | Default | Required |
49
+ |------|-------------|---------|----------|
50
+ | `-n, --name <name>` | Secret name | - | Yes |
51
+ | `-v, --value <value>` | New value. Prefix with @ to read from file | - | No |
52
+ | `-t, --type <type>` | Secret type: "env" or "file" | - | No |
53
+ | `-m, --mount-path <path>` | New mount path (file type only) | - | No |
54
+ | `-d, --description <description>` | New description | - | No |
55
+
56
+ ### `secrets delete` (alias: `rm`)
57
+
58
+ Delete a secret
59
+
60
+ **Options:**
61
+
62
+ | Flag | Description | Default | Required |
63
+ |------|-------------|---------|----------|
64
+ | `-f, --force` | Skip confirmation | - | No |
65
+ | `-y, --yes` | Skip confirmation (alias for --force) | - | No |
@@ -0,0 +1,50 @@
1
+ <!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
2
+
3
+ # `server` command reference
4
+
5
+ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
6
+
7
+ ## `server`
8
+
9
+ Resource usage of the machine running the Temps control plane (what /monitoring/server shows)
10
+
11
+ **Subcommands:**
12
+
13
+ - `status` - Latest CPU, memory, disk, block I/O and network I/O sample for the control-plane host
14
+ - `metrics` - Time series of one control-plane host metric, e.g. node.cpu_percent or node.network_rx_bytes_total
15
+ - `docker-disk-usage` (`df`) - Docker disk usage by images, containers, volumes and build cache (docker system df) on the control-plane host
16
+
17
+ ### `server status`
18
+
19
+ Latest CPU, memory, disk, block I/O and network I/O sample for the control-plane host
20
+
21
+ **Options:**
22
+
23
+ | Flag | Description | Default | Required |
24
+ |------|-------------|---------|----------|
25
+ | `--node <id>` | Node ID (0 = control plane) | `0` | No |
26
+ | `--json` | Output in JSON format | - | No |
27
+
28
+ ### `server metrics`
29
+
30
+ Time series of one control-plane host metric, e.g. node.cpu_percent or node.network_rx_bytes_total
31
+
32
+ **Options:**
33
+
34
+ | Flag | Description | Default | Required |
35
+ |------|-------------|---------|----------|
36
+ | `--metric <name>` | Metric name (node.cpu_percent, node.memory_used_bytes, node.disk_used_bytes, node.disk_read_bytes_total, node.network_tx_bytes_total, ...) | - | Yes |
37
+ | `--range <range>` | Time window: 1h, 6h, 24h, 7d | `1h` | No |
38
+ | `--node <id>` | Node ID (0 = control plane) | `0` | No |
39
+ | `--json` | Output in JSON format | - | No |
40
+
41
+ ### `server docker-disk-usage` (alias: `df`)
42
+
43
+ Docker disk usage by images, containers, volumes and build cache (docker system df) on the control-plane host
44
+
45
+ **Options:**
46
+
47
+ | Flag | Description | Default | Required |
48
+ |------|-------------|---------|----------|
49
+ | `--node <id>` | Node ID (0 = control plane) | `0` | No |
50
+ | `--json` | Output in JSON format | - | No |