@webskill/chatbot 0.18.0 → 0.20.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.ts CHANGED
@@ -1,9 +1,9 @@
1
- import { a as RuntimeRendererId, c as RuntimeQuickPrompt, d as TranslateFn, i as RuntimeLlmEntry, l as Locale, n as RuntimeConfig, o as QuickPrompt, r as RuntimeConfigStore, s as QuickPromptIconName, t as RuntimeAppearanceConfig, u as LocalizedText } from "./index-Nnkn73aD.js";
1
+ import { a as RuntimeRendererId, c as RuntimeQuickPrompt, d as TranslateFn, i as RuntimeLlmEntry, l as Locale, n as RuntimeConfig, o as QuickPrompt, r as RuntimeConfigStore, s as QuickPromptIconName, t as RuntimeAppearanceConfig, u as LocalizedText } from "./index-DhXFYp0d.js";
2
2
  import "react";
3
- import { AgentLoopConfig, ApprovalScope, BridgeCapabilities, DataSourceInfo, DocumentSurfaceHost, DocxTextExtractor, ExternalSkillProvider, ExternalToolSource, FileSystemProvider, HookRunner, InteractionRequest, InteractionResponse, LifecycleEventInit, LinkedDocumentReader, LlmClient, NetworkPolicy, Page, PageQuery, PdfTextExtractor, RenderBlock, RenderResultRequest, RunSnapshot, RunSnapshotListEntry, RuntimePhase, RuntimeRun, ScriptExecutor, SessionStore, SkillCandidateMarker, SkillCatalogEntry, SkillIntegrityGuard, SkillOutcomeReporter, SkillStateGuard, UiBridge, UiSpecDrafts, UiSpecEvent, UiSpecSnapshot, UiSurfaceActionRequest, UiSurfaceActionResponse, UserProfile, UserProfileExport, VisionDelegate, VisionDelegateRequest, VisionDelegateResult, WebSkillErrorCode, XlsxTextExtractor, diffUserProfile } from "@webskill/sdk";
4
- import { SandboxMode, TypeScriptSupportOptions, WebOfficeConsent, WebOfficeHost } from "@webskill/sdk/browser";
3
+ import { AgentLoopConfig, ApprovalScope, BridgeCapabilities, DataSourceInfo, DocumentSurfaceHost, DocxTextExtractor, ExternalSkillProvider, ExternalToolSource, FileSystemProvider, HookRunner, InteractionRequest, InteractionResponse, LifecycleEventInit, LinkedDocumentReader, LlmClient, NetworkPolicy, Page, PageQuery, PdfTextExtractor, PptxTextExtractor, RenderBlock, RenderResultRequest, RunSnapshot, RunSnapshotListEntry, RuntimePhase, RuntimeRun, ScriptExecutor, SessionStore, SkillCandidateMarker, SkillCatalogEntry, SkillIntegrityGuard, SkillOutcomeReporter, SkillStateGuard, UiBridge, UiSpecDrafts, UiSpecEvent, UiSpecSnapshot, UiSurfaceActionRequest, UiSurfaceActionResponse, UserProfile, UserProfileExport, VisionDelegate, VisionDelegateRequest, VisionDelegateResult, WebSkillErrorCode, XlsxTextExtractor, diffUserProfile } from "@webskill/sdk";
4
+ import { PageImageHost, RemoteImageHost, SandboxMode, TypeScriptSupportOptions, WebOfficeConsent, WebOfficeHost } from "@webskill/sdk/browser";
5
5
  import { CustomSurfaceActionEvent, ReactBridgeState, SpecInteractionChannel, SurfaceRegistry, UiSurfaceActionEvent } from "@webskill/sdk/ui-react";
6
- import { ConsentUi, DocxDocumentReader, DownloadedFileConsent, DownloadedFileReader, PageActionPolicy, PagePerceptionPolicy, PdfDocumentReader, PerceptionPagingBudget, PerceptionRecord, SkillCandidateSink, TabWorksetPolicy, TodoItem, XlsxDocumentReader } from "@webskill/sdk/agent";
6
+ import { ConsentUi, DocxDocumentReader, DocxTemplateEngine, DownloadedFileConsent, DownloadedFileReader, DwgDocumentContent, DwgProjection, PageActionPolicy, PagePerceptionPolicy, PdfDocumentReader, PerceptionPagingBudget, PerceptionRecord, PptxDocumentReader, SkillCandidateSink, TabWorksetPolicy, TemplateFileSource, TodoItem, XlsxDocumentReader, XlsxTemplateEngine } from "@webskill/sdk/agent";
7
7
  //#region ../core/src/attachment/kind.d.ts
