@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,292 @@
1
+ <!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
2
+
3
+ # `project-groups` command reference
4
+
5
+ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
6
+
7
+ ## `project-groups` (alias: `pg`)
8
+
9
+ Manage Projects (what the console calls a Project): groups of services that ship together and share a repository, variables and path routes. A service is what the `projects` command manages; the `services` command manages databases and caches, not these.
10
+
11
+ **Subcommands:**
12
+
13
+ - `list` (`ls`) - List projects (groups) and their services
14
+ - `show` (`get`) - Show a project (group), by slug or id
15
+ - `create` (`new`) - Create a project (group), optionally with services
16
+ - `update` (`edit`) - Rename a project (group) or change its description
17
+ - `delete` (`rm`) - Delete a project (group); its services keep running as standalone services
18
+ - `add` - Add services to a project (group), by slug or id as listed by `projects list`; moves them out of any other project
19
+ - `remove` - Remove a service (slug or id) from a project (group); it becomes a standalone service
20
+ - `repo` - The repository a project deploys its services from (monorepos)
21
+ - `import` - Scan the project's repository and add its apps as services that follow it
22
+ - `follow` - Make a service follow the project's repository and branch (keeps its directory)
23
+ - `unfollow` - Stop a service following the project's repository; it keeps its current settings
24
+ - `routes` - Serve a path of one service's domains from another service (e.g. /api → backend)
25
+ - `vars` - Variables shared by every service in a project (group)
26
+
27
+ ### `project-groups list` (alias: `ls`)
28
+
29
+ List projects (groups) and their services
30
+
31
+ **Options:**
32
+
33
+ | Flag | Description | Default | Required |
34
+ |------|-------------|---------|----------|
35
+ | `--page <n>` | Page number (default 1) | - | No |
36
+ | `--per-page <n>` | How many per page (default 100, at most 100) | - | No |
37
+ | `--json` | Output in JSON format | - | No |
38
+
39
+ ### `project-groups show` (alias: `get`)
40
+
41
+ Show a project (group), by slug or id
42
+
43
+ **Usage:** `project-groups show <group> [options]`
44
+
45
+ **Options:**
46
+
47
+ | Flag | Description | Default | Required |
48
+ |------|-------------|---------|----------|
49
+ | `--json` | Output in JSON format | - | No |
50
+
51
+ ### `project-groups create` (alias: `new`)
52
+
53
+ Create a project (group), optionally with services
54
+
55
+ **Options:**
56
+
57
+ | Flag | Description | Default | Required |
58
+ |------|-------------|---------|----------|
59
+ | `-n, --name <name>` | Project name | - | No |
60
+ | `-s, --slug <slug>` | URL slug (derived from the name when omitted) | - | No |
61
+ | `-d, --description <text>` | What the services do together | - | No |
62
+ | `--service <service...>` | Services to put in the project, by slug or id as listed by `projects list` (apps, not the databases of the `services` command) | - | No |
63
+ | `--json` | Output in JSON format | - | No |
64
+
65
+ ### `project-groups update` (alias: `edit`)
66
+
67
+ Rename a project (group) or change its description
68
+
69
+ **Usage:** `project-groups update <group> [options]`
70
+
71
+ **Options:**
72
+
73
+ | Flag | Description | Default | Required |
74
+ |------|-------------|---------|----------|
75
+ | `-n, --name <name>` | New name | - | No |
76
+ | `-s, --slug <slug>` | New slug | - | No |
77
+ | `-d, --description <text>` | New description ("" clears it) | - | No |
78
+ | `--json` | Output in JSON format | - | No |
79
+
80
+ ### `project-groups delete` (alias: `rm`)
81
+
82
+ Delete a project (group); its services keep running as standalone services
83
+
84
+ **Usage:** `project-groups delete <group> [options]`
85
+
86
+ **Options:**
87
+
88
+ | Flag | Description | Default | Required |
89
+ |------|-------------|---------|----------|
90
+ | `-y, --yes` | Skip confirmation | - | No |
91
+
92
+ ### `project-groups add`
93
+
94
+ Add services to a project (group), by slug or id as listed by `projects list`; moves them out of any other project
95
+
96
+ **Usage:** `project-groups add <group> <services...>`
97
+
98
+ ### `project-groups remove`
99
+
100
+ Remove a service (slug or id) from a project (group); it becomes a standalone service
101
+
102
+ **Usage:** `project-groups remove <group> <service>`
103
+
104
+ ### `project-groups repo`
105
+
106
+ The repository a project deploys its services from (monorepos)
107
+
108
+ **Subcommands:**
109
+
110
+ - `show` - Show the project's repository and which services follow it
111
+ - `set` - Point the project at a repository and branch; services that follow it are updated to match
112
+ - `unset` - Remove the repository; services keep their current settings and stop following
113
+
114
+ #### `project-groups repo show`
115
+
116
+ Show the project's repository and which services follow it
117
+
118
+ **Usage:** `project-groups repo show <group> [options]`
119
+
120
+ **Options:**
121
+
122
+ | Flag | Description | Default | Required |
123
+ |------|-------------|---------|----------|
124
+ | `--json` | Output in JSON format | - | No |
125
+
126
+ #### `project-groups repo set`
127
+
128
+ Point the project at a repository and branch; services that follow it are updated to match
129
+
130
+ **Usage:** `project-groups repo set <group> [options]`
131
+
132
+ **Options:**
133
+
134
+ | Flag | Description | Default | Required |
135
+ |------|-------------|---------|----------|
136
+ | `-c, --connection <id>` | Git connection id (see: git-providers / connections) | - | No |
137
+ | `--public <provider>` | Use a public repository without a connection: github or gitlab | - | No |
138
+ | `-r, --repo <owner/name\|url>` | Repository, e.g. acme/shop; a github.com/gitlab.com URL implies --public | - | Yes |
139
+ | `-b, --branch <branch>` | Branch to deploy from, e.g. main | - | Yes |
140
+ | `--json` | Output in JSON format | - | No |
141
+
142
+ #### `project-groups repo unset`
143
+
144
+ Remove the repository; services keep their current settings and stop following
145
+
146
+ **Usage:** `project-groups repo unset <group> [options]`
147
+
148
+ **Options:**
149
+
150
+ | Flag | Description | Default | Required |
151
+ |------|-------------|---------|----------|
152
+ | `-y, --yes` | Skip confirmation | - | No |
153
+
154
+ ### `project-groups import`
155
+
156
+ Scan the project's repository and add its apps as services that follow it
157
+
158
+ **Usage:** `project-groups import <group> [options]`
159
+
160
+ **Options:**
161
+
162
+ | Flag | Description | Default | Required |
163
+ |------|-------------|---------|----------|
164
+ | `-p, --path <dir...>` | Only these app directories (default: every app without a service) | - | No |
165
+ | `--dry-run` | List what would be created without creating anything | - | No |
166
+ | `--timeout <minutes>` | Stop waiting after this long (default 30); the import keeps running on the server | - | No |
167
+ | `--json` | Output in JSON format | - | No |
168
+
169
+ ### `project-groups follow`
170
+
171
+ Make a service follow the project's repository and branch (keeps its directory)
172
+
173
+ **Usage:** `project-groups follow <group> <service>`
174
+
175
+ ### `project-groups unfollow`
176
+
177
+ Stop a service following the project's repository; it keeps its current settings
178
+
179
+ **Usage:** `project-groups unfollow <group> <service>`
180
+
181
+ ### `project-groups routes`
182
+
183
+ Serve a path of one service's domains from another service (e.g. /api → backend)
184
+
185
+ **Subcommands:**
186
+
187
+ - `list` (`ls`) - List path routes and how each applies per environment
188
+ - `add` - Send requests under <prefix> on <source>'s domains to <target>, e.g. `routes add shop web /api api`
189
+ - `remove` (`rm`) - Stop routing <prefix>; <source> serves it itself again
190
+
191
+ #### `project-groups routes list` (alias: `ls`)
192
+
193
+ List path routes and how each applies per environment
194
+
195
+ **Usage:** `project-groups routes list <group> [options]`
196
+
197
+ **Options:**
198
+
199
+ | Flag | Description | Default | Required |
200
+ |------|-------------|---------|----------|
201
+ | `--json` | Output in JSON format | - | No |
202
+
203
+ #### `project-groups routes add`
204
+
205
+ Send requests under <prefix> on <source>'s domains to <target>, e.g. `routes add shop web /api api`
206
+
207
+ **Usage:** `project-groups routes add <group> <source> <prefix> <target> [options]`
208
+
209
+ **Options:**
210
+
211
+ | Flag | Description | Default | Required |
212
+ |------|-------------|---------|----------|
213
+ | `--strip-prefix` | Forward /api/users as /users (default: keep the full path) | - | No |
214
+ | `--json` | Output in JSON format | - | No |
215
+
216
+ #### `project-groups routes remove` (alias: `rm`)
217
+
218
+ Stop routing <prefix>; <source> serves it itself again
219
+
220
+ **Usage:** `project-groups routes remove <group> <source> <prefix> [options]`
221
+
222
+ **Options:**
223
+
224
+ | Flag | Description | Default | Required |
225
+ |------|-------------|---------|----------|
226
+ | `-y, --yes` | Skip confirmation | - | No |
227
+
228
+ ### `project-groups vars`
229
+
230
+ Variables shared by every service in a project (group)
231
+
232
+ **Subcommands:**
233
+
234
+ - `list` (`ls`) - List shared variables (secret values are never shown)
235
+ - `set` - Create or update a shared variable; a service's own variable still wins. Omit the value to type it at a hidden prompt, or read it with --value-file or --value-stdin (keeps secrets out of shell history)
236
+ - `inherited` - Show the shared variables a service (slug or id) receives from its project, and which of them the service's own variables override
237
+ - `unset` - Remove a shared variable
238
+
239
+ #### `project-groups vars list` (alias: `ls`)
240
+
241
+ List shared variables (secret values are never shown)
242
+
243
+ **Usage:** `project-groups vars list <group> [options]`
244
+
245
+ **Options:**
246
+
247
+ | Flag | Description | Default | Required |
248
+ |------|-------------|---------|----------|
249
+ | `--json` | Output in JSON format | - | No |
250
+
251
+ #### `project-groups vars set`
252
+
253
+ Create or update a shared variable; a service's own variable still wins. Omit the value to type it at a hidden prompt, or read it with --value-file or --value-stdin (keeps secrets out of shell history)
254
+
255
+ **Usage:** `project-groups vars set <group> <key> [value] [options]`
256
+
257
+ **Options:**
258
+
259
+ | Flag | Description | Default | Required |
260
+ |------|-------------|---------|----------|
261
+ | `-e, --environment <slug>` | Only this environment (e.g. production); default: all | - | No |
262
+ | `--secret` | Write-only: the value can never be read back | - | No |
263
+ | `--value-file <path>` | Read the value from a file (- reads stdin), minus one final newline | - | No |
264
+ | `--value-stdin` | Read the value from stdin, minus one final newline, e.g. `cat key.pem \| ... vars set shop TLS_KEY --secret --value-stdin` | - | No |
265
+ | `--preview` | Also send an all-environments variable to preview deployments (off by default) | - | No |
266
+ | `--no-preview` | Do not send it to preview deployments | - | No |
267
+ | `--json` | Output in JSON format | - | No |
268
+
269
+ #### `project-groups vars inherited`
270
+
271
+ Show the shared variables a service (slug or id) receives from its project, and which of them the service's own variables override
272
+
273
+ **Usage:** `project-groups vars inherited <service> [options]`
274
+
275
+ **Options:**
276
+
277
+ | Flag | Description | Default | Required |
278
+ |------|-------------|---------|----------|
279
+ | `--json` | Output in JSON format | - | No |
280
+
281
+ #### `project-groups vars unset`
282
+
283
+ Remove a shared variable
284
+
285
+ **Usage:** `project-groups vars unset <group> <key> [options]`
286
+
287
+ **Options:**
288
+
289
+ | Flag | Description | Default | Required |
290
+ |------|-------------|---------|----------|
291
+ | `-e, --environment <slug>` | The environment it was scoped to; default: all | - | No |
292
+ | `-y, --yes` | Skip confirmation | - | No |
@@ -0,0 +1,329 @@
1
+ <!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
2
+
3
+ # `projects` 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
+ - [`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
+
25
+ ## `projects` (alias: `project`, `p`)
26
+
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`.
28
+
29
+ **Subcommands:**
30
+
31
+ - `secrets` - Manage project secrets — mounted into the deployed container as files at /run/secrets/<KEY>, not environment variables. Distinct from `temps secrets` (agent/MCP-sandbox-scoped).
32
+ - `list` (`ls`) - List all services
33
+ - `create` (`new`) - Create a new service (git-based or manual deployment); add it to a project with `project-groups add`
34
+ - `cloudflare-capability` (`delivery-capability`) - Show whether Cloudflare/Bunny delivery is ready and which one new services get by default
35
+ - `show` (`get`) - Show service details, including the project (group) it belongs to
36
+ - `group` - Show which project (group of services) a service belongs to
37
+ - `update` (`edit`) - Update service name and description
38
+ - `settings` - Update service settings (name, slug, attack mode, preview environments, vulnerability scanning, image retention)
39
+ - `git` - Update git repository settings
40
+ - `source` - Show or change how a service is deployed (primary source, and whether it also accepts `drop` uploads)
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
44
+ - `config` - Update deployment configuration (resources, replicas)
45
+ - `delete` (`rm`) - Delete a service
46
+
47
+ ### `projects secrets`
48
+
49
+ Manage project secrets — mounted into the deployed container as files at /run/secrets/<KEY>, not environment variables. Distinct from `temps secrets` (agent/MCP-sandbox-scoped).
50
+
51
+ **Subcommands:**
52
+
53
+ - `list` (`ls`) - List secrets for a project (values are never returned)
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
55
+ - `update` - Update a project secret (a redeploy is required for running containers to pick it up)
56
+ - `delete` (`rm`) - Delete a project secret
57
+
58
+ #### `projects secrets list` (alias: `ls`)
59
+
60
+ List secrets for a project (values are never returned)
61
+
62
+ **Options:**
63
+
64
+ | Flag | Description | Default | Required |
65
+ |------|-------------|---------|----------|
66
+ | `-p, --project <project>` | Project slug or ID | - | No |
67
+ | `-e, --environment <name>` | Filter to one environment | - | No |
68
+ | `--json` | Output in JSON format | - | No |
69
+
70
+ #### `projects secrets create` (alias: `add`)
71
+
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
73
+
74
+ **Options:**
75
+
76
+ | Flag | Description | Default | Required |
77
+ |------|-------------|---------|----------|
78
+ | `-p, --project <project>` | Project slug or ID | - | No |
79
+ | `-k, --key <key>` | Secret key — becomes the filename at /run/secrets/<KEY>. Letters, digits, underscore; must start with a letter or underscore. | - | Yes |
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 |
81
+ | `-e, --environment <name>` | Scope to one environment (repeatable; default: all) | `` | No |
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 |
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 |
88
+
89
+ #### `projects secrets update`
90
+
91
+ Update a project secret (a redeploy is required for running containers to pick it up)
92
+
93
+ **Options:**
94
+
95
+ | Flag | Description | Default | Required |
96
+ |------|-------------|---------|----------|
97
+ | `-p, --project <project>` | Project slug or ID | - | No |
98
+ | `-k, --key <key>` | Key of the secret to update | - | Yes |
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 |
100
+ | `-e, --environment <name>` | Replace environment scoping (repeatable) | `` | No |
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 |
102
+ | `--all-services` | Deliver to every Compose service, clearing any per-service scope | - | No |
103
+ | `--include-in-preview` | Include in preview environments | - | No |
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 |
109
+
110
+ #### `projects secrets delete` (alias: `rm`)
111
+
112
+ Delete a project secret
113
+
114
+ **Usage:** `projects secrets delete <key> [options]`
115
+
116
+ **Options:**
117
+
118
+ | Flag | Description | Default | Required |
119
+ |------|-------------|---------|----------|
120
+ | `-p, --project <project>` | Project slug or ID | - | No |
121
+ | `-f, --force` | Skip confirmation | - | No |
122
+ | `-y, --yes` | Skip confirmation (alias for --force) | - | No |
123
+
124
+ ### `projects list` (alias: `ls`)
125
+
126
+ List all services
127
+
128
+ **Options:**
129
+
130
+ | Flag | Description | Default | Required |
131
+ |------|-------------|---------|----------|
132
+ | `--json` | Output in JSON format | - | No |
133
+ | `--page <n>` | Page number | - | No |
134
+ | `--per-page <n>` | Items per page | - | No |
135
+
136
+ ### `projects create` (alias: `new`)
137
+
138
+ Create a new service (git-based or manual deployment); add it to a project with `project-groups add`
139
+
140
+ **Options:**
141
+
142
+ | Flag | Description | Default | Required |
143
+ |------|-------------|---------|----------|
144
+ | `-n, --name <name>` | Service name | - | No |
145
+ | `-d, --description <description>` | Service description | - | No |
146
+ | `--repo <repository>` | Repository in owner/name format (nested groups supported: group/subgroup/name) | - | No |
147
+ | `--branch <branch>` | Git branch | - | No |
148
+ | `--directory <directory>` | Root directory (relative to repo) | - | No |
149
+ | `--preset <preset>` | Build preset (e.g., nextjs, nodejs, static, docker) | - | No |
150
+ | `--connection <id>` | Git connection ID | - | No |
151
+ | `--manual` | Create a manual (non-git) service - deploy via Docker image or static files | - | No |
152
+ | `--source-type <type>` | Manual deployment method: manual (flexible), docker_image, or static_files | - | No |
153
+ | `--image <image>` | Docker image for the first deployment (manual mode) | - | No |
154
+ | `--port <port>` | Application/container port (manual mode, default: 3000) | - | No |
155
+ | `--external` | The app runs elsewhere (Vercel, Netlify, a VPS): Temps only receives its telemetry and never deploys it (needs --name with --yes) | - | No |
156
+ | `--delivery-provider <provider>` | Delivery provider for the new service: none, cloudflare or bunny (default: instance setting; see `projects cloudflare-capability`) | - | No |
157
+ | `-y, --yes` | Skip optional prompts (services, env vars, set-default) | - | No |
158
+
159
+ ### `projects cloudflare-capability` (alias: `delivery-capability`)
160
+
161
+ Show whether Cloudflare/Bunny delivery is ready and which one new services get by default
162
+
163
+ **Options:**
164
+
165
+ | Flag | Description | Default | Required |
166
+ |------|-------------|---------|----------|
167
+ | `--json` | Output in JSON format | - | No |
168
+
169
+ ### `projects show` (alias: `get`)
170
+
171
+ Show service details, including the project (group) it belongs to
172
+
173
+ **Options:**
174
+
175
+ | Flag | Description | Default | Required |
176
+ |------|-------------|---------|----------|
177
+ | `-p, --project <project>` | Service slug or ID | - | No |
178
+ | `--json` | Output in JSON format | - | No |
179
+
180
+ ### `projects group`
181
+
182
+ Show which project (group of services) a service belongs to
183
+
184
+ **Options:**
185
+
186
+ | Flag | Description | Default | Required |
187
+ |------|-------------|---------|----------|
188
+ | `-p, --project <project>` | Service slug or ID | - | No |
189
+ | `--json` | Output in JSON format | - | No |
190
+
191
+ ### `projects update` (alias: `edit`)
192
+
193
+ Update service name and description
194
+
195
+ **Options:**
196
+
197
+ | Flag | Description | Default | Required |
198
+ |------|-------------|---------|----------|
199
+ | `-p, --project <project>` | Project slug or ID | - | No |
200
+ | `-n, --name <name>` | New project name | - | No |
201
+ | `-d, --description <description>` | New project description | - | No |
202
+ | `--json` | Output in JSON format | - | No |
203
+ | `-y, --yes` | Skip prompts, use provided values (for automation) | - | No |
204
+
205
+ ### `projects settings`
206
+
207
+ Update service settings (name, slug, attack mode, preview environments, vulnerability scanning, image retention)
208
+
209
+ **Options:**
210
+
211
+ | Flag | Description | Default | Required |
212
+ |------|-------------|---------|----------|
213
+ | `-p, --project <project>` | Project slug or ID | - | No |
214
+ | `--name <name>` | Project display name (does not change the URL) | - | No |
215
+ | `--slug <slug>` | Project URL slug | - | No |
216
+ | `--attack-mode` | Enable attack mode (CAPTCHA protection) | - | No |
217
+ | `--no-attack-mode` | Disable attack mode | - | No |
218
+ | `--preview-envs` | Enable preview environments | - | No |
219
+ | `--no-preview-envs` | Disable preview environments | - | No |
220
+ | `--vulnerability-scanning` | Enable Trivy vulnerability scanning of deployed Docker images (post-deploy + daily) | - | No |
221
+ | `--no-vulnerability-scanning` | Disable vulnerability scanning | - | No |
222
+ | `--image-retention-hours <hours>` | Hours to keep built images before nightly cleanup removes them (1-8760). Images are needed to roll back, so this is the project rollback window | - | No |
223
+ | `--reset-image-retention` | Clear the per-project image retention override and use the system default | - | No |
224
+ | `--json` | Output in JSON format | - | No |
225
+ | `-y, --yes` | Skip prompts (for automation) | - | No |
226
+
227
+ ### `projects git`
228
+
229
+ Update git repository settings
230
+
231
+ **Options:**
232
+
233
+ | Flag | Description | Default | Required |
234
+ |------|-------------|---------|----------|
235
+ | `-p, --project <project>` | Project slug or ID | - | No |
236
+ | `--owner <owner>` | Repository owner | - | No |
237
+ | `--repo <repo>` | Repository name | - | No |
238
+ | `--branch <branch>` | Main branch | - | No |
239
+ | `--directory <directory>` | App directory path | - | No |
240
+ | `--preset <preset>` | Build preset (auto, nextjs, nodejs, static, docker, rust, go, python) | - | No |
241
+ | `--connection <id>` | Git connection ID (links the project to an actual clone-access connection; omit to leave the existing connection unchanged) | - | No |
242
+ | `--json` | Output in JSON format | - | No |
243
+ | `-y, --yes` | Skip prompts, use provided/existing values (for automation) | - | No |
244
+
245
+ ### `projects source`
246
+
247
+ Show or change how a service is deployed (primary source, and whether it also accepts `drop` uploads)
248
+
249
+ **Options:**
250
+
251
+ | Flag | Description | Default | Required |
252
+ |------|-------------|---------|----------|
253
+ | `-p, --project <project>` | Project slug or ID | - | No |
254
+ | `--type <type>` | Set the primary source: docker_image, static_files, uploaded_source or manual (use `projects git` to switch to git) | - | No |
255
+ | `--allow-alternate` | Also accept an uploaded source archive from `drop`, keeping the current source as default | - | No |
256
+ | `--no-allow-alternate` | Only deploy from the configured source | - | No |
257
+ | `--json` | Output in JSON format | - | No |
258
+
259
+ ### `projects hosting`
260
+
261
+ Show or set whether Temps runs the app (hosted) or it runs elsewhere (external, labelled External and never deployed)
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
+
290
+ **Options:**
291
+
292
+ | Flag | Description | Default | Required |
293
+ |------|-------------|---------|----------|
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 |
297
+ | `--json` | Output in JSON format | - | No |
298
+
299
+ ### `projects config`
300
+
301
+ Update deployment configuration (resources, replicas)
302
+
303
+ **Options:**
304
+
305
+ | Flag | Description | Default | Required |
306
+ |------|-------------|---------|----------|
307
+ | `-p, --project <project>` | Project slug or ID | - | No |
308
+ | `--replicas <n>` | Number of container replicas | - | No |
309
+ | `--cpu-limit <limit>` | CPU limit in cores (e.g., 0.5, 1, 2) | - | No |
310
+ | `--memory-limit <limit>` | Memory limit in MB | - | No |
311
+ | `--auto-deploy` | Enable automatic deployments | - | No |
312
+ | `--no-auto-deploy` | Disable automatic deployments | - | No |
313
+ | `--request-timeout <seconds>` | Default timeout for regular HTTP requests, in seconds | - | No |
314
+ | `--sse-idle-timeout <seconds>` | Default idle timeout for SSE streams, in seconds | - | No |
315
+ | `--websocket-idle-timeout <seconds>` | Default idle timeout for WebSocket connections, in seconds | - | No |
316
+ | `--json` | Output in JSON format | - | No |
317
+ | `-y, --yes` | Skip prompts (for automation) | - | No |
318
+
319
+ ### `projects delete` (alias: `rm`)
320
+
321
+ Delete a service
322
+
323
+ **Options:**
324
+
325
+ | Flag | Description | Default | Required |
326
+ |------|-------------|---------|----------|
327
+ | `-p, --project <project>` | Project slug or ID | - | No |
328
+ | `-f, --force` | Skip confirmation | - | No |
329
+ | `-y, --yes` | Skip confirmation (alias for --force) | - | No |