@ranger-testing/ranger-cli 2.5.4-alpha.f940f0d-18 → 3.0.0
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 -0
- package/build/commands/env.js +1 -1
- package/build/commands/feature.js +1 -1
- package/build/commands/hook.js +1 -1
- package/build/commands/hooks/autoPrompt.js +1 -1
- package/build/commands/hooks/disable.js +1 -1
- package/build/commands/hooks/enable.js +1 -1
- package/build/commands/hooks/exitPlanMode.js +1 -1
- package/build/commands/hooks/index.js +1 -1
- package/build/commands/hooks/output.js +1 -1
- package/build/commands/hooks/planReminder.js +1 -1
- package/build/commands/hooks/planStart.js +1 -1
- package/build/commands/hooks/postEdit.js +1 -1
- package/build/commands/hooks/preCompact.js +1 -1
- package/build/commands/hooks/sessionEnd.js +1 -1
- package/build/commands/hooks/sessionStart.js +1 -1
- package/build/commands/hooks/stopHook.js +1 -1
- package/build/commands/index.js +1 -1
- package/build/commands/login.js +1 -1
- package/build/commands/mcpBootstrap.js +1 -1
- package/build/commands/migrateProfile.js +1 -1
- package/build/commands/setup/claude.js +1 -1
- package/build/commands/setup/opencode.js +1 -1
- package/build/commands/setupCi.js +1 -1
- package/build/commands/skillup.js +1 -1
- package/build/commands/start.js +1 -1
- package/build/commands/status.js +1 -1
- package/build/commands/update.js +1 -1
- package/build/commands/updateEnv.js +1 -1
- package/build/commands/useEnv.js +1 -1
- package/build/commands/utils/activeProfile.js +1 -1
- package/build/commands/utils/agentEnv.js +1 -1
- package/build/commands/utils/browserSessionsApi.js +1 -1
- package/build/commands/utils/claudeConfig.js +1 -1
- package/build/commands/utils/claudeOverrideSettings.js +1 -1
- package/build/commands/utils/claudePlugin.js +1 -1
- package/build/commands/utils/cloudProfile.js +1 -1
- package/build/commands/utils/cloudProfileSession.js +1 -1
- package/build/commands/utils/crypto.js +1 -1
- package/build/commands/utils/desirePathLog.js +1 -1
- package/build/commands/utils/deviceAuth.js +1 -1
- package/build/commands/utils/environment.js +1 -1
- package/build/commands/utils/featureApi.js +1 -1
- package/build/commands/utils/fixWebmDuration.js +1 -1
- package/build/commands/utils/gitTracked.js +1 -1
- package/build/commands/utils/keychain.js +1 -1
- package/build/commands/utils/legacyWarning.js +1 -1
- package/build/commands/utils/localAgentInstallationsApi.js +1 -1
- package/build/commands/utils/matchAuthEnvironment.js +1 -1
- package/build/commands/utils/mcpImageBase64.js +1 -1
- package/build/commands/utils/model.js +1 -1
- package/build/commands/utils/novaActCli.js +1 -0
- package/build/commands/utils/opencodeConfig.js +1 -1
- package/build/commands/utils/playwrightCli.js +1 -1
- package/build/commands/utils/profileMessages.js +1 -1
- package/build/commands/utils/profileSetupBanner.js +1 -1
- package/build/commands/utils/projectsConfig.js +1 -1
- package/build/commands/utils/rangerConfig.js +1 -1
- package/build/commands/utils/rangerRoot.js +1 -1
- package/build/commands/utils/resolveProfileContext.js +1 -1
- package/build/commands/utils/resolveProfileUrl.js +1 -1
- package/build/commands/utils/retry.js +1 -1
- package/build/commands/utils/sessionCache.js +1 -1
- package/build/commands/utils/settings.js +1 -1
- package/build/commands/utils/skillContent.js +1 -1
- package/build/commands/utils/skills.js +1 -1
- package/build/commands/utils/stitchWebmFiles.js +1 -1
- package/build/commands/utils/telemetry.js +1 -1
- package/build/commands/utils/tokenRefresh.js +1 -1
- package/build/commands/utils/traceSnapshotMapper.js +1 -1
- package/build/commands/utils/userApi.js +1 -1
- package/build/commands/utils/version.js +1 -1
- package/build/commands/verifyFeature.js +1 -1
- package/build/commands/verifyFeatureCli.js +1 -1
- package/build/commands/verifyFeatureNovaCli.js +1 -0
- package/build/skills/ranger/SKILL.md +1 -1
- package/package.json +1 -1
package/build/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x5da667=_0x558a;(function(_0x383096,_0x4f6f40){const _0x38b3c4=_0x558a,_0x290aa9=_0x383096();while(!![]){try{const _0x31820e=-parseInt(_0x38b3c4(0x1fc))/0x1*(parseInt(_0x38b3c4(0x22a))/0x2)+parseInt(_0x38b3c4(0x256))/0x3*(-parseInt(_0x38b3c4(0x186))/0x4)+parseInt(_0x38b3c4(0x268))/0x5*(-parseInt(_0x38b3c4(0x2df))/0x6)+-parseInt(_0x38b3c4(0x1e3))/0x7+-parseInt(_0x38b3c4(0x239))/0x8*(parseInt(_0x38b3c4(0x1b4))/0x9)+-parseInt(_0x38b3c4(0x241))/0xa+parseInt(_0x38b3c4(0x29c))/0xb;if(_0x31820e===_0x4f6f40)break;else _0x290aa9['push'](_0x290aa9['shift']());}catch(_0x1b99d6){_0x290aa9['push'](_0x290aa9['shift']());}}}(_0x5cc4,0x6544d));import _0x3dc88c from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x348e4a=_0x558a,_0x2c1aa5={'XeKUe':function(_0x644ab3,_0x805bc9){return _0x644ab3(_0x805bc9);},'viXXI':function(_0x2bb027,_0x329ed2){return _0x2bb027(_0x329ed2);},'xRvMQ':'.env'};let _0x1263cc=process['cwd']();const _0x2789d9=_0x2c1aa5['XeKUe'](parse,_0x1263cc)['root'];while(_0x1263cc!==_0x2789d9){if(_0x2c1aa5['viXXI'](existsSync,join(_0x1263cc,'.ranger'))||_0x2c1aa5[_0x348e4a(0x265)](existsSync,join(_0x1263cc,_0x2c1aa5[_0x348e4a(0x198)])))return _0x1263cc;_0x1263cc=_0x2c1aa5[_0x348e4a(0x265)](dirname,_0x1263cc);}return process['cwd']();}_0x3dc88c['config']({'path':join(findProjectRoot(),'.env')});import _0xf5c66 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,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';function _0x558a(_0x84e073,_0x36a291){_0x84e073=_0x84e073-0x173;const _0x5cc468=_0x5cc4();let _0x558af1=_0x5cc468[_0x84e073];return _0x558af1;}import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x429b38=>{const _0x242c4e=_0x558a,_0x3cb20c={'OPEMb':function(_0x265689){return _0x265689();}},_0x27ffed=_0x3cb20c[_0x242c4e(0x1cd)](getCurrentCollector);_0x27ffed&&await _0x27ffed['trackCommandError'](_0x429b38),process[_0x242c4e(0x23b)]=0x1;});const rawArgs=process[_0x5da667(0x222)][_0x5da667(0x2fd)](0x2),TOP_LEVEL_HELP='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\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\x0aDeprecated\x20(now\x20exit\x201\x20with\x20a\x20redirect):\x20`profile\x20update`,\x20`profile\x20encrypt-auth`,\x0a`profile\x20migrate`,\x20`setup\x20--ci`.\x20Run\x20`ranger\x20profile\x20add\x20<name>`\x20to\x20set\x20up\x20a\x0afresh\x20profile.\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP=_0x5da667(0x20d),PROFILE_CONFIG_HELP=_0x5da667(0x2c0);function warnRenamed(_0x46d853,_0x4f64e2){const _0x57a9e1=_0x5da667;console[_0x57a9e1(0x319)]('\x0a'+_0x46d853+_0x57a9e1(0x2a7)+_0x4f64e2+'\x0a');}function argUsed(_0x2f816c){const _0x2221ec=_0x5da667;return rawArgs[_0x2221ec(0x1b5)](_0x26e4e1=>_0x26e4e1===_0x2f816c||_0x26e4e1['startsWith'](_0x2f816c+'='));}function warnFlagRenamed(_0x2f5c80,_0x31d7ec,_0x5c78d0){const _0x23f172=_0x5da667,_0x165a27={'qtNwC':function(_0x54f2eb,_0x3db3b2){return _0x54f2eb(_0x3db3b2);}};_0x165a27[_0x23f172(0x2cb)](argUsed,_0x31d7ec)&&warnRenamed(_0x2f5c80+'\x20'+_0x31d7ec,_0x2f5c80+'\x20'+_0x5c78d0);}async function runGoCommand(_0x5312ed,_0x488cff=![]){const _0x3d5e26=_0x5da667,_0x33b0c2={'OMVkz':_0x3d5e26(0x2e2),'ABWjR':function(_0x944137,_0x1dbb4d,_0x3e418d,_0x279384){return _0x944137(_0x1dbb4d,_0x3e418d,_0x279384);},'GKnVR':_0x3d5e26(0x2c3),'WwGmT':'--item','LjnGv':function(_0x5173ed){return _0x5173ed();},'Trkst':function(_0x29e5a9,_0x5e7b0e){return _0x29e5a9(_0x5e7b0e);},'aeSWa':'start-path','NitDJ':'base-url','ZFybB':_0x3d5e26(0x2fc),'NTvsB':function(_0x18f5be,_0x45c2c6){return _0x18f5be===_0x45c2c6;},'mGlrq':_0x3d5e26(0x2ae),'ifQke':_0x3d5e26(0x28b),'ZqtGP':'partial','uvCvu':'blocked','pRzlq':'\x20FAILED','QfiMn':_0x3d5e26(0x194)};_0x488cff&&warnRenamed(_0x3d5e26(0x2f7),'ranger\x20go');warnFlagRenamed(_0x3d5e26(0x2c3),_0x3d5e26(0x1f3),_0x33b0c2['OMVkz']),_0x33b0c2[_0x3d5e26(0x21a)](warnFlagRenamed,_0x33b0c2['GKnVR'],_0x3d5e26(0x2e3),'--notes'),warnFlagRenamed(_0x33b0c2[_0x3d5e26(0x291)],_0x33b0c2[_0x3d5e26(0x204)],_0x3d5e26(0x2cf));const _0x1ebaa8=await _0x33b0c2['LjnGv'](loadRangerConfig),_0x1383ce=isByokEnabled(),_0x5ad5ef=_0x5312ed[_0x3d5e26(0x2a5)],_0x435624=_0x1ebaa8['model'],_0x347b1a=await _0x33b0c2[_0x3d5e26(0x2da)](verifyFeature,{'featureId':_0x5312ed[_0x3d5e26(0x22d)],'profile':_0x5312ed[_0x3d5e26(0x2e6)]??_0x5312ed['env']??process['env']['RANGER_PROFILE'],'notes':_0x5312ed[_0x3d5e26(0x2ed)]??_0x5312ed['task'],'scenario':_0x5312ed[_0x3d5e26(0x25f)]??_0x5312ed['item'],'startPath':_0x5312ed[_0x33b0c2['aeSWa']],'baseUrl':_0x5312ed[_0x33b0c2['NitDJ']],'debugOutcome':_0x5312ed[_0x33b0c2['ZFybB']],'debugAddressComments':_0x5312ed['debug-address-comments'],'headed':_0x5312ed['headed'],'byokEnabled':_0x1383ce,'flagVerifyModel':_0x5ad5ef,'configVerifyModel':_0x435624});console['log']('\x0a'+'='['repeat'](0x3c)),console['log'](_0x33b0c2[_0x3d5e26(0x2dc)](_0x347b1a['evaluation'],_0x33b0c2[_0x3d5e26(0x2ee)])?_0x3d5e26(0x1e2):_0x347b1a['evaluation']===_0x3d5e26(0x1df)?_0x33b0c2['ifQke']:_0x347b1a[_0x3d5e26(0x2c8)]===_0x33b0c2[_0x3d5e26(0x1d1)]?'\x20PARTIAL':_0x347b1a[_0x3d5e26(0x2c8)]===_0x33b0c2['uvCvu']?'\x20BLOCKED':_0x33b0c2['pRzlq']),console['log']('='[_0x3d5e26(0x231)](0x3c)),console['log']('Summary:\x20'+_0x347b1a['summary']),console[_0x3d5e26(0x1c2)]('Evaluation:\x20'+_0x347b1a[_0x3d5e26(0x2c8)]),console[_0x3d5e26(0x1c2)]('Reason:\x20'+_0x347b1a[_0x3d5e26(0x18f)]),_0x347b1a[_0x3d5e26(0x1de)]?.[_0x3d5e26(0x274)]&&(console['log'](_0x33b0c2['QfiMn']),_0x347b1a['issues']['forEach']((_0x5b84ed,_0x4a4fc0)=>{const _0x1e7a2c=_0x3d5e26;console[_0x1e7a2c(0x1c2)]('\x0a'+(_0x4a4fc0+0x1)+_0x1e7a2c(0x21b)+_0x5b84ed[_0x1e7a2c(0x315)]+']\x20'+_0x5b84ed['description']);})),process['exit'](_0x347b1a[_0x3d5e26(0x2c8)]===_0x33b0c2['mGlrq']?0x0:0x1);}function _0x5cc4(){const _0x1ce250=['add\x20env\x20<env-name>','ranger\x20profile\x20ls','auth','test_output','IEqnh','MGOUa','model','JcMoC','\x20is\x20now\x20','Install\x20scope\x20for\x20plugin\x20and\x20skills','GGZAU','report','offset','jZhRE','setup:all','verified','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','gzqnj','uGxJm','Scenario\x20description','VsDUz','feature\x20show','TeCmk','BavvW','eZaXu','MkoZk','Rtqpk','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','ranger\x20profile\x20add','ranger\x20profile\x20config\x20list','env-name','pDKfP','dOIcd','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','yGMPz','fQskx','ranger\x20go','New\x20scenario\x20description','You\x20must\x20specify\x20a\x20command','profile\x20ls','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','evaluation','cWgun','skillup','qtNwC','unset\x20<profile>\x20<key>','EYzzg','Profile\x20name','--scenario','ffqwZ','ranger\x20feature\x20get-feedback','hwsxU','yrGpL','url','skip-chromium','profile\x20config\x20set','LnqFD','command','tokenOrSubcommand','Trkst','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','NTvsB','tqUYn','get\x20<profile>\x20<key>','1662AJZUsy','xReJt','positional','--profile','--task','safe-mode','oJWCP','profile','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','Set\x20up\x20a\x20local\x20browser\x20profile','Install\x20OS-level\x20dependencies\x20for\x20Chromium','qSxMV','Enfha','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','notes','mGlrq','kXXNr','create\x20<name>','description','ranger\x20restore','mnehA','get-review','ranger\x20auth\x20encrypt','Alias\x20for\x20--mcp-bootstrap','ranger\x20verify-feature','list\x20<profile>','status','enable','DXHtb','debug-outcome','slice','show\x20[id]','XTCQI','cIZsa','EWNvi','Scenario\x20number\x20to\x20edit\x20(1-based)','\x0aUnknown\x20command:\x20','AsIRQ','TjeKH','KeTUL','jldEt','HDfqc','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','GRfuO','duGzZ','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','epilogue','token','HlwtL','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','JFlJO','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','qVnxG','\x27.\x20Session\x20saved.','severity','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','add-checklist-item\x20<description>','Initialize\x20Ranger\x20in\x20your\x20project','error','item','list','ranger\x20profile\x20config\x20set','WGXKu','wyFoO','oHNce','zSUIv','IhtkQ','EfSna','create','skip-auth','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','Scenario\x20index\x20(1-based)','PkxCg','unset\x20<env>\x20<key>','ranger','Feature\x20review\x20name','update\x20<env-name>','Set\x20a\x20config\x20value','add-scenario','Ftxzb','NDfUO','profile\x20use','option','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','Feature\x20review\x20ID','Install\x20Ranger\x20skills','test','not_configured','DcxwU','ranger\x20use','hHEDb','user','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','895140aSEttF','ReDBJ','List\x20all\x20profiles','IxPYr','myGOK','version','FIKGN','PCSaC','imxSk','evaluationReason','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','key','current-branch','help','\x0aIssues:','AktEb','Number\x20of\x20feature\x20reviews\x20to\x20skip','API\x20token','xRvMQ','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','feature\x20delete','ranger\x20profile\x20config\x20get','veqMu','cPfHw','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','BqqvW','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','NyUvc','base-url','xhtwm','bbvnr','vYPPd','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','message','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','RGKqK','fail','slrmK','checklist','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.','\x20is\x20no\x20longer\x20supported.\x20','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','Ranger\x20API\x20token','VroUd','Sfnrb','1272789EftLBF','some','SAYYN','boolean','Manage\x20profiles','ghZgy','List\x20all\x20config\x20for\x20a\x20profile','wThNf','aKKlo','UDhDy','dry-run','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','RHfGc','yes','log','KWLVw','include-deleted','add\x20<profile-name>','ShmET','ranger\x20config\x20get','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','ZMamj','ranger\x20feature\x20resume','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','XJGtN','OPEMb','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','number','failed','ZqtGP','lBVRe','Switch\x20to\x20using\x20a\x20specific\x20profile','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','map','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','Cloud\x20profile\x20name','Config\x20value','ranger\x20setup\x20profiles\x20--scope=','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','allow-insecure-localhost','feature\x20resume','gwGMB','issues','incomplete','rFGbj','profile\x20encrypt-auth','\x20VERIFIED','4282992ycPZCq','alias','config','opencode','ranger\x20config\x20unset','profile\x20migrate','Print\x20the\x20current\x20CLI\x20access\x20token','WhgkO','config\x20list','kIeQh','\x20\x20https://docs.ranger.net\x0a','icuvX','NqegW','setup:deps','UphGK','print-access-token','--env','LjMuN','hook','exit','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','dRZzY','RANGER_TEST_USERNAME','PBASI','FNSkN','114758vYCEMq','json','CIafG','ranger\x20profile\x20use','task','ranger\x20feature\x20delete','dBsLX','Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)','WwGmT','partial','ranger\x20config\x20set','profile\x20config\x20list','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','ranger\x20get-review','ranger\x20create','RVDHA','jkANG','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\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\x0aDeprecated\x20(exit\x201\x20with\x20a\x20redirect\x20message):\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20→\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20to\x20refresh\x20auth\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20→\x20no\x20longer\x20needed;\x20Ranger\x20manages\x20session\x20state\x0a\x20\x20migrate\x20[<profile>]\x20\x20\x20\x20\x20\x20\x20→\x20run\x20`ranger\x20profile\x20add\x20<name>`;\x20old\x20dirs\x20stay\x20readable\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','eSlAq','QRxLR','use\x20<profile-name>','disable','ranger\x20show','Authenticate\x20via\x20MCP\x20proxy','EEihK','ranger\x20env\x20update','nlJXF','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','nDTPL','WUUeE','ABWjR','.\x20[','Login\x20failed:\x20','profile\x20config\x20reset','update','feature\x20restore','Config\x20key','uqIYk','argv','mcp-bootstrap','VWyrG','profile-name','hook:disable','delete\x20[id]','OXknN','session-id','6IUHDxw','PqdHI','OAbmj','feature','Remove\x20a\x20config\x20value','force','Base\x20URL\x20of\x20the\x20running\x20app','repeat','XFqSb','value','yeTip','DEvve','YNuiB','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','Fwmcv','8uQTTit','setup\x20[tokenOrSubcommand]','exitCode','feature\x20create','mcp','report\x20[id]','update\x20<profile-name>','yohUE','1767710LACGqp','cdp-endpoint','ngMDJ','RnUXT','setup:login','sWAnd','Skip\x20interactive\x20confirmation\x20prompts.','pXsXy','login\x20<name>','demandCommand','string','Include\x20soft-deleted\x20feature\x20reviews','lDaza','Skip\x20Chromium\x20browser\x20installation','twkhF','Feature\x20review\x20description','login','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','limit','qJFpy','xkomy','3nVmFNt','Environment\x20name','ranger\x20feature\x20show','ranger\x20feature\x20list','config\x20unset','MfSmr','profile\x20add','save-creds','Unknown\x20command','scenario','JvDbQ','HRhro','jOiiu','VsCFn','edit-scenario','viXXI','List\x20all\x20feature\x20reviews','clean','11725XGcbUK','resume\x20[id]','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','XJaPr','nlvta','env\x20update','JDnHQ','EQtiZ','DSWZG','MslNT','CKbxA','rvyxE','length','array','env','BLRIh','You\x20must\x20specify\x20a\x20profile\x20subcommand','WxaDU','LKKXC','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','PyyFG','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','all','scope','ryNYO','unknown\x20error','start\x20[token]','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','LeuuT','set\x20<env>\x20<key>\x20<value>','IgiqT','list\x20<env>','BSYbL','prGWC','\x20INCOMPLETE','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','celsN','UpiNH','bmDnG','WBSUl','GKnVR','usage','eISZJ','RClQf','Authenticate\x20with\x20Ranger','FVJUL','Optional\x20feature\x20ID','name','project','KYzPe','ranger\x20start','28187159RRprKA','get\x20<env>\x20<key>','IxCdP'];_0x5cc4=function(){return _0x1ce250;};return _0x5cc4();}export function buildParser(_0x3bfda7){const _0x4a0a35=_0x5da667,_0x2c9022={'icuvX':'string','WUUeE':'description','JZrVw':_0x4a0a35(0x275),'jldEt':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','jTyeX':_0x4a0a35(0x1ad),'UDhDy':function(_0x1bffa7,_0x236558){return _0x1bffa7+_0x236558;},'GJntZ':function(_0x1c54df,_0x4536bb,_0x2401b2,_0x5ca2b7){return _0x1c54df(_0x4536bb,_0x2401b2,_0x5ca2b7);},'PtEWa':_0x4a0a35(0x20a),'XdCJX':_0x4a0a35(0x2cf),'nMQXM':_0x4a0a35(0x323),'arfYT':'current-branch','PkxCg':'boolean','HDfqc':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','iLbsB':_0x4a0a35(0x253),'ShmET':'number','yeTip':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','PdnrJ':'Number\x20of\x20feature\x20reviews\x20to\x20skip','FIKGN':function(_0x599553,_0x5a5225,_0x25d33e){return _0x599553(_0x5a5225,_0x25d33e);},'BLRIh':_0x4a0a35(0x17d),'ThEaa':'Scenario\x20description','EYzzg':function(_0x45f1fc,_0x25b4a5,_0x4b1478){return _0x45f1fc(_0x25b4a5,_0x4b1478);},'jqLns':_0x4a0a35(0x2c4),'zSUIv':'scenario','Fmxfw':_0x4a0a35(0x302),'Nzpez':_0x4a0a35(0x264),'Sfnrb':'exclude-scenario','hunBz':_0x4a0a35(0x1fd),'oqsGr':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','iPAzm':_0x4a0a35(0x2aa),'MkoZk':_0x4a0a35(0x2f4),'VroUd':function(_0x41cd66,_0x2ed5fa,_0x1859c8){return _0x41cd66(_0x2ed5fa,_0x1859c8);},'rvyxE':_0x4a0a35(0x1b1),'BavvW':_0x4a0a35(0x2d5),'EfSna':_0x4a0a35(0x30c),'TeCmk':'skip-auth','Rtqpk':'Skip\x20authentication','DcxwU':'with-deps','XJaPr':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','jAEfN':_0x4a0a35(0x2d4),'yrGpL':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','IEaQF':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','vYPPd':'mcp-bootstrap','dUJQh':_0x4a0a35(0x2ec),'PyyFG':'token','zDhxx':'Ranger\x20API\x20token\x20(rngr_...)','RClQf':_0x4a0a35(0x23d),'DXHtb':'user','HVazz':'Skip\x20browser\x20authentication','mszbu':_0x4a0a35(0x1db),'PVwqR':function(_0x1b0179,_0x4eb4e1){return _0x1b0179!==_0x4eb4e1;},'zmMIw':function(_0x2606b1,_0x53d3d9,_0x2024cc){return _0x2606b1(_0x53d3d9,_0x2024cc);},'Dskzx':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','eEKLB':_0x4a0a35(0x1f0),'IjWLb':function(_0x2981f6){return _0x2981f6();},'DuoPk':'setup:skills','imxSk':'tokenOrSubcommand','HRhro':'all','blePu':'Run\x20full\x20interactive\x20setup','XJGtN':'Install\x20Chromium\x20browser\x20binary','RHfGc':'profiles','VsCFn':'scope','Fwmcv':_0x4a0a35(0x310),'xKYMH':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','suPDG':_0x4a0a35(0x197),'wIuKQ':'start','UphGK':_0x4a0a35(0x185),'uqIYk':_0x4a0a35(0x309),'PCSaC':_0x4a0a35(0x24e),'DEvve':function(_0x494145,_0x53c746,_0x4a0cd4){return _0x494145(_0x53c746,_0x4a0cd4);},'yBBai':'setup-ci','jkANG':_0x4a0a35(0x251),'jZcEq':'Install\x20skills\x20for\x20OpenCode','PLVga':'Install\x20scope\x20for\x20skills','GaEVO':function(_0x457e1a,_0x2a6b12){return _0x457e1a(_0x2a6b12);},'WxaDU':_0x4a0a35(0x267),'icGxw':_0x4a0a35(0x1d4),'Ftxzb':_0x4a0a35(0x2ba),'hQfYx':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','tXHhL':_0x4a0a35(0x242),'cgrZn':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','uKoFo':'safe-mode','IEqnh':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','VohNN':_0x4a0a35(0x252),'HBsEE':_0x4a0a35(0x1c1),'ENCyH':_0x4a0a35(0x199),'dNiAU':_0x4a0a35(0x1e1),'HdsHJ':'Name\x20of\x20the\x20profile\x20to\x20update','ggWrB':function(_0x12408e,_0xc69be2,_0x1490d3){return _0x12408e(_0xc69be2,_0x1490d3);},'SxYve':'profile\x20update','hyerQ':_0x4a0a35(0x1e8),'NyUvc':function(_0x4098eb,_0x2f6e9c){return _0x4098eb(_0x2f6e9c);},'lBVRe':_0x4a0a35(0x298),'UpiNH':_0x4a0a35(0x1d7),'oHNce':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','LeuuT':'profile','CKbxA':function(_0x3f8e5d,_0x985c6f,_0x4ae4ff){return _0x3f8e5d(_0x985c6f,_0x4ae4ff);},'uJqff':_0x4a0a35(0x21d),'wThNf':_0x4a0a35(0x22e),'cadfD':_0x4a0a35(0x2c7),'uIKSO':'Add\x20profile\x20configuration','DfeOv':_0x4a0a35(0x1d3),'jtPfy':'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','YbhFX':'Update\x20authentication\x20for\x20an\x20existing\x20profile','GcCGq':_0x4a0a35(0x203),'WrhNt':_0x4a0a35(0x278),'ReDBJ':_0x4a0a35(0x2f9),'XFqSb':function(_0x165a4d){return _0x165a4d();},'uGxJm':_0x4a0a35(0x237),'kgpye':'notes','lDaza':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','qJFpy':'start-path','cVRFu':_0x4a0a35(0x19a),'RgfLF':_0x4a0a35(0x1ae),'qVnxG':'headed','XTCQI':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','KYzPe':_0x4a0a35(0x2fc),'yohUE':'blocked','fZzmf':_0x4a0a35(0x276),'oWoqj':_0x4a0a35(0x200),'aBLYH':_0x4a0a35(0x31a),'fQskx':function(_0x21b9d5,_0x4f7460){return _0x21b9d5(_0x4f7460);},'qvvpq':_0x4a0a35(0x2f5),'JcMoC':'encrypt\x20<profile>','sEWQl':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','cPfHw':_0x4a0a35(0x326),'twkhF':'force','gwGMB':_0x4a0a35(0x2e9),'SAYYN':function(_0x194029,_0x2377c2,_0x40788e){return _0x194029(_0x2377c2,_0x40788e);},'kIeQh':_0x4a0a35(0x29b),'QvKIx':'ranger\x20setup','RZczu':function(_0x502346,_0x4c36b7,_0x3e87a5){return _0x502346(_0x4c36b7,_0x3e87a5);},'LKKXC':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','mnehA':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','eISZJ':_0x4a0a35(0x328),'MfSmr':_0x4a0a35(0x26a),'Wzczg':_0x4a0a35(0x2a5),'VsDUz':'verified','oJWCP':_0x4a0a35(0x1d0),'xhtwm':_0x4a0a35(0x1df),'wVHcQ':_0x4a0a35(0x2bd),'JpqLy':'ranger\x20add\x20env','qSxMV':'Name\x20of\x20the\x20environment','CvSXW':_0x4a0a35(0x1ff),'bbrNQ':'use','xUkgL':'ranger\x20config\x20list','ZEARg':_0x4a0a35(0x2bc),'HsBaf':_0x4a0a35(0x1e7),'RnUXT':_0x4a0a35(0x25a),'ghZgy':_0x4a0a35(0x288),'sDCUE':_0x4a0a35(0x32a),'GRfuO':function(_0x2806f8,_0x399cd3,_0x182c99){return _0x2806f8(_0x399cd3,_0x182c99);},'pXsXy':'ranger\x20env\x20ls','DSWZG':function(_0x169759,_0x206932,_0x6f5dc8){return _0x169759(_0x206932,_0x6f5dc8);},'bmDnG':'env\x20list','CCMvs':function(_0x1292a6,_0x4b40b7,_0x44f900){return _0x1292a6(_0x4b40b7,_0x44f900);},'QBJZf':'ranger\x20profile\x20update','AijgS':_0x4a0a35(0x26d),'jhRVm':_0x4a0a35(0x27b),'IgiqT':_0x4a0a35(0x17c),'EEihK':'ranger\x20feature\x20create','sWAnd':_0x4a0a35(0x2ab),'xkomy':'include-deleted','quAQv':_0x4a0a35(0x258),'jOiiu':_0x4a0a35(0x2b4),'CIafG':_0x4a0a35(0x1dc),'nlvta':'ranger\x20add-scenario','PmSDX':_0x4a0a35(0x19b),'wDkpz':'ranger\x20feature\x20restore','WBSUl':_0x4a0a35(0x2f2),'qdopF':_0x4a0a35(0x2f0),'ryNYO':'list','EWNvi':_0x4a0a35(0x269),'WihzJ':_0x4a0a35(0x317),'TjeKH':'restore\x20<id>','EdlLg':'hook:enable','QRxLR':_0x4a0a35(0x226),'zofKy':_0x4a0a35(0x2fa),'IQuSW':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','WhgkO':_0x4a0a35(0x229),'ueMDb':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','yGQin':function(_0x445252,_0x4f8dae,_0x52e3cc){return _0x445252(_0x4f8dae,_0x52e3cc);},'ETXGj':function(_0x3fd7ca,_0x13aca6,_0x427443){return _0x3fd7ca(_0x13aca6,_0x427443);},'gViGk':_0x4a0a35(0x2db),'yGMPz':function(_0x12732d,_0x3e7d4a){return _0x12732d||_0x3e7d4a;},'FVJUL':'Unknown\x20error','wyFoO':function(_0x3f6c3c,_0x134e62){return _0x3f6c3c(_0x134e62);},'LHpKZ':'ranger','MGOUa':_0x4a0a35(0x266),'OJFvw':_0x4a0a35(0x2fe),'JTurl':_0x4a0a35(0x217),'pKpLD':'edit-scenario\x20<description>','LjupI':_0x4a0a35(0x23e),'VWyrG':_0x4a0a35(0x1bf),'myGOK':'delete\x20[id]','xTuHm':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','prGWC':'Restore\x20a\x20soft-deleted\x20feature\x20review','JvDbQ':_0x4a0a35(0x318),'QfQAZ':_0x4a0a35(0x17e),'eSlAq':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','NDfUO':'update','hDNma':_0x4a0a35(0x1f2),'nlJXF':_0x4a0a35(0x2a1),'LjMuN':_0x4a0a35(0x282),'dRZzY':'verify-feature','BYkxd':_0x4a0a35(0x1f5),'AfHPN':function(_0x44482e,_0x35b65a){return _0x44482e+_0x35b65a;},'EQtiZ':_0x4a0a35(0x193)};return _0x2c9022[_0x4a0a35(0x31e)](_0xf5c66,_0x3bfda7??process['argv']['slice'](0x2))['scriptName'](_0x2c9022['LHpKZ'])['usage'](TOP_LEVEL_HELP)[_0x4a0a35(0x18b)](getCurrentVersion())[_0x4a0a35(0x2d8)](_0x2c9022['qdopF'],_0x4a0a35(0x19f),_0xa2613=>{const _0xae2009=_0x4a0a35;return _0xa2613['positional'](_0xae2009(0x298),{'type':_0x2c9022[_0xae2009(0x1ee)],'description':_0xae2009(0x174),'demandOption':!![]})[_0xae2009(0x17b)](_0x2c9022[_0xae2009(0x219)],{'type':_0xae2009(0x24b),'alias':'d','description':_0xae2009(0x250)})['option'](_0xae2009(0x25f),{'type':_0x2c9022['JZrVw'],'alias':'c','description':_0x2c9022[_0xae2009(0x307)]})[_0xae2009(0x17b)](_0x2c9022['jTyeX'],{'type':'array','hidden':!![]});},async _0xc82669=>{const _0x2358ca=_0x4a0a35;if(!_0xc82669['name']){console['error'](_0x2c9022[_0x2358ca(0x1bd)](_0x2358ca(0x28c),'Example:\x20ranger\x20create\x20my-feature')),process['exit'](0x1);return;}_0x2c9022['GJntZ'](warnFlagRenamed,_0x2c9022['PtEWa'],'--checklist',_0x2c9022['XdCJX']);const _0x3b5598=_0xc82669['scenario']||_0xc82669[_0x2358ca(0x1ad)];await withTelemetry(_0x2c9022['nMQXM'],()=>featureCreate(_0xc82669['name'],{'description':_0xc82669['description'],'scenarios':_0x3b5598}));})['command'](_0x2c9022[_0x4a0a35(0x280)],_0x2c9022[_0x4a0a35(0x2a4)],_0xa9eda8=>{const _0x518030=_0x4a0a35;return _0xa9eda8[_0x518030(0x17b)](_0x2c9022['arfYT'],{'type':_0x2c9022['PkxCg'],'description':_0x2c9022[_0x518030(0x308)]})[_0x518030(0x17b)](_0x2c9022['iLbsB'],{'type':_0x2c9022[_0x518030(0x1c6)],'alias':'l','description':_0x2c9022[_0x518030(0x234)],'default':0xa})[_0x518030(0x17b)](_0x518030(0x2ab),{'type':_0x2c9022[_0x518030(0x1c6)],'alias':'o','description':_0x2c9022['PdnrJ'],'default':0x0})[_0x518030(0x17b)](_0x518030(0x1c4),{'type':_0x518030(0x1b7),'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x1df2f4=>{const _0x4e74cd=_0x4a0a35;await _0x2c9022[_0x4e74cd(0x18c)](withTelemetry,_0x4e74cd(0x31b),()=>featureList({'currentBranch':_0x1df2f4['current-branch'],'limit':_0x1df2f4[_0x4e74cd(0x253)],'offset':_0x1df2f4['offset'],'includeDeleted':_0x1df2f4[_0x4e74cd(0x1c4)]}));})['command'](_0x2c9022['OJFvw'],'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0xe4b978=>{const _0x395b32=_0x4a0a35;return _0xe4b978[_0x395b32(0x2e1)]('id',{'type':_0x2c9022[_0x395b32(0x1ee)],'description':_0x2c9022['BLRIh']});},async _0x20624c=>{await withTelemetry('show',()=>featureShow(_0x20624c['id']));})['command'](_0x2c9022[_0x4a0a35(0x301)],_0x2c9022['JTurl'],_0x27e0ca=>{return _0x27e0ca['positional']('id',{'type':_0x2c9022['icuvX'],'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x43eb16=>{await _0x2c9022['FIKGN'](withTelemetry,'resume',()=>featureResume(_0x43eb16['id']));})[_0x4a0a35(0x2d8)]('add-scenario\x20<description>',_0x4a0a35(0x190),_0x5cfd08=>{const _0x196e24=_0x4a0a35;return _0x5cfd08['positional'](_0x196e24(0x2f1),{'type':_0x2c9022[_0x196e24(0x1ee)],'description':_0x2c9022['ThEaa'],'demandOption':!![]})[_0x196e24(0x17b)]('id',{'type':_0x2c9022['icuvX'],'description':_0x196e24(0x17c)});},async _0x315b6c=>{const _0x236c5b=_0x4a0a35;await _0x2c9022['EYzzg'](withTelemetry,_0x236c5b(0x177),()=>featureAddScenario(_0x315b6c['description'],_0x315b6c['id']));})['command'](_0x2c9022['pKpLD'],'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x5e83e4=>{const _0x1bbaf5=_0x4a0a35;return _0x5e83e4['positional'](_0x1bbaf5(0x2f1),{'type':'string','description':_0x2c9022['jqLns'],'demandOption':!![]})['option'](_0x2c9022[_0x1bbaf5(0x320)],{'type':_0x2c9022[_0x1bbaf5(0x1c6)],'description':_0x2c9022['Fmxfw'],'demandOption':!![]})['option']('id',{'type':_0x2c9022[_0x1bbaf5(0x1ee)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x4c5ad5=>{const _0x5a946a=_0x4a0a35;await _0x2c9022[_0x5a946a(0x2cd)](withTelemetry,_0x2c9022['Nzpez'],()=>featureEditScenario(_0x4c5ad5['description'],{'id':_0x4c5ad5['id'],'scenario':_0x4c5ad5['scenario']}));})[_0x4a0a35(0x2d8)](_0x2c9022['LjupI'],_0x2c9022[_0x4a0a35(0x224)],_0x22e5fb=>{const _0x1e2d90=_0x4a0a35;return _0x22e5fb[_0x1e2d90(0x2e1)]('id',{'type':_0x2c9022[_0x1e2d90(0x1ee)],'description':_0x2c9022[_0x1e2d90(0x277)]})['option'](_0x2c9022['Sfnrb'],{'type':_0x1e2d90(0x275),'description':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'})['option'](_0x2c9022['hunBz'],{'type':_0x1e2d90(0x1b7),'description':_0x2c9022['oqsGr'],'default':![]});},async _0x193deb=>{const _0x36d3b7=_0x4a0a35,_0x1c1efb=_0x193deb[_0x2c9022[_0x36d3b7(0x1b3)]],_0x379152=_0x1c1efb?_0x1c1efb[_0x36d3b7(0x1d5)](_0x153f47=>Number(_0x153f47)):undefined;await withTelemetry(_0x2c9022['iPAzm'],()=>featureReportPrDescription(_0x193deb['id'],{'excludeScenarios':_0x379152,'json':_0x193deb[_0x36d3b7(0x1fd)]}));})[_0x4a0a35(0x2d8)]('get-review\x20[id]','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x376fca=>{const _0x4cff39=_0x4a0a35;return _0x376fca[_0x4cff39(0x2e1)]('id',{'type':'string','description':_0x4cff39(0x17c)});},async _0x3973be=>{const _0x5cc647=_0x4a0a35;await withTelemetry(_0x2c9022[_0x5cc647(0x2b8)],()=>featureGetReview(_0x3973be['id']));})[_0x4a0a35(0x2d8)](_0x2c9022[_0x4a0a35(0x18a)],_0x2c9022['xTuHm'],_0x1fc552=>{const _0x3bb099=_0x4a0a35;return _0x1fc552[_0x3bb099(0x2e1)]('id',{'type':_0x2c9022[_0x3bb099(0x1ee)],'description':_0x2c9022[_0x3bb099(0x277)]});},async _0x22e81a=>{const _0x1e0e0f=_0x4a0a35;await _0x2c9022[_0x1e0e0f(0x1b2)](withTelemetry,'delete',()=>featureDelete(_0x22e81a['id']));})[_0x4a0a35(0x2d8)](_0x2c9022[_0x4a0a35(0x305)],_0x2c9022[_0x4a0a35(0x28a)],_0xf9a093=>{const _0x4e1bea=_0x4a0a35;return _0xf9a093[_0x4e1bea(0x2e1)]('id',{'type':_0x2c9022['icuvX'],'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x350a38=>{const _0x378155=_0x4a0a35;await _0x2c9022[_0x378155(0x18c)](withTelemetry,'restore',()=>featureRestore(_0x350a38['id']));})['command'](_0x4a0a35(0x23a),_0x2c9022[_0x4a0a35(0x260)],_0x592485=>{const _0x396de1=_0x4a0a35,_0x14cca3={'ZMamj':_0x396de1(0x223),'MslNT':_0x396de1(0x2ad),'WGdPL':_0x2c9022[_0x396de1(0x181)],'rcJuD':_0x2c9022['PkxCg'],'veqMu':_0x2c9022['Dskzx'],'tbjtZ':function(_0x253931,_0x47a33b,_0x482783){return _0x253931(_0x47a33b,_0x482783);},'IxCdP':_0x2c9022['eEKLB'],'bRhDR':function(_0x7a424a){return _0x2c9022['IjWLb'](_0x7a424a);},'bbvnr':'Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','RPAcs':function(_0x3050eb,_0x43e9ae){return _0x3050eb(_0x43e9ae);},'nXzvr':_0x2c9022[_0x396de1(0x2fb)],'Enfha':_0x396de1(0x2a8),'RGKqK':_0x396de1(0x1e6),'dOIcd':_0x396de1(0x208),'gzqnj':function(_0x429b45,_0x1293ee,_0x627b2b){return _0x429b45(_0x1293ee,_0x627b2b);},'KeTUL':_0x2c9022['DuoPk']};return _0x592485['usage'](_0x396de1(0x1a9))[_0x396de1(0x2e1)](_0x2c9022[_0x396de1(0x18e)],{'type':'string','description':'Subcommand\x20or\x20API\x20token\x20(rngr_...)'})['command'](_0x2c9022['HRhro'],_0x2c9022['blePu'],_0x6824ea=>{const _0x4222b7=_0x396de1;return _0x6824ea['option']('token',{'type':'string','description':_0x2c9022[_0x4222b7(0x273)]})[_0x4222b7(0x17b)](_0x2c9022['BavvW'],{'type':_0x2c9022[_0x4222b7(0x329)],'description':_0x2c9022['EfSna'],'default':![]})[_0x4222b7(0x17b)](_0x2c9022[_0x4222b7(0x2b5)],{'type':_0x2c9022['PkxCg'],'description':_0x2c9022[_0x4222b7(0x2b9)],'default':![]})[_0x4222b7(0x17b)](_0x2c9022['DcxwU'],{'type':_0x2c9022['PkxCg'],'description':_0x4222b7(0x2e9),'default':![]})['option'](_0x4222b7(0x27f),{'type':_0x2c9022[_0x4222b7(0x1ee)],'choices':['user'],'hidden':!![],'description':_0x2c9022['XJaPr']})['option'](_0x2c9022['jAEfN'],{'type':'string','description':_0x4222b7(0x1cb)})[_0x4222b7(0x17b)](_0x4222b7(0x22f),{'type':_0x2c9022[_0x4222b7(0x329)],'description':_0x2c9022['yrGpL'],'default':![]})[_0x4222b7(0x17b)]('opencode',{'type':_0x2c9022['PkxCg'],'description':_0x4222b7(0x208),'default':![]})[_0x4222b7(0x17b)](_0x4222b7(0x1db),{'type':_0x2c9022[_0x4222b7(0x329)],'description':_0x2c9022['IEaQF'],'default':![]})['option'](_0x2c9022[_0x4222b7(0x1a6)],{'type':_0x2c9022['PkxCg'],'description':_0x2c9022['dUJQh'],'default':![]})['option']('mcp',{'type':_0x2c9022['PkxCg'],'description':_0x4222b7(0x2f6),'default':![]});},async _0x4640b4=>{const _0x34b191=_0x396de1;(_0x4640b4['mcp-bootstrap']||_0x4640b4['mcp'])&&await withTelemetry(_0x14cca3[_0x34b191(0x1c9)],()=>mcpBootstrap()),await withTelemetry(_0x14cca3[_0x34b191(0x271)],_0x314baf=>start(_0x4640b4['token'],{'skipChromium':_0x4640b4['skip-chromium'],'skipAuth':_0x4640b4[_0x34b191(0x324)],'withDeps':_0x4640b4['with-deps'],'scope':_0x4640b4['scope'],'url':_0x4640b4['url'],'force':_0x4640b4[_0x34b191(0x22f)],'opencode':_0x4640b4['opencode'],'allowInsecureLocalhost':_0x4640b4['allow-insecure-localhost']},_0x314baf));})[_0x396de1(0x2d8)]('deps',_0x2c9022[_0x396de1(0x1cc)],_0x147693=>{const _0x7e0342=_0x396de1;return _0x147693['option'](_0x14cca3['WGdPL'],{'type':_0x14cca3['rcJuD'],'description':_0x14cca3[_0x7e0342(0x19d)],'default':![]});},async _0x81df54=>{const _0x339531=_0x396de1;await _0x14cca3['tbjtZ'](withTelemetry,_0x14cca3[_0x339531(0x29e)],()=>ensureChromium(_0x81df54['with-deps']));})[_0x396de1(0x2d8)]('login',_0x396de1(0x295),_0x28e74b=>{const _0x4e7883=_0x396de1;return _0x28e74b['option'](_0x2c9022[_0x4e7883(0x27c)],{'type':'string','description':_0x2c9022['zDhxx']})[_0x4e7883(0x17b)](_0x2c9022[_0x4e7883(0x294)],{'type':_0x2c9022['PkxCg'],'description':_0x4e7883(0x213),'default':![]});},async _0x54ceaa=>{const _0x4a572c=_0x396de1;await withTelemetry(_0x4a572c(0x245),async()=>{const _0x19e6fe=_0x4a572c;if(_0x54ceaa['mcp']){await _0x14cca3['bRhDR'](mcpBootstrap);const _0x436e51=await refreshCliToken();if(!_0x436e51)throw new Error(_0x14cca3[_0x19e6fe(0x1a5)]);const _0x43d0df=await _0x14cca3['RPAcs'](getCurrentUser,_0x436e51);if(!_0x43d0df['success'])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x43d0df[_0x19e6fe(0x319)]);console['log']('✓\x20Authenticated\x20to\x20'+_0x43d0df[_0x19e6fe(0x184)]['organizationName']);return;}await authenticate(_0x54ceaa['token']);});})[_0x396de1(0x2d8)]('skills','Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x35db2e=>{const _0x4c0a8e=_0x396de1;return _0x35db2e['option'](_0x4c0a8e(0x27f),{'type':_0x4c0a8e(0x24b),'choices':[_0x14cca3['nXzvr'],_0x4c0a8e(0x299)],'description':_0x14cca3[_0x4c0a8e(0x2eb)]})['option'](_0x14cca3[_0x4c0a8e(0x1aa)],{'type':'boolean','description':_0x14cca3[_0x4c0a8e(0x2bf)],'default':![]});},async _0x1089e2=>{const _0x5c684f=_0x396de1;await _0x14cca3[_0x5c684f(0x2b0)](withTelemetry,_0x14cca3[_0x5c684f(0x306)],async()=>{const _0x13dc6a=_0x5c684f,_0x1058af=_0x1089e2[_0x13dc6a(0x27f)];if(_0x1089e2[_0x13dc6a(0x1e6)]){const _0xf3ddcf=await ensureOpencodePluginConfig(_0x1058af);_0xf3ddcf&&await installSkill(_0x13dc6a(0x173),{'level':_0xf3ddcf['scope'],'cliVersion':getCurrentVersion(),'platform':_0x13dc6a(0x1e6)});}else await ensureClaudePlugin(_0x1058af),await ensureClaudeSkills(_0x1058af);});})['command'](_0x2c9022[_0x396de1(0x1c0)],_0x396de1(0x2e8),_0x5756fa=>{const _0x3d90d2=_0x396de1;return _0x5756fa[_0x3d90d2(0x17b)](_0x3d90d2(0x27f),{'type':'string','choices':[_0x2c9022['DXHtb']],'description':_0x2c9022[_0x3d90d2(0x26b)]})[_0x3d90d2(0x17b)]('url',{'type':'string','description':_0x3d90d2(0x230)})[_0x3d90d2(0x17b)](_0x3d90d2(0x324),{'type':'boolean','description':_0x2c9022['HVazz'],'default':![]})['option'](_0x3d90d2(0x22f),{'type':_0x2c9022['PkxCg'],'description':_0x2c9022[_0x3d90d2(0x2d3)],'default':![]})['option'](_0x2c9022['mszbu'],{'type':_0x2c9022['PkxCg'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x2bcc17=>{const _0x50ea9f=_0x396de1,_0x3c9852=_0x2bcc17[_0x50ea9f(0x27f)];_0x2c9022['PVwqR'](_0x3c9852,undefined)&&_0x3c9852!==_0x50ea9f(0x184)&&(console['error'](_0x50ea9f(0x1d9)+_0x3c9852+_0x50ea9f(0x1af)+'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20'+_0x50ea9f(0x316)),process['exit'](0x1)),await _0x2c9022['zmMIw'](withTelemetry,'setup:profiles',_0x79c9f0=>ensureLocalEnv({'url':_0x2bcc17[_0x50ea9f(0x2d4)],'force':_0x2bcc17['force'],'allowInsecureLocalhost':_0x2bcc17['allow-insecure-localhost'],'scope':_0x50ea9f(0x184)},_0x79c9f0));})[_0x396de1(0x17b)](_0x2c9022['BavvW'],{'type':_0x396de1(0x1b7),'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option'](_0x2c9022['VsCFn'],{'type':'string','choices':[_0x2c9022[_0x396de1(0x2fb)]],'hidden':!![],'description':_0x2c9022['XJaPr']})[_0x396de1(0x17b)]('url',{'type':_0x2c9022[_0x396de1(0x1ee)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option']('force',{'type':_0x396de1(0x1b7),'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x396de1(0x17b)](_0x396de1(0x1e6),{'type':_0x2c9022[_0x396de1(0x329)],'description':_0x396de1(0x208),'default':![]})['option'](_0x2c9022['mszbu'],{'type':_0x2c9022['PkxCg'],'description':_0x2c9022['Fwmcv'],'default':![]})['option'](_0x396de1(0x223),{'type':_0x2c9022['PkxCg'],'description':_0x396de1(0x1c8),'default':![]})['option'](_0x2c9022['TeCmk'],{'type':'boolean','description':_0x2c9022['xKYMH'],'default':![]})[_0x396de1(0x17b)](_0x2c9022['DcxwU'],{'type':_0x2c9022[_0x396de1(0x329)],'description':_0x2c9022['Dskzx'],'default':![]})['option'](_0x396de1(0x30e),{'type':_0x396de1(0x24b),'hidden':!![],'description':_0x2c9022['suPDG']});},async _0x4c0cc4=>{const _0x47f78d=_0x4a0a35,_0xe1de6d=_0x4c0cc4[_0x47f78d(0x2d9)],_0x3db2e6=_0x4c0cc4['token']??_0xe1de6d;_0x4c0cc4[_0x2c9022[_0x47f78d(0x1a6)]]&&await withTelemetry(_0x2c9022[_0x47f78d(0x1a6)],()=>mcpBootstrap()),await withTelemetry(_0x2c9022['wIuKQ'],_0x3a66b3=>start(_0x3db2e6,{'skipChromium':_0x4c0cc4[_0x47f78d(0x2d5)],'skipAuth':_0x4c0cc4[_0x47f78d(0x324)],'withDeps':_0x4c0cc4['with-deps'],'scope':_0x4c0cc4[_0x47f78d(0x27f)],'url':_0x4c0cc4['url'],'force':_0x4c0cc4[_0x47f78d(0x22f)],'opencode':_0x4c0cc4['opencode'],'allowInsecureLocalhost':_0x4c0cc4[_0x47f78d(0x1db)]},_0x3a66b3));})['command']('setup-ci\x20<token>','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0x4bf6ef=>{const _0x1ef6ab=_0x4a0a35;return _0x4bf6ef[_0x1ef6ab(0x2e1)](_0x1ef6ab(0x30e),{'type':'string','description':_0x2c9022['rvyxE'],'demandOption':!![]})['option'](_0x1ef6ab(0x2e6),{'type':_0x1ef6ab(0x24b),'description':_0x2c9022[_0x1ef6ab(0x1f1)]})[_0x1ef6ab(0x17b)](_0x1ef6ab(0x1a3),{'type':'string','description':_0x2c9022[_0x1ef6ab(0x221)]})['option'](_0x2c9022[_0x1ef6ab(0x2b6)],{'type':_0x2c9022['PkxCg'],'description':_0x2c9022[_0x1ef6ab(0x18d)],'default':![]});},async _0x1429d9=>{const _0x3058d6=_0x4a0a35;await _0x2c9022[_0x3058d6(0x235)](withTelemetry,_0x2c9022['yBBai'],_0x3ad745=>setupCi(_0x1429d9['token'],{'profile':_0x1429d9['profile'],'baseUrl':_0x1429d9['base-url'],'skipChromium':_0x1429d9[_0x3058d6(0x2d5)]},_0x3ad745));})['command'](_0x2c9022['jkANG'],_0x4a0a35(0x2af),()=>{},async()=>{const _0x1e1fb7=_0x4a0a35;await _0x2c9022[_0x1e1fb7(0x235)](withTelemetry,_0x2c9022[_0x1e1fb7(0x20c)],()=>login());})[_0x4a0a35(0x2d8)](_0x4a0a35(0x2ca),_0x2c9022['QfQAZ'],_0xaba57f=>{const _0x4001aa=_0x4a0a35;return _0xaba57f[_0x4001aa(0x17b)](_0x4001aa(0x1e6),{'type':_0x2c9022[_0x4001aa(0x329)],'description':_0x2c9022['jZcEq'],'default':![]})[_0x4001aa(0x17b)](_0x2c9022[_0x4001aa(0x263)],{'type':_0x2c9022['icuvX'],'choices':[_0x2c9022[_0x4001aa(0x2fb)],_0x4001aa(0x299)],'description':_0x2c9022['PLVga']});},async _0x273e89=>{const _0x2642d1=_0x4a0a35,_0x29b790=_0x2c9022['GaEVO'](Boolean,_0x273e89['opencode']);await _0x2c9022[_0x2642d1(0x235)](withTelemetry,'skillup',()=>skillup({'autoInstall':_0x273e89['scope'],'platform':_0x29b790?_0x2642d1(0x1e6):'claude'}));})[_0x4a0a35(0x2d8)](_0x4a0a35(0x267),'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{const _0x2eece0=_0x4a0a35;await _0x2c9022[_0x2eece0(0x235)](withTelemetry,_0x2c9022[_0x2eece0(0x279)],()=>clean());})[_0x4a0a35(0x2d8)]([_0x4a0a35(0x2e6),'profiles'],_0x4a0a35(0x1b8),_0x58dbec=>{const _0x286ebc=_0x4a0a35,_0x1d7110={'vWwsW':_0x286ebc(0x25c),'BSYbL':function(_0x5d995f,_0x5a81d3){const _0x2ef343=_0x286ebc;return _0x2c9022[_0x2ef343(0x1a2)](_0x5d995f,_0x5a81d3);},'slrmK':'string','GGZAU':_0x286ebc(0x17a),'duGzZ':'Profile\x20name','LnqFD':_0x2c9022[_0x286ebc(0x1d2)],'MMfYs':_0x2c9022[_0x286ebc(0x28e)],'YNuiB':_0x286ebc(0x1d0),'cIZsa':_0x286ebc(0x225),'UpzhC':_0x2c9022[_0x286ebc(0x261)],'Jdayd':_0x2c9022['PkxCg'],'MOEtQ':_0x2c9022[_0x286ebc(0x31f)],'JDnHQ':_0x2c9022['HBsEE'],'OttXY':_0x286ebc(0x247),'hHEDb':_0x2c9022[_0x286ebc(0x285)],'HlwtL':function(_0x2f95ef,_0xa04694,_0x36829b){return _0x2f95ef(_0xa04694,_0x36829b);},'dBsLX':function(_0x5a22dc,_0x42a717,_0x5c9403){return _0x5a22dc(_0x42a717,_0x5c9403);},'jlQKq':function(_0x4752b9,_0x14caf9,_0x48adb4){const _0x318e7c=_0x286ebc;return _0x2c9022[_0x318e7c(0x272)](_0x4752b9,_0x14caf9,_0x48adb4);},'vTXsZ':_0x2c9022['uJqff'],'IhtkQ':_0x286ebc(0x176),'PJfHw':'Get\x20a\x20config\x20value','AktEb':_0x286ebc(0x2f8),'hQtsx':_0x2c9022[_0x286ebc(0x1bb)],'uepgd':'reset\x20<profile>','tqUYn':_0x2c9022['cadfD']};return _0x58dbec[_0x286ebc(0x292)](PROFILE_HELP)['command'](_0x286ebc(0x1c5),_0x2c9022['uIKSO'],_0x4d182a=>{const _0x15e80f=_0x286ebc;return _0x4d182a['positional'](_0x15e80f(0x225),{'type':'string','description':_0x2c9022['icGxw'],'demandOption':!![]})['option']('ci',{'type':'boolean','description':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})[_0x15e80f(0x17b)](_0x2c9022['TeCmk'],{'type':'boolean','description':_0x2c9022[_0x15e80f(0x178)],'default':![]})[_0x15e80f(0x17b)]('url',{'type':_0x2c9022[_0x15e80f(0x1ee)],'description':_0x2c9022['hQfYx']})['option'](_0x15e80f(0x22f),{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x2c9022['tXHhL'],{'type':_0x2c9022[_0x15e80f(0x1ee)],'description':_0x2c9022['cgrZn']})[_0x15e80f(0x17b)](_0x15e80f(0x1db),{'type':_0x15e80f(0x1b7),'description':_0x2c9022['Fwmcv'],'default':![]})['option'](_0x2c9022['uKoFo'],{'type':_0x15e80f(0x1b7),'description':_0x2c9022[_0x15e80f(0x2a3)],'default':![]})['option']('setup-header',{'type':_0x2c9022['icuvX'],'array':!![],'description':_0x2c9022['VohNN']})['option'](_0x15e80f(0x27f),{'type':_0x2c9022['icuvX'],'choices':[_0x2c9022[_0x15e80f(0x2fb)],'project'],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})['option'](_0x2c9022['HBsEE'],{'type':_0x2c9022['PkxCg'],'alias':'y','description':_0x2c9022['ENCyH'],'default':![]});},async _0x56b3f6=>{const _0x4b0020=_0x286ebc;await withTelemetry(_0x1d7110['vWwsW'],_0x28873c=>addEnv(_0x56b3f6['profile-name'],{'ci':_0x56b3f6['ci'],'skipAuth':_0x56b3f6['skip-auth'],'url':_0x56b3f6['url'],'force':_0x56b3f6[_0x4b0020(0x22f)],'cdpEndpoint':_0x56b3f6[_0x4b0020(0x242)],'allowInsecureLocalhost':_0x56b3f6['allow-insecure-localhost'],'safeMode':_0x56b3f6[_0x4b0020(0x2e4)],'setupHeader':_0x56b3f6['setup-header'],'scope':_0x56b3f6[_0x4b0020(0x27f)],'yes':_0x56b3f6[_0x4b0020(0x1c1)]},_0x28873c),{'isElectron':_0x1d7110[_0x4b0020(0x289)](Boolean,_0x56b3f6['cdp-endpoint'])});})['command'](_0x286ebc(0x210),_0x2c9022['DfeOv'],_0x3a70e7=>{const _0x58e9ef=_0x286ebc;return _0x3a70e7[_0x58e9ef(0x2e1)]('profile-name',{'type':_0x1d7110['slrmK'],'description':'Name\x20of\x20the\x20profile','demandOption':!![]});},async _0x4a3ce8=>{const _0x2a2cd6=_0x286ebc;await withTelemetry(_0x1d7110[_0x2a2cd6(0x2a9)],()=>useEnv(_0x4a3ce8[_0x2a2cd6(0x225)]));})['command']('encrypt-auth\x20<profile>',_0x2c9022['jtPfy'],_0x1dffa8=>{const _0x234cd2=_0x286ebc;return _0x1dffa8['positional'](_0x234cd2(0x2e6),{'type':'string','description':_0x1d7110[_0x234cd2(0x30b)],'demandOption':!![]});},async _0x49e6e9=>{const _0x161002=_0x286ebc;await _0x2c9022['EYzzg'](withTelemetry,_0x2c9022['dNiAU'],()=>authEncrypt(_0x49e6e9[_0x161002(0x2e6)]));})[_0x286ebc(0x2d8)]('ls',_0x286ebc(0x188),()=>{},async()=>{const _0x5d40b5=_0x286ebc;await withTelemetry(_0x5d40b5(0x2c6),()=>envList());})['command'](_0x286ebc(0x23f),_0x2c9022['YbhFX'],_0x478f3e=>{const _0x11cb8b=_0x286ebc;return _0x478f3e[_0x11cb8b(0x2e1)](_0x11cb8b(0x225),{'type':'string','description':_0x2c9022['HdsHJ'],'demandOption':!![]})[_0x11cb8b(0x17b)](_0x2c9022['mszbu'],{'type':_0x11cb8b(0x1b7),'description':_0x2c9022[_0x11cb8b(0x238)]});},async _0x1b32bf=>{const _0x5c1d31=_0x286ebc;await _0x2c9022['ggWrB'](withTelemetry,_0x2c9022['SxYve'],_0xf456f8=>updateEnv(_0x1b32bf[_0x5c1d31(0x225)],_0xf456f8,{'allowInsecureLocalhost':_0x1b32bf['allow-insecure-localhost']}));})[_0x286ebc(0x2d8)](_0x286ebc(0x249),![],_0x1e45ed=>{const _0x1a6da0=_0x286ebc;return _0x1e45ed[_0x1a6da0(0x2e1)](_0x1d7110[_0x1a6da0(0x2d7)],{'type':_0x1d7110[_0x1a6da0(0x1ac)],'description':_0x1d7110['MMfYs'],'demandOption':!![]});},async _0x4ff52b=>{const _0x3ca557=_0x286ebc,_0x1194e8={'CtHdG':function(_0x5a7e12,_0x27a956){return _0x5a7e12||_0x27a956;},'ZitrW':function(_0x5e39ce,_0xa7282a,_0x3fa564){return _0x5e39ce(_0xa7282a,_0x3fa564);},'xReJt':function(_0x30c699,_0x525251){return _0x30c699===_0x525251;},'OXknN':_0x1d7110[_0x3ca557(0x236)]};await withTelemetry('profile\x20login',async()=>{const _0x59d52d=_0x3ca557,_0x5410da=process['env'][_0x59d52d(0x1f9)],_0x2f585b=process[_0x59d52d(0x276)]['RANGER_TEST_PASSWORD'];_0x1194e8['CtHdG'](!_0x5410da,!_0x2f585b)&&(console[_0x59d52d(0x319)](_0x59d52d(0x1b0)),process['exit'](0x1));const _0x3aebad=_0x4ff52b[_0x59d52d(0x298)],_0x403c25=await _0x1194e8['ZitrW'](serverSideLogin,_0x3aebad,{'force':!![]});_0x1194e8[_0x59d52d(0x2e0)](_0x403c25[_0x59d52d(0x2f9)],_0x59d52d(0x180))&&(console[_0x59d52d(0x319)]('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process['exit'](0x1)),_0x1194e8['xReJt'](_0x403c25[_0x59d52d(0x2f9)],_0x1194e8[_0x59d52d(0x228)])&&(console['error'](_0x59d52d(0x21c)+(_0x403c25['error']??_0x59d52d(0x281))),_0x403c25[_0x59d52d(0x2a2)]&&console['error'](_0x403c25['test_output']),process[_0x59d52d(0x1f6)](0x1)),console['log']('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x3aebad+_0x59d52d(0x314));});})[_0x286ebc(0x2d8)]('migrate\x20[profile-name]',_0x2c9022['GcCGq'],_0xa395f=>{const _0xdd5d06=_0x286ebc;return _0xa395f['positional'](_0x1d7110[_0xdd5d06(0x300)],{'type':_0x1d7110[_0xdd5d06(0x1ac)],'description':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.'})['option'](_0x1d7110['UpzhC'],{'type':_0x1d7110['Jdayd'],'description':_0x1d7110['MOEtQ'],'default':![]})[_0xdd5d06(0x17b)](_0xdd5d06(0x1be),{'type':'boolean','description':_0xdd5d06(0x1ce),'default':![]})[_0xdd5d06(0x17b)](_0x1d7110[_0xdd5d06(0x26e)],{'type':_0xdd5d06(0x1b7),'alias':'y','description':_0x1d7110['OttXY'],'default':![]})['option']('save-creds',{'type':'boolean','description':_0xdd5d06(0x2e7),'default':![]});},async _0x218b1e=>{const _0x256949=_0x286ebc;await withTelemetry(_0x2c9022['hyerQ'],_0x48fb41=>migrateProfile({'profileName':_0x218b1e['profile-name'],'all':_0x218b1e[_0x256949(0x27e)],'dryRun':_0x218b1e[_0x256949(0x1be)],'yes':_0x218b1e[_0x256949(0x1c1)],'saveCreds':_0x218b1e[_0x256949(0x25d)]},_0x48fb41));})[_0x286ebc(0x2d8)](_0x286ebc(0x1e5),'Manage\x20profile\x20configuration',_0xdd6515=>{const _0xda51a0=_0x286ebc,_0x335950={'bEtsS':'Profile\x20name','cWgun':'string','pDKfP':_0xda51a0(0x1d8),'NmpxH':'profile','dnpih':'key'};return _0xdd6515[_0xda51a0(0x292)](PROFILE_CONFIG_HELP)[_0xda51a0(0x2d8)]('set\x20<profile>\x20<key>\x20<value>',_0x1d7110[_0xda51a0(0x321)],_0x38f36f=>{const _0x5be5c9=_0xda51a0;return _0x38f36f['positional']('profile',{'type':'string','description':_0x335950['bEtsS'],'demandOption':!![]})['positional']('key',{'type':_0x335950['cWgun'],'description':_0x5be5c9(0x1d6),'demandOption':!![]})[_0x5be5c9(0x2e1)](_0x5be5c9(0x233),{'type':_0x335950[_0x5be5c9(0x2c9)],'description':_0x335950[_0x5be5c9(0x2be)],'demandOption':!![]});},async _0x4205c3=>{const _0x354250=_0xda51a0;await withTelemetry(_0x354250(0x2d6),()=>configSet(_0x4205c3[_0x354250(0x2e6)],_0x4205c3[_0x354250(0x191)],_0x4205c3[_0x354250(0x233)]));})['command'](_0xda51a0(0x2de),_0x1d7110['PJfHw'],_0x4104e6=>{const _0x22b5f7=_0xda51a0;return _0x4104e6['positional'](_0x1d7110[_0x22b5f7(0x183)],{'type':_0x1d7110['slrmK'],'description':_0x1d7110[_0x22b5f7(0x30b)],'demandOption':!![]})[_0x22b5f7(0x2e1)](_0x22b5f7(0x191),{'type':_0x1d7110['slrmK'],'description':_0x22b5f7(0x220),'demandOption':!![]});},async _0x3acdf5=>{const _0x44f9fa=_0xda51a0;await _0x1d7110[_0x44f9fa(0x30f)](withTelemetry,'profile\x20config\x20get',()=>configGet(_0x3acdf5[_0x44f9fa(0x2e6)],_0x3acdf5['key']));})['command'](_0x1d7110[_0xda51a0(0x195)],_0xda51a0(0x1ba),_0x598201=>{const _0x13a4ea=_0xda51a0;return _0x598201['positional']('profile',{'type':_0x335950[_0x13a4ea(0x2c9)],'description':_0x335950['bEtsS'],'demandOption':!![]});},async _0xded1f4=>{const _0x1951d0=_0xda51a0;await _0x1d7110[_0x1951d0(0x202)](withTelemetry,_0x1951d0(0x207),()=>configList(_0xded1f4['profile']));})['command'](_0xda51a0(0x2cc),_0x1d7110['hQtsx'],_0x4ea297=>{const _0xd50b44=_0xda51a0;return _0x4ea297[_0xd50b44(0x2e1)](_0x335950['NmpxH'],{'type':_0xd50b44(0x24b),'description':'Profile\x20name','demandOption':!![]})['positional'](_0x335950['dnpih'],{'type':_0x335950[_0xd50b44(0x2c9)],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x2c72a4=>{await withTelemetry('profile\x20config\x20unset',()=>configUnset(_0x2c72a4['profile'],_0x2c72a4['key']));})[_0xda51a0(0x2d8)](_0x1d7110['uepgd'],_0x1d7110[_0xda51a0(0x2dd)],_0x367546=>{const _0x44cd92=_0xda51a0;return _0x367546[_0x44cd92(0x2e1)](_0x1d7110['hHEDb'],{'type':'string','description':_0x44cd92(0x2ce),'demandOption':!![]});},async _0x5b6da4=>{await _0x1d7110['jlQKq'](withTelemetry,_0x1d7110['vTXsZ'],()=>configReset(_0x5b6da4['profile']));})['demandCommand'](0x1,_0xda51a0(0x327));})[_0x286ebc(0x24a)](0x1,_0x2c9022['WrhNt']);})['command'](_0x4a0a35(0x2f9),_0x2c9022[_0x4a0a35(0x20e)],()=>{},async()=>{const _0xd8436=_0x4a0a35;await withTelemetry(_0x2c9022[_0xd8436(0x187)],()=>status());})['command'](_0x2c9022[_0x4a0a35(0x179)],_0x4a0a35(0x1a7),()=>{},async()=>{const _0x2173b3=_0x4a0a35;await withTelemetry(_0x2173b3(0x21e),()=>update());})['command'](_0x2c9022['hDNma'],_0x4a0a35(0x1e9),()=>{},async()=>{const _0x5b7a4b=_0x4a0a35;await _0x2c9022['zmMIw'](withTelemetry,_0x5b7a4b(0x1f2),async()=>{const _0x519463=_0x5b7a4b,_0x2891ed=await _0x2c9022['XFqSb'](getToken);if(!_0x2891ed)throw new Error(_0x2c9022[_0x519463(0x2b1)]);console[_0x519463(0x1c2)](_0x2891ed);});})['command']('go',_0x4a0a35(0x1f7),_0x13c0da=>{const _0x1b4f56=_0x4a0a35;return _0x13c0da['option'](_0x1b4f56(0x22d),{'type':'string','description':_0x1b4f56(0x297)})['option'](_0x2c9022[_0x1b4f56(0x285)],{'type':_0x2c9022['icuvX'],'description':_0x1b4f56(0x325)})[_0x1b4f56(0x17b)](_0x2c9022['kgpye'],{'type':_0x2c9022['icuvX'],'description':_0x2c9022[_0x1b4f56(0x24d)]})['option'](_0x2c9022['zSUIv'],{'type':'number','description':'Scenario\x20index\x20(1-based)'})['option'](_0x2c9022['qJFpy'],{'type':_0x1b4f56(0x24b),'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})[_0x1b4f56(0x17b)](_0x1b4f56(0x1a3),{'type':'string','description':_0x2c9022['cVRFu']})['option'](_0x1b4f56(0x2a5),{'type':_0x2c9022['icuvX'],'description':_0x2c9022['RgfLF']})[_0x1b4f56(0x17b)](_0x2c9022[_0x1b4f56(0x313)],{'type':'boolean','description':_0x2c9022[_0x1b4f56(0x2ff)],'default':![]})[_0x1b4f56(0x17b)](_0x2c9022[_0x1b4f56(0x29a)],{'type':_0x2c9022['icuvX'],'hidden':!![],'choices':[_0x1b4f56(0x2ae),'partial',_0x2c9022['yohUE'],'failed',_0x1b4f56(0x1df)]})[_0x1b4f56(0x17b)]('debug-address-comments',{'type':'boolean','hidden':!![]})['option'](_0x2c9022['fZzmf'],{'type':_0x2c9022['icuvX'],'hidden':!![]})['option'](_0x2c9022['oWoqj'],{'type':'string','hidden':!![]})['option'](_0x2c9022['aBLYH'],{'type':_0x2c9022['ShmET'],'hidden':!![]});},async _0x53333c=>{const _0x5c3454=_0x4a0a35;await _0x2c9022[_0x5c3454(0x2c2)](runGoCommand,_0x53333c);})['command'](_0x2c9022[_0x4a0a35(0x216)],![],_0x11131b=>{const _0xb46d69=_0x4a0a35,_0x36f9e6={'lWhuE':_0x2c9022[_0xb46d69(0x1ee)],'lPCSp':function(_0x25d2be,_0x2a147e,_0x3f40ef){return _0x25d2be(_0x2a147e,_0x3f40ef);},'ngMDJ':_0x2c9022['qvvpq'],'KVlex':function(_0x4a20b9,_0x136298){return _0x2c9022['GaEVO'](_0x4a20b9,_0x136298);}};return _0x11131b['command'](_0x2c9022[_0xb46d69(0x2a6)],![],_0x1e8114=>{const _0xdccf4=_0xb46d69;return _0x1e8114[_0xdccf4(0x2e1)](_0xdccf4(0x2e6),{'type':_0x36f9e6['lWhuE'],'description':_0xdccf4(0x2ce),'demandOption':!![]});},async _0x3962e8=>{const _0x48c865=_0xb46d69;_0x36f9e6['lPCSp'](warnRenamed,_0x36f9e6[_0x48c865(0x243)],'ranger\x20profile\x20encrypt-auth'),await _0x36f9e6['KVlex'](authEncrypt,_0x3962e8[_0x48c865(0x2e6)]);})[_0xb46d69(0x24a)](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command'](_0x2c9022[_0x4a0a35(0x1f4)],![],_0x517139=>{const _0x3b8c8=_0x4a0a35;return _0x517139['positional'](_0x3b8c8(0x30e),{'type':_0x2c9022['icuvX'],'description':_0x2c9022['sEWQl']})[_0x3b8c8(0x17b)](_0x2c9022['BavvW'],{'type':_0x2c9022['PkxCg'],'description':_0x2c9022[_0x3b8c8(0x322)],'default':![]})[_0x3b8c8(0x17b)](_0x2c9022[_0x3b8c8(0x263)],{'type':_0x2c9022['icuvX'],'choices':['user'],'hidden':!![],'description':_0x2c9022['XJaPr']})['option'](_0x3b8c8(0x2d4),{'type':'string','description':_0x2c9022[_0x3b8c8(0x19e)]})['option'](_0x2c9022[_0x3b8c8(0x24f)],{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x3b8c8(0x17b)]('skip-auth',{'type':_0x2c9022[_0x3b8c8(0x329)],'description':_0x2c9022[_0x3b8c8(0x2b9)],'default':![]})['option'](_0x2c9022['DcxwU'],{'type':'boolean','description':_0x2c9022[_0x3b8c8(0x1dd)],'default':![]});},async _0x1959be=>{const _0xa4a552=_0x4a0a35;_0x2c9022['SAYYN'](warnRenamed,_0x2c9022[_0xa4a552(0x1ec)],_0x2c9022['QvKIx']),await _0x2c9022['RZczu'](withTelemetry,_0x2c9022['wIuKQ'],_0x23554c=>start(_0x1959be['token'],{'skipChromium':_0x1959be['skip-chromium'],'skipAuth':_0x1959be[_0xa4a552(0x324)],'withDeps':_0x1959be['with-deps'],'scope':_0x1959be[_0xa4a552(0x27f)],'url':_0x1959be['url'],'force':_0x1959be[_0xa4a552(0x22f)]},_0x23554c));})[_0x4a0a35(0x2d8)](_0x2c9022[_0x4a0a35(0x1f8)],![],_0x4710af=>{const _0x32b375=_0x4a0a35;return _0x4710af['option'](_0x32b375(0x276),{'type':_0x2c9022['icuvX'],'description':_0x2c9022[_0x32b375(0x27a)]})[_0x32b375(0x17b)](_0x2c9022['oWoqj'],{'type':_0x2c9022[_0x32b375(0x1ee)],'description':_0x2c9022[_0x32b375(0x2f3)]})['option']('item',{'type':_0x2c9022['ShmET'],'description':_0x2c9022[_0x32b375(0x293)]})[_0x32b375(0x17b)](_0x2c9022['LeuuT'],{'type':_0x2c9022['icuvX'],'hidden':!![]})[_0x32b375(0x17b)]('notes',{'type':_0x2c9022[_0x32b375(0x1ee)],'hidden':!![]})[_0x32b375(0x17b)]('scenario',{'type':_0x2c9022['ShmET'],'hidden':!![]})['option'](_0x2c9022[_0x32b375(0x254)],{'type':_0x2c9022['icuvX'],'description':_0x32b375(0x1a1)})['option']('base-url',{'type':_0x2c9022[_0x32b375(0x1ee)],'description':_0x2c9022[_0x32b375(0x25b)]})[_0x32b375(0x17b)](_0x2c9022['Wzczg'],{'type':_0x32b375(0x24b),'hidden':!![]})[_0x32b375(0x17b)](_0x2c9022['qVnxG'],{'type':'boolean','hidden':!![],'default':![]})['option'](_0x32b375(0x2fc),{'type':'string','hidden':!![],'choices':[_0x2c9022[_0x32b375(0x2b3)],_0x32b375(0x205),_0x2c9022[_0x32b375(0x240)],_0x2c9022[_0x32b375(0x2e5)],_0x2c9022[_0x32b375(0x1a4)]]});},async _0x4f7042=>{await _0x2c9022['SAYYN'](runGoCommand,_0x4f7042,!![]);})['command'](_0x4a0a35(0x29f),![],_0x11d3ca=>{const _0xe4013=_0x4a0a35;return _0x11d3ca['positional'](_0x2c9022['wVHcQ'],{'type':_0xe4013(0x24b),'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0xe4013(0x17b)]('ci',{'type':_0x2c9022['PkxCg'],'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x2c9022['TeCmk'],{'type':_0x2c9022['PkxCg'],'description':_0x2c9022['Ftxzb'],'default':![]});},async _0x239362=>{const _0x1dda57=_0x4a0a35;_0x2c9022['SAYYN'](warnRenamed,_0x2c9022['JpqLy'],_0x1dda57(0x2bb)),await _0x2c9022[_0x1dda57(0x1b6)](withTelemetry,'add\x20env',_0x4e6f82=>addEnv(_0x239362[_0x1dda57(0x2bd)],{'ci':_0x239362['ci'],'skipAuth':_0x239362['skip-auth']},_0x4e6f82));})[_0x4a0a35(0x2d8)]('use\x20<env-name>',![],_0x20b8ef=>{const _0x98e46e=_0x4a0a35;return _0x20b8ef[_0x98e46e(0x2e1)]('env-name',{'type':_0x2c9022['icuvX'],'description':_0x2c9022[_0x98e46e(0x2ea)],'demandOption':!![]});},async _0xea72b4=>{const _0x514119=_0x4a0a35;warnRenamed(_0x514119(0x182),_0x2c9022['CvSXW']),await withTelemetry(_0x2c9022['bbrNQ'],()=>useEnv(_0xea72b4['env-name']));})[_0x4a0a35(0x2d8)](_0x4a0a35(0x1e5),![],_0x31e7d4=>{const _0x14bb58=_0x4a0a35,_0x523776={'Odxmd':_0x14bb58(0x191),'tqvPW':'value','eZaXu':_0x2c9022['icuvX'],'FNSkN':function(_0x3241b2,_0x4ee4e8,_0x1b2980){return _0x2c9022['EYzzg'](_0x3241b2,_0x4ee4e8,_0x1b2980);},'VEUuY':_0x14bb58(0x1c7),'xMGMP':_0x14bb58(0x19c),'XaAYI':'config\x20get'};return _0x31e7d4[_0x14bb58(0x2d8)](_0x14bb58(0x286),![],_0x513bc8=>{const _0xe2893e=_0x14bb58;return _0x513bc8['positional'](_0xe2893e(0x276),{'type':_0xe2893e(0x24b),'description':'Environment\x20name','demandOption':!![]})[_0xe2893e(0x2e1)](_0x523776['Odxmd'],{'type':'string','description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})[_0xe2893e(0x2e1)](_0x523776['tqvPW'],{'type':_0x523776[_0xe2893e(0x2b7)],'description':_0xe2893e(0x1d8),'demandOption':!![]});},async _0x220133=>{const _0x24a5d2=_0x14bb58;warnRenamed(_0x24a5d2(0x206),_0x24a5d2(0x31c)),await withTelemetry('config\x20set',()=>configSet(_0x220133[_0x24a5d2(0x276)],_0x220133['key'],_0x220133['value']));})[_0x14bb58(0x2d8)](_0x14bb58(0x29d),![],_0x610a61=>{const _0x332ef5=_0x14bb58;return _0x610a61['positional'](_0x332ef5(0x276),{'type':_0x332ef5(0x24b),'description':'Environment\x20name','demandOption':!![]})[_0x332ef5(0x2e1)]('key',{'type':_0x332ef5(0x24b),'description':_0x332ef5(0x220),'demandOption':!![]});},async _0x51a9cd=>{const _0x25096c=_0x14bb58;_0x523776[_0x25096c(0x1fb)](warnRenamed,_0x523776['VEUuY'],_0x523776['xMGMP']),await _0x523776[_0x25096c(0x1fb)](withTelemetry,_0x523776['XaAYI'],()=>configGet(_0x51a9cd[_0x25096c(0x276)],_0x51a9cd[_0x25096c(0x191)]));})[_0x14bb58(0x2d8)](_0x2c9022[_0x14bb58(0x1b9)],![],_0x2614ec=>{const _0x4fc92f=_0x14bb58;return _0x2614ec[_0x4fc92f(0x2e1)]('env',{'type':_0x2c9022['icuvX'],'description':'Environment\x20name','demandOption':!![]});},async _0x346d01=>{const _0x5b1cf6=_0x14bb58;warnRenamed(_0x2c9022['xUkgL'],_0x2c9022['ZEARg']),await withTelemetry(_0x5b1cf6(0x1eb),()=>configList(_0x346d01[_0x5b1cf6(0x276)]));})[_0x14bb58(0x2d8)](_0x2c9022['sDCUE'],![],_0x202154=>{const _0x4a636d=_0x14bb58;return _0x202154[_0x4a636d(0x2e1)]('env',{'type':_0x523776[_0x4a636d(0x2b7)],'description':_0x4a636d(0x257),'demandOption':!![]})[_0x4a636d(0x2e1)](_0x4a636d(0x191),{'type':'string','description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x455d6d=>{const _0x576dca=_0x14bb58;warnRenamed(_0x2c9022['HsBaf'],'ranger\x20profile\x20config\x20unset'),await _0x2c9022['ggWrB'](withTelemetry,_0x2c9022[_0x576dca(0x244)],()=>configUnset(_0x455d6d['env'],_0x455d6d['key']));})[_0x14bb58(0x24a)](0x1,'You\x20must\x20specify\x20a\x20config\x20subcommand');})[_0x4a0a35(0x2d8)]('env',![],_0x47e884=>{const _0x542cd4=_0x4a0a35,_0x15b58b={'nDTPL':'env-name','wBFdI':'Name\x20of\x20the\x20environment\x20to\x20update'};return _0x47e884['command']('ls',![],()=>{},async()=>{const _0x3dbfe9=_0x558a;_0x2c9022[_0x3dbfe9(0x30a)](warnRenamed,_0x2c9022[_0x3dbfe9(0x248)],_0x3dbfe9(0x2a0)),await _0x2c9022[_0x3dbfe9(0x270)](withTelemetry,_0x2c9022[_0x3dbfe9(0x28f)],()=>envList());})['command'](_0x542cd4(0x175),![],_0x16c74c=>{const _0x49e569=_0x542cd4;return _0x16c74c[_0x49e569(0x2e1)](_0x15b58b[_0x49e569(0x218)],{'type':_0x49e569(0x24b),'description':_0x15b58b['wBFdI'],'demandOption':!![]});},async _0x77e6a2=>{const _0x58f2e4=_0x542cd4;_0x2c9022['CCMvs'](warnRenamed,_0x58f2e4(0x215),_0x2c9022['QBJZf']),await withTelemetry(_0x2c9022['AijgS'],_0x393d44=>updateEnv(_0x77e6a2[_0x58f2e4(0x2bd)],_0x393d44));})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20env\x20subcommand');})['command']('feature',![],_0x1c15ea=>{const _0x5eea1d=_0x4a0a35,_0x5459c8={'DjsNo':_0x2c9022['lBVRe'],'AsIRQ':_0x5eea1d(0x24b),'aVbWe':'Feature\x20review\x20description','WGXKu':_0x5eea1d(0x1ad),'iLvpu':'scenario','hwsxU':_0x5eea1d(0x275),'rFGbj':function(_0x49160f,_0x58536b,_0x5de06a){return _0x49160f(_0x58536b,_0x5de06a);},'celsN':_0x2c9022[_0x5eea1d(0x214)],'NqegW':_0x5eea1d(0x23c),'Lagtl':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','kwdjZ':_0x5eea1d(0x253),'kXXNr':_0x2c9022[_0x5eea1d(0x246)],'zdpxu':_0x5eea1d(0x1cf),'HKCSn':_0x5eea1d(0x196),'KWLVw':_0x2c9022[_0x5eea1d(0x255)],'aUeYx':_0x2c9022['quAQv'],'PqdHI':function(_0x4baca0,_0x5edbe0,_0x7a82a8){const _0x518764=_0x5eea1d;return _0x2c9022[_0x518764(0x272)](_0x4baca0,_0x5edbe0,_0x7a82a8);},'RVDHA':_0x2c9022[_0x5eea1d(0x262)],'JkJBC':function(_0x1e6a62,_0x572e51,_0x4c372e){return _0x1e6a62(_0x572e51,_0x4c372e);},'jZhRE':function(_0x2a2154,_0x1fffb9,_0x1f166c){return _0x2a2154(_0x1fffb9,_0x1f166c);},'ffqwZ':_0x2c9022[_0x5eea1d(0x1fe)],'FkNCY':function(_0x4f12d5,_0x3e0465,_0x2e437d){return _0x4f12d5(_0x3e0465,_0x2e437d);},'seFyA':_0x2c9022[_0x5eea1d(0x26c)],'aKKlo':'feature\x20add-checklist-item','cvKlM':function(_0x2f7f1b,_0x4779e9,_0x2c8c20){return _0x2c9022['EYzzg'](_0x2f7f1b,_0x4779e9,_0x2c8c20);},'cnodg':'ranger\x20delete','JFlJO':_0x2c9022['PmSDX'],'OAbmj':'Feature\x20review\x20ID\x20to\x20restore','IxPYr':_0x2c9022['wDkpz'],'PBASI':_0x2c9022[_0x5eea1d(0x290)],'BqqvW':function(_0x197118,_0x1e1147,_0x504345){return _0x197118(_0x1e1147,_0x504345);}};return _0x1c15ea[_0x5eea1d(0x2d8)](_0x2c9022['qdopF'],![],_0x1160cb=>{const _0x2661ea=_0x5eea1d;return _0x1160cb[_0x2661ea(0x2e1)](_0x5459c8['DjsNo'],{'type':_0x5459c8[_0x2661ea(0x304)],'description':_0x2661ea(0x174),'demandOption':!![]})['option']('description',{'type':'string','alias':'d','description':_0x5459c8['aVbWe']})['option'](_0x5459c8[_0x2661ea(0x31d)],{'type':'array','alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option'](_0x5459c8['iLvpu'],{'type':_0x5459c8[_0x2661ea(0x2d2)],'hidden':!![]});},async _0xdc873e=>{const _0x52fe07=_0x5eea1d;_0x5459c8['rFGbj'](warnRenamed,_0x5459c8[_0x52fe07(0x28d)],'ranger\x20create'),warnFlagRenamed(_0x52fe07(0x20a),'--checklist',_0x52fe07(0x2cf));const _0x3885cf=_0xdc873e[_0x52fe07(0x25f)]||_0xdc873e['checklist'];await _0x5459c8['rFGbj'](withTelemetry,_0x5459c8[_0x52fe07(0x1ef)],()=>featureCreate(_0xdc873e['name'],{'description':_0xdc873e['description'],'scenarios':_0x3885cf}));})[_0x5eea1d(0x2d8)](_0x2c9022['ryNYO'],![],_0x4f827a=>{const _0x6d123a=_0x5eea1d;return _0x4f827a['option']('current-branch',{'type':_0x6d123a(0x1b7),'description':_0x5459c8['Lagtl']})['option'](_0x5459c8['kwdjZ'],{'type':'number','alias':'l','description':_0x6d123a(0x1da),'default':0xa})[_0x6d123a(0x17b)](_0x5459c8[_0x6d123a(0x2ef)],{'type':_0x5459c8['zdpxu'],'alias':'o','description':_0x5459c8['HKCSn'],'default':0x0})[_0x6d123a(0x17b)](_0x5459c8[_0x6d123a(0x1c3)],{'type':_0x6d123a(0x1b7),'alias':'d','description':_0x6d123a(0x24c),'default':![]});},async _0x3fdf79=>{const _0x5ca3c7=_0x5eea1d;_0x5459c8[_0x5ca3c7(0x1e0)](warnRenamed,_0x5ca3c7(0x259),'ranger\x20list'),await withTelemetry('feature\x20list',()=>featureList({'currentBranch':_0x3fdf79[_0x5ca3c7(0x192)],'limit':_0x3fdf79[_0x5ca3c7(0x253)],'offset':_0x3fdf79['offset'],'includeDeleted':_0x3fdf79[_0x5ca3c7(0x1c4)]}));})[_0x5eea1d(0x2d8)]('show\x20[id]',![],_0x2fc235=>{const _0x56a27c=_0x5eea1d;return _0x2fc235['positional']('id',{'type':'string','description':_0x2c9022[_0x56a27c(0x277)]});},async _0x4cb54f=>{const _0xb0431f=_0x5eea1d;warnRenamed(_0x5459c8['aUeYx'],_0xb0431f(0x212)),await _0x5459c8['PqdHI'](withTelemetry,_0x5459c8[_0xb0431f(0x20b)],()=>featureShow(_0x4cb54f['id']));})[_0x5eea1d(0x2d8)](_0x2c9022[_0x5eea1d(0x301)],![],_0x37eef4=>{return _0x37eef4['positional']('id',{'type':_0x2c9022['icuvX'],'description':_0x2c9022['jhRVm']});},async _0x36041b=>{const _0x3f2076=_0x5eea1d;_0x5459c8['JkJBC'](warnRenamed,_0x3f2076(0x1ca),'ranger\x20resume'),await _0x5459c8[_0x3f2076(0x2ac)](withTelemetry,_0x5459c8[_0x3f2076(0x2d0)],()=>featureResume(_0x36041b['id']));})[_0x5eea1d(0x2d8)](_0x2c9022['WihzJ'],![],_0x10add1=>{const _0x414120=_0x5eea1d;return _0x10add1['positional']('description',{'type':_0x414120(0x24b),'description':_0x414120(0x2b2),'demandOption':!![]})[_0x414120(0x17b)]('id',{'type':'string','description':_0x414120(0x17c)});},async _0x54021c=>{const _0x77bace=_0x5eea1d;_0x5459c8['FkNCY'](warnRenamed,'ranger\x20feature\x20add-checklist-item',_0x5459c8['seFyA']),await withTelemetry(_0x5459c8[_0x77bace(0x1bc)],()=>featureAddScenario(_0x54021c['description'],_0x54021c['id']));})[_0x5eea1d(0x2d8)]('get-feedback\x20[id]',![],_0x380955=>{const _0x3d73e=_0x5eea1d;return _0x380955['positional']('id',{'type':_0x2c9022[_0x3d73e(0x1ee)],'description':_0x2c9022[_0x3d73e(0x287)]});},async _0x2663d6=>{const _0x48f0c0=_0x5eea1d;_0x5459c8[_0x48f0c0(0x22b)](warnRenamed,_0x48f0c0(0x2d1),_0x48f0c0(0x209)),await withTelemetry('feature\x20get-feedback',()=>featureGetReview(_0x2663d6['id']));})['command'](_0x5eea1d(0x227),![],_0x5364fa=>{const _0x465fa8=_0x5eea1d;return _0x5364fa['positional']('id',{'type':_0x5459c8[_0x465fa8(0x304)],'description':'Feature\x20review\x20ID'});},async _0x4cb1e6=>{const _0x29f94c=_0x5eea1d;_0x5459c8['cvKlM'](warnRenamed,_0x29f94c(0x201),_0x5459c8['cnodg']),await withTelemetry(_0x5459c8[_0x29f94c(0x311)],()=>featureDelete(_0x4cb1e6['id']));})['command'](_0x2c9022['TjeKH'],![],_0x34901f=>{const _0x491dda=_0x5eea1d;return _0x34901f[_0x491dda(0x2e1)]('id',{'type':_0x5459c8['AsIRQ'],'description':_0x5459c8[_0x491dda(0x22c)],'demandOption':!![]});},async _0x1f1298=>{const _0x29a197=_0x5eea1d;_0x5459c8['JkJBC'](warnRenamed,_0x5459c8[_0x29a197(0x189)],_0x5459c8[_0x29a197(0x1fa)]),await _0x5459c8[_0x29a197(0x1a0)](withTelemetry,_0x29a197(0x21f),()=>featureRestore(_0x1f1298['id']));})[_0x5eea1d(0x24a)](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})[_0x4a0a35(0x2d8)](_0x2c9022['BYkxd'],![],_0x2e3902=>{const _0x526f7d=_0x4a0a35;return _0x2e3902['command'](_0x2c9022['zofKy'],_0x526f7d(0x284),_0x5b564d=>{const _0x36adf0=_0x526f7d;return _0x5b564d[_0x36adf0(0x17b)](_0x36adf0(0x229),{'type':_0x36adf0(0x24b),'description':_0x36adf0(0x27d)});},async _0x5ab72c=>{const _0x425640=_0x526f7d;await withTelemetry(_0x2c9022['EdlLg'],()=>hook('enable',_0x5ab72c[_0x425640(0x229)]));})[_0x526f7d(0x2d8)](_0x526f7d(0x211),_0x2c9022['IQuSW'],_0x3e3afd=>{const _0x1dd70f=_0x526f7d;return _0x3e3afd['option']('session-id',{'type':'string','description':_0x1dd70f(0x27d)});},async _0xb8f903=>{const _0x1ece98=_0x526f7d;await _0x2c9022[_0x1ece98(0x2cd)](withTelemetry,_0x2c9022[_0x1ece98(0x20f)],()=>hook('disable',_0xb8f903['session-id']));})['option'](_0x2c9022['lBVRe'],{'type':_0x2c9022['icuvX'],'description':_0x526f7d(0x283)})['option'](_0x2c9022[_0x526f7d(0x1ea)],{'type':_0x2c9022['icuvX'],'description':_0x2c9022['ueMDb']});},async _0x302289=>{const _0x35b858=_0x4a0a35;_0x302289['name']&&await _0x2c9022['yGQin'](hook,_0x302289[_0x35b858(0x298)],_0x302289[_0x35b858(0x229)]);})['demandCommand'](0x1,_0x4a0a35(0x2c5))['strictCommands']()[_0x4a0a35(0x1ab)](async(_0x2cfd56,_0x374a4a,_0x301fba)=>{const _0x16789e=_0x4a0a35,_0x3fd678=sanitizeArgs(process[_0x16789e(0x222)]['slice'](0x2)),_0xdac9c9=_0x2c9022['ETXGj'](getErrorType,_0x2cfd56,_0x374a4a);if(_0x2cfd56&&_0x2cfd56['includes'](_0x16789e(0x25e))){const _0x2731d6=process[_0x16789e(0x222)][0x2];console['error'](_0x16789e(0x303)+_0x2731d6),console[_0x16789e(0x319)](_0x2c9022['gViGk']);}else{if(_0x2cfd56)console['error']('\x0a'+_0x2cfd56+'\x0a');else _0x374a4a&&console[_0x16789e(0x319)]('\x0aError:\x20'+_0x374a4a['message']+'\x0a');}await logDesirePath({'rawCommand':_0x3fd678,'errorMessage':_0x2cfd56||_0x374a4a?.[_0x16789e(0x1a8)],'errorType':_0xdac9c9});const _0x255596=_0x2c9022[_0x16789e(0x232)](getCurrentCollector);_0x255596&&await _0x255596['trackCommandError'](_0x374a4a||new Error(_0x2c9022[_0x16789e(0x2c1)](_0x2cfd56,_0x2c9022[_0x16789e(0x296)]))),process[_0x16789e(0x1f6)](0x1);})[_0x4a0a35(0x30d)](_0x2c9022['AfHPN']('Documentation:\x0a',_0x4a0a35(0x1ed))+_0x4a0a35(0x312))['help']()[_0x4a0a35(0x1e4)](_0x2c9022[_0x4a0a35(0x26f)],'h');}process['env']['NODE_ENV']!==_0x5da667(0x17f)&&(shouldShowLegacyWarning(process[_0x5da667(0x222)])&&showLegacyDeprecationWarning(),buildParser()['parse']());
|
|
2
|
+
const _0x243442=_0x4614;(function(_0x19b37b,_0x3cf02f){const _0x544947=_0x4614,_0x1e5672=_0x19b37b();while(!![]){try{const _0xc36089=-parseInt(_0x544947(0x16b))/0x1+-parseInt(_0x544947(0x1c2))/0x2+-parseInt(_0x544947(0x16e))/0x3*(-parseInt(_0x544947(0xd1))/0x4)+parseInt(_0x544947(0x25d))/0x5+-parseInt(_0x544947(0x166))/0x6+-parseInt(_0x544947(0x18f))/0x7+parseInt(_0x544947(0xbf))/0x8*(parseInt(_0x544947(0x1d3))/0x9);if(_0xc36089===_0x3cf02f)break;else _0x1e5672['push'](_0x1e5672['shift']());}catch(_0x2c45b3){_0x1e5672['push'](_0x1e5672['shift']());}}}(_0x5459,0x65da2));import _0x3e7aea from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x3c50a3=_0x4614,_0x546cca={'PpELk':function(_0x121081,_0x552f96){return _0x121081(_0x552f96);},'rPwmu':function(_0x1a4771,_0x3837f6,_0x58e10e){return _0x1a4771(_0x3837f6,_0x58e10e);},'BAwyv':'.env','KiAoz':function(_0x401802,_0x1dc61d){return _0x401802(_0x1dc61d);}};let _0x4543c4=process['cwd']();const _0x13c260=_0x546cca[_0x3c50a3(0x22e)](parse,_0x4543c4)['root'];while(_0x4543c4!==_0x13c260){if(existsSync(_0x546cca[_0x3c50a3(0x201)](join,_0x4543c4,_0x3c50a3(0x1f0)))||existsSync(join(_0x4543c4,_0x546cca['BAwyv'])))return _0x4543c4;_0x4543c4=_0x546cca['KiAoz'](dirname,_0x4543c4);}return process['cwd']();}function _0x5459(){const _0x4943c8=['config\x20set','profile\x20config\x20get','profile\x20update','iVnyr','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','ScoPX','IUNEA','nTsGa','CLxlf','Feature\x20review\x20ID','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','KHCvL','profile\x20config\x20reset','vHibO','ranger\x20get-review','lSFyC','KHSnB','uRWVu','bdrJZ','Profile\x20name','login','HJDGv','mymRc','log','repeat','.ranger','setup:login','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','use','profile\x20ls','ranger\x20profile\x20config\x20unset','\x20is\x20no\x20longer\x20supported.\x20','skip-auth','argv','debug-outcome','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','hook:disable','WqXeE','FgWUz','Install\x20scope\x20for\x20skills','headed','VdVFp','rPwmu','FGqFC','uBuqE','ranger\x20start','unset\x20<env>\x20<key>','Inlke','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','naXNS','save-creds','gMTZo','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','feature','all','config','zqQeW','json','config\x20list','Install\x20Chromium\x20browser\x20binary','yUvFN','XliMI','opencode','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','EdIKA','UgYvg','ToXtG','vhYqq','IjOoK','cdp-endpoint','NODE_ENV','profile\x20migrate','current-branch','Set\x20up\x20a\x20local\x20browser\x20profile','New\x20scenario\x20description','setup:skills','JMYmy','KGEki','Base\x20URL\x20of\x20the\x20running\x20app','--checklist','ranger\x20delete','xsnjj','tQgEQ','offset','Ranger\x20API\x20token','feature\x20restore','TOdIu','PpELk','set\x20<profile>\x20<key>\x20<value>','aOUcB','ranger\x20profile\x20config\x20get','ranger\x20feature\x20resume','YUWup','BlhNO','yItkt','LXcDj','AWZaB','aRZcP','KEIzB','Install\x20OS-level\x20dependencies\x20for\x20Chromium','JPXwz','session-id','\x20FAILED','ranger\x20feature\x20delete','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','limit','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','CkjUe','unhandledRejection','feature\x20get-feedback','wMtCk','iysBo','Cloud\x20profile\x20name','mJvdY','ranger\x20feature\x20get-feedback','Number\x20of\x20feature\x20reviews\x20to\x20skip','value','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','hiULm','oNzyw','Subcommand\x20or\x20API\x20token\x20(rngr_...)','CtNNA','ffZPz','gCCwe','HIxrQ','verified','tokenOrSubcommand','lnaQg','ranger\x20profile\x20ls','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','profile\x20config\x20unset','NKAMt','incomplete','CMOgy','447375NYOHUb','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.','uTDlI','mWypw','profile\x20config\x20set','Name\x20of\x20the\x20profile\x20to\x20update','evaluation','List\x20all\x20profiles','boolean','rRJlB','ZVybZ','KXDzt','aNyia','1304HOkfSk','.\x20[','sTLya','evjwH','status','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','partial','ranger\x20setup','geBnu','FGIpl','mcp-bootstrap','epilogue','edit-scenario\x20<description>','--profile','fITma','lFwfY','Switch\x20to\x20using\x20a\x20specific\x20profile','ranger\x20show','834832tyssky','phxPR','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','Environment\x20name','with-deps','Xpjwn','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','Install\x20scope\x20for\x20plugin\x20and\x20skills','resume','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','DUQTn','add\x20env\x20<env-name>','fiEKZ','allow-insecure-localhost','YLDfD','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','Documentation:\x0a','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','Set\x20a\x20config\x20value','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','VVYGq','add\x20<profile-name>','ranger\x20config\x20set','setup:all','encrypt-auth\x20<profile>','ranger\x20go','ztymK','ddbKK','DNCaD','nJOxa','--notes','includes','ranger\x20profile\x20config\x20list','usage','dry-run','failed','brgas','CIaeJ','LVbhE','jGRgE','blocked','kCqEO','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','WZMDx','--task','Initialize\x20Ranger\x20in\x20your\x20project','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','durmL','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','list\x20<profile>','NwLck','get-review','yhHca','✓\x20Authenticated\x20to\x20','ExHAT','ranger\x20resume','vUmsY','ranger\x20profile\x20config\x20set','profile-name','aEEAD','use\x20<profile-name>','eUeJL','slice','Skip\x20the\x20deletion\x20confirmation\x20prompt.','MYHjK','uEaeX','HRHST','dmSha','delete\x20<profile-name>','restore\x20<id>','aagwM','augIG','skills','lGXYq','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','CtBCX','feature\x20delete','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','API\x20token','migrate\x20[profile-name]','IVTNV','BaWJN','edit-scenario','not_configured','--scenario','aMfLm','ranger','Utlig','Optional\x20feature\x20ID','Config\x20key','DsMXw','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','CnHYX','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','organizationName','vBoWD','config\x20get','XVgip','start-path','ranger\x20feature\x20create','\x0aError:\x20','array','profile\x20delete','RANGER_TEST_PASSWORD','url','NxfRJ','yAXRe','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','scope','mLDOV','profiles','Skip\x20Chromium\x20browser\x20installation','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','Include\x20soft-deleted\x20feature\x20reviews','OBmZd','Mrspb','profile','help','eUHCJ','project','ranger\x20profile\x20add','sDVIP','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','feature\x20list','JrEBV','BBJFy','message','exitCode','ulLfk','rcbKr','start','wijFG','model','option','mSRzi','name','delete','DXQdG','ranger\x20setup\x20profiles\x20--scope=','epAlF','test','ranger\x20config\x20get','claude','scenario','nrjlj','tAuWJ','2496468HAKsXZ','YDYWH','resume\x20[id]','Install\x20Ranger\x20skills','Scenario\x20index\x20(1-based)','613190VVOHiF','token','cNKuy','9dZbuSn','AEomN','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','exit','issues','scriptName','show','list','pJdHg','report\x20[id]','dIBTP','ixZvx','RANGER_TEST_USERNAME','key','severity','string','Remove\x20a\x20config\x20value','feature\x20add-checklist-item','tehOo','positional','PijPl','AFDHf','fvpye','MyAWa','force','MhOnj','forEach','add-scenario\x20<description>','Feature\x20review\x20ID\x20to\x20restore','evaluationReason','update','\x20BLOCKED','XkMAY','4010377BScHNw','HTEkF','OhaTp','JqABV','delete\x20[id]','ZvySg','FMRbg','Config\x20key\x20to\x20remove','\x20VERIFIED','encrypt\x20<profile>','profile\x20use','base-url','deps','task','number','ranger\x20verify-feature','command','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','wjJop','checklist','env-name','bqdWc','demandCommand','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','fail','gjtSE','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','IzCTe','lYvwZ','UbGRs','FOKFY','description','ZDchL','Name\x20of\x20the\x20profile','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','mcp','vMUCF','wrgzK','include-deleted','debug-address-comments','List\x20all\x20config\x20for\x20a\x20profile','error','env','mWfGW','Add\x20profile\x20configuration','profile\x20add','hook','Name\x20of\x20the\x20environment\x20to\x20update','orOMw','XXgwY','skip-chromium','932176QXWdrC','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','wwaNd','yizuE','yes','MaFhX','\x20\x20https://docs.ranger.net\x0a','user','AIdvJ','vgBzI','cwseo','WIxEx','Ranger\x20API\x20token\x20(rngr_...)','Szufq','setup-ci','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','kybdP','97722veNdjR','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','nfBiZ','disable'];_0x5459=function(){return _0x4943c8;};return _0x5459();}_0x3e7aea['config']({'path':join(findProjectRoot(),'.env')});import _0x2bb037 from'yargs/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';function _0x4614(_0x57006e,_0x12e325){_0x57006e=_0x57006e-0xbf;const _0x5459b3=_0x5459();let _0x461448=_0x5459b3[_0x57006e];return _0x461448;}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{isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on'](_0x243442(0x243),async _0x1cc5e8=>{const _0x32ed8a=_0x243442,_0x33d003={'ffZPz':function(_0x38c189){return _0x38c189();}},_0x468699=_0x33d003[_0x32ed8a(0x251)](getCurrentCollector);_0x468699&&await _0x468699['trackCommandError'](_0x1cc5e8),process[_0x32ed8a(0x153)]=0x1;});const rawArgs=process[_0x243442(0x1f8)][_0x243442(0x112)](0x2),TOP_LEVEL_HELP=_0x243442(0x25e),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='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';function warnRenamed(_0x3eb90d,_0x2c804e){console['error']('\x0a'+_0x3eb90d+'\x20is\x20now\x20'+_0x2c804e+'\x0a');}function argUsed(_0x5ae570){return rawArgs['some'](_0x42c228=>_0x42c228===_0x5ae570||_0x42c228['startsWith'](_0x5ae570+'='));}function warnFlagRenamed(_0x199d72,_0xfb6b2,_0x4983b1){const _0x39af46={'LDrsu':function(_0x357815,_0xe263bc,_0x1f3038){return _0x357815(_0xe263bc,_0x1f3038);}};argUsed(_0xfb6b2)&&_0x39af46['LDrsu'](warnRenamed,_0x199d72+'\x20'+_0xfb6b2,_0x199d72+'\x20'+_0x4983b1);}async function runGoCommand(_0x234af8,_0x2fd577=![]){const _0x46b881=_0x243442,_0x39caf6={'kZNtN':'--env','WPEhR':_0x46b881(0xeb),'nrjlj':_0x46b881(0xfe),'MchVW':function(_0x2f94c5){return _0x2f94c5();},'eLUik':'base-url','fvpye':_0x46b881(0x1f9),'lYvwZ':_0x46b881(0x1b6),'mLDOV':function(_0x56ce15,_0x5f3dc4){return _0x56ce15===_0x5f3dc4;},'FMRbg':'verified','HTEkF':_0x46b881(0x197),'yAXRe':function(_0x4ce57a,_0x5a52a1){return _0x4ce57a===_0x5a52a1;},'CLxlf':'\x20INCOMPLETE','CwkTf':function(_0x3b4b6f,_0x2ad542){return _0x3b4b6f===_0x2ad542;},'YbNJP':_0x46b881(0x18d),'kdzlV':function(_0x1f0872,_0x2b4fb8){return _0x1f0872===_0x2b4fb8;}};_0x2fd577&&warnRenamed(_0x46b881(0x19e),'ranger\x20go');warnFlagRenamed(_0x46b881(0xeb),_0x39caf6['kZNtN'],_0x46b881(0xcc)),warnFlagRenamed(_0x39caf6['WPEhR'],_0x39caf6[_0x46b881(0x164)],_0x46b881(0xf0)),warnFlagRenamed(_0x46b881(0xeb),'--item','--scenario');const _0x224d59=await _0x39caf6['MchVW'](loadRangerConfig),_0x2f7f11=_0x39caf6['MchVW'](isByokEnabled),_0x31b468=_0x234af8[_0x46b881(0x158)],_0x40679e=_0x224d59['model'],_0x2bebec=await verifyFeature({'featureId':_0x234af8[_0x46b881(0x20c)],'profile':_0x234af8[_0x46b881(0x148)]??_0x234af8['env']??process['env']['RANGER_PROFILE'],'notes':_0x234af8['notes']??_0x234af8['task'],'scenario':_0x234af8[_0x46b881(0x163)]??_0x234af8['item'],'startPath':_0x234af8[_0x46b881(0x136)],'baseUrl':_0x234af8[_0x39caf6['eLUik']],'debugOutcome':_0x234af8[_0x39caf6[_0x46b881(0x184)]],'debugAddressComments':_0x234af8[_0x39caf6[_0x46b881(0x1ab)]],'headed':_0x234af8[_0x46b881(0x1ff)],'byokEnabled':_0x2f7f11,'flagVerifyModel':_0x31b468,'configVerifyModel':_0x40679e});console[_0x46b881(0x1ee)]('\x0a'+'='[_0x46b881(0x1ef)](0x3c)),console['log'](_0x39caf6[_0x46b881(0x141)](_0x2bebec['evaluation'],_0x39caf6[_0x46b881(0x195)])?_0x39caf6[_0x46b881(0x190)]:_0x39caf6[_0x46b881(0x13e)](_0x2bebec['evaluation'],_0x46b881(0x25b))?_0x39caf6[_0x46b881(0x1df)]:_0x2bebec[_0x46b881(0x263)]==='partial'?'\x20PARTIAL':_0x39caf6['CwkTf'](_0x2bebec['evaluation'],_0x46b881(0xfa))?_0x39caf6['YbNJP']:_0x46b881(0x23d)),console[_0x46b881(0x1ee)]('='['repeat'](0x3c)),console[_0x46b881(0x1ee)]('Summary:\x20'+_0x2bebec['summary']),console['log']('Evaluation:\x20'+_0x2bebec['evaluation']),console[_0x46b881(0x1ee)]('Reason:\x20'+_0x2bebec[_0x46b881(0x18b)]),_0x2bebec['issues']?.['length']&&(console['log']('\x0aIssues:'),_0x2bebec[_0x46b881(0x172)][_0x46b881(0x188)]((_0x44c77c,_0x21fda9)=>{const _0x1b0405=_0x46b881;console['log']('\x0a'+(_0x21fda9+0x1)+_0x1b0405(0xc0)+_0x44c77c[_0x1b0405(0x17c)]+']\x20'+_0x44c77c['description']);})),process[_0x46b881(0x171)](_0x39caf6['kdzlV'](_0x2bebec[_0x46b881(0x263)],_0x39caf6[_0x46b881(0x195)])?0x0:0x1);}export function buildParser(_0x4cf1fd){const _0x5b666c=_0x243442,_0x51ce51={'RpLhb':'name','iVnyr':'string','tehOo':'Feature\x20review\x20name','cNKuy':'array','EkYQp':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','sTLya':'checklist','wwaNd':function(_0x2e2d7a,_0x67d490){return _0x2e2d7a+_0x67d490;},'WqXeE':_0x5b666c(0x101),'ZVybZ':'Example:\x20ranger\x20create\x20my-feature','YLDfD':'ranger\x20create','EmnhH':'--scenario','ODkWA':'create','gMTZo':_0x5b666c(0x265),'wwoUr':_0x5b666c(0x240),'DXQdG':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','HRHST':'number','ZvySg':'include-deleted','XlnTQ':'list','ApPAO':function(_0x48ecf0,_0x25daa6,_0xdd46a5){return _0x48ecf0(_0x25daa6,_0xdd46a5);},'JMYmy':_0x5b666c(0x174),'vUmsY':function(_0x930e5e,_0x2c10c1,_0x15210e){return _0x930e5e(_0x2c10c1,_0x15210e);},'DsMXw':_0x5b666c(0xda),'fITma':_0x5b666c(0x1ae),'JqABV':'exclude-scenario','bdrJZ':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','bqdWc':_0x5b666c(0x100),'gUjeJ':_0x5b666c(0x107),'kCqEO':'Feature\x20review\x20ID','riZvX':_0x5b666c(0x18a),'ZUAmc':'restore','aMfLm':_0x5b666c(0x22b),'IjOoK':'skip-auth','MyAWa':'Skip\x20authentication','MnkpF':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','Mrspb':_0x5b666c(0x140),'FOKFY':_0x5b666c(0x1c9),'nfBiZ':_0x5b666c(0x13c),'zbhAE':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','YDYWH':_0x5b666c(0x186),'AFDHf':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','PgocF':_0x5b666c(0x121),'vgBzI':_0x5b666c(0x1c3),'AFIRd':'Alias\x20for\x20--mcp-bootstrap','CtNNA':'mcp-bootstrap','KHSnB':function(_0x74d092,_0x4960b0,_0x2d78e3){return _0x74d092(_0x4960b0,_0x2d78e3);},'dVWZt':_0x5b666c(0xe9),'fRxcg':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','AIdvJ':'token','UbGRs':_0x5b666c(0x1b2),'nJOxa':_0x5b666c(0xd9),'pDWhN':_0x5b666c(0x1a0),'RUoXJ':function(_0x462779,_0x101982){return _0x462779!==_0x101982;},'EdIKA':function(_0x1a5545,_0x2a1ddd){return _0x1a5545(_0x2a1ddd);},'brgas':'all','wciEA':'Run\x20full\x20interactive\x20setup','zYPnZ':_0x5b666c(0x212),'CIaeJ':_0x5b666c(0x11c),'kGhNA':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','MhOnj':_0x5b666c(0x142),'pJSZU':'skip-chromium','uTDlI':'allow-insecure-localhost','cHRso':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','mWypw':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','aEEAD':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','ZDchL':_0x5b666c(0x19a),'dmSha':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','epAlF':function(_0x15ebb8,_0x2d3aaa,_0x20b9f3){return _0x15ebb8(_0x2d3aaa,_0x20b9f3);},'XliMI':_0x5b666c(0x1eb),'Tacpo':_0x5b666c(0x14b),'SatuS':_0x5b666c(0x1fe),'kybdP':function(_0x17a082,_0x15a056,_0x2c8f87){return _0x17a082(_0x15a056,_0x2c8f87);},'DBJWT':'clean','WIxEx':_0x5b666c(0xe1),'Inlke':_0x5b666c(0xd8),'fHlyo':_0x5b666c(0xfc),'wyHOo':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','lFwfY':_0x5b666c(0x1c6),'wrgzK':_0x5b666c(0x1b0),'KCoMp':_0x5b666c(0x199),'cwseo':'profile-name','fiEKZ':function(_0x5305cd,_0x4e8d4d,_0x360380){return _0x5305cd(_0x4e8d4d,_0x360380);},'NnGIJ':_0x5b666c(0x13a),'uEaeX':_0x5b666c(0x148),'hycnu':_0x5b666c(0x1d9),'rbvCR':'profile\x20login','JLKXo':'Config\x20value','TOdIu':_0x5b666c(0x17b),'CnHYX':_0x5b666c(0xe4),'CMOgy':'unset\x20<profile>\x20<key>','wijFG':_0x5b666c(0x17e),'pBdAI':'reset\x20<profile>','SkrRZ':function(_0x1b3bd5,_0xa9eddf){return _0x1b3bd5===_0xa9eddf;},'jaZBf':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','XVgip':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','aRZcP':'Skip\x20interactive\x20confirmation\x20prompts.','aDLnG':_0x5b666c(0x1ea),'yhHca':_0x5b666c(0xe7),'JPXwz':_0x5b666c(0x1bb),'sZpEi':_0x5b666c(0x110),'tgZxZ':_0x5b666c(0xcf),'augIG':_0x5b666c(0x118),'lGXYq':'Delete\x20a\x20cloud\x20profile','geBnu':_0x5b666c(0xea),'JGQqb':_0x5b666c(0x20e),'OhaTp':'Manage\x20profile\x20configuration','FbuMl':'You\x20must\x20specify\x20a\x20profile\x20subcommand','IVTNV':_0x5b666c(0x18c),'DUQTn':function(_0x381f86){return _0x381f86();},'WZMDx':function(_0x5b97b1,_0x2d2ee0,_0x1f6b1d){return _0x5b97b1(_0x2d2ee0,_0x1f6b1d);},'VVYGq':'print-access-token','vMUCF':'feature','phxPR':'notes','dIBTP':_0x5b666c(0x12f),'naXNS':_0x5b666c(0x136),'HEcbx':'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.','pZiPz':_0x5b666c(0x1ff),'eUeJL':_0x5b666c(0x1f9),'oGStA':_0x5b666c(0xfa),'JwGti':_0x5b666c(0xf5),'Szufq':'debug-address-comments','CkjUe':'env','BBJFy':'ranger\x20profile\x20encrypt-auth','bbyJf':_0x5b666c(0x198),'ixZvx':'You\x20must\x20specify\x20an\x20auth\x20subcommand','yizuE':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','sFKOF':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','gjtSE':'with-deps','orOMw':function(_0x1d4cc5,_0x54a014,_0x304ec5){return _0x1d4cc5(_0x54a014,_0x304ec5);},'jriNW':_0x5b666c(0xc6),'MHGrS':function(_0x57c99f,_0x4680c3,_0x4972d8){return _0x57c99f(_0x4680c3,_0x4972d8);},'HUkQH':_0x5b666c(0x19c),'RvrLG':'item','bRBLZ':_0x5b666c(0x163),'DNCaD':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','NxfRJ':_0x5b666c(0x254),'PijPl':_0x5b666c(0x25b),'zqQeW':'env-name','hgjeP':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','eUHCJ':'ranger\x20add\x20env','rdvzo':'add\x20env','zoXDD':'ranger\x20use','BlhNO':'ranger\x20profile\x20use','KGEki':_0x5b666c(0x1f3),'XyaHB':_0x5b666c(0xd4),'KHCvL':'value','eMzmD':_0x5b666c(0x161),'pkXcy':_0x5b666c(0x231),'ScoPX':_0x5b666c(0x205),'ddbKK':'You\x20must\x20specify\x20a\x20config\x20subcommand','wPKrk':_0x5b666c(0x257),'KzWGH':_0x5b666c(0x1be),'XkMAY':'update\x20<env-name>','HHiTO':'Feature\x20review\x20description','tAuWJ':_0x5b666c(0x13f),'YUWup':_0x5b666c(0x22a),'hSYsm':_0x5b666c(0x145),'HJDGv':_0x5b666c(0x14f),'MGbDZ':'ranger\x20feature\x20show','AEomN':_0x5b666c(0xd0),'pOgll':_0x5b666c(0x216),'IzCTe':function(_0x1a5d69,_0x731cf4,_0xcd8f69){return _0x1a5d69(_0x731cf4,_0xcd8f69);},'zVLpP':function(_0x47502c,_0x2598ff,_0x3d5c63){return _0x47502c(_0x2598ff,_0x3d5c63);},'ulLfk':_0x5b666c(0x137),'CtBCX':'Scenario\x20description','rRJlB':'ranger\x20feature\x20add-checklist-item','vrtKW':'show\x20[id]','durmL':'add-checklist-item\x20<description>','TBdTl':_0x5b666c(0x1d1),'BaWJN':_0x5b666c(0x23c),'MBfFH':_0x5b666c(0x1b1),'OxNXI':function(_0x1f621d,_0x46277e,_0x70156b){return _0x1f621d(_0x46277e,_0x70156b);},'UgYvg':_0x5b666c(0x1fb),'AWZaB':'enable','wMtCk':function(_0x3bbf08,_0xe598e3){return _0x3bbf08(_0xe598e3);},'vhYqq':_0x5b666c(0xc4),'UDmBM':'Unknown\x20error','Qtonj':_0x5b666c(0x12a),'xDEgL':function(_0x5898df){return _0x5898df();},'uRWVu':'create\x20<name>','fIvCM':_0x5b666c(0x241),'aNyia':_0x5b666c(0x177),'ExHAT':_0x5b666c(0xd3),'fCnpE':_0x5b666c(0x102),'CFevM':'setup-ci\x20<token>','jGRgE':'skillup','KEIzB':_0x5b666c(0x170),'kGxhZ':'Manage\x20profiles','LXcDj':_0x5b666c(0xc3),'XXgwY':'auth','SuncM':_0x5b666c(0xdd),'wjJop':_0x5b666c(0x1bd),'FgWUz':'You\x20must\x20specify\x20a\x20command','KXDzt':function(_0xd530a9,_0x32cd4e){return _0xd530a9+_0x32cd4e;},'uBuqE':_0x5b666c(0x1c8),'HIxrQ':_0x5b666c(0x14e),'UxLfn':'help'};return _0x2bb037(_0x4cf1fd??process['argv'][_0x5b666c(0x112)](0x2))[_0x5b666c(0x173)](_0x51ce51['Qtonj'])[_0x5b666c(0xf3)](TOP_LEVEL_HELP)['version'](_0x51ce51['xDEgL'](getCurrentVersion))['command'](_0x51ce51[_0x5b666c(0x1e8)],_0x5b666c(0x258),_0x4c68b6=>{const _0x545da3=_0x5b666c;return _0x4c68b6['positional'](_0x51ce51['RpLhb'],{'type':_0x51ce51['iVnyr'],'description':_0x51ce51[_0x545da3(0x180)],'demandOption':!![]})['option']('description',{'type':_0x545da3(0x17d),'alias':'d','description':'Feature\x20review\x20description'})[_0x545da3(0x159)](_0x545da3(0x163),{'type':_0x51ce51['cNKuy'],'alias':'c','description':_0x51ce51['EkYQp']})[_0x545da3(0x159)](_0x51ce51[_0x545da3(0xc1)],{'type':_0x51ce51['cNKuy'],'hidden':!![]});},async _0xcd0d2e=>{const _0x40c502=_0x5b666c;if(!_0xcd0d2e['name']){console['error'](_0x51ce51[_0x40c502(0x1c4)](_0x51ce51[_0x40c502(0x1fc)],_0x51ce51[_0x40c502(0x267)])),process[_0x40c502(0x171)](0x1);return;}warnFlagRenamed(_0x51ce51[_0x40c502(0xe0)],'--checklist',_0x51ce51['EmnhH']);const _0x3dbc9c=_0xcd0d2e[_0x40c502(0x163)]||_0xcd0d2e[_0x40c502(0x1a2)];await withTelemetry(_0x51ce51['ODkWA'],()=>featureCreate(_0xcd0d2e[_0x40c502(0x15b)],{'description':_0xcd0d2e[_0x40c502(0x1ae)],'scenarios':_0x3dbc9c}));})[_0x5b666c(0x19f)](_0x5b666c(0x175),'List\x20all\x20feature\x20reviews',_0x43bd3d=>{const _0x2b4ac5=_0x5b666c;return _0x43bd3d['option'](_0x2b4ac5(0x21f),{'type':_0x51ce51[_0x2b4ac5(0x20a)],'description':_0x2b4ac5(0x13f)})['option'](_0x51ce51['wwoUr'],{'type':_0x2b4ac5(0x19d),'alias':'l','description':_0x51ce51[_0x2b4ac5(0x15d)],'default':0xa})[_0x2b4ac5(0x159)]('offset',{'type':_0x51ce51['HRHST'],'alias':'o','description':_0x2b4ac5(0x24a),'default':0x0})[_0x2b4ac5(0x159)](_0x51ce51['ZvySg'],{'type':_0x2b4ac5(0x265),'alias':'d','description':_0x2b4ac5(0x145),'default':![]});},async _0x30874d=>{const _0x12a8e3=_0x5b666c;await withTelemetry(_0x51ce51['XlnTQ'],()=>featureList({'currentBranch':_0x30874d[_0x12a8e3(0x21f)],'limit':_0x30874d[_0x12a8e3(0x240)],'offset':_0x30874d[_0x12a8e3(0x22a)],'includeDeleted':_0x30874d[_0x12a8e3(0x1b5)]}));})[_0x5b666c(0x19f)]('show\x20[id]','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x288ca6=>{const _0x4e21f4=_0x5b666c;return _0x288ca6['positional']('id',{'type':_0x51ce51[_0x4e21f4(0x1da)],'description':_0x4e21f4(0x1e0)});},async _0x840c34=>{const _0x488f8b=_0x5b666c;await _0x51ce51['ApPAO'](withTelemetry,_0x51ce51[_0x488f8b(0x223)],()=>featureShow(_0x840c34['id']));})['command'](_0x5b666c(0x168),_0x51ce51['fIvCM'],_0x2aeda6=>{const _0x1b96e2=_0x5b666c;return _0x2aeda6['positional']('id',{'type':_0x1b96e2(0x17d),'description':_0x1b96e2(0x216)});},async _0x58b5ca=>{const _0x4f6508=_0x5b666c;await _0x51ce51['vUmsY'](withTelemetry,_0x51ce51[_0x4f6508(0x12e)],()=>featureResume(_0x58b5ca['id']));})[_0x5b666c(0x19f)](_0x5b666c(0x189),'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x4497ac=>{const _0x37af82=_0x5b666c;return _0x4497ac['positional'](_0x51ce51[_0x37af82(0xcd)],{'type':_0x51ce51['iVnyr'],'description':'Scenario\x20description','demandOption':!![]})[_0x37af82(0x159)]('id',{'type':'string','description':_0x37af82(0x100)});},async _0x52f71e=>{await withTelemetry('add-scenario',()=>featureAddScenario(_0x52f71e['description'],_0x52f71e['id']));})['command'](_0x5b666c(0xcb),_0x5b666c(0x1db),_0x189eca=>{const _0x116f74=_0x5b666c;return _0x189eca[_0x116f74(0x181)](_0x116f74(0x1ae),{'type':_0x51ce51[_0x116f74(0x1da)],'description':_0x116f74(0x221),'demandOption':!![]})['option']('scenario',{'type':_0x116f74(0x19d),'description':'Scenario\x20number\x20to\x20edit\x20(1-based)','demandOption':!![]})['option']('id',{'type':_0x51ce51['iVnyr'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x2600de=>{const _0x48992e=_0x5b666c;await withTelemetry(_0x48992e(0x126),()=>featureEditScenario(_0x2600de[_0x48992e(0x1ae)],{'id':_0x2600de['id'],'scenario':_0x2600de['scenario']}));})[_0x5b666c(0x19f)](_0x51ce51[_0x5b666c(0x269)],_0x5b666c(0x20b),_0x1610a3=>{const _0x292e4d=_0x5b666c;return _0x1610a3[_0x292e4d(0x181)]('id',{'type':_0x292e4d(0x17d),'description':'Feature\x20review\x20ID'})[_0x292e4d(0x159)](_0x51ce51[_0x292e4d(0x192)],{'type':_0x292e4d(0x139),'description':_0x292e4d(0x1d4)})[_0x292e4d(0x159)](_0x292e4d(0x210),{'type':_0x51ce51[_0x292e4d(0x20a)],'description':_0x51ce51[_0x292e4d(0x1e9)],'default':![]});},async _0xbbb17=>{const _0x1bf5ef=_0x5b666c,_0x385eb2=_0xbbb17[_0x51ce51[_0x1bf5ef(0x192)]],_0x3c69eb=_0x385eb2?_0x385eb2['map'](_0x21786c=>Number(_0x21786c)):undefined;await withTelemetry('report',()=>featureReportPrDescription(_0xbbb17['id'],{'excludeScenarios':_0x3c69eb,'json':_0xbbb17[_0x1bf5ef(0x210)]}));})[_0x5b666c(0x19f)]('get-review\x20[id]',_0x51ce51[_0x5b666c(0x10a)],_0x292a04=>{const _0x5dd8fa=_0x5b666c;return _0x292a04[_0x5dd8fa(0x181)]('id',{'type':_0x51ce51[_0x5dd8fa(0x1da)],'description':_0x51ce51[_0x5dd8fa(0x1a4)]});},async _0x2381da=>{await withTelemetry(_0x51ce51['gUjeJ'],()=>featureGetReview(_0x2381da['id']));})[_0x5b666c(0x19f)]('delete\x20[id]',_0x51ce51['fCnpE'],_0x222c1a=>{const _0x5c0681=_0x5b666c;return _0x222c1a[_0x5c0681(0x181)]('id',{'type':_0x51ce51['iVnyr'],'description':_0x51ce51[_0x5c0681(0xfb)]});},async _0x1212cd=>{const _0x5f1321=_0x5b666c;await _0x51ce51['vUmsY'](withTelemetry,_0x5f1321(0x15c),()=>featureDelete(_0x1212cd['id']));})['command'](_0x5b666c(0x119),'Restore\x20a\x20soft-deleted\x20feature\x20review',_0x29adb5=>{const _0x54fc9e=_0x5b666c;return _0x29adb5[_0x54fc9e(0x181)]('id',{'type':_0x54fc9e(0x17d),'description':_0x51ce51['riZvX'],'demandOption':!![]});},async _0x29c50e=>{await withTelemetry(_0x51ce51['ZUAmc'],()=>featureRestore(_0x29c50e['id']));})[_0x5b666c(0x19f)]('setup\x20[tokenOrSubcommand]',_0x5b666c(0xff),_0x1e49b2=>{const _0x158f84=_0x5b666c,_0x4b9e56={'nsCVM':function(_0x30eeaf,_0x504a58,_0x2559ec){return _0x51ce51['vUmsY'](_0x30eeaf,_0x504a58,_0x2559ec);},'kLWGU':'setup:deps','dIsbL':function(_0x1244b6,_0xf06997){const _0x45ce97=_0x4614;return _0x51ce51[_0x45ce97(0x217)](_0x1244b6,_0xf06997);},'hiULm':function(_0x2a9de3,_0xae337c,_0x1e872f){return _0x2a9de3(_0xae337c,_0x1e872f);},'mymRc':_0x158f84(0x1f1),'iysBo':function(_0x5aba18){return _0x5aba18();}};return _0x1e49b2[_0x158f84(0xf3)]('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')['positional']('tokenOrSubcommand',{'type':_0x158f84(0x17d),'description':_0x158f84(0x24f)})[_0x158f84(0x19f)](_0x51ce51[_0x158f84(0xf6)],_0x51ce51['wciEA'],_0x523936=>{const _0x2f0654=_0x158f84;return _0x523936['option'](_0x2f0654(0x16c),{'type':_0x51ce51[_0x2f0654(0x1da)],'description':_0x51ce51[_0x2f0654(0x129)]})[_0x2f0654(0x159)](_0x2f0654(0x1c1),{'type':_0x51ce51[_0x2f0654(0x20a)],'description':_0x2f0654(0x104),'default':![]})['option'](_0x51ce51[_0x2f0654(0x21b)],{'type':_0x2f0654(0x265),'description':_0x51ce51[_0x2f0654(0x185)],'default':![]})['option']('with-deps',{'type':_0x51ce51['gMTZo'],'description':_0x51ce51['MnkpF'],'default':![]})['option'](_0x51ce51[_0x2f0654(0x147)],{'type':_0x2f0654(0x17d),'choices':[_0x51ce51[_0x2f0654(0x1ad)]],'hidden':!![],'description':_0x2f0654(0x1a0)})[_0x2f0654(0x159)](_0x51ce51[_0x2f0654(0x1d5)],{'type':_0x51ce51[_0x2f0654(0x1da)],'description':_0x51ce51['zbhAE']})[_0x2f0654(0x159)](_0x51ce51[_0x2f0654(0x167)],{'type':_0x51ce51[_0x2f0654(0x20a)],'description':_0x51ce51[_0x2f0654(0x183)],'default':![]})['option']('opencode',{'type':'boolean','description':_0x51ce51['PgocF'],'default':![]})[_0x2f0654(0x159)]('allow-insecure-localhost',{'type':'boolean','description':_0x51ce51['vgBzI'],'default':![]})[_0x2f0654(0x159)]('mcp-bootstrap',{'type':_0x51ce51['gMTZo'],'description':_0x2f0654(0x1f2),'default':![]})['option']('mcp',{'type':_0x51ce51[_0x2f0654(0x20a)],'description':_0x51ce51['AFIRd'],'default':![]});},async _0x1eadbb=>{const _0x1f233d=_0x158f84;(_0x1eadbb['mcp-bootstrap']||_0x1eadbb[_0x1f233d(0x1b2)])&&await withTelemetry(_0x51ce51['CtNNA'],()=>mcpBootstrap()),await _0x51ce51['KHSnB'](withTelemetry,_0x51ce51['dVWZt'],_0x50c57b=>start(_0x1eadbb['token'],{'skipChromium':_0x1eadbb['skip-chromium'],'skipAuth':_0x1eadbb['skip-auth'],'withDeps':_0x1eadbb['with-deps'],'scope':_0x1eadbb[_0x1f233d(0x140)],'url':_0x1eadbb['url'],'force':_0x1eadbb['force'],'opencode':_0x1eadbb[_0x1f233d(0x215)],'allowInsecureLocalhost':_0x1eadbb[_0x1f233d(0xdf)]},_0x50c57b));})[_0x158f84(0x19f)](_0x158f84(0x19b),_0x51ce51['zYPnZ'],_0x3f804a=>{const _0x16e8c4=_0x158f84;return _0x3f804a[_0x16e8c4(0x159)]('with-deps',{'type':_0x16e8c4(0x265),'description':_0x51ce51['fRxcg'],'default':![]});},async _0x7ed7df=>{const _0x553bf5=_0x158f84;await _0x4b9e56['nsCVM'](withTelemetry,_0x4b9e56['kLWGU'],()=>ensureChromium(_0x7ed7df[_0x553bf5(0xd5)]));})['command'](_0x158f84(0x1eb),'Authenticate\x20with\x20Ranger',_0x28beef=>{const _0x42ecd7=_0x158f84;return _0x28beef['option'](_0x51ce51[_0x42ecd7(0x1ca)],{'type':_0x51ce51[_0x42ecd7(0x1da)],'description':_0x42ecd7(0x1ce)})[_0x42ecd7(0x159)](_0x51ce51[_0x42ecd7(0x1ac)],{'type':'boolean','description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x265312=>{const _0x2716d5=_0x158f84,_0x3b3db5={'vBoWD':function(_0x3c2353){return _0x3c2353();},'rcbKr':function(_0x689a1d,_0x3e6e11){return _0x4b9e56['dIsbL'](_0x689a1d,_0x3e6e11);}};await _0x4b9e56[_0x2716d5(0x24d)](withTelemetry,_0x4b9e56[_0x2716d5(0x1ed)],async()=>{const _0x2e92c4=_0x2716d5;if(_0x265312[_0x2e92c4(0x1b2)]){await _0x3b3db5[_0x2e92c4(0x133)](mcpBootstrap);const _0x4d813d=await refreshCliToken();if(!_0x4d813d)throw new Error('Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.');const _0x453291=await getCurrentUser(_0x4d813d);if(!_0x453291['success'])throw new Error(_0x2e92c4(0xdb)+_0x453291['error']);console[_0x2e92c4(0x1ee)](_0x2e92c4(0x109)+_0x453291[_0x2e92c4(0x1c9)][_0x2e92c4(0x132)]);return;}await _0x3b3db5[_0x2e92c4(0x155)](authenticate,_0x265312['token']);});})['command'](_0x51ce51[_0x158f84(0xf7)],_0x51ce51['kGhNA'],_0xc7f6d6=>{const _0x2ade70=_0x158f84;return _0xc7f6d6['option']('scope',{'type':'string','choices':[_0x2ade70(0x1c9),'project'],'description':_0x51ce51[_0x2ade70(0xef)]})[_0x2ade70(0x159)]('opencode',{'type':'boolean','description':_0x2ade70(0x121),'default':![]});},async _0x6c22c3=>{const _0x58a8f8=_0x158f84;await withTelemetry(_0x58a8f8(0x222),async()=>{const _0x59d0d9=_0x58a8f8,_0x59ea66=_0x6c22c3[_0x59d0d9(0x140)];if(_0x6c22c3['opencode']){const _0x5745a0=await ensureOpencodePluginConfig(_0x59ea66);_0x5745a0&&await _0x4b9e56['hiULm'](installSkill,_0x59d0d9(0x12a),{'level':_0x5745a0['scope'],'cliVersion':_0x4b9e56[_0x59d0d9(0x246)](getCurrentVersion),'platform':'opencode'});}else await ensureClaudePlugin(_0x59ea66),await _0x4b9e56['dIsbL'](ensureClaudeSkills,_0x59ea66);});})[_0x158f84(0x19f)](_0x51ce51[_0x158f84(0x187)],_0x158f84(0x220),_0x2a4e3e=>{const _0x1eb0bb=_0x158f84;return _0x2a4e3e['option'](_0x51ce51[_0x1eb0bb(0x147)],{'type':_0x1eb0bb(0x17d),'choices':[_0x1eb0bb(0x1c9)],'description':_0x51ce51['pDWhN']})[_0x1eb0bb(0x159)]('url',{'type':_0x51ce51['iVnyr'],'description':_0x1eb0bb(0x225)})['option'](_0x1eb0bb(0x1f7),{'type':'boolean','description':'Skip\x20browser\x20authentication','default':![]})['option']('force',{'type':_0x51ce51['gMTZo'],'description':_0x51ce51[_0x1eb0bb(0x183)],'default':![]})[_0x1eb0bb(0x159)]('allow-insecure-localhost',{'type':_0x51ce51['gMTZo'],'description':_0x51ce51[_0x1eb0bb(0x1cb)],'default':![]});},async _0x416245=>{const _0x163975=_0x158f84,_0x58d108=_0x416245[_0x163975(0x140)];_0x51ce51['RUoXJ'](_0x58d108,undefined)&&_0x58d108!==_0x51ce51['FOKFY']&&(console['error'](_0x163975(0x15e)+_0x58d108+_0x163975(0x1f6)+'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20'+'Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.'),process[_0x163975(0x171)](0x1)),await withTelemetry('setup:profiles',_0x7b571e=>ensureLocalEnv({'url':_0x416245['url'],'force':_0x416245['force'],'allowInsecureLocalhost':_0x416245[_0x163975(0xdf)],'scope':_0x163975(0x1c9)},_0x7b571e));})[_0x158f84(0x159)](_0x51ce51['pJSZU'],{'type':_0x51ce51[_0x158f84(0x20a)],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x158f84(0x159)](_0x158f84(0x140),{'type':_0x51ce51['iVnyr'],'choices':['user'],'hidden':!![],'description':_0x51ce51['pDWhN']})['option']('url',{'type':_0x158f84(0x17d),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})[_0x158f84(0x159)]('force',{'type':_0x158f84(0x265),'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x158f84(0x159)]('opencode',{'type':_0x51ce51[_0x158f84(0x20a)],'description':_0x51ce51['PgocF'],'default':![]})[_0x158f84(0x159)](_0x51ce51[_0x158f84(0x25f)],{'type':_0x51ce51['gMTZo'],'description':_0x51ce51['cHRso'],'default':![]})['option'](_0x51ce51[_0x158f84(0x250)],{'type':_0x51ce51[_0x158f84(0x20a)],'description':_0x158f84(0x24c),'default':![]})[_0x158f84(0x159)]('skip-auth',{'type':'boolean','description':_0x51ce51[_0x158f84(0x260)],'default':![]})['option'](_0x158f84(0xd5),{'type':_0x51ce51['gMTZo'],'description':_0x51ce51['fRxcg'],'default':![]})['option'](_0x51ce51[_0x158f84(0x1ca)],{'type':'string','hidden':!![],'description':_0x158f84(0x122)});},async _0x118bce=>{const _0x29d8ed=_0x5b666c,_0x118518=_0x118bce[_0x29d8ed(0x255)],_0x28a3e6=_0x118bce['token']??_0x118518;_0x118bce['mcp-bootstrap']&&await _0x51ce51['vUmsY'](withTelemetry,_0x29d8ed(0xc9),()=>mcpBootstrap()),await _0x51ce51['ApPAO'](withTelemetry,_0x29d8ed(0x156),_0x844e74=>start(_0x28a3e6,{'skipChromium':_0x118bce[_0x29d8ed(0x1c1)],'skipAuth':_0x118bce['skip-auth'],'withDeps':_0x118bce[_0x29d8ed(0xd5)],'scope':_0x118bce[_0x29d8ed(0x140)],'url':_0x118bce[_0x29d8ed(0x13c)],'force':_0x118bce[_0x29d8ed(0x186)],'opencode':_0x118bce[_0x29d8ed(0x215)],'allowInsecureLocalhost':_0x118bce['allow-insecure-localhost']},_0x844e74));})['command'](_0x51ce51['CFevM'],![],_0x3cde20=>{const _0x35623f=_0x5b666c;return _0x3cde20[_0x35623f(0x181)]('token',{'type':_0x35623f(0x17d),'description':_0x35623f(0x22b),'demandOption':!![]})['option']('profile',{'type':'string','description':_0x51ce51[_0x35623f(0x10f)]})['option'](_0x51ce51[_0x35623f(0x1af)],{'type':'string','description':_0x51ce51[_0x35623f(0x117)]})['option']('skip-chromium',{'type':_0x35623f(0x265),'description':_0x35623f(0x143),'default':![]});},async _0x21298f=>{const _0x5c5362=_0x5b666c;await _0x51ce51[_0x5c5362(0x15f)](withTelemetry,_0x5c5362(0x1d0),_0x86b476=>setupCi(_0x21298f[_0x5c5362(0x16c)],{'profile':_0x21298f[_0x5c5362(0x148)],'baseUrl':_0x21298f[_0x5c5362(0x19a)],'skipChromium':_0x21298f[_0x5c5362(0x1c1)]},_0x86b476));})['command'](_0x51ce51[_0x5b666c(0x214)],_0x5b666c(0x1a6),()=>{},async()=>{const _0x217685=_0x5b666c;await withTelemetry(_0x51ce51[_0x217685(0x214)],()=>login());})['command'](_0x51ce51[_0x5b666c(0xf9)],_0x5b666c(0x169),_0x471c15=>{const _0x35263c=_0x5b666c;return _0x471c15[_0x35263c(0x159)](_0x35263c(0x215),{'type':_0x51ce51[_0x35263c(0x20a)],'description':'Install\x20skills\x20for\x20OpenCode','default':![]})['option']('scope',{'type':'string','choices':[_0x51ce51[_0x35263c(0x1ad)],_0x51ce51['Tacpo']],'description':_0x51ce51['SatuS']});},async _0x55f33f=>{const _0x4ef7fa=_0x5b666c,_0x21bdc0=Boolean(_0x55f33f[_0x4ef7fa(0x215)]);await _0x51ce51[_0x4ef7fa(0x1d2)](withTelemetry,'skillup',()=>skillup({'autoInstall':_0x55f33f['scope'],'platform':_0x21bdc0?_0x4ef7fa(0x215):_0x4ef7fa(0x162)}));})[_0x5b666c(0x19f)]('clean',_0x51ce51[_0x5b666c(0x239)],()=>{},async()=>{const _0x552b5a=_0x5b666c;await _0x51ce51[_0x552b5a(0x1d2)](withTelemetry,_0x51ce51['DBJWT'],()=>clean());})['command'](['profile',_0x5b666c(0x142)],_0x51ce51['kGxhZ'],_0x586d89=>{const _0x4e0eac=_0x5b666c,_0x1baa9b={'RLFCY':function(_0x5e48c3,_0xb2ff6d,_0x558cbb,_0x34c57c){return _0x5e48c3(_0xb2ff6d,_0x558cbb,_0x34c57c);},'nTsGa':function(_0x21d049,_0x7f9e72){return _0x21d049(_0x7f9e72);},'gCCwe':function(_0x49b923,_0x272ffe,_0x338b5a){return _0x51ce51['vUmsY'](_0x49b923,_0x272ffe,_0x338b5a);},'AuNuc':'profile\x20encrypt-auth','pJdHg':_0x4e0eac(0x10e),'ztymK':_0x51ce51['iVnyr'],'IXgBU':'allow-insecure-localhost','MYHjK':'boolean','lSFyC':_0x51ce51['cHRso'],'JrEBV':_0x51ce51['RpLhb'],'LVbhE':_0x4e0eac(0x247),'vNYIm':_0x4e0eac(0x23f),'MaFhX':function(_0x5e6c0d,_0x470c2d,_0x22d4f3){return _0x5e6c0d(_0x470c2d,_0x22d4f3);},'sDVIP':function(_0x3c21f5,_0x39c943){return _0x51ce51['SkrRZ'](_0x3c21f5,_0x39c943);},'vWRTk':'failed','aagwM':_0x51ce51['jaZBf'],'ZPwRz':_0x51ce51[_0x4e0eac(0xf6)],'HNtCd':_0x51ce51[_0x4e0eac(0x135)],'ihQxY':_0x51ce51[_0x4e0eac(0x238)],'Xpjwn':_0x4e0eac(0x144),'VhReV':_0x51ce51[_0x4e0eac(0x115)],'NwLck':_0x51ce51['aDLnG'],'oNzyw':'key'};return _0x586d89['usage'](PROFILE_HELP)[_0x4e0eac(0x19f)](_0x51ce51[_0x4e0eac(0x108)],_0x51ce51[_0x4e0eac(0x23b)],_0x4bf969=>{const _0x4a4b09=_0x4e0eac;return _0x4bf969[_0x4a4b09(0x181)](_0x4a4b09(0x10e),{'type':_0x4a4b09(0x17d),'description':_0x51ce51[_0x4a4b09(0x1cd)],'demandOption':!![]})[_0x4a4b09(0x159)]('ci',{'type':'boolean','hidden':!![],'default':![]})['option']('skip-auth',{'type':_0x51ce51['gMTZo'],'description':_0x51ce51['Inlke'],'default':![]})[_0x4a4b09(0x159)](_0x51ce51['nfBiZ'],{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x51ce51['YDYWH'],{'type':_0x51ce51[_0x4a4b09(0x20a)],'description':_0x51ce51['AFDHf'],'default':![]})[_0x4a4b09(0x159)]('cdp-endpoint',{'type':_0x51ce51[_0x4a4b09(0x1da)],'description':_0x51ce51['fHlyo']})['option'](_0x4a4b09(0xdf),{'type':_0x4a4b09(0x265),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0x4a4b09(0x159)]('safe-mode',{'type':_0x51ce51['gMTZo'],'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]})[_0x4a4b09(0x159)]('setup-header',{'type':'string','array':!![],'description':_0x4a4b09(0x207)})['option'](_0x51ce51[_0x4a4b09(0x147)],{'type':_0x4a4b09(0x17d),'choices':['user',_0x4a4b09(0x14b)],'description':_0x51ce51['wyHOo']})['option'](_0x51ce51[_0x4a4b09(0xce)],{'type':_0x4a4b09(0x265),'alias':'y','description':_0x4a4b09(0x1a9),'default':![]});},async _0x235bd8=>{const _0x27894a=_0x4e0eac;await _0x1baa9b['RLFCY'](withTelemetry,_0x27894a(0x1bc),_0x2fd86f=>addEnv(_0x235bd8[_0x27894a(0x10e)],{'ci':_0x235bd8['ci'],'skipAuth':_0x235bd8[_0x27894a(0x1f7)],'url':_0x235bd8['url'],'force':_0x235bd8[_0x27894a(0x186)],'cdpEndpoint':_0x235bd8['cdp-endpoint'],'allowInsecureLocalhost':_0x235bd8[_0x27894a(0xdf)],'safeMode':_0x235bd8['safe-mode'],'setupHeader':_0x235bd8['setup-header'],'scope':_0x235bd8[_0x27894a(0x140)],'yes':_0x235bd8[_0x27894a(0x1c6)]},_0x2fd86f),{'isElectron':_0x1baa9b[_0x27894a(0x1de)](Boolean,_0x235bd8[_0x27894a(0x21c)])});})['command'](_0x51ce51['sZpEi'],_0x51ce51['tgZxZ'],_0x1595f1=>{const _0x41632a=_0x4e0eac;return _0x1595f1[_0x41632a(0x181)](_0x41632a(0x10e),{'type':_0x41632a(0x17d),'description':_0x51ce51[_0x41632a(0x1b4)],'demandOption':!![]});},async _0x4875bf=>{const _0xa1be2b=_0x4e0eac;await withTelemetry(_0x51ce51['KCoMp'],()=>useEnv(_0x4875bf[_0xa1be2b(0x10e)]));})[_0x4e0eac(0x19f)](_0x51ce51[_0x4e0eac(0x11b)],_0x51ce51[_0x4e0eac(0x11d)],_0x925805=>{const _0x2a2704=_0x4e0eac;return _0x925805['positional'](_0x51ce51[_0x2a2704(0x1cc)],{'type':_0x51ce51['iVnyr'],'description':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','demandOption':!![]})[_0x2a2704(0x159)](_0x51ce51[_0x2a2704(0xce)],{'type':_0x51ce51['gMTZo'],'alias':'y','description':_0x2a2704(0x113),'default':![]});},async _0x471607=>{const _0xd4496f=_0x4e0eac;await _0x51ce51['fiEKZ'](withTelemetry,_0x51ce51['NnGIJ'],()=>deleteProfile(_0x471607[_0xd4496f(0x10e)],{'yes':_0x471607[_0xd4496f(0x1c6)]}));})[_0x4e0eac(0x19f)](_0x51ce51[_0x4e0eac(0xc7)],![],_0x4d7dc6=>{const _0x498dd3=_0x4e0eac;return _0x4d7dc6['positional'](_0x51ce51[_0x498dd3(0x115)],{'type':_0x51ce51[_0x498dd3(0x1da)],'description':_0x498dd3(0x1ea),'demandOption':!![]});},async _0x57151a=>{const _0x266506=_0x4e0eac;await _0x1baa9b[_0x266506(0x252)](withTelemetry,_0x1baa9b['AuNuc'],()=>authEncrypt(_0x57151a['profile']));})[_0x4e0eac(0x19f)]('ls',_0x4e0eac(0x264),()=>{},async()=>{const _0xa67e1e=_0x4e0eac;await withTelemetry(_0xa67e1e(0x1f4),()=>envList());})['command']('update\x20<profile-name>','Update\x20authentication\x20for\x20an\x20existing\x20profile',_0x42707c=>{const _0x330d5f=_0x4e0eac;return _0x42707c['positional'](_0x1baa9b[_0x330d5f(0x176)],{'type':_0x1baa9b[_0x330d5f(0xec)],'description':_0x330d5f(0x262),'demandOption':!![]})[_0x330d5f(0x159)](_0x1baa9b['IXgBU'],{'type':_0x1baa9b[_0x330d5f(0x114)],'description':_0x1baa9b[_0x330d5f(0x1e6)]});},async _0x22cc72=>{const _0x58b2dc=_0x4e0eac;await withTelemetry(_0x51ce51['hycnu'],_0x36b26f=>updateEnv(_0x22cc72[_0x58b2dc(0x10e)],_0x36b26f,{'allowInsecureLocalhost':_0x22cc72[_0x58b2dc(0xdf)]}));})[_0x4e0eac(0x19f)]('login\x20<name>',![],_0x198ce3=>{const _0x4485af=_0x4e0eac;return _0x198ce3['positional'](_0x1baa9b[_0x4485af(0x150)],{'type':'string','description':_0x1baa9b[_0x4485af(0xf8)],'demandOption':!![]});},async _0x4c07c2=>{const _0x19b0fc=_0x4e0eac;await _0x51ce51[_0x19b0fc(0x1e7)](withTelemetry,_0x51ce51['rbvCR'],async()=>{const _0x3f73e2=_0x19b0fc,_0x5ab371=process['env'][_0x3f73e2(0x17a)],_0x4bcfb6=process[_0x3f73e2(0x1b9)][_0x3f73e2(0x13b)];(!_0x5ab371||!_0x4bcfb6)&&(console['error'](_0x1baa9b['vNYIm']),process[_0x3f73e2(0x171)](0x1));const _0x563709=_0x4c07c2[_0x3f73e2(0x15b)],_0x45c8b3=await _0x1baa9b[_0x3f73e2(0x1c7)](serverSideLogin,_0x563709,{'force':!![]});_0x45c8b3['status']===_0x3f73e2(0x127)&&(console['error'](_0x3f73e2(0x11e)),process[_0x3f73e2(0x171)](0x1)),_0x1baa9b[_0x3f73e2(0x14d)](_0x45c8b3['status'],_0x1baa9b['vWRTk'])&&(console[_0x3f73e2(0x1b8)]('Login\x20failed:\x20'+(_0x45c8b3['error']??'unknown\x20error')),_0x45c8b3['test_output']&&console['error'](_0x45c8b3['test_output']),process[_0x3f73e2(0x171)](0x1)),console[_0x3f73e2(0x1ee)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x563709+'\x27.\x20Session\x20saved.');});})[_0x4e0eac(0x19f)](_0x4e0eac(0x123),![],_0x4713d0=>{const _0x5b09a6=_0x4e0eac;return _0x4713d0[_0x5b09a6(0x181)]('profile-name',{'type':_0x1baa9b['ztymK'],'description':_0x1baa9b[_0x5b09a6(0x11a)]})['option'](_0x1baa9b['ZPwRz'],{'type':_0x1baa9b[_0x5b09a6(0x114)],'description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})['option'](_0x5b09a6(0xf4),{'type':_0x1baa9b['MYHjK'],'description':_0x1baa9b['HNtCd'],'default':![]})[_0x5b09a6(0x159)]('yes',{'type':'boolean','alias':'y','description':_0x1baa9b['ihQxY'],'default':![]})[_0x5b09a6(0x159)](_0x5b09a6(0x209),{'type':'boolean','description':_0x1baa9b[_0x5b09a6(0xd6)],'default':![]});},async _0x27d506=>{const _0x18abe5=_0x4e0eac;await _0x51ce51[_0x18abe5(0x10c)](withTelemetry,_0x18abe5(0x21e),_0x10eb7b=>migrateProfile({'profileName':_0x27d506[_0x18abe5(0x10e)],'all':_0x27d506[_0x18abe5(0x20d)],'dryRun':_0x27d506[_0x18abe5(0xf4)],'yes':_0x27d506[_0x18abe5(0x1c6)],'saveCreds':_0x27d506['save-creds']},_0x10eb7b));})[_0x4e0eac(0x19f)](_0x51ce51['JGQqb'],_0x51ce51[_0x4e0eac(0x191)],_0x253cfd=>{const _0x31476b=_0x4e0eac,_0x1c7fd0={'mSRzi':_0x31476b(0x17d),'LUWGA':_0x31476b(0x1fa),'XYqJn':_0x51ce51['JLKXo'],'VdVFp':_0x31476b(0x261),'mJvdY':function(_0x51af66,_0xc24f21,_0x4fd655){return _0x51af66(_0xc24f21,_0x4fd655);},'WmFll':_0x51ce51['uEaeX'],'DpBCz':'Profile\x20name','ivdZU':_0x51ce51[_0x31476b(0x22d)],'yItkt':_0x31476b(0x259)};return _0x253cfd['usage'](PROFILE_CONFIG_HELP)[_0x31476b(0x19f)](_0x31476b(0x22f),_0x51ce51[_0x31476b(0x130)],_0x3bec63=>{const _0x1d4989=_0x31476b;return _0x3bec63[_0x1d4989(0x181)](_0x1d4989(0x148),{'type':_0x1c7fd0['mSRzi'],'description':_0x1d4989(0x1ea),'demandOption':!![]})['positional'](_0x1d4989(0x17b),{'type':_0x1d4989(0x17d),'description':_0x1c7fd0['LUWGA'],'demandOption':!![]})['positional'](_0x1d4989(0x24b),{'type':'string','description':_0x1c7fd0['XYqJn'],'demandOption':!![]});},async _0x31fed7=>{const _0x3535a4=_0x31476b;await withTelemetry(_0x1c7fd0[_0x3535a4(0x200)],()=>configSet(_0x31fed7['profile'],_0x31fed7[_0x3535a4(0x17b)],_0x31fed7[_0x3535a4(0x24b)]));})['command']('get\x20<profile>\x20<key>','Get\x20a\x20config\x20value',_0x4a274b=>{const _0x425549=_0x31476b;return _0x4a274b['positional'](_0x1baa9b['VhReV'],{'type':_0x425549(0x17d),'description':_0x1baa9b[_0x425549(0x106)],'demandOption':!![]})[_0x425549(0x181)](_0x1baa9b[_0x425549(0x24e)],{'type':_0x1baa9b[_0x425549(0xec)],'description':'Config\x20key','demandOption':!![]});},async _0x1fef00=>{const _0x2a7ec5=_0x31476b;await _0x1c7fd0[_0x2a7ec5(0x248)](withTelemetry,_0x2a7ec5(0x1d8),()=>configGet(_0x1fef00[_0x2a7ec5(0x148)],_0x1fef00['key']));})['command'](_0x31476b(0x105),_0x31476b(0x1b7),_0x90347c=>{const _0x3dbba3=_0x31476b;return _0x90347c['positional']('profile',{'type':'string','description':_0x3dbba3(0x1ea),'demandOption':!![]});},async _0x9f89bc=>{await withTelemetry('profile\x20config\x20list',()=>configList(_0x9f89bc['profile']));})['command'](_0x51ce51[_0x31476b(0x25c)],_0x51ce51[_0x31476b(0x157)],_0x33d3ac=>{const _0x5ad8da=_0x31476b;return _0x33d3ac[_0x5ad8da(0x181)](_0x1c7fd0['WmFll'],{'type':_0x1c7fd0[_0x5ad8da(0x15a)],'description':_0x1c7fd0['DpBCz'],'demandOption':!![]})[_0x5ad8da(0x181)](_0x1c7fd0['ivdZU'],{'type':'string','description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x2182bb=>{const _0x587908=_0x31476b;await withTelemetry(_0x1c7fd0[_0x587908(0x235)],()=>configUnset(_0x2182bb[_0x587908(0x148)],_0x2182bb['key']));})['command'](_0x51ce51['pBdAI'],'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile',_0x195cf2=>{const _0x485297=_0x31476b;return _0x195cf2['positional'](_0x1c7fd0['WmFll'],{'type':_0x1c7fd0[_0x485297(0x15a)],'description':_0x1c7fd0['DpBCz'],'demandOption':!![]});},async _0x26c050=>{const _0x26f9a1=_0x31476b;await withTelemetry(_0x26f9a1(0x1e3),()=>configReset(_0x26c050['profile']));})[_0x31476b(0x1a5)](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})[_0x4e0eac(0x1a5)](0x1,_0x51ce51['FbuMl']);})[_0x5b666c(0x19f)](_0x51ce51[_0x5b666c(0x236)],'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{const _0x4e17e2=_0x5b666c;await withTelemetry(_0x4e17e2(0xc3),()=>status());})['command'](_0x51ce51['IVTNV'],'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x58d762=_0x5b666c;await withTelemetry(_0x51ce51[_0x58d762(0x124)],()=>update());})[_0x5b666c(0x19f)](_0x51ce51[_0x5b666c(0xe6)],'Print\x20the\x20current\x20CLI\x20access\x20token',()=>{},async()=>{const _0x2e8171=_0x5b666c,_0x1e98bb={'tQgEQ':function(_0x53f0a0){const _0x41de79=_0x4614;return _0x51ce51[_0x41de79(0xdc)](_0x53f0a0);}};await _0x51ce51['WZMDx'](withTelemetry,_0x51ce51[_0x2e8171(0xe6)],async()=>{const _0x399330=_0x2e8171,_0x49defb=await _0x1e98bb[_0x399330(0x229)](getToken);if(!_0x49defb)throw new Error('No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.');console[_0x399330(0x1ee)](_0x49defb);});})[_0x5b666c(0x19f)]('go','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.',_0x4233e4=>{const _0x299719=_0x5b666c;return _0x4233e4[_0x299719(0x159)](_0x51ce51['vMUCF'],{'type':_0x51ce51['iVnyr'],'description':_0x299719(0x12c)})[_0x299719(0x159)](_0x51ce51['uEaeX'],{'type':_0x51ce51[_0x299719(0x1da)],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)'})['option'](_0x51ce51[_0x299719(0xd2)],{'type':_0x299719(0x17d),'description':_0x51ce51[_0x299719(0x178)]})['option'](_0x299719(0x163),{'type':_0x51ce51['HRHST'],'description':'Scenario\x20index\x20(1-based)'})[_0x299719(0x159)](_0x51ce51[_0x299719(0x208)],{'type':_0x51ce51['iVnyr'],'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})['option'](_0x51ce51['ZDchL'],{'type':_0x299719(0x17d),'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.'})['option'](_0x299719(0x158),{'type':'string','description':_0x51ce51['HEcbx']})[_0x299719(0x159)](_0x51ce51['pZiPz'],{'type':_0x51ce51[_0x299719(0x20a)],'description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})['option'](_0x51ce51[_0x299719(0x111)],{'type':_0x51ce51[_0x299719(0x1da)],'hidden':!![],'choices':['verified','partial',_0x51ce51['oGStA'],_0x51ce51['JwGti'],'incomplete']})[_0x299719(0x159)](_0x51ce51[_0x299719(0x1cf)],{'type':_0x51ce51['gMTZo'],'hidden':!![]})[_0x299719(0x159)](_0x51ce51[_0x299719(0x242)],{'type':_0x299719(0x17d),'hidden':!![]})[_0x299719(0x159)](_0x299719(0x19c),{'type':_0x51ce51['iVnyr'],'hidden':!![]})[_0x299719(0x159)]('item',{'type':'number','hidden':!![]});},async _0x422320=>{await _0x51ce51['EdIKA'](runGoCommand,_0x422320);})['command'](_0x51ce51[_0x5b666c(0x1c0)],![],_0xc81ed1=>{const _0x54d54b=_0x5b666c;return _0xc81ed1[_0x54d54b(0x19f)](_0x51ce51['bbyJf'],![],_0x204556=>{const _0x50f874=_0x54d54b;return _0x204556['positional'](_0x50f874(0x148),{'type':_0x51ce51['iVnyr'],'description':_0x51ce51['aDLnG'],'demandOption':!![]});},async _0x4abaca=>{const _0x10186a=_0x54d54b;warnRenamed('ranger\x20auth\x20encrypt',_0x51ce51[_0x10186a(0x151)]),await authEncrypt(_0x4abaca['profile']);})['demandCommand'](0x1,_0x51ce51[_0x54d54b(0x179)]);},()=>{})['command']('start\x20[token]',![],_0x22956a=>{const _0x1dd59c=_0x5b666c;return _0x22956a['positional'](_0x51ce51['AIdvJ'],{'type':_0x51ce51['iVnyr'],'description':_0x51ce51[_0x1dd59c(0x1c5)]})['option']('skip-chromium',{'type':_0x51ce51['gMTZo'],'description':_0x51ce51['sFKOF'],'default':![]})['option'](_0x51ce51['Mrspb'],{'type':'string','choices':[_0x51ce51[_0x1dd59c(0x1ad)]],'hidden':!![],'description':_0x51ce51['pDWhN']})[_0x1dd59c(0x159)](_0x51ce51['nfBiZ'],{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})[_0x1dd59c(0x159)](_0x51ce51['YDYWH'],{'type':_0x51ce51[_0x1dd59c(0x20a)],'description':_0x1dd59c(0xe5),'default':![]})[_0x1dd59c(0x159)](_0x51ce51[_0x1dd59c(0x21b)],{'type':_0x51ce51[_0x1dd59c(0x20a)],'description':'Skip\x20authentication','default':![]})[_0x1dd59c(0x159)](_0x51ce51[_0x1dd59c(0x1a8)],{'type':_0x1dd59c(0x265),'description':_0x1dd59c(0x23a),'default':![]});},async _0x20e895=>{const _0xde0493=_0x5b666c;_0x51ce51[_0xde0493(0x1bf)](warnRenamed,_0xde0493(0x204),_0x51ce51['jriNW']),await _0x51ce51['MHGrS'](withTelemetry,_0xde0493(0x156),_0x159ac5=>start(_0x20e895[_0xde0493(0x16c)],{'skipChromium':_0x20e895[_0xde0493(0x1c1)],'skipAuth':_0x20e895['skip-auth'],'withDeps':_0x20e895[_0xde0493(0xd5)],'scope':_0x20e895['scope'],'url':_0x20e895['url'],'force':_0x20e895['force']},_0x159ac5));})[_0x5b666c(0x19f)]('verify-feature',![],_0x47e302=>{const _0x5330a5=_0x5b666c;return _0x47e302['option'](_0x5330a5(0x1b9),{'type':_0x5330a5(0x17d),'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})['option'](_0x51ce51['HUkQH'],{'type':_0x51ce51['iVnyr'],'description':_0x5330a5(0x131)})['option'](_0x51ce51['RvrLG'],{'type':_0x51ce51['HRHST'],'description':_0x5330a5(0x16a)})[_0x5330a5(0x159)](_0x51ce51['uEaeX'],{'type':_0x51ce51[_0x5330a5(0x1da)],'hidden':!![]})['option']('notes',{'type':'string','hidden':!![]})[_0x5330a5(0x159)](_0x51ce51['bRBLZ'],{'type':_0x5330a5(0x19d),'hidden':!![]})[_0x5330a5(0x159)](_0x51ce51[_0x5330a5(0x208)],{'type':_0x51ce51[_0x5330a5(0x1da)],'description':_0x51ce51[_0x5330a5(0xee)]})[_0x5330a5(0x159)](_0x5330a5(0x19a),{'type':'string','description':_0x5330a5(0x1e1)})[_0x5330a5(0x159)](_0x5330a5(0x158),{'type':_0x5330a5(0x17d),'hidden':!![]})[_0x5330a5(0x159)](_0x5330a5(0x1ff),{'type':_0x51ce51['gMTZo'],'hidden':!![],'default':![]})['option'](_0x5330a5(0x1f9),{'type':_0x51ce51['iVnyr'],'hidden':!![],'choices':[_0x51ce51[_0x5330a5(0x13d)],_0x5330a5(0xc5),'blocked',_0x51ce51['JwGti'],_0x51ce51[_0x5330a5(0x182)]]});},async _0x348b60=>{const _0x415b58=_0x5b666c;await _0x51ce51[_0x415b58(0xde)](runGoCommand,_0x348b60,!![]);})['command'](_0x51ce51['SuncM'],![],_0x15fecd=>{const _0x590923=_0x5b666c;return _0x15fecd['positional'](_0x51ce51[_0x590923(0x20f)],{'type':_0x590923(0x17d),'description':_0x590923(0xe3),'demandOption':!![]})[_0x590923(0x159)]('ci',{'type':_0x51ce51[_0x590923(0x20a)],'description':_0x51ce51['hgjeP'],'default':![]})['option']('skip-auth',{'type':_0x51ce51[_0x590923(0x20a)],'description':_0x51ce51[_0x590923(0x206)],'default':![]});},async _0x19a790=>{const _0x5c83a3=_0x5b666c;warnRenamed(_0x51ce51[_0x5c83a3(0x14a)],_0x5c83a3(0x14c)),await _0x51ce51[_0x5c83a3(0xfd)](withTelemetry,_0x51ce51['rdvzo'],_0x444c49=>addEnv(_0x19a790[_0x5c83a3(0x1a3)],{'ci':_0x19a790['ci'],'skipAuth':_0x19a790[_0x5c83a3(0x1f7)]},_0x444c49));})['command']('use\x20<env-name>',![],_0x57d44f=>{const _0x359f9e=_0x5b666c;return _0x57d44f['positional'](_0x51ce51['zqQeW'],{'type':_0x51ce51[_0x359f9e(0x1da)],'description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x25a588=>{const _0x2be794=_0x5b666c;_0x51ce51['vUmsY'](warnRenamed,_0x51ce51['zoXDD'],_0x51ce51[_0x2be794(0x234)]),await _0x51ce51[_0x2be794(0x1bf)](withTelemetry,_0x51ce51[_0x2be794(0x224)],()=>useEnv(_0x25a588[_0x2be794(0x1a3)]));})['command'](_0x51ce51['JGQqb'],![],_0x302ab6=>{const _0x51cac4=_0x5b666c,_0x3838de={'xsnjj':function(_0x84282e,_0x38095c,_0x3af201){return _0x84282e(_0x38095c,_0x3af201);},'evjwH':_0x51cac4(0xe8),'ToXtG':_0x51cac4(0x10d),'aaEPP':function(_0x2d978c,_0xf81c8b,_0x507b61){return _0x2d978c(_0xf81c8b,_0x507b61);},'GmEMU':'Environment\x20name','JHiVI':function(_0x1d18b8,_0x344392,_0x2b9053){return _0x1d18b8(_0x344392,_0x2b9053);},'HdKsU':'ranger\x20config\x20unset'};return _0x302ab6['command']('set\x20<env>\x20<key>\x20<value>',![],_0x1603b0=>{const _0x480ad2=_0x51cac4;return _0x1603b0['positional'](_0x51ce51['CkjUe'],{'type':_0x51ce51[_0x480ad2(0x1da)],'description':_0x51ce51['XyaHB'],'demandOption':!![]})[_0x480ad2(0x181)](_0x480ad2(0x17b),{'type':_0x480ad2(0x17d),'description':_0x480ad2(0x1fa),'demandOption':!![]})[_0x480ad2(0x181)](_0x51ce51[_0x480ad2(0x1e2)],{'type':_0x51ce51[_0x480ad2(0x1da)],'description':'Config\x20value','demandOption':!![]});},async _0x31e460=>{const _0x447212=_0x51cac4;_0x3838de[_0x447212(0x228)](warnRenamed,_0x3838de[_0x447212(0xc2)],_0x3838de[_0x447212(0x219)]),await _0x3838de['aaEPP'](withTelemetry,_0x447212(0x1d7),()=>configSet(_0x31e460['env'],_0x31e460['key'],_0x31e460['value']));})['command']('get\x20<env>\x20<key>',![],_0x5bbaf1=>{const _0x3c8cf3=_0x51cac4;return _0x5bbaf1[_0x3c8cf3(0x181)]('env',{'type':_0x51ce51['iVnyr'],'description':_0x3c8cf3(0xd4),'demandOption':!![]})[_0x3c8cf3(0x181)](_0x51ce51['TOdIu'],{'type':'string','description':_0x3c8cf3(0x12d),'demandOption':!![]});},async _0x2f43f7=>{const _0x1b78db=_0x51cac4;warnRenamed(_0x51ce51['eMzmD'],_0x51ce51['pkXcy']),await _0x51ce51[_0x1b78db(0x1d2)](withTelemetry,_0x1b78db(0x134),()=>configGet(_0x2f43f7[_0x1b78db(0x1b9)],_0x2f43f7['key']));})[_0x51cac4(0x19f)]('list\x20<env>',![],_0x573c83=>{const _0xfe3450=_0x51cac4;return _0x573c83['positional']('env',{'type':_0xfe3450(0x17d),'description':_0x3838de['GmEMU'],'demandOption':!![]});},async _0x382eb7=>{const _0x44b55f=_0x51cac4;_0x3838de['JHiVI'](warnRenamed,'ranger\x20config\x20list',_0x44b55f(0xf2)),await withTelemetry(_0x44b55f(0x211),()=>configList(_0x382eb7['env']));})['command'](_0x51ce51[_0x51cac4(0x1dc)],![],_0x2a9bf3=>{const _0x6095cb=_0x51cac4;return _0x2a9bf3['positional']('env',{'type':_0x51ce51[_0x6095cb(0x1da)],'description':_0x51ce51['XyaHB'],'demandOption':!![]})[_0x6095cb(0x181)](_0x51ce51['TOdIu'],{'type':'string','description':_0x6095cb(0x196),'demandOption':!![]});},async _0x41f5cd=>{const _0x1fcfe6=_0x51cac4;warnRenamed(_0x3838de['HdKsU'],_0x1fcfe6(0x1f5)),await withTelemetry('config\x20unset',()=>configUnset(_0x41f5cd['env'],_0x41f5cd['key']));})[_0x51cac4(0x1a5)](0x1,_0x51ce51[_0x51cac4(0xed)]);})['command'](_0x5b666c(0x1b9),![],_0x63b65=>{const _0x131f31=_0x5b666c,_0x149be4={'gGess':_0x51ce51['KzWGH'],'yUvFN':function(_0x4dc849,_0x1dddc0,_0x35cb45){return _0x4dc849(_0x1dddc0,_0x35cb45);},'OBmZd':function(_0x35cdb9,_0x21f8da,_0x5c9947){return _0x35cdb9(_0x21f8da,_0x5c9947);}};return _0x63b65[_0x131f31(0x19f)]('ls',![],()=>{},async()=>{_0x51ce51['ApPAO'](warnRenamed,'ranger\x20env\x20ls',_0x51ce51['wPKrk']),await _0x51ce51['kybdP'](withTelemetry,'env\x20list',()=>envList());})['command'](_0x51ce51[_0x131f31(0x18e)],![],_0x18a535=>{const _0x31f7ce=_0x131f31;return _0x18a535['positional'](_0x31f7ce(0x1a3),{'type':'string','description':_0x149be4['gGess'],'demandOption':!![]});},async _0x28302d=>{const _0x147417=_0x131f31;_0x149be4[_0x147417(0x213)](warnRenamed,'ranger\x20env\x20update','ranger\x20profile\x20update'),await _0x149be4[_0x147417(0x146)](withTelemetry,'env\x20update',_0x11c208=>updateEnv(_0x28302d[_0x147417(0x1a3)],_0x11c208));})[_0x131f31(0x1a5)](0x1,'You\x20must\x20specify\x20an\x20env\x20subcommand');})[_0x5b666c(0x19f)](_0x51ce51[_0x5b666c(0x1b3)],![],_0xd87410=>{const _0xfd151d=_0x5b666c,_0x3d7d9e={'lnaQg':_0x51ce51[_0xfd151d(0x154)],'NKAMt':_0x51ce51[_0xfd151d(0xe0)],'Aiofl':_0xfd151d(0x226),'hSBFO':_0xfd151d(0x128),'Utlig':function(_0xdac5b3,_0x4b974d,_0x3026d4){return _0xdac5b3(_0x4b974d,_0x3026d4);},'vHibO':'feature\x20create','ztxDn':_0x51ce51[_0xfd151d(0xcd)],'aOUcB':'string','FGqFC':_0x51ce51[_0xfd151d(0x11f)],'enVhW':_0x51ce51['bqdWc'],'jmGzb':_0x51ce51[_0xfd151d(0x266)],'CCSIO':'ranger\x20add-scenario','HpQqa':function(_0xb6af5c,_0x4fd9c4,_0x517015){return _0xb6af5c(_0x4fd9c4,_0x517015);},'IUNEA':function(_0xc5a81f,_0x601b40,_0x154127){return _0xc5a81f(_0x601b40,_0x154127);}};return _0xd87410[_0xfd151d(0x19f)]('create\x20<name>',![],_0x336945=>{const _0x232f66=_0xfd151d;return _0x336945[_0x232f66(0x181)](_0x232f66(0x15b),{'type':_0x232f66(0x17d),'description':_0x51ce51['tehOo'],'demandOption':!![]})['option'](_0x232f66(0x1ae),{'type':'string','alias':'d','description':_0x51ce51['HHiTO']})['option']('checklist',{'type':_0x51ce51[_0x232f66(0x16d)],'alias':'c','description':_0x51ce51['EkYQp']})[_0x232f66(0x159)](_0x232f66(0x163),{'type':_0x51ce51[_0x232f66(0x16d)],'hidden':!![]});},async _0x1d1c1c=>{const _0x449ebb=_0xfd151d;warnRenamed(_0x3d7d9e[_0x449ebb(0x256)],_0x3d7d9e[_0x449ebb(0x25a)]),warnFlagRenamed('ranger\x20create',_0x3d7d9e['Aiofl'],_0x3d7d9e['hSBFO']);const _0x53849e=_0x1d1c1c['scenario']||_0x1d1c1c['checklist'];await _0x3d7d9e[_0x449ebb(0x12b)](withTelemetry,_0x3d7d9e[_0x449ebb(0x1e4)],()=>featureCreate(_0x1d1c1c[_0x449ebb(0x15b)],{'description':_0x1d1c1c['description'],'scenarios':_0x53849e}));})['command'](_0xfd151d(0x175),![],_0x47dedf=>{const _0x351690=_0xfd151d;return _0x47dedf['option'](_0x351690(0x21f),{'type':_0x351690(0x265),'description':_0x51ce51[_0x351690(0x165)]})['option'](_0x351690(0x240),{'type':_0x51ce51['HRHST'],'alias':'l','description':_0x51ce51['DXQdG'],'default':0xa})['option'](_0x51ce51[_0x351690(0x233)],{'type':_0x51ce51[_0x351690(0x116)],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x351690(0x159)](_0x51ce51[_0x351690(0x194)],{'type':'boolean','alias':'d','description':_0x51ce51['hSYsm'],'default':![]});},async _0x2baf61=>{const _0x2764e0=_0xfd151d;_0x51ce51[_0x2764e0(0xfd)](warnRenamed,'ranger\x20feature\x20list','ranger\x20list'),await _0x51ce51['vUmsY'](withTelemetry,_0x51ce51[_0x2764e0(0x1ec)],()=>featureList({'currentBranch':_0x2baf61[_0x2764e0(0x21f)],'limit':_0x2baf61['limit'],'offset':_0x2baf61['offset'],'includeDeleted':_0x2baf61[_0x2764e0(0x1b5)]}));})[_0xfd151d(0x19f)](_0x51ce51['vrtKW'],![],_0xf99eda=>{const _0x4d0cef=_0xfd151d;return _0xf99eda['positional']('id',{'type':_0x51ce51[_0x4d0cef(0x1da)],'description':_0x4d0cef(0x1e0)});},async _0x471480=>{const _0xf915f6=_0xfd151d;warnRenamed(_0x51ce51['MGbDZ'],_0x51ce51[_0xf915f6(0x16f)]),await _0x51ce51['MHGrS'](withTelemetry,'feature\x20show',()=>featureShow(_0x471480['id']));})[_0xfd151d(0x19f)](_0xfd151d(0x168),![],_0x1c3b1d=>{return _0x1c3b1d['positional']('id',{'type':'string','description':_0x51ce51['pOgll']});},async _0x5c808b=>{const _0x40ad39=_0xfd151d;warnRenamed(_0x40ad39(0x232),_0x40ad39(0x10b)),await withTelemetry('feature\x20resume',()=>featureResume(_0x5c808b['id']));})['command'](_0x51ce51[_0xfd151d(0x103)],![],_0x16aa6d=>{const _0x46e61a=_0xfd151d;return _0x16aa6d['positional'](_0x3d7d9e['ztxDn'],{'type':_0x3d7d9e[_0x46e61a(0x230)],'description':_0x3d7d9e[_0x46e61a(0x202)],'demandOption':!![]})[_0x46e61a(0x159)]('id',{'type':'string','description':_0x3d7d9e['enVhW']});},async _0x3f1b70=>{const _0x2efd5a=_0xfd151d;warnRenamed(_0x3d7d9e['jmGzb'],_0x3d7d9e['CCSIO']),await _0x3d7d9e['Utlig'](withTelemetry,_0x2efd5a(0x17f),()=>featureAddScenario(_0x3f1b70[_0x2efd5a(0x1ae)],_0x3f1b70['id']));})[_0xfd151d(0x19f)]('get-feedback\x20[id]',![],_0x324cdf=>{const _0x5cf1ce=_0xfd151d;return _0x324cdf[_0x5cf1ce(0x181)]('id',{'type':_0x3d7d9e['aOUcB'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x55c510=>{const _0x57f218=_0xfd151d;_0x51ce51[_0x57f218(0x10c)](warnRenamed,_0x57f218(0x249),_0x57f218(0x1e5)),await _0x51ce51[_0x57f218(0x1aa)](withTelemetry,_0x57f218(0x244),()=>featureGetReview(_0x55c510['id']));})[_0xfd151d(0x19f)](_0xfd151d(0x193),![],_0x531e3b=>{const _0x501bde=_0xfd151d;return _0x531e3b['positional']('id',{'type':_0x501bde(0x17d),'description':_0x501bde(0x1e0)});},async _0x2deb68=>{const _0x2ba224=_0xfd151d;_0x3d7d9e['HpQqa'](warnRenamed,_0x2ba224(0x23e),_0x2ba224(0x227)),await _0x3d7d9e[_0x2ba224(0x1dd)](withTelemetry,_0x2ba224(0x120),()=>featureDelete(_0x2deb68['id']));})[_0xfd151d(0x19f)]('restore\x20<id>',![],_0x442191=>{const _0x455096=_0xfd151d;return _0x442191[_0x455096(0x181)]('id',{'type':'string','description':_0x51ce51['riZvX'],'demandOption':!![]});},async _0x2d3b32=>{const _0x12f681=_0xfd151d;warnRenamed('ranger\x20feature\x20restore','ranger\x20restore'),await _0x51ce51['zVLpP'](withTelemetry,_0x12f681(0x22c),()=>featureRestore(_0x2d3b32['id']));})['demandCommand'](0x1,_0x51ce51['TBdTl']);})[_0x5b666c(0x19f)](_0x51ce51[_0x5b666c(0x1a1)],![],_0x56c88d=>{const _0x2e6b9d=_0x5b666c,_0x30c94d={'mWfGW':function(_0x1ac1ff,_0x46a0d4,_0xae1a1a){return _0x51ce51['OxNXI'](_0x1ac1ff,_0x46a0d4,_0xae1a1a);},'FGIpl':_0x51ce51[_0x2e6b9d(0x218)]};return _0x56c88d[_0x2e6b9d(0x19f)](_0x51ce51[_0x2e6b9d(0x237)],'Enable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x31b904=>{const _0x55c2f9=_0x2e6b9d;return _0x31b904[_0x55c2f9(0x159)](_0x51ce51[_0x55c2f9(0x125)],{'type':_0x51ce51[_0x55c2f9(0x1da)],'description':_0x55c2f9(0x1b1)});},async _0x157f92=>{const _0x4dc21c=_0x2e6b9d;await _0x30c94d[_0x4dc21c(0x1ba)](withTelemetry,'hook:enable',()=>hook('enable',_0x157f92['session-id']));})['command'](_0x2e6b9d(0x1d6),_0x2e6b9d(0xd7),_0x5cc1ec=>{const _0x49d8f8=_0x2e6b9d;return _0x5cc1ec[_0x49d8f8(0x159)](_0x51ce51[_0x49d8f8(0x125)],{'type':_0x51ce51[_0x49d8f8(0x1da)],'description':_0x51ce51['MBfFH']});},async _0x58729c=>{const _0x160a09=_0x2e6b9d;await _0x30c94d[_0x160a09(0x1ba)](withTelemetry,_0x30c94d[_0x160a09(0xc8)],()=>hook(_0x160a09(0x1d6),_0x58729c[_0x160a09(0x23c)]));})['option'](_0x51ce51['RpLhb'],{'type':_0x51ce51['iVnyr'],'description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})['option'](_0x2e6b9d(0x23c),{'type':_0x2e6b9d(0x17d),'description':_0x51ce51['MBfFH']});},async _0x303d70=>{const _0x39653f=_0x5b666c;_0x303d70[_0x39653f(0x15b)]&&await hook(_0x303d70['name'],_0x303d70[_0x51ce51[_0x39653f(0x125)]]);})['demandCommand'](0x1,_0x51ce51[_0x5b666c(0x1fd)])['strictCommands']()[_0x5b666c(0x1a7)](async(_0x20be58,_0x1d8738,_0x545d5c)=>{const _0x3b51ac=_0x5b666c,_0x3da8af=_0x51ce51[_0x3b51ac(0x245)](sanitizeArgs,process[_0x3b51ac(0x1f8)]['slice'](0x2)),_0xd77686=getErrorType(_0x20be58,_0x1d8738);if(_0x20be58&&_0x20be58[_0x3b51ac(0xf1)]('Unknown\x20command')){const _0x42b62c=process['argv'][0x2];console['error']('\x0aUnknown\x20command:\x20'+_0x42b62c),console[_0x3b51ac(0x1b8)](_0x51ce51[_0x3b51ac(0x21a)]);}else{if(_0x20be58)console['error']('\x0a'+_0x20be58+'\x0a');else _0x1d8738&&console['error'](_0x3b51ac(0x138)+_0x1d8738[_0x3b51ac(0x152)]+'\x0a');}await logDesirePath({'rawCommand':_0x3da8af,'errorMessage':_0x20be58||_0x1d8738?.['message'],'errorType':_0xd77686});const _0x5c01d7=_0x51ce51[_0x3b51ac(0xdc)](getCurrentCollector);_0x5c01d7&&await _0x5c01d7['trackCommandError'](_0x1d8738||new Error(_0x20be58||_0x51ce51['UDmBM'])),process[_0x3b51ac(0x171)](0x1);})[_0x5b666c(0xca)](_0x51ce51[_0x5b666c(0x268)](_0x5b666c(0xe2)+_0x51ce51[_0x5b666c(0x203)],_0x51ce51[_0x5b666c(0x253)]))[_0x5b666c(0x149)]()['alias'](_0x51ce51['UxLfn'],'h');}process[_0x243442(0x1b9)][_0x243442(0x21d)]!==_0x243442(0x160)&&(shouldShowLegacyWarning(process[_0x243442(0x1f8)])&&showLegacyDeprecationWarning(),buildParser()['parse']());
|