@runtypelabs/sdk 9.6.0 → 9.8.0

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/index.d.cts CHANGED
@@ -785,6 +785,24 @@ interface paths {
785
785
  ttl?: "5m" | "1h" | "24h" | "unlimited";
786
786
  };
787
787
  seed?: number;
788
+ state?: {
789
+ initial?: {
790
+ [key: string]: unknown;
791
+ };
792
+ /**
793
+ * @default merge
794
+ * @enum {string}
795
+ */
796
+ mergeStrategy?: "replace" | "merge";
797
+ predictState?: {
798
+ stateKey: string;
799
+ tool: string;
800
+ toolArgument: string;
801
+ }[];
802
+ schema?: {
803
+ [key: string]: unknown;
804
+ };
805
+ };
788
806
  systemPrompt?: string;
789
807
  temperature?: number;
790
808
  temporal?: {
@@ -893,9 +911,33 @@ interface paths {
893
911
  voiceId?: string;
894
912
  };
895
913
  enabled?: boolean;
914
+ endpointing?: {
915
+ silenceMs?: number;
916
+ /** @enum {string} */
917
+ strategy: "provider_vad" | "server_vad" | "client_commit" | "manual";
918
+ };
919
+ greeting?: string;
896
920
  /** @enum {string} */
897
921
  interruptionMode?: "none" | "cancel" | "barge-in";
922
+ language?: string;
898
923
  provider?: string;
924
+ speech?: {
925
+ /** @enum {string} */
926
+ mode: "pipeline" | "speech_to_speech" | "provider_managed";
927
+ synthesizer: {
928
+ model?: string;
929
+ provider: string;
930
+ settings?: {
931
+ similarity?: number;
932
+ stability?: number;
933
+ };
934
+ voiceId?: string;
935
+ };
936
+ transcriber: {
937
+ model?: string;
938
+ provider: string;
939
+ };
940
+ };
899
941
  };
900
942
  };
901
943
  description?: string;
@@ -1219,6 +1261,24 @@ interface paths {
1219
1261
  ttl?: "5m" | "1h" | "24h" | "unlimited";
1220
1262
  };
1221
1263
  seed?: number;
1264
+ state?: {
1265
+ initial?: {
1266
+ [key: string]: unknown;
1267
+ };
1268
+ /**
1269
+ * @default merge
1270
+ * @enum {string}
1271
+ */
1272
+ mergeStrategy?: "replace" | "merge";
1273
+ predictState?: {
1274
+ stateKey: string;
1275
+ tool: string;
1276
+ toolArgument: string;
1277
+ }[];
1278
+ schema?: {
1279
+ [key: string]: unknown;
1280
+ };
1281
+ };
1222
1282
  systemPrompt?: string;
1223
1283
  temperature?: number;
1224
1284
  temporal?: {
@@ -1327,9 +1387,33 @@ interface paths {
1327
1387
  voiceId?: string;
1328
1388
  };
1329
1389
  enabled?: boolean;
1390
+ endpointing?: {
1391
+ silenceMs?: number;
1392
+ /** @enum {string} */
1393
+ strategy: "provider_vad" | "server_vad" | "client_commit" | "manual";
1394
+ };
1395
+ greeting?: string;
1330
1396
  /** @enum {string} */
1331
1397
  interruptionMode?: "none" | "cancel" | "barge-in";
1398
+ language?: string;
1332
1399
  provider?: string;
1400
+ speech?: {
1401
+ /** @enum {string} */
1402
+ mode: "pipeline" | "speech_to_speech" | "provider_managed";
1403
+ synthesizer: {
1404
+ model?: string;
1405
+ provider: string;
1406
+ settings?: {
1407
+ similarity?: number;
1408
+ stability?: number;
1409
+ };
1410
+ voiceId?: string;
1411
+ };
1412
+ transcriber: {
1413
+ model?: string;
1414
+ provider: string;
1415
+ };
1416
+ };
1333
1417
  };
1334
1418
  };
1335
1419
  description?: string;
@@ -1913,6 +1997,24 @@ interface paths {
1913
1997
  ttl?: "5m" | "1h" | "24h" | "unlimited";
1914
1998
  };
1915
1999
  seed?: number;
2000
+ state?: {
2001
+ initial?: {
2002
+ [key: string]: unknown;
2003
+ };
2004
+ /**
2005
+ * @default merge
2006
+ * @enum {string}
2007
+ */
2008
+ mergeStrategy?: "replace" | "merge";
2009
+ predictState?: {
2010
+ stateKey: string;
2011
+ tool: string;
2012
+ toolArgument: string;
2013
+ }[];
2014
+ schema?: {
2015
+ [key: string]: unknown;
2016
+ };
2017
+ };
1916
2018
  systemPrompt?: string;
1917
2019
  temperature?: number;
1918
2020
  temporal?: {
@@ -2021,9 +2123,33 @@ interface paths {
2021
2123
  voiceId?: string;
2022
2124
  };
2023
2125
  enabled?: boolean;
2126
+ endpointing?: {
2127
+ silenceMs?: number;
2128
+ /** @enum {string} */
2129
+ strategy: "provider_vad" | "server_vad" | "client_commit" | "manual";
2130
+ };
2131
+ greeting?: string;
2024
2132
  /** @enum {string} */
2025
2133
  interruptionMode?: "none" | "cancel" | "barge-in";
2134
+ language?: string;
2026
2135
  provider?: string;
2136
+ speech?: {
2137
+ /** @enum {string} */
2138
+ mode: "pipeline" | "speech_to_speech" | "provider_managed";
2139
+ synthesizer: {
2140
+ model?: string;
2141
+ provider: string;
2142
+ settings?: {
2143
+ similarity?: number;
2144
+ stability?: number;
2145
+ };
2146
+ voiceId?: string;
2147
+ };
2148
+ transcriber: {
2149
+ model?: string;
2150
+ provider: string;
2151
+ };
2152
+ };
2027
2153
  };
2028
2154
  };
2029
2155
  description?: string;
@@ -2378,6 +2504,15 @@ interface paths {
2378
2504
  "application/json": components["schemas"]["Error"];
2379
2505
  };
2380
2506
  };
2507
+ /** @description The paused execution was armed by the retired legacy flow engine and cannot be resumed (LEGACY_PAUSE_UNRESUMABLE); re-run the flow */
2508
+ 410: {
2509
+ headers: {
2510
+ [name: string]: unknown;
2511
+ };
2512
+ content: {
2513
+ "application/json": components["schemas"]["Error"];
2514
+ };
2515
+ };
2381
2516
  /** @description Internal server error */
