v0 4.0.1-canary.22eb71b → 4.0.1

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.
@@ -849,7 +849,7 @@ type Message = {
849
849
  */
850
850
  summary: string;
851
851
  /**
852
- * Structured payload for input-requesting actions. Present on `ask_user_questions`, `exit_plan_mode`, `get_or_request_integration`, and `configure_vercel_connect` parts when the agent is waiting on you; narrow by the part `name`. Omitted for actions that do not carry structured data.
852
+ * Structured payload for actions that carry data. Present on `ask_user_questions`, `exit_plan_mode`, `get_or_request_integration`, and `configure_vercel_connect` parts when the agent is waiting on you, and on `show_artifact` and `security_review` parts. Narrow by the part `name`: the presence of `data` alone does not mean the agent is waiting on you. Omitted for actions that do not carry structured data.
853
853
  */
854
854
  data?: {
855
855
  /**
@@ -1040,6 +1040,121 @@ type Message = {
1040
1040
  */
1041
1041
  name: string;
1042
1042
  };
1043
+ } | {
1044
+ /**
1045
+ * Artifact identifier. Download its bytes with GET /chats/{chatId}/artifacts/{artifactId}.
1046
+ */
1047
+ artifactId: string;
1048
+ /**
1049
+ * Short title the agent gave the artifact.
1050
+ */
1051
+ title: string;
1052
+ /**
1053
+ * File name of the artifact, including its extension.
1054
+ */
1055
+ fileName: string;
1056
+ /**
1057
+ * How the artifact is rendered in v0.
1058
+ */
1059
+ kind: 'html' | 'markdown' | 'json' | 'csv' | 'text' | 'image' | 'audio' | 'video' | 'pdf' | 'model' | 'code' | 'document' | 'spreadsheet' | 'file';
1060
+ /**
1061
+ * Size of the artifact in bytes.
1062
+ */
1063
+ size: number;
1064
+ /**
1065
+ * Where v0 shows the artifact: embedded in the message (`inline`) or in a separate tab (`tab`).
1066
+ */
1067
+ display: 'tab' | 'inline';
1068
+ } | {
1069
+ outcome: 'running';
1070
+ /**
1071
+ * Project-relative paths of the files the review covered.
1072
+ */
1073
+ files: Array<string>;
1074
+ /**
1075
+ * How many other files the review read for context.
1076
+ */
1077
+ contextFileCount: number;
1078
+ } | {
1079
+ outcome: 'clean';
1080
+ /**
1081
+ * Project-relative paths of the files the review covered.
1082
+ */
1083
+ files: Array<string>;
1084
+ /**
1085
+ * How many other files the review read for context.
1086
+ */
1087
+ contextFileCount: number;
1088
+ /**
1089
+ * Potential issues the review reported, before the agent checked them against the project. The checked findings are in the final message.
1090
+ */
1091
+ potentialIssueCount: number;
1092
+ /**
1093
+ * Potential issues by severity.
1094
+ */
1095
+ severities: {
1096
+ critical: number;
1097
+ high: number;
1098
+ medium: number;
1099
+ /**
1100
+ * Non-security bugs the review reported.
1101
+ */
1102
+ bug: number;
1103
+ low: number;
1104
+ };
1105
+ /**
1106
+ * How long the review ran.
1107
+ */
1108
+ durationMs: number;
1109
+ } | {
1110
+ outcome: 'findings';
1111
+ /**
1112
+ * Project-relative paths of the files the review covered.
1113
+ */
1114
+ files: Array<string>;
1115
+ /**
1116
+ * How many other files the review read for context.
1117
+ */
1118
+ contextFileCount: number;
1119
+ /**
1120
+ * Potential issues the review reported, before the agent checked them against the project. The checked findings are in the final message.
1121
+ */
1122
+ potentialIssueCount: number;
1123
+ /**
1124
+ * Potential issues by severity.
1125
+ */
1126
+ severities: {
1127
+ critical: number;
1128
+ high: number;
1129
+ medium: number;
1130
+ /**
1131
+ * Non-security bugs the review reported.
1132
+ */
1133
+ bug: number;
1134
+ low: number;
1135
+ };
1136
+ /**
1137
+ * How long the review ran.
1138
+ */
1139
+ durationMs: number;
1140
+ } | {
1141
+ outcome: 'incomplete';
1142
+ /**
1143
+ * Project-relative paths of the files the review covered.
1144
+ */
1145
+ files: Array<string>;
1146
+ /**
1147
+ * How many other files the review read for context.
1148
+ */
1149
+ contextFileCount: number;
1150
+ /**
1151
+ * Why the review ended without a result: `ai-error` (the AI calls failed), `credits` (not enough v0 credits), `timeout`, `stopped` (the turn was stopped while it ran), `not-started` (it never started), or `interrupted` (it stopped partway, or its result could not be read).
1152
+ */
1153
+ reason: 'ai-error' | 'credits' | 'timeout' | 'stopped' | 'not-started' | 'interrupted';
1154
+ /**
1155
+ * How long it ran before it ended, when known.
1156
+ */
1157
+ durationMs: number | null;
1043
1158
  };
1044
1159
  /**
1045
1160
  * ISO timestamp when this part began.
@@ -1361,7 +1476,7 @@ type MessageListResponse = {
1361
1476
  */
1362
1477
  summary: string;
1363
1478
  /**
1364
- * Structured payload for input-requesting actions. Present on `ask_user_questions`, `exit_plan_mode`, `get_or_request_integration`, and `configure_vercel_connect` parts when the agent is waiting on you; narrow by the part `name`. Omitted for actions that do not carry structured data.
1479
+ * Structured payload for actions that carry data. Present on `ask_user_questions`, `exit_plan_mode`, `get_or_request_integration`, and `configure_vercel_connect` parts when the agent is waiting on you, and on `show_artifact` and `security_review` parts. Narrow by the part `name`: the presence of `data` alone does not mean the agent is waiting on you. Omitted for actions that do not carry structured data.
1365
1480
  */
1366
1481
  data?: {
1367
1482
  /**
@@ -1552,6 +1667,121 @@ type MessageListResponse = {
1552
1667
  */
1553
1668
  name: string;
1554
1669
  };
1670
+ } | {
1671
+ /**
1672
+ * Artifact identifier. Download its bytes with GET /chats/{chatId}/artifacts/{artifactId}.
1673
+ */
1674
+ artifactId: string;
1675
+ /**
1676
+ * Short title the agent gave the artifact.
1677
+ */
1678
+ title: string;
1679
+ /**
1680
+ * File name of the artifact, including its extension.
1681
+ */
1682
+ fileName: string;
1683
+ /**
1684
+ * How the artifact is rendered in v0.
1685
+ */
1686
+ kind: 'html' | 'markdown' | 'json' | 'csv' | 'text' | 'image' | 'audio' | 'video' | 'pdf' | 'model' | 'code' | 'document' | 'spreadsheet' | 'file';
1687
+ /**
1688
+ * Size of the artifact in bytes.
1689
+ */
1690
+ size: number;
1691
+ /**
1692
+ * Where v0 shows the artifact: embedded in the message (`inline`) or in a separate tab (`tab`).
1693
+ */
1694
+ display: 'tab' | 'inline';
1695
+ } | {
1696
+ outcome: 'running';
1697
+ /**
1698
+ * Project-relative paths of the files the review covered.
1699
+ */
1700
+ files: Array<string>;
1701
+ /**
1702
+ * How many other files the review read for context.
1703
+ */
1704
+ contextFileCount: number;
1705
+ } | {
1706
+ outcome: 'clean';
1707
+ /**
1708
+ * Project-relative paths of the files the review covered.
1709
+ */
1710
+ files: Array<string>;
1711
+ /**
1712
+ * How many other files the review read for context.
1713
+ */
1714
+ contextFileCount: number;
1715
+ /**
1716
+ * Potential issues the review reported, before the agent checked them against the project. The checked findings are in the final message.
1717
+ */
1718
+ potentialIssueCount: number;
1719
+ /**
1720
+ * Potential issues by severity.
1721
+ */
1722
+ severities: {
1723
+ critical: number;
1724
+ high: number;
1725
+ medium: number;
1726
+ /**
1727
+ * Non-security bugs the review reported.
1728
+ */
1729
+ bug: number;
1730
+ low: number;
1731
+ };
1732
+ /**
1733
+ * How long the review ran.
1734
+ */
1735
+ durationMs: number;
1736
+ } | {
1737
+ outcome: 'findings';
1738
+ /**
1739
+ * Project-relative paths of the files the review covered.
1740
+ */
1741
+ files: Array<string>;
1742
+ /**
1743
+ * How many other files the review read for context.
1744
+ */
1745
+ contextFileCount: number;
1746
+ /**
1747
+ * Potential issues the review reported, before the agent checked them against the project. The checked findings are in the final message.
1748
+ */
1749
+ potentialIssueCount: number;
1750
+ /**
1751
+ * Potential issues by severity.
1752
+ */
1753
+ severities: {
1754
+ critical: number;
1755
+ high: number;
1756
+ medium: number;
1757
+ /**
1758
+ * Non-security bugs the review reported.
1759
+ */
1760
+ bug: number;
1761
+ low: number;
1762
+ };
1763
+ /**
1764
+ * How long the review ran.
1765
+ */
1766
+ durationMs: number;
1767
+ } | {
1768
+ outcome: 'incomplete';
1769
+ /**
1770
+ * Project-relative paths of the files the review covered.
1771
+ */
1772
+ files: Array<string>;
1773
+ /**
1774
+ * How many other files the review read for context.
1775
+ */
1776
+ contextFileCount: number;
1777
+ /**
1778
+ * Why the review ended without a result: `ai-error` (the AI calls failed), `credits` (not enough v0 credits), `timeout`, `stopped` (the turn was stopped while it ran), `not-started` (it never started), or `interrupted` (it stopped partway, or its result could not be read).
1779
+ */
1780
+ reason: 'ai-error' | 'credits' | 'timeout' | 'stopped' | 'not-started' | 'interrupted';
1781
+ /**
1782
+ * How long it ran before it ended, when known.
1783
+ */
1784
+ durationMs: number | null;
1555
1785
  };
