@sveda-ai/solid 0.3.3 → 0.3.4
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
CHANGED
|
@@ -5,6 +5,8 @@ SolidJS SDK for Sveda — `<SvedaChat>`, hooks, and the default UI theme.
|
|
|
5
5
|
- Site: [sveda.dev](https://sveda.dev)
|
|
6
6
|
- Docs: [sveda.dev/docs/chat-ui/solid](https://sveda.dev/docs/chat-ui/solid)
|
|
7
7
|
|
|
8
|
+
Powers the AI assistant in [Sveda LMS](https://www.svedalms.ru), a learning management system for corporate training.
|
|
9
|
+
|
|
8
10
|
```bash
|
|
9
11
|
npm install @sveda-ai/solid
|
|
10
12
|
```
|
|
@@ -91,7 +91,7 @@ export declare function useSvedaChatPage(options?: SvedaChatPageOptions): {
|
|
|
91
91
|
stopStreaming: (chatId?: string | null) => void;
|
|
92
92
|
streamingChatIds: Accessor<Set<string>>;
|
|
93
93
|
unreadChatIds: Accessor<Set<string>>;
|
|
94
|
-
resolveToolConfirmation: (toolCallId: string, decision: "
|
|
94
|
+
resolveToolConfirmation: (toolCallId: string, decision: import("@sveda-ai/core").SvedaToolConfirmationDecision, pageContext?: Record<string, unknown>) => Promise<void>;
|
|
95
95
|
pageUrl: Accessor<string>;
|
|
96
96
|
onNavigate: ((url: string) => void) | undefined;
|
|
97
97
|
};
|
|
@@ -32,7 +32,7 @@ export declare function useSvedaStreaming(store: SvedaStreamingStore, scrollToBo
|
|
|
32
32
|
}) => void, options?: SvedaStreamingOptions): {
|
|
33
33
|
sendMessage: (userPayload: SvedaSendPayload, pageContext?: Record<string, unknown>) => Promise<void>;
|
|
34
34
|
continueAfterMaxSteps: (pageContext?: Record<string, unknown>) => Promise<void>;
|
|
35
|
-
resolveToolConfirmation: (toolCallId: string, decision: "
|
|
35
|
+
resolveToolConfirmation: (toolCallId: string, decision: import("@sveda-ai/core").SvedaToolConfirmationDecision, pageContext?: Record<string, unknown>) => Promise<void>;
|
|
36
36
|
isStreaming: Accessor<boolean>;
|
|
37
37
|
isThinking: Accessor<boolean>;
|
|
38
38
|
thinkingMessage: Accessor<string>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sveda-ai/solid",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"description": "SolidJS chat UI to embed a Sveda AI agent. https://sveda.dev/docs/chat-ui/solid",
|
|
@@ -11,14 +11,18 @@
|
|
|
11
11
|
"copilot",
|
|
12
12
|
"solid",
|
|
13
13
|
"solidjs",
|
|
14
|
-
"chat"
|
|
14
|
+
"chat",
|
|
15
|
+
"lms",
|
|
16
|
+
"svedalms",
|
|
17
|
+
"sveda-lms",
|
|
18
|
+
"e-learning"
|
|
15
19
|
],
|
|
16
20
|
"repository": {
|
|
17
21
|
"type": "git",
|
|
18
22
|
"url": "git+https://github.com/neresson/sveda.git",
|
|
19
23
|
"directory": "packages/solid"
|
|
20
24
|
},
|
|
21
|
-
"homepage": "https://
|
|
25
|
+
"homepage": "https://www.svedalms.ru",
|
|
22
26
|
"main": "./dist/index.js",
|
|
23
27
|
"types": "./dist/index.d.ts",
|
|
24
28
|
"exports": {
|
|
@@ -43,9 +47,9 @@
|
|
|
43
47
|
"lucide-solid": "^0.468.0",
|
|
44
48
|
"marked": "^17.0.2",
|
|
45
49
|
"tailwind-merge": "^2.6.0",
|
|
46
|
-
"@sveda-ai/chat": "0.3.
|
|
47
|
-
"@sveda-ai/
|
|
48
|
-
"@sveda-ai/
|
|
50
|
+
"@sveda-ai/chat": "0.3.4",
|
|
51
|
+
"@sveda-ai/core": "0.3.3",
|
|
52
|
+
"@sveda-ai/protocol": "0.3.3"
|
|
49
53
|
},
|
|
50
54
|
"peerDependencies": {
|
|
51
55
|
"solid-js": "^1.9.0"
|