@ranger-testing/ranger-cli 3.1.7-alpha.a5be4ca-60 → 3.1.7-alpha.be2850d-64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cli.js +1 -1
- package/build/commands/addEnv.js +1 -1
- package/build/commands/authEncrypt.js +1 -1
- package/build/commands/clean.js +1 -1
- package/build/commands/config.js +1 -1
- package/build/commands/deleteProfile.js +1 -1
- package/build/commands/env.js +1 -1
- package/build/commands/feature.js +1 -1
- package/build/commands/hook.js +1 -1
- package/build/commands/hooks/autoPrompt.js +1 -1
- package/build/commands/hooks/disable.js +1 -1
- package/build/commands/hooks/enable.js +1 -1
- package/build/commands/hooks/exitPlanMode.js +1 -1
- package/build/commands/hooks/index.js +1 -1
- package/build/commands/hooks/output.js +1 -1
- package/build/commands/hooks/planReminder.js +1 -1
- package/build/commands/hooks/planStart.js +1 -1
- package/build/commands/hooks/postEdit.js +1 -1
- package/build/commands/hooks/preCompact.js +1 -1
- package/build/commands/hooks/sessionEnd.js +1 -1
- package/build/commands/hooks/sessionStart.js +1 -1
- package/build/commands/hooks/stopHook.js +1 -1
- package/build/commands/index.js +1 -1
- package/build/commands/login.js +1 -1
- package/build/commands/mcpBootstrap.js +1 -1
- package/build/commands/migrateProfile.js +1 -1
- package/build/commands/setup/claude.js +1 -1
- package/build/commands/setup/opencode.js +1 -1
- package/build/commands/setupCi.js +1 -1
- package/build/commands/skillup.js +1 -1
- package/build/commands/start.js +1 -1
- package/build/commands/status.js +1 -1
- package/build/commands/update.js +1 -1
- package/build/commands/updateEnv.js +1 -1
- package/build/commands/useEnv.js +1 -1
- package/build/commands/utils/activeProfile.js +1 -1
- package/build/commands/utils/actors.js +1 -0
- package/build/commands/utils/agentEnv.js +1 -1
- package/build/commands/utils/browserSessionsApi.js +1 -1
- package/build/commands/utils/claudeConfig.js +1 -1
- package/build/commands/utils/claudeOverrideSettings.js +1 -1
- package/build/commands/utils/claudePlugin.js +1 -1
- package/build/commands/utils/cloudProfile.js +1 -1
- package/build/commands/utils/cloudProfileSession.js +1 -1
- package/build/commands/utils/crypto.js +1 -1
- package/build/commands/utils/desirePathLog.js +1 -1
- package/build/commands/utils/deviceAuth.js +1 -1
- package/build/commands/utils/environment.js +1 -1
- package/build/commands/utils/featureApi.js +1 -1
- package/build/commands/utils/fixWebmDuration.js +1 -1
- package/build/commands/utils/gitTracked.js +1 -1
- package/build/commands/utils/keychain.js +1 -1
- package/build/commands/utils/legacyWarning.js +1 -1
- package/build/commands/utils/localAgentInstallationsApi.js +1 -1
- package/build/commands/utils/matchAuthEnvironment.js +1 -1
- package/build/commands/utils/mcpImageBase64.js +1 -1
- package/build/commands/utils/model.js +1 -1
- package/build/commands/utils/novaActCli.js +1 -1
- package/build/commands/utils/opencodeConfig.js +1 -1
- package/build/commands/utils/organizationEnvApi.js +1 -1
- package/build/commands/utils/playwrightCli.js +1 -1
- package/build/commands/utils/profileMessages.js +1 -1
- package/build/commands/utils/profileSetupBanner.js +1 -1
- package/build/commands/utils/projectsConfig.js +1 -1
- package/build/commands/utils/rangerConfig.js +1 -1
- package/build/commands/utils/rangerRoot.js +1 -1
- package/build/commands/utils/rangerwrightCli.js +1 -1
- package/build/commands/utils/resolveProfileContext.js +1 -1
- package/build/commands/utils/resolveProfileUrl.js +1 -1
- package/build/commands/utils/retry.js +1 -1
- package/build/commands/utils/scenarioOriginCheck.js +1 -1
- package/build/commands/utils/sessionCache.js +1 -1
- package/build/commands/utils/settings.js +1 -1
- package/build/commands/utils/skillContent.js +1 -1
- package/build/commands/utils/skills.js +1 -1
- package/build/commands/utils/stitchWebmFiles.js +1 -1
- package/build/commands/utils/telemetry.js +1 -1
- package/build/commands/utils/tokenRefresh.js +1 -1
- package/build/commands/utils/traceSnapshotMapper.js +1 -1
- package/build/commands/utils/tunnelClient.js +1 -1
- package/build/commands/utils/userApi.js +1 -1
- package/build/commands/utils/version.js +1 -1
- package/build/commands/verifyFeature.js +1 -1
- package/build/commands/verifyFeatureCli.js +1 -1
- package/build/commands/verifyFeatureNovaCli.js +1 -1
- package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
- package/build/skills/ranger/SKILL.md +8 -0
- package/package.json +5 -14
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 _0xe649af=_0x402c;(function(_0x1734c9,_0x4581f1){const _0x5aafee=_0x402c,_0x12a5d4=_0x1734c9();while(!![]){try{const _0x5b6abf=-parseInt(_0x5aafee(0x10c))/0x1+parseInt(_0x5aafee(0x17d))/0x2+parseInt(_0x5aafee(0x20d))/0x3*(parseInt(_0x5aafee(0x24b))/0x4)+-parseInt(_0x5aafee(0x267))/0x5+parseInt(_0x5aafee(0xd1))/0x6*(parseInt(_0x5aafee(0xe9))/0x7)+parseInt(_0x5aafee(0x224))/0x8+-parseInt(_0x5aafee(0xeb))/0x9;if(_0x5b6abf===_0x4581f1)break;else _0x12a5d4['push'](_0x12a5d4['shift']());}catch(_0x4e2fa7){_0x12a5d4['push'](_0x12a5d4['shift']());}}}(_0x258c,0x19e02));import _0x28d8b2 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x5c65ce=_0x402c,_0x87da79={'ZdBAp':function(_0x2ab4fc,_0x359956){return _0x2ab4fc!==_0x359956;},'cOiXv':function(_0x5117b3,_0x45b509,_0x73aea5){return _0x5117b3(_0x45b509,_0x73aea5);},'DhFdw':function(_0x1313ec,_0x394e93){return _0x1313ec(_0x394e93);},'QHpET':function(_0x5d7104,_0x4d6313){return _0x5d7104(_0x4d6313);}};let _0x3b5e0a=process['cwd']();const _0x54934b=parse(_0x3b5e0a)['root'];while(_0x87da79['ZdBAp'](_0x3b5e0a,_0x54934b)){if(existsSync(_0x87da79[_0x5c65ce(0x27c)](join,_0x3b5e0a,_0x5c65ce(0x140)))||_0x87da79['DhFdw'](existsSync,_0x87da79['cOiXv'](join,_0x3b5e0a,'.env')))return _0x3b5e0a;_0x3b5e0a=_0x87da79[_0x5c65ce(0x23d)](dirname,_0x3b5e0a);}return process[_0x5c65ce(0x190)]();}_0x28d8b2[_0xe649af(0x131)]({'path':join(findProjectRoot(),'.env')});import _0x19b724 from'yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';function _0x402c(_0x21de7d,_0x1b4326){_0x21de7d=_0x21de7d-0xc2;const _0x258c22=_0x258c();let _0x402c64=_0x258c22[_0x21de7d];return _0x402c64;}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';function _0x258c(){const _0x2c5c8b=['Scenario\x20number\x20to\x20edit\x20(1-based)','Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','check','NCeKi','AepnG','IjyHu','show\x20[id]','ZzjbL','profile\x20login','fZcpJ','jlSFf','GsTer','sLNHw','ecMHa','ranger\x20add-scenario','JrLLK','create','ranger\x20start','DmLoW','\x27.\x20Session\x20saved.','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','IsZdK','BwljC','task','ranger\x20setup','PSpFs','iKNOS','fpKgY','JamyD','cJcgu','issues','LtdBS','allow-url-mismatch','PBQeZ','hook:disable','Get\x20a\x20config\x20value','feature','mcp-bootstrap','GJysE','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','error','cdp-endpoint','TbmVK','env-var','Switch\x20to\x20using\x20a\x20specific\x20profile','evaluation','alias','vasox','Feature\x20review\x20description','report\x20[id]','RANGER_TEST_USERNAME','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','ctoHh','JJUQy','force','partial','--profile','get-review\x20[id]','qBonU','skip-auth','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','KqcKd','rGQwI','hcwwD','QmMye','Ftvkl','ranger\x20profile\x20ls','lmgnT','setup:deps','nocde','argv','DAJaz','exit','scope','VYyZW','BnMqG','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','resume','lwkdy','qreTE','profile\x20encrypt-auth','Documentation:\x0a','gVvOm','dFmGb','vdHrv','JKySB','jlfYU','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`.','Authenticate\x20with\x20Ranger','disable','profile\x20delete','sTsRg','lgvJz','blocked','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','flatMap','tpVOA','qWpJE','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','QvaJk','get\x20<env>\x20<key>','YjUtw','Summary:\x20','ranger\x20env\x20update','Name\x20of\x20the\x20profile\x20to\x20update','DgNLa','start-path','\x20is\x20no\x20longer\x20supported.\x20','You\x20must\x20specify\x20an\x20env\x20subcommand','iGQXs','setup:all','gmQLU','OlPEv','feature\x20restore','Profile\x20name','zPkme','trIKr','13659AlAyCX','unset\x20<env>\x20<key>','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','login','base-url','CpDOp','env\x20update','dWMbT','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','ranger\x20profile\x20config\x20unset','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','MLAAC','EXKkS','XjppD','map','XWlLH','qpvNf','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','EdKbz','\x0aError:\x20','TWpXk','feature\x20resume','1125176RELuZU','setup-header','xUOFa','JnmrW','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','JDDLc','Xfrok','migrate\x20[profile-name]','BxAiE','debug-address-comments','becAl','IiGbS','option','hiyfY','You\x20must\x20specify\x20a\x20command','lwPnd','pwyhJ','actor','profile','report','edit-scenario\x20<description>','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','pohbQ','url','API\x20token','QHpET','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','ECEpt','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','Feature\x20review\x20ID','GjXZT','Cpqfw','Mtvkk','Install\x20skills\x20for\x20OpenCode','CzpPU','PVAuC','name','Multi-actor\x20run\x20→\x20using\x20RANGER_TRANSPORT=playwright-cli\x20(required\x20for\x20per-actor\x20session\x20isolation).','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.','172koTbel','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','project','VzQMz','start\x20[token]','ranger\x20profile\x20use','FvHLu','GSAdh','sGmaR','with-deps','offset','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','some','Rtvbg','claude','jiuJk','✓\x20Authenticated\x20to\x20','not_configured','add-scenario','ranger\x20verify-feature','ranger\x20config\x20list','Ramfv','add-checklist-item\x20<description>','config\x20get','Pfkeu','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','CDQCp','description','505235YqMHQA','repeat','nNlsf','\x20\x20https://docs.ranger.net\x0a','Edcgk','ehBaD','AmGyY','xqsle','FFYGh','setup:login','fWoWh','QtFEM','huIyA','limit','NrytN','OoFQq','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','array','Delete\x20a\x20cloud\x20profile','feature\x20get-feedback','cOiXv','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','XbhyK','yKBeq','zeXkN','user','uUOaW','VaRJh','Skip\x20the\x20deletion\x20confirmation\x20prompt.','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.','pwQlg','TWGJo','fNTKW','coyzB','enable','fMDUy','CzsNt','checklist','config\x20list','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','dmQqh','GkFAw','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','ohqlK','fluEJ','EZFrI','ranger\x20feature\x20show','nhfhO','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','set\x20<env>\x20<key>\x20<value>','jTRFd','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','debug-outcome','kahQz','uJtTC','allow-insecure-localhost','UWkWk','edit-scenario','add\x20env','QKKiF','include-deleted','bpIxH','maYUq','Config\x20key\x20to\x20remove','1914rYktus','TLlpu','delete\x20[id]','qCTRS','help','ksbwL','qdaXy','encrypt-auth\x20<profile>','resume\x20[id]','LascW','boolean','Update\x20authentication\x20for\x20an\x20existing\x20profile','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','fSoDH','bWJus','aTSwJ','env-name','ranger\x20show','print-access-token','json','token','oFnJe','Name\x20of\x20the\x20profile','eoNWW','2520RjUpIp','cQyBB','2838888PeyKjP','current-branch','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','pcevk','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','jEEvb','safe-mode','YCvbV','--task','profile-name','DRHBp','WLiMS','severity','goAMt','tofsN','ZljzK','sOUtL','RANGER_AUTH_ENV','YHVCe','EcvQr','ViDyC','key','battG','XiSHk','ranger','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','zWzDm','dKfxi','pobgt','verify-feature','TOsia','string','XFHTv','90879LQqBFO','skip-chromium','iXFVv','FCTvX','GAUBn','JSVCX','ranger\x20profile\x20config\x20get','test_output','rvCjt','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','GJxVv','xQSPy','rZJdA','XpwxX','fehKY','Optional\x20feature\x20ID','ZIRHY','Cloud\x20profile\x20name','log','Install\x20OS-level\x20dependencies\x20for\x20Chromium','usage','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','trackCommandError','pdlNf','scenario','value','mcp','summary','opencode','YFmAk','ranger\x20get-review','item','OeoAw','lksCI','sKNpj','profile\x20update','show','config','QEorG','vHSip','session-id','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.','model','\x20PARTIAL','skillup','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','QKPBQ','bUxWl','POYzY','OpFXh','Environment\x20name','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','.ranger','HknSi','--env','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','Feature\x20review\x20name','use\x20<env-name>','command','gKzLy','exclude-scenario','manual','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','rdHvv','Proceed\x20even\x20when\x20the\x20selected\x20scenario\x20names\x20a\x20URL\x20on\x20a\x20different\x20origin\x20than\x20the\x20resolved\x20target','bubCu','uSGNt','use\x20<profile-name>','EniDb','yes','rvwhQ','UhaNH','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','IBwRs','Config\x20value','--checklist','ncrjN','update\x20<profile-name>','Unknown\x20command','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','number','kyNvC','--scenario','PfjQf','Nmkhy','env','xiLGv','organizationName','all','Feature\x20review\x20ID\x20to\x20restore','Print\x20the\x20current\x20CLI\x20access\x20token','failed','hwPWq','qQKls','ranger\x20add\x20env','baFXQ','GDxOj','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','message','profile\x20config\x20set','tRsDC','GhTyQ','ZZjFv','GeAtL','save-creds','qGwFl','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','dViXf','PZuLv','rEcyd','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','setup:profiles','SSQvX','324156aOyxxB','Oehmo','ranger\x20profile\x20config\x20list','xsnoq','mhzxh','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','EIDOa','profile\x20use','You\x20must\x20specify\x20a\x20config\x20subcommand','--notes','positional','.\x20[','demandCommand','headed','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','Install\x20Chromium\x20browser\x20binary','ranger\x20use','ranger\x20feature\x20restore','unhandledRejection','cwd','ranger\x20create','tokenOrSubcommand','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','dyfYc','wMiQM','Subcommand\x20or\x20API\x20token\x20(rngr_...)','length'];_0x258c=function(){return _0x2c5c8b;};return _0x258c();}import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on'](_0xe649af(0x18f),async _0x597c4d=>{const _0x475f9d=_0xe649af,_0x90593d=getCurrentCollector();_0x90593d&&await _0x90593d[_0x475f9d(0x122)](_0x597c4d),process['exitCode']=0x1;});const rawArgs=process[_0xe649af(0x1de)]['slice'](0x2),TOP_LEVEL_HELP=_0xe649af(0x285),PROFILE_HELP='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',PROFILE_CONFIG_HELP=_0xe649af(0x264);function warnRenamed(_0x5e9507,_0x45a5e4){console['error']('\x0a'+_0x5e9507+'\x20is\x20now\x20'+_0x45a5e4+'\x0a');}function argUsed(_0x311e2b){const _0x3e7fdf=_0xe649af;return rawArgs[_0x3e7fdf(0x257)](_0x5b95dd=>_0x5b95dd===_0x311e2b||_0x5b95dd['startsWith'](_0x311e2b+'='));}function warnFlagRenamed(_0x218531,_0x472440,_0x20e52d){argUsed(_0x472440)&&warnRenamed(_0x218531+'\x20'+_0x472440,_0x218531+'\x20'+_0x20e52d);}function normalizeEnvVarNames(_0x46f8ae){const _0x4f39db=_0xe649af,_0xbf61cf=Array['isArray'](_0x46f8ae)?_0x46f8ae:_0x46f8ae?[_0x46f8ae]:[];return _0xbf61cf[_0x4f39db(0x1f7)](_0x38cc76=>String(_0x38cc76)['split'](',')[_0x4f39db(0x21c)](_0x56226b=>_0x56226b['trim']())['filter'](Boolean));}async function runGoCommand(_0x7498c3,_0x193c61=![]){const _0x5be119=_0xe649af,_0x2769ae={'EcvQr':function(_0x5526d0,_0x45d2b1,_0x28dc91){return _0x5526d0(_0x45d2b1,_0x28dc91);},'zeXkN':_0x5be119(0x25e),'HBuVC':_0x5be119(0x1d0),'wYfZq':function(_0x3b6848,_0x331c4f,_0xfb8db1,_0x479c8c){return _0x3b6848(_0x331c4f,_0xfb8db1,_0x479c8c);},'fMDUy':function(_0x53cae5,_0x1a3c6f,_0x5848d6,_0x891da7){return _0x53cae5(_0x1a3c6f,_0x5848d6,_0x891da7);},'ViDyC':'ranger\x20go','TWGJo':'--item','qpvNf':function(_0x2d6d84){return _0x2d6d84();},'PfjQf':function(_0x5521fd,_0x139075){return _0x5521fd(_0x139075);},'kySWr':function(_0xd6ee0b,_0x1f5062){return _0xd6ee0b>_0x1f5062;},'sOUtL':'Multi-actor\x20runs\x20currently\x20support\x20up\x20to\x202\x20actors.\x20(--actor\x20is\x20repeatable;\x20v1\x20caps\x20at\x202.)','vHSip':function(_0x53040c,_0x9eac8){return _0x53040c!==_0x9eac8;},'cJcgu':function(_0x1c52c0,_0x3e92c2){return _0x1c52c0>_0x3e92c2;},'battG':function(_0x49363c,_0x4afcc8){return _0x49363c!==_0x4afcc8;},'goAMt':'rangerwright-cli','oSVSq':function(_0x2fc359,_0x13598b){return _0x2fc359(_0x13598b);},'nNlsf':_0x5be119(0xc5),'VYyZW':_0x5be119(0x22d),'igXWK':_0x5be119(0x1b8),'aTSwJ':function(_0x25b6db,_0x56792c){return _0x25b6db===_0x56792c;},'wMiQM':'verified','kuUki':'\x20VERIFIED','AJLPO':function(_0x4c54f4,_0x1c3af6){return _0x4c54f4===_0x1c3af6;},'rvwhQ':'\x20INCOMPLETE','Oehmo':function(_0x5547ea,_0x166cb1){return _0x5547ea===_0x166cb1;},'SLkMX':_0x5be119(0x1cf),'aItpL':_0x5be119(0x137),'XFHTv':'\x20BLOCKED','ARIVJ':'\x20FAILED','JDDLc':'\x0aIssues:'};_0x193c61&&(_0x2769ae[_0x5be119(0xfe)](warnRenamed,_0x5be119(0x25e),'ranger\x20go'),warnFlagRenamed(_0x2769ae[_0x5be119(0x280)],_0x5be119(0x142),_0x2769ae['HBuVC']));_0x2769ae['wYfZq'](warnFlagRenamed,'ranger\x20go',_0x5be119(0xf3),_0x5be119(0x186)),_0x2769ae[_0x5be119(0x28b)](warnFlagRenamed,_0x2769ae[_0x5be119(0xff)],_0x2769ae[_0x5be119(0x287)],_0x5be119(0x15e));const _0x5e7d6d=await _0x2769ae[_0x5be119(0x21e)](loadRangerConfig),_0x1fedf7=isByokEnabled(),_0x578813=_0x7498c3[_0x5be119(0x136)],_0x55b9e0=_0x5e7d6d['model'],_0x454113=_0x2769ae[_0x5be119(0x15f)](normalizeEnvVarNames,_0x7498c3[_0x5be119(0x1c3)]),_0x1e5860=_0x2769ae['qpvNf'](getVerificationTransport),_0x32abaf=parseActors(_0x7498c3[_0x5be119(0x235)]);if(_0x2769ae['kySWr'](_0x32abaf['length'],0x2))throw new Error(_0x2769ae[_0x5be119(0xfb)]);if(_0x32abaf['length']>=0x2){if(process[_0x5be119(0x161)][_0x5be119(0x1ca)])throw new Error('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>.');_0x2769ae[_0x5be119(0x133)](_0x1e5860,'playwright-cli')&&(console[_0x5be119(0x11e)](_0x5be119(0x249)),process[_0x5be119(0x161)]['RANGER_TRANSPORT']='playwright-cli');}if(_0x2769ae[_0x5be119(0x1b5)](_0x454113[_0x5be119(0x197)],0x0)&&_0x1e5860!=='playwright-cli'&&_0x2769ae[_0x5be119(0x101)](_0x1e5860,_0x2769ae[_0x5be119(0xf8)]))throw new Error(_0x5be119(0x1d4)+_0x1e5860+'.');const _0x436c36=await _0x2769ae['oSVSq'](verifyFeature,{'featureId':_0x7498c3['feature'],'profile':_0x7498c3[_0x5be119(0x236)]??(_0x193c61?_0x7498c3['env']:undefined)??process[_0x5be119(0x161)]['RANGER_PROFILE'],'authEnv':_0x193c61?undefined:_0x7498c3[_0x5be119(0x161)]??process['env'][_0x5be119(0xfc)],'notes':_0x7498c3['notes']??_0x7498c3[_0x5be119(0x1af)],'check':_0x7498c3[_0x5be119(0x19a)],'scenario':_0x7498c3[_0x5be119(0x124)]??_0x7498c3[_0x5be119(0x12b)],'startPath':_0x7498c3[_0x5be119(0x202)],'baseUrl':_0x7498c3[_0x5be119(0x211)],'debugOutcome':_0x7498c3[_0x2769ae[_0x5be119(0x269)]],'debugAddressComments':_0x7498c3[_0x2769ae[_0x5be119(0x1e2)]],'headed':_0x7498c3['headed'],'verifierEnvVars':_0x454113,'allowUrlMismatch':_0x7498c3[_0x2769ae['igXWK']],'byokEnabled':_0x1fedf7,'flagVerifyModel':_0x578813,'configVerifyModel':_0x55b9e0,'actors':_0x32abaf['length']?_0x32abaf:undefined});console[_0x5be119(0x11e)]('\x0a'+'='[_0x5be119(0x268)](0x3c)),console[_0x5be119(0x11e)](_0x2769ae[_0x5be119(0xe0)](_0x436c36[_0x5be119(0x1c5)],_0x2769ae['wMiQM'])?_0x2769ae['kuUki']:_0x2769ae['AJLPO'](_0x436c36['evaluation'],'incomplete')?_0x2769ae[_0x5be119(0x152)]:_0x2769ae[_0x5be119(0x17e)](_0x436c36[_0x5be119(0x1c5)],_0x2769ae['SLkMX'])?_0x2769ae['aItpL']:_0x436c36['evaluation']===_0x5be119(0x1f5)?_0x2769ae[_0x5be119(0x10b)]:_0x2769ae['ARIVJ']),console['log']('='[_0x5be119(0x268)](0x3c)),console['log'](_0x5be119(0x1fe)+_0x436c36[_0x5be119(0x127)]),console[_0x5be119(0x11e)]('Evaluation:\x20'+_0x436c36[_0x5be119(0x1c5)]),console[_0x5be119(0x11e)]('Reason:\x20'+_0x436c36['evaluationReason']),_0x436c36[_0x5be119(0x1b6)]?.[_0x5be119(0x197)]&&(console['log'](_0x2769ae[_0x5be119(0x229)]),_0x436c36[_0x5be119(0x1b6)]['forEach']((_0x23ddec,_0x2d1fbe)=>{const _0x4735e2=_0x5be119;console['log']('\x0a'+(_0x2d1fbe+0x1)+_0x4735e2(0x188)+_0x23ddec[_0x4735e2(0xf7)]+']\x20'+_0x23ddec[_0x4735e2(0x266)]);})),process['exit'](_0x436c36['evaluation']===_0x2769ae[_0x5be119(0x195)]?0x0:0x1);}export function buildParser(_0x474dde){const _0x2abf03=_0xe649af,_0x52618f={'bpIxH':_0x2abf03(0x248),'qreTE':_0x2abf03(0x266),'wNMIW':_0x2abf03(0x124),'lwPnd':'array','pfMKI':_0x2abf03(0x28d),'cQyBB':_0x2abf03(0x1ac),'puwPA':_0x2abf03(0x15e),'bWJus':function(_0x4e9d41,_0x40be27,_0x38118b){return _0x4e9d41(_0x40be27,_0x38118b);},'PBQeZ':_0x2abf03(0x1a8),'sGmaR':'boolean','GJysE':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','FvHLu':_0x2abf03(0x274),'AmGyY':_0x2abf03(0x255),'XjppD':'number','sKNpj':'Number\x20of\x20feature\x20reviews\x20to\x20skip','ygEyi':'Include\x20soft-deleted\x20feature\x20reviews','CzpPU':'list','dViXf':'string','PSpFs':'Scenario\x20description','TLlpu':_0x2abf03(0x1bf),'oeBjq':_0x2abf03(0x25d),'FCTvX':_0x2abf03(0x198),'kVICf':_0x2abf03(0xca),'HknSi':_0x2abf03(0x27d),'xiLGv':'exclude-scenario','iGQXs':_0x2abf03(0x241),'UhaNH':_0x2abf03(0x165),'JdBLb':function(_0x55ca1f,_0x1b130a,_0x996f4b){return _0x55ca1f(_0x1b130a,_0x996f4b);},'dyfYc':'restore','TWpXk':'scope','IsZdK':_0x2abf03(0x281),'DAJaz':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','jlfYU':'url','relqY':'skip-auth','uPkUD':'Skip\x20browser\x20authentication','huIyA':'force','VaRJh':_0x2abf03(0x193),'khUFV':_0x2abf03(0x23e),'EdKbz':function(_0x7da6d,_0x3ae0b1){return _0x7da6d!==_0x3ae0b1;},'OoFQq':function(_0x303f4e,_0x5210a0){return _0x303f4e+_0x5210a0;},'fSoDH':'mcp-bootstrap','PZuLv':'Alias\x20for\x20--mcp-bootstrap','YFmAk':function(_0x139ab8,_0x3d7fcb,_0x596dfe){return _0x139ab8(_0x3d7fcb,_0x596dfe);},'UWkWk':_0x2abf03(0x104),'YHVCe':function(_0xab3868){return _0xab3868();},'yKBeq':function(_0x3c58ff,_0x1e75df){return _0x3c58ff(_0x1e75df);},'oEyBe':_0x2abf03(0x192),'Edcgk':'all','IiNKG':'Run\x20full\x20interactive\x20setup','OhZiX':'deps','xQSPy':_0x2abf03(0x18c),'ksbwL':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','uJtTC':'profiles','tpVOA':_0x2abf03(0x1fa),'ctoHh':'opencode','CMreI':'allow-insecure-localhost','GAUBn':_0x2abf03(0x254),'SzfrD':_0x2abf03(0xe5),'tRsDC':'profile','FFYGh':_0x2abf03(0x15b),'bgEXI':'setup-ci','prHCm':_0x2abf03(0x210),'DJJTL':_0x2abf03(0x245),'tofsN':'profile\x20add','gVvOm':'profile-name','rvCjt':_0x2abf03(0xe7),'lgvJz':_0x2abf03(0x284),'DRHBp':_0x2abf03(0x20a),'zzfXQ':'profile\x20ls','DgZXk':_0x2abf03(0x12f),'pobgt':_0x2abf03(0x11d),'pXHcn':_0x2abf03(0xdd),'YjUFn':function(_0xfba06e,_0x444f32){return _0xfba06e===_0x444f32;},'vqcFM':_0x2abf03(0x1a0),'JamyD':'key','becAl':'set\x20<profile>\x20<key>\x20<value>','yroQI':'Set\x20a\x20config\x20value','LascW':'get\x20<profile>\x20<key>','Ramfv':_0x2abf03(0x1bb),'zWzDm':'List\x20all\x20config\x20for\x20a\x20profile','xqsle':'unset\x20<profile>\x20<key>','TtvOl':'reset\x20<profile>','cedte':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','XbhyK':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','pDQDe':_0x2abf03(0x13f),'IjyHu':_0x2abf03(0x1e8),'ECEpt':_0x2abf03(0x200),'IiGbS':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','zOUgQ':_0x2abf03(0x149),'dWMbT':'yes','qvUJE':'Skip\x20interactive\x20confirmation\x20prompts.','BwljC':function(_0x48df8f,_0x242bcf,_0x12c54d){return _0x48df8f(_0x242bcf,_0x12c54d);},'OXVBk':'profile\x20config\x20get','QEorG':'profile\x20config\x20reset','iNjlL':_0x2abf03(0x14f),'fUsKU':_0x2abf03(0x1c4),'jiuJk':_0x2abf03(0x159),'FiTvm':_0x2abf03(0xdc),'QKKiF':_0x2abf03(0x131),'NrytN':'status','QEOJV':_0x2abf03(0x11b),'XWlLH':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','yDuqK':'actor','hjVvT':'notes','qWpJE':_0x2abf03(0xef),'VTfWa':_0x2abf03(0x19a),'EXKkS':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','kahQz':_0x2abf03(0x278),'pohbQ':_0x2abf03(0x135),'GeAtL':'headed','rdHvv':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','iyelU':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','lfAjm':_0x2abf03(0x14c),'uUOaW':'debug-outcome','fNTKW':'verified','TxYXa':'failed','PVAuC':_0x2abf03(0x24a),'ZljzK':_0x2abf03(0x12b),'IBwRs':'ranger\x20auth\x20encrypt','pcevk':function(_0xb3f948,_0x5f3896){return _0xb3f948(_0x5f3896);},'kyNvC':_0x2abf03(0x216),'LBUfL':_0x2abf03(0x215),'kpsuH':'Skip\x20authentication','elIUy':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','eoNWW':function(_0x36df95,_0xa939f1,_0x346d72){return _0x36df95(_0xa939f1,_0x346d72);},'rGQwI':function(_0xdeb464,_0x41bbb3,_0x757e91){return _0xdeb464(_0x41bbb3,_0x757e91);},'TbmVK':'start','YhMUX':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','oSRjO':'Scenario\x20index\x20(1-based)','RowSX':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','vdHrv':_0x2abf03(0x136),'JrLLK':'environment-variable','pdlNf':_0x2abf03(0x1f5),'uSGNt':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','OCJsu':_0x2abf03(0x292),'iXFVv':_0x2abf03(0x16a),'SwrBs':'ranger\x20profile\x20add','sotGv':_0x2abf03(0xcb),'ecMHa':function(_0x251e30,_0x5eee60,_0x2b436c){return _0x251e30(_0x5eee60,_0x2b436c);},'Cpqfw':'env','yNsnB':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','coyzB':'ranger\x20config\x20set','JKySB':'ranger\x20profile\x20config\x20set','CpDOp':'Config\x20key','ehBaD':_0x2abf03(0x25f),'Ftvkl':_0x2abf03(0x17f),'otRzb':_0x2abf03(0x28e),'KqcKd':function(_0x39686b,_0x78e210,_0x1f9693){return _0x39686b(_0x78e210,_0x1f9693);},'LtdBS':function(_0x219a78,_0x57619b,_0x235f28){return _0x219a78(_0x57619b,_0x235f28);},'Xfrok':'config\x20unset','IiQtV':_0x2abf03(0x1fc),'hwPWq':'list\x20<env>','GJxVv':_0x2abf03(0x185),'dFmGb':function(_0x309777,_0x418cab,_0x187c42){return _0x309777(_0x418cab,_0x187c42);},'vasox':'env\x20list','GkFAw':'Name\x20of\x20the\x20environment\x20to\x20update','MtYPx':_0x2abf03(0x213),'cQwoC':_0x2abf03(0x204),'zpwFh':_0x2abf03(0x144),'xYGvN':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','GsTer':'current-branch','SSQvX':_0x2abf03(0x296),'KbqML':function(_0x270bd9,_0x481e52,_0x571a6e){return _0x270bd9(_0x481e52,_0x571a6e);},'NCeKi':'feature\x20show','ncrjN':_0x2abf03(0x176),'XoidQ':'ranger\x20feature\x20resume','qJrut':function(_0x5f13ac,_0x3f8110,_0x103a55){return _0x5f13ac(_0x3f8110,_0x103a55);},'fWoWh':_0x2abf03(0x223),'qGwFl':_0x2abf03(0x12a),'sLNHw':_0x2abf03(0x27b),'GhTyQ':'feature\x20delete','EIDOa':_0x2abf03(0x191),'hkFIM':_0x2abf03(0x1a6),'Mtvkk':'feature\x20add-checklist-item','FQNWY':_0x2abf03(0x18e),'ZIRHY':_0x2abf03(0xd9),'YCvbV':_0x2abf03(0x261),'gJMQm':'get-feedback\x20[id]','xUOFa':'restore\x20<id>','houpY':'hook:enable','jlSFf':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','baFXQ':_0x2abf03(0x134),'ECwlS':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','zzwKR':function(_0x4cbf1f,_0x5c6c03){return _0x4cbf1f||_0x5c6c03;},'aIrOw':'Unknown\x20error','QKPBQ':function(_0x2b0b69){return _0x2b0b69();},'wkOKk':'create\x20<name>','wSfvN':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','trIKr':'List\x20all\x20feature\x20reviews','BnMqG':'add-scenario\x20<description>','xsnoq':'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','krZrg':_0x2abf03(0x238),'rEcyd':'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','YoJMw':_0x2abf03(0x1c9),'WzhXe':_0x2abf03(0xd3),'rVnJv':_0x2abf03(0x154),'lVNnF':'setup\x20[tokenOrSubcommand]','FoSLn':'Install\x20Ranger\x20skills','iKNOS':'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','lYqrM':'update','lmgnT':_0x2abf03(0x115),'bUxWl':_0x2abf03(0xe3),'pwyhJ':_0x2abf03(0x166),'LQgML':'Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','eBLDh':'auth','rYqno':'add\x20env\x20<env-name>','exiuo':_0x2abf03(0x1bc),'dKfxi':_0x2abf03(0x232),'Yadfs':function(_0x2d2fb6,_0x204cc8){return _0x2d2fb6+_0x204cc8;},'EZFrI':_0x2abf03(0x1e9),'AuvCV':_0x2abf03(0xd5)};return _0x52618f['pcevk'](_0x19b724,_0x474dde??process[_0x2abf03(0x1de)]['slice'](0x2))['scriptName'](_0x2abf03(0x103))['usage'](TOP_LEVEL_HELP)['version'](_0x52618f[_0x2abf03(0x13a)](getCurrentVersion))[_0x2abf03(0x146)](_0x52618f['wkOKk'],_0x52618f['wSfvN'],_0xbe1a7e=>{const _0x199603=_0x2abf03;return _0xbe1a7e[_0x199603(0x187)](_0x52618f['bpIxH'],{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x52618f['qreTE'],{'type':'string','alias':'d','description':_0x199603(0x1c8)})[_0x199603(0x230)](_0x52618f['wNMIW'],{'type':_0x52618f['lwPnd'],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x199603(0x230)](_0x52618f['pfMKI'],{'type':'array','hidden':!![]});},async _0x5c47eb=>{const _0x2af0be=_0x2abf03;if(!_0x5c47eb[_0x2af0be(0x248)]){console[_0x2af0be(0x1c0)](_0x52618f[_0x2af0be(0xea)]+'Example:\x20ranger\x20create\x20my-feature'),process['exit'](0x1);return;}warnFlagRenamed(_0x2af0be(0x191),_0x2af0be(0x157),_0x52618f['puwPA']);const _0x32788d=_0x5c47eb['scenario']||_0x5c47eb['checklist'];await _0x52618f[_0x2af0be(0xdf)](withTelemetry,_0x52618f[_0x2af0be(0x1b9)],()=>featureCreate(_0x5c47eb[_0x2af0be(0x248)],{'description':_0x5c47eb['description'],'scenarios':_0x32788d}));})['command'](_0x52618f[_0x2abf03(0x246)],_0x52618f[_0x2abf03(0x20c)],_0x3d468a=>{const _0x468d31=_0x2abf03;return _0x3d468a[_0x468d31(0x230)]('current-branch',{'type':_0x52618f[_0x468d31(0x253)],'description':_0x52618f[_0x468d31(0x1be)]})[_0x468d31(0x230)](_0x52618f[_0x468d31(0x251)],{'type':_0x468d31(0x15c),'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option'](_0x52618f[_0x468d31(0x26d)],{'type':_0x52618f[_0x468d31(0x21b)],'alias':'o','description':_0x52618f[_0x468d31(0x12e)],'default':0x0})['option']('include-deleted',{'type':'boolean','alias':'d','description':_0x52618f['ygEyi'],'default':![]});},async _0x3ff13=>{const _0x54b35f=_0x2abf03;await _0x52618f['bWJus'](withTelemetry,_0x52618f[_0x54b35f(0x246)],()=>featureList({'currentBranch':_0x3ff13[_0x54b35f(0xec)],'limit':_0x3ff13['limit'],'offset':_0x3ff13[_0x54b35f(0x255)],'includeDeleted':_0x3ff13['include-deleted']}));})['command'](_0x2abf03(0x19e),_0x2abf03(0x277),_0x2a2afe=>{const _0x2b8980=_0x2abf03;return _0x2a2afe['positional']('id',{'type':'string','description':_0x2b8980(0x241)});},async _0x3ac942=>{const _0x7796a6=_0x2abf03;await _0x52618f[_0x7796a6(0xdf)](withTelemetry,_0x7796a6(0x130),()=>featureShow(_0x3ac942['id']));})['command'](_0x52618f['ZIRHY'],'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x55ef78=>{const _0x42f198=_0x2abf03;return _0x55ef78['positional']('id',{'type':_0x52618f['dViXf'],'description':_0x42f198(0x176)});},async _0x394562=>{const _0x2f5728=_0x2abf03;await withTelemetry(_0x2f5728(0x1e5),()=>featureResume(_0x394562['id']));})['command'](_0x52618f[_0x2abf03(0x1e3)],_0x52618f[_0x2abf03(0x180)],_0x553da7=>{const _0x561942=_0x2abf03;return _0x553da7[_0x561942(0x187)](_0x52618f['qreTE'],{'type':_0x561942(0x10a),'description':_0x52618f['PSpFs'],'demandOption':!![]})[_0x561942(0x230)]('id',{'type':_0x561942(0x10a),'description':_0x52618f[_0x561942(0xd2)]});},async _0xf63360=>{const _0xc221aa=_0x2abf03;await _0x52618f[_0xc221aa(0xdf)](withTelemetry,_0x52618f['oeBjq'],()=>featureAddScenario(_0xf63360['description'],_0xf63360['id']));})[_0x2abf03(0x146)](_0x52618f['krZrg'],_0x52618f[_0x2abf03(0x179)],_0x5568a8=>{const _0x58c4db=_0x2abf03;return _0x5568a8[_0x58c4db(0x187)](_0x52618f[_0x58c4db(0x1e7)],{'type':'string','description':'New\x20scenario\x20description','demandOption':!![]})[_0x58c4db(0x230)](_0x52618f['wNMIW'],{'type':_0x52618f['XjppD'],'description':_0x52618f[_0x58c4db(0x10f)],'demandOption':!![]})[_0x58c4db(0x230)]('id',{'type':_0x52618f['dViXf'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x54b21a=>{const _0x1d04da=_0x2abf03;await _0x52618f[_0x1d04da(0xdf)](withTelemetry,_0x52618f['kVICf'],()=>featureEditScenario(_0x54b21a['description'],{'id':_0x54b21a['id'],'scenario':_0x54b21a[_0x1d04da(0x124)]}));})[_0x2abf03(0x146)](_0x52618f['YoJMw'],_0x2abf03(0x16d),_0x6ebfb0=>{const _0x238f23=_0x2abf03;return _0x6ebfb0[_0x238f23(0x187)]('id',{'type':'string','description':_0x238f23(0x241)})['option'](_0x238f23(0x148),{'type':_0x238f23(0x279),'description':_0x52618f[_0x238f23(0x141)]})['option'](_0x238f23(0xe4),{'type':_0x52618f['sGmaR'],'description':_0x238f23(0x1cb),'default':![]});},async _0x1b629b=>{const _0x2bf8cf=_0x2abf03,_0x517994=_0x1b629b[_0x52618f[_0x2bf8cf(0x162)]],_0x5e824f=_0x517994?_0x517994['map'](_0x49b84e=>Number(_0x49b84e)):undefined;await withTelemetry(_0x2bf8cf(0x237),()=>featureReportPrDescription(_0x1b629b['id'],{'excludeScenarios':_0x5e824f,'json':_0x1b629b[_0x2bf8cf(0xe4)]}));})['command'](_0x2abf03(0x1d1),_0x2abf03(0x1f6),_0x1a44e5=>{const _0xb6bdf1=_0x2abf03;return _0x1a44e5[_0xb6bdf1(0x187)]('id',{'type':_0x52618f[_0xb6bdf1(0x177)],'description':_0x52618f['TLlpu']});},async _0x2a035e=>{await withTelemetry('get-review',()=>featureGetReview(_0x2a035e['id']));})[_0x2abf03(0x146)](_0x52618f['WzhXe'],_0x52618f['rVnJv'],_0x52f323=>{const _0x570e8f=_0x2abf03;return _0x52f323['positional']('id',{'type':_0x570e8f(0x10a),'description':_0x52618f[_0x570e8f(0x205)]});},async _0x5ed2ce=>{await withTelemetry('delete',()=>featureDelete(_0x5ed2ce['id']));})[_0x2abf03(0x146)](_0x52618f['xUOFa'],'Restore\x20a\x20soft-deleted\x20feature\x20review',_0x1df26e=>{const _0x4a37b1=_0x2abf03;return _0x1df26e['positional']('id',{'type':'string','description':_0x52618f[_0x4a37b1(0x153)],'demandOption':!![]});},async _0x116f0c=>{const _0x3c9a66=_0x2abf03;await _0x52618f['JdBLb'](withTelemetry,_0x52618f[_0x3c9a66(0x194)],()=>featureRestore(_0x116f0c['id']));})[_0x2abf03(0x146)](_0x52618f['lVNnF'],'Initialize\x20Ranger\x20in\x20your\x20project',_0x533e9b=>{const _0x213a03=_0x2abf03,_0x5ee293={'OeoAw':_0x213a03(0x10a),'LmajG':_0x213a03(0x10d),'CzsNt':_0x213a03(0xdb),'rlhkT':_0x213a03(0x1fa),'VWEMQ':'Skip\x20authentication','BxAiE':'with-deps','rZJdA':_0x52618f[_0x213a03(0x222)],'AepnG':_0x52618f[_0x213a03(0x1ad)],'fwrNs':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','QvaJk':_0x52618f['fSoDH'],'FakeG':_0x52618f[_0x213a03(0x178)],'GyIFo':function(_0xacc89c,_0x498260,_0x5259dd){return _0xacc89c(_0x498260,_0x5259dd);},'QXBHx':_0x213a03(0x206),'lksCI':function(_0x36cb4e,_0x53f343,_0x37723f){return _0x36cb4e(_0x53f343,_0x37723f);},'WgEeM':_0x213a03(0x20f),'GDxOj':function(_0x181242,_0x1871ca,_0x14a1bb){const _0x5cb287=_0x213a03;return _0x52618f[_0x5cb287(0x129)](_0x181242,_0x1871ca,_0x14a1bb);},'ZzjbL':_0x213a03(0x270),'JJUQy':_0x213a03(0x128),'YcwMY':_0x52618f['UWkWk'],'ezNnL':function(_0x4ad94a){const _0x5189a9=_0x213a03;return _0x52618f[_0x5189a9(0xfd)](_0x4ad94a);},'ohqlK':function(_0xbd5298,_0x59eb33){const _0x485d1f=_0x213a03;return _0x52618f[_0x485d1f(0x27f)](_0xbd5298,_0x59eb33);}};return _0x533e9b[_0x213a03(0x120)](_0x213a03(0x298))[_0x213a03(0x187)](_0x52618f['oEyBe'],{'type':_0x52618f['dViXf'],'description':_0x213a03(0x196)})['command'](_0x52618f[_0x213a03(0x26b)],_0x52618f['IiNKG'],_0x3a6f2d=>{const _0x29e981=_0x213a03;return _0x3a6f2d[_0x29e981(0x230)](_0x29e981(0xe5),{'type':_0x5ee293[_0x29e981(0x12c)],'description':'Ranger\x20API\x20token'})[_0x29e981(0x230)](_0x5ee293['LmajG'],{'type':_0x5ee293['CzsNt'],'description':_0x5ee293['rlhkT'],'default':![]})['option'](_0x29e981(0x1d3),{'type':'boolean','description':_0x5ee293['VWEMQ'],'default':![]})[_0x29e981(0x230)](_0x5ee293['BxAiE'],{'type':_0x5ee293[_0x29e981(0x28c)],'description':_0x29e981(0x11f),'default':![]})[_0x29e981(0x230)](_0x5ee293[_0x29e981(0x118)],{'type':_0x5ee293['OeoAw'],'choices':[_0x5ee293[_0x29e981(0x19c)]],'hidden':!![],'description':_0x29e981(0xed)})[_0x29e981(0x230)](_0x29e981(0x23b),{'type':'string','description':_0x29e981(0xc4)})['option'](_0x29e981(0x1ce),{'type':_0x5ee293['CzsNt'],'description':_0x5ee293['fwrNs'],'default':![]})['option'](_0x29e981(0x128),{'type':'boolean','description':_0x29e981(0x104),'default':![]})[_0x29e981(0x230)](_0x29e981(0xc8),{'type':_0x5ee293['CzsNt'],'description':_0x29e981(0x23e),'default':![]})['option'](_0x5ee293['QvaJk'],{'type':_0x5ee293[_0x29e981(0x28c)],'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','default':![]})['option']('mcp',{'type':'boolean','description':_0x5ee293['FakeG'],'default':![]});},async _0x5f4ca9=>{const _0x4ffdc0=_0x213a03;(_0x5f4ca9[_0x4ffdc0(0x1bd)]||_0x5f4ca9['mcp'])&&await _0x5ee293['GyIFo'](withTelemetry,_0x5ee293[_0x4ffdc0(0x1fb)],()=>mcpBootstrap()),await withTelemetry(_0x5ee293['QXBHx'],_0x582b44=>start(_0x5f4ca9[_0x4ffdc0(0xe5)],{'skipChromium':_0x5f4ca9['skip-chromium'],'skipAuth':_0x5f4ca9['skip-auth'],'withDeps':_0x5f4ca9[_0x4ffdc0(0x254)],'scope':_0x5f4ca9[_0x4ffdc0(0x1e1)],'url':_0x5f4ca9[_0x4ffdc0(0x23b)],'force':_0x5f4ca9[_0x4ffdc0(0x1ce)],'opencode':_0x5f4ca9[_0x4ffdc0(0x128)],'allowInsecureLocalhost':_0x5f4ca9['allow-insecure-localhost']},_0x582b44));})[_0x213a03(0x146)](_0x52618f['OhZiX'],_0x52618f[_0x213a03(0x117)],_0x4b34f2=>{const _0x163865=_0x213a03;return _0x4b34f2['option'](_0x5ee293[_0x163865(0x22c)],{'type':_0x5ee293[_0x163865(0x28c)],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]});},async _0x33b766=>{const _0x5f1cd1=_0x213a03;await _0x5ee293[_0x5f1cd1(0x12d)](withTelemetry,_0x5f1cd1(0x1dc),()=>ensureChromium(_0x33b766['with-deps']));})[_0x213a03(0x146)](_0x213a03(0x210),_0x213a03(0x1f0),_0x154b6d=>{const _0x3fce70=_0x213a03;return _0x154b6d['option'](_0x3fce70(0xe5),{'type':_0x5ee293['OeoAw'],'description':'Ranger\x20API\x20token\x20(rngr_...)'})['option'](_0x3fce70(0x126),{'type':'boolean','description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x1f9f7f=>{const _0x5f04a4=_0x213a03,_0x1b3dfb={'SzWpr':function(_0x302b9c){return _0x302b9c();},'FgqYJ':_0x5ee293['WgEeM'],'btnCl':function(_0x11d174,_0x16b5c2){return _0x11d174(_0x16b5c2);}};await _0x5ee293[_0x5f04a4(0x16c)](withTelemetry,_0x5ee293[_0x5f04a4(0x19f)],async()=>{const _0x454807=_0x5f04a4;if(_0x1f9f7f['mcp']){await _0x1b3dfb['SzWpr'](mcpBootstrap);const _0xe687e8=await refreshCliToken();if(!_0xe687e8)throw new Error(_0x1b3dfb['FgqYJ']);const _0x501cc2=await _0x1b3dfb['btnCl'](getCurrentUser,_0xe687e8);if(!_0x501cc2['success'])throw new Error(_0x454807(0x182)+_0x501cc2['error']);console[_0x454807(0x11e)](_0x454807(0x25b)+_0x501cc2[_0x454807(0x281)][_0x454807(0x163)]);return;}await _0x1b3dfb['btnCl'](authenticate,_0x1f9f7f['token']);});})[_0x213a03(0x146)]('skills',_0x52618f[_0x213a03(0xd6)],_0x3c1a97=>{const _0x3b214d=_0x213a03;return _0x3c1a97['option']('scope',{'type':_0x5ee293[_0x3b214d(0x12c)],'choices':[_0x5ee293['AepnG'],_0x3b214d(0x24d)],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})['option'](_0x5ee293['JJUQy'],{'type':_0x3b214d(0xdb),'description':_0x5ee293['YcwMY'],'default':![]});},async _0x3412ad=>{const _0x2c2340=_0x213a03,_0x18684f={'dmQqh':'ranger','lwkdy':function(_0x5c500e){return _0x5ee293['ezNnL'](_0x5c500e);},'GSAdh':_0x5ee293[_0x2c2340(0x1cd)],'Pfkeu':function(_0x88f9e4,_0xf4e4a){return _0x88f9e4(_0xf4e4a);},'POYzY':function(_0x4cc8fb,_0x590b3d){const _0x36c217=_0x2c2340;return _0x5ee293[_0x36c217(0x293)](_0x4cc8fb,_0x590b3d);}};await withTelemetry('setup:skills',async()=>{const _0x70bf53=_0x2c2340,_0x206bc6=_0x3412ad['scope'];if(_0x3412ad['opencode']){const _0x3f89ca=await ensureOpencodePluginConfig(_0x206bc6);_0x3f89ca&&await installSkill(_0x18684f[_0x70bf53(0x290)],{'level':_0x3f89ca[_0x70bf53(0x1e1)],'cliVersion':_0x18684f[_0x70bf53(0x1e6)](getCurrentVersion),'platform':_0x18684f[_0x70bf53(0x252)]});}else await _0x18684f[_0x70bf53(0x263)](ensureClaudePlugin,_0x206bc6),await _0x18684f[_0x70bf53(0x13c)](ensureClaudeSkills,_0x206bc6);});})['command'](_0x52618f['uJtTC'],'Set\x20up\x20a\x20local\x20browser\x20profile',_0x53a3f3=>{const _0x12ff1a=_0x213a03;return _0x53a3f3['option'](_0x52618f[_0x12ff1a(0x222)],{'type':'string','choices':[_0x52618f['IsZdK']],'description':_0x52618f[_0x12ff1a(0x1df)]})[_0x12ff1a(0x230)](_0x52618f['jlfYU'],{'type':_0x12ff1a(0x10a),'description':'Base\x20URL\x20of\x20the\x20running\x20app'})['option'](_0x52618f['relqY'],{'type':_0x12ff1a(0xdb),'description':_0x52618f['uPkUD'],'default':![]})['option'](_0x52618f[_0x12ff1a(0x273)],{'type':_0x12ff1a(0xdb),'description':_0x52618f[_0x12ff1a(0x283)],'default':![]})[_0x12ff1a(0x230)]('allow-insecure-localhost',{'type':'boolean','description':_0x52618f['khUFV'],'default':![]});},async _0x44d610=>{const _0x210033=_0x213a03,_0x69f704=_0x44d610['scope'];_0x52618f[_0x210033(0x220)](_0x69f704,undefined)&&_0x69f704!==_0x210033(0x281)&&(console['error'](_0x52618f[_0x210033(0x276)]('ranger\x20setup\x20profiles\x20--scope='+_0x69f704+_0x210033(0x203)+'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.')),process['exit'](0x1)),await withTelemetry(_0x210033(0x17b),_0x561480=>ensureLocalEnv({'url':_0x44d610['url'],'force':_0x44d610[_0x210033(0x1ce)],'allowInsecureLocalhost':_0x44d610['allow-insecure-localhost'],'scope':'user'},_0x561480));})[_0x213a03(0x230)]('skip-chromium',{'type':_0x213a03(0xdb),'description':_0x52618f[_0x213a03(0x1f8)],'default':![]})['option'](_0x52618f['TWpXk'],{'type':'string','choices':['user'],'hidden':!![],'description':_0x213a03(0xed)})[_0x213a03(0x230)](_0x213a03(0x23b),{'type':_0x52618f['dViXf'],'description':_0x213a03(0x215)})['option'](_0x213a03(0x1ce),{'type':_0x213a03(0xdb),'description':_0x213a03(0x193),'default':![]})['option'](_0x52618f[_0x213a03(0x1cc)],{'type':_0x52618f[_0x213a03(0x253)],'description':_0x52618f[_0x213a03(0xc9)],'default':![]})[_0x213a03(0x230)](_0x52618f['CMreI'],{'type':_0x52618f['sGmaR'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0x213a03(0x230)](_0x52618f['fSoDH'],{'type':_0x52618f[_0x213a03(0x253)],'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','default':![]})['option'](_0x52618f['relqY'],{'type':_0x52618f['sGmaR'],'description':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','default':![]})['option'](_0x52618f[_0x213a03(0x110)],{'type':_0x52618f['sGmaR'],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]})[_0x213a03(0x230)](_0x52618f['SzfrD'],{'type':_0x213a03(0x10a),'hidden':!![],'description':_0x213a03(0x23c)});},async _0x257e4d=>{const _0x50cad3=_0x2abf03,_0x4f2f18=_0x257e4d[_0x50cad3(0x192)],_0x5cf3a0=_0x257e4d[_0x50cad3(0xe5)]??_0x4f2f18;_0x257e4d[_0x52618f['fSoDH']]&&await withTelemetry(_0x52618f[_0x50cad3(0xde)],()=>mcpBootstrap()),await withTelemetry('start',_0x28d39b=>start(_0x5cf3a0,{'skipChromium':_0x257e4d[_0x50cad3(0x10d)],'skipAuth':_0x257e4d[_0x50cad3(0x1d3)],'withDeps':_0x257e4d['with-deps'],'scope':_0x257e4d[_0x50cad3(0x1e1)],'url':_0x257e4d[_0x50cad3(0x23b)],'force':_0x257e4d[_0x50cad3(0x1ce)],'opencode':_0x257e4d['opencode'],'allowInsecureLocalhost':_0x257e4d[_0x50cad3(0xc8)]},_0x28d39b));})['command']('setup-ci\x20<token>',![],_0x389373=>{const _0xeecf30=_0x2abf03;return _0x389373[_0xeecf30(0x187)]('token',{'type':_0x52618f[_0xeecf30(0x177)],'description':'Ranger\x20API\x20token','demandOption':!![]})[_0xeecf30(0x230)](_0x52618f[_0xeecf30(0x170)],{'type':_0x52618f['dViXf'],'description':_0x52618f[_0xeecf30(0x26f)]})[_0xeecf30(0x230)]('base-url',{'type':_0x52618f[_0xeecf30(0x177)],'description':_0xeecf30(0x218)})['option']('skip-chromium',{'type':_0x52618f[_0xeecf30(0x253)],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x14449b=>{const _0x368436=_0x2abf03;await withTelemetry(_0x52618f['bgEXI'],_0x23a8eb=>setupCi(_0x14449b['token'],{'profile':_0x14449b[_0x368436(0x236)],'baseUrl':_0x14449b['base-url'],'skipChromium':_0x14449b[_0x368436(0x10d)]},_0x23a8eb));})['command']('login','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)',()=>{},async()=>{const _0x3ab8cf=_0x2abf03;await _0x52618f[_0x3ab8cf(0x129)](withTelemetry,_0x52618f['prHCm'],()=>login());})[_0x2abf03(0x146)](_0x2abf03(0x138),_0x52618f['FoSLn'],_0x9c33c6=>{const _0xf8c3b6=_0x2abf03;return _0x9c33c6['option'](_0x52618f[_0xf8c3b6(0x1cc)],{'type':'boolean','description':_0x52618f['DJJTL'],'default':![]})[_0xf8c3b6(0x230)](_0x52618f[_0xf8c3b6(0x222)],{'type':_0x52618f['dViXf'],'choices':[_0x52618f[_0xf8c3b6(0x1ad)],_0xf8c3b6(0x24d)],'description':'Install\x20scope\x20for\x20skills'});},async _0x28143c=>{const _0xf6127d=_0x2abf03,_0x2ac9f9=_0x52618f['yKBeq'](Boolean,_0x28143c['opencode']);await _0x52618f['bWJus'](withTelemetry,_0xf6127d(0x138),()=>skillup({'autoInstall':_0x28143c['scope'],'platform':_0x2ac9f9?_0xf6127d(0x128):_0xf6127d(0x259)}));})['command']('clean',_0x52618f[_0x2abf03(0x1b2)],()=>{},async()=>{await withTelemetry('clean',()=>clean());})[_0x2abf03(0x146)]([_0x52618f['tRsDC'],_0x52618f[_0x2abf03(0xc7)]],'Manage\x20profiles',_0x212b5b=>{const _0x2ab101=_0x2abf03,_0x325540={'gmQLU':_0x52618f[_0x2ab101(0x1ea)],'shiWj':_0x52618f['cedte'],'qZetr':_0x2ab101(0x1d3),'OpFXh':'boolean','jTRFd':_0x52618f[_0x2ab101(0x27e)],'gKzLy':_0x2ab101(0x23b),'WLiMS':'string','NwivW':_0x2ab101(0x121),'XpwxX':_0x2ab101(0x1c1),'qCTRS':_0x2ab101(0x225),'CDQCp':_0x52618f['TWpXk'],'YshtM':_0x2ab101(0x161),'mhzxh':'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.','bOzvL':_0x52618f['pDQDe'],'bubCu':function(_0x1c2a2d,_0x2c1787,_0x31dec4){return _0x52618f['bWJus'](_0x1c2a2d,_0x2c1787,_0x31dec4);},'QmMye':_0x2ab101(0x1f2),'zAGtF':_0x52618f[_0x2ab101(0x19d)],'NkLYr':_0x52618f[_0x2ab101(0x23f)],'aYBFP':'allow-insecure-localhost','ECMYE':_0x52618f[_0x2ab101(0x22f)],'cVLEo':_0x52618f['zOUgQ'],'fpKgY':_0x2ab101(0x143),'KgCGa':_0x52618f[_0x2ab101(0x214)],'tDhxA':_0x52618f['qvUJE'],'sTsRg':_0x2ab101(0x174),'maYUq':_0x2ab101(0x24c),'BgYRJ':function(_0x223b7a,_0x7c8f2,_0x3414f5){const _0x5a48e7=_0x2ab101;return _0x52618f[_0x5a48e7(0x1ae)](_0x223b7a,_0x7c8f2,_0x3414f5);},'YCAuQ':'profile\x20migrate','JnmrW':_0x52618f['tRsDC'],'nvLyi':_0x52618f[_0x2ab101(0xf5)],'Nmkhy':_0x2ab101(0x100),'KYUmh':'Config\x20key','pwQlg':function(_0x45fcd0,_0x384737,_0x5e84f4){return _0x45fcd0(_0x384737,_0x5e84f4);},'fZcpJ':_0x52618f['OXVBk'],'nOiWX':_0x52618f[_0x2ab101(0x132)]};return _0x212b5b[_0x2ab101(0x120)](PROFILE_HELP)['command']('add\x20<profile-name>','Add\x20profile\x20configuration',_0x237715=>{const _0x29e0f3=_0x2ab101;return _0x237715[_0x29e0f3(0x187)](_0x325540['gmQLU'],{'type':'string','description':_0x325540['shiWj'],'demandOption':!![]})['option']('ci',{'type':'boolean','hidden':!![],'default':![]})['option'](_0x325540['qZetr'],{'type':_0x325540[_0x29e0f3(0x13d)],'description':_0x325540[_0x29e0f3(0xc3)],'default':![]})['option'](_0x325540[_0x29e0f3(0x147)],{'type':_0x325540['WLiMS'],'description':_0x325540['NwivW']})[_0x29e0f3(0x230)]('force',{'type':_0x325540['OpFXh'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x29e0f3(0x230)](_0x325540[_0x29e0f3(0x119)],{'type':_0x325540['WLiMS'],'description':_0x29e0f3(0x17a)})['option']('allow-insecure-localhost',{'type':_0x325540[_0x29e0f3(0x13d)],'description':_0x29e0f3(0x228),'default':![]})[_0x29e0f3(0x230)](_0x29e0f3(0xf1),{'type':'boolean','description':_0x29e0f3(0x139),'default':![]})[_0x29e0f3(0x230)](_0x325540[_0x29e0f3(0xd4)],{'type':'string','array':!![],'description':_0x29e0f3(0x240)})['option'](_0x325540[_0x29e0f3(0x265)],{'type':_0x325540[_0x29e0f3(0xf6)],'choices':[_0x29e0f3(0x281),'project'],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})['option'](_0x325540['YshtM'],{'type':'string','description':_0x325540[_0x29e0f3(0x181)]})[_0x29e0f3(0x230)]('yes',{'type':'boolean','alias':'y','description':_0x325540['bOzvL'],'default':![]});},async _0x206a07=>{const _0x559ad5=_0x2ab101;await withTelemetry(_0x52618f[_0x559ad5(0xf9)],_0x454eac=>addEnv(_0x206a07[_0x559ad5(0xf4)],{'ci':_0x206a07['ci'],'skipAuth':_0x206a07['skip-auth'],'url':_0x206a07[_0x559ad5(0x23b)],'force':_0x206a07['force'],'cdpEndpoint':_0x206a07[_0x559ad5(0x1c1)],'allowInsecureLocalhost':_0x206a07['allow-insecure-localhost'],'safeMode':_0x206a07[_0x559ad5(0xf1)],'setupHeader':_0x206a07[_0x559ad5(0x225)],'scope':_0x206a07['scope'],'authEnv':_0x206a07[_0x559ad5(0x161)],'yes':_0x206a07['yes']},_0x454eac),{'isElectron':_0x52618f['yKBeq'](Boolean,_0x206a07['cdp-endpoint'])});})[_0x2ab101(0x146)](_0x52618f['iNjlL'],_0x52618f['fUsKU'],_0x3ff333=>{const _0x11e379=_0x2ab101;return _0x3ff333['positional'](_0x52618f['gVvOm'],{'type':'string','description':_0x52618f[_0x11e379(0x114)],'demandOption':!![]});},async _0x2df731=>{const _0xf50704=_0x2ab101;await _0x325540[_0xf50704(0x14d)](withTelemetry,_0xf50704(0x184),()=>useEnv(_0x2df731[_0xf50704(0xf4)]));})[_0x2ab101(0x146)]('delete\x20<profile-name>',_0x2ab101(0x27a),_0x2aadf8=>{const _0x11c812=_0x2ab101;return _0x2aadf8[_0x11c812(0x187)](_0x11c812(0xf4),{'type':_0x52618f[_0x11c812(0x177)],'description':_0x11c812(0x199),'demandOption':!![]})[_0x11c812(0x230)]('yes',{'type':_0x52618f[_0x11c812(0x253)],'alias':'y','description':_0x52618f[_0x11c812(0x1f4)],'default':![]});},async _0x3d02d5=>{const _0x5e7265=_0x2ab101;await withTelemetry(_0x325540[_0x5e7265(0x1d8)],()=>deleteProfile(_0x3d02d5['profile-name'],{'yes':_0x3d02d5['yes']}));})['command'](_0x2ab101(0xd8),![],_0x2d031c=>{const _0x3dd5c9=_0x2ab101;return _0x2d031c[_0x3dd5c9(0x187)](_0x52618f['tRsDC'],{'type':_0x52618f['dViXf'],'description':_0x52618f[_0x3dd5c9(0xf5)],'demandOption':!![]});},async _0x399957=>{const _0x4593cc=_0x2ab101;await _0x325540[_0x4593cc(0x14d)](withTelemetry,_0x325540['zAGtF'],()=>authEncrypt(_0x399957[_0x4593cc(0x236)]));})[_0x2ab101(0x146)]('ls','List\x20all\x20profiles',()=>{},async()=>{const _0x26f258=_0x2ab101;await _0x52618f[_0x26f258(0xdf)](withTelemetry,_0x52618f['zzfXQ'],()=>envList());})[_0x2ab101(0x146)](_0x52618f[_0x2ab101(0x25a)],_0x52618f['FiTvm'],_0x11f052=>{const _0x30b14d=_0x2ab101;return _0x11f052['positional']('profile-name',{'type':_0x325540['WLiMS'],'description':_0x325540['NkLYr'],'demandOption':!![]})[_0x30b14d(0x230)](_0x325540['aYBFP'],{'type':_0x325540[_0x30b14d(0x13d)],'description':_0x325540['ECMYE']})[_0x30b14d(0x230)](_0x325540['cVLEo'],{'type':_0x325540['OpFXh'],'description':'Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login'});},async _0x576525=>{const _0x57b340=_0x2ab101;await _0x52618f[_0x57b340(0x129)](withTelemetry,_0x52618f['DgZXk'],_0x57c9ea=>updateEnv(_0x576525[_0x57b340(0xf4)],_0x57c9ea,{'allowInsecureLocalhost':_0x576525[_0x57b340(0xc8)],'manual':_0x576525[_0x57b340(0x149)]}));})['command']('login\x20<name>',![],_0x3bc8a7=>{const _0x202c8f=_0x2ab101;return _0x3bc8a7[_0x202c8f(0x187)](_0x202c8f(0x248),{'type':_0x52618f[_0x202c8f(0x177)],'description':_0x52618f[_0x202c8f(0x107)],'demandOption':!![]});},async _0x5a28e8=>{const _0x144b4e={'AjeTF':_0x52618f['pXHcn'],'IdBvt':function(_0x54593c,_0x202dbd){return _0x54593c===_0x202dbd;},'hcwwD':function(_0x573901,_0xb10799){return _0x52618f['YjUFn'](_0x573901,_0xb10799);},'jEEvb':'unknown\x20error'};await withTelemetry(_0x52618f['vqcFM'],async()=>{const _0x48a6ea=_0x402c,_0xa2482f=process[_0x48a6ea(0x161)]['RANGER_TEST_USERNAME'],_0x1fc337=process[_0x48a6ea(0x161)]['RANGER_TEST_PASSWORD'];(!_0xa2482f||!_0x1fc337)&&(console['error'](_0x144b4e['AjeTF']),process[_0x48a6ea(0x1e0)](0x1));const _0x354dd8=_0x5a28e8[_0x48a6ea(0x248)],_0x5e22e7=await serverSideLogin(_0x354dd8,{'force':!![]});_0x144b4e['IdBvt'](_0x5e22e7['status'],_0x48a6ea(0x25c))&&(console['error'](_0x48a6ea(0x239)),process[_0x48a6ea(0x1e0)](0x1)),_0x144b4e[_0x48a6ea(0x1d7)](_0x5e22e7['status'],_0x48a6ea(0x167))&&(console['error']('Login\x20failed:\x20'+(_0x5e22e7[_0x48a6ea(0x1c0)]??_0x144b4e[_0x48a6ea(0xf0)])),_0x5e22e7[_0x48a6ea(0x113)]&&console[_0x48a6ea(0x1c0)](_0x5e22e7['test_output']),process['exit'](0x1)),console['log']('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x354dd8+_0x48a6ea(0x1ab));});})['command'](_0x2ab101(0x22b),![],_0x4e82e2=>{const _0x141d00=_0x2ab101;return _0x4e82e2[_0x141d00(0x187)](_0x325540[_0x141d00(0x207)],{'type':_0x141d00(0x10a),'description':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.'})['option']('all',{'type':_0x325540['OpFXh'],'description':_0x325540[_0x141d00(0x1b3)],'default':![]})['option']('dry-run',{'type':_0x141d00(0xdb),'description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})[_0x141d00(0x230)](_0x325540['KgCGa'],{'type':'boolean','alias':'y','description':_0x325540['tDhxA'],'default':![]})[_0x141d00(0x230)](_0x325540[_0x141d00(0x1f3)],{'type':'boolean','description':_0x325540[_0x141d00(0xcf)],'default':![]});},async _0x48f3ee=>{const _0x335bbb=_0x2ab101;await _0x325540['BgYRJ'](withTelemetry,_0x325540['YCAuQ'],_0x43794f=>migrateProfile({'profileName':_0x48f3ee['profile-name'],'all':_0x48f3ee[_0x335bbb(0x164)],'dryRun':_0x48f3ee['dry-run'],'yes':_0x48f3ee[_0x335bbb(0x151)],'saveCreds':_0x48f3ee[_0x335bbb(0x174)]},_0x43794f));})['command'](_0x52618f[_0x2ab101(0xcc)],'Manage\x20profile\x20configuration',_0x4fda3e=>{const _0x3b7913=_0x2ab101,_0x22eb38={'qQKls':'profile','ZZjFv':_0x52618f[_0x3b7913(0xf5)],'Rtvbg':_0x52618f['JamyD'],'DgNLa':'value','EniDb':function(_0x4c7eb0,_0x165339,_0x1ff4ef){return _0x52618f['bWJus'](_0x4c7eb0,_0x165339,_0x1ff4ef);},'SinSj':_0x3b7913(0x16f),'pnWXE':'string'};return _0x4fda3e[_0x3b7913(0x120)](PROFILE_CONFIG_HELP)['command'](_0x52618f[_0x3b7913(0x22e)],_0x52618f['yroQI'],_0x365c1d=>{const _0x4a5b43=_0x3b7913;return _0x365c1d['positional'](_0x22eb38[_0x4a5b43(0x169)],{'type':_0x4a5b43(0x10a),'description':_0x22eb38[_0x4a5b43(0x172)],'demandOption':!![]})['positional'](_0x22eb38[_0x4a5b43(0x258)],{'type':_0x4a5b43(0x10a),'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})['positional'](_0x22eb38[_0x4a5b43(0x201)],{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0x59ce3f=>{const _0x48c02b=_0x3b7913;await _0x22eb38[_0x48c02b(0x150)](withTelemetry,_0x22eb38['SinSj'],()=>configSet(_0x59ce3f[_0x48c02b(0x236)],_0x59ce3f['key'],_0x59ce3f[_0x48c02b(0x125)]));})[_0x3b7913(0x146)](_0x52618f[_0x3b7913(0xda)],_0x52618f[_0x3b7913(0x260)],_0xb5e58f=>{const _0x24a906=_0x3b7913;return _0xb5e58f[_0x24a906(0x187)](_0x325540[_0x24a906(0x227)],{'type':_0x24a906(0x10a),'description':_0x325540['nvLyi'],'demandOption':!![]})[_0x24a906(0x187)](_0x325540[_0x24a906(0x160)],{'type':_0x24a906(0x10a),'description':_0x325540['KYUmh'],'demandOption':!![]});},async _0xdf1ef3=>{const _0x2b9594=_0x3b7913;await _0x325540[_0x2b9594(0x286)](withTelemetry,_0x325540[_0x2b9594(0x1a1)],()=>configGet(_0xdf1ef3[_0x2b9594(0x236)],_0xdf1ef3['key']));})[_0x3b7913(0x146)]('list\x20<profile>',_0x52618f[_0x3b7913(0x105)],_0x3d5bc6=>{const _0x573e9f=_0x3b7913;return _0x3d5bc6['positional'](_0x325540[_0x573e9f(0x227)],{'type':_0x325540[_0x573e9f(0xf6)],'description':'Profile\x20name','demandOption':!![]});},async _0x818ee4=>{const _0x2d77ae=_0x3b7913;await withTelemetry('profile\x20config\x20list',()=>configList(_0x818ee4[_0x2d77ae(0x236)]));})['command'](_0x52618f[_0x3b7913(0x26e)],'Remove\x20a\x20config\x20value',_0x24be7d=>{const _0x137afc=_0x3b7913;return _0x24be7d[_0x137afc(0x187)](_0x137afc(0x236),{'type':'string','description':_0x137afc(0x20a),'demandOption':!![]})[_0x137afc(0x187)](_0x137afc(0x100),{'type':_0x22eb38['pnWXE'],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x3328d6=>{const _0x35586c=_0x3b7913;await withTelemetry('profile\x20config\x20unset',()=>configUnset(_0x3328d6[_0x35586c(0x236)],_0x3328d6[_0x35586c(0x100)]));})['command'](_0x52618f['TtvOl'],_0x3b7913(0x28f),_0x2f3aa5=>{const _0x31af6c=_0x3b7913;return _0x2f3aa5['positional'](_0x31af6c(0x236),{'type':_0x22eb38['pnWXE'],'description':_0x31af6c(0x20a),'demandOption':!![]});},async _0x183d33=>{await withTelemetry(_0x325540['nOiWX'],()=>configReset(_0x183d33['profile']));})[_0x3b7913(0x189)](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})[_0x2ab101(0x189)](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})['command'](_0x52618f[_0x2abf03(0x275)],_0x2abf03(0x1e4),()=>{},async()=>{const _0x3fb003=_0x2abf03;await withTelemetry(_0x52618f[_0x3fb003(0x275)],()=>status());})[_0x2abf03(0x146)](_0x52618f['lYqrM'],_0x52618f[_0x2abf03(0x1db)],()=>{},async()=>{const _0x1d1694=_0x2abf03;await _0x52618f[_0x1d1694(0x129)](withTelemetry,'update',()=>update());})['command'](_0x52618f[_0x2abf03(0x13b)],_0x52618f[_0x2abf03(0x234)],()=>{},async()=>{const _0x5b09e4=_0x2abf03;await _0x52618f[_0x5b09e4(0xdf)](withTelemetry,'print-access-token',async()=>{const _0x2cf655=_0x5b09e4,_0xe2cb5f=await getToken();if(!_0xe2cb5f)throw new Error('No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.');console[_0x2cf655(0x11e)](_0xe2cb5f);});})['command']('go',_0x52618f['LQgML'],_0x4c10cd=>{const _0x5e8ea7=_0x2abf03;return _0x4c10cd[_0x5e8ea7(0x230)](_0x5e8ea7(0x1bc),{'type':_0x52618f['dViXf'],'description':_0x52618f['QEOJV']})[_0x5e8ea7(0x230)](_0x52618f['tRsDC'],{'type':'string','description':_0x52618f[_0x5e8ea7(0x21d)]})['option'](_0x52618f['yDuqK'],{'type':_0x52618f[_0x5e8ea7(0x177)],'array':!![],'description':_0x5e8ea7(0x256)})[_0x5e8ea7(0x230)](_0x52618f['hjVvT'],{'type':_0x52618f['dViXf'],'description':_0x52618f[_0x5e8ea7(0x1f9)]})['option'](_0x52618f['VTfWa'],{'type':'string','description':_0x5e8ea7(0x1ef)})[_0x5e8ea7(0x230)](_0x5e8ea7(0x124),{'type':'number','description':'Scenario\x20index\x20(1-based)'})['option'](_0x5e8ea7(0x202),{'type':_0x5e8ea7(0x10a),'description':_0x52618f[_0x5e8ea7(0x21a)]})['option'](_0x5e8ea7(0x211),{'type':_0x5e8ea7(0x10a),'description':_0x52618f[_0x5e8ea7(0xc6)]})['option']('model',{'type':_0x52618f[_0x5e8ea7(0x177)],'description':_0x52618f[_0x5e8ea7(0x23a)]})[_0x5e8ea7(0x230)](_0x52618f[_0x5e8ea7(0x173)],{'type':_0x52618f[_0x5e8ea7(0x253)],'description':_0x52618f[_0x5e8ea7(0x14b)],'default':![]})['option']('env-var',{'type':_0x52618f['dViXf'],'array':!![],'alias':'environment-variable','description':_0x52618f['iyelU']})['option']('allow-url-mismatch',{'type':_0x52618f['sGmaR'],'description':_0x52618f['lfAjm'],'default':![]})[_0x5e8ea7(0x230)](_0x52618f[_0x5e8ea7(0x282)],{'type':_0x5e8ea7(0x10a),'hidden':!![],'choices':[_0x52618f[_0x5e8ea7(0x288)],_0x5e8ea7(0x1cf),_0x5e8ea7(0x1f5),_0x52618f['TxYXa'],'incomplete']})['option']('debug-address-comments',{'type':_0x52618f['sGmaR'],'hidden':!![]})['option']('env',{'type':_0x52618f[_0x5e8ea7(0x177)],'description':_0x52618f[_0x5e8ea7(0x247)]})['option'](_0x5e8ea7(0x1af),{'type':_0x52618f['dViXf'],'hidden':!![]})['option'](_0x52618f[_0x5e8ea7(0xfa)],{'type':_0x52618f[_0x5e8ea7(0x21b)],'hidden':!![]});},async _0x2f8867=>{await runGoCommand(_0x2f8867);})['command'](_0x52618f['eBLDh'],![],_0x4fdeb7=>{const _0x55ffb2=_0x2abf03,_0x198a75={'YjUtw':_0x52618f['dViXf'],'nocde':_0x52618f[_0x55ffb2(0xf5)]};return _0x4fdeb7[_0x55ffb2(0x146)]('encrypt\x20<profile>',![],_0x3efb22=>{const _0x149745=_0x55ffb2;return _0x3efb22['positional'](_0x149745(0x236),{'type':_0x198a75[_0x149745(0x1fd)],'description':_0x198a75[_0x149745(0x1dd)],'demandOption':!![]});},async _0x375022=>{const _0x55270d=_0x55ffb2;warnRenamed(_0x52618f[_0x55270d(0x155)],'ranger\x20profile\x20encrypt-auth'),await _0x52618f[_0x55270d(0xee)](authEncrypt,_0x375022[_0x55270d(0x236)]);})[_0x55ffb2(0x189)](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command'](_0x2abf03(0x24f),![],_0x546788=>{const _0x3bcbd5=_0x2abf03;return _0x546788[_0x3bcbd5(0x187)](_0x3bcbd5(0xe5),{'type':_0x52618f[_0x3bcbd5(0x177)],'description':_0x52618f[_0x3bcbd5(0x15d)]})['option'](_0x3bcbd5(0x10d),{'type':'boolean','description':_0x52618f['tpVOA'],'default':![]})[_0x3bcbd5(0x230)]('scope',{'type':_0x52618f[_0x3bcbd5(0x177)],'choices':[_0x3bcbd5(0x281)],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x52618f[_0x3bcbd5(0x1ee)],{'type':_0x3bcbd5(0x10a),'description':_0x52618f['LBUfL']})[_0x3bcbd5(0x230)](_0x52618f[_0x3bcbd5(0x273)],{'type':'boolean','description':_0x3bcbd5(0x193),'default':![]})[_0x3bcbd5(0x230)](_0x3bcbd5(0x1d3),{'type':'boolean','description':_0x52618f['kpsuH'],'default':![]})['option'](_0x52618f[_0x3bcbd5(0x110)],{'type':_0x52618f['sGmaR'],'description':_0x52618f['elIUy'],'default':![]});},async _0x1e6a5e=>{const _0x251eb1=_0x2abf03;_0x52618f[_0x251eb1(0xe8)](warnRenamed,_0x251eb1(0x1a9),_0x251eb1(0x1b0)),await _0x52618f[_0x251eb1(0x1d6)](withTelemetry,_0x52618f[_0x251eb1(0x1c2)],_0x37a406=>start(_0x1e6a5e['token'],{'skipChromium':_0x1e6a5e[_0x251eb1(0x10d)],'skipAuth':_0x1e6a5e[_0x251eb1(0x1d3)],'withDeps':_0x1e6a5e[_0x251eb1(0x254)],'scope':_0x1e6a5e[_0x251eb1(0x1e1)],'url':_0x1e6a5e['url'],'force':_0x1e6a5e['force']},_0x37a406));})['command'](_0x2abf03(0x108),![],_0x557328=>{const _0x2976b9=_0x2abf03;return _0x557328['option'](_0x2976b9(0x161),{'type':_0x2976b9(0x10a),'description':_0x52618f['YhMUX']})['option']('task',{'type':_0x2976b9(0x10a),'description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})[_0x2976b9(0x230)](_0x52618f[_0x2976b9(0xfa)],{'type':_0x2976b9(0x15c),'description':_0x52618f['oSRjO']})[_0x2976b9(0x230)](_0x2976b9(0x236),{'type':'string','hidden':!![]})['option'](_0x52618f['hjVvT'],{'type':_0x2976b9(0x10a),'hidden':!![]})[_0x2976b9(0x230)]('scenario',{'type':_0x52618f[_0x2976b9(0x21b)],'hidden':!![]})[_0x2976b9(0x230)]('start-path',{'type':_0x2976b9(0x10a),'description':_0x52618f[_0x2976b9(0x21a)]})[_0x2976b9(0x230)]('base-url',{'type':_0x2976b9(0x10a),'description':_0x52618f['RowSX']})[_0x2976b9(0x230)](_0x52618f[_0x2976b9(0x1ec)],{'type':'string','hidden':!![]})[_0x2976b9(0x230)](_0x2976b9(0x18a),{'type':_0x2976b9(0xdb),'hidden':!![],'default':![]})[_0x2976b9(0x230)]('env-var',{'type':_0x52618f['dViXf'],'array':!![],'alias':_0x52618f[_0x2976b9(0x1a7)],'hidden':!![]})[_0x2976b9(0x230)](_0x52618f[_0x2976b9(0x282)],{'type':_0x52618f[_0x2976b9(0x177)],'hidden':!![],'choices':[_0x52618f['fNTKW'],'partial',_0x52618f[_0x2976b9(0x123)],'failed','incomplete']});},async _0x36249c=>{await runGoCommand(_0x36249c,!![]);})[_0x2abf03(0x146)](_0x52618f['rYqno'],![],_0x244ed7=>{const _0x8f171f=_0x2abf03;return _0x244ed7['positional']('env-name',{'type':'string','description':_0x52618f[_0x8f171f(0x14e)],'demandOption':!![]})['option']('ci',{'type':'boolean','description':_0x52618f['OCJsu'],'default':![]})[_0x8f171f(0x230)](_0x52618f['relqY'],{'type':'boolean','description':_0x8f171f(0x21f),'default':![]});},async _0x192e39=>{const _0x32e653=_0x2abf03;warnRenamed(_0x52618f[_0x32e653(0x10e)],_0x52618f['SwrBs']),await _0x52618f['JdBLb'](withTelemetry,_0x52618f['sotGv'],_0x15cc95=>addEnv(_0x192e39['env-name'],{'ci':_0x192e39['ci'],'skipAuth':_0x192e39['skip-auth']},_0x15cc95));})['command'](_0x2abf03(0x145),![],_0x57dfd2=>{const _0x5a4b15=_0x2abf03;return _0x57dfd2[_0x5a4b15(0x187)]('env-name',{'type':_0x5a4b15(0x10a),'description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x27c596=>{const _0x318b9a=_0x2abf03;warnRenamed(_0x318b9a(0x18d),_0x318b9a(0x250)),await _0x52618f['ecMHa'](withTelemetry,'use',()=>useEnv(_0x27c596['env-name']));})[_0x2abf03(0x146)](_0x2abf03(0x131),![],_0x596f6c=>{const _0x21b8c2=_0x2abf03,_0x55b962={'fehKY':function(_0x340328,_0x5355e9,_0x16b306){return _0x340328(_0x5355e9,_0x16b306);},'dzeKz':function(_0x1e9b21,_0x468f9f,_0x20f8bc){return _0x1e9b21(_0x468f9f,_0x20f8bc);},'qdaXy':_0x21b8c2(0x262),'qBonU':'env','JSVCX':_0x52618f[_0x21b8c2(0x177)],'IjyXm':_0x21b8c2(0x13e)};return _0x596f6c['command'](_0x21b8c2(0xc2),![],_0xf2d5a0=>{const _0x31bc76=_0x21b8c2;return _0xf2d5a0[_0x31bc76(0x187)](_0x52618f[_0x31bc76(0x243)],{'type':_0x31bc76(0x10a),'description':_0x31bc76(0x13e),'demandOption':!![]})['positional']('key',{'type':'string','description':_0x52618f['yNsnB'],'demandOption':!![]})['positional'](_0x31bc76(0x125),{'type':'string','description':_0x31bc76(0x156),'demandOption':!![]});},async _0x14a372=>{const _0x4d79f6=_0x21b8c2;warnRenamed(_0x52618f[_0x4d79f6(0x289)],_0x52618f[_0x4d79f6(0x1ed)]),await withTelemetry('config\x20set',()=>configSet(_0x14a372[_0x4d79f6(0x161)],_0x14a372['key'],_0x14a372['value']));})[_0x21b8c2(0x146)](_0x52618f['IiQtV'],![],_0x13829a=>{const _0x3f0f8d=_0x21b8c2;return _0x13829a['positional'](_0x3f0f8d(0x161),{'type':'string','description':'Environment\x20name','demandOption':!![]})[_0x3f0f8d(0x187)](_0x52618f[_0x3f0f8d(0x1b4)],{'type':_0x52618f[_0x3f0f8d(0x177)],'description':_0x52618f[_0x3f0f8d(0x212)],'demandOption':!![]});},async _0x4f21d0=>{const _0x31de6e=_0x21b8c2;_0x55b962[_0x31de6e(0x11a)](warnRenamed,'ranger\x20config\x20get',_0x31de6e(0x112)),await _0x55b962['dzeKz'](withTelemetry,_0x55b962[_0x31de6e(0xd7)],()=>configGet(_0x4f21d0[_0x31de6e(0x161)],_0x4f21d0['key']));})['command'](_0x52618f[_0x21b8c2(0x168)],![],_0x67e680=>{const _0x27b94d=_0x21b8c2;return _0x67e680[_0x27b94d(0x187)](_0x55b962[_0x27b94d(0x1d2)],{'type':_0x55b962['JSVCX'],'description':_0x27b94d(0x13e),'demandOption':!![]});},async _0xa2f007=>{const _0x34992f=_0x21b8c2;warnRenamed(_0x52618f[_0x34992f(0x26c)],_0x52618f[_0x34992f(0x1d9)]),await _0x52618f[_0x34992f(0x1ae)](withTelemetry,_0x52618f['otRzb'],()=>configList(_0xa2f007['env']));})[_0x21b8c2(0x146)](_0x21b8c2(0x20e),![],_0x596a72=>{const _0x1ff5f0=_0x21b8c2;return _0x596a72['positional'](_0x1ff5f0(0x161),{'type':_0x55b962[_0x1ff5f0(0x111)],'description':_0x55b962['IjyXm'],'demandOption':!![]})[_0x1ff5f0(0x187)](_0x1ff5f0(0x100),{'type':_0x1ff5f0(0x10a),'description':_0x1ff5f0(0xd0),'demandOption':!![]});},async _0x365ded=>{const _0x24aaac=_0x21b8c2;_0x52618f[_0x24aaac(0x1d5)](warnRenamed,'ranger\x20config\x20unset',_0x24aaac(0x217)),await _0x52618f[_0x24aaac(0x1b7)](withTelemetry,_0x52618f[_0x24aaac(0x22a)],()=>configUnset(_0x365ded['env'],_0x365ded[_0x24aaac(0x100)]));})[_0x21b8c2(0x189)](0x1,_0x52618f[_0x21b8c2(0x116)]);})['command'](_0x52618f[_0x2abf03(0x243)],![],_0x5cb614=>{const _0x491bc5=_0x2abf03,_0x1ca75a={'GWudD':function(_0x27a6ee,_0xf104f4,_0xd0d4bc){const _0x447fde=_0x402c;return _0x52618f[_0x447fde(0x1eb)](_0x27a6ee,_0xf104f4,_0xd0d4bc);},'DmLoW':'ranger\x20env\x20ls','GjXZT':_0x491bc5(0x1da),'XiSHk':function(_0x2293da,_0x40c741,_0xbe880a){return _0x2293da(_0x40c741,_0xbe880a);},'MgASq':_0x52618f[_0x491bc5(0x1c7)],'OlPEv':_0x52618f['dViXf'],'oFnJe':_0x52618f[_0x491bc5(0x291)],'WpIWz':_0x52618f['MtYPx']};return _0x5cb614['command']('ls',![],()=>{},async()=>{const _0x226618=_0x491bc5;_0x1ca75a['GWudD'](warnRenamed,_0x1ca75a[_0x226618(0x1aa)],_0x1ca75a[_0x226618(0x242)]),await _0x1ca75a['XiSHk'](withTelemetry,_0x1ca75a['MgASq'],()=>envList());})['command']('update\x20<env-name>',![],_0x4751da=>{const _0x357806=_0x491bc5;return _0x4751da[_0x357806(0x187)](_0x357806(0xe1),{'type':_0x1ca75a[_0x357806(0x208)],'description':_0x1ca75a[_0x357806(0xe6)],'demandOption':!![]});},async _0x17e40c=>{const _0x270247=_0x491bc5;_0x1ca75a[_0x270247(0x102)](warnRenamed,_0x270247(0x1ff),'ranger\x20profile\x20update'),await withTelemetry(_0x1ca75a['WpIWz'],_0x29d642=>updateEnv(_0x17e40c[_0x270247(0xe1)],_0x29d642));})['demandCommand'](0x1,_0x52618f['cQwoC']);})[_0x2abf03(0x146)](_0x52618f['exiuo'],![],_0x96a9ed=>{const _0x55a591=_0x2abf03,_0x938ff4={'fluEJ':_0x52618f[_0x55a591(0x183)],'QtFEM':_0x52618f['puwPA'],'cvwUl':function(_0x30843d,_0x33bf03,_0x82dde0){return _0x30843d(_0x33bf03,_0x82dde0);},'PaLHp':'feature\x20list','dPKVk':_0x55a591(0x10a),'TOsia':_0x52618f[_0x55a591(0x205)],'nIWcP':_0x52618f[_0x55a591(0x1e7)],'WJPmP':_0x52618f[_0x55a591(0x1b1)],'GoPmJ':function(_0x57ce56,_0x30e5cd,_0x450298){const _0x4c4541=_0x55a591;return _0x52618f[_0x4c4541(0xdf)](_0x57ce56,_0x30e5cd,_0x450298);},'hiyfY':_0x52618f['hkFIM'],'emYPW':function(_0x53fdbb,_0x3a99f9,_0x312eae){return _0x52618f['qJrut'](_0x53fdbb,_0x3a99f9,_0x312eae);},'jPUGk':_0x52618f[_0x55a591(0x244)],'zPkme':_0x52618f['FQNWY']};return _0x96a9ed['command']('create\x20<name>',![],_0x35880b=>{const _0x587240=_0x55a591;return _0x35880b['positional'](_0x52618f[_0x587240(0xce)],{'type':_0x587240(0x10a),'description':_0x52618f['zpwFh'],'demandOption':!![]})[_0x587240(0x230)](_0x587240(0x266),{'type':'string','alias':'d','description':_0x587240(0x1c8)})[_0x587240(0x230)](_0x587240(0x28d),{'type':_0x52618f['lwPnd'],'alias':'c','description':_0x52618f['xYGvN']})[_0x587240(0x230)]('scenario',{'type':_0x52618f[_0x587240(0x233)],'hidden':!![]});},async _0x138379=>{const _0xce8188=_0x55a591;warnRenamed('ranger\x20feature\x20create',_0xce8188(0x191)),warnFlagRenamed(_0x938ff4[_0xce8188(0x294)],_0xce8188(0x157),_0x938ff4[_0xce8188(0x272)]);const _0xc57b06=_0x138379[_0xce8188(0x124)]||_0x138379[_0xce8188(0x28d)];await _0x938ff4['cvwUl'](withTelemetry,'feature\x20create',()=>featureCreate(_0x138379['name'],{'description':_0x138379['description'],'scenarios':_0xc57b06}));})['command'](_0x52618f[_0x55a591(0x246)],![],_0x5baf9a=>{const _0x2f797d=_0x55a591;return _0x5baf9a[_0x2f797d(0x230)](_0x52618f[_0x2f797d(0x1a3)],{'type':_0x52618f['sGmaR'],'description':_0x52618f[_0x2f797d(0x1be)]})['option']('limit',{'type':'number','alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option']('offset',{'type':_0x52618f['XjppD'],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option'](_0x2f797d(0xcd),{'type':_0x2f797d(0xdb),'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x2d5ea5=>{const _0x537f25=_0x55a591;warnRenamed('ranger\x20feature\x20list','ranger\x20list'),await _0x938ff4['cvwUl'](withTelemetry,_0x938ff4['PaLHp'],()=>featureList({'currentBranch':_0x2d5ea5['current-branch'],'limit':_0x2d5ea5['limit'],'offset':_0x2d5ea5[_0x537f25(0x255)],'includeDeleted':_0x2d5ea5[_0x537f25(0xcd)]}));})[_0x55a591(0x146)]('show\x20[id]',![],_0x5c31b7=>{const _0x36e88d=_0x55a591;return _0x5c31b7[_0x36e88d(0x187)]('id',{'type':_0x938ff4['dPKVk'],'description':_0x938ff4[_0x36e88d(0x109)]});},async _0x273583=>{const _0x4f6c1e=_0x55a591;warnRenamed(_0x52618f[_0x4f6c1e(0x17c)],_0x4f6c1e(0xe2)),await _0x52618f['KbqML'](withTelemetry,_0x52618f[_0x4f6c1e(0x19b)],()=>featureShow(_0x273583['id']));})[_0x55a591(0x146)](_0x52618f[_0x55a591(0x11c)],![],_0x30786d=>{const _0x1cd12=_0x55a591;return _0x30786d['positional']('id',{'type':_0x1cd12(0x10a),'description':_0x52618f[_0x1cd12(0x158)]});},async _0xdc1308=>{const _0x1be1ca=_0x55a591;warnRenamed(_0x52618f['XoidQ'],'ranger\x20resume'),await _0x52618f['qJrut'](withTelemetry,_0x52618f[_0x1be1ca(0x271)],()=>featureResume(_0xdc1308['id']));})['command'](_0x52618f[_0x55a591(0xf2)],![],_0x5af881=>{const _0xbf2a1a=_0x55a591;return _0x5af881[_0xbf2a1a(0x187)](_0x938ff4['nIWcP'],{'type':_0xbf2a1a(0x10a),'description':_0x938ff4['WJPmP'],'demandOption':!![]})[_0xbf2a1a(0x230)]('id',{'type':_0x938ff4['dPKVk'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x1072f4=>{const _0xbf7561=_0x55a591;_0x938ff4['GoPmJ'](warnRenamed,'ranger\x20feature\x20add-checklist-item',_0x938ff4[_0xbf7561(0x231)]),await _0x938ff4['emYPW'](withTelemetry,_0x938ff4['jPUGk'],()=>featureAddScenario(_0x1072f4[_0xbf7561(0x266)],_0x1072f4['id']));})['command'](_0x52618f['gJMQm'],![],_0x328528=>{const _0x501412=_0x55a591;return _0x328528[_0x501412(0x187)]('id',{'type':_0x52618f[_0x501412(0x177)],'description':_0x52618f[_0x501412(0xd2)]});},async _0x4379be=>{const _0x4f8a2b=_0x55a591;_0x52618f['bWJus'](warnRenamed,'ranger\x20feature\x20get-feedback',_0x52618f[_0x4f8a2b(0x175)]),await withTelemetry(_0x52618f[_0x4f8a2b(0x1a4)],()=>featureGetReview(_0x4379be['id']));})['command'](_0x55a591(0xd3),![],_0x536122=>{return _0x536122['positional']('id',{'type':_0x938ff4['dPKVk'],'description':_0x938ff4['TOsia']});},async _0x7c9b48=>{const _0x35afe0=_0x55a591;_0x52618f['dFmGb'](warnRenamed,'ranger\x20feature\x20delete','ranger\x20delete'),await _0x52618f[_0x35afe0(0x1a5)](withTelemetry,_0x52618f[_0x35afe0(0x171)],()=>featureDelete(_0x7c9b48['id']));})['command'](_0x52618f[_0x55a591(0x226)],![],_0x4a8bf8=>{const _0x9a3865=_0x55a591;return _0x4a8bf8[_0x9a3865(0x187)]('id',{'type':_0x9a3865(0x10a),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x163a40=>{const _0x2c332e=_0x55a591;_0x938ff4['cvwUl'](warnRenamed,_0x938ff4[_0x2c332e(0x20b)],'ranger\x20restore'),await withTelemetry(_0x2c332e(0x209),()=>featureRestore(_0x163a40['id']));})[_0x55a591(0x189)](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})['command']('hook',![],_0x26ed04=>{const _0x5a4396=_0x2abf03,_0x2a500a={'nhfhO':'string','MLAAC':_0x52618f[_0x5a4396(0x1a2)],'VzQMz':_0x52618f[_0x5a4396(0x16b)]};return _0x26ed04['command'](_0x5a4396(0x28a),'Enable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x10d1d2=>{const _0x335bde=_0x5a4396;return _0x10d1d2['option'](_0x335bde(0x134),{'type':_0x2a500a[_0x335bde(0x297)],'description':_0x2a500a[_0x335bde(0x219)]});},async _0x45c093=>{const _0x306bed=_0x5a4396;await _0x52618f[_0x306bed(0x1d6)](withTelemetry,_0x52618f['houpY'],()=>hook('enable',_0x45c093[_0x306bed(0x134)]));})[_0x5a4396(0x146)]('disable','Disable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x5e659d=>{const _0x25b9fb=_0x5a4396;return _0x5e659d[_0x25b9fb(0x230)](_0x2a500a[_0x25b9fb(0x24e)],{'type':_0x25b9fb(0x10a),'description':_0x25b9fb(0x14a)});},async _0xf5e08c=>{const _0x22b464=_0x5a4396;await _0x52618f[_0x22b464(0x1d6)](withTelemetry,_0x22b464(0x1ba),()=>hook(_0x22b464(0x1f1),_0xf5e08c[_0x22b464(0x134)]));})[_0x5a4396(0x230)]('name',{'type':'string','description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})['option'](_0x5a4396(0x134),{'type':_0x52618f['dViXf'],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x193c76=>{_0x193c76['name']&&await _0x52618f['LtdBS'](hook,_0x193c76['name'],_0x193c76[_0x52618f['baFXQ']]);})[_0x2abf03(0x189)](0x1,_0x52618f[_0x2abf03(0x106)])['strictCommands']()['fail'](async(_0x2874bb,_0x191e17,_0x5a4d26)=>{const _0x5b7fd1=_0x2abf03,_0x2d1b98=sanitizeArgs(process[_0x5b7fd1(0x1de)]['slice'](0x2)),_0x2588b0=_0x52618f[_0x5b7fd1(0x129)](getErrorType,_0x2874bb,_0x191e17);if(_0x2874bb&&_0x2874bb['includes'](_0x5b7fd1(0x15a))){const _0x1242d8=process[_0x5b7fd1(0x1de)][0x2];console[_0x5b7fd1(0x1c0)]('\x0aUnknown\x20command:\x20'+_0x1242d8),console['error'](_0x52618f['ECwlS']);}else{if(_0x2874bb)console[_0x5b7fd1(0x1c0)]('\x0a'+_0x2874bb+'\x0a');else _0x191e17&&console[_0x5b7fd1(0x1c0)](_0x5b7fd1(0x221)+_0x191e17['message']+'\x0a');}await _0x52618f['yKBeq'](logDesirePath,{'rawCommand':_0x2d1b98,'errorMessage':_0x2874bb||_0x191e17?.[_0x5b7fd1(0x16e)],'errorType':_0x2588b0});const _0x4785fb=getCurrentCollector();_0x4785fb&&await _0x4785fb['trackCommandError'](_0x191e17||new Error(_0x52618f['zzwKR'](_0x2874bb,_0x52618f['aIrOw']))),process[_0x5b7fd1(0x1e0)](0x1);})['epilogue'](_0x52618f['Yadfs'](_0x52618f[_0x2abf03(0x295)],_0x2abf03(0x26a))+_0x2abf03(0x18b))['help']()[_0x2abf03(0x1c6)](_0x52618f['AuvCV'],'h');}process[_0xe649af(0x161)]['NODE_ENV']!=='test'&&(shouldShowLegacyWarning(process[_0xe649af(0x1de)])&&showLegacyDeprecationWarning(),buildParser()['parse']());
|