@temps-sdk/cli 0.1.38 → 0.2.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/README.md +14 -0
  2. package/dist/index.js +10116 -996
  3. package/dist/skills/temps/SKILL.md +17 -9
  4. package/dist/skills/temps/evals/evals.json +23 -6
  5. package/dist/skills/temps/howtos/ci-automation.md +2 -3
  6. package/dist/skills/temps/howtos/curated-services.md +69 -0
  7. package/dist/skills/temps/howtos/deploy-application.md +8 -1
  8. package/dist/skills/temps/howtos/edge-rules.md +135 -0
  9. package/dist/skills/temps/howtos/managed-services.md +4 -4
  10. package/dist/skills/temps/howtos/projects-and-monorepos.md +2 -1
  11. package/dist/skills/temps/references/cli-runtime.md +10 -18
  12. package/dist/skills/temps/references/commands/INDEX.md +5 -0
  13. package/dist/skills/temps/references/commands/access.md +4 -0
  14. package/dist/skills/temps/references/commands/ai.md +4 -0
  15. package/dist/skills/temps/references/commands/alarms.md +4 -0
  16. package/dist/skills/temps/references/commands/analytics.md +199 -0
  17. package/dist/skills/temps/references/commands/apikeys.md +2 -0
  18. package/dist/skills/temps/references/commands/backups.md +6 -0
  19. package/dist/skills/temps/references/commands/cloud.md +14 -0
  20. package/dist/skills/temps/references/commands/configure.md +7 -0
  21. package/dist/skills/temps/references/commands/context.md +6 -0
  22. package/dist/skills/temps/references/commands/data.md +10 -13
  23. package/dist/skills/temps/references/commands/deploy.md +2 -0
  24. package/dist/skills/temps/references/commands/deployments.md +1 -0
  25. package/dist/skills/temps/references/commands/domains.md +1 -0
  26. package/dist/skills/temps/references/commands/drop.md +2 -0
  27. package/dist/skills/temps/references/commands/edge-rules.md +218 -0
  28. package/dist/skills/temps/references/commands/email-providers.md +5 -0
  29. package/dist/skills/temps/references/commands/env-pull.md +2 -0
  30. package/dist/skills/temps/references/commands/env-push.md +2 -0
  31. package/dist/skills/temps/references/commands/environments.md +250 -2
  32. package/dist/skills/temps/references/commands/errors.md +514 -1
  33. package/dist/skills/temps/references/commands/facets.md +6 -0
  34. package/dist/skills/temps/references/commands/flags.md +103 -0
  35. package/dist/skills/temps/references/commands/incidents.md +4 -0
  36. package/dist/skills/temps/references/commands/init.md +2 -0
  37. package/dist/skills/temps/references/commands/instances.md +6 -0
  38. package/dist/skills/temps/references/commands/instantiations.md +4 -0
  39. package/dist/skills/temps/references/commands/link.md +2 -0
  40. package/dist/skills/temps/references/commands/login.md +5 -0
  41. package/dist/skills/temps/references/commands/logs.md +133 -10
  42. package/dist/skills/temps/references/commands/mcp-servers.md +4 -0
  43. package/dist/skills/temps/references/commands/mcp.md +8 -1
  44. package/dist/skills/temps/references/commands/migrate.md +9 -0
  45. package/dist/skills/temps/references/commands/monitors.md +70 -0
  46. package/dist/skills/temps/references/commands/network-policy.md +120 -0
  47. package/dist/skills/temps/references/commands/nodes.md +54 -0
  48. package/dist/skills/temps/references/commands/notifications.md +24 -2
  49. package/dist/skills/temps/references/commands/open.md +2 -0
  50. package/dist/skills/temps/references/commands/otel-forward.md +16 -0
  51. package/dist/skills/temps/references/commands/platform.md +4 -0
  52. package/dist/skills/temps/references/commands/plugin.md +30 -1
  53. package/dist/skills/temps/references/commands/presets.md +2 -0
  54. package/dist/skills/temps/references/commands/project-groups.md +41 -4
  55. package/dist/skills/temps/references/commands/projects.md +63 -4
  56. package/dist/skills/temps/references/commands/providers.md +14 -1
  57. package/dist/skills/temps/references/commands/revenue.md +4 -0
  58. package/dist/skills/temps/references/commands/rollback.md +2 -0
  59. package/dist/skills/temps/references/commands/sandbox.md +91 -1
  60. package/dist/skills/temps/references/commands/secrets.md +16 -6
  61. package/dist/skills/temps/references/commands/services.md +6 -0
  62. package/dist/skills/temps/references/commands/session-replay.md +8 -0
  63. package/dist/skills/temps/references/commands/skills.md +6 -0
  64. package/dist/skills/temps/references/commands/start.md +1 -0
  65. package/dist/skills/temps/references/commands/status-pages.md +276 -9
  66. package/dist/skills/temps/references/commands/status.md +2 -0
  67. package/dist/skills/temps/references/commands/surveys.md +165 -0
  68. package/dist/skills/temps/references/commands/teams.md +14 -0
  69. package/dist/skills/temps/references/commands/templates.md +8 -2
  70. package/dist/skills/temps/references/commands/traces.md +58 -0
  71. package/dist/skills/temps/references/commands/traefik-discovery.md +10 -0
  72. package/dist/skills/temps/references/commands/tunnels.md +139 -0
  73. package/dist/skills/temps/references/commands/up.md +2 -0
  74. package/dist/skills/temps/references/commands/users.md +16 -0
  75. package/dist/skills/temps/references/commands/webhooks.md +6 -0
  76. package/dist/skills/temps/references/commands/workflow.md +2 -0
  77. package/dist/skills/temps/references/commands/workflows.md +216 -0
  78. package/dist/skills/temps/references/observability/analytics.md +2 -2
  79. package/dist/skills/temps/references/workflows/platform-operations.md +46 -36
  80. package/dist/skills/temps/scripts/test_validate_skill.py +25 -66
  81. package/dist/skills/temps/scripts/validate_skill.py +29 -43
  82. package/package.json +7 -2
  83. package/dist/skills/temps/scripts/__pycache__/generate_command_references.cpython-314.pyc +0 -0
  84. package/dist/skills/temps/scripts/__pycache__/test_generate_command_references.cpython-314.pyc +0 -0
  85. package/dist/skills/temps/scripts/__pycache__/test_validate_skill.cpython-314.pyc +0 -0
  86. package/dist/skills/temps/scripts/__pycache__/validate_skill.cpython-314.pyc +0 -0
