samarthya-bot 1.1.4 → 2.1.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/README.md +274 -98
- package/backend/.env.example +31 -7
- package/backend/bin/samarthya.js +660 -267
- package/backend/package-lock.json +47 -25
- package/backend/package.json +4 -3
- package/backend/public/assets/index-BFRAq8Y1.js +149 -0
- package/backend/public/index.html +1 -1
- package/backend/server.js +70 -22
- package/backend/server.log +29 -0
- package/backend/services/agent/spawnService.js +140 -0
- package/backend/services/discord/discordService.js +188 -0
- package/backend/services/heartbeat/heartbeatService.js +157 -0
- package/backend/services/llm/llmService.js +118 -1
- package/backend/services/security/sandboxService.js +115 -0
- package/backend/services/voice/voiceService.js +151 -0
- package/package.json +2 -2
- package/server.log +35 -0
|
@@ -26,7 +26,8 @@
|
|
|
26
26
|
"puppeteer-core": "^24.37.5",
|
|
27
27
|
"screenshot-desktop": "^1.15.3",
|
|
28
28
|
"socket.io": "^4.8.3",
|
|
29
|
-
"uuid": "^13.0.0"
|
|
29
|
+
"uuid": "^13.0.0",
|
|
30
|
+
"ws": "^8.19.0"
|
|
30
31
|
},
|
|
31
32
|
"bin": {
|
|
32
33
|
"samarthya": "bin/samarthya.js",
|
|
@@ -1041,6 +1042,27 @@
|
|
|
1041
1042
|
"node": ">= 0.6"
|
|
1042
1043
|
}
|
|
1043
1044
|
},
|
|
1045
|
+
"node_modules/engine.io/node_modules/ws": {
|
|
1046
|
+
"version": "8.18.3",
|
|
1047
|
+
"resolved": "https://registry.npmjs.org/ws/-/ws-8.18.3.tgz",
|
|
1048
|
+
"integrity": "sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==",
|
|
1049
|
+
"license": "MIT",
|
|
1050
|
+
"engines": {
|
|
1051
|
+
"node": ">=10.0.0"
|
|
1052
|
+
},
|
|
1053
|
+
"peerDependencies": {
|
|
1054
|
+
"bufferutil": "^4.0.1",
|
|
1055
|
+
"utf-8-validate": ">=5.0.2"
|
|
1056
|
+
},
|
|
1057
|
+
"peerDependenciesMeta": {
|
|
1058
|
+
"bufferutil": {
|
|
1059
|
+
"optional": true
|
|
1060
|
+
},
|
|
1061
|
+
"utf-8-validate": {
|
|
1062
|
+
"optional": true
|
|
1063
|
+
}
|
|
1064
|
+
}
|
|
1065
|
+
},
|
|
1044
1066
|
"node_modules/es-define-property": {
|
|
1045
1067
|
"version": "1.0.1",
|
|
1046
1068
|
"resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",
|
|
@@ -2643,27 +2665,6 @@
|
|
|
2643
2665
|
"node": ">=18"
|
|
2644
2666
|
}
|
|
2645
2667
|
},
|
|
2646
|
-
"node_modules/puppeteer-core/node_modules/ws": {
|
|
2647
|
-
"version": "8.19.0",
|
|
2648
|
-
"resolved": "https://registry.npmjs.org/ws/-/ws-8.19.0.tgz",
|
|
2649
|
-
"integrity": "sha512-blAT2mjOEIi0ZzruJfIhb3nps74PRWTCz1IjglWEEpQl5XS/UNama6u2/rjFkDDouqr4L67ry+1aGIALViWjDg==",
|
|
2650
|
-
"license": "MIT",
|
|
2651
|
-
"engines": {
|
|
2652
|
-
"node": ">=10.0.0"
|
|
2653
|
-
},
|
|
2654
|
-
"peerDependencies": {
|
|
2655
|
-
"bufferutil": "^4.0.1",
|
|
2656
|
-
"utf-8-validate": ">=5.0.2"
|
|
2657
|
-
},
|
|
2658
|
-
"peerDependenciesMeta": {
|
|
2659
|
-
"bufferutil": {
|
|
2660
|
-
"optional": true
|
|
2661
|
-
},
|
|
2662
|
-
"utf-8-validate": {
|
|
2663
|
-
"optional": true
|
|
2664
|
-
}
|
|
2665
|
-
}
|
|
2666
|
-
},
|
|
2667
2668
|
"node_modules/qs": {
|
|
2668
2669
|
"version": "6.15.0",
|
|
2669
2670
|
"resolved": "https://registry.npmjs.org/qs/-/qs-6.15.0.tgz",
|
|
@@ -3031,6 +3032,27 @@
|
|
|
3031
3032
|
"ws": "~8.18.3"
|
|
3032
3033
|
}
|
|
3033
3034
|
},
|
|
3035
|
+
"node_modules/socket.io-adapter/node_modules/ws": {
|
|
3036
|
+
"version": "8.18.3",
|
|
3037
|
+
"resolved": "https://registry.npmjs.org/ws/-/ws-8.18.3.tgz",
|
|
3038
|
+
"integrity": "sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==",
|
|
3039
|
+
"license": "MIT",
|
|
3040
|
+
"engines": {
|
|
3041
|
+
"node": ">=10.0.0"
|
|
3042
|
+
},
|
|
3043
|
+
"peerDependencies": {
|
|
3044
|
+
"bufferutil": "^4.0.1",
|
|
3045
|
+
"utf-8-validate": ">=5.0.2"
|
|
3046
|
+
},
|
|
3047
|
+
"peerDependenciesMeta": {
|
|
3048
|
+
"bufferutil": {
|
|
3049
|
+
"optional": true
|
|
3050
|
+
},
|
|
3051
|
+
"utf-8-validate": {
|
|
3052
|
+
"optional": true
|
|
3053
|
+
}
|
|
3054
|
+
}
|
|
3055
|
+
},
|
|
3034
3056
|
"node_modules/socket.io-parser": {
|
|
3035
3057
|
"version": "4.2.5",
|
|
3036
3058
|
"resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.5.tgz",
|
|
@@ -3646,9 +3668,9 @@
|
|
|
3646
3668
|
"license": "ISC"
|
|
3647
3669
|
},
|
|
3648
3670
|
"node_modules/ws": {
|
|
3649
|
-
"version": "8.
|
|
3650
|
-
"resolved": "https://registry.npmjs.org/ws/-/ws-8.
|
|
3651
|
-
"integrity": "sha512-
|
|
3671
|
+
"version": "8.19.0",
|
|
3672
|
+
"resolved": "https://registry.npmjs.org/ws/-/ws-8.19.0.tgz",
|
|
3673
|
+
"integrity": "sha512-blAT2mjOEIi0ZzruJfIhb3nps74PRWTCz1IjglWEEpQl5XS/UNama6u2/rjFkDDouqr4L67ry+1aGIALViWjDg==",
|
|
3652
3674
|
"license": "MIT",
|
|
3653
3675
|
"engines": {
|
|
3654
3676
|
"node": ">=10.0.0"
|
package/backend/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "samarthya-agent",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"main": "server.js",
|
|
5
5
|
"bin": {
|
|
6
6
|
"samarthya": "./bin/samarthya.js",
|
|
@@ -33,9 +33,10 @@
|
|
|
33
33
|
"puppeteer-core": "^24.37.5",
|
|
34
34
|
"screenshot-desktop": "^1.15.3",
|
|
35
35
|
"socket.io": "^4.8.3",
|
|
36
|
-
"uuid": "^13.0.0"
|
|
36
|
+
"uuid": "^13.0.0",
|
|
37
|
+
"ws": "^8.19.0"
|
|
37
38
|
},
|
|
38
39
|
"devDependencies": {
|
|
39
40
|
"nodemon": "^3.1.14"
|
|
40
41
|
}
|
|
41
|
-
}
|
|
42
|
+
}
|