@agent-os-sdk/client 0.9.22 → 0.9.24
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 +239 -1
- package/dist/generated/openapi.d.ts.map +1 -1
- package/dist/modules/agents.d.ts +50 -1
- package/dist/modules/agents.d.ts.map +1 -1
- package/dist/modules/agents.js +21 -1
- package/dist/modules/runs.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/generated/openapi.ts +239 -1
- package/src/generated/swagger.json +408 -0
- package/src/modules/agents.ts +83 -1
|
@@ -1244,6 +1244,131 @@ export interface paths {
|
|
|
1244
1244
|
patch?: never;
|
|
1245
1245
|
trace?: never;
|
|
1246
1246
|
};
|
|
1247
|
+
"/v1/api/agents/{id}/publishes": {
|
|
1248
|
+
parameters: {
|
|
1249
|
+
query?: never;
|
|
1250
|
+
header?: never;
|
|
1251
|
+
path?: never;
|
|
1252
|
+
cookie?: never;
|
|
1253
|
+
};
|
|
1254
|
+
get: {
|
|
1255
|
+
parameters: {
|
|
1256
|
+
query?: never;
|
|
1257
|
+
header?: never;
|
|
1258
|
+
path: {
|
|
1259
|
+
id: string;
|
|
1260
|
+
};
|
|
1261
|
+
cookie?: never;
|
|
1262
|
+
};
|
|
1263
|
+
requestBody?: never;
|
|
1264
|
+
responses: {
|
|
1265
|
+
/** @description OK */
|
|
1266
|
+
200: {
|
|
1267
|
+
headers: {
|
|
1268
|
+
[name: string]: unknown;
|
|
1269
|
+
};
|
|
1270
|
+
content: {
|
|
1271
|
+
"application/json": components["schemas"]["AgentPublishHistoryResponse"];
|
|
1272
|
+
};
|
|
1273
|
+
};
|
|
1274
|
+
/** @description Bad Request */
|
|
1275
|
+
400: {
|
|
1276
|
+
headers: {
|
|
1277
|
+
[name: string]: unknown;
|
|
1278
|
+
};
|
|
1279
|
+
content: {
|
|
1280
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
1281
|
+
};
|
|
1282
|
+
};
|
|
1283
|
+
/** @description Not Found */
|
|
1284
|
+
404: {
|
|
1285
|
+
headers: {
|
|
1286
|
+
[name: string]: unknown;
|
|
1287
|
+
};
|
|
1288
|
+
content: {
|
|
1289
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
1290
|
+
};
|
|
1291
|
+
};
|
|
1292
|
+
};
|
|
1293
|
+
};
|
|
1294
|
+
put?: never;
|
|
1295
|
+
post?: never;
|
|
1296
|
+
delete?: never;
|
|
1297
|
+
options?: never;
|
|
1298
|
+
head?: never;
|
|
1299
|
+
patch?: never;
|
|
1300
|
+
trace?: never;
|
|
1301
|
+
};
|
|
1302
|
+
"/v1/api/agents/{id}/rollback": {
|
|
1303
|
+
parameters: {
|
|
1304
|
+
query?: never;
|
|
1305
|
+
header?: never;
|
|
1306
|
+
path?: never;
|
|
1307
|
+
cookie?: never;
|
|
1308
|
+
};
|
|
1309
|
+
get?: never;
|
|
1310
|
+
put?: never;
|
|
1311
|
+
post: {
|
|
1312
|
+
parameters: {
|
|
1313
|
+
query?: never;
|
|
1314
|
+
header?: never;
|
|
1315
|
+
path: {
|
|
1316
|
+
id: string;
|
|
1317
|
+
};
|
|
1318
|
+
cookie?: never;
|
|
1319
|
+
};
|
|
1320
|
+
requestBody?: {
|
|
1321
|
+
content: {
|
|
1322
|
+
"application/json": components["schemas"]["RollbackAgentRequest"];
|
|
1323
|
+
"text/json": components["schemas"]["RollbackAgentRequest"];
|
|
1324
|
+
"application/*+json": components["schemas"]["RollbackAgentRequest"];
|
|
1325
|
+
};
|
|
1326
|
+
};
|
|
1327
|
+
responses: {
|
|
1328
|
+
/** @description OK */
|
|
1329
|
+
200: {
|
|
1330
|
+
headers: {
|
|
1331
|
+
[name: string]: unknown;
|
|
1332
|
+
};
|
|
1333
|
+
content: {
|
|
1334
|
+
"application/json": components["schemas"]["AgentRollbackResponse"];
|
|
1335
|
+
};
|
|
1336
|
+
};
|
|
1337
|
+
/** @description Bad Request */
|
|
1338
|
+
400: {
|
|
1339
|
+
headers: {
|
|
1340
|
+
[name: string]: unknown;
|
|
1341
|
+
};
|
|
1342
|
+
content: {
|
|
1343
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
1344
|
+
};
|
|
1345
|
+
};
|
|
1346
|
+
/** @description Not Found */
|
|
1347
|
+
404: {
|
|
1348
|
+
headers: {
|
|
1349
|
+
[name: string]: unknown;
|
|
1350
|
+
};
|
|
1351
|
+
content: {
|
|
1352
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
1353
|
+
};
|
|
1354
|
+
};
|
|
1355
|
+
/** @description Conflict */
|
|
1356
|
+
409: {
|
|
1357
|
+
headers: {
|
|
1358
|
+
[name: string]: unknown;
|
|
1359
|
+
};
|
|
1360
|
+
content: {
|
|
1361
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
1362
|
+
};
|
|
1363
|
+
};
|
|
1364
|
+
};
|
|
1365
|
+
};
|
|
1366
|
+
delete?: never;
|
|
1367
|
+
options?: never;
|
|
1368
|
+
head?: never;
|
|
1369
|
+
patch?: never;
|
|
1370
|
+
trace?: never;
|
|
1371
|
+
};
|
|
1247
1372
|
"/v1/api/agents/{id}/publish-preview": {
|
|
1248
1373
|
parameters: {
|
|
1249
1374
|
query?: never;
|
|
@@ -1300,7 +1425,59 @@ export interface paths {
|
|
|
1300
1425
|
};
|
|
1301
1426
|
};
|
|
1302
1427
|
put?: never;
|
|
1303
|
-
post
|
|
1428
|
+
post: {
|
|
1429
|
+
parameters: {
|
|
1430
|
+
query?: never;
|
|
1431
|
+
header?: never;
|
|
1432
|
+
path: {
|
|
1433
|
+
id: string;
|
|
1434
|
+
};
|
|
1435
|
+
cookie?: never;
|
|
1436
|
+
};
|
|
1437
|
+
requestBody?: {
|
|
1438
|
+
content: {
|
|
1439
|
+
"application/json": components["schemas"]["PublishPreviewRequest"];
|
|
1440
|
+
"text/json": components["schemas"]["PublishPreviewRequest"];
|
|
1441
|
+
"application/*+json": components["schemas"]["PublishPreviewRequest"];
|
|
1442
|
+
};
|
|
1443
|
+
};
|
|
1444
|
+
responses: {
|
|
1445
|
+
/** @description OK */
|
|
1446
|
+
200: {
|
|
1447
|
+
headers: {
|
|
1448
|
+
[name: string]: unknown;
|
|
1449
|
+
};
|
|
1450
|
+
content: {
|
|
1451
|
+
"application/json": components["schemas"]["PublishPreviewResponse"];
|
|
1452
|
+
};
|
|
1453
|
+
};
|
|
1454
|
+
/** @description Bad Request */
|
|
1455
|
+
400: {
|
|
1456
|
+
headers: {
|
|
1457
|
+
[name: string]: unknown;
|
|
1458
|
+
};
|
|
1459
|
+
content: {
|
|
1460
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
1461
|
+
};
|
|
1462
|
+
};
|
|
1463
|
+
/** @description Not Found */
|
|
1464
|
+
404: {
|
|
1465
|
+
headers: {
|
|
1466
|
+
[name: string]: unknown;
|
|
1467
|
+
};
|
|
1468
|
+
content: {
|
|
1469
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
1470
|
+
};
|
|
1471
|
+
};
|
|
1472
|
+
/** @description Service Unavailable */
|
|
1473
|
+
503: {
|
|
1474
|
+
headers: {
|
|
1475
|
+
[name: string]: unknown;
|
|
1476
|
+
};
|
|
1477
|
+
content?: never;
|
|
1478
|
+
};
|
|
1479
|
+
};
|
|
1480
|
+
};
|
|
1304
1481
|
delete?: never;
|
|
1305
1482
|
options?: never;
|
|
1306
1483
|
head?: never;
|
|
@@ -10071,6 +10248,50 @@ export interface components {
|
|
|
10071
10248
|
agent?: components["schemas"]["AgentExportAgent"];
|
|
10072
10249
|
bundles?: components["schemas"]["AgentBundleItem"][] | null;
|
|
10073
10250
|
};
|
|
10251
|
+
AgentPublishHistoryChangeSummary: {
|
|
10252
|
+
added_capability_refs?: string[] | null;
|
|
10253
|
+
removed_capability_refs?: string[] | null;
|
|
10254
|
+
};
|
|
10255
|
+
AgentPublishHistoryItem: {
|
|
10256
|
+
/** Format: uuid */
|
|
10257
|
+
release_id?: string;
|
|
10258
|
+
/** Format: uuid */
|
|
10259
|
+
agent_id?: string;
|
|
10260
|
+
/** Format: uuid */
|
|
10261
|
+
bundle_id?: string;
|
|
10262
|
+
/** Format: uuid */
|
|
10263
|
+
previous_bundle_id?: string | null;
|
|
10264
|
+
graph_version?: string | null;
|
|
10265
|
+
runtime_package_hash?: string | null;
|
|
10266
|
+
content_hash?: string | null;
|
|
10267
|
+
action?: string | null;
|
|
10268
|
+
activated?: boolean;
|
|
10269
|
+
is_live?: boolean;
|
|
10270
|
+
status?: string | null;
|
|
10271
|
+
actor?: string | null;
|
|
10272
|
+
/** Format: date-time */
|
|
10273
|
+
published_at?: string;
|
|
10274
|
+
reason?: string | null;
|
|
10275
|
+
label?: string | null;
|
|
10276
|
+
summary?: string | null;
|
|
10277
|
+
change_summary?: components["schemas"]["AgentPublishHistoryChangeSummary"];
|
|
10278
|
+
};
|
|
10279
|
+
AgentPublishHistoryResponse: {
|
|
10280
|
+
/** Format: uuid */
|
|
10281
|
+
agent_id?: string;
|
|
10282
|
+
/** Format: uuid */
|
|
10283
|
+
live_bundle_id?: string | null;
|
|
10284
|
+
items?: components["schemas"]["AgentPublishHistoryItem"][] | null;
|
|
10285
|
+
/** Format: int32 */
|
|
10286
|
+
count?: number;
|
|
10287
|
+
};
|
|
10288
|
+
AgentRollbackResponse: {
|
|
10289
|
+
/** Format: uuid */
|
|
10290
|
+
agent_id?: string;
|
|
10291
|
+
/** Format: uuid */
|
|
10292
|
+
live_bundle_id?: string;
|
|
10293
|
+
rollback_release?: components["schemas"]["AgentPublishHistoryItem"];
|
|
10294
|
+
};
|
|
10074
10295
|
ApiHint: {
|
|
10075
10296
|
type?: string | null;
|
|
10076
10297
|
severity?: string | null;
|
|
@@ -11000,6 +11221,14 @@ export interface components {
|
|
|
11000
11221
|
execution_binding?: string | null;
|
|
11001
11222
|
required_credentials?: string[] | null;
|
|
11002
11223
|
};
|
|
11224
|
+
PublishPreviewDraftDiff: {
|
|
11225
|
+
added_node_ids?: string[] | null;
|
|
11226
|
+
removed_node_ids?: string[] | null;
|
|
11227
|
+
modified_node_ids?: string[] | null;
|
|
11228
|
+
added_capability_refs?: string[] | null;
|
|
11229
|
+
removed_capability_refs?: string[] | null;
|
|
11230
|
+
binding_keys_impacted?: string[] | null;
|
|
11231
|
+
};
|
|
11003
11232
|
PublishPreviewIssue: {
|
|
11004
11233
|
code?: string | null;
|
|
11005
11234
|
message?: string | null;
|
|
@@ -11008,6 +11237,9 @@ export interface components {
|
|
|
11008
11237
|
node_id?: string | null;
|
|
11009
11238
|
hint?: string | null;
|
|
11010
11239
|
};
|
|
11240
|
+
PublishPreviewRequest: {
|
|
11241
|
+
ir_json?: unknown;
|
|
11242
|
+
};
|
|
11011
11243
|
PublishPreviewResponse: {
|
|
11012
11244
|
/** Format: uuid */
|
|
11013
11245
|
agent_id?: string;
|
|
@@ -11016,6 +11248,7 @@ export interface components {
|
|
|
11016
11248
|
validation_result?: components["schemas"]["PublishPreviewValidationResult"];
|
|
11017
11249
|
capabilities?: components["schemas"]["PublishPreviewCapabilityItem"][] | null;
|
|
11018
11250
|
bindings?: components["schemas"]["PublishPreviewBindingItem"][] | null;
|
|
11251
|
+
draft_diff?: components["schemas"]["PublishPreviewDraftDiff"];
|
|
11019
11252
|
blockers?: components["schemas"]["PublishPreviewIssue"][] | null;
|
|
11020
11253
|
warnings?: components["schemas"]["PublishPreviewIssue"][] | null;
|
|
11021
11254
|
};
|
|
@@ -11081,6 +11314,11 @@ export interface components {
|
|
|
11081
11314
|
is_system?: boolean;
|
|
11082
11315
|
permissions?: string[] | null;
|
|
11083
11316
|
};
|
|
11317
|
+
RollbackAgentRequest: {
|
|
11318
|
+
/** Format: uuid */
|
|
11319
|
+
target_bundle_id?: string;
|
|
11320
|
+
reason?: string | null;
|
|
11321
|
+
};
|
|
11084
11322
|
RollbackImprovementCaseRequest: {
|
|
11085
11323
|
reason?: string | null;
|
|
11086
11324
|
};
|