8
8
  /**
9
9
  * 附件类型判据与文本形态。0.14.0 分册 20 从 `@webskill/chatbot` 迁入:
@@ -11,8 +11,14 @@ import { ConsentUi, DocxDocumentReader, DownloadedFileConsent, DownloadedFileRea
11
11
  * 产出同一份文本(AC-20.6),而后者住在 `@webskill/agent`,chatbot 依赖 agent,
12
12
  * 判据只能落在两者共同的下游。纯字符串运算,无环境依赖。
13
13
  */
14
- /** 附件在模型侧的内容形态(0.6.0 FR-11.2) @experimental */
15
- type ChatAttachmentKind = 'text' | 'image' | 'file' | 'document-text';
14
+ /**
15
+ * 附件在模型侧的内容形态(0.6.0 FR-11.2)。
16
+ *
17
+ * `binary` 的分界不是「是不是二进制」(`image` / `file` 也是),而是
18
+ * **一个字节都不进上下文**:模型只拿得到取件号,字节由工具在宿主侧读(0.22.0 FR-19.9)。
19
+ * @experimental
20
+ */
21
+ type ChatAttachmentKind = 'text' | 'image' | 'file' | 'document-text' | 'binary';
16
22
  //#endregion
17
23
  //#region ../runtime/src/tools/types.d.ts
18
24
  /**
@@ -203,6 +209,8 @@ interface ChatbotHostAdapter {
203
209
  docxExtractor?: DocxTextExtractor;
204
210
  /** xlsx → 文本(`extractXlsxText`);不注入即 Excel 工作簿明确报「本环境不支持」 */
205
211
  xlsxExtractor?: XlsxTextExtractor;
212
+ /** pptx → 文本(`extractPptxText`);不注入即演示文稿明确报「本环境不支持」 @experimental */
213
+ pptxExtractor?: PptxTextExtractor;
206
214
  /**
207
215
  * PDF → 文本;**只用于直传被端点拒后的回退**(0.13.0 FR-22.1)。
208
216
  * PDF 仍然默认直传,能读的端点拿到的还是原件;不注入即没有回退能力。
@@ -221,6 +229,44 @@ interface ChatbotHostAdapter {
221
229
  docxDocumentReader?: DocxDocumentReader;
222
230
  /** xlsx → 行流(`createXlsxBlockReader`);不注入即 `read_document` 读不了 Excel @experimental */
223
231
  xlsxDocumentReader?: XlsxDocumentReader;
