@webskill/chatbot 0.8.0 → 0.9.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/chatbot.css CHANGED
@@ -21,7 +21,6 @@
21
21
  --text-lg--line-height: calc(1.75 / 1.125);
22
22
  --text-2xl: 1.5rem;
23
23
  --text-2xl--line-height: calc(2 / 1.5);
24
- --font-weight-normal: 400;
25
24
  --font-weight-medium: 500;
26
25
  --font-weight-semibold: 600;
27
26
  --tracking-normal: 0em;
@@ -587,9 +586,6 @@
587
586
  .w-48 {
588
587
  width: calc(var(--spacing) * 48);
589
588
  }
590
- .w-72 {
591
- width: calc(var(--spacing) * 72);
592
- }
593
589
  .w-80 {
594
590
  width: calc(var(--spacing) * 80);
595
591
  }
@@ -617,9 +613,6 @@
617
613
  .max-w-2xl {
618
614
  max-width: var(--container-2xl);
619
615
  }
620
- .max-w-48 {
621
- max-width: calc(var(--spacing) * 48);
622
- }
623
616
  .max-w-72 {
624
617
  max-width: calc(var(--spacing) * 72);
625
618
  }
@@ -910,10 +903,6 @@
910
903
  border-right-style: var(--tw-border-style);
911
904
  border-right-width: 1px;
912
905
  }
913
- .border-r-0 {
914
- border-right-style: var(--tw-border-style);
915
- border-right-width: 0px;
916
- }
917
906
  .border-b {
918
907
  border-bottom-style: var(--tw-border-style);
919
908
  border-bottom-width: 1px;
@@ -1256,10 +1245,6 @@
1256
1245
  --tw-font-weight: var(--font-weight-medium);
1257
1246
  font-weight: var(--font-weight-medium);
1258
1247
  }
1259
- .font-normal {
1260
- --tw-font-weight: var(--font-weight-normal);
1261
- font-weight: var(--font-weight-normal);
1262
- }
1263
1248
  .font-semibold {
1264
1249
  --tw-font-weight: var(--font-weight-semibold);
1265
1250
  font-weight: var(--font-weight-semibold);
@@ -1296,9 +1281,6 @@
1296
1281
  .text-destructive-foreground {
1297
1282
  color: var(--destructive-foreground);
1298
1283
  }
1299
- .text-foreground {
1300
- color: var(--foreground);
1301
- }
1302
1284
  .text-info {
1303
1285
  color: var(--info);
1304
1286
  }
@@ -1646,9 +1628,6 @@
1646
1628
  .hover\:bg-surface:hover {
1647
1629
  background-color: var(--card);
1648
1630
  }
1649
- .hover\:text-foreground:hover {
1650
- color: var(--foreground);
1651
- }
1652
1631
  .hover\:text-ink:hover {
1653
1632
  color: var(--foreground);
1654
1633
  }
@@ -1896,9 +1875,6 @@
1896
1875
  .sm\:justify-end {
1897
1876
  justify-content: flex-end;
1898
1877
  }
1899
- .sm\:gap-2\.5 {
1900
- gap: calc(var(--spacing) * 2.5);
1901
- }
1902
1878
  .sm\:gap-4 {
1903
1879
  gap: calc(var(--spacing) * 4);
1904
1880
  }
@@ -1907,9 +1883,6 @@
1907
1883
  }
1908
1884
  }
1909
1885
  @media (width >= 48rem) {
1910
- .md\:block {
1911
- display: block;
1912
- }
1913
1886
  .md\:opacity-0 {
1914
1887
  opacity: 0%;
1915
1888
  }
@@ -1925,9 +1898,6 @@
1925
1898
  .lg\:flex {
1926
1899
  display: flex;
1927
1900
  }
1928
- .lg\:hidden {
1929
- display: none;
1930
- }
1931
1901
  .lg\:grid-cols-\[minmax\(0\,1fr\)_0\.625rem_minmax\(18rem\,var\(--webskill-secondary-size\)\)\] {
1932
1902
  grid-template-columns: minmax(0,1fr) 0.625rem minmax(18rem,var(--webskill-secondary-size));
1933
1903
  }
@@ -2412,6 +2382,20 @@
2412
2382
  }
2413
2383
  }
2414
2384
  }
