@temps-sdk/cli 0.1.38 → 0.2.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/dist/index.js +63877 -40097
- package/dist/skills/temps/SKILL.md +18 -9
- package/dist/skills/temps/evals/evals.json +23 -6
- package/dist/skills/temps/howtos/agent-handoff.md +106 -0
- package/dist/skills/temps/howtos/ci-automation.md +2 -3
- package/dist/skills/temps/howtos/curated-services.md +69 -0
- package/dist/skills/temps/howtos/deploy-application.md +8 -1
- package/dist/skills/temps/howtos/edge-rules.md +135 -0
- package/dist/skills/temps/howtos/managed-services.md +4 -4
- package/dist/skills/temps/howtos/projects-and-monorepos.md +2 -1
- package/dist/skills/temps/references/cli-runtime.md +10 -18
- package/dist/skills/temps/references/commands/INDEX.md +11 -0
- package/dist/skills/temps/references/commands/access.md +4 -0
- package/dist/skills/temps/references/commands/agents.md +731 -0
- package/dist/skills/temps/references/commands/ai.md +2638 -9
- package/dist/skills/temps/references/commands/alarms.md +129 -0
- package/dist/skills/temps/references/commands/analytics.md +1199 -2
- package/dist/skills/temps/references/commands/apikeys.md +50 -1
- package/dist/skills/temps/references/commands/audit.md +1 -0
- package/dist/skills/temps/references/commands/backups.md +312 -0
- package/dist/skills/temps/references/commands/blob.md +169 -0
- package/dist/skills/temps/references/commands/cloud.md +73 -0
- package/dist/skills/temps/references/commands/cluster.md +223 -0
- package/dist/skills/temps/references/commands/configure.md +7 -0
- package/dist/skills/temps/references/commands/containers.md +45 -0
- package/dist/skills/temps/references/commands/context.md +6 -0
- package/dist/skills/temps/references/commands/custom-domains.md +32 -0
- package/dist/skills/temps/references/commands/data.md +11 -13
- package/dist/skills/temps/references/commands/deploy-image.md +3 -1
- package/dist/skills/temps/references/commands/deploy-local-image.md +3 -0
- package/dist/skills/temps/references/commands/deploy.md +2 -0
- package/dist/skills/temps/references/commands/deployments.md +560 -0
- package/dist/skills/temps/references/commands/dns-provider.md +63 -0
- package/dist/skills/temps/references/commands/domains.md +105 -0
- package/dist/skills/temps/references/commands/drop.md +2 -0
- package/dist/skills/temps/references/commands/edge-rules.md +218 -0
- package/dist/skills/temps/references/commands/email-domains.md +1 -0
- package/dist/skills/temps/references/commands/email-providers.md +64 -1
- package/dist/skills/temps/references/commands/emails.md +91 -0
- package/dist/skills/temps/references/commands/env-pull.md +2 -0
- package/dist/skills/temps/references/commands/env-push.md +2 -0
- package/dist/skills/temps/references/commands/environments.md +695 -2
- package/dist/skills/temps/references/commands/errors.md +1134 -61
- package/dist/skills/temps/references/commands/facets.md +6 -0
- package/dist/skills/temps/references/commands/flags.md +179 -0
- package/dist/skills/temps/references/commands/funnels.md +22 -2
- package/dist/skills/temps/references/commands/incidents.md +22 -0
- package/dist/skills/temps/references/commands/init.md +2 -0
- package/dist/skills/temps/references/commands/instances.md +6 -0
- package/dist/skills/temps/references/commands/instantiations.md +4 -0
- package/dist/skills/temps/references/commands/ip-access.md +96 -1
- package/dist/skills/temps/references/commands/kv.md +184 -0
- package/dist/skills/temps/references/commands/link.md +2 -0
- package/dist/skills/temps/references/commands/load-balancer.md +2 -0
- package/dist/skills/temps/references/commands/login.md +9 -1
- package/dist/skills/temps/references/commands/logs.md +405 -10
- package/dist/skills/temps/references/commands/mcp-servers.md +4 -0
- package/dist/skills/temps/references/commands/mcp.md +8 -1
- package/dist/skills/temps/references/commands/migrate.md +26 -0
- package/dist/skills/temps/references/commands/monitors.md +456 -0
- package/dist/skills/temps/references/commands/network-policy.md +147 -0
- package/dist/skills/temps/references/commands/nodes.md +209 -2
- package/dist/skills/temps/references/commands/notifications.md +173 -2
- package/dist/skills/temps/references/commands/open.md +2 -0
- package/dist/skills/temps/references/commands/otel-forward.md +16 -0
- package/dist/skills/temps/references/commands/otel.md +436 -0
- package/dist/skills/temps/references/commands/platform.md +57 -0
- package/dist/skills/temps/references/commands/plugin.md +106 -1
- package/dist/skills/temps/references/commands/presets.md +2 -0
- package/dist/skills/temps/references/commands/preview-gateway.md +91 -0
- package/dist/skills/temps/references/commands/project-groups.md +72 -4
- package/dist/skills/temps/references/commands/projects.md +509 -4
- package/dist/skills/temps/references/commands/providers.md +533 -1
- package/dist/skills/temps/references/commands/proxy-logs.md +111 -0
- package/dist/skills/temps/references/commands/revenue.md +223 -0
- package/dist/skills/temps/references/commands/rollback.md +2 -0
- package/dist/skills/temps/references/commands/sandbox.md +790 -10
- package/dist/skills/temps/references/commands/secrets.md +19 -6
- package/dist/skills/temps/references/commands/server.md +107 -0
- package/dist/skills/temps/references/commands/services.md +836 -5
- package/dist/skills/temps/references/commands/session-replay.md +8 -0
- package/dist/skills/temps/references/commands/settings.md +346 -0
- package/dist/skills/temps/references/commands/shield.md +354 -0
- package/dist/skills/temps/references/commands/skills.md +6 -0
- package/dist/skills/temps/references/commands/start.md +1 -0
- package/dist/skills/temps/references/commands/status-pages.md +376 -9
- package/dist/skills/temps/references/commands/status.md +2 -0
- package/dist/skills/temps/references/commands/surveys.md +165 -0
- package/dist/skills/temps/references/commands/teams.md +28 -0
- package/dist/skills/temps/references/commands/templates.md +22 -2
- package/dist/skills/temps/references/commands/tokens.md +106 -0
- package/dist/skills/temps/references/commands/traces.md +207 -0
- package/dist/skills/temps/references/commands/traefik-discovery.md +10 -0
- package/dist/skills/temps/references/commands/tunnels.md +141 -0
- package/dist/skills/temps/references/commands/up.md +2 -0
- package/dist/skills/temps/references/commands/users.md +127 -0
- package/dist/skills/temps/references/commands/vault.md +662 -0
- package/dist/skills/temps/references/commands/webhooks.md +10 -0
- package/dist/skills/temps/references/commands/workflow.md +2 -0
- package/dist/skills/temps/references/commands/workflows.md +563 -0
- package/dist/skills/temps/references/observability/analytics.md +2 -2
- package/dist/skills/temps/references/workflows/platform-operations.md +46 -36
- package/dist/skills/temps/scripts/generate_command_references.py +5 -3
- package/dist/skills/temps/scripts/test_generate_command_references.py +3 -1
- package/dist/skills/temps/scripts/test_validate_skill.py +25 -66
- package/dist/skills/temps/scripts/validate_skill.py +29 -43
- package/package.json +9 -3
- package/dist/skills/temps/scripts/__pycache__/generate_command_references.cpython-314.pyc +0 -0
- package/dist/skills/temps/scripts/__pycache__/test_generate_command_references.cpython-314.pyc +0 -0
- package/dist/skills/temps/scripts/__pycache__/test_validate_skill.cpython-314.pyc +0 -0
- package/dist/skills/temps/scripts/__pycache__/validate_skill.cpython-314.pyc +0 -0
|
@@ -10,13 +10,33 @@ Manage platform users
|
|
|
10
10
|
|
|
11
11
|
**Subcommands:**
|
|
12
12
|
|
|
13
|
+
- `get` - Show one platform user
|
|
13
14
|
- `list` (`ls`) - List all users
|
|
14
15
|
- `create` (`add`) - Create a new user
|
|
15
16
|
- `me` - Show current user info
|
|
16
17
|
- `remove` (`rm`) - Remove a user
|
|
17
18
|
- `restore` - Restore a deleted user
|
|
18
19
|
- `reset-password` - Reset another user's password to a generated temporary one. The user is signed out of every browser session and must choose a new password at next sign-in
|
|
20
|
+
- `reset-mfa` - Remove another user's MFA (authenticator and recovery codes) after they lost both. The user is signed out of every session. Password sign-in is blocked when require_mfa_for_admins applies; arrange SSO access or a temporary policy change before resetting MFA. Otherwise, sign in with a password to enroll again
|
|
19
21
|
- `role` - Manage user roles
|
|
22
|
+
- `update-self` - Update current user's information
|
|
23
|
+
- `disable-mfa` - Disable mfa
|
|
24
|
+
- `setup-mfa` - Setup mfa
|
|
25
|
+
- `verify-and-enable-mfa` - Verify and enable mfa
|
|
26
|
+
- `change-password-self` - Change password self
|
|
27
|
+
- `update` - Update user information (admin only)
|
|
28
|
+
|
|
29
|
+
### `users get`
|
|
30
|
+
|
|
31
|
+
Show one platform user
|
|
32
|
+
|
|
33
|
+
**Usage:** `users get <user-id> [options]`
|
|
34
|
+
|
|
35
|
+
**Options:**
|
|
36
|
+
|
|
37
|
+
| Flag | Description | Default | Required |
|
|
38
|
+
|------|-------------|---------|----------|
|
|
39
|
+
| `--json` | Output in JSON format | - | No |
|
|
20
40
|
|
|
21
41
|
### `users list` (alias: `ls`)
|
|
22
42
|
|
|
@@ -40,7 +60,11 @@ Create a new user
|
|
|
40
60
|
| `-e, --email <email>` | Email address | - | No |
|
|
41
61
|
| `-p, --password <password>` | Password (if not provided, invite email will be sent) | - | No |
|
|
42
62
|
| `-r, --roles <roles>` | Comma-separated roles (admin, user) | - | No |
|
|
63
|
+
| `--must-change-password` | Make the user choose a new password at first sign-in | - | No |
|
|
43
64
|
| `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
|
|
65
|
+
| `--password-file <path>` | Read the password from a file (- reads stdin) instead of --password | - | No |
|
|
66
|
+
| `--password-stdin` | Read the password from stdin instead of --password | - | No |
|
|
67
|
+
| `--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 |
|
|
44
68
|
|
|
45
69
|
### `users me`
|
|
46
70
|
|
|
@@ -86,6 +110,18 @@ Reset another user's password to a generated temporary one. The user is signed o
|
|
|
86
110
|
| `--json` | Output in JSON format | - | No |
|
|
87
111
|
| `-y, --yes` | Skip confirmation prompt (for automation) | - | No |
|
|
88
112
|
|
|
113
|
+
### `users reset-mfa`
|
|
114
|
+
|
|
115
|
+
Remove another user's MFA (authenticator and recovery codes) after they lost both. The user is signed out of every session. Password sign-in is blocked when require_mfa_for_admins applies; arrange SSO access or a temporary policy change before resetting MFA. Otherwise, sign in with a password to enroll again
|
|
116
|
+
|
|
117
|
+
**Options:**
|
|
118
|
+
|
|
119
|
+
| Flag | Description | Default | Required |
|
|
120
|
+
|------|-------------|---------|----------|
|
|
121
|
+
| `--id <id>` | User ID | - | Yes |
|
|
122
|
+
| `--json` | Output in JSON format | - | No |
|
|
123
|
+
| `-y, --yes` | Skip confirmation prompt (for automation) | - | No |
|
|
124
|
+
|
|
89
125
|
### `users role`
|
|
90
126
|
|
|
91
127
|
Manage user roles
|
|
@@ -97,3 +133,94 @@ Manage user roles
|
|
|
97
133
|
| `--id <id>` | User ID | - | Yes |
|
|
98
134
|
| `--add <role>` | Add a role to user | - | No |
|
|
99
135
|
| `--remove <role>` | Remove a role from user | - | No |
|
|
136
|
+
|
|
137
|
+
### `users update-self`
|
|
138
|
+
|
|
139
|
+
Update current user's information
|
|
140
|
+
|
|
141
|
+
**Options:**
|
|
142
|
+
|
|
143
|
+
| Flag | Description | Default | Required |
|
|
144
|
+
|------|-------------|---------|----------|
|
|
145
|
+
| `--email <value>` | Body field email | - | No |
|
|
146
|
+
| `--name <value>` | Body field name | - | No |
|
|
147
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
148
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
149
|
+
| `--json` | Output in JSON format | - | No |
|
|
150
|
+
|
|
151
|
+
### `users disable-mfa`
|
|
152
|
+
|
|
153
|
+
Disable mfa
|
|
154
|
+
|
|
155
|
+
**Options:**
|
|
156
|
+
|
|
157
|
+
| Flag | Description | Default | Required |
|
|
158
|
+
|------|-------------|---------|----------|
|
|
159
|
+
| `--code <value>` | Body field code [required] | - | No |
|
|
160
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
161
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
162
|
+
| `-y, --yes` | Do not ask for confirmation | - | No |
|
|
163
|
+
| `--json` | Output in JSON format | - | No |
|
|
164
|
+
|
|
165
|
+
### `users setup-mfa`
|
|
166
|
+
|
|
167
|
+
Setup mfa
|
|
168
|
+
|
|
169
|
+
**Options:**
|
|
170
|
+
|
|
171
|
+
| Flag | Description | Default | Required |
|
|
172
|
+
|------|-------------|---------|----------|
|
|
173
|
+
| `--current-password-stdin` | Required to enroll MFA on an account that has a password set (read from stdin) | - | No |
|
|
174
|
+
| `--current-password-file <path>` | Required to enroll MFA on an account that has a password set (read from a file) | - | No |
|
|
175
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
176
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
177
|
+
| `--json` | Output in JSON format | - | No |
|
|
178
|
+
|
|
179
|
+
### `users verify-and-enable-mfa`
|
|
180
|
+
|
|
181
|
+
Verify and enable mfa
|
|
182
|
+
|
|
183
|
+
**Options:**
|
|
184
|
+
|
|
185
|
+
| Flag | Description | Default | Required |
|
|
186
|
+
|------|-------------|---------|----------|
|
|
187
|
+
| `--code <value>` | Body field code [required] | - | No |
|
|
188
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
189
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
190
|
+
| `--json` | Output in JSON format | - | No |
|
|
191
|
+
|
|
192
|
+
### `users change-password-self`
|
|
193
|
+
|
|
194
|
+
Change password self
|
|
195
|
+
|
|
196
|
+
**Options:**
|
|
197
|
+
|
|
198
|
+
| Flag | Description | Default | Required |
|
|
199
|
+
|------|-------------|---------|----------|
|
|
200
|
+
| `--current-password-stdin` | Body field current_password [required] (read from stdin) | - | No |
|
|
201
|
+
| `--current-password-file <path>` | Body field current_password [required] (read from a file) | - | No |
|
|
202
|
+
| `--mfa-code <value>` | TOTP code (or recovery code) | - | No |
|
|
203
|
+
| `--new-password-stdin` | Body field new_password [required] (read from stdin) | - | No |
|
|
204
|
+
| `--new-password-file <path>` | Body field new_password [required] (read from a file) | - | No |
|
|
205
|
+
| `--revoke-other-sessions` | When true, every session OTHER than the one making this request is revoked | - | No |
|
|
206
|
+
| `--no-revoke-other-sessions` | Set revoke_other_sessions to false | - | No |
|
|
207
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
208
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
209
|
+
| `--json` | Output in JSON format | - | No |
|
|
210
|
+
|
|
211
|
+
### `users update`
|
|
212
|
+
|
|
213
|
+
Update user information (admin only)
|
|
214
|
+
|
|
215
|
+
**Usage:** `users update <user-id> [options]`
|
|
216
|
+
|
|
217
|
+
**Options:**
|
|
218
|
+
|
|
219
|
+
| Flag | Description | Default | Required |
|
|
220
|
+
|------|-------------|---------|----------|
|
|
221
|
+
| `--email <value>` | Body field email | - | No |
|
|
222
|
+
| `--name <value>` | Deprecated: the old name of 'username', still accepted | - | No |
|
|
223
|
+
| `--username <value>` | The new username, as in 'CreateUserRequest' | - | No |
|
|
224
|
+
| `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
|
|
225
|
+
| `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
|
|
226
|
+
| `--json` | Output in JSON format | - | No |
|