@syntrologie/adapt-chatbot 2.8.0-canary.24 → 2.8.0-canary.241
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/ChatAssistantLit.d.ts +21 -0
- package/dist/ChatAssistantLit.d.ts.map +1 -0
- package/dist/ChatAssistantLit.js +8 -0
- package/dist/ChatAssistantLit.js.map +7 -0
- package/dist/cdn.d.ts +2 -6
- package/dist/cdn.d.ts.map +1 -1
- package/dist/chunk-FI7F22ED.js +3331 -0
- package/dist/chunk-FI7F22ED.js.map +7 -0
- package/dist/chunk-V6TY7KAL.js +8 -0
- package/dist/chunk-V6TY7KAL.js.map +7 -0
- package/dist/editor-lit.d.ts +37 -0
- package/dist/editor-lit.d.ts.map +1 -0
- package/dist/editor-lit.js +134 -0
- package/dist/editor-lit.js.map +7 -0
- package/dist/runtime-lit.d.ts +8 -0
- package/dist/runtime-lit.d.ts.map +1 -0
- package/dist/runtime.d.ts +1 -3
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +29 -30
- package/dist/runtime.js.map +7 -0
- package/dist/schema.d.ts +13 -3
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +29 -31
- package/dist/schema.js.map +7 -0
- package/dist/types.d.ts +1 -30
- package/dist/types.d.ts.map +1 -1
- package/package.json +36 -19
- package/dist/ChatAssistant.d.ts +0 -18
- package/dist/ChatAssistant.d.ts.map +0 -1
- package/dist/ChatAssistant.js +0 -178
- package/dist/actionParser.d.ts +0 -15
- package/dist/actionParser.d.ts.map +0 -1
- package/dist/actionParser.js +0 -52
- package/dist/apiClient.d.ts +0 -23
- package/dist/apiClient.d.ts.map +0 -1
- package/dist/apiClient.js +0 -51
- package/dist/cdn.js +0 -37
- package/dist/editor.d.ts +0 -17
- package/dist/editor.d.ts.map +0 -1
- package/dist/editor.js +0 -36
- package/dist/types.js +0 -6
- package/dist/useChat.d.ts +0 -25
- package/dist/useChat.d.ts.map +0 -1
- package/dist/useChat.js +0 -106
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Adaptive Chatbot — Lit Mountable
|
|
3
|
+
*
|
|
4
|
+
* Thin wrapper that mounts <syntro-chat> from @syntrologie/chat with an
|
|
5
|
+
* SsePostTransport pointed at the adaptive SSE backend.
|
|
6
|
+
*
|
|
7
|
+
* The old hand-rolled ChatAssistantElement (Lit component with inline
|
|
8
|
+
* styles, message management, and action parsing) is fully replaced by
|
|
9
|
+
* the shared @syntrologie/chat package.
|
|
10
|
+
*/
|
|
11
|
+
import '@syntrologie/chat';
|
|
12
|
+
import type { ChatbotConfig, ChatbotWidgetRuntime } from './types.js';
|
|
13
|
+
export interface ChatAssistantLitProps {
|
|
14
|
+
config: ChatbotConfig;
|
|
15
|
+
runtime: ChatbotWidgetRuntime;
|
|
16
|
+
tileId?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const ChatAssistantLitMountable: {
|
|
19
|
+
mount(container: HTMLElement, mountConfig?: Record<string, unknown>): () => void;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=ChatAssistantLit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatAssistantLit.d.ts","sourceRoot":"","sources":["../src/ChatAssistantLit.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,mBAAmB,CAAC;AAI3B,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEtE,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,aAAa,CAAC;IACtB,OAAO,EAAE,oBAAoB,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,yBAAyB;qBACnB,WAAW,gBAAgB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAsDpE,CAAC"}
|
package/dist/cdn.d.ts
CHANGED
|
@@ -4,11 +4,7 @@
|
|
|
4
4
|
* This module is bundled for CDN delivery and self-registers with the global
|
|
5
5
|
* SynOS app registry when loaded dynamically via the AppLoader.
|
|
6
6
|
*/
|
|
7
|
-
import
|
|
8
|
-
/**
|
|
9
|
-
* App manifest for registry registration.
|
|
10
|
-
* Follows the AppManifest interface expected by AppLoader/AppRegistry.
|
|
11
|
-
*/
|
|
7
|
+
import { ChatbotEditorLit } from './editor-lit';
|
|
12
8
|
export declare const manifest: {
|
|
13
9
|
id: string;
|
|
14
10
|
version: string;
|
|
@@ -29,7 +25,7 @@ export declare const manifest: {
|
|
|
29
25
|
}[];
|
|
30
26
|
};
|
|
31
27
|
editor: {
|
|
32
|
-
component: typeof
|
|
28
|
+
component: typeof ChatbotEditorLit;
|
|
33
29
|
panel: {
|
|
34
30
|
title: string;
|
|
35
31
|
icon: string;
|
package/dist/cdn.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cdn.d.ts","sourceRoot":"","sources":["../src/cdn.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"cdn.d.ts","sourceRoot":"","sources":["../src/cdn.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGhD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBpB,CAAC;AAaF,eAAe,QAAQ,CAAC"}
|