@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.
Files changed (112) hide show
  1. package/README.md +14 -0
  2. package/dist/index.js +63877 -40097
  3. package/dist/skills/temps/SKILL.md +18 -9
  4. package/dist/skills/temps/evals/evals.json +23 -6
  5. package/dist/skills/temps/howtos/agent-handoff.md +106 -0
  6. package/dist/skills/temps/howtos/ci-automation.md +2 -3
  7. package/dist/skills/temps/howtos/curated-services.md +69 -0
  8. package/dist/skills/temps/howtos/deploy-application.md +8 -1
  9. package/dist/skills/temps/howtos/edge-rules.md +135 -0
  10. package/dist/skills/temps/howtos/managed-services.md +4 -4
  11. package/dist/skills/temps/howtos/projects-and-monorepos.md +2 -1
  12. package/dist/skills/temps/references/cli-runtime.md +10 -18
  13. package/dist/skills/temps/references/commands/INDEX.md +11 -0
  14. package/dist/skills/temps/references/commands/access.md +4 -0
  15. package/dist/skills/temps/references/commands/agents.md +731 -0
  16. package/dist/skills/temps/references/commands/ai.md +2638 -9
  17. package/dist/skills/temps/references/commands/alarms.md +129 -0
  18. package/dist/skills/temps/references/commands/analytics.md +1199 -2
  19. package/dist/skills/temps/references/commands/apikeys.md +50 -1
  20. package/dist/skills/temps/references/commands/audit.md +1 -0
  21. package/dist/skills/temps/references/commands/backups.md +312 -0
  22. package/dist/skills/temps/references/commands/blob.md +169 -0
  23. package/dist/skills/temps/references/commands/cloud.md +73 -0
  24. package/dist/skills/temps/references/commands/cluster.md +223 -0
  25. package/dist/skills/temps/references/commands/configure.md +7 -0
  26. package/dist/skills/temps/references/commands/containers.md +45 -0
  27. package/dist/skills/temps/references/commands/context.md +6 -0
  28. package/dist/skills/temps/references/commands/custom-domains.md +32 -0
  29. package/dist/skills/temps/references/commands/data.md +11 -13
  30. package/dist/skills/temps/references/commands/deploy-image.md +3 -1
  31. package/dist/skills/temps/references/commands/deploy-local-image.md +3 -0
  32. package/dist/skills/temps/references/commands/deploy.md +2 -0
  33. package/dist/skills/temps/references/commands/deployments.md +560 -0
  34. package/dist/skills/temps/references/commands/dns-provider.md +63 -0
  35. package/dist/skills/temps/references/commands/domains.md +105 -0
  36. package/dist/skills/temps/references/commands/drop.md +2 -0
  37. package/dist/skills/temps/references/commands/edge-rules.md +218 -0
  38. package/dist/skills/temps/references/commands/email-domains.md +1 -0
  39. package/dist/skills/temps/references/commands/email-providers.md +64 -1
  40. package/dist/skills/temps/references/commands/emails.md +91 -0
  41. package/dist/skills/temps/references/commands/env-pull.md +2 -0
  42. package/dist/skills/temps/references/commands/env-push.md +2 -0
  43. package/dist/skills/temps/references/commands/environments.md +695 -2
  44. package/dist/skills/temps/references/commands/errors.md +1134 -61
  45. package/dist/skills/temps/references/commands/facets.md +6 -0
  46. package/dist/skills/temps/references/commands/flags.md +179 -0
  47. package/dist/skills/temps/references/commands/funnels.md +22 -2
  48. package/dist/skills/temps/references/commands/incidents.md +22 -0
  49. package/dist/skills/temps/references/commands/init.md +2 -0
  50. package/dist/skills/temps/references/commands/instances.md +6 -0
  51. package/dist/skills/temps/references/commands/instantiations.md +4 -0
  52. package/dist/skills/temps/references/commands/ip-access.md +96 -1
  53. package/dist/skills/temps/references/commands/kv.md +184 -0
  54. package/dist/skills/temps/references/commands/link.md +2 -0
  55. package/dist/skills/temps/references/commands/load-balancer.md +2 -0
  56. package/dist/skills/temps/references/commands/login.md +9 -1
  57. package/dist/skills/temps/references/commands/logs.md +405 -10
  58. package/dist/skills/temps/references/commands/mcp-servers.md +4 -0
  59. package/dist/skills/temps/references/commands/mcp.md +8 -1
  60. package/dist/skills/temps/references/commands/migrate.md +26 -0
  61. package/dist/skills/temps/references/commands/monitors.md +456 -0
  62. package/dist/skills/temps/references/commands/network-policy.md +147 -0
  63. package/dist/skills/temps/references/commands/nodes.md +209 -2
  64. package/dist/skills/temps/references/commands/notifications.md +173 -2
  65. package/dist/skills/temps/references/commands/open.md +2 -0
  66. package/dist/skills/temps/references/commands/otel-forward.md +16 -0
  67. package/dist/skills/temps/references/commands/otel.md +436 -0
  68. package/dist/skills/temps/references/commands/platform.md +57 -0
  69. package/dist/skills/temps/references/commands/plugin.md +106 -1
  70. package/dist/skills/temps/references/commands/presets.md +2 -0
  71. package/dist/skills/temps/references/commands/preview-gateway.md +91 -0
  72. package/dist/skills/temps/references/commands/project-groups.md +72 -4
  73. package/dist/skills/temps/references/commands/projects.md +509 -4
  74. package/dist/skills/temps/references/commands/providers.md +533 -1
  75. package/dist/skills/temps/references/commands/proxy-logs.md +111 -0
  76. package/dist/skills/temps/references/commands/revenue.md +223 -0
  77. package/dist/skills/temps/references/commands/rollback.md +2 -0
  78. package/dist/skills/temps/references/commands/sandbox.md +790 -10
  79. package/dist/skills/temps/references/commands/secrets.md +19 -6
  80. package/dist/skills/temps/references/commands/server.md +107 -0
  81. package/dist/skills/temps/references/commands/services.md +836 -5
  82. package/dist/skills/temps/references/commands/session-replay.md +8 -0
  83. package/dist/skills/temps/references/commands/settings.md +346 -0
  84. package/dist/skills/temps/references/commands/shield.md +354 -0
  85. package/dist/skills/temps/references/commands/skills.md +6 -0
  86. package/dist/skills/temps/references/commands/start.md +1 -0
  87. package/dist/skills/temps/references/commands/status-pages.md +376 -9
  88. package/dist/skills/temps/references/commands/status.md +2 -0
  89. package/dist/skills/temps/references/commands/surveys.md +165 -0
  90. package/dist/skills/temps/references/commands/teams.md +28 -0
  91. package/dist/skills/temps/references/commands/templates.md +22 -2
  92. package/dist/skills/temps/references/commands/tokens.md +106 -0
  93. package/dist/skills/temps/references/commands/traces.md +207 -0
  94. package/dist/skills/temps/references/commands/traefik-discovery.md +10 -0
  95. package/dist/skills/temps/references/commands/tunnels.md +141 -0
  96. package/dist/skills/temps/references/commands/up.md +2 -0
  97. package/dist/skills/temps/references/commands/users.md +127 -0
  98. package/dist/skills/temps/references/commands/vault.md +662 -0
  99. package/dist/skills/temps/references/commands/webhooks.md +10 -0
  100. package/dist/skills/temps/references/commands/workflow.md +2 -0
  101. package/dist/skills/temps/references/commands/workflows.md +563 -0
  102. package/dist/skills/temps/references/observability/analytics.md +2 -2
  103. package/dist/skills/temps/references/workflows/platform-operations.md +46 -36
  104. package/dist/skills/temps/scripts/generate_command_references.py +5 -3
  105. package/dist/skills/temps/scripts/test_generate_command_references.py +3 -1
  106. package/dist/skills/temps/scripts/test_validate_skill.py +25 -66
  107. package/dist/skills/temps/scripts/validate_skill.py +29 -43
  108. package/package.json +9 -3
  109. package/dist/skills/temps/scripts/__pycache__/generate_command_references.cpython-314.pyc +0 -0
  110. package/dist/skills/temps/scripts/__pycache__/test_generate_command_references.cpython-314.pyc +0 -0
  111. package/dist/skills/temps/scripts/__pycache__/test_validate_skill.cpython-314.pyc +0 -0
  112. package/dist/skills/temps/scripts/__pycache__/validate_skill.cpython-314.pyc +0 -0
