@ranger-testing/ranger-cli 3.1.2-alpha.059c7a3-40 → 3.1.2-alpha.b450a14-41

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.
Files changed (85) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/deleteProfile.js +1 -1
  7. package/build/commands/env.js +1 -1
  8. package/build/commands/feature.js +1 -1
  9. package/build/commands/hook.js +1 -1
  10. package/build/commands/hooks/autoPrompt.js +1 -1
  11. package/build/commands/hooks/disable.js +1 -1
  12. package/build/commands/hooks/enable.js +1 -1
  13. package/build/commands/hooks/exitPlanMode.js +1 -1
  14. package/build/commands/hooks/index.js +1 -1
  15. package/build/commands/hooks/output.js +1 -1
  16. package/build/commands/hooks/planReminder.js +1 -1
  17. package/build/commands/hooks/planStart.js +1 -1
  18. package/build/commands/hooks/postEdit.js +1 -1
  19. package/build/commands/hooks/preCompact.js +1 -1
  20. package/build/commands/hooks/sessionEnd.js +1 -1
  21. package/build/commands/hooks/sessionStart.js +1 -1
  22. package/build/commands/hooks/stopHook.js +1 -1
  23. package/build/commands/index.js +1 -1
  24. package/build/commands/login.js +1 -1
  25. package/build/commands/mcpBootstrap.js +1 -1
  26. package/build/commands/migrateProfile.js +1 -1
  27. package/build/commands/setup/claude.js +1 -1
  28. package/build/commands/setup/opencode.js +1 -1
  29. package/build/commands/setupCi.js +1 -1
  30. package/build/commands/skillup.js +1 -1
  31. package/build/commands/start.js +1 -1
  32. package/build/commands/status.js +1 -1
  33. package/build/commands/update.js +1 -1
  34. package/build/commands/updateEnv.js +1 -1
  35. package/build/commands/useEnv.js +1 -1
  36. package/build/commands/utils/activeProfile.js +1 -1
  37. package/build/commands/utils/agentEnv.js +1 -1
  38. package/build/commands/utils/browserSessionsApi.js +1 -1
  39. package/build/commands/utils/claudeConfig.js +1 -1
  40. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  41. package/build/commands/utils/claudePlugin.js +1 -1
  42. package/build/commands/utils/cloudProfile.js +1 -1
  43. package/build/commands/utils/cloudProfileSession.js +1 -1
  44. package/build/commands/utils/crypto.js +1 -1
  45. package/build/commands/utils/desirePathLog.js +1 -1
  46. package/build/commands/utils/deviceAuth.js +1 -1
  47. package/build/commands/utils/environment.js +1 -1
  48. package/build/commands/utils/featureApi.js +1 -1
  49. package/build/commands/utils/fixWebmDuration.js +1 -1
  50. package/build/commands/utils/gitTracked.js +1 -1
  51. package/build/commands/utils/keychain.js +1 -1
  52. package/build/commands/utils/legacyWarning.js +1 -1
  53. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  54. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  55. package/build/commands/utils/mcpImageBase64.js +1 -1
  56. package/build/commands/utils/model.js +1 -1
  57. package/build/commands/utils/novaActCli.js +1 -1
  58. package/build/commands/utils/opencodeConfig.js +1 -1
  59. package/build/commands/utils/organizationEnvApi.js +1 -1
  60. package/build/commands/utils/playwrightCli.js +1 -1
  61. package/build/commands/utils/profileMessages.js +1 -1
  62. package/build/commands/utils/profileSetupBanner.js +1 -1
  63. package/build/commands/utils/projectsConfig.js +1 -1
  64. package/build/commands/utils/rangerConfig.js +1 -1
  65. package/build/commands/utils/rangerRoot.js +1 -1
  66. package/build/commands/utils/rangerwrightCli.js +1 -1
  67. package/build/commands/utils/resolveProfileContext.js +1 -1
  68. package/build/commands/utils/resolveProfileUrl.js +1 -1
  69. package/build/commands/utils/retry.js +1 -1
  70. package/build/commands/utils/sessionCache.js +1 -1
  71. package/build/commands/utils/settings.js +1 -1
  72. package/build/commands/utils/skillContent.js +1 -1
  73. package/build/commands/utils/skills.js +1 -1
  74. package/build/commands/utils/stitchWebmFiles.js +1 -1
  75. package/build/commands/utils/telemetry.js +1 -1
  76. package/build/commands/utils/tokenRefresh.js +1 -1
  77. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  78. package/build/commands/utils/tunnelClient.js +1 -1
  79. package/build/commands/utils/userApi.js +1 -1
  80. package/build/commands/utils/version.js +1 -1
  81. package/build/commands/verifyFeature.js +1 -1
  82. package/build/commands/verifyFeatureCli.js +1 -1
  83. package/build/commands/verifyFeatureNovaCli.js +1 -1
  84. package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
  85. package/package.json +1 -1
