@webskill/chatbot 0.25.1 → 0.26.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
@@ -955,6 +955,12 @@
955
955
  .border-border {
956
956
  border-color: var(--border);
957
957
  }
958
+ .border-border\/60 {
959
+ border-color: var(--border);
960
+ @supports (color: color-mix(in lab, red, red)) {
961
+ border-color: color-mix(in oklab, var(--border) 60%, transparent);
962
+ }
963
+ }
958
964
  .border-border\/80 {
959
965
  border-color: var(--border);
960
966
  @supports (color: color-mix(in lab, red, red)) {
@@ -1243,6 +1249,9 @@
1243
1249
  .text-start {
1244
1250
  text-align: start;
1245
1251
  }
1252
+ .align-top {
1253
+ vertical-align: top;
1254
+ }
1246
1255
  .font-display {
1247
1256
  font-family: var(--font-sans);
1248
1257
  }
@@ -1631,6 +1640,14 @@
1631
1640
  content: var(--tw-content);
1632
1641
  inset: calc(var(--spacing) * -2);
1633
1642
  }
1643
+ .last\:border-0:last-child {
1644
+ border-style: var(--tw-border-style);
1645
+ border-width: 0px;
1646
+ }
1647
+ .last\:border-r-0:last-child {
1648
+ border-right-style: var(--tw-border-style);
1649
+ border-right-width: 0px;
1650
+ }
1634
1651
  .empty\:hidden:empty {
1635
1652
  display: none;
1636
1653
  }
package/dist/index.d.ts CHANGED
@@ -317,7 +317,7 @@ interface ChatbotHostAdapter {
317
317
  linkedDocuments?: LinkedDocumentReader;
318
318
  /** docx → 文本(`extractDocxText`);不注入即 Word 文档明确报「本环境不支持」 */
319
319
  docxExtractor?: DocxTextExtractor;
320
- /** xlsx → 文本(`extractXlsxText`);不注入即 Excel 工作簿明确报「本环境不支持」 */
320
+ /** xls(x) → 文本(`extractXlsxText`);不注入即 Excel 工作簿明确报「本环境不支持」 */
321
321
  xlsxExtractor?: XlsxTextExtractor;
322
322
  /** pptx → 文本(`extractPptxText`);不注入即演示文稿明确报「本环境不支持」 @experimental */
323
323
  pptxExtractor?: PptxTextExtractor;
@@ -337,10 +337,10 @@ interface ChatbotHostAdapter {
337
337
  pdfDocumentReader?: PdfDocumentReader;
338
338
  /** docx → 块序列(`createDocxBlockReader`);不注入即 `read_document` 读不了 Word @experimental */
339
339
  docxDocumentReader?: DocxDocumentReader;
340
- /** xlsx → 行流(`createXlsxBlockReader`);不注入即 `read_document` 读不了 Excel @experimental */
340
+ /** xls(x) → 行流(`createXlsxBlockReader`);不注入即 `read_document` 读不了 Excel @experimental */
341
341
  xlsxDocumentReader?: XlsxDocumentReader;
342
342
  /**
343
- * xlsx → 单元格网格或可重复扫描的行流(`createXlsxTableReader`)。注入后,估算超过阈值的 xlsx 附件只以画像进消息,
343
+ * xls(x) → 单元格网格或可重复扫描的行流(`createXlsxTableReader`)。注入后,估算超过阈值的 Excel 附件只以画像进消息,
344
344
  * 统计交给 `query_table` 在本机对全表计算(整张表不进上下文);不注入则两者都不发生。
345
345
  * @experimental
346
346
  */
@@ -3498,6 +3498,6 @@ declare function ErrorCard({ code, message, loopLimits, onOpenSettings, onDismis
3498
3498
  * Version of the published `@webskill/chatbot` package, injected at build time.
3499
3499
  * @stable
3500
3500
  */
3501
- declare const CHATBOT_VERSION = "0.25.1";
3501
+ declare const CHATBOT_VERSION = "0.26.0";
3502
3502
  //#endregion
3503
3503
  export { A2uiSurfaceHost, type A2uiSurfaceHostProps, A2uiSurfaceSnapshotHost, type A2uiSurfaceSnapshotHostProps, type AppearanceChange, CHATBOT_VERSION, type ChatAttachmentInput, type ChatAttachmentMeta, type ChatComponent, type ChatComponentCallRecord, type ChatComponentConfirmation, type ChatComponentCredentialField, type ChatComponentInvokeContext, type ChatComponentOutcome, type ChatComponentStore, type ChatComponentText, 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, type HttpMessageComponentOptions, 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, createHttpMessageComponent, createLocalStorageRuntimeConfigStore, createMemoryRuntimeConfigStore, isLlmEntryUsable, pickUsableLlmEntry, probeA2uiAvailability, probeOpenUiAvailability, sandboxExecutorDeps, useT };