@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,41 @@
1
+ <!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
2
+
3
+ # `audit` command reference
4
+
5
+ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
6
+
7
+ ## `audit`
8
+
9
+ View audit logs
10
+
11
+ **Subcommands:**
12
+
13
+ - `list` (`ls`) - List audit logs
14
+ - `show` - Show audit log details
15
+
16
+ ### `audit list` (alias: `ls`)
17
+
18
+ List audit logs
19
+
20
+ **Options:**
21
+
22
+ | Flag | Description | Default | Required |
23
+ |------|-------------|---------|----------|
24
+ | `--json` | Output in JSON format | - | No |
25
+ | `--limit <n>` | Maximum number of logs to return | `50` | No |
26
+ | `--offset <n>` | Number of logs to skip | - | No |
27
+ | `--operation-type <type>` | Filter by operation type | - | No |
28
+ | `--user-id <id>` | Filter by user ID | - | No |
29
+ | `--from <timestamp>` | Start timestamp (ISO 8601 or epoch ms) | - | No |
30
+ | `--to <timestamp>` | End timestamp (ISO 8601 or epoch ms) | - | No |
31
+
32
+ ### `audit show`
33
+
34
+ Show audit log details
35
+
36
+ **Options:**
37
+
38
+ | Flag | Description | Default | Required |
39
+ |------|-------------|---------|----------|
40
+ | `--id <id>` | Audit log ID | - | Yes |
41
+ | `--json` | Output in JSON format | - | No |
@@ -0,0 +1,269 @@
1
+ <!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
2
+
3
+ # `backups` command reference
4
+
5
+ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
6
+
7
+ ## `backups` (alias: `backup`)
8
+
9
+ Manage backup schedules and backups
10
+
11
+ **Subcommands:**
12
+
13
+ - `schedules` (`schedule`) - Manage backup schedules
14
+ - `sources` (`source`) - Manage S3 backup sources
15
+ - `list` (`ls`) - List backups for a schedule
16
+ - `show` - Show backup details
17
+ - `delete` (`rm`) - Permanently delete one terminal backup
18
+ - `cleanup` - Delete backups expired by their schedule retention policy
19
+ - `run-service` - Run a backup for an external service
20
+
21
+ ### `backups schedules` (alias: `schedule`)
22
+
23
+ Manage backup schedules
24
+
25
+ **Subcommands:**
26
+
27
+ - `list` (`ls`) - List backup schedules
28
+ - `create` - Create a backup schedule
29
+ - `show` - Show backup schedule details
30
+ - `enable` - Enable a backup schedule
31
+ - `disable` - Disable a backup schedule
32
+ - `delete` (`rm`) - Delete a backup schedule
33
+
34
+ #### `backups schedules list` (alias: `ls`)
35
+
36
+ List backup schedules
37
+
38
+ **Options:**
39
+
40
+ | Flag | Description | Default | Required |
41
+ |------|-------------|---------|----------|
42
+ | `--json` | Output in JSON format | - | No |
43
+
44
+ #### `backups schedules create`
45
+
46
+ Create a backup schedule
47
+
48
+ **Options:**
49
+
50
+ | Flag | Description | Default | Required |
51
+ |------|-------------|---------|----------|
52
+ | `-n, --name <name>` | Schedule name | - | No |
53
+ | `-t, --type <type>` | Backup type (full, incremental) | - | No |
54
+ | `-s, --schedule <cron>` | Schedule expression: six-field cron with seconds first, e.g. "0 0 2 * * *" | - | No |
55
+ | `-r, --retention <days>` | Retention period in days | - | No |
56
+ | `-d, --description <desc>` | Description | - | No |
57
+ | `--s3-source-id <id>` | S3 Source ID | - | No |
58
+ | `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
59
+
60
+ #### `backups schedules show`
61
+
62
+ Show backup schedule details
63
+
64
+ **Options:**
65
+
66
+ | Flag | Description | Default | Required |
67
+ |------|-------------|---------|----------|
68
+ | `--id <id>` | Schedule ID | - | Yes |
69
+ | `--json` | Output in JSON format | - | No |
70
+
71
+ #### `backups schedules enable`
72
+
73
+ Enable a backup schedule
74
+
75
+ **Options:**
76
+
77
+ | Flag | Description | Default | Required |
78
+ |------|-------------|---------|----------|
79
+ | `--id <id>` | Schedule ID | - | Yes |
80
+
81
+ #### `backups schedules disable`
82
+
83
+ Disable a backup schedule
84
+
85
+ **Options:**
86
+
87
+ | Flag | Description | Default | Required |
88
+ |------|-------------|---------|----------|
89
+ | `--id <id>` | Schedule ID | - | Yes |
90
+
91
+ #### `backups schedules delete` (alias: `rm`)
92
+
93
+ Delete a backup schedule
94
+
95
+ **Options:**
96
+
97
+ | Flag | Description | Default | Required |
98
+ |------|-------------|---------|----------|
99
+ | `--id <id>` | Schedule ID | - | Yes |
100
+ | `-f, --force` | Skip confirmation | - | No |
101
+ | `-y, --yes` | Skip confirmation prompts (alias for --force) | - | No |
102
+
103
+ ### `backups sources` (alias: `source`)
104
+
105
+ Manage S3 backup sources
106
+
107
+ **Subcommands:**
108
+
109
+ - `list` (`ls`) - List S3 sources
110
+ - `create` - Create an S3 source
111
+ - `show` - Show S3 source details
112
+ - `update` - Update an S3 source
113
+ - `remove` (`rm`) - Delete an S3 source
114
+ - `backups` - List backups for an S3 source
115
+ - `run` - Trigger a backup for an S3 source
116
+
117
+ #### `backups sources list` (alias: `ls`)
118
+
119
+ List S3 sources
120
+
121
+ **Options:**
122
+
123
+ | Flag | Description | Default | Required |
124
+ |------|-------------|---------|----------|
125
+ | `--json` | Output in JSON format | - | No |
126
+
127
+ #### `backups sources create`
128
+
129
+ Create an S3 source
130
+
131
+ **Options:**
132
+
133
+ | Flag | Description | Default | Required |
134
+ |------|-------------|---------|----------|
135
+ | `-n, --name <name>` | Source name | - | No |
136
+ | `--bucket <bucket>` | S3 bucket name | - | No |
137
+ | `--region <region>` | S3 region | - | No |
138
+ | `--endpoint <endpoint>` | S3 endpoint (for S3-compatible services) | - | No |
139
+ | `--access-key <key>` | Access key ID | - | No |
140
+ | `--secret-key <key>` | Secret access key | - | No |
141
+ | `--prefix <prefix>` | Bucket path/prefix | - | No |
142
+ | `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
143
+ | `--secret-key-file <path>` | Read the S3 secret access key from a file (- reads stdin) instead of --secret-key | - | No |
144
+ | `--secret-key-stdin` | Read the S3 secret access key from stdin instead of --secret-key | - | No |
145
+ | `--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 |
146
+
147
+ #### `backups sources show`
148
+
149
+ Show S3 source details
150
+
151
+ **Options:**
152
+
153
+ | Flag | Description | Default | Required |
154
+ |------|-------------|---------|----------|
155
+ | `--id <id>` | S3 source ID | - | Yes |
156
+ | `--json` | Output in JSON format | - | No |
157
+
158
+ #### `backups sources update`
159
+
160
+ Update an S3 source
161
+
162
+ **Options:**
163
+
164
+ | Flag | Description | Default | Required |
165
+ |------|-------------|---------|----------|
166
+ | `--id <id>` | S3 source ID | - | Yes |
167
+ | `-n, --name <name>` | New source name | - | No |
168
+ | `--bucket <bucket>` | New S3 bucket name | - | No |
169
+ | `--region <region>` | New S3 region | - | No |
170
+ | `--endpoint <endpoint>` | New S3 endpoint | - | No |
171
+ | `--access-key <key>` | New access key ID | - | No |
172
+ | `--secret-key <key>` | New secret access key | - | No |
173
+ | `--prefix <prefix>` | New bucket path/prefix | - | No |
174
+ | `--secret-key-file <path>` | Read the S3 secret access key from a file (- reads stdin) instead of --secret-key | - | No |
175
+ | `--secret-key-stdin` | Read the S3 secret access key from stdin instead of --secret-key | - | No |
176
+ | `--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 |
177
+
178
+ #### `backups sources remove` (alias: `rm`)
179
+
180
+ Delete an S3 source
181
+
182
+ **Options:**
183
+
184
+ | Flag | Description | Default | Required |
185
+ |------|-------------|---------|----------|
186
+ | `--id <id>` | S3 source ID | - | Yes |
187
+ | `-f, --force` | Skip confirmation | - | No |
188
+ | `-y, --yes` | Skip confirmation prompts (alias for --force) | - | No |
189
+
190
+ #### `backups sources backups`
191
+
192
+ List backups for an S3 source
193
+
194
+ **Options:**
195
+
196
+ | Flag | Description | Default | Required |
197
+ |------|-------------|---------|----------|
198
+ | `--id <id>` | S3 source ID | - | Yes |
199
+ | `--json` | Output in JSON format | - | No |
200
+
201
+ #### `backups sources run`
202
+
203
+ Trigger a backup for an S3 source
204
+
205
+ **Options:**
206
+
207
+ | Flag | Description | Default | Required |
208
+ |------|-------------|---------|----------|
209
+ | `--id <id>` | S3 source ID | - | Yes |
210
+
211
+ ### `backups list` (alias: `ls`)
212
+
213
+ List backups for a schedule
214
+
215
+ **Options:**
216
+
217
+ | Flag | Description | Default | Required |
218
+ |------|-------------|---------|----------|
219
+ | `--schedule-id <id>` | Schedule ID | - | Yes |
220
+ | `--json` | Output in JSON format | - | No |
221
+
222
+ ### `backups show`
223
+
224
+ Show backup details
225
+
226
+ **Options:**
227
+
228
+ | Flag | Description | Default | Required |
229
+ |------|-------------|---------|----------|
230
+ | `--id <id>` | Backup ID | - | Yes |
231
+ | `--json` | Output in JSON format | - | No |
232
+
233
+ ### `backups delete` (alias: `rm`)
234
+
235
+ Permanently delete one terminal backup
236
+
237
+ **Options:**
238
+
239
+ | Flag | Description | Default | Required |
240
+ |------|-------------|---------|----------|
241
+ | `--id <id>` | Backup UUID | - | Yes |
242
+ | `-f, --force` | Skip confirmation | - | No |
243
+ | `-y, --yes` | Skip confirmation prompts (alias for --force) | - | No |
244
+
245
+ ### `backups cleanup`
246
+
247
+ Delete backups expired by their schedule retention policy
248
+
249
+ **Options:**
250
+
251
+ | Flag | Description | Default | Required |
252
+ |------|-------------|---------|----------|
253
+ | `--dry-run` | Preview expired backups without deleting them | - | No |
254
+ | `--schedule-id <id>` | Limit cleanup to one schedule | - | No |
255
+ | `-y, --yes` | Skip confirmation prompt | - | No |
256
+ | `--json` | Output the cleanup report as JSON | - | No |
257
+
258
+ ### `backups run-service`
259
+
260
+ Run a backup for an external service
261
+
262
+ **Options:**
263
+
264
+ | Flag | Description | Default | Required |
265
+ |------|-------------|---------|----------|
266
+ | `--id <id>` | External service ID | - | Yes |
267
+ | `--s3-source-id <id>` | S3 source ID to store the backup | - | Yes |
268
+ | `-t, --type <type>` | Backup type (e.g., full, incremental) | - | No |
269
+ | `--confirm-restart` | Allow the backup to restart the database (PostgreSQL with WAL archiving off restarts once to turn it on) | - | No |
@@ -0,0 +1,385 @@
1
+ <!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
2
+
3
+ # `cloud` 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
+ - [`cloud login`](#cloud-login)
10
+ - [`cloud logout`](#cloud-logout)
11
+ - [`cloud whoami`](#cloud-whoami)
12
+ - [`cloud status`](#cloud-status)
13
+ - [`cloud connect`](#cloud-connect)
14
+ - [`cloud disconnect`](#cloud-disconnect)
15
+ - [`cloud backup-schedule`](#cloud-backup-schedule)
16
+ - [`cloud vps`](#cloud-vps)
17
+ - [`cloud billing`](#cloud-billing)
18
+ - [`cloud console-access`](#cloud-console-access)
19
+ - [`cloud telemetry`](#cloud-telemetry)
20
+
21
+ ## `cloud`
22
+
23
+ Temps Cloud
24
+
25
+ **Subcommands:**
26
+
27
+ - `login` - Login to Temps Cloud
28
+ - `logout` - Logout from Temps Cloud
29
+ - `whoami` - Show current Temps Cloud account
30
+ - `status` - Show this self-hosted instance's Temps Cloud link
31
+ - `connect` - Connect this self-hosted instance using an enrollment code
32
+ - `disconnect` - Disconnect this self-hosted instance from Temps Cloud
33
+ - `backup-schedule` - The backup schedule that writes to the Temps Cloud destination
34
+ - `vps` - Manage cloud VPS instances
35
+ - `billing` - Manage Temps Cloud billing and subscription
36
+ - `console-access` - Console access through Temps Cloud (ADR-045) -- Cloud members with the owner/admin role can open this console with no inbound port
37
+ - `telemetry` - Where a project’s spans are written — this instance, or Temps Cloud (ADR-041)
38
+
39
+ ### `cloud login`
40
+
41
+ Login to Temps Cloud
42
+
43
+ ### `cloud logout`
44
+
45
+ Logout from Temps Cloud
46
+
47
+ ### `cloud whoami`
48
+
49
+ Show current Temps Cloud account
50
+
51
+ ### `cloud status`
52
+
53
+ Show this self-hosted instance's Temps Cloud link
54
+
55
+ **Options:**
56
+
57
+ | Flag | Description | Default | Required |
58
+ |------|-------------|---------|----------|
59
+ | `--json` | Output JSON | - | No |
60
+
61
+ ### `cloud connect`
62
+
63
+ Connect this self-hosted instance using an enrollment code
64
+
65
+ **Options:**
66
+
67
+ | Flag | Description | Default | Required |
68
+ |------|-------------|---------|----------|
69
+ | `--code <code>` | Single-use enrollment code from Temps Cloud | - | Yes |
70
+
71
+ ### `cloud disconnect`
72
+
73
+ Disconnect this self-hosted instance from Temps Cloud
74
+
75
+ **Options:**
76
+
77
+ | Flag | Description | Default | Required |
78
+ |------|-------------|---------|----------|
79
+ | `-f, --force` | Skip confirmation | - | No |
80
+ | `-y, --yes` | Skip confirmation prompts (alias for --force) | - | No |
81
+
82
+ ### `cloud backup-schedule`
83
+
84
+ The backup schedule that writes to the Temps Cloud destination
85
+
86
+ **Subcommands:**
87
+
88
+ - `ensure` - Create the nightly default schedule unless one already targets Temps Cloud
89
+
90
+ #### `cloud backup-schedule ensure`
91
+
92
+ Create the nightly default schedule unless one already targets Temps Cloud
93
+
94
+ **Options:**
95
+
96
+ | Flag | Description | Default | Required |
97
+ |------|-------------|---------|----------|
98
+ | `--json` | Output JSON | - | No |
99
+
100
+ ### `cloud vps`
101
+
102
+ Manage cloud VPS instances
103
+
104
+ **Subcommands:**
105
+
106
+ - `list` - List VPS instances
107
+ - `create` - Provision a new VPS instance
108
+ - `show` - Show VPS instance details and provisioning logs
109
+ - `destroy` - Destroy a VPS instance
110
+ - `retry` - Retry failed VPS provisioning
111
+ - `credentials` - Show VPS panel credentials
112
+ - `images` - List available OS images
113
+ - `locations` - List available datacenter locations
114
+ - `types` - List available server types with pricing
115
+
116
+ #### `cloud vps list`
117
+
118
+ List VPS instances
119
+
120
+ **Options:**
121
+
122
+ | Flag | Description | Default | Required |
123
+ |------|-------------|---------|----------|
124
+ | `--json` | Output as JSON | - | No |
125
+
126
+ #### `cloud vps create`
127
+
128
+ Provision a new VPS instance
129
+
130
+ **Options:**
131
+
132
+ | Flag | Description | Default | Required |
133
+ |------|-------------|---------|----------|
134
+ | `--image <image>` | OS image ID | - | No |
135
+ | `--location <location>` | Datacenter location ID | - | No |
136
+ | `--type <type>` | Server type ID | - | No |
137
+ | `--json` | Output as JSON | - | No |
138
+
139
+ #### `cloud vps show`
140
+
141
+ Show VPS instance details and provisioning logs
142
+
143
+ **Usage:** `cloud vps show <id> [options]`
144
+
145
+ **Options:**
146
+
147
+ | Flag | Description | Default | Required |
148
+ |------|-------------|---------|----------|
149
+ | `--json` | Output as JSON | - | No |
150
+
151
+ #### `cloud vps destroy`
152
+
153
+ Destroy a VPS instance
154
+
155
+ **Usage:** `cloud vps destroy <id>`
156
+
157
+ #### `cloud vps retry`
158
+
159
+ Retry failed VPS provisioning
160
+
161
+ **Usage:** `cloud vps retry <id>`
162
+
163
+ #### `cloud vps credentials`
164
+
165
+ Show VPS panel credentials
166
+
167
+ **Usage:** `cloud vps credentials <id> [options]`
168
+
169
+ **Options:**
170
+
171
+ | Flag | Description | Default | Required |
172
+ |------|-------------|---------|----------|
173
+ | `--json` | Output as JSON | - | No |
174
+
175
+ #### `cloud vps images`
176
+
177
+ List available OS images
178
+
179
+ **Options:**
180
+
181
+ | Flag | Description | Default | Required |
182
+ |------|-------------|---------|----------|
183
+ | `--json` | Output as JSON | - | No |
184
+
185
+ #### `cloud vps locations`
186
+
187
+ List available datacenter locations
188
+
189
+ **Options:**
190
+
191
+ | Flag | Description | Default | Required |
192
+ |------|-------------|---------|----------|
193
+ | `--json` | Output as JSON | - | No |
194
+
195
+ #### `cloud vps types`
196
+
197
+ List available server types with pricing
198
+
199
+ **Options:**
200
+
201
+ | Flag | Description | Default | Required |
202
+ |------|-------------|---------|----------|
203
+ | `--location <location>` | Filter by datacenter location | - | No |
204
+ | `--json` | Output as JSON | - | No |
205
+
206
+ ### `cloud billing`
207
+
208
+ Manage Temps Cloud billing and subscription
209
+
210
+ **Subcommands:**
211
+
212
+ - `overview` - Show billing overview
213
+ - `usage` - Show usage and limits
214
+ - `upgrade` - Upgrade your plan
215
+
216
+ #### `cloud billing overview`
217
+
218
+ Show billing overview
219
+
220
+ **Options:**
221
+
222
+ | Flag | Description | Default | Required |
223
+ |------|-------------|---------|----------|
224
+ | `--json` | Output as JSON | - | No |
225
+
226
+ #### `cloud billing usage`
227
+
228
+ Show usage and limits
229
+
230
+ **Options:**
231
+
232
+ | Flag | Description | Default | Required |
233
+ |------|-------------|---------|----------|
234
+ | `--json` | Output as JSON | - | No |
235
+
236
+ #### `cloud billing upgrade`
237
+
238
+ Upgrade your plan
239
+
240
+ **Options:**
241
+
242
+ | Flag | Description | Default | Required |
243
+ |------|-------------|---------|----------|
244
+ | `--yearly` | Use yearly billing cycle (default: monthly) | - | No |
245
+ | `--no-browser` | Don't open browser, just show the URL | - | No |
246
+
247
+ ### `cloud console-access`
248
+
249
+ Console access through Temps Cloud (ADR-045) -- Cloud members with the owner/admin role can open this console with no inbound port
250
+
251
+ **Subcommands:**
252
+
253
+ - `status` - Show whether Temps Cloud can open this console
254
+ - `enable` - Allow Temps Cloud to open this console
255
+ - `disable` - Stop Temps Cloud from opening this console (revokes its sign-in provider and sessions immediately)
256
+
257
+ #### `cloud console-access status`
258
+
259
+ Show whether Temps Cloud can open this console
260
+
261
+ **Options:**
262
+
263
+ | Flag | Description | Default | Required |
264
+ |------|-------------|---------|----------|
265
+ | `--json` | Output JSON | - | No |
266
+
267
+ #### `cloud console-access enable`
268
+
269
+ Allow Temps Cloud to open this console
270
+
271
+ **Options:**
272
+
273
+ | Flag | Description | Default | Required |
274
+ |------|-------------|---------|----------|
275
+ | `--json` | Output JSON | - | No |
276
+
277
+ #### `cloud console-access disable`
278
+
279
+ Stop Temps Cloud from opening this console (revokes its sign-in provider and sessions immediately)
280
+
281
+ **Options:**
282
+
283
+ | Flag | Description | Default | Required |
284
+ |------|-------------|---------|----------|
285
+ | `--json` | Output JSON | - | No |
286
+
287
+ ### `cloud telemetry`
288
+
289
+ Where a project’s spans are written — this instance, or Temps Cloud (ADR-041)
290
+
291
+ **Subcommands:**
292
+
293
+ - `write-mode` - Read or change a project’s telemetry write mode
294
+ - `status` - Instance-wide Cloud telemetry write status: queue depth, gaps, and whether the local span store is still required
295
+ - `bulk-switch` - Switch many projects to Temps Cloud and ship their history in one job — estimates first, then asks
296
+ - `bulk-status` - Show the Temps Cloud activation running on this instance — progress, ETA, skips and failures
297
+ - `bulk-cancel` - Stop a Temps Cloud activation at its next chunk boundary
298
+
299
+ #### `cloud telemetry write-mode`
300
+
301
+ Read or change a project’s telemetry write mode
302
+
303
+ **Subcommands:**
304
+
305
+ - `get` - Show where a project’s spans are written, what is queued, and any gaps
306
+ - `set` - Set the write mode to "local" (stored on this instance) or "cloud" (written to Temps Cloud, not stored here)
307
+
308
+ ##### `cloud telemetry write-mode get`
309
+
310
+ Show where a project’s spans are written, what is queued, and any gaps
311
+
312
+ **Options:**
313
+
314
+ | Flag | Description | Default | Required |
315
+ |------|-------------|---------|----------|
316
+ | `-p, --project <slug>` | Project slug | - | No |
317
+ | `--json` | Output in JSON format | - | No |
318
+
319
+ ##### `cloud telemetry write-mode set`
320
+
321
+ Set the write mode to "local" (stored on this instance) or "cloud" (written to Temps Cloud, not stored here)
322
+
323
+ **Usage:** `cloud telemetry write-mode set <mode> [options]`
324
+
325
+ **Options:**
326
+
327
+ | Flag | Description | Default | Required |
328
+ |------|-------------|---------|----------|
329
+ | `-p, --project <slug>` | Project slug | - | No |
330
+ | `--fidelity <tier>` | Also set Cloud telemetry fidelity: metered or queryable. "cloud" requires "queryable". | - | No |
331
+ | `-f, --force` | Skip confirmation | - | No |
332
+ | `-y, --yes` | Skip confirmation prompts (alias for --force) | - | No |
333
+ | `--json` | Output in JSON format | - | No |
334
+
335
+ #### `cloud telemetry status`
336
+
337
+ Instance-wide Cloud telemetry write status: queue depth, gaps, and whether the local span store is still required
338
+
339
+ **Options:**
340
+
341
+ | Flag | Description | Default | Required |
342
+ |------|-------------|---------|----------|
343
+ | `--json` | Output in JSON format | - | No |
344
+
345
+ #### `cloud telemetry bulk-switch`
346
+
347
+ Switch many projects to Temps Cloud and ship their history in one job — estimates first, then asks
348
+
349
+ **Options:**
350
+
351
+ | Flag | Description | Default | Required |
352
+ |------|-------------|---------|----------|
353
+ | `--all` | Every project still storing its spans on this instance. Projects already on Temps Cloud are not included. | - | No |
354
+ | `-p, --project <id>` | A project id to switch. Repeatable. Cannot be combined with --all. | `` | No |
355
+ | `--from <timestamp>` | Start of the history window to ship (RFC 3339). Defaults to the oldest span local retention can still be holding. | - | No |
356
+ | `--to <timestamp>` | End of the history window to ship (RFC 3339). Defaults to now. | - | No |
357
+ | `-y, --yes` | Skip the confirmation. The estimate is still computed and printed. | - | No |
358
+ | `--watch` | Follow the job until it finishes | - | No |
359
+ | `--json` | Output in JSON format | - | No |
360
+
361
+ #### `cloud telemetry bulk-status`
362
+
363
+ Show the Temps Cloud activation running on this instance — progress, ETA, skips and failures
364
+
365
+ **Usage:** `cloud telemetry bulk-status [batch_id] [options]`
366
+
367
+ **Options:**
368
+
369
+ | Flag | Description | Default | Required |
370
+ |------|-------------|---------|----------|
371
+ | `--watch` | Follow the job until it finishes | - | No |
372
+ | `--json` | Output in JSON format | - | No |
373
+
374
+ #### `cloud telemetry bulk-cancel`
375
+
376
+ Stop a Temps Cloud activation at its next chunk boundary
377
+
378
+ **Usage:** `cloud telemetry bulk-cancel <batch_id> [options]`
379
+
380
+ **Options:**
381
+
382
+ | Flag | Description | Default | Required |
383
+ |------|-------------|---------|----------|
384
+ | `-y, --yes` | Skip confirmation | - | No |
385
+ | `--json` | Output in JSON format | - | No |