@ranger-testing/ranger-cli 3.0.1-alpha.ffffb5b-28 → 3.1.1-alpha.b22d278-38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cli.js +1 -1
- package/build/commands/addEnv.js +1 -1
- package/build/commands/authEncrypt.js +1 -1
- package/build/commands/clean.js +1 -1
- package/build/commands/config.js +1 -1
- package/build/commands/deleteProfile.js +1 -1
- package/build/commands/env.js +1 -1
- package/build/commands/feature.js +1 -1
- package/build/commands/hook.js +1 -1
- package/build/commands/hooks/autoPrompt.js +1 -1
- package/build/commands/hooks/disable.js +1 -1
- package/build/commands/hooks/enable.js +1 -1
- package/build/commands/hooks/exitPlanMode.js +1 -1
- package/build/commands/hooks/index.js +1 -1
- package/build/commands/hooks/output.js +1 -1
- package/build/commands/hooks/planReminder.js +1 -1
- package/build/commands/hooks/planStart.js +1 -1
- package/build/commands/hooks/postEdit.js +1 -1
- package/build/commands/hooks/preCompact.js +1 -1
- package/build/commands/hooks/sessionEnd.js +1 -1
- package/build/commands/hooks/sessionStart.js +1 -1
- package/build/commands/hooks/stopHook.js +1 -1
- package/build/commands/index.js +1 -1
- package/build/commands/login.js +1 -1
- package/build/commands/mcpBootstrap.js +1 -1
- package/build/commands/migrateProfile.js +1 -1
- package/build/commands/setup/claude.js +1 -1
- package/build/commands/setup/opencode.js +1 -1
- package/build/commands/setupCi.js +1 -1
- package/build/commands/skillup.js +1 -1
- package/build/commands/start.js +1 -1
- package/build/commands/status.js +1 -1
- package/build/commands/update.js +1 -1
- package/build/commands/updateEnv.js +1 -1
- package/build/commands/useEnv.js +1 -1
- package/build/commands/utils/activeProfile.js +1 -1
- package/build/commands/utils/agentEnv.js +1 -1
- package/build/commands/utils/browserSessionsApi.js +1 -1
- package/build/commands/utils/claudeConfig.js +1 -1
- package/build/commands/utils/claudeOverrideSettings.js +1 -1
- package/build/commands/utils/claudePlugin.js +1 -1
- package/build/commands/utils/cloudProfile.js +1 -1
- package/build/commands/utils/cloudProfileSession.js +1 -1
- package/build/commands/utils/crypto.js +1 -1
- package/build/commands/utils/desirePathLog.js +1 -1
- package/build/commands/utils/deviceAuth.js +1 -1
- package/build/commands/utils/environment.js +1 -1
- package/build/commands/utils/featureApi.js +1 -1
- package/build/commands/utils/fixWebmDuration.js +1 -1
- package/build/commands/utils/gitTracked.js +1 -1
- package/build/commands/utils/keychain.js +1 -1
- package/build/commands/utils/legacyWarning.js +1 -1
- package/build/commands/utils/localAgentInstallationsApi.js +1 -1
- package/build/commands/utils/matchAuthEnvironment.js +1 -1
- package/build/commands/utils/mcpImageBase64.js +1 -1
- package/build/commands/utils/model.js +1 -1
- package/build/commands/utils/novaActCli.js +1 -1
- package/build/commands/utils/opencodeConfig.js +1 -1
- package/build/commands/utils/organizationEnvApi.js +1 -0
- package/build/commands/utils/playwrightCli.js +1 -1
- package/build/commands/utils/profileMessages.js +1 -1
- package/build/commands/utils/profileSetupBanner.js +1 -1
- package/build/commands/utils/projectsConfig.js +1 -1
- package/build/commands/utils/rangerConfig.js +1 -1
- package/build/commands/utils/rangerRoot.js +1 -1
- package/build/commands/utils/rangerwrightCli.js +1 -0
- package/build/commands/utils/resolveProfileContext.js +1 -1
- package/build/commands/utils/resolveProfileUrl.js +1 -1
- package/build/commands/utils/retry.js +1 -1
- package/build/commands/utils/sessionCache.js +1 -1
- package/build/commands/utils/settings.js +1 -1
- package/build/commands/utils/skillContent.js +1 -1
- package/build/commands/utils/skills.js +1 -1
- package/build/commands/utils/stitchWebmFiles.js +1 -1
- package/build/commands/utils/telemetry.js +1 -1
- package/build/commands/utils/tokenRefresh.js +1 -1
- package/build/commands/utils/traceSnapshotMapper.js +1 -1
- package/build/commands/utils/tunnelClient.js +1 -0
- package/build/commands/utils/userApi.js +1 -1
- package/build/commands/utils/version.js +1 -1
- package/build/commands/verifyFeature.js +1 -1
- package/build/commands/verifyFeatureCli.js +1 -1
- package/build/commands/verifyFeatureNovaCli.js +1 -1
- package/build/commands/verifyFeatureRangerwrightCli.js +1 -0
- package/package.json +4 -1
package/build/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x463399=_0x2d80;(function(_0x26e74b,_0x39e15a){const _0x176c76=_0x2d80,_0x3b2833=_0x26e74b();while(!![]){try{const _0x53c073=parseInt(_0x176c76(0x2f0))/0x1+parseInt(_0x176c76(0x1f7))/0x2*(-parseInt(_0x176c76(0x2d8))/0x3)+parseInt(_0x176c76(0x31c))/0x4*(-parseInt(_0x176c76(0x19e))/0x5)+-parseInt(_0x176c76(0x26b))/0x6+-parseInt(_0x176c76(0x2d5))/0x7*(-parseInt(_0x176c76(0x215))/0x8)+-parseInt(_0x176c76(0x2fb))/0x9+parseInt(_0x176c76(0x2d0))/0xa;if(_0x53c073===_0x39e15a)break;else _0x3b2833['push'](_0x3b2833['shift']());}catch(_0x2c90ed){_0x3b2833['push'](_0x3b2833['shift']());}}}(_0x1cbb,0xec67a));import _0x3aa8be from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x4be1a5=_0x2d80,_0xc5cb4b={'QKBQY':function(_0x5e24ec,_0x1254ba){return _0x5e24ec!==_0x1254ba;},'rWzCR':function(_0x46f9d9,_0x3f6366){return _0x46f9d9(_0x3f6366);},'amGxh':function(_0x1c3e83,_0x42e86a,_0x4b1a03){return _0x1c3e83(_0x42e86a,_0x4b1a03);},'OZliA':'.ranger','ywMTR':function(_0x37cb47,_0x39dfa7){return _0x37cb47(_0x39dfa7);}};let _0x33bb11=process[_0x4be1a5(0x301)]();const _0x3e264d=parse(_0x33bb11)['root'];while(_0xc5cb4b[_0x4be1a5(0x2e8)](_0x33bb11,_0x3e264d)){if(_0xc5cb4b['rWzCR'](existsSync,_0xc5cb4b[_0x4be1a5(0x2fd)](join,_0x33bb11,_0xc5cb4b[_0x4be1a5(0x227)]))||_0xc5cb4b['ywMTR'](existsSync,_0xc5cb4b['amGxh'](join,_0x33bb11,'.env')))return _0x33bb11;_0x33bb11=dirname(_0x33bb11);}return process['cwd']();}_0x3aa8be[_0x463399(0x285)]({'path':join(findProjectRoot(),'.env')});import _0x50a9a2 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on'](_0x463399(0x2f3),async _0x6e3b2d=>{const _0x775079={'nbOnp':function(_0x3136c2){return _0x3136c2();}},_0x2c1d70=_0x775079['nbOnp'](getCurrentCollector);_0x2c1d70&&await _0x2c1d70['trackCommandError'](_0x6e3b2d),process['exitCode']=0x1;});const rawArgs=process['argv']['slice'](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP=_0x463399(0x317),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201';function _0x2d80(_0x235d4a,_0x33dfe8){_0x235d4a=_0x235d4a-0x192;const _0x1cbb0d=_0x1cbb();let _0x2d80cc=_0x1cbb0d[_0x235d4a];return _0x2d80cc;}function warnRenamed(_0x56aa1b,_0x5dbe73){const _0x558a61=_0x463399;console['error']('\x0a'+_0x56aa1b+_0x558a61(0x1ac)+_0x5dbe73+'\x0a');}function argUsed(_0x1912ab){const _0x349d77=_0x463399;return rawArgs[_0x349d77(0x2a9)](_0x58000b=>_0x58000b===_0x1912ab||_0x58000b['startsWith'](_0x1912ab+'='));}function warnFlagRenamed(_0x467f9b,_0x425e3c,_0x316aae){const _0x203c80=_0x463399,_0x1dd21f={'EfLJl':function(_0x582c95,_0x6632d5){return _0x582c95(_0x6632d5);},'wbQyX':function(_0x15ee8c,_0x29b216,_0x2cde5e){return _0x15ee8c(_0x29b216,_0x2cde5e);}};_0x1dd21f[_0x203c80(0x32d)](argUsed,_0x425e3c)&&_0x1dd21f[_0x203c80(0x277)](warnRenamed,_0x467f9b+'\x20'+_0x425e3c,_0x467f9b+'\x20'+_0x316aae);}async function runGoCommand(_0x598251,_0xa04c25=![]){const _0x50ecb8=_0x463399,_0x37081d={'zUTHA':function(_0x256ac4,_0x5df499){return _0x256ac4+_0x5df499;},'RAluL':'ranger\x20verify-feature','XMexw':_0x50ecb8(0x251),'GLZZo':_0x50ecb8(0x1b7),'ORAxe':_0x50ecb8(0x1ad),'fqjto':function(_0x106b63,_0x1f2152,_0x1ed29c,_0x253982){return _0x106b63(_0x1f2152,_0x1ed29c,_0x253982);},'aaQzq':'--task','pqgTL':'--notes','jXNJJ':function(_0x1ae71f,_0xedd4a,_0x322c68,_0x26f7ac){return _0x1ae71f(_0xedd4a,_0x322c68,_0x26f7ac);},'RleWw':function(_0x24ee16){return _0x24ee16();},'cSquX':function(_0x4564f9,_0x31bab4){return _0x4564f9(_0x31bab4);},'HsupL':_0x50ecb8(0x300),'EniDy':function(_0x311e87,_0x5a321a){return _0x311e87===_0x5a321a;},'omNoW':_0x50ecb8(0x29f),'DGbjV':'\x20FAILED'};_0xa04c25&&warnRenamed(_0x37081d['RAluL'],_0x37081d['XMexw']);warnFlagRenamed(_0x37081d[_0x50ecb8(0x1e9)],_0x37081d['GLZZo'],_0x37081d[_0x50ecb8(0x23b)]),_0x37081d[_0x50ecb8(0x25c)](warnFlagRenamed,_0x37081d[_0x50ecb8(0x1e9)],_0x37081d['aaQzq'],_0x37081d[_0x50ecb8(0x309)]),_0x37081d[_0x50ecb8(0x2db)](warnFlagRenamed,'ranger\x20go',_0x50ecb8(0x24f),'--scenario');const _0x148747=await loadRangerConfig(),_0x535eb8=_0x37081d[_0x50ecb8(0x20c)](isByokEnabled),_0x2c506a=_0x598251['model'],_0x17990e=_0x148747['model'],_0x5344af=await _0x37081d['cSquX'](verifyFeature,{'featureId':_0x598251['feature'],'profile':_0x598251['profile']??_0x598251['env']??process[_0x50ecb8(0x1b9)]['RANGER_PROFILE'],'notes':_0x598251[_0x50ecb8(0x293)]??_0x598251['task'],'scenario':_0x598251[_0x50ecb8(0x194)]??_0x598251['item'],'startPath':_0x598251[_0x37081d[_0x50ecb8(0x29d)]],'baseUrl':_0x598251['base-url'],'debugOutcome':_0x598251['debug-outcome'],'debugAddressComments':_0x598251[_0x50ecb8(0x346)],'headed':_0x598251['headed'],'byokEnabled':_0x535eb8,'flagVerifyModel':_0x2c506a,'configVerifyModel':_0x17990e});console['log']('\x0a'+'='['repeat'](0x3c)),console[_0x50ecb8(0x210)](_0x37081d['EniDy'](_0x5344af[_0x50ecb8(0x19a)],'verified')?'\x20VERIFIED':_0x5344af[_0x50ecb8(0x19a)]===_0x50ecb8(0x204)?_0x37081d[_0x50ecb8(0x1a0)]:_0x37081d['EniDy'](_0x5344af[_0x50ecb8(0x19a)],_0x50ecb8(0x32f))?'\x20PARTIAL':_0x37081d[_0x50ecb8(0x2ea)](_0x5344af['evaluation'],_0x50ecb8(0x201))?'\x20BLOCKED':_0x37081d['DGbjV']),console['log']('='[_0x50ecb8(0x1cb)](0x3c)),console['log'](_0x50ecb8(0x1c0)+_0x5344af[_0x50ecb8(0x21c)]),console['log'](_0x50ecb8(0x1eb)+_0x5344af['evaluation']),console[_0x50ecb8(0x210)](_0x50ecb8(0x342)+_0x5344af[_0x50ecb8(0x1ae)]),_0x5344af[_0x50ecb8(0x33d)]?.['length']&&(console['log'](_0x50ecb8(0x2a5)),_0x5344af[_0x50ecb8(0x33d)][_0x50ecb8(0x2c5)]((_0x4c1607,_0x2fb2fa)=>{const _0x449063=_0x50ecb8;console[_0x449063(0x210)]('\x0a'+_0x37081d[_0x449063(0x217)](_0x2fb2fa,0x1)+_0x449063(0x1e6)+_0x4c1607[_0x449063(0x1ef)]+']\x20'+_0x4c1607['description']);})),process[_0x50ecb8(0x20f)](_0x37081d[_0x50ecb8(0x2ea)](_0x5344af['evaluation'],_0x50ecb8(0x256))?0x0:0x1);}export function buildParser(_0x322694){const _0x488281=_0x463399,_0x3a6e96={'tnpBG':'Feature\x20review\x20name','mYqXX':'description','bvADJ':'Feature\x20review\x20description','WtDHb':_0x488281(0x194),'YLbuj':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','aqttb':_0x488281(0x302),'XDsKS':'Example:\x20ranger\x20create\x20my-feature','qIUgV':function(_0xe02b6e,_0x34af16,_0x3ce35d,_0x4b97ea){return _0xe02b6e(_0x34af16,_0x3ce35d,_0x4b97ea);},'GAoHb':function(_0x16a67d,_0x2c1c36,_0x529f87){return _0x16a67d(_0x2c1c36,_0x529f87);},'gzGFs':'create','MOKcB':'current-branch','cYTIP':'boolean','Ycuoa':_0x488281(0x266),'bzPFH':'limit','LXiXH':'offset','HGcEi':'Number\x20of\x20feature\x20reviews\x20to\x20skip','hDMDy':'include-deleted','hexRl':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','bMBlk':_0x488281(0x1f5),'jXcMz':_0x488281(0x2c7),'xaRrg':_0x488281(0x263),'FFyDp':function(_0x1f2217,_0x4e5e69,_0x2a7a00){return _0x1f2217(_0x4e5e69,_0x2a7a00);},'GrcTD':_0x488281(0x2de),'pxioj':'number','CYzTA':_0x488281(0x353),'YeAIp':'edit-scenario','Wxpln':_0x488281(0x295),'qWmPr':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','HOCTL':_0x488281(0x272),'AdMxD':_0x488281(0x2b2),'yXwUx':'delete','mQhuB':'Feature\x20review\x20ID\x20to\x20restore','fWxkm':'restore','iNnhf':_0x488281(0x1e5),'olzzD':'token','KzvAO':_0x488281(0x209),'pguyC':'setup:login','eGAvh':_0x488281(0x212),'lXkFU':'project','gfXDL':'Install\x20scope\x20for\x20plugin\x20and\x20skills','vqeiJ':'skip-auth','FCTaC':_0x488281(0x1c9),'FlorS':_0x488281(0x29b),'Zzonr':function(_0x30928c){return _0x30928c();},'ZEuxg':function(_0x17a0e8,_0x45672b){return _0x17a0e8(_0x45672b);},'ATWdq':function(_0x524533,_0x26c986){return _0x524533(_0x26c986);},'gjbpt':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','rELum':'Skip\x20browser\x20authentication','vFshB':_0x488281(0x1a7),'PdfJY':_0x488281(0x2e2),'kFafN':'all','vgDRm':'skills','RORZy':_0x488281(0x1aa),'AkerK':_0x488281(0x294),'oPFlk':_0x488281(0x274),'AfyZI':_0x488281(0x2df),'yeXce':_0x488281(0x2c4),'ACxlp':_0x488281(0x1f3),'ECEJs':_0x488281(0x237),'aMBuI':_0x488281(0x347),'fnpyV':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','PQQhy':'API\x20token','tqyyg':_0x488281(0x2e3),'qHPgs':_0x488281(0x23f),'tDBXs':_0x488281(0x25a),'LnuuO':_0x488281(0x339),'NHWYP':_0x488281(0x205),'KbBFl':_0x488281(0x2e7),'nRtwy':'opencode','llhoK':_0x488281(0x30e),'LaBrs':_0x488281(0x322),'nGzNi':_0x488281(0x234),'vkLvo':_0x488281(0x279),'JTXEe':'Name\x20of\x20the\x20profile\x20to\x20update','Itjms':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','ATsEg':function(_0x33a961,_0x3b8268,_0x4fc6ee){return _0x33a961(_0x3b8268,_0x4fc6ee);},'KKsmx':'profile\x20config\x20set','LGBfe':'profile\x20config\x20list','HDCDF':'set\x20<profile>\x20<key>\x20<value>','WJqBw':'get\x20<profile>\x20<key>','zyLNR':_0x488281(0x2cb),'wbVmn':'List\x20all\x20config\x20for\x20a\x20profile','JiHdT':_0x488281(0x23a),'xZSLn':'Remove\x20a\x20config\x20value','ntDRt':'reset\x20<profile>','fRViv':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','FApQt':_0x488281(0x2f5),'LbCed':'cdp-endpoint','stDhl':_0x488281(0x354),'QdOCk':'safe-mode','kFLzo':_0x488281(0x1bd),'ubfhs':'user','nJscT':function(_0x442cbe,_0x177ef8,_0x2e1bd9,_0x523ed1){return _0x442cbe(_0x177ef8,_0x2e1bd9,_0x523ed1);},'IlLvG':function(_0x74712c,_0x329691){return _0x74712c(_0x329691);},'RfQsA':'No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','ezuRz':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','QUQwT':'profile\x20migrate','czjJM':_0x488281(0x2c1),'kxuFe':'Profile\x20name','gDWbx':_0x488281(0x2bd),'TiMac':_0x488281(0x2f1),'EtBQc':_0x488281(0x1bb),'LzWqj':_0x488281(0x2f8),'ZjzLF':_0x488281(0x1b8),'vvGdn':_0x488281(0x22a),'ujuUp':_0x488281(0x20d),'LAlTU':'login\x20<name>','eWVsT':'config','amHNg':_0x488281(0x269),'dqmSd':_0x488281(0x34a),'OiGFJ':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','Jnden':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','XrBUq':'start-path','weQEG':_0x488281(0x2e4),'skwPS':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','khDDp':'model','rAorf':_0x488281(0x26d),'iQZTT':_0x488281(0x355),'nkojd':_0x488281(0x28d),'xhLgP':'partial','LwKzn':_0x488281(0x201),'LzXwu':_0x488281(0x204),'Qvimb':'debug-address-comments','nCRyo':_0x488281(0x233),'vpbmn':'skip-chromium','sdEKM':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','lXOOg':_0x488281(0x2c9),'aFfxP':_0x488281(0x2f4),'dCnhb':_0x488281(0x359),'YRFSZ':_0x488281(0x276),'DZCbT':function(_0x4dbd22,_0x4b37c2,_0x5330b0){return _0x4dbd22(_0x4b37c2,_0x5330b0);},'DpWZk':_0x488281(0x1b4),'bTgBo':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','lAFKZ':'notes','kfqtU':_0x488281(0x2af),'ucYSv':'add\x20env','CMnZD':'env-name','SBKYM':_0x488281(0x2f2),'AIywW':_0x488281(0x1e1),'eNizS':_0x488281(0x2f7),'kzCVL':_0x488281(0x2ae),'rhExF':'Config\x20value','LJyRs':_0x488281(0x297),'iThmI':'ranger\x20config\x20unset','NdBzz':function(_0x1d1b74,_0x26de6e,_0x15fed9){return _0x1d1b74(_0x26de6e,_0x15fed9);},'HyVll':_0x488281(0x30c),'jDOnr':function(_0x5bc2b0,_0x1a61e5,_0x2feb62){return _0x5bc2b0(_0x1a61e5,_0x2feb62);},'ynPXD':'Config\x20key\x20to\x20remove','KcLMb':_0x488281(0x195),'cuSry':function(_0x451c0e,_0x2d0588,_0x1a1edc){return _0x451c0e(_0x2d0588,_0x1a1edc);},'JbSPW':_0x488281(0x254),'NAgWJ':function(_0x1f7751,_0x5ca37e,_0x42df3b){return _0x1f7751(_0x5ca37e,_0x42df3b);},'ytOLG':'Name\x20of\x20the\x20environment\x20to\x20update','VihrV':'update\x20<env-name>','jKBLf':_0x488281(0x1d8),'KypCM':'array','JOmqh':_0x488281(0x1bf),'XKKXj':'--checklist','BysOb':_0x488281(0x1fc),'eLzRb':function(_0x1f52f9,_0x57e955,_0xec9b8d){return _0x1f52f9(_0x57e955,_0xec9b8d);},'WEDIs':'feature\x20create','DxNUZ':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','GysSw':function(_0x255e62,_0x29d041,_0xb8d729){return _0x255e62(_0x29d041,_0xb8d729);},'xhqeJ':_0x488281(0x197),'wKYmP':_0x488281(0x2b3),'GSvUJ':_0x488281(0x26c),'FTPkK':function(_0x65ab00,_0x4be416,_0xbbdf50){return _0x65ab00(_0x4be416,_0xbbdf50);},'hfTrv':_0x488281(0x318),'itDUh':function(_0x3ad9bf,_0x4da5ab,_0x2257c7){return _0x3ad9bf(_0x4da5ab,_0x2257c7);},'SylIn':'ranger\x20feature\x20list','hUbDj':function(_0x4958c1,_0x3bee50,_0x269b39){return _0x4958c1(_0x3bee50,_0x269b39);},'THPzp':'ranger\x20get-review','YHazy':_0x488281(0x1be),'lfUbf':'ranger\x20delete','ucVPX':_0x488281(0x1bc),'UpDnh':'resume\x20[id]','rtoyM':_0x488281(0x1dc),'GHnUo':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','ioAWA':'session-id','yCMtv':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','puoRT':_0x488281(0x1db),'jnKvV':_0x488281(0x31e),'jtKqB':'disable','lYaof':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','eubmF':'Unknown\x20command','unnYk':_0x488281(0x24a),'KwOkb':function(_0x3121da){return _0x3121da();},'eUYvw':function(_0x13171b,_0x6f4f3d){return _0x13171b||_0x6f4f3d;},'jCscu':_0x488281(0x308),'ylkdQ':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','KcTnJ':'show\x20[id]','BUEKI':'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','reNXZ':_0x488281(0x2b4),'CXtrv':_0x488281(0x241),'IfJQU':_0x488281(0x1f0),'caMNB':'delete\x20[id]','TjDgv':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','CVLvl':'Restore\x20a\x20soft-deleted\x20feature\x20review','ryXef':'setup\x20[tokenOrSubcommand]','QVtLb':'setup-ci\x20<token>','lsdcV':'login','PxZtG':'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','HaHAL':_0x488281(0x29c),'eHAMt':'print-access-token','wiuKC':'Print\x20the\x20current\x20CLI\x20access\x20token','DWCUp':_0x488281(0x226),'sRAFA':_0x488281(0x358),'TQuBG':'You\x20must\x20specify\x20a\x20command','lXgEs':function(_0x51dc4f,_0x4bd963){return _0x51dc4f+_0x4bd963;},'KoIhq':_0x488281(0x31a)};return _0x50a9a2(_0x322694??process[_0x488281(0x280)]['slice'](0x2))[_0x488281(0x230)]('ranger')['usage'](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command']('create\x20<name>',_0x3a6e96[_0x488281(0x31b)],_0x41c5cf=>{const _0x2d8180=_0x488281;return _0x41c5cf['positional']('name',{'type':'string','description':_0x3a6e96[_0x2d8180(0x1e8)],'demandOption':!![]})['option'](_0x3a6e96['mYqXX'],{'type':'string','alias':'d','description':_0x3a6e96['bvADJ']})['option'](_0x3a6e96[_0x2d8180(0x1af)],{'type':_0x2d8180(0x2ff),'alias':'c','description':_0x3a6e96[_0x2d8180(0x2fa)]})['option']('checklist',{'type':_0x2d8180(0x2ff),'hidden':!![]});},async _0x9c61=>{const _0x377517=_0x488281;if(!_0x9c61[_0x377517(0x1d8)]){console['error'](_0x3a6e96[_0x377517(0x2fc)]+_0x3a6e96['XDsKS']),process[_0x377517(0x20f)](0x1);return;}_0x3a6e96['qIUgV'](warnFlagRenamed,'ranger\x20create',_0x377517(0x23d),_0x377517(0x1fc));const _0x36048b=_0x9c61['scenario']||_0x9c61[_0x377517(0x2b9)];await _0x3a6e96['GAoHb'](withTelemetry,_0x3a6e96['gzGFs'],()=>featureCreate(_0x9c61['name'],{'description':_0x9c61['description'],'scenarios':_0x36048b}));})[_0x488281(0x244)](_0x3a6e96[_0x488281(0x1a6)],'List\x20all\x20feature\x20reviews',_0x5c7179=>{const _0xcf45c3=_0x488281;return _0x5c7179[_0xcf45c3(0x312)](_0x3a6e96[_0xcf45c3(0x296)],{'type':_0x3a6e96[_0xcf45c3(0x2ce)],'description':_0x3a6e96['Ycuoa']})[_0xcf45c3(0x312)](_0x3a6e96[_0xcf45c3(0x21f)],{'type':_0xcf45c3(0x335),'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option'](_0x3a6e96[_0xcf45c3(0x329)],{'type':'number','alias':'o','description':_0x3a6e96['HGcEi'],'default':0x0})['option'](_0x3a6e96[_0xcf45c3(0x19f)],{'type':'boolean','alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x41f3c1=>{const _0x2fa0f3=_0x488281;await withTelemetry(_0x2fa0f3(0x1bc),()=>featureList({'currentBranch':_0x41f3c1['current-branch'],'limit':_0x41f3c1[_0x2fa0f3(0x307)],'offset':_0x41f3c1['offset'],'includeDeleted':_0x41f3c1[_0x2fa0f3(0x22d)]}));})['command'](_0x3a6e96['KcTnJ'],_0x488281(0x219),_0x41ba65=>{const _0x32ebb8=_0x488281;return _0x41ba65['positional']('id',{'type':'string','description':_0x32ebb8(0x350)});},async _0x49e54f=>{const _0x5293cc=_0x488281;await _0x3a6e96[_0x5293cc(0x1a9)](withTelemetry,_0x5293cc(0x22b),()=>featureShow(_0x49e54f['id']));})[_0x488281(0x244)](_0x3a6e96['UpDnh'],'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x11159e=>{const _0x312081=_0x488281;return _0x11159e[_0x312081(0x341)]('id',{'type':'string','description':_0x3a6e96[_0x312081(0x283)]});},async _0x513f9c=>{await withTelemetry(_0x3a6e96['bMBlk'],()=>featureResume(_0x513f9c['id']));})[_0x488281(0x244)](_0x488281(0x25b),_0x3a6e96['BUEKI'],_0x1fdbba=>{const _0x3f482b=_0x488281;return _0x1fdbba['positional']('description',{'type':_0x3f482b(0x2de),'description':_0x3a6e96['jXcMz'],'demandOption':!![]})[_0x3f482b(0x312)]('id',{'type':'string','description':_0x3a6e96['xaRrg']});},async _0x2c6670=>{const _0x36c638=_0x488281;await _0x3a6e96[_0x36c638(0x33b)](withTelemetry,'add-scenario',()=>featureAddScenario(_0x2c6670[_0x36c638(0x2ad)],_0x2c6670['id']));})['command'](_0x3a6e96['reNXZ'],_0x3a6e96['CXtrv'],_0x31d036=>{const _0x333d90=_0x488281;return _0x31d036['positional'](_0x3a6e96[_0x333d90(0x199)],{'type':_0x3a6e96[_0x333d90(0x33e)],'description':_0x333d90(0x192),'demandOption':!![]})['option']('scenario',{'type':_0x3a6e96['pxioj'],'description':_0x3a6e96['CYzTA'],'demandOption':!![]})['option']('id',{'type':'string','description':_0x3a6e96[_0x333d90(0x2a2)]});},async _0x520d72=>{const _0x389433=_0x488281;await withTelemetry(_0x3a6e96[_0x389433(0x1e2)],()=>featureEditScenario(_0x520d72['description'],{'id':_0x520d72['id'],'scenario':_0x520d72['scenario']}));})[_0x488281(0x244)](_0x3a6e96['IfJQU'],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x471995=>{const _0x185efd=_0x488281;return _0x471995[_0x185efd(0x341)]('id',{'type':'string','description':'Feature\x20review\x20ID'})[_0x185efd(0x312)](_0x3a6e96['Wxpln'],{'type':'array','description':_0x3a6e96['qWmPr']})['option'](_0x3a6e96[_0x185efd(0x1cf)],{'type':'boolean','description':_0x3a6e96['AdMxD'],'default':![]});},async _0xcebc8e=>{const _0x3b32b3=_0x488281,_0x13aa31=_0xcebc8e[_0x3b32b3(0x295)],_0x116e6e=_0x13aa31?_0x13aa31['map'](_0x94bdd9=>Number(_0x94bdd9)):undefined;await withTelemetry(_0x3b32b3(0x23c),()=>featureReportPrDescription(_0xcebc8e['id'],{'excludeScenarios':_0x116e6e,'json':_0xcebc8e['json']}));})[_0x488281(0x244)](_0x488281(0x1e0),_0x488281(0x2fe),_0x53437d=>{const _0x4e2b09=_0x488281;return _0x53437d[_0x4e2b09(0x341)]('id',{'type':'string','description':_0x3a6e96['xaRrg']});},async _0x25cefc=>{const _0x49bfe6=_0x488281;await withTelemetry(_0x49bfe6(0x319),()=>featureGetReview(_0x25cefc['id']));})['command'](_0x3a6e96[_0x488281(0x327)],_0x3a6e96[_0x488281(0x1dd)],_0x153444=>{const _0x1d918b=_0x488281;return _0x153444['positional']('id',{'type':_0x1d918b(0x2de),'description':'Feature\x20review\x20ID'});},async _0x5267ae=>{await withTelemetry(_0x3a6e96['yXwUx'],()=>featureDelete(_0x5267ae['id']));})['command']('restore\x20<id>',_0x3a6e96[_0x488281(0x273)],_0x9329b9=>{const _0x1dc421=_0x488281;return _0x9329b9[_0x1dc421(0x341)]('id',{'type':_0x1dc421(0x2de),'description':_0x3a6e96[_0x1dc421(0x1fa)],'demandOption':!![]});},async _0x2ec61c=>{const _0x3cf388=_0x488281;await withTelemetry(_0x3a6e96[_0x3cf388(0x2d2)],()=>featureRestore(_0x2ec61c['id']));})['command'](_0x3a6e96['ryXef'],_0x488281(0x2ed),_0x43e625=>{const _0x91afd=_0x488281,_0x2c08f2={'YYaIc':'Ranger\x20API\x20token','NeElD':_0x3a6e96[_0x91afd(0x2ce)],'kxYFI':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','vIgMJ':_0x3a6e96[_0x91afd(0x1c1)],'Tbfpi':_0x91afd(0x203),'XFlVM':_0x91afd(0x2f4),'UBarH':'scope','BjpVQ':'string','kHmHT':_0x91afd(0x2b7),'GEvab':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','paVOt':_0x3a6e96[_0x91afd(0x2ac)],'rqCWh':_0x3a6e96['FlorS'],'wodwn':function(_0x5a63a1){return _0x3a6e96['Zzonr'](_0x5a63a1);},'FRuyF':'Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','qKmbS':function(_0xebe145,_0x35308c){return _0x3a6e96['ZEuxg'](_0xebe145,_0x35308c);},'dvGqH':function(_0x4f96f3,_0x4bc517){const _0x5849cd=_0x91afd;return _0x3a6e96[_0x5849cd(0x306)](_0x4f96f3,_0x4bc517);},'QXJdA':_0x91afd(0x270),'ZXmlS':_0x3a6e96[_0x91afd(0x1f1)],'ngyOA':_0x3a6e96[_0x91afd(0x19c)],'LuVRT':function(_0x253ca4,_0x411c1e){return _0x253ca4!==_0x411c1e;},'sAGJa':function(_0x4cb8a9,_0x10d4b6){return _0x4cb8a9+_0x10d4b6;}};return _0x43e625[_0x91afd(0x1d3)]('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')['positional'](_0x3a6e96[_0x91afd(0x20b)],{'type':_0x3a6e96['GrcTD'],'description':_0x3a6e96['PdfJY']})['command'](_0x3a6e96['kFafN'],_0x91afd(0x1b5),_0x1520e2=>{const _0x3bd609=_0x91afd;return _0x1520e2[_0x3bd609(0x312)](_0x3bd609(0x1cd),{'type':'string','description':_0x2c08f2['YYaIc']})['option']('skip-chromium',{'type':_0x2c08f2[_0x3bd609(0x2a6)],'description':_0x2c08f2[_0x3bd609(0x1ce)],'default':![]})['option'](_0x2c08f2[_0x3bd609(0x290)],{'type':_0x3bd609(0x289),'description':_0x3bd609(0x2c9),'default':![]})['option'](_0x2c08f2[_0x3bd609(0x328)],{'type':_0x2c08f2['NeElD'],'description':_0x2c08f2['XFlVM'],'default':![]})['option'](_0x2c08f2[_0x3bd609(0x21b)],{'type':_0x2c08f2[_0x3bd609(0x29a)],'choices':[_0x3bd609(0x2c0)],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x2c08f2[_0x3bd609(0x31f)],{'type':_0x2c08f2[_0x3bd609(0x29a)],'description':_0x3bd609(0x275)})[_0x3bd609(0x312)](_0x3bd609(0x2c4),{'type':_0x2c08f2[_0x3bd609(0x2a6)],'description':_0x2c08f2['GEvab'],'default':![]})['option']('opencode',{'type':_0x3bd609(0x289),'description':_0x3bd609(0x237),'default':![]})[_0x3bd609(0x312)](_0x3bd609(0x347),{'type':_0x3bd609(0x289),'description':_0x2c08f2[_0x3bd609(0x338)],'default':![]})['option']('mcp-bootstrap',{'type':_0x2c08f2['NeElD'],'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','default':![]})['option'](_0x2c08f2['rqCWh'],{'type':_0x2c08f2['NeElD'],'description':_0x3bd609(0x19b),'default':![]});},async _0x1115ef=>{const _0xf0e2c6=_0x91afd;(_0x1115ef['mcp-bootstrap']||_0x1115ef[_0xf0e2c6(0x29b)])&&await withTelemetry(_0xf0e2c6(0x2e3),()=>mcpBootstrap()),await withTelemetry(_0x3a6e96['iNnhf'],_0x52630f=>start(_0x1115ef[_0xf0e2c6(0x1cd)],{'skipChromium':_0x1115ef['skip-chromium'],'skipAuth':_0x1115ef['skip-auth'],'withDeps':_0x1115ef[_0xf0e2c6(0x203)],'scope':_0x1115ef['scope'],'url':_0x1115ef['url'],'force':_0x1115ef[_0xf0e2c6(0x2c4)],'opencode':_0x1115ef['opencode'],'allowInsecureLocalhost':_0x1115ef[_0xf0e2c6(0x347)]},_0x52630f));})[_0x91afd(0x244)](_0x91afd(0x286),'Install\x20Chromium\x20browser\x20binary',_0x29bc99=>{const _0x5356a8=_0x91afd;return _0x29bc99[_0x5356a8(0x312)](_0x2c08f2['Tbfpi'],{'type':_0x2c08f2[_0x5356a8(0x2a6)],'description':_0x5356a8(0x2d7),'default':![]});},async _0x368335=>{await withTelemetry('setup:deps',()=>ensureChromium(_0x368335['with-deps']));})['command']('login',_0x91afd(0x31d),_0x4c0303=>{const _0x4dca3b=_0x91afd;return _0x4c0303[_0x4dca3b(0x312)](_0x3a6e96['olzzD'],{'type':'string','description':_0x3a6e96['KzvAO']})['option']('mcp',{'type':_0x3a6e96[_0x4dca3b(0x2ce)],'description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x33d9eb=>{const _0x2f8848=_0x91afd;await withTelemetry(_0x3a6e96[_0x2f8848(0x321)],async()=>{const _0x30fcd9=_0x2f8848;if(_0x33d9eb['mcp']){await _0x2c08f2[_0x30fcd9(0x278)](mcpBootstrap);const _0x4ec8ab=await refreshCliToken();if(!_0x4ec8ab)throw new Error(_0x2c08f2[_0x30fcd9(0x255)]);const _0x4fe654=await _0x2c08f2[_0x30fcd9(0x324)](getCurrentUser,_0x4ec8ab);if(!_0x4fe654[_0x30fcd9(0x311)])throw new Error(_0x30fcd9(0x28e)+_0x4fe654['error']);console[_0x30fcd9(0x210)](_0x30fcd9(0x1a4)+_0x4fe654[_0x30fcd9(0x2c0)]['organizationName']);return;}await _0x2c08f2[_0x30fcd9(0x2ee)](authenticate,_0x33d9eb[_0x30fcd9(0x1cd)]);});})['command'](_0x3a6e96[_0x91afd(0x340)],_0x3a6e96[_0x91afd(0x2eb)],_0x418ee6=>{const _0x215ed6=_0x91afd;return _0x418ee6[_0x215ed6(0x312)](_0x3a6e96[_0x215ed6(0x1fd)],{'type':_0x3a6e96[_0x215ed6(0x33e)],'choices':['user',_0x3a6e96[_0x215ed6(0x232)]],'description':_0x3a6e96[_0x215ed6(0x224)]})['option'](_0x215ed6(0x325),{'type':_0x3a6e96[_0x215ed6(0x2ce)],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]});},async _0x3a2f21=>{const _0x242066={'XETQI':function(_0x1543f8,_0xeca14b,_0x3d9465){return _0x1543f8(_0xeca14b,_0x3d9465);},'RGOEP':function(_0x12f054){return _0x12f054();},'buYyJ':function(_0x3640a0,_0x58a34a){return _0x3640a0(_0x58a34a);}};await withTelemetry(_0x2c08f2['QXJdA'],async()=>{const _0x2b443b=_0x2d80,_0x5c7bda=_0x3a2f21[_0x2b443b(0x212)];if(_0x3a2f21[_0x2b443b(0x325)]){const _0x4ab149=await ensureOpencodePluginConfig(_0x5c7bda);_0x4ab149&&await _0x242066['XETQI'](installSkill,'ranger',{'level':_0x4ab149['scope'],'cliVersion':_0x242066[_0x2b443b(0x225)](getCurrentVersion),'platform':_0x2b443b(0x325)});}else await ensureClaudePlugin(_0x5c7bda),await _0x242066[_0x2b443b(0x33f)](ensureClaudeSkills,_0x5c7bda);});})['command'](_0x3a6e96[_0x91afd(0x2e9)],_0x3a6e96['oPFlk'],_0x20bcb5=>{const _0xb236af=_0x91afd;return _0x20bcb5['option']('scope',{'type':_0x2c08f2['BjpVQ'],'choices':[_0xb236af(0x2c0)],'description':_0x2c08f2['ZXmlS']})[_0xb236af(0x312)](_0x2c08f2['kHmHT'],{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app'})[_0xb236af(0x312)](_0xb236af(0x25f),{'type':_0xb236af(0x289),'description':_0x2c08f2['ngyOA'],'default':![]})[_0xb236af(0x312)](_0xb236af(0x2c4),{'type':_0x2c08f2[_0xb236af(0x2a6)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option']('allow-insecure-localhost',{'type':_0x2c08f2['NeElD'],'description':_0xb236af(0x1c9),'default':![]});},async _0xf85005=>{const _0x389346=_0x91afd,_0x5e0af9=_0xf85005[_0x389346(0x212)];_0x2c08f2['LuVRT'](_0x5e0af9,undefined)&&_0x5e0af9!==_0x389346(0x2c0)&&(console[_0x389346(0x200)](_0x2c08f2['sAGJa']('ranger\x20setup\x20profiles\x20--scope='+_0x5e0af9+_0x389346(0x27c),'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20')+_0x389346(0x291)),process[_0x389346(0x20f)](0x1)),await withTelemetry('setup:profiles',_0xb8fbcc=>ensureLocalEnv({'url':_0xf85005['url'],'force':_0xf85005[_0x389346(0x2c4)],'allowInsecureLocalhost':_0xf85005[_0x389346(0x347)],'scope':'user'},_0xb8fbcc));})['option']('skip-chromium',{'type':_0x3a6e96['cYTIP'],'description':_0x3a6e96['AfyZI'],'default':![]})[_0x91afd(0x312)]('scope',{'type':_0x91afd(0x2de),'choices':[_0x91afd(0x2c0)],'hidden':!![],'description':_0x3a6e96['gjbpt']})['option']('url',{'type':_0x3a6e96[_0x91afd(0x33e)],'description':_0x91afd(0x1cc)})[_0x91afd(0x312)](_0x3a6e96[_0x91afd(0x1c2)],{'type':_0x3a6e96[_0x91afd(0x2ce)],'description':_0x3a6e96[_0x91afd(0x2ba)],'default':![]})[_0x91afd(0x312)]('opencode',{'type':_0x3a6e96[_0x91afd(0x2ce)],'description':_0x3a6e96['ECEJs'],'default':![]})['option'](_0x3a6e96['aMBuI'],{'type':'boolean','description':_0x91afd(0x320),'default':![]})[_0x91afd(0x312)](_0x91afd(0x2e3),{'type':_0x3a6e96[_0x91afd(0x2ce)],'description':_0x91afd(0x238),'default':![]})[_0x91afd(0x312)](_0x3a6e96[_0x91afd(0x1c1)],{'type':_0x3a6e96[_0x91afd(0x2ce)],'description':_0x3a6e96[_0x91afd(0x1d7)],'default':![]})['option'](_0x91afd(0x203),{'type':'boolean','description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]})['option'](_0x91afd(0x1cd),{'type':'string','hidden':!![],'description':_0x3a6e96[_0x91afd(0x1e4)]});},async _0x182d7b=>{const _0x423829=_0x488281,_0x1935c1=_0x182d7b['tokenOrSubcommand'],_0x515ac8=_0x182d7b[_0x423829(0x1cd)]??_0x1935c1;_0x182d7b[_0x3a6e96[_0x423829(0x22c)]]&&await withTelemetry(_0x3a6e96['tqyyg'],()=>mcpBootstrap()),await _0x3a6e96['GAoHb'](withTelemetry,_0x3a6e96['qHPgs'],_0x436ffb=>start(_0x515ac8,{'skipChromium':_0x182d7b[_0x423829(0x34c)],'skipAuth':_0x182d7b['skip-auth'],'withDeps':_0x182d7b[_0x423829(0x203)],'scope':_0x182d7b['scope'],'url':_0x182d7b[_0x423829(0x2b7)],'force':_0x182d7b[_0x423829(0x2c4)],'opencode':_0x182d7b[_0x423829(0x325)],'allowInsecureLocalhost':_0x182d7b[_0x423829(0x347)]},_0x436ffb));})[_0x488281(0x244)](_0x3a6e96['QVtLb'],![],_0x1becaf=>{const _0x4eb551=_0x488281;return _0x1becaf[_0x4eb551(0x341)](_0x3a6e96['olzzD'],{'type':_0x3a6e96['GrcTD'],'description':'Ranger\x20API\x20token','demandOption':!![]})['option'](_0x4eb551(0x2c1),{'type':_0x4eb551(0x2de),'description':_0x3a6e96['tDBXs']})[_0x4eb551(0x312)](_0x3a6e96['LnuuO'],{'type':_0x4eb551(0x2de),'description':_0x3a6e96['NHWYP']})['option'](_0x4eb551(0x34c),{'type':_0x4eb551(0x289),'description':_0x4eb551(0x1de),'default':![]});},async _0x557bb6=>{await withTelemetry(_0x3a6e96['KbBFl'],_0x1d950d=>setupCi(_0x557bb6['token'],{'profile':_0x557bb6['profile'],'baseUrl':_0x557bb6['base-url'],'skipChromium':_0x557bb6['skip-chromium']},_0x1d950d));})[_0x488281(0x244)](_0x3a6e96['lsdcV'],_0x3a6e96['PxZtG'],()=>{},async()=>{const _0x413e11=_0x488281;await withTelemetry(_0x413e11(0x282),()=>login());})[_0x488281(0x244)]('skillup',_0x3a6e96['HaHAL'],_0x51e8dd=>{const _0x2bd9f3=_0x488281;return _0x51e8dd['option'](_0x3a6e96[_0x2bd9f3(0x1ed)],{'type':_0x3a6e96['cYTIP'],'description':_0x3a6e96['llhoK'],'default':![]})['option'](_0x2bd9f3(0x212),{'type':_0x3a6e96['GrcTD'],'choices':['user',_0x3a6e96[_0x2bd9f3(0x232)]],'description':_0x3a6e96['LaBrs']});},async _0x29a1f3=>{const _0x24a0eb=_0x488281,_0x41d802=Boolean(_0x29a1f3[_0x24a0eb(0x325)]);await withTelemetry(_0x24a0eb(0x2a1),()=>skillup({'autoInstall':_0x29a1f3[_0x24a0eb(0x212)],'platform':_0x41d802?'opencode':_0x24a0eb(0x337)}));})['command'](_0x488281(0x2f9),_0x488281(0x304),()=>{},async()=>{const _0x1663dd=_0x488281;await withTelemetry(_0x1663dd(0x2f9),()=>clean());})[_0x488281(0x244)]([_0x3a6e96[_0x488281(0x1f8)],_0x3a6e96['AkerK']],'Manage\x20profiles',_0x134c0b=>{const _0x178e72=_0x488281,_0x19f7b5={'XublJ':_0x178e72(0x2c3),'CexDi':'string','aRmgA':_0x3a6e96['FApQt'],'DlqnY':_0x3a6e96['yeXce'],'mgLsu':_0x3a6e96[_0x178e72(0x2ce)],'gXZpX':_0x3a6e96[_0x178e72(0x313)],'dkWOS':_0x3a6e96[_0x178e72(0x28f)],'UWCYs':_0x3a6e96[_0x178e72(0x2a4)],'kwjPo':_0x3a6e96['QdOCk'],'rqRSi':_0x3a6e96['kFLzo'],'GXRdb':'scope','mJZCH':_0x3a6e96['ubfhs'],'kuIOQ':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','GnhOa':function(_0x4b3a37,_0x531773,_0x18f8cd,_0x4a8aec){const _0x394f64=_0x178e72;return _0x3a6e96[_0x394f64(0x208)](_0x4b3a37,_0x531773,_0x18f8cd,_0x4a8aec);},'lldMn':function(_0x14a39b,_0x1453c4){const _0x5b4fa3=_0x178e72;return _0x3a6e96[_0x5b4fa3(0x1c5)](_0x14a39b,_0x1453c4);},'MxQnY':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','jESll':'yes','TJRMT':function(_0x2e14e7,_0x37bc03,_0x1582af){return _0x2e14e7(_0x37bc03,_0x1582af);},'SZqTY':function(_0x119beb,_0x5169b5){return _0x119beb||_0x5169b5;},'qeiSq':_0x178e72(0x25e),'dxxOZ':function(_0xb9ede7,_0x3f844a){return _0xb9ede7===_0x3f844a;},'nqUww':_0x3a6e96['RfQsA'],'rdaVD':'unknown\x20error','gESxR':_0x3a6e96['ezuRz'],'rrhcL':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','Wpmdl':function(_0x2a3b1e,_0x5272c8,_0x5191d3){return _0x2a3b1e(_0x5272c8,_0x5191d3);},'TwByT':_0x3a6e96['QUQwT'],'QmqyE':_0x3a6e96['czjJM'],'RVymO':_0x3a6e96['kxuFe'],'kACwH':_0x178e72(0x2ae),'Grwzf':_0x3a6e96[_0x178e72(0x2b1)],'jmros':'Config\x20value','KMvWG':'key','sdXEf':_0x3a6e96[_0x178e72(0x22f)],'NhcjB':function(_0x39624f,_0x3a933c,_0x14fe7d){return _0x39624f(_0x3a933c,_0x14fe7d);},'RQDun':_0x3a6e96['EtBQc']};return _0x134c0b['usage'](PROFILE_HELP)['command']('add\x20<profile-name>',_0x3a6e96['LzWqj'],_0x2a3b01=>{const _0x5a99a6=_0x178e72;return _0x2a3b01['positional'](_0x19f7b5['XublJ'],{'type':_0x19f7b5['CexDi'],'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x5a99a6(0x289),'hidden':!![],'default':![]})['option']('skip-auth',{'type':_0x5a99a6(0x289),'description':_0x19f7b5[_0x5a99a6(0x1d1)],'default':![]})[_0x5a99a6(0x312)](_0x5a99a6(0x2b7),{'type':_0x19f7b5['CexDi'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x19f7b5[_0x5a99a6(0x336)],{'type':_0x19f7b5[_0x5a99a6(0x1a1)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x19f7b5[_0x5a99a6(0x314)],{'type':_0x5a99a6(0x2de),'description':_0x19f7b5['dkWOS']})[_0x5a99a6(0x312)]('allow-insecure-localhost',{'type':'boolean','description':_0x19f7b5['UWCYs'],'default':![]})['option'](_0x19f7b5[_0x5a99a6(0x356)],{'type':_0x5a99a6(0x289),'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]})[_0x5a99a6(0x312)](_0x19f7b5['rqRSi'],{'type':_0x5a99a6(0x2de),'array':!![],'description':_0x5a99a6(0x2e1)})['option'](_0x19f7b5[_0x5a99a6(0x213)],{'type':_0x5a99a6(0x2de),'choices':[_0x19f7b5['mJZCH'],'project'],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})['option'](_0x5a99a6(0x345),{'type':_0x19f7b5[_0x5a99a6(0x1a1)],'alias':'y','description':_0x19f7b5['kuIOQ'],'default':![]});},async _0x9700af=>{const _0xb8daaf=_0x178e72;await _0x19f7b5[_0xb8daaf(0x334)](withTelemetry,'profile\x20add',_0x1cc171=>addEnv(_0x9700af['profile-name'],{'ci':_0x9700af['ci'],'skipAuth':_0x9700af[_0xb8daaf(0x25f)],'url':_0x9700af[_0xb8daaf(0x2b7)],'force':_0x9700af['force'],'cdpEndpoint':_0x9700af[_0xb8daaf(0x2b6)],'allowInsecureLocalhost':_0x9700af['allow-insecure-localhost'],'safeMode':_0x9700af[_0xb8daaf(0x250)],'setupHeader':_0x9700af['setup-header'],'scope':_0x9700af[_0xb8daaf(0x212)],'yes':_0x9700af['yes']},_0x1cc171),{'isElectron':_0x19f7b5[_0xb8daaf(0x1ca)](Boolean,_0x9700af['cdp-endpoint'])});})['command'](_0x3a6e96[_0x178e72(0x1ff)],_0x178e72(0x2d6),_0x50a415=>{const _0x3cb30c=_0x178e72;return _0x50a415[_0x3cb30c(0x341)]('profile-name',{'type':_0x3a6e96[_0x3cb30c(0x33e)],'description':_0x3a6e96['nGzNi'],'demandOption':!![]});},async _0x541bc9=>{const _0x3cdbd4=_0x178e72;await withTelemetry(_0x3a6e96['vkLvo'],()=>useEnv(_0x541bc9[_0x3cdbd4(0x2c3)]));})[_0x178e72(0x244)]('delete\x20<profile-name>',_0x3a6e96[_0x178e72(0x1ab)],_0x1ee446=>{const _0x45f41e=_0x178e72;return _0x1ee446[_0x45f41e(0x341)]('profile-name',{'type':'string','description':_0x19f7b5[_0x45f41e(0x2cd)],'demandOption':!![]})['option'](_0x19f7b5['jESll'],{'type':_0x19f7b5[_0x45f41e(0x1a1)],'alias':'y','description':_0x45f41e(0x223),'default':![]});},async _0x3fffaa=>{const _0x53ec45=_0x178e72;await _0x19f7b5[_0x53ec45(0x1a5)](withTelemetry,'profile\x20delete',()=>deleteProfile(_0x3fffaa[_0x53ec45(0x2c3)],{'yes':_0x3fffaa[_0x53ec45(0x345)]}));})['command'](_0x178e72(0x2be),![],_0x3cac96=>{const _0x348ad0=_0x178e72;return _0x3cac96[_0x348ad0(0x341)](_0x348ad0(0x2c1),{'type':_0x19f7b5['CexDi'],'description':'Profile\x20name','demandOption':!![]});},async _0x1dbe42=>{await withTelemetry('profile\x20encrypt-auth',()=>authEncrypt(_0x1dbe42['profile']));})['command']('ls','List\x20all\x20profiles',()=>{},async()=>{await withTelemetry('profile\x20ls',()=>envList());})['command'](_0x3a6e96[_0x178e72(0x1ee)],_0x178e72(0x2b8),_0x40213c=>{const _0x5b792c=_0x178e72;return _0x40213c[_0x5b792c(0x341)]('profile-name',{'type':'string','description':_0x3a6e96[_0x5b792c(0x32c)],'demandOption':!![]})['option'](_0x3a6e96[_0x5b792c(0x32b)],{'type':'boolean','description':_0x3a6e96['Itjms']});},async _0x5cd0d4=>{const _0x3c4457=_0x178e72;await _0x3a6e96['ATsEg'](withTelemetry,_0x3c4457(0x206),_0x181ef6=>updateEnv(_0x5cd0d4['profile-name'],_0x181ef6,{'allowInsecureLocalhost':_0x5cd0d4[_0x3c4457(0x347)]}));})[_0x178e72(0x244)](_0x3a6e96[_0x178e72(0x2b5)],![],_0x347cd8=>{const _0x483d5d=_0x178e72;return _0x347cd8['positional']('name',{'type':_0x19f7b5[_0x483d5d(0x2aa)],'description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0x615a97=>{await withTelemetry('profile\x20login',async()=>{const _0x261be8=_0x2d80,_0x174e7f=process['env']['RANGER_TEST_USERNAME'],_0x212dbd=process['env']['RANGER_TEST_PASSWORD'];_0x19f7b5['SZqTY'](!_0x174e7f,!_0x212dbd)&&(console['error'](_0x19f7b5['qeiSq']),process[_0x261be8(0x20f)](0x1));const _0x3963f5=_0x615a97[_0x261be8(0x1d8)],_0x5578dd=await serverSideLogin(_0x3963f5,{'force':!![]});_0x19f7b5['dxxOZ'](_0x5578dd['status'],_0x261be8(0x30d))&&(console[_0x261be8(0x200)](_0x19f7b5[_0x261be8(0x24b)]),process[_0x261be8(0x20f)](0x1)),_0x5578dd[_0x261be8(0x34a)]==='failed'&&(console['error'](_0x261be8(0x1f6)+(_0x5578dd[_0x261be8(0x200)]??_0x19f7b5[_0x261be8(0x1b3)])),_0x5578dd[_0x261be8(0x20a)]&&console[_0x261be8(0x200)](_0x5578dd[_0x261be8(0x20a)]),process['exit'](0x1)),console['log'](_0x261be8(0x24c)+_0x3963f5+_0x261be8(0x288));});})['command']('migrate\x20[profile-name]',![],_0x588ece=>{const _0x1d9d9e=_0x178e72;return _0x588ece['positional'](_0x1d9d9e(0x2c3),{'type':_0x19f7b5[_0x1d9d9e(0x2aa)],'description':_0x19f7b5['gESxR']})[_0x1d9d9e(0x312)]('all',{'type':_0x19f7b5[_0x1d9d9e(0x1a1)],'description':_0x19f7b5['rrhcL'],'default':![]})[_0x1d9d9e(0x312)](_0x1d9d9e(0x281),{'type':'boolean','description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})['option'](_0x1d9d9e(0x345),{'type':_0x1d9d9e(0x289),'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})[_0x1d9d9e(0x312)]('save-creds',{'type':_0x19f7b5[_0x1d9d9e(0x1a1)],'description':_0x1d9d9e(0x1c4),'default':![]});},async _0x35c768=>{const _0x191c6c=_0x178e72;await _0x19f7b5['Wpmdl'](withTelemetry,_0x19f7b5[_0x191c6c(0x1d9)],_0x2830a1=>migrateProfile({'profileName':_0x35c768[_0x191c6c(0x2c3)],'all':_0x35c768['all'],'dryRun':_0x35c768[_0x191c6c(0x281)],'yes':_0x35c768[_0x191c6c(0x345)],'saveCreds':_0x35c768[_0x191c6c(0x2ef)]},_0x2830a1));})['command'](_0x3a6e96['eWVsT'],_0x3a6e96['amHNg'],_0x5c2427=>{const _0x5582bb=_0x178e72,_0x46f250={'GCJtd':_0x3a6e96['KKsmx'],'TqhqU':'profile','pYowy':_0x3a6e96['GrcTD'],'HMlri':function(_0x5abc35,_0x419149,_0x31d63f){return _0x5abc35(_0x419149,_0x31d63f);},'nesHN':_0x3a6e96['LGBfe'],'cYNvz':'key'};return _0x5c2427['usage'](PROFILE_CONFIG_HELP)[_0x5582bb(0x244)](_0x3a6e96[_0x5582bb(0x2c8)],'Set\x20a\x20config\x20value',_0x31dc2a=>{const _0x2c1c01=_0x5582bb;return _0x31dc2a[_0x2c1c01(0x341)](_0x19f7b5['QmqyE'],{'type':_0x19f7b5[_0x2c1c01(0x2aa)],'description':_0x19f7b5['RVymO'],'demandOption':!![]})['positional']('key',{'type':_0x19f7b5['CexDi'],'description':_0x19f7b5['kACwH'],'demandOption':!![]})['positional'](_0x19f7b5['Grwzf'],{'type':_0x2c1c01(0x2de),'description':_0x19f7b5['jmros'],'demandOption':!![]});},async _0x522cbc=>{const _0x38c77e=_0x5582bb;await withTelemetry(_0x46f250[_0x38c77e(0x30a)],()=>configSet(_0x522cbc[_0x38c77e(0x2c1)],_0x522cbc[_0x38c77e(0x2f7)],_0x522cbc[_0x38c77e(0x2bd)]));})['command'](_0x3a6e96['WJqBw'],'Get\x20a\x20config\x20value',_0x369881=>{const _0x1fbde5=_0x5582bb;return _0x369881['positional']('profile',{'type':'string','description':_0x19f7b5[_0x1fbde5(0x248)],'demandOption':!![]})['positional'](_0x19f7b5['KMvWG'],{'type':_0x19f7b5['CexDi'],'description':_0x19f7b5[_0x1fbde5(0x1da)],'demandOption':!![]});},async _0x224424=>{const _0x5d111a=_0x5582bb;await withTelemetry(_0x5d111a(0x221),()=>configGet(_0x224424['profile'],_0x224424['key']));})[_0x5582bb(0x244)](_0x3a6e96[_0x5582bb(0x2c6)],_0x3a6e96[_0x5582bb(0x1d4)],_0x5e3237=>{const _0x678489=_0x5582bb;return _0x5e3237[_0x678489(0x341)](_0x46f250['TqhqU'],{'type':_0x46f250[_0x678489(0x30f)],'description':'Profile\x20name','demandOption':!![]});},async _0x31bc83=>{const _0x2afc6d=_0x5582bb;await _0x46f250[_0x2afc6d(0x222)](withTelemetry,_0x46f250[_0x2afc6d(0x1fe)],()=>configList(_0x31bc83['profile']));})['command'](_0x3a6e96['JiHdT'],_0x3a6e96[_0x5582bb(0x323)],_0x5c5a71=>{const _0x5d65ad=_0x5582bb;return _0x5c5a71['positional']('profile',{'type':'string','description':_0x5d65ad(0x1b0),'demandOption':!![]})['positional'](_0x46f250['cYNvz'],{'type':'string','description':_0x5d65ad(0x34b),'demandOption':!![]});},async _0xb63e73=>{await _0x19f7b5['Wpmdl'](withTelemetry,'profile\x20config\x20unset',()=>configUnset(_0xb63e73['profile'],_0xb63e73['key']));})['command'](_0x3a6e96['ntDRt'],_0x5582bb(0x2d4),_0x5411c0=>{const _0x13256f=_0x5582bb;return _0x5411c0[_0x13256f(0x341)](_0x46f250['TqhqU'],{'type':'string','description':_0x13256f(0x1b0),'demandOption':!![]});},async _0x1a4ce1=>{const _0x558e47=_0x5582bb;await _0x19f7b5[_0x558e47(0x1d5)](withTelemetry,_0x19f7b5['RQDun'],()=>configReset(_0x1a4ce1[_0x558e47(0x2c1)]));})[_0x5582bb(0x1ec)](0x1,_0x3a6e96['fRViv']);})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})[_0x488281(0x244)](_0x3a6e96[_0x488281(0x330)],'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{const _0x596c9f=_0x488281;await withTelemetry(_0x3a6e96[_0x596c9f(0x330)],()=>status());})[_0x488281(0x244)]('update','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x357293=_0x488281;await withTelemetry(_0x357293(0x20e),()=>update());})[_0x488281(0x244)](_0x3a6e96[_0x488281(0x25d)],_0x3a6e96[_0x488281(0x33a)],()=>{},async()=>{const _0x143e48=_0x488281;await _0x3a6e96[_0x143e48(0x258)](withTelemetry,_0x143e48(0x2a0),async()=>{const _0x3d1358=_0x143e48,_0x2042ef=await getToken();if(!_0x2042ef)throw new Error(_0x3d1358(0x284));console['log'](_0x2042ef);});})[_0x488281(0x244)]('go',_0x488281(0x34d),_0xcb03a1=>{const _0x57dca7=_0x488281;return _0xcb03a1[_0x57dca7(0x312)]('feature',{'type':_0x57dca7(0x2de),'description':'Optional\x20feature\x20ID'})['option']('profile',{'type':_0x3a6e96[_0x57dca7(0x33e)],'description':_0x3a6e96[_0x57dca7(0x28a)]})[_0x57dca7(0x312)]('notes',{'type':'string','description':_0x3a6e96['Jnden']})[_0x57dca7(0x312)](_0x3a6e96[_0x57dca7(0x1af)],{'type':_0x3a6e96[_0x57dca7(0x2ab)],'description':'Scenario\x20index\x20(1-based)'})['option'](_0x3a6e96['XrBUq'],{'type':_0x3a6e96['GrcTD'],'description':_0x3a6e96[_0x57dca7(0x357)]})[_0x57dca7(0x312)](_0x3a6e96['LnuuO'],{'type':'string','description':_0x3a6e96['skwPS']})['option'](_0x3a6e96['khDDp'],{'type':_0x57dca7(0x2de),'description':_0x3a6e96['rAorf']})[_0x57dca7(0x312)](_0x57dca7(0x1d2),{'type':'boolean','description':_0x3a6e96[_0x57dca7(0x305)],'default':![]})[_0x57dca7(0x312)](_0x3a6e96[_0x57dca7(0x287)],{'type':_0x57dca7(0x2de),'hidden':!![],'choices':[_0x57dca7(0x256),_0x3a6e96[_0x57dca7(0x292)],_0x3a6e96['LwKzn'],'failed',_0x3a6e96[_0x57dca7(0x198)]]})[_0x57dca7(0x312)](_0x3a6e96[_0x57dca7(0x1ea)],{'type':_0x57dca7(0x289),'hidden':!![]})['option'](_0x57dca7(0x1b9),{'type':_0x57dca7(0x2de),'hidden':!![]})['option'](_0x57dca7(0x1a3),{'type':_0x57dca7(0x2de),'hidden':!![]})[_0x57dca7(0x312)](_0x3a6e96['nCRyo'],{'type':_0x3a6e96['pxioj'],'hidden':!![]});},async _0x3beaa0=>{await runGoCommand(_0x3beaa0);})[_0x488281(0x244)](_0x488281(0x2d9),![],_0x3502d2=>{const _0x455ebb={'PxBtN':_0x3a6e96['czjJM'],'gtSrY':_0x3a6e96['GrcTD']};return _0x3502d2['command']('encrypt\x20<profile>',![],_0x1caa4d=>{const _0x2982ac=_0x2d80;return _0x1caa4d[_0x2982ac(0x341)](_0x455ebb[_0x2982ac(0x28c)],{'type':_0x455ebb[_0x2982ac(0x252)],'description':_0x2982ac(0x1b0),'demandOption':!![]});},async _0x1458fc=>{const _0x3a6434=_0x2d80;warnRenamed(_0x3a6434(0x1f4),_0x3a6434(0x21a)),await authEncrypt(_0x1458fc['profile']);})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command'](_0x3a6e96[_0x488281(0x1e3)],![],_0x5e867e=>{const _0x56e31a=_0x488281;return _0x5e867e[_0x56e31a(0x341)](_0x56e31a(0x1cd),{'type':_0x3a6e96['GrcTD'],'description':_0x56e31a(0x24e)})['option'](_0x3a6e96['vpbmn'],{'type':_0x3a6e96['cYTIP'],'description':_0x3a6e96[_0x56e31a(0x1f2)],'default':![]})['option'](_0x3a6e96[_0x56e31a(0x1fd)],{'type':'string','choices':[_0x3a6e96[_0x56e31a(0x260)]],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x56e31a(0x312)](_0x56e31a(0x2b7),{'type':_0x56e31a(0x2de),'description':_0x3a6e96[_0x56e31a(0x214)]})[_0x56e31a(0x312)]('force',{'type':'boolean','description':_0x3a6e96['ACxlp'],'default':![]})[_0x56e31a(0x312)](_0x56e31a(0x25f),{'type':_0x3a6e96[_0x56e31a(0x2ce)],'description':_0x3a6e96[_0x56e31a(0x2da)],'default':![]})[_0x56e31a(0x312)](_0x56e31a(0x203),{'type':_0x3a6e96[_0x56e31a(0x2ce)],'description':_0x3a6e96[_0x56e31a(0x257)],'default':![]});},async _0x55cfc1=>{const _0x32e4bd=_0x488281;warnRenamed(_0x3a6e96[_0x32e4bd(0x26e)],_0x3a6e96['YRFSZ']),await _0x3a6e96['DZCbT'](withTelemetry,'start',_0x4890ff=>start(_0x55cfc1[_0x32e4bd(0x1cd)],{'skipChromium':_0x55cfc1['skip-chromium'],'skipAuth':_0x55cfc1[_0x32e4bd(0x25f)],'withDeps':_0x55cfc1[_0x32e4bd(0x203)],'scope':_0x55cfc1[_0x32e4bd(0x212)],'url':_0x55cfc1['url'],'force':_0x55cfc1['force']},_0x4890ff));})[_0x488281(0x244)](_0x488281(0x27a),![],_0x3c79ce=>{const _0x3cff4d=_0x488281;return _0x3c79ce['option'](_0x3cff4d(0x1b9),{'type':_0x3cff4d(0x2de),'description':_0x3a6e96['DpWZk']})[_0x3cff4d(0x312)](_0x3cff4d(0x1a3),{'type':_0x3cff4d(0x2de),'description':_0x3a6e96['bTgBo']})[_0x3cff4d(0x312)](_0x3cff4d(0x233),{'type':_0x3a6e96[_0x3cff4d(0x2ab)],'description':'Scenario\x20index\x20(1-based)'})[_0x3cff4d(0x312)](_0x3cff4d(0x2c1),{'type':_0x3a6e96['GrcTD'],'hidden':!![]})[_0x3cff4d(0x312)](_0x3a6e96['lAFKZ'],{'type':_0x3cff4d(0x2de),'hidden':!![]})['option']('scenario',{'type':_0x3cff4d(0x335),'hidden':!![]})['option']('start-path',{'type':'string','description':_0x3a6e96['weQEG']})['option']('base-url',{'type':_0x3a6e96['GrcTD'],'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x3cff4d(0x312)]('model',{'type':'string','hidden':!![]})['option'](_0x3cff4d(0x1d2),{'type':_0x3cff4d(0x289),'hidden':!![],'default':![]})[_0x3cff4d(0x312)](_0x3a6e96[_0x3cff4d(0x287)],{'type':_0x3cff4d(0x2de),'hidden':!![],'choices':['verified',_0x3cff4d(0x32f),_0x3a6e96['LwKzn'],'failed','incomplete']});},async _0x167c0b=>{await runGoCommand(_0x167c0b,!![]);})[_0x488281(0x244)](_0x3a6e96['sRAFA'],![],_0x379b9e=>{const _0x4fed46=_0x488281;return _0x379b9e[_0x4fed46(0x341)]('env-name',{'type':_0x3a6e96[_0x4fed46(0x33e)],'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x4fed46(0x312)]('ci',{'type':'boolean','description':_0x4fed46(0x264),'default':![]})[_0x4fed46(0x312)]('skip-auth',{'type':'boolean','description':_0x4fed46(0x2f5),'default':![]});},async _0x17c189=>{const _0x4e268e=_0x488281;_0x3a6e96[_0x4e268e(0x229)](warnRenamed,'ranger\x20add\x20env',_0x3a6e96['kfqtU']),await _0x3a6e96[_0x4e268e(0x1a9)](withTelemetry,_0x3a6e96['ucYSv'],_0x4e4f18=>addEnv(_0x17c189[_0x4e268e(0x2cf)],{'ci':_0x17c189['ci'],'skipAuth':_0x17c189[_0x4e268e(0x25f)]},_0x4e4f18));})['command'](_0x488281(0x21e),![],_0x74a7fd=>{const _0x22b8cc=_0x488281;return _0x74a7fd[_0x22b8cc(0x341)](_0x3a6e96['CMnZD'],{'type':_0x3a6e96[_0x22b8cc(0x33e)],'description':_0x3a6e96[_0x22b8cc(0x1d6)],'demandOption':!![]});},async _0x48948a=>{const _0x239899=_0x488281;warnRenamed(_0x3a6e96['AIywW'],_0x239899(0x2a8)),await withTelemetry(_0x239899(0x32e),()=>useEnv(_0x48948a['env-name']));})['command']('config',![],_0x450b83=>{const _0xde0402=_0x488281,_0x9378bd={'kpapi':_0xde0402(0x2bc),'SpDtN':_0xde0402(0x2f7),'vgkie':_0x3a6e96[_0xde0402(0x33e)],'PykrW':_0xde0402(0x262),'chsHY':function(_0x124b95,_0x3672e9,_0x46365f){return _0x3a6e96['jDOnr'](_0x124b95,_0x3672e9,_0x46365f);},'pFdHE':'ranger\x20profile\x20config\x20list','ykdEK':function(_0x522faa,_0x46790a,_0x2c4d15){return _0x522faa(_0x46790a,_0x2c4d15);},'npqJo':_0x3a6e96['ynPXD']};return _0x450b83['command'](_0xde0402(0x1b2),![],_0x4258f0=>{const _0x2bf875=_0xde0402;return _0x4258f0[_0x2bf875(0x341)]('env',{'type':_0x2bf875(0x2de),'description':_0x2bf875(0x2bc),'demandOption':!![]})['positional'](_0x3a6e96[_0x2bf875(0x1b1)],{'type':_0x3a6e96[_0x2bf875(0x33e)],'description':_0x3a6e96[_0x2bf875(0x267)],'demandOption':!![]})['positional']('value',{'type':'string','description':_0x3a6e96[_0x2bf875(0x34e)],'demandOption':!![]});},async _0x2dfbcb=>{const _0xdf9842=_0xde0402;_0x3a6e96['ATsEg'](warnRenamed,_0xdf9842(0x326),'ranger\x20profile\x20config\x20set'),await withTelemetry(_0x3a6e96['LJyRs'],()=>configSet(_0x2dfbcb[_0xdf9842(0x1b9)],_0x2dfbcb[_0xdf9842(0x2f7)],_0x2dfbcb['value']));})[_0xde0402(0x244)]('get\x20<env>\x20<key>',![],_0x232cdf=>{const _0x21a55d=_0xde0402;return _0x232cdf[_0x21a55d(0x341)]('env',{'type':_0x21a55d(0x2de),'description':_0x9378bd[_0x21a55d(0x27d)],'demandOption':!![]})['positional'](_0x9378bd['SpDtN'],{'type':_0x9378bd[_0x21a55d(0x2b0)],'description':'Config\x20key','demandOption':!![]});},async _0x34a150=>{const _0x43387c=_0xde0402;warnRenamed('ranger\x20config\x20get',_0x43387c(0x1a8)),await withTelemetry(_0x9378bd['PykrW'],()=>configGet(_0x34a150['env'],_0x34a150['key']));})[_0xde0402(0x244)](_0xde0402(0x332),![],_0x2582e6=>{return _0x2582e6['positional']('env',{'type':_0x3a6e96['GrcTD'],'description':'Environment\x20name','demandOption':!![]});},async _0x1c4bba=>{const _0x2ada91=_0xde0402;_0x9378bd['chsHY'](warnRenamed,_0x2ada91(0x30b),_0x9378bd['pFdHE']),await _0x9378bd['ykdEK'](withTelemetry,_0x2ada91(0x32a),()=>configList(_0x1c4bba['env']));})[_0xde0402(0x244)](_0xde0402(0x349),![],_0x233196=>{const _0x41bbde=_0xde0402;return _0x233196[_0x41bbde(0x341)](_0x41bbde(0x1b9),{'type':_0x9378bd[_0x41bbde(0x2b0)],'description':_0x9378bd[_0x41bbde(0x27d)],'demandOption':!![]})[_0x41bbde(0x341)](_0x41bbde(0x2f7),{'type':_0x9378bd[_0x41bbde(0x2b0)],'description':_0x9378bd['npqJo'],'demandOption':!![]});},async _0x13ab58=>{const _0x2c716f=_0xde0402;_0x3a6e96[_0x2c716f(0x258)](warnRenamed,_0x3a6e96['iThmI'],_0x2c716f(0x1c8)),await _0x3a6e96[_0x2c716f(0x2a7)](withTelemetry,_0x3a6e96[_0x2c716f(0x2e6)],()=>configUnset(_0x13ab58[_0x2c716f(0x1b9)],_0x13ab58[_0x2c716f(0x2f7)]));})[_0xde0402(0x1ec)](0x1,_0xde0402(0x23e));})['command']('env',![],_0x4f59da=>{const _0x42253e=_0x488281,_0x54a020={'GGFBM':function(_0x852d19,_0x3e91a0,_0x350ba6){const _0x154d30=_0x2d80;return _0x3a6e96[_0x154d30(0x239)](_0x852d19,_0x3e91a0,_0x350ba6);},'GseKr':_0x3a6e96['ytOLG']};return _0x4f59da['command']('ls',![],()=>{},async()=>{const _0x5bb165=_0x2d80;warnRenamed(_0x5bb165(0x2cc),_0x5bb165(0x2c2)),await _0x54a020[_0x5bb165(0x310)](withTelemetry,_0x5bb165(0x22e),()=>envList());})['command'](_0x3a6e96['VihrV'],![],_0x27ed28=>{const _0x17741d=_0x2d80;return _0x27ed28['positional'](_0x17741d(0x2cf),{'type':'string','description':_0x54a020['GseKr'],'demandOption':!![]});},async _0x1403fb=>{const _0x3f3c26=_0x2d80;warnRenamed(_0x3a6e96[_0x3f3c26(0x2a3)],_0x3f3c26(0x1e7)),await _0x3a6e96[_0x3f3c26(0x348)](withTelemetry,_0x3a6e96[_0x3f3c26(0x240)],_0x15a09=>updateEnv(_0x1403fb['env-name'],_0x15a09));})[_0x42253e(0x1ec)](0x1,_0x42253e(0x299));})['command'](_0x488281(0x333),![],_0x321ef7=>{const _0x1cc467=_0x488281,_0x2d2daa={'fzwoK':function(_0x34f445,_0x7bbcd6,_0x55f2c3){const _0x966325=_0x2d80;return _0x3a6e96[_0x966325(0x2ca)](_0x34f445,_0x7bbcd6,_0x55f2c3);},'TEgYm':_0x3a6e96[_0x1cc467(0x261)],'NdFhk':'ranger\x20list','WyNPM':_0x3a6e96['GrcTD'],'jihHZ':_0x1cc467(0x24d),'JsKac':'ranger\x20resume','RWNqg':_0x1cc467(0x2c7),'kIUpG':function(_0x5a9d00,_0xa7e130,_0x32a4a9){const _0x1a8107=_0x1cc467;return _0x3a6e96[_0x1a8107(0x242)](_0x5a9d00,_0xa7e130,_0x32a4a9);},'wouqX':_0x1cc467(0x1c7),'WWXfR':_0x3a6e96['THPzp'],'SxwEc':function(_0x4ea99c,_0x26ce48,_0x47df7f){return _0x3a6e96['DZCbT'](_0x4ea99c,_0x26ce48,_0x47df7f);},'lylTF':_0x3a6e96['YHazy'],'wUYks':_0x3a6e96['lfUbf']};return _0x321ef7['command'](_0x1cc467(0x207),![],_0x590050=>{const _0x3764b2=_0x1cc467;return _0x590050['positional'](_0x3a6e96[_0x3764b2(0x228)],{'type':_0x3764b2(0x2de),'description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x3764b2(0x2ad),{'type':_0x3a6e96['GrcTD'],'alias':'d','description':_0x3a6e96[_0x3764b2(0x28b)]})[_0x3764b2(0x312)]('checklist',{'type':_0x3a6e96['KypCM'],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option']('scenario',{'type':'array','hidden':!![]});},async _0x506707=>{const _0x3e3700=_0x1cc467;_0x3a6e96['jDOnr'](warnRenamed,'ranger\x20feature\x20create',_0x3e3700(0x1bf)),_0x3a6e96[_0x3e3700(0x208)](warnFlagRenamed,_0x3a6e96['JOmqh'],_0x3a6e96['XKKXj'],_0x3a6e96[_0x3e3700(0x259)]);const _0x48fc02=_0x506707[_0x3e3700(0x194)]||_0x506707['checklist'];await _0x3a6e96[_0x3e3700(0x27f)](withTelemetry,_0x3a6e96[_0x3e3700(0x2d1)],()=>featureCreate(_0x506707['name'],{'description':_0x506707[_0x3e3700(0x2ad)],'scenarios':_0x48fc02}));})['command'](_0x3a6e96['ucVPX'],![],_0x18b0bd=>{const _0x527b75=_0x1cc467;return _0x18b0bd['option']('current-branch',{'type':_0x3a6e96['cYTIP'],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})[_0x527b75(0x312)]('limit',{'type':_0x3a6e96[_0x527b75(0x2ab)],'alias':'l','description':_0x3a6e96[_0x527b75(0x331)],'default':0xa})[_0x527b75(0x312)](_0x527b75(0x246),{'type':_0x3a6e96['pxioj'],'alias':'o','description':_0x527b75(0x2ec),'default':0x0})[_0x527b75(0x312)](_0x3a6e96[_0x527b75(0x19f)],{'type':_0x3a6e96[_0x527b75(0x2ce)],'alias':'d','description':_0x527b75(0x315),'default':![]});},async _0x7e4fde=>{const _0x32fda4=_0x1cc467;_0x2d2daa[_0x32fda4(0x211)](warnRenamed,_0x2d2daa[_0x32fda4(0x1ba)],_0x2d2daa[_0x32fda4(0x253)]),await withTelemetry('feature\x20list',()=>featureList({'currentBranch':_0x7e4fde[_0x32fda4(0x2e0)],'limit':_0x7e4fde[_0x32fda4(0x307)],'offset':_0x7e4fde['offset'],'includeDeleted':_0x7e4fde[_0x32fda4(0x22d)]}));})['command'](_0x1cc467(0x271),![],_0x51c235=>{const _0x3ebe5e=_0x1cc467;return _0x51c235[_0x3ebe5e(0x341)]('id',{'type':_0x3a6e96['GrcTD'],'description':_0x3ebe5e(0x350)});},async _0x291512=>{const _0x5e1c6e=_0x1cc467;_0x3a6e96[_0x5e1c6e(0x265)](warnRenamed,_0x3a6e96['xhqeJ'],_0x3a6e96[_0x5e1c6e(0x2dd)]),await _0x3a6e96[_0x5e1c6e(0x265)](withTelemetry,'feature\x20show',()=>featureShow(_0x291512['id']));})['command'](_0x3a6e96[_0x1cc467(0x34f)],![],_0x336742=>{const _0x3c98f6=_0x1cc467;return _0x336742[_0x3c98f6(0x341)]('id',{'type':_0x2d2daa['WyNPM'],'description':_0x2d2daa['jihHZ']});},async _0x266f88=>{const _0x316a91=_0x1cc467;warnRenamed(_0x316a91(0x351),_0x2d2daa[_0x316a91(0x344)]),await withTelemetry('feature\x20resume',()=>featureResume(_0x266f88['id']));})['command'](_0x1cc467(0x352),![],_0x3cbf90=>{const _0x165aa2=_0x1cc467;return _0x3cbf90['positional'](_0x165aa2(0x2ad),{'type':_0x2d2daa[_0x165aa2(0x1fb)],'description':_0x2d2daa[_0x165aa2(0x343)],'demandOption':!![]})['option']('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x41e7da=>{const _0x5a9f77=_0x1cc467;_0x3a6e96[_0x5a9f77(0x33b)](warnRenamed,'ranger\x20feature\x20add-checklist-item',_0x5a9f77(0x27b)),await withTelemetry(_0x3a6e96[_0x5a9f77(0x231)],()=>featureAddScenario(_0x41e7da[_0x5a9f77(0x2ad)],_0x41e7da['id']));})[_0x1cc467(0x244)](_0x3a6e96[_0x1cc467(0x1c6)],![],_0x40b844=>{const _0x34060b=_0x1cc467;return _0x40b844['positional']('id',{'type':_0x34060b(0x2de),'description':_0x3a6e96[_0x34060b(0x2a2)]});},async _0x63e86f=>{const _0x5ca1e8=_0x1cc467;_0x2d2daa[_0x5ca1e8(0x235)](warnRenamed,_0x2d2daa[_0x5ca1e8(0x220)],_0x2d2daa[_0x5ca1e8(0x1d0)]),await withTelemetry('feature\x20get-feedback',()=>featureGetReview(_0x63e86f['id']));})['command'](_0x1cc467(0x1f9),![],_0x36fb13=>{const _0x4289ec=_0x1cc467;return _0x36fb13['positional']('id',{'type':'string','description':_0x4289ec(0x350)});},async _0x30038f=>{const _0x953373=_0x1cc467;_0x2d2daa['SxwEc'](warnRenamed,_0x2d2daa[_0x953373(0x26f)],_0x2d2daa[_0x953373(0x298)]),await withTelemetry(_0x953373(0x193),()=>featureDelete(_0x30038f['id']));})['command'](_0x1cc467(0x303),![],_0x49e1be=>{const _0xe658ad=_0x1cc467;return _0x49e1be['positional']('id',{'type':_0x3a6e96['GrcTD'],'description':_0x3a6e96[_0xe658ad(0x1fa)],'demandOption':!![]});},async _0x504993=>{const _0x480e0f=_0x1cc467;_0x3a6e96[_0x480e0f(0x21d)](warnRenamed,_0x3a6e96[_0x480e0f(0x1a2)],'ranger\x20restore'),await withTelemetry('feature\x20restore',()=>featureRestore(_0x504993['id']));})[_0x1cc467(0x1ec)](0x1,_0x3a6e96[_0x1cc467(0x27e)]);})['command'](_0x488281(0x2bf),![],_0x3d09d0=>{const _0x53cc67=_0x488281,_0x8b18d7={'BVCDR':_0x3a6e96[_0x53cc67(0x316)]};return _0x3d09d0[_0x53cc67(0x244)](_0x53cc67(0x1b6),_0x3a6e96['jnKvV'],_0x535cea=>{const _0x4ed7c5=_0x53cc67;return _0x535cea['option']('session-id',{'type':_0x4ed7c5(0x2de),'description':_0x4ed7c5(0x2f6)});},async _0x9c3f1e=>{const _0x17ae10=_0x53cc67;await withTelemetry(_0x8b18d7['BVCDR'],()=>hook(_0x17ae10(0x1b6),_0x9c3f1e[_0x17ae10(0x245)]));})[_0x53cc67(0x244)](_0x3a6e96[_0x53cc67(0x236)],'Disable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x2c49fa=>{const _0x364158=_0x53cc67;return _0x2c49fa[_0x364158(0x312)](_0x3a6e96[_0x364158(0x247)],{'type':_0x3a6e96['GrcTD'],'description':_0x3a6e96['yCMtv']});},async _0x498fd3=>{const _0x4a7ad4=_0x53cc67;await withTelemetry(_0x4a7ad4(0x33c),()=>hook(_0x4a7ad4(0x29e),_0x498fd3[_0x4a7ad4(0x245)]));})[_0x53cc67(0x312)]('name',{'type':_0x3a6e96[_0x53cc67(0x33e)],'description':_0x3a6e96['lYaof']})[_0x53cc67(0x312)](_0x3a6e96[_0x53cc67(0x247)],{'type':_0x3a6e96[_0x53cc67(0x33e)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x4c2d05=>{const _0xb74935=_0x488281;_0x4c2d05[_0xb74935(0x1d8)]&&await hook(_0x4c2d05[_0xb74935(0x1d8)],_0x4c2d05[_0x3a6e96[_0xb74935(0x247)]]);})['demandCommand'](0x1,_0x3a6e96[_0x488281(0x19d)])[_0x488281(0x2dc)]()['fail'](async(_0x3a56d2,_0x219cef,_0x1a8c12)=>{const _0x27e421=_0x488281,_0x2d8ae9=_0x3a6e96[_0x27e421(0x1c5)](sanitizeArgs,process['argv'][_0x27e421(0x26a)](0x2)),_0x422591=_0x3a6e96['FFyDp'](getErrorType,_0x3a56d2,_0x219cef);if(_0x3a56d2&&_0x3a56d2[_0x27e421(0x243)](_0x3a6e96[_0x27e421(0x249)])){const _0x5f04df=process[_0x27e421(0x280)][0x2];console[_0x27e421(0x200)](_0x27e421(0x218)+_0x5f04df),console['error'](_0x3a6e96['unnYk']);}else{if(_0x3a56d2)console[_0x27e421(0x200)]('\x0a'+_0x3a56d2+'\x0a');else _0x219cef&&console['error']('\x0aError:\x20'+_0x219cef[_0x27e421(0x216)]+'\x0a');}await logDesirePath({'rawCommand':_0x2d8ae9,'errorMessage':_0x3a56d2||_0x219cef?.['message'],'errorType':_0x422591});const _0x3ee7f6=_0x3a6e96['KwOkb'](getCurrentCollector);_0x3ee7f6&&await _0x3ee7f6[_0x27e421(0x268)](_0x219cef||new Error(_0x3a6e96['eUYvw'](_0x3a56d2,_0x3a6e96[_0x27e421(0x196)]))),process[_0x27e421(0x20f)](0x1);})[_0x488281(0x2e5)](_0x3a6e96['lXgEs'](_0x3a6e96['KoIhq']+_0x488281(0x1df),_0x488281(0x2bb)))[_0x488281(0x202)]()[_0x488281(0x1c3)]('help','h');}function _0x1cbb(){const _0x4310de=['cuSry','unset\x20<env>\x20<key>','status','Config\x20key\x20to\x20remove','skip-chromium','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','rhExF','UpDnh','Feature\x20review\x20ID','ranger\x20feature\x20resume','add-checklist-item\x20<description>','Scenario\x20number\x20to\x20edit\x20(1-based)','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','kwjPo','weQEG','add\x20env\x20<env-name>','ranger\x20start','New\x20scenario\x20description','feature\x20delete','scenario','ranger\x20env\x20update','jCscu','ranger\x20feature\x20show','LzXwu','mYqXX','evaluation','Alias\x20for\x20--mcp-bootstrap','rELum','TQuBG','2375pntcje','hDMDy','omNoW','mgLsu','hfTrv','task','✓\x20Authenticated\x20to\x20','TJRMT','ucVPX','tokenOrSubcommand','ranger\x20profile\x20config\x20get','GAoHb','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','vvGdn','\x20is\x20now\x20','--profile','evaluationReason','WtDHb','Profile\x20name','eNizS','set\x20<env>\x20<key>\x20<value>','rdaVD','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','Run\x20full\x20interactive\x20setup','enable','--env','use\x20<profile-name>','env','TEgYm','profile\x20config\x20reset','list','setup-header','ranger\x20feature\x20delete','ranger\x20create','Summary:\x20','vqeiJ','yeXce','alias','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','IlLvG','rtoyM','ranger\x20feature\x20get-feedback','ranger\x20profile\x20config\x20unset','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','lldMn','repeat','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','token','kxYFI','HOCTL','WWXfR','aRmgA','headed','usage','wbVmn','NhcjB','SBKYM','fnpyV','name','TwByT','sdXEf','hook:enable','get-feedback\x20[id]','TjDgv','Skip\x20Chromium\x20browser\x20installation','\x20\x20https://docs.ranger.net\x0a','get-review\x20[id]','ranger\x20use','YeAIp','DWCUp','PQQhy','setup:all','.\x20[','ranger\x20profile\x20update','tnpBG','XMexw','Qvimb','Evaluation:\x20','demandCommand','nRtwy','ujuUp','severity','report\x20[id]','gjbpt','AfyZI','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','ranger\x20auth\x20encrypt','resume','Login\x20failed:\x20','2nbOczF','czjJM','delete\x20[id]','mQhuB','WyNPM','--scenario','eGAvh','nesHN','ZjzLF','error','blocked','help','with-deps','incomplete','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','profile\x20update','create\x20<name>','nJscT','Ranger\x20API\x20token\x20(rngr_...)','test_output','vFshB','RleWw','update\x20<profile-name>','update','exit','log','fzwoK','scope','GXRdb','sdEKM','2392GrXVyP','message','zUTHA','\x0aUnknown\x20command:\x20','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','ranger\x20profile\x20encrypt-auth','UBarH','summary','FTPkK','use\x20<env-name>','bzPFH','wouqX','profile\x20config\x20get','HMlri','Skip\x20the\x20deletion\x20confirmation\x20prompt.','gfXDL','RGOEP','start\x20[token]','OZliA','jKBLf','DZCbT','Delete\x20a\x20cloud\x20profile','show','tqyyg','include-deleted','env\x20list','TiMac','scriptName','GSvUJ','lXkFU','item','Name\x20of\x20the\x20profile','kIUpG','jtKqB','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','NAgWJ','unset\x20<profile>\x20<key>','ORAxe','report','--checklist','You\x20must\x20specify\x20a\x20config\x20subcommand','start','JbSPW','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','hUbDj','includes','command','session-id','offset','ioAWA','RVymO','eubmF','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','nqUww','✓\x20Login\x20succeeded\x20for\x20\x27','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','--item','safe-mode','ranger\x20go','gtSrY','NdFhk','env\x20update','FRuyF','verified','aFfxP','ATsEg','BysOb','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','add-scenario\x20<description>','fqjto','eHAMt','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','skip-auth','ubfhs','SylIn','config\x20get','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','GysSw','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','kzCVL','trackCommandError','Manage\x20profile\x20configuration','slice','8175516OieebX','feature\x20add-checklist-item','Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.','dCnhb','lylTF','setup:skills','show\x20[id]','json','CVLvl','Set\x20up\x20a\x20local\x20browser\x20profile','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','ranger\x20setup','wbQyX','wodwn','profile\x20use','verify-feature','ranger\x20add-scenario','\x20is\x20no\x20longer\x20supported.\x20','kpapi','GHnUo','eLzRb','argv','dry-run','login','hexRl','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','config','deps','nkojd','\x27.\x20Session\x20saved.','boolean','OiGFJ','bvADJ','PxBtN','debug-outcome','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','stDhl','vIgMJ','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','xhLgP','notes','profiles','exclude-scenario','MOKcB','config\x20set','wUYks','You\x20must\x20specify\x20an\x20env\x20subcommand','BjpVQ','mcp','Install\x20Ranger\x20skills','HsupL','disable','\x20INCOMPLETE','print-access-token','skillup','xaRrg','KcLMb','Itjms','\x0aIssues:','NeElD','NdBzz','ranger\x20profile\x20use','some','CexDi','pxioj','FCTaC','description','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','ranger\x20profile\x20add','vgkie','gDWbx','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','ranger\x20show','edit-scenario\x20<description>','LAlTU','cdp-endpoint','url','Update\x20authentication\x20for\x20an\x20existing\x20profile','checklist','ACxlp','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','Environment\x20name','value','encrypt-auth\x20<profile>','hook','user','profile','ranger\x20profile\x20ls','profile-name','force','forEach','zyLNR','Scenario\x20description','HDCDF','Skip\x20authentication','itDUh','list\x20<profile>','ranger\x20env\x20ls','MxQnY','cYTIP','env-name','20514610KvMxhe','WEDIs','fWxkm','test','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','35819FyEytz','Switch\x20to\x20using\x20a\x20specific\x20profile','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','1054014vMOedN','auth','lXOOg','jXNJJ','strictCommands','wKYmP','string','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','current-branch','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','Subcommand\x20or\x20API\x20token\x20(rngr_...)','mcp-bootstrap','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','epilogue','HyVll','setup-ci','QKBQY','AkerK','EniDy','RORZy','Number\x20of\x20feature\x20reviews\x20to\x20skip','Initialize\x20Ranger\x20in\x20your\x20project','dvGqH','save-creds','1240821nxXPem','Config\x20key','Name\x20of\x20the\x20environment','unhandledRejection','Install\x20OS-level\x20dependencies\x20for\x20Chromium','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','key','Add\x20profile\x20configuration','clean','YLbuj','8807868hyfOzv','aqttb','amGxh','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','array','start-path','cwd','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','restore\x20<id>','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','iQZTT','ATWdq','limit','Unknown\x20error','pqgTL','GCJtd','ranger\x20config\x20list','config\x20unset','not_configured','Install\x20skills\x20for\x20OpenCode','pYowy','GGFBM','success','option','LbCed','gXZpX','Include\x20soft-deleted\x20feature\x20reviews','puoRT','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201','ranger\x20feature\x20restore','get-review','Documentation:\x0a','ylkdQ','9780kjZTYz','Authenticate\x20with\x20Ranger','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','kHmHT','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','pguyC','Install\x20scope\x20for\x20skills','xZSLn','qKmbS','opencode','ranger\x20config\x20set','caMNB','Tbfpi','LXiXH','config\x20list','aMBuI','JTXEe','EfLJl','use','partial','dqmSd','DxNUZ','list\x20<env>','feature','GnhOa','number','DlqnY','claude','paVOt','base-url','wiuKC','FFyDp','hook:disable','issues','GrcTD','buYyJ','vgDRm','positional','Reason:\x20','RWNqg','JsKac','yes','debug-address-comments','allow-insecure-localhost'];_0x1cbb=function(){return _0x4310de;};return _0x1cbb();}process[_0x463399(0x1b9)]['NODE_ENV']!==_0x463399(0x2d3)&&(shouldShowLegacyWarning(process[_0x463399(0x280)])&&showLegacyDeprecationWarning(),buildParser()['parse']());
|
|
2
|
+
const _0x1d5d8a=_0x1bb4;(function(_0x5f5619,_0x39abe4){const _0x218873=_0x1bb4,_0x4e1814=_0x5f5619();while(!![]){try{const _0x32b86d=-parseInt(_0x218873(0x349))/0x1+-parseInt(_0x218873(0x2a8))/0x2+-parseInt(_0x218873(0x2f0))/0x3*(-parseInt(_0x218873(0x2ec))/0x4)+-parseInt(_0x218873(0x383))/0x5+parseInt(_0x218873(0x26c))/0x6*(parseInt(_0x218873(0x2fb))/0x7)+-parseInt(_0x218873(0x1f1))/0x8*(parseInt(_0x218873(0x2a7))/0x9)+-parseInt(_0x218873(0x200))/0xa*(-parseInt(_0x218873(0x23b))/0xb);if(_0x32b86d===_0x39abe4)break;else _0x4e1814['push'](_0x4e1814['shift']());}catch(_0x3e16b3){_0x4e1814['push'](_0x4e1814['shift']());}}}(_0xe489,0x4f9ca));import _0x4382cc from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x5c712a=_0x1bb4,_0xefe8e2={'vpQDP':function(_0x114cfd,_0x104fc0){return _0x114cfd(_0x104fc0);},'KiRDC':'.ranger','KIymn':function(_0x34af50,_0x5a7a0e){return _0x34af50(_0x5a7a0e);},'KqRWM':function(_0x4e5709,_0x396ff0,_0x287f39){return _0x4e5709(_0x396ff0,_0x287f39);},'CriHL':_0x5c712a(0x300)};let _0x125361=process['cwd']();const _0x23314c=_0xefe8e2['vpQDP'](parse,_0x125361)['root'];while(_0x125361!==_0x23314c){if(existsSync(join(_0x125361,_0xefe8e2[_0x5c712a(0x28b)]))||_0xefe8e2['KIymn'](existsSync,_0xefe8e2['KqRWM'](join,_0x125361,_0xefe8e2['CriHL'])))return _0x125361;_0x125361=dirname(_0x125361);}return process['cwd']();}_0x4382cc[_0x1d5d8a(0x202)]({'path':join(findProjectRoot(),_0x1d5d8a(0x300))});import _0x5360a0 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';function _0xe489(){const _0x5f5c03=['Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','QPZLD','IjymI','WLyeG','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','kJSax','ILTxI','create\x20<name>','Skip\x20authentication','zUtfU','45OPbQRd','744242Sljihu','test_output','Manage\x20profiles','tokenOrSubcommand','ncQfP','nLzSU','include-deleted','XNnLR','kgujU','--checklist','yGyjl','xhzOU','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','profile\x20config\x20reset','tAvSy','evaluation','EOqaX','profile\x20config\x20get','env-name','dXGbB','dpCql','unset\x20<env>\x20<key>','LWENc','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','uurBt','KjZoY','VfBTe','config\x20list','feature\x20create','SUfdv','WzMOW','blocked','opencode','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','task','rangerwright-cli','KVriU','positional','VZojT','SSOUH','kEQSJ','You\x20must\x20specify\x20a\x20config\x20subcommand','Feature\x20review\x20ID','kwRgP','log','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','set\x20<profile>\x20<key>\x20<value>','with-deps','Authenticate\x20via\x20MCP\x20proxy','UWvPN','verified','DUNme','list','KVsqO','RANGER_PROFILE','iblHh','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','ranger\x20delete','ranger\x20feature\x20restore','dry-run','Profile\x20name','filter','Optional\x20feature\x20ID','✓\x20Authenticated\x20to\x20','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','session-id','4PFppRQ','includes','fXDOR','UGLyP','782151ulkVOg','aXfEh','BNOxg','allow-insecure-localhost','notes','kgvFM','ranger\x20feature\x20add-checklist-item','profile\x20config\x20unset','ClgXt','force','gXLcQ','3206959kUDjxp','claude','manual','option','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','.env','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','current-branch','skip-chromium','demandCommand','hCDIE','start\x20[token]','\x20PARTIAL','--task','srRXn','Scenario\x20description','ZwMJx','report\x20[id]','feature\x20restore','avVeH','tLukD','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','ranger\x20feature\x20show','KxTbM','\x27.\x20Session\x20saved.','TFNIl','skillup','description','WDkSE','wYCmG','token','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.','--env','CnODT','xOGOu','show\x20[id]','lzJIC','delete','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','ranger\x20feature\x20list','scriptName','ONzUD','value','user','Base\x20URL\x20of\x20the\x20running\x20app','hook','hzGOC','restore','jWOsD','Install\x20Ranger\x20skills','MxUNS','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','ranger\x20setup\x20profiles\x20--scope=','Set\x20a\x20config\x20value','evaluationReason','oncAn','AeIXa','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','deps','Evaluation:\x20','MNWZw','ZBdDS','PtUAF','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','profile\x20update','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','disable','url','NvfBH','ahQUx','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','login\x20<name>','argv','qwrHD','eTpit','ranger\x20profile\x20encrypt-auth','TehpH','521023eUNxyX','ranger\x20feature\x20get-feedback','IrgyE','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','lybET','ranger\x20list','ranger\x20start','DKQxX','Name\x20of\x20the\x20profile\x20to\x20update','zYJFn','jhOXz','Documentation:\x0a','BwUuu','string','setup\x20[tokenOrSubcommand]','cxNCd','vUbzm','scope','QkaLZ','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','ranger\x20resume','QXSGl','headed','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','ranger\x20go','yJtWo','array','command','unMWa','fMGsL','profile\x20add','TMtSu','item','delete\x20<profile-name>','message','Name\x20of\x20the\x20environment','sFhvH','setup-header','Print\x20the\x20current\x20CLI\x20access\x20token','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','AtUST','profile','vJwkX','update','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','Owdmc','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','playwright-cli','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','Config\x20key\x20to\x20remove','oMEUo','ranger\x20restore','unset\x20<profile>\x20<key>','reset\x20<profile>','Jojtf','NonOo','qEUzk','error','3251330hocJpb','smmjl','split','add-scenario\x20<description>','key','HlIhc','feeKh','XMxce','SyVno','VQcIV','OcGYb','failed','QIjNf','list\x20<profile>','VKmAw','FQwBw','UXBxk','Scenario\x20number\x20to\x20edit\x20(1-based)','TuNOj','profiles','ranger\x20add-scenario','NgjRr','vQxeh','aUSUY','get\x20<profile>\x20<key>','ranger\x20create','model','pnAlY','parse','KcwLb','OFvKj','SmBjp','GiQaG','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','WkAYY','maOtE','lGVAo','XslUl','QYKuV','EqnEj','KpHBP','lPYGh','list\x20<env>','Yxhrd','196120eZuZXZ','cdp-endpoint','Cloud\x20profile\x20name','HXYEf','profile\x20login','hGsab','DWBpR','vniMC','debug-outcome','csWtG','GWpQi','forEach','show','profile\x20delete','WBXZT','30JqlrBM','AmLxG','config','nqSzs','DmBlk','Include\x20soft-deleted\x20feature\x20reviews','jIGUU','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','migrate\x20[profile-name]','mcp-bootstrap','CntXI','Akfgd','base-url','update\x20<profile-name>','restore\x20<id>','wOzHc','TlNDg','ranger\x20add\x20env','You\x20must\x20specify\x20a\x20command','DRzQh','slice','feature\x20list','json','cVllm','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','KKIxd','amLgT','delete\x20[id]','ranger\x20profile\x20config\x20list','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','fbpCX','RaTvS','ydDGC','status','ZBhmz','encrypt\x20<profile>','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','Gkmla','boolean','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','map','enable','feature\x20add-checklist-item','nLEdq','List\x20all\x20profiles','tbcWS','\x20is\x20now\x20','aIdzi','feature\x20delete','qlaoB','HdxJq','\x0aIssues:','usage','Alias\x20for\x20--mcp-bootstrap','WFzey','ranger\x20profile\x20update','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','yes','4668477DURVoP','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','UmBWE','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','kzBYi','ranger','RdORN','cVwPn','NODE_ENV','MvnPl','Switch\x20to\x20using\x20a\x20specific\x20profile','ranger\x20profile\x20config\x20get','AgWvI','pSmrL','FgXOt','SBsIj','Config\x20key','profile-name','You\x20must\x20specify\x20a\x20profile\x20subcommand','Skip\x20the\x20deletion\x20confirmation\x20prompt.','profile\x20ls','Reason:\x20','debug-address-comments','ranger\x20profile\x20ls','uNGYD','setup:all','PamsS','GjIFj','ranger\x20profile\x20use','xJTHl','ranger\x20profile\x20config\x20set','offset','set\x20<env>\x20<key>\x20<value>','YElIp','all','repeat','.\x20[','TQYxa','zLCXq','Feature\x20review\x20description','dPcWy','setup-ci\x20<token>','scenario','TZWKC','name','✓\x20Login\x20succeeded\x20for\x20\x27','Login\x20failed:\x20','profile\x20encrypt-auth','mcp','6UdpRpH','incomplete','jjQQk','skip-auth','organizationName','Skip\x20browser\x20authentication','exit','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','encrypt-auth\x20<profile>','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','Delete\x20a\x20cloud\x20profile','Install\x20OS-level\x20dependencies\x20for\x20Chromium','vecnf','setup:login','cwGZV','unknown\x20error','\x20\x20https://docs.ranger.net\x0a','whaDa','wiQac','env','RcOla','trackCommandError','nSpNp','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','ranger\x20profile\x20config\x20unset','checklist','env-var','auth','cZCZe','limit','Scenario\x20index\x20(1-based)','KiRDC','xiCvK','fJlkD','ERPge','wrJvp','config\x20unset','number','List\x20all\x20feature\x20reviews','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','dlOyK','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','Uffbt','HJswO','eqNFP','qdXOJ','some','Update\x20authentication\x20for\x20an\x20existing\x20profile','env\x20list'];_0xe489=function(){return _0x5f5c03;};return _0xe489();}import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x3cb372=>{const _0x20b4b4=_0x1d5d8a,_0x4d2a98={'PamsS':function(_0x35707e){return _0x35707e();}},_0x5999ee=_0x4d2a98[_0x20b4b4(0x255)](getCurrentCollector);_0x5999ee&&await _0x5999ee['trackCommandError'](_0x3cb372),process['exitCode']=0x1;});const rawArgs=process[_0x1d5d8a(0x344)]['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 _0x1bb4(_0x1d5969,_0x5668b4){_0x1d5969=_0x1d5969-0x1df;const _0xe48948=_0xe489();let _0x1bb43a=_0xe48948[_0x1d5969];return _0x1bb43a;}function warnRenamed(_0x245187,_0x1119dd){const _0x51782c=_0x1d5d8a;console[_0x51782c(0x382)]('\x0a'+_0x245187+_0x51782c(0x22e)+_0x1119dd+'\x0a');}function argUsed(_0x39b6fe){const _0x2c5068=_0x1d5d8a;return rawArgs[_0x2c5068(0x29a)](_0x34812e=>_0x34812e===_0x39b6fe||_0x34812e['startsWith'](_0x39b6fe+'='));}function warnFlagRenamed(_0x16e9e3,_0x255174,_0x1f4754){const _0x2b3cc8=_0x1d5d8a,_0x355f2e={'qdXOJ':function(_0x128b25,_0x23c261){return _0x128b25(_0x23c261);},'Vrykz':function(_0x23c798,_0x1644ba,_0x54a4db){return _0x23c798(_0x1644ba,_0x54a4db);}};_0x355f2e[_0x2b3cc8(0x299)](argUsed,_0x255174)&&_0x355f2e['Vrykz'](warnRenamed,_0x16e9e3+'\x20'+_0x255174,_0x16e9e3+'\x20'+_0x1f4754);}function normalizeEnvVarNames(_0x30c7a0){const _0x287aa8=_0x1d5d8a,_0x531c03=Array['isArray'](_0x30c7a0)?_0x30c7a0:_0x30c7a0?[_0x30c7a0]:[];return _0x531c03['flatMap'](_0x389c2f=>String(_0x389c2f)[_0x287aa8(0x385)](',')[_0x287aa8(0x228)](_0x1c0f96=>_0x1c0f96['trim']())[_0x287aa8(0x2e7)](Boolean));}async function runGoCommand(_0x1fe9a2,_0x3ca861=![]){const _0xa3dd58=_0x1d5d8a,_0x2867ea={'ezqGX':'ranger\x20verify-feature','ZBhmz':_0xa3dd58(0x361),'rVNFK':_0xa3dd58(0x31b),'Uswkw':'--profile','unMWa':function(_0x9395f6,_0xcc7c3c,_0x2b3f20,_0xc5bfeb){return _0x9395f6(_0xcc7c3c,_0x2b3f20,_0xc5bfeb);},'HdxJq':_0xa3dd58(0x308),'ZJoMQ':'--notes','aBTIX':'--scenario','PGuPM':function(_0x36a753){return _0x36a753();},'hzGOC':_0xa3dd58(0x286),'XXOvG':function(_0x195cbe){return _0x195cbe();},'zLCXq':function(_0x8a098d,_0x884c28){return _0x8a098d>_0x884c28;},'VVIGj':function(_0x44c5e7,_0x5653af){return _0x44c5e7!==_0x5653af;},'zXatO':_0xa3dd58(0x378),'uusaJ':_0xa3dd58(0x2cc),'UGLyP':'start-path','AgWvI':_0xa3dd58(0x1f9),'ziQVL':_0xa3dd58(0x251),'DRzQh':function(_0x4c5853,_0x1a2488){return _0x4c5853===_0x1a2488;},'SVFJJ':_0xa3dd58(0x2dc),'FQwBw':'\x20VERIFIED','vecnf':function(_0x142d5d,_0x1c2521){return _0x142d5d===_0x1c2521;},'EyBWR':'\x20INCOMPLETE','lUXkS':_0xa3dd58(0x307),'dtzJc':_0xa3dd58(0x2c8),'TwRuJ':'\x20FAILED'};_0x3ca861&&warnRenamed(_0x2867ea['ezqGX'],_0xa3dd58(0x361));warnFlagRenamed(_0x2867ea[_0xa3dd58(0x222)],_0x2867ea['rVNFK'],_0x2867ea['Uswkw']),_0x2867ea[_0xa3dd58(0x365)](warnFlagRenamed,_0xa3dd58(0x361),_0x2867ea[_0xa3dd58(0x232)],_0x2867ea['ZJoMQ']),warnFlagRenamed(_0x2867ea[_0xa3dd58(0x222)],'--item',_0x2867ea['aBTIX']);const _0x59cb2b=await loadRangerConfig(),_0x58d899=_0x2867ea['PGuPM'](isByokEnabled),_0x477c2f=_0x1fe9a2['model'],_0x2d20d4=_0x59cb2b['model'],_0x26a5e8=normalizeEnvVarNames(_0x1fe9a2[_0x2867ea[_0xa3dd58(0x329)]]),_0x2895c3=_0x2867ea['XXOvG'](getVerificationTransport);if(_0x2867ea[_0xa3dd58(0x261)](_0x26a5e8['length'],0x0)&&_0x2867ea['VVIGj'](_0x2895c3,_0x2867ea['zXatO'])&&_0x2895c3!==_0x2867ea['uusaJ'])throw new Error(_0xa3dd58(0x32e)+_0x2895c3+'.');const _0x342895=await verifyFeature({'featureId':_0x1fe9a2['feature'],'profile':_0x1fe9a2[_0xa3dd58(0x372)]??_0x1fe9a2['env']??process['env'][_0xa3dd58(0x2e0)],'notes':_0x1fe9a2['notes']??_0x1fe9a2[_0xa3dd58(0x2cb)],'scenario':_0x1fe9a2['scenario']??_0x1fe9a2[_0xa3dd58(0x369)],'startPath':_0x1fe9a2[_0x2867ea[_0xa3dd58(0x2ef)]],'baseUrl':_0x1fe9a2[_0xa3dd58(0x20c)],'debugOutcome':_0x1fe9a2[_0x2867ea[_0xa3dd58(0x247)]],'debugAddressComments':_0x1fe9a2[_0x2867ea['ziQVL']],'headed':_0x1fe9a2[_0xa3dd58(0x35f)],'verifierEnvVars':_0x26a5e8,'byokEnabled':_0x58d899,'flagVerifyModel':_0x477c2f,'configVerifyModel':_0x2d20d4});console[_0xa3dd58(0x2d5)]('\x0a'+'='[_0xa3dd58(0x25e)](0x3c)),console[_0xa3dd58(0x2d5)](_0x2867ea[_0xa3dd58(0x213)](_0x342895[_0xa3dd58(0x2b8)],_0x2867ea['SVFJJ'])?_0x2867ea[_0xa3dd58(0x392)]:_0x2867ea[_0xa3dd58(0x278)](_0x342895['evaluation'],'incomplete')?_0x2867ea['EyBWR']:_0x2867ea['vecnf'](_0x342895[_0xa3dd58(0x2b8)],'partial')?_0x2867ea['lUXkS']:_0x342895[_0xa3dd58(0x2b8)]===_0x2867ea['dtzJc']?'\x20BLOCKED':_0x2867ea['TwRuJ']),console[_0xa3dd58(0x2d5)]('='[_0xa3dd58(0x25e)](0x3c)),console['log']('Summary:\x20'+_0x342895['summary']),console['log'](_0xa3dd58(0x337)+_0x342895['evaluation']),console[_0xa3dd58(0x2d5)](_0xa3dd58(0x250)+_0x342895[_0xa3dd58(0x332)]),_0x342895['issues']?.['length']&&(console['log'](_0xa3dd58(0x233)),_0x342895['issues'][_0xa3dd58(0x1fc)]((_0x346dae,_0x99a9c5)=>{const _0x35706b=_0xa3dd58;console[_0x35706b(0x2d5)]('\x0a'+(_0x99a9c5+0x1)+_0x35706b(0x25f)+_0x346dae['severity']+']\x20'+_0x346dae['description']);})),process[_0xa3dd58(0x272)](_0x342895[_0xa3dd58(0x2b8)]===_0x2867ea['SVFJJ']?0x0:0x1);}export function buildParser(_0x3a3f40){const _0x317683=_0x1d5d8a,_0xbdaff0={'TFNIl':_0x317683(0x267),'SyVno':'string','HJswO':'description','WLyeG':_0x317683(0x262),'HlIhc':'array','QPZLD':_0x317683(0x29d),'iblHh':function(_0x5f1b7,_0x5ce794){return _0x5f1b7+_0x5ce794;},'wOzHc':function(_0xc35999,_0x1e8170,_0x17fb1f,_0x2c9bd5){return _0xc35999(_0x1e8170,_0x17fb1f,_0x2c9bd5);},'TuNOj':_0x317683(0x39c),'kgvFM':function(_0x1f280d,_0x1fbac5,_0x1e9a72){return _0x1f280d(_0x1fbac5,_0x1e9a72);},'SPgmt':'create','WFzey':_0x317683(0x289),'QIjNf':_0x317683(0x291),'NonOo':_0x317683(0x2e2),'aXfEh':'Number\x20of\x20feature\x20reviews\x20to\x20skip','eTpit':'boolean','VfBTe':_0x317683(0x2d3),'WfTLe':function(_0x2402db,_0x221823,_0x2c28e9){return _0x2402db(_0x221823,_0x2c28e9);},'gUxBZ':_0x317683(0x1fd),'HBprM':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','BwUuu':_0x317683(0x30a),'kKweH':'add-scenario','iqfZn':_0x317683(0x370),'yJtWo':function(_0x19b2da,_0x326e5f,_0x4bdb84){return _0x19b2da(_0x326e5f,_0x4bdb84);},'avVeH':'edit-scenario','Pqfjh':'exclude-scenario','pfjno':'report','qKSRl':_0x317683(0x320),'CxuBF':'Feature\x20review\x20ID\x20to\x20restore','AtUST':_0x317683(0x32a),'QkaLZ':_0x317683(0x209),'AeIXa':_0x317683(0x2d9),'FBVIb':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','VSyIx':_0x317683(0x35a),'ydDGC':'Install\x20scope\x20for\x20plugin\x20and\x20skills','UWvPN':function(_0x426a48,_0xc967db){return _0x426a48!==_0xc967db;},'TQYxa':_0x317683(0x326),'iUkCW':function(_0x1b5609,_0x5f9578,_0x3b32dc){return _0x1b5609(_0x5f9578,_0x3b32dc);},'ncQfP':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','lmoEd':_0x317683(0x360),'kwRgP':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','zHLIa':_0x317683(0x310),'BNOxg':_0x317683(0x327),'KxTbM':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','IPHSC':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','DDLKe':'Run\x20full\x20interactive\x20setup','enTnl':_0x317683(0x336),'cVwPn':'Install\x20Chromium\x20browser\x20binary','NvfBH':'login','lybET':'skills','dtyFV':'skip-chromium','tpQVk':_0x317683(0x33f),'ahQUx':'opencode','RjoxL':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','YElIp':function(_0x766270,_0x512349,_0x5781b6){return _0x766270(_0x512349,_0x5781b6);},'tCVmk':function(_0x6865a6,_0x2111e9,_0x487267){return _0x6865a6(_0x2111e9,_0x487267);},'Jojtf':'start','MNWZw':'Ranger\x20API\x20token','rrNQm':_0x317683(0x20c),'hGsab':_0x317683(0x321),'fJlkD':'Install\x20skills\x20for\x20OpenCode','RcOla':'project','vQxeh':'clean','OnItN':'Name\x20of\x20the\x20profile','srGjH':function(_0x17803e,_0xf76eef,_0x5d0034){return _0x17803e(_0xf76eef,_0x5d0034);},'ZwMJx':'profile\x20use','uNGYD':'profile-name','fbbcc':_0x317683(0x24e),'VZojT':function(_0x6cf429,_0x2da997,_0x755d2){return _0x6cf429(_0x2da997,_0x755d2);},'RdORN':function(_0x1800d5,_0x584144,_0x1104fe){return _0x1800d5(_0x584144,_0x1104fe);},'PABfr':_0x317683(0x24f),'txfPN':_0x317683(0x351),'fcTeP':_0x317683(0x377),'hCDIE':_0x317683(0x2fd),'kzBYi':'Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','BGoLO':_0x317683(0x33c),'DUNme':function(_0x375de1,_0x87bde7){return _0x375de1||_0x87bde7;},'dpCql':'No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','cZCZe':function(_0x595005,_0xb73f1c,_0x26790c){return _0x595005(_0xb73f1c,_0x26790c);},'VKmAw':_0x317683(0x1f5),'nSpNp':'profile','HtVPf':_0x317683(0x331),'tLukD':'Get\x20a\x20config\x20value','KoVRn':_0x317683(0x390),'kDSiL':'List\x20all\x20config\x20for\x20a\x20profile','fMGsL':_0x317683(0x2ff),'WkItD':_0x317683(0x375),'jhOXz':'allow-insecure-localhost','xhzOU':_0x317683(0x275),'mBwOa':_0x317683(0x367),'Yxhrd':function(_0x7f6db6,_0x3ed395){return _0x7f6db6(_0x3ed395);},'RqTJe':_0x317683(0x1f3),'LaIZP':_0x317683(0x301),'DRwcE':_0x317683(0x2e5),'RjJKe':_0x317683(0x34c),'GiQaG':'Config\x20value','FMHnq':_0x317683(0x387),'jOUeM':'use\x20<profile-name>','IqLdy':_0x317683(0x245),'pAAjT':_0x317683(0x36a),'QYKuV':_0x317683(0x274),'ERPge':_0x317683(0x208),'xzroP':_0x317683(0x374),'KKIxd':function(_0x8983ae,_0x49d063,_0x1b2e08){return _0x8983ae(_0x49d063,_0x1b2e08);},'kigrf':_0x317683(0x2e8),'jQYte':'scenario','wYCmG':_0x317683(0x28a),'nuGfJ':'start-path','VtGqf':_0x317683(0x31a),'mLYYz':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','qynzn':'environment-variable','TehpH':_0x317683(0x2d7),'IrgyE':_0x317683(0x1f9),'AmLxG':_0x317683(0x38e),'jWOsD':_0x317683(0x26d),'uNdaO':_0x317683(0x251),'CvrDS':_0x317683(0x2cb),'SduzX':_0x317683(0x347),'qwrHD':_0x317683(0x319),'PtUAF':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','FgXOt':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','pPFsy':_0x317683(0x2f9),'WzMOW':function(_0x1c1f3a,_0x5e763f,_0x487aa9){return _0x1c1f3a(_0x5e763f,_0x487aa9);},'TMtSu':'ranger\x20setup','SUfdv':'env','WkAYY':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','mwRQY':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','EFQvn':_0x317683(0x369),'ZgZME':_0x317683(0x39d),'MvnPl':'env-var','GIDJB':'verified','VQcIV':function(_0x365300,_0x4c408b,_0x24959b){return _0x365300(_0x4c408b,_0x24959b);},'MrbJU':_0x317683(0x2bb),'nwSDD':_0x317683(0x2c0),'SSOUH':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','oMEUo':'skip-auth','nRzLo':_0x317683(0x211),'wRnbJ':'ranger\x20profile\x20add','OcGYb':function(_0x56229f,_0x3a5c3e,_0x5b8f8b){return _0x56229f(_0x3a5c3e,_0x5b8f8b);},'TZWKC':_0x317683(0x36c),'VsMKT':'ranger\x20use','pnAlY':_0x317683(0x257),'KRmaU':function(_0x48518d,_0x220cb1,_0x25bbf5){return _0x48518d(_0x220cb1,_0x25bbf5);},'srRXn':'ranger\x20config\x20set','sCIrW':'config\x20set','JidEs':'ranger\x20config\x20get','Rltnv':function(_0xe29b0e,_0x127715,_0x2441ab){return _0xe29b0e(_0x127715,_0x2441ab);},'XMxce':'ranger\x20config\x20list','lzJIC':_0x317683(0x21c),'WObbK':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','GyVsW':'ranger\x20config\x20unset','dPcWy':_0x317683(0x290),'lGVAo':_0x317683(0x25b),'rvYrd':'get\x20<env>\x20<key>','XlLZa':_0x317683(0x1ef),'vniMC':_0x317683(0x2d2),'CntXI':'ranger\x20env\x20ls','fXDOR':_0x317683(0x29c),'HIvNo':'Name\x20of\x20the\x20environment\x20to\x20update','GACAi':'You\x20must\x20specify\x20an\x20env\x20subcommand','UwPJm':'ranger\x20feature\x20create','IjymI':'--scenario','SKyrc':function(_0x1639c7,_0x5c2896,_0x10f87f){return _0x1639c7(_0x5c2896,_0x10f87f);},'Gkmla':_0x317683(0x34e),'tAvSy':function(_0x575c20,_0x588e19,_0xeaad09){return _0x575c20(_0x588e19,_0xeaad09);},'OMxdf':'ranger\x20feature\x20resume','LJiTJ':function(_0x17c665,_0x4f7319,_0x2ab6bd){return _0x17c665(_0x4f7319,_0x2ab6bd);},'KVsqO':_0x317683(0x2f6),'wiQac':_0x317683(0x34a),'eJEBl':'ranger\x20get-review','QXSGl':'feature\x20get-feedback','KjZoY':_0x317683(0x2e3),'YjFED':function(_0x1d50c7,_0x5374ea,_0x5ec632){return _0x1d50c7(_0x5374ea,_0x5ec632);},'ZHRoo':_0x317683(0x30d),'admqz':_0x317683(0x311),'DNYKA':'ranger\x20show','fbpCX':_0x317683(0x2de),'KcwLb':'add-checklist-item\x20<description>','qEUzk':'get-feedback\x20[id]','Owdmc':_0x317683(0x21b),'GWpQi':_0x317683(0x20e),'PQnDU':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','xJTHl':_0x317683(0x2eb),'CpLPI':_0x317683(0x229),'oncAn':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','iwqPq':_0x317683(0x2ea),'LxSDy':'Unknown\x20command','vJwkX':'Unknown\x20error','cVllm':'ranger','arLhX':_0x317683(0x31e),'beqzB':_0x317683(0x335),'TqdZg':_0x317683(0x386),'smmjl':'get-review\x20[id]','YJNYf':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','ILTxI':'Restore\x20a\x20soft-deleted\x20feature\x20review','qpFri':_0x317683(0x357),'feeKh':'Initialize\x20Ranger\x20in\x20your\x20project','UXBxk':_0x317683(0x264),'mMeLw':_0x317683(0x315),'pedQP':_0x317683(0x239),'qXCCx':_0x317683(0x2aa),'lZVVk':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','KpHBP':_0x317683(0x306),'kgujU':'verify-feature','DWBpR':'use\x20<env-name>','tbcWS':'config','VePaB':_0x317683(0x212),'qNfhO':_0x317683(0x354),'SmBjp':_0x317683(0x27c),'xiCvK':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)'};return _0x5360a0(_0x3a3f40??process['argv']['slice'](0x2))[_0x317683(0x323)](_0xbdaff0[_0x317683(0x217)])[_0x317683(0x234)](TOP_LEVEL_HELP)['version'](getCurrentVersion())[_0x317683(0x364)]('create\x20<name>',_0x317683(0x35c),_0x5d605e=>{const _0xfedbd0=_0x317683;return _0x5d605e[_0xfedbd0(0x2ce)](_0xbdaff0[_0xfedbd0(0x314)],{'type':_0xbdaff0['SyVno'],'description':'Feature\x20review\x20name','demandOption':!![]})[_0xfedbd0(0x2fe)](_0xbdaff0['HJswO'],{'type':_0xbdaff0['SyVno'],'alias':'d','description':_0xbdaff0[_0xfedbd0(0x2a0)]})['option'](_0xfedbd0(0x265),{'type':_0xbdaff0['HlIhc'],'alias':'c','description':_0xbdaff0[_0xfedbd0(0x29e)]})['option']('checklist',{'type':_0xbdaff0[_0xfedbd0(0x388)],'hidden':!![]});},async _0x298f7f=>{const _0x191d98=_0x317683;if(!_0x298f7f['name']){console['error'](_0xbdaff0[_0x191d98(0x2e1)]('Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','Example:\x20ranger\x20create\x20my-feature')),process[_0x191d98(0x272)](0x1);return;}_0xbdaff0[_0x191d98(0x20f)](warnFlagRenamed,_0xbdaff0[_0x191d98(0x395)],'--checklist','--scenario');const _0x4a449c=_0x298f7f[_0x191d98(0x265)]||_0x298f7f[_0x191d98(0x285)];await _0xbdaff0[_0x191d98(0x2f5)](withTelemetry,_0xbdaff0['SPgmt'],()=>featureCreate(_0x298f7f['name'],{'description':_0x298f7f['description'],'scenarios':_0x4a449c}));})['command'](_0xbdaff0['fbpCX'],_0x317683(0x292),_0x241092=>{const _0x1aa924=_0x317683;return _0x241092['option'](_0x1aa924(0x302),{'type':'boolean','description':_0x1aa924(0x2b4)})['option'](_0xbdaff0[_0x1aa924(0x236)],{'type':_0xbdaff0[_0x1aa924(0x38f)],'alias':'l','description':_0xbdaff0[_0x1aa924(0x380)],'default':0xa})['option'](_0x1aa924(0x25a),{'type':_0xbdaff0['QIjNf'],'alias':'o','description':_0xbdaff0[_0x1aa924(0x2f1)],'default':0x0})['option'](_0x1aa924(0x2ae),{'type':_0xbdaff0[_0x1aa924(0x346)],'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x5026ba=>{const _0x44ea1f=_0x317683;await withTelemetry('list',()=>featureList({'currentBranch':_0x5026ba[_0x44ea1f(0x302)],'limit':_0x5026ba[_0x44ea1f(0x289)],'offset':_0x5026ba['offset'],'includeDeleted':_0x5026ba[_0x44ea1f(0x2ae)]}));})['command'](_0xbdaff0['arLhX'],_0xbdaff0['beqzB'],_0x4ecb05=>{const _0x2c1504=_0x317683;return _0x4ecb05['positional']('id',{'type':_0xbdaff0[_0x2c1504(0x38b)],'description':_0xbdaff0['VfBTe']});},async _0x52492b=>{await _0xbdaff0['WfTLe'](withTelemetry,_0xbdaff0['gUxBZ'],()=>featureShow(_0x52492b['id']));})[_0x317683(0x364)]('resume\x20[id]','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x5725ad=>{const _0x13c614=_0x317683;return _0x5725ad[_0x13c614(0x2ce)]('id',{'type':_0x13c614(0x356),'description':_0xbdaff0['HBprM']});},async _0x380a89=>{await _0xbdaff0['WfTLe'](withTelemetry,'resume',()=>featureResume(_0x380a89['id']));})['command'](_0xbdaff0['TqdZg'],'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x1d0503=>{const _0xe277f0=_0x317683;return _0x1d0503[_0xe277f0(0x2ce)](_0xbdaff0[_0xe277f0(0x297)],{'type':'string','description':_0xbdaff0[_0xe277f0(0x355)],'demandOption':!![]})[_0xe277f0(0x2fe)]('id',{'type':_0xbdaff0[_0xe277f0(0x38b)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x412ac0=>{await withTelemetry(_0xbdaff0['kKweH'],()=>featureAddScenario(_0x412ac0['description'],_0x412ac0['id']));})['command']('edit-scenario\x20<description>',_0x317683(0x2a1),_0x3aa3b1=>{const _0x5851a2=_0x317683;return _0x3aa3b1['positional']('description',{'type':_0x5851a2(0x356),'description':'New\x20scenario\x20description','demandOption':!![]})['option'](_0x5851a2(0x265),{'type':_0x5851a2(0x291),'description':_0x5851a2(0x394),'demandOption':!![]})[_0x5851a2(0x2fe)]('id',{'type':'string','description':_0xbdaff0['iqfZn']});},async _0x54c4d4=>{const _0x14b0fc=_0x317683;await _0xbdaff0['yJtWo'](withTelemetry,_0xbdaff0[_0x14b0fc(0x30e)],()=>featureEditScenario(_0x54c4d4['description'],{'id':_0x54c4d4['id'],'scenario':_0x54c4d4[_0x14b0fc(0x265)]}));})[_0x317683(0x364)](_0x317683(0x30c),_0x317683(0x2d6),_0x4553eb=>{const _0x21b1a6=_0x317683;return _0x4553eb['positional']('id',{'type':_0xbdaff0[_0x21b1a6(0x38b)],'description':_0xbdaff0['VfBTe']})['option']('exclude-scenario',{'type':_0xbdaff0[_0x21b1a6(0x388)],'description':_0x21b1a6(0x23c)})['option']('json',{'type':'boolean','description':_0x21b1a6(0x283),'default':![]});},async _0x590024=>{const _0xea6b5a=_0x317683,_0x503152=_0x590024[_0xbdaff0['Pqfjh']],_0x452952=_0x503152?_0x503152[_0xea6b5a(0x228)](_0x4baa33=>Number(_0x4baa33)):undefined;await _0xbdaff0['WfTLe'](withTelemetry,_0xbdaff0['pfjno'],()=>featureReportPrDescription(_0x590024['id'],{'excludeScenarios':_0x452952,'json':_0x590024[_0xea6b5a(0x216)]}));})[_0x317683(0x364)](_0xbdaff0[_0x317683(0x384)],_0x317683(0x2b5),_0x1cc06a=>{const _0x2594f2=_0x317683;return _0x1cc06a[_0x2594f2(0x2ce)]('id',{'type':'string','description':_0xbdaff0['iqfZn']});},async _0x12e261=>{const _0x19778d=_0x317683;await _0xbdaff0[_0x19778d(0x362)](withTelemetry,'get-review',()=>featureGetReview(_0x12e261['id']));})['command'](_0xbdaff0['Owdmc'],_0xbdaff0['YJNYf'],_0x3fa417=>{const _0x5f3167=_0x317683;return _0x3fa417[_0x5f3167(0x2ce)]('id',{'type':'string','description':_0xbdaff0[_0x5f3167(0x2c3)]});},async _0x1b32af=>{await _0xbdaff0['WfTLe'](withTelemetry,_0xbdaff0['qKSRl'],()=>featureDelete(_0x1b32af['id']));})[_0x317683(0x364)](_0x317683(0x20e),_0xbdaff0[_0x317683(0x2a3)],_0x2444e5=>{const _0x3f9087=_0x317683;return _0x2444e5['positional']('id',{'type':_0xbdaff0[_0x3f9087(0x38b)],'description':_0xbdaff0['CxuBF'],'demandOption':!![]});},async _0x1a1fb6=>{const _0x36fc4a=_0x317683;await withTelemetry(_0xbdaff0[_0x36fc4a(0x371)],()=>featureRestore(_0x1a1fb6['id']));})[_0x317683(0x364)](_0xbdaff0['qpFri'],_0xbdaff0[_0x317683(0x389)],_0x1b5c1a=>{const _0x24e090=_0x317683,_0x509143={'maOtE':_0x24e090(0x319),'aUSUY':_0x24e090(0x303),'csWtG':_0xbdaff0[_0x24e090(0x346)],'fDPvH':_0x24e090(0x342),'NgjRr':'skip-auth','vUbzm':'scope','vkrFD':_0xbdaff0['TQYxa'],'Akfgd':_0x24e090(0x356),'MxUNS':_0x24e090(0x2f9),'nLzSU':_0xbdaff0[_0x24e090(0x2ac)],'ZBdDS':_0x24e090(0x2f3),'uurBt':_0xbdaff0['lmoEd'],'nLEdq':'mcp-bootstrap','cwGZV':_0xbdaff0[_0x24e090(0x2d4)],'hCxJZ':_0x24e090(0x26b),'eqNFP':_0x24e090(0x2da),'SpJdM':_0xbdaff0['zHLIa'],'WBXZT':function(_0x163d78,_0x134142){return _0x163d78(_0x134142);},'EqnEj':_0x24e090(0x279),'SBsIj':function(_0x2518af,_0x1de46a,_0x5b1201){return _0xbdaff0['WfTLe'](_0x2518af,_0x1de46a,_0x5b1201);},'Uffbt':'opencode','EOqaX':function(_0x38c782,_0x1816c3){return _0x38c782(_0x1816c3);},'dlOyK':'setup:skills','sjaOM':_0x24e090(0x33f),'YldxO':_0xbdaff0[_0x24e090(0x2f2)],'LWENc':_0xbdaff0[_0x24e090(0x312)]};return _0x1b5c1a['usage'](_0x24e090(0x273))[_0x24e090(0x2ce)](_0x24e090(0x2ab),{'type':_0xbdaff0[_0x24e090(0x38b)],'description':_0xbdaff0['IPHSC']})['command'](_0x24e090(0x25d),_0xbdaff0['DDLKe'],_0x198a64=>{const _0x3211cf=_0x24e090;return _0x198a64['option'](_0x509143[_0x3211cf(0x1e8)],{'type':_0x3211cf(0x356),'description':'Ranger\x20API\x20token'})[_0x3211cf(0x2fe)](_0x509143[_0x3211cf(0x39a)],{'type':_0x509143['csWtG'],'description':_0x509143['fDPvH'],'default':![]})['option'](_0x509143['NgjRr'],{'type':_0x509143['csWtG'],'description':_0x3211cf(0x2a5),'default':![]})['option'](_0x3211cf(0x2d9),{'type':_0x3211cf(0x226),'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]})['option'](_0x509143[_0x3211cf(0x359)],{'type':_0x3211cf(0x356),'choices':[_0x509143['vkrFD']],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x3211cf(0x2fe)](_0x3211cf(0x33f),{'type':_0x509143[_0x3211cf(0x20b)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})['option'](_0x509143['MxUNS'],{'type':_0x3211cf(0x226),'description':_0x3211cf(0x295),'default':![]})[_0x3211cf(0x2fe)]('opencode',{'type':_0x509143['csWtG'],'description':_0x509143[_0x3211cf(0x2ad)],'default':![]})['option'](_0x509143[_0x3211cf(0x339)],{'type':_0x509143['csWtG'],'description':_0x509143[_0x3211cf(0x2c1)],'default':![]})[_0x3211cf(0x2fe)](_0x509143[_0x3211cf(0x22b)],{'type':_0x3211cf(0x226),'description':_0x509143[_0x3211cf(0x27a)],'default':![]})[_0x3211cf(0x2fe)](_0x509143['hCxJZ'],{'type':_0x509143[_0x3211cf(0x1fa)],'description':_0x3211cf(0x235),'default':![]});},async _0x13f77a=>{const _0x17124b=_0x24e090;(_0x13f77a[_0x17124b(0x209)]||_0x13f77a['mcp'])&&await _0xbdaff0['yJtWo'](withTelemetry,_0xbdaff0['QkaLZ'],()=>mcpBootstrap()),await _0xbdaff0[_0x17124b(0x362)](withTelemetry,_0x17124b(0x254),_0x422f02=>start(_0x13f77a['token'],{'skipChromium':_0x13f77a[_0x17124b(0x303)],'skipAuth':_0x13f77a['skip-auth'],'withDeps':_0x13f77a['with-deps'],'scope':_0x13f77a[_0x17124b(0x35a)],'url':_0x13f77a['url'],'force':_0x13f77a['force'],'opencode':_0x13f77a['opencode'],'allowInsecureLocalhost':_0x13f77a['allow-insecure-localhost']},_0x422f02));})[_0x24e090(0x364)](_0xbdaff0['enTnl'],_0xbdaff0[_0x24e090(0x242)],_0x181902=>{const _0x4def23=_0x24e090;return _0x181902[_0x4def23(0x2fe)](_0xbdaff0[_0x4def23(0x334)],{'type':_0xbdaff0['eTpit'],'description':_0xbdaff0['FBVIb'],'default':![]});},async _0x455caa=>{await withTelemetry('setup:deps',()=>ensureChromium(_0x455caa['with-deps']));})['command'](_0xbdaff0[_0x24e090(0x340)],'Authenticate\x20with\x20Ranger',_0x3d0e18=>{const _0x364490=_0x24e090;return _0x3d0e18['option']('token',{'type':_0x509143[_0x364490(0x20b)],'description':'Ranger\x20API\x20token\x20(rngr_...)'})[_0x364490(0x2fe)](_0x364490(0x26b),{'type':_0x509143['csWtG'],'description':_0x509143[_0x364490(0x298)],'default':![]});},async _0x582cff=>{const _0xc6124d=_0x24e090;await withTelemetry(_0x509143[_0xc6124d(0x1ec)],async()=>{const _0x3b6203=_0xc6124d;if(_0x582cff[_0x3b6203(0x26b)]){await mcpBootstrap();const _0xa5b447=await refreshCliToken();if(!_0xa5b447)throw new Error(_0x509143['SpJdM']);const _0x49c21a=await _0x509143['WBXZT'](getCurrentUser,_0xa5b447);if(!_0x49c21a['success'])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x49c21a[_0x3b6203(0x382)]);console[_0x3b6203(0x2d5)](_0x3b6203(0x2e9)+_0x49c21a['user'][_0x3b6203(0x270)]);return;}await _0x509143[_0x3b6203(0x1ff)](authenticate,_0x582cff['token']);});})['command'](_0xbdaff0[_0x24e090(0x34d)],'Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x2ddb80=>{const _0x221e30=_0x24e090;return _0x2ddb80['option'](_0xbdaff0['VSyIx'],{'type':_0xbdaff0['SyVno'],'choices':['user','project'],'description':_0xbdaff0[_0x221e30(0x220)]})['option']('opencode',{'type':_0x221e30(0x226),'description':_0x221e30(0x23e),'default':![]});},async _0x49ed9e=>{const _0x135187=_0x24e090;await _0x509143[_0x135187(0x24a)](withTelemetry,_0x509143[_0x135187(0x294)],async()=>{const _0x3f664d=_0x135187,_0x5b705c=_0x49ed9e['scope'];if(_0x49ed9e[_0x3f664d(0x2c9)]){const _0x29f97b=await _0x509143[_0x3f664d(0x1ff)](ensureOpencodePluginConfig,_0x5b705c);_0x29f97b&&await _0x509143[_0x3f664d(0x24a)](installSkill,_0x3f664d(0x240),{'level':_0x29f97b['scope'],'cliVersion':getCurrentVersion(),'platform':_0x509143[_0x3f664d(0x296)]});}else await ensureClaudePlugin(_0x5b705c),await _0x509143[_0x3f664d(0x2b9)](ensureClaudeSkills,_0x5b705c);});})['command'](_0x24e090(0x396),'Set\x20up\x20a\x20local\x20browser\x20profile',_0x1d6968=>{const _0x36e139=_0x24e090;return _0x1d6968[_0x36e139(0x2fe)](_0x509143['vUbzm'],{'type':_0x509143[_0x36e139(0x20b)],'choices':['user'],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x36e139(0x2fe)](_0x509143['sjaOM'],{'type':_0x509143['Akfgd'],'description':_0x509143['YldxO']})[_0x36e139(0x2fe)](_0x509143[_0x36e139(0x398)],{'type':_0x36e139(0x226),'description':_0x36e139(0x271),'default':![]})[_0x36e139(0x2fe)](_0x509143[_0x36e139(0x32d)],{'type':_0x36e139(0x226),'description':_0x509143[_0x36e139(0x2bf)],'default':![]})[_0x36e139(0x2fe)](_0x36e139(0x2f3),{'type':_0x36e139(0x226),'description':_0x509143[_0x36e139(0x2c1)],'default':![]});},async _0x4c0ae3=>{const _0x2e8364=_0x24e090,_0x119daa=_0x4c0ae3[_0x2e8364(0x35a)];_0xbdaff0[_0x2e8364(0x2db)](_0x119daa,undefined)&&_0x119daa!==_0xbdaff0[_0x2e8364(0x260)]&&(console['error'](_0x2e8364(0x330)+_0x119daa+'\x20is\x20no\x20longer\x20supported.\x20'+_0x2e8364(0x218)+_0x2e8364(0x1e5)),process[_0x2e8364(0x272)](0x1)),await _0xbdaff0['iUkCW'](withTelemetry,'setup:profiles',_0x5409bc=>ensureLocalEnv({'url':_0x4c0ae3[_0x2e8364(0x33f)],'force':_0x4c0ae3[_0x2e8364(0x2f9)],'allowInsecureLocalhost':_0x4c0ae3[_0x2e8364(0x2f3)],'scope':_0x2e8364(0x326)},_0x5409bc));})['option'](_0xbdaff0['dtyFV'],{'type':'boolean','description':_0x24e090(0x342),'default':![]})[_0x24e090(0x2fe)](_0xbdaff0['VSyIx'],{'type':_0xbdaff0[_0x24e090(0x38b)],'choices':[_0x24e090(0x326)],'hidden':!![],'description':_0x24e090(0x1e6)})['option'](_0xbdaff0['tpQVk'],{'type':_0xbdaff0[_0x24e090(0x38b)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option']('force',{'type':_0x24e090(0x226),'description':_0x24e090(0x295),'default':![]})['option'](_0xbdaff0[_0x24e090(0x341)],{'type':'boolean','description':_0xbdaff0['ncQfP'],'default':![]})['option']('allow-insecure-localhost',{'type':_0xbdaff0[_0x24e090(0x346)],'description':_0x24e090(0x377),'default':![]})[_0x24e090(0x2fe)](_0xbdaff0[_0x24e090(0x35b)],{'type':_0x24e090(0x226),'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','default':![]})['option'](_0x24e090(0x26f),{'type':_0xbdaff0['eTpit'],'description':_0xbdaff0['RjoxL'],'default':![]})['option'](_0xbdaff0[_0x24e090(0x334)],{'type':'boolean','description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]})['option']('token',{'type':_0xbdaff0['SyVno'],'hidden':!![],'description':'API\x20token'});},async _0x5ddb42=>{const _0x2e462e=_0x317683,_0x373ba2=_0x5ddb42[_0x2e462e(0x2ab)],_0x11a730=_0x5ddb42['token']??_0x373ba2;_0x5ddb42[_0xbdaff0['QkaLZ']]&&await _0xbdaff0['YElIp'](withTelemetry,_0xbdaff0['QkaLZ'],()=>mcpBootstrap()),await _0xbdaff0['tCVmk'](withTelemetry,_0xbdaff0[_0x2e462e(0x37f)],_0x2dcdb7=>start(_0x11a730,{'skipChromium':_0x5ddb42[_0x2e462e(0x303)],'skipAuth':_0x5ddb42['skip-auth'],'withDeps':_0x5ddb42[_0x2e462e(0x2d9)],'scope':_0x5ddb42[_0x2e462e(0x35a)],'url':_0x5ddb42[_0x2e462e(0x33f)],'force':_0x5ddb42['force'],'opencode':_0x5ddb42['opencode'],'allowInsecureLocalhost':_0x5ddb42[_0x2e462e(0x2f3)]},_0x2dcdb7));})[_0x317683(0x364)](_0xbdaff0[_0x317683(0x393)],![],_0x3c1048=>{const _0x53eb52=_0x317683;return _0x3c1048[_0x53eb52(0x2ce)](_0x53eb52(0x319),{'type':_0xbdaff0['SyVno'],'description':_0xbdaff0[_0x53eb52(0x338)],'demandOption':!![]})['option']('profile',{'type':_0xbdaff0[_0x53eb52(0x38b)],'description':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)'})[_0x53eb52(0x2fe)](_0xbdaff0['rrNQm'],{'type':_0xbdaff0['SyVno'],'description':_0xbdaff0[_0x53eb52(0x1f6)]})['option']('skip-chromium',{'type':_0xbdaff0['eTpit'],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x3f665b=>{const _0x2ed871=_0x317683;await _0xbdaff0['yJtWo'](withTelemetry,'setup-ci',_0x3236d2=>setupCi(_0x3f665b['token'],{'profile':_0x3f665b[_0x2ed871(0x372)],'baseUrl':_0x3f665b['base-url'],'skipChromium':_0x3f665b[_0x2ed871(0x303)]},_0x3236d2));})[_0x317683(0x364)]('login',_0x317683(0x379),()=>{},async()=>{const _0x1a3807=_0x317683;await _0xbdaff0[_0x1a3807(0x25c)](withTelemetry,'login',()=>login());})['command'](_0xbdaff0['mMeLw'],_0x317683(0x32c),_0x41acef=>{const _0x35db41=_0x317683;return _0x41acef[_0x35db41(0x2fe)](_0x35db41(0x2c9),{'type':_0xbdaff0['eTpit'],'description':_0xbdaff0[_0x35db41(0x28d)],'default':![]})['option'](_0xbdaff0['VSyIx'],{'type':_0x35db41(0x356),'choices':['user',_0xbdaff0['RcOla']],'description':'Install\x20scope\x20for\x20skills'});},async _0x8967d1=>{const _0xd00c22=_0x317683,_0x138fa1=Boolean(_0x8967d1['opencode']);await _0xbdaff0['YElIp'](withTelemetry,_0xd00c22(0x315),()=>skillup({'autoInstall':_0x8967d1[_0xd00c22(0x35a)],'platform':_0x138fa1?_0xd00c22(0x2c9):_0xd00c22(0x2fc)}));})['command'](_0xbdaff0[_0x317683(0x399)],_0xbdaff0['pedQP'],()=>{},async()=>{const _0x4e7713=_0x317683;await _0xbdaff0[_0x4e7713(0x2f5)](withTelemetry,_0xbdaff0[_0x4e7713(0x399)],()=>clean());})[_0x317683(0x364)](['profile','profiles'],_0xbdaff0['qXCCx'],_0x4c2013=>{const _0x7d00e5=_0x317683,_0x2f2c78={'whaDa':_0x7d00e5(0x33f),'jjQQk':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','nqSzs':_0x7d00e5(0x2f9),'zUtfU':_0xbdaff0[_0x7d00e5(0x38b)],'pSmrL':_0xbdaff0[_0x7d00e5(0x353)],'CnODT':_0x7d00e5(0x226),'cxNCd':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','ClgXt':_0x7d00e5(0x36e),'YrqEQ':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','ckVzE':'scope','NqWDl':_0xbdaff0[_0x7d00e5(0x260)],'XslUl':_0xbdaff0[_0x7d00e5(0x280)],'qlaoB':_0xbdaff0[_0x7d00e5(0x2b3)],'BeeLU':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','bAPeN':_0xbdaff0['mBwOa'],'jIGUU':function(_0x1c41f2,_0x2fca80){const _0x1a44b1=_0x7d00e5;return _0xbdaff0[_0x1a44b1(0x1f0)](_0x1c41f2,_0x2fca80);},'PyYku':function(_0x414a6e,_0x37ba25,_0x3c46fb){return _0xbdaff0['cZCZe'](_0x414a6e,_0x37ba25,_0x3c46fb);},'zYJFn':'Profile\x20name','VEhZU':_0xbdaff0['RqTJe'],'DmBlk':_0xbdaff0['uNGYD'],'QmAiF':_0x7d00e5(0x33b),'sFhvH':_0xbdaff0['LaIZP'],'fiiNC':_0xbdaff0['DRwcE'],'xOGOu':_0xbdaff0['RjJKe'],'vYcZP':function(_0x46f91b,_0x4d9b81,_0x5eb88b){return _0x46f91b(_0x4d9b81,_0x5eb88b);},'IEMXw':'profile\x20migrate','dXGbB':_0xbdaff0['nSpNp'],'DKQxX':'value','VZxEf':_0xbdaff0['GiQaG'],'vrtQA':_0xbdaff0['FMHnq'],'OFvKj':'profile\x20config\x20list','CVEIJ':_0x7d00e5(0x2b6)};return _0x4c2013['usage'](PROFILE_HELP)['command']('add\x20<profile-name>','Add\x20profile\x20configuration',_0x2cfc8e=>{const _0x13bebc=_0x7d00e5;return _0x2cfc8e[_0x13bebc(0x2ce)](_0x13bebc(0x24c),{'type':_0x13bebc(0x356),'description':_0x13bebc(0x224),'demandOption':!![]})['option']('ci',{'type':'boolean','hidden':!![],'default':![]})['option']('skip-auth',{'type':'boolean','description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0x13bebc(0x2fe)](_0x2f2c78[_0x13bebc(0x27d)],{'type':_0x13bebc(0x356),'description':_0x2f2c78[_0x13bebc(0x26e)]})[_0x13bebc(0x2fe)](_0x2f2c78[_0x13bebc(0x203)],{'type':_0x13bebc(0x226),'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x13bebc(0x2fe)](_0x13bebc(0x1f2),{'type':_0x2f2c78['zUtfU'],'description':_0x13bebc(0x207)})[_0x13bebc(0x2fe)](_0x2f2c78[_0x13bebc(0x248)],{'type':_0x2f2c78['CnODT'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0x13bebc(0x2fe)]('safe-mode',{'type':_0x13bebc(0x226),'description':_0x2f2c78[_0x13bebc(0x358)],'default':![]})['option'](_0x2f2c78[_0x13bebc(0x2f8)],{'type':_0x13bebc(0x356),'array':!![],'description':_0x2f2c78['YrqEQ']})[_0x13bebc(0x2fe)](_0x2f2c78['ckVzE'],{'type':_0x13bebc(0x356),'choices':[_0x2f2c78['NqWDl'],_0x2f2c78[_0x13bebc(0x1ea)]],'description':_0x2f2c78[_0x13bebc(0x231)]})['option'](_0x13bebc(0x23a),{'type':'boolean','alias':'y','description':_0x2f2c78['BeeLU'],'default':![]});},async _0x113daa=>{const _0x185d28=_0x7d00e5;await withTelemetry(_0x2f2c78['bAPeN'],_0x279c05=>addEnv(_0x113daa[_0x185d28(0x24c)],{'ci':_0x113daa['ci'],'skipAuth':_0x113daa['skip-auth'],'url':_0x113daa['url'],'force':_0x113daa['force'],'cdpEndpoint':_0x113daa[_0x185d28(0x1f2)],'allowInsecureLocalhost':_0x113daa['allow-insecure-localhost'],'safeMode':_0x113daa['safe-mode'],'setupHeader':_0x113daa[_0x185d28(0x36e)],'scope':_0x113daa[_0x185d28(0x35a)],'yes':_0x113daa['yes']},_0x279c05),{'isElectron':_0x2f2c78[_0x185d28(0x206)](Boolean,_0x113daa[_0x185d28(0x1f2)])});})[_0x7d00e5(0x364)](_0xbdaff0['jOUeM'],_0xbdaff0['IqLdy'],_0x38da62=>{const _0x12cac0=_0x7d00e5;return _0x38da62['positional']('profile-name',{'type':_0x12cac0(0x356),'description':_0xbdaff0['OnItN'],'demandOption':!![]});},async _0x2da3cc=>{const _0x28963e=_0x7d00e5;await _0xbdaff0['srGjH'](withTelemetry,_0xbdaff0[_0x28963e(0x30b)],()=>useEnv(_0x2da3cc[_0x28963e(0x24c)]));})['command'](_0xbdaff0['pAAjT'],_0x7d00e5(0x276),_0x1b615b=>{const _0x580b46=_0x7d00e5;return _0x1b615b[_0x580b46(0x2ce)](_0xbdaff0[_0x580b46(0x253)],{'type':_0xbdaff0[_0x580b46(0x38b)],'description':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','demandOption':!![]})[_0x580b46(0x2fe)](_0x580b46(0x23a),{'type':_0x580b46(0x226),'alias':'y','description':_0xbdaff0['fbbcc'],'default':![]});},async _0x1537e1=>{const _0x549ee4=_0x7d00e5;await _0x2f2c78['PyYku'](withTelemetry,_0x549ee4(0x1fe),()=>deleteProfile(_0x1537e1['profile-name'],{'yes':_0x1537e1[_0x549ee4(0x23a)]}));})[_0x7d00e5(0x364)](_0xbdaff0[_0x7d00e5(0x1eb)],![],_0xf604d7=>{const _0x1d2f09=_0x7d00e5;return _0xf604d7['positional']('profile',{'type':_0x2f2c78[_0x1d2f09(0x2a6)],'description':_0x2f2c78['zYJFn'],'demandOption':!![]});},async _0x4fee05=>{const _0x35d9bc=_0x7d00e5;await _0xbdaff0['VZojT'](withTelemetry,_0x35d9bc(0x26a),()=>authEncrypt(_0x4fee05['profile']));})['command']('ls',_0x7d00e5(0x22c),()=>{},async()=>{const _0x352992=_0x7d00e5;await _0xbdaff0[_0x352992(0x241)](withTelemetry,_0xbdaff0['PABfr'],()=>envList());})[_0x7d00e5(0x364)](_0x7d00e5(0x20d),_0x7d00e5(0x29b),_0x2dfa5b=>{const _0x53ac8e=_0x7d00e5;return _0x2dfa5b[_0x53ac8e(0x2ce)]('profile-name',{'type':'string','description':_0xbdaff0['txfPN'],'demandOption':!![]})['option']('allow-insecure-localhost',{'type':_0xbdaff0[_0x53ac8e(0x346)],'description':_0xbdaff0['fcTeP']})['option'](_0xbdaff0[_0x53ac8e(0x305)],{'type':_0xbdaff0[_0x53ac8e(0x346)],'description':_0xbdaff0[_0x53ac8e(0x23f)]});},async _0x277e19=>{const _0x3e9374=_0x7d00e5;await _0xbdaff0[_0x3e9374(0x362)](withTelemetry,_0xbdaff0['BGoLO'],_0x5d1aea=>updateEnv(_0x277e19['profile-name'],_0x5d1aea,{'allowInsecureLocalhost':_0x277e19['allow-insecure-localhost'],'manual':_0x277e19['manual']}));})[_0x7d00e5(0x364)](_0x7d00e5(0x343),![],_0x3c39cd=>{return _0x3c39cd['positional']('name',{'type':'string','description':_0x2f2c78['VEhZU'],'demandOption':!![]});},async _0x4d796d=>{const _0x239f93=_0x7d00e5,_0x16e48a={'ONzUD':function(_0x5b05a5,_0x18354d){const _0x12a7e3=_0x1bb4;return _0xbdaff0[_0x12a7e3(0x2dd)](_0x5b05a5,_0x18354d);},'jvals':_0xbdaff0[_0x239f93(0x2bd)],'kJSax':function(_0x417a85,_0x19faf0){return _0x417a85===_0x19faf0;}};await _0xbdaff0['cZCZe'](withTelemetry,_0xbdaff0[_0x239f93(0x391)],async()=>{const _0x2020e7=_0x239f93,_0x4d62c6=process['env']['RANGER_TEST_USERNAME'],_0x5ccc55=process[_0x2020e7(0x27f)]['RANGER_TEST_PASSWORD'];_0x16e48a[_0x2020e7(0x324)](!_0x4d62c6,!_0x5ccc55)&&(console[_0x2020e7(0x382)]('Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.'),process[_0x2020e7(0x272)](0x1));const _0x22f86f=_0x4d796d[_0x2020e7(0x267)],_0x3b620c=await serverSideLogin(_0x22f86f,{'force':!![]});_0x3b620c[_0x2020e7(0x221)]==='not_configured'&&(console['error'](_0x16e48a['jvals']),process[_0x2020e7(0x272)](0x1)),_0x16e48a[_0x2020e7(0x2a2)](_0x3b620c['status'],'failed')&&(console['error'](_0x2020e7(0x269)+(_0x3b620c[_0x2020e7(0x382)]??_0x2020e7(0x27b))),_0x3b620c[_0x2020e7(0x2a9)]&&console[_0x2020e7(0x382)](_0x3b620c['test_output']),process[_0x2020e7(0x272)](0x1)),console['log'](_0x2020e7(0x268)+_0x22f86f+_0x2020e7(0x313));});})['command'](_0xbdaff0[_0x7d00e5(0x28e)],![],_0x2a91e2=>{const _0x4ebc5e=_0x7d00e5;return _0x2a91e2['positional'](_0x2f2c78[_0x4ebc5e(0x204)],{'type':'string','description':_0x2f2c78['QmAiF']})[_0x4ebc5e(0x2fe)]('all',{'type':_0x2f2c78[_0x4ebc5e(0x31c)],'description':_0x2f2c78[_0x4ebc5e(0x36d)],'default':![]})['option'](_0x2f2c78['fiiNC'],{'type':_0x2f2c78[_0x4ebc5e(0x31c)],'description':_0x2f2c78[_0x4ebc5e(0x31d)],'default':![]})['option'](_0x4ebc5e(0x23a),{'type':'boolean','alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})['option']('save-creds',{'type':'boolean','description':_0x4ebc5e(0x33d),'default':![]});},async _0xb89274=>{await _0x2f2c78['vYcZP'](withTelemetry,_0x2f2c78['IEMXw'],_0x58a6d8=>migrateProfile({'profileName':_0xb89274['profile-name'],'all':_0xb89274['all'],'dryRun':_0xb89274['dry-run'],'yes':_0xb89274['yes'],'saveCreds':_0xb89274['save-creds']},_0x58a6d8));})[_0x7d00e5(0x364)](_0x7d00e5(0x202),'Manage\x20profile\x20configuration',_0x2e3072=>{const _0x120a31=_0x7d00e5,_0xab4029={'QjhfW':function(_0x218da5,_0xcd1397,_0x15adee){return _0x218da5(_0xcd1397,_0x15adee);},'RaTvS':_0xbdaff0['nSpNp'],'ntucz':_0x120a31(0x2f7)};return _0x2e3072[_0x120a31(0x234)](PROFILE_CONFIG_HELP)[_0x120a31(0x364)](_0x120a31(0x2d8),_0xbdaff0['HtVPf'],_0x24f252=>{const _0x5494d2=_0x120a31;return _0x24f252['positional'](_0x2f2c78[_0x5494d2(0x2bc)],{'type':_0x2f2c78[_0x5494d2(0x2a6)],'description':_0x5494d2(0x2e6),'demandOption':!![]})[_0x5494d2(0x2ce)]('key',{'type':'string','description':_0x5494d2(0x2ca),'demandOption':!![]})[_0x5494d2(0x2ce)](_0x2f2c78[_0x5494d2(0x350)],{'type':'string','description':_0x2f2c78['VZxEf'],'demandOption':!![]});},async _0x230293=>{const _0x3fe2c8=_0x120a31;await withTelemetry('profile\x20config\x20set',()=>configSet(_0x230293[_0x3fe2c8(0x372)],_0x230293['key'],_0x230293[_0x3fe2c8(0x325)]));})['command'](_0x120a31(0x39b),_0xbdaff0[_0x120a31(0x30f)],_0x728d1c=>{const _0x3f5a3d=_0x120a31;return _0x728d1c['positional'](_0x3f5a3d(0x372),{'type':_0x2f2c78[_0x3f5a3d(0x2a6)],'description':_0x3f5a3d(0x2e6),'demandOption':!![]})[_0x3f5a3d(0x2ce)](_0x2f2c78['vrtQA'],{'type':'string','description':'Config\x20key','demandOption':!![]});},async _0x3ad7ea=>{const _0x301723=_0x120a31;await _0xab4029['QjhfW'](withTelemetry,_0x301723(0x2ba),()=>configGet(_0x3ad7ea[_0x301723(0x372)],_0x3ad7ea[_0x301723(0x387)]));})[_0x120a31(0x364)](_0xbdaff0['KoVRn'],_0xbdaff0['kDSiL'],_0x175282=>{const _0x14f059=_0x120a31;return _0x175282['positional'](_0xab4029[_0x14f059(0x21f)],{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x172898=>{const _0x31d9ee=_0x120a31;await withTelemetry(_0x2f2c78[_0x31d9ee(0x1e2)],()=>configList(_0x172898['profile']));})[_0x120a31(0x364)](_0x120a31(0x37d),'Remove\x20a\x20config\x20value',_0x399c0d=>{const _0x411fd2=_0x120a31;return _0x399c0d[_0x411fd2(0x2ce)]('profile',{'type':_0x411fd2(0x356),'description':_0x411fd2(0x2e6),'demandOption':!![]})[_0x411fd2(0x2ce)](_0x411fd2(0x387),{'type':_0x2f2c78['zUtfU'],'description':_0x411fd2(0x37a),'demandOption':!![]});},async _0x29bc48=>{const _0x33f63a=_0x120a31;await withTelemetry(_0xab4029['ntucz'],()=>configUnset(_0x29bc48[_0x33f63a(0x372)],_0x29bc48[_0x33f63a(0x387)]));})[_0x120a31(0x364)](_0x120a31(0x37e),_0xbdaff0[_0x120a31(0x366)],_0x351c82=>{const _0x542d99=_0x120a31;return _0x351c82['positional'](_0x2f2c78['dXGbB'],{'type':'string','description':_0x2f2c78[_0x542d99(0x352)],'demandOption':!![]});},async _0x4802db=>{await withTelemetry(_0x2f2c78['CVEIJ'],()=>configReset(_0x4802db['profile']));})['demandCommand'](0x1,_0xbdaff0['WkItD']);})[_0x7d00e5(0x304)](0x1,_0x7d00e5(0x24d));})['command'](_0x317683(0x221),_0xbdaff0['lZVVk'],()=>{},async()=>{await withTelemetry('status',()=>status());})[_0x317683(0x364)](_0xbdaff0['xzroP'],_0x317683(0x32f),()=>{},async()=>{const _0x191303=_0x317683;await _0xbdaff0[_0x191303(0x2cf)](withTelemetry,_0xbdaff0['xzroP'],()=>update());})[_0x317683(0x364)]('print-access-token',_0x317683(0x36f),()=>{},async()=>{const _0x3c604c={'amLgT':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.'};await _0xbdaff0['KKIxd'](withTelemetry,'print-access-token',async()=>{const _0x52fbcf=_0x1bb4,_0x56a2ea=await getToken();if(!_0x56a2ea)throw new Error(_0x3c604c[_0x52fbcf(0x21a)]);console[_0x52fbcf(0x2d5)](_0x56a2ea);});})[_0x317683(0x364)]('go','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.',_0x24457f=>{const _0x2544df=_0x317683;return _0x24457f['option']('feature',{'type':_0x2544df(0x356),'description':_0xbdaff0['kigrf']})[_0x2544df(0x2fe)]('profile',{'type':_0xbdaff0['SyVno'],'description':_0x2544df(0x293)})[_0x2544df(0x2fe)](_0x2544df(0x2f4),{'type':'string','description':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)'})[_0x2544df(0x2fe)](_0xbdaff0['jQYte'],{'type':_0xbdaff0['QIjNf'],'description':_0xbdaff0[_0x2544df(0x318)]})['option'](_0xbdaff0['nuGfJ'],{'type':'string','description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})['option']('base-url',{'type':'string','description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x2544df(0x2fe)]('model',{'type':'string','description':_0xbdaff0['VtGqf']})['option']('headed',{'type':_0xbdaff0[_0x2544df(0x346)],'description':_0xbdaff0['mLYYz'],'default':![]})[_0x2544df(0x2fe)]('env-var',{'type':_0x2544df(0x356),'array':!![],'alias':_0xbdaff0['qynzn'],'description':_0xbdaff0[_0x2544df(0x348)]})[_0x2544df(0x2fe)](_0xbdaff0[_0x2544df(0x34b)],{'type':_0xbdaff0[_0x2544df(0x38b)],'hidden':!![],'choices':['verified','partial','blocked',_0xbdaff0[_0x2544df(0x201)],_0xbdaff0[_0x2544df(0x32b)]]})[_0x2544df(0x2fe)](_0xbdaff0['uNdaO'],{'type':'boolean','hidden':!![]})['option'](_0x2544df(0x27f),{'type':_0xbdaff0['SyVno'],'hidden':!![]})['option'](_0xbdaff0['CvrDS'],{'type':_0x2544df(0x356),'hidden':!![]})['option'](_0x2544df(0x369),{'type':_0xbdaff0[_0x2544df(0x38f)],'hidden':!![]});},async _0x302067=>{await runGoCommand(_0x302067);})['command'](_0x317683(0x287),![],_0xda8196=>{const _0x2db927=_0x317683;return _0xda8196[_0x2db927(0x364)](_0x2db927(0x223),![],_0x26dd11=>{const _0x75b928=_0x2db927;return _0x26dd11['positional']('profile',{'type':_0x75b928(0x356),'description':'Profile\x20name','demandOption':!![]});},async _0x1fd77b=>{const _0x1b68f9=_0x2db927;_0xbdaff0['KKIxd'](warnRenamed,'ranger\x20auth\x20encrypt',_0xbdaff0['SduzX']),await authEncrypt(_0x1fd77b[_0x1b68f9(0x372)]);})[_0x2db927(0x304)](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command'](_0xbdaff0[_0x317683(0x1ed)],![],_0x56f0e2=>{const _0x1983a3=_0x317683;return _0x56f0e2[_0x1983a3(0x2ce)](_0xbdaff0[_0x1983a3(0x345)],{'type':_0xbdaff0['SyVno'],'description':_0xbdaff0[_0x1983a3(0x33a)]})['option']('skip-chromium',{'type':_0x1983a3(0x226),'description':_0x1983a3(0x342),'default':![]})[_0x1983a3(0x2fe)](_0x1983a3(0x35a),{'type':_0xbdaff0['SyVno'],'choices':[_0xbdaff0[_0x1983a3(0x260)]],'hidden':!![],'description':_0xbdaff0[_0x1983a3(0x249)]})[_0x1983a3(0x2fe)](_0x1983a3(0x33f),{'type':_0xbdaff0[_0x1983a3(0x38b)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})[_0x1983a3(0x2fe)](_0xbdaff0['pPFsy'],{'type':_0x1983a3(0x226),'description':_0xbdaff0[_0x1983a3(0x312)],'default':![]})[_0x1983a3(0x2fe)](_0x1983a3(0x26f),{'type':_0xbdaff0[_0x1983a3(0x346)],'description':_0x1983a3(0x2a5),'default':![]})[_0x1983a3(0x2fe)](_0xbdaff0['AeIXa'],{'type':_0x1983a3(0x226),'description':_0x1983a3(0x277),'default':![]});},async _0xd0056a=>{const _0x30d460=_0x317683;_0xbdaff0[_0x30d460(0x2c7)](warnRenamed,_0x30d460(0x34f),_0xbdaff0[_0x30d460(0x368)]),await _0xbdaff0[_0x30d460(0x219)](withTelemetry,_0xbdaff0['Jojtf'],_0x2529e3=>start(_0xd0056a[_0x30d460(0x319)],{'skipChromium':_0xd0056a['skip-chromium'],'skipAuth':_0xd0056a[_0x30d460(0x26f)],'withDeps':_0xd0056a['with-deps'],'scope':_0xd0056a[_0x30d460(0x35a)],'url':_0xd0056a[_0x30d460(0x33f)],'force':_0xd0056a['force']},_0x2529e3));})['command'](_0xbdaff0[_0x317683(0x2b0)],![],_0x58a35c=>{const _0x433639=_0x317683;return _0x58a35c['option'](_0xbdaff0['SUfdv'],{'type':_0xbdaff0['SyVno'],'description':_0xbdaff0[_0x433639(0x1e7)]})['option']('task',{'type':'string','description':_0xbdaff0['mwRQY']})['option'](_0xbdaff0['EFQvn'],{'type':_0x433639(0x291),'description':_0xbdaff0['wYCmG']})['option'](_0xbdaff0[_0x433639(0x282)],{'type':'string','hidden':!![]})['option']('notes',{'type':_0x433639(0x356),'hidden':!![]})[_0x433639(0x2fe)](_0x433639(0x265),{'type':_0xbdaff0[_0x433639(0x38f)],'hidden':!![]})['option'](_0xbdaff0['nuGfJ'],{'type':'string','description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})[_0x433639(0x2fe)]('base-url',{'type':_0x433639(0x356),'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})['option'](_0xbdaff0['ZgZME'],{'type':_0xbdaff0[_0x433639(0x38b)],'hidden':!![]})[_0x433639(0x2fe)](_0x433639(0x35f),{'type':'boolean','hidden':!![],'default':![]})['option'](_0xbdaff0[_0x433639(0x244)],{'type':_0xbdaff0['SyVno'],'array':!![],'alias':'environment-variable','hidden':!![]})['option'](_0xbdaff0['IrgyE'],{'type':'string','hidden':!![],'choices':[_0xbdaff0['GIDJB'],'partial',_0x433639(0x2c8),_0x433639(0x38e),_0x433639(0x26d)]});},async _0x2bbc39=>{const _0x137dd1=_0x317683;await _0xbdaff0[_0x137dd1(0x38c)](runGoCommand,_0x2bbc39,!![]);})['command']('add\x20env\x20<env-name>',![],_0x369135=>{const _0x37ff4d=_0x317683;return _0x369135[_0x37ff4d(0x2ce)](_0xbdaff0['MrbJU'],{'type':'string','description':_0xbdaff0['nwSDD'],'demandOption':!![]})[_0x37ff4d(0x2fe)]('ci',{'type':'boolean','description':_0xbdaff0[_0x37ff4d(0x2d0)],'default':![]})['option'](_0xbdaff0[_0x37ff4d(0x37b)],{'type':'boolean','description':_0x37ff4d(0x227),'default':![]});},async _0x5abc95=>{const _0x42352a=_0x317683;_0xbdaff0['YElIp'](warnRenamed,_0xbdaff0['nRzLo'],_0xbdaff0['wRnbJ']),await _0xbdaff0['OcGYb'](withTelemetry,'add\x20env',_0xb7b8a3=>addEnv(_0x5abc95['env-name'],{'ci':_0x5abc95['ci'],'skipAuth':_0x5abc95[_0x42352a(0x26f)]},_0xb7b8a3));})[_0x317683(0x364)](_0xbdaff0[_0x317683(0x1f7)],![],_0xd153b4=>{const _0x28664b=_0x317683;return _0xd153b4[_0x28664b(0x2ce)]('env-name',{'type':_0xbdaff0[_0x28664b(0x38b)],'description':_0xbdaff0[_0x28664b(0x266)],'demandOption':!![]});},async _0x3785d3=>{const _0x48e56c=_0x317683;warnRenamed(_0xbdaff0['VsMKT'],_0xbdaff0[_0x48e56c(0x1df)]),await _0xbdaff0['KRmaU'](withTelemetry,'use',()=>useEnv(_0x3785d3['env-name']));})[_0x317683(0x364)](_0xbdaff0[_0x317683(0x22d)],![],_0x105245=>{const _0x448c39=_0x317683,_0x2a139e={'UmBWE':'Environment\x20name','mmaDi':_0xbdaff0['WObbK'],'WDkSE':_0xbdaff0[_0x448c39(0x1e4)],'lPYGh':_0xbdaff0[_0x448c39(0x38b)],'sTUnL':_0xbdaff0['SUfdv'],'EHiTj':_0xbdaff0['GyVsW'],'kEQSJ':_0xbdaff0[_0x448c39(0x263)]};return _0x105245['command'](_0xbdaff0[_0x448c39(0x1e9)],![],_0x346a92=>{const _0x120cdc=_0x448c39;return _0x346a92[_0x120cdc(0x2ce)](_0x120cdc(0x27f),{'type':_0x120cdc(0x356),'description':_0x2a139e[_0x120cdc(0x23d)],'demandOption':!![]})[_0x120cdc(0x2ce)]('key',{'type':'string','description':_0x2a139e['mmaDi'],'demandOption':!![]})['positional'](_0x120cdc(0x325),{'type':'string','description':_0x2a139e[_0x120cdc(0x317)],'demandOption':!![]});},async _0x198816=>{const _0x4ed596=_0x448c39;_0xbdaff0[_0x4ed596(0x241)](warnRenamed,_0xbdaff0[_0x4ed596(0x309)],_0x4ed596(0x259)),await withTelemetry(_0xbdaff0['sCIrW'],()=>configSet(_0x198816['env'],_0x198816['key'],_0x198816['value']));})['command'](_0xbdaff0['rvYrd'],![],_0x246ad8=>{const _0x369407=_0x448c39;return _0x246ad8['positional'](_0x369407(0x27f),{'type':'string','description':'Environment\x20name','demandOption':!![]})['positional'](_0x369407(0x387),{'type':_0x2a139e['lPYGh'],'description':_0x369407(0x24b),'demandOption':!![]});},async _0x569526=>{const _0x3eacc2=_0x448c39;warnRenamed(_0xbdaff0['JidEs'],_0x3eacc2(0x246)),await _0xbdaff0['Rltnv'](withTelemetry,'config\x20get',()=>configGet(_0x569526['env'],_0x569526[_0x3eacc2(0x387)]));})['command'](_0xbdaff0['XlLZa'],![],_0x3f4db6=>{const _0xf02ae1=_0x448c39;return _0x3f4db6[_0xf02ae1(0x2ce)](_0x2a139e['sTUnL'],{'type':_0x2a139e[_0xf02ae1(0x1ee)],'description':_0x2a139e[_0xf02ae1(0x23d)],'demandOption':!![]});},async _0x4c786a=>{const _0xda455b=_0x448c39;warnRenamed(_0xbdaff0[_0xda455b(0x38a)],_0xbdaff0[_0xda455b(0x31f)]),await withTelemetry(_0xda455b(0x2c4),()=>configList(_0x4c786a['env']));})['command'](_0x448c39(0x2be),![],_0x1174ed=>{const _0x259c19=_0x448c39;return _0x1174ed['positional']('env',{'type':_0x259c19(0x356),'description':_0x2a139e[_0x259c19(0x23d)],'demandOption':!![]})['positional']('key',{'type':_0x2a139e['lPYGh'],'description':_0x259c19(0x37a),'demandOption':!![]});},async _0x57bc8a=>{const _0x520bc5=_0x448c39;warnRenamed(_0x2a139e['EHiTj'],_0x520bc5(0x284)),await withTelemetry(_0x2a139e[_0x520bc5(0x2d1)],()=>configUnset(_0x57bc8a[_0x520bc5(0x27f)],_0x57bc8a['key']));})[_0x448c39(0x304)](0x1,_0xbdaff0[_0x448c39(0x1f8)]);})['command'](_0xbdaff0[_0x317683(0x2c6)],![],_0x4a2d17=>{const _0x557aea=_0x317683,_0x2c0198={'TlNDg':function(_0x2c5541,_0x5c689e,_0x7b4c49){const _0x7d3d26=_0x1bb4;return _0xbdaff0[_0x7d3d26(0x25c)](_0x2c5541,_0x5c689e,_0x7b4c49);},'WqGSZ':function(_0x58ba1b,_0x2e90fb,_0x17ff49){return _0x58ba1b(_0x2e90fb,_0x17ff49);},'ezHws':'env\x20update'};return _0x4a2d17[_0x557aea(0x364)]('ls',![],()=>{},async()=>{const _0x24eaca=_0x557aea;_0xbdaff0[_0x24eaca(0x38d)](warnRenamed,_0xbdaff0[_0x24eaca(0x20a)],_0x24eaca(0x252)),await _0xbdaff0['VQcIV'](withTelemetry,_0xbdaff0[_0x24eaca(0x2ee)],()=>envList());})['command']('update\x20<env-name>',![],_0x161bbd=>{return _0x161bbd['positional']('env-name',{'type':_0xbdaff0['SyVno'],'description':_0xbdaff0['HIvNo'],'demandOption':!![]});},async _0x2c2f51=>{const _0x13218e=_0x557aea;_0x2c0198[_0x13218e(0x210)](warnRenamed,'ranger\x20env\x20update',_0x13218e(0x237)),await _0x2c0198['WqGSZ'](withTelemetry,_0x2c0198['ezHws'],_0x40bd03=>updateEnv(_0x2c2f51['env-name'],_0x40bd03));})['demandCommand'](0x1,_0xbdaff0['GACAi']);})['command']('feature',![],_0x462e1e=>{const _0x26b679=_0x317683,_0x328db8={'gYLXi':'boolean','yGyjl':_0x26b679(0x289),'KVriU':_0xbdaff0['NonOo'],'EYPQN':'Number\x20of\x20feature\x20reviews\x20to\x20skip','OfmFA':_0xbdaff0['VfBTe'],'sSpDS':function(_0x20718f,_0x7b7cb8,_0x3b9d6e){const _0x254c94=_0x26b679;return _0xbdaff0[_0x254c94(0x38d)](_0x20718f,_0x7b7cb8,_0x3b9d6e);},'aIdzi':_0xbdaff0['admqz'],'gXLcQ':_0xbdaff0['DNYKA'],'XNnLR':'feature\x20show','wrJvp':_0xbdaff0['SyVno']};return _0x462e1e[_0x26b679(0x364)](_0x26b679(0x2a4),![],_0x273d2c=>{const _0xa3072c=_0x26b679;return _0x273d2c[_0xa3072c(0x2ce)](_0xa3072c(0x267),{'type':_0xbdaff0[_0xa3072c(0x38b)],'description':'Feature\x20review\x20name','demandOption':!![]})[_0xa3072c(0x2fe)](_0xbdaff0[_0xa3072c(0x297)],{'type':_0xbdaff0[_0xa3072c(0x38b)],'alias':'d','description':'Feature\x20review\x20description'})[_0xa3072c(0x2fe)](_0xa3072c(0x285),{'type':_0xbdaff0['HlIhc'],'alias':'c','description':_0xbdaff0['QPZLD']})['option'](_0xa3072c(0x265),{'type':_0xa3072c(0x363),'hidden':!![]});},async _0x235b7e=>{const _0x3087e8=_0x26b679;warnRenamed(_0xbdaff0['UwPJm'],_0xbdaff0[_0x3087e8(0x395)]),warnFlagRenamed(_0x3087e8(0x39c),_0x3087e8(0x2b1),_0xbdaff0[_0x3087e8(0x29f)]);const _0x12381a=_0x235b7e['scenario']||_0x235b7e['checklist'];await _0xbdaff0['SKyrc'](withTelemetry,_0x3087e8(0x2c5),()=>featureCreate(_0x235b7e['name'],{'description':_0x235b7e['description'],'scenarios':_0x12381a}));})[_0x26b679(0x364)](_0xbdaff0[_0x26b679(0x21e)],![],_0x36e981=>{const _0x3f5044=_0x26b679;return _0x36e981[_0x3f5044(0x2fe)]('current-branch',{'type':_0x328db8['gYLXi'],'description':_0x3f5044(0x2b4)})[_0x3f5044(0x2fe)](_0x328db8[_0x3f5044(0x2b2)],{'type':'number','alias':'l','description':_0x328db8[_0x3f5044(0x2cd)],'default':0xa})['option'](_0x3f5044(0x25a),{'type':'number','alias':'o','description':_0x328db8['EYPQN'],'default':0x0})['option'](_0x3f5044(0x2ae),{'type':_0x3f5044(0x226),'alias':'d','description':_0x3f5044(0x205),'default':![]});},async _0x1a6b81=>{const _0x48104e=_0x26b679;warnRenamed(_0x48104e(0x322),_0xbdaff0[_0x48104e(0x225)]),await withTelemetry(_0x48104e(0x215),()=>featureList({'currentBranch':_0x1a6b81[_0x48104e(0x302)],'limit':_0x1a6b81['limit'],'offset':_0x1a6b81[_0x48104e(0x25a)],'includeDeleted':_0x1a6b81[_0x48104e(0x2ae)]}));})['command'](_0x26b679(0x31e),![],_0x140910=>{const _0x2c6109=_0x26b679;return _0x140910[_0x2c6109(0x2ce)]('id',{'type':'string','description':_0x328db8['OfmFA']});},async _0x3b2852=>{const _0x3c8d51=_0x26b679;_0x328db8['sSpDS'](warnRenamed,_0x328db8[_0x3c8d51(0x22f)],_0x328db8[_0x3c8d51(0x2fa)]),await withTelemetry(_0x328db8[_0x3c8d51(0x2af)],()=>featureShow(_0x3b2852['id']));})[_0x26b679(0x364)]('resume\x20[id]',![],_0x162993=>{const _0x14d221=_0x26b679;return _0x162993['positional']('id',{'type':_0x328db8[_0x14d221(0x28f)],'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0xc5892f=>{const _0x1869eb=_0x26b679;_0xbdaff0[_0x1869eb(0x2b7)](warnRenamed,_0xbdaff0['OMxdf'],_0x1869eb(0x35d)),await _0xbdaff0['LJiTJ'](withTelemetry,'feature\x20resume',()=>featureResume(_0xc5892f['id']));})['command'](_0xbdaff0[_0x26b679(0x1e1)],![],_0x937c5=>{const _0x517e56=_0x26b679;return _0x937c5[_0x517e56(0x2ce)](_0x517e56(0x316),{'type':_0x517e56(0x356),'description':'Scenario\x20description','demandOption':!![]})[_0x517e56(0x2fe)]('id',{'type':_0xbdaff0[_0x517e56(0x38b)],'description':_0xbdaff0['iqfZn']});},async _0x3e020b=>{const _0x1c583c=_0x26b679;warnRenamed(_0xbdaff0[_0x1c583c(0x2df)],_0x1c583c(0x397)),await withTelemetry(_0x1c583c(0x22a),()=>featureAddScenario(_0x3e020b[_0x1c583c(0x316)],_0x3e020b['id']));})[_0x26b679(0x364)](_0xbdaff0[_0x26b679(0x381)],![],_0x5bc993=>{const _0xd5e098=_0x26b679;return _0x5bc993[_0xd5e098(0x2ce)]('id',{'type':_0xd5e098(0x356),'description':_0xd5e098(0x370)});},async _0x59f6db=>{const _0x54a3b7=_0x26b679;_0xbdaff0['YElIp'](warnRenamed,_0xbdaff0[_0x54a3b7(0x27e)],_0xbdaff0['eJEBl']),await _0xbdaff0[_0x54a3b7(0x2c7)](withTelemetry,_0xbdaff0[_0x54a3b7(0x35e)],()=>featureGetReview(_0x59f6db['id']));})[_0x26b679(0x364)](_0xbdaff0[_0x26b679(0x376)],![],_0x57cb4c=>{const _0x2d92de=_0x26b679;return _0x57cb4c[_0x2d92de(0x2ce)]('id',{'type':_0x328db8[_0x2d92de(0x28f)],'description':'Feature\x20review\x20ID'});},async _0x2e3bc7=>{const _0x4af50e=_0x26b679;_0xbdaff0[_0x4af50e(0x219)](warnRenamed,'ranger\x20feature\x20delete',_0xbdaff0[_0x4af50e(0x2c2)]),await _0xbdaff0['YjFED'](withTelemetry,_0x4af50e(0x230),()=>featureDelete(_0x2e3bc7['id']));})[_0x26b679(0x364)](_0xbdaff0[_0x26b679(0x1fb)],![],_0xbd741e=>{const _0x3560bb=_0x26b679;return _0xbd741e['positional']('id',{'type':_0x3560bb(0x356),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x26fdf8=>{const _0xb7e195=_0x26b679;warnRenamed(_0xb7e195(0x2e4),_0xb7e195(0x37c)),await withTelemetry(_0xbdaff0['ZHRoo'],()=>featureRestore(_0x26fdf8['id']));})['demandCommand'](0x1,_0x26b679(0x21d));})[_0x317683(0x364)](_0x317683(0x328),![],_0x260dac=>{const _0x2a65ff=_0x317683,_0x29ed85={'HOjRG':_0xbdaff0[_0x2a65ff(0x258)],'GjIFj':_0x2a65ff(0x356),'HXYEf':function(_0x3daab6,_0x4761f8,_0xbba398){return _0x3daab6(_0x4761f8,_0xbba398);},'nFMzg':'hook:disable'};return _0x260dac['command'](_0xbdaff0['CpLPI'],_0xbdaff0[_0x2a65ff(0x333)],_0x5d7a9d=>{const _0x480565=_0x2a65ff;return _0x5d7a9d['option'](_0x29ed85['HOjRG'],{'type':_0x29ed85[_0x480565(0x256)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x43062d=>{const _0x4c9ac9=_0x2a65ff;await _0x29ed85[_0x4c9ac9(0x1f4)](withTelemetry,'hook:enable',()=>hook(_0x4c9ac9(0x229),_0x43062d[_0x4c9ac9(0x2eb)]));})['command'](_0x2a65ff(0x33e),_0x2a65ff(0x238),_0x6d4d6e=>{const _0x107ebb=_0x2a65ff;return _0x6d4d6e['option'](_0x107ebb(0x2eb),{'type':_0xbdaff0['SyVno'],'description':_0xbdaff0['PQnDU']});},async _0x30a694=>{const _0x1b0ce2=_0x2a65ff;await withTelemetry(_0x29ed85['nFMzg'],()=>hook('disable',_0x30a694[_0x1b0ce2(0x2eb)]));})[_0x2a65ff(0x2fe)]('name',{'type':_0x2a65ff(0x356),'description':_0xbdaff0['iwqPq']})['option'](_0xbdaff0[_0x2a65ff(0x258)],{'type':'string','description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x4c434f=>{const _0x3492bd=_0x317683;_0x4c434f['name']&&await _0xbdaff0[_0x3492bd(0x288)](hook,_0x4c434f['name'],_0x4c434f[_0xbdaff0['xJTHl']]);})[_0x317683(0x304)](0x1,_0xbdaff0['VePaB'])['strictCommands']()['fail'](async(_0x57d618,_0x504e33,_0x8e09d0)=>{const _0x291e56=_0x317683,_0x375a87=_0xbdaff0['Yxhrd'](sanitizeArgs,process['argv'][_0x291e56(0x214)](0x2)),_0x9aff17=_0xbdaff0['OcGYb'](getErrorType,_0x57d618,_0x504e33);if(_0x57d618&&_0x57d618[_0x291e56(0x2ed)](_0xbdaff0['LxSDy'])){const _0x277b02=process['argv'][0x2];console['error']('\x0aUnknown\x20command:\x20'+_0x277b02),console['error']('Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a');}else{if(_0x57d618)console[_0x291e56(0x382)]('\x0a'+_0x57d618+'\x0a');else _0x504e33&&console['error']('\x0aError:\x20'+_0x504e33[_0x291e56(0x36b)]+'\x0a');}await logDesirePath({'rawCommand':_0x375a87,'errorMessage':_0x57d618||_0x504e33?.[_0x291e56(0x36b)],'errorType':_0x9aff17});const _0x15708a=getCurrentCollector();_0x15708a&&await _0x15708a[_0x291e56(0x281)](_0x504e33||new Error(_0x57d618||_0xbdaff0[_0x291e56(0x373)])),process['exit'](0x1);})['epilogue'](_0xbdaff0[_0x317683(0x2e1)](_0xbdaff0['iblHh'](_0xbdaff0['qNfhO'],_0xbdaff0[_0x317683(0x1e3)]),_0xbdaff0[_0x317683(0x28c)]))['help']()['alias']('help','h');}process[_0x1d5d8a(0x27f)][_0x1d5d8a(0x243)]!=='test'&&(shouldShowLegacyWarning(process[_0x1d5d8a(0x344)])&&showLegacyDeprecationWarning(),buildParser()[_0x1d5d8a(0x1e0)]());
|