@agent-os-sdk/client 0.9.20 → 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;
@@ -5990,16 +6053,292 @@ export interface paths {
5990
6053
  [name: string]: unknown;
5991
6054
  };
5992
6055
  content: {
5993
- "application/json": components["schemas"]["RunDetailResponse"];
5994
- };
5995
- };
5996
- /** @description Not Found */
5997
- 404: {
5998
- headers: {
5999
- [name: string]: unknown;
6000
- };
6001
- content: {
6002
- "application/json": components["schemas"]["ProblemDetails"];
6056
+ "application/json": components["schemas"]["RunDetailResponse"];
6057
+ };
6058
+ };
6059
+ /** @description Not Found */
6060
+ 404: {
6061
+ headers: {
6062
+ [name: string]: unknown;
6063
+ };
6064
+ content: {
6065
+ "application/json": components["schemas"]["ProblemDetails"];
6066
+ };
6067
+ };
6068
+ };
6069
+ };
6070
+ put?: never;
6071
+ post?: never;
6072
+ delete?: never;
6073
+ options?: never;
6074
+ head?: never;
6075
+ patch?: never;
6076
+ trace?: never;
6077
+ };
6078
+ "/v1/api/runs/{runId}/outcome-detail": {
6079
+ parameters: {
6080
+ query?: never;
6081
+ header?: never;
6082
+ path?: never;
6083
+ cookie?: never;
6084
+ };
6085
+ /** Returns a pure read model for a run composed from canonical run/outcome/KPI stores. */
6086
+ get: {
6087
+ parameters: {
6088
+ query?: never;
6089
+ header?: never;
6090
+ path: {
6091
+ runId: string;
6092
+ };
6093
+ cookie?: never;
6094
+ };
6095
+ requestBody?: never;
6096
+ responses: {
6097
+ /** @description OK */
6098
+ 200: {
6099
+ headers: {
6100
+ [name: string]: unknown;
6101
+ };
6102
+ content: {
6103
+ "application/json": components["schemas"]["RunOutcomeDetailResponse"];
6104
+ };
6105
+ };
6106
+ /** @description Not Found */
6107
+ 404: {
6108
+ headers: {
6109
+ [name: string]: unknown;
6110
+ };
6111
+ content: {
6112
+ "application/json": components["schemas"]["ProblemDetails"];
6113
+ };
6114
+ };
6115
+ };
6116
+ };
6117
+ put?: never;
6118
+ post?: never;
6119
+ delete?: never;
6120
+ options?: never;
6121
+ head?: never;
6122
+ patch?: never;
6123
+ trace?: never;
6124
+ };
6125
+ "/v1/api/runs/{runId}/inspection": {
6126
+ parameters: {
6127
+ query?: never;
6128
+ header?: never;
6129
+ path?: never;
6130
+ cookie?: never;
6131
+ };
6132
+ /**
6133
+ * Returns the official runtime inspection surface for a run.
6134
+ * @description This endpoint is the supported read model for operational inspection over the canonical runtime ledger.
6135
+ * It explains a run through:
6136
+ * - run summary
6137
+ * - replay metadata
6138
+ * - failure summary
6139
+ * - attempts
6140
+ * - node execution timeline
6141
+ * - event timeline
6142
+ *
6143
+ * Consumers should prefer this endpoint over raw table archaeology.
6144
+ */
6145
+ get: {
6146
+ parameters: {
6147
+ query?: never;
6148
+ header?: never;
6149
+ path: {
6150
+ runId: string;
6151
+ };
6152
+ cookie?: never;
6153
+ };
6154
+ requestBody?: never;
6155
+ responses: {
6156
+ /** @description OK */
6157
+ 200: {
6158
+ headers: {
6159
+ [name: string]: unknown;
6160
+ };
6161
+ content: {
6162
+ "application/json": components["schemas"]["RunInspectionResponse"];
6163
+ };
6164
+ };
6165
+ /** @description Not Found */
6166
+ 404: {
6167
+ headers: {
6168
+ [name: string]: unknown;
6169
+ };
6170
+ content: {
6171
+ "application/json": components["schemas"]["ProblemDetails"];
6172
+ };
6173
+ };
6174
+ };
6175
+ };
6176
+ put?: never;
6177
+ post?: never;
6178
+ delete?: never;
6179
+ options?: never;
6180
+ head?: never;
6181
+ patch?: never;
6182
+ trace?: never;
6183
+ };
6184
+ "/v1/api/runs/failures": {
6185
+ parameters: {
6186
+ query?: never;
6187
+ header?: never;
6188
+ path?: never;
6189
+ cookie?: never;
6190
+ };
6191
+ get: {
6192
+ parameters: {
6193
+ query?: {
6194
+ agentId?: string;
6195
+ capabilityRef?: string;
6196
+ errorCategory?: string;
6197
+ retryable?: boolean;
6198
+ from?: string;
6199
+ to?: string;
6200
+ limit?: number;
6201
+ offset?: number;
6202
+ };
6203
+ header?: never;
6204
+ path?: never;
6205
+ cookie?: never;
6206
+ };
6207
+ requestBody?: never;
6208
+ responses: {
6209
+ /** @description OK */
6210
+ 200: {
6211
+ headers: {
6212
+ [name: string]: unknown;
6213
+ };
6214
+ content: {
6215
+ "application/json": components["schemas"]["RunFailureRetentionListResponse"];
6216
+ };
6217
+ };
6218
+ };
6219
+ };
6220
+ put?: never;
6221
+ post?: never;
6222
+ delete?: never;
6223
+ options?: never;
6224
+ head?: never;
6225
+ patch?: never;
6226
+ trace?: never;
6227
+ };
6228
+ "/v1/api/runs/failures/{failureId}": {
6229
+ parameters: {
6230
+ query?: never;
6231
+ header?: never;
6232
+ path?: never;
6233
+ cookie?: never;
6234
+ };
6235
+ get: {
6236
+ parameters: {
6237
+ query?: never;
6238
+ header?: never;
6239
+ path: {
6240
+ failureId: string;
6241
+ };
6242
+ cookie?: never;
6243
+ };
6244
+ requestBody?: never;
6245
+ responses: {
6246
+ /** @description OK */
6247
+ 200: {
6248
+ headers: {
6249
+ [name: string]: unknown;
6250
+ };
6251
+ content: {
6252
+ "application/json": components["schemas"]["RunFailureRetentionDetailResponse"];
6253
+ };
6254
+ };
6255
+ /** @description Not Found */
6256
+ 404: {
6257
+ headers: {
6258
+ [name: string]: unknown;
6259
+ };
6260
+ content: {
6261
+ "application/json": components["schemas"]["ProblemDetails"];
6262
+ };
6263
+ };
6264
+ };
6265
+ };
6266
+ put?: never;
6267
+ post?: never;
6268
+ delete?: never;
6269
+ options?: never;
6270
+ head?: never;
6271
+ patch?: never;
6272
+ trace?: never;
6273
+ };
6274
+ "/v1/api/runs/observability/summary": {
6275
+ parameters: {
6276
+ query?: never;
6277
+ header?: never;
6278
+ path?: never;
6279
+ cookie?: never;
6280
+ };
6281
+ get: {
6282
+ parameters: {
6283
+ query?: {
6284
+ agentId?: string;
6285
+ from?: string;
6286
+ to?: string;
6287
+ };
6288
+ header?: never;
6289
+ path?: never;
6290
+ cookie?: never;
6291
+ };
6292
+ requestBody?: never;
6293
+ responses: {
6294
+ /** @description OK */
6295
+ 200: {
6296
+ headers: {
6297
+ [name: string]: unknown;
6298
+ };
6299
+ content: {
6300
+ "application/json": components["schemas"]["RunObservabilitySummaryResponse"];
6301
+ };
6302
+ };
6303
+ };
6304
+ };
6305
+ put?: never;
6306
+ post?: never;
6307
+ delete?: never;
6308
+ options?: never;
6309
+ head?: never;
6310
+ patch?: never;
6311
+ trace?: never;
6312
+ };
6313
+ "/v1/api/runs/observability/capabilities": {
6314
+ parameters: {
6315
+ query?: never;
6316
+ header?: never;
6317
+ path?: never;
6318
+ cookie?: never;
6319
+ };
6320
+ get: {
6321
+ parameters: {
6322
+ query?: {
6323
+ agentId?: string;
6324
+ from?: string;
6325
+ to?: string;
6326
+ limit?: number;
6327
+ offset?: number;
6328
+ };
6329
+ header?: never;
6330
+ path?: never;
6331
+ cookie?: never;
6332
+ };
6333
+ requestBody?: never;
6334
+ responses: {
6335
+ /** @description OK */
6336
+ 200: {
6337
+ headers: {
6338
+ [name: string]: unknown;
6339
+ };
6340
+ content: {
6341
+ "application/json": components["schemas"]["RunObservabilityCapabilityListResponse"];
6003
6342
  };
6004
6343
  };
6005
6344
  };
@@ -6012,21 +6351,24 @@ export interface paths {
6012
6351
  patch?: never;
6013
6352
  trace?: never;
6014
6353
  };
6015
- "/v1/api/runs/{runId}/outcome-detail": {
6354
+ "/v1/api/runs/observability/bindings": {
6016
6355
  parameters: {
6017
6356
  query?: never;
6018
6357
  header?: never;
6019
6358
  path?: never;
6020
6359
  cookie?: never;
6021
6360
  };
6022
- /** Returns a pure read model for a run composed from canonical run/outcome/KPI stores. */
6023
6361
  get: {
6024
6362
  parameters: {
6025
- query?: never;
6026
- header?: never;
6027
- path: {
6028
- runId: string;
6363
+ query?: {
6364
+ agentId?: string;
6365
+ from?: string;
6366
+ to?: string;
6367
+ limit?: number;
6368
+ offset?: number;
6029
6369
  };
6370
+ header?: never;
6371
+ path?: never;
6030
6372
  cookie?: never;
6031
6373
  };
6032
6374
  requestBody?: never;
@@ -6037,16 +6379,7 @@ export interface paths {
6037
6379
  [name: string]: unknown;
6038
6380
  };
6039
6381
  content: {
6040
- "application/json": components["schemas"]["RunOutcomeDetailResponse"];
6041
- };
6042
- };
6043
- /** @description Not Found */
6044
- 404: {
6045
- headers: {
6046
- [name: string]: unknown;
6047
- };
6048
- content: {
6049
- "application/json": components["schemas"]["ProblemDetails"];
6382
+ "application/json": components["schemas"]["RunObservabilityBindingListResponse"];
6050
6383
  };
6051
6384
  };
6052
6385
  };
@@ -10431,9 +10764,35 @@ export interface components {
10431
10764
  applied_by?: string | null;
10432
10765
  draft_ir?: unknown;
10433
10766
  };
10767
+ MetaAgentBlastRadius: {
10768
+ affected_node_ids?: string[] | null;
10769
+ affected_edge_ids?: string[] | null;
10770
+ added_capabilities?: string[] | null;
10771
+ removed_capabilities?: string[] | null;
10772
+ changed_capabilities?: string[] | null;
10773
+ impacted_credentials?: components["schemas"]["MetaAgentBlastRadiusCredentialImpact"][] | null;
10774
+ warnings?: components["schemas"]["MetaAgentPreviewValidationIssue"][] | null;
10775
+ };
10776
+ MetaAgentBlastRadiusCredentialImpact: {
10777
+ required_credential?: string | null;
10778
+ status?: string | null;
10779
+ binding_key?: string | null;
10780
+ credential_instance_ref?: string | null;
10781
+ credential_name?: string | null;
10782
+ };
10434
10783
  MetaAgentChatRequest: {
10435
10784
  message?: string | null;
10436
10785
  };
10786
+ MetaAgentDiffPreview: {
10787
+ added_node_ids?: string[] | null;
10788
+ removed_node_ids?: string[] | null;
10789
+ updated_node_ids?: string[] | null;
10790
+ added_edge_ids?: string[] | null;
10791
+ removed_edge_ids?: string[] | null;
10792
+ entrypoint_changed?: boolean;
10793
+ before_entrypoint?: string | null;
10794
+ after_entrypoint?: string | null;
10795
+ };
10437
10796
  MetaAgentPatchOpResponse: {
10438
10797
  op?: string | null;
10439
10798
  node_id?: string | null;
@@ -10455,11 +10814,9 @@ export interface components {
10455
10814
  mode?: string | null;
10456
10815
  patch?: components["schemas"]["MetaAgentPatchProposalResponse"];
10457
10816
  preview_draft_ir?: unknown;
10458
- preview_valid?: boolean;
10459
- preview_errors?: components["schemas"]["MetaAgentPreviewValidationIssue"][] | null;
10460
- preview_warnings?: components["schemas"]["MetaAgentPreviewValidationIssue"][] | null;
10461
- valid?: boolean;
10462
- errors?: components["schemas"]["MetaAgentPatchValidationIssue"][] | null;
10817
+ diff_preview?: components["schemas"]["MetaAgentDiffPreview"];
10818
+ blast_radius?: components["schemas"]["MetaAgentBlastRadius"];
10819
+ validation_result?: components["schemas"]["MetaAgentValidationResult"];
10463
10820
  message?: string | null;
10464
10821
  };
10465
10822
  MetaAgentPatchProposalResponse: {
@@ -10482,6 +10839,12 @@ export interface components {
10482
10839
  MetaAgentProposePatchRequest: {
10483
10840
  instruction?: string | null;
10484
10841
  };
10842
+ MetaAgentValidationResult: {
10843
+ valid?: boolean;
10844
+ preview_valid?: boolean;
10845
+ errors?: components["schemas"]["MetaAgentPatchValidationIssue"][] | null;
10846
+ warnings?: components["schemas"]["MetaAgentPreviewValidationIssue"][] | null;
10847
+ };
10485
10848
  NodeCatalogResponse: {
10486
10849
  version: string;
10487
10850
  nodes: components["schemas"]["NodeTypeDto"][];
@@ -10623,6 +10986,44 @@ export interface components {
10623
10986
  [key: string]: string;
10624
10987
  } | null;
10625
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
+ };
10626
11027
  RejectImprovementCaseRequest: {
10627
11028
  reason?: string | null;
10628
11029
  };
@@ -10745,6 +11146,235 @@ export interface components {
10745
11146
  next_after_seq?: number | null;
10746
11147
  has_more?: boolean;
10747
11148
  };
11149
+ RunFailureRetentionDetailResponse: {
11150
+ failure?: components["schemas"]["RunFailureRetentionItem"];
11151
+ payload?: unknown;
11152
+ };
11153
+ RunFailureRetentionItem: {
11154
+ /** Format: uuid */
11155
+ failure_id?: string;
11156
+ failure_scope?: string | null;
11157
+ /** Format: uuid */
11158
+ run_id?: string;
11159
+ /** Format: uuid */
11160
+ attempt_id?: string;
11161
+ /** Format: int32 */
11162
+ attempt_no?: number;
11163
+ /** Format: uuid */
11164
+ agent_id?: string | null;
11165
+ /** Format: uuid */
11166
+ thread_id?: string;
11167
+ /** Format: uuid */
11168
+ node_execution_id?: string | null;
11169
+ /** Format: uuid */
11170
+ operation_id?: string | null;
11171
+ capability_ref?: string | null;
11172
+ capability_version?: string | null;
11173
+ execution_binding?: string | null;
11174
+ source_kind?: string | null;
11175
+ ancestry_kind?: string | null;
11176
+ status?: string | null;
11177
+ error_code?: string | null;
11178
+ error_category?: string | null;
11179
+ is_retryable?: boolean;
11180
+ error_source?: string | null;
11181
+ provider_error_code?: string | null;
11182
+ error_summary?: string | null;
11183
+ /** Format: uuid */
11184
+ retried_from_node_execution_id?: string | null;
11185
+ /** Format: uuid */
11186
+ replayed_from_node_execution_id?: string | null;
11187
+ can_retry?: boolean;
11188
+ /** Format: uuid */
11189
+ retry_from_node_execution_id?: string | null;
11190
+ can_replay?: boolean;
11191
+ /** Format: uuid */
11192
+ replay_from_node_execution_id?: string | null;
11193
+ /** Format: date-time */
11194
+ failed_at?: string;
11195
+ /** Format: date-time */
11196
+ created_at?: string;
11197
+ };
11198
+ RunFailureRetentionListResponse: {
11199
+ items?: components["schemas"]["RunFailureRetentionItem"][] | null;
11200
+ /** Format: int32 */
11201
+ count?: number;
11202
+ };
11203
+ RunInspectionAttemptItem: {
11204
+ /** Format: uuid */
11205
+ attempt_id?: string;
11206
+ /** Format: int32 */
11207
+ attempt_no?: number;
11208
+ cause?: string | null;
11209
+ status?: string | null;
11210
+ /** Format: int64 */
11211
+ latest_seq?: number;
11212
+ /** Format: int64 */
11213
+ lease_epoch?: number;
11214
+ /** Format: uuid */
11215
+ replayed_from_attempt_id?: string | null;
11216
+ error_code?: string | null;
11217
+ error_category?: string | null;
11218
+ is_retryable?: boolean | null;
11219
+ error_source?: string | null;
11220
+ provider_error_code?: string | null;
11221
+ error_summary?: string | null;
11222
+ error?: unknown;
11223
+ /** Format: date-time */
11224
+ started_at?: string | null;
11225
+ /** Format: date-time */
11226
+ finished_at?: string | null;
11227
+ /** Format: date-time */
11228
+ created_at?: string;
11229
+ };
11230
+ RunInspectionEventItem: {
11231
+ /** Format: uuid */
11232
+ event_id?: string;
11233
+ /** Format: uuid */
11234
+ attempt_id?: string;
11235
+ /** Format: int32 */
11236
+ attempt_no?: number;
11237
+ /** Format: int64 */
11238
+ seq?: number;
11239
+ /** Format: int64 */
11240
+ run_attempt_transition_seq?: number;
11241
+ event_type_code?: string | null;
11242
+ source_kind?: string | null;
11243
+ /** Format: date-time */
11244
+ timestamp?: string;
11245
+ /** Format: uuid */
11246
+ operation_id?: string;
11247
+ /** Format: uuid */
11248
+ parent_operation_id?: string | null;
11249
+ /** Format: uuid */
11250
+ root_operation_id?: string;
11251
+ node_id?: string | null;
11252
+ capability_ref?: string | null;
11253
+ capability_version?: string | null;
11254
+ execution_binding?: string | null;
11255
+ error_code?: string | null;
11256
+ error_category?: string | null;
11257
+ is_retryable?: boolean | null;
11258
+ error_source?: string | null;
11259
+ provider_error_code?: string | null;
11260
+ error_summary?: string | null;
11261
+ payload?: unknown;
11262
+ };
11263
+ RunInspectionFailureSummary: {
11264
+ has_failures?: boolean;
11265
+ run_error_code?: string | null;
11266
+ run_error_category?: string | null;
11267
+ run_is_retryable?: boolean | null;
11268
+ run_error_source?: string | null;
11269
+ run_provider_error_code?: string | null;
11270
+ run_error_summary?: string | null;
11271
+ run_error?: unknown;
11272
+ /** Format: int32 */
11273
+ failed_attempt_count?: number;
11274
+ /** Format: int32 */
11275
+ failed_node_execution_count?: number;
11276
+ };
11277
+ RunInspectionNodeExecutionItem: {
11278
+ /** Format: uuid */
11279
+ node_execution_id?: string;
11280
+ /** Format: uuid */
11281
+ attempt_id?: string;
11282
+ /** Format: int32 */
11283
+ attempt_no?: number;
11284
+ /** Format: uuid */
11285
+ operation_id?: string;
11286
+ /** Format: uuid */
11287
+ parent_operation_id?: string | null;
11288
+ /** Format: uuid */
11289
+ root_operation_id?: string;
11290
+ node_id?: string | null;
11291
+ capability_ref?: string | null;
11292
+ capability_version?: string | null;
11293
+ execution_binding?: string | null;
11294
+ source_kind?: string | null;
11295
+ is_root_execution?: boolean;
11296
+ ancestry_kind?: string | null;
11297
+ event_type_code?: string | null;
11298
+ /** Format: int64 */
11299
+ first_seq?: number;
11300
+ /** Format: int64 */
11301
+ last_seq?: number;
11302
+ /** Format: int64 */
11303
+ first_run_attempt_transition_seq?: number;
11304
+ /** Format: int64 */
11305
+ last_run_attempt_transition_seq?: number;
11306
+ latest_transition_reason?: string | null;
11307
+ latest_transition_actor_type?: string | null;
11308
+ status?: string | null;
11309
+ error_code?: string | null;
11310
+ error_category?: string | null;
11311
+ is_retryable?: boolean | null;
11312
+ error_source?: string | null;
11313
+ provider_error_code?: string | null;
11314
+ error_summary?: string | null;
11315
+ /** Format: date-time */
11316
+ started_at?: string;
11317
+ /** Format: date-time */
11318
+ finished_at?: string | null;
11319
+ /** Format: uuid */
11320
+ replayed_from_node_execution_id?: string | null;
11321
+ /** Format: uuid */
11322
+ retried_from_node_execution_id?: string | null;
11323
+ /** Format: int32 */
11324
+ event_count?: number;
11325
+ };
11326
+ RunInspectionReplayMetadata: {
11327
+ replay_mode?: string | null;
11328
+ replay_reason?: string | null;
11329
+ /** Format: uuid */
11330
+ replayed_from_run_id?: string | null;
11331
+ /** Format: uuid */
11332
+ replayed_from_checkpoint_id?: string | null;
11333
+ runtime_contract_snapshot?: unknown;
11334
+ };
11335
+ RunInspectionResponse: {
11336
+ run?: components["schemas"]["RunInspectionRunSummary"];
11337
+ replay?: components["schemas"]["RunInspectionReplayMetadata"];
11338
+ failure?: components["schemas"]["RunInspectionFailureSummary"];
11339
+ attempts?: components["schemas"]["RunInspectionAttemptItem"][] | null;
11340
+ node_executions?: components["schemas"]["RunInspectionNodeExecutionItem"][] | null;
11341
+ events?: components["schemas"]["RunInspectionEventItem"][] | null;
11342
+ };
11343
+ RunInspectionRunSummary: {
11344
+ /** Format: uuid */
11345
+ run_id?: string;
11346
+ /** Format: uuid */
11347
+ tenant_id?: string;
11348
+ /** Format: uuid */
11349
+ workspace_id?: string;
11350
+ /** Format: uuid */
11351
+ agent_id?: string | null;
11352
+ /** Format: uuid */
11353
+ bundle_id?: string | null;
11354
+ bundle_sha256?: string | null;
11355
+ /** Format: uuid */
11356
+ thread_id?: string;
11357
+ status?: string | null;
11358
+ /** Format: uuid */
11359
+ current_attempt_id?: string | null;
11360
+ /** Format: int32 */
11361
+ current_attempt_no?: number | null;
11362
+ /** Format: int64 */
11363
+ latest_seq?: number | null;
11364
+ prompt_hash?: string | null;
11365
+ toolset_hash?: string | null;
11366
+ /** Format: date-time */
11367
+ started_at?: string | null;
11368
+ /** Format: date-time */
11369
+ completed_at?: string | null;
11370
+ /** Format: date-time */
11371
+ created_at?: string;
11372
+ /** Format: double */
11373
+ duration_ms?: number | null;
11374
+ input?: unknown;
11375
+ output?: unknown;
11376
+ metrics?: unknown;
11377
+ };
10748
11378
  RunKpiResultDetailItem: {
10749
11379
  /** Format: uuid */
10750
11380
  kpi_result_id?: string;
@@ -10791,6 +11421,96 @@ export interface components {
10791
11421
  limit?: number;
10792
11422
  has_more?: boolean;
10793
11423
  };
11424
+ RunObservabilityBindingItem: {
11425
+ execution_binding?: string | null;
11426
+ /** Format: int32 */
11427
+ capability_count?: number;
11428
+ /** Format: int32 */
11429
+ node_executions_total?: number;
11430
+ /** Format: int32 */
11431
+ node_executions_failed?: number;
11432
+ /** Format: double */
11433
+ failure_rate?: number;
11434
+ /** Format: double */
11435
+ avg_latency_ms?: number;
11436
+ /** Format: int32 */
11437
+ retry_count?: number;
11438
+ /** Format: int32 */
11439
+ replay_count?: number;
11440
+ top_error_category?: string | null;
11441
+ /** Format: date-time */
11442
+ last_seen_at?: string | null;
11443
+ };
11444
+ RunObservabilityBindingListResponse: {
11445
+ items?: components["schemas"]["RunObservabilityBindingItem"][] | null;
11446
+ /** Format: int32 */
11447
+ count?: number;
11448
+ };
11449
+ RunObservabilityCapabilityItem: {
11450
+ capability_ref?: string | null;
11451
+ capability_version?: string | null;
11452
+ execution_binding?: string | null;
11453
+ /** Format: int32 */
11454
+ node_executions_total?: number;
11455
+ /** Format: int32 */
11456
+ node_executions_failed?: number;
11457
+ /** Format: double */
11458
+ failure_rate?: number;
11459
+ /** Format: double */
11460
+ avg_latency_ms?: number;
11461
+ /** Format: int32 */
11462
+ retry_count?: number;
11463
+ /** Format: int32 */
11464
+ replay_count?: number;
11465
+ top_error_category?: string | null;
11466
+ /** Format: date-time */
11467
+ last_seen_at?: string | null;
11468
+ };
11469
+ RunObservabilityCapabilityListResponse: {
11470
+ items?: components["schemas"]["RunObservabilityCapabilityItem"][] | null;
11471
+ /** Format: int32 */
11472
+ count?: number;
11473
+ };
11474
+ RunObservabilityErrorCategoryItem: {
11475
+ error_category?: string | null;
11476
+ /** Format: int32 */
11477
+ count?: number;
11478
+ };
11479
+ RunObservabilitySummaryResponse: {
11480
+ /** Format: uuid */
11481
+ workspace_id?: string;
11482
+ /** Format: uuid */
11483
+ agent_id?: string | null;
11484
+ /** Format: date-time */
11485
+ from?: string | null;
11486
+ /** Format: date-time */
11487
+ to?: string | null;
11488
+ /** Format: int32 */
11489
+ runs_total?: number;
11490
+ /** Format: int32 */
11491
+ runs_completed?: number;
11492
+ /** Format: int32 */
11493
+ runs_failed?: number;
11494
+ /** Format: int32 */
11495
+ node_executions_total?: number;
11496
+ /** Format: int32 */
11497
+ node_executions_failed?: number;
11498
+ /** Format: int32 */
11499
+ retry_count?: number;
11500
+ /** Format: int32 */
11501
+ replay_count?: number;
11502
+ /** Format: int32 */
11503
+ handoff_count?: number;
11504
+ /** Format: double */
11505
+ avg_run_latency_ms?: number;
11506
+ /** Format: double */
11507
+ p95_run_latency_ms?: number;
11508
+ /** Format: double */
11509
+ avg_node_latency_ms?: number;
11510
+ /** Format: double */
11511
+ failure_rate?: number;
11512
+ top_error_categories?: components["schemas"]["RunObservabilityErrorCategoryItem"][] | null;
11513
+ };
10794
11514
  RunOutcomeDetailItem: {
10795
11515
  /** Format: uuid */
10796
11516
  outcome_id?: string;
@@ -11080,11 +11800,13 @@ export interface components {
11080
11800
  created_at?: string;
11081
11801
  };
11082
11802
  TriggerTemplateDto: {
11083
- capability_ref?: string | null;
11084
- capability_version?: string | null;
11085
- slug: string | null;
11086
- kind: string | null;
11087
- title: string | null;
11803
+ capability_ref: string;
11804
+ capability_version: string;
11805
+ execution_binding: string;
11806
+ required_credentials: string[];
11807
+ slug: string;
11808
+ kind: string;
11809
+ title: string;
11088
11810
  description?: string | null;
11089
11811
  run_input_schema?: unknown;
11090
11812
  example_payload?: unknown;