@ranger-testing/ranger-cli 3.0.1-alpha.476607f-31 → 3.0.1-alpha.4fcf7f7-33
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 -1
- package/build/commands/utils/resolveProfileContext.js +1 -1
- package/build/commands/utils/resolveProfileUrl.js +1 -1
- package/build/commands/utils/retry.js +1 -1
- package/build/commands/utils/sessionCache.js +1 -1
- package/build/commands/utils/settings.js +1 -1
- package/build/commands/utils/skillContent.js +1 -1
- package/build/commands/utils/skills.js +1 -1
- package/build/commands/utils/stitchWebmFiles.js +1 -1
- package/build/commands/utils/telemetry.js +1 -1
- package/build/commands/utils/tokenRefresh.js +1 -1
- package/build/commands/utils/traceSnapshotMapper.js +1 -1
- package/build/commands/utils/userApi.js +1 -1
- package/build/commands/utils/version.js +1 -1
- package/build/commands/verifyFeature.js +1 -1
- package/build/commands/verifyFeatureCli.js +1 -1
- package/build/commands/verifyFeatureNovaCli.js +1 -1
- package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
- package/package.json +1 -1
package/build/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x1815ca=_0x58a0;(function(_0x2ad2fc,_0x409534){const _0x837501=_0x58a0,_0x11cd4a=_0x2ad2fc();while(!![]){try{const _0x3bf4ad=parseInt(_0x837501(0xae))/0x1*(-parseInt(_0x837501(0x1f9))/0x2)+-parseInt(_0x837501(0x201))/0x3+-parseInt(_0x837501(0x1d9))/0x4+-parseInt(_0x837501(0x123))/0x5*(parseInt(_0x837501(0xad))/0x6)+-parseInt(_0x837501(0x20d))/0x7+parseInt(_0x837501(0x1bc))/0x8+parseInt(_0x837501(0xb9))/0x9;if(_0x3bf4ad===_0x409534)break;else _0x11cd4a['push'](_0x11cd4a['shift']());}catch(_0x1e2040){_0x11cd4a['push'](_0x11cd4a['shift']());}}}(_0x3128,0xabc2c));import _0x4e1186 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x4a5dc5=_0x58a0,_0x21cfa3={'puJWc':function(_0x84f543,_0x17b535){return _0x84f543(_0x17b535);},'Mymvw':function(_0x2099be,_0x49a844,_0x3669ce){return _0x2099be(_0x49a844,_0x3669ce);},'FYxrS':'.ranger','aysfA':function(_0x40ddc0,_0x29cd1a){return _0x40ddc0(_0x29cd1a);},'rdIBr':_0x4a5dc5(0x1ee),'TYJhd':function(_0x407c53,_0x31a4d0){return _0x407c53(_0x31a4d0);}};let _0x2f55ef=process['cwd']();const _0x5e21ae=parse(_0x2f55ef)[_0x4a5dc5(0xf6)];while(_0x2f55ef!==_0x5e21ae){if(_0x21cfa3['puJWc'](existsSync,_0x21cfa3['Mymvw'](join,_0x2f55ef,_0x21cfa3['FYxrS']))||_0x21cfa3['aysfA'](existsSync,join(_0x2f55ef,_0x21cfa3[_0x4a5dc5(0x175)])))return _0x2f55ef;_0x2f55ef=_0x21cfa3['TYJhd'](dirname,_0x2f55ef);}return process['cwd']();}_0x4e1186[_0x1815ca(0x1e9)]({'path':join(findProjectRoot(),'.env')});import _0x353c63 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';function _0x58a0(_0x1fa6d4,_0x408ac5){_0x1fa6d4=_0x1fa6d4-0xa3;const _0x312866=_0x3128();let _0x58a097=_0x312866[_0x1fa6d4];return _0x58a097;}import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x25a625=>{const _0xa7324f=_0x1815ca,_0x2f4249=getCurrentCollector();_0x2f4249&&await _0x2f4249[_0xa7324f(0x1ed)](_0x25a625),process[_0xa7324f(0x21b)]=0x1;});const rawArgs=process[_0x1815ca(0xb7)]['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='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201',PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201';function warnRenamed(_0x5162e8,_0x205912){const _0xdfeedd=_0x1815ca;console['error']('\x0a'+_0x5162e8+_0xdfeedd(0x161)+_0x205912+'\x0a');}function argUsed(_0x4d7a47){return rawArgs['some'](_0x18c94d=>_0x18c94d===_0x4d7a47||_0x18c94d['startsWith'](_0x4d7a47+'='));}function warnFlagRenamed(_0x356d51,_0x3a4e95,_0x577e67){const _0x586363=_0x1815ca,_0x2fdb87={'djRXl':function(_0x48db41,_0x1b9bfe,_0x1d0b45){return _0x48db41(_0x1b9bfe,_0x1d0b45);}};argUsed(_0x3a4e95)&&_0x2fdb87[_0x586363(0x1b4)](warnRenamed,_0x356d51+'\x20'+_0x3a4e95,_0x356d51+'\x20'+_0x577e67);}async function runGoCommand(_0x5ba1ed,_0x21e573=![]){const _0x54e7b9=_0x1815ca,_0x336fac={'WUeRB':_0x54e7b9(0x13e),'HcdwX':'ranger\x20go','NCsXz':'--notes','WDOGg':function(_0x1dd776){return _0x1dd776();},'lHdAH':'start-path','rdRBT':_0x54e7b9(0xdc),'NuyJl':function(_0x58237c,_0x87741){return _0x58237c+_0x87741;},'iNIGm':'verified','FcsZF':_0x54e7b9(0x10e),'iVffb':_0x54e7b9(0x1b5),'fZDvU':_0x54e7b9(0x106),'Nxrok':'partial','IwRye':_0x54e7b9(0x184),'mYtDF':'\x20BLOCKED','CUneM':'\x20FAILED','rsFLa':'\x0aIssues:','GVXYb':function(_0x22ea51,_0x4e25ef){return _0x22ea51===_0x4e25ef;}};_0x21e573&&warnRenamed(_0x336fac[_0x54e7b9(0x217)],_0x54e7b9(0x134));warnFlagRenamed(_0x336fac['HcdwX'],'--env',_0x54e7b9(0x171)),warnFlagRenamed(_0x54e7b9(0x134),_0x54e7b9(0x1d0),_0x336fac['NCsXz']),warnFlagRenamed('ranger\x20go','--item','--scenario');const _0x55f558=await _0x336fac['WDOGg'](loadRangerConfig),_0x127f97=isByokEnabled(),_0x4496c9=_0x5ba1ed[_0x54e7b9(0x10b)],_0x22c27e=_0x55f558['model'],_0x2a6ee4=await verifyFeature({'featureId':_0x5ba1ed['feature'],'profile':_0x5ba1ed[_0x54e7b9(0x1e1)]??_0x5ba1ed['env']??process['env']['RANGER_PROFILE'],'notes':_0x5ba1ed['notes']??_0x5ba1ed['task'],'scenario':_0x5ba1ed['scenario']??_0x5ba1ed[_0x54e7b9(0x22d)],'startPath':_0x5ba1ed[_0x336fac['lHdAH']],'baseUrl':_0x5ba1ed[_0x54e7b9(0x17a)],'debugOutcome':_0x5ba1ed[_0x54e7b9(0x174)],'debugAddressComments':_0x5ba1ed[_0x336fac[_0x54e7b9(0x202)]],'headed':_0x5ba1ed['headed'],'byokEnabled':_0x127f97,'flagVerifyModel':_0x4496c9,'configVerifyModel':_0x22c27e});console['log'](_0x336fac[_0x54e7b9(0x182)]('\x0a','='['repeat'](0x3c))),console['log'](_0x2a6ee4['evaluation']===_0x336fac['iNIGm']?_0x336fac['FcsZF']:_0x2a6ee4[_0x54e7b9(0x131)]===_0x336fac[_0x54e7b9(0x1b8)]?_0x336fac['fZDvU']:_0x2a6ee4[_0x54e7b9(0x131)]===_0x336fac[_0x54e7b9(0x185)]?_0x54e7b9(0x167):_0x2a6ee4[_0x54e7b9(0x131)]===_0x336fac['IwRye']?_0x336fac['mYtDF']:_0x336fac[_0x54e7b9(0x12a)]),console[_0x54e7b9(0x1b1)]('='[_0x54e7b9(0x1fd)](0x3c)),console['log'](_0x54e7b9(0x147)+_0x2a6ee4[_0x54e7b9(0x21a)]),console['log']('Evaluation:\x20'+_0x2a6ee4['evaluation']),console[_0x54e7b9(0x1b1)]('Reason:\x20'+_0x2a6ee4['evaluationReason']),_0x2a6ee4['issues']?.['length']&&(console['log'](_0x336fac[_0x54e7b9(0x155)]),_0x2a6ee4[_0x54e7b9(0xe8)]['forEach']((_0x52a8cd,_0x290a26)=>{const _0x1213a1=_0x54e7b9;console['log']('\x0a'+(_0x290a26+0x1)+_0x1213a1(0x1f1)+_0x52a8cd[_0x1213a1(0x14d)]+']\x20'+_0x52a8cd[_0x1213a1(0x21c)]);})),process['exit'](_0x336fac['GVXYb'](_0x2a6ee4[_0x54e7b9(0x131)],_0x336fac[_0x54e7b9(0x1b7)])?0x0:0x1);}export function buildParser(_0xeb5d2b){const _0x2d1053=_0x1815ca,_0x592e91={'zLzIk':_0x2d1053(0x17e),'FYfVj':_0x2d1053(0x21c),'nESGh':'checklist','tjqoA':_0x2d1053(0x208),'vMphA':function(_0x2b8aa6,_0x3ce58e){return _0x2b8aa6+_0x3ce58e;},'iGnFf':'Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','JvqYH':function(_0xba767a,_0x98fea,_0x2d0af0,_0x4e6aa8){return _0xba767a(_0x98fea,_0x2d0af0,_0x4e6aa8);},'geGFM':_0x2d1053(0xf7),'xYfyg':'current-branch','TNjlc':_0x2d1053(0x11d),'WhaDX':_0x2d1053(0x19a),'mtSNI':'number','vmeZg':'Number\x20of\x20feature\x20reviews\x20to\x20skip','oopCt':'boolean','ELvmA':'Include\x20soft-deleted\x20feature\x20reviews','GqCRE':_0x2d1053(0x16e),'oIqWr':_0x2d1053(0x108),'JtvkZ':_0x2d1053(0x191),'ItAOw':_0x2d1053(0x195),'LwDkH':'Scenario\x20description','Hftqt':_0x2d1053(0xeb),'RHxKv':function(_0x388b14,_0x36d16f,_0x30b2d9){return _0x388b14(_0x36d16f,_0x30b2d9);},'NyrTh':_0x2d1053(0xd5),'FhRLm':function(_0x88ad8b,_0x11cfff,_0x2d678f){return _0x88ad8b(_0x11cfff,_0x2d678f);},'hmQTl':_0x2d1053(0x23a),'xJghc':function(_0x7b64a,_0x4030d9,_0x54f121){return _0x7b64a(_0x4030d9,_0x54f121);},'TzcKH':_0x2d1053(0xd4),'RdeJM':'mcp-bootstrap','oKtmh':function(_0x39ca37,_0x5de1b9,_0x3d21b0){return _0x39ca37(_0x5de1b9,_0x3d21b0);},'MRGkk':'setup:all','hrfZu':'token','zoJie':'Authenticate\x20via\x20MCP\x20proxy','WYnpL':'user','CuezE':'project','pHJzk':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','dIypg':'scope','PuNle':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','UHxyN':_0x2d1053(0x100),'hZfMq':'Skip\x20browser\x20authentication','omOhH':_0x2d1053(0x1c5),'OPDrd':_0x2d1053(0x196),'DjaEK':function(_0x3c9d11,_0x353c1b){return _0x3c9d11!==_0x353c1b;},'qbTek':function(_0x396e3f,_0x429a76){return _0x396e3f+_0x429a76;},'USQSn':'setup:profiles','lLQBM':_0x2d1053(0x144),'TpuGh':'url','MajAa':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','RtXYZ':_0x2d1053(0x19d),'zGLWp':_0x2d1053(0x179),'NagiY':function(_0x3ac735,_0x580653){return _0x3ac735(_0x580653);},'ttsBg':'setup:skills','cgAsW':_0x2d1053(0x215),'xlePI':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','MboRA':'all','DOMtC':'Run\x20full\x20interactive\x20setup','kcHuV':_0x2d1053(0x233),'EoJYh':'login','eVpHR':'Authenticate\x20with\x20Ranger','kLVRw':_0x2d1053(0x160),'TIiXE':_0x2d1053(0x20b),'IJjET':_0x2d1053(0x1ca),'FrpCP':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','xySwJ':_0x2d1053(0x18f),'TDiUQ':_0x2d1053(0x1b2),'XCtzv':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','OyipD':'base-url','vGMcb':'skip-chromium','hPbSz':_0x2d1053(0x125),'qPKIc':_0x2d1053(0x142),'zstCw':function(_0x3643b1,_0x2a6015){return _0x3643b1(_0x2a6015);},'EZisu':'skillup','StwBQ':function(_0x3e6513,_0x8f3de9,_0x3048d6){return _0x3e6513(_0x8f3de9,_0x3048d6);},'kkrMY':function(_0x5a5ace,_0x3dd0ed){return _0x5a5ace(_0x3dd0ed);},'YLpEP':function(_0x2a3108,_0x1a3d6b,_0x4d77d3){return _0x2a3108(_0x1a3d6b,_0x4d77d3);},'CzmlF':_0x2d1053(0xdf),'PYWdb':function(_0x52c8a4,_0x4ba130,_0x19b5e0){return _0x52c8a4(_0x4ba130,_0x19b5e0);},'FORJN':'Name\x20of\x20the\x20profile\x20to\x20update','yCiAR':_0x2d1053(0x1bf),'FFslf':'Cloud\x20profile\x20name','abRNb':_0x2d1053(0xe5),'ivsXi':_0x2d1053(0x1c9),'QzAfq':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','HLJNn':_0x2d1053(0x17d),'OGzjg':_0x2d1053(0x18b),'ENLsb':'Profile\x20name','JacLz':'key','rqhyX':'get\x20<profile>\x20<key>','PwerH':_0x2d1053(0x232),'LMLoQ':_0x2d1053(0x22e),'FPynS':'unset\x20<profile>\x20<key>','vtfwQ':'Remove\x20a\x20config\x20value','KRpng':_0x2d1053(0x14c),'mbXtY':'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','ajPBX':_0x2d1053(0xb8),'JHCxc':'profile-name','jlwZX':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','QqGqM':'profile\x20use','LfKHQ':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','JyNCo':'value','pQbrw':_0x2d1053(0x14e),'nXJaH':'use\x20<profile-name>','hJbNA':'Switch\x20to\x20using\x20a\x20specific\x20profile','xtyAp':'delete\x20<profile-name>','WpsqL':'encrypt-auth\x20<profile>','sfGGi':_0x2d1053(0x218),'auGVW':_0x2d1053(0x1f8),'CkZTx':'config','BtIlp':_0x2d1053(0x1b3),'JYxGA':function(_0x7fc1ae,_0x5447fe,_0x12183d){return _0x7fc1ae(_0x5447fe,_0x12183d);},'TmeWO':'status','KesGa':_0x2d1053(0x235),'cISYp':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','nwwSz':_0x2d1053(0x225),'WcGOP':'feature','VPLWl':_0x2d1053(0xfb),'pUfTt':_0x2d1053(0x1e1),'WlNVb':'notes','ybDwN':'scenario','QzqMZ':_0x2d1053(0xcd),'ZdDpO':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','DXQua':_0x2d1053(0x10b),'FCUND':_0x2d1053(0x153),'qtEvR':'verified','hwLug':'blocked','ISehN':'failed','uwJuZ':_0x2d1053(0x1b5),'kCDfW':'debug-address-comments','mGjey':'env','TBFpL':_0x2d1053(0x22d),'GTyYc':function(_0x37c424,_0x5ac57e,_0x52915f){return _0x37c424(_0x5ac57e,_0x52915f);},'RvhlR':_0x2d1053(0x230),'hOCCQ':'encrypt\x20<profile>','EvElF':'You\x20must\x20specify\x20an\x20auth\x20subcommand','QyyLt':_0x2d1053(0x1dc),'mSkYj':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','Ziqxh':_0x2d1053(0x11e),'DQtTU':_0x2d1053(0x231),'TPdFz':_0x2d1053(0x21f),'Qsgpz':_0x2d1053(0x174),'YgTPa':_0x2d1053(0xda),'FSheh':function(_0x3d92ce,_0x1d7699,_0x58946c){return _0x3d92ce(_0x1d7699,_0x58946c);},'Pxmvo':_0x2d1053(0x141),'zraLo':'ranger\x20profile\x20add','voxMz':'env-name','LJQrS':'ranger\x20use','PapWc':_0x2d1053(0x1cc),'SEwSu':'use','hweHN':function(_0x571c83,_0x13809f,_0x1a2872){return _0x571c83(_0x13809f,_0x1a2872);},'gZysZ':_0x2d1053(0x16f),'ybIWP':function(_0x966dbf,_0x1988d2,_0x5aba26){return _0x966dbf(_0x1988d2,_0x5aba26);},'moclT':_0x2d1053(0x197),'IPVsN':_0x2d1053(0xf9),'ptyrO':'ranger\x20profile\x20config\x20unset','zzpHD':function(_0x40fee1,_0x2e9646,_0x1252be){return _0x40fee1(_0x2e9646,_0x1252be);},'YDYSD':_0x2d1053(0x1a0),'eDvSB':'ranger\x20profile\x20config\x20list','kPXvB':_0x2d1053(0xc2),'pBLAO':_0x2d1053(0x146),'rKugE':'You\x20must\x20specify\x20a\x20config\x20subcommand','YsnFw':function(_0x174f78,_0x4db42c,_0x47b5ff){return _0x174f78(_0x4db42c,_0x47b5ff);},'FlzVR':_0x2d1053(0x1eb),'LGTBh':'ranger\x20profile\x20ls','joLzL':'env\x20list','UhJca':'ranger\x20profile\x20update','slyBu':function(_0x36ec9,_0x3a0e4f,_0x12a2c7){return _0x36ec9(_0x3a0e4f,_0x12a2c7);},'XnPAg':_0x2d1053(0xec),'KCNrk':'Feature\x20review\x20name','pWGXJ':_0x2d1053(0x11f),'jRXrX':_0x2d1053(0xf8),'PxRAJ':function(_0x19a067,_0x16e957,_0x3caa4e){return _0x19a067(_0x16e957,_0x3caa4e);},'tmRZU':function(_0x55e14d,_0x3cbad5,_0x22d66e){return _0x55e14d(_0x3cbad5,_0x22d66e);},'hHney':function(_0x57cbc4,_0x2c2d5f,_0x43d5a3,_0x39c2a2){return _0x57cbc4(_0x2c2d5f,_0x43d5a3,_0x39c2a2);},'sPDLZ':_0x2d1053(0x204),'BToxI':'--scenario','IqNlM':'ranger\x20feature\x20resume','kyXrB':'ranger\x20resume','jSfMe':'feature\x20get-feedback','NOAAz':'ranger\x20delete','ovCKw':_0x2d1053(0xdd),'wXYcp':'resume\x20[id]','ihtyo':_0x2d1053(0x126),'sjCGS':function(_0xdacc4d,_0x14a8f7,_0x5c7f43){return _0xdacc4d(_0x14a8f7,_0x5c7f43);},'mkYpu':'hook:enable','sGgno':'session-id','XCiCo':_0x2d1053(0xb0),'uRNJO':'disable','MCVCW':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','cDyYq':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','cvbTo':'Unknown\x20command','cQmET':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','saPiC':function(_0x4ce561){return _0x4ce561();},'fuuOk':function(_0x13afbb,_0x1af8ae){return _0x13afbb||_0x1af8ae;},'KooFZ':function(_0x4a3993,_0x24aded){return _0x4a3993(_0x24aded);},'uvMKe':_0x2d1053(0xfe),'zmWIH':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','xieVB':'List\x20all\x20feature\x20reviews','kZagR':_0x2d1053(0x1e2),'Lpzmw':'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','BMfWm':_0x2d1053(0x190),'yNOpS':_0x2d1053(0x165),'ctLGC':_0x2d1053(0xef),'nPtHD':_0x2d1053(0x138),'UsWOE':_0x2d1053(0x103),'gbvmm':_0x2d1053(0x12e),'vKlVg':'Restore\x20a\x20soft-deleted\x20feature\x20review','AIzti':'setup\x20[tokenOrSubcommand]','byCpT':_0x2d1053(0x10d),'CYXeR':_0x2d1053(0x162),'HiNiX':'Install\x20Ranger\x20skills','guwmC':_0x2d1053(0xbd),'aWvTO':'start\x20[token]','natUJ':'verify-feature','ytwHq':'add\x20env\x20<env-name>','xCtil':_0x2d1053(0x158),'vZpab':function(_0x1506ef,_0x4a397f){return _0x1506ef+_0x4a397f;},'IXEte':'Documentation:\x0a','ipwGs':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)'};return _0x592e91['KooFZ'](_0x353c63,_0xeb5d2b??process['argv'][_0x2d1053(0x213)](0x2))[_0x2d1053(0x150)](_0x592e91['uvMKe'])[_0x2d1053(0xf5)](TOP_LEVEL_HELP)[_0x2d1053(0x1f4)](getCurrentVersion())['command']('create\x20<name>',_0x592e91[_0x2d1053(0xe2)],_0x154f0e=>{const _0x306733=_0x2d1053;return _0x154f0e[_0x306733(0x140)]('name',{'type':_0x592e91['zLzIk'],'description':_0x306733(0x1f2),'demandOption':!![]})[_0x306733(0x1bb)](_0x592e91[_0x306733(0xaf)],{'type':_0x592e91['zLzIk'],'alias':'d','description':_0x306733(0xc5)})['option']('scenario',{'type':'array','alias':'c','description':_0x306733(0x128)})[_0x306733(0x1bb)](_0x592e91['nESGh'],{'type':_0x592e91[_0x306733(0x186)],'hidden':!![]});},async _0x53bf2a=>{const _0xd671db=_0x2d1053;if(!_0x53bf2a[_0xd671db(0x234)]){console['error'](_0x592e91[_0xd671db(0x188)](_0x592e91['iGnFf'],'Example:\x20ranger\x20create\x20my-feature')),process['exit'](0x1);return;}_0x592e91['JvqYH'](warnFlagRenamed,_0x592e91['geGFM'],_0xd671db(0x204),_0xd671db(0x22a));const _0x325c43=_0x53bf2a['scenario']||_0x53bf2a[_0xd671db(0x12b)];await withTelemetry('create',()=>featureCreate(_0x53bf2a[_0xd671db(0x234)],{'description':_0x53bf2a[_0xd671db(0x21c)],'scenarios':_0x325c43}));})['command'](_0x592e91['GqCRE'],_0x592e91[_0x2d1053(0x1ab)],_0x4ec683=>{const _0xb99287=_0x2d1053;return _0x4ec683['option'](_0x592e91['xYfyg'],{'type':_0xb99287(0x15f),'description':_0xb99287(0x11f)})[_0xb99287(0x1bb)](_0x592e91[_0xb99287(0x12c)],{'type':_0xb99287(0x16a),'alias':'l','description':_0x592e91['WhaDX'],'default':0xa})['option']('offset',{'type':_0x592e91['mtSNI'],'alias':'o','description':_0x592e91[_0xb99287(0x148)],'default':0x0})['option']('include-deleted',{'type':_0x592e91[_0xb99287(0x21e)],'alias':'d','description':_0x592e91[_0xb99287(0x236)],'default':![]});},async _0x514926=>{const _0x380a16=_0x2d1053;await withTelemetry(_0x592e91[_0x380a16(0xed)],()=>featureList({'currentBranch':_0x514926['current-branch'],'limit':_0x514926[_0x380a16(0x11d)],'offset':_0x514926[_0x380a16(0x13d)],'includeDeleted':_0x514926['include-deleted']}));})['command'](_0x592e91['kZagR'],_0x592e91[_0x2d1053(0x154)],_0x5238b4=>{const _0x36e62b=_0x2d1053;return _0x5238b4[_0x36e62b(0x140)]('id',{'type':_0x592e91[_0x36e62b(0x1fa)],'description':_0x592e91['oIqWr']});},async _0x41f389=>{await withTelemetry('show',()=>featureShow(_0x41f389['id']));})[_0x2d1053(0x15a)](_0x592e91['wXYcp'],'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x53ddd8=>{return _0x53ddd8['positional']('id',{'type':'string','description':_0x592e91['JtvkZ']});},async _0x4a1442=>{const _0x12839f=_0x2d1053;await withTelemetry(_0x592e91[_0x12839f(0x159)],()=>featureResume(_0x4a1442['id']));})['command'](_0x592e91[_0x2d1053(0x1e3)],_0x2d1053(0x1e6),_0x593432=>{const _0x83db7d=_0x2d1053;return _0x593432['positional'](_0x83db7d(0x21c),{'type':_0x83db7d(0x17e),'description':_0x592e91['LwDkH'],'demandOption':!![]})[_0x83db7d(0x1bb)]('id',{'type':'string','description':_0x592e91['Hftqt']});},async _0x12d927=>{const _0x2f389c=_0x2d1053;await withTelemetry('add-scenario',()=>featureAddScenario(_0x12d927[_0x2f389c(0x21c)],_0x12d927['id']));})[_0x2d1053(0x15a)](_0x592e91['yNOpS'],'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x42dbd1=>{const _0x1a5412=_0x2d1053;return _0x42dbd1[_0x1a5412(0x140)](_0x592e91['FYfVj'],{'type':'string','description':_0x1a5412(0xf4),'demandOption':!![]})[_0x1a5412(0x1bb)](_0x1a5412(0x1df),{'type':_0x592e91[_0x1a5412(0xf2)],'description':'Scenario\x20number\x20to\x20edit\x20(1-based)','demandOption':!![]})[_0x1a5412(0x1bb)]('id',{'type':'string','description':_0x592e91['Hftqt']});},async _0xf7b8ba=>{const _0x409474=_0x2d1053;await _0x592e91['RHxKv'](withTelemetry,'edit-scenario',()=>featureEditScenario(_0xf7b8ba[_0x409474(0x21c)],{'id':_0xf7b8ba['id'],'scenario':_0xf7b8ba['scenario']}));})[_0x2d1053(0x15a)](_0x2d1053(0x11b),_0x592e91[_0x2d1053(0x14b)],_0x2728e2=>{const _0x600f9=_0x2d1053;return _0x2728e2[_0x600f9(0x140)]('id',{'type':_0x592e91['zLzIk'],'description':_0x592e91[_0x600f9(0x209)]})[_0x600f9(0x1bb)](_0x592e91[_0x600f9(0xa6)],{'type':_0x600f9(0x208),'description':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'})[_0x600f9(0x1bb)](_0x600f9(0x1cf),{'type':_0x592e91[_0x600f9(0x21e)],'description':_0x600f9(0x166),'default':![]});},async _0x1a678f=>{const _0x38603d=_0x1a678f['exclude-scenario'],_0x247f74=_0x38603d?_0x38603d['map'](_0x234604=>Number(_0x234604)):undefined;await _0x592e91['FhRLm'](withTelemetry,'report',()=>featureReportPrDescription(_0x1a678f['id'],{'excludeScenarios':_0x247f74,'json':_0x1a678f['json']}));})[_0x2d1053(0x15a)](_0x592e91['nPtHD'],_0x592e91['UsWOE'],_0x1f8096=>{const _0x366b67=_0x2d1053;return _0x1f8096[_0x366b67(0x140)]('id',{'type':_0x592e91[_0x366b67(0x1fa)],'description':_0x366b67(0xeb)});},async _0x41259c=>{await withTelemetry('get-review',()=>featureGetReview(_0x41259c['id']));})['command'](_0x592e91['gbvmm'],_0x2d1053(0xe0),_0x1dc2fb=>{const _0xfbb1ed=_0x2d1053;return _0x1dc2fb[_0xfbb1ed(0x140)]('id',{'type':'string','description':_0xfbb1ed(0x108)});},async _0x3fbbe2=>{await withTelemetry('delete',()=>featureDelete(_0x3fbbe2['id']));})['command'](_0x592e91['ihtyo'],_0x592e91['vKlVg'],_0x1115ea=>{const _0x563675=_0x2d1053;return _0x1115ea['positional']('id',{'type':'string','description':_0x592e91[_0x563675(0x1d1)],'demandOption':!![]});},async _0xf71e07=>{await _0x592e91['xJghc'](withTelemetry,_0x592e91['TzcKH'],()=>featureRestore(_0xf71e07['id']));})[_0x2d1053(0x15a)](_0x592e91[_0x2d1053(0xc9)],'Initialize\x20Ranger\x20in\x20your\x20project',_0x5e37f0=>{const _0xffa1a4=_0x2d1053,_0x56a039={'KXNpl':_0x592e91[_0xffa1a4(0x1e8)],'TJuSn':_0xffa1a4(0x17e),'cNeyh':_0x592e91[_0xffa1a4(0x21e)],'VRaKu':_0xffa1a4(0x1ca),'EVPVJ':_0x592e91['lLQBM'],'sFqKl':_0x592e91[_0xffa1a4(0x194)],'xuDbX':_0x592e91['TpuGh'],'wOoSi':_0x592e91[_0xffa1a4(0x187)],'cJKHn':_0xffa1a4(0x1c5),'IXJjx':_0xffa1a4(0x196),'GzjZH':_0x592e91['pHJzk'],'FnJeQ':'mcp-bootstrap','CzHKh':_0x592e91[_0xffa1a4(0xcb)],'BJbqL':_0x592e91['zGLWp'],'DKIUJ':function(_0xba14c5){return _0xba14c5();},'nYlqJ':'Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','HlNdh':function(_0x10b7b6,_0x41a193){const _0x30d9e1=_0xffa1a4;return _0x592e91[_0x30d9e1(0x17f)](_0x10b7b6,_0x41a193);},'TsRfU':function(_0x241970,_0x12319d,_0x1d2543){return _0x241970(_0x12319d,_0x1d2543);},'XovWB':_0x592e91[_0xffa1a4(0x212)]};return _0x5e37f0[_0xffa1a4(0xf5)]('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'](_0x592e91['cgAsW'],{'type':_0x592e91[_0xffa1a4(0x1fa)],'description':_0x592e91[_0xffa1a4(0xb2)]})[_0xffa1a4(0x15a)](_0x592e91['MboRA'],_0x592e91[_0xffa1a4(0xb1)],_0x591fd1=>{const _0x4dc35d=_0xffa1a4;return _0x591fd1['option'](_0x56a039[_0x4dc35d(0x18a)],{'type':_0x56a039['TJuSn'],'description':_0x4dc35d(0x1b2)})[_0x4dc35d(0x1bb)]('skip-chromium',{'type':_0x56a039['cNeyh'],'description':_0x4dc35d(0x1d5),'default':![]})['option'](_0x56a039[_0x4dc35d(0xc1)],{'type':_0x56a039[_0x4dc35d(0x224)],'description':_0x4dc35d(0x237),'default':![]})[_0x4dc35d(0x1bb)](_0x56a039['EVPVJ'],{'type':_0x56a039['cNeyh'],'description':_0x4dc35d(0xca),'default':![]})['option']('scope',{'type':_0x4dc35d(0x17e),'choices':[_0x56a039[_0x4dc35d(0x13b)]],'hidden':!![],'description':_0x4dc35d(0x177)})['option'](_0x56a039[_0x4dc35d(0xc0)],{'type':_0x56a039[_0x4dc35d(0x22f)],'description':_0x56a039['wOoSi']})[_0x4dc35d(0x1bb)](_0x56a039['cJKHn'],{'type':_0x4dc35d(0x15f),'description':_0x56a039['IXJjx'],'default':![]})['option'](_0x4dc35d(0x1a1),{'type':_0x56a039['cNeyh'],'description':_0x56a039[_0x4dc35d(0xd2)],'default':![]})[_0x4dc35d(0x1bb)](_0x4dc35d(0x20b),{'type':_0x56a039[_0x4dc35d(0x224)],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]})[_0x4dc35d(0x1bb)](_0x56a039['FnJeQ'],{'type':_0x56a039['cNeyh'],'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','default':![]})['option'](_0x56a039['CzHKh'],{'type':_0x56a039['cNeyh'],'description':_0x56a039['BJbqL'],'default':![]});},async _0x26a710=>{const _0x49f277=_0xffa1a4;(_0x26a710[_0x49f277(0xcc)]||_0x26a710[_0x49f277(0x19d)])&&await withTelemetry(_0x592e91[_0x49f277(0x1a8)],()=>mcpBootstrap()),await _0x592e91['oKtmh'](withTelemetry,_0x592e91[_0x49f277(0xe3)],_0x844814=>start(_0x26a710[_0x49f277(0x168)],{'skipChromium':_0x26a710[_0x49f277(0x183)],'skipAuth':_0x26a710['skip-auth'],'withDeps':_0x26a710[_0x49f277(0x144)],'scope':_0x26a710['scope'],'url':_0x26a710[_0x49f277(0x11c)],'force':_0x26a710['force'],'opencode':_0x26a710[_0x49f277(0x1a1)],'allowInsecureLocalhost':_0x26a710[_0x49f277(0x20b)]},_0x844814));})['command']('deps',_0x592e91['kcHuV'],_0x3ca1c3=>{const _0x16f9e7=_0xffa1a4;return _0x3ca1c3['option'](_0x16f9e7(0x144),{'type':'boolean','description':_0x16f9e7(0x211),'default':![]});},async _0xc566e4=>{const _0x50686=_0xffa1a4;await withTelemetry('setup:deps',()=>ensureChromium(_0xc566e4[_0x50686(0x144)]));})['command'](_0x592e91['EoJYh'],_0x592e91[_0xffa1a4(0x120)],_0x334a7f=>{const _0x48c543=_0xffa1a4;return _0x334a7f[_0x48c543(0x1bb)](_0x592e91[_0x48c543(0x1e8)],{'type':'string','description':_0x48c543(0x145)})[_0x48c543(0x1bb)](_0x48c543(0x19d),{'type':_0x48c543(0x15f),'description':_0x592e91['zoJie'],'default':![]});},async _0x22e09a=>{const _0x410f59=_0xffa1a4;await withTelemetry(_0x410f59(0x1ce),async()=>{const _0x56e0a4=_0x410f59;if(_0x22e09a['mcp']){await mcpBootstrap();const _0x15a891=await _0x56a039[_0x56e0a4(0x152)](refreshCliToken);if(!_0x15a891)throw new Error(_0x56a039[_0x56e0a4(0x1b0)]);const _0x35ff8f=await _0x56a039[_0x56e0a4(0x23b)](getCurrentUser,_0x15a891);if(!_0x35ff8f['success'])throw new Error(_0x56e0a4(0x210)+_0x35ff8f['error']);console['log'](_0x56e0a4(0x19f)+_0x35ff8f[_0x56e0a4(0x229)][_0x56e0a4(0x23c)]);return;}await authenticate(_0x22e09a[_0x56e0a4(0x168)]);});})['command']('skills',_0x592e91[_0xffa1a4(0xce)],_0x481af0=>{const _0x653856=_0xffa1a4;return _0x481af0[_0x653856(0x1bb)](_0x653856(0x1fe),{'type':'string','choices':[_0x592e91['WYnpL'],_0x592e91[_0x653856(0x112)]],'description':_0x653856(0x15b)})['option']('opencode',{'type':_0x592e91[_0x653856(0x21e)],'description':_0x592e91[_0x653856(0x17b)],'default':![]});},async _0x403769=>{const _0xe1137c=_0xffa1a4,_0x11a2e1={'ZttjA':function(_0x411a2e,_0x1bbda1){return _0x411a2e(_0x1bbda1);}};await _0x56a039[_0xe1137c(0x222)](withTelemetry,_0x56a039['XovWB'],async()=>{const _0xb589cf=_0xe1137c,_0x6b135e=_0x403769['scope'];if(_0x403769[_0xb589cf(0x1a1)]){const _0x2d6684=await ensureOpencodePluginConfig(_0x6b135e);_0x2d6684&&await installSkill('ranger',{'level':_0x2d6684['scope'],'cliVersion':getCurrentVersion(),'platform':'opencode'});}else await ensureClaudePlugin(_0x6b135e),await _0x11a2e1[_0xb589cf(0x132)](ensureClaudeSkills,_0x6b135e);});})[_0xffa1a4(0x15a)](_0xffa1a4(0xb4),'Set\x20up\x20a\x20local\x20browser\x20profile',_0x148ebf=>{const _0x4e43a3=_0xffa1a4;return _0x148ebf['option'](_0x592e91[_0x4e43a3(0x1ff)],{'type':_0x592e91['zLzIk'],'choices':['user'],'description':_0x592e91['PuNle']})[_0x4e43a3(0x1bb)](_0x4e43a3(0x11c),{'type':_0x592e91[_0x4e43a3(0x1fa)],'description':_0x592e91['UHxyN']})[_0x4e43a3(0x1bb)]('skip-auth',{'type':_0x592e91[_0x4e43a3(0x21e)],'description':_0x592e91['hZfMq'],'default':![]})[_0x4e43a3(0x1bb)](_0x592e91[_0x4e43a3(0x20a)],{'type':_0x592e91[_0x4e43a3(0x21e)],'description':_0x592e91[_0x4e43a3(0x121)],'default':![]})['option'](_0x4e43a3(0x20b),{'type':_0x4e43a3(0x15f),'description':_0x4e43a3(0x1e0),'default':![]});},async _0x13a47e=>{const _0x593a74=_0xffa1a4,_0x173d00=_0x13a47e['scope'];_0x173d00!==undefined&&_0x592e91[_0x593a74(0x1ad)](_0x173d00,_0x592e91[_0x593a74(0x194)])&&(console[_0x593a74(0x14f)](_0x592e91[_0x593a74(0xe1)]('ranger\x20setup\x20profiles\x20--scope='+_0x173d00+_0x593a74(0x189)+'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.')),process[_0x593a74(0x18e)](0x1)),await withTelemetry(_0x592e91['USQSn'],_0x45034d=>ensureLocalEnv({'url':_0x13a47e[_0x593a74(0x11c)],'force':_0x13a47e[_0x593a74(0x1c5)],'allowInsecureLocalhost':_0x13a47e[_0x593a74(0x20b)],'scope':'user'},_0x45034d));})['option']('skip-chromium',{'type':_0xffa1a4(0x15f),'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0xffa1a4(0x1bb)](_0x592e91[_0xffa1a4(0x1ff)],{'type':_0x592e91['zLzIk'],'choices':['user'],'hidden':!![],'description':_0x592e91[_0xffa1a4(0x13a)]})[_0xffa1a4(0x1bb)](_0xffa1a4(0x11c),{'type':_0xffa1a4(0x17e),'description':_0xffa1a4(0x1d8)})[_0xffa1a4(0x1bb)](_0x592e91[_0xffa1a4(0x20a)],{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0xffa1a4(0x1a1),{'type':_0x592e91[_0xffa1a4(0x21e)],'description':_0x592e91['pHJzk'],'default':![]})['option'](_0x592e91[_0xffa1a4(0xd6)],{'type':_0x592e91['oopCt'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0xffa1a4(0x1bb)]('mcp-bootstrap',{'type':_0xffa1a4(0x15f),'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','default':![]})['option'](_0x592e91[_0xffa1a4(0x207)],{'type':_0xffa1a4(0x15f),'description':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','default':![]})[_0xffa1a4(0x1bb)](_0xffa1a4(0x144),{'type':_0xffa1a4(0x15f),'description':_0x592e91['FrpCP'],'default':![]})[_0xffa1a4(0x1bb)]('token',{'type':_0x592e91[_0xffa1a4(0x1fa)],'hidden':!![],'description':'API\x20token'});},async _0x51371e=>{const _0x1978d0=_0x2d1053,_0x39eea4=_0x51371e['tokenOrSubcommand'],_0x97951=_0x51371e['token']??_0x39eea4;_0x51371e[_0x592e91['RdeJM']]&&await withTelemetry('mcp-bootstrap',()=>mcpBootstrap()),await _0x592e91[_0x1978d0(0x18c)](withTelemetry,_0x592e91['xySwJ'],_0x1debd3=>start(_0x97951,{'skipChromium':_0x51371e[_0x1978d0(0x183)],'skipAuth':_0x51371e[_0x1978d0(0x1ca)],'withDeps':_0x51371e[_0x1978d0(0x144)],'scope':_0x51371e['scope'],'url':_0x51371e['url'],'force':_0x51371e['force'],'opencode':_0x51371e['opencode'],'allowInsecureLocalhost':_0x51371e[_0x1978d0(0x20b)]},_0x1debd3));})['command'](_0x592e91[_0x2d1053(0xba)],![],_0x432dbc=>{const _0x59bf42=_0x2d1053;return _0x432dbc[_0x59bf42(0x140)](_0x592e91['hrfZu'],{'type':_0x592e91[_0x59bf42(0x1fa)],'description':_0x592e91['TDiUQ'],'demandOption':!![]})[_0x59bf42(0x1bb)](_0x59bf42(0x1e1),{'type':_0x59bf42(0x17e),'description':_0x592e91['XCtzv']})[_0x59bf42(0x1bb)](_0x592e91[_0x59bf42(0x1f3)],{'type':_0x592e91[_0x59bf42(0x1fa)],'description':_0x59bf42(0x1ea)})[_0x59bf42(0x1bb)](_0x592e91[_0x59bf42(0xe6)],{'type':'boolean','description':_0x59bf42(0x13f),'default':![]});},async _0x435266=>{const _0x51b98c=_0x2d1053;await withTelemetry(_0x592e91[_0x51b98c(0x1dd)],_0x42f17a=>setupCi(_0x435266['token'],{'profile':_0x435266['profile'],'baseUrl':_0x435266[_0x51b98c(0x17a)],'skipChromium':_0x435266['skip-chromium']},_0x42f17a));})['command'](_0x592e91['EoJYh'],_0x592e91['CYXeR'],()=>{},async()=>{await withTelemetry(_0x592e91['EoJYh'],()=>login());})['command'](_0x2d1053(0x1ba),_0x592e91[_0x2d1053(0x1ef)],_0x3666b7=>{const _0x2874ec=_0x2d1053;return _0x3666b7[_0x2874ec(0x1bb)](_0x2874ec(0x1a1),{'type':_0x592e91['oopCt'],'description':'Install\x20skills\x20for\x20OpenCode','default':![]})[_0x2874ec(0x1bb)](_0x2874ec(0x1fe),{'type':_0x592e91[_0x2874ec(0x1fa)],'choices':[_0x592e91['WYnpL'],_0x592e91['CuezE']],'description':_0x592e91['qPKIc']});},async _0x37f29b=>{const _0x169680=_0x2d1053,_0x38ea99=_0x592e91[_0x169680(0xc7)](Boolean,_0x37f29b['opencode']);await withTelemetry(_0x592e91[_0x169680(0x139)],()=>skillup({'autoInstall':_0x37f29b[_0x169680(0x1fe)],'platform':_0x38ea99?'opencode':'claude'}));})[_0x2d1053(0x15a)](_0x2d1053(0x1c4),_0x2d1053(0x1bd),()=>{},async()=>{const _0x178921=_0x2d1053;await _0x592e91['StwBQ'](withTelemetry,_0x178921(0x1c4),()=>clean());})['command']([_0x592e91[_0x2d1053(0x151)],_0x2d1053(0xb4)],_0x592e91['guwmC'],_0x56226d=>{const _0x4d6074=_0x2d1053,_0x5b549a={'kzlYC':_0x592e91['JHCxc'],'Xzaca':'string','bwAYi':_0x592e91[_0x4d6074(0x207)],'ZGwOP':_0x592e91[_0x4d6074(0x21e)],'IzWuT':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','mloXX':_0x592e91[_0x4d6074(0x20a)],'qTKCs':_0x592e91['OPDrd'],'YGrZw':_0x4d6074(0x20b),'sLbin':'safe-mode','ZnIPN':_0x592e91[_0x4d6074(0xc4)],'KUHiF':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','IddqK':'scope','WwkYX':_0x4d6074(0x229),'AnAQB':_0x592e91['CuezE'],'rjpjD':_0x592e91[_0x4d6074(0x130)],'hkxVj':_0x4d6074(0x1cb),'aaWOm':_0x4d6074(0xbc),'BPRne':function(_0x14c1e4,_0x30959a,_0x435662){return _0x14c1e4(_0x30959a,_0x435662);},'sYsZd':_0x592e91[_0x4d6074(0x176)],'WEHMd':_0x592e91[_0x4d6074(0x1fc)],'hwrTQ':_0x592e91[_0x4d6074(0xbe)],'CneVN':'Config\x20value','vFGfk':_0x592e91['JacLz'],'EvQWU':'profile\x20config\x20get','wNkqj':function(_0x3d78f9,_0x4285cb,_0x2a8919){return _0x592e91['PYWdb'](_0x3d78f9,_0x4285cb,_0x2a8919);}};return _0x56226d['usage'](PROFILE_HELP)['command'](_0x592e91[_0x4d6074(0xde)],'Add\x20profile\x20configuration',_0x561f67=>{const _0x50f2cc=_0x4d6074;return _0x561f67[_0x50f2cc(0x140)](_0x5b549a['kzlYC'],{'type':_0x5b549a[_0x50f2cc(0x136)],'description':_0x50f2cc(0x133),'demandOption':!![]})['option']('ci',{'type':_0x50f2cc(0x15f),'hidden':!![],'default':![]})[_0x50f2cc(0x1bb)](_0x5b549a['bwAYi'],{'type':_0x5b549a['ZGwOP'],'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})['option']('url',{'type':_0x5b549a[_0x50f2cc(0x136)],'description':_0x5b549a[_0x50f2cc(0x223)]})['option'](_0x5b549a[_0x50f2cc(0xa8)],{'type':'boolean','description':_0x5b549a['qTKCs'],'default':![]})[_0x50f2cc(0x1bb)]('cdp-endpoint',{'type':_0x5b549a[_0x50f2cc(0x136)],'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})[_0x50f2cc(0x1bb)](_0x5b549a[_0x50f2cc(0xf0)],{'type':_0x50f2cc(0x15f),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0x50f2cc(0x1bb)](_0x5b549a[_0x50f2cc(0xfa)],{'type':_0x5b549a['ZGwOP'],'description':_0x5b549a['ZnIPN'],'default':![]})[_0x50f2cc(0x1bb)]('setup-header',{'type':_0x5b549a[_0x50f2cc(0x136)],'array':!![],'description':_0x5b549a[_0x50f2cc(0x135)]})['option'](_0x5b549a['IddqK'],{'type':_0x5b549a[_0x50f2cc(0x136)],'choices':[_0x5b549a['WwkYX'],_0x5b549a['AnAQB']],'description':_0x50f2cc(0xa9)})['option'](_0x50f2cc(0x1e5),{'type':_0x5b549a[_0x50f2cc(0x101)],'alias':'y','description':_0x50f2cc(0x1b6),'default':![]});},async _0x1660de=>{const _0x148218=_0x4d6074;await withTelemetry('profile\x20add',_0x448289=>addEnv(_0x1660de[_0x148218(0x226)],{'ci':_0x1660de['ci'],'skipAuth':_0x1660de[_0x148218(0x1ca)],'url':_0x1660de['url'],'force':_0x1660de[_0x148218(0x1c5)],'cdpEndpoint':_0x1660de[_0x148218(0x1cd)],'allowInsecureLocalhost':_0x1660de['allow-insecure-localhost'],'safeMode':_0x1660de['safe-mode'],'setupHeader':_0x1660de[_0x148218(0x117)],'scope':_0x1660de['scope'],'yes':_0x1660de['yes']},_0x448289),{'isElectron':_0x592e91['kkrMY'](Boolean,_0x1660de['cdp-endpoint'])});})[_0x4d6074(0x15a)](_0x592e91['nXJaH'],_0x592e91[_0x4d6074(0x109)],_0x32f1d6=>{const _0x59b256=_0x4d6074;return _0x32f1d6['positional'](_0x5b549a['kzlYC'],{'type':'string','description':_0x59b256(0x1c6),'demandOption':!![]});},async _0x1567f6=>{await withTelemetry(_0x5b549a['rjpjD'],()=>useEnv(_0x1567f6['profile-name']));})['command'](_0x592e91[_0x4d6074(0x104)],_0x4d6074(0x15c),_0x501676=>{const _0x3c250b=_0x4d6074;return _0x501676[_0x3c250b(0x140)](_0x5b549a['kzlYC'],{'type':'string','description':_0x5b549a[_0x3c250b(0x192)],'demandOption':!![]})[_0x3c250b(0x1bb)]('yes',{'type':'boolean','alias':'y','description':_0x5b549a[_0x3c250b(0x114)],'default':![]});},async _0x338fb6=>{const _0x15b482=_0x4d6074;await _0x592e91[_0x15b482(0x1f0)](withTelemetry,_0x592e91['CzmlF'],()=>deleteProfile(_0x338fb6[_0x15b482(0x226)],{'yes':_0x338fb6[_0x15b482(0x1e5)]}));})[_0x4d6074(0x15a)](_0x592e91[_0x4d6074(0x1b9)],![],_0x4662f0=>{const _0x451971=_0x4d6074;return _0x4662f0[_0x451971(0x140)]('profile',{'type':_0x5b549a[_0x451971(0x136)],'description':_0x451971(0xd7),'demandOption':!![]});},async _0x1dcb60=>{const _0x4abc16=_0x4d6074;await withTelemetry(_0x4abc16(0x1da),()=>authEncrypt(_0x1dcb60['profile']));})[_0x4d6074(0x15a)]('ls',_0x592e91[_0x4d6074(0xf3)],()=>{},async()=>{await _0x592e91['PYWdb'](withTelemetry,'profile\x20ls',()=>envList());})[_0x4d6074(0x15a)](_0x4d6074(0x1db),_0x592e91[_0x4d6074(0x18d)],_0x16ea02=>{const _0x34893a=_0x4d6074;return _0x16ea02[_0x34893a(0x140)]('profile-name',{'type':_0x592e91['zLzIk'],'description':_0x592e91[_0x34893a(0x10c)],'demandOption':!![]})['option']('allow-insecure-localhost',{'type':'boolean','description':_0x592e91[_0x34893a(0x19c)]});},async _0x21ea85=>{const _0x5af52d=_0x4d6074;await withTelemetry(_0x5af52d(0x1c1),_0x4783c2=>updateEnv(_0x21ea85['profile-name'],_0x4783c2,{'allowInsecureLocalhost':_0x21ea85[_0x5af52d(0x20b)]}));})[_0x4d6074(0x15a)](_0x4d6074(0x16b),![],_0x3d6d97=>{const _0x491226=_0x4d6074;return _0x3d6d97[_0x491226(0x140)](_0x491226(0x234),{'type':_0x491226(0x17e),'description':_0x592e91['FFslf'],'demandOption':!![]});},async _0x35e7b8=>{const _0x19fd91=_0x4d6074,_0x1ceadd={'AvNyR':function(_0x1c11fa,_0x185540,_0x1779cc){const _0x1492e7=_0x58a0;return _0x5b549a[_0x1492e7(0xa7)](_0x1c11fa,_0x185540,_0x1779cc);},'LfQyL':'failed','dHabl':_0x19fd91(0x206)};await withTelemetry('profile\x20login',async()=>{const _0x53a4d9=_0x19fd91,_0x413f0d=process[_0x53a4d9(0xb3)]['RANGER_TEST_USERNAME'],_0x4f6c55=process['env']['RANGER_TEST_PASSWORD'];(!_0x413f0d||!_0x4f6c55)&&(console[_0x53a4d9(0x14f)](_0x53a4d9(0xc6)),process[_0x53a4d9(0x18e)](0x1));const _0x181912=_0x35e7b8[_0x53a4d9(0x234)],_0x3fc624=await _0x1ceadd['AvNyR'](serverSideLogin,_0x181912,{'force':!![]});_0x3fc624[_0x53a4d9(0x214)]==='not_configured'&&(console[_0x53a4d9(0x14f)](_0x53a4d9(0xc8)),process[_0x53a4d9(0x18e)](0x1)),_0x3fc624['status']===_0x1ceadd[_0x53a4d9(0x178)]&&(console[_0x53a4d9(0x14f)]('Login\x20failed:\x20'+(_0x3fc624[_0x53a4d9(0x14f)]??_0x1ceadd['dHabl'])),_0x3fc624['test_output']&&console['error'](_0x3fc624['test_output']),process['exit'](0x1)),console['log'](_0x53a4d9(0x19e)+_0x181912+'\x27.\x20Session\x20saved.');});})[_0x4d6074(0x15a)](_0x4d6074(0x170),![],_0x1b71a9=>{const _0x15c155=_0x4d6074;return _0x1b71a9['positional'](_0x15c155(0x226),{'type':_0x592e91[_0x15c155(0x1fa)],'description':_0x592e91[_0x15c155(0x1a5)]})['option'](_0x592e91['MboRA'],{'type':_0x592e91[_0x15c155(0x21e)],'description':_0x592e91[_0x15c155(0x181)],'default':![]})['option']('dry-run',{'type':'boolean','description':_0x592e91['QzAfq'],'default':![]})['option']('yes',{'type':_0x15c155(0x15f),'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})['option'](_0x592e91[_0x15c155(0x20e)],{'type':_0x592e91[_0x15c155(0x21e)],'description':_0x592e91['OGzjg'],'default':![]});},async _0x4b8892=>{const _0x3621b9=_0x4d6074;await withTelemetry('profile\x20migrate',_0x3f995a=>migrateProfile({'profileName':_0x4b8892['profile-name'],'all':_0x4b8892[_0x3621b9(0x1c8)],'dryRun':_0x4b8892[_0x3621b9(0x20f)],'yes':_0x4b8892['yes'],'saveCreds':_0x4b8892[_0x3621b9(0x17d)]},_0x3f995a));})['command'](_0x592e91[_0x4d6074(0x193)],_0x592e91['BtIlp'],_0x4fb2c3=>{const _0x316797=_0x4d6074,_0x24adef={'qcXqc':'profile\x20config\x20set','oSEfd':_0x316797(0x1e1),'LxObx':_0x592e91[_0x316797(0x1fa)],'aAoVL':_0x592e91[_0x316797(0x176)],'wARvH':_0x592e91['JacLz']};return _0x4fb2c3['usage'](PROFILE_CONFIG_HELP)[_0x316797(0x15a)]('set\x20<profile>\x20<key>\x20<value>','Set\x20a\x20config\x20value',_0x876ef0=>{const _0x511d57=_0x316797;return _0x876ef0['positional'](_0x511d57(0x1e1),{'type':_0x5b549a[_0x511d57(0x136)],'description':_0x5b549a['sYsZd'],'demandOption':!![]})['positional'](_0x511d57(0x199),{'type':_0x511d57(0x17e),'description':_0x5b549a[_0x511d57(0xb5)],'demandOption':!![]})['positional'](_0x5b549a['hwrTQ'],{'type':'string','description':_0x5b549a['CneVN'],'demandOption':!![]});},async _0xa41494=>{const _0xee7a2d=_0x316797;await withTelemetry(_0x24adef['qcXqc'],()=>configSet(_0xa41494['profile'],_0xa41494[_0xee7a2d(0x199)],_0xa41494[_0xee7a2d(0x173)]));})[_0x316797(0x15a)](_0x592e91['rqhyX'],_0x592e91[_0x316797(0x157)],_0x56b1dd=>{const _0x20567b=_0x316797;return _0x56b1dd['positional'](_0x20567b(0x1e1),{'type':_0x5b549a[_0x20567b(0x136)],'description':'Profile\x20name','demandOption':!![]})[_0x20567b(0x140)](_0x5b549a['vFGfk'],{'type':_0x20567b(0x17e),'description':_0x20567b(0x169),'demandOption':!![]});},async _0x4ac62d=>{const _0x2cc0e9=_0x316797;await _0x5b549a[_0x2cc0e9(0xa7)](withTelemetry,_0x5b549a['EvQWU'],()=>configGet(_0x4ac62d[_0x2cc0e9(0x1e1)],_0x4ac62d['key']));})['command']('list\x20<profile>',_0x592e91['LMLoQ'],_0x55ada6=>{const _0x3dc85e=_0x316797;return _0x55ada6[_0x3dc85e(0x140)](_0x24adef['oSEfd'],{'type':_0x24adef[_0x3dc85e(0x239)],'description':_0x24adef['aAoVL'],'demandOption':!![]});},async _0x5c71af=>{await withTelemetry('profile\x20config\x20list',()=>configList(_0x5c71af['profile']));})[_0x316797(0x15a)](_0x592e91[_0x316797(0x1f7)],_0x592e91[_0x316797(0x205)],_0x1a5644=>{const _0x395ff9=_0x316797;return _0x1a5644[_0x395ff9(0x140)](_0x395ff9(0x1e1),{'type':_0x395ff9(0x17e),'description':'Profile\x20name','demandOption':!![]})['positional'](_0x24adef[_0x395ff9(0x1af)],{'type':'string','description':_0x395ff9(0x137),'demandOption':!![]});},async _0xf74ee6=>{const _0xd929f3=_0x316797;await _0x5b549a[_0xd929f3(0x1de)](withTelemetry,_0xd929f3(0x14a),()=>configUnset(_0xf74ee6['profile'],_0xf74ee6[_0xd929f3(0x199)]));})[_0x316797(0x15a)](_0x592e91[_0x316797(0x16c)],_0x592e91['mbXtY'],_0x12d11a=>{const _0xbce91e=_0x316797;return _0x12d11a[_0xbce91e(0x140)](_0x24adef['oSEfd'],{'type':_0x24adef['LxObx'],'description':'Profile\x20name','demandOption':!![]});},async _0x3a598b=>{const _0x18b92d=_0x316797;await withTelemetry('profile\x20config\x20reset',()=>configReset(_0x3a598b[_0x18b92d(0x1e1)]));})['demandCommand'](0x1,_0x592e91['ajPBX']);})[_0x4d6074(0x13c)](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})['command']('status',_0x2d1053(0x20c),()=>{},async()=>{const _0x232915=_0x2d1053;await _0x592e91[_0x232915(0x16d)](withTelemetry,_0x592e91[_0x232915(0xcf)],()=>status());})[_0x2d1053(0x15a)](_0x592e91[_0x2d1053(0x1aa)],'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x4b3922=_0x2d1053;await withTelemetry(_0x592e91[_0x4b3922(0x1aa)],()=>update());})[_0x2d1053(0x15a)](_0x592e91['nwwSz'],'Print\x20the\x20current\x20CLI\x20access\x20token',()=>{},async()=>{const _0x18f3ef=_0x2d1053,_0x104492={'mHnLu':_0x592e91['cISYp']};await _0x592e91['RHxKv'](withTelemetry,_0x592e91[_0x18f3ef(0x1f6)],async()=>{const _0x3f33d1=await getToken();if(!_0x3f33d1)throw new Error(_0x104492['mHnLu']);console['log'](_0x3f33d1);});})['command']('go','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.',_0x1483b1=>{const _0xec1839=_0x2d1053;return _0x1483b1['option'](_0x592e91[_0xec1839(0x149)],{'type':'string','description':_0x592e91['VPLWl']})[_0xec1839(0x1bb)](_0x592e91[_0xec1839(0x151)],{'type':_0xec1839(0x17e),'description':_0xec1839(0xea)})['option'](_0x592e91[_0xec1839(0x11a)],{'type':_0x592e91[_0xec1839(0x1fa)],'description':_0xec1839(0xd0)})['option'](_0x592e91['ybDwN'],{'type':_0x592e91['mtSNI'],'description':_0x592e91['QzqMZ']})[_0xec1839(0x1bb)]('start-path',{'type':'string','description':_0xec1839(0xa5)})[_0xec1839(0x1bb)](_0x592e91['OyipD'],{'type':'string','description':_0x592e91[_0xec1839(0xb6)]})[_0xec1839(0x1bb)](_0x592e91['DXQua'],{'type':_0x592e91[_0xec1839(0x1fa)],'description':_0xec1839(0x1a6)})['option'](_0x592e91['FCUND'],{'type':_0x592e91[_0xec1839(0x21e)],'description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})[_0xec1839(0x1bb)](_0xec1839(0x174),{'type':'string','hidden':!![],'choices':[_0x592e91[_0xec1839(0xe7)],'partial',_0x592e91['hwLug'],_0x592e91[_0xec1839(0xab)],_0x592e91[_0xec1839(0x216)]]})[_0xec1839(0x1bb)](_0x592e91[_0xec1839(0x1e7)],{'type':'boolean','hidden':!![]})['option'](_0x592e91[_0xec1839(0x200)],{'type':_0x592e91[_0xec1839(0x1fa)],'hidden':!![]})[_0xec1839(0x1bb)](_0xec1839(0x118),{'type':_0x592e91['zLzIk'],'hidden':!![]})['option'](_0x592e91[_0xec1839(0x1a2)],{'type':_0xec1839(0x16a),'hidden':!![]});},async _0x2dfdc9=>{await runGoCommand(_0x2dfdc9);})['command'](_0x2d1053(0x107),![],_0x1dbbdc=>{const _0x213c86=_0x2d1053;return _0x1dbbdc[_0x213c86(0x15a)](_0x592e91['hOCCQ'],![],_0x55afd5=>{const _0x164d93=_0x213c86;return _0x55afd5[_0x164d93(0x140)](_0x592e91[_0x164d93(0x151)],{'type':'string','description':_0x592e91[_0x164d93(0x176)],'demandOption':!![]});},async _0x426250=>{const _0x242282=_0x213c86;_0x592e91['GTyYc'](warnRenamed,_0x242282(0xfd),_0x592e91[_0x242282(0x12f)]),await authEncrypt(_0x426250['profile']);})[_0x213c86(0x13c)](0x1,_0x592e91['EvElF']);},()=>{})[_0x2d1053(0x15a)](_0x592e91[_0x2d1053(0x15d)],![],_0x336c37=>{const _0x4183a9=_0x2d1053;return _0x336c37['positional'](_0x592e91[_0x4183a9(0x1e8)],{'type':'string','description':_0x592e91[_0x4183a9(0xd3)]})[_0x4183a9(0x1bb)]('skip-chromium',{'type':_0x4183a9(0x15f),'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x4183a9(0x1bb)](_0x4183a9(0x1fe),{'type':_0x4183a9(0x17e),'choices':['user'],'hidden':!![],'description':_0x4183a9(0x177)})[_0x4183a9(0x1bb)]('url',{'type':_0x592e91['zLzIk'],'description':_0x592e91['mSkYj']})['option'](_0x592e91[_0x4183a9(0x20a)],{'type':_0x4183a9(0x15f),'description':_0x592e91[_0x4183a9(0x121)],'default':![]})[_0x4183a9(0x1bb)](_0x592e91[_0x4183a9(0x207)],{'type':_0x592e91['oopCt'],'description':_0x4183a9(0x237),'default':![]})['option']('with-deps',{'type':_0x592e91['oopCt'],'description':_0x4183a9(0xca),'default':![]});},async _0x17934c=>{const _0x5624d8=_0x2d1053;warnRenamed(_0x592e91[_0x5624d8(0x10f)],_0x5624d8(0x102)),await _0x592e91[_0x5624d8(0x127)](withTelemetry,_0x5624d8(0x18f),_0x5ad477=>start(_0x17934c[_0x5624d8(0x168)],{'skipChromium':_0x17934c['skip-chromium'],'skipAuth':_0x17934c[_0x5624d8(0x1ca)],'withDeps':_0x17934c[_0x5624d8(0x144)],'scope':_0x17934c['scope'],'url':_0x17934c[_0x5624d8(0x11c)],'force':_0x17934c['force']},_0x5ad477));})['command'](_0x592e91['natUJ'],![],_0x1b0428=>{const _0x5a0cf1=_0x2d1053;return _0x1b0428['option'](_0x5a0cf1(0xb3),{'type':_0x592e91['zLzIk'],'description':_0x592e91[_0x5a0cf1(0x17c)]})['option'](_0x5a0cf1(0x118),{'type':_0x592e91[_0x5a0cf1(0x1fa)],'description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})['option'](_0x5a0cf1(0x22d),{'type':_0x592e91[_0x5a0cf1(0xf2)],'description':'Scenario\x20index\x20(1-based)'})[_0x5a0cf1(0x1bb)]('profile',{'type':_0x592e91[_0x5a0cf1(0x1fa)],'hidden':!![]})[_0x5a0cf1(0x1bb)]('notes',{'type':_0x592e91[_0x5a0cf1(0x1fa)],'hidden':!![]})['option'](_0x592e91['ybDwN'],{'type':_0x5a0cf1(0x16a),'hidden':!![]})['option'](_0x592e91[_0x5a0cf1(0x1c7)],{'type':_0x5a0cf1(0x17e),'description':_0x5a0cf1(0xa5)})['option'](_0x592e91['OyipD'],{'type':_0x592e91[_0x5a0cf1(0x1fa)],'description':_0x5a0cf1(0x129)})['option']('model',{'type':_0x5a0cf1(0x17e),'hidden':!![]})['option'](_0x592e91['FCUND'],{'type':_0x5a0cf1(0x15f),'hidden':!![],'default':![]})['option'](_0x592e91[_0x5a0cf1(0x1c2)],{'type':_0x592e91[_0x5a0cf1(0x1fa)],'hidden':!![],'choices':['verified','partial',_0x592e91[_0x5a0cf1(0x220)],'failed',_0x5a0cf1(0x1b5)]});},async _0xa56d58=>{await runGoCommand(_0xa56d58,!![]);})[_0x2d1053(0x15a)](_0x592e91['ytwHq'],![],_0x16acca=>{const _0x3d4540=_0x2d1053;return _0x16acca['positional']('env-name',{'type':_0x592e91['zLzIk'],'description':_0x3d4540(0x1a3),'demandOption':!![]})['option']('ci',{'type':_0x3d4540(0x15f),'description':_0x592e91[_0x3d4540(0x1d6)],'default':![]})['option'](_0x592e91[_0x3d4540(0x207)],{'type':_0x592e91[_0x3d4540(0x21e)],'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]});},async _0x4871bb=>{_0x592e91['FSheh'](warnRenamed,_0x592e91['Pxmvo'],_0x592e91['zraLo']),await withTelemetry('add\x20env',_0x103b28=>addEnv(_0x4871bb['env-name'],{'ci':_0x4871bb['ci'],'skipAuth':_0x4871bb['skip-auth']},_0x103b28));})['command']('use\x20<env-name>',![],_0x4b287d=>{const _0x2ca414=_0x2d1053;return _0x4b287d[_0x2ca414(0x140)](_0x592e91['voxMz'],{'type':_0x592e91['zLzIk'],'description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x50d5f4=>{const _0x1726d4=_0x2d1053;warnRenamed(_0x592e91[_0x1726d4(0x180)],_0x592e91[_0x1726d4(0xd8)]),await withTelemetry(_0x592e91['SEwSu'],()=>useEnv(_0x50d5f4['env-name']));})[_0x2d1053(0x15a)](_0x592e91['CkZTx'],![],_0x501961=>{const _0x3baac4=_0x2d1053,_0x5e2ac0={'bbdDH':_0x592e91[_0x3baac4(0x200)],'TbLrf':_0x592e91[_0x3baac4(0x1fa)],'HvNYA':'key','mScsu':_0x3baac4(0x119),'VhSAq':'value','yMGGK':function(_0x3be55b,_0x55bb6a,_0x363b3e){return _0x592e91['zzpHD'](_0x3be55b,_0x55bb6a,_0x363b3e);},'fRISj':_0x592e91[_0x3baac4(0x1ac)],'Xnejt':_0x592e91[_0x3baac4(0x163)]};return _0x501961['command'](_0x592e91[_0x3baac4(0x15e)],![],_0x400557=>{const _0x3ca052=_0x3baac4;return _0x400557[_0x3ca052(0x140)](_0x5e2ac0['bbdDH'],{'type':_0x5e2ac0['TbLrf'],'description':_0x3ca052(0x1e4),'demandOption':!![]})[_0x3ca052(0x140)](_0x5e2ac0['HvNYA'],{'type':_0x5e2ac0[_0x3ca052(0x227)],'description':_0x5e2ac0[_0x3ca052(0xaa)],'demandOption':!![]})['positional'](_0x5e2ac0['VhSAq'],{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0x41d42c=>{const _0x16cc97=_0x3baac4;_0x592e91[_0x16cc97(0x124)](warnRenamed,_0x592e91['gZysZ'],'ranger\x20profile\x20config\x20set'),await _0x592e91['ybIWP'](withTelemetry,'config\x20set',()=>configSet(_0x41d42c[_0x16cc97(0xb3)],_0x41d42c['key'],_0x41d42c['value']));})['command'](_0x592e91['pBLAO'],![],_0x897da0=>{const _0x2f863a=_0x3baac4;return _0x897da0[_0x2f863a(0x140)]('env',{'type':_0x5e2ac0['TbLrf'],'description':'Environment\x20name','demandOption':!![]})['positional'](_0x5e2ac0['HvNYA'],{'type':_0x2f863a(0x17e),'description':'Config\x20key','demandOption':!![]});},async _0x35b73d=>{const _0x1bce78=_0x3baac4;_0x592e91[_0x1bce78(0x18c)](warnRenamed,_0x592e91['moclT'],_0x592e91['IPVsN']),await withTelemetry(_0x1bce78(0xd9),()=>configGet(_0x35b73d[_0x1bce78(0xb3)],_0x35b73d[_0x1bce78(0x199)]));})['command'](_0x3baac4(0x1f5),![],_0x488726=>{const _0x1cc4ac=_0x3baac4;return _0x488726[_0x1cc4ac(0x140)](_0x5e2ac0['bbdDH'],{'type':_0x1cc4ac(0x17e),'description':'Environment\x20name','demandOption':!![]});},async _0x381702=>{const _0x223f8a=_0x3baac4;_0x5e2ac0['yMGGK'](warnRenamed,_0x5e2ac0['fRISj'],_0x5e2ac0[_0x223f8a(0x115)]),await _0x5e2ac0[_0x223f8a(0x1d7)](withTelemetry,_0x223f8a(0x110),()=>configList(_0x381702[_0x223f8a(0xb3)]));})[_0x3baac4(0x15a)]('unset\x20<env>\x20<key>',![],_0x1a7c7c=>{const _0x11bac4=_0x3baac4;return _0x1a7c7c[_0x11bac4(0x140)]('env',{'type':'string','description':'Environment\x20name','demandOption':!![]})[_0x11bac4(0x140)](_0x11bac4(0x199),{'type':_0x11bac4(0x17e),'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x13ae50=>{const _0x3b48c0=_0x3baac4;_0x592e91['hweHN'](warnRenamed,'ranger\x20config\x20unset',_0x592e91[_0x3b48c0(0x22c)]),await _0x592e91['PYWdb'](withTelemetry,'config\x20unset',()=>configUnset(_0x13ae50['env'],_0x13ae50[_0x3b48c0(0x199)]));})[_0x3baac4(0x13c)](0x1,_0x592e91['rKugE']);})[_0x2d1053(0x15a)](_0x592e91[_0x2d1053(0x200)],![],_0x5ba6a7=>{const _0x129cfb=_0x2d1053,_0x15c0ca={'XiUle':_0x592e91['UhJca'],'isoxp':function(_0x4f294f,_0x2d0c5b,_0x597c93){return _0x592e91['slyBu'](_0x4f294f,_0x2d0c5b,_0x597c93);}};return _0x5ba6a7['command']('ls',![],()=>{},async()=>{const _0x4bdf5a=_0x58a0;_0x592e91['YsnFw'](warnRenamed,_0x592e91[_0x4bdf5a(0xac)],_0x592e91['LGTBh']),await withTelemetry(_0x592e91['joLzL'],()=>envList());})[_0x129cfb(0x15a)](_0x129cfb(0xbf),![],_0x15df23=>{const _0x530599=_0x129cfb;return _0x15df23[_0x530599(0x140)]('env-name',{'type':_0x592e91[_0x530599(0x1fa)],'description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x157418=>{const _0x5dc4b2=_0x129cfb;warnRenamed(_0x5dc4b2(0x1be),_0x15c0ca['XiUle']),await _0x15c0ca['isoxp'](withTelemetry,'env\x20update',_0x34557=>updateEnv(_0x157418[_0x5dc4b2(0xa4)],_0x34557));})[_0x129cfb(0x13c)](0x1,_0x592e91['XnPAg']);})['command'](_0x2d1053(0xee),![],_0x469bca=>{const _0x2c9bfc=_0x2d1053,_0x14a315={'elfGz':function(_0x50c1e8,_0x34a926,_0x1bf5bc){const _0x3ed2bd=_0x58a0;return _0x592e91[_0x3ed2bd(0x12d)](_0x50c1e8,_0x34a926,_0x1bf5bc);},'aOSUr':'ranger\x20feature\x20create','cGbNE':function(_0x6edac0,_0x1063e1,_0x315c64,_0x52ef53){return _0x592e91['hHney'](_0x6edac0,_0x1063e1,_0x315c64,_0x52ef53);},'fLlEK':_0x592e91['sPDLZ'],'NSuci':_0x592e91['BToxI'],'KHqRI':_0x592e91['zLzIk'],'UOwSI':'Feature\x20review\x20ID','yIEFF':_0x592e91['IqNlM'],'SPXmI':_0x592e91[_0x2c9bfc(0x1c3)],'InmJI':_0x592e91['LwDkH'],'lGoMq':_0x592e91[_0x2c9bfc(0x143)],'flEXN':'ranger\x20feature\x20get-feedback','PGIOG':_0x592e91['jSfMe'],'HXdzd':_0x592e91['NOAAz'],'smFth':function(_0x50b01e,_0x2e6953,_0xa37256){return _0x50b01e(_0x2e6953,_0xa37256);}};return _0x469bca['command'](_0x592e91[_0x2c9bfc(0x105)],![],_0x323f39=>{const _0x426770=_0x2c9bfc;return _0x323f39['positional'](_0x426770(0x234),{'type':'string','description':_0x592e91['KCNrk'],'demandOption':!![]})[_0x426770(0x1bb)](_0x592e91['FYfVj'],{'type':_0x592e91[_0x426770(0x1fa)],'alias':'d','description':'Feature\x20review\x20description'})['option'](_0x426770(0x12b),{'type':_0x426770(0x208),'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option']('scenario',{'type':_0x426770(0x208),'hidden':!![]});},async _0x82200=>{const _0x57cd6c=_0x2c9bfc;_0x14a315[_0x57cd6c(0xd1)](warnRenamed,_0x14a315['aOSUr'],'ranger\x20create'),_0x14a315['cGbNE'](warnFlagRenamed,'ranger\x20create',_0x14a315[_0x57cd6c(0x1a9)],_0x14a315[_0x57cd6c(0x228)]);const _0x492ea9=_0x82200[_0x57cd6c(0x1df)]||_0x82200['checklist'];await withTelemetry(_0x57cd6c(0xe9),()=>featureCreate(_0x82200[_0x57cd6c(0x234)],{'description':_0x82200[_0x57cd6c(0x21c)],'scenarios':_0x492ea9}));})[_0x2c9bfc(0x15a)](_0x2c9bfc(0x16e),![],_0x3cfe02=>{const _0x3adc6d=_0x2c9bfc;return _0x3cfe02['option'](_0x3adc6d(0x22b),{'type':_0x592e91['oopCt'],'description':_0x592e91['pWGXJ']})['option'](_0x3adc6d(0x11d),{'type':_0x3adc6d(0x16a),'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})[_0x3adc6d(0x1bb)](_0x3adc6d(0x13d),{'type':_0x592e91['mtSNI'],'alias':'o','description':_0x592e91[_0x3adc6d(0x148)],'default':0x0})['option'](_0x592e91['jRXrX'],{'type':_0x3adc6d(0x15f),'alias':'d','description':_0x592e91['ELvmA'],'default':![]});},async _0x15b73f=>{const _0x2e9ebe=_0x2c9bfc;_0x592e91[_0x2e9ebe(0x18c)](warnRenamed,_0x2e9ebe(0xa3),'ranger\x20list'),await withTelemetry('feature\x20list',()=>featureList({'currentBranch':_0x15b73f[_0x2e9ebe(0x22b)],'limit':_0x15b73f[_0x2e9ebe(0x11d)],'offset':_0x15b73f['offset'],'includeDeleted':_0x15b73f[_0x2e9ebe(0xf8)]}));})['command']('show\x20[id]',![],_0x1e1975=>{const _0x2c9826=_0x2c9bfc;return _0x1e1975['positional']('id',{'type':_0x14a315[_0x2c9826(0xc3)],'description':_0x14a315['UOwSI']});},async _0x459458=>{const _0x3076ea=_0x2c9bfc;warnRenamed('ranger\x20feature\x20show',_0x3076ea(0x198)),await _0x592e91['PxRAJ'](withTelemetry,'feature\x20show',()=>featureShow(_0x459458['id']));})['command'](_0x592e91[_0x2c9bfc(0x1ae)],![],_0x21a2ea=>{const _0x538957=_0x2c9bfc;return _0x21a2ea['positional']('id',{'type':_0x538957(0x17e),'description':_0x538957(0x191)});},async _0x3e817f=>{const _0x4b6e95=_0x2c9bfc;warnRenamed(_0x14a315[_0x4b6e95(0x238)],_0x14a315[_0x4b6e95(0xff)]),await withTelemetry('feature\x20resume',()=>featureResume(_0x3e817f['id']));})[_0x2c9bfc(0x15a)]('add-checklist-item\x20<description>',![],_0x58996f=>{const _0x41ba26=_0x2c9bfc;return _0x58996f['positional']('description',{'type':'string','description':_0x14a315['InmJI'],'demandOption':!![]})[_0x41ba26(0x1bb)]('id',{'type':'string','description':_0x14a315[_0x41ba26(0x21d)]});},async _0x5e9a4d=>{const _0x2d8272=_0x2c9bfc;_0x14a315[_0x2d8272(0xd1)](warnRenamed,'ranger\x20feature\x20add-checklist-item','ranger\x20add-scenario'),await _0x14a315[_0x2d8272(0xd1)](withTelemetry,_0x2d8272(0xfc),()=>featureAddScenario(_0x5e9a4d['description'],_0x5e9a4d['id']));})['command'](_0x2c9bfc(0x172),![],_0x58f818=>{const _0x5a50a4=_0x2c9bfc;return _0x58f818[_0x5a50a4(0x140)]('id',{'type':_0x14a315['KHqRI'],'description':_0x14a315[_0x5a50a4(0x21d)]});},async _0x4e271e=>{const _0x217c15=_0x2c9bfc;_0x14a315[_0x217c15(0xd1)](warnRenamed,_0x14a315['flEXN'],'ranger\x20get-review'),await withTelemetry(_0x14a315[_0x217c15(0x19b)],()=>featureGetReview(_0x4e271e['id']));})['command'](_0x2c9bfc(0x12e),![],_0x24e216=>{return _0x24e216['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x3a0054=>{const _0xdc78a2=_0x2c9bfc;_0x14a315['elfGz'](warnRenamed,'ranger\x20feature\x20delete',_0x14a315[_0xdc78a2(0x1d4)]),await _0x14a315[_0xdc78a2(0xd1)](withTelemetry,'feature\x20delete',()=>featureDelete(_0x3a0054['id']));})[_0x2c9bfc(0x15a)](_0x592e91[_0x2c9bfc(0x1fb)],![],_0x45f913=>{const _0x142ae9=_0x2c9bfc;return _0x45f913[_0x142ae9(0x140)]('id',{'type':_0x142ae9(0x17e),'description':_0x142ae9(0x23a),'demandOption':!![]});},async _0x4809ea=>{const _0x5c83e2=_0x2c9bfc;warnRenamed(_0x5c83e2(0x1d3),_0x5c83e2(0x1c0)),await _0x14a315[_0x5c83e2(0x122)](withTelemetry,_0x5c83e2(0xf1),()=>featureRestore(_0x4809ea['id']));})['demandCommand'](0x1,_0x2c9bfc(0x1d2));})['command']('hook',![],_0x4e66e5=>{const _0x35b8ed=_0x2d1053,_0x3635d4={'tDRZs':_0x592e91['sGgno'],'RYzOl':_0x592e91[_0x35b8ed(0x1fa)],'gNSXA':_0x35b8ed(0x219),'JKocJ':'hook:disable'};return _0x4e66e5[_0x35b8ed(0x15a)](_0x35b8ed(0x113),_0x592e91['XCiCo'],_0x3315d0=>{const _0x503850=_0x35b8ed;return _0x3315d0[_0x503850(0x1bb)](_0x503850(0x116),{'type':_0x592e91['zLzIk'],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x1329f3=>{const _0x8d68b=_0x35b8ed;await _0x592e91[_0x8d68b(0x164)](withTelemetry,_0x592e91['mkYpu'],()=>hook(_0x8d68b(0x113),_0x1329f3['session-id']));})['command'](_0x592e91[_0x35b8ed(0xbb)],_0x592e91['MCVCW'],_0x235538=>{const _0x4e91ef=_0x35b8ed;return _0x235538['option'](_0x3635d4[_0x4e91ef(0xdb)],{'type':_0x3635d4[_0x4e91ef(0x1a7)],'description':_0x3635d4[_0x4e91ef(0x221)]});},async _0x3d6672=>{const _0x1fb215=_0x35b8ed;await withTelemetry(_0x3635d4['JKocJ'],()=>hook('disable',_0x3d6672[_0x1fb215(0x116)]));})['option'](_0x35b8ed(0x234),{'type':'string','description':_0x592e91['cDyYq']})['option'](_0x592e91['sGgno'],{'type':_0x35b8ed(0x17e),'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x1a9455=>{_0x1a9455['name']&&await hook(_0x1a9455['name'],_0x1a9455[_0x592e91['sGgno']]);})[_0x2d1053(0x13c)](0x1,_0x592e91['xCtil'])['strictCommands']()['fail'](async(_0xd0961f,_0x42f758,_0x479440)=>{const _0x158684=_0x2d1053,_0x3268b3=_0x592e91[_0x158684(0x17f)](sanitizeArgs,process[_0x158684(0xb7)]['slice'](0x2)),_0x5983f6=_0x592e91['sjCGS'](getErrorType,_0xd0961f,_0x42f758);if(_0xd0961f&&_0xd0961f[_0x158684(0x1ec)](_0x592e91[_0x158684(0x156)])){const _0x36b74d=process[_0x158684(0xb7)][0x2];console['error'](_0x158684(0x1a4)+_0x36b74d),console['error'](_0x592e91['cQmET']);}else{if(_0xd0961f)console['error']('\x0a'+_0xd0961f+'\x0a');else _0x42f758&&console['error']('\x0aError:\x20'+_0x42f758['message']+'\x0a');}await logDesirePath({'rawCommand':_0x3268b3,'errorMessage':_0xd0961f||_0x42f758?.[_0x158684(0x10a)],'errorType':_0x5983f6});const _0x2c48d2=_0x592e91['saPiC'](getCurrentCollector);_0x2c48d2&&await _0x2c48d2[_0x158684(0x1ed)](_0x42f758||new Error(_0x592e91['fuuOk'](_0xd0961f,_0x158684(0x111)))),process['exit'](0x1);})['epilogue'](_0x592e91['vZpab'](_0x592e91['IXEte']+'\x20\x20https://docs.ranger.net\x0a',_0x592e91['ipwGs']))['help']()['alias']('help','h');}process[_0x1815ca(0xb3)][_0x1815ca(0xe4)]!==_0x1815ca(0x203)&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()['parse']());function _0x3128(){const _0x10ec09=['profile\x20config\x20unset','ctLGC','reset\x20<profile>','severity','add\x20<profile-name>','error','scriptName','pUfTt','DKIUJ','headed','Lpzmw','rsFLa','cvbTo','PwerH','You\x20must\x20specify\x20a\x20command','ItAOw','command','Install\x20scope\x20for\x20plugin\x20and\x20skills','Delete\x20a\x20cloud\x20profile','aWvTO','kPXvB','boolean','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','\x20is\x20now\x20','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','eDvSB','sjCGS','edit-scenario\x20<description>','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','\x20PARTIAL','token','Config\x20key','number','login\x20<name>','KRpng','JYxGA','list','ranger\x20config\x20set','migrate\x20[profile-name]','--profile','get-feedback\x20[id]','value','debug-outcome','rdIBr','ENLsb','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','LfQyL','Alias\x20for\x20--mcp-bootstrap','base-url','pHJzk','DQtTU','save-creds','string','NagiY','LJQrS','ivsXi','NuyJl','skip-chromium','blocked','Nxrok','tjqoA','MajAa','vMphA','\x20is\x20no\x20longer\x20supported.\x20','KXNpl','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','oKtmh','auGVW','exit','start','add-scenario\x20<description>','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','hkxVj','CkZTx','WYnpL','resume','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','ranger\x20config\x20get','ranger\x20show','key','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','PGIOG','yCiAR','mcp','✓\x20Login\x20succeeded\x20for\x20\x27','✓\x20Authenticated\x20to\x20','ranger\x20config\x20list','opencode','TBFpL','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','\x0aUnknown\x20command:\x20','abRNb','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.','RYzOl','RdeJM','fLlEK','KesGa','xieVB','YDYSD','DjaEK','wXYcp','wARvH','nYlqJ','log','Ranger\x20API\x20token','Manage\x20profile\x20configuration','djRXl','incomplete','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','iNIGm','iVffb','WpsqL','skillup','option','6339792xyVEUd','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','ranger\x20env\x20update','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','ranger\x20restore','profile\x20update','Qsgpz','kyXrB','clean','force','Name\x20of\x20the\x20profile','TPdFz','all','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','skip-auth','Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','ranger\x20profile\x20use','cdp-endpoint','setup:login','json','--task','hmQTl','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','ranger\x20feature\x20restore','HXdzd','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','YgTPa','yMGGK','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','4109244jnfbHe','profile\x20encrypt-auth','update\x20<profile-name>','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','hPbSz','wNkqj','scenario','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','profile','show\x20[id]','BMfWm','Environment\x20name','yes','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','kCDfW','hrfZu','config','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','ranger\x20env\x20ls','includes','trackCommandError','.env','HiNiX','YLpEP','.\x20[','Feature\x20review\x20name','OyipD','version','list\x20<env>','nwwSz','FPynS','Update\x20authentication\x20for\x20an\x20existing\x20profile','16Noncnl','zLzIk','ihtyo','LfKHQ','repeat','scope','dIypg','mGjey','419655jTfaVY','rdRBT','test','--checklist','vtfwQ','unknown\x20error','IJjET','array','oIqWr','omOhH','allow-insecure-localhost','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','5815607qrslFe','HLJNn','dry-run','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','ttsBg','slice','status','tokenOrSubcommand','uwJuZ','WUeRB','List\x20all\x20profiles','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','summary','exitCode','description','lGoMq','oopCt','start-path','hwLug','gNSXA','TsRfU','IzWuT','cNeyh','print-access-token','profile-name','TbLrf','NSuci','user','--scenario','current-branch','ptyrO','item','List\x20all\x20config\x20for\x20a\x20profile','TJuSn','ranger\x20profile\x20encrypt-auth','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','Get\x20a\x20config\x20value','Install\x20Chromium\x20browser\x20binary','name','update','ELvmA','Skip\x20authentication','yIEFF','LxObx','Feature\x20review\x20ID\x20to\x20restore','HlNdh','organizationName','ranger\x20feature\x20list','env-name','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','NyrTh','BPRne','mloXX','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','mScsu','ISehN','FlzVR','309174OhaEhR','40202vUFtJN','FYfVj','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','DOMtC','xlePI','env','profiles','WEHMd','ZdDpO','argv','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','21931083zsOHtp','byCpT','uRNJO','Skip\x20the\x20deletion\x20confirmation\x20prompt.','Manage\x20profiles','JyNCo','update\x20<env-name>','xuDbX','VRaKu','set\x20<env>\x20<key>\x20<value>','KHqRI','jlwZX','Feature\x20review\x20description','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','zstCw','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','AIzti','Install\x20OS-level\x20dependencies\x20for\x20Chromium','RtXYZ','mcp-bootstrap','Scenario\x20index\x20(1-based)','kLVRw','TmeWO','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','elfGz','GzjZH','QyyLt','restore','exclude-scenario','TIiXE','Profile\x20name','PapWc','config\x20get','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','tDRZs','debug-address-comments','create\x20<name>','pQbrw','profile\x20delete','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','qbTek','zmWIH','MRGkk','NODE_ENV','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','vGMcb','qtEvR','issues','feature\x20create','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','You\x20must\x20specify\x20an\x20env\x20subcommand','GqCRE','feature','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','YGrZw','feature\x20restore','mtSNI','sfGGi','New\x20scenario\x20description','usage','root','ranger\x20create','include-deleted','ranger\x20profile\x20config\x20get','sLbin','Optional\x20feature\x20ID','feature\x20add-checklist-item','ranger\x20auth\x20encrypt','ranger','SPXmI','Base\x20URL\x20of\x20the\x20running\x20app','ZGwOP','ranger\x20setup','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','xtyAp','ovCKw','\x20INCOMPLETE','auth','Feature\x20review\x20ID','hJbNA','message','model','FORJN','setup-ci\x20<token>','\x20VERIFIED','Ziqxh','config\x20list','Unknown\x20error','CuezE','enable','aaWOm','Xnejt','session-id','setup-header','task','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','WlNVb','report\x20[id]','url','limit','ranger\x20start','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','eVpHR','OPDrd','smFth','20mGcMMl','hweHN','setup-ci','restore\x20<id>','StwBQ','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','CUneM','checklist','TNjlc','tmRZU','delete\x20[id]','RvhlR','QqGqM','evaluation','ZttjA','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','ranger\x20go','KUHiF','Xzaca','Config\x20key\x20to\x20remove','get-review\x20[id]','EZisu','PuNle','sFqKl','demandCommand','offset','ranger\x20verify-feature','Skip\x20Chromium\x20browser\x20installation','positional','ranger\x20add\x20env','Install\x20scope\x20for\x20skills','Hftqt','with-deps','Ranger\x20API\x20token\x20(rngr_...)','get\x20<env>\x20<key>','Summary:\x20','vmeZg','WcGOP'];_0x3128=function(){return _0x10ec09;};return _0x3128();}
|
|
2
|
+
const _0x30286d=_0x4067;(function(_0x11ec47,_0x3df886){const _0x533942=_0x4067,_0x341efe=_0x11ec47();while(!![]){try{const _0x2a5345=parseInt(_0x533942(0x22e))/0x1*(parseInt(_0x533942(0x189))/0x2)+parseInt(_0x533942(0x188))/0x3+-parseInt(_0x533942(0x29a))/0x4*(-parseInt(_0x533942(0x1c5))/0x5)+-parseInt(_0x533942(0x1f6))/0x6*(parseInt(_0x533942(0x1b8))/0x7)+parseInt(_0x533942(0x19d))/0x8*(-parseInt(_0x533942(0x23f))/0x9)+parseInt(_0x533942(0x1c4))/0xa+parseInt(_0x533942(0x1a6))/0xb*(-parseInt(_0x533942(0x230))/0xc);if(_0x2a5345===_0x3df886)break;else _0x341efe['push'](_0x341efe['shift']());}catch(_0x30ef26){_0x341efe['push'](_0x341efe['shift']());}}}(_0x4ce6,0x1cf69));import _0x4a19ca from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x113382=_0x4067,_0x39eff4={'YIzzy':function(_0x571f35,_0x50b4ba){return _0x571f35!==_0x50b4ba;},'JRNPz':function(_0x456d0e,_0x1e7e06){return _0x456d0e(_0x1e7e06);},'dgfch':'.env'};let _0x7fe44a=process['cwd']();const _0x10552c=parse(_0x7fe44a)[_0x113382(0x27f)];while(_0x39eff4[_0x113382(0x215)](_0x7fe44a,_0x10552c)){if(_0x39eff4[_0x113382(0x168)](existsSync,join(_0x7fe44a,_0x113382(0x236)))||_0x39eff4[_0x113382(0x168)](existsSync,join(_0x7fe44a,_0x39eff4[_0x113382(0x1f7)])))return _0x7fe44a;_0x7fe44a=dirname(_0x7fe44a);}return process[_0x113382(0x1f0)]();}_0x4a19ca['config']({'path':join(findProjectRoot(),_0x30286d(0x105))});import _0x5b835a 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';function _0x4067(_0x206b2b,_0x55bcd5){_0x206b2b=_0x206b2b-0xd5;const _0x4ce67c=_0x4ce6();let _0x4067a7=_0x4ce67c[_0x206b2b];return _0x4067a7;}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 _0x287920=>{const _0x19b981=_0x30286d,_0x5df5da={'EJzVO':function(_0x2df523){return _0x2df523();}},_0x140307=_0x5df5da['EJzVO'](getCurrentCollector);_0x140307&&await _0x140307[_0x19b981(0x218)](_0x287920),process['exitCode']=0x1;});const rawArgs=process[_0x30286d(0xfc)][_0x30286d(0x22a)](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='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201',PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201';function warnRenamed(_0x371bf1,_0x345a52){const _0x54a26f=_0x30286d;console[_0x54a26f(0xea)]('\x0a'+_0x371bf1+_0x54a26f(0x249)+_0x345a52+'\x0a');}function argUsed(_0x2dfc95){const _0x41cb26=_0x30286d;return rawArgs[_0x41cb26(0x1c2)](_0x36c8bd=>_0x36c8bd===_0x2dfc95||_0x36c8bd[_0x41cb26(0x16f)](_0x2dfc95+'='));}function warnFlagRenamed(_0x511c30,_0x1a8fcb,_0x5398af){const _0x467fcd={'UfhMv':function(_0x489295,_0xb0809){return _0x489295(_0xb0809);}};_0x467fcd['UfhMv'](argUsed,_0x1a8fcb)&&warnRenamed(_0x511c30+'\x20'+_0x1a8fcb,_0x511c30+'\x20'+_0x5398af);}function normalizeEnvVarNames(_0x1e9044){const _0x221ea4=_0x30286d,_0x458293=Array['isArray'](_0x1e9044)?_0x1e9044:_0x1e9044?[_0x1e9044]:[];return _0x458293['flatMap'](_0x421d8c=>String(_0x421d8c)[_0x221ea4(0x1dc)](',')['map'](_0x3ea794=>_0x3ea794['trim']())[_0x221ea4(0xf7)](Boolean));}async function runGoCommand(_0x2d7354,_0x4377d7=![]){const _0x4bbdd4=_0x30286d,_0x179440={'TQyyD':_0x4bbdd4(0x126),'hrMIZ':_0x4bbdd4(0x261),'qJShw':_0x4bbdd4(0x232),'tAcez':function(_0x9823){return _0x9823();},'CBBPF':_0x4bbdd4(0x20b),'kqvxn':function(_0xd71185){return _0xd71185();},'oebwV':function(_0x215f1e,_0x1e73ac){return _0x215f1e>_0x1e73ac;},'IcaYu':'playwright-cli','icPvx':function(_0x138404,_0x3fcbf3){return _0x138404!==_0x3fcbf3;},'ZPPes':function(_0x5f46cf,_0x5064bd){return _0x5f46cf(_0x5064bd);},'vNXtz':'debug-address-comments','iDeSg':_0x4bbdd4(0x27c),'Ygczv':_0x4bbdd4(0x2a4),'aCMlp':function(_0xbfbaab,_0x47956a){return _0xbfbaab===_0x47956a;},'swrgq':'partial','EnqiP':function(_0x2d516f,_0x176b27){return _0x2d516f===_0x176b27;}};_0x4377d7&&warnRenamed(_0x4bbdd4(0xe4),_0x179440[_0x4bbdd4(0x14a)]);warnFlagRenamed(_0x179440[_0x4bbdd4(0x14a)],'--env','--profile'),warnFlagRenamed('ranger\x20go',_0x179440['hrMIZ'],_0x179440['qJShw']),warnFlagRenamed(_0x179440[_0x4bbdd4(0x14a)],_0x4bbdd4(0x271),_0x4bbdd4(0x1cd));const _0xc2d013=await loadRangerConfig(),_0x27e793=_0x179440[_0x4bbdd4(0x10f)](isByokEnabled),_0x1d9f88=_0x2d7354[_0x4bbdd4(0xe0)],_0x2dbf6b=_0xc2d013['model'],_0x142ff0=normalizeEnvVarNames(_0x2d7354[_0x179440[_0x4bbdd4(0x274)]]),_0x40392c=_0x179440[_0x4bbdd4(0x219)](getVerificationTransport);if(_0x179440[_0x4bbdd4(0xd7)](_0x142ff0[_0x4bbdd4(0xfb)],0x0)&&_0x40392c!==_0x179440[_0x4bbdd4(0x272)]&&_0x179440['icPvx'](_0x40392c,'rangerwright-cli'))throw new Error(_0x4bbdd4(0x102)+_0x40392c+'.');const _0x51962f=await _0x179440[_0x4bbdd4(0x28a)](verifyFeature,{'featureId':_0x2d7354[_0x4bbdd4(0x170)],'profile':_0x2d7354['profile']??_0x2d7354[_0x4bbdd4(0x251)]??process[_0x4bbdd4(0x251)]['RANGER_PROFILE'],'notes':_0x2d7354[_0x4bbdd4(0x1a3)]??_0x2d7354['task'],'scenario':_0x2d7354['scenario']??_0x2d7354['item'],'startPath':_0x2d7354['start-path'],'baseUrl':_0x2d7354['base-url'],'debugOutcome':_0x2d7354[_0x4bbdd4(0x25b)],'debugAddressComments':_0x2d7354[_0x179440[_0x4bbdd4(0x19c)]],'headed':_0x2d7354['headed'],'verifierEnvVars':_0x142ff0,'byokEnabled':_0x27e793,'flagVerifyModel':_0x1d9f88,'configVerifyModel':_0x2dbf6b});console[_0x4bbdd4(0x12c)]('\x0a'+'='['repeat'](0x3c)),console[_0x4bbdd4(0x12c)](_0x51962f[_0x4bbdd4(0x15b)]===_0x4bbdd4(0x10c)?_0x179440[_0x4bbdd4(0x199)]:_0x51962f[_0x4bbdd4(0x15b)]===_0x4bbdd4(0x131)?_0x179440['Ygczv']:_0x179440[_0x4bbdd4(0x288)](_0x51962f[_0x4bbdd4(0x15b)],_0x179440['swrgq'])?'\x20PARTIAL':_0x51962f['evaluation']===_0x4bbdd4(0x11e)?_0x4bbdd4(0x16e):'\x20FAILED'),console['log']('='['repeat'](0x3c)),console[_0x4bbdd4(0x12c)]('Summary:\x20'+_0x51962f['summary']),console['log'](_0x4bbdd4(0x1c1)+_0x51962f['evaluation']),console[_0x4bbdd4(0x12c)](_0x4bbdd4(0x21e)+_0x51962f[_0x4bbdd4(0x191)]),_0x51962f['issues']?.['length']&&(console[_0x4bbdd4(0x12c)](_0x4bbdd4(0x21c)),_0x51962f[_0x4bbdd4(0x142)]['forEach']((_0x26c26d,_0x14010d)=>{const _0xa315f5=_0x4bbdd4;console['log']('\x0a'+(_0x14010d+0x1)+'.\x20['+_0x26c26d['severity']+']\x20'+_0x26c26d[_0xa315f5(0x19e)]);})),process[_0x4bbdd4(0x17c)](_0x179440['EnqiP'](_0x51962f['evaluation'],'verified')?0x0:0x1);}function _0x4ce6(){const _0x86e886=['lREuc','ranger\x20config\x20set','caivY','scope','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','KQkOr','IAXBJ','qIspd','issues','user','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','Feature\x20review\x20name','ILkgc','force','tHOSb','ranger\x20resume','TQyyD','Base\x20URL\x20of\x20the\x20running\x20app','API\x20token','UlNfG','zJKjJ','lyYdF','Run\x20full\x20interactive\x20setup','yPZqH','HrXNB','command','YRTSs','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','with-deps','allow-insecure-localhost','Hlkvg','project','ERQEQ','evaluation','RFNOT','ranger\x20use','oplKP','Skip\x20authentication','disable','ranger','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','Subcommand\x20or\x20API\x20token\x20(rngr_...)','IxSpL','hook','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','JRNPz','Initialize\x20Ranger\x20in\x20your\x20project','Documentation:\x0a','trANy','verify-feature','cdp-endpoint','\x20BLOCKED','startsWith','feature','ranger\x20start','eUFlQ','Name\x20of\x20the\x20profile','KJDbX','BvdyI','FNmmH','jCsst','env\x20list','AjAlT','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','pzbqU','exit','scriptName','MXgka','ranger\x20setup\x20profiles\x20--scope=','okuqK','ranger\x20add\x20env','Hfyfs','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','KdSch','array','MBmyt','demandCommand','342942kjfyqs','2dwivjt','ranger\x20list','vhxfb','help','ywfmS','AHUip','izmBe','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','evaluationReason','start','Authenticate\x20with\x20Ranger','key','qrQoi','ahlMh','delete','base-url','iDeSg','Feature\x20review\x20description','Profile\x20name','vNXtz','14696nVdGUo','description','auth','setup:all','fShHy','Apqbw','notes','ranger\x20profile\x20config\x20unset','string','12023fKeFVK','CdZHF','qUpSu','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','SoRAB','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','You\x20must\x20specify\x20an\x20env\x20subcommand','include-deleted','KgyrC','Install\x20skills\x20for\x20OpenCode','kxeEx','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','Environment\x20name','Llqpr','limit','resume\x20[id]','CVRBl','coUSx','1351yfFjTI','aPkUq','zSEET','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','Ranger\x20API\x20token','rTqQQ','hXuhs','VPwdO','CpvUp','Evaluation:\x20','some','uPjxM','1364830vbkdiL','645MQSSDe','YUBcH','ZjKwv','KuQVr','ranger\x20restore','ZKEkC','FrClW','YsjNN','--scenario','QxMJs','NODE_ENV','list\x20<env>','TVNfD','config\x20set','parse','deyof','RlBKs','You\x20must\x20specify\x20a\x20config\x20subcommand','unset\x20<profile>\x20<key>','xVIUw','use\x20<env-name>','bwiNs','GpFFP','split','XFiqs','feature\x20delete','all','hStVc','cIHyv','tenNl','LaMrV','boolean','report\x20[id]','headed','Scenario\x20description','opencode','frfyE','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','Install\x20OS-level\x20dependencies\x20for\x20Chromium','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','use\x20<profile-name>','Set\x20a\x20config\x20value','tLCyR','cwd','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','url','partial','ltzzz','Authenticate\x20via\x20MCP\x20proxy','2220amKOBC','dgfch','zRACj','NKeeL','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','add-scenario\x20<description>','failed','aoBCc','set\x20<env>\x20<key>\x20<value>','Set\x20up\x20a\x20local\x20browser\x20profile','zsZeR','Skip\x20the\x20deletion\x20confirmation\x20prompt.','JeuZJ','New\x20scenario\x20description','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','kwyCX','sMsyp','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','rBvOz','hZFeL','env-var','env-name','AfYbs','message','OMHLW','Manage\x20profiles','TvtYM','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','aIkKb','ranger\x20auth\x20encrypt','YIzzy','tcdPQ','name','trackCommandError','kqvxn','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','kBLjx','\x0aIssues:','gRnbC','Reason:\x20','jaQNJ','skillup','vBwyJ','gotuk','test_output','oWFOK','RWObi','profile','feature\x20get-feedback','list\x20<profile>','ABVWA','slice','IfqGA','feature\x20show','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','75527NagMSb','option','2652xnrAhp','kkzhJ','--notes','BHxJo','ZyQXn','xKBlH','.ranger','ranger\x20add-scenario','skip-auth','ranger\x20profile\x20config\x20set','migrate\x20[profile-name]','restore\x20<id>','FFVGq','ranger\x20config\x20unset','Skip\x20interactive\x20confirmation\x20prompts.','522sUEXRZ','ranger\x20profile\x20update','CEaJL','feature\x20list','fPPVN','mcp','IaCnV','token','GizuT','Config\x20key','\x20is\x20now\x20','THUjb','Name\x20of\x20the\x20environment','pxKmV','XzDVs','WBoFa','MGDMc','bBjPg','env','ranger\x20feature\x20list','vWxMH','Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','ihkJB','version','PUesc','RrUbO','rwtqI','epaDs','debug-outcome','WzdDF','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','profile-name','fEMRg','skip-chromium','--task','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','--checklist','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','dPmIF','ranger\x20feature\x20show','CpbcF','mcp-bootstrap','USVXv','iAOwr','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','ranger\x20feature\x20add-checklist-item','SHxZF','KyxtG','IGcdE','ckGEC','--item','IcaYu','HCIde','CBBPF','zqZfm','ranger\x20show','SiHUK','AyKYc','encrypt\x20<profile>','delete\x20<profile-name>','GOJum','\x20VERIFIED','offset','QSoeW','root','setup-ci\x20<token>','gdLww','IyzwC','uAuRr','YMpaE','iHMbO','restore','Install\x20scope\x20for\x20skills','aCMlp','Ranger\x20API\x20token\x20(rngr_...)','ZPPes','config','YNdIP','feature\x20add-checklist-item','ranger\x20setup','orPwN','lCqlJ','tUokD','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','NzEVj','QbncF','Kpium','session-id','profile\x20delete','qrHxD','ranger\x20feature\x20delete','6568lvHaUd','start-path','ACvXQ','setup:skills','add\x20<profile-name>','bCzul','profile\x20update','\x27.\x20Session\x20saved.','login','save-creds','\x20INCOMPLETE','SvOyn','nzQTT','oebwV','success','ranger\x20profile\x20add','UfOcL','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','fseBz','HqmLJ','NuDiv','\x0aError:\x20','model','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','sRaJB','current-branch','ranger\x20verify-feature','\x0aUnknown\x20command:\x20','zReGp','neIyu','Cloud\x20profile\x20name','ranger\x20env\x20update','error','nAgAu','ulEof','ZjWWI','nkuET','tJTCS','You\x20must\x20specify\x20a\x20profile\x20subcommand','xaEoG','number','nPwft','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','json','Mtadh','filter','usage','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','Login\x20failed:\x20','length','argv','setup\x20[tokenOrSubcommand]','profile\x20ls','\x20\x20https://docs.ranger.net\x0a','profiles','mtVVa','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','wWeup','get\x20<profile>\x20<key>','.env','hSfJF','rvdLF','List\x20all\x20profiles','profile\x20add','agCxq','Skip\x20browser\x20authentication','verified','update','profile\x20use','tAcez','encrypt-auth\x20<profile>','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','YdTiB','xigqB','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','ranger\x20env\x20ls','setup-ci','feature\x20restore','setup:login','profile\x20login','setup-header','checklist','uEioX','Feature\x20review\x20ID','blocked','qtiPd','dtnoo','create','IyAnb','exclude-scenario','HjLhu','GDikv','ranger\x20go','positional','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','profile\x20config\x20reset','Config\x20value','bFzVL','log','Include\x20soft-deleted\x20feature\x20reviews','wPoWw','You\x20must\x20specify\x20a\x20command','qMxdM','incomplete','list','npARy','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','Scenario\x20index\x20(1-based)','iseDj','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','ZdCtj','status'];_0x4ce6=function(){return _0x86e886;};return _0x4ce6();}export function buildParser(_0x224bad){const _0x3c514d=_0x30286d,_0x3252da={'fseBz':'name','qrHxD':_0x3c514d(0x145),'YUBcH':'string','iHMbO':_0x3c514d(0x185),'QbncF':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','rvdLF':_0x3c514d(0x21a),'xaEoG':'Example:\x20ranger\x20create\x20my-feature','zflYv':'--scenario','ZKEkC':_0x3c514d(0xe3),'Hfyfs':_0x3c514d(0xf2),'zqZfm':_0x3c514d(0xf4),'trANy':'Number\x20of\x20feature\x20reviews\x20to\x20skip','cwHna':_0x3c514d(0x1ad),'KuQVr':_0x3c514d(0x1e4),'KdVWG':'Include\x20soft-deleted\x20feature\x20reviews','tcdPQ':function(_0x4933ad,_0x453462,_0x80b7a0){return _0x4933ad(_0x453462,_0x80b7a0);},'gotuk':'Feature\x20review\x20ID','agCxq':_0x3c514d(0x166),'JEGJg':'resume','FrClW':'description','rTqQQ':_0x3c514d(0x1ab),'nAgAu':_0x3c514d(0x204),'hmqQN':'scenario','bVBcu':function(_0x5033cc,_0x5328bb,_0x317a96){return _0x5033cc(_0x5328bb,_0x317a96);},'RrUbO':'edit-scenario','AHUip':_0x3c514d(0x123),'pmHdL':'json','lXseP':_0x3c514d(0x13e),'FNmmH':function(_0x17ea2e,_0x42349d,_0x5487c0){return _0x17ea2e(_0x42349d,_0x5487c0);},'zReGp':'report','xigqB':'Feature\x20review\x20ID\x20to\x20restore','CdZHF':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','sRaJB':_0x3c514d(0x1eb),'pzbqU':'user','tHOSb':'allow-insecure-localhost','YMpaE':'mcp-bootstrap','jaQNJ':function(_0x2a84eb,_0x9fea75,_0x2506d4){return _0x2a84eb(_0x9fea75,_0x2506d4);},'MGTJe':_0x3c514d(0x1a0),'MVFiq':_0x3c514d(0x289),'qtiPd':_0x3c514d(0x244),'dtnoo':_0x3c514d(0x1f5),'aoBCc':_0x3c514d(0x29d),'apwDK':function(_0x7c58f5,_0x5b7437){return _0x7c58f5!==_0x5b7437;},'ltzzz':function(_0x417a60,_0x555682){return _0x417a60+_0x555682;},'KJDbX':function(_0x2ed7ea,_0x4f307f){return _0x2ed7ea+_0x4f307f;},'ILkgc':function(_0x3db2b3,_0x43a6a6,_0x1eb4a8){return _0x3db2b3(_0x43a6a6,_0x1eb4a8);},'sgfwV':'setup:profiles','Hlkvg':'setup:deps','HqmLJ':function(_0x530403){return _0x530403();},'rSGOh':'project','uPjxM':_0x3c514d(0x1e8),'HrXNB':_0x3c514d(0x14b),'YRTSs':'Install\x20Chromium\x20browser\x20binary','iseDj':'skills','RFNOT':_0x3c514d(0x100),'zsZeR':_0x3c514d(0x200),'NzEVj':_0x3c514d(0x147),'wWeup':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','ahlMh':_0x3c514d(0x183),'hSfJF':_0x3c514d(0x1fb),'SiHUK':'with-deps','KQkOr':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','xVIUw':'token','KdSch':_0x3c514d(0x14c),'tenNl':_0x3c514d(0x1bc),'cIHyv':'profile','RWObi':_0x3c514d(0x1ec),'HjLhu':'base-url','lCqlJ':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','rwtqI':_0x3c514d(0x116),'WBoFa':_0x3c514d(0x2a2),'aMkKk':_0x3c514d(0x1af),'PUszv':_0x3c514d(0x287),'kBLjx':'clean','SoRAB':'profile-name','zJKjJ':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','USVXv':_0x3c514d(0x238),'kkzhJ':_0x3c514d(0xdb),'zlZGp':_0x3c514d(0x1f2),'kxeEx':'cdp-endpoint','IaCnV':'safe-mode','KBLbI':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','xKBlH':_0x3c514d(0x11a),'QSoeW':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','VPwdO':function(_0x1b7bab,_0xbf70e2,_0x3f7493,_0xd5dfaf){return _0x1b7bab(_0xbf70e2,_0x3f7493,_0xd5dfaf);},'VnVkP':_0x3c514d(0x109),'PQjWm':'yes','Kpium':function(_0x2373a3,_0x4a2a7b,_0x1e1963){return _0x2373a3(_0x4a2a7b,_0x1e1963);},'nPwft':_0x3c514d(0x297),'ckGEC':_0x3c514d(0x2a0),'wzMYq':_0x3c514d(0xe8),'IyzwC':'all','bCzul':'dry-run','JeuZJ':_0x3c514d(0x23e),'ERQEQ':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','xToNG':'profile\x20migrate','LRcEa':'profile\x20encrypt-auth','GDikv':function(_0x26bb8e,_0x312b9c){return _0x26bb8e||_0x312b9c;},'GizuT':_0x3c514d(0x155),'Llqpr':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','gdLww':_0x3c514d(0x12a),'qrQoi':'profile\x20config\x20list','OMHLW':'profile\x20config\x20unset','WzdDF':_0x3c514d(0x129),'yPZqH':'profile\x20config\x20get','QIsLy':_0x3c514d(0x1ee),'Aqvgx':_0x3c514d(0x228),'MeloX':'Add\x20profile\x20configuration','nkuET':_0x3c514d(0x1ed),'sLPOK':'Delete\x20a\x20cloud\x20profile','rBvOz':'update\x20<profile-name>','IxSpL':'Update\x20authentication\x20for\x20an\x20existing\x20profile','IfqGA':'Manage\x20profile\x20configuration','haTKo':_0x3c514d(0xf0),'VnMwy':'update','tJTCS':function(_0x141511,_0x2ce7e1,_0x51d6bc){return _0x141511(_0x2ce7e1,_0x51d6bc);},'XFiqs':'print-access-token','SkSke':'notes','mtVVa':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','fEMRg':_0x3c514d(0x29b),'vWxMH':_0x3c514d(0xe0),'lGsgK':_0x3c514d(0x190),'vhxfb':'environment-variable','luNNc':_0x3c514d(0x254),'NKeeL':'verified','izmBe':_0x3c514d(0x1f3),'bpVvu':_0x3c514d(0x1fd),'RlBKs':'debug-address-comments','CpvUp':'task','ZjWWI':'item','AGPEF':function(_0x2a603a,_0x22eac4,_0x9876fe){return _0x2a603a(_0x22eac4,_0x9876fe);},'aIkKb':_0x3c514d(0x279),'oplKP':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','INCWl':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','XwSUZ':_0x3c514d(0x171),'BpEwK':_0x3c514d(0x28e),'CVRBl':function(_0x225697,_0x1e1108,_0x6c4af2){return _0x225697(_0x1e1108,_0x6c4af2);},'ZIuNw':_0x3c514d(0x192),'AjAlT':'env','bwiNs':_0x3c514d(0x262),'iMNJE':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','KyxtG':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','YdTiB':_0x3c514d(0x1e6),'crRCY':_0x3c514d(0x11e),'KrMtD':_0x3c514d(0x131),'orPwN':'env-name','MXgka':_0x3c514d(0x162),'nxUkQ':_0x3c514d(0x25d),'hJPQN':'add\x20env','EaKpo':function(_0x246fb4,_0x154975,_0x2b2a82){return _0x246fb4(_0x154975,_0x2b2a82);},'SqxHq':_0x3c514d(0x1d2),'uAuRr':function(_0x4b1dee,_0x1f90f7,_0xca517a){return _0x4b1dee(_0x1f90f7,_0xca517a);},'GdUwt':'ranger\x20config\x20get','SvOyn':function(_0x234aad,_0x5ee02b,_0x167ead){return _0x234aad(_0x5ee02b,_0x167ead);},'frfyE':function(_0x33bf89,_0x520e20,_0x4cd360){return _0x33bf89(_0x520e20,_0x4cd360);},'ZdCtj':function(_0xfacb4f,_0x523402,_0x127157){return _0xfacb4f(_0x523402,_0x127157);},'mhuUz':'config\x20list','ABVWA':'Environment\x20name','ihkJB':_0x3c514d(0x194),'SHxZF':'Config\x20key\x20to\x20remove','FFVGq':function(_0x8ba899,_0x1b75bf,_0x40b2d1){return _0x8ba899(_0x1b75bf,_0x40b2d1);},'Apqbw':_0x3c514d(0x23d),'deyof':_0x3c514d(0x248),'yrDQu':'get\x20<env>\x20<key>','hXuhs':_0x3c514d(0x1d0),'pxKmV':_0x3c514d(0x115),'fBfrK':function(_0x44cac5,_0x2eb9e2,_0x23770c){return _0x44cac5(_0x2eb9e2,_0x23770c);},'wlhXJ':_0x3c514d(0x178),'JOUFJ':function(_0x1ef9bc,_0x5f4f23,_0x4e47c5){return _0x1ef9bc(_0x5f4f23,_0x4e47c5);},'qUpSu':_0x3c514d(0x276),'heuzb':_0x3c514d(0x22c),'LaMrV':_0x3c514d(0x149),'LDgeS':function(_0x485edc,_0x334817,_0x182c00){return _0x485edc(_0x334817,_0x182c00);},'gXkDL':'feature\x20resume','neIyu':_0x3c514d(0x26c),'PxOEm':function(_0x1dea6d,_0x4fbf62,_0x331078){return _0x1dea6d(_0x4fbf62,_0x331078);},'ulEof':_0x3c514d(0x28d),'YNdIP':'ranger\x20feature\x20create','nqFlc':function(_0x4cb48a,_0xb68d3d,_0x44e838){return _0x4cb48a(_0xb68d3d,_0x44e838);},'PWdYa':'feature\x20create','XBlye':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','AzbVn':'ranger\x20get-review','KgyrC':_0x3c514d(0x299),'VgFNW':function(_0x5d7309,_0x3614cf,_0x50f312){return _0x5d7309(_0x3614cf,_0x50f312);},'fShHy':'show\x20[id]','MBmyt':'get-feedback\x20[id]','NuDiv':'delete\x20[id]','AfYbs':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','jCsst':'hook:enable','qMxdM':_0x3c514d(0x296),'SvCyb':'enable','hZFeL':_0x3c514d(0x114),'UVbEQ':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','TAlpa':function(_0x45e7f4,_0x5f4198){return _0x45e7f4(_0x5f4198);},'tysHs':function(_0x13d1a9,_0x57ccc1){return _0x13d1a9(_0x57ccc1);},'MPidU':'create\x20<name>','hlSFP':'list','gmNyd':'List\x20all\x20feature\x20reviews','BvdyI':'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','zSEET':_0x3c514d(0x1fc),'coUSx':'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','xWNUQ':_0x3c514d(0x1e5),'eDdNs':_0x3c514d(0x137),'EPWjL':'get-review\x20[id]','qrCSS':'Restore\x20a\x20soft-deleted\x20feature\x20review','yLoWD':_0x3c514d(0xfd),'kLtUG':'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','tLCyR':_0x3c514d(0x220),'EQOoa':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','Mtadh':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','CpbcF':'Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','caivY':_0x3c514d(0x19f),'HCIde':_0x3c514d(0x16c),'HkKmG':_0x3c514d(0x28b),'rTMRi':'feature','ACvXQ':_0x3c514d(0x165),'aQKVW':_0x3c514d(0x16a),'dPmIF':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','ltRid':'help'};return _0x5b835a(_0x224bad??process['argv']['slice'](0x2))[_0x3c514d(0x17d)]('ranger')[_0x3c514d(0xf8)](TOP_LEVEL_HELP)[_0x3c514d(0x256)](_0x3252da['HqmLJ'](getCurrentVersion))['command'](_0x3252da['MPidU'],'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios',_0x5c2563=>{const _0x537b46=_0x3c514d;return _0x5c2563[_0x537b46(0x127)](_0x3252da['fseBz'],{'type':_0x537b46(0x1a5),'description':_0x3252da['qrHxD'],'demandOption':!![]})['option']('description',{'type':_0x3252da[_0x537b46(0x1c6)],'alias':'d','description':_0x537b46(0x19a)})['option']('scenario',{'type':_0x3252da[_0x537b46(0x285)],'alias':'c','description':_0x3252da[_0x537b46(0x294)]})['option']('checklist',{'type':_0x3252da['iHMbO'],'hidden':!![]});},async _0x24447d=>{const _0x471b41=_0x3c514d;if(!_0x24447d[_0x471b41(0x217)]){console['error'](_0x3252da[_0x471b41(0x107)]+_0x3252da[_0x471b41(0xf1)]),process['exit'](0x1);return;}warnFlagRenamed('ranger\x20create',_0x471b41(0x263),_0x3252da['zflYv']);const _0x15ddde=_0x24447d['scenario']||_0x24447d[_0x471b41(0x11b)];await withTelemetry(_0x471b41(0x121),()=>featureCreate(_0x24447d[_0x471b41(0x217)],{'description':_0x24447d['description'],'scenarios':_0x15ddde}));})['command'](_0x3252da['hlSFP'],_0x3252da['gmNyd'],_0x565d96=>{const _0x2364f9=_0x3c514d;return _0x565d96['option'](_0x3252da[_0x2364f9(0x1ca)],{'type':_0x2364f9(0x1e4),'description':_0x2364f9(0x1bb)})['option'](_0x2364f9(0x1b4),{'type':_0x3252da[_0x2364f9(0x182)],'alias':'l','description':_0x3252da[_0x2364f9(0x275)],'default':0xa})[_0x2364f9(0x22f)]('offset',{'type':_0x2364f9(0xf2),'alias':'o','description':_0x3252da[_0x2364f9(0x16b)],'default':0x0})[_0x2364f9(0x22f)](_0x3252da['cwHna'],{'type':_0x3252da['KuQVr'],'alias':'d','description':_0x3252da['KdVWG'],'default':![]});},async _0x48a108=>{const _0xc8e2af=_0x3c514d;await _0x3252da[_0xc8e2af(0x216)](withTelemetry,'list',()=>featureList({'currentBranch':_0x48a108['current-branch'],'limit':_0x48a108[_0xc8e2af(0x1b4)],'offset':_0x48a108[_0xc8e2af(0x27d)],'includeDeleted':_0x48a108['include-deleted']}));})[_0x3c514d(0x153)](_0x3252da[_0x3c514d(0x1a1)],'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x51755b=>{const _0x1b0f88=_0x3c514d;return _0x51755b[_0x1b0f88(0x127)]('id',{'type':_0x1b0f88(0x1a5),'description':_0x3252da[_0x1b0f88(0x222)]});},async _0x29d8b1=>{await _0x3252da['tcdPQ'](withTelemetry,'show',()=>featureShow(_0x29d8b1['id']));})['command'](_0x3c514d(0x1b5),_0x3252da[_0x3c514d(0x175)],_0x275784=>{const _0x49b9e9=_0x3c514d;return _0x275784[_0x49b9e9(0x127)]('id',{'type':'string','description':_0x3252da[_0x49b9e9(0x10a)]});},async _0x4b1baf=>{await withTelemetry(_0x3252da['JEGJg'],()=>featureResume(_0x4b1baf['id']));})[_0x3c514d(0x153)](_0x3252da[_0x3c514d(0x1ba)],'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x2b5b5b=>{const _0x5ca365=_0x3c514d;return _0x2b5b5b[_0x5ca365(0x127)](_0x3252da[_0x5ca365(0x1cb)],{'type':_0x3252da['YUBcH'],'description':_0x5ca365(0x1e7),'demandOption':!![]})['option']('id',{'type':'string','description':_0x3252da[_0x5ca365(0x1bd)]});},async _0x5be003=>{await withTelemetry('add-scenario',()=>featureAddScenario(_0x5be003['description'],_0x5be003['id']));})['command']('edit-scenario\x20<description>',_0x3252da[_0x3c514d(0x1b7)],_0x2eb5b0=>{const _0x5087cd=_0x3c514d;return _0x2eb5b0[_0x5087cd(0x127)]('description',{'type':_0x3252da[_0x5087cd(0x1c6)],'description':_0x3252da[_0x5087cd(0xeb)],'demandOption':!![]})['option'](_0x3252da['hmqQN'],{'type':_0x3252da[_0x5087cd(0x182)],'description':'Scenario\x20number\x20to\x20edit\x20(1-based)','demandOption':!![]})['option']('id',{'type':_0x3252da[_0x5087cd(0x1c6)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x4d4df0=>{const _0x44618a=_0x3c514d;await _0x3252da['bVBcu'](withTelemetry,_0x3252da[_0x44618a(0x258)],()=>featureEditScenario(_0x4d4df0[_0x44618a(0x19e)],{'id':_0x4d4df0['id'],'scenario':_0x4d4df0['scenario']}));})[_0x3c514d(0x153)](_0x3252da['xWNUQ'],_0x3252da['eDdNs'],_0x5f1f6b=>{const _0x10e209=_0x3c514d;return _0x5f1f6b['positional']('id',{'type':_0x3252da['YUBcH'],'description':_0x3252da['gotuk']})[_0x10e209(0x22f)](_0x3252da[_0x10e209(0x18e)],{'type':'array','description':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'})[_0x10e209(0x22f)](_0x3252da['pmHdL'],{'type':_0x10e209(0x1e4),'description':_0x3252da['lXseP'],'default':![]});},async _0x24504d=>{const _0x16fad1=_0x3c514d,_0x177801=_0x24504d[_0x3252da['AHUip']],_0x70d4c0=_0x177801?_0x177801['map'](_0x19da65=>Number(_0x19da65)):undefined;await _0x3252da['FNmmH'](withTelemetry,_0x3252da[_0x16fad1(0xe6)],()=>featureReportPrDescription(_0x24504d['id'],{'excludeScenarios':_0x70d4c0,'json':_0x24504d[_0x16fad1(0xf5)]}));})[_0x3c514d(0x153)](_0x3252da['EPWjL'],_0x3c514d(0x292),_0x585a25=>{const _0x1094da=_0x3c514d;return _0x585a25['positional']('id',{'type':'string','description':_0x3252da[_0x1094da(0x1bd)]});},async _0xfb2483=>{await withTelemetry('get-review',()=>featureGetReview(_0xfb2483['id']));})[_0x3c514d(0x153)](_0x3252da[_0x3c514d(0xde)],_0x3c514d(0x128),_0x28b8cf=>{const _0x2e6a4d=_0x3c514d;return _0x28b8cf['positional']('id',{'type':_0x2e6a4d(0x1a5),'description':_0x3252da[_0x2e6a4d(0x222)]});},async _0x267784=>{const _0x4e534d=_0x3c514d;await withTelemetry(_0x4e534d(0x197),()=>featureDelete(_0x267784['id']));})[_0x3c514d(0x153)](_0x3c514d(0x23b),_0x3252da['qrCSS'],_0x391a54=>{const _0x3d3291=_0x3c514d;return _0x391a54[_0x3d3291(0x127)]('id',{'type':_0x3252da['YUBcH'],'description':_0x3252da[_0x3d3291(0x113)],'demandOption':!![]});},async _0x2bd360=>{const _0x38ffe9=_0x3c514d;await withTelemetry(_0x38ffe9(0x286),()=>featureRestore(_0x2bd360['id']));})['command'](_0x3252da['yLoWD'],_0x3c514d(0x169),_0x5a3c4d=>{const _0x3f4b13=_0x3c514d,_0x3ea502={'EGzOV':function(_0x3762b6,_0x2bfb07,_0x58cd09){return _0x3762b6(_0x2bfb07,_0x58cd09);},'bFzVL':_0x3252da[_0x3f4b13(0x158)],'qIspd':function(_0xf12965){const _0xfebabd=_0x3f4b13;return _0x3252da[_0xfebabd(0xdd)](_0xf12965);},'BYjyf':_0x3f4b13(0x1b1),'npARy':'scope','UlNfG':_0x3f4b13(0x1a5),'UfOcL':_0x3252da[_0x3f4b13(0x17b)],'sVOtk':_0x3252da['rSGOh'],'kwyCX':_0x3252da['uPjxM'],'TVNfD':_0x3252da['KuQVr'],'hStVc':_0x3f4b13(0x1f2),'AyKYc':_0x3252da[_0x3f4b13(0x152)],'qeyXj':_0x3f4b13(0x238),'uLeOR':'force','UGJMZ':_0x3252da[_0x3f4b13(0x148)]};return _0x5a3c4d['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')[_0x3f4b13(0x127)]('tokenOrSubcommand',{'type':_0x3f4b13(0x1a5),'description':_0x3f4b13(0x163)})[_0x3f4b13(0x153)](_0x3f4b13(0x1df),_0x3f4b13(0x150),_0x499bdc=>{const _0x572485=_0x3f4b13;return _0x499bdc[_0x572485(0x22f)](_0x572485(0x246),{'type':'string','description':_0x572485(0x1bc)})['option']('skip-chromium',{'type':_0x3252da['KuQVr'],'description':_0x3252da['CdZHF'],'default':![]})[_0x572485(0x22f)]('skip-auth',{'type':'boolean','description':'Skip\x20authentication','default':![]})[_0x572485(0x22f)](_0x572485(0x156),{'type':_0x3252da[_0x572485(0x1c8)],'description':_0x3252da[_0x572485(0xe2)],'default':![]})['option']('scope',{'type':_0x572485(0x1a5),'choices':[_0x3252da[_0x572485(0x17b)]],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x572485(0x22f)](_0x572485(0x1f2),{'type':_0x3252da['YUBcH'],'description':_0x572485(0x22d)})['option'](_0x572485(0x147),{'type':_0x3252da[_0x572485(0x1c8)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x572485(0x1e8),{'type':_0x3252da[_0x572485(0x1c8)],'description':_0x572485(0x1fa),'default':![]})['option'](_0x3252da[_0x572485(0x148)],{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]})['option'](_0x572485(0x268),{'type':_0x3252da[_0x572485(0x1c8)],'description':_0x572485(0x208),'default':![]})[_0x572485(0x22f)](_0x572485(0x244),{'type':_0x572485(0x1e4),'description':'Alias\x20for\x20--mcp-bootstrap','default':![]});},async _0x3ae11a=>{const _0x39c774=_0x3f4b13;(_0x3ae11a[_0x39c774(0x268)]||_0x3ae11a['mcp'])&&await _0x3252da['bVBcu'](withTelemetry,_0x3252da['YMpaE'],()=>mcpBootstrap()),await _0x3252da['jaQNJ'](withTelemetry,_0x3252da['MGTJe'],_0x434c08=>start(_0x3ae11a[_0x39c774(0x246)],{'skipChromium':_0x3ae11a['skip-chromium'],'skipAuth':_0x3ae11a[_0x39c774(0x238)],'withDeps':_0x3ae11a['with-deps'],'scope':_0x3ae11a[_0x39c774(0x13d)],'url':_0x3ae11a[_0x39c774(0x1f2)],'force':_0x3ae11a[_0x39c774(0x147)],'opencode':_0x3ae11a[_0x39c774(0x1e8)],'allowInsecureLocalhost':_0x3ae11a[_0x39c774(0x157)]},_0x434c08));})[_0x3f4b13(0x153)]('deps',_0x3252da[_0x3f4b13(0x154)],_0x4fd7fa=>{const _0xc0c07c=_0x3f4b13;return _0x4fd7fa[_0xc0c07c(0x22f)]('with-deps',{'type':_0xc0c07c(0x1e4),'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]});},async _0x5b6b8e=>{const _0x1568ad=_0x3f4b13;await _0x3ea502['EGzOV'](withTelemetry,_0x3ea502[_0x1568ad(0x12b)],()=>ensureChromium(_0x5b6b8e[_0x1568ad(0x156)]));})[_0x3f4b13(0x153)]('login',_0x3f4b13(0x193),_0x3070c7=>{const _0x36a65b=_0x3f4b13;return _0x3070c7['option'](_0x36a65b(0x246),{'type':'string','description':_0x3252da['MVFiq']})['option'](_0x3252da[_0x36a65b(0x11f)],{'type':_0x36a65b(0x1e4),'description':_0x3252da[_0x36a65b(0x120)],'default':![]});},async _0x1ea198=>{const _0x142f26=_0x3f4b13;await withTelemetry(_0x142f26(0x118),async()=>{const _0x1a0921=_0x142f26;if(_0x1ea198['mcp']){await _0x3ea502[_0x1a0921(0x141)](mcpBootstrap);const _0x220b0e=await refreshCliToken();if(!_0x220b0e)throw new Error(_0x3ea502['BYjyf']);const _0x421c88=await getCurrentUser(_0x220b0e);if(!_0x421c88[_0x1a0921(0xd8)])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x421c88[_0x1a0921(0xea)]);console['log']('✓\x20Authenticated\x20to\x20'+_0x421c88['user']['organizationName']);return;}await authenticate(_0x1ea198['token']);});})['command'](_0x3252da[_0x3f4b13(0x136)],'Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x5c52b5=>{const _0x25f246=_0x3f4b13;return _0x5c52b5[_0x25f246(0x22f)](_0x3ea502[_0x25f246(0x133)],{'type':_0x3ea502[_0x25f246(0x14d)],'choices':[_0x3ea502[_0x25f246(0xda)],_0x3ea502['sVOtk']],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})[_0x25f246(0x22f)](_0x3ea502[_0x25f246(0x206)],{'type':_0x3ea502[_0x25f246(0x1d1)],'description':_0x25f246(0x1fa),'default':![]});},async _0xb8e22e=>{const _0x27f10a=_0x3f4b13,_0x71a4c8={'nzQTT':function(_0xc2d332,_0x41a01d){return _0xc2d332(_0x41a01d);}};await withTelemetry(_0x3252da[_0x27f10a(0x1fe)],async()=>{const _0x7fa66d=_0x27f10a,_0x5e479c=_0xb8e22e[_0x7fa66d(0x13d)];if(_0xb8e22e['opencode']){const _0x1c1aa8=await ensureOpencodePluginConfig(_0x5e479c);_0x1c1aa8&&await installSkill(_0x7fa66d(0x161),{'level':_0x1c1aa8['scope'],'cliVersion':getCurrentVersion(),'platform':'opencode'});}else await ensureClaudePlugin(_0x5e479c),await _0x71a4c8[_0x7fa66d(0xd6)](ensureClaudeSkills,_0x5e479c);});})['command'](_0x3252da[_0x3f4b13(0x15c)],_0x3252da[_0x3f4b13(0x201)],_0x1fc115=>{const _0x52ac73=_0x3f4b13;return _0x1fc115[_0x52ac73(0x22f)](_0x52ac73(0x13d),{'type':_0x3ea502['UlNfG'],'choices':[_0x3ea502[_0x52ac73(0xda)]],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x52ac73(0x22f)](_0x3ea502[_0x52ac73(0x1e0)],{'type':'string','description':_0x3ea502[_0x52ac73(0x278)]})['option'](_0x3ea502['qeyXj'],{'type':_0x3ea502['TVNfD'],'description':_0x52ac73(0x10b),'default':![]})['option'](_0x3ea502['uLeOR'],{'type':_0x3ea502['TVNfD'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x3ea502['UGJMZ'],{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x3e54dd=>{const _0x234907=_0x3f4b13,_0x199cb9=_0x3e54dd[_0x234907(0x13d)];_0x199cb9!==undefined&&_0x3252da['apwDK'](_0x199cb9,_0x3252da['pzbqU'])&&(console['error'](_0x3252da[_0x234907(0x1f4)](_0x3252da[_0x234907(0x174)](_0x234907(0x17f)+_0x199cb9+'\x20is\x20no\x20longer\x20supported.\x20',_0x234907(0x1f1)),_0x234907(0x167))),process[_0x234907(0x17c)](0x1)),await _0x3252da[_0x234907(0x146)](withTelemetry,_0x3252da['sgfwV'],_0x2fab17=>ensureLocalEnv({'url':_0x3e54dd[_0x234907(0x1f2)],'force':_0x3e54dd[_0x234907(0x147)],'allowInsecureLocalhost':_0x3e54dd[_0x234907(0x157)],'scope':_0x234907(0x143)},_0x2fab17));})[_0x3f4b13(0x22f)]('skip-chromium',{'type':'boolean','description':_0x3252da['CdZHF'],'default':![]})[_0x3f4b13(0x22f)](_0x3f4b13(0x13d),{'type':_0x3252da['YUBcH'],'choices':['user'],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x3f4b13(0x22f)]('url',{'type':'string','description':_0x3f4b13(0x111)})['option'](_0x3252da[_0x3f4b13(0x293)],{'type':_0x3f4b13(0x1e4),'description':_0x3f4b13(0x17a),'default':![]})[_0x3f4b13(0x22f)](_0x3252da[_0x3f4b13(0x1c3)],{'type':'boolean','description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})['option'](_0x3f4b13(0x157),{'type':_0x3252da[_0x3f4b13(0x1c8)],'description':_0x3252da[_0x3f4b13(0x103)],'default':![]})[_0x3f4b13(0x22f)](_0x3252da[_0x3f4b13(0x284)],{'type':_0x3f4b13(0x1e4),'description':_0x3252da[_0x3f4b13(0x196)],'default':![]})[_0x3f4b13(0x22f)](_0x3f4b13(0x238),{'type':'boolean','description':_0x3252da[_0x3f4b13(0x106)],'default':![]})[_0x3f4b13(0x22f)](_0x3252da['SiHUK'],{'type':_0x3f4b13(0x1e4),'description':_0x3252da[_0x3f4b13(0x13f)],'default':![]})['option'](_0x3252da[_0x3f4b13(0x1d8)],{'type':_0x3252da['YUBcH'],'hidden':!![],'description':_0x3252da[_0x3f4b13(0x184)]});},async _0x4093ad=>{const _0x372936=_0x3c514d,_0x409a84=_0x4093ad['tokenOrSubcommand'],_0xf5f05c=_0x4093ad[_0x372936(0x246)]??_0x409a84;_0x4093ad[_0x3252da[_0x372936(0x284)]]&&await withTelemetry(_0x3252da['YMpaE'],()=>mcpBootstrap()),await _0x3252da['ILkgc'](withTelemetry,'start',_0x50e0b3=>start(_0xf5f05c,{'skipChromium':_0x4093ad[_0x372936(0x260)],'skipAuth':_0x4093ad['skip-auth'],'withDeps':_0x4093ad['with-deps'],'scope':_0x4093ad['scope'],'url':_0x4093ad['url'],'force':_0x4093ad['force'],'opencode':_0x4093ad['opencode'],'allowInsecureLocalhost':_0x4093ad['allow-insecure-localhost']},_0x50e0b3));})['command'](_0x3c514d(0x280),![],_0x4f30a5=>{const _0x5a4e04=_0x3c514d;return _0x4f30a5[_0x5a4e04(0x127)](_0x5a4e04(0x246),{'type':_0x5a4e04(0x1a5),'description':_0x3252da[_0x5a4e04(0x1e2)],'demandOption':!![]})[_0x5a4e04(0x22f)](_0x3252da[_0x5a4e04(0x1e1)],{'type':_0x3252da[_0x5a4e04(0x1c6)],'description':_0x3252da[_0x5a4e04(0x225)]})['option'](_0x3252da[_0x5a4e04(0x124)],{'type':'string','description':_0x3252da[_0x5a4e04(0x290)]})['option'](_0x5a4e04(0x260),{'type':_0x3252da[_0x5a4e04(0x1c8)],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x4d3799=>{const _0x34401b=_0x3c514d;await withTelemetry(_0x3252da[_0x34401b(0x259)],_0xaabe33=>setupCi(_0x4d3799[_0x34401b(0x246)],{'profile':_0x4d3799[_0x34401b(0x226)],'baseUrl':_0x4d3799[_0x34401b(0x198)],'skipChromium':_0x4d3799[_0x34401b(0x260)]},_0xaabe33));})[_0x3c514d(0x153)](_0x3252da[_0x3c514d(0x24e)],_0x3252da['kLtUG'],()=>{},async()=>{const _0x1c35ce=_0x3c514d;await _0x3252da['ILkgc'](withTelemetry,_0x3252da[_0x1c35ce(0x24e)],()=>login());})['command'](_0x3252da[_0x3c514d(0x1ef)],'Install\x20Ranger\x20skills',_0x30ff24=>{const _0x56596c=_0x3c514d;return _0x30ff24[_0x56596c(0x22f)](_0x56596c(0x1e8),{'type':_0x3252da['KuQVr'],'description':_0x3252da['aMkKk'],'default':![]})['option']('scope',{'type':_0x3252da['YUBcH'],'choices':['user',_0x56596c(0x159)],'description':_0x3252da['PUszv']});},async _0x273c7d=>{const _0x557e8e=_0x3c514d,_0x351984=Boolean(_0x273c7d['opencode']);await withTelemetry(_0x557e8e(0x220),()=>skillup({'autoInstall':_0x273c7d['scope'],'platform':_0x351984?'opencode':'claude'}));})['command'](_0x3252da[_0x3c514d(0x21b)],'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{const _0xabde2c=_0x3c514d;await withTelemetry(_0x3252da[_0xabde2c(0x21b)],()=>clean());})['command']([_0x3252da['cIHyv'],_0x3252da['RFNOT']],_0x3c514d(0x210),_0x41b929=>{const _0x4a9193=_0x3c514d,_0x120b31={'okuqK':function(_0x1c4d1f,_0x5e56a3,_0x38f2dc){return _0x1c4d1f(_0x5e56a3,_0x38f2dc);},'IyAnb':_0x3252da[_0x4a9193(0x1c6)],'oWFOK':'Profile\x20name','xqoZF':_0x3252da['LRcEa'],'ywtYU':_0x4a9193(0xfe),'zRACj':function(_0x39fa68,_0x4e99e8){const _0x38b4d0=_0x4a9193;return _0x3252da[_0x38b4d0(0x125)](_0x39fa68,_0x4e99e8);},'uEioX':_0x3252da[_0x4a9193(0x247)],'GpFFP':'not_configured','QAScq':function(_0x2108af,_0x45e44e){return _0x2108af===_0x45e44e;},'IAXBJ':'unknown\x20error','dpXjv':_0x3252da[_0x4a9193(0x1b3)],'gVRWF':'value','GOJum':_0x3252da[_0x4a9193(0x281)],'gRnbC':_0x3252da[_0x4a9193(0x195)],'CEaJL':'Config\x20key\x20to\x20remove','iAOwr':_0x3252da[_0x4a9193(0x20f)],'QnwHT':function(_0xb81ff2,_0x2a714a,_0x35f7b8){return _0xb81ff2(_0x2a714a,_0x35f7b8);},'wPoWw':_0x3252da[_0x4a9193(0x25c)],'BAnuv':function(_0x1a96a9,_0x403c87,_0x53c344){return _0x1a96a9(_0x403c87,_0x53c344);},'eEFdF':_0x3252da[_0x4a9193(0x151)],'lkCeV':_0x3252da['QIsLy'],'lyYdF':_0x3252da['Aqvgx'],'wozMo':_0x4a9193(0x1d7),'bBjPg':'reset\x20<profile>'};return _0x41b929[_0x4a9193(0xf8)](PROFILE_HELP)[_0x4a9193(0x153)](_0x4a9193(0x29e),_0x3252da['MeloX'],_0x49d852=>{const _0x3043b7=_0x4a9193;return _0x49d852[_0x3043b7(0x127)](_0x3252da[_0x3043b7(0x1aa)],{'type':_0x3043b7(0x1a5),'description':_0x3252da[_0x3043b7(0x14e)],'demandOption':!![]})[_0x3043b7(0x22f)]('ci',{'type':_0x3252da['KuQVr'],'hidden':!![],'default':![]})[_0x3043b7(0x22f)](_0x3252da[_0x3043b7(0x269)],{'type':'boolean','description':_0x3252da[_0x3043b7(0x231)],'default':![]})[_0x3043b7(0x22f)](_0x3252da['zlZGp'],{'type':_0x3252da[_0x3043b7(0x1c6)],'description':_0x3043b7(0x134)})['option'](_0x3043b7(0x147),{'type':_0x3252da['KuQVr'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x3043b7(0x22f)](_0x3252da[_0x3043b7(0x1b0)],{'type':_0x3252da['YUBcH'],'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})[_0x3043b7(0x22f)](_0x3043b7(0x157),{'type':_0x3252da[_0x3043b7(0x1c8)],'description':_0x3252da[_0x3043b7(0x103)],'default':![]})[_0x3043b7(0x22f)](_0x3252da[_0x3043b7(0x245)],{'type':_0x3252da['KuQVr'],'description':_0x3252da['KBLbI'],'default':![]})[_0x3043b7(0x22f)](_0x3252da[_0x3043b7(0x235)],{'type':_0x3252da[_0x3043b7(0x1c6)],'array':!![],'description':_0x3043b7(0xe1)})['option'](_0x3043b7(0x13d),{'type':_0x3043b7(0x1a5),'choices':['user',_0x3043b7(0x159)],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})[_0x3043b7(0x22f)]('yes',{'type':_0x3043b7(0x1e4),'alias':'y','description':_0x3252da[_0x3043b7(0x27e)],'default':![]});},async _0x4aadd4=>{const _0x293add=_0x4a9193;await _0x3252da[_0x293add(0x1bf)](withTelemetry,_0x3252da['VnVkP'],_0x5e4632=>addEnv(_0x4aadd4[_0x293add(0x25e)],{'ci':_0x4aadd4['ci'],'skipAuth':_0x4aadd4['skip-auth'],'url':_0x4aadd4['url'],'force':_0x4aadd4['force'],'cdpEndpoint':_0x4aadd4[_0x293add(0x16d)],'allowInsecureLocalhost':_0x4aadd4[_0x293add(0x157)],'safeMode':_0x4aadd4['safe-mode'],'setupHeader':_0x4aadd4[_0x293add(0x11a)],'scope':_0x4aadd4[_0x293add(0x13d)],'yes':_0x4aadd4['yes']},_0x5e4632),{'isElectron':Boolean(_0x4aadd4[_0x3252da['kxeEx']])});})[_0x4a9193(0x153)](_0x3252da[_0x4a9193(0xee)],'Switch\x20to\x20using\x20a\x20specific\x20profile',_0x5a9215=>{const _0x590645=_0x4a9193;return _0x5a9215['positional']('profile-name',{'type':_0x3252da[_0x590645(0x1c6)],'description':_0x590645(0x173),'demandOption':!![]});},async _0x26c0d1=>{const _0x3bb2e1=_0x4a9193;await _0x120b31['okuqK'](withTelemetry,_0x3bb2e1(0x10e),()=>useEnv(_0x26c0d1['profile-name']));})['command'](_0x4a9193(0x27a),_0x3252da['sLPOK'],_0x5edcaf=>{const _0x1e2d80=_0x4a9193;return _0x5edcaf['positional'](_0x3252da[_0x1e2d80(0x1aa)],{'type':_0x3252da['YUBcH'],'description':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','demandOption':!![]})['option'](_0x3252da['PQjWm'],{'type':_0x3252da[_0x1e2d80(0x1c8)],'alias':'y','description':_0x1e2d80(0x202),'default':![]});},async _0x186e3d=>{const _0x552909=_0x4a9193;await _0x3252da['Kpium'](withTelemetry,_0x3252da[_0x552909(0xf3)],()=>deleteProfile(_0x186e3d['profile-name'],{'yes':_0x186e3d['yes']}));})[_0x4a9193(0x153)](_0x4a9193(0x110),![],_0x84fe7a=>{const _0x9685be=_0x4a9193;return _0x84fe7a[_0x9685be(0x127)]('profile',{'type':_0x120b31[_0x9685be(0x122)],'description':_0x120b31['oWFOK'],'demandOption':!![]});},async _0x18a8da=>{const _0x300ee3=_0x4a9193;await withTelemetry(_0x120b31['xqoZF'],()=>authEncrypt(_0x18a8da[_0x300ee3(0x226)]));})[_0x4a9193(0x153)]('ls',_0x4a9193(0x108),()=>{},async()=>{const _0x5e6496=_0x4a9193;await _0x120b31[_0x5e6496(0x180)](withTelemetry,_0x120b31['ywtYU'],()=>envList());})['command'](_0x3252da[_0x4a9193(0x209)],_0x3252da[_0x4a9193(0x164)],_0x22e4fc=>{const _0x1613b9=_0x4a9193;return _0x22e4fc[_0x1613b9(0x127)](_0x3252da[_0x1613b9(0x1aa)],{'type':_0x3252da[_0x1613b9(0x1c6)],'description':'Name\x20of\x20the\x20profile\x20to\x20update','demandOption':!![]})['option'](_0x3252da[_0x1613b9(0x148)],{'type':_0x1613b9(0x1e4),'description':_0x1613b9(0x144)});},async _0x58751b=>{const _0x17051f=_0x4a9193;await _0x3252da[_0x17051f(0x146)](withTelemetry,_0x3252da[_0x17051f(0x270)],_0x3657e1=>updateEnv(_0x58751b['profile-name'],_0x3657e1,{'allowInsecureLocalhost':_0x58751b['allow-insecure-localhost']}));})[_0x4a9193(0x153)]('login\x20<name>',![],_0x2c5956=>{const _0x4f61ff=_0x4a9193;return _0x2c5956[_0x4f61ff(0x127)](_0x3252da[_0x4f61ff(0xdc)],{'type':_0x3252da[_0x4f61ff(0x1c6)],'description':_0x3252da['wzMYq'],'demandOption':!![]});},async _0x11e07a=>{const _0x12b711=_0x4a9193;await withTelemetry(_0x12b711(0x119),async()=>{const _0x5ac3de=_0x12b711,_0x1fe434=process['env']['RANGER_TEST_USERNAME'],_0x574341=process[_0x5ac3de(0x251)]['RANGER_TEST_PASSWORD'];_0x120b31[_0x5ac3de(0x1f8)](!_0x1fe434,!_0x574341)&&(console[_0x5ac3de(0xea)](_0x120b31[_0x5ac3de(0x11c)]),process['exit'](0x1));const _0x5b588a=_0x11e07a[_0x5ac3de(0x217)],_0x46abfd=await serverSideLogin(_0x5b588a,{'force':!![]});_0x46abfd[_0x5ac3de(0x139)]===_0x120b31[_0x5ac3de(0x1db)]&&(console['error'](_0x5ac3de(0x26b)),process['exit'](0x1)),_0x120b31['QAScq'](_0x46abfd['status'],'failed')&&(console[_0x5ac3de(0xea)](_0x5ac3de(0xfa)+(_0x46abfd['error']??_0x120b31[_0x5ac3de(0x140)])),_0x46abfd[_0x5ac3de(0x223)]&&console['error'](_0x46abfd['test_output']),process['exit'](0x1)),console[_0x5ac3de(0x12c)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x5b588a+_0x5ac3de(0x2a1));});})['command'](_0x4a9193(0x23a),![],_0x4ba615=>{const _0x58d928=_0x4a9193;return _0x4ba615['positional'](_0x3252da['SoRAB'],{'type':_0x3252da[_0x58d928(0x1c6)],'description':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.'})['option'](_0x3252da[_0x58d928(0x282)],{'type':_0x3252da['KuQVr'],'description':_0x58d928(0x205),'default':![]})[_0x58d928(0x22f)](_0x3252da[_0x58d928(0x29f)],{'type':_0x58d928(0x1e4),'description':_0x58d928(0x264),'default':![]})[_0x58d928(0x22f)](_0x3252da['PQjWm'],{'type':_0x58d928(0x1e4),'alias':'y','description':_0x3252da[_0x58d928(0x203)],'default':![]})['option'](_0x58d928(0x2a3),{'type':_0x3252da[_0x58d928(0x1c8)],'description':_0x3252da[_0x58d928(0x15a)],'default':![]});},async _0x4a26f8=>{const _0x2e7945=_0x4a9193;await _0x3252da['jaQNJ'](withTelemetry,_0x3252da['xToNG'],_0x5ec763=>migrateProfile({'profileName':_0x4a26f8[_0x2e7945(0x25e)],'all':_0x4a26f8['all'],'dryRun':_0x4a26f8['dry-run'],'yes':_0x4a26f8['yes'],'saveCreds':_0x4a26f8[_0x2e7945(0x2a3)]},_0x5ec763));})['command'](_0x4a9193(0x28b),_0x3252da[_0x4a9193(0x22b)],_0xe7eed1=>{const _0x167370=_0x4a9193,_0x39ba22={'XzDVs':_0x167370(0x226),'nUszl':'string','FyLjZ':'key','CjAWj':function(_0x90ae21,_0x377ebd,_0xda96e3){return _0x120b31['BAnuv'](_0x90ae21,_0x377ebd,_0xda96e3);},'ueYlS':_0x120b31['eEFdF'],'ZkjsP':_0x167370(0x19b)};return _0xe7eed1[_0x167370(0xf8)](PROFILE_CONFIG_HELP)[_0x167370(0x153)]('set\x20<profile>\x20<key>\x20<value>',_0x120b31['lkCeV'],_0x9f4129=>{const _0x25b3ef=_0x167370;return _0x9f4129['positional']('profile',{'type':_0x120b31['IyAnb'],'description':'Profile\x20name','demandOption':!![]})[_0x25b3ef(0x127)](_0x25b3ef(0x194),{'type':_0x120b31['IyAnb'],'description':_0x120b31['dpXjv'],'demandOption':!![]})[_0x25b3ef(0x127)](_0x120b31['gVRWF'],{'type':_0x120b31['IyAnb'],'description':_0x120b31[_0x25b3ef(0x27b)],'demandOption':!![]});},async _0x29c09d=>{await withTelemetry('profile\x20config\x20set',()=>configSet(_0x29c09d['profile'],_0x29c09d['key'],_0x29c09d['value']));})['command'](_0x167370(0x104),'Get\x20a\x20config\x20value',_0x53a1f8=>{const _0x19b431=_0x167370;return _0x53a1f8[_0x19b431(0x127)](_0x39ba22['XzDVs'],{'type':_0x39ba22['nUszl'],'description':_0x19b431(0x19b),'demandOption':!![]})[_0x19b431(0x127)](_0x39ba22['FyLjZ'],{'type':_0x39ba22['nUszl'],'description':_0x19b431(0x248),'demandOption':!![]});},async _0x4e9457=>{const _0x55fca8=_0x167370;await _0x39ba22['CjAWj'](withTelemetry,_0x39ba22['ueYlS'],()=>configGet(_0x4e9457[_0x55fca8(0x226)],_0x4e9457['key']));})['command'](_0x120b31[_0x167370(0x14f)],'List\x20all\x20config\x20for\x20a\x20profile',_0x28b9ba=>{const _0x162824=_0x167370;return _0x28b9ba[_0x162824(0x127)](_0x39ba22['XzDVs'],{'type':'string','description':_0x39ba22['ZkjsP'],'demandOption':!![]});},async _0x3da1dc=>{const _0x2c4441=_0x167370;await withTelemetry(_0x120b31[_0x2c4441(0x21d)],()=>configList(_0x3da1dc[_0x2c4441(0x226)]));})['command'](_0x120b31['wozMo'],'Remove\x20a\x20config\x20value',_0x51460c=>{const _0x279973=_0x167370;return _0x51460c[_0x279973(0x127)]('profile',{'type':_0x279973(0x1a5),'description':_0x120b31[_0x279973(0x224)],'demandOption':!![]})['positional'](_0x279973(0x194),{'type':'string','description':_0x120b31[_0x279973(0x241)],'demandOption':!![]});},async _0x16ee5f=>{const _0x5e1551=_0x167370;await _0x120b31['okuqK'](withTelemetry,_0x120b31[_0x5e1551(0x26a)],()=>configUnset(_0x16ee5f['profile'],_0x16ee5f[_0x5e1551(0x194)]));})['command'](_0x120b31[_0x167370(0x250)],_0x167370(0xf9),_0x428fdf=>{const _0x273754=_0x167370;return _0x428fdf[_0x273754(0x127)](_0x39ba22[_0x273754(0x24d)],{'type':_0x273754(0x1a5),'description':_0x273754(0x19b),'demandOption':!![]});},async _0x573d2d=>{const _0x35e62f=_0x167370;await _0x120b31['QnwHT'](withTelemetry,_0x120b31[_0x35e62f(0x12e)],()=>configReset(_0x573d2d[_0x35e62f(0x226)]));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})['demandCommand'](0x1,_0x3252da['haTKo']);})['command']('status',_0x3252da['EQOoa'],()=>{},async()=>{const _0x37e940=_0x3c514d;await _0x3252da[_0x37e940(0x21f)](withTelemetry,'status',()=>status());})['command'](_0x3c514d(0x10d),_0x3252da[_0x3c514d(0xf6)],()=>{},async()=>{await withTelemetry(_0x3252da['VnMwy'],()=>update());})[_0x3c514d(0x153)](_0x3252da[_0x3c514d(0x1dd)],'Print\x20the\x20current\x20CLI\x20access\x20token',()=>{},async()=>{const _0x122d41=_0x3c514d;await _0x3252da[_0x122d41(0xef)](withTelemetry,_0x3252da['XFiqs'],async()=>{const _0x1e6a68=_0x122d41,_0x13f6aa=await getToken();if(!_0x13f6aa)throw new Error('No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.');console[_0x1e6a68(0x12c)](_0x13f6aa);});})['command']('go',_0x3252da[_0x3c514d(0x267)],_0x2f30cc=>{const _0x9d0254=_0x3c514d;return _0x2f30cc['option'](_0x9d0254(0x170),{'type':_0x3252da['YUBcH'],'description':'Optional\x20feature\x20ID'})['option'](_0x3252da['cIHyv'],{'type':_0x3252da['YUBcH'],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)'})['option'](_0x3252da['SkSke'],{'type':'string','description':_0x3252da[_0x9d0254(0x101)]})['option'](_0x3252da['hmqQN'],{'type':'number','description':_0x9d0254(0x135)})[_0x9d0254(0x22f)](_0x3252da[_0x9d0254(0x25f)],{'type':_0x3252da[_0x9d0254(0x1c6)],'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})['option'](_0x3252da[_0x9d0254(0x124)],{'type':_0x3252da[_0x9d0254(0x1c6)],'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x9d0254(0x22f)](_0x3252da[_0x9d0254(0x253)],{'type':_0x3252da[_0x9d0254(0x1c6)],'description':'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.'})['option']('headed',{'type':'boolean','description':_0x3252da['lGsgK'],'default':![]})[_0x9d0254(0x22f)]('env-var',{'type':_0x3252da[_0x9d0254(0x1c6)],'array':!![],'alias':_0x3252da['vhxfb'],'description':_0x3252da['luNNc']})['option'](_0x9d0254(0x25b),{'type':_0x3252da[_0x9d0254(0x1c6)],'hidden':!![],'choices':[_0x3252da[_0x9d0254(0x1f9)],_0x3252da[_0x9d0254(0x18f)],'blocked',_0x3252da['bpVvu'],_0x9d0254(0x131)]})['option'](_0x3252da[_0x9d0254(0x1d5)],{'type':_0x3252da[_0x9d0254(0x1c8)],'hidden':!![]})[_0x9d0254(0x22f)](_0x9d0254(0x251),{'type':_0x9d0254(0x1a5),'hidden':!![]})[_0x9d0254(0x22f)](_0x3252da[_0x9d0254(0x1c0)],{'type':_0x9d0254(0x1a5),'hidden':!![]})[_0x9d0254(0x22f)](_0x3252da['ZjWWI'],{'type':_0x3252da[_0x9d0254(0x182)],'hidden':!![]});},async _0x488abd=>{await runGoCommand(_0x488abd);})[_0x3c514d(0x153)](_0x3252da[_0x3c514d(0x13c)],![],_0x3cc8c2=>{const _0xfc08da=_0x3c514d,_0xc69010={'PUesc':function(_0x18d2ec,_0x4acf10,_0x4d237c){return _0x3252da['AGPEF'](_0x18d2ec,_0x4acf10,_0x4d237c);},'jgsCA':_0xfc08da(0x214),'JRuTE':'ranger\x20profile\x20encrypt-auth'};return _0x3cc8c2[_0xfc08da(0x153)](_0x3252da[_0xfc08da(0x213)],![],_0x2dd746=>{const _0x14a8bd=_0xfc08da;return _0x2dd746['positional']('profile',{'type':'string','description':_0x14a8bd(0x19b),'demandOption':!![]});},async _0x5e2337=>{const _0xe50f7e=_0xfc08da;_0xc69010[_0xe50f7e(0x257)](warnRenamed,_0xc69010['jgsCA'],_0xc69010['JRuTE']),await authEncrypt(_0x5e2337['profile']);})[_0xfc08da(0x187)](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command']('start\x20[token]',![],_0xddb11e=>{const _0x43d110=_0x3c514d;return _0xddb11e[_0x43d110(0x127)](_0x3252da[_0x43d110(0x1d8)],{'type':'string','description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})['option']('skip-chromium',{'type':_0x43d110(0x1e4),'description':_0x3252da[_0x43d110(0x1a7)],'default':![]})['option'](_0x43d110(0x13d),{'type':_0x3252da['YUBcH'],'choices':[_0x3252da['pzbqU']],'hidden':!![],'description':_0x3252da[_0x43d110(0x15e)]})[_0x43d110(0x22f)]('url',{'type':'string','description':_0x3252da['INCWl']})[_0x43d110(0x22f)]('force',{'type':_0x3252da[_0x43d110(0x1c8)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x43d110(0x22f)](_0x43d110(0x238),{'type':'boolean','description':_0x43d110(0x15f),'default':![]})[_0x43d110(0x22f)](_0x3252da[_0x43d110(0x277)],{'type':_0x3252da[_0x43d110(0x1c8)],'description':_0x3252da['sRaJB'],'default':![]});},async _0xb23f13=>{const _0x3e5251=_0x3c514d;warnRenamed(_0x3252da['XwSUZ'],_0x3252da['BpEwK']),await _0x3252da[_0x3e5251(0x1b6)](withTelemetry,_0x3252da['ZIuNw'],_0xbda588=>start(_0xb23f13[_0x3e5251(0x246)],{'skipChromium':_0xb23f13['skip-chromium'],'skipAuth':_0xb23f13[_0x3e5251(0x238)],'withDeps':_0xb23f13['with-deps'],'scope':_0xb23f13[_0x3e5251(0x13d)],'url':_0xb23f13[_0x3e5251(0x1f2)],'force':_0xb23f13['force']},_0xbda588));})[_0x3c514d(0x153)](_0x3252da[_0x3c514d(0x273)],![],_0x245d6f=>{const _0x2d204b=_0x3c514d;return _0x245d6f[_0x2d204b(0x22f)](_0x3252da[_0x2d204b(0x179)],{'type':_0x3252da[_0x2d204b(0x1c6)],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0x2d204b(0x22f)](_0x3252da[_0x2d204b(0x1c0)],{'type':_0x2d204b(0x1a5),'description':_0x3252da[_0x2d204b(0x1da)]})['option'](_0x3252da[_0x2d204b(0xed)],{'type':_0x3252da['Hfyfs'],'description':_0x2d204b(0x135)})['option'](_0x2d204b(0x226),{'type':'string','hidden':!![]})['option']('notes',{'type':_0x2d204b(0x1a5),'hidden':!![]})['option']('scenario',{'type':_0x2d204b(0xf2),'hidden':!![]})['option'](_0x3252da['fEMRg'],{'type':_0x2d204b(0x1a5),'description':_0x3252da['iMNJE']})[_0x2d204b(0x22f)](_0x3252da['HjLhu'],{'type':_0x3252da['YUBcH'],'description':_0x3252da[_0x2d204b(0x26e)]})[_0x2d204b(0x22f)]('model',{'type':_0x2d204b(0x1a5),'hidden':!![]})[_0x2d204b(0x22f)](_0x3252da[_0x2d204b(0x112)],{'type':_0x2d204b(0x1e4),'hidden':!![],'default':![]})[_0x2d204b(0x22f)]('env-var',{'type':_0x3252da[_0x2d204b(0x1c6)],'array':!![],'alias':_0x3252da[_0x2d204b(0x18b)],'hidden':!![]})[_0x2d204b(0x22f)]('debug-outcome',{'type':_0x3252da[_0x2d204b(0x1c6)],'hidden':!![],'choices':[_0x2d204b(0x10c),_0x3252da[_0x2d204b(0x18f)],_0x3252da['crRCY'],_0x3252da['bpVvu'],_0x3252da['KrMtD']]});},async _0x1df103=>{await _0x3252da['CVRBl'](runGoCommand,_0x1df103,!![]);})[_0x3c514d(0x153)]('add\x20env\x20<env-name>',![],_0x8c5e57=>{const _0x29096f=_0x3c514d;return _0x8c5e57['positional'](_0x3252da[_0x29096f(0x28f)],{'type':_0x29096f(0x1a5),'description':_0x3252da[_0x29096f(0x17e)],'demandOption':!![]})[_0x29096f(0x22f)]('ci',{'type':'boolean','description':_0x3252da['nxUkQ'],'default':![]})[_0x29096f(0x22f)](_0x3252da['USVXv'],{'type':_0x29096f(0x1e4),'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]});},async _0x16a36e=>{const _0x4cbd44=_0x3c514d;warnRenamed(_0x4cbd44(0x181),_0x4cbd44(0xd9)),await _0x3252da[_0x4cbd44(0x176)](withTelemetry,_0x3252da['hJPQN'],_0x4644bc=>addEnv(_0x16a36e[_0x4cbd44(0x20c)],{'ci':_0x16a36e['ci'],'skipAuth':_0x16a36e['skip-auth']},_0x4644bc));})[_0x3c514d(0x153)](_0x3c514d(0x1d9),![],_0x1fd684=>{const _0x2131dc=_0x3c514d;return _0x1fd684['positional'](_0x3252da[_0x2131dc(0x28f)],{'type':_0x3252da[_0x2131dc(0x1c6)],'description':_0x2131dc(0x24b),'demandOption':!![]});},async _0x6af533=>{const _0x513457=_0x3c514d;_0x3252da['EaKpo'](warnRenamed,_0x513457(0x15d),'ranger\x20profile\x20use'),await _0x3252da[_0x513457(0x295)](withTelemetry,'use',()=>useEnv(_0x6af533['env-name']));})['command'](_0x3252da['HkKmG'],![],_0x59a2d9=>{const _0x2810d2=_0x3c514d,_0x4ae41c={'tUokD':'env','epeZp':_0x3252da['ABVWA'],'aDDQv':_0x2810d2(0x1a5),'YsjNN':_0x3252da['gdLww'],'KlVoH':'key','tbUBf':_0x3252da[_0x2810d2(0x1d4)]};return _0x59a2d9[_0x2810d2(0x153)](_0x2810d2(0x1ff),![],_0x135dac=>{const _0x23c246=_0x2810d2;return _0x135dac[_0x23c246(0x127)](_0x4ae41c[_0x23c246(0x291)],{'type':'string','description':_0x4ae41c['epeZp'],'demandOption':!![]})[_0x23c246(0x127)]('key',{'type':_0x4ae41c['aDDQv'],'description':_0x23c246(0x1ea),'demandOption':!![]})[_0x23c246(0x127)]('value',{'type':_0x23c246(0x1a5),'description':_0x4ae41c[_0x23c246(0x1cc)],'demandOption':!![]});},async _0x5d2567=>{const _0x58eac1=_0x2810d2;warnRenamed(_0x58eac1(0x13b),_0x58eac1(0x239)),await withTelemetry(_0x3252da['SqxHq'],()=>configSet(_0x5d2567[_0x58eac1(0x251)],_0x5d2567[_0x58eac1(0x194)],_0x5d2567['value']));})[_0x2810d2(0x153)](_0x3252da['yrDQu'],![],_0x3bdaf8=>{const _0x39c681=_0x2810d2;return _0x3bdaf8['positional'](_0x4ae41c['tUokD'],{'type':'string','description':_0x4ae41c['epeZp'],'demandOption':!![]})[_0x39c681(0x127)](_0x4ae41c['KlVoH'],{'type':'string','description':_0x4ae41c['tbUBf'],'demandOption':!![]});},async _0x4e979b=>{const _0x13d9c3=_0x2810d2;_0x3252da[_0x13d9c3(0x283)](warnRenamed,_0x3252da['GdUwt'],'ranger\x20profile\x20config\x20get'),await _0x3252da[_0x13d9c3(0xd5)](withTelemetry,'config\x20get',()=>configGet(_0x4e979b['env'],_0x4e979b['key']));})[_0x2810d2(0x153)](_0x3252da[_0x2810d2(0x1be)],![],_0x1e0136=>{const _0x13a4d2=_0x2810d2;return _0x1e0136[_0x13a4d2(0x127)](_0x3252da[_0x13a4d2(0x179)],{'type':_0x3252da[_0x13a4d2(0x1c6)],'description':_0x13a4d2(0x1b2),'demandOption':!![]});},async _0x4bbd73=>{const _0x29d72d=_0x2810d2;_0x3252da[_0x29d72d(0x1e9)](warnRenamed,'ranger\x20config\x20list','ranger\x20profile\x20config\x20list'),await _0x3252da[_0x29d72d(0x138)](withTelemetry,_0x3252da['mhuUz'],()=>configList(_0x4bbd73[_0x29d72d(0x251)]));})['command']('unset\x20<env>\x20<key>',![],_0x3cbfc9=>{const _0x27aa17=_0x2810d2;return _0x3cbfc9['positional'](_0x3252da[_0x27aa17(0x179)],{'type':_0x3252da[_0x27aa17(0x1c6)],'description':_0x3252da[_0x27aa17(0x229)],'demandOption':!![]})[_0x27aa17(0x127)](_0x3252da[_0x27aa17(0x255)],{'type':_0x3252da[_0x27aa17(0x1c6)],'description':_0x3252da[_0x27aa17(0x26d)],'demandOption':!![]});},async _0x1b751d=>{const _0x447be0=_0x2810d2;_0x3252da[_0x447be0(0x23c)](warnRenamed,_0x3252da[_0x447be0(0x1a2)],_0x447be0(0x1a4)),await _0x3252da['bVBcu'](withTelemetry,'config\x20unset',()=>configUnset(_0x1b751d['env'],_0x1b751d[_0x447be0(0x194)]));})['demandCommand'](0x1,_0x2810d2(0x1d6));})[_0x3c514d(0x153)](_0x3252da['AjAlT'],![],_0x30b6f0=>{const _0x290054=_0x3c514d;return _0x30b6f0[_0x290054(0x153)]('ls',![],()=>{},async()=>{const _0x3c7a06=_0x290054;warnRenamed(_0x3252da[_0x3c7a06(0x24c)],'ranger\x20profile\x20ls'),await _0x3252da['fBfrK'](withTelemetry,_0x3252da['wlhXJ'],()=>envList());})['command']('update\x20<env-name>',![],_0x266780=>{const _0x1b13be=_0x290054;return _0x266780[_0x1b13be(0x127)]('env-name',{'type':_0x3252da['YUBcH'],'description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x3ce3ec=>{const _0x176f3a=_0x290054;_0x3252da['JOUFJ'](warnRenamed,_0x176f3a(0xe9),_0x176f3a(0x240)),await withTelemetry('env\x20update',_0x17e356=>updateEnv(_0x3ce3ec['env-name'],_0x17e356));})['demandCommand'](0x1,_0x290054(0x1ac));})['command'](_0x3252da['rTMRi'],![],_0x549af1=>{const _0x471cc9=_0x3c514d,_0x2b5491={'THUjb':_0x3252da[_0x471cc9(0x28c)],'aPkUq':'ranger\x20create','ZjKwv':function(_0x1fa375,_0x31f42f,_0x5f3734,_0x454810){return _0x3252da['VPwdO'](_0x1fa375,_0x31f42f,_0x5f3734,_0x454810);},'lREuc':'--checklist','CDCmj':'--scenario','TvtYM':function(_0x1e7b4e,_0x59b357,_0x31ee51){return _0x3252da['nqFlc'](_0x1e7b4e,_0x59b357,_0x31ee51);},'NNppL':_0x3252da['PWdYa'],'ZyQXn':_0x3252da['XBlye'],'MGDMc':_0x3252da[_0x471cc9(0x182)],'BHxJo':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','ljnhC':_0x471cc9(0x18a),'QxMJs':_0x3252da['YUBcH'],'IGcdE':'description','fPPVN':_0x3252da['rTqQQ'],'vBwyJ':'ranger\x20feature\x20get-feedback','sMsyp':_0x3252da['AzbVn'],'epaDs':_0x471cc9(0x227),'plEob':_0x3252da[_0x471cc9(0x1ae)],'ywfmS':function(_0x2310dc,_0x50cdce,_0x2bb11c){return _0x3252da['VgFNW'](_0x2310dc,_0x50cdce,_0x2bb11c);},'eUFlQ':_0x471cc9(0x1de),'UFfJN':_0x3252da['xigqB']};return _0x549af1[_0x471cc9(0x153)]('create\x20<name>',![],_0x2f1672=>{const _0x18b91b=_0x471cc9;return _0x2f1672['positional'](_0x18b91b(0x217),{'type':_0x3252da[_0x18b91b(0x1c6)],'description':_0x3252da[_0x18b91b(0x298)],'demandOption':!![]})[_0x18b91b(0x22f)](_0x3252da['FrClW'],{'type':_0x18b91b(0x1a5),'alias':'d','description':_0x18b91b(0x19a)})['option']('checklist',{'type':_0x18b91b(0x185),'alias':'c','description':_0x3252da['QbncF']})['option']('scenario',{'type':_0x3252da['iHMbO'],'hidden':!![]});},async _0x391da7=>{const _0x343268=_0x471cc9;warnRenamed(_0x2b5491[_0x343268(0x24a)],_0x2b5491['aPkUq']),_0x2b5491[_0x343268(0x1c7)](warnFlagRenamed,_0x2b5491[_0x343268(0x1b9)],_0x2b5491[_0x343268(0x13a)],_0x2b5491['CDCmj']);const _0x5691d9=_0x391da7['scenario']||_0x391da7[_0x343268(0x11b)];await _0x2b5491[_0x343268(0x211)](withTelemetry,_0x2b5491['NNppL'],()=>featureCreate(_0x391da7[_0x343268(0x217)],{'description':_0x391da7[_0x343268(0x19e)],'scenarios':_0x5691d9}));})[_0x471cc9(0x153)](_0x471cc9(0x132),![],_0x5bc6d6=>{const _0x361b51=_0x471cc9;return _0x5bc6d6['option'](_0x361b51(0xe3),{'type':'boolean','description':_0x2b5491[_0x361b51(0x234)]})['option']('limit',{'type':_0x2b5491['MGDMc'],'alias':'l','description':_0x2b5491[_0x361b51(0x233)],'default':0xa})['option'](_0x361b51(0x27d),{'type':_0x2b5491[_0x361b51(0x24f)],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option']('include-deleted',{'type':_0x361b51(0x1e4),'alias':'d','description':_0x361b51(0x12d),'default':![]});},async _0x362a09=>{const _0x2e7e0d=_0x471cc9;_0x2b5491['TvtYM'](warnRenamed,_0x2e7e0d(0x252),_0x2b5491['ljnhC']),await withTelemetry(_0x2e7e0d(0x242),()=>featureList({'currentBranch':_0x362a09['current-branch'],'limit':_0x362a09['limit'],'offset':_0x362a09['offset'],'includeDeleted':_0x362a09['include-deleted']}));})['command'](_0x3252da[_0x471cc9(0x1a1)],![],_0x37e0ac=>{const _0x1a1d0d=_0x471cc9;return _0x37e0ac[_0x1a1d0d(0x127)]('id',{'type':_0x2b5491[_0x1a1d0d(0x1ce)],'description':_0x1a1d0d(0x11d)});},async _0x582581=>{const _0x4a4ab1=_0x471cc9;warnRenamed(_0x4a4ab1(0x266),_0x3252da[_0x4a4ab1(0x1a8)]),await withTelemetry(_0x3252da['heuzb'],()=>featureShow(_0x582581['id']));})['command'](_0x471cc9(0x1b5),![],_0x4e50f7=>{const _0x2c7e96=_0x471cc9;return _0x4e50f7[_0x2c7e96(0x127)]('id',{'type':_0x2c7e96(0x1a5),'description':_0x3252da[_0x2c7e96(0x10a)]});},async _0x1001a4=>{const _0x504900=_0x471cc9;warnRenamed('ranger\x20feature\x20resume',_0x3252da[_0x504900(0x1e3)]),await _0x3252da['LDgeS'](withTelemetry,_0x3252da['gXkDL'],()=>featureResume(_0x1001a4['id']));})['command']('add-checklist-item\x20<description>',![],_0x4beea5=>{const _0x1d20e7=_0x471cc9;return _0x4beea5['positional'](_0x2b5491[_0x1d20e7(0x26f)],{'type':'string','description':_0x1d20e7(0x1e7),'demandOption':!![]})['option']('id',{'type':_0x2b5491['QxMJs'],'description':_0x1d20e7(0x1ab)});},async _0x15b64d=>{const _0x3b8d0f=_0x471cc9;warnRenamed(_0x3252da[_0x3b8d0f(0xe7)],_0x3b8d0f(0x237)),await _0x3252da['PxOEm'](withTelemetry,_0x3252da[_0x3b8d0f(0xec)],()=>featureAddScenario(_0x15b64d['description'],_0x15b64d['id']));})[_0x471cc9(0x153)](_0x3252da[_0x471cc9(0x186)],![],_0x562123=>{const _0x14b2f7=_0x471cc9;return _0x562123['positional']('id',{'type':_0x2b5491['QxMJs'],'description':_0x2b5491[_0x14b2f7(0x243)]});},async _0x35f0c5=>{const _0x393233=_0x471cc9;warnRenamed(_0x2b5491[_0x393233(0x221)],_0x2b5491[_0x393233(0x207)]),await _0x2b5491[_0x393233(0x211)](withTelemetry,_0x2b5491[_0x393233(0x25a)],()=>featureGetReview(_0x35f0c5['id']));})[_0x471cc9(0x153)](_0x3252da['NuDiv'],![],_0x5d4a11=>{const _0x11dffe=_0x471cc9;return _0x5d4a11[_0x11dffe(0x127)]('id',{'type':'string','description':_0x3252da[_0x11dffe(0x222)]});},async _0x3f28f4=>{const _0x1f68e6=_0x471cc9;warnRenamed(_0x2b5491['plEob'],'ranger\x20delete'),await _0x2b5491[_0x1f68e6(0x18d)](withTelemetry,_0x2b5491[_0x1f68e6(0x172)],()=>featureDelete(_0x3f28f4['id']));})[_0x471cc9(0x153)](_0x471cc9(0x23b),![],_0x197a01=>{return _0x197a01['positional']('id',{'type':_0x2b5491['QxMJs'],'description':_0x2b5491['UFfJN'],'demandOption':!![]});},async _0x2befc7=>{const _0x3a91ad=_0x471cc9;_0x3252da[_0x3a91ad(0x23c)](warnRenamed,'ranger\x20feature\x20restore',_0x3a91ad(0x1c9)),await withTelemetry(_0x3a91ad(0x117),()=>featureRestore(_0x2befc7['id']));})['demandCommand'](0x1,_0x3252da[_0x471cc9(0x20d)]);})[_0x3c514d(0x153)](_0x3252da[_0x3c514d(0x29c)],![],_0x57e28e=>{const _0x202978=_0x3c514d,_0x551fda={'YzmwA':_0x3252da['qMxdM']};return _0x57e28e[_0x202978(0x153)](_0x3252da['SvCyb'],_0x3252da[_0x202978(0x20a)],_0x25bc56=>{const _0x2882e9=_0x202978;return _0x25bc56[_0x2882e9(0x22f)](_0x2882e9(0x296),{'type':'string','description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x2bfec6=>{const _0x56d418=_0x202978;await _0x3252da['EaKpo'](withTelemetry,_0x3252da[_0x56d418(0x177)],()=>hook('enable',_0x2bfec6['session-id']));})[_0x202978(0x153)](_0x202978(0x160),_0x3252da['UVbEQ'],_0x1acf3f=>{const _0x2d5471=_0x202978;return _0x1acf3f[_0x2d5471(0x22f)](_0x551fda['YzmwA'],{'type':_0x2d5471(0x1a5),'description':_0x2d5471(0x1a9)});},async _0x41c6e5=>{const _0x4c7c8b=_0x202978;await withTelemetry('hook:disable',()=>hook('disable',_0x41c6e5[_0x4c7c8b(0x296)]));})['option'](_0x3252da[_0x202978(0xdc)],{'type':_0x3252da[_0x202978(0x1c6)],'description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})['option'](_0x202978(0x296),{'type':_0x202978(0x1a5),'description':_0x202978(0x1a9)});},async _0x49542e=>{const _0x46beac=_0x3c514d;_0x49542e[_0x46beac(0x217)]&&await _0x3252da[_0x46beac(0x21f)](hook,_0x49542e['name'],_0x49542e[_0x3252da[_0x46beac(0x130)]]);})['demandCommand'](0x1,_0x3c514d(0x12f))['strictCommands']()['fail'](async(_0x1f427c,_0x178b10,_0x55e659)=>{const _0xbb42c8=_0x3c514d,_0x4f8add=_0x3252da['TAlpa'](sanitizeArgs,process['argv'][_0xbb42c8(0x22a)](0x2)),_0x2b3c23=_0x3252da['CVRBl'](getErrorType,_0x1f427c,_0x178b10);if(_0x1f427c&&_0x1f427c['includes']('Unknown\x20command')){const _0x4fb1a8=process[_0xbb42c8(0xfc)][0x2];console[_0xbb42c8(0xea)](_0xbb42c8(0xe5)+_0x4fb1a8),console['error'](_0xbb42c8(0x212));}else{if(_0x1f427c)console['error']('\x0a'+_0x1f427c+'\x0a');else _0x178b10&&console[_0xbb42c8(0xea)](_0xbb42c8(0xdf)+_0x178b10[_0xbb42c8(0x20e)]+'\x0a');}await _0x3252da['tysHs'](logDesirePath,{'rawCommand':_0x4f8add,'errorMessage':_0x1f427c||_0x178b10?.['message'],'errorType':_0x2b3c23});const _0x11438f=_0x3252da[_0xbb42c8(0xdd)](getCurrentCollector);_0x11438f&&await _0x11438f['trackCommandError'](_0x178b10||new Error(_0x1f427c||'Unknown\x20error')),process['exit'](0x1);})['epilogue'](_0x3252da['KJDbX'](_0x3252da['aQKVW']+_0x3c514d(0xff),_0x3252da[_0x3c514d(0x265)]))[_0x3c514d(0x18c)]()['alias'](_0x3252da['ltRid'],'h');}process['env'][_0x30286d(0x1cf)]!=='test'&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()[_0x30286d(0x1d3)]());
|