@ranger-testing/ranger-cli 3.1.3 → 3.1.4-alpha.fb796e7-45
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/deleteProfile.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/mcpBootstrap.js +1 -1
- package/build/commands/migrateProfile.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 -1
- package/build/commands/utils/browserSessionsApi.js +1 -1
- package/build/commands/utils/claudeConfig.js +1 -1
- package/build/commands/utils/claudeOverrideSettings.js +1 -1
- package/build/commands/utils/claudePlugin.js +1 -1
- package/build/commands/utils/cloudProfile.js +1 -1
- package/build/commands/utils/cloudProfileSession.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/fixWebmDuration.js +1 -1
- package/build/commands/utils/gitTracked.js +1 -1
- package/build/commands/utils/keychain.js +1 -1
- package/build/commands/utils/legacyWarning.js +1 -1
- package/build/commands/utils/localAgentInstallationsApi.js +1 -1
- package/build/commands/utils/matchAuthEnvironment.js +1 -1
- package/build/commands/utils/mcpImageBase64.js +1 -1
- package/build/commands/utils/model.js +1 -1
- package/build/commands/utils/novaActCli.js +1 -1
- package/build/commands/utils/opencodeConfig.js +1 -1
- package/build/commands/utils/organizationEnvApi.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/projectsConfig.js +1 -1
- package/build/commands/utils/rangerConfig.js +1 -1
- package/build/commands/utils/rangerRoot.js +1 -1
- package/build/commands/utils/rangerwrightCli.js +1 -1
- package/build/commands/utils/resolveProfileContext.js +1 -1
- package/build/commands/utils/resolveProfileUrl.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/tokenRefresh.js +1 -1
- package/build/commands/utils/traceSnapshotMapper.js +1 -1
- package/build/commands/utils/tunnelClient.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/verifyFeatureNovaCli.js +1 -1
- package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x50122d,_0x19c1a3){const _0x5d5982=_0x40a3,_0x3ae63d=_0x50122d();while(!![]){try{const _0x4036a7=-parseInt(_0x5d5982(0x19a))/0x1+-parseInt(_0x5d5982(0x197))/0x2*(-parseInt(_0x5d5982(0x1a1))/0x3)+parseInt(_0x5d5982(0x199))/0x4*(-parseInt(_0x5d5982(0x19d))/0x5)+parseInt(_0x5d5982(0x196))/0x6+parseInt(_0x5d5982(0x1a3))/0x7*(parseInt(_0x5d5982(0x19c))/0x8)+-parseInt(_0x5d5982(0x1a0))/0x9*(-parseInt(_0x5d5982(0x19f))/0xa)+parseInt(_0x5d5982(0x1a2))/0xb*(-parseInt(_0x5d5982(0x198))/0xc);if(_0x4036a7===_0x19c1a3)break;else _0x3ae63d['push'](_0x3ae63d['shift']());}catch(_0x66014f){_0x3ae63d['push'](_0x3ae63d['shift']());}}}(_0x18ee,0xd1ae2));import{getApiBaseUrl}from'./environment.js';export async function getCurrentUser(_0x2376e1){const _0x47f1bb=_0x40a3,_0x166129=getApiBaseUrl();try{const _0x153943=await fetch(_0x166129+'/api/v1/mcp/me',{'method':'GET','headers':{'Authorization':'Bearer\x20'+_0x2376e1}});if(!_0x153943['ok'])return{'success':![],'error':_0x153943[_0x47f1bb(0x19e)]+'\x20'+_0x153943['statusText'],'status':_0x153943['status']};const _0x56090e=await _0x153943[_0x47f1bb(0x19b)]();return{'success':!![],'user':_0x56090e};}catch(_0x5396b9){return{'success':![],'error':_0x5396b9 instanceof Error?_0x5396b9['message']:String(_0x5396b9)};}}function _0x40a3(_0x47e92d,_0x1a740f){_0x47e92d=_0x47e92d-0x196;const _0x18ee90=_0x18ee();let _0x40a3fa=_0x18ee90[_0x47e92d];return _0x40a3fa;}function _0x18ee(){const _0x4bbd69=['status','20GzLmLW','6175503RGrlsj','3TrOURZ','4557619GEnnEB','10289524GIjcJs','3803916vVNVoc','1246906nHKPHw','72dgrsTd','196dAUFka','544475ylLGJI','json','8tmnvtX','21470jvxlOH'];_0x18ee=function(){return _0x4bbd69;};return _0x18ee();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x499657=_0x5e8a;(function(_0x2c9534,_0x2eec3e){const _0x1aa4a3=_0x5e8a,_0x1d4705=_0x2c9534();while(!![]){try{const _0x261bc7=parseInt(_0x1aa4a3(0x166))/0x1*(-parseInt(_0x1aa4a3(0x157))/0x2)+parseInt(_0x1aa4a3(0x161))/0x3+parseInt(_0x1aa4a3(0x168))/0x4*(parseInt(_0x1aa4a3(0x15d))/0x5)+-parseInt(_0x1aa4a3(0x163))/0x6*(-parseInt(_0x1aa4a3(0x154))/0x7)+parseInt(_0x1aa4a3(0x156))/0x8+-parseInt(_0x1aa4a3(0x15b))/0x9*(-parseInt(_0x1aa4a3(0x167))/0xa)+-parseInt(_0x1aa4a3(0x155))/0xb;if(_0x261bc7===_0x2eec3e)break;else _0x1d4705['push'](_0x1d4705['shift']());}catch(_0x79299e){_0x1d4705['push'](_0x1d4705['shift']());}}}(_0x3281,0x8883d));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=_0x499657(0x16d);export function getCurrentVersion(){const _0xfb6031=_0x499657,_0x3b8f21={'fmUhb':function(_0x2ef8d3,_0x335f46,_0x2a238e,_0x4f7e9a,_0x29c97c){return _0x2ef8d3(_0x335f46,_0x2a238e,_0x4f7e9a,_0x29c97c);},'JRZyM':function(_0x3416ec,_0x18ab60,_0x40e492,_0x5e4fac,_0x7e412c,_0x5bc4e1){return _0x3416ec(_0x18ab60,_0x40e492,_0x5e4fac,_0x7e412c,_0x5bc4e1);},'LZunH':_0xfb6031(0x16e),'suIoA':function(_0x19adb0,_0x308a70){return _0x19adb0(_0x308a70);},'kBqDA':function(_0x2b056a,_0x25ca53,_0x1b25ff){return _0x2b056a(_0x25ca53,_0x1b25ff);},'PnWOp':_0xfb6031(0x151)},_0x187210=[_0x3b8f21[_0xfb6031(0x164)](join,__dirname,'..','..',_0xfb6031(0x16e)),_0x3b8f21[_0xfb6031(0x15f)](join,__dirname,'..','..','..',_0x3b8f21[_0xfb6031(0x15a)])];for(const _0x17bacc of _0x187210){if(_0x3b8f21['suIoA'](existsSync,_0x17bacc))try{const _0xf8f5e1=JSON[_0xfb6031(0x162)](_0x3b8f21['kBqDA'](readFileSync,_0x17bacc,_0x3b8f21[_0xfb6031(0x14e)]));return _0xf8f5e1[_0xfb6031(0x14f)]||_0xfb6031(0x15c);}catch{continue;}}return'unknown';}function _0x5e8a(_0x21385f,_0x30ea03){_0x21385f=_0x21385f-0x14e;const _0x3281a8=_0x3281();let _0x5e8aac=_0x3281a8[_0x21385f];return _0x5e8aac;}function _0x3281(){const _0xfaaab8=['zcCTH','LZunH','8404632DxhrtN','unknown','25WlJoMO','YFmWo','JRZyM','mjCum','1566891xJMuEf','parse','936uWrKee','fmUhb','\x20versions\x20--json','2yMUezm','10IhigLs','497576OWtAYL','reduce','startsWith','filter','lKCLX','@ranger-testing/ranger-cli','package.json','map','amUuk','npm\x20view\x20','PnWOp','version','pipe','utf-8','DBdUz','message','26201RAPOmD','16247605DWLMWj','2267848qrNJqM','909284iQRaPT','length'];_0x3281=function(){return _0xfaaab8;};return _0x3281();}export function getLatestVersion(_0x20fbeb){const _0x1432c2=_0x499657,_0x41b21d={'zcCTH':function(_0x2cb6ec,_0x5f51d9){return _0x2cb6ec==_0x5f51d9;},'lKCLX':function(_0x59878b,_0x2554e3,_0x392bd4){return _0x59878b(_0x2554e3,_0x392bd4);},'mjCum':_0x1432c2(0x150),'BXouU':_0x1432c2(0x151),'YFmWo':function(_0x4616b5,_0x3bebf1){return _0x4616b5===_0x3bebf1;},'AgFav':function(_0x5e6361,_0x4a84ef){return _0x5e6361 instanceof _0x4a84ef;},'DBdUz':function(_0x2a0697,_0x10b9c6){return _0x2a0697(_0x10b9c6);}};try{if(_0x41b21d[_0x1432c2(0x159)](_0x20fbeb,null)){const _0x49cfe5=_0x41b21d[_0x1432c2(0x16c)](execSync,_0x1432c2(0x171)+PACKAGE_NAME+'\x20version',{'encoding':_0x1432c2(0x151),'timeout':0x2710,'stdio':['pipe',_0x41b21d['mjCum'],_0x41b21d[_0x1432c2(0x160)]]});return{'version':_0x49cfe5['trim']()};}const _0x428043=execSync(_0x1432c2(0x171)+PACKAGE_NAME+_0x1432c2(0x165),{'encoding':_0x41b21d['BXouU'],'timeout':0x2710,'stdio':[_0x1432c2(0x150),'pipe','pipe']}),_0x2721d6=JSON['parse'](_0x428043['trim']()),_0x287fed=_0x2721d6[_0x1432c2(0x16b)](_0x1ff509=>_0x1ff509[_0x1432c2(0x16a)](_0x20fbeb+'.')&&!_0x1ff509['includes']('-'));if(_0x41b21d[_0x1432c2(0x15e)](_0x287fed[_0x1432c2(0x158)],0x0))return{'error':'No\x20published\x20versions\x20found\x20for\x20major\x20'+_0x20fbeb};const _0x484da4=_0x287fed[_0x1432c2(0x169)]((_0x5d4e39,_0x402ce5)=>compareVersions(_0x5d4e39,_0x402ce5)===0x1?_0x402ce5:_0x5d4e39);return{'version':_0x484da4};}catch(_0x3373bd){const _0xd47ebe=_0x41b21d['AgFav'](_0x3373bd,Error)?_0x3373bd[_0x1432c2(0x153)]:_0x41b21d[_0x1432c2(0x152)](String,_0x3373bd);return{'error':_0xd47ebe};}}export function compareVersions(_0x1ff16a,_0x3293a6){const _0x47537d=_0x499657,_0x122166={'EwcCM':function(_0x260930,_0x118361){return _0x260930>_0x118361;},'amUuk':function(_0x5f00d6,_0x3d61c9){return _0x5f00d6<_0x3d61c9;}},_0x42f7fd=_0x1ff16a['split']('.')[_0x47537d(0x16f)](Number),_0x6953fa=_0x3293a6['split']('.')[_0x47537d(0x16f)](Number);for(let _0x4f9a6c=0x0;_0x4f9a6c<0x3;_0x4f9a6c++){const _0x2df91b=_0x42f7fd[_0x4f9a6c]||0x0,_0x20d107=_0x6953fa[_0x4f9a6c]||0x0;if(_0x122166['EwcCM'](_0x20d107,_0x2df91b))return 0x1;if(_0x122166[_0x47537d(0x170)](_0x20d107,_0x2df91b))return-0x1;}return 0x0;}
|