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

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 (73) hide show
  1. package/dist/index.js +104770 -87351
  2. package/dist/skills/temps/SKILL.md +6 -3
  3. package/dist/skills/temps/evals/evals.json +38 -0
  4. package/dist/skills/temps/howtos/agent-handoff.md +106 -0
  5. package/dist/skills/temps/howtos/install-temps.md +151 -0
  6. package/dist/skills/temps/references/commands/INDEX.md +7 -0
  7. package/dist/skills/temps/references/commands/agents.md +731 -0
  8. package/dist/skills/temps/references/commands/ai.md +2636 -11
  9. package/dist/skills/temps/references/commands/alarms.md +125 -0
  10. package/dist/skills/temps/references/commands/analytics.md +1001 -3
  11. package/dist/skills/temps/references/commands/apikeys.md +48 -1
  12. package/dist/skills/temps/references/commands/audit.md +1 -0
  13. package/dist/skills/temps/references/commands/backups.md +306 -0
  14. package/dist/skills/temps/references/commands/blob.md +169 -0
  15. package/dist/skills/temps/references/commands/cloud.md +59 -0
  16. package/dist/skills/temps/references/commands/cluster.md +223 -0
  17. package/dist/skills/temps/references/commands/containers.md +45 -0
  18. package/dist/skills/temps/references/commands/custom-domains.md +32 -0
  19. package/dist/skills/temps/references/commands/data.md +1 -0
  20. package/dist/skills/temps/references/commands/deploy-image.md +3 -1
  21. package/dist/skills/temps/references/commands/deploy-local-image.md +3 -0
  22. package/dist/skills/temps/references/commands/deployments.md +559 -0
  23. package/dist/skills/temps/references/commands/dns-provider.md +63 -0
  24. package/dist/skills/temps/references/commands/domains.md +104 -0
  25. package/dist/skills/temps/references/commands/email-domains.md +1 -0
  26. package/dist/skills/temps/references/commands/email-providers.md +59 -1
  27. package/dist/skills/temps/references/commands/emails.md +91 -0
  28. package/dist/skills/temps/references/commands/environments.md +483 -2
  29. package/dist/skills/temps/references/commands/errors.md +563 -3
  30. package/dist/skills/temps/references/commands/flags.md +76 -0
  31. package/dist/skills/temps/references/commands/funnels.md +22 -2
  32. package/dist/skills/temps/references/commands/incidents.md +18 -0
  33. package/dist/skills/temps/references/commands/ingress.md +26 -0
  34. package/dist/skills/temps/references/commands/ip-access.md +96 -1
  35. package/dist/skills/temps/references/commands/kv.md +184 -0
  36. package/dist/skills/temps/references/commands/load-balancer.md +2 -0
  37. package/dist/skills/temps/references/commands/login.md +4 -1
  38. package/dist/skills/temps/references/commands/logs.md +272 -0
  39. package/dist/skills/temps/references/commands/mcp.md +14 -1
  40. package/dist/skills/temps/references/commands/migrate.md +17 -0
  41. package/dist/skills/temps/references/commands/monitors.md +386 -0
  42. package/dist/skills/temps/references/commands/network-policy.md +27 -0
  43. package/dist/skills/temps/references/commands/nodes.md +155 -2
  44. package/dist/skills/temps/references/commands/notifications.md +149 -0
  45. package/dist/skills/temps/references/commands/otel.md +438 -0
  46. package/dist/skills/temps/references/commands/platform.md +64 -0
  47. package/dist/skills/temps/references/commands/plugin.md +76 -0
  48. package/dist/skills/temps/references/commands/preview-gateway.md +91 -0
  49. package/dist/skills/temps/references/commands/project-groups.md +31 -0
  50. package/dist/skills/temps/references/commands/projects.md +453 -6
  51. package/dist/skills/temps/references/commands/providers.md +519 -0
  52. package/dist/skills/temps/references/commands/proxy-logs.md +111 -0
  53. package/dist/skills/temps/references/commands/revenue.md +219 -0
  54. package/dist/skills/temps/references/commands/sandbox.md +732 -9
  55. package/dist/skills/temps/references/commands/secrets.md +3 -0
  56. package/dist/skills/temps/references/commands/server.md +107 -0
  57. package/dist/skills/temps/references/commands/services.md +831 -5
  58. package/dist/skills/temps/references/commands/settings.md +384 -0
  59. package/dist/skills/temps/references/commands/shield.md +354 -0
  60. package/dist/skills/temps/references/commands/start.md +1 -0
  61. package/dist/skills/temps/references/commands/status-pages.md +103 -3
  62. package/dist/skills/temps/references/commands/teams.md +14 -0
  63. package/dist/skills/temps/references/commands/templates.md +14 -0
  64. package/dist/skills/temps/references/commands/tokens.md +106 -0
  65. package/dist/skills/temps/references/commands/traces.md +149 -0
  66. package/dist/skills/temps/references/commands/tunnels.md +2 -0
  67. package/dist/skills/temps/references/commands/users.md +111 -0
  68. package/dist/skills/temps/references/commands/vault.md +662 -0
  69. package/dist/skills/temps/references/commands/webhooks.md +4 -0
  70. package/dist/skills/temps/references/commands/workflows.md +347 -0
  71. package/dist/skills/temps/scripts/generate_command_references.py +5 -3
  72. package/dist/skills/temps/scripts/test_generate_command_references.py +3 -1
  73. package/package.json +3 -2
