@ranger-testing/ranger-cli 2.5.4-alpha.071b7bd-1 → 2.5.4-alpha.0e8b82c-9

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 (80) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/env.js +1 -1
  7. package/build/commands/feature.js +1 -1
  8. package/build/commands/hook.js +1 -1
  9. package/build/commands/hooks/autoPrompt.js +1 -1
  10. package/build/commands/hooks/disable.js +1 -1
  11. package/build/commands/hooks/enable.js +1 -1
  12. package/build/commands/hooks/exitPlanMode.js +1 -1
  13. package/build/commands/hooks/index.js +1 -1
  14. package/build/commands/hooks/output.js +1 -1
  15. package/build/commands/hooks/planReminder.js +1 -1
  16. package/build/commands/hooks/planStart.js +1 -1
  17. package/build/commands/hooks/postEdit.js +1 -1
  18. package/build/commands/hooks/preCompact.js +1 -1
  19. package/build/commands/hooks/sessionEnd.js +1 -1
  20. package/build/commands/hooks/sessionStart.js +1 -1
  21. package/build/commands/hooks/stopHook.js +1 -1
  22. package/build/commands/index.js +1 -1
  23. package/build/commands/login.js +1 -1
  24. package/build/commands/mcpBootstrap.js +1 -1
  25. package/build/commands/migrateProfile.js +1 -0
  26. package/build/commands/setup/claude.js +1 -1
  27. package/build/commands/setup/opencode.js +1 -1
  28. package/build/commands/setupCi.js +1 -1
  29. package/build/commands/skillup.js +1 -1
  30. package/build/commands/start.js +1 -1
  31. package/build/commands/status.js +1 -1
  32. package/build/commands/update.js +1 -1
  33. package/build/commands/updateEnv.js +1 -1
  34. package/build/commands/useEnv.js +1 -1
  35. package/build/commands/utils/activeProfile.js +1 -1
  36. package/build/commands/utils/agentEnv.js +1 -1
  37. package/build/commands/utils/browserSessionsApi.js +1 -1
  38. package/build/commands/utils/claudeConfig.js +1 -1
  39. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  40. package/build/commands/utils/claudePlugin.js +1 -1
  41. package/build/commands/utils/cloudProfile.js +1 -0
  42. package/build/commands/utils/cloudProfileSession.js +1 -0
  43. package/build/commands/utils/crypto.js +1 -1
  44. package/build/commands/utils/desirePathLog.js +1 -1
  45. package/build/commands/utils/deviceAuth.js +1 -1
  46. package/build/commands/utils/environment.js +1 -1
  47. package/build/commands/utils/featureApi.js +1 -1
  48. package/build/commands/utils/fixWebmDuration.js +1 -1
  49. package/build/commands/utils/gitTracked.js +1 -0
  50. package/build/commands/utils/keychain.js +1 -1
  51. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  52. package/build/commands/utils/matchAuthEnvironment.js +1 -0
  53. package/build/commands/utils/mcpImageBase64.js +1 -1
  54. package/build/commands/utils/model.js +1 -1
  55. package/build/commands/utils/opencodeConfig.js +1 -1
  56. package/build/commands/utils/playwrightCli.js +1 -1
  57. package/build/commands/utils/profileMessages.js +1 -1
  58. package/build/commands/utils/profileSetupBanner.js +1 -1
  59. package/build/commands/utils/projectsConfig.js +1 -0
  60. package/build/commands/utils/rangerConfig.js +1 -1
  61. package/build/commands/utils/rangerRoot.js +1 -1
  62. package/build/commands/utils/resolveProfileContext.js +1 -0
  63. package/build/commands/utils/resolveProfileUrl.js +1 -0
  64. package/build/commands/utils/retry.js +1 -1
  65. package/build/commands/utils/sessionCache.js +1 -1
  66. package/build/commands/utils/settings.js +1 -1
  67. package/build/commands/utils/skillContent.js +1 -1
  68. package/build/commands/utils/skills.js +1 -1
  69. package/build/commands/utils/stitchWebmFiles.js +1 -1
  70. package/build/commands/utils/telemetry.js +1 -1
  71. package/build/commands/utils/tokenRefresh.js +1 -1
  72. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  73. package/build/commands/utils/userApi.js +1 -1
  74. package/build/commands/utils/version.js +1 -1
  75. package/build/commands/verifyFeature.js +1 -1
  76. package/build/commands/verifyFeatureCli.js +1 -1
  77. package/build/skills/ranger/SKILL.md +18 -4
  78. package/build/skills/ranger/create.md +6 -0
  79. package/build/skills/ranger/verify.md +17 -3
  80. package/package.json +6 -2
