@ranger-testing/ranger-cli 2.5.4-alpha.a70fc60-4 → 2.5.4-alpha.a98f848-6
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/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/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/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/projectsConfig.js +1 -1
- package/build/commands/utils/rangerConfig.js +1 -1
- package/build/commands/utils/rangerRoot.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/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/skills/ranger/SKILL.md +17 -3
- package/build/skills/ranger/create.md +6 -0
- package/build/skills/ranger/verify.md +23 -3
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4efd(){const _0xf47b2a=['method','string','snapshot','filter','from','PymTo','TRzFl','point','6729525DlkbYg','apiName','NXKln','endTime','36OLeBim','before','event','2734wIcNtl','name','pageId','params','aimEH','inputSnapshot','1058504QLlHQK','endsWith','parse','vzrlP','100719OtijWc','6489528BOuGZn','1356zOYrUA','frameUrl','type','441qgjTNH','context-options','length','afterSnapshot','15148XmhiWE','values','get','goto','wallTime','beforeSnapshot','callId','after','url','5slLmuq','84710UflAex','getTime','krpKm','179PfPEqi','JGRaL','set','navigated','snapshotName'];_0x4efd=function(){return _0xf47b2a;};return _0x4efd();}(function(_0x3f2ce9,_0x3c4acd){const _0x46507d=_0x1a47,_0x1373bc=_0x3f2ce9();while(!![]){try{const _0x483347=-parseInt(_0x46507d(0x1eb))/0x1*(parseInt(_0x46507d(0x1ff))/0x2)+-parseInt(_0x46507d(0x1d5))/0x3+parseInt(_0x46507d(0x205))/0x4*(-parseInt(_0x46507d(0x1e7))/0x5)+parseInt(_0x46507d(0x1d7))/0x6*(-parseInt(_0x46507d(0x1de))/0x7)+-parseInt(_0x46507d(0x1d6))/0x8+parseInt(_0x46507d(0x1da))/0x9*(parseInt(_0x46507d(0x1e8))/0xa)+parseInt(_0x46507d(0x1f8))/0xb*(parseInt(_0x46507d(0x1fc))/0xc);if(_0x483347===_0x3c4acd)break;else _0x1373bc['push'](_0x1373bc['shift']());}catch(_0x2b5463){_0x1373bc['push'](_0x1373bc['shift']());}}}(_0x4efd,0x636d9));function _0x1a47(_0x1cb3c6,_0x2d095b){_0x1cb3c6=_0x1cb3c6-0x1d5;const _0x4efdc2=_0x4efd();let _0x1a477f=_0x4efdc2[_0x1cb3c6];return _0x1a477f;}import{readdir,readFile}from'fs/promises';import{join}from'path';export async function mapStepsToTraceSnapshots(_0x135205,_0x51e9b6){const _0xd81757=_0x1a47,_0x42fc0a={'vzrlP':function(_0x33359c,_0x481375,_0x2010c5){return _0x33359c(_0x481375,_0x2010c5);},'dbPWv':'utf-8','sjLRb':function(_0x419d44,_0x4c950f){return _0x419d44===_0x4c950f;},'PymTo':_0xd81757(0x1e5),'TRzFl':function(_0x37a1d1,_0x1b13f){return _0x37a1d1===_0x1b13f;},'JGRaL':function(_0x5cd5e7,_0x64db72){return _0x5cd5e7===_0x64db72;},'krpKm':_0xd81757(0x1ee),'aimEH':_0xd81757(0x1f1),'xcJRD':function(_0x11c18a,_0x412337){return _0x11c18a-_0x412337;},'NXKln':function(_0x13e08f,_0x3f33ce){return _0x13e08f-_0x3f33ce;},'KzJvl':function(_0x1d6a7e,_0x17ae34){return _0x1d6a7e<_0x17ae34;},'InDnI':_0xd81757(0x1e1),'zkVWR':function(_0x3b72d3,_0x110da5){return _0x3b72d3===_0x110da5;},'Pgrot':function(_0x4d1472,_0x2d4c9a){return _0x4d1472>=_0x2d4c9a;},'bAisZ':function(_0x177a49,_0x564875){return _0x177a49+_0x564875;}},_0x189528=new Map();if(_0x51e9b6['length']===0x0)return _0x189528;const _0x46f8d7=[],_0x1fee20=async _0x11d619=>{const _0x2ba1de=_0xd81757,_0x533d7a=await readdir(_0x11d619,{'withFileTypes':!![]});for(const _0x3b3bbb of _0x533d7a){const _0xeb1a2a=_0x42fc0a[_0x2ba1de(0x208)](join,_0x11d619,_0x3b3bbb[_0x2ba1de(0x200)]);if(_0x3b3bbb['isDirectory']())await _0x1fee20(_0xeb1a2a);else _0x3b3bbb[_0x2ba1de(0x200)][_0x2ba1de(0x206)]('.trace')&&_0x46f8d7['push'](_0xeb1a2a);}};await _0x1fee20(_0x135205);if(_0x46f8d7['length']===0x0)return _0x189528;const _0x561554=[];for(const _0x4875f3 of _0x46f8d7){const _0x27b339=await readFile(_0x4875f3,_0x42fc0a['dbPWv']),_0x137cde=_0x27b339['split']('\x0a')[_0xd81757(0x1f3)](_0x53c8e3=>_0x53c8e3['trim']());for(const _0x47296b of _0x137cde){try{_0x561554['push'](JSON[_0xd81757(0x207)](_0x47296b));}catch{}}}if(_0x42fc0a['sjLRb'](_0x561554['length'],0x0))return _0x189528;const _0x5d8862=_0x561554['find'](_0x3c4f66=>_0x3c4f66[_0xd81757(0x1d9)]===_0xd81757(0x1db));if(!_0x5d8862)return _0x189528;const _0xc96fe5=_0x5d8862[_0xd81757(0x1e2)]-_0x5d8862['monotonicTime'],_0x2f5208=new Map();for(const _0x464c88 of _0x561554){switch(_0x464c88['type']){case _0xd81757(0x1fd):{const _0x25d2c9=_0x464c88;_0x2f5208['set'](_0x25d2c9[_0xd81757(0x1e4)],{'callId':_0x25d2c9['callId'],'startTime':_0x25d2c9['startTime'],'endTime':0x0,'method':_0x25d2c9['method'],'apiName':_0x25d2c9[_0xd81757(0x1f9)],'params':_0x25d2c9['params'],'pageId':_0x25d2c9['pageId'],'beforeSnapshot':_0x25d2c9[_0xd81757(0x1e3)]});break;}case'input':{const _0xf49492=_0x464c88,_0x585baa=_0x2f5208[_0xd81757(0x1e0)](_0xf49492['callId']);if(_0x585baa){if(_0xf49492[_0xd81757(0x204)])_0x585baa['inputSnapshot']=_0xf49492[_0xd81757(0x204)];if(_0xf49492[_0xd81757(0x1f7)])_0x585baa[_0xd81757(0x1f7)]=_0xf49492['point'];}break;}case _0x42fc0a[_0xd81757(0x1f5)]:{const _0x1767f4=_0x464c88,_0x43359d=_0x2f5208['get'](_0x1767f4['callId']);if(_0x43359d){_0x43359d['endTime']=_0x1767f4[_0xd81757(0x1fb)];if(_0x1767f4['afterSnapshot'])_0x43359d[_0xd81757(0x1dd)]=_0x1767f4['afterSnapshot'];}break;}}}const _0x5b2387=Array[_0xd81757(0x1f4)](_0x2f5208[_0xd81757(0x1df)]())[_0xd81757(0x1f3)](_0x231aa3=>_0x231aa3['endTime']>0x0&&(_0x231aa3[_0xd81757(0x1dd)]||_0x231aa3[_0xd81757(0x1e3)]))['sort']((_0x3e6a10,_0x30ce0f)=>_0x3e6a10['startTime']-_0x30ce0f['startTime']);if(_0x42fc0a['sjLRb'](_0x5b2387[_0xd81757(0x1dc)],0x0))return _0x189528;const _0x3b89e0=new Map();for(const _0x23909e of _0x561554){if(_0x42fc0a[_0xd81757(0x1f6)](_0x23909e[_0xd81757(0x1d9)],'frame-snapshot')){const _0x838be9=_0x23909e[_0xd81757(0x1f2)];_0x838be9?.[_0xd81757(0x1ef)]&&_0x838be9?.[_0xd81757(0x1d8)]&&_0x3b89e0[_0xd81757(0x1ed)](_0x838be9[_0xd81757(0x1ef)],_0x838be9[_0xd81757(0x1d8)]);}}const _0x536278=new Map();for(const _0x34aa55 of _0x5b2387){const _0x53766c=_0x34aa55['params']?.[_0xd81757(0x1e6)];_0x42fc0a[_0xd81757(0x1ec)](_0x34aa55[_0xd81757(0x1f0)],'goto')&&typeof _0x53766c==='string'&&_0x34aa55[_0xd81757(0x201)]&&_0x536278['set'](_0x34aa55['pageId'],_0x53766c);}for(const _0x3bf05c of _0x561554){const _0x15465f=_0x3bf05c,_0x291f42=_0x15465f['params'],_0x558740=_0x291f42?.['url'];_0x42fc0a['TRzFl'](_0x15465f['type'],_0xd81757(0x1fe))&&_0x15465f[_0xd81757(0x1f0)]===_0x42fc0a[_0xd81757(0x1ea)]&&_0x42fc0a['JGRaL'](typeof _0x558740,_0x42fc0a['aimEH'])&&typeof _0x15465f['pageId']===_0x42fc0a[_0xd81757(0x203)]&&_0x536278['set'](_0x15465f['pageId'],_0x558740);}for(const _0x181048 of _0x51e9b6){const _0x4b739c=new Date(_0x181048['capturedAt'])[_0xd81757(0x1e9)](),_0x1c8ae9=_0x42fc0a['xcJRD'](_0x4b739c,_0xc96fe5);let _0xa82a9d=null,_0x7f28ec=Infinity;for(const _0x1dc726 of _0x5b2387){const _0x3198cc=Math['abs'](_0x42fc0a['NXKln'](_0x1dc726['endTime'],_0x1c8ae9));_0x42fc0a['KzJvl'](_0x3198cc,_0x7f28ec)&&(_0x7f28ec=_0x3198cc,_0xa82a9d=_0x1dc726);}if(!_0xa82a9d)continue;const _0x5127d9=_0xa82a9d[_0xd81757(0x1dd)]||_0xa82a9d[_0xd81757(0x1e3)];if(!_0x5127d9)continue;const _0x517106=_0xa82a9d['pageId']||'page@0';let _0x5ac086=_0x3b89e0['get'](_0x5127d9)||_0x536278['get'](_0x517106)||'';if(!_0x5ac086)for(let _0x2a49f7=_0x5b2387['indexOf'](_0xa82a9d);_0x2a49f7>=0x0;_0x2a49f7--){const _0x3464d4=_0x5b2387[_0x2a49f7][_0xd81757(0x202)]?.['url'];if(_0x5b2387[_0x2a49f7][_0xd81757(0x1f0)]===_0x42fc0a['InDnI']&&_0x42fc0a['zkVWR'](typeof _0x3464d4,_0x42fc0a['aimEH'])){_0x5ac086=_0x3464d4;break;}}let _0x1e9975,_0x29e1fe;const _0x49a723=_0x5b2387['indexOf'](_0xa82a9d);if(_0x42fc0a['Pgrot'](_0x49a723,0x0)&&_0x49a723<_0x42fc0a[_0xd81757(0x1fa)](_0x5b2387[_0xd81757(0x1dc)],0x1)){const _0x4e46cf=_0x5b2387[_0x42fc0a['bAisZ'](_0x49a723,0x1)];_0x4e46cf[_0xd81757(0x1f7)]&&_0x4e46cf['inputSnapshot']&&(_0x1e9975=_0x4e46cf['point'],_0x29e1fe=_0x4e46cf['inputSnapshot']);}_0x189528['set'](_0x181048['stepId'],{'snapshotName':_0x5127d9,'inputSnapshotName':_0x29e1fe,'pageId':_0x517106,'pageUrl':_0x5ac086,'callId':_0xa82a9d['callId'],'point':_0x1e9975});}return _0x189528;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x27a3(_0x548457,_0x2b7ded){_0x548457=_0x548457-0x1a3;const _0x19ee18=_0x19ee();let _0x27a3aa=_0x19ee18[_0x548457];return _0x27a3aa;}(function(_0x394f40,_0x4f1714){const _0x3949d8=_0x27a3,_0x1b220e=_0x394f40();while(!![]){try{const _0x6f3ed7=-parseInt(_0x3949d8(0x1a9))/0x1+parseInt(_0x3949d8(0x1a4))/0x2*(parseInt(_0x3949d8(0x1b0))/0x3)+parseInt(_0x3949d8(0x1a8))/0x4*(-parseInt(_0x3949d8(0x1ac))/0x5)+-parseInt(_0x3949d8(0x1ab))/0x6+-parseInt(_0x3949d8(0x1af))/0x7+-parseInt(_0x3949d8(0x1ad))/0x8+-parseInt(_0x3949d8(0x1ae))/0x9*(-parseInt(_0x3949d8(0x1aa))/0xa);if(_0x6f3ed7===_0x4f1714)break;else _0x1b220e['push'](_0x1b220e['shift']());}catch(_0x8d61b0){_0x1b220e['push'](_0x1b220e['shift']());}}}(_0x19ee,0x851c7));import{getApiBaseUrl}from'./environment.js';export async function getCurrentUser(_0x35de0c){const _0x5a4159=_0x27a3,_0x488310={'nrPJV':function(_0x9b14ae){return _0x9b14ae();},'nJteg':function(_0x9151a4,_0x2c2598,_0x4530ca){return _0x9151a4(_0x2c2598,_0x4530ca);},'aumkN':function(_0x30b80f,_0x3a2210){return _0x30b80f instanceof _0x3a2210;},'ARhlN':function(_0x5a8373,_0x15b9b6){return _0x5a8373(_0x15b9b6);}},_0x3b97d3=_0x488310['nrPJV'](getApiBaseUrl);try{const _0x18d68f=await _0x488310['nJteg'](fetch,_0x3b97d3+_0x5a4159(0x1a3),{'method':'GET','headers':{'Authorization':_0x5a4159(0x1a6)+_0x35de0c}});if(!_0x18d68f['ok'])return{'success':![],'error':_0x18d68f['status']+'\x20'+_0x18d68f['statusText'],'status':_0x18d68f[_0x5a4159(0x1a7)]};const _0x37e41e=await _0x18d68f['json']();return{'success':!![],'user':_0x37e41e};}catch(_0x5ce74b){return{'success':![],'error':_0x488310['aumkN'](_0x5ce74b,Error)?_0x5ce74b[_0x5a4159(0x1a5)]:_0x488310['ARhlN'](String,_0x5ce74b)};}}function _0x19ee(){const _0x4f4aa4=['695280qfpAAB','4571178cptaEW','35225RAoKrI','4035304MQsrCT','306jvpMMZ','221704vsbeDJ','210fgXmle','/api/v1/mcp/me','4650qrdFjH','message','Bearer\x20','status','244jpsOTQ','253786qRLtEd'];_0x19ee=function(){return _0x4f4aa4;};return _0x19ee();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x4d8212=_0x2ec6;(function(_0x3ea487,_0x1610f8){const _0x7b9d04=_0x2ec6,_0x269bb8=_0x3ea487();while(!![]){try{const _0x23ae90=-parseInt(_0x7b9d04(0x87))/0x1*(-parseInt(_0x7b9d04(0x79))/0x2)+parseInt(_0x7b9d04(0x77))/0x3+-parseInt(_0x7b9d04(0x82))/0x4+parseInt(_0x7b9d04(0x7c))/0x5*(parseInt(_0x7b9d04(0x84))/0x6)+-parseInt(_0x7b9d04(0x7b))/0x7*(-parseInt(_0x7b9d04(0x7a))/0x8)+-parseInt(_0x7b9d04(0x7e))/0x9*(parseInt(_0x7b9d04(0x78))/0xa)+parseInt(_0x7b9d04(0x88))/0xb;if(_0x23ae90===_0x1610f8)break;else _0x269bb8['push'](_0x269bb8['shift']());}catch(_0x1b4d85){_0x269bb8['push'](_0x269bb8['shift']());}}}(_0x1eee,0x99399));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=_0x4d8212(0x85);function _0x2ec6(_0xa0fdcd,_0x578817){_0xa0fdcd=_0xa0fdcd-0x76;const _0x1eee17=_0x1eee();let _0x2ec674=_0x1eee17[_0xa0fdcd];return _0x2ec674;}export function getCurrentVersion(){const _0x3d4b5a=_0x4d8212,_0x5d8da8={'cQSMz':_0x3d4b5a(0x83),'JWlOk':function(_0x5976e6,_0x1bc242,_0x3b49d7,_0xfa195f,_0x45b638,_0x2d9706){return _0x5976e6(_0x1bc242,_0x3b49d7,_0xfa195f,_0x45b638,_0x2d9706);},'emGyo':function(_0x327895,_0x5b818e,_0x2429bb){return _0x327895(_0x5b818e,_0x2429bb);},'dXaQP':'utf-8','FZizJ':'unknown'},_0x215b11=[join(__dirname,'..','..',_0x5d8da8['cQSMz']),_0x5d8da8['JWlOk'](join,__dirname,'..','..','..',_0x5d8da8[_0x3d4b5a(0x89)])];for(const _0x4a642d of _0x215b11){if(existsSync(_0x4a642d))try{const _0x28cd6a=JSON['parse'](_0x5d8da8[_0x3d4b5a(0x76)](readFileSync,_0x4a642d,_0x5d8da8['dXaQP']));return _0x28cd6a['version']||_0x5d8da8[_0x3d4b5a(0x86)];}catch{continue;}}return _0x5d8da8['FZizJ'];}export function getLatestVersion(){const _0x5d722b=_0x4d8212,_0x5020c3={'mbKyO':function(_0x57c97b,_0x9efdb3){return _0x57c97b instanceof _0x9efdb3;}};try{const _0x438ab9=execSync('npm\x20view\x20'+PACKAGE_NAME+'\x20version',{'encoding':'utf-8','timeout':0x2710,'stdio':[_0x5d722b(0x7f),'pipe','pipe']});return{'version':_0x438ab9[_0x5d722b(0x81)]()};}catch(_0x1d3461){const _0x419de5=_0x5020c3['mbKyO'](_0x1d3461,Error)?_0x1d3461['message']:String(_0x1d3461);return{'error':_0x419de5};}}export function compareVersions(_0x5c912a,_0xb28d8b){const _0x26a0f2=_0x4d8212,_0x12bac3={'FHyRb':function(_0x41b396,_0x3c092d){return _0x41b396<_0x3c092d;},'NrbOt':function(_0x30fa64,_0x1a7f47){return _0x30fa64>_0x1a7f47;}},_0x5bf785=_0x5c912a[_0x26a0f2(0x80)]('.')['map'](Number),_0x398aea=_0xb28d8b[_0x26a0f2(0x80)]('.')['map'](Number);for(let _0x2cafdf=0x0;_0x12bac3['FHyRb'](_0x2cafdf,0x3);_0x2cafdf++){const _0x2747d5=_0x5bf785[_0x2cafdf]||0x0,_0x1aba8b=_0x398aea[_0x2cafdf]||0x0;if(_0x12bac3[_0x26a0f2(0x7d)](_0x1aba8b,_0x2747d5))return 0x1;if(_0x1aba8b<_0x2747d5)return-0x1;}return 0x0;}function _0x1eee(){const _0x474438=['656199spljKY','pipe','split','trim','2784364YxpVYm','package.json','414VAMUQQ','@ranger-testing/ranger-cli','FZizJ','1uGyWoM','6552326kXTQqi','cQSMz','emGyo','1258629ptbEXq','170gAdNfi','52426FDIpKS','39552upobJK','693XOuJxb','74805MtnCem','NrbOt'];_0x1eee=function(){return _0x474438;};return _0x1eee();}
|