@agent-os-sdk/client 0.9.23 → 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 +174 -0
- package/dist/generated/openapi.d.ts.map +1 -1
- package/dist/modules/agents.d.ts +40 -0
- package/dist/modules/agents.d.ts.map +1 -1
- package/dist/modules/agents.js +13 -0
- package/dist/modules/runs.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/generated/openapi.ts +174 -0
- package/src/generated/swagger.json +278 -0
- package/src/modules/agents.ts +61 -0
|
@@ -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;
|
|
@@ -10123,6 +10248,50 @@ export interface components {
|
|
|
10123
10248
|
agent?: components["schemas"]["AgentExportAgent"];
|
|
10124
10249
|
bundles?: components["schemas"]["AgentBundleItem"][] | null;
|
|
10125
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
|
+
};
|
|
10126
10295
|
ApiHint: {
|
|
10127
10296
|
type?: string | null;
|
|
10128
10297
|
severity?: string | null;
|
|
@@ -11145,6 +11314,11 @@ export interface components {
|
|
|
11145
11314
|
is_system?: boolean;
|
|
11146
11315
|
permissions?: string[] | null;
|
|
11147
11316
|
};
|
|
11317
|
+
RollbackAgentRequest: {
|
|
11318
|
+
/** Format: uuid */
|
|
11319
|
+
target_bundle_id?: string;
|
|
11320
|
+
reason?: string | null;
|
|
11321
|
+
};
|
|
11148
11322
|
RollbackImprovementCaseRequest: {
|
|
11149
11323
|
reason?: string | null;
|
|
11150
11324
|
};
|