2382
2517
  500: {
2383
2518
  headers: {
@@ -3916,6 +4051,15 @@ interface paths {
3916
4051
  "application/json": components["schemas"]["Error"];
3917
4052
  };
3918
4053
  };
4054
+ /** @description The paused execution was armed by the retired legacy flow engine and cannot be resumed (LEGACY_PAUSE_UNRESUMABLE); re-run the flow */
4055
+ 410: {
4056
+ headers: {
4057
+ [name: string]: unknown;
4058
+ };
4059
+ content: {
4060
+ "application/json": components["schemas"]["Error"];
4061
+ };
4062
+ };
3919
4063
  /** @description Internal server error */
3920
4064
  500: {
3921
4065
  headers: {
@@ -8029,6 +8173,15 @@ interface paths {
8029
8173
  "application/json": components["schemas"]["Error"];
8030
8174
  };
8031
8175
  };
8176
+ /** @description The paused execution was armed by the retired legacy flow engine and cannot be resumed (LEGACY_PAUSE_UNRESUMABLE); re-run the flow */
8177
+ 410: {
8178
+ headers: {
8179
+ [name: string]: unknown;
8180
+ };
8181
+ content: {
8182
+ "application/json": components["schemas"]["Error"];
8183
+ };
8184
+ };
8032
8185
  /** @description Internal server error */
8033
8186
  500: {
8034
8187
  headers: {
@@ -11085,9 +11238,33 @@ interface paths {
11085
11238
  voiceId?: string;
11086
11239
  };
11087
11240
  enabled?: boolean;
11241
+ endpointing?: {
11242
+ silenceMs?: number;
11243
+ /** @enum {string} */
11244
+ strategy: "provider_vad" | "server_vad" | "client_commit" | "manual";
11245
+ };
11246
+ greeting?: string;
11088
11247
  /** @enum {string} */
11089
11248
  interruptionMode?: "none" | "cancel" | "barge-in";
11249
+ language?: string;
11090
11250
  provider?: string;
11251
+ speech?: {
11252
+ /** @enum {string} */
11253
+ mode: "pipeline" | "speech_to_speech" | "provider_managed";
11254
+ synthesizer: {
11255
+ model?: string;
11256
+ provider: string;
11257
+ settings?: {
11258
+ similarity?: number;
11259
+ stability?: number;
11260
+ };
11261
+ voiceId?: string;
11262
+ };
11263
+ transcriber: {
11264
+ model?: string;
11265
+ provider: string;
11266
+ };
11267
+ };
11091
11268
  };
11092
11269
  };
11093
11270
  clientTools?: ({
@@ -11265,7 +11442,7 @@ interface paths {
11265
11442
  ownerId?: string;
11266
11443
  type?: string;
11267
11444
  };
11268
- /** @description Retired. A NON-EMPTY map on an agent dispatch is rejected with 400 RUNTIME_AGENT_TRANSIENT_SECRETS_UNSUPPORTED. There is no longer an exception: the legacy engine that honored it for single-turn agents behind `options.useRuntimePackage: false` has been removed, and that opt-out is itself a 400 now. An empty map is accepted and does nothing. Ignored on flow dispatches. Store credentials as managed secrets and reference them as {{secret:NAME}}. The field is kept on the wire for compatibility only. */
11445
+ /** @description Retired on BOTH dispatch targets. A NON-EMPTY map is rejected with 400: RUNTIME_AGENT_TRANSIENT_SECRETS_UNSUPPORTED on an agent dispatch, RUNTIME_FLOW_TRANSIENT_SECRETS_UNSUPPORTED on a flow dispatch (the flow target used to drop the map silently). An empty map is accepted and does nothing. Store credentials as managed secrets and reference them as {{secret:NAME}}. The field is kept on the wire for compatibility only. */
11269
11446
  secrets?: {
11270
11447
  [key: string]: string;
11271
11448
  };
@@ -11461,9 +11638,33 @@ interface paths {
11461
11638
  voiceId?: string;
11462
11639
  };
11463
11640
  enabled?: boolean;
11641
+ endpointing?: {
11642
+ silenceMs?: number;
11643
+ /** @enum {string} */
11644
+ strategy: "provider_vad" | "server_vad" | "client_commit" | "manual";
11645
+ };
11646
+ greeting?: string;
11464
11647
  /** @enum {string} */
11465
11648
  interruptionMode?: "none" | "cancel" | "barge-in";
11649
+ language?: string;
11466
11650
  provider?: string;
11651
+ speech?: {
11652
+ /** @enum {string} */
11653
+ mode: "pipeline" | "speech_to_speech" | "provider_managed";
11654
+ synthesizer: {
11655
+ model?: string;
11656
+ provider: string;
11657
+ settings?: {
11658
+ similarity?: number;
11659
+ stability?: number;
11660
+ };
11661
+ voiceId?: string;
11662
+ };
11663
+ transcriber: {
11664
+ model?: string;
11665
+ provider: string;
11666
+ };
11667
+ };
11467
11668
  };
11468
11669
  };
11469
11670
  clientTools?: ({
@@ -11641,7 +11842,7 @@ interface paths {
11641
11842
  ownerId?: string;
11642
11843
  type?: string;
11643
11844
  };
11644
- /** @description Retired. A NON-EMPTY map on an agent dispatch is rejected with 400 RUNTIME_AGENT_TRANSIENT_SECRETS_UNSUPPORTED. There is no longer an exception: the legacy engine that honored it for single-turn agents behind `options.useRuntimePackage: false` has been removed, and that opt-out is itself a 400 now. An empty map is accepted and does nothing. Ignored on flow dispatches. Store credentials as managed secrets and reference them as {{secret:NAME}}. The field is kept on the wire for compatibility only. */
11845
+ /** @description Retired on BOTH dispatch targets. A NON-EMPTY map is rejected with 400: RUNTIME_AGENT_TRANSIENT_SECRETS_UNSUPPORTED on an agent dispatch, RUNTIME_FLOW_TRANSIENT_SECRETS_UNSUPPORTED on a flow dispatch (the flow target used to drop the map silently). An empty map is accepted and does nothing. Store credentials as managed secrets and reference them as {{secret:NAME}}. The field is kept on the wire for compatibility only. */
11645
11846
  secrets?: {
11646
11847
  [key: string]: string;
11647
11848
  };
@@ -11709,7 +11910,16 @@ interface paths {
11709
11910
  "application/json": components["schemas"]["Error"];
11710
11911
  };
11711
11912
  };
11712
- /** @description Flow definition required */
11913
+ /** @description Saved flow not found (FLOW_NOT_FOUND) */
11914
+ 404: {
11915
+ headers: {
11916
+ [name: string]: unknown;
11917
+ };
11918
+ content: {
11919
+ "application/json": components["schemas"]["Error"];
11920
+ };
11921
+ };
11922
+ /** @description The dispatch cannot run: a persisted-flow hash miss (FLOW_DEFINITION_REQUIRED, retry with the full definition), a shaped-wrong definition write (FLOW_DEFINITION_WRITE_REJECTED), no flow definition (FLOW_DEFINITION_MISSING), an unresolvable record or definition (FLOW_RECORD_UNRESOLVED, FLOW_DEFINITION_UNRESOLVED), or a capability the runtime lane cannot host (RUNTIME_LANE_INELIGIBLE, with `reasons`) */
11713
11923
  422: {
11714
11924
  headers: {
11715
11925
  [name: string]: unknown;
@@ -11852,6 +12062,15 @@ interface paths {
11852
12062
  "application/json": components["schemas"]["Error"];
11853
12063
  };
11854
12064
  };
12065
+ /** @description The paused execution was armed by the retired legacy flow engine and cannot be resumed (LEGACY_PAUSE_UNRESUMABLE); re-run the flow */
12066
+ 410: {
12067
+ headers: {
12068
+ [name: string]: unknown;
12069
+ };
12070
+ content: {
12071
+ "application/json": components["schemas"]["Error"];
12072
+ };
12073
+ };
11855
12074
  /** @description Internal server error */
11856
12075
  500: {
11857
12076
  headers: {
@@ -12005,6 +12224,15 @@ interface paths {
12005
12224
  "application/json": components["schemas"]["Error"];
12006
12225
  };
12007
12226
  };
12227
+ /** @description The paused execution was armed by the retired legacy flow engine and cannot be resumed (LEGACY_PAUSE_UNRESUMABLE); re-run the flow */
12228
+ 410: {
12229
+ headers: {
12230
+ [name: string]: unknown;
12231
+ };
12232
+ content: {
12233
+ "application/json": components["schemas"]["Error"];
12234
+ };
12235
+ };
12008
12236
  /** @description Internal server error */
12009
12237
  500: {
12010
12238
  headers: {
@@ -12146,6 +12374,15 @@ interface paths {
12146
12374
  "application/json": components["schemas"]["Error"];
12147
12375
  };
12148
12376
  };
12377
+ /** @description The paused execution was armed by the retired legacy flow engine and cannot be resumed (LEGACY_PAUSE_UNRESUMABLE); re-run the flow */
12378
+ 410: {
12379
+ headers: {
12380
+ [name: string]: unknown;
12381
+ };
12382
+ content: {
12383
+ "application/json": components["schemas"]["Error"];
12384
+ };
12385
+ };
12149
12386
  /** @description Internal server error */
12150
12387
  500: {
12151
12388
  headers: {
@@ -19416,6 +19653,86 @@ interface paths {
19416
19653
  patch?: never;
19417
19654
  trace?: never;
19418
19655
  };
19656
+ "/v1/integrations/slack/app-status": {
19657
+ parameters: {
19658
+ query?: never;
19659
+ header?: never;
19660
+ path?: never;
19661
+ cookie?: never;
19662
+ };
19663
+ /**
19664
+ * Check Slack app creation status
19665
+ * @description Report whether Slack has sent an events-URL verification challenge to a surface's Slack webhook. Slack issues that challenge when an app is created from a manifest, so a verifiedAt newer than the one observed before the manifest was handed out is evidence the customer's Slack app now exists. Verification markers expire an hour after they are recorded, and the check is advisory: the OAuth install remains the authority on whether an integration is usable.
19666
+ */
19667
+ get: {
19668
+ parameters: {
19669
+ query: {
19670
+ surfaceId: string;
19671
+ };
19672
+ header?: never;
19673
+ path?: never;
19674
+ cookie?: never;
19675
+ };
19676
+ requestBody?: never;
19677
+ responses: {
19678
+ /** @description Slack app creation status */
19679
+ 200: {
19680
+ headers: {
19681
+ [name: string]: unknown;
19682
+ };
19683
+ content: {
19684
+ "application/json": {
19685
+ verified: boolean;
19686
+ verifiedAt?: string;
19687
+ };
19688
+ };
19689
+ };
19690
+ /** @description Invalid surface ID format */
19691
+ 400: {
19692
+ headers: {
19693
+ [name: string]: unknown;
19694
+ };
19695
+ content: {
19696
+ "application/json": components["schemas"]["Error"];
19697
+ };
19698
+ };
19699
+ /** @description Unauthorized */
19700
+ 401: {
19701
+ headers: {
19702
+ [name: string]: unknown;
19703
+ };
19704
+ content: {
19705
+ "application/json": components["schemas"]["Error"];
19706
+ };
19707
+ };
19708
+ /** @description Insufficient permissions */
19709
+ 403: {
19710
+ headers: {
19711
+ [name: string]: unknown;
19712
+ };
19713
+ content: {
19714
+ "application/json": components["schemas"]["Error"];
19715
+ };
19716
+ };
19717
+ /** @description Surface not found */
19718
+ 404: {
19719
+ headers: {
19720
+ [name: string]: unknown;
19721
+ };
19722
+ content: {
19723
+ "application/json": components["schemas"]["Error"];
19724
+ };
19725
+ };
19726
+ };
19727
+ };
19728
+ put?: never;
19729
+ post?: never;
19730
+ delete?: never;
19731
+ options?: never;
19732
+ head?: never;
19733
+ patch?: never;
19734
+ trace?: never;
19735
+ };
19419
19736
  "/v1/integrations/slack/install": {
19420
19737
  parameters: {
19421
19738
  query?: never;
@@ -19570,6 +19887,7 @@ interface paths {
19570
19887
  interactivityWebhookUrl: string;
19571
19888
  manifestJson: string;
19572
19889
  redirectUrl: string;
19890
+ webhookVerifiedAt?: string;
19573
19891
  };
19574
19892
  };
19575
19893
  };
@@ -25431,6 +25749,10 @@ interface paths {
25431
25749
  /** @default 4096 */
25432
25750
  maxOutputTokens?: number;
25433
25751
  outputCostPer1kTokens: number;
25752
+ reasoning?: {
25753
+ defaultEffort?: string;
25754
+ supported: boolean;
25755
+ };
25434
25756
  /**
25435
25757
  * @default [
25436
25758
  * "text",
@@ -26093,6 +26415,10 @@ interface paths {
26093
26415
  /** @default 4096 */
26094
26416
  maxOutputTokens?: number;
26095
26417
  outputCostPer1kTokens: number;
26418
+ reasoning?: {
26419
+ defaultEffort?: string;
26420
+ supported: boolean;
26421
+ };
26096
26422
  /**
26097
26423
  * @default [
26098
26424
  * "text",
@@ -33077,7 +33403,7 @@ interface paths {
33077
33403
  requestBody?: {
33078
33404
  content: {
33079
33405
  "application/json": {
33080
- /** @default gemini-3.7-flash */
33406
+ /** @default gemini-3.8-flash */
33081
33407
  model?: string;
33082
33408
  name: string;
33083
33409
  /**
@@ -33274,7 +33600,7 @@ interface paths {
33274
33600
  requestBody?: {
33275
33601
  content: {
33276
33602
  "application/json": {
33277
- /** @default gemini-3.7-flash */
33603
+ /** @default gemini-3.8-flash */
33278
33604
  model?: string;
33279
33605
  name?: string;
33280
33606
  /**
@@ -34256,6 +34582,10 @@ interface paths {
34256
34582
  inputCostPer1kTokens?: number;
34257
34583
  maxOutputTokens?: number;
34258
34584
  outputCostPer1kTokens?: number;
34585
+ reasoning?: {
34586
+ defaultEffort?: string;
34587
+ supported: boolean;
34588
+ };
34259
34589
  supportedResponseFormats?: string[];
34260
34590
  supportsStreaming?: boolean;
34261
34591
  }[];
@@ -45273,6 +45603,24 @@ interface components {
45273
45603
  ttl?: "5m" | "1h" | "24h" | "unlimited";
45274
45604
  };
45275
45605
  seed?: number;
45606
+ state?: {
45607
+ initial?: {
45608
+ [key: string]: unknown;
45609
+ };
45610
+ /**
45611
+ * @default merge
45612
+ * @enum {string}
45613
+ */
45614
+ mergeStrategy: "replace" | "merge";
45615
+ predictState?: {
45616
+ stateKey: string;
45617
+ tool: string;
45618
+ toolArgument: string;
45619
+ }[];
45620
+ schema?: {
45621
+ [key: string]: unknown;
45622
+ };
45623
+ };
45276
45624
  systemPrompt?: string;
45277
45625
  temperature?: number;
45278
45626
  temporal?: {
@@ -45381,9 +45729,33 @@ interface components {
45381
45729
  voiceId?: string;
45382
45730
  };
45383
45731
  enabled?: boolean;
45732
+ endpointing?: {
45733
+ silenceMs?: number;
45734
+ /** @enum {string} */
45735
+ strategy: "provider_vad" | "server_vad" | "client_commit" | "manual";
45736
+ };
45737
+ greeting?: string;
45384
45738
  /** @enum {string} */
45385
45739
  interruptionMode?: "none" | "cancel" | "barge-in";
45740
+ language?: string;
45386
45741
  provider?: string;
45742
+ speech?: {
45743
+ /** @enum {string} */
45744
+ mode: "pipeline" | "speech_to_speech" | "provider_managed";
45745
+ synthesizer: {
45746
+ model?: string;
45747
+ provider: string;
45748
+ settings?: {
45749
+ similarity?: number;
45750
+ stability?: number;
45751
+ };
45752
+ voiceId?: string;
45753
+ };
45754
+ transcriber: {
45755
+ model?: string;
45756
+ provider: string;
45757
+ };
45758
+ };
45387
45759
  };
45388
45760
  };
45389
45761
  description?: string;
@@ -46195,6 +46567,11 @@ interface components {
46195
46567
  /** @enum {string} */
46196
46568
  role: "user" | "assistant" | "system";
46197
46569
  seq: number;
46570
+ subagent?: {
46571
+ agentName?: string;
46572
+ parentToolCallId?: string;
46573
+ toolName: string;
46574
+ };
46198
46575
  turnIndex?: number;
46199
46576
  /** @enum {string} */
46200
46577
  type: "turn_start";
@@ -46235,6 +46612,11 @@ interface components {
46235
46612
  seq: number;
46236
46613
  /** @enum {string} */
46237
46614
  stopReason?: "end_turn" | "max_tool_calls" | "length" | "content_filter" | "error" | "unknown";
46615
+ subagent?: {
46616
+ agentName?: string;
46617
+ parentToolCallId?: string;
46618
+ toolName: string;
46619
+ };
46238
46620
  tokens?: {
46239
46621
  input: number;
46240
46622
  output: number;
@@ -46250,6 +46632,11 @@ interface components {
46250
46632
  seq: number;
46251
46633
  startedAt?: string;
46252
46634
  stepType?: string;
46635
+ subagent?: {
46636
+ agentName?: string;
46637
+ parentToolCallId?: string;
46638
+ toolName: string;
46639
+ };
46253
46640
  totalSteps?: number;
46254
46641
  /** @enum {string} */
46255
46642
  type: "step_start";
@@ -46280,6 +46667,11 @@ interface components {
46280
46667
  stepType?: string;
46281
46668
  /** @enum {string} */
46282
46669
  stopReason?: "end_turn" | "max_tool_calls" | "length" | "content_filter" | "error" | "unknown";
46670
+ subagent?: {
46671
+ agentName?: string;
46672
+ parentToolCallId?: string;
46673
+ toolName: string;
46674
+ };
46283
46675
  success?: boolean;
46284
46676
  tokensUsed?: number;
46285
46677
  /** @enum {string} */
@@ -46305,6 +46697,11 @@ interface components {
46305
46697
  role?: "user" | "assistant" | "system";
46306
46698
  seq: number;
46307
46699
  stepId?: string;
46700
+ subagent?: {
46701
+ agentName?: string;
46702
+ parentToolCallId?: string;
46703
+ toolName: string;
46704
+ };
46308
46705
  turnId?: string;
46309
46706
  /** @enum {string} */
46310
46707
  type: "text_start";
@@ -46313,12 +46710,22 @@ interface components {
46313
46710
  executionId: string;
46314
46711
  id: string;
46315
46712
  seq: number;
46713
+ subagent?: {
46714
+ agentName?: string;
46715
+ parentToolCallId?: string;
46716
+ toolName: string;
46717
+ };
46316
46718
  /** @enum {string} */
46317
46719
  type: "text_delta";
46318
46720
  } | {
46319
46721
  executionId: string;
46320
46722
  id: string;
46321
46723
  seq: number;
46724
+ subagent?: {
46725
+ agentName?: string;
46726
+ parentToolCallId?: string;
46727
+ toolName: string;
46728
+ };
46322
46729
  text?: string;
46323
46730
  /** @enum {string} */
46324
46731
  type: "text_complete";
@@ -46329,6 +46736,11 @@ interface components {
46329
46736
  /** @enum {string} */
46330
46737
  scope?: "turn" | "loop";
46331
46738
  seq: number;
46739
+ subagent?: {
46740
+ agentName?: string;
46741
+ parentToolCallId?: string;
46742
+ toolName: string;
46743
+ };
46332
46744
  /** @enum {string} */
46333
46745
  type: "reasoning_start";
46334
46746
  } | {
@@ -46336,6 +46748,11 @@ interface components {
46336
46748
  executionId: string;
46337
46749
  id: string;
46338
46750
  seq: number;
46751
+ subagent?: {
46752
+ agentName?: string;
46753
+ parentToolCallId?: string;
46754
+ toolName: string;
46755
+ };
46339
46756
  /** @enum {string} */
46340
46757
  type: "reasoning_delta";
46341
46758
  } | {
@@ -46344,6 +46761,11 @@ interface components {
46344
46761
  /** @enum {string} */
46345
46762
  scope?: "turn" | "loop";
46346
46763
  seq: number;
46764
+ subagent?: {
46765
+ agentName?: string;
46766
+ parentToolCallId?: string;
46767
+ toolName: string;
46768
+ };
46347
46769
  text?: string;
46348
46770
  /** @enum {string} */
46349
46771
  type: "reasoning_complete";
@@ -46458,6 +46880,11 @@ interface components {
46458
46880
  seq: number;
46459
46881
  startedAt?: string;
46460
46882
  stepId?: string;
46883
+ subagent?: {
46884
+ agentName?: string;
46885
+ parentToolCallId?: string;
46886
+ toolName: string;
46887
+ };
46461
46888
  toolCallId: string;
46462
46889
  toolName: string;
46463
46890
  toolType: string;
@@ -46467,6 +46894,11 @@ interface components {
46467
46894
  delta: string;
46468
46895
  executionId: string;
46469
46896
  seq: number;
46897
+ subagent?: {
46898
+ agentName?: string;
46899
+ parentToolCallId?: string;
46900
+ toolName: string;
46901
+ };
46470
46902
  toolCallId: string;
46471
46903
  /** @enum {string} */
46472
46904
  type: "tool_input_delta";
@@ -46477,6 +46909,11 @@ interface components {
46477
46909
  [key: string]: unknown;
46478
46910
  };
46479
46911
  seq: number;
46912
+ subagent?: {
46913
+ agentName?: string;
46914
+ parentToolCallId?: string;
46915
+ toolName: string;
46916
+ };
46480
46917
  toolCallId: string;
46481
46918
  toolName?: string;
46482
46919
  /** @enum {string} */
@@ -46496,6 +46933,11 @@ interface components {
46496
46933
  result?: unknown;
46497
46934
  seq: number;
46498
46935
  stepId?: string;
46936
+ subagent?: {
46937
+ agentName?: string;
46938
+ parentToolCallId?: string;
46939
+ toolName: string;
46940
+ };
46499
46941
  success: boolean;
46500
46942
  toolCallId: string;
46501
46943
  toolCost?: number;
@@ -49010,6 +49452,14 @@ interface ProviderKeyModel {
49010
49452
  inputCostPer1kTokens?: number;
49011
49453
  outputCostPer1kTokens?: number;
49012
49454
  supportedResponseFormats?: string[];
49455
+ /**
49456
+ * Whether the endpoint accepts `reasoning_effort` for this model, and the effort sent when an
49457
+ * agent or step sets no reasoning of its own. `defaultEffort` requires `supported: true`.
49458
+ */
49459
+ reasoning?: {
49460
+ supported: boolean;
49461
+ defaultEffort?: string;
49462
+ };
49013
49463
  }
49014
49464
  /** Content part types for multi-modal messages */
49015
49465
  interface TextContentPart {
@@ -49907,6 +50357,13 @@ type SlackManifestRequest = NonNullable<paths['/v1/integrations/slack/manifest']
49907
50357
  * already connected and gets the manifest without a handoff.
49908
50358
  */
49909
50359
  type SlackManifestResponse = paths['/v1/integrations/slack/manifest']['post']['responses'][200]['content']['application/json'];
50360
+ /**
50361
+ * Whether Slack has verified a surface's events URL. Slack sends that
50362
+ * challenge when an app is created from a manifest, so a `verifiedAt` newer
50363
+ * than the one read before the manifest was handed out means the app now
50364
+ * exists. Advisory only: OAuth decides whether an integration is usable.
50365
+ */
50366
+ type SlackAppStatusResponse = paths['/v1/integrations/slack/app-status']['get']['responses'][200]['content']['application/json'];
49910
50367
  interface EndUserUsageQuery {
49911
50368
  productId: string;
49912
50369
  productTenantId?: string;
@@ -52655,6 +53112,18 @@ interface AgentDefinitionConfig {
52655
53112
  maxBudgetMs?: number | null;
52656
53113
  forced?: 'durable' | 'in_process';
52657
53114
  };
53115
+ /** Opt-in agent state channel — a shared JSON document the client and agent both see. */
53116
+ state?: {
53117
+ initial?: Record<string, unknown>;
53118
+ schema?: Record<string, unknown>;
53119
+ mergeStrategy?: 'replace' | 'merge';
53120
+ /** Tool arguments an AG-UI client may project into state while they stream. */
53121
+ predictState?: Array<{
53122
+ stateKey: string;
53123
+ tool: string;
53124
+ toolArgument: string;
53125
+ }>;
53126
+ };
52658
53127
  }
52659
53128
  /**
52660
53129
  * `defineAgent` input — the flat authoring shape: identity + presentation
@@ -57110,6 +57579,13 @@ declare class IntegrationsEndpoint {
57110
57579
  * embedded in `createAppUrl`.
57111
57580
  */
57112
57581
  generateSlackManifest(data: SlackManifestRequest): Promise<SlackManifestResponse>;
57582
+ /**
57583
+ * Report whether Slack has verified a surface's events URL. Slack sends that
57584
+ * challenge when an app is created from a manifest, so a `verifiedAt` newer
57585
+ * than the one read before the manifest was handed out is evidence the app
57586
+ * now exists. Markers expire after an hour.
57587
+ */
57588
+ getSlackAppStatus(surfaceId: string): Promise<SlackAppStatusResponse>;
57113
57589
  }
57114
57590
  /**
57115
57591
  * Billing endpoint handlers
@@ -58768,4 +59244,4 @@ declare function getLikelySupportingCandidatePaths(bestCandidatePath: string | u
58768
59244
  declare function getDefaultPlanPath(taskName: string): string;
58769
59245
  declare function sanitizeTaskSlug(taskName: string): string;
58770
59246
 
58771
- export { type AIGrader, type Agent, type AgentAdmissionOptions, type AgentApprovalCompleteEvent, type AgentApprovalStartEvent, type AgentCompleteEvent, type AgentDefinition, type AgentDefinitionConfig, AgentDriftError, type AgentElicitation, type AgentElicitationRequest, AgentEnsureConflictError, type AgentErrorEvent, type AgentEvent, type AgentEventType, type AgentExecuteRequest, type AgentExecuteResponse, type AgentIterationCompleteEvent, type AgentIterationStartEvent, type AgentMediaEvent, type AgentMessage, type AgentPausedEvent, type AgentPingEvent, type AgentPullResult, type AgentReflectionEvent, type AgentRuntimeToolDefinition, type AgentStartEvent, type AgentStreamCallbacks, type AgentStreamEvent, type AgentSubagentConfig, type AgentToolCompleteEvent, type AgentToolDeltaEvent, type AgentToolInputCompleteEvent, type AgentToolInputDeltaEvent, type AgentToolStartEvent, type AgentTurnCompleteEvent, type AgentTurnDeltaEvent, type AgentTurnStartEvent, type AgentVersionDetail, type AgentVersionListItem, type AgentVersionPublishResponse, AgentVersionsEndpoint, type AgentVersionsListResponse, AgentsEndpoint, AgentsNamespace, AnalyticsEndpoint, type ApiClient, type ApiKey, type ApiKeyRequest, type ApiKeyRequestDelivery, type ApiKeyRequestEnvironment, type ApiKeyRequestHandoff, type ApiKeyRequestListParams, type ApiKeyRequestRequester, type ApiKeyRequestStatus, ApiKeyRequestsEndpoint, ApiKeysEndpoint, type ApiResponse, type ApplyGeneratedProposalOptions, type ApplyGeneratedProposalResult, type AssetReferenceContentPart, type AsyncExecutionHandle, type AsyncExecutionStatus, type AttachRuntimeToolsOptions, type BaseAgentEvent, BatchBuilder, type BatchClient, type BatchListParams, type BatchOptions, type BatchRequest, type BatchResult, type BatchScheduleConfig, type BatchStatus, BatchesNamespace, BillingEndpoint, type BillingSpendAnalyticsParams, type BindSkillInput, type BuiltInGraderId, type BuiltInTool, type BulkEditCondition, type BulkEditRequest, type BulkEditResponse, type BulkEditResult, type CanonicalDispatchMessageContent, type CanonicalDispatchRequest, type CaseExpected, type CatalogClientToolRef, ChatEndpoint, type CheckGrader, type ClaimApiKeyRequestInput, type ClaimApiKeyRequestResponse, type ClaudeManagedEvalOverrideValues, ClientBatchBuilder, type ClientConfig, type ClientConversation, ClientEvalBuilder, ClientFlowBuilder, type ClientToken, type ClientTokenConfig, type ClientTokenEnvironment, type ClientTokenVersionPin, ClientTokensEndpoint, type ClientToolDefinition, type ClientToolEntry, type ClientWidgetTheme, type CollectionMeta, CollectionsEndpoint, type ConditionalGetResult, type ConditionalStepConfig$1 as ConditionalStepConfig, type ContextErrorHandling, type ContextFallback, ContextTemplatesEndpoint, type Conversation, type ConversationListItem, type ConversationListParams, type ConversationMessage, type ConversationSource, ConversationsEndpoint, type ConversationsListResponse, type CreateApiKeyRequest, type CreateApiKeyRequestInput, type CreateApiKeyRequestResponse, type CreateClientTokenRequest, type CreateClientTokenResponse, type CreateCollectionRequest, type CreateConversationRequest, type CreateEvalSuiteInput, type CreateFlowRequest, type CreateModelConfigRequest, type CreatePromptData, type CreatePromptRequest, type CreateProviderKeyRequest, type CreateRecordRequest, type CreateScheduleRequest, type CreateSecretRequest, type CreateToolRequest, type CurrentBilledSpendResponse, type CurrentBilledSpendSource, type CustomMCPServer, type CustomMCPServerAuth, type CustomToolConfig, DEFAULT_MAX_DETACHED_RECONNECTS, DEFAULT_RECOVERY_AFTER_EMPTY_SESSIONS, DEFAULT_STALL_STOP_AFTER, type DecomposeCriteriaResult, type DefineAgentInput, type DefineEvalCaseInput, type DefineEvalInput, type DefineFlowInput, type DefineProductInput, type DefineSkillInput, type DefineSurfaceInput, type DefineToolInput, type DeployCfSandboxRequest, type DeployCfSandboxResponse, type DeploySandboxRequest, type DeploySandboxResponse, type DetachedReattach, type DetachedReconnectOptions, type DiscoveredModel, type DispatchAgentInput, type DispatchApprovalContinuationResponse, type DispatchApproveRequest, type DispatchApproveResponse, type DispatchClient, type DispatchContinuationRequest, type DispatchContinuationResponse, type DispatchDetachedApprovalResponse, DispatchEndpoint, type DispatchEnvironment, type DispatchEvent, type DispatchFlowInput, type DispatchMessageContent, type DispatchOptions$1 as DispatchOptions, type DispatchRequest, type DispatchResponse, type DispatchResumeRequest, type DispatchResumeResponse, type EndUserUsageQuery, type EndUserUsageResponse, type EnsureAgentConverged, type EnsureAgentOptions, type EnsureAgentPlan, type EnsureAgentResult, type EnsureEvalResult, type EnsureFlowConverged, type EnsureFlowOptions, type EnsureFlowPlan, type EnsureFlowResult, type EnsureFpoOptions, type EnsureFpoResult, type EnsureProductConverged, type EnsureProductOptions, type EnsureProductPlan, type EnsureProductResult, type EnsureSkillConverged, type EnsureSkillOptions, type EnsureSkillPlan, type EnsureSkillResult, type EnsureSurfaceConverged, type EnsureSurfaceOptions, type EnsureSurfacePlan, type EnsureSurfaceResult, type EnsureToolConverged, type EnsureToolOptions, type EnsureToolPlan, type EnsureToolResult, type ErrorHandlingMode, EvalBuilder, type EvalCaseDefinition, type EvalCaseInput, type EvalCaseProposal, type EvalCaseProposalAccepted, type EvalCaseProposalListResult, type EvalCasesGenerated, type EvalClient, type EvalDefinition, EvalEndpoint, type EvalListParams, type EvalMessage, type EvalOptions, type EvalOverrideValues, type EvalProposalSource, type EvalProposalStatus, type EvalProposedCase, type EvalPullResult, type EvalRecord, type EvalRequest, type EvalResult, type EvalRunCaseScores, type EvalRunConfig, type EvalRunScores, EvalRunner, type EvalStatus, type EvalSuiteCase, type EvalSuiteCaseInput, type EvalSuiteCoverage, type EvalSuiteDetail, type EvalSuiteLatestRun, type EvalSuiteListResult, type EvalSuiteRunQueued, type EvalSuiteRunResult, type EvalSuiteSummary, EvalSuitesNamespace, type EvalTarget, EvalsNamespace, type ExecuteToolRequest, type ExecuteToolResponse, type ExecutionStreamEvent, ExecutionsEndpoint, ExecutionsNamespace, type ExternalAgentContext, type ExternalToolConfig, type FallbackFailEvent, type FallbackStartEvent, type FallbackSuccessEvent, type FallbackTrigger, type FallbackTriggerType, type FallbacksExhaustedEvent, type FallbacksInitiatedEvent, type FetchUrlStepConfig$1 as FetchUrlStepConfig, type FieldFormat, type FileContentPart, type Flow, type FlowAttachment, FlowBuilder, type FlowCompleteEvent, type FlowConfig$1 as FlowConfig, type FlowDefinition, type FlowDefinitionStep, FlowDriftError, FlowEnsureConflictError, type FlowErrorEvent, type FlowFallback, type FlowInlineEvalInput, type FlowListItem, type FlowPausedEvent, type FlowPullResult, FlowResult, type FlowStartEvent, type FlowStep, type FlowStepDefinition, type FlowStepType, FlowStepsEndpoint, type FlowStreamEvent, type FlowSummary, type FlowToolConfig, type FlowValidationClient, type FlowValidationIssue, type FlowValidationResult, type FlowVersionDetail, type FlowVersionListItem, type FlowVersionPublishResponse, FlowVersionsEndpoint, type FlowVersionsListResponse, FlowsEndpoint, FlowsNamespace, type FpoEntityOutcome, type FpoInput, type GenerateEmbeddingStepConfig$1 as GenerateEmbeddingStepConfig, type GenerateEvalCasesInput, type GeneratedRuntimeToolGateDecision, type GeneratedRuntimeToolGateOptions, type GetApiKeyRequestResponse, type GetRecordStepConfig$1 as GetRecordStepConfig, type Gradeable, type GraderConfig, type GraderOutcome, type GraderSeverity, type HumanVerdict, type ImageContentPart, type InferCollectionSchemaResponse, type Integration, type IntegrationTool, IntegrationsEndpoint, type IntegrationsListResponse, type JSONSchema, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, LEDGER_ARTIFACT_LINE_PREFIX, type ListCollectionsResponse, type ListConversationsResponse, type ListParams, type ListRecordsStepConfig$1 as ListRecordsStepConfig, type LocalToolConfig, type LocalToolDefinition, type LocalToolExecutionCompleteEvent, type LocalToolExecutionLoopSnapshotSlice, type LocalToolExecutionStartEvent, type LogEntry, type LogQueryParams, type LogQueryResponse, type LogQueryResult, type LogStatsParams, type LogStatsResponse, type LogStatsResult, LogsEndpoint, type LoopStepConfig$1 as LoopStepConfig, type Message$1 as Message, type MessageContent, type MessageFallback, type Metadata, type ModelConfig, ModelConfigsEndpoint, type ModelFallback, type ModelOverride, type ModelUsageDetail, type ModelUsageQueryParams, type ModelUsageResponse, type ModelUsageSummary, type ModelUsageTimeSeries, type PaginationResponse, type PersistedGraderOutcome, type ProductDefinition, ProductDriftError, ProductEnsureConflictError, type ProductPullResult, ProductsNamespace, type Prompt$1 as Prompt, type PromptErrorHandling, type PromptFallback, type PromptListParams, type PromptStepConfig$1 as PromptStepConfig, PromptsEndpoint, PromptsNamespace, type ProviderApiKey, type ProviderKeyModel, ProviderKeysEndpoint, type PullFpoResult, RUNTYPE_CLIENT_KIND, type ReasoningConfig, type ReasoningContentPart, type ReasoningValue, type RecordCollection, type RecordCollectionWithHistory, type RecordCollections, type RecordConfig$1 as RecordConfig, type RecordCostAggregation, type RecordCostModelBreakdown, type RecordFilter, type RecordFilterCondition, type RecordFilterGroup, type RecordFilterOperator, type RecordListItem, type RecordListParams, type RecordStepResult, type RecordStepResultsParams, type RecordStepResultsResponse, type RecordWriteResponse, RecordsEndpoint, type RetrieveRecordStepConfig$1 as RetrieveRecordStepConfig, type RetryFallback, type RunEvalCaseResult, type RunEvalInput, type RunEvalResult, type RunTaskContextBudgetBreakdown, type RunTaskContextCompactionEvent, type RunTaskContextCompactionStrategy, type RunTaskContextNoticeEvent, type RunTaskContextSummaryEntry, type RunTaskContinuation, type RunTaskOffloadRecorder, type RunTaskOnContextCompaction, type RunTaskOnContextNotice, type RunTaskOnSession, type RunTaskOptions, type RunTaskResult, type RunTaskResumeState, type RunTaskSessionSummary, type RunTaskState, type RunTaskStateSlice, type RunTaskStatus, type RunTaskToolTraceSlice, type RuntimeCustomToolConfig, type RuntimeExternalToolConfig, type RuntimeFlowToolConfig, type RuntimeLocalToolConfig, type RuntimeSubagentToolConfig, type RuntimeTool, type RuntimeToolConfig, Runtype, type AgentSkillBinding as RuntypeAgentSkillBinding, RuntypeApiError, RuntypeClient, type ConditionalStepConfig as RuntypeConditionalStepConfig, type RuntypeConfig, type FetchUrlStepConfig as RuntypeFetchUrlStepConfig, RuntypeFlowBuilder, type FlowConfig as RuntypeFlowConfig, type GenerateEmbeddingStepConfig as RuntypeGenerateEmbeddingStepConfig, type GetRecordStepConfig as RuntypeGetRecordStepConfig, type ListRecordsStepConfig as RuntypeListRecordsStepConfig, type LoopStepConfig as RuntypeLoopStepConfig, type Message as RuntypeMessage, type ModelOverride$1 as RuntypeModelOverride, type Prompt as RuntypePrompt, type PromptStepConfig as RuntypePromptStepConfig, type RuntypeRecord, type RecordConfig as RuntypeRecordConfig, type RetrieveRecordStepConfig as RuntypeRetrieveRecordStepConfig, type SearchStepConfig as RuntypeSearchStepConfig, type SendEmailStepConfig as RuntypeSendEmailStepConfig, type SendEventStepConfig as RuntypeSendEventStepConfig, type SendStreamStepConfig as RuntypeSendStreamStepConfig, type SetVariableStepConfig as RuntypeSetVariableStepConfig, type Skill as RuntypeSkill, type SkillCapabilities as RuntypeSkillCapabilities, type SkillFrontmatter as RuntypeSkillFrontmatter, type SkillManifest as RuntypeSkillManifest, type SkillProposal as RuntypeSkillProposal, type SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, type SkillVersion as RuntypeSkillVersion, type TransformDataStepConfig as RuntypeTransformDataStepConfig, type UpsertFlowConfig as RuntypeUpsertFlowConfig, type UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, type VectorSearchStepConfig as RuntypeVectorSearchStepConfig, type WaitUntilStepConfig as RuntypeWaitUntilStepConfig, SDK_USER_AGENT, SDK_VERSION, STEP_FIELD_REGISTRY, STEP_TYPE_TO_METHOD, type Schedule, type ScheduleExecutionOptions, type ScheduleListParams, type ScheduleMessage, type ScheduleMessageSet, type ScheduleMessages, type ScheduleMutationResponse, type ScheduleRun, type ScheduleRunNowResponse, type ScheduleStatusResponse, type ScheduleTarget, type ScheduleTrigger, SchedulesEndpoint, type SearchStepConfig$1 as SearchStepConfig, type Secret, type SecretCheckResponse, type SecretDeleteResponse, type SecretSetupUrlRequest, type SecretSetupUrlResponse, SecretsEndpoint, type SelectOrganizationProviderCredentialRequest, type SelectOrganizationProviderCredentialResponse, type SendEmailStepConfig$1 as SendEmailStepConfig, type SendEventStepConfig$1 as SendEventStepConfig, type SendStreamStepConfig$1 as SendStreamStepConfig, type SetVariableStepConfig$1 as SetVariableStepConfig, type SkillDefinition, SkillDriftError, SkillEnsureConflictError, type SkillListPage, type SkillListPagination, type SkillListParams, type SkillManifestInput, type SkillMarkdownInput, type SkillOrigin, type SkillProposalStatus, SkillProposalsNamespace, type SkillPullResult, type SkillStatus, type SkillTrustLevel, type SkillVersionStatus, type SkillWithVersion, type SkillWriteInput, SkillsNamespace, type SlackInstallRequest, type SlackManifestRequest, type SlackManifestResponse, type SlackOAuthStartRequest, type SlackOAuthStartResponse, type StepCompleteEvent, type StepDeltaEvent, type StepFallback, type StepFieldMeta, type StepStartEvent, type StepWaitingLocalEvent, type StreamCallbacks, type StreamConsumeOptions, type StreamEvent, type StreamEventOf, type SubagentToolConfig, type Surface, type SurfaceDefinition, type SurfaceDefinitionStatus, type SurfaceDefinitionType, SurfaceDriftError, SurfaceEnsureConflictError, type SurfaceListParams, type SurfacePullResult, SurfacesEndpoint, SurfacesNamespace, type TextContentPart, type Tool, type ToolApprovalGrant, ToolApprovalGrantsEndpoint, type ToolConfig, type ToolDefinition, type ToolDefinitionType, ToolDriftError, ToolEnsureConflictError, type ToolPullResult, type ToolWithValidation, type ToolsConfig, ToolsEndpoint, ToolsNamespace, type TransformDataStepConfig$1 as TransformDataStepConfig, type TypedCreateRecordRequest, type TypedRecordListItem, type TypedRecordWriteResponse, TypedRecordsScope, type TypedRuntypeRecord, UNIFIED_EVENTS_QUERY, type UpdateClientTokenRequest, type UpdateCollectionRequest, type UpdateCollectionResponse, type UpdateConversationRequest, type UpdateEvalCaseInput, type UpdateEvalSuiteInput, type UpdateFlowRequest, type UpdatePromptData, type UpdateProviderKeyRequest, type UpdateScheduleRequest, type UpdateSecretRequest, type UpdateToolRequest, type UpdatedFlow, type UpsertFlowConfig$1 as UpsertFlowConfig, type UpsertOptions, type UpsertRecordStepConfig$1 as UpsertRecordStepConfig, type UserProfile, UsersEndpoint, type ValidateExistingRecordsResponse, type VectorSearchStepConfig$1 as VectorSearchStepConfig, type VersionPublishOptions, type VersionType, type WaitUntilStepConfig$1 as WaitUntilStepConfig, type WorkflowCompileDeps, type WorkflowCompletionCriteriaConfig, type WorkflowConfig, type WorkflowConfigFactory, type WorkflowContext, type WorkflowDefinition, type WorkflowHookEntry, type WorkflowHookKind, type WorkflowHookRef, type WorkflowHookSignatures, type WorkflowMilestoneConfig, type WorkflowPhase, type WorkflowPolicyConfig, type WorkflowRecoveryConfig, type WorkflowSlot, type WorkflowStallPolicy, applyGeneratedRuntimeToolProposalToDispatchRequest, attachRuntimeToolsToDispatchRequest, buildAgentAdmissionHeaders, buildEmptySessionNudge, buildGeneratedRuntimeToolGateOutput, buildLedgerOffloadReference, buildPolicyGuidance, buildSendViewOffloadMarker, calledTool, compileWorkflowConfig, completed, computeAgentContentHash, computeEvalContentHash, computeFlowContentHash, computeFpoContentHash, computeProductContentHash, computeSkillContentHash, computeSurfaceContentHash, computeToolContentHash, contains, cost, createAgentEventTranslator, createClient, createExternalTool, createFlowEventTranslator, defaultWorkflow, defaultWorkflowConfig, defineAgent, defineEval, defineFlow, defineFpo, definePlaybook, defineProduct, defineSkill, defineSurface, defineTool, deployWorkflow, ensureDefaultWorkflowHooks, ensureEval, ensureFpo, evaluateGeneratedRuntimeToolProposal, extractDeclaredToolResultChars, gameWorkflow, getDefaultPlanPath, getLikelySupportingCandidatePaths, interpolateWorkflowTemplate, isCatalogClientToolRef, isDiscoveryToolName, isMarathonArtifactPath, isPreservationSensitiveTask, isUnifiedEventType, isWorkflowHookRef, jsonField, judge, judges, latency, length, listWorkflowHooks, matchesExpected, maxToolCalls, noError, normalizeAgentDefinition, normalizeCandidatePath, normalizeFpoDefinition, normalizeProductDefinition, normalizeSkillDefinition, normalizeSurfaceDefinition, normalizeToolDefinition, notCalledTool, notContains, parseFinalBuffer, parseLedgerArtifactRelativePath, parseOffloadedOutputId, parseSSEChunk, processStream, pullEval, pullFpo, ranStep, regex, registerWorkflowHook, resolveStallStopAfter, resolveWorkflowHook, runEvalSuite, sanitizeTaskSlug, shouldInjectEmptySessionNudge, shouldRequestModelEscalation, stepOrder, streamEvents, toolOrder, unregisterWorkflowHook, usedNoTools, validJson, withDetachedReconnect, withUnifiedEvents };
59247
+ export { type AIGrader, type Agent, type AgentAdmissionOptions, type AgentApprovalCompleteEvent, type AgentApprovalStartEvent, type AgentCompleteEvent, type AgentDefinition, type AgentDefinitionConfig, AgentDriftError, type AgentElicitation, type AgentElicitationRequest, AgentEnsureConflictError, type AgentErrorEvent, type AgentEvent, type AgentEventType, type AgentExecuteRequest, type AgentExecuteResponse, type AgentIterationCompleteEvent, type AgentIterationStartEvent, type AgentMediaEvent, type AgentMessage, type AgentPausedEvent, type AgentPingEvent, type AgentPullResult, type AgentReflectionEvent, type AgentRuntimeToolDefinition, type AgentStartEvent, type AgentStreamCallbacks, type AgentStreamEvent, type AgentSubagentConfig, type AgentToolCompleteEvent, type AgentToolDeltaEvent, type AgentToolInputCompleteEvent, type AgentToolInputDeltaEvent, type AgentToolStartEvent, type AgentTurnCompleteEvent, type AgentTurnDeltaEvent, type AgentTurnStartEvent, type AgentVersionDetail, type AgentVersionListItem, type AgentVersionPublishResponse, AgentVersionsEndpoint, type AgentVersionsListResponse, AgentsEndpoint, AgentsNamespace, AnalyticsEndpoint, type ApiClient, type ApiKey, type ApiKeyRequest, type ApiKeyRequestDelivery, type ApiKeyRequestEnvironment, type ApiKeyRequestHandoff, type ApiKeyRequestListParams, type ApiKeyRequestRequester, type ApiKeyRequestStatus, ApiKeyRequestsEndpoint, ApiKeysEndpoint, type ApiResponse, type ApplyGeneratedProposalOptions, type ApplyGeneratedProposalResult, type AssetReferenceContentPart, type AsyncExecutionHandle, type AsyncExecutionStatus, type AttachRuntimeToolsOptions, type BaseAgentEvent, BatchBuilder, type BatchClient, type BatchListParams, type BatchOptions, type BatchRequest, type BatchResult, type BatchScheduleConfig, type BatchStatus, BatchesNamespace, BillingEndpoint, type BillingSpendAnalyticsParams, type BindSkillInput, type BuiltInGraderId, type BuiltInTool, type BulkEditCondition, type BulkEditRequest, type BulkEditResponse, type BulkEditResult, type CanonicalDispatchMessageContent, type CanonicalDispatchRequest, type CaseExpected, type CatalogClientToolRef, ChatEndpoint, type CheckGrader, type ClaimApiKeyRequestInput, type ClaimApiKeyRequestResponse, type ClaudeManagedEvalOverrideValues, ClientBatchBuilder, type ClientConfig, type ClientConversation, ClientEvalBuilder, ClientFlowBuilder, type ClientToken, type ClientTokenConfig, type ClientTokenEnvironment, type ClientTokenVersionPin, ClientTokensEndpoint, type ClientToolDefinition, type ClientToolEntry, type ClientWidgetTheme, type CollectionMeta, CollectionsEndpoint, type ConditionalGetResult, type ConditionalStepConfig$1 as ConditionalStepConfig, type ContextErrorHandling, type ContextFallback, ContextTemplatesEndpoint, type Conversation, type ConversationListItem, type ConversationListParams, type ConversationMessage, type ConversationSource, ConversationsEndpoint, type ConversationsListResponse, type CreateApiKeyRequest, type CreateApiKeyRequestInput, type CreateApiKeyRequestResponse, type CreateClientTokenRequest, type CreateClientTokenResponse, type CreateCollectionRequest, type CreateConversationRequest, type CreateEvalSuiteInput, type CreateFlowRequest, type CreateModelConfigRequest, type CreatePromptData, type CreatePromptRequest, type CreateProviderKeyRequest, type CreateRecordRequest, type CreateScheduleRequest, type CreateSecretRequest, type CreateToolRequest, type CurrentBilledSpendResponse, type CurrentBilledSpendSource, type CustomMCPServer, type CustomMCPServerAuth, type CustomToolConfig, DEFAULT_MAX_DETACHED_RECONNECTS, DEFAULT_RECOVERY_AFTER_EMPTY_SESSIONS, DEFAULT_STALL_STOP_AFTER, type DecomposeCriteriaResult, type DefineAgentInput, type DefineEvalCaseInput, type DefineEvalInput, type DefineFlowInput, type DefineProductInput, type DefineSkillInput, type DefineSurfaceInput, type DefineToolInput, type DeployCfSandboxRequest, type DeployCfSandboxResponse, type DeploySandboxRequest, type DeploySandboxResponse, type DetachedReattach, type DetachedReconnectOptions, type DiscoveredModel, type DispatchAgentInput, type DispatchApprovalContinuationResponse, type DispatchApproveRequest, type DispatchApproveResponse, type DispatchClient, type DispatchContinuationRequest, type DispatchContinuationResponse, type DispatchDetachedApprovalResponse, DispatchEndpoint, type DispatchEnvironment, type DispatchEvent, type DispatchFlowInput, type DispatchMessageContent, type DispatchOptions$1 as DispatchOptions, type DispatchRequest, type DispatchResponse, type DispatchResumeRequest, type DispatchResumeResponse, type EndUserUsageQuery, type EndUserUsageResponse, type EnsureAgentConverged, type EnsureAgentOptions, type EnsureAgentPlan, type EnsureAgentResult, type EnsureEvalResult, type EnsureFlowConverged, type EnsureFlowOptions, type EnsureFlowPlan, type EnsureFlowResult, type EnsureFpoOptions, type EnsureFpoResult, type EnsureProductConverged, type EnsureProductOptions, type EnsureProductPlan, type EnsureProductResult, type EnsureSkillConverged, type EnsureSkillOptions, type EnsureSkillPlan, type EnsureSkillResult, type EnsureSurfaceConverged, type EnsureSurfaceOptions, type EnsureSurfacePlan, type EnsureSurfaceResult, type EnsureToolConverged, type EnsureToolOptions, type EnsureToolPlan, type EnsureToolResult, type ErrorHandlingMode, EvalBuilder, type EvalCaseDefinition, type EvalCaseInput, type EvalCaseProposal, type EvalCaseProposalAccepted, type EvalCaseProposalListResult, type EvalCasesGenerated, type EvalClient, type EvalDefinition, EvalEndpoint, type EvalListParams, type EvalMessage, type EvalOptions, type EvalOverrideValues, type EvalProposalSource, type EvalProposalStatus, type EvalProposedCase, type EvalPullResult, type EvalRecord, type EvalRequest, type EvalResult, type EvalRunCaseScores, type EvalRunConfig, type EvalRunScores, EvalRunner, type EvalStatus, type EvalSuiteCase, type EvalSuiteCaseInput, type EvalSuiteCoverage, type EvalSuiteDetail, type EvalSuiteLatestRun, type EvalSuiteListResult, type EvalSuiteRunQueued, type EvalSuiteRunResult, type EvalSuiteSummary, EvalSuitesNamespace, type EvalTarget, EvalsNamespace, type ExecuteToolRequest, type ExecuteToolResponse, type ExecutionStreamEvent, ExecutionsEndpoint, ExecutionsNamespace, type ExternalAgentContext, type ExternalToolConfig, type FallbackFailEvent, type FallbackStartEvent, type FallbackSuccessEvent, type FallbackTrigger, type FallbackTriggerType, type FallbacksExhaustedEvent, type FallbacksInitiatedEvent, type FetchUrlStepConfig$1 as FetchUrlStepConfig, type FieldFormat, type FileContentPart, type Flow, type FlowAttachment, FlowBuilder, type FlowCompleteEvent, type FlowConfig$1 as FlowConfig, type FlowDefinition, type FlowDefinitionStep, FlowDriftError, FlowEnsureConflictError, type FlowErrorEvent, type FlowFallback, type FlowInlineEvalInput, type FlowListItem, type FlowPausedEvent, type FlowPullResult, FlowResult, type FlowStartEvent, type FlowStep, type FlowStepDefinition, type FlowStepType, FlowStepsEndpoint, type FlowStreamEvent, type FlowSummary, type FlowToolConfig, type FlowValidationClient, type FlowValidationIssue, type FlowValidationResult, type FlowVersionDetail, type FlowVersionListItem, type FlowVersionPublishResponse, FlowVersionsEndpoint, type FlowVersionsListResponse, FlowsEndpoint, FlowsNamespace, type FpoEntityOutcome, type FpoInput, type GenerateEmbeddingStepConfig$1 as GenerateEmbeddingStepConfig, type GenerateEvalCasesInput, type GeneratedRuntimeToolGateDecision, type GeneratedRuntimeToolGateOptions, type GetApiKeyRequestResponse, type GetRecordStepConfig$1 as GetRecordStepConfig, type Gradeable, type GraderConfig, type GraderOutcome, type GraderSeverity, type HumanVerdict, type ImageContentPart, type InferCollectionSchemaResponse, type Integration, type IntegrationTool, IntegrationsEndpoint, type IntegrationsListResponse, type JSONSchema, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, LEDGER_ARTIFACT_LINE_PREFIX, type ListCollectionsResponse, type ListConversationsResponse, type ListParams, type ListRecordsStepConfig$1 as ListRecordsStepConfig, type LocalToolConfig, type LocalToolDefinition, type LocalToolExecutionCompleteEvent, type LocalToolExecutionLoopSnapshotSlice, type LocalToolExecutionStartEvent, type LogEntry, type LogQueryParams, type LogQueryResponse, type LogQueryResult, type LogStatsParams, type LogStatsResponse, type LogStatsResult, LogsEndpoint, type LoopStepConfig$1 as LoopStepConfig, type Message$1 as Message, type MessageContent, type MessageFallback, type Metadata, type ModelConfig, ModelConfigsEndpoint, type ModelFallback, type ModelOverride, type ModelUsageDetail, type ModelUsageQueryParams, type ModelUsageResponse, type ModelUsageSummary, type ModelUsageTimeSeries, type PaginationResponse, type PersistedGraderOutcome, type ProductDefinition, ProductDriftError, ProductEnsureConflictError, type ProductPullResult, ProductsNamespace, type Prompt$1 as Prompt, type PromptErrorHandling, type PromptFallback, type PromptListParams, type PromptStepConfig$1 as PromptStepConfig, PromptsEndpoint, PromptsNamespace, type ProviderApiKey, type ProviderKeyModel, ProviderKeysEndpoint, type PullFpoResult, RUNTYPE_CLIENT_KIND, type ReasoningConfig, type ReasoningContentPart, type ReasoningValue, type RecordCollection, type RecordCollectionWithHistory, type RecordCollections, type RecordConfig$1 as RecordConfig, type RecordCostAggregation, type RecordCostModelBreakdown, type RecordFilter, type RecordFilterCondition, type RecordFilterGroup, type RecordFilterOperator, type RecordListItem, type RecordListParams, type RecordStepResult, type RecordStepResultsParams, type RecordStepResultsResponse, type RecordWriteResponse, RecordsEndpoint, type RetrieveRecordStepConfig$1 as RetrieveRecordStepConfig, type RetryFallback, type RunEvalCaseResult, type RunEvalInput, type RunEvalResult, type RunTaskContextBudgetBreakdown, type RunTaskContextCompactionEvent, type RunTaskContextCompactionStrategy, type RunTaskContextNoticeEvent, type RunTaskContextSummaryEntry, type RunTaskContinuation, type RunTaskOffloadRecorder, type RunTaskOnContextCompaction, type RunTaskOnContextNotice, type RunTaskOnSession, type RunTaskOptions, type RunTaskResult, type RunTaskResumeState, type RunTaskSessionSummary, type RunTaskState, type RunTaskStateSlice, type RunTaskStatus, type RunTaskToolTraceSlice, type RuntimeCustomToolConfig, type RuntimeExternalToolConfig, type RuntimeFlowToolConfig, type RuntimeLocalToolConfig, type RuntimeSubagentToolConfig, type RuntimeTool, type RuntimeToolConfig, Runtype, type AgentSkillBinding as RuntypeAgentSkillBinding, RuntypeApiError, RuntypeClient, type ConditionalStepConfig as RuntypeConditionalStepConfig, type RuntypeConfig, type FetchUrlStepConfig as RuntypeFetchUrlStepConfig, RuntypeFlowBuilder, type FlowConfig as RuntypeFlowConfig, type GenerateEmbeddingStepConfig as RuntypeGenerateEmbeddingStepConfig, type GetRecordStepConfig as RuntypeGetRecordStepConfig, type ListRecordsStepConfig as RuntypeListRecordsStepConfig, type LoopStepConfig as RuntypeLoopStepConfig, type Message as RuntypeMessage, type ModelOverride$1 as RuntypeModelOverride, type Prompt as RuntypePrompt, type PromptStepConfig as RuntypePromptStepConfig, type RuntypeRecord, type RecordConfig as RuntypeRecordConfig, type RetrieveRecordStepConfig as RuntypeRetrieveRecordStepConfig, type SearchStepConfig as RuntypeSearchStepConfig, type SendEmailStepConfig as RuntypeSendEmailStepConfig, type SendEventStepConfig as RuntypeSendEventStepConfig, type SendStreamStepConfig as RuntypeSendStreamStepConfig, type SetVariableStepConfig as RuntypeSetVariableStepConfig, type Skill as RuntypeSkill, type SkillCapabilities as RuntypeSkillCapabilities, type SkillFrontmatter as RuntypeSkillFrontmatter, type SkillManifest as RuntypeSkillManifest, type SkillProposal as RuntypeSkillProposal, type SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, type SkillVersion as RuntypeSkillVersion, type TransformDataStepConfig as RuntypeTransformDataStepConfig, type UpsertFlowConfig as RuntypeUpsertFlowConfig, type UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, type VectorSearchStepConfig as RuntypeVectorSearchStepConfig, type WaitUntilStepConfig as RuntypeWaitUntilStepConfig, SDK_USER_AGENT, SDK_VERSION, STEP_FIELD_REGISTRY, STEP_TYPE_TO_METHOD, type Schedule, type ScheduleExecutionOptions, type ScheduleListParams, type ScheduleMessage, type ScheduleMessageSet, type ScheduleMessages, type ScheduleMutationResponse, type ScheduleRun, type ScheduleRunNowResponse, type ScheduleStatusResponse, type ScheduleTarget, type ScheduleTrigger, SchedulesEndpoint, type SearchStepConfig$1 as SearchStepConfig, type Secret, type SecretCheckResponse, type SecretDeleteResponse, type SecretSetupUrlRequest, type SecretSetupUrlResponse, SecretsEndpoint, type SelectOrganizationProviderCredentialRequest, type SelectOrganizationProviderCredentialResponse, type SendEmailStepConfig$1 as SendEmailStepConfig, type SendEventStepConfig$1 as SendEventStepConfig, type SendStreamStepConfig$1 as SendStreamStepConfig, type SetVariableStepConfig$1 as SetVariableStepConfig, type SkillDefinition, SkillDriftError, SkillEnsureConflictError, type SkillListPage, type SkillListPagination, type SkillListParams, type SkillManifestInput, type SkillMarkdownInput, type SkillOrigin, type SkillProposalStatus, SkillProposalsNamespace, type SkillPullResult, type SkillStatus, type SkillTrustLevel, type SkillVersionStatus, type SkillWithVersion, type SkillWriteInput, SkillsNamespace, type SlackAppStatusResponse, type SlackInstallRequest, type SlackManifestRequest, type SlackManifestResponse, type SlackOAuthStartRequest, type SlackOAuthStartResponse, type StepCompleteEvent, type StepDeltaEvent, type StepFallback, type StepFieldMeta, type StepStartEvent, type StepWaitingLocalEvent, type StreamCallbacks, type StreamConsumeOptions, type StreamEvent, type StreamEventOf, type SubagentToolConfig, type Surface, type SurfaceDefinition, type SurfaceDefinitionStatus, type SurfaceDefinitionType, SurfaceDriftError, SurfaceEnsureConflictError, type SurfaceListParams, type SurfacePullResult, SurfacesEndpoint, SurfacesNamespace, type TextContentPart, type Tool, type ToolApprovalGrant, ToolApprovalGrantsEndpoint, type ToolConfig, type ToolDefinition, type ToolDefinitionType, ToolDriftError, ToolEnsureConflictError, type ToolPullResult, type ToolWithValidation, type ToolsConfig, ToolsEndpoint, ToolsNamespace, type TransformDataStepConfig$1 as TransformDataStepConfig, type TypedCreateRecordRequest, type TypedRecordListItem, type TypedRecordWriteResponse, TypedRecordsScope, type TypedRuntypeRecord, UNIFIED_EVENTS_QUERY, type UpdateClientTokenRequest, type UpdateCollectionRequest, type UpdateCollectionResponse, type UpdateConversationRequest, type UpdateEvalCaseInput, type UpdateEvalSuiteInput, type UpdateFlowRequest, type UpdatePromptData, type UpdateProviderKeyRequest, type UpdateScheduleRequest, type UpdateSecretRequest, type UpdateToolRequest, type UpdatedFlow, type UpsertFlowConfig$1 as UpsertFlowConfig, type UpsertOptions, type UpsertRecordStepConfig$1 as UpsertRecordStepConfig, type UserProfile, UsersEndpoint, type ValidateExistingRecordsResponse, type VectorSearchStepConfig$1 as VectorSearchStepConfig, type VersionPublishOptions, type VersionType, type WaitUntilStepConfig$1 as WaitUntilStepConfig, type WorkflowCompileDeps, type WorkflowCompletionCriteriaConfig, type WorkflowConfig, type WorkflowConfigFactory, type WorkflowContext, type WorkflowDefinition, type WorkflowHookEntry, type WorkflowHookKind, type WorkflowHookRef, type WorkflowHookSignatures, type WorkflowMilestoneConfig, type WorkflowPhase, type WorkflowPolicyConfig, type WorkflowRecoveryConfig, type WorkflowSlot, type WorkflowStallPolicy, applyGeneratedRuntimeToolProposalToDispatchRequest, attachRuntimeToolsToDispatchRequest, buildAgentAdmissionHeaders, buildEmptySessionNudge, buildGeneratedRuntimeToolGateOutput, buildLedgerOffloadReference, buildPolicyGuidance, buildSendViewOffloadMarker, calledTool, compileWorkflowConfig, completed, computeAgentContentHash, computeEvalContentHash, computeFlowContentHash, computeFpoContentHash, computeProductContentHash, computeSkillContentHash, computeSurfaceContentHash, computeToolContentHash, contains, cost, createAgentEventTranslator, createClient, createExternalTool, createFlowEventTranslator, defaultWorkflow, defaultWorkflowConfig, defineAgent, defineEval, defineFlow, defineFpo, definePlaybook, defineProduct, defineSkill, defineSurface, defineTool, deployWorkflow, ensureDefaultWorkflowHooks, ensureEval, ensureFpo, evaluateGeneratedRuntimeToolProposal, extractDeclaredToolResultChars, gameWorkflow, getDefaultPlanPath, getLikelySupportingCandidatePaths, interpolateWorkflowTemplate, isCatalogClientToolRef, isDiscoveryToolName, isMarathonArtifactPath, isPreservationSensitiveTask, isUnifiedEventType, isWorkflowHookRef, jsonField, judge, judges, latency, length, listWorkflowHooks, matchesExpected, maxToolCalls, noError, normalizeAgentDefinition, normalizeCandidatePath, normalizeFpoDefinition, normalizeProductDefinition, normalizeSkillDefinition, normalizeSurfaceDefinition, normalizeToolDefinition, notCalledTool, notContains, parseFinalBuffer, parseLedgerArtifactRelativePath, parseOffloadedOutputId, parseSSEChunk, processStream, pullEval, pullFpo, ranStep, regex, registerWorkflowHook, resolveStallStopAfter, resolveWorkflowHook, runEvalSuite, sanitizeTaskSlug, shouldInjectEmptySessionNudge, shouldRequestModelEscalation, stepOrder, streamEvents, toolOrder, unregisterWorkflowHook, usedNoTools, validJson, withDetachedReconnect, withUnifiedEvents };