@ranger-testing/ranger-cli 3.0.1-alpha.aab0a1c-26 → 3.0.1-alpha.ffffb5b-28
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/playwrightCli.js +1 -1
- package/build/commands/utils/profileMessages.js +1 -1
- package/build/commands/utils/profileSetupBanner.js +1 -1
- package/build/commands/utils/projectsConfig.js +1 -1
- package/build/commands/utils/rangerConfig.js +1 -1
- package/build/commands/utils/rangerRoot.js +1 -1
- package/build/commands/utils/resolveProfileContext.js +1 -1
- package/build/commands/utils/resolveProfileUrl.js +1 -1
- package/build/commands/utils/retry.js +1 -1
- package/build/commands/utils/sessionCache.js +1 -1
- package/build/commands/utils/settings.js +1 -1
- package/build/commands/utils/skillContent.js +1 -1
- package/build/commands/utils/skills.js +1 -1
- package/build/commands/utils/stitchWebmFiles.js +1 -1
- package/build/commands/utils/telemetry.js +1 -1
- package/build/commands/utils/tokenRefresh.js +1 -1
- package/build/commands/utils/traceSnapshotMapper.js +1 -1
- package/build/commands/utils/userApi.js +1 -1
- package/build/commands/utils/version.js +1 -1
- package/build/commands/verifyFeature.js +1 -1
- package/build/commands/verifyFeatureCli.js +1 -1
- package/build/commands/verifyFeatureNovaCli.js +1 -1
- package/package.json +2 -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 _0x463399=_0x2d80;(function(_0x26e74b,_0x39e15a){const _0x176c76=_0x2d80,_0x3b2833=_0x26e74b();while(!![]){try{const _0x53c073=parseInt(_0x176c76(0x2f0))/0x1+parseInt(_0x176c76(0x1f7))/0x2*(-parseInt(_0x176c76(0x2d8))/0x3)+parseInt(_0x176c76(0x31c))/0x4*(-parseInt(_0x176c76(0x19e))/0x5)+-parseInt(_0x176c76(0x26b))/0x6+-parseInt(_0x176c76(0x2d5))/0x7*(-parseInt(_0x176c76(0x215))/0x8)+-parseInt(_0x176c76(0x2fb))/0x9+parseInt(_0x176c76(0x2d0))/0xa;if(_0x53c073===_0x39e15a)break;else _0x3b2833['push'](_0x3b2833['shift']());}catch(_0x2c90ed){_0x3b2833['push'](_0x3b2833['shift']());}}}(_0x1cbb,0xec67a));import _0x3aa8be from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x4be1a5=_0x2d80,_0xc5cb4b={'QKBQY':function(_0x5e24ec,_0x1254ba){return _0x5e24ec!==_0x1254ba;},'rWzCR':function(_0x46f9d9,_0x3f6366){return _0x46f9d9(_0x3f6366);},'amGxh':function(_0x1c3e83,_0x42e86a,_0x4b1a03){return _0x1c3e83(_0x42e86a,_0x4b1a03);},'OZliA':'.ranger','ywMTR':function(_0x37cb47,_0x39dfa7){return _0x37cb47(_0x39dfa7);}};let _0x33bb11=process[_0x4be1a5(0x301)]();const _0x3e264d=parse(_0x33bb11)['root'];while(_0xc5cb4b[_0x4be1a5(0x2e8)](_0x33bb11,_0x3e264d)){if(_0xc5cb4b['rWzCR'](existsSync,_0xc5cb4b[_0x4be1a5(0x2fd)](join,_0x33bb11,_0xc5cb4b[_0x4be1a5(0x227)]))||_0xc5cb4b['ywMTR'](existsSync,_0xc5cb4b['amGxh'](join,_0x33bb11,'.env')))return _0x33bb11;_0x33bb11=dirname(_0x33bb11);}return process['cwd']();}_0x3aa8be[_0x463399(0x285)]({'path':join(findProjectRoot(),'.env')});import _0x50a9a2 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on'](_0x463399(0x2f3),async _0x6e3b2d=>{const _0x775079={'nbOnp':function(_0x3136c2){return _0x3136c2();}},_0x2c1d70=_0x775079['nbOnp'](getCurrentCollector);_0x2c1d70&&await _0x2c1d70['trackCommandError'](_0x6e3b2d),process['exitCode']=0x1;});const rawArgs=process['argv']['slice'](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP=_0x463399(0x317),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201';function _0x2d80(_0x235d4a,_0x33dfe8){_0x235d4a=_0x235d4a-0x192;const _0x1cbb0d=_0x1cbb();let _0x2d80cc=_0x1cbb0d[_0x235d4a];return _0x2d80cc;}function warnRenamed(_0x56aa1b,_0x5dbe73){const _0x558a61=_0x463399;console['error']('\x0a'+_0x56aa1b+_0x558a61(0x1ac)+_0x5dbe73+'\x0a');}function argUsed(_0x1912ab){const _0x349d77=_0x463399;return rawArgs[_0x349d77(0x2a9)](_0x58000b=>_0x58000b===_0x1912ab||_0x58000b['startsWith'](_0x1912ab+'='));}function warnFlagRenamed(_0x467f9b,_0x425e3c,_0x316aae){const _0x203c80=_0x463399,_0x1dd21f={'EfLJl':function(_0x582c95,_0x6632d5){return _0x582c95(_0x6632d5);},'wbQyX':function(_0x15ee8c,_0x29b216,_0x2cde5e){return _0x15ee8c(_0x29b216,_0x2cde5e);}};_0x1dd21f[_0x203c80(0x32d)](argUsed,_0x425e3c)&&_0x1dd21f[_0x203c80(0x277)](warnRenamed,_0x467f9b+'\x20'+_0x425e3c,_0x467f9b+'\x20'+_0x316aae);}async function runGoCommand(_0x598251,_0xa04c25=![]){const _0x50ecb8=_0x463399,_0x37081d={'zUTHA':function(_0x256ac4,_0x5df499){return _0x256ac4+_0x5df499;},'RAluL':'ranger\x20verify-feature','XMexw':_0x50ecb8(0x251),'GLZZo':_0x50ecb8(0x1b7),'ORAxe':_0x50ecb8(0x1ad),'fqjto':function(_0x106b63,_0x1f2152,_0x1ed29c,_0x253982){return _0x106b63(_0x1f2152,_0x1ed29c,_0x253982);},'aaQzq':'--task','pqgTL':'--notes','jXNJJ':function(_0x1ae71f,_0xedd4a,_0x322c68,_0x26f7ac){return _0x1ae71f(_0xedd4a,_0x322c68,_0x26f7ac);},'RleWw':function(_0x24ee16){return _0x24ee16();},'cSquX':function(_0x4564f9,_0x31bab4){return _0x4564f9(_0x31bab4);},'HsupL':_0x50ecb8(0x300),'EniDy':function(_0x311e87,_0x5a321a){return _0x311e87===_0x5a321a;},'omNoW':_0x50ecb8(0x29f),'DGbjV':'\x20FAILED'};_0xa04c25&&warnRenamed(_0x37081d['RAluL'],_0x37081d['XMexw']);warnFlagRenamed(_0x37081d[_0x50ecb8(0x1e9)],_0x37081d['GLZZo'],_0x37081d[_0x50ecb8(0x23b)]),_0x37081d[_0x50ecb8(0x25c)](warnFlagRenamed,_0x37081d[_0x50ecb8(0x1e9)],_0x37081d['aaQzq'],_0x37081d[_0x50ecb8(0x309)]),_0x37081d[_0x50ecb8(0x2db)](warnFlagRenamed,'ranger\x20go',_0x50ecb8(0x24f),'--scenario');const _0x148747=await loadRangerConfig(),_0x535eb8=_0x37081d[_0x50ecb8(0x20c)](isByokEnabled),_0x2c506a=_0x598251['model'],_0x17990e=_0x148747['model'],_0x5344af=await _0x37081d['cSquX'](verifyFeature,{'featureId':_0x598251['feature'],'profile':_0x598251['profile']??_0x598251['env']??process[_0x50ecb8(0x1b9)]['RANGER_PROFILE'],'notes':_0x598251[_0x50ecb8(0x293)]??_0x598251['task'],'scenario':_0x598251[_0x50ecb8(0x194)]??_0x598251['item'],'startPath':_0x598251[_0x37081d[_0x50ecb8(0x29d)]],'baseUrl':_0x598251['base-url'],'debugOutcome':_0x598251['debug-outcome'],'debugAddressComments':_0x598251[_0x50ecb8(0x346)],'headed':_0x598251['headed'],'byokEnabled':_0x535eb8,'flagVerifyModel':_0x2c506a,'configVerifyModel':_0x17990e});console['log']('\x0a'+'='['repeat'](0x3c)),console[_0x50ecb8(0x210)](_0x37081d['EniDy'](_0x5344af[_0x50ecb8(0x19a)],'verified')?'\x20VERIFIED':_0x5344af[_0x50ecb8(0x19a)]===_0x50ecb8(0x204)?_0x37081d[_0x50ecb8(0x1a0)]:_0x37081d['EniDy'](_0x5344af[_0x50ecb8(0x19a)],_0x50ecb8(0x32f))?'\x20PARTIAL':_0x37081d[_0x50ecb8(0x2ea)](_0x5344af['evaluation'],_0x50ecb8(0x201))?'\x20BLOCKED':_0x37081d['DGbjV']),console['log']('='[_0x50ecb8(0x1cb)](0x3c)),console['log'](_0x50ecb8(0x1c0)+_0x5344af[_0x50ecb8(0x21c)]),console['log'](_0x50ecb8(0x1eb)+_0x5344af['evaluation']),console[_0x50ecb8(0x210)](_0x50ecb8(0x342)+_0x5344af[_0x50ecb8(0x1ae)]),_0x5344af[_0x50ecb8(0x33d)]?.['length']&&(console['log'](_0x50ecb8(0x2a5)),_0x5344af[_0x50ecb8(0x33d)][_0x50ecb8(0x2c5)]((_0x4c1607,_0x2fb2fa)=>{const _0x449063=_0x50ecb8;console[_0x449063(0x210)]('\x0a'+_0x37081d[_0x449063(0x217)](_0x2fb2fa,0x1)+_0x449063(0x1e6)+_0x4c1607[_0x449063(0x1ef)]+']\x20'+_0x4c1607['description']);})),process[_0x50ecb8(0x20f)](_0x37081d[_0x50ecb8(0x2ea)](_0x5344af['evaluation'],_0x50ecb8(0x256))?0x0:0x1);}export function buildParser(_0x322694){const _0x488281=_0x463399,_0x3a6e96={'tnpBG':'Feature\x20review\x20name','mYqXX':'description','bvADJ':'Feature\x20review\x20description','WtDHb':_0x488281(0x194),'YLbuj':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','aqttb':_0x488281(0x302),'XDsKS':'Example:\x20ranger\x20create\x20my-feature','qIUgV':function(_0xe02b6e,_0x34af16,_0x3ce35d,_0x4b97ea){return _0xe02b6e(_0x34af16,_0x3ce35d,_0x4b97ea);},'GAoHb':function(_0x16a67d,_0x2c1c36,_0x529f87){return _0x16a67d(_0x2c1c36,_0x529f87);},'gzGFs':'create','MOKcB':'current-branch','cYTIP':'boolean','Ycuoa':_0x488281(0x266),'bzPFH':'limit','LXiXH':'offset','HGcEi':'Number\x20of\x20feature\x20reviews\x20to\x20skip','hDMDy':'include-deleted','hexRl':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','bMBlk':_0x488281(0x1f5),'jXcMz':_0x488281(0x2c7),'xaRrg':_0x488281(0x263),'FFyDp':function(_0x1f2217,_0x4e5e69,_0x2a7a00){return _0x1f2217(_0x4e5e69,_0x2a7a00);},'GrcTD':_0x488281(0x2de),'pxioj':'number','CYzTA':_0x488281(0x353),'YeAIp':'edit-scenario','Wxpln':_0x488281(0x295),'qWmPr':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','HOCTL':_0x488281(0x272),'AdMxD':_0x488281(0x2b2),'yXwUx':'delete','mQhuB':'Feature\x20review\x20ID\x20to\x20restore','fWxkm':'restore','iNnhf':_0x488281(0x1e5),'olzzD':'token','KzvAO':_0x488281(0x209),'pguyC':'setup:login','eGAvh':_0x488281(0x212),'lXkFU':'project','gfXDL':'Install\x20scope\x20for\x20plugin\x20and\x20skills','vqeiJ':'skip-auth','FCTaC':_0x488281(0x1c9),'FlorS':_0x488281(0x29b),'Zzonr':function(_0x30928c){return _0x30928c();},'ZEuxg':function(_0x17a0e8,_0x45672b){return _0x17a0e8(_0x45672b);},'ATWdq':function(_0x524533,_0x26c986){return _0x524533(_0x26c986);},'gjbpt':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','rELum':'Skip\x20browser\x20authentication','vFshB':_0x488281(0x1a7),'PdfJY':_0x488281(0x2e2),'kFafN':'all','vgDRm':'skills','RORZy':_0x488281(0x1aa),'AkerK':_0x488281(0x294),'oPFlk':_0x488281(0x274),'AfyZI':_0x488281(0x2df),'yeXce':_0x488281(0x2c4),'ACxlp':_0x488281(0x1f3),'ECEJs':_0x488281(0x237),'aMBuI':_0x488281(0x347),'fnpyV':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','PQQhy':'API\x20token','tqyyg':_0x488281(0x2e3),'qHPgs':_0x488281(0x23f),'tDBXs':_0x488281(0x25a),'LnuuO':_0x488281(0x339),'NHWYP':_0x488281(0x205),'KbBFl':_0x488281(0x2e7),'nRtwy':'opencode','llhoK':_0x488281(0x30e),'LaBrs':_0x488281(0x322),'nGzNi':_0x488281(0x234),'vkLvo':_0x488281(0x279),'JTXEe':'Name\x20of\x20the\x20profile\x20to\x20update','Itjms':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','ATsEg':function(_0x33a961,_0x3b8268,_0x4fc6ee){return _0x33a961(_0x3b8268,_0x4fc6ee);},'KKsmx':'profile\x20config\x20set','LGBfe':'profile\x20config\x20list','HDCDF':'set\x20<profile>\x20<key>\x20<value>','WJqBw':'get\x20<profile>\x20<key>','zyLNR':_0x488281(0x2cb),'wbVmn':'List\x20all\x20config\x20for\x20a\x20profile','JiHdT':_0x488281(0x23a),'xZSLn':'Remove\x20a\x20config\x20value','ntDRt':'reset\x20<profile>','fRViv':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','FApQt':_0x488281(0x2f5),'LbCed':'cdp-endpoint','stDhl':_0x488281(0x354),'QdOCk':'safe-mode','kFLzo':_0x488281(0x1bd),'ubfhs':'user','nJscT':function(_0x442cbe,_0x177ef8,_0x2e1bd9,_0x523ed1){return _0x442cbe(_0x177ef8,_0x2e1bd9,_0x523ed1);},'IlLvG':function(_0x74712c,_0x329691){return _0x74712c(_0x329691);},'RfQsA':'No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','ezuRz':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','QUQwT':'profile\x20migrate','czjJM':_0x488281(0x2c1),'kxuFe':'Profile\x20name','gDWbx':_0x488281(0x2bd),'TiMac':_0x488281(0x2f1),'EtBQc':_0x488281(0x1bb),'LzWqj':_0x488281(0x2f8),'ZjzLF':_0x488281(0x1b8),'vvGdn':_0x488281(0x22a),'ujuUp':_0x488281(0x20d),'LAlTU':'login\x20<name>','eWVsT':'config','amHNg':_0x488281(0x269),'dqmSd':_0x488281(0x34a),'OiGFJ':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','Jnden':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','XrBUq':'start-path','weQEG':_0x488281(0x2e4),'skwPS':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','khDDp':'model','rAorf':_0x488281(0x26d),'iQZTT':_0x488281(0x355),'nkojd':_0x488281(0x28d),'xhLgP':'partial','LwKzn':_0x488281(0x201),'LzXwu':_0x488281(0x204),'Qvimb':'debug-address-comments','nCRyo':_0x488281(0x233),'vpbmn':'skip-chromium','sdEKM':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','lXOOg':_0x488281(0x2c9),'aFfxP':_0x488281(0x2f4),'dCnhb':_0x488281(0x359),'YRFSZ':_0x488281(0x276),'DZCbT':function(_0x4dbd22,_0x4b37c2,_0x5330b0){return _0x4dbd22(_0x4b37c2,_0x5330b0);},'DpWZk':_0x488281(0x1b4),'bTgBo':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','lAFKZ':'notes','kfqtU':_0x488281(0x2af),'ucYSv':'add\x20env','CMnZD':'env-name','SBKYM':_0x488281(0x2f2),'AIywW':_0x488281(0x1e1),'eNizS':_0x488281(0x2f7),'kzCVL':_0x488281(0x2ae),'rhExF':'Config\x20value','LJyRs':_0x488281(0x297),'iThmI':'ranger\x20config\x20unset','NdBzz':function(_0x1d1b74,_0x26de6e,_0x15fed9){return _0x1d1b74(_0x26de6e,_0x15fed9);},'HyVll':_0x488281(0x30c),'jDOnr':function(_0x5bc2b0,_0x1a61e5,_0x2feb62){return _0x5bc2b0(_0x1a61e5,_0x2feb62);},'ynPXD':'Config\x20key\x20to\x20remove','KcLMb':_0x488281(0x195),'cuSry':function(_0x451c0e,_0x2d0588,_0x1a1edc){return _0x451c0e(_0x2d0588,_0x1a1edc);},'JbSPW':_0x488281(0x254),'NAgWJ':function(_0x1f7751,_0x5ca37e,_0x42df3b){return _0x1f7751(_0x5ca37e,_0x42df3b);},'ytOLG':'Name\x20of\x20the\x20environment\x20to\x20update','VihrV':'update\x20<env-name>','jKBLf':_0x488281(0x1d8),'KypCM':'array','JOmqh':_0x488281(0x1bf),'XKKXj':'--checklist','BysOb':_0x488281(0x1fc),'eLzRb':function(_0x1f52f9,_0x57e955,_0xec9b8d){return _0x1f52f9(_0x57e955,_0xec9b8d);},'WEDIs':'feature\x20create','DxNUZ':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','GysSw':function(_0x255e62,_0x29d041,_0xb8d729){return _0x255e62(_0x29d041,_0xb8d729);},'xhqeJ':_0x488281(0x197),'wKYmP':_0x488281(0x2b3),'GSvUJ':_0x488281(0x26c),'FTPkK':function(_0x65ab00,_0x4be416,_0xbbdf50){return _0x65ab00(_0x4be416,_0xbbdf50);},'hfTrv':_0x488281(0x318),'itDUh':function(_0x3ad9bf,_0x4da5ab,_0x2257c7){return _0x3ad9bf(_0x4da5ab,_0x2257c7);},'SylIn':'ranger\x20feature\x20list','hUbDj':function(_0x4958c1,_0x3bee50,_0x269b39){return _0x4958c1(_0x3bee50,_0x269b39);},'THPzp':'ranger\x20get-review','YHazy':_0x488281(0x1be),'lfUbf':'ranger\x20delete','ucVPX':_0x488281(0x1bc),'UpDnh':'resume\x20[id]','rtoyM':_0x488281(0x1dc),'GHnUo':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','ioAWA':'session-id','yCMtv':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','puoRT':_0x488281(0x1db),'jnKvV':_0x488281(0x31e),'jtKqB':'disable','lYaof':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','eubmF':'Unknown\x20command','unnYk':_0x488281(0x24a),'KwOkb':function(_0x3121da){return _0x3121da();},'eUYvw':function(_0x13171b,_0x6f4f3d){return _0x13171b||_0x6f4f3d;},'jCscu':_0x488281(0x308),'ylkdQ':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','KcTnJ':'show\x20[id]','BUEKI':'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','reNXZ':_0x488281(0x2b4),'CXtrv':_0x488281(0x241),'IfJQU':_0x488281(0x1f0),'caMNB':'delete\x20[id]','TjDgv':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','CVLvl':'Restore\x20a\x20soft-deleted\x20feature\x20review','ryXef':'setup\x20[tokenOrSubcommand]','QVtLb':'setup-ci\x20<token>','lsdcV':'login','PxZtG':'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','HaHAL':_0x488281(0x29c),'eHAMt':'print-access-token','wiuKC':'Print\x20the\x20current\x20CLI\x20access\x20token','DWCUp':_0x488281(0x226),'sRAFA':_0x488281(0x358),'TQuBG':'You\x20must\x20specify\x20a\x20command','lXgEs':function(_0x51dc4f,_0x4bd963){return _0x51dc4f+_0x4bd963;},'KoIhq':_0x488281(0x31a)};return _0x50a9a2(_0x322694??process[_0x488281(0x280)]['slice'](0x2))[_0x488281(0x230)]('ranger')['usage'](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command']('create\x20<name>',_0x3a6e96[_0x488281(0x31b)],_0x41c5cf=>{const _0x2d8180=_0x488281;return _0x41c5cf['positional']('name',{'type':'string','description':_0x3a6e96[_0x2d8180(0x1e8)],'demandOption':!![]})['option'](_0x3a6e96['mYqXX'],{'type':'string','alias':'d','description':_0x3a6e96['bvADJ']})['option'](_0x3a6e96[_0x2d8180(0x1af)],{'type':_0x2d8180(0x2ff),'alias':'c','description':_0x3a6e96[_0x2d8180(0x2fa)]})['option']('checklist',{'type':_0x2d8180(0x2ff),'hidden':!![]});},async _0x9c61=>{const _0x377517=_0x488281;if(!_0x9c61[_0x377517(0x1d8)]){console['error'](_0x3a6e96[_0x377517(0x2fc)]+_0x3a6e96['XDsKS']),process[_0x377517(0x20f)](0x1);return;}_0x3a6e96['qIUgV'](warnFlagRenamed,'ranger\x20create',_0x377517(0x23d),_0x377517(0x1fc));const _0x36048b=_0x9c61['scenario']||_0x9c61[_0x377517(0x2b9)];await _0x3a6e96['GAoHb'](withTelemetry,_0x3a6e96['gzGFs'],()=>featureCreate(_0x9c61['name'],{'description':_0x9c61['description'],'scenarios':_0x36048b}));})[_0x488281(0x244)](_0x3a6e96[_0x488281(0x1a6)],'List\x20all\x20feature\x20reviews',_0x5c7179=>{const _0xcf45c3=_0x488281;return _0x5c7179[_0xcf45c3(0x312)](_0x3a6e96[_0xcf45c3(0x296)],{'type':_0x3a6e96[_0xcf45c3(0x2ce)],'description':_0x3a6e96['Ycuoa']})[_0xcf45c3(0x312)](_0x3a6e96[_0xcf45c3(0x21f)],{'type':_0xcf45c3(0x335),'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option'](_0x3a6e96[_0xcf45c3(0x329)],{'type':'number','alias':'o','description':_0x3a6e96['HGcEi'],'default':0x0})['option'](_0x3a6e96[_0xcf45c3(0x19f)],{'type':'boolean','alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x41f3c1=>{const _0x2fa0f3=_0x488281;await withTelemetry(_0x2fa0f3(0x1bc),()=>featureList({'currentBranch':_0x41f3c1['current-branch'],'limit':_0x41f3c1[_0x2fa0f3(0x307)],'offset':_0x41f3c1['offset'],'includeDeleted':_0x41f3c1[_0x2fa0f3(0x22d)]}));})['command'](_0x3a6e96['KcTnJ'],_0x488281(0x219),_0x41ba65=>{const _0x32ebb8=_0x488281;return _0x41ba65['positional']('id',{'type':'string','description':_0x32ebb8(0x350)});},async _0x49e54f=>{const _0x5293cc=_0x488281;await _0x3a6e96[_0x5293cc(0x1a9)](withTelemetry,_0x5293cc(0x22b),()=>featureShow(_0x49e54f['id']));})[_0x488281(0x244)](_0x3a6e96['UpDnh'],'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x11159e=>{const _0x312081=_0x488281;return _0x11159e[_0x312081(0x341)]('id',{'type':'string','description':_0x3a6e96[_0x312081(0x283)]});},async _0x513f9c=>{await withTelemetry(_0x3a6e96['bMBlk'],()=>featureResume(_0x513f9c['id']));})[_0x488281(0x244)](_0x488281(0x25b),_0x3a6e96['BUEKI'],_0x1fdbba=>{const _0x3f482b=_0x488281;return _0x1fdbba['positional']('description',{'type':_0x3f482b(0x2de),'description':_0x3a6e96['jXcMz'],'demandOption':!![]})[_0x3f482b(0x312)]('id',{'type':'string','description':_0x3a6e96['xaRrg']});},async _0x2c6670=>{const _0x36c638=_0x488281;await _0x3a6e96[_0x36c638(0x33b)](withTelemetry,'add-scenario',()=>featureAddScenario(_0x2c6670[_0x36c638(0x2ad)],_0x2c6670['id']));})['command'](_0x3a6e96['reNXZ'],_0x3a6e96['CXtrv'],_0x31d036=>{const _0x333d90=_0x488281;return _0x31d036['positional'](_0x3a6e96[_0x333d90(0x199)],{'type':_0x3a6e96[_0x333d90(0x33e)],'description':_0x333d90(0x192),'demandOption':!![]})['option']('scenario',{'type':_0x3a6e96['pxioj'],'description':_0x3a6e96['CYzTA'],'demandOption':!![]})['option']('id',{'type':'string','description':_0x3a6e96[_0x333d90(0x2a2)]});},async _0x520d72=>{const _0x389433=_0x488281;await withTelemetry(_0x3a6e96[_0x389433(0x1e2)],()=>featureEditScenario(_0x520d72['description'],{'id':_0x520d72['id'],'scenario':_0x520d72['scenario']}));})[_0x488281(0x244)](_0x3a6e96['IfJQU'],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x471995=>{const _0x185efd=_0x488281;return _0x471995[_0x185efd(0x341)]('id',{'type':'string','description':'Feature\x20review\x20ID'})[_0x185efd(0x312)](_0x3a6e96['Wxpln'],{'type':'array','description':_0x3a6e96['qWmPr']})['option'](_0x3a6e96[_0x185efd(0x1cf)],{'type':'boolean','description':_0x3a6e96['AdMxD'],'default':![]});},async _0xcebc8e=>{const _0x3b32b3=_0x488281,_0x13aa31=_0xcebc8e[_0x3b32b3(0x295)],_0x116e6e=_0x13aa31?_0x13aa31['map'](_0x94bdd9=>Number(_0x94bdd9)):undefined;await withTelemetry(_0x3b32b3(0x23c),()=>featureReportPrDescription(_0xcebc8e['id'],{'excludeScenarios':_0x116e6e,'json':_0xcebc8e['json']}));})[_0x488281(0x244)](_0x488281(0x1e0),_0x488281(0x2fe),_0x53437d=>{const _0x4e2b09=_0x488281;return _0x53437d[_0x4e2b09(0x341)]('id',{'type':'string','description':_0x3a6e96['xaRrg']});},async _0x25cefc=>{const _0x49bfe6=_0x488281;await withTelemetry(_0x49bfe6(0x319),()=>featureGetReview(_0x25cefc['id']));})['command'](_0x3a6e96[_0x488281(0x327)],_0x3a6e96[_0x488281(0x1dd)],_0x153444=>{const _0x1d918b=_0x488281;return _0x153444['positional']('id',{'type':_0x1d918b(0x2de),'description':'Feature\x20review\x20ID'});},async _0x5267ae=>{await withTelemetry(_0x3a6e96['yXwUx'],()=>featureDelete(_0x5267ae['id']));})['command']('restore\x20<id>',_0x3a6e96[_0x488281(0x273)],_0x9329b9=>{const _0x1dc421=_0x488281;return _0x9329b9[_0x1dc421(0x341)]('id',{'type':_0x1dc421(0x2de),'description':_0x3a6e96[_0x1dc421(0x1fa)],'demandOption':!![]});},async _0x2ec61c=>{const _0x3cf388=_0x488281;await withTelemetry(_0x3a6e96[_0x3cf388(0x2d2)],()=>featureRestore(_0x2ec61c['id']));})['command'](_0x3a6e96['ryXef'],_0x488281(0x2ed),_0x43e625=>{const _0x91afd=_0x488281,_0x2c08f2={'YYaIc':'Ranger\x20API\x20token','NeElD':_0x3a6e96[_0x91afd(0x2ce)],'kxYFI':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','vIgMJ':_0x3a6e96[_0x91afd(0x1c1)],'Tbfpi':_0x91afd(0x203),'XFlVM':_0x91afd(0x2f4),'UBarH':'scope','BjpVQ':'string','kHmHT':_0x91afd(0x2b7),'GEvab':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','paVOt':_0x3a6e96[_0x91afd(0x2ac)],'rqCWh':_0x3a6e96['FlorS'],'wodwn':function(_0x5a63a1){return _0x3a6e96['Zzonr'](_0x5a63a1);},'FRuyF':'Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','qKmbS':function(_0xebe145,_0x35308c){return _0x3a6e96['ZEuxg'](_0xebe145,_0x35308c);},'dvGqH':function(_0x4f96f3,_0x4bc517){const _0x5849cd=_0x91afd;return _0x3a6e96[_0x5849cd(0x306)](_0x4f96f3,_0x4bc517);},'QXJdA':_0x91afd(0x270),'ZXmlS':_0x3a6e96[_0x91afd(0x1f1)],'ngyOA':_0x3a6e96[_0x91afd(0x19c)],'LuVRT':function(_0x253ca4,_0x411c1e){return _0x253ca4!==_0x411c1e;},'sAGJa':function(_0x4cb8a9,_0x10d4b6){return _0x4cb8a9+_0x10d4b6;}};return _0x43e625[_0x91afd(0x1d3)]('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')['positional'](_0x3a6e96[_0x91afd(0x20b)],{'type':_0x3a6e96['GrcTD'],'description':_0x3a6e96['PdfJY']})['command'](_0x3a6e96['kFafN'],_0x91afd(0x1b5),_0x1520e2=>{const _0x3bd609=_0x91afd;return _0x1520e2[_0x3bd609(0x312)](_0x3bd609(0x1cd),{'type':'string','description':_0x2c08f2['YYaIc']})['option']('skip-chromium',{'type':_0x2c08f2[_0x3bd609(0x2a6)],'description':_0x2c08f2[_0x3bd609(0x1ce)],'default':![]})['option'](_0x2c08f2[_0x3bd609(0x290)],{'type':_0x3bd609(0x289),'description':_0x3bd609(0x2c9),'default':![]})['option'](_0x2c08f2[_0x3bd609(0x328)],{'type':_0x2c08f2['NeElD'],'description':_0x2c08f2['XFlVM'],'default':![]})['option'](_0x2c08f2[_0x3bd609(0x21b)],{'type':_0x2c08f2[_0x3bd609(0x29a)],'choices':[_0x3bd609(0x2c0)],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x2c08f2[_0x3bd609(0x31f)],{'type':_0x2c08f2[_0x3bd609(0x29a)],'description':_0x3bd609(0x275)})[_0x3bd609(0x312)](_0x3bd609(0x2c4),{'type':_0x2c08f2[_0x3bd609(0x2a6)],'description':_0x2c08f2['GEvab'],'default':![]})['option']('opencode',{'type':_0x3bd609(0x289),'description':_0x3bd609(0x237),'default':![]})[_0x3bd609(0x312)](_0x3bd609(0x347),{'type':_0x3bd609(0x289),'description':_0x2c08f2[_0x3bd609(0x338)],'default':![]})['option']('mcp-bootstrap',{'type':_0x2c08f2['NeElD'],'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','default':![]})['option'](_0x2c08f2['rqCWh'],{'type':_0x2c08f2['NeElD'],'description':_0x3bd609(0x19b),'default':![]});},async _0x1115ef=>{const _0xf0e2c6=_0x91afd;(_0x1115ef['mcp-bootstrap']||_0x1115ef[_0xf0e2c6(0x29b)])&&await withTelemetry(_0xf0e2c6(0x2e3),()=>mcpBootstrap()),await withTelemetry(_0x3a6e96['iNnhf'],_0x52630f=>start(_0x1115ef[_0xf0e2c6(0x1cd)],{'skipChromium':_0x1115ef['skip-chromium'],'skipAuth':_0x1115ef['skip-auth'],'withDeps':_0x1115ef[_0xf0e2c6(0x203)],'scope':_0x1115ef['scope'],'url':_0x1115ef['url'],'force':_0x1115ef[_0xf0e2c6(0x2c4)],'opencode':_0x1115ef['opencode'],'allowInsecureLocalhost':_0x1115ef[_0xf0e2c6(0x347)]},_0x52630f));})[_0x91afd(0x244)](_0x91afd(0x286),'Install\x20Chromium\x20browser\x20binary',_0x29bc99=>{const _0x5356a8=_0x91afd;return _0x29bc99[_0x5356a8(0x312)](_0x2c08f2['Tbfpi'],{'type':_0x2c08f2[_0x5356a8(0x2a6)],'description':_0x5356a8(0x2d7),'default':![]});},async _0x368335=>{await withTelemetry('setup:deps',()=>ensureChromium(_0x368335['with-deps']));})['command']('login',_0x91afd(0x31d),_0x4c0303=>{const _0x4dca3b=_0x91afd;return _0x4c0303[_0x4dca3b(0x312)](_0x3a6e96['olzzD'],{'type':'string','description':_0x3a6e96['KzvAO']})['option']('mcp',{'type':_0x3a6e96[_0x4dca3b(0x2ce)],'description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x33d9eb=>{const _0x2f8848=_0x91afd;await withTelemetry(_0x3a6e96[_0x2f8848(0x321)],async()=>{const _0x30fcd9=_0x2f8848;if(_0x33d9eb['mcp']){await _0x2c08f2[_0x30fcd9(0x278)](mcpBootstrap);const _0x4ec8ab=await refreshCliToken();if(!_0x4ec8ab)throw new Error(_0x2c08f2[_0x30fcd9(0x255)]);const _0x4fe654=await _0x2c08f2[_0x30fcd9(0x324)](getCurrentUser,_0x4ec8ab);if(!_0x4fe654[_0x30fcd9(0x311)])throw new Error(_0x30fcd9(0x28e)+_0x4fe654['error']);console[_0x30fcd9(0x210)](_0x30fcd9(0x1a4)+_0x4fe654[_0x30fcd9(0x2c0)]['organizationName']);return;}await _0x2c08f2[_0x30fcd9(0x2ee)](authenticate,_0x33d9eb[_0x30fcd9(0x1cd)]);});})['command'](_0x3a6e96[_0x91afd(0x340)],_0x3a6e96[_0x91afd(0x2eb)],_0x418ee6=>{const _0x215ed6=_0x91afd;return _0x418ee6[_0x215ed6(0x312)](_0x3a6e96[_0x215ed6(0x1fd)],{'type':_0x3a6e96[_0x215ed6(0x33e)],'choices':['user',_0x3a6e96[_0x215ed6(0x232)]],'description':_0x3a6e96[_0x215ed6(0x224)]})['option'](_0x215ed6(0x325),{'type':_0x3a6e96[_0x215ed6(0x2ce)],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]});},async _0x3a2f21=>{const _0x242066={'XETQI':function(_0x1543f8,_0xeca14b,_0x3d9465){return _0x1543f8(_0xeca14b,_0x3d9465);},'RGOEP':function(_0x12f054){return _0x12f054();},'buYyJ':function(_0x3640a0,_0x58a34a){return _0x3640a0(_0x58a34a);}};await withTelemetry(_0x2c08f2['QXJdA'],async()=>{const _0x2b443b=_0x2d80,_0x5c7bda=_0x3a2f21[_0x2b443b(0x212)];if(_0x3a2f21[_0x2b443b(0x325)]){const _0x4ab149=await ensureOpencodePluginConfig(_0x5c7bda);_0x4ab149&&await _0x242066['XETQI'](installSkill,'ranger',{'level':_0x4ab149['scope'],'cliVersion':_0x242066[_0x2b443b(0x225)](getCurrentVersion),'platform':_0x2b443b(0x325)});}else await ensureClaudePlugin(_0x5c7bda),await _0x242066[_0x2b443b(0x33f)](ensureClaudeSkills,_0x5c7bda);});})['command'](_0x3a6e96[_0x91afd(0x2e9)],_0x3a6e96['oPFlk'],_0x20bcb5=>{const _0xb236af=_0x91afd;return _0x20bcb5['option']('scope',{'type':_0x2c08f2['BjpVQ'],'choices':[_0xb236af(0x2c0)],'description':_0x2c08f2['ZXmlS']})[_0xb236af(0x312)](_0x2c08f2['kHmHT'],{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app'})[_0xb236af(0x312)](_0xb236af(0x25f),{'type':_0xb236af(0x289),'description':_0x2c08f2['ngyOA'],'default':![]})[_0xb236af(0x312)](_0xb236af(0x2c4),{'type':_0x2c08f2[_0xb236af(0x2a6)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option']('allow-insecure-localhost',{'type':_0x2c08f2['NeElD'],'description':_0xb236af(0x1c9),'default':![]});},async _0xf85005=>{const _0x389346=_0x91afd,_0x5e0af9=_0xf85005[_0x389346(0x212)];_0x2c08f2['LuVRT'](_0x5e0af9,undefined)&&_0x5e0af9!==_0x389346(0x2c0)&&(console[_0x389346(0x200)](_0x2c08f2['sAGJa']('ranger\x20setup\x20profiles\x20--scope='+_0x5e0af9+_0x389346(0x27c),'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20')+_0x389346(0x291)),process[_0x389346(0x20f)](0x1)),await withTelemetry('setup:profiles',_0xb8fbcc=>ensureLocalEnv({'url':_0xf85005['url'],'force':_0xf85005[_0x389346(0x2c4)],'allowInsecureLocalhost':_0xf85005[_0x389346(0x347)],'scope':'user'},_0xb8fbcc));})['option']('skip-chromium',{'type':_0x3a6e96['cYTIP'],'description':_0x3a6e96['AfyZI'],'default':![]})[_0x91afd(0x312)]('scope',{'type':_0x91afd(0x2de),'choices':[_0x91afd(0x2c0)],'hidden':!![],'description':_0x3a6e96['gjbpt']})['option']('url',{'type':_0x3a6e96[_0x91afd(0x33e)],'description':_0x91afd(0x1cc)})[_0x91afd(0x312)](_0x3a6e96[_0x91afd(0x1c2)],{'type':_0x3a6e96[_0x91afd(0x2ce)],'description':_0x3a6e96[_0x91afd(0x2ba)],'default':![]})[_0x91afd(0x312)]('opencode',{'type':_0x3a6e96[_0x91afd(0x2ce)],'description':_0x3a6e96['ECEJs'],'default':![]})['option'](_0x3a6e96['aMBuI'],{'type':'boolean','description':_0x91afd(0x320),'default':![]})[_0x91afd(0x312)](_0x91afd(0x2e3),{'type':_0x3a6e96[_0x91afd(0x2ce)],'description':_0x91afd(0x238),'default':![]})[_0x91afd(0x312)](_0x3a6e96[_0x91afd(0x1c1)],{'type':_0x3a6e96[_0x91afd(0x2ce)],'description':_0x3a6e96[_0x91afd(0x1d7)],'default':![]})['option'](_0x91afd(0x203),{'type':'boolean','description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]})['option'](_0x91afd(0x1cd),{'type':'string','hidden':!![],'description':_0x3a6e96[_0x91afd(0x1e4)]});},async _0x182d7b=>{const _0x423829=_0x488281,_0x1935c1=_0x182d7b['tokenOrSubcommand'],_0x515ac8=_0x182d7b[_0x423829(0x1cd)]??_0x1935c1;_0x182d7b[_0x3a6e96[_0x423829(0x22c)]]&&await withTelemetry(_0x3a6e96['tqyyg'],()=>mcpBootstrap()),await _0x3a6e96['GAoHb'](withTelemetry,_0x3a6e96['qHPgs'],_0x436ffb=>start(_0x515ac8,{'skipChromium':_0x182d7b[_0x423829(0x34c)],'skipAuth':_0x182d7b['skip-auth'],'withDeps':_0x182d7b[_0x423829(0x203)],'scope':_0x182d7b['scope'],'url':_0x182d7b[_0x423829(0x2b7)],'force':_0x182d7b[_0x423829(0x2c4)],'opencode':_0x182d7b[_0x423829(0x325)],'allowInsecureLocalhost':_0x182d7b[_0x423829(0x347)]},_0x436ffb));})[_0x488281(0x244)](_0x3a6e96['QVtLb'],![],_0x1becaf=>{const _0x4eb551=_0x488281;return _0x1becaf[_0x4eb551(0x341)](_0x3a6e96['olzzD'],{'type':_0x3a6e96['GrcTD'],'description':'Ranger\x20API\x20token','demandOption':!![]})['option'](_0x4eb551(0x2c1),{'type':_0x4eb551(0x2de),'description':_0x3a6e96['tDBXs']})[_0x4eb551(0x312)](_0x3a6e96['LnuuO'],{'type':_0x4eb551(0x2de),'description':_0x3a6e96['NHWYP']})['option'](_0x4eb551(0x34c),{'type':_0x4eb551(0x289),'description':_0x4eb551(0x1de),'default':![]});},async _0x557bb6=>{await withTelemetry(_0x3a6e96['KbBFl'],_0x1d950d=>setupCi(_0x557bb6['token'],{'profile':_0x557bb6['profile'],'baseUrl':_0x557bb6['base-url'],'skipChromium':_0x557bb6['skip-chromium']},_0x1d950d));})[_0x488281(0x244)](_0x3a6e96['lsdcV'],_0x3a6e96['PxZtG'],()=>{},async()=>{const _0x413e11=_0x488281;await withTelemetry(_0x413e11(0x282),()=>login());})[_0x488281(0x244)]('skillup',_0x3a6e96['HaHAL'],_0x51e8dd=>{const _0x2bd9f3=_0x488281;return _0x51e8dd['option'](_0x3a6e96[_0x2bd9f3(0x1ed)],{'type':_0x3a6e96['cYTIP'],'description':_0x3a6e96['llhoK'],'default':![]})['option'](_0x2bd9f3(0x212),{'type':_0x3a6e96['GrcTD'],'choices':['user',_0x3a6e96[_0x2bd9f3(0x232)]],'description':_0x3a6e96['LaBrs']});},async _0x29a1f3=>{const _0x24a0eb=_0x488281,_0x41d802=Boolean(_0x29a1f3[_0x24a0eb(0x325)]);await withTelemetry(_0x24a0eb(0x2a1),()=>skillup({'autoInstall':_0x29a1f3[_0x24a0eb(0x212)],'platform':_0x41d802?'opencode':_0x24a0eb(0x337)}));})['command'](_0x488281(0x2f9),_0x488281(0x304),()=>{},async()=>{const _0x1663dd=_0x488281;await withTelemetry(_0x1663dd(0x2f9),()=>clean());})[_0x488281(0x244)]([_0x3a6e96[_0x488281(0x1f8)],_0x3a6e96['AkerK']],'Manage\x20profiles',_0x134c0b=>{const _0x178e72=_0x488281,_0x19f7b5={'XublJ':_0x178e72(0x2c3),'CexDi':'string','aRmgA':_0x3a6e96['FApQt'],'DlqnY':_0x3a6e96['yeXce'],'mgLsu':_0x3a6e96[_0x178e72(0x2ce)],'gXZpX':_0x3a6e96[_0x178e72(0x313)],'dkWOS':_0x3a6e96[_0x178e72(0x28f)],'UWCYs':_0x3a6e96[_0x178e72(0x2a4)],'kwjPo':_0x3a6e96['QdOCk'],'rqRSi':_0x3a6e96['kFLzo'],'GXRdb':'scope','mJZCH':_0x3a6e96['ubfhs'],'kuIOQ':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','GnhOa':function(_0x4b3a37,_0x531773,_0x18f8cd,_0x4a8aec){const _0x394f64=_0x178e72;return _0x3a6e96[_0x394f64(0x208)](_0x4b3a37,_0x531773,_0x18f8cd,_0x4a8aec);},'lldMn':function(_0x14a39b,_0x1453c4){const _0x5b4fa3=_0x178e72;return _0x3a6e96[_0x5b4fa3(0x1c5)](_0x14a39b,_0x1453c4);},'MxQnY':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','jESll':'yes','TJRMT':function(_0x2e14e7,_0x37bc03,_0x1582af){return _0x2e14e7(_0x37bc03,_0x1582af);},'SZqTY':function(_0x119beb,_0x5169b5){return _0x119beb||_0x5169b5;},'qeiSq':_0x178e72(0x25e),'dxxOZ':function(_0xb9ede7,_0x3f844a){return _0xb9ede7===_0x3f844a;},'nqUww':_0x3a6e96['RfQsA'],'rdaVD':'unknown\x20error','gESxR':_0x3a6e96['ezuRz'],'rrhcL':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','Wpmdl':function(_0x2a3b1e,_0x5272c8,_0x5191d3){return _0x2a3b1e(_0x5272c8,_0x5191d3);},'TwByT':_0x3a6e96['QUQwT'],'QmqyE':_0x3a6e96['czjJM'],'RVymO':_0x3a6e96['kxuFe'],'kACwH':_0x178e72(0x2ae),'Grwzf':_0x3a6e96[_0x178e72(0x2b1)],'jmros':'Config\x20value','KMvWG':'key','sdXEf':_0x3a6e96[_0x178e72(0x22f)],'NhcjB':function(_0x39624f,_0x3a933c,_0x14fe7d){return _0x39624f(_0x3a933c,_0x14fe7d);},'RQDun':_0x3a6e96['EtBQc']};return _0x134c0b['usage'](PROFILE_HELP)['command']('add\x20<profile-name>',_0x3a6e96['LzWqj'],_0x2a3b01=>{const _0x5a99a6=_0x178e72;return _0x2a3b01['positional'](_0x19f7b5['XublJ'],{'type':_0x19f7b5['CexDi'],'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x5a99a6(0x289),'hidden':!![],'default':![]})['option']('skip-auth',{'type':_0x5a99a6(0x289),'description':_0x19f7b5[_0x5a99a6(0x1d1)],'default':![]})[_0x5a99a6(0x312)](_0x5a99a6(0x2b7),{'type':_0x19f7b5['CexDi'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x19f7b5[_0x5a99a6(0x336)],{'type':_0x19f7b5[_0x5a99a6(0x1a1)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x19f7b5[_0x5a99a6(0x314)],{'type':_0x5a99a6(0x2de),'description':_0x19f7b5['dkWOS']})[_0x5a99a6(0x312)]('allow-insecure-localhost',{'type':'boolean','description':_0x19f7b5['UWCYs'],'default':![]})['option'](_0x19f7b5[_0x5a99a6(0x356)],{'type':_0x5a99a6(0x289),'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]})[_0x5a99a6(0x312)](_0x19f7b5['rqRSi'],{'type':_0x5a99a6(0x2de),'array':!![],'description':_0x5a99a6(0x2e1)})['option'](_0x19f7b5[_0x5a99a6(0x213)],{'type':_0x5a99a6(0x2de),'choices':[_0x19f7b5['mJZCH'],'project'],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})['option'](_0x5a99a6(0x345),{'type':_0x19f7b5[_0x5a99a6(0x1a1)],'alias':'y','description':_0x19f7b5['kuIOQ'],'default':![]});},async _0x9700af=>{const _0xb8daaf=_0x178e72;await _0x19f7b5[_0xb8daaf(0x334)](withTelemetry,'profile\x20add',_0x1cc171=>addEnv(_0x9700af['profile-name'],{'ci':_0x9700af['ci'],'skipAuth':_0x9700af[_0xb8daaf(0x25f)],'url':_0x9700af[_0xb8daaf(0x2b7)],'force':_0x9700af['force'],'cdpEndpoint':_0x9700af[_0xb8daaf(0x2b6)],'allowInsecureLocalhost':_0x9700af['allow-insecure-localhost'],'safeMode':_0x9700af[_0xb8daaf(0x250)],'setupHeader':_0x9700af['setup-header'],'scope':_0x9700af[_0xb8daaf(0x212)],'yes':_0x9700af['yes']},_0x1cc171),{'isElectron':_0x19f7b5[_0xb8daaf(0x1ca)](Boolean,_0x9700af['cdp-endpoint'])});})['command'](_0x3a6e96[_0x178e72(0x1ff)],_0x178e72(0x2d6),_0x50a415=>{const _0x3cb30c=_0x178e72;return _0x50a415[_0x3cb30c(0x341)]('profile-name',{'type':_0x3a6e96[_0x3cb30c(0x33e)],'description':_0x3a6e96['nGzNi'],'demandOption':!![]});},async _0x541bc9=>{const _0x3cdbd4=_0x178e72;await withTelemetry(_0x3a6e96['vkLvo'],()=>useEnv(_0x541bc9[_0x3cdbd4(0x2c3)]));})[_0x178e72(0x244)]('delete\x20<profile-name>',_0x3a6e96[_0x178e72(0x1ab)],_0x1ee446=>{const _0x45f41e=_0x178e72;return _0x1ee446[_0x45f41e(0x341)]('profile-name',{'type':'string','description':_0x19f7b5[_0x45f41e(0x2cd)],'demandOption':!![]})['option'](_0x19f7b5['jESll'],{'type':_0x19f7b5[_0x45f41e(0x1a1)],'alias':'y','description':_0x45f41e(0x223),'default':![]});},async _0x3fffaa=>{const _0x53ec45=_0x178e72;await _0x19f7b5[_0x53ec45(0x1a5)](withTelemetry,'profile\x20delete',()=>deleteProfile(_0x3fffaa[_0x53ec45(0x2c3)],{'yes':_0x3fffaa[_0x53ec45(0x345)]}));})['command'](_0x178e72(0x2be),![],_0x3cac96=>{const _0x348ad0=_0x178e72;return _0x3cac96[_0x348ad0(0x341)](_0x348ad0(0x2c1),{'type':_0x19f7b5['CexDi'],'description':'Profile\x20name','demandOption':!![]});},async _0x1dbe42=>{await withTelemetry('profile\x20encrypt-auth',()=>authEncrypt(_0x1dbe42['profile']));})['command']('ls','List\x20all\x20profiles',()=>{},async()=>{await withTelemetry('profile\x20ls',()=>envList());})['command'](_0x3a6e96[_0x178e72(0x1ee)],_0x178e72(0x2b8),_0x40213c=>{const _0x5b792c=_0x178e72;return _0x40213c[_0x5b792c(0x341)]('profile-name',{'type':'string','description':_0x3a6e96[_0x5b792c(0x32c)],'demandOption':!![]})['option'](_0x3a6e96[_0x5b792c(0x32b)],{'type':'boolean','description':_0x3a6e96['Itjms']});},async _0x5cd0d4=>{const _0x3c4457=_0x178e72;await _0x3a6e96['ATsEg'](withTelemetry,_0x3c4457(0x206),_0x181ef6=>updateEnv(_0x5cd0d4['profile-name'],_0x181ef6,{'allowInsecureLocalhost':_0x5cd0d4[_0x3c4457(0x347)]}));})[_0x178e72(0x244)](_0x3a6e96[_0x178e72(0x2b5)],![],_0x347cd8=>{const _0x483d5d=_0x178e72;return _0x347cd8['positional']('name',{'type':_0x19f7b5[_0x483d5d(0x2aa)],'description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0x615a97=>{await withTelemetry('profile\x20login',async()=>{const _0x261be8=_0x2d80,_0x174e7f=process['env']['RANGER_TEST_USERNAME'],_0x212dbd=process['env']['RANGER_TEST_PASSWORD'];_0x19f7b5['SZqTY'](!_0x174e7f,!_0x212dbd)&&(console['error'](_0x19f7b5['qeiSq']),process[_0x261be8(0x20f)](0x1));const _0x3963f5=_0x615a97[_0x261be8(0x1d8)],_0x5578dd=await serverSideLogin(_0x3963f5,{'force':!![]});_0x19f7b5['dxxOZ'](_0x5578dd['status'],_0x261be8(0x30d))&&(console[_0x261be8(0x200)](_0x19f7b5[_0x261be8(0x24b)]),process[_0x261be8(0x20f)](0x1)),_0x5578dd[_0x261be8(0x34a)]==='failed'&&(console['error'](_0x261be8(0x1f6)+(_0x5578dd[_0x261be8(0x200)]??_0x19f7b5[_0x261be8(0x1b3)])),_0x5578dd[_0x261be8(0x20a)]&&console[_0x261be8(0x200)](_0x5578dd[_0x261be8(0x20a)]),process['exit'](0x1)),console['log'](_0x261be8(0x24c)+_0x3963f5+_0x261be8(0x288));});})['command']('migrate\x20[profile-name]',![],_0x588ece=>{const _0x1d9d9e=_0x178e72;return _0x588ece['positional'](_0x1d9d9e(0x2c3),{'type':_0x19f7b5[_0x1d9d9e(0x2aa)],'description':_0x19f7b5['gESxR']})[_0x1d9d9e(0x312)]('all',{'type':_0x19f7b5[_0x1d9d9e(0x1a1)],'description':_0x19f7b5['rrhcL'],'default':![]})[_0x1d9d9e(0x312)](_0x1d9d9e(0x281),{'type':'boolean','description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})['option'](_0x1d9d9e(0x345),{'type':_0x1d9d9e(0x289),'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})[_0x1d9d9e(0x312)]('save-creds',{'type':_0x19f7b5[_0x1d9d9e(0x1a1)],'description':_0x1d9d9e(0x1c4),'default':![]});},async _0x35c768=>{const _0x191c6c=_0x178e72;await _0x19f7b5['Wpmdl'](withTelemetry,_0x19f7b5[_0x191c6c(0x1d9)],_0x2830a1=>migrateProfile({'profileName':_0x35c768[_0x191c6c(0x2c3)],'all':_0x35c768['all'],'dryRun':_0x35c768[_0x191c6c(0x281)],'yes':_0x35c768[_0x191c6c(0x345)],'saveCreds':_0x35c768[_0x191c6c(0x2ef)]},_0x2830a1));})['command'](_0x3a6e96['eWVsT'],_0x3a6e96['amHNg'],_0x5c2427=>{const _0x5582bb=_0x178e72,_0x46f250={'GCJtd':_0x3a6e96['KKsmx'],'TqhqU':'profile','pYowy':_0x3a6e96['GrcTD'],'HMlri':function(_0x5abc35,_0x419149,_0x31d63f){return _0x5abc35(_0x419149,_0x31d63f);},'nesHN':_0x3a6e96['LGBfe'],'cYNvz':'key'};return _0x5c2427['usage'](PROFILE_CONFIG_HELP)[_0x5582bb(0x244)](_0x3a6e96[_0x5582bb(0x2c8)],'Set\x20a\x20config\x20value',_0x31dc2a=>{const _0x2c1c01=_0x5582bb;return _0x31dc2a[_0x2c1c01(0x341)](_0x19f7b5['QmqyE'],{'type':_0x19f7b5[_0x2c1c01(0x2aa)],'description':_0x19f7b5['RVymO'],'demandOption':!![]})['positional']('key',{'type':_0x19f7b5['CexDi'],'description':_0x19f7b5['kACwH'],'demandOption':!![]})['positional'](_0x19f7b5['Grwzf'],{'type':_0x2c1c01(0x2de),'description':_0x19f7b5['jmros'],'demandOption':!![]});},async _0x522cbc=>{const _0x38c77e=_0x5582bb;await withTelemetry(_0x46f250[_0x38c77e(0x30a)],()=>configSet(_0x522cbc[_0x38c77e(0x2c1)],_0x522cbc[_0x38c77e(0x2f7)],_0x522cbc[_0x38c77e(0x2bd)]));})['command'](_0x3a6e96['WJqBw'],'Get\x20a\x20config\x20value',_0x369881=>{const _0x1fbde5=_0x5582bb;return _0x369881['positional']('profile',{'type':'string','description':_0x19f7b5[_0x1fbde5(0x248)],'demandOption':!![]})['positional'](_0x19f7b5['KMvWG'],{'type':_0x19f7b5['CexDi'],'description':_0x19f7b5[_0x1fbde5(0x1da)],'demandOption':!![]});},async _0x224424=>{const _0x5d111a=_0x5582bb;await withTelemetry(_0x5d111a(0x221),()=>configGet(_0x224424['profile'],_0x224424['key']));})[_0x5582bb(0x244)](_0x3a6e96[_0x5582bb(0x2c6)],_0x3a6e96[_0x5582bb(0x1d4)],_0x5e3237=>{const _0x678489=_0x5582bb;return _0x5e3237[_0x678489(0x341)](_0x46f250['TqhqU'],{'type':_0x46f250[_0x678489(0x30f)],'description':'Profile\x20name','demandOption':!![]});},async _0x31bc83=>{const _0x2afc6d=_0x5582bb;await _0x46f250[_0x2afc6d(0x222)](withTelemetry,_0x46f250[_0x2afc6d(0x1fe)],()=>configList(_0x31bc83['profile']));})['command'](_0x3a6e96['JiHdT'],_0x3a6e96[_0x5582bb(0x323)],_0x5c5a71=>{const _0x5d65ad=_0x5582bb;return _0x5c5a71['positional']('profile',{'type':'string','description':_0x5d65ad(0x1b0),'demandOption':!![]})['positional'](_0x46f250['cYNvz'],{'type':'string','description':_0x5d65ad(0x34b),'demandOption':!![]});},async _0xb63e73=>{await _0x19f7b5['Wpmdl'](withTelemetry,'profile\x20config\x20unset',()=>configUnset(_0xb63e73['profile'],_0xb63e73['key']));})['command'](_0x3a6e96['ntDRt'],_0x5582bb(0x2d4),_0x5411c0=>{const _0x13256f=_0x5582bb;return _0x5411c0[_0x13256f(0x341)](_0x46f250['TqhqU'],{'type':'string','description':_0x13256f(0x1b0),'demandOption':!![]});},async _0x1a4ce1=>{const _0x558e47=_0x5582bb;await _0x19f7b5[_0x558e47(0x1d5)](withTelemetry,_0x19f7b5['RQDun'],()=>configReset(_0x1a4ce1[_0x558e47(0x2c1)]));})[_0x5582bb(0x1ec)](0x1,_0x3a6e96['fRViv']);})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})[_0x488281(0x244)](_0x3a6e96[_0x488281(0x330)],'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{const _0x596c9f=_0x488281;await withTelemetry(_0x3a6e96[_0x596c9f(0x330)],()=>status());})[_0x488281(0x244)]('update','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x357293=_0x488281;await withTelemetry(_0x357293(0x20e),()=>update());})[_0x488281(0x244)](_0x3a6e96[_0x488281(0x25d)],_0x3a6e96[_0x488281(0x33a)],()=>{},async()=>{const _0x143e48=_0x488281;await _0x3a6e96[_0x143e48(0x258)](withTelemetry,_0x143e48(0x2a0),async()=>{const _0x3d1358=_0x143e48,_0x2042ef=await getToken();if(!_0x2042ef)throw new Error(_0x3d1358(0x284));console['log'](_0x2042ef);});})[_0x488281(0x244)]('go',_0x488281(0x34d),_0xcb03a1=>{const _0x57dca7=_0x488281;return _0xcb03a1[_0x57dca7(0x312)]('feature',{'type':_0x57dca7(0x2de),'description':'Optional\x20feature\x20ID'})['option']('profile',{'type':_0x3a6e96[_0x57dca7(0x33e)],'description':_0x3a6e96[_0x57dca7(0x28a)]})[_0x57dca7(0x312)]('notes',{'type':'string','description':_0x3a6e96['Jnden']})[_0x57dca7(0x312)](_0x3a6e96[_0x57dca7(0x1af)],{'type':_0x3a6e96[_0x57dca7(0x2ab)],'description':'Scenario\x20index\x20(1-based)'})['option'](_0x3a6e96['XrBUq'],{'type':_0x3a6e96['GrcTD'],'description':_0x3a6e96[_0x57dca7(0x357)]})[_0x57dca7(0x312)](_0x3a6e96['LnuuO'],{'type':'string','description':_0x3a6e96['skwPS']})['option'](_0x3a6e96['khDDp'],{'type':_0x57dca7(0x2de),'description':_0x3a6e96['rAorf']})[_0x57dca7(0x312)](_0x57dca7(0x1d2),{'type':'boolean','description':_0x3a6e96[_0x57dca7(0x305)],'default':![]})[_0x57dca7(0x312)](_0x3a6e96[_0x57dca7(0x287)],{'type':_0x57dca7(0x2de),'hidden':!![],'choices':[_0x57dca7(0x256),_0x3a6e96[_0x57dca7(0x292)],_0x3a6e96['LwKzn'],'failed',_0x3a6e96[_0x57dca7(0x198)]]})[_0x57dca7(0x312)](_0x3a6e96[_0x57dca7(0x1ea)],{'type':_0x57dca7(0x289),'hidden':!![]})['option'](_0x57dca7(0x1b9),{'type':_0x57dca7(0x2de),'hidden':!![]})['option'](_0x57dca7(0x1a3),{'type':_0x57dca7(0x2de),'hidden':!![]})[_0x57dca7(0x312)](_0x3a6e96['nCRyo'],{'type':_0x3a6e96['pxioj'],'hidden':!![]});},async _0x3beaa0=>{await runGoCommand(_0x3beaa0);})[_0x488281(0x244)](_0x488281(0x2d9),![],_0x3502d2=>{const _0x455ebb={'PxBtN':_0x3a6e96['czjJM'],'gtSrY':_0x3a6e96['GrcTD']};return _0x3502d2['command']('encrypt\x20<profile>',![],_0x1caa4d=>{const _0x2982ac=_0x2d80;return _0x1caa4d[_0x2982ac(0x341)](_0x455ebb[_0x2982ac(0x28c)],{'type':_0x455ebb[_0x2982ac(0x252)],'description':_0x2982ac(0x1b0),'demandOption':!![]});},async _0x1458fc=>{const _0x3a6434=_0x2d80;warnRenamed(_0x3a6434(0x1f4),_0x3a6434(0x21a)),await authEncrypt(_0x1458fc['profile']);})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command'](_0x3a6e96[_0x488281(0x1e3)],![],_0x5e867e=>{const _0x56e31a=_0x488281;return _0x5e867e[_0x56e31a(0x341)](_0x56e31a(0x1cd),{'type':_0x3a6e96['GrcTD'],'description':_0x56e31a(0x24e)})['option'](_0x3a6e96['vpbmn'],{'type':_0x3a6e96['cYTIP'],'description':_0x3a6e96[_0x56e31a(0x1f2)],'default':![]})['option'](_0x3a6e96[_0x56e31a(0x1fd)],{'type':'string','choices':[_0x3a6e96[_0x56e31a(0x260)]],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x56e31a(0x312)](_0x56e31a(0x2b7),{'type':_0x56e31a(0x2de),'description':_0x3a6e96[_0x56e31a(0x214)]})[_0x56e31a(0x312)]('force',{'type':'boolean','description':_0x3a6e96['ACxlp'],'default':![]})[_0x56e31a(0x312)](_0x56e31a(0x25f),{'type':_0x3a6e96[_0x56e31a(0x2ce)],'description':_0x3a6e96[_0x56e31a(0x2da)],'default':![]})[_0x56e31a(0x312)](_0x56e31a(0x203),{'type':_0x3a6e96[_0x56e31a(0x2ce)],'description':_0x3a6e96[_0x56e31a(0x257)],'default':![]});},async _0x55cfc1=>{const _0x32e4bd=_0x488281;warnRenamed(_0x3a6e96[_0x32e4bd(0x26e)],_0x3a6e96['YRFSZ']),await _0x3a6e96['DZCbT'](withTelemetry,'start',_0x4890ff=>start(_0x55cfc1[_0x32e4bd(0x1cd)],{'skipChromium':_0x55cfc1['skip-chromium'],'skipAuth':_0x55cfc1[_0x32e4bd(0x25f)],'withDeps':_0x55cfc1[_0x32e4bd(0x203)],'scope':_0x55cfc1[_0x32e4bd(0x212)],'url':_0x55cfc1['url'],'force':_0x55cfc1['force']},_0x4890ff));})[_0x488281(0x244)](_0x488281(0x27a),![],_0x3c79ce=>{const _0x3cff4d=_0x488281;return _0x3c79ce['option'](_0x3cff4d(0x1b9),{'type':_0x3cff4d(0x2de),'description':_0x3a6e96['DpWZk']})[_0x3cff4d(0x312)](_0x3cff4d(0x1a3),{'type':_0x3cff4d(0x2de),'description':_0x3a6e96['bTgBo']})[_0x3cff4d(0x312)](_0x3cff4d(0x233),{'type':_0x3a6e96[_0x3cff4d(0x2ab)],'description':'Scenario\x20index\x20(1-based)'})[_0x3cff4d(0x312)](_0x3cff4d(0x2c1),{'type':_0x3a6e96['GrcTD'],'hidden':!![]})[_0x3cff4d(0x312)](_0x3a6e96['lAFKZ'],{'type':_0x3cff4d(0x2de),'hidden':!![]})['option']('scenario',{'type':_0x3cff4d(0x335),'hidden':!![]})['option']('start-path',{'type':'string','description':_0x3a6e96['weQEG']})['option']('base-url',{'type':_0x3a6e96['GrcTD'],'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x3cff4d(0x312)]('model',{'type':'string','hidden':!![]})['option'](_0x3cff4d(0x1d2),{'type':_0x3cff4d(0x289),'hidden':!![],'default':![]})[_0x3cff4d(0x312)](_0x3a6e96[_0x3cff4d(0x287)],{'type':_0x3cff4d(0x2de),'hidden':!![],'choices':['verified',_0x3cff4d(0x32f),_0x3a6e96['LwKzn'],'failed','incomplete']});},async _0x167c0b=>{await runGoCommand(_0x167c0b,!![]);})[_0x488281(0x244)](_0x3a6e96['sRAFA'],![],_0x379b9e=>{const _0x4fed46=_0x488281;return _0x379b9e[_0x4fed46(0x341)]('env-name',{'type':_0x3a6e96[_0x4fed46(0x33e)],'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x4fed46(0x312)]('ci',{'type':'boolean','description':_0x4fed46(0x264),'default':![]})[_0x4fed46(0x312)]('skip-auth',{'type':'boolean','description':_0x4fed46(0x2f5),'default':![]});},async _0x17c189=>{const _0x4e268e=_0x488281;_0x3a6e96[_0x4e268e(0x229)](warnRenamed,'ranger\x20add\x20env',_0x3a6e96['kfqtU']),await _0x3a6e96[_0x4e268e(0x1a9)](withTelemetry,_0x3a6e96['ucYSv'],_0x4e4f18=>addEnv(_0x17c189[_0x4e268e(0x2cf)],{'ci':_0x17c189['ci'],'skipAuth':_0x17c189[_0x4e268e(0x25f)]},_0x4e4f18));})['command'](_0x488281(0x21e),![],_0x74a7fd=>{const _0x22b8cc=_0x488281;return _0x74a7fd[_0x22b8cc(0x341)](_0x3a6e96['CMnZD'],{'type':_0x3a6e96[_0x22b8cc(0x33e)],'description':_0x3a6e96[_0x22b8cc(0x1d6)],'demandOption':!![]});},async _0x48948a=>{const _0x239899=_0x488281;warnRenamed(_0x3a6e96['AIywW'],_0x239899(0x2a8)),await withTelemetry(_0x239899(0x32e),()=>useEnv(_0x48948a['env-name']));})['command']('config',![],_0x450b83=>{const _0xde0402=_0x488281,_0x9378bd={'kpapi':_0xde0402(0x2bc),'SpDtN':_0xde0402(0x2f7),'vgkie':_0x3a6e96[_0xde0402(0x33e)],'PykrW':_0xde0402(0x262),'chsHY':function(_0x124b95,_0x3672e9,_0x46365f){return _0x3a6e96['jDOnr'](_0x124b95,_0x3672e9,_0x46365f);},'pFdHE':'ranger\x20profile\x20config\x20list','ykdEK':function(_0x522faa,_0x46790a,_0x2c4d15){return _0x522faa(_0x46790a,_0x2c4d15);},'npqJo':_0x3a6e96['ynPXD']};return _0x450b83['command'](_0xde0402(0x1b2),![],_0x4258f0=>{const _0x2bf875=_0xde0402;return _0x4258f0[_0x2bf875(0x341)]('env',{'type':_0x2bf875(0x2de),'description':_0x2bf875(0x2bc),'demandOption':!![]})['positional'](_0x3a6e96[_0x2bf875(0x1b1)],{'type':_0x3a6e96[_0x2bf875(0x33e)],'description':_0x3a6e96[_0x2bf875(0x267)],'demandOption':!![]})['positional']('value',{'type':'string','description':_0x3a6e96[_0x2bf875(0x34e)],'demandOption':!![]});},async _0x2dfbcb=>{const _0xdf9842=_0xde0402;_0x3a6e96['ATsEg'](warnRenamed,_0xdf9842(0x326),'ranger\x20profile\x20config\x20set'),await withTelemetry(_0x3a6e96['LJyRs'],()=>configSet(_0x2dfbcb[_0xdf9842(0x1b9)],_0x2dfbcb[_0xdf9842(0x2f7)],_0x2dfbcb['value']));})[_0xde0402(0x244)]('get\x20<env>\x20<key>',![],_0x232cdf=>{const _0x21a55d=_0xde0402;return _0x232cdf[_0x21a55d(0x341)]('env',{'type':_0x21a55d(0x2de),'description':_0x9378bd[_0x21a55d(0x27d)],'demandOption':!![]})['positional'](_0x9378bd['SpDtN'],{'type':_0x9378bd[_0x21a55d(0x2b0)],'description':'Config\x20key','demandOption':!![]});},async _0x34a150=>{const _0x43387c=_0xde0402;warnRenamed('ranger\x20config\x20get',_0x43387c(0x1a8)),await withTelemetry(_0x9378bd['PykrW'],()=>configGet(_0x34a150['env'],_0x34a150['key']));})[_0xde0402(0x244)](_0xde0402(0x332),![],_0x2582e6=>{return _0x2582e6['positional']('env',{'type':_0x3a6e96['GrcTD'],'description':'Environment\x20name','demandOption':!![]});},async _0x1c4bba=>{const _0x2ada91=_0xde0402;_0x9378bd['chsHY'](warnRenamed,_0x2ada91(0x30b),_0x9378bd['pFdHE']),await _0x9378bd['ykdEK'](withTelemetry,_0x2ada91(0x32a),()=>configList(_0x1c4bba['env']));})[_0xde0402(0x244)](_0xde0402(0x349),![],_0x233196=>{const _0x41bbde=_0xde0402;return _0x233196[_0x41bbde(0x341)](_0x41bbde(0x1b9),{'type':_0x9378bd[_0x41bbde(0x2b0)],'description':_0x9378bd[_0x41bbde(0x27d)],'demandOption':!![]})[_0x41bbde(0x341)](_0x41bbde(0x2f7),{'type':_0x9378bd[_0x41bbde(0x2b0)],'description':_0x9378bd['npqJo'],'demandOption':!![]});},async _0x13ab58=>{const _0x2c716f=_0xde0402;_0x3a6e96[_0x2c716f(0x258)](warnRenamed,_0x3a6e96['iThmI'],_0x2c716f(0x1c8)),await _0x3a6e96[_0x2c716f(0x2a7)](withTelemetry,_0x3a6e96[_0x2c716f(0x2e6)],()=>configUnset(_0x13ab58[_0x2c716f(0x1b9)],_0x13ab58[_0x2c716f(0x2f7)]));})[_0xde0402(0x1ec)](0x1,_0xde0402(0x23e));})['command']('env',![],_0x4f59da=>{const _0x42253e=_0x488281,_0x54a020={'GGFBM':function(_0x852d19,_0x3e91a0,_0x350ba6){const _0x154d30=_0x2d80;return _0x3a6e96[_0x154d30(0x239)](_0x852d19,_0x3e91a0,_0x350ba6);},'GseKr':_0x3a6e96['ytOLG']};return _0x4f59da['command']('ls',![],()=>{},async()=>{const _0x5bb165=_0x2d80;warnRenamed(_0x5bb165(0x2cc),_0x5bb165(0x2c2)),await _0x54a020[_0x5bb165(0x310)](withTelemetry,_0x5bb165(0x22e),()=>envList());})['command'](_0x3a6e96['VihrV'],![],_0x27ed28=>{const _0x17741d=_0x2d80;return _0x27ed28['positional'](_0x17741d(0x2cf),{'type':'string','description':_0x54a020['GseKr'],'demandOption':!![]});},async _0x1403fb=>{const _0x3f3c26=_0x2d80;warnRenamed(_0x3a6e96[_0x3f3c26(0x2a3)],_0x3f3c26(0x1e7)),await _0x3a6e96[_0x3f3c26(0x348)](withTelemetry,_0x3a6e96[_0x3f3c26(0x240)],_0x15a09=>updateEnv(_0x1403fb['env-name'],_0x15a09));})[_0x42253e(0x1ec)](0x1,_0x42253e(0x299));})['command'](_0x488281(0x333),![],_0x321ef7=>{const _0x1cc467=_0x488281,_0x2d2daa={'fzwoK':function(_0x34f445,_0x7bbcd6,_0x55f2c3){const _0x966325=_0x2d80;return _0x3a6e96[_0x966325(0x2ca)](_0x34f445,_0x7bbcd6,_0x55f2c3);},'TEgYm':_0x3a6e96[_0x1cc467(0x261)],'NdFhk':'ranger\x20list','WyNPM':_0x3a6e96['GrcTD'],'jihHZ':_0x1cc467(0x24d),'JsKac':'ranger\x20resume','RWNqg':_0x1cc467(0x2c7),'kIUpG':function(_0x5a9d00,_0xa7e130,_0x32a4a9){const _0x1a8107=_0x1cc467;return _0x3a6e96[_0x1a8107(0x242)](_0x5a9d00,_0xa7e130,_0x32a4a9);},'wouqX':_0x1cc467(0x1c7),'WWXfR':_0x3a6e96['THPzp'],'SxwEc':function(_0x4ea99c,_0x26ce48,_0x47df7f){return _0x3a6e96['DZCbT'](_0x4ea99c,_0x26ce48,_0x47df7f);},'lylTF':_0x3a6e96['YHazy'],'wUYks':_0x3a6e96['lfUbf']};return _0x321ef7['command'](_0x1cc467(0x207),![],_0x590050=>{const _0x3764b2=_0x1cc467;return _0x590050['positional'](_0x3a6e96[_0x3764b2(0x228)],{'type':_0x3764b2(0x2de),'description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x3764b2(0x2ad),{'type':_0x3a6e96['GrcTD'],'alias':'d','description':_0x3a6e96[_0x3764b2(0x28b)]})[_0x3764b2(0x312)]('checklist',{'type':_0x3a6e96['KypCM'],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option']('scenario',{'type':'array','hidden':!![]});},async _0x506707=>{const _0x3e3700=_0x1cc467;_0x3a6e96['jDOnr'](warnRenamed,'ranger\x20feature\x20create',_0x3e3700(0x1bf)),_0x3a6e96[_0x3e3700(0x208)](warnFlagRenamed,_0x3a6e96['JOmqh'],_0x3a6e96['XKKXj'],_0x3a6e96[_0x3e3700(0x259)]);const _0x48fc02=_0x506707[_0x3e3700(0x194)]||_0x506707['checklist'];await _0x3a6e96[_0x3e3700(0x27f)](withTelemetry,_0x3a6e96[_0x3e3700(0x2d1)],()=>featureCreate(_0x506707['name'],{'description':_0x506707[_0x3e3700(0x2ad)],'scenarios':_0x48fc02}));})['command'](_0x3a6e96['ucVPX'],![],_0x18b0bd=>{const _0x527b75=_0x1cc467;return _0x18b0bd['option']('current-branch',{'type':_0x3a6e96['cYTIP'],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})[_0x527b75(0x312)]('limit',{'type':_0x3a6e96[_0x527b75(0x2ab)],'alias':'l','description':_0x3a6e96[_0x527b75(0x331)],'default':0xa})[_0x527b75(0x312)](_0x527b75(0x246),{'type':_0x3a6e96['pxioj'],'alias':'o','description':_0x527b75(0x2ec),'default':0x0})[_0x527b75(0x312)](_0x3a6e96[_0x527b75(0x19f)],{'type':_0x3a6e96[_0x527b75(0x2ce)],'alias':'d','description':_0x527b75(0x315),'default':![]});},async _0x7e4fde=>{const _0x32fda4=_0x1cc467;_0x2d2daa[_0x32fda4(0x211)](warnRenamed,_0x2d2daa[_0x32fda4(0x1ba)],_0x2d2daa[_0x32fda4(0x253)]),await withTelemetry('feature\x20list',()=>featureList({'currentBranch':_0x7e4fde[_0x32fda4(0x2e0)],'limit':_0x7e4fde[_0x32fda4(0x307)],'offset':_0x7e4fde['offset'],'includeDeleted':_0x7e4fde[_0x32fda4(0x22d)]}));})['command'](_0x1cc467(0x271),![],_0x51c235=>{const _0x3ebe5e=_0x1cc467;return _0x51c235[_0x3ebe5e(0x341)]('id',{'type':_0x3a6e96['GrcTD'],'description':_0x3ebe5e(0x350)});},async _0x291512=>{const _0x5e1c6e=_0x1cc467;_0x3a6e96[_0x5e1c6e(0x265)](warnRenamed,_0x3a6e96['xhqeJ'],_0x3a6e96[_0x5e1c6e(0x2dd)]),await _0x3a6e96[_0x5e1c6e(0x265)](withTelemetry,'feature\x20show',()=>featureShow(_0x291512['id']));})['command'](_0x3a6e96[_0x1cc467(0x34f)],![],_0x336742=>{const _0x3c98f6=_0x1cc467;return _0x336742[_0x3c98f6(0x341)]('id',{'type':_0x2d2daa['WyNPM'],'description':_0x2d2daa['jihHZ']});},async _0x266f88=>{const _0x316a91=_0x1cc467;warnRenamed(_0x316a91(0x351),_0x2d2daa[_0x316a91(0x344)]),await withTelemetry('feature\x20resume',()=>featureResume(_0x266f88['id']));})['command'](_0x1cc467(0x352),![],_0x3cbf90=>{const _0x165aa2=_0x1cc467;return _0x3cbf90['positional'](_0x165aa2(0x2ad),{'type':_0x2d2daa[_0x165aa2(0x1fb)],'description':_0x2d2daa[_0x165aa2(0x343)],'demandOption':!![]})['option']('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x41e7da=>{const _0x5a9f77=_0x1cc467;_0x3a6e96[_0x5a9f77(0x33b)](warnRenamed,'ranger\x20feature\x20add-checklist-item',_0x5a9f77(0x27b)),await withTelemetry(_0x3a6e96[_0x5a9f77(0x231)],()=>featureAddScenario(_0x41e7da[_0x5a9f77(0x2ad)],_0x41e7da['id']));})[_0x1cc467(0x244)](_0x3a6e96[_0x1cc467(0x1c6)],![],_0x40b844=>{const _0x34060b=_0x1cc467;return _0x40b844['positional']('id',{'type':_0x34060b(0x2de),'description':_0x3a6e96[_0x34060b(0x2a2)]});},async _0x63e86f=>{const _0x5ca1e8=_0x1cc467;_0x2d2daa[_0x5ca1e8(0x235)](warnRenamed,_0x2d2daa[_0x5ca1e8(0x220)],_0x2d2daa[_0x5ca1e8(0x1d0)]),await withTelemetry('feature\x20get-feedback',()=>featureGetReview(_0x63e86f['id']));})['command'](_0x1cc467(0x1f9),![],_0x36fb13=>{const _0x4289ec=_0x1cc467;return _0x36fb13['positional']('id',{'type':'string','description':_0x4289ec(0x350)});},async _0x30038f=>{const _0x953373=_0x1cc467;_0x2d2daa['SxwEc'](warnRenamed,_0x2d2daa[_0x953373(0x26f)],_0x2d2daa[_0x953373(0x298)]),await withTelemetry(_0x953373(0x193),()=>featureDelete(_0x30038f['id']));})['command'](_0x1cc467(0x303),![],_0x49e1be=>{const _0xe658ad=_0x1cc467;return _0x49e1be['positional']('id',{'type':_0x3a6e96['GrcTD'],'description':_0x3a6e96[_0xe658ad(0x1fa)],'demandOption':!![]});},async _0x504993=>{const _0x480e0f=_0x1cc467;_0x3a6e96[_0x480e0f(0x21d)](warnRenamed,_0x3a6e96[_0x480e0f(0x1a2)],'ranger\x20restore'),await withTelemetry('feature\x20restore',()=>featureRestore(_0x504993['id']));})[_0x1cc467(0x1ec)](0x1,_0x3a6e96[_0x1cc467(0x27e)]);})['command'](_0x488281(0x2bf),![],_0x3d09d0=>{const _0x53cc67=_0x488281,_0x8b18d7={'BVCDR':_0x3a6e96[_0x53cc67(0x316)]};return _0x3d09d0[_0x53cc67(0x244)](_0x53cc67(0x1b6),_0x3a6e96['jnKvV'],_0x535cea=>{const _0x4ed7c5=_0x53cc67;return _0x535cea['option']('session-id',{'type':_0x4ed7c5(0x2de),'description':_0x4ed7c5(0x2f6)});},async _0x9c3f1e=>{const _0x17ae10=_0x53cc67;await withTelemetry(_0x8b18d7['BVCDR'],()=>hook(_0x17ae10(0x1b6),_0x9c3f1e[_0x17ae10(0x245)]));})[_0x53cc67(0x244)](_0x3a6e96[_0x53cc67(0x236)],'Disable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x2c49fa=>{const _0x364158=_0x53cc67;return _0x2c49fa[_0x364158(0x312)](_0x3a6e96[_0x364158(0x247)],{'type':_0x3a6e96['GrcTD'],'description':_0x3a6e96['yCMtv']});},async _0x498fd3=>{const _0x4a7ad4=_0x53cc67;await withTelemetry(_0x4a7ad4(0x33c),()=>hook(_0x4a7ad4(0x29e),_0x498fd3[_0x4a7ad4(0x245)]));})[_0x53cc67(0x312)]('name',{'type':_0x3a6e96[_0x53cc67(0x33e)],'description':_0x3a6e96['lYaof']})[_0x53cc67(0x312)](_0x3a6e96[_0x53cc67(0x247)],{'type':_0x3a6e96[_0x53cc67(0x33e)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x4c2d05=>{const _0xb74935=_0x488281;_0x4c2d05[_0xb74935(0x1d8)]&&await hook(_0x4c2d05[_0xb74935(0x1d8)],_0x4c2d05[_0x3a6e96[_0xb74935(0x247)]]);})['demandCommand'](0x1,_0x3a6e96[_0x488281(0x19d)])[_0x488281(0x2dc)]()['fail'](async(_0x3a56d2,_0x219cef,_0x1a8c12)=>{const _0x27e421=_0x488281,_0x2d8ae9=_0x3a6e96[_0x27e421(0x1c5)](sanitizeArgs,process['argv'][_0x27e421(0x26a)](0x2)),_0x422591=_0x3a6e96['FFyDp'](getErrorType,_0x3a56d2,_0x219cef);if(_0x3a56d2&&_0x3a56d2[_0x27e421(0x243)](_0x3a6e96[_0x27e421(0x249)])){const _0x5f04df=process[_0x27e421(0x280)][0x2];console[_0x27e421(0x200)](_0x27e421(0x218)+_0x5f04df),console['error'](_0x3a6e96['unnYk']);}else{if(_0x3a56d2)console[_0x27e421(0x200)]('\x0a'+_0x3a56d2+'\x0a');else _0x219cef&&console['error']('\x0aError:\x20'+_0x219cef[_0x27e421(0x216)]+'\x0a');}await logDesirePath({'rawCommand':_0x2d8ae9,'errorMessage':_0x3a56d2||_0x219cef?.['message'],'errorType':_0x422591});const _0x3ee7f6=_0x3a6e96['KwOkb'](getCurrentCollector);_0x3ee7f6&&await _0x3ee7f6[_0x27e421(0x268)](_0x219cef||new Error(_0x3a6e96['eUYvw'](_0x3a56d2,_0x3a6e96[_0x27e421(0x196)]))),process[_0x27e421(0x20f)](0x1);})[_0x488281(0x2e5)](_0x3a6e96['lXgEs'](_0x3a6e96['KoIhq']+_0x488281(0x1df),_0x488281(0x2bb)))[_0x488281(0x202)]()[_0x488281(0x1c3)]('help','h');}function _0x1cbb(){const _0x4310de=['cuSry','unset\x20<env>\x20<key>','status','Config\x20key\x20to\x20remove','skip-chromium','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','rhExF','UpDnh','Feature\x20review\x20ID','ranger\x20feature\x20resume','add-checklist-item\x20<description>','Scenario\x20number\x20to\x20edit\x20(1-based)','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','kwjPo','weQEG','add\x20env\x20<env-name>','ranger\x20start','New\x20scenario\x20description','feature\x20delete','scenario','ranger\x20env\x20update','jCscu','ranger\x20feature\x20show','LzXwu','mYqXX','evaluation','Alias\x20for\x20--mcp-bootstrap','rELum','TQuBG','2375pntcje','hDMDy','omNoW','mgLsu','hfTrv','task','✓\x20Authenticated\x20to\x20','TJRMT','ucVPX','tokenOrSubcommand','ranger\x20profile\x20config\x20get','GAoHb','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','vvGdn','\x20is\x20now\x20','--profile','evaluationReason','WtDHb','Profile\x20name','eNizS','set\x20<env>\x20<key>\x20<value>','rdaVD','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','Run\x20full\x20interactive\x20setup','enable','--env','use\x20<profile-name>','env','TEgYm','profile\x20config\x20reset','list','setup-header','ranger\x20feature\x20delete','ranger\x20create','Summary:\x20','vqeiJ','yeXce','alias','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','IlLvG','rtoyM','ranger\x20feature\x20get-feedback','ranger\x20profile\x20config\x20unset','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','lldMn','repeat','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','token','kxYFI','HOCTL','WWXfR','aRmgA','headed','usage','wbVmn','NhcjB','SBKYM','fnpyV','name','TwByT','sdXEf','hook:enable','get-feedback\x20[id]','TjDgv','Skip\x20Chromium\x20browser\x20installation','\x20\x20https://docs.ranger.net\x0a','get-review\x20[id]','ranger\x20use','YeAIp','DWCUp','PQQhy','setup:all','.\x20[','ranger\x20profile\x20update','tnpBG','XMexw','Qvimb','Evaluation:\x20','demandCommand','nRtwy','ujuUp','severity','report\x20[id]','gjbpt','AfyZI','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','ranger\x20auth\x20encrypt','resume','Login\x20failed:\x20','2nbOczF','czjJM','delete\x20[id]','mQhuB','WyNPM','--scenario','eGAvh','nesHN','ZjzLF','error','blocked','help','with-deps','incomplete','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','profile\x20update','create\x20<name>','nJscT','Ranger\x20API\x20token\x20(rngr_...)','test_output','vFshB','RleWw','update\x20<profile-name>','update','exit','log','fzwoK','scope','GXRdb','sdEKM','2392GrXVyP','message','zUTHA','\x0aUnknown\x20command:\x20','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','ranger\x20profile\x20encrypt-auth','UBarH','summary','FTPkK','use\x20<env-name>','bzPFH','wouqX','profile\x20config\x20get','HMlri','Skip\x20the\x20deletion\x20confirmation\x20prompt.','gfXDL','RGOEP','start\x20[token]','OZliA','jKBLf','DZCbT','Delete\x20a\x20cloud\x20profile','show','tqyyg','include-deleted','env\x20list','TiMac','scriptName','GSvUJ','lXkFU','item','Name\x20of\x20the\x20profile','kIUpG','jtKqB','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','NAgWJ','unset\x20<profile>\x20<key>','ORAxe','report','--checklist','You\x20must\x20specify\x20a\x20config\x20subcommand','start','JbSPW','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','hUbDj','includes','command','session-id','offset','ioAWA','RVymO','eubmF','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','nqUww','✓\x20Login\x20succeeded\x20for\x20\x27','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','--item','safe-mode','ranger\x20go','gtSrY','NdFhk','env\x20update','FRuyF','verified','aFfxP','ATsEg','BysOb','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','add-scenario\x20<description>','fqjto','eHAMt','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','skip-auth','ubfhs','SylIn','config\x20get','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','GysSw','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','kzCVL','trackCommandError','Manage\x20profile\x20configuration','slice','8175516OieebX','feature\x20add-checklist-item','Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.','dCnhb','lylTF','setup:skills','show\x20[id]','json','CVLvl','Set\x20up\x20a\x20local\x20browser\x20profile','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','ranger\x20setup','wbQyX','wodwn','profile\x20use','verify-feature','ranger\x20add-scenario','\x20is\x20no\x20longer\x20supported.\x20','kpapi','GHnUo','eLzRb','argv','dry-run','login','hexRl','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','config','deps','nkojd','\x27.\x20Session\x20saved.','boolean','OiGFJ','bvADJ','PxBtN','debug-outcome','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','stDhl','vIgMJ','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','xhLgP','notes','profiles','exclude-scenario','MOKcB','config\x20set','wUYks','You\x20must\x20specify\x20an\x20env\x20subcommand','BjpVQ','mcp','Install\x20Ranger\x20skills','HsupL','disable','\x20INCOMPLETE','print-access-token','skillup','xaRrg','KcLMb','Itjms','\x0aIssues:','NeElD','NdBzz','ranger\x20profile\x20use','some','CexDi','pxioj','FCTaC','description','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','ranger\x20profile\x20add','vgkie','gDWbx','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','ranger\x20show','edit-scenario\x20<description>','LAlTU','cdp-endpoint','url','Update\x20authentication\x20for\x20an\x20existing\x20profile','checklist','ACxlp','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','Environment\x20name','value','encrypt-auth\x20<profile>','hook','user','profile','ranger\x20profile\x20ls','profile-name','force','forEach','zyLNR','Scenario\x20description','HDCDF','Skip\x20authentication','itDUh','list\x20<profile>','ranger\x20env\x20ls','MxQnY','cYTIP','env-name','20514610KvMxhe','WEDIs','fWxkm','test','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','35819FyEytz','Switch\x20to\x20using\x20a\x20specific\x20profile','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','1054014vMOedN','auth','lXOOg','jXNJJ','strictCommands','wKYmP','string','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','current-branch','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','Subcommand\x20or\x20API\x20token\x20(rngr_...)','mcp-bootstrap','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','epilogue','HyVll','setup-ci','QKBQY','AkerK','EniDy','RORZy','Number\x20of\x20feature\x20reviews\x20to\x20skip','Initialize\x20Ranger\x20in\x20your\x20project','dvGqH','save-creds','1240821nxXPem','Config\x20key','Name\x20of\x20the\x20environment','unhandledRejection','Install\x20OS-level\x20dependencies\x20for\x20Chromium','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','key','Add\x20profile\x20configuration','clean','YLbuj','8807868hyfOzv','aqttb','amGxh','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','array','start-path','cwd','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','restore\x20<id>','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','iQZTT','ATWdq','limit','Unknown\x20error','pqgTL','GCJtd','ranger\x20config\x20list','config\x20unset','not_configured','Install\x20skills\x20for\x20OpenCode','pYowy','GGFBM','success','option','LbCed','gXZpX','Include\x20soft-deleted\x20feature\x20reviews','puoRT','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201','ranger\x20feature\x20restore','get-review','Documentation:\x0a','ylkdQ','9780kjZTYz','Authenticate\x20with\x20Ranger','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','kHmHT','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','pguyC','Install\x20scope\x20for\x20skills','xZSLn','qKmbS','opencode','ranger\x20config\x20set','caMNB','Tbfpi','LXiXH','config\x20list','aMBuI','JTXEe','EfLJl','use','partial','dqmSd','DxNUZ','list\x20<env>','feature','GnhOa','number','DlqnY','claude','paVOt','base-url','wiuKC','FFyDp','hook:disable','issues','GrcTD','buYyJ','vgDRm','positional','Reason:\x20','RWNqg','JsKac','yes','debug-address-comments','allow-insecure-localhost'];_0x1cbb=function(){return _0x4310de;};return _0x1cbb();}process[_0x463399(0x1b9)]['NODE_ENV']!==_0x463399(0x2d3)&&(shouldShowLegacyWarning(process[_0x463399(0x280)])&&showLegacyDeprecationWarning(),buildParser()['parse']());
|