@agent-os-sdk/client 0.9.21 → 0.9.23

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.
@@ -1244,6 +1244,121 @@ export interface paths {
1244
1244
  patch?: never;
1245
1245
  trace?: never;
1246
1246
  };
1247
+ "/v1/api/agents/{id}/publish-preview": {
1248
+ parameters: {
1249
+ query?: never;
1250
+ header?: never;
1251
+ path?: never;
1252
+ cookie?: never;
1253
+ };
1254
+ /** Returns the official publish preview/readiness surface for the saved draft IR. */
1255
+ get: {
1256
+ parameters: {
1257
+ query?: never;
1258
+ header?: never;
1259
+ path: {
1260
+ id: string;
1261
+ };
1262
+ cookie?: never;
1263
+ };
1264
+ requestBody?: never;
1265
+ responses: {
1266
+ /** @description OK */
1267
+ 200: {
1268
+ headers: {
1269
+ [name: string]: unknown;
1270
+ };
1271
+ content: {
1272
+ "application/json": components["schemas"]["PublishPreviewResponse"];
1273
+ };
1274
+ };
1275
+ /** @description Bad Request */
1276
+ 400: {
1277
+ headers: {
1278
+ [name: string]: unknown;
1279
+ };
1280
+ content: {
1281
+ "application/json": components["schemas"]["ProblemDetails"];
1282
+ };
1283
+ };
1284
+ /** @description Not Found */
1285
+ 404: {
1286
+ headers: {
1287
+ [name: string]: unknown;
1288
+ };
1289
+ content: {
1290
+ "application/json": components["schemas"]["ProblemDetails"];
1291
+ };
1292
+ };
1293
+ /** @description Service Unavailable */
1294
+ 503: {
1295
+ headers: {
1296
+ [name: string]: unknown;
1297
+ };
1298
+ content?: never;
1299
+ };
1300
+ };
1301
+ };
1302
+ put?: never;
1303
+ post: {
1304
+ parameters: {
1305
+ query?: never;
1306
+ header?: never;
1307
+ path: {
1308
+ id: string;
1309
+ };
1310
+ cookie?: never;
1311
+ };
1312
+ requestBody?: {
1313
+ content: {
1314
+ "application/json": components["schemas"]["PublishPreviewRequest"];
1315
+ "text/json": components["schemas"]["PublishPreviewRequest"];
1316
+ "application/*+json": components["schemas"]["PublishPreviewRequest"];
1317
+ };
1318
+ };
1319
+ responses: {
1320
+ /** @description OK */
1321
+ 200: {
1322
+ headers: {
1323
+ [name: string]: unknown;
1324
+ };
1325
+ content: {
1326
+ "application/json": components["schemas"]["PublishPreviewResponse"];
1327
+ };
1328
+ };
1329
+ /** @description Bad Request */
1330
+ 400: {
1331
+ headers: {
1332
+ [name: string]: unknown;
1333
+ };
1334
+ content: {
1335
+ "application/json": components["schemas"]["ProblemDetails"];
1336
+ };
1337
+ };
1338
+ /** @description Not Found */
1339
+ 404: {
1340
+ headers: {
1341
+ [name: string]: unknown;
1342
+ };
1343
+ content: {
1344
+ "application/json": components["schemas"]["ProblemDetails"];
1345
+ };
1346
+ };
1347
+ /** @description Service Unavailable */
1348
+ 503: {
1349
+ headers: {
1350
+ [name: string]: unknown;
1351
+ };
1352
+ content?: never;
1353
+ };
1354
+ };
1355
+ };
1356
+ delete?: never;
1357
+ options?: never;
1358
+ head?: never;
1359
+ patch?: never;
1360
+ trace?: never;
1361
+ };
1247
1362
  "/v1/api/agents/{id}/draft/ir": {
1248
1363
  parameters: {
1249
1364
  query?: never;
@@ -10923,6 +11038,56 @@ export interface components {
10923
11038
  [key: string]: string;
10924
11039
  } | null;
10925
11040
  };
11041
+ PublishPreviewBindingItem: {
11042
+ binding_key?: string | null;
11043
+ status?: string | null;
11044
+ required_by_capabilities?: string[] | null;
11045
+ credential_instance_refs?: string[] | null;
11046
+ credential_type_refs?: string[] | null;
11047
+ };
11048
+ PublishPreviewCapabilityItem: {
11049
+ node_id?: string | null;
11050
+ capability_ref?: string | null;
11051
+ capability_version?: string | null;
11052
+ execution_binding?: string | null;
11053
+ required_credentials?: string[] | null;
11054
+ };
11055
+ PublishPreviewDraftDiff: {
11056
+ added_node_ids?: string[] | null;
11057
+ removed_node_ids?: string[] | null;
11058
+ modified_node_ids?: string[] | null;
11059
+ added_capability_refs?: string[] | null;
11060
+ removed_capability_refs?: string[] | null;
11061
+ binding_keys_impacted?: string[] | null;
11062
+ };
11063
+ PublishPreviewIssue: {
11064
+ code?: string | null;
11065
+ message?: string | null;
11066
+ severity?: string | null;
11067
+ path?: string | null;
11068
+ node_id?: string | null;
11069
+ hint?: string | null;
11070
+ };
11071
+ PublishPreviewRequest: {
11072
+ ir_json?: unknown;
11073
+ };
11074
+ PublishPreviewResponse: {
11075
+ /** Format: uuid */
11076
+ agent_id?: string;
11077
+ draft_ir_revision?: string | null;
11078
+ ready?: boolean;
11079
+ validation_result?: components["schemas"]["PublishPreviewValidationResult"];
11080
+ capabilities?: components["schemas"]["PublishPreviewCapabilityItem"][] | null;
11081
+ bindings?: components["schemas"]["PublishPreviewBindingItem"][] | null;
11082
+ draft_diff?: components["schemas"]["PublishPreviewDraftDiff"];
11083
+ blockers?: components["schemas"]["PublishPreviewIssue"][] | null;
11084
+ warnings?: components["schemas"]["PublishPreviewIssue"][] | null;
11085
+ };
11086
+ PublishPreviewValidationResult: {
11087
+ valid?: boolean;
11088
+ errors?: components["schemas"]["PublishPreviewIssue"][] | null;
11089
+ warnings?: components["schemas"]["PublishPreviewIssue"][] | null;
11090
+ };
10926
11091
  RejectImprovementCaseRequest: {
10927
11092
  reason?: string | null;
10928
11093
  };