@temps-sdk/cli 0.1.38 → 0.2.0-beta.2
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/README.md +14 -0
- package/dist/index.js +63877 -40097
- package/dist/skills/temps/SKILL.md +18 -9
- package/dist/skills/temps/evals/evals.json +23 -6
- package/dist/skills/temps/howtos/agent-handoff.md +106 -0
- package/dist/skills/temps/howtos/ci-automation.md +2 -3
- package/dist/skills/temps/howtos/curated-services.md +69 -0
- package/dist/skills/temps/howtos/deploy-application.md +8 -1
- package/dist/skills/temps/howtos/edge-rules.md +135 -0
- package/dist/skills/temps/howtos/managed-services.md +4 -4
- package/dist/skills/temps/howtos/projects-and-monorepos.md +2 -1
- package/dist/skills/temps/references/cli-runtime.md +10 -18
- package/dist/skills/temps/references/commands/INDEX.md +11 -0
- package/dist/skills/temps/references/commands/access.md +4 -0
- package/dist/skills/temps/references/commands/agents.md +731 -0
- package/dist/skills/temps/references/commands/ai.md +2638 -9
- package/dist/skills/temps/references/commands/alarms.md +129 -0
- package/dist/skills/temps/references/commands/analytics.md +1199 -2
- package/dist/skills/temps/references/commands/apikeys.md +50 -1
- package/dist/skills/temps/references/commands/audit.md +1 -0
- package/dist/skills/temps/references/commands/backups.md +312 -0
- package/dist/skills/temps/references/commands/blob.md +169 -0
- package/dist/skills/temps/references/commands/cloud.md +73 -0
- package/dist/skills/temps/references/commands/cluster.md +223 -0
- package/dist/skills/temps/references/commands/configure.md +7 -0
- package/dist/skills/temps/references/commands/containers.md +45 -0
- package/dist/skills/temps/references/commands/context.md +6 -0
- package/dist/skills/temps/references/commands/custom-domains.md +32 -0
- package/dist/skills/temps/references/commands/data.md +11 -13
- package/dist/skills/temps/references/commands/deploy-image.md +3 -1
- package/dist/skills/temps/references/commands/deploy-local-image.md +3 -0
- package/dist/skills/temps/references/commands/deploy.md +2 -0
- package/dist/skills/temps/references/commands/deployments.md +560 -0
- package/dist/skills/temps/references/commands/dns-provider.md +63 -0
- package/dist/skills/temps/references/commands/domains.md +105 -0
- package/dist/skills/temps/references/commands/drop.md +2 -0
- package/dist/skills/temps/references/commands/edge-rules.md +218 -0
- package/dist/skills/temps/references/commands/email-domains.md +1 -0
- package/dist/skills/temps/references/commands/email-providers.md +64 -1
- package/dist/skills/temps/references/commands/emails.md +91 -0
- package/dist/skills/temps/references/commands/env-pull.md +2 -0
- package/dist/skills/temps/references/commands/env-push.md +2 -0
- package/dist/skills/temps/references/commands/environments.md +695 -2
- package/dist/skills/temps/references/commands/errors.md +1134 -61
- package/dist/skills/temps/references/commands/facets.md +6 -0
- package/dist/skills/temps/references/commands/flags.md +179 -0
- package/dist/skills/temps/references/commands/funnels.md +22 -2
- package/dist/skills/temps/references/commands/incidents.md +22 -0
- package/dist/skills/temps/references/commands/init.md +2 -0
- package/dist/skills/temps/references/commands/instances.md +6 -0
- package/dist/skills/temps/references/commands/instantiations.md +4 -0
- package/dist/skills/temps/references/commands/ip-access.md +96 -1
- package/dist/skills/temps/references/commands/kv.md +184 -0
- package/dist/skills/temps/references/commands/link.md +2 -0
- package/dist/skills/temps/references/commands/load-balancer.md +2 -0
- package/dist/skills/temps/references/commands/login.md +9 -1
- package/dist/skills/temps/references/commands/logs.md +405 -10
- package/dist/skills/temps/references/commands/mcp-servers.md +4 -0
- package/dist/skills/temps/references/commands/mcp.md +8 -1
- package/dist/skills/temps/references/commands/migrate.md +26 -0
- package/dist/skills/temps/references/commands/monitors.md +456 -0
- package/dist/skills/temps/references/commands/network-policy.md +147 -0
- package/dist/skills/temps/references/commands/nodes.md +209 -2
- package/dist/skills/temps/references/commands/notifications.md +173 -2
- package/dist/skills/temps/references/commands/open.md +2 -0
- package/dist/skills/temps/references/commands/otel-forward.md +16 -0
- package/dist/skills/temps/references/commands/otel.md +436 -0
- package/dist/skills/temps/references/commands/platform.md +57 -0
- package/dist/skills/temps/references/commands/plugin.md +106 -1
- package/dist/skills/temps/references/commands/presets.md +2 -0
- package/dist/skills/temps/references/commands/preview-gateway.md +91 -0
- package/dist/skills/temps/references/commands/project-groups.md +72 -4
- package/dist/skills/temps/references/commands/projects.md +509 -4
- package/dist/skills/temps/references/commands/providers.md +533 -1
- package/dist/skills/temps/references/commands/proxy-logs.md +111 -0
- package/dist/skills/temps/references/commands/revenue.md +223 -0
- package/dist/skills/temps/references/commands/rollback.md +2 -0
- package/dist/skills/temps/references/commands/sandbox.md +790 -10
- package/dist/skills/temps/references/commands/secrets.md +19 -6
- package/dist/skills/temps/references/commands/server.md +107 -0
- package/dist/skills/temps/references/commands/services.md +836 -5
- package/dist/skills/temps/references/commands/session-replay.md +8 -0
- package/dist/skills/temps/references/commands/settings.md +346 -0
- package/dist/skills/temps/references/commands/shield.md +354 -0
- package/dist/skills/temps/references/commands/skills.md +6 -0
- package/dist/skills/temps/references/commands/start.md +1 -0
- package/dist/skills/temps/references/commands/status-pages.md +376 -9
- package/dist/skills/temps/references/commands/status.md +2 -0
- package/dist/skills/temps/references/commands/surveys.md +165 -0
- package/dist/skills/temps/references/commands/teams.md +28 -0
- package/dist/skills/temps/references/commands/templates.md +22 -2
- package/dist/skills/temps/references/commands/tokens.md +106 -0
- package/dist/skills/temps/references/commands/traces.md +207 -0
- package/dist/skills/temps/references/commands/traefik-discovery.md +10 -0
- package/dist/skills/temps/references/commands/tunnels.md +141 -0
- package/dist/skills/temps/references/commands/up.md +2 -0
- package/dist/skills/temps/references/commands/users.md +127 -0
- package/dist/skills/temps/references/commands/vault.md +662 -0
- package/dist/skills/temps/references/commands/webhooks.md +10 -0
- package/dist/skills/temps/references/commands/workflow.md +2 -0
- package/dist/skills/temps/references/commands/workflows.md +563 -0
- package/dist/skills/temps/references/observability/analytics.md +2 -2
- package/dist/skills/temps/references/workflows/platform-operations.md +46 -36
- package/dist/skills/temps/scripts/generate_command_references.py +5 -3
- package/dist/skills/temps/scripts/test_generate_command_references.py +3 -1
- package/dist/skills/temps/scripts/test_validate_skill.py +25 -66
- package/dist/skills/temps/scripts/validate_skill.py +29 -43
- package/package.json +9 -3
- 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
|
@@ -13,6 +13,7 @@ Browse templates and create them
|
|
|
13
13
|
- `list` (`ls`) - List available templates
|
|
14
14
|
- `create` - Create a template: every service (an app, what `projects` manages), the databases it needs, its shared variables and path routes
|
|
15
15
|
- `validate` - Validate a Temps-native template YAML file or directory offline
|
|
16
|
+
- `list-tags` - List all available template tags
|
|
16
17
|
|
|
17
18
|
### `templates list` (alias: `ls`)
|
|
18
19
|
|
|
@@ -24,11 +25,15 @@ List available templates
|
|
|
24
25
|
|------|-------------|---------|----------|
|
|
25
26
|
| `--json` | Output in JSON format | - | No |
|
|
26
27
|
| `--kind <kind>` | Filter by kind: starter or app | - | No |
|
|
28
|
+
| `--featured` | Only featured templates | - | No |
|
|
29
|
+
| `--tag <tag>` | Only templates with this tag (see: templates list-tags) | - | No |
|
|
27
30
|
|
|
28
31
|
### `templates create`
|
|
29
32
|
|
|
30
33
|
Create a template: every service (an app, what `projects` manages), the databases it needs, its shared variables and path routes
|
|
31
34
|
|
|
35
|
+
**Usage:** `templates create <slug> [options]`
|
|
36
|
+
|
|
32
37
|
**Options:**
|
|
33
38
|
|
|
34
39
|
| Flag | Description | Default | Required |
|
|
@@ -38,14 +43,17 @@ Create a template: every service (an app, what `projects` manages), the database
|
|
|
38
43
|
| `--standalone` | Create a one-service template without a project (group); the default for one service | - | No |
|
|
39
44
|
| `--name <service=name...>` | Name a created service; a one-service template also takes a bare name | - | No |
|
|
40
45
|
| `--env <[service:]KEY=VALUE...>` | Set a variable; prefix the service when the template cannot tell | - | No |
|
|
41
|
-
| `--secret <[service:]KEY=VALUE...>` | Set a secret variable (write-only once stored) | - | No |
|
|
42
|
-
| `--
|
|
46
|
+
| `--secret <[service:]KEY=VALUE...>` | Set a secret variable (write-only once stored); the value is visible in shell history, so prefer --secret-file | - | No |
|
|
47
|
+
| `--secret-file <[service:]KEY=PATH...>` | Set a secret variable from a file, byte-for-byte (PATH - reads stdin) | - | No |
|
|
48
|
+
| `--trim-trailing-newline` | Drop exactly one trailing newline from each --secret-file value | - | No |
|
|
49
|
+
| `--database <type=new\|type=new:name\|type=id...>` | Create or link each database the template needs (default: create) | - | No |
|
|
43
50
|
| `--fork-connection <id>` | Starters only: copy the code into a new repository on this git connection | - | No |
|
|
44
51
|
| `--repo-name <name>` | Name of the new repository (with --fork-connection) | - | No |
|
|
45
52
|
| `--repo-owner <owner>` | Account or organization for the new repository | - | No |
|
|
46
53
|
| `--public-repo` | Make the new repository public (private by default) | - | No |
|
|
47
54
|
| `--no-auto-deploy` | Do not deploy on push to the new repository | - | No |
|
|
48
55
|
| `--idempotency-key <key>` | Reuse a key to get the same result instead of creating twice | - | No |
|
|
56
|
+
| `--runtime-overrides <json>` | Image, command, port, health check or limits per image service, e.g. {"api":{"exposed_port":8080}} | - | No |
|
|
49
57
|
| `--no-wait` | Return right away instead of waiting until it finishes | - | No |
|
|
50
58
|
| `--timeout <minutes>` | Stop waiting after this long (default 30); it keeps running on the server | - | No |
|
|
51
59
|
| `--json` | Output in JSON format | - | No |
|
|
@@ -54,6 +62,18 @@ Create a template: every service (an app, what `projects` manages), the database
|
|
|
54
62
|
|
|
55
63
|
Validate a Temps-native template YAML file or directory offline
|
|
56
64
|
|
|
65
|
+
**Usage:** `templates validate <path> [options]`
|
|
66
|
+
|
|
67
|
+
**Options:**
|
|
68
|
+
|
|
69
|
+
| Flag | Description | Default | Required |
|
|
70
|
+
|------|-------------|---------|----------|
|
|
71
|
+
| `--json` | Output in JSON format | - | No |
|
|
72
|
+
|
|
73
|
+
### `templates list-tags`
|
|
74
|
+
|
|
75
|
+
List all available template tags
|
|
76
|
+
|
|
57
77
|
**Options:**
|
|
58
78
|
|
|
59
79
|
| Flag | Description | Default | Required |
|
|
@@ -15,6 +15,7 @@ Manage deployment tokens for project API access (KV, Blob, etc.)
|
|
|
15
15
|
- `show` (`get`) - Show deployment token details
|
|
16
16
|
- `delete` (`rm`) - Delete a deployment token
|
|
17
17
|
- `permissions` - List available deployment token permissions
|
|
18
|
+
- `deployment` - Deployment commands
|
|
18
19
|
|
|
19
20
|
### `tokens list` (alias: `ls`)
|
|
20
21
|
|
|
@@ -75,3 +76,108 @@ List available deployment token permissions
|
|
|
75
76
|
| Flag | Description | Default | Required |
|
|
76
77
|
|------|-------------|---------|----------|
|
|
77
78
|
| `--json` | Output in JSON format | - | No |
|
|
79
|
+
|
|
80
|
+
### `tokens deployment`
|
|
81
|
+
|
|
82
|
+
Deployment commands
|
|
83
|
+
|
|
84
|
+
**Subcommands:**
|
|
85
|
+
|
|
86
|
+
- `list` - List all deployment tokens for a project
|
|
87
|
+
- `create` - Create a new deployment token for a project
|
|
88
|
+
- `delete` - Delete a deployment token
|
|
89
|
+
- `get` - Get a specific deployment token
|
|
90
|
+
- `update` - Update a deployment token
|
|
91
|
+
- `rotate` - Rotate a deployment token, invalidating its old secret and issuing a new one
|
|
92
|
+
|
|
93
|
+
#### `tokens deployment list`
|
|
94
|
+
|
|
95
|
+
List all deployment tokens for a project
|
|
96
|
+
|
|
97
|
+
**Options:**
|
|
98
|
+
|
|
99
|
+
| Flag | Description | Default | Required |
|
|
100
|
+
|------|-------------|---------|----------|
|
|
101
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
102
|
+
| `--page <n>` | Page number (default: 1) | - | No |
|
|
103
|
+
| `--page-size <n>` | Page size (default: 20, max: 100) | - | No |
|
|
104
|
+
| `--json` | Output in JSON format | - | No |
|
|
105
|
+
|
|
106
|
+
#### `tokens deployment create`
|
|
107
|
+
|
|
108
|
+
Create a new deployment token for a project
|
|
109
|
+
|
|
110
|
+
**Options:**
|
|
111
|
+
|
|
112
|
+
| Flag | Description | Default | Required |
|
|
113
|
+
|------|-------------|---------|----------|
|
|
114
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
115
|
+
| `--deployment-id <n>` | Optional deployment ID - if set, token is scoped to a specific deployment | - | No |
|
|
116
|
+
| `--environment-id <n>` | Optional environment ID - if not set, token applies to all environments | - | No |
|
|
117
|
+
| `--expires-at <value>` | Body field expires_at | - | No |
|
|
118
|
+
| `--name <value>` | Body field name [required] | - | No |
|
|
119
|
+
| `--permissions <value>` | List of permissions (e.g., ["visitors:enrich", "emails:send"]) If not provided, defaults to full access (repeatable) | - | No |
|
|
120
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
121
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
122
|
+
| `--json` | Output in JSON format | - | No |
|
|
123
|
+
|
|
124
|
+
#### `tokens deployment delete`
|
|
125
|
+
|
|
126
|
+
Delete a deployment token
|
|
127
|
+
|
|
128
|
+
**Usage:** `tokens deployment delete <token-id> [options]`
|
|
129
|
+
|
|
130
|
+
**Options:**
|
|
131
|
+
|
|
132
|
+
| Flag | Description | Default | Required |
|
|
133
|
+
|------|-------------|---------|----------|
|
|
134
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
135
|
+
| `-y, --yes` | Do not ask for confirmation | - | No |
|
|
136
|
+
| `--json` | Output in JSON format | - | No |
|
|
137
|
+
|
|
138
|
+
#### `tokens deployment get`
|
|
139
|
+
|
|
140
|
+
Get a specific deployment token
|
|
141
|
+
|
|
142
|
+
**Usage:** `tokens deployment get <token-id> [options]`
|
|
143
|
+
|
|
144
|
+
**Options:**
|
|
145
|
+
|
|
146
|
+
| Flag | Description | Default | Required |
|
|
147
|
+
|------|-------------|---------|----------|
|
|
148
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
149
|
+
| `--json` | Output in JSON format | - | No |
|
|
150
|
+
|
|
151
|
+
#### `tokens deployment update`
|
|
152
|
+
|
|
153
|
+
Update a deployment token
|
|
154
|
+
|
|
155
|
+
**Usage:** `tokens deployment update <token-id> [options]`
|
|
156
|
+
|
|
157
|
+
**Options:**
|
|
158
|
+
|
|
159
|
+
| Flag | Description | Default | Required |
|
|
160
|
+
|------|-------------|---------|----------|
|
|
161
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
162
|
+
| `--expires-at <value>` | Body field expires_at | - | No |
|
|
163
|
+
| `--is-active` | Body field is_active | - | No |
|
|
164
|
+
| `--no-is-active` | Set is_active to false | - | No |
|
|
165
|
+
| `--name <value>` | Body field name | - | No |
|
|
166
|
+
| `--permissions <value>` | Body field permissions (repeatable) | - | No |
|
|
167
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
168
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
169
|
+
| `--json` | Output in JSON format | - | No |
|
|
170
|
+
|
|
171
|
+
#### `tokens deployment rotate`
|
|
172
|
+
|
|
173
|
+
Rotate a deployment token, invalidating its old secret and issuing a new one
|
|
174
|
+
|
|
175
|
+
**Usage:** `tokens deployment rotate <token-id> [options]`
|
|
176
|
+
|
|
177
|
+
**Options:**
|
|
178
|
+
|
|
179
|
+
| Flag | Description | Default | Required |
|
|
180
|
+
|------|-------------|---------|----------|
|
|
181
|
+
| `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
|
|
182
|
+
| `-y, --yes` | Do not ask for confirmation | - | No |
|
|
183
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -11,6 +11,17 @@ Inspect distributed traces and operation latency
|
|
|
11
11
|
**Subcommands:**
|
|
12
12
|
|
|
13
13
|
- `span-stats` (`operations`, `ops`) - Rank operations by time spent, latency percentiles, or inconsistency
|
|
14
|
+
- `trend` - Show how one operation's latency moved, day by day, with deployments
|
|
15
|
+
- `regressions` - List the operations that got slower or faster after a deployment
|
|
16
|
+
- `breakdown` - Show where the time inside one operation goes: queries, downstream calls, its own code
|
|
17
|
+
- `page` - Compare a page's web vitals with the backend requests that served it
|
|
18
|
+
- `show` (`get`) - Show every span of one trace: timing, service, status, attributes and events
|
|
19
|
+
- `query-global` - Query global traces
|
|
20
|
+
- `query-global-summaries` - Query global trace summaries
|
|
21
|
+
- `get-unified` - Assemble a unified cross-project span waterfall (Phase 2)
|
|
22
|
+
- `query-summaries` - Query trace summaries — one row per trace with span count, error count, root span info, and proper..
|
|
23
|
+
- `query` - Query trace spans with optional filters
|
|
24
|
+
- `get-cross-siblings` - Discover sibling projects that share the same 'trace_id' (Phase 1 banner)
|
|
14
25
|
|
|
15
26
|
### `traces span-stats` (alias: `operations`, `ops`)
|
|
16
27
|
|
|
@@ -35,8 +46,204 @@ Rank operations by time spent, latency percentiles, or inconsistency
|
|
|
35
46
|
| `--attributes <pairs>` | Span attribute filters, e.g. db.system=postgresql | - | No |
|
|
36
47
|
| `--min-duration-ms <ms>` | Ignore spans faster than this | - | No |
|
|
37
48
|
| `--min-count <n>` | Drop operations with fewer samples than this | - | No |
|
|
49
|
+
| `--apdex-ms <ms>` | Apdex threshold: calls at or under this satisfy, up to 4x tolerate (default 500) | - | No |
|
|
38
50
|
| `--sort-by <field>` | Ranking (total_time, p50, p95, p99, max, avg, stddev, count, errors, error_rate, variability, tail_ratio) | `total_time` | No |
|
|
39
51
|
| `--sort-order <order>` | asc or desc | `desc` | No |
|
|
40
52
|
| `--limit <n>` | Rows to show (max 100) | `20` | No |
|
|
41
53
|
| `--offset <n>` | Page offset | - | No |
|
|
42
54
|
| `--json` | Output in JSON format | - | No |
|
|
55
|
+
|
|
56
|
+
### `traces trend`
|
|
57
|
+
|
|
58
|
+
Show how one operation's latency moved, day by day, with deployments
|
|
59
|
+
|
|
60
|
+
**Options:**
|
|
61
|
+
|
|
62
|
+
| Flag | Description | Default | Required |
|
|
63
|
+
|------|-------------|---------|----------|
|
|
64
|
+
| `--project-id <id>` | Project ID | - | No |
|
|
65
|
+
| `--service <name>` | Service of the operation | - | No |
|
|
66
|
+
| `--operation <name>` | The operation (span name) | - | No |
|
|
67
|
+
| `--days <n>` | Days to show (max 30) | `14` | No |
|
|
68
|
+
| `--json` | Output the hourly points in JSON format | - | No |
|
|
69
|
+
|
|
70
|
+
### `traces regressions`
|
|
71
|
+
|
|
72
|
+
List the operations that got slower or faster after a deployment
|
|
73
|
+
|
|
74
|
+
**Options:**
|
|
75
|
+
|
|
76
|
+
| Flag | Description | Default | Required |
|
|
77
|
+
|------|-------------|---------|----------|
|
|
78
|
+
| `--project-id <id>` | Project ID | - | No |
|
|
79
|
+
| `--deployment-id <id>` | Deployment to compare across | - | No |
|
|
80
|
+
| `--json` | Output in JSON format | - | No |
|
|
81
|
+
|
|
82
|
+
### `traces breakdown`
|
|
83
|
+
|
|
84
|
+
Show where the time inside one operation goes: queries, downstream calls, its own code
|
|
85
|
+
|
|
86
|
+
**Options:**
|
|
87
|
+
|
|
88
|
+
| Flag | Description | Default | Required |
|
|
89
|
+
|------|-------------|---------|----------|
|
|
90
|
+
| `--project-id <id>` | Project ID | - | No |
|
|
91
|
+
| `--service <name>` | Service of the operation | - | No |
|
|
92
|
+
| `--operation <name>` | The operation (span name) | - | No |
|
|
93
|
+
| `--sample <kind>` | Calls to sample (recent, slow) | `recent` | No |
|
|
94
|
+
| `--attribute <key>` | Also split the calls by this attribute, e.g. http.route | - | No |
|
|
95
|
+
| `--json` | Output in JSON format | - | No |
|
|
96
|
+
|
|
97
|
+
### `traces page`
|
|
98
|
+
|
|
99
|
+
Compare a page's web vitals with the backend requests that served it
|
|
100
|
+
|
|
101
|
+
**Options:**
|
|
102
|
+
|
|
103
|
+
| Flag | Description | Default | Required |
|
|
104
|
+
|------|-------------|---------|----------|
|
|
105
|
+
| `--project-id <id>` | Project ID | - | No |
|
|
106
|
+
| `--path <path>` | The page path, e.g. /checkout | - | No |
|
|
107
|
+
| `--json` | Output in JSON format | - | No |
|
|
108
|
+
|
|
109
|
+
### `traces show` (alias: `get`)
|
|
110
|
+
|
|
111
|
+
Show every span of one trace: timing, service, status, attributes and events
|
|
112
|
+
|
|
113
|
+
**Usage:** `traces show <trace-id> [options]`
|
|
114
|
+
|
|
115
|
+
**Options:**
|
|
116
|
+
|
|
117
|
+
| Flag | Description | Default | Required |
|
|
118
|
+
|------|-------------|---------|----------|
|
|
119
|
+
| `--project-id <id>` | Project the trace belongs to | - | Yes |
|
|
120
|
+
| `--start-time <iso>` | Look for the trace from this time (ISO 8601); pair with --end-time | - | No |
|
|
121
|
+
| `--end-time <iso>` | Look for the trace up to this time (ISO 8601); pair with --start-time | - | No |
|
|
122
|
+
| `--json` | Output the spans in JSON format | - | No |
|
|
123
|
+
|
|
124
|
+
### `traces query-global`
|
|
125
|
+
|
|
126
|
+
Query global traces
|
|
127
|
+
|
|
128
|
+
**Options:**
|
|
129
|
+
|
|
130
|
+
| Flag | Description | Default | Required |
|
|
131
|
+
|------|-------------|---------|----------|
|
|
132
|
+
| `--project-id <n>` | Query parameter project_id | - | No |
|
|
133
|
+
| `--trace-id <value>` | Query parameter trace_id | - | No |
|
|
134
|
+
| `--service-name <value>` | Query parameter service_name | - | No |
|
|
135
|
+
| `--status <value>` | Query parameter status | - | No |
|
|
136
|
+
| `--min-duration-ms <number>` | Query parameter min_duration_ms | - | No |
|
|
137
|
+
| `--start-time <value>` | Query parameter start_time | - | No |
|
|
138
|
+
| `--end-time <value>` | Query parameter end_time | - | No |
|
|
139
|
+
| `--environment-id <n>` | Query parameter environment_id | - | No |
|
|
140
|
+
| `--deployment-id <n>` | Query parameter deployment_id | - | No |
|
|
141
|
+
| `--attributes <value>` | Filter by span attributes as comma-separated key=value pairs. e.g.... | - | No |
|
|
142
|
+
| `--name-pattern <value>` | Filter by span name pattern (ILIKE) | - | No |
|
|
143
|
+
| `--sort-by <value>` | Sort field for the trace-summaries list: "start_time" (default) or "duration" | - | No |
|
|
144
|
+
| `--sort-order <value>` | Sort direction: "asc" or "desc" (default) | - | No |
|
|
145
|
+
| `--limit <n>` | Query parameter limit | - | No |
|
|
146
|
+
| `--offset <n>` | Query parameter offset | - | No |
|
|
147
|
+
| `--json` | Output in JSON format | - | No |
|
|
148
|
+
|
|
149
|
+
### `traces query-global-summaries`
|
|
150
|
+
|
|
151
|
+
Query global trace summaries
|
|
152
|
+
|
|
153
|
+
**Options:**
|
|
154
|
+
|
|
155
|
+
| Flag | Description | Default | Required |
|
|
156
|
+
|------|-------------|---------|----------|
|
|
157
|
+
| `--project-id <n>` | Query parameter project_id | - | No |
|
|
158
|
+
| `--trace-id <value>` | Query parameter trace_id | - | No |
|
|
159
|
+
| `--service-name <value>` | Query parameter service_name | - | No |
|
|
160
|
+
| `--status <value>` | Query parameter status | - | No |
|
|
161
|
+
| `--min-duration-ms <number>` | Query parameter min_duration_ms | - | No |
|
|
162
|
+
| `--start-time <value>` | Query parameter start_time | - | No |
|
|
163
|
+
| `--end-time <value>` | Query parameter end_time | - | No |
|
|
164
|
+
| `--environment-id <n>` | Query parameter environment_id | - | No |
|
|
165
|
+
| `--deployment-id <n>` | Query parameter deployment_id | - | No |
|
|
166
|
+
| `--attributes <value>` | Filter by span attributes as comma-separated key=value pairs. e.g.... | - | No |
|
|
167
|
+
| `--name-pattern <value>` | Filter by span name pattern (ILIKE) | - | No |
|
|
168
|
+
| `--sort-by <value>` | Sort field for the trace-summaries list: "start_time" (default) or "duration" | - | No |
|
|
169
|
+
| `--sort-order <value>` | Sort direction: "asc" or "desc" (default) | - | No |
|
|
170
|
+
| `--limit <n>` | Query parameter limit | - | No |
|
|
171
|
+
| `--offset <n>` | Query parameter offset | - | No |
|
|
172
|
+
| `--json` | Output in JSON format | - | No |
|
|
173
|
+
|
|
174
|
+
### `traces get-unified`
|
|
175
|
+
|
|
176
|
+
Assemble a unified cross-project span waterfall (Phase 2)
|
|
177
|
+
|
|
178
|
+
**Usage:** `traces get-unified <trace-id> [options]`
|
|
179
|
+
|
|
180
|
+
**Options:**
|
|
181
|
+
|
|
182
|
+
| Flag | Description | Default | Required |
|
|
183
|
+
|------|-------------|---------|----------|
|
|
184
|
+
| `--start-time <value>` | Window start (RFC 3339); pair with end_time, max 31 days | - | No |
|
|
185
|
+
| `--end-time <value>` | Window end (RFC 3339); pair with start_time, max 31 days | - | No |
|
|
186
|
+
| `--json` | Output in JSON format | - | No |
|
|
187
|
+
|
|
188
|
+
### `traces query-summaries`
|
|
189
|
+
|
|
190
|
+
Query trace summaries — one row per trace with span count, error count, root span info, and proper..
|
|
191
|
+
|
|
192
|
+
**Options:**
|
|
193
|
+
|
|
194
|
+
| Flag | Description | Default | Required |
|
|
195
|
+
|------|-------------|---------|----------|
|
|
196
|
+
| `--project-id <n>` | Project ID [required] | - | No |
|
|
197
|
+
| `--trace-id <value>` | Filter by trace ID | - | No |
|
|
198
|
+
| `--service-name <value>` | Filter by service name | - | No |
|
|
199
|
+
| `--status <value>` | Filter by status (OK, ERROR) | - | No |
|
|
200
|
+
| `--min-duration-ms <number>` | Minimum trace duration in ms | - | No |
|
|
201
|
+
| `--start-time <value>` | Start time (RFC 3339) | - | No |
|
|
202
|
+
| `--end-time <value>` | End time (RFC 3339) | - | No |
|
|
203
|
+
| `--environment-id <n>` | Filter by environment ID | - | No |
|
|
204
|
+
| `--deployment-id <n>` | Filter by deployment ID | - | No |
|
|
205
|
+
| `--attributes <value>` | Filter by span attributes as comma-separated key=value pairs, e.g.... | - | No |
|
|
206
|
+
| `--name-pattern <value>` | Filter by span name pattern (ILIKE) | - | No |
|
|
207
|
+
| `--sort-by <value>` | Sort field: 'start_time' (default) or 'duration' | - | No |
|
|
208
|
+
| `--sort-order <value>` | Sort direction: 'asc' or 'desc' (default) | - | No |
|
|
209
|
+
| `--include-total` | Compute the 'total' count (default: true) | - | No |
|
|
210
|
+
| `--no-include-total` | Set include_total to false | - | No |
|
|
211
|
+
| `--limit <n>` | Max traces to return (default: 50, max: 100) | - | No |
|
|
212
|
+
| `--offset <n>` | Offset for pagination | - | No |
|
|
213
|
+
| `--json` | Output in JSON format | - | No |
|
|
214
|
+
|
|
215
|
+
### `traces query`
|
|
216
|
+
|
|
217
|
+
Query trace spans with optional filters
|
|
218
|
+
|
|
219
|
+
**Options:**
|
|
220
|
+
|
|
221
|
+
| Flag | Description | Default | Required |
|
|
222
|
+
|------|-------------|---------|----------|
|
|
223
|
+
| `--project-id <n>` | Project ID [required] | - | No |
|
|
224
|
+
| `--trace-id <value>` | Filter by trace ID | - | No |
|
|
225
|
+
| `--service-name <value>` | Filter by service name | - | No |
|
|
226
|
+
| `--status <value>` | Filter by status (OK, ERROR, UNSET) | - | No |
|
|
227
|
+
| `--min-duration-ms <number>` | Minimum span duration in ms | - | No |
|
|
228
|
+
| `--start-time <value>` | Start time (RFC 3339) | - | No |
|
|
229
|
+
| `--end-time <value>` | End time (RFC 3339) | - | No |
|
|
230
|
+
| `--environment-id <n>` | Filter by environment ID | - | No |
|
|
231
|
+
| `--deployment-id <n>` | Filter by deployment ID | - | No |
|
|
232
|
+
| `--attributes <value>` | Filter by span attributes as comma-separated key=value pairs, e.g.... | - | No |
|
|
233
|
+
| `--name-pattern <value>` | Filter by span name pattern (ILIKE) | - | No |
|
|
234
|
+
| `--limit <n>` | Max spans to return (default: 100, max: 1000) | - | No |
|
|
235
|
+
| `--offset <n>` | Offset for pagination | - | No |
|
|
236
|
+
| `--json` | Output in JSON format | - | No |
|
|
237
|
+
|
|
238
|
+
### `traces get-cross-siblings`
|
|
239
|
+
|
|
240
|
+
Discover sibling projects that share the same 'trace_id' (Phase 1 banner)
|
|
241
|
+
|
|
242
|
+
**Usage:** `traces get-cross-siblings <trace-id> [options]`
|
|
243
|
+
|
|
244
|
+
**Options:**
|
|
245
|
+
|
|
246
|
+
| Flag | Description | Default | Required |
|
|
247
|
+
|------|-------------|---------|----------|
|
|
248
|
+
| `--exclude-project-id <n>` | Project ID to exclude (the caller's own project) so the UI does not render a self-link | - | No |
|
|
249
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -50,6 +50,8 @@ List every route discovered from Traefik labels, including the labelled containe
|
|
|
50
50
|
|
|
51
51
|
Restore a previously suppressed discovered route
|
|
52
52
|
|
|
53
|
+
**Usage:** `traefik-discovery routes enable <host> [options]`
|
|
54
|
+
|
|
53
55
|
**Options:**
|
|
54
56
|
|
|
55
57
|
| Flag | Description | Default | Required |
|
|
@@ -60,6 +62,8 @@ Restore a previously suppressed discovered route
|
|
|
60
62
|
|
|
61
63
|
Stop routing one discovered host without touching the container labels; the route stays listed so you can see what was found
|
|
62
64
|
|
|
65
|
+
**Usage:** `traefik-discovery routes disable <host> [options]`
|
|
66
|
+
|
|
63
67
|
**Options:**
|
|
64
68
|
|
|
65
69
|
| Flag | Description | Default | Required |
|
|
@@ -80,6 +84,8 @@ Manage HTTPS certificates for Traefik-discovered routes (ADR-041). A discovered
|
|
|
80
84
|
|
|
81
85
|
Authorize Temps to obtain a Let's Encrypt certificate for a discovered route (Path A). The certificate renews automatically using the declared challenge type.
|
|
82
86
|
|
|
87
|
+
**Usage:** `traefik-discovery tls request <host> [options]`
|
|
88
|
+
|
|
83
89
|
**Options:**
|
|
84
90
|
|
|
85
91
|
| Flag | Description | Default | Required |
|
|
@@ -92,6 +98,8 @@ Authorize Temps to obtain a Let's Encrypt certificate for a discovered route (Pa
|
|
|
92
98
|
|
|
93
99
|
Remove TLS authorization for a discovered route. Stops Temps from attempting renewal. Does NOT delete the certificate — use `temps domains delete <host>` to remove the certificate itself.
|
|
94
100
|
|
|
101
|
+
**Usage:** `traefik-discovery tls revoke <host> [options]`
|
|
102
|
+
|
|
95
103
|
**Options:**
|
|
96
104
|
|
|
97
105
|
| Flag | Description | Default | Required |
|
|
@@ -102,6 +110,8 @@ Remove TLS authorization for a discovered route. Stops Temps from attempting ren
|
|
|
102
110
|
|
|
103
111
|
Import certificates from a Traefik acme.json file (Path B). Use this to get HTTPS immediately at cutover — Traefik already holds the cert, so there is no outage window. Each host is validated (8-step X.509 chain) and a per-host result is returned. Add --dry-run to preview without writing.
|
|
104
112
|
|
|
113
|
+
**Usage:** `traefik-discovery tls import <acme-json-file> [options]`
|
|
114
|
+
|
|
105
115
|
**Options:**
|
|
106
116
|
|
|
107
117
|
| Flag | Description | Default | Required |
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `tunnels` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `tunnels`
|
|
8
|
+
|
|
9
|
+
Ingress tunnels: publish apps on workers with no open ports or certificates. Apps under a tunnel's domain go live by adding the hostname to an environment
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` - List tunnels, what each publishes and the workers it runs on
|
|
14
|
+
- `workers` - List worker nodes, for choosing where a tunnel runs (create --node)
|
|
15
|
+
- `create` - Create a tunnel for a managed zone and run it on workers. The zone must already be managed by the DNS provider (dns-providers domains add); workers must allow ingress
|
|
16
|
+
- `hostnames` - List hostnames tunnels publish or could publish, with their state and why
|
|
17
|
+
- `explain` - Explain how a hostname reaches visitors: which tunnel carries it, or why none does
|
|
18
|
+
- `route` - Choose how a hostname reaches visitors: through a tunnel (--tunnel <id>), whichever tunnel covers it (--automatic), or no tunnel (--off)
|
|
19
|
+
- `publish` - Set what a tunnel publishes: every app under its domain (--all) or only chosen hostnames (--chosen)
|
|
20
|
+
- `nodes` - Set the workers a tunnel runs on (an empty list stops it everywhere)
|
|
21
|
+
- `links` - Show a tunnel's live connections to the provider: data centre, age, worker
|
|
22
|
+
- `sync` - Re-check a tunnel with its provider and recreate it if it was deleted there
|
|
23
|
+
|
|
24
|
+
### `tunnels list`
|
|
25
|
+
|
|
26
|
+
List tunnels, what each publishes and the workers it runs on
|
|
27
|
+
|
|
28
|
+
**Options:**
|
|
29
|
+
|
|
30
|
+
| Flag | Description | Default | Required |
|
|
31
|
+
|------|-------------|---------|----------|
|
|
32
|
+
| `--page <page>` | Page number (1-indexed) | `1` | No |
|
|
33
|
+
| `--page-size <pageSize>` | Items per page (max 100) | `20` | No |
|
|
34
|
+
| `--json` | Output in JSON format | - | No |
|
|
35
|
+
|
|
36
|
+
### `tunnels workers`
|
|
37
|
+
|
|
38
|
+
List worker nodes, for choosing where a tunnel runs (create --node)
|
|
39
|
+
|
|
40
|
+
**Options:**
|
|
41
|
+
|
|
42
|
+
| Flag | Description | Default | Required |
|
|
43
|
+
|------|-------------|---------|----------|
|
|
44
|
+
| `--json` | Output in JSON format | - | No |
|
|
45
|
+
|
|
46
|
+
### `tunnels create`
|
|
47
|
+
|
|
48
|
+
Create a tunnel for a managed zone and run it on workers. The zone must already be managed by the DNS provider (dns-providers domains add); workers must allow ingress
|
|
49
|
+
|
|
50
|
+
**Options:**
|
|
51
|
+
|
|
52
|
+
| Flag | Description | Default | Required |
|
|
53
|
+
|------|-------------|---------|----------|
|
|
54
|
+
| `--name <name>` | Lowercase letters, digits and hyphens | - | Yes |
|
|
55
|
+
| `--dns-provider <id>` | Cloudflare DNS provider id | - | Yes |
|
|
56
|
+
| `--domain <domain>` | Zone (or subdomain of one) whose apps it publishes | - | Yes |
|
|
57
|
+
| `--node <ids...>` | Worker node ids to run it on | - | Yes |
|
|
58
|
+
| `--provider <kind>` | Tunnel provider kind | `cloudflare_tunnel` | No |
|
|
59
|
+
| `--host-suffix <suffix>` | Name environment hosts <label>-<suffix>.<domain>, one level under the zone | - | No |
|
|
60
|
+
| `--secrets-file <path>` | JSON object of the provider's credential fields by key (- reads stdin) | - | No |
|
|
61
|
+
| `--json` | Output in JSON format | - | No |
|
|
62
|
+
|
|
63
|
+
### `tunnels hostnames`
|
|
64
|
+
|
|
65
|
+
List hostnames tunnels publish or could publish, with their state and why
|
|
66
|
+
|
|
67
|
+
**Options:**
|
|
68
|
+
|
|
69
|
+
| Flag | Description | Default | Required |
|
|
70
|
+
|------|-------------|---------|----------|
|
|
71
|
+
| `--json` | Output in JSON format | - | No |
|
|
72
|
+
|
|
73
|
+
### `tunnels explain`
|
|
74
|
+
|
|
75
|
+
Explain how a hostname reaches visitors: which tunnel carries it, or why none does
|
|
76
|
+
|
|
77
|
+
**Usage:** `tunnels explain <hostname> [options]`
|
|
78
|
+
|
|
79
|
+
**Options:**
|
|
80
|
+
|
|
81
|
+
| Flag | Description | Default | Required |
|
|
82
|
+
|------|-------------|---------|----------|
|
|
83
|
+
| `--json` | Output in JSON format | - | No |
|
|
84
|
+
|
|
85
|
+
### `tunnels route`
|
|
86
|
+
|
|
87
|
+
Choose how a hostname reaches visitors: through a tunnel (--tunnel <id>), whichever tunnel covers it (--automatic), or no tunnel (--off)
|
|
88
|
+
|
|
89
|
+
**Usage:** `tunnels route <hostname> [options]`
|
|
90
|
+
|
|
91
|
+
**Options:**
|
|
92
|
+
|
|
93
|
+
| Flag | Description | Default | Required |
|
|
94
|
+
|------|-------------|---------|----------|
|
|
95
|
+
| `--tunnel <id>` | Pin it to this tunnel | - | No |
|
|
96
|
+
| `--automatic` | Let the most specific covering tunnel publish it | - | No |
|
|
97
|
+
| `--off` | Keep every tunnel away from it (DNS managed elsewhere) | - | No |
|
|
98
|
+
| `--json` | Output in JSON format | - | No |
|
|
99
|
+
|
|
100
|
+
### `tunnels publish`
|
|
101
|
+
|
|
102
|
+
Set what a tunnel publishes: every app under its domain (--all) or only chosen hostnames (--chosen)
|
|
103
|
+
|
|
104
|
+
**Usage:** `tunnels publish <id> [options]`
|
|
105
|
+
|
|
106
|
+
**Options:**
|
|
107
|
+
|
|
108
|
+
| Flag | Description | Default | Required |
|
|
109
|
+
|------|-------------|---------|----------|
|
|
110
|
+
| `--all` | Publish every app under its domain | - | No |
|
|
111
|
+
| `--chosen` | Publish only hostnames routed to it | - | No |
|
|
112
|
+
|
|
113
|
+
### `tunnels nodes`
|
|
114
|
+
|
|
115
|
+
Set the workers a tunnel runs on (an empty list stops it everywhere)
|
|
116
|
+
|
|
117
|
+
**Usage:** `tunnels nodes <id> [options]`
|
|
118
|
+
|
|
119
|
+
**Options:**
|
|
120
|
+
|
|
121
|
+
| Flag | Description | Default | Required |
|
|
122
|
+
|------|-------------|---------|----------|
|
|
123
|
+
| `--node <ids...>` | Worker node ids | - | Yes |
|
|
124
|
+
|
|
125
|
+
### `tunnels links`
|
|
126
|
+
|
|
127
|
+
Show a tunnel's live connections to the provider: data centre, age, worker
|
|
128
|
+
|
|
129
|
+
**Usage:** `tunnels links <id> [options]`
|
|
130
|
+
|
|
131
|
+
**Options:**
|
|
132
|
+
|
|
133
|
+
| Flag | Description | Default | Required |
|
|
134
|
+
|------|-------------|---------|----------|
|
|
135
|
+
| `--json` | Output in JSON format | - | No |
|
|
136
|
+
|
|
137
|
+
### `tunnels sync`
|
|
138
|
+
|
|
139
|
+
Re-check a tunnel with its provider and recreate it if it was deleted there
|
|
140
|
+
|
|
141
|
+
**Usage:** `tunnels sync <id>`
|