@ranger-testing/ranger-cli 2.5.4-alpha.0e8b82c-9 → 2.5.4-alpha.152f635-21

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 -1
  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 -1
  43. package/build/commands/utils/cloudProfileSession.js +1 -1
  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 -1
  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 -1
  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 -1
  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 -1
  65. package/build/commands/utils/resolveProfileUrl.js +1 -1
  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 +24 -8
  80. package/build/skills/ranger/create.md +16 -3
  81. package/build/skills/ranger/verify.md +35 -10
  82. package/package.json +3 -2
@@ -1 +1 @@
1
- function _0x4ff1(_0x1ca49f,_0x42c289){_0x1ca49f=_0x1ca49f-0x8e;const _0x46497b=_0x4649();let _0x4ff169=_0x46497b[_0x1ca49f];return _0x4ff169;}(function(_0x4b89b3,_0xd4a399){const _0x3cd8a3=_0x4ff1,_0x24d418=_0x4b89b3();while(!![]){try{const _0x23beda=-parseInt(_0x3cd8a3(0xbc))/0x1+parseInt(_0x3cd8a3(0xb2))/0x2*(parseInt(_0x3cd8a3(0x93))/0x3)+parseInt(_0x3cd8a3(0xb5))/0x4+-parseInt(_0x3cd8a3(0xbf))/0x5*(-parseInt(_0x3cd8a3(0xa1))/0x6)+parseInt(_0x3cd8a3(0xc2))/0x7+parseInt(_0x3cd8a3(0x94))/0x8*(parseInt(_0x3cd8a3(0x9e))/0x9)+-parseInt(_0x3cd8a3(0x98))/0xa*(parseInt(_0x3cd8a3(0xac))/0xb);if(_0x23beda===_0xd4a399)break;else _0x24d418['push'](_0x24d418['shift']());}catch(_0x4fe8ec){_0x24d418['push'](_0x24d418['shift']());}}}(_0x4649,0xa6301));import{readdir,readFile}from'fs/promises';import{join}from'path';function _0x4649(){const _0x4cfabd=['method','point','length','inputSnapshot','push','endTime','cQdTH','pageId','JnBdY','517CohXSM','abs','trim','input','FRpmF','snapshot','142938XnEGtZ','get','cQtmT','318776GntmQx','frameUrl','event','before','split','stepId','set','333641tBjnZQ','name','sort','446045ZMsGyw','filter','frame-snapshot','2614283wqjcEC','indexOf','beforeSnapshot','url','NOFeo','apiName','string','context-options','callId','capturedAt','page@0','27hFAHMI','184uIfIHs','wallTime','params','from','405900puCuzR','goto','after','startTime','gROnw','Ppcwi','504954HQTAZM','afterSnapshot','type','36sewOUE','jEFni'];_0x4649=function(){return _0x4cfabd;};return _0x4649();}export async function mapStepsToTraceSnapshots(_0x54437c,_0xd85b35){const _0x57360b=_0x4ff1,_0x5131cd={'cVtez':function(_0x22e3ee,_0x5665e6,_0x3fa513){return _0x22e3ee(_0x5665e6,_0x3fa513);},'EvfcJ':'.trace','peSSr':function(_0x260811,_0x44203e){return _0x260811===_0x44203e;},'VaMFX':'utf-8','jaXyL':function(_0x12e216,_0x57758f){return _0x12e216-_0x57758f;},'tPPxg':_0x57360b(0xb8),'NOFeo':_0x57360b(0xaf),'rjOvm':_0x57360b(0x9a),'Ppcwi':_0x57360b(0xc1),'FRpmF':function(_0x403d4f,_0x1f4038){return _0x403d4f===_0x1f4038;},'JnBdY':function(_0x350b8c,_0x30ed86){return _0x350b8c===_0x30ed86;},'AcZlX':_0x57360b(0xb7),'oecsm':function(_0x4bbaa6,_0x5e747a){return _0x4bbaa6===_0x5e747a;},'cQtmT':function(_0x47a46d,_0x38792d){return _0x47a46d<_0x38792d;},'gROnw':function(_0x21d54d,_0x53a38c){return _0x21d54d>=_0x53a38c;},'cQdTH':function(_0x4c1e50,_0x241e9e){return _0x4c1e50===_0x241e9e;},'Vfobe':'string','jEFni':function(_0x16e679,_0xc7d921){return _0x16e679<_0xc7d921;},'DxIwB':function(_0xb00361,_0x27041f){return _0xb00361+_0x27041f;}},_0x421c52=new Map();if(_0xd85b35[_0x57360b(0xa5)]===0x0)return _0x421c52;const _0x1119ee=[],_0x53ef49=async _0x396918=>{const _0x4a8c72=_0x57360b,_0x2298dd=await _0x5131cd['cVtez'](readdir,_0x396918,{'withFileTypes':!![]});for(const _0x4edd82 of _0x2298dd){const _0x3e77ae=join(_0x396918,_0x4edd82[_0x4a8c72(0xbd)]);if(_0x4edd82['isDirectory']())await _0x53ef49(_0x3e77ae);else _0x4edd82[_0x4a8c72(0xbd)]['endsWith'](_0x5131cd['EvfcJ'])&&_0x1119ee[_0x4a8c72(0xa7)](_0x3e77ae);}};await _0x53ef49(_0x54437c);if(_0x5131cd['peSSr'](_0x1119ee['length'],0x0))return _0x421c52;const _0x2f41f6=[];for(const _0x2f4957 of _0x1119ee){const _0x47a571=await readFile(_0x2f4957,_0x5131cd['VaMFX']),_0x5e5d7d=_0x47a571[_0x57360b(0xb9)]('\x0a')[_0x57360b(0xc0)](_0x21692e=>_0x21692e[_0x57360b(0xae)]());for(const _0xb6a5e0 of _0x5e5d7d){try{_0x2f41f6[_0x57360b(0xa7)](JSON['parse'](_0xb6a5e0));}catch{}}}if(_0x2f41f6['length']===0x0)return _0x421c52;const _0x5d2276=_0x2f41f6['find'](_0x10773c=>_0x10773c['type']===_0x57360b(0x8f));if(!_0x5d2276)return _0x421c52;const _0x5f00c9=_0x5131cd['jaXyL'](_0x5d2276[_0x57360b(0x95)],_0x5d2276['monotonicTime']),_0x13c50d=new Map();for(const _0x423ca2 of _0x2f41f6){switch(_0x423ca2['type']){case _0x5131cd['tPPxg']:{const _0x3548c8=_0x423ca2;_0x13c50d[_0x57360b(0xbb)](_0x3548c8[_0x57360b(0x90)],{'callId':_0x3548c8['callId'],'startTime':_0x3548c8[_0x57360b(0x9b)],'endTime':0x0,'method':_0x3548c8['method'],'apiName':_0x3548c8[_0x57360b(0xc7)],'params':_0x3548c8[_0x57360b(0x96)],'pageId':_0x3548c8['pageId'],'beforeSnapshot':_0x3548c8[_0x57360b(0xc4)]});break;}case _0x5131cd[_0x57360b(0xc6)]:{const _0x9331cc=_0x423ca2,_0x245024=_0x13c50d[_0x57360b(0xb3)](_0x9331cc['callId']);if(_0x245024){if(_0x9331cc[_0x57360b(0xa6)])_0x245024['inputSnapshot']=_0x9331cc[_0x57360b(0xa6)];if(_0x9331cc[_0x57360b(0xa4)])_0x245024['point']=_0x9331cc['point'];}break;}case _0x5131cd['rjOvm']:{const _0x22c81b=_0x423ca2,_0x39d58f=_0x13c50d['get'](_0x22c81b['callId']);if(_0x39d58f){_0x39d58f[_0x57360b(0xa8)]=_0x22c81b['endTime'];if(_0x22c81b['afterSnapshot'])_0x39d58f[_0x57360b(0x9f)]=_0x22c81b[_0x57360b(0x9f)];}break;}}}const _0x52395d=Array[_0x57360b(0x97)](_0x13c50d['values']())['filter'](_0x3865f0=>_0x3865f0['endTime']>0x0&&(_0x3865f0['afterSnapshot']||_0x3865f0[_0x57360b(0xc4)]))[_0x57360b(0xbe)]((_0x59b427,_0x3a1015)=>_0x59b427['startTime']-_0x3a1015['startTime']);if(_0x5131cd['peSSr'](_0x52395d[_0x57360b(0xa5)],0x0))return _0x421c52;const _0x444ba7=new Map();for(const _0x227f27 of _0x2f41f6){if(_0x227f27[_0x57360b(0xa0)]===_0x5131cd[_0x57360b(0x9d)]){const _0x3b4930=_0x227f27[_0x57360b(0xb1)];_0x3b4930?.['snapshotName']&&_0x3b4930?.['frameUrl']&&_0x444ba7[_0x57360b(0xbb)](_0x3b4930['snapshotName'],_0x3b4930[_0x57360b(0xb6)]);}}const _0x129165=new Map();for(const _0x2f8340 of _0x52395d){const _0x5395d0=_0x2f8340['params']?.['url'];_0x2f8340[_0x57360b(0xa3)]==='goto'&&_0x5131cd[_0x57360b(0xb0)](typeof _0x5395d0,_0x57360b(0x8e))&&_0x2f8340['pageId']&&_0x129165[_0x57360b(0xbb)](_0x2f8340['pageId'],_0x5395d0);}for(const _0xff6b4b of _0x2f41f6){const _0x353608=_0xff6b4b,_0x1a33a=_0x353608[_0x57360b(0x96)],_0x3b8278=_0x1a33a?.[_0x57360b(0xc5)];_0x5131cd[_0x57360b(0xab)](_0x353608['type'],_0x5131cd['AcZlX'])&&_0x5131cd['FRpmF'](_0x353608[_0x57360b(0xa3)],'navigated')&&typeof _0x3b8278===_0x57360b(0x8e)&&_0x5131cd['oecsm'](typeof _0x353608['pageId'],_0x57360b(0x8e))&&_0x129165[_0x57360b(0xbb)](_0x353608[_0x57360b(0xaa)],_0x3b8278);}for(const _0x913b2 of _0xd85b35){const _0x28b23e=new Date(_0x913b2[_0x57360b(0x91)])['getTime'](),_0xed427d=_0x5131cd['jaXyL'](_0x28b23e,_0x5f00c9);let _0x193150=null,_0x30723b=Infinity;for(const _0x234293 of _0x52395d){const _0x54a021=Math[_0x57360b(0xad)](_0x5131cd['jaXyL'](_0x234293['endTime'],_0xed427d));_0x5131cd[_0x57360b(0xb4)](_0x54a021,_0x30723b)&&(_0x30723b=_0x54a021,_0x193150=_0x234293);}if(!_0x193150)continue;const _0x3b3431=_0x193150['afterSnapshot']||_0x193150['beforeSnapshot'];if(!_0x3b3431)continue;const _0x2face5=_0x193150['pageId']||_0x57360b(0x92);let _0x4676bc=_0x444ba7['get'](_0x3b3431)||_0x129165[_0x57360b(0xb3)](_0x2face5)||'';if(!_0x4676bc)for(let _0x365df8=_0x52395d[_0x57360b(0xc3)](_0x193150);_0x5131cd['gROnw'](_0x365df8,0x0);_0x365df8--){const _0x128400=_0x52395d[_0x365df8][_0x57360b(0x96)]?.[_0x57360b(0xc5)];if(_0x5131cd[_0x57360b(0xa9)](_0x52395d[_0x365df8][_0x57360b(0xa3)],_0x57360b(0x99))&&typeof _0x128400===_0x5131cd['Vfobe']){_0x4676bc=_0x128400;break;}}let _0x32ba7e,_0x96d8b9;const _0x43d0a3=_0x52395d['indexOf'](_0x193150);if(_0x5131cd[_0x57360b(0x9c)](_0x43d0a3,0x0)&&_0x5131cd[_0x57360b(0xa2)](_0x43d0a3,_0x52395d[_0x57360b(0xa5)]-0x1)){const _0x15c14f=_0x52395d[_0x5131cd['DxIwB'](_0x43d0a3,0x1)];_0x15c14f['point']&&_0x15c14f[_0x57360b(0xa6)]&&(_0x32ba7e=_0x15c14f[_0x57360b(0xa4)],_0x96d8b9=_0x15c14f['inputSnapshot']);}_0x421c52['set'](_0x913b2[_0x57360b(0xba)],{'snapshotName':_0x3b3431,'inputSnapshotName':_0x96d8b9,'pageId':_0x2face5,'pageUrl':_0x4676bc,'callId':_0x193150[_0x57360b(0x90)],'point':_0x32ba7e});}return _0x421c52;}
1
+ function _0x21f5(){const _0x5e46bc=['monotonicTime','method','112092mgfUPO','SbUFF','name','jBRoB','963607YVNMnr','100FSCkrN','context-options','frame-snapshot','snapshotName','indexOf','capturedAt','beforeSnapshot','4274088KTEXUR','point','find','from','callId','goto','getTime','TVxHg','inputSnapshot','47488OMHreN','553hguBEe','107512LWyQCQ','pageId','values','.trace','RZnfz','isDirectory','AfFdv','22857471SlrfbD','endTime','before','navigated','startTime','type','abs','BlEbY','string','get','rZeQa','set','BUIHp','filter','xAFIK','params','length','2910492kzgXyB','url','stepId','afterSnapshot','LyqIU','input'];_0x21f5=function(){return _0x5e46bc;};return _0x21f5();}(function(_0x31d41f,_0xe5d844){const _0x4572bf=_0x305d,_0x5ac252=_0x31d41f();while(!![]){try{const _0x48fedc=-parseInt(_0x4572bf(0xa9))/0x1+parseInt(_0x4572bf(0xbc))/0x2+-parseInt(_0x4572bf(0xb1))/0x3+-parseInt(_0x4572bf(0xa5))/0x4*(-parseInt(_0x4572bf(0xaa))/0x5)+-parseInt(_0x4572bf(0x9d))/0x6+-parseInt(_0x4572bf(0xbb))/0x7*(-parseInt(_0x4572bf(0xba))/0x8)+parseInt(_0x4572bf(0xc3))/0x9;if(_0x48fedc===_0xe5d844)break;else _0x5ac252['push'](_0x5ac252['shift']());}catch(_0x31542f){_0x5ac252['push'](_0x5ac252['shift']());}}}(_0x21f5,0xb6fb6));import{readdir,readFile}from'fs/promises';import{join}from'path';function _0x305d(_0x104754,_0x39b34d){_0x104754=_0x104754-0x90;const _0x21f57b=_0x21f5();let _0x305d03=_0x21f57b[_0x104754];return _0x305d03;}export async function mapStepsToTraceSnapshots(_0x39dd5c,_0x32de6a){const _0x399a55=_0x305d,_0x244859={'fggBC':function(_0x3c4d60,_0x4f1df2,_0x1a8801){return _0x3c4d60(_0x4f1df2,_0x1a8801);},'LyqIU':function(_0x4fb50c,_0xd0ecdc){return _0x4fb50c(_0xd0ecdc);},'AfFdv':function(_0x443534,_0x21fb44){return _0x443534===_0x21fb44;},'BUIHp':'utf-8','Oklol':_0x399a55(0xa2),'KSmPy':_0x399a55(0xac),'QzwIT':_0x399a55(0xb6),'jBRoB':function(_0x38cbb7,_0x15bb12){return _0x38cbb7===_0x15bb12;},'zuxMz':function(_0x1bce9c,_0x35b507){return _0x1bce9c===_0x35b507;},'SbUFF':_0x399a55(0x94),'rZeQa':function(_0x180f9b,_0x325be2){return _0x180f9b-_0x325be2;},'RZnfz':function(_0x1dfc5a,_0x57f758){return _0x1dfc5a<_0x57f758;},'xAFIK':'page@0','TVxHg':function(_0x536ad3,_0x5babc1){return _0x536ad3>=_0x5babc1;},'BlEbY':function(_0x54be11,_0x117e52){return _0x54be11>=_0x117e52;},'KzbNN':function(_0x19b6ee,_0x2be5d5){return _0x19b6ee-_0x2be5d5;},'piLIP':function(_0x5b13ed,_0x5824ab){return _0x5b13ed+_0x5824ab;}},_0xe8517b=new Map();if(_0x32de6a[_0x399a55(0x9c)]===0x0)return _0xe8517b;const _0xb68b4c=[],_0x1193ab=async _0x2ee110=>{const _0x26641d=_0x399a55,_0x44d613=await readdir(_0x2ee110,{'withFileTypes':!![]});for(const _0x525aac of _0x44d613){const _0x451990=_0x244859['fggBC'](join,_0x2ee110,_0x525aac[_0x26641d(0xa7)]);if(_0x525aac[_0x26641d(0xc1)]())await _0x1193ab(_0x451990);else _0x525aac[_0x26641d(0xa7)]['endsWith'](_0x26641d(0xbf))&&_0xb68b4c['push'](_0x451990);}};await _0x244859[_0x399a55(0xa1)](_0x1193ab,_0x39dd5c);if(_0x244859[_0x399a55(0xc2)](_0xb68b4c[_0x399a55(0x9c)],0x0))return _0xe8517b;const _0x186bc4=[];for(const _0xec17de of _0xb68b4c){const _0x2264ca=await readFile(_0xec17de,_0x244859[_0x399a55(0x98)]),_0x469ea8=_0x2264ca['split']('\x0a')['filter'](_0x18e556=>_0x18e556['trim']());for(const _0x3f51f7 of _0x469ea8){try{_0x186bc4['push'](JSON['parse'](_0x3f51f7));}catch{}}}if(_0x244859['AfFdv'](_0x186bc4['length'],0x0))return _0xe8517b;const _0xe4ff5d=_0x186bc4[_0x399a55(0xb3)](_0x4976d6=>_0x4976d6[_0x399a55(0x91)]===_0x399a55(0xab));if(!_0xe4ff5d)return _0xe8517b;const _0x48dfd4=_0xe4ff5d['wallTime']-_0xe4ff5d[_0x399a55(0xa3)],_0x130511=new Map();for(const _0x1f2ec7 of _0x186bc4){switch(_0x1f2ec7['type']){case _0x399a55(0xc5):{const _0x7ee6f5=_0x1f2ec7;_0x130511['set'](_0x7ee6f5['callId'],{'callId':_0x7ee6f5['callId'],'startTime':_0x7ee6f5['startTime'],'endTime':0x0,'method':_0x7ee6f5[_0x399a55(0xa4)],'apiName':_0x7ee6f5['apiName'],'params':_0x7ee6f5['params'],'pageId':_0x7ee6f5[_0x399a55(0xbd)],'beforeSnapshot':_0x7ee6f5[_0x399a55(0xb0)]});break;}case _0x244859['Oklol']:{const _0x4c4fa0=_0x1f2ec7,_0x1ec099=_0x130511[_0x399a55(0x95)](_0x4c4fa0['callId']);if(_0x1ec099){if(_0x4c4fa0[_0x399a55(0xb9)])_0x1ec099[_0x399a55(0xb9)]=_0x4c4fa0['inputSnapshot'];if(_0x4c4fa0['point'])_0x1ec099[_0x399a55(0xb2)]=_0x4c4fa0['point'];}break;}case'after':{const _0x11d272=_0x1f2ec7,_0x21d86d=_0x130511['get'](_0x11d272[_0x399a55(0xb5)]);if(_0x21d86d){_0x21d86d['endTime']=_0x11d272['endTime'];if(_0x11d272[_0x399a55(0xa0)])_0x21d86d[_0x399a55(0xa0)]=_0x11d272[_0x399a55(0xa0)];}break;}}}const _0x561b92=Array[_0x399a55(0xb4)](_0x130511[_0x399a55(0xbe)]())[_0x399a55(0x99)](_0x1fbe3d=>_0x1fbe3d[_0x399a55(0xc4)]>0x0&&(_0x1fbe3d[_0x399a55(0xa0)]||_0x1fbe3d['beforeSnapshot']))['sort']((_0x1d10a0,_0x104b3f)=>_0x1d10a0[_0x399a55(0x90)]-_0x104b3f['startTime']);if(_0x244859['AfFdv'](_0x561b92[_0x399a55(0x9c)],0x0))return _0xe8517b;const _0x478109=new Map();for(const _0x5d1555 of _0x186bc4){if(_0x244859[_0x399a55(0xc2)](_0x5d1555['type'],_0x244859['KSmPy'])){const _0x6a5e2f=_0x5d1555['snapshot'];_0x6a5e2f?.[_0x399a55(0xad)]&&_0x6a5e2f?.['frameUrl']&&_0x478109['set'](_0x6a5e2f['snapshotName'],_0x6a5e2f['frameUrl']);}}const _0x55f499=new Map();for(const _0x109910 of _0x561b92){const _0xda743b=_0x109910['params']?.['url'];_0x109910[_0x399a55(0xa4)]===_0x244859['QzwIT']&&typeof _0xda743b===_0x399a55(0x94)&&_0x109910[_0x399a55(0xbd)]&&_0x55f499['set'](_0x109910[_0x399a55(0xbd)],_0xda743b);}for(const _0x3a147e of _0x186bc4){const _0x24da22=_0x3a147e,_0x543f9c=_0x24da22['params'],_0x349615=_0x543f9c?.['url'];_0x244859[_0x399a55(0xa8)](_0x24da22['type'],'event')&&_0x244859[_0x399a55(0xa8)](_0x24da22['method'],_0x399a55(0xc6))&&_0x244859['zuxMz'](typeof _0x349615,_0x244859['SbUFF'])&&typeof _0x24da22['pageId']==='string'&&_0x55f499[_0x399a55(0x97)](_0x24da22['pageId'],_0x349615);}for(const _0x18ca93 of _0x32de6a){const _0x7be4dc=new Date(_0x18ca93[_0x399a55(0xaf)])[_0x399a55(0xb7)](),_0x3ef279=_0x244859[_0x399a55(0x96)](_0x7be4dc,_0x48dfd4);let _0x44b985=null,_0x4af478=Infinity;for(const _0x3a3b0c of _0x561b92){const _0x26f51f=Math[_0x399a55(0x92)](_0x3a3b0c[_0x399a55(0xc4)]-_0x3ef279);_0x244859[_0x399a55(0xc0)](_0x26f51f,_0x4af478)&&(_0x4af478=_0x26f51f,_0x44b985=_0x3a3b0c);}if(!_0x44b985)continue;const _0x3e16b4=_0x44b985['afterSnapshot']||_0x44b985[_0x399a55(0xb0)];if(!_0x3e16b4)continue;const _0x23e221=_0x44b985[_0x399a55(0xbd)]||_0x244859[_0x399a55(0x9a)];let _0x5a261e=_0x478109[_0x399a55(0x95)](_0x3e16b4)||_0x55f499['get'](_0x23e221)||'';if(!_0x5a261e)for(let _0x47c155=_0x561b92[_0x399a55(0xae)](_0x44b985);_0x244859[_0x399a55(0xb8)](_0x47c155,0x0);_0x47c155--){const _0x55804d=_0x561b92[_0x47c155][_0x399a55(0x9b)]?.[_0x399a55(0x9e)];if(_0x561b92[_0x47c155]['method']===_0x244859['QzwIT']&&typeof _0x55804d===_0x244859[_0x399a55(0xa6)]){_0x5a261e=_0x55804d;break;}}let _0x580630,_0x433a65;const _0x26d19a=_0x561b92['indexOf'](_0x44b985);if(_0x244859[_0x399a55(0x93)](_0x26d19a,0x0)&&_0x26d19a<_0x244859['KzbNN'](_0x561b92[_0x399a55(0x9c)],0x1)){const _0x1b5192=_0x561b92[_0x244859['piLIP'](_0x26d19a,0x1)];_0x1b5192[_0x399a55(0xb2)]&&_0x1b5192[_0x399a55(0xb9)]&&(_0x580630=_0x1b5192[_0x399a55(0xb2)],_0x433a65=_0x1b5192[_0x399a55(0xb9)]);}_0xe8517b['set'](_0x18ca93[_0x399a55(0x9f)],{'snapshotName':_0x3e16b4,'inputSnapshotName':_0x433a65,'pageId':_0x23e221,'pageUrl':_0x5a261e,'callId':_0x44b985['callId'],'point':_0x580630});}return _0xe8517b;}
@@ -1 +1 @@
1
- (function(_0x1eecc6,_0x532878){const _0x3e367a=_0x445e,_0x13360a=_0x1eecc6();while(!![]){try{const _0x41ce1a=parseInt(_0x3e367a(0x18c))/0x1*(-parseInt(_0x3e367a(0x181))/0x2)+-parseInt(_0x3e367a(0x187))/0x3+-parseInt(_0x3e367a(0x190))/0x4*(-parseInt(_0x3e367a(0x184))/0x5)+-parseInt(_0x3e367a(0x18b))/0x6+parseInt(_0x3e367a(0x189))/0x7+-parseInt(_0x3e367a(0x183))/0x8*(parseInt(_0x3e367a(0x182))/0x9)+parseInt(_0x3e367a(0x185))/0xa;if(_0x41ce1a===_0x532878)break;else _0x13360a['push'](_0x13360a['shift']());}catch(_0x15131f){_0x13360a['push'](_0x13360a['shift']());}}}(_0x29e4,0xe0ea6));function _0x445e(_0xcae06e,_0x1b5eeb){_0xcae06e=_0xcae06e-0x181;const _0x29e41c=_0x29e4();let _0x445e8d=_0x29e41c[_0xcae06e];return _0x445e8d;}function _0x29e4(){const _0x3bd54d=['23814380LFwtom','PokqR','5420445wvNlUz','GET','3767295eIAukG','sBpAe','5282856fWwCUa','41521VbwYkO','status','json','message','1417484oMPbQJ','44lIqHRc','1525239XdQwOh','8FbniOn','25duacBp'];_0x29e4=function(){return _0x3bd54d;};return _0x29e4();}import{getApiBaseUrl}from'./environment.js';export async function getCurrentUser(_0x5289d0){const _0x43c7b8=_0x445e,_0x30c7c5={'pEisD':function(_0x11b20b){return _0x11b20b();},'dRVWd':_0x43c7b8(0x188),'sBpAe':function(_0x441aec,_0x47ed25){return _0x441aec instanceof _0x47ed25;},'PokqR':function(_0x3f6424,_0x5f2beb){return _0x3f6424(_0x5f2beb);}},_0xd1ad5e=_0x30c7c5['pEisD'](getApiBaseUrl);try{const _0x4f92b0=await fetch(_0xd1ad5e+'/api/v1/mcp/me',{'method':_0x30c7c5['dRVWd'],'headers':{'Authorization':'Bearer\x20'+_0x5289d0}});if(!_0x4f92b0['ok'])return{'success':![],'error':_0x4f92b0[_0x43c7b8(0x18d)]+'\x20'+_0x4f92b0['statusText'],'status':_0x4f92b0['status']};const _0x240b53=await _0x4f92b0[_0x43c7b8(0x18e)]();return{'success':!![],'user':_0x240b53};}catch(_0x31d19e){return{'success':![],'error':_0x30c7c5[_0x43c7b8(0x18a)](_0x31d19e,Error)?_0x31d19e[_0x43c7b8(0x18f)]:_0x30c7c5[_0x43c7b8(0x186)](String,_0x31d19e)};}}
1
+ function _0x500e(_0x3f19cd,_0x4ccc0a){_0x3f19cd=_0x3f19cd-0xf9;const _0x407b86=_0x407b();let _0x500e6e=_0x407b86[_0x3f19cd];return _0x500e6e;}(function(_0x1233b1,_0x59cf95){const _0x818c94=_0x500e,_0x466db9=_0x1233b1();while(!![]){try{const _0x3f2132=parseInt(_0x818c94(0x103))/0x1+-parseInt(_0x818c94(0x101))/0x2+-parseInt(_0x818c94(0x102))/0x3+-parseInt(_0x818c94(0xf9))/0x4*(parseInt(_0x818c94(0x104))/0x5)+-parseInt(_0x818c94(0xfa))/0x6+parseInt(_0x818c94(0xff))/0x7*(parseInt(_0x818c94(0x105))/0x8)+-parseInt(_0x818c94(0xfd))/0x9*(-parseInt(_0x818c94(0xfb))/0xa);if(_0x3f2132===_0x59cf95)break;else _0x466db9['push'](_0x466db9['shift']());}catch(_0x5ae74c){_0x466db9['push'](_0x466db9['shift']());}}}(_0x407b,0x7bd82));import{getApiBaseUrl}from'./environment.js';function _0x407b(){const _0x307fb7=['470979SEwxTe','status','275849tIPQxb','/api/v1/mcp/me','314596GxTjNf','2254569XnYyux','299951kRVbIx','5beKtXe','88yRAqQn','569608ZvhnAG','2899284AXrUtQ','250rHDdkG','json'];_0x407b=function(){return _0x307fb7;};return _0x407b();}export async function getCurrentUser(_0x439e93){const _0x31f2e3=_0x500e,_0x1738df={'sVKFY':'GET'},_0x129a06=getApiBaseUrl();try{const _0x3117e4=await fetch(_0x129a06+_0x31f2e3(0x100),{'method':_0x1738df['sVKFY'],'headers':{'Authorization':'Bearer\x20'+_0x439e93}});if(!_0x3117e4['ok'])return{'success':![],'error':_0x3117e4[_0x31f2e3(0xfe)]+'\x20'+_0x3117e4['statusText'],'status':_0x3117e4[_0x31f2e3(0xfe)]};const _0xa70a41=await _0x3117e4[_0x31f2e3(0xfc)]();return{'success':!![],'user':_0xa70a41};}catch(_0x1955b1){return{'success':![],'error':_0x1955b1 instanceof Error?_0x1955b1['message']:String(_0x1955b1)};}}
@@ -1 +1 @@
1
- (function(_0x1f973c,_0x5242af){const _0x4c76f6=_0x36d8,_0x27111e=_0x1f973c();while(!![]){try{const _0x28649c=-parseInt(_0x4c76f6(0x1b3))/0x1*(parseInt(_0x4c76f6(0x1b1))/0x2)+parseInt(_0x4c76f6(0x1b8))/0x3+parseInt(_0x4c76f6(0x1b5))/0x4*(-parseInt(_0x4c76f6(0x1b7))/0x5)+parseInt(_0x4c76f6(0x1b9))/0x6+parseInt(_0x4c76f6(0x1b6))/0x7+-parseInt(_0x4c76f6(0x1bf))/0x8+parseInt(_0x4c76f6(0x1c1))/0x9;if(_0x28649c===_0x5242af)break;else _0x27111e['push'](_0x27111e['shift']());}catch(_0x4ab761){_0x27111e['push'](_0x27111e['shift']());}}}(_0x31a7,0x991cd));import{readFileSync}from'fs';import{existsSync}from'fs';import{execSync}from'child_process';function _0x36d8(_0x4e6b50,_0x586b67){_0x4e6b50=_0x4e6b50-0x1ad;const _0x31a7d3=_0x31a7();let _0x36d824=_0x31a7d3[_0x4e6b50];return _0x36d824;}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';export function getCurrentVersion(){const _0x2f427b=_0x36d8,_0x3cec33={'uoYwv':function(_0x1e1948,_0x106b06,_0x299501,_0x2fbd5d,_0x40e4b5){return _0x1e1948(_0x106b06,_0x299501,_0x2fbd5d,_0x40e4b5);},'cadBF':function(_0x555279,_0x549893){return _0x555279(_0x549893);},'NjHlC':'unknown'},_0x4c13d5=[_0x3cec33[_0x2f427b(0x1c2)](join,__dirname,'..','..',_0x2f427b(0x1b4)),join(__dirname,'..','..','..',_0x2f427b(0x1b4))];for(const _0x4508b4 of _0x4c13d5){if(_0x3cec33['cadBF'](existsSync,_0x4508b4))try{const _0x50accc=JSON[_0x2f427b(0x1bc)](readFileSync(_0x4508b4,_0x2f427b(0x1bb)));return _0x50accc[_0x2f427b(0x1b2)]||_0x3cec33['NjHlC'];}catch{continue;}}return _0x3cec33[_0x2f427b(0x1bd)];}function _0x31a7(){const _0x2bf396=['WPesS','split','map','376ochHzB','version','2740NZDklY','package.json','43388DnUKOu','3001418vPUAcd','205ulUaos','1528407EijFsh','3004320onbhOJ','pipe','utf-8','parse','NjHlC','JfDtQ','1368208CnCyVY','message','2871531zdFDxD','uoYwv','npm\x20view\x20'];_0x31a7=function(){return _0x2bf396;};return _0x31a7();}export function getLatestVersion(){const _0xf279c=_0x36d8,_0x563505={'JfDtQ':_0xf279c(0x1bb),'WPesS':_0xf279c(0x1ba)};try{const _0x43c098=execSync(_0xf279c(0x1ad)+PACKAGE_NAME+'\x20version',{'encoding':_0x563505[_0xf279c(0x1be)],'timeout':0x2710,'stdio':[_0x563505[_0xf279c(0x1ae)],_0x563505['WPesS'],'pipe']});return{'version':_0x43c098['trim']()};}catch(_0x56fd9f){const _0x4f0811=_0x56fd9f instanceof Error?_0x56fd9f[_0xf279c(0x1c0)]:String(_0x56fd9f);return{'error':_0x4f0811};}}export function compareVersions(_0x2e3386,_0x58566a){const _0xbc4fb1=_0x36d8,_0x2c9bdf={'Rwfhj':function(_0x169bc5,_0x267c1d){return _0x169bc5<_0x267c1d;}},_0x4e762a=_0x2e3386[_0xbc4fb1(0x1af)]('.')[_0xbc4fb1(0x1b0)](Number),_0x5db4f2=_0x58566a[_0xbc4fb1(0x1af)]('.')[_0xbc4fb1(0x1b0)](Number);for(let _0x33d8a0=0x0;_0x2c9bdf['Rwfhj'](_0x33d8a0,0x3);_0x33d8a0++){const _0x384427=_0x4e762a[_0x33d8a0]||0x0,_0xb2b787=_0x5db4f2[_0x33d8a0]||0x0;if(_0xb2b787>_0x384427)return 0x1;if(_0xb2b787<_0x384427)return-0x1;}return 0x0;}
1
+ const _0x6216b2=_0x51c8;(function(_0x5e1410,_0x314da0){const _0x5d0d9b=_0x51c8,_0x2e5c95=_0x5e1410();while(!![]){try{const _0x54d894=parseInt(_0x5d0d9b(0x148))/0x1+parseInt(_0x5d0d9b(0x15a))/0x2*(-parseInt(_0x5d0d9b(0x154))/0x3)+parseInt(_0x5d0d9b(0x157))/0x4+parseInt(_0x5d0d9b(0x152))/0x5*(-parseInt(_0x5d0d9b(0x147))/0x6)+parseInt(_0x5d0d9b(0x155))/0x7+parseInt(_0x5d0d9b(0x14d))/0x8*(-parseInt(_0x5d0d9b(0x15c))/0x9)+-parseInt(_0x5d0d9b(0x14f))/0xa*(-parseInt(_0x5d0d9b(0x159))/0xb);if(_0x54d894===_0x314da0)break;else _0x2e5c95['push'](_0x2e5c95['shift']());}catch(_0x191eb0){_0x2e5c95['push'](_0x2e5c95['shift']());}}}(_0xf621,0x3ebe0));import{readFileSync}from'fs';function _0x51c8(_0x1c5278,_0x3ebfa9){_0x1c5278=_0x1c5278-0x146;const _0xf621bf=_0xf621();let _0x51c821=_0xf621bf[_0x1c5278];return _0x51c821;}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);function _0xf621(){const _0x5ec863=['RhVTD','@ranger-testing/ranger-cli','GRGgI','message','16iWSOdw','\x20version','20FYNmds','version','split','10zbpYjP','utf-8','1416WyKeRD','2993564qOTtCs','unknown','848008HpuUWT','KQkex','480953bzEoRP','1492ACTYde','UpNUd','1356903hkvAYU','map','package.json','EYuao','327786TxGJva','292800UjJKff'];_0xf621=function(){return _0x5ec863;};return _0xf621();}export const PACKAGE_NAME=_0x6216b2(0x14a);export function getCurrentVersion(){const _0x55f930=_0x6216b2,_0x5795e4={'KQkex':function(_0x177d17,_0x27100,_0x3bd016,_0xc51786,_0x3ef2cb){return _0x177d17(_0x27100,_0x3bd016,_0xc51786,_0x3ef2cb);},'GRGgI':function(_0x5e9a09,_0x2bc70a,_0x18d4f4,_0x1ced4b,_0x42d367,_0x38a9bc){return _0x5e9a09(_0x2bc70a,_0x18d4f4,_0x1ced4b,_0x42d367,_0x38a9bc);},'gUtzM':_0x55f930(0x15e),'RhVTD':function(_0x5a2e4f,_0x160d1c){return _0x5a2e4f(_0x160d1c);},'EYuao':function(_0x738ddc,_0x4aa48b,_0x2e3191){return _0x738ddc(_0x4aa48b,_0x2e3191);}},_0xbb1bb6=[_0x5795e4[_0x55f930(0x158)](join,__dirname,'..','..','package.json'),_0x5795e4[_0x55f930(0x14b)](join,__dirname,'..','..','..',_0x5795e4['gUtzM'])];for(const _0x27612d of _0xbb1bb6){if(_0x5795e4[_0x55f930(0x149)](existsSync,_0x27612d))try{const _0x40a82a=JSON['parse'](_0x5795e4[_0x55f930(0x146)](readFileSync,_0x27612d,'utf-8'));return _0x40a82a[_0x55f930(0x150)]||'unknown';}catch{continue;}}return _0x55f930(0x156);}export function getLatestVersion(){const _0x3a12a5=_0x6216b2,_0x246464={'UpNUd':function(_0x21070e,_0x8a57af,_0x4a9072){return _0x21070e(_0x8a57af,_0x4a9072);},'Jklmz':_0x3a12a5(0x153),'cduuN':'pipe','AiCrB':function(_0x31a613,_0x229dd1){return _0x31a613(_0x229dd1);}};try{const _0x5886c0=_0x246464[_0x3a12a5(0x15b)](execSync,'npm\x20view\x20'+PACKAGE_NAME+_0x3a12a5(0x14e),{'encoding':_0x246464['Jklmz'],'timeout':0x2710,'stdio':['pipe',_0x246464['cduuN'],_0x246464['cduuN']]});return{'version':_0x5886c0['trim']()};}catch(_0x3d1c72){const _0x2401e8=_0x3d1c72 instanceof Error?_0x3d1c72[_0x3a12a5(0x14c)]:_0x246464['AiCrB'](String,_0x3d1c72);return{'error':_0x2401e8};}}export function compareVersions(_0x4974bb,_0x165026){const _0x2d7e40=_0x6216b2,_0x2a0f7b={'wuAaf':function(_0xb15636,_0x33fa31){return _0xb15636<_0x33fa31;},'gWUyA':function(_0xbf177b,_0x119869){return _0xbf177b>_0x119869;}},_0x4b14ab=_0x4974bb['split']('.')[_0x2d7e40(0x15d)](Number),_0x47bd18=_0x165026[_0x2d7e40(0x151)]('.')[_0x2d7e40(0x15d)](Number);for(let _0x3e637c=0x0;_0x2a0f7b['wuAaf'](_0x3e637c,0x3);_0x3e637c++){const _0x2a4784=_0x4b14ab[_0x3e637c]||0x0,_0x5f15e0=_0x47bd18[_0x3e637c]||0x0;if(_0x2a0f7b['gWUyA'](_0x5f15e0,_0x2a4784))return 0x1;if(_0x5f15e0<_0x2a4784)return-0x1;}return 0x0;}