1556
1786
  /**
1557
1787
  * ISO timestamp when this part began.
@@ -1886,7 +2116,7 @@ type MessageStreamEvent = {
1886
2116
  */
1887
2117
  summary: string;
1888
2118
  /**
1889
- * Structured payload for input-requesting actions. Present on `ask_user_questions`, `exit_plan_mode`, `get_or_request_integration`, and `configure_vercel_connect` parts when the agent is waiting on you; narrow by the part `name`. Omitted for actions that do not carry structured data.
2119
+ * Structured payload for actions that carry data. Present on `ask_user_questions`, `exit_plan_mode`, `get_or_request_integration`, and `configure_vercel_connect` parts when the agent is waiting on you, and on `show_artifact` and `security_review` parts. Narrow by the part `name`: the presence of `data` alone does not mean the agent is waiting on you. Omitted for actions that do not carry structured data.
1890
2120
  */
1891
2121
  data?: {
1892
2122
  /**
@@ -2077,6 +2307,121 @@ type MessageStreamEvent = {
2077
2307
  */
2078
2308
  name: string;
2079
2309
  };
2310
+ } | {
2311
+ /**
2312
+ * Artifact identifier. Download its bytes with GET /chats/{chatId}/artifacts/{artifactId}.
2313
+ */
2314
+ artifactId: string;
2315
+ /**
2316
+ * Short title the agent gave the artifact.
2317
+ */
2318
+ title: string;
2319
+ /**
2320
+ * File name of the artifact, including its extension.
2321
+ */
2322
+ fileName: string;
2323
+ /**
2324
+ * How the artifact is rendered in v0.
2325
+ */
2326
+ kind: 'html' | 'markdown' | 'json' | 'csv' | 'text' | 'image' | 'audio' | 'video' | 'pdf' | 'model' | 'code' | 'document' | 'spreadsheet' | 'file';
2327
+ /**
2328
+ * Size of the artifact in bytes.
2329
+ */
2330
+ size: number;
2331
+ /**
2332
+ * Where v0 shows the artifact: embedded in the message (`inline`) or in a separate tab (`tab`).
2333
+ */
2334
+ display: 'tab' | 'inline';
2335
+ } | {
2336
+ outcome: 'running';
2337
+ /**
2338
+ * Project-relative paths of the files the review covered.
2339
+ */
2340
+ files: Array<string>;
2341
+ /**
2342
+ * How many other files the review read for context.
2343
+ */
2344
+ contextFileCount: number;
2345
+ } | {
2346
+ outcome: 'clean';
2347
+ /**
2348
+ * Project-relative paths of the files the review covered.
2349
+ */
2350
+ files: Array<string>;
2351
+ /**
2352
+ * How many other files the review read for context.
2353
+ */
2354
+ contextFileCount: number;
2355
+ /**
2356
+ * Potential issues the review reported, before the agent checked them against the project. The checked findings are in the final message.
2357
+ */
2358
+ potentialIssueCount: number;
2359
+ /**
2360
+ * Potential issues by severity.
2361
+ */
2362
+ severities: {
2363
+ critical: number;
2364
+ high: number;
2365
+ medium: number;
2366
+ /**
2367
+ * Non-security bugs the review reported.
2368
+ */
2369
+ bug: number;
2370
+ low: number;
2371
+ };
2372
+ /**
2373
+ * How long the review ran.
2374
+ */
2375
+ durationMs: number;
2376
+ } | {
2377
+ outcome: 'findings';
2378
+ /**
2379
+ * Project-relative paths of the files the review covered.
2380
+ */
2381
+ files: Array<string>;
2382
+ /**
2383
+ * How many other files the review read for context.
2384
+ */
2385
+ contextFileCount: number;
2386
+ /**
2387
+ * Potential issues the review reported, before the agent checked them against the project. The checked findings are in the final message.
2388
+ */
2389
+ potentialIssueCount: number;
2390
+ /**
2391
+ * Potential issues by severity.
2392
+ */
2393
+ severities: {
2394
+ critical: number;
2395
+ high: number;
2396
+ medium: number;
2397
+ /**
2398
+ * Non-security bugs the review reported.
2399
+ */
2400
+ bug: number;
2401
+ low: number;
2402
+ };
2403
+ /**
2404
+ * How long the review ran.
2405
+ */
2406
+ durationMs: number;
2407
+ } | {
2408
+ outcome: 'incomplete';
2409
+ /**
2410
+ * Project-relative paths of the files the review covered.
2411
+ */
2412
+ files: Array<string>;
2413
+ /**
2414
+ * How many other files the review read for context.
2415
+ */
2416
+ contextFileCount: number;
2417
+ /**
2418
+ * Why the review ended without a result: `ai-error` (the AI calls failed), `credits` (not enough v0 credits), `timeout`, `stopped` (the turn was stopped while it ran), `not-started` (it never started), or `interrupted` (it stopped partway, or its result could not be read).
2419
+ */
2420
+ reason: 'ai-error' | 'credits' | 'timeout' | 'stopped' | 'not-started' | 'interrupted';
2421
+ /**
2422
+ * How long it ran before it ended, when known.
2423
+ */
2424
+ durationMs: number | null;
2080
2425
  };
2081
2426
  /**
2082
2427
  * ISO timestamp when this part began.
@@ -2741,6 +3086,23 @@ type UsageEventList = {
2741
3086
  * Attributed user identifier.
2742
3087
  */
2743
3088
  userId?: string;
3089
+ /**
3090
+ * Attributed user details. Omitted when the user cannot be resolved.
3091
+ */
3092
+ user?: {
3093
+ /**
3094
+ * User identifier.
3095
+ */
3096
+ id: string;
3097
+ /**
3098
+ * User email address.
3099
+ */
3100
+ email: string;
3101
+ /**
3102
+ * User display name, when set.
3103
+ */
3104
+ name?: string;
3105
+ };
2744
3106
  /**
2745
3107
  * Related chat identifier.
2746
3108
  */
@@ -3301,6 +3663,61 @@ type ChatsCreateFromRepoResponses = {
3301
3663
  200: ChatWithUsage;
3302
3664
  };
3303
3665
  type ChatsCreateFromRepoResponse = ChatsCreateFromRepoResponses[keyof ChatsCreateFromRepoResponses];