232
+ /**
233
+ * pptx → 逐页的块序列(`createPptxBlockReader`);不注入即 `read_document` 读不了演示文稿。
234
+ * 给的是页上的字与图,**不是页面渲染图**——要版式只能退到截屏。
235
+ * @experimental
236
+ */
237
+ pptxDocumentReader?: PptxDocumentReader;
238
+ /**
239
+ * 照着 xlsx 模板出文件(0.22.0 分册 42):读骨架 + 按坐标填值插图。
240
+ *
241
+ * 与 `xlsxDocumentReader` 分开给,是因为它们回答的是两个问题:那个问「这份表说了什么」,
242
+ * 这个问「这份表的哪个格子在哪儿、怎么往里写而不动其余任何东西」。
243
+ * 两个引擎都不注入时 `inspect_template` / `fill_template` 不注册。
244
+ * @experimental
245
+ */
246
+ xlsxTemplateEngine?: XlsxTemplateEngine;
247
+ /** 照着 docx 模板出文件(0.22.0 分册 42);不注入即模板工具读不了 Word @experimental */
248
+ docxTemplateEngine?: DocxTemplateEngine;
249
+ /**
250
+ * 在线 WebOffice 文档的**原件字节**(0.22.0 分册 42 · FR-42.12 ~ FR-42.15)。
251
+ *
252
+ * 取件号是 `weboffice:<handle>`,handle 就是 `list_weboffice_documents` 已经给过模型的那一个。
253
+ * 单开一个端口而不是并进 `read_document` 的取件号,是因为这条路的字节来源与那三条都不同:
254
+ * 它来自页面自己握着的同源直链,而那条链接里带着 `requestkey`,**不出内容脚本那一帧**——
255
+ * 所以只能由宿主取回字节再交出来,模型永远看不到 URL。
256
+ *
257
+ * 不注入即 `weboffice:` 取件号读不到,工具会明说取不到原件并让用户下载后作为附件传入
258
+ * (FR-42.14:**不得**退成用文本骨架重排一份新文件)。
259
+ * @experimental
260
+ */
261
+ webOfficeTemplateSource?: TemplateFileSource;
262
+ /**
263
+ * DWG 图纸的解析与投放(0.22.0 分册 19)。两项缺一即 `view_dwg` 不注册。
264
+ *
265
+ * 解析实现住在宿主是因为它必须跑在 Worker 里——17 MB 图纸解析耗时近 4 秒,
266
+ * 放主线程会冻结侧栏(AC-19.11)。
267
+ * @experimental
268
+ */
269
+ dwg?: DwgHost;
224
270
  /**
225
271
  * 视觉委派的「不再询问」记忆端口(0.21.0 分册 17 · FR-17.9)。
226
272
  *
@@ -264,6 +310,25 @@ interface ChatbotHostAdapter {
264
310
  /** 「不再询问」的记忆端口;不注入即每次都问 */
265
311
  consent?: WebOfficeConsent;
266
312
  };
313
+ /**
314
+ * 把宿主页面上的图取进文档(0.22.0 分册 12)。**不注入即 `capture_page_image` 不注册**:
315
+ * 纯 Web 宿主拿不到宿主页面的 DOM,模型在那些宿主上应该**看不见**这个工具,
316
+ * 而不是看得见再次次失败。
317
+ *
318
+ * 同 `webOffice` 那条装配规矩:宿主只交端口,授权卡、会话内记忆、产物落盘
319
+ * 都在引擎这一侧——它们需要知道 run 目录布局与会话生灭,而那两件事只有引擎知道。
320
+ * @experimental
321
+ */
322
+ pageImage?: PageImageHost;
323
+ /**
324
+ * 把一张外链图取进文档(0.22.0 分册 13)。**不注入即 `fetch_remote_image` 不注册**:
325
+ * 普通网页宿主受同源策略拿不到跨域字节(设计 14 §1 实测),
326
+ * 在那些宿主上图只能以外链形态进文档,工具本身不该出现。
327
+ *
328
+ * 授权与 `pageImage` 共用同一个面(`readImageSource`),但记忆按来源类型分开。
329
+ * @experimental
330
+ */
331
+ remoteImage?: RemoteImageHost;
267
332
  /**
268
333
  * 文档投放面(0.15.0 分册 13)。宿主交出 viewer 页地址、投放前确认与审计出口,
269
334
  * 三件都在 `createDocumentSurfaceHost` 的选项里。
@@ -274,8 +339,27 @@ interface ChatbotHostAdapter {
274
339
  */
275
340
  documentSurface?: DocumentSurfaceHost;
276
341
  }
342
+ /**
343
+ * DWG 图纸的宿主出口(0.22.0 分册 19)。
344
+ * @experimental
345
+ */
346
+ interface DwgHost {
347
+ /** 解析字节。实现应跑在 Worker 里:17 MB 图纸解析近 4 秒 */
348
+ read(bytes: Uint8Array, name: string): Promise<DwgDocumentContent>;
349
+ /** 把图纸送进查看器 */
350
+ project(input: DwgProjection): Promise<void>;
351
+ }
277
352
  //#endregion
278
353
  //#region src/core/chatEngine.d.ts
