@nlxai/touchpoint-ui 1.1.8-alpha.3 → 1.2.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/index.html +1 -0
- package/lib/components/RiveAnimation.d.ts +4 -0
- package/lib/index.js +16375 -10846
- package/lib/index.umd.js +97 -90
- package/lib/interface.d.ts +8 -1
- package/package.json +3 -2
package/lib/interface.d.ts
CHANGED
|
@@ -331,6 +331,10 @@ export interface TouchpointConfiguration {
|
|
|
331
331
|
* URL of icon used to display the brand in the chat header
|
|
332
332
|
*/
|
|
333
333
|
brandIcon?: string;
|
|
334
|
+
/**
|
|
335
|
+
* Include border animation. Currently only supported in Voice Mini.
|
|
336
|
+
*/
|
|
337
|
+
animate?: boolean;
|
|
334
338
|
/**
|
|
335
339
|
* URL of icon used on the launch icon in the bottom right when the experience is collapsed.
|
|
336
340
|
*
|
|
@@ -389,6 +393,9 @@ export interface BidirectionalCustomCommand {
|
|
|
389
393
|
action: string;
|
|
390
394
|
/**
|
|
391
395
|
* A short description of the command, used to help the LLM understand its purpose.
|
|
396
|
+
*
|
|
397
|
+
* If omitted, then the command will not be sent to the application and must be triggered
|
|
398
|
+
* from the application side.
|
|
392
399
|
*/
|
|
393
400
|
description?: string;
|
|
394
401
|
/**
|
|
@@ -400,7 +407,7 @@ export interface BidirectionalCustomCommand {
|
|
|
400
407
|
*
|
|
401
408
|
* Should follow the JSONSchema specification.
|
|
402
409
|
*/
|
|
403
|
-
schema
|
|
410
|
+
schema?: any;
|
|
404
411
|
/**
|
|
405
412
|
* A handler that will be called with an argument matching the schema when the command is invoked.
|
|
406
413
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nlxai/touchpoint-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Web UI for Touchpoint",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"@nlxai/core": "^1.1.8-alpha.0",
|
|
28
28
|
"@react-hookz/web": "^25.0.1",
|
|
29
29
|
"@react-input/mask": "^2.0.4",
|
|
30
|
+
"@rive-app/webgl2": "^2.31.5",
|
|
30
31
|
"@types/json-schema": "^7.0.15",
|
|
31
32
|
"clsx": "^2.1.1",
|
|
32
33
|
"htm": "^3.1.1",
|
|
@@ -60,5 +61,5 @@
|
|
|
60
61
|
"publishConfig": {
|
|
61
62
|
"access": "public"
|
|
62
63
|
},
|
|
63
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "15a993eac42b79df23aaa3a09761ccd768960cb8"
|
|
64
65
|
}
|