@ranger-testing/ranger-cli 2.5.4-alpha.071b7bd-1 → 2.5.4-alpha.1d983c3-19

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(_0xf0e5c4,_0x34117d){const _0x296ff4=_0x3297,_0x364cca=_0xf0e5c4();while(!![]){try{const _0x4c78d4=parseInt(_0x296ff4(0x17c))/0x1+parseInt(_0x296ff4(0x179))/0x2*(-parseInt(_0x296ff4(0x173))/0x3)+-parseInt(_0x296ff4(0x18c))/0x4*(-parseInt(_0x296ff4(0x198))/0x5)+-parseInt(_0x296ff4(0x16d))/0x6+-parseInt(_0x296ff4(0x169))/0x7*(-parseInt(_0x296ff4(0x17f))/0x8)+-parseInt(_0x296ff4(0x19b))/0x9*(-parseInt(_0x296ff4(0x184))/0xa)+-parseInt(_0x296ff4(0x194))/0xb*(parseInt(_0x296ff4(0x182))/0xc);if(_0x4c78d4===_0x34117d)break;else _0x364cca['push'](_0x364cca['shift']());}catch(_0x26301e){_0x364cca['push'](_0x364cca['shift']());}}}(_0x40a2,0x72825));import{readdir,readFile}from'fs/promises';function _0x3297(_0x5c42d1,_0x1b11eb){_0x5c42d1=_0x5c42d1-0x167;const _0x40a2a2=_0x40a2();let _0x3297ef=_0x40a2a2[_0x5c42d1];return _0x3297ef;}import{join}from'path';function _0x40a2(){const _0x528406=['length','VWMLv','snapshotName','506107nOcEpw','UMQvk','set','inputSnapshot','3780432LrnCpA','method','afterSnapshot','navigated','frameUrl','KAHiN','246429wbrVpo','endTime','get','getTime','pageId','event','2Tlpzmm','zFdyc','beforeSnapshot','596531ZbKjBV','params','EMQdI','8uvutTG','trim','sort','4701612VuoKVB','odtmW','914740lzvnmy','name','url','split','startTime','apiName','capturedAt','indexOf','4dceKUU','string','point','values','eDxoD','iPqud','type','.trace','11ayeMSM','abs','input','callId','3606325Aherfz','goto','wallTime','18AcVNah','find','snapshot','from','utf-8'];_0x40a2=function(){return _0x528406;};return _0x40a2();}export async function mapStepsToTraceSnapshots(_0x41597a,_0x27df76){const _0x27ac3b=_0x3297,_0x35397b={'iPqud':function(_0x2f0ee0,_0x3b94db,_0x140231){return _0x2f0ee0(_0x3b94db,_0x140231);},'KPzdl':function(_0x175a6a,_0x39c309,_0x3b48f8){return _0x175a6a(_0x39c309,_0x3b48f8);},'zFdyc':function(_0x197966,_0x3093f7){return _0x197966(_0x3093f7);},'hbPtW':function(_0x39a9d8,_0xa7d88b){return _0x39a9d8===_0xa7d88b;},'KAHiN':function(_0x22aad4,_0x1df3ee){return _0x22aad4===_0x1df3ee;},'eDxoD':function(_0x5816e2,_0x4cc4af){return _0x5816e2-_0x4cc4af;},'udKuL':_0x27ac3b(0x196),'mZyAc':'after','UMQvk':function(_0x2acffb,_0x3255f0){return _0x2acffb===_0x3255f0;},'nQuVc':function(_0xeac5f1,_0x32fb80){return _0xeac5f1===_0x32fb80;},'VWMLv':_0x27ac3b(0x199),'BQXRg':function(_0xb61c2d,_0x1fc850){return _0xb61c2d===_0x1fc850;},'xYLGj':_0x27ac3b(0x178),'skDxD':_0x27ac3b(0x170),'odtmW':_0x27ac3b(0x18d),'mqBGt':function(_0x119a3a,_0x366a3a){return _0x119a3a===_0x366a3a;},'EMQdI':function(_0x2141e4,_0x36bc77){return _0x2141e4>=_0x36bc77;},'aUhFi':function(_0x8b2a81,_0x413682){return _0x8b2a81<_0x413682;}},_0x95d9f2=new Map();if(_0x35397b['hbPtW'](_0x27df76[_0x27ac3b(0x1a0)],0x0))return _0x95d9f2;const _0x5f07fd=[],_0x3c5a53=async _0x5acb19=>{const _0x51c957=_0x27ac3b,_0x300a19=await _0x35397b[_0x51c957(0x191)](readdir,_0x5acb19,{'withFileTypes':!![]});for(const _0x1afba9 of _0x300a19){const _0x57ed4c=_0x35397b['KPzdl'](join,_0x5acb19,_0x1afba9['name']);if(_0x1afba9['isDirectory']())await _0x35397b[_0x51c957(0x17a)](_0x3c5a53,_0x57ed4c);else _0x1afba9[_0x51c957(0x185)]['endsWith'](_0x51c957(0x193))&&_0x5f07fd['push'](_0x57ed4c);}};await _0x3c5a53(_0x41597a);if(_0x35397b['hbPtW'](_0x5f07fd[_0x27ac3b(0x1a0)],0x0))return _0x95d9f2;const _0x122828=[];for(const _0x1658c1 of _0x5f07fd){const _0x980470=await readFile(_0x1658c1,_0x27ac3b(0x19f)),_0x51a4a0=_0x980470[_0x27ac3b(0x187)]('\x0a')['filter'](_0x16a5b3=>_0x16a5b3[_0x27ac3b(0x180)]());for(const _0x19e7ab of _0x51a4a0){try{_0x122828['push'](JSON['parse'](_0x19e7ab));}catch{}}}if(_0x35397b[_0x27ac3b(0x172)](_0x122828[_0x27ac3b(0x1a0)],0x0))return _0x95d9f2;const _0x152d5c=_0x122828[_0x27ac3b(0x19c)](_0x22f498=>_0x22f498['type']==='context-options');if(!_0x152d5c)return _0x95d9f2;const _0x5b28f9=_0x35397b[_0x27ac3b(0x190)](_0x152d5c[_0x27ac3b(0x19a)],_0x152d5c['monotonicTime']),_0xaf865a=new Map();for(const _0x127f24 of _0x122828){switch(_0x127f24[_0x27ac3b(0x192)]){case'before':{const _0x3c0689=_0x127f24;_0xaf865a[_0x27ac3b(0x16b)](_0x3c0689[_0x27ac3b(0x197)],{'callId':_0x3c0689['callId'],'startTime':_0x3c0689['startTime'],'endTime':0x0,'method':_0x3c0689['method'],'apiName':_0x3c0689[_0x27ac3b(0x189)],'params':_0x3c0689['params'],'pageId':_0x3c0689[_0x27ac3b(0x177)],'beforeSnapshot':_0x3c0689[_0x27ac3b(0x17b)]});break;}case _0x35397b['udKuL']:{const _0x4adcc8=_0x127f24,_0xa00a0a=_0xaf865a[_0x27ac3b(0x175)](_0x4adcc8['callId']);if(_0xa00a0a){if(_0x4adcc8[_0x27ac3b(0x16c)])_0xa00a0a['inputSnapshot']=_0x4adcc8['inputSnapshot'];if(_0x4adcc8[_0x27ac3b(0x18e)])_0xa00a0a['point']=_0x4adcc8[_0x27ac3b(0x18e)];}break;}case _0x35397b['mZyAc']:{const _0x59e84e=_0x127f24,_0x377214=_0xaf865a[_0x27ac3b(0x175)](_0x59e84e[_0x27ac3b(0x197)]);if(_0x377214){_0x377214['endTime']=_0x59e84e[_0x27ac3b(0x174)];if(_0x59e84e['afterSnapshot'])_0x377214[_0x27ac3b(0x16f)]=_0x59e84e['afterSnapshot'];}break;}}}const _0x235cab=Array[_0x27ac3b(0x19e)](_0xaf865a[_0x27ac3b(0x18f)]())['filter'](_0x1f385a=>_0x1f385a['endTime']>0x0&&(_0x1f385a[_0x27ac3b(0x16f)]||_0x1f385a[_0x27ac3b(0x17b)]))[_0x27ac3b(0x181)]((_0x5c1806,_0x268f9f)=>_0x5c1806[_0x27ac3b(0x188)]-_0x268f9f['startTime']);if(_0x235cab[_0x27ac3b(0x1a0)]===0x0)return _0x95d9f2;const _0x26a796=new Map();for(const _0x2f8cf1 of _0x122828){if(_0x35397b[_0x27ac3b(0x16a)](_0x2f8cf1[_0x27ac3b(0x192)],'frame-snapshot')){const _0x3df552=_0x2f8cf1[_0x27ac3b(0x19d)];_0x3df552?.['snapshotName']&&_0x3df552?.['frameUrl']&&_0x26a796['set'](_0x3df552[_0x27ac3b(0x168)],_0x3df552[_0x27ac3b(0x171)]);}}const _0x428650=new Map();for(const _0x348673 of _0x235cab){const _0x205ead=_0x348673[_0x27ac3b(0x17d)]?.[_0x27ac3b(0x186)];_0x35397b['nQuVc'](_0x348673[_0x27ac3b(0x16e)],_0x35397b[_0x27ac3b(0x167)])&&_0x35397b['BQXRg'](typeof _0x205ead,'string')&&_0x348673['pageId']&&_0x428650[_0x27ac3b(0x16b)](_0x348673['pageId'],_0x205ead);}for(const _0x4905b3 of _0x122828){const _0x57d9cb=_0x4905b3,_0x29cc6c=_0x57d9cb[_0x27ac3b(0x17d)],_0x377abc=_0x29cc6c?.['url'];_0x57d9cb[_0x27ac3b(0x192)]===_0x35397b['xYLGj']&&_0x57d9cb['method']===_0x35397b['skDxD']&&typeof _0x377abc===_0x35397b[_0x27ac3b(0x183)]&&_0x35397b['mqBGt'](typeof _0x57d9cb[_0x27ac3b(0x177)],_0x35397b[_0x27ac3b(0x183)])&&_0x428650[_0x27ac3b(0x16b)](_0x57d9cb['pageId'],_0x377abc);}for(const _0x5653ba of _0x27df76){const _0xdaf5dd=new Date(_0x5653ba[_0x27ac3b(0x18a)])[_0x27ac3b(0x176)](),_0x6e6717=_0xdaf5dd-_0x5b28f9;let _0x579d06=null,_0x57f969=Infinity;for(const _0x2c7d95 of _0x235cab){const _0x3009ff=Math[_0x27ac3b(0x195)](_0x35397b['eDxoD'](_0x2c7d95['endTime'],_0x6e6717));_0x3009ff<_0x57f969&&(_0x57f969=_0x3009ff,_0x579d06=_0x2c7d95);}if(!_0x579d06)continue;const _0x57ea81=_0x579d06['afterSnapshot']||_0x579d06['beforeSnapshot'];if(!_0x57ea81)continue;const _0x196fcb=_0x579d06['pageId']||'page@0';let _0x475276=_0x26a796['get'](_0x57ea81)||_0x428650['get'](_0x196fcb)||'';if(!_0x475276)for(let _0x5a6954=_0x235cab['indexOf'](_0x579d06);_0x5a6954>=0x0;_0x5a6954--){const _0x2ae58f=_0x235cab[_0x5a6954][_0x27ac3b(0x17d)]?.['url'];if(_0x235cab[_0x5a6954]['method']===_0x35397b[_0x27ac3b(0x167)]&&typeof _0x2ae58f==='string'){_0x475276=_0x2ae58f;break;}}let _0xf81d6c,_0x46e4ec;const _0x1202c5=_0x235cab[_0x27ac3b(0x18b)](_0x579d06);if(_0x35397b[_0x27ac3b(0x17e)](_0x1202c5,0x0)&&_0x35397b['aUhFi'](_0x1202c5,_0x35397b[_0x27ac3b(0x190)](_0x235cab['length'],0x1))){const _0x3a12a8=_0x235cab[_0x1202c5+0x1];_0x3a12a8['point']&&_0x3a12a8['inputSnapshot']&&(_0xf81d6c=_0x3a12a8['point'],_0x46e4ec=_0x3a12a8[_0x27ac3b(0x16c)]);}_0x95d9f2[_0x27ac3b(0x16b)](_0x5653ba['stepId'],{'snapshotName':_0x57ea81,'inputSnapshotName':_0x46e4ec,'pageId':_0x196fcb,'pageUrl':_0x475276,'callId':_0x579d06[_0x27ac3b(0x197)],'point':_0xf81d6c});}return _0x95d9f2;}
@@ -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(_0x3559be,_0x2226d2){const _0x10ab19=_0x107a,_0x82b54f=_0x3559be();while(!![]){try{const _0x10dcc2=-parseInt(_0x10ab19(0x19f))/0x1+parseInt(_0x10ab19(0x1a4))/0x2+-parseInt(_0x10ab19(0x1a2))/0x3+-parseInt(_0x10ab19(0x19b))/0x4*(-parseInt(_0x10ab19(0x1a5))/0x5)+-parseInt(_0x10ab19(0x1a3))/0x6*(parseInt(_0x10ab19(0x1a7))/0x7)+-parseInt(_0x10ab19(0x19e))/0x8+-parseInt(_0x10ab19(0x1a8))/0x9*(-parseInt(_0x10ab19(0x1a6))/0xa);if(_0x10dcc2===_0x2226d2)break;else _0x82b54f['push'](_0x82b54f['shift']());}catch(_0x3e3699){_0x82b54f['push'](_0x82b54f['shift']());}}}(_0x53a9,0x18e10));function _0x107a(_0x378a9c,_0x181cf6){_0x378a9c=_0x378a9c-0x19b;const _0x53a908=_0x53a9();let _0x107a20=_0x53a908[_0x378a9c];return _0x107a20;}function _0x53a9(){const _0x292d07=['/api/v1/mcp/me','status','28uyXRHZ','message','json','924504TKlJSv','53209eKzyhR','Jomzx','statusText','589311rqWhRF','1061430RslMhG','206636bQDtPH','54995dPVYzb','30XtvYyu','7iCynlj','1391121BGesZR'];_0x53a9=function(){return _0x292d07;};return _0x53a9();}import{getApiBaseUrl}from'./environment.js';export async function getCurrentUser(_0x45b194){const _0x4b496c=_0x107a,_0x1e2324={'LuUfe':function(_0x15d500,_0x5aa253,_0x45110f){return _0x15d500(_0x5aa253,_0x45110f);},'Jomzx':'GET','nvjCb':function(_0x3d4c5a,_0x2f2b0e){return _0x3d4c5a instanceof _0x2f2b0e;},'UNHhD':function(_0x3b3e19,_0x176ec8){return _0x3b3e19(_0x176ec8);}},_0x371ae8=getApiBaseUrl();try{const _0x8ec9c3=await _0x1e2324['LuUfe'](fetch,_0x371ae8+_0x4b496c(0x1a9),{'method':_0x1e2324[_0x4b496c(0x1a0)],'headers':{'Authorization':'Bearer\x20'+_0x45b194}});if(!_0x8ec9c3['ok'])return{'success':![],'error':_0x8ec9c3['status']+'\x20'+_0x8ec9c3[_0x4b496c(0x1a1)],'status':_0x8ec9c3[_0x4b496c(0x1aa)]};const _0x2b392e=await _0x8ec9c3[_0x4b496c(0x19d)]();return{'success':!![],'user':_0x2b392e};}catch(_0x156b2c){return{'success':![],'error':_0x1e2324['nvjCb'](_0x156b2c,Error)?_0x156b2c[_0x4b496c(0x19c)]:_0x1e2324['UNHhD'](String,_0x156b2c)};}}
@@ -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
+ function _0xa1bb(){const _0x55632a=['34jXeTje','split','RoXPU','\x20version','parse','trim','McCmC','6IfSTRV','utVIB','9HCjpYV','3875137xlLKqO','847624dZmBEL','92122MlROqt','WzVTq','utf-8','UciDJ','22867116tHBiKY','ItoRZ','KiMaX','1160585bxftZo','11eVSqeb','WDFhT','map','6YZGVft','iNglt','4227208JisJrL','pipe','package.json','8418640KXujpx'];_0xa1bb=function(){return _0x55632a;};return _0xa1bb();}(function(_0x1bb24e,_0x211019){const _0x35b45e=_0x4487,_0x1a617a=_0x1bb24e();while(!![]){try{const _0x1449b5=-parseInt(_0x35b45e(0x1cf))/0x1*(-parseInt(_0x35b45e(0x1e0))/0x2)+parseInt(_0x35b45e(0x1da))/0x3*(-parseInt(_0x35b45e(0x1ce))/0x4)+-parseInt(_0x35b45e(0x1d6))/0x5*(parseInt(_0x35b45e(0x1ca))/0x6)+-parseInt(_0x35b45e(0x1cd))/0x7+-parseInt(_0x35b45e(0x1dc))/0x8*(parseInt(_0x35b45e(0x1cc))/0x9)+-parseInt(_0x35b45e(0x1df))/0xa+parseInt(_0x35b45e(0x1d7))/0xb*(parseInt(_0x35b45e(0x1d3))/0xc);if(_0x1449b5===_0x211019)break;else _0x1a617a['push'](_0x1a617a['shift']());}catch(_0xab5b0b){_0x1a617a['push'](_0x1a617a['shift']());}}}(_0xa1bb,0xd9bea));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';export function getCurrentVersion(){const _0x1a2bce=_0x4487,_0x34c698={'WDFhT':function(_0x4a5a3a,_0x539245,_0x2c41c1,_0x5bd111,_0x3adeb0){return _0x4a5a3a(_0x539245,_0x2c41c1,_0x5bd111,_0x3adeb0);},'RoXPU':_0x1a2bce(0x1de),'FsmpJ':function(_0x1eb487,_0x9e10dd,_0x199478){return _0x1eb487(_0x9e10dd,_0x199478);},'ItoRZ':_0x1a2bce(0x1d1),'utVIB':'unknown'},_0x2c37b5=[_0x34c698[_0x1a2bce(0x1d8)](join,__dirname,'..','..',_0x34c698[_0x1a2bce(0x1e2)]),join(__dirname,'..','..','..',_0x34c698[_0x1a2bce(0x1e2)])];for(const _0x5a978 of _0x2c37b5){if(existsSync(_0x5a978))try{const _0x317bf2=JSON[_0x1a2bce(0x1c7)](_0x34c698['FsmpJ'](readFileSync,_0x5a978,_0x34c698[_0x1a2bce(0x1d4)]));return _0x317bf2['version']||'unknown';}catch{continue;}}return _0x34c698[_0x1a2bce(0x1cb)];}function _0x4487(_0x2c06ae,_0x4563d1){_0x2c06ae=_0x2c06ae-0x1c6;const _0xa1bb2d=_0xa1bb();let _0x448783=_0xa1bb2d[_0x2c06ae];return _0x448783;}export function getLatestVersion(){const _0x22b95e=_0x4487,_0x1af70d={'KiMaX':function(_0x2eadc9,_0x58916f,_0x58b53){return _0x2eadc9(_0x58916f,_0x58b53);},'UciDJ':'pipe','WzVTq':function(_0x12118c,_0x539ee0){return _0x12118c(_0x539ee0);}};try{const _0x1399a4=_0x1af70d[_0x22b95e(0x1d5)](execSync,'npm\x20view\x20'+PACKAGE_NAME+_0x22b95e(0x1c6),{'encoding':_0x22b95e(0x1d1),'timeout':0x2710,'stdio':[_0x1af70d['UciDJ'],_0x1af70d[_0x22b95e(0x1d2)],_0x22b95e(0x1dd)]});return{'version':_0x1399a4[_0x22b95e(0x1c8)]()};}catch(_0x3e367e){const _0x7fe575=_0x3e367e instanceof Error?_0x3e367e['message']:_0x1af70d[_0x22b95e(0x1d0)](String,_0x3e367e);return{'error':_0x7fe575};}}export function compareVersions(_0x2afaff,_0x4217a0){const _0x261ae7=_0x4487,_0xf9ffc={'iNglt':function(_0x15efe5,_0x11d52e){return _0x15efe5<_0x11d52e;},'McCmC':function(_0x54e67b,_0x53c0ec){return _0x54e67b>_0x53c0ec;}},_0x5c8e0b=_0x2afaff[_0x261ae7(0x1e1)]('.')[_0x261ae7(0x1d9)](Number),_0x3e0fd5=_0x4217a0['split']('.')[_0x261ae7(0x1d9)](Number);for(let _0x2262a4=0x0;_0xf9ffc[_0x261ae7(0x1db)](_0x2262a4,0x3);_0x2262a4++){const _0x5af0da=_0x5c8e0b[_0x2262a4]||0x0,_0x15e614=_0x3e0fd5[_0x2262a4]||0x0;if(_0xf9ffc[_0x261ae7(0x1c9)](_0x15e614,_0x5af0da))return 0x1;if(_0xf9ffc['iNglt'](_0x15e614,_0x5af0da))return-0x1;}return 0x0;}