@agent-os-sdk/client 0.9.21 → 0.9.22

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,69 @@ 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?: never;
1304
+ delete?: never;
1305
+ options?: never;
1306
+ head?: never;
1307
+ patch?: never;
1308
+ trace?: never;
1309
+ };
1247
1310
  "/v1/api/agents/{id}/draft/ir": {
1248
1311
  parameters: {
1249
1312
  query?: never;
@@ -10923,6 +10986,44 @@ export interface components {
10923
10986
  [key: string]: string;
10924
10987
  } | null;
10925
10988
  };
10989
+ PublishPreviewBindingItem: {
10990
+ binding_key?: string | null;
10991
+ status?: string | null;
10992
+ required_by_capabilities?: string[] | null;
10993
+ credential_instance_refs?: string[] | null;
10994
+ credential_type_refs?: string[] | null;
10995
+ };
10996
+ PublishPreviewCapabilityItem: {
10997
+ node_id?: string | null;
10998
+ capability_ref?: string | null;
10999
+ capability_version?: string | null;
11000
+ execution_binding?: string | null;
11001
+ required_credentials?: string[] | null;
11002
+ };
11003
+ PublishPreviewIssue: {
11004
+ code?: string | null;
11005
+ message?: string | null;
11006
+ severity?: string | null;
11007
+ path?: string | null;
11008
+ node_id?: string | null;
11009
+ hint?: string | null;
11010
+ };
11011
+ PublishPreviewResponse: {
11012
+ /** Format: uuid */
11013
+ agent_id?: string;
11014
+ draft_ir_revision?: string | null;
11015
+ ready?: boolean;
11016
+ validation_result?: components["schemas"]["PublishPreviewValidationResult"];
11017
+ capabilities?: components["schemas"]["PublishPreviewCapabilityItem"][] | null;
11018
+ bindings?: components["schemas"]["PublishPreviewBindingItem"][] | null;
11019
+ blockers?: components["schemas"]["PublishPreviewIssue"][] | null;
11020
+ warnings?: components["schemas"]["PublishPreviewIssue"][] | null;
11021
+ };
11022
+ PublishPreviewValidationResult: {
11023
+ valid?: boolean;
11024
+ errors?: components["schemas"]["PublishPreviewIssue"][] | null;
11025
+ warnings?: components["schemas"]["PublishPreviewIssue"][] | null;
11026
+ };
10926
11027
  RejectImprovementCaseRequest: {
10927
11028
  reason?: string | null;
10928
11029
  };