@ranger-testing/ranger-cli 2.5.4-alpha.071b7bd-1 → 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 -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 +8 -3
@@ -1 +1 @@
1
- (function(_0x5103d0,_0x11c8dd){const _0x755f4a=_0x474e,_0xfacb4d=_0x5103d0();while(!![]){try{const _0x17f795=-parseInt(_0x755f4a(0x18e))/0x1+parseInt(_0x755f4a(0x17f))/0x2+-parseInt(_0x755f4a(0x18f))/0x3*(parseInt(_0x755f4a(0x1a9))/0x4)+-parseInt(_0x755f4a(0x18b))/0x5+parseInt(_0x755f4a(0x182))/0x6*(parseInt(_0x755f4a(0x1a4))/0x7)+parseInt(_0x755f4a(0x196))/0x8*(parseInt(_0x755f4a(0x197))/0x9)+parseInt(_0x755f4a(0x1a3))/0xa;if(_0x17f795===_0x11c8dd)break;else _0xfacb4d['push'](_0xfacb4d['shift']());}catch(_0x4c7d92){_0xfacb4d['push'](_0xfacb4d['shift']());}}}(_0x5f34,0xd8cd6));function _0x5f34(){const _0x557033=['split','6930220jqTsQn','filter','afterSnapshot','1488232dpXVCu','3yMMvxP','startTime','navigated','parse','edTri','frameUrl','beforeSnapshot','32Rqoqwg','3047076FWagde','length','inputSnapshot','method','url','endTime','NLFki','page@0','Uzldz','REtVW','abs','endsWith','25982670ZzXfje','7RHFiSp','values','get','push','qoOaG','4246412KAsxwD','monotonicTime','utf-8','indexOf','apiName','type','AqhWU','set','after','XfUda','1310176uPbtAy','pageId','before','1297740miWTeF','string','IiSkf','params','uyfed','point','input','KfpnT'];_0x5f34=function(){return _0x557033;};return _0x5f34();}import{readdir,readFile}from'fs/promises';import{join}from'path';function _0x474e(_0x30e393,_0x1ad7ed){_0x30e393=_0x30e393-0x178;const _0x5f3423=_0x5f34();let _0x474e8b=_0x5f3423[_0x30e393];return _0x474e8b;}export async function mapStepsToTraceSnapshots(_0x295817,_0x1db4e6){const _0x2b3888=_0x474e,_0x35cd40={'uyfed':function(_0x663b5e,_0x8cbcff){return _0x663b5e===_0x8cbcff;},'XfUda':function(_0x2d620c,_0x5c701c){return _0x2d620c===_0x5c701c;},'Ctvvw':_0x2b3888(0x1ab),'Uzldz':_0x2b3888(0x188),'mteZd':_0x2b3888(0x17d),'tkkfq':function(_0x3300c5,_0x580d50){return _0x3300c5===_0x580d50;},'qoOaG':'frame-snapshot','sPtqS':function(_0x3d2137,_0xfe9680){return _0x3d2137===_0xfe9680;},'QjnOO':'goto','AqhWU':function(_0x18c893,_0x1c5941){return _0x18c893===_0x1c5941;},'IiSkf':_0x2b3888(0x183),'edTri':function(_0x5842af,_0x32927a){return _0x5842af-_0x32927a;},'luwaw':_0x2b3888(0x19e),'NLFki':function(_0x22a2d3,_0x2dc73d){return _0x22a2d3>=_0x2dc73d;},'REtVW':function(_0x4c6338,_0x59a762){return _0x4c6338<_0x59a762;},'KfpnT':function(_0x1e0f9a,_0xe27e5e){return _0x1e0f9a+_0xe27e5e;}},_0xf63121=new Map();if(_0x35cd40[_0x2b3888(0x186)](_0x1db4e6[_0x2b3888(0x198)],0x0))return _0xf63121;const _0x2019d4=[],_0x1c9edc=async _0x2a1f06=>{const _0x320692=_0x2b3888,_0x346305=await readdir(_0x2a1f06,{'withFileTypes':!![]});for(const _0x5b9aee of _0x346305){const _0x528583=join(_0x2a1f06,_0x5b9aee['name']);if(_0x5b9aee['isDirectory']())await _0x1c9edc(_0x528583);else _0x5b9aee['name'][_0x320692(0x1a2)]('.trace')&&_0x2019d4[_0x320692(0x1a7)](_0x528583);}};await _0x1c9edc(_0x295817);if(_0x35cd40[_0x2b3888(0x17e)](_0x2019d4[_0x2b3888(0x198)],0x0))return _0xf63121;const _0x351624=[];for(const _0x5bda7c of _0x2019d4){const _0x197227=await readFile(_0x5bda7c,_0x35cd40['Ctvvw']),_0x1b5190=_0x197227[_0x2b3888(0x18a)]('\x0a')[_0x2b3888(0x18c)](_0x462ad0=>_0x462ad0['trim']());for(const _0x241bb9 of _0x1b5190){try{_0x351624['push'](JSON[_0x2b3888(0x192)](_0x241bb9));}catch{}}}if(_0x35cd40['uyfed'](_0x351624['length'],0x0))return _0xf63121;const _0x400ed6=_0x351624['find'](_0x494e74=>_0x494e74[_0x2b3888(0x17a)]==='context-options');if(!_0x400ed6)return _0xf63121;const _0x139304=_0x400ed6['wallTime']-_0x400ed6[_0x2b3888(0x1aa)],_0x192d2d=new Map();for(const _0x336bc9 of _0x351624){switch(_0x336bc9['type']){case _0x2b3888(0x181):{const _0x157c1f=_0x336bc9;_0x192d2d[_0x2b3888(0x17c)](_0x157c1f['callId'],{'callId':_0x157c1f['callId'],'startTime':_0x157c1f['startTime'],'endTime':0x0,'method':_0x157c1f['method'],'apiName':_0x157c1f[_0x2b3888(0x179)],'params':_0x157c1f['params'],'pageId':_0x157c1f['pageId'],'beforeSnapshot':_0x157c1f[_0x2b3888(0x195)]});break;}case _0x35cd40[_0x2b3888(0x19f)]:{const _0x2c7b45=_0x336bc9,_0x38725a=_0x192d2d['get'](_0x2c7b45['callId']);if(_0x38725a){if(_0x2c7b45[_0x2b3888(0x199)])_0x38725a['inputSnapshot']=_0x2c7b45[_0x2b3888(0x199)];if(_0x2c7b45['point'])_0x38725a['point']=_0x2c7b45[_0x2b3888(0x187)];}break;}case _0x35cd40['mteZd']:{const _0x3b996a=_0x336bc9,_0x19c8ee=_0x192d2d[_0x2b3888(0x1a6)](_0x3b996a['callId']);if(_0x19c8ee){_0x19c8ee[_0x2b3888(0x19c)]=_0x3b996a['endTime'];if(_0x3b996a[_0x2b3888(0x18d)])_0x19c8ee['afterSnapshot']=_0x3b996a['afterSnapshot'];}break;}}}const _0x455aa5=Array['from'](_0x192d2d[_0x2b3888(0x1a5)]())[_0x2b3888(0x18c)](_0x500566=>_0x500566['endTime']>0x0&&(_0x500566[_0x2b3888(0x18d)]||_0x500566['beforeSnapshot']))['sort']((_0x3291ab,_0x511c77)=>_0x3291ab['startTime']-_0x511c77[_0x2b3888(0x190)]);if(_0x35cd40[_0x2b3888(0x17e)](_0x455aa5[_0x2b3888(0x198)],0x0))return _0xf63121;const _0x3b83d6=new Map();for(const _0x362af9 of _0x351624){if(_0x35cd40['tkkfq'](_0x362af9[_0x2b3888(0x17a)],_0x35cd40[_0x2b3888(0x1a8)])){const _0x1ee2c1=_0x362af9['snapshot'];_0x1ee2c1?.['snapshotName']&&_0x1ee2c1?.[_0x2b3888(0x194)]&&_0x3b83d6['set'](_0x1ee2c1['snapshotName'],_0x1ee2c1[_0x2b3888(0x194)]);}}const _0x10ca16=new Map();for(const _0xc0f859 of _0x455aa5){const _0x222f67=_0xc0f859[_0x2b3888(0x185)]?.[_0x2b3888(0x19b)];_0x35cd40['sPtqS'](_0xc0f859[_0x2b3888(0x19a)],_0x35cd40['QjnOO'])&&_0x35cd40[_0x2b3888(0x17b)](typeof _0x222f67,_0x2b3888(0x183))&&_0xc0f859['pageId']&&_0x10ca16['set'](_0xc0f859[_0x2b3888(0x180)],_0x222f67);}for(const _0xecfdf9 of _0x351624){const _0x44f154=_0xecfdf9,_0x33f319=_0x44f154['params'],_0x5043cb=_0x33f319?.[_0x2b3888(0x19b)];_0x35cd40[_0x2b3888(0x186)](_0x44f154['type'],'event')&&_0x44f154[_0x2b3888(0x19a)]===_0x2b3888(0x191)&&typeof _0x5043cb===_0x35cd40[_0x2b3888(0x184)]&&_0x35cd40['tkkfq'](typeof _0x44f154['pageId'],_0x2b3888(0x183))&&_0x10ca16['set'](_0x44f154['pageId'],_0x5043cb);}for(const _0x4aad19 of _0x1db4e6){const _0x140b07=new Date(_0x4aad19['capturedAt'])['getTime'](),_0x1bc3da=_0x35cd40['edTri'](_0x140b07,_0x139304);let _0x3797e5=null,_0x6aff=Infinity;for(const _0x364fcf of _0x455aa5){const _0x432650=Math[_0x2b3888(0x1a1)](_0x35cd40[_0x2b3888(0x193)](_0x364fcf[_0x2b3888(0x19c)],_0x1bc3da));_0x432650<_0x6aff&&(_0x6aff=_0x432650,_0x3797e5=_0x364fcf);}if(!_0x3797e5)continue;const _0x5df356=_0x3797e5[_0x2b3888(0x18d)]||_0x3797e5[_0x2b3888(0x195)];if(!_0x5df356)continue;const _0x290c5f=_0x3797e5['pageId']||_0x35cd40['luwaw'];let _0x3a36d=_0x3b83d6['get'](_0x5df356)||_0x10ca16[_0x2b3888(0x1a6)](_0x290c5f)||'';if(!_0x3a36d)for(let _0x2175bd=_0x455aa5['indexOf'](_0x3797e5);_0x2175bd>=0x0;_0x2175bd--){const _0x339a4c=_0x455aa5[_0x2175bd]['params']?.['url'];if(_0x455aa5[_0x2175bd][_0x2b3888(0x19a)]==='goto'&&_0x35cd40['tkkfq'](typeof _0x339a4c,_0x35cd40['IiSkf'])){_0x3a36d=_0x339a4c;break;}}let _0x4bfdf7,_0x119a80;const _0x5321e7=_0x455aa5[_0x2b3888(0x178)](_0x3797e5);if(_0x35cd40[_0x2b3888(0x19d)](_0x5321e7,0x0)&&_0x35cd40[_0x2b3888(0x1a0)](_0x5321e7,_0x455aa5['length']-0x1)){const _0x2bf10e=_0x455aa5[_0x35cd40[_0x2b3888(0x189)](_0x5321e7,0x1)];_0x2bf10e['point']&&_0x2bf10e['inputSnapshot']&&(_0x4bfdf7=_0x2bf10e[_0x2b3888(0x187)],_0x119a80=_0x2bf10e['inputSnapshot']);}_0xf63121['set'](_0x4aad19['stepId'],{'snapshotName':_0x5df356,'inputSnapshotName':_0x119a80,'pageId':_0x290c5f,'pageUrl':_0x3a36d,'callId':_0x3797e5['callId'],'point':_0x4bfdf7});}return _0xf63121;}
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(_0x545279,_0x2a831a){const _0x5865a6=_0xfb99,_0x382118=_0x545279();while(!![]){try{const _0xe288bd=-parseInt(_0x5865a6(0xf6))/0x1+-parseInt(_0x5865a6(0x100))/0x2*(-parseInt(_0x5865a6(0xf3))/0x3)+-parseInt(_0x5865a6(0xfe))/0x4+parseInt(_0x5865a6(0xff))/0x5*(parseInt(_0x5865a6(0x102))/0x6)+parseInt(_0x5865a6(0xf7))/0x7+-parseInt(_0x5865a6(0xf5))/0x8*(-parseInt(_0x5865a6(0x101))/0x9)+parseInt(_0x5865a6(0xfd))/0xa;if(_0xe288bd===_0x2a831a)break;else _0x382118['push'](_0x382118['shift']());}catch(_0x556441){_0x382118['push'](_0x382118['shift']());}}}(_0x2028,0x29ce2));function _0x2028(){const _0x288b27=['14SKQQZg','4419LdsXgF','796326suODBm','VncJI','68427FDUpqo','/api/v1/mcp/me','2568pJDvTj','334883eBycIr','1662717bJdwZt','WHYDj','statusText','message','GET','status','1187560CMWYEH','1200660naHSFH','5AHTKUT'];_0x2028=function(){return _0x288b27;};return _0x2028();}import{getApiBaseUrl}from'./environment.js';function _0xfb99(_0x23fdba,_0x2bf720){_0x23fdba=_0x23fdba-0xf3;const _0x202890=_0x2028();let _0xfb99d9=_0x202890[_0x23fdba];return _0xfb99d9;}export async function getCurrentUser(_0x7c7fe2){const _0x22abdd=_0xfb99,_0x7bc5d8={'XmzSR':function(_0x11c33a){return _0x11c33a();},'WHYDj':_0x22abdd(0xfb),'VncJI':function(_0x3f8d50,_0x1156ca){return _0x3f8d50 instanceof _0x1156ca;},'HsqrB':function(_0x5d8ad9,_0x139a80){return _0x5d8ad9(_0x139a80);}},_0x168ad8=_0x7bc5d8['XmzSR'](getApiBaseUrl);try{const _0x184d90=await fetch(_0x168ad8+_0x22abdd(0xf4),{'method':_0x7bc5d8[_0x22abdd(0xf8)],'headers':{'Authorization':'Bearer\x20'+_0x7c7fe2}});if(!_0x184d90['ok'])return{'success':![],'error':_0x184d90['status']+'\x20'+_0x184d90[_0x22abdd(0xf9)],'status':_0x184d90[_0x22abdd(0xfc)]};const _0x17e672=await _0x184d90['json']();return{'success':!![],'user':_0x17e672};}catch(_0x2618a3){return{'success':![],'error':_0x7bc5d8[_0x22abdd(0x103)](_0x2618a3,Error)?_0x2618a3[_0x22abdd(0xfa)]:_0x7bc5d8['HsqrB'](String,_0x2618a3)};}}
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(_0x5a506e,_0x2ffe6a){const _0x2b23bc=_0x2409,_0x4d3855=_0x5a506e();while(!![]){try{const _0x325f9a=parseInt(_0x2b23bc(0x1b4))/0x1*(-parseInt(_0x2b23bc(0x1ab))/0x2)+parseInt(_0x2b23bc(0x1b3))/0x3*(-parseInt(_0x2b23bc(0x1b5))/0x4)+-parseInt(_0x2b23bc(0x1bb))/0x5+-parseInt(_0x2b23bc(0x1b7))/0x6+parseInt(_0x2b23bc(0x1bf))/0x7+-parseInt(_0x2b23bc(0x1be))/0x8*(-parseInt(_0x2b23bc(0x1b2))/0x9)+parseInt(_0x2b23bc(0x1ac))/0xa*(parseInt(_0x2b23bc(0x1b0))/0xb);if(_0x325f9a===_0x2ffe6a)break;else _0x4d3855['push'](_0x4d3855['shift']());}catch(_0x35f073){_0x4d3855['push'](_0x4d3855['shift']());}}}(_0xe92a,0xd16a7));function _0x2409(_0x14e1ec,_0x2bf864){_0x14e1ec=_0x14e1ec-0x1a9;const _0xe92a6d=_0xe92a();let _0x2409cd=_0xe92a6d[_0x14e1ec];return _0x2409cd;}import{readFileSync}from'fs';import{existsSync}from'fs';import{execSync}from'child_process';import{fileURLToPath}from'url';import{dirname,join}from'path';function _0xe92a(){const _0x1726ce=['\x20version','4307985ntsoNJ','message','117FsHBSo','198LTDyin','1lrWbLq','33316aVmWKG','parse','412098nnFAKp','split','version','unknown','4284025irvEuz','pipe','MEuoJ','401096NPnDtT','11036830lUzKPX','gEcUM','XApVh','574274Imckby','10ktBlHG','map','package.json'];_0xe92a=function(){return _0x1726ce;};return _0xe92a();}const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export const PACKAGE_NAME='@ranger-testing/ranger-cli';export function getCurrentVersion(){const _0xd684a5=_0x2409,_0x6f318c={'MEuoJ':_0xd684a5(0x1ae),'GMgas':function(_0x44a181,_0xe2878){return _0x44a181(_0xe2878);},'VXzbS':function(_0x293c1d,_0x3ecaaf,_0x64741c){return _0x293c1d(_0x3ecaaf,_0x64741c);},'Tvwww':'utf-8','QzhZC':_0xd684a5(0x1ba)},_0x49a9da=[join(__dirname,'..','..',_0x6f318c[_0xd684a5(0x1bd)]),join(__dirname,'..','..','..',_0xd684a5(0x1ae))];for(const _0x484fa0 of _0x49a9da){if(_0x6f318c['GMgas'](existsSync,_0x484fa0))try{const _0x42db66=JSON[_0xd684a5(0x1b6)](_0x6f318c['VXzbS'](readFileSync,_0x484fa0,_0x6f318c['Tvwww']));return _0x42db66[_0xd684a5(0x1b9)]||_0x6f318c['QzhZC'];}catch{continue;}}return _0xd684a5(0x1ba);}export function getLatestVersion(){const _0x44e27d=_0x2409,_0x549499={'WzmTw':function(_0x3676e4,_0x5ef29c,_0x3e0d13){return _0x3676e4(_0x5ef29c,_0x3e0d13);},'XApVh':_0x44e27d(0x1bc),'tIyvN':function(_0x554c0f,_0x6d0540){return _0x554c0f instanceof _0x6d0540;},'gEcUM':function(_0x26f054,_0x34d08d){return _0x26f054(_0x34d08d);}};try{const _0x261bd7=_0x549499['WzmTw'](execSync,'npm\x20view\x20'+PACKAGE_NAME+_0x44e27d(0x1af),{'encoding':'utf-8','timeout':0x2710,'stdio':['pipe','pipe',_0x549499[_0x44e27d(0x1aa)]]});return{'version':_0x261bd7['trim']()};}catch(_0x1618b0){const _0x88056d=_0x549499['tIyvN'](_0x1618b0,Error)?_0x1618b0[_0x44e27d(0x1b1)]:_0x549499[_0x44e27d(0x1a9)](String,_0x1618b0);return{'error':_0x88056d};}}export function compareVersions(_0xd70765,_0x641d84){const _0x3de86a=_0x2409,_0x10ec76={'aEWZp':function(_0x32ea3e,_0x33ba68){return _0x32ea3e<_0x33ba68;}},_0x2358f6=_0xd70765['split']('.')['map'](Number),_0x280574=_0x641d84[_0x3de86a(0x1b8)]('.')[_0x3de86a(0x1ad)](Number);for(let _0x36cd13=0x0;_0x36cd13<0x3;_0x36cd13++){const _0x18684e=_0x2358f6[_0x36cd13]||0x0,_0x45a08a=_0x280574[_0x36cd13]||0x0;if(_0x45a08a>_0x18684e)return 0x1;if(_0x10ec76['aEWZp'](_0x45a08a,_0x18684e))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;}