@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.
- 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/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(_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(
|
|
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
|
|
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;}
|