@ranger-testing/ranger-cli 2.5.4-alpha.1f7a251-7 → 2.5.4-alpha.2709b75-22

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 (83) hide show
  1. package/README.md +36 -14
  2. package/build/cli.js +1 -1
  3. package/build/commands/addEnv.js +1 -1
  4. package/build/commands/authEncrypt.js +1 -1
  5. package/build/commands/clean.js +1 -1
  6. package/build/commands/config.js +1 -1
  7. package/build/commands/deleteProfile.js +1 -0
  8. package/build/commands/env.js +1 -1
  9. package/build/commands/feature.js +1 -1
  10. package/build/commands/hook.js +1 -1
  11. package/build/commands/hooks/autoPrompt.js +1 -1
  12. package/build/commands/hooks/disable.js +1 -1
  13. package/build/commands/hooks/enable.js +1 -1
  14. package/build/commands/hooks/exitPlanMode.js +1 -1
  15. package/build/commands/hooks/index.js +1 -1
  16. package/build/commands/hooks/output.js +1 -1
  17. package/build/commands/hooks/planReminder.js +1 -1
  18. package/build/commands/hooks/planStart.js +1 -1
  19. package/build/commands/hooks/postEdit.js +1 -1
  20. package/build/commands/hooks/preCompact.js +1 -1
  21. package/build/commands/hooks/sessionEnd.js +1 -1
  22. package/build/commands/hooks/sessionStart.js +1 -1
  23. package/build/commands/hooks/stopHook.js +1 -1
  24. package/build/commands/index.js +1 -1
  25. package/build/commands/login.js +1 -1
  26. package/build/commands/mcpBootstrap.js +1 -1
  27. package/build/commands/migrateProfile.js +1 -1
  28. package/build/commands/setup/claude.js +1 -1
  29. package/build/commands/setup/opencode.js +1 -1
  30. package/build/commands/setupCi.js +1 -1
  31. package/build/commands/skillup.js +1 -1
  32. package/build/commands/start.js +1 -1
  33. package/build/commands/status.js +1 -1
  34. package/build/commands/update.js +1 -1
  35. package/build/commands/updateEnv.js +1 -1
  36. package/build/commands/useEnv.js +1 -1
  37. package/build/commands/utils/activeProfile.js +1 -1
  38. package/build/commands/utils/agentEnv.js +1 -1
  39. package/build/commands/utils/browserSessionsApi.js +1 -1
  40. package/build/commands/utils/claudeConfig.js +1 -1
  41. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  42. package/build/commands/utils/claudePlugin.js +1 -1
  43. package/build/commands/utils/cloudProfile.js +1 -1
  44. package/build/commands/utils/cloudProfileSession.js +1 -1
  45. package/build/commands/utils/crypto.js +1 -1
  46. package/build/commands/utils/desirePathLog.js +1 -1
  47. package/build/commands/utils/deviceAuth.js +1 -1
  48. package/build/commands/utils/environment.js +1 -1
  49. package/build/commands/utils/featureApi.js +1 -1
  50. package/build/commands/utils/fixWebmDuration.js +1 -1
  51. package/build/commands/utils/gitTracked.js +1 -1
  52. package/build/commands/utils/keychain.js +1 -1
  53. package/build/commands/utils/legacyWarning.js +1 -0
  54. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  55. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  56. package/build/commands/utils/mcpImageBase64.js +1 -1
  57. package/build/commands/utils/model.js +1 -1
  58. package/build/commands/utils/opencodeConfig.js +1 -1
  59. package/build/commands/utils/playwrightCli.js +1 -1
  60. package/build/commands/utils/profileMessages.js +1 -1
  61. package/build/commands/utils/profileSetupBanner.js +1 -1
  62. package/build/commands/utils/projectsConfig.js +1 -1
  63. package/build/commands/utils/rangerConfig.js +1 -1
  64. package/build/commands/utils/rangerRoot.js +1 -1
  65. package/build/commands/utils/resolveProfileContext.js +1 -1
  66. package/build/commands/utils/resolveProfileUrl.js +1 -1
  67. package/build/commands/utils/retry.js +1 -1
  68. package/build/commands/utils/sessionCache.js +1 -1
  69. package/build/commands/utils/settings.js +1 -1
  70. package/build/commands/utils/skillContent.js +1 -1
  71. package/build/commands/utils/skills.js +1 -1
  72. package/build/commands/utils/stitchWebmFiles.js +1 -1
  73. package/build/commands/utils/telemetry.js +1 -1
  74. package/build/commands/utils/tokenRefresh.js +1 -1
  75. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  76. package/build/commands/utils/userApi.js +1 -1
  77. package/build/commands/utils/version.js +1 -1
  78. package/build/commands/verifyFeature.js +1 -1
  79. package/build/commands/verifyFeatureCli.js +1 -1
  80. package/build/skills/ranger/SKILL.md +24 -8
  81. package/build/skills/ranger/create.md +16 -3
  82. package/build/skills/ranger/verify.md +37 -18
  83. package/package.json +3 -2
