sentifyd-bot 1.2.0 → 1.3.1
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/CHANGELOG.md +34 -0
- package/README.md +55 -2
- package/dist/index.es.js +121 -121
- package/package.json +16 -5
- package/src/react/SentifydBot.jsx +1 -1
- package/src/vite-plugin.js +161 -0
- package/dist/lipsync-de-C2V1AwVF.js +0 -1
- package/dist/lipsync-en-qcS35m6x.js +0 -1
- package/dist/lipsync-fi-OWUVeE-b.js +0 -1
- package/dist/lipsync-fr-wVng3ZAI.js +0 -1
- package/dist/lipsync-lt-CYf-0Xtf.js +0 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
## [1.3.1] - 2025-12-18
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
- **Documentation**: Updated README with changelog and corrected dependencies information.
|
|
9
|
+
|
|
10
|
+
## [1.3.0] - 2025-12-18
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- **Vite Plugin**: Introduced `sentifydBotPlugin` to handle 3D avatar assets and audio worklets automatically. This is now required for Vite-based projects.
|
|
14
|
+
- **Documentation**: Updated README with instructions for configuring the new Vite plugin.
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
- **Dependency Management**: The 3D avatar engine (`@met4citizen/talkinghead`) is now an external dependency managed by the package, reducing the bundle size of the main application.
|
|
18
|
+
- **Performance**: Improved asset loading strategy for 3D models and lip-sync modules.
|
|
19
|
+
|
|
20
|
+
### Removed
|
|
21
|
+
- Removed direct dependency on `three.js` (now handled internally by the avatar engine).
|
|
22
|
+
|
|
23
|
+
## [1.2.0] - 2025-12-17
|
|
24
|
+
|
|
25
|
+
### Added
|
|
26
|
+
- **UX Improvements**: Various user experience enhancements for smoother interactions.
|
|
27
|
+
- **Conversation Resume**: Enhanced handling of resuming conversations, ensuring context is preserved across sessions.
|
|
28
|
+
|
|
29
|
+
## [1.1.x] - 2025-12-07
|
|
30
|
+
|
|
31
|
+
### Added
|
|
32
|
+
- Initial release of the Sentifyd Bot npm package.
|
|
33
|
+
- Support for React, Vue, and Vanilla JS.
|
|
34
|
+
- Core conversational AI features with 3D avatar integration.
|
package/README.md
CHANGED
|
@@ -23,6 +23,25 @@ or
|
|
|
23
23
|
yarn add sentifyd-bot
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
+
## Vite Configuration (Required)
|
|
27
|
+
|
|
28
|
+
This package requires a Vite plugin to correctly handle the 3D avatar's assets and audio worklets. Add the plugin to your `vite.config.js`:
|
|
29
|
+
|
|
30
|
+
```javascript
|
|
31
|
+
import { defineConfig } from 'vite';
|
|
32
|
+
import { sentifydBotPlugin } from 'sentifyd-bot/vite-plugin';
|
|
33
|
+
|
|
34
|
+
export default defineConfig({
|
|
35
|
+
plugins: [
|
|
36
|
+
sentifydBotPlugin()
|
|
37
|
+
]
|
|
38
|
+
});
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
This plugin ensures that:
|
|
42
|
+
1. Audio worklets for lip-sync are correctly served.
|
|
43
|
+
2. Dynamic modules from the underlying 3D engine are properly handled.
|
|
44
|
+
|
|
26
45
|
## Quick Start
|
|
27
46
|
|
|
28
47
|
### React
|
|
@@ -140,8 +159,7 @@ export default function Home() {
|
|
|
140
159
|
|
|
141
160
|
## Package Details
|
|
142
161
|
|
|
143
|
-
- **
|
|
144
|
-
- **Dependencies**: All bundled (Three.js, Azure Speech SDK, Lit)
|
|
162
|
+
- **Dependencies**: Lit, Azure Speech SDK, Socket.IO Client, TalkingHead, XState, and utilities (installed automatically)
|
|
145
163
|
- **Peer Dependencies**: React (optional for non-React users)
|
|
146
164
|
- **Exports**: ESM module with tree-shakable exports
|
|
147
165
|
|
|
@@ -207,3 +225,38 @@ Configure custom storage (for mobile apps or special use cases).
|
|
|
207
225
|
Proprietary - See [LICENSE.md](LICENSE.md) for details.
|
|
208
226
|
|
|
209
227
|
Free to use in commercial and non-commercial projects. Modification and redistribution of source code prohibited without permission.
|
|
228
|
+
|
|
229
|
+
## Changelog
|
|
230
|
+
|
|
231
|
+
All notable changes to this project will be documented in this file.
|
|
232
|
+
|
|
233
|
+
### [1.3.1] - 2025-12-18
|
|
234
|
+
|
|
235
|
+
#### Changed
|
|
236
|
+
- **Documentation**: Updated README with changelog and corrected dependencies information.
|
|
237
|
+
|
|
238
|
+
### [1.3.0] - 2025-12-18
|
|
239
|
+
|
|
240
|
+
#### Added
|
|
241
|
+
- **Vite Plugin**: Introduced `sentifydBotPlugin` to handle 3D avatar assets and audio worklets automatically. This is now required for Vite-based projects.
|
|
242
|
+
- **Documentation**: Updated README with instructions for configuring the new Vite plugin.
|
|
243
|
+
|
|
244
|
+
#### Changed
|
|
245
|
+
- **Dependency Management**: The 3D avatar engine (`@met4citizen/talkinghead`) is now an external dependency managed by the package, reducing the bundle size of the main application.
|
|
246
|
+
- **Performance**: Improved asset loading strategy for 3D models and lip-sync modules.
|
|
247
|
+
|
|
248
|
+
#### Removed
|
|
249
|
+
- Removed direct dependency on `three.js` (now handled internally by the avatar engine).
|
|
250
|
+
|
|
251
|
+
### [1.2.0] - 2025-12-17
|
|
252
|
+
|
|
253
|
+
#### Added
|
|
254
|
+
- **UX Improvements**: Various user experience enhancements for smoother interactions.
|
|
255
|
+
- **Conversation Resume**: Enhanced handling of resuming conversations, ensuring context is preserved across sessions.
|
|
256
|
+
|
|
257
|
+
### [1.1.x] - 2025-12-07
|
|
258
|
+
|
|
259
|
+
#### Added
|
|
260
|
+
- Initial release of the Sentifyd Bot npm package.
|
|
261
|
+
- Support for React, Vue, and Vanilla JS.
|
|
262
|
+
- Core conversational AI features with 3D avatar integration.
|