2385
+ [data-slot='sidebar'][data-narrow='true'][data-state='collapsed'] [data-slot='sidebar-container'] {
2386
+ width: 0;
2387
+ border-inline-width: 0;
2388
+ }
2389
+ [data-slot='sidebar'][data-state='collapsed'][data-collapsible='offcanvas'] [data-slot='sidebar-inner'], [data-slot='sidebar'][data-state='collapsed'][data-narrow='true'] [data-slot='sidebar-inner'] {
2390
+ visibility: hidden;
2391
+ }
2392
+ [data-slot='sidebar'][data-variant='floating'][data-state='collapsed'] [data-slot='sidebar-container'] {
2393
+ padding: 0;
2394
+ }
2395
+ [data-slot='sidebar'][data-narrow='false'] {
2396
+ height: auto;
2397
+ align-self: stretch;
2398
+ }
2415
2399
  .webskill-surface-list {
2416
2400
  display: flex;
2417
2401
  flex-direction: column;
@@ -2480,21 +2464,6 @@
2480
2464
  .webskill-surface--table {
2481
2465
  overflow: hidden;
2482
2466
  }
2483
- .webskill-surface__table-tools {
2484
- display: flex;
2485
- flex-wrap: wrap;
2486
- gap: 0.5rem;
2487
- padding: 0.75rem;
2488
- }
2489
- .webskill-surface__table-tools input[type='search'] {
2490
- min-width: min(100%, 14rem);
2491
- flex: 1;
2492
- border: 1px solid var(--color-input);
2493
- border-radius: 0.5rem;
2494
- background: var(--color-background);
2495
- padding: 0.5rem 0.75rem;
2496
- color: var(--color-foreground);
2497
- }
2498
2467
  .webskill-surface__table-scroll {
2499
2468
  max-height: 22.5rem;
2500
2469
  overflow: auto;
@@ -2644,6 +2613,33 @@
2644
2613
  --webskill-chat-prose-max: 100%;
2645
2614
  --webskill-chat-surface-max: 100%;
2646
2615
  }
2616
+ .webskill-aui-session-list {
2617
+ width: 18rem;
2618
+ padding: 0.5rem;
2619
+ align-self: stretch;
2620
+ transition: width 200ms linear;
2621
+ }
2622
+ .webskill-aui-session-panel {
2623
+ width: 17rem;
2624
+ flex: 1 1 auto;
2625
+ min-height: 0;
2626
+ }
2627
+ .webskill-aui-shell[data-session-list='collapsed'] .webskill-aui-session-list {
2628
+ width: 0;
2629
+ padding: 0;
2630
+ visibility: hidden;
2631
+ transition: width 200ms linear, padding 200ms linear, visibility 0s linear 200ms;
2632
+ }
2633
+ .webskill-aui-shell[data-session-list='inline'] .webskill-aui-sessions-button {
2634
+ display: none;
2635
+ }
2636
+ .webskill-aui-shell[data-session-narrow='true'] .webskill-aui-session-list {
2637
+ position: absolute;
2638
+ inset-block: 0;
2639
+ inset-inline-start: 0;
2640
+ z-index: var(--webskill-z-raised);
2641
+ max-width: 100%;
2642
+ }
2647
2643
  .webskill-chat-prose {
2648
2644
  max-width: var(--webskill-chat-prose-max);
2649
2645
  }
package/dist/index.d.ts CHANGED
@@ -448,6 +448,23 @@ interface ChatTokenUsage {
448
448
  /** 本 run 向大模型发送请求的次数(模型调用轮数) */
449
449
  llmCalls: number;
450
450
  }
451
+ /**
452
+ * 助手消息的有序内容段(分册 17 FR-17.1):文字与 surface / 结果块按生成顺序排列。
453
+ * 冗余记账——删掉本字段消息内容不缺失,只退化成「正文在上、扩展在下」(FR-17.11)。
454
+ * @experimental
455
+ */
456
+ type ChatContentPart = {
457
+ type: 'text';
458
+ text: string;
459
+ at: number;
460
+ } | {
461
+ type: 'surface';
462
+ surfaceId: string;
463
+ at: number;
464
+ } | {
465
+ type: 'blocks';
466
+ at: number;
467
+ };
451
468
  /** @stable */
452
469
  interface ChatMessage {
453
470
  id: string;
@@ -522,6 +539,11 @@ interface ChatMessage {
522
539
  * @experimental
523
540
  */
524
541
  candidates?: SkillCandidateMarker[];
542
+ /**
543
+ * 文字与 surface / blocks 的生成顺序(分册 17)。缺省时按 0.11.0 的两段式渲染。
544
+ * @experimental
545
+ */
546
+ contentParts?: ChatContentPart[];
525
547
  }
526
548
  /** @stable */
527
549
  interface ChatSessionMeta {
@@ -564,6 +586,21 @@ type ChatEvent = {
564
586
  } | {
565
587
  type: 'message-complete';
566
588
  message: ChatMessage;
589
+ } |
590
+ /**
591
+ * surface 上屏(分册 17 FR-17.3):载荷只有引用,spec 本体照旧走 `bridge.surfaceSnapshots`。
592
+ * 事件只承担「顺序」这一件事。
593
+ * @experimental
594
+ */
595
+ {
596
+ type: 'surface-opened';
597
+ runId: string;
598
+ surfaceId: string;
599
+ } |
600
+ /** 结果块整批上屏(分册 17 FR-17.3) @experimental */
601
+ {
602
+ type: 'blocks-rendered';
603
+ runId: string;
567
604
  } | {
568
605
  type: 'skill-activated';
569
606
  runId: string;
@@ -640,6 +677,23 @@ type ChatEvent = {
640
677
  message: string;
641
678
  code?: string;
642
679
  };
680
+ /**
681
+ * 快捷指令可选图标名(0.12.0 分册 21)。
682
+ * 用受控枚举而不是让宿主传组件:SDK 的图标集不进公开契约,
683
+ * 换实现(lucide → 别的)时宿主代码不用动。
684
+ * @experimental
685
+ */
686
+ type QuickPromptIconName = 'chart' | 'document' | 'report' | 'search' | 'list' | 'bug' | 'test' | 'metric' | 'compare' | 'page' | 'run' | 'warn' | 'sparkles' | 'settings';
687
+ /**
688
+ * 带图标的快捷指令(0.12.0 分册 21)。
689
+ * @experimental
690
+ */
691
+ interface QuickPrompt {
692
+ /** 点击后发出的文本,同时作为按钮可见文案 */
693
+ text: string;
694
+ /** 缺省或取值不在枚举内时按无图标渲染 */
695
+ icon?: QuickPromptIconName;
696
+ }
643
697
  /** @stable */
644
698
  interface ChatbotConfig {
645
699
  /** header 标题,默认 'WebSkill Chat' */
@@ -657,8 +711,8 @@ interface ChatbotConfig {
657
711
  * renderResult/sandbox/llm 映射;与 console Configure Tab 共用同一 store(宿主接线)
658
712
  */
659
713
  runtimeConfig?: RuntimeConfigStore;
660
- /** WelcomeScreen 快捷 prompt 覆盖(缺省用内置双语示例) */
661
- quickPrompts?: string[];
714
+ /** WelcomeScreen 快捷 prompt 覆盖(缺省用内置双语示例);给字符串即无图标 */
715
+ quickPrompts?: readonly (string | QuickPrompt)[];
662
716
  /**
663
717
  * 开启后模型多一个 `render_ui` 工具,可面向 AI Component Catalog 直接生成声明式 UI。
664
718
  * 默认关:工具描述 + 入参 schema 约 34 KB,会计入每一次请求。
@@ -1023,6 +1077,12 @@ interface CompositeUiBridgeDeps {
1023
1077
  * @experimental
1024
1078
  */
1025
1079
  onSkillCandidate?(runId: string, candidate: SkillCandidateMarker): void;
1080
+ /**
1081
+ * surface 首次上屏(分册 17 FR-17.3)。只传引用,spec 本体照旧走 surfaceStore;
1082
+ * 引擎拿它在账本里记一个顺序位。
1083
+ * @experimental
1084
+ */
1085
+ onSurfaceOpened?(runId: string, surfaceId: string): void;
1026
1086
  emit(event: ChatEvent): void;
1027
1087
  }
1028
1088
  /**
@@ -1068,11 +1128,13 @@ declare const chatbotDictionary: {
1068
1128
  'header.theme.dark': string;
1069
1129
  'header.language': string;
1070
1130
  'session.title': string;
1131
+ 'session.historyTitle': string;
1132
+ 'session.collapse': string;
1133
+ 'session.expand': string;
1071
1134
  'session.new': string;
1072
1135
  'session.searchPlaceholder': string;
1073
1136
  'session.searchClear': string;
1074
1137
  'session.empty': string;
1075
- 'session.missingRoot': string;
1076
1138
  'session.skipped': string;
1077
1139
  'session.delete': string;
1078
1140
  'session.actions': string;
@@ -1198,6 +1260,15 @@ declare const chatbotDictionary: {
1198
1260
  'interaction.pageAction.role.click': string;
1199
1261
  'interaction.pageAction.role.fill': string;
1200
1262
  'interaction.pageAction.role.submit': string;
1263
+ 'interaction.pageAction.frame': string;
1264
+ 'interaction.pageAction.elevated': string;
1265
+ 'interaction.traceEvidence.title': string;
1266
+ 'interaction.traceEvidence.columnDraft': string;
1267
+ 'interaction.traceEvidence.columnTrace': string;
1268
+ 'interaction.traceEvidence.trace': string;
1269
+ 'interaction.traceEvidence.model': string;
1270
+ 'interaction.traceEvidence.noArgs': string;
1271
+ 'interaction.traceEvidence.redacted': string;
1201
1272
  'interaction.origin': string;
1202
1273
  'interaction.submitted': string;
1203
1274
  'interaction.submit': string;
@@ -1212,6 +1283,11 @@ declare const chatbotDictionary: {
1212
1283
  'surface.readOnlySnapshot': string;
1213
1284
  'surface.suggested': string;
1214
1285
  'surface.useSuggestion': string;
1286
+ 'surface.control.previousPage': string;
1287
+ 'surface.control.previous': string;
1288
+ 'surface.control.nextPage': string;
1289
+ 'surface.control.next': string;
1290
+ 'surface.control.carousel': string;
1215
1291
  'interaction.wait': string;
1216
1292
  'interaction.wait.inPanel': string;
1217
1293
  'interaction.wait.fallback': string;
@@ -1392,6 +1468,7 @@ declare const chatbotDictionary: {
1392
1468
  'error.suggestion.RUN_INTERACTION_TIMEOUT': string;
1393
1469
  'error.suggestion.RUN_MAX_TURNS_EXCEEDED': string;
1394
1470
  'error.suggestion.TOOL_RESOLUTION_EXHAUSTED': string;
1471
+ 'error.suggestion.TOOL_SCHEMA_UNAVAILABLE': string;
1395
1472
  'error.limit.totalTimeoutMs': string;
1396
1473
  'error.limit.maxTurns': string;
1397
1474
  'error.message.RUN_CANCELLED': string;
@@ -1407,11 +1484,13 @@ declare const chatbotDictionary: {
1407
1484
  'header.theme.dark': string;
1408
1485
  'header.language': string;
1409
1486
  'session.title': string;
1487
+ 'session.historyTitle': string;
1488
+ 'session.collapse': string;
1489
+ 'session.expand': string;
1410
1490
  'session.new': string;
1411
1491
  'session.searchPlaceholder': string;
1412
1492
  'session.searchClear': string;
1413
1493
  'session.empty': string;
1414
- 'session.missingRoot': string;
1415
1494
  'session.skipped': string;
1416
1495
  'session.delete': string;
1417
1496
  'session.actions': string;
@@ -1537,6 +1616,15 @@ declare const chatbotDictionary: {
1537
1616
  'interaction.pageAction.role.click': string;
1538
1617
  'interaction.pageAction.role.fill': string;
1539
1618
  'interaction.pageAction.role.submit': string;
1619
+ 'interaction.pageAction.frame': string;
1620
+ 'interaction.pageAction.elevated': string;
1621
+ 'interaction.traceEvidence.title': string;
1622
+ 'interaction.traceEvidence.columnDraft': string;
1623
+ 'interaction.traceEvidence.columnTrace': string;
1624
+ 'interaction.traceEvidence.trace': string;
1625
+ 'interaction.traceEvidence.model': string;
1626
+ 'interaction.traceEvidence.noArgs': string;
1627
+ 'interaction.traceEvidence.redacted': string;
1540
1628
  'interaction.origin': string;
1541
1629
  'interaction.submitted': string;
1542
1630
  'interaction.submit': string;
@@ -1551,6 +1639,11 @@ declare const chatbotDictionary: {
1551
1639
  'surface.readOnlySnapshot': string;
1552
1640
  'surface.suggested': string;
1553
1641
  'surface.useSuggestion': string;
1642
+ 'surface.control.previousPage': string;
1643
+ 'surface.control.previous': string;
1644
+ 'surface.control.nextPage': string;
1645
+ 'surface.control.next': string;
1646
+ 'surface.control.carousel': string;
1554
1647
  'interaction.wait': string;
1555
1648
  'interaction.wait.inPanel': string;
1556
1649
  'interaction.wait.fallback': string;
@@ -1731,6 +1824,7 @@ declare const chatbotDictionary: {
1731
1824
  'error.suggestion.RUN_INTERACTION_TIMEOUT': string;
1732
1825
  'error.suggestion.RUN_MAX_TURNS_EXCEEDED': string;
1733
1826
  'error.suggestion.TOOL_RESOLUTION_EXHAUSTED': string;
1827
+ 'error.suggestion.TOOL_SCHEMA_UNAVAILABLE': string;
1734
1828
  'error.limit.totalTimeoutMs': string;
1735
1829
  'error.limit.maxTurns': string;
1736
1830
  'error.message.RUN_CANCELLED': string;
@@ -1749,11 +1843,13 @@ declare const useT: () => TranslateFn<{
1749
1843
  'header.theme.dark': string;
1750
1844
  'header.language': string;
1751
1845
  'session.title': string;
1846
+ 'session.historyTitle': string;
1847
+ 'session.collapse': string;
1848
+ 'session.expand': string;
1752
1849
  'session.new': string;
1753
1850
  'session.searchPlaceholder': string;
1754
1851
  'session.searchClear': string;
1755
1852
  'session.empty': string;
1756
- 'session.missingRoot': string;
1757
1853
  'session.skipped': string;
1758
1854
  'session.delete': string;
1759
1855
  'session.actions': string;
@@ -1879,6 +1975,15 @@ declare const useT: () => TranslateFn<{
1879
1975
  'interaction.pageAction.role.click': string;
1880
1976
  'interaction.pageAction.role.fill': string;
1881
1977
  'interaction.pageAction.role.submit': string;
1978
+ 'interaction.pageAction.frame': string;
1979
+ 'interaction.pageAction.elevated': string;
1980
+ 'interaction.traceEvidence.title': string;
1981
+ 'interaction.traceEvidence.columnDraft': string;
1982
+ 'interaction.traceEvidence.columnTrace': string;
1983
+ 'interaction.traceEvidence.trace': string;
1984
+ 'interaction.traceEvidence.model': string;
1985
+ 'interaction.traceEvidence.noArgs': string;
1986
+ 'interaction.traceEvidence.redacted': string;
1882
1987
  'interaction.origin': string;
1883
1988
  'interaction.submitted': string;
1884
1989
  'interaction.submit': string;
@@ -1893,6 +1998,11 @@ declare const useT: () => TranslateFn<{
1893
1998
  'surface.readOnlySnapshot': string;
1894
1999
  'surface.suggested': string;
1895
2000
  'surface.useSuggestion': string;
2001
+ 'surface.control.previousPage': string;
2002
+ 'surface.control.previous': string;
2003
+ 'surface.control.nextPage': string;
2004
+ 'surface.control.next': string;
2005
+ 'surface.control.carousel': string;
1896
2006
  'interaction.wait': string;
1897
2007
  'interaction.wait.inPanel': string;
1898
2008
  'interaction.wait.fallback': string;
@@ -2073,6 +2183,7 @@ declare const useT: () => TranslateFn<{
2073
2183
  'error.suggestion.RUN_INTERACTION_TIMEOUT': string;
2074
2184
  'error.suggestion.RUN_MAX_TURNS_EXCEEDED': string;
2075
2185
  'error.suggestion.TOOL_RESOLUTION_EXHAUSTED': string;
2186
+ 'error.suggestion.TOOL_SCHEMA_UNAVAILABLE': string;
2076
2187
  'error.limit.totalTimeoutMs': string;
2077
2188
  'error.limit.maxTurns': string;
2078
2189
  'error.message.RUN_CANCELLED': string;
@@ -2088,11 +2199,13 @@ declare const useT: () => TranslateFn<{
2088
2199
  'header.theme.dark': string;
2089
2200
  'header.language': string;
2090
2201
  'session.title': string;
2202
+ 'session.historyTitle': string;
2203
+ 'session.collapse': string;
2204
+ 'session.expand': string;
2091
2205
  'session.new': string;
2092
2206
  'session.searchPlaceholder': string;
2093
2207
  'session.searchClear': string;
2094
2208
  'session.empty': string;
2095
- 'session.missingRoot': string;
2096
2209
  'session.skipped': string;
2097
2210
  'session.delete': string;
2098
2211
  'session.actions': string;
@@ -2218,6 +2331,15 @@ declare const useT: () => TranslateFn<{
2218
2331
  'interaction.pageAction.role.click': string;
2219
2332
  'interaction.pageAction.role.fill': string;
2220
2333
  'interaction.pageAction.role.submit': string;
2334
+ 'interaction.pageAction.frame': string;
2335
+ 'interaction.pageAction.elevated': string;
2336
+ 'interaction.traceEvidence.title': string;
2337
+ 'interaction.traceEvidence.columnDraft': string;
2338
+ 'interaction.traceEvidence.columnTrace': string;
2339
+ 'interaction.traceEvidence.trace': string;
2340
+ 'interaction.traceEvidence.model': string;
2341
+ 'interaction.traceEvidence.noArgs': string;
2342
+ 'interaction.traceEvidence.redacted': string;
2221
2343
  'interaction.origin': string;
2222
2344
  'interaction.submitted': string;
2223
2345
  'interaction.submit': string;
@@ -2232,6 +2354,11 @@ declare const useT: () => TranslateFn<{
2232
2354
  'surface.readOnlySnapshot': string;
2233
2355
  'surface.suggested': string;
2234
2356
  'surface.useSuggestion': string;
2357
+ 'surface.control.previousPage': string;
2358
+ 'surface.control.previous': string;
2359
+ 'surface.control.nextPage': string;
2360
+ 'surface.control.next': string;
2361
+ 'surface.control.carousel': string;
2235
2362
  'interaction.wait': string;
2236
2363
  'interaction.wait.inPanel': string;
2237
2364
  'interaction.wait.fallback': string;
@@ -2412,6 +2539,7 @@ declare const useT: () => TranslateFn<{
2412
2539
  'error.suggestion.RUN_INTERACTION_TIMEOUT': string;
2413
2540
  'error.suggestion.RUN_MAX_TURNS_EXCEEDED': string;
2414
2541
  'error.suggestion.TOOL_RESOLUTION_EXHAUSTED': string;
2542
+ 'error.suggestion.TOOL_SCHEMA_UNAVAILABLE': string;
2415
2543
  'error.limit.totalTimeoutMs': string;
2416
2544
  'error.limit.maxTurns': string;
2417
2545
  'error.message.RUN_CANCELLED': string;
@@ -2477,6 +2605,8 @@ interface ChatbotProps {
2477
2605
  surfaceRegistry?: SurfaceRegistry;
2478
2606
  /** 布局档(默认 'auto':按容器尺寸在 fullscreen / embedded / mobile 之间判定) */
2479
2607
  layout?: ChatLayout;
2608
+ /** 会话列表形态(默认 'auto':按**容器**宽度判定,不看视口) @stable */
2609
+ sessionList?: 'auto' | 'collapsed' | 'inline';
2480
2610
  /**
2481
2611
  * 打开配置面(FR-20.4)。配置面本身已迁到 console,chatbot 只负责发出这个请求;
2482
2612
  * 宿主不接就不渲染任何「打开设置」出口——给一个点了没反应的按钮更糟。
@@ -2494,7 +2624,7 @@ interface ChatbotProps {
2494
2624
  * presentation shell and accessible thread primitives.
2495
2625
  * @stable
2496
2626
  */
2497
- declare function Chatbot({ adapter, config, locale: localeProp, theme: themeProp, renderer: rendererProp, dictationLang: dictationLangProp, surfaceRegistry, layout, onOpenSettings, onEngineReady }: ChatbotProps): import("react").JSX.Element;
2627
+ declare function Chatbot({ adapter, config, locale: localeProp, theme: themeProp, renderer: rendererProp, dictationLang: dictationLangProp, surfaceRegistry, layout, sessionList, onOpenSettings, onEngineReady }: ChatbotProps): import("react").JSX.Element;
2498
2628
  //#endregion
2499
2629
  //#region src/react/A2uiSurfaceHost.d.ts
2500
2630
  /** @experimental */
@@ -2680,4 +2810,4 @@ declare function ErrorCard({ code, message, loopLimits, onOpenSettings, onDismis
2680
2810
  */
2681
2811
  declare const CHATBOT_VERSION = "0.8.0";
2682
2812
  //#endregion
2683
- export { A2uiSurfaceHost, type A2uiSurfaceHostProps, A2uiSurfaceSnapshotHost, type A2uiSurfaceSnapshotHostProps, type AppearanceChange, CHATBOT_VERSION, type ChatAttachmentInput, type ChatAttachmentMeta, ChatEngine, type ChatEngineOptions, type ChatEvent, type ChatInteractionRecord, type ChatLayout, type ChatMessage, type ChatRunPhase, type ChatSessionListResult, type ChatSessionMeta, type ChatTheme, type ChatThinking, type ChatTokenUsage, type ChatToolCall, Chatbot, type ChatbotConfig, type ChatbotGovernancePorts, type ChatbotHostAdapter, type ChatbotProps, CompositeUiBridge, type CompositeUiBridgeDeps, DEFAULT_RENDERER_CAPABILITIES, DEFAULT_RUNTIME_CONFIG_STORAGE_KEY, type DownloadableFile, ErrorCard, type ErrorCardProps, InteractionCard, type InteractionCardProps, InterruptedBanner, type InterruptedBannerProps, type Locale, OpenUiSurfaceHost, type OpenUiSurfaceHostProps, OpenUiSurfaceSnapshotHost, type OpenUiSurfaceSnapshotHostProps, type RendererCapability, type RendererKind, type ResolvedChatLayout, ResultBlockList, type ResultBlockListProps, ResultBlocksPro, type ResultBlocksProProps, type RunSnapshot, type RuntimeAppearanceConfig, type RuntimeConfig, type RuntimeConfigStore, type RuntimeRendererId, type SandboxExecutorDeps, type SettingsSectionId, SkillBadges, SpecInteraction, type SpecInteractionProps, VercelPayloadPreview, type VercelPayloadPreviewProps, VercelSurfaceHost, type VercelSurfaceHostProps, VercelSurfaceSnapshotHost, type VercelSurfaceSnapshotHostProps, chatbotDictionary, configureA2uiMarkdown, createLocalStorageRuntimeConfigStore, createMemoryRuntimeConfigStore, isLlmEntryUsable, pickUsableLlmEntry, probeA2uiAvailability, probeOpenUiAvailability, sandboxExecutorDeps, useT };
2813
+ export { A2uiSurfaceHost, type A2uiSurfaceHostProps, A2uiSurfaceSnapshotHost, type A2uiSurfaceSnapshotHostProps, type AppearanceChange, CHATBOT_VERSION, type ChatAttachmentInput, type ChatAttachmentMeta, type ChatContentPart, ChatEngine, type ChatEngineOptions, type ChatEvent, type ChatInteractionRecord, type ChatLayout, type ChatMessage, type ChatRunPhase, type ChatSessionListResult, type ChatSessionMeta, type ChatTheme, type ChatThinking, type ChatTokenUsage, type ChatToolCall, Chatbot, type ChatbotConfig, type ChatbotGovernancePorts, type ChatbotHostAdapter, type ChatbotProps, CompositeUiBridge, type CompositeUiBridgeDeps, DEFAULT_RENDERER_CAPABILITIES, DEFAULT_RUNTIME_CONFIG_STORAGE_KEY, type DownloadableFile, ErrorCard, type ErrorCardProps, InteractionCard, type InteractionCardProps, InterruptedBanner, type InterruptedBannerProps, type Locale, OpenUiSurfaceHost, type OpenUiSurfaceHostProps, OpenUiSurfaceSnapshotHost, type OpenUiSurfaceSnapshotHostProps, type QuickPrompt, type QuickPromptIconName, type RendererCapability, type RendererKind, type ResolvedChatLayout, ResultBlockList, type ResultBlockListProps, ResultBlocksPro, type ResultBlocksProProps, type RunSnapshot, type RuntimeAppearanceConfig, type RuntimeConfig, type RuntimeConfigStore, type RuntimeRendererId, type SandboxExecutorDeps, type SettingsSectionId, SkillBadges, SpecInteraction, type SpecInteractionProps, VercelPayloadPreview, type VercelPayloadPreviewProps, VercelSurfaceHost, type VercelSurfaceHostProps, VercelSurfaceSnapshotHost, type VercelSurfaceSnapshotHostProps, chatbotDictionary, configureA2uiMarkdown, createLocalStorageRuntimeConfigStore, createMemoryRuntimeConfigStore, isLlmEntryUsable, pickUsableLlmEntry, probeA2uiAvailability, probeOpenUiAvailability, sandboxExecutorDeps, useT };