@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
|
@@ -11,8 +11,8 @@ Manage agent secrets. env-type: reference as ${TEMPS_SECRET:name} in MCP config.
|
|
|
11
11
|
**Subcommands:**
|
|
12
12
|
|
|
13
13
|
- `list` (`ls`) - List all secrets (values are masked)
|
|
14
|
-
- `create` (`add`) - Create or update a secret (upsert by name)
|
|
15
|
-
- `update` - Update an existing secret (alias for create — upserts)
|
|
14
|
+
- `create` (`add`) - Create or update a secret (upsert by name). Prefer --value-file or --value-stdin, which keep the value out of shell history
|
|
15
|
+
- `update` - Update an existing secret (alias for create — upserts). The value must be re-supplied: the server never returns it
|
|
16
16
|
- `delete` (`rm`) - Delete a secret
|
|
17
17
|
|
|
18
18
|
### `secrets list` (alias: `ls`)
|
|
@@ -27,39 +27,52 @@ List all secrets (values are masked)
|
|
|
27
27
|
|
|
28
28
|
### `secrets create` (alias: `add`)
|
|
29
29
|
|
|
30
|
-
Create or update a secret (upsert by name)
|
|
30
|
+
Create or update a secret (upsert by name). Prefer --value-file or --value-stdin, which keep the value out of shell history
|
|
31
31
|
|
|
32
32
|
**Options:**
|
|
33
33
|
|
|
34
34
|
| Flag | Description | Default | Required |
|
|
35
35
|
|------|-------------|---------|----------|
|
|
36
36
|
| `-n, --name <name>` | Secret name | - | Yes |
|
|
37
|
-
| `-v, --value <value>` | Secret value
|
|
37
|
+
| `-v, --value <value>` | Secret value on the command line (visible in shell history and `ps`). `-v @path` reading a file is deprecated: use --value-file | - | No |
|
|
38
38
|
| `-t, --type <type>` | Secret type: "env" (default) or "file" | `env` | No |
|
|
39
39
|
| `-m, --mount-path <path>` | Absolute path inside sandbox where file-type secret is written (required for --type file) | - | No |
|
|
40
40
|
| `-d, --description <description>` | Human-readable description | - | No |
|
|
41
|
+
| `-p, --project <slug-or-id>` | Scope the secret to one project (default: instance-wide) | - | No |
|
|
42
|
+
| `--value-file <path>` | Read the secret value from a file, byte-for-byte (- reads stdin). Keeps it out of shell history | - | No |
|
|
43
|
+
| `--value-stdin` | Read the secret value from stdin, e.g. piped from a secret manager | - | No |
|
|
44
|
+
| `--literal` | Send a -v value that starts with @ as is, instead of reading it as a file path (deprecated form) | - | No |
|
|
45
|
+
| `--trim-trailing-newline` | Drop exactly one trailing newline (\n or \r\n) from a value read from a file or stdin (kept byte-for-byte by default) | - | No |
|
|
41
46
|
|
|
42
47
|
### `secrets update`
|
|
43
48
|
|
|
44
|
-
Update an existing secret (alias for create — upserts)
|
|
49
|
+
Update an existing secret (alias for create — upserts). The value must be re-supplied: the server never returns it
|
|
45
50
|
|
|
46
51
|
**Options:**
|
|
47
52
|
|
|
48
53
|
| Flag | Description | Default | Required |
|
|
49
54
|
|------|-------------|---------|----------|
|
|
50
55
|
| `-n, --name <name>` | Secret name | - | Yes |
|
|
51
|
-
| `-v, --value <value>` | New value.
|
|
56
|
+
| `-v, --value <value>` | New value on the command line (visible in shell history). `-v @path` is deprecated: use --value-file | - | No |
|
|
52
57
|
| `-t, --type <type>` | Secret type: "env" or "file" | - | No |
|
|
53
58
|
| `-m, --mount-path <path>` | New mount path (file type only) | - | No |
|
|
54
59
|
| `-d, --description <description>` | New description | - | No |
|
|
60
|
+
| `-p, --project <slug-or-id>` | The project the secret is scoped to (default: instance-wide) | - | No |
|
|
61
|
+
| `--value-file <path>` | Read the new secret value from a file, byte-for-byte (- reads stdin). Keeps it out of shell history | - | No |
|
|
62
|
+
| `--value-stdin` | Read the new secret value from stdin, e.g. piped from a secret manager | - | No |
|
|
63
|
+
| `--literal` | Send a -v value that starts with @ as is, instead of reading it as a file path (deprecated form) | - | No |
|
|
64
|
+
| `--trim-trailing-newline` | Drop exactly one trailing newline (\n or \r\n) from a value read from a file or stdin (kept byte-for-byte by default) | - | No |
|
|
55
65
|
|
|
56
66
|
### `secrets delete` (alias: `rm`)
|
|
57
67
|
|
|
58
68
|
Delete a secret
|
|
59
69
|
|
|
70
|
+
**Usage:** `secrets delete <name> [options]`
|
|
71
|
+
|
|
60
72
|
**Options:**
|
|
61
73
|
|
|
62
74
|
| Flag | Description | Default | Required |
|
|
63
75
|
|------|-------------|---------|----------|
|
|
76
|
+
| `-p, --project <slug-or-id>` | Delete the secret of this project (default: the instance-wide one) | - | No |
|
|
64
77
|
| `-f, --force` | Skip confirmation | - | No |
|
|
65
78
|
| `-y, --yes` | Skip confirmation (alias for --force) | - | No |
|
|
@@ -12,6 +12,11 @@ Resource usage of the machine running the Temps control plane (what /monitoring/
|
|
|
12
12
|
|
|
13
13
|
- `status` - Latest CPU, memory, disk, block I/O and network I/O sample for the control-plane host
|
|
14
14
|
- `metrics` - Time series of one control-plane host metric, e.g. node.cpu_percent or node.network_rx_bytes_total
|
|
15
|
+
- `cluster-metrics` - Time series of one metric combined across nodes (counters summed, ratios averaged)
|
|
16
|
+
- `cluster-latest` - Latest value of every metric, combined across nodes
|
|
17
|
+
- `reporting` - Whether each worker reports metrics, and why not
|
|
18
|
+
- `disk-health` - Latest software RAID and drive SMART health for a node
|
|
19
|
+
- `alert-rules` - CPU, memory and disk alerts on a node
|
|
15
20
|
- `docker-disk-usage` (`df`) - Docker disk usage by images, containers, volumes and build cache (docker system df) on the control-plane host
|
|
16
21
|
|
|
17
22
|
### `server status`
|
|
@@ -35,9 +40,111 @@ Time series of one control-plane host metric, e.g. node.cpu_percent or node.netw
|
|
|
35
40
|
|------|-------------|---------|----------|
|
|
36
41
|
| `--metric <name>` | Metric name (node.cpu_percent, node.memory_used_bytes, node.disk_used_bytes, node.disk_read_bytes_total, node.network_tx_bytes_total, ...) | - | Yes |
|
|
37
42
|
| `--range <range>` | Time window: 1h, 6h, 24h, 7d | `1h` | No |
|
|
43
|
+
| `--start <time>` | Start of an explicit window (ISO 8601); with --end, instead of --range | - | No |
|
|
44
|
+
| `--end <time>` | End of an explicit window (ISO 8601) | - | No |
|
|
38
45
|
| `--node <id>` | Node ID (0 = control plane) | `0` | No |
|
|
39
46
|
| `--json` | Output in JSON format | - | No |
|
|
40
47
|
|
|
48
|
+
### `server cluster-metrics`
|
|
49
|
+
|
|
50
|
+
Time series of one metric combined across nodes (counters summed, ratios averaged)
|
|
51
|
+
|
|
52
|
+
**Options:**
|
|
53
|
+
|
|
54
|
+
| Flag | Description | Default | Required |
|
|
55
|
+
|------|-------------|---------|----------|
|
|
56
|
+
| `--metric <name>` | Metric name, e.g. node.cpu_percent | - | Yes |
|
|
57
|
+
| `--nodes <ids>` | Comma-separated node IDs, e.g. 0,1,2 | - | Yes |
|
|
58
|
+
| `--range <range>` | Time window, e.g. 1h, 24h, 7d | - | No |
|
|
59
|
+
| `--start <time>` | Start of an explicit window (ISO 8601) | - | No |
|
|
60
|
+
| `--end <time>` | End of an explicit window (ISO 8601) | - | No |
|
|
61
|
+
| `--json` | Output in JSON format | - | No |
|
|
62
|
+
|
|
63
|
+
### `server cluster-latest`
|
|
64
|
+
|
|
65
|
+
Latest value of every metric, combined across nodes
|
|
66
|
+
|
|
67
|
+
**Options:**
|
|
68
|
+
|
|
69
|
+
| Flag | Description | Default | Required |
|
|
70
|
+
|------|-------------|---------|----------|
|
|
71
|
+
| `--nodes <ids>` | Comma-separated node IDs | - | Yes |
|
|
72
|
+
| `--json` | Output in JSON format | - | No |
|
|
73
|
+
|
|
74
|
+
### `server reporting`
|
|
75
|
+
|
|
76
|
+
Whether each worker reports metrics, and why not
|
|
77
|
+
|
|
78
|
+
**Options:**
|
|
79
|
+
|
|
80
|
+
| Flag | Description | Default | Required |
|
|
81
|
+
|------|-------------|---------|----------|
|
|
82
|
+
| `--json` | Output in JSON format | - | No |
|
|
83
|
+
|
|
84
|
+
### `server disk-health`
|
|
85
|
+
|
|
86
|
+
Latest software RAID and drive SMART health for a node
|
|
87
|
+
|
|
88
|
+
**Options:**
|
|
89
|
+
|
|
90
|
+
| Flag | Description | Default | Required |
|
|
91
|
+
|------|-------------|---------|----------|
|
|
92
|
+
| `--node <id>` | Node ID (0 = control plane) | `0` | No |
|
|
93
|
+
| `--json` | Output in JSON format | - | No |
|
|
94
|
+
|
|
95
|
+
### `server alert-rules`
|
|
96
|
+
|
|
97
|
+
CPU, memory and disk alerts on a node
|
|
98
|
+
|
|
99
|
+
**Subcommands:**
|
|
100
|
+
|
|
101
|
+
- `get` - Show one of a node's resource alerts
|
|
102
|
+
- `create` - Alert when a node metric crosses a threshold
|
|
103
|
+
- `delete` (`rm`) - Delete a node's resource alert
|
|
104
|
+
|
|
105
|
+
#### `server alert-rules get`
|
|
106
|
+
|
|
107
|
+
Show one of a node's resource alerts
|
|
108
|
+
|
|
109
|
+
**Usage:** `server alert-rules get <id> <rule-id> [options]`
|
|
110
|
+
|
|
111
|
+
**Options:**
|
|
112
|
+
|
|
113
|
+
| Flag | Description | Default | Required |
|
|
114
|
+
|------|-------------|---------|----------|
|
|
115
|
+
| `--json` | Output in JSON format | - | No |
|
|
116
|
+
|
|
117
|
+
#### `server alert-rules create`
|
|
118
|
+
|
|
119
|
+
Alert when a node metric crosses a threshold
|
|
120
|
+
|
|
121
|
+
**Options:**
|
|
122
|
+
|
|
123
|
+
| Flag | Description | Default | Required |
|
|
124
|
+
|------|-------------|---------|----------|
|
|
125
|
+
| `--node <id>` | Node ID (0 = control plane) | `0` | No |
|
|
126
|
+
| `--name <name>` | Rule name | - | Yes |
|
|
127
|
+
| `--metric <name>` | Metric, e.g. node.cpu_percent or node.disk_used_percent | - | Yes |
|
|
128
|
+
| `--comparator <op>` | One of >, <, >=, <=, or gt, lt, gte, lte | - | Yes |
|
|
129
|
+
| `--threshold <value>` | Threshold value | - | Yes |
|
|
130
|
+
| `--severity <level>` | One of warning, critical | `warning` | No |
|
|
131
|
+
| `--for <seconds>` | How long the condition must hold before it fires | - | No |
|
|
132
|
+
| `--disabled` | Create it turned off | - | No |
|
|
133
|
+
| `--json` | Output in JSON format | - | No |
|
|
134
|
+
|
|
135
|
+
#### `server alert-rules delete` (alias: `rm`)
|
|
136
|
+
|
|
137
|
+
Delete a node's resource alert
|
|
138
|
+
|
|
139
|
+
**Usage:** `server alert-rules delete <rule-id> [options]`
|
|
140
|
+
|
|
141
|
+
**Options:**
|
|
142
|
+
|
|
143
|
+
| Flag | Description | Default | Required |
|
|
144
|
+
|------|-------------|---------|----------|
|
|
145
|
+
| `--node <id>` | Node ID (0 = control plane) | `0` | No |
|
|
146
|
+
| `-y, --yes` | Do not ask for confirmation | - | No |
|
|
147
|
+
|
|
41
148
|
### `server docker-disk-usage` (alias: `df`)
|
|
42
149
|
|
|
43
150
|
Docker disk usage by images, containers, volumes and build cache (docker system df) on the control-plane host
|