@deepraxis/cli 0.2.1-dev.016e776 → 0.2.1-dev.02959a2
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/COMMANDS.md +25 -3
- package/README.md +15 -0
- package/dist/praxis.js +1720 -54
- package/package.json +1 -1
package/COMMANDS.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Generated by `bun run commands`. DO NOT EDIT.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
567 HTTP operations; 569 commands including aliases.
|
|
6
6
|
|
|
7
7
|
Environment: `PRAXIS_ENV=develop|production` (dev package defaults to `develop`; stable package defaults to `production`). No `--env` option.
|
|
8
8
|
|
|
@@ -16,7 +16,7 @@ Other lists use global `--limit` only for client-side display truncation, even i
|
|
|
16
16
|
|
|
17
17
|
Every generated command below is typed after `praxis api` (the `Command` column shows the full path); the word after `api` decides the form: an uppercase HTTP method is a raw request, anything else a generated command path.
|
|
18
18
|
|
|
19
|
-
Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <organization_id>`, `
|
|
19
|
+
Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <organization_id>`, `app create <name> [--dir <path>] [--template <dir>] [--no-install]`, `app deploy [--dir <path>] [--no-build]`, `app rollback [--dir <path>] [--to <version_id>]`, `devops test run --remote [--project <dvp_…>] [--no-wait] [--repeat <n>] [--select <kind:value>]`, `skill [--install <dir>]`, `api <METHOD> <path> [--data …]`.
|
|
20
20
|
|
|
21
21
|
| Command | SDK method | HTTP | Parameter options |
|
|
22
22
|
|---|---|---|---|
|
|
@@ -26,6 +26,7 @@ Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <orga
|
|
|
26
26
|
| `praxis api agent computer connect <computer_id>` | `agent.computers.connect` | POST `/agent/v1/computers/{computer_id}/connect` | `--need` |
|
|
27
27
|
| `praxis api agent computer create` | `agent.computers.create` | POST `/agent/v1/computers` | `--name`, `--environment-id` |
|
|
28
28
|
| `praxis api agent computer delete <computer_id>` | `agent.computers.delete` | DELETE `/agent/v1/computers/{computer_id}` | |
|
|
29
|
+
| `praxis api agent computer file convert create` | `agent.computers.files.convert.create` | POST `/agent/v1/computers/{computer_id}/files/convert` | `--computer`, `--name` |
|
|
29
30
|
| `praxis api agent computer file get-content` | `agent.computers.files.retrieveContent` | GET `/agent/v1/computers/{computer_id}/files/content` | `--computer`, `--path` |
|
|
30
31
|
| `praxis api agent computer file list` | `agent.computers.files.list` | GET `/agent/v1/computers/{computer_id}/files` | `--computer`, `--path` |
|
|
31
32
|
| `praxis api agent computer get <computer_id>` | `agent.computers.retrieve` | GET `/agent/v1/computers/{computer_id}` | |
|
|
@@ -281,7 +282,7 @@ Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <orga
|
|
|
281
282
|
| `praxis api crm schema list` | `crm.schemas.list` | GET `/crm/v1/schemas` | `--archived`, `--include-association-definitions`, `--include-audit-metadata`, `--include-property-definitions` |
|
|
282
283
|
| `praxis api cut export cancel <export_id>` | `cut.exports.cancel` | POST `/cut/v1/exports/{export_id}:cancel` | |
|
|
283
284
|
| `praxis api cut export get <export_id>` | `cut.exports.retrieve` | GET `/cut/v1/exports/{export_id}` | |
|
|
284
|
-
| `praxis api cut project analysis create` | `cut.projects.analysis.create` | POST `/cut/v1/projects/{project_id}/analysis` | `--project`, `--kinds` |
|
|
285
|
+
| `praxis api cut project analysis create` | `cut.projects.analysis.create` | POST `/cut/v1/projects/{project_id}/analysis` | `--project`, `--kinds`, `--from`, `--to`, `--revision`, `--id` |
|
|
285
286
|
| `praxis api cut project binding create` | `cut.projects.bindings.create` | POST `/cut/v1/projects/{project_id}/bindings` | `--project` |
|
|
286
287
|
| `praxis api cut project binding delete <name>` | `cut.projects.bindings.delete` | DELETE `/cut/v1/projects/{project_id}/bindings/{name}` | `--project` |
|
|
287
288
|
| `praxis api cut project binding list` | `cut.projects.bindings.list` | GET `/cut/v1/projects/{project_id}/bindings` | `--project` |
|
|
@@ -296,10 +297,12 @@ Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <orga
|
|
|
296
297
|
| `praxis api cut project get-timeline <project_id>` | `cut.projects.retrieveTimeline` | GET `/cut/v1/projects/{project_id}/timeline` | `--view`, `--from`, `--to`, `--tracks` |
|
|
297
298
|
| `praxis api cut project list` | `cut.projects.list` | GET `/cut/v1/projects` | `--page-size`, `--page-token`, `--filter`, `--order-by` |
|
|
298
299
|
| `praxis api cut project media import <project_id>` | `cut.projects.media.import` | POST `/cut/v1/projects/{project_id}/media:import` | `--binding`, `--display-name` |
|
|
300
|
+
| `praxis api cut project render create` | `cut.projects.renders.create` | POST `/cut/v1/projects/{project_id}/renders` | `--project`, `--kind`, `--from`, `--to`, `--revision` |
|
|
299
301
|
| `praxis api cut project undelete <project_id>` | `cut.projects.undelete` | POST `/cut/v1/projects/{project_id}:undelete` | |
|
|
300
302
|
| `praxis api cut project update <project_id>` | `cut.projects.update` | PATCH `/cut/v1/projects/{project_id}` | `--name`, `--update-mask` |
|
|
301
303
|
| `praxis api cut project version create` | `cut.projects.versions.create` | POST `/cut/v1/projects/{project_id}/versions` | `--project`, `--label` |
|
|
302
304
|
| `praxis api cut project version list` | `cut.projects.versions.list` | GET `/cut/v1/projects/{project_id}/versions` | `--project`, `--page-size`, `--page-token`, `--filter`, `--order-by` |
|
|
305
|
+
| `praxis api cut render get <render_id>` | `cut.renders.retrieve` | GET `/cut/v1/renders/{render_id}` | |
|
|
303
306
|
| `praxis api cut version restore <version_id>` | `cut.versions.restore` | POST `/cut/v1/versions/{version_id}:restore` | |
|
|
304
307
|
| `praxis api database create` | `database.databases.create` | POST `/database/v1/databases` | `--name` |
|
|
305
308
|
| `praxis api database delete <database_id>` | `database.databases.delete` | DELETE `/database/v1/databases/{database_id}` | |
|
|
@@ -322,6 +325,25 @@ Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <orga
|
|
|
322
325
|
| `praxis api database table list` | `database.databases.tables.list` | GET `/database/v1/databases/{database_id}/tables` | `--database` |
|
|
323
326
|
| `praxis api database table update <table>` | `database.databases.tables.update` | PATCH `/database/v1/databases/{database_id}/tables/{table}` | `--database`, `--name`, `--description` |
|
|
324
327
|
| `praxis api database update <database_id>` | `database.databases.update` | PATCH `/database/v1/databases/{database_id}` | `--name` |
|
|
328
|
+
| `praxis api devops project get-test-catalog <project>` | `devops.projects.retrieveTestCatalog` | GET `/devops/v1/projects/{project}/test-catalog` | `--commit` |
|
|
329
|
+
| `praxis api devops project test-case list` | `devops.projects.testCases.list` | GET `/devops/v1/projects/{project}/test-cases` | `--project`, `--page-size`, `--page-token`, `--filter`, `--order-by` |
|
|
330
|
+
| `praxis api devops project test-plan create` | `devops.projects.testPlans.create` | POST `/devops/v1/projects/{project}/test-plans` | `--project`, `--key`, `--title`, `--stage`, `--environment`, `--gate`, `--repeat`, `--timeout-minutes` |
|
|
331
|
+
| `praxis api devops project test-plan list` | `devops.projects.testPlans.list` | GET `/devops/v1/projects/{project}/test-plans` | `--project`, `--page-size`, `--page-token`, `--order-by` |
|
|
332
|
+
| `praxis api devops project test-report create` | `devops.projects.testReports.create` | POST `/devops/v1/projects/{project}/test-reports` | `--project`, `--report-id`, `--param-format`, `--report` |
|
|
333
|
+
| `praxis api devops project test-run create` | `devops.projects.testRuns.create` | POST `/devops/v1/projects/{project}/test-runs` | `--project`, `--plan`, `--environment`, `--repeat`, `--wait-until`, `--executor`, `--request-id` |
|
|
334
|
+
| `praxis api devops project test-run list` | `devops.projects.testRuns.list` | GET `/devops/v1/projects/{project}/test-runs` | `--project`, `--page-size`, `--page-token`, `--filter`, `--order-by` |
|
|
335
|
+
| `praxis api devops project test-suite list` | `devops.projects.testSuites.list` | GET `/devops/v1/projects/{project}/test-suites` | `--project`, `--page-size`, `--page-token`, `--order-by` |
|
|
336
|
+
| `praxis api devops test-case get <id>` | `devops.testCases.retrieve` | GET `/devops/v1/test-cases/{id}` | |
|
|
337
|
+
| `praxis api devops test-plan delete <id>` | `devops.testPlans.delete` | DELETE `/devops/v1/test-plans/{id}` | |
|
|
338
|
+
| `praxis api devops test-plan get <id>` | `devops.testPlans.retrieve` | GET `/devops/v1/test-plans/{id}` | |
|
|
339
|
+
| `praxis api devops test-plan pause <id>` | `devops.testPlans.pause` | POST `/devops/v1/test-plans/{id}:pause` | `--reason`, `--until` |
|
|
340
|
+
| `praxis api devops test-plan resume <id>` | `devops.testPlans.resume` | POST `/devops/v1/test-plans/{id}:resume` | |
|
|
341
|
+
| `praxis api devops test-plan update <id>` | `devops.testPlans.update` | PATCH `/devops/v1/test-plans/{id}` | `--update-mask` |
|
|
342
|
+
| `praxis api devops test-run cancel <id>` | `devops.testRuns.cancel` | POST `/devops/v1/test-runs/{id}:cancel` | `--reason` |
|
|
343
|
+
| `praxis api devops test-run execution get <case>` | `devops.testRuns.executions.retrieve` | GET `/devops/v1/test-runs/{run}/executions/{case}` | `--test-run` |
|
|
344
|
+
| `praxis api devops test-run execution list` | `devops.testRuns.executions.list` | GET `/devops/v1/test-runs/{run}/executions` | `--test-run`, `--page-size`, `--page-token`, `--filter`, `--order-by` |
|
|
345
|
+
| `praxis api devops test-run get <id>` | `devops.testRuns.retrieve` | GET `/devops/v1/test-runs/{id}` | `--expand` |
|
|
346
|
+
| `praxis api devops test-suite get <id>` | `devops.testSuites.retrieve` | GET `/devops/v1/test-suites/{id}` | |
|
|
325
347
|
| `praxis api file content-link revoke <file_id>` | `file.files.contentLinks.revoke` | POST `/file/v1/files/{file_id}/content_links:revoke` | `--token` |
|
|
326
348
|
| `praxis api file content-url create` | `file.files.contentUrl.create` | POST `/file/v1/files/{file_id}/content_url` | `--file`, `--ttl-seconds` |
|
|
327
349
|
| `praxis api file create` | `file.files.create` | POST `/file/v1/files` | `--file`, `--purpose` |
|
package/README.md
CHANGED
|
@@ -40,6 +40,21 @@ praxis app rollback # deploy the previous version again
|
|
|
40
40
|
(created once, kept by every later deploy) and `"healthcheck": "/api/health"` (a failing check fails the deploy).
|
|
41
41
|
In computers and sandboxes the CLI signs in with `PRAXIS_API_TOKEN`; `PRAXIS_API_KEY` takes precedence when both are set.
|
|
42
42
|
|
|
43
|
+
## Run the tests of a DevOps project
|
|
44
|
+
|
|
45
|
+
```sh
|
|
46
|
+
praxis devops test run --remote # project from praxis.jsonc, HEAD from git
|
|
47
|
+
praxis devops test run --remote --select smoke # only cases tagged smoke
|
|
48
|
+
praxis devops test run --remote --no-wait # return as soon as the run exists
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
The command tests the commit HEAD is on and refuses a commit that is on no remote branch (push it first — this command
|
|
52
|
+
never pushes for you); uncommitted changes are only a warning. The project comes from `--project dvp_…` or from
|
|
53
|
+
`"devops": {"project": "dvp_…"}` in `praxis.jsonc`. It runs on the Praxis cloud executor and waits for the verdict,
|
|
54
|
+
polling until the run finishes; `--no-wait` returns while the result is still pending. A failed, errored, cancelled or
|
|
55
|
+
timed-out run exits 1 and lists up to 20 failed cases with the Console URL for the rest, so it is usable as a gate in a
|
|
56
|
+
script or a CI job.
|
|
57
|
+
|
|
43
58
|
## Why Praxis CLI
|
|
44
59
|
|
|
45
60
|
- **One account, every capability.** Chat with models from many providers, start a sandbox,
|