@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.
- package/README.md +14 -0
- package/dist/index.js +32148 -34152
- package/dist/skills/temps/SKILL.md +148 -0
- package/dist/skills/temps/agents/openai.yaml +7 -0
- package/dist/skills/temps/evals/evals.json +112 -0
- package/dist/skills/temps/howtos/backup-recovery.md +41 -0
- package/dist/skills/temps/howtos/ci-automation.md +17 -0
- package/dist/skills/temps/howtos/curated-services.md +69 -0
- package/dist/skills/temps/howtos/deploy-application.md +36 -0
- package/dist/skills/temps/howtos/diagnose-deployment.md +17 -0
- package/dist/skills/temps/howtos/edge-rules.md +135 -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 +50 -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 +60 -0
- package/dist/skills/temps/references/commands/INDEX.md +102 -0
- package/dist/skills/temps/references/commands/access.md +53 -0
- package/dist/skills/temps/references/commands/ai.md +47 -0
- package/dist/skills/temps/references/commands/alarms.md +91 -0
- package/dist/skills/temps/references/commands/analytics.md +568 -0
- package/dist/skills/temps/references/commands/apikeys.md +98 -0
- package/dist/skills/temps/references/commands/audit.md +41 -0
- package/dist/skills/temps/references/commands/backups.md +269 -0
- package/dist/skills/temps/references/commands/cloud.md +385 -0
- package/dist/skills/temps/references/commands/cluster.md +31 -0
- package/dist/skills/temps/references/commands/configure.md +62 -0
- package/dist/skills/temps/references/commands/containers.md +110 -0
- package/dist/skills/temps/references/commands/context.md +55 -0
- package/dist/skills/temps/references/commands/custom-domains.md +98 -0
- package/dist/skills/temps/references/commands/data.md +87 -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 +23 -0
- package/dist/skills/temps/references/commands/deployments.md +173 -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 +188 -0
- package/dist/skills/temps/references/commands/drop.md +23 -0
- package/dist/skills/temps/references/commands/dsn.md +84 -0
- package/dist/skills/temps/references/commands/edge-rules.md +218 -0
- package/dist/skills/temps/references/commands/email-domains.md +160 -0
- package/dist/skills/temps/references/commands/email-providers.md +96 -0
- package/dist/skills/temps/references/commands/emails.md +79 -0
- package/dist/skills/temps/references/commands/env-pull.md +18 -0
- package/dist/skills/temps/references/commands/env-push.md +19 -0
- package/dist/skills/temps/references/commands/environments.md +500 -0
- package/dist/skills/temps/references/commands/errors.md +763 -0
- package/dist/skills/temps/references/commands/facets.md +63 -0
- package/dist/skills/temps/references/commands/flags.md +246 -0
- package/dist/skills/temps/references/commands/funnels.md +92 -0
- package/dist/skills/temps/references/commands/incidents.md +115 -0
- package/dist/skills/temps/references/commands/init.md +18 -0
- package/dist/skills/temps/references/commands/instances.md +62 -0
- package/dist/skills/temps/references/commands/instantiations.md +57 -0
- package/dist/skills/temps/references/commands/ip-access.md +153 -0
- package/dist/skills/temps/references/commands/link.md +17 -0
- package/dist/skills/temps/references/commands/load-balancer.md +73 -0
- package/dist/skills/temps/references/commands/login.md +22 -0
- package/dist/skills/temps/references/commands/logout.md +16 -0
- package/dist/skills/temps/references/commands/logs.md +290 -0
- package/dist/skills/temps/references/commands/mcp-servers.md +74 -0
- package/dist/skills/temps/references/commands/mcp.md +72 -0
- package/dist/skills/temps/references/commands/metrics.md +79 -0
- package/dist/skills/temps/references/commands/migrate.md +118 -0
- package/dist/skills/temps/references/commands/monitors.md +162 -0
- package/dist/skills/temps/references/commands/network-policy.md +120 -0
- package/dist/skills/temps/references/commands/nodes.md +254 -0
- package/dist/skills/temps/references/commands/notification-preferences.md +47 -0
- package/dist/skills/temps/references/commands/notifications.md +233 -0
- package/dist/skills/temps/references/commands/open.md +19 -0
- package/dist/skills/temps/references/commands/otel-forward.md +226 -0
- package/dist/skills/temps/references/commands/otel.md +38 -0
- package/dist/skills/temps/references/commands/platform.md +151 -0
- package/dist/skills/temps/references/commands/plugin.md +222 -0
- package/dist/skills/temps/references/commands/presets.md +37 -0
- package/dist/skills/temps/references/commands/project-groups.md +292 -0
- package/dist/skills/temps/references/commands/projects.md +329 -0
- package/dist/skills/temps/references/commands/providers.md +290 -0
- package/dist/skills/temps/references/commands/proxy-logs.md +85 -0
- package/dist/skills/temps/references/commands/revenue.md +52 -0
- package/dist/skills/temps/references/commands/rollback.md +20 -0
- package/dist/skills/temps/references/commands/runtime-logs.md +21 -0
- package/dist/skills/temps/references/commands/sandbox.md +518 -0
- package/dist/skills/temps/references/commands/scans.md +113 -0
- package/dist/skills/temps/references/commands/secrets.md +75 -0
- package/dist/skills/temps/references/commands/server.md +50 -0
- package/dist/skills/temps/references/commands/services.md +642 -0
- package/dist/skills/temps/references/commands/session-replay.md +84 -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 +93 -0
- package/dist/skills/temps/references/commands/start.md +21 -0
- package/dist/skills/temps/references/commands/status-pages.md +455 -0
- package/dist/skills/temps/references/commands/status.md +19 -0
- package/dist/skills/temps/references/commands/stop.md +16 -0
- package/dist/skills/temps/references/commands/surveys.md +165 -0
- package/dist/skills/temps/references/commands/teams.md +143 -0
- package/dist/skills/temps/references/commands/templates.md +67 -0
- package/dist/skills/temps/references/commands/tokens.md +77 -0
- package/dist/skills/temps/references/commands/traces.md +100 -0
- package/dist/skills/temps/references/commands/traefik-discovery.md +123 -0
- package/dist/skills/temps/references/commands/tunnels.md +139 -0
- package/dist/skills/temps/references/commands/up.md +27 -0
- package/dist/skills/temps/references/commands/users.md +115 -0
- package/dist/skills/temps/references/commands/webhooks.md +171 -0
- package/dist/skills/temps/references/commands/whoami.md +15 -0
- package/dist/skills/temps/references/commands/workflow.md +44 -0
- package/dist/skills/temps/references/commands/workflows.md +216 -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 +164 -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 +43 -0
- package/dist/skills/temps/scripts/validate_skill.py +97 -0
- package/package.json +7 -2
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `otel-forward` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `otel-forward`
|
|
8
|
+
|
|
9
|
+
Manage OTel forwarding destinations that relay ingested traces, metrics, and logs to an external OTLP-compatible collector
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List OTel forwarding destinations for a project
|
|
14
|
+
- `create` - Create a new OTel forwarding destination
|
|
15
|
+
- `show` - Show OTel forwarding destination details
|
|
16
|
+
- `update` - Update an OTel forwarding destination
|
|
17
|
+
- `remove` - Remove an OTel forwarding destination
|
|
18
|
+
- `test` - Send a test delivery to an OTel forwarding destination
|
|
19
|
+
- `instance-default` - Manage instance-wide default forwarding destinations — applied automatically to any project with zero enabled destinations of its own. As soon as a project has one of its own destinations, instance defaults stop applying to that project.
|
|
20
|
+
|
|
21
|
+
### `otel-forward list` (alias: `ls`)
|
|
22
|
+
|
|
23
|
+
List OTel forwarding destinations for a project
|
|
24
|
+
|
|
25
|
+
**Options:**
|
|
26
|
+
|
|
27
|
+
| Flag | Description | Default | Required |
|
|
28
|
+
|------|-------------|---------|----------|
|
|
29
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
30
|
+
| `--json` | Output in JSON format | - | No |
|
|
31
|
+
|
|
32
|
+
### `otel-forward create`
|
|
33
|
+
|
|
34
|
+
Create a new OTel forwarding destination
|
|
35
|
+
|
|
36
|
+
**Options:**
|
|
37
|
+
|
|
38
|
+
| Flag | Description | Default | Required |
|
|
39
|
+
|------|-------------|---------|----------|
|
|
40
|
+
| `--project-id <id>` | Project ID | - | Yes |
|
|
41
|
+
| `--name <name>` | Destination name | - | Yes |
|
|
42
|
+
| `--vendor <preset>` | Vendor preset (datadog, honeycomb, new_relic, grafana_cloud, generic_otlp) | - | Yes |
|
|
43
|
+
| `--endpoint-url <url>` | OTLP-compatible collector endpoint URL | - | Yes |
|
|
44
|
+
| `--header-env <k=env>` | HTTP header sourced from an environment variable (repeatable) | `` | No |
|
|
45
|
+
| `--traces` | Forward traces (default: true) | - | No |
|
|
46
|
+
| `--no-traces` | Do not forward traces | - | No |
|
|
47
|
+
| `--metrics` | Forward metrics (default: true) | - | No |
|
|
48
|
+
| `--no-metrics` | Do not forward metrics | - | No |
|
|
49
|
+
| `--logs` | Forward logs (default: true) | - | No |
|
|
50
|
+
| `--no-logs` | Do not forward logs | - | No |
|
|
51
|
+
| `--enabled` | Create the destination enabled (default) | - | No |
|
|
52
|
+
| `--disabled` | Create the destination disabled | - | No |
|
|
53
|
+
| `--allow-private-network` | Allow the endpoint URL to resolve to private/loopback/link-local IPs | - | No |
|
|
54
|
+
| `--json` | Output in JSON format | - | No |
|
|
55
|
+
|
|
56
|
+
### `otel-forward show`
|
|
57
|
+
|
|
58
|
+
Show OTel forwarding destination details
|
|
59
|
+
|
|
60
|
+
**Usage:** `otel-forward show <id> [options]`
|
|
61
|
+
|
|
62
|
+
**Options:**
|
|
63
|
+
|
|
64
|
+
| Flag | Description | Default | Required |
|
|
65
|
+
|------|-------------|---------|----------|
|
|
66
|
+
| `--json` | Output in JSON format | - | No |
|
|
67
|
+
|
|
68
|
+
### `otel-forward update`
|
|
69
|
+
|
|
70
|
+
Update an OTel forwarding destination
|
|
71
|
+
|
|
72
|
+
**Usage:** `otel-forward update <id> [options]`
|
|
73
|
+
|
|
74
|
+
**Options:**
|
|
75
|
+
|
|
76
|
+
| Flag | Description | Default | Required |
|
|
77
|
+
|------|-------------|---------|----------|
|
|
78
|
+
| `--name <name>` | Destination name | - | No |
|
|
79
|
+
| `--vendor <preset>` | Vendor preset (datadog, honeycomb, new_relic, grafana_cloud, generic_otlp) | - | No |
|
|
80
|
+
| `--endpoint-url <url>` | OTLP-compatible collector endpoint URL | - | No |
|
|
81
|
+
| `--header-env <k=env>` | HTTP header sourced from an environment variable (repeatable) | `` | No |
|
|
82
|
+
| `--traces` | Forward traces | - | No |
|
|
83
|
+
| `--no-traces` | Do not forward traces | - | No |
|
|
84
|
+
| `--metrics` | Forward metrics | - | No |
|
|
85
|
+
| `--no-metrics` | Do not forward metrics | - | No |
|
|
86
|
+
| `--logs` | Forward logs | - | No |
|
|
87
|
+
| `--no-logs` | Do not forward logs | - | No |
|
|
88
|
+
| `--enabled` | Enable the destination | - | No |
|
|
89
|
+
| `--disabled` | Disable the destination | - | No |
|
|
90
|
+
| `--allow-private-network` | Allow the endpoint URL to resolve to private/loopback/link-local IPs | - | No |
|
|
91
|
+
| `--no-allow-private-network` | Disallow private/loopback/link-local endpoint URLs | - | No |
|
|
92
|
+
| `--json` | Output in JSON format | - | No |
|
|
93
|
+
|
|
94
|
+
### `otel-forward remove`
|
|
95
|
+
|
|
96
|
+
Remove an OTel forwarding destination
|
|
97
|
+
|
|
98
|
+
**Usage:** `otel-forward remove <id> [options]`
|
|
99
|
+
|
|
100
|
+
**Options:**
|
|
101
|
+
|
|
102
|
+
| Flag | Description | Default | Required |
|
|
103
|
+
|------|-------------|---------|----------|
|
|
104
|
+
| `-f, --force` | Skip confirmation | - | No |
|
|
105
|
+
| `-y, --yes` | Skip confirmation prompts (alias for --force) | - | No |
|
|
106
|
+
|
|
107
|
+
### `otel-forward test`
|
|
108
|
+
|
|
109
|
+
Send a test delivery to an OTel forwarding destination
|
|
110
|
+
|
|
111
|
+
**Usage:** `otel-forward test <id> [options]`
|
|
112
|
+
|
|
113
|
+
**Options:**
|
|
114
|
+
|
|
115
|
+
| Flag | Description | Default | Required |
|
|
116
|
+
|------|-------------|---------|----------|
|
|
117
|
+
| `--json` | Output in JSON format | - | No |
|
|
118
|
+
|
|
119
|
+
### `otel-forward instance-default`
|
|
120
|
+
|
|
121
|
+
Manage instance-wide default forwarding destinations — applied automatically to any project with zero enabled destinations of its own. As soon as a project has one of its own destinations, instance defaults stop applying to that project.
|
|
122
|
+
|
|
123
|
+
**Subcommands:**
|
|
124
|
+
|
|
125
|
+
- `list` (`ls`) - List instance-wide default forwarding destinations
|
|
126
|
+
- `create` - Create a new instance-wide default forwarding destination
|
|
127
|
+
- `show` - Show instance default destination details
|
|
128
|
+
- `update` - Update an instance default forwarding destination
|
|
129
|
+
- `remove` - Remove an instance default forwarding destination
|
|
130
|
+
- `test` - Send a test delivery to an instance default forwarding destination
|
|
131
|
+
|
|
132
|
+
#### `otel-forward instance-default list` (alias: `ls`)
|
|
133
|
+
|
|
134
|
+
List instance-wide default forwarding destinations
|
|
135
|
+
|
|
136
|
+
**Options:**
|
|
137
|
+
|
|
138
|
+
| Flag | Description | Default | Required |
|
|
139
|
+
|------|-------------|---------|----------|
|
|
140
|
+
| `--json` | Output in JSON format | - | No |
|
|
141
|
+
|
|
142
|
+
#### `otel-forward instance-default create`
|
|
143
|
+
|
|
144
|
+
Create a new instance-wide default forwarding destination
|
|
145
|
+
|
|
146
|
+
**Options:**
|
|
147
|
+
|
|
148
|
+
| Flag | Description | Default | Required |
|
|
149
|
+
|------|-------------|---------|----------|
|
|
150
|
+
| `--name <name>` | Destination name | - | Yes |
|
|
151
|
+
| `--vendor <preset>` | Vendor preset (datadog, honeycomb, new_relic, grafana_cloud, generic_otlp) | - | Yes |
|
|
152
|
+
| `--endpoint-url <url>` | OTLP-compatible collector endpoint URL | - | Yes |
|
|
153
|
+
| `--header-env <k=env>` | HTTP header sourced from an environment variable (repeatable) | `` | No |
|
|
154
|
+
| `--traces` | Forward traces (default: true) | - | No |
|
|
155
|
+
| `--no-traces` | Do not forward traces | - | No |
|
|
156
|
+
| `--metrics` | Forward metrics (default: true) | - | No |
|
|
157
|
+
| `--no-metrics` | Do not forward metrics | - | No |
|
|
158
|
+
| `--logs` | Forward logs (default: true) | - | No |
|
|
159
|
+
| `--no-logs` | Do not forward logs | - | No |
|
|
160
|
+
| `--enabled` | Create the destination enabled (default) | - | No |
|
|
161
|
+
| `--disabled` | Create the destination disabled | - | No |
|
|
162
|
+
| `--allow-private-network` | Allow the endpoint URL to resolve to private/loopback/link-local IPs | - | No |
|
|
163
|
+
| `--json` | Output in JSON format | - | No |
|
|
164
|
+
|
|
165
|
+
#### `otel-forward instance-default show`
|
|
166
|
+
|
|
167
|
+
Show instance default destination details
|
|
168
|
+
|
|
169
|
+
**Usage:** `otel-forward instance-default show <id> [options]`
|
|
170
|
+
|
|
171
|
+
**Options:**
|
|
172
|
+
|
|
173
|
+
| Flag | Description | Default | Required |
|
|
174
|
+
|------|-------------|---------|----------|
|
|
175
|
+
| `--json` | Output in JSON format | - | No |
|
|
176
|
+
|
|
177
|
+
#### `otel-forward instance-default update`
|
|
178
|
+
|
|
179
|
+
Update an instance default forwarding destination
|
|
180
|
+
|
|
181
|
+
**Usage:** `otel-forward instance-default update <id> [options]`
|
|
182
|
+
|
|
183
|
+
**Options:**
|
|
184
|
+
|
|
185
|
+
| Flag | Description | Default | Required |
|
|
186
|
+
|------|-------------|---------|----------|
|
|
187
|
+
| `--name <name>` | Destination name | - | No |
|
|
188
|
+
| `--vendor <preset>` | Vendor preset (datadog, honeycomb, new_relic, grafana_cloud, generic_otlp) | - | No |
|
|
189
|
+
| `--endpoint-url <url>` | OTLP-compatible collector endpoint URL | - | No |
|
|
190
|
+
| `--header-env <k=env>` | HTTP header sourced from an environment variable (repeatable) | `` | No |
|
|
191
|
+
| `--traces` | Forward traces | - | No |
|
|
192
|
+
| `--no-traces` | Do not forward traces | - | No |
|
|
193
|
+
| `--metrics` | Forward metrics | - | No |
|
|
194
|
+
| `--no-metrics` | Do not forward metrics | - | No |
|
|
195
|
+
| `--logs` | Forward logs | - | No |
|
|
196
|
+
| `--no-logs` | Do not forward logs | - | No |
|
|
197
|
+
| `--enabled` | Enable the destination | - | No |
|
|
198
|
+
| `--disabled` | Disable the destination | - | No |
|
|
199
|
+
| `--allow-private-network` | Allow the endpoint URL to resolve to private/loopback/link-local IPs | - | No |
|
|
200
|
+
| `--no-allow-private-network` | Disallow private/loopback/link-local endpoint URLs | - | No |
|
|
201
|
+
| `--json` | Output in JSON format | - | No |
|
|
202
|
+
|
|
203
|
+
#### `otel-forward instance-default remove`
|
|
204
|
+
|
|
205
|
+
Remove an instance default forwarding destination
|
|
206
|
+
|
|
207
|
+
**Usage:** `otel-forward instance-default remove <id> [options]`
|
|
208
|
+
|
|
209
|
+
**Options:**
|
|
210
|
+
|
|
211
|
+
| Flag | Description | Default | Required |
|
|
212
|
+
|------|-------------|---------|----------|
|
|
213
|
+
| `-f, --force` | Skip confirmation | - | No |
|
|
214
|
+
| `-y, --yes` | Skip confirmation prompts (alias for --force) | - | No |
|
|
215
|
+
|
|
216
|
+
#### `otel-forward instance-default test`
|
|
217
|
+
|
|
218
|
+
Send a test delivery to an instance default forwarding destination
|
|
219
|
+
|
|
220
|
+
**Usage:** `otel-forward instance-default test <id> [options]`
|
|
221
|
+
|
|
222
|
+
**Options:**
|
|
223
|
+
|
|
224
|
+
| Flag | Description | Default | Required |
|
|
225
|
+
|------|-------------|---------|----------|
|
|
226
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `otel` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `otel`
|
|
8
|
+
|
|
9
|
+
Inspect the OTLP ingest pipeline itself — throughput, drops and failure reasons (server-wide, not project-scoped; see "temps metrics" to query ingested application metrics)
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `ingest-errors` - Show why ingest batches were dropped, grouped by signal and failure reason
|
|
14
|
+
- `pipeline-history` - Show pipeline counter trends over time (received/stored/dropped per signal)
|
|
15
|
+
|
|
16
|
+
### `otel ingest-errors`
|
|
17
|
+
|
|
18
|
+
Show why ingest batches were dropped, grouped by signal and failure reason
|
|
19
|
+
|
|
20
|
+
**Options:**
|
|
21
|
+
|
|
22
|
+
| Flag | Description | Default | Required |
|
|
23
|
+
|------|-------------|---------|----------|
|
|
24
|
+
| `--limit <n>` | Max failure groups to return (default: 20, server cap: 100) | - | No |
|
|
25
|
+
| `--json` | Output in JSON format | - | No |
|
|
26
|
+
|
|
27
|
+
### `otel pipeline-history`
|
|
28
|
+
|
|
29
|
+
Show pipeline counter trends over time (received/stored/dropped per signal)
|
|
30
|
+
|
|
31
|
+
**Options:**
|
|
32
|
+
|
|
33
|
+
| Flag | Description | Default | Required |
|
|
34
|
+
|------|-------------|---------|----------|
|
|
35
|
+
| `--period <period>` | Time period: 1h, 6h, 24h, 7d (server presets), or today/<n>h/<n>d resolved locally | `24h` | No |
|
|
36
|
+
| `--start-time <iso>` | Explicit window start (RFC 3339) — overrides --period | - | No |
|
|
37
|
+
| `--end-time <iso>` | Explicit window end (RFC 3339) — overrides --period | - | No |
|
|
38
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `platform` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `platform` (alias: `plat`)
|
|
8
|
+
|
|
9
|
+
View platform and server information
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `info` - Get platform information
|
|
14
|
+
- `features` - Show which capabilities the server process actually provides
|
|
15
|
+
- `access` - Get access and networking information
|
|
16
|
+
- `private-ip` - Get the server private IP address
|
|
17
|
+
- `public-ip` - Get the server public IP address
|
|
18
|
+
- `update` - Check for and apply temps releases on the server
|
|
19
|
+
- `alert-rules` - Inspect and retune the control-plane's own monitoring alert rules
|
|
20
|
+
|
|
21
|
+
### `platform info`
|
|
22
|
+
|
|
23
|
+
Get platform information
|
|
24
|
+
|
|
25
|
+
**Options:**
|
|
26
|
+
|
|
27
|
+
| Flag | Description | Default | Required |
|
|
28
|
+
|------|-------------|---------|----------|
|
|
29
|
+
| `--json` | Output in JSON format | - | No |
|
|
30
|
+
|
|
31
|
+
### `platform features`
|
|
32
|
+
|
|
33
|
+
Show which capabilities the server process actually provides
|
|
34
|
+
|
|
35
|
+
**Options:**
|
|
36
|
+
|
|
37
|
+
| Flag | Description | Default | Required |
|
|
38
|
+
|------|-------------|---------|----------|
|
|
39
|
+
| `--json` | Output in JSON format | - | No |
|
|
40
|
+
|
|
41
|
+
### `platform access`
|
|
42
|
+
|
|
43
|
+
Get access and networking information
|
|
44
|
+
|
|
45
|
+
**Options:**
|
|
46
|
+
|
|
47
|
+
| Flag | Description | Default | Required |
|
|
48
|
+
|------|-------------|---------|----------|
|
|
49
|
+
| `--json` | Output in JSON format | - | No |
|
|
50
|
+
|
|
51
|
+
### `platform private-ip`
|
|
52
|
+
|
|
53
|
+
Get the server private IP address
|
|
54
|
+
|
|
55
|
+
### `platform public-ip`
|
|
56
|
+
|
|
57
|
+
Get the server public IP address
|
|
58
|
+
|
|
59
|
+
### `platform update`
|
|
60
|
+
|
|
61
|
+
Check for and apply temps releases on the server
|
|
62
|
+
|
|
63
|
+
**Subcommands:**
|
|
64
|
+
|
|
65
|
+
- `status` - Show the available release and whether it can be applied from here
|
|
66
|
+
- `check` - Ask the release API for the newest version on this channel now
|
|
67
|
+
- `channel` - Show or set the release channel: stable, beta, nightly, or "auto" to follow the installed version
|
|
68
|
+
- `apply` - Install a release on the server and restart it
|
|
69
|
+
|
|
70
|
+
#### `platform update status`
|
|
71
|
+
|
|
72
|
+
Show the available release and whether it can be applied from here
|
|
73
|
+
|
|
74
|
+
**Options:**
|
|
75
|
+
|
|
76
|
+
| Flag | Description | Default | Required |
|
|
77
|
+
|------|-------------|---------|----------|
|
|
78
|
+
| `--json` | Output in JSON format | - | No |
|
|
79
|
+
|
|
80
|
+
#### `platform update check`
|
|
81
|
+
|
|
82
|
+
Ask the release API for the newest version on this channel now
|
|
83
|
+
|
|
84
|
+
**Options:**
|
|
85
|
+
|
|
86
|
+
| Flag | Description | Default | Required |
|
|
87
|
+
|------|-------------|---------|----------|
|
|
88
|
+
| `--json` | Output in JSON format | - | No |
|
|
89
|
+
|
|
90
|
+
#### `platform update channel`
|
|
91
|
+
|
|
92
|
+
Show or set the release channel: stable, beta, nightly, or "auto" to follow the installed version
|
|
93
|
+
|
|
94
|
+
**Usage:** `platform update channel [channel] [options]`
|
|
95
|
+
|
|
96
|
+
**Options:**
|
|
97
|
+
|
|
98
|
+
| Flag | Description | Default | Required |
|
|
99
|
+
|------|-------------|---------|----------|
|
|
100
|
+
| `--json` | Output in JSON format | - | No |
|
|
101
|
+
|
|
102
|
+
#### `platform update apply`
|
|
103
|
+
|
|
104
|
+
Install a release on the server and restart it
|
|
105
|
+
|
|
106
|
+
**Options:**
|
|
107
|
+
|
|
108
|
+
| Flag | Description | Default | Required |
|
|
109
|
+
|------|-------------|---------|----------|
|
|
110
|
+
| `--version <version>` | Release tag to install (default: newest on this channel) | - | No |
|
|
111
|
+
| `-y, --yes` | Skip the confirmation prompt | - | No |
|
|
112
|
+
| `--json` | Output in JSON format | - | No |
|
|
113
|
+
|
|
114
|
+
### `platform alert-rules`
|
|
115
|
+
|
|
116
|
+
Inspect and retune the control-plane's own monitoring alert rules
|
|
117
|
+
|
|
118
|
+
**Subcommands:**
|
|
119
|
+
|
|
120
|
+
- `list` - List the alert rules watching this node (proxy health, socket exhaustion)
|
|
121
|
+
- `set` - Retune, enable, or disable an alert rule on this node
|
|
122
|
+
|
|
123
|
+
#### `platform alert-rules list`
|
|
124
|
+
|
|
125
|
+
List the alert rules watching this node (proxy health, socket exhaustion)
|
|
126
|
+
|
|
127
|
+
**Options:**
|
|
128
|
+
|
|
129
|
+
| Flag | Description | Default | Required |
|
|
130
|
+
|------|-------------|---------|----------|
|
|
131
|
+
| `--node <id>` | Node ID (default: 0, the control plane) | - | No |
|
|
132
|
+
| `--json` | Output in JSON format | - | No |
|
|
133
|
+
|
|
134
|
+
#### `platform alert-rules set`
|
|
135
|
+
|
|
136
|
+
Retune, enable, or disable an alert rule on this node
|
|
137
|
+
|
|
138
|
+
**Usage:** `platform alert-rules set <rule-id> [options]`
|
|
139
|
+
|
|
140
|
+
**Options:**
|
|
141
|
+
|
|
142
|
+
| Flag | Description | Default | Required |
|
|
143
|
+
|------|-------------|---------|----------|
|
|
144
|
+
| `--node <id>` | Node ID (default: 0, the control plane) | - | No |
|
|
145
|
+
| `--threshold <n>` | Value the metric must cross to fire | - | No |
|
|
146
|
+
| `--comparator <op>` | Comparison operator: >, >=, <, <= | - | No |
|
|
147
|
+
| `--severity <level>` | Alert severity: warning or critical | - | No |
|
|
148
|
+
| `--for-duration <secs>` | Seconds the condition must hold before firing | - | No |
|
|
149
|
+
| `--enable` | Enable the rule | - | No |
|
|
150
|
+
| `--disable` | Disable the rule (survives the startup re-seed; deleting does not) | - | No |
|
|
151
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `plugin` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `plugin`
|
|
8
|
+
|
|
9
|
+
Create and build TypeScript plugins, or install and manage external plugins
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `install` - Install a GitHub TypeScript plugin on the configured Temps server; the server uses its host Git credentials and Docker
|
|
14
|
+
- `update` - Rebuild an installed GitHub plugin from its stored source; keep the current plugin if the update fails
|
|
15
|
+
- `install-local` - Upload and activate a trusted native plugin on the configured Temps host
|
|
16
|
+
- `grants` - Inspect or replace a plugin's host API permissions and AI limits
|
|
17
|
+
- `dev` - Run a plugin with a local simulated host, UI preview, and events (no Temps server)
|
|
18
|
+
- `init` - Create a TypeScript plugin project
|
|
19
|
+
- `build` - Build every platform selected in package.json; --all selects all six supported targets
|
|
20
|
+
- `publish` - Build, publish native npm packages, verify ownership and submit for review; resumes interrupted releases
|
|
21
|
+
|
|
22
|
+
### `plugin install`
|
|
23
|
+
|
|
24
|
+
Install a GitHub TypeScript plugin on the configured Temps server; the server uses its host Git credentials and Docker
|
|
25
|
+
|
|
26
|
+
**Usage:** `plugin install <repository> [options]`
|
|
27
|
+
|
|
28
|
+
**Options:**
|
|
29
|
+
|
|
30
|
+
| Flag | Description | Default | Required |
|
|
31
|
+
|------|-------------|---------|----------|
|
|
32
|
+
| `--path <path>` | Plugin subdirectory containing package.json and bun.lock (default: repository root) | - | No |
|
|
33
|
+
| `--name <name>` | Advanced: require this plugin name (otherwise auto-detected) | - | No |
|
|
34
|
+
| `--ref <ref>` | Advanced: branch, tag, or commit (otherwise repository default branch) | - | No |
|
|
35
|
+
| `-y, --yes` | Trust the repository and allow installation without prompting | - | No |
|
|
36
|
+
| `--grant <permissions...>` | Explicitly approve declared host permissions (default: none); e.g. ai_generate projects_read | - | No |
|
|
37
|
+
| `--ai-daily-calls <count>` | Maximum AI attempts per day (0 pauses usage; default: 100) | - | No |
|
|
38
|
+
| `--ai-max-tokens <count>` | Maximum output tokens per AI call (1–4096; default: 1024) | - | No |
|
|
39
|
+
|
|
40
|
+
### `plugin update`
|
|
41
|
+
|
|
42
|
+
Rebuild an installed GitHub plugin from its stored source; keep the current plugin if the update fails
|
|
43
|
+
|
|
44
|
+
**Usage:** `plugin update <name> [options]`
|
|
45
|
+
|
|
46
|
+
**Options:**
|
|
47
|
+
|
|
48
|
+
| Flag | Description | Default | Required |
|
|
49
|
+
|------|-------------|---------|----------|
|
|
50
|
+
| `--ref <ref>` | Use a different branch, tag, or commit | - | No |
|
|
51
|
+
| `-y, --yes` | Trust the update without prompting | - | No |
|
|
52
|
+
|
|
53
|
+
### `plugin install-local`
|
|
54
|
+
|
|
55
|
+
Upload and activate a trusted native plugin on the configured Temps host
|
|
56
|
+
|
|
57
|
+
**Usage:** `plugin install-local <file> [options]`
|
|
58
|
+
|
|
59
|
+
**Options:**
|
|
60
|
+
|
|
61
|
+
| Flag | Description | Default | Required |
|
|
62
|
+
|------|-------------|---------|----------|
|
|
63
|
+
| `--name <name>` | Expected plugin manifest name | - | Yes |
|
|
64
|
+
| `--plugin-version <version>` | Expected plugin manifest version | - | Yes |
|
|
65
|
+
| `-y, --yes` | Approve execution of this file without prompting | - | No |
|
|
66
|
+
|
|
67
|
+
### `plugin grants`
|
|
68
|
+
|
|
69
|
+
Inspect or replace a plugin's host API permissions and AI limits
|
|
70
|
+
|
|
71
|
+
**Subcommands:**
|
|
72
|
+
|
|
73
|
+
- `get` - Show current grants, actor identity, and AI availability
|
|
74
|
+
- `set` - Replace all host grants; --clear revokes all permissions immediately
|
|
75
|
+
|
|
76
|
+
#### `plugin grants get`
|
|
77
|
+
|
|
78
|
+
Show current grants, actor identity, and AI availability
|
|
79
|
+
|
|
80
|
+
**Usage:** `plugin grants get <name>`
|
|
81
|
+
|
|
82
|
+
#### `plugin grants set`
|
|
83
|
+
|
|
84
|
+
Replace all host grants; --clear revokes all permissions immediately
|
|
85
|
+
|
|
86
|
+
**Usage:** `plugin grants set <name> [options]`
|
|
87
|
+
|
|
88
|
+
**Options:**
|
|
89
|
+
|
|
90
|
+
| Flag | Description | Default | Required |
|
|
91
|
+
|------|-------------|---------|----------|
|
|
92
|
+
| `--grant <permissions...>` | Complete list of permissions to grant | - | No |
|
|
93
|
+
| `--ai-daily-calls <count>` | Daily AI call limit (0–10000) | - | No |
|
|
94
|
+
| `--ai-max-tokens <count>` | Maximum AI output tokens per call (1–4096) | - | No |
|
|
95
|
+
| `--clear` | Revoke all host permissions | - | No |
|
|
96
|
+
|
|
97
|
+
### `plugin dev`
|
|
98
|
+
|
|
99
|
+
Run a plugin with a local simulated host, UI preview, and events (no Temps server)
|
|
100
|
+
|
|
101
|
+
**Usage:** `plugin dev [binary] [args...] [options]`
|
|
102
|
+
|
|
103
|
+
**Options:**
|
|
104
|
+
|
|
105
|
+
| Flag | Description | Default | Required |
|
|
106
|
+
|------|-------------|---------|----------|
|
|
107
|
+
| `--session <name>` | Local session name | `default` | No |
|
|
108
|
+
| `--exec <command>` | Run a command with arguments after -- | - | No |
|
|
109
|
+
| `--port <port>` | Loopback port (0 selects a free port) | `0` | No |
|
|
110
|
+
| `--data-dir <path>` | Persistent plugin data directory | - | No |
|
|
111
|
+
| `--grant <permission...>` | Explicit host grants; defaults to none or saved session grants | - | No |
|
|
112
|
+
| `--fixtures <file>` | Version-1 JSON host fixtures and mock AI settings | - | No |
|
|
113
|
+
| `--role <role>` | Synthetic preview role: admin or reader | `admin` | No |
|
|
114
|
+
| `--startup-timeout <ms>` | Handshake deadline | `10000` | No |
|
|
115
|
+
|
|
116
|
+
**Subcommands:**
|
|
117
|
+
|
|
118
|
+
- `events` - List host event fixtures and example payloads
|
|
119
|
+
- `status` - Show local plugin state
|
|
120
|
+
- `logs` - Show the last 200 redacted simulator records
|
|
121
|
+
- `emit` - Deliver an event; sent does not mean handler completed
|
|
122
|
+
- `grants` - Change simulated host permissions immediately
|
|
123
|
+
|
|
124
|
+
#### `plugin dev events`
|
|
125
|
+
|
|
126
|
+
List host event fixtures and example payloads
|
|
127
|
+
|
|
128
|
+
#### `plugin dev status`
|
|
129
|
+
|
|
130
|
+
Show local plugin state
|
|
131
|
+
|
|
132
|
+
**Options:**
|
|
133
|
+
|
|
134
|
+
| Flag | Description | Default | Required |
|
|
135
|
+
|------|-------------|---------|----------|
|
|
136
|
+
| `--session <name>` | Running session | - | No |
|
|
137
|
+
| `--json` | Machine-readable output | - | No |
|
|
138
|
+
|
|
139
|
+
#### `plugin dev logs`
|
|
140
|
+
|
|
141
|
+
Show the last 200 redacted simulator records
|
|
142
|
+
|
|
143
|
+
**Options:**
|
|
144
|
+
|
|
145
|
+
| Flag | Description | Default | Required |
|
|
146
|
+
|------|-------------|---------|----------|
|
|
147
|
+
| `--session <name>` | Running session | - | No |
|
|
148
|
+
| `--json` | Machine-readable output | - | No |
|
|
149
|
+
|
|
150
|
+
#### `plugin dev emit`
|
|
151
|
+
|
|
152
|
+
Deliver an event; sent does not mean handler completed
|
|
153
|
+
|
|
154
|
+
**Usage:** `plugin dev emit [type] [options]`
|
|
155
|
+
|
|
156
|
+
**Options:**
|
|
157
|
+
|
|
158
|
+
| Flag | Description | Default | Required |
|
|
159
|
+
|------|-------------|---------|----------|
|
|
160
|
+
| `--session <name>` | Running session | - | No |
|
|
161
|
+
| `--file <path>` | Full JSON event envelope with a stable ID | - | No |
|
|
162
|
+
| `--project-id <id>` | Project ID | `1` | No |
|
|
163
|
+
| `--environment-id <id>` | Environment ID | `1` | No |
|
|
164
|
+
| `--deployment-id <id>` | Deployment ID | `42` | No |
|
|
165
|
+
| `--environment <name>` | Environment | `production` | No |
|
|
166
|
+
| `--url <url>` | Deployment URL | - | No |
|
|
167
|
+
| `--repeat <n>` | Repeat the same event ID, up to 1000 | - | No |
|
|
168
|
+
| `--count <n>` | Deliver distinct IDs, up to 1000 | - | No |
|
|
169
|
+
| `--transport <transport>` | auto or http | `auto` | No |
|
|
170
|
+
| `--json` | Machine-readable receipts and envelope | - | No |
|
|
171
|
+
|
|
172
|
+
#### `plugin dev grants`
|
|
173
|
+
|
|
174
|
+
Change simulated host permissions immediately
|
|
175
|
+
|
|
176
|
+
**Subcommands:**
|
|
177
|
+
|
|
178
|
+
- `set` - Replace all grants or revoke all with --clear
|
|
179
|
+
|
|
180
|
+
##### `plugin dev grants set`
|
|
181
|
+
|
|
182
|
+
Replace all grants or revoke all with --clear
|
|
183
|
+
|
|
184
|
+
**Options:**
|
|
185
|
+
|
|
186
|
+
| Flag | Description | Default | Required |
|
|
187
|
+
|------|-------------|---------|----------|
|
|
188
|
+
| `--session <name>` | Running session | - | No |
|
|
189
|
+
| `--grant <permission...>` | Complete replacement grant set | - | No |
|
|
190
|
+
| `--clear` | Revoke every grant | - | No |
|
|
191
|
+
|
|
192
|
+
### `plugin init`
|
|
193
|
+
|
|
194
|
+
Create a TypeScript plugin project
|
|
195
|
+
|
|
196
|
+
**Usage:** `plugin init <directory> [options]`
|
|
197
|
+
|
|
198
|
+
**Options:**
|
|
199
|
+
|
|
200
|
+
| Flag | Description | Default | Required |
|
|
201
|
+
|------|-------------|---------|----------|
|
|
202
|
+
| `--name <name>` | Scoped npm name, e.g. @your-scope/my-plugin | - | Yes |
|
|
203
|
+
|
|
204
|
+
### `plugin build`
|
|
205
|
+
|
|
206
|
+
Build every platform selected in package.json; --all selects all six supported targets
|
|
207
|
+
|
|
208
|
+
**Options:**
|
|
209
|
+
|
|
210
|
+
| Flag | Description | Default | Required |
|
|
211
|
+
|------|-------------|---------|----------|
|
|
212
|
+
| `--all` | Build all supported targets | - | No |
|
|
213
|
+
|
|
214
|
+
### `plugin publish`
|
|
215
|
+
|
|
216
|
+
Build, publish native npm packages, verify ownership and submit for review; resumes interrupted releases
|
|
217
|
+
|
|
218
|
+
**Options:**
|
|
219
|
+
|
|
220
|
+
| Flag | Description | Default | Required |
|
|
221
|
+
|------|-------------|---------|----------|
|
|
222
|
+
| `-y, --yes` | Confirm public npm publication non-interactively | - | No |
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `presets` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `presets` (alias: `preset`)
|
|
8
|
+
|
|
9
|
+
Browse available build presets
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List available presets
|
|
14
|
+
- `show` (`get`) - Show details for a specific preset
|
|
15
|
+
|
|
16
|
+
### `presets list` (alias: `ls`)
|
|
17
|
+
|
|
18
|
+
List available presets
|
|
19
|
+
|
|
20
|
+
**Options:**
|
|
21
|
+
|
|
22
|
+
| Flag | Description | Default | Required |
|
|
23
|
+
|------|-------------|---------|----------|
|
|
24
|
+
| `--json` | Output in JSON format | - | No |
|
|
25
|
+
| `--type <type>` | Filter by project type (server, static) | - | No |
|
|
26
|
+
|
|
27
|
+
### `presets show` (alias: `get`)
|
|
28
|
+
|
|
29
|
+
Show details for a specific preset
|
|
30
|
+
|
|
31
|
+
**Usage:** `presets show <slug> [options]`
|
|
32
|
+
|
|
33
|
+
**Options:**
|
|
34
|
+
|
|
35
|
+
| Flag | Description | Default | Required |
|
|
36
|
+
|------|-------------|---------|----------|
|
|
37
|
+
| `--json` | Output in JSON format | - | No |
|