@ranger-testing/ranger-cli 3.1.7-alpha.a5be4ca-60 → 3.1.7-alpha.d64f22a-65

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 (88) 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/deleteProfile.js +1 -1
  7. package/build/commands/env.js +1 -1
  8. package/build/commands/feature.js +1 -1
  9. package/build/commands/hook.js +1 -1
  10. package/build/commands/hooks/autoPrompt.js +1 -1
  11. package/build/commands/hooks/disable.js +1 -1
  12. package/build/commands/hooks/enable.js +1 -1
  13. package/build/commands/hooks/exitPlanMode.js +1 -1
  14. package/build/commands/hooks/index.js +1 -1
  15. package/build/commands/hooks/output.js +1 -1
  16. package/build/commands/hooks/planReminder.js +1 -1
  17. package/build/commands/hooks/planStart.js +1 -1
  18. package/build/commands/hooks/postEdit.js +1 -1
  19. package/build/commands/hooks/preCompact.js +1 -1
  20. package/build/commands/hooks/sessionEnd.js +1 -1
  21. package/build/commands/hooks/sessionStart.js +1 -1
  22. package/build/commands/hooks/stopHook.js +1 -1
  23. package/build/commands/index.js +1 -1
  24. package/build/commands/login.js +1 -1
  25. package/build/commands/mcpBootstrap.js +1 -1
  26. package/build/commands/migrateProfile.js +1 -1
  27. package/build/commands/setup/claude.js +1 -1
  28. package/build/commands/setup/opencode.js +1 -1
  29. package/build/commands/setupCi.js +1 -1
  30. package/build/commands/skillup.js +1 -1
  31. package/build/commands/start.js +1 -1
  32. package/build/commands/status.js +1 -1
  33. package/build/commands/update.js +1 -1
  34. package/build/commands/updateEnv.js +1 -1
  35. package/build/commands/useEnv.js +1 -1
  36. package/build/commands/utils/activeProfile.js +1 -1
  37. package/build/commands/utils/actors.js +1 -0
  38. package/build/commands/utils/agentEnv.js +1 -1
  39. package/build/commands/utils/browserSessionsApi.js +1 -1
  40. package/build/commands/utils/claudeConfig.js +1 -1
  41. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  42. package/build/commands/utils/claudePlugin.js +1 -1
  43. package/build/commands/utils/cloudProfile.js +1 -1
  44. package/build/commands/utils/cloudProfileSession.js +1 -1
  45. package/build/commands/utils/crypto.js +1 -1
  46. package/build/commands/utils/desirePathLog.js +1 -1
  47. package/build/commands/utils/deviceAuth.js +1 -1
  48. package/build/commands/utils/environment.js +1 -1
  49. package/build/commands/utils/featureApi.js +1 -1
  50. package/build/commands/utils/fixWebmDuration.js +1 -1
  51. package/build/commands/utils/gitTracked.js +1 -1
  52. package/build/commands/utils/keychain.js +1 -1
  53. package/build/commands/utils/legacyWarning.js +1 -1
  54. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  55. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  56. package/build/commands/utils/mcpImageBase64.js +1 -1
  57. package/build/commands/utils/model.js +1 -1
  58. package/build/commands/utils/novaActCli.js +1 -1
  59. package/build/commands/utils/opencodeConfig.js +1 -1
  60. package/build/commands/utils/organizationEnvApi.js +1 -1
  61. package/build/commands/utils/playwrightCli.js +1 -1
  62. package/build/commands/utils/profileMessages.js +1 -1
  63. package/build/commands/utils/profileSetupBanner.js +1 -1
  64. package/build/commands/utils/projectsConfig.js +1 -1
  65. package/build/commands/utils/rangerConfig.js +1 -1
  66. package/build/commands/utils/rangerRoot.js +1 -1
  67. package/build/commands/utils/rangerwrightCli.js +1 -1
  68. package/build/commands/utils/resolveProfileContext.js +1 -1
  69. package/build/commands/utils/resolveProfileUrl.js +1 -1
  70. package/build/commands/utils/retry.js +1 -1
  71. package/build/commands/utils/scenarioOriginCheck.js +1 -1
  72. package/build/commands/utils/sessionCache.js +1 -1
  73. package/build/commands/utils/settings.js +1 -1
  74. package/build/commands/utils/skillContent.js +1 -1
  75. package/build/commands/utils/skills.js +1 -1
  76. package/build/commands/utils/stitchWebmFiles.js +1 -1
  77. package/build/commands/utils/telemetry.js +1 -1
  78. package/build/commands/utils/tokenRefresh.js +1 -1
  79. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  80. package/build/commands/utils/tunnelClient.js +1 -1
  81. package/build/commands/utils/userApi.js +1 -1
  82. package/build/commands/utils/version.js +1 -1
  83. package/build/commands/verifyFeature.js +1 -1
  84. package/build/commands/verifyFeatureCli.js +1 -1
  85. package/build/commands/verifyFeatureNovaCli.js +1 -1
  86. package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
  87. package/build/skills/ranger/SKILL.md +8 -0
  88. package/package.json +1 -1