@@ -4,6 +4,21 @@
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
+ - [`providers list`](#providers-list-alias-ls)
10
+ - [`providers add`](#providers-add)
11
+ - [`providers remove`](#providers-remove-alias-rm)
12
+ - [`providers show`](#providers-show)
13
+ - [`providers activate`](#providers-activate)
14
+ - [`providers deactivate`](#providers-deactivate)
15
+ - [`providers safe-delete`](#providers-safe-delete)
16
+ - [`providers deletion-check`](#providers-deletion-check)
17
+ - [`providers git`](#providers-git)
18
+ - [`providers connections`](#providers-connections-alias-conn)
19
+ - [`providers public-repos`](#providers-public-repos)
20
+ - [`providers repos`](#providers-repos)
21
+
7
22
  ## `providers` (alias: `provider`)
8
23
 
9
24
  Manage Git providers
@@ -20,6 +35,8 @@ Manage Git providers
20
35
  - `deletion-check` - Check if a Git provider can be safely deleted
21
36
  - `git` - Manage Git providers
22
37
  - `connections` (`conn`) - Manage Git provider connections
38
+ - `public-repos` - Public repos commands
39
+ - `repos` - Repos commands
23
40
 
24
41
  ### `providers list` (alias: `ls`)
25
42
 
@@ -48,6 +65,11 @@ Add a new Git provider
48
65
  | `--clone-url <url>` | HTTPS clone URL (generic provider) | - | No |
49
66
  | `--token-username <username>` | HTTP Basic username for the token (generic; default x-access-token) | - | No |
50
67
  | `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
68
+ | `--token-file <path>` | Read the access token from a file (- reads stdin) instead of --token | - | No |
69
+ | `--token-stdin` | Read the access token from stdin instead of --token | - | No |
70
+ | `--password-file <path>` | Read the Bitbucket app password from a file (- reads stdin) instead of --password | - | No |
71
+ | `--password-stdin` | Read the Bitbucket app password from stdin instead of --password | - | No |
72
+ | `--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 |
51
73
 
52
74
  ### `providers remove` (alias: `rm`)
53
75
 
@@ -123,6 +145,19 @@ Manage Git providers
123
145
 
124
146
  - `connect` - Connect a Git provider (github, gitlab, bitbucket, gitea, generic)
125
147
  - `repos` - List available repositories
148
+ - `complete-connection-reauthorization` - Complete connection reauthorization
149
+ - `reauthorize-connection` - Reauthorize connection
150
+ - `create` - Create a new git provider configuration
151
+ - `start-github-manifest-flow` - Start creating a GitHub App from a manifest
152
+ - `create-gitlab-oauth` - Create a GitLab OAuth provider
153
+ - `update-credentials` - Partially update credentials for an existing git provider
154
+ - `list-repositories-by` - List all repositories for a specific provider
155
+ - `get-all-repositories-by-name` - Get all repositories with same owner/name from all git providers
156
+ - `get-repository-preset-by-name` - Get repository preset by owner and name
157
+ - `get-repository-compose-services-live` - Parse a compose file's services for a connected repository, live
158
+ - `get-repository-compose-preview` - Render a redacted effective Compose preview for a connected repository
159
+ - `get-repository-env-example-live` - Detect and parse a '.env.example'-style file for a connected repository
160
+ - `get-repository-by-id` - Get repository by ID
126
161
 
127
162
  #### `providers git connect`
128
163
 
@@ -141,6 +176,11 @@ Connect a Git provider (github, gitlab, bitbucket, gitea, generic)
141
176
  | `--clone-url <url>` | HTTPS clone URL (generic provider) | - | No |
142
177
  | `--token-username <username>` | HTTP Basic username for the token (generic; default x-access-token) | - | No |
143
178
  | `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
179
+ | `--token-file <path>` | Read the access token from a file (- reads stdin) instead of --token | - | No |
180
+ | `--token-stdin` | Read the access token from stdin instead of --token | - | No |
181
+ | `--password-file <path>` | Read the Bitbucket app password from a file (- reads stdin) instead of --password | - | No |
182
+ | `--password-stdin` | Read the Bitbucket app password from stdin instead of --password | - | No |
183
+ | `--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 |
144
184
 
145
185
  #### `providers git repos`
146
186
 
@@ -159,6 +199,220 @@ List available repositories
159
199
  | `--direction <dir>` | Sort direction: asc or desc | - | No |
160
200
  | `--language <lang>` | Filter by programming language | - | No |
161
201
  | `--owner <owner>` | Filter by repository owner | - | No |
202
+ | `--updated-after <value>` | Only repositories updated on or after this time (RFC 3339) | - | No |
203
+ | `--preset <value>` | Only repositories detected as this preset (e.g. nextjs); not with --id | - | No |
204
+ | `--git-provider-connection-id <n>` | Only repositories of this connection; not with --id | - | No |
205
+
206
+ #### `providers git complete-connection-reauthorization`
207
+
208
+ Complete connection reauthorization
209
+
210
+ **Options:**
211
+
212
+ | Flag | Description | Default | Required |
213
+ |------|-------------|---------|----------|
214
+ | `--code <value>` | Empty when the user cancelled at the provider; the state is still consumed [required] | - | No |
215
+ | `--state <value>` | Body field state [required] | - | No |
216
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
217
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
218
+ | `--json` | Output in JSON format | - | No |
219
+
220
+ #### `providers git reauthorize-connection`
221
+
222
+ Reauthorize connection
223
+
224
+ **Usage:** `providers git reauthorize-connection <connection-id> [options]`
225
+
226
+ **Options:**
227
+
228
+ | Flag | Description | Default | Required |
229
+ |------|-------------|---------|----------|
230
+ | `--json` | Output in JSON format | - | No |
231
+
232
+ #### `providers git create`
233
+
234
+ Create a new git provider configuration
235
+
236
+ **Options:**
237
+
238
+ | Flag | Description | Default | Required |
239
+ |------|-------------|---------|----------|
240
+ | `--config <json>` | Body field config (JSON) [required] | - | No |
241
+ | `--enabled` | Body field enabled | - | No |
242
+ | `--no-enabled` | Set enabled to false | - | No |
243
+ | `--name <value>` | Body field name [required] | - | No |
244
+ | `--provider-type <value>` | Body field provider_type [required] | - | No |
245
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
246
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
247
+ | `--json` | Output in JSON format | - | No |
248
+
249
+ #### `providers git start-github-manifest-flow`
250
+
251
+ Start creating a GitHub App from a manifest
252
+
253
+ **Options:**
254
+
255
+ | Flag | Description | Default | Required |
256
+ |------|-------------|---------|----------|
257
+ | `--json` | Output in JSON format | - | No |
258
+
259
+ #### `providers git create-gitlab-oauth`
260
+
261
+ Create a GitLab OAuth provider
262
+
263
+ **Options:**
264
+
265
+ | Flag | Description | Default | Required |
266
+ |------|-------------|---------|----------|
267
+ | `--base-url <value>` | Body field base_url | - | No |
268
+ | `--client-id <value>` | Body field client_id [required] | - | No |
269
+ | `--client-secret-stdin` | A credential [required] (read from stdin) | - | No |
270
+ | `--client-secret-file <path>` | A credential [required] (read from a file) | - | No |
271
+ | `--name <value>` | Body field name [required] | - | No |
272
+ | `--redirect-uri <value>` | Body field redirect_uri [required] | - | No |
273
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
274
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
275
+ | `--json` | Output in JSON format | - | No |
276
+
277
+ #### `providers git update-credentials`
278
+
279
+ Partially update credentials for an existing git provider
280
+
281
+ **Usage:** `providers git update-credentials <provider-id> [options]`
282
+
283
+ **Options:**
284
+
285
+ | Flag | Description | Default | Required |
286
+ |------|-------------|---------|----------|
287
+ | `--app-id <value>` | Application ID (GitHub App integer as string; GitLab App string) | - | No |
288
+ | `--app-secret-stdin` | A credential (read from stdin) | - | No |
289
+ | `--app-secret-file <path>` | A credential (read from a file) | - | No |
290
+ | `--client-id <value>` | OAuth client ID (GitLab OAuth, GitHub App) | - | No |
291
+ | `--client-secret-stdin` | A credential (read from stdin) | - | No |
292
+ | `--client-secret-file <path>` | A credential (read from a file) | - | No |
293
+ | `--password-stdin` | A credential (read from stdin) | - | No |
294
+ | `--password-file <path>` | A credential (read from a file) | - | No |
295
+ | `--private-key-stdin` | A credential (read from stdin) | - | No |
296
+ | `--private-key-file <path>` | A credential (read from a file) | - | No |
297
+ | `--public-key <value>` | SSH public key (one OpenSSH line) of an SSH-key provider | - | No |
298
+ | `--redirect-uri <value>` | OAuth redirect URI (GitLab OAuth / GitLab App) | - | No |
299
+ | `--token-stdin` | A credential (read from stdin) | - | No |
300
+ | `--token-file <path>` | A credential (read from a file) | - | No |
301
+ | `--username <value>` | Username of a basic-auth provider (generic Git server, Bitbucket app password) | - | No |
302
+ | `--webhook-secret-stdin` | A credential (read from stdin) | - | No |
303
+ | `--webhook-secret-file <path>` | A credential (read from a file) | - | No |
304
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
305
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
306
+ | `--json` | Output in JSON format | - | No |
307
+
308
+ #### `providers git list-repositories-by`
309
+
310
+ List all repositories for a specific provider
311
+
312
+ **Usage:** `providers git list-repositories-by <provider-id> [options]`
313
+
314
+ **Options:**
315
+
316
+ | Flag | Description | Default | Required |
317
+ |------|-------------|---------|----------|
318
+ | `--page <n>` | Page number for pagination | - | No |
319
+ | `--per-page <n>` | Number of items per page (max 100) | - | No |
320
+ | `--sort <value>` | Sort field (name, created_at, updated_at, stars, watchers, size, issues) | - | No |
321
+ | `--direction <value>` | Sort direction (asc, desc) | - | No |
322
+ | `--search <value>` | Search term to filter repositories | - | No |
323
+ | `--owner <value>` | Filter by repository owner | - | No |
324
+ | `--language <value>` | Filter by programming language | - | No |
325
+ | `--private` | Filter by private status (true/false) | - | No |
326
+ | `--no-private` | Set private to false | - | No |
327
+ | `--preset <value>` | Cached default-branch preset slug; __undetected__ means not inspected | - | No |
328
+ | `--updated-after <value>` | Updated on or after this RFC3339 timestamp | - | No |
329
+ | `--json` | Output in JSON format | - | No |
330
+
331
+ #### `providers git get-all-repositories-by-name`
332
+
333
+ Get all repositories with same owner/name from all git providers
334
+
335
+ **Usage:** `providers git get-all-repositories-by-name <owner> <name> [options]`
336
+
337
+ **Options:**
338
+
339
+ | Flag | Description | Default | Required |
340
+ |------|-------------|---------|----------|
341
+ | `--json` | Output in JSON format | - | No |
342
+
343
+ #### `providers git get-repository-preset-by-name`
344
+
345
+ Get repository preset by owner and name
346
+
347
+ **Usage:** `providers git get-repository-preset-by-name <owner> <name> [options]`
348
+
349
+ **Options:**
350
+
351
+ | Flag | Description | Default | Required |
352
+ |------|-------------|---------|----------|
353
+ | `--branch <value>` | Git branch to check (defaults to repository's default branch) | - | No |
354
+ | `--json` | Output in JSON format | - | No |
355
+
356
+ #### `providers git get-repository-compose-services-live`
357
+
358
+ Parse a compose file's services for a connected repository, live
359
+
360
+ **Usage:** `providers git get-repository-compose-services-live <repository-id> [options]`
361
+
362
+ **Options:**
363
+
364
+ | Flag | Description | Default | Required |
365
+ |------|-------------|---------|----------|
366
+ | `--branch <value>` | Git branch to check (defaults to repository's default branch) | - | No |
367
+ | `--path <value>` | Compose file path to fetch and parse [required] | - | No |
368
+ | `--json` | Output in JSON format | - | No |
369
+
370
+ #### `providers git get-repository-compose-preview`
371
+
372
+ Render a redacted effective Compose preview for a connected repository
373
+
374
+ **Usage:** `providers git get-repository-compose-preview <repository-id> [options]`
375
+
376
+ **Options:**
377
+
378
+ | Flag | Description | Default | Required |
379
+ |------|-------------|---------|----------|
380
+ | `--branch <value>` | Body field branch | - | No |
381
+ | `--compose-override <value>` | Body field composeOverride | - | No |
382
+ | `--environment-id <n>` | Environment whose variables resolve '${VAR}'; defaults to the project's production environment | - | No |
383
+ | `--excluded-services <value>` | Body field excludedServices (repeatable) | - | No |
384
+ | `--path <value>` | Body field path [required] | - | No |
385
+ | `--preview-policy <json>` | Advisory preview only (JSON) | - | No |
386
+ | `--project-id <n>` | The project this Compose file deploys | - | No |
387
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
388
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
389
+ | `--json` | Output in JSON format | - | No |
390
+
391
+ #### `providers git get-repository-env-example-live`
392
+
393
+ Detect and parse a '.env.example'-style file for a connected repository
394
+
395
+ **Usage:** `providers git get-repository-env-example-live <repository-id> [options]`
396
+
397
+ **Options:**
398
+
399
+ | Flag | Description | Default | Required |
400
+ |------|-------------|---------|----------|
401
+ | `--branch <value>` | Git branch to check (defaults to repository's default branch) | - | No |
402
+ | `--root-directory <value>` | Project root directory to search (defaults to repository root) | - | No |
403
+ | `--json` | Output in JSON format | - | No |
404
+
405
+ #### `providers git get-repository-by-id`
406
+
407
+ Get repository by ID
408
+
409
+ **Usage:** `providers git get-repository-by-id <repository-id> [options]`
410
+
411
+ **Options:**
412
+
413
+ | Flag | Description | Default | Required |
414
+ |------|-------------|---------|----------|
415
+ | `--json` | Output in JSON format | - | No |
162
416
 
163
417
  ### `providers connections` (alias: `conn`)
164
418
 
@@ -175,6 +429,10 @@ Manage Git provider connections
175
429
  - `sync` - Sync repositories for a Git connection
176
430
  - `update-token` - Update access token for a Git connection
177
431
  - `validate` - Validate a Git connection
432
+ - `run-health-check` - Run an on-demand health check for a git connection
433
+ - `create-repository` - Create an empty repository through one of your git connections
434
+ - `commit-repository-files` - Commit files to a repository through one of your git connections
435
+ - `open-repository-pull-request` - Open a pull request through one of your git connections
178
436
 
179
437
  #### `providers connections list` (alias: `ls`)
180
438
 
@@ -263,7 +521,13 @@ Update access token for a Git connection
263
521
  | Flag | Description | Default | Required |
264
522
  |------|-------------|---------|----------|
265
523
  | `--id <id>` | Connection ID | - | Yes |
266
- | `-t, --token <token>` | New access token | - | Yes |
524
+ | `-t, --token <token>` | New access token (prefer --token-file or --token-stdin, which keep it out of shell history) | - | No |
525
+ | `--refresh-token <token>` | New refresh token, for providers whose access tokens expire (prefer --refresh-token-file or --refresh-token-stdin) | - | No |
526
+ | `--token-file <path>` | Read the new access token from a file (- reads stdin) instead of --token | - | No |
527
+ | `--token-stdin` | Read the new access token from stdin instead of --token | - | No |
528
+ | `--refresh-token-file <path>` | Read the new refresh token from a file (- reads stdin) instead of --refresh-token | - | No |
529
+ | `--refresh-token-stdin` | Read the new refresh token from stdin instead of --refresh-token | - | No |
530
+ | `--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 |
267
531
 
268
532
  #### `providers connections validate`
269
533
 
@@ -275,3 +539,271 @@ Validate a Git connection
275
539
  |------|-------------|---------|----------|
276
540
  | `--id <id>` | Connection ID | - | Yes |
277
541
  | `--json` | Output in JSON format | - | No |
542
+
543
+ #### `providers connections run-health-check`
544
+
545
+ Run an on-demand health check for a git connection
546
+
547
+ **Usage:** `providers connections run-health-check <connection-id> [options]`
548
+
549
+ **Options:**
550
+
551
+ | Flag | Description | Default | Required |
552
+ |------|-------------|---------|----------|
553
+ | `--json` | Output in JSON format | - | No |
554
+
555
+ #### `providers connections create-repository`
556
+
557
+ Create an empty repository through one of your git connections
558
+
559
+ **Usage:** `providers connections create-repository <connection-id> [options]`
560
+
561
+ **Options:**
562
+
563
+ | Flag | Description | Default | Required |
564
+ |------|-------------|---------|----------|
565
+ | `--description <value>` | Short description, up to 350 characters | - | No |
566
+ | `--name <value>` | Repository name: letters, digits, '-', '_' and '.', up to 100 characters [required] | - | No |
567
+ | `--owner <value>` | Account or organization to create it under | - | No |
568
+ | `--private` | Whether the repository is private | - | No |
569
+ | `--no-private` | Set private to false | - | No |
570
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
571
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
572
+ | `--json` | Output in JSON format | - | No |
573
+
574
+ #### `providers connections commit-repository-files`
575
+
576
+ Commit files to a repository through one of your git connections
577
+
578
+ **Usage:** `providers connections commit-repository-files <connection-id> <owner> <repo> [options]`
579
+
580
+ **Options:**
581
+
582
+ | Flag | Description | Default | Required |
583
+ |------|-------------|---------|----------|
584
+ | `--branch <value>` | Branch to commit to | - | No |
585
+ | `--files <json>` | Files to add or overwrite (1-100, at most 5 MiB in total) (JSON) [required] | - | No |
586
+ | `--message <value>` | Commit message (at most 500 bytes) [required] | - | No |
587
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
588
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
589
+ | `--json` | Output in JSON format | - | No |
590
+
591
+ #### `providers connections open-repository-pull-request`
592
+
593
+ Open a pull request through one of your git connections
594
+
595
+ **Usage:** `providers connections open-repository-pull-request <connection-id> <owner> <repo> [options]`
596
+
597
+ **Options:**
598
+
599
+ | Flag | Description | Default | Required |
600
+ |------|-------------|---------|----------|
601
+ | `--base-branch <value>` | Branch to merge into | - | No |
602
+ | `--body-body <value>` | Body field body | - | No |
603
+ | `--head-branch <value>` | Branch holding the changes [required] | - | No |
604
+ | `--title <value>` | Body field title [required] | - | No |
605
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
606
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
607
+ | `--json` | Output in JSON format | - | No |
608
+
609
+ ### `providers public-repos`
610
+
611
+ Public repos commands
612
+
613
+ **Subcommands:**
614
+
615
+ - `get-repository` - Get information about a public repository (supports GitHub and GitLab)
616
+ - `get-branches` - Get branches for a public repository (supports GitHub and GitLab)
617
+ - `get-branch` - Look up one branch of a public repository exactly, even past the branch listing's cap (404 if it does not exist)
618
+ - `get-compose-services` - Parse a compose file's services for a public repository (supports GitHub and GitLab)
619
+ - `get-compose-preview` - Render a redacted effective Compose preview for a public repository
620
+ - `detect-env-example` - Detect and parse a '.env.example'-style file for a public repository (supports GitHub and GitLab)
621
+
622
+ #### `providers public-repos get-repository`
623
+
624
+ Get information about a public repository (supports GitHub and GitLab)
625
+
626
+ **Usage:** `providers public-repos get-repository <provider> <owner> <repo> [options]`
627
+
628
+ **Options:**
629
+
630
+ | Flag | Description | Default | Required |
631
+ |------|-------------|---------|----------|
632
+ | `--base-url <value>` | HTTPS/443 origin of a self-hosted GitLab instance | - | No |
633
+ | `--json` | Output in JSON format | - | No |
634
+
635
+ #### `providers public-repos get-branches`
636
+
637
+ Get branches for a public repository (supports GitHub and GitLab)
638
+
639
+ **Usage:** `providers public-repos get-branches <provider> <owner> <repo> [options]`
640
+
641
+ **Options:**
642
+
643
+ | Flag | Description | Default | Required |
644
+ |------|-------------|---------|----------|
645
+ | `--base-url <value>` | HTTPS/443 origin of a self-hosted GitLab instance | - | No |
646
+ | `--fresh` | Force fetch fresh data, bypassing cache (default: false) | - | No |
647
+ | `--no-fresh` | Set fresh to false | - | No |
648
+ | `--json` | Output in JSON format | - | No |
649
+
650
+ #### `providers public-repos get-branch`
651
+
652
+ Look up one branch of a public repository exactly, even past the branch listing's cap (404 if it does not exist)
653
+
654
+ **Usage:** `providers public-repos get-branch <provider> <owner> <repo> [options]`
655
+
656
+ **Options:**
657
+
658
+ | Flag | Description | Default | Required |
659
+ |------|-------------|---------|----------|
660
+ | `--base-url <value>` | HTTPS/443 origin of a self-hosted GitLab instance | - | No |
661
+ | `--name <value>` | Branch name to look up [required] | - | No |
662
+ | `--json` | Output in JSON format | - | No |
663
+
664
+ #### `providers public-repos get-compose-services`
665
+
666
+ Parse a compose file's services for a public repository (supports GitHub and GitLab)
667
+
668
+ **Usage:** `providers public-repos get-compose-services <provider> <owner> <repo> [options]`
669
+
670
+ **Options:**
671
+
672
+ | Flag | Description | Default | Required |
673
+ |------|-------------|---------|----------|
674
+ | `--base-url <value>` | HTTPS/443 origin of a self-hosted GitLab instance | - | No |
675
+ | `--branch <value>` | Branch to read the compose file from (default: repository's default branch) | - | No |
676
+ | `--path <value>` | Compose file path to fetch and parse (from the 'compose_files' list '/preset' already returned, or a... [required] | - | No |
677
+ | `--json` | Output in JSON format | - | No |
678
+
679
+ #### `providers public-repos get-compose-preview`
680
+
681
+ Render a redacted effective Compose preview for a public repository
682
+
683
+ **Usage:** `providers public-repos get-compose-preview <provider> <owner> <repo> [options]`
684
+
685
+ **Options:**
686
+
687
+ | Flag | Description | Default | Required |
688
+ |------|-------------|---------|----------|
689
+ | `--base-url <value>` | HTTPS/443 origin of a self-hosted GitLab instance | - | No |
690
+ | `--branch <value>` | Body field branch | - | No |
691
+ | `--compose-override <value>` | Body field composeOverride | - | No |
692
+ | `--excluded-services <value>` | Body field excludedServices (repeatable) | - | No |
693
+ | `--path <value>` | Body field path [required] | - | No |
694
+ | `--preview-policy <json>` | Advisory preview only (JSON) | - | No |
695
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
696
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
697
+ | `--json` | Output in JSON format | - | No |
698
+
699
+ #### `providers public-repos detect-env-example`
700
+
701
+ Detect and parse a '.env.example'-style file for a public repository (supports GitHub and GitLab)
702
+
703
+ **Usage:** `providers public-repos detect-env-example <provider> <owner> <repo> [options]`
704
+
705
+ **Options:**
706
+
707
+ | Flag | Description | Default | Required |
708
+ |------|-------------|---------|----------|
709
+ | `--base-url <value>` | HTTPS/443 origin of a self-hosted GitLab instance | - | No |
710
+ | `--branch <value>` | Branch name to inspect (default: repository's default branch) | - | No |
711
+ | `--root-directory <value>` | Project root directory to search (default: repository root) | - | No |
712
+ | `--json` | Output in JSON format | - | No |
713
+
714
+ ### `providers repos`
715
+
716
+ Repos commands
717
+
718
+ **Subcommands:**
719
+
720
+ - `get-repository-branches` - Get repository branches
721
+ - `get-repository-branch` - Look up one branch of a repository exactly, even past the branch listing's cap (404 if it does not exist)
722
+ - `get-repository-tags` - Get repository tags
723
+ - `get-branches-by-repository-id` - Get repository branches by repository ID
724
+ - `check-commit-exists` - Check if a commit exists in a repository
725
+ - `get-tags-by-repository-id` - Get repository tags by repository ID
726
+
727
+ #### `providers repos get-repository-branches`
728
+
729
+ Get repository branches
730
+
731
+ **Usage:** `providers repos get-repository-branches <owner> <repo> [options]`
732
+
733
+ **Options:**
734
+
735
+ | Flag | Description | Default | Required |
736
+ |------|-------------|---------|----------|
737
+ | `--connection-id <n>` | Git provider connection ID (required when multiple connections have the same repo) [required] | - | No |
738
+ | `--fresh` | Force fetch fresh data, bypassing cache (default: false) | - | No |
739
+ | `--no-fresh` | Set fresh to false | - | No |
740
+ | `--json` | Output in JSON format | - | No |
741
+
742
+ #### `providers repos get-repository-branch`
743
+
744
+ Look up one branch of a repository exactly, even past the branch listing's cap (404 if it does not exist)
745
+
746
+ **Usage:** `providers repos get-repository-branch <owner> <repo> [options]`
747
+
748
+ **Options:**
749
+
750
+ | Flag | Description | Default | Required |
751
+ |------|-------------|---------|----------|
752
+ | `--connection-id <n>` | Git provider connection ID [required] | - | No |
753
+ | `--name <value>` | Branch name to look up [required] | - | No |
754
+ | `--json` | Output in JSON format | - | No |
755
+
756
+ #### `providers repos get-repository-tags`
757
+
758
+ Get repository tags
759
+
760
+ **Usage:** `providers repos get-repository-tags <owner> <repo> [options]`
761
+
762
+ **Options:**
763
+
764
+ | Flag | Description | Default | Required |
765
+ |------|-------------|---------|----------|
766
+ | `--connection-id <n>` | Git provider connection ID (required when multiple connections have the same repo) [required] | - | No |
767
+ | `--fresh` | Force fetch fresh data, bypassing cache (default: false) | - | No |
768
+ | `--no-fresh` | Set fresh to false | - | No |
769
+ | `--json` | Output in JSON format | - | No |
770
+
771
+ #### `providers repos get-branches-by-repository-id`
772
+
773
+ Get repository branches by repository ID
774
+
775
+ **Usage:** `providers repos get-branches-by-repository-id <repository-id> [options]`
776
+
777
+ **Options:**
778
+
779
+ | Flag | Description | Default | Required |
780
+ |------|-------------|---------|----------|
781
+ | `--fresh` | Force fetch fresh data, bypassing cache (default: false) | - | No |
782
+ | `--no-fresh` | Set fresh to false | - | No |
783
+ | `--json` | Output in JSON format | - | No |
784
+
785
+ #### `providers repos check-commit-exists`
786
+
787
+ Check if a commit exists in a repository
788
+
789
+ **Usage:** `providers repos check-commit-exists <repository-id> <commit-sha> [options]`
790
+
791
+ **Options:**
792
+
793
+ | Flag | Description | Default | Required |
794
+ |------|-------------|---------|----------|
795
+ | `--json` | Output in JSON format | - | No |
796
+
797
+ #### `providers repos get-tags-by-repository-id`
798
+
799
+ Get repository tags by repository ID
800
+
801
+ **Usage:** `providers repos get-tags-by-repository-id <repository-id> [options]`
802
+
803
+ **Options:**
804
+
805
+ | Flag | Description | Default | Required |
806
+ |------|-------------|---------|----------|
807
+ | `--fresh` | Force fetch fresh data, bypassing cache (default: false) | - | No |
808
+ | `--no-fresh` | Set fresh to false | - | No |
809
+ | `--json` | Output in JSON format | - | No |