@@ -0,0 +1,120 @@
1
+ <!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
2
+
3
+ # `network-policy` command reference
4
+
5
+ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
6
+
7
+ ## `network-policy` (alias: `netpol`)
8
+
9
+ Manage network policy for workloads: rules, egress/ingress profiles and the effective policy
10
+
11
+ **Subcommands:**
12
+
13
+ - `rules` - Manage network policy rules
14
+ - `effective` - Show the policy in force for a workload: profile, rules, inbound links and where it is enforced. <kind> is one of deployment, sandbox, service, function, job; <id> is the environment id for a deployment
15
+ - `profile` - Manage a workload's egress and ingress profile
16
+
17
+ ### `network-policy rules`
18
+
19
+ Manage network policy rules
20
+
21
+ **Subcommands:**
22
+
23
+ - `list` (`ls`) - List network policy rules
24
+ - `show` - Show one network policy rule
25
+ - `create` (`add`) - Create a network policy rule
26
+ - `rm` (`remove`) - Delete a network policy rule (link rules are removed by unlinking instead)
27
+
28
+ #### `network-policy rules list` (alias: `ls`)
29
+
30
+ List network policy rules
31
+
32
+ **Options:**
33
+
34
+ | Flag | Description | Default | Required |
35
+ |------|-------------|---------|----------|
36
+ | `--subject-kind <kind>` | Only rules for this kind (deployment, sandbox, service, function, job) | - | No |
37
+ | `--subject-id <id>` | Only rules for this subject (environment id for deployments) | - | No |
38
+ | `--origin <origin>` | Only rules of this origin (link, operator, system) | - | No |
39
+ | `--page <n>` | Page number (default 1) | - | No |
40
+ | `--page-size <n>` | Rules per page (default 20, max 100) | - | No |
41
+ | `--json` | Output in JSON format | - | No |
42
+
43
+ #### `network-policy rules show`
44
+
45
+ Show one network policy rule
46
+
47
+ **Usage:** `network-policy rules show <ruleId> [options]`
48
+
49
+ **Options:**
50
+
51
+ | Flag | Description | Default | Required |
52
+ |------|-------------|---------|----------|
53
+ | `--json` | Output in JSON format | - | No |
54
+
55
+ #### `network-policy rules create` (alias: `add`)
56
+
57
+ Create a network policy rule
58
+
59
+ **Options:**
60
+
61
+ | Flag | Description | Default | Required |
62
+ |------|-------------|---------|----------|
63
+ | `--subject-kind <kind>` | Workload kind (deployment, sandbox, service, function, job) | - | Yes |
64
+ | `--subject-id <id>` | Environment id for a deployment; the row id for other kinds | - | Yes |
65
+ | `--direction <direction>` | Traffic direction (egress, ingress) | - | Yes |
66
+ | `--peer-kind <kind>` | Peer type: service (by id), workload (<kind>/<id>) or cidr. host rules are refused until a node runs the shared egress proxy | - | Yes |
67
+ | `--peer <ref>` | Peer reference: a service id, <kind>/<id>, or a CIDR | - | Yes |
68
+ | `--action <action>` | What to do with matching traffic (allow, deny) | - | Yes |
69
+ | `--protocol <protocol>` | tcp, udp, any (default tcp) | - | No |
70
+ | `--port <port>` | Port, or the start of a range. Omit for every port | - | No |
71
+ | `--port-end <port>` | End of the port range (needs --port) | - | No |
72
+ | `--description <text>` | Why this rule exists | - | No |
73
+ | `--json` | Output the created rule in JSON format | - | No |
74
+
75
+ #### `network-policy rules rm` (alias: `remove`)
76
+
77
+ Delete a network policy rule (link rules are removed by unlinking instead)
78
+
79
+ **Usage:** `network-policy rules rm <ruleId> [options]`
80
+
81
+ **Options:**
82
+
83
+ | Flag | Description | Default | Required |
84
+ |------|-------------|---------|----------|
85
+ | `-f, --force` | Skip confirmation | - | No |
86
+ | `-y, --yes` | Skip confirmation (alias for --force) | - | No |
87
+
88
+ ### `network-policy effective`
89
+
90
+ Show the policy in force for a workload: profile, rules, inbound links and where it is enforced. <kind> is one of deployment, sandbox, service, function, job; <id> is the environment id for a deployment
91
+
92
+ **Usage:** `network-policy effective <kind> <id> [options]`
93
+
94
+ **Options:**
95
+
96
+ | Flag | Description | Default | Required |
97
+ |------|-------------|---------|----------|
98
+ | `--json` | Output in JSON format | - | No |
99
+
100
+ ### `network-policy profile`
101
+
102
+ Manage a workload's egress and ingress profile
103
+
104
+ **Subcommands:**
105
+
106
+ - `set` - Set a workload's profile. Each direction is open, restricted, none; a direction left out is reset to the kind's default
107
+
108
+ #### `network-policy profile set`
109
+
110
+ Set a workload's profile. Each direction is open, restricted, none; a direction left out is reset to the kind's default
111
+
112
+ **Usage:** `network-policy profile set <kind> <id> [options]`
113
+
114
+ **Options:**
115
+
116
+ | Flag | Description | Default | Required |
117
+ |------|-------------|---------|----------|
118
+ | `--egress <profile>` | Outbound profile (open, restricted, none). Omit for the kind's default | - | No |
119
+ | `--ingress <profile>` | Inbound profile (open, restricted, none). Omit for the kind's default | - | No |
120
+ | `--json` | Output in JSON format | - | No |
@@ -14,6 +14,8 @@ Worker nodes and workload placement
14
14
  - `mesh` - WireGuard mesh: lets nodes that only share the internet with the control plane join it, encrypted. Shows whether it is on and how each node is connected
