@ranger-testing/ranger-cli 2.3.0 → 2.3.2
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.
- package/build/cli.js +1 -1
- package/build/commands/addEnv.js +1 -1
- package/build/commands/authEncrypt.js +1 -1
- package/build/commands/clean.js +1 -1
- package/build/commands/config.js +1 -1
- package/build/commands/env.js +1 -1
- package/build/commands/feature.js +1 -1
- package/build/commands/hook.js +1 -1
- package/build/commands/hooks/autoPrompt.js +1 -1
- package/build/commands/hooks/disable.js +1 -1
- package/build/commands/hooks/enable.js +1 -1
- package/build/commands/hooks/exitPlanMode.js +1 -1
- package/build/commands/hooks/index.js +1 -1
- package/build/commands/hooks/output.js +1 -1
- package/build/commands/hooks/planReminder.js +1 -1
- package/build/commands/hooks/planStart.js +1 -1
- package/build/commands/hooks/postEdit.js +1 -1
- package/build/commands/hooks/preCompact.js +1 -1
- package/build/commands/hooks/sessionEnd.js +1 -1
- package/build/commands/hooks/sessionStart.js +1 -1
- package/build/commands/hooks/stopHook.js +1 -1
- package/build/commands/index.js +1 -1
- package/build/commands/login.js +1 -1
- package/build/commands/setup/claude.js +1 -1
- package/build/commands/setup/opencode.js +1 -1
- package/build/commands/setupCi.js +1 -1
- package/build/commands/skillup.js +1 -1
- package/build/commands/start.js +1 -1
- package/build/commands/status.js +1 -1
- package/build/commands/update.js +1 -1
- package/build/commands/updateEnv.js +1 -1
- package/build/commands/useEnv.js +1 -1
- package/build/commands/utils/activeProfile.js +1 -1
- package/build/commands/utils/agentEnv.js +1 -0
- package/build/commands/utils/browserSessionsApi.js +1 -1
- package/build/commands/utils/claudeConfig.js +1 -1
- package/build/commands/utils/claudePlugin.js +1 -1
- package/build/commands/utils/crypto.js +1 -1
- package/build/commands/utils/desirePathLog.js +1 -1
- package/build/commands/utils/deviceAuth.js +1 -1
- package/build/commands/utils/environment.js +1 -1
- package/build/commands/utils/featureApi.js +1 -1
- package/build/commands/utils/featureReportGenerator.js +1 -1
- package/build/commands/utils/fixWebmDuration.js +1 -1
- package/build/commands/utils/git.js +1 -1
- package/build/commands/utils/keychain.js +1 -1
- package/build/commands/utils/localAgentInstallationsApi.js +1 -1
- package/build/commands/utils/mcpImageBase64.js +1 -1
- package/build/commands/utils/model.js +1 -1
- package/build/commands/utils/opencodeConfig.js +1 -1
- package/build/commands/utils/playwrightCli.js +1 -1
- package/build/commands/utils/profileMessages.js +1 -1
- package/build/commands/utils/profileSetupBanner.js +1 -1
- package/build/commands/utils/rangerConfig.js +1 -1
- package/build/commands/utils/rangerRoot.js +1 -1
- package/build/commands/utils/reportGenerator.js +1 -1
- package/build/commands/utils/retry.js +1 -1
- package/build/commands/utils/sessionCache.js +1 -1
- package/build/commands/utils/settings.js +1 -1
- package/build/commands/utils/skillContent.js +1 -1
- package/build/commands/utils/skills.js +1 -1
- package/build/commands/utils/stitchWebmFiles.js +1 -1
- package/build/commands/utils/telemetry.js +1 -1
- package/build/commands/utils/traceSnapshotMapper.js +1 -1
- package/build/commands/utils/userApi.js +1 -1
- package/build/commands/utils/version.js +1 -1
- package/build/commands/verifyFeature.js +1 -1
- package/build/commands/verifyFeatureCli.js +1 -1
- package/build/commands/verifyInBrowser.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x25c9(){const _0x1e5a6f=['startTime','vGssc','monotonicTime','frameUrl','1040170zOmPeC','514014TrAtcM','point','params','set','get','3012939CVFExL','push','35KTFhqO','values','qbonI','inputSnapshot','length','92816LVJrPN','TtnjV','event','FPIro','wallTime','vtkYU','name','beforeSnapshot','input','snapshotName','navigated','132efiGgN','pageId','frame-snapshot','filter','indexOf','goto','afterSnapshot','getTime','1160526ClNFhn','.trace','string','capturedAt','9532NfheyW','context-options','url','29935HSLHOv','callId','type','SnDwx','sort','RchMC','FjJIz','endTime'];_0x25c9=function(){return _0x1e5a6f;};return _0x25c9();}function _0x1c07(_0x18dc0e,_0x1d0e79){_0x18dc0e=_0x18dc0e-0x137;const _0x25c905=_0x25c9();let _0x1c07f9=_0x25c905[_0x18dc0e];return _0x1c07f9;}(function(_0x3d2932,_0x3f5a13){const _0x2e21a6=_0x1c07,_0x5af0ee=_0x3d2932();while(!![]){try{const _0x10c9d2=-parseInt(_0x2e21a6(0x157))/0x1+parseInt(_0x2e21a6(0x164))/0x2+-parseInt(_0x2e21a6(0x148))/0x3*(parseInt(_0x2e21a6(0x154))/0x4)+parseInt(_0x2e21a6(0x163))/0x5+parseInt(_0x2e21a6(0x150))/0x6+-parseInt(_0x2e21a6(0x138))/0x7*(parseInt(_0x2e21a6(0x13d))/0x8)+-parseInt(_0x2e21a6(0x169))/0x9;if(_0x10c9d2===_0x3f5a13)break;else _0x5af0ee['push'](_0x5af0ee['shift']());}catch(_0x5c8c73){_0x5af0ee['push'](_0x5af0ee['shift']());}}}(_0x25c9,0x1ff4e));import{readdir,readFile}from'fs/promises';import{join}from'path';export async function mapStepsToTraceSnapshots(_0x23e608,_0x56a2b3){const _0x56d6c5=_0x1c07,_0x54fd1b={'kAQbT':function(_0x550b85,_0x5bae4e){return _0x550b85(_0x5bae4e);},'SdnOX':function(_0x4617d8,_0x198a02,_0x47f124){return _0x4617d8(_0x198a02,_0x47f124);},'vtkYU':function(_0x2e551b,_0x1a0601){return _0x2e551b-_0x1a0601;},'qbonI':'before','RchMC':function(_0x401f1b,_0xe47d53){return _0x401f1b===_0xe47d53;},'zQAiF':'goto','SnDwx':function(_0x3f6f9e,_0x109167){return _0x3f6f9e===_0x109167;},'FjJIz':_0x56d6c5(0x13f),'bqNDG':function(_0x46e11b,_0x25d931){return _0x46e11b===_0x25d931;},'XQrnb':function(_0x241942,_0x56d72a){return _0x241942===_0x56d72a;},'sFTNo':function(_0x578195,_0x18b000){return _0x578195-_0x18b000;},'LwnIF':'page@0','LQKcC':function(_0x551f5e,_0x54f4e2){return _0x551f5e===_0x54f4e2;},'vGssc':function(_0x2b8301,_0xa3aebb){return _0x2b8301>=_0xa3aebb;},'CzTjO':function(_0x511903,_0x1c2d2d){return _0x511903<_0x1c2d2d;},'TtnjV':function(_0x4b6eaf,_0x34dd04){return _0x4b6eaf-_0x34dd04;},'FPIro':function(_0x5b3c45,_0x565207){return _0x5b3c45+_0x565207;}},_0x453d4e=new Map();if(_0x56a2b3[_0x56d6c5(0x13c)]===0x0)return _0x453d4e;const _0x58fc52=[],_0xda068=async _0xd088b7=>{const _0x43772d=_0x56d6c5,_0x244b8f=await readdir(_0xd088b7,{'withFileTypes':!![]});for(const _0x491516 of _0x244b8f){const _0x359862=join(_0xd088b7,_0x491516[_0x43772d(0x143)]);if(_0x491516['isDirectory']())await _0x54fd1b['kAQbT'](_0xda068,_0x359862);else _0x491516[_0x43772d(0x143)]['endsWith'](_0x43772d(0x151))&&_0x58fc52['push'](_0x359862);}};await _0xda068(_0x23e608);if(_0x58fc52[_0x56d6c5(0x13c)]===0x0)return _0x453d4e;const _0x15b408=[];for(const _0x52d572 of _0x58fc52){const _0x6465b5=await _0x54fd1b['SdnOX'](readFile,_0x52d572,'utf-8'),_0x28675e=_0x6465b5['split']('\x0a')[_0x56d6c5(0x14b)](_0x2acb13=>_0x2acb13['trim']());for(const _0x54bfb6 of _0x28675e){try{_0x15b408[_0x56d6c5(0x137)](JSON['parse'](_0x54bfb6));}catch{}}}if(_0x15b408[_0x56d6c5(0x13c)]===0x0)return _0x453d4e;const _0x25c6c9=_0x15b408['find'](_0x4af514=>_0x4af514[_0x56d6c5(0x159)]===_0x56d6c5(0x155));if(!_0x25c6c9)return _0x453d4e;const _0x684da=_0x54fd1b['vtkYU'](_0x25c6c9[_0x56d6c5(0x141)],_0x25c6c9[_0x56d6c5(0x161)]),_0x1b08ef=new Map();for(const _0x4482be of _0x15b408){switch(_0x4482be[_0x56d6c5(0x159)]){case _0x54fd1b[_0x56d6c5(0x13a)]:{const _0x1724b5=_0x4482be;_0x1b08ef[_0x56d6c5(0x167)](_0x1724b5['callId'],{'callId':_0x1724b5[_0x56d6c5(0x158)],'startTime':_0x1724b5['startTime'],'endTime':0x0,'method':_0x1724b5['method'],'apiName':_0x1724b5['apiName'],'params':_0x1724b5[_0x56d6c5(0x166)],'pageId':_0x1724b5['pageId'],'beforeSnapshot':_0x1724b5[_0x56d6c5(0x144)]});break;}case _0x56d6c5(0x145):{const _0x42a5c3=_0x4482be,_0xd80aab=_0x1b08ef[_0x56d6c5(0x168)](_0x42a5c3['callId']);if(_0xd80aab){if(_0x42a5c3[_0x56d6c5(0x13b)])_0xd80aab[_0x56d6c5(0x13b)]=_0x42a5c3[_0x56d6c5(0x13b)];if(_0x42a5c3[_0x56d6c5(0x165)])_0xd80aab[_0x56d6c5(0x165)]=_0x42a5c3['point'];}break;}case'after':{const _0x225a1a=_0x4482be,_0x1a5ddd=_0x1b08ef[_0x56d6c5(0x168)](_0x225a1a[_0x56d6c5(0x158)]);if(_0x1a5ddd){_0x1a5ddd['endTime']=_0x225a1a[_0x56d6c5(0x15e)];if(_0x225a1a[_0x56d6c5(0x14e)])_0x1a5ddd['afterSnapshot']=_0x225a1a[_0x56d6c5(0x14e)];}break;}}}const _0x4cb24b=Array['from'](_0x1b08ef[_0x56d6c5(0x139)]())['filter'](_0x3c5700=>_0x3c5700['endTime']>0x0&&(_0x3c5700[_0x56d6c5(0x14e)]||_0x3c5700['beforeSnapshot']))[_0x56d6c5(0x15b)]((_0x194efb,_0x269e5e)=>_0x194efb['startTime']-_0x269e5e[_0x56d6c5(0x15f)]);if(_0x4cb24b[_0x56d6c5(0x13c)]===0x0)return _0x453d4e;const _0x311995=new Map();for(const _0x14ad11 of _0x15b408){if(_0x14ad11[_0x56d6c5(0x159)]===_0x56d6c5(0x14a)){const _0x5a32f1=_0x14ad11['snapshot'];_0x5a32f1?.[_0x56d6c5(0x146)]&&_0x5a32f1?.[_0x56d6c5(0x162)]&&_0x311995[_0x56d6c5(0x167)](_0x5a32f1['snapshotName'],_0x5a32f1[_0x56d6c5(0x162)]);}}const _0x2a2fae=new Map();for(const _0x57fd7e of _0x4cb24b){const _0xc52472=_0x57fd7e['params']?.[_0x56d6c5(0x156)];_0x54fd1b[_0x56d6c5(0x15c)](_0x57fd7e['method'],_0x54fd1b['zQAiF'])&&typeof _0xc52472===_0x56d6c5(0x152)&&_0x57fd7e['pageId']&&_0x2a2fae[_0x56d6c5(0x167)](_0x57fd7e[_0x56d6c5(0x149)],_0xc52472);}for(const _0xd07afc of _0x15b408){const _0x1885c4=_0xd07afc,_0x4a3184=_0x1885c4[_0x56d6c5(0x166)],_0x5bc06f=_0x4a3184?.['url'];_0x54fd1b['SnDwx'](_0x1885c4[_0x56d6c5(0x159)],_0x54fd1b[_0x56d6c5(0x15d)])&&_0x54fd1b['bqNDG'](_0x1885c4['method'],_0x56d6c5(0x147))&&_0x54fd1b['XQrnb'](typeof _0x5bc06f,'string')&&_0x54fd1b[_0x56d6c5(0x15a)](typeof _0x1885c4['pageId'],_0x56d6c5(0x152))&&_0x2a2fae['set'](_0x1885c4['pageId'],_0x5bc06f);}for(const _0x225fac of _0x56a2b3){const _0x1feb07=new Date(_0x225fac[_0x56d6c5(0x153)])[_0x56d6c5(0x14f)](),_0x1a03b6=_0x54fd1b['sFTNo'](_0x1feb07,_0x684da);let _0x5836e5=null,_0x25e001=Infinity;for(const _0x3e4de4 of _0x4cb24b){const _0x383daa=Math['abs'](_0x54fd1b[_0x56d6c5(0x142)](_0x3e4de4[_0x56d6c5(0x15e)],_0x1a03b6));_0x383daa<_0x25e001&&(_0x25e001=_0x383daa,_0x5836e5=_0x3e4de4);}if(!_0x5836e5)continue;const _0x2956bd=_0x5836e5['afterSnapshot']||_0x5836e5[_0x56d6c5(0x144)];if(!_0x2956bd)continue;const _0x3cd533=_0x5836e5['pageId']||_0x54fd1b['LwnIF'];let _0x16e259=_0x311995[_0x56d6c5(0x168)](_0x2956bd)||_0x2a2fae[_0x56d6c5(0x168)](_0x3cd533)||'';if(!_0x16e259)for(let _0x1a9756=_0x4cb24b['indexOf'](_0x5836e5);_0x1a9756>=0x0;_0x1a9756--){const _0x20842a=_0x4cb24b[_0x1a9756]['params']?.[_0x56d6c5(0x156)];if(_0x4cb24b[_0x1a9756]['method']===_0x56d6c5(0x14d)&&_0x54fd1b['LQKcC'](typeof _0x20842a,'string')){_0x16e259=_0x20842a;break;}}let _0x1b2dbf,_0x5d84de;const _0xde9cc0=_0x4cb24b[_0x56d6c5(0x14c)](_0x5836e5);if(_0x54fd1b[_0x56d6c5(0x160)](_0xde9cc0,0x0)&&_0x54fd1b['CzTjO'](_0xde9cc0,_0x54fd1b[_0x56d6c5(0x13e)](_0x4cb24b['length'],0x1))){const _0x495773=_0x4cb24b[_0x54fd1b[_0x56d6c5(0x140)](_0xde9cc0,0x1)];_0x495773[_0x56d6c5(0x165)]&&_0x495773['inputSnapshot']&&(_0x1b2dbf=_0x495773['point'],_0x5d84de=_0x495773['inputSnapshot']);}_0x453d4e['set'](_0x225fac['stepId'],{'snapshotName':_0x2956bd,'inputSnapshotName':_0x5d84de,'pageId':_0x3cd533,'pageUrl':_0x16e259,'callId':_0x5836e5[_0x56d6c5(0x158)],'point':_0x1b2dbf});}return _0x453d4e;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x466c(){const _0x4a65d7=['status','25595xLPWUL','53826qCEMsh','Bearer\x20','8FZkeXf','2098467DHFPsp','20044jDMYkw','1859193cihexg','904872tMXvbJ','9940450KNpxXP','statusText','DiRGJ','87NSZlxC','120ZVIbAl'];_0x466c=function(){return _0x4a65d7;};return _0x466c();}(function(_0x444d8b,_0x48ec57){const _0x5665ed=_0x5972,_0x27f515=_0x444d8b();while(!![]){try{const _0x1acf6e=-parseInt(_0x5665ed(0x16f))/0x1*(parseInt(_0x5665ed(0x172))/0x2)+parseInt(_0x5665ed(0x16c))/0x3*(-parseInt(_0x5665ed(0x174))/0x4)+parseInt(_0x5665ed(0x16d))/0x5*(-parseInt(_0x5665ed(0x170))/0x6)+-parseInt(_0x5665ed(0x175))/0x7+parseInt(_0x5665ed(0x168))/0x8+-parseInt(_0x5665ed(0x173))/0x9+parseInt(_0x5665ed(0x169))/0xa;if(_0x1acf6e===_0x48ec57)break;else _0x27f515['push'](_0x27f515['shift']());}catch(_0x4ac24b){_0x27f515['push'](_0x27f515['shift']());}}}(_0x466c,0x237ed));import{getApiBaseUrl}from'./environment.js';function _0x5972(_0x1f5439,_0x12833e){_0x1f5439=_0x1f5439-0x168;const _0x466c66=_0x466c();let _0x59726f=_0x466c66[_0x1f5439];return _0x59726f;}export async function getCurrentUser(_0x8ee13a){const _0x43b40e=_0x5972,_0x32f81c={'HJbOU':function(_0x1ee891,_0x18c6ea,_0x4ea336){return _0x1ee891(_0x18c6ea,_0x4ea336);},'DiRGJ':'GET','QAyvM':function(_0x7f61c8,_0x26b9cc){return _0x7f61c8 instanceof _0x26b9cc;}},_0x3e2edd=getApiBaseUrl();try{const _0x305600=await _0x32f81c['HJbOU'](fetch,_0x3e2edd+'/api/v1/mcp/me',{'method':_0x32f81c[_0x43b40e(0x16b)],'headers':{'Authorization':_0x43b40e(0x171)+_0x8ee13a}});if(!_0x305600['ok'])return{'success':![],'error':_0x305600[_0x43b40e(0x16e)]+'\x20'+_0x305600[_0x43b40e(0x16a)],'status':_0x305600[_0x43b40e(0x16e)]};const _0x5b8d36=await _0x305600['json']();return{'success':!![],'user':_0x5b8d36};}catch(_0x2007d6){return{'success':![],'error':_0x32f81c['QAyvM'](_0x2007d6,Error)?_0x2007d6['message']:String(_0x2007d6)};}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5b9b44=_0x3f96;(function(_0x250f56,_0x2be393){const _0xe40248=_0x3f96,_0x53d46c=_0x250f56();while(!![]){try{const _0x57acc7=-parseInt(_0xe40248(0x1f9))/0x1+parseInt(_0xe40248(0x1ea))/0x2+-parseInt(_0xe40248(0x1e6))/0x3*(-parseInt(_0xe40248(0x1fb))/0x4)+parseInt(_0xe40248(0x1f2))/0x5+-parseInt(_0xe40248(0x1f8))/0x6+-parseInt(_0xe40248(0x1e3))/0x7*(-parseInt(_0xe40248(0x1e7))/0x8)+parseInt(_0xe40248(0x1eb))/0x9*(-parseInt(_0xe40248(0x1e9))/0xa);if(_0x57acc7===_0x2be393)break;else _0x53d46c['push'](_0x53d46c['shift']());}catch(_0x3a0d4e){_0x53d46c['push'](_0x53d46c['shift']());}}}(_0x58ef,0xba1d8));function _0x58ef(){const _0x8e324f=['unknown','utf-8','2343813lfYvPO','1864DebvKh','JEgDL','300LaSrqF','2236640McXfWW','450693cefRDO','@ranger-testing/ranger-cli','pipe','split','npm\x20view\x20','package.json','\x20version','6289640IkDndR','Noxds','message','map','JHuUz','oEAmP','3972420MonzVA','1272554LSJGNv','UBXmu','4hMdroy','parse','31297JmsnhL'];_0x58ef=function(){return _0x8e324f;};return _0x58ef();}import{readFileSync}from'fs';import{existsSync}from'fs';import{execSync}from'child_process';import{fileURLToPath}from'url';function _0x3f96(_0x2fdc1f,_0x50b1d5){_0x2fdc1f=_0x2fdc1f-0x1e2;const _0x58effb=_0x58ef();let _0x3f9692=_0x58effb[_0x2fdc1f];return _0x3f9692;}import{dirname,join}from'path';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export const PACKAGE_NAME=_0x5b9b44(0x1ec);export function getCurrentVersion(){const _0x4edcec=_0x5b9b44,_0x36bf45={'Noxds':_0x4edcec(0x1f0),'UBXmu':function(_0x2ea741,_0x1018e9,_0x4ab020,_0x2f6396,_0x22e9d4,_0x20d673){return _0x2ea741(_0x1018e9,_0x4ab020,_0x2f6396,_0x22e9d4,_0x20d673);},'ZilJy':function(_0x11a27b,_0x47c36e,_0xcd7f31){return _0x11a27b(_0x47c36e,_0xcd7f31);},'DuTea':_0x4edcec(0x1e5),'nTAVU':_0x4edcec(0x1e4)},_0x5c3fd9=[join(__dirname,'..','..',_0x36bf45[_0x4edcec(0x1f3)]),_0x36bf45[_0x4edcec(0x1fa)](join,__dirname,'..','..','..','package.json')];for(const _0x42ec43 of _0x5c3fd9){if(existsSync(_0x42ec43))try{const _0x2f2724=JSON[_0x4edcec(0x1e2)](_0x36bf45['ZilJy'](readFileSync,_0x42ec43,_0x36bf45['DuTea']));return _0x2f2724['version']||_0x36bf45['nTAVU'];}catch{continue;}}return _0x4edcec(0x1e4);}export function getLatestVersion(){const _0xcbbbdd=_0x5b9b44,_0x3763af={'JHuUz':'pipe','GWRUd':function(_0x5b4ab9,_0x56733e){return _0x5b4ab9 instanceof _0x56733e;},'oEAmP':function(_0xe7ba98,_0x2968b6){return _0xe7ba98(_0x2968b6);}};try{const _0x58b6f6=execSync(_0xcbbbdd(0x1ef)+PACKAGE_NAME+_0xcbbbdd(0x1f1),{'encoding':_0xcbbbdd(0x1e5),'timeout':0x2710,'stdio':[_0x3763af[_0xcbbbdd(0x1f6)],_0xcbbbdd(0x1ed),_0x3763af['JHuUz']]});return{'version':_0x58b6f6['trim']()};}catch(_0x34f74d){const _0x57182e=_0x3763af['GWRUd'](_0x34f74d,Error)?_0x34f74d[_0xcbbbdd(0x1f4)]:_0x3763af[_0xcbbbdd(0x1f7)](String,_0x34f74d);return{'error':_0x57182e};}}export function compareVersions(_0x47e5c5,_0x2188e4){const _0x1ff738=_0x5b9b44,_0x30ac43={'JEgDL':function(_0x2ff1a1,_0x116cbd){return _0x2ff1a1>_0x116cbd;}},_0x1b15c2=_0x47e5c5['split']('.')[_0x1ff738(0x1f5)](Number),_0x20bf63=_0x2188e4[_0x1ff738(0x1ee)]('.')['map'](Number);for(let _0x5f07cd=0x0;_0x5f07cd<0x3;_0x5f07cd++){const _0x247266=_0x1b15c2[_0x5f07cd]||0x0,_0x1d6272=_0x20bf63[_0x5f07cd]||0x0;if(_0x30ac43[_0x1ff738(0x1e8)](_0x1d6272,_0x247266))return 0x1;if(_0x1d6272<_0x247266)return-0x1;}return 0x0;}
|