@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.
- package/dist/index.js +14295 -25419
- package/dist/skills/temps/SKILL.md +140 -0
- package/dist/skills/temps/agents/openai.yaml +7 -0
- package/dist/skills/temps/evals/evals.json +95 -0
- package/dist/skills/temps/howtos/backup-recovery.md +41 -0
- package/dist/skills/temps/howtos/ci-automation.md +18 -0
- package/dist/skills/temps/howtos/deploy-application.md +29 -0
- package/dist/skills/temps/howtos/diagnose-deployment.md +17 -0
- package/dist/skills/temps/howtos/framework-routing.md +28 -0
- package/dist/skills/temps/howtos/javascript-typescript.md +57 -0
- package/dist/skills/temps/howtos/managed-services.md +83 -0
- package/dist/skills/temps/howtos/observability-onboarding.md +52 -0
- package/dist/skills/temps/howtos/projects-and-monorepos.md +49 -0
- package/dist/skills/temps/howtos/python.md +42 -0
- package/dist/skills/temps/howtos/rust.md +30 -0
- package/dist/skills/temps/references/cli-runtime.md +68 -0
- package/dist/skills/temps/references/commands/INDEX.md +97 -0
- package/dist/skills/temps/references/commands/access.md +49 -0
- package/dist/skills/temps/references/commands/ai.md +43 -0
- package/dist/skills/temps/references/commands/alarms.md +87 -0
- package/dist/skills/temps/references/commands/analytics.md +369 -0
- package/dist/skills/temps/references/commands/apikeys.md +96 -0
- package/dist/skills/temps/references/commands/audit.md +41 -0
- package/dist/skills/temps/references/commands/backups.md +263 -0
- package/dist/skills/temps/references/commands/cloud.md +371 -0
- package/dist/skills/temps/references/commands/cluster.md +31 -0
- package/dist/skills/temps/references/commands/configure.md +55 -0
- package/dist/skills/temps/references/commands/containers.md +110 -0
- package/dist/skills/temps/references/commands/context.md +49 -0
- package/dist/skills/temps/references/commands/custom-domains.md +98 -0
- package/dist/skills/temps/references/commands/data.md +90 -0
- package/dist/skills/temps/references/commands/delivery-profiles.md +69 -0
- package/dist/skills/temps/references/commands/delivery.md +116 -0
- package/dist/skills/temps/references/commands/deploy-image.md +23 -0
- package/dist/skills/temps/references/commands/deploy-local-image.md +28 -0
- package/dist/skills/temps/references/commands/deploy-static.md +23 -0
- package/dist/skills/temps/references/commands/deploy.md +21 -0
- package/dist/skills/temps/references/commands/deployments.md +172 -0
- package/dist/skills/temps/references/commands/dns-provider.md +196 -0
- package/dist/skills/temps/references/commands/dns.md +181 -0
- package/dist/skills/temps/references/commands/domains.md +187 -0
- package/dist/skills/temps/references/commands/drop.md +21 -0
- package/dist/skills/temps/references/commands/dsn.md +84 -0
- package/dist/skills/temps/references/commands/email-domains.md +160 -0
- package/dist/skills/temps/references/commands/email-providers.md +91 -0
- package/dist/skills/temps/references/commands/emails.md +79 -0
- package/dist/skills/temps/references/commands/env-pull.md +16 -0
- package/dist/skills/temps/references/commands/env-push.md +17 -0
- package/dist/skills/temps/references/commands/environments.md +252 -0
- package/dist/skills/temps/references/commands/errors.md +250 -0
- package/dist/skills/temps/references/commands/facets.md +57 -0
- package/dist/skills/temps/references/commands/flags.md +143 -0
- package/dist/skills/temps/references/commands/funnels.md +92 -0
- package/dist/skills/temps/references/commands/incidents.md +111 -0
- package/dist/skills/temps/references/commands/init.md +16 -0
- package/dist/skills/temps/references/commands/instances.md +56 -0
- package/dist/skills/temps/references/commands/instantiations.md +53 -0
- package/dist/skills/temps/references/commands/ip-access.md +153 -0
- package/dist/skills/temps/references/commands/link.md +15 -0
- package/dist/skills/temps/references/commands/load-balancer.md +73 -0
- package/dist/skills/temps/references/commands/login.md +17 -0
- package/dist/skills/temps/references/commands/logout.md +16 -0
- package/dist/skills/temps/references/commands/logs.md +167 -0
- package/dist/skills/temps/references/commands/mcp-servers.md +70 -0
- package/dist/skills/temps/references/commands/mcp.md +65 -0
- package/dist/skills/temps/references/commands/metrics.md +79 -0
- package/dist/skills/temps/references/commands/migrate.md +109 -0
- package/dist/skills/temps/references/commands/monitors.md +92 -0
- package/dist/skills/temps/references/commands/nodes.md +200 -0
- package/dist/skills/temps/references/commands/notification-preferences.md +47 -0
- package/dist/skills/temps/references/commands/notifications.md +211 -0
- package/dist/skills/temps/references/commands/open.md +17 -0
- package/dist/skills/temps/references/commands/otel-forward.md +210 -0
- package/dist/skills/temps/references/commands/otel.md +38 -0
- package/dist/skills/temps/references/commands/platform.md +147 -0
- package/dist/skills/temps/references/commands/plugin.md +193 -0
- package/dist/skills/temps/references/commands/presets.md +35 -0
- package/dist/skills/temps/references/commands/project-groups.md +255 -0
- package/dist/skills/temps/references/commands/projects.md +270 -0
- package/dist/skills/temps/references/commands/providers.md +277 -0
- package/dist/skills/temps/references/commands/proxy-logs.md +85 -0
- package/dist/skills/temps/references/commands/revenue.md +48 -0
- package/dist/skills/temps/references/commands/rollback.md +18 -0
- package/dist/skills/temps/references/commands/runtime-logs.md +21 -0
- package/dist/skills/temps/references/commands/sandbox.md +428 -0
- package/dist/skills/temps/references/commands/scans.md +113 -0
- package/dist/skills/temps/references/commands/secrets.md +65 -0
- package/dist/skills/temps/references/commands/server.md +50 -0
- package/dist/skills/temps/references/commands/services.md +636 -0
- package/dist/skills/temps/references/commands/session-replay.md +76 -0
- package/dist/skills/temps/references/commands/settings.md +84 -0
- package/dist/skills/temps/references/commands/setup.md +25 -0
- package/dist/skills/temps/references/commands/skills.md +87 -0
- package/dist/skills/temps/references/commands/start.md +20 -0
- package/dist/skills/temps/references/commands/status-pages.md +188 -0
- package/dist/skills/temps/references/commands/status.md +17 -0
- package/dist/skills/temps/references/commands/stop.md +16 -0
- package/dist/skills/temps/references/commands/teams.md +129 -0
- package/dist/skills/temps/references/commands/templates.md +61 -0
- package/dist/skills/temps/references/commands/tokens.md +77 -0
- package/dist/skills/temps/references/commands/traces.md +42 -0
- package/dist/skills/temps/references/commands/traefik-discovery.md +113 -0
- package/dist/skills/temps/references/commands/up.md +25 -0
- package/dist/skills/temps/references/commands/users.md +99 -0
- package/dist/skills/temps/references/commands/webhooks.md +165 -0
- package/dist/skills/temps/references/commands/whoami.md +15 -0
- package/dist/skills/temps/references/commands/workflow.md +42 -0
- package/dist/skills/temps/references/observability/analytics.md +146 -0
- package/dist/skills/temps/references/observability/error-tracking.md +73 -0
- package/dist/skills/temps/references/observability/hygiene.md +112 -0
- package/dist/skills/temps/references/observability/logs.md +43 -0
- package/dist/skills/temps/references/observability/metrics.md +41 -0
- package/dist/skills/temps/references/observability/tracing.md +392 -0
- package/dist/skills/temps/references/runtime-contract.md +115 -0
- package/dist/skills/temps/references/workflows/platform-operations.md +154 -0
- package/dist/skills/temps/scripts/__pycache__/generate_command_references.cpython-314.pyc +0 -0
- package/dist/skills/temps/scripts/__pycache__/test_generate_command_references.cpython-314.pyc +0 -0
- package/dist/skills/temps/scripts/__pycache__/test_validate_skill.cpython-314.pyc +0 -0
- package/dist/skills/temps/scripts/__pycache__/validate_skill.cpython-314.pyc +0 -0
- package/dist/skills/temps/scripts/detect_project_capabilities.py +239 -0
- package/dist/skills/temps/scripts/generate_command_references.py +144 -0
- package/dist/skills/temps/scripts/test_detect_project_capabilities.py +124 -0
- package/dist/skills/temps/scripts/test_generate_command_references.py +128 -0
- package/dist/skills/temps/scripts/test_validate_skill.py +84 -0
- package/dist/skills/temps/scripts/validate_skill.py +111 -0
- package/package.json +2 -2
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `environments` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `environments` (alias: `envs`, `env`)
|
|
8
|
+
|
|
9
|
+
Manage environments and environment variables
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List environments for a project
|
|
14
|
+
- `create` - Create a new environment
|
|
15
|
+
- `delete` (`rm`) - Delete an environment
|
|
16
|
+
- `vars` - Manage environment variables
|
|
17
|
+
- `resources` - View or set CPU/memory resources for an environment
|
|
18
|
+
- `timeouts` - View or set upstream request/idle timeouts for an environment
|
|
19
|
+
- `force-https` - View or set the HTTP to HTTPS redirect override for an environment
|
|
20
|
+
- `scale` - View or set the number of replicas for an environment
|
|
21
|
+
- `crons` - Manage cron jobs
|
|
22
|
+
|
|
23
|
+
### `environments list` (alias: `ls`)
|
|
24
|
+
|
|
25
|
+
List environments for a project
|
|
26
|
+
|
|
27
|
+
**Options:**
|
|
28
|
+
|
|
29
|
+
| Flag | Description | Default | Required |
|
|
30
|
+
|------|-------------|---------|----------|
|
|
31
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
32
|
+
| `--json` | Output in JSON format | - | No |
|
|
33
|
+
|
|
34
|
+
### `environments create`
|
|
35
|
+
|
|
36
|
+
Create a new environment
|
|
37
|
+
|
|
38
|
+
**Options:**
|
|
39
|
+
|
|
40
|
+
| Flag | Description | Default | Required |
|
|
41
|
+
|------|-------------|---------|----------|
|
|
42
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
43
|
+
| `-n, --name <name>` | Environment name | - | No |
|
|
44
|
+
| `-b, --branch <branch>` | Git branch | - | No |
|
|
45
|
+
| `--preview` | Set as preview environment | - | No |
|
|
46
|
+
|
|
47
|
+
### `environments delete` (alias: `rm`)
|
|
48
|
+
|
|
49
|
+
Delete an environment
|
|
50
|
+
|
|
51
|
+
**Options:**
|
|
52
|
+
|
|
53
|
+
| Flag | Description | Default | Required |
|
|
54
|
+
|------|-------------|---------|----------|
|
|
55
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
56
|
+
| `-f, --force` | Skip confirmation | - | No |
|
|
57
|
+
|
|
58
|
+
### `environments vars`
|
|
59
|
+
|
|
60
|
+
Manage environment variables
|
|
61
|
+
|
|
62
|
+
**Options:**
|
|
63
|
+
|
|
64
|
+
| Flag | Description | Default | Required |
|
|
65
|
+
|------|-------------|---------|----------|
|
|
66
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
67
|
+
|
|
68
|
+
**Subcommands:**
|
|
69
|
+
|
|
70
|
+
- `list` (`ls`) - List environment variables
|
|
71
|
+
- `get` - Get a specific environment variable
|
|
72
|
+
- `set` - Set an environment variable
|
|
73
|
+
- `delete` (`rm`, `unset`) - Delete an environment variable
|
|
74
|
+
- `import` - Import environment variables from a .env file
|
|
75
|
+
- `export` - Export environment variables to .env format
|
|
76
|
+
|
|
77
|
+
#### `environments vars list` (alias: `ls`)
|
|
78
|
+
|
|
79
|
+
List environment variables
|
|
80
|
+
|
|
81
|
+
**Options:**
|
|
82
|
+
|
|
83
|
+
| Flag | Description | Default | Required |
|
|
84
|
+
|------|-------------|---------|----------|
|
|
85
|
+
| `-e, --environment <name>` | Filter by environment name | - | No |
|
|
86
|
+
| `--show-values` | Show actual values (hidden by default) | - | No |
|
|
87
|
+
| `--json` | Output in JSON format | - | No |
|
|
88
|
+
|
|
89
|
+
#### `environments vars get`
|
|
90
|
+
|
|
91
|
+
Get a specific environment variable
|
|
92
|
+
|
|
93
|
+
**Options:**
|
|
94
|
+
|
|
95
|
+
| Flag | Description | Default | Required |
|
|
96
|
+
|------|-------------|---------|----------|
|
|
97
|
+
| `-e, --environment <name>` | Specify environment (if variable exists in multiple) | - | No |
|
|
98
|
+
|
|
99
|
+
#### `environments vars set`
|
|
100
|
+
|
|
101
|
+
Set an environment variable
|
|
102
|
+
|
|
103
|
+
**Options:**
|
|
104
|
+
|
|
105
|
+
| Flag | Description | Default | Required |
|
|
106
|
+
|------|-------------|---------|----------|
|
|
107
|
+
| `-e, --environments <names>` | Comma-separated environment names (interactive if not provided) | - | No |
|
|
108
|
+
| `--preview` | Also include in current and future preview environments | - | No |
|
|
109
|
+
| `--no-preview` | Exclude from preview environments | - | No |
|
|
110
|
+
| `--update` | Update existing variable instead of creating new | - | No |
|
|
111
|
+
| `--secret` | Store as a secret: the value is masked in the UI and never returned by the API. One-way — to make a secret readable again you must delete the variable and create it anew | - | No |
|
|
112
|
+
|
|
113
|
+
#### `environments vars delete` (alias: `rm`, `unset`)
|
|
114
|
+
|
|
115
|
+
Delete an environment variable
|
|
116
|
+
|
|
117
|
+
**Options:**
|
|
118
|
+
|
|
119
|
+
| Flag | Description | Default | Required |
|
|
120
|
+
|------|-------------|---------|----------|
|
|
121
|
+
| `-e, --environment <name>` | Delete only from specific environment | - | No |
|
|
122
|
+
| `-f, --force` | Skip confirmation | - | No |
|
|
123
|
+
|
|
124
|
+
#### `environments vars import`
|
|
125
|
+
|
|
126
|
+
Import environment variables from a .env file
|
|
127
|
+
|
|
128
|
+
**Options:**
|
|
129
|
+
|
|
130
|
+
| Flag | Description | Default | Required |
|
|
131
|
+
|------|-------------|---------|----------|
|
|
132
|
+
| `-e, --environments <names>` | Comma-separated environment names | - | No |
|
|
133
|
+
| `--overwrite` | Overwrite existing variables | - | No |
|
|
134
|
+
|
|
135
|
+
#### `environments vars export`
|
|
136
|
+
|
|
137
|
+
Export environment variables to .env format
|
|
138
|
+
|
|
139
|
+
**Options:**
|
|
140
|
+
|
|
141
|
+
| Flag | Description | Default | Required |
|
|
142
|
+
|------|-------------|---------|----------|
|
|
143
|
+
| `-e, --environment <name>` | Export from specific environment | - | No |
|
|
144
|
+
| `-o, --output <file>` | Write to file instead of stdout | - | No |
|
|
145
|
+
|
|
146
|
+
### `environments resources`
|
|
147
|
+
|
|
148
|
+
View or set CPU/memory resources for an environment
|
|
149
|
+
|
|
150
|
+
**Options:**
|
|
151
|
+
|
|
152
|
+
| Flag | Description | Default | Required |
|
|
153
|
+
|------|-------------|---------|----------|
|
|
154
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
155
|
+
| `--cpu <millicores>` | CPU limit in millicores (1000 = 1 core, e.g., 500 = 0.5 CPU) | - | No |
|
|
156
|
+
| `--memory <mb>` | Memory limit in MB (e.g., 512) | - | No |
|
|
157
|
+
| `--cpu-request <millicores>` | CPU request in millicores (recorded; not currently enforced) | - | No |
|
|
158
|
+
| `--memory-request <mb>` | Memory request in MB (recorded; not currently enforced) | - | No |
|
|
159
|
+
| `--json` | Output in JSON format | - | No |
|
|
160
|
+
|
|
161
|
+
### `environments timeouts`
|
|
162
|
+
|
|
163
|
+
View or set upstream request/idle timeouts for an environment
|
|
164
|
+
|
|
165
|
+
**Options:**
|
|
166
|
+
|
|
167
|
+
| Flag | Description | Default | Required |
|
|
168
|
+
|------|-------------|---------|----------|
|
|
169
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
170
|
+
| `--request <seconds>` | Timeout for regular (non-streaming) HTTP requests, in seconds | - | No |
|
|
171
|
+
| `--sse-idle <seconds>` | Idle timeout for Server-Sent Events streams, in seconds | - | No |
|
|
172
|
+
| `--websocket-idle <seconds>` | Idle timeout for WebSocket connections, in seconds | - | No |
|
|
173
|
+
| `--inherit` | Clear all three overrides (inherit the project/global defaults) | - | No |
|
|
174
|
+
| `--json` | Output in JSON format | - | No |
|
|
175
|
+
|
|
176
|
+
### `environments force-https`
|
|
177
|
+
|
|
178
|
+
View or set the HTTP to HTTPS redirect override for an environment
|
|
179
|
+
|
|
180
|
+
**Options:**
|
|
181
|
+
|
|
182
|
+
| Flag | Description | Default | Required |
|
|
183
|
+
|------|-------------|---------|----------|
|
|
184
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
185
|
+
| `--enable` | Always redirect plain HTTP to HTTPS, even without a local certificate | - | No |
|
|
186
|
+
| `--disable` | Never redirect: keep serving this environment over plain HTTP | - | No |
|
|
187
|
+
| `--inherit` | Clear the override and follow the proxy default | - | No |
|
|
188
|
+
| `--json` | Output in JSON format | - | No |
|
|
189
|
+
|
|
190
|
+
### `environments scale`
|
|
191
|
+
|
|
192
|
+
View or set the number of replicas for an environment
|
|
193
|
+
|
|
194
|
+
**Options:**
|
|
195
|
+
|
|
196
|
+
| Flag | Description | Default | Required |
|
|
197
|
+
|------|-------------|---------|----------|
|
|
198
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
199
|
+
| `-e, --environment <env>` | Environment name or slug | `production` | No |
|
|
200
|
+
| `-r, --replicas <count>` | Number of replicas to set | - | No |
|
|
201
|
+
| `--json` | Output in JSON format | - | No |
|
|
202
|
+
|
|
203
|
+
### `environments crons`
|
|
204
|
+
|
|
205
|
+
Manage cron jobs
|
|
206
|
+
|
|
207
|
+
**Options:**
|
|
208
|
+
|
|
209
|
+
| Flag | Description | Default | Required |
|
|
210
|
+
|------|-------------|---------|----------|
|
|
211
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
212
|
+
| `-e, --environment <env>` | Environment name or slug | - | Yes |
|
|
213
|
+
|
|
214
|
+
**Subcommands:**
|
|
215
|
+
|
|
216
|
+
- `list` (`ls`) - List cron jobs for an environment
|
|
217
|
+
- `show` - Show cron job details
|
|
218
|
+
- `executions` (`execs`) - Show cron job execution history
|
|
219
|
+
|
|
220
|
+
#### `environments crons list` (alias: `ls`)
|
|
221
|
+
|
|
222
|
+
List cron jobs for an environment
|
|
223
|
+
|
|
224
|
+
**Options:**
|
|
225
|
+
|
|
226
|
+
| Flag | Description | Default | Required |
|
|
227
|
+
|------|-------------|---------|----------|
|
|
228
|
+
| `--json` | Output in JSON format | - | No |
|
|
229
|
+
|
|
230
|
+
#### `environments crons show`
|
|
231
|
+
|
|
232
|
+
Show cron job details
|
|
233
|
+
|
|
234
|
+
**Options:**
|
|
235
|
+
|
|
236
|
+
| Flag | Description | Default | Required |
|
|
237
|
+
|------|-------------|---------|----------|
|
|
238
|
+
| `--id <id>` | Cron job ID | - | Yes |
|
|
239
|
+
| `--json` | Output in JSON format | - | No |
|
|
240
|
+
|
|
241
|
+
#### `environments crons executions` (alias: `execs`)
|
|
242
|
+
|
|
243
|
+
Show cron job execution history
|
|
244
|
+
|
|
245
|
+
**Options:**
|
|
246
|
+
|
|
247
|
+
| Flag | Description | Default | Required |
|
|
248
|
+
|------|-------------|---------|----------|
|
|
249
|
+
| `--id <id>` | Cron job ID | - | Yes |
|
|
250
|
+
| `--page <page>` | Page number | `1` | No |
|
|
251
|
+
| `--per-page <count>` | Items per page | `20` | No |
|
|
252
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `errors` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `errors` (alias: `error`)
|
|
8
|
+
|
|
9
|
+
Manage error tracking and error groups
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List error groups for a project
|
|
14
|
+
- `show` - Show error group details
|
|
15
|
+
- `update` - Update error group status
|
|
16
|
+
- `events` - List events in an error group
|
|
17
|
+
- `event` - Show a specific error event
|
|
18
|
+
- `stats` - Get error statistics for a project
|
|
19
|
+
- `timeline` - Get error time series data
|
|
20
|
+
- `dashboard` - Get error dashboard statistics
|
|
21
|
+
- `sourcemaps` (`sm`) - Manage source maps for error symbolication
|
|
22
|
+
- `source-files` (`sf`) - Manage raw source files for native (Go/Rust/…) symbolication
|
|
23
|
+
|
|
24
|
+
### `errors list` (alias: `ls`)
|
|
25
|
+
|
|
26
|
+
List error groups for a project
|
|
27
|
+
|
|
28
|
+
**Options:**
|
|
29
|
+
|
|
30
|
+
| Flag | Description | Default | Required |
|
|
31
|
+
|------|-------------|---------|----------|
|
|
32
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
33
|
+
| `--status <status>` | Filter by status (unresolved, resolved, ignored) | - | No |
|
|
34
|
+
| `--page <page>` | Page number | - | No |
|
|
35
|
+
| `--page-size <size>` | Page size | - | No |
|
|
36
|
+
| `--environment-id <id>` | Filter by environment ID | - | No |
|
|
37
|
+
| `--start-date <date>` | Filter by start date (ISO 8601) | - | No |
|
|
38
|
+
| `--end-date <date>` | Filter by end date (ISO 8601) | - | No |
|
|
39
|
+
| `--sort-by <field>` | Sort by field (e.g., total_count, last_seen, first_seen) | - | No |
|
|
40
|
+
| `--sort-order <order>` | Sort order: asc or desc | - | No |
|
|
41
|
+
| `--json` | Output in JSON format | - | No |
|
|
42
|
+
|
|
43
|
+
### `errors show`
|
|
44
|
+
|
|
45
|
+
Show error group details
|
|
46
|
+
|
|
47
|
+
**Options:**
|
|
48
|
+
|
|
49
|
+
| Flag | Description | Default | Required |
|
|
50
|
+
|------|-------------|---------|----------|
|
|
51
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
52
|
+
| `--group-id <id>` | Error group ID | - | Yes |
|
|
53
|
+
| `--json` | Output in JSON format | - | No |
|
|
54
|
+
|
|
55
|
+
### `errors update`
|
|
56
|
+
|
|
57
|
+
Update error group status
|
|
58
|
+
|
|
59
|
+
**Options:**
|
|
60
|
+
|
|
61
|
+
| Flag | Description | Default | Required |
|
|
62
|
+
|------|-------------|---------|----------|
|
|
63
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
64
|
+
| `--group-id <id>` | Error group ID | - | Yes |
|
|
65
|
+
| `--status <status>` | New status (unresolved, resolved, ignored) | - | Yes |
|
|
66
|
+
| `--assigned-to <user>` | Assign to user | - | No |
|
|
67
|
+
|
|
68
|
+
### `errors events`
|
|
69
|
+
|
|
70
|
+
List events in an error group
|
|
71
|
+
|
|
72
|
+
**Options:**
|
|
73
|
+
|
|
74
|
+
| Flag | Description | Default | Required |
|
|
75
|
+
|------|-------------|---------|----------|
|
|
76
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
77
|
+
| `--group-id <id>` | Error group ID | - | Yes |
|
|
78
|
+
| `--page <page>` | Page number | - | No |
|
|
79
|
+
| `--page-size <size>` | Page size | - | No |
|
|
80
|
+
| `--json` | Output in JSON format | - | No |
|
|
81
|
+
|
|
82
|
+
### `errors event`
|
|
83
|
+
|
|
84
|
+
Show a specific error event
|
|
85
|
+
|
|
86
|
+
**Options:**
|
|
87
|
+
|
|
88
|
+
| Flag | Description | Default | Required |
|
|
89
|
+
|------|-------------|---------|----------|
|
|
90
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
91
|
+
| `--group-id <id>` | Error group ID | - | Yes |
|
|
92
|
+
| `--event-id <id>` | Error event ID | - | Yes |
|
|
93
|
+
| `--json` | Output in JSON format | - | No |
|
|
94
|
+
|
|
95
|
+
### `errors stats`
|
|
96
|
+
|
|
97
|
+
Get error statistics for a project
|
|
98
|
+
|
|
99
|
+
**Options:**
|
|
100
|
+
|
|
101
|
+
| Flag | Description | Default | Required |
|
|
102
|
+
|------|-------------|---------|----------|
|
|
103
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
104
|
+
| `--json` | Output in JSON format | - | No |
|
|
105
|
+
|
|
106
|
+
### `errors timeline`
|
|
107
|
+
|
|
108
|
+
Get error time series data
|
|
109
|
+
|
|
110
|
+
**Options:**
|
|
111
|
+
|
|
112
|
+
| Flag | Description | Default | Required |
|
|
113
|
+
|------|-------------|---------|----------|
|
|
114
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
115
|
+
| `--days <days>` | Number of days to show | `7` | No |
|
|
116
|
+
| `--bucket <bucket>` | Time bucket size (e.g., "1h", "15m", "1d") | `1h` | No |
|
|
117
|
+
| `--environment-id <id>` | Filter chart data to a specific environment ID | - | No |
|
|
118
|
+
| `--json` | Output in JSON format | - | No |
|
|
119
|
+
|
|
120
|
+
### `errors dashboard`
|
|
121
|
+
|
|
122
|
+
Get error dashboard statistics
|
|
123
|
+
|
|
124
|
+
**Options:**
|
|
125
|
+
|
|
126
|
+
| Flag | Description | Default | Required |
|
|
127
|
+
|------|-------------|---------|----------|
|
|
128
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
129
|
+
| `--days <days>` | Number of days to show | `7` | No |
|
|
130
|
+
| `--compare` | Compare to previous period | - | No |
|
|
131
|
+
| `--json` | Output in JSON format | - | No |
|
|
132
|
+
|
|
133
|
+
### `errors sourcemaps` (alias: `sm`)
|
|
134
|
+
|
|
135
|
+
Manage source maps for error symbolication
|
|
136
|
+
|
|
137
|
+
**Subcommands:**
|
|
138
|
+
|
|
139
|
+
- `upload` - Upload a source map file for a release
|
|
140
|
+
- `list` (`ls`) - List source maps for a release
|
|
141
|
+
- `releases` - List all releases that have source maps
|
|
142
|
+
- `delete` - Delete all source maps for a release
|
|
143
|
+
- `delete-one` - Delete a specific source map by ID
|
|
144
|
+
|
|
145
|
+
#### `errors sourcemaps upload`
|
|
146
|
+
|
|
147
|
+
Upload a source map file for a release
|
|
148
|
+
|
|
149
|
+
**Options:**
|
|
150
|
+
|
|
151
|
+
| Flag | Description | Default | Required |
|
|
152
|
+
|------|-------------|---------|----------|
|
|
153
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
154
|
+
| `--release <version>` | Release version (e.g. commit SHA) | - | Yes |
|
|
155
|
+
| `--file <path>` | Path to the .map file | - | Yes |
|
|
156
|
+
| `--file-path <urlpath>` | URL path in stack traces (e.g. ~/assets/main.js) | - | No |
|
|
157
|
+
| `--dist <dist>` | Distribution identifier | - | No |
|
|
158
|
+
|
|
159
|
+
#### `errors sourcemaps list` (alias: `ls`)
|
|
160
|
+
|
|
161
|
+
List source maps for a release
|
|
162
|
+
|
|
163
|
+
**Options:**
|
|
164
|
+
|
|
165
|
+
| Flag | Description | Default | Required |
|
|
166
|
+
|------|-------------|---------|----------|
|
|
167
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
168
|
+
| `--release <version>` | Release version | - | Yes |
|
|
169
|
+
| `--json` | Output in JSON format | - | No |
|
|
170
|
+
|
|
171
|
+
#### `errors sourcemaps releases`
|
|
172
|
+
|
|
173
|
+
List all releases that have source maps
|
|
174
|
+
|
|
175
|
+
**Options:**
|
|
176
|
+
|
|
177
|
+
| Flag | Description | Default | Required |
|
|
178
|
+
|------|-------------|---------|----------|
|
|
179
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
180
|
+
| `--json` | Output in JSON format | - | No |
|
|
181
|
+
|
|
182
|
+
#### `errors sourcemaps delete`
|
|
183
|
+
|
|
184
|
+
Delete all source maps for a release
|
|
185
|
+
|
|
186
|
+
**Options:**
|
|
187
|
+
|
|
188
|
+
| Flag | Description | Default | Required |
|
|
189
|
+
|------|-------------|---------|----------|
|
|
190
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
191
|
+
| `--release <version>` | Release version | - | Yes |
|
|
192
|
+
|
|
193
|
+
#### `errors sourcemaps delete-one`
|
|
194
|
+
|
|
195
|
+
Delete a specific source map by ID
|
|
196
|
+
|
|
197
|
+
**Options:**
|
|
198
|
+
|
|
199
|
+
| Flag | Description | Default | Required |
|
|
200
|
+
|------|-------------|---------|----------|
|
|
201
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
202
|
+
| `--source-map-id <id>` | Source map ID | - | Yes |
|
|
203
|
+
|
|
204
|
+
### `errors source-files` (alias: `sf`)
|
|
205
|
+
|
|
206
|
+
Manage raw source files for native (Go/Rust/…) symbolication
|
|
207
|
+
|
|
208
|
+
**Subcommands:**
|
|
209
|
+
|
|
210
|
+
- `upload` - Upload source file(s) for a release (single --file or a --dir tree)
|
|
211
|
+
- `list` (`ls`) - List uploaded source files for a release
|
|
212
|
+
- `delete` - Delete all source files for a release
|
|
213
|
+
|
|
214
|
+
#### `errors source-files upload`
|
|
215
|
+
|
|
216
|
+
Upload source file(s) for a release (single --file or a --dir tree)
|
|
217
|
+
|
|
218
|
+
**Options:**
|
|
219
|
+
|
|
220
|
+
| Flag | Description | Default | Required |
|
|
221
|
+
|------|-------------|---------|----------|
|
|
222
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
223
|
+
| `--release <version>` | Release version (must match the app's SENTRY_RELEASE, e.g. the deployed commit SHA) | - | Yes |
|
|
224
|
+
| `--file <path>` | Path to a single source file | - | No |
|
|
225
|
+
| `--file-path <path>` | Path as it appears in stack frames (e.g. internal/gateway/main.go); defaults to the file name | - | No |
|
|
226
|
+
| `--dir <root>` | Upload every source file under this directory, recursively | - | No |
|
|
227
|
+
| `--ext <csv>` | Comma-separated extensions to include with --dir (default: go,rs,py,rb,js,jsx,ts,tsx,java,kt,c,h,cpp,cc,hpp,cs,php,swift,scala,ex,exs) | - | No |
|
|
228
|
+
|
|
229
|
+
#### `errors source-files list` (alias: `ls`)
|
|
230
|
+
|
|
231
|
+
List uploaded source files for a release
|
|
232
|
+
|
|
233
|
+
**Options:**
|
|
234
|
+
|
|
235
|
+
| Flag | Description | Default | Required |
|
|
236
|
+
|------|-------------|---------|----------|
|
|
237
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
238
|
+
| `--release <version>` | Release version | - | Yes |
|
|
239
|
+
| `--json` | Output in JSON format | - | No |
|
|
240
|
+
|
|
241
|
+
#### `errors source-files delete`
|
|
242
|
+
|
|
243
|
+
Delete all source files for a release
|
|
244
|
+
|
|
245
|
+
**Options:**
|
|
246
|
+
|
|
247
|
+
| Flag | Description | Default | Required |
|
|
248
|
+
|------|-------------|---------|----------|
|
|
249
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
250
|
+
| `--release <version>` | Release version | - | Yes |
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `facets` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `facets`
|
|
8
|
+
|
|
9
|
+
Manage OTel span attribute facets — attribute keys promoted to a fast-filterable column (ClickHouse or TimescaleDB, whichever backend is active; see ADR-039). Facets are platform-global, not per-project, since the underlying spans table is shared across every project. Historical backfill runs asynchronously — check `temps facets list` for status.
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List registered span attribute facets
|
|
14
|
+
- `create` - Register an attribute key as a facet, making it fast to filter on across all traces. Backfills existing spans that carry the attribute. Capped at 20 facets platform-wide.
|
|
15
|
+
- `remove` (`rm`) - Remove a registered facet, freeing its slot for reuse
|
|
16
|
+
- `retry` - Retry a failed historical backfill. Only valid when the facet's status is "failed" — resets progress and lets the background poller re-attempt from the beginning.
|
|
17
|
+
|
|
18
|
+
### `facets list` (alias: `ls`)
|
|
19
|
+
|
|
20
|
+
List registered span attribute facets
|
|
21
|
+
|
|
22
|
+
**Options:**
|
|
23
|
+
|
|
24
|
+
| Flag | Description | Default | Required |
|
|
25
|
+
|------|-------------|---------|----------|
|
|
26
|
+
| `--json` | Output in JSON format | - | No |
|
|
27
|
+
|
|
28
|
+
### `facets create`
|
|
29
|
+
|
|
30
|
+
Register an attribute key as a facet, making it fast to filter on across all traces. Backfills existing spans that carry the attribute. Capped at 20 facets platform-wide.
|
|
31
|
+
|
|
32
|
+
**Options:**
|
|
33
|
+
|
|
34
|
+
| Flag | Description | Default | Required |
|
|
35
|
+
|------|-------------|---------|----------|
|
|
36
|
+
| `--json` | Output in JSON format | - | No |
|
|
37
|
+
|
|
38
|
+
### `facets remove` (alias: `rm`)
|
|
39
|
+
|
|
40
|
+
Remove a registered facet, freeing its slot for reuse
|
|
41
|
+
|
|
42
|
+
**Options:**
|
|
43
|
+
|
|
44
|
+
| Flag | Description | Default | Required |
|
|
45
|
+
|------|-------------|---------|----------|
|
|
46
|
+
| `-f, --force` | Skip confirmation | - | No |
|
|
47
|
+
| `-y, --yes` | Skip confirmation prompts (alias for --force) | - | No |
|
|
48
|
+
|
|
49
|
+
### `facets retry`
|
|
50
|
+
|
|
51
|
+
Retry a failed historical backfill. Only valid when the facet's status is "failed" — resets progress and lets the background poller re-attempt from the beginning.
|
|
52
|
+
|
|
53
|
+
**Options:**
|
|
54
|
+
|
|
55
|
+
| Flag | Description | Default | Required |
|
|
56
|
+
|------|-------------|---------|----------|
|
|
57
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `flags` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `flags` (alias: `flag`)
|
|
8
|
+
|
|
9
|
+
Manage feature flags (runtime config that changes without a redeploy)
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List feature flags
|
|
14
|
+
- `get` - Show a feature flag and its per-environment values
|
|
15
|
+
- `create` - Create a feature flag
|
|
16
|
+
- `update` - Update a flag definition (default value, description, visibility)
|
|
17
|
+
- `set` - Set a flag value in one environment
|
|
18
|
+
- `clear` - Clear a flag override so the environment inherits the default
|
|
19
|
+
- `disable` - Kill switch: serve the default in this environment, ignoring any override
|
|
20
|
+
- `enable` - Re-enable a flag in this environment after a kill switch
|
|
21
|
+
- `restore` - Restore an archived flag
|
|
22
|
+
- `archive` - Archive a flag (callers fall back to their own default)
|
|
23
|
+
|
|
24
|
+
### `flags list` (alias: `ls`)
|
|
25
|
+
|
|
26
|
+
List feature flags
|
|
27
|
+
|
|
28
|
+
**Options:**
|
|
29
|
+
|
|
30
|
+
| Flag | Description | Default | Required |
|
|
31
|
+
|------|-------------|---------|----------|
|
|
32
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
33
|
+
| `-e, --environment <name>` | Show values for this environment | - | No |
|
|
34
|
+
| `--include-archived` | Include archived flags | - | No |
|
|
35
|
+
| `--page <n>` | Page number (default: 1) | - | No |
|
|
36
|
+
| `--page-size <n>` | Items per page (default: 20, max: 100) | - | No |
|
|
37
|
+
| `--json` | Output in JSON format | - | No |
|
|
38
|
+
|
|
39
|
+
### `flags get`
|
|
40
|
+
|
|
41
|
+
Show a feature flag and its per-environment values
|
|
42
|
+
|
|
43
|
+
**Options:**
|
|
44
|
+
|
|
45
|
+
| Flag | Description | Default | Required |
|
|
46
|
+
|------|-------------|---------|----------|
|
|
47
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
48
|
+
| `--json` | Output in JSON format | - | No |
|
|
49
|
+
|
|
50
|
+
### `flags create`
|
|
51
|
+
|
|
52
|
+
Create a feature flag
|
|
53
|
+
|
|
54
|
+
**Options:**
|
|
55
|
+
|
|
56
|
+
| Flag | Description | Default | Required |
|
|
57
|
+
|------|-------------|---------|----------|
|
|
58
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
59
|
+
| `-t, --type <type>` | Value type: bool, string, number, or json | - | Yes |
|
|
60
|
+
| `-d, --default <value>` | Default value, served when nothing more specific applies | - | Yes |
|
|
61
|
+
| `--description <text>` | What this flag controls | - | No |
|
|
62
|
+
| `--client-visible` | Allow this flag to be exposed to browsers (default: server-only) | - | No |
|
|
63
|
+
| `--json` | Output in JSON format | - | No |
|
|
64
|
+
|
|
65
|
+
### `flags update`
|
|
66
|
+
|
|
67
|
+
Update a flag definition (default value, description, visibility)
|
|
68
|
+
|
|
69
|
+
**Options:**
|
|
70
|
+
|
|
71
|
+
| Flag | Description | Default | Required |
|
|
72
|
+
|------|-------------|---------|----------|
|
|
73
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
74
|
+
| `-d, --default <value>` | New default value | - | No |
|
|
75
|
+
| `--description <text>` | New description | - | No |
|
|
76
|
+
| `--client-visible` | Expose this flag to browsers | - | No |
|
|
77
|
+
| `--no-client-visible` | Make this flag server-only | - | No |
|
|
78
|
+
| `--json` | Output in JSON format | - | No |
|
|
79
|
+
|
|
80
|
+
### `flags set`
|
|
81
|
+
|
|
82
|
+
Set a flag value in one environment
|
|
83
|
+
|
|
84
|
+
**Options:**
|
|
85
|
+
|
|
86
|
+
| Flag | Description | Default | Required |
|
|
87
|
+
|------|-------------|---------|----------|
|
|
88
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
89
|
+
| `-e, --environment <name>` | Environment name or slug | - | Yes |
|
|
90
|
+
| `--json` | Output in JSON format | - | No |
|
|
91
|
+
|
|
92
|
+
### `flags clear`
|
|
93
|
+
|
|
94
|
+
Clear a flag override so the environment inherits the default
|
|
95
|
+
|
|
96
|
+
**Options:**
|
|
97
|
+
|
|
98
|
+
| Flag | Description | Default | Required |
|
|
99
|
+
|------|-------------|---------|----------|
|
|
100
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
101
|
+
| `-e, --environment <name>` | Environment name or slug | - | Yes |
|
|
102
|
+
|
|
103
|
+
### `flags disable`
|
|
104
|
+
|
|
105
|
+
Kill switch: serve the default in this environment, ignoring any override
|
|
106
|
+
|
|
107
|
+
**Options:**
|
|
108
|
+
|
|
109
|
+
| Flag | Description | Default | Required |
|
|
110
|
+
|------|-------------|---------|----------|
|
|
111
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
112
|
+
| `-e, --environment <name>` | Environment name or slug | - | Yes |
|
|
113
|
+
|
|
114
|
+
### `flags enable`
|
|
115
|
+
|
|
116
|
+
Re-enable a flag in this environment after a kill switch
|
|
117
|
+
|
|
118
|
+
**Options:**
|
|
119
|
+
|
|
120
|
+
| Flag | Description | Default | Required |
|
|
121
|
+
|------|-------------|---------|----------|
|
|
122
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
123
|
+
| `-e, --environment <name>` | Environment name or slug | - | Yes |
|
|
124
|
+
|
|
125
|
+
### `flags restore`
|
|
126
|
+
|
|
127
|
+
Restore an archived flag
|
|
128
|
+
|
|
129
|
+
**Options:**
|
|
130
|
+
|
|
131
|
+
| Flag | Description | Default | Required |
|
|
132
|
+
|------|-------------|---------|----------|
|
|
133
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
134
|
+
|
|
135
|
+
### `flags archive`
|
|
136
|
+
|
|
137
|
+
Archive a flag (callers fall back to their own default)
|
|
138
|
+
|
|
139
|
+
**Options:**
|
|
140
|
+
|
|
141
|
+
| Flag | Description | Default | Required |
|
|
142
|
+
|------|-------------|---------|----------|
|
|
143
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|