15
15
  - `pair` - Pair nodes this control plane dials: for a control plane nodes cannot reach (a laptop, a server behind NAT). Lists recent pairings and their progress
16
16
  - `ssh` - Add servers over SSH: the control plane logs in, installs temps if needed, pairs the server and starts its agent. Lists recent ones and their progress
17
+ - `resources` - What the scheduler keeps for the OS and Temps on a node, and whether a placement that does not fit the remaining capacity is refused
18
+ - `state-status` - Show the workload plane's desired-state stream: whether it runs here, its lag and counters
17
19
 
18
20
  ### `nodes capability`
19
21
 
@@ -74,6 +76,8 @@ Mesh hub: a member that relays between members that cannot reach each other (two
74
76
 
75
77
  Make <member> the hub: control-plane, or a node name. Pairs that never connect move onto it within a few minutes. The hub can read the traffic it relays: pick your own machine
76
78
 
79
+ **Usage:** `nodes mesh hub set <member> [options]`
80
+
77
81
  **Options:**
78
82
 
79
83
  | Flag | Description | Default | Required |
@@ -133,6 +137,8 @@ Start pairing the node at --address. Prints the one command to run on it; the co
133
137
 
134
138
  Cancel a pending pairing: its command stops working and its address is released
135
139
 
140
+ **Usage:** `nodes pair cancel <id> [options]`
141
+
136
142
  **Options:**
137
143
 
138
144
  | Flag | Description | Default | Required |
@@ -193,6 +199,54 @@ Read the SSH host key of the server at --host, to verify it before `nodes ssh ad
193
199
 
194
200
  Show one enrollment: its progress and the log with the server output
195
201
 
202
+ **Usage:** `nodes ssh show <id> [options]`
203
+
204
+ **Options:**
205
+
206
+ | Flag | Description | Default | Required |
207
+ |------|-------------|---------|----------|
208
+ | `--json` | Output in JSON format | - | No |
209
+
210
+ ### `nodes resources`
211
+
212
+ What the scheduler keeps for the OS and Temps on a node, and whether a placement that does not fit the remaining capacity is refused
213
+
214
+ **Subcommands:**
215
+
216
+ - `show` - Show a node's reservation and resource policy (node id; 0 or "control-plane" for the control plane)
217
+ - `set` - Change a node's resource policy or reservation. Giving only one of --reserve-cpu and --reserve-memory keeps the node's current value for the other
218
+
219
+ #### `nodes resources show`
220
+
221
+ Show a node's reservation and resource policy (node id; 0 or "control-plane" for the control plane)
222
+
223
+ **Usage:** `nodes resources show <node> [options]`
224
+
225
+ **Options:**
226
+
227
+ | Flag | Description | Default | Required |
228
+ |------|-------------|---------|----------|
229
+ | `--json` | Output in JSON format | - | No |
230
+
231
+ #### `nodes resources set`
232
+
233
+ Change a node's resource policy or reservation. Giving only one of --reserve-cpu and --reserve-memory keeps the node's current value for the other
234
+
235
+ **Usage:** `nodes resources set <node> [options]`
236
+
237
+ **Options:**
238
+
239
+ | Flag | Description | Default | Required |
240
+ |------|-------------|---------|----------|
241
+ | `--policy <policy>` | best_effort (reservations not checked) or enforced (placements that do not fit are refused) | - | No |
242
+ | `--reserve-cpu <millis>` | CPU kept for the OS and Temps, in millicores (1000 = one core) | - | No |
243
+ | `--reserve-memory <mb>` | Memory kept for the OS and Temps, in MB | - | No |
244
+ | `--json` | Output in JSON format | - | No |
245
+
246
+ ### `nodes state-status`
247
+
248
+ Show the workload plane's desired-state stream: whether it runs here, its lag and counters
249
+
196
250
  **Options:**
197
251
 
198
252
  | Flag | Description | Default | Required |
@@ -6,7 +6,7 @@ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing
6
6
 
7
7
  ## `notifications` (alias: `notify`)
8
8
 
9
- Manage notification providers (Slack, Email, Webhook, etc.)
9
+ Manage notification providers (Slack, Email, Webhook, Telegram, etc.)
10
10
 
11
11
  **Subcommands:**
12
12
 
@@ -38,7 +38,7 @@ Add a new notification provider
38
38
 
39
39
  | Flag | Description | Default | Required |
40
40
  |------|-------------|---------|----------|
41
- | `-t, --type <type>` | Provider type (slack, email, webhook) | - | No |
41
+ | `-t, --type <type>` | Provider type (slack, email, webhook, telegram) | - | No |
42
42
  | `-n, --name <name>` | Provider name | - | No |
43
43
  | `-w, --webhook-url <url>` | Webhook URL (for slack) | - | No |
44
44
  | `-c, --channel <channel>` | Channel name (for slack, optional) | - | No |
@@ -51,7 +51,18 @@ Add a new notification provider
51
51
  | `--to-addresses <addresses>` | Comma-separated recipient addresses (for email) | - | No |
52
52
  | `--url <url>` | Webhook URL (for webhook) | - | No |
53
53
  | `--method <method>` | HTTP method: POST, PUT, PATCH (for webhook, default: POST) | - | No |
54
+ | `--header <header>` | Request header "Name: value" (for webhook, repeatable) | - | No |
55
+ | `--bot-token <token>` | Bot token from @BotFather (for telegram) | - | No |
56
+ | `--chat-id <id>` | Chat ID, e.g. -1001234567890 or @channelname (for telegram) | - | No |
57
+ | `--topic-id <id>` | Forum topic ID (for telegram, optional) | - | No |
54
58
  | `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
59
+ | `--webhook-url-file <path>` | Read the Slack webhook URL from a file (- reads stdin) instead of --webhook-url | - | No |
60
+ | `--webhook-url-stdin` | Read the Slack webhook URL from stdin instead of --webhook-url | - | No |
61
+ | `--password-file <path>` | Read the SMTP password from a file (- reads stdin) instead of --password | - | No |
62
+ | `--password-stdin` | Read the SMTP password from stdin instead of --password | - | No |
63
+ | `--bot-token-file <path>` | Read the Telegram bot token from a file (- reads stdin) instead of --bot-token | - | No |
64
+ | `--bot-token-stdin` | Read the Telegram bot token from stdin instead of --bot-token | - | No |
65
+ | `--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
66
 
56
67
  ### `notifications update`
57
68
 
@@ -75,8 +86,19 @@ Update a notification provider
75
86
  | `--to-addresses <addresses>` | Comma-separated recipient addresses (for email) | - | No |
76
87
  | `--url <url>` | Webhook URL (for webhook) | - | No |
77
88
  | `--method <method>` | HTTP method: POST, PUT, PATCH (for webhook) | - | No |
89
+ | `--header <header>` | Request header "Name: value" (for webhook, repeatable; replaces the stored headers) | - | No |
90
+ | `--bot-token <token>` | Bot token from @BotFather (for telegram) | - | No |
91
+ | `--chat-id <id>` | Chat ID, e.g. -1001234567890 or @channelname (for telegram) | - | No |
92
+ | `--topic-id <id>` | Forum topic ID (for telegram; empty string clears it) | - | No |
78
93
  | `--json` | Output in JSON format | - | No |
79
94
  | `-y, --yes` | Skip confirmation prompts | - | No |
95
+ | `--webhook-url-file <path>` | Read the Slack webhook URL from a file (- reads stdin) instead of --webhook-url | - | No |
96
+ | `--webhook-url-stdin` | Read the Slack webhook URL from stdin instead of --webhook-url | - | No |
97
+ | `--password-file <path>` | Read the SMTP password from a file (- reads stdin) instead of --password | - | No |
98
+ | `--password-stdin` | Read the SMTP password from stdin instead of --password | - | No |
99
+ | `--bot-token-file <path>` | Read the Telegram bot token from a file (- reads stdin) instead of --bot-token | - | No |
100
+ | `--bot-token-stdin` | Read the Telegram bot token from stdin instead of --bot-token | - | No |
101
+ | `--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 |
80
102
 
81
103
  ### `notifications enable`
82
104
 
@@ -8,6 +8,8 @@ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing
8
8
 
9
9
  Open project URL in browser
10
10
 
11
+ **Usage:** `open [project] [options]`
12
+
11
13
  **Options:**
12
14
 
13
15
  | Flag | Description | Default | Required |
@@ -57,6 +57,8 @@ Create a new OTel forwarding destination
57
57
 
58
58
  Show OTel forwarding destination details
59
59
 
60
+ **Usage:** `otel-forward show <id> [options]`
61
+
60
62
  **Options:**
61
63
 
62
64
  | Flag | Description | Default | Required |
@@ -67,6 +69,8 @@ Show OTel forwarding destination details
67
69
 
68
70
  Update an OTel forwarding destination
69
71
 
72
+ **Usage:** `otel-forward update <id> [options]`
73
+
70
74
  **Options:**
71
75
 
72
76
  | Flag | Description | Default | Required |
@@ -91,6 +95,8 @@ Update an OTel forwarding destination
91
95
 
92
96
  Remove an OTel forwarding destination
93
97
 
98
+ **Usage:** `otel-forward remove <id> [options]`
99
+
94
100
  **Options:**
95
101
 
96
102
  | Flag | Description | Default | Required |
@@ -102,6 +108,8 @@ Remove an OTel forwarding destination
102
108
 
103
109
  Send a test delivery to an OTel forwarding destination
104
110
 
111
+ **Usage:** `otel-forward test <id> [options]`
112
+
105
113
  **Options:**
106
114
 
107
115
  | Flag | Description | Default | Required |
@@ -158,6 +166,8 @@ Create a new instance-wide default forwarding destination
158
166
 
159
167
  Show instance default destination details
160
168
 
169
+ **Usage:** `otel-forward instance-default show <id> [options]`
170
+
161
171
  **Options:**
162
172
 
163
173
  | Flag | Description | Default | Required |
@@ -168,6 +178,8 @@ Show instance default destination details
168
178
 
169
179
  Update an instance default forwarding destination
170
180
 
181
+ **Usage:** `otel-forward instance-default update <id> [options]`
182
+
171
183
  **Options:**
172
184
 
173
185
  | Flag | Description | Default | Required |
@@ -192,6 +204,8 @@ Update an instance default forwarding destination
192
204
 
193
205
  Remove an instance default forwarding destination
194
206
 
207
+ **Usage:** `otel-forward instance-default remove <id> [options]`
208
+
195
209
  **Options:**
196
210
 
197
211
  | Flag | Description | Default | Required |
@@ -203,6 +217,8 @@ Remove an instance default forwarding destination
203
217
 
204
218
  Send a test delivery to an instance default forwarding destination
205
219
 
220
+ **Usage:** `otel-forward instance-default test <id> [options]`
221
+
206
222
  **Options:**
207
223
 
208
224
  | Flag | Description | Default | Required |
@@ -91,6 +91,8 @@ Ask the release API for the newest version on this channel now
91
91
 
92
92
  Show or set the release channel: stable, beta, nightly, or "auto" to follow the installed version
93
93
 
94
+ **Usage:** `platform update channel [channel] [options]`
95
+
94
96
  **Options:**
95
97
 
96
98
  | Flag | Description | Default | Required |
@@ -133,6 +135,8 @@ List the alert rules watching this node (proxy health, socket exhaustion)
133
135
 
134
136
  Retune, enable, or disable an alert rule on this node
135
137
 
138
+ **Usage:** `platform alert-rules set <rule-id> [options]`
139
+
136
140
  **Options:**
137
141
 
138
142
  | Flag | Description | Default | Required |
@@ -6,12 +6,13 @@ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing
6
6
 
7
7
  ## `plugin`
8
8
 
9
- Create, install, update and build TypeScript plugins
9
+ Create and build TypeScript plugins, or install and manage external plugins
10
10
 
11
11
  **Subcommands:**
12
12
 
13
13
  - `install` - Install a GitHub TypeScript plugin on the configured Temps server; the server uses its host Git credentials and Docker
14
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
15
16
  - `grants` - Inspect or replace a plugin's host API permissions and AI limits
16
17
  - `dev` - Run a plugin with a local simulated host, UI preview, and events (no Temps server)
17
18
  - `init` - Create a TypeScript plugin project
@@ -22,6 +23,8 @@ Create, install, update and build TypeScript plugins
22
23
 
23
24
  Install a GitHub TypeScript plugin on the configured Temps server; the server uses its host Git credentials and Docker
24
25
 
26
+ **Usage:** `plugin install <repository> [options]`
27
+
25
28
  **Options:**
26
29
 
27
30
  | Flag | Description | Default | Required |
@@ -38,6 +41,8 @@ Install a GitHub TypeScript plugin on the configured Temps server; the server us
38
41
 
39
42
  Rebuild an installed GitHub plugin from its stored source; keep the current plugin if the update fails
40
43
 
44
+ **Usage:** `plugin update <name> [options]`
45
+
41
46
  **Options:**
42
47
 
43
48
  | Flag | Description | Default | Required |
@@ -45,6 +50,20 @@ Rebuild an installed GitHub plugin from its stored source; keep the current plug
45
50
  | `--ref <ref>` | Use a different branch, tag, or commit | - | No |
46
51
  | `-y, --yes` | Trust the update without prompting | - | No |
47
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
+
48
67
  ### `plugin grants`
49
68
 
50
69
  Inspect or replace a plugin's host API permissions and AI limits
@@ -58,10 +77,14 @@ Inspect or replace a plugin's host API permissions and AI limits
58
77
 
59
78
  Show current grants, actor identity, and AI availability
60
79
 
80
+ **Usage:** `plugin grants get <name>`
81
+
61
82
  #### `plugin grants set`
62
83
 
63
84
  Replace all host grants; --clear revokes all permissions immediately
64
85
 
86
+ **Usage:** `plugin grants set <name> [options]`
87
+
65
88
  **Options:**
66
89
 
67
90
  | Flag | Description | Default | Required |
@@ -75,6 +98,8 @@ Replace all host grants; --clear revokes all permissions immediately
75
98
 
76
99
  Run a plugin with a local simulated host, UI preview, and events (no Temps server)
77
100
 
101
+ **Usage:** `plugin dev [binary] [args...] [options]`
102
+
78
103
  **Options:**
79
104
 
80
105
  | Flag | Description | Default | Required |
@@ -126,6 +151,8 @@ Show the last 200 redacted simulator records
126
151
 
127
152
  Deliver an event; sent does not mean handler completed
128
153
 
154
+ **Usage:** `plugin dev emit [type] [options]`
155
+
129
156
  **Options:**
130
157
 
131
158
  | Flag | Description | Default | Required |
@@ -166,6 +193,8 @@ Replace all grants or revoke all with --clear
166
193
 
167
194
  Create a TypeScript plugin project
168
195
 
196
+ **Usage:** `plugin init <directory> [options]`
197
+
169
198
  **Options:**
170
199
 
171
200
  | Flag | Description | Default | Required |
@@ -28,6 +28,8 @@ List available presets
28
28
 
29
29
  Show details for a specific preset
30
30
 
31
+ **Usage:** `presets show <slug> [options]`
32
+
31
33
  **Options:**
32
34
 
33
35
  | Flag | Description | Default | Required |
@@ -40,6 +40,8 @@ List projects (groups) and their services
40
40
 
41
41
  Show a project (group), by slug or id
42
42
 
43
+ **Usage:** `project-groups show <group> [options]`
44
+
43
45
  **Options:**
44
46
 
45
47
  | Flag | Description | Default | Required |
@@ -64,6 +66,8 @@ Create a project (group), optionally with services
64
66
 
65
67
  Rename a project (group) or change its description
66
68
 
69
+ **Usage:** `project-groups update <group> [options]`
70
+
67
71
  **Options:**
68
72
 
69
73
  | Flag | Description | Default | Required |
@@ -77,6 +81,8 @@ Rename a project (group) or change its description
77
81
 
78
82
  Delete a project (group); its services keep running as standalone services
79
83
 
84
+ **Usage:** `project-groups delete <group> [options]`
85
+
80
86
  **Options:**
81
87
 
82
88
  | Flag | Description | Default | Required |
@@ -87,10 +93,14 @@ Delete a project (group); its services keep running as standalone services
87
93
 
88
94
  Add services to a project (group), by slug or id as listed by `projects list`; moves them out of any other project
89
95
 
96
+ **Usage:** `project-groups add <group> <services...>`
97
+
90
98
  ### `project-groups remove`
91
99
 
92
100
  Remove a service (slug or id) from a project (group); it becomes a standalone service
93
101
 
102
+ **Usage:** `project-groups remove <group> <service>`
103
+
94
104
  ### `project-groups repo`
95
105
 
96
106
  The repository a project deploys its services from (monorepos)
@@ -105,6 +115,8 @@ The repository a project deploys its services from (monorepos)
105
115
 
106
116
  Show the project's repository and which services follow it
107
117
 
118
+ **Usage:** `project-groups repo show <group> [options]`
119
+
108
120
  **Options:**
109
121
 
110
122
  | Flag | Description | Default | Required |
@@ -115,13 +127,15 @@ Show the project's repository and which services follow it
115
127
 
116
128
  Point the project at a repository and branch; services that follow it are updated to match
117
129
 
130
+ **Usage:** `project-groups repo set <group> [options]`
131
+
118
132
  **Options:**
119
133
 
120
134
  | Flag | Description | Default | Required |
121
135
  |------|-------------|---------|----------|
122
136
  | `-c, --connection <id>` | Git connection id (see: git-providers / connections) | - | No |
123
137
  | `--public <provider>` | Use a public repository without a connection: github or gitlab | - | No |
124
- | `-r, --repo <owner/name|url>` | Repository, e.g. acme/shop; a github.com/gitlab.com URL implies --public | - | Yes |
138
+ | `-r, --repo <owner/name\|url>` | Repository, e.g. acme/shop; a github.com/gitlab.com URL implies --public | - | Yes |
125
139
  | `-b, --branch <branch>` | Branch to deploy from, e.g. main | - | Yes |
126
140
  | `--json` | Output in JSON format | - | No |
127
141
 
@@ -129,6 +143,8 @@ Point the project at a repository and branch; services that follow it are update
129
143
 
130
144
  Remove the repository; services keep their current settings and stop following
131
145
 
146
+ **Usage:** `project-groups repo unset <group> [options]`
147
+
132
148
  **Options:**
133
149
 
134
150
  | Flag | Description | Default | Required |
@@ -139,6 +155,8 @@ Remove the repository; services keep their current settings and stop following
139
155
 
140
156
  Scan the project's repository and add its apps as services that follow it
141
157
 
158
+ **Usage:** `project-groups import <group> [options]`
159
+
142
160
  **Options:**
143
161
 
144
162
  | Flag | Description | Default | Required |
@@ -152,10 +170,14 @@ Scan the project's repository and add its apps as services that follow it
152
170
 
153
171
  Make a service follow the project's repository and branch (keeps its directory)
154
172
 
173
+ **Usage:** `project-groups follow <group> <service>`
174
+
155
175
  ### `project-groups unfollow`
156
176
 
157
177
  Stop a service following the project's repository; it keeps its current settings
158
178
 
179
+ **Usage:** `project-groups unfollow <group> <service>`
180
+
159
181
  ### `project-groups routes`
160
182
 
161
183
  Serve a path of one service's domains from another service (e.g. /api → backend)
@@ -170,6 +192,8 @@ Serve a path of one service's domains from another service (e.g. /api → backen
170
192
 
171
193
  List path routes and how each applies per environment
172
194
 
195
+ **Usage:** `project-groups routes list <group> [options]`
196
+
173
197
  **Options:**
174
198
 
175
199
  | Flag | Description | Default | Required |
@@ -180,6 +204,8 @@ List path routes and how each applies per environment
180
204
 
181
205
  Send requests under <prefix> on <source>'s domains to <target>, e.g. `routes add shop web /api api`
182
206
 
207
+ **Usage:** `project-groups routes add <group> <source> <prefix> <target> [options]`
208
+
183
209
  **Options:**
184
210
 
185
211
  | Flag | Description | Default | Required |
@@ -191,6 +217,8 @@ Send requests under <prefix> on <source>'s domains to <target>, e.g. `routes add
191
217
 
192
218
  Stop routing <prefix>; <source> serves it itself again
193
219
 
220
+ **Usage:** `project-groups routes remove <group> <source> <prefix> [options]`
221
+
194
222
  **Options:**
195
223
 
196
224
  | Flag | Description | Default | Required |
@@ -204,7 +232,7 @@ Variables shared by every service in a project (group)
204
232
  **Subcommands:**
205
233
 
206
234
  - `list` (`ls`) - List shared variables (secret values are never shown)
207
- - `set` - Create or update a shared variable; a service's own variable still wins. Omit the value to type it at a hidden prompt, or pass --value-stdin to pipe it (keeps secrets out of shell history)
235
+ - `set` - Create or update a shared variable; a service's own variable still wins. Omit the value to type it at a hidden prompt, or read it with --value-file or --value-stdin (keeps secrets out of shell history)
208
236
  - `inherited` - Show the shared variables a service (slug or id) receives from its project, and which of them the service's own variables override
209
237
  - `unset` - Remove a shared variable
210
238
 
@@ -212,6 +240,8 @@ Variables shared by every service in a project (group)
212
240
 
213
241
  List shared variables (secret values are never shown)
214
242
 
243
+ **Usage:** `project-groups vars list <group> [options]`
244
+
215
245
  **Options:**
216
246
 
217
247
  | Flag | Description | Default | Required |
@@ -220,7 +250,9 @@ List shared variables (secret values are never shown)
220
250
 
221
251
  #### `project-groups vars set`
222
252
 
223
- Create or update a shared variable; a service's own variable still wins. Omit the value to type it at a hidden prompt, or pass --value-stdin to pipe it (keeps secrets out of shell history)
253
+ Create or update a shared variable; a service's own variable still wins. Omit the value to type it at a hidden prompt, or read it with --value-file or --value-stdin (keeps secrets out of shell history)
254
+
255
+ **Usage:** `project-groups vars set <group> <key> [value] [options]`
224
256
 
225
257
  **Options:**
226
258
 
@@ -228,7 +260,8 @@ Create or update a shared variable; a service's own variable still wins. Omit th
228
260
  |------|-------------|---------|----------|
229
261
  | `-e, --environment <slug>` | Only this environment (e.g. production); default: all | - | No |
230
262
  | `--secret` | Write-only: the value can never be read back | - | No |
231
- | `--value-stdin` | Read the value from stdin, e.g. `cat key.pem \| ... vars set shop TLS_KEY --secret --value-stdin` | - | No |
263
+ | `--value-file <path>` | Read the value from a file (- reads stdin), minus one final newline | - | No |
264
+ | `--value-stdin` | Read the value from stdin, minus one final newline, e.g. `cat key.pem \| ... vars set shop TLS_KEY --secret --value-stdin` | - | No |
232
265
  | `--preview` | Also send an all-environments variable to preview deployments (off by default) | - | No |
233
266
  | `--no-preview` | Do not send it to preview deployments | - | No |
234
267
  | `--json` | Output in JSON format | - | No |
@@ -237,6 +270,8 @@ Create or update a shared variable; a service's own variable still wins. Omit th
237
270
 
238
271
  Show the shared variables a service (slug or id) receives from its project, and which of them the service's own variables override
239
272
 
273
+ **Usage:** `project-groups vars inherited <service> [options]`
274
+
240
275
  **Options:**
241
276
 
242
277
  | Flag | Description | Default | Required |
@@ -247,6 +282,8 @@ Show the shared variables a service (slug or id) receives from its project, and
247
282
 
248
283
  Remove a shared variable
249
284
 
285
+ **Usage:** `project-groups vars unset <group> <key> [options]`
286
+
250
287
  **Options:**
251
288
 
252
289
  | Flag | Description | Default | Required |