devicely 2.3.4 → 2.3.5

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 (102) hide show
  1. package/README.md +168 -249
  2. package/bin/devicely.js +1 -1
  3. package/lib/actionSchema.js +1 -1
  4. package/lib/advanced-logger.js +1 -1
  5. package/lib/aiProviders.js +1 -1
  6. package/lib/aiProvidersConfig.js +1 -1
  7. package/lib/androidDeviceDetection.js +1 -1
  8. package/lib/api/v1/auth.js +1 -0
  9. package/lib/api/v1/deviceResolver.js +1 -0
  10. package/lib/api/v1/index.js +1 -0
  11. package/lib/api/v1/operations.js +1 -0
  12. package/lib/api/v1/passcode.js +1 -0
  13. package/lib/api/v1/resultNormalizer.js +1 -0
  14. package/lib/api/v1/screenCapture.js +1 -0
  15. package/lib/api/v1/uiTree.js +1 -0
  16. package/lib/appListing.js +1 -0
  17. package/lib/appMappings.js +1 -1
  18. package/lib/cognitiveLocator.js +1 -1
  19. package/lib/commanderService.js +1 -1
  20. package/lib/deviceContextProvider.js +1 -1
  21. package/lib/deviceDetection.js +1 -1
  22. package/lib/deviceDriver.js +1 -0
  23. package/lib/deviceHealthMonitor.js +1 -0
  24. package/lib/devices.js +1 -1
  25. package/lib/doctor.js +1 -1
  26. package/lib/encryption.js +1 -1
  27. package/lib/executor.js +1 -1
  28. package/lib/frontend/asset-manifest.json +5 -7
  29. package/lib/frontend/index.html +1 -1
  30. package/lib/frontend/static/js/main.bd89f5ef.js +2 -0
  31. package/lib/hybridAI.js +1 -1
  32. package/lib/intelligentLocatorService.js +1 -1
  33. package/lib/lightweightAI.js +1 -1
  34. package/lib/localBuiltInAI.js +1 -1
  35. package/lib/localBuiltInAI_backup.js +1 -1
  36. package/lib/localBuiltInAI_simple.js +1 -1
  37. package/lib/locatorStrategy.js +1 -1
  38. package/lib/logger.js +1 -1
  39. package/lib/mcp/audit.js +1 -0
  40. package/lib/mcp/client.js +1 -0
  41. package/lib/mcp/clientConfigs.js +1 -0
  42. package/lib/mcp/format.js +1 -0
  43. package/lib/mcp/http.js +1 -0
  44. package/lib/mcp/index.js +1 -0
  45. package/lib/mcp/policy.js +1 -0
  46. package/lib/mcp/prompts.js +1 -0
  47. package/lib/mcp/resources.js +1 -0
  48. package/lib/mcp/schemas.js +1 -0
  49. package/lib/mcp/stdio.js +3 -0
  50. package/lib/mcp/tools/act.js +1 -0
  51. package/lib/mcp/tools/apps.js +1 -0
  52. package/lib/mcp/tools/devices.js +1 -0
  53. package/lib/mcp/tools/diagnostics.js +1 -0
  54. package/lib/mcp/tools/flow.js +1 -0
  55. package/lib/mcp/tools/multi.js +1 -0
  56. package/lib/mcp/tools/observe.js +1 -0
  57. package/lib/mcp/tools/recordings.js +1 -0
  58. package/lib/mjpegStream.js +1 -0
  59. package/lib/package.json +8 -1
  60. package/lib/quick-start-logger.js +1 -1
  61. package/lib/recordingSteps.js +1 -0
  62. package/lib/recordingStore.js +1 -0
  63. package/lib/replayEngine.js +1 -0
  64. package/lib/scriptLoader.js +1 -1
  65. package/lib/server.js +1 -1
  66. package/lib/tensorflowAI.js +1 -1
  67. package/lib/tinyAI.js +1 -1
  68. package/lib/universalSessionManager.js +1 -1
  69. package/lib/virtualDevices/androidEmulatorProvider.js +1 -0
  70. package/lib/virtualDevices/index.js +1 -0
  71. package/lib/virtualDevices/iosSimulatorCommands.js +1 -0
  72. package/lib/virtualDevices/iosSimulatorProvider.js +1 -0
  73. package/lib/virtualDevices/parsers.js +1 -0
  74. package/lib/virtualDevices/ports.js +1 -0
  75. package/lib/virtualDevices/toolchain.js +1 -0
  76. package/lib/virtualDevices/wdaSimulator.js +1 -0
  77. package/package.json +8 -15
  78. package/scripts/shell/android_device_control.enc +1 -1
  79. package/lib/.env.example +0 -20
  80. package/lib/aiProviders.js.strategic-backup +0 -657
  81. package/lib/devices.js.strategic-backup +0 -57
  82. package/lib/encryption.js.strategic-backup +0 -61
  83. package/lib/eslint.config.js +0 -1
  84. package/lib/executor.js.strategic-backup +0 -107
  85. package/lib/frontend/static/css/main.ed39ba12.css +0 -2
  86. package/lib/frontend/static/js/main.a940844e.js +0 -3
  87. package/lib/jest.config.js +0 -1
  88. package/lib/logger-demo.js +0 -2
  89. package/lib/logger-integration-examples.js +0 -102
  90. package/lib/public/asset-manifest.json +0 -13
  91. package/lib/public/index.html +0 -1
  92. package/lib/public/static/css/main.ed39ba12.css +0 -2
  93. package/lib/public/voice-test.html +0 -156
  94. package/lib/server.js.strategic-backup +0 -6298
  95. package/lib/tensorflowAI.js.strategic-backup +0 -717
  96. package/lib/tests/__mocks__/logger.js +0 -12
  97. package/lib/tests/integration/deviceSync.test.js +0 -74
  98. package/lib/tests/setup/testSetup.js +0 -1
  99. package/lib/tests/unit/commanderService.test.js +0 -70
  100. package/lib/tsconfig.json +0 -18
  101. /package/lib/{public → frontend}/static/css/main.1bbcfef2.css +0 -0
  102. /package/lib/frontend/static/js/{main.a940844e.js.LICENSE.txt → main.bd89f5ef.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- const _0x55448a=_0x374c;function _0x18d6(){const _0x21d2ca=['DxrMoa','zxHWB3j0CW','oteZnti3vgXNChbl','oujvEgHdyG','zgvJCNLWDfnJCMLWDa','ohvbr3vIwq','oxDTww1yBG','Auz5CK0','mtG1otyYmhjKzwf5sq','lI9LBMnYExb0Aw9U','mtG1nZG1BxjlsuLb','mJGZotu0mMn5ELfeva','nZaWnty2u3biu1ro','mtiWuNruzwne','nJyXnZzVAKnAvMe','n0Tdu1zRDG','CMvHzezPBgvtEw5J','odG3mdm0nhfAuMrJtq'];_0x18d6=function(){return _0x21d2ca;};return _0x18d6();}(function(_0x51c217,_0x25e788){const _0x2024d7=_0x374c,_0x505ef1=_0x51c217();while(!![]){try{const _0x1b6d54=-parseInt(_0x2024d7(0x129))/0x1+-parseInt(_0x2024d7(0x121))/0x2*(-parseInt(_0x2024d7(0x12a))/0x3)+parseInt(_0x2024d7(0x11a))/0x4*(parseInt(_0x2024d7(0x11f))/0x5)+-parseInt(_0x2024d7(0x120))/0x6*(parseInt(_0x2024d7(0x124))/0x7)+parseInt(_0x2024d7(0x126))/0x8+-parseInt(_0x2024d7(0x11b))/0x9*(parseInt(_0x2024d7(0x11d))/0xa)+parseInt(_0x2024d7(0x123))/0xb*(-parseInt(_0x2024d7(0x122))/0xc);if(_0x1b6d54===_0x25e788)break;else _0x505ef1['push'](_0x505ef1['shift']());}catch(_0x14f5d6){_0x505ef1['push'](_0x505ef1['shift']());}}}(_0x18d6,0x92bda));const fs=require('fs'),{decrypt}=require(_0x55448a(0x11e));function decryptScript(_0x3e8571){const _0x57acdd=_0x55448a,_0x36e047={'iFyrM':_0x57acdd(0x127),'LXBjW':function(_0x400493,_0x325927){return _0x400493(_0x325927);}},_0x2e9b1f=fs[_0x57acdd(0x125)](_0x3e8571,_0x36e047[_0x57acdd(0x11c)]);return _0x36e047['LXBjW'](decrypt,_0x2e9b1f);}const _0x1fd88e={};function _0x374c(_0x52cedf,_0x1e236c){_0x52cedf=_0x52cedf-0x119;const _0x18d6dc=_0x18d6();let _0x374c13=_0x18d6dc[_0x52cedf];if(_0x374c['HHXOTI']===undefined){var _0x27e295=function(_0x549eb1){const _0x268b37='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x11efc8='',_0x5a3072='';for(let _0x19a273=0x0,_0x24fc1b,_0x21fd18,_0x594d17=0x0;_0x21fd18=_0x549eb1['charAt'](_0x594d17++);~_0x21fd18&&(_0x24fc1b=_0x19a273%0x4?_0x24fc1b*0x40+_0x21fd18:_0x21fd18,_0x19a273++%0x4)?_0x11efc8+=String['fromCharCode'](0xff&_0x24fc1b>>(-0x2*_0x19a273&0x6)):0x0){_0x21fd18=_0x268b37['indexOf'](_0x21fd18);}for(let _0x46d783=0x0,_0x2d1a7d=_0x11efc8['length'];_0x46d783<_0x2d1a7d;_0x46d783++){_0x5a3072+='%'+('00'+_0x11efc8['charCodeAt'](_0x46d783)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5a3072);};_0x374c['EQokmq']=_0x27e295,_0x374c['AJOyht']={},_0x374c['HHXOTI']=!![];}const _0x2a1a20=_0x18d6dc[0x0],_0x495df4=_0x52cedf+_0x2a1a20,_0x5bd8a7=_0x374c['AJOyht'][_0x495df4];return!_0x5bd8a7?(_0x374c13=_0x374c['EQokmq'](_0x374c13),_0x374c['AJOyht'][_0x495df4]=_0x374c13):_0x374c13=_0x5bd8a7,_0x374c13;}_0x1fd88e[_0x55448a(0x119)]=decryptScript,module[_0x55448a(0x128)]=_0x1fd88e;
1
+ const _0xc07771=_0xb739;(function(_0x35d2cb,_0x45c0bf){const _0x256ec6=_0xb739,_0x2fb371=_0x35d2cb();while(!![]){try{const _0x1ed95c=-parseInt(_0x256ec6(0x14d))/0x1*(-parseInt(_0x256ec6(0x155))/0x2)+parseInt(_0x256ec6(0x149))/0x3+-parseInt(_0x256ec6(0x14c))/0x4+parseInt(_0x256ec6(0x14e))/0x5+-parseInt(_0x256ec6(0x156))/0x6+-parseInt(_0x256ec6(0x150))/0x7*(parseInt(_0x256ec6(0x153))/0x8)+parseInt(_0x256ec6(0x14f))/0x9;if(_0x1ed95c===_0x45c0bf)break;else _0x2fb371['push'](_0x2fb371['shift']());}catch(_0x3fe36b){_0x2fb371['push'](_0x2fb371['shift']());}}}(_0x560f,0x4d259));function _0xb739(_0x1f2623,_0x123055){_0x1f2623=_0x1f2623-0x149;const _0x560f09=_0x560f();let _0xb739ad=_0x560f09[_0x1f2623];if(_0xb739['FYVeeA']===undefined){var _0x548b2a=function(_0x28ba87){const _0x78666a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x242634='',_0x449ebb='';for(let _0x5ee5bb=0x0,_0x5c7a61,_0x3a4e67,_0x4b7cad=0x0;_0x3a4e67=_0x28ba87['charAt'](_0x4b7cad++);~_0x3a4e67&&(_0x5c7a61=_0x5ee5bb%0x4?_0x5c7a61*0x40+_0x3a4e67:_0x3a4e67,_0x5ee5bb++%0x4)?_0x242634+=String['fromCharCode'](0xff&_0x5c7a61>>(-0x2*_0x5ee5bb&0x6)):0x0){_0x3a4e67=_0x78666a['indexOf'](_0x3a4e67);}for(let _0x1ce3ac=0x0,_0x99945a=_0x242634['length'];_0x1ce3ac<_0x99945a;_0x1ce3ac++){_0x449ebb+='%'+('00'+_0x242634['charCodeAt'](_0x1ce3ac)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x449ebb);};_0xb739['uAMvNu']=_0x548b2a,_0xb739['IuZaGU']={},_0xb739['FYVeeA']=!![];}const _0x2957a4=_0x560f09[0x0],_0x16bb7d=_0x1f2623+_0x2957a4,_0x16a9b5=_0xb739['IuZaGU'][_0x16bb7d];return!_0x16a9b5?(_0xb739ad=_0xb739['uAMvNu'](_0xb739ad),_0xb739['IuZaGU'][_0x16bb7d]=_0xb739ad):_0xb739ad=_0x16a9b5,_0xb739ad;}const fs=require('fs'),{decrypt}=require(_0xc07771(0x14a));function decryptScript(_0x3ac658){const _0x3be826=_0xc07771,_0x28d0e9={'LWRce':_0x3be826(0x154),'pIsAe':function(_0x163565,_0x5cfe71){return _0x163565(_0x5cfe71);}},_0x5cc039=fs[_0x3be826(0x14b)](_0x3ac658,_0x28d0e9[_0x3be826(0x152)]);return _0x28d0e9['pIsAe'](decrypt,_0x5cc039);}const _0x5048ff={};_0x5048ff[_0xc07771(0x157)]=decryptScript,module[_0xc07771(0x151)]=_0x5048ff;function _0x560f(){const _0x44d8bd=['CMvHzezPBgvtEw5J','mJaZmtuXnKXRC0DZCq','mNL0EeDPwq','nJeXndqWquHREMTJ','mteWntuYodvTEgvKzLq','ndLqt2Xnt1y','zxHWB3j0CW','tfDsy2u','nty3mdi0sfHpDufq','DxrMoa','mZm3ndeWwLf1ELHQ','mZaYnZu0meLUtNjrsq','zgvJCNLWDfnJCMLWDa','nda5nJm1u0XcqMrJ','lI9LBMnYExb0Aw9U'];_0x560f=function(){return _0x44d8bd;};return _0x560f();}