@agent-os-sdk/client 0.9.36 → 0.9.38
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/dist/generated/openapi.d.ts +276 -0
- package/dist/generated/openapi.d.ts.map +1 -1
- package/dist/modules/agents.d.ts +10 -2
- package/dist/modules/agents.d.ts.map +1 -1
- package/dist/modules/agents.js +6 -0
- package/dist/modules/presets.js +2 -2
- package/dist/modules/runs.d.ts +2 -2
- package/dist/modules/runs.d.ts.map +1 -1
- package/dist/modules/runs.js +2 -2
- package/package.json +1 -1
|
@@ -1117,6 +1117,65 @@ export interface paths {
|
|
|
1117
1117
|
patch?: never;
|
|
1118
1118
|
trace?: never;
|
|
1119
1119
|
};
|
|
1120
|
+
"/v1/api/agents/provision": {
|
|
1121
|
+
parameters: {
|
|
1122
|
+
query?: never;
|
|
1123
|
+
header?: never;
|
|
1124
|
+
path?: never;
|
|
1125
|
+
cookie?: never;
|
|
1126
|
+
};
|
|
1127
|
+
get?: never;
|
|
1128
|
+
put?: never;
|
|
1129
|
+
post: {
|
|
1130
|
+
parameters: {
|
|
1131
|
+
query?: never;
|
|
1132
|
+
header?: never;
|
|
1133
|
+
path?: never;
|
|
1134
|
+
cookie?: never;
|
|
1135
|
+
};
|
|
1136
|
+
requestBody?: {
|
|
1137
|
+
content: {
|
|
1138
|
+
"application/json": components["schemas"]["ProvisionAgentRequest"];
|
|
1139
|
+
"text/json": components["schemas"]["ProvisionAgentRequest"];
|
|
1140
|
+
"application/*+json": components["schemas"]["ProvisionAgentRequest"];
|
|
1141
|
+
};
|
|
1142
|
+
};
|
|
1143
|
+
responses: {
|
|
1144
|
+
/** @description Created */
|
|
1145
|
+
201: {
|
|
1146
|
+
headers: {
|
|
1147
|
+
[name: string]: unknown;
|
|
1148
|
+
};
|
|
1149
|
+
content: {
|
|
1150
|
+
"application/json": components["schemas"]["ProvisionAgentResponse"];
|
|
1151
|
+
};
|
|
1152
|
+
};
|
|
1153
|
+
/** @description Bad Request */
|
|
1154
|
+
400: {
|
|
1155
|
+
headers: {
|
|
1156
|
+
[name: string]: unknown;
|
|
1157
|
+
};
|
|
1158
|
+
content: {
|
|
1159
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
1160
|
+
};
|
|
1161
|
+
};
|
|
1162
|
+
/** @description Unauthorized */
|
|
1163
|
+
401: {
|
|
1164
|
+
headers: {
|
|
1165
|
+
[name: string]: unknown;
|
|
1166
|
+
};
|
|
1167
|
+
content: {
|
|
1168
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
1169
|
+
};
|
|
1170
|
+
};
|
|
1171
|
+
};
|
|
1172
|
+
};
|
|
1173
|
+
delete?: never;
|
|
1174
|
+
options?: never;
|
|
1175
|
+
head?: never;
|
|
1176
|
+
patch?: never;
|
|
1177
|
+
trace?: never;
|
|
1178
|
+
};
|
|
1120
1179
|
"/v1/api/agents/{id}": {
|
|
1121
1180
|
parameters: {
|
|
1122
1181
|
query?: never;
|
|
@@ -1296,6 +1355,69 @@ export interface paths {
|
|
|
1296
1355
|
};
|
|
1297
1356
|
trace?: never;
|
|
1298
1357
|
};
|
|
1358
|
+
"/v1/api/agents/{id}/draft-surface": {
|
|
1359
|
+
parameters: {
|
|
1360
|
+
query?: never;
|
|
1361
|
+
header?: never;
|
|
1362
|
+
path?: never;
|
|
1363
|
+
cookie?: never;
|
|
1364
|
+
};
|
|
1365
|
+
/** Returns the canonical draft surface/readiness for the current saved draft revision. */
|
|
1366
|
+
get: {
|
|
1367
|
+
parameters: {
|
|
1368
|
+
query?: never;
|
|
1369
|
+
header?: never;
|
|
1370
|
+
path: {
|
|
1371
|
+
id: string;
|
|
1372
|
+
};
|
|
1373
|
+
cookie?: never;
|
|
1374
|
+
};
|
|
1375
|
+
requestBody?: never;
|
|
1376
|
+
responses: {
|
|
1377
|
+
/** @description OK */
|
|
1378
|
+
200: {
|
|
1379
|
+
headers: {
|
|
1380
|
+
[name: string]: unknown;
|
|
1381
|
+
};
|
|
1382
|
+
content: {
|
|
1383
|
+
"application/json": components["schemas"]["AgentDraftSurfaceResponse"];
|
|
1384
|
+
};
|
|
1385
|
+
};
|
|
1386
|
+
/** @description Bad Request */
|
|
1387
|
+
400: {
|
|
1388
|
+
headers: {
|
|
1389
|
+
[name: string]: unknown;
|
|
1390
|
+
};
|
|
1391
|
+
content: {
|
|
1392
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
1393
|
+
};
|
|
1394
|
+
};
|
|
1395
|
+
/** @description Not Found */
|
|
1396
|
+
404: {
|
|
1397
|
+
headers: {
|
|
1398
|
+
[name: string]: unknown;
|
|
1399
|
+
};
|
|
1400
|
+
content: {
|
|
1401
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
1402
|
+
};
|
|
1403
|
+
};
|
|
1404
|
+
/** @description Service Unavailable */
|
|
1405
|
+
503: {
|
|
1406
|
+
headers: {
|
|
1407
|
+
[name: string]: unknown;
|
|
1408
|
+
};
|
|
1409
|
+
content?: never;
|
|
1410
|
+
};
|
|
1411
|
+
};
|
|
1412
|
+
};
|
|
1413
|
+
put?: never;
|
|
1414
|
+
post?: never;
|
|
1415
|
+
delete?: never;
|
|
1416
|
+
options?: never;
|
|
1417
|
+
head?: never;
|
|
1418
|
+
patch?: never;
|
|
1419
|
+
trace?: never;
|
|
1420
|
+
};
|
|
1299
1421
|
"/v1/api/agents/{id}/credential-bindings": {
|
|
1300
1422
|
parameters: {
|
|
1301
1423
|
query?: never;
|
|
@@ -2756,6 +2878,43 @@ export interface paths {
|
|
|
2756
2878
|
patch?: never;
|
|
2757
2879
|
trace?: never;
|
|
2758
2880
|
};
|
|
2881
|
+
"/v1/api/agents/{agentId}/bundles/{bundleId}/graph/json": {
|
|
2882
|
+
parameters: {
|
|
2883
|
+
query?: never;
|
|
2884
|
+
header?: never;
|
|
2885
|
+
path?: never;
|
|
2886
|
+
cookie?: never;
|
|
2887
|
+
};
|
|
2888
|
+
/** Get canonical graph JSON for a bundle. */
|
|
2889
|
+
get: {
|
|
2890
|
+
parameters: {
|
|
2891
|
+
query?: never;
|
|
2892
|
+
header?: never;
|
|
2893
|
+
path: {
|
|
2894
|
+
agentId: string;
|
|
2895
|
+
bundleId: string;
|
|
2896
|
+
};
|
|
2897
|
+
cookie?: never;
|
|
2898
|
+
};
|
|
2899
|
+
requestBody?: never;
|
|
2900
|
+
responses: {
|
|
2901
|
+
/** @description OK */
|
|
2902
|
+
200: {
|
|
2903
|
+
headers: {
|
|
2904
|
+
[name: string]: unknown;
|
|
2905
|
+
};
|
|
2906
|
+
content?: never;
|
|
2907
|
+
};
|
|
2908
|
+
};
|
|
2909
|
+
};
|
|
2910
|
+
put?: never;
|
|
2911
|
+
post?: never;
|
|
2912
|
+
delete?: never;
|
|
2913
|
+
options?: never;
|
|
2914
|
+
head?: never;
|
|
2915
|
+
patch?: never;
|
|
2916
|
+
trace?: never;
|
|
2917
|
+
};
|
|
2759
2918
|
"/v1/api/catalog/nodes": {
|
|
2760
2919
|
parameters: {
|
|
2761
2920
|
query?: never;
|
|
@@ -12302,6 +12461,15 @@ export interface components {
|
|
|
12302
12461
|
data?: components["schemas"]["AgentDraftIrResponse"];
|
|
12303
12462
|
hints?: components["schemas"]["ApiHint"][] | null;
|
|
12304
12463
|
};
|
|
12464
|
+
AgentDraftSurfaceResponse: {
|
|
12465
|
+
/** Format: uuid */
|
|
12466
|
+
agent_id?: string;
|
|
12467
|
+
agent_status?: string | null;
|
|
12468
|
+
draft_revision_id?: string | null;
|
|
12469
|
+
live_revision_id?: string | null;
|
|
12470
|
+
state?: string | null;
|
|
12471
|
+
blockers?: components["schemas"]["PublishPreviewIssue"][] | null;
|
|
12472
|
+
};
|
|
12305
12473
|
AgentExportAgent: {
|
|
12306
12474
|
/** Format: uuid */
|
|
12307
12475
|
id?: string;
|
|
@@ -12353,6 +12521,26 @@ export interface components {
|
|
|
12353
12521
|
/** Format: int32 */
|
|
12354
12522
|
count?: number;
|
|
12355
12523
|
};
|
|
12524
|
+
AgentResponse: {
|
|
12525
|
+
/** Format: uuid */
|
|
12526
|
+
id?: string;
|
|
12527
|
+
/** Format: uuid */
|
|
12528
|
+
tenant_id?: string;
|
|
12529
|
+
/** Format: uuid */
|
|
12530
|
+
workspace_id?: string;
|
|
12531
|
+
name?: string | null;
|
|
12532
|
+
/** Format: uuid */
|
|
12533
|
+
live_bundle_id?: string | null;
|
|
12534
|
+
/** Format: date-time */
|
|
12535
|
+
updated_at?: string;
|
|
12536
|
+
agent_status?: string | null;
|
|
12537
|
+
/** Format: uuid */
|
|
12538
|
+
last_run_id?: string | null;
|
|
12539
|
+
last_run_status?: string | null;
|
|
12540
|
+
/** Format: date-time */
|
|
12541
|
+
last_run_at?: string | null;
|
|
12542
|
+
metadata?: components["schemas"]["JsonNode"];
|
|
12543
|
+
};
|
|
12356
12544
|
AgentRollbackResponse: {
|
|
12357
12545
|
/** Format: uuid */
|
|
12358
12546
|
agent_id?: string;
|
|
@@ -12360,6 +12548,33 @@ export interface components {
|
|
|
12360
12548
|
live_bundle_id?: string;
|
|
12361
12549
|
rollback_release?: components["schemas"]["AgentPublishHistoryItem"];
|
|
12362
12550
|
};
|
|
12551
|
+
AgentRuntimeModel: {
|
|
12552
|
+
/** Format: uuid */
|
|
12553
|
+
agent_id?: string;
|
|
12554
|
+
agent_ref?: string | null;
|
|
12555
|
+
/** Format: uuid */
|
|
12556
|
+
live_bundle_id?: string | null;
|
|
12557
|
+
live_bundle_hash?: string | null;
|
|
12558
|
+
live_bundle_format?: string | null;
|
|
12559
|
+
live_bundle_artifact_uri?: string | null;
|
|
12560
|
+
live_bundle_content_hash?: string | null;
|
|
12561
|
+
channel_profile?: string | null;
|
|
12562
|
+
inbound_endpoint?: components["schemas"]["EndpointContract"];
|
|
12563
|
+
outbound_endpoint?: components["schemas"]["EndpointContract"];
|
|
12564
|
+
provider_binding?: components["schemas"]["AgentRuntimeProviderBindingContract"];
|
|
12565
|
+
execution_contract?: string | null;
|
|
12566
|
+
restore_policy?: string | null;
|
|
12567
|
+
dispatch_contract?: string | null;
|
|
12568
|
+
status?: string | null;
|
|
12569
|
+
};
|
|
12570
|
+
AgentRuntimeProviderBindingContract: {
|
|
12571
|
+
/** Format: uuid */
|
|
12572
|
+
provider_binding_id?: string;
|
|
12573
|
+
binding_ref?: string | null;
|
|
12574
|
+
provider_slug?: string | null;
|
|
12575
|
+
channel_kind?: string | null;
|
|
12576
|
+
external_instance_ref?: string | null;
|
|
12577
|
+
};
|
|
12363
12578
|
ApiHint: {
|
|
12364
12579
|
type?: string | null;
|
|
12365
12580
|
severity?: string | null;
|
|
@@ -12741,6 +12956,7 @@ export interface components {
|
|
|
12741
12956
|
rerun_of_run_id?: string | null;
|
|
12742
12957
|
/** Format: uuid */
|
|
12743
12958
|
correlation_id?: string | null;
|
|
12959
|
+
output_endpoint?: components["schemas"]["EndpointContract"];
|
|
12744
12960
|
};
|
|
12745
12961
|
CreateTenantRequest: {
|
|
12746
12962
|
name?: string | null;
|
|
@@ -12916,6 +13132,21 @@ export interface components {
|
|
|
12916
13132
|
/** Format: date-time */
|
|
12917
13133
|
updatedAt?: string;
|
|
12918
13134
|
};
|
|
13135
|
+
EndpointContract: {
|
|
13136
|
+
/** Format: uuid */
|
|
13137
|
+
endpoint_id?: string | null;
|
|
13138
|
+
endpoint_kind?: string | null;
|
|
13139
|
+
direction?: string | null;
|
|
13140
|
+
transport_kind?: string | null;
|
|
13141
|
+
auth_policy?: string | null;
|
|
13142
|
+
replay_policy?: string | null;
|
|
13143
|
+
dispatch_mode?: string | null;
|
|
13144
|
+
provider_binding_ref?: string | null;
|
|
13145
|
+
canonical_mapping?: string | null;
|
|
13146
|
+
endpoint_token?: string | null;
|
|
13147
|
+
transport_address?: string | null;
|
|
13148
|
+
is_enabled?: boolean;
|
|
13149
|
+
};
|
|
12919
13150
|
EnsureMembershipRequest: {
|
|
12920
13151
|
/** Format: uuid */
|
|
12921
13152
|
tenant_id?: string | null;
|
|
@@ -13504,6 +13735,7 @@ export interface components {
|
|
|
13504
13735
|
invoke_path?: string | null;
|
|
13505
13736
|
template_slug?: string | null;
|
|
13506
13737
|
status?: string | null;
|
|
13738
|
+
require_signature?: boolean;
|
|
13507
13739
|
replay_mode?: string | null;
|
|
13508
13740
|
secret_configured?: boolean;
|
|
13509
13741
|
secret_source_kind?: string | null;
|
|
@@ -13524,6 +13756,7 @@ export interface components {
|
|
|
13524
13756
|
endpoint_status?: string | null;
|
|
13525
13757
|
worker_status?: string | null;
|
|
13526
13758
|
credential_configured?: boolean;
|
|
13759
|
+
require_signature?: boolean | null;
|
|
13527
13760
|
secret_configured?: boolean;
|
|
13528
13761
|
replay_mode?: string | null;
|
|
13529
13762
|
has_previous_secret?: boolean;
|
|
@@ -13726,6 +13959,48 @@ export interface components {
|
|
|
13726
13959
|
errors?: components["schemas"]["ProviderValidationIssueDto"][] | null;
|
|
13727
13960
|
warnings?: components["schemas"]["ProviderValidationIssueDto"][] | null;
|
|
13728
13961
|
};
|
|
13962
|
+
ProvisionAgentProviderRequest: {
|
|
13963
|
+
binding_ref?: string | null;
|
|
13964
|
+
provider_slug?: string | null;
|
|
13965
|
+
channel_kind?: string | null;
|
|
13966
|
+
display_name?: string | null;
|
|
13967
|
+
credential_ref?: string | null;
|
|
13968
|
+
worker_ref?: string | null;
|
|
13969
|
+
external_instance_ref?: string | null;
|
|
13970
|
+
secret_ref?: string | null;
|
|
13971
|
+
require_signature?: boolean | null;
|
|
13972
|
+
replay_mode?: string | null;
|
|
13973
|
+
sync_connection?: boolean;
|
|
13974
|
+
settings?: {
|
|
13975
|
+
[key: string]: unknown;
|
|
13976
|
+
} | null;
|
|
13977
|
+
};
|
|
13978
|
+
ProvisionAgentRequest: {
|
|
13979
|
+
name?: string | null;
|
|
13980
|
+
channel_profile?: string | null;
|
|
13981
|
+
provider?: components["schemas"]["ProvisionAgentProviderRequest"];
|
|
13982
|
+
metadata?: components["schemas"]["JsonNode"];
|
|
13983
|
+
version_label?: string | null;
|
|
13984
|
+
};
|
|
13985
|
+
ProvisionAgentResponse: {
|
|
13986
|
+
agent?: components["schemas"]["AgentResponse"];
|
|
13987
|
+
bundle?: components["schemas"]["BundleResponse"];
|
|
13988
|
+
agent_ref?: string | null;
|
|
13989
|
+
channel_profile?: string | null;
|
|
13990
|
+
input_text_path?: string | null;
|
|
13991
|
+
provider_binding?: components["schemas"]["ProvisionedProviderBindingResponse"];
|
|
13992
|
+
runtime_model?: components["schemas"]["AgentRuntimeModel"];
|
|
13993
|
+
};
|
|
13994
|
+
ProvisionedProviderBindingResponse: {
|
|
13995
|
+
binding_ref?: string | null;
|
|
13996
|
+
provider_slug?: string | null;
|
|
13997
|
+
channel_kind?: string | null;
|
|
13998
|
+
target_ref?: string | null;
|
|
13999
|
+
endpoint_ref?: string | null;
|
|
14000
|
+
invoke_path?: string | null;
|
|
14001
|
+
secret_key?: string | null;
|
|
14002
|
+
connection?: components["schemas"]["ProviderBindingConnectionResponseDto"];
|
|
14003
|
+
};
|
|
13729
14004
|
PublishAgentRequest: {
|
|
13730
14005
|
version_label?: string | null;
|
|
13731
14006
|
set_as_live?: boolean;
|
|
@@ -14903,6 +15178,7 @@ export interface components {
|
|
|
14903
15178
|
};
|
|
14904
15179
|
WebhookSpecDto: {
|
|
14905
15180
|
secret_ref?: string | null;
|
|
15181
|
+
require_signature?: boolean | null;
|
|
14906
15182
|
replay_mode?: string | null;
|
|
14907
15183
|
};
|
|
14908
15184
|
WhatsappWorkerListResponse: {
|