@ranger-testing/ranger-cli 3.0.1-alpha.ffffb5b-28 → 3.1.1-alpha.08fb70e-39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cli.js +1 -1
- package/build/commands/addEnv.js +1 -1
- package/build/commands/authEncrypt.js +1 -1
- package/build/commands/clean.js +1 -1
- package/build/commands/config.js +1 -1
- package/build/commands/deleteProfile.js +1 -1
- package/build/commands/env.js +1 -1
- package/build/commands/feature.js +1 -1
- package/build/commands/hook.js +1 -1
- package/build/commands/hooks/autoPrompt.js +1 -1
- package/build/commands/hooks/disable.js +1 -1
- package/build/commands/hooks/enable.js +1 -1
- package/build/commands/hooks/exitPlanMode.js +1 -1
- package/build/commands/hooks/index.js +1 -1
- package/build/commands/hooks/output.js +1 -1
- package/build/commands/hooks/planReminder.js +1 -1
- package/build/commands/hooks/planStart.js +1 -1
- package/build/commands/hooks/postEdit.js +1 -1
- package/build/commands/hooks/preCompact.js +1 -1
- package/build/commands/hooks/sessionEnd.js +1 -1
- package/build/commands/hooks/sessionStart.js +1 -1
- package/build/commands/hooks/stopHook.js +1 -1
- package/build/commands/index.js +1 -1
- package/build/commands/login.js +1 -1
- package/build/commands/mcpBootstrap.js +1 -1
- package/build/commands/migrateProfile.js +1 -1
- package/build/commands/setup/claude.js +1 -1
- package/build/commands/setup/opencode.js +1 -1
- package/build/commands/setupCi.js +1 -1
- package/build/commands/skillup.js +1 -1
- package/build/commands/start.js +1 -1
- package/build/commands/status.js +1 -1
- package/build/commands/update.js +1 -1
- package/build/commands/updateEnv.js +1 -1
- package/build/commands/useEnv.js +1 -1
- package/build/commands/utils/activeProfile.js +1 -1
- package/build/commands/utils/agentEnv.js +1 -1
- package/build/commands/utils/browserSessionsApi.js +1 -1
- package/build/commands/utils/claudeConfig.js +1 -1
- package/build/commands/utils/claudeOverrideSettings.js +1 -1
- package/build/commands/utils/claudePlugin.js +1 -1
- package/build/commands/utils/cloudProfile.js +1 -1
- package/build/commands/utils/cloudProfileSession.js +1 -1
- package/build/commands/utils/crypto.js +1 -1
- package/build/commands/utils/desirePathLog.js +1 -1
- package/build/commands/utils/deviceAuth.js +1 -1
- package/build/commands/utils/environment.js +1 -1
- package/build/commands/utils/featureApi.js +1 -1
- package/build/commands/utils/fixWebmDuration.js +1 -1
- package/build/commands/utils/gitTracked.js +1 -1
- package/build/commands/utils/keychain.js +1 -1
- package/build/commands/utils/legacyWarning.js +1 -1
- package/build/commands/utils/localAgentInstallationsApi.js +1 -1
- package/build/commands/utils/matchAuthEnvironment.js +1 -1
- package/build/commands/utils/mcpImageBase64.js +1 -1
- package/build/commands/utils/model.js +1 -1
- package/build/commands/utils/novaActCli.js +1 -1
- package/build/commands/utils/opencodeConfig.js +1 -1
- package/build/commands/utils/organizationEnvApi.js +1 -0
- package/build/commands/utils/playwrightCli.js +1 -1
- package/build/commands/utils/profileMessages.js +1 -1
- package/build/commands/utils/profileSetupBanner.js +1 -1
- package/build/commands/utils/projectsConfig.js +1 -1
- package/build/commands/utils/rangerConfig.js +1 -1
- package/build/commands/utils/rangerRoot.js +1 -1
- package/build/commands/utils/rangerwrightCli.js +1 -0
- 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/tunnelClient.js +1 -0
- package/build/commands/utils/userApi.js +1 -1
- package/build/commands/utils/version.js +1 -1
- package/build/commands/verifyFeature.js +1 -1
- package/build/commands/verifyFeatureCli.js +1 -1
- package/build/commands/verifyFeatureNovaCli.js +1 -1
- package/build/commands/verifyFeatureRangerwrightCli.js +1 -0
- package/package.json +4 -1
package/build/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x463399=_0x2d80;(function(_0x26e74b,_0x39e15a){const _0x176c76=_0x2d80,_0x3b2833=_0x26e74b();while(!![]){try{const _0x53c073=parseInt(_0x176c76(0x2f0))/0x1+parseInt(_0x176c76(0x1f7))/0x2*(-parseInt(_0x176c76(0x2d8))/0x3)+parseInt(_0x176c76(0x31c))/0x4*(-parseInt(_0x176c76(0x19e))/0x5)+-parseInt(_0x176c76(0x26b))/0x6+-parseInt(_0x176c76(0x2d5))/0x7*(-parseInt(_0x176c76(0x215))/0x8)+-parseInt(_0x176c76(0x2fb))/0x9+parseInt(_0x176c76(0x2d0))/0xa;if(_0x53c073===_0x39e15a)break;else _0x3b2833['push'](_0x3b2833['shift']());}catch(_0x2c90ed){_0x3b2833['push'](_0x3b2833['shift']());}}}(_0x1cbb,0xec67a));import _0x3aa8be from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x4be1a5=_0x2d80,_0xc5cb4b={'QKBQY':function(_0x5e24ec,_0x1254ba){return _0x5e24ec!==_0x1254ba;},'rWzCR':function(_0x46f9d9,_0x3f6366){return _0x46f9d9(_0x3f6366);},'amGxh':function(_0x1c3e83,_0x42e86a,_0x4b1a03){return _0x1c3e83(_0x42e86a,_0x4b1a03);},'OZliA':'.ranger','ywMTR':function(_0x37cb47,_0x39dfa7){return _0x37cb47(_0x39dfa7);}};let _0x33bb11=process[_0x4be1a5(0x301)]();const _0x3e264d=parse(_0x33bb11)['root'];while(_0xc5cb4b[_0x4be1a5(0x2e8)](_0x33bb11,_0x3e264d)){if(_0xc5cb4b['rWzCR'](existsSync,_0xc5cb4b[_0x4be1a5(0x2fd)](join,_0x33bb11,_0xc5cb4b[_0x4be1a5(0x227)]))||_0xc5cb4b['ywMTR'](existsSync,_0xc5cb4b['amGxh'](join,_0x33bb11,'.env')))return _0x33bb11;_0x33bb11=dirname(_0x33bb11);}return process['cwd']();}_0x3aa8be[_0x463399(0x285)]({'path':join(findProjectRoot(),'.env')});import _0x50a9a2 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';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'](_0x463399(0x2f3),async _0x6e3b2d=>{const _0x775079={'nbOnp':function(_0x3136c2){return _0x3136c2();}},_0x2c1d70=_0x775079['nbOnp'](getCurrentCollector);_0x2c1d70&&await _0x2c1d70['trackCommandError'](_0x6e3b2d),process['exitCode']=0x1;});const rawArgs=process['argv']['slice'](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\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.',PROFILE_HELP=_0x463399(0x317),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 _0x2d80(_0x235d4a,_0x33dfe8){_0x235d4a=_0x235d4a-0x192;const _0x1cbb0d=_0x1cbb();let _0x2d80cc=_0x1cbb0d[_0x235d4a];return _0x2d80cc;}function warnRenamed(_0x56aa1b,_0x5dbe73){const _0x558a61=_0x463399;console['error']('\x0a'+_0x56aa1b+_0x558a61(0x1ac)+_0x5dbe73+'\x0a');}function argUsed(_0x1912ab){const _0x349d77=_0x463399;return rawArgs[_0x349d77(0x2a9)](_0x58000b=>_0x58000b===_0x1912ab||_0x58000b['startsWith'](_0x1912ab+'='));}function warnFlagRenamed(_0x467f9b,_0x425e3c,_0x316aae){const _0x203c80=_0x463399,_0x1dd21f={'EfLJl':function(_0x582c95,_0x6632d5){return _0x582c95(_0x6632d5);},'wbQyX':function(_0x15ee8c,_0x29b216,_0x2cde5e){return _0x15ee8c(_0x29b216,_0x2cde5e);}};_0x1dd21f[_0x203c80(0x32d)](argUsed,_0x425e3c)&&_0x1dd21f[_0x203c80(0x277)](warnRenamed,_0x467f9b+'\x20'+_0x425e3c,_0x467f9b+'\x20'+_0x316aae);}async function runGoCommand(_0x598251,_0xa04c25=![]){const _0x50ecb8=_0x463399,_0x37081d={'zUTHA':function(_0x256ac4,_0x5df499){return _0x256ac4+_0x5df499;},'RAluL':'ranger\x20verify-feature','XMexw':_0x50ecb8(0x251),'GLZZo':_0x50ecb8(0x1b7),'ORAxe':_0x50ecb8(0x1ad),'fqjto':function(_0x106b63,_0x1f2152,_0x1ed29c,_0x253982){return _0x106b63(_0x1f2152,_0x1ed29c,_0x253982);},'aaQzq':'--task','pqgTL':'--notes','jXNJJ':function(_0x1ae71f,_0xedd4a,_0x322c68,_0x26f7ac){return _0x1ae71f(_0xedd4a,_0x322c68,_0x26f7ac);},'RleWw':function(_0x24ee16){return _0x24ee16();},'cSquX':function(_0x4564f9,_0x31bab4){return _0x4564f9(_0x31bab4);},'HsupL':_0x50ecb8(0x300),'EniDy':function(_0x311e87,_0x5a321a){return _0x311e87===_0x5a321a;},'omNoW':_0x50ecb8(0x29f),'DGbjV':'\x20FAILED'};_0xa04c25&&warnRenamed(_0x37081d['RAluL'],_0x37081d['XMexw']);warnFlagRenamed(_0x37081d[_0x50ecb8(0x1e9)],_0x37081d['GLZZo'],_0x37081d[_0x50ecb8(0x23b)]),_0x37081d[_0x50ecb8(0x25c)](warnFlagRenamed,_0x37081d[_0x50ecb8(0x1e9)],_0x37081d['aaQzq'],_0x37081d[_0x50ecb8(0x309)]),_0x37081d[_0x50ecb8(0x2db)](warnFlagRenamed,'ranger\x20go',_0x50ecb8(0x24f),'--scenario');const _0x148747=await loadRangerConfig(),_0x535eb8=_0x37081d[_0x50ecb8(0x20c)](isByokEnabled),_0x2c506a=_0x598251['model'],_0x17990e=_0x148747['model'],_0x5344af=await _0x37081d['cSquX'](verifyFeature,{'featureId':_0x598251['feature'],'profile':_0x598251['profile']??_0x598251['env']??process[_0x50ecb8(0x1b9)]['RANGER_PROFILE'],'notes':_0x598251[_0x50ecb8(0x293)]??_0x598251['task'],'scenario':_0x598251[_0x50ecb8(0x194)]??_0x598251['item'],'startPath':_0x598251[_0x37081d[_0x50ecb8(0x29d)]],'baseUrl':_0x598251['base-url'],'debugOutcome':_0x598251['debug-outcome'],'debugAddressComments':_0x598251[_0x50ecb8(0x346)],'headed':_0x598251['headed'],'byokEnabled':_0x535eb8,'flagVerifyModel':_0x2c506a,'configVerifyModel':_0x17990e});console['log']('\x0a'+'='['repeat'](0x3c)),console[_0x50ecb8(0x210)](_0x37081d['EniDy'](_0x5344af[_0x50ecb8(0x19a)],'verified')?'\x20VERIFIED':_0x5344af[_0x50ecb8(0x19a)]===_0x50ecb8(0x204)?_0x37081d[_0x50ecb8(0x1a0)]:_0x37081d['EniDy'](_0x5344af[_0x50ecb8(0x19a)],_0x50ecb8(0x32f))?'\x20PARTIAL':_0x37081d[_0x50ecb8(0x2ea)](_0x5344af['evaluation'],_0x50ecb8(0x201))?'\x20BLOCKED':_0x37081d['DGbjV']),console['log']('='[_0x50ecb8(0x1cb)](0x3c)),console['log'](_0x50ecb8(0x1c0)+_0x5344af[_0x50ecb8(0x21c)]),console['log'](_0x50ecb8(0x1eb)+_0x5344af['evaluation']),console[_0x50ecb8(0x210)](_0x50ecb8(0x342)+_0x5344af[_0x50ecb8(0x1ae)]),_0x5344af[_0x50ecb8(0x33d)]?.['length']&&(console['log'](_0x50ecb8(0x2a5)),_0x5344af[_0x50ecb8(0x33d)][_0x50ecb8(0x2c5)]((_0x4c1607,_0x2fb2fa)=>{const _0x449063=_0x50ecb8;console[_0x449063(0x210)]('\x0a'+_0x37081d[_0x449063(0x217)](_0x2fb2fa,0x1)+_0x449063(0x1e6)+_0x4c1607[_0x449063(0x1ef)]+']\x20'+_0x4c1607['description']);})),process[_0x50ecb8(0x20f)](_0x37081d[_0x50ecb8(0x2ea)](_0x5344af['evaluation'],_0x50ecb8(0x256))?0x0:0x1);}export function buildParser(_0x322694){const _0x488281=_0x463399,_0x3a6e96={'tnpBG':'Feature\x20review\x20name','mYqXX':'description','bvADJ':'Feature\x20review\x20description','WtDHb':_0x488281(0x194),'YLbuj':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','aqttb':_0x488281(0x302),'XDsKS':'Example:\x20ranger\x20create\x20my-feature','qIUgV':function(_0xe02b6e,_0x34af16,_0x3ce35d,_0x4b97ea){return _0xe02b6e(_0x34af16,_0x3ce35d,_0x4b97ea);},'GAoHb':function(_0x16a67d,_0x2c1c36,_0x529f87){return _0x16a67d(_0x2c1c36,_0x529f87);},'gzGFs':'create','MOKcB':'current-branch','cYTIP':'boolean','Ycuoa':_0x488281(0x266),'bzPFH':'limit','LXiXH':'offset','HGcEi':'Number\x20of\x20feature\x20reviews\x20to\x20skip','hDMDy':'include-deleted','hexRl':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','bMBlk':_0x488281(0x1f5),'jXcMz':_0x488281(0x2c7),'xaRrg':_0x488281(0x263),'FFyDp':function(_0x1f2217,_0x4e5e69,_0x2a7a00){return _0x1f2217(_0x4e5e69,_0x2a7a00);},'GrcTD':_0x488281(0x2de),'pxioj':'number','CYzTA':_0x488281(0x353),'YeAIp':'edit-scenario','Wxpln':_0x488281(0x295),'qWmPr':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','HOCTL':_0x488281(0x272),'AdMxD':_0x488281(0x2b2),'yXwUx':'delete','mQhuB':'Feature\x20review\x20ID\x20to\x20restore','fWxkm':'restore','iNnhf':_0x488281(0x1e5),'olzzD':'token','KzvAO':_0x488281(0x209),'pguyC':'setup:login','eGAvh':_0x488281(0x212),'lXkFU':'project','gfXDL':'Install\x20scope\x20for\x20plugin\x20and\x20skills','vqeiJ':'skip-auth','FCTaC':_0x488281(0x1c9),'FlorS':_0x488281(0x29b),'Zzonr':function(_0x30928c){return _0x30928c();},'ZEuxg':function(_0x17a0e8,_0x45672b){return _0x17a0e8(_0x45672b);},'ATWdq':function(_0x524533,_0x26c986){return _0x524533(_0x26c986);},'gjbpt':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','rELum':'Skip\x20browser\x20authentication','vFshB':_0x488281(0x1a7),'PdfJY':_0x488281(0x2e2),'kFafN':'all','vgDRm':'skills','RORZy':_0x488281(0x1aa),'AkerK':_0x488281(0x294),'oPFlk':_0x488281(0x274),'AfyZI':_0x488281(0x2df),'yeXce':_0x488281(0x2c4),'ACxlp':_0x488281(0x1f3),'ECEJs':_0x488281(0x237),'aMBuI':_0x488281(0x347),'fnpyV':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','PQQhy':'API\x20token','tqyyg':_0x488281(0x2e3),'qHPgs':_0x488281(0x23f),'tDBXs':_0x488281(0x25a),'LnuuO':_0x488281(0x339),'NHWYP':_0x488281(0x205),'KbBFl':_0x488281(0x2e7),'nRtwy':'opencode','llhoK':_0x488281(0x30e),'LaBrs':_0x488281(0x322),'nGzNi':_0x488281(0x234),'vkLvo':_0x488281(0x279),'JTXEe':'Name\x20of\x20the\x20profile\x20to\x20update','Itjms':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','ATsEg':function(_0x33a961,_0x3b8268,_0x4fc6ee){return _0x33a961(_0x3b8268,_0x4fc6ee);},'KKsmx':'profile\x20config\x20set','LGBfe':'profile\x20config\x20list','HDCDF':'set\x20<profile>\x20<key>\x20<value>','WJqBw':'get\x20<profile>\x20<key>','zyLNR':_0x488281(0x2cb),'wbVmn':'List\x20all\x20config\x20for\x20a\x20profile','JiHdT':_0x488281(0x23a),'xZSLn':'Remove\x20a\x20config\x20value','ntDRt':'reset\x20<profile>','fRViv':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','FApQt':_0x488281(0x2f5),'LbCed':'cdp-endpoint','stDhl':_0x488281(0x354),'QdOCk':'safe-mode','kFLzo':_0x488281(0x1bd),'ubfhs':'user','nJscT':function(_0x442cbe,_0x177ef8,_0x2e1bd9,_0x523ed1){return _0x442cbe(_0x177ef8,_0x2e1bd9,_0x523ed1);},'IlLvG':function(_0x74712c,_0x329691){return _0x74712c(_0x329691);},'RfQsA':'No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','ezuRz':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','QUQwT':'profile\x20migrate','czjJM':_0x488281(0x2c1),'kxuFe':'Profile\x20name','gDWbx':_0x488281(0x2bd),'TiMac':_0x488281(0x2f1),'EtBQc':_0x488281(0x1bb),'LzWqj':_0x488281(0x2f8),'ZjzLF':_0x488281(0x1b8),'vvGdn':_0x488281(0x22a),'ujuUp':_0x488281(0x20d),'LAlTU':'login\x20<name>','eWVsT':'config','amHNg':_0x488281(0x269),'dqmSd':_0x488281(0x34a),'OiGFJ':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','Jnden':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','XrBUq':'start-path','weQEG':_0x488281(0x2e4),'skwPS':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','khDDp':'model','rAorf':_0x488281(0x26d),'iQZTT':_0x488281(0x355),'nkojd':_0x488281(0x28d),'xhLgP':'partial','LwKzn':_0x488281(0x201),'LzXwu':_0x488281(0x204),'Qvimb':'debug-address-comments','nCRyo':_0x488281(0x233),'vpbmn':'skip-chromium','sdEKM':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','lXOOg':_0x488281(0x2c9),'aFfxP':_0x488281(0x2f4),'dCnhb':_0x488281(0x359),'YRFSZ':_0x488281(0x276),'DZCbT':function(_0x4dbd22,_0x4b37c2,_0x5330b0){return _0x4dbd22(_0x4b37c2,_0x5330b0);},'DpWZk':_0x488281(0x1b4),'bTgBo':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','lAFKZ':'notes','kfqtU':_0x488281(0x2af),'ucYSv':'add\x20env','CMnZD':'env-name','SBKYM':_0x488281(0x2f2),'AIywW':_0x488281(0x1e1),'eNizS':_0x488281(0x2f7),'kzCVL':_0x488281(0x2ae),'rhExF':'Config\x20value','LJyRs':_0x488281(0x297),'iThmI':'ranger\x20config\x20unset','NdBzz':function(_0x1d1b74,_0x26de6e,_0x15fed9){return _0x1d1b74(_0x26de6e,_0x15fed9);},'HyVll':_0x488281(0x30c),'jDOnr':function(_0x5bc2b0,_0x1a61e5,_0x2feb62){return _0x5bc2b0(_0x1a61e5,_0x2feb62);},'ynPXD':'Config\x20key\x20to\x20remove','KcLMb':_0x488281(0x195),'cuSry':function(_0x451c0e,_0x2d0588,_0x1a1edc){return _0x451c0e(_0x2d0588,_0x1a1edc);},'JbSPW':_0x488281(0x254),'NAgWJ':function(_0x1f7751,_0x5ca37e,_0x42df3b){return _0x1f7751(_0x5ca37e,_0x42df3b);},'ytOLG':'Name\x20of\x20the\x20environment\x20to\x20update','VihrV':'update\x20<env-name>','jKBLf':_0x488281(0x1d8),'KypCM':'array','JOmqh':_0x488281(0x1bf),'XKKXj':'--checklist','BysOb':_0x488281(0x1fc),'eLzRb':function(_0x1f52f9,_0x57e955,_0xec9b8d){return _0x1f52f9(_0x57e955,_0xec9b8d);},'WEDIs':'feature\x20create','DxNUZ':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','GysSw':function(_0x255e62,_0x29d041,_0xb8d729){return _0x255e62(_0x29d041,_0xb8d729);},'xhqeJ':_0x488281(0x197),'wKYmP':_0x488281(0x2b3),'GSvUJ':_0x488281(0x26c),'FTPkK':function(_0x65ab00,_0x4be416,_0xbbdf50){return _0x65ab00(_0x4be416,_0xbbdf50);},'hfTrv':_0x488281(0x318),'itDUh':function(_0x3ad9bf,_0x4da5ab,_0x2257c7){return _0x3ad9bf(_0x4da5ab,_0x2257c7);},'SylIn':'ranger\x20feature\x20list','hUbDj':function(_0x4958c1,_0x3bee50,_0x269b39){return _0x4958c1(_0x3bee50,_0x269b39);},'THPzp':'ranger\x20get-review','YHazy':_0x488281(0x1be),'lfUbf':'ranger\x20delete','ucVPX':_0x488281(0x1bc),'UpDnh':'resume\x20[id]','rtoyM':_0x488281(0x1dc),'GHnUo':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','ioAWA':'session-id','yCMtv':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','puoRT':_0x488281(0x1db),'jnKvV':_0x488281(0x31e),'jtKqB':'disable','lYaof':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','eubmF':'Unknown\x20command','unnYk':_0x488281(0x24a),'KwOkb':function(_0x3121da){return _0x3121da();},'eUYvw':function(_0x13171b,_0x6f4f3d){return _0x13171b||_0x6f4f3d;},'jCscu':_0x488281(0x308),'ylkdQ':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','KcTnJ':'show\x20[id]','BUEKI':'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','reNXZ':_0x488281(0x2b4),'CXtrv':_0x488281(0x241),'IfJQU':_0x488281(0x1f0),'caMNB':'delete\x20[id]','TjDgv':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','CVLvl':'Restore\x20a\x20soft-deleted\x20feature\x20review','ryXef':'setup\x20[tokenOrSubcommand]','QVtLb':'setup-ci\x20<token>','lsdcV':'login','PxZtG':'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','HaHAL':_0x488281(0x29c),'eHAMt':'print-access-token','wiuKC':'Print\x20the\x20current\x20CLI\x20access\x20token','DWCUp':_0x488281(0x226),'sRAFA':_0x488281(0x358),'TQuBG':'You\x20must\x20specify\x20a\x20command','lXgEs':function(_0x51dc4f,_0x4bd963){return _0x51dc4f+_0x4bd963;},'KoIhq':_0x488281(0x31a)};return _0x50a9a2(_0x322694??process[_0x488281(0x280)]['slice'](0x2))[_0x488281(0x230)]('ranger')['usage'](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command']('create\x20<name>',_0x3a6e96[_0x488281(0x31b)],_0x41c5cf=>{const _0x2d8180=_0x488281;return _0x41c5cf['positional']('name',{'type':'string','description':_0x3a6e96[_0x2d8180(0x1e8)],'demandOption':!![]})['option'](_0x3a6e96['mYqXX'],{'type':'string','alias':'d','description':_0x3a6e96['bvADJ']})['option'](_0x3a6e96[_0x2d8180(0x1af)],{'type':_0x2d8180(0x2ff),'alias':'c','description':_0x3a6e96[_0x2d8180(0x2fa)]})['option']('checklist',{'type':_0x2d8180(0x2ff),'hidden':!![]});},async _0x9c61=>{const _0x377517=_0x488281;if(!_0x9c61[_0x377517(0x1d8)]){console['error'](_0x3a6e96[_0x377517(0x2fc)]+_0x3a6e96['XDsKS']),process[_0x377517(0x20f)](0x1);return;}_0x3a6e96['qIUgV'](warnFlagRenamed,'ranger\x20create',_0x377517(0x23d),_0x377517(0x1fc));const _0x36048b=_0x9c61['scenario']||_0x9c61[_0x377517(0x2b9)];await _0x3a6e96['GAoHb'](withTelemetry,_0x3a6e96['gzGFs'],()=>featureCreate(_0x9c61['name'],{'description':_0x9c61['description'],'scenarios':_0x36048b}));})[_0x488281(0x244)](_0x3a6e96[_0x488281(0x1a6)],'List\x20all\x20feature\x20reviews',_0x5c7179=>{const _0xcf45c3=_0x488281;return _0x5c7179[_0xcf45c3(0x312)](_0x3a6e96[_0xcf45c3(0x296)],{'type':_0x3a6e96[_0xcf45c3(0x2ce)],'description':_0x3a6e96['Ycuoa']})[_0xcf45c3(0x312)](_0x3a6e96[_0xcf45c3(0x21f)],{'type':_0xcf45c3(0x335),'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option'](_0x3a6e96[_0xcf45c3(0x329)],{'type':'number','alias':'o','description':_0x3a6e96['HGcEi'],'default':0x0})['option'](_0x3a6e96[_0xcf45c3(0x19f)],{'type':'boolean','alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x41f3c1=>{const _0x2fa0f3=_0x488281;await withTelemetry(_0x2fa0f3(0x1bc),()=>featureList({'currentBranch':_0x41f3c1['current-branch'],'limit':_0x41f3c1[_0x2fa0f3(0x307)],'offset':_0x41f3c1['offset'],'includeDeleted':_0x41f3c1[_0x2fa0f3(0x22d)]}));})['command'](_0x3a6e96['KcTnJ'],_0x488281(0x219),_0x41ba65=>{const _0x32ebb8=_0x488281;return _0x41ba65['positional']('id',{'type':'string','description':_0x32ebb8(0x350)});},async _0x49e54f=>{const _0x5293cc=_0x488281;await _0x3a6e96[_0x5293cc(0x1a9)](withTelemetry,_0x5293cc(0x22b),()=>featureShow(_0x49e54f['id']));})[_0x488281(0x244)](_0x3a6e96['UpDnh'],'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x11159e=>{const _0x312081=_0x488281;return _0x11159e[_0x312081(0x341)]('id',{'type':'string','description':_0x3a6e96[_0x312081(0x283)]});},async _0x513f9c=>{await withTelemetry(_0x3a6e96['bMBlk'],()=>featureResume(_0x513f9c['id']));})[_0x488281(0x244)](_0x488281(0x25b),_0x3a6e96['BUEKI'],_0x1fdbba=>{const _0x3f482b=_0x488281;return _0x1fdbba['positional']('description',{'type':_0x3f482b(0x2de),'description':_0x3a6e96['jXcMz'],'demandOption':!![]})[_0x3f482b(0x312)]('id',{'type':'string','description':_0x3a6e96['xaRrg']});},async _0x2c6670=>{const _0x36c638=_0x488281;await _0x3a6e96[_0x36c638(0x33b)](withTelemetry,'add-scenario',()=>featureAddScenario(_0x2c6670[_0x36c638(0x2ad)],_0x2c6670['id']));})['command'](_0x3a6e96['reNXZ'],_0x3a6e96['CXtrv'],_0x31d036=>{const _0x333d90=_0x488281;return _0x31d036['positional'](_0x3a6e96[_0x333d90(0x199)],{'type':_0x3a6e96[_0x333d90(0x33e)],'description':_0x333d90(0x192),'demandOption':!![]})['option']('scenario',{'type':_0x3a6e96['pxioj'],'description':_0x3a6e96['CYzTA'],'demandOption':!![]})['option']('id',{'type':'string','description':_0x3a6e96[_0x333d90(0x2a2)]});},async _0x520d72=>{const _0x389433=_0x488281;await withTelemetry(_0x3a6e96[_0x389433(0x1e2)],()=>featureEditScenario(_0x520d72['description'],{'id':_0x520d72['id'],'scenario':_0x520d72['scenario']}));})[_0x488281(0x244)](_0x3a6e96['IfJQU'],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x471995=>{const _0x185efd=_0x488281;return _0x471995[_0x185efd(0x341)]('id',{'type':'string','description':'Feature\x20review\x20ID'})[_0x185efd(0x312)](_0x3a6e96['Wxpln'],{'type':'array','description':_0x3a6e96['qWmPr']})['option'](_0x3a6e96[_0x185efd(0x1cf)],{'type':'boolean','description':_0x3a6e96['AdMxD'],'default':![]});},async _0xcebc8e=>{const _0x3b32b3=_0x488281,_0x13aa31=_0xcebc8e[_0x3b32b3(0x295)],_0x116e6e=_0x13aa31?_0x13aa31['map'](_0x94bdd9=>Number(_0x94bdd9)):undefined;await withTelemetry(_0x3b32b3(0x23c),()=>featureReportPrDescription(_0xcebc8e['id'],{'excludeScenarios':_0x116e6e,'json':_0xcebc8e['json']}));})[_0x488281(0x244)](_0x488281(0x1e0),_0x488281(0x2fe),_0x53437d=>{const _0x4e2b09=_0x488281;return _0x53437d[_0x4e2b09(0x341)]('id',{'type':'string','description':_0x3a6e96['xaRrg']});},async _0x25cefc=>{const _0x49bfe6=_0x488281;await withTelemetry(_0x49bfe6(0x319),()=>featureGetReview(_0x25cefc['id']));})['command'](_0x3a6e96[_0x488281(0x327)],_0x3a6e96[_0x488281(0x1dd)],_0x153444=>{const _0x1d918b=_0x488281;return _0x153444['positional']('id',{'type':_0x1d918b(0x2de),'description':'Feature\x20review\x20ID'});},async _0x5267ae=>{await withTelemetry(_0x3a6e96['yXwUx'],()=>featureDelete(_0x5267ae['id']));})['command']('restore\x20<id>',_0x3a6e96[_0x488281(0x273)],_0x9329b9=>{const _0x1dc421=_0x488281;return _0x9329b9[_0x1dc421(0x341)]('id',{'type':_0x1dc421(0x2de),'description':_0x3a6e96[_0x1dc421(0x1fa)],'demandOption':!![]});},async _0x2ec61c=>{const _0x3cf388=_0x488281;await withTelemetry(_0x3a6e96[_0x3cf388(0x2d2)],()=>featureRestore(_0x2ec61c['id']));})['command'](_0x3a6e96['ryXef'],_0x488281(0x2ed),_0x43e625=>{const _0x91afd=_0x488281,_0x2c08f2={'YYaIc':'Ranger\x20API\x20token','NeElD':_0x3a6e96[_0x91afd(0x2ce)],'kxYFI':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','vIgMJ':_0x3a6e96[_0x91afd(0x1c1)],'Tbfpi':_0x91afd(0x203),'XFlVM':_0x91afd(0x2f4),'UBarH':'scope','BjpVQ':'string','kHmHT':_0x91afd(0x2b7),'GEvab':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','paVOt':_0x3a6e96[_0x91afd(0x2ac)],'rqCWh':_0x3a6e96['FlorS'],'wodwn':function(_0x5a63a1){return _0x3a6e96['Zzonr'](_0x5a63a1);},'FRuyF':'Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','qKmbS':function(_0xebe145,_0x35308c){return _0x3a6e96['ZEuxg'](_0xebe145,_0x35308c);},'dvGqH':function(_0x4f96f3,_0x4bc517){const _0x5849cd=_0x91afd;return _0x3a6e96[_0x5849cd(0x306)](_0x4f96f3,_0x4bc517);},'QXJdA':_0x91afd(0x270),'ZXmlS':_0x3a6e96[_0x91afd(0x1f1)],'ngyOA':_0x3a6e96[_0x91afd(0x19c)],'LuVRT':function(_0x253ca4,_0x411c1e){return _0x253ca4!==_0x411c1e;},'sAGJa':function(_0x4cb8a9,_0x10d4b6){return _0x4cb8a9+_0x10d4b6;}};return _0x43e625[_0x91afd(0x1d3)]('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'](_0x3a6e96[_0x91afd(0x20b)],{'type':_0x3a6e96['GrcTD'],'description':_0x3a6e96['PdfJY']})['command'](_0x3a6e96['kFafN'],_0x91afd(0x1b5),_0x1520e2=>{const _0x3bd609=_0x91afd;return _0x1520e2[_0x3bd609(0x312)](_0x3bd609(0x1cd),{'type':'string','description':_0x2c08f2['YYaIc']})['option']('skip-chromium',{'type':_0x2c08f2[_0x3bd609(0x2a6)],'description':_0x2c08f2[_0x3bd609(0x1ce)],'default':![]})['option'](_0x2c08f2[_0x3bd609(0x290)],{'type':_0x3bd609(0x289),'description':_0x3bd609(0x2c9),'default':![]})['option'](_0x2c08f2[_0x3bd609(0x328)],{'type':_0x2c08f2['NeElD'],'description':_0x2c08f2['XFlVM'],'default':![]})['option'](_0x2c08f2[_0x3bd609(0x21b)],{'type':_0x2c08f2[_0x3bd609(0x29a)],'choices':[_0x3bd609(0x2c0)],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x2c08f2[_0x3bd609(0x31f)],{'type':_0x2c08f2[_0x3bd609(0x29a)],'description':_0x3bd609(0x275)})[_0x3bd609(0x312)](_0x3bd609(0x2c4),{'type':_0x2c08f2[_0x3bd609(0x2a6)],'description':_0x2c08f2['GEvab'],'default':![]})['option']('opencode',{'type':_0x3bd609(0x289),'description':_0x3bd609(0x237),'default':![]})[_0x3bd609(0x312)](_0x3bd609(0x347),{'type':_0x3bd609(0x289),'description':_0x2c08f2[_0x3bd609(0x338)],'default':![]})['option']('mcp-bootstrap',{'type':_0x2c08f2['NeElD'],'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','default':![]})['option'](_0x2c08f2['rqCWh'],{'type':_0x2c08f2['NeElD'],'description':_0x3bd609(0x19b),'default':![]});},async _0x1115ef=>{const _0xf0e2c6=_0x91afd;(_0x1115ef['mcp-bootstrap']||_0x1115ef[_0xf0e2c6(0x29b)])&&await withTelemetry(_0xf0e2c6(0x2e3),()=>mcpBootstrap()),await withTelemetry(_0x3a6e96['iNnhf'],_0x52630f=>start(_0x1115ef[_0xf0e2c6(0x1cd)],{'skipChromium':_0x1115ef['skip-chromium'],'skipAuth':_0x1115ef['skip-auth'],'withDeps':_0x1115ef[_0xf0e2c6(0x203)],'scope':_0x1115ef['scope'],'url':_0x1115ef['url'],'force':_0x1115ef[_0xf0e2c6(0x2c4)],'opencode':_0x1115ef['opencode'],'allowInsecureLocalhost':_0x1115ef[_0xf0e2c6(0x347)]},_0x52630f));})[_0x91afd(0x244)](_0x91afd(0x286),'Install\x20Chromium\x20browser\x20binary',_0x29bc99=>{const _0x5356a8=_0x91afd;return _0x29bc99[_0x5356a8(0x312)](_0x2c08f2['Tbfpi'],{'type':_0x2c08f2[_0x5356a8(0x2a6)],'description':_0x5356a8(0x2d7),'default':![]});},async _0x368335=>{await withTelemetry('setup:deps',()=>ensureChromium(_0x368335['with-deps']));})['command']('login',_0x91afd(0x31d),_0x4c0303=>{const _0x4dca3b=_0x91afd;return _0x4c0303[_0x4dca3b(0x312)](_0x3a6e96['olzzD'],{'type':'string','description':_0x3a6e96['KzvAO']})['option']('mcp',{'type':_0x3a6e96[_0x4dca3b(0x2ce)],'description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x33d9eb=>{const _0x2f8848=_0x91afd;await withTelemetry(_0x3a6e96[_0x2f8848(0x321)],async()=>{const _0x30fcd9=_0x2f8848;if(_0x33d9eb['mcp']){await _0x2c08f2[_0x30fcd9(0x278)](mcpBootstrap);const _0x4ec8ab=await refreshCliToken();if(!_0x4ec8ab)throw new Error(_0x2c08f2[_0x30fcd9(0x255)]);const _0x4fe654=await _0x2c08f2[_0x30fcd9(0x324)](getCurrentUser,_0x4ec8ab);if(!_0x4fe654[_0x30fcd9(0x311)])throw new Error(_0x30fcd9(0x28e)+_0x4fe654['error']);console[_0x30fcd9(0x210)](_0x30fcd9(0x1a4)+_0x4fe654[_0x30fcd9(0x2c0)]['organizationName']);return;}await _0x2c08f2[_0x30fcd9(0x2ee)](authenticate,_0x33d9eb[_0x30fcd9(0x1cd)]);});})['command'](_0x3a6e96[_0x91afd(0x340)],_0x3a6e96[_0x91afd(0x2eb)],_0x418ee6=>{const _0x215ed6=_0x91afd;return _0x418ee6[_0x215ed6(0x312)](_0x3a6e96[_0x215ed6(0x1fd)],{'type':_0x3a6e96[_0x215ed6(0x33e)],'choices':['user',_0x3a6e96[_0x215ed6(0x232)]],'description':_0x3a6e96[_0x215ed6(0x224)]})['option'](_0x215ed6(0x325),{'type':_0x3a6e96[_0x215ed6(0x2ce)],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]});},async _0x3a2f21=>{const _0x242066={'XETQI':function(_0x1543f8,_0xeca14b,_0x3d9465){return _0x1543f8(_0xeca14b,_0x3d9465);},'RGOEP':function(_0x12f054){return _0x12f054();},'buYyJ':function(_0x3640a0,_0x58a34a){return _0x3640a0(_0x58a34a);}};await withTelemetry(_0x2c08f2['QXJdA'],async()=>{const _0x2b443b=_0x2d80,_0x5c7bda=_0x3a2f21[_0x2b443b(0x212)];if(_0x3a2f21[_0x2b443b(0x325)]){const _0x4ab149=await ensureOpencodePluginConfig(_0x5c7bda);_0x4ab149&&await _0x242066['XETQI'](installSkill,'ranger',{'level':_0x4ab149['scope'],'cliVersion':_0x242066[_0x2b443b(0x225)](getCurrentVersion),'platform':_0x2b443b(0x325)});}else await ensureClaudePlugin(_0x5c7bda),await _0x242066[_0x2b443b(0x33f)](ensureClaudeSkills,_0x5c7bda);});})['command'](_0x3a6e96[_0x91afd(0x2e9)],_0x3a6e96['oPFlk'],_0x20bcb5=>{const _0xb236af=_0x91afd;return _0x20bcb5['option']('scope',{'type':_0x2c08f2['BjpVQ'],'choices':[_0xb236af(0x2c0)],'description':_0x2c08f2['ZXmlS']})[_0xb236af(0x312)](_0x2c08f2['kHmHT'],{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app'})[_0xb236af(0x312)](_0xb236af(0x25f),{'type':_0xb236af(0x289),'description':_0x2c08f2['ngyOA'],'default':![]})[_0xb236af(0x312)](_0xb236af(0x2c4),{'type':_0x2c08f2[_0xb236af(0x2a6)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option']('allow-insecure-localhost',{'type':_0x2c08f2['NeElD'],'description':_0xb236af(0x1c9),'default':![]});},async _0xf85005=>{const _0x389346=_0x91afd,_0x5e0af9=_0xf85005[_0x389346(0x212)];_0x2c08f2['LuVRT'](_0x5e0af9,undefined)&&_0x5e0af9!==_0x389346(0x2c0)&&(console[_0x389346(0x200)](_0x2c08f2['sAGJa']('ranger\x20setup\x20profiles\x20--scope='+_0x5e0af9+_0x389346(0x27c),'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20')+_0x389346(0x291)),process[_0x389346(0x20f)](0x1)),await withTelemetry('setup:profiles',_0xb8fbcc=>ensureLocalEnv({'url':_0xf85005['url'],'force':_0xf85005[_0x389346(0x2c4)],'allowInsecureLocalhost':_0xf85005[_0x389346(0x347)],'scope':'user'},_0xb8fbcc));})['option']('skip-chromium',{'type':_0x3a6e96['cYTIP'],'description':_0x3a6e96['AfyZI'],'default':![]})[_0x91afd(0x312)]('scope',{'type':_0x91afd(0x2de),'choices':[_0x91afd(0x2c0)],'hidden':!![],'description':_0x3a6e96['gjbpt']})['option']('url',{'type':_0x3a6e96[_0x91afd(0x33e)],'description':_0x91afd(0x1cc)})[_0x91afd(0x312)](_0x3a6e96[_0x91afd(0x1c2)],{'type':_0x3a6e96[_0x91afd(0x2ce)],'description':_0x3a6e96[_0x91afd(0x2ba)],'default':![]})[_0x91afd(0x312)]('opencode',{'type':_0x3a6e96[_0x91afd(0x2ce)],'description':_0x3a6e96['ECEJs'],'default':![]})['option'](_0x3a6e96['aMBuI'],{'type':'boolean','description':_0x91afd(0x320),'default':![]})[_0x91afd(0x312)](_0x91afd(0x2e3),{'type':_0x3a6e96[_0x91afd(0x2ce)],'description':_0x91afd(0x238),'default':![]})[_0x91afd(0x312)](_0x3a6e96[_0x91afd(0x1c1)],{'type':_0x3a6e96[_0x91afd(0x2ce)],'description':_0x3a6e96[_0x91afd(0x1d7)],'default':![]})['option'](_0x91afd(0x203),{'type':'boolean','description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]})['option'](_0x91afd(0x1cd),{'type':'string','hidden':!![],'description':_0x3a6e96[_0x91afd(0x1e4)]});},async _0x182d7b=>{const _0x423829=_0x488281,_0x1935c1=_0x182d7b['tokenOrSubcommand'],_0x515ac8=_0x182d7b[_0x423829(0x1cd)]??_0x1935c1;_0x182d7b[_0x3a6e96[_0x423829(0x22c)]]&&await withTelemetry(_0x3a6e96['tqyyg'],()=>mcpBootstrap()),await _0x3a6e96['GAoHb'](withTelemetry,_0x3a6e96['qHPgs'],_0x436ffb=>start(_0x515ac8,{'skipChromium':_0x182d7b[_0x423829(0x34c)],'skipAuth':_0x182d7b['skip-auth'],'withDeps':_0x182d7b[_0x423829(0x203)],'scope':_0x182d7b['scope'],'url':_0x182d7b[_0x423829(0x2b7)],'force':_0x182d7b[_0x423829(0x2c4)],'opencode':_0x182d7b[_0x423829(0x325)],'allowInsecureLocalhost':_0x182d7b[_0x423829(0x347)]},_0x436ffb));})[_0x488281(0x244)](_0x3a6e96['QVtLb'],![],_0x1becaf=>{const _0x4eb551=_0x488281;return _0x1becaf[_0x4eb551(0x341)](_0x3a6e96['olzzD'],{'type':_0x3a6e96['GrcTD'],'description':'Ranger\x20API\x20token','demandOption':!![]})['option'](_0x4eb551(0x2c1),{'type':_0x4eb551(0x2de),'description':_0x3a6e96['tDBXs']})[_0x4eb551(0x312)](_0x3a6e96['LnuuO'],{'type':_0x4eb551(0x2de),'description':_0x3a6e96['NHWYP']})['option'](_0x4eb551(0x34c),{'type':_0x4eb551(0x289),'description':_0x4eb551(0x1de),'default':![]});},async _0x557bb6=>{await withTelemetry(_0x3a6e96['KbBFl'],_0x1d950d=>setupCi(_0x557bb6['token'],{'profile':_0x557bb6['profile'],'baseUrl':_0x557bb6['base-url'],'skipChromium':_0x557bb6['skip-chromium']},_0x1d950d));})[_0x488281(0x244)](_0x3a6e96['lsdcV'],_0x3a6e96['PxZtG'],()=>{},async()=>{const _0x413e11=_0x488281;await withTelemetry(_0x413e11(0x282),()=>login());})[_0x488281(0x244)]('skillup',_0x3a6e96['HaHAL'],_0x51e8dd=>{const _0x2bd9f3=_0x488281;return _0x51e8dd['option'](_0x3a6e96[_0x2bd9f3(0x1ed)],{'type':_0x3a6e96['cYTIP'],'description':_0x3a6e96['llhoK'],'default':![]})['option'](_0x2bd9f3(0x212),{'type':_0x3a6e96['GrcTD'],'choices':['user',_0x3a6e96[_0x2bd9f3(0x232)]],'description':_0x3a6e96['LaBrs']});},async _0x29a1f3=>{const _0x24a0eb=_0x488281,_0x41d802=Boolean(_0x29a1f3[_0x24a0eb(0x325)]);await withTelemetry(_0x24a0eb(0x2a1),()=>skillup({'autoInstall':_0x29a1f3[_0x24a0eb(0x212)],'platform':_0x41d802?'opencode':_0x24a0eb(0x337)}));})['command'](_0x488281(0x2f9),_0x488281(0x304),()=>{},async()=>{const _0x1663dd=_0x488281;await withTelemetry(_0x1663dd(0x2f9),()=>clean());})[_0x488281(0x244)]([_0x3a6e96[_0x488281(0x1f8)],_0x3a6e96['AkerK']],'Manage\x20profiles',_0x134c0b=>{const _0x178e72=_0x488281,_0x19f7b5={'XublJ':_0x178e72(0x2c3),'CexDi':'string','aRmgA':_0x3a6e96['FApQt'],'DlqnY':_0x3a6e96['yeXce'],'mgLsu':_0x3a6e96[_0x178e72(0x2ce)],'gXZpX':_0x3a6e96[_0x178e72(0x313)],'dkWOS':_0x3a6e96[_0x178e72(0x28f)],'UWCYs':_0x3a6e96[_0x178e72(0x2a4)],'kwjPo':_0x3a6e96['QdOCk'],'rqRSi':_0x3a6e96['kFLzo'],'GXRdb':'scope','mJZCH':_0x3a6e96['ubfhs'],'kuIOQ':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','GnhOa':function(_0x4b3a37,_0x531773,_0x18f8cd,_0x4a8aec){const _0x394f64=_0x178e72;return _0x3a6e96[_0x394f64(0x208)](_0x4b3a37,_0x531773,_0x18f8cd,_0x4a8aec);},'lldMn':function(_0x14a39b,_0x1453c4){const _0x5b4fa3=_0x178e72;return _0x3a6e96[_0x5b4fa3(0x1c5)](_0x14a39b,_0x1453c4);},'MxQnY':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','jESll':'yes','TJRMT':function(_0x2e14e7,_0x37bc03,_0x1582af){return _0x2e14e7(_0x37bc03,_0x1582af);},'SZqTY':function(_0x119beb,_0x5169b5){return _0x119beb||_0x5169b5;},'qeiSq':_0x178e72(0x25e),'dxxOZ':function(_0xb9ede7,_0x3f844a){return _0xb9ede7===_0x3f844a;},'nqUww':_0x3a6e96['RfQsA'],'rdaVD':'unknown\x20error','gESxR':_0x3a6e96['ezuRz'],'rrhcL':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','Wpmdl':function(_0x2a3b1e,_0x5272c8,_0x5191d3){return _0x2a3b1e(_0x5272c8,_0x5191d3);},'TwByT':_0x3a6e96['QUQwT'],'QmqyE':_0x3a6e96['czjJM'],'RVymO':_0x3a6e96['kxuFe'],'kACwH':_0x178e72(0x2ae),'Grwzf':_0x3a6e96[_0x178e72(0x2b1)],'jmros':'Config\x20value','KMvWG':'key','sdXEf':_0x3a6e96[_0x178e72(0x22f)],'NhcjB':function(_0x39624f,_0x3a933c,_0x14fe7d){return _0x39624f(_0x3a933c,_0x14fe7d);},'RQDun':_0x3a6e96['EtBQc']};return _0x134c0b['usage'](PROFILE_HELP)['command']('add\x20<profile-name>',_0x3a6e96['LzWqj'],_0x2a3b01=>{const _0x5a99a6=_0x178e72;return _0x2a3b01['positional'](_0x19f7b5['XublJ'],{'type':_0x19f7b5['CexDi'],'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x5a99a6(0x289),'hidden':!![],'default':![]})['option']('skip-auth',{'type':_0x5a99a6(0x289),'description':_0x19f7b5[_0x5a99a6(0x1d1)],'default':![]})[_0x5a99a6(0x312)](_0x5a99a6(0x2b7),{'type':_0x19f7b5['CexDi'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x19f7b5[_0x5a99a6(0x336)],{'type':_0x19f7b5[_0x5a99a6(0x1a1)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x19f7b5[_0x5a99a6(0x314)],{'type':_0x5a99a6(0x2de),'description':_0x19f7b5['dkWOS']})[_0x5a99a6(0x312)]('allow-insecure-localhost',{'type':'boolean','description':_0x19f7b5['UWCYs'],'default':![]})['option'](_0x19f7b5[_0x5a99a6(0x356)],{'type':_0x5a99a6(0x289),'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]})[_0x5a99a6(0x312)](_0x19f7b5['rqRSi'],{'type':_0x5a99a6(0x2de),'array':!![],'description':_0x5a99a6(0x2e1)})['option'](_0x19f7b5[_0x5a99a6(0x213)],{'type':_0x5a99a6(0x2de),'choices':[_0x19f7b5['mJZCH'],'project'],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})['option'](_0x5a99a6(0x345),{'type':_0x19f7b5[_0x5a99a6(0x1a1)],'alias':'y','description':_0x19f7b5['kuIOQ'],'default':![]});},async _0x9700af=>{const _0xb8daaf=_0x178e72;await _0x19f7b5[_0xb8daaf(0x334)](withTelemetry,'profile\x20add',_0x1cc171=>addEnv(_0x9700af['profile-name'],{'ci':_0x9700af['ci'],'skipAuth':_0x9700af[_0xb8daaf(0x25f)],'url':_0x9700af[_0xb8daaf(0x2b7)],'force':_0x9700af['force'],'cdpEndpoint':_0x9700af[_0xb8daaf(0x2b6)],'allowInsecureLocalhost':_0x9700af['allow-insecure-localhost'],'safeMode':_0x9700af[_0xb8daaf(0x250)],'setupHeader':_0x9700af['setup-header'],'scope':_0x9700af[_0xb8daaf(0x212)],'yes':_0x9700af['yes']},_0x1cc171),{'isElectron':_0x19f7b5[_0xb8daaf(0x1ca)](Boolean,_0x9700af['cdp-endpoint'])});})['command'](_0x3a6e96[_0x178e72(0x1ff)],_0x178e72(0x2d6),_0x50a415=>{const _0x3cb30c=_0x178e72;return _0x50a415[_0x3cb30c(0x341)]('profile-name',{'type':_0x3a6e96[_0x3cb30c(0x33e)],'description':_0x3a6e96['nGzNi'],'demandOption':!![]});},async _0x541bc9=>{const _0x3cdbd4=_0x178e72;await withTelemetry(_0x3a6e96['vkLvo'],()=>useEnv(_0x541bc9[_0x3cdbd4(0x2c3)]));})[_0x178e72(0x244)]('delete\x20<profile-name>',_0x3a6e96[_0x178e72(0x1ab)],_0x1ee446=>{const _0x45f41e=_0x178e72;return _0x1ee446[_0x45f41e(0x341)]('profile-name',{'type':'string','description':_0x19f7b5[_0x45f41e(0x2cd)],'demandOption':!![]})['option'](_0x19f7b5['jESll'],{'type':_0x19f7b5[_0x45f41e(0x1a1)],'alias':'y','description':_0x45f41e(0x223),'default':![]});},async _0x3fffaa=>{const _0x53ec45=_0x178e72;await _0x19f7b5[_0x53ec45(0x1a5)](withTelemetry,'profile\x20delete',()=>deleteProfile(_0x3fffaa[_0x53ec45(0x2c3)],{'yes':_0x3fffaa[_0x53ec45(0x345)]}));})['command'](_0x178e72(0x2be),![],_0x3cac96=>{const _0x348ad0=_0x178e72;return _0x3cac96[_0x348ad0(0x341)](_0x348ad0(0x2c1),{'type':_0x19f7b5['CexDi'],'description':'Profile\x20name','demandOption':!![]});},async _0x1dbe42=>{await withTelemetry('profile\x20encrypt-auth',()=>authEncrypt(_0x1dbe42['profile']));})['command']('ls','List\x20all\x20profiles',()=>{},async()=>{await withTelemetry('profile\x20ls',()=>envList());})['command'](_0x3a6e96[_0x178e72(0x1ee)],_0x178e72(0x2b8),_0x40213c=>{const _0x5b792c=_0x178e72;return _0x40213c[_0x5b792c(0x341)]('profile-name',{'type':'string','description':_0x3a6e96[_0x5b792c(0x32c)],'demandOption':!![]})['option'](_0x3a6e96[_0x5b792c(0x32b)],{'type':'boolean','description':_0x3a6e96['Itjms']});},async _0x5cd0d4=>{const _0x3c4457=_0x178e72;await _0x3a6e96['ATsEg'](withTelemetry,_0x3c4457(0x206),_0x181ef6=>updateEnv(_0x5cd0d4['profile-name'],_0x181ef6,{'allowInsecureLocalhost':_0x5cd0d4[_0x3c4457(0x347)]}));})[_0x178e72(0x244)](_0x3a6e96[_0x178e72(0x2b5)],![],_0x347cd8=>{const _0x483d5d=_0x178e72;return _0x347cd8['positional']('name',{'type':_0x19f7b5[_0x483d5d(0x2aa)],'description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0x615a97=>{await withTelemetry('profile\x20login',async()=>{const _0x261be8=_0x2d80,_0x174e7f=process['env']['RANGER_TEST_USERNAME'],_0x212dbd=process['env']['RANGER_TEST_PASSWORD'];_0x19f7b5['SZqTY'](!_0x174e7f,!_0x212dbd)&&(console['error'](_0x19f7b5['qeiSq']),process[_0x261be8(0x20f)](0x1));const _0x3963f5=_0x615a97[_0x261be8(0x1d8)],_0x5578dd=await serverSideLogin(_0x3963f5,{'force':!![]});_0x19f7b5['dxxOZ'](_0x5578dd['status'],_0x261be8(0x30d))&&(console[_0x261be8(0x200)](_0x19f7b5[_0x261be8(0x24b)]),process[_0x261be8(0x20f)](0x1)),_0x5578dd[_0x261be8(0x34a)]==='failed'&&(console['error'](_0x261be8(0x1f6)+(_0x5578dd[_0x261be8(0x200)]??_0x19f7b5[_0x261be8(0x1b3)])),_0x5578dd[_0x261be8(0x20a)]&&console[_0x261be8(0x200)](_0x5578dd[_0x261be8(0x20a)]),process['exit'](0x1)),console['log'](_0x261be8(0x24c)+_0x3963f5+_0x261be8(0x288));});})['command']('migrate\x20[profile-name]',![],_0x588ece=>{const _0x1d9d9e=_0x178e72;return _0x588ece['positional'](_0x1d9d9e(0x2c3),{'type':_0x19f7b5[_0x1d9d9e(0x2aa)],'description':_0x19f7b5['gESxR']})[_0x1d9d9e(0x312)]('all',{'type':_0x19f7b5[_0x1d9d9e(0x1a1)],'description':_0x19f7b5['rrhcL'],'default':![]})[_0x1d9d9e(0x312)](_0x1d9d9e(0x281),{'type':'boolean','description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})['option'](_0x1d9d9e(0x345),{'type':_0x1d9d9e(0x289),'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})[_0x1d9d9e(0x312)]('save-creds',{'type':_0x19f7b5[_0x1d9d9e(0x1a1)],'description':_0x1d9d9e(0x1c4),'default':![]});},async _0x35c768=>{const _0x191c6c=_0x178e72;await _0x19f7b5['Wpmdl'](withTelemetry,_0x19f7b5[_0x191c6c(0x1d9)],_0x2830a1=>migrateProfile({'profileName':_0x35c768[_0x191c6c(0x2c3)],'all':_0x35c768['all'],'dryRun':_0x35c768[_0x191c6c(0x281)],'yes':_0x35c768[_0x191c6c(0x345)],'saveCreds':_0x35c768[_0x191c6c(0x2ef)]},_0x2830a1));})['command'](_0x3a6e96['eWVsT'],_0x3a6e96['amHNg'],_0x5c2427=>{const _0x5582bb=_0x178e72,_0x46f250={'GCJtd':_0x3a6e96['KKsmx'],'TqhqU':'profile','pYowy':_0x3a6e96['GrcTD'],'HMlri':function(_0x5abc35,_0x419149,_0x31d63f){return _0x5abc35(_0x419149,_0x31d63f);},'nesHN':_0x3a6e96['LGBfe'],'cYNvz':'key'};return _0x5c2427['usage'](PROFILE_CONFIG_HELP)[_0x5582bb(0x244)](_0x3a6e96[_0x5582bb(0x2c8)],'Set\x20a\x20config\x20value',_0x31dc2a=>{const _0x2c1c01=_0x5582bb;return _0x31dc2a[_0x2c1c01(0x341)](_0x19f7b5['QmqyE'],{'type':_0x19f7b5[_0x2c1c01(0x2aa)],'description':_0x19f7b5['RVymO'],'demandOption':!![]})['positional']('key',{'type':_0x19f7b5['CexDi'],'description':_0x19f7b5['kACwH'],'demandOption':!![]})['positional'](_0x19f7b5['Grwzf'],{'type':_0x2c1c01(0x2de),'description':_0x19f7b5['jmros'],'demandOption':!![]});},async _0x522cbc=>{const _0x38c77e=_0x5582bb;await withTelemetry(_0x46f250[_0x38c77e(0x30a)],()=>configSet(_0x522cbc[_0x38c77e(0x2c1)],_0x522cbc[_0x38c77e(0x2f7)],_0x522cbc[_0x38c77e(0x2bd)]));})['command'](_0x3a6e96['WJqBw'],'Get\x20a\x20config\x20value',_0x369881=>{const _0x1fbde5=_0x5582bb;return _0x369881['positional']('profile',{'type':'string','description':_0x19f7b5[_0x1fbde5(0x248)],'demandOption':!![]})['positional'](_0x19f7b5['KMvWG'],{'type':_0x19f7b5['CexDi'],'description':_0x19f7b5[_0x1fbde5(0x1da)],'demandOption':!![]});},async _0x224424=>{const _0x5d111a=_0x5582bb;await withTelemetry(_0x5d111a(0x221),()=>configGet(_0x224424['profile'],_0x224424['key']));})[_0x5582bb(0x244)](_0x3a6e96[_0x5582bb(0x2c6)],_0x3a6e96[_0x5582bb(0x1d4)],_0x5e3237=>{const _0x678489=_0x5582bb;return _0x5e3237[_0x678489(0x341)](_0x46f250['TqhqU'],{'type':_0x46f250[_0x678489(0x30f)],'description':'Profile\x20name','demandOption':!![]});},async _0x31bc83=>{const _0x2afc6d=_0x5582bb;await _0x46f250[_0x2afc6d(0x222)](withTelemetry,_0x46f250[_0x2afc6d(0x1fe)],()=>configList(_0x31bc83['profile']));})['command'](_0x3a6e96['JiHdT'],_0x3a6e96[_0x5582bb(0x323)],_0x5c5a71=>{const _0x5d65ad=_0x5582bb;return _0x5c5a71['positional']('profile',{'type':'string','description':_0x5d65ad(0x1b0),'demandOption':!![]})['positional'](_0x46f250['cYNvz'],{'type':'string','description':_0x5d65ad(0x34b),'demandOption':!![]});},async _0xb63e73=>{await _0x19f7b5['Wpmdl'](withTelemetry,'profile\x20config\x20unset',()=>configUnset(_0xb63e73['profile'],_0xb63e73['key']));})['command'](_0x3a6e96['ntDRt'],_0x5582bb(0x2d4),_0x5411c0=>{const _0x13256f=_0x5582bb;return _0x5411c0[_0x13256f(0x341)](_0x46f250['TqhqU'],{'type':'string','description':_0x13256f(0x1b0),'demandOption':!![]});},async _0x1a4ce1=>{const _0x558e47=_0x5582bb;await _0x19f7b5[_0x558e47(0x1d5)](withTelemetry,_0x19f7b5['RQDun'],()=>configReset(_0x1a4ce1[_0x558e47(0x2c1)]));})[_0x5582bb(0x1ec)](0x1,_0x3a6e96['fRViv']);})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})[_0x488281(0x244)](_0x3a6e96[_0x488281(0x330)],'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{const _0x596c9f=_0x488281;await withTelemetry(_0x3a6e96[_0x596c9f(0x330)],()=>status());})[_0x488281(0x244)]('update','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x357293=_0x488281;await withTelemetry(_0x357293(0x20e),()=>update());})[_0x488281(0x244)](_0x3a6e96[_0x488281(0x25d)],_0x3a6e96[_0x488281(0x33a)],()=>{},async()=>{const _0x143e48=_0x488281;await _0x3a6e96[_0x143e48(0x258)](withTelemetry,_0x143e48(0x2a0),async()=>{const _0x3d1358=_0x143e48,_0x2042ef=await getToken();if(!_0x2042ef)throw new Error(_0x3d1358(0x284));console['log'](_0x2042ef);});})[_0x488281(0x244)]('go',_0x488281(0x34d),_0xcb03a1=>{const _0x57dca7=_0x488281;return _0xcb03a1[_0x57dca7(0x312)]('feature',{'type':_0x57dca7(0x2de),'description':'Optional\x20feature\x20ID'})['option']('profile',{'type':_0x3a6e96[_0x57dca7(0x33e)],'description':_0x3a6e96[_0x57dca7(0x28a)]})[_0x57dca7(0x312)]('notes',{'type':'string','description':_0x3a6e96['Jnden']})[_0x57dca7(0x312)](_0x3a6e96[_0x57dca7(0x1af)],{'type':_0x3a6e96[_0x57dca7(0x2ab)],'description':'Scenario\x20index\x20(1-based)'})['option'](_0x3a6e96['XrBUq'],{'type':_0x3a6e96['GrcTD'],'description':_0x3a6e96[_0x57dca7(0x357)]})[_0x57dca7(0x312)](_0x3a6e96['LnuuO'],{'type':'string','description':_0x3a6e96['skwPS']})['option'](_0x3a6e96['khDDp'],{'type':_0x57dca7(0x2de),'description':_0x3a6e96['rAorf']})[_0x57dca7(0x312)](_0x57dca7(0x1d2),{'type':'boolean','description':_0x3a6e96[_0x57dca7(0x305)],'default':![]})[_0x57dca7(0x312)](_0x3a6e96[_0x57dca7(0x287)],{'type':_0x57dca7(0x2de),'hidden':!![],'choices':[_0x57dca7(0x256),_0x3a6e96[_0x57dca7(0x292)],_0x3a6e96['LwKzn'],'failed',_0x3a6e96[_0x57dca7(0x198)]]})[_0x57dca7(0x312)](_0x3a6e96[_0x57dca7(0x1ea)],{'type':_0x57dca7(0x289),'hidden':!![]})['option'](_0x57dca7(0x1b9),{'type':_0x57dca7(0x2de),'hidden':!![]})['option'](_0x57dca7(0x1a3),{'type':_0x57dca7(0x2de),'hidden':!![]})[_0x57dca7(0x312)](_0x3a6e96['nCRyo'],{'type':_0x3a6e96['pxioj'],'hidden':!![]});},async _0x3beaa0=>{await runGoCommand(_0x3beaa0);})[_0x488281(0x244)](_0x488281(0x2d9),![],_0x3502d2=>{const _0x455ebb={'PxBtN':_0x3a6e96['czjJM'],'gtSrY':_0x3a6e96['GrcTD']};return _0x3502d2['command']('encrypt\x20<profile>',![],_0x1caa4d=>{const _0x2982ac=_0x2d80;return _0x1caa4d[_0x2982ac(0x341)](_0x455ebb[_0x2982ac(0x28c)],{'type':_0x455ebb[_0x2982ac(0x252)],'description':_0x2982ac(0x1b0),'demandOption':!![]});},async _0x1458fc=>{const _0x3a6434=_0x2d80;warnRenamed(_0x3a6434(0x1f4),_0x3a6434(0x21a)),await authEncrypt(_0x1458fc['profile']);})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command'](_0x3a6e96[_0x488281(0x1e3)],![],_0x5e867e=>{const _0x56e31a=_0x488281;return _0x5e867e[_0x56e31a(0x341)](_0x56e31a(0x1cd),{'type':_0x3a6e96['GrcTD'],'description':_0x56e31a(0x24e)})['option'](_0x3a6e96['vpbmn'],{'type':_0x3a6e96['cYTIP'],'description':_0x3a6e96[_0x56e31a(0x1f2)],'default':![]})['option'](_0x3a6e96[_0x56e31a(0x1fd)],{'type':'string','choices':[_0x3a6e96[_0x56e31a(0x260)]],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x56e31a(0x312)](_0x56e31a(0x2b7),{'type':_0x56e31a(0x2de),'description':_0x3a6e96[_0x56e31a(0x214)]})[_0x56e31a(0x312)]('force',{'type':'boolean','description':_0x3a6e96['ACxlp'],'default':![]})[_0x56e31a(0x312)](_0x56e31a(0x25f),{'type':_0x3a6e96[_0x56e31a(0x2ce)],'description':_0x3a6e96[_0x56e31a(0x2da)],'default':![]})[_0x56e31a(0x312)](_0x56e31a(0x203),{'type':_0x3a6e96[_0x56e31a(0x2ce)],'description':_0x3a6e96[_0x56e31a(0x257)],'default':![]});},async _0x55cfc1=>{const _0x32e4bd=_0x488281;warnRenamed(_0x3a6e96[_0x32e4bd(0x26e)],_0x3a6e96['YRFSZ']),await _0x3a6e96['DZCbT'](withTelemetry,'start',_0x4890ff=>start(_0x55cfc1[_0x32e4bd(0x1cd)],{'skipChromium':_0x55cfc1['skip-chromium'],'skipAuth':_0x55cfc1[_0x32e4bd(0x25f)],'withDeps':_0x55cfc1[_0x32e4bd(0x203)],'scope':_0x55cfc1[_0x32e4bd(0x212)],'url':_0x55cfc1['url'],'force':_0x55cfc1['force']},_0x4890ff));})[_0x488281(0x244)](_0x488281(0x27a),![],_0x3c79ce=>{const _0x3cff4d=_0x488281;return _0x3c79ce['option'](_0x3cff4d(0x1b9),{'type':_0x3cff4d(0x2de),'description':_0x3a6e96['DpWZk']})[_0x3cff4d(0x312)](_0x3cff4d(0x1a3),{'type':_0x3cff4d(0x2de),'description':_0x3a6e96['bTgBo']})[_0x3cff4d(0x312)](_0x3cff4d(0x233),{'type':_0x3a6e96[_0x3cff4d(0x2ab)],'description':'Scenario\x20index\x20(1-based)'})[_0x3cff4d(0x312)](_0x3cff4d(0x2c1),{'type':_0x3a6e96['GrcTD'],'hidden':!![]})[_0x3cff4d(0x312)](_0x3a6e96['lAFKZ'],{'type':_0x3cff4d(0x2de),'hidden':!![]})['option']('scenario',{'type':_0x3cff4d(0x335),'hidden':!![]})['option']('start-path',{'type':'string','description':_0x3a6e96['weQEG']})['option']('base-url',{'type':_0x3a6e96['GrcTD'],'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x3cff4d(0x312)]('model',{'type':'string','hidden':!![]})['option'](_0x3cff4d(0x1d2),{'type':_0x3cff4d(0x289),'hidden':!![],'default':![]})[_0x3cff4d(0x312)](_0x3a6e96[_0x3cff4d(0x287)],{'type':_0x3cff4d(0x2de),'hidden':!![],'choices':['verified',_0x3cff4d(0x32f),_0x3a6e96['LwKzn'],'failed','incomplete']});},async _0x167c0b=>{await runGoCommand(_0x167c0b,!![]);})[_0x488281(0x244)](_0x3a6e96['sRAFA'],![],_0x379b9e=>{const _0x4fed46=_0x488281;return _0x379b9e[_0x4fed46(0x341)]('env-name',{'type':_0x3a6e96[_0x4fed46(0x33e)],'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x4fed46(0x312)]('ci',{'type':'boolean','description':_0x4fed46(0x264),'default':![]})[_0x4fed46(0x312)]('skip-auth',{'type':'boolean','description':_0x4fed46(0x2f5),'default':![]});},async _0x17c189=>{const _0x4e268e=_0x488281;_0x3a6e96[_0x4e268e(0x229)](warnRenamed,'ranger\x20add\x20env',_0x3a6e96['kfqtU']),await _0x3a6e96[_0x4e268e(0x1a9)](withTelemetry,_0x3a6e96['ucYSv'],_0x4e4f18=>addEnv(_0x17c189[_0x4e268e(0x2cf)],{'ci':_0x17c189['ci'],'skipAuth':_0x17c189[_0x4e268e(0x25f)]},_0x4e4f18));})['command'](_0x488281(0x21e),![],_0x74a7fd=>{const _0x22b8cc=_0x488281;return _0x74a7fd[_0x22b8cc(0x341)](_0x3a6e96['CMnZD'],{'type':_0x3a6e96[_0x22b8cc(0x33e)],'description':_0x3a6e96[_0x22b8cc(0x1d6)],'demandOption':!![]});},async _0x48948a=>{const _0x239899=_0x488281;warnRenamed(_0x3a6e96['AIywW'],_0x239899(0x2a8)),await withTelemetry(_0x239899(0x32e),()=>useEnv(_0x48948a['env-name']));})['command']('config',![],_0x450b83=>{const _0xde0402=_0x488281,_0x9378bd={'kpapi':_0xde0402(0x2bc),'SpDtN':_0xde0402(0x2f7),'vgkie':_0x3a6e96[_0xde0402(0x33e)],'PykrW':_0xde0402(0x262),'chsHY':function(_0x124b95,_0x3672e9,_0x46365f){return _0x3a6e96['jDOnr'](_0x124b95,_0x3672e9,_0x46365f);},'pFdHE':'ranger\x20profile\x20config\x20list','ykdEK':function(_0x522faa,_0x46790a,_0x2c4d15){return _0x522faa(_0x46790a,_0x2c4d15);},'npqJo':_0x3a6e96['ynPXD']};return _0x450b83['command'](_0xde0402(0x1b2),![],_0x4258f0=>{const _0x2bf875=_0xde0402;return _0x4258f0[_0x2bf875(0x341)]('env',{'type':_0x2bf875(0x2de),'description':_0x2bf875(0x2bc),'demandOption':!![]})['positional'](_0x3a6e96[_0x2bf875(0x1b1)],{'type':_0x3a6e96[_0x2bf875(0x33e)],'description':_0x3a6e96[_0x2bf875(0x267)],'demandOption':!![]})['positional']('value',{'type':'string','description':_0x3a6e96[_0x2bf875(0x34e)],'demandOption':!![]});},async _0x2dfbcb=>{const _0xdf9842=_0xde0402;_0x3a6e96['ATsEg'](warnRenamed,_0xdf9842(0x326),'ranger\x20profile\x20config\x20set'),await withTelemetry(_0x3a6e96['LJyRs'],()=>configSet(_0x2dfbcb[_0xdf9842(0x1b9)],_0x2dfbcb[_0xdf9842(0x2f7)],_0x2dfbcb['value']));})[_0xde0402(0x244)]('get\x20<env>\x20<key>',![],_0x232cdf=>{const _0x21a55d=_0xde0402;return _0x232cdf[_0x21a55d(0x341)]('env',{'type':_0x21a55d(0x2de),'description':_0x9378bd[_0x21a55d(0x27d)],'demandOption':!![]})['positional'](_0x9378bd['SpDtN'],{'type':_0x9378bd[_0x21a55d(0x2b0)],'description':'Config\x20key','demandOption':!![]});},async _0x34a150=>{const _0x43387c=_0xde0402;warnRenamed('ranger\x20config\x20get',_0x43387c(0x1a8)),await withTelemetry(_0x9378bd['PykrW'],()=>configGet(_0x34a150['env'],_0x34a150['key']));})[_0xde0402(0x244)](_0xde0402(0x332),![],_0x2582e6=>{return _0x2582e6['positional']('env',{'type':_0x3a6e96['GrcTD'],'description':'Environment\x20name','demandOption':!![]});},async _0x1c4bba=>{const _0x2ada91=_0xde0402;_0x9378bd['chsHY'](warnRenamed,_0x2ada91(0x30b),_0x9378bd['pFdHE']),await _0x9378bd['ykdEK'](withTelemetry,_0x2ada91(0x32a),()=>configList(_0x1c4bba['env']));})[_0xde0402(0x244)](_0xde0402(0x349),![],_0x233196=>{const _0x41bbde=_0xde0402;return _0x233196[_0x41bbde(0x341)](_0x41bbde(0x1b9),{'type':_0x9378bd[_0x41bbde(0x2b0)],'description':_0x9378bd[_0x41bbde(0x27d)],'demandOption':!![]})[_0x41bbde(0x341)](_0x41bbde(0x2f7),{'type':_0x9378bd[_0x41bbde(0x2b0)],'description':_0x9378bd['npqJo'],'demandOption':!![]});},async _0x13ab58=>{const _0x2c716f=_0xde0402;_0x3a6e96[_0x2c716f(0x258)](warnRenamed,_0x3a6e96['iThmI'],_0x2c716f(0x1c8)),await _0x3a6e96[_0x2c716f(0x2a7)](withTelemetry,_0x3a6e96[_0x2c716f(0x2e6)],()=>configUnset(_0x13ab58[_0x2c716f(0x1b9)],_0x13ab58[_0x2c716f(0x2f7)]));})[_0xde0402(0x1ec)](0x1,_0xde0402(0x23e));})['command']('env',![],_0x4f59da=>{const _0x42253e=_0x488281,_0x54a020={'GGFBM':function(_0x852d19,_0x3e91a0,_0x350ba6){const _0x154d30=_0x2d80;return _0x3a6e96[_0x154d30(0x239)](_0x852d19,_0x3e91a0,_0x350ba6);},'GseKr':_0x3a6e96['ytOLG']};return _0x4f59da['command']('ls',![],()=>{},async()=>{const _0x5bb165=_0x2d80;warnRenamed(_0x5bb165(0x2cc),_0x5bb165(0x2c2)),await _0x54a020[_0x5bb165(0x310)](withTelemetry,_0x5bb165(0x22e),()=>envList());})['command'](_0x3a6e96['VihrV'],![],_0x27ed28=>{const _0x17741d=_0x2d80;return _0x27ed28['positional'](_0x17741d(0x2cf),{'type':'string','description':_0x54a020['GseKr'],'demandOption':!![]});},async _0x1403fb=>{const _0x3f3c26=_0x2d80;warnRenamed(_0x3a6e96[_0x3f3c26(0x2a3)],_0x3f3c26(0x1e7)),await _0x3a6e96[_0x3f3c26(0x348)](withTelemetry,_0x3a6e96[_0x3f3c26(0x240)],_0x15a09=>updateEnv(_0x1403fb['env-name'],_0x15a09));})[_0x42253e(0x1ec)](0x1,_0x42253e(0x299));})['command'](_0x488281(0x333),![],_0x321ef7=>{const _0x1cc467=_0x488281,_0x2d2daa={'fzwoK':function(_0x34f445,_0x7bbcd6,_0x55f2c3){const _0x966325=_0x2d80;return _0x3a6e96[_0x966325(0x2ca)](_0x34f445,_0x7bbcd6,_0x55f2c3);},'TEgYm':_0x3a6e96[_0x1cc467(0x261)],'NdFhk':'ranger\x20list','WyNPM':_0x3a6e96['GrcTD'],'jihHZ':_0x1cc467(0x24d),'JsKac':'ranger\x20resume','RWNqg':_0x1cc467(0x2c7),'kIUpG':function(_0x5a9d00,_0xa7e130,_0x32a4a9){const _0x1a8107=_0x1cc467;return _0x3a6e96[_0x1a8107(0x242)](_0x5a9d00,_0xa7e130,_0x32a4a9);},'wouqX':_0x1cc467(0x1c7),'WWXfR':_0x3a6e96['THPzp'],'SxwEc':function(_0x4ea99c,_0x26ce48,_0x47df7f){return _0x3a6e96['DZCbT'](_0x4ea99c,_0x26ce48,_0x47df7f);},'lylTF':_0x3a6e96['YHazy'],'wUYks':_0x3a6e96['lfUbf']};return _0x321ef7['command'](_0x1cc467(0x207),![],_0x590050=>{const _0x3764b2=_0x1cc467;return _0x590050['positional'](_0x3a6e96[_0x3764b2(0x228)],{'type':_0x3764b2(0x2de),'description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x3764b2(0x2ad),{'type':_0x3a6e96['GrcTD'],'alias':'d','description':_0x3a6e96[_0x3764b2(0x28b)]})[_0x3764b2(0x312)]('checklist',{'type':_0x3a6e96['KypCM'],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option']('scenario',{'type':'array','hidden':!![]});},async _0x506707=>{const _0x3e3700=_0x1cc467;_0x3a6e96['jDOnr'](warnRenamed,'ranger\x20feature\x20create',_0x3e3700(0x1bf)),_0x3a6e96[_0x3e3700(0x208)](warnFlagRenamed,_0x3a6e96['JOmqh'],_0x3a6e96['XKKXj'],_0x3a6e96[_0x3e3700(0x259)]);const _0x48fc02=_0x506707[_0x3e3700(0x194)]||_0x506707['checklist'];await _0x3a6e96[_0x3e3700(0x27f)](withTelemetry,_0x3a6e96[_0x3e3700(0x2d1)],()=>featureCreate(_0x506707['name'],{'description':_0x506707[_0x3e3700(0x2ad)],'scenarios':_0x48fc02}));})['command'](_0x3a6e96['ucVPX'],![],_0x18b0bd=>{const _0x527b75=_0x1cc467;return _0x18b0bd['option']('current-branch',{'type':_0x3a6e96['cYTIP'],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})[_0x527b75(0x312)]('limit',{'type':_0x3a6e96[_0x527b75(0x2ab)],'alias':'l','description':_0x3a6e96[_0x527b75(0x331)],'default':0xa})[_0x527b75(0x312)](_0x527b75(0x246),{'type':_0x3a6e96['pxioj'],'alias':'o','description':_0x527b75(0x2ec),'default':0x0})[_0x527b75(0x312)](_0x3a6e96[_0x527b75(0x19f)],{'type':_0x3a6e96[_0x527b75(0x2ce)],'alias':'d','description':_0x527b75(0x315),'default':![]});},async _0x7e4fde=>{const _0x32fda4=_0x1cc467;_0x2d2daa[_0x32fda4(0x211)](warnRenamed,_0x2d2daa[_0x32fda4(0x1ba)],_0x2d2daa[_0x32fda4(0x253)]),await withTelemetry('feature\x20list',()=>featureList({'currentBranch':_0x7e4fde[_0x32fda4(0x2e0)],'limit':_0x7e4fde[_0x32fda4(0x307)],'offset':_0x7e4fde['offset'],'includeDeleted':_0x7e4fde[_0x32fda4(0x22d)]}));})['command'](_0x1cc467(0x271),![],_0x51c235=>{const _0x3ebe5e=_0x1cc467;return _0x51c235[_0x3ebe5e(0x341)]('id',{'type':_0x3a6e96['GrcTD'],'description':_0x3ebe5e(0x350)});},async _0x291512=>{const _0x5e1c6e=_0x1cc467;_0x3a6e96[_0x5e1c6e(0x265)](warnRenamed,_0x3a6e96['xhqeJ'],_0x3a6e96[_0x5e1c6e(0x2dd)]),await _0x3a6e96[_0x5e1c6e(0x265)](withTelemetry,'feature\x20show',()=>featureShow(_0x291512['id']));})['command'](_0x3a6e96[_0x1cc467(0x34f)],![],_0x336742=>{const _0x3c98f6=_0x1cc467;return _0x336742[_0x3c98f6(0x341)]('id',{'type':_0x2d2daa['WyNPM'],'description':_0x2d2daa['jihHZ']});},async _0x266f88=>{const _0x316a91=_0x1cc467;warnRenamed(_0x316a91(0x351),_0x2d2daa[_0x316a91(0x344)]),await withTelemetry('feature\x20resume',()=>featureResume(_0x266f88['id']));})['command'](_0x1cc467(0x352),![],_0x3cbf90=>{const _0x165aa2=_0x1cc467;return _0x3cbf90['positional'](_0x165aa2(0x2ad),{'type':_0x2d2daa[_0x165aa2(0x1fb)],'description':_0x2d2daa[_0x165aa2(0x343)],'demandOption':!![]})['option']('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x41e7da=>{const _0x5a9f77=_0x1cc467;_0x3a6e96[_0x5a9f77(0x33b)](warnRenamed,'ranger\x20feature\x20add-checklist-item',_0x5a9f77(0x27b)),await withTelemetry(_0x3a6e96[_0x5a9f77(0x231)],()=>featureAddScenario(_0x41e7da[_0x5a9f77(0x2ad)],_0x41e7da['id']));})[_0x1cc467(0x244)](_0x3a6e96[_0x1cc467(0x1c6)],![],_0x40b844=>{const _0x34060b=_0x1cc467;return _0x40b844['positional']('id',{'type':_0x34060b(0x2de),'description':_0x3a6e96[_0x34060b(0x2a2)]});},async _0x63e86f=>{const _0x5ca1e8=_0x1cc467;_0x2d2daa[_0x5ca1e8(0x235)](warnRenamed,_0x2d2daa[_0x5ca1e8(0x220)],_0x2d2daa[_0x5ca1e8(0x1d0)]),await withTelemetry('feature\x20get-feedback',()=>featureGetReview(_0x63e86f['id']));})['command'](_0x1cc467(0x1f9),![],_0x36fb13=>{const _0x4289ec=_0x1cc467;return _0x36fb13['positional']('id',{'type':'string','description':_0x4289ec(0x350)});},async _0x30038f=>{const _0x953373=_0x1cc467;_0x2d2daa['SxwEc'](warnRenamed,_0x2d2daa[_0x953373(0x26f)],_0x2d2daa[_0x953373(0x298)]),await withTelemetry(_0x953373(0x193),()=>featureDelete(_0x30038f['id']));})['command'](_0x1cc467(0x303),![],_0x49e1be=>{const _0xe658ad=_0x1cc467;return _0x49e1be['positional']('id',{'type':_0x3a6e96['GrcTD'],'description':_0x3a6e96[_0xe658ad(0x1fa)],'demandOption':!![]});},async _0x504993=>{const _0x480e0f=_0x1cc467;_0x3a6e96[_0x480e0f(0x21d)](warnRenamed,_0x3a6e96[_0x480e0f(0x1a2)],'ranger\x20restore'),await withTelemetry('feature\x20restore',()=>featureRestore(_0x504993['id']));})[_0x1cc467(0x1ec)](0x1,_0x3a6e96[_0x1cc467(0x27e)]);})['command'](_0x488281(0x2bf),![],_0x3d09d0=>{const _0x53cc67=_0x488281,_0x8b18d7={'BVCDR':_0x3a6e96[_0x53cc67(0x316)]};return _0x3d09d0[_0x53cc67(0x244)](_0x53cc67(0x1b6),_0x3a6e96['jnKvV'],_0x535cea=>{const _0x4ed7c5=_0x53cc67;return _0x535cea['option']('session-id',{'type':_0x4ed7c5(0x2de),'description':_0x4ed7c5(0x2f6)});},async _0x9c3f1e=>{const _0x17ae10=_0x53cc67;await withTelemetry(_0x8b18d7['BVCDR'],()=>hook(_0x17ae10(0x1b6),_0x9c3f1e[_0x17ae10(0x245)]));})[_0x53cc67(0x244)](_0x3a6e96[_0x53cc67(0x236)],'Disable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x2c49fa=>{const _0x364158=_0x53cc67;return _0x2c49fa[_0x364158(0x312)](_0x3a6e96[_0x364158(0x247)],{'type':_0x3a6e96['GrcTD'],'description':_0x3a6e96['yCMtv']});},async _0x498fd3=>{const _0x4a7ad4=_0x53cc67;await withTelemetry(_0x4a7ad4(0x33c),()=>hook(_0x4a7ad4(0x29e),_0x498fd3[_0x4a7ad4(0x245)]));})[_0x53cc67(0x312)]('name',{'type':_0x3a6e96[_0x53cc67(0x33e)],'description':_0x3a6e96['lYaof']})[_0x53cc67(0x312)](_0x3a6e96[_0x53cc67(0x247)],{'type':_0x3a6e96[_0x53cc67(0x33e)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x4c2d05=>{const _0xb74935=_0x488281;_0x4c2d05[_0xb74935(0x1d8)]&&await hook(_0x4c2d05[_0xb74935(0x1d8)],_0x4c2d05[_0x3a6e96[_0xb74935(0x247)]]);})['demandCommand'](0x1,_0x3a6e96[_0x488281(0x19d)])[_0x488281(0x2dc)]()['fail'](async(_0x3a56d2,_0x219cef,_0x1a8c12)=>{const _0x27e421=_0x488281,_0x2d8ae9=_0x3a6e96[_0x27e421(0x1c5)](sanitizeArgs,process['argv'][_0x27e421(0x26a)](0x2)),_0x422591=_0x3a6e96['FFyDp'](getErrorType,_0x3a56d2,_0x219cef);if(_0x3a56d2&&_0x3a56d2[_0x27e421(0x243)](_0x3a6e96[_0x27e421(0x249)])){const _0x5f04df=process[_0x27e421(0x280)][0x2];console[_0x27e421(0x200)](_0x27e421(0x218)+_0x5f04df),console['error'](_0x3a6e96['unnYk']);}else{if(_0x3a56d2)console[_0x27e421(0x200)]('\x0a'+_0x3a56d2+'\x0a');else _0x219cef&&console['error']('\x0aError:\x20'+_0x219cef[_0x27e421(0x216)]+'\x0a');}await logDesirePath({'rawCommand':_0x2d8ae9,'errorMessage':_0x3a56d2||_0x219cef?.['message'],'errorType':_0x422591});const _0x3ee7f6=_0x3a6e96['KwOkb'](getCurrentCollector);_0x3ee7f6&&await _0x3ee7f6[_0x27e421(0x268)](_0x219cef||new Error(_0x3a6e96['eUYvw'](_0x3a56d2,_0x3a6e96[_0x27e421(0x196)]))),process[_0x27e421(0x20f)](0x1);})[_0x488281(0x2e5)](_0x3a6e96['lXgEs'](_0x3a6e96['KoIhq']+_0x488281(0x1df),_0x488281(0x2bb)))[_0x488281(0x202)]()[_0x488281(0x1c3)]('help','h');}function _0x1cbb(){const _0x4310de=['cuSry','unset\x20<env>\x20<key>','status','Config\x20key\x20to\x20remove','skip-chromium','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','rhExF','UpDnh','Feature\x20review\x20ID','ranger\x20feature\x20resume','add-checklist-item\x20<description>','Scenario\x20number\x20to\x20edit\x20(1-based)','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','kwjPo','weQEG','add\x20env\x20<env-name>','ranger\x20start','New\x20scenario\x20description','feature\x20delete','scenario','ranger\x20env\x20update','jCscu','ranger\x20feature\x20show','LzXwu','mYqXX','evaluation','Alias\x20for\x20--mcp-bootstrap','rELum','TQuBG','2375pntcje','hDMDy','omNoW','mgLsu','hfTrv','task','✓\x20Authenticated\x20to\x20','TJRMT','ucVPX','tokenOrSubcommand','ranger\x20profile\x20config\x20get','GAoHb','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','vvGdn','\x20is\x20now\x20','--profile','evaluationReason','WtDHb','Profile\x20name','eNizS','set\x20<env>\x20<key>\x20<value>','rdaVD','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','Run\x20full\x20interactive\x20setup','enable','--env','use\x20<profile-name>','env','TEgYm','profile\x20config\x20reset','list','setup-header','ranger\x20feature\x20delete','ranger\x20create','Summary:\x20','vqeiJ','yeXce','alias','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','IlLvG','rtoyM','ranger\x20feature\x20get-feedback','ranger\x20profile\x20config\x20unset','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','lldMn','repeat','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','token','kxYFI','HOCTL','WWXfR','aRmgA','headed','usage','wbVmn','NhcjB','SBKYM','fnpyV','name','TwByT','sdXEf','hook:enable','get-feedback\x20[id]','TjDgv','Skip\x20Chromium\x20browser\x20installation','\x20\x20https://docs.ranger.net\x0a','get-review\x20[id]','ranger\x20use','YeAIp','DWCUp','PQQhy','setup:all','.\x20[','ranger\x20profile\x20update','tnpBG','XMexw','Qvimb','Evaluation:\x20','demandCommand','nRtwy','ujuUp','severity','report\x20[id]','gjbpt','AfyZI','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','ranger\x20auth\x20encrypt','resume','Login\x20failed:\x20','2nbOczF','czjJM','delete\x20[id]','mQhuB','WyNPM','--scenario','eGAvh','nesHN','ZjzLF','error','blocked','help','with-deps','incomplete','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','profile\x20update','create\x20<name>','nJscT','Ranger\x20API\x20token\x20(rngr_...)','test_output','vFshB','RleWw','update\x20<profile-name>','update','exit','log','fzwoK','scope','GXRdb','sdEKM','2392GrXVyP','message','zUTHA','\x0aUnknown\x20command:\x20','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','ranger\x20profile\x20encrypt-auth','UBarH','summary','FTPkK','use\x20<env-name>','bzPFH','wouqX','profile\x20config\x20get','HMlri','Skip\x20the\x20deletion\x20confirmation\x20prompt.','gfXDL','RGOEP','start\x20[token]','OZliA','jKBLf','DZCbT','Delete\x20a\x20cloud\x20profile','show','tqyyg','include-deleted','env\x20list','TiMac','scriptName','GSvUJ','lXkFU','item','Name\x20of\x20the\x20profile','kIUpG','jtKqB','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','NAgWJ','unset\x20<profile>\x20<key>','ORAxe','report','--checklist','You\x20must\x20specify\x20a\x20config\x20subcommand','start','JbSPW','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','hUbDj','includes','command','session-id','offset','ioAWA','RVymO','eubmF','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','nqUww','✓\x20Login\x20succeeded\x20for\x20\x27','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','--item','safe-mode','ranger\x20go','gtSrY','NdFhk','env\x20update','FRuyF','verified','aFfxP','ATsEg','BysOb','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','add-scenario\x20<description>','fqjto','eHAMt','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','skip-auth','ubfhs','SylIn','config\x20get','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','GysSw','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','kzCVL','trackCommandError','Manage\x20profile\x20configuration','slice','8175516OieebX','feature\x20add-checklist-item','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.','dCnhb','lylTF','setup:skills','show\x20[id]','json','CVLvl','Set\x20up\x20a\x20local\x20browser\x20profile','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','ranger\x20setup','wbQyX','wodwn','profile\x20use','verify-feature','ranger\x20add-scenario','\x20is\x20no\x20longer\x20supported.\x20','kpapi','GHnUo','eLzRb','argv','dry-run','login','hexRl','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','config','deps','nkojd','\x27.\x20Session\x20saved.','boolean','OiGFJ','bvADJ','PxBtN','debug-outcome','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','stDhl','vIgMJ','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','xhLgP','notes','profiles','exclude-scenario','MOKcB','config\x20set','wUYks','You\x20must\x20specify\x20an\x20env\x20subcommand','BjpVQ','mcp','Install\x20Ranger\x20skills','HsupL','disable','\x20INCOMPLETE','print-access-token','skillup','xaRrg','KcLMb','Itjms','\x0aIssues:','NeElD','NdBzz','ranger\x20profile\x20use','some','CexDi','pxioj','FCTaC','description','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','ranger\x20profile\x20add','vgkie','gDWbx','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','ranger\x20show','edit-scenario\x20<description>','LAlTU','cdp-endpoint','url','Update\x20authentication\x20for\x20an\x20existing\x20profile','checklist','ACxlp','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','Environment\x20name','value','encrypt-auth\x20<profile>','hook','user','profile','ranger\x20profile\x20ls','profile-name','force','forEach','zyLNR','Scenario\x20description','HDCDF','Skip\x20authentication','itDUh','list\x20<profile>','ranger\x20env\x20ls','MxQnY','cYTIP','env-name','20514610KvMxhe','WEDIs','fWxkm','test','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','35819FyEytz','Switch\x20to\x20using\x20a\x20specific\x20profile','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','1054014vMOedN','auth','lXOOg','jXNJJ','strictCommands','wKYmP','string','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','current-branch','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','Subcommand\x20or\x20API\x20token\x20(rngr_...)','mcp-bootstrap','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','epilogue','HyVll','setup-ci','QKBQY','AkerK','EniDy','RORZy','Number\x20of\x20feature\x20reviews\x20to\x20skip','Initialize\x20Ranger\x20in\x20your\x20project','dvGqH','save-creds','1240821nxXPem','Config\x20key','Name\x20of\x20the\x20environment','unhandledRejection','Install\x20OS-level\x20dependencies\x20for\x20Chromium','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','key','Add\x20profile\x20configuration','clean','YLbuj','8807868hyfOzv','aqttb','amGxh','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','array','start-path','cwd','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','restore\x20<id>','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','iQZTT','ATWdq','limit','Unknown\x20error','pqgTL','GCJtd','ranger\x20config\x20list','config\x20unset','not_configured','Install\x20skills\x20for\x20OpenCode','pYowy','GGFBM','success','option','LbCed','gXZpX','Include\x20soft-deleted\x20feature\x20reviews','puoRT','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','ranger\x20feature\x20restore','get-review','Documentation:\x0a','ylkdQ','9780kjZTYz','Authenticate\x20with\x20Ranger','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','kHmHT','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','pguyC','Install\x20scope\x20for\x20skills','xZSLn','qKmbS','opencode','ranger\x20config\x20set','caMNB','Tbfpi','LXiXH','config\x20list','aMBuI','JTXEe','EfLJl','use','partial','dqmSd','DxNUZ','list\x20<env>','feature','GnhOa','number','DlqnY','claude','paVOt','base-url','wiuKC','FFyDp','hook:disable','issues','GrcTD','buYyJ','vgDRm','positional','Reason:\x20','RWNqg','JsKac','yes','debug-address-comments','allow-insecure-localhost'];_0x1cbb=function(){return _0x4310de;};return _0x1cbb();}process[_0x463399(0x1b9)]['NODE_ENV']!==_0x463399(0x2d3)&&(shouldShowLegacyWarning(process[_0x463399(0x280)])&&showLegacyDeprecationWarning(),buildParser()['parse']());
|
|
2
|
+
const _0x266f6e=_0x524b;(function(_0x2bc11d,_0xb293a6){const _0x232c2e=_0x524b,_0x53f6a4=_0x2bc11d();while(!![]){try{const _0x3d848c=parseInt(_0x232c2e(0x22d))/0x1+-parseInt(_0x232c2e(0x20d))/0x2+-parseInt(_0x232c2e(0x1ca))/0x3+parseInt(_0x232c2e(0x2c5))/0x4*(-parseInt(_0x232c2e(0x1ae))/0x5)+parseInt(_0x232c2e(0x2f5))/0x6*(parseInt(_0x232c2e(0x16d))/0x7)+-parseInt(_0x232c2e(0x279))/0x8*(-parseInt(_0x232c2e(0x26f))/0x9)+parseInt(_0x232c2e(0x256))/0xa;if(_0x3d848c===_0xb293a6)break;else _0x53f6a4['push'](_0x53f6a4['shift']());}catch(_0x344680){_0x53f6a4['push'](_0x53f6a4['shift']());}}}(_0x8fa0,0x82251));import _0x1bced7 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x13e7b2=_0x524b,_0x1c7922={'pnnFO':function(_0x29429e,_0x5d9054){return _0x29429e(_0x5d9054);},'aCrIz':function(_0x3fb131,_0x25ab61){return _0x3fb131!==_0x25ab61;},'ZHvPS':function(_0x3f7409,_0x45f677,_0xbf122e){return _0x3f7409(_0x45f677,_0xbf122e);},'nrLOq':_0x13e7b2(0x28b),'HmhvM':function(_0x23ae42,_0x2730cb){return _0x23ae42(_0x2730cb);},'QekfJ':_0x13e7b2(0x309)};let _0x1c752e=process[_0x13e7b2(0x2a8)]();const _0x43bc08=_0x1c7922['pnnFO'](parse,_0x1c752e)[_0x13e7b2(0x273)];while(_0x1c7922['aCrIz'](_0x1c752e,_0x43bc08)){if(existsSync(_0x1c7922['ZHvPS'](join,_0x1c752e,_0x1c7922[_0x13e7b2(0x2f2)]))||_0x1c7922[_0x13e7b2(0x285)](existsSync,_0x1c7922[_0x13e7b2(0x219)](join,_0x1c752e,_0x1c7922['QekfJ'])))return _0x1c752e;_0x1c752e=_0x1c7922['pnnFO'](dirname,_0x1c752e);}return process['cwd']();}_0x1bced7[_0x266f6e(0x2d2)]({'path':join(findProjectRoot(),_0x266f6e(0x309))});import _0x58efce 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';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x4f206d=>{const _0x344fa1=_0x266f6e,_0xf08a35={'ezSpR':function(_0x6a320a){return _0x6a320a();}},_0x37731e=_0xf08a35[_0x344fa1(0x30c)](getCurrentCollector);_0x37731e&&await _0x37731e['trackCommandError'](_0x4f206d),process[_0x344fa1(0x192)]=0x1;});const rawArgs=process['argv']['slice'](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\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.',PROFILE_HELP=_0x266f6e(0x2a0),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(_0x19d061,_0x5468ef){console['error']('\x0a'+_0x19d061+'\x20is\x20now\x20'+_0x5468ef+'\x0a');}function argUsed(_0x511308){return rawArgs['some'](_0x1d7872=>_0x1d7872===_0x511308||_0x1d7872['startsWith'](_0x511308+'='));}function warnFlagRenamed(_0x2f6d53,_0x2ec49a,_0x14ffd9){const _0x2e86b3=_0x266f6e,_0x510d14={'URAGU':function(_0x1275aa,_0x3b984a){return _0x1275aa(_0x3b984a);},'PoXNi':function(_0xcbe785,_0x53bce7,_0x333db8){return _0xcbe785(_0x53bce7,_0x333db8);}};_0x510d14[_0x2e86b3(0x220)](argUsed,_0x2ec49a)&&_0x510d14['PoXNi'](warnRenamed,_0x2f6d53+'\x20'+_0x2ec49a,_0x2f6d53+'\x20'+_0x14ffd9);}function normalizeEnvVarNames(_0x2c6fcd){const _0x3d9c0e=_0x266f6e,_0x11395e=Array[_0x3d9c0e(0x2ba)](_0x2c6fcd)?_0x2c6fcd:_0x2c6fcd?[_0x2c6fcd]:[];return _0x11395e[_0x3d9c0e(0x1ef)](_0x29876a=>String(_0x29876a)['split'](',')['map'](_0x3e2590=>_0x3e2590[_0x3d9c0e(0x1bd)]())['filter'](Boolean));}async function runGoCommand(_0x5a091f,_0x36d8eb=![]){const _0x20bf37=_0x266f6e,_0x563e50={'RnvgE':function(_0x307e0b,_0x26d113){return _0x307e0b+_0x26d113;},'ibfiq':_0x20bf37(0x2cf),'lkPmO':function(_0x29f281,_0x1cf248,_0x295188,_0x3f3f1d){return _0x29f281(_0x1cf248,_0x295188,_0x3f3f1d);},'QlJBR':'--notes','ykdeD':_0x20bf37(0x288),'WoCXp':function(_0x55185d){return _0x55185d();},'IISfI':function(_0x2f7ec4,_0x180a4c){return _0x2f7ec4(_0x180a4c);},'xQrcS':_0x20bf37(0x2b5),'slmLA':function(_0xa0bda3,_0x4b75e5){return _0xa0bda3>_0x4b75e5;},'JbxKM':function(_0x405e12,_0x226afb){return _0x405e12!==_0x226afb;},'TDycz':'rangerwright-cli','hFSon':_0x20bf37(0x1a4),'JAMrA':'base-url','Dlxem':'debug-outcome','QmPHL':function(_0x276766,_0x5997e5){return _0x276766===_0x5997e5;},'QZqPt':_0x20bf37(0x266),'yWFEc':function(_0x3f58d8,_0x1610c1){return _0x3f58d8===_0x1610c1;},'EEvOX':_0x20bf37(0x252),'mEyKp':'\x20INCOMPLETE','PBsKR':_0x20bf37(0x1da)};_0x36d8eb&&warnRenamed(_0x20bf37(0x30d),_0x563e50[_0x20bf37(0x313)]);warnFlagRenamed(_0x563e50['ibfiq'],_0x20bf37(0x198),_0x20bf37(0x2fb)),_0x563e50['lkPmO'](warnFlagRenamed,'ranger\x20go','--task',_0x563e50['QlJBR']),warnFlagRenamed('ranger\x20go',_0x563e50['ykdeD'],_0x20bf37(0x316));const _0x24db44=await _0x563e50[_0x20bf37(0x15d)](loadRangerConfig),_0x4f3f07=isByokEnabled(),_0x2148f5=_0x5a091f['model'],_0xc62419=_0x24db44['model'],_0x2c9a4e=_0x563e50[_0x20bf37(0x296)](normalizeEnvVarNames,_0x5a091f[_0x563e50[_0x20bf37(0x1bf)]]),_0x2df584=_0x563e50[_0x20bf37(0x15d)](getVerificationTransport);if(_0x563e50[_0x20bf37(0x295)](_0x2c9a4e[_0x20bf37(0x2fd)],0x0)&&_0x563e50['JbxKM'](_0x2df584,_0x20bf37(0x241))&&_0x2df584!==_0x563e50[_0x20bf37(0x2da)])throw new Error(_0x20bf37(0x2aa)+_0x2df584+'.');const _0x46b2c8=await verifyFeature({'featureId':_0x5a091f[_0x20bf37(0x208)],'profile':_0x5a091f[_0x20bf37(0x29a)]??_0x5a091f['env']??process[_0x20bf37(0x319)][_0x20bf37(0x291)],'notes':_0x5a091f['notes']??_0x5a091f['task'],'scenario':_0x5a091f['scenario']??_0x5a091f['item'],'startPath':_0x5a091f[_0x563e50['hFSon']],'baseUrl':_0x5a091f[_0x563e50['JAMrA']],'debugOutcome':_0x5a091f[_0x563e50[_0x20bf37(0x234)]],'debugAddressComments':_0x5a091f[_0x20bf37(0x245)],'headed':_0x5a091f[_0x20bf37(0x16a)],'verifierEnvVars':_0x2c9a4e,'byokEnabled':_0x4f3f07,'flagVerifyModel':_0x2148f5,'configVerifyModel':_0xc62419});console['log'](_0x563e50[_0x20bf37(0x221)]('\x0a','='[_0x20bf37(0x284)](0x3c))),console[_0x20bf37(0x27d)](_0x563e50['QmPHL'](_0x46b2c8[_0x20bf37(0x305)],'verified')?_0x563e50['QZqPt']:_0x563e50[_0x20bf37(0x23c)](_0x46b2c8[_0x20bf37(0x305)],_0x563e50['EEvOX'])?_0x563e50[_0x20bf37(0x2a7)]:_0x46b2c8[_0x20bf37(0x305)]===_0x20bf37(0x1af)?'\x20PARTIAL':_0x46b2c8[_0x20bf37(0x305)]===_0x20bf37(0x1df)?_0x563e50['PBsKR']:_0x20bf37(0x286)),console['log']('='['repeat'](0x3c)),console[_0x20bf37(0x27d)](_0x20bf37(0x1f9)+_0x46b2c8[_0x20bf37(0x2f3)]),console['log'](_0x20bf37(0x1ec)+_0x46b2c8['evaluation']),console['log'](_0x20bf37(0x28c)+_0x46b2c8['evaluationReason']),_0x46b2c8[_0x20bf37(0x307)]?.['length']&&(console['log'](_0x20bf37(0x2f9)),_0x46b2c8['issues']['forEach']((_0x1ec15e,_0x1e34ab)=>{const _0x5c9097=_0x20bf37;console['log']('\x0a'+_0x563e50['RnvgE'](_0x1e34ab,0x1)+'.\x20['+_0x1ec15e[_0x5c9097(0x181)]+']\x20'+_0x1ec15e[_0x5c9097(0x18b)]);})),process['exit'](_0x46b2c8['evaluation']==='verified'?0x0:0x1);}function _0x8fa0(){const _0x3f1bc1=['ranger\x20create','hxCVh','SHsRN','mTber','rntkU','encrypt-auth\x20<profile>','vBVUr','env\x20update','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','Base\x20URL\x20of\x20the\x20running\x20app','Evaluation:\x20','feature\x20add-checklist-item','Unknown\x20error','flatMap','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','set\x20<env>\x20<key>\x20<value>','AXDJT','FiLSr','config\x20list','profile\x20config\x20get','all','Alias\x20for\x20--mcp-bootstrap','manual','Summary:\x20','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','dmPZD','ranger\x20resume','Name\x20of\x20the\x20profile\x20to\x20update','MQHgx','current-branch','iHCAw','create','FBTXE','SNrZA','TYCGH','option','profile-name','Name\x20of\x20the\x20environment\x20to\x20update','feature','PycoX','WusWx','jgHRu','gBxhK','325180DUkbgw','feature\x20delete','SxumV','session-id','BvTvk','message','SBhfG','Print\x20the\x20current\x20CLI\x20access\x20token','env-name','HVsgA','ranger\x20feature\x20delete','toNYK','ZHvPS','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','You\x20must\x20specify\x20a\x20command','Asahe','rJrEz','FzlLh','vFjCh','URAGU','RnvgE','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','mUeDs','iucSh','YVTZG','delete\x20<profile-name>','mcp-bootstrap','RuWpx','start\x20[token]','ranger\x20config\x20get','failed','860687gMBdXy','eGbeQ','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.','dwiaM','ZwGWW','ranger\x20feature\x20create','OMOJO','Dlxem','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','BttfZ','YAGhO','KUmbX','oGOzo','NOLPd','PdnzZ','yWFEc','ranger\x20profile\x20ls','bfINt','Remove\x20a\x20config\x20value','LflIc','playwright-cli','verified','YahlS','kevkT','debug-address-comments','Name\x20of\x20the\x20environment','hook:disable','pjVkI','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','Authenticate\x20via\x20MCP\x20proxy','ykQJi','base-url','login','cdp-endpoint','gTaIr','json','add\x20env','incomplete','ranger\x20profile\x20update','ranger\x20config\x20set','skip-auth','1169330zsvBTZ','include-deleted','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','status','Documentation:\x0a','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','limit','Update\x20authentication\x20for\x20an\x20existing\x20profile','profile\x20config\x20set','Install\x20OS-level\x20dependencies\x20for\x20Chromium','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','edit-scenario\x20<description>','array','ooCur','token','XeBDu','\x20VERIFIED','skip-chromium','bzwUc','use\x20<env-name>','number','Install\x20skills\x20for\x20OpenCode','boolean','Subcommand\x20or\x20API\x20token\x20(rngr_...)','ranger\x20get-review','9ihTsKB','SNbbU','RGCwX','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','root','gCkvv','rLzrA','FjUBI','nJiDf','mOqYU','3375440NXNIlt','GYGyD','Authenticate\x20with\x20Ranger','offset','log','bbLjO','qdMUd','setup\x20[tokenOrSubcommand]','skillup','ybnSE','migrate\x20[profile-name]','repeat','HmhvM','\x20FAILED','Install\x20scope\x20for\x20plugin\x20and\x20skills','--item','get-review','model','.ranger','Reason:\x20','MwuRV','scope','WqVsJ','key','RANGER_PROFILE','HVvcG','nUMbA','agJWq','slmLA','IISfI','slice','allow-insecure-localhost','GCZBg','profile','Profile\x20name','setup:all','Delete\x20a\x20cloud\x20profile','opencode','pUizY','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','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','GKupl','YLusq','delete','IPZZo','yes','mEyKp','cwd','List\x20all\x20profiles','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','string','name','debug-outcome','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','test','environment-variable','get\x20<profile>\x20<key>','xScAT','BQCMR','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','env-var','KeKIt','yzewn','eagql','mTsIU','isArray','AGNOz','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','wEsHI','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','setup-ci\x20<token>','kKWxl','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','aYGxZ','ZtrXU','exit','4vmSdHl','NODE_ENV','create\x20<name>','demandCommand','success','with-deps','muVky','RXjIG','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','tokenOrSubcommand','ranger\x20go','FtjBS','nYfuB','config','XUEJg','ranger\x20config\x20unset','ydXCo','mcp','Ranger\x20API\x20token','UIwPt','sGwDn','TDycz','VSbkV','clean','profile\x20login','error','verify-feature','kWjFx','guzQb','CdcUr','ranger\x20setup\x20profiles\x20--scope=','user','EUukF','safe-mode','delete\x20[id]','Set\x20up\x20a\x20local\x20browser\x20profile','wnCXW','ranger\x20profile\x20use','SmVXk','dry-run','reDva','MFMBT','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','Environment\x20name','\x20\x20https://docs.ranger.net\x0a','nrLOq','summary','Pmoeb','144GiEKEX','config\x20unset','zZsCq','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','\x0aIssues:','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','--profile','AzIdN','length','OrOzo','KEOKt','VRWLX','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','use\x20<profile-name>','ranger\x20profile\x20encrypt-auth','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','evaluation','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','issues','tnIkx','.env','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','mdESk','ezSpR','ranger\x20verify-feature','MvIDY','\x0aUnknown\x20command:\x20','ranger\x20feature\x20show','EDRXM','oMBMd','ibfiq','BSgNf','Login\x20failed:\x20','--scenario','KwoBn','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','env','gzcEL','IyqKF','force','use','DfZIa','zGuuw','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','profile\x20migrate','xoGsH','WoCXp','\x0aError:\x20','You\x20must\x20specify\x20an\x20auth\x20subcommand','profile\x20update','feature\x20get-feedback','list','ranger\x20feature\x20restore','xBiRp','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','ArJmM','LvkQS','get\x20<env>\x20<key>','dInbc','headed','pTUhL','kniov','288547MSOqHt','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','exclude-scenario','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','ranger\x20feature\x20get-feedback','version','bfmBe','xEOAM','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','scenario','jybqt','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','setup:skills','update\x20<env-name>','oqSmz','EanWb','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','Number\x20of\x20feature\x20reviews\x20to\x20skip','severity','Feature\x20review\x20ID\x20to\x20restore','Example:\x20ranger\x20create\x20my-feature','ranger\x20use','pcRrV','positional','aXKyA','uUvLG','vUABl','tQCQm','description','wsgcc','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','TiXqd','ranger\x20setup','url','start','exitCode','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','oUUhH','Yapzw','kMBiE','checklist','--env','npALH','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','guNFb','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','IOvnP','epilogue','auth','JtCkE','trackCommandError','PdGHS','TxSoA','start-path','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','ranger\x20profile\x20config\x20set','Heypq','UOOnj','oFxWW','QAZgm','tInFm','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','DgnpW','4714595rOwWyO','partial','update\x20<profile-name>','profile\x20encrypt-auth','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','QVHvu','FYtIt','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','print-access-token','NSIZz','YptIl','Set\x20a\x20config\x20value','ranger\x20env\x20ls','axyUv','Add\x20profile\x20configuration','trim','ranger\x20restore','xQrcS','VOYBr','RANGER_TEST_USERNAME','resume\x20[id]','Restore\x20a\x20soft-deleted\x20feature\x20review','get-feedback\x20[id]','ranger','snPFi','command','WsVxT','YQgJq','2250816XyceRm','Config\x20key\x20to\x20remove','Scenario\x20number\x20to\x20edit\x20(1-based)','MGTQp','uWtqW','rjANe','RMuzr','HifCP','VkrlB','fvKkW','Feature\x20review\x20ID','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','MSILq','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','vvLGw','ranger\x20start','\x20BLOCKED','mloOM','iwhew','feature\x20create','value','blocked','hTmhR','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)'];_0x8fa0=function(){return _0x3f1bc1;};return _0x8fa0();}export function buildParser(_0x25c368){const _0x4e6025=_0x266f6e,_0x569f4d={'bbLjO':_0x4e6025(0x2ac),'JMkeK':'description','CdcUr':_0x4e6025(0x2ab),'HVsgA':'Feature\x20review\x20description','ggAhc':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','VOYBr':'checklist','leFeX':'array','IyqKF':function(_0x38c799,_0x3b53b7){return _0x38c799+_0x3b53b7;},'zZsCq':_0x4e6025(0x2b4),'QVHvu':function(_0x7d4707,_0x539bd5,_0x42242b,_0x35ec18){return _0x7d4707(_0x539bd5,_0x42242b,_0x35ec18);},'jgHRu':'--scenario','FBTXE':function(_0x3b20df,_0x1d48c5,_0x5aca98){return _0x3b20df(_0x1d48c5,_0x5aca98);},'YTUAa':_0x4e6025(0x201),'toNYK':_0x4e6025(0x1ff),'rntkU':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','VdcST':_0x4e6025(0x27c),'mdESk':'number','MQHgx':_0x4e6025(0x180),'CpXId':_0x4e6025(0x257),'YQgJq':_0x4e6025(0x162),'ntSJN':'show','hTmhR':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','qPboE':'Scenario\x20description','TxSoA':'scenario','muVky':_0x4e6025(0x1d4),'kbxnL':_0x4e6025(0x1a5),'vBVUr':_0x4e6025(0x26c),'VkrlB':_0x4e6025(0x222),'eGbeQ':_0x4e6025(0x16f),'AGNOz':'report','vUABl':function(_0x500cde,_0x314dcb,_0x4d70f7){return _0x500cde(_0x314dcb,_0x4d70f7);},'aCskj':'Feature\x20review\x20ID\x20to\x20restore','uUvLG':'restore','WsVxT':_0x4e6025(0x228),'kevkT':_0x4e6025(0x29c),'XUEJg':'with-deps','oUUhH':_0x4e6025(0x235),'guzQb':_0x4e6025(0x28e),'QdeGK':_0x4e6025(0x287),'FiLSr':_0x4e6025(0x306),'fViiP':_0x4e6025(0x190),'aadNN':'Skip\x20browser\x20authentication','jddCA':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','xoGsH':function(_0x3ad1b1,_0x2c8623){return _0x3ad1b1!==_0x2c8623;},'LflIc':function(_0xcd4807,_0x75bf2d){return _0xcd4807+_0x75bf2d;},'hBxAa':'token','YOlWA':'Ranger\x20API\x20token','FYtIt':'skip-chromium','nYfuB':'Skip\x20authentication','wnCXW':_0x4e6025(0x25f),'XeIVG':_0x4e6025(0x2be),'swCkM':_0x4e6025(0x1d5),'oFxWW':function(_0x3e930d){return _0x3e930d();},'wsgcc':function(_0x3269da,_0x4db278){return _0x3269da(_0x4db278);},'NSIZz':'setup:login','xwnoh':'tokenOrSubcommand','gCdVJ':_0x4e6025(0x1f6),'VoECt':'Run\x20full\x20interactive\x20setup','vFjCh':'Install\x20Chromium\x20browser\x20binary','OKPMv':_0x4e6025(0x24d),'eTTQy':_0x4e6025(0x2fa),'qdMUd':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','GYGyD':_0x4e6025(0x2e4),'oGOzo':_0x4e6025(0x31c),'pUizY':_0x4e6025(0x2bc),'wEsHI':'skip-auth','PyGNg':_0x4e6025(0x19a),'TiXqd':function(_0x38841f,_0x4ce402,_0x466bc4){return _0x38841f(_0x4ce402,_0x466bc4);},'gCkvv':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','vOvKJ':'Skip\x20Chromium\x20browser\x20installation','HAkfE':'opencode','QpsRp':_0x4e6025(0x26b),'DgnpW':'profile-name','ykZtU':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','KBRpf':'profile\x20ls','mexfz':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','FtjBS':'save-creds','PnAoN':_0x4e6025(0x170),'ooCur':_0x4e6025(0x1f0),'EBzka':_0x4e6025(0x2a6),'GCZBg':function(_0x36f590,_0x28be43,_0x59cea9,_0x3d86bc){return _0x36f590(_0x28be43,_0x59cea9,_0x3d86bc);},'LxCZX':'profile\x20add','WaskJ':'manual','EXJpK':'No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','rjANe':'unknown\x20error','hxCVh':function(_0x100d16,_0x54e9cd,_0x19ad5d){return _0x100d16(_0x54e9cd,_0x19ad5d);},'ZTalO':_0x4e6025(0x1ea),'XoFPI':_0x4e6025(0x1f5),'YAGhO':_0x4e6025(0x1b9),'snPFi':'list\x20<profile>','fOZIt':'List\x20all\x20config\x20for\x20a\x20profile','iucSh':'add\x20<profile-name>','hjCwy':_0x4e6025(0x29d),'vvLGw':_0x4e6025(0x1e7),'xEOAM':_0x4e6025(0x2a9),'qNSPy':_0x4e6025(0x25d),'pjVkI':'You\x20must\x20specify\x20a\x20profile\x20subcommand','AXDJT':'status','AzIdN':function(_0x5ad9da,_0x4c5703,_0x233fc1){return _0x5ad9da(_0x4c5703,_0x233fc1);},'yIXhx':'Optional\x20feature\x20ID','ZUENz':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','SmVXk':'notes','YLusq':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','MwuRV':'start-path','MGTQp':_0x4e6025(0x2ef),'RMuzr':_0x4e6025(0x21a),'dhUUY':_0x4e6025(0x28a),'SNrZA':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','HifCP':'environment-variable','YHZir':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','YahlS':_0x4e6025(0x2ad),'biBaq':'partial','SxumV':_0x4e6025(0x1df),'UIwPt':_0x4e6025(0x22c),'BvTvk':'env','ZvSfD':'task','mOErq':'item','BQCMR':function(_0x2c292f,_0x906fa3){return _0x2c292f(_0x906fa3);},'WusWx':'profile','PdGHS':_0x4e6025(0x29b),'kKGSH':'ranger\x20auth\x20encrypt','UNrka':_0x4e6025(0x15f),'BEMGK':_0x4e6025(0x260),'QQpMC':_0x4e6025(0x191),'SBhfG':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','jybqt':'Scenario\x20index\x20(1-based)','uyiSY':_0x4e6025(0x24c),'EUukF':_0x4e6025(0x16a),'ioeqp':'env-var','UuvVp':_0x4e6025(0x242),'RGCwX':function(_0x5f6251,_0x3f1334,_0x342e2b){return _0x5f6251(_0x3f1334,_0x342e2b);},'gzcEL':'env-name','dInbc':_0x4e6025(0x2ae),'rnSUn':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','bFTnh':function(_0x1904c0,_0x142edd,_0x3a9cc9){return _0x1904c0(_0x142edd,_0x3a9cc9);},'pXyLF':'ranger\x20add\x20env','YCVeA':function(_0x1c4847,_0x59e907,_0x14f186){return _0x1c4847(_0x59e907,_0x14f186);},'lyQiF':_0x4e6025(0x251),'WiBeU':_0x4e6025(0x246),'ArJmM':function(_0x27e6af,_0xd50cb9,_0x2c6b40){return _0x27e6af(_0xd50cb9,_0x2c6b40);},'EanWb':_0x4e6025(0x2ea),'rJrEz':function(_0xfdeff7,_0x3308fe,_0x8852a2){return _0xfdeff7(_0x3308fe,_0x8852a2);},'mOqYU':_0x4e6025(0x31d),'dqhaW':_0x4e6025(0x1de),'wxDvv':'Environment\x20name','BhQEH':'ranger\x20profile\x20config\x20list','kKWxl':_0x4e6025(0x1f4),'Ciofc':_0x4e6025(0x1cb),'huwwy':'ranger\x20profile\x20config\x20unset','axyUv':'config\x20set','OMOJO':'ranger\x20profile\x20config\x20get','UCYvP':'config\x20get','zGuuw':'list\x20<env>','ydXCo':'ranger\x20env\x20update','CCVjZ':_0x4e6025(0x207),'iHCAw':'You\x20must\x20specify\x20an\x20env\x20subcommand','sCUlX':'ranger\x20create','GdDcg':'--checklist','nJiDf':function(_0x2e13f3,_0x46f2c9,_0x11a6db){return _0x2e13f3(_0x46f2c9,_0x11a6db);},'rViUK':_0x4e6025(0x1dd),'SHsRN':function(_0x18b551,_0xf22b88,_0x3af986){return _0x18b551(_0xf22b88,_0x3af986);},'PXWbC':'ranger\x20feature\x20resume','YptIl':'feature\x20resume','kniov':'ranger\x20add-scenario','GgQHU':'Feature\x20review\x20name','oqSmz':'Include\x20soft-deleted\x20feature\x20reviews','XhSuX':'feature\x20show','ZOpan':'ranger\x20delete','HxuOW':'create\x20<name>','mTsIU':'show\x20[id]','BttfZ':_0x4e6025(0x1c4),'ZtrXU':'restore\x20<id>','QAZgm':_0x4e6025(0x1b5),'ovvsL':'session-id','JcPZZ':_0x4e6025(0x19c),'nUMbA':'hook:enable','HVvcG':function(_0x33a816,_0x3d037d,_0x43cbcc){return _0x33a816(_0x3d037d,_0x43cbcc);},'QUeST':_0x4e6025(0x247),'OrOzo':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','ykQJi':function(_0x2f4e47,_0x1fcee8,_0x59edbc){return _0x2f4e47(_0x1fcee8,_0x59edbc);},'yvMJn':'Unknown\x20command','oMBMd':'ranger','UOOnj':function(_0x290257){return _0x290257();},'WqVsJ':'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','agJWq':_0x4e6025(0x25b),'bzUsa':'report\x20[id]','mTber':_0x4e6025(0x272),'DfZIa':'get-review\x20[id]','mfnKn':_0x4e6025(0x2bf),'voYQL':_0x4e6025(0x281),'VSbkV':'Install\x20Ranger\x20skills','ExXXI':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','ercPB':'update','kWgFq':_0x4e6025(0x1b6),'nHEoe':'add\x20env\x20<env-name>','WiACm':_0x4e6025(0x269),'ZGkkc':_0x4e6025(0x208),'nDjxg':_0x4e6025(0x21b),'TJuRU':function(_0x3a9f7,_0x20eb8f){return _0x3a9f7+_0x20eb8f;},'BSgNf':_0x4e6025(0x25a),'JtCkE':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','kSrBg':'help'};return _0x58efce(_0x25c368??process['argv']['slice'](0x2))['scriptName'](_0x569f4d[_0x4e6025(0x312)])['usage'](TOP_LEVEL_HELP)[_0x4e6025(0x172)](_0x569f4d[_0x4e6025(0x1a8)](getCurrentVersion))[_0x4e6025(0x1c7)](_0x4e6025(0x2c7),_0x4e6025(0x16e),_0x4ef652=>{const _0x270b83=_0x4e6025;return _0x4ef652['positional'](_0x569f4d['bbLjO'],{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x569f4d['JMkeK'],{'type':_0x569f4d['CdcUr'],'alias':'d','description':_0x569f4d[_0x270b83(0x216)]})[_0x270b83(0x205)]('scenario',{'type':'array','alias':'c','description':_0x569f4d['ggAhc']})['option'](_0x569f4d[_0x270b83(0x1c0)],{'type':_0x569f4d['leFeX'],'hidden':!![]});},async _0x5a14d3=>{const _0x2e4e31=_0x4e6025;if(!_0x5a14d3['name']){console[_0x2e4e31(0x2de)](_0x569f4d[_0x2e4e31(0x31b)](_0x569f4d[_0x2e4e31(0x2f7)],_0x2e4e31(0x183))),process['exit'](0x1);return;}_0x569f4d[_0x2e4e31(0x1b3)](warnFlagRenamed,'ranger\x20create','--checklist',_0x569f4d[_0x2e4e31(0x20b)]);const _0x12dc2a=_0x5a14d3[_0x2e4e31(0x176)]||_0x5a14d3[_0x2e4e31(0x197)];await _0x569f4d['FBTXE'](withTelemetry,_0x569f4d['YTUAa'],()=>featureCreate(_0x5a14d3['name'],{'description':_0x5a14d3['description'],'scenarios':_0x12dc2a}));})['command']('list','List\x20all\x20feature\x20reviews',_0x3a480d=>{const _0x1583f1=_0x4e6025;return _0x3a480d['option'](_0x569f4d[_0x1583f1(0x218)],{'type':_0x1583f1(0x26c),'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option']('limit',{'type':'number','alias':'l','description':_0x569f4d[_0x1583f1(0x1e6)],'default':0xa})[_0x1583f1(0x205)](_0x569f4d['VdcST'],{'type':_0x569f4d['mdESk'],'alias':'o','description':_0x569f4d[_0x1583f1(0x1fe)],'default':0x0})[_0x1583f1(0x205)](_0x569f4d['CpXId'],{'type':'boolean','alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x2aa5b6=>{const _0x5bb30d=_0x4e6025;await withTelemetry(_0x569f4d[_0x5bb30d(0x1c9)],()=>featureList({'currentBranch':_0x2aa5b6['current-branch'],'limit':_0x2aa5b6['limit'],'offset':_0x2aa5b6[_0x5bb30d(0x27c)],'includeDeleted':_0x2aa5b6['include-deleted']}));})['command']('show\x20[id]','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x1abc3f=>{const _0x55900a=_0x4e6025;return _0x1abc3f[_0x55900a(0x186)]('id',{'type':_0x55900a(0x2ab),'description':'Feature\x20review\x20ID'});},async _0x525635=>{await _0x569f4d['FBTXE'](withTelemetry,_0x569f4d['ntSJN'],()=>featureShow(_0x525635['id']));})[_0x4e6025(0x1c7)](_0x4e6025(0x1c2),_0x569f4d[_0x4e6025(0x28f)],_0x483d90=>{const _0x420fe2=_0x4e6025;return _0x483d90['positional']('id',{'type':_0x569f4d['CdcUr'],'description':_0x569f4d[_0x420fe2(0x1e0)]});},async _0x2e5350=>{await _0x569f4d['FBTXE'](withTelemetry,'resume',()=>featureResume(_0x2e5350['id']));})[_0x4e6025(0x1c7)]('add-scenario\x20<description>',_0x569f4d[_0x4e6025(0x294)],_0x2a78e7=>{const _0x47bc4f=_0x4e6025;return _0x2a78e7[_0x47bc4f(0x186)]('description',{'type':'string','description':_0x569f4d['qPboE'],'demandOption':!![]})[_0x47bc4f(0x205)]('id',{'type':_0x569f4d[_0x47bc4f(0x2e2)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x4c1424=>{await withTelemetry('add-scenario',()=>featureAddScenario(_0x4c1424['description'],_0x4c1424['id']));})['command'](_0x4e6025(0x261),'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x2a6199=>{const _0x311c4f=_0x4e6025;return _0x2a6199[_0x311c4f(0x186)](_0x311c4f(0x18b),{'type':_0x311c4f(0x2ab),'description':'New\x20scenario\x20description','demandOption':!![]})[_0x311c4f(0x205)](_0x569f4d[_0x311c4f(0x1a3)],{'type':_0x569f4d[_0x311c4f(0x30b)],'description':_0x311c4f(0x1cc),'demandOption':!![]})[_0x311c4f(0x205)]('id',{'type':_0x569f4d['CdcUr'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x44680d=>{const _0x1f5183=_0x4e6025;await withTelemetry('edit-scenario',()=>featureEditScenario(_0x44680d['description'],{'id':_0x44680d['id'],'scenario':_0x44680d[_0x1f5183(0x176)]}));})['command'](_0x569f4d['bzUsa'],_0x569f4d[_0x4e6025(0x1e5)],_0x33008d=>{const _0x4d7c59=_0x4e6025;return _0x33008d['positional']('id',{'type':_0x569f4d['CdcUr'],'description':_0x569f4d['muVky']})[_0x4d7c59(0x205)]('exclude-scenario',{'type':_0x569f4d['leFeX'],'description':_0x569f4d['kbxnL']})['option'](_0x4d7c59(0x250),{'type':_0x569f4d[_0x4d7c59(0x1e8)],'description':_0x569f4d[_0x4d7c59(0x1d2)],'default':![]});},async _0xa40c9=>{const _0x58e753=_0x4e6025,_0x407387=_0xa40c9[_0x569f4d[_0x58e753(0x22e)]],_0x15675b=_0x407387?_0x407387['map'](_0x450c86=>Number(_0x450c86)):undefined;await withTelemetry(_0x569f4d[_0x58e753(0x2bb)],()=>featureReportPrDescription(_0xa40c9['id'],{'excludeScenarios':_0x15675b,'json':_0xa40c9['json']}));})[_0x4e6025(0x1c7)](_0x569f4d[_0x4e6025(0x31e)],_0x4e6025(0x1ac),_0x282d9b=>{return _0x282d9b['positional']('id',{'type':_0x569f4d['CdcUr'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x6dc3be=>{const _0xafec92=_0x4e6025;await withTelemetry(_0xafec92(0x289),()=>featureGetReview(_0x6dc3be['id']));})['command'](_0x4e6025(0x2e7),'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x4a42cb=>{const _0x52ba04=_0x4e6025;return _0x4a42cb['positional']('id',{'type':'string','description':_0x52ba04(0x1d4)});},async _0x48242d=>{const _0x4a2aeb=_0x4e6025;await _0x569f4d[_0x4a2aeb(0x189)](withTelemetry,_0x4a2aeb(0x2a4),()=>featureDelete(_0x48242d['id']));})[_0x4e6025(0x1c7)](_0x569f4d[_0x4e6025(0x2c3)],_0x4e6025(0x1c3),_0x41708c=>{const _0x49fde8=_0x4e6025;return _0x41708c[_0x49fde8(0x186)]('id',{'type':_0x569f4d[_0x49fde8(0x2e2)],'description':_0x569f4d['aCskj'],'demandOption':!![]});},async _0x2fea54=>{const _0x46da7c=_0x4e6025;await withTelemetry(_0x569f4d[_0x46da7c(0x188)],()=>featureRestore(_0x2fea54['id']));})['command'](_0x4e6025(0x280),'Initialize\x20Ranger\x20in\x20your\x20project',_0x4f8c43=>{const _0x3f78fe=_0x4e6025,_0x136fcd={'PycoX':_0x569f4d['hBxAa'],'npALH':'string','ffGLk':_0x569f4d['YOlWA'],'LlWMt':_0x569f4d['FYtIt'],'iwhew':_0x3f78fe(0x17a),'KeKIt':'skip-auth','tInFm':_0x569f4d[_0x3f78fe(0x2d1)],'bXwkk':_0x569f4d[_0x3f78fe(0x2d3)],'MvIDY':_0x569f4d['vBVUr'],'rbVcz':_0x569f4d[_0x3f78fe(0x2e9)],'kMBiE':_0x569f4d[_0x3f78fe(0x1f3)],'XbgPK':_0x569f4d['XeIVG'],'fhGaQ':'force','HQoQj':_0x3f78fe(0x223),'mUeDs':_0x3f78fe(0x298),'nISZB':_0x569f4d['WsVxT'],'Heypq':_0x569f4d['swCkM'],'kWjFx':_0x3f78fe(0x1f7),'ybnSE':function(_0x28519d,_0x4f9040,_0x2d76da){return _0x28519d(_0x4f9040,_0x2d76da);},'KEOKt':function(_0x1f28ad){const _0x2c3b34=_0x3f78fe;return _0x569f4d[_0x2c3b34(0x1a9)](_0x1f28ad);},'PdnzZ':function(_0x44b3c0,_0xb23244){const _0x56a142=_0x3f78fe;return _0x569f4d[_0x56a142(0x18c)](_0x44b3c0,_0xb23244);},'KUmbX':function(_0xbd2595,_0x198e86,_0x59ec45){return _0xbd2595(_0x198e86,_0x59ec45);},'viurd':_0x569f4d[_0x3f78fe(0x1b7)]};return _0x4f8c43['usage']('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')[_0x3f78fe(0x186)](_0x569f4d['xwnoh'],{'type':'string','description':_0x3f78fe(0x26d)})['command'](_0x569f4d['gCdVJ'],_0x569f4d['VoECt'],_0x3936e3=>{const _0x25aaac=_0x3f78fe;return _0x3936e3['option'](_0x136fcd[_0x25aaac(0x209)],{'type':_0x136fcd[_0x25aaac(0x199)],'description':_0x136fcd['ffGLk']})['option'](_0x136fcd['LlWMt'],{'type':'boolean','description':_0x136fcd[_0x25aaac(0x1dc)],'default':![]})[_0x25aaac(0x205)](_0x136fcd[_0x25aaac(0x2b6)],{'type':_0x25aaac(0x26c),'description':_0x136fcd[_0x25aaac(0x1ab)],'default':![]})['option'](_0x136fcd['bXwkk'],{'type':_0x136fcd['MvIDY'],'description':_0x136fcd['rbVcz'],'default':![]})[_0x25aaac(0x205)](_0x25aaac(0x28e),{'type':'string','choices':['user'],'hidden':!![],'description':_0x136fcd[_0x25aaac(0x196)]})['option'](_0x25aaac(0x190),{'type':_0x136fcd['npALH'],'description':_0x136fcd['XbgPK']})['option'](_0x136fcd['fhGaQ'],{'type':_0x136fcd['MvIDY'],'description':_0x25aaac(0x2bc),'default':![]})['option']('opencode',{'type':_0x136fcd['MvIDY'],'description':_0x136fcd['HQoQj'],'default':![]})['option'](_0x136fcd[_0x25aaac(0x224)],{'type':_0x25aaac(0x26c),'description':_0x25aaac(0x1b2),'default':![]})[_0x25aaac(0x205)](_0x136fcd['nISZB'],{'type':_0x136fcd[_0x25aaac(0x30e)],'description':_0x136fcd[_0x25aaac(0x1a7)],'default':![]})['option'](_0x25aaac(0x2d6),{'type':'boolean','description':_0x136fcd[_0x25aaac(0x2e0)],'default':![]});},async _0x27063f=>{const _0x161280=_0x3f78fe;(_0x27063f[_0x161280(0x228)]||_0x27063f['mcp'])&&await withTelemetry(_0x569f4d['WsVxT'],()=>mcpBootstrap()),await _0x569f4d['FBTXE'](withTelemetry,_0x569f4d[_0x161280(0x244)],_0x36b3ba=>start(_0x27063f['token'],{'skipChromium':_0x27063f[_0x161280(0x267)],'skipAuth':_0x27063f[_0x161280(0x255)],'withDeps':_0x27063f[_0x161280(0x2ca)],'scope':_0x27063f['scope'],'url':_0x27063f['url'],'force':_0x27063f[_0x161280(0x31c)],'opencode':_0x27063f['opencode'],'allowInsecureLocalhost':_0x27063f['allow-insecure-localhost']},_0x36b3ba));})['command']('deps',_0x569f4d[_0x3f78fe(0x21f)],_0x3c8319=>{const _0x3d8bb3=_0x3f78fe;return _0x3c8319[_0x3d8bb3(0x205)](_0x569f4d['XUEJg'],{'type':'boolean','description':_0x569f4d['oUUhH'],'default':![]});},async _0x56894f=>{const _0x225208=_0x3f78fe;await _0x136fcd[_0x225208(0x282)](withTelemetry,'setup:deps',()=>ensureChromium(_0x56894f[_0x225208(0x2ca)]));})['command'](_0x569f4d['OKPMv'],_0x3f78fe(0x27b),_0x59f76c=>{const _0x38cd7c=_0x3f78fe;return _0x59f76c['option']('token',{'type':_0x38cd7c(0x2ab),'description':'Ranger\x20API\x20token\x20(rngr_...)'})['option']('mcp',{'type':'boolean','description':_0x38cd7c(0x24a),'default':![]});},async _0x2c1ffd=>{const _0x221987=_0x3f78fe;await _0x136fcd[_0x221987(0x238)](withTelemetry,_0x136fcd['viurd'],async()=>{const _0x50d529=_0x221987;if(_0x2c1ffd[_0x50d529(0x2d6)]){await _0x136fcd[_0x50d529(0x2ff)](mcpBootstrap);const _0x7123b3=await refreshCliToken();if(!_0x7123b3)throw new Error('Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.');const _0x4d82ef=await _0x136fcd[_0x50d529(0x23b)](getCurrentUser,_0x7123b3);if(!_0x4d82ef[_0x50d529(0x2c9)])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x4d82ef['error']);console[_0x50d529(0x27d)]('✓\x20Authenticated\x20to\x20'+_0x4d82ef['user']['organizationName']);return;}await authenticate(_0x2c1ffd[_0x50d529(0x264)]);});})[_0x3f78fe(0x1c7)]('skills',_0x569f4d['eTTQy'],_0x552c1e=>{const _0xdf3fa5=_0x3f78fe;return _0x552c1e['option'](_0x569f4d[_0xdf3fa5(0x2e1)],{'type':'string','choices':[_0xdf3fa5(0x2e4),'project'],'description':_0x569f4d['QdeGK']})[_0xdf3fa5(0x205)](_0xdf3fa5(0x29e),{'type':_0xdf3fa5(0x26c),'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]});},async _0x71b6a7=>{const _0x3adf9b=_0x3f78fe;await withTelemetry(_0x3adf9b(0x17b),async()=>{const _0x581657=_0x3adf9b,_0x3f9b53=_0x71b6a7['scope'];if(_0x71b6a7['opencode']){const _0x2e5e5e=await ensureOpencodePluginConfig(_0x3f9b53);_0x2e5e5e&&await installSkill(_0x581657(0x1c5),{'level':_0x2e5e5e[_0x581657(0x28e)],'cliVersion':getCurrentVersion(),'platform':_0x581657(0x29e)});}else await _0x136fcd[_0x581657(0x23b)](ensureClaudePlugin,_0x3f9b53),await _0x136fcd[_0x581657(0x23b)](ensureClaudeSkills,_0x3f9b53);});})['command']('profiles',_0x3f78fe(0x2e8),_0x5daff8=>{const _0x2dd63e=_0x3f78fe;return _0x5daff8['option']('scope',{'type':_0x2dd63e(0x2ab),'choices':[_0x2dd63e(0x2e4)],'description':_0x569f4d[_0x2dd63e(0x1f3)]})[_0x2dd63e(0x205)](_0x569f4d['fViiP'],{'type':_0x569f4d['CdcUr'],'description':_0x2dd63e(0x1eb)})[_0x2dd63e(0x205)](_0x2dd63e(0x255),{'type':_0x2dd63e(0x26c),'description':_0x569f4d['aadNN'],'default':![]})[_0x2dd63e(0x205)](_0x2dd63e(0x31c),{'type':_0x2dd63e(0x26c),'description':_0x2dd63e(0x2bc),'default':![]})[_0x2dd63e(0x205)]('allow-insecure-localhost',{'type':_0x569f4d['vBVUr'],'description':_0x569f4d['jddCA'],'default':![]});},async _0x4df849=>{const _0x430ed5=_0x3f78fe,_0x1c29e5=_0x4df849['scope'];_0x569f4d['xoGsH'](_0x1c29e5,undefined)&&_0x569f4d[_0x430ed5(0x15c)](_0x1c29e5,'user')&&(console['error'](_0x569f4d[_0x430ed5(0x240)](_0x430ed5(0x2e3)+_0x1c29e5+'\x20is\x20no\x20longer\x20supported.\x20',_0x430ed5(0x258))+'Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.'),process['exit'](0x1)),await withTelemetry('setup:profiles',_0x563578=>ensureLocalEnv({'url':_0x4df849[_0x430ed5(0x190)],'force':_0x4df849[_0x430ed5(0x31c)],'allowInsecureLocalhost':_0x4df849['allow-insecure-localhost'],'scope':'user'},_0x563578));})['option'](_0x569f4d['FYtIt'],{'type':_0x569f4d['vBVUr'],'description':_0x569f4d[_0x3f78fe(0x27f)],'default':![]})['option'](_0x569f4d['guzQb'],{'type':_0x569f4d['CdcUr'],'choices':[_0x569f4d[_0x3f78fe(0x27a)]],'hidden':!![],'description':_0x569f4d['FiLSr']})[_0x3f78fe(0x205)](_0x3f78fe(0x190),{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x569f4d[_0x3f78fe(0x239)],{'type':_0x3f78fe(0x26c),'description':_0x569f4d[_0x3f78fe(0x29f)],'default':![]})[_0x3f78fe(0x205)]('opencode',{'type':'boolean','description':_0x3f78fe(0x223),'default':![]})['option'](_0x3f78fe(0x298),{'type':'boolean','description':_0x3f78fe(0x165),'default':![]})['option']('mcp-bootstrap',{'type':_0x569f4d['vBVUr'],'description':_0x3f78fe(0x304),'default':![]})['option'](_0x569f4d[_0x3f78fe(0x2bd)],{'type':_0x3f78fe(0x26c),'description':_0x569f4d['PyGNg'],'default':![]})[_0x3f78fe(0x205)](_0x3f78fe(0x2ca),{'type':_0x3f78fe(0x26c),'description':_0x569f4d[_0x3f78fe(0x194)],'default':![]})['option'](_0x3f78fe(0x264),{'type':_0x3f78fe(0x2ab),'hidden':!![],'description':'API\x20token'});},async _0x5b938d=>{const _0x48f7a5=_0x4e6025,_0x2fbd01=_0x5b938d[_0x48f7a5(0x2ce)],_0x2e1299=_0x5b938d[_0x48f7a5(0x264)]??_0x2fbd01;_0x5b938d[_0x569f4d[_0x48f7a5(0x1c8)]]&&await _0x569f4d['TiXqd'](withTelemetry,_0x569f4d[_0x48f7a5(0x1c8)],()=>mcpBootstrap()),await _0x569f4d[_0x48f7a5(0x202)](withTelemetry,'start',_0x43d642=>start(_0x2e1299,{'skipChromium':_0x5b938d[_0x48f7a5(0x267)],'skipAuth':_0x5b938d[_0x48f7a5(0x255)],'withDeps':_0x5b938d['with-deps'],'scope':_0x5b938d[_0x48f7a5(0x28e)],'url':_0x5b938d['url'],'force':_0x5b938d['force'],'opencode':_0x5b938d['opencode'],'allowInsecureLocalhost':_0x5b938d['allow-insecure-localhost']},_0x43d642));})['command'](_0x569f4d['mfnKn'],![],_0x519e0a=>{const _0x13ff58=_0x4e6025;return _0x519e0a['positional'](_0x13ff58(0x264),{'type':_0x13ff58(0x2ab),'description':_0x13ff58(0x2d7),'demandOption':!![]})['option'](_0x13ff58(0x29a),{'type':'string','description':_0x569f4d[_0x13ff58(0x274)]})['option'](_0x13ff58(0x24c),{'type':'string','description':_0x13ff58(0x175)})['option'](_0x569f4d[_0x13ff58(0x1b4)],{'type':'boolean','description':_0x569f4d['vOvKJ'],'default':![]});},async _0x2430bc=>{const _0x33f39b=_0x4e6025;await withTelemetry('setup-ci',_0x4df305=>setupCi(_0x2430bc['token'],{'profile':_0x2430bc[_0x33f39b(0x29a)],'baseUrl':_0x2430bc['base-url'],'skipChromium':_0x2430bc['skip-chromium']},_0x4df305));})['command'](_0x4e6025(0x24d),'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)',()=>{},async()=>{await withTelemetry('login',()=>login());})[_0x4e6025(0x1c7)](_0x569f4d['voYQL'],_0x569f4d[_0x4e6025(0x2db)],_0x423172=>{const _0x5ef343=_0x4e6025;return _0x423172[_0x5ef343(0x205)](_0x569f4d['HAkfE'],{'type':_0x5ef343(0x26c),'description':_0x569f4d['QpsRp'],'default':![]})[_0x5ef343(0x205)](_0x569f4d['guzQb'],{'type':_0x569f4d[_0x5ef343(0x2e2)],'choices':[_0x569f4d[_0x5ef343(0x27a)],'project'],'description':'Install\x20scope\x20for\x20skills'});},async _0xf5d02c=>{const _0x1090e8=_0x4e6025,_0x1ecce1=_0x569f4d['wsgcc'](Boolean,_0xf5d02c[_0x1090e8(0x29e)]);await withTelemetry(_0x1090e8(0x281),()=>skillup({'autoInstall':_0xf5d02c[_0x1090e8(0x28e)],'platform':_0x1ecce1?'opencode':'claude'}));})['command'](_0x4e6025(0x2dc),_0x4e6025(0x318),()=>{},async()=>{await withTelemetry('clean',()=>clean());})['command'](['profile','profiles'],'Manage\x20profiles',_0x4a39f0=>{const _0x14e87b=_0x4e6025,_0x147875={'iZTHS':_0x569f4d[_0x14e87b(0x263)],'YhvzS':_0x569f4d['wEsHI'],'RXjIG':_0x569f4d[_0x14e87b(0x1e8)],'MSILq':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','xeXhv':'force','FjUBI':_0x14e87b(0x24e),'klccp':_0x14e87b(0x249),'BqNNr':_0x14e87b(0x298),'RuWpx':_0x14e87b(0x1e1),'gBxhK':'scope','LvkQS':'string','pTUhL':_0x569f4d['EBzka'],'ZwGWW':function(_0x1fe140,_0x5cb720,_0x956751,_0x3a3516){const _0x28aecb=_0x14e87b;return _0x569f4d[_0x28aecb(0x299)](_0x1fe140,_0x5cb720,_0x956751,_0x3a3516);},'UKffn':_0x569f4d['LxCZX'],'lzdYv':function(_0x54aa30,_0x3fbe8e){return _0x54aa30(_0x3fbe8e);},'bfINt':function(_0x326239,_0x1eb4cb,_0x332214){return _0x569f4d['FBTXE'](_0x326239,_0x1eb4cb,_0x332214);},'FzlLh':'profile','uWtqW':_0x14e87b(0x29b),'EDRXM':_0x569f4d['WaskJ'],'eixxS':_0x14e87b(0x160),'ahSqC':'Cloud\x20profile\x20name','reDva':_0x14e87b(0x30a),'rLzrA':_0x569f4d['EXJpK'],'XeBDu':function(_0xe43ad6,_0x33df0c){return _0xe43ad6===_0x33df0c;},'ENLwa':_0x569f4d[_0x14e87b(0x1cf)],'xScAT':function(_0xaeee58,_0x43f7a1,_0x39de9e){return _0x569f4d['hxCVh'](_0xaeee58,_0x43f7a1,_0x39de9e);},'qjSVN':_0x14e87b(0x25e),'guNFb':_0x569f4d['ZTalO'],'rXQEC':_0x569f4d['XoFPI'],'NOLPd':'profile\x20config\x20unset','WshcB':_0x569f4d[_0x14e87b(0x237)],'jOjfF':_0x569f4d[_0x14e87b(0x1c6)],'aYGxZ':_0x569f4d['fOZIt'],'rkDZB':'unset\x20<profile>\x20<key>','bOqXL':_0x14e87b(0x23f),'yzewn':'reset\x20<profile>','GKupl':'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile'};return _0x4a39f0['usage'](PROFILE_HELP)[_0x14e87b(0x1c7)](_0x569f4d[_0x14e87b(0x225)],_0x14e87b(0x1bc),_0x32ffde=>{const _0x355954=_0x14e87b;return _0x32ffde[_0x355954(0x186)](_0x355954(0x206),{'type':_0x355954(0x2ab),'description':_0x147875['iZTHS'],'demandOption':!![]})['option']('ci',{'type':'boolean','hidden':!![],'default':![]})[_0x355954(0x205)](_0x147875['YhvzS'],{'type':_0x147875['RXjIG'],'description':_0x355954(0x2a1),'default':![]})['option'](_0x355954(0x190),{'type':_0x355954(0x2ab),'description':_0x147875[_0x355954(0x1d6)]})['option'](_0x147875['xeXhv'],{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x355954(0x205)](_0x147875[_0x355954(0x276)],{'type':'string','description':_0x147875['klccp']})['option'](_0x147875['BqNNr'],{'type':'boolean','description':_0x355954(0x165),'default':![]})[_0x355954(0x205)]('safe-mode',{'type':_0x355954(0x26c),'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]})['option']('setup-header',{'type':'string','array':!![],'description':_0x147875[_0x355954(0x229)]})['option'](_0x147875[_0x355954(0x20c)],{'type':_0x147875[_0x355954(0x167)],'choices':['user','project'],'description':_0x355954(0x2f8)})[_0x355954(0x205)](_0x147875[_0x355954(0x16b)],{'type':_0x147875['RXjIG'],'alias':'y','description':_0x355954(0x2cd),'default':![]});},async _0x155a9e=>{const _0x2808a2=_0x14e87b;await _0x147875[_0x2808a2(0x231)](withTelemetry,_0x147875['UKffn'],_0x5bad2b=>addEnv(_0x155a9e[_0x2808a2(0x206)],{'ci':_0x155a9e['ci'],'skipAuth':_0x155a9e[_0x2808a2(0x255)],'url':_0x155a9e[_0x2808a2(0x190)],'force':_0x155a9e['force'],'cdpEndpoint':_0x155a9e['cdp-endpoint'],'allowInsecureLocalhost':_0x155a9e[_0x2808a2(0x298)],'safeMode':_0x155a9e[_0x2808a2(0x2e6)],'setupHeader':_0x155a9e['setup-header'],'scope':_0x155a9e['scope'],'yes':_0x155a9e['yes']},_0x5bad2b),{'isElectron':_0x147875['lzdYv'](Boolean,_0x155a9e[_0x147875['FjUBI']])});})['command'](_0x14e87b(0x302),'Switch\x20to\x20using\x20a\x20specific\x20profile',_0x41370f=>{const _0x273bea=_0x14e87b;return _0x41370f[_0x273bea(0x186)](_0x273bea(0x206),{'type':_0x569f4d['CdcUr'],'description':'Name\x20of\x20the\x20profile','demandOption':!![]});},async _0x2f257c=>{const _0x4df66e=_0x14e87b;await _0x147875['bfINt'](withTelemetry,'profile\x20use',()=>useEnv(_0x2f257c[_0x4df66e(0x206)]));})['command'](_0x14e87b(0x227),_0x569f4d['hjCwy'],_0xee86a4=>{const _0x5bbcb8=_0x14e87b;return _0xee86a4[_0x5bbcb8(0x186)](_0x569f4d[_0x5bbcb8(0x1ad)],{'type':_0x569f4d[_0x5bbcb8(0x2e2)],'description':_0x569f4d['ykZtU'],'demandOption':!![]})[_0x5bbcb8(0x205)]('yes',{'type':_0x569f4d['vBVUr'],'alias':'y','description':'Skip\x20the\x20deletion\x20confirmation\x20prompt.','default':![]});},async _0x54d530=>{const _0x3cf1cf=_0x14e87b;await withTelemetry('profile\x20delete',()=>deleteProfile(_0x54d530[_0x3cf1cf(0x206)],{'yes':_0x54d530['yes']}));})[_0x14e87b(0x1c7)](_0x569f4d[_0x14e87b(0x1d8)],![],_0x1e565d=>{const _0x1bf1a9=_0x14e87b;return _0x1e565d['positional'](_0x147875[_0x1bf1a9(0x21e)],{'type':_0x147875['LvkQS'],'description':_0x147875[_0x1bf1a9(0x1ce)],'demandOption':!![]});},async _0x44ad1d=>{const _0x177ba6=_0x14e87b;await withTelemetry(_0x177ba6(0x1b1),()=>authEncrypt(_0x44ad1d['profile']));})[_0x14e87b(0x1c7)]('ls',_0x569f4d[_0x14e87b(0x174)],()=>{},async()=>{await _0x569f4d['FBTXE'](withTelemetry,_0x569f4d['KBRpf'],()=>envList());})['command'](_0x14e87b(0x1b0),_0x569f4d['qNSPy'],_0x4018a7=>{const _0x4378af=_0x14e87b;return _0x4018a7[_0x4378af(0x186)]('profile-name',{'type':_0x4378af(0x2ab),'description':_0x4378af(0x1fd),'demandOption':!![]})['option']('allow-insecure-localhost',{'type':_0x4378af(0x26c),'description':_0x4378af(0x165)})[_0x4378af(0x205)](_0x147875[_0x4378af(0x311)],{'type':_0x147875[_0x4378af(0x2cc)],'description':'Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login'});},async _0x3d0068=>{const _0x149e40=_0x14e87b;await _0x147875['bfINt'](withTelemetry,_0x147875['eixxS'],_0x11757c=>updateEnv(_0x3d0068[_0x149e40(0x206)],_0x11757c,{'allowInsecureLocalhost':_0x3d0068[_0x149e40(0x298)],'manual':_0x3d0068[_0x149e40(0x1f8)]}));})[_0x14e87b(0x1c7)]('login\x20<name>',![],_0xf82b65=>{const _0x558bdb=_0x14e87b;return _0xf82b65[_0x558bdb(0x186)](_0x558bdb(0x2ac),{'type':_0x558bdb(0x2ab),'description':_0x147875['ahSqC'],'demandOption':!![]});},async _0x234ff=>{const _0x5c970e=_0x14e87b;await withTelemetry(_0x5c970e(0x2dd),async()=>{const _0x5805fa=_0x5c970e,_0x1d7961=process[_0x5805fa(0x319)][_0x5805fa(0x1c1)],_0x3a2229=process['env']['RANGER_TEST_PASSWORD'];(!_0x1d7961||!_0x3a2229)&&(console[_0x5805fa(0x2de)](_0x147875[_0x5805fa(0x2ed)]),process[_0x5805fa(0x2c4)](0x1));const _0x2b3f2d=_0x234ff['name'],_0x23c64a=await _0x147875[_0x5805fa(0x23e)](serverSideLogin,_0x2b3f2d,{'force':!![]});_0x23c64a[_0x5805fa(0x259)]==='not_configured'&&(console[_0x5805fa(0x2de)](_0x147875[_0x5805fa(0x275)]),process['exit'](0x1)),_0x147875[_0x5805fa(0x265)](_0x23c64a[_0x5805fa(0x259)],'failed')&&(console[_0x5805fa(0x2de)](_0x5805fa(0x315)+(_0x23c64a['error']??_0x147875['ENLwa'])),_0x23c64a['test_output']&&console[_0x5805fa(0x2de)](_0x23c64a['test_output']),process['exit'](0x1)),console[_0x5805fa(0x27d)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x2b3f2d+'\x27.\x20Session\x20saved.');});})[_0x14e87b(0x1c7)](_0x14e87b(0x283),![],_0x5975c2=>{const _0x144b40=_0x14e87b;return _0x5975c2['positional']('profile-name',{'type':_0x569f4d['CdcUr'],'description':_0x569f4d['mexfz']})['option'](_0x569f4d['gCdVJ'],{'type':_0x569f4d['vBVUr'],'description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})['option']('dry-run',{'type':_0x144b40(0x26c),'description':_0x144b40(0x193),'default':![]})['option']('yes',{'type':_0x569f4d['vBVUr'],'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})['option'](_0x569f4d[_0x144b40(0x2d0)],{'type':_0x569f4d[_0x144b40(0x1e8)],'description':_0x569f4d['PnAoN'],'default':![]});},async _0x1e433a=>{const _0x5e2128=_0x14e87b;await withTelemetry(_0x5e2128(0x15b),_0x40f84d=>migrateProfile({'profileName':_0x1e433a[_0x5e2128(0x206)],'all':_0x1e433a['all'],'dryRun':_0x1e433a[_0x5e2128(0x2ec)],'yes':_0x1e433a['yes'],'saveCreds':_0x1e433a['save-creds']},_0x40f84d));})[_0x14e87b(0x1c7)](_0x14e87b(0x2d2),'Manage\x20profile\x20configuration',_0xdea8a5=>{const _0x358b4d=_0x14e87b,_0x583429={'tnIkx':_0x147875[_0x358b4d(0x167)],'FGpwE':'Profile\x20name','bfmBe':'key','qvCQn':_0x147875[_0x358b4d(0x19b)],'tQCQm':function(_0x1b9921,_0x4e9412,_0x2452be){return _0x147875['bfINt'](_0x1b9921,_0x4e9412,_0x2452be);},'MJikk':_0x147875['rXQEC'],'VRWLX':'Config\x20key\x20to\x20remove','dwiaM':_0x147875[_0x358b4d(0x23a)]};return _0xdea8a5['usage'](PROFILE_CONFIG_HELP)[_0x358b4d(0x1c7)]('set\x20<profile>\x20<key>\x20<value>',_0x147875['WshcB'],_0x5d0e51=>{const _0x2a1e6c=_0x358b4d;return _0x5d0e51[_0x2a1e6c(0x186)]('profile',{'type':_0x583429[_0x2a1e6c(0x308)],'description':_0x583429['FGpwE'],'demandOption':!![]})[_0x2a1e6c(0x186)](_0x583429[_0x2a1e6c(0x173)],{'type':_0x583429[_0x2a1e6c(0x308)],'description':_0x583429['qvCQn'],'demandOption':!![]})[_0x2a1e6c(0x186)]('value',{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0x17d11e=>{const _0x59dd47=_0x358b4d;await _0x147875[_0x59dd47(0x2b2)](withTelemetry,_0x147875['qjSVN'],()=>configSet(_0x17d11e['profile'],_0x17d11e['key'],_0x17d11e[_0x59dd47(0x1de)]));})['command'](_0x358b4d(0x2b1),'Get\x20a\x20config\x20value',_0x5e8250=>{const _0x6c4dbf=_0x358b4d;return _0x5e8250['positional'](_0x147875[_0x6c4dbf(0x21e)],{'type':'string','description':_0x147875[_0x6c4dbf(0x1ce)],'demandOption':!![]})['positional'](_0x6c4dbf(0x290),{'type':_0x147875['LvkQS'],'description':'Config\x20key','demandOption':!![]});},async _0x39c54e=>{const _0x638da2=_0x358b4d;await _0x583429[_0x638da2(0x18a)](withTelemetry,_0x583429['MJikk'],()=>configGet(_0x39c54e[_0x638da2(0x29a)],_0x39c54e['key']));})['command'](_0x147875['jOjfF'],_0x147875[_0x358b4d(0x2c2)],_0x3e3d2f=>{return _0x3e3d2f['positional']('profile',{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x5f5d1a=>{await _0x147875['bfINt'](withTelemetry,'profile\x20config\x20list',()=>configList(_0x5f5d1a['profile']));})['command'](_0x147875['rkDZB'],_0x147875['bOqXL'],_0x4bcc0f=>{const _0x239d3a=_0x358b4d;return _0x4bcc0f[_0x239d3a(0x186)](_0x239d3a(0x29a),{'type':_0x583429[_0x239d3a(0x308)],'description':'Profile\x20name','demandOption':!![]})['positional'](_0x583429[_0x239d3a(0x173)],{'type':_0x583429[_0x239d3a(0x308)],'description':_0x583429[_0x239d3a(0x300)],'demandOption':!![]});},async _0x49eb76=>{const _0x2a1882=_0x358b4d;await withTelemetry(_0x583429[_0x2a1882(0x230)],()=>configUnset(_0x49eb76['profile'],_0x49eb76[_0x2a1882(0x290)]));})[_0x358b4d(0x1c7)](_0x147875[_0x358b4d(0x2b7)],_0x147875[_0x358b4d(0x2a2)],_0x35f398=>{const _0x1fcdf4=_0x358b4d;return _0x35f398[_0x1fcdf4(0x186)]('profile',{'type':_0x147875['LvkQS'],'description':_0x147875['uWtqW'],'demandOption':!![]});},async _0x4208c9=>{const _0x36f07c=_0x358b4d;await withTelemetry('profile\x20config\x20reset',()=>configReset(_0x4208c9[_0x36f07c(0x29a)]));})[_0x358b4d(0x2c8)](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})['demandCommand'](0x1,_0x569f4d[_0x14e87b(0x248)]);})[_0x4e6025(0x1c7)]('status',_0x569f4d['ExXXI'],()=>{},async()=>{const _0x335bda=_0x4e6025;await withTelemetry(_0x569f4d[_0x335bda(0x1f2)],()=>status());})['command'](_0x569f4d['ercPB'],'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{await withTelemetry('update',()=>update());})[_0x4e6025(0x1c7)](_0x569f4d['kWgFq'],_0x4e6025(0x214),()=>{},async()=>{const _0xa284cd=_0x4e6025;await _0x569f4d[_0xa284cd(0x2fc)](withTelemetry,_0xa284cd(0x1b6),async()=>{const _0x1097c1=_0xa284cd,_0x350559=await getToken();if(!_0x350559)throw new Error(_0x1097c1(0x15a));console['log'](_0x350559);});})['command']('go',_0x4e6025(0x18d),_0x1ba6b8=>{const _0x38567a=_0x4e6025;return _0x1ba6b8[_0x38567a(0x205)](_0x38567a(0x208),{'type':_0x569f4d['CdcUr'],'description':_0x569f4d['yIXhx']})[_0x38567a(0x205)]('profile',{'type':_0x569f4d[_0x38567a(0x2e2)],'description':_0x569f4d['ZUENz']})[_0x38567a(0x205)](_0x569f4d[_0x38567a(0x2eb)],{'type':_0x38567a(0x2ab),'description':_0x569f4d[_0x38567a(0x2a3)]})['option'](_0x569f4d['TxSoA'],{'type':_0x38567a(0x26a),'description':'Scenario\x20index\x20(1-based)'})['option'](_0x569f4d[_0x38567a(0x28d)],{'type':_0x38567a(0x2ab),'description':_0x569f4d[_0x38567a(0x1cd)]})['option'](_0x38567a(0x24c),{'type':_0x569f4d['CdcUr'],'description':_0x569f4d[_0x38567a(0x1d0)]})[_0x38567a(0x205)](_0x569f4d['dhUUY'],{'type':'string','description':_0x38567a(0x22f)})['option'](_0x38567a(0x16a),{'type':_0x569f4d['vBVUr'],'description':_0x569f4d[_0x38567a(0x203)],'default':![]})[_0x38567a(0x205)](_0x38567a(0x2b5),{'type':_0x569f4d[_0x38567a(0x2e2)],'array':!![],'alias':_0x569f4d[_0x38567a(0x1d1)],'description':_0x569f4d['YHZir']})[_0x38567a(0x205)](_0x569f4d['YahlS'],{'type':_0x569f4d['CdcUr'],'hidden':!![],'choices':[_0x38567a(0x242),_0x569f4d['biBaq'],_0x569f4d[_0x38567a(0x20f)],_0x569f4d[_0x38567a(0x2d8)],_0x38567a(0x252)]})['option']('debug-address-comments',{'type':_0x569f4d[_0x38567a(0x1e8)],'hidden':!![]})[_0x38567a(0x205)](_0x569f4d['BvTvk'],{'type':'string','hidden':!![]})[_0x38567a(0x205)](_0x569f4d['ZvSfD'],{'type':_0x569f4d[_0x38567a(0x2e2)],'hidden':!![]})[_0x38567a(0x205)](_0x569f4d['mOErq'],{'type':_0x569f4d['mdESk'],'hidden':!![]});},async _0x11de77=>{const _0x224671=_0x4e6025;await _0x569f4d[_0x224671(0x2b3)](runGoCommand,_0x11de77);})[_0x4e6025(0x1c7)](_0x4e6025(0x19f),![],_0x72d728=>{const _0x3d3fdb=_0x4e6025;return _0x72d728['command']('encrypt\x20<profile>',![],_0x5f5a27=>{const _0x14f419=_0x524b;return _0x5f5a27[_0x14f419(0x186)](_0x569f4d['WusWx'],{'type':_0x14f419(0x2ab),'description':_0x569f4d[_0x14f419(0x1a2)],'demandOption':!![]});},async _0x170c55=>{const _0x6d9905=_0x524b;_0x569f4d['FBTXE'](warnRenamed,_0x569f4d['kKGSH'],_0x6d9905(0x303)),await authEncrypt(_0x170c55[_0x6d9905(0x29a)]);})[_0x3d3fdb(0x2c8)](0x1,_0x569f4d['UNrka']);},()=>{})['command'](_0x4e6025(0x22a),![],_0x1da5f7=>{const _0xf5b19f=_0x4e6025;return _0x1da5f7['positional'](_0xf5b19f(0x264),{'type':_0x569f4d[_0xf5b19f(0x2e2)],'description':_0x569f4d['BEMGK']})[_0xf5b19f(0x205)](_0x569f4d['FYtIt'],{'type':_0x569f4d[_0xf5b19f(0x1e8)],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0xf5b19f(0x205)](_0x569f4d[_0xf5b19f(0x2e1)],{'type':_0x569f4d['CdcUr'],'choices':['user'],'hidden':!![],'description':_0xf5b19f(0x306)})[_0xf5b19f(0x205)](_0x569f4d['fViiP'],{'type':_0xf5b19f(0x2ab),'description':_0xf5b19f(0x301)})['option'](_0x569f4d['oGOzo'],{'type':_0x569f4d['vBVUr'],'description':_0x569f4d['pUizY'],'default':![]})['option'](_0x569f4d['wEsHI'],{'type':_0x569f4d['vBVUr'],'description':_0x569f4d[_0xf5b19f(0x2d1)],'default':![]})[_0xf5b19f(0x205)](_0x569f4d['XUEJg'],{'type':_0x569f4d[_0xf5b19f(0x1e8)],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]});},async _0xca6c68=>{const _0x3a1a72=_0x4e6025;warnRenamed(_0x3a1a72(0x1d9),_0x3a1a72(0x18f)),await withTelemetry(_0x569f4d['QQpMC'],_0x786bb5=>start(_0xca6c68['token'],{'skipChromium':_0xca6c68[_0x3a1a72(0x267)],'skipAuth':_0xca6c68['skip-auth'],'withDeps':_0xca6c68[_0x3a1a72(0x2ca)],'scope':_0xca6c68[_0x3a1a72(0x28e)],'url':_0xca6c68['url'],'force':_0xca6c68[_0x3a1a72(0x31c)]},_0x786bb5));})[_0x4e6025(0x1c7)](_0x4e6025(0x2df),![],_0x36edeb=>{const _0x19434e=_0x4e6025;return _0x36edeb['option']('env',{'type':_0x19434e(0x2ab),'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0x19434e(0x205)]('task',{'type':_0x569f4d['CdcUr'],'description':_0x569f4d[_0x19434e(0x213)]})[_0x19434e(0x205)](_0x569f4d['mOErq'],{'type':_0x569f4d['mdESk'],'description':_0x569f4d[_0x19434e(0x177)]})['option'](_0x569f4d[_0x19434e(0x20a)],{'type':_0x569f4d[_0x19434e(0x2e2)],'hidden':!![]})['option'](_0x569f4d[_0x19434e(0x2eb)],{'type':_0x569f4d['CdcUr'],'hidden':!![]})[_0x19434e(0x205)](_0x569f4d['TxSoA'],{'type':_0x569f4d[_0x19434e(0x30b)],'hidden':!![]})[_0x19434e(0x205)]('start-path',{'type':'string','description':_0x19434e(0x2ef)})[_0x19434e(0x205)](_0x569f4d['uyiSY'],{'type':_0x569f4d['CdcUr'],'description':_0x19434e(0x1fa)})['option'](_0x569f4d['dhUUY'],{'type':_0x569f4d[_0x19434e(0x2e2)],'hidden':!![]})[_0x19434e(0x205)](_0x569f4d[_0x19434e(0x2e5)],{'type':_0x569f4d[_0x19434e(0x1e8)],'hidden':!![],'default':![]})[_0x19434e(0x205)](_0x569f4d['ioeqp'],{'type':'string','array':!![],'alias':_0x19434e(0x2b0),'hidden':!![]})['option'](_0x569f4d[_0x19434e(0x243)],{'type':_0x569f4d['CdcUr'],'hidden':!![],'choices':[_0x569f4d['UuvVp'],_0x19434e(0x1af),_0x569f4d['SxumV'],_0x569f4d['UIwPt'],'incomplete']});},async _0x369d9c=>{const _0x57685e=_0x4e6025;await _0x569f4d[_0x57685e(0x271)](runGoCommand,_0x369d9c,!![]);})['command'](_0x569f4d['nHEoe'],![],_0x3b24a7=>{const _0x140cd1=_0x4e6025;return _0x3b24a7[_0x140cd1(0x186)](_0x569f4d[_0x140cd1(0x31a)],{'type':_0x569f4d[_0x140cd1(0x2e2)],'description':_0x569f4d[_0x140cd1(0x169)],'demandOption':!![]})['option']('ci',{'type':_0x569f4d[_0x140cd1(0x1e8)],'description':_0x140cd1(0x1d7),'default':![]})['option']('skip-auth',{'type':_0x569f4d[_0x140cd1(0x1e8)],'description':_0x569f4d['rnSUn'],'default':![]});},async _0x454c49=>{const _0x23ee60=_0x4e6025;_0x569f4d['bFTnh'](warnRenamed,_0x569f4d['pXyLF'],'ranger\x20profile\x20add'),await _0x569f4d['YCVeA'](withTelemetry,_0x569f4d['lyQiF'],_0x595000=>addEnv(_0x454c49[_0x23ee60(0x215)],{'ci':_0x454c49['ci'],'skipAuth':_0x454c49['skip-auth']},_0x595000));})['command'](_0x569f4d['WiACm'],![],_0x1d6d5f=>{const _0x4077ff=_0x4e6025;return _0x1d6d5f[_0x4077ff(0x186)]('env-name',{'type':_0x4077ff(0x2ab),'description':_0x569f4d['WiBeU'],'demandOption':!![]});},async _0x2d80b0=>{const _0x3048c3=_0x4e6025;_0x569f4d[_0x3048c3(0x166)](warnRenamed,_0x3048c3(0x184),_0x569f4d[_0x3048c3(0x17e)]),await _0x569f4d[_0x3048c3(0x21d)](withTelemetry,_0x569f4d[_0x3048c3(0x278)],()=>useEnv(_0x2d80b0[_0x3048c3(0x215)]));})[_0x4e6025(0x1c7)]('config',![],_0x549df1=>{const _0x56d482=_0x4e6025,_0x3d1aa2={'ItISE':_0x56d482(0x254),'kRBTp':_0x56d482(0x1a6),'Yapzw':function(_0x43c5c8,_0x423623,_0x29d2ad){return _0x43c5c8(_0x423623,_0x29d2ad);},'aXKyA':_0x569f4d[_0x56d482(0x1bb)],'Pmoeb':_0x569f4d[_0x56d482(0x233)],'OeeRn':_0x569f4d['UCYvP'],'ZYQlK':_0x56d482(0x319),'KwoBn':_0x569f4d['wxDvv']};return _0x549df1['command'](_0x56d482(0x1f1),![],_0x21533e=>{const _0x54fcbb=_0x56d482;return _0x21533e['positional']('env',{'type':_0x54fcbb(0x2ab),'description':_0x54fcbb(0x2f0),'demandOption':!![]})['positional']('key',{'type':'string','description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})[_0x54fcbb(0x186)](_0x569f4d['dqhaW'],{'type':_0x54fcbb(0x2ab),'description':'Config\x20value','demandOption':!![]});},async _0x78a69b=>{const _0x9123cb=_0x56d482;warnRenamed(_0x3d1aa2['ItISE'],_0x3d1aa2['kRBTp']),await _0x3d1aa2[_0x9123cb(0x195)](withTelemetry,_0x3d1aa2[_0x9123cb(0x187)],()=>configSet(_0x78a69b[_0x9123cb(0x319)],_0x78a69b['key'],_0x78a69b[_0x9123cb(0x1de)]));})['command'](_0x56d482(0x168),![],_0x36eaa2=>{const _0x24bfad=_0x56d482;return _0x36eaa2[_0x24bfad(0x186)](_0x569f4d['BvTvk'],{'type':_0x569f4d[_0x24bfad(0x2e2)],'description':_0x569f4d['wxDvv'],'demandOption':!![]})['positional']('key',{'type':_0x569f4d['CdcUr'],'description':'Config\x20key','demandOption':!![]});},async _0x4c8319=>{const _0x21b830=_0x56d482;warnRenamed(_0x21b830(0x22b),_0x3d1aa2[_0x21b830(0x2f4)]),await withTelemetry(_0x3d1aa2['OeeRn'],()=>configGet(_0x4c8319['env'],_0x4c8319[_0x21b830(0x290)]));})[_0x56d482(0x1c7)](_0x569f4d[_0x56d482(0x31f)],![],_0x240b81=>{const _0x878652=_0x56d482;return _0x240b81['positional'](_0x3d1aa2['ZYQlK'],{'type':_0x878652(0x2ab),'description':_0x3d1aa2[_0x878652(0x317)],'demandOption':!![]});},async _0x43d7e5=>{const _0x194f1e=_0x56d482;warnRenamed('ranger\x20config\x20list',_0x569f4d['BhQEH']),await withTelemetry(_0x569f4d[_0x194f1e(0x2c0)],()=>configList(_0x43d7e5[_0x194f1e(0x319)]));})['command']('unset\x20<env>\x20<key>',![],_0x4a921f=>{const _0x5024fa=_0x56d482;return _0x4a921f['positional']('env',{'type':_0x5024fa(0x2ab),'description':'Environment\x20name','demandOption':!![]})[_0x5024fa(0x186)]('key',{'type':_0x569f4d['CdcUr'],'description':_0x569f4d['Ciofc'],'demandOption':!![]});},async _0x3b7358=>{const _0x3e1e24=_0x56d482;_0x569f4d[_0x3e1e24(0x1e3)](warnRenamed,_0x3e1e24(0x2d4),_0x569f4d['huwwy']),await _0x569f4d[_0x3e1e24(0x21d)](withTelemetry,_0x3e1e24(0x2f6),()=>configUnset(_0x3b7358['env'],_0x3b7358['key']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20config\x20subcommand');})['command'](_0x569f4d[_0x4e6025(0x211)],![],_0x40e6df=>{const _0x1bb46e=_0x4e6025,_0x2800be={'qwWZI':function(_0x36fdc7,_0x4492b6,_0x7978f9){return _0x36fdc7(_0x4492b6,_0x7978f9);},'mloOM':_0x1bb46e(0x1ba),'IOvnP':'env\x20list','SNbbU':_0x1bb46e(0x2ab),'mIVdJ':_0x569f4d['CCVjZ']};return _0x40e6df['command']('ls',![],()=>{},async()=>{const _0x1d7c4a=_0x1bb46e;_0x2800be['qwWZI'](warnRenamed,_0x2800be[_0x1d7c4a(0x1db)],_0x1d7c4a(0x23d)),await withTelemetry(_0x2800be[_0x1d7c4a(0x19d)],()=>envList());})['command'](_0x1bb46e(0x17c),![],_0x5cb0fc=>{const _0x3db611=_0x1bb46e;return _0x5cb0fc['positional'](_0x3db611(0x215),{'type':_0x2800be[_0x3db611(0x270)],'description':_0x2800be['mIVdJ'],'demandOption':!![]});},async _0x4413ca=>{const _0x4f1f5d=_0x1bb46e;warnRenamed(_0x569f4d[_0x4f1f5d(0x2d5)],_0x4f1f5d(0x253)),await withTelemetry(_0x4f1f5d(0x1e9),_0x2d8f1d=>updateEnv(_0x4413ca['env-name'],_0x2d8f1d));})['demandCommand'](0x1,_0x569f4d[_0x1bb46e(0x200)]);})[_0x4e6025(0x1c7)](_0x569f4d['ZGkkc'],![],_0x2d4b92=>{const _0x5d7f13=_0x4e6025,_0x5af57a={'CaIWZ':_0x569f4d[_0x5d7f13(0x27e)],'xBiRp':_0x5d7f13(0x2ab),'MFMBT':_0x569f4d['GgQHU'],'DTmhq':'Feature\x20review\x20description','bzwUc':'checklist','LbwBX':_0x5d7f13(0x262),'fvKkW':_0x569f4d['ggAhc'],'TYCGH':_0x569f4d['VdcST'],'oqdBS':_0x569f4d[_0x5d7f13(0x30b)],'Asahe':_0x5d7f13(0x257),'VvIrI':_0x5d7f13(0x26c),'dmPZD':_0x569f4d[_0x5d7f13(0x17d)],'YVTZG':function(_0x116b04,_0x23ccc6,_0x43412a){return _0x116b04(_0x23ccc6,_0x43412a);},'eagql':'ranger\x20show','gTaIr':_0x569f4d['XhSuX'],'fCMOd':_0x5d7f13(0x2c1),'IPZZo':_0x5d7f13(0x171),'sGwDn':_0x5d7f13(0x161),'BLLGo':_0x5d7f13(0x217),'nDdJf':_0x569f4d['ZOpan'],'fsnbL':function(_0x4c2a60,_0x3273e9,_0x358b0d){return _0x4c2a60(_0x3273e9,_0x358b0d);},'boYWA':_0x5d7f13(0x1be)};return _0x2d4b92[_0x5d7f13(0x1c7)](_0x569f4d['HxuOW'],![],_0x5e9028=>{const _0x2d0247=_0x5d7f13;return _0x5e9028[_0x2d0247(0x186)](_0x5af57a['CaIWZ'],{'type':_0x5af57a[_0x2d0247(0x164)],'description':_0x5af57a[_0x2d0247(0x2ee)],'demandOption':!![]})['option'](_0x2d0247(0x18b),{'type':_0x5af57a['xBiRp'],'alias':'d','description':_0x5af57a['DTmhq']})['option'](_0x5af57a[_0x2d0247(0x268)],{'type':_0x5af57a['LbwBX'],'alias':'c','description':_0x5af57a[_0x2d0247(0x1d3)]})[_0x2d0247(0x205)]('scenario',{'type':_0x5af57a['LbwBX'],'hidden':!![]});},async _0x360ef2=>{const _0x3e9bac=_0x5d7f13;warnRenamed(_0x3e9bac(0x232),_0x569f4d['sCUlX']),warnFlagRenamed(_0x3e9bac(0x1e2),_0x569f4d['GdDcg'],'--scenario');const _0x4cdc7e=_0x360ef2[_0x3e9bac(0x176)]||_0x360ef2['checklist'];await _0x569f4d['nJiDf'](withTelemetry,_0x569f4d['rViUK'],()=>featureCreate(_0x360ef2['name'],{'description':_0x360ef2['description'],'scenarios':_0x4cdc7e}));})['command'](_0x569f4d[_0x5d7f13(0x1c9)],![],_0x3ccfea=>{const _0x52b3aa=_0x5d7f13;return _0x3ccfea['option']('current-branch',{'type':'boolean','description':_0x52b3aa(0x178)})['option']('limit',{'type':_0x52b3aa(0x26a),'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option'](_0x5af57a[_0x52b3aa(0x204)],{'type':_0x5af57a['oqdBS'],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x52b3aa(0x205)](_0x5af57a[_0x52b3aa(0x21c)],{'type':_0x5af57a['VvIrI'],'alias':'d','description':_0x5af57a[_0x52b3aa(0x1fb)],'default':![]});},async _0x25352f=>{const _0x5bc9a1=_0x5d7f13;_0x569f4d[_0x5bc9a1(0x1e4)](warnRenamed,'ranger\x20feature\x20list','ranger\x20list'),await _0x569f4d[_0x5bc9a1(0x18e)](withTelemetry,'feature\x20list',()=>featureList({'currentBranch':_0x25352f[_0x5bc9a1(0x1ff)],'limit':_0x25352f[_0x5bc9a1(0x25c)],'offset':_0x25352f['offset'],'includeDeleted':_0x25352f['include-deleted']}));})[_0x5d7f13(0x1c7)](_0x569f4d[_0x5d7f13(0x2b9)],![],_0x3d74e8=>{return _0x3d74e8['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0xf4db2a=>{const _0x423c6b=_0x5d7f13;_0x5af57a['YVTZG'](warnRenamed,_0x423c6b(0x310),_0x5af57a[_0x423c6b(0x2b8)]),await _0x5af57a['YVTZG'](withTelemetry,_0x5af57a[_0x423c6b(0x24f)],()=>featureShow(_0xf4db2a['id']));})[_0x5d7f13(0x1c7)]('resume\x20[id]',![],_0x533189=>{const _0x54c032=_0x5d7f13;return _0x533189[_0x54c032(0x186)]('id',{'type':'string','description':_0x54c032(0x179)});},async _0x30bcfb=>{const _0x205ffe=_0x5d7f13;_0x569f4d[_0x205ffe(0x18e)](warnRenamed,_0x569f4d['PXWbC'],_0x205ffe(0x1fc)),await _0x569f4d[_0x205ffe(0x277)](withTelemetry,_0x569f4d[_0x205ffe(0x1b8)],()=>featureResume(_0x30bcfb['id']));})['command']('add-checklist-item\x20<description>',![],_0x57fbe8=>{const _0x5ebc7d=_0x5d7f13;return _0x57fbe8['positional'](_0x5ebc7d(0x18b),{'type':_0x5af57a[_0x5ebc7d(0x164)],'description':'Scenario\x20description','demandOption':!![]})[_0x5ebc7d(0x205)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x47abf8=>{const _0x107b28=_0x5d7f13;warnRenamed('ranger\x20feature\x20add-checklist-item',_0x569f4d[_0x107b28(0x16c)]),await withTelemetry(_0x107b28(0x1ed),()=>featureAddScenario(_0x47abf8[_0x107b28(0x18b)],_0x47abf8['id']));})['command'](_0x569f4d[_0x5d7f13(0x236)],![],_0x3fbacd=>{const _0x442804=_0x5d7f13;return _0x3fbacd[_0x442804(0x186)]('id',{'type':_0x5af57a['xBiRp'],'description':_0x5af57a['fCMOd']});},async _0x6c981a=>{const _0x248b55=_0x5d7f13;_0x5af57a[_0x248b55(0x226)](warnRenamed,_0x5af57a[_0x248b55(0x2a5)],_0x248b55(0x26e)),await withTelemetry(_0x5af57a[_0x248b55(0x2d9)],()=>featureGetReview(_0x6c981a['id']));})['command']('delete\x20[id]',![],_0x57701e=>{const _0x206113=_0x5d7f13;return _0x57701e['positional']('id',{'type':'string','description':_0x569f4d[_0x206113(0x2cb)]});},async _0x1a13e0=>{const _0x5cb7e7=_0x5d7f13;warnRenamed(_0x5af57a['BLLGo'],_0x5af57a['nDdJf']),await _0x5af57a['YVTZG'](withTelemetry,_0x5cb7e7(0x20e),()=>featureDelete(_0x1a13e0['id']));})[_0x5d7f13(0x1c7)](_0x569f4d[_0x5d7f13(0x2c3)],![],_0x2829c9=>{const _0x40a6b3=_0x5d7f13;return _0x2829c9['positional']('id',{'type':'string','description':_0x40a6b3(0x182),'demandOption':!![]});},async _0x13d957=>{const _0x32674f=_0x5d7f13;_0x5af57a['fsnbL'](warnRenamed,_0x32674f(0x163),_0x5af57a['boYWA']),await _0x5af57a[_0x32674f(0x226)](withTelemetry,'feature\x20restore',()=>featureRestore(_0x13d957['id']));})['demandCommand'](0x1,_0x569f4d[_0x5d7f13(0x1aa)]);})['command']('hook',![],_0x38b113=>{const _0x749843=_0x4e6025,_0x4b9f3d={'pcRrV':_0x749843(0x210)};return _0x38b113[_0x749843(0x1c7)]('enable',_0x749843(0x17f),_0x4499a6=>{return _0x4499a6['option'](_0x569f4d['ovvsL'],{'type':_0x569f4d['CdcUr'],'description':_0x569f4d['JcPZZ']});},async _0x2d1150=>{const _0x370879=_0x749843;await _0x569f4d[_0x370879(0x18e)](withTelemetry,_0x569f4d[_0x370879(0x293)],()=>hook('enable',_0x2d1150['session-id']));})[_0x749843(0x1c7)]('disable',_0x569f4d[_0x749843(0x2fe)],_0x55a10a=>{const _0x27c9f1=_0x749843;return _0x55a10a['option'](_0x4b9f3d[_0x27c9f1(0x185)],{'type':_0x27c9f1(0x2ab),'description':_0x27c9f1(0x19c)});},async _0x21d24f=>{const _0x3b0672=_0x749843;await _0x569f4d[_0x3b0672(0x292)](withTelemetry,_0x569f4d['QUeST'],()=>hook('disable',_0x21d24f[_0x3b0672(0x210)]));})[_0x749843(0x205)]('name',{'type':_0x569f4d[_0x749843(0x2e2)],'description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})[_0x749843(0x205)](_0x569f4d['ovvsL'],{'type':_0x569f4d['CdcUr'],'description':_0x569f4d['JcPZZ']});},async _0x193b34=>{const _0x9138a1=_0x4e6025;_0x193b34[_0x9138a1(0x2ac)]&&await _0x569f4d[_0x9138a1(0x24b)](hook,_0x193b34['name'],_0x193b34[_0x9138a1(0x210)]);})[_0x4e6025(0x2c8)](0x1,_0x569f4d['nDjxg'])['strictCommands']()['fail'](async(_0x212f19,_0x39e52c,_0x131659)=>{const _0x3320a8=_0x4e6025,_0x5b9fd2=_0x569f4d['wsgcc'](sanitizeArgs,process['argv'][_0x3320a8(0x297)](0x2)),_0x453021=_0x569f4d['RGCwX'](getErrorType,_0x212f19,_0x39e52c);if(_0x212f19&&_0x212f19['includes'](_0x569f4d['yvMJn'])){const _0x4287c6=process['argv'][0x2];console['error'](_0x3320a8(0x30f)+_0x4287c6),console['error']('Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a');}else{if(_0x212f19)console['error']('\x0a'+_0x212f19+'\x0a');else _0x39e52c&&console[_0x3320a8(0x2de)](_0x3320a8(0x15e)+_0x39e52c['message']+'\x0a');}await logDesirePath({'rawCommand':_0x5b9fd2,'errorMessage':_0x212f19||_0x39e52c?.[_0x3320a8(0x212)],'errorType':_0x453021});const _0x273e6b=getCurrentCollector();_0x273e6b&&await _0x273e6b[_0x3320a8(0x1a1)](_0x39e52c||new Error(_0x212f19||_0x3320a8(0x1ee))),process[_0x3320a8(0x2c4)](0x1);})[_0x4e6025(0x19e)](_0x569f4d[_0x4e6025(0x240)](_0x569f4d['TJuRU'](_0x569f4d[_0x4e6025(0x314)],_0x4e6025(0x2f1)),_0x569f4d[_0x4e6025(0x1a0)]))['help']()['alias'](_0x569f4d['kSrBg'],'h');}function _0x524b(_0x3cd85f,_0x359d00){_0x3cd85f=_0x3cd85f-0x15a;const _0x8fa0b6=_0x8fa0();let _0x524b95=_0x8fa0b6[_0x3cd85f];return _0x524b95;}process['env'][_0x266f6e(0x2c6)]!==_0x266f6e(0x2af)&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()['parse']());
|