@ranger-testing/ranger-cli 2.5.4-alpha.ed286f1-2 → 2.5.4-alpha.f940f0d-18

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 (82) 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/env.js +1 -1
  8. package/build/commands/feature.js +1 -1
  9. package/build/commands/hook.js +1 -1
  10. package/build/commands/hooks/autoPrompt.js +1 -1
  11. package/build/commands/hooks/disable.js +1 -1
  12. package/build/commands/hooks/enable.js +1 -1
  13. package/build/commands/hooks/exitPlanMode.js +1 -1
  14. package/build/commands/hooks/index.js +1 -1
  15. package/build/commands/hooks/output.js +1 -1
  16. package/build/commands/hooks/planReminder.js +1 -1
  17. package/build/commands/hooks/planStart.js +1 -1
  18. package/build/commands/hooks/postEdit.js +1 -1
  19. package/build/commands/hooks/preCompact.js +1 -1
  20. package/build/commands/hooks/sessionEnd.js +1 -1
  21. package/build/commands/hooks/sessionStart.js +1 -1
  22. package/build/commands/hooks/stopHook.js +1 -1
  23. package/build/commands/index.js +1 -1
  24. package/build/commands/login.js +1 -1
  25. package/build/commands/mcpBootstrap.js +1 -1
  26. package/build/commands/migrateProfile.js +1 -0
  27. package/build/commands/setup/claude.js +1 -1
  28. package/build/commands/setup/opencode.js +1 -1
  29. package/build/commands/setupCi.js +1 -1
  30. package/build/commands/skillup.js +1 -1
  31. package/build/commands/start.js +1 -1
  32. package/build/commands/status.js +1 -1
  33. package/build/commands/update.js +1 -1
  34. package/build/commands/updateEnv.js +1 -1
  35. package/build/commands/useEnv.js +1 -1
  36. package/build/commands/utils/activeProfile.js +1 -1
  37. package/build/commands/utils/agentEnv.js +1 -1
  38. package/build/commands/utils/browserSessionsApi.js +1 -1
  39. package/build/commands/utils/claudeConfig.js +1 -1
  40. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  41. package/build/commands/utils/claudePlugin.js +1 -1
  42. package/build/commands/utils/cloudProfile.js +1 -0
  43. package/build/commands/utils/cloudProfileSession.js +1 -0
  44. package/build/commands/utils/crypto.js +1 -1
  45. package/build/commands/utils/desirePathLog.js +1 -1
  46. package/build/commands/utils/deviceAuth.js +1 -1
  47. package/build/commands/utils/environment.js +1 -1
  48. package/build/commands/utils/featureApi.js +1 -1
  49. package/build/commands/utils/fixWebmDuration.js +1 -1
  50. package/build/commands/utils/gitTracked.js +1 -0
  51. package/build/commands/utils/keychain.js +1 -1
  52. package/build/commands/utils/legacyWarning.js +1 -0
  53. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  54. package/build/commands/utils/matchAuthEnvironment.js +1 -0
  55. package/build/commands/utils/mcpImageBase64.js +1 -1
  56. package/build/commands/utils/model.js +1 -1
  57. package/build/commands/utils/opencodeConfig.js +1 -1
  58. package/build/commands/utils/playwrightCli.js +1 -1
  59. package/build/commands/utils/profileMessages.js +1 -1
  60. package/build/commands/utils/profileSetupBanner.js +1 -1
  61. package/build/commands/utils/projectsConfig.js +1 -0
  62. package/build/commands/utils/rangerConfig.js +1 -1
  63. package/build/commands/utils/rangerRoot.js +1 -1
  64. package/build/commands/utils/resolveProfileContext.js +1 -0
  65. package/build/commands/utils/resolveProfileUrl.js +1 -0
  66. package/build/commands/utils/retry.js +1 -1
  67. package/build/commands/utils/sessionCache.js +1 -1
  68. package/build/commands/utils/settings.js +1 -1
  69. package/build/commands/utils/skillContent.js +1 -1
  70. package/build/commands/utils/skills.js +1 -1
  71. package/build/commands/utils/stitchWebmFiles.js +1 -1
  72. package/build/commands/utils/telemetry.js +1 -1
  73. package/build/commands/utils/tokenRefresh.js +1 -1
  74. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  75. package/build/commands/utils/userApi.js +1 -1
  76. package/build/commands/utils/version.js +1 -1
  77. package/build/commands/verifyFeature.js +1 -1
  78. package/build/commands/verifyFeatureCli.js +1 -1
  79. package/build/skills/ranger/SKILL.md +36 -6
  80. package/build/skills/ranger/create.md +19 -0
  81. package/build/skills/ranger/verify.md +46 -7
  82. package/package.json +3 -2