package/build/cli.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const _0x456391=_0x337d;(function(_0xa219e2,_0xe55326){const _0x122e8a=_0x337d,_0x1e0aa4=_0xa219e2();while(!![]){try{const _0x58b81d=-parseInt(_0x122e8a(0x207))/0x1*(-parseInt(_0x122e8a(0x29f))/0x2)+parseInt(_0x122e8a(0x378))/0x3+parseInt(_0x122e8a(0x291))/0x4*(-parseInt(_0x122e8a(0x26d))/0x5)+-parseInt(_0x122e8a(0x386))/0x6*(-parseInt(_0x122e8a(0x39b))/0x7)+parseInt(_0x122e8a(0x230))/0x8+-parseInt(_0x122e8a(0x27d))/0x9*(parseInt(_0x122e8a(0x1d6))/0xa)+-parseInt(_0x122e8a(0x226))/0xb;if(_0x58b81d===_0xe55326)break;else _0x1e0aa4['push'](_0x1e0aa4['shift']());}catch(_0x4d51e8){_0x1e0aa4['push'](_0x1e0aa4['shift']());}}}(_0x4ec6,0x7f77b));import _0x1593df from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0xd70f75=_0x337d,_0xd6bfd8={'ChUhL':function(_0x4b8173,_0xb64709,_0x41ead8){return _0x4b8173(_0xb64709,_0x41ead8);},'Vvivg':'.ranger'};let _0xcc56ba=process['cwd']();const _0x1e2068=parse(_0xcc56ba)['root'];while(_0xcc56ba!==_0x1e2068){if(existsSync(_0xd6bfd8['ChUhL'](join,_0xcc56ba,_0xd6bfd8[_0xd70f75(0x34c)]))||existsSync(join(_0xcc56ba,'.env')))return _0xcc56ba;_0xcc56ba=dirname(_0xcc56ba);}return process['cwd']();}_0x1593df[_0x456391(0x20f)]({'path':join(findProjectRoot(),'.env')});import _0x535911 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';function _0x337d(_0x3f68c4,_0x5b36da){_0x3f68c4=_0x3f68c4-0x1c2;const _0x4ec654=_0x4ec6();let _0x337d11=_0x4ec654[_0x3f68c4];return _0x337d11;}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 _0x4ec6(){const _0x1753ba=['feature\x20get-feedback','UZjgz','Print\x20the\x20current\x20CLI\x20access\x20token','ranger\x20auth\x20encrypt','IfAuD','\x27.\x20Session\x20saved.','sHSnJ','FjiTW','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','message','profile\x20login','array','ranger\x20env\x20ls','safe-mode','cjzli','nuaRo','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','profile\x20ls','LfVns','get-feedback\x20[id]','description','uHcol','mcp','wpyGn','WOikd','UCayr','BtWvQ','fuMBo','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','Include\x20soft-deleted\x20feature\x20reviews','add\x20<profile-name>','sASgt','current-branch','pMQOk','offset','onWLq','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','EpLYN','Jhupv','wTGBz','SHZPb','Add\x20profile\x20configuration','srreF','gOJlX','ITqOY','XjbAp','yarOS','Example:\x20ranger\x20create\x20my-feature','Run\x20full\x20interactive\x20setup','tdndE','CKVMF','edit-scenario\x20<description>','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','scope','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','positional','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','AyQMC','setup-ci','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','number','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','split','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','xzuxN','ClIfu','DueVz','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','uFRYS','KYiEn','KPWcn','Vvivg','cdp-endpoint','AHUII','debug-address-comments','with-deps','udhWL','usage','mcp-bootstrap','opencode','You\x20must\x20specify\x20a\x20profile\x20subcommand','Ranger\x20API\x20token\x20(rngr_...)','xXwLA','✓\x20Authenticated\x20to\x20','lXkpt','\x20INCOMPLETE','gHkaZ','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','wfvrx','GYeUw','list','Base\x20URL\x20of\x20the\x20running\x20app','bPBEY','LYHfe','Feature\x20review\x20ID\x20to\x20restore','Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','rlejt','bXeUS','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','Config\x20key\x20to\x20remove','hook','QumEH','Environment\x20name','\x20\x20https://docs.ranger.net\x0a','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','exit','update\x20<profile-name>','BwknI','rVjcV','brihR','setup:skills','SeIyD','Unknown\x20command','restore','1658547uovYko','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','XZcbt','ranger\x20profile\x20config\x20get','ZstVj','ranger','WLAYa','profile\x20use','HTYdQ','Xhwod','option','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','JOnMn','hXUGB','370812dxvaEQ','LBJFP','feature\x20create','fAxhI','Authenticate\x20with\x20Ranger','ranger\x20go','UaQqg','partial','HqCkL','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','DtxwH','use\x20<env-name>','manual','env','ranger\x20feature\x20create','YlYZw','slice','ranger\x20restore','status','setup-header','PorZk','112CvtzKd','Install\x20skills\x20for\x20OpenCode','ranger\x20feature\x20resume','issues','skip-auth','tokenOrSubcommand','Ranger\x20API\x20token','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','verify-feature','VCjvP','lBFeb','start-path','delete\x20<profile-name>','demandCommand','amHhG','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','xdmQc','argv','tDAZI','jggzN','\x0aError:\x20','enable','encrypt\x20<profile>','4090auUWRF','Scenario\x20index\x20(1-based)','\x20PARTIAL','Set\x20up\x20a\x20local\x20browser\x20profile','ZgCDx','ontQx','Manage\x20profiles','notes','lOwUY','QFZLu','zIUxE','KeUaG','YynMp','New\x20scenario\x20description','bFYIG','LFSjM','log','FAaBl','token','FMQPL','ranger\x20start','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','ranger\x20feature\x20list','show','✓\x20Login\x20succeeded\x20for\x20\x27','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','lXNMt','You\x20must\x20specify\x20an\x20env\x20subcommand','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','skills','Evaluation:\x20','jYliu','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','RbnZM','jQifh','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','NbNtL','Login\x20failed:\x20','incomplete','EkHrg','start\x20[token]','bXrIw','vHXoJ','delete\x20[id]','WMrml','jsxwe','SSjup','add\x20env\x20<env-name>','print-access-token','2662NOJvJS','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','krMYZ','task','Install\x20Chromium\x20browser\x20binary','model','ZiIbr','CsslD','config','url','jubvp','ranger\x20profile\x20use','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','isArray','repeat','caqni','OiYbZ','QtGek','alias','tiTRI','DoGlW','Alias\x20for\x20--mcp-bootstrap','fuuvS','mtrPb','.\x20[','JFcxv','Install\x20OS-level\x20dependencies\x20for\x20Chromium','setup:profiles','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','yes','ranger\x20env\x20update','13658293aIjPNz','JWvxt','kEBpH','map','project','boolean','error','PIuhf','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','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.','3663368GTPzVk','env-var','save-creds','czyyG','OVIkw','profile-name','nnTkU','Remove\x20a\x20config\x20value','MnmPs','vgFpv','ksuUo','flatMap','Restore\x20a\x20soft-deleted\x20feature\x20review','epilogue','env\x20list','SPOae','WBbWV','jEYkw','yBSHx','AhzjD','TnZDg','dCzkG','vgmxb','BdLRX','Documentation:\x0a','AtqKP','allow-insecure-localhost','profile\x20delete','ranger\x20profile\x20encrypt-auth','update','limit','You\x20must\x20specify\x20a\x20command','checklist','ZosTz','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','CfgSX','setup:login','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','RANGER_TEST_PASSWORD','JAsxZ','include-deleted','list\x20<env>','use','dTeZt','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','profile\x20config\x20set','API\x20token','MrKAl','QVADu','fDYbq','Config\x20value','RANGER_TEST_USERNAME','Tftft','help','length','hKqOt','WERkD','item','RXWsv','key','ranger\x20list','2282905VaXFKY','SnpBm','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','ranger\x20config\x20set','--profile','sGlwK','verified','headed','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','force','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','LqTMw','use\x20<profile-name>','qUpzy','dkrKE','6975WoNxfF','HuxbR','Scenario\x20number\x20to\x20edit\x20(1-based)','Config\x20key','environment-variable','yXXtR','Feature\x20review\x20name','nRYbu','\x20VERIFIED','caGHb','drCkE','all','EDtyz','BjPUs','Skip\x20authentication','DupJp','Feature\x20review\x20ID','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','ranger\x20config\x20get','json','4yOECYT','scenario','SxQNh','Name\x20of\x20the\x20profile\x20to\x20update','create\x20<name>','Feature\x20review\x20description','evaluation','VLzAb','user','iICkP','QkRqx','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','command','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','404NWwmMh','Cbnrk','Name\x20of\x20the\x20environment','rKgOC','zYChb','scriptName','set\x20<env>\x20<key>\x20<value>','mOayA','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','eGEsa','feature\x20list','session-id','\x0aIssues:','CRHfn','add-scenario\x20<description>','wgDpv','ekfpg','TWqbx','uzLta','feature\x20delete','oDOag','nyMvK','blocked','hook:disable','tWQBg','organizationName','profile\x20config\x20reset','diFfE','lntpL','\x20FAILED','ranger\x20add\x20env','Uutwm','profile\x20migrate','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','--task','PycBB','\x20BLOCKED','ranger\x20config\x20list','KpzyJ','HzrTm','Name\x20of\x20the\x20profile','skip-chromium','DNLlS','HCbpl','oDfQM','UBIpG','Rumhs','name','feature','value','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','ranger\x20create','ckKBS','NODE_ENV','qsWTg','JpuJn','setup\x20[tokenOrSubcommand]','nzLnw','QjmHG','resume','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','uORlb','string','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','Unknown\x20error','Skip\x20the\x20deletion\x20confirmation\x20prompt.','Profile\x20name','some','bFaEg','unset\x20<profile>\x20<key>','cHpcR','disable','TbLAX','debug-outcome','jGMgX','Oltbv','Update\x20authentication\x20for\x20an\x20existing\x20profile','TLQZh','YGwJi','Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','mNPpA','dlopC','reset\x20<profile>','dLWgI','YjPqE','xeuqo','\x20is\x20now\x20','qGyTa','playwright-cli','sINfh','OWjxX','test_output','ranger\x20profile\x20config\x20list','profile','PSJhG','HYRog','isWHm','XvGTC','dry-run','env-name','base-url'];_0x4ec6=function(){return _0x1753ba;};return _0x4ec6();}import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x55625b=>{const _0x39f76c=getCurrentCollector();_0x39f76c&&await _0x39f76c['trackCommandError'](_0x55625b),process['exitCode']=0x1;});const rawArgs=process['argv'][_0x456391(0x396)](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201',PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201';function warnRenamed(_0x2f43b8,_0x3c9d9){const _0x5c5791=_0x456391;console[_0x5c5791(0x22c)]('\x0a'+_0x2f43b8+_0x5c5791(0x2f5)+_0x3c9d9+'\x0a');}function argUsed(_0x38d8b8){const _0x22f0bb=_0x456391;return rawArgs[_0x22f0bb(0x2e2)](_0x1b092d=>_0x1b092d===_0x38d8b8||_0x1b092d['startsWith'](_0x38d8b8+'='));}function warnFlagRenamed(_0x43c5e1,_0x2ffc34,_0x32d068){const _0x577b51={'uepKR':function(_0xd6ac21,_0x45dd35,_0x3fa3bc){return _0xd6ac21(_0x45dd35,_0x3fa3bc);}};argUsed(_0x2ffc34)&&_0x577b51['uepKR'](warnRenamed,_0x43c5e1+'\x20'+_0x2ffc34,_0x43c5e1+'\x20'+_0x32d068);}function normalizeEnvVarNames(_0x513e05){const _0x195b05=_0x456391,_0x13ac70=Array[_0x195b05(0x214)](_0x513e05)?_0x513e05:_0x513e05?[_0x513e05]:[];return _0x13ac70[_0x195b05(0x23b)](_0x10992b=>String(_0x10992b)[_0x195b05(0x342)](',')['map'](_0x2fa4f9=>_0x2fa4f9['trim']())['filter'](Boolean));}async function runGoCommand(_0x436016,_0x1966be=![]){const _0x1a58ed=_0x456391,_0x789bb5={'cUtxI':_0x1a58ed(0x271),'JFcxv':function(_0x53af8d,_0xb1ac03,_0x5adb31,_0x391c1c){return _0x53af8d(_0xb1ac03,_0x5adb31,_0x391c1c);},'EkHrg':function(_0x3114cb){return _0x3114cb();},'fuuvS':function(_0x183ef9,_0x2fd056){return _0x183ef9(_0x2fd056);},'Jhupv':_0x1a58ed(0x231),'VLzAb':function(_0x225abd,_0x35e995){return _0x225abd>_0x35e995;},'ggCRn':function(_0x3cf23a,_0x405c32){return _0x3cf23a!==_0x405c32;},'GoEoK':_0x1a58ed(0x2f7),'CsslD':function(_0xbfb0a4,_0x242c88){return _0xbfb0a4!==_0x242c88;},'wpyGn':'rangerwright-cli','fVePm':'start-path','OyjYV':_0x1a58ed(0x2e8),'wTGBz':_0x1a58ed(0x34f),'bXrIw':function(_0x322b7b,_0x5a1502){return _0x322b7b+_0x5a1502;},'xIGXL':_0x1a58ed(0x285),'dkrKE':function(_0x59e8ba,_0x15d67a){return _0x59e8ba===_0x15d67a;},'SPOae':_0x1a58ed(0x1d8),'fEHXW':'blocked'};_0x1966be&&warnRenamed('ranger\x20verify-feature',_0x1a58ed(0x38b));warnFlagRenamed(_0x1a58ed(0x38b),'--env',_0x789bb5['cUtxI']),warnFlagRenamed(_0x1a58ed(0x38b),_0x1a58ed(0x2c1),'--notes'),_0x789bb5[_0x1a58ed(0x220)](warnFlagRenamed,_0x1a58ed(0x38b),'--item','--scenario');const _0x5651a3=await _0x789bb5[_0x1a58ed(0x1fd)](loadRangerConfig),_0x565d4a=_0x789bb5['EkHrg'](isByokEnabled),_0x45b273=_0x436016['model'],_0x27e66f=_0x5651a3['model'],_0x20c7b0=_0x789bb5[_0x1a58ed(0x21d)](normalizeEnvVarNames,_0x436016[_0x789bb5[_0x1a58ed(0x32a)]]),_0x414f27=_0x789bb5[_0x1a58ed(0x1fd)](getVerificationTransport);if(_0x789bb5[_0x1a58ed(0x298)](_0x20c7b0[_0x1a58ed(0x266)],0x0)&&_0x789bb5['ggCRn'](_0x414f27,_0x789bb5['GoEoK'])&&_0x789bb5[_0x1a58ed(0x20e)](_0x414f27,_0x789bb5[_0x1a58ed(0x31b)]))throw new Error(_0x1a58ed(0x252)+_0x414f27+'.');const _0xfc86ad=await verifyFeature({'featureId':_0x436016[_0x1a58ed(0x2cf)],'profile':_0x436016['profile']??_0x436016[_0x1a58ed(0x393)]??process['env']['RANGER_PROFILE'],'notes':_0x436016['notes']??_0x436016[_0x1a58ed(0x20a)],'scenario':_0x436016['scenario']??_0x436016[_0x1a58ed(0x269)],'startPath':_0x436016[_0x789bb5['fVePm']],'baseUrl':_0x436016[_0x1a58ed(0x303)],'debugOutcome':_0x436016[_0x789bb5['OyjYV']],'debugAddressComments':_0x436016[_0x789bb5[_0x1a58ed(0x32b)]],'headed':_0x436016['headed'],'verifierEnvVars':_0x20c7b0,'byokEnabled':_0x565d4a,'flagVerifyModel':_0x45b273,'configVerifyModel':_0x27e66f});console[_0x1a58ed(0x1e6)](_0x789bb5[_0x1a58ed(0x1ff)]('\x0a','='['repeat'](0x3c))),console['log'](_0xfc86ad[_0x1a58ed(0x297)]==='verified'?_0x789bb5['xIGXL']:_0xfc86ad[_0x1a58ed(0x297)]===_0x1a58ed(0x1fc)?_0x1a58ed(0x35a):_0x789bb5[_0x1a58ed(0x27c)](_0xfc86ad[_0x1a58ed(0x297)],'partial')?_0x789bb5[_0x1a58ed(0x23f)]:_0x789bb5[_0x1a58ed(0x27c)](_0xfc86ad[_0x1a58ed(0x297)],_0x789bb5['fEHXW'])?_0x1a58ed(0x2c3):_0x1a58ed(0x2bc)),console[_0x1a58ed(0x1e6)]('='[_0x1a58ed(0x215)](0x3c)),console['log']('Summary:\x20'+_0xfc86ad['summary']),console[_0x1a58ed(0x1e6)](_0x1a58ed(0x1f4)+_0xfc86ad[_0x1a58ed(0x297)]),console[_0x1a58ed(0x1e6)]('Reason:\x20'+_0xfc86ad['evaluationReason']),_0xfc86ad[_0x1a58ed(0x39e)]?.[_0x1a58ed(0x266)]&&(console[_0x1a58ed(0x1e6)](_0x1a58ed(0x2ab)),_0xfc86ad[_0x1a58ed(0x39e)]['forEach']((_0x564008,_0x2911e0)=>{const _0x1b9580=_0x1a58ed;console['log']('\x0a'+(_0x2911e0+0x1)+_0x1b9580(0x21f)+_0x564008['severity']+']\x20'+_0x564008[_0x1b9580(0x318)]);})),process['exit'](_0xfc86ad[_0x1a58ed(0x297)]===_0x1a58ed(0x273)?0x0:0x1);}export function buildParser(_0x3ce7c8){const _0x28a8da=_0x456391,_0x288f9f={'CWejq':_0x28a8da(0x283),'Uutwm':'string','AHUII':'Feature\x20review\x20description','sHSnJ':'scenario','KeUaG':_0x28a8da(0x208),'TLQZh':_0x28a8da(0x250),'DtxwH':function(_0x43ee4f,_0x45fdf5){return _0x43ee4f+_0x45fdf5;},'BtWvQ':_0x28a8da(0x333),'AyQMC':'--checklist','zIUxE':function(_0x4a584b,_0x1d1882,_0x32eb4d){return _0x4a584b(_0x1d1882,_0x32eb4d);},'PorZk':'limit','UCayr':_0x28a8da(0x340),'mmVOr':_0x28a8da(0x321),'caqni':function(_0x4fbcb7,_0x32d87e,_0x3b8838){return _0x4fbcb7(_0x32d87e,_0x3b8838);},'NvKJp':'list','GgyMc':_0x28a8da(0x1ed),'KYiEn':_0x28a8da(0x2da),'cmDqU':'description','krMYZ':'Scenario\x20description','uFRYS':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','EDtyz':_0x28a8da(0x1e3),'VddGd':'edit-scenario','drCkE':_0x28a8da(0x28d),'JWvxt':'exclude-scenario','FjiTW':_0x28a8da(0x348),'QMyiK':'json','HuxbR':'boolean','rVjcV':'report','vHXoJ':'delete','XZcbt':_0x28a8da(0x377),'ksuUo':'token','YGwJi':_0x28a8da(0x356),'HqCkL':_0x28a8da(0x31a),'RbnZM':_0x28a8da(0x2d1),'NBWIM':_0x28a8da(0x254),'rlejt':_0x28a8da(0x339),'Tftft':_0x28a8da(0x38f),'jubvp':function(_0x49f465,_0x5551a6){return _0x49f465!==_0x5551a6;},'DAFdU':_0x28a8da(0x222),'SxQNh':_0x28a8da(0x1c5),'wgDpv':'with-deps','PSJhG':_0x28a8da(0x24a),'mNPpA':_0x28a8da(0x353),'TnZDg':'setup:all','fFCFF':'ranger','Oltbv':function(_0xe61324){return _0xe61324();},'GYeUw':'user','SHZPb':_0x28a8da(0x210),'nzLnw':'skip-auth','ZDEha':'Skip\x20browser\x20authentication','fDYbq':_0x28a8da(0x368),'bPBEY':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','VCjvP':_0x28a8da(0x38a),'lXkpt':_0x28a8da(0x1f3),'bFaEg':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','UaQqg':'profiles','KPWcn':_0x28a8da(0x2c8),'YlYZw':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','DNLlS':_0x28a8da(0x276),'mCPDH':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','QZLGs':_0x28a8da(0x1ef),'zuhcA':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','jggzN':'start','LkAJv':_0x28a8da(0x1c3),'onWLq':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','SeIyD':'login','nuaRo':_0x28a8da(0x22a),'QkRqx':function(_0x42b8b2,_0x2abb4a,_0x40fda2){return _0x42b8b2(_0x2abb4a,_0x40fda2);},'EpLYN':'clean','JOnMn':_0x28a8da(0x235),'QtGek':_0x28a8da(0x37f),'Xhwod':'profile','rKgOC':'profile\x20update','JAsxZ':function(_0x34f090,_0x4d8ff8,_0x690194){return _0x34f090(_0x4d8ff8,_0x690194);},'IHgEb':_0x28a8da(0x2a7),'NFyty':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','tDAZI':_0x28a8da(0x1eb),'XvGTC':_0x28a8da(0x213),'qUpzy':_0x28a8da(0x2e0),'HmRwm':function(_0xd2a188,_0x78b1f3,_0x3c3edd){return _0xd2a188(_0x78b1f3,_0x3c3edd);},'nnTkU':_0x28a8da(0x24b),'RKysZ':_0x28a8da(0x2ce),'zgaKv':_0x28a8da(0x223),'yXXtR':function(_0x107950,_0x1db923){return _0x107950===_0x1db923;},'LYHfe':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','vGQhS':'dry-run','PqjNi':_0x28a8da(0x338),'oiwXt':'Skip\x20interactive\x20confirmation\x20prompts.','ClIfu':_0x28a8da(0x2db),'TxoyM':'Profile\x20name','VBoqW':_0x28a8da(0x33c),'dCzkG':_0x28a8da(0x25d),'CYNUX':_0x28a8da(0x369),'tiTRI':'Set\x20a\x20config\x20value','BXJHX':'Get\x20a\x20config\x20value','yBSHx':'List\x20all\x20config\x20for\x20a\x20profile','ZgCDx':'Delete\x20a\x20cloud\x20profile','jQifh':_0x28a8da(0x370),'RWhZA':_0x28a8da(0x2eb),'DueVz':'config','BjPUs':'Manage\x20profile\x20configuration','qYbic':_0x28a8da(0x24d),'fSYUc':_0x28a8da(0x2cf),'SSjup':'Optional\x20feature\x20ID','bOsil':_0x28a8da(0x1d7),'FMQPL':_0x28a8da(0x1ca),'dTeZt':_0x28a8da(0x231),'BJXXC':_0x28a8da(0x281),'dPhQV':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','QWhle':'debug-outcome','MnmPs':_0x28a8da(0x2b5),'fuMBo':'failed','ZstVj':'debug-address-comments','sGlwK':'env','MrKAl':'item','amHhG':'You\x20must\x20specify\x20an\x20auth\x20subcommand','qiUDR':_0x28a8da(0x26f),'NbNtL':_0x28a8da(0x1ea),'JrqnC':'ranger\x20setup','avZly':function(_0x195959,_0x31aaa9,_0x560740){return _0x195959(_0x31aaa9,_0x560740);},'pMQOk':'task','bnGrC':_0x28a8da(0x1dd),'aochF':_0x28a8da(0x303),'nEGPr':'model','yheNT':_0x28a8da(0x274),'DTSPk':_0x28a8da(0x273),'UGcoQ':'partial','srreF':function(_0x3248e8,_0x16f1b0,_0x4b76a2){return _0x3248e8(_0x16f1b0,_0x4b76a2);},'caGHb':_0x28a8da(0x328),'BKbLh':function(_0x123da6,_0x9598d3,_0x46388d){return _0x123da6(_0x9598d3,_0x46388d);},'zYChb':'env-name','vgFpv':function(_0x250fb6,_0x4b2521,_0x1768e8){return _0x250fb6(_0x4b2521,_0x1768e8);},'SsYfw':'ranger\x20use','ilXEv':_0x28a8da(0x212),'iICkP':_0x28a8da(0x36c),'ojzZW':'key','deVWB':'Config\x20key','plFFA':function(_0x283c61,_0x5838a2,_0x4beeb7){return _0x283c61(_0x5838a2,_0x4beeb7);},'TWqbx':_0x28a8da(0x37b),'YjPqE':function(_0x25920d,_0x5896b5,_0x17ea33){return _0x25920d(_0x5896b5,_0x17ea33);},'XZTot':_0x28a8da(0x2c4),'sgFeV':'ranger\x20profile\x20config\x20unset','CRHfn':function(_0x3fa868,_0x1e708c,_0x15d23f){return _0x3fa868(_0x1e708c,_0x15d23f);},'NBQnX':_0x28a8da(0x262),'sqzfM':_0x28a8da(0x2a5),'gLmQm':'get\x20<env>\x20<key>','sASgt':'unset\x20<env>\x20<key>','OiYbZ':'Name\x20of\x20the\x20environment\x20to\x20update','AYzNk':_0x28a8da(0x310),'DyFJD':'update\x20<env-name>','AYbLr':_0x28a8da(0x1f1),'isWHm':_0x28a8da(0x394),'Cbnrk':_0x28a8da(0x324),'jEYkw':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','HbPYj':function(_0x57d57b,_0x3fd6cf,_0x46eaf6){return _0x57d57b(_0x3fd6cf,_0x46eaf6);},'cczxi':'ranger\x20feature\x20get-feedback','dlopC':function(_0x143557,_0x2212bc,_0x64d769){return _0x143557(_0x2212bc,_0x64d769);},'UBIpG':_0x28a8da(0x304),'brihR':_0x28a8da(0x397),'gUeuy':_0x28a8da(0x30f),'CfgSX':function(_0xd26f19,_0x17f727,_0x485b67){return _0xd26f19(_0x17f727,_0x485b67);},'CTZDY':'ranger\x20resume','TbLAX':function(_0x11f86b,_0x17e7c5,_0x419c85){return _0x11f86b(_0x17e7c5,_0x419c85);},'xgVcQ':'ranger\x20feature\x20add-checklist-item','qGyTa':'feature\x20add-checklist-item','mtrPb':_0x28a8da(0x2b2),'DoGlW':'show\x20[id]','otcFE':'resume\x20[id]','nRYbu':'add-checklist-item\x20<description>','uzLta':_0x28a8da(0x317),'gHkaZ':_0x28a8da(0x201),'DUhGp':_0x28a8da(0x2aa),'mIxbc':_0x28a8da(0x2b6),'WKSsX':_0x28a8da(0x1d4),'zafOJ':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','mWrWI':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','RXWsv':_0x28a8da(0x1f2),'JpuJn':_0x28a8da(0x343),'tdndE':function(_0x1c684f,_0x471cf7){return _0x1c684f(_0x471cf7);},'OVIkw':function(_0x41127b,_0x37701b,_0x80b5d0){return _0x41127b(_0x37701b,_0x80b5d0);},'eGEsa':_0x28a8da(0x376),'QumEH':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','bHDSk':_0x28a8da(0x295),'HVGfk':'List\x20all\x20feature\x20reviews','ontQx':'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','xXwLA':_0x28a8da(0x2ad),'wAeAw':_0x28a8da(0x337),'zvpKb':'report\x20[id]','RexsY':'get-review\x20[id]','BwknI':'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','WERkD':_0x28a8da(0x344),'xeuqo':'Initialize\x20Ranger\x20in\x20your\x20project','LBJFP':_0x28a8da(0x275),'xZyux':'Install\x20Ranger\x20skills','NcXSa':_0x28a8da(0x1dc),'lOwUY':'status','mOayA':_0x28a8da(0x35c),'hXUGB':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','ydBCa':_0x28a8da(0x306),'wHDih':_0x28a8da(0x1fe),'guESd':_0x28a8da(0x24f),'Rumhs':_0x28a8da(0x248),'LccrN':_0x28a8da(0x36d),'gOJlX':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','AtqKP':'help'};return _0x288f9f['tdndE'](_0x535911,_0x3ce7c8??process[_0x28a8da(0x1d0)]['slice'](0x2))[_0x28a8da(0x2a4)](_0x28a8da(0x37d))['usage'](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command'](_0x288f9f['bHDSk'],_0x28a8da(0x341),_0x3497e7=>{const _0x1b874d=_0x28a8da;return _0x3497e7['positional']('name',{'type':'string','description':_0x288f9f['CWejq'],'demandOption':!![]})['option']('description',{'type':_0x288f9f['Uutwm'],'alias':'d','description':_0x288f9f[_0x1b874d(0x34e)]})[_0x1b874d(0x382)](_0x288f9f[_0x1b874d(0x30a)],{'type':'array','alias':'c','description':_0x288f9f[_0x1b874d(0x1e1)]})['option'](_0x288f9f[_0x1b874d(0x2ec)],{'type':_0x1b874d(0x30f),'hidden':!![]});},async _0x4dc817=>{const _0x3d5aa2=_0x28a8da;if(!_0x4dc817['name']){console[_0x3d5aa2(0x22c)](_0x288f9f[_0x3d5aa2(0x390)]('Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a',_0x288f9f[_0x3d5aa2(0x31e)])),process[_0x3d5aa2(0x36f)](0x1);return;}warnFlagRenamed('ranger\x20create',_0x288f9f[_0x3d5aa2(0x33d)],'--scenario');const _0x41da6d=_0x4dc817['scenario']||_0x4dc817['checklist'];await _0x288f9f[_0x3d5aa2(0x1e0)](withTelemetry,'create',()=>featureCreate(_0x4dc817['name'],{'description':_0x4dc817['description'],'scenarios':_0x41da6d}));})['command'](_0x28a8da(0x35f),_0x288f9f['HVGfk'],_0x1188dc=>{const _0x8d5fd8=_0x28a8da;return _0x1188dc['option']('current-branch',{'type':'boolean','description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})[_0x8d5fd8(0x382)](_0x288f9f[_0x8d5fd8(0x39a)],{'type':_0x288f9f['UCayr'],'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option'](_0x8d5fd8(0x326),{'type':_0x288f9f['UCayr'],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x8d5fd8(0x382)](_0x8d5fd8(0x258),{'type':_0x8d5fd8(0x22b),'alias':'d','description':_0x288f9f['mmVOr'],'default':![]});},async _0xc299ee=>{const _0x4201ca=_0x28a8da;await _0x288f9f['caqni'](withTelemetry,_0x288f9f['NvKJp'],()=>featureList({'currentBranch':_0xc299ee[_0x4201ca(0x324)],'limit':_0xc299ee['limit'],'offset':_0xc299ee['offset'],'includeDeleted':_0xc299ee['include-deleted']}));})[_0x28a8da(0x29d)](_0x288f9f[_0x28a8da(0x21b)],_0x288f9f[_0x28a8da(0x1db)],_0x8a3fe6=>{const _0x480ab7=_0x28a8da;return _0x8a3fe6['positional']('id',{'type':_0x480ab7(0x2dd),'description':'Feature\x20review\x20ID'});},async _0x11e6b8=>{await withTelemetry(_0x288f9f['GgyMc'],()=>featureShow(_0x11e6b8['id']));})[_0x28a8da(0x29d)](_0x288f9f['otcFE'],_0x28a8da(0x30c),_0xd107f0=>{const _0x527df1=_0x28a8da;return _0xd107f0[_0x527df1(0x33b)]('id',{'type':_0x288f9f[_0x527df1(0x2be)],'description':_0x527df1(0x1c6)});},async _0x475dfe=>{const _0x698f9b=_0x28a8da;await _0x288f9f['caqni'](withTelemetry,_0x288f9f[_0x698f9b(0x34a)],()=>featureResume(_0x475dfe['id']));})[_0x28a8da(0x29d)](_0x288f9f[_0x28a8da(0x357)],_0x28a8da(0x277),_0x461eb9=>{const _0x5141d9=_0x28a8da;return _0x461eb9['positional'](_0x288f9f['cmDqU'],{'type':_0x288f9f['Uutwm'],'description':_0x288f9f[_0x5141d9(0x209)],'demandOption':!![]})['option']('id',{'type':_0x288f9f[_0x5141d9(0x2be)],'description':_0x288f9f['uFRYS']});},async _0x12790e=>{await withTelemetry('add-scenario',()=>featureAddScenario(_0x12790e['description'],_0x12790e['id']));})['command'](_0x288f9f['wAeAw'],'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x458065=>{const _0x2b2980=_0x28a8da;return _0x458065['positional'](_0x2b2980(0x318),{'type':'string','description':_0x288f9f[_0x2b2980(0x289)],'demandOption':!![]})[_0x2b2980(0x382)](_0x288f9f['sHSnJ'],{'type':_0x2b2980(0x340),'description':_0x2b2980(0x27f),'demandOption':!![]})['option']('id',{'type':_0x2b2980(0x2dd),'description':_0x288f9f[_0x2b2980(0x349)]});},async _0x3582b6=>{const _0x325261=_0x28a8da;await withTelemetry(_0x288f9f['VddGd'],()=>featureEditScenario(_0x3582b6[_0x325261(0x318)],{'id':_0x3582b6['id'],'scenario':_0x3582b6[_0x325261(0x292)]}));})[_0x28a8da(0x29d)](_0x288f9f['zvpKb'],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x1b52d9=>{const _0x50f238=_0x28a8da;return _0x1b52d9[_0x50f238(0x33b)]('id',{'type':_0x50f238(0x2dd),'description':_0x288f9f['drCkE']})[_0x50f238(0x382)](_0x288f9f[_0x50f238(0x227)],{'type':_0x50f238(0x30f),'description':_0x288f9f[_0x50f238(0x30b)]})['option'](_0x288f9f['QMyiK'],{'type':_0x288f9f['HuxbR'],'description':_0x50f238(0x29e),'default':![]});},async _0xf23e8a=>{const _0x428e9e=_0x28a8da,_0x127269=_0xf23e8a[_0x288f9f[_0x428e9e(0x227)]],_0x289577=_0x127269?_0x127269[_0x428e9e(0x229)](_0x39c321=>Number(_0x39c321)):undefined;await withTelemetry(_0x288f9f[_0x428e9e(0x372)],()=>featureReportPrDescription(_0xf23e8a['id'],{'excludeScenarios':_0x289577,'json':_0xf23e8a[_0x428e9e(0x290)]}));})['command'](_0x288f9f['RexsY'],_0x288f9f[_0x28a8da(0x371)],_0x18883c=>{return _0x18883c['positional']('id',{'type':_0x288f9f['Uutwm'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x2706a7=>{await _0x288f9f['zIUxE'](withTelemetry,'get-review',()=>featureGetReview(_0x2706a7['id']));})['command'](_0x288f9f[_0x28a8da(0x35b)],_0x288f9f[_0x28a8da(0x268)],_0x3c0446=>{const _0x11bf77=_0x28a8da;return _0x3c0446[_0x11bf77(0x33b)]('id',{'type':_0x288f9f[_0x11bf77(0x2be)],'description':'Feature\x20review\x20ID'});},async _0x22191f=>{const _0x525021=_0x28a8da;await withTelemetry(_0x288f9f[_0x525021(0x200)],()=>featureDelete(_0x22191f['id']));})['command']('restore\x20<id>',_0x28a8da(0x23c),_0x48cc2a=>{const _0x46b452=_0x28a8da;return _0x48cc2a[_0x46b452(0x33b)]('id',{'type':_0x46b452(0x2dd),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x138372=>{const _0x564145=_0x28a8da;await _0x288f9f[_0x564145(0x216)](withTelemetry,_0x288f9f[_0x564145(0x37a)],()=>featureRestore(_0x138372['id']));})[_0x28a8da(0x29d)](_0x28a8da(0x2d7),_0x288f9f[_0x28a8da(0x2f4)],_0xd8039a=>{const _0x1cfe54=_0x28a8da,_0x39cbbc={'GpOFu':'token','lXNMt':_0x1cfe54(0x2dd),'QVADu':_0x1cfe54(0x1c3),'HTYdQ':_0x288f9f['SxQNh'],'CKVMF':_0x1cfe54(0x28b),'NflQE':_0x288f9f[_0x1cfe54(0x2ae)],'WOikd':_0x288f9f['HuxbR'],'czyyG':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','mJgzA':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','WMrml':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','GfYMU':_0x1cfe54(0x38f),'KpzyJ':_0x288f9f[_0x1cfe54(0x2fd)],'lntpL':_0x288f9f[_0x1cfe54(0x38e)],'UCwER':_0x288f9f[_0x1cfe54(0x2ef)],'qsWTg':_0x288f9f[_0x1cfe54(0x244)],'vfbKj':_0x288f9f['fFCFF'],'BdLRX':function(_0x4bd852){const _0x41e5d8=_0x1cfe54;return _0x288f9f[_0x41e5d8(0x2ea)](_0x4bd852);},'xdmQc':_0x288f9f['GYeUw'],'fXJuy':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','kEBpH':_0x288f9f[_0x1cfe54(0x32c)],'bXeUS':_0x288f9f['nzLnw'],'fNnsb':_0x288f9f['ZDEha'],'oDfQM':_0x288f9f[_0x1cfe54(0x261)]};return _0xd8039a[_0x1cfe54(0x352)]('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')[_0x1cfe54(0x33b)](_0x1cfe54(0x1c2),{'type':'string','description':_0x288f9f[_0x1cfe54(0x361)]})['command']('all',_0x1cfe54(0x334),_0x46e606=>{const _0x5883db=_0x1cfe54;return _0x46e606[_0x5883db(0x382)](_0x39cbbc['GpOFu'],{'type':_0x39cbbc['lXNMt'],'description':_0x39cbbc[_0x5883db(0x260)]})['option']('skip-chromium',{'type':'boolean','description':_0x39cbbc[_0x5883db(0x380)],'default':![]})[_0x5883db(0x382)](_0x5883db(0x39f),{'type':'boolean','description':_0x39cbbc[_0x5883db(0x336)],'default':![]})['option'](_0x39cbbc['NflQE'],{'type':_0x39cbbc[_0x5883db(0x31c)],'description':_0x39cbbc[_0x5883db(0x233)],'default':![]})['option']('scope',{'type':_0x39cbbc[_0x5883db(0x1f0)],'choices':[_0x5883db(0x299)],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x5883db(0x382)]('url',{'type':_0x39cbbc[_0x5883db(0x1f0)],'description':_0x39cbbc['mJgzA']})[_0x5883db(0x382)](_0x5883db(0x276),{'type':'boolean','description':_0x39cbbc[_0x5883db(0x202)],'default':![]})['option'](_0x5883db(0x354),{'type':_0x39cbbc[_0x5883db(0x31c)],'description':_0x39cbbc['GfYMU'],'default':![]})[_0x5883db(0x382)](_0x39cbbc[_0x5883db(0x2c5)],{'type':'boolean','description':_0x5883db(0x368),'default':![]})[_0x5883db(0x382)]('mcp-bootstrap',{'type':_0x39cbbc[_0x5883db(0x31c)],'description':_0x5883db(0x1ce),'default':![]})['option'](_0x39cbbc[_0x5883db(0x2bb)],{'type':_0x39cbbc[_0x5883db(0x31c)],'description':_0x5883db(0x21c),'default':![]});},async _0x4501d3=>{const _0x9cef7f=_0x1cfe54;(_0x4501d3[_0x39cbbc['UCwER']]||_0x4501d3[_0x9cef7f(0x31a)])&&await withTelemetry('mcp-bootstrap',()=>mcpBootstrap()),await withTelemetry(_0x39cbbc[_0x9cef7f(0x2d5)],_0x5269ad=>start(_0x4501d3[_0x9cef7f(0x1e8)],{'skipChromium':_0x4501d3[_0x9cef7f(0x2c8)],'skipAuth':_0x4501d3['skip-auth'],'withDeps':_0x4501d3[_0x9cef7f(0x350)],'scope':_0x4501d3['scope'],'url':_0x4501d3['url'],'force':_0x4501d3[_0x9cef7f(0x276)],'opencode':_0x4501d3[_0x9cef7f(0x354)],'allowInsecureLocalhost':_0x4501d3[_0x9cef7f(0x24a)]},_0x5269ad));})['command']('deps',_0x1cfe54(0x20b),_0x4a54dd=>{const _0x293ec1=_0x1cfe54;return _0x4a54dd['option'](_0x39cbbc['NflQE'],{'type':_0x39cbbc['WOikd'],'description':_0x293ec1(0x33f),'default':![]});},async _0x1bccd5=>{await withTelemetry('setup:deps',()=>ensureChromium(_0x1bccd5['with-deps']));})[_0x1cfe54(0x29d)]('login',_0x288f9f[_0x1cfe54(0x1c8)],_0x1e5e51=>{const _0x19319f=_0x1cfe54;return _0x1e5e51['option'](_0x288f9f[_0x19319f(0x23a)],{'type':_0x288f9f['Uutwm'],'description':_0x288f9f[_0x19319f(0x2ed)]})[_0x19319f(0x382)](_0x288f9f[_0x19319f(0x38e)],{'type':'boolean','description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x9b4f69=>{const _0xa7c6a3=_0x1cfe54,_0x7f06af={'qaxAb':_0x288f9f[_0xa7c6a3(0x1f7)],'cTjlH':function(_0x547232,_0x20e457){return _0x547232(_0x20e457);}};await _0x288f9f['caqni'](withTelemetry,_0x288f9f['NBWIM'],async()=>{const _0x41f8a8=_0xa7c6a3;if(_0x9b4f69[_0x41f8a8(0x31a)]){await mcpBootstrap();const _0x4c6a1e=await refreshCliToken();if(!_0x4c6a1e)throw new Error(_0x7f06af['qaxAb']);const _0x3b508a=await getCurrentUser(_0x4c6a1e);if(!_0x3b508a['success'])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x3b508a[_0x41f8a8(0x22c)]);console['log'](_0x41f8a8(0x358)+_0x3b508a['user'][_0x41f8a8(0x2b8)]);return;}await _0x7f06af['cTjlH'](authenticate,_0x9b4f69[_0x41f8a8(0x1e8)]);});})[_0x1cfe54(0x29d)](_0x288f9f[_0x1cfe54(0x359)],_0x288f9f[_0x1cfe54(0x2e3)],_0x340bc3=>{const _0x300205=_0x1cfe54;return _0x340bc3['option'](_0x288f9f[_0x300205(0x366)],{'type':_0x288f9f['Uutwm'],'choices':[_0x300205(0x299),'project'],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})['option'](_0x300205(0x354),{'type':'boolean','description':_0x288f9f[_0x300205(0x264)],'default':![]});},async _0x5e3bad=>{const _0xfce7f2=_0x1cfe54;await withTelemetry(_0xfce7f2(0x374),async()=>{const _0xd98f5a=_0xfce7f2,_0x4227cb=_0x5e3bad[_0xd98f5a(0x339)];if(_0x5e3bad[_0xd98f5a(0x354)]){const _0x33daac=await ensureOpencodePluginConfig(_0x4227cb);_0x33daac&&await installSkill(_0x39cbbc['vfbKj'],{'level':_0x33daac['scope'],'cliVersion':_0x39cbbc[_0xd98f5a(0x247)](getCurrentVersion),'platform':'opencode'});}else await ensureClaudePlugin(_0x4227cb),await ensureClaudeSkills(_0x4227cb);});})[_0x1cfe54(0x29d)](_0x288f9f[_0x1cfe54(0x38c)],_0x1cfe54(0x1d9),_0x416137=>{const _0x11e863=_0x1cfe54;return _0x416137['option'](_0x11e863(0x339),{'type':_0x39cbbc['lXNMt'],'choices':[_0x39cbbc[_0x11e863(0x1cf)]],'description':_0x39cbbc['fXJuy']})[_0x11e863(0x382)](_0x39cbbc[_0x11e863(0x228)],{'type':_0x39cbbc[_0x11e863(0x1f0)],'description':_0x11e863(0x360)})['option'](_0x39cbbc[_0x11e863(0x367)],{'type':_0x39cbbc['WOikd'],'description':_0x39cbbc['fNnsb'],'default':![]})[_0x11e863(0x382)](_0x11e863(0x276),{'type':_0x11e863(0x22b),'description':_0x39cbbc[_0x11e863(0x202)],'default':![]})[_0x11e863(0x382)](_0x11e863(0x24a),{'type':_0x39cbbc['WOikd'],'description':_0x39cbbc[_0x11e863(0x2cb)],'default':![]});},async _0x45aaf0=>{const _0x466def=_0x1cfe54,_0x18f8b6=_0x45aaf0[_0x466def(0x339)];_0x18f8b6!==undefined&&_0x288f9f[_0x466def(0x211)](_0x18f8b6,_0x466def(0x299))&&(console[_0x466def(0x22c)](_0x288f9f[_0x466def(0x390)]('ranger\x20setup\x20profiles\x20--scope='+_0x18f8b6+'\x20is\x20no\x20longer\x20supported.\x20'+_0x466def(0x383),_0x466def(0x379))),process['exit'](0x1)),await withTelemetry(_0x288f9f['DAFdU'],_0x506fab=>ensureLocalEnv({'url':_0x45aaf0[_0x466def(0x210)],'force':_0x45aaf0[_0x466def(0x276)],'allowInsecureLocalhost':_0x45aaf0[_0x466def(0x24a)],'scope':'user'},_0x506fab));})[_0x1cfe54(0x382)](_0x288f9f[_0x1cfe54(0x34b)],{'type':_0x1cfe54(0x22b),'description':_0x288f9f[_0x1cfe54(0x293)],'default':![]})[_0x1cfe54(0x382)]('scope',{'type':_0x288f9f[_0x1cfe54(0x2be)],'choices':[_0x1cfe54(0x299)],'hidden':!![],'description':_0x288f9f[_0x1cfe54(0x395)]})['option']('url',{'type':_0x288f9f[_0x1cfe54(0x2be)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x288f9f['DNLlS'],{'type':_0x288f9f[_0x1cfe54(0x27e)],'description':_0x288f9f['mCPDH'],'default':![]})['option']('opencode',{'type':_0x288f9f['HuxbR'],'description':_0x288f9f['Tftft'],'default':![]})['option']('allow-insecure-localhost',{'type':_0x288f9f['HuxbR'],'description':_0x288f9f['QZLGs'],'default':![]})[_0x1cfe54(0x382)](_0x288f9f['mNPpA'],{'type':'boolean','description':_0x1cfe54(0x28e),'default':![]})[_0x1cfe54(0x382)](_0x288f9f[_0x1cfe54(0x2d8)],{'type':'boolean','description':_0x1cfe54(0x365),'default':![]})['option'](_0x288f9f['wgDpv'],{'type':_0x1cfe54(0x22b),'description':_0x288f9f['zuhcA'],'default':![]})['option'](_0x1cfe54(0x1e8),{'type':_0x288f9f[_0x1cfe54(0x2be)],'hidden':!![],'description':_0x1cfe54(0x25e)});},async _0x2dbacb=>{const _0x26f7d3=_0x28a8da,_0x414113=_0x2dbacb[_0x26f7d3(0x1c2)],_0x223545=_0x2dbacb['token']??_0x414113;_0x2dbacb[_0x26f7d3(0x353)]&&await withTelemetry(_0x288f9f['mNPpA'],()=>mcpBootstrap()),await withTelemetry(_0x288f9f[_0x26f7d3(0x1d2)],_0x1dfcfc=>start(_0x223545,{'skipChromium':_0x2dbacb[_0x26f7d3(0x2c8)],'skipAuth':_0x2dbacb[_0x26f7d3(0x39f)],'withDeps':_0x2dbacb[_0x26f7d3(0x350)],'scope':_0x2dbacb[_0x26f7d3(0x339)],'url':_0x2dbacb['url'],'force':_0x2dbacb['force'],'opencode':_0x2dbacb[_0x26f7d3(0x354)],'allowInsecureLocalhost':_0x2dbacb['allow-insecure-localhost']},_0x1dfcfc));})[_0x28a8da(0x29d)]('setup-ci\x20<token>',![],_0x50da9c=>{const _0x4b545a=_0x28a8da;return _0x50da9c[_0x4b545a(0x33b)](_0x288f9f['ksuUo'],{'type':_0x288f9f['Uutwm'],'description':_0x288f9f['LkAJv'],'demandOption':!![]})[_0x4b545a(0x382)](_0x4b545a(0x2fc),{'type':_0x288f9f['Uutwm'],'description':_0x288f9f[_0x4b545a(0x327)]})['option']('base-url',{'type':_0x4b545a(0x2dd),'description':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)'})[_0x4b545a(0x382)]('skip-chromium',{'type':_0x288f9f['HuxbR'],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x30bd70=>{const _0x33ffbb=_0x28a8da;await withTelemetry(_0x33ffbb(0x33e),_0x18b435=>setupCi(_0x30bd70[_0x33ffbb(0x1e8)],{'profile':_0x30bd70['profile'],'baseUrl':_0x30bd70[_0x33ffbb(0x303)],'skipChromium':_0x30bd70['skip-chromium']},_0x18b435));})[_0x28a8da(0x29d)](_0x288f9f['SeIyD'],_0x288f9f[_0x28a8da(0x387)],()=>{},async()=>{const _0x385ffb=_0x28a8da;await withTelemetry(_0x288f9f[_0x385ffb(0x375)],()=>login());})[_0x28a8da(0x29d)]('skillup',_0x288f9f['xZyux'],_0x3755c1=>{const _0x4f423b=_0x28a8da;return _0x3755c1[_0x4f423b(0x382)](_0x4f423b(0x354),{'type':_0x4f423b(0x22b),'description':_0x4f423b(0x39c),'default':![]})['option'](_0x4f423b(0x339),{'type':_0x288f9f[_0x4f423b(0x2be)],'choices':[_0x288f9f[_0x4f423b(0x35e)],_0x288f9f[_0x4f423b(0x313)]],'description':'Install\x20scope\x20for\x20skills'});},async _0x3c6357=>{const _0x29b39c=_0x28a8da,_0x18e9cf=Boolean(_0x3c6357[_0x29b39c(0x354)]);await _0x288f9f['zIUxE'](withTelemetry,'skillup',()=>skillup({'autoInstall':_0x3c6357['scope'],'platform':_0x18e9cf?_0x29b39c(0x354):'claude'}));})[_0x28a8da(0x29d)]('clean','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{const _0xaae50a=_0x28a8da;await _0x288f9f[_0xaae50a(0x29b)](withTelemetry,_0x288f9f[_0xaae50a(0x329)],()=>clean());})[_0x28a8da(0x29d)]([_0x288f9f[_0x28a8da(0x381)],'profiles'],_0x288f9f['NcXSa'],_0x2a33dc=>{const _0xd5ce81=_0x28a8da,_0xa04e2a={'dLWgI':_0x288f9f[_0xd5ce81(0x384)],'cHpcR':_0x288f9f['IHgEb'],'LFSjM':_0xd5ce81(0x22b),'myIBA':_0x288f9f['NFyty'],'jYliu':_0x288f9f[_0xd5ce81(0x2be)],'cjzli':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','czeRr':_0x288f9f[_0xd5ce81(0x2c9)],'DupJp':_0x288f9f['mCPDH'],'LqTMw':_0xd5ce81(0x24a),'BCcvU':_0x288f9f[_0xd5ce81(0x1d1)],'AhzjD':'setup-header','sINfh':_0x288f9f[_0xd5ce81(0x300)],'ZiIbr':_0xd5ce81(0x339),'jGMgX':_0xd5ce81(0x29c),'PycBB':'yes','WLAYa':_0xd5ce81(0x1f6),'EQrAm':'profile\x20add','SVwzl':_0x288f9f[_0xd5ce81(0x27b)],'XjbAp':function(_0x38983f,_0x5ccf57,_0x2556cc){return _0x288f9f['HmRwm'](_0x38983f,_0x5ccf57,_0x2556cc);},'Bgora':_0x288f9f[_0xd5ce81(0x236)],'YdvsU':function(_0xb46d99,_0x53b2b2,_0x5aa425){return _0xb46d99(_0x53b2b2,_0x5aa425);},'SnpBm':_0x288f9f['QZLGs'],'UZjgz':_0x288f9f['RKysZ'],'bFYIG':_0x288f9f['zgaKv'],'FAaBl':function(_0x23ad87,_0x405c75){const _0x20e9df=_0xd5ce81;return _0x288f9f[_0x20e9df(0x282)](_0x23ad87,_0x405c75);},'vOHxQ':'not_configured','HzrTm':'failed','zWLQn':'unknown\x20error','APSyk':_0x288f9f[_0xd5ce81(0x362)],'Depwj':_0xd5ce81(0x314),'rYnaV':_0x288f9f['vGQhS'],'fUXha':_0x288f9f['PqjNi'],'vSshV':_0x288f9f['oiwXt'],'vPRkZ':_0x288f9f[_0xd5ce81(0x346)],'NuDBg':_0x288f9f['TxoyM'],'CoekO':_0x288f9f['VBoqW'],'uHcol':_0x288f9f[_0xd5ce81(0x245)],'hkpPg':'profile','nyMvK':function(_0x40fd96,_0x504d28,_0x2e389a){return _0x40fd96(_0x504d28,_0x2e389a);},'mYTyT':'profile\x20config\x20unset','fAxhI':function(_0x5f062d,_0x314cb5,_0x2548c4){const _0x330f0c=_0xd5ce81;return _0x288f9f[_0x330f0c(0x216)](_0x5f062d,_0x314cb5,_0x2548c4);},'yDyqN':_0xd5ce81(0x26b),'LfVns':_0x288f9f['CYNUX'],'PIuhf':_0x288f9f[_0xd5ce81(0x21a)],'uORlb':_0x288f9f['BXJHX'],'wfvrx':_0x288f9f[_0xd5ce81(0x242)],'tWQBg':_0xd5ce81(0x2e4),'MxsZd':_0xd5ce81(0x36e)};return _0x2a33dc[_0xd5ce81(0x352)](PROFILE_HELP)['command'](_0xd5ce81(0x322),_0xd5ce81(0x32d),_0x5cbdc5=>{const _0x2bfd99=_0xd5ce81;return _0x5cbdc5['positional'](_0xa04e2a[_0x2bfd99(0x2f2)],{'type':_0x2bfd99(0x2dd),'description':_0xa04e2a[_0x2bfd99(0x2e5)],'demandOption':!![]})[_0x2bfd99(0x382)]('ci',{'type':_0xa04e2a[_0x2bfd99(0x1e5)],'hidden':!![],'default':![]})['option']('skip-auth',{'type':_0x2bfd99(0x22b),'description':_0xa04e2a['myIBA'],'default':![]})[_0x2bfd99(0x382)](_0x2bfd99(0x210),{'type':_0xa04e2a['jYliu'],'description':_0xa04e2a[_0x2bfd99(0x312)]})['option'](_0xa04e2a['czeRr'],{'type':_0xa04e2a[_0x2bfd99(0x1e5)],'description':_0xa04e2a[_0x2bfd99(0x28c)],'default':![]})[_0x2bfd99(0x382)]('cdp-endpoint',{'type':_0x2bfd99(0x2dd),'description':_0x2bfd99(0x1f9)})['option'](_0xa04e2a[_0x2bfd99(0x279)],{'type':'boolean','description':_0x2bfd99(0x1ef),'default':![]})[_0x2bfd99(0x382)]('safe-mode',{'type':_0x2bfd99(0x22b),'description':_0xa04e2a['BCcvU'],'default':![]})[_0x2bfd99(0x382)](_0xa04e2a[_0x2bfd99(0x243)],{'type':_0xa04e2a[_0x2bfd99(0x1f5)],'array':!![],'description':_0xa04e2a[_0x2bfd99(0x2f8)]})[_0x2bfd99(0x382)](_0xa04e2a[_0x2bfd99(0x20d)],{'type':'string','choices':[_0x2bfd99(0x299),_0x2bfd99(0x22a)],'description':_0xa04e2a[_0x2bfd99(0x2e9)]})[_0x2bfd99(0x382)](_0xa04e2a[_0x2bfd99(0x2c2)],{'type':_0x2bfd99(0x22b),'alias':'y','description':_0xa04e2a[_0x2bfd99(0x37e)],'default':![]});},async _0x1f1e87=>{const _0x550505=_0xd5ce81;await withTelemetry(_0xa04e2a['EQrAm'],_0x1b8f40=>addEnv(_0x1f1e87[_0x550505(0x235)],{'ci':_0x1f1e87['ci'],'skipAuth':_0x1f1e87[_0x550505(0x39f)],'url':_0x1f1e87[_0x550505(0x210)],'force':_0x1f1e87[_0x550505(0x276)],'cdpEndpoint':_0x1f1e87['cdp-endpoint'],'allowInsecureLocalhost':_0x1f1e87[_0x550505(0x24a)],'safeMode':_0x1f1e87[_0x550505(0x311)],'setupHeader':_0x1f1e87[_0x550505(0x399)],'scope':_0x1f1e87['scope'],'yes':_0x1f1e87['yes']},_0x1b8f40),{'isElectron':Boolean(_0x1f1e87[_0x550505(0x34d)])});})[_0xd5ce81(0x29d)](_0xd5ce81(0x27a),'Switch\x20to\x20using\x20a\x20specific\x20profile',_0x2d3021=>{const _0x51e3f9=_0xd5ce81;return _0x2d3021['positional'](_0x288f9f['JOnMn'],{'type':'string','description':_0x51e3f9(0x2c7),'demandOption':!![]});},async _0x24c646=>{const _0x37f48d=_0xd5ce81;await withTelemetry(_0x288f9f[_0x37f48d(0x218)],()=>useEnv(_0x24c646[_0x37f48d(0x235)]));})['command'](_0xd5ce81(0x1cb),_0x288f9f[_0xd5ce81(0x1da)],_0x5c7008=>{const _0x459862=_0xd5ce81;return _0x5c7008[_0x459862(0x33b)](_0x459862(0x235),{'type':_0xa04e2a['jYliu'],'description':_0x459862(0x364),'demandOption':!![]})[_0x459862(0x382)](_0x459862(0x224),{'type':_0x459862(0x22b),'alias':'y','description':_0xa04e2a['SVwzl'],'default':![]});},async _0x4670ec=>{const _0x385f06=_0xd5ce81;await _0xa04e2a[_0x385f06(0x331)](withTelemetry,_0xa04e2a['Bgora'],()=>deleteProfile(_0x4670ec['profile-name'],{'yes':_0x4670ec[_0x385f06(0x224)]}));})[_0xd5ce81(0x29d)]('encrypt-auth\x20<profile>',![],_0x37ad61=>{const _0x192f81=_0xd5ce81;return _0x37ad61[_0x192f81(0x33b)](_0x288f9f['Xhwod'],{'type':_0x288f9f['Uutwm'],'description':_0x192f81(0x2e1),'demandOption':!![]});},async _0x1e1daa=>{const _0x576166=_0xd5ce81;await _0xa04e2a['YdvsU'](withTelemetry,'profile\x20encrypt-auth',()=>authEncrypt(_0x1e1daa[_0x576166(0x2fc)]));})['command']('ls','List\x20all\x20profiles',()=>{},async()=>{const _0x1d366f=_0xd5ce81;await withTelemetry(_0x1d366f(0x315),()=>envList());})['command'](_0x288f9f[_0xd5ce81(0x1f8)],_0x288f9f['RWhZA'],_0x18ce08=>{const _0x33bac3=_0xd5ce81;return _0x18ce08['positional']('profile-name',{'type':_0xa04e2a[_0x33bac3(0x1f5)],'description':_0x33bac3(0x294),'demandOption':!![]})[_0x33bac3(0x382)](_0xa04e2a[_0x33bac3(0x279)],{'type':_0xa04e2a[_0x33bac3(0x1e5)],'description':_0xa04e2a[_0x33bac3(0x26e)]})['option']('manual',{'type':'boolean','description':_0x33bac3(0x2ee)});},async _0xef863b=>{const _0x2d46cd=_0xd5ce81;await withTelemetry(_0x288f9f[_0x2d46cd(0x2a2)],_0x14bef7=>updateEnv(_0xef863b['profile-name'],_0x14bef7,{'allowInsecureLocalhost':_0xef863b[_0x2d46cd(0x24a)],'manual':_0xef863b[_0x2d46cd(0x392)]}));})['command']('login\x20<name>',![],_0x549be4=>{const _0x1ef36f=_0xd5ce81;return _0x549be4[_0x1ef36f(0x33b)](_0xa04e2a[_0x1ef36f(0x305)],{'type':_0xa04e2a['jYliu'],'description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0x1595ed=>{const _0x360b68=_0xd5ce81;await _0x288f9f[_0x360b68(0x257)](withTelemetry,_0x360b68(0x30e),async()=>{const _0x207aef=_0x360b68,_0x205709=process[_0x207aef(0x393)][_0x207aef(0x263)],_0x12e0ed=process['env'][_0x207aef(0x256)];(!_0x205709||!_0x12e0ed)&&(console['error'](_0xa04e2a[_0x207aef(0x1e4)]),process['exit'](0x1));const _0x11d3e2=_0x1595ed['name'],_0x1c2da5=await serverSideLogin(_0x11d3e2,{'force':!![]});_0xa04e2a[_0x207aef(0x1e7)](_0x1c2da5['status'],_0xa04e2a['vOHxQ'])&&(console['error']('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process[_0x207aef(0x36f)](0x1)),_0xa04e2a['FAaBl'](_0x1c2da5[_0x207aef(0x398)],_0xa04e2a[_0x207aef(0x2c6)])&&(console[_0x207aef(0x22c)](_0x207aef(0x1fb)+(_0x1c2da5[_0x207aef(0x22c)]??_0xa04e2a['zWLQn'])),_0x1c2da5['test_output']&&console[_0x207aef(0x22c)](_0x1c2da5[_0x207aef(0x2fa)]),process[_0x207aef(0x36f)](0x1)),console[_0x207aef(0x1e6)](_0x207aef(0x1ee)+_0x11d3e2+_0x207aef(0x309));});})[_0xd5ce81(0x29d)]('migrate\x20[profile-name]',![],_0x70e8c4=>{const _0x43ad0b=_0xd5ce81;return _0x70e8c4['positional'](_0xa04e2a[_0x43ad0b(0x2f2)],{'type':'string','description':_0xa04e2a['APSyk']})['option'](_0x43ad0b(0x288),{'type':_0xa04e2a['LFSjM'],'description':_0xa04e2a['Depwj'],'default':![]})[_0x43ad0b(0x382)](_0xa04e2a['rYnaV'],{'type':_0xa04e2a['LFSjM'],'description':_0xa04e2a['fUXha'],'default':![]})[_0x43ad0b(0x382)]('yes',{'type':_0xa04e2a[_0x43ad0b(0x1e5)],'alias':'y','description':_0xa04e2a['vSshV'],'default':![]})[_0x43ad0b(0x382)](_0x43ad0b(0x232),{'type':'boolean','description':_0xa04e2a['vPRkZ'],'default':![]});},async _0x55f9d0=>{const _0x3d4443=_0xd5ce81;await _0x288f9f[_0x3d4443(0x216)](withTelemetry,_0x3d4443(0x2bf),_0x458a6c=>migrateProfile({'profileName':_0x55f9d0['profile-name'],'all':_0x55f9d0[_0x3d4443(0x288)],'dryRun':_0x55f9d0[_0x3d4443(0x301)],'yes':_0x55f9d0['yes'],'saveCreds':_0x55f9d0['save-creds']},_0x458a6c));})['command'](_0x288f9f[_0xd5ce81(0x347)],_0x288f9f[_0xd5ce81(0x28a)],_0x2509af=>{const _0x1da024=_0xd5ce81,_0x27d16f={'KOBcO':function(_0x1b43f9,_0x3f9a07,_0x594936){const _0x2ab292=_0x337d;return _0xa04e2a[_0x2ab292(0x389)](_0x1b43f9,_0x3f9a07,_0x594936);},'ARopj':'profile\x20config\x20list','UNlBc':'Profile\x20name','hKqOt':_0xa04e2a['yDyqN'],'oDOag':_0xa04e2a[_0x1da024(0x316)],'QjmHG':_0xa04e2a['jYliu']};return _0x2509af[_0x1da024(0x352)](PROFILE_CONFIG_HELP)[_0x1da024(0x29d)]('set\x20<profile>\x20<key>\x20<value>',_0xa04e2a[_0x1da024(0x22d)],_0x558f77=>{const _0x472595=_0x1da024;return _0x558f77['positional'](_0x472595(0x2fc),{'type':_0x472595(0x2dd),'description':_0xa04e2a['NuDBg'],'demandOption':!![]})['positional']('key',{'type':'string','description':_0xa04e2a['CoekO'],'demandOption':!![]})['positional']('value',{'type':'string','description':_0x472595(0x262),'demandOption':!![]});},async _0x3e0a4e=>{const _0x2c1b89=_0x1da024;await withTelemetry(_0xa04e2a[_0x2c1b89(0x319)],()=>configSet(_0x3e0a4e['profile'],_0x3e0a4e['key'],_0x3e0a4e[_0x2c1b89(0x2d0)]));})['command']('get\x20<profile>\x20<key>',_0xa04e2a[_0x1da024(0x2dc)],_0x265d1d=>{const _0x2a6258=_0x1da024;return _0x265d1d['positional'](_0xa04e2a['hkpPg'],{'type':_0xa04e2a['jYliu'],'description':'Profile\x20name','demandOption':!![]})[_0x2a6258(0x33b)](_0x2a6258(0x26b),{'type':_0x2a6258(0x2dd),'description':_0x2a6258(0x280),'demandOption':!![]});},async _0x590487=>{const _0x2c3267=_0x1da024;await withTelemetry('profile\x20config\x20get',()=>configGet(_0x590487[_0x2c3267(0x2fc)],_0x590487[_0x2c3267(0x26b)]));})['command']('list\x20<profile>',_0xa04e2a[_0x1da024(0x35d)],_0xecfca2=>{const _0x268ca4=_0x1da024;return _0xecfca2[_0x268ca4(0x33b)](_0xa04e2a['hkpPg'],{'type':_0xa04e2a['jYliu'],'description':_0x268ca4(0x2e1),'demandOption':!![]});},async _0x440e28=>{const _0x1aaac0=_0x1da024;await _0x27d16f['KOBcO'](withTelemetry,_0x27d16f['ARopj'],()=>configList(_0x440e28[_0x1aaac0(0x2fc)]));})[_0x1da024(0x29d)](_0xa04e2a[_0x1da024(0x2b7)],_0x1da024(0x237),_0x57247b=>{const _0x2162b9=_0x1da024;return _0x57247b['positional']('profile',{'type':_0x2162b9(0x2dd),'description':_0x27d16f['UNlBc'],'demandOption':!![]})['positional'](_0x27d16f[_0x2162b9(0x267)],{'type':'string','description':_0x27d16f[_0x2162b9(0x2b3)],'demandOption':!![]});},async _0x378e53=>{const _0x161767=_0x1da024;await _0xa04e2a[_0x161767(0x2b4)](withTelemetry,_0xa04e2a['mYTyT'],()=>configUnset(_0x378e53['profile'],_0x378e53[_0x161767(0x26b)]));})[_0x1da024(0x29d)](_0x1da024(0x2f1),_0x1da024(0x255),_0xe62f2d=>{const _0x2d733a=_0x1da024;return _0xe62f2d[_0x2d733a(0x33b)]('profile',{'type':_0x27d16f[_0x2d733a(0x2d9)],'description':_0x27d16f['UNlBc'],'demandOption':!![]});},async _0x484018=>{const _0x114a43=_0x1da024;await withTelemetry(_0x114a43(0x2b9),()=>configReset(_0x484018[_0x114a43(0x2fc)]));})['demandCommand'](0x1,_0xa04e2a['MxsZd']);})[_0xd5ce81(0x1cc)](0x1,_0xd5ce81(0x355));})['command'](_0x288f9f[_0x28a8da(0x1de)],_0x288f9f[_0x28a8da(0x2a6)],()=>{},async()=>{const _0x4fa239=_0x28a8da;await _0x288f9f['caqni'](withTelemetry,_0x4fa239(0x398),()=>status());})[_0x28a8da(0x29d)](_0x28a8da(0x24d),_0x288f9f[_0x28a8da(0x385)],()=>{},async()=>{await withTelemetry(_0x288f9f['qYbic'],()=>update());})[_0x28a8da(0x29d)](_0x28a8da(0x206),_0x288f9f['ydBCa'],()=>{},async()=>{const _0x5e9b22=_0x28a8da;await withTelemetry(_0x5e9b22(0x206),async()=>{const _0x57f249=_0x5e9b22,_0x174223=await getToken();if(!_0x174223)throw new Error(_0x57f249(0x1c4));console[_0x57f249(0x1e6)](_0x174223);});})['command']('go','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.',_0x1b2e8e=>{const _0x279963=_0x28a8da;return _0x1b2e8e['option'](_0x288f9f['fSYUc'],{'type':_0x288f9f['Uutwm'],'description':_0x288f9f[_0x279963(0x204)]})['option']('profile',{'type':_0x288f9f[_0x279963(0x2be)],'description':_0x279963(0x320)})['option'](_0x279963(0x1dd),{'type':_0x288f9f[_0x279963(0x2be)],'description':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)'})[_0x279963(0x382)](_0x288f9f['sHSnJ'],{'type':_0x279963(0x340),'description':_0x288f9f['bOsil']})[_0x279963(0x382)](_0x288f9f[_0x279963(0x1e9)],{'type':_0x288f9f[_0x279963(0x2be)],'description':_0x279963(0x278)})[_0x279963(0x382)](_0x279963(0x303),{'type':_0x279963(0x2dd),'description':_0x279963(0x33a)})['option'](_0x279963(0x20c),{'type':_0x279963(0x2dd),'description':_0x279963(0x22f)})[_0x279963(0x382)]('headed',{'type':_0x288f9f[_0x279963(0x27e)],'description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})[_0x279963(0x382)](_0x288f9f[_0x279963(0x25b)],{'type':_0x279963(0x2dd),'array':!![],'alias':_0x288f9f['BJXXC'],'description':_0x288f9f['dPhQV']})['option'](_0x288f9f['QWhle'],{'type':_0x288f9f[_0x279963(0x2be)],'hidden':!![],'choices':[_0x279963(0x273),_0x279963(0x38d),_0x288f9f[_0x279963(0x238)],_0x288f9f[_0x279963(0x31f)],'incomplete']})[_0x279963(0x382)](_0x288f9f[_0x279963(0x37c)],{'type':_0x279963(0x22b),'hidden':!![]})[_0x279963(0x382)](_0x288f9f[_0x279963(0x272)],{'type':_0x279963(0x2dd),'hidden':!![]})['option']('task',{'type':_0x288f9f[_0x279963(0x2be)],'hidden':!![]})[_0x279963(0x382)](_0x288f9f[_0x279963(0x25f)],{'type':_0x288f9f[_0x279963(0x31d)],'hidden':!![]});},async _0x37e113=>{await runGoCommand(_0x37e113);})['command']('auth',![],_0x4f3172=>{const _0x4deda1=_0x28a8da;return _0x4f3172[_0x4deda1(0x29d)](_0x4deda1(0x1d5),![],_0x4a83cd=>{const _0x339c92=_0x4deda1;return _0x4a83cd[_0x339c92(0x33b)](_0x339c92(0x2fc),{'type':_0x339c92(0x2dd),'description':_0x339c92(0x2e1),'demandOption':!![]});},async _0x2d4d66=>{const _0x4a5ca1=_0x4deda1;warnRenamed(_0x4a5ca1(0x307),_0x4a5ca1(0x24c)),await authEncrypt(_0x2d4d66['profile']);})['demandCommand'](0x1,_0x288f9f[_0x4deda1(0x1cd)]);},()=>{})[_0x28a8da(0x29d)](_0x288f9f['wHDih'],![],_0x4b22cf=>{const _0x197a91=_0x28a8da;return _0x4b22cf[_0x197a91(0x33b)](_0x288f9f[_0x197a91(0x23a)],{'type':'string','description':_0x288f9f['qiUDR']})[_0x197a91(0x382)](_0x197a91(0x2c8),{'type':_0x288f9f['HuxbR'],'description':_0x288f9f['SxQNh'],'default':![]})[_0x197a91(0x382)]('scope',{'type':'string','choices':[_0x288f9f[_0x197a91(0x35e)]],'hidden':!![],'description':_0x288f9f['YlYZw']})[_0x197a91(0x382)](_0x197a91(0x210),{'type':_0x288f9f['Uutwm'],'description':_0x197a91(0x22e)})[_0x197a91(0x382)](_0x288f9f['DNLlS'],{'type':_0x288f9f['HuxbR'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x197a91(0x39f),{'type':_0x197a91(0x22b),'description':'Skip\x20authentication','default':![]})['option'](_0x197a91(0x350),{'type':_0x197a91(0x22b),'description':_0x197a91(0x221),'default':![]});},async _0x4cee66=>{const _0x2d5c86=_0x28a8da;_0x288f9f[_0x2d5c86(0x257)](warnRenamed,_0x288f9f[_0x2d5c86(0x1fa)],_0x288f9f['JrqnC']),await _0x288f9f['avZly'](withTelemetry,_0x288f9f['jggzN'],_0x18648c=>start(_0x4cee66['token'],{'skipChromium':_0x4cee66['skip-chromium'],'skipAuth':_0x4cee66['skip-auth'],'withDeps':_0x4cee66[_0x2d5c86(0x350)],'scope':_0x4cee66[_0x2d5c86(0x339)],'url':_0x4cee66[_0x2d5c86(0x210)],'force':_0x4cee66['force']},_0x18648c));})[_0x28a8da(0x29d)](_0x28a8da(0x1c7),![],_0x5ee375=>{const _0x91794d=_0x28a8da;return _0x5ee375['option']('env',{'type':_0x91794d(0x2dd),'description':_0x91794d(0x25c)})['option'](_0x288f9f[_0x91794d(0x325)],{'type':'string','description':_0x91794d(0x2de)})['option']('item',{'type':_0x288f9f['UCayr'],'description':_0x288f9f['bOsil']})['option']('profile',{'type':_0x91794d(0x2dd),'hidden':!![]})['option'](_0x288f9f['bnGrC'],{'type':'string','hidden':!![]})['option'](_0x91794d(0x292),{'type':'number','hidden':!![]})[_0x91794d(0x382)](_0x288f9f[_0x91794d(0x1e9)],{'type':'string','description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})['option'](_0x288f9f['aochF'],{'type':'string','description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})['option'](_0x288f9f['nEGPr'],{'type':_0x91794d(0x2dd),'hidden':!![]})['option'](_0x288f9f['yheNT'],{'type':'boolean','hidden':!![],'default':![]})['option']('env-var',{'type':_0x288f9f[_0x91794d(0x2be)],'array':!![],'alias':'environment-variable','hidden':!![]})['option']('debug-outcome',{'type':_0x288f9f['Uutwm'],'hidden':!![],'choices':[_0x288f9f['DTSPk'],_0x288f9f['UGcoQ'],_0x288f9f['MnmPs'],_0x288f9f[_0x91794d(0x31f)],'incomplete']});},async _0x2e416b=>{const _0x4c8205=_0x28a8da;await _0x288f9f[_0x4c8205(0x32e)](runGoCommand,_0x2e416b,!![]);})[_0x28a8da(0x29d)](_0x28a8da(0x205),![],_0x44b4d9=>{const _0x18028e=_0x28a8da;return _0x44b4d9[_0x18028e(0x33b)](_0x18028e(0x302),{'type':_0x18028e(0x2dd),'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x18028e(0x382)]('ci',{'type':_0x288f9f[_0x18028e(0x27e)],'description':_0x288f9f[_0x18028e(0x286)],'default':![]})['option']('skip-auth',{'type':_0x18028e(0x22b),'description':_0x288f9f['NFyty'],'default':![]});},async _0x35ceff=>{const _0x2e71be=_0x28a8da;_0x288f9f['avZly'](warnRenamed,_0x2e71be(0x2bd),'ranger\x20profile\x20add'),await _0x288f9f['BKbLh'](withTelemetry,'add\x20env',_0x28a85c=>addEnv(_0x35ceff[_0x2e71be(0x302)],{'ci':_0x35ceff['ci'],'skipAuth':_0x35ceff[_0x2e71be(0x39f)]},_0x28a85c));})[_0x28a8da(0x29d)](_0x28a8da(0x391),![],_0x618110=>{const _0x21db05=_0x28a8da;return _0x618110['positional'](_0x288f9f[_0x21db05(0x2a3)],{'type':_0x288f9f['Uutwm'],'description':_0x21db05(0x2a1),'demandOption':!![]});},async _0x5e7629=>{const _0x23b2a6=_0x28a8da;_0x288f9f['vgFpv'](warnRenamed,_0x288f9f['SsYfw'],_0x288f9f['ilXEv']),await withTelemetry(_0x23b2a6(0x25a),()=>useEnv(_0x5e7629['env-name']));})['command'](_0x288f9f[_0x28a8da(0x347)],![],_0x378694=>{const _0x2bb5d4=_0x28a8da,_0x248ccb={'ZosTz':_0x288f9f['Uutwm'],'vgmxb':'Environment\x20name','QFZLu':_0x2bb5d4(0x26b),'taLgq':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','HCbpl':_0x2bb5d4(0x2d0),'lBFeb':_0x288f9f['NBQnX'],'ckKBS':function(_0x48d828,_0x4afa46,_0x9f66d8){return _0x48d828(_0x4afa46,_0x9f66d8);}};return _0x378694['command'](_0x288f9f['sqzfM'],![],_0x446e97=>{const _0xd309b6=_0x2bb5d4;return _0x446e97['positional'](_0xd309b6(0x393),{'type':_0x248ccb[_0xd309b6(0x251)],'description':_0x248ccb[_0xd309b6(0x246)],'demandOption':!![]})['positional'](_0x248ccb[_0xd309b6(0x1df)],{'type':_0x248ccb['ZosTz'],'description':_0x248ccb['taLgq'],'demandOption':!![]})['positional'](_0x248ccb[_0xd309b6(0x2ca)],{'type':_0xd309b6(0x2dd),'description':_0x248ccb[_0xd309b6(0x1c9)],'demandOption':!![]});},async _0x49e539=>{const _0x3af3b6=_0x2bb5d4;_0x248ccb['ckKBS'](warnRenamed,_0x3af3b6(0x270),'ranger\x20profile\x20config\x20set'),await _0x248ccb[_0x3af3b6(0x2d3)](withTelemetry,'config\x20set',()=>configSet(_0x49e539['env'],_0x49e539['key'],_0x49e539['value']));})['command'](_0x288f9f['gLmQm'],![],_0x2fb288=>{const _0x5a1e18=_0x2bb5d4;return _0x2fb288[_0x5a1e18(0x33b)]('env',{'type':_0x288f9f['Uutwm'],'description':_0x288f9f[_0x5a1e18(0x29a)],'demandOption':!![]})['positional'](_0x288f9f['ojzZW'],{'type':_0x5a1e18(0x2dd),'description':_0x288f9f['deVWB'],'demandOption':!![]});},async _0x483207=>{const _0x5bac03=_0x2bb5d4;_0x288f9f['plFFA'](warnRenamed,_0x5bac03(0x28f),_0x288f9f[_0x5bac03(0x2b0)]),await withTelemetry('config\x20get',()=>configGet(_0x483207['env'],_0x483207['key']));})['command'](_0x2bb5d4(0x259),![],_0x13fb4e=>{const _0x2ca21f=_0x2bb5d4;return _0x13fb4e[_0x2ca21f(0x33b)](_0x288f9f[_0x2ca21f(0x272)],{'type':_0x288f9f['Uutwm'],'description':_0x2ca21f(0x36c),'demandOption':!![]});},async _0x1d3ff6=>{const _0x1426ef=_0x2bb5d4;_0x288f9f[_0x1426ef(0x2f3)](warnRenamed,_0x288f9f['XZTot'],_0x1426ef(0x2fb)),await withTelemetry('config\x20list',()=>configList(_0x1d3ff6['env']));})[_0x2bb5d4(0x29d)](_0x288f9f[_0x2bb5d4(0x323)],![],_0x43a1d0=>{const _0x24a2b7=_0x2bb5d4;return _0x43a1d0['positional'](_0x24a2b7(0x393),{'type':'string','description':_0x248ccb['vgmxb'],'demandOption':!![]})['positional'](_0x248ccb['QFZLu'],{'type':'string','description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x8ef63a=>{const _0x5d5459=_0x2bb5d4;warnRenamed('ranger\x20config\x20unset',_0x288f9f['sgFeV']),await _0x288f9f[_0x5d5459(0x2ac)](withTelemetry,'config\x20unset',()=>configUnset(_0x8ef63a[_0x5d5459(0x393)],_0x8ef63a[_0x5d5459(0x26b)]));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20config\x20subcommand');})[_0x28a8da(0x29d)]('env',![],_0x4ebe36=>{const _0x3123c8=_0x28a8da,_0xa6ab67={'msPRQ':_0x288f9f['AYzNk'],'TStWv':_0x3123c8(0x23e)};return _0x4ebe36[_0x3123c8(0x29d)]('ls',![],()=>{},async()=>{warnRenamed(_0xa6ab67['msPRQ'],'ranger\x20profile\x20ls'),await withTelemetry(_0xa6ab67['TStWv'],()=>envList());})['command'](_0x288f9f['DyFJD'],![],_0x4e30a4=>{const _0x29a771=_0x3123c8;return _0x4e30a4[_0x29a771(0x33b)](_0x288f9f[_0x29a771(0x2a3)],{'type':_0x29a771(0x2dd),'description':_0x288f9f[_0x29a771(0x217)],'demandOption':!![]});},async _0x57ea30=>{const _0x24948e=_0x3123c8;warnRenamed(_0x24948e(0x225),'ranger\x20profile\x20update'),await withTelemetry('env\x20update',_0x102729=>updateEnv(_0x57ea30['env-name'],_0x102729));})['demandCommand'](0x1,_0x288f9f['AYbLr']);})['command'](_0x28a8da(0x2cf),![],_0x144148=>{const _0x15fab2=_0x28a8da,_0x5709c5={'TiRlg':_0x15fab2(0x2ce),'WBbWV':_0x288f9f['cmDqU'],'diFfE':_0x15fab2(0x2dd),'ekfpg':'checklist','xzuxN':_0x288f9f['gUeuy'],'sEiAN':'scenario','fyUdi':_0x288f9f[_0x15fab2(0x287)],'wKAFd':function(_0x46e5ad,_0x5c3341,_0x502a47){return _0x288f9f['srreF'](_0x46e5ad,_0x5c3341,_0x502a47);},'eEdQD':'ranger\x20feature\x20show','HYRog':function(_0x551fe8,_0x23dc38,_0x548fda){const _0x48fbbf=_0x15fab2;return _0x288f9f[_0x48fbbf(0x253)](_0x551fe8,_0x23dc38,_0x548fda);},'jsxwe':function(_0x19e4e0,_0x4e23e8,_0x377f7b){return _0x288f9f['plFFA'](_0x19e4e0,_0x4e23e8,_0x377f7b);},'eXMKa':_0x15fab2(0x39d),'enTgQ':_0x288f9f['CTZDY'],'IfAuD':function(_0x59c461,_0x20dc07,_0x237b1a){return _0x59c461(_0x20dc07,_0x237b1a);},'wOozC':'feature\x20resume','LJijG':_0x288f9f['uFRYS'],'OWjxX':function(_0x16a230,_0x50e861,_0x4eb397){const _0x2d70de=_0x15fab2;return _0x288f9f[_0x2d70de(0x2e7)](_0x16a230,_0x50e861,_0x4eb397);},'ABamf':_0x288f9f['xgVcQ'],'Xmalu':_0x288f9f[_0x15fab2(0x2f6)],'yarOS':_0x288f9f[_0x15fab2(0x21e)],'UYtet':_0x15fab2(0x363)};return _0x144148[_0x15fab2(0x29d)](_0x15fab2(0x295),![],_0x29798f=>{const _0x1dfbb5=_0x15fab2;return _0x29798f[_0x1dfbb5(0x33b)](_0x5709c5['TiRlg'],{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x5709c5[_0x1dfbb5(0x240)],{'type':_0x5709c5['diFfE'],'alias':'d','description':_0x1dfbb5(0x296)})[_0x1dfbb5(0x382)](_0x5709c5[_0x1dfbb5(0x2af)],{'type':_0x5709c5[_0x1dfbb5(0x345)],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x1dfbb5(0x382)](_0x5709c5['sEiAN'],{'type':_0x5709c5[_0x1dfbb5(0x345)],'hidden':!![]});},async _0x1ff9b5=>{const _0xb551cf=_0x15fab2;warnRenamed(_0x288f9f[_0xb551cf(0x2ff)],_0xb551cf(0x2d2)),warnFlagRenamed('ranger\x20create',_0x288f9f[_0xb551cf(0x33d)],'--scenario');const _0x294e14=_0x1ff9b5[_0xb551cf(0x292)]||_0x1ff9b5[_0xb551cf(0x250)];await withTelemetry(_0xb551cf(0x388),()=>featureCreate(_0x1ff9b5[_0xb551cf(0x2ce)],{'description':_0x1ff9b5['description'],'scenarios':_0x294e14}));})['command']('list',![],_0x546a8e=>{const _0x54789d=_0x15fab2;return _0x546a8e[_0x54789d(0x382)](_0x288f9f[_0x54789d(0x2a0)],{'type':_0x288f9f['HuxbR'],'description':_0x54789d(0x2c0)})[_0x54789d(0x382)](_0x288f9f['PorZk'],{'type':'number','alias':'l','description':_0x288f9f[_0x54789d(0x241)],'default':0xa})[_0x54789d(0x382)](_0x54789d(0x326),{'type':_0x288f9f[_0x54789d(0x31d)],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x54789d(0x382)]('include-deleted',{'type':_0x288f9f[_0x54789d(0x27e)],'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x4177f4=>{const _0x52e7c3=_0x15fab2;_0x288f9f['plFFA'](warnRenamed,_0x52e7c3(0x1ec),_0x52e7c3(0x26c)),await _0x288f9f[_0x52e7c3(0x257)](withTelemetry,_0x52e7c3(0x2a9),()=>featureList({'currentBranch':_0x4177f4[_0x52e7c3(0x324)],'limit':_0x4177f4[_0x52e7c3(0x24e)],'offset':_0x4177f4[_0x52e7c3(0x326)],'includeDeleted':_0x4177f4[_0x52e7c3(0x258)]}));})[_0x15fab2(0x29d)](_0x288f9f['DoGlW'],![],_0x12fb7f=>{const _0x336761=_0x15fab2;return _0x12fb7f[_0x336761(0x33b)]('id',{'type':_0x5709c5[_0x336761(0x2ba)],'description':_0x5709c5['fyUdi']});},async _0x3f9407=>{const _0x4fe22d=_0x15fab2;_0x5709c5['wKAFd'](warnRenamed,_0x5709c5['eEdQD'],'ranger\x20show'),await _0x5709c5[_0x4fe22d(0x2fe)](withTelemetry,'feature\x20show',()=>featureShow(_0x3f9407['id']));})[_0x15fab2(0x29d)](_0x288f9f['otcFE'],![],_0x25bf40=>{const _0x38579a=_0x15fab2;return _0x25bf40[_0x38579a(0x33b)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x2fc34a=>{const _0x58af53=_0x15fab2;_0x5709c5[_0x58af53(0x203)](warnRenamed,_0x5709c5['eXMKa'],_0x5709c5['enTgQ']),await _0x5709c5[_0x58af53(0x308)](withTelemetry,_0x5709c5['wOozC'],()=>featureResume(_0x2fc34a['id']));})['command'](_0x288f9f[_0x15fab2(0x284)],![],_0x19773a=>{const _0x65590a=_0x15fab2;return _0x19773a[_0x65590a(0x33b)](_0x5709c5[_0x65590a(0x240)],{'type':_0x5709c5[_0x65590a(0x2ba)],'description':'Scenario\x20description','demandOption':!![]})[_0x65590a(0x382)]('id',{'type':_0x5709c5[_0x65590a(0x2ba)],'description':_0x5709c5['LJijG']});},async _0x491860=>{const _0x27a834=_0x15fab2;_0x5709c5[_0x27a834(0x2f9)](warnRenamed,_0x5709c5['ABamf'],'ranger\x20add-scenario'),await withTelemetry(_0x5709c5['Xmalu'],()=>featureAddScenario(_0x491860[_0x27a834(0x318)],_0x491860['id']));})['command'](_0x288f9f[_0x15fab2(0x2b1)],![],_0x1c3e82=>{return _0x1c3e82['positional']('id',{'type':_0x288f9f['Uutwm'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x1a04f6=>{const _0x393987=_0x15fab2;_0x288f9f['HbPYj'](warnRenamed,_0x288f9f['cczxi'],'ranger\x20get-review'),await _0x288f9f[_0x393987(0x2f0)](withTelemetry,_0x288f9f[_0x393987(0x2cc)],()=>featureGetReview(_0x1a04f6['id']));})['command'](_0x288f9f['gHkaZ'],![],_0x7cd3c1=>{const _0x7b9477=_0x15fab2;return _0x7cd3c1[_0x7b9477(0x33b)]('id',{'type':'string','description':_0x7b9477(0x28d)});},async _0x22a8d5=>{const _0x19b04f=_0x15fab2;warnRenamed('ranger\x20feature\x20delete','ranger\x20delete'),await _0x5709c5['HYRog'](withTelemetry,_0x5709c5[_0x19b04f(0x332)],()=>featureDelete(_0x22a8d5['id']));})[_0x15fab2(0x29d)]('restore\x20<id>',![],_0x143939=>{return _0x143939['positional']('id',{'type':_0x5709c5['diFfE'],'description':_0x5709c5['UYtet'],'demandOption':!![]});},async _0x1796c8=>{const _0x17fe4c=_0x15fab2;warnRenamed('ranger\x20feature\x20restore',_0x288f9f[_0x17fe4c(0x373)]),await _0x288f9f['avZly'](withTelemetry,'feature\x20restore',()=>featureRestore(_0x1796c8['id']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})[_0x28a8da(0x29d)](_0x28a8da(0x36a),![],_0x19326c=>{const _0x2c4b03=_0x28a8da,_0x4634b0={'ZUKiZ':_0x288f9f['DUhGp'],'udhWL':_0x288f9f[_0x2c4b03(0x2be)],'ITqOY':_0x2c4b03(0x343),'zPPkF':'hook:enable','YynMp':_0x288f9f['mIxbc']};return _0x19326c['command'](_0x288f9f['WKSsX'],_0x288f9f['zafOJ'],_0x29eb0d=>{const _0x2306b9=_0x2c4b03;return _0x29eb0d[_0x2306b9(0x382)](_0x4634b0['ZUKiZ'],{'type':_0x4634b0[_0x2306b9(0x351)],'description':_0x4634b0[_0x2306b9(0x330)]});},async _0x431c60=>{const _0x146543=_0x2c4b03;await withTelemetry(_0x4634b0['zPPkF'],()=>hook('enable',_0x431c60[_0x146543(0x2aa)]));})['command']('disable',_0x288f9f['mWrWI'],_0x29ac64=>{const _0x200772=_0x2c4b03;return _0x29ac64['option'](_0x288f9f['DUhGp'],{'type':_0x288f9f['Uutwm'],'description':_0x200772(0x343)});},async _0x21c82c=>{const _0x33f235=_0x2c4b03;await withTelemetry(_0x4634b0[_0x33f235(0x1e2)],()=>hook(_0x33f235(0x2e6),_0x21c82c['session-id']));})['option'](_0x288f9f['RKysZ'],{'type':'string','description':_0x288f9f[_0x2c4b03(0x26a)]})['option'](_0x2c4b03(0x2aa),{'type':_0x288f9f['Uutwm'],'description':_0x288f9f[_0x2c4b03(0x2d6)]});},async _0x5a2008=>{const _0x1d83c7=_0x28a8da;_0x5a2008['name']&&await _0x288f9f[_0x1d83c7(0x239)](hook,_0x5a2008[_0x1d83c7(0x2ce)],_0x5a2008[_0x1d83c7(0x2aa)]);})['demandCommand'](0x1,_0x288f9f['guESd'])['strictCommands']()['fail'](async(_0x2e6021,_0x4e29e9,_0x1f60c0)=>{const _0x3464ca=_0x28a8da,_0x8e003f=_0x288f9f[_0x3464ca(0x335)](sanitizeArgs,process[_0x3464ca(0x1d0)]['slice'](0x2)),_0x297b4b=_0x288f9f[_0x3464ca(0x234)](getErrorType,_0x2e6021,_0x4e29e9);if(_0x2e6021&&_0x2e6021['includes'](_0x288f9f[_0x3464ca(0x2a8)])){const _0xa16e45=process[_0x3464ca(0x1d0)][0x2];console['error']('\x0aUnknown\x20command:\x20'+_0xa16e45),console['error'](_0x288f9f[_0x3464ca(0x36b)]);}else{if(_0x2e6021)console[_0x3464ca(0x22c)]('\x0a'+_0x2e6021+'\x0a');else _0x4e29e9&&console['error'](_0x3464ca(0x1d3)+_0x4e29e9['message']+'\x0a');}await logDesirePath({'rawCommand':_0x8e003f,'errorMessage':_0x2e6021||_0x4e29e9?.[_0x3464ca(0x30d)],'errorType':_0x297b4b});const _0x3b1115=getCurrentCollector();_0x3b1115&&await _0x3b1115['trackCommandError'](_0x4e29e9||new Error(_0x2e6021||_0x3464ca(0x2df))),process[_0x3464ca(0x36f)](0x1);})[_0x28a8da(0x23d)](_0x288f9f['DtxwH'](_0x288f9f[_0x28a8da(0x2cd)],_0x288f9f['LccrN'])+_0x288f9f[_0x28a8da(0x32f)])[_0x28a8da(0x265)]()[_0x28a8da(0x219)](_0x288f9f[_0x28a8da(0x249)],'h');}process['env'][_0x456391(0x2d4)]!=='test'&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()['parse']());
2
+ const _0x2348e6=_0x18ce;(function(_0x39a112,_0xab3e2c){const _0x24cb37=_0x18ce,_0x5629f2=_0x39a112();while(!![]){try{const _0x1d6589=parseInt(_0x24cb37(0x182))/0x1*(parseInt(_0x24cb37(0xe2))/0x2)+parseInt(_0x24cb37(0xb8))/0x3*(parseInt(_0x24cb37(0x126))/0x4)+parseInt(_0x24cb37(0x208))/0x5*(parseInt(_0x24cb37(0x1c3))/0x6)+parseInt(_0x24cb37(0x11d))/0x7*(-parseInt(_0x24cb37(0x178))/0x8)+parseInt(_0x24cb37(0x13d))/0x9*(-parseInt(_0x24cb37(0x20d))/0xa)+parseInt(_0x24cb37(0x1db))/0xb+parseInt(_0x24cb37(0x106))/0xc;if(_0x1d6589===_0xab3e2c)break;else _0x5629f2['push'](_0x5629f2['shift']());}catch(_0x116ad4){_0x5629f2['push'](_0x5629f2['shift']());}}}(_0x3005,0x41a60));import _0x5c9c80 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x55e62d=_0x18ce,_0x3929b1={'SenXo':function(_0x811cd6,_0x419f2f){return _0x811cd6!==_0x419f2f;},'StZqQ':function(_0x4676bf,_0x3b111c){return _0x4676bf(_0x3b111c);},'mIYOJ':function(_0x913a8d,_0x3d02f5,_0x1a0dd8){return _0x913a8d(_0x3d02f5,_0x1a0dd8);},'HktdH':_0x55e62d(0x20f),'mZBsf':'.env'};let _0x19d28a=process[_0x55e62d(0xc4)]();const _0x238940=parse(_0x19d28a)['root'];while(_0x3929b1[_0x55e62d(0x151)](_0x19d28a,_0x238940)){if(_0x3929b1[_0x55e62d(0x6a)](existsSync,_0x3929b1['mIYOJ'](join,_0x19d28a,_0x3929b1['HktdH']))||existsSync(join(_0x19d28a,_0x3929b1['mZBsf'])))return _0x19d28a;_0x19d28a=dirname(_0x19d28a);}return process['cwd']();}_0x5c9c80[_0x2348e6(0x11c)]({'path':join(findProjectRoot(),_0x2348e6(0x176))});import _0x249675 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';function _0x18ce(_0x10d3d7,_0x981b24){_0x10d3d7=_0x10d3d7-0x6a;const _0x300571=_0x3005();let _0x18cee5=_0x300571[_0x10d3d7];return _0x18cee5;}import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';function _0x3005(){const _0x18a12c=['Subcommand\x20or\x20API\x20token\x20(rngr_...)','vFRxP','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','dUzLY','message','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','HToGn','save-creds','JCqqj','log','usage','eoMuo','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','\x27.\x20Session\x20saved.','QYEWN','\x0aIssues:','ranger\x20feature\x20restore','ranger','ranger\x20verify-feature','MzWjT','Skip\x20authentication','ODYfX','Ytgaz','RwchW','status','ranger\x20resume','show','forEach','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','value','not_configured','argv','zLxLO','profile\x20use','593700NCFXDJ','help','mcp','\x0aError:\x20','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','Scenario\x20description','Run\x20full\x20interactive\x20setup','List\x20all\x20profiles','NhySx','Reason:\x20','debug-outcome','hptRb','HVQMN','BDZRb','Restore\x20a\x20soft-deleted\x20feature\x20review','zlbil','gTZaJ','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','show\x20[id]','limit','xLAeT','config','427861RCLPeA','ZObHb','Vryze','\x20INCOMPLETE','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.','CEwXZ','mplXw','setup-ci\x20<token>','ranger\x20feature\x20get-feedback','78828MlQpCV','IUvBK','Gpiti','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','flatMap','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','sYkFG','eDbnC','--env','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','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','AHAaD','esBBf','option','VUZUX','ccGYj','get-review','eSGNT','LeLVb','ztNAM','Documentation:\x0a','start-path','FXzzs','9yBtCtI','ranger\x20add-scenario','HELyw','RzXCM','JvXxu','pbchs','delete\x20<profile-name>','project','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','list','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','Login\x20failed:\x20','tjFLb','Feature\x20review\x20name','profile-name','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','error','egWmo','get\x20<env>\x20<key>','SenXo','demandCommand','sCcNP','Environment\x20name','sYDgT','oLUyQ','env','yes','VDKUx','qdwXz','tokenOrSubcommand','name','IUoJt','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','gUpoJ','feature\x20add-checklist-item','Set\x20up\x20a\x20local\x20browser\x20profile','restore','Manage\x20profile\x20configuration','headed','set\x20<profile>\x20<key>\x20<value>','Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','scenario','IXVYs','profile\x20config\x20list','ranger\x20feature\x20add-checklist-item','evaluation','UruTY','agIkx','zawed','update\x20<env-name>','Authenticate\x20with\x20Ranger','config\x20unset','boolean','ranger\x20profile\x20config\x20set','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','ranger\x20add\x20env','.env','safe-mode','40vCGGlY','AFesC','bzULt','severity','UFilm','Switch\x20to\x20using\x20a\x20specific\x20profile','fwxCD','NpTuk','resume\x20[id]','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','91447BXCUGs','cfsKR','setup-ci','PbOTm','ranger\x20feature\x20show','alias','delete','add-scenario\x20<description>','ranger\x20feature\x20create','wxBBh','jbCzW','gdqEJ','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','iQSmr','blocked','dry-run','New\x20scenario\x20description','XaMfG','opencode','disable','bZZyn','config\x20get','--checklist','VjxWD','slice','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','IgdtF','feature\x20show','uKoJy','FeDOn','spNus','Profile\x20name','zhhye','Skip\x20Chromium\x20browser\x20installation','--scenario','vyyio','WEKhv','iGoXr','qSdcz','lAMOj','environment-variable','number','\x20\x20https://docs.ranger.net\x0a','Example:\x20ranger\x20create\x20my-feature','setup:login','config\x20set','test_output','You\x20must\x20specify\x20an\x20auth\x20subcommand','setup:all','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','dcJsY','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','oFdkM','Name\x20of\x20the\x20environment\x20to\x20update','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','env\x20list','test','setup:profiles','ranger\x20go','ICRzN','Feature\x20review\x20ID','TzQJr','all','restore\x20<id>','2339574rJmSQj','unset\x20<profile>\x20<key>','iWyWz','fail','incomplete','version','profile\x20config\x20get','ranger\x20create','pskRI','AmdlL','Gnosm','saohy','nEZXt','scope','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','JUWFb','ELYLL','sWNgp','obDCB','with-deps','summary','Initialize\x20Ranger\x20in\x20your\x20project','Config\x20key\x20to\x20remove','gWjGg','1305854InlXIe','KATMR','feature\x20list','HQLgg','startsWith','Uriqi','feature','--notes','IsCba','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','user','offset','BLnWZ','profile\x20config\x20set','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','trackCommandError','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','include-deleted','issues','exit','print-access-token','some','cByzs','BmLVw','update','string','wBVdi','Config\x20value','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','ijGKS','IXKcL','lDMSU','gzQbn','gpKQT','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','hook','ranger\x20delete','list\x20<env>','OSoun','verify-feature','pYAHW','Feature\x20review\x20description','force','anrlC','5iygIqn','hook:enable','ranger\x20list','Include\x20soft-deleted\x20feature\x20reviews','OjsOb','5283150yhDoQu','DOMxO','.ranger','dOtqt','TaCvq','KQCIb','gMaIM','profile\x20encrypt-auth','get\x20<profile>\x20<key>','YmxVM','gcSCc','AKinA','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','TlPKX','vLuOX','notes','\x20VERIFIED','StZqQ','positional','evaluationReason','profile\x20add','ranger\x20config\x20list','array','hook:disable','LqzTW','profile\x20delete','Name\x20of\x20the\x20profile\x20to\x20update','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','iobrN','Ranger\x20API\x20token\x20(rngr_...)','owfOJ','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','allow-insecure-localhost','JSjJE','XixWK','mcp-bootstrap','deps','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','exclude-scenario','NODE_ENV','ovBxE','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','Number\x20of\x20feature\x20reviews\x20to\x20skip','use\x20<profile-name>','map','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','item','bqOWF','RfJEZ','session-id','vDBoW','current-branch','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','DAIcd','hfvwX','base-url','profile\x20ls','KoUzT','iZyoz','erTwN','env-name','NdJzv','jIzCQ','Scenario\x20number\x20to\x20edit\x20(1-based)','create\x20<name>','uKaid','failed','JpxHd','description','PLpkT','pXrsf','repeat','JfMGE','bPyTU','auth','Set\x20a\x20config\x20value','Manage\x20profiles','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','aynmR','ranger\x20config\x20unset','lrJbw','sbhHg','PnwWh','umBdC','XgnBP','\x20BLOCKED','pPkzS','ranger\x20feature\x20list','vbgsv','profile','scriptName','success','command','Install\x20Ranger\x20skills','69yFbNAw','ranger\x20restore','aaEyk','skip-auth','verified','add\x20env','token','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','\x20is\x20now\x20','santB','partial','lLiPs','cwd','FjRxZ','uCrft','checklist','hQuKY','EQToP','add\x20<profile-name>','Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level','encrypt\x20<profile>','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','RLgpx','WtQFo','VjEof','uhfPO','ranger\x20get-review','LgmxP','hwLff','BYJqD','Feature\x20review\x20ID\x20to\x20restore','GjZjw','url','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','You\x20must\x20specify\x20a\x20config\x20subcommand','Unknown\x20command','ranger\x20profile\x20update','--task','key','skip-chromium','cdp-endpoint','2tJjluu'];_0x3005=function(){return _0x18a12c;};return _0x3005();}import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x11b19c=>{const _0x38e69b=_0x2348e6,_0x356639=getCurrentCollector();_0x356639&&await _0x356639[_0x38e69b(0x1ea)](_0x11b19c),process['exitCode']=0x1;});const rawArgs=process['argv'][_0x2348e6(0x19a)](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201',PROFILE_CONFIG_HELP=_0x2348e6(0x130);function warnRenamed(_0x22e39,_0x3c0c79){const _0x476509=_0x2348e6;console['error']('\x0a'+_0x22e39+_0x476509(0xc0)+_0x3c0c79+'\x0a');}function argUsed(_0x25e5b4){const _0x1f2ba2=_0x2348e6;return rawArgs[_0x1f2ba2(0x1f1)](_0x3de5c1=>_0x3de5c1===_0x25e5b4||_0x3de5c1[_0x1f2ba2(0x1df)](_0x25e5b4+'='));}function warnFlagRenamed(_0x210fbc,_0x1cd2aa,_0xe5957){const _0x4c9fd4=_0x2348e6,_0x2bd21b={'eoMuo':function(_0x186af2,_0x1ebdc6){return _0x186af2(_0x1ebdc6);}};_0x2bd21b[_0x4c9fd4(0xee)](argUsed,_0x1cd2aa)&&warnRenamed(_0x210fbc+'\x20'+_0x1cd2aa,_0x210fbc+'\x20'+_0xe5957);}function normalizeEnvVarNames(_0x50e9a6){const _0x11f035=_0x2348e6,_0x1b7f40=Array['isArray'](_0x50e9a6)?_0x50e9a6:_0x50e9a6?[_0x50e9a6]:[];return _0x1b7f40[_0x11f035(0x12a)](_0x49291e=>String(_0x49291e)['split'](',')['map'](_0x53d50a=>_0x53d50a['trim']())['filter'](Boolean));}async function runGoCommand(_0x409849,_0x219835=![]){const _0x5e059a=_0x2348e6,_0x24463d={'VjEof':function(_0x30fe3f,_0x45b846){return _0x30fe3f+_0x45b846;},'OyZCF':function(_0x14c749,_0x1b6ede,_0x47e12c){return _0x14c749(_0x1b6ede,_0x47e12c);},'bqOWF':function(_0x196df6,_0x477661,_0x3f0e4d,_0x2c6ca0){return _0x196df6(_0x477661,_0x3f0e4d,_0x2c6ca0);},'pXrsf':function(_0x308cc4,_0x44a205,_0x5c4c1e,_0x28d5a7){return _0x308cc4(_0x44a205,_0x5c4c1e,_0x28d5a7);},'vLuOX':_0x5e059a(0x1bd),'wVzLH':function(_0xa2ef6,_0x4a9019){return _0xa2ef6(_0x4a9019);},'qihiW':'env-var','LXBCW':function(_0x37afda,_0x20b84c){return _0x37afda!==_0x20b84c;},'sCcNP':_0x5e059a(0x91),'CcZTk':_0x5e059a(0x111),'whmiW':_0x5e059a(0x21d),'eplpR':function(_0x20a483,_0x4f9716){return _0x20a483===_0x4f9716;},'fNfNV':_0x5e059a(0x120),'QTSHL':function(_0x7e46d4,_0x5445aa){return _0x7e46d4===_0x5445aa;},'aLZiM':'\x20PARTIAL','ODYfX':'blocked','DIODu':_0x5e059a(0xaf),'TARJW':'\x20FAILED','qPQJj':'verified'};_0x219835&&_0x24463d['OyZCF'](warnRenamed,_0x5e059a(0xf5),_0x5e059a(0x1bd));_0x24463d[_0x5e059a(0x89)](warnFlagRenamed,_0x5e059a(0x1bd),_0x5e059a(0x12e),'--profile'),_0x24463d[_0x5e059a(0xa0)](warnFlagRenamed,_0x24463d['vLuOX'],_0x5e059a(0xde),_0x5e059a(0x1e2)),_0x24463d['bqOWF'](warnFlagRenamed,_0x24463d[_0x5e059a(0x21b)],'--item','--scenario');const _0x452132=await loadRangerConfig(),_0x5ab988=isByokEnabled(),_0x50b446=_0x409849['model'],_0x244360=_0x452132['model'],_0x1f49aa=_0x24463d['wVzLH'](normalizeEnvVarNames,_0x409849[_0x24463d['qihiW']]),_0x113132=getVerificationTransport();if(_0x1f49aa['length']>0x0&&_0x113132!=='playwright-cli'&&_0x24463d['LXBCW'](_0x113132,'rangerwright-cli'))throw new Error(_0x5e059a(0x129)+_0x113132+'.');const _0x22a469=await verifyFeature({'featureId':_0x409849[_0x5e059a(0x1e1)],'profile':_0x409849[_0x5e059a(0xb3)]??_0x409849['env']??process['env']['RANGER_PROFILE'],'notes':_0x409849[_0x5e059a(0x21c)]??_0x409849['task'],'scenario':_0x409849[_0x5e059a(0x167)]??_0x409849[_0x5e059a(0x88)],'startPath':_0x409849[_0x5e059a(0x13b)],'baseUrl':_0x409849[_0x24463d[_0x5e059a(0x153)]],'debugOutcome':_0x409849[_0x24463d['CcZTk']],'debugAddressComments':_0x409849['debug-address-comments'],'headed':_0x409849[_0x5e059a(0x164)],'verifierEnvVars':_0x1f49aa,'byokEnabled':_0x5ab988,'flagVerifyModel':_0x50b446,'configVerifyModel':_0x244360});console[_0x5e059a(0xec)](_0x24463d['VjEof']('\x0a','='[_0x5e059a(0xa1)](0x3c))),console['log'](_0x22a469[_0x5e059a(0x16b)]===_0x5e059a(0xbc)?_0x24463d['whmiW']:_0x24463d['eplpR'](_0x22a469[_0x5e059a(0x16b)],'incomplete')?_0x24463d['fNfNV']:_0x24463d['QTSHL'](_0x22a469['evaluation'],'partial')?_0x24463d['aLZiM']:_0x24463d['QTSHL'](_0x22a469[_0x5e059a(0x16b)],_0x24463d[_0x5e059a(0xf8)])?_0x24463d['DIODu']:_0x24463d['TARJW']),console['log']('='[_0x5e059a(0xa1)](0x3c)),console[_0x5e059a(0xec)]('Summary:\x20'+_0x22a469[_0x5e059a(0x1d7)]),console['log']('Evaluation:\x20'+_0x22a469[_0x5e059a(0x16b)]),console[_0x5e059a(0xec)](_0x5e059a(0x110)+_0x22a469[_0x5e059a(0x6c)]),_0x22a469[_0x5e059a(0x1ee)]?.['length']&&(console[_0x5e059a(0xec)](_0x5e059a(0xf2)),_0x22a469[_0x5e059a(0x1ee)][_0x5e059a(0xfe)]((_0x571564,_0x277272)=>{const _0x53cf52=_0x5e059a;console[_0x53cf52(0xec)]('\x0a'+_0x24463d[_0x53cf52(0xd1)](_0x277272,0x1)+'.\x20['+_0x571564[_0x53cf52(0x17b)]+']\x20'+_0x571564[_0x53cf52(0x9e)]);})),process['exit'](_0x22a469['evaluation']===_0x24463d['qPQJj']?0x0:0x1);}export function buildParser(_0x391eac){const _0xe839c2=_0x2348e6,_0x1df790={'DAIcd':_0xe839c2(0x15c),'VDKUx':_0xe839c2(0x14b),'DhiMO':_0xe839c2(0x167),'eSGNT':function(_0x19a2f9,_0x2f37b6,_0x1a0d36,_0x35e596){return _0x19a2f9(_0x2f37b6,_0x1a0d36,_0x35e596);},'XaMfG':function(_0x399724,_0x469563,_0x51d076){return _0x399724(_0x469563,_0x51d076);},'saohy':'create','aTVye':'current-branch','UFilm':'limit','WEKhv':_0xe839c2(0x84),'IsCba':_0xe839c2(0x20b),'ztNAM':function(_0x4f0e8d,_0xb7bd78,_0x2d49c0){return _0x4f0e8d(_0xb7bd78,_0x2d49c0);},'oFdkM':_0xe839c2(0x146),'lAMOj':'string','pYAHW':_0xe839c2(0x1bf),'NpTuk':_0xe839c2(0x9e),'FjRxZ':'Scenario\x20description','BDZRb':_0xe839c2(0x1fe),'WClTy':_0xe839c2(0x192),'IuitP':'edit-scenario','tLChu':_0xe839c2(0x80),'YWAav':_0xe839c2(0x6f),'YmxVM':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','iIyKY':'json','wqBfB':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','bdUcU':'report','Gnosm':function(_0xfd4a9f,_0x732ede,_0xae6b60){return _0xfd4a9f(_0x732ede,_0xae6b60);},'ZObHb':_0xe839c2(0x162),'gTZaJ':'Authenticate\x20via\x20MCP\x20proxy','ChrgS':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','tYlRG':'user','PLpkT':_0xe839c2(0x145),'obDCB':'skip-auth','HToGn':'Skip\x20browser\x20authentication','ccGYj':_0xe839c2(0x206),'JUWFb':_0xe839c2(0x172),'NdJzv':_0xe839c2(0x79),'iAqHH':function(_0x2a8238,_0x3e5d2a){return _0x2a8238!==_0x3e5d2a;},'bPyTU':function(_0x523565,_0x205eba){return _0x523565+_0x205eba;},'sWNgp':_0xe839c2(0xbe),'lnYWr':'Ranger\x20API\x20token','uhfPO':_0xe839c2(0x1b9),'VtdOL':'setup:deps','LqzTW':function(_0x4f4f23){return _0x4f4f23();},'JvXxu':function(_0x5302ce,_0x2b325c,_0x15298e){return _0x5302ce(_0x2b325c,_0x15298e);},'pbchs':'opencode','FZvHG':_0xe839c2(0x15b),'qdwXz':_0xe839c2(0xe3),'RwchW':_0xe839c2(0x10d),'ZRvwh':_0xe839c2(0x7d),'gdqEJ':'Install\x20Chromium\x20browser\x20binary','wLVkB':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','dOtqt':_0xe839c2(0x1d0),'dcJsY':_0xe839c2(0xd9),'uCrft':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','XgnBP':_0xe839c2(0x7f),'wBVdi':'mcp-bootstrap','vyyio':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','HVQMN':'start','bzULt':'profile','uHfXR':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','geGLL':'base-url','JpxHd':'skip-chromium','TlPKX':_0xe839c2(0x1a3),'cwCXR':_0xe839c2(0x184),'DOMxO':function(_0x2089cd,_0x2673c7,_0xfce8e2){return _0x2089cd(_0x2673c7,_0xfce8e2);},'PnwWh':'login','Hcaht':'Install\x20scope\x20for\x20skills','GTFJh':function(_0x486866,_0x40d06f){return _0x486866(_0x40d06f);},'hptRb':'skillup','Vryze':_0xe839c2(0x14c),'lrJbw':_0xe839c2(0x12b),'BDrGl':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','ICRzN':_0xe839c2(0x74),'Ytgaz':'Name\x20of\x20the\x20profile','EQToP':'yes','owfOJ':'Skip\x20the\x20deletion\x20confirmation\x20prompt.','HELyw':_0xe839c2(0x72),'umBdC':function(_0xdbcf56,_0x6773c5,_0x241575){return _0xdbcf56(_0x6773c5,_0x241575);},'BYJqD':'profile\x20update','LipdG':'Profile\x20name','dUzLY':_0xe839c2(0x83),'FXzzs':_0xe839c2(0x1f7),'IXVYs':function(_0x17b18e,_0x40360a,_0x2cdcc4){return _0x17b18e(_0x40360a,_0x2cdcc4);},'HUhSO':_0xe839c2(0x1d9),'XixWK':_0xe839c2(0x165),'nkdPa':_0xe839c2(0xa5),'yqMlv':_0xe839c2(0x215),'sbhHg':'Remove\x20a\x20config\x20value','Uriqi':_0xe839c2(0x1eb),'vIlKh':_0xe839c2(0x100),'gUpoJ':function(_0x14a253,_0x56f442,_0x282850){return _0x14a253(_0x56f442,_0x282850);},'vssDY':'unknown\x20error','yNbqQ':_0xe839c2(0x1c1),'iWyWz':'dry-run','esBBf':_0xe839c2(0x85),'IILZi':_0xe839c2(0x143),'aBald':'Update\x20authentication\x20for\x20an\x20existing\x20profile','UruTY':'login\x20<name>','gWjGg':_0xe839c2(0x163),'wjlTo':_0xe839c2(0xfb),'XVdpr':_0xe839c2(0x1f4),'PNFXI':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','ujOaE':_0xe839c2(0x1f0),'ZhgUg':_0xe839c2(0x1e1),'agIkx':'notes','zhhye':'number','mplXw':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','ROQUq':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','AmdlL':_0xe839c2(0x121),'AFesC':_0xe839c2(0x164),'CEwXZ':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','WtQFo':'env-var','jtGeU':_0xe839c2(0x1aa),'LPvsB':_0xe839c2(0x111),'KATMR':_0xe839c2(0xbc),'ziCaM':_0xe839c2(0x9c),'RLgpx':_0xe839c2(0x1c7),'aynmR':_0xe839c2(0x157),'QYEWN':'task','vDBoW':_0xe839c2(0xcc),'iYhvf':_0xe839c2(0x1b1),'DNfyR':'Skip\x20authentication','cByzs':_0xe839c2(0x1d6),'RLRSc':_0xe839c2(0x13b),'caRvs':_0xe839c2(0x148),'CoUyg':'model','PbOTm':_0xe839c2(0xc2),'pPkzS':'env-name','AHAaD':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','IgdtF':_0xe839c2(0x1ec),'XLhlV':'ranger\x20profile\x20add','DFguz':_0xe839c2(0xbd),'uKaid':function(_0x511540,_0x1dccef,_0x10795c){return _0x511540(_0x1dccef,_0x10795c);},'bZZyn':_0xe839c2(0xdf),'anrlC':function(_0x172519,_0x4c6222,_0x410f36){return _0x172519(_0x4c6222,_0x410f36);},'comzC':_0xe839c2(0x1af),'BmLVw':'Config\x20key','IUBSJ':'ranger\x20profile\x20config\x20get','pPnoP':_0xe839c2(0x197),'kaxmH':function(_0x30c58e,_0x33236f,_0x2907ec){return _0x30c58e(_0x33236f,_0x2907ec);},'XeZmR':_0xe839c2(0x6e),'NhySx':'Environment\x20name','rvPGC':_0xe839c2(0xa9),'ijGKS':'ranger\x20env\x20update','vbgsv':'You\x20must\x20specify\x20an\x20env\x20subcommand','TzQJr':_0xe839c2(0x205),'gMaIM':_0xe839c2(0x1b3),'YKITB':_0xe839c2(0x18a),'YqqdV':'ranger\x20create','iZyoz':_0xe839c2(0x198),'aaEyk':_0xe839c2(0x15e),'xQMiv':'include-deleted','NMZwU':_0xe839c2(0x20a),'sYkFG':function(_0x2c8936,_0x1655c4,_0x25804f){return _0x2c8936(_0x1655c4,_0x25804f);},'YfbqN':_0xe839c2(0x125),'ELYLL':_0xe839c2(0xd3),'SAUGe':'feature\x20get-feedback','IXKcL':_0xe839c2(0x160),'WPNPv':_0xe839c2(0xd7),'eDbnC':function(_0x1c27b2,_0x527a1a,_0x156e55){return _0x1c27b2(_0x527a1a,_0x156e55);},'EHPJk':_0xe839c2(0x180),'ptJJJ':'get-feedback\x20[id]','kNyYv':_0xe839c2(0x10b),'vFRxP':_0xe839c2(0x209),'lDMSU':_0xe839c2(0x1e4),'HQLgg':_0xe839c2(0x70),'iwXCW':'disable','cBFZC':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','EcMLJ':_0xe839c2(0x8b),'AWelp':_0xe839c2(0xdc),'rnfXI':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','eelze':function(_0x41344b,_0xa85c5f){return _0x41344b||_0xa85c5f;},'gOlPm':'Unknown\x20error','NOJlq':function(_0x576829,_0x295d08){return _0x576829(_0x295d08);},'zawed':'ranger','VCNhT':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','OjsOb':'List\x20all\x20feature\x20reviews','AHTrE':_0xe839c2(0x119),'SInjD':_0xe839c2(0x10a),'DTwbQ':'report\x20[id]','sYDgT':'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','rxZjH':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','xLAeT':_0xe839c2(0x1c2),'RfJEZ':_0xe839c2(0xb7),'RzXCM':'clean','xARpR':_0xe839c2(0x87),'djSNj':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','WwnVr':'Print\x20the\x20current\x20CLI\x20access\x20token','IGAtF':'add\x20env\x20<env-name>','iQSmr':'use\x20<env-name>','bWoyO':_0xe839c2(0x174),'TaCvq':_0xe839c2(0x107)};return _0x1df790['NOJlq'](_0x249675,_0x391eac??process['argv']['slice'](0x2))[_0xe839c2(0xb4)](_0x1df790[_0xe839c2(0x16e)])['usage'](TOP_LEVEL_HELP)[_0xe839c2(0x1c8)](_0x1df790[_0xe839c2(0x71)](getCurrentVersion))[_0xe839c2(0xb6)](_0xe839c2(0x9a),_0x1df790['VCNhT'],_0xc2b245=>{const _0x14b0cb=_0xe839c2;return _0xc2b245[_0x14b0cb(0x6b)](_0x1df790[_0x14b0cb(0x8f)],{'type':'string','description':_0x1df790[_0x14b0cb(0x159)],'demandOption':!![]})['option'](_0x14b0cb(0x9e),{'type':_0x14b0cb(0x1f5),'alias':'d','description':_0x14b0cb(0x205)})[_0x14b0cb(0x133)](_0x1df790['DhiMO'],{'type':'array','alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x14b0cb(0x133)](_0x14b0cb(0xc7),{'type':'array','hidden':!![]});},async _0xf09b33=>{const _0x3d6e6a=_0xe839c2;if(!_0xf09b33['name']){console['error'](_0x3d6e6a(0x118)+_0x3d6e6a(0x1ad)),process[_0x3d6e6a(0x1ef)](0x1);return;}_0x1df790[_0x3d6e6a(0x137)](warnFlagRenamed,_0x3d6e6a(0x1ca),'--checklist',_0x3d6e6a(0x1a4));const _0x39d743=_0xf09b33['scenario']||_0xf09b33['checklist'];await _0x1df790['XaMfG'](withTelemetry,_0x1df790[_0x3d6e6a(0x1ce)],()=>featureCreate(_0xf09b33[_0x3d6e6a(0x15c)],{'description':_0xf09b33['description'],'scenarios':_0x39d743}));})['command']('list',_0x1df790[_0xe839c2(0x20c)],_0xf1cb71=>{const _0x5617ba=_0xe839c2;return _0xf1cb71[_0x5617ba(0x133)](_0x1df790['aTVye'],{'type':'boolean','description':_0x5617ba(0x15e)})[_0x5617ba(0x133)](_0x1df790[_0x5617ba(0x17c)],{'type':'number','alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option'](_0x5617ba(0x1e6),{'type':'number','alias':'o','description':_0x1df790['WEKhv'],'default':0x0})[_0x5617ba(0x133)](_0x5617ba(0x1ed),{'type':_0x5617ba(0x172),'alias':'d','description':_0x1df790[_0x5617ba(0x1e3)],'default':![]});},async _0xa35f48=>{const _0x46ba6b=_0xe839c2;await _0x1df790[_0x46ba6b(0x139)](withTelemetry,_0x1df790[_0x46ba6b(0x1b7)],()=>featureList({'currentBranch':_0xa35f48[_0x46ba6b(0x8d)],'limit':_0xa35f48['limit'],'offset':_0xa35f48[_0x46ba6b(0x1e6)],'includeDeleted':_0xa35f48['include-deleted']}));})[_0xe839c2(0xb6)](_0x1df790['AHTrE'],_0x1df790['SInjD'],_0x4eebfe=>{const _0x52b612=_0xe839c2;return _0x4eebfe['positional']('id',{'type':_0x1df790['lAMOj'],'description':_0x1df790[_0x52b612(0x204)]});},async _0x54b79f=>{const _0x200956=_0xe839c2;await _0x1df790['ztNAM'](withTelemetry,_0x200956(0xfd),()=>featureShow(_0x54b79f['id']));})['command'](_0x1df790['EHPJk'],'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x266493=>{const _0x527548=_0xe839c2;return _0x266493[_0x527548(0x6b)]('id',{'type':'string','description':_0x527548(0x8e)});},async _0x41405e=>{await withTelemetry('resume',()=>featureResume(_0x41405e['id']));})[_0xe839c2(0xb6)](_0xe839c2(0x189),'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0xdacba5=>{const _0x2bc6b3=_0xe839c2;return _0xdacba5['positional'](_0x1df790[_0x2bc6b3(0x17f)],{'type':_0x1df790['lAMOj'],'description':_0x1df790[_0x2bc6b3(0xc5)],'demandOption':!![]})['option']('id',{'type':_0x1df790[_0x2bc6b3(0x1a9)],'description':_0x1df790['BDZRb']});},async _0x260814=>{const _0x17954f=_0xe839c2;await _0x1df790[_0x17954f(0x139)](withTelemetry,'add-scenario',()=>featureAddScenario(_0x260814[_0x17954f(0x9e)],_0x260814['id']));})[_0xe839c2(0xb6)]('edit-scenario\x20<description>',_0xe839c2(0x12f),_0x4765e8=>{const _0x3ae622=_0xe839c2;return _0x4765e8[_0x3ae622(0x6b)](_0x1df790[_0x3ae622(0x17f)],{'type':_0x1df790[_0x3ae622(0x1a9)],'description':_0x1df790['WClTy'],'demandOption':!![]})[_0x3ae622(0x133)]('scenario',{'type':_0x3ae622(0x1ab),'description':_0x3ae622(0x99),'demandOption':!![]})[_0x3ae622(0x133)]('id',{'type':_0x3ae622(0x1f5),'description':_0x3ae622(0x1fe)});},async _0x5534fd=>{const _0x2b3bdf=_0xe839c2;await _0x1df790[_0x2b3bdf(0x193)](withTelemetry,_0x1df790['IuitP'],()=>featureEditScenario(_0x5534fd[_0x2b3bdf(0x9e)],{'id':_0x5534fd['id'],'scenario':_0x5534fd[_0x2b3bdf(0x167)]}));})['command'](_0x1df790['DTwbQ'],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x1c556e=>{const _0x1304a2=_0xe839c2;return _0x1c556e[_0x1304a2(0x6b)]('id',{'type':_0x1304a2(0x1f5),'description':_0x1304a2(0x1bf)})['option'](_0x1df790['tLChu'],{'type':_0x1df790['YWAav'],'description':_0x1df790[_0x1304a2(0x216)]})[_0x1304a2(0x133)](_0x1df790['iIyKY'],{'type':'boolean','description':_0x1df790['wqBfB'],'default':![]});},async _0x1fd2c3=>{const _0x5f26a9=_0xe839c2,_0x23e065=_0x1fd2c3[_0x1df790['tLChu']],_0x13a3d2=_0x23e065?_0x23e065[_0x5f26a9(0x86)](_0xee6ec=>Number(_0xee6ec)):undefined;await withTelemetry(_0x1df790['bdUcU'],()=>featureReportPrDescription(_0x1fd2c3['id'],{'excludeScenarios':_0x13a3d2,'json':_0x1fd2c3['json']}));})['command']('get-review\x20[id]',_0x1df790[_0xe839c2(0x155)],_0x5816e5=>{const _0x2efa4d=_0xe839c2;return _0x5816e5['positional']('id',{'type':_0x2efa4d(0x1f5),'description':_0x1df790[_0x2efa4d(0x114)]});},async _0x339528=>{const _0x29e215=_0xe839c2;await withTelemetry(_0x29e215(0x136),()=>featureGetReview(_0x339528['id']));})['command']('delete\x20[id]',_0x1df790['rxZjH'],_0x2d6008=>{const _0x5f6ec=_0xe839c2;return _0x2d6008[_0x5f6ec(0x6b)]('id',{'type':_0x5f6ec(0x1f5),'description':_0x5f6ec(0x1bf)});},async _0x113270=>{const _0xfe912c=_0xe839c2;await _0x1df790[_0xfe912c(0x1cd)](withTelemetry,_0xfe912c(0x188),()=>featureDelete(_0x113270['id']));})[_0xe839c2(0xb6)](_0x1df790[_0xe839c2(0x11b)],_0xe839c2(0x115),_0x348cbd=>{const _0x3f0e6f=_0xe839c2;return _0x348cbd['positional']('id',{'type':_0x3f0e6f(0x1f5),'description':_0x3f0e6f(0xd7),'demandOption':!![]});},async _0x3d6765=>{const _0x4b006a=_0xe839c2;await withTelemetry(_0x1df790[_0x4b006a(0x11e)],()=>featureRestore(_0x3d6765['id']));})['command']('setup\x20[tokenOrSubcommand]',_0xe839c2(0x1d8),_0x280ee1=>{const _0x97bb4e=_0xe839c2,_0x199140={'zgYmh':_0x1df790['sWNgp'],'cefWY':_0x1df790['lnYWr'],'VUZUX':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','AKinA':'scope','lLiPs':'user','ovBxE':_0x97bb4e(0xd9),'egWmo':_0x1df790[_0x97bb4e(0x1d2)],'hfvwX':_0x97bb4e(0x7f),'KoUzT':'mcp-bootstrap','IUvBK':_0x1df790[_0x97bb4e(0xd2)],'cfsKR':function(_0x2f6963,_0x119cd4,_0xefc4e){return _0x2f6963(_0x119cd4,_0xefc4e);},'santB':_0x97bb4e(0x1b2),'jIzCQ':_0x1df790['VtdOL'],'hQuKY':function(_0x240e8f){return _0x1df790['LqzTW'](_0x240e8f);},'JLHYt':function(_0x2da05d,_0x233d0d){return _0x2da05d(_0x233d0d);},'MzWjT':function(_0x524897,_0x4c53aa,_0x4a8c68){const _0xeecfa7=_0x97bb4e;return _0x1df790[_0xeecfa7(0x141)](_0x524897,_0x4c53aa,_0x4a8c68);},'OSoun':_0x1df790['pbchs'],'gzQbn':function(_0x357df1,_0x4d6bdd){return _0x357df1(_0x4d6bdd);},'wiWIx':function(_0x658003,_0xadf34f,_0x176355){return _0x658003(_0xadf34f,_0x176355);}};return _0x280ee1[_0x97bb4e(0xed)](_0x97bb4e(0xcb))['positional'](_0x1df790['FZvHG'],{'type':_0x97bb4e(0x1f5),'description':_0x1df790[_0x97bb4e(0x15a)]})[_0x97bb4e(0xb6)](_0x97bb4e(0x1c1),_0x1df790[_0x97bb4e(0xfa)],_0x2600a6=>{const _0xd2e4c5=_0x97bb4e;return _0x2600a6[_0xd2e4c5(0x133)](_0x199140['zgYmh'],{'type':'string','description':_0x199140['cefWY']})['option'](_0xd2e4c5(0xe0),{'type':'boolean','description':_0xd2e4c5(0xff),'default':![]})['option'](_0xd2e4c5(0xbb),{'type':_0xd2e4c5(0x172),'description':_0xd2e4c5(0xf7),'default':![]})[_0xd2e4c5(0x133)](_0xd2e4c5(0x1d6),{'type':_0xd2e4c5(0x172),'description':_0x199140[_0xd2e4c5(0x134)],'default':![]})['option'](_0x199140[_0xd2e4c5(0x218)],{'type':_0xd2e4c5(0x1f5),'choices':[_0x199140[_0xd2e4c5(0xc3)]],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x199140[_0xd2e4c5(0x82)],{'type':'string','description':_0xd2e4c5(0xbf)})[_0xd2e4c5(0x133)]('force',{'type':_0x199140['egWmo'],'description':_0x199140[_0xd2e4c5(0x90)],'default':![]})[_0xd2e4c5(0x133)]('opencode',{'type':_0xd2e4c5(0x172),'description':_0xd2e4c5(0x7e),'default':![]})['option']('allow-insecure-localhost',{'type':_0x199140[_0xd2e4c5(0x14f)],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]})[_0xd2e4c5(0x133)](_0x199140[_0xd2e4c5(0x93)],{'type':_0xd2e4c5(0x172),'description':_0x199140[_0xd2e4c5(0x127)],'default':![]})['option']('mcp',{'type':_0xd2e4c5(0x172),'description':'Alias\x20for\x20--mcp-bootstrap','default':![]});},async _0x45197a=>{const _0x47e983=_0x97bb4e;(_0x45197a['mcp-bootstrap']||_0x45197a[_0x47e983(0x108)])&&await _0x199140[_0x47e983(0x183)](withTelemetry,_0x47e983(0x7c),()=>mcpBootstrap()),await _0x199140['cfsKR'](withTelemetry,_0x199140[_0x47e983(0xc1)],_0x438a9b=>start(_0x45197a[_0x47e983(0xbe)],{'skipChromium':_0x45197a[_0x47e983(0xe0)],'skipAuth':_0x45197a['skip-auth'],'withDeps':_0x45197a['with-deps'],'scope':_0x45197a['scope'],'url':_0x45197a['url'],'force':_0x45197a[_0x47e983(0x206)],'opencode':_0x45197a[_0x47e983(0x194)],'allowInsecureLocalhost':_0x45197a[_0x47e983(0x79)]},_0x438a9b));})['command'](_0x1df790['ZRvwh'],_0x1df790[_0x97bb4e(0x18d)],_0x3565e8=>{const _0x29ab21=_0x97bb4e;return _0x3565e8['option'](_0x29ab21(0x1d6),{'type':'boolean','description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]});},async _0x432046=>{const _0x1e2a40=_0x97bb4e;await withTelemetry(_0x199140[_0x1e2a40(0x98)],()=>ensureChromium(_0x432046['with-deps']));})[_0x97bb4e(0xb6)]('login',_0x97bb4e(0x170),_0x3c7906=>{const _0xa7a552=_0x97bb4e;return _0x3c7906[_0xa7a552(0x133)]('token',{'type':_0x1df790[_0xa7a552(0x1a9)],'description':_0xa7a552(0x76)})[_0xa7a552(0x133)](_0xa7a552(0x108),{'type':'boolean','description':_0x1df790[_0xa7a552(0x117)],'default':![]});},async _0x53e24b=>{const _0x46ec47=_0x97bb4e;await withTelemetry(_0x46ec47(0x1ae),async()=>{const _0x21851f=_0x46ec47;if(_0x53e24b['mcp']){await _0x199140['hQuKY'](mcpBootstrap);const _0x1504af=await refreshCliToken();if(!_0x1504af)throw new Error(_0x21851f(0xe8));const _0x4a59cd=await getCurrentUser(_0x1504af);if(!_0x4a59cd[_0x21851f(0xb5)])throw new Error(_0x21851f(0x181)+_0x4a59cd['error']);console['log']('✓\x20Authenticated\x20to\x20'+_0x4a59cd['user']['organizationName']);return;}await _0x199140['JLHYt'](authenticate,_0x53e24b[_0x21851f(0xbe)]);});})[_0x97bb4e(0xb6)]('skills',_0x1df790['wLVkB'],_0x1cc13d=>{const _0x2689d1=_0x97bb4e;return _0x1cc13d['option'](_0x2689d1(0x1d0),{'type':_0x1df790[_0x2689d1(0x1a9)],'choices':[_0x2689d1(0x1e5),_0x2689d1(0x144)],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})[_0x2689d1(0x133)](_0x2689d1(0x194),{'type':'boolean','description':_0x1df790['ChrgS'],'default':![]});},async _0x6f274b=>{await _0x199140['wiWIx'](withTelemetry,'setup:skills',async()=>{const _0xf6e0a5=_0x18ce,_0x3feb7c=_0x6f274b[_0xf6e0a5(0x1d0)];if(_0x6f274b[_0xf6e0a5(0x194)]){const _0x143067=await ensureOpencodePluginConfig(_0x3feb7c);_0x143067&&await _0x199140[_0xf6e0a5(0xf6)](installSkill,_0xf6e0a5(0xf4),{'level':_0x143067[_0xf6e0a5(0x1d0)],'cliVersion':_0x199140[_0xf6e0a5(0xc8)](getCurrentVersion),'platform':_0x199140[_0xf6e0a5(0x202)]});}else await ensureClaudePlugin(_0x3feb7c),await _0x199140[_0xf6e0a5(0x1fc)](ensureClaudeSkills,_0x3feb7c);});})[_0x97bb4e(0xb6)]('profiles',_0x97bb4e(0x161),_0xb86f99=>{const _0x2cbe54=_0x97bb4e;return _0xb86f99['option']('scope',{'type':'string','choices':[_0x1df790['tYlRG']],'description':_0x1df790[_0x2cbe54(0x9f)]})[_0x2cbe54(0x133)]('url',{'type':_0x1df790['lAMOj'],'description':'Base\x20URL\x20of\x20the\x20running\x20app'})[_0x2cbe54(0x133)](_0x1df790['obDCB'],{'type':'boolean','description':_0x1df790[_0x2cbe54(0xe9)],'default':![]})[_0x2cbe54(0x133)](_0x1df790['ccGYj'],{'type':_0x1df790['JUWFb'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x2cbe54(0x133)](_0x1df790['NdJzv'],{'type':_0x1df790['JUWFb'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x475ee1=>{const _0x211e68=_0x97bb4e,_0x219bb6=_0x475ee1[_0x211e68(0x1d0)];_0x1df790['iAqHH'](_0x219bb6,undefined)&&_0x219bb6!==_0x1df790['tYlRG']&&(console[_0x211e68(0x14e)](_0x1df790['bPyTU'](_0x1df790['bPyTU']('ranger\x20setup\x20profiles\x20--scope='+_0x219bb6+'\x20is\x20no\x20longer\x20supported.\x20',_0x211e68(0x1e9)),'Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.')),process['exit'](0x1)),await withTelemetry(_0x211e68(0x1bc),_0x1fdf0d=>ensureLocalEnv({'url':_0x475ee1['url'],'force':_0x475ee1[_0x211e68(0x206)],'allowInsecureLocalhost':_0x475ee1[_0x211e68(0x79)],'scope':_0x211e68(0x1e5)},_0x1fdf0d));})['option']('skip-chromium',{'type':_0x1df790['JUWFb'],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x97bb4e(0x133)](_0x1df790[_0x97bb4e(0x210)],{'type':_0x1df790[_0x97bb4e(0x1a9)],'choices':['user'],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x97bb4e(0x133)](_0x1df790[_0x97bb4e(0x1b5)],{'type':_0x1df790[_0x97bb4e(0x1a9)],'description':_0x1df790[_0x97bb4e(0xc6)]})[_0x97bb4e(0x133)](_0x97bb4e(0x206),{'type':_0x97bb4e(0x172),'description':_0x1df790[_0x97bb4e(0xae)],'default':![]})[_0x97bb4e(0x133)](_0x1df790[_0x97bb4e(0x142)],{'type':'boolean','description':_0x1df790['ChrgS'],'default':![]})['option']('allow-insecure-localhost',{'type':'boolean','description':_0x97bb4e(0x12b),'default':![]})[_0x97bb4e(0x133)](_0x1df790['wBVdi'],{'type':_0x1df790['JUWFb'],'description':_0x1df790[_0x97bb4e(0x1a5)],'default':![]})[_0x97bb4e(0x133)](_0x1df790[_0x97bb4e(0x1d5)],{'type':_0x97bb4e(0x172),'description':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','default':![]})[_0x97bb4e(0x133)](_0x97bb4e(0x1d6),{'type':_0x1df790['JUWFb'],'description':_0x97bb4e(0xe5),'default':![]})[_0x97bb4e(0x133)](_0x97bb4e(0xbe),{'type':'string','hidden':!![],'description':'API\x20token'});},async _0x4f2cb5=>{const _0x4bad99=_0xe839c2,_0x1cd21a=_0x4f2cb5[_0x4bad99(0x15b)],_0x44f03a=_0x4f2cb5[_0x4bad99(0xbe)]??_0x1cd21a;_0x4f2cb5[_0x4bad99(0x7c)]&&await withTelemetry(_0x1df790[_0x4bad99(0x1f6)],()=>mcpBootstrap()),await withTelemetry(_0x1df790[_0x4bad99(0x113)],_0x2355cb=>start(_0x44f03a,{'skipChromium':_0x4f2cb5['skip-chromium'],'skipAuth':_0x4f2cb5['skip-auth'],'withDeps':_0x4f2cb5['with-deps'],'scope':_0x4f2cb5['scope'],'url':_0x4f2cb5[_0x4bad99(0xd9)],'force':_0x4f2cb5['force'],'opencode':_0x4f2cb5[_0x4bad99(0x194)],'allowInsecureLocalhost':_0x4f2cb5['allow-insecure-localhost']},_0x2355cb));})['command'](_0xe839c2(0x124),![],_0x2fd322=>{const _0x602395=_0xe839c2;return _0x2fd322['positional']('token',{'type':_0x1df790['lAMOj'],'description':_0x1df790['lnYWr'],'demandOption':!![]})['option'](_0x1df790['bzULt'],{'type':_0x602395(0x1f5),'description':_0x1df790['uHfXR']})['option'](_0x1df790['geGLL'],{'type':_0x1df790['lAMOj'],'description':_0x602395(0x19b)})['option'](_0x1df790['JpxHd'],{'type':'boolean','description':_0x1df790[_0x602395(0x21a)],'default':![]});},async _0xd4105d=>{const _0x2babb6=_0xe839c2;await _0x1df790[_0x2babb6(0x193)](withTelemetry,_0x1df790['cwCXR'],_0x52e7ec=>setupCi(_0xd4105d[_0x2babb6(0xbe)],{'profile':_0xd4105d['profile'],'baseUrl':_0xd4105d[_0x2babb6(0x91)],'skipChromium':_0xd4105d['skip-chromium']},_0x52e7ec));})[_0xe839c2(0xb6)]('login',_0xe839c2(0x1b6),()=>{},async()=>{const _0x227dc3=_0xe839c2;await _0x1df790[_0x227dc3(0x20e)](withTelemetry,_0x1df790[_0x227dc3(0xac)],()=>login());})[_0xe839c2(0xb6)](_0x1df790['hptRb'],_0x1df790[_0xe839c2(0x8a)],_0x3bfdd2=>{const _0x54b955=_0xe839c2;return _0x3bfdd2['option'](_0x54b955(0x194),{'type':_0x1df790[_0x54b955(0x1d2)],'description':'Install\x20skills\x20for\x20OpenCode','default':![]})[_0x54b955(0x133)]('scope',{'type':_0x1df790[_0x54b955(0x1a9)],'choices':[_0x1df790['tYlRG'],'project'],'description':_0x1df790['Hcaht']});},async _0x498227=>{const _0x3732b4=_0xe839c2,_0x247301=_0x1df790['GTFJh'](Boolean,_0x498227['opencode']);await _0x1df790['JvXxu'](withTelemetry,_0x1df790[_0x3732b4(0x112)],()=>skillup({'autoInstall':_0x498227['scope'],'platform':_0x247301?_0x3732b4(0x194):'claude'}));})['command'](_0x1df790[_0xe839c2(0x140)],_0x1df790['xARpR'],()=>{},async()=>{await withTelemetry('clean',()=>clean());})['command']([_0x1df790['bzULt'],'profiles'],_0xe839c2(0xa6),_0x12b709=>{const _0x42e9a4=_0xe839c2,_0x4df0cb={'VjxWD':function(_0x45b73e,_0x3e0f74){return _0x45b73e(_0x3e0f74);},'onQGI':'cdp-endpoint','zLxLO':function(_0x4ccbf8,_0x3df3a5,_0xfc56c3){return _0x1df790['gUpoJ'](_0x4ccbf8,_0x3df3a5,_0xfc56c3);},'bYmPI':_0x42e9a4(0xb3),'erTwN':_0x1df790['LipdG'],'vyWZf':_0x42e9a4(0x92),'tjFLb':_0x42e9a4(0x1f5),'jbCzW':_0x42e9a4(0x73),'jEDzG':_0x42e9a4(0x79),'wxBBh':_0x42e9a4(0x172),'RvncQ':_0x1df790['vssDY'],'eGVLB':_0x1df790['yNbqQ'],'IGIxA':_0x1df790[_0x42e9a4(0x1c5)],'qSdcz':_0x1df790['EQToP'],'KQCIb':'key'};return _0x12b709['usage'](PROFILE_HELP)['command'](_0x42e9a4(0xca),'Add\x20profile\x20configuration',_0x517e78=>{const _0x1a789c=_0x42e9a4;return _0x517e78[_0x1a789c(0x6b)](_0x1df790[_0x1a789c(0x11f)],{'type':'string','description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x1a789c(0x133)]('ci',{'type':_0x1a789c(0x172),'hidden':!![],'default':![]})[_0x1a789c(0x133)](_0x1a789c(0xbb),{'type':'boolean','description':_0x1a789c(0xcd),'default':![]})[_0x1a789c(0x133)](_0x1a789c(0xd9),{'type':_0x1df790[_0x1a789c(0x1a9)],'description':_0x1a789c(0x78)})[_0x1a789c(0x133)](_0x1df790[_0x1a789c(0x135)],{'type':_0x1df790['JUWFb'],'description':_0x1df790[_0x1a789c(0xae)],'default':![]})['option'](_0x1a789c(0xe1),{'type':'string','description':_0x1a789c(0xce)})['option'](_0x1df790[_0x1a789c(0x97)],{'type':_0x1df790['JUWFb'],'description':_0x1df790[_0x1a789c(0xaa)],'default':![]})['option'](_0x1a789c(0x177),{'type':_0x1df790[_0x1a789c(0x1d2)],'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]})[_0x1a789c(0x133)]('setup-header',{'type':_0x1df790['lAMOj'],'array':!![],'description':_0x1df790['BDrGl']})['option'](_0x1a789c(0x1d0),{'type':_0x1df790[_0x1a789c(0x1a9)],'choices':[_0x1df790['tYlRG'],'project'],'description':_0x1a789c(0x14d)})[_0x1a789c(0x133)]('yes',{'type':_0x1a789c(0x172),'alias':'y','description':_0x1df790[_0x1a789c(0x1be)],'default':![]});},async _0x577a9c=>{const _0x4f116b=_0x42e9a4;await withTelemetry(_0x4f116b(0x6d),_0x24f211=>addEnv(_0x577a9c[_0x4f116b(0x14c)],{'ci':_0x577a9c['ci'],'skipAuth':_0x577a9c['skip-auth'],'url':_0x577a9c[_0x4f116b(0xd9)],'force':_0x577a9c['force'],'cdpEndpoint':_0x577a9c['cdp-endpoint'],'allowInsecureLocalhost':_0x577a9c['allow-insecure-localhost'],'safeMode':_0x577a9c['safe-mode'],'setupHeader':_0x577a9c['setup-header'],'scope':_0x577a9c['scope'],'yes':_0x577a9c['yes']},_0x24f211),{'isElectron':_0x4df0cb[_0x4f116b(0x199)](Boolean,_0x577a9c[_0x4df0cb['onQGI']])});})[_0x42e9a4(0xb6)](_0x1df790[_0x42e9a4(0x132)],_0x42e9a4(0x17d),_0x29cd52=>{const _0x4963c4=_0x42e9a4;return _0x29cd52['positional']('profile-name',{'type':'string','description':_0x1df790[_0x4963c4(0xf9)],'demandOption':!![]});},async _0x3ec954=>{const _0x3d73c4=_0x42e9a4;await _0x4df0cb['zLxLO'](withTelemetry,_0x3d73c4(0x105),()=>useEnv(_0x3ec954[_0x3d73c4(0x14c)]));})[_0x42e9a4(0xb6)](_0x1df790['IILZi'],'Delete\x20a\x20cloud\x20profile',_0x3f8c7e=>{const _0x594d05=_0x42e9a4;return _0x3f8c7e['positional'](_0x594d05(0x14c),{'type':'string','description':_0x594d05(0x166),'demandOption':!![]})['option'](_0x1df790[_0x594d05(0xc9)],{'type':_0x1df790['JUWFb'],'alias':'y','description':_0x1df790[_0x594d05(0x77)],'default':![]});},async _0x1f1b15=>{const _0x105aba=_0x42e9a4;await withTelemetry(_0x1df790[_0x105aba(0x13f)],()=>deleteProfile(_0x1f1b15['profile-name'],{'yes':_0x1f1b15[_0x105aba(0x158)]}));})['command']('encrypt-auth\x20<profile>',![],_0xf991f7=>{const _0x34ee0f=_0x42e9a4;return _0xf991f7[_0x34ee0f(0x6b)](_0x4df0cb['bYmPI'],{'type':_0x34ee0f(0x1f5),'description':_0x4df0cb['erTwN'],'demandOption':!![]});},async _0x339c1b=>{const _0x2d8e3c=_0x42e9a4;await _0x4df0cb['zLxLO'](withTelemetry,_0x2d8e3c(0x214),()=>authEncrypt(_0x339c1b['profile']));})['command']('ls',_0x42e9a4(0x10e),()=>{},async()=>{await withTelemetry(_0x4df0cb['vyWZf'],()=>envList());})['command']('update\x20<profile-name>',_0x1df790['aBald'],_0xfcac80=>{const _0x51b630=_0x42e9a4;return _0xfcac80[_0x51b630(0x6b)](_0x51b630(0x14c),{'type':_0x4df0cb[_0x51b630(0x14a)],'description':_0x4df0cb[_0x51b630(0x18c)],'demandOption':!![]})[_0x51b630(0x133)](_0x4df0cb['jEDzG'],{'type':_0x4df0cb['wxBBh'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)'})['option']('manual',{'type':'boolean','description':'Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login'});},async _0x68c0f9=>{const _0x692bfa=_0x42e9a4;await _0x1df790[_0x692bfa(0xad)](withTelemetry,_0x1df790[_0x692bfa(0xd6)],_0x42a7a3=>updateEnv(_0x68c0f9['profile-name'],_0x42a7a3,{'allowInsecureLocalhost':_0x68c0f9[_0x692bfa(0x79)],'manual':_0x68c0f9['manual']}));})['command'](_0x1df790[_0x42e9a4(0x16c)],![],_0x461bf5=>{const _0x53c591=_0x42e9a4;return _0x461bf5[_0x53c591(0x6b)](_0x1df790['DAIcd'],{'type':_0x53c591(0x1f5),'description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0x378e24=>{const _0x36505f={'gpKQT':'Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','geFCi':function(_0x443b18,_0x14facd,_0x509ede){return _0x443b18(_0x14facd,_0x509ede);},'FeDOn':function(_0x2a8d59,_0x6b91d0){return _0x2a8d59===_0x6b91d0;},'Gpiti':'No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','GjZjw':_0x4df0cb['RvncQ']};await withTelemetry('profile\x20login',async()=>{const _0x39bb9a=_0x18ce,_0x471ca5=process['env']['RANGER_TEST_USERNAME'],_0x5a324a=process['env']['RANGER_TEST_PASSWORD'];(!_0x471ca5||!_0x5a324a)&&(console[_0x39bb9a(0x14e)](_0x36505f[_0x39bb9a(0x1fd)]),process['exit'](0x1));const _0x1e3748=_0x378e24[_0x39bb9a(0x15c)],_0x10c475=await _0x36505f['geFCi'](serverSideLogin,_0x1e3748,{'force':!![]});_0x36505f[_0x39bb9a(0x19f)](_0x10c475[_0x39bb9a(0xfb)],_0x39bb9a(0x102))&&(console[_0x39bb9a(0x14e)](_0x36505f[_0x39bb9a(0x128)]),process[_0x39bb9a(0x1ef)](0x1)),_0x10c475['status']==='failed'&&(console['error'](_0x39bb9a(0x149)+(_0x10c475[_0x39bb9a(0x14e)]??_0x36505f[_0x39bb9a(0xd8)])),_0x10c475[_0x39bb9a(0x1b0)]&&console[_0x39bb9a(0x14e)](_0x10c475[_0x39bb9a(0x1b0)]),process['exit'](0x1)),console[_0x39bb9a(0xec)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x1e3748+_0x39bb9a(0xf0));});})[_0x42e9a4(0xb6)]('migrate\x20[profile-name]',![],_0x11d537=>{const _0x22a709=_0x42e9a4;return _0x11d537[_0x22a709(0x6b)]('profile-name',{'type':_0x4df0cb['tjFLb'],'description':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.'})['option'](_0x4df0cb['eGVLB'],{'type':_0x4df0cb[_0x22a709(0x18b)],'description':_0x22a709(0x1d1),'default':![]})[_0x22a709(0x133)](_0x4df0cb['IGIxA'],{'type':_0x4df0cb[_0x22a709(0x18b)],'description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})[_0x22a709(0x133)](_0x4df0cb[_0x22a709(0x1a8)],{'type':_0x22a709(0x172),'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})[_0x22a709(0x133)](_0x22a709(0xea),{'type':_0x22a709(0x172),'description':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','default':![]});},async _0x1388a8=>{const _0x34a749=_0x42e9a4;await _0x4df0cb[_0x34a749(0x104)](withTelemetry,'profile\x20migrate',_0x4c16ba=>migrateProfile({'profileName':_0x1388a8[_0x34a749(0x14c)],'all':_0x1388a8['all'],'dryRun':_0x1388a8[_0x34a749(0x191)],'yes':_0x1388a8['yes'],'saveCreds':_0x1388a8[_0x34a749(0xea)]},_0x4c16ba));})['command']('config',_0x1df790[_0x42e9a4(0x1da)],_0x137d7e=>{const _0x380d81=_0x42e9a4,_0x4e2549={'iGoXr':'profile','JCqqj':_0x1df790['LipdG'],'CziBn':_0x1df790[_0x380d81(0xe6)],'hwLff':_0x380d81(0x101),'Mbxeu':_0x1df790[_0x380d81(0x13c)],'LeLVb':function(_0x36dbd0,_0xd15613,_0x5a0a54){const _0xe52bb=_0x380d81;return _0x1df790[_0xe52bb(0x168)](_0x36dbd0,_0xd15613,_0x5a0a54);},'CnsdM':_0x380d81(0x1c9),'JfMGE':function(_0x375cbd,_0x442b4d,_0x5d470c){return _0x375cbd(_0x442b4d,_0x5d470c);},'MeybF':_0x380d81(0x1f5),'rkowe':_0x1df790['HUhSO'],'Ednhu':'profile\x20config\x20unset'};return _0x137d7e['usage'](PROFILE_CONFIG_HELP)[_0x380d81(0xb6)](_0x1df790[_0x380d81(0x7b)],_0x1df790['nkdPa'],_0x5cea0b=>{const _0x11cf2=_0x380d81;return _0x5cea0b['positional'](_0x4e2549[_0x11cf2(0x1a7)],{'type':'string','description':_0x4e2549[_0x11cf2(0xeb)],'demandOption':!![]})[_0x11cf2(0x6b)]('key',{'type':_0x11cf2(0x1f5),'description':_0x4e2549['CziBn'],'demandOption':!![]})['positional'](_0x4e2549[_0x11cf2(0xd5)],{'type':_0x11cf2(0x1f5),'description':_0x4e2549['Mbxeu'],'demandOption':!![]});},async _0x4d45a1=>{const _0x44ee85=_0x380d81;await withTelemetry(_0x44ee85(0x1e8),()=>configSet(_0x4d45a1['profile'],_0x4d45a1[_0x44ee85(0xdf)],_0x4d45a1[_0x44ee85(0x101)]));})[_0x380d81(0xb6)](_0x1df790['yqMlv'],'Get\x20a\x20config\x20value',_0x363f17=>{const _0x353fe1=_0x380d81;return _0x363f17[_0x353fe1(0x6b)](_0x4df0cb['bYmPI'],{'type':_0x4df0cb[_0x353fe1(0x14a)],'description':_0x4df0cb[_0x353fe1(0x95)],'demandOption':!![]})['positional'](_0x4df0cb[_0x353fe1(0x212)],{'type':_0x4df0cb['tjFLb'],'description':'Config\x20key','demandOption':!![]});},async _0x3702ee=>{const _0x8168c8=_0x380d81;await _0x4e2549[_0x8168c8(0x138)](withTelemetry,_0x4e2549['CnsdM'],()=>configGet(_0x3702ee[_0x8168c8(0xb3)],_0x3702ee['key']));})['command']('list\x20<profile>','List\x20all\x20config\x20for\x20a\x20profile',_0x42993c=>{const _0x1176b8=_0x380d81;return _0x42993c['positional'](_0x1176b8(0xb3),{'type':_0x4df0cb[_0x1176b8(0x14a)],'description':_0x1176b8(0x1a1),'demandOption':!![]});},async _0x2184ed=>{const _0x3f5f73=_0x380d81;await _0x4e2549[_0x3f5f73(0xa2)](withTelemetry,_0x3f5f73(0x169),()=>configList(_0x2184ed['profile']));})['command'](_0x380d81(0x1c4),_0x1df790[_0x380d81(0xab)],_0x47ac4f=>{const _0x2d5c25=_0x380d81;return _0x47ac4f[_0x2d5c25(0x6b)]('profile',{'type':_0x4e2549['MeybF'],'description':_0x4e2549['JCqqj'],'demandOption':!![]})['positional'](_0x2d5c25(0xdf),{'type':_0x4e2549['MeybF'],'description':_0x4e2549['rkowe'],'demandOption':!![]});},async _0xf4013f=>{await withTelemetry(_0x4e2549['Ednhu'],()=>configUnset(_0xf4013f['profile'],_0xf4013f['key']));})['command']('reset\x20<profile>',_0x1df790[_0x380d81(0x1e0)],_0x293301=>{const _0x5bb13c=_0x380d81;return _0x293301['positional'](_0x5bb13c(0xb3),{'type':'string','description':_0x4df0cb['erTwN'],'demandOption':!![]});},async _0x21f312=>{const _0x113fd8=_0x380d81;await withTelemetry('profile\x20config\x20reset',()=>configReset(_0x21f312[_0x113fd8(0xb3)]));})['demandCommand'](0x1,_0x1df790['vIlKh']);})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})['command'](_0xe839c2(0xfb),_0xe839c2(0xa7),()=>{},async()=>{await _0x1df790['ztNAM'](withTelemetry,_0x1df790['wjlTo'],()=>status());})[_0xe839c2(0xb6)](_0xe839c2(0x1f4),_0x1df790['djSNj'],()=>{},async()=>{await withTelemetry(_0x1df790['XVdpr'],()=>update());})[_0xe839c2(0xb6)]('print-access-token',_0x1df790['WwnVr'],()=>{},async()=>{await _0x1df790['JvXxu'](withTelemetry,_0x1df790['ujOaE'],async()=>{const _0x34ad9e=_0x18ce,_0x473d8c=await getToken();if(!_0x473d8c)throw new Error(_0x1df790['PNFXI']);console[_0x34ad9e(0xec)](_0x473d8c);});})[_0xe839c2(0xb6)]('go',_0xe839c2(0x18e),_0x399fc5=>{const _0x59ab21=_0xe839c2;return _0x399fc5['option'](_0x1df790['ZhgUg'],{'type':_0x59ab21(0x1f5),'description':'Optional\x20feature\x20ID'})['option'](_0x1df790[_0x59ab21(0x17a)],{'type':_0x59ab21(0x1f5),'description':_0x59ab21(0xda)})[_0x59ab21(0x133)](_0x1df790[_0x59ab21(0x16d)],{'type':_0x59ab21(0x1f5),'description':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)'})[_0x59ab21(0x133)](_0x1df790['DhiMO'],{'type':_0x1df790[_0x59ab21(0x1a2)],'description':'Scenario\x20index\x20(1-based)'})['option']('start-path',{'type':'string','description':_0x1df790[_0x59ab21(0x123)]})['option'](_0x1df790['geGLL'],{'type':'string','description':_0x1df790['ROQUq']})['option']('model',{'type':'string','description':_0x1df790[_0x59ab21(0x1cc)]})['option'](_0x1df790[_0x59ab21(0x179)],{'type':_0x1df790[_0x59ab21(0x1d2)],'description':_0x1df790[_0x59ab21(0x122)],'default':![]})['option'](_0x1df790[_0x59ab21(0xd0)],{'type':_0x1df790[_0x59ab21(0x1a9)],'array':!![],'alias':_0x1df790['jtGeU'],'description':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.'})['option'](_0x1df790['LPvsB'],{'type':'string','hidden':!![],'choices':[_0x1df790[_0x59ab21(0x1dc)],'partial','blocked',_0x1df790['ziCaM'],_0x1df790[_0x59ab21(0xcf)]]})['option']('debug-address-comments',{'type':'boolean','hidden':!![]})['option'](_0x1df790[_0x59ab21(0xa8)],{'type':_0x59ab21(0x1f5),'hidden':!![]})['option'](_0x1df790[_0x59ab21(0xf1)],{'type':_0x59ab21(0x1f5),'hidden':!![]})['option']('item',{'type':'number','hidden':!![]});},async _0x33032b=>{await _0x1df790['GTFJh'](runGoCommand,_0x33032b);})[_0xe839c2(0xb6)](_0xe839c2(0xa4),![],_0x1d12c4=>{const _0x18cf28=_0xe839c2;return _0x1d12c4[_0x18cf28(0xb6)](_0x1df790[_0x18cf28(0x8c)],![],_0x53ec79=>{const _0x2c46a4=_0x18cf28;return _0x53ec79['positional']('profile',{'type':_0x2c46a4(0x1f5),'description':'Profile\x20name','demandOption':!![]});},async _0x13782c=>{const _0x331e13=_0x18cf28;warnRenamed('ranger\x20auth\x20encrypt','ranger\x20profile\x20encrypt-auth'),await authEncrypt(_0x13782c[_0x331e13(0xb3)]);})['demandCommand'](0x1,_0x1df790['iYhvf']);},()=>{})['command']('start\x20[token]',![],_0x32541c=>{const _0x427e08=_0xe839c2;return _0x32541c[_0x427e08(0x6b)](_0x1df790[_0x427e08(0x1d4)],{'type':_0x1df790['lAMOj'],'description':_0x427e08(0x1b4)})[_0x427e08(0x133)](_0x1df790[_0x427e08(0x9d)],{'type':'boolean','description':_0x427e08(0xff),'default':![]})[_0x427e08(0x133)]('scope',{'type':'string','choices':[_0x1df790['tYlRG']],'hidden':!![],'description':_0x427e08(0x145)})['option'](_0x1df790[_0x427e08(0x1b5)],{'type':'string','description':_0x1df790['uCrft']})['option'](_0x427e08(0x206),{'type':_0x427e08(0x172),'description':_0x427e08(0x7f),'default':![]})[_0x427e08(0x133)](_0x427e08(0xbb),{'type':_0x1df790[_0x427e08(0x1d2)],'description':_0x1df790['DNfyR'],'default':![]})['option'](_0x1df790[_0x427e08(0x1f2)],{'type':'boolean','description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]});},async _0xadd31d=>{const _0x153a9d=_0xe839c2;warnRenamed('ranger\x20start','ranger\x20setup'),await _0x1df790[_0x153a9d(0x15f)](withTelemetry,'start',_0x57ce1a=>start(_0xadd31d[_0x153a9d(0xbe)],{'skipChromium':_0xadd31d['skip-chromium'],'skipAuth':_0xadd31d[_0x153a9d(0xbb)],'withDeps':_0xadd31d[_0x153a9d(0x1d6)],'scope':_0xadd31d[_0x153a9d(0x1d0)],'url':_0xadd31d[_0x153a9d(0xd9)],'force':_0xadd31d['force']},_0x57ce1a));})['command'](_0xe839c2(0x203),![],_0x51abac=>{const _0x52c102=_0xe839c2;return _0x51abac['option']('env',{'type':'string','description':_0x52c102(0x219)})['option']('task',{'type':_0x1df790['lAMOj'],'description':_0x52c102(0xef)})[_0x52c102(0x133)]('item',{'type':'number','description':'Scenario\x20index\x20(1-based)'})['option'](_0x52c102(0xb3),{'type':_0x52c102(0x1f5),'hidden':!![]})[_0x52c102(0x133)](_0x52c102(0x21c),{'type':'string','hidden':!![]})['option'](_0x1df790['DhiMO'],{'type':_0x52c102(0x1ab),'hidden':!![]})['option'](_0x1df790['RLRSc'],{'type':_0x1df790['lAMOj'],'description':_0x52c102(0x1f8)})['option'](_0x52c102(0x91),{'type':_0x1df790['lAMOj'],'description':_0x1df790['caRvs']})['option'](_0x1df790['CoUyg'],{'type':'string','hidden':!![]})[_0x52c102(0x133)](_0x52c102(0x164),{'type':_0x1df790['JUWFb'],'hidden':!![],'default':![]})['option']('env-var',{'type':_0x52c102(0x1f5),'array':!![],'alias':_0x52c102(0x1aa),'hidden':!![]})[_0x52c102(0x133)](_0x1df790['LPvsB'],{'type':_0x52c102(0x1f5),'hidden':!![],'choices':[_0x52c102(0xbc),_0x1df790[_0x52c102(0x185)],_0x52c102(0x190),'failed',_0x1df790['RLgpx']]});},async _0x3cd3e9=>{await _0x1df790['umBdC'](runGoCommand,_0x3cd3e9,!![]);})['command'](_0x1df790['IGAtF'],![],_0x57e983=>{const _0x3335a5=_0xe839c2;return _0x57e983[_0x3335a5(0x6b)](_0x1df790[_0x3335a5(0xb0)],{'type':_0x1df790[_0x3335a5(0x1a9)],'description':_0x1df790[_0x3335a5(0x131)],'demandOption':!![]})['option']('ci',{'type':_0x3335a5(0x172),'description':_0x1df790[_0x3335a5(0x19c)],'default':![]})[_0x3335a5(0x133)](_0x1df790[_0x3335a5(0x1d5)],{'type':_0x1df790[_0x3335a5(0x1d2)],'description':_0x3335a5(0xcd),'default':![]});},async _0x2be9a7=>{const _0x3a7cea=_0xe839c2;_0x1df790['DOMxO'](warnRenamed,_0x3a7cea(0x175),_0x1df790['XLhlV']),await withTelemetry(_0x1df790['DFguz'],_0x5c1425=>addEnv(_0x2be9a7['env-name'],{'ci':_0x2be9a7['ci'],'skipAuth':_0x2be9a7[_0x3a7cea(0xbb)]},_0x5c1425));})[_0xe839c2(0xb6)](_0x1df790[_0xe839c2(0x18f)],![],_0x30cd57=>{return _0x30cd57['positional']('env-name',{'type':'string','description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x5b10c1=>{const _0x1e48df=_0xe839c2;_0x1df790[_0x1e48df(0x9b)](warnRenamed,'ranger\x20use','ranger\x20profile\x20use'),await _0x1df790['Gnosm'](withTelemetry,'use',()=>useEnv(_0x5b10c1[_0x1e48df(0x96)]));})[_0xe839c2(0xb6)](_0xe839c2(0x11c),![],_0x4d5700=>{const _0x994f33=_0xe839c2,_0x1c99b7={'xGeAJ':_0x1df790[_0x994f33(0x1a9)],'ehRFL':_0x1df790[_0x994f33(0x10f)],'LgmxP':_0x1df790[_0x994f33(0xa8)],'zlbil':_0x994f33(0x1d9),'nEZXt':function(_0x100e9e,_0x3d4317,_0x52a08c){return _0x100e9e(_0x3d4317,_0x52a08c);},'PHDGD':_0x1df790['rvPGC'],'JSjJE':'ranger\x20profile\x20config\x20unset'};return _0x4d5700[_0x994f33(0xb6)]('set\x20<env>\x20<key>\x20<value>',![],_0x103004=>{const _0x491300=_0x994f33;return _0x103004['positional'](_0x1df790[_0x491300(0xa8)],{'type':_0x1df790['lAMOj'],'description':_0x491300(0x154),'demandOption':!![]})['positional'](_0x1df790[_0x491300(0x196)],{'type':'string','description':_0x1df790[_0x491300(0xe6)],'demandOption':!![]})['positional']('value',{'type':_0x1df790[_0x491300(0x1a9)],'description':_0x491300(0x1f7),'demandOption':!![]});},async _0x429e67=>{const _0x4db260=_0x994f33;_0x1df790['anrlC'](warnRenamed,'ranger\x20config\x20set',_0x4db260(0x173)),await withTelemetry(_0x1df790['comzC'],()=>configSet(_0x429e67[_0x4db260(0x157)],_0x429e67['key'],_0x429e67['value']));})[_0x994f33(0xb6)](_0x994f33(0x150),![],_0x511cce=>{const _0x1070aa=_0x994f33;return _0x511cce[_0x1070aa(0x6b)](_0x1df790['aynmR'],{'type':'string','description':'Environment\x20name','demandOption':!![]})['positional'](_0x1070aa(0xdf),{'type':_0x1df790['lAMOj'],'description':_0x1df790[_0x1070aa(0x1f3)],'demandOption':!![]});},async _0x3e72d5=>{const _0x2ebcf3=_0x994f33;warnRenamed('ranger\x20config\x20get',_0x1df790['IUBSJ']),await withTelemetry(_0x1df790['pPnoP'],()=>configGet(_0x3e72d5[_0x2ebcf3(0x157)],_0x3e72d5[_0x2ebcf3(0xdf)]));})['command'](_0x994f33(0x201),![],_0x2442c7=>{const _0x2e8a3c=_0x994f33;return _0x2442c7[_0x2e8a3c(0x6b)](_0x2e8a3c(0x157),{'type':_0x1c99b7['xGeAJ'],'description':_0x1c99b7['ehRFL'],'demandOption':!![]});},async _0x3a219a=>{const _0x8eb35f=_0x994f33;_0x1df790['kaxmH'](warnRenamed,_0x1df790['XeZmR'],'ranger\x20profile\x20config\x20list'),await withTelemetry('config\x20list',()=>configList(_0x3a219a[_0x8eb35f(0x157)]));})[_0x994f33(0xb6)]('unset\x20<env>\x20<key>',![],_0x461a50=>{const _0x4e5347=_0x994f33;return _0x461a50['positional'](_0x1c99b7[_0x4e5347(0xd4)],{'type':'string','description':_0x4e5347(0x154),'demandOption':!![]})[_0x4e5347(0x6b)](_0x4e5347(0xdf),{'type':_0x4e5347(0x1f5),'description':_0x1c99b7[_0x4e5347(0x116)],'demandOption':!![]});},async _0x2cc13d=>{const _0x6a07f0=_0x994f33;_0x1c99b7[_0x6a07f0(0x1cf)](warnRenamed,_0x1c99b7['PHDGD'],_0x1c99b7[_0x6a07f0(0x7a)]),await withTelemetry(_0x6a07f0(0x171),()=>configUnset(_0x2cc13d['env'],_0x2cc13d['key']));})[_0x994f33(0x152)](0x1,_0x994f33(0xdb));})['command'](_0xe839c2(0x157),![],_0xe0728=>{const _0x3a1dfc=_0xe839c2,_0xa4ec24={'uKoJy':function(_0x59aeaf,_0x53640e,_0x42355c){return _0x1df790['Gnosm'](_0x59aeaf,_0x53640e,_0x42355c);},'gcSCc':'ranger\x20env\x20ls','oLUyQ':_0x1df790[_0x3a1dfc(0xb0)],'iobrN':_0x3a1dfc(0x1b8),'IUoJt':_0x1df790[_0x3a1dfc(0x1f9)]};return _0xe0728['command']('ls',![],()=>{},async()=>{const _0x54dd68=_0x3a1dfc;_0xa4ec24[_0x54dd68(0x19e)](warnRenamed,_0xa4ec24[_0x54dd68(0x217)],'ranger\x20profile\x20ls'),await _0xa4ec24[_0x54dd68(0x19e)](withTelemetry,_0x54dd68(0x1ba),()=>envList());})['command'](_0x3a1dfc(0x16f),![],_0x5ee963=>{const _0x39cedb=_0x3a1dfc;return _0x5ee963['positional'](_0xa4ec24[_0x39cedb(0x156)],{'type':_0x39cedb(0x1f5),'description':_0xa4ec24[_0x39cedb(0x75)],'demandOption':!![]});},async _0x342064=>{const _0x32ac6e=_0x3a1dfc;warnRenamed(_0xa4ec24[_0x32ac6e(0x15d)],_0x32ac6e(0xdd)),await withTelemetry('env\x20update',_0x1a2f77=>updateEnv(_0x342064['env-name'],_0x1a2f77));})[_0x3a1dfc(0x152)](0x1,_0x1df790[_0x3a1dfc(0xb2)]);})[_0xe839c2(0xb6)]('feature',![],_0x29713c=>{const _0x3d0654=_0xe839c2,_0xabf1fe={'aJbcW':_0x1df790['pYAHW'],'spNus':'string','QFsyD':_0x3d0654(0x10c),'BLnWZ':_0x1df790[_0x3d0654(0x1fa)],'fwxCD':_0x1df790['WPNPv'],'vRmMk':function(_0x104762,_0x5ec468,_0x4537e6){const _0x27d831=_0x3d0654;return _0x1df790[_0x27d831(0x12d)](_0x104762,_0x5ec468,_0x4537e6);},'znAWs':_0x3d0654(0xf3)};return _0x29713c['command'](_0x3d0654(0x9a),![],_0x29b00a=>{const _0x48ddaa=_0x3d0654;return _0x29b00a['positional'](_0x1df790['DAIcd'],{'type':_0x1df790[_0x48ddaa(0x1a9)],'description':_0x48ddaa(0x14b),'demandOption':!![]})['option'](_0x1df790['NpTuk'],{'type':_0x1df790['lAMOj'],'alias':'d','description':_0x1df790[_0x48ddaa(0x1c0)]})['option']('checklist',{'type':_0x48ddaa(0x6f),'alias':'c','description':_0x1df790[_0x48ddaa(0x213)]})[_0x48ddaa(0x133)](_0x1df790['DhiMO'],{'type':'array','hidden':!![]});},async _0x27ea9e=>{const _0x56e045=_0x3d0654;warnRenamed(_0x1df790['YKITB'],_0x1df790['YqqdV']),warnFlagRenamed(_0x56e045(0x1ca),_0x1df790[_0x56e045(0x94)],_0x56e045(0x1a4));const _0x315215=_0x27ea9e['scenario']||_0x27ea9e[_0x56e045(0xc7)];await _0x1df790[_0x56e045(0x207)](withTelemetry,'feature\x20create',()=>featureCreate(_0x27ea9e['name'],{'description':_0x27ea9e[_0x56e045(0x9e)],'scenarios':_0x315215}));})[_0x3d0654(0xb6)]('list',![],_0x52cbaf=>{const _0x1fe3b1=_0x3d0654;return _0x52cbaf['option'](_0x1df790['aTVye'],{'type':'boolean','description':_0x1df790[_0x1fe3b1(0xba)]})['option']('limit',{'type':'number','alias':'l','description':_0x1fe3b1(0x147),'default':0xa})['option']('offset',{'type':_0x1df790['zhhye'],'alias':'o','description':_0x1df790[_0x1fe3b1(0x1a6)],'default':0x0})['option'](_0x1df790['xQMiv'],{'type':_0x1df790[_0x1fe3b1(0x1d2)],'alias':'d','description':_0x1df790[_0x1fe3b1(0x1e3)],'default':![]});},async _0x4ca8f0=>{const _0x3d6f1e=_0x3d0654;warnRenamed(_0x3d6f1e(0xb1),_0x1df790['NMZwU']),await _0x1df790[_0x3d6f1e(0x12c)](withTelemetry,_0x3d6f1e(0x1dd),()=>featureList({'currentBranch':_0x4ca8f0['current-branch'],'limit':_0x4ca8f0[_0x3d6f1e(0x11a)],'offset':_0x4ca8f0['offset'],'includeDeleted':_0x4ca8f0[_0x3d6f1e(0x1ed)]}));})[_0x3d0654(0xb6)]('show\x20[id]',![],_0x34f2dd=>{const _0x56f031=_0x3d0654;return _0x34f2dd[_0x56f031(0x6b)]('id',{'type':_0x56f031(0x1f5),'description':_0xabf1fe['aJbcW']});},async _0x3e511b=>{const _0x517d6f=_0x3d0654;_0x1df790['Gnosm'](warnRenamed,_0x517d6f(0x186),'ranger\x20show'),await withTelemetry(_0x517d6f(0x19d),()=>featureShow(_0x3e511b['id']));})[_0x3d0654(0xb6)](_0x1df790['EHPJk'],![],_0x3b9d12=>{const _0x44e9bb=_0x3d0654;return _0x3b9d12[_0x44e9bb(0x6b)]('id',{'type':'string','description':_0x44e9bb(0x8e)});},async _0x42725c=>{const _0x17ebe6=_0x3d0654;warnRenamed('ranger\x20feature\x20resume',_0x17ebe6(0xfc)),await withTelemetry('feature\x20resume',()=>featureResume(_0x42725c['id']));})[_0x3d0654(0xb6)]('add-checklist-item\x20<description>',![],_0x40db01=>{const _0x32c162=_0x3d0654;return _0x40db01['positional'](_0x32c162(0x9e),{'type':_0xabf1fe[_0x32c162(0x1a0)],'description':_0xabf1fe['QFsyD'],'demandOption':!![]})['option']('id',{'type':_0xabf1fe['spNus'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x5c26ab=>{const _0x10a055=_0x3d0654;warnRenamed(_0x10a055(0x16a),_0x10a055(0x13e)),await withTelemetry(_0xabf1fe[_0x10a055(0x1e7)],()=>featureAddScenario(_0x5c26ab['description'],_0x5c26ab['id']));})[_0x3d0654(0xb6)](_0x1df790['ptJJJ'],![],_0x190fc9=>{const _0x28a059=_0x3d0654;return _0x190fc9[_0x28a059(0x6b)]('id',{'type':_0x28a059(0x1f5),'description':_0x28a059(0x1fe)});},async _0x3c6dba=>{const _0x3efd48=_0x3d0654;warnRenamed(_0x1df790['YfbqN'],_0x1df790[_0x3efd48(0x1d3)]),await withTelemetry(_0x1df790['SAUGe'],()=>featureGetReview(_0x3c6dba['id']));})[_0x3d0654(0xb6)]('delete\x20[id]',![],_0x40e1be=>{const _0x46a6d2=_0x3d0654;return _0x40e1be['positional']('id',{'type':_0x1df790['lAMOj'],'description':_0x46a6d2(0x1bf)});},async _0x538016=>{const _0x508996=_0x3d0654;_0x1df790[_0x508996(0x15f)](warnRenamed,'ranger\x20feature\x20delete',_0x508996(0x200)),await withTelemetry('feature\x20delete',()=>featureDelete(_0x538016['id']));})[_0x3d0654(0xb6)](_0x3d0654(0x1c2),![],_0x1abac1=>{const _0x172d2b=_0x3d0654;return _0x1abac1[_0x172d2b(0x6b)]('id',{'type':_0xabf1fe['spNus'],'description':_0xabf1fe[_0x172d2b(0x17e)],'demandOption':!![]});},async _0xdf3daa=>{const _0x304fdb=_0x3d0654;_0xabf1fe['vRmMk'](warnRenamed,_0xabf1fe['znAWs'],_0x304fdb(0xb9)),await _0xabf1fe['vRmMk'](withTelemetry,'feature\x20restore',()=>featureRestore(_0xdf3daa['id']));})[_0x3d0654(0x152)](0x1,_0x1df790['kNyYv']);})['command'](_0xe839c2(0x1ff),![],_0x5db810=>{const _0x328386=_0xe839c2,_0x4baa16={'nVPeR':_0x1df790['lAMOj'],'pskRI':_0x1df790[_0x328386(0x1fb)],'OkIsq':_0x1df790[_0x328386(0x1de)]};return _0x5db810[_0x328386(0xb6)]('enable','Enable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x25e62c=>{const _0x539e11=_0x328386;return _0x25e62c[_0x539e11(0x133)](_0x539e11(0x8b),{'type':_0x4baa16['nVPeR'],'description':_0x4baa16[_0x539e11(0x1cb)]});},async _0x138a2d=>{const _0x2a5ea1=_0x328386;await withTelemetry(_0x1df790[_0x2a5ea1(0xe4)],()=>hook('enable',_0x138a2d[_0x2a5ea1(0x8b)]));})[_0x328386(0xb6)](_0x1df790['iwXCW'],_0x1df790['cBFZC'],_0x19ed06=>{return _0x19ed06['option']('session-id',{'type':'string','description':_0x1df790['lDMSU']});},async _0x1ea7c6=>{const _0x2c92e1=_0x328386;await withTelemetry(_0x4baa16['OkIsq'],()=>hook(_0x2c92e1(0x195),_0x1ea7c6['session-id']));})['option'](_0x328386(0x15c),{'type':_0x328386(0x1f5),'description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})[_0x328386(0x133)](_0x1df790['EcMLJ'],{'type':_0x1df790[_0x328386(0x1a9)],'description':_0x1df790['lDMSU']});},async _0x77656c=>{const _0xc9cff3=_0xe839c2;_0x77656c[_0xc9cff3(0x15c)]&&await _0x1df790['kaxmH'](hook,_0x77656c[_0xc9cff3(0x15c)],_0x77656c[_0x1df790['EcMLJ']]);})[_0xe839c2(0x152)](0x1,'You\x20must\x20specify\x20a\x20command')['strictCommands']()[_0xe839c2(0x1c6)](async(_0x366c3d,_0xe7ba6f,_0x591f14)=>{const _0x252731=_0xe839c2,_0x19ec48=sanitizeArgs(process[_0x252731(0x103)][_0x252731(0x19a)](0x2)),_0xda998f=_0x1df790['sYkFG'](getErrorType,_0x366c3d,_0xe7ba6f);if(_0x366c3d&&_0x366c3d['includes'](_0x1df790['AWelp'])){const _0x4eb40b=process['argv'][0x2];console[_0x252731(0x14e)]('\x0aUnknown\x20command:\x20'+_0x4eb40b),console[_0x252731(0x14e)](_0x1df790['rnfXI']);}else{if(_0x366c3d)console['error']('\x0a'+_0x366c3d+'\x0a');else _0xe7ba6f&&console['error'](_0x252731(0x109)+_0xe7ba6f[_0x252731(0xe7)]+'\x0a');}await _0x1df790['GTFJh'](logDesirePath,{'rawCommand':_0x19ec48,'errorMessage':_0x366c3d||_0xe7ba6f?.['message'],'errorType':_0xda998f});const _0x46b77e=getCurrentCollector();_0x46b77e&&await _0x46b77e['trackCommandError'](_0xe7ba6f||new Error(_0x1df790['eelze'](_0x366c3d,_0x1df790['gOlPm']))),process['exit'](0x1);})['epilogue'](_0x1df790[_0xe839c2(0xa3)](_0xe839c2(0x13a),_0xe839c2(0x1ac))+_0x1df790['bWoyO'])['help']()[_0xe839c2(0x187)](_0x1df790[_0xe839c2(0x211)],'h');}process['env'][_0x2348e6(0x81)]!==_0x2348e6(0x1bb)&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()['parse']());