@ranger-testing/ranger-cli 2.3.0 → 2.3.1

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 (69) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/env.js +1 -1
  7. package/build/commands/feature.js +1 -1
  8. package/build/commands/hook.js +1 -1
  9. package/build/commands/hooks/autoPrompt.js +1 -1
  10. package/build/commands/hooks/disable.js +1 -1
  11. package/build/commands/hooks/enable.js +1 -1
  12. package/build/commands/hooks/exitPlanMode.js +1 -1
  13. package/build/commands/hooks/index.js +1 -1
  14. package/build/commands/hooks/output.js +1 -1
  15. package/build/commands/hooks/planReminder.js +1 -1
  16. package/build/commands/hooks/planStart.js +1 -1
  17. package/build/commands/hooks/postEdit.js +1 -1
  18. package/build/commands/hooks/preCompact.js +1 -1
  19. package/build/commands/hooks/sessionEnd.js +1 -1
  20. package/build/commands/hooks/sessionStart.js +1 -1
  21. package/build/commands/hooks/stopHook.js +1 -1
  22. package/build/commands/index.js +1 -1
  23. package/build/commands/login.js +1 -1
  24. package/build/commands/setup/claude.js +1 -1
  25. package/build/commands/setup/opencode.js +1 -1
  26. package/build/commands/setupCi.js +1 -1
  27. package/build/commands/skillup.js +1 -1
  28. package/build/commands/start.js +1 -1
  29. package/build/commands/status.js +1 -1
  30. package/build/commands/update.js +1 -1
  31. package/build/commands/updateEnv.js +1 -1
  32. package/build/commands/useEnv.js +1 -1
  33. package/build/commands/utils/activeProfile.js +1 -1
  34. package/build/commands/utils/browserSessionsApi.js +1 -1
  35. package/build/commands/utils/claudeConfig.js +1 -1
  36. package/build/commands/utils/claudePlugin.js +1 -1
  37. package/build/commands/utils/crypto.js +1 -1
  38. package/build/commands/utils/desirePathLog.js +1 -1
  39. package/build/commands/utils/deviceAuth.js +1 -1
  40. package/build/commands/utils/environment.js +1 -1
  41. package/build/commands/utils/featureApi.js +1 -1
  42. package/build/commands/utils/featureReportGenerator.js +1 -1
  43. package/build/commands/utils/fixWebmDuration.js +1 -1
  44. package/build/commands/utils/git.js +1 -1
  45. package/build/commands/utils/keychain.js +1 -1
  46. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  47. package/build/commands/utils/mcpImageBase64.js +1 -1
  48. package/build/commands/utils/model.js +1 -1
  49. package/build/commands/utils/opencodeConfig.js +1 -1
  50. package/build/commands/utils/playwrightCli.js +1 -1
  51. package/build/commands/utils/profileMessages.js +1 -1
  52. package/build/commands/utils/profileSetupBanner.js +1 -1
  53. package/build/commands/utils/rangerConfig.js +1 -1
  54. package/build/commands/utils/rangerRoot.js +1 -1
  55. package/build/commands/utils/reportGenerator.js +1 -1
  56. package/build/commands/utils/retry.js +1 -1
  57. package/build/commands/utils/sessionCache.js +1 -1
  58. package/build/commands/utils/settings.js +1 -1
  59. package/build/commands/utils/skillContent.js +1 -1
  60. package/build/commands/utils/skills.js +1 -1
  61. package/build/commands/utils/stitchWebmFiles.js +1 -1
  62. package/build/commands/utils/telemetry.js +1 -1
  63. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  64. package/build/commands/utils/userApi.js +1 -1
  65. package/build/commands/utils/version.js +1 -1
  66. package/build/commands/verifyFeature.js +1 -1
  67. package/build/commands/verifyFeatureCli.js +1 -1
  68. package/build/commands/verifyInBrowser.js +1 -1
  69. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x25399f,_0x1707ce){const _0x495634=_0x5ec4,_0x4fe3f2=_0x25399f();while(!![]){try{const _0x164358=-parseInt(_0x495634(0x1f0))/0x1+parseInt(_0x495634(0x1ef))/0x2*(-parseInt(_0x495634(0x1d9))/0x3)+-parseInt(_0x495634(0x1d8))/0x4+-parseInt(_0x495634(0x1eb))/0x5+parseInt(_0x495634(0x1dd))/0x6+-parseInt(_0x495634(0x1db))/0x7+parseInt(_0x495634(0x1d1))/0x8;if(_0x164358===_0x1707ce)break;else _0x4fe3f2['push'](_0x4fe3f2['shift']());}catch(_0x11bbbf){_0x4fe3f2['push'](_0x4fe3f2['shift']());}}}(_0x2136,0xa0c47));import{readdir,readFile}from'fs/promises';function _0x5ec4(_0x24008e,_0xa9caeb){_0x24008e=_0x24008e-0x1ca;const _0x21361d=_0x2136();let _0x5ec4f9=_0x21361d[_0x24008e];return _0x5ec4f9;}import{join}from'path';export async function mapStepsToTraceSnapshots(_0x9978d6,_0x4f3a55){const _0x2db88c=_0x5ec4,_0x2e35c4={'mAKmE':function(_0x74e93,_0x3dcb8e,_0x102cc3){return _0x74e93(_0x3dcb8e,_0x102cc3);},'XRYqL':function(_0x2a33d9,_0x1f90fd){return _0x2a33d9(_0x1f90fd);},'RGKDq':'.trace','Usktb':function(_0x5059ed,_0x6bcd15){return _0x5059ed===_0x6bcd15;},'rgDQg':function(_0x1533d0,_0x30cdc4){return _0x1533d0-_0x30cdc4;},'JNTFM':_0x2db88c(0x1ea),'zpueN':_0x2db88c(0x1f4),'JKyXA':function(_0x15f102,_0x2fe3a8){return _0x15f102===_0x2fe3a8;},'jfDNw':function(_0x10dfab,_0x44997f){return _0x10dfab===_0x44997f;},'fofDJ':'string','HFwFb':function(_0x1d11fe,_0x4b905f){return _0x1d11fe-_0x4b905f;},'dUBpy':_0x2db88c(0x1e0),'WIRYW':function(_0x400776,_0x288311){return _0x400776>=_0x288311;},'kYiIk':function(_0x39d22d,_0x26c964){return _0x39d22d<_0x26c964;},'iXuXY':function(_0x239a60,_0x37d8fe){return _0x239a60+_0x37d8fe;}},_0x31f403=new Map();if(_0x2e35c4['Usktb'](_0x4f3a55['length'],0x0))return _0x31f403;const _0x24eb4e=[],_0x17efb5=async _0x881542=>{const _0x2a2cf3=_0x2db88c,_0x193f90=await _0x2e35c4[_0x2a2cf3(0x1f1)](readdir,_0x881542,{'withFileTypes':!![]});for(const _0x3c5027 of _0x193f90){const _0x5d95f6=join(_0x881542,_0x3c5027[_0x2a2cf3(0x1e3)]);if(_0x3c5027['isDirectory']())await _0x2e35c4[_0x2a2cf3(0x1e4)](_0x17efb5,_0x5d95f6);else _0x3c5027['name'][_0x2a2cf3(0x1e1)](_0x2e35c4['RGKDq'])&&_0x24eb4e[_0x2a2cf3(0x1ed)](_0x5d95f6);}};await _0x2e35c4[_0x2db88c(0x1e4)](_0x17efb5,_0x9978d6);if(_0x24eb4e[_0x2db88c(0x1fb)]===0x0)return _0x31f403;const _0x314cf9=[];for(const _0xcc98e2 of _0x24eb4e){const _0x18fdec=await readFile(_0xcc98e2,'utf-8'),_0x4d2d08=_0x18fdec[_0x2db88c(0x1f9)]('\x0a')['filter'](_0x45e6ca=>_0x45e6ca['trim']());for(const _0x2f87cb of _0x4d2d08){try{_0x314cf9[_0x2db88c(0x1ed)](JSON[_0x2db88c(0x1d7)](_0x2f87cb));}catch{}}}if(_0x2e35c4[_0x2db88c(0x1ca)](_0x314cf9['length'],0x0))return _0x31f403;const _0x23f11e=_0x314cf9['find'](_0xc974b5=>_0xc974b5['type']==='context-options');if(!_0x23f11e)return _0x31f403;const _0x1c1596=_0x2e35c4['rgDQg'](_0x23f11e['wallTime'],_0x23f11e[_0x2db88c(0x1df)]),_0x4018ce=new Map();for(const _0x3cd134 of _0x314cf9){switch(_0x3cd134[_0x2db88c(0x1cc)]){case _0x2e35c4[_0x2db88c(0x1d3)]:{const _0xf94eaf=_0x3cd134;_0x4018ce[_0x2db88c(0x1cd)](_0xf94eaf[_0x2db88c(0x1e2)],{'callId':_0xf94eaf['callId'],'startTime':_0xf94eaf[_0x2db88c(0x1fe)],'endTime':0x0,'method':_0xf94eaf[_0x2db88c(0x1f8)],'apiName':_0xf94eaf[_0x2db88c(0x1ce)],'params':_0xf94eaf['params'],'pageId':_0xf94eaf[_0x2db88c(0x1e9)],'beforeSnapshot':_0xf94eaf['beforeSnapshot']});break;}case _0x2db88c(0x1fa):{const _0x4bbbb8=_0x3cd134,_0x3afafd=_0x4018ce['get'](_0x4bbbb8['callId']);if(_0x3afafd){if(_0x4bbbb8['inputSnapshot'])_0x3afafd[_0x2db88c(0x1cb)]=_0x4bbbb8[_0x2db88c(0x1cb)];if(_0x4bbbb8[_0x2db88c(0x1e6)])_0x3afafd[_0x2db88c(0x1e6)]=_0x4bbbb8['point'];}break;}case _0x2db88c(0x1f2):{const _0x1b67e2=_0x3cd134,_0x48bfaa=_0x4018ce['get'](_0x1b67e2[_0x2db88c(0x1e2)]);if(_0x48bfaa){_0x48bfaa[_0x2db88c(0x1dc)]=_0x1b67e2[_0x2db88c(0x1dc)];if(_0x1b67e2['afterSnapshot'])_0x48bfaa['afterSnapshot']=_0x1b67e2['afterSnapshot'];}break;}}}const _0x2a7089=Array[_0x2db88c(0x1fc)](_0x4018ce['values']())[_0x2db88c(0x1ee)](_0x1fd6e2=>_0x1fd6e2['endTime']>0x0&&(_0x1fd6e2[_0x2db88c(0x1e7)]||_0x1fd6e2['beforeSnapshot']))[_0x2db88c(0x1d4)]((_0x152511,_0xf72f81)=>_0x152511['startTime']-_0xf72f81[_0x2db88c(0x1fe)]);if(_0x2a7089[_0x2db88c(0x1fb)]===0x0)return _0x31f403;const _0x5cceec=new Map();for(const _0x10d600 of _0x314cf9){if(_0x10d600['type']===_0x2db88c(0x1d2)){const _0x11a89e=_0x10d600[_0x2db88c(0x1da)];_0x11a89e?.['snapshotName']&&_0x11a89e?.[_0x2db88c(0x1d0)]&&_0x5cceec[_0x2db88c(0x1cd)](_0x11a89e['snapshotName'],_0x11a89e['frameUrl']);}}const _0xb3102f=new Map();for(const _0x36c6e1 of _0x2a7089){const _0x4aaea6=_0x36c6e1[_0x2db88c(0x1ec)]?.[_0x2db88c(0x1f6)];_0x36c6e1['method']===_0x2e35c4['zpueN']&&_0x2e35c4['JKyXA'](typeof _0x4aaea6,'string')&&_0x36c6e1['pageId']&&_0xb3102f[_0x2db88c(0x1cd)](_0x36c6e1[_0x2db88c(0x1e9)],_0x4aaea6);}for(const _0x523996 of _0x314cf9){const _0x2633e6=_0x523996,_0x362b7e=_0x2633e6[_0x2db88c(0x1ec)],_0x70724d=_0x362b7e?.['url'];_0x2e35c4[_0x2db88c(0x1d5)](_0x2633e6['type'],'event')&&_0x2633e6[_0x2db88c(0x1f8)]===_0x2db88c(0x1f3)&&_0x2e35c4[_0x2db88c(0x1d5)](typeof _0x70724d,_0x2e35c4['fofDJ'])&&_0x2e35c4[_0x2db88c(0x1d5)](typeof _0x2633e6['pageId'],'string')&&_0xb3102f['set'](_0x2633e6['pageId'],_0x70724d);}for(const _0x1b6a8f of _0x4f3a55){const _0x385cfc=new Date(_0x1b6a8f[_0x2db88c(0x1f7)])['getTime'](),_0xb09f3b=_0x2e35c4['rgDQg'](_0x385cfc,_0x1c1596);let _0x4426c8=null,_0x23ff14=Infinity;for(const _0x5328dd of _0x2a7089){const _0x1dec2b=Math['abs'](_0x2e35c4['HFwFb'](_0x5328dd['endTime'],_0xb09f3b));_0x1dec2b<_0x23ff14&&(_0x23ff14=_0x1dec2b,_0x4426c8=_0x5328dd);}if(!_0x4426c8)continue;const _0x4cce28=_0x4426c8['afterSnapshot']||_0x4426c8[_0x2db88c(0x1d6)];if(!_0x4cce28)continue;const _0x5ce703=_0x4426c8[_0x2db88c(0x1e9)]||_0x2e35c4[_0x2db88c(0x1e8)];let _0x5b7ea2=_0x5cceec['get'](_0x4cce28)||_0xb3102f[_0x2db88c(0x1f5)](_0x5ce703)||'';if(!_0x5b7ea2)for(let _0x2da0ef=_0x2a7089[_0x2db88c(0x1fd)](_0x4426c8);_0x2e35c4[_0x2db88c(0x1de)](_0x2da0ef,0x0);_0x2da0ef--){const _0x39ebb9=_0x2a7089[_0x2da0ef]['params']?.[_0x2db88c(0x1f6)];if(_0x2e35c4['jfDNw'](_0x2a7089[_0x2da0ef]['method'],'goto')&&typeof _0x39ebb9===_0x2db88c(0x1e5)){_0x5b7ea2=_0x39ebb9;break;}}let _0xdc2b24,_0x27aa21;const _0x99e270=_0x2a7089['indexOf'](_0x4426c8);if(_0x99e270>=0x0&&_0x2e35c4['kYiIk'](_0x99e270,_0x2a7089[_0x2db88c(0x1fb)]-0x1)){const _0x327c8c=_0x2a7089[_0x2e35c4['iXuXY'](_0x99e270,0x1)];_0x327c8c['point']&&_0x327c8c['inputSnapshot']&&(_0xdc2b24=_0x327c8c[_0x2db88c(0x1e6)],_0x27aa21=_0x327c8c[_0x2db88c(0x1cb)]);}_0x31f403['set'](_0x1b6a8f[_0x2db88c(0x1cf)],{'snapshotName':_0x4cce28,'inputSnapshotName':_0x27aa21,'pageId':_0x5ce703,'pageUrl':_0x5b7ea2,'callId':_0x4426c8['callId'],'point':_0xdc2b24});}return _0x31f403;}function _0x2136(){const _0x454920=['stepId','frameUrl','28868568FyqtJQ','frame-snapshot','JNTFM','sort','jfDNw','beforeSnapshot','parse','2327096hMdhHm','3653781JuNtMV','snapshot','2720312OueEWw','endTime','4007616IonNQG','WIRYW','monotonicTime','page@0','endsWith','callId','name','XRYqL','string','point','afterSnapshot','dUBpy','pageId','before','3738320cHweYu','params','push','filter','2ieDSek','682023KWyvyr','mAKmE','after','navigated','goto','get','url','capturedAt','method','split','input','length','from','indexOf','startTime','Usktb','inputSnapshot','type','set','apiName'];_0x2136=function(){return _0x454920;};return _0x2136();}