@@ -10,6 +10,11 @@ View platform and server information
10
10
 
11
11
  **Subcommands:**
12
12
 
13
+ - `host-facts` - What Temps reads about the control plane's machine: processor, memory, swap, disk, Docker, ports 80 and 443, its addresses and Tailscale
14
+ - `operations` (`ops`) - List recent and in-flight operations: deployments, rollbacks, promotions, restores, backups, autofixes
15
+ - `maturity` - Show the compatibility promise (stable, beta, experimental) for every feature
16
+ - `geo` - Look up the location of an IP address in the server's geolocation database
17
+ - `file` - Print a file from the server's static directory (or save it with -o)
13
18
  - `info` - Get platform information
14
19
  - `features` - Show which capabilities the server process actually provides
15
20
  - `access` - Get access and networking information
@@ -18,6 +23,65 @@ View platform and server information
18
23
  - `update` - Check for and apply temps releases on the server
19
24
  - `alert-rules` - Inspect and retune the control-plane's own monitoring alert rules
20
25
 
26
+ ### `platform host-facts`
27
+
28
+ What Temps reads about the control plane's machine: processor, memory, swap, disk, Docker, ports 80 and 443, its addresses and Tailscale
29
+
30
+ **Options:**
31
+
32
+ | Flag | Description | Default | Required |
33
+ |------|-------------|---------|----------|
34
+ | `--json` | Output in JSON format | - | No |
35
+
36
+ ### `platform operations` (alias: `ops`)
37
+
38
+ List recent and in-flight operations: deployments, rollbacks, promotions, restores, backups, autofixes
39
+
40
+ **Options:**
41
+
42
+ | Flag | Description | Default | Required |
43
+ |------|-------------|---------|----------|
44
+ | `--status <status>` | Which ones: running, waiting, finished, all (default: the server's) | - | No |
45
+ | `--kind <kind>` | Only one kind: deployment, rollback, promotion, restore, backup, autofix | - | No |
46
+ | `--project <id>` | Only this project ID | - | No |
47
+ | `--page <n>` | Page (default 1) | - | No |
48
+ | `--page-size <n>` | Operations per page (max 100) | - | No |
49
+ | `--json` | Output in JSON format | - | No |
50
+
51
+ ### `platform maturity`
52
+
53
+ Show the compatibility promise (stable, beta, experimental) for every feature
54
+
55
+ **Options:**
56
+
57
+ | Flag | Description | Default | Required |
58
+ |------|-------------|---------|----------|
59
+ | `--json` | Output in JSON format | - | No |
60
+
61
+ ### `platform geo`
62
+
63
+ Look up the location of an IP address in the server's geolocation database
64
+
65
+ **Usage:** `platform geo <ip> [options]`
66
+
67
+ **Options:**
68
+
69
+ | Flag | Description | Default | Required |
70
+ |------|-------------|---------|----------|
71
+ | `--json` | Output in JSON format | - | No |
72
+
73
+ ### `platform file`
74
+
75
+ Print a file from the server's static directory (or save it with -o)
76
+
77
+ **Usage:** `platform file <path> [options]`
78
+
79
+ **Options:**
80
+
81
+ | Flag | Description | Default | Required |
82
+ |------|-------------|---------|----------|
83
+ | `-o, --output <file>` | Write it to a file instead of stdout | - | No |
84
+
21
85
  ### `platform info`
22
86
 
23
87
  Get platform information
@@ -18,6 +18,7 @@ Create and build TypeScript plugins, or install and manage external plugins
18
18
  - `init` - Create a TypeScript plugin project
19
19
  - `build` - Build every platform selected in package.json; --all selects all six supported targets
20
20
  - `publish` - Build, publish native npm packages, verify ownership and submit for review; resumes interrupted releases
21
+ - `api` - Api commands
21
22
 
22
23
  ### `plugin install`
23
24
 
@@ -220,3 +221,78 @@ Build, publish native npm packages, verify ownership and submit for review; resu
220
221
  | Flag | Description | Default | Required |
221
222
  |------|-------------|---------|----------|
222
223
  | `-y, --yes` | Confirm public npm publication non-interactively | - | No |
224
+
225
+ ### `plugin api`
226
+
227
+ Api commands
228
+
229
+ **Subcommands:**
230
+
231
+ - `list-chat-watches` - List chat plugin watches
232
+ - `change-chat-watch` - Change chat plugin watch
233
+ - `get-ai-tools` - Get plugin ai tools
234
+ - `put-ai-tools` - Put plugin ai tools
235
+
236
+ #### `plugin api list-chat-watches`
237
+
238
+ List chat plugin watches
239
+
240
+ **Usage:** `plugin api list-chat-watches <chat> [options]`
241
+
242
+ **Options:**
243
+
244
+ | Flag | Description | Default | Required |
245
+ |------|-------------|---------|----------|
246
+ | `--json` | Output in JSON format | - | No |
247
+
248
+ #### `plugin api change-chat-watch`
249
+
250
+ Change chat plugin watch
251
+
252
+ **Usage:** `plugin api change-chat-watch <chat> [options]`
253
+
254
+ **Options:**
255
+
256
+ | Flag | Description | Default | Required |
257
+ |------|-------------|---------|----------|
258
+ | `--action <value>` | Body field action (one of: create, pause, resume, remove) [required] | - | No |
259
+ | `--digest <value>` | Body field digest | - | No |
260
+ | `--mode <value>` | Body field mode (one of: notify, wake) | - | No |
261
+ | `--plugin <value>` | Body field plugin | - | No |
262
+ | `--source <value>` | Body field source | - | No |
263
+ | `--subject <value>` | Body field subject | - | No |
264
+ | `--where <json>` | Body field where (JSON) | - | No |
265
+ | `--id <value>` | Body field id | - | No |
266
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
267
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
268
+ | `--json` | Output in JSON format | - | No |
269
+
270
+ #### `plugin api get-ai-tools`
271
+
272
+ Get plugin ai tools
273
+
274
+ **Usage:** `plugin api get-ai-tools <name> [options]`
275
+
276
+ **Options:**
277
+
278
+ | Flag | Description | Default | Required |
279
+ |------|-------------|---------|----------|
280
+ | `--json` | Output in JSON format | - | No |
281
+
282
+ #### `plugin api put-ai-tools`
283
+
284
+ Put plugin ai tools
285
+
286
+ **Usage:** `plugin api put-ai-tools <name> [options]`
287
+
288
+ **Options:**
289
+
290
+ | Flag | Description | Default | Required |
291
+ |------|-------------|---------|----------|
292
+ | `--actor-id <value>` | Current actor_id returned by GET; replacing the installation requires fresh consent [required] | - | No |
293
+ | `--enabled` | Body field enabled [required] | - | No |
294
+ | `--no-enabled` | Set enabled to false | - | No |
295
+ | `--installation-revision <value>` | Binary revision returned by GET; a changed binary requires fresh consent [required] | - | No |
296
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
297
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
298
+ | `--json` | Output in JSON format | - | No |
@@ -0,0 +1,91 @@
1
+ <!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
2
+
3
+ # `preview-gateway` command reference
4
+
5
+ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
6
+
7
+ ## `preview-gateway` (alias: `pgw`)
8
+
9
+ Manage the preview gateway that serves workspace preview URLs (status, settings, logs, restart, upgrade)
10
+
11
+ **Subcommands:**
12
+
13
+ - `status` - Show the gateway container's health, image and last setup error
14
+ - `settings` (`show`) - Show the gateway settings: enabled, image, host port, auto-upgrade, container name, and their defaults
15
+ - `configure` (`set`) - Change gateway settings; only the flags you pass are changed
16
+ - `logs` - Print the latest gateway container log lines
17
+ - `restart` - Restart the gateway container (previews are briefly unavailable)
18
+ - `upgrade` - Pull an image and recreate the gateway with it (previews are briefly unavailable)
19
+
20
+ ### `preview-gateway status`
21
+
22
+ Show the gateway container's health, image and last setup error
23
+
24
+ **Options:**
25
+
26
+ | Flag | Description | Default | Required |
27
+ |------|-------------|---------|----------|
28
+ | `--json` | Output in JSON format | - | No |
29
+
30
+ ### `preview-gateway settings` (alias: `show`)
31
+
32
+ Show the gateway settings: enabled, image, host port, auto-upgrade, container name, and their defaults
33
+
34
+ **Options:**
35
+
36
+ | Flag | Description | Default | Required |
37
+ |------|-------------|---------|----------|
38
+ | `--json` | Output in JSON format | - | No |
39
+
40
+ ### `preview-gateway configure` (alias: `set`)
41
+
42
+ Change gateway settings; only the flags you pass are changed
43
+
44
+ **Options:**
45
+
46
+ | Flag | Description | Default | Required |
47
+ |------|-------------|---------|----------|
48
+ | `--enable` | Run the gateway (creates its containers) | - | No |
49
+ | `--disable` | Stop running the gateway (removes its containers; preview URLs stop being served) | - | No |
50
+ | `--image <ref>` | Gateway image to run, ideally an immutable @sha256 reference | - | No |
51
+ | `--reset-image` | Go back to the image pinned in this Temps build | - | No |
52
+ | `--host-port <port>` | Host port the ingress relay's :8080 is published on | - | No |
53
+ | `--auto-upgrade` | Apply the pinned image on every Temps startup (default) | - | No |
54
+ | `--no-auto-upgrade` | Leave the running image alone on startup; upgrade by hand | - | No |
55
+ | `--container-name <name>` | Docker container name; change only when several Temps instances share one Docker daemon | - | No |
56
+ | `--reset-container-name` | Go back to the default container name | - | No |
57
+ | `-y, --yes` | Do not ask before a change that interrupts previews (--disable, a new container name) | - | No |
58
+ | `--json` | Print the saved settings as JSON | - | No |
59
+
60
+ ### `preview-gateway logs`
61
+
62
+ Print the latest gateway container log lines
63
+
64
+ **Options:**
65
+
66
+ | Flag | Description | Default | Required |
67
+ |------|-------------|---------|----------|
68
+ | `--tail <lines>` | Lines to print, 1 to 2000 (default 200) | - | No |
69
+ | `--json` | Output in JSON format | - | No |
70
+
71
+ ### `preview-gateway restart`
72
+
73
+ Restart the gateway container (previews are briefly unavailable)
74
+
75
+ **Options:**
76
+
77
+ | Flag | Description | Default | Required |
78
+ |------|-------------|---------|----------|
79
+ | `-y, --yes` | Do not ask for confirmation | - | No |
80
+
81
+ ### `preview-gateway upgrade`
82
+
83
+ Pull an image and recreate the gateway with it (previews are briefly unavailable)
84
+
85
+ **Options:**
86
+
87
+ | Flag | Description | Default | Required |
88
+ |------|-------------|---------|----------|
89
+ | `--image <ref>` | Image to pull and run, ideally an immutable @sha256 reference | - | No |
90
+ | `--default` | Use the image pinned in this Temps build | - | No |
91
+ | `-y, --yes` | Do not ask for confirmation | - | No |
@@ -4,6 +4,22 @@
4
4
 
5
5
  Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
6
6
 
7
+ ## Contents
8
+
9
+ - [`project-groups list`](#project-groups-list-alias-ls)
10
+ - [`project-groups show`](#project-groups-show-alias-get)
11
+ - [`project-groups create`](#project-groups-create-alias-new)
12
+ - [`project-groups update`](#project-groups-update-alias-edit)
13
+ - [`project-groups delete`](#project-groups-delete-alias-rm)
14
+ - [`project-groups add`](#project-groups-add)
15
+ - [`project-groups remove`](#project-groups-remove)
16
+ - [`project-groups repo`](#project-groups-repo)
17
+ - [`project-groups import`](#project-groups-import)
18
+ - [`project-groups follow`](#project-groups-follow)
19
+ - [`project-groups unfollow`](#project-groups-unfollow)
20
+ - [`project-groups routes`](#project-groups-routes)
21
+ - [`project-groups vars`](#project-groups-vars)
22
+
7
23
  ## `project-groups` (alias: `pg`)
8
24
 
9
25
  Manage Projects (what the console calls a Project): groups of services that ship together and share a repository, variables and path routes. A service is what the `projects` command manages; the `services` command manages databases and caches, not these.
@@ -164,6 +180,8 @@ Scan the project's repository and add its apps as services that follow it
164
180
  | `-p, --path <dir...>` | Only these app directories (default: every app without a service) | - | No |
165
181
  | `--dry-run` | List what would be created without creating anything | - | No |
166
182
  | `--timeout <minutes>` | Stop waiting after this long (default 30); the import keeps running on the server | - | No |
183
+ | `--fresh` | Scan a public repository again instead of using the cached scan | - | No |
184
+ | `--base-url <url>` | HTTPS origin of the self-hosted GitLab a public repository lives on | - | No |
167
185
  | `--json` | Output in JSON format | - | No |
168
186
 
169
187
  ### `project-groups follow`
@@ -231,11 +249,24 @@ Variables shared by every service in a project (group)
231
249
 
232
250
  **Subcommands:**
233
251
 
252
+ - `get` - Show one shared variable (a secret value is never shown)
234
253
  - `list` (`ls`) - List shared variables (secret values are never shown)
235
254
  - `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)
236
255
  - `inherited` - Show the shared variables a service (slug or id) receives from its project, and which of them the service's own variables override
237
256
  - `unset` - Remove a shared variable
238
257
 
258
+ #### `project-groups vars get`
259
+
260
+ Show one shared variable (a secret value is never shown)
261
+
262
+ **Usage:** `project-groups vars get <group-id> <var-id> [options]`
263
+
264
+ **Options:**
265
+
266
+ | Flag | Description | Default | Required |
267
+ |------|-------------|---------|----------|
268
+ | `--json` | Output in JSON format | - | No |
269
+
239
270
  #### `project-groups vars list` (alias: `ls`)
240
271
 
241
272
  List shared variables (secret values are never shown)