sentifyd-bot 1.2.0 → 1.3.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/CHANGELOG.md +29 -0
- package/README.md +19 -0
- package/dist/index.es.js +121 -121
- package/package.json +11 -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,29 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
## [1.3.0] - 2025-12-18
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- **Vite Plugin**: Introduced `sentifydBotPlugin` to handle 3D avatar assets and audio worklets automatically. This is now required for Vite-based projects.
|
|
9
|
+
- **Documentation**: Updated README with instructions for configuring the new Vite plugin.
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
- **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.
|
|
13
|
+
- **Performance**: Improved asset loading strategy for 3D models and lip-sync modules.
|
|
14
|
+
|
|
15
|
+
### Removed
|
|
16
|
+
- Removed direct dependency on `three.js` (now handled internally by the avatar engine).
|
|
17
|
+
|
|
18
|
+
## [1.2.0] - 2025-12-17
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
- **UX Improvements**: Various user experience enhancements for smoother interactions.
|
|
22
|
+
- **Conversation Resume**: Enhanced handling of resuming conversations, ensuring context is preserved across sessions.
|
|
23
|
+
|
|
24
|
+
## [1.1.x] - 2025-12-07
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
- Initial release of the Sentifyd Bot npm package.
|
|
28
|
+
- Support for React, Vue, and Vanilla JS.
|
|
29
|
+
- 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
|