3666
+ type ChatsCreateFromTemplateData = {
3667
+ body: {
3668
+ /**
3669
+ * ID of the v0 template to start from, as shown in its v0.app/templates URL.
3670
+ */
3671
+ templateId: string;
3672
+ /**
3673
+ * Visibility setting for the new chat.
3674
+ */
3675
+ privacy?: 'public' | 'private' | 'team' | 'team-edit' | 'unlisted';
3676
+ /**
3677
+ * Title for the new chat.
3678
+ */
3679
+ title?: string;
3680
+ /**
3681
+ * Arbitrary key-value data to attach to the chat.
3682
+ */
3683
+ metadata?: {
3684
+ [key: string]: string;
3685
+ };
3686
+ };
3687
+ path?: never;
3688
+ query?: never;
3689
+ url: '/chats/from-template';
3690
+ };
3691
+ type ChatsCreateFromTemplateErrors = {
3692
+ /**
3693
+ * Response for status 401
3694
+ */
3695
+ 401: Error$1;
3696
+ /**
3697
+ * Response for status 403
3698
+ */
3699
+ 403: Error$1;
3700
+ /**
3701
+ * Response for status 404
3702
+ */
3703
+ 404: Error$1;
3704
+ /**
3705
+ * Response for status 422
3706
+ */
3707
+ 422: Error$1;
3708
+ /**
3709
+ * Response for status 500
3710
+ */
3711
+ 500: Error$1;
3712
+ };
3713
+ type ChatsCreateFromTemplateError = ChatsCreateFromTemplateErrors[keyof ChatsCreateFromTemplateErrors];
3714
+ type ChatsCreateFromTemplateResponses = {
3715
+ /**
3716
+ * A chat response that also reports the usage.
3717
+ */
3718
+ 200: ChatWithUsage;
3719
+ };
3720
+ type ChatsCreateFromTemplateResponse = ChatsCreateFromTemplateResponses[keyof ChatsCreateFromTemplateResponses];
3304
3721
  type ChatsCreateFromVercelProjectData = {
3305
3722
  body: {
3306
3723
  /**
@@ -5099,8 +5516,304 @@ type MessagesResolveAsyncResponses = {
5099
5516
  */
5100
5517
  202: AsyncMessage;
5101
5518
  };
5102
- type MessagesResolveAsyncResponse = MessagesResolveAsyncResponses[keyof MessagesResolveAsyncResponses];
5103
- type MessagesStopData = {
5519
+ type MessagesResolveAsyncResponse = MessagesResolveAsyncResponses[keyof MessagesResolveAsyncResponses];
5520
+ type MessagesStopData = {
5521
+ body?: never;
5522
+ path: {
5523
+ /**
5524
+ * The unique identifier of the chat.
5525
+ */
5526
+ chatId: string;
5527
+ /**
5528
+ * The unique identifier of the assistant message to stop.
5529
+ */
5530
+ messageId: string;
5531
+ };
5532
+ query?: never;
5533
+ url: '/chats/{chatId}/messages/{messageId}/stop';
5534
+ };
5535
+ type MessagesStopErrors = {
5536
+ /**
5537
+ * Response for status 401
5538
+ */
5539
+ 401: Error$1;
5540
+ /**
5541
+ * Response for status 403
5542
+ */
5543
+ 403: Error$1;
5544
+ /**
5545
+ * Response for status 404
5546
+ */
5547
+ 404: Error$1;
5548
+ /**
5549
+ * Response for status 409
5550
+ */
5551
+ 409: Error$1;
5552
+ /**
5553
+ * Response for status 422
5554
+ */
5555
+ 422: Error$1;
5556
+ /**
5557
+ * Response for status 500
5558
+ */
5559
+ 500: Error$1;
5560
+ };
5561
+ type MessagesStopError = MessagesStopErrors[keyof MessagesStopErrors];
5562
+ type MessagesStopResponses = {
5563
+ /**
5564
+ * The stopped message.
5565
+ */
5566
+ 200: {
5567
+ /**
5568
+ * The unique identifier of the stopped message.
5569
+ */
5570
+ messageId: string;
5571
+ };
5572
+ };
5573
+ type MessagesStopResponse = MessagesStopResponses[keyof MessagesStopResponses];
5574
+ type SecurityChecksGetData = {
5575
+ body?: never;
5576
+ path: {
5577
+ /**
5578
+ * The unique identifier of the chat.
5579
+ */
5580
+ chatId: string;
5581
+ /**
5582
+ * The Security Check ID.
5583
+ */
5584
+ checkId: string;
5585
+ };
5586
+ query?: never;
5587
+ url: '/chats/{chatId}/security-checks/{checkId}';
5588
+ };
5589
+ type SecurityChecksGetErrors = {
5590
+ /**
5591
+ * Response for status 401
5592
+ */
5593
+ 401: Error$1;
5594
+ /**
5595
+ * Response for status 403
5596
+ */
5597
+ 403: Error$1;
5598
+ /**
5599
+ * Response for status 404
5600
+ */
5601
+ 404: Error$1;
5602
+ /**
5603
+ * Response for status 422
5604
+ */
5605
+ 422: Error$1;
5606
+ /**
5607
+ * Response for status 500
5608
+ */
5609
+ 500: Error$1;
5610
+ };
5611
+ type SecurityChecksGetError = SecurityChecksGetErrors[keyof SecurityChecksGetErrors];
5612
+ type SecurityChecksGetResponses = {
5613
+ /**
5614
+ * Response for status 200
5615
+ */
5616
+ 200: {
5617
+ /**
5618
+ * The Security Check ID, which is also the ID of the assistant message that runs it.
5619
+ */
5620
+ id: string;
5621
+ object: 'security_check';
5622
+ /**
5623
+ * The chat the check runs in.
5624
+ */
5625
+ chatId: string;
5626
+ /**
5627
+ * `changes`: what changed in the chat. `project`: the riskiest files across the app.
5628
+ */
5629
+ scope: 'project' | 'changes';
5630
+ /**
5631
+ * `completed` once v0 has finished its reply.
5632
+ */
5633
+ status: 'running' | 'completed';
5634
+ /**
5635
+ * How the review itself went. Absent until it starts, while v0 retries an attempt that couldn't start, and when v0 didn't run one (for example, when there were no changes to review, or reviews aren't available for this chat).
5636
+ */
5637
+ review?: {
5638
+ outcome: 'running';
5639
+ /**
5640
+ * Project-relative paths of the files the review covered.
5641
+ */
5642
+ files: Array<string>;
5643
+ /**
5644
+ * How many other files the review read for context.
5645
+ */
5646
+ contextFileCount: number;
5647
+ } | {
5648
+ outcome: 'clean';
5649
+ /**
5650
+ * Project-relative paths of the files the review covered.
5651
+ */
5652
+ files: Array<string>;
5653
+ /**
5654
+ * How many other files the review read for context.
5655
+ */
5656
+ contextFileCount: number;
5657
+ /**
5658
+ * Potential issues the review reported, before the agent checked them against the project. The checked findings are in the final message.
5659
+ */
5660
+ potentialIssueCount: number;
5661
+ /**
5662
+ * Potential issues by severity.
5663
+ */
5664
+ severities: {
5665
+ critical: number;
5666
+ high: number;
5667
+ medium: number;
5668
+ /**
5669
+ * Non-security bugs the review reported.
5670
+ */
5671
+ bug: number;
5672
+ low: number;
5673
+ };
5674
+ /**
5675
+ * How long the review ran.
5676
+ */
5677
+ durationMs: number;
5678
+ } | {
5679
+ outcome: 'findings';
5680
+ /**
5681
+ * Project-relative paths of the files the review covered.
5682
+ */
5683
+ files: Array<string>;
5684
+ /**
5685
+ * How many other files the review read for context.
5686
+ */
5687
+ contextFileCount: number;
5688
+ /**
5689
+ * Potential issues the review reported, before the agent checked them against the project. The checked findings are in the final message.
5690
+ */
5691
+ potentialIssueCount: number;
5692
+ /**
5693
+ * Potential issues by severity.
5694
+ */
5695
+ severities: {
5696
+ critical: number;
5697
+ high: number;
5698
+ medium: number;
5699
+ /**
5700
+ * Non-security bugs the review reported.
5701
+ */
5702
+ bug: number;
5703
+ low: number;
5704
+ };
5705
+ /**
5706
+ * How long the review ran.
5707
+ */
5708
+ durationMs: number;
5709
+ } | {
5710
+ outcome: 'incomplete';
5711
+ /**
5712
+ * Project-relative paths of the files the review covered.
5713
+ */
5714
+ files: Array<string>;
5715
+ /**
5716
+ * How many other files the review read for context.
5717
+ */
5718
+ contextFileCount: number;
5719
+ /**
5720
+ * Why the review ended without a result: `ai-error` (the AI calls failed), `credits` (not enough v0 credits), `timeout`, `stopped` (the turn was stopped while it ran), `not-started` (it never started), or `interrupted` (it stopped partway, or its result could not be read).
5721
+ */
5722
+ reason: 'ai-error' | 'credits' | 'timeout' | 'stopped' | 'not-started' | 'interrupted';
5723
+ /**
5724
+ * How long it ran before it ended, when known.
5725
+ */
5726
+ durationMs: number | null;
5727
+ };
5728
+ /**
5729
+ * Counts of v0's checked findings. Present whenever `findings` is.
5730
+ */
5731
+ summary?: {
5732
+ /**
5733
+ * Findings v0 confirmed.
5734
+ */
5735
+ confirmed: number;
5736
+ /**
5737
+ * Findings v0 dismissed after checking.
5738
+ */
5739
+ dismissed: number;
5740
+ /**
5741
+ * The most severe confirmed finding, or null when none was confirmed. For example, fail a deploy when it is `critical` or `high`.
5742
+ */
5743
+ highestSeverity: 'critical' | 'high' | 'medium' | 'low' | 'bug' | null;
5744
+ /**
5745
+ * Confirmed findings by severity.
5746
+ */
5747
+ bySeverity: {
5748
+ critical: number;
5749
+ high: number;
5750
+ medium: number;
5751
+ low: number;
5752
+ bug: number;
5753
+ };
5754
+ };
5755
+ /**
5756
+ * v0's checked findings: confirmed first, then most severe first. Empty for a clean review. Absent until v0 records them, and when no review finished with a result.
5757
+ */
5758
+ findings?: Array<{
5759
+ /**
5760
+ * The finding's number within this check.
5761
+ */
5762
+ id: string;
5763
+ /**
5764
+ * Short name of the issue.
5765
+ */
5766
+ title: string;
5767
+ /**
5768
+ * The severity v0 concluded after checking, most severe first; `bug` is a non-security bug.
5769
+ */
5770
+ severity: 'critical' | 'high' | 'medium' | 'low' | 'bug';
5771
+ /**
5772
+ * Project-relative file path.
5773
+ */
5774
+ file: string;
5775
+ /**
5776
+ * 1-based line of the issue, or null when it spans the file.
5777
+ */
5778
+ line: number | null;
5779
+ /**
5780
+ * `confirmed`: a real risk. `dismissed`: other code in the project already handles it.
5781
+ */
5782
+ status: 'confirmed' | 'dismissed';
5783
+ /**
5784
+ * Why it is a risk, or which code handles it when dismissed.
5785
+ */
5786
+ explanation: string;
5787
+ /**
5788
+ * The suggested fix for a confirmed finding.
5789
+ */
5790
+ fix: string | null;
5791
+ }>;
5792
+ /**
5793
+ * v0's final reply, once the check is completed.
5794
+ */
5795
+ reply?: string;
5796
+ /**
5797
+ * What the check's AI calls cost so far. v0's own reply is billed like any message and isn't included.
5798
+ */
5799
+ cost?: {
5800
+ /**
5801
+ * v0 credits used by the check's AI calls, as a decimal string.
5802
+ */
5803
+ credits: string;
5804
+ /**
5805
+ * Whether the credits were charged; false when v0 covered them.
5806
+ */
5807
+ charged: boolean;
5808
+ };
5809
+ /**
5810
+ * When the check was started.
5811
+ */
5812
+ createdAt: Date;
5813
+ };
5814
+ };
5815
+ type SecurityChecksGetResponse = SecurityChecksGetResponses[keyof SecurityChecksGetResponses];
5816
+ type ChatsDownloadArtifactData = {
5104
5817
  body?: never;
5105
5818
  path: {
5106
5819
  /**
@@ -5108,14 +5821,14 @@ type MessagesStopData = {
5108
5821
  */
5109
5822
  chatId: string;
5110
5823
  /**
5111
- * The unique identifier of the assistant message to stop.
5824
+ * The `artifactId` from a `show_artifact` message part.
5112
5825
  */
5113
- messageId: string;
5826
+ artifactId: string;
5114
5827
  };
5115
5828
  query?: never;
5116
- url: '/chats/{chatId}/messages/{messageId}/stop';
5829
+ url: '/chats/{chatId}/artifacts/{artifactId}';
5117
5830
  };
5118
- type MessagesStopErrors = {
5831
+ type ChatsDownloadArtifactErrors = {
5119
5832
  /**
5120
5833
  * Response for status 401
5121
5834
  */
@@ -5128,10 +5841,6 @@ type MessagesStopErrors = {
5128
5841
  * Response for status 404
5129
5842
  */
5130
5843
  404: Error$1;
5131
- /**
5132
- * Response for status 409
5133
- */
5134
- 409: Error$1;
5135
5844
  /**
5136
5845
  * Response for status 422
5137
5846
  */
@@ -5141,19 +5850,14 @@ type MessagesStopErrors = {
5141
5850
  */
5142
5851
  500: Error$1;
5143
5852
  };
5144
- type MessagesStopError = MessagesStopErrors[keyof MessagesStopErrors];
5145
- type MessagesStopResponses = {
5853
+ type ChatsDownloadArtifactError = ChatsDownloadArtifactErrors[keyof ChatsDownloadArtifactErrors];
5854
+ type ChatsDownloadArtifactResponses = {
5146
5855
  /**
5147
- * The stopped message.
5856
+ * The artifact file.
5148
5857
  */
5149
- 200: {
5150
- /**
5151
- * The unique identifier of the stopped message.
5152
- */
5153
- messageId: string;
5154
- };
5858
+ 200: Blob | File;
5155
5859
  };
5156
- type MessagesStopResponse = MessagesStopResponses[keyof MessagesStopResponses];
5860
+ type ChatsDownloadArtifactResponse = ChatsDownloadArtifactResponses[keyof ChatsDownloadArtifactResponses];
5157
5861
  type ChatsDeleteData = {
5158
5862
  body?: never;
5159
5863
  path: {
@@ -5687,7 +6391,7 @@ type ChatsUpdateFilesResponses = {
5687
6391
  */
5688
6392
  summary: string;
5689
6393
  /**
5690
- * Structured payload for input-requesting actions. Present on `ask_user_questions`, `exit_plan_mode`, `get_or_request_integration`, and `configure_vercel_connect` parts when the agent is waiting on you; narrow by the part `name`. Omitted for actions that do not carry structured data.
6394
+ * Structured payload for actions that carry data. Present on `ask_user_questions`, `exit_plan_mode`, `get_or_request_integration`, and `configure_vercel_connect` parts when the agent is waiting on you, and on `show_artifact` and `security_review` parts. Narrow by the part `name`: the presence of `data` alone does not mean the agent is waiting on you. Omitted for actions that do not carry structured data.
5691
6395
  */
5692
6396
  data?: {
5693
6397
  /**
@@ -5878,6 +6582,121 @@ type ChatsUpdateFilesResponses = {
5878
6582
  */
5879
6583
  name: string;
5880
6584
  };
6585
+ } | {
6586
+ /**
6587
+ * Artifact identifier. Download its bytes with GET /chats/{chatId}/artifacts/{artifactId}.
6588
+ */
6589
+ artifactId: string;
6590
+ /**
6591
+ * Short title the agent gave the artifact.
6592
+ */
6593
+ title: string;
6594
+ /**
6595
+ * File name of the artifact, including its extension.
6596
+ */
6597
+ fileName: string;
6598
+ /**
6599
+ * How the artifact is rendered in v0.
6600
+ */
6601
+ kind: 'html' | 'markdown' | 'json' | 'csv' | 'text' | 'image' | 'audio' | 'video' | 'pdf' | 'model' | 'code' | 'document' | 'spreadsheet' | 'file';
6602
+ /**
6603
+ * Size of the artifact in bytes.
6604
+ */
6605
+ size: number;
6606
+ /**
6607
+ * Where v0 shows the artifact: embedded in the message (`inline`) or in a separate tab (`tab`).
6608
+ */
6609
+ display: 'tab' | 'inline';
6610
+ } | {
6611
+ outcome: 'running';
6612
+ /**
6613
+ * Project-relative paths of the files the review covered.
6614
+ */
6615
+ files: Array<string>;
6616
+ /**
6617
+ * How many other files the review read for context.
6618
+ */
6619
+ contextFileCount: number;
6620
+ } | {
6621
+ outcome: 'clean';
6622
+ /**
6623
+ * Project-relative paths of the files the review covered.
6624
+ */
6625
+ files: Array<string>;
6626
+ /**
6627
+ * How many other files the review read for context.
6628
+ */
6629
+ contextFileCount: number;
6630
+ /**
6631
+ * Potential issues the review reported, before the agent checked them against the project. The checked findings are in the final message.
6632
+ */
6633
+ potentialIssueCount: number;
6634
+ /**
6635
+ * Potential issues by severity.
6636
+ */
6637
+ severities: {
6638
+ critical: number;
6639
+ high: number;
6640
+ medium: number;
6641
+ /**
6642
+ * Non-security bugs the review reported.
6643
+ */
6644
+ bug: number;
6645
+ low: number;
6646
+ };
6647
+ /**
6648
+ * How long the review ran.
6649
+ */
6650
+ durationMs: number;
6651
+ } | {
6652
+ outcome: 'findings';
6653
+ /**
6654
+ * Project-relative paths of the files the review covered.
6655
+ */
6656
+ files: Array<string>;
6657
+ /**
6658
+ * How many other files the review read for context.
6659
+ */
6660
+ contextFileCount: number;
6661
+ /**
6662
+ * Potential issues the review reported, before the agent checked them against the project. The checked findings are in the final message.
6663
+ */
6664
+ potentialIssueCount: number;
6665
+ /**
6666
+ * Potential issues by severity.
6667
+ */
6668
+ severities: {
6669
+ critical: number;
6670
+ high: number;
6671
+ medium: number;
6672
+ /**
6673
+ * Non-security bugs the review reported.
6674
+ */
6675
+ bug: number;
6676
+ low: number;
6677
+ };
6678
+ /**
6679
+ * How long the review ran.
6680
+ */
6681
+ durationMs: number;
6682
+ } | {
6683
+ outcome: 'incomplete';
6684
+ /**
6685
+ * Project-relative paths of the files the review covered.
6686
+ */
6687
+ files: Array<string>;
6688
+ /**
6689
+ * How many other files the review read for context.
6690
+ */
6691
+ contextFileCount: number;
6692
+ /**
6693
+ * Why the review ended without a result: `ai-error` (the AI calls failed), `credits` (not enough v0 credits), `timeout`, `stopped` (the turn was stopped while it ran), `not-started` (it never started), or `interrupted` (it stopped partway, or its result could not be read).
6694
+ */
6695
+ reason: 'ai-error' | 'credits' | 'timeout' | 'stopped' | 'not-started' | 'interrupted';
6696
+ /**
6697
+ * How long it ran before it ended, when known.
6698
+ */
6699
+ durationMs: number | null;
5881
6700
  };
5882
6701
  /**
5883
6702
  * ISO timestamp when this part began.
@@ -6403,7 +7222,7 @@ type ChatsRestoreMessageResponses = {
6403
7222
  */
6404
7223
  summary: string;
6405
7224
  /**
6406
- * Structured payload for input-requesting actions. Present on `ask_user_questions`, `exit_plan_mode`, `get_or_request_integration`, and `configure_vercel_connect` parts when the agent is waiting on you; narrow by the part `name`. Omitted for actions that do not carry structured data.
7225
+ * Structured payload for actions that carry data. Present on `ask_user_questions`, `exit_plan_mode`, `get_or_request_integration`, and `configure_vercel_connect` parts when the agent is waiting on you, and on `show_artifact` and `security_review` parts. Narrow by the part `name`: the presence of `data` alone does not mean the agent is waiting on you. Omitted for actions that do not carry structured data.
6407
7226
  */
6408
7227
  data?: {
6409
7228
  /**
@@ -6594,6 +7413,121 @@ type ChatsRestoreMessageResponses = {
6594
7413
  */
6595
7414
  name: string;
6596
7415
  };
7416
+ } | {
7417
+ /**
7418
+ * Artifact identifier. Download its bytes with GET /chats/{chatId}/artifacts/{artifactId}.
7419
+ */
7420
+ artifactId: string;
7421
+ /**
7422
+ * Short title the agent gave the artifact.
7423
+ */
7424
+ title: string;
7425
+ /**
7426
+ * File name of the artifact, including its extension.
7427
+ */
7428
+ fileName: string;
7429
+ /**
7430
+ * How the artifact is rendered in v0.
7431
+ */
7432
+ kind: 'html' | 'markdown' | 'json' | 'csv' | 'text' | 'image' | 'audio' | 'video' | 'pdf' | 'model' | 'code' | 'document' | 'spreadsheet' | 'file';
7433
+ /**
7434
+ * Size of the artifact in bytes.
7435
+ */
7436
+ size: number;
7437
+ /**
7438
+ * Where v0 shows the artifact: embedded in the message (`inline`) or in a separate tab (`tab`).
7439
+ */
7440
+ display: 'tab' | 'inline';
7441
+ } | {
7442
+ outcome: 'running';
7443
+ /**
7444
+ * Project-relative paths of the files the review covered.
7445
+ */
7446
+ files: Array<string>;
7447
+ /**
7448
+ * How many other files the review read for context.
7449
+ */
7450
+ contextFileCount: number;
7451
+ } | {
7452
+ outcome: 'clean';
7453
+ /**
7454
+ * Project-relative paths of the files the review covered.
7455
+ */
7456
+ files: Array<string>;
7457
+ /**
7458
+ * How many other files the review read for context.
7459
+ */
7460
+ contextFileCount: number;
7461
+ /**
7462
+ * Potential issues the review reported, before the agent checked them against the project. The checked findings are in the final message.
7463
+ */
7464
+ potentialIssueCount: number;
7465
+ /**
7466
+ * Potential issues by severity.
7467
+ */
7468
+ severities: {
7469
+ critical: number;
7470
+ high: number;
7471
+ medium: number;
7472
+ /**
7473
+ * Non-security bugs the review reported.
7474
+ */
7475
+ bug: number;
7476
+ low: number;
7477
+ };
7478
+ /**
7479
+ * How long the review ran.
7480
+ */
7481
+ durationMs: number;
7482
+ } | {
7483
+ outcome: 'findings';
7484
+ /**
7485
+ * Project-relative paths of the files the review covered.
7486
+ */
7487
+ files: Array<string>;
7488
+ /**
7489
+ * How many other files the review read for context.
7490
+ */
7491
+ contextFileCount: number;
7492
+ /**
7493
+ * Potential issues the review reported, before the agent checked them against the project. The checked findings are in the final message.
7494
+ */
7495
+ potentialIssueCount: number;
7496
+ /**
7497
+ * Potential issues by severity.
7498
+ */
7499
+ severities: {
7500
+ critical: number;
7501
+ high: number;
7502
+ medium: number;
7503
+ /**
7504
+ * Non-security bugs the review reported.
7505
+ */
7506
+ bug: number;
7507
+ low: number;
7508
+ };
7509
+ /**
7510
+ * How long the review ran.
7511
+ */
7512
+ durationMs: number;
7513
+ } | {
7514
+ outcome: 'incomplete';
7515
+ /**
7516
+ * Project-relative paths of the files the review covered.
7517
+ */
7518
+ files: Array<string>;
7519
+ /**
7520
+ * How many other files the review read for context.
7521
+ */
7522
+ contextFileCount: number;
7523
+ /**
7524
+ * Why the review ended without a result: `ai-error` (the AI calls failed), `credits` (not enough v0 credits), `timeout`, `stopped` (the turn was stopped while it ran), `not-started` (it never started), or `interrupted` (it stopped partway, or its result could not be read).
7525
+ */
7526
+ reason: 'ai-error' | 'credits' | 'timeout' | 'stopped' | 'not-started' | 'interrupted';
7527
+ /**
7528
+ * How long it ran before it ended, when known.
7529
+ */
7530
+ durationMs: number | null;
6597
7531
  };
6598
7532
  /**
6599
7533
  * ISO timestamp when this part began.
@@ -6910,6 +7844,91 @@ type ChatsResumeResponses = {
6910
7844
  200: ChatStreamEvent;
6911
7845
  };
6912
7846
  type ChatsResumeResponse = ChatsResumeResponses[keyof ChatsResumeResponses];
7847
+ type SecurityChecksCreateData = {
7848
+ /**
7849
+ * Provide exactly one of `chatId`, `repo` or `vercelProjectId`.
7850
+ */
7851
+ body: {
7852
+ /**
7853
+ * `changes`: what changed in the chat. `project`: the riskiest files across the app.
7854
+ */
7855
+ scope: 'project' | 'changes';
7856
+ /**
7857
+ * The v0 chat to check.
7858
+ */
7859
+ chatId?: string;
7860
+ /**
7861
+ * A GitHub repository to import and check. Requires scope `project`.
7862
+ */
7863
+ repo?: {
7864
+ /**
7865
+ * GitHub repository URL, for example https://github.com/vercel/next.js.
7866
+ */
7867
+ url: string;
7868
+ /**
7869
+ * Branch to import. If omitted, v0 uses the repository default branch.
7870
+ */
7871
+ branch?: string;
7872
+ };
7873
+ /**
7874
+ * A Vercel project to import and check. Requires scope `project`.
7875
+ */
7876
+ vercelProjectId?: string;
7877
+ /**
7878
+ * Base branch for a GitHub-linked project. Defaults to the repository default branch. Ignored for projects without a GitHub link.
7879
+ */
7880
+ baseBranch?: string;
7881
+ };
7882
+ path?: never;
7883
+ query?: never;
7884
+ url: '/security-checks/';
7885
+ };
7886
+ type SecurityChecksCreateErrors = {
7887
+ /**
7888
+ * Response for status 401
7889
+ */
7890
+ 401: Error$1;
7891
+ /**
7892
+ * Response for status 403
7893
+ */
7894
+ 403: Error$1;
7895
+ /**
7896
+ * Response for status 404
7897
+ */
7898
+ 404: Error$1;
7899
+ /**
7900
+ * Response for status 409
7901
+ */
7902
+ 409: Error$1;
7903
+ /**
7904
+ * Response for status 422
7905
+ */
7906
+ 422: Error$1;
7907
+ /**
7908
+ * Response for status 500
7909
+ */
7910
+ 500: Error$1;
7911
+ };
7912
+ type SecurityChecksCreateError = SecurityChecksCreateErrors[keyof SecurityChecksCreateErrors];
7913
+ type SecurityChecksCreateResponses = {
7914
+ /**
7915
+ * Response for status 202
7916
+ */
7917
+ 202: {
7918
+ /**
7919
+ * The Security Check ID. Poll GET /chats/:chatId/security-checks/:checkId for its status and findings.
7920
+ */
7921
+ id: string;
7922
+ object: 'security_check';
7923
+ chatId: string;
7924
+ /**
7925
+ * `changes`: what changed in the chat. `project`: the riskiest files across the app.
7926
+ */
7927
+ scope: 'project' | 'changes';
7928
+ status: 'running';
7929
+ };
7930
+ };
7931
+ type SecurityChecksCreateResponse = SecurityChecksCreateResponses[keyof SecurityChecksCreateResponses];
6913
7932
  type McpServersListData = {
6914
7933
  body?: never;
6915
7934
  path?: never;
@@ -7857,7 +8876,7 @@ declare class HeyApiRegistry<T> {
7857
8876
  get(key?: string): T;
7858
8877
  set(value: T, key?: string): void;
7859
8878
  }
7860
- declare class Chats extends HeyApiClient {
8879
+ declare class Chats$1 extends HeyApiClient {
7861
8880
  /**
7862
8881
  * List Chats
7863
8882
  *
@@ -8021,6 +9040,19 @@ declare class Chats extends HeyApiClient {
8021
9040
  [key: string]: string;
8022
9041
  };
8023
9042
  }, options?: Options<never, ThrowOnError>): RequestResult<ChatsCreateFromRepoResponses, ChatsCreateFromRepoErrors, ThrowOnError, "fields">;
9043
+ /**
9044
+ * Create Chat From Template
9045
+ *
9046
+ * Creates a new chat from a v0 template, the same way opening it from v0.app/templates does.
9047
+ */
9048
+ createFromTemplate<ThrowOnError extends boolean = false>(parameters: {
9049
+ templateId: string;
9050
+ privacy?: 'public' | 'private' | 'team' | 'team-edit' | 'unlisted';
9051
+ title?: string;
9052
+ metadata?: {
9053
+ [key: string]: string;
9054
+ };
9055
+ }, options?: Options<never, ThrowOnError>): RequestResult<ChatsCreateFromTemplateResponses, ChatsCreateFromTemplateErrors, ThrowOnError, "fields">;
8024
9056
  /**
8025
9057
  * Create Chat From Vercel Project
8026
9058
  *
@@ -8232,6 +9264,15 @@ declare class Chats extends HeyApiClient {
8232
9264
  github?: boolean;
8233
9265
  };
8234
9266
  }, options?: Options<never, ThrowOnError>): RequestResult<ChatsCreateAsyncResponses, ChatsCreateAsyncErrors, ThrowOnError, "fields">;
9267
+ /**
9268
+ * Download Artifact
9269
+ *
9270
+ * Downloads the saved bytes of an artifact the agent showed in this chat. Find artifact IDs on `show_artifact` agent-action message parts. The response `Content-Type` is the artifact’s file type, such as `text/html`, `text/markdown`, `application/json`, `text/csv`, or an image type.
9271
+ */
9272
+ downloadArtifact<ThrowOnError extends boolean = false>(parameters: {
9273
+ chatId: string;
9274
+ artifactId: string;
9275
+ }, options?: Options<never, ThrowOnError>): RequestResult<ChatsDownloadArtifactResponses, ChatsDownloadArtifactErrors, ThrowOnError, "fields">;
8235
9276
  /**
8236
9277
  * Delete Chat
8237
9278
  *
@@ -9366,6 +10407,38 @@ declare class Messages extends HeyApiClient {
9366
10407
  messageId: string;
9367
10408
  }, options?: Options<never, ThrowOnError>): RequestResult<MessagesStopResponses, MessagesStopErrors, ThrowOnError, "fields">;
9368
10409
  }
10410
+ declare class SecurityChecks extends HeyApiClient {
10411
+ /**
10412
+ * Get Security Check
10413
+ *
10414
+ * Returns a Security Check's status, v0's checked findings, and what the check cost. Poll until `status` is `completed`.
10415
+ */
10416
+ get<ThrowOnError extends boolean = false>(parameters: {
10417
+ chatId: string;
10418
+ checkId: string;
10419
+ }, options?: Options<never, ThrowOnError>): RequestResult<SecurityChecksGetResponses, SecurityChecksGetErrors, ThrowOnError, "fields">;
10420
+ /**
10421
+ * Create Security Check
10422
+ *
10423
+ * Runs a Security Check of your v0 app. To check an app that isn't in v0 yet, pass its GitHub repository or Vercel project, and v0 imports it into a new private chat. Poll GET /chats/:chatId/security-checks/:checkId for the result. Requires a user API key.
10424
+ */
10425
+ create<ThrowOnError extends boolean = false>(parameters: {
10426
+ scope: 'project' | 'changes';
10427
+ chatId?: string;
10428
+ repo?: {
10429
+ /**
10430
+ * GitHub repository URL, for example https://github.com/vercel/next.js.
10431
+ */
10432
+ url: string;
10433
+ /**
10434
+ * Branch to import. If omitted, v0 uses the repository default branch.
10435
+ */
10436
+ branch?: string;
10437
+ };
10438
+ vercelProjectId?: string;
10439
+ baseBranch?: string;
10440
+ }, options?: Options<never, ThrowOnError>): RequestResult<SecurityChecksCreateResponses, SecurityChecksCreateErrors, ThrowOnError, "fields">;
10441
+ }
9369
10442
  declare class McpServers extends HeyApiClient {
9370
10443
  /**
9371
10444
  * List MCP Servers
@@ -9613,16 +10686,18 @@ declare class Webhooks extends HeyApiClient {
9613
10686
  url?: string;
9614
10687
  }, options?: Options<never, ThrowOnError>): RequestResult<WebhooksUpdateResponses, WebhooksUpdateErrors, ThrowOnError, "fields">;
9615
10688
  }
9616
- declare class V0Sdk extends HeyApiClient {
9617
- static readonly __registry: HeyApiRegistry<V0Sdk>;
10689
+ declare class V0Sdk$1 extends HeyApiClient {
10690
+ static readonly __registry: HeyApiRegistry<V0Sdk$1>;
9618
10691
  constructor(args?: {
9619
10692
  client?: Client;
9620
10693
  key?: string;
9621
10694
  });
9622
10695
  private _chats?;
9623
- get chats(): Chats;
10696
+ get chats(): Chats$1;
9624
10697
  private _messages?;
9625
10698
  get messages(): Messages;
10699
+ private _securityChecks?;
10700
+ get securityChecks(): SecurityChecks;
9626
10701
  private _mcpServers?;
9627
10702
  get mcpServers(): McpServers;
9628
10703
  private _settings?;
@@ -9633,6 +10708,51 @@ declare class V0Sdk extends HeyApiClient {
9633
10708
  get webhooks(): Webhooks;
9634
10709
  }
9635
10710
  //#endregion
10711
+ //#region src/sdk.d.ts
10712
+ /**
10713
+ * The generated `Chats`, with artifact downloads returned as a Blob.
10714
+ * Artifacts can be HTML, Markdown, CSV or JSON, which `parseAs: 'auto'` would
10715
+ * return as text or parsed JSON instead of the Blob the response type declares.
10716
+ */
10717
+ declare class Chats extends Chats$1 {
10718
+ downloadArtifact<ThrowOnError extends boolean = false>(parameters: Parameters<Chats$1['downloadArtifact']>[0], options?: Options<never, ThrowOnError>): RequestResult<ChatsDownloadArtifactResponses, ChatsDownloadArtifactErrors, ThrowOnError, "fields">;
10719
+ }
10720
+ /** The generated `V0Sdk`, using {@link Chats}. */
10721
+ declare class V0Sdk extends V0Sdk$1 {
10722
+ private _blobChats?;
10723
+ get chats(): Chats;
10724
+ }
10725
+ //#endregion
10726
+ //#region src/generated/transformers.gen.d.ts
10727
+ declare const chatsListResponseTransformer: (data: any) => Promise<ChatsListResponse>;
10728
+ declare const chatsCreateResponseTransformer: (data: any) => Promise<ChatsCreateResponse>;
10729
+ declare const chatsCreateFromFilesResponseTransformer: (data: any) => Promise<ChatsCreateFromFilesResponse>;
10730
+ declare const chatsCreateFromZipResponseTransformer: (data: any) => Promise<ChatsCreateFromZipResponse>;
10731
+ declare const chatsCreateFromRepoResponseTransformer: (data: any) => Promise<ChatsCreateFromRepoResponse>;
10732
+ declare const chatsCreateFromTemplateResponseTransformer: (data: any) => Promise<ChatsCreateFromTemplateResponse>;
10733
+ declare const chatsCreateFromVercelProjectResponseTransformer: (data: any) => Promise<ChatsCreateFromVercelProjectResponse>;
10734
+ declare const messagesListResponseTransformer: (data: any) => Promise<MessagesListResponse>;
10735
+ declare const messagesSendResponseTransformer: (data: any) => Promise<MessagesSendResponse>;
10736
+ declare const messagesGetResponseTransformer: (data: any) => Promise<MessagesGetResponse>;
10737
+ declare const messagesResolveResponseTransformer: (data: any) => Promise<MessagesResolveResponse>;
10738
+ declare const securityChecksGetResponseTransformer: (data: any) => Promise<SecurityChecksGetResponse>;
10739
+ declare const chatsGetResponseTransformer: (data: any) => Promise<ChatsGetResponse>;
10740
+ declare const chatsUpdateResponseTransformer: (data: any) => Promise<ChatsUpdateResponse>;
10741
+ declare const chatsGetPreviewResponseTransformer: (data: any) => Promise<ChatsGetPreviewResponse>;
10742
+ declare const chatsUpdateFilesResponseTransformer: (data: any) => Promise<ChatsUpdateFilesResponse>;
10743
+ declare const chatsRestoreMessageResponseTransformer: (data: any) => Promise<ChatsRestoreMessageResponse>;
10744
+ declare const chatsDuplicateResponseTransformer: (data: any) => Promise<ChatsDuplicateResponse>;
10745
+ declare const mcpServersListResponseTransformer: (data: any) => Promise<McpServersListResponse>;
10746
+ declare const mcpServersCreateResponseTransformer: (data: any) => Promise<McpServersCreateResponse>;
10747
+ declare const mcpServersGetResponseTransformer: (data: any) => Promise<McpServersGetResponse>;
10748
+ declare const mcpServersUpdateResponseTransformer: (data: any) => Promise<McpServersUpdateResponse>;
10749
+ declare const usageGetSummaryResponseTransformer: (data: any) => Promise<UsageGetSummaryResponse>;
10750
+ declare const usageListEventsResponseTransformer: (data: any) => Promise<UsageListEventsResponse>;
10751
+ declare const usageGetActivityResponseTransformer: (data: any) => Promise<UsageGetActivityResponse>;
10752
+ declare const webhooksCreateResponseTransformer: (data: any) => Promise<WebhooksCreateResponse>;
10753
+ declare const webhooksGetResponseTransformer: (data: any) => Promise<WebhooksGetResponse>;
10754
+ declare const webhooksUpdateResponseTransformer: (data: any) => Promise<WebhooksUpdateResponse>;
10755
+ //#endregion
9636
10756
  //#region src/stream/result.d.ts
9637
10757
  type CreateStreamEvent = ChatsCreateStreamResponses[200];
9638
10758
  type ResumeStreamEvent = ChatsResumeResponses[200];
@@ -9749,6 +10869,14 @@ type DesignModeBridge = {
9749
10869
  dispose: () => void;
9750
10870
  };
9751
10871
  //#endregion
10872
+ //#region src/design-mode/bridge.d.ts
10873
+ /**
10874
+ * Connect a customer-owned parent page to the Design Mode runtime already
10875
+ * injected into a v0 preview. No API key, API calls, or React dependency.
10876
+ * Install once per iframe; dispose before unmounting or changing its origin.
10877
+ */
10878
+ declare function createDesignModeBridge(options: DesignModeBridgeOptions): DesignModeBridge;
10879
+ //#endregion
9752
10880
  //#region src/design-mode/payload.d.ts
9753
10881
  /** Validate and copy public Design Mode input on your backend, stripping unrelated fields. */
9754
10882
  declare function parseDesignModeMessage(value: unknown): DesignModeMessage;
@@ -9759,5 +10887,5 @@ declare function parseDesignModeMessage(value: unknown): DesignModeMessage;
9759
10887
  */
9760
10888
  declare function toDesignModeMessage(payload: unknown): DesignModeMessage;
9761
10889
  //#endregion
9762
- export { ChatsCreateFromVercelProjectError as $, WebhooksDeleteErrors as $i, McpServersGetResponses as $n, MessagesStopData as $r, ChatsGetFilesError as $t, AsyncMessage as A, UsageGetActivityErrors as Ai, ChatsUpdateFilesErrors as An, MessagesResolveErrors as Ar, ChatsDeployData as At, ChatsCreateError as B, UsageListEventsErrors as Bi, McpServersCreateError as Bn, MessagesSendAsyncErrors as Br, ChatsDuplicateError as Bt, Messages as C, createConfig as Ca, SettingsSetPreviewHostsResponses as Ci, ChatsResumeResponse as Cn, MessagesResolveAsyncData as Cr, ChatsCreateVercelProjectResponse as Ct, ApiKey as D, UsageEventList as Di, ChatsUpdateErrors as Dn, MessagesResolveAsyncResponses as Dr, ChatsDeleteErrors as Dt, Webhooks as E, AuthToken as Ea, UsageActivity as Ei, ChatsUpdateError as En, MessagesResolveAsyncResponse as Er, ChatsDeleteError as Et, ChatsCreateAsyncError as F, UsageGetSummaryErrors as Fi, ClientOptions as Fn, MessagesResolveStreamErrors as Fr, ChatsDownloadFilesData as Ft, ChatsCreateFromFilesResponse as G, WebhookEventType as Gi, McpServersDeleteError as Gn, MessagesSendErrors as Gr, ChatsGetConnectStatusError as Gt, ChatsCreateFromFilesData as H, UsageListEventsResponses as Hi, McpServersCreateResponse as Hn, MessagesSendAsyncResponses as Hr, ChatsDuplicateResponse as Ht, ChatsCreateAsyncErrors as I, UsageGetSummaryResponse as Ii, Error$1 as In, MessagesResolveStreamResponse as Ir, ChatsDownloadFilesError as It, ChatsCreateFromRepoError as J, WebhooksCreateErrors as Ji, McpServersDeleteResponses as Jn, MessagesSendStreamData as Jr, ChatsGetConnectStatusResponses as Jt, ChatsCreateFromFilesResponses as K, WebhooksCreateData as Ki, McpServersDeleteErrors as Kn, MessagesSendResponse as Kr, ChatsGetConnectStatusErrors as Kt, ChatsCreateAsyncResponse as L, UsageGetSummaryResponses as Li, Files as Ln, MessagesResolveStreamResponses as Lr, ChatsDownloadFilesErrors as Lt, ChatStreamEvent as M, UsageGetActivityResponses as Mi, ChatsUpdateFilesResponses as Mn, MessagesResolveResponses as Mr, ChatsDeployErrors as Mt, ChatWithUsage as N, UsageGetSummaryData as Ni, ChatsUpdateResponse as Nn, MessagesResolveStreamData as Nr, ChatsDeployResponse as Nt, ApiKeyWithSecret as O, UsageGetActivityData as Oi, ChatsUpdateFilesData as On, MessagesResolveData as Or, ChatsDeleteResponse as Ot, ChatsCreateAsyncData as P, UsageGetSummaryError as Pi, ChatsUpdateResponses as Pn, MessagesResolveStreamError as Pr, ChatsDeployResponses as Pt, ChatsCreateFromVercelProjectData as Q, WebhooksDeleteError as Qi, McpServersGetResponse as Qn, MessagesSendStreamResponses as Qr, ChatsGetFilesData as Qt, ChatsCreateAsyncResponses as R, UsageListEventsData as Ri, McpServer as Rn, MessagesSendAsyncData as Rr, ChatsDownloadFilesResponses as Rt, McpServers as S, ResolvedRequestOptions as Sa, SettingsSetPreviewHostsResponse as Si, ChatsResumeErrors as Sn, MessagesListResponses as Sr, ChatsCreateVercelProjectErrors as St, V0Sdk as T, Auth as Ta, TrustedPreviewHosts as Ti, ChatsUpdateData as Tn, MessagesResolveAsyncErrors as Tr, ChatsDeleteData as Tt, ChatsCreateFromFilesError as U, UsageSummary as Ui, McpServersCreateResponses as Un, MessagesSendData as Ur, ChatsDuplicateResponses as Ut, ChatsCreateErrors as V, UsageListEventsResponse as Vi, McpServersCreateErrors as Vn, MessagesSendAsyncResponse as Vr, ChatsDuplicateErrors as Vt, ChatsCreateFromFilesErrors as W, Webhook as Wi, McpServersDeleteData as Wn, MessagesSendError as Wr, ChatsGetConnectStatusData as Wt, ChatsCreateFromRepoResponse as X, WebhooksCreateResponses as Xi, McpServersGetError as Xn, MessagesSendStreamErrors as Xr, ChatsGetError as Xt, ChatsCreateFromRepoErrors as Y, WebhooksCreateResponse as Yi, McpServersGetData as Yn, MessagesSendStreamError as Yr, ChatsGetData as Yt, ChatsCreateFromRepoResponses as Z, WebhooksDeleteData as Zi, McpServersGetErrors as Zn, MessagesSendStreamResponse as Zr, ChatsGetErrors as Zt, V0StreamParts as _, createClient as _a, SettingsGetPreviewHostsResponse as _i, ChatsRestoreMessageErrors as _n, MessagesGetResponses as _r, ChatsCreateStreamErrors as _t, DesignModeEdit as a, WebhooksGetResponse as aa, SettingsAppendPreviewHostsError as ai, ChatsGetPreviewErrors as an, McpServersUpdateData as ar, ChatsCreateFromVercelProjectWithMessageAsyncErrors as at, readV0Stream as b, Config as ba, SettingsSetPreviewHostsError as bi, ChatsResumeData as bn, MessagesListErrors as br, ChatsCreateVercelProjectData as bt, DesignModeLayer as c, WebhooksListError as ca, SettingsAppendPreviewHostsResponses as ci, ChatsGetResponse as cn, McpServersUpdateResponse as cr, ChatsCreateFromZipData as ct, DesignModeRuntimePayload as d, WebhooksListResponses as da, SettingsDeletePreviewHostsErrors as di, ChatsListError as dn, MessageListResponse as dr, ChatsCreateFromZipResponse as dt, WebhooksDeleteResponse as ea, MessagesStopError as ei, ChatsGetFilesErrors as en, McpServersListData as er, ChatsCreateFromVercelProjectErrors as et, DesignModeSelection as f, WebhooksUpdateData as fa, SettingsDeletePreviewHostsResponse as fi, ChatsListErrors as fn, MessageStreamEvent as fr, ChatsCreateFromZipResponses as ft, V0StreamFinal as g, WebhooksUpdateResponses as ga, SettingsGetPreviewHostsErrors as gi, ChatsRestoreMessageError as gn, MessagesGetResponse as gr, ChatsCreateStreamError as gt, V0StreamEvent as h, WebhooksUpdateResponse as ha, SettingsGetPreviewHostsError as hi, ChatsRestoreMessageData as hn, MessagesGetErrors as hr, ChatsCreateStreamData as ht, DesignModeBridgeOptions as i, WebhooksGetErrors as ia, SettingsAppendPreviewHostsData as ii, ChatsGetPreviewError as in, McpServersListResponses as ir, ChatsCreateFromVercelProjectWithMessageAsyncError as it, Chat as j, UsageGetActivityResponse as ji, ChatsUpdateFilesResponse as jn, MessagesResolveResponse as jr, ChatsDeployError as jt, AsyncChat as k, UsageGetActivityError as ki, ChatsUpdateFilesError as kn, MessagesResolveError as kr, ChatsDeleteResponses as kt, DesignModeLogo as l, WebhooksListErrors as la, SettingsDeletePreviewHostsData as li, ChatsGetResponses as ln, McpServersUpdateResponses as lr, ChatsCreateFromZipError as lt, V0StreamError as m, WebhooksUpdateErrors as ma, SettingsGetPreviewHostsData as mi, ChatsListResponses as mn, MessagesGetError as mr, ChatsCreateResponses as mt, toDesignModeMessage as n, WebhooksGetData as na, MessagesStopResponse as ni, ChatsGetFilesResponses as nn, McpServersListErrors as nr, ChatsCreateFromVercelProjectResponses as nt, DesignModeElement as o, WebhooksGetResponses as oa, SettingsAppendPreviewHostsErrors as oi, ChatsGetPreviewResponse as on, McpServersUpdateError as or, ChatsCreateFromVercelProjectWithMessageAsyncResponse as ot, DesignModeState as p, WebhooksUpdateError as pa, SettingsDeletePreviewHostsResponses as pi, ChatsListResponse as pn, MessagesGetData as pr, ChatsCreateResponse as pt, ChatsCreateFromRepoData as q, WebhooksCreateError as qi, McpServersDeleteResponse as qn, MessagesSendResponses as qr, ChatsGetConnectStatusResponse as qt, DesignModeBridge as r, WebhooksGetError as ra, MessagesStopResponses as ri, ChatsGetPreviewData as rn, McpServersListResponse as rr, ChatsCreateFromVercelProjectWithMessageAsyncData as rt, DesignModeInput as s, WebhooksListData as sa, SettingsAppendPreviewHostsResponse as si, ChatsGetPreviewResponses as sn, McpServersUpdateErrors as sr, ChatsCreateFromVercelProjectWithMessageAsyncResponses as st, parseDesignModeMessage as t, WebhooksDeleteResponses as ta, MessagesStopErrors as ti, ChatsGetFilesResponse as tn, McpServersListError as tr, ChatsCreateFromVercelProjectResponse as tt, DesignModeMessage as u, WebhooksListResponse as ua, SettingsDeletePreviewHostsError as ui, ChatsListData as un, Message as ur, ChatsCreateFromZipErrors as ut, V0StreamResult as v, Client as va, SettingsGetPreviewHostsResponses as vi, ChatsRestoreMessageResponse as vn, MessagesListData as vr, ChatsCreateStreamResponse as vt, Options as w, mergeHeaders as wa, SpendLimit as wi, ChatsResumeResponses as wn, MessagesResolveAsyncError as wr, ChatsCreateVercelProjectResponses as wt, Chats as x, RequestOptions as xa, SettingsSetPreviewHostsErrors as xi, ChatsResumeError as xn, MessagesListResponse as xr, ChatsCreateVercelProjectError as xt, V0StreamUpdate as y, ClientOptions$1 as ya, SettingsSetPreviewHostsData as yi, ChatsRestoreMessageResponses as yn, MessagesListError as yr, ChatsCreateStreamResponses as yt, ChatsCreateData as z, UsageListEventsError as zi, McpServersCreateData as zn, MessagesSendAsyncError as zr, ChatsDuplicateData as zt };
9763
- //# sourceMappingURL=payload-DJ9aG2bA.d.mts.map
10890
+ export { Messages as $, WebhooksGetErrors as $a, SettingsAppendPreviewHostsData as $i, ChatsListResponses as $n, MessagesGetError as $r, ChatsCreateStreamResponses as $t, chatsGetResponseTransformer as A, UsageGetSummaryErrors as Aa, MessagesSendErrors as Ai, ChatsGetConnectStatusError as An, McpServersDeleteError as Ar, ChatsCreateFromTemplateResponse as At, messagesListResponseTransformer as B, WebhookEventType as Ba, MessagesStopErrors as Bi, ChatsGetFilesResponse as Bn, McpServersListError as Br, ChatsCreateFromVercelProjectWithMessageAsyncResponse as Bt, chatsCreateFromRepoResponseTransformer as C, UsageGetActivityData as Ca, MessagesSendAsyncData as Ci, ChatsDownloadFilesResponses as Cn, McpServer as Cr, ChatsCreateFromRepoError as Ct, chatsCreateResponseTransformer as D, UsageGetActivityResponses as Da, MessagesSendAsyncResponses as Di, ChatsDuplicateResponse as Dn, McpServersCreateResponse as Dr, ChatsCreateFromTemplateData as Dt, chatsCreateFromZipResponseTransformer as E, UsageGetActivityResponse as Ea, MessagesSendAsyncResponse as Ei, ChatsDuplicateErrors as En, McpServersCreateErrors as Er, ChatsCreateFromRepoResponses as Et, mcpServersCreateResponseTransformer as F, UsageListEventsErrors as Fa, MessagesSendStreamErrors as Fi, ChatsGetError as Fn, McpServersGetError as Fr, ChatsCreateFromVercelProjectResponse as Ft, usageGetSummaryResponseTransformer as G, WebhooksCreateResponses as Ga, SecurityChecksCreateErrors as Gi, ChatsGetPreviewResponse as Gn, McpServersUpdateError as Gr, ChatsCreateFromZipResponse as Gt, messagesSendResponseTransformer as H, WebhooksCreateError as Ha, MessagesStopResponses as Hi, ChatsGetPreviewData as Hn, McpServersListResponse as Hr, ChatsCreateFromZipData as Ht, mcpServersGetResponseTransformer as I, UsageListEventsResponse as Ia, MessagesSendStreamResponse as Ii, ChatsGetErrors as In, McpServersGetErrors as Ir, ChatsCreateFromVercelProjectResponses as It, webhooksGetResponseTransformer as J, WebhooksDeleteErrors as Ja, SecurityChecksGetData as Ji, ChatsGetResponses as Jn, McpServersUpdateResponses as Jr, ChatsCreateResponses as Jt, usageListEventsResponseTransformer as K, WebhooksDeleteData as Ka, SecurityChecksCreateResponse as Ki, ChatsGetPreviewResponses as Kn, McpServersUpdateErrors as Kr, ChatsCreateFromZipResponses as Kt, mcpServersListResponseTransformer as L, UsageListEventsResponses as La, MessagesSendStreamResponses as Li, ChatsGetFilesData as Ln, McpServersGetResponse as Lr, ChatsCreateFromVercelProjectWithMessageAsyncData as Lt, chatsRestoreMessageResponseTransformer as M, UsageGetSummaryResponses as Ma, MessagesSendResponses as Mi, ChatsGetConnectStatusResponse as Mn, McpServersDeleteResponse as Mr, ChatsCreateFromVercelProjectData as Mt, chatsUpdateFilesResponseTransformer as N, UsageListEventsData as Na, MessagesSendStreamData as Ni, ChatsGetConnectStatusResponses as Nn, McpServersDeleteResponses as Nr, ChatsCreateFromVercelProjectError as Nt, chatsDuplicateResponseTransformer as O, UsageGetSummaryData as Oa, MessagesSendData as Oi, ChatsDuplicateResponses as On, McpServersCreateResponses as Or, ChatsCreateFromTemplateError as Ot, chatsUpdateResponseTransformer as P, UsageListEventsError as Pa, MessagesSendStreamError as Pi, ChatsGetData as Pn, McpServersGetData as Pr, ChatsCreateFromVercelProjectErrors as Pt, McpServers as Q, WebhooksGetError as Qa, SecurityChecksGetResponses as Qi, ChatsListResponse as Qn, MessagesGetData as Qr, ChatsCreateStreamResponse as Qt, mcpServersUpdateResponseTransformer as R, UsageSummary as Ra, MessagesStopData as Ri, ChatsGetFilesError as Rn, McpServersGetResponses as Rr, ChatsCreateFromVercelProjectWithMessageAsyncError as Rt, chatsCreateFromFilesResponseTransformer as S, UsageEventList as Sa, MessagesResolveStreamResponses as Si, ChatsDownloadFilesErrors as Sn, Files as Sr, ChatsCreateFromRepoData as St, chatsCreateFromVercelProjectResponseTransformer as T, UsageGetActivityErrors as Ta, MessagesSendAsyncErrors as Ti, ChatsDuplicateError as Tn, McpServersCreateError as Tr, ChatsCreateFromRepoResponse as Tt, securityChecksGetResponseTransformer as U, WebhooksCreateErrors as Ua, SecurityChecksCreateData as Ui, ChatsGetPreviewError as Un, McpServersListResponses as Ur, ChatsCreateFromZipError as Ut, messagesResolveResponseTransformer as V, WebhooksCreateData as Va, MessagesStopResponse as Vi, ChatsGetFilesResponses as Vn, McpServersListErrors as Vr, ChatsCreateFromVercelProjectWithMessageAsyncResponses as Vt, usageGetActivityResponseTransformer as W, WebhooksCreateResponse as Wa, SecurityChecksCreateError as Wi, ChatsGetPreviewErrors as Wn, McpServersUpdateData as Wr, ChatsCreateFromZipErrors as Wt, Chats as X, WebhooksDeleteResponses as Xa, SecurityChecksGetErrors as Xi, ChatsListError as Xn, MessageListResponse as Xr, ChatsCreateStreamError as Xt, webhooksUpdateResponseTransformer as Y, WebhooksDeleteResponse as Ya, SecurityChecksGetError as Yi, ChatsListData as Yn, Message as Yr, ChatsCreateStreamData as Yt, V0Sdk as Z, WebhooksGetData as Za, SecurityChecksGetResponse as Zi, ChatsListErrors as Zn, MessageStreamEvent as Zr, ChatsCreateStreamErrors as Zt, V0StreamFinal as _, SettingsSetPreviewHostsResponse as _a, MessagesResolveResponses as _i, ChatsDownloadArtifactErrors as _n, ResolvedRequestOptions as _o, ChatsUpdateFilesResponses as _r, ChatsCreateFromFilesData as _t, DesignModeBridgeOptions as a, SettingsDeletePreviewHostsError as aa, MessagesListErrors as ai, ChatsDeleteData as an, WebhooksListResponse as ao, ChatsResumeData as ar, AsyncMessage as at, V0StreamUpdate as b, TrustedPreviewHosts as ba, MessagesResolveStreamErrors as bi, ChatsDownloadFilesData as bn, Auth as bo, ClientOptions as br, ChatsCreateFromFilesResponse as bt, DesignModeInput as c, SettingsDeletePreviewHostsResponses as ca, MessagesResolveAsyncData as ci, ChatsDeleteResponse as cn, WebhooksUpdateError as co, ChatsResumeResponse as cr, ChatWithUsage as ct, DesignModeMessage as d, SettingsGetPreviewHostsErrors as da, MessagesResolveAsyncResponse as di, ChatsDeployError as dn, WebhooksUpdateResponses as do, ChatsUpdateError as dr, ChatsCreateAsyncErrors as dt, SettingsAppendPreviewHostsError as ea, MessagesGetErrors as ei, ChatsCreateVercelProjectData as en, WebhooksGetResponse as eo, ChatsRestoreMessageData as er, Options as et, DesignModeRuntimePayload as f, SettingsGetPreviewHostsResponse as fa, MessagesResolveAsyncResponses as fi, ChatsDeployErrors as fn, createClient as fo, ChatsUpdateErrors as fr, ChatsCreateAsyncResponse as ft, V0StreamEvent as g, SettingsSetPreviewHostsErrors as ga, MessagesResolveResponse as gi, ChatsDownloadArtifactError as gn, RequestOptions as go, ChatsUpdateFilesResponse as gr, ChatsCreateErrors as gt, V0StreamError as h, SettingsSetPreviewHostsError as ha, MessagesResolveErrors as hi, ChatsDownloadArtifactData as hn, Config as ho, ChatsUpdateFilesErrors as hr, ChatsCreateError as ht, DesignModeBridge as i, SettingsDeletePreviewHostsData as ia, MessagesListError as ii, ChatsCreateVercelProjectResponses as in, WebhooksListErrors as io, ChatsRestoreMessageResponses as ir, AsyncChat as it, chatsListResponseTransformer as j, UsageGetSummaryResponse as ja, MessagesSendResponse as ji, ChatsGetConnectStatusErrors as jn, McpServersDeleteErrors as jr, ChatsCreateFromTemplateResponses as jt, chatsGetPreviewResponseTransformer as k, UsageGetSummaryError as ka, MessagesSendError as ki, ChatsGetConnectStatusData as kn, McpServersDeleteData as kr, ChatsCreateFromTemplateErrors as kt, DesignModeLayer as l, SettingsGetPreviewHostsData as la, MessagesResolveAsyncError as li, ChatsDeleteResponses as ln, WebhooksUpdateErrors as lo, ChatsResumeResponses as lr, ChatsCreateAsyncData as lt, DesignModeState as m, SettingsSetPreviewHostsData as ma, MessagesResolveError as mi, ChatsDeployResponses as mn, ClientOptions$1 as mo, ChatsUpdateFilesError as mr, ChatsCreateData as mt, toDesignModeMessage as n, SettingsAppendPreviewHostsResponse as na, MessagesGetResponses as ni, ChatsCreateVercelProjectErrors as nn, WebhooksListData as no, ChatsRestoreMessageErrors as nr, ApiKey as nt, DesignModeEdit as o, SettingsDeletePreviewHostsErrors as oa, MessagesListResponse as oi, ChatsDeleteError as on, WebhooksListResponses as oo, ChatsResumeError as or, Chat as ot, DesignModeSelection as p, SettingsGetPreviewHostsResponses as pa, MessagesResolveData as pi, ChatsDeployResponse as pn, Client as po, ChatsUpdateFilesData as pr, ChatsCreateAsyncResponses as pt, webhooksCreateResponseTransformer as q, WebhooksDeleteError as qa, SecurityChecksCreateResponses as qi, ChatsGetResponse as qn, McpServersUpdateResponse as qr, ChatsCreateResponse as qt, createDesignModeBridge as r, SettingsAppendPreviewHostsResponses as ra, MessagesListData as ri, ChatsCreateVercelProjectResponse as rn, WebhooksListError as ro, ChatsRestoreMessageResponse as rr, ApiKeyWithSecret as rt, DesignModeElement as s, SettingsDeletePreviewHostsResponse as sa, MessagesListResponses as si, ChatsDeleteErrors as sn, WebhooksUpdateData as so, ChatsResumeErrors as sr, ChatStreamEvent as st, parseDesignModeMessage as t, SettingsAppendPreviewHostsErrors as ta, MessagesGetResponse as ti, ChatsCreateVercelProjectError as tn, WebhooksGetResponses as to, ChatsRestoreMessageError as tr, Webhooks as tt, DesignModeLogo as u, SettingsGetPreviewHostsError as ua, MessagesResolveAsyncErrors as ui, ChatsDeployData as un, WebhooksUpdateResponse as uo, ChatsUpdateData as ur, ChatsCreateAsyncError as ut, V0StreamParts as v, SettingsSetPreviewHostsResponses as va, MessagesResolveStreamData as vi, ChatsDownloadArtifactResponse as vn, createConfig as vo, ChatsUpdateResponse as vr, ChatsCreateFromFilesError as vt, chatsCreateFromTemplateResponseTransformer as w, UsageGetActivityError as wa, MessagesSendAsyncError as wi, ChatsDuplicateData as wn, McpServersCreateData as wr, ChatsCreateFromRepoErrors as wt, readV0Stream as x, UsageActivity as xa, MessagesResolveStreamResponse as xi, ChatsDownloadFilesError as xn, AuthToken as xo, Error$1 as xr, ChatsCreateFromFilesResponses as xt, V0StreamResult as y, SpendLimit as ya, MessagesResolveStreamError as yi, ChatsDownloadArtifactResponses as yn, mergeHeaders as yo, ChatsUpdateResponses as yr, ChatsCreateFromFilesErrors as yt, messagesGetResponseTransformer as z, Webhook as za, MessagesStopError as zi, ChatsGetFilesErrors as zn, McpServersListData as zr, ChatsCreateFromVercelProjectWithMessageAsyncErrors as zt };
10891
+ //# sourceMappingURL=browser-CHMQRYQu.d.mts.map