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