@runtypelabs/sdk 9.5.1 → 9.7.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
@@ -564,7 +564,6 @@ interface paths {
564
564
  id: string;
565
565
  lastRunAt?: string | null;
566
566
  name: string;
567
- primaryFlowId: string | null;
568
567
  status: string;
569
568
  updatedAt: string;
570
569
  }[];
@@ -786,6 +785,24 @@ interface paths {
786
785
  ttl?: "5m" | "1h" | "24h" | "unlimited";
787
786
  };
788
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
+ };
789
806
  systemPrompt?: string;
790
807
  temperature?: number;
791
808
  temporal?: {
@@ -977,7 +994,11 @@ interface paths {
977
994
  icon?: string;
978
995
  maxTurns?: number;
979
996
  name: string;
980
- primaryFlowId?: string | null;
997
+ /**
998
+ * @deprecated
999
+ * @description primaryFlowId is retired: primary-flow agents were removed (ADR 0024). Attach the flow to the agent as a runtime tool ({ toolType: 'flow', flowId }) or dispatch the flow directly via POST /v1/dispatch.
1000
+ */
1001
+ primaryFlowId?: null;
981
1002
  };
982
1003
  };
983
1004
  };
@@ -1026,7 +1047,6 @@ interface paths {
1026
1047
  lastModifiedSource: string | null;
1027
1048
  name: string;
1028
1049
  organizationId: string | null;
1029
- primaryFlowId: string | null;
1030
1050
  publishedVersionId: string | null;
1031
1051
  status: string;
1032
1052
  updatedAt: string;
@@ -1217,6 +1237,24 @@ interface paths {
1217
1237
  ttl?: "5m" | "1h" | "24h" | "unlimited";
1218
1238
  };
1219
1239
  seed?: number;
1240
+ state?: {
1241
+ initial?: {
1242
+ [key: string]: unknown;
1243
+ };
1244
+ /**
1245
+ * @default merge
1246
+ * @enum {string}
1247
+ */
1248
+ mergeStrategy?: "replace" | "merge";
1249
+ predictState?: {
1250
+ stateKey: string;
1251
+ tool: string;
1252
+ toolArgument: string;
1253
+ }[];
1254
+ schema?: {
1255
+ [key: string]: unknown;
1256
+ };
1257
+ };
1220
1258
  systemPrompt?: string;
1221
1259
  temperature?: number;
1222
1260
  temporal?: {
@@ -1699,11 +1737,6 @@ interface paths {
1699
1737
  lastModifiedSource: string | null;
1700
1738
  name: string;
1701
1739
  organizationId: string | null;
1702
- primaryFlow: {
1703
- id: string;
1704
- name: string;
1705
- } | null;
1706
- primaryFlowId: string | null;
1707
1740
  publishedVersionId: string | null;
1708
1741
  status: string;
1709
1742
  updatedAt: string;
@@ -1916,6 +1949,24 @@ interface paths {
1916
1949
  ttl?: "5m" | "1h" | "24h" | "unlimited";
1917
1950
  };
1918
1951
  seed?: number;
1952
+ state?: {
1953
+ initial?: {
1954
+ [key: string]: unknown;
1955
+ };
1956
+ /**
1957
+ * @default merge
1958
+ * @enum {string}
1959
+ */
1960
+ mergeStrategy?: "replace" | "merge";
1961
+ predictState?: {
1962
+ stateKey: string;
1963
+ tool: string;
1964
+ toolArgument: string;
1965
+ }[];
1966
+ schema?: {
1967
+ [key: string]: unknown;
1968
+ };
1969
+ };
1919
1970
  systemPrompt?: string;
1920
1971
  temperature?: number;
1921
1972
  temporal?: {
@@ -2107,7 +2158,11 @@ interface paths {
2107
2158
  icon?: string;
2108
2159
  maxTurns?: number;
2109
2160
  name?: string;
2110
- primaryFlowId?: string | null;
2161
+ /**
2162
+ * @deprecated
2163
+ * @description primaryFlowId is retired: primary-flow agents were removed (ADR 0024). Attach the flow to the agent as a runtime tool ({ toolType: 'flow', flowId }) or dispatch the flow directly via POST /v1/dispatch.
2164
+ */
2165
+ primaryFlowId?: null;
2111
2166
  };
2112
2167
  };
2113
2168
  };
@@ -2143,7 +2198,6 @@ interface paths {
2143
2198
  lastModifiedSource: string | null;
2144
2199
  name: string;
2145
2200
  organizationId: string | null;
2146
- primaryFlowId: string | null;
2147
2201
  publishedVersionId: string | null;
2148
2202
  status: string;
2149
2203
  updatedAt: string;
@@ -2378,6 +2432,15 @@ interface paths {
2378
2432
  "application/json": components["schemas"]["Error"];
2379
2433
  };
2380
2434
  };
2435
+ /** @description The paused execution was armed by the retired legacy flow engine and cannot be resumed (LEGACY_PAUSE_UNRESUMABLE); re-run the flow */
2436
+ 410: {
2437
+ headers: {
2438
+ [name: string]: unknown;
2439
+ };
2440
+ content: {
2441
+ "application/json": components["schemas"]["Error"];
2442
+ };
2443
+ };
2381
2444
  /** @description Internal server error */
2382
2445
  500: {
2383
2446
  headers: {
@@ -3567,9 +3630,6 @@ interface paths {
3567
3630
  hostDependencies: components["schemas"]["RuntimeHostDependency"][];
3568
3631
  id: string;
3569
3632
  name: string;
3570
- primaryFlow?: {
3571
- [key: string]: unknown;
3572
- };
3573
3633
  };
3574
3634
  };
3575
3635
  };
@@ -3768,7 +3828,6 @@ interface paths {
3768
3828
  id: string;
3769
3829
  name: string;
3770
3830
  organizationId: string | null;
3771
- primaryFlowId: string | null;
3772
3831
  status: string;
3773
3832
  updatedAt: string;
3774
3833
  userId: string;
@@ -3920,6 +3979,15 @@ interface paths {
3920
3979
  "application/json": components["schemas"]["Error"];
3921
3980
  };
3922
3981
  };
3982
+ /** @description The paused execution was armed by the retired legacy flow engine and cannot be resumed (LEGACY_PAUSE_UNRESUMABLE); re-run the flow */
3983
+ 410: {
3984
+ headers: {
3985
+ [name: string]: unknown;
3986
+ };
3987
+ content: {
3988
+ "application/json": components["schemas"]["Error"];
3989
+ };
3990
+ };
3923
3991
  /** @description Internal server error */
3924
3992
  500: {
3925
3993
  headers: {
@@ -5040,6 +5108,8 @@ interface paths {
5040
5108
  content: {
5041
5109
  "application/json": {
5042
5110
  hasOrganization: boolean;
5111
+ /** @enum {string|null} */
5112
+ onboardingIntent: "build_new" | "connect_existing" | "unstated" | null;
5043
5113
  orgId?: string | null;
5044
5114
  orgRole?: string | null;
5045
5115
  orgSlug?: string | null;
@@ -7818,7 +7888,7 @@ interface paths {
7818
7888
  };
7819
7889
  /** @description The created (or resumed) client session ID. */
7820
7890
  sessionId: string;
7821
- /** @description The flow or agent this session executes against, resolved server-side. Canonical replacement for `flow.id`, and the exact key to pass as `targetId` when listing or deleting this conversation's history. Matches the value stored on the conversation record, including the case where an agent-only token resolves its agent to a primary flow. Absent only on the data-only Runtype App branch, which is not chat-capable. */
7891
+ /** @description The flow or agent this session executes against, resolved server-side. Canonical replacement for `flow.id`, and the exact key to pass as `targetId` when listing or deleting this conversation's history. Matches the value stored on the conversation record; an agent-only token resolves to its agent id. Absent only on the data-only Runtype App branch, which is not chat-capable. */
7822
7892
  targetId?: string;
7823
7893
  /** @description The browser's anonymous visitor identity. Present when the request opts into visitor history (or supplies a visitor token, identity proof, or conversation id). Authenticates the `/client/conversations*` history routes, which the site-wide client token alone cannot reach. */
7824
7894
  visitor?: {
@@ -8031,6 +8101,15 @@ interface paths {
8031
8101
  "application/json": components["schemas"]["Error"];
8032
8102
  };
8033
8103
  };
8104
+ /** @description The paused execution was armed by the retired legacy flow engine and cannot be resumed (LEGACY_PAUSE_UNRESUMABLE); re-run the flow */
8105
+ 410: {
8106
+ headers: {
8107
+ [name: string]: unknown;
8108
+ };
8109
+ content: {
8110
+ "application/json": components["schemas"]["Error"];
8111
+ };
8112
+ };
8034
8113
  /** @description Internal server error */
8035
8114
  500: {
8036
8115
  headers: {
@@ -11711,7 +11790,16 @@ interface paths {
11711
11790
  "application/json": components["schemas"]["Error"];
11712
11791
  };
11713
11792
  };
11714
- /** @description Flow definition required */
11793
+ /** @description Saved flow not found (FLOW_NOT_FOUND) */
11794
+ 404: {
11795
+ headers: {
11796
+ [name: string]: unknown;
11797
+ };
11798
+ content: {
11799
+ "application/json": components["schemas"]["Error"];
11800
+ };
11801
+ };
11802
+ /** @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`) */
11715
11803
  422: {
11716
11804
  headers: {
11717
11805
  [name: string]: unknown;
@@ -11854,6 +11942,15 @@ interface paths {
11854
11942
  "application/json": components["schemas"]["Error"];
11855
11943
  };
11856
11944
  };
11945
+ /** @description The paused execution was armed by the retired legacy flow engine and cannot be resumed (LEGACY_PAUSE_UNRESUMABLE); re-run the flow */
11946
+ 410: {
11947
+ headers: {
11948
+ [name: string]: unknown;
11949
+ };
11950
+ content: {
11951
+ "application/json": components["schemas"]["Error"];
11952
+ };
11953
+ };
11857
11954
  /** @description Internal server error */
11858
11955
  500: {
11859
11956
  headers: {
@@ -12007,6 +12104,15 @@ interface paths {
12007
12104
  "application/json": components["schemas"]["Error"];
12008
12105
  };
12009
12106
  };
12107
+ /** @description The paused execution was armed by the retired legacy flow engine and cannot be resumed (LEGACY_PAUSE_UNRESUMABLE); re-run the flow */
12108
+ 410: {
12109
+ headers: {
12110
+ [name: string]: unknown;
12111
+ };
12112
+ content: {
12113
+ "application/json": components["schemas"]["Error"];
12114
+ };
12115
+ };
12010
12116
  /** @description Internal server error */
12011
12117
  500: {
12012
12118
  headers: {
@@ -12148,6 +12254,15 @@ interface paths {
12148
12254
  "application/json": components["schemas"]["Error"];
12149
12255
  };
12150
12256
  };
12257
+ /** @description The paused execution was armed by the retired legacy flow engine and cannot be resumed (LEGACY_PAUSE_UNRESUMABLE); re-run the flow */
12258
+ 410: {
12259
+ headers: {
12260
+ [name: string]: unknown;
12261
+ };
12262
+ content: {
12263
+ "application/json": components["schemas"]["Error"];
12264
+ };
12265
+ };
12151
12266
  /** @description Internal server error */
12152
12267
  500: {
12153
12268
  headers: {
@@ -19418,6 +19533,86 @@ interface paths {
19418
19533
  patch?: never;
19419
19534
  trace?: never;
19420
19535
  };
19536
+ "/v1/integrations/slack/app-status": {
19537
+ parameters: {
19538
+ query?: never;
19539
+ header?: never;
19540
+ path?: never;
19541
+ cookie?: never;
19542
+ };
19543
+ /**
19544
+ * Check Slack app creation status
19545
+ * @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.
19546
+ */
19547
+ get: {
19548
+ parameters: {
19549
+ query: {
19550
+ surfaceId: string;
19551
+ };
19552
+ header?: never;
19553
+ path?: never;
19554
+ cookie?: never;
19555
+ };
19556
+ requestBody?: never;
19557
+ responses: {
19558
+ /** @description Slack app creation status */
19559
+ 200: {
19560
+ headers: {
19561
+ [name: string]: unknown;
19562
+ };
19563
+ content: {
19564
+ "application/json": {
19565
+ verified: boolean;
19566
+ verifiedAt?: string;
19567
+ };
19568
+ };
19569
+ };
19570
+ /** @description Invalid surface ID format */
19571
+ 400: {
19572
+ headers: {
19573
+ [name: string]: unknown;
19574
+ };
19575
+ content: {
19576
+ "application/json": components["schemas"]["Error"];
19577
+ };
19578
+ };
19579
+ /** @description Unauthorized */
19580
+ 401: {
19581
+ headers: {
19582
+ [name: string]: unknown;
19583
+ };
19584
+ content: {
19585
+ "application/json": components["schemas"]["Error"];
19586
+ };
19587
+ };
19588
+ /** @description Insufficient permissions */
19589
+ 403: {
19590
+ headers: {
19591
+ [name: string]: unknown;
19592
+ };
19593
+ content: {
19594
+ "application/json": components["schemas"]["Error"];
19595
+ };
19596
+ };
19597
+ /** @description Surface not found */
19598
+ 404: {
19599
+ headers: {
19600
+ [name: string]: unknown;
19601
+ };
19602
+ content: {
19603
+ "application/json": components["schemas"]["Error"];
19604
+ };
19605
+ };
19606
+ };
19607
+ };
19608
+ put?: never;
19609
+ post?: never;
19610
+ delete?: never;
19611
+ options?: never;
19612
+ head?: never;
19613
+ patch?: never;
19614
+ trace?: never;
19615
+ };
19421
19616
  "/v1/integrations/slack/install": {
19422
19617
  parameters: {
19423
19618
  query?: never;
@@ -19572,6 +19767,7 @@ interface paths {
19572
19767
  interactivityWebhookUrl: string;
19573
19768
  manifestJson: string;
19574
19769
  redirectUrl: string;
19770
+ webhookVerifiedAt?: string;
19575
19771
  };
19576
19772
  };
19577
19773
  };
@@ -33079,7 +33275,7 @@ interface paths {
33079
33275
  requestBody?: {
33080
33276
  content: {
33081
33277
  "application/json": {
33082
- /** @default gemini-3.7-flash */
33278
+ /** @default gemini-3.8-flash */
33083
33279
  model?: string;
33084
33280
  name: string;
33085
33281
  /**
@@ -33276,7 +33472,7 @@ interface paths {
33276
33472
  requestBody?: {
33277
33473
  content: {
33278
33474
  "application/json": {
33279
- /** @default gemini-3.7-flash */
33475
+ /** @default gemini-3.8-flash */
33280
33476
  model?: string;
33281
33477
  name?: string;
33282
33478
  /**
@@ -42215,6 +42411,256 @@ interface paths {
42215
42411
  patch?: never;
42216
42412
  trace?: never;
42217
42413
  };
42414
+ "/v1/surfaces/{surfaceId}": {
42415
+ parameters: {
42416
+ query?: never;
42417
+ header?: never;
42418
+ path?: never;
42419
+ cookie?: never;
42420
+ };
42421
+ /**
42422
+ * Get surface details
42423
+ * @description Get an authorized surface by its globally unique ID, including items and keys.
42424
+ */
42425
+ get: {
42426
+ parameters: {
42427
+ query?: never;
42428
+ header?: never;
42429
+ path: {
42430
+ surfaceId: string;
42431
+ };
42432
+ cookie?: never;
42433
+ };
42434
+ requestBody?: never;
42435
+ responses: {
42436
+ /** @description Surface details */
42437
+ 200: {
42438
+ headers: {
42439
+ [name: string]: unknown;
42440
+ };
42441
+ content: {
42442
+ "application/json": {
42443
+ behavior?: unknown;
42444
+ createdAt: string;
42445
+ /** @description Canonical public URL of this surface (MCP, API, A2A, AG-UI, webhook, chat). Null for surface types reached through their own channels (Slack, email, schedule, ...). Clients should use this instead of constructing the URL themselves. */
42446
+ endpoint: string | null;
42447
+ id: string;
42448
+ inbound?: unknown;
42449
+ items: {
42450
+ agentId: string | null;
42451
+ agentType: string | null;
42452
+ cachedSkills: unknown[] | null;
42453
+ capabilityId: string;
42454
+ capabilityName: string | null;
42455
+ config?: unknown;
42456
+ createdAt: string;
42457
+ displayOrder: number | null;
42458
+ enabled: boolean;
42459
+ endpointSlug: string | null;
42460
+ exposedDescription: string | null;
42461
+ exposedName: string | null;
42462
+ flowId: string | null;
42463
+ id: string;
42464
+ isEntryPoint: boolean;
42465
+ parametersSchema?: unknown;
42466
+ }[];
42467
+ keys: {
42468
+ canReveal: boolean;
42469
+ createdAt: string;
42470
+ environment: string;
42471
+ expiresAt: string | null;
42472
+ id: string;
42473
+ isActive: boolean;
42474
+ isDevelopment: boolean;
42475
+ keyHint: string | null;
42476
+ keyPrefix: string;
42477
+ lastUsedAt: string | null;
42478
+ name: string | null;
42479
+ rateLimitPerDay: number | null;
42480
+ rateLimitPerMinute: number | null;
42481
+ scopeTargetIds: string[] | null;
42482
+ scopes: string[];
42483
+ usageCount: number | null;
42484
+ }[];
42485
+ name: string;
42486
+ outbound?: unknown;
42487
+ productId: string;
42488
+ scopeTargets: {
42489
+ capabilityId?: string;
42490
+ id: string;
42491
+ name: string;
42492
+ surfaceItemId?: string;
42493
+ }[];
42494
+ status: string;
42495
+ type: string;
42496
+ updatedAt: string;
42497
+ webhookHealth: components["schemas"]["WebhookHealth"];
42498
+ };
42499
+ };
42500
+ };
42501
+ /** @description Invalid surface ID */
42502
+ 400: {
42503
+ headers: {
42504
+ [name: string]: unknown;
42505
+ };
42506
+ content: {
42507
+ "application/json": components["schemas"]["Error"];
42508
+ };
42509
+ };
42510
+ /** @description Unauthorized */
42511
+ 401: {
42512
+ headers: {
42513
+ [name: string]: unknown;
42514
+ };
42515
+ content: {
42516
+ "application/json": components["schemas"]["Error"];
42517
+ };
42518
+ };
42519
+ /** @description Insufficient permissions */
42520
+ 403: {
42521
+ headers: {
42522
+ [name: string]: unknown;
42523
+ };
42524
+ content: {
42525
+ "application/json": components["schemas"]["Error"];
42526
+ };
42527
+ };
42528
+ /** @description Surface not found */
42529
+ 404: {
42530
+ headers: {
42531
+ [name: string]: unknown;
42532
+ };
42533
+ content: {
42534
+ "application/json": components["schemas"]["Error"];
42535
+ };
42536
+ };
42537
+ /** @description Internal server error */
42538
+ 500: {
42539
+ headers: {
42540
+ [name: string]: unknown;
42541
+ };
42542
+ content: {
42543
+ "application/json": components["schemas"]["Error"];
42544
+ };
42545
+ };
42546
+ };
42547
+ };
42548
+ put?: never;
42549
+ post?: never;
42550
+ delete?: never;
42551
+ options?: never;
42552
+ head?: never;
42553
+ patch?: never;
42554
+ trace?: never;
42555
+ };
42556
+ "/v1/surfaces/{surfaceId}/test-deliveries": {
42557
+ parameters: {
42558
+ query?: never;
42559
+ header?: never;
42560
+ path?: never;
42561
+ cookie?: never;
42562
+ };
42563
+ get?: never;
42564
+ put?: never;
42565
+ /**
42566
+ * Send a provider fixture through a surface’s real ingress
42567
+ * @description Resolve an authorized surface by its globally unique ID and send a provider-native fixture through the same authenticated ingress used by production deliveries.
42568
+ */
42569
+ post: {
42570
+ parameters: {
42571
+ query?: never;
42572
+ header?: never;
42573
+ path: {
42574
+ surfaceId: string;
42575
+ };
42576
+ cookie?: never;
42577
+ };
42578
+ requestBody: {
42579
+ content: {
42580
+ "application/json": {
42581
+ /** @enum {string} */
42582
+ fixture: "github.pull_request.opened" | "github.pull_request.merged_plan";
42583
+ planningPath?: string;
42584
+ pullRequest: number;
42585
+ repeat?: number;
42586
+ repository: string;
42587
+ };
42588
+ };
42589
+ };
42590
+ responses: {
42591
+ /** @description Provider delivery attempts accepted by the surface ingress. */
42592
+ 200: {
42593
+ headers: {
42594
+ [name: string]: unknown;
42595
+ };
42596
+ content: {
42597
+ "application/json": {
42598
+ [key: string]: unknown;
42599
+ };
42600
+ };
42601
+ };
42602
+ /** @description Invalid fixture or repository state. */
42603
+ 400: {
42604
+ headers: {
42605
+ [name: string]: unknown;
42606
+ };
42607
+ content: {
42608
+ "application/json": components["schemas"]["Error"];
42609
+ };
42610
+ };
42611
+ /** @description Authentication required. */
42612
+ 401: {
42613
+ headers: {
42614
+ [name: string]: unknown;
42615
+ };
42616
+ content: {
42617
+ "application/json": components["schemas"]["Error"];
42618
+ };
42619
+ };
42620
+ /** @description Insufficient permissions. */
42621
+ 403: {
42622
+ headers: {
42623
+ [name: string]: unknown;
42624
+ };
42625
+ content: {
42626
+ "application/json": components["schemas"]["Error"];
42627
+ };
42628
+ };
42629
+ /** @description Surface not found. */
42630
+ 404: {
42631
+ headers: {
42632
+ [name: string]: unknown;
42633
+ };
42634
+ content: {
42635
+ "application/json": components["schemas"]["Error"];
42636
+ };
42637
+ };
42638
+ /** @description The surface or provider credential is not ready. */
42639
+ 409: {
42640
+ headers: {
42641
+ [name: string]: unknown;
42642
+ };
42643
+ content: {
42644
+ "application/json": components["schemas"]["Error"];
42645
+ };
42646
+ };
42647
+ /** @description GitHub or the surface ingress rejected the delivery. */
42648
+ 502: {
42649
+ headers: {
42650
+ [name: string]: unknown;
42651
+ };
42652
+ content: {
42653
+ "application/json": components["schemas"]["Error"];
42654
+ };
42655
+ };
42656
+ };
42657
+ };
42658
+ delete?: never;
42659
+ options?: never;
42660
+ head?: never;
42661
+ patch?: never;
42662
+ trace?: never;
42663
+ };
42218
42664
  "/v1/tool-approval-grants": {
42219
42665
  parameters: {
42220
42666
  query?: never;
@@ -44193,6 +44639,91 @@ interface paths {
44193
44639
  patch?: never;
44194
44640
  trace?: never;
44195
44641
  };
44642
+ "/v1/users/onboarding/intent": {
44643
+ parameters: {
44644
+ query?: never;
44645
+ header?: never;
44646
+ path?: never;
44647
+ cookie?: never;
44648
+ };
44649
+ get?: never;
44650
+ put?: never;
44651
+ /**
44652
+ * Set onboarding intent
44653
+ * @description Record what the authenticated user came to Runtype to do (dashboard only). Readable afterwards on GET /v1/auth/me.
44654
+ */
44655
+ post: {
44656
+ parameters: {
44657
+ query?: never;
44658
+ header?: never;
44659
+ path?: never;
44660
+ cookie?: never;
44661
+ };
44662
+ requestBody?: {
44663
+ content: {
44664
+ "application/json": {
44665
+ /** @enum {string} */
44666
+ onboardingIntent: "build_new" | "connect_existing" | "unstated";
44667
+ };
44668
+ };
44669
+ };
44670
+ responses: {
44671
+ /** @description Stored onboarding intent */
44672
+ 200: {
44673
+ headers: {
44674
+ [name: string]: unknown;
44675
+ };
44676
+ content: {
44677
+ "application/json": {
44678
+ /** @enum {string} */
44679
+ onboardingIntent: "build_new" | "connect_existing" | "unstated";
44680
+ };
44681
+ };
44682
+ };
44683
+ /** @description Validation error */
44684
+ 400: {
44685
+ headers: {
44686
+ [name: string]: unknown;
44687
+ };
44688
+ content: {
44689
+ "application/json": components["schemas"]["Error"];
44690
+ };
44691
+ };
44692
+ /** @description Unauthorized */
44693
+ 401: {
44694
+ headers: {
44695
+ [name: string]: unknown;
44696
+ };
44697
+ content: {
44698
+ "application/json": components["schemas"]["Error"];
44699
+ };
44700
+ };
44701
+ /** @description Insufficient permissions */
44702
+ 403: {
44703
+ headers: {
44704
+ [name: string]: unknown;
44705
+ };
44706
+ content: {
44707
+ "application/json": components["schemas"]["Error"];
44708
+ };
44709
+ };
44710
+ /** @description Internal server error */
44711
+ 500: {
44712
+ headers: {
44713
+ [name: string]: unknown;
44714
+ };
44715
+ content: {
44716
+ "application/json": components["schemas"]["Error"];
44717
+ };
44718
+ };
44719
+ };
44720
+ };
44721
+ delete?: never;
44722
+ options?: never;
44723
+ head?: never;
44724
+ patch?: never;
44725
+ trace?: never;
44726
+ };
44196
44727
  "/v1/users/onboarding/reset": {
44197
44728
  parameters: {
44198
44729
  query?: never;
@@ -44300,6 +44831,7 @@ interface paths {
44300
44831
  enableDashboardAssistant: boolean;
44301
44832
  enableEndUserUsageAnalytics: boolean;
44302
44833
  enableMassiveWebRender: boolean;
44834
+ enableOnboardingIntentGate: boolean;
44303
44835
  enableRuntown: boolean;
44304
44836
  enableRuntypeApps: boolean;
44305
44837
  enableSelfServeOauthClients: boolean;
@@ -44939,6 +45471,24 @@ interface components {
44939
45471
  ttl?: "5m" | "1h" | "24h" | "unlimited";
44940
45472
  };
44941
45473
  seed?: number;
45474
+ state?: {
45475
+ initial?: {
45476
+ [key: string]: unknown;
45477
+ };
45478
+ /**
45479
+ * @default merge
45480
+ * @enum {string}
45481
+ */
45482
+ mergeStrategy: "replace" | "merge";
45483
+ predictState?: {
45484
+ stateKey: string;
45485
+ tool: string;
45486
+ toolArgument: string;
45487
+ }[];
45488
+ schema?: {
45489
+ [key: string]: unknown;
45490
+ };
45491
+ };
44942
45492
  systemPrompt?: string;
44943
45493
  temperature?: number;
44944
45494
  temporal?: {
@@ -49573,6 +50123,13 @@ type SlackManifestRequest = NonNullable<paths['/v1/integrations/slack/manifest']
49573
50123
  * already connected and gets the manifest without a handoff.
49574
50124
  */
49575
50125
  type SlackManifestResponse = paths['/v1/integrations/slack/manifest']['post']['responses'][200]['content']['application/json'];
50126
+ /**
50127
+ * Whether Slack has verified a surface's events URL. Slack sends that
50128
+ * challenge when an app is created from a manifest, so a `verifiedAt` newer
50129
+ * than the one read before the manifest was handed out means the app now
50130
+ * exists. Advisory only: OAuth decides whether an integration is usable.
50131
+ */
50132
+ type SlackAppStatusResponse = paths['/v1/integrations/slack/app-status']['get']['responses'][200]['content']['application/json'];
49576
50133
  interface EndUserUsageQuery {
49577
50134
  productId: string;
49578
50135
  productTenantId?: string;
@@ -52321,6 +52878,18 @@ interface AgentDefinitionConfig {
52321
52878
  maxBudgetMs?: number | null;
52322
52879
  forced?: 'durable' | 'in_process';
52323
52880
  };
52881
+ /** Opt-in agent state channel — a shared JSON document the client and agent both see. */
52882
+ state?: {
52883
+ initial?: Record<string, unknown>;
52884
+ schema?: Record<string, unknown>;
52885
+ mergeStrategy?: 'replace' | 'merge';
52886
+ /** Tool arguments an AG-UI client may project into state while they stream. */
52887
+ predictState?: Array<{
52888
+ stateKey: string;
52889
+ tool: string;
52890
+ toolArgument: string;
52891
+ }>;
52892
+ };
52324
52893
  }
52325
52894
  /**
52326
52895
  * `defineAgent` input — the flat authoring shape: identity + presentation
@@ -56116,7 +56685,6 @@ interface Agent {
56116
56685
  name: string;
56117
56686
  description: string | null;
56118
56687
  agentType: string;
56119
- primaryFlowId: string | null;
56120
56688
  config: Record<string, unknown> | null;
56121
56689
  externalConfig: Record<string, unknown> | null;
56122
56690
  createdAt: string;
@@ -56777,6 +57345,13 @@ declare class IntegrationsEndpoint {
56777
57345
  * embedded in `createAppUrl`.
56778
57346
  */
56779
57347
  generateSlackManifest(data: SlackManifestRequest): Promise<SlackManifestResponse>;
57348
+ /**
57349
+ * Report whether Slack has verified a surface's events URL. Slack sends that
57350
+ * challenge when an app is created from a manifest, so a `verifiedAt` newer
57351
+ * than the one read before the manifest was handed out is evidence the app
57352
+ * now exists. Markers expire after an hour.
57353
+ */
57354
+ getSlackAppStatus(surfaceId: string): Promise<SlackAppStatusResponse>;
56780
57355
  }
56781
57356
  /**
56782
57357
  * Billing endpoint handlers
@@ -58435,4 +59010,4 @@ declare function getLikelySupportingCandidatePaths(bestCandidatePath: string | u
58435
59010
  declare function getDefaultPlanPath(taskName: string): string;
58436
59011
  declare function sanitizeTaskSlug(taskName: string): string;
58437
59012
 
58438
- 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 };
59013
+ 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 };