package/build/cli.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const _0x171629=_0x4d9f;(function(_0x1dd0ca,_0x5d3203){const _0x75a326=_0x4d9f,_0x40413d=_0x1dd0ca();while(!![]){try{const _0x418ecc=-parseInt(_0x75a326(0x1a7))/0x1+-parseInt(_0x75a326(0x1f2))/0x2+parseInt(_0x75a326(0x2b9))/0x3+-parseInt(_0x75a326(0x2ca))/0x4*(parseInt(_0x75a326(0x2f7))/0x5)+-parseInt(_0x75a326(0x1b4))/0x6+-parseInt(_0x75a326(0x2f5))/0x7*(parseInt(_0x75a326(0x16d))/0x8)+parseInt(_0x75a326(0x1f3))/0x9;if(_0x418ecc===_0x5d3203)break;else _0x40413d['push'](_0x40413d['shift']());}catch(_0x4e074e){_0x40413d['push'](_0x40413d['shift']());}}}(_0x561d,0x49f96));import _0x164337 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x5100ed=_0x4d9f,_0x34cb1f={'gLqsS':function(_0x13358d,_0x3c891b){return _0x13358d(_0x3c891b);},'QxvtB':function(_0x460a21,_0x40887f){return _0x460a21!==_0x40887f;},'xIqsw':'.ranger'};let _0x50e3e6=process[_0x5100ed(0x2a5)]();const _0x5314e7=_0x34cb1f[_0x5100ed(0x185)](parse,_0x50e3e6)['root'];while(_0x34cb1f['QxvtB'](_0x50e3e6,_0x5314e7)){if(existsSync(join(_0x50e3e6,_0x34cb1f[_0x5100ed(0x2bd)]))||existsSync(join(_0x50e3e6,'.env')))return _0x50e3e6;_0x50e3e6=dirname(_0x50e3e6);}return process['cwd']();}_0x164337[_0x171629(0x311)]({'path':join(findProjectRoot(),_0x171629(0x161))});import _0x194ba3 from'yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';function _0x4d9f(_0x198f93,_0x35e765){_0x198f93=_0x198f93-0x157;const _0x561d6d=_0x561d();let _0x4d9fc4=_0x561d6d[_0x198f93];return _0x4d9fc4;}import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0xd6c1da=>{const _0x65a388={'eTePh':function(_0x5f5aa1){return _0x5f5aa1();}},_0x59bc35=_0x65a388['eTePh'](getCurrentCollector);_0x59bc35&&await _0x59bc35['trackCommandError'](_0xd6c1da),process['exitCode']=0x1;});const rawArgs=process['argv']['slice'](0x2),TOP_LEVEL_HELP=_0x171629(0x18e),PROFILE_HELP=_0x171629(0x1f4),PROFILE_CONFIG_HELP=_0x171629(0x201);function warnRenamed(_0x4f26f9,_0x49bc5a){const _0x46ec1d=_0x171629;console[_0x46ec1d(0x210)]('\x0a'+_0x4f26f9+'\x20is\x20now\x20'+_0x49bc5a+'\x0a');}function argUsed(_0x402d63){return rawArgs['some'](_0x220a8d=>_0x220a8d===_0x402d63||_0x220a8d['startsWith'](_0x402d63+'='));}function warnFlagRenamed(_0x1a5f21,_0x18e512,_0x37a9b0){const _0x1cfa31=_0x171629,_0x115efa={'AwvMX':function(_0x4e5f6c,_0x90b174){return _0x4e5f6c(_0x90b174);},'satrs':function(_0x1eacca,_0x217279,_0x5911e2){return _0x1eacca(_0x217279,_0x5911e2);}};_0x115efa[_0x1cfa31(0x2c0)](argUsed,_0x18e512)&&_0x115efa['satrs'](warnRenamed,_0x1a5f21+'\x20'+_0x18e512,_0x1a5f21+'\x20'+_0x37a9b0);}function normalizeEnvVarNames(_0x571879){const _0x44b4fe=_0x171629,_0xd883dc=Array['isArray'](_0x571879)?_0x571879:_0x571879?[_0x571879]:[];return _0xd883dc['flatMap'](_0x54f277=>String(_0x54f277)[_0x44b4fe(0x224)](',')['map'](_0x37bedf=>_0x37bedf[_0x44b4fe(0x276)]())['filter'](Boolean));}async function runGoCommand(_0x5001a0,_0x49b55e=![]){const _0x55d67f=_0x171629,_0x132ac0={'AsRyT':function(_0x2a83cc,_0x22f0c7){return _0x2a83cc+_0x22f0c7;},'UcaQW':function(_0x4a4a2d,_0x1bff0c,_0x27ef03){return _0x4a4a2d(_0x1bff0c,_0x27ef03);},'cKqox':_0x55d67f(0x247),'jiYKs':_0x55d67f(0x219),'EIKnp':function(_0x44ace7,_0x8fdd98,_0x2dafbb,_0x18ffc6){return _0x44ace7(_0x8fdd98,_0x2dafbb,_0x18ffc6);},'ecWPW':_0x55d67f(0x2d3),'JSOoP':function(_0x30fd11){return _0x30fd11();},'zPYKa':function(_0x2af634,_0x4e44f4){return _0x2af634(_0x4e44f4);},'GEdjM':function(_0x53fafd,_0x17b303){return _0x53fafd!==_0x17b303;},'DTeGw':_0x55d67f(0x2dc),'SCWJm':'allow-url-mismatch','Wouow':function(_0x4be2e4,_0x541297){return _0x4be2e4===_0x541297;},'UQOqP':'\x20INCOMPLETE','YPTbW':_0x55d67f(0x319),'DxNmu':'blocked','wivvQ':'\x0aIssues:','pSncB':function(_0x326eb9,_0x2151f3){return _0x326eb9===_0x2151f3;}};_0x49b55e&&(_0x132ac0[_0x55d67f(0x2df)](warnRenamed,'ranger\x20verify-feature','ranger\x20go'),warnFlagRenamed(_0x132ac0[_0x55d67f(0x1ac)],_0x55d67f(0x1b2),_0x55d67f(0x287)));warnFlagRenamed('ranger\x20go',_0x132ac0['jiYKs'],_0x55d67f(0x2e8)),_0x132ac0[_0x55d67f(0x2cc)](warnFlagRenamed,_0x55d67f(0x308),_0x132ac0[_0x55d67f(0x1e1)],_0x55d67f(0x228));const _0x29b2c7=await _0x132ac0['JSOoP'](loadRangerConfig),_0x54348d=isByokEnabled(),_0xcfd118=_0x5001a0[_0x55d67f(0x253)],_0x353f0c=_0x29b2c7[_0x55d67f(0x253)],_0x589c26=_0x132ac0[_0x55d67f(0x2a6)](normalizeEnvVarNames,_0x5001a0['env-var']),_0x2fed36=getVerificationTransport();if(_0x589c26[_0x55d67f(0x200)]>0x0&&_0x132ac0['GEdjM'](_0x2fed36,_0x55d67f(0x309))&&_0x2fed36!=='rangerwright-cli')throw new Error(_0x55d67f(0x220)+_0x2fed36+'.');const _0x4c1dca=await _0x132ac0['zPYKa'](verifyFeature,{'featureId':_0x5001a0[_0x55d67f(0x175)],'profile':_0x5001a0[_0x55d67f(0x18a)]??(_0x49b55e?_0x5001a0[_0x55d67f(0x1e0)]:undefined)??process['env'][_0x55d67f(0x1f9)],'authEnv':_0x49b55e?undefined:_0x5001a0['env']??process['env'][_0x55d67f(0x1e7)],'notes':_0x5001a0[_0x55d67f(0x2b3)]??_0x5001a0[_0x55d67f(0x273)],'check':_0x5001a0[_0x55d67f(0x26e)],'scenario':_0x5001a0[_0x55d67f(0x2f0)]??_0x5001a0[_0x55d67f(0x231)],'startPath':_0x5001a0[_0x132ac0['DTeGw']],'baseUrl':_0x5001a0['base-url'],'debugOutcome':_0x5001a0[_0x55d67f(0x2ba)],'debugAddressComments':_0x5001a0['debug-address-comments'],'headed':_0x5001a0['headed'],'verifierEnvVars':_0x589c26,'allowUrlMismatch':_0x5001a0[_0x132ac0['SCWJm']],'byokEnabled':_0x54348d,'flagVerifyModel':_0xcfd118,'configVerifyModel':_0x353f0c});console[_0x55d67f(0x316)]('\x0a'+'='[_0x55d67f(0x1a1)](0x3c)),console['log'](_0x132ac0['Wouow'](_0x4c1dca['evaluation'],_0x55d67f(0x22a))?'\x20VERIFIED':_0x132ac0[_0x55d67f(0x2d1)](_0x4c1dca[_0x55d67f(0x262)],'incomplete')?_0x132ac0['UQOqP']:_0x132ac0['Wouow'](_0x4c1dca[_0x55d67f(0x262)],'partial')?_0x132ac0[_0x55d67f(0x232)]:_0x4c1dca[_0x55d67f(0x262)]===_0x132ac0['DxNmu']?_0x55d67f(0x217):_0x55d67f(0x2db)),console['log']('='['repeat'](0x3c)),console['log']('Summary:\x20'+_0x4c1dca['summary']),console['log'](_0x55d67f(0x1cd)+_0x4c1dca['evaluation']),console['log']('Reason:\x20'+_0x4c1dca[_0x55d67f(0x2d7)]),_0x4c1dca[_0x55d67f(0x300)]?.[_0x55d67f(0x200)]&&(console['log'](_0x132ac0['wivvQ']),_0x4c1dca[_0x55d67f(0x300)][_0x55d67f(0x267)]((_0x2e06e4,_0xa49133)=>{const _0x286565=_0x55d67f;console[_0x286565(0x316)]('\x0a'+_0x132ac0['AsRyT'](_0xa49133,0x1)+'.\x20['+_0x2e06e4['severity']+']\x20'+_0x2e06e4['description']);})),process[_0x55d67f(0x2cd)](_0x132ac0['pSncB'](_0x4c1dca[_0x55d67f(0x262)],'verified')?0x0:0x1);}export function buildParser(_0xccd19d){const _0x4646f3=_0x171629,_0x49db5b={'FjSnB':_0x4646f3(0x266),'mXJVw':_0x4646f3(0x1d1),'fCZdk':_0x4646f3(0x23f),'gBADD':'Feature\x20review\x20description','DJtQN':_0x4646f3(0x263),'UTGln':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','QjAPI':_0x4646f3(0x1e5),'FDtKt':function(_0x8524d,_0x5f4326){return _0x8524d+_0x5f4326;},'PWwAS':_0x4646f3(0x2d8),'btXyZ':function(_0x2af56b,_0x3f7976,_0x3a1d4a,_0x152d51){return _0x2af56b(_0x3f7976,_0x3a1d4a,_0x152d51);},'NEpAU':_0x4646f3(0x228),'dsjbV':function(_0x3ac6b6,_0x3031b5,_0x3c5efc){return _0x3ac6b6(_0x3031b5,_0x3c5efc);},'dgVbB':'current-branch','thQhW':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','HHkwh':'offset','tHuou':'number','Wadil':_0x4646f3(0x304),'sgKbA':_0x4646f3(0x2ee),'JVZJo':'resume','FnLab':'Scenario\x20description','ChJpJ':_0x4646f3(0x171),'cuBzX':'New\x20scenario\x20description','drwRn':'scenario','gjLCv':'edit-scenario','riUBM':_0x4646f3(0x1ae),'WnOjT':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','CELOP':_0x4646f3(0x2bc),'zQFqP':'report','dyyki':_0x4646f3(0x1c3),'GgVlK':_0x4646f3(0x2d4),'nEtXm':_0x4646f3(0x310),'TfrjE':'token','fPiHT':'boolean','CFfES':_0x4646f3(0x2a9),'dfhyq':_0x4646f3(0x166),'MXWBy':_0x4646f3(0x318),'wDuSg':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','LmXHa':'url','GkwgL':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','rfPmz':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','yVbiH':'opencode','LhuMp':_0x4646f3(0x2fe),'zBrgX':_0x4646f3(0x2d5),'SjIHC':_0x4646f3(0x1ce),'ofbji':function(_0x1f3c11,_0x105ccf,_0x3ab58c){return _0x1f3c11(_0x105ccf,_0x3ab58c);},'pUJmk':'setup:all','eraKc':'setup:login','rgnlH':'scope','Noncg':_0x4646f3(0x180),'JxDCV':_0x4646f3(0x15e),'BdELv':'setup:skills','tWygK':function(_0x550baa,_0x2b22cf){return _0x550baa!==_0x2b22cf;},'gReex':_0x4646f3(0x303),'wbQeL':'Skip\x20browser\x20authentication','sUxuQ':'force','TphPQ':'tokenOrSubcommand','cfGXu':'all','oYDJy':_0x4646f3(0x19f),'XTBXi':_0x4646f3(0x24b),'QLsad':'login','OzLGT':_0x4646f3(0x2ec),'pWDSF':'profiles','SKAzk':_0x4646f3(0x1bc),'JUQdA':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','UFrOy':_0x4646f3(0x1aa),'mOiZG':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','vZRro':_0x4646f3(0x29b),'viiXw':_0x4646f3(0x1a2),'dUepm':'Ranger\x20API\x20token','epOtg':_0x4646f3(0x18a),'Iptju':_0x4646f3(0x279),'bouUB':'Skip\x20Chromium\x20browser\x20installation','tUrJj':function(_0x10f9b6,_0x245d79,_0x3855cd){return _0x10f9b6(_0x245d79,_0x3855cd);},'qdkqM':_0x4646f3(0x2c5),'XLzsW':function(_0x13bee0,_0x31b450){return _0x13bee0(_0x31b450);},'xRUUW':function(_0x2db1e0,_0x4cd15e,_0x123b1b,_0x3066b3){return _0x2db1e0(_0x4cd15e,_0x123b1b,_0x3066b3);},'kZWbG':'profile\x20add','bRSCt':'cdp-endpoint','YHpyN':_0x4646f3(0x2ae),'suBwU':'yes','vEgsC':'Name\x20of\x20the\x20profile\x20to\x20update','TXCXK':_0x4646f3(0x243),'hbwtX':_0x4646f3(0x2c9),'AmsUP':_0x4646f3(0x15f),'hCQnS':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','mHcde':_0x4646f3(0x208),'mMPph':_0x4646f3(0x250),'NtaTY':'Set\x20a\x20config\x20value','uZlNg':_0x4646f3(0x29a),'eMfkv':'unset\x20<profile>\x20<key>','fLMZT':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','mWwzM':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','irZEp':_0x4646f3(0x23a),'GhgqC':'profile\x20delete','CQFQk':function(_0x51d53a,_0x7ddf24){return _0x51d53a===_0x7ddf24;},'FDqoQ':_0x4646f3(0x27e),'OaGlw':_0x4646f3(0x16e),'PLjRJ':_0x4646f3(0x221),'naSek':'Switch\x20to\x20using\x20a\x20specific\x20profile','hFgtK':_0x4646f3(0x27f),'nxvcP':_0x4646f3(0x2a0),'FgGLA':'List\x20all\x20profiles','hiWMT':_0x4646f3(0x29e),'oaEYB':'login\x20<name>','ZUHhJ':'migrate\x20[profile-name]','TzbmD':'You\x20must\x20specify\x20a\x20profile\x20subcommand','ABSzt':'status','YvCaF':function(_0x58ac4f,_0x59120e,_0x25aef1){return _0x58ac4f(_0x59120e,_0x25aef1);},'FpXXV':_0x4646f3(0x20f),'fmwVO':function(_0x15ebeb){return _0x15ebeb();},'eBTwr':_0x4646f3(0x229),'KDeXN':_0x4646f3(0x28d),'RvhIg':_0x4646f3(0x238),'FzMMi':'start-path','ohnyy':_0x4646f3(0x193),'SmpUe':_0x4646f3(0x30e),'Lihvg':'env-var','lVchR':_0x4646f3(0x21e),'AYKFg':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','yMqgE':_0x4646f3(0x2c3),'TDvnf':'Proceed\x20even\x20when\x20the\x20selected\x20scenario\x20names\x20a\x20URL\x20on\x20a\x20different\x20origin\x20than\x20the\x20resolved\x20target','qJphd':_0x4646f3(0x22a),'EKPJx':_0x4646f3(0x2f9),'QoYkA':_0x4646f3(0x1e0),'KpBxw':_0x4646f3(0x21c),'qqcvX':_0x4646f3(0x273),'AjZYe':'item','pmKGn':'ranger\x20profile\x20encrypt-auth','lgubF':'encrypt\x20<profile>','UyhSZ':_0x4646f3(0x2bb),'PZyOz':_0x4646f3(0x24c),'kxcvy':_0x4646f3(0x260),'syZxS':_0x4646f3(0x1fe),'ClPKr':function(_0x2587b5,_0x185756,_0x1a8e07){return _0x2587b5(_0x185756,_0x1a8e07);},'UMTEj':_0x4646f3(0x1ef),'zbrkk':_0x4646f3(0x1e4),'LcosZ':_0x4646f3(0x253),'pPyNY':'headed','ZkbOJ':_0x4646f3(0x225),'iqwIu':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','GsVSP':_0x4646f3(0x1bb),'VWAGo':'Name\x20of\x20the\x20environment','CmXMo':_0x4646f3(0x285),'ADpCg':_0x4646f3(0x2fb),'YaCrM':function(_0x37440b,_0xbedb92,_0x3ebc14){return _0x37440b(_0xbedb92,_0x3ebc14);},'DByzv':'Environment\x20name','gLOPj':'key','RjUHy':_0x4646f3(0x2f3),'KRTYs':function(_0x314485,_0x514c1f,_0x30ea2f){return _0x314485(_0x514c1f,_0x30ea2f);},'eCPGq':'ranger\x20config\x20get','QmVqS':_0x4646f3(0x2c2),'uJHrP':_0x4646f3(0x2bf),'YFJrI':'Config\x20key\x20to\x20remove','saqCA':function(_0x4d853c,_0x1f94b9,_0xb157ce){return _0x4d853c(_0x1f94b9,_0xb157ce);},'zWAHB':'ranger\x20profile\x20config\x20unset','MJpYY':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','QOIxz':'set\x20<env>\x20<key>\x20<value>','aMCrX':_0x4646f3(0x22c),'Lolju':'unset\x20<env>\x20<key>','PEabA':_0x4646f3(0x1a9),'ZkFBx':'Name\x20of\x20the\x20environment\x20to\x20update','caOyF':_0x4646f3(0x2f6),'twhMx':'ranger\x20profile\x20update','Hxyhd':function(_0x3e3854,_0x1c8994,_0x17c5d9){return _0x3e3854(_0x1c8994,_0x17c5d9);},'zsawK':'update\x20<env-name>','MMuRI':'You\x20must\x20specify\x20an\x20env\x20subcommand','NAdeZ':'Feature\x20review\x20name','BhPju':'ranger\x20feature\x20list','CeRTJ':function(_0x87f7b1,_0x1f2a5c,_0x180dc2){return _0x87f7b1(_0x1f2a5c,_0x180dc2);},'BHRnL':_0x4646f3(0x2c7),'RQzRu':'ranger\x20feature\x20resume','deWGO':_0x4646f3(0x2b1),'oUvaR':function(_0x385743,_0x28fc77,_0x1debd3){return _0x385743(_0x28fc77,_0x1debd3);},'uzqMS':'ranger\x20add-scenario','wUEYn':'feature\x20add-checklist-item','eyfwJ':_0x4646f3(0x2fc),'CeUha':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','RwZam':_0x4646f3(0x1d9),'ZYBjs':function(_0x315f46,_0x492790,_0xde9f9c){return _0x315f46(_0x492790,_0xde9f9c);},'EemRC':'feature\x20restore','mmyiX':_0x4646f3(0x1c7),'LACmM':'add-checklist-item\x20<description>','XGWXo':'get-feedback\x20[id]','aWxQy':_0x4646f3(0x188),'MSNNj':function(_0x51d79a,_0x333760,_0x59232a){return _0x51d79a(_0x333760,_0x59232a);},'fhzkU':_0x4646f3(0x314),'dPfqP':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','exrmY':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','SVQWr':_0x4646f3(0x306),'glybZ':function(_0x4fa2b5,_0x53a99f){return _0x4fa2b5(_0x53a99f);},'bnFDK':'Unknown\x20command','UeFtX':function(_0xb9a44c){return _0xb9a44c();},'CeLJk':function(_0x1ea123,_0x186968){return _0x1ea123||_0x186968;},'kfthX':function(_0x2bdd04,_0x383170){return _0x2bdd04(_0x383170);},'nowcK':function(_0x5a9245){return _0x5a9245();},'vFYCa':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','VgOjv':_0x4646f3(0x2b0),'LTpDT':_0x4646f3(0x2a3),'zPYIH':_0x4646f3(0x277),'cCjpc':'resume\x20[id]','eyzAe':'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','kMgkM':_0x4646f3(0x209),'zzIEO':'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','Dtaad':'report\x20[id]','YFNpF':_0x4646f3(0x25f),'wbKmG':'Restore\x20a\x20soft-deleted\x20feature\x20review','KIDZf':'setup\x20[tokenOrSubcommand]','DvAhj':'Initialize\x20Ranger\x20in\x20your\x20project','uJoiH':'setup-ci\x20<token>','yvqPl':_0x4646f3(0x249),'RIHtM':'Print\x20the\x20current\x20CLI\x20access\x20token','QiCqv':'Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','lgAEQ':_0x4646f3(0x222),'QwUJN':_0x4646f3(0x237),'fXYyW':_0x4646f3(0x2af),'QWAOy':'config','LasKN':'feature','Maxis':function(_0x482656,_0x533a7c){return _0x482656+_0x533a7c;},'UJAKu':'Documentation:\x0a','HolER':'\x20\x20https://docs.ranger.net\x0a','lwpgP':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)'};return _0x49db5b['kfthX'](_0x194ba3,_0xccd19d??process['argv']['slice'](0x2))['scriptName']('ranger')['usage'](TOP_LEVEL_HELP)[_0x4646f3(0x1c2)](_0x49db5b['nowcK'](getCurrentVersion))[_0x4646f3(0x255)](_0x49db5b['mmyiX'],_0x49db5b['vFYCa'],_0x3403d3=>{const _0x8df678=_0x4646f3;return _0x3403d3[_0x8df678(0x230)](_0x49db5b['FjSnB'],{'type':_0x49db5b[_0x8df678(0x2eb)],'description':_0x8df678(0x1c6),'demandOption':!![]})[_0x8df678(0x27b)](_0x49db5b['fCZdk'],{'type':_0x49db5b[_0x8df678(0x2eb)],'alias':'d','description':_0x49db5b[_0x8df678(0x1ee)]})['option']('scenario',{'type':_0x49db5b[_0x8df678(0x2ce)],'alias':'c','description':_0x49db5b['UTGln']})['option'](_0x49db5b[_0x8df678(0x24d)],{'type':_0x49db5b[_0x8df678(0x2ce)],'hidden':!![]});},async _0x61ac28=>{const _0x1f707f=_0x4646f3;if(!_0x61ac28[_0x1f707f(0x266)]){console[_0x1f707f(0x210)](_0x49db5b[_0x1f707f(0x1c5)]('Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a',_0x49db5b['PWwAS'])),process['exit'](0x1);return;}_0x49db5b[_0x1f707f(0x181)](warnFlagRenamed,_0x1f707f(0x1a4),'--checklist',_0x49db5b['NEpAU']);const _0x5c1121=_0x61ac28['scenario']||_0x61ac28['checklist'];await _0x49db5b[_0x1f707f(0x1ea)](withTelemetry,_0x1f707f(0x264),()=>featureCreate(_0x61ac28['name'],{'description':_0x61ac28['description'],'scenarios':_0x5c1121}));})['command'](_0x4646f3(0x21f),_0x49db5b['VgOjv'],_0x3ae28e=>{const _0x52e281=_0x4646f3;return _0x3ae28e['option'](_0x49db5b[_0x52e281(0x20b)],{'type':'boolean','description':_0x49db5b[_0x52e281(0x26b)]})['option'](_0x52e281(0x2fc),{'type':'number','alias':'l','description':_0x52e281(0x29d),'default':0xa})[_0x52e281(0x27b)](_0x49db5b[_0x52e281(0x24a)],{'type':_0x49db5b['tHuou'],'alias':'o','description':_0x49db5b[_0x52e281(0x236)],'default':0x0})['option']('include-deleted',{'type':'boolean','alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x3035e4=>{const _0x520f48=_0x4646f3;await withTelemetry('list',()=>featureList({'currentBranch':_0x3035e4[_0x520f48(0x23d)],'limit':_0x3035e4[_0x520f48(0x2fc)],'offset':_0x3035e4['offset'],'includeDeleted':_0x3035e4['include-deleted']}));})[_0x4646f3(0x255)](_0x49db5b['LTpDT'],_0x49db5b['zPYIH'],_0x463fec=>{const _0x4fc41d=_0x4646f3;return _0x463fec[_0x4fc41d(0x230)]('id',{'type':_0x4fc41d(0x1d1),'description':_0x49db5b[_0x4fc41d(0x17a)]});},async _0x552960=>{const _0x57c146=_0x4646f3;await withTelemetry(_0x57c146(0x189),()=>featureShow(_0x552960['id']));})[_0x4646f3(0x255)](_0x49db5b['cCjpc'],_0x49db5b[_0x4646f3(0x2ea)],_0x49cdd8=>{const _0x5b3c2c=_0x4646f3;return _0x49cdd8[_0x5b3c2c(0x230)]('id',{'type':_0x49db5b[_0x5b3c2c(0x2eb)],'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x48e958=>{await withTelemetry(_0x49db5b['JVZJo'],()=>featureResume(_0x48e958['id']));})['command'](_0x4646f3(0x2a4),_0x4646f3(0x27c),_0x3849f7=>{const _0x2b227a=_0x4646f3;return _0x3849f7[_0x2b227a(0x230)](_0x2b227a(0x23f),{'type':_0x2b227a(0x1d1),'description':_0x49db5b[_0x2b227a(0x1d4)],'demandOption':!![]})['option']('id',{'type':_0x49db5b[_0x2b227a(0x2eb)],'description':_0x2b227a(0x1d9)});},async _0x24dde1=>{const _0x3ade90=_0x4646f3;await withTelemetry(_0x49db5b[_0x3ade90(0x1b8)],()=>featureAddScenario(_0x24dde1[_0x3ade90(0x23f)],_0x24dde1['id']));})[_0x4646f3(0x255)](_0x49db5b[_0x4646f3(0x169)],_0x49db5b[_0x4646f3(0x177)],_0x2ddb9f=>{const _0x5ace99=_0x4646f3;return _0x2ddb9f[_0x5ace99(0x230)](_0x49db5b[_0x5ace99(0x28f)],{'type':_0x49db5b[_0x5ace99(0x2eb)],'description':_0x49db5b['cuBzX'],'demandOption':!![]})[_0x5ace99(0x27b)](_0x49db5b['drwRn'],{'type':_0x49db5b[_0x5ace99(0x30c)],'description':_0x5ace99(0x17e),'demandOption':!![]})[_0x5ace99(0x27b)]('id',{'type':_0x5ace99(0x1d1),'description':_0x5ace99(0x1d9)});},async _0x4ed516=>{const _0x2620f9=_0x4646f3;await withTelemetry(_0x49db5b[_0x2620f9(0x205)],()=>featureEditScenario(_0x4ed516['description'],{'id':_0x4ed516['id'],'scenario':_0x4ed516['scenario']}));})['command'](_0x49db5b['Dtaad'],_0x49db5b[_0x4646f3(0x2ef)],_0x5daae9=>{const _0x197e3c=_0x4646f3;return _0x5daae9[_0x197e3c(0x230)]('id',{'type':_0x49db5b[_0x197e3c(0x2eb)],'description':_0x197e3c(0x2ee)})['option'](_0x49db5b[_0x197e3c(0x16f)],{'type':_0x197e3c(0x263),'description':_0x49db5b['WnOjT']})['option'](_0x49db5b['CELOP'],{'type':_0x197e3c(0x178),'description':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','default':![]});},async _0x5cc79e=>{const _0x2b9e56=_0x4646f3,_0x3ae8e3=_0x5cc79e[_0x49db5b['riUBM']],_0x175309=_0x3ae8e3?_0x3ae8e3['map'](_0x3de207=>Number(_0x3de207)):undefined;await withTelemetry(_0x49db5b['zQFqP'],()=>featureReportPrDescription(_0x5cc79e['id'],{'excludeScenarios':_0x175309,'json':_0x5cc79e[_0x2b9e56(0x2bc)]}));})['command'](_0x4646f3(0x27a),'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x5f6c03=>{const _0x405da3=_0x4646f3;return _0x5f6c03[_0x405da3(0x230)]('id',{'type':_0x49db5b['mXJVw'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x12b657=>{const _0x450c85=_0x4646f3;await withTelemetry(_0x49db5b[_0x450c85(0x2ab)],()=>featureGetReview(_0x12b657['id']));})['command'](_0x4646f3(0x1a0),_0x4646f3(0x19e),_0x3971bc=>{const _0x462946=_0x4646f3;return _0x3971bc[_0x462946(0x230)]('id',{'type':_0x49db5b[_0x462946(0x2eb)],'description':_0x462946(0x2ee)});},async _0x45a5df=>{const _0x14cb8d=_0x4646f3;await withTelemetry(_0x49db5b[_0x14cb8d(0x1cc)],()=>featureDelete(_0x45a5df['id']));})[_0x4646f3(0x255)]('restore\x20<id>',_0x49db5b['wbKmG'],_0x3ef1be=>{const _0x3bc956=_0x4646f3;return _0x3ef1be[_0x3bc956(0x230)]('id',{'type':_0x49db5b['mXJVw'],'description':_0x49db5b[_0x3bc956(0x297)],'demandOption':!![]});},async _0x548f41=>{const _0x3f1f6f=_0x4646f3;await withTelemetry(_0x3f1f6f(0x1f7),()=>featureRestore(_0x548f41['id']));})[_0x4646f3(0x255)](_0x49db5b['KIDZf'],_0x49db5b['DvAhj'],_0x32a840=>{const _0x12f1c0=_0x4646f3,_0x55bb24={'YsqoE':_0x49db5b[_0x12f1c0(0x19c)],'QbNjh':_0x12f1c0(0x2ff),'abeRq':'token','CYJfS':_0x12f1c0(0x158),'NYeET':_0x49db5b['zBrgX'],'CVhoJ':_0x49db5b['rgnlH'],'LMxHZ':'string','IUqQV':_0x12f1c0(0x180),'daUiy':_0x49db5b[_0x12f1c0(0x2a8)],'fRlOg':_0x49db5b['gReex'],'JZBuC':_0x49db5b['wbQeL'],'vLQQX':_0x49db5b[_0x12f1c0(0x1b0)],'aGBKv':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url'};return _0x32a840['usage']('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')[_0x12f1c0(0x230)](_0x49db5b[_0x12f1c0(0x164)],{'type':_0x49db5b['mXJVw'],'description':_0x12f1c0(0x261)})[_0x12f1c0(0x255)](_0x49db5b['cfGXu'],_0x49db5b['oYDJy'],_0x1cac95=>{const _0x5b5d5e=_0x12f1c0;return _0x1cac95['option'](_0x49db5b[_0x5b5d5e(0x25e)],{'type':_0x49db5b[_0x5b5d5e(0x2eb)],'description':_0x5b5d5e(0x257)})['option']('skip-chromium',{'type':_0x49db5b['fPiHT'],'description':_0x49db5b['CFfES'],'default':![]})['option']('skip-auth',{'type':_0x49db5b[_0x5b5d5e(0x19c)],'description':_0x49db5b['dfhyq'],'default':![]})[_0x5b5d5e(0x27b)](_0x5b5d5e(0x29b),{'type':_0x49db5b['fPiHT'],'description':_0x49db5b['MXWBy'],'default':![]})[_0x5b5d5e(0x27b)]('scope',{'type':_0x49db5b['mXJVw'],'choices':[_0x5b5d5e(0x180)],'hidden':!![],'description':_0x49db5b[_0x5b5d5e(0x29f)]})[_0x5b5d5e(0x27b)](_0x49db5b['LmXHa'],{'type':'string','description':_0x49db5b[_0x5b5d5e(0x1fd)]})['option']('force',{'type':_0x49db5b['fPiHT'],'description':_0x49db5b['rfPmz'],'default':![]})[_0x5b5d5e(0x27b)](_0x49db5b[_0x5b5d5e(0x272)],{'type':_0x5b5d5e(0x178),'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})[_0x5b5d5e(0x27b)](_0x49db5b[_0x5b5d5e(0x1ca)],{'type':_0x49db5b[_0x5b5d5e(0x19c)],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]})['option'](_0x5b5d5e(0x1ce),{'type':'boolean','description':_0x5b5d5e(0x25c),'default':![]})['option'](_0x49db5b['zBrgX'],{'type':_0x49db5b[_0x5b5d5e(0x19c)],'description':'Alias\x20for\x20--mcp-bootstrap','default':![]});},async _0x424b6a=>{const _0x54e699=_0x12f1c0;(_0x424b6a[_0x49db5b[_0x54e699(0x1f0)]]||_0x424b6a['mcp'])&&await withTelemetry(_0x49db5b[_0x54e699(0x1f0)],()=>mcpBootstrap()),await _0x49db5b[_0x54e699(0x2a1)](withTelemetry,_0x49db5b['pUJmk'],_0x30f74a=>start(_0x424b6a['token'],{'skipChromium':_0x424b6a['skip-chromium'],'skipAuth':_0x424b6a['skip-auth'],'withDeps':_0x424b6a[_0x54e699(0x29b)],'scope':_0x424b6a['scope'],'url':_0x424b6a['url'],'force':_0x424b6a['force'],'opencode':_0x424b6a[_0x54e699(0x227)],'allowInsecureLocalhost':_0x424b6a[_0x54e699(0x2fe)]},_0x30f74a));})['command'](_0x49db5b[_0x12f1c0(0x23c)],_0x12f1c0(0x274),_0x192b1b=>{const _0x5cc7c6=_0x12f1c0;return _0x192b1b['option'](_0x5cc7c6(0x29b),{'type':_0x55bb24[_0x5cc7c6(0x2cf)],'description':_0x55bb24[_0x5cc7c6(0x195)],'default':![]});},async _0x3c748e=>{const _0x39d77f=_0x12f1c0;await withTelemetry('setup:deps',()=>ensureChromium(_0x3c748e[_0x39d77f(0x29b)]));})['command'](_0x49db5b['QLsad'],'Authenticate\x20with\x20Ranger',_0x157b45=>{const _0x1c956d=_0x12f1c0;return _0x157b45['option'](_0x55bb24[_0x1c956d(0x1a5)],{'type':_0x1c956d(0x1d1),'description':_0x55bb24[_0x1c956d(0x298)]})['option'](_0x55bb24[_0x1c956d(0x20e)],{'type':_0x55bb24['YsqoE'],'description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x5452ff=>{const _0x470a66=_0x12f1c0,_0x312d7c={'FHCkc':function(_0x1c1250){return _0x1c1250();},'rYCbd':function(_0x3556b8){return _0x3556b8();},'hYWjr':function(_0x5bfab6,_0xa69a26){return _0x5bfab6(_0xa69a26);}};await _0x49db5b[_0x470a66(0x2a1)](withTelemetry,_0x49db5b[_0x470a66(0x2e4)],async()=>{const _0x31d133=_0x470a66;if(_0x5452ff['mcp']){await _0x312d7c['FHCkc'](mcpBootstrap);const _0x3153df=await _0x312d7c[_0x31d133(0x2c4)](refreshCliToken);if(!_0x3153df)throw new Error('Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.');const _0x94f3d6=await _0x312d7c[_0x31d133(0x2e3)](getCurrentUser,_0x3153df);if(!_0x94f3d6[_0x31d133(0x1a6)])throw new Error(_0x31d133(0x183)+_0x94f3d6[_0x31d133(0x210)]);console['log']('✓\x20Authenticated\x20to\x20'+_0x94f3d6[_0x31d133(0x180)]['organizationName']);return;}await authenticate(_0x5452ff['token']);});})[_0x12f1c0(0x255)](_0x49db5b['OzLGT'],'Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x2a9bd4=>{const _0x4dad0d=_0x12f1c0;return _0x2a9bd4[_0x4dad0d(0x27b)](_0x49db5b['rgnlH'],{'type':'string','choices':[_0x49db5b['Noncg'],_0x49db5b[_0x4dad0d(0x2b7)]],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})['option'](_0x4dad0d(0x227),{'type':_0x4dad0d(0x178),'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]});},async _0x58fdd6=>{const _0x377eb8=_0x12f1c0,_0x58379d={'kAXGd':function(_0x68ed65){return _0x68ed65();},'mZixf':_0x377eb8(0x227)};await _0x49db5b['dsjbV'](withTelemetry,_0x49db5b['BdELv'],async()=>{const _0x4e8aad=_0x377eb8,_0x55ea94=_0x58fdd6['scope'];if(_0x58fdd6[_0x4e8aad(0x227)]){const _0x362202=await ensureOpencodePluginConfig(_0x55ea94);_0x362202&&await installSkill('ranger',{'level':_0x362202[_0x4e8aad(0x284)],'cliVersion':_0x58379d[_0x4e8aad(0x259)](getCurrentVersion),'platform':_0x58379d[_0x4e8aad(0x2ed)]});}else await ensureClaudePlugin(_0x55ea94),await ensureClaudeSkills(_0x55ea94);});})[_0x12f1c0(0x255)](_0x49db5b['pWDSF'],_0x49db5b[_0x12f1c0(0x2dd)],_0x5c4c49=>{const _0x31acac=_0x12f1c0;return _0x5c4c49[_0x31acac(0x27b)](_0x55bb24['CVhoJ'],{'type':_0x55bb24['LMxHZ'],'choices':[_0x55bb24['IUqQV']],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x55bb24[_0x31acac(0x28a)],{'type':_0x55bb24['LMxHZ'],'description':_0x55bb24['fRlOg']})['option']('skip-auth',{'type':_0x31acac(0x178),'description':_0x55bb24['JZBuC'],'default':![]})[_0x31acac(0x27b)](_0x55bb24['vLQQX'],{'type':_0x55bb24['YsqoE'],'description':_0x55bb24[_0x31acac(0x2e1)],'default':![]})[_0x31acac(0x27b)]('allow-insecure-localhost',{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x3e9211=>{const _0x18520c=_0x12f1c0,_0x114888=_0x3e9211[_0x18520c(0x284)];_0x114888!==undefined&&_0x49db5b[_0x18520c(0x16b)](_0x114888,'user')&&(console['error'](_0x18520c(0x19a)+_0x114888+_0x18520c(0x1c4)+_0x18520c(0x1c8)+'Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.'),process['exit'](0x1)),await withTelemetry(_0x18520c(0x17b),_0x1f7ec4=>ensureLocalEnv({'url':_0x3e9211[_0x18520c(0x1e3)],'force':_0x3e9211['force'],'allowInsecureLocalhost':_0x3e9211['allow-insecure-localhost'],'scope':'user'},_0x1f7ec4));})[_0x12f1c0(0x27b)]('skip-chromium',{'type':_0x12f1c0(0x178),'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x12f1c0(0x27b)](_0x49db5b[_0x12f1c0(0x242)],{'type':_0x49db5b['mXJVw'],'choices':['user'],'hidden':!![],'description':_0x12f1c0(0x2b4)})['option'](_0x49db5b[_0x12f1c0(0x2a8)],{'type':_0x49db5b['mXJVw'],'description':_0x12f1c0(0x260)})[_0x12f1c0(0x27b)](_0x49db5b[_0x12f1c0(0x1b0)],{'type':_0x49db5b['fPiHT'],'description':_0x49db5b[_0x12f1c0(0x30b)],'default':![]})['option'](_0x12f1c0(0x227),{'type':_0x12f1c0(0x178),'description':_0x49db5b['JUQdA'],'default':![]})[_0x12f1c0(0x27b)](_0x49db5b[_0x12f1c0(0x1ca)],{'type':'boolean','description':_0x49db5b[_0x12f1c0(0x1f8)],'default':![]})['option'](_0x12f1c0(0x1ce),{'type':_0x49db5b[_0x12f1c0(0x19c)],'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','default':![]})[_0x12f1c0(0x27b)]('skip-auth',{'type':'boolean','description':_0x49db5b[_0x12f1c0(0x2de)],'default':![]})['option'](_0x49db5b['vZRro'],{'type':_0x12f1c0(0x178),'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]})['option'](_0x12f1c0(0x1dc),{'type':_0x49db5b[_0x12f1c0(0x2eb)],'hidden':!![],'description':_0x49db5b[_0x12f1c0(0x20d)]});},async _0x538398=>{const _0x573ffb=_0x4646f3,_0x460f10=_0x538398[_0x573ffb(0x1be)],_0xd94b01=_0x538398[_0x573ffb(0x1dc)]??_0x460f10;_0x538398[_0x49db5b[_0x573ffb(0x1f0)]]&&await withTelemetry('mcp-bootstrap',()=>mcpBootstrap()),await withTelemetry(_0x573ffb(0x202),_0x198e9=>start(_0xd94b01,{'skipChromium':_0x538398[_0x573ffb(0x24c)],'skipAuth':_0x538398['skip-auth'],'withDeps':_0x538398['with-deps'],'scope':_0x538398[_0x573ffb(0x284)],'url':_0x538398[_0x573ffb(0x1e3)],'force':_0x538398[_0x573ffb(0x20a)],'opencode':_0x538398['opencode'],'allowInsecureLocalhost':_0x538398['allow-insecure-localhost']},_0x198e9));})['command'](_0x49db5b[_0x4646f3(0x1ab)],![],_0x3db980=>{const _0x29776e=_0x4646f3;return _0x3db980[_0x29776e(0x230)](_0x29776e(0x1dc),{'type':_0x29776e(0x1d1),'description':_0x49db5b['dUepm'],'demandOption':!![]})['option'](_0x49db5b[_0x29776e(0x184)],{'type':_0x49db5b['mXJVw'],'description':_0x49db5b['Iptju']})['option'](_0x29776e(0x193),{'type':'string','description':_0x29776e(0x218)})['option'](_0x29776e(0x24c),{'type':_0x49db5b['fPiHT'],'description':_0x49db5b[_0x29776e(0x317)],'default':![]});},async _0x4399a1=>{const _0x4cb54b=_0x4646f3;await withTelemetry('setup-ci',_0x598b98=>setupCi(_0x4399a1['token'],{'profile':_0x4399a1['profile'],'baseUrl':_0x4399a1[_0x4cb54b(0x193)],'skipChromium':_0x4399a1['skip-chromium']},_0x598b98));})[_0x4646f3(0x255)](_0x49db5b[_0x4646f3(0x157)],_0x4646f3(0x2c1),()=>{},async()=>{const _0xcb653f=_0x4646f3;await _0x49db5b[_0xcb653f(0x1bd)](withTelemetry,_0x49db5b['QLsad'],()=>login());})[_0x4646f3(0x255)]('skillup','Install\x20Ranger\x20skills',_0x55c544=>{const _0x3390d0=_0x4646f3;return _0x55c544[_0x3390d0(0x27b)](_0x49db5b['yVbiH'],{'type':_0x49db5b[_0x3390d0(0x19c)],'description':_0x3390d0(0x240),'default':![]})[_0x3390d0(0x27b)](_0x49db5b[_0x3390d0(0x242)],{'type':_0x49db5b[_0x3390d0(0x2eb)],'choices':[_0x49db5b['Noncg'],'project'],'description':_0x49db5b['qdkqM']});},async _0x4b6534=>{const _0x245826=_0x4646f3,_0x24fa3b=_0x49db5b[_0x245826(0x26c)](Boolean,_0x4b6534['opencode']);await withTelemetry('skillup',()=>skillup({'autoInstall':_0x4b6534['scope'],'platform':_0x24fa3b?_0x245826(0x227):_0x245826(0x1de)}));})['command']('clean',_0x4646f3(0x163),()=>{},async()=>{await withTelemetry('clean',()=>clean());})[_0x4646f3(0x255)](['profile',_0x49db5b[_0x4646f3(0x1a3)]],'Manage\x20profiles',_0xdc2c14=>{const _0x551623=_0x4646f3,_0x3c80c2={'sZTMT':_0x49db5b[_0x551623(0x170)],'VAsQS':_0x49db5b['fPiHT'],'Xhhzc':_0x49db5b[_0x551623(0x2a7)],'QegEk':_0x49db5b[_0x551623(0x2a8)],'mEUPg':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','nkCUT':_0x551623(0x20a),'thvOu':_0x49db5b[_0x551623(0x2d6)],'YtfXD':'string','LPQwu':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','jXlZJ':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','KlQIN':_0x49db5b['rgnlH'],'ozqFp':_0x49db5b['Noncg'],'QbdtQ':'env','xsldf':'Auth\x20environment\x20key\x20to\x20bind\x20this\x20profile\x20to\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Bypasses\x20URL-based\x20matching;\x20required\x20for\x20bare-localhost\x20custom\x20ports.','AxtCd':_0x551623(0x289),'XMzIk':function(_0x278091,_0x21ea4a,_0x342b48){return _0x278091(_0x21ea4a,_0x342b48);},'kRkyN':_0x551623(0x281),'thEgM':_0x49db5b['GhgqC'],'dnfdH':'profile','VnXih':_0x551623(0x28b),'tviIr':function(_0x5f4b90,_0x46937b){return _0x5f4b90||_0x46937b;},'jQlkf':function(_0x5ce0d8,_0x1230d6){const _0x14a488=_0x551623;return _0x49db5b[_0x14a488(0x295)](_0x5ce0d8,_0x1230d6);},'KwCkN':_0x49db5b[_0x551623(0x1d6)],'jVuUC':_0x551623(0x159),'NGcfg':_0x551623(0x245),'EmLQp':_0x49db5b[_0x551623(0x2fd)],'yqMcT':_0x551623(0x2f3),'amTNV':'profile\x20config\x20list','lgMnH':function(_0x4f867d,_0x2ac0bb,_0x572c4c){return _0x49db5b['dsjbV'](_0x4f867d,_0x2ac0bb,_0x572c4c);}};return _0xdc2c14[_0x551623(0x2f8)](PROFILE_HELP)[_0x551623(0x255)](_0x551623(0x1e8),_0x49db5b[_0x551623(0x315)],_0x3505b6=>{const _0x451775=_0x551623;return _0x3505b6[_0x451775(0x230)](_0x451775(0x30f),{'type':_0x451775(0x1d1),'description':_0x3c80c2['sZTMT'],'demandOption':!![]})['option']('ci',{'type':_0x3c80c2[_0x451775(0x16a)],'hidden':!![],'default':![]})['option'](_0x451775(0x1fe),{'type':_0x451775(0x178),'description':_0x3c80c2['Xhhzc'],'default':![]})[_0x451775(0x27b)](_0x3c80c2['QegEk'],{'type':_0x451775(0x1d1),'description':_0x3c80c2[_0x451775(0x21d)]})['option'](_0x3c80c2[_0x451775(0x206)],{'type':_0x3c80c2[_0x451775(0x16a)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x451775(0x27b)](_0x3c80c2[_0x451775(0x17c)],{'type':_0x3c80c2[_0x451775(0x176)],'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})['option']('allow-insecure-localhost',{'type':_0x3c80c2[_0x451775(0x16a)],'description':_0x3c80c2['LPQwu'],'default':![]})[_0x451775(0x27b)](_0x451775(0x216),{'type':_0x3c80c2[_0x451775(0x16a)],'description':_0x3c80c2['jXlZJ'],'default':![]})['option']('setup-header',{'type':_0x451775(0x1d1),'array':!![],'description':_0x451775(0x2b6)})['option'](_0x3c80c2['KlQIN'],{'type':_0x451775(0x1d1),'choices':[_0x3c80c2[_0x451775(0x21a)],_0x451775(0x15e)],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})[_0x451775(0x27b)](_0x3c80c2['QbdtQ'],{'type':_0x3c80c2[_0x451775(0x176)],'description':_0x3c80c2[_0x451775(0x2d9)]})[_0x451775(0x27b)](_0x451775(0x26a),{'type':_0x3c80c2['VAsQS'],'alias':'y','description':_0x451775(0x19d),'default':![]});},async _0xa8a9d7=>{const _0x296e48=_0x551623;await _0x49db5b[_0x296e48(0x2fa)](withTelemetry,_0x49db5b[_0x296e48(0x213)],_0x44f95a=>addEnv(_0xa8a9d7['profile-name'],{'ci':_0xa8a9d7['ci'],'skipAuth':_0xa8a9d7['skip-auth'],'url':_0xa8a9d7['url'],'force':_0xa8a9d7[_0x296e48(0x20a)],'cdpEndpoint':_0xa8a9d7['cdp-endpoint'],'allowInsecureLocalhost':_0xa8a9d7['allow-insecure-localhost'],'safeMode':_0xa8a9d7[_0x296e48(0x216)],'setupHeader':_0xa8a9d7[_0x296e48(0x1e9)],'scope':_0xa8a9d7[_0x296e48(0x284)],'authEnv':_0xa8a9d7[_0x296e48(0x1e0)],'yes':_0xa8a9d7['yes']},_0x44f95a),{'isElectron':Boolean(_0xa8a9d7[_0x49db5b[_0x296e48(0x2d6)]])});})['command'](_0x551623(0x2f4),_0x49db5b[_0x551623(0x294)],_0x3fcf80=>{const _0x28794e=_0x551623;return _0x3fcf80[_0x28794e(0x230)]('profile-name',{'type':_0x3c80c2[_0x28794e(0x176)],'description':_0x3c80c2['AxtCd'],'demandOption':!![]});},async _0x295f20=>{await _0x3c80c2['XMzIk'](withTelemetry,_0x3c80c2['kRkyN'],()=>useEnv(_0x295f20['profile-name']));})['command'](_0x49db5b['hFgtK'],_0x49db5b[_0x551623(0x1a8)],_0x185e40=>{const _0x134c7a=_0x551623;return _0x185e40[_0x134c7a(0x230)]('profile-name',{'type':_0x49db5b[_0x134c7a(0x2eb)],'description':_0x49db5b[_0x134c7a(0x1d5)],'demandOption':!![]})['option'](_0x49db5b[_0x134c7a(0x258)],{'type':_0x49db5b['fPiHT'],'alias':'y','description':_0x134c7a(0x15a),'default':![]});},async _0x162318=>{const _0x3c295f=_0x551623;await withTelemetry(_0x3c80c2['thEgM'],()=>deleteProfile(_0x162318[_0x3c295f(0x30f)],{'yes':_0x162318['yes']}));})[_0x551623(0x255)]('encrypt-auth\x20<profile>',![],_0x318987=>{const _0x1621f2=_0x551623;return _0x318987['positional'](_0x3c80c2[_0x1621f2(0x1d8)],{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x33abe9=>{await _0x3c80c2['XMzIk'](withTelemetry,_0x3c80c2['VnXih'],()=>authEncrypt(_0x33abe9['profile']));})['command']('ls',_0x49db5b[_0x551623(0x1da)],()=>{},async()=>{const _0x5eb758=_0x551623;await _0x49db5b['dsjbV'](withTelemetry,_0x5eb758(0x1cf),()=>envList());})[_0x551623(0x255)](_0x49db5b['hiWMT'],_0x551623(0x25b),_0x500b9b=>{const _0x57d886=_0x551623;return _0x500b9b['positional'](_0x57d886(0x30f),{'type':_0x49db5b[_0x57d886(0x2eb)],'description':_0x49db5b[_0x57d886(0x265)],'demandOption':!![]})['option'](_0x49db5b['LhuMp'],{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)'})[_0x57d886(0x27b)](_0x57d886(0x305),{'type':_0x49db5b[_0x57d886(0x19c)],'description':'Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login'});},async _0x5f2af3=>{const _0xaf4ae1=_0x551623;await withTelemetry(_0xaf4ae1(0x1ed),_0x263745=>updateEnv(_0x5f2af3[_0xaf4ae1(0x30f)],_0x263745,{'allowInsecureLocalhost':_0x5f2af3[_0xaf4ae1(0x2fe)],'manual':_0x5f2af3['manual']}));})[_0x551623(0x255)](_0x49db5b[_0x551623(0x23e)],![],_0x15f5a6=>{const _0x4b694d=_0x551623;return _0x15f5a6[_0x4b694d(0x230)](_0x4b694d(0x266),{'type':_0x4b694d(0x1d1),'description':_0x4b694d(0x2c8),'demandOption':!![]});},async _0x6ac124=>{await _0x3c80c2['XMzIk'](withTelemetry,_0x3c80c2['NGcfg'],async()=>{const _0x3f2dd6=_0x4d9f,_0x3112ea=process['env'][_0x3f2dd6(0x25d)],_0x465620=process[_0x3f2dd6(0x1e0)]['RANGER_TEST_PASSWORD'];_0x3c80c2[_0x3f2dd6(0x215)](!_0x3112ea,!_0x465620)&&(console[_0x3f2dd6(0x210)]('Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.'),process[_0x3f2dd6(0x2cd)](0x1));const _0x3510b9=_0x6ac124['name'],_0x443911=await _0x3c80c2['XMzIk'](serverSideLogin,_0x3510b9,{'force':!![]});_0x443911['status']===_0x3f2dd6(0x2e9)&&(console[_0x3f2dd6(0x210)](_0x3f2dd6(0x29c)),process[_0x3f2dd6(0x2cd)](0x1)),_0x3c80c2[_0x3f2dd6(0x30d)](_0x443911[_0x3f2dd6(0x1b6)],_0x3c80c2['KwCkN'])&&(console['error']('Login\x20failed:\x20'+(_0x443911[_0x3f2dd6(0x210)]??_0x3c80c2[_0x3f2dd6(0x1f1)])),_0x443911['test_output']&&console[_0x3f2dd6(0x210)](_0x443911['test_output']),process[_0x3f2dd6(0x2cd)](0x1)),console['log'](_0x3f2dd6(0x1c1)+_0x3510b9+_0x3f2dd6(0x1b7));});})['command'](_0x49db5b[_0x551623(0x214)],![],_0x44cbb5=>{const _0x1e8ec9=_0x551623;return _0x44cbb5['positional'](_0x1e8ec9(0x30f),{'type':_0x1e8ec9(0x1d1),'description':_0x49db5b[_0x1e8ec9(0x30a)]})['option']('all',{'type':_0x49db5b['fPiHT'],'description':_0x1e8ec9(0x182),'default':![]})['option']('dry-run',{'type':_0x49db5b['fPiHT'],'description':_0x49db5b['hbwtX'],'default':![]})[_0x1e8ec9(0x27b)](_0x1e8ec9(0x26a),{'type':'boolean','alias':'y','description':_0x49db5b['AmsUP'],'default':![]})[_0x1e8ec9(0x27b)](_0x1e8ec9(0x22f),{'type':_0x49db5b['fPiHT'],'description':_0x49db5b[_0x1e8ec9(0x15b)],'default':![]});},async _0x5dd414=>{const _0x1ccd13=_0x551623;await withTelemetry('profile\x20migrate',_0xa7e40d=>migrateProfile({'profileName':_0x5dd414['profile-name'],'all':_0x5dd414['all'],'dryRun':_0x5dd414[_0x1ccd13(0x22b)],'yes':_0x5dd414[_0x1ccd13(0x26a)],'saveCreds':_0x5dd414['save-creds']},_0xa7e40d));})['command'](_0x551623(0x311),_0x551623(0x1d2),_0x3a071a=>{const _0x51eb43=_0x551623,_0x49ba1e={'slMIl':_0x49db5b['epOtg'],'sVTbs':_0x51eb43(0x15d),'EPqeB':_0x51eb43(0x2da),'rQOnH':_0x49db5b[_0x51eb43(0x2eb)],'mGXGB':function(_0x42d89e,_0x4a21d2,_0x51bec3){return _0x42d89e(_0x4a21d2,_0x51bec3);},'yZURH':'profile\x20config\x20get','xpoMD':function(_0x55579a,_0x25c97c,_0x4503f1){return _0x55579a(_0x25c97c,_0x4503f1);},'GEzAs':_0x49db5b['mHcde']};return _0x3a071a['usage'](PROFILE_CONFIG_HELP)[_0x51eb43(0x255)](_0x49db5b[_0x51eb43(0x244)],_0x49db5b['NtaTY'],_0xbe5cad=>{const _0x3b163e=_0x51eb43;return _0xbe5cad[_0x3b163e(0x230)](_0x49ba1e[_0x3b163e(0x21b)],{'type':_0x3b163e(0x1d1),'description':_0x3b163e(0x16e),'demandOption':!![]})['positional']('key',{'type':_0x3b163e(0x1d1),'description':_0x49ba1e[_0x3b163e(0x1f6)],'demandOption':!![]})['positional'](_0x49ba1e['EPqeB'],{'type':_0x49ba1e[_0x3b163e(0x1b3)],'description':_0x3b163e(0x25a),'demandOption':!![]});},async _0x45370a=>{const _0x42be6d=_0x51eb43;await withTelemetry(_0x42be6d(0x2d2),()=>configSet(_0x45370a['profile'],_0x45370a[_0x42be6d(0x278)],_0x45370a[_0x42be6d(0x2da)]));})[_0x51eb43(0x255)](_0x49db5b[_0x51eb43(0x24f)],_0x51eb43(0x1ec),_0x1a9545=>{const _0x1accad=_0x51eb43;return _0x1a9545[_0x1accad(0x230)](_0x1accad(0x18a),{'type':'string','description':_0x3c80c2[_0x1accad(0x235)],'demandOption':!![]})[_0x1accad(0x230)](_0x1accad(0x278),{'type':_0x3c80c2[_0x1accad(0x176)],'description':_0x3c80c2['yqMcT'],'demandOption':!![]});},async _0x5283d6=>{const _0x4cb9f7=_0x51eb43;await _0x49ba1e['mGXGB'](withTelemetry,_0x49ba1e['yZURH'],()=>configGet(_0x5283d6['profile'],_0x5283d6[_0x4cb9f7(0x278)]));})['command']('list\x20<profile>',_0x51eb43(0x291),_0x1ecf3d=>{const _0x191841=_0x51eb43;return _0x1ecf3d[_0x191841(0x230)](_0x49ba1e['slMIl'],{'type':_0x49ba1e[_0x191841(0x1b3)],'description':'Profile\x20name','demandOption':!![]});},async _0x21274e=>{const _0x424017=_0x51eb43;await withTelemetry(_0x3c80c2['amTNV'],()=>configList(_0x21274e[_0x424017(0x18a)]));})[_0x51eb43(0x255)](_0x49db5b['eMfkv'],'Remove\x20a\x20config\x20value',_0x43f8f3=>{const _0x2295e2=_0x51eb43;return _0x43f8f3['positional'](_0x2295e2(0x18a),{'type':_0x3c80c2['YtfXD'],'description':_0x3c80c2['EmLQp'],'demandOption':!![]})['positional'](_0x2295e2(0x278),{'type':'string','description':_0x2295e2(0x312),'demandOption':!![]});},async _0x55557f=>{const _0x90b2f1=_0x51eb43;await _0x49ba1e['xpoMD'](withTelemetry,_0x49ba1e['GEzAs'],()=>configUnset(_0x55557f[_0x90b2f1(0x18a)],_0x55557f['key']));})['command'](_0x51eb43(0x2b8),_0x51eb43(0x172),_0x24d96f=>{const _0x10786d=_0x51eb43;return _0x24d96f[_0x10786d(0x230)](_0x49ba1e[_0x10786d(0x21b)],{'type':_0x10786d(0x1d1),'description':_0x10786d(0x16e),'demandOption':!![]});},async _0x4a2ea8=>{const _0x4be677=_0x51eb43;await _0x3c80c2['lgMnH'](withTelemetry,'profile\x20config\x20reset',()=>configReset(_0x4a2ea8[_0x4be677(0x18a)]));})[_0x51eb43(0x2a2)](0x1,_0x49db5b[_0x51eb43(0x165)]);})[_0x551623(0x2a2)](0x1,_0x49db5b[_0x551623(0x2b5)]);})['command']('status',_0x4646f3(0x24e),()=>{},async()=>{await withTelemetry(_0x49db5b['ABSzt'],()=>status());})['command'](_0x4646f3(0x20f),_0x49db5b[_0x4646f3(0x1e6)],()=>{},async()=>{const _0x263f62=_0x4646f3;await _0x49db5b['YvCaF'](withTelemetry,_0x49db5b[_0x263f62(0x174)],()=>update());})['command'](_0x4646f3(0x296),_0x49db5b['RIHtM'],()=>{},async()=>{await _0x49db5b['YvCaF'](withTelemetry,'print-access-token',async()=>{const _0x11c590=_0x4d9f,_0x5be800=await _0x49db5b[_0x11c590(0x20c)](getToken);if(!_0x5be800)throw new Error(_0x49db5b[_0x11c590(0x234)]);console['log'](_0x5be800);});})[_0x4646f3(0x255)]('go',_0x49db5b['QiCqv'],_0x33dcd9=>{const _0x50ad96=_0x4646f3;return _0x33dcd9[_0x50ad96(0x27b)]('feature',{'type':_0x50ad96(0x1d1),'description':'Optional\x20feature\x20ID'})['option'](_0x49db5b['epOtg'],{'type':_0x49db5b['mXJVw'],'description':_0x50ad96(0x168)})['option']('notes',{'type':_0x49db5b[_0x50ad96(0x2eb)],'description':_0x49db5b['KDeXN']})[_0x50ad96(0x27b)](_0x50ad96(0x26e),{'type':_0x49db5b[_0x50ad96(0x2eb)],'description':_0x49db5b['RvhIg']})[_0x50ad96(0x27b)](_0x49db5b[_0x50ad96(0x18b)],{'type':_0x49db5b['tHuou'],'description':_0x50ad96(0x1e4)})[_0x50ad96(0x27b)](_0x49db5b[_0x50ad96(0x299)],{'type':'string','description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})[_0x50ad96(0x27b)](_0x49db5b['ohnyy'],{'type':_0x49db5b[_0x50ad96(0x2eb)],'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x50ad96(0x27b)]('model',{'type':'string','description':_0x50ad96(0x1d0)})['option']('headed',{'type':_0x49db5b[_0x50ad96(0x19c)],'description':_0x49db5b['SmpUe'],'default':![]})['option'](_0x49db5b[_0x50ad96(0x239)],{'type':_0x49db5b['mXJVw'],'array':!![],'alias':_0x49db5b[_0x50ad96(0x26d)],'description':_0x49db5b[_0x50ad96(0x241)]})[_0x50ad96(0x27b)](_0x49db5b[_0x50ad96(0x1f5)],{'type':_0x49db5b[_0x50ad96(0x19c)],'description':_0x49db5b[_0x50ad96(0x2e0)],'default':![]})[_0x50ad96(0x27b)]('debug-outcome',{'type':'string','hidden':!![],'choices':[_0x49db5b[_0x50ad96(0x2e2)],_0x49db5b['EKPJx'],'blocked',_0x50ad96(0x27e),'incomplete']})['option'](_0x50ad96(0x17d),{'type':_0x49db5b[_0x50ad96(0x19c)],'hidden':!![]})['option'](_0x49db5b['QoYkA'],{'type':'string','description':_0x49db5b['KpBxw']})['option'](_0x49db5b[_0x50ad96(0x270)],{'type':'string','hidden':!![]})['option'](_0x49db5b['AjZYe'],{'type':_0x50ad96(0x173),'hidden':!![]});},async _0x2ab449=>{await _0x49db5b['XLzsW'](runGoCommand,_0x2ab449);})[_0x4646f3(0x255)](_0x4646f3(0x1fc),![],_0x34a40c=>{const _0x590344=_0x4646f3,_0x5f0f69={'wQbxz':_0x590344(0x18a),'IsCSD':_0x49db5b['OaGlw']};return _0x34a40c['command'](_0x49db5b[_0x590344(0x248)],![],_0x57763d=>{const _0x7adbe5=_0x590344;return _0x57763d['positional'](_0x5f0f69[_0x7adbe5(0x254)],{'type':_0x7adbe5(0x1d1),'description':_0x5f0f69[_0x7adbe5(0x307)],'demandOption':!![]});},async _0x282a2b=>{const _0x59c5cb=_0x590344;_0x49db5b['tUrJj'](warnRenamed,'ranger\x20auth\x20encrypt',_0x49db5b['pmKGn']),await _0x49db5b['XLzsW'](authEncrypt,_0x282a2b[_0x59c5cb(0x18a)]);})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command'](_0x49db5b['lgAEQ'],![],_0x3aae50=>{const _0x23d0a9=_0x4646f3;return _0x3aae50['positional'](_0x49db5b[_0x23d0a9(0x25e)],{'type':_0x49db5b[_0x23d0a9(0x2eb)],'description':_0x49db5b[_0x23d0a9(0x1db)]})['option'](_0x49db5b[_0x23d0a9(0x167)],{'type':_0x49db5b['fPiHT'],'description':_0x49db5b[_0x23d0a9(0x271)],'default':![]})['option'](_0x49db5b[_0x23d0a9(0x242)],{'type':'string','choices':[_0x23d0a9(0x180)],'hidden':!![],'description':_0x49db5b['wDuSg']})[_0x23d0a9(0x27b)](_0x23d0a9(0x1e3),{'type':'string','description':_0x49db5b[_0x23d0a9(0x190)]})['option'](_0x49db5b['sUxuQ'],{'type':_0x49db5b[_0x23d0a9(0x19c)],'description':_0x49db5b['rfPmz'],'default':![]})['option'](_0x49db5b[_0x23d0a9(0x223)],{'type':_0x23d0a9(0x178),'description':_0x49db5b['dfhyq'],'default':![]})['option']('with-deps',{'type':'boolean','description':_0x49db5b[_0x23d0a9(0x2cb)],'default':![]});},async _0xe7c0a5=>{const _0x1c8f53=_0x4646f3;_0x49db5b[_0x1c8f53(0x313)](warnRenamed,'ranger\x20start','ranger\x20setup'),await withTelemetry('start',_0x30ea23=>start(_0xe7c0a5['token'],{'skipChromium':_0xe7c0a5['skip-chromium'],'skipAuth':_0xe7c0a5[_0x1c8f53(0x1fe)],'withDeps':_0xe7c0a5[_0x1c8f53(0x29b)],'scope':_0xe7c0a5['scope'],'url':_0xe7c0a5[_0x1c8f53(0x1e3)],'force':_0xe7c0a5['force']},_0x30ea23));})[_0x4646f3(0x255)](_0x49db5b['QwUJN'],![],_0x3bdce9=>{const _0x3be66c=_0x4646f3;return _0x3bdce9[_0x3be66c(0x27b)]('env',{'type':_0x49db5b[_0x3be66c(0x2eb)],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})['option'](_0x49db5b[_0x3be66c(0x270)],{'type':_0x3be66c(0x1d1),'description':_0x49db5b['UMTEj']})[_0x3be66c(0x27b)]('item',{'type':_0x3be66c(0x173),'description':_0x49db5b['zbrkk']})['option'](_0x3be66c(0x18a),{'type':_0x49db5b[_0x3be66c(0x2eb)],'hidden':!![]})['option']('notes',{'type':_0x3be66c(0x1d1),'hidden':!![]})['option']('scenario',{'type':_0x3be66c(0x173),'hidden':!![]})['option']('start-path',{'type':_0x49db5b[_0x3be66c(0x2eb)],'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})['option'](_0x49db5b['ohnyy'],{'type':_0x49db5b['mXJVw'],'description':_0x3be66c(0x1ad)})[_0x3be66c(0x27b)](_0x49db5b['LcosZ'],{'type':'string','hidden':!![]})['option'](_0x49db5b['pPyNY'],{'type':_0x3be66c(0x178),'hidden':!![],'default':![]})['option']('env-var',{'type':_0x49db5b['mXJVw'],'array':!![],'alias':'environment-variable','hidden':!![]})['option']('debug-outcome',{'type':_0x49db5b['mXJVw'],'hidden':!![],'choices':['verified','partial',_0x3be66c(0x275),_0x49db5b['FDqoQ'],'incomplete']});},async _0x13d853=>{await runGoCommand(_0x13d853,!![]);})['command'](_0x49db5b['fXYyW'],![],_0x310bfc=>{const _0x4678be=_0x4646f3;return _0x310bfc[_0x4678be(0x230)](_0x49db5b[_0x4678be(0x293)],{'type':_0x49db5b['mXJVw'],'description':_0x49db5b['iqwIu'],'demandOption':!![]})[_0x4678be(0x27b)]('ci',{'type':_0x4678be(0x178),'description':_0x4678be(0x198),'default':![]})[_0x4678be(0x27b)](_0x49db5b['syZxS'],{'type':'boolean','description':_0x49db5b[_0x4678be(0x2a7)],'default':![]});},async _0x26cc6e=>{const _0x26ae0b=_0x4646f3;_0x49db5b[_0x26ae0b(0x2a1)](warnRenamed,_0x26ae0b(0x1e2),_0x26ae0b(0x191)),await withTelemetry(_0x49db5b['GsVSP'],_0x42a4c2=>addEnv(_0x26cc6e['env-name'],{'ci':_0x26cc6e['ci'],'skipAuth':_0x26cc6e['skip-auth']},_0x42a4c2));})['command']('use\x20<env-name>',![],_0x145a93=>{const _0x4b3add=_0x4646f3;return _0x145a93[_0x4b3add(0x230)]('env-name',{'type':_0x49db5b['mXJVw'],'description':_0x49db5b[_0x4b3add(0x1bf)],'demandOption':!![]});},async _0x5b27ba=>{const _0x377eb6=_0x4646f3;_0x49db5b[_0x377eb6(0x313)](warnRenamed,_0x377eb6(0x22d),_0x377eb6(0x1fb)),await withTelemetry(_0x49db5b[_0x377eb6(0x2e7)],()=>useEnv(_0x5b27ba[_0x377eb6(0x225)]));})['command'](_0x49db5b[_0x4646f3(0x2ac)],![],_0x4edaf0=>{const _0x6d6866=_0x4646f3,_0x447802={'lkqtg':_0x49db5b['DByzv'],'ZHxvT':'key','Yqtiu':_0x6d6866(0x1d1),'IAQws':_0x49db5b[_0x6d6866(0x286)]};return _0x4edaf0['command'](_0x49db5b['QOIxz'],![],_0x28e67b=>{const _0x3cf0cc=_0x6d6866;return _0x28e67b[_0x3cf0cc(0x230)](_0x3cf0cc(0x1e0),{'type':'string','description':_0x447802[_0x3cf0cc(0x2ad)],'demandOption':!![]})[_0x3cf0cc(0x230)](_0x447802['ZHxvT'],{'type':_0x447802[_0x3cf0cc(0x2c6)],'description':_0x447802['IAQws'],'demandOption':!![]})['positional'](_0x3cf0cc(0x2da),{'type':_0x3cf0cc(0x1d1),'description':'Config\x20value','demandOption':!![]});},async _0x3adaf9=>{const _0x36fc4c=_0x6d6866;_0x49db5b[_0x36fc4c(0x313)](warnRenamed,_0x49db5b[_0x36fc4c(0x31a)],'ranger\x20profile\x20config\x20set'),await _0x49db5b['YaCrM'](withTelemetry,'config\x20set',()=>configSet(_0x3adaf9[_0x36fc4c(0x1e0)],_0x3adaf9['key'],_0x3adaf9['value']));})['command'](_0x6d6866(0x26f),![],_0x14581f=>{const _0x25dceb=_0x6d6866;return _0x14581f[_0x25dceb(0x230)]('env',{'type':'string','description':_0x49db5b['DByzv'],'demandOption':!![]})[_0x25dceb(0x230)](_0x49db5b[_0x25dceb(0x2be)],{'type':_0x25dceb(0x1d1),'description':_0x49db5b['RjUHy'],'demandOption':!![]});},async _0x2c233c=>{const _0x214fe0=_0x6d6866;_0x49db5b['KRTYs'](warnRenamed,_0x49db5b['eCPGq'],_0x214fe0(0x186)),await withTelemetry(_0x49db5b[_0x214fe0(0x27d)],()=>configGet(_0x2c233c[_0x214fe0(0x1e0)],_0x2c233c[_0x214fe0(0x278)]));})[_0x6d6866(0x255)](_0x49db5b[_0x6d6866(0x196)],![],_0x5a9b82=>{const _0x2b1a04=_0x6d6866;return _0x5a9b82['positional'](_0x2b1a04(0x1e0),{'type':_0x49db5b[_0x2b1a04(0x2eb)],'description':_0x2b1a04(0x282),'demandOption':!![]});},async _0x32424d=>{const _0x35d647=_0x6d6866;_0x49db5b[_0x35d647(0x1ea)](warnRenamed,'ranger\x20config\x20list','ranger\x20profile\x20config\x20list'),await withTelemetry(_0x49db5b[_0x35d647(0x288)],()=>configList(_0x32424d[_0x35d647(0x1e0)]));})['command'](_0x49db5b[_0x6d6866(0x1b1)],![],_0x260c52=>{const _0x2f7ec3=_0x6d6866;return _0x260c52[_0x2f7ec3(0x230)](_0x49db5b['QoYkA'],{'type':_0x49db5b['mXJVw'],'description':_0x2f7ec3(0x282),'demandOption':!![]})['positional'](_0x49db5b['gLOPj'],{'type':_0x2f7ec3(0x1d1),'description':_0x49db5b['YFJrI'],'demandOption':!![]});},async _0x473751=>{const _0x38c7bf=_0x6d6866;_0x49db5b[_0x38c7bf(0x252)](warnRenamed,_0x38c7bf(0x22e),_0x49db5b[_0x38c7bf(0x268)]),await _0x49db5b[_0x38c7bf(0x226)](withTelemetry,_0x38c7bf(0x280),()=>configUnset(_0x473751['env'],_0x473751['key']));})[_0x6d6866(0x2a2)](0x1,_0x49db5b['PEabA']);})[_0x4646f3(0x255)]('env',![],_0x4507c9=>{const _0x4a3dd7=_0x4646f3,_0x201116={'YMUoq':function(_0x2346ae,_0x17359a,_0x2462a5){return _0x2346ae(_0x17359a,_0x2462a5);},'BdZMQ':'env\x20list'};return _0x4507c9['command']('ls',![],()=>{},async()=>{const _0x5546cf=_0x4d9f;warnRenamed('ranger\x20env\x20ls',_0x5546cf(0x283)),await _0x201116['YMUoq'](withTelemetry,_0x201116[_0x5546cf(0x18c)],()=>envList());})[_0x4a3dd7(0x255)](_0x49db5b[_0x4a3dd7(0x179)],![],_0x4be4d3=>{const _0x4c93cf=_0x4a3dd7;return _0x4be4d3['positional']('env-name',{'type':'string','description':_0x49db5b[_0x4c93cf(0x302)],'demandOption':!![]});},async _0x21e3c9=>{warnRenamed(_0x49db5b['caOyF'],_0x49db5b['twhMx']),await _0x49db5b['Hxyhd'](withTelemetry,'env\x20update',_0x4b224e=>updateEnv(_0x21e3c9['env-name'],_0x4b224e));})[_0x4a3dd7(0x2a2)](0x1,_0x49db5b['MMuRI']);})[_0x4646f3(0x255)](_0x49db5b[_0x4646f3(0x15c)],![],_0x143e60=>{const _0x141d5b=_0x4646f3,_0x2b3daf={'nTQXY':'ranger\x20feature\x20create','mDCpu':_0x141d5b(0x1a4),'GjgIy':_0x141d5b(0x228),'lPqlf':'current-branch','EWUhm':_0x49db5b['fPiHT'],'rWYlF':_0x49db5b['eyfwJ'],'EGzYy':_0x49db5b['tHuou'],'mEHMQ':_0x49db5b[_0x141d5b(0x19b)],'yytOG':_0x49db5b['Wadil'],'yMDXv':_0x49db5b['RwZam'],'yXPhb':function(_0x2424c6,_0x31aa7e,_0x545681){return _0x49db5b['ZYBjs'](_0x2424c6,_0x31aa7e,_0x545681);},'bzESX':_0x141d5b(0x212),'rAhjo':'ranger\x20get-review','lsHlN':'feature\x20get-feedback','fvXWK':'ranger\x20delete','IGohC':_0x141d5b(0x2b2),'gNaaI':_0x49db5b[_0x141d5b(0x1cb)]};return _0x143e60['command'](_0x49db5b['mmyiX'],![],_0x37d8b2=>{const _0x282bea=_0x141d5b;return _0x37d8b2['positional'](_0x282bea(0x266),{'type':_0x49db5b['mXJVw'],'description':_0x49db5b[_0x282bea(0x197)],'demandOption':!![]})[_0x282bea(0x27b)](_0x49db5b[_0x282bea(0x28f)],{'type':'string','alias':'d','description':_0x282bea(0x160)})['option'](_0x49db5b[_0x282bea(0x24d)],{'type':_0x49db5b['DJtQN'],'alias':'c','description':_0x49db5b['UTGln']})[_0x282bea(0x27b)](_0x49db5b[_0x282bea(0x18b)],{'type':_0x49db5b[_0x282bea(0x2ce)],'hidden':!![]});},async _0x53d111=>{const _0xf5daab=_0x141d5b;warnRenamed(_0x2b3daf[_0xf5daab(0x290)],_0x2b3daf[_0xf5daab(0x269)]),warnFlagRenamed(_0x2b3daf['mDCpu'],_0xf5daab(0x246),_0x2b3daf[_0xf5daab(0x1d7)]);const _0x3cae84=_0x53d111['scenario']||_0x53d111[_0xf5daab(0x1e5)];await withTelemetry('feature\x20create',()=>featureCreate(_0x53d111['name'],{'description':_0x53d111['description'],'scenarios':_0x3cae84}));})[_0x141d5b(0x255)]('list',![],_0x41852a=>{const _0x408c4b=_0x141d5b;return _0x41852a['option'](_0x2b3daf['lPqlf'],{'type':_0x2b3daf[_0x408c4b(0x256)],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})[_0x408c4b(0x27b)](_0x2b3daf[_0x408c4b(0x1ba)],{'type':_0x2b3daf[_0x408c4b(0x1dd)],'alias':'l','description':_0x2b3daf['mEHMQ'],'default':0xa})['option']('offset',{'type':_0x2b3daf['EGzYy'],'alias':'o','description':_0x2b3daf['yytOG'],'default':0x0})['option']('include-deleted',{'type':'boolean','alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x2bd0d4=>{const _0x28cf0b=_0x141d5b;_0x49db5b['tUrJj'](warnRenamed,_0x49db5b['BhPju'],'ranger\x20list'),await _0x49db5b[_0x28cf0b(0x18f)](withTelemetry,_0x28cf0b(0x301),()=>featureList({'currentBranch':_0x2bd0d4['current-branch'],'limit':_0x2bd0d4[_0x28cf0b(0x2fc)],'offset':_0x2bd0d4[_0x28cf0b(0x204)],'includeDeleted':_0x2bd0d4['include-deleted']}));})[_0x141d5b(0x255)](_0x141d5b(0x2a3),![],_0x2c10c1=>{return _0x2c10c1['positional']('id',{'type':_0x49db5b['mXJVw'],'description':'Feature\x20review\x20ID'});},async _0x3cd44c=>{const _0x448bae=_0x141d5b;warnRenamed(_0x448bae(0x211),_0x448bae(0x28c)),await withTelemetry(_0x49db5b['BHRnL'],()=>featureShow(_0x3cd44c['id']));})[_0x141d5b(0x255)]('resume\x20[id]',![],_0xbf4194=>{const _0x5bcbba=_0x141d5b;return _0xbf4194['positional']('id',{'type':_0x5bcbba(0x1d1),'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x2ad0e2=>{const _0x35de04=_0x141d5b;_0x49db5b[_0x35de04(0x1bd)](warnRenamed,_0x49db5b['RQzRu'],_0x49db5b['deWGO']),await _0x49db5b[_0x35de04(0x1eb)](withTelemetry,_0x35de04(0x1ff),()=>featureResume(_0x2ad0e2['id']));})[_0x141d5b(0x255)](_0x49db5b[_0x141d5b(0x207)],![],_0x49c058=>{const _0x48b29f=_0x141d5b;return _0x49c058['positional'](_0x48b29f(0x23f),{'type':_0x48b29f(0x1d1),'description':_0x49db5b['FnLab'],'demandOption':!![]})[_0x48b29f(0x27b)]('id',{'type':_0x48b29f(0x1d1),'description':_0x48b29f(0x1d9)});},async _0x11fabd=>{const _0x16e587=_0x141d5b;_0x49db5b['saqCA'](warnRenamed,_0x16e587(0x2e5),_0x49db5b[_0x16e587(0x2f1)]),await withTelemetry(_0x49db5b[_0x16e587(0x194)],()=>featureAddScenario(_0x11fabd[_0x16e587(0x23f)],_0x11fabd['id']));})['command'](_0x49db5b['XGWXo'],![],_0x4d34c8=>{const _0x66d1ab=_0x141d5b;return _0x4d34c8['positional']('id',{'type':_0x66d1ab(0x1d1),'description':_0x2b3daf[_0x66d1ab(0x1b9)]});},async _0x2dc93b=>{const _0x206df4=_0x141d5b;_0x2b3daf[_0x206df4(0x28e)](warnRenamed,_0x2b3daf['bzESX'],_0x2b3daf['rAhjo']),await withTelemetry(_0x2b3daf[_0x206df4(0x199)],()=>featureGetReview(_0x2dc93b['id']));})[_0x141d5b(0x255)]('delete\x20[id]',![],_0x919a78=>{const _0x4a9f6b=_0x141d5b;return _0x919a78[_0x4a9f6b(0x230)]('id',{'type':_0x4a9f6b(0x1d1),'description':'Feature\x20review\x20ID'});},async _0x59cb22=>{warnRenamed('ranger\x20feature\x20delete',_0x2b3daf['fvXWK']),await withTelemetry(_0x2b3daf['IGohC'],()=>featureDelete(_0x59cb22['id']));})['command'](_0x141d5b(0x16c),![],_0x57a6bd=>{return _0x57a6bd['positional']('id',{'type':'string','description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x1ffeba=>{const _0x3b28e9=_0x141d5b;warnRenamed(_0x3b28e9(0x17f),'ranger\x20restore'),await withTelemetry(_0x2b3daf['gNaaI'],()=>featureRestore(_0x1ffeba['id']));})['demandCommand'](0x1,_0x49db5b['aWxQy']);})['command'](_0x4646f3(0x187),![],_0x3d3d58=>{const _0x537e82=_0x4646f3,_0x36ab3c={'kjRle':_0x49db5b[_0x537e82(0x1c0)],'EiYEj':_0x49db5b[_0x537e82(0x2eb)]};return _0x3d3d58[_0x537e82(0x255)]('enable',_0x49db5b[_0x537e82(0x1fa)],_0x351b40=>{return _0x351b40['option'](_0x36ab3c['kjRle'],{'type':_0x36ab3c['EiYEj'],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x2038da=>{const _0x74c95b=_0x537e82;await _0x49db5b['KRTYs'](withTelemetry,'hook:enable',()=>hook('enable',_0x2038da[_0x74c95b(0x314)]));})['command']('disable',_0x49db5b[_0x537e82(0x233)],_0x3591b8=>{const _0x5d96a3=_0x537e82;return _0x3591b8['option'](_0x5d96a3(0x314),{'type':_0x49db5b['mXJVw'],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x12d604=>{await _0x49db5b['MSNNj'](withTelemetry,'hook:disable',()=>hook('disable',_0x12d604['session-id']));})['option'](_0x49db5b[_0x537e82(0x2f2)],{'type':_0x537e82(0x1d1),'description':_0x537e82(0x251)})[_0x537e82(0x27b)](_0x537e82(0x314),{'type':_0x537e82(0x1d1),'description':_0x49db5b['SVQWr']});},async _0x93a280=>{const _0x540174=_0x4646f3;_0x93a280['name']&&await _0x49db5b['dsjbV'](hook,_0x93a280[_0x540174(0x266)],_0x93a280['session-id']);})[_0x4646f3(0x2a2)](0x1,_0x4646f3(0x192))['strictCommands']()[_0x4646f3(0x1b5)](async(_0x9120ef,_0x527080,_0x1a76f6)=>{const _0x38b475=_0x4646f3,_0x41769e=_0x49db5b['glybZ'](sanitizeArgs,process[_0x38b475(0x2aa)][_0x38b475(0x292)](0x2)),_0x270c38=getErrorType(_0x9120ef,_0x527080);if(_0x9120ef&&_0x9120ef[_0x38b475(0x1c9)](_0x49db5b['bnFDK'])){const _0x468b7b=process[_0x38b475(0x2aa)][0x2];console[_0x38b475(0x210)]('\x0aUnknown\x20command:\x20'+_0x468b7b),console['error']('Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a');}else{if(_0x9120ef)console[_0x38b475(0x210)]('\x0a'+_0x9120ef+'\x0a');else _0x527080&&console['error'](_0x38b475(0x2e6)+_0x527080['message']+'\x0a');}await logDesirePath({'rawCommand':_0x41769e,'errorMessage':_0x9120ef||_0x527080?.[_0x38b475(0x1df)],'errorType':_0x270c38});const _0x218f3e=_0x49db5b['UeFtX'](getCurrentCollector);_0x218f3e&&await _0x218f3e[_0x38b475(0x1d3)](_0x527080||new Error(_0x49db5b[_0x38b475(0x23b)](_0x9120ef,_0x38b475(0x18d)))),process['exit'](0x1);})[_0x4646f3(0x1af)](_0x49db5b['Maxis'](_0x49db5b['UJAKu']+_0x49db5b['HolER'],_0x49db5b['lwpgP']))[_0x4646f3(0x2d0)]()['alias'](_0x4646f3(0x2d0),'h');}function _0x561d(){const _0x51df93=['Feature\x20review\x20ID\x20to\x20restore','config','Config\x20key\x20to\x20remove','ClPKr','session-id','PLjRJ','log','bouUB','Install\x20OS-level\x20dependencies\x20for\x20Chromium','\x20PARTIAL','ADpCg','QLsad','Ranger\x20API\x20token\x20(rngr_...)','unknown\x20error','Skip\x20the\x20deletion\x20confirmation\x20prompt.','hCQnS','LasKN','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','project','Skip\x20interactive\x20confirmation\x20prompts.','Feature\x20review\x20description','.env','NODE_ENV','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','TphPQ','fLMZT','Skip\x20authentication','PZyOz','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','kMgkM','VAsQS','tWygK','restore\x20<id>','24zLacSY','Profile\x20name','riUBM','mWwzM','add-scenario','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','number','FpXXV','feature','YtfXD','zzIEO','boolean','zsawK','sgKbA','setup:profiles','thvOu','debug-address-comments','Scenario\x20number\x20to\x20edit\x20(1-based)','ranger\x20feature\x20restore','user','btXyZ','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','epOtg','gLqsS','ranger\x20profile\x20config\x20get','hook','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','show','profile','drwRn','BdZMQ','Unknown\x20error','Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.','CeRTJ','kxcvy','ranger\x20profile\x20add','You\x20must\x20specify\x20a\x20command','base-url','wUEYn','QbNjh','aMCrX','NAdeZ','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','lsHlN','ranger\x20setup\x20profiles\x20--scope=','CeUha','fPiHT','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','Run\x20full\x20interactive\x20setup','delete\x20[id]','repeat','API\x20token','pWDSF','ranger\x20create','abeRq','success','560091bWqGCJ','nxvcP','You\x20must\x20specify\x20a\x20config\x20subcommand','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','uJoiH','cKqox','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','exclude-scenario','epilogue','sUxuQ','Lolju','--env','rQOnH','2985246XVcuWj','fail','status','\x27.\x20Session\x20saved.','ChJpJ','yMDXv','rWYlF','add\x20env','Set\x20up\x20a\x20local\x20browser\x20profile','tUrJj','tokenOrSubcommand','VWAGo','fhzkU','✓\x20Login\x20succeeded\x20for\x20\x27','version','get-review','\x20is\x20no\x20longer\x20supported.\x20','FDtKt','Feature\x20review\x20name','create\x20<name>','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','includes','LhuMp','EemRC','GgVlK','Evaluation:\x20','mcp-bootstrap','profile\x20ls','Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.','string','Manage\x20profile\x20configuration','trackCommandError','FnLab','YHpyN','FDqoQ','GjgIy','dnfdH','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','FgGLA','UyhSZ','token','EGzYy','claude','message','env','ecWPW','ranger\x20add\x20env','url','Scenario\x20index\x20(1-based)','checklist','yvqPl','RANGER_AUTH_ENV','add\x20<profile-name>','setup-header','dsjbV','oUvaR','Get\x20a\x20config\x20value','profile\x20update','gBADD','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','SjIHC','jVuUC','1037068NnWkqO','22528746McpWHf','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201','yMqgE','sVTbs','restore','UFrOy','RANGER_PROFILE','dPfqP','ranger\x20profile\x20use','auth','GkwgL','skip-auth','feature\x20resume','length','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201','start','parse','offset','gjLCv','nkCUT','LACmM','profile\x20config\x20unset','edit-scenario\x20<description>','force','dgVbB','fmwVO','viiXw','NYeET','update','error','ranger\x20feature\x20show','ranger\x20feature\x20get-feedback','kZWbG','ZUHhJ','tviIr','safe-mode','\x20BLOCKED','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','--task','ozqFp','slMIl','Auth\x20environment\x20key\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Used\x20with\x20RANGER_TEST_USERNAME\x20for\x20ad-hoc\x20runs,\x20and\x20with\x20--profile\x20to\x20override\x20that\x20profile\x27s\x20pinned\x20env\x20for\x20this\x20run.\x20Required\x20to\x20run\x20an\x20automated\x20login\x20against\x20a\x20bare-localhost\x20target\x20(localhost\x20/\x20127.0.0.1).\x20Also\x20respects\x20RANGER_AUTH_ENV.','mEUPg','environment-variable','list','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','Add\x20profile\x20configuration','start\x20[token]','syZxS','split','env-name','YaCrM','opencode','--scenario','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','verified','dry-run','list\x20<env>','ranger\x20use','ranger\x20config\x20unset','save-creds','positional','item','YPTbW','exrmY','eBTwr','EmLQp','Wadil','verify-feature','Start\x20a\x20fresh\x20one-scenario\x20feature\x20review\x20from\x20this\x20text\x20and\x20verify\x20it.\x20To\x20re-verify,\x20use\x20--scenario;\x20to\x20extend\x20the\x20active\x20review,\x20use\x20`ranger\x20add-scenario`.','Lihvg','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','CeLJk','XTBXi','current-branch','oaEYB','description','Install\x20skills\x20for\x20OpenCode','AYKFg','rgnlH','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','mMPph','profile\x20login','--checklist','ranger\x20verify-feature','lgubF','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','HHkwh','deps','skip-chromium','QjAPI','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','uZlNg','set\x20<profile>\x20<key>\x20<value>','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','saqCA','model','wQbxz','command','EWUhm','Ranger\x20API\x20token','suBwU','kAXGd','Config\x20value','Update\x20authentication\x20for\x20an\x20existing\x20profile','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','RANGER_TEST_USERNAME','TfrjE','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','Subcommand\x20or\x20API\x20token\x20(rngr_...)','evaluation','array','create','vEgsC','name','forEach','zWAHB','mDCpu','yes','thQhW','XLzsW','lVchR','check','get\x20<env>\x20<key>','qqcvX','CFfES','yVbiH','task','Install\x20Chromium\x20browser\x20binary','blocked','trim','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','key','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','get-review\x20[id]','option','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','QmVqS','failed','delete\x20<profile-name>','config\x20unset','profile\x20use','Environment\x20name','ranger\x20profile\x20ls','scope','use','MJpYY','--profile','uJHrP','Name\x20of\x20the\x20profile','daUiy','profile\x20encrypt-auth','ranger\x20show','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','yXPhb','fCZdk','nTQXY','List\x20all\x20config\x20for\x20a\x20profile','slice','ZkbOJ','naSek','CQFQk','print-access-token','nEtXm','CYJfS','FzMMi','get\x20<profile>\x20<key>','with-deps','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','update\x20<profile-name>','wDuSg','Delete\x20a\x20cloud\x20profile','ofbji','demandCommand','show\x20[id]','add-scenario\x20<description>','cwd','zPYKa','irZEp','LmXHa','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','argv','dyyki','QWAOy','lkqtg','Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','add\x20env\x20<env-name>','List\x20all\x20feature\x20reviews','ranger\x20resume','feature\x20delete','notes','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','TzbmD','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','JxDCV','reset\x20<profile>','250647rbjWEl','debug-outcome','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','json','xIqsw','gLOPj','config\x20list','AwvMX','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','config\x20get','allow-url-mismatch','rYCbd','Install\x20scope\x20for\x20skills','Yqtiu','feature\x20show','Cloud\x20profile\x20name','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','68jlzats','MXWBy','EIKnp','exit','DJtQN','YsqoE','help','Wouow','profile\x20config\x20set','--item','delete','mcp','bRSCt','evaluationReason','Example:\x20ranger\x20create\x20my-feature','xsldf','value','\x20FAILED','start-path','SKAzk','mOiZG','UcaQW','TDvnf','aGBKv','qJphd','hYWjr','eraKc','ranger\x20feature\x20add-checklist-item','\x0aError:\x20','CmXMo','--notes','not_configured','eyzAe','mXJVw','skills','mZixf','Feature\x20review\x20ID','YFNpF','scenario','uzqMS','FjSnB','Config\x20key','use\x20<profile-name>','579740LNIxBu','ranger\x20env\x20update','135035Uqppnv','usage','partial','xRUUW','ranger\x20config\x20set','limit','OaGlw','allow-insecure-localhost','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','issues','feature\x20list','ZkFBx','Base\x20URL\x20of\x20the\x20running\x20app','Number\x20of\x20feature\x20reviews\x20to\x20skip','manual','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','IsCSD','ranger\x20go','playwright-cli','TXCXK','rfPmz','tHuou','jQlkf','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','profile-name'];_0x561d=function(){return _0x51df93;};return _0x561d();}process['env'][_0x171629(0x162)]!=='test'&&(shouldShowLegacyWarning(process[_0x171629(0x2aa)])&&showLegacyDeprecationWarning(),buildParser()[_0x171629(0x203)]());
2
+ const _0x4b7cc1=_0x9665;(function(_0x457c5c,_0x52e1a9){const _0x518710=_0x9665,_0x5aedd5=_0x457c5c();while(!![]){try{const _0x4e8120=-parseInt(_0x518710(0x315))/0x1+-parseInt(_0x518710(0x1f7))/0x2*(-parseInt(_0x518710(0x2fb))/0x3)+-parseInt(_0x518710(0x2c8))/0x4+parseInt(_0x518710(0x274))/0x5+-parseInt(_0x518710(0x358))/0x6*(parseInt(_0x518710(0x1ff))/0x7)+-parseInt(_0x518710(0x26a))/0x8+parseInt(_0x518710(0x29e))/0x9*(parseInt(_0x518710(0x26f))/0xa);if(_0x4e8120===_0x52e1a9)break;else _0x5aedd5['push'](_0x5aedd5['shift']());}catch(_0x59d471){_0x5aedd5['push'](_0x5aedd5['shift']());}}}(_0x591d,0xd8113));import _0x598c77 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x1c0781=_0x9665,_0x322f85={'jqQAs':function(_0x351c1d,_0x2e33d8){return _0x351c1d(_0x2e33d8);},'cZrTs':function(_0x5e166b,_0x292938){return _0x5e166b!==_0x292938;},'ukpvC':function(_0x36d14b,_0x375a55,_0x39fc85){return _0x36d14b(_0x375a55,_0x39fc85);},'gGtbx':'.env'};let _0x2e496f=process[_0x1c0781(0x2c4)]();const _0x521582=_0x322f85['jqQAs'](parse,_0x2e496f)[_0x1c0781(0x2c5)];while(_0x322f85[_0x1c0781(0x238)](_0x2e496f,_0x521582)){if(existsSync(_0x322f85[_0x1c0781(0x377)](join,_0x2e496f,'.ranger'))||existsSync(join(_0x2e496f,_0x322f85[_0x1c0781(0x1fb)])))return _0x2e496f;_0x2e496f=_0x322f85['jqQAs'](dirname,_0x2e496f);}return process['cwd']();}_0x598c77['config']({'path':join(findProjectRoot(),'.env')});import _0x56e5ec from'yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{parseActors}from'./commands/utils/actors.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on'](_0x4b7cc1(0x273),async _0x48fe6a=>{const _0x5631d9=_0x4b7cc1,_0x53532f={'yXBka':function(_0x2ca44c){return _0x2ca44c();}},_0x347a6a=_0x53532f[_0x5631d9(0x30d)](getCurrentCollector);_0x347a6a&&await _0x347a6a[_0x5631d9(0x1f1)](_0x48fe6a),process[_0x5631d9(0x369)]=0x1;});function _0x591d(){const _0x55beac=['wdcOP','hook:enable','OaNJH','Name\x20of\x20the\x20profile','HAQSE','JJkGi','ZSwPv','profile\x20update','exit','skip-chromium','RxeTQ','limit','kMlLB','vZdtC','UNBHy','IOeaI','flatMap','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','CPmIu','XhRag','\x20BLOCKED','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','Set\x20a\x20config\x20value','lKYiS','cwd','root','QMXdt','dAOuU','4971372VwnhqQ','base-url','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','nmZqn','scOIc','fECIy','XWCbV','--env','demandCommand','includes','\x20is\x20now\x20','NnUSD','setup:all','help','hqVYq','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','mcp','argv','MXewQ','vbLLs','ByIGc','error','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','report','reset\x20<profile>','safe-mode','Scenario\x20description','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','rktBD','API\x20token','yAskr','feature\x20add-checklist-item','CVgaC','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','include-deleted','yes','zNiBb','USNgv','tAouV','Skip\x20the\x20deletion\x20confirmation\x20prompt.','hHCsG','Wlhkw','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','user','evaluationReason','RBbnK','profile\x20config\x20get','list\x20<env>','36zrUUuF','HGYTh','idGnj','nnvbQ','GJzpc','zODxY','UiHQF','ngphH','pQhEU','MwbtX','Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','ranger\x20feature\x20show','ViCWU','ranger\x20create','--notes','XWoeQ','MJKeN','config\x20list','yXBka','setup-ci','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','dbHlz','FZxON','WmRPz','807817pLxYCU','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','env-name','Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.','Install\x20Ranger\x20skills','KxNBT','IyiNw','show','xfbgl','KzlQa','Install\x20Chromium\x20browser\x20binary','profile\x20login','RANGER_PROFILE','edit-scenario','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','organizationName','AVUwG','CPREq','profile\x20migrate','zyXjr','env','vCqUj','Multi-actor\x20runs\x20currently\x20support\x20up\x20to\x202\x20actors.\x20(--actor\x20is\x20repeatable;\x20v1\x20caps\x20at\x202.)','fxZgY','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','encrypt\x20<profile>','startsWith','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','add-scenario','ranger\x20feature\x20add-checklist-item','CkNsU','gnuuH','jgVHg','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','Feature\x20review\x20description','ycWnz','task','slice','vGoIj','print-access-token','GViln','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','Number\x20of\x20feature\x20reviews\x20to\x20skip','BHAIx','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','description','boolean','key','deps','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','ranger\x20delete','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201','QIhgj','feature\x20create','ranger\x20add\x20env','QOuHe','tUxAq','Unknown\x20command','TrbdT','kropp','offset','blocked','OFuzB','partial','hjVgI','usage','profile\x20use','12FwzMqb','eKuIk','mIUWN','start-path','string','TXUMZ','login\x20<name>','BDLfd','aDnBW','fail','\x0aIssues:','Get\x20a\x20config\x20value','profile\x20config\x20set','orszT','profile','environment-variable','tokenOrSubcommand','exitCode','ezDeW','checklist','EWJKL','ZzaFG','incomplete','bsFFp','cozAa','profile\x20config\x20reset','OVacl','actor','Proceed\x20even\x20when\x20the\x20selected\x20scenario\x20names\x20a\x20URL\x20on\x20a\x20different\x20origin\x20than\x20the\x20resolved\x20target','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','map','ukpvC','FUyiY','TdbgA','TVvMi','failed','get-review','profile\x20add','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','hVhMr','lZRfj','oUnox','nvqPs','length','rjMGQ','ranger\x20get-review','ranger\x20go','JWFXq','oDqkB','restore\x20<id>','debug-address-comments','TEdVg','Subcommand\x20or\x20API\x20token\x20(rngr_...)','not_configured','nqsjS','command','qpEgy','create\x20<name>','cEtzb','jPpRG','VfKKH','gRfzf','all','amFWA','project','ykdlT','evaluation','AkDtp','DOyAn','xABCK','XPzgW','XCKVl','wgzRH','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','Feature\x20review\x20name','ZcMAO','add\x20env','List\x20all\x20config\x20for\x20a\x20profile','oyjdB','log','scenario','config\x20unset','Scenario\x20number\x20to\x20edit\x20(1-based)','repeat','lsQrL','cYxjf','cqaoL','current-branch','NODE_ENV','HbSxf','disable','test_output','trackCommandError','Scenario\x20index\x20(1-based)','jckNv','fFnIN','TmFuF','list','24938vzvdxo','parse','ranger\x20feature\x20get-feedback','ranger\x20add-scenario','gGtbx','issues','verify-feature','rangerwright-cli','1123171PPDHWo','Multi-actor\x20runs\x20need\x20pre-created\x20profiles\x20—\x20unset\x20RANGER_TEST_USERNAME\x20(no\x20ad-hoc\x20materialization).\x20Create\x20each\x20profile\x20with\x20`ranger\x20profile\x20add\x20<name>`,\x20then\x20pass\x20--actor\x20<label>=<name>.','--scenario','gcMlx','Skip\x20Chromium\x20browser\x20installation','imYYd','save-creds','strictCommands','GGZTy','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','wYMbR','isArray','token','fzbBw','playwright-cli','YFEPB','VrwVH','status','CbQiU','NZHDb','ranger\x20verify-feature','add-scenario\x20<description>','QRTek','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','TGUDl','session-id','NGezv','Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','IaJyL','name','delete\x20[id]','RANGER_TRANSPORT','EWzIt','test','profile-name','Reason:\x20','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','ddXWJ','wFuOg','version','SObbW','force','IQAGB','NbNUS','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','profile\x20config\x20unset','array','bvpBL','with-deps','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','RqgBI','ibrXf','vdiAV','kNKnV','nkxex','\x20is\x20no\x20longer\x20supported.\x20','set\x20<profile>\x20<key>\x20<value>','cZrTs','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','url','ranger\x20start','DWPBe','resume','.\x20[','uAAIc','uSuxA','opencode','Remove\x20a\x20config\x20value','Profile\x20name','MUqUo','ekoIW','delete','ranger\x20list','ranger\x20use','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','Documentation:\x0a','Add\x20profile\x20configuration','headed','rlLRx','allow-insecure-localhost','ilfdM','--checklist','enable','ranger\x20config\x20set','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','ranger\x20feature\x20create','config\x20get','JZFjD','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','SMsmH','Example:\x20ranger\x20create\x20my-feature','zftcK','SatoZ','Skip\x20browser\x20authentication','kJFYQ','qbYaV','ranger\x20feature\x20resume','item','oYvjL','ranger\x20profile\x20config\x20set','ranger\x20config\x20unset','uMqPR','QeEAH','cdp-endpoint','qkQlS','Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.','13530728UjgPmE','Config\x20key','VthVh','number','Ptyao','10QRAQhd','jbMal','message','IUSQP','unhandledRejection','1386415JyNWKr','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','Feature\x20review\x20ID','json','vBEMy','ranger','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','Environment\x20name','env-var','positional','LNsAN','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','RbEvB','profiles','eWyfL','uoXQk','scope','dry-run','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','aSwMF','Install\x20OS-level\x20dependencies\x20for\x20Chromium','pLcLG','TMQKr','mCKSh','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','sEozU','Name\x20of\x20the\x20environment\x20to\x20update','clean','TZYzF','\x20VERIFIED','skip-auth','RGyYr','feature','Authenticate\x20with\x20Ranger','unknown\x20error','XCQXp','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','yUkCK','skillup','\x0aUnknown\x20command:\x20','qBiDS','40689063LdNHjH','option','tWLIA','You\x20must\x20specify\x20an\x20env\x20subcommand','VlmVF','claude','Unknown\x20error','tyrXL','profile\x20encrypt-auth','Run\x20full\x20interactive\x20setup','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','feature\x20delete','update','add\x20env\x20<env-name>'];_0x591d=function(){return _0x55beac;};return _0x591d();}function _0x9665(_0x50b21d,_0x90bca9){_0x50b21d=_0x50b21d-0x1ca;const _0x591d68=_0x591d();let _0x96658e=_0x591d68[_0x50b21d];return _0x96658e;}const rawArgs=process['argv']['slice'](0x2),TOP_LEVEL_HELP=_0x4b7cc1(0x269),PROFILE_HELP=_0x4b7cc1(0x30f),PROFILE_CONFIG_HELP=_0x4b7cc1(0x348);function warnRenamed(_0x202ae8,_0x19d9c8){const _0x2898dd=_0x4b7cc1;console[_0x2898dd(0x2de)]('\x0a'+_0x202ae8+_0x2898dd(0x2d3)+_0x19d9c8+'\x0a');}function argUsed(_0x3a3a17){const _0x4c1f85=_0x4b7cc1;return rawArgs['some'](_0x5c48ab=>_0x5c48ab===_0x3a3a17||_0x5c48ab[_0x4c1f85(0x32f)](_0x3a3a17+'='));}function warnFlagRenamed(_0x2cfd93,_0x5dd962,_0x352538){const _0xaf9712=_0x4b7cc1,_0x262a7b={'DOyAn':function(_0x7943f1,_0x12c4aa,_0x3235a1){return _0x7943f1(_0x12c4aa,_0x3235a1);}};argUsed(_0x5dd962)&&_0x262a7b[_0xaf9712(0x1d9)](warnRenamed,_0x2cfd93+'\x20'+_0x5dd962,_0x2cfd93+'\x20'+_0x352538);}function normalizeEnvVarNames(_0x528b4a){const _0x464dc6=_0x4b7cc1,_0x162c70=Array[_0x464dc6(0x20a)](_0x528b4a)?_0x528b4a:_0x528b4a?[_0x528b4a]:[];return _0x162c70[_0x464dc6(0x2bc)](_0x3d2052=>String(_0x3d2052)['split'](',')[_0x464dc6(0x376)](_0x50d251=>_0x50d251['trim']())['filter'](Boolean));}async function runGoCommand(_0x502831,_0x345fd7=![]){const _0x227493=_0x4b7cc1,_0x546396={'tIUdr':_0x227493(0x213),'smyVu':_0x227493(0x2d0),'fzbBw':function(_0x41b7a7,_0x2e5505,_0x52da1b,_0x4528db){return _0x41b7a7(_0x2e5505,_0x52da1b,_0x4528db);},'bsFFp':'--task','vZdtC':_0x227493(0x309),'GHmSA':_0x227493(0x201),'sspyo':function(_0x5198bd){return _0x5198bd();},'pLcLG':function(_0x4bb70f,_0x29ccee){return _0x4bb70f(_0x29ccee);},'vbLLs':_0x227493(0x27c),'RTCdg':function(_0xff9756){return _0xff9756();},'BIooX':_0x227493(0x200),'mpfpW':_0x227493(0x20d),'RxeTQ':function(_0x5ecb7f,_0x26ade4){return _0x5ecb7f!==_0x26ade4;},'nBnfd':_0x227493(0x1fe),'imACC':_0x227493(0x35b),'IaJyL':_0x227493(0x2c9),'orszT':'debug-outcome','fFnIN':'verified','XCKVl':'incomplete','gvJdS':'partial','CPREq':_0x227493(0x2c0),'ZzaFG':'\x20FAILED','scOIc':function(_0x418877,_0x23a0e6){return _0x418877===_0x23a0e6;}};_0x345fd7&&(warnRenamed(_0x546396['tIUdr'],'ranger\x20go'),warnFlagRenamed(_0x546396['tIUdr'],_0x546396['smyVu'],'--profile'));_0x546396[_0x227493(0x20c)](warnFlagRenamed,_0x227493(0x386),_0x546396[_0x227493(0x36f)],_0x546396[_0x227493(0x2b9)]),_0x546396['fzbBw'](warnFlagRenamed,'ranger\x20go','--item',_0x546396['GHmSA']);const _0x39267a=await _0x546396['sspyo'](loadRangerConfig),_0x526490=isByokEnabled(),_0x52aea7=_0x502831['model'],_0x55f42c=_0x39267a['model'],_0x4f540d=_0x546396[_0x227493(0x289)](normalizeEnvVarNames,_0x502831[_0x546396[_0x227493(0x2dc)]]),_0x30c207=_0x546396['RTCdg'](getVerificationTransport),_0x17b3a4=parseActors(_0x502831[_0x227493(0x373)]);if(_0x17b3a4['length']>0x2)throw new Error(_0x227493(0x32b));if(_0x17b3a4['length']>=0x2){if(process[_0x227493(0x329)]['RANGER_TEST_USERNAME'])throw new Error(_0x546396['BIooX']);_0x30c207!=='playwright-cli'&&(console['log']('Multi-actor\x20run\x20→\x20using\x20RANGER_TRANSPORT=playwright-cli\x20(required\x20for\x20per-actor\x20session\x20isolation).'),process['env'][_0x227493(0x21e)]=_0x546396['mpfpW']);}if(_0x4f540d[_0x227493(0x383)]>0x0&&_0x30c207!==_0x546396['mpfpW']&&_0x546396[_0x227493(0x2b6)](_0x30c207,_0x546396['nBnfd']))throw new Error(_0x227493(0x2e5)+_0x30c207+'.');const _0xa83622=await _0x546396[_0x227493(0x289)](verifyFeature,{'featureId':_0x502831[_0x227493(0x295)],'profile':_0x502831['profile']??(_0x345fd7?_0x502831[_0x227493(0x329)]:undefined)??process[_0x227493(0x329)][_0x227493(0x321)],'authEnv':_0x345fd7?undefined:_0x502831[_0x227493(0x329)]??process['env']['RANGER_AUTH_ENV'],'notes':_0x502831['notes']??_0x502831[_0x227493(0x339)],'check':_0x502831['check'],'scenario':_0x502831[_0x227493(0x1e5)]??_0x502831['item'],'startPath':_0x502831[_0x546396['imACC']],'baseUrl':_0x502831[_0x546396[_0x227493(0x21b)]],'debugOutcome':_0x502831[_0x546396[_0x227493(0x365)]],'debugAddressComments':_0x502831[_0x227493(0x38a)],'headed':_0x502831['headed'],'verifierEnvVars':_0x4f540d,'allowUrlMismatch':_0x502831['allow-url-mismatch'],'byokEnabled':_0x526490,'flagVerifyModel':_0x52aea7,'configVerifyModel':_0x55f42c,'actors':_0x17b3a4['length']?_0x17b3a4:undefined});console[_0x227493(0x1e4)]('\x0a'+'='['repeat'](0x3c)),console['log'](_0xa83622[_0x227493(0x1d7)]===_0x546396[_0x227493(0x1f4)]?_0x227493(0x292):_0xa83622[_0x227493(0x1d7)]===_0x546396[_0x227493(0x1dc)]?'\x20INCOMPLETE':_0xa83622[_0x227493(0x1d7)]===_0x546396['gvJdS']?'\x20PARTIAL':_0xa83622['evaluation']==='blocked'?_0x546396[_0x227493(0x326)]:_0x546396[_0x227493(0x36d)]),console[_0x227493(0x1e4)]('='[_0x227493(0x1e8)](0x3c)),console['log']('Summary:\x20'+_0xa83622['summary']),console['log']('Evaluation:\x20'+_0xa83622['evaluation']),console['log'](_0x227493(0x222)+_0xa83622[_0x227493(0x2f7)]),_0xa83622[_0x227493(0x1fc)]?.['length']&&(console['log'](_0x227493(0x362)),_0xa83622[_0x227493(0x1fc)]['forEach']((_0x108c2a,_0x8b551a)=>{const _0x12b7a0=_0x227493;console[_0x12b7a0(0x1e4)]('\x0a'+(_0x8b551a+0x1)+_0x12b7a0(0x23e)+_0x108c2a['severity']+']\x20'+_0x108c2a['description']);})),process[_0x227493(0x2b4)](_0x546396[_0x227493(0x2cd)](_0xa83622[_0x227493(0x1d7)],_0x546396['fFnIN'])?0x0:0x1);}export function buildParser(_0x16fcc9){const _0x300bbc=_0x4b7cc1,_0x173e8a={'qbYaV':'string','XogAY':_0x300bbc(0x1df),'ibrXf':_0x300bbc(0x342),'cozAa':_0x300bbc(0x22d),'vCqUj':function(_0x418f78,_0x2f6237){return _0x418f78+_0x2f6237;},'jhZFc':_0x300bbc(0x25a),'uMqPR':'--scenario','hqVYq':'create','qkQlS':_0x300bbc(0x343),'MTxkT':_0x300bbc(0x2b7),'FUyiY':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','HAQSE':'offset','xABCK':_0x300bbc(0x2ec),'CVgaC':'Include\x20soft-deleted\x20feature\x20reviews','hjVgI':function(_0x557fa9,_0x761c58,_0x59af5f){return _0x557fa9(_0x761c58,_0x59af5f);},'lKYiS':_0x300bbc(0x276),'kMlLB':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','Wgyfa':_0x300bbc(0x322),'WLShH':'exclude-scenario','GYYZy':_0x300bbc(0x257),'wYMbR':_0x300bbc(0x2df),'lHpYO':_0x300bbc(0x37c),'AkDtp':function(_0x88c9c8,_0x87ce6d,_0x255b66){return _0x88c9c8(_0x87ce6d,_0x255b66);},'XPuLx':_0x300bbc(0x246),'ZSwPv':'mcp-bootstrap','kRMjG':_0x300bbc(0x2d5),'uAAIc':_0x300bbc(0x20b),'AVUwG':'Authenticate\x20via\x20MCP\x20proxy','Mwkio':'Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','tNoTL':'scope','zyXjr':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','UNBHy':function(_0x59b5b4,_0x3ab720){return _0x59b5b4!==_0x3ab720;},'RGyYr':function(_0x15ceb9,_0x1d9c51){return _0x15ceb9!==_0x1d9c51;},'vaVWA':_0x300bbc(0x2f6),'JZFjD':function(_0x12e4aa,_0x4ba9fc){return _0x12e4aa+_0x4ba9fc;},'JWFXq':function(_0xfe1efb,_0x3a22a7,_0x4c5419){return _0xfe1efb(_0x3a22a7,_0x4c5419);},'JJkGi':'setup:profiles','KzlQa':_0x300bbc(0x2ca),'NZHDb':_0x300bbc(0x25d),'ASvfx':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','UJBsA':_0x300bbc(0x38c),'QOuHe':_0x300bbc(0x1d3),'Wlhkw':'login','RbEvB':_0x300bbc(0x296),'gFdKg':'skills','gcMlx':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','tyrXL':_0x300bbc(0x281),'lsQrL':_0x300bbc(0x2b5),'mBjge':_0x300bbc(0x23a),'SatoZ':_0x300bbc(0x228),'vBEMy':'allow-insecure-localhost','zftcK':'skip-auth','BIDhG':_0x300bbc(0x1de),'VthVh':'with-deps','JvRsc':'Ranger\x20API\x20token','XWoeQ':'profile','exbON':_0x300bbc(0x2d8),'hVhMr':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','sNtQl':'Install\x20skills\x20for\x20OpenCode','Fpjsu':_0x300bbc(0x290),'rktBD':_0x300bbc(0x21a),'oUnox':_0x300bbc(0x2a6),'IQAGB':_0x300bbc(0x2f9),'aSwMF':_0x300bbc(0x363),'QNjTz':_0x300bbc(0x242),'TdbgA':_0x300bbc(0x37e),'uSuxA':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','xGHwm':'profile-name','QIhgj':_0x300bbc(0x2e4),'SObbW':_0x300bbc(0x223),'tUxAq':function(_0x42c6df,_0x376168){return _0x42c6df(_0x376168);},'ngefi':'profile\x20delete','MwbtX':'profile\x20ls','PIymI':'Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','uckMZ':'failed','zrqAh':_0x300bbc(0x320),'AzJhf':'dry-run','HbSxf':_0x300bbc(0x327),'eyFnT':_0x300bbc(0x364),'NnUSD':'Config\x20key\x20to\x20remove','pQhEU':'add\x20<profile-name>','YFEPB':'Switch\x20to\x20using\x20a\x20specific\x20profile','uoXQk':'delete\x20<profile-name>','AFtje':'Delete\x20a\x20cloud\x20profile','fECIy':'List\x20all\x20profiles','PnrUZ':'Update\x20authentication\x20for\x20an\x20existing\x20profile','BHAIx':_0x300bbc(0x35e),'bgNXM':'migrate\x20[profile-name]','rlLRx':'config','HJZKI':'You\x20must\x20specify\x20a\x20profile\x20subcommand','IyiNw':function(_0x383927){return _0x383927();},'BDLfd':_0x300bbc(0x33c),'trtXP':'feature','ZciwQ':'Optional\x20feature\x20ID','CuQBO':_0x300bbc(0x22b),'wdcOP':'notes','DVqyj':'check','LdxJH':'Start\x20a\x20fresh\x20one-scenario\x20feature\x20review\x20from\x20this\x20text\x20and\x20verify\x20it.\x20To\x20re-verify,\x20use\x20--scenario;\x20to\x20extend\x20the\x20active\x20review,\x20use\x20`ranger\x20add-scenario`.','jbMal':_0x300bbc(0x1e5),'OVacl':'Scenario\x20index\x20(1-based)','HYkVq':'start-path','lZdOB':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','KxNBT':_0x300bbc(0x24c),'vFAoA':_0x300bbc(0x305),'kropp':_0x300bbc(0x374),'UiHQF':'debug-outcome','qpEgy':'verified','qBiDS':_0x300bbc(0x352),'fLrCu':'debug-address-comments','HGYTh':_0x300bbc(0x329),'nqsjS':'Auth\x20environment\x20key\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Used\x20with\x20RANGER_TEST_USERNAME\x20for\x20ad-hoc\x20runs,\x20and\x20with\x20--profile\x20to\x20override\x20that\x20profile\x27s\x20pinned\x20env\x20for\x20this\x20run.\x20Required\x20to\x20run\x20an\x20automated\x20login\x20against\x20a\x20bare-localhost\x20target\x20(localhost\x20/\x20127.0.0.1).\x20Also\x20respects\x20RANGER_AUTH_ENV.','RBbnK':_0x300bbc(0x339),'OLhyP':'number','mCKSh':function(_0x5e4469,_0x450f0a,_0x454eb6){return _0x5e4469(_0x450f0a,_0x454eb6);},'oDqkB':'ranger\x20profile\x20encrypt-auth','QMXdt':_0x300bbc(0x32e),'sIGwX':'You\x20must\x20specify\x20an\x20auth\x20subcommand','FZxON':_0x300bbc(0x28d),'sWleC':_0x300bbc(0x28c),'xEvrY':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','VUplb':'Skip\x20authentication','tVDao':_0x300bbc(0x23b),'mIUWN':'ranger\x20setup','GViln':'start','QeEAH':_0x300bbc(0x27a),'nnvbQ':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','lZRfj':_0x300bbc(0x2c9),'ZKtlh':'partial','gDmXI':'incomplete','rjMGQ':'env-name','ddXWJ':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','OFuzB':_0x300bbc(0x32d),'CkNsU':function(_0xb7495f,_0x2c0656,_0x502c48){return _0xb7495f(_0x2c0656,_0x502c48);},'XhRag':_0x300bbc(0x34b),'eSmcZ':function(_0x235385,_0x1e7a24,_0x24c14e){return _0x235385(_0x1e7a24,_0x24c14e);},'LnRpK':_0x300bbc(0x1e1),'yNwhU':'Name\x20of\x20the\x20environment','EVaCu':function(_0x4fd3e4,_0x18d2d5,_0x5a6dc8){return _0x4fd3e4(_0x18d2d5,_0x5a6dc8);},'zODxY':_0x300bbc(0x248),'jckNv':'ranger\x20profile\x20use','TZYzF':'use','hQAuB':'config\x20set','EIAsl':'ranger\x20config\x20get','MXewQ':'ranger\x20profile\x20config\x20get','KQcfY':'key','DWPBe':function(_0x2e65a8,_0x318e0e,_0x125c38){return _0x2e65a8(_0x318e0e,_0x125c38);},'SMsmH':_0x300bbc(0x264),'yuWSJ':_0x300bbc(0x1e6),'XWCbV':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','qMcEM':'set\x20<env>\x20<key>\x20<value>','mSOeP':'get\x20<env>\x20<key>','XPzgW':_0x300bbc(0x2fa),'IUSQP':'You\x20must\x20specify\x20a\x20config\x20subcommand','Ptyao':_0x300bbc(0x2a1),'dWDUt':_0x300bbc(0x254),'VfKKH':function(_0x40162c,_0x48ccd0,_0x49ac19,_0x45130c){return _0x40162c(_0x48ccd0,_0x49ac19,_0x45130c);},'ilfdM':function(_0x525a90,_0x175e04,_0x5d21db){return _0x525a90(_0x175e04,_0x5d21db);},'VlmVF':'Number\x20of\x20feature\x20reviews\x20to\x20skip','oYvjL':_0x300bbc(0x260),'LqGRk':'feature\x20resume','gxqWB':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','wFuOg':function(_0x503b47,_0x395ce2,_0x4ef6c8){return _0x503b47(_0x395ce2,_0x4ef6c8);},'zNiBb':_0x300bbc(0x306),'ldLSz':_0x300bbc(0x332),'TVvMi':'ranger\x20feature\x20restore','WuvEv':'feature\x20restore','nchRG':'list','WdCvX':'resume\x20[id]','aDnBW':'add-checklist-item\x20<description>','ymvGm':_0x300bbc(0x389),'zaYlY':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','TrbdT':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','idGnj':function(_0x547aaf,_0x3b9966,_0x2bbf98){return _0x547aaf(_0x3b9966,_0x2bbf98);},'kDrIw':_0x300bbc(0x2ad),'kNKnV':function(_0x20c42b,_0x4d64fd,_0x21716b){return _0x20c42b(_0x4d64fd,_0x21716b);},'VrwVH':_0x300bbc(0x251),'DRuam':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','WmRPz':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','EWJKL':_0x300bbc(0x34e),'KyaPW':function(_0x380243,_0x2c9792){return _0x380243(_0x2c9792);},'TGUDl':_0x300bbc(0x2a4),'eBcas':'List\x20all\x20feature\x20reviews','gRfzf':'show\x20[id]','cEtzb':_0x300bbc(0x214),'mjoOI':_0x300bbc(0x323),'RqgBI':'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','eKuIk':'report\x20[id]','WDjBZ':_0x300bbc(0x299),'BViZU':'Restore\x20a\x20soft-deleted\x20feature\x20review','HopCL':'setup\x20[tokenOrSubcommand]','Kronf':'setup-ci\x20<token>','xjMGf':'skillup','pytfu':_0x300bbc(0x319),'wgzRH':'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','VBfdS':'status','OaNJH':_0x300bbc(0x2eb),'NbNUS':_0x300bbc(0x2cb),'ZiORn':'Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','kZcov':'use\x20<env-name>','oiEuc':'hook'};return _0x56e5ec(_0x16fcc9??process['argv'][_0x300bbc(0x33a)](0x2))['scriptName'](_0x300bbc(0x279))['usage'](TOP_LEVEL_HELP)[_0x300bbc(0x226)](getCurrentVersion())['command'](_0x300bbc(0x1ce),'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios',_0x474491=>{const _0x5d7085=_0x300bbc;return _0x474491[_0x5d7085(0x27d)](_0x5d7085(0x21c),{'type':_0x173e8a['qbYaV'],'description':_0x173e8a['XogAY'],'demandOption':!![]})[_0x5d7085(0x29f)](_0x173e8a['ibrXf'],{'type':'string','alias':'d','description':_0x5d7085(0x337)})[_0x5d7085(0x29f)]('scenario',{'type':'array','alias':'c','description':_0x5d7085(0x336)})['option'](_0x5d7085(0x36b),{'type':_0x173e8a[_0x5d7085(0x370)],'hidden':!![]});},async _0x416ed7=>{const _0x25c05e=_0x300bbc;if(!_0x416ed7['name']){console['error'](_0x173e8a['vCqUj'](_0x25c05e(0x316),_0x173e8a['jhZFc'])),process[_0x25c05e(0x2b4)](0x1);return;}warnFlagRenamed(_0x25c05e(0x308),'--checklist',_0x173e8a[_0x25c05e(0x265)]);const _0x3607fd=_0x416ed7[_0x25c05e(0x1e5)]||_0x416ed7[_0x25c05e(0x36b)];await withTelemetry(_0x173e8a[_0x25c05e(0x2d7)],()=>featureCreate(_0x416ed7[_0x25c05e(0x21c)],{'description':_0x416ed7['description'],'scenarios':_0x3607fd}));})[_0x300bbc(0x1cc)](_0x300bbc(0x1f6),_0x173e8a['eBcas'],_0x27681f=>{const _0x3d13aa=_0x300bbc;return _0x27681f['option']('current-branch',{'type':_0x173e8a[_0x3d13aa(0x268)],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})[_0x3d13aa(0x29f)](_0x173e8a['MTxkT'],{'type':'number','alias':'l','description':_0x173e8a[_0x3d13aa(0x378)],'default':0xa})[_0x3d13aa(0x29f)](_0x173e8a['HAQSE'],{'type':_0x3d13aa(0x26d),'alias':'o','description':_0x3d13aa(0x33f),'default':0x0})[_0x3d13aa(0x29f)](_0x173e8a[_0x3d13aa(0x1da)],{'type':_0x173e8a['qkQlS'],'alias':'d','description':_0x173e8a[_0x3d13aa(0x2ea)],'default':![]});},async _0x169c96=>{const _0x3dfeec=_0x300bbc;await _0x173e8a['hjVgI'](withTelemetry,_0x3dfeec(0x1f6),()=>featureList({'currentBranch':_0x169c96[_0x3dfeec(0x1ec)],'limit':_0x169c96['limit'],'offset':_0x169c96['offset'],'includeDeleted':_0x169c96[_0x3dfeec(0x2ec)]}));})['command'](_0x173e8a[_0x300bbc(0x1d2)],'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x153278=>{const _0x26dbb3=_0x300bbc;return _0x153278[_0x26dbb3(0x27d)]('id',{'type':_0x26dbb3(0x35c),'description':_0x173e8a['lKYiS']});},async _0x5474a3=>{const _0x35279b=_0x300bbc;await _0x173e8a[_0x35279b(0x355)](withTelemetry,_0x35279b(0x31c),()=>featureShow(_0x5474a3['id']));})['command']('resume\x20[id]','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x362be4=>{const _0x5955b7=_0x300bbc;return _0x362be4[_0x5955b7(0x27d)]('id',{'type':_0x5955b7(0x35c),'description':_0x173e8a[_0x5955b7(0x2b8)]});},async _0x23c133=>{const _0x45da1d=_0x300bbc;await withTelemetry(_0x45da1d(0x23d),()=>featureResume(_0x23c133['id']));})[_0x300bbc(0x1cc)](_0x173e8a[_0x300bbc(0x1cf)],_0x173e8a['mjoOI'],_0x51cf6c=>{const _0x315304=_0x300bbc;return _0x51cf6c['positional'](_0x173e8a[_0x315304(0x232)],{'type':_0x315304(0x35c),'description':_0x315304(0x2e3),'demandOption':!![]})[_0x315304(0x29f)]('id',{'type':_0x173e8a[_0x315304(0x25f)],'description':_0x315304(0x208)});},async _0x3b7c06=>{const _0x481374=_0x300bbc;await withTelemetry(_0x481374(0x331),()=>featureAddScenario(_0x3b7c06['description'],_0x3b7c06['id']));})['command']('edit-scenario\x20<description>',_0x173e8a[_0x300bbc(0x231)],_0xe00e18=>{const _0x5f0a40=_0x300bbc;return _0xe00e18['positional'](_0x173e8a[_0x5f0a40(0x232)],{'type':_0x173e8a['qbYaV'],'description':'New\x20scenario\x20description','demandOption':!![]})['option']('scenario',{'type':'number','description':_0x5f0a40(0x1e7),'demandOption':!![]})[_0x5f0a40(0x29f)]('id',{'type':_0x173e8a[_0x5f0a40(0x25f)],'description':_0x5f0a40(0x208)});},async _0x229ef6=>{const _0x1d9a36=_0x300bbc;await withTelemetry(_0x173e8a['Wgyfa'],()=>featureEditScenario(_0x229ef6['description'],{'id':_0x229ef6['id'],'scenario':_0x229ef6[_0x1d9a36(0x1e5)]}));})['command'](_0x173e8a[_0x300bbc(0x359)],_0x300bbc(0x2f5),_0x42cc09=>{const _0x46567f=_0x300bbc;return _0x42cc09[_0x46567f(0x27d)]('id',{'type':_0x173e8a[_0x46567f(0x25f)],'description':_0x173e8a[_0x46567f(0x2c3)]})[_0x46567f(0x29f)](_0x173e8a['WLShH'],{'type':'array','description':_0x173e8a['GYYZy']})['option']('json',{'type':_0x46567f(0x343),'description':_0x173e8a[_0x46567f(0x209)],'default':![]});},async _0x444ced=>{const _0x35c586=_0x300bbc,_0x5f0093=_0x444ced[_0x173e8a['WLShH']],_0x384d00=_0x5f0093?_0x5f0093[_0x35c586(0x376)](_0x5c8d88=>Number(_0x5c8d88)):undefined;await _0x173e8a[_0x35c586(0x355)](withTelemetry,_0x35c586(0x2e0),()=>featureReportPrDescription(_0x444ced['id'],{'excludeScenarios':_0x384d00,'json':_0x444ced[_0x35c586(0x277)]}));})[_0x300bbc(0x1cc)]('get-review\x20[id]',_0x300bbc(0x239),_0x4e07c2=>{const _0x5e64f5=_0x300bbc;return _0x4e07c2['positional']('id',{'type':_0x5e64f5(0x35c),'description':_0x5e64f5(0x208)});},async _0x27826d=>{await withTelemetry(_0x173e8a['lHpYO'],()=>featureGetReview(_0x27826d['id']));})[_0x300bbc(0x1cc)](_0x300bbc(0x21d),_0x173e8a['WDjBZ'],_0x1b4d5c=>{return _0x1b4d5c['positional']('id',{'type':'string','description':_0x173e8a['lKYiS']});},async _0x194568=>{await _0x173e8a['AkDtp'](withTelemetry,_0x173e8a['XPuLx'],()=>featureDelete(_0x194568['id']));})['command']('restore\x20<id>',_0x173e8a['BViZU'],_0xdef105=>{return _0xdef105['positional']('id',{'type':'string','description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x273f1e=>{await withTelemetry('restore',()=>featureRestore(_0x273f1e['id']));})[_0x300bbc(0x1cc)](_0x173e8a['HopCL'],'Initialize\x20Ranger\x20in\x20your\x20project',_0x4f8812=>{const _0x2e5321=_0x300bbc,_0xaa9cc7={'TXUMZ':_0x173e8a[_0x2e5321(0x25f)],'dAOuU':_0x173e8a['KzlQa'],'SjKeo':'skip-auth','TEdVg':'boolean','Cjcrn':'with-deps','QRTek':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','btbET':'user','nmZqn':_0x2e5321(0x228),'kJFYQ':_0x2e5321(0x2e4),'ybCTY':_0x2e5321(0x275),'WjCHH':'Alias\x20for\x20--mcp-bootstrap','HMTjo':_0x2e5321(0x2c1),'MMVth':_0x2e5321(0x279),'CBFtz':function(_0x11bc8e,_0x460a10,_0x247489){return _0x11bc8e(_0x460a10,_0x247489);},'TmFuF':_0x2e5321(0x284),'imYYd':_0x173e8a[_0x2e5321(0x212)],'MJKeN':_0x2e5321(0x24e),'pgPuc':_0x173e8a['ASvfx']};return _0x4f8812[_0x2e5321(0x356)]('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')['positional'](_0x2e5321(0x368),{'type':_0x173e8a['qbYaV'],'description':_0x173e8a['UJBsA']})['command'](_0x173e8a[_0x2e5321(0x34c)],_0x2e5321(0x2a7),_0x25fcfa=>{const _0x14bdb6=_0x2e5321;return _0x25fcfa[_0x14bdb6(0x29f)]('token',{'type':_0xaa9cc7[_0x14bdb6(0x35d)],'description':'Ranger\x20API\x20token'})['option']('skip-chromium',{'type':'boolean','description':_0xaa9cc7[_0x14bdb6(0x2c7)],'default':![]})['option'](_0xaa9cc7['SjKeo'],{'type':_0xaa9cc7['TEdVg'],'description':'Skip\x20authentication','default':![]})['option'](_0xaa9cc7['Cjcrn'],{'type':'boolean','description':_0xaa9cc7[_0x14bdb6(0x215)],'default':![]})[_0x14bdb6(0x29f)](_0x14bdb6(0x284),{'type':_0x14bdb6(0x35c),'choices':[_0xaa9cc7['btbET']],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option']('url',{'type':_0x14bdb6(0x35c),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})['option'](_0xaa9cc7[_0x14bdb6(0x2cc)],{'type':_0xaa9cc7['TEdVg'],'description':_0xaa9cc7[_0x14bdb6(0x25e)],'default':![]})[_0x14bdb6(0x29f)](_0x14bdb6(0x241),{'type':_0xaa9cc7[_0x14bdb6(0x38b)],'description':_0x14bdb6(0x2bd),'default':![]})[_0x14bdb6(0x29f)](_0x14bdb6(0x24e),{'type':_0xaa9cc7['TEdVg'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]})[_0x14bdb6(0x29f)]('mcp-bootstrap',{'type':_0x14bdb6(0x343),'description':_0xaa9cc7['ybCTY'],'default':![]})['option']('mcp',{'type':_0xaa9cc7[_0x14bdb6(0x38b)],'description':_0xaa9cc7['WjCHH'],'default':![]});},async _0x45ff01=>{const _0x123c30=_0x2e5321;(_0x45ff01[_0x173e8a[_0x123c30(0x2b2)]]||_0x45ff01[_0x123c30(0x2d9)])&&await _0x173e8a['hjVgI'](withTelemetry,_0x173e8a['ZSwPv'],()=>mcpBootstrap()),await withTelemetry(_0x173e8a['kRMjG'],_0x36d6ce=>start(_0x45ff01[_0x123c30(0x20b)],{'skipChromium':_0x45ff01[_0x123c30(0x2b5)],'skipAuth':_0x45ff01[_0x123c30(0x293)],'withDeps':_0x45ff01[_0x123c30(0x22f)],'scope':_0x45ff01[_0x123c30(0x284)],'url':_0x45ff01[_0x123c30(0x23a)],'force':_0x45ff01[_0x123c30(0x228)],'opencode':_0x45ff01['opencode'],'allowInsecureLocalhost':_0x45ff01['allow-insecure-localhost']},_0x36d6ce));})[_0x2e5321(0x1cc)](_0x2e5321(0x345),_0x2e5321(0x31f),_0x2bdf46=>{const _0x4a88aa=_0x2e5321;return _0x2bdf46[_0x4a88aa(0x29f)]('with-deps',{'type':_0xaa9cc7['TEdVg'],'description':_0xaa9cc7['HMTjo'],'default':![]});},async _0x49d739=>{const _0x5c5e23=_0x2e5321;await _0x173e8a[_0x5c5e23(0x1d8)](withTelemetry,'setup:deps',()=>ensureChromium(_0x49d739['with-deps']));})[_0x2e5321(0x1cc)](_0x173e8a['Wlhkw'],_0x173e8a[_0x2e5321(0x280)],_0x59a79f=>{const _0x5da636=_0x2e5321;return _0x59a79f['option'](_0x173e8a['uAAIc'],{'type':'string','description':'Ranger\x20API\x20token\x20(rngr_...)'})[_0x5da636(0x29f)](_0x5da636(0x2d9),{'type':_0x5da636(0x343),'description':_0x173e8a[_0x5da636(0x325)],'default':![]});},async _0xe9d1a3=>{const _0x559f00=_0x2e5321,_0x77588c={'USNgv':_0x173e8a['Mwkio']};await _0x173e8a[_0x559f00(0x1d8)](withTelemetry,'setup:login',async()=>{const _0x449f90=_0x559f00;if(_0xe9d1a3[_0x449f90(0x2d9)]){await mcpBootstrap();const _0x3d0544=await refreshCliToken();if(!_0x3d0544)throw new Error(_0x77588c[_0x449f90(0x2ef)]);const _0x571740=await getCurrentUser(_0x3d0544);if(!_0x571740['success'])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x571740['error']);console['log']('✓\x20Authenticated\x20to\x20'+_0x571740[_0x449f90(0x2f6)][_0x449f90(0x324)]);return;}await authenticate(_0xe9d1a3[_0x449f90(0x20b)]);});})['command'](_0x173e8a['gFdKg'],_0x173e8a[_0x2e5321(0x202)],_0x22a624=>{const _0x122dde=_0x2e5321;return _0x22a624[_0x122dde(0x29f)](_0x173e8a['tNoTL'],{'type':_0x173e8a[_0x122dde(0x25f)],'choices':['user','project'],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})[_0x122dde(0x29f)]('opencode',{'type':_0x122dde(0x343),'description':_0x173e8a[_0x122dde(0x328)],'default':![]});},async _0x415f69=>{const _0x2781e7={'ycWnz':function(_0x21b07f,_0x4235b9){return _0x21b07f(_0x4235b9);},'tpKYm':_0xaa9cc7['MMVth']};await _0xaa9cc7['CBFtz'](withTelemetry,'setup:skills',async()=>{const _0x51c732=_0x9665,_0x4ee8aa=_0x415f69[_0x51c732(0x284)];if(_0x415f69[_0x51c732(0x241)]){const _0x5eb55e=await _0x2781e7[_0x51c732(0x338)](ensureOpencodePluginConfig,_0x4ee8aa);_0x5eb55e&&await installSkill(_0x2781e7['tpKYm'],{'level':_0x5eb55e['scope'],'cliVersion':getCurrentVersion(),'platform':'opencode'});}else await ensureClaudePlugin(_0x4ee8aa),await ensureClaudeSkills(_0x4ee8aa);});})['command'](_0x173e8a[_0x2e5321(0x2a5)],'Set\x20up\x20a\x20local\x20browser\x20profile',_0x5cf598=>{const _0x5984b1=_0x2e5321;return _0x5cf598[_0x5984b1(0x29f)](_0xaa9cc7[_0x5984b1(0x1f5)],{'type':_0xaa9cc7['TXUMZ'],'choices':[_0xaa9cc7['btbET']],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x5984b1(0x29f)](_0x5984b1(0x23a),{'type':_0xaa9cc7['TXUMZ'],'description':'Base\x20URL\x20of\x20the\x20running\x20app'})[_0x5984b1(0x29f)]('skip-auth',{'type':_0xaa9cc7['TEdVg'],'description':_0xaa9cc7[_0x5984b1(0x204)],'default':![]})['option'](_0x5984b1(0x228),{'type':_0xaa9cc7[_0x5984b1(0x38b)],'description':_0xaa9cc7['kJFYQ'],'default':![]})['option'](_0xaa9cc7[_0x5984b1(0x30b)],{'type':_0xaa9cc7[_0x5984b1(0x38b)],'description':_0xaa9cc7['pgPuc'],'default':![]});},async _0x5b67e6=>{const _0x288a9c=_0x2e5321,_0x329028=_0x5b67e6['scope'];_0x173e8a[_0x288a9c(0x2ba)](_0x329028,undefined)&&_0x173e8a[_0x288a9c(0x294)](_0x329028,_0x173e8a['vaVWA'])&&(console[_0x288a9c(0x2de)](_0x173e8a[_0x288a9c(0x256)](_0x173e8a[_0x288a9c(0x32a)]('ranger\x20setup\x20profiles\x20--scope='+_0x329028+_0x288a9c(0x236),_0x288a9c(0x253)),'Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.')),process['exit'](0x1)),await _0x173e8a[_0x288a9c(0x387)](withTelemetry,_0x173e8a[_0x288a9c(0x2b1)],_0x24fcb9=>ensureLocalEnv({'url':_0x5b67e6['url'],'force':_0x5b67e6[_0x288a9c(0x228)],'allowInsecureLocalhost':_0x5b67e6['allow-insecure-localhost'],'scope':'user'},_0x24fcb9));})[_0x2e5321(0x29f)](_0x173e8a[_0x2e5321(0x1e9)],{'type':'boolean','description':_0x173e8a[_0x2e5321(0x31e)],'default':![]})[_0x2e5321(0x29f)]('scope',{'type':'string','choices':[_0x173e8a['vaVWA']],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x173e8a['mBjge'],{'type':_0x173e8a['qbYaV'],'description':_0x2e5321(0x249)})[_0x2e5321(0x29f)](_0x173e8a[_0x2e5321(0x25c)],{'type':_0x173e8a['qkQlS'],'description':_0x2e5321(0x2e4),'default':![]})[_0x2e5321(0x29f)](_0x2e5321(0x241),{'type':_0x173e8a[_0x2e5321(0x268)],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})['option'](_0x173e8a[_0x2e5321(0x278)],{'type':_0x173e8a['qkQlS'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})['option'](_0x173e8a[_0x2e5321(0x2b2)],{'type':_0x173e8a[_0x2e5321(0x268)],'description':_0x2e5321(0x216),'default':![]})[_0x2e5321(0x29f)](_0x173e8a[_0x2e5321(0x25b)],{'type':'boolean','description':_0x173e8a['BIDhG'],'default':![]})[_0x2e5321(0x29f)](_0x173e8a[_0x2e5321(0x26c)],{'type':_0x173e8a['qkQlS'],'description':_0x2e5321(0x2c1),'default':![]})['option'](_0x2e5321(0x20b),{'type':'string','hidden':!![],'description':_0x2e5321(0x2e7)});},async _0x581300=>{const _0xee93f6=_0x300bbc,_0x43b14e=_0x581300['tokenOrSubcommand'],_0x19b01f=_0x581300[_0xee93f6(0x20b)]??_0x43b14e;_0x581300[_0x173e8a['ZSwPv']]&&await _0x173e8a[_0xee93f6(0x1d8)](withTelemetry,_0x173e8a['ZSwPv'],()=>mcpBootstrap()),await withTelemetry('start',_0x4f9160=>start(_0x19b01f,{'skipChromium':_0x581300['skip-chromium'],'skipAuth':_0x581300[_0xee93f6(0x293)],'withDeps':_0x581300['with-deps'],'scope':_0x581300[_0xee93f6(0x284)],'url':_0x581300[_0xee93f6(0x23a)],'force':_0x581300[_0xee93f6(0x228)],'opencode':_0x581300[_0xee93f6(0x241)],'allowInsecureLocalhost':_0x581300['allow-insecure-localhost']},_0x4f9160));})['command'](_0x173e8a['Kronf'],![],_0x30e799=>{const _0x13f710=_0x300bbc;return _0x30e799['positional'](_0x173e8a['uAAIc'],{'type':_0x173e8a[_0x13f710(0x25f)],'description':_0x173e8a['JvRsc'],'demandOption':!![]})[_0x13f710(0x29f)](_0x173e8a['XWoeQ'],{'type':_0x173e8a[_0x13f710(0x25f)],'description':_0x173e8a['exbON']})[_0x13f710(0x29f)](_0x13f710(0x2c9),{'type':_0x173e8a[_0x13f710(0x25f)],'description':_0x173e8a[_0x13f710(0x37f)]})[_0x13f710(0x29f)](_0x173e8a['lsQrL'],{'type':_0x173e8a['qkQlS'],'description':_0x13f710(0x203),'default':![]});},async _0x21c601=>{const _0x10016f=_0x300bbc;await _0x173e8a['hjVgI'](withTelemetry,_0x10016f(0x30e),_0x1f3d74=>setupCi(_0x21c601[_0x10016f(0x20b)],{'profile':_0x21c601['profile'],'baseUrl':_0x21c601['base-url'],'skipChromium':_0x21c601['skip-chromium']},_0x1f3d74));})[_0x300bbc(0x1cc)](_0x173e8a['Wlhkw'],_0x300bbc(0x2f4),()=>{},async()=>{const _0x2fc804=_0x300bbc;await withTelemetry(_0x173e8a[_0x2fc804(0x2f3)],()=>login());})[_0x300bbc(0x1cc)](_0x173e8a['xjMGf'],_0x173e8a['pytfu'],_0x2fcebf=>{const _0x27be4f=_0x300bbc;return _0x2fcebf[_0x27be4f(0x29f)](_0x27be4f(0x241),{'type':_0x27be4f(0x343),'description':_0x173e8a['sNtQl'],'default':![]})[_0x27be4f(0x29f)]('scope',{'type':_0x27be4f(0x35c),'choices':[_0x173e8a['vaVWA'],'project'],'description':'Install\x20scope\x20for\x20skills'});},async _0x50a1c5=>{const _0x42c53a=_0x300bbc,_0x32477f=Boolean(_0x50a1c5['opencode']);await _0x173e8a[_0x42c53a(0x1d8)](withTelemetry,_0x42c53a(0x29b),()=>skillup({'autoInstall':_0x50a1c5['scope'],'platform':_0x32477f?'opencode':_0x42c53a(0x2a3)}));})['command'](_0x173e8a['Fpjsu'],_0x173e8a[_0x300bbc(0x1dd)],()=>{},async()=>{await withTelemetry(_0x173e8a['Fpjsu'],()=>clean());})[_0x300bbc(0x1cc)]([_0x173e8a[_0x300bbc(0x30a)],_0x300bbc(0x281)],'Manage\x20profiles',_0x24df76=>{const _0x166276=_0x300bbc,_0x307dfb={'ViCWU':_0x173e8a['xGHwm'],'EWzIt':_0x173e8a[_0x166276(0x268)],'FSPQX':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','cYxjf':_0x173e8a['mBjge'],'TMQKr':_0x173e8a[_0x166276(0x25f)],'bvpBL':_0x173e8a[_0x166276(0x349)],'LNsAN':_0x166276(0x267),'jikJb':'setup-header','MUqUo':_0x166276(0x310),'cqaoL':_0x166276(0x2f6),'lGwvk':_0x173e8a[_0x166276(0x227)],'xfbgl':function(_0x1ea731,_0x363539){const _0x3f5aa4=_0x166276;return _0x173e8a[_0x3f5aa4(0x34d)](_0x1ea731,_0x363539);},'hHCsG':function(_0x5d6140,_0x42f8ec,_0x27f13a){const _0x9adaf=_0x166276;return _0x173e8a[_0x9adaf(0x355)](_0x5d6140,_0x42f8ec,_0x27f13a);},'lrVXa':_0x173e8a['ngefi'],'vTWBX':_0x173e8a[_0x166276(0x304)],'BCulC':'manual','ngphH':function(_0x284240,_0x1f13df,_0x4fd8f7){return _0x284240(_0x1f13df,_0x4fd8f7);},'YLZwQ':_0x166276(0x21c),'yUkCK':'Cloud\x20profile\x20name','dbHlz':_0x173e8a['PIymI'],'amFWA':function(_0x3b63d1,_0x31ed59,_0xaacbcc){return _0x3b63d1(_0x31ed59,_0xaacbcc);},'uWWgb':function(_0x23e452,_0x188583){return _0x23e452===_0x188583;},'IOeaI':_0x173e8a['uckMZ'],'sEozU':_0x173e8a['zrqAh'],'ekoIW':_0x173e8a['AzJhf'],'JSuuP':_0x173e8a[_0x166276(0x1ee)],'NGezv':_0x166276(0x243),'oyjdB':_0x166276(0x344),'nvqPs':'Config\x20value','HMhGY':_0x173e8a['eyFnT'],'XwEQV':_0x166276(0x366),'nkxex':'Config\x20key','ChQEa':_0x173e8a[_0x166276(0x2d4)],'XCQXp':_0x166276(0x22c)};return _0x24df76['usage'](PROFILE_HELP)[_0x166276(0x1cc)](_0x173e8a[_0x166276(0x303)],_0x166276(0x24b),_0xcc8f99=>{const _0x45df02=_0x166276;return _0xcc8f99['positional'](_0x307dfb[_0x45df02(0x307)],{'type':_0x45df02(0x35c),'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x307dfb[_0x45df02(0x21f)],'hidden':!![],'default':![]})['option']('skip-auth',{'type':_0x45df02(0x343),'description':_0x307dfb['FSPQX'],'default':![]})['option'](_0x307dfb[_0x45df02(0x1ea)],{'type':_0x307dfb['TMQKr'],'description':_0x45df02(0x330)})[_0x45df02(0x29f)]('force',{'type':_0x307dfb['EWzIt'],'description':_0x307dfb[_0x45df02(0x22e)],'default':![]})[_0x45df02(0x29f)](_0x307dfb[_0x45df02(0x27e)],{'type':_0x45df02(0x35c),'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})['option']('allow-insecure-localhost',{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})['option'](_0x45df02(0x2e2),{'type':'boolean','description':_0x45df02(0x2a8),'default':![]})[_0x45df02(0x29f)](_0x307dfb['jikJb'],{'type':_0x307dfb[_0x45df02(0x28a)],'array':!![],'description':_0x307dfb[_0x45df02(0x244)]})['option'](_0x45df02(0x284),{'type':_0x45df02(0x35c),'choices':[_0x307dfb[_0x45df02(0x1eb)],_0x45df02(0x1d5)],'description':_0x307dfb['lGwvk']})['option'](_0x45df02(0x329),{'type':'string','description':'Auth\x20environment\x20key\x20to\x20bind\x20this\x20profile\x20to\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Bypasses\x20URL-based\x20matching;\x20required\x20for\x20bare-localhost\x20custom\x20ports.'})['option'](_0x45df02(0x2ed),{'type':'boolean','alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','default':![]});},async _0x4ce51c=>{const _0x4ab358=_0x166276;await withTelemetry(_0x4ab358(0x37d),_0x156242=>addEnv(_0x4ce51c['profile-name'],{'ci':_0x4ce51c['ci'],'skipAuth':_0x4ce51c['skip-auth'],'url':_0x4ce51c['url'],'force':_0x4ce51c[_0x4ab358(0x228)],'cdpEndpoint':_0x4ce51c[_0x4ab358(0x267)],'allowInsecureLocalhost':_0x4ce51c['allow-insecure-localhost'],'safeMode':_0x4ce51c['safe-mode'],'setupHeader':_0x4ce51c['setup-header'],'scope':_0x4ce51c['scope'],'authEnv':_0x4ce51c['env'],'yes':_0x4ce51c[_0x4ab358(0x2ed)]},_0x156242),{'isElectron':_0x307dfb[_0x4ab358(0x31d)](Boolean,_0x4ce51c['cdp-endpoint'])});})['command']('use\x20<profile-name>',_0x173e8a[_0x166276(0x20e)],_0x5e3448=>{const _0x471806=_0x166276;return _0x5e3448['positional'](_0x307dfb['ViCWU'],{'type':_0x471806(0x35c),'description':_0x471806(0x2af),'demandOption':!![]});},async _0x22f516=>{const _0x3c7c36=_0x166276;await withTelemetry(_0x3c7c36(0x357),()=>useEnv(_0x22f516['profile-name']));})[_0x166276(0x1cc)](_0x173e8a[_0x166276(0x283)],_0x173e8a['AFtje'],_0x45080d=>{const _0x1ba643=_0x166276;return _0x45080d[_0x1ba643(0x27d)]('profile-name',{'type':'string','description':_0x173e8a[_0x1ba643(0x2e6)],'demandOption':!![]})['option'](_0x1ba643(0x2ed),{'type':'boolean','alias':'y','description':_0x1ba643(0x2f1),'default':![]});},async _0x16aa7f=>{const _0x5540ae=_0x166276;await _0x307dfb[_0x5540ae(0x2f2)](withTelemetry,_0x307dfb['lrVXa'],()=>deleteProfile(_0x16aa7f[_0x5540ae(0x221)],{'yes':_0x16aa7f[_0x5540ae(0x2ed)]}));})['command']('encrypt-auth\x20<profile>',![],_0x3393a5=>{const _0xacd186=_0x166276;return _0x3393a5[_0xacd186(0x27d)](_0x173e8a['XWoeQ'],{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x41d088=>{const _0x2db70d=_0x166276;await withTelemetry(_0x173e8a[_0x2db70d(0x381)],()=>authEncrypt(_0x41d088[_0x2db70d(0x366)]));})['command']('ls',_0x173e8a[_0x166276(0x2ce)],()=>{},async()=>{await _0x307dfb['hHCsG'](withTelemetry,_0x307dfb['vTWBX'],()=>envList());})[_0x166276(0x1cc)]('update\x20<profile-name>',_0x173e8a['PnrUZ'],_0x252722=>{const _0x5e2ae0=_0x166276;return _0x252722['positional'](_0x5e2ae0(0x221),{'type':_0x307dfb[_0x5e2ae0(0x28a)],'description':'Name\x20of\x20the\x20profile\x20to\x20update','demandOption':!![]})[_0x5e2ae0(0x29f)](_0x5e2ae0(0x24e),{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)'})['option'](_0x307dfb['BCulC'],{'type':_0x307dfb[_0x5e2ae0(0x21f)],'description':_0x5e2ae0(0x311)});},async _0x583305=>{const _0x139240=_0x166276;await _0x307dfb[_0x139240(0x302)](withTelemetry,_0x139240(0x2b3),_0x1f2ec8=>updateEnv(_0x583305[_0x139240(0x221)],_0x1f2ec8,{'allowInsecureLocalhost':_0x583305['allow-insecure-localhost'],'manual':_0x583305['manual']}));})['command'](_0x173e8a[_0x166276(0x340)],![],_0x425a3f=>{const _0x3cd98b=_0x166276;return _0x425a3f['positional'](_0x307dfb['YLZwQ'],{'type':'string','description':_0x307dfb[_0x3cd98b(0x29a)],'demandOption':!![]});},async _0x5b6085=>{const _0xe27bc9=_0x166276;await withTelemetry(_0x307dfb[_0xe27bc9(0x28e)],async()=>{const _0x3ed9d9=_0xe27bc9,_0x3024fd=process['env']['RANGER_TEST_USERNAME'],_0x540f3f=process[_0x3ed9d9(0x329)]['RANGER_TEST_PASSWORD'];(!_0x3024fd||!_0x540f3f)&&(console['error'](_0x307dfb[_0x3ed9d9(0x312)]),process['exit'](0x1));const _0x524c59=_0x5b6085['name'],_0x40c7fa=await _0x307dfb[_0x3ed9d9(0x1d4)](serverSideLogin,_0x524c59,{'force':!![]});_0x307dfb['uWWgb'](_0x40c7fa[_0x3ed9d9(0x210)],_0x3ed9d9(0x1ca))&&(console[_0x3ed9d9(0x2de)]('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process[_0x3ed9d9(0x2b4)](0x1)),_0x40c7fa[_0x3ed9d9(0x210)]===_0x307dfb[_0x3ed9d9(0x2bb)]&&(console['error']('Login\x20failed:\x20'+(_0x40c7fa['error']??_0x3ed9d9(0x297))),_0x40c7fa['test_output']&&console[_0x3ed9d9(0x2de)](_0x40c7fa[_0x3ed9d9(0x1f0)]),process[_0x3ed9d9(0x2b4)](0x1)),console['log']('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x524c59+'\x27.\x20Session\x20saved.');});})[_0x166276(0x1cc)](_0x173e8a['bgNXM'],![],_0x4b7d4e=>{const _0x19a5d0=_0x166276;return _0x4b7d4e['positional'](_0x307dfb['ViCWU'],{'type':_0x307dfb[_0x19a5d0(0x28a)],'description':_0x19a5d0(0x346)})['option']('all',{'type':'boolean','description':_0x19a5d0(0x27f),'default':![]})['option'](_0x307dfb[_0x19a5d0(0x245)],{'type':_0x19a5d0(0x343),'description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})[_0x19a5d0(0x29f)](_0x19a5d0(0x2ed),{'type':_0x307dfb['EWzIt'],'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})['option'](_0x19a5d0(0x205),{'type':_0x19a5d0(0x343),'description':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','default':![]});},async _0x28ed03=>{const _0x1f3a65=_0x166276;await withTelemetry(_0x307dfb['JSuuP'],_0x3301fa=>migrateProfile({'profileName':_0x28ed03['profile-name'],'all':_0x28ed03[_0x1f3a65(0x1d3)],'dryRun':_0x28ed03[_0x1f3a65(0x285)],'yes':_0x28ed03[_0x1f3a65(0x2ed)],'saveCreds':_0x28ed03['save-creds']},_0x3301fa));})[_0x166276(0x1cc)](_0x173e8a[_0x166276(0x24d)],'Manage\x20profile\x20configuration',_0x6968e3=>{const _0x42c73b=_0x166276,_0x2c3ec0={'SyxYt':function(_0x145812,_0x5123bd,_0x46551b){return _0x145812(_0x5123bd,_0x46551b);},'vdiAV':_0x173e8a[_0x42c73b(0x229)],'ykdlT':function(_0x3807fa,_0x153264,_0x1d0284){return _0x3807fa(_0x153264,_0x1d0284);}};return _0x6968e3['usage'](PROFILE_CONFIG_HELP)['command'](_0x42c73b(0x237),_0x42c73b(0x2c2),_0xdcbee4=>{const _0x414e42=_0x42c73b;return _0xdcbee4[_0x414e42(0x27d)]('profile',{'type':'string','description':_0x307dfb[_0x414e42(0x219)],'demandOption':!![]})[_0x414e42(0x27d)](_0x307dfb['oyjdB'],{'type':'string','description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})[_0x414e42(0x27d)]('value',{'type':_0x307dfb[_0x414e42(0x28a)],'description':_0x307dfb[_0x414e42(0x382)],'demandOption':!![]});},async _0x5212ab=>{const _0x4b8c7c=_0x42c73b;await withTelemetry(_0x307dfb['HMhGY'],()=>configSet(_0x5212ab[_0x4b8c7c(0x366)],_0x5212ab['key'],_0x5212ab['value']));})[_0x42c73b(0x1cc)]('get\x20<profile>\x20<key>',_0x173e8a[_0x42c73b(0x287)],_0x28b58e=>{const _0x431a06=_0x42c73b;return _0x28b58e['positional'](_0x307dfb['XwEQV'],{'type':_0x431a06(0x35c),'description':_0x307dfb['NGezv'],'demandOption':!![]})['positional'](_0x431a06(0x344),{'type':_0x307dfb['TMQKr'],'description':_0x307dfb[_0x431a06(0x235)],'demandOption':!![]});},async _0x58ca1e=>{const _0x5387df=_0x42c73b;await _0x2c3ec0['SyxYt'](withTelemetry,_0x2c3ec0[_0x5387df(0x233)],()=>configGet(_0x58ca1e[_0x5387df(0x366)],_0x58ca1e['key']));})['command']('list\x20<profile>',_0x42c73b(0x1e2),_0x265b9b=>{const _0x1dd724=_0x42c73b;return _0x265b9b[_0x1dd724(0x27d)](_0x307dfb['XwEQV'],{'type':'string','description':_0x307dfb[_0x1dd724(0x219)],'demandOption':!![]});},async _0x2cb5c7=>{const _0x63f731=_0x42c73b;await _0x2c3ec0[_0x63f731(0x1d6)](withTelemetry,'profile\x20config\x20list',()=>configList(_0x2cb5c7[_0x63f731(0x366)]));})['command']('unset\x20<profile>\x20<key>',_0x173e8a['QNjTz'],_0x5e2ad1=>{const _0x4bc2c8=_0x42c73b;return _0x5e2ad1['positional'](_0x307dfb['XwEQV'],{'type':_0x307dfb[_0x4bc2c8(0x28a)],'description':_0x4bc2c8(0x243),'demandOption':!![]})['positional'](_0x307dfb[_0x4bc2c8(0x1e3)],{'type':_0x307dfb['TMQKr'],'description':_0x307dfb['ChQEa'],'demandOption':!![]});},async _0x46f356=>{const _0x3cfcc5=_0x42c73b;await _0x307dfb[_0x3cfcc5(0x302)](withTelemetry,_0x307dfb[_0x3cfcc5(0x298)],()=>configUnset(_0x46f356['profile'],_0x46f356[_0x3cfcc5(0x344)]));})['command'](_0x42c73b(0x2e1),_0x173e8a[_0x42c73b(0x379)],_0x1bf960=>{const _0x576117=_0x42c73b;return _0x1bf960[_0x576117(0x27d)](_0x307dfb['XwEQV'],{'type':'string','description':_0x307dfb[_0x576117(0x219)],'demandOption':!![]});},async _0x5cd7ee=>{const _0x400c02=_0x42c73b;await withTelemetry(_0x400c02(0x371),()=>configReset(_0x5cd7ee[_0x400c02(0x366)]));})[_0x42c73b(0x2d1)](0x1,_0x173e8a[_0x42c73b(0x240)]);})['demandCommand'](0x1,_0x173e8a['HJZKI']);})['command'](_0x173e8a['VBfdS'],_0x173e8a[_0x300bbc(0x2ae)],()=>{},async()=>{await withTelemetry('status',()=>status());})[_0x300bbc(0x1cc)](_0x300bbc(0x2aa),_0x173e8a[_0x300bbc(0x22a)],()=>{},async()=>{await withTelemetry('update',()=>update());})['command']('print-access-token','Print\x20the\x20current\x20CLI\x20access\x20token',()=>{},async()=>{const _0x197311=_0x300bbc;await _0x173e8a['hjVgI'](withTelemetry,_0x173e8a[_0x197311(0x35f)],async()=>{const _0x2a4a0b=_0x197311,_0x526333=await _0x173e8a[_0x2a4a0b(0x31b)](getToken);if(!_0x526333)throw new Error('No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.');console[_0x2a4a0b(0x1e4)](_0x526333);});})['command']('go',_0x173e8a['ZiORn'],_0x526696=>{const _0x1eaa43=_0x300bbc;return _0x526696[_0x1eaa43(0x29f)](_0x173e8a['trtXP'],{'type':'string','description':_0x173e8a['ZciwQ']})[_0x1eaa43(0x29f)]('profile',{'type':'string','description':_0x173e8a['CuQBO']})['option']('actor',{'type':'string','array':!![],'description':'Actor\x20as\x20<label>=<profile>\x20—\x20bind\x20a\x20role\x20you\x20reference\x20in\x20the\x20scenario\x20(\x22As\x20buyer1,\x20…\x22)\x20to\x20a\x20Ranger\x20profile.\x20Repeatable.\x20Two\x20actors\x20run\x20as\x20two\x20live\x20browser\x20sessions\x20(both\x20profiles\x20must\x20exist;\x20no\x20ad-hoc).\x20Example:\x20--actor\x20buyer1=alice\x20--actor\x20buyer2=bob'})['option'](_0x173e8a[_0x1eaa43(0x2ac)],{'type':_0x1eaa43(0x35c),'description':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)'})[_0x1eaa43(0x29f)](_0x173e8a['DVqyj'],{'type':'string','description':_0x173e8a['LdxJH']})[_0x1eaa43(0x29f)](_0x173e8a['jbMal'],{'type':'number','description':_0x173e8a[_0x1eaa43(0x372)]})['option'](_0x173e8a['HYkVq'],{'type':_0x173e8a[_0x1eaa43(0x25f)],'description':_0x173e8a['lZdOB']})['option']('base-url',{'type':_0x1eaa43(0x35c),'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.'})['option']('model',{'type':_0x173e8a['qbYaV'],'description':_0x1eaa43(0x318)})['option'](_0x173e8a[_0x1eaa43(0x31a)],{'type':_0x1eaa43(0x343),'description':_0x1eaa43(0x341),'default':![]})[_0x1eaa43(0x29f)]('env-var',{'type':_0x1eaa43(0x35c),'array':!![],'alias':'environment-variable','description':_0x173e8a['vFAoA']})['option']('allow-url-mismatch',{'type':_0x173e8a['qkQlS'],'description':_0x173e8a[_0x1eaa43(0x350)],'default':![]})[_0x1eaa43(0x29f)](_0x173e8a[_0x1eaa43(0x301)],{'type':_0x173e8a[_0x1eaa43(0x25f)],'hidden':!![],'choices':[_0x173e8a[_0x1eaa43(0x1cd)],_0x1eaa43(0x354),_0x173e8a[_0x1eaa43(0x29d)],_0x173e8a['uckMZ'],_0x1eaa43(0x36e)]})[_0x1eaa43(0x29f)](_0x173e8a['fLrCu'],{'type':'boolean','hidden':!![]})[_0x1eaa43(0x29f)](_0x173e8a[_0x1eaa43(0x2fc)],{'type':_0x173e8a[_0x1eaa43(0x25f)],'description':_0x173e8a[_0x1eaa43(0x1cb)]})['option'](_0x173e8a[_0x1eaa43(0x2f8)],{'type':_0x173e8a['qbYaV'],'hidden':!![]})[_0x1eaa43(0x29f)](_0x1eaa43(0x261),{'type':_0x173e8a['OLhyP'],'hidden':!![]});},async _0x285957=>{await runGoCommand(_0x285957);})[_0x300bbc(0x1cc)]('auth',![],_0x2ca3f0=>{const _0x6fbccb=_0x300bbc,_0x4eca5d={'gnuuH':_0x6fbccb(0x366),'aBomC':_0x6fbccb(0x35c),'bTxLs':function(_0x941a0e,_0x30e990,_0x3636b4){return _0x173e8a['mCKSh'](_0x941a0e,_0x30e990,_0x3636b4);},'YLSSH':_0x173e8a[_0x6fbccb(0x388)],'IcovK':function(_0x5222d6,_0x7264fa){const _0x84be6f=_0x6fbccb;return _0x173e8a[_0x84be6f(0x34d)](_0x5222d6,_0x7264fa);}};return _0x2ca3f0[_0x6fbccb(0x1cc)](_0x173e8a[_0x6fbccb(0x2c6)],![],_0x271fe1=>{const _0x5fe941=_0x6fbccb;return _0x271fe1['positional'](_0x4eca5d[_0x5fe941(0x334)],{'type':_0x4eca5d['aBomC'],'description':'Profile\x20name','demandOption':!![]});},async _0x1201bd=>{const _0x3e49f7=_0x6fbccb;_0x4eca5d['bTxLs'](warnRenamed,'ranger\x20auth\x20encrypt',_0x4eca5d['YLSSH']),await _0x4eca5d['IcovK'](authEncrypt,_0x1201bd[_0x3e49f7(0x366)]);})['demandCommand'](0x1,_0x173e8a['sIGwX']);},()=>{})[_0x300bbc(0x1cc)]('start\x20[token]',![],_0x4f05c8=>{const _0x3836f0=_0x300bbc;return _0x4f05c8['positional'](_0x173e8a[_0x3836f0(0x23f)],{'type':_0x173e8a[_0x3836f0(0x25f)],'description':_0x173e8a[_0x3836f0(0x313)]})['option']('skip-chromium',{'type':_0x173e8a['qkQlS'],'description':_0x173e8a['KzlQa'],'default':![]})['option']('scope',{'type':_0x3836f0(0x35c),'choices':['user'],'hidden':!![],'description':_0x173e8a['sWleC']})[_0x3836f0(0x29f)]('url',{'type':_0x173e8a[_0x3836f0(0x25f)],'description':_0x173e8a['xEvrY']})[_0x3836f0(0x29f)]('force',{'type':_0x3836f0(0x343),'description':_0x173e8a[_0x3836f0(0x349)],'default':![]})['option'](_0x173e8a[_0x3836f0(0x25b)],{'type':_0x173e8a[_0x3836f0(0x268)],'description':_0x173e8a['VUplb'],'default':![]})['option'](_0x3836f0(0x22f),{'type':_0x173e8a[_0x3836f0(0x268)],'description':_0x3836f0(0x288),'default':![]});},async _0x54ac52=>{const _0x28fc22=_0x300bbc;warnRenamed(_0x173e8a['tVDao'],_0x173e8a[_0x28fc22(0x35a)]),await withTelemetry(_0x173e8a[_0x28fc22(0x33d)],_0x558dd9=>start(_0x54ac52[_0x28fc22(0x20b)],{'skipChromium':_0x54ac52[_0x28fc22(0x2b5)],'skipAuth':_0x54ac52['skip-auth'],'withDeps':_0x54ac52['with-deps'],'scope':_0x54ac52['scope'],'url':_0x54ac52[_0x28fc22(0x23a)],'force':_0x54ac52[_0x28fc22(0x228)]},_0x558dd9));})[_0x300bbc(0x1cc)](_0x300bbc(0x1fd),![],_0x2eaa46=>{const _0x4f9eda=_0x300bbc;return _0x2eaa46['option'](_0x173e8a['HGYTh'],{'type':_0x4f9eda(0x35c),'description':_0x173e8a[_0x4f9eda(0x266)]})['option'](_0x4f9eda(0x339),{'type':_0x173e8a['qbYaV'],'description':_0x173e8a[_0x4f9eda(0x2fe)]})['option'](_0x4f9eda(0x261),{'type':'number','description':_0x4f9eda(0x1f2)})['option'](_0x4f9eda(0x366),{'type':_0x4f9eda(0x35c),'hidden':!![]})['option'](_0x173e8a['wdcOP'],{'type':_0x173e8a[_0x4f9eda(0x25f)],'hidden':!![]})[_0x4f9eda(0x29f)]('scenario',{'type':_0x173e8a['OLhyP'],'hidden':!![]})['option']('start-path',{'type':_0x173e8a[_0x4f9eda(0x25f)],'description':_0x4f9eda(0x258)})[_0x4f9eda(0x29f)](_0x173e8a[_0x4f9eda(0x380)],{'type':_0x173e8a['qbYaV'],'description':_0x4f9eda(0x33e)})[_0x4f9eda(0x29f)]('model',{'type':_0x173e8a['qbYaV'],'hidden':!![]})['option'](_0x4f9eda(0x24c),{'type':_0x173e8a['qkQlS'],'hidden':!![],'default':![]})['option']('env-var',{'type':'string','array':!![],'alias':_0x4f9eda(0x367),'hidden':!![]})['option'](_0x173e8a['UiHQF'],{'type':_0x173e8a[_0x4f9eda(0x25f)],'hidden':!![],'choices':[_0x173e8a[_0x4f9eda(0x1cd)],_0x173e8a['ZKtlh'],_0x173e8a[_0x4f9eda(0x29d)],_0x4f9eda(0x37b),_0x173e8a['gDmXI']]});},async _0x3505de=>{await runGoCommand(_0x3505de,!![]);})['command'](_0x300bbc(0x2ab),![],_0x2aa21b=>{const _0x9855c3=_0x300bbc;return _0x2aa21b[_0x9855c3(0x27d)](_0x173e8a['rjMGQ'],{'type':_0x173e8a[_0x9855c3(0x25f)],'description':_0x173e8a[_0x9855c3(0x224)],'demandOption':!![]})['option']('ci',{'type':_0x173e8a[_0x9855c3(0x268)],'description':_0x173e8a[_0x9855c3(0x353)],'default':![]})['option'](_0x173e8a['zftcK'],{'type':_0x173e8a['qkQlS'],'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]});},async _0xfe64b0=>{const _0x4614de=_0x300bbc;_0x173e8a[_0x4614de(0x333)](warnRenamed,_0x173e8a[_0x4614de(0x2bf)],'ranger\x20profile\x20add'),await _0x173e8a['eSmcZ'](withTelemetry,_0x173e8a['LnRpK'],_0x295cb6=>addEnv(_0xfe64b0['env-name'],{'ci':_0xfe64b0['ci'],'skipAuth':_0xfe64b0[_0x4614de(0x293)]},_0x295cb6));})[_0x300bbc(0x1cc)](_0x173e8a['kZcov'],![],_0x5b1eb4=>{const _0x5bcf24=_0x300bbc;return _0x5b1eb4['positional'](_0x173e8a[_0x5bcf24(0x384)],{'type':'string','description':_0x173e8a['yNwhU'],'demandOption':!![]});},async _0x58b0ee=>{const _0x173e0c=_0x300bbc;_0x173e8a['EVaCu'](warnRenamed,_0x173e8a[_0x173e0c(0x300)],_0x173e8a[_0x173e0c(0x1f3)]),await withTelemetry(_0x173e8a[_0x173e0c(0x291)],()=>useEnv(_0x58b0ee['env-name']));})[_0x300bbc(0x1cc)](_0x173e8a[_0x300bbc(0x24d)],![],_0xb14448=>{const _0x158779=_0x300bbc,_0x36e9db={'tWLIA':_0x173e8a[_0x158779(0x2cf)],'GJzpc':'env','jPpRG':_0x158779(0x27b),'xfnLI':'ranger\x20config\x20list','oUQZC':function(_0x2439a8,_0x3c8a48,_0x1e44c9){return _0x2439a8(_0x3c8a48,_0x1e44c9);}};return _0xb14448[_0x158779(0x1cc)](_0x173e8a['qMcEM'],![],_0x1ec184=>{const _0x2caef1=_0x158779;return _0x1ec184[_0x2caef1(0x27d)](_0x2caef1(0x329),{'type':_0x2caef1(0x35c),'description':'Environment\x20name','demandOption':!![]})[_0x2caef1(0x27d)]('key',{'type':_0x2caef1(0x35c),'description':_0x36e9db[_0x2caef1(0x2a0)],'demandOption':!![]})['positional']('value',{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0x30dbe4=>{const _0x5677d3=_0x158779;warnRenamed(_0x5677d3(0x252),_0x5677d3(0x263)),await _0x173e8a[_0x5677d3(0x28b)](withTelemetry,_0x173e8a['hQAuB'],()=>configSet(_0x30dbe4['env'],_0x30dbe4['key'],_0x30dbe4['value']));})['command'](_0x173e8a['mSOeP'],![],_0x272386=>{const _0x146f6c=_0x158779;return _0x272386['positional'](_0x36e9db[_0x146f6c(0x2ff)],{'type':_0x146f6c(0x35c),'description':_0x36e9db[_0x146f6c(0x1d0)],'demandOption':!![]})['positional'](_0x146f6c(0x344),{'type':_0x146f6c(0x35c),'description':_0x146f6c(0x26b),'demandOption':!![]});},async _0x180321=>{const _0x2ff11e=_0x158779;warnRenamed(_0x173e8a['EIAsl'],_0x173e8a[_0x2ff11e(0x2db)]),await _0x173e8a['CkNsU'](withTelemetry,_0x2ff11e(0x255),()=>configGet(_0x180321['env'],_0x180321[_0x2ff11e(0x344)]));})[_0x158779(0x1cc)](_0x173e8a[_0x158779(0x1db)],![],_0x43c935=>{const _0x3959b6=_0x158779;return _0x43c935[_0x3959b6(0x27d)]('env',{'type':'string','description':'Environment\x20name','demandOption':!![]});},async _0x33bdbd=>{const _0x2f54fc=_0x158779;warnRenamed(_0x36e9db['xfnLI'],'ranger\x20profile\x20config\x20list'),await _0x36e9db['oUQZC'](withTelemetry,_0x2f54fc(0x30c),()=>configList(_0x33bdbd[_0x2f54fc(0x329)]));})['command']('unset\x20<env>\x20<key>',![],_0x55615c=>{const _0x3afaff=_0x158779;return _0x55615c['positional']('env',{'type':'string','description':_0x3afaff(0x27b),'demandOption':!![]})['positional'](_0x173e8a['KQcfY'],{'type':_0x173e8a['qbYaV'],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x2733ce=>{const _0x3c0bec=_0x158779;_0x173e8a[_0x3c0bec(0x23c)](warnRenamed,_0x173e8a[_0x3c0bec(0x259)],'ranger\x20profile\x20config\x20unset'),await _0x173e8a['hjVgI'](withTelemetry,_0x173e8a['yuWSJ'],()=>configUnset(_0x2733ce[_0x3c0bec(0x329)],_0x2733ce[_0x3c0bec(0x344)]));})[_0x158779(0x2d1)](0x1,_0x173e8a[_0x158779(0x272)]);})[_0x300bbc(0x1cc)](_0x300bbc(0x329),![],_0x4ea0f7=>{const _0x11833c=_0x300bbc,_0x103f46={'CbQiU':'ranger\x20profile\x20ls','pqyju':_0x173e8a[_0x11833c(0x25f)],'BtjJg':function(_0x40c2f6,_0x2fdc30,_0x4cabb7){return _0x40c2f6(_0x2fdc30,_0x4cabb7);}};return _0x4ea0f7[_0x11833c(0x1cc)]('ls',![],()=>{},async()=>{const _0x5b85aa=_0x11833c;warnRenamed('ranger\x20env\x20ls',_0x103f46[_0x5b85aa(0x211)]),await withTelemetry('env\x20list',()=>envList());})[_0x11833c(0x1cc)]('update\x20<env-name>',![],_0x56e3db=>{const _0x5c852b=_0x11833c;return _0x56e3db[_0x5c852b(0x27d)](_0x5c852b(0x317),{'type':_0x103f46['pqyju'],'description':_0x5c852b(0x28f),'demandOption':!![]});},async _0x55f953=>{_0x103f46['BtjJg'](warnRenamed,'ranger\x20env\x20update','ranger\x20profile\x20update'),await withTelemetry('env\x20update',_0x35fd63=>updateEnv(_0x55f953['env-name'],_0x35fd63));})[_0x11833c(0x2d1)](0x1,_0x173e8a[_0x11833c(0x26e)]);})['command']('feature',![],_0x3763c5=>{const _0x85a29c=_0x300bbc,_0x5e9edf={'SLhhN':_0x173e8a['ibrXf'],'CPmIu':'string','BMgII':_0x85a29c(0x337),'KpKxQ':'array','yAskr':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','sxzmA':_0x173e8a[_0x85a29c(0x270)],'eWyfL':'ranger\x20feature\x20list','tAouV':function(_0x3e0fb9,_0x25faf5,_0x5aa75f){const _0x4221b6=_0x85a29c;return _0x173e8a[_0x4221b6(0x225)](_0x3e0fb9,_0x25faf5,_0x5aa75f);},'CbRXH':'feature\x20list','jgVHg':'Feature\x20review\x20ID','vGoIj':_0x173e8a[_0x85a29c(0x2ee)],'MIrVL':function(_0x3a1747,_0x4a3750,_0x124b77){return _0x3a1747(_0x4a3750,_0x124b77);},'jHpHC':_0x173e8a[_0x85a29c(0x2b8)],'ezDeW':_0x173e8a['ldLSz'],'CyjLp':_0x85a29c(0x1fa),'ByIGc':_0x85a29c(0x347),'zuIym':_0x85a29c(0x2a9),'ASRDe':'Feature\x20review\x20ID\x20to\x20restore','GGZTy':_0x173e8a[_0x85a29c(0x37a)],'FArtp':_0x173e8a['WuvEv']};return _0x3763c5[_0x85a29c(0x1cc)](_0x85a29c(0x1ce),![],_0x489d65=>{const _0x20e606=_0x85a29c;return _0x489d65['positional'](_0x20e606(0x21c),{'type':'string','description':_0x20e606(0x1df),'demandOption':!![]})[_0x20e606(0x29f)](_0x5e9edf['SLhhN'],{'type':_0x5e9edf[_0x20e606(0x2be)],'alias':'d','description':_0x5e9edf['BMgII']})[_0x20e606(0x29f)](_0x20e606(0x36b),{'type':_0x5e9edf['KpKxQ'],'alias':'c','description':_0x5e9edf[_0x20e606(0x2e8)]})[_0x20e606(0x29f)](_0x5e9edf['sxzmA'],{'type':'array','hidden':!![]});},async _0x24f4b5=>{const _0x275962=_0x85a29c;warnRenamed(_0x173e8a['dWDUt'],'ranger\x20create'),_0x173e8a[_0x275962(0x1d1)](warnFlagRenamed,'ranger\x20create',_0x275962(0x250),_0x173e8a['uMqPR']);const _0x4c05c6=_0x24f4b5[_0x275962(0x1e5)]||_0x24f4b5[_0x275962(0x36b)];await _0x173e8a[_0x275962(0x24f)](withTelemetry,_0x275962(0x34a),()=>featureCreate(_0x24f4b5['name'],{'description':_0x24f4b5[_0x275962(0x342)],'scenarios':_0x4c05c6}));})['command'](_0x173e8a['nchRG'],![],_0x3c339b=>{const _0x222dc2=_0x85a29c;return _0x3c339b['option'](_0x222dc2(0x1ec),{'type':_0x173e8a['qkQlS'],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option'](_0x173e8a['MTxkT'],{'type':_0x222dc2(0x26d),'alias':'l','description':_0x173e8a[_0x222dc2(0x378)],'default':0xa})['option'](_0x173e8a[_0x222dc2(0x2b0)],{'type':'number','alias':'o','description':_0x173e8a[_0x222dc2(0x2a2)],'default':0x0})[_0x222dc2(0x29f)](_0x222dc2(0x2ec),{'type':_0x173e8a['qkQlS'],'alias':'d','description':_0x173e8a[_0x222dc2(0x2ea)],'default':![]});},async _0x3c8efa=>{const _0x38c0f3=_0x85a29c;warnRenamed(_0x5e9edf[_0x38c0f3(0x282)],_0x38c0f3(0x247)),await _0x5e9edf[_0x38c0f3(0x2f0)](withTelemetry,_0x5e9edf['CbRXH'],()=>featureList({'currentBranch':_0x3c8efa[_0x38c0f3(0x1ec)],'limit':_0x3c8efa[_0x38c0f3(0x2b7)],'offset':_0x3c8efa[_0x38c0f3(0x351)],'includeDeleted':_0x3c8efa['include-deleted']}));})[_0x85a29c(0x1cc)]('show\x20[id]',![],_0x16eb27=>{const _0x1ea3a8=_0x85a29c;return _0x16eb27['positional']('id',{'type':'string','description':_0x5e9edf[_0x1ea3a8(0x335)]});},async _0x3bf673=>{const _0x3510ef=_0x85a29c;warnRenamed(_0x5e9edf[_0x3510ef(0x33b)],'ranger\x20show'),await _0x5e9edf['MIrVL'](withTelemetry,'feature\x20show',()=>featureShow(_0x3bf673['id']));})['command'](_0x173e8a['WdCvX'],![],_0x5545c9=>{const _0x11b600=_0x85a29c;return _0x5545c9[_0x11b600(0x27d)]('id',{'type':_0x5e9edf[_0x11b600(0x2be)],'description':_0x5e9edf['jHpHC']});},async _0x76e86e=>{const _0x20bfd6=_0x85a29c;warnRenamed(_0x173e8a[_0x20bfd6(0x262)],'ranger\x20resume'),await withTelemetry(_0x173e8a['LqGRk'],()=>featureResume(_0x76e86e['id']));})['command'](_0x173e8a[_0x85a29c(0x360)],![],_0x3c18a8=>{const _0x2be22c=_0x85a29c;return _0x3c18a8[_0x2be22c(0x27d)](_0x173e8a['ibrXf'],{'type':_0x173e8a[_0x2be22c(0x25f)],'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':'string','description':_0x173e8a['gxqWB']});},async _0x1f42b5=>{const _0x5bcbaa=_0x85a29c;_0x5e9edf['tAouV'](warnRenamed,_0x5e9edf[_0x5bcbaa(0x36a)],_0x5e9edf['CyjLp']),await withTelemetry(_0x5bcbaa(0x2e9),()=>featureAddScenario(_0x1f42b5[_0x5bcbaa(0x342)],_0x1f42b5['id']));})[_0x85a29c(0x1cc)]('get-feedback\x20[id]',![],_0x4b2f0d=>{const _0x14ca1f=_0x85a29c;return _0x4b2f0d[_0x14ca1f(0x27d)]('id',{'type':_0x173e8a[_0x14ca1f(0x25f)],'description':_0x14ca1f(0x208)});},async _0x3371ef=>{const _0x5aa8fd=_0x85a29c;warnRenamed(_0x5aa8fd(0x1f9),_0x5aa8fd(0x385)),await _0x173e8a['CkNsU'](withTelemetry,'feature\x20get-feedback',()=>featureGetReview(_0x3371ef['id']));})[_0x85a29c(0x1cc)](_0x85a29c(0x21d),![],_0x373834=>{const _0x2f8c7a=_0x85a29c;return _0x373834['positional']('id',{'type':_0x5e9edf[_0x2f8c7a(0x2be)],'description':_0x2f8c7a(0x276)});},async _0x1f2840=>{const _0x1b8d7a=_0x85a29c;_0x5e9edf[_0x1b8d7a(0x2f0)](warnRenamed,'ranger\x20feature\x20delete',_0x5e9edf[_0x1b8d7a(0x2dd)]),await withTelemetry(_0x5e9edf['zuIym'],()=>featureDelete(_0x1f2840['id']));})['command'](_0x173e8a['ymvGm'],![],_0x56cf6b=>{return _0x56cf6b['positional']('id',{'type':_0x5e9edf['CPmIu'],'description':_0x5e9edf['ASRDe'],'demandOption':!![]});},async _0x25b002=>{const _0x2bfa0b=_0x85a29c;warnRenamed(_0x5e9edf[_0x2bfa0b(0x207)],'ranger\x20restore'),await withTelemetry(_0x5e9edf['FArtp'],()=>featureRestore(_0x25b002['id']));})[_0x85a29c(0x2d1)](0x1,_0x173e8a['zaYlY']);})[_0x300bbc(0x1cc)](_0x173e8a['oiEuc'],![],_0x412994=>{const _0x567fe5=_0x300bbc,_0x332ae8={'xvLuF':function(_0x3e1b17,_0x1afde8,_0x23fc49){const _0x5a1901=_0x9665;return _0x173e8a[_0x5a1901(0x2fd)](_0x3e1b17,_0x1afde8,_0x23fc49);},'fxZgY':_0x173e8a['kDrIw'],'ZcMAO':function(_0x2dba3f,_0x20a23c,_0x383f41){return _0x173e8a['kNKnV'](_0x2dba3f,_0x20a23c,_0x383f41);}};return _0x412994['command'](_0x173e8a[_0x567fe5(0x20f)],_0x567fe5(0x230),_0x46f57c=>{const _0x48e1c9=_0x567fe5;return _0x46f57c['option']('session-id',{'type':_0x173e8a['qbYaV'],'description':_0x48e1c9(0x286)});},async _0x161a02=>{const _0x3ff82f=_0x567fe5;await _0x332ae8['xvLuF'](withTelemetry,_0x332ae8[_0x3ff82f(0x32c)],()=>hook(_0x3ff82f(0x251),_0x161a02[_0x3ff82f(0x218)]));})[_0x567fe5(0x1cc)]('disable',_0x173e8a['DRuam'],_0x2a10c4=>{const _0x515683=_0x567fe5;return _0x2a10c4[_0x515683(0x29f)](_0x515683(0x218),{'type':_0x173e8a[_0x515683(0x25f)],'description':_0x173e8a[_0x515683(0x34f)]});},async _0x1d5088=>{const _0xb07c9b=_0x567fe5;await _0x332ae8[_0xb07c9b(0x1e0)](withTelemetry,'hook:disable',()=>hook(_0xb07c9b(0x1ef),_0x1d5088['session-id']));})['option']('name',{'type':_0x173e8a[_0x567fe5(0x25f)],'description':_0x173e8a[_0x567fe5(0x314)]})['option'](_0x567fe5(0x218),{'type':_0x567fe5(0x35c),'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x80d40e=>{const _0x101c35=_0x300bbc;_0x80d40e[_0x101c35(0x21c)]&&await _0x173e8a[_0x101c35(0x234)](hook,_0x80d40e[_0x101c35(0x21c)],_0x80d40e['session-id']);})[_0x300bbc(0x2d1)](0x1,'You\x20must\x20specify\x20a\x20command')[_0x300bbc(0x206)]()[_0x300bbc(0x361)](async(_0x1f0e78,_0x3c5df4,_0x45baba)=>{const _0x1cd864=_0x300bbc,_0x25007a=_0x173e8a[_0x1cd864(0x34d)](sanitizeArgs,process[_0x1cd864(0x2da)]['slice'](0x2)),_0x1f1b07=getErrorType(_0x1f0e78,_0x3c5df4);if(_0x1f0e78&&_0x1f0e78[_0x1cd864(0x2d2)](_0x173e8a[_0x1cd864(0x36c)])){const _0x4ce624=process['argv'][0x2];console[_0x1cd864(0x2de)](_0x1cd864(0x29c)+_0x4ce624),console['error'](_0x1cd864(0x375));}else{if(_0x1f0e78)console[_0x1cd864(0x2de)]('\x0a'+_0x1f0e78+'\x0a');else _0x3c5df4&&console['error']('\x0aError:\x20'+_0x3c5df4[_0x1cd864(0x271)]+'\x0a');}await _0x173e8a['KyaPW'](logDesirePath,{'rawCommand':_0x25007a,'errorMessage':_0x1f0e78||_0x3c5df4?.[_0x1cd864(0x271)],'errorType':_0x1f1b07});const _0x1ab538=getCurrentCollector();_0x1ab538&&await _0x1ab538['trackCommandError'](_0x3c5df4||new Error(_0x1f0e78||_0x173e8a[_0x1cd864(0x217)])),process[_0x1cd864(0x2b4)](0x1);})['epilogue'](_0x173e8a[_0x300bbc(0x32a)](_0x300bbc(0x24a)+'\x20\x20https://docs.ranger.net\x0a','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)'))['help']()['alias'](_0x300bbc(0x2d6),'h');}process['env'][_0x4b7cc1(0x1ed)]!==_0x4b7cc1(0x220)&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()[_0x4b7cc1(0x1f8)]());