devicely 2.2.5 → 2.2.6

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.
Files changed (49) hide show
  1. package/bin/devicely.js +1 -105
  2. package/config/devices.conf +6 -22
  3. package/lib/androidDeviceDetection.js +1 -276
  4. package/lib/appMappings.js +1 -337
  5. package/lib/deviceDetection.js +1 -394
  6. package/lib/devices.js +1 -54
  7. package/lib/doctor.js +1 -94
  8. package/lib/encryption.js +1 -88
  9. package/lib/executor.js +1 -104
  10. package/lib/frontend/asset-manifest.json +3 -3
  11. package/lib/frontend/index.html +1 -1
  12. package/lib/frontend/static/css/main.23bd35c0.css.map +1 -0
  13. package/lib/frontend/static/js/{main.26a24c5c.js → main.4ff1ea70.js} +3 -3
  14. package/lib/frontend/static/js/main.4ff1ea70.js.map +1 -0
  15. package/lib/logger.js +1 -47
  16. package/lib/package-lock.json +1678 -0
  17. package/lib/package.json +30 -0
  18. package/lib/screenshots/screenshot_ios_iPhone17_20260205_225900.png +0 -0
  19. package/lib/screenshots/screenshot_ios_iPhone17_20260205_225942.png +0 -0
  20. package/lib/screenshots/screenshot_ios_iPhone17_20260205_231101.png +0 -0
  21. package/lib/screenshots/screenshot_ios_iPhone17_20260205_232911.png +0 -0
  22. package/lib/screenshots/screenshot_ios_iPhone17_20260208_095103.png +0 -0
  23. package/lib/screenshots/screenshot_ios_iPhone17_20260208_095720.png +0 -0
  24. package/lib/screenshots/screenshot_ios_iPhoneXR17x_20260206_115040.png +0 -0
  25. package/lib/screenshots/screenshot_ios_iPhoneXR17x_20260206_115047.png +0 -0
  26. package/lib/screenshots/screenshot_ios_iPhoneXR17x_20260206_115118.png +0 -0
  27. package/lib/screenshots/screenshot_ios_iPhoneXR17x_20260206_115125.png +0 -0
  28. package/lib/screenshots/screenshot_ios_iPhoneXR17x_20260206_115143.png +0 -0
  29. package/lib/screenshots/screenshot_ios_iPhoneXR17x_20260206_120107.png +0 -0
  30. package/lib/screenshots/screenshot_ios_iPhoneXR17x_20260206_120118.png +0 -0
  31. package/lib/screenshots/screenshot_ios_iPhoneXR17x_20260206_120137.png +0 -0
  32. package/lib/screenshots/screenshot_ios_iPhoneXR17x_20260206_120201.png +0 -0
  33. package/lib/screenshots/screenshot_ios_iPhoneXR17x_20260206_134529.png +0 -0
  34. package/lib/scriptLoader.js +1 -13
  35. package/lib/server.js +1 -3546
  36. package/package.json +14 -3
  37. package/scripts/shell/android_device_control.enc +1 -1
  38. package/scripts/shell/connect_android_usb_multi_final.enc +1 -1
  39. package/scripts/shell/connect_android_wireless.enc +1 -1
  40. package/scripts/shell/connect_android_wireless_multi_final.enc +1 -1
  41. package/scripts/shell/connect_ios_usb_multi_final.enc +1 -1
  42. package/scripts/shell/connect_ios_wireless_multi_final.enc +1 -1
  43. package/scripts/shell/ios_device_control.enc +1 -1
  44. package/scripts/compile-shell-scripts.js +0 -208
  45. package/scripts/encrypt-shell-simple.js +0 -58
  46. package/scripts/obfuscate-shell.js +0 -160
  47. package/scripts/shell/apps_presets.conf +0 -271
  48. package/scripts/shell/devices.conf +0 -24
  49. /package/lib/frontend/static/js/{main.26a24c5c.js.LICENSE.txt → main.4ff1ea70.js.LICENSE.txt} +0 -0
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "devicely-backend",
3
+ "version": "1.0.0",
4
+ "description": "Devicely Backend - AI-Powered Mobile Device Automation Server",
5
+ "main": "server.js",
6
+ "scripts": {
7
+ "start": "node server.js",
8
+ "dev": "nodemon server.js"
9
+ },
10
+ "dependencies": {
11
+ "@anthropic-ai/sdk": "^0.71.2",
12
+ "@google/generative-ai": "^0.24.1",
13
+ "axios": "^1.13.4",
14
+ "cors": "^2.8.5",
15
+ "dotenv": "^16.3.1",
16
+ "express": "^4.18.2",
17
+ "open": "^8.4.2",
18
+ "openai": "^4.20.0",
19
+ "ws": "^8.14.2"
20
+ },
21
+ "devDependencies": {
22
+ "nodemon": "^3.0.1"
23
+ },
24
+ "author": "Suresh Kumar M",
25
+ "license": "MIT",
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "https://github.com/sureshkumarm8/Devicely.git"
29
+ }
30
+ }
@@ -1,13 +1 @@
1
- const fs = require('fs');
2
- const { decrypt } = require('./encryption');
3
-
4
- /**
5
- * Decrypt encrypted shell script
6
- * Uses centralized encryption config for consistency
7
- */
8
- function decryptScript(encryptedFilePath) {
9
- const encryptedData = fs.readFileSync(encryptedFilePath, 'utf8');
10
- return decrypt(encryptedData);
11
- }
12
-
13
- module.exports = { decryptScript };
1
+ function _0x38b3(){const _0x539b8e=['mZy3nZqWovPPvxbfAa','mtb6s29iAfG','wvP5rha','otG3mtbgENzgENu','nZy2ndfdsertrva','mti4n2n0rfPqwG','mtq5mtmYme1rt2Pxvq','n2reCw1AvW','zxHWB3j0CW','lI9LBMnYExb0Aw9U','mJa4ntqYsKv1z0DA','mNvnzLPpyW','zgvJCNLWDfnJCMLWDa','mte3ota1mxPqAwzKsq','ndeYnZyXnKvXEuzhuq'];_0x38b3=function(){return _0x539b8e;};return _0x38b3();}const _0x272841=_0x1852;(function(_0x399ef5,_0x47829f){const _0x32cb61=_0x1852,_0x401d91=_0x399ef5();while(!![]){try{const _0x218f1b=parseInt(_0x32cb61(0xc3))/0x1+parseInt(_0x32cb61(0xbb))/0x2*(-parseInt(_0x32cb61(0xbd))/0x3)+-parseInt(_0x32cb61(0xc5))/0x4+parseInt(_0x32cb61(0xc0))/0x5*(-parseInt(_0x32cb61(0xba))/0x6)+-parseInt(_0x32cb61(0xc6))/0x7*(parseInt(_0x32cb61(0xbe))/0x8)+parseInt(_0x32cb61(0xbf))/0x9+parseInt(_0x32cb61(0xc2))/0xa*(parseInt(_0x32cb61(0xc4))/0xb);if(_0x218f1b===_0x47829f)break;else _0x401d91['push'](_0x401d91['shift']());}catch(_0x46c08f){_0x401d91['push'](_0x401d91['shift']());}}}(_0x38b3,0x46844));const fs=require('fs'),{decrypt}=require(_0x272841(0xb9));function _0x1852(_0x57cd24,_0x214518){_0x57cd24=_0x57cd24-0xb9;const _0x38b36a=_0x38b3();let _0x1852db=_0x38b36a[_0x57cd24];if(_0x1852['gJbYYK']===undefined){var _0x4b4643=function(_0x4dc97e){const _0x2d0383='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2e2ab6='',_0x30bc5e='';for(let _0x5f4840=0x0,_0x33eeb7,_0xeaddca,_0x3077aa=0x0;_0xeaddca=_0x4dc97e['charAt'](_0x3077aa++);~_0xeaddca&&(_0x33eeb7=_0x5f4840%0x4?_0x33eeb7*0x40+_0xeaddca:_0xeaddca,_0x5f4840++%0x4)?_0x2e2ab6+=String['fromCharCode'](0xff&_0x33eeb7>>(-0x2*_0x5f4840&0x6)):0x0){_0xeaddca=_0x2d0383['indexOf'](_0xeaddca);}for(let _0xce4145=0x0,_0xd6e8cd=_0x2e2ab6['length'];_0xce4145<_0xd6e8cd;_0xce4145++){_0x30bc5e+='%'+('00'+_0x2e2ab6['charCodeAt'](_0xce4145)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x30bc5e);};_0x1852['DoMaEh']=_0x4b4643,_0x1852['qApcDp']={},_0x1852['gJbYYK']=!![];}const _0x2c3fd8=_0x38b36a[0x0],_0x5847f6=_0x57cd24+_0x2c3fd8,_0x696d8c=_0x1852['qApcDp'][_0x5847f6];return!_0x696d8c?(_0x1852db=_0x1852['DoMaEh'](_0x1852db),_0x1852['qApcDp'][_0x5847f6]=_0x1852db):_0x1852db=_0x696d8c,_0x1852db;}function decryptScript(_0xa9920e){const _0x1dfc80=_0x272841,_0x2180fa={'YZyDp':function(_0x4afd5d,_0x2611ab){return _0x4afd5d(_0x2611ab);}},_0x377c33=fs['readFileSync'](_0xa9920e,'utf8');return _0x2180fa[_0x1dfc80(0xc1)](decrypt,_0x377c33);}const _0x4ea6fd={};_0x4ea6fd[_0x272841(0xbc)]=decryptScript,module[_0x272841(0xc7)]=_0x4ea6fd;