@deepraxis/cli 0.1.0-dev.7ee6a7d → 0.1.0-dev.9d9e2b6
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 +6 -2
- package/dist/praxis.js +205 -5
- package/package.json +1 -1
package/COMMANDS.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Generated by `bun run commands`. DO NOT EDIT.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
352 HTTP operations; 354 commands including aliases.
|
|
6
6
|
|
|
7
7
|
Environment: `PRAXIS_ENV=develop|production` (dev package defaults to `develop`; stable package defaults to `production`). No `--env` option.
|
|
8
8
|
|
|
@@ -305,7 +305,11 @@ Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <orga
|
|
|
305
305
|
| `praxis organization cost list` | `organization.costs.list` | GET `/organization/v1/costs` | `--starting-at`, `--ending-at`, `--bucket-width`, `--time-zone`, `--group-by`, `--page` |
|
|
306
306
|
| `praxis organization event get <id>` | `organization.events.retrieve` | GET `/organization/v1/events/{id}` | |
|
|
307
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` |
|
|
308
|
+
| `praxis organization feedback create` | `organization.feedback.create` | POST `/organization/v1/feedback` | `--message`, `--contact-email`, `--name`, `--url`, `--associated-event-id`, `--title`, `--type`, `--source` |
|
|
309
|
+
| `praxis organization feedback get <id>` | `organization.feedback.retrieve` | GET `/organization/v1/feedback/{id}` | |
|
|
310
|
+
| `praxis organization feedback list` | `organization.feedback.list` | GET `/organization/v1/feedback` | `--phase`, `--query`, `--param-limit`, `--page` |
|
|
311
|
+
| `praxis organization feedback message create` | `organization.feedback.messages.create` | POST `/organization/v1/feedback/{id}/messages` | `--feedback`, `--body` |
|
|
312
|
+
| `praxis organization feedback message list` | `organization.feedback.messages.list` | GET `/organization/v1/feedback/{id}/messages` | `--feedback`, `--param-limit`, `--page` |
|
|
309
313
|
| `praxis organization usage list` | `organization.usage.list` | GET `/organization/v1/usage` | `--starting-at`, `--ending-at`, `--bucket-width`, `--time-zone`, `--group-by`, `--page` |
|
|
310
314
|
| `praxis sandbox command run <sandbox_id>` | `sandbox.sandboxes.commands.run` | POST `/sandbox/v1/sandboxes/{sandbox_id}/commands` | `--cmd`, `--cwd`, `--timeout-ms` |
|
|
311
315
|
| `praxis sandbox connect <sandboxID>` | `sandbox.sandboxes.connect` | POST `/sandbox/v1/sandboxes/{sandboxID}/connect` | `--timeout`, `--memory` |
|
package/dist/praxis.js
CHANGED
|
@@ -101,7 +101,7 @@ var operations = [
|
|
|
101
101
|
type: "array",
|
|
102
102
|
itemType: "object",
|
|
103
103
|
required: false,
|
|
104
|
-
description: "
|
|
104
|
+
description: "Praxis extension: HTTP, SSE or trusted stdio MCP servers paired with mcp_toolset entries and saved with the agent version."
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
107
|
name: "metadata",
|
|
@@ -241,7 +241,7 @@ across all toolsets allowed.`
|
|
|
241
241
|
type: "array",
|
|
242
242
|
itemType: "object",
|
|
243
243
|
required: false,
|
|
244
|
-
description: "
|
|
244
|
+
description: "Praxis extension: HTTP, SSE or trusted stdio MCP servers paired with mcp_toolset entries and saved with the agent version."
|
|
245
245
|
},
|
|
246
246
|
{
|
|
247
247
|
name: "metadata",
|
|
@@ -1499,7 +1499,7 @@ owning account only.`
|
|
|
1499
1499
|
resource: "agent.sessions",
|
|
1500
1500
|
method: "create",
|
|
1501
1501
|
summary: "Create session",
|
|
1502
|
-
description: `Create a session: one conversation with an agent, running on a machine. Pass agent as an agent id (latest version) or {id, version, type:"agent"}. Unlike Anthropic Managed Agents, omit environment_id to get a light machine, unless computer_id (explicit, or the agent's default) selects a Computer; pass environment_id for a sandbox recipe. Optional model must be one of the agent's allowed models; optional thinking is {effort: low|medium|high|xhigh|none} or null, where null inherits the agent default and then the model default (none requires the model to allow disabling thinking). Selections are saved before initial_events run; invalid ones return 400 invalid_request_error. Inline agent overrides are not supported. Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. Omitted budget defaults to USD 20; null removes the limit, and a limit object uses a positive integer string of USD cents. Up to 500 file resources can be attached. Use initial_events to send a first user.message in this request, or send messages afterwards with sessions.events.send. The returned status can still be idle before initial events run; read agent.message and the subsequent session.status_idle event to confirm completion.`,
|
|
1502
|
+
description: `Create a session: one conversation with an agent, running on a machine. Pass agent as an agent id (latest version) or {id, version, type:"agent"}. Unlike Anthropic Managed Agents, omit environment_id to get a light machine, unless computer_id (explicit, or the agent's default) selects a Computer; pass environment_id for a sandbox recipe. Optional model must be one of the agent's allowed models; optional thinking is {effort: low|medium|high|xhigh|max|none} or null, where null inherits the agent default and then the model default (none requires the model to allow disabling thinking). Selections are saved before initial_events run; invalid ones return 400 invalid_request_error. Inline agent overrides are not supported. Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. Omitted budget defaults to USD 20; null removes the limit, and a limit object uses a positive integer string of USD cents. Up to 500 file resources can be attached. Use initial_events to send a first user.message in this request, or send messages afterwards with sessions.events.send. The returned status can still be idle before initial events run; read agent.message and the subsequent session.status_idle event to confirm completion.`,
|
|
1503
1503
|
http: "POST",
|
|
1504
1504
|
path: "/agent/v1/sessions",
|
|
1505
1505
|
streaming: "no",
|
|
@@ -11666,6 +11666,50 @@ for more details.`
|
|
|
11666
11666
|
],
|
|
11667
11667
|
query: []
|
|
11668
11668
|
},
|
|
11669
|
+
{
|
|
11670
|
+
resource: "organization.feedback",
|
|
11671
|
+
method: "list",
|
|
11672
|
+
summary: "List your organization's feedback",
|
|
11673
|
+
description: "Feedback submitted by your organization, newest first, with phase and unread state. Filter by phase and search titles and message text (case-insensitive). Page with next_page. Requires a valid API key, Console session, or machine token of the organization.",
|
|
11674
|
+
http: "GET",
|
|
11675
|
+
path: "/organization/v1/feedback",
|
|
11676
|
+
streaming: "no",
|
|
11677
|
+
pagination: false,
|
|
11678
|
+
pathParams: [],
|
|
11679
|
+
query: [
|
|
11680
|
+
{
|
|
11681
|
+
name: "phase",
|
|
11682
|
+
type: "string",
|
|
11683
|
+
enum: [
|
|
11684
|
+
"open",
|
|
11685
|
+
"awaiting_customer",
|
|
11686
|
+
"in_progress",
|
|
11687
|
+
"resolved",
|
|
11688
|
+
"closed"
|
|
11689
|
+
],
|
|
11690
|
+
required: false,
|
|
11691
|
+
description: "Only feedback in this phase: open, awaiting_customer, in_progress, resolved or closed; see the phase field of a feedback for what each means."
|
|
11692
|
+
},
|
|
11693
|
+
{
|
|
11694
|
+
name: "query",
|
|
11695
|
+
type: "string",
|
|
11696
|
+
required: false,
|
|
11697
|
+
description: "Case-insensitive text matched against titles and message bodies."
|
|
11698
|
+
},
|
|
11699
|
+
{
|
|
11700
|
+
name: "limit",
|
|
11701
|
+
type: "integer",
|
|
11702
|
+
required: false,
|
|
11703
|
+
description: "Items per page, 1 to 100."
|
|
11704
|
+
},
|
|
11705
|
+
{
|
|
11706
|
+
name: "page",
|
|
11707
|
+
type: "string",
|
|
11708
|
+
required: false,
|
|
11709
|
+
description: "Opaque cursor from next_page of the previous response."
|
|
11710
|
+
}
|
|
11711
|
+
]
|
|
11712
|
+
},
|
|
11669
11713
|
{
|
|
11670
11714
|
resource: "organization.feedback",
|
|
11671
11715
|
method: "create",
|
|
@@ -11710,6 +11754,18 @@ for more details.`
|
|
|
11710
11754
|
required: false,
|
|
11711
11755
|
description: "X-Request-Id from the failed response or the related error event ID."
|
|
11712
11756
|
},
|
|
11757
|
+
{
|
|
11758
|
+
name: "title",
|
|
11759
|
+
type: "string",
|
|
11760
|
+
required: false,
|
|
11761
|
+
description: "Short summary shown in the feedback list; at most 200 Unicode code points."
|
|
11762
|
+
},
|
|
11763
|
+
{
|
|
11764
|
+
name: "type",
|
|
11765
|
+
type: "string",
|
|
11766
|
+
required: false,
|
|
11767
|
+
description: "Feedback type key enabled in the help settings, such as issue, suggestion, billing or other. Unknown or disabled keys are rejected with INVALID_PARAMS."
|
|
11768
|
+
},
|
|
11713
11769
|
{
|
|
11714
11770
|
name: "tags",
|
|
11715
11771
|
type: "object",
|
|
@@ -11742,6 +11798,88 @@ for more details.`
|
|
|
11742
11798
|
]
|
|
11743
11799
|
}
|
|
11744
11800
|
},
|
|
11801
|
+
{
|
|
11802
|
+
resource: "organization.feedback",
|
|
11803
|
+
method: "retrieve",
|
|
11804
|
+
summary: "Get one of your organization's feedback",
|
|
11805
|
+
description: "Read one feedback submitted by your organization with its current phase and first-response timing. Another organization's feedback answers 404 FEEDBACK_NOT_FOUND exactly like a missing one.",
|
|
11806
|
+
http: "GET",
|
|
11807
|
+
path: "/organization/v1/feedback/{id}",
|
|
11808
|
+
streaming: "no",
|
|
11809
|
+
pagination: false,
|
|
11810
|
+
pathParams: [
|
|
11811
|
+
{
|
|
11812
|
+
name: "id",
|
|
11813
|
+
sdkName: "id"
|
|
11814
|
+
}
|
|
11815
|
+
],
|
|
11816
|
+
query: []
|
|
11817
|
+
},
|
|
11818
|
+
{
|
|
11819
|
+
resource: "organization.feedback.messages",
|
|
11820
|
+
method: "list",
|
|
11821
|
+
summary: "List the messages of a feedback",
|
|
11822
|
+
description: "The conversation of one feedback in time order: your messages, support replies and system events. Internal support notes are never returned. Page with next_page.",
|
|
11823
|
+
http: "GET",
|
|
11824
|
+
path: "/organization/v1/feedback/{id}/messages",
|
|
11825
|
+
streaming: "no",
|
|
11826
|
+
pagination: false,
|
|
11827
|
+
pathParams: [
|
|
11828
|
+
{
|
|
11829
|
+
name: "id",
|
|
11830
|
+
sdkName: "id"
|
|
11831
|
+
}
|
|
11832
|
+
],
|
|
11833
|
+
query: [
|
|
11834
|
+
{
|
|
11835
|
+
name: "limit",
|
|
11836
|
+
type: "integer",
|
|
11837
|
+
required: false,
|
|
11838
|
+
description: "Items per page, 1 to 100."
|
|
11839
|
+
},
|
|
11840
|
+
{
|
|
11841
|
+
name: "page",
|
|
11842
|
+
type: "string",
|
|
11843
|
+
required: false,
|
|
11844
|
+
description: "Opaque cursor from next_page of the previous response."
|
|
11845
|
+
}
|
|
11846
|
+
]
|
|
11847
|
+
},
|
|
11848
|
+
{
|
|
11849
|
+
resource: "organization.feedback.messages",
|
|
11850
|
+
method: "create",
|
|
11851
|
+
summary: "Reply on a feedback",
|
|
11852
|
+
description: "Add your message to a feedback conversation, for example to answer a question from support. A reply while the phase is awaiting_customer moves it to in_progress and notifies support.",
|
|
11853
|
+
http: "POST",
|
|
11854
|
+
path: "/organization/v1/feedback/{id}/messages",
|
|
11855
|
+
streaming: "no",
|
|
11856
|
+
pagination: false,
|
|
11857
|
+
pathParams: [
|
|
11858
|
+
{
|
|
11859
|
+
name: "id",
|
|
11860
|
+
sdkName: "id"
|
|
11861
|
+
}
|
|
11862
|
+
],
|
|
11863
|
+
query: [],
|
|
11864
|
+
body: {
|
|
11865
|
+
required: true,
|
|
11866
|
+
fields: [
|
|
11867
|
+
{
|
|
11868
|
+
name: "body",
|
|
11869
|
+
type: "string",
|
|
11870
|
+
required: true,
|
|
11871
|
+
description: "Markdown text; at most 4096 Unicode code points."
|
|
11872
|
+
},
|
|
11873
|
+
{
|
|
11874
|
+
name: "attachments",
|
|
11875
|
+
type: "array",
|
|
11876
|
+
itemType: "object",
|
|
11877
|
+
required: false,
|
|
11878
|
+
description: "Up to five attachments; decoded bytes must not exceed 10 MiB each or 20 MiB in total."
|
|
11879
|
+
}
|
|
11880
|
+
]
|
|
11881
|
+
}
|
|
11882
|
+
},
|
|
11745
11883
|
{
|
|
11746
11884
|
resource: "organization.usage",
|
|
11747
11885
|
method: "list",
|
|
@@ -16043,6 +16181,19 @@ var countResponseInputTokens = (options) => (options.client ?? client).post({
|
|
|
16043
16181
|
...options.headers
|
|
16044
16182
|
}
|
|
16045
16183
|
});
|
|
16184
|
+
var listOrganizationFeedback = (options) => (options?.client ?? client).get({
|
|
16185
|
+
security: [{
|
|
16186
|
+
key: "BearerAuth",
|
|
16187
|
+
scheme: "bearer",
|
|
16188
|
+
type: "http"
|
|
16189
|
+
}, {
|
|
16190
|
+
key: "ApiKeyAuth",
|
|
16191
|
+
name: "X-API-Key",
|
|
16192
|
+
type: "apiKey"
|
|
16193
|
+
}],
|
|
16194
|
+
url: "/organization/v1/feedback",
|
|
16195
|
+
...options
|
|
16196
|
+
});
|
|
16046
16197
|
var createOrganizationFeedback = (options) => (options.client ?? client).post({
|
|
16047
16198
|
security: [{
|
|
16048
16199
|
key: "BearerAuth",
|
|
@@ -16060,6 +16211,49 @@ var createOrganizationFeedback = (options) => (options.client ?? client).post({
|
|
|
16060
16211
|
...options.headers
|
|
16061
16212
|
}
|
|
16062
16213
|
});
|
|
16214
|
+
var getOrganizationFeedback = (options) => (options.client ?? client).get({
|
|
16215
|
+
security: [{
|
|
16216
|
+
key: "BearerAuth",
|
|
16217
|
+
scheme: "bearer",
|
|
16218
|
+
type: "http"
|
|
16219
|
+
}, {
|
|
16220
|
+
key: "ApiKeyAuth",
|
|
16221
|
+
name: "X-API-Key",
|
|
16222
|
+
type: "apiKey"
|
|
16223
|
+
}],
|
|
16224
|
+
url: "/organization/v1/feedback/{id}",
|
|
16225
|
+
...options
|
|
16226
|
+
});
|
|
16227
|
+
var listOrganizationFeedbackMessages = (options) => (options.client ?? client).get({
|
|
16228
|
+
security: [{
|
|
16229
|
+
key: "BearerAuth",
|
|
16230
|
+
scheme: "bearer",
|
|
16231
|
+
type: "http"
|
|
16232
|
+
}, {
|
|
16233
|
+
key: "ApiKeyAuth",
|
|
16234
|
+
name: "X-API-Key",
|
|
16235
|
+
type: "apiKey"
|
|
16236
|
+
}],
|
|
16237
|
+
url: "/organization/v1/feedback/{id}/messages",
|
|
16238
|
+
...options
|
|
16239
|
+
});
|
|
16240
|
+
var createOrganizationFeedbackMessage = (options) => (options.client ?? client).post({
|
|
16241
|
+
security: [{
|
|
16242
|
+
key: "BearerAuth",
|
|
16243
|
+
scheme: "bearer",
|
|
16244
|
+
type: "http"
|
|
16245
|
+
}, {
|
|
16246
|
+
key: "ApiKeyAuth",
|
|
16247
|
+
name: "X-API-Key",
|
|
16248
|
+
type: "apiKey"
|
|
16249
|
+
}],
|
|
16250
|
+
url: "/organization/v1/feedback/{id}/messages",
|
|
16251
|
+
...options,
|
|
16252
|
+
headers: {
|
|
16253
|
+
"Content-Type": "application/json",
|
|
16254
|
+
...options.headers
|
|
16255
|
+
}
|
|
16256
|
+
});
|
|
16063
16257
|
var listOrganizationCosts = (options) => (options.client ?? client).get({
|
|
16064
16258
|
security: [{
|
|
16065
16259
|
key: "BearerAuth",
|
|
@@ -20375,7 +20569,13 @@ function createOrganization(transport) {
|
|
|
20375
20569
|
retrieve: bind(transport, getOrganizationEvent)
|
|
20376
20570
|
},
|
|
20377
20571
|
feedback: {
|
|
20378
|
-
create: bind(transport, createOrganizationFeedback)
|
|
20572
|
+
create: bind(transport, createOrganizationFeedback),
|
|
20573
|
+
list: bind(transport, listOrganizationFeedback),
|
|
20574
|
+
messages: {
|
|
20575
|
+
create: bind(transport, createOrganizationFeedbackMessage),
|
|
20576
|
+
list: bind(transport, listOrganizationFeedbackMessages)
|
|
20577
|
+
},
|
|
20578
|
+
retrieve: bind(transport, getOrganizationFeedback)
|
|
20379
20579
|
},
|
|
20380
20580
|
usage: {
|
|
20381
20581
|
list: bind(transport, listOrganizationUsage)
|
|
@@ -22565,7 +22765,7 @@ function startProgress(ctx, write = (text) => writeOutput({ stderr: text })) {
|
|
|
22565
22765
|
}
|
|
22566
22766
|
|
|
22567
22767
|
// src/main.ts
|
|
22568
|
-
var version = "0.1.0-dev.
|
|
22768
|
+
var version = "0.1.0-dev.9d9e2b6";
|
|
22569
22769
|
var commands = commandTree(operations);
|
|
22570
22770
|
var manual = [["login"], ["logout"], ["whoami"], ["org", "list"], ["org", "switch"], ["api"], ["skill"]];
|
|
22571
22771
|
function route(argv) {
|