@alia.onl/sdk 3.1.1 → 3.1.3
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/alia.onl-sdk-3.1.3.tgz +0 -0
- package/package.json +80 -69
- package/src/animations.ts +6 -0
- package/src/components/AliaChatContent.tsx +215 -253
- package/src/components/AliaChatMessageList.tsx +9 -4
- package/src/components/AliaChatScreen.tsx +28 -42
- package/src/components/AliaChatSheet.tsx +40 -55
- package/src/components/AliaMark.tsx +144 -0
- package/src/components/AliaWelcomeMessage.tsx +5 -5
- package/src/components/Markdown.tsx +18 -18
- package/src/components/PlanPreviewCard.tsx +3 -2
- package/src/components/ThinkingIndicator.tsx +6 -27
- package/src/components/ui/chat-text-input.tsx +4 -3
- package/src/components/ui/dropdown-menu.web.tsx +9 -8
- package/src/components/ui/prompt-input/autocomplete.tsx +1 -1
- package/src/components/ui/prompt-input/context.tsx +1 -1
- package/src/components/ui/prompt-input/prompt-input.tsx +3 -1
- package/src/components/voice/AudioWaveVisualizer.tsx +27 -10
- package/src/components/voice/VoiceOverlay.tsx +37 -9
- package/src/hooks/useAliaChat.ts +6 -6
- package/src/hooks/useAmbientWave.ts +142 -0
- package/src/hooks/useAudioLevelMonitor.ts +6 -6
- package/src/hooks/useDocumentPicker.ts +1 -1
- package/src/hooks/useImagePicker.ts +1 -1
- package/src/hooks/useSoundEffects.ts +6 -5
- package/src/hooks/useSpeechToText.ts +21 -7
- package/src/hooks/useTTS.ts +6 -4
- package/src/hooks/useVoiceRoom.ts +52 -7
- package/src/index.ts +4 -2
- package/src/lib/content-utils.ts +18 -6
- package/src/lib/utils.ts +11 -0
- package/src/optional-deps.d.ts +76 -15
- package/src/types.ts +4 -4
- package/src/components/AliaFace.tsx +0 -452
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alia.onl/sdk",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.3",
|
|
4
4
|
"description": "Alia AI chat SDK — reusable chat UI, voice, and streaming components for Oxy apps",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"react-native": "src/index.ts",
|
|
@@ -11,78 +11,89 @@
|
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"react-
|
|
15
|
-
"
|
|
14
|
+
"@radix-ui/react-icons": "^1.3.2",
|
|
15
|
+
"@tanstack/query-async-storage-persister": "^5.101.2",
|
|
16
|
+
"@tanstack/react-query": "^5.101.2",
|
|
17
|
+
"@tanstack/react-query-persist-client": "^5.101.2",
|
|
18
|
+
"react-native-markdown-display": "^7.0.2",
|
|
19
|
+
"zustand": "^5.0.14"
|
|
16
20
|
},
|
|
17
21
|
"peerDependencies": {
|
|
18
|
-
"react": "
|
|
19
|
-
"react-native": "
|
|
20
|
-
"@oxyhq/services": "
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"react-native-
|
|
26
|
-
"react-native-
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"expo-
|
|
38
|
-
"
|
|
39
|
-
"
|
|
22
|
+
"react": "^19.2.3",
|
|
23
|
+
"react-native": "^0.86.0",
|
|
24
|
+
"@oxyhq/services": "^20.0.0",
|
|
25
|
+
"@react-native-async-storage/async-storage": "^2.2.0",
|
|
26
|
+
"socket.io-client": "^4.8.3",
|
|
27
|
+
"expo-font": "^57.0.0",
|
|
28
|
+
"expo-blur": "^57.0.0",
|
|
29
|
+
"react-native-reanimated": "^4.5.0",
|
|
30
|
+
"react-native-gesture-handler": "^2.32.0",
|
|
31
|
+
"react-native-safe-area-context": "^5.8.0",
|
|
32
|
+
"react-native-keyboard-controller": "^1.21.9",
|
|
33
|
+
"react-native-svg": "^15.15.4",
|
|
34
|
+
"livekit-client": "^2.20.1",
|
|
35
|
+
"expo-audio": "^57.0.0",
|
|
36
|
+
"nativewind": "^5.0.0-preview.3",
|
|
37
|
+
"clsx": "^2.1.1",
|
|
38
|
+
"tailwind-merge": "^3.6.0",
|
|
39
|
+
"class-variance-authority": "^0.7.1",
|
|
40
|
+
"zeego": "^3.0.6",
|
|
41
|
+
"expo-image": "^57.0.0",
|
|
42
|
+
"expo-image-picker": "^57.0.2",
|
|
43
|
+
"expo-document-picker": "^57.0.0",
|
|
44
|
+
"expo-clipboard": "^57.0.0",
|
|
45
|
+
"lucide-react-native": "^0.562.0",
|
|
46
|
+
"@radix-ui/react-dropdown-menu": "^2.1.20",
|
|
47
|
+
"expo-haptics": "*"
|
|
40
48
|
},
|
|
41
49
|
"peerDependenciesMeta": {
|
|
42
50
|
"livekit-client": {
|
|
43
|
-
|
|
51
|
+
"optional": true
|
|
52
|
+
},
|
|
53
|
+
"expo-audio": {
|
|
54
|
+
"optional": true
|
|
55
|
+
},
|
|
56
|
+
"react-native-svg": {
|
|
57
|
+
"optional": true
|
|
58
|
+
},
|
|
59
|
+
"nativewind": {
|
|
60
|
+
"optional": true
|
|
61
|
+
},
|
|
62
|
+
"clsx": {
|
|
63
|
+
"optional": true
|
|
64
|
+
},
|
|
65
|
+
"tailwind-merge": {
|
|
66
|
+
"optional": true
|
|
67
|
+
},
|
|
68
|
+
"class-variance-authority": {
|
|
69
|
+
"optional": true
|
|
70
|
+
},
|
|
71
|
+
"zeego": {
|
|
72
|
+
"optional": true
|
|
73
|
+
},
|
|
74
|
+
"expo-image": {
|
|
75
|
+
"optional": true
|
|
76
|
+
},
|
|
77
|
+
"expo-image-picker": {
|
|
78
|
+
"optional": true
|
|
79
|
+
},
|
|
80
|
+
"expo-document-picker": {
|
|
81
|
+
"optional": true
|
|
82
|
+
},
|
|
83
|
+
"expo-clipboard": {
|
|
84
|
+
"optional": true
|
|
85
|
+
},
|
|
86
|
+
"lucide-react-native": {
|
|
87
|
+
"optional": true
|
|
88
|
+
},
|
|
89
|
+
"@radix-ui/react-dropdown-menu": {
|
|
90
|
+
"optional": true
|
|
91
|
+
},
|
|
92
|
+
"expo-haptics": {
|
|
93
|
+
"optional": true
|
|
94
|
+
}
|
|
44
95
|
},
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
"react-native-svg": {
|
|
49
|
-
"optional": true
|
|
50
|
-
},
|
|
51
|
-
"nativewind": {
|
|
52
|
-
"optional": true
|
|
53
|
-
},
|
|
54
|
-
"clsx": {
|
|
55
|
-
"optional": true
|
|
56
|
-
},
|
|
57
|
-
"tailwind-merge": {
|
|
58
|
-
"optional": true
|
|
59
|
-
},
|
|
60
|
-
"class-variance-authority": {
|
|
61
|
-
"optional": true
|
|
62
|
-
},
|
|
63
|
-
"zeego": {
|
|
64
|
-
"optional": true
|
|
65
|
-
},
|
|
66
|
-
"expo-image": {
|
|
67
|
-
"optional": true
|
|
68
|
-
},
|
|
69
|
-
"expo-image-picker": {
|
|
70
|
-
"optional": true
|
|
71
|
-
},
|
|
72
|
-
"expo-document-picker": {
|
|
73
|
-
"optional": true
|
|
74
|
-
},
|
|
75
|
-
"expo-clipboard": {
|
|
76
|
-
"optional": true
|
|
77
|
-
},
|
|
78
|
-
"lucide-react-native": {
|
|
79
|
-
"optional": true
|
|
80
|
-
},
|
|
81
|
-
"@radix-ui/react-dropdown-menu": {
|
|
82
|
-
"optional": true
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
"devDependencies": {
|
|
86
|
-
"typescript": "^5.9.3"
|
|
87
|
-
}
|
|
96
|
+
"devDependencies": {
|
|
97
|
+
"typescript": "^5.9.3"
|
|
98
|
+
}
|
|
88
99
|
}
|