@@ -1 +1 @@
1
- function _0x3690(_0x115241,_0x1d31bc){_0x115241=_0x115241-0x1e2;const _0x405546=_0x4055();let _0x3690f6=_0x405546[_0x115241];return _0x3690f6;}(function(_0x36cc45,_0x36dcb2){const _0x243729=_0x3690,_0x145290=_0x36cc45();while(!![]){try{const _0x317776=-parseInt(_0x243729(0x1e9))/0x1+-parseInt(_0x243729(0x20f))/0x2*(-parseInt(_0x243729(0x202))/0x3)+parseInt(_0x243729(0x1e5))/0x4+-parseInt(_0x243729(0x20d))/0x5*(parseInt(_0x243729(0x1e6))/0x6)+parseInt(_0x243729(0x211))/0x7*(-parseInt(_0x243729(0x1f0))/0x8)+-parseInt(_0x243729(0x1f5))/0x9+parseInt(_0x243729(0x208))/0xa;if(_0x317776===_0x36dcb2)break;else _0x145290['push'](_0x145290['shift']());}catch(_0x55fb06){_0x145290['push'](_0x145290['shift']());}}}(_0x4055,0x4f679));function _0x4055(){const _0x1c0ae9=['beforeSnapshot','515448uWVoPO','jAcLk','length','callId','startTime','endTime','13182620NjYcNq','AxgpS','indexOf','goto','afterSnapshot','644375LgBEhN','inputSnapshot','2KhXItZ','frame-snapshot','1652TZHlrf','frameUrl','DoaXc','push','rqHto','params','1636852GEXXnS','30ZRrmeS','abs','wnnYj','421080DZXxKh','string','xUirr','ABMPs','get','sort','event','14736zjnGin','from','point','method','url','664947RjDvbl','wallTime','pageId','zUfdr','set','pekig','monotonicTime','PqHbX','type','hxyyd','stepId','isDirectory'];_0x4055=function(){return _0x1c0ae9;};return _0x4055();}import{readdir,readFile}from'fs/promises';import{join}from'path';export async function mapStepsToTraceSnapshots(_0x1e0fdd,_0x425a4e){const _0x340821=_0x3690,_0xa8fa4c={'hxyyd':'.trace','xNUvk':function(_0x8d263e,_0x3ddd40){return _0x8d263e(_0x3ddd40);},'TAyYD':function(_0x491144,_0x2f394f){return _0x491144===_0x2f394f;},'DoaXc':function(_0x5f18f6,_0x4b1a39,_0x3ac525){return _0x5f18f6(_0x4b1a39,_0x3ac525);},'HDiKD':'utf-8','pFQOl':'before','AxgpS':function(_0x149b0e,_0x9affb0){return _0x149b0e===_0x9affb0;},'uGsDt':function(_0x13b107,_0x21e1b9){return _0x13b107===_0x21e1b9;},'zUfdr':_0x340821(0x210),'vEQjg':_0x340821(0x20b),'ABMPs':'string','PqHbX':function(_0x30baf1,_0x17eb1f){return _0x30baf1===_0x17eb1f;},'RHpMe':_0x340821(0x1ef),'xUirr':function(_0x16d393,_0x5104a4){return _0x16d393-_0x5104a4;},'swrNH':function(_0x15d104,_0x3a056b){return _0x15d104<_0x3a056b;},'AjqkY':'page@0','rqHto':function(_0x25f3a7,_0x30dc3d){return _0x25f3a7>=_0x30dc3d;},'wnnYj':function(_0x4f8597,_0x438d63){return _0x4f8597===_0x438d63;},'pekig':function(_0x53fbd3,_0x3bcf40){return _0x53fbd3<_0x3bcf40;},'jAcLk':function(_0xd13aeb,_0x26a31d){return _0xd13aeb+_0x26a31d;}},_0x2d9fb2=new Map();if(_0x425a4e[_0x340821(0x204)]===0x0)return _0x2d9fb2;const _0x3363e3=[],_0xff444a=async _0xe141=>{const _0x2706dc=_0x340821,_0x55f0f0=await readdir(_0xe141,{'withFileTypes':!![]});for(const _0x4dd39a of _0x55f0f0){const _0x361e87=join(_0xe141,_0x4dd39a['name']);if(_0x4dd39a[_0x2706dc(0x200)]())await _0xff444a(_0x361e87);else _0x4dd39a['name']['endsWith'](_0xa8fa4c[_0x2706dc(0x1fe)])&&_0x3363e3[_0x2706dc(0x1e2)](_0x361e87);}};await _0xa8fa4c['xNUvk'](_0xff444a,_0x1e0fdd);if(_0xa8fa4c['TAyYD'](_0x3363e3['length'],0x0))return _0x2d9fb2;const _0x1b4eb6=[];for(const _0x36d65e of _0x3363e3){const _0xb70961=await _0xa8fa4c[_0x340821(0x213)](readFile,_0x36d65e,_0xa8fa4c['HDiKD']),_0x360ecb=_0xb70961['split']('\x0a')['filter'](_0x274dd0=>_0x274dd0['trim']());for(const _0x3fd804 of _0x360ecb){try{_0x1b4eb6['push'](JSON['parse'](_0x3fd804));}catch{}}}if(_0x1b4eb6['length']===0x0)return _0x2d9fb2;const _0x2f9fbb=_0x1b4eb6['find'](_0x3fa016=>_0x3fa016['type']==='context-options');if(!_0x2f9fbb)return _0x2d9fb2;const _0x354d46=_0x2f9fbb[_0x340821(0x1f6)]-_0x2f9fbb[_0x340821(0x1fb)],_0x44af2f=new Map();for(const _0x372b88 of _0x1b4eb6){switch(_0x372b88[_0x340821(0x1fd)]){case _0xa8fa4c['pFQOl']:{const _0x8842f6=_0x372b88;_0x44af2f[_0x340821(0x1f9)](_0x8842f6[_0x340821(0x205)],{'callId':_0x8842f6[_0x340821(0x205)],'startTime':_0x8842f6[_0x340821(0x206)],'endTime':0x0,'method':_0x8842f6[_0x340821(0x1f3)],'apiName':_0x8842f6['apiName'],'params':_0x8842f6[_0x340821(0x1e4)],'pageId':_0x8842f6['pageId'],'beforeSnapshot':_0x8842f6[_0x340821(0x201)]});break;}case'input':{const _0x32bc8d=_0x372b88,_0x3ce7e3=_0x44af2f['get'](_0x32bc8d[_0x340821(0x205)]);if(_0x3ce7e3){if(_0x32bc8d[_0x340821(0x20e)])_0x3ce7e3['inputSnapshot']=_0x32bc8d['inputSnapshot'];if(_0x32bc8d[_0x340821(0x1f2)])_0x3ce7e3['point']=_0x32bc8d['point'];}break;}case'after':{const _0x2fed40=_0x372b88,_0x4bcaae=_0x44af2f[_0x340821(0x1ed)](_0x2fed40['callId']);if(_0x4bcaae){_0x4bcaae[_0x340821(0x207)]=_0x2fed40[_0x340821(0x207)];if(_0x2fed40['afterSnapshot'])_0x4bcaae['afterSnapshot']=_0x2fed40['afterSnapshot'];}break;}}}const _0x359333=Array[_0x340821(0x1f1)](_0x44af2f['values']())['filter'](_0x51e58c=>_0x51e58c['endTime']>0x0&&(_0x51e58c['afterSnapshot']||_0x51e58c['beforeSnapshot']))[_0x340821(0x1ee)]((_0x20104b,_0x208b4d)=>_0x20104b['startTime']-_0x208b4d['startTime']);if(_0xa8fa4c['AxgpS'](_0x359333['length'],0x0))return _0x2d9fb2;const _0x4ca866=new Map();for(const _0xa845 of _0x1b4eb6){if(_0xa8fa4c['uGsDt'](_0xa845['type'],_0xa8fa4c[_0x340821(0x1f8)])){const _0x5f44c9=_0xa845['snapshot'];_0x5f44c9?.['snapshotName']&&_0x5f44c9?.[_0x340821(0x212)]&&_0x4ca866['set'](_0x5f44c9['snapshotName'],_0x5f44c9['frameUrl']);}}const _0x554e98=new Map();for(const _0xf2d1bc of _0x359333){const _0x119efe=_0xf2d1bc['params']?.['url'];_0xa8fa4c[_0x340821(0x209)](_0xf2d1bc[_0x340821(0x1f3)],_0xa8fa4c['vEQjg'])&&_0xa8fa4c['TAyYD'](typeof _0x119efe,_0xa8fa4c[_0x340821(0x1ec)])&&_0xf2d1bc[_0x340821(0x1f7)]&&_0x554e98['set'](_0xf2d1bc['pageId'],_0x119efe);}for(const _0x29fc92 of _0x1b4eb6){const _0x5131df=_0x29fc92,_0x2d9a99=_0x5131df[_0x340821(0x1e4)],_0x8bb0a4=_0x2d9a99?.[_0x340821(0x1f4)];_0xa8fa4c['PqHbX'](_0x5131df[_0x340821(0x1fd)],_0xa8fa4c['RHpMe'])&&_0x5131df['method']==='navigated'&&_0xa8fa4c['PqHbX'](typeof _0x8bb0a4,_0xa8fa4c['ABMPs'])&&_0xa8fa4c['PqHbX'](typeof _0x5131df[_0x340821(0x1f7)],_0x340821(0x1ea))&&_0x554e98[_0x340821(0x1f9)](_0x5131df['pageId'],_0x8bb0a4);}for(const _0x1cedc8 of _0x425a4e){const _0x1d146e=new Date(_0x1cedc8['capturedAt'])['getTime'](),_0x1b0f45=_0xa8fa4c[_0x340821(0x1eb)](_0x1d146e,_0x354d46);let _0x480cda=null,_0x37bb74=Infinity;for(const _0x5c2e93 of _0x359333){const _0x1d6316=Math[_0x340821(0x1e7)](_0xa8fa4c['xUirr'](_0x5c2e93['endTime'],_0x1b0f45));_0xa8fa4c['swrNH'](_0x1d6316,_0x37bb74)&&(_0x37bb74=_0x1d6316,_0x480cda=_0x5c2e93);}if(!_0x480cda)continue;const _0x26fe10=_0x480cda[_0x340821(0x20c)]||_0x480cda[_0x340821(0x201)];if(!_0x26fe10)continue;const _0x4416b5=_0x480cda['pageId']||_0xa8fa4c['AjqkY'];let _0x5e8a4b=_0x4ca866[_0x340821(0x1ed)](_0x26fe10)||_0x554e98[_0x340821(0x1ed)](_0x4416b5)||'';if(!_0x5e8a4b)for(let _0x5524af=_0x359333[_0x340821(0x20a)](_0x480cda);_0xa8fa4c[_0x340821(0x1e3)](_0x5524af,0x0);_0x5524af--){const _0x5991a4=_0x359333[_0x5524af][_0x340821(0x1e4)]?.[_0x340821(0x1f4)];if(_0xa8fa4c[_0x340821(0x1fc)](_0x359333[_0x5524af]['method'],_0xa8fa4c['vEQjg'])&&_0xa8fa4c[_0x340821(0x1e8)](typeof _0x5991a4,_0xa8fa4c[_0x340821(0x1ec)])){_0x5e8a4b=_0x5991a4;break;}}let _0x3198f4,_0x16a58c;const _0x30788a=_0x359333[_0x340821(0x20a)](_0x480cda);if(_0x30788a>=0x0&&_0xa8fa4c[_0x340821(0x1fa)](_0x30788a,_0xa8fa4c[_0x340821(0x1eb)](_0x359333['length'],0x1))){const _0x2ad8a6=_0x359333[_0xa8fa4c[_0x340821(0x203)](_0x30788a,0x1)];_0x2ad8a6['point']&&_0x2ad8a6['inputSnapshot']&&(_0x3198f4=_0x2ad8a6[_0x340821(0x1f2)],_0x16a58c=_0x2ad8a6['inputSnapshot']);}_0x2d9fb2['set'](_0x1cedc8[_0x340821(0x1ff)],{'snapshotName':_0x26fe10,'inputSnapshotName':_0x16a58c,'pageId':_0x4416b5,'pageUrl':_0x5e8a4b,'callId':_0x480cda[_0x340821(0x205)],'point':_0x3198f4});}return _0x2d9fb2;}
1
+ function _0x3568(_0x482932,_0x16c066){_0x482932=_0x482932-0x91;const _0x50737a=_0x5073();let _0x356815=_0x50737a[_0x482932];return _0x356815;}function _0x5073(){const _0x55f2b9=['snapshot','name','push','startTime','split','apiName','yJyvY','1190jnRpIr','129726riVLVf','9721410dLgKgL','VFGos','pageId','context-options','sort','getTime','capturedAt','set','RLHmU','yFNmc','230066LbhPso','isDirectory','endTime','snapshotName','JEfYk','beforeSnapshot','from','385908xKFarl','.trace','trim','filter','RPRiX','10VMkZhF','utf-8','30364092FJJqei','84qifsOE','url','XZraI','wallTime','after','PjlFR','length','exQQS','type','EaLUT','values','TmfYe','get','callId','afterSnapshot','inputSnapshot','4890124WEVwLu','point','103088cJmgQH','method','5MAAVOm'];_0x5073=function(){return _0x55f2b9;};return _0x5073();}(function(_0x56163a,_0x51d261){const _0x5e1af8=_0x3568,_0x106e83=_0x56163a();while(!![]){try{const _0x22e505=parseInt(_0x5e1af8(0x9e))/0x1+-parseInt(_0x5e1af8(0xaa))/0x2*(parseInt(_0x5e1af8(0xa5))/0x3)+parseInt(_0x5e1af8(0xbd))/0x4*(-parseInt(_0x5e1af8(0xc1))/0x5)+parseInt(_0x5e1af8(0x94))/0x6+-parseInt(_0x5e1af8(0xad))/0x7*(parseInt(_0x5e1af8(0xbf))/0x8)+parseInt(_0x5e1af8(0x93))/0x9*(-parseInt(_0x5e1af8(0x92))/0xa)+parseInt(_0x5e1af8(0xac))/0xb;if(_0x22e505===_0x51d261)break;else _0x106e83['push'](_0x106e83['shift']());}catch(_0x4070c7){_0x106e83['push'](_0x106e83['shift']());}}}(_0x5073,0xd5a38));import{readdir,readFile}from'fs/promises';import{join}from'path';export async function mapStepsToTraceSnapshots(_0x48b6cf,_0x443bc8){const _0x15844b=_0x3568,_0x1756f3={'PjlFR':function(_0x32187e,_0x5b0355,_0x1724ab){return _0x32187e(_0x5b0355,_0x1724ab);},'exQQS':_0x15844b(0xa6),'JEfYk':function(_0x24dfd6,_0x1dbd3b){return _0x24dfd6===_0x1dbd3b;},'XZraI':function(_0x16fee9,_0x17debc){return _0x16fee9(_0x17debc);},'EaLUT':_0x15844b(0xab),'RPRiX':function(_0x256f1f,_0x7d0679){return _0x256f1f-_0x7d0679;},'yJyvY':'input','IOtmo':'frame-snapshot','RLHmU':'goto','VFGos':function(_0x1d51da,_0x13a914){return _0x1d51da===_0x13a914;},'TmfYe':'string','Jkfau':'navigated','iRAnn':'page@0','TpUxN':function(_0x3a0759,_0x43e389){return _0x3a0759>=_0x43e389;},'UCOzW':function(_0x408b98,_0x38e015){return _0x408b98===_0x38e015;},'yFNmc':function(_0x2e06ac,_0x161ec7){return _0x2e06ac>=_0x161ec7;},'DMiTU':function(_0x37c764,_0x4c31c8){return _0x37c764+_0x4c31c8;}},_0x173d69=new Map();if(_0x1756f3['JEfYk'](_0x443bc8['length'],0x0))return _0x173d69;const _0x22f23b=[],_0x5bcc36=async _0x4be164=>{const _0x1757f5=_0x15844b,_0x564c45=await _0x1756f3['PjlFR'](readdir,_0x4be164,{'withFileTypes':!![]});for(const _0x5d6e50 of _0x564c45){const _0x71ece5=_0x1756f3[_0x1757f5(0xb2)](join,_0x4be164,_0x5d6e50[_0x1757f5(0xc3)]);if(_0x5d6e50[_0x1757f5(0x9f)]())await _0x5bcc36(_0x71ece5);else _0x5d6e50[_0x1757f5(0xc3)]['endsWith'](_0x1756f3[_0x1757f5(0xb4)])&&_0x22f23b[_0x1757f5(0xc4)](_0x71ece5);}};await _0x1756f3[_0x15844b(0xaf)](_0x5bcc36,_0x48b6cf);if(_0x1756f3[_0x15844b(0xa2)](_0x22f23b['length'],0x0))return _0x173d69;const _0x142cac=[];for(const _0x12b158 of _0x22f23b){const _0x2345b1=await _0x1756f3[_0x15844b(0xb2)](readFile,_0x12b158,_0x1756f3[_0x15844b(0xb6)]),_0x50a17d=_0x2345b1[_0x15844b(0xc6)]('\x0a')[_0x15844b(0xa8)](_0x39c6b6=>_0x39c6b6[_0x15844b(0xa7)]());for(const _0x1c5dc1 of _0x50a17d){try{_0x142cac[_0x15844b(0xc4)](JSON['parse'](_0x1c5dc1));}catch{}}}if(_0x142cac[_0x15844b(0xb3)]===0x0)return _0x173d69;const _0x1c40d7=_0x142cac['find'](_0x308735=>_0x308735[_0x15844b(0xb5)]===_0x15844b(0x97));if(!_0x1c40d7)return _0x173d69;const _0x15070f=_0x1756f3['RPRiX'](_0x1c40d7[_0x15844b(0xb0)],_0x1c40d7['monotonicTime']),_0x3afa12=new Map();for(const _0x12aae7 of _0x142cac){switch(_0x12aae7['type']){case'before':{const _0x1a9b3c=_0x12aae7;_0x3afa12['set'](_0x1a9b3c[_0x15844b(0xba)],{'callId':_0x1a9b3c[_0x15844b(0xba)],'startTime':_0x1a9b3c[_0x15844b(0xc5)],'endTime':0x0,'method':_0x1a9b3c['method'],'apiName':_0x1a9b3c[_0x15844b(0xc7)],'params':_0x1a9b3c['params'],'pageId':_0x1a9b3c[_0x15844b(0x96)],'beforeSnapshot':_0x1a9b3c['beforeSnapshot']});break;}case _0x1756f3[_0x15844b(0x91)]:{const _0x1cfc45=_0x12aae7,_0x11c4b7=_0x3afa12['get'](_0x1cfc45['callId']);if(_0x11c4b7){if(_0x1cfc45['inputSnapshot'])_0x11c4b7[_0x15844b(0xbc)]=_0x1cfc45[_0x15844b(0xbc)];if(_0x1cfc45[_0x15844b(0xbe)])_0x11c4b7['point']=_0x1cfc45['point'];}break;}case _0x15844b(0xb1):{const _0x2a8660=_0x12aae7,_0x1a1271=_0x3afa12[_0x15844b(0xb9)](_0x2a8660[_0x15844b(0xba)]);if(_0x1a1271){_0x1a1271['endTime']=_0x2a8660[_0x15844b(0xa0)];if(_0x2a8660[_0x15844b(0xbb)])_0x1a1271['afterSnapshot']=_0x2a8660[_0x15844b(0xbb)];}break;}}}const _0x1297ed=Array[_0x15844b(0xa4)](_0x3afa12[_0x15844b(0xb7)]())[_0x15844b(0xa8)](_0x5c20cb=>_0x5c20cb['endTime']>0x0&&(_0x5c20cb[_0x15844b(0xbb)]||_0x5c20cb[_0x15844b(0xa3)]))[_0x15844b(0x98)]((_0x4c95be,_0x2b4bf2)=>_0x4c95be[_0x15844b(0xc5)]-_0x2b4bf2[_0x15844b(0xc5)]);if(_0x1756f3[_0x15844b(0xa2)](_0x1297ed[_0x15844b(0xb3)],0x0))return _0x173d69;const _0x382e95=new Map();for(const _0x3f814d of _0x142cac){if(_0x3f814d[_0x15844b(0xb5)]===_0x1756f3['IOtmo']){const _0x20ccdc=_0x3f814d[_0x15844b(0xc2)];_0x20ccdc?.[_0x15844b(0xa1)]&&_0x20ccdc?.['frameUrl']&&_0x382e95[_0x15844b(0x9b)](_0x20ccdc['snapshotName'],_0x20ccdc['frameUrl']);}}const _0x381cd9=new Map();for(const _0x49d4b6 of _0x1297ed){const _0x31fc94=_0x49d4b6['params']?.['url'];_0x49d4b6['method']===_0x1756f3[_0x15844b(0x9c)]&&_0x1756f3[_0x15844b(0x95)](typeof _0x31fc94,_0x1756f3[_0x15844b(0xb8)])&&_0x49d4b6['pageId']&&_0x381cd9['set'](_0x49d4b6['pageId'],_0x31fc94);}for(const _0x2d2095 of _0x142cac){const _0x3b7a20=_0x2d2095,_0x1f63bc=_0x3b7a20['params'],_0x1ed024=_0x1f63bc?.[_0x15844b(0xae)];_0x1756f3['JEfYk'](_0x3b7a20['type'],'event')&&_0x3b7a20['method']===_0x1756f3['Jkfau']&&typeof _0x1ed024===_0x1756f3['TmfYe']&&typeof _0x3b7a20[_0x15844b(0x96)]===_0x1756f3[_0x15844b(0xb8)]&&_0x381cd9[_0x15844b(0x9b)](_0x3b7a20[_0x15844b(0x96)],_0x1ed024);}for(const _0x1fcc2b of _0x443bc8){const _0x2efa57=new Date(_0x1fcc2b[_0x15844b(0x9a)])[_0x15844b(0x99)](),_0x4ba9f1=_0x2efa57-_0x15070f;let _0x1d091a=null,_0x61187a=Infinity;for(const _0x5289cc of _0x1297ed){const _0x455ab7=Math['abs'](_0x1756f3[_0x15844b(0xa9)](_0x5289cc[_0x15844b(0xa0)],_0x4ba9f1));_0x455ab7<_0x61187a&&(_0x61187a=_0x455ab7,_0x1d091a=_0x5289cc);}if(!_0x1d091a)continue;const _0x18f94f=_0x1d091a['afterSnapshot']||_0x1d091a['beforeSnapshot'];if(!_0x18f94f)continue;const _0x4e1f8e=_0x1d091a['pageId']||_0x1756f3['iRAnn'];let _0x1cff9a=_0x382e95[_0x15844b(0xb9)](_0x18f94f)||_0x381cd9[_0x15844b(0xb9)](_0x4e1f8e)||'';if(!_0x1cff9a)for(let _0x4cb96e=_0x1297ed['indexOf'](_0x1d091a);_0x1756f3['TpUxN'](_0x4cb96e,0x0);_0x4cb96e--){const _0x139287=_0x1297ed[_0x4cb96e]['params']?.['url'];if(_0x1297ed[_0x4cb96e][_0x15844b(0xc0)]===_0x1756f3[_0x15844b(0x9c)]&&_0x1756f3['UCOzW'](typeof _0x139287,_0x1756f3['TmfYe'])){_0x1cff9a=_0x139287;break;}}let _0x18e1d1,_0x42e246;const _0x5875ef=_0x1297ed['indexOf'](_0x1d091a);if(_0x1756f3[_0x15844b(0x9d)](_0x5875ef,0x0)&&_0x5875ef<_0x1756f3[_0x15844b(0xa9)](_0x1297ed[_0x15844b(0xb3)],0x1)){const _0x45e6f0=_0x1297ed[_0x1756f3['DMiTU'](_0x5875ef,0x1)];_0x45e6f0['point']&&_0x45e6f0[_0x15844b(0xbc)]&&(_0x18e1d1=_0x45e6f0['point'],_0x42e246=_0x45e6f0['inputSnapshot']);}_0x173d69[_0x15844b(0x9b)](_0x1fcc2b['stepId'],{'snapshotName':_0x18f94f,'inputSnapshotName':_0x42e246,'pageId':_0x4e1f8e,'pageUrl':_0x1cff9a,'callId':_0x1d091a['callId'],'point':_0x18e1d1});}return _0x173d69;}
@@ -1 +1 @@
1
- (function(_0x56a66b,_0x4497b3){const _0x45afbc=_0x4a3c,_0x47dbb6=_0x56a66b();while(!![]){try{const _0x193e7f=-parseInt(_0x45afbc(0x186))/0x1*(parseInt(_0x45afbc(0x184))/0x2)+parseInt(_0x45afbc(0x183))/0x3+-parseInt(_0x45afbc(0x185))/0x4+parseInt(_0x45afbc(0x180))/0x5*(-parseInt(_0x45afbc(0x188))/0x6)+parseInt(_0x45afbc(0x17b))/0x7*(-parseInt(_0x45afbc(0x187))/0x8)+parseInt(_0x45afbc(0x17d))/0x9+parseInt(_0x45afbc(0x17e))/0xa;if(_0x193e7f===_0x4497b3)break;else _0x47dbb6['push'](_0x47dbb6['shift']());}catch(_0x2af5d2){_0x47dbb6['push'](_0x47dbb6['shift']());}}}(_0x5978,0x6def9));function _0x5978(){const _0x1be659=['6ZzEAol','1322252RWaEOC','70067obCOZY','7111328AKABRV','17586CJcWzC','7orTVLD','statusText','3975606ttOtuy','19778240lvWRyg','Bearer\x20','1130dHfRdW','message','jpfEs','368475pqfLxJ'];_0x5978=function(){return _0x1be659;};return _0x5978();}function _0x4a3c(_0x2ec4a6,_0xefb84){_0x2ec4a6=_0x2ec4a6-0x17b;const _0x597838=_0x5978();let _0x4a3c86=_0x597838[_0x2ec4a6];return _0x4a3c86;}import{getApiBaseUrl}from'./environment.js';export async function getCurrentUser(_0x241250){const _0x496740=_0x4a3c,_0x464945={'xKKGr':'GET','jpfEs':function(_0x27f31c,_0x44a193){return _0x27f31c instanceof _0x44a193;},'bEmNt':function(_0x231589,_0x2587cc){return _0x231589(_0x2587cc);}},_0xe936bd=getApiBaseUrl();try{const _0xb5da98=await fetch(_0xe936bd+'/api/v1/mcp/me',{'method':_0x464945['xKKGr'],'headers':{'Authorization':_0x496740(0x17f)+_0x241250}});if(!_0xb5da98['ok'])return{'success':![],'error':_0xb5da98['status']+'\x20'+_0xb5da98[_0x496740(0x17c)],'status':_0xb5da98['status']};const _0x49968b=await _0xb5da98['json']();return{'success':!![],'user':_0x49968b};}catch(_0x2fb56b){return{'success':![],'error':_0x464945[_0x496740(0x182)](_0x2fb56b,Error)?_0x2fb56b[_0x496740(0x181)]:_0x464945['bEmNt'](String,_0x2fb56b)};}}
1
+ (function(_0x46679c,_0x120166){const _0x2e44b5=_0x2c23,_0x38b5a6=_0x46679c();while(!![]){try{const _0x345a15=parseInt(_0x2e44b5(0xf6))/0x1+-parseInt(_0x2e44b5(0xf1))/0x2*(-parseInt(_0x2e44b5(0xeb))/0x3)+parseInt(_0x2e44b5(0xf0))/0x4*(-parseInt(_0x2e44b5(0xe9))/0x5)+parseInt(_0x2e44b5(0xe8))/0x6*(parseInt(_0x2e44b5(0xf4))/0x7)+parseInt(_0x2e44b5(0xea))/0x8+-parseInt(_0x2e44b5(0xe7))/0x9+-parseInt(_0x2e44b5(0xef))/0xa*(parseInt(_0x2e44b5(0xf2))/0xb);if(_0x345a15===_0x120166)break;else _0x38b5a6['push'](_0x38b5a6['shift']());}catch(_0x463bc7){_0x38b5a6['push'](_0x38b5a6['shift']());}}}(_0x1108,0xa5f43));import{getApiBaseUrl}from'./environment.js';function _0x1108(){const _0x441deb=['10030572kUmTdv','67794WHzNbw','5KlmHgU','10614536NRKUGc','111CKVZnU','/api/v1/mcp/me','Bearer\x20','vizzo','5051840qZRYji','1649972JodShh','61786nNKbzo','33JWVfAS','message','595EtOTeI','statusText','292027iYSFYa','json'];_0x1108=function(){return _0x441deb;};return _0x1108();}function _0x2c23(_0x4649d8,_0x36c8a9){_0x4649d8=_0x4649d8-0xe6;const _0x1108c1=_0x1108();let _0x2c2336=_0x1108c1[_0x4649d8];return _0x2c2336;}export async function getCurrentUser(_0x5afbe8){const _0x37771a=_0x2c23,_0x505530={'MZNMC':function(_0x3e56df){return _0x3e56df();},'vizzo':function(_0x2f9c2b,_0x1a3020,_0x494962){return _0x2f9c2b(_0x1a3020,_0x494962);},'Ccblk':'GET'},_0x4c4446=_0x505530['MZNMC'](getApiBaseUrl);try{const _0x3b998e=await _0x505530[_0x37771a(0xee)](fetch,_0x4c4446+_0x37771a(0xec),{'method':_0x505530['Ccblk'],'headers':{'Authorization':_0x37771a(0xed)+_0x5afbe8}});if(!_0x3b998e['ok'])return{'success':![],'error':_0x3b998e['status']+'\x20'+_0x3b998e[_0x37771a(0xf5)],'status':_0x3b998e['status']};const _0x4dfb06=await _0x3b998e[_0x37771a(0xe6)]();return{'success':!![],'user':_0x4dfb06};}catch(_0x2c58e8){return{'success':![],'error':_0x2c58e8 instanceof Error?_0x2c58e8[_0x37771a(0xf3)]:String(_0x2c58e8)};}}
@@ -1 +1 @@
1
- const _0x321020=_0x447b;function _0x447b(_0x2aac1c,_0x4ac350){_0x2aac1c=_0x2aac1c-0x9f;const _0x3b2ad5=_0x3b2a();let _0x447bb9=_0x3b2ad5[_0x2aac1c];return _0x447bb9;}(function(_0x268eb1,_0x128b44){const _0x555a2b=_0x447b,_0x5ed3ff=_0x268eb1();while(!![]){try{const _0x4faa4f=-parseInt(_0x555a2b(0xae))/0x1+-parseInt(_0x555a2b(0xb8))/0x2*(parseInt(_0x555a2b(0xa2))/0x3)+parseInt(_0x555a2b(0xa3))/0x4*(parseInt(_0x555a2b(0xba))/0x5)+parseInt(_0x555a2b(0xa5))/0x6*(-parseInt(_0x555a2b(0xbd))/0x7)+parseInt(_0x555a2b(0xa9))/0x8+parseInt(_0x555a2b(0xb2))/0x9+parseInt(_0x555a2b(0xac))/0xa*(-parseInt(_0x555a2b(0xa8))/0xb);if(_0x4faa4f===_0x128b44)break;else _0x5ed3ff['push'](_0x5ed3ff['shift']());}catch(_0x459b90){_0x5ed3ff['push'](_0x5ed3ff['shift']());}}}(_0x3b2a,0x63e0b));import{readFileSync}from'fs';import{existsSync}from'fs';import{execSync}from'child_process';import{fileURLToPath}from'url';import{dirname,join}from'path';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export const PACKAGE_NAME=_0x321020(0xb5);export function getCurrentVersion(){const _0x2603b3=_0x321020,_0x5edbbd={'TUHpb':function(_0x33c21d,_0x5d5afb,_0x355a02,_0x3865cf,_0xe7d90){return _0x33c21d(_0x5d5afb,_0x355a02,_0x3865cf,_0xe7d90);},'fmNsI':'package.json','fTcjz':function(_0x40c37d,_0x2d9aba,_0x49ca48,_0x50f5a4,_0x5d215e,_0x651cf6){return _0x40c37d(_0x2d9aba,_0x49ca48,_0x50f5a4,_0x5d215e,_0x651cf6);},'HUmmF':function(_0x425e44,_0x17523e){return _0x425e44(_0x17523e);},'mrYEr':function(_0x58e5ac,_0x1a9fb8,_0x205745){return _0x58e5ac(_0x1a9fb8,_0x205745);},'lZQSg':_0x2603b3(0x9f)},_0x444113=[_0x5edbbd[_0x2603b3(0xaa)](join,__dirname,'..','..',_0x5edbbd['fmNsI']),_0x5edbbd['fTcjz'](join,__dirname,'..','..','..',_0x2603b3(0xb6))];for(const _0x18d730 of _0x444113){if(_0x5edbbd[_0x2603b3(0xb9)](existsSync,_0x18d730))try{const _0x5ce9d6=JSON[_0x2603b3(0xb3)](_0x5edbbd[_0x2603b3(0xa4)](readFileSync,_0x18d730,_0x2603b3(0xb1)));return _0x5ce9d6['version']||_0x5edbbd[_0x2603b3(0xa6)];}catch{continue;}}return _0x5edbbd['lZQSg'];}function _0x3b2a(){const _0x5926c1=['kByXp','tfNqW','26929ARZBxB','unknown','trim','smjLw','576PXnqIO','28QqMZJT','mrYEr','1206QerOnr','lZQSg','JWMNd','43329bXCWtA','5032304ZblXUD','TUHpb','MucQp','850iWRGgy','npm\x20view\x20','398858bfbidJ','map','message','utf-8','7338420UaRdUO','parse','\x20version','@ranger-testing/ranger-cli','package.json','pipe','2284mkHmNR','HUmmF','493475ZHDKxi'];_0x3b2a=function(){return _0x5926c1;};return _0x3b2a();}export function getLatestVersion(){const _0x3308dd=_0x321020,_0x20366e={'JWMNd':function(_0x846b98,_0x2d2ee5,_0x11f157){return _0x846b98(_0x2d2ee5,_0x11f157);},'GksUj':_0x3308dd(0xb1),'smjLw':_0x3308dd(0xb7),'MucQp':function(_0x2d099d,_0x33401d){return _0x2d099d instanceof _0x33401d;},'Aafvq':function(_0x3bade2,_0x317213){return _0x3bade2(_0x317213);}};try{const _0x25d0cb=_0x20366e[_0x3308dd(0xa7)](execSync,_0x3308dd(0xad)+PACKAGE_NAME+_0x3308dd(0xb4),{'encoding':_0x20366e['GksUj'],'timeout':0x2710,'stdio':[_0x20366e['smjLw'],_0x20366e[_0x3308dd(0xa1)],'pipe']});return{'version':_0x25d0cb[_0x3308dd(0xa0)]()};}catch(_0x393bff){const _0x15e0ca=_0x20366e[_0x3308dd(0xab)](_0x393bff,Error)?_0x393bff[_0x3308dd(0xb0)]:_0x20366e['Aafvq'](String,_0x393bff);return{'error':_0x15e0ca};}}export function compareVersions(_0x37b8c0,_0x50cff2){const _0xf8fb55=_0x321020,_0x2d5f51={'kByXp':function(_0x48d945,_0x579b5b){return _0x48d945<_0x579b5b;},'tfNqW':function(_0x7a58a1,_0x49355f){return _0x7a58a1>_0x49355f;}},_0x3c22ff=_0x37b8c0['split']('.')[_0xf8fb55(0xaf)](Number),_0x23c287=_0x50cff2['split']('.')['map'](Number);for(let _0x457868=0x0;_0x2d5f51[_0xf8fb55(0xbb)](_0x457868,0x3);_0x457868++){const _0x587345=_0x3c22ff[_0x457868]||0x0,_0x396276=_0x23c287[_0x457868]||0x0;if(_0x2d5f51[_0xf8fb55(0xbc)](_0x396276,_0x587345))return 0x1;if(_0x396276<_0x587345)return-0x1;}return 0x0;}
1
+ (function(_0x490fbd,_0x3ccb28){const _0x489d46=_0x258a,_0x4fdef0=_0x490fbd();while(!![]){try{const _0x420926=-parseInt(_0x489d46(0x1cb))/0x1*(-parseInt(_0x489d46(0x1d8))/0x2)+parseInt(_0x489d46(0x1c2))/0x3+parseInt(_0x489d46(0x1d5))/0x4*(-parseInt(_0x489d46(0x1ce))/0x5)+-parseInt(_0x489d46(0x1d0))/0x6*(-parseInt(_0x489d46(0x1c9))/0x7)+-parseInt(_0x489d46(0x1cf))/0x8+parseInt(_0x489d46(0x1c4))/0x9*(-parseInt(_0x489d46(0x1ca))/0xa)+-parseInt(_0x489d46(0x1c8))/0xb;if(_0x420926===_0x3ccb28)break;else _0x4fdef0['push'](_0x4fdef0['shift']());}catch(_0x39ce51){_0x4fdef0['push'](_0x4fdef0['shift']());}}}(_0x14cb,0xa92a2));import{readFileSync}from'fs';function _0x14cb(){const _0x19b621=['1ENeuFE','split','map','232165dwHMSJ','8829216KOHkPF','128322LmKvfM','pipe','HUOkd','version','xyMLU','36nmXOFi','unknown','npm\x20view\x20','2706562MyOSmQ','4104102NtvXQM','trim','72GgxqdU','package.json','pPhhd','jTxBP','9326779Czwvhy','329yvwQdv','830210rVzCpk'];_0x14cb=function(){return _0x19b621;};return _0x14cb();}import{existsSync}from'fs';import{execSync}from'child_process';import{fileURLToPath}from'url';import{dirname,join}from'path';function _0x258a(_0x5e3c5d,_0x1fdd68){_0x5e3c5d=_0x5e3c5d-0x1c2;const _0x14cbb2=_0x14cb();let _0x258afb=_0x14cbb2[_0x5e3c5d];return _0x258afb;}const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export const PACKAGE_NAME='@ranger-testing/ranger-cli';export function getCurrentVersion(){const _0x317da7=_0x258a,_0x132089={'jTxBP':_0x317da7(0x1c5),'HUOkd':function(_0xc1c3f1,_0x31e7f5,_0x23475e,_0x4532b5,_0x1547dd,_0x37ceb6){return _0xc1c3f1(_0x31e7f5,_0x23475e,_0x4532b5,_0x1547dd,_0x37ceb6);},'xyMLU':function(_0x40e667,_0x14fdaa,_0x45ab7e){return _0x40e667(_0x14fdaa,_0x45ab7e);},'zyTvi':_0x317da7(0x1d6)},_0x314b89=[join(__dirname,'..','..',_0x132089[_0x317da7(0x1c7)]),_0x132089[_0x317da7(0x1d2)](join,__dirname,'..','..','..',_0x317da7(0x1c5))];for(const _0x32d7d0 of _0x314b89){if(existsSync(_0x32d7d0))try{const _0x83ded=JSON['parse'](_0x132089[_0x317da7(0x1d4)](readFileSync,_0x32d7d0,'utf-8'));return _0x83ded[_0x317da7(0x1d3)]||_0x132089['zyTvi'];}catch{continue;}}return _0x317da7(0x1d6);}export function getLatestVersion(){const _0x5e3aef=_0x258a,_0x2fc36c={'EecMr':function(_0x4b852a,_0x49c822,_0x439621){return _0x4b852a(_0x49c822,_0x439621);},'pPhhd':'utf-8'};try{const _0x55a860=_0x2fc36c['EecMr'](execSync,_0x5e3aef(0x1d7)+PACKAGE_NAME+'\x20version',{'encoding':_0x2fc36c[_0x5e3aef(0x1c6)],'timeout':0x2710,'stdio':['pipe','pipe',_0x5e3aef(0x1d1)]});return{'version':_0x55a860[_0x5e3aef(0x1c3)]()};}catch(_0x31c7ef){const _0x40bb0c=_0x31c7ef instanceof Error?_0x31c7ef['message']:String(_0x31c7ef);return{'error':_0x40bb0c};}}export function compareVersions(_0x296ae6,_0x41f088){const _0x223ed3=_0x258a,_0x200fbb=_0x296ae6[_0x223ed3(0x1cc)]('.')[_0x223ed3(0x1cd)](Number),_0x7fefbd=_0x41f088['split']('.')['map'](Number);for(let _0x491da4=0x0;_0x491da4<0x3;_0x491da4++){const _0x1df77f=_0x200fbb[_0x491da4]||0x0,_0x55cd11=_0x7fefbd[_0x491da4]||0x0;if(_0x55cd11>_0x1df77f)return 0x1;if(_0x55cd11<_0x1df77f)return-0x1;}return 0x0;}