@@ -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(_0x1eecc6,_0x532878){const _0x3e367a=_0x445e,_0x13360a=_0x1eecc6();while(!![]){try{const _0x41ce1a=parseInt(_0x3e367a(0x18c))/0x1*(-parseInt(_0x3e367a(0x181))/0x2)+-parseInt(_0x3e367a(0x187))/0x3+-parseInt(_0x3e367a(0x190))/0x4*(-parseInt(_0x3e367a(0x184))/0x5)+-parseInt(_0x3e367a(0x18b))/0x6+parseInt(_0x3e367a(0x189))/0x7+-parseInt(_0x3e367a(0x183))/0x8*(parseInt(_0x3e367a(0x182))/0x9)+parseInt(_0x3e367a(0x185))/0xa;if(_0x41ce1a===_0x532878)break;else _0x13360a['push'](_0x13360a['shift']());}catch(_0x15131f){_0x13360a['push'](_0x13360a['shift']());}}}(_0x29e4,0xe0ea6));function _0x445e(_0xcae06e,_0x1b5eeb){_0xcae06e=_0xcae06e-0x181;const _0x29e41c=_0x29e4();let _0x445e8d=_0x29e41c[_0xcae06e];return _0x445e8d;}function _0x29e4(){const _0x3bd54d=['23814380LFwtom','PokqR','5420445wvNlUz','GET','3767295eIAukG','sBpAe','5282856fWwCUa','41521VbwYkO','status','json','message','1417484oMPbQJ','44lIqHRc','1525239XdQwOh','8FbniOn','25duacBp'];_0x29e4=function(){return _0x3bd54d;};return _0x29e4();}import{getApiBaseUrl}from'./environment.js';export async function getCurrentUser(_0x5289d0){const _0x43c7b8=_0x445e,_0x30c7c5={'pEisD':function(_0x11b20b){return _0x11b20b();},'dRVWd':_0x43c7b8(0x188),'sBpAe':function(_0x441aec,_0x47ed25){return _0x441aec instanceof _0x47ed25;},'PokqR':function(_0x3f6424,_0x5f2beb){return _0x3f6424(_0x5f2beb);}},_0xd1ad5e=_0x30c7c5['pEisD'](getApiBaseUrl);try{const _0x4f92b0=await fetch(_0xd1ad5e+'/api/v1/mcp/me',{'method':_0x30c7c5['dRVWd'],'headers':{'Authorization':'Bearer\x20'+_0x5289d0}});if(!_0x4f92b0['ok'])return{'success':![],'error':_0x4f92b0[_0x43c7b8(0x18d)]+'\x20'+_0x4f92b0['statusText'],'status':_0x4f92b0['status']};const _0x240b53=await _0x4f92b0[_0x43c7b8(0x18e)]();return{'success':!![],'user':_0x240b53};}catch(_0x31d19e){return{'success':![],'error':_0x30c7c5[_0x43c7b8(0x18a)](_0x31d19e,Error)?_0x31d19e[_0x43c7b8(0x18f)]:_0x30c7c5[_0x43c7b8(0x186)](String,_0x31d19e)};}}
@@ -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(_0x1f973c,_0x5242af){const _0x4c76f6=_0x36d8,_0x27111e=_0x1f973c();while(!![]){try{const _0x28649c=-parseInt(_0x4c76f6(0x1b3))/0x1*(parseInt(_0x4c76f6(0x1b1))/0x2)+parseInt(_0x4c76f6(0x1b8))/0x3+parseInt(_0x4c76f6(0x1b5))/0x4*(-parseInt(_0x4c76f6(0x1b7))/0x5)+parseInt(_0x4c76f6(0x1b9))/0x6+parseInt(_0x4c76f6(0x1b6))/0x7+-parseInt(_0x4c76f6(0x1bf))/0x8+parseInt(_0x4c76f6(0x1c1))/0x9;if(_0x28649c===_0x5242af)break;else _0x27111e['push'](_0x27111e['shift']());}catch(_0x4ab761){_0x27111e['push'](_0x27111e['shift']());}}}(_0x31a7,0x991cd));import{readFileSync}from'fs';import{existsSync}from'fs';import{execSync}from'child_process';function _0x36d8(_0x4e6b50,_0x586b67){_0x4e6b50=_0x4e6b50-0x1ad;const _0x31a7d3=_0x31a7();let _0x36d824=_0x31a7d3[_0x4e6b50];return _0x36d824;}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 _0x2f427b=_0x36d8,_0x3cec33={'uoYwv':function(_0x1e1948,_0x106b06,_0x299501,_0x2fbd5d,_0x40e4b5){return _0x1e1948(_0x106b06,_0x299501,_0x2fbd5d,_0x40e4b5);},'cadBF':function(_0x555279,_0x549893){return _0x555279(_0x549893);},'NjHlC':'unknown'},_0x4c13d5=[_0x3cec33[_0x2f427b(0x1c2)](join,__dirname,'..','..',_0x2f427b(0x1b4)),join(__dirname,'..','..','..',_0x2f427b(0x1b4))];for(const _0x4508b4 of _0x4c13d5){if(_0x3cec33['cadBF'](existsSync,_0x4508b4))try{const _0x50accc=JSON[_0x2f427b(0x1bc)](readFileSync(_0x4508b4,_0x2f427b(0x1bb)));return _0x50accc[_0x2f427b(0x1b2)]||_0x3cec33['NjHlC'];}catch{continue;}}return _0x3cec33[_0x2f427b(0x1bd)];}function _0x31a7(){const _0x2bf396=['WPesS','split','map','376ochHzB','version','2740NZDklY','package.json','43388DnUKOu','3001418vPUAcd','205ulUaos','1528407EijFsh','3004320onbhOJ','pipe','utf-8','parse','NjHlC','JfDtQ','1368208CnCyVY','message','2871531zdFDxD','uoYwv','npm\x20view\x20'];_0x31a7=function(){return _0x2bf396;};return _0x31a7();}export function getLatestVersion(){const _0xf279c=_0x36d8,_0x563505={'JfDtQ':_0xf279c(0x1bb),'WPesS':_0xf279c(0x1ba)};try{const _0x43c098=execSync(_0xf279c(0x1ad)+PACKAGE_NAME+'\x20version',{'encoding':_0x563505[_0xf279c(0x1be)],'timeout':0x2710,'stdio':[_0x563505[_0xf279c(0x1ae)],_0x563505['WPesS'],'pipe']});return{'version':_0x43c098['trim']()};}catch(_0x56fd9f){const _0x4f0811=_0x56fd9f instanceof Error?_0x56fd9f[_0xf279c(0x1c0)]:String(_0x56fd9f);return{'error':_0x4f0811};}}export function compareVersions(_0x2e3386,_0x58566a){const _0xbc4fb1=_0x36d8,_0x2c9bdf={'Rwfhj':function(_0x169bc5,_0x267c1d){return _0x169bc5<_0x267c1d;}},_0x4e762a=_0x2e3386[_0xbc4fb1(0x1af)]('.')[_0xbc4fb1(0x1b0)](Number),_0x5db4f2=_0x58566a[_0xbc4fb1(0x1af)]('.')[_0xbc4fb1(0x1b0)](Number);for(let _0x33d8a0=0x0;_0x2c9bdf['Rwfhj'](_0x33d8a0,0x3);_0x33d8a0++){const _0x384427=_0x4e762a[_0x33d8a0]||0x0,_0xb2b787=_0x5db4f2[_0x33d8a0]||0x0;if(_0xb2b787>_0x384427)return 0x1;if(_0xb2b787<_0x384427)return-0x1;}return 0x0;}