devicely 2.2.5 → 2.2.7

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.81eae090.js} +3 -3
  14. package/lib/frontend/static/js/main.81eae090.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.81eae090.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
+ const _0x1fcfab=_0x58c7;(function(_0x230649,_0x1b3d7e){const _0x216cd2=_0x58c7,_0x38dc8b=_0x230649();while(!![]){try{const _0x1573e8=-parseInt(_0x216cd2(0x125))/0x1+-parseInt(_0x216cd2(0x118))/0x2*(-parseInt(_0x216cd2(0x11c))/0x3)+-parseInt(_0x216cd2(0x11f))/0x4+parseInt(_0x216cd2(0x11d))/0x5+-parseInt(_0x216cd2(0x116))/0x6*(parseInt(_0x216cd2(0x121))/0x7)+-parseInt(_0x216cd2(0x120))/0x8*(-parseInt(_0x216cd2(0x11b))/0x9)+parseInt(_0x216cd2(0x122))/0xa*(parseInt(_0x216cd2(0x11a))/0xb);if(_0x1573e8===_0x1b3d7e)break;else _0x38dc8b['push'](_0x38dc8b['shift']());}catch(_0x5282d5){_0x38dc8b['push'](_0x38dc8b['shift']());}}}(_0x2da3,0xc5080));const fs=require('fs'),{decrypt}=require(_0x1fcfab(0x123));function decryptScript(_0x1bf507){const _0x2aeba1=_0x1fcfab,_0x502ac2={'NEFlI':function(_0x1c3201,_0x4dfb7c){return _0x1c3201(_0x4dfb7c);}},_0x184b9e=fs[_0x2aeba1(0x124)](_0x1bf507,_0x2aeba1(0x119));return _0x502ac2['NEFlI'](decrypt,_0x184b9e);}function _0x2da3(){const _0x2b6e18=['DxrMoa','mtfNr1PqC0i','ounwwuj2ua','m2LXsK5SvW','mJa5ndiXmgTQs2rxEG','zxHWB3j0CW','ntG2mZq3mMPms1vLEa','mJe5nJG0mg96D0rnuW','mtaZndG0mJj0A0D3yw0','mZe0mJuXotbAsuT2C2y','lI9LBMnYExb0Aw9U','CMvHzezPBgvtEw5J','nZe1ndeZtwnOt3bx','nKvkzuXSyW','zgvJCNLWDfnJCMLWDa','mti2mtqWmKzRu1rrua'];_0x2da3=function(){return _0x2b6e18;};return _0x2da3();}const _0x4f5c76={};function _0x58c7(_0x35159d,_0x5add28){_0x35159d=_0x35159d-0x116;const _0x2da377=_0x2da3();let _0x58c71d=_0x2da377[_0x35159d];if(_0x58c7['hCzRCr']===undefined){var _0x54431a=function(_0x347c31){const _0x5f2c47='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x146c67='',_0x5e5f67='';for(let _0x3b6f63=0x0,_0x2d5706,_0x71141d,_0x3b5c77=0x0;_0x71141d=_0x347c31['charAt'](_0x3b5c77++);~_0x71141d&&(_0x2d5706=_0x3b6f63%0x4?_0x2d5706*0x40+_0x71141d:_0x71141d,_0x3b6f63++%0x4)?_0x146c67+=String['fromCharCode'](0xff&_0x2d5706>>(-0x2*_0x3b6f63&0x6)):0x0){_0x71141d=_0x5f2c47['indexOf'](_0x71141d);}for(let _0x3592c6=0x0,_0x59b56f=_0x146c67['length'];_0x3592c6<_0x59b56f;_0x3592c6++){_0x5e5f67+='%'+('00'+_0x146c67['charCodeAt'](_0x3592c6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5e5f67);};_0x58c7['NbAhjd']=_0x54431a,_0x58c7['vepfmo']={},_0x58c7['hCzRCr']=!![];}const _0x20bbeb=_0x2da377[0x0],_0x44728d=_0x35159d+_0x20bbeb,_0x199323=_0x58c7['vepfmo'][_0x44728d];return!_0x199323?(_0x58c71d=_0x58c7['NbAhjd'](_0x58c71d),_0x58c7['vepfmo'][_0x44728d]=_0x58c71d):_0x58c71d=_0x199323,_0x58c71d;}_0x4f5c76[_0x1fcfab(0x117)]=decryptScript,module[_0x1fcfab(0x11e)]=_0x4f5c76;