1
+ (function(_0x374565,_0x832783){const _0x12b6b0=_0x1340,_0x5d3ca6=_0x374565();while(!![]){try{const _0x258434=-parseInt(_0x12b6b0(0x147))/0x1*(parseInt(_0x12b6b0(0x134))/0x2)+parseInt(_0x12b6b0(0x14f))/0x3+parseInt(_0x12b6b0(0x136))/0x4+parseInt(_0x12b6b0(0x152))/0x5*(parseInt(_0x12b6b0(0x150))/0x6)+parseInt(_0x12b6b0(0x135))/0x7+parseInt(_0x12b6b0(0x13a))/0x8+-parseInt(_0x12b6b0(0x125))/0x9*(parseInt(_0x12b6b0(0x153))/0xa);if(_0x258434===_0x832783)break;else _0x5d3ca6['push'](_0x5d3ca6['shift']());}catch(_0x5538d3){_0x5d3ca6['push'](_0x5d3ca6['shift']());}}}(_0x3374,0x648e4));function _0x3374(){const _0x5ea996=['trim','from','abs','603hcabbV','set','url','pageId','eDBJd','wallTime','navigated','jEVuD','length','push','snapshotName','type','startTime','apiName','capturedAt','34iWkwpk','2487555fimNvZ','1467272NySKbB','mcxoF','values','RtlfL','4642096lGrTWd','snapshot','inputSnapshot','EQIcW','sFYuG','afterSnapshot','indexOf','stepId','endTime','beforeSnapshot','point','goto','get','41596ZKwgMz','qDYBE','frameUrl','string','parse','CJujS','UvFIX','filter','1773687WvAVGG','303438JikVcv','input','5Mpsray','123170awNHwe','isDirectory','PDFOn','endsWith','params','method','frame-snapshot','callId','page@0'];_0x3374=function(){return _0x5ea996;};return _0x3374();}import{readdir,readFile}from'fs/promises';function _0x1340(_0x239167,_0x4c0607){_0x239167=_0x239167-0x11d;const _0x3374e1=_0x3374();let _0x134089=_0x3374e1[_0x239167];return _0x134089;}import{join}from'path';export async function mapStepsToTraceSnapshots(_0x693801,_0x1a7d6a){const _0xa5207d=_0x1340,_0x289d76={'UvFIX':function(_0x31c3c8,_0x3068cf,_0x12b152){return _0x31c3c8(_0x3068cf,_0x12b152);},'sFYuG':function(_0x2bbad7,_0x4ee3f2){return _0x2bbad7===_0x4ee3f2;},'aOkdL':'before','CJujS':'after','RZQcW':_0xa5207d(0x11f),'mnacU':function(_0x29dc87,_0x56dc8d){return _0x29dc87===_0x56dc8d;},'EQIcW':function(_0x2d862d,_0x76ca1d){return _0x2d862d===_0x76ca1d;},'Qrzix':_0xa5207d(0x14a),'jEVuD':function(_0x23fd9d,_0x1b9967){return _0x23fd9d===_0x1b9967;},'PDFOn':'event','eDBJd':function(_0x1ef151,_0xeb7bf8){return _0x1ef151<_0xeb7bf8;},'qDYBE':function(_0x5034f6,_0x35fac0){return _0x5034f6>=_0x35fac0;},'RtlfL':_0xa5207d(0x145),'mcxoF':function(_0xdb3104,_0x28e071){return _0xdb3104+_0x28e071;}},_0x4a3789=new Map();if(_0x1a7d6a[_0xa5207d(0x12d)]===0x0)return _0x4a3789;const _0x15f86d=[],_0x4150b6=async _0x22a0f4=>{const _0x3dc41a=_0xa5207d,_0x1e9090=await readdir(_0x22a0f4,{'withFileTypes':!![]});for(const _0x1a84bd of _0x1e9090){const _0x1471e7=_0x289d76[_0x3dc41a(0x14d)](join,_0x22a0f4,_0x1a84bd['name']);if(_0x1a84bd[_0x3dc41a(0x154)]())await _0x4150b6(_0x1471e7);else _0x1a84bd['name'][_0x3dc41a(0x156)]('.trace')&&_0x15f86d[_0x3dc41a(0x12e)](_0x1471e7);}};await _0x4150b6(_0x693801);if(_0x289d76[_0xa5207d(0x13e)](_0x15f86d[_0xa5207d(0x12d)],0x0))return _0x4a3789;const _0x2bc983=[];for(const _0x24b516 of _0x15f86d){const _0x3f837d=await _0x289d76[_0xa5207d(0x14d)](readFile,_0x24b516,'utf-8'),_0x2aedf4=_0x3f837d['split']('\x0a')['filter'](_0xe2470a=>_0xe2470a[_0xa5207d(0x122)]());for(const _0x2fe060 of _0x2aedf4){try{_0x2bc983[_0xa5207d(0x12e)](JSON[_0xa5207d(0x14b)](_0x2fe060));}catch{}}}if(_0x289d76[_0xa5207d(0x13e)](_0x2bc983['length'],0x0))return _0x4a3789;const _0x53f1ad=_0x2bc983['find'](_0x1db2b5=>_0x1db2b5[_0xa5207d(0x130)]==='context-options');if(!_0x53f1ad)return _0x4a3789;const _0x4deb70=_0x53f1ad[_0xa5207d(0x12a)]-_0x53f1ad['monotonicTime'],_0x305c28=new Map();for(const _0xc1f35a of _0x2bc983){switch(_0xc1f35a[_0xa5207d(0x130)]){case _0x289d76['aOkdL']:{const _0x4b9af9=_0xc1f35a;_0x305c28[_0xa5207d(0x126)](_0x4b9af9[_0xa5207d(0x120)],{'callId':_0x4b9af9[_0xa5207d(0x120)],'startTime':_0x4b9af9[_0xa5207d(0x131)],'endTime':0x0,'method':_0x4b9af9[_0xa5207d(0x11e)],'apiName':_0x4b9af9[_0xa5207d(0x132)],'params':_0x4b9af9[_0xa5207d(0x11d)],'pageId':_0x4b9af9['pageId'],'beforeSnapshot':_0x4b9af9['beforeSnapshot']});break;}case _0xa5207d(0x151):{const _0x312c08=_0xc1f35a,_0x3b8dad=_0x305c28['get'](_0x312c08['callId']);if(_0x3b8dad){if(_0x312c08['inputSnapshot'])_0x3b8dad[_0xa5207d(0x13c)]=_0x312c08[_0xa5207d(0x13c)];if(_0x312c08['point'])_0x3b8dad[_0xa5207d(0x144)]=_0x312c08[_0xa5207d(0x144)];}break;}case _0x289d76[_0xa5207d(0x14c)]:{const _0x189acd=_0xc1f35a,_0x47a69f=_0x305c28[_0xa5207d(0x146)](_0x189acd[_0xa5207d(0x120)]);if(_0x47a69f){_0x47a69f[_0xa5207d(0x142)]=_0x189acd['endTime'];if(_0x189acd[_0xa5207d(0x13f)])_0x47a69f[_0xa5207d(0x13f)]=_0x189acd[_0xa5207d(0x13f)];}break;}}}const _0x46ba85=Array[_0xa5207d(0x123)](_0x305c28[_0xa5207d(0x138)]())[_0xa5207d(0x14e)](_0x2667ae=>_0x2667ae['endTime']>0x0&&(_0x2667ae['afterSnapshot']||_0x2667ae['beforeSnapshot']))['sort']((_0x50cfbe,_0x39d7dc)=>_0x50cfbe['startTime']-_0x39d7dc['startTime']);if(_0x289d76['sFYuG'](_0x46ba85['length'],0x0))return _0x4a3789;const _0x4ccb31=new Map();for(const _0x4ccb3f of _0x2bc983){if(_0x289d76[_0xa5207d(0x13e)](_0x4ccb3f[_0xa5207d(0x130)],_0x289d76['RZQcW'])){const _0x55f5a2=_0x4ccb3f[_0xa5207d(0x13b)];_0x55f5a2?.['snapshotName']&&_0x55f5a2?.[_0xa5207d(0x149)]&&_0x4ccb31[_0xa5207d(0x126)](_0x55f5a2[_0xa5207d(0x12f)],_0x55f5a2[_0xa5207d(0x149)]);}}const _0x2d02fc=new Map();for(const _0x164eff of _0x46ba85){const _0x1e582b=_0x164eff['params']?.[_0xa5207d(0x127)];_0x289d76['mnacU'](_0x164eff['method'],_0xa5207d(0x145))&&_0x289d76[_0xa5207d(0x13d)](typeof _0x1e582b,_0x289d76['Qrzix'])&&_0x164eff[_0xa5207d(0x128)]&&_0x2d02fc[_0xa5207d(0x126)](_0x164eff[_0xa5207d(0x128)],_0x1e582b);}for(const _0x2a2406 of _0x2bc983){const _0x218c94=_0x2a2406,_0x294fe9=_0x218c94[_0xa5207d(0x11d)],_0x488393=_0x294fe9?.['url'];_0x289d76[_0xa5207d(0x12c)](_0x218c94['type'],_0x289d76[_0xa5207d(0x155)])&&_0x289d76['mnacU'](_0x218c94[_0xa5207d(0x11e)],_0xa5207d(0x12b))&&typeof _0x488393==='string'&&typeof _0x218c94['pageId']===_0x289d76['Qrzix']&&_0x2d02fc[_0xa5207d(0x126)](_0x218c94[_0xa5207d(0x128)],_0x488393);}for(const _0x1fed70 of _0x1a7d6a){const _0x24c55d=new Date(_0x1fed70[_0xa5207d(0x133)])['getTime'](),_0x246748=_0x24c55d-_0x4deb70;let _0x2a5558=null,_0x480f8c=Infinity;for(const _0x127bc4 of _0x46ba85){const _0x2db532=Math[_0xa5207d(0x124)](_0x127bc4[_0xa5207d(0x142)]-_0x246748);_0x289d76[_0xa5207d(0x129)](_0x2db532,_0x480f8c)&&(_0x480f8c=_0x2db532,_0x2a5558=_0x127bc4);}if(!_0x2a5558)continue;const _0x31a0c3=_0x2a5558[_0xa5207d(0x13f)]||_0x2a5558[_0xa5207d(0x143)];if(!_0x31a0c3)continue;const _0x1f62c6=_0x2a5558['pageId']||_0xa5207d(0x121);let _0x1f0d4f=_0x4ccb31['get'](_0x31a0c3)||_0x2d02fc['get'](_0x1f62c6)||'';if(!_0x1f0d4f)for(let _0x2fdd2f=_0x46ba85[_0xa5207d(0x140)](_0x2a5558);_0x289d76[_0xa5207d(0x148)](_0x2fdd2f,0x0);_0x2fdd2f--){const _0x317a50=_0x46ba85[_0x2fdd2f]['params']?.[_0xa5207d(0x127)];if(_0x46ba85[_0x2fdd2f][_0xa5207d(0x11e)]===_0x289d76[_0xa5207d(0x139)]&&_0x289d76[_0xa5207d(0x13e)](typeof _0x317a50,_0xa5207d(0x14a))){_0x1f0d4f=_0x317a50;break;}}let _0x1310e7,_0x24c976;const _0x162673=_0x46ba85['indexOf'](_0x2a5558);if(_0x162673>=0x0&&_0x162673<_0x46ba85[_0xa5207d(0x12d)]-0x1){const _0x287dad=_0x46ba85[_0x289d76[_0xa5207d(0x137)](_0x162673,0x1)];_0x287dad['point']&&_0x287dad['inputSnapshot']&&(_0x1310e7=_0x287dad[_0xa5207d(0x144)],_0x24c976=_0x287dad[_0xa5207d(0x13c)]);}_0x4a3789['set'](_0x1fed70[_0xa5207d(0x141)],{'snapshotName':_0x31a0c3,'inputSnapshotName':_0x24c976,'pageId':_0x1f62c6,'pageUrl':_0x1f0d4f,'callId':_0x2a5558[_0xa5207d(0x120)],'point':_0x1310e7});}return _0x4a3789;}
@@ -1 +1 @@
1
- (function(_0x295b8f,_0x28e261){const _0xaf61f7=_0x47e3,_0x553b6b=_0x295b8f();while(!![]){try{const _0x1c6f54=-parseInt(_0xaf61f7(0x1f3))/0x1*(-parseInt(_0xaf61f7(0x1ed))/0x2)+parseInt(_0xaf61f7(0x1ee))/0x3+parseInt(_0xaf61f7(0x1f7))/0x4*(-parseInt(_0xaf61f7(0x1f0))/0x5)+parseInt(_0xaf61f7(0x1f2))/0x6+parseInt(_0xaf61f7(0x1f4))/0x7*(parseInt(_0xaf61f7(0x1f1))/0x8)+-parseInt(_0xaf61f7(0x1ef))/0x9*(-parseInt(_0xaf61f7(0x1f5))/0xa)+-parseInt(_0xaf61f7(0x1eb))/0xb;if(_0x1c6f54===_0x28e261)break;else _0x553b6b['push'](_0x553b6b['shift']());}catch(_0x2d075c){_0x553b6b['push'](_0x553b6b['shift']());}}}(_0x55c5,0x8bb14));import{getApiBaseUrl}from'./environment.js';export async function getCurrentUser(_0xc362ee){const _0x4667f8=_0x47e3,_0x1cd4c6={'rMWRJ':function(_0x258d15){return _0x258d15();},'MOxUQ':function(_0x18e4dd,_0x5b5659,_0x3796cd){return _0x18e4dd(_0x5b5659,_0x3796cd);},'TmkvD':function(_0x3eaf2d,_0x1f60e8){return _0x3eaf2d instanceof _0x1f60e8;}},_0x1337c7=_0x1cd4c6['rMWRJ'](getApiBaseUrl);try{const _0x2c1829=await _0x1cd4c6['MOxUQ'](fetch,_0x1337c7+'/api/v1/mcp/me',{'method':'GET','headers':{'Authorization':'Bearer\x20'+_0xc362ee}});if(!_0x2c1829['ok'])return{'success':![],'error':_0x2c1829['status']+'\x20'+_0x2c1829[_0x4667f8(0x1f6)],'status':_0x2c1829['status']};const _0x191490=await _0x2c1829['json']();return{'success':!![],'user':_0x191490};}catch(_0x285cc0){return{'success':![],'error':_0x1cd4c6['TmkvD'](_0x285cc0,Error)?_0x285cc0[_0x4667f8(0x1ec)]:String(_0x285cc0)};}}function _0x47e3(_0x41726f,_0x5513cd){_0x41726f=_0x41726f-0x1eb;const _0x55c5ba=_0x55c5();let _0x47e347=_0x55c5ba[_0x41726f];return _0x47e347;}function _0x55c5(){const _0x399554=['80IuaCNS','statusText','76JFOHdF','27421361utnRCC','message','2DsaRwj','1762122BPawll','1258650pLGcnP','232580AQBxff','609704rucCoH','3845976sEjJCi','687109ZLKWGJ','84ilRUeL'];_0x55c5=function(){return _0x399554;};return _0x55c5();}
1
+ (function(_0xf5040a,_0x49bf56){const _0x5c7868=_0x1b39,_0x14a9ed=_0xf5040a();while(!![]){try{const _0x152418=parseInt(_0x5c7868(0x100))/0x1+parseInt(_0x5c7868(0x104))/0x2*(parseInt(_0x5c7868(0x110))/0x3)+parseInt(_0x5c7868(0x10f))/0x4+-parseInt(_0x5c7868(0x102))/0x5*(parseInt(_0x5c7868(0x103))/0x6)+-parseInt(_0x5c7868(0x108))/0x7*(-parseInt(_0x5c7868(0x10d))/0x8)+-parseInt(_0x5c7868(0x10a))/0x9+-parseInt(_0x5c7868(0x107))/0xa;if(_0x152418===_0x49bf56)break;else _0x14a9ed['push'](_0x14a9ed['shift']());}catch(_0x22d89b){_0x14a9ed['push'](_0x14a9ed['shift']());}}}(_0x1704,0x5e424));function _0x1704(){const _0x531254=['1456551nMUuiu','692985PrOWCI','status','11795GBOXEt','510lmgDgv','2wCFkti','Bearer\x20','statusText','9400230AsnIeM','1519fqktRv','GET','2974230segSTq','json','LZyRg','3432BvnAHo','/api/v1/mcp/me','2341988LbdjrD'];_0x1704=function(){return _0x531254;};return _0x1704();}import{getApiBaseUrl}from'./environment.js';function _0x1b39(_0x1f7424,_0x3363a4){_0x1f7424=_0x1f7424-0x100;const _0x170487=_0x1704();let _0x1b3969=_0x170487[_0x1f7424];return _0x1b3969;}export async function getCurrentUser(_0x229b90){const _0x404974=_0x1b39,_0x1b2741={'LZyRg':function(_0xc200a7,_0x226368,_0x4dc300){return _0xc200a7(_0x226368,_0x4dc300);},'PrxaQ':function(_0x5d9697,_0x4ac366){return _0x5d9697(_0x4ac366);}},_0x2af8e3=getApiBaseUrl();try{const _0x545e38=await _0x1b2741[_0x404974(0x10c)](fetch,_0x2af8e3+_0x404974(0x10e),{'method':_0x404974(0x109),'headers':{'Authorization':_0x404974(0x105)+_0x229b90}});if(!_0x545e38['ok'])return{'success':![],'error':_0x545e38['status']+'\x20'+_0x545e38[_0x404974(0x106)],'status':_0x545e38[_0x404974(0x101)]};const _0x23d062=await _0x545e38[_0x404974(0x10b)]();return{'success':!![],'user':_0x23d062};}catch(_0x47ab34){return{'success':![],'error':_0x47ab34 instanceof Error?_0x47ab34['message']:_0x1b2741['PrxaQ'](String,_0x47ab34)};}}
@@ -1 +1 @@
1
- const _0xa4ac3d=_0x3d77;(function(_0x50ff1e,_0x18d952){const _0xd18bc6=_0x3d77,_0x54a65d=_0x50ff1e();while(!![]){try{const _0x8ef769=parseInt(_0xd18bc6(0x1fb))/0x1*(parseInt(_0xd18bc6(0x205))/0x2)+-parseInt(_0xd18bc6(0x1f4))/0x3+parseInt(_0xd18bc6(0x1ff))/0x4+parseInt(_0xd18bc6(0x204))/0x5*(-parseInt(_0xd18bc6(0x200))/0x6)+-parseInt(_0xd18bc6(0x1fe))/0x7*(-parseInt(_0xd18bc6(0x1fa))/0x8)+parseInt(_0xd18bc6(0x1fd))/0x9+-parseInt(_0xd18bc6(0x1f9))/0xa;if(_0x8ef769===_0x18d952)break;else _0x54a65d['push'](_0x54a65d['shift']());}catch(_0x513d84){_0x54a65d['push'](_0x54a65d['shift']());}}}(_0x36ee,0x7f348));import{readFileSync}from'fs';import{existsSync}from'fs';import{execSync}from'child_process';function _0x3d77(_0x3b73b9,_0x10bb94){_0x3b73b9=_0x3b73b9-0x1f1;const _0x36ee5b=_0x36ee();let _0x3d7732=_0x36ee5b[_0x3b73b9];return _0x3d7732;}import{fileURLToPath}from'url';import{dirname,join}from'path';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export const PACKAGE_NAME=_0xa4ac3d(0x1f3);function _0x36ee(){const _0x653c1=['7166745qKstdY','3656961JhecsY','3929156lmMnUT','5895294jaXtHP','utf-8','map','ZoAfV','5DOQpVB','132630nboimK','WwOek','maNjF','xUYVq','@ranger-testing/ranger-cli','828597FXKTyC','trim','pipe','aCoQw','FUEhX','13170170TOtpVE','8kqUrIf','12tQUfMe','GfYky'];_0x36ee=function(){return _0x653c1;};return _0x36ee();}export function getCurrentVersion(){const _0x435d1f=_0xa4ac3d,_0x44fcb9={'WwOek':'package.json','FUEhX':_0x435d1f(0x201)},_0x6e5f00=[join(__dirname,'..','..',_0x44fcb9[_0x435d1f(0x206)]),join(__dirname,'..','..','..',_0x44fcb9['WwOek'])];for(const _0x4636f9 of _0x6e5f00){if(existsSync(_0x4636f9))try{const _0x170d67=JSON['parse'](readFileSync(_0x4636f9,_0x44fcb9[_0x435d1f(0x1f8)]));return _0x170d67['version']||'unknown';}catch{continue;}}return'unknown';}export function getLatestVersion(){const _0x190c56=_0xa4ac3d,_0x104051={'GfYky':function(_0x363f7d,_0x56e3c9,_0x22a2d2){return _0x363f7d(_0x56e3c9,_0x22a2d2);},'XIaVu':_0x190c56(0x201),'xJClf':'pipe','ZoAfV':function(_0xc35ed3,_0x38a563){return _0xc35ed3 instanceof _0x38a563;},'aCoQw':function(_0x331bb7,_0x2392d4){return _0x331bb7(_0x2392d4);}};try{const _0x3f196f=_0x104051[_0x190c56(0x1fc)](execSync,'npm\x20view\x20'+PACKAGE_NAME+'\x20version',{'encoding':_0x104051['XIaVu'],'timeout':0x2710,'stdio':[_0x190c56(0x1f6),'pipe',_0x104051['xJClf']]});return{'version':_0x3f196f[_0x190c56(0x1f5)]()};}catch(_0xe58d94){const _0x5fe9cc=_0x104051[_0x190c56(0x203)](_0xe58d94,Error)?_0xe58d94['message']:_0x104051[_0x190c56(0x1f7)](String,_0xe58d94);return{'error':_0x5fe9cc};}}export function compareVersions(_0xf34912,_0x4fab1f){const _0xb0d8da=_0xa4ac3d,_0x1669fe={'xUYVq':function(_0x4000a9,_0x4d5a05){return _0x4000a9>_0x4d5a05;},'maNjF':function(_0x1ce358,_0x467cf2){return _0x1ce358<_0x467cf2;}},_0x1340df=_0xf34912['split']('.')[_0xb0d8da(0x202)](Number),_0x241e65=_0x4fab1f['split']('.')[_0xb0d8da(0x202)](Number);for(let _0x3a0afe=0x0;_0x3a0afe<0x3;_0x3a0afe++){const _0x4983b5=_0x1340df[_0x3a0afe]||0x0,_0x42d4d7=_0x241e65[_0x3a0afe]||0x0;if(_0x1669fe[_0xb0d8da(0x1f2)](_0x42d4d7,_0x4983b5))return 0x1;if(_0x1669fe[_0xb0d8da(0x1f1)](_0x42d4d7,_0x4983b5))return-0x1;}return 0x0;}
1
+ const _0x243dd3=_0x1c50;(function(_0x42bc72,_0x10ab3f){const _0x3b59b2=_0x1c50,_0x4d8bf7=_0x42bc72();while(!![]){try{const _0x10f3bd=-parseInt(_0x3b59b2(0x1f9))/0x1*(parseInt(_0x3b59b2(0x1e8))/0x2)+parseInt(_0x3b59b2(0x1f6))/0x3+parseInt(_0x3b59b2(0x1ec))/0x4*(parseInt(_0x3b59b2(0x1f7))/0x5)+parseInt(_0x3b59b2(0x1ef))/0x6*(-parseInt(_0x3b59b2(0x1ed))/0x7)+parseInt(_0x3b59b2(0x1eb))/0x8+-parseInt(_0x3b59b2(0x1ee))/0x9+parseInt(_0x3b59b2(0x1f1))/0xa;if(_0x10f3bd===_0x10ab3f)break;else _0x4d8bf7['push'](_0x4d8bf7['shift']());}catch(_0x20a5df){_0x4d8bf7['push'](_0x4d8bf7['shift']());}}}(_0x4891,0x5e787));import{readFileSync}from'fs';import{existsSync}from'fs';import{execSync}from'child_process';import{fileURLToPath}from'url';import{dirname,join}from'path';function _0x4891(){const _0x575d4a=['2lqDUti','message','unknown','3050280qTQNFw','511748glcnKB','18515qVJcDt','4434795hBweQX','1752ifvtwG','@ranger-testing/ranger-cli','4504400KIxGYm','parse','map','\x20version','pipe','1867608CGWYXN','10soedsa','ChYwT','58089cyiYzm'];_0x4891=function(){return _0x575d4a;};return _0x4891();}function _0x1c50(_0x272f89,_0x581221){_0x272f89=_0x272f89-0x1e8;const _0x4891a9=_0x4891();let _0x1c507d=_0x4891a9[_0x272f89];return _0x1c507d;}const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export const PACKAGE_NAME=_0x243dd3(0x1f0);export function getCurrentVersion(){const _0xd510e7=_0x243dd3,_0x139931={'reOgx':function(_0x5b2745,_0x3fa028,_0x3b0589,_0x40fb22,_0x41fadc){return _0x5b2745(_0x3fa028,_0x3b0589,_0x40fb22,_0x41fadc);},'ChYwT':'package.json','vRhfl':function(_0x2faf7b,_0x495a0a,_0x294c59,_0x20e864,_0x262645,_0x4aa49f){return _0x2faf7b(_0x495a0a,_0x294c59,_0x20e864,_0x262645,_0x4aa49f);},'rGJEP':function(_0x195c35,_0x1d8438,_0x3e71eb){return _0x195c35(_0x1d8438,_0x3e71eb);},'IoFuo':_0xd510e7(0x1ea)},_0x363338=[_0x139931['reOgx'](join,__dirname,'..','..',_0x139931[_0xd510e7(0x1f8)]),_0x139931['vRhfl'](join,__dirname,'..','..','..',_0x139931['ChYwT'])];for(const _0x1d82c6 of _0x363338){if(existsSync(_0x1d82c6))try{const _0x3e2a67=JSON[_0xd510e7(0x1f2)](_0x139931['rGJEP'](readFileSync,_0x1d82c6,'utf-8'));return _0x3e2a67['version']||_0x139931['IoFuo'];}catch{continue;}}return'unknown';}export function getLatestVersion(){const _0x466192=_0x243dd3,_0x54f27e={'ezyPI':'utf-8','iIONo':'pipe'};try{const _0x37bfd6=execSync('npm\x20view\x20'+PACKAGE_NAME+_0x466192(0x1f4),{'encoding':_0x54f27e['ezyPI'],'timeout':0x2710,'stdio':['pipe',_0x54f27e['iIONo'],_0x466192(0x1f5)]});return{'version':_0x37bfd6['trim']()};}catch(_0x2370b1){const _0x2e0bd6=_0x2370b1 instanceof Error?_0x2370b1[_0x466192(0x1e9)]:String(_0x2370b1);return{'error':_0x2e0bd6};}}export function compareVersions(_0xd2fd76,_0x5af3ec){const _0xb099e2=_0x243dd3,_0x2a94a8={'HaBwG':function(_0x51e77a,_0x5bbaeb){return _0x51e77a<_0x5bbaeb;},'HLAiZ':function(_0x1b2aaf,_0x8bf9e8){return _0x1b2aaf<_0x8bf9e8;}},_0x3eb961=_0xd2fd76['split']('.')['map'](Number),_0x28f8e0=_0x5af3ec['split']('.')[_0xb099e2(0x1f3)](Number);for(let _0x3d6be5=0x0;_0x2a94a8['HaBwG'](_0x3d6be5,0x3);_0x3d6be5++){const _0x3bfde1=_0x3eb961[_0x3d6be5]||0x0,_0x4bb0d6=_0x28f8e0[_0x3d6be5]||0x0;if(_0x4bb0d6>_0x3bfde1)return 0x1;if(_0x2a94a8['HLAiZ'](_0x4bb0d6,_0x3bfde1))return-0x1;}return 0x0;}