@@ -1 +1 @@
1
- (function(_0x54876a,_0x21ea99){const _0x33d8a4=_0x1c23,_0x3e5915=_0x54876a();while(!![]){try{const _0x31c9fe=parseInt(_0x33d8a4(0x122))/0x1*(parseInt(_0x33d8a4(0x114))/0x2)+-parseInt(_0x33d8a4(0x117))/0x3+-parseInt(_0x33d8a4(0x121))/0x4+parseInt(_0x33d8a4(0x125))/0x5+-parseInt(_0x33d8a4(0x10b))/0x6*(parseInt(_0x33d8a4(0x137))/0x7)+parseInt(_0x33d8a4(0x10f))/0x8*(-parseInt(_0x33d8a4(0x10c))/0x9)+parseInt(_0x33d8a4(0x119))/0xa;if(_0x31c9fe===_0x21ea99)break;else _0x3e5915['push'](_0x3e5915['shift']());}catch(_0x3edf62){_0x3e5915['push'](_0x3e5915['shift']());}}}(_0x5566,0x229ad));function _0x5566(){const _0x57a888=['after','DHRFt','indexOf','length','monotonicTime','get','2653HPjNTW','RASZy','afterSnapshot','FnuOf','set','method','gEDuY','endsWith','tVQqw','beforeSnapshot','push','YPafY','url','3306RjBgCK','82818oYGIFJ','frame-snapshot','type','32bpsnvT','params','startTime','input','sort','53264HWXpYC','abs','endTime','320349GGRAVk','callId','1402530sRtShW','goto','isDirectory','frameUrl','before','pIMqF','uNAtB','string','156140DyhVvU','9kYLfbA','values','name','766275HLhnQg','pageId','trim','from','cwKdG','point','capturedAt','event','stepId','snapshotName','.trace','FKknt'];_0x5566=function(){return _0x57a888;};return _0x5566();}import{readdir,readFile}from'fs/promises';function _0x1c23(_0x18f3bd,_0x870065){_0x18f3bd=_0x18f3bd-0x103;const _0x5566e9=_0x5566();let _0x1c23fc=_0x5566e9[_0x18f3bd];return _0x1c23fc;}import{join}from'path';export async function mapStepsToTraceSnapshots(_0xb81bd5,_0x3605d5){const _0x3266fb=_0x1c23,_0x727de5={'aWdwo':function(_0x280313,_0x6f0123,_0x43058){return _0x280313(_0x6f0123,_0x43058);},'zNdMI':function(_0x5166c2,_0x194340,_0x696c){return _0x5166c2(_0x194340,_0x696c);},'FnuOf':function(_0x2b9493,_0x291948){return _0x2b9493(_0x291948);},'WbaiC':_0x3266fb(0x12f),'FKknt':function(_0x472bed,_0x190f99){return _0x472bed===_0x190f99;},'YPafY':function(_0x29fb10,_0x362a6f){return _0x29fb10-_0x362a6f;},'aRWsv':_0x3266fb(0x112),'ZDial':_0x3266fb(0x131),'pIMqF':function(_0x588752,_0x411e3e){return _0x588752===_0x411e3e;},'gEDuY':function(_0xe4ab9b,_0x3cdaaf){return _0xe4ab9b===_0x3cdaaf;},'cwKdG':_0x3266fb(0x120),'uNAtB':_0x3266fb(0x12c),'QiBbq':'navigated','tVQqw':function(_0x5ba593,_0xef4e19){return _0x5ba593===_0xef4e19;},'XjskW':function(_0x372a66,_0x4ac8c5){return _0x372a66===_0x4ac8c5;},'zTdrz':_0x3266fb(0x11a),'XVITD':function(_0x5101ab,_0x497443){return _0x5101ab===_0x497443;},'RASZy':function(_0x3baa3f,_0x411270){return _0x3baa3f>=_0x411270;},'DHRFt':function(_0x3113ee,_0x57e5a7){return _0x3113ee<_0x57e5a7;}},_0x1735ee=new Map();if(_0x727de5['FKknt'](_0x3605d5[_0x3266fb(0x134)],0x0))return _0x1735ee;const _0x1ed94a=[],_0x5e5bef=async _0x3af1f4=>{const _0x154599=_0x3266fb,_0x11b462=await _0x727de5['aWdwo'](readdir,_0x3af1f4,{'withFileTypes':!![]});for(const _0x4ea8ef of _0x11b462){const _0x2a668d=_0x727de5['zNdMI'](join,_0x3af1f4,_0x4ea8ef['name']);if(_0x4ea8ef[_0x154599(0x11b)]())await _0x727de5[_0x154599(0x13a)](_0x5e5bef,_0x2a668d);else _0x4ea8ef[_0x154599(0x124)][_0x154599(0x105)](_0x727de5['WbaiC'])&&_0x1ed94a[_0x154599(0x108)](_0x2a668d);}};await _0x727de5[_0x3266fb(0x13a)](_0x5e5bef,_0xb81bd5);if(_0x1ed94a['length']===0x0)return _0x1735ee;const _0x9b6226=[];for(const _0x3e7cdb of _0x1ed94a){const _0x1a9b99=await readFile(_0x3e7cdb,'utf-8'),_0x4e5f8a=_0x1a9b99['split']('\x0a')['filter'](_0x552fcc=>_0x552fcc[_0x3266fb(0x127)]());for(const _0x4daabb of _0x4e5f8a){try{_0x9b6226[_0x3266fb(0x108)](JSON['parse'](_0x4daabb));}catch{}}}if(_0x9b6226['length']===0x0)return _0x1735ee;const _0x57129d=_0x9b6226['find'](_0x1fdd7f=>_0x1fdd7f['type']==='context-options');if(!_0x57129d)return _0x1735ee;const _0x537579=_0x727de5[_0x3266fb(0x109)](_0x57129d['wallTime'],_0x57129d[_0x3266fb(0x135)]),_0x267545=new Map();for(const _0x2aca9b of _0x9b6226){switch(_0x2aca9b['type']){case _0x3266fb(0x11d):{const _0x59a4de=_0x2aca9b;_0x267545[_0x3266fb(0x13b)](_0x59a4de[_0x3266fb(0x118)],{'callId':_0x59a4de['callId'],'startTime':_0x59a4de['startTime'],'endTime':0x0,'method':_0x59a4de[_0x3266fb(0x103)],'apiName':_0x59a4de['apiName'],'params':_0x59a4de['params'],'pageId':_0x59a4de['pageId'],'beforeSnapshot':_0x59a4de[_0x3266fb(0x107)]});break;}case _0x727de5['aRWsv']:{const _0x843e54=_0x2aca9b,_0x1e6487=_0x267545['get'](_0x843e54['callId']);if(_0x1e6487){if(_0x843e54['inputSnapshot'])_0x1e6487['inputSnapshot']=_0x843e54['inputSnapshot'];if(_0x843e54[_0x3266fb(0x12a)])_0x1e6487[_0x3266fb(0x12a)]=_0x843e54[_0x3266fb(0x12a)];}break;}case _0x727de5['ZDial']:{const _0x1fc8ca=_0x2aca9b,_0x8d0d48=_0x267545[_0x3266fb(0x136)](_0x1fc8ca['callId']);if(_0x8d0d48){_0x8d0d48[_0x3266fb(0x116)]=_0x1fc8ca[_0x3266fb(0x116)];if(_0x1fc8ca[_0x3266fb(0x139)])_0x8d0d48[_0x3266fb(0x139)]=_0x1fc8ca[_0x3266fb(0x139)];}break;}}}const _0x40a2c8=Array[_0x3266fb(0x128)](_0x267545[_0x3266fb(0x123)]())['filter'](_0x2130ea=>_0x2130ea['endTime']>0x0&&(_0x2130ea['afterSnapshot']||_0x2130ea[_0x3266fb(0x107)]))[_0x3266fb(0x113)]((_0x1d1c75,_0x163453)=>_0x1d1c75['startTime']-_0x163453[_0x3266fb(0x111)]);if(_0x727de5[_0x3266fb(0x11e)](_0x40a2c8[_0x3266fb(0x134)],0x0))return _0x1735ee;const _0x5e91e3=new Map();for(const _0x3cbc97 of _0x9b6226){if(_0x727de5[_0x3266fb(0x130)](_0x3cbc97[_0x3266fb(0x10e)],_0x3266fb(0x10d))){const _0xb1a65=_0x3cbc97['snapshot'];_0xb1a65?.[_0x3266fb(0x12e)]&&_0xb1a65?.['frameUrl']&&_0x5e91e3[_0x3266fb(0x13b)](_0xb1a65[_0x3266fb(0x12e)],_0xb1a65[_0x3266fb(0x11c)]);}}const _0x5828a4=new Map();for(const _0x3dee91 of _0x40a2c8){const _0x2e521e=_0x3dee91['params']?.[_0x3266fb(0x10a)];_0x3dee91['method']===_0x3266fb(0x11a)&&_0x727de5[_0x3266fb(0x104)](typeof _0x2e521e,_0x727de5[_0x3266fb(0x129)])&&_0x3dee91['pageId']&&_0x5828a4['set'](_0x3dee91['pageId'],_0x2e521e);}for(const _0x39f907 of _0x9b6226){const _0x51557e=_0x39f907,_0x581d8c=_0x51557e[_0x3266fb(0x110)],_0x2615b=_0x581d8c?.[_0x3266fb(0x10a)];_0x727de5[_0x3266fb(0x11e)](_0x51557e['type'],_0x727de5[_0x3266fb(0x11f)])&&_0x727de5['gEDuY'](_0x51557e[_0x3266fb(0x103)],_0x727de5['QiBbq'])&&_0x727de5['pIMqF'](typeof _0x2615b,'string')&&_0x727de5[_0x3266fb(0x106)](typeof _0x51557e['pageId'],_0x727de5[_0x3266fb(0x129)])&&_0x5828a4['set'](_0x51557e['pageId'],_0x2615b);}for(const _0x522a37 of _0x3605d5){const _0x58f36b=new Date(_0x522a37[_0x3266fb(0x12b)])['getTime'](),_0x3ec327=_0x58f36b-_0x537579;let _0x2f6468=null,_0x2f8c9c=Infinity;for(const _0x1a00dc of _0x40a2c8){const _0x1a5e3e=Math[_0x3266fb(0x115)](_0x1a00dc['endTime']-_0x3ec327);_0x1a5e3e<_0x2f8c9c&&(_0x2f8c9c=_0x1a5e3e,_0x2f6468=_0x1a00dc);}if(!_0x2f6468)continue;const _0x1e866d=_0x2f6468[_0x3266fb(0x139)]||_0x2f6468['beforeSnapshot'];if(!_0x1e866d)continue;const _0x2d954a=_0x2f6468[_0x3266fb(0x126)]||'page@0';let _0x20d977=_0x5e91e3['get'](_0x1e866d)||_0x5828a4['get'](_0x2d954a)||'';if(!_0x20d977)for(let _0x214cd4=_0x40a2c8['indexOf'](_0x2f6468);_0x214cd4>=0x0;_0x214cd4--){const _0x346c3e=_0x40a2c8[_0x214cd4]['params']?.['url'];if(_0x727de5['XjskW'](_0x40a2c8[_0x214cd4]['method'],_0x727de5['zTdrz'])&&_0x727de5['XVITD'](typeof _0x346c3e,'string')){_0x20d977=_0x346c3e;break;}}let _0x101860,_0x504ff0;const _0x34ed3e=_0x40a2c8[_0x3266fb(0x133)](_0x2f6468);if(_0x727de5[_0x3266fb(0x138)](_0x34ed3e,0x0)&&_0x727de5[_0x3266fb(0x132)](_0x34ed3e,_0x40a2c8[_0x3266fb(0x134)]-0x1)){const _0x36e088=_0x40a2c8[_0x34ed3e+0x1];_0x36e088['point']&&_0x36e088['inputSnapshot']&&(_0x101860=_0x36e088[_0x3266fb(0x12a)],_0x504ff0=_0x36e088['inputSnapshot']);}_0x1735ee[_0x3266fb(0x13b)](_0x522a37[_0x3266fb(0x12d)],{'snapshotName':_0x1e866d,'inputSnapshotName':_0x504ff0,'pageId':_0x2d954a,'pageUrl':_0x20d977,'callId':_0x2f6468[_0x3266fb(0x118)],'point':_0x101860});}return _0x1735ee;}
1
+ (function(_0x4adbd2,_0x3dba4f){const _0x8f6afc=_0x5908,_0x2d4d86=_0x4adbd2();while(!![]){try{const _0x53ca3e=-parseInt(_0x8f6afc(0x135))/0x1+parseInt(_0x8f6afc(0x134))/0x2*(-parseInt(_0x8f6afc(0x13f))/0x3)+parseInt(_0x8f6afc(0x128))/0x4*(-parseInt(_0x8f6afc(0x132))/0x5)+parseInt(_0x8f6afc(0x11c))/0x6*(parseInt(_0x8f6afc(0x129))/0x7)+parseInt(_0x8f6afc(0x110))/0x8+parseInt(_0x8f6afc(0x113))/0x9*(parseInt(_0x8f6afc(0x12a))/0xa)+-parseInt(_0x8f6afc(0x145))/0xb*(-parseInt(_0x8f6afc(0x11f))/0xc);if(_0x53ca3e===_0x3dba4f)break;else _0x2d4d86['push'](_0x2d4d86['shift']());}catch(_0x531d24){_0x2d4d86['push'](_0x2d4d86['shift']());}}}(_0xe6b9,0xc3311));import{readdir,readFile}from'fs/promises';import{join}from'path';export async function mapStepsToTraceSnapshots(_0x9454b3,_0x196906){const _0x4bfd33=_0x5908,_0x22b128={'EYZhH':_0x4bfd33(0x127),'yXSDT':function(_0x552d50,_0x43f671){return _0x552d50(_0x43f671);},'umzMq':function(_0x1e2ef5,_0x1d41c6){return _0x1e2ef5===_0x1d41c6;},'WcYYP':'utf-8','Osxxn':function(_0x488e0d,_0x23c2cf){return _0x488e0d-_0x23c2cf;},'JLOti':'input','bEAse':_0x4bfd33(0x131),'fKyPy':function(_0x1760f9,_0x5c3d58){return _0x1760f9===_0x5c3d58;},'ZTyZC':'goto','lDozm':_0x4bfd33(0x12b),'lFsgx':function(_0x119921,_0x40c29b){return _0x119921===_0x40c29b;},'qedgb':_0x4bfd33(0x137),'aPOJg':function(_0x2f409a,_0x1529cf){return _0x2f409a===_0x1529cf;},'WWIRT':'page@0','imldQ':function(_0x1b8e17,_0x22c383){return _0x1b8e17===_0x22c383;},'ApumM':function(_0x2051f8,_0x5664de){return _0x2051f8-_0x5664de;},'EGVXl':function(_0x51551c,_0x2089d4){return _0x51551c+_0x2089d4;}},_0x26b30d=new Map();if(_0x196906[_0x4bfd33(0x13b)]===0x0)return _0x26b30d;const _0x38c371=[],_0x46bf60=async _0xc5e2d2=>{const _0x39df9c=_0x4bfd33,_0x4a90a5=await readdir(_0xc5e2d2,{'withFileTypes':!![]});for(const _0x1cc169 of _0x4a90a5){const _0x4812a0=join(_0xc5e2d2,_0x1cc169[_0x39df9c(0x115)]);if(_0x1cc169['isDirectory']())await _0x46bf60(_0x4812a0);else _0x1cc169['name']['endsWith'](_0x22b128['EYZhH'])&&_0x38c371[_0x39df9c(0x12c)](_0x4812a0);}};await _0x22b128[_0x4bfd33(0x114)](_0x46bf60,_0x9454b3);if(_0x22b128[_0x4bfd33(0x12e)](_0x38c371['length'],0x0))return _0x26b30d;const _0x431c44=[];for(const _0x3f6e94 of _0x38c371){const _0x1caee8=await readFile(_0x3f6e94,_0x22b128['WcYYP']),_0x2ad7f8=_0x1caee8['split']('\x0a')[_0x4bfd33(0x12d)](_0x29ba1e=>_0x29ba1e['trim']());for(const _0x619f8e of _0x2ad7f8){try{_0x431c44['push'](JSON[_0x4bfd33(0x142)](_0x619f8e));}catch{}}}if(_0x22b128['umzMq'](_0x431c44[_0x4bfd33(0x13b)],0x0))return _0x26b30d;const _0x4fce2d=_0x431c44['find'](_0x2a322d=>_0x2a322d['type']===_0x4bfd33(0x112));if(!_0x4fce2d)return _0x26b30d;const _0xffb7f0=_0x22b128['Osxxn'](_0x4fce2d['wallTime'],_0x4fce2d[_0x4bfd33(0x117)]),_0x3f36c3=new Map();for(const _0xffdd6a of _0x431c44){switch(_0xffdd6a[_0x4bfd33(0x130)]){case'before':{const _0x1702e9=_0xffdd6a;_0x3f36c3[_0x4bfd33(0x120)](_0x1702e9['callId'],{'callId':_0x1702e9[_0x4bfd33(0x133)],'startTime':_0x1702e9['startTime'],'endTime':0x0,'method':_0x1702e9[_0x4bfd33(0x139)],'apiName':_0x1702e9['apiName'],'params':_0x1702e9['params'],'pageId':_0x1702e9['pageId'],'beforeSnapshot':_0x1702e9['beforeSnapshot']});break;}case _0x22b128[_0x4bfd33(0x143)]:{const _0x2482ec=_0xffdd6a,_0x13c3a3=_0x3f36c3[_0x4bfd33(0x125)](_0x2482ec['callId']);if(_0x13c3a3){if(_0x2482ec['inputSnapshot'])_0x13c3a3['inputSnapshot']=_0x2482ec[_0x4bfd33(0x118)];if(_0x2482ec[_0x4bfd33(0x116)])_0x13c3a3[_0x4bfd33(0x116)]=_0x2482ec[_0x4bfd33(0x116)];}break;}case _0x22b128[_0x4bfd33(0x138)]:{const _0x8a2b3a=_0xffdd6a,_0x3b1c61=_0x3f36c3['get'](_0x8a2b3a['callId']);if(_0x3b1c61){_0x3b1c61[_0x4bfd33(0x140)]=_0x8a2b3a[_0x4bfd33(0x140)];if(_0x8a2b3a['afterSnapshot'])_0x3b1c61[_0x4bfd33(0x13a)]=_0x8a2b3a['afterSnapshot'];}break;}}}const _0x4183ea=Array['from'](_0x3f36c3[_0x4bfd33(0x11e)]())['filter'](_0x1a1f33=>_0x1a1f33[_0x4bfd33(0x140)]>0x0&&(_0x1a1f33['afterSnapshot']||_0x1a1f33[_0x4bfd33(0x126)]))['sort']((_0x524da7,_0x2a5501)=>_0x524da7[_0x4bfd33(0x122)]-_0x2a5501[_0x4bfd33(0x122)]);if(_0x22b128[_0x4bfd33(0x11b)](_0x4183ea[_0x4bfd33(0x13b)],0x0))return _0x26b30d;const _0x587b68=new Map();for(const _0x4363fd of _0x431c44){if(_0x4363fd['type']==='frame-snapshot'){const _0x280444=_0x4363fd['snapshot'];_0x280444?.[_0x4bfd33(0x121)]&&_0x280444?.['frameUrl']&&_0x587b68['set'](_0x280444['snapshotName'],_0x280444[_0x4bfd33(0x10e)]);}}const _0x208df8=new Map();for(const _0x4e0fd3 of _0x4183ea){const _0x45fa1f=_0x4e0fd3['params']?.[_0x4bfd33(0x144)];_0x22b128[_0x4bfd33(0x12e)](_0x4e0fd3[_0x4bfd33(0x139)],_0x22b128[_0x4bfd33(0x11d)])&&typeof _0x45fa1f==='string'&&_0x4e0fd3['pageId']&&_0x208df8[_0x4bfd33(0x120)](_0x4e0fd3['pageId'],_0x45fa1f);}for(const _0x3f972b of _0x431c44){const _0x2e122d=_0x3f972b,_0x2c14c7=_0x2e122d[_0x4bfd33(0x12f)],_0x3a1dcb=_0x2c14c7?.['url'];_0x22b128['umzMq'](_0x2e122d[_0x4bfd33(0x130)],_0x4bfd33(0x13d))&&_0x22b128[_0x4bfd33(0x12e)](_0x2e122d[_0x4bfd33(0x139)],_0x22b128[_0x4bfd33(0x119)])&&_0x22b128[_0x4bfd33(0x13c)](typeof _0x3a1dcb,_0x22b128[_0x4bfd33(0x123)])&&_0x22b128['aPOJg'](typeof _0x2e122d['pageId'],_0x22b128['qedgb'])&&_0x208df8[_0x4bfd33(0x120)](_0x2e122d['pageId'],_0x3a1dcb);}for(const _0x10fc29 of _0x196906){const _0x5af49d=new Date(_0x10fc29[_0x4bfd33(0x11a)])[_0x4bfd33(0x13e)](),_0xd0950b=_0x22b128[_0x4bfd33(0x141)](_0x5af49d,_0xffb7f0);let _0x34d6f0=null,_0x5e2bd7=Infinity;for(const _0x33aa7d of _0x4183ea){const _0x33e8bb=Math[_0x4bfd33(0x136)](_0x22b128['Osxxn'](_0x33aa7d['endTime'],_0xd0950b));_0x33e8bb<_0x5e2bd7&&(_0x5e2bd7=_0x33e8bb,_0x34d6f0=_0x33aa7d);}if(!_0x34d6f0)continue;const _0x26c6d7=_0x34d6f0['afterSnapshot']||_0x34d6f0[_0x4bfd33(0x126)];if(!_0x26c6d7)continue;const _0x150d90=_0x34d6f0['pageId']||_0x22b128['WWIRT'];let _0x28ae2a=_0x587b68[_0x4bfd33(0x125)](_0x26c6d7)||_0x208df8['get'](_0x150d90)||'';if(!_0x28ae2a)for(let _0x5a7576=_0x4183ea['indexOf'](_0x34d6f0);_0x5a7576>=0x0;_0x5a7576--){const _0xba8450=_0x4183ea[_0x5a7576][_0x4bfd33(0x12f)]?.['url'];if(_0x4183ea[_0x5a7576]['method']==='goto'&&_0x22b128[_0x4bfd33(0x124)](typeof _0xba8450,_0x22b128[_0x4bfd33(0x123)])){_0x28ae2a=_0xba8450;break;}}let _0x5200f3,_0xde68bc;const _0x4b4ba6=_0x4183ea['indexOf'](_0x34d6f0);if(_0x4b4ba6>=0x0&&_0x4b4ba6<_0x22b128['ApumM'](_0x4183ea['length'],0x1)){const _0x40bc29=_0x4183ea[_0x22b128[_0x4bfd33(0x10f)](_0x4b4ba6,0x1)];_0x40bc29[_0x4bfd33(0x116)]&&_0x40bc29[_0x4bfd33(0x118)]&&(_0x5200f3=_0x40bc29['point'],_0xde68bc=_0x40bc29['inputSnapshot']);}_0x26b30d['set'](_0x10fc29[_0x4bfd33(0x111)],{'snapshotName':_0x26c6d7,'inputSnapshotName':_0xde68bc,'pageId':_0x150d90,'pageUrl':_0x28ae2a,'callId':_0x34d6f0['callId'],'point':_0x5200f3});}return _0x26b30d;}function _0x5908(_0x5a5875,_0x135dad){_0x5a5875=_0x5a5875-0x10e;const _0xe6b9c6=_0xe6b9();let _0x5908b5=_0xe6b9c6[_0x5a5875];return _0x5908b5;}function _0xe6b9(){const _0x1cf960=['270umSODm','navigated','push','filter','umzMq','params','type','after','4944095wHYmmQ','callId','693598GntpZe','472649ZkJcGi','abs','string','bEAse','method','afterSnapshot','length','lFsgx','event','getTime','12EjzbIx','endTime','Osxxn','parse','JLOti','url','3487JrtcXo','frameUrl','EGVXl','6751904RsRbqx','stepId','context-options','505737fNliZq','yXSDT','name','point','monotonicTime','inputSnapshot','lDozm','capturedAt','fKyPy','119526fqjlRo','ZTyZC','values','47964CHVOLo','set','snapshotName','startTime','qedgb','imldQ','get','beforeSnapshot','.trace','4cgVppf','7HQuBaY'];_0xe6b9=function(){return _0x1cf960;};return _0xe6b9();}
@@ -1 +1 @@
1
- function _0x2349(_0x432928,_0x5b6ad7){_0x432928=_0x432928-0x69;const _0x2d302c=_0x2d30();let _0x23498b=_0x2d302c[_0x432928];return _0x23498b;}function _0x2d30(){const _0x1a36b2=['hHEov','307204fTSONs','2QeQjYt','JgrNF','13400wzvAMC','GET','1758kfigyl','13339300eCKTvn','3570919DJhnFk','246wpenft','126AHkxDI','63tdODpg','12ogUstR','/api/v1/mcp/me','67112LdfeHT','Bearer\x20','3390oqgMRT','22188SLOTQD','statusText'];_0x2d30=function(){return _0x1a36b2;};return _0x2d30();}(function(_0x2ee449,_0x3d510c){const _0x496a00=_0x2349,_0x364fee=_0x2ee449();while(!![]){try{const _0x24c70f=parseInt(_0x496a00(0x79))/0x1*(-parseInt(_0x496a00(0x7a))/0x2)+-parseInt(_0x496a00(0x6e))/0x3*(parseInt(_0x496a00(0x76))/0x4)+parseInt(_0x496a00(0x75))/0x5*(parseInt(_0x496a00(0x6b))/0x6)+parseInt(_0x496a00(0x70))/0x7*(parseInt(_0x496a00(0x73))/0x8)+-parseInt(_0x496a00(0x6f))/0x9*(-parseInt(_0x496a00(0x69))/0xa)+parseInt(_0x496a00(0x6d))/0xb*(-parseInt(_0x496a00(0x71))/0xc)+parseInt(_0x496a00(0x6c))/0xd;if(_0x24c70f===_0x3d510c)break;else _0x364fee['push'](_0x364fee['shift']());}catch(_0x555634){_0x364fee['push'](_0x364fee['shift']());}}}(_0x2d30,0x38b88));import{getApiBaseUrl}from'./environment.js';export async function getCurrentUser(_0x2ef178){const _0x4efab=_0x2349,_0x48e653={'JgrNF':_0x4efab(0x6a),'hHEov':function(_0x1566a3,_0x3c5350){return _0x1566a3(_0x3c5350);}},_0xca6a8a=getApiBaseUrl();try{const _0x19a688=await fetch(_0xca6a8a+_0x4efab(0x72),{'method':_0x48e653[_0x4efab(0x7b)],'headers':{'Authorization':_0x4efab(0x74)+_0x2ef178}});if(!_0x19a688['ok'])return{'success':![],'error':_0x19a688['status']+'\x20'+_0x19a688[_0x4efab(0x77)],'status':_0x19a688['status']};const _0x5f8403=await _0x19a688['json']();return{'success':!![],'user':_0x5f8403};}catch(_0x5eddd2){return{'success':![],'error':_0x5eddd2 instanceof Error?_0x5eddd2['message']:_0x48e653[_0x4efab(0x78)](String,_0x5eddd2)};}}
1
+ function _0x50f4(){const _0x569b85=['message','1002348FVgEQT','status','282496fgdzND','statusText','57904zWdChw','syhcf','65148onqDhJ','10paCycc','1397YaSqCq','452393dTFOtd','15126FaQTCB','QARiV','json','540cqAlGq','5992065mNfzdE','8hYZemH','3HbYunj'];_0x50f4=function(){return _0x569b85;};return _0x50f4();}function _0x4c1f(_0x178265,_0x9f8ee8){_0x178265=_0x178265-0xd1;const _0x50f409=_0x50f4();let _0x4c1fcc=_0x50f409[_0x178265];return _0x4c1fcc;}(function(_0x9bfe37,_0x44ed6a){const _0x13fbb4=_0x4c1f,_0xef1f64=_0x9bfe37();while(!![]){try{const _0x3f99f9=-parseInt(_0x13fbb4(0xdf))/0x1+-parseInt(_0x13fbb4(0xd6))/0x2*(-parseInt(_0x13fbb4(0xd4))/0x3)+parseInt(_0x13fbb4(0xd8))/0x4+-parseInt(_0x13fbb4(0xd1))/0x5*(-parseInt(_0x13fbb4(0xe0))/0x6)+parseInt(_0x13fbb4(0xda))/0x7*(parseInt(_0x13fbb4(0xd3))/0x8)+-parseInt(_0x13fbb4(0xd2))/0x9*(-parseInt(_0x13fbb4(0xdd))/0xa)+-parseInt(_0x13fbb4(0xde))/0xb*(parseInt(_0x13fbb4(0xdc))/0xc);if(_0x3f99f9===_0x44ed6a)break;else _0xef1f64['push'](_0xef1f64['shift']());}catch(_0x3156b1){_0xef1f64['push'](_0xef1f64['shift']());}}}(_0x50f4,0x5bdb7));import{getApiBaseUrl}from'./environment.js';export async function getCurrentUser(_0x100f94){const _0x1d5040=_0x4c1f,_0x4f2bf2={'ssCCZ':function(_0x1c10e8){return _0x1c10e8();},'QARiV':function(_0x2e6fab,_0xc32ff3,_0x47af25){return _0x2e6fab(_0xc32ff3,_0x47af25);},'ZaYqQ':'GET','FPkJu':function(_0x165550,_0x181120){return _0x165550 instanceof _0x181120;},'syhcf':function(_0x2695b3,_0x462ee3){return _0x2695b3(_0x462ee3);}},_0x4628d3=_0x4f2bf2['ssCCZ'](getApiBaseUrl);try{const _0xad0f1e=await _0x4f2bf2[_0x1d5040(0xe1)](fetch,_0x4628d3+'/api/v1/mcp/me',{'method':_0x4f2bf2['ZaYqQ'],'headers':{'Authorization':'Bearer\x20'+_0x100f94}});if(!_0xad0f1e['ok'])return{'success':![],'error':_0xad0f1e[_0x1d5040(0xd7)]+'\x20'+_0xad0f1e[_0x1d5040(0xd9)],'status':_0xad0f1e[_0x1d5040(0xd7)]};const _0x1a6080=await _0xad0f1e[_0x1d5040(0xe2)]();return{'success':!![],'user':_0x1a6080};}catch(_0x588cbf){return{'success':![],'error':_0x4f2bf2['FPkJu'](_0x588cbf,Error)?_0x588cbf[_0x1d5040(0xd5)]:_0x4f2bf2[_0x1d5040(0xdb)](String,_0x588cbf)};}}
@@ -1 +1 @@
1
- const _0x47588d=_0x3f1d;function _0x127f(){const _0x47e904=['@ranger-testing/ranger-cli','1009670aPvfmc','139119HOaXBd','860070UgWTsl','pipe','message','version','unknown','1835430Lykumj','gJgsR','2317PMcpOj','split','bykko','2193232pBtZUz','548430KZkvlQ','YgNNH','4920hBevkp','InJWT'];_0x127f=function(){return _0x47e904;};return _0x127f();}(function(_0x4bad6a,_0x3581b7){const _0x5f4cf4=_0x3f1d,_0x48c074=_0x4bad6a();while(!![]){try{const _0x11cdc0=parseInt(_0x5f4cf4(0x108))/0x1+parseInt(_0x5f4cf4(0x107))/0x2+-parseInt(_0x5f4cf4(0x114))/0x3+parseInt(_0x5f4cf4(0x113))/0x4+-parseInt(_0x5f4cf4(0x109))/0x5+-parseInt(_0x5f4cf4(0x10e))/0x6+-parseInt(_0x5f4cf4(0x110))/0x7*(parseInt(_0x5f4cf4(0x104))/0x8);if(_0x11cdc0===_0x3581b7)break;else _0x48c074['push'](_0x48c074['shift']());}catch(_0x3aba9c){_0x48c074['push'](_0x48c074['shift']());}}}(_0x127f,0x50120));import{readFileSync}from'fs';function _0x3f1d(_0x1041f3,_0x388073){_0x1041f3=_0x1041f3-0x103;const _0x127fcd=_0x127f();let _0x3f1d3a=_0x127fcd[_0x1041f3];return _0x3f1d3a;}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=_0x47588d(0x106);export function getCurrentVersion(){const _0xc41241=_0x47588d,_0x4fe57c={'lpHMm':'package.json','YgNNH':_0xc41241(0x10d)},_0x2258c6=[join(__dirname,'..','..',_0x4fe57c['lpHMm']),join(__dirname,'..','..','..',_0x4fe57c['lpHMm'])];for(const _0x3955e8 of _0x2258c6){if(existsSync(_0x3955e8))try{const _0x3b8113=JSON['parse'](readFileSync(_0x3955e8,'utf-8'));return _0x3b8113[_0xc41241(0x10c)]||_0x4fe57c[_0xc41241(0x103)];}catch{continue;}}return _0x4fe57c[_0xc41241(0x103)];}export function getLatestVersion(){const _0xb1855e=_0x47588d,_0x239d6a={'JkCQH':_0xb1855e(0x10a),'gJgsR':function(_0x45586e,_0x2306d2){return _0x45586e(_0x2306d2);}};try{const _0x14f97c=execSync('npm\x20view\x20'+PACKAGE_NAME+'\x20version',{'encoding':'utf-8','timeout':0x2710,'stdio':[_0x239d6a['JkCQH'],_0x239d6a['JkCQH'],_0x239d6a['JkCQH']]});return{'version':_0x14f97c['trim']()};}catch(_0x107961){const _0x10bd10=_0x107961 instanceof Error?_0x107961[_0xb1855e(0x10b)]:_0x239d6a[_0xb1855e(0x10f)](String,_0x107961);return{'error':_0x10bd10};}}export function compareVersions(_0x45107a,_0x2da928){const _0x1cd76a=_0x47588d,_0x65f56f={'InJWT':function(_0x3d7a10,_0xa06e1b){return _0x3d7a10<_0xa06e1b;},'bykko':function(_0x53f553,_0x5b6b09){return _0x53f553>_0x5b6b09;}},_0x36bab1=_0x45107a[_0x1cd76a(0x111)]('.')['map'](Number),_0x35251c=_0x2da928[_0x1cd76a(0x111)]('.')['map'](Number);for(let _0x392928=0x0;_0x65f56f[_0x1cd76a(0x105)](_0x392928,0x3);_0x392928++){const _0x2a8e58=_0x36bab1[_0x392928]||0x0,_0x6fbcfd=_0x35251c[_0x392928]||0x0;if(_0x65f56f[_0x1cd76a(0x112)](_0x6fbcfd,_0x2a8e58))return 0x1;if(_0x6fbcfd<_0x2a8e58)return-0x1;}return 0x0;}
1
+ function _0x549c(_0x5557b9,_0x51a083){_0x5557b9=_0x5557b9-0x16c;const _0x3869dd=_0x3869();let _0x549c72=_0x3869dd[_0x5557b9];return _0x549c72;}(function(_0x558e9a,_0x390e33){const _0x5bdd7a=_0x549c,_0x3a1db3=_0x558e9a();while(!![]){try{const _0x1c3795=parseInt(_0x5bdd7a(0x17b))/0x1*(-parseInt(_0x5bdd7a(0x181))/0x2)+-parseInt(_0x5bdd7a(0x172))/0x3*(-parseInt(_0x5bdd7a(0x16e))/0x4)+-parseInt(_0x5bdd7a(0x16d))/0x5+parseInt(_0x5bdd7a(0x17d))/0x6*(-parseInt(_0x5bdd7a(0x174))/0x7)+parseInt(_0x5bdd7a(0x176))/0x8+parseInt(_0x5bdd7a(0x175))/0x9+parseInt(_0x5bdd7a(0x182))/0xa*(parseInt(_0x5bdd7a(0x180))/0xb);if(_0x1c3795===_0x390e33)break;else _0x3a1db3['push'](_0x3a1db3['shift']());}catch(_0x17e7cd){_0x3a1db3['push'](_0x3a1db3['shift']());}}}(_0x3869,0x24c1f));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='@ranger-testing/ranger-cli';function _0x3869(){const _0x1c1119=['200948sMDdGq','Mzwha','oRcPL','yOEGA','3knFsnd','package.json','240457TKRgFp','311868sFLlpY','74704FbZopf','yesUQ','utf-8','pipe','split','73YblquG','unknown','6dmmEeH','ynUrO','version','5069735WxBfZo','5600YCYKZg','10QoQygo','trim','KomTx','829010PxKNWC'];_0x3869=function(){return _0x1c1119;};return _0x3869();}export function getCurrentVersion(){const _0x175be1=_0x549c,_0x2fec3c={'Mzwha':'package.json','EQwWP':function(_0x2fc52c,_0x34bb61,_0x34788c,_0x9aa9ee,_0x5454df,_0x1c56bf){return _0x2fc52c(_0x34bb61,_0x34788c,_0x9aa9ee,_0x5454df,_0x1c56bf);},'qbWQe':function(_0x33e4ab,_0x4f6b77){return _0x33e4ab(_0x4f6b77);},'KomTx':'utf-8'},_0x421de9=[join(__dirname,'..','..',_0x2fec3c[_0x175be1(0x16f)]),_0x2fec3c['EQwWP'](join,__dirname,'..','..','..',_0x175be1(0x173))];for(const _0x4de4e3 of _0x421de9){if(_0x2fec3c['qbWQe'](existsSync,_0x4de4e3))try{const _0x341728=JSON['parse'](readFileSync(_0x4de4e3,_0x2fec3c[_0x175be1(0x16c)]));return _0x341728[_0x175be1(0x17f)]||_0x175be1(0x17c);}catch{continue;}}return _0x175be1(0x17c);}export function getLatestVersion(){const _0xf26b63=_0x549c,_0x28af80={'yesUQ':_0xf26b63(0x178),'veaxs':_0xf26b63(0x179),'QXAcO':function(_0x19f86f,_0x1676d2){return _0x19f86f instanceof _0x1676d2;},'yOEGA':function(_0x5901c1,_0x2b2d83){return _0x5901c1(_0x2b2d83);}};try{const _0x1b2ea2=execSync('npm\x20view\x20'+PACKAGE_NAME+'\x20version',{'encoding':_0x28af80[_0xf26b63(0x177)],'timeout':0x2710,'stdio':[_0x28af80['veaxs'],'pipe','pipe']});return{'version':_0x1b2ea2[_0xf26b63(0x183)]()};}catch(_0x3a32a4){const _0xc00dca=_0x28af80['QXAcO'](_0x3a32a4,Error)?_0x3a32a4['message']:_0x28af80[_0xf26b63(0x171)](String,_0x3a32a4);return{'error':_0xc00dca};}}export function compareVersions(_0x287a4b,_0x460981){const _0x5082cb=_0x549c,_0x37feff={'oRcPL':function(_0x190d4f,_0x2cfdde){return _0x190d4f>_0x2cfdde;},'ynUrO':function(_0x185431,_0x4dde67){return _0x185431<_0x4dde67;}},_0x27ce25=_0x287a4b[_0x5082cb(0x17a)]('.')['map'](Number),_0x2249e8=_0x460981['split']('.')['map'](Number);for(let _0x6f8c71=0x0;_0x6f8c71<0x3;_0x6f8c71++){const _0x5e2f60=_0x27ce25[_0x6f8c71]||0x0,_0x315bfa=_0x2249e8[_0x6f8c71]||0x0;if(_0x37feff[_0x5082cb(0x170)](_0x315bfa,_0x5e2f60))return 0x1;if(_0x37feff[_0x5082cb(0x17e)](_0x315bfa,_0x5e2f60))return-0x1;}return 0x0;}