@deepraxis/sdk 0.1.0-dev.7ee6a7d → 0.1.0-dev.c6c496f
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/METHODS.md +10 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +26 -2
- package/dist/generated/sdk.gen.js +77 -1
- package/dist/generated/types.gen.d.ts +751 -73
- package/dist/operations.generated.d.ts +112 -3
- package/dist/operations.generated.js +141 -3
- package/dist/resources.generated.d.ts +144 -32
- package/dist/resources.generated.js +6 -0
- package/package.json +1 -1
|
@@ -74,7 +74,7 @@ export declare const operations: readonly [{
|
|
|
74
74
|
readonly type: "array";
|
|
75
75
|
readonly itemType: "object";
|
|
76
76
|
readonly required: false;
|
|
77
|
-
readonly description: "
|
|
77
|
+
readonly description: "Praxis extension: HTTP, SSE or trusted stdio MCP servers paired with mcp_toolset entries and saved with the agent version.";
|
|
78
78
|
}, {
|
|
79
79
|
readonly name: "metadata";
|
|
80
80
|
readonly type: "object";
|
|
@@ -187,7 +187,7 @@ export declare const operations: readonly [{
|
|
|
187
187
|
readonly type: "array";
|
|
188
188
|
readonly itemType: "object";
|
|
189
189
|
readonly required: false;
|
|
190
|
-
readonly description: "
|
|
190
|
+
readonly description: "Praxis extension: HTTP, SSE or trusted stdio MCP servers paired with mcp_toolset entries and saved with the agent version.";
|
|
191
191
|
}, {
|
|
192
192
|
readonly name: "metadata";
|
|
193
193
|
readonly type: "object";
|
|
@@ -1164,7 +1164,7 @@ export declare const operations: readonly [{
|
|
|
1164
1164
|
readonly resource: "agent.sessions";
|
|
1165
1165
|
readonly method: "create";
|
|
1166
1166
|
readonly summary: "Create session";
|
|
1167
|
-
readonly 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.";
|
|
1167
|
+
readonly 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.";
|
|
1168
1168
|
readonly http: "POST";
|
|
1169
1169
|
readonly path: "/agent/v1/sessions";
|
|
1170
1170
|
readonly streaming: "no";
|
|
@@ -9105,6 +9105,38 @@ export declare const operations: readonly [{
|
|
|
9105
9105
|
readonly sdkName: "id";
|
|
9106
9106
|
}];
|
|
9107
9107
|
readonly query: readonly [];
|
|
9108
|
+
}, {
|
|
9109
|
+
readonly resource: "organization.feedback";
|
|
9110
|
+
readonly method: "list";
|
|
9111
|
+
readonly summary: "List your organization's feedback";
|
|
9112
|
+
readonly 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.";
|
|
9113
|
+
readonly http: "GET";
|
|
9114
|
+
readonly path: "/organization/v1/feedback";
|
|
9115
|
+
readonly streaming: "no";
|
|
9116
|
+
readonly pagination: false;
|
|
9117
|
+
readonly pathParams: readonly [];
|
|
9118
|
+
readonly query: readonly [{
|
|
9119
|
+
readonly name: "phase";
|
|
9120
|
+
readonly type: "string";
|
|
9121
|
+
readonly enum: readonly ["open", "awaiting_customer", "in_progress", "resolved", "closed"];
|
|
9122
|
+
readonly required: false;
|
|
9123
|
+
readonly 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.";
|
|
9124
|
+
}, {
|
|
9125
|
+
readonly name: "query";
|
|
9126
|
+
readonly type: "string";
|
|
9127
|
+
readonly required: false;
|
|
9128
|
+
readonly description: "Case-insensitive text matched against titles and message bodies.";
|
|
9129
|
+
}, {
|
|
9130
|
+
readonly name: "limit";
|
|
9131
|
+
readonly type: "integer";
|
|
9132
|
+
readonly required: false;
|
|
9133
|
+
readonly description: "Items per page, 1 to 100.";
|
|
9134
|
+
}, {
|
|
9135
|
+
readonly name: "page";
|
|
9136
|
+
readonly type: "string";
|
|
9137
|
+
readonly required: false;
|
|
9138
|
+
readonly description: "Opaque cursor from next_page of the previous response.";
|
|
9139
|
+
}];
|
|
9108
9140
|
}, {
|
|
9109
9141
|
readonly resource: "organization.feedback";
|
|
9110
9142
|
readonly method: "create";
|
|
@@ -9143,6 +9175,16 @@ export declare const operations: readonly [{
|
|
|
9143
9175
|
readonly type: "string";
|
|
9144
9176
|
readonly required: false;
|
|
9145
9177
|
readonly description: "X-Request-Id from the failed response or the related error event ID.";
|
|
9178
|
+
}, {
|
|
9179
|
+
readonly name: "title";
|
|
9180
|
+
readonly type: "string";
|
|
9181
|
+
readonly required: false;
|
|
9182
|
+
readonly description: "Short summary shown in the feedback list; at most 200 Unicode code points.";
|
|
9183
|
+
}, {
|
|
9184
|
+
readonly name: "type";
|
|
9185
|
+
readonly type: "string";
|
|
9186
|
+
readonly required: false;
|
|
9187
|
+
readonly 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.";
|
|
9146
9188
|
}, {
|
|
9147
9189
|
readonly name: "tags";
|
|
9148
9190
|
readonly type: "object";
|
|
@@ -9167,6 +9209,73 @@ export declare const operations: readonly [{
|
|
|
9167
9209
|
readonly description: "Up to five attachments; decoded bytes must not exceed 10 MiB per attachment or 20 MiB in total.";
|
|
9168
9210
|
}];
|
|
9169
9211
|
};
|
|
9212
|
+
}, {
|
|
9213
|
+
readonly resource: "organization.feedback";
|
|
9214
|
+
readonly method: "retrieve";
|
|
9215
|
+
readonly summary: "Get one of your organization's feedback";
|
|
9216
|
+
readonly 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.";
|
|
9217
|
+
readonly http: "GET";
|
|
9218
|
+
readonly path: "/organization/v1/feedback/{id}";
|
|
9219
|
+
readonly streaming: "no";
|
|
9220
|
+
readonly pagination: false;
|
|
9221
|
+
readonly pathParams: readonly [{
|
|
9222
|
+
readonly name: "id";
|
|
9223
|
+
readonly sdkName: "id";
|
|
9224
|
+
}];
|
|
9225
|
+
readonly query: readonly [];
|
|
9226
|
+
}, {
|
|
9227
|
+
readonly resource: "organization.feedback.messages";
|
|
9228
|
+
readonly method: "list";
|
|
9229
|
+
readonly summary: "List the messages of a feedback";
|
|
9230
|
+
readonly 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.";
|
|
9231
|
+
readonly http: "GET";
|
|
9232
|
+
readonly path: "/organization/v1/feedback/{id}/messages";
|
|
9233
|
+
readonly streaming: "no";
|
|
9234
|
+
readonly pagination: false;
|
|
9235
|
+
readonly pathParams: readonly [{
|
|
9236
|
+
readonly name: "id";
|
|
9237
|
+
readonly sdkName: "id";
|
|
9238
|
+
}];
|
|
9239
|
+
readonly query: readonly [{
|
|
9240
|
+
readonly name: "limit";
|
|
9241
|
+
readonly type: "integer";
|
|
9242
|
+
readonly required: false;
|
|
9243
|
+
readonly description: "Items per page, 1 to 100.";
|
|
9244
|
+
}, {
|
|
9245
|
+
readonly name: "page";
|
|
9246
|
+
readonly type: "string";
|
|
9247
|
+
readonly required: false;
|
|
9248
|
+
readonly description: "Opaque cursor from next_page of the previous response.";
|
|
9249
|
+
}];
|
|
9250
|
+
}, {
|
|
9251
|
+
readonly resource: "organization.feedback.messages";
|
|
9252
|
+
readonly method: "create";
|
|
9253
|
+
readonly summary: "Reply on a feedback";
|
|
9254
|
+
readonly 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.";
|
|
9255
|
+
readonly http: "POST";
|
|
9256
|
+
readonly path: "/organization/v1/feedback/{id}/messages";
|
|
9257
|
+
readonly streaming: "no";
|
|
9258
|
+
readonly pagination: false;
|
|
9259
|
+
readonly pathParams: readonly [{
|
|
9260
|
+
readonly name: "id";
|
|
9261
|
+
readonly sdkName: "id";
|
|
9262
|
+
}];
|
|
9263
|
+
readonly query: readonly [];
|
|
9264
|
+
readonly body: {
|
|
9265
|
+
readonly required: true;
|
|
9266
|
+
readonly fields: readonly [{
|
|
9267
|
+
readonly name: "body";
|
|
9268
|
+
readonly type: "string";
|
|
9269
|
+
readonly required: true;
|
|
9270
|
+
readonly description: "Markdown text; at most 4096 Unicode code points.";
|
|
9271
|
+
}, {
|
|
9272
|
+
readonly name: "attachments";
|
|
9273
|
+
readonly type: "array";
|
|
9274
|
+
readonly itemType: "object";
|
|
9275
|
+
readonly required: false;
|
|
9276
|
+
readonly description: "Up to five attachments; decoded bytes must not exceed 10 MiB each or 20 MiB in total.";
|
|
9277
|
+
}];
|
|
9278
|
+
};
|
|
9170
9279
|
}, {
|
|
9171
9280
|
readonly resource: "organization.usage";
|
|
9172
9281
|
readonly method: "list";
|
|
@@ -94,7 +94,7 @@ export const operations = [
|
|
|
94
94
|
"type": "array",
|
|
95
95
|
"itemType": "object",
|
|
96
96
|
"required": false,
|
|
97
|
-
"description": "
|
|
97
|
+
"description": "Praxis extension: HTTP, SSE or trusted stdio MCP servers paired with mcp_toolset entries and saved with the agent version."
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
"name": "metadata",
|
|
@@ -233,7 +233,7 @@ export const operations = [
|
|
|
233
233
|
"type": "array",
|
|
234
234
|
"itemType": "object",
|
|
235
235
|
"required": false,
|
|
236
|
-
"description": "
|
|
236
|
+
"description": "Praxis extension: HTTP, SSE or trusted stdio MCP servers paired with mcp_toolset entries and saved with the agent version."
|
|
237
237
|
},
|
|
238
238
|
{
|
|
239
239
|
"name": "metadata",
|
|
@@ -1439,7 +1439,7 @@ export const operations = [
|
|
|
1439
1439
|
"resource": "agent.sessions",
|
|
1440
1440
|
"method": "create",
|
|
1441
1441
|
"summary": "Create session",
|
|
1442
|
-
"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.",
|
|
1442
|
+
"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.",
|
|
1443
1443
|
"http": "POST",
|
|
1444
1444
|
"path": "/agent/v1/sessions",
|
|
1445
1445
|
"streaming": "no",
|
|
@@ -11364,6 +11364,50 @@ export const operations = [
|
|
|
11364
11364
|
],
|
|
11365
11365
|
"query": []
|
|
11366
11366
|
},
|
|
11367
|
+
{
|
|
11368
|
+
"resource": "organization.feedback",
|
|
11369
|
+
"method": "list",
|
|
11370
|
+
"summary": "List your organization's feedback",
|
|
11371
|
+
"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.",
|
|
11372
|
+
"http": "GET",
|
|
11373
|
+
"path": "/organization/v1/feedback",
|
|
11374
|
+
"streaming": "no",
|
|
11375
|
+
"pagination": false,
|
|
11376
|
+
"pathParams": [],
|
|
11377
|
+
"query": [
|
|
11378
|
+
{
|
|
11379
|
+
"name": "phase",
|
|
11380
|
+
"type": "string",
|
|
11381
|
+
"enum": [
|
|
11382
|
+
"open",
|
|
11383
|
+
"awaiting_customer",
|
|
11384
|
+
"in_progress",
|
|
11385
|
+
"resolved",
|
|
11386
|
+
"closed"
|
|
11387
|
+
],
|
|
11388
|
+
"required": false,
|
|
11389
|
+
"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."
|
|
11390
|
+
},
|
|
11391
|
+
{
|
|
11392
|
+
"name": "query",
|
|
11393
|
+
"type": "string",
|
|
11394
|
+
"required": false,
|
|
11395
|
+
"description": "Case-insensitive text matched against titles and message bodies."
|
|
11396
|
+
},
|
|
11397
|
+
{
|
|
11398
|
+
"name": "limit",
|
|
11399
|
+
"type": "integer",
|
|
11400
|
+
"required": false,
|
|
11401
|
+
"description": "Items per page, 1 to 100."
|
|
11402
|
+
},
|
|
11403
|
+
{
|
|
11404
|
+
"name": "page",
|
|
11405
|
+
"type": "string",
|
|
11406
|
+
"required": false,
|
|
11407
|
+
"description": "Opaque cursor from next_page of the previous response."
|
|
11408
|
+
}
|
|
11409
|
+
]
|
|
11410
|
+
},
|
|
11367
11411
|
{
|
|
11368
11412
|
"resource": "organization.feedback",
|
|
11369
11413
|
"method": "create",
|
|
@@ -11408,6 +11452,18 @@ export const operations = [
|
|
|
11408
11452
|
"required": false,
|
|
11409
11453
|
"description": "X-Request-Id from the failed response or the related error event ID."
|
|
11410
11454
|
},
|
|
11455
|
+
{
|
|
11456
|
+
"name": "title",
|
|
11457
|
+
"type": "string",
|
|
11458
|
+
"required": false,
|
|
11459
|
+
"description": "Short summary shown in the feedback list; at most 200 Unicode code points."
|
|
11460
|
+
},
|
|
11461
|
+
{
|
|
11462
|
+
"name": "type",
|
|
11463
|
+
"type": "string",
|
|
11464
|
+
"required": false,
|
|
11465
|
+
"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."
|
|
11466
|
+
},
|
|
11411
11467
|
{
|
|
11412
11468
|
"name": "tags",
|
|
11413
11469
|
"type": "object",
|
|
@@ -11440,6 +11496,88 @@ export const operations = [
|
|
|
11440
11496
|
]
|
|
11441
11497
|
}
|
|
11442
11498
|
},
|
|
11499
|
+
{
|
|
11500
|
+
"resource": "organization.feedback",
|
|
11501
|
+
"method": "retrieve",
|
|
11502
|
+
"summary": "Get one of your organization's feedback",
|
|
11503
|
+
"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.",
|
|
11504
|
+
"http": "GET",
|
|
11505
|
+
"path": "/organization/v1/feedback/{id}",
|
|
11506
|
+
"streaming": "no",
|
|
11507
|
+
"pagination": false,
|
|
11508
|
+
"pathParams": [
|
|
11509
|
+
{
|
|
11510
|
+
"name": "id",
|
|
11511
|
+
"sdkName": "id"
|
|
11512
|
+
}
|
|
11513
|
+
],
|
|
11514
|
+
"query": []
|
|
11515
|
+
},
|
|
11516
|
+
{
|
|
11517
|
+
"resource": "organization.feedback.messages",
|
|
11518
|
+
"method": "list",
|
|
11519
|
+
"summary": "List the messages of a feedback",
|
|
11520
|
+
"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.",
|
|
11521
|
+
"http": "GET",
|
|
11522
|
+
"path": "/organization/v1/feedback/{id}/messages",
|
|
11523
|
+
"streaming": "no",
|
|
11524
|
+
"pagination": false,
|
|
11525
|
+
"pathParams": [
|
|
11526
|
+
{
|
|
11527
|
+
"name": "id",
|
|
11528
|
+
"sdkName": "id"
|
|
11529
|
+
}
|
|
11530
|
+
],
|
|
11531
|
+
"query": [
|
|
11532
|
+
{
|
|
11533
|
+
"name": "limit",
|
|
11534
|
+
"type": "integer",
|
|
11535
|
+
"required": false,
|
|
11536
|
+
"description": "Items per page, 1 to 100."
|
|
11537
|
+
},
|
|
11538
|
+
{
|
|
11539
|
+
"name": "page",
|
|
11540
|
+
"type": "string",
|
|
11541
|
+
"required": false,
|
|
11542
|
+
"description": "Opaque cursor from next_page of the previous response."
|
|
11543
|
+
}
|
|
11544
|
+
]
|
|
11545
|
+
},
|
|
11546
|
+
{
|
|
11547
|
+
"resource": "organization.feedback.messages",
|
|
11548
|
+
"method": "create",
|
|
11549
|
+
"summary": "Reply on a feedback",
|
|
11550
|
+
"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.",
|
|
11551
|
+
"http": "POST",
|
|
11552
|
+
"path": "/organization/v1/feedback/{id}/messages",
|
|
11553
|
+
"streaming": "no",
|
|
11554
|
+
"pagination": false,
|
|
11555
|
+
"pathParams": [
|
|
11556
|
+
{
|
|
11557
|
+
"name": "id",
|
|
11558
|
+
"sdkName": "id"
|
|
11559
|
+
}
|
|
11560
|
+
],
|
|
11561
|
+
"query": [],
|
|
11562
|
+
"body": {
|
|
11563
|
+
"required": true,
|
|
11564
|
+
"fields": [
|
|
11565
|
+
{
|
|
11566
|
+
"name": "body",
|
|
11567
|
+
"type": "string",
|
|
11568
|
+
"required": true,
|
|
11569
|
+
"description": "Markdown text; at most 4096 Unicode code points."
|
|
11570
|
+
},
|
|
11571
|
+
{
|
|
11572
|
+
"name": "attachments",
|
|
11573
|
+
"type": "array",
|
|
11574
|
+
"itemType": "object",
|
|
11575
|
+
"required": false,
|
|
11576
|
+
"description": "Up to five attachments; decoded bytes must not exceed 10 MiB each or 20 MiB in total."
|
|
11577
|
+
}
|
|
11578
|
+
]
|
|
11579
|
+
}
|
|
11580
|
+
},
|
|
11443
11581
|
{
|
|
11444
11582
|
"resource": "organization.usage",
|
|
11445
11583
|
"method": "list",
|