@deepraxis/cli 0.1.0-dev.438035e → 0.1.0-dev.6cb2ca2
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 +370 -0
- package/LICENSE +202 -67
- package/README.md +200 -36
- package/dist/praxis.js +104 -1
- package/package.json +22 -13
package/COMMANDS.md
ADDED
|
@@ -0,0 +1,370 @@
|
|
|
1
|
+
# @deepraxis/cli commands
|
|
2
|
+
|
|
3
|
+
Generated by `bun run commands`. DO NOT EDIT.
|
|
4
|
+
|
|
5
|
+
348 HTTP operations; 350 commands including aliases.
|
|
6
|
+
|
|
7
|
+
Environment: `PRAXIS_ENV=develop|production` (dev package defaults to `develop`; stable package defaults to `production`). No `--env` option.
|
|
8
|
+
|
|
9
|
+
Global options: `--org`, `--format human|agent|json`, `--json`, `--yes`, `--no-input`, `--quiet`, `--debug`, `--limit`, `--cursor`, `--all`, `-h` / `--help`, `--version`.
|
|
10
|
+
|
|
11
|
+
Body: `--data '{"name":"example"}'`, `--data @file.json`, or `--data -`. Scalar field options override JSON fields. Object fields use `--data`.
|
|
12
|
+
|
|
13
|
+
Parameter names that collide with globals use `--param-…`; location collisions use `--param-path-…`, `--param-query-…`, or `--param-body-…`. Global `--cursor` maps to a declared cursor query field. Global `--limit` maps to a page-size query field only for SDK-paginated operations; explicit parameter options take precedence.
|
|
14
|
+
|
|
15
|
+
Other lists use global `--limit` only for client-side display truncation, even if the API declares a limit parameter; `--param-limit` still sends that API parameter. JSON stays complete. `--all` and `--limit` cannot be combined.
|
|
16
|
+
|
|
17
|
+
Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <organization_id>`, `api <METHOD> <path> [--data …]`, `skill [--install <dir>]`.
|
|
18
|
+
|
|
19
|
+
| Command | SDK method | HTTP | Parameter options |
|
|
20
|
+
|---|---|---|---|
|
|
21
|
+
| `praxis agent archive <agent_id>` | `agent.agents.archive` | POST `/agent/v1/agents/{agent_id}/archive` | |
|
|
22
|
+
| `praxis agent computer archive <computer_id>` | `agent.computers.archive` | POST `/agent/v1/computers/{computer_id}/archive` | |
|
|
23
|
+
| `praxis agent computer attachment create` | `agent.computers.attachments.create` | POST `/agent/v1/computers/{computer_id}/attachments` | `--computer`, `--name` |
|
|
24
|
+
| `praxis agent computer connect <computer_id>` | `agent.computers.connect` | POST `/agent/v1/computers/{computer_id}/connect` | |
|
|
25
|
+
| `praxis agent computer create` | `agent.computers.create` | POST `/agent/v1/computers` | `--name`, `--environment-id` |
|
|
26
|
+
| `praxis agent computer delete <computer_id>` | `agent.computers.delete` | DELETE `/agent/v1/computers/{computer_id}` | |
|
|
27
|
+
| `praxis agent computer file get-content` | `agent.computers.files.retrieveContent` | GET `/agent/v1/computers/{computer_id}/files/content` | `--computer`, `--path` |
|
|
28
|
+
| `praxis agent computer file list` | `agent.computers.files.list` | GET `/agent/v1/computers/{computer_id}/files` | `--computer`, `--path` |
|
|
29
|
+
| `praxis agent computer get <computer_id>` | `agent.computers.retrieve` | GET `/agent/v1/computers/{computer_id}` | |
|
|
30
|
+
| `praxis agent computer list` | `agent.computers.list` | GET `/agent/v1/computers` | `--param-limit`, `--page` |
|
|
31
|
+
| `praxis agent computer update <computer_id>` | `agent.computers.update` | POST `/agent/v1/computers/{computer_id}` | `--name` |
|
|
32
|
+
| `praxis agent create` | `agent.agents.create` | POST `/agent/v1/agents` | `--name`, `--description`, `--system`, `--kind`, `--computer-id`, `--subagent-model` |
|
|
33
|
+
| `praxis agent deployment archive <deployment_id>` | `agent.deployments.archive` | POST `/agent/v1/deployments/{deployment_id}/archive` | |
|
|
34
|
+
| `praxis agent deployment create` | `agent.deployments.create` | POST `/agent/v1/deployments` | `--environment-id`, `--name`, `--description`, `--vault-ids` |
|
|
35
|
+
| `praxis agent deployment get <deployment_id>` | `agent.deployments.retrieve` | GET `/agent/v1/deployments/{deployment_id}` | |
|
|
36
|
+
| `praxis agent deployment list` | `agent.deployments.list` | GET `/agent/v1/deployments` | `--agent-id`, `--created-at-gte`, `--created-at-lte`, `--include-archived`, `--status`, `--param-limit`, `--page` |
|
|
37
|
+
| `praxis agent deployment pause <deployment_id>` | `agent.deployments.pause` | POST `/agent/v1/deployments/{deployment_id}/pause` | |
|
|
38
|
+
| `praxis agent deployment run <deployment_id>` | `agent.deployments.run.create` | POST `/agent/v1/deployments/{deployment_id}/run` | |
|
|
39
|
+
| `praxis agent deployment unpause <deployment_id>` | `agent.deployments.unpause.create` | POST `/agent/v1/deployments/{deployment_id}/unpause` | |
|
|
40
|
+
| `praxis agent deployment update <deployment_id>` | `agent.deployments.update` | POST `/agent/v1/deployments/{deployment_id}` | `--description`, `--environment-id`, `--name`, `--vault-ids` |
|
|
41
|
+
| `praxis agent deployment-run get <deployment_run_id>` | `agent.deploymentRuns.retrieve` | GET `/agent/v1/deployment_runs/{deployment_run_id}` | |
|
|
42
|
+
| `praxis agent deployment-run list` | `agent.deploymentRuns.list` | GET `/agent/v1/deployment_runs` | `--created-at-gt`, `--created-at-gte`, `--created-at-lt`, `--created-at-lte`, `--deployment-id`, `--has-error`, `--trigger-type`, `--param-limit`, `--page` |
|
|
43
|
+
| `praxis agent embed-token create` | `agent.embedTokens.create` | POST `/agent/v1/embed_tokens` | `--agent`, `--param-version`, `--external-user-id`, `--ttl-seconds`, `--budget-cents`, `--allowed-origins` |
|
|
44
|
+
| `praxis agent embed-token list` | `agent.embedTokens.list` | GET `/agent/v1/embed_tokens` | `--agent-id`, `--external-user-id`, `--param-limit`, `--page` |
|
|
45
|
+
| `praxis agent embed-token revoke create` | `agent.embedTokens.revoke.create` | POST `/agent/v1/embed_tokens/{id}/revoke` | `--embed-token` |
|
|
46
|
+
| `praxis agent environment archive <environment_id>` | `agent.environments.archive` | POST `/agent/v1/environments/{environment_id}/archive` | |
|
|
47
|
+
| `praxis agent environment create` | `agent.environments.create` | POST `/agent/v1/environments` | `--name`, `--description`, `--scope` |
|
|
48
|
+
| `praxis agent environment get <environment_id>` | `agent.environments.retrieve` | GET `/agent/v1/environments/{environment_id}` | |
|
|
49
|
+
| `praxis agent environment list` | `agent.environments.list` | GET `/agent/v1/environments` | `--include-archived`, `--param-limit`, `--page` |
|
|
50
|
+
| `praxis agent environment update <environment_id>` | `agent.environments.update` | POST `/agent/v1/environments/{environment_id}` | `--description`, `--name`, `--scope` |
|
|
51
|
+
| `praxis agent get <agent_id>` | `agent.agents.retrieve` | GET `/agent/v1/agents/{agent_id}` | `--param-version` |
|
|
52
|
+
| `praxis agent list` | `agent.agents.list` | GET `/agent/v1/agents` | `--created-at-gte`, `--created-at-lte`, `--include-archived`, `--param-limit`, `--page`, `--kind` |
|
|
53
|
+
| `praxis agent session archive <session_id>` | `agent.sessions.archive` | POST `/agent/v1/sessions/{session_id}/archive` | |
|
|
54
|
+
| `praxis agent session background-task get-output <task_id>` | `agent.sessions.backgroundTasks.retrieveOutput` | GET `/agent/v1/sessions/{session_id}/background_tasks/{task_id}/output` | `--session`, `--offset`, `--max-bytes` |
|
|
55
|
+
| `praxis agent session background-task list` | `agent.sessions.backgroundTasks.list` | GET `/agent/v1/sessions/{session_id}/background_tasks` | `--session` |
|
|
56
|
+
| `praxis agent session background-task stop <task_id>` | `agent.sessions.backgroundTasks.stop` | POST `/agent/v1/sessions/{session_id}/background_tasks/{task_id}/stop` | `--session` |
|
|
57
|
+
| `praxis agent session compact <session_id>` | `agent.sessions.compact` | POST `/agent/v1/sessions/{session_id}/compact` | `--instructions` |
|
|
58
|
+
| `praxis agent session compaction list` | `agent.sessions.compactions.list` | GET `/agent/v1/sessions/{session_id}/compactions` | `--session` |
|
|
59
|
+
| `praxis agent session create` | `agent.sessions.create` | POST `/agent/v1/sessions` | `--environment-id`, `--title`, `--vault-ids`, `--cwd`, `--computer-id`, `--time-zone`, `--model` |
|
|
60
|
+
| `praxis agent session event list` | `agent.sessions.events.list` | GET `/agent/v1/sessions/{session_id}/events` | `--session`, `--created-at-gt`, `--created-at-gte`, `--created-at-lt`, `--created-at-lte`, `--order`, `--types`, `--param-limit`, `--page` |
|
|
61
|
+
| `praxis agent session event send <session_id>` | `agent.sessions.events.send` | POST `/agent/v1/sessions/{session_id}/events` | |
|
|
62
|
+
| `praxis agent session event stream` | `agent.sessions.events.stream` | GET `/agent/v1/sessions/{session_id}/events/stream` | `--session`, `--event-deltas` |
|
|
63
|
+
| `praxis agent session fork <session_id>` | `agent.sessions.fork` | POST `/agent/v1/sessions/{session_id}/fork` | `--message-id` |
|
|
64
|
+
| `praxis agent session get <session_id>` | `agent.sessions.retrieve` | GET `/agent/v1/sessions/{session_id}` | |
|
|
65
|
+
| `praxis agent session get-compact <operation_id>` | `agent.sessions.retrieveCompact` | GET `/agent/v1/sessions/{session_id}/compact/{operation_id}` | `--session` |
|
|
66
|
+
| `praxis agent session get-context <session_id>` | `agent.sessions.retrieveContext` | GET `/agent/v1/sessions/{session_id}/context` | |
|
|
67
|
+
| `praxis agent session list` | `agent.sessions.list` | GET `/agent/v1/sessions` | `--agent-id`, `--agent-version`, `--created-at-gt`, `--created-at-gte`, `--created-at-lt`, `--created-at-lte`, `--deployment-id`, `--include-archived`, `--memory-store-id`, `--order`, `--statuses`, `--param-limit`, `--page` |
|
|
68
|
+
| `praxis agent session resource create` | `agent.sessions.resources.create` | POST `/agent/v1/sessions/{session_id}/resources` | `--session`, `--type`, `--file-id`, `--mount-path` |
|
|
69
|
+
| `praxis agent session resource delete <resource_id>` | `agent.sessions.resources.delete` | DELETE `/agent/v1/sessions/{session_id}/resources/{resource_id}` | `--session`, `--query-session-id` |
|
|
70
|
+
| `praxis agent session resource get <resource_id>` | `agent.sessions.resources.retrieve` | GET `/agent/v1/sessions/{session_id}/resources/{resource_id}` | `--session`, `--query-session-id` |
|
|
71
|
+
| `praxis agent session resource list` | `agent.sessions.resources.list` | GET `/agent/v1/sessions/{session_id}/resources` | `--session`, `--param-limit`, `--page` |
|
|
72
|
+
| `praxis agent session run delete-feedback <run_id>` | `agent.sessions.runs.deleteFeedback` | DELETE `/agent/v1/sessions/{session_id}/runs/{run_id}/feedback` | `--session` |
|
|
73
|
+
| `praxis agent session run feedback create` | `agent.sessions.runs.feedback.create` | POST `/agent/v1/sessions/{session_id}/runs/{run_id}/feedback` | `--session`, `--run`, `--rating`, `--comment` |
|
|
74
|
+
| `praxis agent session thread archive <thread_id>` | `agent.sessions.threads.archive` | POST `/agent/v1/sessions/{session_id}/threads/{thread_id}/archive` | `--session`, `--query-session-id` |
|
|
75
|
+
| `praxis agent session thread event list` | `agent.sessions.threads.events.list` | GET `/agent/v1/sessions/{session_id}/threads/{thread_id}/events` | `--session`, `--thread`, `--query-session-id`, `--param-limit`, `--page` |
|
|
76
|
+
| `praxis agent session thread get <thread_id>` | `agent.sessions.threads.retrieve` | GET `/agent/v1/sessions/{session_id}/threads/{thread_id}` | `--session`, `--query-session-id` |
|
|
77
|
+
| `praxis agent session thread list` | `agent.sessions.threads.list` | GET `/agent/v1/sessions/{session_id}/threads` | `--session`, `--param-limit`, `--page` |
|
|
78
|
+
| `praxis agent session thread stream <thread_id>` | `agent.sessions.threads.stream` | GET `/agent/v1/sessions/{session_id}/threads/{thread_id}/stream` | `--session`, `--query-session-id`, `--event-deltas` |
|
|
79
|
+
| `praxis agent session update <session_id>` | `agent.sessions.update` | POST `/agent/v1/sessions/{session_id}` | `--title`, `--vault-ids`, `--model` |
|
|
80
|
+
| `praxis agent toolset list` | `agent.toolsets.list` | GET `/agent/v1/toolsets` | |
|
|
81
|
+
| `praxis agent update <agent_id>` | `agent.agents.update` | POST `/agent/v1/agents/{agent_id}` | `--description`, `--name`, `--system`, `--param-version`, `--kind`, `--computer-id`, `--subagent-model` |
|
|
82
|
+
| `praxis agent version list` | `agent.agents.versions.list` | GET `/agent/v1/agents/{agent_id}/versions` | `--agent`, `--param-limit`, `--page` |
|
|
83
|
+
| `praxis application asset upload` | `application.assets.upload.create` | POST `/application/v1/assets/upload` | `--jwt` |
|
|
84
|
+
| `praxis application subdomain get` | `application.subdomain.retrieve` | GET `/application/v1/subdomain` | |
|
|
85
|
+
| `praxis application subdomain update` | `application.subdomain.update` | PUT `/application/v1/subdomain` | `--subdomain` |
|
|
86
|
+
| `praxis application worker assets-upload-session create` | `application.workers.assetsUploadSession.create` | POST `/application/v1/workers/{worker_id}/assets-upload-session` | `--worker` |
|
|
87
|
+
| `praxis application worker component list` | `application.workers.components.list` | GET `/application/v1/workers/{worker_id}/components` | `--worker` |
|
|
88
|
+
| `praxis application worker create` | `application.workers.create` | POST `/application/v1/workers` | `--name`, `--tags` |
|
|
89
|
+
| `praxis application worker delete <worker_id>` | `application.workers.delete` | DELETE `/application/v1/workers/{worker_id}` | |
|
|
90
|
+
| `praxis application worker deployment create` | `application.workers.deployments.create` | POST `/application/v1/workers/{worker_id}/deployments` | `--worker`, `--strategy`, `--force` |
|
|
91
|
+
| `praxis application worker deployment get <deployment_id>` | `application.workers.deployments.retrieve` | GET `/application/v1/workers/{worker_id}/deployments/{deployment_id}` | `--worker` |
|
|
92
|
+
| `praxis application worker deployment list` | `application.workers.deployments.list` | GET `/application/v1/workers/{worker_id}/deployments` | `--worker`, `--param-cursor`, `--param-limit` |
|
|
93
|
+
| `praxis application worker event list` | `application.workers.events.list` | GET `/application/v1/workers/{worker_id}/events` | `--worker`, `--after-seq`, `--param-limit` |
|
|
94
|
+
| `praxis application worker get <worker_id>` | `application.workers.retrieve` | GET `/application/v1/workers/{worker_id}` | `--expand` |
|
|
95
|
+
| `praxis application worker grant create` | `application.workers.grants.create` | POST `/application/v1/workers/{worker_id}/grants` | `--worker`, `--access` |
|
|
96
|
+
| `praxis application worker grant delete <grant_id>` | `application.workers.grants.delete` | DELETE `/application/v1/workers/{worker_id}/grants/{grant_id}` | `--worker` |
|
|
97
|
+
| `praxis application worker grant list` | `application.workers.grants.list` | GET `/application/v1/workers/{worker_id}/grants` | `--worker` |
|
|
98
|
+
| `praxis application worker list` | `application.workers.list` | GET `/application/v1/workers` | `--param-cursor`, `--param-limit`, `--status` |
|
|
99
|
+
| `praxis application worker restore <worker_id>` | `application.workers.restore` | POST `/application/v1/workers/{worker_id}/restore` | |
|
|
100
|
+
| `praxis application worker secret delete <name>` | `application.workers.secrets.delete` | DELETE `/application/v1/workers/{worker_id}/secrets/{name}` | `--worker` |
|
|
101
|
+
| `praxis application worker secret list` | `application.workers.secrets.list` | GET `/application/v1/workers/{worker_id}/secrets` | `--worker` |
|
|
102
|
+
| `praxis application worker secret update <name>` | `application.workers.secrets.update` | PUT `/application/v1/workers/{worker_id}/secrets/{name}` | `--worker` |
|
|
103
|
+
| `praxis application worker update <worker_id>` | `application.workers.update` | PATCH `/application/v1/workers/{worker_id}` | `--name`, `--tags` |
|
|
104
|
+
| `praxis application worker version create` | `application.workers.versions.create` | POST `/application/v1/workers/{worker_id}/versions` | `--worker`, `--deploy`, `--main-module`, `--compatibility-date`, `--compatibility-flags` |
|
|
105
|
+
| `praxis application worker version get <version_id>` | `application.workers.versions.retrieve` | GET `/application/v1/workers/{worker_id}/versions/{version_id}` | `--worker` |
|
|
106
|
+
| `praxis application worker version list` | `application.workers.versions.list` | GET `/application/v1/workers/{worker_id}/versions` | `--worker`, `--param-cursor`, `--param-limit` |
|
|
107
|
+
| `praxis automation action archive <name>` | `automation.actions.archive` | POST `/automation/v1/actions/{ns}/{name}/archive` | `--action` |
|
|
108
|
+
| `praxis automation action create` | `automation.actions.create` | POST `/automation/v1/actions` | `--namespace`, `--name`, `--description`, `--timeout-ms`, `--message` |
|
|
109
|
+
| `praxis automation action dependent list` | `automation.actions.dependents.list` | GET `/automation/v1/actions/{ns}/{name}/dependents` | `--action`, `--name`, `--param-limit`, `--param-cursor` |
|
|
110
|
+
| `praxis automation action get <name>` | `automation.actions.retrieve` | GET `/automation/v1/actions/{ns}/{name}` | `--action` |
|
|
111
|
+
| `praxis automation action invocation list` | `automation.actions.invocations.list` | GET `/automation/v1/actions/{ns}/{name}/invocations` | `--action`, `--name`, `--param-limit`, `--param-cursor`, `--status`, `--revision`, `--caller`, `--run-kind`, `--created-at-gte` |
|
|
112
|
+
| `praxis automation action list` | `automation.actions.list` | GET `/automation/v1/actions` | `--param-limit`, `--param-cursor`, `--q`, `--namespace`, `--scope`, `--archived`, `--implementation`, `--created-at-gte`, `--created-at-lte` |
|
|
113
|
+
| `praxis automation action restore <name>` | `automation.actions.restore` | POST `/automation/v1/actions/{ns}/{name}/restore` | `--action` |
|
|
114
|
+
| `praxis automation action revision get <revision>` | `automation.actions.revisions.retrieve` | GET `/automation/v1/actions/{ns}/{name}/revisions/{revision}` | `--action`, `--name` |
|
|
115
|
+
| `praxis automation action revision list` | `automation.actions.revisions.list` | GET `/automation/v1/actions/{ns}/{name}/revisions` | `--action`, `--name`, `--param-limit`, `--param-cursor`, `--expand` |
|
|
116
|
+
| `praxis automation action rollback <name>` | `automation.actions.rollback` | POST `/automation/v1/actions/{ns}/{name}/rollback` | `--action`, `--revision`, `--message` |
|
|
117
|
+
| `praxis automation action update <name>` | `automation.actions.update` | PUT `/automation/v1/actions/{ns}/{name}` | `--action`, `--dry-run`, `--description`, `--timeout-ms`, `--message` |
|
|
118
|
+
| `praxis automation hook send <token>` | `automation.hooks.send` | POST `/automation/v1/hooks/{trigger_id}/{token}` | `--hook` |
|
|
119
|
+
| `praxis automation resolve get` | `automation.resolve.retrieve` | GET `/automation/v1/resolve` | `--target` |
|
|
120
|
+
| `praxis automation run artifact list` | `automation.runs.artifacts.list` | GET `/automation/v1/runs/{id}/artifacts` | `--run`, `--param-limit`, `--param-cursor` |
|
|
121
|
+
| `praxis automation run call list` | `automation.runs.calls.list` | GET `/automation/v1/runs/{id}/calls` | `--run`, `--param-limit`, `--param-cursor` |
|
|
122
|
+
| `praxis automation run cancel <id>` | `automation.runs.cancel` | POST `/automation/v1/runs/{id}/cancel` | `--reason` |
|
|
123
|
+
| `praxis automation run create` | `automation.runs.create` | POST `/automation/v1/runs` | |
|
|
124
|
+
| `praxis automation run events <id>` | `automation.runs.events` | GET `/automation/v1/runs/{id}/events` | `--param-limit`, `--param-cursor` |
|
|
125
|
+
| `praxis automation run get <id>` | `automation.runs.retrieve` | GET `/automation/v1/runs/{id}` | `--expand`, `--wait` |
|
|
126
|
+
| `praxis automation run get-source <id>` | `automation.runs.retrieveSource` | GET `/automation/v1/runs/{id}/source` | |
|
|
127
|
+
| `praxis automation run list` | `automation.runs.list` | GET `/automation/v1/runs` | `--param-limit`, `--param-cursor`, `--kind`, `--definition`, `--param-version`, `--status`, `--channel`, `--initiator-type`, `--initiator`, `--adhoc`, `--language`, `--parent-run-id`, `--root-run-id`, `--q`, `--created-at-gte`, `--created-at-lte` |
|
|
128
|
+
| `praxis automation run logs <id>` | `automation.runs.logs` | GET `/automation/v1/runs/{id}/logs` | `--param-limit`, `--param-cursor` |
|
|
129
|
+
| `praxis automation run rerun <id>` | `automation.runs.rerun` | POST `/automation/v1/runs/{id}/rerun` | |
|
|
130
|
+
| `praxis automation run resume <id>` | `automation.runs.resume` | POST `/automation/v1/runs/{id}/resume` | |
|
|
131
|
+
| `praxis automation run suspend <id>` | `automation.runs.suspend` | POST `/automation/v1/runs/{id}/suspend` | |
|
|
132
|
+
| `praxis automation run task list` | `automation.runs.tasks.list` | GET `/automation/v1/runs/{id}/tasks` | `--run`, `--param-limit`, `--param-cursor`, `--include`, `--group-by` |
|
|
133
|
+
| `praxis automation run wait complete <wait_id>` | `automation.runs.waits.complete` | POST `/automation/v1/runs/{id}/waits/{wait_id}/complete` | `--run`, `--id` |
|
|
134
|
+
| `praxis automation run wait list` | `automation.runs.waits.list` | GET `/automation/v1/runs/{id}/waits` | `--run`, `--param-limit`, `--param-cursor` |
|
|
135
|
+
| `praxis automation script archive <name>` | `automation.scripts.archive` | POST `/automation/v1/scripts/{ns}/{name}/archive` | `--script` |
|
|
136
|
+
| `praxis automation script create` | `automation.scripts.create` | POST `/automation/v1/scripts` | `--namespace`, `--name`, `--description`, `--draft` |
|
|
137
|
+
| `praxis automation script dist-tag delete <tag>` | `automation.scripts.distTags.delete` | DELETE `/automation/v1/scripts/{ns}/{name}/dist-tags/{tag}` | `--script`, `--name` |
|
|
138
|
+
| `praxis automation script dist-tag list` | `automation.scripts.distTags.list` | GET `/automation/v1/scripts/{ns}/{name}/dist-tags` | `--script`, `--name` |
|
|
139
|
+
| `praxis automation script dist-tag set <tag>` | `automation.scripts.distTags.set` | PUT `/automation/v1/scripts/{ns}/{name}/dist-tags/{tag}` | `--script`, `--name`, `--param-version` |
|
|
140
|
+
| `praxis automation script get <name>` | `automation.scripts.retrieve` | GET `/automation/v1/scripts/{ns}/{name}` | `--script` |
|
|
141
|
+
| `praxis automation script list` | `automation.scripts.list` | GET `/automation/v1/scripts` | `--param-limit`, `--param-cursor`, `--q`, `--namespace`, `--scope`, `--archived`, `--created-at-gte`, `--created-at-lte` |
|
|
142
|
+
| `praxis automation script restore <name>` | `automation.scripts.restore` | POST `/automation/v1/scripts/{ns}/{name}/restore` | `--script` |
|
|
143
|
+
| `praxis automation script update <name>` | `automation.scripts.update` | PATCH `/automation/v1/scripts/{ns}/{name}` | `--script`, `--description`, `--draft` |
|
|
144
|
+
| `praxis automation script version create` | `automation.scripts.versions.create` | POST `/automation/v1/scripts/{ns}/{name}/versions` | `--script`, `--name` |
|
|
145
|
+
| `praxis automation script version deprecate <version>` | `automation.scripts.versions.deprecate` | POST `/automation/v1/scripts/{ns}/{name}/versions/{version}/deprecate` | `--script`, `--name`, `--message` |
|
|
146
|
+
| `praxis automation script version get <version>` | `automation.scripts.versions.retrieve` | GET `/automation/v1/scripts/{ns}/{name}/versions/{version}` | `--script`, `--name` |
|
|
147
|
+
| `praxis automation script version list` | `automation.scripts.versions.list` | GET `/automation/v1/scripts/{ns}/{name}/versions` | `--script`, `--name`, `--param-limit`, `--param-cursor`, `--expand` |
|
|
148
|
+
| `praxis automation script version publish` | `automation.scripts.versions.publish` | POST `/automation/v1/scripts/{ns}/{name}/versions` | `--script`, `--name` |
|
|
149
|
+
| `praxis automation target list` | `automation.targets.list` | GET `/automation/v1/targets` | `--q`, `--kind`, `--param-limit`, `--created-at-gte`, `--created-at-lte`, `--param-cursor`, `--archived`, `--published` |
|
|
150
|
+
| `praxis automation trigger create` | `automation.triggers.create` | POST `/automation/v1/triggers` | `--name`, `--description`, `--target`, `--kind`, `--timezone`, `--start-at`, `--end-at`, `--overlap`, `--catchup-window-seconds` |
|
|
151
|
+
| `praxis automation trigger delete <id>` | `automation.triggers.delete` | DELETE `/automation/v1/triggers/{id}` | |
|
|
152
|
+
| `praxis automation trigger fire <id>` | `automation.triggers.fire` | POST `/automation/v1/triggers/{id}/fire` | |
|
|
153
|
+
| `praxis automation trigger firing list` | `automation.triggers.firings.list` | GET `/automation/v1/triggers/{id}/firings` | `--trigger`, `--param-limit`, `--param-cursor`, `--outcome`, `--run-id` |
|
|
154
|
+
| `praxis automation trigger get <id>` | `automation.triggers.retrieve` | GET `/automation/v1/triggers/{id}` | |
|
|
155
|
+
| `praxis automation trigger list` | `automation.triggers.list` | GET `/automation/v1/triggers` | `--param-limit`, `--param-cursor`, `--target`, `--kind`, `--state`, `--created-at-gte`, `--created-at-lte` |
|
|
156
|
+
| `praxis automation trigger pause <id>` | `automation.triggers.pause` | POST `/automation/v1/triggers/{id}/pause` | |
|
|
157
|
+
| `praxis automation trigger preview` | `automation.triggers.preview` | POST `/automation/v1/triggers/preview` | `--timezone` |
|
|
158
|
+
| `praxis automation trigger resume <id>` | `automation.triggers.resume` | POST `/automation/v1/triggers/{id}/resume` | |
|
|
159
|
+
| `praxis automation trigger rotate-webhook <id>` | `automation.triggers.rotateWebhook` | POST `/automation/v1/triggers/{id}/rotate-webhook` | |
|
|
160
|
+
| `praxis automation trigger update <id>` | `automation.triggers.update` | PATCH `/automation/v1/triggers/{id}` | `--name`, `--description`, `--target`, `--kind`, `--timezone`, `--start-at`, `--end-at`, `--overlap`, `--catchup-window-seconds` |
|
|
161
|
+
| `praxis automation validate` | `automation.validate.create` | POST `/automation/v1/validate` | `--kind`, `--source` |
|
|
162
|
+
| `praxis automation workflow archive <name>` | `automation.workflows.archive` | POST `/automation/v1/workflows/{ns}/{name}/archive` | `--workflow` |
|
|
163
|
+
| `praxis automation workflow create` | `automation.workflows.create` | POST `/automation/v1/workflows` | `--namespace`, `--name`, `--description`, `--draft` |
|
|
164
|
+
| `praxis automation workflow dist-tag delete <tag>` | `automation.workflows.distTags.delete` | DELETE `/automation/v1/workflows/{ns}/{name}/dist-tags/{tag}` | `--workflow`, `--name` |
|
|
165
|
+
| `praxis automation workflow dist-tag list` | `automation.workflows.distTags.list` | GET `/automation/v1/workflows/{ns}/{name}/dist-tags` | `--workflow`, `--name` |
|
|
166
|
+
| `praxis automation workflow dist-tag set <tag>` | `automation.workflows.distTags.set` | PUT `/automation/v1/workflows/{ns}/{name}/dist-tags/{tag}` | `--workflow`, `--name`, `--param-version` |
|
|
167
|
+
| `praxis automation workflow get <name>` | `automation.workflows.retrieve` | GET `/automation/v1/workflows/{ns}/{name}` | `--workflow` |
|
|
168
|
+
| `praxis automation workflow list` | `automation.workflows.list` | GET `/automation/v1/workflows` | `--param-limit`, `--param-cursor`, `--q`, `--namespace`, `--scope`, `--archived`, `--created-at-gte`, `--created-at-lte` |
|
|
169
|
+
| `praxis automation workflow restore <name>` | `automation.workflows.restore` | POST `/automation/v1/workflows/{ns}/{name}/restore` | `--workflow` |
|
|
170
|
+
| `praxis automation workflow update <name>` | `automation.workflows.update` | PATCH `/automation/v1/workflows/{ns}/{name}` | `--workflow`, `--description`, `--draft` |
|
|
171
|
+
| `praxis automation workflow version create` | `automation.workflows.versions.create` | POST `/automation/v1/workflows/{ns}/{name}/versions` | `--workflow`, `--name` |
|
|
172
|
+
| `praxis automation workflow version deprecate <version>` | `automation.workflows.versions.deprecate` | POST `/automation/v1/workflows/{ns}/{name}/versions/{version}/deprecate` | `--workflow`, `--name`, `--message` |
|
|
173
|
+
| `praxis automation workflow version get <version>` | `automation.workflows.versions.retrieve` | GET `/automation/v1/workflows/{ns}/{name}/versions/{version}` | `--workflow`, `--name` |
|
|
174
|
+
| `praxis automation workflow version list` | `automation.workflows.versions.list` | GET `/automation/v1/workflows/{ns}/{name}/versions` | `--workflow`, `--name`, `--param-limit`, `--param-cursor`, `--expand` |
|
|
175
|
+
| `praxis automation workflow version publish` | `automation.workflows.versions.publish` | POST `/automation/v1/workflows/{ns}/{name}/versions` | `--workflow`, `--name` |
|
|
176
|
+
| `praxis browser connect get` | `browser.connect.retrieve` | GET `/browser/v1/connect` | `--session`, `--name`, `--signing-key`, `--context`, `--persist`, `--timeout`, `--idle`, `--labels`, `--viewport` |
|
|
177
|
+
| `praxis browser context create` | `browser.contexts.create` | POST `/browser/v1/contexts` | `--project-id` |
|
|
178
|
+
| `praxis browser context delete <contextId>` | `browser.contexts.delete` | DELETE `/browser/v1/contexts/{contextId}` | |
|
|
179
|
+
| `praxis browser context get <contextId>` | `browser.contexts.retrieve` | GET `/browser/v1/contexts/{contextId}` | |
|
|
180
|
+
| `praxis browser context list` | `browser.contexts.list` | GET `/browser/v1/contexts` | `--param-cursor`, `--param-limit` |
|
|
181
|
+
| `praxis browser context update <contextId>` | `browser.contexts.update` | PUT `/browser/v1/contexts/{contextId}` | |
|
|
182
|
+
| `praxis browser live get <pageId>` | `browser.live.retrieve` | GET `/browser/v1/live/{sessionId}/{pageId}` | `--live`, `--t` |
|
|
183
|
+
| `praxis browser selenium-unsupported get` | `browser.seleniumUnsupported.retrieve` | GET `/browser/v1/selenium-unsupported` | |
|
|
184
|
+
| `praxis browser session create` | `browser.sessions.create` | POST `/browser/v1/sessions` | `--project-id`, `--keep-alive`, `--timeout`, `--region`, `--extension-id`, `--name` |
|
|
185
|
+
| `praxis browser session event list` | `browser.sessions.events.list` | GET `/browser/v1/sessions/{sessionId}/events` | `--session`, `--param-cursor`, `--param-limit`, `--types` |
|
|
186
|
+
| `praxis browser session get <sessionId>` | `browser.sessions.retrieve` | GET `/browser/v1/sessions/{sessionId}` | `--expand` |
|
|
187
|
+
| `praxis browser session get-debug <sessionId>` | `browser.sessions.retrieveDebug` | GET `/browser/v1/sessions/{sessionId}/debug` | |
|
|
188
|
+
| `praxis browser session handoff complete` | `browser.sessions.handoff.complete` | POST `/browser/v1/sessions/{sessionId}/handoff/complete` | `--session` |
|
|
189
|
+
| `praxis browser session handoff create` | `browser.sessions.handoff.create` | POST `/browser/v1/sessions/{sessionId}/handoff` | `--session`, `--message`, `--timeout-ms` |
|
|
190
|
+
| `praxis browser session list` | `browser.sessions.list` | GET `/browser/v1/sessions` | `--status`, `--name`, `--labels`, `--param-cursor`, `--param-limit` |
|
|
191
|
+
| `praxis browser session stream <sessionId>` | `browser.sessions.stream` | GET `/browser/v1/sessions/{sessionId}/stream` | |
|
|
192
|
+
| `praxis browser session update <sessionId>` | `browser.sessions.update` | POST `/browser/v1/sessions/{sessionId}` | `--status` |
|
|
193
|
+
| `praxis browser session viewer create` | `browser.sessions.viewer.create` | POST `/browser/v1/sessions/{sessionId}/viewer` | `--session`, `--viewer-id` |
|
|
194
|
+
| `praxis database create` | `database.databases.create` | POST `/database/v1/databases` | `--name` |
|
|
195
|
+
| `praxis database delete <database_id>` | `database.databases.delete` | DELETE `/database/v1/databases/{database_id}` | |
|
|
196
|
+
| `praxis database event list` | `database.databases.events.list` | GET `/database/v1/databases/{database_id}/events` | `--database`, `--after-seq`, `--param-limit`, `--order`, `--before-seq` |
|
|
197
|
+
| `praxis database get <database_id>` | `database.databases.retrieve` | GET `/database/v1/databases/{database_id}` | |
|
|
198
|
+
| `praxis database list` | `database.databases.list` | GET `/database/v1/databases` | `--param-cursor`, `--param-limit`, `--status` |
|
|
199
|
+
| `praxis database purge <database_id>` | `database.databases.purge.create` | POST `/database/v1/databases/{database_id}/purge` | |
|
|
200
|
+
| `praxis database rest create <table>` | `database.databases.rest.create` | POST `/database/v1/databases/{database_id}/rest/{table}` | `--database`, `--select`, `--{column}`, `--and`, `--or`, `--not.and`, `--not.or`, `--order`, `--param-limit`, `--offset`, `--on-conflict`, `--columns` |
|
|
201
|
+
| `praxis database rest delete <table>` | `database.databases.rest.delete` | DELETE `/database/v1/databases/{database_id}/rest/{table}` | `--database`, `--select`, `--{column}`, `--and`, `--or`, `--not.and`, `--not.or`, `--order`, `--param-limit`, `--offset`, `--on-conflict`, `--columns` |
|
|
202
|
+
| `praxis database rest get <table>` | `database.databases.rest.retrieve` | GET `/database/v1/databases/{database_id}/rest/{table}` | `--database`, `--select`, `--{column}`, `--and`, `--or`, `--not.and`, `--not.or`, `--order`, `--param-limit`, `--offset`, `--on-conflict`, `--columns` |
|
|
203
|
+
| `praxis database rest head <table>` | `database.databases.rest.head` | HEAD `/database/v1/databases/{database_id}/rest/{table}` | `--database`, `--select`, `--{column}`, `--and`, `--or`, `--not.and`, `--not.or`, `--order`, `--param-limit`, `--offset`, `--on-conflict`, `--columns` |
|
|
204
|
+
| `praxis database rest update <table>` | `database.databases.rest.update` | PATCH `/database/v1/databases/{database_id}/rest/{table}` | `--database`, `--select`, `--{column}`, `--and`, `--or`, `--not.and`, `--not.or`, `--order`, `--param-limit`, `--offset`, `--on-conflict`, `--columns` |
|
|
205
|
+
| `praxis database restore <database_id>` | `database.databases.restore` | POST `/database/v1/databases/{database_id}/restore` | |
|
|
206
|
+
| `praxis database table create` | `database.databases.tables.create` | POST `/database/v1/databases/{database_id}/tables` | `--database`, `--name`, `--description` |
|
|
207
|
+
| `praxis database table delete <table>` | `database.databases.tables.delete` | DELETE `/database/v1/databases/{database_id}/tables/{table}` | `--database` |
|
|
208
|
+
| `praxis database table field create` | `database.databases.tables.fields.create` | POST `/database/v1/databases/{database_id}/tables/{table}/fields` | `--database`, `--table` |
|
|
209
|
+
| `praxis database table field delete <field>` | `database.databases.tables.fields.delete` | DELETE `/database/v1/databases/{database_id}/tables/{table}/fields/{field}` | `--database`, `--table` |
|
|
210
|
+
| `praxis database table field update <field>` | `database.databases.tables.fields.update` | PATCH `/database/v1/databases/{database_id}/tables/{table}/fields/{field}` | `--database`, `--table`, `--name`, `--description`, `--required`, `--indexed` |
|
|
211
|
+
| `praxis database table get <table>` | `database.databases.tables.retrieve` | GET `/database/v1/databases/{database_id}/tables/{table}` | `--database` |
|
|
212
|
+
| `praxis database table list` | `database.databases.tables.list` | GET `/database/v1/databases/{database_id}/tables` | `--database` |
|
|
213
|
+
| `praxis database table update <table>` | `database.databases.tables.update` | PATCH `/database/v1/databases/{database_id}/tables/{table}` | `--database`, `--name`, `--description` |
|
|
214
|
+
| `praxis database update <database_id>` | `database.databases.update` | PATCH `/database/v1/databases/{database_id}` | `--name` |
|
|
215
|
+
| `praxis file create` | `file.files.create` | POST `/file/v1/files` | `--file`, `--purpose` |
|
|
216
|
+
| `praxis file delete <file_id>` | `file.files.delete` | DELETE `/file/v1/files/{file_id}` | |
|
|
217
|
+
| `praxis file get <file_id>` | `file.files.retrieve` | GET `/file/v1/files/{file_id}` | |
|
|
218
|
+
| `praxis file get-content <file_id>` | `file.files.retrieveContent` | GET `/file/v1/files/{file_id}/content` | |
|
|
219
|
+
| `praxis file list` | `file.files.list` | GET `/file/v1/files` | `--purpose`, `--param-limit`, `--order`, `--after`, `--scope-id`, `--before` |
|
|
220
|
+
| `praxis knowledge vector-store create` | `knowledge.vectorStores.create` | POST `/knowledge/v1/vector_stores` | `--name`, `--file-ids`, `--description` |
|
|
221
|
+
| `praxis knowledge vector-store delete <vector_store_id>` | `knowledge.vectorStores.delete` | DELETE `/knowledge/v1/vector_stores/{vector_store_id}` | |
|
|
222
|
+
| `praxis knowledge vector-store event list` | `knowledge.vectorStores.events.list` | GET `/knowledge/v1/vector_stores/{vector_store_id}/events` | `--vector-store`, `--after-seq`, `--param-limit` |
|
|
223
|
+
| `praxis knowledge vector-store file create` | `knowledge.vectorStores.files.create` | POST `/knowledge/v1/vector_stores/{vector_store_id}/files` | `--vector-store`, `--file-id` |
|
|
224
|
+
| `praxis knowledge vector-store file delete <file_id>` | `knowledge.vectorStores.files.delete` | DELETE `/knowledge/v1/vector_stores/{vector_store_id}/files/{file_id}` | `--vector-store` |
|
|
225
|
+
| `praxis knowledge vector-store file get <file_id>` | `knowledge.vectorStores.files.retrieve` | GET `/knowledge/v1/vector_stores/{vector_store_id}/files/{file_id}` | `--vector-store` |
|
|
226
|
+
| `praxis knowledge vector-store file get-content <file_id>` | `knowledge.vectorStores.files.retrieveContent` | GET `/knowledge/v1/vector_stores/{vector_store_id}/files/{file_id}/content` | `--vector-store` |
|
|
227
|
+
| `praxis knowledge vector-store file list` | `knowledge.vectorStores.files.list` | GET `/knowledge/v1/vector_stores/{vector_store_id}/files` | `--vector-store`, `--after`, `--before`, `--param-limit`, `--order`, `--filter` |
|
|
228
|
+
| `praxis knowledge vector-store file retry <file_id>` | `knowledge.vectorStores.files.retry.create` | POST `/knowledge/v1/vector_stores/{vector_store_id}/files/{file_id}/retry` | `--vector-store` |
|
|
229
|
+
| `praxis knowledge vector-store file segment list` | `knowledge.vectorStores.files.segments.list` | GET `/knowledge/v1/vector_stores/{vector_store_id}/files/{file_id}/segments` | `--vector-store`, `--file`, `--after`, `--before`, `--param-limit`, `--order` |
|
|
230
|
+
| `praxis knowledge vector-store file update <file_id>` | `knowledge.vectorStores.files.update` | POST `/knowledge/v1/vector_stores/{vector_store_id}/files/{file_id}` | `--vector-store` |
|
|
231
|
+
| `praxis knowledge vector-store file-batch cancel <batch_id>` | `knowledge.vectorStores.fileBatches.cancel` | POST `/knowledge/v1/vector_stores/{vector_store_id}/file_batches/{batch_id}/cancel` | `--vector-store` |
|
|
232
|
+
| `praxis knowledge vector-store file-batch create` | `knowledge.vectorStores.fileBatches.create` | POST `/knowledge/v1/vector_stores/{vector_store_id}/file_batches` | `--vector-store` |
|
|
233
|
+
| `praxis knowledge vector-store file-batch file list` | `knowledge.vectorStores.fileBatches.files.list` | GET `/knowledge/v1/vector_stores/{vector_store_id}/file_batches/{batch_id}/files` | `--vector-store`, `--file-batch`, `--after`, `--before`, `--param-limit`, `--order`, `--filter` |
|
|
234
|
+
| `praxis knowledge vector-store file-batch get <batch_id>` | `knowledge.vectorStores.fileBatches.retrieve` | GET `/knowledge/v1/vector_stores/{vector_store_id}/file_batches/{batch_id}` | `--vector-store` |
|
|
235
|
+
| `praxis knowledge vector-store get <vector_store_id>` | `knowledge.vectorStores.retrieve` | GET `/knowledge/v1/vector_stores/{vector_store_id}` | `--expand`, `--expand[]` |
|
|
236
|
+
| `praxis knowledge vector-store list` | `knowledge.vectorStores.list` | GET `/knowledge/v1/vector_stores` | `--status`, `--after`, `--before`, `--param-limit`, `--order` |
|
|
237
|
+
| `praxis knowledge vector-store purge <vector_store_id>` | `knowledge.vectorStores.purge.create` | POST `/knowledge/v1/vector_stores/{vector_store_id}/purge` | |
|
|
238
|
+
| `praxis knowledge vector-store restore <vector_store_id>` | `knowledge.vectorStores.restore` | POST `/knowledge/v1/vector_stores/{vector_store_id}/restore` | |
|
|
239
|
+
| `praxis knowledge vector-store search <vector_store_id>` | `knowledge.vectorStores.search.create` | POST `/knowledge/v1/vector_stores/{vector_store_id}/search` | `--max-num-results`, `--rewrite-query`, `--next-page` |
|
|
240
|
+
| `praxis knowledge vector-store segment get <chunk_id>` | `knowledge.vectorStores.segments.retrieve` | GET `/knowledge/v1/vector_stores/{vector_store_id}/segments/{chunk_id}` | `--vector-store` |
|
|
241
|
+
| `praxis knowledge vector-store update <vector_store_id>` | `knowledge.vectorStores.update` | POST `/knowledge/v1/vector_stores/{vector_store_id}` | `--name` |
|
|
242
|
+
| `praxis media library asset batch <library_id>` | `media.libraries.assets.batch` | POST `/media/v1/libraries/{library_id}/assets:batch` | |
|
|
243
|
+
| `praxis media library asset create` | `media.libraries.assets.create` | POST `/media/v1/libraries/{library_id}/assets` | `--library`, `--file`, `--public-id`, `--public-id-prefix`, `--display-name`, `--asset-folder`, `--use-filename`, `--unique-filename`, `--use-filename-as-display-name`, `--filename-override`, `--overwrite`, `--auto-tagging`, `--resource-type` |
|
|
244
|
+
| `praxis media library asset delete <asset_id>` | `media.libraries.assets.delete` | DELETE `/media/v1/libraries/{library_id}/assets/{asset_id}` | `--library` |
|
|
245
|
+
| `praxis media library asset get <asset_id>` | `media.libraries.assets.retrieve` | GET `/media/v1/libraries/{library_id}/assets/{asset_id}` | `--library` |
|
|
246
|
+
| `praxis media library asset import` | `media.libraries.assets.import.create` | POST `/media/v1/libraries/{library_id}/assets/import` | `--library`, `--file-id`, `--public-id`, `--public-id-prefix`, `--display-name`, `--asset-folder`, `--use-filename`, `--unique-filename`, `--use-filename-as-display-name`, `--filename-override`, `--overwrite`, `--auto-tagging`, `--resource-type` |
|
|
247
|
+
| `praxis media library asset list` | `media.libraries.assets.list` | GET `/media/v1/libraries/{library_id}/assets` | `--library`, `--asset-folder`, `--resource-type`, `--param-cursor`, `--param-limit` |
|
|
248
|
+
| `praxis media library asset reprocess <asset_id>` | `media.libraries.assets.reprocess.create` | POST `/media/v1/libraries/{library_id}/assets/{asset_id}/reprocess` | `--library`, `--kinds` |
|
|
249
|
+
| `praxis media library asset understanding list` | `media.libraries.assets.understandings.list` | GET `/media/v1/libraries/{library_id}/assets/{asset_id}/understandings` | `--library`, `--asset`, `--include-superseded`, `--kind`, `--param-cursor`, `--param-limit` |
|
|
250
|
+
| `praxis media library asset update <asset_id>` | `media.libraries.assets.update` | PATCH `/media/v1/libraries/{library_id}/assets/{asset_id}` | `--library`, `--display-name`, `--asset-folder`, `--tags` |
|
|
251
|
+
| `praxis media library batch create` | `media.libraries.batches.create` | POST `/media/v1/libraries/{library_id}/batches` | `--library` |
|
|
252
|
+
| `praxis media library batch get <job_id>` | `media.libraries.batches.retrieve` | GET `/media/v1/libraries/{library_id}/batches/{job_id}` | `--library` |
|
|
253
|
+
| `praxis media library create` | `media.libraries.create` | POST `/media/v1/libraries` | `--name` |
|
|
254
|
+
| `praxis media library delete <library_id>` | `media.libraries.delete` | DELETE `/media/v1/libraries/{library_id}` | |
|
|
255
|
+
| `praxis media library event list` | `media.libraries.events.list` | GET `/media/v1/libraries/{library_id}/events` | `--library`, `--after-seq`, `--before-seq`, `--order`, `--param-limit` |
|
|
256
|
+
| `praxis media library folder list` | `media.libraries.folders.list` | GET `/media/v1/libraries/{library_id}/folders` | `--library`, `--parent` |
|
|
257
|
+
| `praxis media library get <library_id>` | `media.libraries.retrieve` | GET `/media/v1/libraries/{library_id}` | |
|
|
258
|
+
| `praxis media library job get <job_id>` | `media.libraries.jobs.retrieve` | GET `/media/v1/libraries/{library_id}/jobs/{job_id}` | `--library` |
|
|
259
|
+
| `praxis media library list` | `media.libraries.list` | GET `/media/v1/libraries` | `--param-cursor`, `--param-limit`, `--labels`, `--status` |
|
|
260
|
+
| `praxis media library purge <library_id>` | `media.libraries.purge.create` | POST `/media/v1/libraries/{library_id}/purge` | |
|
|
261
|
+
| `praxis media library restore <library_id>` | `media.libraries.restore` | POST `/media/v1/libraries/{library_id}/restore` | |
|
|
262
|
+
| `praxis media library search <library_id>` | `media.libraries.search.create` | POST `/media/v1/libraries/{library_id}/search` | `--query`, `--filter`, `--top-k`, `--mode` |
|
|
263
|
+
| `praxis media library search-expression` | `media.libraries.search.expression.create` | POST `/media/v1/libraries/{library_id}/search/expression` | `--library`, `--expression`, `--max-results`, `--next-cursor`, `--with-field`, `--aggregate` |
|
|
264
|
+
| `praxis media library search-semantic` | `media.libraries.search.semantic.create` | POST `/media/v1/libraries/{library_id}/search/semantic` | `--library`, `--query`, `--filter`, `--top-k`, `--mode` |
|
|
265
|
+
| `praxis media library search-visual` | `media.libraries.search.visual.create` | POST `/media/v1/libraries/{library_id}/search/visual` | `--library`, `--asset-id`, `--top-k`, `--filter` |
|
|
266
|
+
| `praxis media library update <library_id>` | `media.libraries.update` | PATCH `/media/v1/libraries/{library_id}` | `--name` |
|
|
267
|
+
| `praxis meta health get` | `meta.health.retrieve` | GET `/meta/v1/health` | |
|
|
268
|
+
| `praxis meta method get <name>` | `meta.methods.retrieve` | GET `/meta/v1/methods/{name}` | |
|
|
269
|
+
| `praxis meta method list` | `meta.methods.list` | GET `/meta/v1/methods` | `--q`, `--param-limit`, `--after-id` |
|
|
270
|
+
| `praxis model audio speech create` | `model.audio.speech.create` | POST `/model/v1/audio/speech` | `--model`, `--input`, `--instructions`, `--response-format`, `--speed`, `--stream-format`, `--text`, `--prompt`, `--speaker`, `--lang`, `--encoding`, `--container`, `--sample-rate`, `--bit-rate` |
|
|
271
|
+
| `praxis model audio transcription create` | `model.audio.transcriptions.create` | POST `/model/v1/audio/transcriptions` | `--model`, `--file`, `--language`, `--prompt`, `--response-format`, `--timestamp-granularities[]`, `--temperature` |
|
|
272
|
+
| `praxis model chat completion create` | `model.chat.completions.create` | POST `/model/v1/chat/completions` | `--frequency-penalty`, `--logprobs`, `--max-completion-tokens`, `--max-tokens`, `--min-p`, `--modalities`, `--model`, `--models`, `--parallel-tool-calls`, `--presence-penalty`, `--prompt-cache-key`, `--reasoning-effort`, `--repetition-penalty`, `--route`, `--seed`, `--service-tier`, `--session-id`, `--stream`, `--temperature`, `--top-a`, `--top-k`, `--top-logprobs`, `--top-p`, `--user`, `--store`, `--max-output-tokens`, `--n`, `--prompt`, `--structured-outputs`, `--include-reasoning`, `--safe-prompt`, `--raw-mode` |
|
|
273
|
+
| `praxis model conversation create` | `model.conversations.create` | POST `/model/v1/conversations` | |
|
|
274
|
+
| `praxis model conversation delete <conversation_id>` | `model.conversations.delete` | DELETE `/model/v1/conversations/{conversation_id}` | |
|
|
275
|
+
| `praxis model conversation get <conversation_id>` | `model.conversations.retrieve` | GET `/model/v1/conversations/{conversation_id}` | |
|
|
276
|
+
| `praxis model conversation item create` | `model.conversations.items.create` | POST `/model/v1/conversations/{conversation_id}/items` | `--conversation` |
|
|
277
|
+
| `praxis model conversation item delete <item_id>` | `model.conversations.items.delete` | DELETE `/model/v1/conversations/{conversation_id}/items/{item_id}` | `--conversation` |
|
|
278
|
+
| `praxis model conversation item get <item_id>` | `model.conversations.items.retrieve` | GET `/model/v1/conversations/{conversation_id}/items/{item_id}` | `--conversation` |
|
|
279
|
+
| `praxis model conversation item list` | `model.conversations.items.list` | GET `/model/v1/conversations/{conversation_id}/items` | `--conversation` |
|
|
280
|
+
| `praxis model conversation update <conversation_id>` | `model.conversations.update` | POST `/model/v1/conversations/{conversation_id}` | |
|
|
281
|
+
| `praxis model embedding create` | `model.embeddings.create` | POST `/model/v1/embeddings` | `--dimensions`, `--encoding-format`, `--input-type`, `--model`, `--session-id`, `--user` |
|
|
282
|
+
| `praxis model generation get` | `model.generation.retrieve` | GET `/model/v1/generation` | `--id` |
|
|
283
|
+
| `praxis model get <model>` | `model.models.retrieve` | GET `/model/v1/models/{model}` | |
|
|
284
|
+
| `praxis model image edit create` | `model.images.edits.create` | POST `/model/v1/images/edits` | `--model`, `--prompt`, `--image`, `--mask`, `--n`, `--size` |
|
|
285
|
+
| `praxis model image generation create` | `model.images.generations.create` | POST `/model/v1/images/generations` | `--model`, `--prompt`, `--n`, `--size`, `--quality`, `--response-format`, `--background`, `--output-format` |
|
|
286
|
+
| `praxis model list` | `model.models.list` | GET `/model/v1/models` | `--supported-api`, `--type`, `--output-modalities`, `--param-limit`, `--q` |
|
|
287
|
+
| `praxis model message count-tokens` | `model.messages.countTokens` | POST `/model/v1/messages/count_tokens` | `--model` |
|
|
288
|
+
| `praxis model message create` | `model.messages.create` | POST `/model/v1/messages` | `--stream`, `--max-tokens`, `--model`, `--inference-geo`, `--service-tier`, `--stop-sequences`, `--temperature`, `--top-k`, `--top-p`, `--speed` |
|
|
289
|
+
| `praxis model ocr create` | `model.ocr.create` | POST `/model/v1/ocr` | `--model`, `--pages`, `--include-image-base64`, `--table-format`, `--extract-header`, `--extract-footer`, `--document-annotation-prompt`, `--image-limit`, `--image-min-size`, `--include-blocks`, `--confidence-scores-granularity` |
|
|
290
|
+
| `praxis model rerank create` | `model.rerank.create` | POST `/model/v1/rerank` | `--model`, `--query`, `--documents`, `--top-n`, `--return-documents`, `--max-tokens-per-doc`, `--max-chunks-per-doc`, `--user` |
|
|
291
|
+
| `praxis model response cancel <response_id>` | `model.responses.cancel` | POST `/model/v1/responses/{response_id}/cancel` | |
|
|
292
|
+
| `praxis model response compact` | `model.responses.compact` | POST `/model/v1/responses/compact` | |
|
|
293
|
+
| `praxis model response create` | `model.responses.create` | POST `/model/v1/responses` | `--background`, `--include`, `--instructions`, `--max-output-tokens`, `--model`, `--parallel-tool-calls`, `--prompt-cache-key`, `--safety-identifier`, `--service-tier`, `--store`, `--stream`, `--temperature`, `--top-logprobs`, `--top-p`, `--truncation`, `--user`, `--prompt-cache-retention` |
|
|
294
|
+
| `praxis model response delete <response_id>` | `model.responses.delete` | DELETE `/model/v1/responses/{response_id}` | |
|
|
295
|
+
| `praxis model response get <response_id>` | `model.responses.retrieve` | GET `/model/v1/responses/{response_id}` | |
|
|
296
|
+
| `praxis model response input-item list` | `model.responses.inputItems.list` | GET `/model/v1/responses/{response_id}/input_items` | `--response` |
|
|
297
|
+
| `praxis model response input-token create` | `model.responses.inputTokens.create` | POST `/model/v1/responses/input_tokens` | |
|
|
298
|
+
| `praxis model video create` | `model.videos.create` | POST `/model/v1/videos` | `--model`, `--prompt`, `--duration`, `--size`, `--resolution`, `--aspect-ratio`, `--generate-audio`, `--seed`, `--callback-url`, `--quality` |
|
|
299
|
+
| `praxis model video delete <video_id>` | `model.videos.delete` | DELETE `/model/v1/videos/{video_id}` | |
|
|
300
|
+
| `praxis model video get <video_id>` | `model.videos.retrieve` | GET `/model/v1/videos/{video_id}` | |
|
|
301
|
+
| `praxis model video get-content <video_id>` | `model.videos.retrieveContent` | GET `/model/v1/videos/{video_id}/content` | `--variant`, `--index` |
|
|
302
|
+
| `praxis model video list` | `model.videos.list` | GET `/model/v1/videos` | `--after`, `--param-limit`, `--order` |
|
|
303
|
+
| `praxis model video remix <video_id>` | `model.videos.remix` | POST `/model/v1/videos/{video_id}/remix` | |
|
|
304
|
+
| `praxis organization charge list` | `organization.charges.list` | GET `/organization/v1/charges` | `--starting-at`, `--ending-at` |
|
|
305
|
+
| `praxis organization cost list` | `organization.costs.list` | GET `/organization/v1/costs` | `--starting-at`, `--ending-at`, `--bucket-width`, `--time-zone`, `--group-by`, `--page` |
|
|
306
|
+
| `praxis organization event get <id>` | `organization.events.retrieve` | GET `/organization/v1/events/{id}` | |
|
|
307
|
+
| `praxis organization event list` | `organization.events.list` | GET `/organization/v1/events` | `--starting-at`, `--ending-at`, `--param-limit`, `--page` |
|
|
308
|
+
| `praxis organization feedback create` | `organization.feedback.create` | POST `/organization/v1/feedback` | `--message`, `--contact-email`, `--name`, `--url`, `--associated-event-id`, `--source` |
|
|
309
|
+
| `praxis organization usage list` | `organization.usage.list` | GET `/organization/v1/usage` | `--starting-at`, `--ending-at`, `--bucket-width`, `--time-zone`, `--group-by`, `--page` |
|
|
310
|
+
| `praxis sandbox command run <sandbox_id>` | `sandbox.sandboxes.commands.run` | POST `/sandbox/v1/sandboxes/{sandbox_id}/commands` | `--cmd`, `--cwd`, `--timeout-ms` |
|
|
311
|
+
| `praxis sandbox connect <sandboxID>` | `sandbox.sandboxes.connect` | POST `/sandbox/v1/sandboxes/{sandboxID}/connect` | `--timeout`, `--memory` |
|
|
312
|
+
| `praxis sandbox create` | `sandbox.sandboxes.create` | POST `/sandbox/v1/sandboxes` | `--template-id`, `--timeout`, `--auto-pause`, `--auto-pause-memory`, `--allow-internet-access` |
|
|
313
|
+
| `praxis sandbox delete <sandboxID>` | `sandbox.sandboxes.delete` | DELETE `/sandbox/v1/sandboxes/{sandboxID}` | |
|
|
314
|
+
| `praxis sandbox extend <sandboxID>` | `sandbox.sandboxes.extend` | POST `/sandbox/v1/sandboxes/{sandboxID}/extend` | `--timeout` |
|
|
315
|
+
| `praxis sandbox file list` | `sandbox.sandboxes.files.list` | GET `/sandbox/v1/sandboxes/{sandbox_id}/files:list` | `--sandbox`, `--path` |
|
|
316
|
+
| `praxis sandbox file make-dir <sandbox_id>` | `sandbox.sandboxes.files.makeDir` | POST `/sandbox/v1/sandboxes/{sandbox_id}/files:makeDir` | `--path` |
|
|
317
|
+
| `praxis sandbox file read <sandbox_id>` | `sandbox.sandboxes.files.read` | GET `/sandbox/v1/sandboxes/{sandbox_id}/files` | `--path` |
|
|
318
|
+
| `praxis sandbox file remove <sandbox_id>` | `sandbox.sandboxes.files.remove` | DELETE `/sandbox/v1/sandboxes/{sandbox_id}/files` | `--path` |
|
|
319
|
+
| `praxis sandbox file write <sandbox_id>` | `sandbox.sandboxes.files.write` | PUT `/sandbox/v1/sandboxes/{sandbox_id}/files` | `--path`, `--param-data` |
|
|
320
|
+
| `praxis sandbox fork <sandboxID>` | `sandbox.sandboxes.fork` | POST `/sandbox/v1/sandboxes/{sandboxID}/fork` | `--timeout`, `--count` |
|
|
321
|
+
| `praxis sandbox get <sandboxID>` | `sandbox.sandboxes.retrieve` | GET `/sandbox/v1/sandboxes/{sandboxID}` | |
|
|
322
|
+
| `praxis sandbox list` | `sandbox.sandboxes.list` | GET `/sandbox/v1/sandboxes` | `--metadata`, `--state`, `--order`, `--started-after`, `--template`, `--next-token`, `--param-limit`, `--name` |
|
|
323
|
+
| `praxis sandbox log list` | `sandbox.sandboxes.logs.list` | GET `/sandbox/v1/sandboxes/{sandboxID}/logs` | `--sandbox`, `--param-cursor`, `--param-limit`, `--direction`, `--level`, `--search` |
|
|
324
|
+
| `praxis sandbox metric list` | `sandbox.sandboxes.metrics.list` | GET `/sandbox/v1/sandboxes/{sandboxID}/metrics` | `--sandbox`, `--start`, `--end` |
|
|
325
|
+
| `praxis sandbox pause <sandboxID>` | `sandbox.sandboxes.pause` | POST `/sandbox/v1/sandboxes/{sandboxID}/pause` | `--memory` |
|
|
326
|
+
| `praxis sandbox process get-output <processID>` | `sandbox.sandboxes.processes.retrieveOutput` | GET `/sandbox/v1/sandboxes/{sandboxID}/processes/{processID}/output` | `--sandbox` |
|
|
327
|
+
| `praxis sandbox process list` | `sandbox.sandboxes.processes.list` | GET `/sandbox/v1/sandboxes/{sandboxID}/processes` | `--sandbox`, `--state` |
|
|
328
|
+
| `praxis sandbox snapshot create` | `sandbox.sandboxes.snapshots.create` | POST `/sandbox/v1/sandboxes/{sandboxID}/snapshots` | `--sandbox`, `--name` |
|
|
329
|
+
| `praxis sandbox snapshot delete <snapshotID>` | `sandbox.snapshots.delete` | DELETE `/sandbox/v1/snapshots/{snapshotID}` | |
|
|
330
|
+
| `praxis sandbox snapshot list` | `sandbox.snapshots.list` | GET `/sandbox/v1/snapshots` | `--sandbox-id`, `--name`, `--param-limit`, `--next-token` |
|
|
331
|
+
| `praxis sandbox template list` | `sandbox.templates.list` | GET `/sandbox/v1/templates` | `--team-id`, `--next-token`, `--param-limit` |
|
|
332
|
+
| `praxis sandbox timeout <sandboxID>` | `sandbox.sandboxes.timeout` | POST `/sandbox/v1/sandboxes/{sandboxID}/timeout` | `--timeout` |
|
|
333
|
+
| `praxis sandbox update <sandboxID>` | `sandbox.sandboxes.update` | PATCH `/sandbox/v1/sandboxes/{sandboxID}` | `--name` |
|
|
334
|
+
| `praxis sandbox update-network <sandboxID>` | `sandbox.sandboxes.updateNetwork` | PUT `/sandbox/v1/sandboxes/{sandboxID}/network` | `--allow-out`, `--deny-out`, `--allow-internet-access` |
|
|
335
|
+
| `praxis sandbox upgrade <sandboxID>` | `sandbox.sandboxes.upgrade.create` | POST `/sandbox/v1/sandboxes/{sandboxID}/upgrade` | `--template-id` |
|
|
336
|
+
| `praxis sandbox volume create` | `sandbox.volumes.create` | POST `/sandbox/v1/volumes` | `--name` |
|
|
337
|
+
| `praxis sandbox volume delete <volumeID>` | `sandbox.volumes.delete` | DELETE `/sandbox/v1/volumes/{volumeID}` | |
|
|
338
|
+
| `praxis sandbox volume get <volumeID>` | `sandbox.volumes.retrieve` | GET `/sandbox/v1/volumes/{volumeID}` | |
|
|
339
|
+
| `praxis sandbox volume list` | `sandbox.volumes.list` | GET `/sandbox/v1/volumes` | |
|
|
340
|
+
| `praxis search crawl` | `search.crawl.create` | POST `/search/v1/crawl` | `--url`, `--instructions`, `--chunks-per-source`, `--max-depth`, `--max-breadth`, `--param-limit`, `--select-paths`, `--select-domains`, `--exclude-paths`, `--exclude-domains`, `--allow-external`, `--include-images`, `--extract-depth`, `--param-format`, `--include-favicon`, `--timeout`, `--include-usage` |
|
|
341
|
+
| `praxis search create` | `search.search.create` | POST `/search/v1/search` | `--query`, `--search-depth`, `--chunks-per-source`, `--max-results`, `--topic`, `--time-range`, `--start-date`, `--end-date`, `--include-published-date`, `--filter-by-published-date`, `--include-images`, `--include-image-descriptions`, `--include-favicon`, `--include-domains`, `--exclude-domains`, `--include-domains-mode`, `--country`, `--language`, `--filter-by-language`, `--auto-parameters`, `--exact-match`, `--include-usage`, `--safe-search` |
|
|
342
|
+
| `praxis search extract` | `search.extract.create` | POST `/search/v1/extract` | `--query`, `--chunks-per-source`, `--extract-depth`, `--include-images`, `--include-favicon`, `--param-format`, `--timeout`, `--include-usage` |
|
|
343
|
+
| `praxis search map` | `search.map.create` | POST `/search/v1/map` | `--url`, `--instructions`, `--max-depth`, `--max-breadth`, `--param-limit`, `--select-paths`, `--select-domains`, `--exclude-paths`, `--exclude-domains`, `--allow-external`, `--timeout`, `--include-usage` |
|
|
344
|
+
| `praxis vault archive <vault_id>` | `vault.vaults.archive` | POST `/vault/v1/vaults/{vault_id}/archive` | |
|
|
345
|
+
| `praxis vault authorization create` | `vault.authorizations.create` | POST `/vault/v1/authorizations` | `--vault-id`, `--template-id`, `--resource-url`, `--return-url` |
|
|
346
|
+
| `praxis vault authorization get <authorization_id>` | `vault.authorizations.retrieve` | GET `/vault/v1/authorizations/{authorization_id}` | |
|
|
347
|
+
| `praxis vault authorization get-callback` | `vault.authorizations.retrieveCallback` | GET `/vault/v1/authorizations/callback` | |
|
|
348
|
+
| `praxis vault check` | `vault.vaults.check` | POST `/vault/v1/vaults:check` | `--vault-ids` |
|
|
349
|
+
| `praxis vault connect continue <token>` | `vault.connect.continue.create` | POST `/vault/v1/connect/{token}/continue` | |
|
|
350
|
+
| `praxis vault connect deny <token>` | `vault.connect.deny.create` | POST `/vault/v1/connect/{token}/deny` | |
|
|
351
|
+
| `praxis vault connect get <token>` | `vault.connect.retrieve` | GET `/vault/v1/connect/{token}` | |
|
|
352
|
+
| `praxis vault create` | `vault.vaults.create` | POST `/vault/v1/vaults` | `--display-name` |
|
|
353
|
+
| `praxis vault delete <vault_id>` | `vault.vaults.delete` | DELETE `/vault/v1/vaults/{vault_id}` | |
|
|
354
|
+
| `praxis vault event list` | `vault.vaults.events.list` | GET `/vault/v1/vaults/{vault_id}/events` | `--vault`, `--secret`, `--param-cursor`, `--param-limit` |
|
|
355
|
+
| `praxis vault get <vault_id>` | `vault.vaults.retrieve` | GET `/vault/v1/vaults/{vault_id}` | |
|
|
356
|
+
| `praxis vault list` | `vault.vaults.list` | GET `/vault/v1/vaults` | `--param-cursor`, `--param-limit`, `--include-archived` |
|
|
357
|
+
| `praxis vault oauth get-client-metadata` | `vault.oauth.retrieveClientMetadata` | GET `/vault/v1/oauth/client.json` | |
|
|
358
|
+
| `praxis vault secret archive <secret>` | `vault.vaults.secrets.archive` | POST `/vault/v1/vaults/{vault_id}/secrets/{secret}/archive` | `--vault` |
|
|
359
|
+
| `praxis vault secret create` | `vault.vaults.secrets.create` | POST `/vault/v1/vaults/{vault_id}/secrets` | `--vault`, `--name`, `--value`, `--allowed-hosts`, `--description`, `--template-id`, `--kind` |
|
|
360
|
+
| `praxis vault secret delete <secret>` | `vault.vaults.secrets.delete` | DELETE `/vault/v1/vaults/{vault_id}/secrets/{secret}` | `--vault` |
|
|
361
|
+
| `praxis vault secret get <secret>` | `vault.vaults.secrets.retrieve` | GET `/vault/v1/vaults/{vault_id}/secrets/{secret}` | `--vault` |
|
|
362
|
+
| `praxis vault secret import <vault_id>` | `vault.vaults.secrets.import` | POST `/vault/v1/vaults/{vault_id}/secrets:import` | `--dotenv`, `--allowed-hosts` |
|
|
363
|
+
| `praxis vault secret list` | `vault.vaults.secrets.list` | GET `/vault/v1/vaults/{vault_id}/secrets` | `--vault`, `--param-cursor`, `--param-limit`, `--include-archived` |
|
|
364
|
+
| `praxis vault secret refresh <secret>` | `vault.vaults.secrets.refresh.create` | POST `/vault/v1/vaults/{vault_id}/secrets/{secret}/refresh` | `--vault`, `--reason` |
|
|
365
|
+
| `praxis vault secret update <secret>` | `vault.vaults.secrets.update` | POST `/vault/v1/vaults/{vault_id}/secrets/{secret}` | `--vault`, `--value`, `--allowed-hosts`, `--description` |
|
|
366
|
+
| `praxis vault secret validate <secret>` | `vault.vaults.secrets.validate.create` | POST `/vault/v1/vaults/{vault_id}/secrets/{secret}/validate` | `--vault` |
|
|
367
|
+
| `praxis vault setting return-url list` | `vault.settings.returnUrls.list` | GET `/vault/v1/settings/return_urls` | |
|
|
368
|
+
| `praxis vault setting return-url update` | `vault.settings.returnUrls.update` | PUT `/vault/v1/settings/return_urls` | `--urls` |
|
|
369
|
+
| `praxis vault template list` | `vault.templates.list` | GET `/vault/v1/templates` | |
|
|
370
|
+
| `praxis vault update <vault_id>` | `vault.vaults.update` | POST `/vault/v1/vaults/{vault_id}` | `--display-name` |
|
package/LICENSE
CHANGED
|
@@ -1,67 +1,202 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
the
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
or
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -1,56 +1,220 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
2
|
|
|
3
|
-
Praxis
|
|
3
|
+
# Praxis CLI
|
|
4
|
+
|
|
5
|
+
**Models, agents, sandboxes, search and data from one terminal, with one account.**
|
|
6
|
+
|
|
7
|
+
The official command line for [知行云 Praxis](https://deepraxis.com), the cloud where AI agents are built, run and hosted.
|
|
8
|
+
|
|
9
|
+
[](https://www.npmjs.com/package/@deepraxis/cli)
|
|
10
|
+
[](https://nodejs.org)
|
|
11
|
+
[](https://www.apache.org/licenses/LICENSE-2.0)
|
|
12
|
+
|
|
13
|
+
[Website](https://deepraxis.com) · [Documentation](https://docs.deepraxis.com) · [API reference](https://docs.deepraxis.com/docs/api) · [Console](https://console.deepraxis.com)
|
|
14
|
+
|
|
15
|
+
</div>
|
|
16
|
+
|
|
17
|
+
---
|
|
4
18
|
|
|
5
19
|
```sh
|
|
6
|
-
npm
|
|
7
|
-
praxis --help
|
|
20
|
+
npm install -g @deepraxis/cli
|
|
8
21
|
praxis login
|
|
22
|
+
praxis model chat completion create --model deepseek-flash \
|
|
23
|
+
--data '{"messages":[{"role":"user","content":"Hello!"}]}'
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Every operation of the Praxis API is a command: about 350 of them across models, agents,
|
|
27
|
+
sandboxes, cloud browsers, web search, databases, knowledge bases, files, media, automation
|
|
28
|
+
and hosted applications. The command tree is generated from the same contract as the API and
|
|
29
|
+
the SDK, so a new API capability reaches the CLI on the day it ships.
|
|
30
|
+
|
|
31
|
+
## Why Praxis CLI
|
|
32
|
+
|
|
33
|
+
- **One account, every capability.** Chat with models from many providers, start a sandbox,
|
|
34
|
+
search the web and query a database without juggling vendor keys.
|
|
35
|
+
- **Made for people and for AI agents.** Readable tables in your terminal, compact text when an
|
|
36
|
+
AI coding agent runs it, and clean JSON in scripts. The CLI picks the mode by itself.
|
|
37
|
+
- **Signs in through the browser.** `praxis login` approves the session in your browser and
|
|
38
|
+
keeps the credential in the system keychain, never in a dotfile when a keychain exists.
|
|
39
|
+
- **Predictable grammar.** `praxis <domain> <resource> <verb> [id]`, the same shape everywhere,
|
|
40
|
+
with `--help` on every level.
|
|
41
|
+
|
|
42
|
+
## Install
|
|
43
|
+
|
|
44
|
+
Requires [Node.js](https://nodejs.org) 20 or newer.
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
npm install -g @deepraxis/cli # or: pnpm add -g / bun add -g
|
|
48
|
+
praxis --version
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Run it once without installing:
|
|
52
|
+
|
|
53
|
+
```sh
|
|
54
|
+
npx @deepraxis/cli model list
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Sign in
|
|
58
|
+
|
|
59
|
+
```sh
|
|
60
|
+
praxis login # approve in the browser with the code shown
|
|
61
|
+
praxis whoami # account, organization, credential storage
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
You need a Praxis account; sign up at [deepraxis.com](https://deepraxis.com).
|
|
65
|
+
|
|
66
|
+
Belong to several organizations? Every call runs in the active one:
|
|
67
|
+
|
|
68
|
+
```sh
|
|
69
|
+
praxis org list
|
|
70
|
+
praxis org switch <organization_id>
|
|
71
|
+
praxis model list --org <organization_id> # just this call
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
For CI and other headless environments, create an API key in the
|
|
75
|
+
[Console](https://console.deepraxis.com/keys) and set it instead of logging in.
|
|
76
|
+
`PRAXIS_API_KEY` always takes precedence over a stored login:
|
|
77
|
+
|
|
78
|
+
```sh
|
|
79
|
+
export PRAXIS_API_KEY=<your-api-key>
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## A tour
|
|
83
|
+
|
|
84
|
+
### Models
|
|
85
|
+
|
|
86
|
+
```sh
|
|
9
87
|
praxis model list
|
|
88
|
+
praxis model chat completion create --model deepseek-flash \
|
|
89
|
+
--data '{"messages":[{"role":"user","content":"A haiku"}]}'
|
|
90
|
+
praxis model embedding create --model <embedding_model> \
|
|
91
|
+
--data '{"input":"hello world"}'
|
|
92
|
+
praxis model image generation create --model <image_model> \
|
|
93
|
+
--prompt "a lighthouse at dawn"
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Agents
|
|
97
|
+
|
|
98
|
+
Define an agent once, then talk to it in sessions:
|
|
99
|
+
|
|
100
|
+
```sh
|
|
101
|
+
praxis agent create --data '{
|
|
102
|
+
"name": "helper",
|
|
103
|
+
"model": {"id": "deepseek-flash"},
|
|
104
|
+
"tools": [{"type": "agent_toolset_20260401"}]
|
|
105
|
+
}'
|
|
106
|
+
praxis agent session create --data '{"agent": "<agent_id>"}'
|
|
107
|
+
praxis agent session event send <session_id> --data '{
|
|
108
|
+
"events": [{
|
|
109
|
+
"type": "user.message",
|
|
110
|
+
"content": [{"type": "text", "text": "What can you do?"}]
|
|
111
|
+
}]
|
|
112
|
+
}'
|
|
113
|
+
praxis agent session event stream --session <session_id>
|
|
10
114
|
```
|
|
11
115
|
|
|
12
|
-
|
|
13
|
-
select an environment; the stable package defaults to production. For scripts,
|
|
14
|
-
set `PRAXIS_API_KEY` in the environment instead of using `praxis login`.
|
|
116
|
+
### Sandboxes
|
|
15
117
|
|
|
16
|
-
|
|
118
|
+
```sh
|
|
119
|
+
praxis sandbox create --template-id base
|
|
120
|
+
praxis sandbox command run <sandbox_id> \
|
|
121
|
+
--cmd "python3 -c 'print(6 * 7)'"
|
|
122
|
+
praxis sandbox delete <sandbox_id> --yes
|
|
123
|
+
```
|
|
17
124
|
|
|
18
|
-
|
|
19
|
-
- `--format agent`: compact text for agents.
|
|
20
|
-
- `--json` (or `--format json`): JSON for scripts.
|
|
125
|
+
### Search, data and automation
|
|
21
126
|
|
|
22
127
|
```sh
|
|
23
|
-
praxis
|
|
24
|
-
praxis
|
|
25
|
-
praxis
|
|
128
|
+
praxis search create --query "AI agent frameworks" --max-results 5
|
|
129
|
+
praxis database create --name notes
|
|
130
|
+
praxis automation run create --data '{
|
|
131
|
+
"source": "export default async (i) => ({ answer: i.n + 1 })",
|
|
132
|
+
"language": "ts", "input": {"n": 41}, "wait": 30
|
|
133
|
+
}'
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
Browse everything with `praxis --help`, `praxis <domain> --help`, or the full
|
|
137
|
+
[command reference](https://unpkg.com/@deepraxis/cli/COMMANDS.md) that ships in the package.
|
|
138
|
+
|
|
139
|
+
## How commands work
|
|
140
|
+
|
|
141
|
+
```text
|
|
142
|
+
praxis sandbox command run sbx_123 --cmd "ls" --json
|
|
143
|
+
domain resource verb target options global
|
|
26
144
|
```
|
|
27
145
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
`--
|
|
32
|
-
|
|
33
|
-
|
|
146
|
+
- **One target, positionally.** The object a command acts on comes right after the verb. Parent
|
|
147
|
+
objects are options: `praxis database table list --database <database_id>`.
|
|
148
|
+
- **Request bodies.** Simple fields have their own options. Anything else goes in `--data`, as
|
|
149
|
+
inline JSON, a file (`--data @body.json`) or stdin (`--data -`). Field options win over the
|
|
150
|
+
same field in `--data`.
|
|
151
|
+
- **Lists.** `--limit 10` shows the first ten items, `--all` follows every page, and `--cursor`
|
|
152
|
+
resumes from a page you saved.
|
|
153
|
+
- **Safety.** Deleting and other destructive commands ask for confirmation, or need `--yes`
|
|
154
|
+
when no one can answer, for example in a script.
|
|
155
|
+
- **Escape hatch.** `praxis api <METHOD> <path> [--data …]` calls any endpoint with your
|
|
156
|
+
current credential, including ones that are new since your installed version.
|
|
34
157
|
|
|
35
|
-
|
|
158
|
+
## Output for people, AI agents and scripts
|
|
159
|
+
|
|
160
|
+
| You run it… | You get | Choose it explicitly |
|
|
161
|
+
|---|---|---|
|
|
162
|
+
| in a terminal | aligned tables, colors, readable details and next-step hints | `--format human` |
|
|
163
|
+
| inside an AI coding agent (Claude Code, Codex, Cursor, Gemini CLI…) | compact, token-light text with exact follow-up commands | `--format agent` |
|
|
164
|
+
| in a pipe or a script | the API response as JSON, nothing else on stdout | `--json` |
|
|
165
|
+
|
|
166
|
+
Errors follow the same rule. In JSON they are one object on stderr with `code`, `message`,
|
|
167
|
+
`hint`, `status` and `request_id`, so a script or an agent can tell a typo from a quota limit.
|
|
168
|
+
|
|
169
|
+
```sh
|
|
170
|
+
praxis model list --json | jq -r '.data[].id'
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
## Teach your AI agent to use Praxis
|
|
174
|
+
|
|
175
|
+
The CLI writes its own skill file: the general rules plus one line per command, generated from
|
|
176
|
+
the API contract.
|
|
36
177
|
|
|
37
178
|
```sh
|
|
38
|
-
praxis skill
|
|
39
|
-
praxis skill
|
|
179
|
+
praxis skill --install ~/.claude/skills # praxis-cli/SKILL.md
|
|
180
|
+
praxis skill > SKILL.md # or print it
|
|
40
181
|
```
|
|
41
182
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
183
|
+
After that, an agent such as Claude Code can drive every Praxis capability through the CLI and
|
|
184
|
+
read results in its compact agent format.
|
|
185
|
+
|
|
186
|
+
## Environment variables
|
|
187
|
+
|
|
188
|
+
| Variable | Purpose |
|
|
189
|
+
|---|---|
|
|
190
|
+
| `PRAXIS_API_KEY` | Authenticate with an API key instead of `praxis login`. |
|
|
191
|
+
| `PRAXIS_ENV` | `production` (default) or `develop`, for Praxis team members testing pre-release services. |
|
|
192
|
+
| `PRAXIS_CREDENTIAL_STORE` | Set to `file` to keep logins out of the system keychain, for example in disposable test homes. |
|
|
193
|
+
| `NO_COLOR` | Disable colors in human output. |
|
|
194
|
+
|
|
195
|
+
Credentials live in the macOS Keychain, or in the Secret Service through `secret-tool` on
|
|
196
|
+
Linux. Without a keychain they are written to `~/.praxis/cli/<env>.json` with mode 0600, and
|
|
197
|
+
`praxis whoami` tells you which one is in use. `praxis logout` removes both.
|
|
198
|
+
|
|
199
|
+
## Release channels
|
|
200
|
+
|
|
201
|
+
| Channel | Install | What it is |
|
|
202
|
+
|---|---|---|
|
|
203
|
+
| `latest` | `npm i -g @deepraxis/cli` | Stable releases. |
|
|
204
|
+
| `dev` | `npm i -g @deepraxis/cli@dev` | A build of every change as it lands, pointed at the Praxis develop environment. For the Praxis team and early testers. |
|
|
205
|
+
|
|
206
|
+
## Resources
|
|
207
|
+
|
|
208
|
+
- [Documentation](https://docs.deepraxis.com) and [API reference](https://docs.deepraxis.com/docs/api)
|
|
209
|
+
- [Command reference](https://unpkg.com/@deepraxis/cli/COMMANDS.md)
|
|
210
|
+
- TypeScript SDK: [`@deepraxis/sdk`](https://www.npmjs.com/package/@deepraxis/sdk), the same API as code
|
|
211
|
+
- Already using the OpenAI or Anthropic SDK? Point its `baseURL` at
|
|
212
|
+
`https://api.deepraxis.com/openai/v1` or the Anthropic-compatible endpoint, as the
|
|
213
|
+
[SDK cookbook](https://docs.deepraxis.com/docs/cookbook/sdk) shows.
|
|
214
|
+
|
|
215
|
+
## License
|
|
45
216
|
|
|
46
|
-
|
|
47
|
-
`secret-tool`. If the system keychain is unavailable, login reports file storage
|
|
48
|
-
at `~/.praxis/cli/<env>.json` (mode 0600). Existing files migrate automatically
|
|
49
|
-
when keychain storage succeeds. `praxis whoami` shows the storage location;
|
|
50
|
-
`praxis logout` removes both copies. On macOS, writes use `security -i` with
|
|
51
|
-
the secret on stdin, never in process arguments. Records exceeding the tool's
|
|
52
|
-
4096-byte interactive command limit also use the file fallback.
|
|
217
|
+
[Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0). Copyright 2026 南京深度实践人工智能科技有限公司 (Deepractice).
|
|
53
218
|
|
|
54
|
-
|
|
55
|
-
to
|
|
56
|
-
checks both. OpenAPI sync regenerates these documents after the SDK manifest.
|
|
219
|
+
"Praxis", "知行云" and "Deepraxis" are trademarks of Deepractice; the license does not grant
|
|
220
|
+
rights to use them.
|
package/dist/praxis.js
CHANGED
|
@@ -2159,6 +2159,73 @@ Available only on /agent/v1. Use the message_id field from own-face events, not
|
|
|
2159
2159
|
}
|
|
2160
2160
|
]
|
|
2161
2161
|
},
|
|
2162
|
+
{
|
|
2163
|
+
resource: "agent.sessions.runs",
|
|
2164
|
+
method: "deleteFeedback",
|
|
2165
|
+
summary: "Delete Run Feedback",
|
|
2166
|
+
description: `Remove the rating and comment for a run.
|
|
2167
|
+
|
|
2168
|
+
Own-face extension. Use the session id from session creation or listing and the run_id from its events. Requires a readable session and a run belonging to it. Idempotent; returns 204 even when no feedback exists. End users can delete feedback only for their own sessions. Does not delete the run or messages, enter model context, or start another run.`,
|
|
2169
|
+
http: "DELETE",
|
|
2170
|
+
path: "/agent/v1/sessions/{session_id}/runs/{run_id}/feedback",
|
|
2171
|
+
streaming: "no",
|
|
2172
|
+
pagination: false,
|
|
2173
|
+
pathParams: [
|
|
2174
|
+
{
|
|
2175
|
+
name: "session_id",
|
|
2176
|
+
sdkName: "session_id"
|
|
2177
|
+
},
|
|
2178
|
+
{
|
|
2179
|
+
name: "run_id",
|
|
2180
|
+
sdkName: "run_id"
|
|
2181
|
+
}
|
|
2182
|
+
],
|
|
2183
|
+
query: []
|
|
2184
|
+
},
|
|
2185
|
+
{
|
|
2186
|
+
resource: "agent.sessions.runs.feedback",
|
|
2187
|
+
method: "create",
|
|
2188
|
+
summary: "Set Run Feedback",
|
|
2189
|
+
description: `Submit thumbs up or thumbs down for a run, with an optional comment.
|
|
2190
|
+
|
|
2191
|
+
Own-face extension. Use a readable session and a run_id from its events. Each submission replaces the previous rating and comment; omitted or null comment clears it, while created_at is preserved. Comments allow at most 2000 Unicode characters. End users can submit only for their own sessions. Feedback never enters model context or starts a run. For example, submit {"rating":"positive","comment":"Helpful"}. POST follows Managed Agents resource update conventions; the resource remains unique per session and run.`,
|
|
2192
|
+
http: "POST",
|
|
2193
|
+
path: "/agent/v1/sessions/{session_id}/runs/{run_id}/feedback",
|
|
2194
|
+
streaming: "no",
|
|
2195
|
+
pagination: false,
|
|
2196
|
+
pathParams: [
|
|
2197
|
+
{
|
|
2198
|
+
name: "session_id",
|
|
2199
|
+
sdkName: "session_id"
|
|
2200
|
+
},
|
|
2201
|
+
{
|
|
2202
|
+
name: "run_id",
|
|
2203
|
+
sdkName: "run_id"
|
|
2204
|
+
}
|
|
2205
|
+
],
|
|
2206
|
+
query: [],
|
|
2207
|
+
body: {
|
|
2208
|
+
required: true,
|
|
2209
|
+
fields: [
|
|
2210
|
+
{
|
|
2211
|
+
name: "rating",
|
|
2212
|
+
type: "string",
|
|
2213
|
+
enum: [
|
|
2214
|
+
"positive",
|
|
2215
|
+
"negative"
|
|
2216
|
+
],
|
|
2217
|
+
required: true,
|
|
2218
|
+
description: "positive means thumbs up; negative means thumbs down for this run."
|
|
2219
|
+
},
|
|
2220
|
+
{
|
|
2221
|
+
name: "comment",
|
|
2222
|
+
type: "string",
|
|
2223
|
+
required: false,
|
|
2224
|
+
description: "Optional comment, at most 2000 Unicode characters. Omit or send null to clear the previous comment."
|
|
2225
|
+
}
|
|
2226
|
+
]
|
|
2227
|
+
}
|
|
2228
|
+
},
|
|
2162
2229
|
{
|
|
2163
2230
|
resource: "agent.sessions.threads",
|
|
2164
2231
|
method: "list",
|
|
@@ -14897,6 +14964,36 @@ var createClient = (config = {}) => {
|
|
|
14897
14964
|
var client = createClient(createConfig({ baseUrl: "https://api.deepraxis.com" }));
|
|
14898
14965
|
|
|
14899
14966
|
// ../../packages/sdk/typescript/src/generated/sdk.gen.ts
|
|
14967
|
+
var deleteRunFeedback = (options) => (options.client ?? client).delete({
|
|
14968
|
+
security: [{
|
|
14969
|
+
key: "BearerAuth",
|
|
14970
|
+
scheme: "bearer",
|
|
14971
|
+
type: "http"
|
|
14972
|
+
}, {
|
|
14973
|
+
key: "ApiKeyAuth",
|
|
14974
|
+
name: "X-API-Key",
|
|
14975
|
+
type: "apiKey"
|
|
14976
|
+
}],
|
|
14977
|
+
url: "/agent/v1/sessions/{session_id}/runs/{run_id}/feedback",
|
|
14978
|
+
...options
|
|
14979
|
+
});
|
|
14980
|
+
var setRunFeedback = (options) => (options.client ?? client).post({
|
|
14981
|
+
security: [{
|
|
14982
|
+
key: "BearerAuth",
|
|
14983
|
+
scheme: "bearer",
|
|
14984
|
+
type: "http"
|
|
14985
|
+
}, {
|
|
14986
|
+
key: "ApiKeyAuth",
|
|
14987
|
+
name: "X-API-Key",
|
|
14988
|
+
type: "apiKey"
|
|
14989
|
+
}],
|
|
14990
|
+
url: "/agent/v1/sessions/{session_id}/runs/{run_id}/feedback",
|
|
14991
|
+
...options,
|
|
14992
|
+
headers: {
|
|
14993
|
+
"Content-Type": "application/json",
|
|
14994
|
+
...options.headers
|
|
14995
|
+
}
|
|
14996
|
+
});
|
|
14900
14997
|
var listEmbedTokens = (options) => (options?.client ?? client).get({
|
|
14901
14998
|
security: [{
|
|
14902
14999
|
key: "BearerAuth",
|
|
@@ -19798,6 +19895,12 @@ function createAgent(transport) {
|
|
|
19798
19895
|
retrieve: bind(transport, sessionsRetrieve),
|
|
19799
19896
|
retrieveCompact: bind(transport, getSessionCompaction),
|
|
19800
19897
|
retrieveContext: bind(transport, getSessionContext),
|
|
19898
|
+
runs: {
|
|
19899
|
+
deleteFeedback: bind(transport, deleteRunFeedback),
|
|
19900
|
+
feedback: {
|
|
19901
|
+
create: bind(transport, setRunFeedback)
|
|
19902
|
+
}
|
|
19903
|
+
},
|
|
19801
19904
|
threads: {
|
|
19802
19905
|
archive: bind(transport, aliasOperation(sessionsThreadsArchive, { query: { session_id: "query_session_id" } })),
|
|
19803
19906
|
events: {
|
|
@@ -22462,7 +22565,7 @@ function startProgress(ctx, write = (text) => writeOutput({ stderr: text })) {
|
|
|
22462
22565
|
}
|
|
22463
22566
|
|
|
22464
22567
|
// src/main.ts
|
|
22465
|
-
var version = "0.1.0-dev.
|
|
22568
|
+
var version = "0.1.0-dev.6cb2ca2";
|
|
22466
22569
|
var commands = commandTree(operations);
|
|
22467
22570
|
var manual = [["login"], ["logout"], ["whoami"], ["org", "list"], ["org", "switch"], ["api"], ["skill"]];
|
|
22468
22571
|
function route(argv) {
|
package/package.json
CHANGED
|
@@ -1,26 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepraxis/cli",
|
|
3
|
-
"version": "0.1.0-dev.
|
|
3
|
+
"version": "0.1.0-dev.6cb2ca2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"praxis": "dist/praxis.js"
|
|
7
7
|
},
|
|
8
|
-
"description": "
|
|
9
|
-
"license": "
|
|
10
|
-
"repository": {
|
|
11
|
-
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/Deepraxis/Praxis.git",
|
|
13
|
-
"directory": "apps/cli"
|
|
14
|
-
},
|
|
8
|
+
"description": "The official command line for Praxis (知行云): models, agents, sandboxes, search and data from one terminal.",
|
|
9
|
+
"license": "Apache-2.0",
|
|
15
10
|
"engines": {
|
|
16
11
|
"node": ">=20"
|
|
17
12
|
},
|
|
18
|
-
"publishConfig": {
|
|
19
|
-
"access": "public"
|
|
20
|
-
},
|
|
21
13
|
"files": [
|
|
22
14
|
"dist",
|
|
23
15
|
"README.md",
|
|
24
|
-
"LICENSE"
|
|
25
|
-
|
|
16
|
+
"LICENSE",
|
|
17
|
+
"COMMANDS.md"
|
|
18
|
+
],
|
|
19
|
+
"homepage": "https://deepraxis.com",
|
|
20
|
+
"keywords": [
|
|
21
|
+
"praxis",
|
|
22
|
+
"deepraxis",
|
|
23
|
+
"cli",
|
|
24
|
+
"ai",
|
|
25
|
+
"agents",
|
|
26
|
+
"llm",
|
|
27
|
+
"sandbox",
|
|
28
|
+
"ai-agents",
|
|
29
|
+
"claude-code"
|
|
30
|
+
],
|
|
31
|
+
"author": "Deepractice",
|
|
32
|
+
"publishConfig": {
|
|
33
|
+
"access": "public"
|
|
34
|
+
}
|
|
26
35
|
}
|