@ranger-testing/ranger-cli 3.1.3 → 3.1.4-alpha.fb796e7-45

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 _0xd5872e=_0x2e2d;function _0x2e2d(_0x58d30d,_0x159e40){_0x58d30d=_0x58d30d-0xe2;const _0x29f0ee=_0x29f0();let _0x2e2dd5=_0x29f0ee[_0x58d30d];return _0x2e2dd5;}(function(_0x421f18,_0x333609){const _0x11ca57=_0x2e2d,_0x2c6500=_0x421f18();while(!![]){try{const _0x4e94b7=parseInt(_0x11ca57(0xfa))/0x1*(parseInt(_0x11ca57(0xe9))/0x2)+parseInt(_0x11ca57(0xf7))/0x3+parseInt(_0x11ca57(0x187))/0x4+-parseInt(_0x11ca57(0x1aa))/0x5+parseInt(_0x11ca57(0x1a0))/0x6*(-parseInt(_0x11ca57(0x21c))/0x7)+parseInt(_0x11ca57(0x20a))/0x8+parseInt(_0x11ca57(0x1fd))/0x9;if(_0x4e94b7===_0x333609)break;else _0x2c6500['push'](_0x2c6500['shift']());}catch(_0x352de0){_0x2c6500['push'](_0x2c6500['shift']());}}}(_0x29f0,0x21952));import _0x1bcdda from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x323357=_0x2e2d,_0x26e8ce={'FsnYF':function(_0x46d9c5,_0x449066){return _0x46d9c5!==_0x449066;},'pZsqq':function(_0xe20e99,_0x66e8a6){return _0xe20e99(_0x66e8a6);},'atszH':_0x323357(0x1ff)};let _0x416a4d=process[_0x323357(0x168)]();const _0x48e5f7=parse(_0x416a4d)['root'];while(_0x26e8ce['FsnYF'](_0x416a4d,_0x48e5f7)){if(_0x26e8ce['pZsqq'](existsSync,join(_0x416a4d,_0x323357(0x14d)))||existsSync(join(_0x416a4d,_0x26e8ce['atszH'])))return _0x416a4d;_0x416a4d=dirname(_0x416a4d);}return process['cwd']();}_0x1bcdda[_0xd5872e(0x221)]({'path':join(findProjectRoot(),_0xd5872e(0x1ff))});import _0xefce23 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';function _0x29f0(){const _0x1d48f7=['AtioP','XmAoW','qaboi','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','Skip\x20authentication','--item','debug-address-comments','exitCode','migrate\x20[profile-name]','zaIjN','demandCommand','HLFJZ','MoWpy','HEKKu','key','qkHQa','ranger\x20verify-feature','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','oCXdo','You\x20must\x20specify\x20a\x20config\x20subcommand','profile\x20ls','forEach','--task','cwd','Feature\x20review\x20name','--profile','oZEAr','eZQJk','env-var','Skip\x20Chromium\x20browser\x20installation','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','\x20BLOCKED','Scenario\x20index\x20(1-based)','XDWTh','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','some','LrYHZ','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','QEVSR','fIZvo','list','encrypt-auth\x20<profile>','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','WNZUX','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','zSPVw','status','array','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','xAjXh','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','XxigA','ojUph','BpaYp','601544QhKczc','ranger\x20feature\x20delete','allow-insecure-localhost','ViZav','start-path','GhcjM','tokenOrSubcommand','hook:enable','Authenticate\x20via\x20MCP\x20proxy','Pwykt','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','add\x20<profile-name>','VHdKu','spdDw','.\x20[','pbQhp','QOMMF','sdonn','get-feedback\x20[id]','mDkSb','option','show','WLtsQ','verified','ranger\x20profile\x20config\x20get','1266gnTMuV','Install\x20Ranger\x20skills','token','AFYBW','ENIZT','ranger\x20get-review','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','Config\x20key','dKCDn','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','1308880HwHiGZ','Remove\x20a\x20config\x20value','iklri','LbuKU','profile\x20add','uzgtH','NGdtl','issues','force','value','Feature\x20review\x20ID\x20to\x20restore','add-checklist-item\x20<description>','debug-outcome','roQJg','zabWZ','fHvzu','mgqQI','\x20VERIFIED','Scenario\x20description','limit','fFxIA','GZCRq','save-creds','okFqs','cVHik','env','setup-ci\x20<token>','EdcpQ','feature','failed','number','KoWqi','yes','lLVEw','wLonJ','ranger','string','url','lFjSy','with-deps','XSzwi','mzXzG','argv','ranger\x20add\x20env','etFqi','RANGER_PROFILE','start\x20[token]','model','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','\x20INCOMPLETE','UuGCO','rangerwright-cli','MnKsa','summary','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','xoJRV','JNAub','Subcommand\x20or\x20API\x20token\x20(rngr_...)','FffrH','ranger\x20config\x20set','UpGhT','setup:profiles','base-url','Feature\x20review\x20ID','mcp','GebAi','Update\x20authentication\x20for\x20an\x20existing\x20profile','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','OBOHU','include-deleted','headed','FGFVj','auljp','Ktrdc','You\x20must\x20specify\x20an\x20env\x20subcommand','OlyNI','boolean','partial','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','dseRn','Reason:\x20','session-id','report\x20[id]','1881333LqdZGF','profile\x20config\x20get','.env','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','Delete\x20a\x20cloud\x20profile','NMKFx','profile','profile\x20migrate','Lduyy','use\x20<env-name>','Feature\x20review\x20description','banWR','kDSCL','1467176MymXKF','JeZGl','ExwkB','IFZjB','dry-run','NFiEw','evaluationReason','Hayuh','ranger\x20profile\x20config\x20set','ttVWz','THypu','lduiL','YAZWo','skillup','deps','profile-name','You\x20must\x20specify\x20an\x20auth\x20subcommand','UjqBc','8071ejHlKm','Initialize\x20Ranger\x20in\x20your\x20project','QMnWR','List\x20all\x20profiles','Get\x20a\x20config\x20value','config','log','filter','pRZBv','print-access-token','epilogue','safe-mode','delete\x20<profile-name>','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','slice','scope','SIEob','Environment\x20name','blocked','Name\x20of\x20the\x20profile\x20to\x20update','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','GNPsD','vuetC','VvdSf','use','nxfqo','\x0aUnknown\x20command:\x20','setup:all','HegYv','NdSal','oBaNc','RQeih','exit','unset\x20<env>\x20<key>','get\x20<profile>\x20<key>','rwsWj','profile\x20login','Restore\x20a\x20soft-deleted\x20feature\x20review','Unknown\x20error','kNmTM','\x20FAILED','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','hKDBY','TcIoX','FSpzh','You\x20must\x20specify\x20a\x20command','tbJDR','RFaMk','LqVhN','FwRCO','SuyNo','oWKuv','ztNKM','evaluation','iGaUf','current-branch','WSbSy','aUFXi','WRhIX','login\x20<name>','mfVLH','show\x20[id]','Config\x20key\x20to\x20remove','dSCwZ','QvLJG','Ignmg','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','hook','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','Include\x20soft-deleted\x20feature\x20reviews','--checklist','AJTQk','mcp-bootstrap','usage','CYwXl','WvyLp','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.','use\x20<profile-name>','flatMap','--scenario','LYnHj','XbeCF','oDrOD','error','reset\x20<profile>','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','UZUKp','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','feature\x20get-feedback','config\x20get','Aetyd','positional','FMxfG','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','skip-chromium','lxqZe','pxhHP','ranger\x20list','organizationName','nGnwr','ranger\x20go','help','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','leYtB','bCecj','RANGER_TEST_PASSWORD','add-scenario\x20<description>','DPals','severity','ranger\x20feature\x20create','nxFRD','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','task','ZETuh','ranger\x20profile\x20ls','NODE_ENV','fail','36132qsFfyl','trackCommandError','Cloud\x20profile\x20name','feature\x20resume','delete\x20[id]','Profile\x20name','resume','includes','gUBGc','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','lyQfs','New\x20scenario\x20description','bFBho','setup:deps','82587zBiqKN','delete','JWoFo','4IFuDIQ','Ranger\x20API\x20token','env\x20update','BBVKP','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','skip-auth','vjBJZ','pioHj','description','BxFWZ','opencode','XjrIM','ANauj','DiMCV','version','bXCGY','checklist','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','ranger\x20use','create\x20<name>','Config\x20value','ranger\x20feature\x20show','KROlH','cnQXk','xthXQ','wUWsd','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','PliBJ','CvFoV','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','CUCPD','project','get-review','iMaqM','uIVJV','aXxce','csjfr','ranger\x20feature\x20get-feedback','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','scenario','aYRJP','ranger\x20config\x20list','GYylg','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','user','sCZKe','test_output','AExDQ','feature\x20delete','KWEMJ','RCqsu','login','repeat','aZLVX','message','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','Summary:\x20','EkOha','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','setup\x20[tokenOrSubcommand]','\x20is\x20now\x20','json','ranger\x20show','env-name','NfyaE','QcTEO','Rxkee','name','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','Efjez','command','Install\x20OS-level\x20dependencies\x20for\x20Chromium','get-review\x20[id]','✓\x20Login\x20succeeded\x20for\x20\x27','fgISR','kPpZi','UTGEq','all','pzBAF','ranger\x20profile\x20use','hook:disable','notes','.ranger','offset','skills','LIGsN'];_0x29f0=function(){return _0x1d48f7;};return _0x29f0();}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 _0x5f1e75=>{const _0x130a76=_0xd5872e,_0x2e0229={'TEpUX':function(_0x16cbd2){return _0x16cbd2();}},_0x460190=_0x2e0229['TEpUX'](getCurrentCollector);_0x460190&&await _0x460190['trackCommandError'](_0x5f1e75),process[_0x130a76(0x158)]=0x1;});const rawArgs=process[_0xd5872e(0x1d4)]['slice'](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201',PROFILE_CONFIG_HELP=_0xd5872e(0x191);function warnRenamed(_0x2a8b35,_0x254c24){const _0x35bfc0=_0xd5872e;console[_0x35bfc0(0x26f)]('\x0a'+_0x2a8b35+_0x35bfc0(0x137)+_0x254c24+'\x0a');}function argUsed(_0x29cae5){const _0x25e1a1=_0xd5872e;return rawArgs[_0x25e1a1(0x174)](_0x379289=>_0x379289===_0x29cae5||_0x379289['startsWith'](_0x29cae5+'='));}function warnFlagRenamed(_0x144e92,_0x408d13,_0x52010b){const _0x223564={'kDpMv':function(_0x2b9419,_0x1be39a){return _0x2b9419(_0x1be39a);}};_0x223564['kDpMv'](argUsed,_0x408d13)&&warnRenamed(_0x144e92+'\x20'+_0x408d13,_0x144e92+'\x20'+_0x52010b);}function normalizeEnvVarNames(_0x51d7f0){const _0x386460=_0xd5872e,_0x4ae345=Array['isArray'](_0x51d7f0)?_0x51d7f0:_0x51d7f0?[_0x51d7f0]:[];return _0x4ae345[_0x386460(0x26a)](_0xf33a2f=>String(_0xf33a2f)['split'](',')['map'](_0x50f946=>_0x50f946['trim']())[_0x386460(0x223)](Boolean));}async function runGoCommand(_0x2534ca,_0x2fc9bc=![]){const _0x4d4873=_0xd5872e,_0x46bd2f={'kcpxL':function(_0x280f92,_0x5bd05c){return _0x280f92+_0x5bd05c;},'GebAi':function(_0x1b84ab,_0x51b0c2,_0x23cac9){return _0x1b84ab(_0x51b0c2,_0x23cac9);},'xAjXh':function(_0x5e9eeb,_0x5a8c21,_0x316589,_0x50a82f){return _0x5e9eeb(_0x5a8c21,_0x316589,_0x50a82f);},'mzXzG':_0x4d4873(0x281),'VQEkB':'--env','mWxWf':_0x4d4873(0x16a),'gLzqA':function(_0x2c20d2,_0x1729a1,_0x52d3f9,_0x45a146){return _0x2c20d2(_0x1729a1,_0x52d3f9,_0x45a146);},'QMnWR':_0x4d4873(0x167),'uCmaE':_0x4d4873(0x156),'wpGKB':_0x4d4873(0x26b),'izfTH':function(_0x30ff45){return _0x30ff45();},'FffrH':function(_0x3814b0,_0x404dec){return _0x3814b0(_0x404dec);},'MxNbQ':'playwright-cli','UuGCO':function(_0x831d2c,_0x887d42){return _0x831d2c!==_0x887d42;},'YteEm':_0x4d4873(0x1dd),'Apqqf':_0x4d4873(0x18b),'QOMMF':function(_0x21fd2e,_0x5cead6){return _0x21fd2e===_0x5cead6;},'sJgFa':'verified','eZQJk':'partial','pZxlj':'\x20PARTIAL','LqVhN':_0x4d4873(0x170)};_0x2fc9bc&&_0x46bd2f[_0x4d4873(0x1eb)](warnRenamed,_0x4d4873(0x161),'ranger\x20go');_0x46bd2f['xAjXh'](warnFlagRenamed,_0x46bd2f[_0x4d4873(0x1d3)],_0x46bd2f['VQEkB'],_0x46bd2f['mWxWf']),_0x46bd2f['gLzqA'](warnFlagRenamed,'ranger\x20go',_0x46bd2f[_0x4d4873(0x21e)],'--notes'),_0x46bd2f[_0x4d4873(0x182)](warnFlagRenamed,_0x4d4873(0x281),_0x46bd2f['uCmaE'],_0x46bd2f['wpGKB']);const _0x82f515=await loadRangerConfig(),_0x56fba6=_0x46bd2f['izfTH'](isByokEnabled),_0x45fbc6=_0x2534ca['model'],_0x5c868b=_0x82f515[_0x4d4873(0x1d9)],_0x2a66e4=_0x46bd2f[_0x4d4873(0x1e4)](normalizeEnvVarNames,_0x2534ca[_0x4d4873(0x16d)]),_0x443d7f=getVerificationTransport();if(_0x2a66e4['length']>0x0&&_0x443d7f!==_0x46bd2f['MxNbQ']&&_0x46bd2f[_0x4d4873(0x1dc)](_0x443d7f,_0x46bd2f['YteEm']))throw new Error('The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20'+_0x443d7f+'.');const _0x52b02f=await verifyFeature({'featureId':_0x2534ca['feature'],'profile':_0x2534ca['profile']??_0x2534ca[_0x4d4873(0x1c3)]??process['env'][_0x4d4873(0x1d7)],'notes':_0x2534ca['notes']??_0x2534ca[_0x4d4873(0xe4)],'scenario':_0x2534ca[_0x4d4873(0x122)]??_0x2534ca['item'],'startPath':_0x2534ca[_0x46bd2f['Apqqf']],'baseUrl':_0x2534ca['base-url'],'debugOutcome':_0x2534ca['debug-outcome'],'debugAddressComments':_0x2534ca[_0x4d4873(0x157)],'headed':_0x2534ca[_0x4d4873(0x1f0)],'verifierEnvVars':_0x2a66e4,'byokEnabled':_0x56fba6,'flagVerifyModel':_0x45fbc6,'configVerifyModel':_0x5c868b});console[_0x4d4873(0x222)]('\x0a'+'='[_0x4d4873(0x12f)](0x3c)),console['log'](_0x46bd2f['QOMMF'](_0x52b02f['evaluation'],_0x46bd2f['sJgFa'])?_0x4d4873(0x1bb):_0x46bd2f['QOMMF'](_0x52b02f['evaluation'],'incomplete')?_0x4d4873(0x1db):_0x52b02f['evaluation']===_0x46bd2f[_0x4d4873(0x16c)]?_0x46bd2f['pZxlj']:_0x46bd2f[_0x4d4873(0x197)](_0x52b02f[_0x4d4873(0x251)],_0x4d4873(0x22e))?_0x46bd2f[_0x4d4873(0x24c)]:_0x4d4873(0x244)),console[_0x4d4873(0x222)]('='[_0x4d4873(0x12f)](0x3c)),console[_0x4d4873(0x222)](_0x4d4873(0x133)+_0x52b02f[_0x4d4873(0x1df)]),console[_0x4d4873(0x222)]('Evaluation:\x20'+_0x52b02f['evaluation']),console['log'](_0x4d4873(0x1fa)+_0x52b02f[_0x4d4873(0x210)]),_0x52b02f['issues']?.['length']&&(console[_0x4d4873(0x222)]('\x0aIssues:'),_0x52b02f[_0x4d4873(0x1b1)][_0x4d4873(0x166)]((_0x549669,_0x2cb406)=>{const _0x5053df=_0x4d4873;console['log']('\x0a'+_0x46bd2f['kcpxL'](_0x2cb406,0x1)+_0x5053df(0x195)+_0x549669[_0x5053df(0x289)]+']\x20'+_0x549669[_0x5053df(0x102)]);})),process['exit'](_0x52b02f[_0x4d4873(0x251)]==='verified'?0x0:0x1);}export function buildParser(_0x5d80d4){const _0x4deea5=_0xd5872e,_0xb6bd09={'QvLJG':_0x4deea5(0x13e),'XDWTh':'string','HuqPE':_0x4deea5(0x102),'QcTEO':'scenario','HEKKu':_0x4deea5(0x180),'VvdSf':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','spdDw':'checklist','gCxPV':'Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','wLonJ':'ranger\x20create','hKDBY':_0x4deea5(0x262),'aYHPh':'--scenario','RGEeV':_0x4deea5(0x253),'XPaYu':'offset','RCqsu':function(_0x131767,_0x5c8f7f,_0x4cc82b){return _0x131767(_0x5c8f7f,_0x4cc82b);},'wOINu':_0x4deea5(0x19c),'LOSog':_0x4deea5(0xfe),'aYRJP':function(_0x1a2ea1,_0x206147,_0x587a97){return _0x1a2ea1(_0x206147,_0x587a97);},'VKIfs':_0x4deea5(0xef),'dKCDn':'add-scenario','KWEMJ':_0x4deea5(0xf4),'sdonn':'number','THypu':'Scenario\x20number\x20to\x20edit\x20(1-based)','DhbXs':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','DPals':'edit-scenario','MDyGl':'exclude-scenario','uZyOJ':_0x4deea5(0x200),'LYnHj':_0x4deea5(0x1f6),'MBWHZ':_0x4deea5(0xf8),'YodLJ':'restore','oBaNc':_0x4deea5(0x237),'zSPVw':_0x4deea5(0x11a),'XjrIM':'Install\x20scope\x20for\x20plugin\x20and\x20skills','ANauj':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','IFZjB':_0x4deea5(0x22b),'Lduyy':_0x4deea5(0x127),'oCXdo':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','SlCIM':'Base\x20URL\x20of\x20the\x20running\x20app','FGFVj':_0x4deea5(0xff),'fbNCQ':_0x4deea5(0x1b2),'QEVSR':_0x4deea5(0x162),'bCecj':'allow-insecure-localhost','kExYT':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','xthXQ':'Skip\x20authentication','GPczV':'Alias\x20for\x20--mcp-bootstrap','fHvzu':function(_0x3b5c61){return _0x3b5c61();},'txYJR':function(_0x3077d8,_0x1eef1d){return _0x3077d8(_0x1eef1d);},'hzkKx':function(_0x3ca788,_0x4231bc){return _0x3ca788!==_0x4231bc;},'roQJg':function(_0x223150,_0x3e2420){return _0x223150+_0x3e2420;},'Hayuh':_0x4deea5(0x148),'eauSR':'Run\x20full\x20interactive\x20setup','BjMjH':_0x4deea5(0x12e),'pzBAF':'url','FSpzh':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','XxigA':'opencode','ztNKM':_0x4deea5(0x176),'LIGsN':'token','IZDsq':'API\x20token','fUCqK':_0x4deea5(0x264),'mUDnA':'start','nGnwr':'Ranger\x20API\x20token','OBOHU':_0x4deea5(0x203),'tbJDR':'skip-chromium','oDrOD':'setup-ci','YpSEk':function(_0x35ba75,_0x1f50e8){return _0x35ba75(_0x1f50e8);},'XbeCF':_0x4deea5(0x217),'nxfqo':_0x4deea5(0x271),'jcQrs':_0x4deea5(0x1ed),'IZZUL':'cdp-endpoint','ojUph':_0x4deea5(0x274),'OCogw':_0x4deea5(0x260),'khrHQ':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','fsDZA':_0x4deea5(0x1ca),'OlyNI':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','vuetC':'profile-name','ExwkB':_0x4deea5(0x1f8),'GYylg':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','IbWNC':'Skip\x20interactive\x20confirmation\x20prompts.','lUcOb':_0x4deea5(0x1c0),'UVaZn':_0x4deea5(0x173),'zaIjN':_0x4deea5(0x204),'UVoxB':function(_0x5868fe,_0x6e0a75,_0x2a18de,_0x4bcd47){return _0x5868fe(_0x6e0a75,_0x2a18de,_0x4bcd47);},'PnQqM':_0x4deea5(0xeb),'IXcXE':function(_0x4bb43b,_0x19fa5c,_0x1c08ce){return _0x4bb43b(_0x19fa5c,_0x1c08ce);},'jJsBa':_0x4deea5(0x240),'JERgA':'Profile\x20name','XJyhD':function(_0x1c1cad,_0x287b17,_0x1150c8){return _0x1c1cad(_0x287b17,_0x1150c8);},'MKUyA':'key','LnjAD':'profile\x20config\x20unset','Frqdb':'set\x20<profile>\x20<key>\x20<value>','SlszS':'Set\x20a\x20config\x20value','cornO':_0x4deea5(0x23e),'KBFVL':'list\x20<profile>','fSKxY':_0x4deea5(0x1ab),'auljp':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','kWzai':'Add\x20profile\x20configuration','WrOvT':_0x4deea5(0x201),'SDbKQ':_0x4deea5(0x17a),'BBVKP':_0x4deea5(0x221),'LrYHZ':'Manage\x20profile\x20configuration','WvyLp':'You\x20must\x20specify\x20a\x20profile\x20subcommand','rvRkT':_0x4deea5(0x17f),'nxFRD':function(_0x536a36){return _0x536a36();},'csjfr':_0x4deea5(0x230),'LbuKU':_0x4deea5(0x225),'dsciX':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','BpaYp':'start-path','uIVJV':_0x4deea5(0x1e8),'DiMCV':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','PliBJ':'headed','pioHj':_0x4deea5(0x25e),'CvFoV':'env-var','NMKFx':_0x4deea5(0x1f7),'cnQXk':_0x4deea5(0x22e),'vZMYO':'debug-address-comments','BkhRk':'item','lFjSy':'encrypt\x20<profile>','NfyaE':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','bXCGY':'with-deps','iGaUf':function(_0x5f067c,_0x179a4b,_0x6d5f8d){return _0x5f067c(_0x179a4b,_0x6d5f8d);},'ibXXy':'ranger\x20start','sCZKe':'ranger\x20setup','jvdAJ':'task','oxWem':'Scenario\x20index\x20(1-based)','bFBho':_0x4deea5(0x14c),'lduiL':_0x4deea5(0x283),'ycYGE':'environment-variable','NFiEw':'debug-outcome','oZEAr':'env-name','CUCPD':'add\x20env','AFYBW':_0x4deea5(0x10c),'MuKvh':_0x4deea5(0x14a),'kPpZi':_0x4deea5(0x1c3),'mgqQI':_0x4deea5(0x22d),'KROlH':_0x4deea5(0x1b3),'DIUpw':_0x4deea5(0x10e),'BxFWZ':function(_0x3009e6,_0x5b5e5b,_0xfa5f48){return _0x3009e6(_0x5b5e5b,_0xfa5f48);},'hwFJI':_0x4deea5(0x124),'rtJLE':'ranger\x20profile\x20config\x20list','xpELE':'config\x20list','XGPbI':'ranger\x20config\x20unset','AJTQk':'ranger\x20profile\x20config\x20unset','LkTcF':_0x4deea5(0x212),'IzUup':'config\x20set','VooJK':'list\x20<env>','lyQfs':_0x4deea5(0x23d),'JeZGl':'env\x20list','rQHbF':'update\x20<env-name>','GrQGM':function(_0x493ff4,_0x1bf70b,_0x549ee2){return _0x493ff4(_0x1bf70b,_0x549ee2);},'ROIEu':_0x4deea5(0x28a),'dSCwZ':function(_0x26b952,_0x15a494,_0x4b0740,_0x65ac3f){return _0x26b952(_0x15a494,_0x4b0740,_0x65ac3f);},'MRZmA':function(_0x527feb,_0x5b4c49,_0x193297){return _0x527feb(_0x5b4c49,_0x193297);},'FMxfG':'ranger\x20feature\x20restore','IgJVX':function(_0x30a35a,_0x2184a8,_0x83f12){return _0x30a35a(_0x2184a8,_0x83f12);},'zlQXE':_0x4deea5(0x10f),'hlzhx':function(_0x4647d2,_0x1acb30,_0x56319a){return _0x4647d2(_0x1acb30,_0x56319a);},'HLFJZ':'ranger\x20feature\x20resume','pEZjK':'Scenario\x20description','SElPH':_0x4deea5(0x275),'VEsZS':_0x4deea5(0x12b),'wlDla':_0x4deea5(0x1b4),'JNAub':_0x4deea5(0x10d),'XSzwi':_0x4deea5(0x179),'NGdtl':'resume\x20[id]','BwEVn':_0x4deea5(0x1b5),'kVJpX':_0x4deea5(0xed),'QmJes':_0x4deea5(0x183),'iklri':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','mDkSb':_0x4deea5(0x18e),'banWR':'session-id','fFxIA':_0x4deea5(0x14b),'WLZCe':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','vjBJZ':_0x4deea5(0x13f),'cVHik':function(_0x1045f0,_0x53e24c){return _0x1045f0(_0x53e24c);},'fgISR':_0x4deea5(0x242),'fVaaq':function(_0x20f2ec,_0x2741b8){return _0x20f2ec(_0x2741b8);},'rTlrN':_0x4deea5(0x1cd),'fVipY':'List\x20all\x20feature\x20reviews','CTGfY':'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','etFqi':'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','VHdKu':'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','nyLVx':_0x4deea5(0x1fc),'qaboi':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','rwsWj':'restore\x20<id>','okFqs':_0x4deea5(0x136),'AtioP':_0x4deea5(0x135),'NkFIq':_0x4deea5(0x1a1),'jSJfJ':'clean','UpGhT':'profiles','Pwykt':'Manage\x20profiles','rWONA':'Print\x20the\x20current\x20CLI\x20access\x20token','gUBGc':'auth','GyVcQ':_0x4deea5(0x1d8),'PaKbF':'add\x20env\x20<env-name>','WNZUX':'feature','UbBni':_0x4deea5(0x249),'Rxkee':function(_0x498865,_0x82f45d){return _0x498865+_0x82f45d;},'UYdsA':'Documentation:\x0a','IwoCh':'\x20\x20https://docs.ranger.net\x0a','fIZvo':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)'};return _0xb6bd09['fVaaq'](_0xefce23,_0x5d80d4??process[_0x4deea5(0x1d4)][_0x4deea5(0x22a)](0x2))['scriptName'](_0xb6bd09['rTlrN'])[_0x4deea5(0x265)](TOP_LEVEL_HELP)[_0x4deea5(0x108)](getCurrentVersion())['command']('create\x20<name>',_0x4deea5(0x121),_0x3ebcbf=>{const _0x37af9a=_0x4deea5;return _0x3ebcbf['positional'](_0xb6bd09['QvLJG'],{'type':_0xb6bd09['XDWTh'],'description':_0x37af9a(0x169),'demandOption':!![]})['option'](_0xb6bd09['HuqPE'],{'type':'string','alias':'d','description':_0x37af9a(0x207)})[_0x37af9a(0x19b)](_0xb6bd09[_0x37af9a(0x13c)],{'type':_0xb6bd09['HEKKu'],'alias':'c','description':_0xb6bd09[_0x37af9a(0x233)]})[_0x37af9a(0x19b)](_0xb6bd09[_0x37af9a(0x194)],{'type':_0xb6bd09[_0x37af9a(0x15e)],'hidden':!![]});},async _0x34c4f4=>{const _0x317d8b=_0x4deea5;if(!_0x34c4f4[_0x317d8b(0x13e)]){console[_0x317d8b(0x26f)](_0xb6bd09['gCxPV']+'Example:\x20ranger\x20create\x20my-feature'),process['exit'](0x1);return;}warnFlagRenamed(_0xb6bd09['wLonJ'],_0xb6bd09[_0x317d8b(0x246)],_0xb6bd09['aYHPh']);const _0x37df2f=_0x34c4f4['scenario']||_0x34c4f4[_0x317d8b(0x10a)];await withTelemetry('create',()=>featureCreate(_0x34c4f4['name'],{'description':_0x34c4f4['description'],'scenarios':_0x37df2f}));})[_0x4deea5(0x141)](_0x4deea5(0x179),_0xb6bd09['fVipY'],_0x2f3bcf=>{const _0x102739=_0x4deea5;return _0x2f3bcf[_0x102739(0x19b)](_0xb6bd09['RGEeV'],{'type':'boolean','description':_0x102739(0x1a9)})['option']('limit',{'type':'number','alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})[_0x102739(0x19b)](_0xb6bd09['XPaYu'],{'type':'number','alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option']('include-deleted',{'type':'boolean','alias':'d','description':_0x102739(0x261),'default':![]});},async _0x4a06d5=>{const _0x330088=_0x4deea5;await withTelemetry('list',()=>featureList({'currentBranch':_0x4a06d5[_0x330088(0x253)],'limit':_0x4a06d5[_0x330088(0x1bd)],'offset':_0x4a06d5['offset'],'includeDeleted':_0x4a06d5[_0x330088(0x1ef)]}));})['command'](_0x4deea5(0x259),_0xb6bd09['CTGfY'],_0x3161fd=>{const _0x41a4be=_0x4deea5;return _0x3161fd['positional']('id',{'type':_0xb6bd09[_0x41a4be(0x172)],'description':'Feature\x20review\x20ID'});},async _0x579e0e=>{await _0xb6bd09['RCqsu'](withTelemetry,_0xb6bd09['wOINu'],()=>featureShow(_0x579e0e['id']));})[_0x4deea5(0x141)](_0xb6bd09['NGdtl'],_0xb6bd09[_0x4deea5(0x1d6)],_0xfe93fd=>{const _0x2d3804=_0x4deea5;return _0xfe93fd[_0x2d3804(0x278)]('id',{'type':_0xb6bd09['XDWTh'],'description':_0xb6bd09['LOSog']});},async _0xda863e=>{const _0x37d61d=_0x4deea5;await _0xb6bd09[_0x37d61d(0x123)](withTelemetry,_0xb6bd09['VKIfs'],()=>featureResume(_0xda863e['id']));})['command'](_0x4deea5(0x287),_0xb6bd09[_0x4deea5(0x193)],_0x60168e=>{const _0x26d4a0=_0x4deea5;return _0x60168e['positional'](_0x26d4a0(0x102),{'type':'string','description':_0x26d4a0(0x1bc),'demandOption':!![]})[_0x26d4a0(0x19b)]('id',{'type':_0xb6bd09[_0x26d4a0(0x172)],'description':_0x26d4a0(0x181)});},async _0x62114=>{const _0x142a4a=_0x4deea5;await withTelemetry(_0xb6bd09[_0x142a4a(0x1a8)],()=>featureAddScenario(_0x62114[_0x142a4a(0x102)],_0x62114['id']));})[_0x4deea5(0x141)]('edit-scenario\x20<description>','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x2752ed=>{const _0x5d777f=_0x4deea5;return _0x2752ed[_0x5d777f(0x278)](_0xb6bd09['HuqPE'],{'type':_0xb6bd09[_0x5d777f(0x172)],'description':_0xb6bd09[_0x5d777f(0x12c)],'demandOption':!![]})['option']('scenario',{'type':_0xb6bd09[_0x5d777f(0x198)],'description':_0xb6bd09[_0x5d777f(0x214)],'demandOption':!![]})[_0x5d777f(0x19b)]('id',{'type':_0xb6bd09[_0x5d777f(0x172)],'description':_0xb6bd09['DhbXs']});},async _0x367229=>{const _0x5e692c=_0x4deea5;await _0xb6bd09[_0x5e692c(0x123)](withTelemetry,_0xb6bd09[_0x5e692c(0x288)],()=>featureEditScenario(_0x367229['description'],{'id':_0x367229['id'],'scenario':_0x367229['scenario']}));})['command'](_0xb6bd09['nyLVx'],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x17963b=>{const _0x1fa4d4=_0x4deea5;return _0x17963b['positional']('id',{'type':_0xb6bd09[_0x1fa4d4(0x172)],'description':'Feature\x20review\x20ID'})['option'](_0xb6bd09['MDyGl'],{'type':_0xb6bd09['HEKKu'],'description':_0xb6bd09['uZyOJ']})[_0x1fa4d4(0x19b)](_0x1fa4d4(0x138),{'type':_0xb6bd09[_0x1fa4d4(0x26c)],'description':_0x1fa4d4(0x272),'default':![]});},async _0x42a00b=>{const _0x3dcdb0=_0x4deea5,_0x292332=_0x42a00b[_0xb6bd09['MDyGl']],_0x5ebfa6=_0x292332?_0x292332['map'](_0x5581ff=>Number(_0x5581ff)):undefined;await withTelemetry('report',()=>featureReportPrDescription(_0x42a00b['id'],{'excludeScenarios':_0x5ebfa6,'json':_0x42a00b[_0x3dcdb0(0x138)]}));})[_0x4deea5(0x141)](_0x4deea5(0x143),_0x4deea5(0x114),_0x843ced=>{const _0x451b59=_0x4deea5;return _0x843ced[_0x451b59(0x278)]('id',{'type':_0xb6bd09[_0x451b59(0x172)],'description':_0x451b59(0x181)});},async _0x3bbde2=>{const _0x54b266=_0x4deea5;await withTelemetry(_0x54b266(0x11b),()=>featureGetReview(_0x3bbde2['id']));})[_0x4deea5(0x141)](_0xb6bd09['kVJpX'],_0xb6bd09[_0x4deea5(0x153)],_0x4b4d5e=>{const _0x3d3503=_0x4deea5;return _0x4b4d5e['positional']('id',{'type':_0x3d3503(0x1ce),'description':_0x3d3503(0x1e9)});},async _0x45558d=>{await withTelemetry(_0xb6bd09['MBWHZ'],()=>featureDelete(_0x45558d['id']));})['command'](_0xb6bd09[_0x4deea5(0x23f)],_0x4deea5(0x241),_0x4b0a97=>{const _0x12b362=_0x4deea5;return _0x4b0a97[_0x12b362(0x278)]('id',{'type':_0x12b362(0x1ce),'description':_0x12b362(0x1b4),'demandOption':!![]});},async _0x2c9e33=>{await withTelemetry(_0xb6bd09['YodLJ'],()=>featureRestore(_0x2c9e33['id']));})['command'](_0xb6bd09[_0x4deea5(0x1c1)],_0x4deea5(0x21d),_0x2e0651=>{const _0x4ae7a3=_0x4deea5,_0x42cb2e={'zKEYH':_0x4ae7a3(0xfb),'ClUvV':'skip-chromium','nHpsb':_0xb6bd09[_0x4ae7a3(0x26c)],'YAZWo':_0xb6bd09[_0x4ae7a3(0x1f1)],'zabWZ':_0xb6bd09[_0x4ae7a3(0x112)],'kNmTM':'with-deps','UjqBc':_0x4ae7a3(0x142),'MnKsa':_0xb6bd09[_0x4ae7a3(0x205)],'Ignmg':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','tHWyU':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','tzcdy':_0xb6bd09['fbNCQ'],'DTApG':_0x4ae7a3(0x162),'VKECq':_0x4ae7a3(0xe3),'FqPbp':_0xb6bd09['kExYT'],'ENIZT':_0x4ae7a3(0x264),'MWiVH':_0x4ae7a3(0xf2),'ttVWz':_0xb6bd09['GPczV'],'GZCRq':'token','tTRPG':_0xb6bd09[_0x4ae7a3(0x172)],'VUKao':'Ranger\x20API\x20token\x20(rngr_...)','RFaMk':_0x4ae7a3(0x18f),'oKrks':function(_0x4fff71){const _0x82553=_0x4ae7a3;return _0xb6bd09[_0x82553(0x1b9)](_0x4fff71);},'IjMxD':'Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','mfVLH':function(_0x1697c7,_0x3226b7){return _0xb6bd09['txYJR'](_0x1697c7,_0x3226b7);},'pxhHP':function(_0x28c690,_0x5f0988){return _0xb6bd09['hzkKx'](_0x28c690,_0x5f0988);},'TcIoX':function(_0x12ca6a,_0x1d2ef6){return _0xb6bd09['roQJg'](_0x12ca6a,_0x1d2ef6);}};return _0x2e0651['usage'](_0x4ae7a3(0x132))['positional'](_0x4ae7a3(0x18d),{'type':'string','description':_0x4ae7a3(0x1e3)})[_0x4ae7a3(0x141)](_0xb6bd09[_0x4ae7a3(0x211)],_0xb6bd09['eauSR'],_0x4ffb70=>{const _0x3b4427=_0x4ae7a3;return _0x4ffb70[_0x3b4427(0x19b)]('token',{'type':'string','description':_0x42cb2e['zKEYH']})['option'](_0x42cb2e['ClUvV'],{'type':_0x42cb2e['nHpsb'],'description':_0x3b4427(0x27a),'default':![]})[_0x3b4427(0x19b)](_0x42cb2e[_0x3b4427(0x216)],{'type':_0x3b4427(0x1f6),'description':_0x42cb2e[_0x3b4427(0x1b8)],'default':![]})[_0x3b4427(0x19b)](_0x42cb2e[_0x3b4427(0x243)],{'type':_0x42cb2e['nHpsb'],'description':_0x42cb2e[_0x3b4427(0x21b)],'default':![]})['option']('scope',{'type':_0x3b4427(0x1ce),'choices':[_0x42cb2e['MnKsa']],'hidden':!![],'description':_0x42cb2e[_0x3b4427(0x25d)]})['option'](_0x3b4427(0x1cf),{'type':_0x3b4427(0x1ce),'description':_0x42cb2e['tHWyU']})[_0x3b4427(0x19b)](_0x42cb2e['tzcdy'],{'type':'boolean','description':_0x42cb2e['DTApG'],'default':![]})['option'](_0x3b4427(0x104),{'type':_0x3b4427(0x1f6),'description':_0x42cb2e['VKECq'],'default':![]})['option'](_0x3b4427(0x189),{'type':_0x42cb2e['nHpsb'],'description':_0x42cb2e['FqPbp'],'default':![]})['option'](_0x42cb2e[_0x3b4427(0x1a4)],{'type':'boolean','description':_0x42cb2e['MWiVH'],'default':![]})['option'](_0x3b4427(0x1ea),{'type':_0x3b4427(0x1f6),'description':_0x42cb2e[_0x3b4427(0x213)],'default':![]});},async _0x26fec5=>{const _0x4b90ab=_0x4ae7a3;(_0x26fec5[_0x4b90ab(0x264)]||_0x26fec5['mcp'])&&await _0xb6bd09[_0x4b90ab(0x12d)](withTelemetry,_0x4b90ab(0x264),()=>mcpBootstrap()),await _0xb6bd09[_0x4b90ab(0x123)](withTelemetry,_0xb6bd09[_0x4b90ab(0x23a)],_0x204a5e=>start(_0x26fec5['token'],{'skipChromium':_0x26fec5['skip-chromium'],'skipAuth':_0x26fec5['skip-auth'],'withDeps':_0x26fec5['with-deps'],'scope':_0x26fec5['scope'],'url':_0x26fec5['url'],'force':_0x26fec5[_0x4b90ab(0x1b2)],'opencode':_0x26fec5[_0x4b90ab(0x104)],'allowInsecureLocalhost':_0x26fec5[_0x4b90ab(0x189)]},_0x204a5e));})[_0x4ae7a3(0x141)](_0x4ae7a3(0x218),'Install\x20Chromium\x20browser\x20binary',_0x606de3=>{const _0x45adb9=_0x4ae7a3;return _0x606de3['option']('with-deps',{'type':_0x45adb9(0x1f6),'description':_0x45adb9(0x176),'default':![]});},async _0x44f1fb=>{const _0x5c4d20=_0x4ae7a3;await withTelemetry(_0x5c4d20(0xf6),()=>ensureChromium(_0x44f1fb['with-deps']));})['command'](_0xb6bd09['BjMjH'],'Authenticate\x20with\x20Ranger',_0x123ba1=>{const _0x349d87=_0x4ae7a3;return _0x123ba1[_0x349d87(0x19b)](_0x42cb2e[_0x349d87(0x1bf)],{'type':_0x42cb2e['tTRPG'],'description':_0x42cb2e['VUKao']})[_0x349d87(0x19b)]('mcp',{'type':_0x349d87(0x1f6),'description':_0x42cb2e[_0x349d87(0x24b)],'default':![]});},async _0x2b0aa8=>{await withTelemetry('setup:login',async()=>{const _0x2a8b48=_0x2e2d;if(_0x2b0aa8[_0x2a8b48(0x1ea)]){await _0x42cb2e['oKrks'](mcpBootstrap);const _0x232c79=await refreshCliToken();if(!_0x232c79)throw new Error(_0x42cb2e['IjMxD']);const _0x259d1b=await getCurrentUser(_0x232c79);if(!_0x259d1b['success'])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x259d1b['error']);console['log']('✓\x20Authenticated\x20to\x20'+_0x259d1b[_0x2a8b48(0x127)][_0x2a8b48(0x27f)]);return;}await _0x42cb2e[_0x2a8b48(0x258)](authenticate,_0x2b0aa8['token']);});})['command'](_0x4ae7a3(0x14f),'Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x1c66b9=>{const _0x5a61a1=_0x4ae7a3;return _0x1c66b9[_0x5a61a1(0x19b)](_0x5a61a1(0x22b),{'type':_0xb6bd09[_0x5a61a1(0x172)],'choices':['user',_0xb6bd09[_0x5a61a1(0x17e)]],'description':_0xb6bd09[_0x5a61a1(0x105)]})['option']('opencode',{'type':_0x5a61a1(0x1f6),'description':_0xb6bd09[_0x5a61a1(0x106)],'default':![]});},async _0x3f050a=>{const _0x37a203=_0x4ae7a3,_0x5b6168={'GNPsD':function(_0x147527,_0x43cd6d){const _0xc57a7a=_0x2e2d;return _0x42cb2e[_0xc57a7a(0x258)](_0x147527,_0x43cd6d);},'fisYL':function(_0x22343f,_0x3f93fa,_0x218d02){return _0x22343f(_0x3f93fa,_0x218d02);},'TkHih':_0x37a203(0x1cd),'oFpab':function(_0xe085d1){return _0xe085d1();},'cBxhn':_0x37a203(0x104)};await withTelemetry('setup:skills',async()=>{const _0x11b1b5=_0x37a203,_0x573a75=_0x3f050a[_0x11b1b5(0x22b)];if(_0x3f050a[_0x11b1b5(0x104)]){const _0x3d31d7=await _0x5b6168[_0x11b1b5(0x231)](ensureOpencodePluginConfig,_0x573a75);_0x3d31d7&&await _0x5b6168['fisYL'](installSkill,_0x5b6168['TkHih'],{'level':_0x3d31d7[_0x11b1b5(0x22b)],'cliVersion':_0x5b6168['oFpab'](getCurrentVersion),'platform':_0x5b6168['cBxhn']});}else await ensureClaudePlugin(_0x573a75),await _0x5b6168[_0x11b1b5(0x231)](ensureClaudeSkills,_0x573a75);});})[_0x4ae7a3(0x141)]('profiles','Set\x20up\x20a\x20local\x20browser\x20profile',_0x4d8ac2=>{const _0x48ba66=_0x4ae7a3;return _0x4d8ac2['option'](_0xb6bd09[_0x48ba66(0x20d)],{'type':_0xb6bd09[_0x48ba66(0x172)],'choices':[_0xb6bd09[_0x48ba66(0x205)]],'description':_0xb6bd09[_0x48ba66(0x163)]})[_0x48ba66(0x19b)](_0x48ba66(0x1cf),{'type':'string','description':_0xb6bd09['SlCIM']})[_0x48ba66(0x19b)](_0xb6bd09['FGFVj'],{'type':_0x48ba66(0x1f6),'description':'Skip\x20browser\x20authentication','default':![]})[_0x48ba66(0x19b)](_0xb6bd09['fbNCQ'],{'type':'boolean','description':_0xb6bd09[_0x48ba66(0x177)],'default':![]})[_0x48ba66(0x19b)](_0xb6bd09[_0x48ba66(0x285)],{'type':_0x48ba66(0x1f6),'description':_0xb6bd09['kExYT'],'default':![]});},async _0x651564=>{const _0xd23178=_0x4ae7a3,_0x3a59a7=_0x651564[_0xd23178(0x22b)];_0x3a59a7!==undefined&&_0x42cb2e[_0xd23178(0x27d)](_0x3a59a7,_0x42cb2e[_0xd23178(0x1de)])&&(console['error'](_0x42cb2e[_0xd23178(0x247)]('ranger\x20setup\x20profiles\x20--scope='+_0x3a59a7+'\x20is\x20no\x20longer\x20supported.\x20','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20')+'Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.'),process['exit'](0x1)),await withTelemetry(_0xd23178(0x1e7),_0x5d7e73=>ensureLocalEnv({'url':_0x651564[_0xd23178(0x1cf)],'force':_0x651564[_0xd23178(0x1b2)],'allowInsecureLocalhost':_0x651564['allow-insecure-localhost'],'scope':'user'},_0x5d7e73));})[_0x4ae7a3(0x19b)](_0x4ae7a3(0x27b),{'type':_0x4ae7a3(0x1f6),'description':_0x4ae7a3(0x27a),'default':![]})[_0x4ae7a3(0x19b)](_0x4ae7a3(0x22b),{'type':'string','choices':['user'],'hidden':!![],'description':_0xb6bd09['oCXdo']})['option'](_0xb6bd09['pzBAF'],{'type':'string','description':_0xb6bd09[_0x4ae7a3(0x248)]})[_0x4ae7a3(0x19b)](_0xb6bd09['fbNCQ'],{'type':_0xb6bd09['LYnHj'],'description':_0xb6bd09['QEVSR'],'default':![]})['option'](_0xb6bd09[_0x4ae7a3(0x184)],{'type':_0xb6bd09['LYnHj'],'description':_0xb6bd09['ANauj'],'default':![]})[_0x4ae7a3(0x19b)]('allow-insecure-localhost',{'type':'boolean','description':_0x4ae7a3(0x1a6),'default':![]})['option'](_0x4ae7a3(0x264),{'type':_0xb6bd09['LYnHj'],'description':_0x4ae7a3(0x1da),'default':![]})['option'](_0x4ae7a3(0xff),{'type':'boolean','description':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','default':![]})[_0x4ae7a3(0x19b)](_0x4ae7a3(0x1d1),{'type':_0x4ae7a3(0x1f6),'description':_0xb6bd09[_0x4ae7a3(0x250)],'default':![]})['option'](_0xb6bd09[_0x4ae7a3(0x150)],{'type':_0xb6bd09[_0x4ae7a3(0x172)],'hidden':!![],'description':_0xb6bd09['IZDsq']});},async _0x140697=>{const _0x547f0d=_0x4deea5,_0x84b9ba=_0x140697[_0x547f0d(0x18d)],_0x2b78e5=_0x140697[_0x547f0d(0x1a2)]??_0x84b9ba;_0x140697[_0xb6bd09['fUCqK']]&&await withTelemetry(_0xb6bd09['fUCqK'],()=>mcpBootstrap()),await withTelemetry(_0xb6bd09['mUDnA'],_0x40737a=>start(_0x2b78e5,{'skipChromium':_0x140697['skip-chromium'],'skipAuth':_0x140697['skip-auth'],'withDeps':_0x140697['with-deps'],'scope':_0x140697[_0x547f0d(0x22b)],'url':_0x140697['url'],'force':_0x140697['force'],'opencode':_0x140697['opencode'],'allowInsecureLocalhost':_0x140697['allow-insecure-localhost']},_0x40737a));})[_0x4deea5(0x141)](_0x4deea5(0x1c4),![],_0x4031ad=>{const _0x3c3bfa=_0x4deea5;return _0x4031ad[_0x3c3bfa(0x278)](_0xb6bd09['LIGsN'],{'type':_0x3c3bfa(0x1ce),'description':_0xb6bd09[_0x3c3bfa(0x280)],'demandOption':!![]})[_0x3c3bfa(0x19b)](_0xb6bd09['OBOHU'],{'type':_0x3c3bfa(0x1ce),'description':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)'})['option']('base-url',{'type':_0x3c3bfa(0x1ce),'description':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)'})[_0x3c3bfa(0x19b)](_0xb6bd09[_0x3c3bfa(0x24a)],{'type':_0x3c3bfa(0x1f6),'description':_0x3c3bfa(0x16e),'default':![]});},async _0xae31d=>{const _0x2b2d36=_0x4deea5;await withTelemetry(_0xb6bd09[_0x2b2d36(0x26e)],_0x10a5f1=>setupCi(_0xae31d[_0x2b2d36(0x1a2)],{'profile':_0xae31d['profile'],'baseUrl':_0xae31d['base-url'],'skipChromium':_0xae31d['skip-chromium']},_0x10a5f1));})['command'](_0xb6bd09['BjMjH'],_0xb6bd09[_0x4deea5(0x151)],()=>{},async()=>{await withTelemetry('login',()=>login());})[_0x4deea5(0x141)](_0x4deea5(0x217),_0xb6bd09['NkFIq'],_0xe6cacd=>{const _0x29b03d=_0x4deea5;return _0xe6cacd['option']('opencode',{'type':'boolean','description':'Install\x20skills\x20for\x20OpenCode','default':![]})[_0x29b03d(0x19b)](_0xb6bd09[_0x29b03d(0x20d)],{'type':_0xb6bd09['XDWTh'],'choices':['user',_0xb6bd09['zSPVw']],'description':'Install\x20scope\x20for\x20skills'});},async _0x402c19=>{const _0x229315=_0x4deea5,_0x2a09bd=_0xb6bd09['YpSEk'](Boolean,_0x402c19[_0x229315(0x104)]);await _0xb6bd09['RCqsu'](withTelemetry,_0xb6bd09[_0x229315(0x26d)],()=>skillup({'autoInstall':_0x402c19['scope'],'platform':_0x2a09bd?'opencode':'claude'}));})[_0x4deea5(0x141)](_0xb6bd09['jSJfJ'],_0x4deea5(0x1e0),()=>{},async()=>{const _0x1b63e7=_0x4deea5;await _0xb6bd09[_0x1b63e7(0x12d)](withTelemetry,'clean',()=>clean());})[_0x4deea5(0x141)]([_0xb6bd09[_0x4deea5(0x1ee)],_0xb6bd09[_0x4deea5(0x1e6)]],_0xb6bd09[_0x4deea5(0x190)],_0x38f477=>{const _0x17c250=_0x4deea5,_0x22f3f4={'RkVxt':function(_0x144536,_0x14bfc2,_0x2c68c3,_0x1a4c9b){return _0xb6bd09['UVoxB'](_0x144536,_0x14bfc2,_0x2c68c3,_0x1a4c9b);},'twVdo':_0x17c250(0x1ae),'iMaqM':function(_0x81f2,_0x409a05){return _0x81f2(_0x409a05);},'wUWsd':_0xb6bd09[_0x17c250(0x172)],'aUFXi':'Name\x20of\x20the\x20profile','WRhIX':function(_0x291cf6,_0x151352,_0x22c47f){return _0x291cf6(_0x151352,_0x22c47f);},'UZUKp':_0xb6bd09['vuetC'],'aZLVX':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','AOlaZ':function(_0x32d698,_0xf49acb,_0x4a16d7){return _0x32d698(_0xf49acb,_0x4a16d7);},'wgmNU':_0xb6bd09[_0x17c250(0x25c)],'dseRn':_0xb6bd09['PnQqM'],'pisuN':_0x17c250(0x10b),'uzgtH':'No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','ZETuh':function(_0x580dbd,_0x4e53d1,_0x4468bb){return _0xb6bd09['IXcXE'](_0x580dbd,_0x4e53d1,_0x4468bb);},'rynRK':_0xb6bd09['jJsBa'],'FbIPN':_0xb6bd09['JERgA'],'QiPta':'value','XmAoW':_0x17c250(0x1fe),'pRZBv':function(_0x1109a8,_0x62e243,_0x3a1d83){return _0xb6bd09['XJyhD'](_0x1109a8,_0x62e243,_0x3a1d83);},'bzSvA':_0xb6bd09['MKUyA'],'qkHQa':'Config\x20key\x20to\x20remove','raADt':_0xb6bd09['LnjAD'],'FwRCO':_0xb6bd09['Frqdb'],'mrUdf':_0xb6bd09['SlszS'],'aXxce':_0xb6bd09['cornO'],'xoJRV':_0x17c250(0x220),'aMtcy':_0xb6bd09['KBFVL'],'CYwXl':'unset\x20<profile>\x20<key>','Ntqnn':_0xb6bd09['fSKxY'],'NXBRK':_0x17c250(0x17b),'mZcjd':_0xb6bd09[_0x17c250(0x1f2)]};return _0x38f477['usage'](PROFILE_HELP)['command'](_0x17c250(0x192),_0xb6bd09['kWzai'],_0x1d8c04=>{const _0x659472=_0x17c250;return _0x1d8c04['positional'](_0x659472(0x219),{'type':_0xb6bd09[_0x659472(0x172)],'description':_0x659472(0x245),'demandOption':!![]})[_0x659472(0x19b)]('ci',{'type':'boolean','hidden':!![],'default':![]})[_0x659472(0x19b)](_0xb6bd09['FGFVj'],{'type':_0xb6bd09[_0x659472(0x26c)],'description':_0xb6bd09[_0x659472(0x235)],'default':![]})['option'](_0xb6bd09[_0x659472(0x149)],{'type':_0xb6bd09['XDWTh'],'description':_0xb6bd09['jcQrs']})['option'](_0x659472(0x1b2),{'type':_0x659472(0x1f6),'description':_0xb6bd09['QEVSR'],'default':![]})[_0x659472(0x19b)](_0xb6bd09['IZZUL'],{'type':_0x659472(0x1ce),'description':_0xb6bd09[_0x659472(0x185)]})['option']('allow-insecure-localhost',{'type':_0x659472(0x1f6),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})['option']('safe-mode',{'type':'boolean','description':_0xb6bd09['OCogw'],'default':![]})['option']('setup-header',{'type':_0xb6bd09['XDWTh'],'array':!![],'description':_0x659472(0x16f)})['option']('scope',{'type':_0xb6bd09['XDWTh'],'choices':[_0xb6bd09[_0x659472(0x205)],'project'],'description':_0xb6bd09['khrHQ']})['option'](_0xb6bd09['fsDZA'],{'type':_0xb6bd09[_0x659472(0x26c)],'alias':'y','description':_0x659472(0x126),'default':![]});},async _0x2298e3=>{const _0x365f07=_0x17c250;await _0x22f3f4['RkVxt'](withTelemetry,_0x22f3f4['twVdo'],_0x41254f=>addEnv(_0x2298e3[_0x365f07(0x219)],{'ci':_0x2298e3['ci'],'skipAuth':_0x2298e3[_0x365f07(0xff)],'url':_0x2298e3['url'],'force':_0x2298e3[_0x365f07(0x1b2)],'cdpEndpoint':_0x2298e3['cdp-endpoint'],'allowInsecureLocalhost':_0x2298e3[_0x365f07(0x189)],'safeMode':_0x2298e3[_0x365f07(0x227)],'setupHeader':_0x2298e3['setup-header'],'scope':_0x2298e3[_0x365f07(0x22b)],'yes':_0x2298e3[_0x365f07(0x1ca)]},_0x41254f),{'isElectron':_0x22f3f4[_0x365f07(0x11c)](Boolean,_0x2298e3['cdp-endpoint'])});})['command'](_0x17c250(0x269),'Switch\x20to\x20using\x20a\x20specific\x20profile',_0x11fbfe=>{const _0x4d68a1=_0x17c250;return _0x11fbfe[_0x4d68a1(0x278)](_0x4d68a1(0x219),{'type':_0x22f3f4['wUWsd'],'description':_0x22f3f4[_0x4d68a1(0x255)],'demandOption':!![]});},async _0x53fdb9=>{const _0x3b15c7=_0x17c250;await _0x22f3f4[_0x3b15c7(0x256)](withTelemetry,'profile\x20use',()=>useEnv(_0x53fdb9['profile-name']));})[_0x17c250(0x141)](_0x17c250(0x228),_0xb6bd09['WrOvT'],_0x5618f9=>{const _0x269187=_0x17c250;return _0x5618f9['positional'](_0x22f3f4[_0x269187(0x273)],{'type':'string','description':_0x22f3f4[_0x269187(0x130)],'demandOption':!![]})[_0x269187(0x19b)](_0x269187(0x1ca),{'type':'boolean','alias':'y','description':'Skip\x20the\x20deletion\x20confirmation\x20prompt.','default':![]});},async _0x50bb89=>{await _0x22f3f4['WRhIX'](withTelemetry,'profile\x20delete',()=>deleteProfile(_0x50bb89['profile-name'],{'yes':_0x50bb89['yes']}));})[_0x17c250(0x141)](_0xb6bd09['SDbKQ'],![],_0x1a4075=>{const _0xc3a352=_0x17c250;return _0x1a4075[_0xc3a352(0x278)](_0xc3a352(0x203),{'type':_0xc3a352(0x1ce),'description':'Profile\x20name','demandOption':!![]});},async _0xea0ca5=>{const _0x2c9ba3=_0x17c250;await _0x22f3f4['AOlaZ'](withTelemetry,'profile\x20encrypt-auth',()=>authEncrypt(_0xea0ca5[_0x2c9ba3(0x203)]));})[_0x17c250(0x141)]('ls',_0x17c250(0x21f),()=>{},async()=>{const _0x303ad5=_0x17c250;await withTelemetry(_0x303ad5(0x165),()=>envList());})['command']('update\x20<profile-name>',_0x17c250(0x1ec),_0x1c8696=>{const _0x38fd49=_0x17c250;return _0x1c8696['positional']('profile-name',{'type':'string','description':_0x38fd49(0x22f),'demandOption':!![]})['option'](_0xb6bd09['bCecj'],{'type':_0xb6bd09['LYnHj'],'description':_0xb6bd09[_0x38fd49(0x1f5)]})['option']('manual',{'type':_0xb6bd09['LYnHj'],'description':'Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login'});},async _0x2057f4=>{const _0x44cae7=_0x17c250;await withTelemetry('profile\x20update',_0x24fefb=>updateEnv(_0x2057f4[_0x44cae7(0x219)],_0x24fefb,{'allowInsecureLocalhost':_0x2057f4[_0x44cae7(0x189)],'manual':_0x2057f4['manual']}));})[_0x17c250(0x141)](_0x17c250(0x257),![],_0x37dc22=>{const _0xe45002=_0x17c250;return _0x37dc22['positional'](_0x22f3f4['wgmNU'],{'type':_0x22f3f4[_0xe45002(0x113)],'description':_0x22f3f4[_0xe45002(0x1f9)],'demandOption':!![]});},async _0x501f47=>{const _0x5a23a4=_0x17c250;await _0x22f3f4[_0x5a23a4(0xe5)](withTelemetry,_0x22f3f4['rynRK'],async()=>{const _0x40641f=_0x5a23a4,_0x45c0a4=process['env']['RANGER_TEST_USERNAME'],_0x59b0a3=process['env'][_0x40641f(0x286)];(!_0x45c0a4||!_0x59b0a3)&&(console[_0x40641f(0x26f)](_0x22f3f4['pisuN']),process['exit'](0x1));const _0x493f80=_0x501f47['name'],_0x922611=await serverSideLogin(_0x493f80,{'force':!![]});_0x922611['status']==='not_configured'&&(console[_0x40641f(0x26f)](_0x22f3f4[_0x40641f(0x1af)]),process[_0x40641f(0x23c)](0x1)),_0x922611['status']===_0x40641f(0x1c7)&&(console[_0x40641f(0x26f)]('Login\x20failed:\x20'+(_0x922611[_0x40641f(0x26f)]??'unknown\x20error')),_0x922611[_0x40641f(0x129)]&&console['error'](_0x922611[_0x40641f(0x129)]),process[_0x40641f(0x23c)](0x1)),console['log'](_0x40641f(0x144)+_0x493f80+'\x27.\x20Session\x20saved.');});})['command'](_0x17c250(0x159),![],_0x11e3ae=>{const _0xce30a0=_0x17c250;return _0x11e3ae['positional'](_0xb6bd09[_0xce30a0(0x232)],{'type':_0xce30a0(0x1ce),'description':_0xb6bd09[_0xce30a0(0x20c)]})[_0xce30a0(0x19b)](_0xb6bd09[_0xce30a0(0x211)],{'type':_0xce30a0(0x1f6),'description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})['option'](_0xce30a0(0x20e),{'type':_0xb6bd09[_0xce30a0(0x26c)],'description':_0xb6bd09[_0xce30a0(0x125)],'default':![]})[_0xce30a0(0x19b)](_0xb6bd09['fsDZA'],{'type':_0xb6bd09['LYnHj'],'alias':'y','description':_0xb6bd09['IbWNC'],'default':![]})['option'](_0xb6bd09['lUcOb'],{'type':_0xb6bd09[_0xce30a0(0x26c)],'description':_0xb6bd09['UVaZn'],'default':![]});},async _0xd02946=>{const _0xd1dbff=_0x17c250;await _0xb6bd09['aYRJP'](withTelemetry,_0xb6bd09[_0xd1dbff(0x15a)],_0x577ada=>migrateProfile({'profileName':_0xd02946['profile-name'],'all':_0xd02946['all'],'dryRun':_0xd02946[_0xd1dbff(0x20e)],'yes':_0xd02946['yes'],'saveCreds':_0xd02946['save-creds']},_0x577ada));})[_0x17c250(0x141)](_0xb6bd09[_0x17c250(0xfd)],_0xb6bd09[_0x17c250(0x175)],_0x120e07=>{const _0x4ba444=_0x17c250,_0x211e3b={'RQeih':function(_0x2cda1d,_0x4d19b3,_0x4c441c){const _0x54f6b3=_0x2e2d;return _0x22f3f4[_0x54f6b3(0x256)](_0x2cda1d,_0x4d19b3,_0x4c441c);},'zexLk':'profile','SIEob':_0x4ba444(0x15f),'niMlp':_0x22f3f4['FbIPN'],'HQLhy':'profile\x20config\x20reset'};return _0x120e07['usage'](PROFILE_CONFIG_HELP)[_0x4ba444(0x141)](_0x22f3f4[_0x4ba444(0x24d)],_0x22f3f4['mrUdf'],_0x467c12=>{const _0xc0e18d=_0x4ba444;return _0x467c12['positional'](_0xc0e18d(0x203),{'type':_0x22f3f4['wUWsd'],'description':_0x22f3f4['FbIPN'],'demandOption':!![]})['positional'](_0xc0e18d(0x15f),{'type':_0x22f3f4[_0xc0e18d(0x113)],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})['positional'](_0x22f3f4['QiPta'],{'type':_0x22f3f4[_0xc0e18d(0x113)],'description':'Config\x20value','demandOption':!![]});},async _0x17bd92=>{const _0x2ee615=_0x4ba444;await _0x211e3b[_0x2ee615(0x23b)](withTelemetry,'profile\x20config\x20set',()=>configSet(_0x17bd92[_0x2ee615(0x203)],_0x17bd92['key'],_0x17bd92['value']));})['command'](_0x22f3f4[_0x4ba444(0x11e)],_0x22f3f4[_0x4ba444(0x1e1)],_0x5f55cc=>{const _0x33d396=_0x4ba444;return _0x5f55cc[_0x33d396(0x278)](_0x211e3b['zexLk'],{'type':_0x33d396(0x1ce),'description':'Profile\x20name','demandOption':!![]})[_0x33d396(0x278)](_0x211e3b[_0x33d396(0x22c)],{'type':'string','description':'Config\x20key','demandOption':!![]});},async _0x321091=>{const _0x4e1e7b=_0x4ba444;await withTelemetry(_0x22f3f4[_0x4e1e7b(0x152)],()=>configGet(_0x321091['profile'],_0x321091['key']));})['command'](_0x22f3f4['aMtcy'],'List\x20all\x20config\x20for\x20a\x20profile',_0x374c25=>{const _0x142d89=_0x4ba444;return _0x374c25[_0x142d89(0x278)](_0x142d89(0x203),{'type':'string','description':_0x211e3b['niMlp'],'demandOption':!![]});},async _0x291413=>{const _0x5ced80=_0x4ba444;await _0x22f3f4[_0x5ced80(0x224)](withTelemetry,'profile\x20config\x20list',()=>configList(_0x291413[_0x5ced80(0x203)]));})['command'](_0x22f3f4[_0x4ba444(0x266)],_0x22f3f4['Ntqnn'],_0x551a1c=>{const _0x1280b2=_0x4ba444;return _0x551a1c[_0x1280b2(0x278)](_0x1280b2(0x203),{'type':'string','description':_0x22f3f4['FbIPN'],'demandOption':!![]})['positional'](_0x22f3f4['bzSvA'],{'type':_0x22f3f4['wUWsd'],'description':_0x22f3f4[_0x1280b2(0x160)],'demandOption':!![]});},async _0x296051=>{const _0x406ace=_0x4ba444;await _0x22f3f4['WRhIX'](withTelemetry,_0x22f3f4['raADt'],()=>configUnset(_0x296051[_0x406ace(0x203)],_0x296051['key']));})[_0x4ba444(0x141)](_0x4ba444(0x270),_0x22f3f4['NXBRK'],_0x56b8ee=>{const _0x31096e=_0x4ba444;return _0x56b8ee[_0x31096e(0x278)](_0x31096e(0x203),{'type':_0x22f3f4['wUWsd'],'description':_0x31096e(0xee),'demandOption':!![]});},async _0x40feb6=>{await withTelemetry(_0x211e3b['HQLhy'],()=>configReset(_0x40feb6['profile']));})['demandCommand'](0x1,_0x22f3f4['mZcjd']);})[_0x17c250(0x15b)](0x1,_0xb6bd09[_0x17c250(0x267)]);})['command'](_0x4deea5(0x17f),'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{await _0xb6bd09['RCqsu'](withTelemetry,_0xb6bd09['rvRkT'],()=>status());})[_0x4deea5(0x141)]('update','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{await withTelemetry('update',()=>update());})['command'](_0xb6bd09[_0x4deea5(0x1ad)],_0xb6bd09['rWONA'],()=>{},async()=>{await withTelemetry(_0xb6bd09['LbuKU'],async()=>{const _0x28516a=_0x2e2d,_0x5dd8d6=await _0xb6bd09[_0x28516a(0xe2)](getToken);if(!_0x5dd8d6)throw new Error(_0xb6bd09[_0x28516a(0x11f)]);console[_0x28516a(0x222)](_0x5dd8d6);});})[_0x4deea5(0x141)]('go','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.',_0x268a10=>{const _0x4f4e4e=_0x4deea5;return _0x268a10['option'](_0x4f4e4e(0x1c6),{'type':_0xb6bd09[_0x4f4e4e(0x172)],'description':'Optional\x20feature\x20ID'})[_0x4f4e4e(0x19b)]('profile',{'type':_0x4f4e4e(0x1ce),'description':_0xb6bd09['dsciX']})['option'](_0x4f4e4e(0x14c),{'type':_0xb6bd09[_0x4f4e4e(0x172)],'description':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)'})['option'](_0x4f4e4e(0x122),{'type':'number','description':_0x4f4e4e(0x171)})['option'](_0xb6bd09[_0x4f4e4e(0x186)],{'type':_0xb6bd09[_0x4f4e4e(0x172)],'description':_0x4f4e4e(0x283)})[_0x4f4e4e(0x19b)](_0xb6bd09[_0x4f4e4e(0x11d)],{'type':'string','description':_0xb6bd09[_0x4f4e4e(0x107)]})[_0x4f4e4e(0x19b)]('model',{'type':_0xb6bd09['XDWTh'],'description':_0x4f4e4e(0x268)})[_0x4f4e4e(0x19b)](_0xb6bd09[_0x4f4e4e(0x116)],{'type':'boolean','description':_0xb6bd09[_0x4f4e4e(0x101)],'default':![]})[_0x4f4e4e(0x19b)](_0xb6bd09[_0x4f4e4e(0x117)],{'type':_0xb6bd09['XDWTh'],'array':!![],'alias':'environment-variable','description':_0x4f4e4e(0x115)})['option'](_0x4f4e4e(0x1b6),{'type':_0x4f4e4e(0x1ce),'hidden':!![],'choices':[_0x4f4e4e(0x19e),_0xb6bd09[_0x4f4e4e(0x202)],_0xb6bd09['cnQXk'],_0x4f4e4e(0x1c7),'incomplete']})['option'](_0xb6bd09['vZMYO'],{'type':'boolean','hidden':!![]})['option'](_0x4f4e4e(0x1c3),{'type':_0xb6bd09[_0x4f4e4e(0x172)],'hidden':!![]})[_0x4f4e4e(0x19b)](_0x4f4e4e(0xe4),{'type':_0xb6bd09['XDWTh'],'hidden':!![]})['option'](_0xb6bd09['BkhRk'],{'type':_0xb6bd09[_0x4f4e4e(0x198)],'hidden':!![]});},async _0x337ce7=>{await runGoCommand(_0x337ce7);})['command'](_0xb6bd09[_0x4deea5(0xf1)],![],_0x15d5c0=>{const _0x3f215f=_0x4deea5,_0x34905c={'gMsEc':_0x3f215f(0x203)};return _0x15d5c0[_0x3f215f(0x141)](_0xb6bd09[_0x3f215f(0x1d0)],![],_0x22e48e=>{return _0x22e48e['positional'](_0x34905c['gMsEc'],{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x4279c5=>{warnRenamed('ranger\x20auth\x20encrypt','ranger\x20profile\x20encrypt-auth'),await authEncrypt(_0x4279c5['profile']);})[_0x3f215f(0x15b)](0x1,_0x3f215f(0x21a));},()=>{})[_0x4deea5(0x141)](_0xb6bd09['GyVcQ'],![],_0xbdcee4=>{const _0x3aada1=_0x4deea5;return _0xbdcee4[_0x3aada1(0x278)](_0xb6bd09['LIGsN'],{'type':_0xb6bd09[_0x3aada1(0x172)],'description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})['option'](_0xb6bd09['tbJDR'],{'type':_0xb6bd09['LYnHj'],'description':_0xb6bd09[_0x3aada1(0x13b)],'default':![]})['option'](_0xb6bd09[_0x3aada1(0x20d)],{'type':'string','choices':[_0x3aada1(0x127)],'hidden':!![],'description':_0xb6bd09['oCXdo']})['option'](_0xb6bd09['pzBAF'],{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x3aada1(0x1b2),{'type':_0xb6bd09[_0x3aada1(0x26c)],'description':_0xb6bd09[_0x3aada1(0x177)],'default':![]})[_0x3aada1(0x19b)](_0xb6bd09[_0x3aada1(0x1f1)],{'type':_0xb6bd09['LYnHj'],'description':_0x3aada1(0x155),'default':![]})[_0x3aada1(0x19b)](_0xb6bd09[_0x3aada1(0x109)],{'type':_0xb6bd09['LYnHj'],'description':_0x3aada1(0x142),'default':![]});},async _0x51a92b=>{const _0x512a60=_0x4deea5;_0xb6bd09[_0x512a60(0x252)](warnRenamed,_0xb6bd09['ibXXy'],_0xb6bd09[_0x512a60(0x128)]),await withTelemetry(_0xb6bd09['mUDnA'],_0x25bbb2=>start(_0x51a92b['token'],{'skipChromium':_0x51a92b[_0x512a60(0x27b)],'skipAuth':_0x51a92b[_0x512a60(0xff)],'withDeps':_0x51a92b['with-deps'],'scope':_0x51a92b[_0x512a60(0x22b)],'url':_0x51a92b[_0x512a60(0x1cf)],'force':_0x51a92b[_0x512a60(0x1b2)]},_0x25bbb2));})[_0x4deea5(0x141)]('verify-feature',![],_0x393aa8=>{const _0x3e2582=_0x4deea5;return _0x393aa8['option'](_0x3e2582(0x1c3),{'type':_0xb6bd09[_0x3e2582(0x172)],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0x3e2582(0x19b)](_0xb6bd09['jvdAJ'],{'type':'string','description':_0x3e2582(0x17d)})[_0x3e2582(0x19b)](_0xb6bd09['BkhRk'],{'type':_0xb6bd09['sdonn'],'description':_0xb6bd09['oxWem']})['option']('profile',{'type':_0x3e2582(0x1ce),'hidden':!![]})[_0x3e2582(0x19b)](_0xb6bd09[_0x3e2582(0xf5)],{'type':_0xb6bd09[_0x3e2582(0x172)],'hidden':!![]})['option'](_0x3e2582(0x122),{'type':_0xb6bd09['sdonn'],'hidden':!![]})[_0x3e2582(0x19b)]('start-path',{'type':_0xb6bd09[_0x3e2582(0x172)],'description':_0xb6bd09[_0x3e2582(0x215)]})['option']('base-url',{'type':'string','description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})['option'](_0x3e2582(0x1d9),{'type':'string','hidden':!![]})[_0x3e2582(0x19b)](_0xb6bd09['PliBJ'],{'type':_0xb6bd09['LYnHj'],'hidden':!![],'default':![]})['option']('env-var',{'type':_0x3e2582(0x1ce),'array':!![],'alias':_0xb6bd09['ycYGE'],'hidden':!![]})['option'](_0xb6bd09[_0x3e2582(0x20f)],{'type':_0xb6bd09[_0x3e2582(0x172)],'hidden':!![],'choices':['verified',_0xb6bd09[_0x3e2582(0x202)],_0xb6bd09[_0x3e2582(0x111)],_0x3e2582(0x1c7),'incomplete']});},async _0x49c16c=>{await runGoCommand(_0x49c16c,!![]);})[_0x4deea5(0x141)](_0xb6bd09['PaKbF'],![],_0x15e4f0=>{const _0x603ecd=_0x4deea5;return _0x15e4f0[_0x603ecd(0x278)](_0xb6bd09[_0x603ecd(0x16b)],{'type':'string','description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0xb6bd09['LYnHj'],'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})[_0x603ecd(0x19b)]('skip-auth',{'type':'boolean','description':_0x603ecd(0x271),'default':![]});},async _0x55b38c=>{const _0x49592b=_0x4deea5;warnRenamed(_0x49592b(0x1d5),'ranger\x20profile\x20add'),await withTelemetry(_0xb6bd09[_0x49592b(0x119)],_0x23aa25=>addEnv(_0x55b38c[_0x49592b(0x13a)],{'ci':_0x55b38c['ci'],'skipAuth':_0x55b38c['skip-auth']},_0x23aa25));})[_0x4deea5(0x141)](_0x4deea5(0x206),![],_0xa0f1c8=>{const _0x83ab5a=_0x4deea5;return _0xa0f1c8['positional'](_0xb6bd09['oZEAr'],{'type':_0xb6bd09[_0x83ab5a(0x172)],'description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x5a406c=>{const _0x3238e5=_0x4deea5;_0xb6bd09[_0x3238e5(0x123)](warnRenamed,_0xb6bd09[_0x3238e5(0x1a3)],_0xb6bd09['MuKvh']),await _0xb6bd09[_0x3238e5(0x12d)](withTelemetry,_0x3238e5(0x234),()=>useEnv(_0x5a406c['env-name']));})[_0x4deea5(0x141)](_0x4deea5(0x221),![],_0x2d903f=>{const _0x24512f=_0x4deea5,_0x2d3727={'ccVNT':_0xb6bd09['LkTcF'],'Efjez':_0xb6bd09['IzUup'],'OqWef':function(_0x1cea19,_0x3511c2,_0x335ffe){const _0x24da04=_0x2e2d;return _0xb6bd09[_0x24da04(0x103)](_0x1cea19,_0x3511c2,_0x335ffe);},'QqIqT':_0xb6bd09['kPpZi'],'kDSCL':_0xb6bd09[_0x24512f(0x1ba)]};return _0x2d903f[_0x24512f(0x141)]('set\x20<env>\x20<key>\x20<value>',![],_0x28aca3=>{const _0x227bbd=_0x24512f;return _0x28aca3[_0x227bbd(0x278)](_0xb6bd09['kPpZi'],{'type':'string','description':_0xb6bd09[_0x227bbd(0x1ba)],'demandOption':!![]})[_0x227bbd(0x278)](_0xb6bd09['MKUyA'],{'type':_0xb6bd09['XDWTh'],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})['positional'](_0xb6bd09[_0x227bbd(0x110)],{'type':_0x227bbd(0x1ce),'description':_0xb6bd09['DIUpw'],'demandOption':!![]});},async _0x1d73a1=>{const _0x363413=_0x24512f;warnRenamed(_0x363413(0x1e5),_0x2d3727['ccVNT']),await withTelemetry(_0x2d3727[_0x363413(0x140)],()=>configSet(_0x1d73a1['env'],_0x1d73a1[_0x363413(0x15f)],_0x1d73a1[_0x363413(0x1b3)]));})['command']('get\x20<env>\x20<key>',![],_0x5d4c82=>{const _0x507646=_0x24512f;return _0x5d4c82[_0x507646(0x278)]('env',{'type':_0xb6bd09['XDWTh'],'description':'Environment\x20name','demandOption':!![]})['positional'](_0x507646(0x15f),{'type':_0x507646(0x1ce),'description':_0x507646(0x1a7),'demandOption':!![]});},async _0x2d3ba5=>{const _0x78dcc7=_0x24512f;warnRenamed('ranger\x20config\x20get',_0x78dcc7(0x19f)),await _0x2d3727['OqWef'](withTelemetry,_0x78dcc7(0x276),()=>configGet(_0x2d3ba5[_0x78dcc7(0x1c3)],_0x2d3ba5['key']));})['command'](_0xb6bd09['VooJK'],![],_0xe72cd3=>{const _0x16b8b6=_0x24512f;return _0xe72cd3['positional'](_0x2d3727['QqIqT'],{'type':_0x16b8b6(0x1ce),'description':_0x2d3727[_0x16b8b6(0x209)],'demandOption':!![]});},async _0x167753=>{const _0x3b0cef=_0x24512f;_0xb6bd09[_0x3b0cef(0x103)](warnRenamed,_0xb6bd09['hwFJI'],_0xb6bd09['rtJLE']),await withTelemetry(_0xb6bd09['xpELE'],()=>configList(_0x167753[_0x3b0cef(0x1c3)]));})[_0x24512f(0x141)](_0xb6bd09[_0x24512f(0xf3)],![],_0x1ad65d=>{const _0x4091cc=_0x24512f;return _0x1ad65d[_0x4091cc(0x278)](_0xb6bd09[_0x4091cc(0x146)],{'type':_0xb6bd09['XDWTh'],'description':'Environment\x20name','demandOption':!![]})[_0x4091cc(0x278)](_0xb6bd09['MKUyA'],{'type':_0xb6bd09['XDWTh'],'description':_0x4091cc(0x25a),'demandOption':!![]});},async _0x1f74e0=>{const _0x18eb99=_0x24512f;warnRenamed(_0xb6bd09['XGPbI'],_0xb6bd09[_0x18eb99(0x263)]),await withTelemetry('config\x20unset',()=>configUnset(_0x1f74e0[_0x18eb99(0x1c3)],_0x1f74e0['key']));})[_0x24512f(0x15b)](0x1,_0x24512f(0x164));})[_0x4deea5(0x141)]('env',![],_0xe54632=>{const _0x56eafb=_0x4deea5,_0x3818f4={'JWoFo':_0xb6bd09[_0x56eafb(0x20b)]};return _0xe54632[_0x56eafb(0x141)]('ls',![],()=>{},async()=>{const _0xfa2677=_0x56eafb;warnRenamed('ranger\x20env\x20ls',_0xfa2677(0xe6)),await withTelemetry(_0x3818f4[_0xfa2677(0xf9)],()=>envList());})['command'](_0xb6bd09['rQHbF'],![],_0x20b817=>{const _0x2f9bcb=_0x56eafb;return _0x20b817[_0x2f9bcb(0x278)](_0x2f9bcb(0x13a),{'type':_0xb6bd09['XDWTh'],'description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x551f56=>{const _0x555d4d=_0x56eafb;warnRenamed('ranger\x20env\x20update','ranger\x20profile\x20update'),await withTelemetry(_0x555d4d(0xfc),_0x948937=>updateEnv(_0x551f56['env-name'],_0x948937));})['demandCommand'](0x1,_0x56eafb(0x1f4));})['command'](_0xb6bd09[_0x4deea5(0x17c)],![],_0x4f99c3=>{const _0x5cb342=_0x4deea5,_0x379cf4={'GhcjM':'description','WLtsQ':_0xb6bd09['spdDw'],'WSbSy':'array','ZZgZS':_0xb6bd09[_0x5cb342(0x13c)],'gcAiN':_0x5cb342(0x1f6),'Aetyd':_0x5cb342(0x1c8),'jsqWd':'ranger\x20feature\x20list','NdSal':function(_0x2c6903,_0x4b9296,_0x4eb6b4){return _0xb6bd09['IgJVX'](_0x2c6903,_0x4b9296,_0x4eb6b4);},'UTGEq':'feature\x20list','lLVEw':_0xb6bd09['zlQXE'],'Ktrdc':function(_0x3fd6f4,_0x55cf80,_0x4236ba){return _0xb6bd09['hlzhx'](_0x3fd6f4,_0x55cf80,_0x4236ba);},'leYtB':_0xb6bd09[_0x5cb342(0x15c)],'MoWpy':_0xb6bd09[_0x5cb342(0x172)],'SuyNo':_0xb6bd09['pEZjK'],'oWKuv':_0x5cb342(0x181),'lxqZe':function(_0x23a141,_0x2a3e77,_0xa135c){return _0xb6bd09['MRZmA'](_0x23a141,_0x2a3e77,_0xa135c);},'EdcpQ':'ranger\x20feature\x20add-checklist-item','pbQhp':function(_0x198b22,_0x13629b,_0x23ca56){const _0x53eab8=_0x5cb342;return _0xb6bd09[_0x53eab8(0x12d)](_0x198b22,_0x13629b,_0x23ca56);},'HegYv':_0xb6bd09['SElPH'],'KoWqi':_0x5cb342(0x188),'EkOha':'ranger\x20delete','AExDQ':_0xb6bd09['VEsZS'],'dqZGi':_0xb6bd09['wlDla']};return _0x4f99c3['command'](_0xb6bd09[_0x5cb342(0x1e2)],![],_0x5c6d79=>{const _0x2cb804=_0x5cb342;return _0x5c6d79['positional'](_0x2cb804(0x13e),{'type':_0x2cb804(0x1ce),'description':_0x2cb804(0x169),'demandOption':!![]})[_0x2cb804(0x19b)](_0x379cf4[_0x2cb804(0x18c)],{'type':_0x2cb804(0x1ce),'alias':'d','description':'Feature\x20review\x20description'})[_0x2cb804(0x19b)](_0x379cf4[_0x2cb804(0x19d)],{'type':_0x379cf4[_0x2cb804(0x254)],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x2cb804(0x19b)](_0x379cf4['ZZgZS'],{'type':'array','hidden':!![]});},async _0x3ef9e2=>{const _0x3cebf7=_0x5cb342;_0xb6bd09['GrQGM'](warnRenamed,_0xb6bd09['ROIEu'],_0xb6bd09[_0x3cebf7(0x1cc)]),_0xb6bd09[_0x3cebf7(0x25b)](warnFlagRenamed,'ranger\x20create',_0x3cebf7(0x262),'--scenario');const _0x15c6d4=_0x3ef9e2['scenario']||_0x3ef9e2[_0x3cebf7(0x10a)];await _0xb6bd09['MRZmA'](withTelemetry,'feature\x20create',()=>featureCreate(_0x3ef9e2['name'],{'description':_0x3ef9e2['description'],'scenarios':_0x15c6d4}));})['command'](_0xb6bd09[_0x5cb342(0x1d2)],![],_0x469199=>{const _0x55c17e=_0x5cb342;return _0x469199['option'](_0x55c17e(0x253),{'type':_0x379cf4['gcAiN'],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})[_0x55c17e(0x19b)](_0x55c17e(0x1bd),{'type':_0x379cf4['Aetyd'],'alias':'l','description':_0x55c17e(0x154),'default':0xa})['option'](_0x55c17e(0x14e),{'type':_0x379cf4[_0x55c17e(0x277)],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x55c17e(0x19b)](_0x55c17e(0x1ef),{'type':'boolean','alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x4d7fae=>{const _0xf53b0f=_0x5cb342;warnRenamed(_0x379cf4['jsqWd'],_0xf53b0f(0x27e)),await _0x379cf4[_0xf53b0f(0x239)](withTelemetry,_0x379cf4[_0xf53b0f(0x147)],()=>featureList({'currentBranch':_0x4d7fae[_0xf53b0f(0x253)],'limit':_0x4d7fae['limit'],'offset':_0x4d7fae['offset'],'includeDeleted':_0x4d7fae['include-deleted']}));})['command'](_0x5cb342(0x259),![],_0x123867=>{return _0x123867['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x40bb6e=>{const _0x2f1c7c=_0x5cb342;warnRenamed(_0x379cf4[_0x2f1c7c(0x1cb)],_0x2f1c7c(0x139)),await _0x379cf4['NdSal'](withTelemetry,'feature\x20show',()=>featureShow(_0x40bb6e['id']));})['command'](_0xb6bd09[_0x5cb342(0x1b0)],![],_0x402e8a=>{const _0x5d6776=_0x5cb342;return _0x402e8a[_0x5d6776(0x278)]('id',{'type':_0xb6bd09[_0x5d6776(0x172)],'description':_0xb6bd09['LOSog']});},async _0x1c3fb6=>{const _0x15111e=_0x5cb342;_0x379cf4[_0x15111e(0x1f3)](warnRenamed,_0x379cf4[_0x15111e(0x284)],'ranger\x20resume'),await withTelemetry(_0x15111e(0xec),()=>featureResume(_0x1c3fb6['id']));})[_0x5cb342(0x141)](_0xb6bd09['BwEVn'],![],_0x36753d=>{const _0x13de54=_0x5cb342;return _0x36753d['positional'](_0x379cf4['GhcjM'],{'type':_0x379cf4[_0x13de54(0x15d)],'description':_0x379cf4[_0x13de54(0x24e)],'demandOption':!![]})['option']('id',{'type':_0x379cf4[_0x13de54(0x15d)],'description':_0x379cf4[_0x13de54(0x24f)]});},async _0x4cc0e5=>{const _0x7a1604=_0x5cb342;_0x379cf4[_0x7a1604(0x27c)](warnRenamed,_0x379cf4[_0x7a1604(0x1c5)],'ranger\x20add-scenario'),await _0x379cf4[_0x7a1604(0x1f3)](withTelemetry,'feature\x20add-checklist-item',()=>featureAddScenario(_0x4cc0e5['description'],_0x4cc0e5['id']));})[_0x5cb342(0x141)](_0x5cb342(0x199),![],_0x3d1543=>{const _0x54d132=_0x5cb342;return _0x3d1543[_0x54d132(0x278)]('id',{'type':_0xb6bd09['XDWTh'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x228ccd=>{const _0x43d2bd=_0x5cb342;_0x379cf4['Ktrdc'](warnRenamed,_0x43d2bd(0x120),_0x43d2bd(0x1a5)),await _0x379cf4[_0x43d2bd(0x196)](withTelemetry,_0x379cf4[_0x43d2bd(0x238)],()=>featureGetReview(_0x228ccd['id']));})['command'](_0xb6bd09['kVJpX'],![],_0x40c12d=>{const _0x98e0d4=_0x5cb342;return _0x40c12d[_0x98e0d4(0x278)]('id',{'type':_0x379cf4[_0x98e0d4(0x15d)],'description':_0x98e0d4(0x1e9)});},async _0x14c790=>{const _0x1dc21a=_0x5cb342;_0x379cf4['lxqZe'](warnRenamed,_0x379cf4[_0x1dc21a(0x1c9)],_0x379cf4[_0x1dc21a(0x134)]),await withTelemetry(_0x379cf4[_0x1dc21a(0x12a)],()=>featureDelete(_0x14c790['id']));})['command']('restore\x20<id>',![],_0x157fbb=>{const _0x96fb4c=_0x5cb342;return _0x157fbb['positional']('id',{'type':_0x96fb4c(0x1ce),'description':_0x379cf4['dqZGi'],'demandOption':!![]});},async _0x4a7dae=>{const _0xfa067=_0x5cb342;warnRenamed(_0xb6bd09[_0xfa067(0x279)],'ranger\x20restore'),await withTelemetry('feature\x20restore',()=>featureRestore(_0x4a7dae['id']));})['demandCommand'](0x1,_0xb6bd09['QmJes']);})['command'](_0x4deea5(0x25f),![],_0x36409a=>{const _0xa8140c=_0x4deea5,_0x270190={'ViZav':_0xb6bd09[_0xa8140c(0x1be)]};return _0x36409a['command']('enable',_0xb6bd09['WLZCe'],_0x11c474=>{const _0x4ff6ec=_0xa8140c;return _0x11c474['option'](_0x4ff6ec(0x1fb),{'type':_0xb6bd09['XDWTh'],'description':_0xb6bd09[_0x4ff6ec(0x1ac)]});},async _0x1fa414=>{const _0x38c01c=_0xa8140c;await withTelemetry(_0xb6bd09[_0x38c01c(0x19a)],()=>hook('enable',_0x1fa414[_0x38c01c(0x1fb)]));})['command']('disable','Disable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x1f2db2=>{const _0x5d2a63=_0xa8140c;return _0x1f2db2['option'](_0xb6bd09[_0x5d2a63(0x208)],{'type':_0xb6bd09['XDWTh'],'description':_0x5d2a63(0x118)});},async _0x5999b5=>{const _0x8a92c7=_0xa8140c;await withTelemetry(_0x270190[_0x8a92c7(0x18a)],()=>hook('disable',_0x5999b5['session-id']));})['option'](_0xb6bd09['QvLJG'],{'type':_0xb6bd09['XDWTh'],'description':_0xb6bd09[_0xa8140c(0x100)]})['option'](_0xb6bd09[_0xa8140c(0x208)],{'type':_0xb6bd09[_0xa8140c(0x172)],'description':_0xa8140c(0x118)});},async _0x11f4bb=>{const _0x2657ef=_0x4deea5;_0x11f4bb[_0x2657ef(0x13e)]&&await hook(_0x11f4bb['name'],_0x11f4bb[_0xb6bd09[_0x2657ef(0x208)]]);})['demandCommand'](0x1,_0xb6bd09['UbBni'])['strictCommands']()[_0x4deea5(0xe8)](async(_0x35aa61,_0x814165,_0x3012)=>{const _0x4d245f=_0x4deea5,_0x4cc5d3=_0xb6bd09['cVHik'](sanitizeArgs,process['argv'][_0x4d245f(0x22a)](0x2)),_0x43973e=getErrorType(_0x35aa61,_0x814165);if(_0x35aa61&&_0x35aa61[_0x4d245f(0xf0)]('Unknown\x20command')){const _0x209955=process[_0x4d245f(0x1d4)][0x2];console['error'](_0x4d245f(0x236)+_0x209955),console[_0x4d245f(0x26f)](_0x4d245f(0x229));}else{if(_0x35aa61)console['error']('\x0a'+_0x35aa61+'\x0a');else _0x814165&&console['error']('\x0aError:\x20'+_0x814165[_0x4d245f(0x131)]+'\x0a');}await _0xb6bd09[_0x4d245f(0x1c2)](logDesirePath,{'rawCommand':_0x4cc5d3,'errorMessage':_0x35aa61||_0x814165?.[_0x4d245f(0x131)],'errorType':_0x43973e});const _0x1daf03=getCurrentCollector();_0x1daf03&&await _0x1daf03[_0x4d245f(0xea)](_0x814165||new Error(_0x35aa61||_0xb6bd09[_0x4d245f(0x145)])),process[_0x4d245f(0x23c)](0x1);})[_0x4deea5(0x226)](_0xb6bd09[_0x4deea5(0x13d)](_0xb6bd09[_0x4deea5(0x1b7)](_0xb6bd09['UYdsA'],_0xb6bd09['IwoCh']),_0xb6bd09[_0x4deea5(0x178)]))['help']()['alias'](_0x4deea5(0x282),'h');}process['env'][_0xd5872e(0xe7)]!=='test'&&(shouldShowLegacyWarning(process[_0xd5872e(0x1d4)])&&showLegacyDeprecationWarning(),buildParser()['parse']());
2
+ const _0x53c1e4=_0x179c;(function(_0x4c43c6,_0x6be0f2){const _0x4ac3aa=_0x179c,_0x46092c=_0x4c43c6();while(!![]){try{const _0x4c365f=parseInt(_0x4ac3aa(0x291))/0x1+-parseInt(_0x4ac3aa(0x2c8))/0x2+parseInt(_0x4ac3aa(0x197))/0x3+-parseInt(_0x4ac3aa(0x13a))/0x4*(-parseInt(_0x4ac3aa(0x24a))/0x5)+parseInt(_0x4ac3aa(0x256))/0x6*(-parseInt(_0x4ac3aa(0x2a8))/0x7)+parseInt(_0x4ac3aa(0x1c2))/0x8*(-parseInt(_0x4ac3aa(0x1d0))/0x9)+parseInt(_0x4ac3aa(0x1ef))/0xa;if(_0x4c365f===_0x6be0f2)break;else _0x46092c['push'](_0x46092c['shift']());}catch(_0x1be0ee){_0x46092c['push'](_0x46092c['shift']());}}}(_0x588e,0xce647));import _0x1cd389 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x551666=_0x179c,_0x4377b8={'fZIJE':function(_0x2d49ae,_0x548493){return _0x2d49ae(_0x548493);},'vgXgj':function(_0x270539,_0x47a2c2){return _0x270539!==_0x47a2c2;},'OSLbx':function(_0x532314,_0xcfb00f){return _0x532314(_0xcfb00f);},'qXMOi':function(_0x2f0bac,_0x2dd296,_0x386870){return _0x2f0bac(_0x2dd296,_0x386870);},'yuaSa':function(_0x4cd004,_0x55212a){return _0x4cd004(_0x55212a);},'eFgcN':_0x551666(0x1f9),'xUNwX':function(_0x15dc9f,_0x17ba5b){return _0x15dc9f(_0x17ba5b);}};let _0x3759c1=process[_0x551666(0x2c2)]();const _0x35b025=_0x4377b8['fZIJE'](parse,_0x3759c1)['root'];while(_0x4377b8[_0x551666(0x1cd)](_0x3759c1,_0x35b025)){if(_0x4377b8[_0x551666(0x28c)](existsSync,_0x4377b8[_0x551666(0x24e)](join,_0x3759c1,'.ranger'))||_0x4377b8[_0x551666(0x2c6)](existsSync,_0x4377b8[_0x551666(0x24e)](join,_0x3759c1,_0x4377b8[_0x551666(0x228)])))return _0x3759c1;_0x3759c1=_0x4377b8['xUNwX'](dirname,_0x3759c1);}return process['cwd']();}_0x1cd389[_0x53c1e4(0x164)]({'path':join(findProjectRoot(),_0x53c1e4(0x1f9))});import _0x3323a1 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';function _0x588e(){const _0x800088=['test_output','auth','SZiZD','aMnFD','test','QUkWf','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','You\x20must\x20specify\x20a\x20command','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','item','mcp-bootstrap','notes','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','OTieo','CFAUI','IIUwq','TWIOe','4162629hjUsRO','start','number','kaSOJ','unset\x20<profile>\x20<key>','argv','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','You\x20must\x20specify\x20a\x20config\x20subcommand','WOnGZ','gZCFo','MiBOu','resume\x20[id]','setup-header','Environment\x20name','startsWith','dry-run','some','sCeaX','XOgpt','elxTX','log','allow-insecure-localhost','error','show','dCyXp','cVrUd','VUMHS','profile','ranger\x20use','lBrLA','xDQKN','string','ipjnK','rstlc','Name\x20of\x20the\x20environment\x20to\x20update','add-scenario\x20<description>','ThZzL','nXqQh','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','ranger\x20show','clean','skip-auth','pNZzg','8jvcblA','KdHaO','ranger\x20create','use\x20<env-name>','exit','add-scenario','oSOwv','pTxzR','FzaWt','UwCOf','blocked','vgXgj','BamRE','Print\x20the\x20current\x20CLI\x20access\x20token','11560491iAjYNu','AwBvj','ALRex','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','YJyDV','lDrYt','--notes','Add\x20profile\x20configuration','TGNMJ','WPWwW','LAgmh','aOMaF','pZsEu','parse','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','eAWdJ','alias','with-deps','checklist','force','KJWMm','fEHHl','aqSCt','repeat','xmVoF','Manage\x20profiles','partial','url','get\x20<profile>\x20<key>','OsMLL','rangerwright-cli','10633070OmERSv','evaluation','DOnQk','get-feedback\x20[id]','aDBnd','use','EKTZt','value','yes','update\x20<profile-name>','.env','ujifN','VUECg','zHdOz','ranger\x20profile\x20use','message','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','env-name','Feature\x20review\x20ID\x20to\x20restore','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','nyeGd','eGCiL','jOpmP','array','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','Name\x20of\x20the\x20profile','PxxED','BMrgQ','jbKux','BbusK','tYyKA','Feature\x20review\x20description','ranger\x20config\x20unset','✓\x20Login\x20succeeded\x20for\x20\x27','daUHL','Config\x20key\x20to\x20remove','\x20INCOMPLETE','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','Number\x20of\x20feature\x20reviews\x20to\x20skip','start-path','TeUJW','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','QleOb','name','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','IAoTN','cfRZW','kLJCJ','update','OlzcY','qoGJi','bMZFr','ranger\x20go','NaJBN','all','DuhWG','eUxCW','eFgcN','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','.\x20[','skillup','Summary:\x20','kYjHp','TxSEf','feature\x20get-feedback','TlPiE','vvWmM','wXCkh','Config\x20value','tZttP','nAuDq','New\x20scenario\x20description','wvTJQ','Profile\x20name','nLWra','session-id','command','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','ranger\x20feature\x20show','profile\x20delete','ypnfn','profile\x20add','demandCommand','not_configured','create\x20<name>','config\x20unset','feature\x20restore','qcIem','add-checklist-item\x20<description>','disable','95WxgxWa','NODE_ENV','list\x20<profile>','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','qXMOi','RANGER_PROFILE','zVSwl','lDIIx','tgvsU','mcp','yqdzs','Ykmbp','13926RJdlHQ','jbLtF','pBCiR','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','Install\x20skills\x20for\x20OpenCode','KgLgh','limit','HGGMW','incomplete','gHxpL','\x20FAILED','NAQMc','length','gcuDt','KrDsI','update\x20<env-name>','Get\x20a\x20config\x20value','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','Login\x20failed:\x20','ZTAgs','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','headed','tokenOrSubcommand','YaULW','vnOrF','Cloud\x20profile\x20name','task','Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','ZGqjf','scope','ranger\x20restore','ZLtCj','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','delete','fjfxs','btUQF','option','project','profile\x20config\x20reset','Switch\x20to\x20using\x20a\x20specific\x20profile','resume','KVQyu','Zhhex','EdkCt','uVQTn','setup:skills','debug-address-comments','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','qJCpz','ranger\x20auth\x20encrypt','playwright-cli','mYLUn','feature\x20resume','ranger\x20feature\x20delete','OSLbx','issues','ozoVM','vKDHP','evaluationReason','706538fYjOhq','aHMBj','UExCs','OHOuc','feature','opencode','forEach','gsWsD','save-creds','ZNQVv','--scenario','login\x20<name>','ranger\x20delete','avKzX','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','flatMap','SuvPN','exclude-scenario','vhlfc','list','boolean','UkJJu','delete\x20[id]','3675UYwGbs','slice','severity','offset','jAmus','sfpOL','zfAEQ','DKHDn','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','model','dsrGk','ZxFqV','ULnkw','help','qgrJZ','vffRj','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','WguNe','Unknown\x20command','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','Scenario\x20description','UmZfR','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','ranger\x20feature\x20create','zdeIO','nJfsE','cwd','jUdiN','\x20is\x20now\x20','restore\x20<id>','yuaSa','Scenario\x20index\x20(1-based)','2122580ONFuoo','FfRqR','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','description','ranger\x20resume','oZDMM','AwJvX','xdUzM','vrAdp','hook:disable','env','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','profile\x20config\x20list','MxsdA','xmclX','split','VjtZO','xMBwB','Scenario\x20number\x20to\x20edit\x20(1-based)','Feature\x20review\x20ID','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','lJnTV','map','eOdmA','\x0aUnknown\x20command:\x20','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','WYKkc','print-access-token','key','ekgBv','ranger\x20profile\x20ls','ZTIbv','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','ranger\x20list','fail','trackCommandError','xAqEs','setup\x20[tokenOrSubcommand]','Brrwr','profile-name','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','NEHoi','RjaeM','IUNGl','login','nhuWh','Base\x20URL\x20of\x20the\x20running\x20app','VgxmY','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.','263644CgLwQA','usage','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','HrASV','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','BCqzc','YRcQE','nIWQa','MIFOs','IogZp','profile\x20config\x20set','Hruni','pZNjy','jiDXq','UjCzM','Install\x20OS-level\x20dependencies\x20for\x20Chromium','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','Authenticate\x20with\x20Ranger','json','UNeOf','Include\x20soft-deleted\x20feature\x20reviews','start\x20[token]','verified','hook:enable','UzwIb','ECBXI','delete\x20<profile-name>','failed','PBhmq','bfnbQ','profile\x20update','dBhRT','env-var','positional','Skip\x20authentication','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','debug-outcome','lPMFJ','\x20VERIFIED','user','skip-chromium','config','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','Lxuxe','IiPtq','rACsU','base-url','Set\x20up\x20a\x20local\x20browser\x20profile','ranger\x20profile\x20config\x20unset','token','oOQaI','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','Payqm','pLcmW','status','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','env\x20list','reset\x20<profile>','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','profiles','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','NsPIA','current-branch','encrypt\x20<profile>','scenario','Remove\x20a\x20config\x20value','Config\x20key','manual','PztIm','IVwlp','ranger\x20profile\x20encrypt-auth','QpXph','show\x20[id]','Name\x20of\x20the\x20environment'];_0x588e=function(){return _0x800088;};return _0x588e();}import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';function _0x179c(_0x3830df,_0x5d1d8d){_0x3830df=_0x3830df-0x10b;const _0x588ec9=_0x588e();let _0x179ccc=_0x588ec9[_0x3830df];return _0x179ccc;}import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x3b31fe=>{const _0x4e4f26=_0x53c1e4,_0x5dda5e={'tJVoh':function(_0x559094){return _0x559094();}},_0x1dd122=_0x5dda5e['tJVoh'](getCurrentCollector);_0x1dd122&&await _0x1dd122[_0x4e4f26(0x12c)](_0x3b31fe),process['exitCode']=0x1;});const rawArgs=process['argv'][_0x53c1e4(0x2a9)](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=_0x53c1e4(0x175),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(_0x1561af,_0x1aa0a8){const _0x2a3c63=_0x53c1e4;console[_0x2a3c63(0x1ad)]('\x0a'+_0x1561af+_0x2a3c63(0x2c4)+_0x1aa0a8+'\x0a');}function argUsed(_0x182e17){const _0x314b50=_0x53c1e4;return rawArgs[_0x314b50(0x1a7)](_0xfc7b44=>_0xfc7b44===_0x182e17||_0xfc7b44[_0x314b50(0x1a5)](_0x182e17+'='));}function warnFlagRenamed(_0x701886,_0x2db7eb,_0x5f15a5){const _0x1e2884={'MLAeR':function(_0x1bc0e9,_0x3c1f36,_0x895d9f){return _0x1bc0e9(_0x3c1f36,_0x895d9f);}};argUsed(_0x2db7eb)&&_0x1e2884['MLAeR'](warnRenamed,_0x701886+'\x20'+_0x2db7eb,_0x701886+'\x20'+_0x5f15a5);}function normalizeEnvVarNames(_0x369f7c){const _0x4639cd=_0x53c1e4,_0x21af6f=Array['isArray'](_0x369f7c)?_0x369f7c:_0x369f7c?[_0x369f7c]:[];return _0x21af6f[_0x4639cd(0x2a0)](_0x12454a=>String(_0x12454a)[_0x4639cd(0x118)](',')[_0x4639cd(0x11f)](_0x3a17ad=>_0x3a17ad['trim']())['filter'](Boolean));}async function runGoCommand(_0x7e675f,_0x33197e=![]){const _0x58a2bd=_0x53c1e4,_0x273322={'NaJBN':function(_0x1dc0d1,_0x5c419f){return _0x1dc0d1+_0x5c419f;},'KmubY':function(_0x123388,_0x4604a7,_0xad5eb7){return _0x123388(_0x4604a7,_0xad5eb7);},'eUxCW':_0x58a2bd(0x223),'zdeIO':'--env','dCyXp':'--profile','KgLgh':_0x58a2bd(0x1d6),'HrASV':function(_0x191e8a,_0x1e8647,_0x2a923b,_0x278616){return _0x191e8a(_0x1e8647,_0x2a923b,_0x278616);},'ZTIbv':function(_0x2611de){return _0x2611de();},'WguNe':function(_0x5b87e0,_0x16070a){return _0x5b87e0(_0x16070a);},'CutFg':function(_0x50d1ac,_0x54d8ab){return _0x50d1ac>_0x54d8ab;},'wXmyh':_0x58a2bd(0x1ee),'ekAJe':'debug-outcome','VgxmY':function(_0x3910fe,_0x3336c7){return _0x3910fe+_0x3336c7;},'PBhmq':_0x58a2bd(0x161),'BamRE':function(_0x287993,_0x4d378b){return _0x287993===_0x4d378b;},'yqdzs':_0x58a2bd(0x25e),'SZiZD':_0x58a2bd(0x1cc),'ECnAQ':'\x20BLOCKED','rstlc':_0x58a2bd(0x260),'bcmjA':function(_0x557b82,_0x3d9ad7){return _0x557b82===_0x3d9ad7;}};_0x33197e&&_0x273322['KmubY'](warnRenamed,'ranger\x20verify-feature',_0x58a2bd(0x223));warnFlagRenamed(_0x273322['eUxCW'],_0x273322[_0x58a2bd(0x2c0)],_0x273322[_0x58a2bd(0x1af)]),warnFlagRenamed(_0x273322[_0x58a2bd(0x227)],'--task',_0x273322[_0x58a2bd(0x25b)]),_0x273322[_0x58a2bd(0x13e)](warnFlagRenamed,_0x58a2bd(0x223),'--item',_0x58a2bd(0x29b));const _0x528396=await _0x273322['ZTIbv'](loadRangerConfig),_0x4de2d7=_0x273322[_0x58a2bd(0x128)](isByokEnabled),_0xbb7a33=_0x7e675f[_0x58a2bd(0x2b1)],_0x5c510c=_0x528396['model'],_0x5ad260=_0x273322[_0x58a2bd(0x2b9)](normalizeEnvVarNames,_0x7e675f[_0x58a2bd(0x15b)]),_0x159ac4=getVerificationTransport();if(_0x273322['CutFg'](_0x5ad260[_0x58a2bd(0x262)],0x0)&&_0x159ac4!==_0x58a2bd(0x288)&&_0x159ac4!==_0x273322['wXmyh'])throw new Error(_0x58a2bd(0x285)+_0x159ac4+'.');const _0x15c129=await verifyFeature({'featureId':_0x7e675f['feature'],'profile':_0x7e675f[_0x58a2bd(0x1b2)]??_0x7e675f[_0x58a2bd(0x113)]??process[_0x58a2bd(0x113)][_0x58a2bd(0x24f)],'notes':_0x7e675f['notes']??_0x7e675f['task'],'scenario':_0x7e675f['scenario']??_0x7e675f[_0x58a2bd(0x18e)],'startPath':_0x7e675f[_0x58a2bd(0x216)],'baseUrl':_0x7e675f[_0x58a2bd(0x169)],'debugOutcome':_0x7e675f[_0x273322['ekAJe']],'debugAddressComments':_0x7e675f['debug-address-comments'],'headed':_0x7e675f[_0x58a2bd(0x26b)],'verifierEnvVars':_0x5ad260,'byokEnabled':_0x4de2d7,'flagVerifyModel':_0xbb7a33,'configVerifyModel':_0x5c510c});console[_0x58a2bd(0x1ab)](_0x273322[_0x58a2bd(0x138)]('\x0a','='[_0x58a2bd(0x1e7)](0x3c))),console[_0x58a2bd(0x1ab)](_0x15c129[_0x58a2bd(0x1f0)]==='verified'?_0x273322[_0x58a2bd(0x157)]:_0x273322[_0x58a2bd(0x1ce)](_0x15c129['evaluation'],_0x273322[_0x58a2bd(0x254)])?_0x58a2bd(0x213):_0x15c129['evaluation']===_0x58a2bd(0x1ea)?'\x20PARTIAL':_0x15c129[_0x58a2bd(0x1f0)]===_0x273322[_0x58a2bd(0x187)]?_0x273322['ECnAQ']:_0x273322[_0x58a2bd(0x1b8)]),console['log']('='[_0x58a2bd(0x1e7)](0x3c)),console['log'](_0x58a2bd(0x22d)+_0x15c129['summary']),console['log']('Evaluation:\x20'+_0x15c129[_0x58a2bd(0x1f0)]),console['log']('Reason:\x20'+_0x15c129[_0x58a2bd(0x290)]),_0x15c129[_0x58a2bd(0x28d)]?.[_0x58a2bd(0x262)]&&(console['log']('\x0aIssues:'),_0x15c129[_0x58a2bd(0x28d)][_0x58a2bd(0x297)]((_0x1a451b,_0x432ad1)=>{const _0x375d1b=_0x58a2bd;console['log']('\x0a'+_0x273322[_0x375d1b(0x224)](_0x432ad1,0x1)+_0x375d1b(0x22b)+_0x1a451b[_0x375d1b(0x2aa)]+']\x20'+_0x1a451b['description']);})),process['exit'](_0x273322['bcmjA'](_0x15c129[_0x58a2bd(0x1f0)],'verified')?0x0:0x1);}export function buildParser(_0x5bc794){const _0x540431=_0x53c1e4,_0x100df4={'aOMaF':_0x540431(0x1b6),'kYjHp':_0x540431(0x20e),'aPQGB':_0x540431(0x17b),'MiBOu':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','NEHoi':'array','nXqQh':function(_0x1051c2,_0x55e42d){return _0x1051c2+_0x55e42d;},'yMboY':'Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','VUMHS':'Example:\x20ranger\x20create\x20my-feature','daFzz':function(_0x54f9aa,_0x24af5d,_0x2fb5d9,_0x406042){return _0x54f9aa(_0x24af5d,_0x2fb5d9,_0x406042);},'JljIQ':_0x540431(0x1c4),'KVQyu':'--checklist','nAuDq':_0x540431(0x29b),'kLJCJ':'create','TvNEr':_0x540431(0x179),'FzaWt':'boolean','LAgmh':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','sCeaX':_0x540431(0x199),'UkJJu':'offset','jbLtF':'include-deleted','OlzcY':function(_0x4f4729,_0x4f9cf6,_0x89a461){return _0x4f4729(_0x4f9cf6,_0x89a461);},'aDBnd':function(_0x2f2f4e,_0x48ae0f,_0x5c670c){return _0x2f2f4e(_0x48ae0f,_0x5c670c);},'IAoTN':_0x540431(0x1ae),'dvGHB':_0x540431(0x165),'lDIIx':function(_0x39c9d0,_0x395fde,_0x1f09c6){return _0x39c9d0(_0x395fde,_0x1f09c6);},'oSOwv':_0x540431(0x2bc),'VUECg':_0x540431(0x10c),'jiDXq':_0x540431(0x11c),'LarGs':_0x540431(0x14d),'nEsJO':function(_0x405f02,_0x3e0944,_0x506c51){return _0x405f02(_0x3e0944,_0x506c51);},'ONPcG':'report','wXCkh':'get-review','QETuL':'restore','gZCFo':'token','eAWdJ':'Ranger\x20API\x20token','nhuWh':_0x540431(0x15d),'kaSOJ':_0x540431(0x1e1),'wvTJQ':_0x540431(0x273),'fjfxs':_0x540431(0x162),'UJzHd':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','eOdmA':_0x540431(0x296),'RjaeM':_0x540431(0x1ac),'uVQTn':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','nIWQa':_0x540431(0x18f),'ruhGO':_0x540431(0x253),'nJipD':'Alias\x20for\x20--mcp-bootstrap','XzjaJ':_0x540431(0x27b),'kONUe':'Ranger\x20API\x20token\x20(rngr_...)','efVjC':'Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','FeVCb':function(_0x77b2ff){return _0x77b2ff();},'Ykmbp':function(_0x4f0610,_0x4df0d1){return _0x4f0610(_0x4df0d1);},'TeUJW':_0x540431(0x15e),'Hruni':function(_0x98b3f3,_0xa363e3,_0x35cb00){return _0x98b3f3(_0xa363e3,_0x35cb00);},'rTkTK':'Install\x20Chromium\x20browser\x20binary','PztIm':_0x540431(0x135),'OsMLL':_0x540431(0x176),'ZTAgs':'skip-chromium','suoJy':_0x540431(0x1eb),'ujifN':_0x540431(0x276),'iVIHj':'force','yCztU':_0x540431(0x172),'daXea':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','xDQKN':'skip-auth','PTIUE':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','YqdzU':function(_0x53505f,_0x1e2fc3,_0x171341){return _0x53505f(_0x1e2fc3,_0x171341);},'xAqEs':function(_0x3cd67c,_0x16c319,_0x1bc721){return _0x3cd67c(_0x16c319,_0x1bc721);},'DKHDn':_0x540431(0x198),'TGNMJ':_0x540431(0x1b2),'IIUwq':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','MIFOs':function(_0x5e010f,_0x1385a0,_0x533674){return _0x5e010f(_0x1385a0,_0x533674);},'oMKex':'setup-ci','jlFZm':'Install\x20scope\x20for\x20skills','posWo':_0x540431(0x1ff),'oDOAz':_0x540431(0x24d),'YJyDV':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','nLWra':'cdp-endpoint','xmVoF':_0x540431(0x1bd),'daUHL':_0x540431(0x1f7),'bHoPX':_0x540431(0x13d),'vVZXh':function(_0x42944d,_0x4ae622){return _0x42944d(_0x4ae622);},'HGGMW':_0x540431(0x208),'Viasm':function(_0x394caf,_0x5e2aca,_0x2644db){return _0x394caf(_0x5e2aca,_0x2644db);},'jUdiN':_0x540431(0x130),'scNAJ':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','pNZzg':'Skip\x20the\x20deletion\x20confirmation\x20prompt.','ysUrX':function(_0x40a8c1,_0x456a4a,_0x6d23bb){return _0x40a8c1(_0x456a4a,_0x6d23bb);},'FLgWC':_0x540431(0x239),'rACsU':_0x540431(0x26f),'oOQaI':function(_0x411974,_0x19776f,_0x595cf9){return _0x411974(_0x19776f,_0x595cf9);},'RIBqE':function(_0x3973ab,_0x44f77a,_0xb2b9fa){return _0x3973ab(_0x44f77a,_0xb2b9fa);},'gcuDt':'profile\x20migrate','QleOb':'profile\x20ls','NAQMc':'manual','lBrLA':_0x540431(0x2be),'ZSewP':_0x540431(0x243),'GrIlQ':'unknown\x20error','eGCiL':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','ASuBB':_0x540431(0x225),'KvRgi':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','pTxzR':'save-creds','aMnFD':function(_0x1034f5,_0xb1f6ed,_0xfa4e17){return _0x1034f5(_0xb1f6ed,_0xfa4e17);},'UxpXP':'profile\x20config\x20get','ioXQV':_0x540431(0x27c),'jbKux':'key','KrDsI':_0x540431(0x24c),'tgvsU':'List\x20all\x20config\x20for\x20a\x20profile','CLTOy':'add\x20<profile-name>','qoGJi':'Delete\x20a\x20cloud\x20profile','PHXiF':_0x540431(0x1f8),'ZGqjf':'Update\x20authentication\x20for\x20an\x20existing\x20profile','MrGeP':_0x540431(0x164),'UjCzM':'Manage\x20profile\x20configuration','EZlbE':'You\x20must\x20specify\x20a\x20profile\x20subcommand','XOgpt':_0x540431(0x171),'nIQeG':_0x540431(0x124),'LGbUQ':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','aHMBj':_0x540431(0x216),'aczYz':_0x540431(0x2b1),'ECTJk':_0x540431(0x139),'Payqm':'env-var','hUGbK':_0x540431(0x271),'Brrwr':'verified','hdgvm':'failed','MAVwE':_0x540431(0x284),'WOnGZ':_0x540431(0x113),'absRt':_0x540431(0x270),'PojdN':function(_0x4b218a,_0x18c40b){return _0x4b218a(_0x18c40b);},'JeJeu':_0x540431(0x181),'FfRqR':function(_0x292c78,_0x3c3eff){return _0x292c78(_0x3c3eff);},'sWIPi':_0x540431(0x14b),'CFAUI':_0x540431(0x114),'UExCs':'ranger\x20setup','OeiRN':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','tZttP':'Scenario\x20index\x20(1-based)','YkFYv':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','PxxED':'environment-variable','oZDMM':_0x540431(0x15f),'IVwlp':_0x540431(0x1ea),'aTEcb':'blocked','ALRex':function(_0x4a9327,_0x3acffb,_0x118c0b){return _0x4a9327(_0x3acffb,_0x118c0b);},'vXsqs':_0x540431(0x129),'NYvyx':_0x540431(0x207),'KJWMm':'ranger\x20profile\x20add','ThZzL':'add\x20env','cxuCs':_0x540431(0x200),'aWYOj':'Config\x20key','ALeQz':'ranger\x20profile\x20config\x20get','zfAEQ':'config\x20get','yLrTr':'Environment\x20name','WsLcf':'ranger\x20config\x20list','rKQse':'ranger\x20profile\x20config\x20list','HSRln':function(_0x144c59,_0x1bac83,_0x1a3ae7){return _0x144c59(_0x1bac83,_0x1a3ae7);},'naoFR':_0x540431(0x245),'tZxYQ':_0x540431(0x1f6),'YRcQE':_0x540431(0x234),'OmITP':'get\x20<env>\x20<key>','jAmus':'unset\x20<env>\x20<key>','bUDBi':_0x540431(0x19e),'SnVwo':_0x540431(0x127),'wGroR':function(_0x239535,_0x184343,_0x372c92){return _0x239535(_0x184343,_0x372c92);},'cGkgA':'ranger\x20profile\x20update','YVeOG':'env\x20update','saRlY':'feature\x20create','ObjZi':'ranger\x20feature\x20list','GPlay':'feature\x20list','jKqei':function(_0x4225f9,_0x14992d,_0x4fd5b3){return _0x4225f9(_0x14992d,_0x4fd5b3);},'RCAgX':'ranger\x20feature\x20get-feedback','qJCpz':'ranger\x20get-review','pBCiR':function(_0xc9c747,_0x3b28cb,_0x258267){return _0xc9c747(_0x3b28cb,_0x258267);},'gHxpL':'Feature\x20review\x20name','MxsdA':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','aqSCt':_0x540431(0x14f),'xJdYn':_0x540431(0x1be),'bMZFr':'ranger\x20feature\x20add-checklist-item','lHGVq':_0x540431(0x28b),'dWwRJ':_0x540431(0x201),'dKxCb':_0x540431(0x244),'ZxFqV':_0x540431(0x2a4),'jbfLb':_0x540431(0x1f2),'pZsEu':'restore\x20<id>','KfxaT':_0x540431(0x267),'lDrYt':_0x540431(0x23b),'avKzX':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','TxSEf':function(_0x1c1518,_0xcdc44e,_0x24a8bd){return _0x1c1518(_0xcdc44e,_0x24a8bd);},'nJfsE':function(_0x2903db,_0x3e4cb6,_0x153a45){return _0x2903db(_0x3e4cb6,_0x153a45);},'QpXph':'enable','kXZpw':_0x540431(0x249),'NsPIA':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','YEkvk':function(_0x2ae059,_0x132bfc,_0x564554){return _0x2ae059(_0x132bfc,_0x564554);},'TlPiE':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','vUxGH':function(_0x387015){return _0x387015();},'TxtiB':function(_0x3e5f72,_0x165973){return _0x3e5f72||_0x165973;},'laGTK':function(_0x242710){return _0x242710();},'ECBXI':_0x540431(0x2b0),'YaULW':'List\x20all\x20feature\x20reviews','dBhRT':_0x540431(0x183),'kftTp':'resume\x20[id]','dsrGk':'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','QgomS':'edit-scenario\x20<description>','Hnnrg':'report\x20[id]','ZhwWQ':'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','ZNQVv':'get-review\x20[id]','QMzlh':_0x540431(0x2a7),'EUqRp':_0x540431(0x12e),'GxNto':'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','VjtZO':'Install\x20Ranger\x20skills','UzwIb':_0x540431(0x1e9),'pXxPX':_0x540431(0x13c),'gsWsD':_0x540431(0x150),'ypnfn':'verify-feature','EKTZt':_0x540431(0x1c5),'UvMKR':'hook','vffRj':_0x540431(0x18c),'LWuCp':'Documentation:\x0a','RqxZp':'\x20\x20https://docs.ranger.net\x0a','vhlfc':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','lRpTC':_0x540431(0x2b5)};return _0x3323a1(_0x5bc794??process['argv'][_0x540431(0x2a9)](0x2))['scriptName']('ranger')[_0x540431(0x13b)](TOP_LEVEL_HELP)['version'](_0x100df4['laGTK'](getCurrentVersion))['command'](_0x540431(0x244),_0x100df4[_0x540431(0x154)],_0xdb4ae4=>{const _0x528433=_0x540431;return _0xdb4ae4['positional']('name',{'type':_0x100df4['aOMaF'],'description':'Feature\x20review\x20name','demandOption':!![]})[_0x528433(0x27a)](_0x528433(0x10c),{'type':_0x528433(0x1b6),'alias':'d','description':_0x100df4[_0x528433(0x22e)]})[_0x528433(0x27a)](_0x100df4['aPQGB'],{'type':_0x528433(0x206),'alias':'c','description':_0x100df4[_0x528433(0x1a1)]})[_0x528433(0x27a)](_0x528433(0x1e2),{'type':_0x100df4[_0x528433(0x132)],'hidden':!![]});},async _0x4e3203=>{const _0x33d676=_0x540431;if(!_0x4e3203[_0x33d676(0x21a)]){console['error'](_0x100df4[_0x33d676(0x1bc)](_0x100df4['yMboY'],_0x100df4[_0x33d676(0x1b1)])),process['exit'](0x1);return;}_0x100df4['daFzz'](warnFlagRenamed,_0x100df4['JljIQ'],_0x100df4[_0x33d676(0x27f)],_0x100df4[_0x33d676(0x236)]);const _0x9730a5=_0x4e3203['scenario']||_0x4e3203['checklist'];await withTelemetry(_0x100df4[_0x33d676(0x21e)],()=>featureCreate(_0x4e3203['name'],{'description':_0x4e3203['description'],'scenarios':_0x9730a5}));})['command'](_0x100df4[_0x540431(0x2b3)],_0x100df4[_0x540431(0x26d)],_0x2540c3=>{const _0x20a5a7=_0x540431;return _0x2540c3['option'](_0x100df4['TvNEr'],{'type':_0x100df4['FzaWt'],'description':_0x100df4[_0x20a5a7(0x1da)]})[_0x20a5a7(0x27a)](_0x20a5a7(0x25c),{'type':_0x100df4['sCeaX'],'alias':'l','description':_0x20a5a7(0x21b),'default':0xa})[_0x20a5a7(0x27a)](_0x100df4[_0x20a5a7(0x2a6)],{'type':_0x100df4['sCeaX'],'alias':'o','description':_0x20a5a7(0x215),'default':0x0})[_0x20a5a7(0x27a)](_0x100df4[_0x20a5a7(0x257)],{'type':_0x20a5a7(0x2a5),'alias':'d','description':_0x20a5a7(0x14f),'default':![]});},async _0x1e2c25=>{const _0x3ecc07=_0x540431;await _0x100df4[_0x3ecc07(0x220)](withTelemetry,_0x3ecc07(0x2a4),()=>featureList({'currentBranch':_0x1e2c25[_0x3ecc07(0x179)],'limit':_0x1e2c25[_0x3ecc07(0x25c)],'offset':_0x1e2c25['offset'],'includeDeleted':_0x1e2c25['include-deleted']}));})[_0x540431(0x23c)](_0x100df4[_0x540431(0x15a)],'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x1983ff=>{const _0x490dbb=_0x540431;return _0x1983ff['positional']('id',{'type':_0x490dbb(0x1b6),'description':_0x490dbb(0x11c)});},async _0x2b901f=>{const _0x14c2dd=_0x540431;await _0x100df4['aDBnd'](withTelemetry,_0x100df4[_0x14c2dd(0x21c)],()=>featureShow(_0x2b901f['id']));})['command'](_0x100df4['kftTp'],_0x540431(0x1de),_0xecfa32=>{const _0x1fbc42=_0x540431;return _0xecfa32[_0x1fbc42(0x15c)]('id',{'type':_0x100df4[_0x1fbc42(0x1db)],'description':_0x100df4['dvGHB']});},async _0x37c1dc=>{const _0x59bbe9=_0x540431;await _0x100df4[_0x59bbe9(0x251)](withTelemetry,_0x59bbe9(0x27e),()=>featureResume(_0x37c1dc['id']));})[_0x540431(0x23c)](_0x540431(0x1ba),_0x100df4[_0x540431(0x2b2)],_0x1433b2=>{const _0x208672=_0x540431;return _0x1433b2['positional']('description',{'type':'string','description':_0x100df4[_0x208672(0x1c8)],'demandOption':!![]})['option']('id',{'type':_0x100df4[_0x208672(0x1db)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x46ce83=>{const _0x543c54=_0x540431;await _0x100df4['OlzcY'](withTelemetry,_0x543c54(0x1c7),()=>featureAddScenario(_0x46ce83['description'],_0x46ce83['id']));})['command'](_0x100df4['QgomS'],_0x540431(0x2bb),_0x38aaec=>{const _0x128a74=_0x540431;return _0x38aaec[_0x128a74(0x15c)](_0x100df4['VUECg'],{'type':_0x100df4[_0x128a74(0x1db)],'description':_0x128a74(0x237),'demandOption':!![]})[_0x128a74(0x27a)](_0x100df4['aPQGB'],{'type':_0x100df4[_0x128a74(0x1a8)],'description':_0x128a74(0x11b),'demandOption':!![]})[_0x128a74(0x27a)]('id',{'type':_0x100df4[_0x128a74(0x1db)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x2c0a9a=>{const _0x4a0378=_0x540431;await _0x100df4[_0x4a0378(0x251)](withTelemetry,'edit-scenario',()=>featureEditScenario(_0x2c0a9a['description'],{'id':_0x2c0a9a['id'],'scenario':_0x2c0a9a['scenario']}));})['command'](_0x100df4['Hnnrg'],_0x100df4['ZhwWQ'],_0x313e00=>{const _0x4c4f50=_0x540431;return _0x313e00['positional']('id',{'type':_0x100df4[_0x4c4f50(0x1db)],'description':_0x100df4['jiDXq']})['option'](_0x4c4f50(0x2a2),{'type':_0x4c4f50(0x206),'description':_0x4c4f50(0x191)})['option'](_0x100df4['LarGs'],{'type':_0x100df4['FzaWt'],'description':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','default':![]});},async _0x536a54=>{const _0x28221d=_0x540431,_0x583d96=_0x536a54['exclude-scenario'],_0x4ff4d7=_0x583d96?_0x583d96[_0x28221d(0x11f)](_0x5b1bec=>Number(_0x5b1bec)):undefined;await _0x100df4['nEsJO'](withTelemetry,_0x100df4['ONPcG'],()=>featureReportPrDescription(_0x536a54['id'],{'excludeScenarios':_0x4ff4d7,'json':_0x536a54[_0x28221d(0x14d)]}));})[_0x540431(0x23c)](_0x100df4[_0x540431(0x29a)],'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x2f94ba=>{const _0x3cf866=_0x540431;return _0x2f94ba['positional']('id',{'type':_0x100df4['aOMaF'],'description':_0x3cf866(0x10b)});},async _0x4b12b4=>{const _0x3942cd=_0x540431;await withTelemetry(_0x100df4[_0x3942cd(0x233)],()=>featureGetReview(_0x4b12b4['id']));})['command'](_0x100df4['QMzlh'],'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x586fea=>{const _0x2535d0=_0x540431;return _0x586fea['positional']('id',{'type':_0x2535d0(0x1b6),'description':_0x100df4[_0x2535d0(0x148)]});},async _0x14d54a=>{const _0x284a54=_0x540431;await withTelemetry(_0x284a54(0x277),()=>featureDelete(_0x14d54a['id']));})['command'](_0x540431(0x2c5),'Restore\x20a\x20soft-deleted\x20feature\x20review',_0x35cc6e=>{const _0x397640=_0x540431;return _0x35cc6e[_0x397640(0x15c)]('id',{'type':'string','description':_0x397640(0x201),'demandOption':!![]});},async _0x49da54=>{await withTelemetry(_0x100df4['QETuL'],()=>featureRestore(_0x49da54['id']));})['command'](_0x100df4['EUqRp'],'Initialize\x20Ranger\x20in\x20your\x20project',_0xea18cd=>{const _0x483968=_0x540431,_0x51ac72={'ULnkw':_0x100df4['nIWQa'],'iOueX':function(_0x5ed1df,_0x37a121,_0x5e4adf){return _0x5ed1df(_0x37a121,_0x5e4adf);},'ADHTb':'setup:all','RXsbP':'token','xMBwB':'string','EasKV':_0x100df4['kONUe'],'BCqzc':'mcp','cVrUd':'boolean','pLcmW':function(_0x12dcfe){return _0x12dcfe();},'IUNGl':_0x100df4['efVjC'],'vrAdp':function(_0x10d1a0,_0x3124a9){return _0x10d1a0(_0x3124a9);},'ipjnK':'ranger','fwqdS':function(_0x23d1c6){return _0x100df4['FeVCb'](_0x23d1c6);},'pjWVS':function(_0x532863,_0x251ef0){const _0x230273=_0x179c;return _0x100df4[_0x230273(0x255)](_0x532863,_0x251ef0);},'LeiRi':_0x100df4[_0x483968(0x238)],'vnOrF':_0x100df4['fjfxs'],'ozoVM':_0x483968(0x114),'btUQF':'url','OTieo':'Skip\x20browser\x20authentication','lJnTV':_0x100df4['TeUJW'],'NByhG':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','UNeOf':function(_0x5c43af,_0x45fa6e){return _0x5c43af!==_0x45fa6e;},'QlkAV':function(_0xe3def7,_0x464795,_0x4d37d8){const _0x50a00e=_0x483968;return _0x100df4[_0x50a00e(0x146)](_0xe3def7,_0x464795,_0x4d37d8);}};return _0xea18cd[_0x483968(0x13b)](_0x483968(0x214))[_0x483968(0x15c)](_0x483968(0x26c),{'type':_0x100df4['aOMaF'],'description':'Subcommand\x20or\x20API\x20token\x20(rngr_...)'})['command'](_0x483968(0x225),'Run\x20full\x20interactive\x20setup',_0x596e9b=>{const _0x3feeaf=_0x483968;return _0x596e9b['option'](_0x100df4[_0x3feeaf(0x1a0)],{'type':'string','description':_0x100df4[_0x3feeaf(0x1df)]})['option'](_0x3feeaf(0x163),{'type':_0x3feeaf(0x2a5),'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option'](_0x3feeaf(0x1c0),{'type':_0x3feeaf(0x2a5),'description':_0x100df4['nhuWh'],'default':![]})['option'](_0x100df4[_0x3feeaf(0x19a)],{'type':_0x100df4[_0x3feeaf(0x1ca)],'description':_0x3feeaf(0x14a),'default':![]})['option'](_0x100df4['wvTJQ'],{'type':_0x3feeaf(0x1b6),'choices':[_0x100df4[_0x3feeaf(0x278)]],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x3feeaf(0x27a)]('url',{'type':_0x3feeaf(0x1b6),'description':_0x100df4['UJzHd']})[_0x3feeaf(0x27a)]('force',{'type':_0x3feeaf(0x2a5),'description':_0x3feeaf(0x15e),'default':![]})['option'](_0x100df4['eOdmA'],{'type':_0x100df4['FzaWt'],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})[_0x3feeaf(0x27a)](_0x100df4['RjaeM'],{'type':_0x3feeaf(0x2a5),'description':_0x100df4[_0x3feeaf(0x282)],'default':![]})['option'](_0x100df4['nIWQa'],{'type':_0x100df4[_0x3feeaf(0x1ca)],'description':_0x3feeaf(0x202),'default':![]})[_0x3feeaf(0x27a)](_0x100df4['ruhGO'],{'type':_0x100df4[_0x3feeaf(0x1ca)],'description':_0x100df4['nJipD'],'default':![]});},async _0x256702=>{const _0x43a89d=_0x483968;(_0x256702[_0x51ac72[_0x43a89d(0x2b4)]]||_0x256702['mcp'])&&await withTelemetry(_0x51ac72['ULnkw'],()=>mcpBootstrap()),await _0x51ac72['iOueX'](withTelemetry,_0x51ac72['ADHTb'],_0x50c6ec=>start(_0x256702['token'],{'skipChromium':_0x256702[_0x43a89d(0x163)],'skipAuth':_0x256702['skip-auth'],'withDeps':_0x256702['with-deps'],'scope':_0x256702['scope'],'url':_0x256702[_0x43a89d(0x1eb)],'force':_0x256702[_0x43a89d(0x1e3)],'opencode':_0x256702['opencode'],'allowInsecureLocalhost':_0x256702[_0x43a89d(0x1ac)]},_0x50c6ec));})['command']('deps',_0x100df4['rTkTK'],_0x1537e2=>{const _0x5ada34=_0x483968;return _0x1537e2[_0x5ada34(0x27a)](_0x100df4[_0x5ada34(0x19a)],{'type':'boolean','description':_0x5ada34(0x218),'default':![]});},async _0x25fbba=>{await withTelemetry('setup:deps',()=>ensureChromium(_0x25fbba['with-deps']));})[_0x483968(0x23c)](_0x100df4['PztIm'],_0x483968(0x14c),_0x107295=>{const _0x3e52cb=_0x483968;return _0x107295['option'](_0x51ac72['RXsbP'],{'type':_0x51ac72[_0x3e52cb(0x11a)],'description':_0x51ac72['EasKV']})[_0x3e52cb(0x27a)](_0x51ac72[_0x3e52cb(0x140)],{'type':_0x51ac72[_0x3e52cb(0x1b0)],'description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x3dd55d=>{await withTelemetry('setup:login',async()=>{const _0x116cfe=_0x179c;if(_0x3dd55d['mcp']){await _0x51ac72[_0x116cfe(0x170)](mcpBootstrap);const _0x737bfe=await refreshCliToken();if(!_0x737bfe)throw new Error(_0x51ac72[_0x116cfe(0x134)]);const _0x4689d2=await _0x51ac72['vrAdp'](getCurrentUser,_0x737bfe);if(!_0x4689d2['success'])throw new Error(_0x116cfe(0x22a)+_0x4689d2['error']);console[_0x116cfe(0x1ab)]('✓\x20Authenticated\x20to\x20'+_0x4689d2['user']['organizationName']);return;}await _0x51ac72[_0x116cfe(0x111)](authenticate,_0x3dd55d['token']);});})[_0x483968(0x23c)]('skills',_0x483968(0x13f),_0x4644ba=>{const _0x19526f=_0x483968;return _0x4644ba['option']('scope',{'type':_0x100df4[_0x19526f(0x1db)],'choices':['user',_0x100df4['XzjaJ']],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})[_0x19526f(0x27a)](_0x100df4[_0x19526f(0x120)],{'type':'boolean','description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]});},async _0x45686e=>{const _0x24f894=_0x483968;await withTelemetry(_0x24f894(0x283),async()=>{const _0x2b8db3=_0x24f894,_0x5cd2ae=_0x45686e['scope'];if(_0x45686e[_0x2b8db3(0x296)]){const _0x33eec7=await ensureOpencodePluginConfig(_0x5cd2ae);_0x33eec7&&await _0x51ac72['iOueX'](installSkill,_0x51ac72[_0x2b8db3(0x1b7)],{'level':_0x33eec7['scope'],'cliVersion':_0x51ac72['fwqdS'](getCurrentVersion),'platform':'opencode'});}else await ensureClaudePlugin(_0x5cd2ae),await _0x51ac72['pjWVS'](ensureClaudeSkills,_0x5cd2ae);});})[_0x483968(0x23c)](_0x100df4['OsMLL'],_0x483968(0x16a),_0x118249=>{const _0x58ec36=_0x483968;return _0x118249['option'](_0x51ac72['LeiRi'],{'type':_0x51ac72['xMBwB'],'choices':[_0x51ac72[_0x58ec36(0x26e)]],'description':_0x51ac72[_0x58ec36(0x28e)]})['option'](_0x51ac72[_0x58ec36(0x279)],{'type':'string','description':_0x58ec36(0x137)})['option']('skip-auth',{'type':_0x58ec36(0x2a5),'description':_0x51ac72[_0x58ec36(0x193)],'default':![]})['option'](_0x58ec36(0x1e3),{'type':_0x51ac72[_0x58ec36(0x1b0)],'description':_0x51ac72[_0x58ec36(0x11e)],'default':![]})[_0x58ec36(0x27a)](_0x58ec36(0x1ac),{'type':_0x58ec36(0x2a5),'description':_0x51ac72['NByhG'],'default':![]});},async _0x32e5a8=>{const _0x35954d=_0x483968,_0x38f45d=_0x32e5a8['scope'];_0x51ac72[_0x35954d(0x14e)](_0x38f45d,undefined)&&_0x38f45d!=='user'&&(console[_0x35954d(0x1ad)]('ranger\x20setup\x20profiles\x20--scope='+_0x38f45d+'\x20is\x20no\x20longer\x20supported.\x20'+_0x35954d(0x259)+'Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.'),process['exit'](0x1)),await _0x51ac72['QlkAV'](withTelemetry,'setup:profiles',_0x3631f3=>ensureLocalEnv({'url':_0x32e5a8['url'],'force':_0x32e5a8['force'],'allowInsecureLocalhost':_0x32e5a8['allow-insecure-localhost'],'scope':'user'},_0x3631f3));})['option'](_0x100df4[_0x483968(0x269)],{'type':_0x483968(0x2a5),'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x483968(0x27a)](_0x483968(0x273),{'type':_0x100df4[_0x483968(0x1db)],'choices':[_0x483968(0x162)],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x483968(0x27a)](_0x100df4['suoJy'],{'type':_0x100df4['aOMaF'],'description':_0x100df4['ujifN']})[_0x483968(0x27a)](_0x100df4['iVIHj'],{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x483968(0x27a)](_0x100df4[_0x483968(0x120)],{'type':_0x100df4[_0x483968(0x1ca)],'description':_0x100df4['yCztU'],'default':![]})[_0x483968(0x27a)](_0x100df4[_0x483968(0x133)],{'type':_0x483968(0x2a5),'description':_0x100df4['daXea'],'default':![]})['option'](_0x100df4[_0x483968(0x142)],{'type':_0x100df4['FzaWt'],'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','default':![]})[_0x483968(0x27a)](_0x100df4[_0x483968(0x1b5)],{'type':_0x100df4['FzaWt'],'description':_0x483968(0x16e),'default':![]})[_0x483968(0x27a)](_0x483968(0x1e1),{'type':_0x100df4['FzaWt'],'description':_0x100df4['PTIUE'],'default':![]})['option']('token',{'type':_0x100df4[_0x483968(0x1db)],'hidden':!![],'description':'API\x20token'});},async _0x120d0e=>{const _0x501497=_0x540431,_0x462fb5=_0x120d0e[_0x501497(0x26c)],_0x3d1c8c=_0x120d0e[_0x501497(0x16c)]??_0x462fb5;_0x120d0e[_0x100df4['nIWQa']]&&await _0x100df4['YqdzU'](withTelemetry,'mcp-bootstrap',()=>mcpBootstrap()),await _0x100df4[_0x501497(0x12d)](withTelemetry,_0x100df4[_0x501497(0x2af)],_0x1e6dc5=>start(_0x3d1c8c,{'skipChromium':_0x120d0e['skip-chromium'],'skipAuth':_0x120d0e[_0x501497(0x1c0)],'withDeps':_0x120d0e['with-deps'],'scope':_0x120d0e['scope'],'url':_0x120d0e[_0x501497(0x1eb)],'force':_0x120d0e[_0x501497(0x1e3)],'opencode':_0x120d0e['opencode'],'allowInsecureLocalhost':_0x120d0e[_0x501497(0x1ac)]},_0x1e6dc5));})[_0x540431(0x23c)]('setup-ci\x20<token>',![],_0x2005a0=>{const _0x43c484=_0x540431;return _0x2005a0['positional'](_0x43c484(0x16c),{'type':_0x43c484(0x1b6),'description':_0x100df4['eAWdJ'],'demandOption':!![]})[_0x43c484(0x27a)](_0x100df4[_0x43c484(0x1d8)],{'type':'string','description':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)'})[_0x43c484(0x27a)](_0x43c484(0x169),{'type':_0x43c484(0x1b6),'description':_0x100df4[_0x43c484(0x195)]})[_0x43c484(0x27a)](_0x100df4['ZTAgs'],{'type':_0x43c484(0x2a5),'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x5be730=>{const _0x4c07f1=_0x540431;await _0x100df4['MIFOs'](withTelemetry,_0x100df4['oMKex'],_0x51e227=>setupCi(_0x5be730['token'],{'profile':_0x5be730[_0x4c07f1(0x1b2)],'baseUrl':_0x5be730[_0x4c07f1(0x169)],'skipChromium':_0x5be730['skip-chromium']},_0x51e227));})[_0x540431(0x23c)](_0x100df4['PztIm'],_0x100df4['GxNto'],()=>{},async()=>{const _0x21c85d=_0x540431;await withTelemetry(_0x100df4[_0x21c85d(0x17f)],()=>login());})[_0x540431(0x23c)](_0x540431(0x22c),_0x100df4[_0x540431(0x119)],_0x85ad92=>{const _0x1e5609=_0x540431;return _0x85ad92[_0x1e5609(0x27a)]('opencode',{'type':_0x100df4['FzaWt'],'description':_0x1e5609(0x25a),'default':![]})[_0x1e5609(0x27a)](_0x100df4[_0x1e5609(0x238)],{'type':_0x100df4['aOMaF'],'choices':[_0x100df4[_0x1e5609(0x278)],'project'],'description':_0x100df4['jlFZm']});},async _0x377429=>{const _0xa782a8=_0x540431,_0xc83239=_0x100df4['Ykmbp'](Boolean,_0x377429[_0xa782a8(0x296)]);await withTelemetry(_0xa782a8(0x22c),()=>skillup({'autoInstall':_0x377429['scope'],'platform':_0xc83239?'opencode':'claude'}));})[_0x540431(0x23c)](_0x540431(0x1bf),_0x540431(0x18b),()=>{},async()=>{const _0x406c3e=_0x540431;await _0x100df4['aDBnd'](withTelemetry,_0x406c3e(0x1bf),()=>clean());})['command']([_0x100df4['TGNMJ'],_0x100df4[_0x540431(0x1ed)]],_0x100df4[_0x540431(0x153)],_0x1931fb=>{const _0x563499=_0x540431,_0x3601af={'ZLtCj':'profile\x20encrypt-auth','edkLn':_0x100df4[_0x563499(0x219)],'ohXiZ':_0x563499(0x130),'elxTX':_0x563499(0x1b6),'crwen':'boolean','Zhhex':_0x100df4['daXea'],'tNcVH':_0x100df4[_0x563499(0x261)],'WPWwW':'Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','tYyKA':function(_0x223808,_0x181726){return _0x223808||_0x181726;},'QzuoY':_0x100df4[_0x563499(0x1b4)],'jOpmP':function(_0x5e9804,_0x47bac5){return _0x5e9804===_0x47bac5;},'HaaGj':_0x100df4['ZSewP'],'KdHaO':_0x100df4['GrIlQ'],'vvWmM':_0x100df4[_0x563499(0x204)],'ekgBv':_0x100df4['ASuBB'],'ZEzjp':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','zHdOz':_0x100df4['KvRgi'],'DJLdC':'yes','BMrgQ':'Skip\x20interactive\x20confirmation\x20prompts.','UwCOf':_0x100df4[_0x563499(0x1c9)],'UmZfR':function(_0x39d6d6,_0x3b428,_0x2d0802){const _0xca2aef=_0x563499;return _0x100df4[_0xca2aef(0x188)](_0x39d6d6,_0x3b428,_0x2d0802);},'xdUzM':_0x100df4['UxpXP'],'lPMFJ':'profile','zVSwl':function(_0x432777,_0x30b14e,_0x24567d){return _0x432777(_0x30b14e,_0x24567d);},'fUdOS':function(_0x411adb,_0x462b39,_0x585c54){const _0x1c7828=_0x563499;return _0x100df4[_0x1c7828(0x143)](_0x411adb,_0x462b39,_0x585c54);},'qcIem':'profile\x20config\x20unset','pYYpR':'Profile\x20name','mYLUn':_0x100df4['ioXQV'],'olXeu':_0x100df4[_0x563499(0x20b)],'SODIR':_0x563499(0x145),'IogZp':_0x563499(0x266),'DuhWG':_0x100df4[_0x563499(0x264)],'vKDHP':_0x100df4[_0x563499(0x252)],'wocme':_0x563499(0x19b),'dwhHi':_0x563499(0x17c),'xmclX':_0x563499(0x174),'mjlHr':'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile'};return _0x1931fb[_0x563499(0x13b)](PROFILE_HELP)['command'](_0x100df4['CLTOy'],_0x563499(0x1d7),_0xf0dd41=>{const _0xf02f1=_0x563499;return _0xf0dd41['positional']('profile-name',{'type':_0x100df4[_0xf02f1(0x1db)],'description':_0x100df4['posWo'],'demandOption':!![]})['option']('ci',{'type':_0x100df4[_0xf02f1(0x1ca)],'hidden':!![],'default':![]})[_0xf02f1(0x27a)](_0x100df4[_0xf02f1(0x1b5)],{'type':_0x100df4[_0xf02f1(0x1ca)],'description':_0x100df4['oDOAz'],'default':![]})['option'](_0x100df4['suoJy'],{'type':'string','description':_0x100df4[_0xf02f1(0x1d4)]})[_0xf02f1(0x27a)]('force',{'type':'boolean','description':_0xf02f1(0x15e),'default':![]})['option'](_0x100df4['nLWra'],{'type':'string','description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})['option'](_0x100df4['RjaeM'],{'type':_0x100df4['FzaWt'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0xf02f1(0x27a)]('safe-mode',{'type':_0x100df4['FzaWt'],'description':_0xf02f1(0x1d3),'default':![]})[_0xf02f1(0x27a)]('setup-header',{'type':_0x100df4['aOMaF'],'array':!![],'description':_0x100df4[_0xf02f1(0x1e8)]})[_0xf02f1(0x27a)](_0x100df4['wvTJQ'],{'type':_0x100df4[_0xf02f1(0x1db)],'choices':[_0xf02f1(0x162),_0x100df4['XzjaJ']],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})['option'](_0x100df4[_0xf02f1(0x211)],{'type':_0x100df4['FzaWt'],'alias':'y','description':_0x100df4['bHoPX'],'default':![]});},async _0x5ea69a=>{const _0x1eb564=_0x563499;await withTelemetry(_0x1eb564(0x241),_0x4ec61a=>addEnv(_0x5ea69a['profile-name'],{'ci':_0x5ea69a['ci'],'skipAuth':_0x5ea69a[_0x1eb564(0x1c0)],'url':_0x5ea69a[_0x1eb564(0x1eb)],'force':_0x5ea69a[_0x1eb564(0x1e3)],'cdpEndpoint':_0x5ea69a['cdp-endpoint'],'allowInsecureLocalhost':_0x5ea69a['allow-insecure-localhost'],'safeMode':_0x5ea69a['safe-mode'],'setupHeader':_0x5ea69a[_0x1eb564(0x1a3)],'scope':_0x5ea69a[_0x1eb564(0x273)],'yes':_0x5ea69a[_0x1eb564(0x1f7)]},_0x4ec61a),{'isElectron':_0x100df4['vVZXh'](Boolean,_0x5ea69a[_0x100df4[_0x1eb564(0x23a)]])});})[_0x563499(0x23c)]('use\x20<profile-name>',_0x563499(0x27d),_0x1ba089=>{const _0x501afe=_0x563499;return _0x1ba089['positional'](_0x501afe(0x130),{'type':_0x100df4[_0x501afe(0x1db)],'description':_0x100df4[_0x501afe(0x25d)],'demandOption':!![]});},async _0x396439=>{await _0x100df4['Viasm'](withTelemetry,'profile\x20use',()=>useEnv(_0x396439['profile-name']));})['command'](_0x563499(0x155),_0x100df4[_0x563499(0x221)],_0x6ebd77=>{const _0x38418c=_0x563499;return _0x6ebd77[_0x38418c(0x15c)](_0x100df4[_0x38418c(0x2c3)],{'type':'string','description':_0x100df4['scNAJ'],'demandOption':!![]})['option'](_0x38418c(0x1f7),{'type':_0x38418c(0x2a5),'alias':'y','description':_0x100df4[_0x38418c(0x1c1)],'default':![]});},async _0x1fcf6e=>{const _0x4611f4=_0x563499;await _0x100df4['ysUrX'](withTelemetry,_0x4611f4(0x23f),()=>deleteProfile(_0x1fcf6e[_0x4611f4(0x130)],{'yes':_0x1fcf6e[_0x4611f4(0x1f7)]}));})[_0x563499(0x23c)]('encrypt-auth\x20<profile>',![],_0x7a1086=>{const _0x1297e3=_0x563499;return _0x7a1086[_0x1297e3(0x15c)](_0x1297e3(0x1b2),{'type':_0x100df4['aOMaF'],'description':_0x100df4['FLgWC'],'demandOption':!![]});},async _0x2645bb=>{const _0x4e6a25=_0x563499;await withTelemetry(_0x3601af[_0x4e6a25(0x275)],()=>authEncrypt(_0x2645bb[_0x4e6a25(0x1b2)]));})[_0x563499(0x23c)]('ls','List\x20all\x20profiles',()=>{},async()=>{await withTelemetry(_0x3601af['edkLn'],()=>envList());})['command'](_0x100df4['PHXiF'],_0x100df4[_0x563499(0x272)],_0x485651=>{const _0x8c900a=_0x563499;return _0x485651['positional'](_0x3601af['ohXiZ'],{'type':_0x3601af['elxTX'],'description':'Name\x20of\x20the\x20profile\x20to\x20update','demandOption':!![]})[_0x8c900a(0x27a)]('allow-insecure-localhost',{'type':_0x3601af['crwen'],'description':_0x3601af[_0x8c900a(0x280)]})['option'](_0x3601af['tNcVH'],{'type':'boolean','description':_0x3601af[_0x8c900a(0x1d9)]});},async _0xf42721=>{const _0x13c10a=_0x563499;await withTelemetry(_0x13c10a(0x159),_0x319df3=>updateEnv(_0xf42721['profile-name'],_0x319df3,{'allowInsecureLocalhost':_0xf42721[_0x13c10a(0x1ac)],'manual':_0xf42721[_0x13c10a(0x17e)]}));})['command'](_0x563499(0x29c),![],_0x2ae30b=>{const _0x4302d7=_0x563499;return _0x2ae30b['positional'](_0x4302d7(0x21a),{'type':'string','description':_0x100df4[_0x4302d7(0x168)],'demandOption':!![]});},async _0x199b0c=>{const _0x497268=_0x563499;await _0x100df4[_0x497268(0x16d)](withTelemetry,'profile\x20login',async()=>{const _0x21780e=_0x497268,_0x25701d=process[_0x21780e(0x113)]['RANGER_TEST_USERNAME'],_0x21570c=process[_0x21780e(0x113)]['RANGER_TEST_PASSWORD'];_0x3601af[_0x21780e(0x20d)](!_0x25701d,!_0x21570c)&&(console[_0x21780e(0x1ad)](_0x3601af['QzuoY']),process[_0x21780e(0x1c6)](0x1));const _0xebeb7d=_0x199b0c['name'],_0xd2ebb5=await serverSideLogin(_0xebeb7d,{'force':!![]});_0x3601af[_0x21780e(0x205)](_0xd2ebb5['status'],_0x3601af['HaaGj'])&&(console['error'](_0x21780e(0x131)),process['exit'](0x1)),_0x3601af[_0x21780e(0x205)](_0xd2ebb5[_0x21780e(0x171)],'failed')&&(console[_0x21780e(0x1ad)](_0x21780e(0x268)+(_0xd2ebb5['error']??_0x3601af[_0x21780e(0x1c3)])),_0xd2ebb5[_0x21780e(0x185)]&&console[_0x21780e(0x1ad)](_0xd2ebb5[_0x21780e(0x185)]),process['exit'](0x1)),console[_0x21780e(0x1ab)](_0x21780e(0x210)+_0xebeb7d+'\x27.\x20Session\x20saved.');});})[_0x563499(0x23c)]('migrate\x20[profile-name]',![],_0x596484=>{const _0x3f0109=_0x563499;return _0x596484[_0x3f0109(0x15c)](_0x3f0109(0x130),{'type':'string','description':_0x3601af[_0x3f0109(0x232)]})[_0x3f0109(0x27a)](_0x3601af[_0x3f0109(0x126)],{'type':_0x3f0109(0x2a5),'description':_0x3601af['ZEzjp'],'default':![]})['option'](_0x3f0109(0x1a6),{'type':'boolean','description':_0x3601af[_0x3f0109(0x1fc)],'default':![]})[_0x3f0109(0x27a)](_0x3601af['DJLdC'],{'type':_0x3601af['crwen'],'alias':'y','description':_0x3601af[_0x3f0109(0x20a)],'default':![]})[_0x3f0109(0x27a)](_0x3601af[_0x3f0109(0x1cb)],{'type':_0x3601af['crwen'],'description':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','default':![]});},async _0x34105b=>{const _0x4fd6e3=_0x563499;await _0x100df4['RIBqE'](withTelemetry,_0x100df4[_0x4fd6e3(0x263)],_0x3272e6=>migrateProfile({'profileName':_0x34105b[_0x4fd6e3(0x130)],'all':_0x34105b['all'],'dryRun':_0x34105b['dry-run'],'yes':_0x34105b['yes'],'saveCreds':_0x34105b[_0x4fd6e3(0x299)]},_0x3272e6));})['command'](_0x100df4['MrGeP'],_0x100df4[_0x563499(0x149)],_0x13be1a=>{const _0x3127f9=_0x563499,_0x4d8035={'cIEZH':_0x3601af[_0x3127f9(0x160)],'nyeGd':_0x3601af['olXeu'],'gVLgr':_0x3127f9(0x1b6),'rAWwV':function(_0x377391,_0x368511,_0x36875f){return _0x377391(_0x368511,_0x36875f);},'QVgql':_0x3601af['SODIR'],'ZbcfQ':_0x3127f9(0x239),'OdybG':_0x3127f9(0x17d)};return _0x13be1a['usage'](PROFILE_CONFIG_HELP)['command']('set\x20<profile>\x20<key>\x20<value>','Set\x20a\x20config\x20value',_0x501f20=>{const _0x513da4=_0x3127f9;return _0x501f20[_0x513da4(0x15c)](_0x4d8035['cIEZH'],{'type':'string','description':_0x513da4(0x239),'demandOption':!![]})['positional'](_0x4d8035[_0x513da4(0x203)],{'type':_0x4d8035['gVLgr'],'description':_0x513da4(0x122),'demandOption':!![]})['positional']('value',{'type':_0x4d8035['gVLgr'],'description':'Config\x20value','demandOption':!![]});},async _0xfe983d=>{const _0x37251f=_0x3127f9;await _0x4d8035['rAWwV'](withTelemetry,_0x4d8035['QVgql'],()=>configSet(_0xfe983d['profile'],_0xfe983d['key'],_0xfe983d[_0x37251f(0x1f6)]));})['command'](_0x3127f9(0x1ec),_0x3601af[_0x3127f9(0x144)],_0x373c52=>{const _0x247267=_0x3127f9;return _0x373c52[_0x247267(0x15c)](_0x247267(0x1b2),{'type':_0x247267(0x1b6),'description':_0x4d8035['ZbcfQ'],'demandOption':!![]})['positional'](_0x4d8035[_0x247267(0x203)],{'type':_0x4d8035['gVLgr'],'description':_0x4d8035['OdybG'],'demandOption':!![]});},async _0x28676d=>{const _0x4b4956=_0x3127f9;await _0x3601af[_0x4b4956(0x2bd)](withTelemetry,_0x3601af[_0x4b4956(0x110)],()=>configGet(_0x28676d[_0x4b4956(0x1b2)],_0x28676d['key']));})[_0x3127f9(0x23c)](_0x3601af[_0x3127f9(0x226)],_0x3601af[_0x3127f9(0x28f)],_0x1eaf74=>{const _0x2e2abd=_0x3127f9;return _0x1eaf74['positional'](_0x3601af[_0x2e2abd(0x160)],{'type':_0x2e2abd(0x1b6),'description':_0x2e2abd(0x239),'demandOption':!![]});},async _0x473cd1=>{const _0x40aff1=_0x3127f9;await _0x3601af[_0x40aff1(0x250)](withTelemetry,_0x40aff1(0x115),()=>configList(_0x473cd1[_0x40aff1(0x1b2)]));})['command'](_0x3601af['wocme'],_0x3601af['dwhHi'],_0x2b8a0b=>{const _0x1a3264=_0x3127f9;return _0x2b8a0b[_0x1a3264(0x15c)](_0x4d8035['cIEZH'],{'type':_0x4d8035['gVLgr'],'description':_0x4d8035['ZbcfQ'],'demandOption':!![]})['positional'](_0x4d8035[_0x1a3264(0x203)],{'type':_0x1a3264(0x1b6),'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x3a65b7=>{const _0x365efe=_0x3127f9;await _0x3601af['fUdOS'](withTelemetry,_0x3601af[_0x365efe(0x247)],()=>configUnset(_0x3a65b7['profile'],_0x3a65b7['key']));})[_0x3127f9(0x23c)](_0x3601af[_0x3127f9(0x117)],_0x3601af['mjlHr'],_0x395760=>{const _0x3559c7=_0x3127f9;return _0x395760['positional'](_0x3559c7(0x1b2),{'type':_0x3601af[_0x3559c7(0x1aa)],'description':_0x3601af['pYYpR'],'demandOption':!![]});},async _0x52b636=>{const _0x3a4d1e=_0x3127f9;await withTelemetry(_0x3601af[_0x3a4d1e(0x289)],()=>configReset(_0x52b636[_0x3a4d1e(0x1b2)]));})[_0x3127f9(0x242)](0x1,_0x3127f9(0x2b8));})['demandCommand'](0x1,_0x100df4['EZlbE']);})[_0x540431(0x23c)](_0x100df4[_0x540431(0x1a9)],_0x100df4['pXxPX'],()=>{},async()=>{const _0xe097d8=_0x540431;await _0x100df4['aDBnd'](withTelemetry,_0x100df4[_0xe097d8(0x1a9)],()=>status());})['command'](_0x540431(0x21f),'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x2b881b=_0x540431;await _0x100df4[_0x2b881b(0x146)](withTelemetry,_0x2b881b(0x21f),()=>update());})[_0x540431(0x23c)]('print-access-token',_0x540431(0x1cf),()=>{},async()=>{await _0x100df4['RIBqE'](withTelemetry,_0x100df4['nIQeG'],async()=>{const _0x465993=await getToken();if(!_0x465993)throw new Error('No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.');console['log'](_0x465993);});})['command']('go',_0x540431(0x29f),_0x5725c5=>{const _0x2ae108=_0x540431;return _0x5725c5['option'](_0x2ae108(0x295),{'type':'string','description':'Optional\x20feature\x20ID'})['option'](_0x100df4['TGNMJ'],{'type':_0x2ae108(0x1b6),'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)'})[_0x2ae108(0x27a)]('notes',{'type':_0x2ae108(0x1b6),'description':_0x100df4['LGbUQ']})['option']('scenario',{'type':'number','description':_0x2ae108(0x2c7)})['option'](_0x100df4[_0x2ae108(0x292)],{'type':_0x100df4['aOMaF'],'description':_0x2ae108(0x19d)})['option'](_0x2ae108(0x169),{'type':_0x100df4[_0x2ae108(0x1db)],'description':_0x2ae108(0x11d)})[_0x2ae108(0x27a)](_0x100df4['aczYz'],{'type':_0x100df4[_0x2ae108(0x1db)],'description':_0x100df4['ECTJk']})[_0x2ae108(0x27a)](_0x2ae108(0x26b),{'type':_0x2ae108(0x2a5),'description':_0x2ae108(0x192),'default':![]})['option'](_0x100df4[_0x2ae108(0x16f)],{'type':_0x2ae108(0x1b6),'array':!![],'alias':'environment-variable','description':_0x100df4['hUGbK']})['option'](_0x2ae108(0x15f),{'type':_0x2ae108(0x1b6),'hidden':!![],'choices':[_0x100df4[_0x2ae108(0x12f)],_0x2ae108(0x1ea),'blocked',_0x100df4['hdgvm'],_0x2ae108(0x25e)]})[_0x2ae108(0x27a)](_0x100df4['MAVwE'],{'type':'boolean','hidden':!![]})['option'](_0x100df4['WOnGZ'],{'type':_0x100df4['aOMaF'],'hidden':!![]})['option'](_0x100df4['absRt'],{'type':_0x100df4[_0x2ae108(0x1db)],'hidden':!![]})['option'](_0x2ae108(0x18e),{'type':_0x100df4['sCeaX'],'hidden':!![]});},async _0x5b646e=>{await _0x100df4['PojdN'](runGoCommand,_0x5b646e);})['command'](_0x540431(0x186),![],_0x37d903=>{const _0x3bbc10=_0x540431;return _0x37d903[_0x3bbc10(0x23c)](_0x3bbc10(0x17a),![],_0x12cad4=>{const _0x3b459d=_0x3bbc10;return _0x12cad4['positional'](_0x100df4[_0x3b459d(0x1d8)],{'type':'string','description':_0x3b459d(0x239),'demandOption':!![]});},async _0x388bb0=>{const _0xe80848=_0x3bbc10;_0x100df4['YqdzU'](warnRenamed,_0xe80848(0x287),_0x100df4['JeJeu']),await _0x100df4[_0xe80848(0x2c9)](authEncrypt,_0x388bb0['profile']);})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command'](_0x100df4[_0x540431(0x298)],![],_0x5b5d7f=>{const _0x8582f4=_0x540431;return _0x5b5d7f[_0x8582f4(0x15c)](_0x8582f4(0x16c),{'type':_0x100df4['aOMaF'],'description':_0x8582f4(0x23d)})['option'](_0x100df4['ZTAgs'],{'type':_0x100df4[_0x8582f4(0x1ca)],'description':_0x100df4['sWIPi'],'default':![]})[_0x8582f4(0x27a)](_0x8582f4(0x273),{'type':'string','choices':[_0x8582f4(0x162)],'hidden':!![],'description':_0x100df4[_0x8582f4(0x194)]})[_0x8582f4(0x27a)](_0x8582f4(0x1eb),{'type':_0x8582f4(0x1b6),'description':_0x100df4[_0x8582f4(0x1fa)]})['option'](_0x8582f4(0x1e3),{'type':_0x100df4[_0x8582f4(0x1ca)],'description':_0x100df4[_0x8582f4(0x217)],'default':![]})[_0x8582f4(0x27a)](_0x100df4[_0x8582f4(0x1b5)],{'type':'boolean','description':_0x100df4[_0x8582f4(0x136)],'default':![]})['option'](_0x100df4[_0x8582f4(0x19a)],{'type':'boolean','description':_0x8582f4(0x14a),'default':![]});},async _0x1d1e67=>{const _0x190d41=_0x540431;_0x100df4['OlzcY'](warnRenamed,'ranger\x20start',_0x100df4[_0x190d41(0x293)]),await withTelemetry(_0x100df4[_0x190d41(0x2af)],_0x295d90=>start(_0x1d1e67['token'],{'skipChromium':_0x1d1e67['skip-chromium'],'skipAuth':_0x1d1e67[_0x190d41(0x1c0)],'withDeps':_0x1d1e67[_0x190d41(0x1e1)],'scope':_0x1d1e67[_0x190d41(0x273)],'url':_0x1d1e67[_0x190d41(0x1eb)],'force':_0x1d1e67[_0x190d41(0x1e3)]},_0x295d90));})[_0x540431(0x23c)](_0x100df4[_0x540431(0x240)],![],_0x9c8446=>{const _0x124d6e=_0x540431;return _0x9c8446[_0x124d6e(0x27a)](_0x100df4['WOnGZ'],{'type':_0x124d6e(0x1b6),'description':_0x100df4['OeiRN']})[_0x124d6e(0x27a)](_0x100df4['absRt'],{'type':_0x100df4['aOMaF'],'description':_0x124d6e(0x177)})[_0x124d6e(0x27a)](_0x124d6e(0x18e),{'type':_0x124d6e(0x199),'description':_0x100df4[_0x124d6e(0x235)]})['option'](_0x100df4[_0x124d6e(0x1d8)],{'type':_0x124d6e(0x1b6),'hidden':!![]})[_0x124d6e(0x27a)](_0x124d6e(0x190),{'type':_0x100df4['aOMaF'],'hidden':!![]})['option'](_0x124d6e(0x17b),{'type':'number','hidden':!![]})[_0x124d6e(0x27a)]('start-path',{'type':_0x100df4[_0x124d6e(0x1db)],'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})[_0x124d6e(0x27a)]('base-url',{'type':_0x100df4[_0x124d6e(0x1db)],'description':_0x100df4['YkFYv']})['option'](_0x124d6e(0x2b1),{'type':_0x100df4[_0x124d6e(0x1db)],'hidden':!![]})['option'](_0x124d6e(0x26b),{'type':_0x100df4['FzaWt'],'hidden':!![],'default':![]})[_0x124d6e(0x27a)]('env-var',{'type':_0x124d6e(0x1b6),'array':!![],'alias':_0x100df4[_0x124d6e(0x209)],'hidden':!![]})['option'](_0x100df4[_0x124d6e(0x10e)],{'type':'string','hidden':!![],'choices':[_0x124d6e(0x151),_0x100df4[_0x124d6e(0x180)],_0x100df4['aTEcb'],_0x124d6e(0x156),_0x124d6e(0x25e)]});},async _0x5a7305=>{const _0x2c854a=_0x540431;await _0x100df4[_0x2c854a(0x1d2)](runGoCommand,_0x5a7305,!![]);})[_0x540431(0x23c)]('add\x20env\x20<env-name>',![],_0x33b9dc=>{const _0x2006e4=_0x540431;return _0x33b9dc['positional'](_0x2006e4(0x200),{'type':'string','description':_0x100df4['vXsqs'],'demandOption':!![]})['option']('ci',{'type':'boolean','description':_0x100df4['NYvyx'],'default':![]})['option'](_0x100df4['xDQKN'],{'type':_0x100df4['FzaWt'],'description':_0x100df4['oDOAz'],'default':![]});},async _0x21af16=>{const _0x430d8b=_0x540431;_0x100df4['nEsJO'](warnRenamed,'ranger\x20add\x20env',_0x100df4[_0x430d8b(0x1e4)]),await withTelemetry(_0x100df4[_0x430d8b(0x1bb)],_0x332596=>addEnv(_0x21af16['env-name'],{'ci':_0x21af16['ci'],'skipAuth':_0x21af16['skip-auth']},_0x332596));})[_0x540431(0x23c)](_0x100df4[_0x540431(0x1f5)],![],_0x21c1fb=>{const _0x1f82f7=_0x540431;return _0x21c1fb[_0x1f82f7(0x15c)](_0x100df4['cxuCs'],{'type':'string','description':_0x1f82f7(0x184),'demandOption':!![]});},async _0x10b48c=>{const _0x4292cb=_0x540431;warnRenamed(_0x4292cb(0x1b3),_0x4292cb(0x1fd)),await withTelemetry(_0x4292cb(0x1f4),()=>useEnv(_0x10b48c[_0x4292cb(0x200)]));})[_0x540431(0x23c)](_0x100df4['MrGeP'],![],_0x419ca6=>{const _0x1d952a=_0x540431,_0x317ac2={'JeYAl':_0x100df4['WOnGZ'],'fjPjn':_0x100df4[_0x1d952a(0x1db)],'beREc':_0x100df4['tZxYQ'],'AwJvX':_0x100df4[_0x1d952a(0x141)],'AwBvj':'ranger\x20config\x20set','pZNjy':function(_0x4f1429,_0x5f3f5f,_0x18f5f3){return _0x4f1429(_0x5f3f5f,_0x18f5f3);},'CUjzP':'config\x20set'};return _0x419ca6['command']('set\x20<env>\x20<key>\x20<value>',![],_0x40dd33=>{const _0x54ce14=_0x1d952a;return _0x40dd33['positional'](_0x317ac2['JeYAl'],{'type':'string','description':'Environment\x20name','demandOption':!![]})['positional']('key',{'type':_0x317ac2['fjPjn'],'description':_0x54ce14(0x122),'demandOption':!![]})['positional'](_0x317ac2['beREc'],{'type':_0x54ce14(0x1b6),'description':_0x317ac2[_0x54ce14(0x10f)],'demandOption':!![]});},async _0x16899f=>{const _0x4f86dc=_0x1d952a;warnRenamed(_0x317ac2[_0x4f86dc(0x1d1)],'ranger\x20profile\x20config\x20set'),await _0x317ac2[_0x4f86dc(0x147)](withTelemetry,_0x317ac2['CUjzP'],()=>configSet(_0x16899f[_0x4f86dc(0x113)],_0x16899f['key'],_0x16899f['value']));})['command'](_0x100df4['OmITP'],![],_0x1b959c=>{const _0x36b242=_0x1d952a;return _0x1b959c['positional'](_0x100df4[_0x36b242(0x19f)],{'type':'string','description':_0x36b242(0x1a4),'demandOption':!![]})[_0x36b242(0x15c)]('key',{'type':_0x100df4['aOMaF'],'description':_0x100df4['aWYOj'],'demandOption':!![]});},async _0x54a0e8=>{const _0x4cbe3a=_0x1d952a;_0x100df4[_0x4cbe3a(0x1d2)](warnRenamed,'ranger\x20config\x20get',_0x100df4['ALeQz']),await withTelemetry(_0x100df4[_0x4cbe3a(0x2ae)],()=>configGet(_0x54a0e8['env'],_0x54a0e8['key']));})['command']('list\x20<env>',![],_0x4751b4=>{const _0x41313d=_0x1d952a;return _0x4751b4[_0x41313d(0x15c)](_0x100df4['WOnGZ'],{'type':'string','description':_0x100df4['yLrTr'],'demandOption':!![]});},async _0x17c631=>{const _0x3c9418=_0x1d952a;warnRenamed(_0x100df4['WsLcf'],_0x100df4['rKQse']),await withTelemetry('config\x20list',()=>configList(_0x17c631[_0x3c9418(0x113)]));})[_0x1d952a(0x23c)](_0x100df4[_0x1d952a(0x2ac)],![],_0x4b57c5=>{const _0x40bb55=_0x1d952a;return _0x4b57c5['positional'](_0x317ac2['JeYAl'],{'type':_0x40bb55(0x1b6),'description':'Environment\x20name','demandOption':!![]})[_0x40bb55(0x15c)]('key',{'type':'string','description':_0x40bb55(0x212),'demandOption':!![]});},async _0x38ebfa=>{const _0x58e9d2=_0x1d952a;_0x100df4['HSRln'](warnRenamed,_0x58e9d2(0x20f),_0x58e9d2(0x16b)),await withTelemetry(_0x100df4['naoFR'],()=>configUnset(_0x38ebfa['env'],_0x38ebfa[_0x58e9d2(0x125)]));})['demandCommand'](0x1,_0x100df4['bUDBi']);})[_0x540431(0x23c)]('env',![],_0x4360d3=>{const _0x2cbb7c=_0x540431,_0x5816c1={'lxvIw':_0x2cbb7c(0x200),'maYvF':_0x100df4['aOMaF']};return _0x4360d3[_0x2cbb7c(0x23c)]('ls',![],()=>{},async()=>{const _0x56814b=_0x2cbb7c;warnRenamed('ranger\x20env\x20ls',_0x100df4['SnVwo']),await _0x100df4[_0x56814b(0x12d)](withTelemetry,_0x56814b(0x173),()=>envList());})[_0x2cbb7c(0x23c)](_0x2cbb7c(0x265),![],_0x4fd4db=>{const _0x2195a4=_0x2cbb7c;return _0x4fd4db['positional'](_0x5816c1['lxvIw'],{'type':_0x5816c1['maYvF'],'description':_0x2195a4(0x1b9),'demandOption':!![]});},async _0x68d45=>{_0x100df4['wGroR'](warnRenamed,'ranger\x20env\x20update',_0x100df4['cGkgA']),await withTelemetry(_0x100df4['YVeOG'],_0x4226f3=>updateEnv(_0x68d45['env-name'],_0x4226f3));})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20env\x20subcommand');})[_0x540431(0x23c)]('feature',![],_0x43940e=>{const _0x56e197=_0x540431,_0x131120={'OHOuc':_0x100df4[_0x56e197(0x1db)],'sfpOL':_0x100df4[_0x56e197(0x25f)],'Lxuxe':_0x100df4[_0x56e197(0x1fb)],'tCSuO':_0x100df4[_0x56e197(0x22e)],'cfLpX':_0x100df4[_0x56e197(0x132)],'KoVEw':_0x100df4['aPQGB'],'TWIOe':'current-branch','vnlhq':_0x56e197(0x26a),'QUkWf':'number','CLxlP':_0x100df4[_0x56e197(0x116)],'kgFVE':_0x100df4[_0x56e197(0x1ca)],'fEHHl':_0x100df4[_0x56e197(0x1e6)],'BbusK':_0x100df4['xJdYn'],'VNozk':_0x100df4['dvGHB'],'BGSCA':'ranger\x20feature\x20resume','IiPtq':function(_0x435a3c,_0x1dff9c,_0x5548bd){return _0x435a3c(_0x1dff9c,_0x5548bd);},'yxTvS':_0x56e197(0x2bc),'ECCsx':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','cfRZW':_0x100df4[_0x56e197(0x222)],'bfnbQ':function(_0x35c971,_0x3568e5,_0x4f4e3){return _0x35c971(_0x3568e5,_0x4f4e3);},'WYKkc':_0x100df4['lHGVq'],'CwoTH':'feature\x20delete','VlJdV':_0x100df4['dWwRJ'],'DOnQk':function(_0x4c7b7f,_0x41b22c,_0xdcfbd0){const _0x20c16c=_0x56e197;return _0x100df4[_0x20c16c(0x251)](_0x4c7b7f,_0x41b22c,_0xdcfbd0);},'qgrJZ':_0x56e197(0x246)};return _0x43940e[_0x56e197(0x23c)](_0x100df4['dKxCb'],![],_0x1b50c9=>{const _0x5ceed9=_0x56e197;return _0x1b50c9[_0x5ceed9(0x15c)]('name',{'type':_0x131120[_0x5ceed9(0x294)],'description':_0x131120[_0x5ceed9(0x2ad)],'demandOption':!![]})[_0x5ceed9(0x27a)](_0x131120[_0x5ceed9(0x166)],{'type':_0x131120[_0x5ceed9(0x294)],'alias':'d','description':_0x131120['tCSuO']})[_0x5ceed9(0x27a)](_0x5ceed9(0x1e2),{'type':_0x131120['cfLpX'],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x5ceed9(0x27a)](_0x131120['KoVEw'],{'type':'array','hidden':!![]});},async _0x4d4eea=>{const _0x122631=_0x56e197;warnRenamed(_0x122631(0x2bf),_0x122631(0x1c4)),warnFlagRenamed('ranger\x20create',_0x100df4[_0x122631(0x27f)],_0x122631(0x29b));const _0x82658d=_0x4d4eea[_0x122631(0x17b)]||_0x4d4eea['checklist'];await _0x100df4[_0x122631(0x1f3)](withTelemetry,_0x100df4['saRlY'],()=>featureCreate(_0x4d4eea['name'],{'description':_0x4d4eea[_0x122631(0x10c)],'scenarios':_0x82658d}));})['command'](_0x100df4['ZxFqV'],![],_0x89a423=>{const _0x35d988=_0x56e197;return _0x89a423[_0x35d988(0x27a)](_0x131120[_0x35d988(0x196)],{'type':_0x35d988(0x2a5),'description':_0x131120['vnlhq']})[_0x35d988(0x27a)](_0x35d988(0x25c),{'type':_0x131120['QUkWf'],'alias':'l','description':_0x131120['CLxlP'],'default':0xa})[_0x35d988(0x27a)]('offset',{'type':_0x131120[_0x35d988(0x18a)],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option']('include-deleted',{'type':_0x131120['kgFVE'],'alias':'d','description':_0x131120[_0x35d988(0x1e5)],'default':![]});},async _0x4da5d7=>{const _0x57dbb3=_0x56e197;warnRenamed(_0x100df4['ObjZi'],_0x57dbb3(0x12a)),await withTelemetry(_0x100df4['GPlay'],()=>featureList({'currentBranch':_0x4da5d7[_0x57dbb3(0x179)],'limit':_0x4da5d7[_0x57dbb3(0x25c)],'offset':_0x4da5d7[_0x57dbb3(0x2ab)],'includeDeleted':_0x4da5d7['include-deleted']}));})['command'](_0x56e197(0x183),![],_0x47e37b=>{return _0x47e37b['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x52359f=>{const _0x824147=_0x56e197;warnRenamed(_0x824147(0x23e),_0x131120[_0x824147(0x20c)]),await withTelemetry('feature\x20show',()=>featureShow(_0x52359f['id']));})['command'](_0x56e197(0x1a2),![],_0x130ace=>{const _0x440185=_0x56e197;return _0x130ace[_0x440185(0x15c)]('id',{'type':'string','description':_0x131120['VNozk']});},async _0x3c5a60=>{const _0x2357ae=_0x56e197;warnRenamed(_0x131120['BGSCA'],_0x2357ae(0x10d)),await _0x131120[_0x2357ae(0x167)](withTelemetry,_0x2357ae(0x28a),()=>featureResume(_0x3c5a60['id']));})['command'](_0x56e197(0x248),![],_0x3095d6=>{const _0x383ab8=_0x56e197;return _0x3095d6[_0x383ab8(0x15c)](_0x131120[_0x383ab8(0x166)],{'type':_0x131120[_0x383ab8(0x294)],'description':_0x131120['yxTvS'],'demandOption':!![]})[_0x383ab8(0x27a)]('id',{'type':_0x131120['OHOuc'],'description':_0x131120['ECCsx']});},async _0x3d36cf=>{const _0x40a893=_0x56e197;warnRenamed(_0x131120[_0x40a893(0x21d)],'ranger\x20add-scenario'),await _0x131120[_0x40a893(0x158)](withTelemetry,'feature\x20add-checklist-item',()=>featureAddScenario(_0x3d36cf['description'],_0x3d36cf['id']));})['command'](_0x100df4['jbfLb'],![],_0xfdf728=>{const _0xffd50=_0x56e197;return _0xfdf728[_0xffd50(0x15c)]('id',{'type':_0x100df4[_0xffd50(0x1db)],'description':_0xffd50(0x10b)});},async _0x1029a8=>{const _0x112274=_0x56e197;_0x100df4['jKqei'](warnRenamed,_0x100df4['RCAgX'],_0x100df4[_0x112274(0x286)]),await _0x100df4[_0x112274(0x258)](withTelemetry,_0x112274(0x230),()=>featureGetReview(_0x1029a8['id']));})['command'](_0x56e197(0x2a7),![],_0x40a8f7=>{const _0x410e51=_0x56e197;return _0x40a8f7['positional']('id',{'type':_0x410e51(0x1b6),'description':_0x410e51(0x11c)});},async _0x54caa6=>{const _0x4df48b=_0x56e197;_0x131120['IiPtq'](warnRenamed,_0x131120[_0x4df48b(0x123)],_0x4df48b(0x29d)),await withTelemetry(_0x131120['CwoTH'],()=>featureDelete(_0x54caa6['id']));})['command'](_0x100df4[_0x56e197(0x1dc)],![],_0x279fae=>{const _0xeb8099=_0x56e197;return _0x279fae[_0xeb8099(0x15c)]('id',{'type':'string','description':_0x131120['VlJdV'],'demandOption':!![]});},async _0x25a1aa=>{const _0x423fec=_0x56e197;warnRenamed('ranger\x20feature\x20restore',_0x423fec(0x274)),await _0x131120[_0x423fec(0x1f1)](withTelemetry,_0x131120[_0x423fec(0x2b6)],()=>featureRestore(_0x25a1aa['id']));})[_0x56e197(0x242)](0x1,_0x100df4['KfxaT']);})['command'](_0x100df4['UvMKR'],![],_0x3d3b02=>{const _0x4b9ca7=_0x540431,_0x9d4437={'SuvPN':_0x100df4['lDrYt'],'EdkCt':function(_0x1867bb,_0x734da9,_0x506716){const _0x17b1f4=_0x179c;return _0x100df4[_0x17b1f4(0x2c1)](_0x1867bb,_0x734da9,_0x506716);},'yHKQs':_0x4b9ca7(0x112)};return _0x3d3b02['command'](_0x100df4[_0x4b9ca7(0x182)],'Enable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x6cba43=>{const _0x3b6397=_0x4b9ca7;return _0x6cba43['option'](_0x100df4[_0x3b6397(0x1d5)],{'type':_0x3b6397(0x1b6),'description':_0x100df4[_0x3b6397(0x29e)]});},async _0x101e63=>{const _0x3e8d74=_0x4b9ca7;await _0x100df4[_0x3e8d74(0x22f)](withTelemetry,_0x3e8d74(0x152),()=>hook('enable',_0x101e63[_0x3e8d74(0x23b)]));})['command'](_0x100df4['kXZpw'],_0x4b9ca7(0x229),_0x4e801a=>{const _0x2d7d8b=_0x4b9ca7;return _0x4e801a['option'](_0x9d4437[_0x2d7d8b(0x2a1)],{'type':_0x2d7d8b(0x1b6),'description':_0x2d7d8b(0x18d)});},async _0x50682b=>{const _0x4ef5c9=_0x4b9ca7;await _0x9d4437[_0x4ef5c9(0x281)](withTelemetry,_0x9d4437['yHKQs'],()=>hook('disable',_0x50682b[_0x4ef5c9(0x23b)]));})[_0x4b9ca7(0x27a)]('name',{'type':'string','description':_0x100df4[_0x4b9ca7(0x178)]})[_0x4b9ca7(0x27a)](_0x4b9ca7(0x23b),{'type':_0x100df4[_0x4b9ca7(0x1db)],'description':_0x100df4['avKzX']});},async _0x479503=>{const _0x4a6262=_0x540431;_0x479503[_0x4a6262(0x21a)]&&await _0x100df4['YEkvk'](hook,_0x479503[_0x4a6262(0x21a)],_0x479503[_0x4a6262(0x23b)]);})[_0x540431(0x242)](0x1,_0x100df4[_0x540431(0x2b7)])['strictCommands']()[_0x540431(0x12b)](async(_0xa66845,_0x2aecaf,_0xfd3ef1)=>{const _0x59d561=_0x540431,_0x137f1a=sanitizeArgs(process[_0x59d561(0x19c)]['slice'](0x2)),_0x4fc010=getErrorType(_0xa66845,_0x2aecaf);if(_0xa66845&&_0xa66845['includes'](_0x59d561(0x2ba))){const _0x5a981d=process['argv'][0x2];console['error'](_0x59d561(0x121)+_0x5a981d),console[_0x59d561(0x1ad)](_0x100df4[_0x59d561(0x231)]);}else{if(_0xa66845)console[_0x59d561(0x1ad)]('\x0a'+_0xa66845+'\x0a');else _0x2aecaf&&console['error']('\x0aError:\x20'+_0x2aecaf[_0x59d561(0x1fe)]+'\x0a');}await logDesirePath({'rawCommand':_0x137f1a,'errorMessage':_0xa66845||_0x2aecaf?.[_0x59d561(0x1fe)],'errorType':_0x4fc010});const _0xb3bcaa=_0x100df4['vUxGH'](getCurrentCollector);_0xb3bcaa&&await _0xb3bcaa[_0x59d561(0x12c)](_0x2aecaf||new Error(_0x100df4['TxtiB'](_0xa66845,'Unknown\x20error'))),process[_0x59d561(0x1c6)](0x1);})['epilogue'](_0x100df4['LWuCp']+_0x100df4['RqxZp']+_0x100df4[_0x540431(0x2a3)])[_0x540431(0x2b5)]()[_0x540431(0x1e0)](_0x100df4['lRpTC'],'h');}process[_0x53c1e4(0x113)][_0x53c1e4(0x24b)]!==_0x53c1e4(0x189)&&(shouldShowLegacyWarning(process[_0x53c1e4(0x19c)])&&showLegacyDeprecationWarning(),buildParser()[_0x53c1e4(0x1dd)]());