354
+ /**
355
+ * 在线 WebOffice 文档作模板时的取件号前缀(0.22.0 分册 42 · FR-42.12)。
356
+ *
357
+ * 前缀是显式的,不靠猜:`inspect_template` 的取件号绝大多数是附件 id,
358
+ * 拿一个普通 id 去在线文档那边碰运气,猜中一次的收益远小于猜错一次的代价——
359
+ * 那是把另一份文档当成用户指的那一份填了出去。
360
+ * @experimental
361
+ */
362
+ declare const WEB_OFFICE_TEMPLATE_PREFIX = "weboffice:";
279
363
  /**
280
364
  * 条目能否真的发请求:云端要有端点或密钥,浏览器内置两者都不需要。
281
365
  *
@@ -1260,6 +1344,8 @@ declare const chatbotDictionary: {
1260
1344
  'interaction.pageAction.attach': string;
1261
1345
  'interaction.pageAction.scroll.down': string;
1262
1346
  'interaction.pageAction.scroll.up': string;
1347
+ 'interaction.pageAction.hover': string;
1348
+ 'interaction.pageAction.drag': string;
1263
1349
  'interaction.pageAction.back': string;
1264
1350
  'interaction.pageAction.role.click': string;
1265
1351
  'interaction.pageAction.role.fill': string;
@@ -1268,6 +1354,8 @@ declare const chatbotDictionary: {
1268
1354
  'interaction.pageAction.role.set': string;
1269
1355
  'interaction.pageAction.role.attach': string;
1270
1356
  'interaction.pageAction.role.scroll': string;
1357
+ 'interaction.pageAction.role.hover': string;
1358
+ 'interaction.pageAction.role.drag': string;
1271
1359
  'interaction.pageAction.role.back': string;
1272
1360
  'interaction.pageAction.remember': string;
1273
1361
  'interaction.pageAction.frame': string;
@@ -1291,6 +1379,20 @@ declare const chatbotDictionary: {
1291
1379
  'interaction.visionDelegation.rememberFallback': string;
1292
1380
  'interaction.visionDelegation.rememberSession': string;
1293
1381
  'interaction.visionDelegation.body': string;
1382
+ 'interaction.delegation.title': string;
1383
+ 'interaction.delegation.body': string;
1384
+ 'interaction.delegation.declineNote': string;
1385
+ 'interaction.delegation.concurrency': string;
1386
+ 'interaction.delegation.suggestedNote': string;
1387
+ 'interaction.imageSource.title': string;
1388
+ 'interaction.imageSource.pageImageBody': string;
1389
+ 'interaction.imageSource.remoteImageBody': string;
1390
+ 'interaction.imageSource.remoteImageAnyBody': string;
1391
+ 'interaction.imageSource.insecure': string;
1392
+ 'interaction.imageSource.note': string;
1393
+ 'interaction.imageSource.rememberFallback': string;
1394
+ 'interaction.imageSource.rememberPageImage': string;
1395
+ 'interaction.imageSource.rememberRemoteImage': string;
1294
1396
  'interaction.uploadFile.read': string;
1295
1397
  'interaction.uploadFile.file': string;
1296
1398
  'interaction.sandbox.readReference': string;
@@ -1356,6 +1458,7 @@ declare const chatbotDictionary: {
1356
1458
  'composer.attachment.kind.image': string;
1357
1459
  'composer.attachment.kind.file': string;
1358
1460
  'composer.attachment.kind.document-text': string;
1461
+ 'composer.attachment.kind.binary': string;
1359
1462
  'composer.attachment.compressed': string;
1360
1463
  'composer.model': string;
1361
1464
  'composer.model.unconfigured': string;
@@ -1370,6 +1473,7 @@ declare const chatbotDictionary: {
1370
1473
  'attachment.storeFailed.title': string;
1371
1474
  'attachment.storeFailed': string;
1372
1475
  'attachment.pdfAsText': string;
1476
+ 'attachment.pdfAsPagedRead': string;
1373
1477
  'attachment.pdfRefused': string;
1374
1478
  'attachment.pdfNoExtractor': string;
1375
1479
  'attachment.textTooLong': string;
@@ -1674,6 +1778,8 @@ declare const chatbotDictionary: {
1674
1778
  'interaction.pageAction.attach': string;
1675
1779
  'interaction.pageAction.scroll.down': string;
1676
1780
  'interaction.pageAction.scroll.up': string;
1781
+ 'interaction.pageAction.hover': string;
1782
+ 'interaction.pageAction.drag': string;
1677
1783
  'interaction.pageAction.back': string;
1678
1784
  'interaction.pageAction.role.click': string;
1679
1785
  'interaction.pageAction.role.fill': string;
@@ -1682,6 +1788,8 @@ declare const chatbotDictionary: {
1682
1788
  'interaction.pageAction.role.set': string;
1683
1789
  'interaction.pageAction.role.attach': string;
1684
1790
  'interaction.pageAction.role.scroll': string;
1791
+ 'interaction.pageAction.role.hover': string;
1792
+ 'interaction.pageAction.role.drag': string;
1685
1793
  'interaction.pageAction.role.back': string;
1686
1794
  'interaction.pageAction.remember': string;
1687
1795
  'interaction.pageAction.frame': string;
@@ -1705,6 +1813,20 @@ declare const chatbotDictionary: {
1705
1813
  'interaction.visionDelegation.rememberFallback': string;
1706
1814
  'interaction.visionDelegation.rememberSession': string;
1707
1815
  'interaction.visionDelegation.body': string;
1816
+ 'interaction.delegation.title': string;
1817
+ 'interaction.delegation.body': string;
1818
+ 'interaction.delegation.declineNote': string;
1819
+ 'interaction.delegation.concurrency': string;
1820
+ 'interaction.delegation.suggestedNote': string;
1821
+ 'interaction.imageSource.title': string;
1822
+ 'interaction.imageSource.pageImageBody': string;
1823
+ 'interaction.imageSource.remoteImageBody': string;
1824
+ 'interaction.imageSource.remoteImageAnyBody': string;
1825
+ 'interaction.imageSource.insecure': string;
1826
+ 'interaction.imageSource.note': string;
1827
+ 'interaction.imageSource.rememberFallback': string;
1828
+ 'interaction.imageSource.rememberPageImage': string;
1829
+ 'interaction.imageSource.rememberRemoteImage': string;
1708
1830
  'interaction.uploadFile.read': string;
1709
1831
  'interaction.uploadFile.file': string;
1710
1832
  'interaction.sandbox.readReference': string;
@@ -1770,6 +1892,7 @@ declare const chatbotDictionary: {
1770
1892
  'composer.attachment.kind.image': string;
1771
1893
  'composer.attachment.kind.file': string;
1772
1894
  'composer.attachment.kind.document-text': string;
1895
+ 'composer.attachment.kind.binary': string;
1773
1896
  'composer.attachment.compressed': string;
1774
1897
  'composer.model': string;
1775
1898
  'composer.model.unconfigured': string;
@@ -1784,6 +1907,7 @@ declare const chatbotDictionary: {
1784
1907
  'attachment.storeFailed.title': string;
1785
1908
  'attachment.storeFailed': string;
1786
1909
  'attachment.pdfAsText': string;
1910
+ 'attachment.pdfAsPagedRead': string;
1787
1911
  'attachment.pdfRefused': string;
1788
1912
  'attachment.pdfNoExtractor': string;
1789
1913
  'attachment.textTooLong': string;
@@ -2091,6 +2215,8 @@ declare const useT: () => TranslateFn<{
2091
2215
  'interaction.pageAction.attach': string;
2092
2216
  'interaction.pageAction.scroll.down': string;
2093
2217
  'interaction.pageAction.scroll.up': string;
2218
+ 'interaction.pageAction.hover': string;
2219
+ 'interaction.pageAction.drag': string;
2094
2220
  'interaction.pageAction.back': string;
2095
2221
  'interaction.pageAction.role.click': string;
2096
2222
  'interaction.pageAction.role.fill': string;
@@ -2099,6 +2225,8 @@ declare const useT: () => TranslateFn<{
2099
2225
  'interaction.pageAction.role.set': string;
2100
2226
  'interaction.pageAction.role.attach': string;
2101
2227
  'interaction.pageAction.role.scroll': string;
2228
+ 'interaction.pageAction.role.hover': string;
2229
+ 'interaction.pageAction.role.drag': string;
2102
2230
  'interaction.pageAction.role.back': string;
2103
2231
  'interaction.pageAction.remember': string;
2104
2232
  'interaction.pageAction.frame': string;
@@ -2122,6 +2250,20 @@ declare const useT: () => TranslateFn<{
2122
2250
  'interaction.visionDelegation.rememberFallback': string;
2123
2251
  'interaction.visionDelegation.rememberSession': string;
2124
2252
  'interaction.visionDelegation.body': string;
2253
+ 'interaction.delegation.title': string;
2254
+ 'interaction.delegation.body': string;
2255
+ 'interaction.delegation.declineNote': string;
2256
+ 'interaction.delegation.concurrency': string;
2257
+ 'interaction.delegation.suggestedNote': string;
2258
+ 'interaction.imageSource.title': string;
2259
+ 'interaction.imageSource.pageImageBody': string;
2260
+ 'interaction.imageSource.remoteImageBody': string;
2261
+ 'interaction.imageSource.remoteImageAnyBody': string;
2262
+ 'interaction.imageSource.insecure': string;
2263
+ 'interaction.imageSource.note': string;
2264
+ 'interaction.imageSource.rememberFallback': string;
2265
+ 'interaction.imageSource.rememberPageImage': string;
2266
+ 'interaction.imageSource.rememberRemoteImage': string;
2125
2267
  'interaction.uploadFile.read': string;
2126
2268
  'interaction.uploadFile.file': string;
2127
2269
  'interaction.sandbox.readReference': string;
@@ -2187,6 +2329,7 @@ declare const useT: () => TranslateFn<{
2187
2329
  'composer.attachment.kind.image': string;
2188
2330
  'composer.attachment.kind.file': string;
2189
2331
  'composer.attachment.kind.document-text': string;
2332
+ 'composer.attachment.kind.binary': string;
2190
2333
  'composer.attachment.compressed': string;
2191
2334
  'composer.model': string;
2192
2335
  'composer.model.unconfigured': string;
@@ -2201,6 +2344,7 @@ declare const useT: () => TranslateFn<{
2201
2344
  'attachment.storeFailed.title': string;
2202
2345
  'attachment.storeFailed': string;
2203
2346
  'attachment.pdfAsText': string;
2347
+ 'attachment.pdfAsPagedRead': string;
2204
2348
  'attachment.pdfRefused': string;
2205
2349
  'attachment.pdfNoExtractor': string;
2206
2350
  'attachment.textTooLong': string;
@@ -2505,6 +2649,8 @@ declare const useT: () => TranslateFn<{
2505
2649
  'interaction.pageAction.attach': string;
2506
2650
  'interaction.pageAction.scroll.down': string;
2507
2651
  'interaction.pageAction.scroll.up': string;
2652
+ 'interaction.pageAction.hover': string;
2653
+ 'interaction.pageAction.drag': string;
2508
2654
  'interaction.pageAction.back': string;
2509
2655
  'interaction.pageAction.role.click': string;
2510
2656
  'interaction.pageAction.role.fill': string;
@@ -2513,6 +2659,8 @@ declare const useT: () => TranslateFn<{
2513
2659
  'interaction.pageAction.role.set': string;
2514
2660
  'interaction.pageAction.role.attach': string;
2515
2661
  'interaction.pageAction.role.scroll': string;
2662
+ 'interaction.pageAction.role.hover': string;
2663
+ 'interaction.pageAction.role.drag': string;
2516
2664
  'interaction.pageAction.role.back': string;
2517
2665
  'interaction.pageAction.remember': string;
2518
2666
  'interaction.pageAction.frame': string;
@@ -2536,6 +2684,20 @@ declare const useT: () => TranslateFn<{
2536
2684
  'interaction.visionDelegation.rememberFallback': string;
2537
2685
  'interaction.visionDelegation.rememberSession': string;
2538
2686
  'interaction.visionDelegation.body': string;
2687
+ 'interaction.delegation.title': string;
2688
+ 'interaction.delegation.body': string;
2689
+ 'interaction.delegation.declineNote': string;
2690
+ 'interaction.delegation.concurrency': string;
2691
+ 'interaction.delegation.suggestedNote': string;
2692
+ 'interaction.imageSource.title': string;
2693
+ 'interaction.imageSource.pageImageBody': string;
2694
+ 'interaction.imageSource.remoteImageBody': string;
2695
+ 'interaction.imageSource.remoteImageAnyBody': string;
2696
+ 'interaction.imageSource.insecure': string;
2697
+ 'interaction.imageSource.note': string;
2698
+ 'interaction.imageSource.rememberFallback': string;
2699
+ 'interaction.imageSource.rememberPageImage': string;
2700
+ 'interaction.imageSource.rememberRemoteImage': string;
2539
2701
  'interaction.uploadFile.read': string;
2540
2702
  'interaction.uploadFile.file': string;
2541
2703
  'interaction.sandbox.readReference': string;
@@ -2601,6 +2763,7 @@ declare const useT: () => TranslateFn<{
2601
2763
  'composer.attachment.kind.image': string;
2602
2764
  'composer.attachment.kind.file': string;
2603
2765
  'composer.attachment.kind.document-text': string;
2766
+ 'composer.attachment.kind.binary': string;
2604
2767
  'composer.attachment.compressed': string;
2605
2768
  'composer.model': string;
2606
2769
  'composer.model.unconfigured': string;
@@ -2615,6 +2778,7 @@ declare const useT: () => TranslateFn<{
2615
2778
  'attachment.storeFailed.title': string;
2616
2779
  'attachment.storeFailed': string;
2617
2780
  'attachment.pdfAsText': string;
2781
+ 'attachment.pdfAsPagedRead': string;
2618
2782
  'attachment.pdfRefused': string;
2619
2783
  'attachment.pdfNoExtractor': string;
2620
2784
  'attachment.textTooLong': string;
@@ -3064,6 +3228,6 @@ declare function ErrorCard({ code, message, loopLimits, onOpenSettings, onDismis
3064
3228
  * Version of the published `@webskill/chatbot` package, injected at build time.
3065
3229
  * @stable
3066
3230
  */
