@webskill/chatbot 0.15.0 → 0.16.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/README.md +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +5 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -115,7 +115,7 @@ implementation (OPFS storage, skills, demo/model providers, console embedding).
|
|
|
115
115
|
default `FsSessionStore` decides what you see:
|
|
116
116
|
|
|
117
117
|
- Sessions are sorted by `createdAt` **ascending**, and a page is taken from the
|
|
118
|
-
**tail** of that list. The first screen therefore holds the
|
|
118
|
+
**tail** of that list. The first screen therefore holds the _newest_ sessions,
|
|
119
119
|
and the oldest session is not on it.
|
|
120
120
|
- The page size is the store's (`FS_SESSION_PAGE_SIZE`, 50). `<Chatbot>` does
|
|
121
121
|
not override it — pass your own `sessionStore` if you need another size.
|
package/dist/index.d.ts
CHANGED
|
@@ -1539,6 +1539,7 @@ declare const chatbotDictionary: {
|
|
|
1539
1539
|
'surface.suggested': string;
|
|
1540
1540
|
'surface.useSuggestion': string;
|
|
1541
1541
|
'surface.openDocument': string;
|
|
1542
|
+
'surface.noOptions': string;
|
|
1542
1543
|
'surface.control.previousPage': string;
|
|
1543
1544
|
'surface.control.previous': string;
|
|
1544
1545
|
'surface.control.nextPage': string;
|
|
@@ -1929,6 +1930,7 @@ declare const chatbotDictionary: {
|
|
|
1929
1930
|
'surface.suggested': string;
|
|
1930
1931
|
'surface.useSuggestion': string;
|
|
1931
1932
|
'surface.openDocument': string;
|
|
1933
|
+
'surface.noOptions': string;
|
|
1932
1934
|
'surface.control.previousPage': string;
|
|
1933
1935
|
'surface.control.previous': string;
|
|
1934
1936
|
'surface.control.nextPage': string;
|
|
@@ -2322,6 +2324,7 @@ declare const useT: () => TranslateFn<{
|
|
|
2322
2324
|
'surface.suggested': string;
|
|
2323
2325
|
'surface.useSuggestion': string;
|
|
2324
2326
|
'surface.openDocument': string;
|
|
2327
|
+
'surface.noOptions': string;
|
|
2325
2328
|
'surface.control.previousPage': string;
|
|
2326
2329
|
'surface.control.previous': string;
|
|
2327
2330
|
'surface.control.nextPage': string;
|
|
@@ -2712,6 +2715,7 @@ declare const useT: () => TranslateFn<{
|
|
|
2712
2715
|
'surface.suggested': string;
|
|
2713
2716
|
'surface.useSuggestion': string;
|
|
2714
2717
|
'surface.openDocument': string;
|
|
2718
|
+
'surface.noOptions': string;
|
|
2715
2719
|
'surface.control.previousPage': string;
|
|
2716
2720
|
'surface.control.previous': string;
|
|
2717
2721
|
'surface.control.nextPage': string;
|
|
@@ -3204,6 +3208,6 @@ declare function ErrorCard({ code, message, loopLimits, onOpenSettings, onDismis
|
|
|
3204
3208
|
* Version of the published `@webskill/chatbot` package, injected at build time.
|
|
3205
3209
|
* @stable
|
|
3206
3210
|
*/
|
|
3207
|
-
declare const CHATBOT_VERSION = "0.
|
|
3211
|
+
declare const CHATBOT_VERSION = "0.16.0";
|
|
3208
3212
|
//#endregion
|
|
3209
3213
|
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, 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, chatbotDictionary, configureA2uiMarkdown, createLocalStorageRuntimeConfigStore, createMemoryRuntimeConfigStore, isLlmEntryUsable, pickUsableLlmEntry, probeA2uiAvailability, probeOpenUiAvailability, sandboxExecutorDeps, useT };
|
package/dist/index.js
CHANGED
|
@@ -31756,6 +31756,7 @@ const chatbotDictionary = defineDictionary({
|
|
|
31756
31756
|
"surface.suggested": "Suggested:",
|
|
31757
31757
|
"surface.useSuggestion": "Use",
|
|
31758
31758
|
"surface.openDocument": "Open document",
|
|
31759
|
+
"surface.noOptions": "No options are available for this field.",
|
|
31759
31760
|
"surface.control.previousPage": "Previous page",
|
|
31760
31761
|
"surface.control.previous": "Previous",
|
|
31761
31762
|
"surface.control.nextPage": "Next page",
|
|
@@ -32146,6 +32147,7 @@ const chatbotDictionary = defineDictionary({
|
|
|
32146
32147
|
"surface.suggested": "建议:",
|
|
32147
32148
|
"surface.useSuggestion": "使用",
|
|
32148
32149
|
"surface.openDocument": "打开文档",
|
|
32150
|
+
"surface.noOptions": "该字段没有可选项。",
|
|
32149
32151
|
"surface.control.previousPage": "上一页",
|
|
32150
32152
|
"surface.control.previous": "上一页",
|
|
32151
32153
|
"surface.control.nextPage": "下一页",
|
|
@@ -33996,7 +33998,8 @@ function ChatbotSurfaceTexts({ children }) {
|
|
|
33996
33998
|
readOnlySnapshot: t("surface.readOnlySnapshot"),
|
|
33997
33999
|
suggested: t("surface.suggested"),
|
|
33998
34000
|
useSuggestion: t("surface.useSuggestion"),
|
|
33999
|
-
openDocument: t("surface.openDocument")
|
|
34001
|
+
openDocument: t("surface.openDocument"),
|
|
34002
|
+
noOptions: t("surface.noOptions")
|
|
34000
34003
|
}), [t]),
|
|
34001
34004
|
hostControlTexts: useMemo(() => ({
|
|
34002
34005
|
previousPage: t("surface.control.previousPage"),
|
|
@@ -49284,7 +49287,7 @@ function VercelPayloadPreview({ bridge }) {
|
|
|
49284
49287
|
* Version of the published `@webskill/chatbot` package, injected at build time.
|
|
49285
49288
|
* @stable
|
|
49286
49289
|
*/
|
|
49287
|
-
const CHATBOT_VERSION = "0.
|
|
49290
|
+
const CHATBOT_VERSION = "0.16.0";
|
|
49288
49291
|
|
|
49289
49292
|
//#endregion
|
|
49290
49293
|
export { A2uiSurfaceHost, A2uiSurfaceSnapshotHost, CHATBOT_VERSION, ChatEngine, Chatbot, CompositeUiBridge, DEFAULT_RENDERER_CAPABILITIES, DEFAULT_RUNTIME_CONFIG_STORAGE_KEY, ErrorCard, InteractionCard, InterruptedBanner, OpenUiSurfaceHost, OpenUiSurfaceSnapshotHost, ResultBlockList, ResultBlocksPro, SkillBadges, SpecInteraction, VercelPayloadPreview, VercelSurfaceHost, VercelSurfaceSnapshotHost, chatbotDictionary, configureA2uiMarkdown, createLocalStorageRuntimeConfigStore, createMemoryRuntimeConfigStore, isLlmEntryUsable, pickUsableLlmEntry, probeA2uiAvailability, probeOpenUiAvailability, sandboxExecutorDeps, useT };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webskill/chatbot",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@a2ui/web_core": "^0.10.5",
|
|
27
27
|
"@lit/context": "^1.1.0",
|
|
28
28
|
"@openuidev/react-lang": "0.2.8",
|
|
29
|
-
"@webskill/sdk": "^0.
|
|
29
|
+
"@webskill/sdk": "^0.19.0",
|
|
30
30
|
"react": ">=19.0.0",
|
|
31
31
|
"react-dom": ">=19.0.0",
|
|
32
32
|
"zod": "^3.25.0 || ^4.0.0"
|