@ranger-testing/ranger-cli 3.0.1-alpha.aab0a1c-26 → 3.0.1-alpha.f6aba6c-32
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/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 +3 -2
package/build/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x1ff339=_0x3142;(function(_0x38f889,_0x3fbd21){const _0x3ea1a3=_0x3142,_0x21e58e=_0x38f889();while(!![]){try{const _0x32744f=parseInt(_0x3ea1a3(0x121))/0x1*(-parseInt(_0x3ea1a3(0xc6))/0x2)+-parseInt(_0x3ea1a3(0xc5))/0x3*(-parseInt(_0x3ea1a3(0x227))/0x4)+parseInt(_0x3ea1a3(0x17a))/0x5*(parseInt(_0x3ea1a3(0xa7))/0x6)+parseInt(_0x3ea1a3(0x85))/0x7*(parseInt(_0x3ea1a3(0x97))/0x8)+-parseInt(_0x3ea1a3(0x93))/0x9+-parseInt(_0x3ea1a3(0x135))/0xa*(parseInt(_0x3ea1a3(0x1d0))/0xb)+-parseInt(_0x3ea1a3(0x9c))/0xc*(parseInt(_0x3ea1a3(0x1a9))/0xd);if(_0x32744f===_0x3fbd21)break;else _0x21e58e['push'](_0x21e58e['shift']());}catch(_0x49b098){_0x21e58e['push'](_0x21e58e['shift']());}}}(_0x247e,0x3d072));import _0x174b65 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x5298e9=_0x3142,_0x3abb65={'oCgNU':function(_0x2f6d67,_0x477f6b,_0x416c2a){return _0x2f6d67(_0x477f6b,_0x416c2a);},'iyJkW':function(_0x4a4ac8,_0x13a0b7){return _0x4a4ac8(_0x13a0b7);},'KVGfC':'.env'};let _0x410f1d=process['cwd']();const _0x4d6467=parse(_0x410f1d)['root'];while(_0x410f1d!==_0x4d6467){if(existsSync(_0x3abb65[_0x5298e9(0xe1)](join,_0x410f1d,_0x5298e9(0x1b0)))||_0x3abb65[_0x5298e9(0xd6)](existsSync,join(_0x410f1d,_0x3abb65[_0x5298e9(0x151)])))return _0x410f1d;_0x410f1d=dirname(_0x410f1d);}return process['cwd']();}_0x174b65[_0x1ff339(0xd0)]({'path':join(findProjectRoot(),'.env')});import _0x1d7021 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';function _0x3142(_0x16551d,_0x5eeab8){_0x16551d=_0x16551d-0x74;const _0x247e0f=_0x247e();let _0x3142cb=_0x247e0f[_0x16551d];return _0x3142cb;}import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';function _0x247e(){const _0x40b3cf=['OFYxD','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','jVcAs','SJQdU','Install\x20Chromium\x20browser\x20binary','value','token','add-scenario\x20<description>','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','CAppB','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','status','.\x20[','FSaSp','blocked','Print\x20the\x20current\x20CLI\x20access\x20token','Zqodc','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','ranger\x20profile\x20use','KiLwt','help','GDutP','option','config\x20set','restore','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','all','OHMgG','RKTQj','debug-address-comments','GSwnT','setup:profiles','5523505yOeAZr','ceYyI','nfnPE','setup:deps','test_output','xBdYf','SyRia','.ranger','xiUsF','profile\x20config\x20unset','Yzigl','JajEL','save-creds','Reason:\x20','DDCxa','NODE_ENV','allow-insecure-localhost','profile\x20encrypt-auth','boolean','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','repeat','reset\x20<profile>','resume\x20[id]','Diwed','ypkTj','RulEw','JAncs','foaeQ','Config\x20value','tokenOrSubcommand','--scenario','cnLiL','bJFxW','\x20is\x20no\x20longer\x20supported.\x20','argv','ranger\x20setup','Initialize\x20Ranger\x20in\x20your\x20project','OxnRf','QLquY','451pNsaup','eGdFl','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.','WKVqu','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','mCOjG','RANGER_PROFILE','xaxMB','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','log','ranger\x20verify-feature','hIFjD','encrypt-auth\x20<profile>','summary','VnFBz','zCUqB','JoBGV','You\x20must\x20specify\x20a\x20profile\x20subcommand','\x20FAILED','ZXKXm','Unknown\x20command','yes','checklist','cxWJL','url','Cloud\x20profile\x20name','yDTVo','xBATX','includes','Alias\x20for\x20--mcp-bootstrap','exit','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','RLlUN','Mbpmb','ranger\x20create','demandCommand','profile\x20config\x20list','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','WZVdO','XOIoN','mcp-bootstrap','ranger\x20profile\x20config\x20set','EwtuS','scenario','Feature\x20review\x20ID\x20to\x20restore','user','feature\x20get-feedback','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.','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','GLcjK','force','show\x20[id]','Manage\x20profile\x20configuration','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','disable','command','pskBP','message','AGivl','evaluation','lBrEg','FraDW','TkeFm','resFc','MSQkI','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','current-branch','number','opencode','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','XLEcI','JzSlM','GQSYS','fail','kTeLx','FyrAj','wZxDM','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','report','trFHA','ranger\x20add\x20env','lEzSr','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','name','Feature\x20review\x20ID','setup-header','Environment\x20name','353076PpwgTc','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','DDeOC','strictCommands','Fwtyf','VhKfd','profile\x20config\x20reset','forEach','lwNZr','unknown\x20error','claude','nYsVn','ufsJz','Scenario\x20number\x20to\x20edit\x20(1-based)','ranger\x20feature\x20list','BNywo','bljWA','skip-auth','zerNt','rBcqP','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','dQafN','xgZCJ','iBRYt','jByLy','WHrZs','Name\x20of\x20the\x20environment','list\x20<env>','cRHcF','LHsWa','vmXgX','kyezA','update','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','2497908lKKvsr','get-review','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','positional','WOujz','YPkvo','scope','yIBXq','scUYC','AiVws','Evaluation:\x20','RcDPs','usage','profiles','786456tbiPAd','Install\x20skills\x20for\x20OpenCode','pQuzm','skip-chromium','8VZvMbM','mUXrj','failed','OzNGa','NlStO','12mWMcIa','zltHF','use','start','profile-name','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','session-id','wQBRA','delete\x20[id]','You\x20must\x20specify\x20a\x20config\x20subcommand','include-deleted','6wbNZQz','Set\x20up\x20a\x20local\x20browser\x20profile','GWTyG','JoUDX','NTSbd','ranger\x20resume','jokqw','add\x20<profile-name>','Set\x20a\x20config\x20value','profile\x20update','ranger\x20config\x20unset','clean','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','BNTsP','LLeHs','kULaH','THPgX','soRZZ','iYRJb','start-path','Skip\x20the\x20deletion\x20confirmation\x20prompt.','Name\x20of\x20the\x20profile\x20to\x20update','issues','qcuXn','Skip\x20browser\x20authentication','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','\x20VERIFIED','oJyrL','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','XRyVP','15MULaEt','2EzYmvM','CDqJU','Authenticate\x20via\x20MCP\x20proxy','\x0aUnknown\x20command:\x20','qrpSM','mqFOr','JTLlT','incomplete','feature\x20create','TBZkw','config','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','limit','item','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','print-access-token','iyJkW','Feature\x20review\x20name','setup:login','blkDS','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','aPTot','cvJoD','fONGl','awwRb','ranger\x20feature\x20show','pszxA','oCgNU','login','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','dry-run','Restore\x20a\x20soft-deleted\x20feature\x20review','config\x20list','config\x20unset','unset\x20<env>\x20<key>','Config\x20key','use\x20<profile-name>','parse','\x27.\x20Session\x20saved.','ranger\x20use','kpAwV','Number\x20of\x20feature\x20reviews\x20to\x20skip','FfFOH','edit-scenario\x20<description>','rBSQK','Switch\x20to\x20using\x20a\x20specific\x20profile','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','get-feedback\x20[id]','project','REHmv','Svulv','trackCommandError','partial','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Bwvsg','fVaMr','profile','LZYxJ','update\x20<profile-name>','ranger\x20profile\x20config\x20get','vQJBh','hGSoy','WAdGz','model','Config\x20key\x20to\x20remove','XcqeO','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','ranger\x20env\x20ls','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','MBHPs','pyDRB','base-url','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','Jtupb','with-deps','skillup','TKXWg','delete\x20<profile-name>','add\x20env\x20<env-name>','ranger\x20profile\x20add','KrXEr','startsWith','cdp-endpoint','\x20PARTIAL','List\x20all\x20feature\x20reviews','ZKiNq','htQfX','list\x20<profile>','TqyVA','353611KbnyoP','Install\x20OS-level\x20dependencies\x20for\x20Chromium','Remove\x20a\x20config\x20value','array','xykFi','Example:\x20ranger\x20create\x20my-feature','OjCyN','key','ranger\x20profile\x20update','cmbXW','mVqIt','env-name','QOpji','deps','add\x20env','list','LOtXB','start\x20[token]','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','qRgnU','5000kEGKNY','aAMBE','List\x20all\x20profiles','Scenario\x20description','GmzyG','Khhoz','mcp','offset','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','CVfLA','UVvZs','hWbav','Base\x20URL\x20of\x20the\x20running\x20app','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','MhNLV','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','organizationName','hook','UPhiy','not_configured','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','setup-ci\x20<token>','env','rUsHv','KwJiz','cxUmy','UduAu','KVGfC','ranger','Ranger\x20API\x20token\x20(rngr_...)','error','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','bxqyV','success','krmrx','yzpac','Add\x20profile\x20configuration','ranger\x20list','--notes','task','verified','CkkHj','CGvIY','KVxGM','kmINi','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','OjWIn','feature','string','Install\x20scope\x20for\x20skills','jgmFE','--checklist','\x20\x20https://docs.ranger.net\x0a','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','VlPHB','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','description','dtqHd','add-scenario','PUKUa','Profile\x20name','FPbri','ItUAl','tzhYC','headed','fnkka','Authenticate\x20with\x20Ranger','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','1690805wMhsNj','xqCOT','GWQvn','YTxnV','Ranger\x20API\x20token','Feature\x20review\x20description','cDPHD','feature\x20show','PCJCZ','\x20BLOCKED','Skip\x20authentication','json','Bhjmd','QhAaw','yxjzO'];_0x247e=function(){return _0x40b3cf;};return _0x247e();}import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x437137=>{const _0x57c696=_0x1ff339,_0x3fa0f1={'hSdOu':function(_0x524bae){return _0x524bae();}},_0x45d0be=_0x3fa0f1['hSdOu'](getCurrentCollector);_0x45d0be&&await _0x45d0be[_0x57c696(0xfa)](_0x437137),process['exitCode']=0x1;});const rawArgs=process[_0x1ff339(0x1cb)]['slice'](0x2),TOP_LEVEL_HELP=_0x1ff339(0x1d2),PROFILE_HELP=_0x1ff339(0x16d),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201';function warnRenamed(_0x20cfda,_0x4d9dfe){console['error']('\x0a'+_0x20cfda+'\x20is\x20now\x20'+_0x4d9dfe+'\x0a');}function argUsed(_0x4b8be8){const _0x52c288=_0x1ff339;return rawArgs['some'](_0x2d4a0b=>_0x2d4a0b===_0x4b8be8||_0x2d4a0b[_0x52c288(0x119)](_0x4b8be8+'='));}function warnFlagRenamed(_0x53271f,_0x5a8013,_0x24fad6){const _0x1705ef=_0x1ff339,_0x256671={'cRHcF':function(_0x577e4f,_0xf02e08){return _0x577e4f(_0xf02e08);}};_0x256671[_0x1705ef(0x7f)](argUsed,_0x5a8013)&&warnRenamed(_0x53271f+'\x20'+_0x5a8013,_0x53271f+'\x20'+_0x24fad6);}async function runGoCommand(_0x458d25,_0x1bd147=![]){const _0x35d38a=_0x1ff339,_0xf7aae={'SADlM':function(_0x4fe47c,_0x1d0a36,_0x1857ca){return _0x4fe47c(_0x1d0a36,_0x1857ca);},'GSwnT':'ranger\x20go','olYFw':function(_0x4be7d2,_0x13d777,_0x258294,_0x24a4e6){return _0x4be7d2(_0x13d777,_0x258294,_0x24a4e6);},'pTEyV':'--profile','pVlNf':'--task','krmrx':_0x35d38a(0x1c7),'EwEML':function(_0x246f18){return _0x246f18();},'dHnhp':function(_0x1e5ae2,_0x40b34e){return _0x1e5ae2(_0x40b34e);},'FwIXf':'start-path','PnWwa':_0x35d38a(0x10f),'KiLwt':'debug-outcome','KrvVk':'debug-address-comments','XLEcI':function(_0x179f0e,_0x300fbd){return _0x179f0e===_0x300fbd;},'SNknC':_0x35d38a(0x183),'PUKUa':'\x0aIssues:'};_0x1bd147&&_0xf7aae['SADlM'](warnRenamed,_0x35d38a(0x1da),_0xf7aae['GSwnT']);_0xf7aae['olYFw'](warnFlagRenamed,_0xf7aae[_0x35d38a(0x1a7)],'--env',_0xf7aae['pTEyV']),_0xf7aae['olYFw'](warnFlagRenamed,'ranger\x20go',_0xf7aae['pVlNf'],_0x35d38a(0x15c)),warnFlagRenamed('ranger\x20go','--item',_0xf7aae[_0x35d38a(0x158)]);const _0x42b21b=await loadRangerConfig(),_0x1d451a=_0xf7aae['EwEML'](isByokEnabled),_0x105b93=_0x458d25[_0x35d38a(0x107)],_0x1386a6=_0x42b21b['model'],_0x565295=await _0xf7aae['dHnhp'](verifyFeature,{'featureId':_0x458d25[_0x35d38a(0x165)],'profile':_0x458d25[_0x35d38a(0x100)]??_0x458d25[_0x35d38a(0x14c)]??process[_0x35d38a(0x14c)][_0x35d38a(0x1d6)],'notes':_0x458d25['notes']??_0x458d25[_0x35d38a(0x15d)],'scenario':_0x458d25['scenario']??_0x458d25['item'],'startPath':_0x458d25[_0xf7aae['FwIXf']],'baseUrl':_0x458d25[_0xf7aae['PnWwa']],'debugOutcome':_0x458d25[_0xf7aae[_0x35d38a(0x19c)]],'debugAddressComments':_0x458d25[_0xf7aae['KrvVk']],'headed':_0x458d25['headed'],'byokEnabled':_0x1d451a,'flagVerifyModel':_0x105b93,'configVerifyModel':_0x1386a6});console[_0x35d38a(0x1d9)]('\x0a'+'='['repeat'](0x3c)),console[_0x35d38a(0x1d9)](_0xf7aae['XLEcI'](_0x565295['evaluation'],'verified')?_0x35d38a(0xc1):_0x565295[_0x35d38a(0x20b)]===_0x35d38a(0xcd)?'\x20INCOMPLETE':_0x565295[_0x35d38a(0x20b)]===_0x35d38a(0xfb)?_0x35d38a(0x11b):_0xf7aae[_0x35d38a(0x216)](_0x565295['evaluation'],'blocked')?_0xf7aae['SNknC']:_0x35d38a(0x1e2)),console[_0x35d38a(0x1d9)]('='[_0x35d38a(0x1bd)](0x3c)),console['log']('Summary:\x20'+_0x565295[_0x35d38a(0x1dd)]),console['log'](_0x35d38a(0x8f)+_0x565295['evaluation']),console['log'](_0x35d38a(0x1b6)+_0x565295['evaluationReason']),_0x565295['issues']?.['length']&&(console[_0x35d38a(0x1d9)](_0xf7aae[_0x35d38a(0x171)]),_0x565295[_0x35d38a(0xbd)][_0x35d38a(0x22e)]((_0x43ba8b,_0x2651ca)=>{const _0x2c3089=_0x35d38a;console['log']('\x0a'+(_0x2651ca+0x1)+_0x2c3089(0x195)+_0x43ba8b['severity']+']\x20'+_0x43ba8b['description']);})),process[_0x35d38a(0x1ee)](_0x565295['evaluation']===_0x35d38a(0x15e)?0x0:0x1);}export function buildParser(_0x25408e){const _0x2f37f6=_0x1ff339,_0x15aa66={'VPywp':_0x2f37f6(0x223),'AQNfC':_0x2f37f6(0xd7),'aftae':function(_0x3dd6e6,_0x1f48b4){return _0x3dd6e6+_0x1f48b4;},'XcqeO':function(_0x49efe5,_0xa057a0,_0x2d4aa5,_0x440962){return _0x49efe5(_0xa057a0,_0x2d4aa5,_0x440962);},'bPyya':_0x2f37f6(0x1c7),'ftOnE':function(_0x16abec,_0x19492a,_0x296d0b){return _0x16abec(_0x19492a,_0x296d0b);},'xBATX':'create','mrkWL':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','oJyrL':'limit','yDTVo':_0x2f37f6(0x213),'YPkvo':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','wZxDM':_0x2f37f6(0xa6),'QLquY':'boolean','pyDRB':'Include\x20soft-deleted\x20feature\x20reviews','CGvIY':_0x2f37f6(0x130),'trFHA':_0x2f37f6(0x166),'EyndM':'show','VKOCE':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','rUsHv':function(_0x1bd50d,_0x4b8e0e,_0x3295bb){return _0x1bd50d(_0x4b8e0e,_0x3295bb);},'FbCMk':_0x2f37f6(0x16e),'hajhm':_0x2f37f6(0x138),'hgfgv':function(_0x862a90,_0x33be4e,_0x1affab){return _0x862a90(_0x33be4e,_0x1affab);},'sTdqO':_0x2f37f6(0x1fb),'sTIUE':_0x2f37f6(0x234),'cnLiL':_0x2f37f6(0xb3),'Mbpmb':function(_0x5bc073,_0x53934b,_0x3ccb62){return _0x5bc073(_0x53934b,_0x3ccb62);},'bDvmQ':'edit-scenario','JAncs':_0x2f37f6(0x224),'MhNLV':'exclude-scenario','kTeLx':'array','PCJCZ':_0x2f37f6(0x1a1),'jByLy':_0x2f37f6(0x215),'EwtuS':'skip-auth','OFYxD':_0x2f37f6(0x122),'QVKdU':'scope','YFuLW':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','mCOjG':'force','QqPty':_0x2f37f6(0x1a2),'fnkka':'opencode','GWTyG':_0x2f37f6(0xfd),'fONGl':'allow-insecure-localhost','RRjPJ':_0x2f37f6(0x10a),'tzhYC':_0x2f37f6(0x1f8),'fzzpf':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','OzNGa':_0x2f37f6(0x13b),'IEwRX':_0x2f37f6(0x1ed),'WvOQq':_0x2f37f6(0x1bc),'cvJoD':function(_0x89de68,_0x59ade7,_0xad892b){return _0x89de68(_0x59ade7,_0xad892b);},'soRZZ':_0x2f37f6(0x1ac),'rBcqP':function(_0x1a4be6,_0x28c0e3){return _0x1a4be6(_0x28c0e3);},'yzpac':_0x2f37f6(0x1fd),'FfFOH':_0x2f37f6(0x141),'AooOT':function(_0x4156ee,_0x31c5e3){return _0x4156ee+_0x31c5e3;},'qhBqN':_0x2f37f6(0x1a8),'foaeQ':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','NFRMO':_0x2f37f6(0x1a3),'KVxGM':_0x2f37f6(0x12e),'JoUDX':_0x2f37f6(0x18d),'cxWJL':_0x2f37f6(0x178),'BNywo':'skills','Svulv':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','bdgio':_0x2f37f6(0xa8),'WrZWU':'skip-chromium','Diwed':'url','dctTS':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','OOvHm':_0x2f37f6(0x18a),'yIBXq':'with-deps','Fwtyf':'token','GDutP':'API\x20token','HhBku':'Ranger\x20API\x20token','LLeHs':_0x2f37f6(0x100),'rkUau':_0x2f37f6(0x1f5),'qFHuL':'setup-ci','hxbqz':'project','awwRb':_0x2f37f6(0x167),'kvyug':_0x2f37f6(0x113),'vmXgX':'clean','lwNZr':'profile-name','KwJiz':_0x2f37f6(0x1e5),'pPkKV':_0x2f37f6(0xbb),'lQQra':function(_0x2bbd7e,_0x2c7989,_0xda993b){return _0x2bbd7e(_0x2c7989,_0xda993b);},'pQuzm':'profile\x20delete','JzSlM':_0x2f37f6(0x1ba),'WKVqu':_0x2f37f6(0x1e9),'qeWUS':function(_0x2baba9,_0xa76c6a,_0x404d28){return _0x2baba9(_0xa76c6a,_0x404d28);},'RcDPs':'safe-mode','VhKfd':_0x2f37f6(0x1d8),'RWEkY':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','xgZCJ':_0x2f37f6(0xb0),'hIFjD':function(_0x2c110a,_0x4b7158){return _0x2c110a||_0x4b7158;},'CVfLA':_0x2f37f6(0xe4),'LOtXB':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','LHsWa':'Skip\x20interactive\x20confirmation\x20prompts.','RLlUN':_0x2f37f6(0x172),'ncIMI':'get\x20<profile>\x20<key>','SJQdU':_0x2f37f6(0xae),'FraDW':_0x2f37f6(0x15a),'resFc':_0x2f37f6(0xf3),'dtqHd':_0x2f37f6(0x115),'NlStO':_0x2f37f6(0x1dc),'HPArb':_0x2f37f6(0x137),'yxjzO':'Update\x20authentication\x20for\x20an\x20existing\x20profile','NTSbd':_0x2f37f6(0xd0),'xykFi':_0x2f37f6(0x1e1),'FioKt':_0x2f37f6(0x194),'cxUmy':function(_0x23220a,_0x4213c7,_0x5e9ea9){return _0x23220a(_0x4213c7,_0x5e9ea9);},'WOujz':'update','AGivl':'feature','TBZkw':'Optional\x20feature\x20ID','LRrcE':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','CAppB':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','gKeyk':'Scenario\x20index\x20(1-based)','xBdYf':_0x2f37f6(0x144),'hWbav':'base-url','zVibz':_0x2f37f6(0x155),'kyezA':_0x2f37f6(0x107),'clBeg':_0x2f37f6(0x1ff),'QdqwE':_0x2f37f6(0x176),'aPTot':_0x2f37f6(0x200),'CkkHj':'partial','XluFA':'failed','cdemQ':_0x2f37f6(0xcd),'zltHF':'item','RKTQj':function(_0x92c2d8,_0x528e0f,_0x49ba01){return _0x92c2d8(_0x528e0f,_0x49ba01);},'VlPHB':'ranger\x20auth\x20encrypt','SJHaj':'encrypt\x20<profile>','hwmSP':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','GmMty':function(_0x53c736,_0xff2a01,_0x560c28){return _0x53c736(_0xff2a01,_0x560c28);},'FyrAj':'ranger\x20start','zerNt':_0x2f37f6(0x1cc),'ufsJz':_0x2f37f6(0x15d),'THPgX':'notes','rBSQK':_0x2f37f6(0x205),'ovtpa':'debug-outcome','WZVdO':'verified','QIrYA':_0x2f37f6(0x197),'XywDb':'env-name','cmbXW':function(_0x2533cc,_0xa91222,_0x30fcd5){return _0x2533cc(_0xa91222,_0x30fcd5);},'OjWIn':_0x2f37f6(0x220),'iSgQQ':_0x2f37f6(0xed),'OBatF':_0x2f37f6(0x19b),'QhAaw':_0x2f37f6(0x14c),'nfnPE':'Environment\x20name','HDxmv':_0x2f37f6(0x18e),'FPbri':_0x2f37f6(0x1c5),'ItUAl':function(_0x838d75,_0x29a6e6,_0x43e3ed){return _0x838d75(_0x29a6e6,_0x43e3ed);},'dmwHf':'ranger\x20config\x20list','UoWfL':'ranger\x20profile\x20config\x20list','WGlUu':'key','zCUqB':'Config\x20key\x20to\x20remove','vbLqr':_0x2f37f6(0x103),'LIKyE':_0x2f37f6(0xb1),'Vbarc':'ranger\x20profile\x20config\x20unset','UxHWj':_0x2f37f6(0xe7),'DDeOC':'set\x20<env>\x20<key>\x20<value>','FSaSp':'get\x20<env>\x20<key>','dQafN':_0x2f37f6(0x7e),'xrEuG':'env\x20list','uVowe':function(_0x1138ef,_0x4f90bb,_0x27fe21){return _0x1138ef(_0x4f90bb,_0x27fe21);},'pskBP':'ranger\x20env\x20update','QOpji':'env\x20update','bxqyV':function(_0x36d92e,_0x1a944b,_0x2ca09a){return _0x36d92e(_0x1a944b,_0x2ca09a);},'Khhoz':'ranger\x20feature\x20add-checklist-item','JajEL':'ranger\x20add-scenario','kcYYv':'feature\x20add-checklist-item','XNvLv':function(_0x265838,_0x303161,_0x3e70fb){return _0x265838(_0x303161,_0x3e70fb);},'kpAwV':_0x2f37f6(0x1fe),'mqFOr':'Feature\x20review\x20ID\x20to\x20restore','PHYeq':'ranger\x20feature\x20restore','TKXWg':'ranger\x20restore','wvENS':'feature\x20restore','jVcAs':_0x2f37f6(0x1f2),'xaxMB':_0x2f37f6(0x169),'qYwOv':_0x2f37f6(0xce),'pVJjT':_0x2f37f6(0xac),'qBRDD':'ranger\x20feature\x20delete','REHmv':'create\x20<name>','GTHlr':_0x2f37f6(0x203),'kmINi':_0x2f37f6(0x1bf),'JKhOc':_0x2f37f6(0xf6),'cDPHD':'hook:disable','tSATm':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','kULaH':'enable','hGSoy':_0x2f37f6(0xc3),'vASQO':_0x2f37f6(0x211),'MGIfZ':function(_0x2ec7f1,_0x3b5297,_0x3b6129){return _0x2ec7f1(_0x3b5297,_0x3b6129);},'CDqJU':_0x2f37f6(0x133),'QnLtt':function(_0x469894){return _0x469894();},'NVxqZ':'Unknown\x20error','yogTS':_0x2f37f6(0xd1),'eGdFl':_0x2f37f6(0x11c),'Zqodc':'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','AiVws':_0x2f37f6(0x190),'qRgnU':_0x2f37f6(0xfc),'iiRtJ':'get-review\x20[id]','PHscZ':'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','lBrEg':_0x2f37f6(0xa4),'SyRia':_0x2f37f6(0x14b),'tIsxa':'login','uYsxP':'Install\x20Ranger\x20skills','OxnRf':'profiles','yfIGC':'Manage\x20profiles','pszxA':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','XoglH':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','dsbnE':_0x2f37f6(0x198),'Yzigl':'Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','lEzSr':_0x2f37f6(0x132),'ocnCt':'verify-feature','YsaQk':_0x2f37f6(0x116),'GGSqC':'You\x20must\x20specify\x20a\x20command'};return _0x15aa66[_0x2f37f6(0x76)](_0x1d7021,_0x25408e??process[_0x2f37f6(0x1cb)]['slice'](0x2))['scriptName'](_0x2f37f6(0x152))[_0x2f37f6(0x91)](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command'](_0x15aa66['REHmv'],_0x15aa66['yogTS'],_0x5bba71=>{const _0x51abc4=_0x2f37f6;return _0x5bba71[_0x51abc4(0x88)](_0x15aa66['VPywp'],{'type':_0x51abc4(0x166),'description':_0x15aa66['AQNfC'],'demandOption':!![]})[_0x51abc4(0x19f)](_0x51abc4(0x16e),{'type':_0x51abc4(0x166),'alias':'d','description':_0x51abc4(0x17f)})['option']('scenario',{'type':_0x51abc4(0x124),'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option'](_0x51abc4(0x1e6),{'type':_0x51abc4(0x124),'hidden':!![]});},async _0x541e22=>{const _0x1ee45f=_0x2f37f6;if(!_0x541e22['name']){console['error'](_0x15aa66['aftae']('Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a',_0x1ee45f(0x126))),process[_0x1ee45f(0x1ee)](0x1);return;}_0x15aa66[_0x1ee45f(0x109)](warnFlagRenamed,'ranger\x20create',_0x1ee45f(0x169),_0x15aa66['bPyya']);const _0x29356d=_0x541e22['scenario']||_0x541e22[_0x1ee45f(0x1e6)];await _0x15aa66['ftOnE'](withTelemetry,_0x15aa66[_0x1ee45f(0x1eb)],()=>featureCreate(_0x541e22['name'],{'description':_0x541e22[_0x1ee45f(0x16e)],'scenarios':_0x29356d}));})[_0x2f37f6(0x207)](_0x15aa66[_0x2f37f6(0x160)],_0x15aa66[_0x2f37f6(0x1d1)],_0x21436b=>{const _0x44c644=_0x2f37f6;return _0x21436b['option']('current-branch',{'type':'boolean','description':_0x15aa66['mrkWL']})['option'](_0x15aa66[_0x44c644(0xc2)],{'type':_0x15aa66[_0x44c644(0x1ea)],'alias':'l','description':_0x15aa66[_0x44c644(0x8a)],'default':0xa})['option']('offset',{'type':_0x15aa66[_0x44c644(0x1ea)],'alias':'o','description':_0x44c644(0xef),'default':0x0})[_0x44c644(0x19f)](_0x15aa66[_0x44c644(0x21c)],{'type':_0x15aa66[_0x44c644(0x1cf)],'alias':'d','description':_0x15aa66['pyDRB'],'default':![]});},async _0x361e0e=>{const _0x1be084=_0x2f37f6;await _0x15aa66['ftOnE'](withTelemetry,_0x15aa66[_0x1be084(0x160)],()=>featureList({'currentBranch':_0x361e0e[_0x1be084(0x212)],'limit':_0x361e0e[_0x1be084(0xd2)],'offset':_0x361e0e[_0x1be084(0x13c)],'includeDeleted':_0x361e0e[_0x1be084(0xa6)]}));})[_0x2f37f6(0x207)](_0x2f37f6(0x203),_0x15aa66[_0x2f37f6(0x199)],_0x3636b7=>{const _0x363315=_0x2f37f6;return _0x3636b7['positional']('id',{'type':_0x15aa66[_0x363315(0x21f)],'description':'Feature\x20review\x20ID'});},async _0x84aea0=>{await withTelemetry(_0x15aa66['EyndM'],()=>featureShow(_0x84aea0['id']));})['command'](_0x15aa66['kmINi'],_0x2f37f6(0x228),_0x508389=>{return _0x508389['positional']('id',{'type':'string','description':_0x15aa66['VKOCE']});},async _0x2b926f=>{await _0x15aa66['rUsHv'](withTelemetry,'resume',()=>featureResume(_0x2b926f['id']));})['command'](_0x15aa66[_0x2f37f6(0x8e)],_0x2f37f6(0x19a),_0x3deae5=>{const _0x1cefd0=_0x2f37f6;return _0x3deae5[_0x1cefd0(0x88)](_0x15aa66['FbCMk'],{'type':'string','description':_0x15aa66['hajhm'],'demandOption':!![]})['option']('id',{'type':'string','description':_0x1cefd0(0xb3)});},async _0x3309ed=>{const _0x52b3fa=_0x2f37f6;await _0x15aa66['hgfgv'](withTelemetry,_0x52b3fa(0x170),()=>featureAddScenario(_0x3309ed[_0x52b3fa(0x16e)],_0x3309ed['id']));})[_0x2f37f6(0x207)](_0x2f37f6(0xf1),_0x15aa66[_0x2f37f6(0x134)],_0x1cde5e=>{const _0x4fcf9d=_0x2f37f6;return _0x1cde5e['positional'](_0x15aa66['FbCMk'],{'type':'string','description':'New\x20scenario\x20description','demandOption':!![]})['option'](_0x15aa66['sTdqO'],{'type':_0x4fcf9d(0x213),'description':_0x15aa66['sTIUE'],'demandOption':!![]})[_0x4fcf9d(0x19f)]('id',{'type':'string','description':_0x15aa66[_0x4fcf9d(0x1c8)]});},async _0x3f55ee=>{const _0xe47d7b=_0x2f37f6;await _0x15aa66['Mbpmb'](withTelemetry,_0x15aa66['bDvmQ'],()=>featureEditScenario(_0x3f55ee[_0xe47d7b(0x16e)],{'id':_0x3f55ee['id'],'scenario':_0x3f55ee[_0xe47d7b(0x1fb)]}));})[_0x2f37f6(0x207)]('report\x20[id]','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0xd10b39=>{const _0x34361b=_0x2f37f6;return _0xd10b39['positional']('id',{'type':_0x34361b(0x166),'description':_0x15aa66['JAncs']})[_0x34361b(0x19f)](_0x15aa66[_0x34361b(0x143)],{'type':_0x15aa66[_0x34361b(0x21a)],'description':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'})['option'](_0x34361b(0x185),{'type':'boolean','description':_0x34361b(0x191),'default':![]});},async _0x38c92e=>{const _0x436298=_0x2f37f6,_0x337ac7=_0x38c92e[_0x15aa66[_0x436298(0x143)]],_0x74f317=_0x337ac7?_0x337ac7['map'](_0x4dba45=>Number(_0x4dba45)):undefined;await withTelemetry(_0x436298(0x21e),()=>featureReportPrDescription(_0x38c92e['id'],{'excludeScenarios':_0x74f317,'json':_0x38c92e['json']}));})[_0x2f37f6(0x207)](_0x15aa66['iiRtJ'],_0x15aa66['PHscZ'],_0x1c95b8=>{const _0x1863cb=_0x2f37f6;return _0x1c95b8['positional']('id',{'type':_0x15aa66['trFHA'],'description':_0x1863cb(0xb3)});},async _0x3e1b42=>{const _0x2223b3=_0x2f37f6;await _0x15aa66[_0x2223b3(0x1f1)](withTelemetry,_0x2223b3(0x86),()=>featureGetReview(_0x3e1b42['id']));})['command'](_0x15aa66[_0x2f37f6(0x20c)],_0x2f37f6(0xf5),_0x17237b=>{const _0x5c2fba=_0x2f37f6;return _0x17237b['positional']('id',{'type':_0x5c2fba(0x166),'description':_0x15aa66['JAncs']});},async _0x44c66b=>{await withTelemetry('delete',()=>featureDelete(_0x44c66b['id']));})[_0x2f37f6(0x207)]('restore\x20<id>',_0x2f37f6(0xe5),_0x1fed0b=>{const _0x537d3f=_0x2f37f6;return _0x1fed0b['positional']('id',{'type':_0x15aa66['trFHA'],'description':_0x537d3f(0x1fc),'demandOption':!![]});},async _0x56a55c=>{const _0x678b06=_0x2f37f6;await withTelemetry(_0x15aa66[_0x678b06(0x182)],()=>featureRestore(_0x56a55c['id']));})['command']('setup\x20[tokenOrSubcommand]',_0x2f37f6(0x1cd),_0x3d98da=>{const _0x237a33=_0x2f37f6,_0x495e71={'ZXKXm':'mcp-bootstrap','TqyVA':'boolean','nYsVn':function(_0x4e1a3a){return _0x4e1a3a();},'DTZrD':function(_0x1da8d4,_0x57895e){const _0x19a5cb=_0x3142;return _0x15aa66[_0x19a5cb(0x76)](_0x1da8d4,_0x57895e);},'XRyVP':function(_0x234559,_0x535451,_0x12888a){return _0x234559(_0x535451,_0x12888a);},'uHwTa':'scope','ceYyI':_0x15aa66['trFHA'],'RulEw':_0x15aa66[_0x237a33(0x159)],'goWPW':'Install\x20scope\x20for\x20plugin\x20and\x20skills','teJuE':_0x15aa66['fnkka'],'bgUJg':_0x15aa66['GWTyG'],'LZYxJ':'setup:skills','wQBRA':'url','WHrZs':_0x15aa66[_0x237a33(0xf0)],'kaAaI':_0x15aa66['EwtuS'],'ypkTj':_0x15aa66['mCOjG'],'kRZrH':function(_0x233827,_0x1d29be){return _0x233827!==_0x1d29be;},'qcuXn':function(_0x2c8d8c,_0x20728c){return _0x15aa66['AooOT'](_0x2c8d8c,_0x20728c);},'UduAu':_0x15aa66['qhBqN']};return _0x3d98da[_0x237a33(0x91)]('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')[_0x237a33(0x88)](_0x237a33(0x1c6),{'type':_0x15aa66['trFHA'],'description':_0x15aa66[_0x237a33(0x1c4)]})['command'](_0x15aa66['NFRMO'],'Run\x20full\x20interactive\x20setup',_0x3fd6e0=>{const _0x4ef760=_0x237a33;return _0x3fd6e0['option'](_0x4ef760(0x18f),{'type':_0x15aa66['trFHA'],'description':_0x4ef760(0x17e)})[_0x4ef760(0x19f)]('skip-chromium',{'type':_0x15aa66['QLquY'],'description':_0x15aa66['jByLy'],'default':![]})[_0x4ef760(0x19f)](_0x15aa66['EwtuS'],{'type':'boolean','description':_0x4ef760(0x184),'default':![]})[_0x4ef760(0x19f)](_0x4ef760(0x112),{'type':_0x15aa66['QLquY'],'description':_0x15aa66[_0x4ef760(0x189)],'default':![]})[_0x4ef760(0x19f)](_0x15aa66['QVKdU'],{'type':_0x15aa66['trFHA'],'choices':['user'],'hidden':!![],'description':_0x4ef760(0xe3)})['option'](_0x4ef760(0x1e8),{'type':_0x15aa66['trFHA'],'description':_0x15aa66['YFuLW']})[_0x4ef760(0x19f)](_0x15aa66['mCOjG'],{'type':_0x15aa66[_0x4ef760(0x1cf)],'description':_0x15aa66['QqPty'],'default':![]})[_0x4ef760(0x19f)](_0x15aa66[_0x4ef760(0x177)],{'type':'boolean','description':_0x15aa66['GWTyG'],'default':![]})['option'](_0x15aa66[_0x4ef760(0xdd)],{'type':_0x4ef760(0x1bb),'description':_0x15aa66['RRjPJ'],'default':![]})['option'](_0x15aa66[_0x4ef760(0x175)],{'type':'boolean','description':_0x15aa66['fzzpf'],'default':![]})[_0x4ef760(0x19f)](_0x15aa66[_0x4ef760(0x9a)],{'type':_0x15aa66['QLquY'],'description':_0x15aa66['IEwRX'],'default':![]});},async _0x8a0296=>{const _0x392485=_0x237a33;(_0x8a0296[_0x495e71[_0x392485(0x1e3)]]||_0x8a0296['mcp'])&&await withTelemetry(_0x392485(0x1f8),()=>mcpBootstrap()),await withTelemetry('setup:all',_0x5cf167=>start(_0x8a0296['token'],{'skipChromium':_0x8a0296['skip-chromium'],'skipAuth':_0x8a0296['skip-auth'],'withDeps':_0x8a0296[_0x392485(0x112)],'scope':_0x8a0296['scope'],'url':_0x8a0296['url'],'force':_0x8a0296[_0x392485(0x202)],'opencode':_0x8a0296['opencode'],'allowInsecureLocalhost':_0x8a0296['allow-insecure-localhost']},_0x5cf167));})['command'](_0x15aa66[_0x237a33(0x161)],_0x15aa66[_0x237a33(0xaa)],_0x454de0=>{const _0x203916=_0x237a33;return _0x454de0['option']('with-deps',{'type':_0x203916(0x1bb),'description':_0x15aa66['WvOQq'],'default':![]});},async _0x3502fb=>{const _0x47a0de=_0x237a33;await _0x15aa66[_0x47a0de(0xdc)](withTelemetry,_0x15aa66[_0x47a0de(0xb8)],()=>ensureChromium(_0x3502fb[_0x47a0de(0x112)]));})['command'](_0x237a33(0xe2),_0x15aa66[_0x237a33(0x1e7)],_0x3c215b=>{const _0x201db5=_0x237a33;return _0x3c215b[_0x201db5(0x19f)](_0x201db5(0x18f),{'type':_0x201db5(0x166),'description':_0x201db5(0x153)})[_0x201db5(0x19f)](_0x201db5(0x13b),{'type':_0x495e71[_0x201db5(0x120)],'description':_0x201db5(0xc8),'default':![]});},async _0x4be8b0=>{const _0x212412=_0x237a33,_0x10e027={'dQqmI':function(_0x4e181e){const _0x56b80f=_0x3142;return _0x495e71[_0x56b80f(0x232)](_0x4e181e);},'ipYNg':function(_0x4299b1,_0x22665b){return _0x495e71['DTZrD'](_0x4299b1,_0x22665b);}};await _0x495e71[_0x212412(0xc4)](withTelemetry,_0x212412(0xd8),async()=>{const _0x280709=_0x212412;if(_0x4be8b0['mcp']){await mcpBootstrap();const _0x19eb80=await _0x10e027['dQqmI'](refreshCliToken);if(!_0x19eb80)throw new Error(_0x280709(0x179));const _0x3c8fae=await getCurrentUser(_0x19eb80);if(!_0x3c8fae[_0x280709(0x157)])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x3c8fae['error']);console[_0x280709(0x1d9)]('✓\x20Authenticated\x20to\x20'+_0x3c8fae[_0x280709(0x1fd)][_0x280709(0x146)]);return;}await _0x10e027['ipYNg'](authenticate,_0x4be8b0[_0x280709(0x18f)]);});})['command'](_0x15aa66[_0x237a33(0x236)],_0x15aa66[_0x237a33(0xf9)],_0x121488=>{const _0x5e0c13=_0x237a33;return _0x121488['option'](_0x495e71['uHwTa'],{'type':_0x495e71[_0x5e0c13(0x1aa)],'choices':[_0x495e71['RulEw'],'project'],'description':_0x495e71['goWPW']})[_0x5e0c13(0x19f)](_0x495e71['teJuE'],{'type':_0x5e0c13(0x1bb),'description':_0x495e71['bgUJg'],'default':![]});},async _0x1c1d58=>{const _0x28911c=_0x237a33,_0x4ff886={'MBHPs':function(_0x2a8f88,_0x5e9746){return _0x2a8f88(_0x5e9746);},'YTxnV':function(_0xff2333,_0x3e3e12,_0x4d313d){return _0xff2333(_0x3e3e12,_0x4d313d);},'VnFBz':function(_0x32b137,_0x542703){return _0x32b137(_0x542703);}};await _0x495e71[_0x28911c(0xc4)](withTelemetry,_0x495e71[_0x28911c(0x101)],async()=>{const _0x6c3c9f=_0x28911c,_0x2c3a20=_0x1c1d58[_0x6c3c9f(0x8b)];if(_0x1c1d58['opencode']){const _0x44c5e1=await _0x4ff886[_0x6c3c9f(0x10d)](ensureOpencodePluginConfig,_0x2c3a20);_0x44c5e1&&await _0x4ff886[_0x6c3c9f(0x17d)](installSkill,'ranger',{'level':_0x44c5e1[_0x6c3c9f(0x8b)],'cliVersion':getCurrentVersion(),'platform':'opencode'});}else await _0x4ff886[_0x6c3c9f(0x1de)](ensureClaudePlugin,_0x2c3a20),await ensureClaudeSkills(_0x2c3a20);});})['command'](_0x237a33(0x92),_0x15aa66['bdgio'],_0x328274=>{const _0x4e064e=_0x237a33;return _0x328274['option']('scope',{'type':_0x495e71[_0x4e064e(0x1aa)],'choices':[_0x495e71[_0x4e064e(0x1c2)]],'description':_0x4e064e(0xe3)})[_0x4e064e(0x19f)](_0x495e71[_0x4e064e(0xa3)],{'type':_0x495e71['ceYyI'],'description':_0x495e71[_0x4e064e(0x7c)]})['option'](_0x495e71['kaAaI'],{'type':_0x495e71[_0x4e064e(0x120)],'description':_0x4e064e(0xbf),'default':![]})['option'](_0x495e71[_0x4e064e(0x1c1)],{'type':_0x4e064e(0x1bb),'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x4e064e(0x1b9),{'type':_0x495e71['TqyVA'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x2f7a78=>{const _0x17ff5d=_0x237a33,_0x404d57=_0x2f7a78['scope'];_0x404d57!==undefined&&_0x495e71['kRZrH'](_0x404d57,'user')&&(console[_0x17ff5d(0x154)](_0x495e71[_0x17ff5d(0xbe)]('ranger\x20setup\x20profiles\x20--scope='+_0x404d57+_0x17ff5d(0x1ca)+_0x17ff5d(0x1d4),_0x17ff5d(0x16b))),process['exit'](0x1)),await withTelemetry(_0x495e71[_0x17ff5d(0x150)],_0x3ac5a7=>ensureLocalEnv({'url':_0x2f7a78['url'],'force':_0x2f7a78[_0x17ff5d(0x202)],'allowInsecureLocalhost':_0x2f7a78['allow-insecure-localhost'],'scope':'user'},_0x3ac5a7));})[_0x237a33(0x19f)](_0x15aa66['WrZWU'],{'type':_0x237a33(0x1bb),'description':_0x237a33(0x215),'default':![]})[_0x237a33(0x19f)]('scope',{'type':_0x237a33(0x166),'choices':[_0x15aa66[_0x237a33(0x159)]],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x15aa66[_0x237a33(0x1c0)],{'type':_0x237a33(0x166),'description':_0x237a33(0x163)})['option'](_0x15aa66[_0x237a33(0x1d5)],{'type':'boolean','description':_0x15aa66['QqPty'],'default':![]})[_0x237a33(0x19f)](_0x15aa66[_0x237a33(0x177)],{'type':'boolean','description':_0x15aa66[_0x237a33(0xa9)],'default':![]})['option']('allow-insecure-localhost',{'type':_0x15aa66['QLquY'],'description':_0x15aa66['dctTS'],'default':![]})[_0x237a33(0x19f)](_0x237a33(0x1f8),{'type':'boolean','description':_0x15aa66['OOvHm'],'default':![]})['option'](_0x15aa66[_0x237a33(0x1fa)],{'type':_0x15aa66[_0x237a33(0x1cf)],'description':_0x237a33(0x87),'default':![]})[_0x237a33(0x19f)](_0x15aa66[_0x237a33(0x8c)],{'type':'boolean','description':_0x237a33(0x1bc),'default':![]})[_0x237a33(0x19f)](_0x15aa66['Fwtyf'],{'type':_0x15aa66['trFHA'],'hidden':!![],'description':_0x15aa66[_0x237a33(0x19e)]});},async _0x5df15e=>{const _0x26cfdf=_0x2f37f6,_0xebafdc=_0x5df15e[_0x26cfdf(0x1c6)],_0x182912=_0x5df15e['token']??_0xebafdc;_0x5df15e['mcp-bootstrap']&&await withTelemetry(_0x26cfdf(0x1f8),()=>mcpBootstrap()),await withTelemetry(_0x26cfdf(0x9f),_0x29a947=>start(_0x182912,{'skipChromium':_0x5df15e['skip-chromium'],'skipAuth':_0x5df15e[_0x26cfdf(0x74)],'withDeps':_0x5df15e['with-deps'],'scope':_0x5df15e['scope'],'url':_0x5df15e['url'],'force':_0x5df15e[_0x26cfdf(0x202)],'opencode':_0x5df15e['opencode'],'allowInsecureLocalhost':_0x5df15e['allow-insecure-localhost']},_0x29a947));})['command'](_0x15aa66[_0x2f37f6(0x1af)],![],_0x4900d3=>{const _0x342042=_0x2f37f6;return _0x4900d3['positional']('token',{'type':_0x15aa66[_0x342042(0x21f)],'description':_0x15aa66['HhBku'],'demandOption':!![]})['option'](_0x15aa66[_0x342042(0xb5)],{'type':_0x342042(0x166),'description':_0x342042(0xa1)})['option'](_0x342042(0x10f),{'type':_0x15aa66[_0x342042(0x21f)],'description':_0x15aa66['rkUau']})['option'](_0x15aa66['WrZWU'],{'type':_0x15aa66['QLquY'],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x75936b=>{const _0x174298=_0x2f37f6;await _0x15aa66[_0x174298(0x14d)](withTelemetry,_0x15aa66['qFHuL'],_0x32d255=>setupCi(_0x75936b['token'],{'profile':_0x75936b['profile'],'baseUrl':_0x75936b['base-url'],'skipChromium':_0x75936b[_0x174298(0x96)]},_0x32d255));})['command'](_0x15aa66['tIsxa'],_0x2f37f6(0xd4),()=>{},async()=>{const _0x3f66e1=_0x2f37f6;await withTelemetry(_0x3f66e1(0xe2),()=>login());})['command']('skillup',_0x15aa66['uYsxP'],_0x5346c9=>{const _0x150fcf=_0x2f37f6;return _0x5346c9['option'](_0x15aa66['fnkka'],{'type':'boolean','description':_0x150fcf(0x94),'default':![]})[_0x150fcf(0x19f)](_0x15aa66['QVKdU'],{'type':_0x15aa66[_0x150fcf(0x21f)],'choices':[_0x150fcf(0x1fd),_0x15aa66['hxbqz']],'description':_0x15aa66[_0x150fcf(0xde)]});},async _0x1dc455=>{const _0x338b3c=_0x2f37f6,_0x460033=_0x15aa66['rBcqP'](Boolean,_0x1dc455['opencode']);await withTelemetry(_0x15aa66['kvyug'],()=>skillup({'autoInstall':_0x1dc455[_0x338b3c(0x8b)],'platform':_0x460033?_0x338b3c(0x214):_0x338b3c(0x231)}));})[_0x2f37f6(0x207)](_0x2f37f6(0xb2),'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{const _0x59852f=_0x2f37f6;await withTelemetry(_0x15aa66[_0x59852f(0x81)],()=>clean());})['command'](['profile',_0x15aa66[_0x2f37f6(0x1ce)]],_0x15aa66['yfIGC'],_0x38ab34=>{const _0x2f5035=_0x2f37f6,_0x58fd17={'BNTsP':_0x15aa66['trFHA'],'GmzyG':_0x2f5035(0x1bb),'fVaMr':'force','XoSIg':_0x2f5035(0x1b9),'TowNz':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','mbrHD':_0x15aa66[_0x2f5035(0x90)],'AhfPF':_0x15aa66[_0x2f5035(0x22c)],'Fcaqe':_0x15aa66['RWEkY'],'SXveX':'user','OHMgG':_0x2f5035(0xf7),'mVqIt':_0x15aa66['KwJiz'],'daBNg':'profile\x20add','aAMBE':_0x15aa66['lwNZr'],'DDCxa':function(_0x5ab171,_0xa6ed5a,_0x5cbca3){return _0x15aa66['Mbpmb'](_0x5ab171,_0xa6ed5a,_0x5cbca3);},'JTLlT':_0x15aa66[_0x2f5035(0x79)],'yHEYE':function(_0x488bf0,_0x4f4b80){const _0x2b5d7f=_0x2f5035;return _0x15aa66[_0x2b5d7f(0x1db)](_0x488bf0,_0x4f4b80);},'rYULy':'No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','GXUiL':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','bJFxW':_0x2f5035(0x10c),'mUXrj':_0x15aa66[_0x2f5035(0x13e)],'jokqw':_0x15aa66[_0x2f5035(0x131)],'RsWsF':_0x15aa66[_0x2f5035(0x80)],'GLcjK':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','Bwvsg':_0x15aa66['RLlUN'],'RgaRG':_0x2f5035(0x1f4),'hdZdQ':_0x2f5035(0x100),'qrpSM':_0x2f5035(0x128),'Bhjmd':_0x2f5035(0xe9),'GWQvn':_0x15aa66['ncIMI'],'WAdGz':'unset\x20<profile>\x20<key>','htQfX':_0x2f5035(0x145)};return _0x38ab34[_0x2f5035(0x91)](PROFILE_HELP)[_0x2f5035(0x207)](_0x15aa66[_0x2f5035(0x18c)],_0x15aa66[_0x2f5035(0x20d)],_0x14b374=>{const _0x4cecae=_0x2f5035;return _0x14b374['positional']('profile-name',{'type':_0x58fd17[_0x4cecae(0xb4)],'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x58fd17['GmzyG'],'hidden':!![],'default':![]})['option']('skip-auth',{'type':'boolean','description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})['option']('url',{'type':'string','description':_0x4cecae(0x1ef)})[_0x4cecae(0x19f)](_0x58fd17[_0x4cecae(0xff)],{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x4cecae(0x11a),{'type':_0x58fd17['BNTsP'],'description':_0x4cecae(0x142)})[_0x4cecae(0x19f)](_0x58fd17['XoSIg'],{'type':_0x58fd17[_0x4cecae(0x139)],'description':_0x58fd17['TowNz'],'default':![]})[_0x4cecae(0x19f)](_0x58fd17['mbrHD'],{'type':_0x58fd17['GmzyG'],'description':_0x58fd17['AhfPF'],'default':![]})[_0x4cecae(0x19f)](_0x4cecae(0x225),{'type':_0x4cecae(0x166),'array':!![],'description':_0x58fd17['Fcaqe']})['option']('scope',{'type':_0x58fd17[_0x4cecae(0xb4)],'choices':[_0x58fd17['SXveX'],_0x58fd17[_0x4cecae(0x1a4)]],'description':_0x4cecae(0xc0)})[_0x4cecae(0x19f)](_0x58fd17[_0x4cecae(0x12b)],{'type':'boolean','alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','default':![]});},async _0x4d40af=>{const _0x1ce53c=_0x2f5035;await withTelemetry(_0x58fd17['daBNg'],_0x445f42=>addEnv(_0x4d40af[_0x1ce53c(0xa0)],{'ci':_0x4d40af['ci'],'skipAuth':_0x4d40af[_0x1ce53c(0x74)],'url':_0x4d40af['url'],'force':_0x4d40af[_0x1ce53c(0x202)],'cdpEndpoint':_0x4d40af['cdp-endpoint'],'allowInsecureLocalhost':_0x4d40af[_0x1ce53c(0x1b9)],'safeMode':_0x4d40af['safe-mode'],'setupHeader':_0x4d40af[_0x1ce53c(0x225)],'scope':_0x4d40af['scope'],'yes':_0x4d40af[_0x1ce53c(0x1e5)]},_0x445f42),{'isElectron':Boolean(_0x4d40af[_0x1ce53c(0x11a)])});})[_0x2f5035(0x207)](_0x2f5035(0xea),_0x15aa66[_0x2f5035(0x20f)],_0x547834=>{const _0x238dda=_0x2f5035;return _0x547834[_0x238dda(0x88)](_0x15aa66[_0x238dda(0x22f)],{'type':_0x15aa66[_0x238dda(0x21f)],'description':'Name\x20of\x20the\x20profile','demandOption':!![]});},async _0x2a6011=>{const _0x38e5b0=_0x2f5035;await withTelemetry('profile\x20use',()=>useEnv(_0x2a6011[_0x38e5b0(0xa0)]));})['command'](_0x15aa66[_0x2f5035(0x16f)],'Delete\x20a\x20cloud\x20profile',_0x49d0ce=>{const _0x380e8c=_0x2f5035;return _0x49d0ce['positional'](_0x380e8c(0xa0),{'type':_0x15aa66[_0x380e8c(0x21f)],'description':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','demandOption':!![]})['option'](_0x15aa66[_0x380e8c(0x14e)],{'type':_0x15aa66[_0x380e8c(0x1cf)],'alias':'y','description':_0x15aa66['pPkKV'],'default':![]});},async _0x662213=>{const _0x164e93=_0x2f5035;await _0x15aa66['lQQra'](withTelemetry,_0x15aa66[_0x164e93(0x95)],()=>deleteProfile(_0x662213['profile-name'],{'yes':_0x662213[_0x164e93(0x1e5)]}));})[_0x2f5035(0x207)](_0x15aa66[_0x2f5035(0x9b)],![],_0x31b846=>{const _0x1e3a1d=_0x2f5035;return _0x31b846[_0x1e3a1d(0x88)]('profile',{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x1771c5=>{const _0x25e534=_0x2f5035;await _0x15aa66['Mbpmb'](withTelemetry,_0x15aa66[_0x25e534(0x217)],()=>authEncrypt(_0x1771c5['profile']));})[_0x2f5035(0x207)]('ls',_0x15aa66['HPArb'],()=>{},async()=>{await withTelemetry('profile\x20ls',()=>envList());})[_0x2f5035(0x207)](_0x2f5035(0x102),_0x15aa66[_0x2f5035(0x188)],_0x147393=>{const _0x2614c3=_0x2f5035;return _0x147393['positional'](_0x58fd17[_0x2614c3(0x136)],{'type':_0x58fd17[_0x2614c3(0xb4)],'description':_0x2614c3(0xbc),'demandOption':!![]})['option']('allow-insecure-localhost',{'type':_0x2614c3(0x1bb),'description':_0x2614c3(0x14a)});},async _0x804702=>{const _0x236d05=_0x2f5035;await _0x58fd17['DDCxa'](withTelemetry,_0x58fd17[_0x236d05(0xcc)],_0x52e4f0=>updateEnv(_0x804702[_0x236d05(0xa0)],_0x52e4f0,{'allowInsecureLocalhost':_0x804702[_0x236d05(0x1b9)]}));})[_0x2f5035(0x207)]('login\x20<name>',![],_0x5d55a6=>{const _0x1df3b5=_0x2f5035;return _0x5d55a6[_0x1df3b5(0x88)]('name',{'type':_0x15aa66['trFHA'],'description':_0x15aa66[_0x1df3b5(0x1d3)],'demandOption':!![]});},async _0x41e654=>{const _0xef153c=_0x2f5035;await _0x58fd17[_0xef153c(0x1b7)](withTelemetry,'profile\x20login',async()=>{const _0x26cf2b=_0xef153c,_0x5d2f30=process['env']['RANGER_TEST_USERNAME'],_0x4370af=process['env']['RANGER_TEST_PASSWORD'];_0x58fd17['yHEYE'](!_0x5d2f30,!_0x4370af)&&(console[_0x26cf2b(0x154)](_0x26cf2b(0xda)),process[_0x26cf2b(0x1ee)](0x1));const _0xc38c6a=_0x41e654[_0x26cf2b(0x223)],_0x336e01=await _0x58fd17['DDCxa'](serverSideLogin,_0xc38c6a,{'force':!![]});_0x336e01['status']===_0x26cf2b(0x149)&&(console['error'](_0x58fd17['rYULy']),process[_0x26cf2b(0x1ee)](0x1)),_0x336e01[_0x26cf2b(0x194)]==='failed'&&(console[_0x26cf2b(0x154)]('Login\x20failed:\x20'+(_0x336e01['error']??_0x26cf2b(0x230))),_0x336e01['test_output']&&console['error'](_0x336e01[_0x26cf2b(0x1ad)]),process[_0x26cf2b(0x1ee)](0x1)),console[_0x26cf2b(0x1d9)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0xc38c6a+_0x26cf2b(0xec));});})[_0x2f5035(0x207)]('migrate\x20[profile-name]',![],_0x21a1ec=>{const _0xbba9c3=_0x2f5035;return _0x21a1ec['positional']('profile-name',{'type':_0x58fd17['BNTsP'],'description':_0x58fd17['GXUiL']})[_0xbba9c3(0x19f)]('all',{'type':_0x58fd17[_0xbba9c3(0x139)],'description':_0x58fd17[_0xbba9c3(0x1c9)],'default':![]})[_0xbba9c3(0x19f)](_0x58fd17[_0xbba9c3(0x98)],{'type':'boolean','description':_0x58fd17[_0xbba9c3(0xad)],'default':![]})['option']('yes',{'type':'boolean','alias':'y','description':_0x58fd17['RsWsF'],'default':![]})['option'](_0xbba9c3(0x1b5),{'type':_0xbba9c3(0x1bb),'description':_0x58fd17[_0xbba9c3(0x201)],'default':![]});},async _0x2804f8=>{const _0x33ba59=_0x2f5035;await _0x15aa66['qeWUS'](withTelemetry,'profile\x20migrate',_0x58146c=>migrateProfile({'profileName':_0x2804f8['profile-name'],'all':_0x2804f8['all'],'dryRun':_0x2804f8[_0x33ba59(0xe4)],'yes':_0x2804f8['yes'],'saveCreds':_0x2804f8['save-creds']},_0x58146c));})[_0x2f5035(0x207)](_0x15aa66[_0x2f5035(0xab)],_0x2f5035(0x204),_0x9b74aa=>{const _0x90b369=_0x2f5035,_0x1edc07={'xiUsF':_0x58fd17[_0x90b369(0xb4)],'cIIyx':_0x58fd17['hdZdQ'],'UPhiy':_0x58fd17[_0x90b369(0xfe)],'MFbuu':_0x58fd17[_0x90b369(0xca)],'Pnlcs':_0x58fd17[_0x90b369(0x186)],'jgmFE':function(_0x3844c9,_0x51d4ae,_0xf5ea70){return _0x58fd17['DDCxa'](_0x3844c9,_0x51d4ae,_0xf5ea70);},'oNiki':function(_0x38800a,_0x40004c,_0x9389e7){return _0x38800a(_0x40004c,_0x9389e7);}};return _0x9b74aa[_0x90b369(0x91)](PROFILE_CONFIG_HELP)['command']('set\x20<profile>\x20<key>\x20<value>',_0x90b369(0xaf),_0x1deb22=>{const _0x2e0598=_0x90b369;return _0x1deb22[_0x2e0598(0x88)]('profile',{'type':_0x1edc07[_0x2e0598(0x1b1)],'description':_0x2e0598(0x172),'demandOption':!![]})[_0x2e0598(0x88)](_0x2e0598(0x128),{'type':_0x1edc07['xiUsF'],'description':_0x2e0598(0x110),'demandOption':!![]})[_0x2e0598(0x88)]('value',{'type':_0x1edc07[_0x2e0598(0x1b1)],'description':_0x2e0598(0x1c5),'demandOption':!![]});},async _0x2d6182=>{const _0x30bb18=_0x90b369;await _0x58fd17['DDCxa'](withTelemetry,'profile\x20config\x20set',()=>configSet(_0x2d6182['profile'],_0x2d6182[_0x30bb18(0x128)],_0x2d6182['value']));})['command'](_0x58fd17[_0x90b369(0x17c)],'Get\x20a\x20config\x20value',_0x5b6ac0=>{const _0x37b70f=_0x90b369;return _0x5b6ac0[_0x37b70f(0x88)](_0x1edc07['cIIyx'],{'type':'string','description':_0x1edc07[_0x37b70f(0x148)],'demandOption':!![]})[_0x37b70f(0x88)](_0x1edc07['MFbuu'],{'type':_0x1edc07['xiUsF'],'description':_0x1edc07['Pnlcs'],'demandOption':!![]});},async _0x1da32a=>{const _0x4dd428=_0x90b369;await _0x1edc07[_0x4dd428(0x168)](withTelemetry,'profile\x20config\x20get',()=>configGet(_0x1da32a['profile'],_0x1da32a[_0x4dd428(0x128)]));})[_0x90b369(0x207)](_0x90b369(0x11f),'List\x20all\x20config\x20for\x20a\x20profile',_0xd44e7c=>{const _0x4e009a=_0x90b369;return _0xd44e7c[_0x4e009a(0x88)](_0x4e009a(0x100),{'type':'string','description':_0x58fd17[_0x4e009a(0xfe)],'demandOption':!![]});},async _0x3ea88b=>{const _0x438264=_0x90b369;await withTelemetry(_0x58fd17['RgaRG'],()=>configList(_0x3ea88b[_0x438264(0x100)]));})[_0x90b369(0x207)](_0x58fd17[_0x90b369(0x106)],_0x90b369(0x123),_0x399234=>{const _0x14c951=_0x90b369;return _0x399234[_0x14c951(0x88)](_0x14c951(0x100),{'type':_0x58fd17[_0x14c951(0xb4)],'description':_0x14c951(0x172),'demandOption':!![]})[_0x14c951(0x88)](_0x14c951(0x128),{'type':_0x14c951(0x166),'description':_0x14c951(0x108),'demandOption':!![]});},async _0x10a383=>{const _0x4e6db2=_0x90b369;await _0x1edc07['oNiki'](withTelemetry,_0x4e6db2(0x1b2),()=>configUnset(_0x10a383['profile'],_0x10a383['key']));})[_0x90b369(0x207)](_0x90b369(0x1be),_0x58fd17[_0x90b369(0x11e)],_0x2eb020=>{return _0x2eb020['positional'](_0x1edc07['cIIyx'],{'type':_0x1edc07['xiUsF'],'description':_0x1edc07['UPhiy'],'demandOption':!![]});},async _0x1d1678=>{const _0x82cccf=_0x90b369;await withTelemetry(_0x82cccf(0x22d),()=>configReset(_0x1d1678['profile']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})[_0x2f5035(0x1f3)](0x1,_0x15aa66[_0x2f5035(0x125)]);})[_0x2f37f6(0x207)]('status',_0x15aa66[_0x2f37f6(0xe0)],()=>{},async()=>{await withTelemetry(_0x15aa66['FioKt'],()=>status());})['command'](_0x2f37f6(0x83),_0x15aa66['XoglH'],()=>{},async()=>{const _0x4dcc34=_0x2f37f6;await _0x15aa66[_0x4dcc34(0x14f)](withTelemetry,_0x15aa66[_0x4dcc34(0x89)],()=>update());})[_0x2f37f6(0x207)]('print-access-token',_0x15aa66['dsbnE'],()=>{},async()=>{const _0x31364e=_0x2f37f6;await withTelemetry(_0x31364e(0xd5),async()=>{const _0x1780fb=_0x31364e,_0x3d7a2e=await getToken();if(!_0x3d7a2e)throw new Error(_0x1780fb(0x13d));console[_0x1780fb(0x1d9)](_0x3d7a2e);});})[_0x2f37f6(0x207)]('go',_0x15aa66[_0x2f37f6(0x1b3)],_0x42f81a=>{const _0x48f8d3=_0x2f37f6;return _0x42f81a[_0x48f8d3(0x19f)](_0x15aa66[_0x48f8d3(0x20a)],{'type':_0x15aa66[_0x48f8d3(0x21f)],'description':_0x15aa66[_0x48f8d3(0xcf)]})['option'](_0x48f8d3(0x100),{'type':'string','description':_0x15aa66['LRrcE']})['option']('notes',{'type':_0x15aa66['trFHA'],'description':_0x15aa66[_0x48f8d3(0x192)]})[_0x48f8d3(0x19f)]('scenario',{'type':'number','description':_0x15aa66['gKeyk']})[_0x48f8d3(0x19f)]('start-path',{'type':'string','description':_0x15aa66[_0x48f8d3(0x1ae)]})['option'](_0x15aa66[_0x48f8d3(0x140)],{'type':_0x48f8d3(0x166),'description':_0x15aa66['zVibz']})['option'](_0x15aa66[_0x48f8d3(0x82)],{'type':_0x15aa66['trFHA'],'description':_0x15aa66['clBeg']})[_0x48f8d3(0x19f)](_0x15aa66['QdqwE'],{'type':_0x48f8d3(0x1bb),'description':_0x15aa66[_0x48f8d3(0xdb)],'default':![]})['option']('debug-outcome',{'type':_0x15aa66[_0x48f8d3(0x21f)],'hidden':!![],'choices':['verified',_0x15aa66[_0x48f8d3(0x15f)],_0x48f8d3(0x197),_0x15aa66['XluFA'],_0x15aa66['cdemQ']]})[_0x48f8d3(0x19f)](_0x48f8d3(0x1a6),{'type':_0x48f8d3(0x1bb),'hidden':!![]})['option'](_0x48f8d3(0x14c),{'type':'string','hidden':!![]})['option'](_0x48f8d3(0x15d),{'type':_0x48f8d3(0x166),'hidden':!![]})['option'](_0x15aa66[_0x48f8d3(0x9d)],{'type':'number','hidden':!![]});},async _0x1884c8=>{await _0x15aa66['rBcqP'](runGoCommand,_0x1884c8);})['command']('auth',![],_0x10bacb=>{const _0x25ef97=_0x2f37f6,_0x11394b={'bljWA':function(_0x5bd9e1,_0x417224,_0x323694){const _0x267927=_0x3142;return _0x15aa66[_0x267927(0x1a5)](_0x5bd9e1,_0x417224,_0x323694);},'Jtupb':_0x15aa66[_0x25ef97(0x16c)],'uZxQC':function(_0x558ebe,_0xd6dc1){return _0x558ebe(_0xd6dc1);}};return _0x10bacb[_0x25ef97(0x207)](_0x15aa66['SJHaj'],![],_0x1d40ac=>{const _0x33dfc0=_0x25ef97;return _0x1d40ac['positional'](_0x33dfc0(0x100),{'type':_0x33dfc0(0x166),'description':_0x15aa66[_0x33dfc0(0x1f0)],'demandOption':!![]});},async _0x23c13b=>{const _0x440154=_0x25ef97;_0x11394b[_0x440154(0x237)](warnRenamed,_0x11394b[_0x440154(0x111)],'ranger\x20profile\x20encrypt-auth'),await _0x11394b['uZxQC'](authEncrypt,_0x23c13b['profile']);})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command'](_0x15aa66[_0x2f37f6(0x221)],![],_0x185e01=>{const _0x1aa85b=_0x2f37f6;return _0x185e01['positional'](_0x15aa66[_0x1aa85b(0x22b)],{'type':'string','description':_0x15aa66['hwmSP']})['option'](_0x1aa85b(0x96),{'type':_0x1aa85b(0x1bb),'description':_0x15aa66[_0x1aa85b(0x7b)],'default':![]})['option'](_0x1aa85b(0x8b),{'type':'string','choices':['user'],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option']('url',{'type':_0x1aa85b(0x166),'description':_0x1aa85b(0x163)})['option'](_0x15aa66[_0x1aa85b(0x1d5)],{'type':'boolean','description':_0x1aa85b(0x1a2),'default':![]})[_0x1aa85b(0x19f)](_0x15aa66[_0x1aa85b(0x1fa)],{'type':'boolean','description':_0x1aa85b(0x184),'default':![]})['option']('with-deps',{'type':_0x1aa85b(0x1bb),'description':_0x15aa66['OFYxD'],'default':![]});},async _0x5c4ef4=>{const _0x4f4fc3=_0x2f37f6;_0x15aa66['GmMty'](warnRenamed,_0x15aa66[_0x4f4fc3(0x21b)],_0x15aa66[_0x4f4fc3(0x75)]),await withTelemetry(_0x4f4fc3(0x9f),_0x372f26=>start(_0x5c4ef4['token'],{'skipChromium':_0x5c4ef4[_0x4f4fc3(0x96)],'skipAuth':_0x5c4ef4['skip-auth'],'withDeps':_0x5c4ef4[_0x4f4fc3(0x112)],'scope':_0x5c4ef4['scope'],'url':_0x5c4ef4[_0x4f4fc3(0x1e8)],'force':_0x5c4ef4[_0x4f4fc3(0x202)]},_0x372f26));})[_0x2f37f6(0x207)](_0x15aa66['ocnCt'],![],_0x5aa62b=>{const _0x23d16e=_0x2f37f6;return _0x5aa62b['option'](_0x23d16e(0x14c),{'type':_0x15aa66[_0x23d16e(0x21f)],'description':_0x23d16e(0xf4)})['option'](_0x15aa66[_0x23d16e(0x233)],{'type':_0x15aa66[_0x23d16e(0x21f)],'description':_0x23d16e(0x84)})['option'](_0x23d16e(0xd3),{'type':_0x15aa66['yDTVo'],'description':'Scenario\x20index\x20(1-based)'})['option'](_0x23d16e(0x100),{'type':'string','hidden':!![]})['option'](_0x15aa66[_0x23d16e(0xb7)],{'type':'string','hidden':!![]})['option'](_0x23d16e(0x1fb),{'type':_0x23d16e(0x213),'hidden':!![]})[_0x23d16e(0x19f)](_0x23d16e(0xba),{'type':_0x15aa66['trFHA'],'description':_0x15aa66['xBdYf']})[_0x23d16e(0x19f)](_0x23d16e(0x10f),{'type':_0x15aa66[_0x23d16e(0x21f)],'description':_0x15aa66[_0x23d16e(0xf2)]})[_0x23d16e(0x19f)]('model',{'type':'string','hidden':!![]})['option'](_0x23d16e(0x176),{'type':_0x23d16e(0x1bb),'hidden':!![],'default':![]})[_0x23d16e(0x19f)](_0x15aa66['ovtpa'],{'type':_0x15aa66['trFHA'],'hidden':!![],'choices':[_0x15aa66[_0x23d16e(0x1f6)],_0x15aa66[_0x23d16e(0x15f)],_0x15aa66['QIrYA'],_0x23d16e(0x99),'incomplete']});},async _0x5a057f=>{await runGoCommand(_0x5a057f,!![]);})[_0x2f37f6(0x207)](_0x15aa66['YsaQk'],![],_0x2a2898=>{const _0x58f71a=_0x2f37f6;return _0x2a2898['positional'](_0x15aa66['XywDb'],{'type':_0x15aa66[_0x58f71a(0x21f)],'description':_0x58f71a(0x193),'demandOption':!![]})['option']('ci',{'type':_0x15aa66['QLquY'],'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x15aa66['EwtuS'],{'type':_0x58f71a(0x1bb),'description':_0x58f71a(0x21d),'default':![]});},async _0x5dcc38=>{const _0xd0ac72=_0x2f37f6;_0x15aa66[_0xd0ac72(0x12a)](warnRenamed,_0x15aa66[_0xd0ac72(0x164)],_0xd0ac72(0x117)),await withTelemetry(_0xd0ac72(0x12f),_0x218500=>addEnv(_0x5dcc38[_0xd0ac72(0x12c)],{'ci':_0x5dcc38['ci'],'skipAuth':_0x5dcc38[_0xd0ac72(0x74)]},_0x218500));})['command']('use\x20<env-name>',![],_0x2791b1=>{const _0x497342=_0x2f37f6;return _0x2791b1[_0x497342(0x88)](_0x15aa66['XywDb'],{'type':_0x15aa66[_0x497342(0x21f)],'description':_0x497342(0x7d),'demandOption':!![]});},async _0x551bea=>{const _0x55bf3b=_0x2f37f6;warnRenamed(_0x15aa66['iSgQQ'],_0x15aa66['OBatF']),await withTelemetry(_0x55bf3b(0x9e),()=>useEnv(_0x551bea['env-name']));})['command'](_0x15aa66['NTSbd'],![],_0x44b055=>{const _0x1c7c3e=_0x2f37f6,_0x27d6d0={'zQpvN':_0x1c7c3e(0x128),'iYRJb':_0x1c7c3e(0xe9),'OjCyN':function(_0x25ca9d,_0x5b7ddf,_0x3e89e2){const _0x3b922f=_0x1c7c3e;return _0x15aa66[_0x3b922f(0x1f1)](_0x25ca9d,_0x5b7ddf,_0x3e89e2);},'dmbpw':'ranger\x20config\x20get','aMqyu':_0x15aa66['vbLqr'],'scUYC':_0x15aa66['LIKyE'],'UVvZs':_0x15aa66['Vbarc'],'cVJhL':_0x15aa66['UxHWj']};return _0x44b055[_0x1c7c3e(0x207)](_0x15aa66[_0x1c7c3e(0x229)],![],_0x5b854d=>{const _0x1a50af=_0x1c7c3e;return _0x5b854d[_0x1a50af(0x88)](_0x15aa66[_0x1a50af(0x187)],{'type':_0x15aa66[_0x1a50af(0x21f)],'description':_0x15aa66[_0x1a50af(0x1ab)],'demandOption':!![]})[_0x1a50af(0x88)]('key',{'type':_0x15aa66['trFHA'],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})[_0x1a50af(0x88)](_0x15aa66['HDxmv'],{'type':'string','description':_0x15aa66[_0x1a50af(0x173)],'demandOption':!![]});},async _0x2827a7=>{const _0x4f5974=_0x1c7c3e;_0x15aa66['lQQra'](warnRenamed,'ranger\x20config\x20set',_0x4f5974(0x1f9)),await _0x15aa66[_0x4f5974(0x174)](withTelemetry,_0x4f5974(0x1a0),()=>configSet(_0x2827a7[_0x4f5974(0x14c)],_0x2827a7[_0x4f5974(0x128)],_0x2827a7['value']));})['command'](_0x15aa66[_0x1c7c3e(0x196)],![],_0x43514e=>{const _0x5f0126=_0x1c7c3e;return _0x43514e['positional']('env',{'type':'string','description':'Environment\x20name','demandOption':!![]})['positional'](_0x27d6d0['zQpvN'],{'type':_0x5f0126(0x166),'description':_0x27d6d0[_0x5f0126(0xb9)],'demandOption':!![]});},async _0xb63200=>{const _0x400f4f=_0x1c7c3e;_0x27d6d0[_0x400f4f(0x127)](warnRenamed,_0x27d6d0['dmbpw'],_0x27d6d0['aMqyu']),await withTelemetry('config\x20get',()=>configGet(_0xb63200['env'],_0xb63200[_0x400f4f(0x128)]));})['command'](_0x15aa66[_0x1c7c3e(0x78)],![],_0x3e889e=>{const _0x377614=_0x1c7c3e;return _0x3e889e[_0x377614(0x88)]('env',{'type':'string','description':_0x377614(0x226),'demandOption':!![]});},async _0x3855cd=>{const _0x3bfc95=_0x1c7c3e;warnRenamed(_0x15aa66['dmwHf'],_0x15aa66['UoWfL']),await withTelemetry(_0x3bfc95(0xe6),()=>configList(_0x3855cd['env']));})['command'](_0x1c7c3e(0xe8),![],_0x12bac7=>{const _0x4849dc=_0x1c7c3e;return _0x12bac7[_0x4849dc(0x88)](_0x15aa66['QhAaw'],{'type':'string','description':'Environment\x20name','demandOption':!![]})['positional'](_0x15aa66['WGlUu'],{'type':_0x15aa66[_0x4849dc(0x21f)],'description':_0x15aa66[_0x4849dc(0x1df)],'demandOption':!![]});},async _0x5444d8=>{const _0x400088=_0x1c7c3e;_0x27d6d0[_0x400088(0x127)](warnRenamed,_0x27d6d0[_0x400088(0x8d)],_0x27d6d0[_0x400088(0x13f)]),await _0x27d6d0[_0x400088(0x127)](withTelemetry,_0x27d6d0['cVJhL'],()=>configUnset(_0x5444d8[_0x400088(0x14c)],_0x5444d8['key']));})[_0x1c7c3e(0x1f3)](0x1,_0x1c7c3e(0xa5));})[_0x2f37f6(0x207)](_0x15aa66['QhAaw'],![],_0x1dbea2=>{const _0x319588=_0x2f37f6,_0x5f0151={'JoBGV':_0x319588(0x12c),'pDzaX':_0x15aa66[_0x319588(0x21f)]};return _0x1dbea2['command']('ls',![],()=>{},async()=>{const _0x4eaf79=_0x319588;warnRenamed(_0x4eaf79(0x10b),'ranger\x20profile\x20ls'),await withTelemetry(_0x15aa66['xrEuG'],()=>envList());})['command']('update\x20<env-name>',![],_0x450a82=>{const _0x1061a6=_0x319588;return _0x450a82[_0x1061a6(0x88)](_0x5f0151[_0x1061a6(0x1e0)],{'type':_0x5f0151['pDzaX'],'description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0xbb51aa=>{const _0x1189ca=_0x319588;_0x15aa66['uVowe'](warnRenamed,_0x15aa66[_0x1189ca(0x208)],_0x1189ca(0x129)),await withTelemetry(_0x15aa66[_0x1189ca(0x12d)],_0x27182e=>updateEnv(_0xbb51aa['env-name'],_0x27182e));})[_0x319588(0x1f3)](0x1,'You\x20must\x20specify\x20an\x20env\x20subcommand');})['command']('feature',![],_0x55b28c=>{const _0x56ca7b=_0x2f37f6,_0x4cd7a9={'DSkuo':function(_0x1d5bdc,_0x3a883b,_0x5ae2d7){return _0x1d5bdc(_0x3a883b,_0x5ae2d7);},'AIWmR':function(_0x562890,_0x367a52,_0x423c78,_0x5421be){return _0x562890(_0x367a52,_0x423c78,_0x5421be);},'TkeFm':_0x15aa66[_0x56ca7b(0x18b)],'ejqXR':_0x15aa66[_0x56ca7b(0x1d7)],'ypHwe':'--scenario','vaoXC':_0x15aa66['qYwOv'],'RvbKX':_0x15aa66['QLquY'],'XOIoN':_0x15aa66[_0x56ca7b(0xc2)],'wXHol':_0x15aa66[_0x56ca7b(0x8a)],'HNPiW':'offset','BcxTA':_0x15aa66[_0x56ca7b(0x10e)],'GQSYS':function(_0x173cb3,_0x1d65d0,_0x1999d0){return _0x173cb3(_0x1d65d0,_0x1999d0);},'MSQkI':'feature\x20list','gEihX':_0x15aa66[_0x56ca7b(0x1c3)],'blkDS':_0x56ca7b(0x181),'KrXEr':'string','xxQLd':function(_0x25f882,_0x2b437e,_0x2afeaa){return _0x25f882(_0x2b437e,_0x2afeaa);},'xqCOT':'ranger\x20feature\x20resume','vQJBh':_0x15aa66['pVJjT'],'cOTEX':function(_0x3ebbd2,_0x2d9c6b,_0x5a0ab9){return _0x3ebbd2(_0x2d9c6b,_0x5a0ab9);},'ZKiNq':_0x15aa66['qBRDD']};return _0x55b28c[_0x56ca7b(0x207)](_0x15aa66[_0x56ca7b(0xf8)],![],_0x4eae6b=>{const _0x5b770b=_0x56ca7b;return _0x4eae6b['positional']('name',{'type':_0x5b770b(0x166),'description':_0x5b770b(0xd7),'demandOption':!![]})[_0x5b770b(0x19f)]('description',{'type':'string','alias':'d','description':'Feature\x20review\x20description'})['option']('checklist',{'type':_0x15aa66['kTeLx'],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x5b770b(0x19f)](_0x15aa66['sTdqO'],{'type':_0x15aa66[_0x5b770b(0x21a)],'hidden':!![]});},async _0x3b17df=>{const _0x4f350f=_0x56ca7b;_0x4cd7a9['DSkuo'](warnRenamed,'ranger\x20feature\x20create','ranger\x20create'),_0x4cd7a9['AIWmR'](warnFlagRenamed,_0x4cd7a9[_0x4f350f(0x20e)],_0x4cd7a9['ejqXR'],_0x4cd7a9['ypHwe']);const _0x1348bd=_0x3b17df['scenario']||_0x3b17df[_0x4f350f(0x1e6)];await withTelemetry(_0x4cd7a9['vaoXC'],()=>featureCreate(_0x3b17df['name'],{'description':_0x3b17df[_0x4f350f(0x16e)],'scenarios':_0x1348bd}));})['command']('list',![],_0xefc9c1=>{const _0x156de6=_0x56ca7b;return _0xefc9c1[_0x156de6(0x19f)]('current-branch',{'type':_0x4cd7a9['RvbKX'],'description':_0x156de6(0x222)})['option'](_0x4cd7a9[_0x156de6(0x1f7)],{'type':'number','alias':'l','description':_0x4cd7a9['wXHol'],'default':0xa})[_0x156de6(0x19f)](_0x4cd7a9['HNPiW'],{'type':'number','alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option'](_0x156de6(0xa6),{'type':_0x4cd7a9['RvbKX'],'alias':'d','description':_0x4cd7a9['BcxTA'],'default':![]});},async _0x406f51=>{const _0x277d2b=_0x56ca7b;_0x4cd7a9['DSkuo'](warnRenamed,_0x277d2b(0x235),_0x277d2b(0x15b)),await _0x4cd7a9[_0x277d2b(0x218)](withTelemetry,_0x4cd7a9[_0x277d2b(0x210)],()=>featureList({'currentBranch':_0x406f51['current-branch'],'limit':_0x406f51['limit'],'offset':_0x406f51['offset'],'includeDeleted':_0x406f51['include-deleted']}));})['command'](_0x15aa66['GTHlr'],![],_0x97a47c=>{const _0x1a0389=_0x56ca7b;return _0x97a47c[_0x1a0389(0x88)]('id',{'type':'string','description':_0x4cd7a9['gEihX']});},async _0x3523b7=>{const _0x2252d2=_0x56ca7b;_0x4cd7a9['DSkuo'](warnRenamed,_0x2252d2(0xdf),'ranger\x20show'),await _0x4cd7a9[_0x2252d2(0x218)](withTelemetry,_0x4cd7a9[_0x2252d2(0xd9)],()=>featureShow(_0x3523b7['id']));})['command'](_0x15aa66[_0x56ca7b(0x162)],![],_0xfa80fa=>{const _0x38f9cc=_0x56ca7b;return _0xfa80fa['positional']('id',{'type':_0x4cd7a9[_0x38f9cc(0x118)],'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x57a066=>{const _0x22bb6e=_0x56ca7b;_0x4cd7a9['xxQLd'](warnRenamed,_0x4cd7a9[_0x22bb6e(0x17b)],_0x4cd7a9[_0x22bb6e(0x104)]),await _0x4cd7a9['cOTEX'](withTelemetry,'feature\x20resume',()=>featureResume(_0x57a066['id']));})[_0x56ca7b(0x207)]('add-checklist-item\x20<description>',![],_0x20c6bd=>{const _0x566b7b=_0x56ca7b;return _0x20c6bd[_0x566b7b(0x88)]('description',{'type':_0x566b7b(0x166),'description':_0x566b7b(0x138),'demandOption':!![]})[_0x566b7b(0x19f)]('id',{'type':_0x15aa66['trFHA'],'description':_0x15aa66['cnLiL']});},async _0x26452d=>{const _0x2daa03=_0x56ca7b;_0x15aa66[_0x2daa03(0x156)](warnRenamed,_0x15aa66[_0x2daa03(0x13a)],_0x15aa66[_0x2daa03(0x1b4)]),await withTelemetry(_0x15aa66['kcYYv'],()=>featureAddScenario(_0x26452d[_0x2daa03(0x16e)],_0x26452d['id']));})['command'](_0x15aa66['JKhOc'],![],_0x137002=>{const _0x12a6b5=_0x56ca7b;return _0x137002['positional']('id',{'type':_0x15aa66[_0x12a6b5(0x21f)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x3e31ec=>{const _0x31041d=_0x56ca7b;warnRenamed('ranger\x20feature\x20get-feedback','ranger\x20get-review'),await _0x15aa66['XNvLv'](withTelemetry,_0x15aa66[_0x31041d(0xee)],()=>featureGetReview(_0x3e31ec['id']));})['command']('delete\x20[id]',![],_0x232f24=>{const _0x2fdec9=_0x56ca7b;return _0x232f24[_0x2fdec9(0x88)]('id',{'type':_0x15aa66['trFHA'],'description':_0x15aa66[_0x2fdec9(0x1c3)]});},async _0x302f38=>{const _0x1b413b=_0x56ca7b;warnRenamed(_0x4cd7a9[_0x1b413b(0x11d)],'ranger\x20delete'),await withTelemetry('feature\x20delete',()=>featureDelete(_0x302f38['id']));})[_0x56ca7b(0x207)]('restore\x20<id>',![],_0x284dfd=>{const _0x5844e1=_0x56ca7b;return _0x284dfd['positional']('id',{'type':_0x15aa66['trFHA'],'description':_0x15aa66[_0x5844e1(0xcb)],'demandOption':!![]});},async _0x44c92e=>{const _0x2c4e02=_0x56ca7b;warnRenamed(_0x15aa66['PHYeq'],_0x15aa66[_0x2c4e02(0x114)]),await withTelemetry(_0x15aa66['wvENS'],()=>featureRestore(_0x44c92e['id']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})[_0x2f37f6(0x207)](_0x2f37f6(0x147),![],_0x341aeb=>{const _0x30ed=_0x2f37f6,_0x2ad626={'eGCOI':_0x15aa66['trFHA'],'iBRYt':_0x15aa66['tSATm']};return _0x341aeb[_0x30ed(0x207)](_0x15aa66[_0x30ed(0xb6)],_0x15aa66[_0x30ed(0x105)],_0xa0f638=>{const _0xe6d606=_0x30ed;return _0xa0f638[_0xe6d606(0x19f)]('session-id',{'type':_0x2ad626['eGCOI'],'description':_0x2ad626[_0xe6d606(0x7a)]});},async _0x3c9e61=>{const _0x31e164=_0x30ed;await withTelemetry('hook:enable',()=>hook('enable',_0x3c9e61[_0x31e164(0xa2)]));})[_0x30ed(0x207)](_0x30ed(0x206),_0x15aa66['vASQO'],_0x32751d=>{const _0x51dc19=_0x30ed;return _0x32751d[_0x51dc19(0x19f)]('session-id',{'type':_0x51dc19(0x166),'description':_0x2ad626[_0x51dc19(0x7a)]});},async _0x339247=>{const _0x55b821=_0x30ed;await _0x15aa66['RKTQj'](withTelemetry,_0x15aa66[_0x55b821(0x180)],()=>hook('disable',_0x339247[_0x55b821(0xa2)]));})['option'](_0x30ed(0x223),{'type':_0x30ed(0x166),'description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})[_0x30ed(0x19f)]('session-id',{'type':'string','description':_0x15aa66['tSATm']});},async _0xe94530=>{const _0x463f0c=_0x2f37f6;_0xe94530['name']&&await _0x15aa66[_0x463f0c(0x14d)](hook,_0xe94530[_0x463f0c(0x223)],_0xe94530['session-id']);})[_0x2f37f6(0x1f3)](0x1,_0x15aa66['GGSqC'])[_0x2f37f6(0x22a)]()[_0x2f37f6(0x219)](async(_0x2c7c3f,_0x1bf7c5,_0x1f3cbe)=>{const _0x38973d=_0x2f37f6,_0x39f4d0=sanitizeArgs(process[_0x38973d(0x1cb)]['slice'](0x2)),_0x2c77cd=_0x15aa66['MGIfZ'](getErrorType,_0x2c7c3f,_0x1bf7c5);if(_0x2c7c3f&&_0x2c7c3f[_0x38973d(0x1ec)](_0x38973d(0x1e4))){const _0x209525=process['argv'][0x2];console[_0x38973d(0x154)](_0x38973d(0xc9)+_0x209525),console['error'](_0x15aa66[_0x38973d(0xc7)]);}else{if(_0x2c7c3f)console[_0x38973d(0x154)]('\x0a'+_0x2c7c3f+'\x0a');else _0x1bf7c5&&console[_0x38973d(0x154)]('\x0aError:\x20'+_0x1bf7c5['message']+'\x0a');}await logDesirePath({'rawCommand':_0x39f4d0,'errorMessage':_0x2c7c3f||_0x1bf7c5?.[_0x38973d(0x209)],'errorType':_0x2c77cd});const _0x3f189d=_0x15aa66['QnLtt'](getCurrentCollector);_0x3f189d&&await _0x3f189d['trackCommandError'](_0x1bf7c5||new Error(_0x15aa66['hIFjD'](_0x2c7c3f,_0x15aa66['NVxqZ']))),process[_0x38973d(0x1ee)](0x1);})['epilogue']('Documentation:\x0a'+_0x2f37f6(0x16a)+_0x2f37f6(0x77))[_0x2f37f6(0x19d)]()['alias']('help','h');}process[_0x1ff339(0x14c)][_0x1ff339(0x1b8)]!=='test'&&(shouldShowLegacyWarning(process[_0x1ff339(0x1cb)])&&showLegacyDeprecationWarning(),buildParser()[_0x1ff339(0xeb)]());
|
|
2
|
+
const _0xbda934=_0x3fce;(function(_0x4b7ed2,_0x37d3fb){const _0xf5e21a=_0x3fce,_0x1b66bb=_0x4b7ed2();while(!![]){try{const _0x1b2fba=-parseInt(_0xf5e21a(0x1d0))/0x1+-parseInt(_0xf5e21a(0x2e8))/0x2+parseInt(_0xf5e21a(0x1e2))/0x3*(-parseInt(_0xf5e21a(0x350))/0x4)+parseInt(_0xf5e21a(0x2c6))/0x5+parseInt(_0xf5e21a(0x2f3))/0x6*(-parseInt(_0xf5e21a(0x28c))/0x7)+parseInt(_0xf5e21a(0x1ed))/0x8+parseInt(_0xf5e21a(0x1ce))/0x9;if(_0x1b2fba===_0x37d3fb)break;else _0x1b66bb['push'](_0x1b66bb['shift']());}catch(_0x3b6284){_0x1b66bb['push'](_0x1b66bb['shift']());}}}(_0x5a3a,0xc2424));import _0x47bfd1 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x5e13bf=_0x3fce,_0x5993c0={'sSItA':function(_0x43fc08,_0x2567a5){return _0x43fc08(_0x2567a5);},'qzfTK':function(_0x40130f,_0x5e2446){return _0x40130f(_0x5e2446);},'eszPX':function(_0x3bbe70,_0x210a02,_0x103edb){return _0x3bbe70(_0x210a02,_0x103edb);},'YXGmJ':'.env'};let _0x502c85=process[_0x5e13bf(0x359)]();const _0x2fc940=_0x5993c0[_0x5e13bf(0x21b)](parse,_0x502c85)[_0x5e13bf(0x23a)];while(_0x502c85!==_0x2fc940){if(_0x5993c0[_0x5e13bf(0x385)](existsSync,join(_0x502c85,_0x5e13bf(0x392)))||existsSync(_0x5993c0['eszPX'](join,_0x502c85,_0x5993c0[_0x5e13bf(0x36f)])))return _0x502c85;_0x502c85=dirname(_0x502c85);}return process[_0x5e13bf(0x359)]();}_0x47bfd1[_0xbda934(0x32d)]({'path':join(findProjectRoot(),'.env')});import _0x60ee13 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';function _0x3fce(_0x230268,_0x249d4c){_0x230268=_0x230268-0x1c1;const _0x5a3a70=_0x5a3a();let _0x3fce07=_0x5a3a70[_0x230268];return _0x3fce07;}process['on']('unhandledRejection',async _0x4b7a70=>{const _0x4615e1=_0xbda934,_0x2f34eb=getCurrentCollector();_0x2f34eb&&await _0x2f34eb[_0x4615e1(0x287)](_0x4b7a70),process[_0x4615e1(0x241)]=0x1;});const rawArgs=process[_0xbda934(0x318)][_0xbda934(0x1c8)](0x2),TOP_LEVEL_HELP=_0xbda934(0x382),PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201',PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201';function warnRenamed(_0x3cdb04,_0x834aba){const _0x35129d=_0xbda934;console[_0x35129d(0x325)]('\x0a'+_0x3cdb04+_0x35129d(0x30d)+_0x834aba+'\x0a');}function argUsed(_0x2993e1){return rawArgs['some'](_0x14eed2=>_0x14eed2===_0x2993e1||_0x14eed2['startsWith'](_0x2993e1+'='));}function warnFlagRenamed(_0x287ff0,_0x5b735d,_0x1e0ed3){const _0x524ce0=_0xbda934,_0x38ce95={'jEnCc':function(_0x5975f3,_0x3296ac){return _0x5975f3(_0x3296ac);}};_0x38ce95[_0x524ce0(0x2ae)](argUsed,_0x5b735d)&&warnRenamed(_0x287ff0+'\x20'+_0x5b735d,_0x287ff0+'\x20'+_0x1e0ed3);}function normalizeEnvVarNames(_0xb53afa){const _0x3641d0=_0xbda934,_0x18ad9e=Array[_0x3641d0(0x227)](_0xb53afa)?_0xb53afa:_0xb53afa?[_0xb53afa]:[];return _0x18ad9e['flatMap'](_0x697cb5=>String(_0x697cb5)['split'](',')[_0x3641d0(0x32f)](_0x2b33d4=>_0x2b33d4['trim']())[_0x3641d0(0x291)](Boolean));}async function runGoCommand(_0x5e27f9,_0x48bb9a=![]){const _0x5b3532=_0xbda934,_0x498236={'qcGmO':function(_0x3fcc46,_0xee0b62){return _0x3fcc46+_0xee0b62;},'wfLxX':function(_0x2ea9f0,_0x17c343,_0x3ce0ab){return _0x2ea9f0(_0x17c343,_0x3ce0ab);},'PMqYV':_0x5b3532(0x1dd),'fHRJZ':function(_0x368737,_0x5ec0fd,_0x398bb0,_0x4c6c18){return _0x368737(_0x5ec0fd,_0x398bb0,_0x4c6c18);},'FgqPK':_0x5b3532(0x30a),'Qrqqz':_0x5b3532(0x310),'rbYOR':'--task','FkQJY':'--item','IhAPd':'--scenario','BXGBH':function(_0x53d7ff){return _0x53d7ff();},'kiZGe':function(_0x5a2ecf){return _0x5a2ecf();},'kkaoV':function(_0x4d503c,_0x30022e){return _0x4d503c(_0x30022e);},'JJJXO':function(_0x5e8af9,_0x2e6e23){return _0x5e8af9>_0x2e6e23;},'NlxRt':_0x5b3532(0x1e9),'lQyOH':'rangerwright-cli','MUGWF':_0x5b3532(0x2a9),'yXImL':_0x5b3532(0x1d5),'RDiex':'\x20VERIFIED','htcJQ':_0x5b3532(0x346),'QTWaN':'partial','qFfRL':_0x5b3532(0x231),'oUCNW':function(_0x59d08f,_0x2f37bd){return _0x59d08f===_0x2f37bd;},'nWHhA':'blocked','KYKQe':_0x5b3532(0x289),'smnox':_0x5b3532(0x235)};_0x48bb9a&&_0x498236[_0x5b3532(0x344)](warnRenamed,_0x498236['PMqYV'],'ranger\x20go');_0x498236['fHRJZ'](warnFlagRenamed,_0x498236['FgqPK'],_0x498236['Qrqqz'],'--profile'),warnFlagRenamed('ranger\x20go',_0x498236[_0x5b3532(0x2ba)],_0x5b3532(0x355)),warnFlagRenamed('ranger\x20go',_0x498236[_0x5b3532(0x21c)],_0x498236['IhAPd']);const _0x3aaae6=await _0x498236[_0x5b3532(0x260)](loadRangerConfig),_0x10975b=_0x498236['kiZGe'](isByokEnabled),_0x5b943a=_0x5e27f9[_0x5b3532(0x31c)],_0x39de9f=_0x3aaae6['model'],_0x50201d=_0x498236[_0x5b3532(0x280)](normalizeEnvVarNames,_0x5e27f9[_0x5b3532(0x28a)]),_0x2c646c=_0x498236[_0x5b3532(0x388)](getVerificationTransport);if(_0x498236['JJJXO'](_0x50201d[_0x5b3532(0x2f9)],0x0)&&_0x2c646c!==_0x498236['NlxRt']&&_0x2c646c!==_0x498236['lQyOH'])throw new Error(_0x5b3532(0x221)+_0x2c646c+'.');const _0x16c655=await verifyFeature({'featureId':_0x5e27f9['feature'],'profile':_0x5e27f9['profile']??_0x5e27f9[_0x5b3532(0x207)]??process[_0x5b3532(0x207)][_0x5b3532(0x247)],'notes':_0x5e27f9['notes']??_0x5e27f9['task'],'scenario':_0x5e27f9[_0x5b3532(0x213)]??_0x5e27f9[_0x5b3532(0x240)],'startPath':_0x5e27f9['start-path'],'baseUrl':_0x5e27f9['base-url'],'debugOutcome':_0x5e27f9[_0x498236[_0x5b3532(0x2b9)]],'debugAddressComments':_0x5e27f9[_0x5b3532(0x1ff)],'headed':_0x5e27f9[_0x5b3532(0x2e9)],'verifierEnvVars':_0x50201d,'byokEnabled':_0x10975b,'flagVerifyModel':_0x5b943a,'configVerifyModel':_0x39de9f});console[_0x5b3532(0x1c4)]('\x0a'+'='['repeat'](0x3c)),console[_0x5b3532(0x1c4)](_0x16c655['evaluation']===_0x498236[_0x5b3532(0x393)]?_0x498236[_0x5b3532(0x372)]:_0x16c655[_0x5b3532(0x379)]===_0x5b3532(0x2e6)?_0x498236[_0x5b3532(0x299)]:_0x16c655['evaluation']===_0x498236['QTWaN']?_0x498236[_0x5b3532(0x316)]:_0x498236['oUCNW'](_0x16c655[_0x5b3532(0x379)],_0x498236['nWHhA'])?_0x498236['KYKQe']:_0x498236[_0x5b3532(0x275)]),console['log']('='[_0x5b3532(0x37a)](0x3c)),console['log'](_0x5b3532(0x31f)+_0x16c655[_0x5b3532(0x2d9)]),console[_0x5b3532(0x1c4)]('Evaluation:\x20'+_0x16c655[_0x5b3532(0x379)]),console[_0x5b3532(0x1c4)](_0x5b3532(0x2a6)+_0x16c655[_0x5b3532(0x31e)]),_0x16c655[_0x5b3532(0x1e6)]?.['length']&&(console[_0x5b3532(0x1c4)]('\x0aIssues:'),_0x16c655['issues']['forEach']((_0x42ef1d,_0x42e747)=>{const _0xeff5eb=_0x5b3532;console[_0xeff5eb(0x1c4)]('\x0a'+_0x498236[_0xeff5eb(0x2f7)](_0x42e747,0x1)+_0xeff5eb(0x333)+_0x42ef1d[_0xeff5eb(0x1f5)]+']\x20'+_0x42ef1d['description']);})),process['exit'](_0x16c655['evaluation']===_0x498236['yXImL']?0x0:0x1);}function _0x5a3a(){const _0x3a9f9e=['xnIhL','smmPG','\x20is\x20no\x20longer\x20supported.\x20','EcqEG','frfEt','TfCGj','oGetr','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','ranger\x20profile\x20encrypt-auth','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','MUGWF','rbYOR','setup:deps','update\x20<env-name>','ZfMNQ','List\x20all\x20config\x20for\x20a\x20profile','VhzXW','ranger\x20profile\x20use','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','disable','profile\x20config\x20reset','ranger\x20env\x20ls','PFNDP','174125djftZW','start','ZstkB','wZFxx','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','setup:login','PkHZq','jcvVu','ZEcdo','hook:enable','partial','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','hCQkx','XgvCs','failed','Fbjdf','delete\x20[id]','save-creds','skillup','summary','bFukM','iVvsw','all','exit','fwYSG','dry-run','skip-chromium','UJaXG','env\x20list','YYsjF','usage','iYnmi','incomplete','session-id','1239048CiTATU','headed','profiles','env-name','set\x20<env>\x20<key>\x20<value>','GkVyg','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','LgxCs','Install\x20scope\x20for\x20plugin\x20and\x20skills','allow-insecure-localhost','54NLLpqc','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','Jkjeq','rOlJm','qcGmO','ranger\x20env\x20update','length','ilpId','DBtkr','status','report','XZRRa','update\x20<profile-name>','ltGGz','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','profile\x20delete','kThFl','xMoqc','Skip\x20Chromium\x20browser\x20installation','jqQTM','create\x20<name>','ranger','mEkjy','ranger\x20go','login','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','\x20is\x20now\x20','EOxhv','bguVx','--env','Install\x20OS-level\x20dependencies\x20for\x20Chromium','boolean','iUuBU','ZYprF','TAjyx','qFfRL','ooNKX','argv','RANGER_TEST_PASSWORD','ranger\x20feature\x20resume','setup-header','model','uwGRp','evaluationReason','Summary:\x20','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','lqNEH','RANGER_TEST_USERNAME','Remove\x20a\x20config\x20value','WeTyQ','error','include-deleted','PvRZA','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','kLSMG','HqRes','Name\x20of\x20the\x20environment','nYHat','config','iZGlL','map','scope','Guvdr','DUkPn','.\x20[','LliSj','get-review\x20[id]','XclvR','Get\x20a\x20config\x20value','Number\x20of\x20feature\x20reviews\x20to\x20skip','show\x20[id]','project','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','alias','\x0aError:\x20','OWcOO','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','RnMAU','yfUEf','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','wfLxX','Authenticate\x20with\x20Ranger','\x20INCOMPLETE','IJMba','auth','ranger\x20feature\x20list','token','AGvPS','RzZnp','feature\x20resume','HOsoi','PvsPD','260AhATzA','tNSRC','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','aDbWE','parse','--notes','RxyXi','setup:profiles','yBFaI','cwd','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','profile\x20migrate','qeeBN','DczUX','Install\x20scope\x20for\x20skills','NYrEb','xwLUf','HepIm','NsgEf','option','QhOXz','New\x20scenario\x20description','MIkCU','list\x20<env>','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','cCXxR','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','vukZu','kbOJm','mkJKj','YXGmJ','current-branch','command','RDiex','ranger\x20config\x20get','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','description','ranger\x20show','Tbrpa','Feature\x20review\x20ID','evaluation','repeat','iLHjX','Run\x20full\x20interactive\x20setup','Config\x20key','NpTzK','XOoZu','NbPqo','wrgBz','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.','pVQQh','name','qzfTK','Install\x20skills\x20for\x20OpenCode','AudWa','kiZGe','ranger\x20profile\x20config\x20unset','QzSZD','test','nZeaC','ranger\x20start','HLFHL','hook:disable','base-url','KWzqA','.ranger','yXImL','exclude-scenario','GXHrs','xDugb','test_output','ranger\x20get-review','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','KPYgR','positional','wOfWD','cdp-endpoint','UseRX','GPvJo','skip-auth','WPSmP','UUWSs','log','ranger\x20profile\x20ls','login\x20<name>','You\x20must\x20specify\x20a\x20profile\x20subcommand','slice','profile\x20config\x20set','BsCYg','AKzVV','QkZSi','config\x20unset','18317871QwmUeC','task','306330MINuUB','tKcyI','QeTps','organizationName','Set\x20up\x20a\x20local\x20browser\x20profile','verified','feature\x20delete','oMxLv','PvNSE','belSB','gXAds','ranger\x20profile\x20config\x20list','ranger\x20profile\x20add','ranger\x20verify-feature','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','UTkwA','json','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','31443ayThll','goTSv','user','aJIPq','issues','epilogue','ranger\x20add\x20env','playwright-cli','LKZzB','vgPPE','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','6617456NZqtVh','RUmZQ','hook','array','feature\x20get-feedback','wHezY','limit','EiDte','severity','Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','TYxBB','mcp-bootstrap','Jrvyz','Feature\x20review\x20description','Scenario\x20index\x20(1-based)','CAKGt','KrYiv','edit-scenario\x20<description>','debug-address-comments','Print\x20the\x20current\x20CLI\x20access\x20token','pBWAX','VziCH','Feature\x20review\x20name','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','AKogR','qpLZC','env','ranger\x20config\x20unset','Profile\x20name','Alias\x20for\x20--mcp-bootstrap','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','AqMZG','HEjkC','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','feature\x20show','profile\x20ls','WIFOP','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','scenario','osaZC','restore','hbuYW','key','VYbkB','message','--scenario','sSItA','FkQJY','ZTGMR','aOmvN','Switch\x20to\x20using\x20a\x20specific\x20profile','setup-ci','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','VOWkN','not_configured','LbfiH','ranger\x20feature\x20add-checklist-item','profile\x20update','isArray','NyYDX','XLpVT','DrxVS','XKHVI','liKYH','ranger\x20setup','miRxm','list','yes','\x20PARTIAL','tokenOrSubcommand','GBJGd','enable','\x20FAILED','feature\x20create','url','vZHER','mWoJV','root','bFcCz','iPaHd','You\x20must\x20specify\x20a\x20config\x20subcommand','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','opencode','item','exitCode','KWwTr','iDhJy','number','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','Install\x20Ranger\x20skills','RANGER_PROFILE','QXBMf','isELP','setup:all','Environment\x20name','EIPna','You\x20must\x20specify\x20a\x20command','Initialize\x20Ranger\x20in\x20your\x20project','KjAIR','force','zGPdW','string','wYMAj','VoQcn','NDsQL','Name\x20of\x20the\x20profile','UJACe','drLWr','vEhbC','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','KvtSR','pNOhp','DkHKL','xQRfC','PNeAF','BXGBH','\x20\x20https://docs.ranger.net\x0a','MNGyi','HZyaB','offset','ZMaLZ','sDISj','List\x20all\x20profiles','add\x20<profile-name>','bJTlk','profile-name','demandCommand','safe-mode','nxyMT','Authenticate\x20via\x20MCP\x20proxy','print-access-token','Hsztr','qQcKt','profile\x20use','ihftL','kDRSJ','smnox','FcMvX','value','Update\x20authentication\x20for\x20an\x20existing\x20profile','GOHFK','ranger\x20add-scenario','KQvbt','Config\x20value','yuVwZ','AuvpI','sYboy','kkaoV','JLbKv','fNfBe','AOpav','Config\x20key\x20to\x20remove','add-scenario\x20<description>','AaaVJ','trackCommandError','profile\x20login','\x20BLOCKED','env-var','profile','384629MuLLig','TFbsa','TQZDJ','with-deps','iSCZl','filter','List\x20all\x20feature\x20reviews','add\x20env\x20<env-name>','bVPPA','aUqsG','kpSaM','--checklist','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','htcJQ','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','profile\x20config\x20get','clean','faiIJ','NnXQi','update','VQbBl','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','checklist','dHUdV','config\x20list','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','Reason:\x20','VMZnG','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','debug-outcome','Vnjne','encrypt\x20<profile>','qgUth','wAwuw','jEnCc'];_0x5a3a=function(){return _0x3a9f9e;};return _0x5a3a();}export function buildParser(_0x650a3f){const _0x218e88=_0xbda934,_0x44c763={'fNfBe':_0x218e88(0x384),'DrxVS':_0x218e88(0x252),'DkHKL':_0x218e88(0x203),'TfCGj':'Feature\x20review\x20description','VYbkB':_0x218e88(0x1f0),'wOfWD':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','aJIPq':'checklist','XKHVI':function(_0x47391b,_0x5baf5f){return _0x47391b+_0x5baf5f;},'aUqsG':_0x218e88(0x20e),'ZJLoI':'Example:\x20ranger\x20create\x20my-feature','rnlUH':function(_0x14b248,_0x3ab989,_0xe1a420,_0x3321c6){return _0x14b248(_0x3ab989,_0xe1a420,_0x3321c6);},'tjXQg':function(_0x593f7c,_0x272491,_0x1ce3c9){return _0x593f7c(_0x272491,_0x1ce3c9);},'TAcQp':'create','isELP':_0x218e88(0x370),'ZstkB':_0x218e88(0x312),'wYMAj':_0x218e88(0x1f3),'iUuBU':_0x218e88(0x264),'kDRSJ':_0x218e88(0x244),'HgRHj':'Number\x20of\x20feature\x20reviews\x20to\x20skip','yiPVN':function(_0x4428fa,_0x2e0825,_0xa832c0){return _0x4428fa(_0x2e0825,_0xa832c0);},'goTSv':'show','XOoZu':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','wrgBz':function(_0x26a3bd,_0x56d302,_0x37202f){return _0x26a3bd(_0x56d302,_0x37202f);},'EOxhv':'Scenario\x20description','LgxCs':function(_0x440da3,_0x196d42,_0x24d94f){return _0x440da3(_0x196d42,_0x24d94f);},'eXkdI':'add-scenario','hCQkx':'description','qAQLc':_0x218e88(0x213),'TFbsa':_0x218e88(0x394),'ZnJdQ':_0x218e88(0x1e0),'HEjkC':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','xQRfC':function(_0x801d16,_0x3007a9,_0x27b150){return _0x801d16(_0x3007a9,_0x27b150);},'AWzYG':'get-review','xMoqc':_0x218e88(0x215),'kLSMG':'token','ZDMmS':'Ranger\x20API\x20token\x20(rngr_...)','ZTGMR':function(_0x24f8c6){return _0x24f8c6();},'AKogR':_0x218e88(0x2cb),'tFasf':function(_0x332f96,_0xfad41e){return _0x332f96!==_0xfad41e;},'EcqEG':function(_0x288157,_0x5e6e6a,_0xf09160){return _0x288157(_0x5e6e6a,_0xf09160);},'kThFl':'scope','iSCZl':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','DBtkr':'url','YYsjF':'force','NuSJB':function(_0x4669c9,_0xa9f61c){return _0x4669c9(_0xa9f61c);},'FcMvX':_0x218e88(0x308),'WuRqI':'Base\x20URL\x20of\x20the\x20running\x20app','UTkwA':'skip-auth','vLdhq':'Skip\x20browser\x20authentication','KWzqA':_0x218e88(0x2a8),'XXSkz':_0x218e88(0x368),'mkJKj':_0x218e88(0x232),'GkVyg':_0x218e88(0x2dc),'UUWSs':_0x218e88(0x37c),'qeeBN':'Install\x20Chromium\x20browser\x20binary','eZWmO':_0x218e88(0x345),'zGPdW':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','QkZSi':_0x218e88(0x2ea),'frfEt':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','Jrvyz':_0x218e88(0x1e4),'mEkjy':_0x218e88(0x23f),'TAjyx':_0x218e88(0x2ca),'FcmVr':_0x218e88(0x2a1),'wHezY':_0x218e88(0x1ec),'uwGRp':_0x218e88(0x1f8),'AuvpI':_0x218e88(0x2c7),'ooNKX':'Ranger\x20API\x20token','DATNr':_0x218e88(0x1de),'MErSL':'skip-chromium','XZRRa':_0x218e88(0x305),'UiwfJ':_0x218e88(0x386),'xyZAr':_0x218e88(0x2d8),'PWBvf':_0x218e88(0x26a),'Tbrpa':_0x218e88(0x36b),'pBWAX':_0x218e88(0x230),'MNGyi':'Profile\x20name','MSjdz':'allow-insecure-localhost','TROJU':'Cloud\x20profile\x20name','rpMxI':_0x218e88(0x35b),'nvhzG':function(_0x313883,_0x1c535b,_0x1cf3d2){return _0x313883(_0x1c535b,_0x1cf3d2);},'SeTiZ':'profile\x20config\x20unset','tPvwZ':_0x218e88(0x2c3),'BzJKr':'set\x20<profile>\x20<key>\x20<value>','xCEdt':'Set\x20a\x20config\x20value','XgvCs':'get\x20<profile>\x20<key>','KWwTr':_0x218e88(0x2be),'kvlET':_0x218e88(0x323),'OGIXy':_0x218e88(0x2ee),'BejlB':'profile\x20encrypt-auth','zPvDL':function(_0x130808,_0x74f7c1,_0x4a6e9a){return _0x130808(_0x74f7c1,_0x4a6e9a);},'ECimR':'unknown\x20error','tJVLv':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','LKZzB':'Skip\x20interactive\x20confirmation\x20prompts.','xnIhL':_0x218e88(0x28b),'VhzXW':_0x218e88(0x217),'rOlJm':_0x218e88(0x1c9),'NnXQi':_0x218e88(0x29b),'GOJLR':'profile\x20config\x20list','XxGvR':_0x218e88(0x268),'kzLms':'Add\x20profile\x20configuration','NYrEb':'delete\x20<profile-name>','KOgpX':'Delete\x20a\x20cloud\x20profile','pNOhp':_0x218e88(0x267),'vuyFV':_0x218e88(0x2ff),'yXzQb':_0x218e88(0x1c6),'Opxfa':'config','aOmvN':_0x218e88(0x29f),'PFNDP':function(_0x2db8b1){return _0x2db8b1();},'Vnjne':function(_0x30078d,_0x3b187f,_0x51b199){return _0x30078d(_0x3b187f,_0x51b199);},'AudWa':_0x218e88(0x26f),'XLpVT':'notes','GXHrs':'start-path','ZYprF':_0x218e88(0x2f4),'WeTyQ':_0x218e88(0x31c),'BsCYg':'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.','ONbUl':_0x218e88(0x20b),'rtaeX':_0x218e88(0x28a),'hxEhw':_0x218e88(0x1f6),'kpSaM':_0x218e88(0x1d5),'VoQcn':_0x218e88(0x2d0),'VziCH':'blocked','hbuYW':_0x218e88(0x2d4),'PvsPD':'incomplete','Pzmbf':_0x218e88(0x1ff),'wJWLA':'ranger\x20auth\x20encrypt','NGFTY':_0x218e88(0x2ab),'mFBhs':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','DlmVj':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','aDbWE':'Skip\x20authentication','GguJu':_0x218e88(0x38d),'Areex':_0x218e88(0x1cf),'haHLO':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','RnMAU':_0x218e88(0x240),'yBFaI':'environment-variable','yaJXV':_0x218e88(0x1e8),'Tujnc':_0x218e88(0x1dc),'wZFxx':'add\x20env','QXBMf':_0x218e88(0x2eb),'gQzep':function(_0x4ec506,_0x43145c,_0x4ee749){return _0x4ec506(_0x43145c,_0x4ee749);},'RCcFa':_0x218e88(0x2c0),'AGvPS':'use','IJMba':_0x218e88(0x24b),'KQvbt':function(_0x1a663f,_0x121b0e,_0x2d4704){return _0x1a663f(_0x121b0e,_0x2d4704);},'WIFOP':_0x218e88(0x373),'QcLWr':'ranger\x20profile\x20config\x20get','Fbjdf':'config\x20get','sDISj':function(_0x2be0ef,_0x59d318,_0xd88a7b){return _0x2be0ef(_0x59d318,_0xd88a7b);},'ihftL':'ranger\x20config\x20list','tJfVN':_0x218e88(0x2a4),'DoWzj':_0x218e88(0x284),'VOWkN':_0x218e88(0x208),'BHrad':_0x218e88(0x1cd),'KNXjI':_0x218e88(0x207),'oMxLv':_0x218e88(0x367),'jERyO':_0x218e88(0x23d),'ymsja':_0x218e88(0x2c4),'NJteI':_0x218e88(0x1c5),'PrCKD':function(_0x1e1d94,_0xfdbb65,_0x14e56b){return _0x1e1d94(_0xfdbb65,_0x14e56b);},'XPgnH':'Name\x20of\x20the\x20environment\x20to\x20update','VjoIw':'ranger\x20profile\x20update','TQZDJ':'You\x20must\x20specify\x20an\x20env\x20subcommand','ZMaLZ':'ranger\x20resume','VQbBl':function(_0x42b0c3,_0x24bc51,_0x10e8c4){return _0x42b0c3(_0x24bc51,_0x10e8c4);},'NpTzK':'Feature\x20review\x20ID','uAwVx':'ranger\x20feature\x20delete','GOHFK':'ranger\x20delete','CGUWc':_0x218e88(0x1d6),'yWFCP':'Feature\x20review\x20ID\x20to\x20restore','kbOJm':'ranger\x20feature\x20restore','KjAIR':function(_0x3f0f52,_0xaa343d,_0x42a3f4){return _0x3f0f52(_0xaa343d,_0x42a3f4);},'QzSZD':'feature\x20restore','ZyxBb':_0x218e88(0x236),'vukZu':'ranger\x20list','yuVwZ':_0x218e88(0x20f),'Jkjeq':function(_0x164211,_0x793ee7,_0x15da82){return _0x164211(_0x793ee7,_0x15da82);},'EIPna':'ranger\x20feature\x20get-feedback','mCqXM':_0x218e88(0x398),'TiTNG':_0x218e88(0x307),'eHQnC':'list','XclvR':'resume\x20[id]','VMZnG':'add-checklist-item\x20<description>','JLbKv':'delete\x20[id]','NhFXH':'restore\x20<id>','UJACe':_0x218e88(0x2e7),'cWJmz':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','zSxDn':_0x218e88(0x2c2),'ZpVMW':_0x218e88(0x298),'lqNEH':'Unknown\x20command','bJTlk':function(_0x35d289){return _0x35d289();},'vaYiI':function(_0x3ee501,_0x3afb19){return _0x3ee501||_0x3afb19;},'Guvdr':_0x218e88(0x292),'iVvsw':_0x218e88(0x339),'oGetr':_0x218e88(0x2a5),'fCssw':'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','AOpav':_0x218e88(0x1e1),'QhOXz':_0x218e88(0x1fe),'retgX':'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','smmPG':'report\x20[id]','jcvVu':_0x218e88(0x301),'iLHjX':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','ZEcdo':_0x218e88(0x24e),'nzsjv':'setup-ci\x20<token>','NbPqo':'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','CAKGt':_0x218e88(0x246),'WPSmP':_0x218e88(0x29c),'tNSRC':'Manage\x20profiles','mWoJV':_0x218e88(0x2d1),'drLWr':'Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','Mupwc':'start\x20[token]','LliSj':'verify-feature','WBjhr':_0x218e88(0x293),'belSB':'use\x20<env-name>','HMxNh':function(_0x2482d8,_0x52e26f){return _0x2482d8+_0x52e26f;},'hAOgQ':'Documentation:\x0a','NDsQL':_0x218e88(0x261)};return _0x44c763['NuSJB'](_0x60ee13,_0x650a3f??process[_0x218e88(0x318)][_0x218e88(0x1c8)](0x2))['scriptName']('ranger')['usage'](TOP_LEVEL_HELP)['version'](getCurrentVersion())[_0x218e88(0x371)]('create\x20<name>','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios',_0x471f12=>{const _0x4dba10=_0x218e88;return _0x471f12['positional'](_0x44c763[_0x4dba10(0x282)],{'type':_0x44c763['DrxVS'],'description':_0x44c763[_0x4dba10(0x25d)],'demandOption':!![]})['option']('description',{'type':'string','alias':'d','description':_0x44c763[_0x4dba10(0x2b4)]})[_0x4dba10(0x363)]('scenario',{'type':_0x44c763['VYbkB'],'alias':'c','description':_0x44c763['wOfWD']})[_0x4dba10(0x363)](_0x44c763[_0x4dba10(0x1e5)],{'type':_0x44c763[_0x4dba10(0x218)],'hidden':!![]});},async _0x18f672=>{const _0x2b38d9=_0x218e88;if(!_0x18f672['name']){console['error'](_0x44c763[_0x2b38d9(0x22b)](_0x44c763[_0x2b38d9(0x295)],_0x44c763['ZJLoI'])),process['exit'](0x1);return;}_0x44c763['rnlUH'](warnFlagRenamed,'ranger\x20create',_0x2b38d9(0x297),_0x2b38d9(0x21a));const _0x28cebb=_0x18f672[_0x2b38d9(0x213)]||_0x18f672['checklist'];await _0x44c763['tjXQg'](withTelemetry,_0x44c763['TAcQp'],()=>featureCreate(_0x18f672['name'],{'description':_0x18f672[_0x2b38d9(0x375)],'scenarios':_0x28cebb}));})['command'](_0x218e88(0x22f),_0x44c763[_0x218e88(0x331)],_0x64e5d9=>{const _0x3a92c4=_0x218e88;return _0x64e5d9['option'](_0x44c763['isELP'],{'type':_0x44c763['ZstkB'],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option'](_0x44c763[_0x3a92c4(0x253)],{'type':'number','alias':'l','description':_0x3a92c4(0x30c),'default':0xa})[_0x3a92c4(0x363)](_0x44c763[_0x3a92c4(0x313)],{'type':_0x44c763['kDRSJ'],'alias':'o','description':_0x44c763['HgRHj'],'default':0x0})['option']('include-deleted',{'type':'boolean','alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x33bce0=>{const _0x60c109=_0x218e88;await _0x44c763['yiPVN'](withTelemetry,_0x60c109(0x22f),()=>featureList({'currentBranch':_0x33bce0[_0x60c109(0x370)],'limit':_0x33bce0[_0x60c109(0x1f3)],'offset':_0x33bce0[_0x60c109(0x264)],'includeDeleted':_0x33bce0[_0x60c109(0x326)]}));})[_0x218e88(0x371)](_0x44c763[_0x218e88(0x2db)],_0x44c763[_0x218e88(0x2b5)],_0x37274f=>{const _0x1eb1c5=_0x218e88;return _0x37274f[_0x1eb1c5(0x39c)]('id',{'type':_0x44c763['DrxVS'],'description':'Feature\x20review\x20ID'});},async _0xcfe45d=>{const _0x41cf33=_0x218e88;await _0x44c763['yiPVN'](withTelemetry,_0x44c763[_0x41cf33(0x1e3)],()=>featureShow(_0xcfe45d['id']));})['command'](_0x44c763[_0x218e88(0x336)],_0x44c763['fCssw'],_0x168e82=>{const _0x46108e=_0x218e88;return _0x168e82[_0x46108e(0x39c)]('id',{'type':_0x46108e(0x252),'description':_0x44c763[_0x46108e(0x37f)]});},async _0x34f691=>{await _0x44c763['wrgBz'](withTelemetry,'resume',()=>featureResume(_0x34f691['id']));})['command'](_0x218e88(0x285),_0x44c763[_0x218e88(0x283)],_0x536a5f=>{const _0x2e4755=_0x218e88;return _0x536a5f['positional'](_0x2e4755(0x375),{'type':'string','description':_0x44c763['EOxhv'],'demandOption':!![]})['option']('id',{'type':_0x44c763[_0x2e4755(0x22a)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x3d8cfe=>{const _0x2816ed=_0x218e88;await _0x44c763['LgxCs'](withTelemetry,_0x44c763['eXkdI'],()=>featureAddScenario(_0x3d8cfe[_0x2816ed(0x375)],_0x3d8cfe['id']));})['command'](_0x44c763[_0x218e88(0x364)],_0x44c763['retgX'],_0x3a6be0=>{const _0xf3a28=_0x218e88;return _0x3a6be0['positional'](_0x44c763['hCQkx'],{'type':_0x44c763[_0xf3a28(0x22a)],'description':_0xf3a28(0x365),'demandOption':!![]})[_0xf3a28(0x363)](_0x44c763['qAQLc'],{'type':_0xf3a28(0x244),'description':'Scenario\x20number\x20to\x20edit\x20(1-based)','demandOption':!![]})[_0xf3a28(0x363)]('id',{'type':_0x44c763['DrxVS'],'description':_0xf3a28(0x29a)});},async _0x523fa3=>{const _0x27b796=_0x218e88;await _0x44c763[_0x27b796(0x381)](withTelemetry,'edit-scenario',()=>featureEditScenario(_0x523fa3['description'],{'id':_0x523fa3['id'],'scenario':_0x523fa3['scenario']}));})[_0x218e88(0x371)](_0x44c763[_0x218e88(0x2b0)],_0x44c763[_0x218e88(0x2cd)],_0x4f202d=>{const _0x3824df=_0x218e88;return _0x4f202d[_0x3824df(0x39c)]('id',{'type':_0x44c763[_0x3824df(0x22a)],'description':_0x3824df(0x378)})[_0x3824df(0x363)](_0x44c763[_0x3824df(0x28d)],{'type':_0x3824df(0x1f0),'description':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'})['option'](_0x44c763['ZnJdQ'],{'type':_0x44c763[_0x3824df(0x2c8)],'description':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','default':![]});},async _0x433562=>{const _0x4097e5=_0x218e88,_0x19c50e=_0x433562[_0x44c763[_0x4097e5(0x28d)]],_0x2151da=_0x19c50e?_0x19c50e[_0x4097e5(0x32f)](_0x3f0f9e=>Number(_0x3f0f9e)):undefined;await withTelemetry(_0x4097e5(0x2fd),()=>featureReportPrDescription(_0x433562['id'],{'excludeScenarios':_0x2151da,'json':_0x433562['json']}));})['command'](_0x218e88(0x335),'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x4930d5=>{return _0x4930d5['positional']('id',{'type':_0x44c763['DrxVS'],'description':_0x44c763['HEjkC']});},async _0x10b6ab=>{const _0x541e06=_0x218e88;await _0x44c763[_0x541e06(0x25e)](withTelemetry,_0x44c763['AWzYG'],()=>featureGetReview(_0x10b6ab['id']));})[_0x218e88(0x371)](_0x218e88(0x2d6),_0x44c763[_0x218e88(0x37b)],_0x36e7ad=>{return _0x36e7ad['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x523231=>{await _0x44c763['wrgBz'](withTelemetry,'delete',()=>featureDelete(_0x523231['id']));})[_0x218e88(0x371)]('restore\x20<id>','Restore\x20a\x20soft-deleted\x20feature\x20review',_0x46180b=>{return _0x46180b['positional']('id',{'type':'string','description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x4400aa=>{const _0x64ba73=_0x218e88;await withTelemetry(_0x44c763[_0x64ba73(0x304)],()=>featureRestore(_0x4400aa['id']));})['command']('setup\x20[tokenOrSubcommand]',_0x44c763[_0x218e88(0x2ce)],_0x251562=>{const _0x2deda7=_0x218e88,_0x124c57={'KvtSR':_0x2deda7(0x252),'miRxm':'Ranger\x20API\x20token','PvRZA':'skip-chromium','qQcKt':_0x44c763['ZstkB'],'AaaVJ':'Skip\x20authentication','gLHoL':_0x2deda7(0x28f),'fwYSG':_0x2deda7(0x311),'DUkPn':_0x44c763['kThFl'],'nYHat':_0x44c763['iSCZl'],'GBJGd':_0x44c763[_0x2deda7(0x2fb)],'xCEBr':_0x44c763['YYsjF'],'gXAds':'opencode','UJaXG':_0x2deda7(0x2f2),'pmLmw':_0x2deda7(0x212),'RxyXi':function(_0x1af14c,_0x197531,_0x5e4723){return _0x1af14c(_0x197531,_0x5e4723);},'FMpWC':function(_0x403d5d,_0x27684f,_0x271d00){return _0x44c763['yiPVN'](_0x403d5d,_0x27684f,_0x271d00);},'AqMZG':'user','xwLUf':'project','vgPPE':function(_0x15600e,_0x488068){return _0x44c763['NuSJB'](_0x15600e,_0x488068);},'jmrYU':_0x44c763[_0x2deda7(0x276)],'faiIJ':function(_0x486ab5){const _0x498a58=_0x2deda7;return _0x44c763[_0x498a58(0x21d)](_0x486ab5);},'AKzVV':_0x44c763['WuRqI'],'DczUX':_0x44c763[_0x2deda7(0x1df)],'xDugb':_0x44c763['vLdhq'],'fMMpL':_0x44c763['KWzqA'],'UseRX':_0x44c763['XXSkz']};return _0x251562[_0x2deda7(0x2e4)](_0x2deda7(0x245))['positional'](_0x44c763[_0x2deda7(0x36e)],{'type':_0x2deda7(0x252),'description':'Subcommand\x20or\x20API\x20token\x20(rngr_...)'})['command'](_0x44c763[_0x2deda7(0x2ed)],_0x44c763[_0x2deda7(0x1c3)],_0x4c019b=>{const _0x28cb53=_0x2deda7;return _0x4c019b['option']('token',{'type':_0x124c57['KvtSR'],'description':_0x124c57[_0x28cb53(0x22e)]})['option'](_0x124c57[_0x28cb53(0x327)],{'type':_0x124c57['qQcKt'],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x28cb53(0x363)](_0x28cb53(0x1c1),{'type':_0x124c57['qQcKt'],'description':_0x124c57[_0x28cb53(0x286)],'default':![]})['option'](_0x124c57['gLHoL'],{'type':_0x124c57['qQcKt'],'description':_0x124c57[_0x28cb53(0x2de)],'default':![]})['option'](_0x124c57['DUkPn'],{'type':_0x124c57['KvtSR'],'choices':['user'],'hidden':!![],'description':_0x124c57[_0x28cb53(0x32c)]})['option'](_0x124c57[_0x28cb53(0x233)],{'type':_0x124c57['KvtSR'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})[_0x28cb53(0x363)](_0x124c57['xCEBr'],{'type':'boolean','description':_0x28cb53(0x2a8),'default':![]})[_0x28cb53(0x363)](_0x124c57[_0x28cb53(0x1da)],{'type':_0x124c57[_0x28cb53(0x271)],'description':_0x28cb53(0x2ca),'default':![]})[_0x28cb53(0x363)](_0x124c57[_0x28cb53(0x2e1)],{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]})['option'](_0x28cb53(0x1f8),{'type':'boolean','description':_0x124c57['pmLmw'],'default':![]})[_0x28cb53(0x363)]('mcp',{'type':'boolean','description':_0x28cb53(0x20a),'default':![]});},async _0x4a4b32=>{const _0xf2822b=_0x2deda7;(_0x4a4b32[_0xf2822b(0x1f8)]||_0x4a4b32['mcp'])&&await _0x124c57['RxyXi'](withTelemetry,'mcp-bootstrap',()=>mcpBootstrap()),await _0x124c57['FMpWC'](withTelemetry,_0xf2822b(0x24a),_0x3ac847=>start(_0x4a4b32['token'],{'skipChromium':_0x4a4b32['skip-chromium'],'skipAuth':_0x4a4b32['skip-auth'],'withDeps':_0x4a4b32['with-deps'],'scope':_0x4a4b32['scope'],'url':_0x4a4b32[_0xf2822b(0x237)],'force':_0x4a4b32['force'],'opencode':_0x4a4b32['opencode'],'allowInsecureLocalhost':_0x4a4b32[_0xf2822b(0x2f2)]},_0x3ac847));})['command']('deps',_0x44c763[_0x2deda7(0x35c)],_0x56a0cc=>{const _0x67cb40=_0x2deda7;return _0x56a0cc[_0x67cb40(0x363)]('with-deps',{'type':_0x44c763[_0x67cb40(0x2c8)],'description':_0x67cb40(0x2b6),'default':![]});},async _0x47b86c=>{const _0x4e9d59=_0x2deda7;await _0x44c763[_0x4e9d59(0x25e)](withTelemetry,_0x4e9d59(0x2bb),()=>ensureChromium(_0x47b86c['with-deps']));})['command'](_0x2deda7(0x30b),_0x44c763['eZWmO'],_0x160066=>{const _0x3f7a5b=_0x2deda7;return _0x160066['option'](_0x44c763[_0x3f7a5b(0x329)],{'type':_0x44c763['DrxVS'],'description':_0x44c763['ZDMmS']})[_0x3f7a5b(0x363)]('mcp',{'type':_0x44c763['ZstkB'],'description':_0x3f7a5b(0x26e),'default':![]});},async _0x138ea8=>{const _0x11e5df=_0x2deda7,_0x12afd9={'nZeaC':function(_0x20e4ff){return _0x44c763['ZTGMR'](_0x20e4ff);}};await withTelemetry(_0x44c763[_0x11e5df(0x205)],async()=>{const _0xeafbe0=_0x11e5df;if(_0x138ea8['mcp']){await mcpBootstrap();const _0x438398=await _0x12afd9[_0xeafbe0(0x38c)](refreshCliToken);if(!_0x438398)throw new Error(_0xeafbe0(0x2ef));const _0x258a42=await getCurrentUser(_0x438398);if(!_0x258a42['success'])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x258a42['error']);console[_0xeafbe0(0x1c4)]('✓\x20Authenticated\x20to\x20'+_0x258a42[_0xeafbe0(0x1e4)][_0xeafbe0(0x1d3)]);return;}await authenticate(_0x138ea8['token']);});})[_0x2deda7(0x371)]('skills',_0x44c763[_0x2deda7(0x251)],_0x4d5cb2=>{const _0x4c3676=_0x2deda7;return _0x4d5cb2[_0x4c3676(0x363)](_0x124c57[_0x4c3676(0x332)],{'type':_0x124c57[_0x4c3676(0x25b)],'choices':[_0x124c57[_0x4c3676(0x20c)],_0x124c57[_0x4c3676(0x360)]],'description':_0x4c3676(0x2f1)})[_0x4c3676(0x363)](_0x124c57['gXAds'],{'type':_0x124c57[_0x4c3676(0x271)],'description':_0x4c3676(0x2ca),'default':![]});},async _0x6e0133=>{const _0x2d6fd7=_0x2deda7;await _0x124c57[_0x2d6fd7(0x356)](withTelemetry,'setup:skills',async()=>{const _0xb864d8=_0x2d6fd7,_0x58a2d5=_0x6e0133['scope'];if(_0x6e0133['opencode']){const _0x2d832f=await _0x124c57['vgPPE'](ensureOpencodePluginConfig,_0x58a2d5);_0x2d832f&&await _0x124c57['FMpWC'](installSkill,_0x124c57['jmrYU'],{'level':_0x2d832f[_0xb864d8(0x330)],'cliVersion':_0x124c57[_0xb864d8(0x29d)](getCurrentVersion),'platform':_0x124c57['gXAds']});}else await ensureClaudePlugin(_0x58a2d5),await _0x124c57[_0xb864d8(0x1eb)](ensureClaudeSkills,_0x58a2d5);});})['command'](_0x44c763[_0x2deda7(0x1cc)],_0x2deda7(0x1d4),_0x125320=>{const _0x5dff5c=_0x2deda7;return _0x125320[_0x5dff5c(0x363)]('scope',{'type':'string','choices':[_0x124c57[_0x5dff5c(0x20c)]],'description':_0x124c57['nYHat']})['option'](_0x124c57['GBJGd'],{'type':_0x124c57[_0x5dff5c(0x25b)],'description':_0x124c57[_0x5dff5c(0x1cb)]})[_0x5dff5c(0x363)](_0x124c57[_0x5dff5c(0x35d)],{'type':'boolean','description':_0x124c57[_0x5dff5c(0x396)],'default':![]})['option']('force',{'type':'boolean','description':_0x124c57['fMMpL'],'default':![]})[_0x5dff5c(0x363)](_0x5dff5c(0x2f2),{'type':_0x5dff5c(0x312),'description':_0x124c57[_0x5dff5c(0x39f)],'default':![]});},async _0x387202=>{const _0x4e5260=_0x2deda7,_0x1678f7=_0x387202[_0x4e5260(0x330)];_0x1678f7!==undefined&&_0x44c763['tFasf'](_0x1678f7,'user')&&(console[_0x4e5260(0x325)]('ranger\x20setup\x20profiles\x20--scope='+_0x1678f7+_0x4e5260(0x2b1)+'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20'+'Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.'),process[_0x4e5260(0x2dd)](0x1)),await _0x44c763[_0x4e5260(0x2b2)](withTelemetry,_0x4e5260(0x357),_0x15bddb=>ensureLocalEnv({'url':_0x387202['url'],'force':_0x387202[_0x4e5260(0x250)],'allowInsecureLocalhost':_0x387202[_0x4e5260(0x2f2)],'scope':'user'},_0x15bddb));})[_0x2deda7(0x363)](_0x2deda7(0x2e0),{'type':'boolean','description':_0x44c763[_0x2deda7(0x2b3)],'default':![]})['option'](_0x44c763['kThFl'],{'type':'string','choices':[_0x44c763[_0x2deda7(0x1f9)]],'hidden':!![],'description':_0x44c763[_0x2deda7(0x290)]})[_0x2deda7(0x363)](_0x44c763[_0x2deda7(0x2fb)],{'type':_0x2deda7(0x252),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x44c763[_0x2deda7(0x2e3)],{'type':_0x2deda7(0x312),'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x44c763[_0x2deda7(0x309)],{'type':'boolean','description':_0x44c763[_0x2deda7(0x315)],'default':![]})['option'](_0x2deda7(0x2f2),{'type':_0x2deda7(0x312),'description':_0x44c763['FcmVr'],'default':![]})['option'](_0x2deda7(0x1f8),{'type':_0x2deda7(0x312),'description':_0x2deda7(0x340),'default':![]})['option'](_0x2deda7(0x1c1),{'type':_0x44c763[_0x2deda7(0x2c8)],'description':_0x44c763[_0x2deda7(0x1f2)],'default':![]})[_0x2deda7(0x363)](_0x2deda7(0x28f),{'type':_0x44c763['ZstkB'],'description':_0x2deda7(0x2b6),'default':![]})[_0x2deda7(0x363)](_0x44c763['kLSMG'],{'type':_0x2deda7(0x252),'hidden':!![],'description':'API\x20token'});},async _0x5d1056=>{const _0x545d54=_0x218e88,_0x3b8579=_0x5d1056['tokenOrSubcommand'],_0x1f3d7e=_0x5d1056['token']??_0x3b8579;_0x5d1056[_0x44c763[_0x545d54(0x31d)]]&&await _0x44c763['EcqEG'](withTelemetry,_0x545d54(0x1f8),()=>mcpBootstrap()),await withTelemetry(_0x44c763['AuvpI'],_0x4ed775=>start(_0x1f3d7e,{'skipChromium':_0x5d1056[_0x545d54(0x2e0)],'skipAuth':_0x5d1056[_0x545d54(0x1c1)],'withDeps':_0x5d1056['with-deps'],'scope':_0x5d1056[_0x545d54(0x330)],'url':_0x5d1056['url'],'force':_0x5d1056[_0x545d54(0x250)],'opencode':_0x5d1056['opencode'],'allowInsecureLocalhost':_0x5d1056[_0x545d54(0x2f2)]},_0x4ed775));})['command'](_0x44c763['nzsjv'],![],_0xc8fbc1=>{const _0x321e88=_0x218e88;return _0xc8fbc1['positional']('token',{'type':_0x44c763[_0x321e88(0x22a)],'description':_0x44c763[_0x321e88(0x317)],'demandOption':!![]})[_0x321e88(0x363)](_0x321e88(0x28b),{'type':_0x321e88(0x252),'description':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)'})[_0x321e88(0x363)]('base-url',{'type':'string','description':_0x44c763['DATNr']})[_0x321e88(0x363)](_0x44c763['MErSL'],{'type':_0x44c763['ZstkB'],'description':_0x44c763[_0x321e88(0x2fe)],'default':![]});},async _0x16e9dc=>{const _0x548a4a=_0x218e88;await _0x44c763['xQRfC'](withTelemetry,_0x548a4a(0x220),_0x21554a=>setupCi(_0x16e9dc['token'],{'profile':_0x16e9dc['profile'],'baseUrl':_0x16e9dc[_0x548a4a(0x390)],'skipChromium':_0x16e9dc['skip-chromium']},_0x21554a));})['command'](_0x218e88(0x30b),_0x44c763[_0x218e88(0x380)],()=>{},async()=>{const _0x3c2d24=_0x218e88;await withTelemetry(_0x3c2d24(0x30b),()=>login());})['command']('skillup',_0x44c763[_0x218e88(0x1fc)],_0x1afd5e=>{const _0x5ee3f3=_0x218e88;return _0x1afd5e[_0x5ee3f3(0x363)](_0x44c763[_0x5ee3f3(0x309)],{'type':_0x44c763[_0x5ee3f3(0x2c8)],'description':_0x44c763['UiwfJ'],'default':![]})[_0x5ee3f3(0x363)](_0x5ee3f3(0x330),{'type':_0x44c763[_0x5ee3f3(0x22a)],'choices':['user',_0x5ee3f3(0x33a)],'description':_0x5ee3f3(0x35e)});},async _0x509f22=>{const _0x373db9=_0x218e88,_0x2ac9a1=Boolean(_0x509f22['opencode']);await _0x44c763['tjXQg'](withTelemetry,_0x44c763['xyZAr'],()=>skillup({'autoInstall':_0x509f22[_0x373db9(0x330)],'platform':_0x2ac9a1?'opencode':'claude'}));})['command'](_0x44c763[_0x218e88(0x1c2)],_0x218e88(0x33c),()=>{},async()=>{const _0x451ebd=_0x218e88;await _0x44c763[_0x451ebd(0x25e)](withTelemetry,'clean',()=>clean());})[_0x218e88(0x371)]([_0x44c763['xnIhL'],_0x218e88(0x2ea)],_0x44c763[_0x218e88(0x351)],_0x5b326c=>{const _0x509dfe=_0x218e88,_0x32f25d={'RzZnp':_0x509dfe(0x252),'bJpte':_0x509dfe(0x33b),'vZHER':_0x44c763[_0x509dfe(0x2c8)],'zbDgY':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','RLIuW':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','qpLZC':_0x509dfe(0x2f2),'xgfBq':_0x509dfe(0x2a1),'mscQf':_0x509dfe(0x328),'ZvkUX':_0x44c763[_0x509dfe(0x303)],'dHUdV':'project','PkHZq':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','LshzH':_0x509dfe(0x230),'iPaHd':'profile\x20add','vAnUT':'cdp-endpoint','PvNSE':_0x44c763['BejlB'],'XjuZE':function(_0x314342,_0x13f0cd,_0x45a2ae){return _0x314342(_0x13f0cd,_0x45a2ae);},'fKSow':'Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','ZYAeh':function(_0x52fd20,_0x2bc9ab,_0x40bbd9){return _0x44c763['zPvDL'](_0x52fd20,_0x2bc9ab,_0x40bbd9);},'JAxmL':function(_0x24734b,_0x5b086e){return _0x24734b===_0x5b086e;},'bFcCz':'No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','ltGGz':_0x44c763['ECimR'],'Hsztr':'all','enySi':_0x44c763['tJVLv'],'rqHyG':_0x44c763[_0x509dfe(0x1ea)],'HOsoi':_0x44c763[_0x509dfe(0x2af)],'MIkCU':_0x44c763[_0x509dfe(0x2bf)],'GjSgl':function(_0x23222a,_0x21b03d,_0x16dde4){return _0x23222a(_0x21b03d,_0x16dde4);},'EtMnA':_0x44c763[_0x509dfe(0x2f6)],'sYboy':_0x44c763['MNGyi'],'qgUth':_0x509dfe(0x37d),'RUmZQ':function(_0x122c32,_0x5f0bef,_0x3c880e){return _0x122c32(_0x5f0bef,_0x3c880e);},'wrOTv':_0x44c763[_0x509dfe(0x29e)],'SwLMv':_0x44c763['GOJLR']};return _0x5b326c[_0x509dfe(0x2e4)](PROFILE_HELP)['command'](_0x44c763['XxGvR'],_0x44c763['kzLms'],_0x225107=>{const _0x3e36e0=_0x509dfe;return _0x225107[_0x3e36e0(0x39c)]('profile-name',{'type':_0x32f25d[_0x3e36e0(0x34c)],'description':_0x32f25d['bJpte'],'demandOption':!![]})['option']('ci',{'type':'boolean','hidden':!![],'default':![]})[_0x3e36e0(0x363)]('skip-auth',{'type':_0x32f25d[_0x3e36e0(0x238)],'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})['option']('url',{'type':'string','description':_0x32f25d['zbDgY']})['option'](_0x3e36e0(0x250),{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x3e36e0(0x363)](_0x3e36e0(0x39e),{'type':_0x32f25d['RzZnp'],'description':_0x32f25d['RLIuW']})[_0x3e36e0(0x363)](_0x32f25d[_0x3e36e0(0x206)],{'type':'boolean','description':_0x32f25d['xgfBq'],'default':![]})['option']('safe-mode',{'type':_0x32f25d['vZHER'],'description':_0x3e36e0(0x204),'default':![]})['option'](_0x3e36e0(0x31b),{'type':'string','array':!![],'description':_0x32f25d['mscQf']})['option'](_0x32f25d['ZvkUX'],{'type':_0x3e36e0(0x252),'choices':[_0x3e36e0(0x1e4),_0x32f25d[_0x3e36e0(0x2a3)]],'description':_0x32f25d[_0x3e36e0(0x2cc)]})['option'](_0x32f25d['LshzH'],{'type':_0x32f25d['vZHER'],'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','default':![]});},async _0x5d4796=>{const _0x591cea=_0x509dfe;await withTelemetry(_0x32f25d[_0x591cea(0x23c)],_0x1bdfcd=>addEnv(_0x5d4796[_0x591cea(0x26a)],{'ci':_0x5d4796['ci'],'skipAuth':_0x5d4796['skip-auth'],'url':_0x5d4796[_0x591cea(0x237)],'force':_0x5d4796['force'],'cdpEndpoint':_0x5d4796['cdp-endpoint'],'allowInsecureLocalhost':_0x5d4796[_0x591cea(0x2f2)],'safeMode':_0x5d4796[_0x591cea(0x26c)],'setupHeader':_0x5d4796['setup-header'],'scope':_0x5d4796['scope'],'yes':_0x5d4796['yes']},_0x1bdfcd),{'isElectron':Boolean(_0x5d4796[_0x32f25d['vAnUT']])});})['command']('use\x20<profile-name>',_0x509dfe(0x21f),_0x2fc9aa=>{const _0x5ec465=_0x509dfe;return _0x2fc9aa['positional'](_0x44c763['PWBvf'],{'type':_0x44c763[_0x5ec465(0x22a)],'description':_0x5ec465(0x256),'demandOption':!![]});},async _0x45e16a=>{const _0x343a60=_0x509dfe;await withTelemetry(_0x343a60(0x272),()=>useEnv(_0x45e16a[_0x343a60(0x26a)]));})[_0x509dfe(0x371)](_0x44c763[_0x509dfe(0x35f)],_0x44c763['KOgpX'],_0x358df2=>{const _0x2ba4a4=_0x509dfe;return _0x358df2['positional'](_0x44c763['PWBvf'],{'type':_0x44c763[_0x2ba4a4(0x22a)],'description':_0x44c763[_0x2ba4a4(0x377)],'demandOption':!![]})[_0x2ba4a4(0x363)](_0x44c763[_0x2ba4a4(0x201)],{'type':_0x2ba4a4(0x312),'alias':'y','description':'Skip\x20the\x20deletion\x20confirmation\x20prompt.','default':![]});},async _0x3c4c2=>{const _0x433f54=_0x509dfe;await withTelemetry(_0x433f54(0x302),()=>deleteProfile(_0x3c4c2[_0x433f54(0x26a)],{'yes':_0x3c4c2[_0x433f54(0x230)]}));})['command']('encrypt-auth\x20<profile>',![],_0x3d71c7=>{const _0x971e49=_0x509dfe;return _0x3d71c7['positional']('profile',{'type':_0x44c763[_0x971e49(0x22a)],'description':_0x44c763[_0x971e49(0x262)],'demandOption':!![]});},async _0x460611=>{const _0x5188a2=_0x509dfe;await withTelemetry(_0x32f25d[_0x5188a2(0x1d8)],()=>authEncrypt(_0x460611[_0x5188a2(0x28b)]));})['command']('ls',_0x44c763[_0x509dfe(0x25c)],()=>{},async()=>{const _0x19331c=_0x509dfe;await withTelemetry(_0x19331c(0x210),()=>envList());})[_0x509dfe(0x371)](_0x44c763['vuyFV'],_0x509dfe(0x278),_0x59cab9=>{const _0x16d92b=_0x509dfe;return _0x59cab9['positional'](_0x44c763['PWBvf'],{'type':_0x44c763['DrxVS'],'description':'Name\x20of\x20the\x20profile\x20to\x20update','demandOption':!![]})[_0x16d92b(0x363)](_0x44c763['MSjdz'],{'type':_0x44c763[_0x16d92b(0x2c8)],'description':_0x16d92b(0x2a1)});},async _0x23045b=>{const _0x578aa5=_0x509dfe;await _0x32f25d['XjuZE'](withTelemetry,_0x578aa5(0x226),_0x5befcd=>updateEnv(_0x23045b['profile-name'],_0x5befcd,{'allowInsecureLocalhost':_0x23045b[_0x578aa5(0x2f2)]}));})[_0x509dfe(0x371)](_0x44c763['yXzQb'],![],_0x47a11b=>{const _0x15cfb1=_0x509dfe;return _0x47a11b['positional'](_0x44c763[_0x15cfb1(0x282)],{'type':_0x44c763['DrxVS'],'description':_0x44c763['TROJU'],'demandOption':!![]});},async _0x5f40e8=>{const _0x36525a=_0x509dfe;await withTelemetry(_0x36525a(0x288),async()=>{const _0xbcc181=_0x36525a,_0x413b1f=process['env'][_0xbcc181(0x322)],_0x210ff5=process[_0xbcc181(0x207)][_0xbcc181(0x319)];(!_0x413b1f||!_0x210ff5)&&(console['error'](_0x32f25d['fKSow']),process['exit'](0x1));const _0x42346b=_0x5f40e8[_0xbcc181(0x384)],_0x27f446=await _0x32f25d['ZYAeh'](serverSideLogin,_0x42346b,{'force':!![]});_0x32f25d['JAxmL'](_0x27f446[_0xbcc181(0x2fc)],_0xbcc181(0x223))&&(console[_0xbcc181(0x325)](_0x32f25d[_0xbcc181(0x23b)]),process[_0xbcc181(0x2dd)](0x1)),_0x27f446[_0xbcc181(0x2fc)]===_0xbcc181(0x2d4)&&(console[_0xbcc181(0x325)]('Login\x20failed:\x20'+(_0x27f446[_0xbcc181(0x325)]??_0x32f25d[_0xbcc181(0x300)])),_0x27f446[_0xbcc181(0x397)]&&console['error'](_0x27f446['test_output']),process[_0xbcc181(0x2dd)](0x1)),console[_0xbcc181(0x1c4)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x42346b+'\x27.\x20Session\x20saved.');});})[_0x509dfe(0x371)]('migrate\x20[profile-name]',![],_0xd62fa9=>{const _0x271a0=_0x509dfe;return _0xd62fa9['positional']('profile-name',{'type':_0x32f25d['RzZnp'],'description':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.'})['option'](_0x32f25d[_0x271a0(0x270)],{'type':_0x271a0(0x312),'description':_0x32f25d['enySi'],'default':![]})['option']('dry-run',{'type':_0x271a0(0x312),'description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})['option']('yes',{'type':'boolean','alias':'y','description':_0x32f25d['rqHyG'],'default':![]})[_0x271a0(0x363)](_0x271a0(0x2d7),{'type':_0x32f25d[_0x271a0(0x238)],'description':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','default':![]});},async _0xa8b413=>{const _0x5a6e7b=_0x509dfe;await withTelemetry(_0x44c763['rpMxI'],_0x470c66=>migrateProfile({'profileName':_0xa8b413[_0x5a6e7b(0x26a)],'all':_0xa8b413['all'],'dryRun':_0xa8b413[_0x5a6e7b(0x2df)],'yes':_0xa8b413[_0x5a6e7b(0x230)],'saveCreds':_0xa8b413['save-creds']},_0x470c66));})['command'](_0x44c763['Opxfa'],'Manage\x20profile\x20configuration',_0x2c8db7=>{const _0x1cd656=_0x509dfe,_0x3921e5={'ZfMNQ':function(_0x4162b2,_0x14ef55,_0x3bbf71){return _0x44c763['nvhzG'](_0x4162b2,_0x14ef55,_0x3bbf71);},'NyYDX':_0x44c763['SeTiZ'],'lKkxH':_0x44c763['DrxVS'],'iqpjh':_0x1cd656(0x209),'xktYm':function(_0x4c98b7,_0x3c10fa,_0x4f67cc){const _0x3d3359=_0x1cd656;return _0x44c763[_0x3d3359(0x381)](_0x4c98b7,_0x3c10fa,_0x4f67cc);},'UFPto':_0x44c763['tPvwZ']};return _0x2c8db7[_0x1cd656(0x2e4)](PROFILE_CONFIG_HELP)['command'](_0x44c763['BzJKr'],_0x44c763['xCEdt'],_0x95fcef=>{const _0x3b0aec=_0x1cd656;return _0x95fcef[_0x3b0aec(0x39c)](_0x32f25d['HOsoi'],{'type':_0x32f25d[_0x3b0aec(0x34c)],'description':'Profile\x20name','demandOption':!![]})['positional'](_0x32f25d[_0x3b0aec(0x366)],{'type':_0x32f25d['RzZnp'],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})['positional'](_0x3b0aec(0x277),{'type':_0x3b0aec(0x252),'description':'Config\x20value','demandOption':!![]});},async _0x459503=>{const _0x5895eb=_0x1cd656;await _0x32f25d['GjSgl'](withTelemetry,_0x32f25d['EtMnA'],()=>configSet(_0x459503[_0x5895eb(0x28b)],_0x459503[_0x5895eb(0x217)],_0x459503[_0x5895eb(0x277)]));})[_0x1cd656(0x371)](_0x44c763[_0x1cd656(0x2d3)],_0x1cd656(0x337),_0x4bfd01=>{const _0x17d669=_0x1cd656;return _0x4bfd01['positional'](_0x32f25d[_0x17d669(0x34e)],{'type':_0x17d669(0x252),'description':_0x32f25d[_0x17d669(0x27f)],'demandOption':!![]})[_0x17d669(0x39c)](_0x32f25d[_0x17d669(0x366)],{'type':'string','description':_0x32f25d[_0x17d669(0x2ac)],'demandOption':!![]});},async _0x3d64e1=>{const _0x4e192f=_0x1cd656;await _0x32f25d[_0x4e192f(0x1ee)](withTelemetry,_0x32f25d['wrOTv'],()=>configGet(_0x3d64e1['profile'],_0x3d64e1['key']));})['command']('list\x20<profile>',_0x44c763[_0x1cd656(0x242)],_0x64ba08=>{const _0xc5de43=_0x1cd656;return _0x64ba08[_0xc5de43(0x39c)](_0xc5de43(0x28b),{'type':_0xc5de43(0x252),'description':'Profile\x20name','demandOption':!![]});},async _0x25e2ec=>{const _0x11b697=_0x1cd656;await withTelemetry(_0x32f25d['SwLMv'],()=>configList(_0x25e2ec[_0x11b697(0x28b)]));})[_0x1cd656(0x371)]('unset\x20<profile>\x20<key>',_0x44c763['kvlET'],_0x39b303=>{const _0x289189=_0x1cd656;return _0x39b303[_0x289189(0x39c)]('profile',{'type':_0x32f25d['RzZnp'],'description':'Profile\x20name','demandOption':!![]})[_0x289189(0x39c)]('key',{'type':'string','description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x36efdf=>{const _0x41265e=_0x1cd656;await _0x3921e5[_0x41265e(0x2bd)](withTelemetry,_0x3921e5[_0x41265e(0x228)],()=>configUnset(_0x36efdf[_0x41265e(0x28b)],_0x36efdf['key']));})['command']('reset\x20<profile>',_0x44c763['OGIXy'],_0xf1a5a2=>{const _0x28c886=_0x1cd656;return _0xf1a5a2[_0x28c886(0x39c)](_0x28c886(0x28b),{'type':_0x3921e5['lKkxH'],'description':_0x3921e5['iqpjh'],'demandOption':!![]});},async _0x393ee5=>{await _0x3921e5['xktYm'](withTelemetry,_0x3921e5['UFPto'],()=>configReset(_0x393ee5['profile']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})[_0x509dfe(0x26b)](0x1,_0x509dfe(0x1c7));})[_0x218e88(0x371)](_0x218e88(0x2fc),_0x44c763[_0x218e88(0x239)],()=>{},async()=>{const _0x430bf4=_0x218e88;await withTelemetry(_0x430bf4(0x2fc),()=>status());})[_0x218e88(0x371)](_0x44c763[_0x218e88(0x21e)],_0x218e88(0x374),()=>{},async()=>{const _0x40b2e9=_0x218e88;await withTelemetry(_0x44c763[_0x40b2e9(0x21e)],()=>update());})['command']('print-access-token',_0x218e88(0x200),()=>{},async()=>{const _0x5a4aa2=_0x218e88,_0x5edc45={'TYxBB':function(_0x540d6a){const _0x4748a1=_0x3fce;return _0x44c763[_0x4748a1(0x2c5)](_0x540d6a);}};await _0x44c763[_0x5a4aa2(0x2aa)](withTelemetry,_0x44c763[_0x5a4aa2(0x387)],async()=>{const _0x47d093=_0x5a4aa2,_0x1a1dac=await _0x5edc45[_0x47d093(0x1f7)](getToken);if(!_0x1a1dac)throw new Error(_0x47d093(0x320));console[_0x47d093(0x1c4)](_0x1a1dac);});})['command']('go',_0x44c763[_0x218e88(0x258)],_0x1627e5=>{const _0x38cd88=_0x218e88;return _0x1627e5['option']('feature',{'type':'string','description':'Optional\x20feature\x20ID'})[_0x38cd88(0x363)](_0x44c763['xnIhL'],{'type':_0x44c763[_0x38cd88(0x22a)],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)'})[_0x38cd88(0x363)](_0x44c763[_0x38cd88(0x229)],{'type':_0x38cd88(0x252),'description':_0x38cd88(0x25a)})[_0x38cd88(0x363)](_0x44c763['qAQLc'],{'type':_0x44c763[_0x38cd88(0x274)],'description':_0x38cd88(0x1fb)})['option'](_0x44c763[_0x38cd88(0x395)],{'type':_0x38cd88(0x252),'description':_0x38cd88(0x2b8)})[_0x38cd88(0x363)]('base-url',{'type':_0x44c763[_0x38cd88(0x22a)],'description':_0x44c763[_0x38cd88(0x314)]})[_0x38cd88(0x363)](_0x44c763[_0x38cd88(0x324)],{'type':_0x38cd88(0x252),'description':_0x44c763[_0x38cd88(0x1ca)]})[_0x38cd88(0x363)](_0x38cd88(0x2e9),{'type':_0x44c763['ZstkB'],'description':_0x44c763['ONbUl'],'default':![]})[_0x38cd88(0x363)](_0x44c763['rtaeX'],{'type':_0x44c763['DrxVS'],'array':!![],'alias':'environment-variable','description':_0x44c763['hxEhw']})['option']('debug-outcome',{'type':_0x44c763['DrxVS'],'hidden':!![],'choices':[_0x44c763[_0x38cd88(0x296)],_0x44c763[_0x38cd88(0x254)],_0x44c763[_0x38cd88(0x202)],_0x44c763[_0x38cd88(0x216)],_0x44c763[_0x38cd88(0x34f)]]})['option'](_0x44c763['Pzmbf'],{'type':_0x44c763[_0x38cd88(0x2c8)],'hidden':!![]})[_0x38cd88(0x363)]('env',{'type':_0x44c763[_0x38cd88(0x22a)],'hidden':!![]})[_0x38cd88(0x363)]('task',{'type':_0x44c763['DrxVS'],'hidden':!![]})[_0x38cd88(0x363)](_0x38cd88(0x240),{'type':'number','hidden':!![]});},async _0x3ab102=>{await runGoCommand(_0x3ab102);})['command'](_0x218e88(0x348),![],_0x5342b6=>{const _0x48a959=_0x218e88,_0x381106={'AScda':function(_0x4f567b,_0x44937b,_0x4f41a5){const _0x5ebab9=_0x3fce;return _0x44c763[_0x5ebab9(0x381)](_0x4f567b,_0x44937b,_0x4f41a5);},'bFukM':_0x44c763['wJWLA'],'wAwuw':_0x48a959(0x2b7),'PNeAF':function(_0x3d87ab,_0x4c2589){return _0x44c763['NuSJB'](_0x3d87ab,_0x4c2589);}};return _0x5342b6['command'](_0x44c763['NGFTY'],![],_0x21cebe=>{const _0x1857a8=_0x48a959;return _0x21cebe['positional']('profile',{'type':'string','description':_0x44c763[_0x1857a8(0x262)],'demandOption':!![]});},async _0x126f4e=>{const _0x5b6f83=_0x48a959;_0x381106['AScda'](warnRenamed,_0x381106[_0x5b6f83(0x2da)],_0x381106[_0x5b6f83(0x2ad)]),await _0x381106[_0x5b6f83(0x25f)](authEncrypt,_0x126f4e['profile']);})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command'](_0x44c763['Mupwc'],![],_0xfa41a2=>{const _0x45f30d=_0x218e88;return _0xfa41a2['positional']('token',{'type':_0x44c763['DrxVS'],'description':_0x44c763['mFBhs']})['option'](_0x45f30d(0x2e0),{'type':_0x45f30d(0x312),'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option'](_0x44c763['kThFl'],{'type':_0x45f30d(0x252),'choices':[_0x44c763[_0x45f30d(0x1f9)]],'hidden':!![],'description':_0x44c763['iSCZl']})[_0x45f30d(0x363)](_0x44c763[_0x45f30d(0x2fb)],{'type':'string','description':_0x44c763['DlmVj']})[_0x45f30d(0x363)](_0x44c763[_0x45f30d(0x2e3)],{'type':_0x44c763[_0x45f30d(0x2c8)],'description':_0x44c763[_0x45f30d(0x391)],'default':![]})['option'](_0x44c763['UTkwA'],{'type':_0x44c763['ZstkB'],'description':_0x44c763[_0x45f30d(0x353)],'default':![]})['option'](_0x45f30d(0x28f),{'type':'boolean','description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]});},async _0x4c2f19=>{const _0x55cdaf=_0x218e88;warnRenamed(_0x44c763['GguJu'],_0x55cdaf(0x22d)),await withTelemetry(_0x44c763[_0x55cdaf(0x27e)],_0x3c2bc2=>start(_0x4c2f19[_0x55cdaf(0x34a)],{'skipChromium':_0x4c2f19[_0x55cdaf(0x2e0)],'skipAuth':_0x4c2f19['skip-auth'],'withDeps':_0x4c2f19[_0x55cdaf(0x28f)],'scope':_0x4c2f19[_0x55cdaf(0x330)],'url':_0x4c2f19['url'],'force':_0x4c2f19['force']},_0x3c2bc2));})['command'](_0x44c763[_0x218e88(0x334)],![],_0x44f2a7=>{const _0x416416=_0x218e88;return _0x44f2a7[_0x416416(0x363)]('env',{'type':_0x44c763['DrxVS'],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})['option'](_0x44c763['Areex'],{'type':_0x44c763[_0x416416(0x22a)],'description':_0x44c763['haHLO']})['option'](_0x44c763[_0x416416(0x341)],{'type':_0x416416(0x244),'description':'Scenario\x20index\x20(1-based)'})['option']('profile',{'type':_0x44c763[_0x416416(0x22a)],'hidden':!![]})[_0x416416(0x363)]('notes',{'type':_0x44c763['DrxVS'],'hidden':!![]})[_0x416416(0x363)](_0x416416(0x213),{'type':_0x416416(0x244),'hidden':!![]})[_0x416416(0x363)](_0x44c763[_0x416416(0x395)],{'type':_0x44c763['DrxVS'],'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})['option'](_0x416416(0x390),{'type':_0x416416(0x252),'description':_0x416416(0x343)})[_0x416416(0x363)]('model',{'type':_0x44c763[_0x416416(0x22a)],'hidden':!![]})[_0x416416(0x363)](_0x416416(0x2e9),{'type':_0x44c763[_0x416416(0x2c8)],'hidden':!![],'default':![]})[_0x416416(0x363)]('env-var',{'type':_0x416416(0x252),'array':!![],'alias':_0x44c763[_0x416416(0x358)],'hidden':!![]})['option']('debug-outcome',{'type':_0x44c763[_0x416416(0x22a)],'hidden':!![],'choices':['verified',_0x416416(0x2d0),_0x44c763[_0x416416(0x202)],_0x44c763[_0x416416(0x216)],_0x416416(0x2e6)]});},async _0x95335f=>{await runGoCommand(_0x95335f,!![]);})[_0x218e88(0x371)](_0x44c763['WBjhr'],![],_0x4834ea=>{const _0x5743cb=_0x218e88;return _0x4834ea[_0x5743cb(0x39c)]('env-name',{'type':'string','description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x5743cb(0x363)]('ci',{'type':'boolean','description':_0x5743cb(0x2c1),'default':![]})[_0x5743cb(0x363)](_0x5743cb(0x1c1),{'type':'boolean','description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]});},async _0x311a0a=>{const _0x1fd6b4=_0x218e88;warnRenamed(_0x44c763['yaJXV'],_0x44c763['Tujnc']),await _0x44c763[_0x1fd6b4(0x2f0)](withTelemetry,_0x44c763[_0x1fd6b4(0x2c9)],_0x4afedc=>addEnv(_0x311a0a[_0x1fd6b4(0x2eb)],{'ci':_0x311a0a['ci'],'skipAuth':_0x311a0a['skip-auth']},_0x4afedc));})['command'](_0x44c763[_0x218e88(0x1d9)],![],_0x2a03f6=>{const _0x29a401=_0x218e88;return _0x2a03f6[_0x29a401(0x39c)](_0x44c763[_0x29a401(0x248)],{'type':_0x44c763['DrxVS'],'description':_0x29a401(0x32b),'demandOption':!![]});},async _0x865487=>{const _0x24efde=_0x218e88;_0x44c763['gQzep'](warnRenamed,'ranger\x20use',_0x44c763['RCcFa']),await withTelemetry(_0x44c763[_0x24efde(0x34b)],()=>useEnv(_0x865487['env-name']));})['command'](_0x218e88(0x32d),![],_0x13dea6=>{const _0x15a457=_0x218e88,_0xe84a32={'yfUEf':'string','QeTps':_0x44c763['IJMba'],'EiDte':_0x15a457(0x39a),'xIAFT':_0x15a457(0x27c),'bguVx':'ranger\x20profile\x20config\x20set','jqQTM':function(_0x4a6e0d,_0x1a2f4e,_0x670b87){return _0x4a6e0d(_0x1a2f4e,_0x670b87);},'liKYH':_0x44c763['KNXjI']};return _0x13dea6[_0x15a457(0x371)](_0x15a457(0x2ec),![],_0x33a83d=>{const _0x1cd9e0=_0x15a457;return _0x33a83d[_0x1cd9e0(0x39c)]('env',{'type':_0xe84a32[_0x1cd9e0(0x342)],'description':_0xe84a32[_0x1cd9e0(0x1d2)],'demandOption':!![]})[_0x1cd9e0(0x39c)]('key',{'type':_0xe84a32[_0x1cd9e0(0x342)],'description':_0xe84a32[_0x1cd9e0(0x1f4)],'demandOption':!![]})['positional'](_0x1cd9e0(0x277),{'type':_0xe84a32['yfUEf'],'description':_0xe84a32['xIAFT'],'demandOption':!![]});},async _0x23f668=>{const _0x15c456=_0x15a457;warnRenamed('ranger\x20config\x20set',_0xe84a32[_0x15c456(0x30f)]),await _0xe84a32[_0x15c456(0x306)](withTelemetry,'config\x20set',()=>configSet(_0x23f668['env'],_0x23f668[_0x15c456(0x217)],_0x23f668[_0x15c456(0x277)]));})['command']('get\x20<env>\x20<key>',![],_0x3d139a=>{const _0x18ccc9=_0x15a457;return _0x3d139a['positional'](_0x18ccc9(0x207),{'type':'string','description':_0x44c763[_0x18ccc9(0x347)],'demandOption':!![]})[_0x18ccc9(0x39c)](_0x44c763['VhzXW'],{'type':_0x44c763[_0x18ccc9(0x22a)],'description':_0x18ccc9(0x37d),'demandOption':!![]});},async _0x1c92d4=>{const _0x4c5119=_0x15a457;_0x44c763['KQvbt'](warnRenamed,_0x44c763[_0x4c5119(0x211)],_0x44c763['QcLWr']),await _0x44c763['xQRfC'](withTelemetry,_0x44c763[_0x4c5119(0x2d5)],()=>configGet(_0x1c92d4[_0x4c5119(0x207)],_0x1c92d4['key']));})['command'](_0x44c763[_0x15a457(0x1d7)],![],_0x4ef732=>{const _0x3f4d92=_0x15a457;return _0x4ef732['positional'](_0xe84a32[_0x3f4d92(0x22c)],{'type':_0x3f4d92(0x252),'description':_0x3f4d92(0x24b),'demandOption':!![]});},async _0x2b9c1d=>{const _0x2f4f89=_0x15a457;_0x44c763[_0x2f4f89(0x266)](warnRenamed,_0x44c763[_0x2f4f89(0x273)],_0x2f4f89(0x1db)),await _0x44c763['nvhzG'](withTelemetry,_0x44c763['tJfVN'],()=>configList(_0x2b9c1d[_0x2f4f89(0x207)]));})['command']('unset\x20<env>\x20<key>',![],_0x5d6b28=>{const _0x16e5eb=_0x15a457;return _0x5d6b28[_0x16e5eb(0x39c)]('env',{'type':'string','description':_0x44c763['IJMba'],'demandOption':!![]})[_0x16e5eb(0x39c)]('key',{'type':'string','description':_0x44c763['DoWzj'],'demandOption':!![]});},async _0x28cf85=>{const _0x493180=_0x15a457;_0x44c763['gQzep'](warnRenamed,_0x44c763[_0x493180(0x222)],_0x493180(0x389)),await withTelemetry(_0x44c763['BHrad'],()=>configUnset(_0x28cf85['env'],_0x28cf85['key']));})[_0x15a457(0x26b)](0x1,_0x44c763['jERyO']);})[_0x218e88(0x371)](_0x44c763['KNXjI'],![],_0x4fc51d=>{const _0x4b6abb=_0x218e88,_0x35efee={'iYnmi':function(_0x43da37,_0x3dbf39,_0x3b0012){return _0x43da37(_0x3dbf39,_0x3b0012);},'zqsNt':_0x44c763['VjoIw']};return _0x4fc51d['command']('ls',![],()=>{},async()=>{const _0x2544ae=_0x3fce;warnRenamed(_0x44c763['ymsja'],_0x44c763['NJteI']),await _0x44c763['PrCKD'](withTelemetry,_0x2544ae(0x2e2),()=>envList());})['command'](_0x4b6abb(0x2bc),![],_0xa42e9=>{return _0xa42e9['positional']('env-name',{'type':_0x44c763['DrxVS'],'description':_0x44c763['XPgnH'],'demandOption':!![]});},async _0x3541a6=>{const _0x478425=_0x4b6abb;_0x35efee[_0x478425(0x2e5)](warnRenamed,_0x478425(0x2f8),_0x35efee['zqsNt']),await withTelemetry('env\x20update',_0x54c0fd=>updateEnv(_0x3541a6['env-name'],_0x54c0fd));})[_0x4b6abb(0x26b)](0x1,_0x44c763[_0x4b6abb(0x28e)]);})[_0x218e88(0x371)]('feature',![],_0x92e1a5=>{const _0xf1efc7=_0x218e88,_0x11314a={'iDhJy':_0xf1efc7(0x252),'LhFGl':'checklist','tKcyI':'array','FgvsM':_0x44c763[_0xf1efc7(0x39d)],'NsgEf':function(_0xad24c7,_0x2150a2,_0x3be912){return _0xad24c7(_0x2150a2,_0x3be912);},'KPYgR':'ranger\x20create','AWxmc':function(_0x22549e,_0x645ca1,_0x54efd8,_0x440f0f){return _0x44c763['rnlUH'](_0x22549e,_0x645ca1,_0x54efd8,_0x440f0f);},'hbOcZ':_0x44c763['ZyxBb'],'HepIm':_0x44c763[_0xf1efc7(0x249)],'bVPPA':_0xf1efc7(0x23e),'GPvJo':_0x44c763['wYMAj'],'HZyaB':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','YLdiA':_0x44c763[_0xf1efc7(0x313)],'HqRes':_0xf1efc7(0x326),'nxyMT':'Include\x20soft-deleted\x20feature\x20reviews','HLFHL':function(_0x13cd6d,_0x14b168,_0x1086a4){return _0x13cd6d(_0x14b168,_0x1086a4);},'yjYoJ':_0xf1efc7(0x349),'KrYiv':_0x44c763[_0xf1efc7(0x36c)],'iZGlL':_0x44c763[_0xf1efc7(0x27d)],'OlIBB':_0x44c763[_0xf1efc7(0x2d2)],'OWcOO':_0x44c763[_0xf1efc7(0x30e)],'osaZC':_0x44c763['HEjkC'],'LbfiH':_0xf1efc7(0x27a),'vEhbC':function(_0x498126,_0x449be9,_0x4862c7){const _0x42fa0a=_0xf1efc7;return _0x44c763[_0x42fa0a(0x2f5)](_0x498126,_0x449be9,_0x4862c7);},'nVGAq':'feature\x20add-checklist-item','cCXxR':_0x44c763[_0xf1efc7(0x24c)],'uFEjR':_0x44c763['mCqXM']};return _0x92e1a5[_0xf1efc7(0x371)](_0x44c763['TiTNG'],![],_0x195131=>{const _0x4f578c=_0xf1efc7;return _0x195131[_0x4f578c(0x39c)]('name',{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})[_0x4f578c(0x363)](_0x4f578c(0x375),{'type':_0x11314a['iDhJy'],'alias':'d','description':_0x4f578c(0x1fa)})['option'](_0x11314a['LhFGl'],{'type':_0x11314a[_0x4f578c(0x1d1)],'alias':'c','description':_0x11314a['FgvsM']})['option'](_0x4f578c(0x213),{'type':_0x11314a['tKcyI'],'hidden':!![]});},async _0x27ee2f=>{const _0x23d193=_0xf1efc7;_0x11314a[_0x23d193(0x362)](warnRenamed,'ranger\x20feature\x20create',_0x11314a[_0x23d193(0x39b)]),_0x11314a['AWxmc'](warnFlagRenamed,'ranger\x20create',_0x23d193(0x297),'--scenario');const _0x374308=_0x27ee2f['scenario']||_0x27ee2f[_0x23d193(0x2a2)];await _0x11314a['NsgEf'](withTelemetry,_0x11314a['hbOcZ'],()=>featureCreate(_0x27ee2f['name'],{'description':_0x27ee2f['description'],'scenarios':_0x374308}));})['command'](_0x44c763['eHQnC'],![],_0x52f7e8=>{const _0x3d6a15=_0xf1efc7;return _0x52f7e8['option'](_0x11314a[_0x3d6a15(0x361)],{'type':'boolean','description':_0x11314a[_0x3d6a15(0x294)]})[_0x3d6a15(0x363)](_0x11314a[_0x3d6a15(0x3a0)],{'type':'number','alias':'l','description':_0x11314a[_0x3d6a15(0x263)],'default':0xa})['option'](_0x11314a['YLdiA'],{'type':'number','alias':'o','description':_0x3d6a15(0x338),'default':0x0})['option'](_0x11314a[_0x3d6a15(0x32a)],{'type':_0x3d6a15(0x312),'alias':'d','description':_0x11314a[_0x3d6a15(0x26d)],'default':![]});},async _0x5d6d42=>{const _0x317113=_0xf1efc7;_0x11314a['HLFHL'](warnRenamed,_0x11314a['yjYoJ'],_0x11314a[_0x317113(0x1fd)]),await withTelemetry('feature\x20list',()=>featureList({'currentBranch':_0x5d6d42[_0x317113(0x370)],'limit':_0x5d6d42['limit'],'offset':_0x5d6d42[_0x317113(0x264)],'includeDeleted':_0x5d6d42[_0x317113(0x326)]}));})['command']('show\x20[id]',![],_0x27f0c0=>{const _0x312a02=_0xf1efc7;return _0x27f0c0[_0x312a02(0x39c)]('id',{'type':_0x312a02(0x252),'description':'Feature\x20review\x20ID'});},async _0x5301ca=>{const _0x5bb75d=_0xf1efc7;_0x11314a[_0x5bb75d(0x38e)](warnRenamed,'ranger\x20feature\x20show',_0x5bb75d(0x376)),await withTelemetry(_0x11314a[_0x5bb75d(0x32e)],()=>featureShow(_0x5301ca['id']));})[_0xf1efc7(0x371)](_0x44c763['XclvR'],![],_0x5c63d0=>{const _0x54934f=_0xf1efc7;return _0x5c63d0['positional']('id',{'type':_0x44c763[_0x54934f(0x22a)],'description':_0x54934f(0x352)});},async _0x17db13=>{const _0x2e7328=_0xf1efc7;_0x44c763['EcqEG'](warnRenamed,_0x2e7328(0x31a),_0x44c763[_0x2e7328(0x265)]),await _0x44c763[_0x2e7328(0x2a0)](withTelemetry,_0x2e7328(0x34d),()=>featureResume(_0x17db13['id']));})[_0xf1efc7(0x371)](_0x44c763[_0xf1efc7(0x2a7)],![],_0x52f45d=>{const _0x50db53=_0xf1efc7;return _0x52f45d[_0x50db53(0x39c)](_0x11314a['OlIBB'],{'type':_0x11314a[_0x50db53(0x243)],'description':_0x11314a[_0x50db53(0x33f)],'demandOption':!![]})['option']('id',{'type':'string','description':_0x11314a[_0x50db53(0x214)]});},async _0x3be0ca=>{const _0x1a326a=_0xf1efc7;warnRenamed(_0x1a326a(0x225),_0x11314a[_0x1a326a(0x224)]),await _0x11314a[_0x1a326a(0x259)](withTelemetry,_0x11314a['nVGAq'],()=>featureAddScenario(_0x3be0ca[_0x1a326a(0x375)],_0x3be0ca['id']));})['command']('get-feedback\x20[id]',![],_0x246a2f=>{const _0x30bcd0=_0xf1efc7;return _0x246a2f['positional']('id',{'type':'string','description':_0x44c763[_0x30bcd0(0x20d)]});},async _0x1fb5b9=>{const _0x45bdbd=_0xf1efc7;warnRenamed(_0x11314a[_0x45bdbd(0x369)],_0x11314a['uFEjR']),await _0x11314a['NsgEf'](withTelemetry,_0x45bdbd(0x1f1),()=>featureGetReview(_0x1fb5b9['id']));})[_0xf1efc7(0x371)](_0x44c763[_0xf1efc7(0x281)],![],_0x5d5373=>{const _0x504d00=_0xf1efc7;return _0x5d5373['positional']('id',{'type':_0x504d00(0x252),'description':_0x44c763[_0x504d00(0x37e)]});},async _0x41c651=>{const _0x4a0182=_0xf1efc7;warnRenamed(_0x44c763['uAwVx'],_0x44c763[_0x4a0182(0x279)]),await withTelemetry(_0x44c763['CGUWc'],()=>featureDelete(_0x41c651['id']));})['command'](_0x44c763['NhFXH'],![],_0x54e40f=>{const _0x2393c7=_0xf1efc7;return _0x54e40f[_0x2393c7(0x39c)]('id',{'type':'string','description':_0x44c763['yWFCP'],'demandOption':!![]});},async _0x53b1d7=>{const _0x504c3c=_0xf1efc7;_0x44c763[_0x504c3c(0x27b)](warnRenamed,_0x44c763[_0x504c3c(0x36d)],'ranger\x20restore'),await _0x44c763[_0x504c3c(0x24f)](withTelemetry,_0x44c763[_0x504c3c(0x38a)],()=>featureRestore(_0x53b1d7['id']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})[_0x218e88(0x371)](_0x218e88(0x1ef),![],_0x3ea4c1=>{const _0x25a871=_0x218e88,_0xa089c4={'vzDNA':'session-id','MMlpz':_0x25a871(0x399),'pVQQh':function(_0x2908ee,_0x18769c,_0x230a6b){return _0x2908ee(_0x18769c,_0x230a6b);},'ilpId':_0x25a871(0x2cf),'vesbx':_0x25a871(0x38f)};return _0x3ea4c1[_0x25a871(0x371)](_0x25a871(0x234),_0x25a871(0x36a),_0xe0b221=>{const _0x20cca6=_0x25a871;return _0xe0b221[_0x20cca6(0x363)](_0xa089c4['vzDNA'],{'type':'string','description':_0xa089c4['MMlpz']});},async _0x327401=>{const _0x4697ef=_0x25a871;await _0xa089c4[_0x4697ef(0x383)](withTelemetry,_0xa089c4[_0x4697ef(0x2fa)],()=>hook('enable',_0x327401['session-id']));})[_0x25a871(0x371)](_0x44c763['zSxDn'],_0x25a871(0x35a),_0x5251eb=>{return _0x5251eb['option'](_0x44c763['UJACe'],{'type':_0x44c763['DrxVS'],'description':_0x44c763['cWJmz']});},async _0x25b602=>{await _0xa089c4['pVQQh'](withTelemetry,_0xa089c4['vesbx'],()=>hook('disable',_0x25b602['session-id']));})[_0x25a871(0x363)](_0x44c763[_0x25a871(0x282)],{'type':'string','description':_0x44c763['ZpVMW']})['option'](_0x44c763[_0x25a871(0x257)],{'type':_0x25a871(0x252),'description':_0x25a871(0x399)});},async _0x383584=>{const _0x467113=_0x218e88;_0x383584[_0x467113(0x384)]&&await hook(_0x383584['name'],_0x383584[_0x467113(0x2e7)]);})['demandCommand'](0x1,_0x218e88(0x24d))['strictCommands']()['fail'](async(_0x15ba53,_0x17443c,_0x2d33fc)=>{const _0x5eb2c8=_0x218e88,_0x1e70ad=_0x44c763['NuSJB'](sanitizeArgs,process['argv'][_0x5eb2c8(0x1c8)](0x2)),_0x2ae324=getErrorType(_0x15ba53,_0x17443c);if(_0x15ba53&&_0x15ba53['includes'](_0x44c763[_0x5eb2c8(0x321)])){const _0x3fdded=process['argv'][0x2];console['error']('\x0aUnknown\x20command:\x20'+_0x3fdded),console['error']('Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a');}else{if(_0x15ba53)console[_0x5eb2c8(0x325)]('\x0a'+_0x15ba53+'\x0a');else _0x17443c&&console[_0x5eb2c8(0x325)](_0x5eb2c8(0x33e)+_0x17443c[_0x5eb2c8(0x219)]+'\x0a');}await logDesirePath({'rawCommand':_0x1e70ad,'errorMessage':_0x15ba53||_0x17443c?.['message'],'errorType':_0x2ae324});const _0x49412d=_0x44c763[_0x5eb2c8(0x269)](getCurrentCollector);_0x49412d&&await _0x49412d['trackCommandError'](_0x17443c||new Error(_0x44c763['vaYiI'](_0x15ba53,'Unknown\x20error'))),process['exit'](0x1);})[_0x218e88(0x1e7)](_0x44c763['HMxNh'](_0x44c763['XKHVI'](_0x44c763['hAOgQ'],_0x44c763[_0x218e88(0x255)]),'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)'))['help']()[_0x218e88(0x33d)]('help','h');}process[_0xbda934(0x207)]['NODE_ENV']!==_0xbda934(0x38b)&&(shouldShowLegacyWarning(process[_0xbda934(0x318)])&&showLegacyDeprecationWarning(),buildParser()[_0xbda934(0x354)]());
|