3067
- declare const CHATBOT_VERSION = "0.18.0";
3231
+ declare const CHATBOT_VERSION = "0.20.0";
3068
3232
  //#endregion
3069
- 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, ChatbotVisionDelegate, type ChatbotVisionDelegateOptions, CompositeUiBridge, type CompositeUiBridgeDeps, DEFAULT_RENDERER_CAPABILITIES, DEFAULT_RUNTIME_CONFIG_STORAGE_KEY, type DownloadableFile, ErrorCard, type ErrorCardProps, InteractionCard, type InteractionCardProps, InterruptedBanner, type InterruptedBannerProps, type Locale, type LocalizedText, 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 RuntimeQuickPrompt, type RuntimeRendererId, type SandboxExecutorDeps, type SettingsSectionId, SkillBadges, SpecInteraction, type SpecInteractionProps, VercelPayloadPreview, type VercelPayloadPreviewProps, VercelSurfaceHost, type VercelSurfaceHostProps, VercelSurfaceSnapshotHost, type VercelSurfaceSnapshotHostProps, type VisionDelegationConsent, type VisionDelegationEndpoint, chatbotDictionary, configureA2uiMarkdown, createLocalStorageRuntimeConfigStore, createMemoryRuntimeConfigStore, isLlmEntryUsable, pickUsableLlmEntry, probeA2uiAvailability, probeOpenUiAvailability, sandboxExecutorDeps, useT };
3233
+ 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, ChatbotVisionDelegate, type ChatbotVisionDelegateOptions, CompositeUiBridge, type CompositeUiBridgeDeps, DEFAULT_RENDERER_CAPABILITIES, DEFAULT_RUNTIME_CONFIG_STORAGE_KEY, type DownloadableFile, type DwgHost, ErrorCard, type ErrorCardProps, InteractionCard, type InteractionCardProps, InterruptedBanner, type InterruptedBannerProps, type Locale, type LocalizedText, 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 RuntimeQuickPrompt, type RuntimeRendererId, type SandboxExecutorDeps, type SettingsSectionId, SkillBadges, SpecInteraction, type SpecInteractionProps, VercelPayloadPreview, type VercelPayloadPreviewProps, VercelSurfaceHost, type VercelSurfaceHostProps, VercelSurfaceSnapshotHost, type VercelSurfaceSnapshotHostProps, type VisionDelegationConsent, type VisionDelegationEndpoint, WEB_OFFICE_TEMPLATE_PREFIX, chatbotDictionary, configureA2uiMarkdown, createLocalStorageRuntimeConfigStore, createMemoryRuntimeConfigStore, isLlmEntryUsable, pickUsableLlmEntry, probeA2uiAvailability, probeOpenUiAvailability, sandboxExecutorDeps, useT };