@ranger-testing/ranger-cli 2.5.4-alpha.bc88254-5 → 2.5.4-alpha.f6504c0-8

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 (80) 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/env.js +1 -1
  7. package/build/commands/feature.js +1 -1
  8. package/build/commands/hook.js +1 -1
  9. package/build/commands/hooks/autoPrompt.js +1 -1
  10. package/build/commands/hooks/disable.js +1 -1
  11. package/build/commands/hooks/enable.js +1 -1
  12. package/build/commands/hooks/exitPlanMode.js +1 -1
  13. package/build/commands/hooks/index.js +1 -1
  14. package/build/commands/hooks/output.js +1 -1
  15. package/build/commands/hooks/planReminder.js +1 -1
  16. package/build/commands/hooks/planStart.js +1 -1
  17. package/build/commands/hooks/postEdit.js +1 -1
  18. package/build/commands/hooks/preCompact.js +1 -1
  19. package/build/commands/hooks/sessionEnd.js +1 -1
  20. package/build/commands/hooks/sessionStart.js +1 -1
  21. package/build/commands/hooks/stopHook.js +1 -1
  22. package/build/commands/index.js +1 -1
  23. package/build/commands/login.js +1 -1
  24. package/build/commands/mcpBootstrap.js +1 -1
  25. package/build/commands/migrateProfile.js +1 -1
  26. package/build/commands/setup/claude.js +1 -1
  27. package/build/commands/setup/opencode.js +1 -1
  28. package/build/commands/setupCi.js +1 -1
  29. package/build/commands/skillup.js +1 -1
  30. package/build/commands/start.js +1 -1
  31. package/build/commands/status.js +1 -1
  32. package/build/commands/update.js +1 -1
  33. package/build/commands/updateEnv.js +1 -1
  34. package/build/commands/useEnv.js +1 -1
  35. package/build/commands/utils/activeProfile.js +1 -1
  36. package/build/commands/utils/agentEnv.js +1 -1
  37. package/build/commands/utils/browserSessionsApi.js +1 -1
  38. package/build/commands/utils/claudeConfig.js +1 -1
  39. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  40. package/build/commands/utils/claudePlugin.js +1 -1
  41. package/build/commands/utils/cloudProfile.js +1 -1
  42. package/build/commands/utils/cloudProfileSession.js +1 -1
  43. package/build/commands/utils/crypto.js +1 -1
  44. package/build/commands/utils/desirePathLog.js +1 -1
  45. package/build/commands/utils/deviceAuth.js +1 -1
  46. package/build/commands/utils/environment.js +1 -1
  47. package/build/commands/utils/featureApi.js +1 -1
  48. package/build/commands/utils/fixWebmDuration.js +1 -1
  49. package/build/commands/utils/gitTracked.js +1 -1
  50. package/build/commands/utils/keychain.js +1 -1
  51. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  52. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  53. package/build/commands/utils/mcpImageBase64.js +1 -1
  54. package/build/commands/utils/model.js +1 -1
  55. package/build/commands/utils/opencodeConfig.js +1 -1
  56. package/build/commands/utils/playwrightCli.js +1 -1
  57. package/build/commands/utils/profileMessages.js +1 -1
  58. package/build/commands/utils/profileSetupBanner.js +1 -1
  59. package/build/commands/utils/projectsConfig.js +1 -1
  60. package/build/commands/utils/rangerConfig.js +1 -1
  61. package/build/commands/utils/rangerRoot.js +1 -1
  62. package/build/commands/utils/resolveProfileContext.js +1 -1
  63. package/build/commands/utils/resolveProfileUrl.js +1 -1
  64. package/build/commands/utils/retry.js +1 -1
  65. package/build/commands/utils/sessionCache.js +1 -1
  66. package/build/commands/utils/settings.js +1 -1
  67. package/build/commands/utils/skillContent.js +1 -1
  68. package/build/commands/utils/skills.js +1 -1
  69. package/build/commands/utils/stitchWebmFiles.js +1 -1
  70. package/build/commands/utils/telemetry.js +1 -1
  71. package/build/commands/utils/tokenRefresh.js +1 -1
  72. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  73. package/build/commands/utils/userApi.js +1 -1
  74. package/build/commands/utils/version.js +1 -1
  75. package/build/commands/verifyFeature.js +1 -1
  76. package/build/commands/verifyFeatureCli.js +1 -1
  77. package/build/skills/ranger/SKILL.md +17 -4
  78. package/build/skills/ranger/create.md +6 -0
  79. package/build/skills/ranger/verify.md +13 -11
  80. package/package.json +1 -1
package/build/cli.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const _0x4f3969=_0x1065;(function(_0x45a210,_0xac6257){const _0x17d01a=_0x1065,_0x2e431a=_0x45a210();while(!![]){try{const _0x45ebb7=-parseInt(_0x17d01a(0x1d4))/0x1+parseInt(_0x17d01a(0x145))/0x2+-parseInt(_0x17d01a(0x255))/0x3+parseInt(_0x17d01a(0x214))/0x4*(-parseInt(_0x17d01a(0x21a))/0x5)+parseInt(_0x17d01a(0x147))/0x6+parseInt(_0x17d01a(0xe2))/0x7*(parseInt(_0x17d01a(0xd9))/0x8)+-parseInt(_0x17d01a(0x18d))/0x9*(-parseInt(_0x17d01a(0xff))/0xa);if(_0x45ebb7===_0xac6257)break;else _0x2e431a['push'](_0x2e431a['shift']());}catch(_0x49b028){_0x2e431a['push'](_0x2e431a['shift']());}}}(_0x36f0,0xacfee));import _0xd33391 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x135f42=_0x1065,_0x51f608={'XocWf':function(_0x56fd7c,_0x40d239){return _0x56fd7c!==_0x40d239;},'JrlKX':function(_0x4c5e63,_0x741ff5){return _0x4c5e63(_0x741ff5);},'sjecw':'.ranger','BXfer':function(_0xe9f035,_0x4aca08,_0x14ae6c){return _0xe9f035(_0x4aca08,_0x14ae6c);},'sKSKS':_0x135f42(0x131)};let _0x1ced70=process[_0x135f42(0x188)]();const _0x4c8b17=parse(_0x1ced70)[_0x135f42(0xf1)];while(_0x51f608['XocWf'](_0x1ced70,_0x4c8b17)){if(_0x51f608[_0x135f42(0x1ee)](existsSync,join(_0x1ced70,_0x51f608[_0x135f42(0x260)]))||existsSync(_0x51f608[_0x135f42(0x1eb)](join,_0x1ced70,_0x51f608[_0x135f42(0x1c9)])))return _0x1ced70;_0x1ced70=_0x51f608['JrlKX'](dirname,_0x1ced70);}return process['cwd']();}function _0x1065(_0x40a45b,_0x415522){_0x40a45b=_0x40a45b-0x92;const _0x36f00d=_0x36f0();let _0x1065f8=_0x36f00d[_0x40a45b];return _0x1065f8;}_0xd33391[_0x4f3969(0x11a)]({'path':join(findProjectRoot(),'.env')});import _0x2edbe2 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on'](_0x4f3969(0x16d),async _0x19d4ee=>{const _0x41a38e={'wUfhS':function(_0x437910){return _0x437910();}},_0x406ae7=_0x41a38e['wUfhS'](getCurrentCollector);_0x406ae7&&await _0x406ae7['trackCommandError'](_0x19d4ee),process['exitCode']=0x1;});function _0x36f0(){const _0x166db1=['auth','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\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\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x20\x20migrate\x20[<profile>]\x20\x20\x20\x20\x20\x20\x20Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20migrate\x20--all\x20--dry-run','with-deps','--profile','Scenario\x20description','MzoLg','env','Feature\x20review\x20name','task','tokenOrSubcommand','aoREf','mcp','ICyKT','usage','add\x20env\x20<env-name>','NeWsR','Config\x20value','YwMXE','\x0aError:\x20','.\x20[','profile\x20add','dry-run','ranger\x20profile\x20update','boolean','url','KGLYb','zWONq','item','MHGXQ','Install\x20skills\x20for\x20OpenCode','array','force','show\x20[id]','current-branch','json','hook:enable','report','enable','ranger\x20profile\x20config\x20set','RANGER_PROFILE','edit-scenario\x20<description>','SFbum','RllvJ','yaWFy','16DXPeBu','fBgIn','GHzyh','TsLSO','vLKco','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','ZxwUG','Cloud\x20profile\x20name','eEQKA','1569106GTgLwD','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','get-review\x20[id]','xWYWQ','value','restore\x20<id>','cxdHP','Lejll','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','fPoTt','dcTOA','cleuj','demandCommand','Ranger\x20API\x20token\x20(rngr_...)','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','root','Unknown\x20error','Print\x20the\x20current\x20CLI\x20access\x20token','kheXx','disable','reset\x20<profile>','ranger\x20feature\x20create','uLZad','SARgk','profile\x20config\x20unset','cNieb','add\x20env','delete','Config\x20key','6180FYXkKS','resume','lScpd','zoEoo','string','TGDrw','YXduf','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','Name\x20of\x20the\x20environment\x20to\x20update','skip-auth','XVeLK','PgpXB','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','partial','dmvdY','profile\x20config\x20get','test_output','bOuzB','setup:all','QvweT','RoPHB','Config\x20key\x20to\x20remove','pTULP','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','JIqKw','command','qbjvR','config','show','Authenticate\x20via\x20MCP\x20proxy','\x20PARTIAL','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','Feature\x20review\x20ID','profile\x20config\x20set','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','pyVbp','PZNiu','add\x20<profile-name>','Authenticate\x20with\x20Ranger','limit','OKLbh','CVWeu','VpwTX','ILtCa','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','zrefy','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','sRdOx','hook','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','.env','Update\x20authentication\x20for\x20an\x20existing\x20profile','ranger\x20go','yyrWk','ranger\x20profile\x20ls','novZq','HWGpa','CyAEY','iHCzI','zaGpv','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','Restore\x20a\x20soft-deleted\x20feature\x20review','kwrYl','GutHx','verify-feature','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','laYWs','positional','yes','rcSnz','703266ukfAoI','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','626166hFFccY','sHGmM','checklist','exclude-scenario','louPB','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','incomplete','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','Add\x20profile\x20configuration','Wiwfn','OHjED','NWPRD','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','ULPlh','IegJE','CAcIQ','issues','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','--notes','YobWz','fVjHB','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','aBBVm','QfOIS','profile','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','message','mcp-bootstrap','nBlIt','fvMlb','user','hDVns','ranger\x20show','length','notes','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','add-scenario\x20<description>','profile\x20config\x20reset','unhandledRejection','list\x20<env>','mUghn','DUeOn','unknown\x20error','SoWVW','KHVWZ','Example:\x20ranger\x20create\x20my-feature','AtTCQ','EcOCC','option','Unknown\x20command','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','clean','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','SLcwX','ranger','FBhMd','cCLdq','Skip\x20Chromium\x20browser\x20installation','pgqob','use\x20<env-name>','FcKlT','status','restore','yZNKw','GlWPp','cwd','feature\x20get-feedback','ranger\x20auth\x20encrypt','miZmX','sTcuU','21501FBYvjx','JVCLp','NBDja','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','KFazf','Name\x20of\x20the\x20environment','base-url','List\x20all\x20profiles','Reason:\x20','OxOIY','setup:profiles','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','Install\x20scope\x20for\x20plugin\x20and\x20skills','eUypO','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','NiWKH','ranger\x20profile\x20config\x20get','BglqR','Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)','oxIoj','include-deleted','zhHDo','ranger\x20profile\x20use','jBuhb','setup-ci\x20<token>','tdhvP','NhVhO','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','slice','Profile\x20name','RKvQt','Scenario\x20number\x20to\x20edit\x20(1-based)','all','LJRtZ','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','update\x20<env-name>','print-access-token','evaluation','ranger\x20profile\x20encrypt-auth','help','miadn','frnaR','Where\x20to\x20store\x20the\x20profile','ubMRh','update\x20<profile-name>','offset','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','name','YLgsl','profiles','zvCFR','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','cdp-endpoint','fGTIE','XFxVj','LHszE','Scenario\x20index\x20(1-based)','ViGNY','Skip\x20browser\x20authentication','scenario','sKSKS','SEqEu','start-path','rJYMr','key','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','gYcnU','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','AioVb','Gnpzs','432257dpSdFj','--scenario','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','FOFUK','BqhWc','ranger\x20add-scenario','scriptName','Czbhp','lOLvv','Skip\x20authentication','Optional\x20feature\x20ID','log','report\x20[id]','env\x20update','fmEIx','mXHID','wWzbi','CqPFI','feature\x20resume','QbGfI','edit-scenario','griXF','KqkXG','BXfer','tqhHZ','goujk','JrlKX','description','Name\x20of\x20the\x20profile\x20to\x20update','skip-chromium','Summary:\x20','uNgFI','add-checklist-item\x20<description>','\x20VERIFIED','CeuSH','ranger\x20feature\x20resume','ranger\x20config\x20unset','Feature\x20review\x20description','yWjmx','kAZMx','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile\x20(cloud\x20profiles\x20only)','dvdFs','number','failed','YbWzF','kPgLU','Subcommand\x20or\x20API\x20token\x20(rngr_...)','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','error','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','get\x20<profile>\x20<key>','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','cZCvk','kmBet','test','update','login','version','GitgC','\x0aUnknown\x20command:\x20','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','cXnKz','map','save-creds','25052eDUxeC','list','HlqSZ','mgXXJ','HXAVr','lwRYG','370VqDhcU','XeHMx','GjBHZ','scope','You\x20must\x20specify\x20a\x20config\x20subcommand','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','HGUtP','create\x20<name>','allow-insecure-localhost','deps','opencode','ycJPq','pXFAQ','model','GIbSo','AdLQI','ezFgJ','uWnrK','cKtTV','kkKaE','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','Switch\x20to\x20using\x20a\x20specific\x20profile','exit','setup-header','VhoCh','HtqDx','\x20\x20https://docs.ranger.net\x0a','\x20is\x20now\x20','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','pcJwi','login\x20<name>','jNiaw','ranger\x20create','RYKoe','tndLw','EgIzg','ranger\x20feature\x20delete','summary','ranger\x20config\x20list','ranger\x20config\x20set','get\x20<env>\x20<key>','not_configured','session-id','rgROo','ohsSn','debug-outcome','iPnYi','LvLIT','Alias\x20for\x20--mcp-bootstrap','qINQG','Name\x20of\x20the\x20profile','✓\x20Authenticated\x20to\x20','repeat','Manage\x20profiles','setup-ci','profile-name','Uewsa','lcCmK','Include\x20soft-deleted\x20feature\x20reviews','2329209jjvqqf','feature\x20show','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','organizationName','argv','LaAiE','token','list\x20<profile>','setup:skills','jYrCl','hSUao','sjecw','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','nCKwS','Login\x20failed:\x20','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','piemM','GGmeF','zVdpn','env-name','trackCommandError','jRznD','vTUeO','use\x20<profile-name>','bhCOX','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','ngJJo','set\x20<profile>\x20<key>\x20<value>','\x27.\x20Session\x20written\x20to\x20cloud\x20profile.','qnExo','yOkop','resume\x20[id]','CIVOg','delete\x20[id]','encrypt\x20<profile>','drzWh','feature\x20restore','Number\x20of\x20feature\x20reviews\x20to\x20skip','project','feature\x20list'];_0x36f0=function(){return _0x166db1;};return _0x36f0();}const rawArgs=process['argv'][_0x4f3969(0x1a9)](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\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\x20Set\x20up\x20a\x20local\x20browser\x20profile\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/update/config/encrypt-auth)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\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\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\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=_0x4f3969(0xae),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aProfile\x20config.\x20Routes\x20automatically\x20based\x20on\x20where\x20the\x20profile\x20lives:\x0a\x20\x20-\x20Local\x20profiles\x20write\x20to\x20.ranger/<env>/settings.json\x0a\x20\x20-\x20Cloud\x20profiles\x20write\x20a\x20local\x20overlay\x20in\x20~/.ranger/projects.json\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\x20(effective\x20value\x20for\x20cloud\x20profiles)\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\x20local\x20overrides\x20(cloud\x20profiles\x20only)\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override\x20for\x20cloud\x20profiles)\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(_0x1f65cf,_0x8bd015){const _0x3e2eab=_0x4f3969;console['error']('\x0a'+_0x1f65cf+_0x3e2eab(0x235)+_0x8bd015+'\x0a');}function argUsed(_0x33e021){return rawArgs['some'](_0x2584e3=>_0x2584e3===_0x33e021||_0x2584e3['startsWith'](_0x33e021+'='));}function warnFlagRenamed(_0x913a,_0x290255,_0x5bdd7b){const _0x45e1b6={'XAbzs':function(_0x3f7fbf,_0xe3594a){return _0x3f7fbf(_0xe3594a);},'zxThS':function(_0xec6471,_0x40a9f6,_0xb34b1d){return _0xec6471(_0x40a9f6,_0xb34b1d);}};_0x45e1b6['XAbzs'](argUsed,_0x290255)&&_0x45e1b6['zxThS'](warnRenamed,_0x913a+'\x20'+_0x290255,_0x913a+'\x20'+_0x5bdd7b);}async function runGoCommand(_0x48e958,_0x5f45db=![]){const _0x494a25=_0x4f3969,_0x1a6646={'EZjnG':function(_0x542246,_0x535d4e,_0x3dd7db){return _0x542246(_0x535d4e,_0x3dd7db);},'zfKwr':'ranger\x20verify-feature','VhoCh':'ranger\x20go','NJhIg':_0x494a25(0xb0),'rLWaH':function(_0x367468,_0x208f7a,_0x5f1c4d,_0x5f4bcf){return _0x367468(_0x208f7a,_0x5f1c4d,_0x5f4bcf);},'ADtqb':function(_0x15cb10){return _0x15cb10();},'Czbhp':function(_0x4deebd,_0x4ee006){return _0x4deebd(_0x4ee006);},'Wiwfn':'base-url','ULPlh':'debug-address-comments','ICyKT':function(_0x97d8b1,_0x16a35c){return _0x97d8b1+_0x16a35c;},'YXduf':'verified','BLqrr':'\x20INCOMPLETE','GutHx':_0x494a25(0x10c),'AfUBz':_0x494a25(0x11d),'GHzyh':function(_0x45881b,_0x5dffaf){return _0x45881b===_0x5dffaf;},'UwDhk':'blocked','Uewsa':'\x20FAILED','tdhvP':'\x0aIssues:'};_0x5f45db&&_0x1a6646['EZjnG'](warnRenamed,_0x1a6646['zfKwr'],_0x1a6646[_0x494a25(0x232)]);warnFlagRenamed('ranger\x20go','--env',_0x1a6646['NJhIg']),warnFlagRenamed(_0x494a25(0x133),'--task',_0x494a25(0x159)),_0x1a6646['rLWaH'](warnFlagRenamed,_0x1a6646['VhoCh'],'--item','--scenario');const _0x281d5f=await loadRangerConfig(),_0x3dcf41=_0x1a6646['ADtqb'](isByokEnabled),_0x3ef4a1=_0x48e958[_0x494a25(0x227)],_0x366e24=_0x281d5f['model'],_0x36518d=await _0x1a6646[_0x494a25(0x1db)](verifyFeature,{'featureId':_0x48e958['feature'],'profile':_0x48e958['profile']??_0x48e958[_0x494a25(0xb3)]??process[_0x494a25(0xb3)][_0x494a25(0xd4)],'notes':_0x48e958['notes']??_0x48e958[_0x494a25(0xb5)],'scenario':_0x48e958[_0x494a25(0x1c8)]??_0x48e958['item'],'startPath':_0x48e958['start-path'],'baseUrl':_0x48e958[_0x1a6646[_0x494a25(0x150)]],'debugOutcome':_0x48e958['debug-outcome'],'debugAddressComments':_0x48e958[_0x1a6646[_0x494a25(0x154)]],'headed':_0x48e958['headed'],'byokEnabled':_0x3dcf41,'flagVerifyModel':_0x3ef4a1,'configVerifyModel':_0x366e24});console[_0x494a25(0x1df)](_0x1a6646[_0x494a25(0xb9)]('\x0a','='[_0x494a25(0x24e)](0x3c))),console[_0x494a25(0x1df)](_0x36518d[_0x494a25(0x1b2)]===_0x1a6646['YXduf']?_0x494a25(0x1f5):_0x36518d['evaluation']==='incomplete'?_0x1a6646['BLqrr']:_0x36518d['evaluation']===_0x1a6646[_0x494a25(0x13e)]?_0x1a6646['AfUBz']:_0x1a6646[_0x494a25(0xdb)](_0x36518d[_0x494a25(0x1b2)],_0x1a6646['UwDhk'])?'\x20BLOCKED':_0x1a6646[_0x494a25(0x252)]),console[_0x494a25(0x1df)]('='['repeat'](0x3c)),console['log'](_0x494a25(0x1f2)+_0x36518d[_0x494a25(0x23f)]),console['log']('Evaluation:\x20'+_0x36518d[_0x494a25(0x1b2)]),console[_0x494a25(0x1df)](_0x494a25(0x195)+_0x36518d['evaluationReason']),_0x36518d[_0x494a25(0x157)]?.[_0x494a25(0x168)]&&(console['log'](_0x1a6646[_0x494a25(0x1a6)]),_0x36518d['issues']['forEach']((_0x614e21,_0x541e0d)=>{const _0x54e78f=_0x494a25;console['log']('\x0a'+(_0x541e0d+0x1)+_0x54e78f(0xc0)+_0x614e21['severity']+']\x20'+_0x614e21['description']);})),process['exit'](_0x1a6646['GHzyh'](_0x36518d['evaluation'],_0x1a6646[_0x494a25(0x105)])?0x0:0x1);}export function buildParser(_0x5111b1){const _0x3b6247=_0x4f3969,_0x1bf278={'AioVb':'name','Gnpzs':'string','LHszE':_0x3b6247(0xb4),'kylKf':'description','YUYbz':_0x3b6247(0x1f9),'nBlIt':'scenario','laYWs':_0x3b6247(0xcb),'bOuzB':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','Lejll':_0x3b6247(0x21f),'GIbSo':_0x3b6247(0x174),'noWzz':function(_0x5ed065,_0x4d9622,_0x1baecd,_0x19f8e8){return _0x5ed065(_0x4d9622,_0x1baecd,_0x19f8e8);},'wxrWe':'ranger\x20create','fkhjo':'--checklist','fDxLb':'--scenario','eeHvi':'create','zvCFR':'boolean','yZNKw':_0x3b6247(0x126),'NWPRD':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','JVCLp':_0x3b6247(0x1fe),'HlqSZ':_0x3b6247(0xaa),'zVdpn':function(_0x24eeed,_0x54d032,_0x14363f){return _0x24eeed(_0x54d032,_0x14363f);},'MHGXQ':_0x3b6247(0x11f),'bhCOX':function(_0x2eb6f8,_0x42abb9,_0x57495d){return _0x2eb6f8(_0x42abb9,_0x57495d);},'rGHOH':_0x3b6247(0x11b),'XJVRZ':_0x3b6247(0x10b),'FlUqG':_0x3b6247(0x100),'CjqeH':_0x3b6247(0xb1),'GlWPp':_0x3b6247(0x210),'RllvJ':_0x3b6247(0x1ac),'lScpd':function(_0xb91929,_0x14c6b4,_0x4d9f65){return _0xb91929(_0x14c6b4,_0x4d9f65);},'ubMRh':_0x3b6247(0x14a),'HtqDx':function(_0x1c6c8f,_0x38277f,_0x292132){return _0x1c6c8f(_0x38277f,_0x292132);},'LaAiE':function(_0xef5362,_0x3fa4c2,_0x9a0e1){return _0xef5362(_0x3fa4c2,_0x9a0e1);},'ezFgJ':'get-review','OWSCd':function(_0x37f5da,_0x436917,_0x19f8be){return _0x37f5da(_0x436917,_0x19f8be);},'mXHID':'Feature\x20review\x20ID\x20to\x20restore','sHGmM':function(_0x4af2ad,_0xd5ca48,_0x515014){return _0x4af2ad(_0xd5ca48,_0x515014);},'bxUkw':function(_0x520729,_0x41cc4e,_0x5e76d9){return _0x520729(_0x41cc4e,_0x5e76d9);},'IMsrg':_0x3b6247(0x111),'sTcuU':_0x3b6247(0xaf),'eTCuP':'token','DCJXN':'mcp','DzrHo':_0x3b6247(0x11c),'SFbum':_0x3b6247(0x21d),'fvMlb':_0x3b6247(0x197),'pXFAQ':_0x3b6247(0x1f1),'fVjHB':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','izjfl':'url','hgjfd':'mcp-bootstrap','tqhHZ':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','SEqEu':function(_0x4e4932,_0x2423e9){return _0x4e4932(_0x2423e9);},'BwdZB':'setup:login','LxMDq':function(_0x502632){return _0x502632();},'OxOIY':_0x3b6247(0x1b7),'TGDrw':_0x3b6247(0x222),'JIqKw':_0x3b6247(0x202),'uuqOT':'Run\x20full\x20interactive\x20setup','cXnKz':_0x3b6247(0x223),'XVeLK':'Install\x20Chromium\x20browser\x20binary','eEQKA':'skills','ENmdj':_0x3b6247(0x121),'vbiQx':_0x3b6247(0x94),'iHCzI':'skip-auth','zhHDo':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','FcKlT':'API\x20token','zLlea':'start','cxdHP':'Ranger\x20API\x20token','GitgC':'profile','YobWz':_0x3b6247(0x193),'piemM':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','PYRwq':_0x3b6247(0x180),'qrwiz':_0x3b6247(0x250),'IPwAT':'login','MGOYv':'Install\x20scope\x20for\x20skills','AehSr':function(_0x2211cc,_0xb4b32a){return _0x2211cc(_0xb4b32a);},'gpVHu':_0x3b6247(0x251),'drzWh':_0x3b6247(0x24c),'nCKwS':function(_0x1ebe72,_0x5b8d16,_0x15d077){return _0x1ebe72(_0x5b8d16,_0x15d077);},'zefwH':'profile\x20use','zWONq':function(_0x57daa7,_0x175ebc,_0x463845){return _0x57daa7(_0x175ebc,_0x463845);},'bKuqv':'profile\x20login','zQSBn':'all','rgROo':'Skip\x20interactive\x20confirmation\x20prompts.','KJnuJ':_0x3b6247(0x1bb),'XbtRC':'profile\x20migrate','MTbIv':_0x3b6247(0xde),'BTMUP':_0x3b6247(0x16a),'zoEoo':_0x3b6247(0x1c0),'Vuwpz':_0x3b6247(0x1aa),'EBqVM':_0x3b6247(0xe0),'BqhWc':_0x3b6247(0x236),'YZpLt':_0x3b6247(0x120),'uLZad':'key','LKVNg':_0x3b6247(0x16c),'esuFn':'Set\x20a\x20config\x20value','kAZMx':_0x3b6247(0x25c),'zrefy':'List\x20all\x20config\x20for\x20a\x20profile','eBPVn':'unset\x20<profile>\x20<key>','frnaR':_0x3b6247(0xf6),'xBiPP':_0x3b6247(0x1fc),'KGLYb':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','HXAVr':_0x3b6247(0x124),'YDfpG':'encrypt-auth\x20<profile>','kiHvI':_0x3b6247(0x106),'lRios':_0x3b6247(0x132),'CqPFI':_0x3b6247(0x238),'NiWKH':'migrate\x20[profile-name]','pJODg':'Manage\x20profile\x20configuration','CIVOg':function(_0x52991d,_0x43eab5,_0x4be0c1){return _0x52991d(_0x43eab5,_0x4be0c1);},'yaWFy':function(_0x5bc65d,_0x167c02,_0x49940d){return _0x5bc65d(_0x167c02,_0x49940d);},'mgXXJ':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','zaGpv':'feature','ldxYP':_0x3b6247(0x1de),'BFGoT':_0x3b6247(0x169),'vLKco':_0x3b6247(0x17b),'dcTOA':_0x3b6247(0x1c5),'iPnYi':'model','cZCvk':'headed','gszfP':'blocked','fGTIE':'debug-address-comments','NIerT':function(_0x27a85f,_0x3cb698){return _0x27a85f(_0x3cb698);},'EcOCC':_0x3b6247(0x165),'lWYTs':'project','CWjMk':'force','PgpXB':'Skip\x20authentication','VePVU':'ranger\x20start','XLTFN':function(_0x2e59db,_0x464eda,_0x29261a){return _0x2e59db(_0x464eda,_0x29261a);},'TsLSO':'env','yWjmx':_0x3b6247(0xb5),'fmEIx':_0x3b6247(0x1af),'pcJwi':_0x3b6247(0x1cb),'ftTzW':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','HGUtP':'debug-outcome','jBuhb':'verified','AdLQI':'partial','FMliv':'failed','UDaTm':_0x3b6247(0x98),'digbC':_0x3b6247(0x140),'mQLkH':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','RbzNO':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','UBJpA':_0x3b6247(0xfc),'NeWsR':_0x3b6247(0x192),'YwMXE':function(_0x4aa7e6,_0x922740,_0x1fd91d){return _0x4aa7e6(_0x922740,_0x1fd91d);},'fPoTt':'Environment\x20name','eUypO':_0x3b6247(0x114),'LxXMk':'value','lJThg':_0x3b6247(0xd3),'fVbYx':function(_0x56f5fb,_0x1d3fd8,_0x11fc9b){return _0x56f5fb(_0x1d3fd8,_0x11fc9b);},'PZNiu':'config\x20set','HBtdL':'set\x20<env>\x20<key>\x20<value>','hATrN':_0x3b6247(0x242),'SLcwX':'unset\x20<env>\x20<key>','TZQAw':_0x3b6247(0xc3),'rJYMr':_0x3b6247(0x1e1),'czXAD':'ranger\x20env\x20ls','wWzbi':_0x3b6247(0x1b0),'OYneA':'You\x20must\x20specify\x20an\x20env\x20subcommand','kPgLU':'current-branch','dmvdY':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','hQZpn':_0x3b6247(0x1ba),'WpTJx':'ranger\x20feature\x20show','hboEA':function(_0x338a47,_0xa3fde2,_0x2d2d21){return _0x338a47(_0xa3fde2,_0x2d2d21);},'EgIzg':function(_0x1983ae,_0x3da873,_0x3b601d){return _0x1983ae(_0x3da873,_0x3b601d);},'YLgsl':_0x3b6247(0x1f7),'pTULP':function(_0x2bad11,_0x4de635,_0xfd436a){return _0x2bad11(_0x4de635,_0xfd436a);},'SzaxA':'ranger\x20feature\x20restore','qnExo':function(_0x5cc16b,_0x35340f,_0x179b77){return _0x5cc16b(_0x35340f,_0x179b77);},'AWqCL':'ranger\x20feature\x20add-checklist-item','fwUAM':_0x3b6247(0x189),'goujk':_0x3b6247(0x221),'FLLGH':_0x3b6247(0xcd),'OKLbh':'get-feedback\x20[id]','jRznD':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','DUeOn':_0x3b6247(0xd0),'ohsSn':_0x3b6247(0x116),'FBLfn':_0x3b6247(0x11e),'SoWVW':'session-id','fHIRa':function(_0x5d0709,_0x2d427c){return _0x5d0709(_0x2d427c);},'IegJE':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','aoREf':function(_0x5d84ea,_0x3581e6){return _0x5d84ea(_0x3581e6);},'RKvQt':_0x3b6247(0xf2),'oxIoj':_0x3b6247(0xe3),'kmBet':'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','CeuSH':_0x3b6247(0xa4),'KjzgF':_0x3b6247(0x16b),'RkCcY':_0x3b6247(0x262),'novZq':_0x3b6247(0x1e0),'KHVWZ':_0x3b6247(0xe4),'vyFzV':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','griXF':_0x3b6247(0xe7),'yyrWk':'Initialize\x20Ranger\x20in\x20your\x20project','qbjvR':'Install\x20Ranger\x20skills','VDdkO':_0x3b6247(0x17a),'RAkBj':_0x3b6247(0x15c),'ZxwUG':_0x3b6247(0x24f),'pyVbp':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','bGtxZ':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','KEjTS':'print-access-token','tndLw':'Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','glfcv':_0x3b6247(0xad),'yOkop':'start\x20[token]','vTUeO':_0x3b6247(0x182),'hjquk':_0x3b6247(0x12f),'SARgk':'You\x20must\x20specify\x20a\x20command','LvLIT':function(_0x3d03cc,_0x340fb1){return _0x3d03cc+_0x340fb1;},'xWYWQ':_0x3b6247(0x234)};return _0x1bf278[_0x3b6247(0xb7)](_0x2edbe2,_0x5111b1??process['argv']['slice'](0x2))[_0x3b6247(0x1da)](_0x3b6247(0x17d))[_0x3b6247(0xba)](TOP_LEVEL_HELP)[_0x3b6247(0x20d)](getCurrentVersion())['command'](_0x1bf278[_0x3b6247(0x1ed)],_0x1bf278[_0x3b6247(0x1a0)],_0x5b0b34=>{const _0x50f485=_0x3b6247;return _0x5b0b34['positional'](_0x1bf278['AioVb'],{'type':_0x1bf278[_0x50f485(0x1d3)],'description':_0x1bf278[_0x50f485(0x1c4)],'demandOption':!![]})[_0x50f485(0x177)](_0x1bf278['kylKf'],{'type':_0x50f485(0x103),'alias':'d','description':_0x1bf278['YUYbz']})[_0x50f485(0x177)](_0x1bf278['nBlIt'],{'type':_0x1bf278[_0x50f485(0x141)],'alias':'c','description':_0x1bf278[_0x50f485(0x110)]})['option']('checklist',{'type':'array','hidden':!![]});},async _0x1cdbad=>{const _0x8f0bcc=_0x3b6247;if(!_0x1cdbad[_0x8f0bcc(0x1bc)]){console['error'](_0x1bf278[_0x8f0bcc(0xe9)]+_0x1bf278[_0x8f0bcc(0x228)]),process[_0x8f0bcc(0x230)](0x1);return;}_0x1bf278['noWzz'](warnFlagRenamed,_0x1bf278['wxrWe'],_0x1bf278['fkhjo'],_0x1bf278['fDxLb']);const _0xe80101=_0x1cdbad[_0x8f0bcc(0x1c8)]||_0x1cdbad['checklist'];await withTelemetry(_0x1bf278['eeHvi'],()=>featureCreate(_0x1cdbad['name'],{'description':_0x1cdbad[_0x8f0bcc(0x1ef)],'scenarios':_0xe80101}));})[_0x3b6247(0x118)]('list','List\x20all\x20feature\x20reviews',_0x3ec5fa=>{const _0xe1d480=_0x3b6247;return _0x3ec5fa[_0xe1d480(0x177)](_0xe1d480(0xce),{'type':_0x1bf278['zvCFR'],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})[_0xe1d480(0x177)](_0x1bf278['yZNKw'],{'type':'number','alias':'l','description':_0x1bf278[_0xe1d480(0x152)],'default':0xa})['option']('offset',{'type':_0x1bf278[_0xe1d480(0x18e)],'alias':'o','description':_0x1bf278[_0xe1d480(0x216)],'default':0x0})['option'](_0xe1d480(0x1a1),{'type':_0xe1d480(0xc4),'alias':'d','description':_0xe1d480(0x254),'default':![]});},async _0x2b9f92=>{const _0x306130=_0x3b6247;await _0x1bf278['zVdpn'](withTelemetry,_0x306130(0x215),()=>featureList({'currentBranch':_0x2b9f92[_0x306130(0xce)],'limit':_0x2b9f92[_0x306130(0x126)],'offset':_0x2b9f92['offset'],'includeDeleted':_0x2b9f92['include-deleted']}));})['command']('show\x20[id]',_0x1bf278[_0x3b6247(0x209)],_0x442b74=>{const _0x5eb8dd=_0x3b6247;return _0x442b74[_0x5eb8dd(0x142)]('id',{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278['MHGXQ']});},async _0x97e3b=>{await _0x1bf278['bhCOX'](withTelemetry,_0x1bf278['rGHOH'],()=>featureShow(_0x97e3b['id']));})[_0x3b6247(0x118)](_0x1bf278[_0x3b6247(0x1f6)],_0x3b6247(0x160),_0x182c45=>{const _0x1ef7f8=_0x3b6247;return _0x182c45[_0x1ef7f8(0x142)]('id',{'type':_0x1bf278[_0x1ef7f8(0x1d3)],'description':_0x1bf278['XJVRZ']});},async _0x286fee=>{await withTelemetry(_0x1bf278['FlUqG'],()=>featureResume(_0x286fee['id']));})[_0x3b6247(0x118)](_0x1bf278['KjzgF'],_0x1bf278['RkCcY'],_0x353c5b=>{const _0x2cb8e9=_0x3b6247;return _0x353c5b[_0x2cb8e9(0x142)]('description',{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278['CjqeH'],'demandOption':!![]})[_0x2cb8e9(0x177)]('id',{'type':_0x1bf278[_0x2cb8e9(0x1d3)],'description':_0x1bf278[_0x2cb8e9(0x187)]});},async _0x483e16=>{await withTelemetry('add-scenario',()=>featureAddScenario(_0x483e16['description'],_0x483e16['id']));})['command'](_0x3b6247(0xd5),_0x3b6247(0x261),_0x232265=>{const _0x369992=_0x3b6247;return _0x232265['positional'](_0x369992(0x1ef),{'type':_0x1bf278[_0x369992(0x1d3)],'description':'New\x20scenario\x20description','demandOption':!![]})['option'](_0x369992(0x1c8),{'type':_0x1bf278['JVCLp'],'description':_0x1bf278[_0x369992(0xd7)],'demandOption':!![]})[_0x369992(0x177)]('id',{'type':_0x369992(0x103),'description':_0x1bf278[_0x369992(0x187)]});},async _0x171f6b=>{const _0x1689e2=_0x3b6247;await _0x1bf278[_0x1689e2(0x101)](withTelemetry,_0x1689e2(0x1e8),()=>featureEditScenario(_0x171f6b['description'],{'id':_0x171f6b['id'],'scenario':_0x171f6b['scenario']}));})['command'](_0x1bf278[_0x3b6247(0x136)],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x505d7f=>{const _0xb99ccd=_0x3b6247;return _0x505d7f['positional']('id',{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278[_0xb99ccd(0xc9)]})['option'](_0x1bf278['ubMRh'],{'type':_0x1bf278[_0xb99ccd(0x141)],'description':_0xb99ccd(0x198)})['option'](_0xb99ccd(0xcf),{'type':'boolean','description':_0xb99ccd(0x1d1),'default':![]});},async _0x349898=>{const _0x2d3b27=_0x3b6247,_0x1fc487=_0x349898[_0x1bf278[_0x2d3b27(0x1b8)]],_0x131096=_0x1fc487?_0x1fc487[_0x2d3b27(0x212)](_0xe46851=>Number(_0xe46851)):undefined;await _0x1bf278[_0x2d3b27(0x233)](withTelemetry,_0x2d3b27(0xd1),()=>featureReportPrDescription(_0x349898['id'],{'excludeScenarios':_0x131096,'json':_0x349898['json']}));})[_0x3b6247(0x118)](_0x1bf278[_0x3b6247(0x173)],_0x3b6247(0x205),_0x41f868=>{const _0x1f2d18=_0x3b6247;return _0x41f868[_0x1f2d18(0x142)]('id',{'type':'string','description':_0x1bf278['GlWPp']});},async _0x300e57=>{const _0x1ba785=_0x3b6247;await _0x1bf278[_0x1ba785(0x25a)](withTelemetry,_0x1bf278[_0x1ba785(0x22a)],()=>featureGetReview(_0x300e57['id']));})[_0x3b6247(0x118)](_0x3b6247(0xa6),_0x1bf278['vyFzV'],_0x35baf8=>{const _0xb4567e=_0x3b6247;return _0x35baf8[_0xb4567e(0x142)]('id',{'type':_0x1bf278[_0xb4567e(0x1d3)],'description':_0x1bf278['MHGXQ']});},async _0xc76f82=>{const _0x34753b=_0x3b6247;await _0x1bf278['OWSCd'](withTelemetry,_0x34753b(0xfd),()=>featureDelete(_0xc76f82['id']));})['command'](_0x1bf278[_0x3b6247(0x1e9)],_0x3b6247(0x13c),_0x45961=>{const _0x32fd6a=_0x3b6247;return _0x45961[_0x32fd6a(0x142)]('id',{'type':'string','description':_0x1bf278['mXHID'],'demandOption':!![]});},async _0x4f741c=>{const _0x19e845=_0x3b6247;await _0x1bf278[_0x19e845(0x9d)](withTelemetry,_0x19e845(0x185),()=>featureRestore(_0x4f741c['id']));})['command']('setup\x20[tokenOrSubcommand]',_0x1bf278[_0x3b6247(0x134)],_0x58efc3=>{const _0x141fa8=_0x3b6247,_0x44961b={'JmNzF':'token','pgqob':_0x141fa8(0x103),'CeoFA':_0x1bf278[_0x141fa8(0x226)],'uNgFI':'boolean','MNEYc':_0x141fa8(0x1dd),'VilHF':_0x1bf278[_0x141fa8(0x15b)],'RoPHB':_0x141fa8(0x199),'eLFXr':_0x1bf278['izjfl'],'HOilM':_0x141fa8(0x22e),'qQhAj':_0x141fa8(0x190),'NhVhO':'opencode','lcCmK':_0x141fa8(0x153),'TnMqp':_0x1bf278['hgjfd'],'cnBpe':_0x1bf278[_0x141fa8(0x1ec)],'kheXx':_0x141fa8(0x24a),'uWnrK':function(_0x583910,_0x4367cc,_0x31c06f){return _0x1bf278['lScpd'](_0x583910,_0x4367cc,_0x31c06f);},'ksTfZ':function(_0x1b6c3b,_0x4800d6){const _0x3318de=_0x141fa8;return _0x1bf278[_0x3318de(0x1ca)](_0x1b6c3b,_0x4800d6);},'cOTeo':function(_0x39ad5c,_0x1d3892,_0x27e09e){return _0x39ad5c(_0x1d3892,_0x27e09e);},'hDVns':_0x1bf278['BwdZB'],'LgXWw':function(_0x410f13){return _0x1bf278['LxMDq'](_0x410f13);},'SbvSl':_0x141fa8(0x25d),'QfOIS':_0x1bf278['SFbum'],'cHdxt':'project','byPFz':_0x1bf278[_0x141fa8(0x196)],'YLXtS':'skip-auth','tAvsG':_0x141fa8(0x1c7),'fyvPv':_0x1bf278[_0x141fa8(0x104)]};return _0x58efc3['usage']('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')['positional']('tokenOrSubcommand',{'type':'string','description':_0x1bf278[_0x141fa8(0x117)]})['command'](_0x141fa8(0x1ad),_0x1bf278['uuqOT'],_0x2ff31d=>{const _0x26e495=_0x141fa8;return _0x2ff31d['option'](_0x44961b['JmNzF'],{'type':_0x44961b['pgqob'],'description':'Ranger\x20API\x20token'})[_0x26e495(0x177)](_0x44961b['CeoFA'],{'type':_0x44961b['uNgFI'],'description':_0x26e495(0x146),'default':![]})[_0x26e495(0x177)](_0x26e495(0x108),{'type':_0x44961b['uNgFI'],'description':_0x44961b['MNEYc'],'default':![]})[_0x26e495(0x177)]('with-deps',{'type':_0x44961b['uNgFI'],'description':_0x44961b['VilHF'],'default':![]})[_0x26e495(0x177)](_0x26e495(0x21d),{'type':_0x44961b['pgqob'],'choices':[_0x26e495(0x165),_0x26e495(0xab)],'description':_0x44961b[_0x26e495(0x113)]})['option'](_0x44961b['eLFXr'],{'type':'string','description':_0x44961b['HOilM']})['option']('force',{'type':_0x44961b['uNgFI'],'description':_0x44961b['qQhAj'],'default':![]})['option'](_0x44961b[_0x26e495(0x1a7)],{'type':_0x26e495(0xc4),'description':_0x26e495(0x179),'default':![]})[_0x26e495(0x177)]('allow-insecure-localhost',{'type':_0x26e495(0xc4),'description':_0x44961b['lcCmK'],'default':![]})['option'](_0x44961b['TnMqp'],{'type':_0x26e495(0xc4),'description':_0x44961b['cnBpe'],'default':![]})['option']('mcp',{'type':'boolean','description':_0x44961b[_0x26e495(0xf4)],'default':![]});},async _0x2b0d02=>{const _0x26615f=_0x141fa8;(_0x2b0d02[_0x26615f(0x162)]||_0x2b0d02[_0x26615f(0xb8)])&&await _0x1bf278[_0x26615f(0x148)](withTelemetry,'mcp-bootstrap',()=>mcpBootstrap()),await _0x1bf278['bxUkw'](withTelemetry,_0x1bf278['IMsrg'],_0x2f196f=>start(_0x2b0d02[_0x26615f(0x25b)],{'skipChromium':_0x2b0d02[_0x26615f(0x1f1)],'skipAuth':_0x2b0d02[_0x26615f(0x108)],'withDeps':_0x2b0d02['with-deps'],'scope':_0x2b0d02['scope'],'url':_0x2b0d02[_0x26615f(0xc5)],'force':_0x2b0d02['force'],'opencode':_0x2b0d02['opencode'],'allowInsecureLocalhost':_0x2b0d02['allow-insecure-localhost']},_0x2f196f));})['command'](_0x1bf278[_0x141fa8(0x211)],_0x1bf278[_0x141fa8(0x109)],_0x3ad772=>{const _0x4c0ee5=_0x141fa8;return _0x3ad772['option'](_0x1bf278['sTcuU'],{'type':_0x4c0ee5(0xc4),'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]});},async _0x140b27=>{const _0xc5c578=_0x141fa8;await _0x44961b[_0xc5c578(0x22b)](withTelemetry,'setup:deps',()=>ensureChromium(_0x140b27['with-deps']));})[_0x141fa8(0x118)](_0x141fa8(0x20c),_0x141fa8(0x125),_0x345913=>{const _0x3eae24=_0x141fa8;return _0x345913[_0x3eae24(0x177)](_0x1bf278['eTCuP'],{'type':_0x1bf278[_0x3eae24(0x1d3)],'description':_0x3eae24(0xef)})['option'](_0x1bf278['DCJXN'],{'type':_0x1bf278['zvCFR'],'description':_0x1bf278['DzrHo'],'default':![]});},async _0x91ad4b=>{const _0x301e98=_0x141fa8;await _0x44961b['cOTeo'](withTelemetry,_0x44961b[_0x301e98(0x166)],async()=>{const _0x3c8a92=_0x301e98;if(_0x91ad4b[_0x3c8a92(0xb8)]){await mcpBootstrap();const _0x4cd2d4=await refreshCliToken();if(!_0x4cd2d4)throw new Error('Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.');const _0x124536=await getCurrentUser(_0x4cd2d4);if(!_0x124536['success'])throw new Error(_0x3c8a92(0xea)+_0x124536[_0x3c8a92(0x204)]);console[_0x3c8a92(0x1df)](_0x3c8a92(0x24d)+_0x124536['user'][_0x3c8a92(0x258)]);return;}await _0x44961b['ksTfZ'](authenticate,_0x91ad4b['token']);});})[_0x141fa8(0x118)](_0x1bf278[_0x141fa8(0xe1)],_0x141fa8(0x203),_0x4e430a=>{const _0x1fbc22=_0x141fa8;return _0x4e430a['option'](_0x1bf278['SFbum'],{'type':'string','choices':['user',_0x1fbc22(0xab)],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})[_0x1fbc22(0x177)](_0x1fbc22(0x224),{'type':'boolean','description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]});},async _0x258922=>{const _0xd96c6e=_0x141fa8,_0x177281={'KFazf':'ranger','vGswQ':function(_0x10dcba){return _0x44961b['LgXWw'](_0x10dcba);},'LXNUi':_0xd96c6e(0x224)};await _0x44961b[_0xd96c6e(0x22b)](withTelemetry,_0x44961b['SbvSl'],async()=>{const _0xa37544=_0xd96c6e,_0x2a9552=_0x258922[_0xa37544(0x21d)];if(_0x258922[_0xa37544(0x224)]){const _0x407e68=await ensureOpencodePluginConfig(_0x2a9552);_0x407e68&&await installSkill(_0x177281[_0xa37544(0x191)],{'level':_0x407e68[_0xa37544(0x21d)],'cliVersion':_0x177281['vGswQ'](getCurrentVersion),'platform':_0x177281['LXNUi']});}else await ensureClaudePlugin(_0x2a9552),await ensureClaudeSkills(_0x2a9552);});})['command'](_0x141fa8(0x1be),'Set\x20up\x20a\x20local\x20browser\x20profile',_0xadaa6d=>{const _0x43f6c1=_0x141fa8;return _0xadaa6d['option'](_0x44961b[_0x43f6c1(0x15e)],{'type':_0x44961b[_0x43f6c1(0x181)],'choices':['user',_0x44961b['cHdxt']],'description':_0x44961b['byPFz']})[_0x43f6c1(0x177)](_0x44961b['eLFXr'],{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app'})[_0x43f6c1(0x177)](_0x44961b['YLXtS'],{'type':'boolean','description':_0x44961b['tAvsG'],'default':![]})[_0x43f6c1(0x177)]('force',{'type':_0x44961b[_0x43f6c1(0x1f3)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x43f6c1(0x177)](_0x44961b['fyvPv'],{'type':'boolean','description':_0x44961b[_0x43f6c1(0x253)],'default':![]});},async _0x35015f=>{const _0x20beb6=_0x141fa8;await withTelemetry(_0x1bf278[_0x20beb6(0x164)],_0x3ac51e=>ensureLocalEnv({'url':_0x35015f['url'],'force':_0x35015f['force'],'allowInsecureLocalhost':_0x35015f[_0x20beb6(0x222)],'scope':_0x35015f[_0x20beb6(0x21d)]==='user'?'user':undefined},_0x3ac51e));})['option'](_0x141fa8(0x1f1),{'type':_0x1bf278['zvCFR'],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option'](_0x1bf278['SFbum'],{'type':'string','choices':['user','project'],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})['option'](_0x141fa8(0xc5),{'type':_0x1bf278[_0x141fa8(0x1d3)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option']('force',{'type':'boolean','description':_0x141fa8(0x190),'default':![]})['option']('opencode',{'type':_0x1bf278['zvCFR'],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})[_0x141fa8(0x177)](_0x141fa8(0x222),{'type':_0x1bf278['zvCFR'],'description':_0x1bf278['ENmdj'],'default':![]})[_0x141fa8(0x177)]('mcp-bootstrap',{'type':'boolean','description':_0x1bf278['vbiQx'],'default':![]})['option'](_0x1bf278['iHCzI'],{'type':_0x1bf278['zvCFR'],'description':_0x141fa8(0x1d6),'default':![]})[_0x141fa8(0x177)](_0x141fa8(0xaf),{'type':'boolean','description':_0x1bf278[_0x141fa8(0x1a2)],'default':![]})[_0x141fa8(0x177)]('token',{'type':'string','hidden':!![],'description':_0x1bf278[_0x141fa8(0x183)]});},async _0x11ba5d=>{const _0x59eedf=_0x3b6247,_0x1ea179=_0x11ba5d[_0x59eedf(0xb6)],_0x25b52d=_0x11ba5d[_0x59eedf(0x25b)]??_0x1ea179;_0x11ba5d[_0x59eedf(0x162)]&&await withTelemetry(_0x1bf278['hgjfd'],()=>mcpBootstrap()),await _0x1bf278['zVdpn'](withTelemetry,_0x1bf278['zLlea'],_0x1542e9=>start(_0x25b52d,{'skipChromium':_0x11ba5d['skip-chromium'],'skipAuth':_0x11ba5d[_0x59eedf(0x108)],'withDeps':_0x11ba5d['with-deps'],'scope':_0x11ba5d[_0x59eedf(0x21d)],'url':_0x11ba5d['url'],'force':_0x11ba5d[_0x59eedf(0xcc)],'opencode':_0x11ba5d[_0x59eedf(0x224)],'allowInsecureLocalhost':_0x11ba5d['allow-insecure-localhost']},_0x1542e9));})[_0x3b6247(0x118)](_0x3b6247(0x1a5),_0x3b6247(0x9e),_0x18361d=>{const _0x3b75cf=_0x3b6247;return _0x18361d[_0x3b75cf(0x142)]('token',{'type':_0x3b75cf(0x103),'description':_0x1bf278[_0x3b75cf(0xe8)],'demandOption':!![]})['option'](_0x1bf278['GitgC'],{'type':'string','description':_0x3b75cf(0x257)})['option'](_0x1bf278['YobWz'],{'type':_0x3b75cf(0x103),'description':_0x1bf278[_0x3b75cf(0x95)]})[_0x3b75cf(0x177)]('skip-chromium',{'type':_0x1bf278[_0x3b75cf(0x1bf)],'description':_0x1bf278['PYRwq'],'default':![]});},async _0x2295a6=>{const _0x3922e3=_0x3b6247;await _0x1bf278[_0x3922e3(0x233)](withTelemetry,_0x1bf278['qrwiz'],_0x4e4dc8=>setupCi(_0x2295a6['token'],{'profile':_0x2295a6['profile'],'baseUrl':_0x2295a6['base-url'],'skipChromium':_0x2295a6['skip-chromium']},_0x4e4dc8));})['command'](_0x1bf278['IPwAT'],_0x3b6247(0x1d0),()=>{},async()=>{await _0x1bf278['OWSCd'](withTelemetry,_0x1bf278['IPwAT'],()=>login());})['command']('skillup',_0x1bf278[_0x3b6247(0x119)],_0x4d1fad=>{const _0x2f78c9=_0x3b6247;return _0x4d1fad[_0x2f78c9(0x177)](_0x2f78c9(0x224),{'type':_0x1bf278[_0x2f78c9(0x1bf)],'description':_0x2f78c9(0xca),'default':![]})[_0x2f78c9(0x177)]('scope',{'type':_0x2f78c9(0x103),'choices':[_0x2f78c9(0x165),_0x2f78c9(0xab)],'description':_0x1bf278['MGOYv']});},async _0x24e6ef=>{const _0x5ba779=_0x3b6247,_0xa804f5=_0x1bf278['AehSr'](Boolean,_0x24e6ef[_0x5ba779(0x224)]);await _0x1bf278['lScpd'](withTelemetry,'skillup',()=>skillup({'autoInstall':_0x24e6ef['scope'],'platform':_0xa804f5?'opencode':'claude'}));})[_0x3b6247(0x118)](_0x1bf278['VDdkO'],_0x1bf278['RAkBj'],()=>{},async()=>{const _0x120932=_0x3b6247;await _0x1bf278[_0x120932(0x148)](withTelemetry,'clean',()=>clean());})[_0x3b6247(0x118)](_0x1bf278['GitgC'],_0x1bf278[_0x3b6247(0xdf)],_0x29220d=>{const _0x3075dd=_0x3b6247,_0x30abda={'sRdOx':_0x3075dd(0x1ce),'cleuj':_0x3075dd(0xc4),'cGjaa':_0x1bf278['MTbIv'],'LJRtZ':_0x3075dd(0xc5),'AtTCQ':'string','XRXHt':_0x3075dd(0x14c),'BglqR':_0x3075dd(0x222),'CyAEY':_0x3075dd(0x121),'miZmX':_0x1bf278['BTMUP'],'jNiaw':'setup-header','dvdFs':_0x3075dd(0x13b),'HWGpa':_0x3075dd(0x21d),'WhpxK':'yes','GJkyg':_0x1bf278[_0x3075dd(0x102)],'hSUao':function(_0x4ba08a,_0x538eff,_0x433bfa,_0x42f58a){return _0x4ba08a(_0x538eff,_0x433bfa,_0x42f58a);},'POCPE':function(_0x429016,_0x2ee67d){const _0x44ed73=_0x3075dd;return _0x1bf278[_0x44ed73(0x1ca)](_0x429016,_0x2ee67d);},'iclFF':_0x3075dd(0x1c1),'YbWzF':_0x1bf278[_0x3075dd(0x20e)],'VpwTX':_0x1bf278['Vuwpz'],'BjgAd':function(_0x3d21e5,_0x2283f2,_0x41ed2c){return _0x1bf278['OWSCd'](_0x3d21e5,_0x2283f2,_0x41ed2c);},'OeKmw':_0x3075dd(0x251),'gYcnU':_0x1bf278['AioVb'],'NBDja':_0x1bf278['EBqVM'],'KqkXG':_0x1bf278[_0x3075dd(0x1d8)],'OtlrZ':function(_0x5eac7b,_0x2c239e,_0x4569af){return _0x5eac7b(_0x2c239e,_0x4569af);},'qXyaj':_0x3075dd(0x243),'WpxnR':'failed','DFvOQ':_0x1bf278['YZpLt'],'uRJfc':_0x1bf278['uLZad'],'ngJJo':_0x1bf278['LKVNg'],'CVWeu':_0x3075dd(0xa0),'miadn':_0x1bf278['esuFn'],'JzzvW':_0x1bf278[_0x3075dd(0x1fb)],'JLQlp':_0x1bf278[_0x3075dd(0x12c)],'ycJPq':_0x1bf278['eBPVn'],'jYrCl':'Remove\x20a\x20config\x20value','LWYso':_0x1bf278[_0x3075dd(0x1b6)],'jrmtv':_0x1bf278['xBiPP'],'MOeRZ':_0x1bf278[_0x3075dd(0xc6)]};return _0x29220d[_0x3075dd(0xba)](PROFILE_HELP)['command'](_0x1bf278[_0x3075dd(0x218)],_0x3075dd(0x14f),_0x3c9aeb=>{const _0x3c8e15=_0x3075dd;return _0x3c9aeb[_0x3c8e15(0x142)]('profile-name',{'type':'string','description':_0x30abda[_0x3c8e15(0x12e)],'demandOption':!![]})['option']('ci',{'type':_0x30abda['cleuj'],'description':_0x30abda['cGjaa'],'default':![]})[_0x3c8e15(0x177)]('skip-auth',{'type':_0x3c8e15(0xc4),'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})['option'](_0x30abda[_0x3c8e15(0x1ae)],{'type':_0x30abda['AtTCQ'],'description':_0x30abda['XRXHt']})['option'](_0x3c8e15(0xcc),{'type':_0x30abda['cleuj'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x3c8e15(0x1c1),{'type':_0x30abda['AtTCQ'],'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})[_0x3c8e15(0x177)](_0x30abda[_0x3c8e15(0x19e)],{'type':_0x30abda['cleuj'],'description':_0x30abda[_0x3c8e15(0x138)],'default':![]})[_0x3c8e15(0x177)]('safe-mode',{'type':_0x30abda['cleuj'],'description':_0x30abda[_0x3c8e15(0x18b)],'default':![]})[_0x3c8e15(0x177)](_0x30abda[_0x3c8e15(0x239)],{'type':_0x30abda['AtTCQ'],'array':!![],'description':_0x30abda[_0x3c8e15(0x1fd)]})[_0x3c8e15(0x177)](_0x30abda[_0x3c8e15(0x137)],{'type':_0x3c8e15(0x103),'choices':[_0x3c8e15(0x165),_0x3c8e15(0xab)],'description':_0x3c8e15(0x1a8)})[_0x3c8e15(0x177)](_0x30abda['WhpxK'],{'type':_0x3c8e15(0xc4),'alias':'y','description':_0x30abda['GJkyg'],'default':![]});},async _0x3cb6c1=>{const _0x4940de=_0x3075dd;await _0x30abda[_0x4940de(0x25f)](withTelemetry,_0x4940de(0xc1),_0x3f4676=>addEnv(_0x3cb6c1[_0x4940de(0x251)],{'ci':_0x3cb6c1['ci'],'skipAuth':_0x3cb6c1['skip-auth'],'url':_0x3cb6c1[_0x4940de(0xc5)],'force':_0x3cb6c1['force'],'cdpEndpoint':_0x3cb6c1[_0x4940de(0x1c1)],'allowInsecureLocalhost':_0x3cb6c1[_0x4940de(0x222)],'safeMode':_0x3cb6c1['safe-mode'],'setupHeader':_0x3cb6c1[_0x4940de(0x231)],'scope':_0x3cb6c1['scope'],'yes':_0x3cb6c1[_0x4940de(0x143)]},_0x3f4676),{'isElectron':_0x30abda['POCPE'](Boolean,_0x3cb6c1[_0x30abda['iclFF']])});})[_0x3075dd(0x118)](_0x3075dd(0x9c),_0x3075dd(0x22f),_0x3390d0=>{const _0x243f5e=_0x3075dd;return _0x3390d0[_0x243f5e(0x142)](_0x1bf278['gpVHu'],{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278[_0x243f5e(0xa8)],'demandOption':!![]});},async _0x540fd4=>{const _0x23e874=_0x3075dd;await _0x1bf278[_0x23e874(0x92)](withTelemetry,_0x1bf278['zefwH'],()=>useEnv(_0x540fd4[_0x23e874(0x251)]));})['command'](_0x1bf278['YDfpG'],_0x1bf278['kiHvI'],_0x59e81e=>{const _0x4e96e2=_0x3075dd;return _0x59e81e[_0x4e96e2(0x142)](_0x30abda[_0x4e96e2(0x200)],{'type':'string','description':_0x30abda['VpwTX'],'demandOption':!![]});},async _0x3edc42=>{await _0x30abda['BjgAd'](withTelemetry,'profile\x20encrypt-auth',()=>authEncrypt(_0x3edc42['profile']));})['command']('ls',_0x3075dd(0x194),()=>{},async()=>{await withTelemetry('profile\x20ls',()=>envList());})['command'](_0x3075dd(0x1b9),_0x1bf278['lRios'],_0x5179b3=>{const _0x42a62f=_0x3075dd;return _0x5179b3[_0x42a62f(0x142)](_0x30abda['OeKmw'],{'type':'string','description':_0x42a62f(0x1f0),'demandOption':!![]})[_0x42a62f(0x177)]('allow-insecure-localhost',{'type':_0x30abda[_0x42a62f(0xed)],'description':_0x30abda[_0x42a62f(0x138)]});},async _0x36438d=>{const _0xaf9682=_0x3075dd;await withTelemetry('profile\x20update',_0x5c45cd=>updateEnv(_0x36438d[_0xaf9682(0x251)],_0x5c45cd,{'allowInsecureLocalhost':_0x36438d['allow-insecure-localhost']}));})[_0x3075dd(0x118)](_0x1bf278[_0x3075dd(0x1e5)],![],_0x1ee9db=>{const _0xc1bbb5=_0x3075dd;return _0x1ee9db[_0xc1bbb5(0x142)](_0x30abda[_0xc1bbb5(0x1cf)],{'type':_0xc1bbb5(0x103),'description':_0x30abda[_0xc1bbb5(0x18f)],'demandOption':!![]});},async _0x3cea67=>{await _0x1bf278['zWONq'](withTelemetry,_0x1bf278['bKuqv'],async()=>{const _0x133fbb=_0x1065,_0x548ad8=process[_0x133fbb(0xb3)]['RANGER_TEST_USERNAME'],_0x2fae2d=process['env']['RANGER_TEST_PASSWORD'];(!_0x548ad8||!_0x2fae2d)&&(console['error'](_0x30abda[_0x133fbb(0x1ea)]),process[_0x133fbb(0x230)](0x1));const _0x51f196=_0x3cea67[_0x133fbb(0x1bc)],_0x5de67a=await _0x30abda['OtlrZ'](serverSideLogin,_0x51f196,{'force':!![]});_0x5de67a[_0x133fbb(0x184)]===_0x30abda['qXyaj']&&(console[_0x133fbb(0x204)]('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process[_0x133fbb(0x230)](0x1)),_0x5de67a['status']===_0x30abda['WpxnR']&&(console['error'](_0x133fbb(0x93)+(_0x5de67a['error']??_0x133fbb(0x171))),_0x5de67a[_0x133fbb(0x10f)]&&console['error'](_0x5de67a[_0x133fbb(0x10f)]),process['exit'](0x1)),console['log']('✓\x20Server-side\x20login\x20succeeded\x20for\x20\x27'+_0x51f196+_0x133fbb(0xa1));});})['command'](_0x1bf278[_0x3075dd(0x19c)],_0x3075dd(0x19f),_0x26a8cb=>{const _0x4e4391=_0x3075dd;return _0x26a8cb['positional'](_0x4e4391(0x251),{'type':_0x1bf278['Gnpzs'],'description':_0x4e4391(0x130)})['option'](_0x1bf278['zQSBn'],{'type':_0x1bf278[_0x4e4391(0x1bf)],'description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})[_0x4e4391(0x177)]('dry-run',{'type':_0x4e4391(0xc4),'description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})[_0x4e4391(0x177)](_0x4e4391(0x143),{'type':_0x4e4391(0xc4),'alias':'y','description':_0x1bf278[_0x4e4391(0x245)],'default':![]})['option']('save-creds',{'type':_0x1bf278[_0x4e4391(0x1bf)],'description':_0x1bf278['KJnuJ'],'default':![]});},async _0x1e7df9=>{const _0x425e2e=_0x3075dd;await withTelemetry(_0x1bf278['XbtRC'],_0x27cf43=>migrateProfile({'profileName':_0x1e7df9['profile-name'],'all':_0x1e7df9['all'],'dryRun':_0x1e7df9[_0x425e2e(0xc2)],'yes':_0x1e7df9[_0x425e2e(0x143)],'saveCreds':_0x1e7df9[_0x425e2e(0x213)]},_0x27cf43));})['command'](_0x3075dd(0x11a),_0x1bf278['pJODg'],_0x903246=>{const _0x270a41=_0x3075dd,_0x5f37db={'iqJiT':_0x270a41(0x103),'XeHMx':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','louPB':_0x30abda[_0x270a41(0x129)],'OHjED':function(_0x41664f,_0x6b1a29,_0x3e51cb){return _0x41664f(_0x6b1a29,_0x3e51cb);}};return _0x903246['usage'](PROFILE_CONFIG_HELP)['command'](_0x30abda[_0x270a41(0x128)],_0x30abda[_0x270a41(0x1b5)],_0x44e55e=>{const _0x3f4655=_0x270a41;return _0x44e55e[_0x3f4655(0x142)]('profile',{'type':_0x5f37db['iqJiT'],'description':_0x3f4655(0x1aa),'demandOption':!![]})[_0x3f4655(0x142)]('key',{'type':_0x5f37db['iqJiT'],'description':_0x5f37db[_0x3f4655(0x21b)],'demandOption':!![]})['positional'](_0x3f4655(0xe6),{'type':_0x3f4655(0x103),'description':'Config\x20value','demandOption':!![]});},async _0x361306=>{const _0x7a0aef=_0x270a41;await withTelemetry(_0x30abda['DFvOQ'],()=>configSet(_0x361306[_0x7a0aef(0x15f)],_0x361306['key'],_0x361306[_0x7a0aef(0xe6)]));})['command'](_0x270a41(0x206),'Get\x20a\x20config\x20value',_0x3dbf4a=>{const _0x2c6a59=_0x270a41;return _0x3dbf4a['positional'](_0x30abda['YbWzF'],{'type':_0x30abda[_0x2c6a59(0x175)],'description':_0x30abda[_0x2c6a59(0x129)],'demandOption':!![]})[_0x2c6a59(0x142)](_0x30abda['uRJfc'],{'type':_0x30abda[_0x2c6a59(0x175)],'description':_0x2c6a59(0xfe),'demandOption':!![]});},async _0x104360=>{const _0x4a8655=_0x270a41;await withTelemetry(_0x4a8655(0x10e),()=>configGet(_0x104360[_0x4a8655(0x15f)],_0x104360[_0x4a8655(0x1cd)]));})['command'](_0x30abda['JzzvW'],_0x30abda['JLQlp'],_0xb228fe=>{const _0x24b9e7=_0x270a41;return _0xb228fe['positional'](_0x30abda[_0x24b9e7(0x200)],{'type':'string','description':_0x30abda[_0x24b9e7(0x129)],'demandOption':!![]});},async _0x34c55c=>{await withTelemetry('profile\x20config\x20list',()=>configList(_0x34c55c['profile']));})[_0x270a41(0x118)](_0x30abda[_0x270a41(0x225)],_0x30abda[_0x270a41(0x25e)],_0x4c1f74=>{const _0x218581=_0x270a41;return _0x4c1f74['positional']('profile',{'type':'string','description':_0x5f37db[_0x218581(0x14b)],'demandOption':!![]})[_0x218581(0x142)]('key',{'type':_0x218581(0x103),'description':_0x218581(0x114),'demandOption':!![]});},async _0x5441eb=>{const _0x18bcb1=_0x270a41;await _0x5f37db[_0x18bcb1(0x151)](withTelemetry,_0x18bcb1(0xfa),()=>configUnset(_0x5441eb['profile'],_0x5441eb['key']));})[_0x270a41(0x118)](_0x30abda['LWYso'],_0x30abda['jrmtv'],_0x3e8b2c=>{const _0x9bb9fa=_0x270a41;return _0x3e8b2c[_0x9bb9fa(0x142)](_0x9bb9fa(0x15f),{'type':_0x30abda[_0x9bb9fa(0x175)],'description':_0x30abda[_0x9bb9fa(0x129)],'demandOption':!![]});},async _0xeab682=>{const _0x4379c5=_0x270a41;await withTelemetry(_0x30abda[_0x4379c5(0x9f)],()=>configReset(_0xeab682[_0x4379c5(0x15f)]));})['demandCommand'](0x1,_0x30abda['MOeRZ']);})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})['command']('status',_0x1bf278[_0x3b6247(0x122)],()=>{},async()=>{const _0x5c096b=_0x3b6247;await _0x1bf278[_0x5c096b(0xa5)](withTelemetry,'status',()=>status());})['command'](_0x3b6247(0x20b),_0x1bf278['bGtxZ'],()=>{},async()=>{const _0x5a9ad2=_0x3b6247;await _0x1bf278[_0x5a9ad2(0xd8)](withTelemetry,'update',()=>update());})[_0x3b6247(0x118)](_0x1bf278['KEjTS'],_0x3b6247(0xf3),()=>{},async()=>{const _0x50cfc6=_0x3b6247,_0x39947c={'lwRYG':_0x1bf278[_0x50cfc6(0x217)]};await withTelemetry(_0x50cfc6(0x1b1),async()=>{const _0x1803cc=_0x50cfc6,_0xb81f96=await getToken();if(!_0xb81f96)throw new Error(_0x39947c[_0x1803cc(0x219)]);console['log'](_0xb81f96);});})['command']('go',_0x1bf278[_0x3b6247(0x23c)],_0x4dd8bc=>{const _0x4aac9c=_0x3b6247;return _0x4dd8bc['option'](_0x1bf278[_0x4aac9c(0x13a)],{'type':_0x4aac9c(0x103),'description':_0x1bf278['ldxYP']})[_0x4aac9c(0x177)](_0x1bf278['GitgC'],{'type':_0x1bf278['Gnpzs'],'description':_0x4aac9c(0xf0)})['option'](_0x1bf278['BFGoT'],{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278[_0x4aac9c(0xdd)]})['option'](_0x1bf278[_0x4aac9c(0x163)],{'type':_0x1bf278[_0x4aac9c(0x18e)],'description':_0x1bf278[_0x4aac9c(0xec)]})['option'](_0x4aac9c(0x1cb),{'type':'string','description':_0x4aac9c(0x12d)})[_0x4aac9c(0x177)](_0x1bf278[_0x4aac9c(0x15a)],{'type':'string','description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x4aac9c(0x177)](_0x1bf278[_0x4aac9c(0x248)],{'type':_0x1bf278['Gnpzs'],'description':'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.'})['option'](_0x1bf278[_0x4aac9c(0x208)],{'type':'boolean','description':_0x4aac9c(0x158),'default':![]})['option'](_0x4aac9c(0x247),{'type':_0x4aac9c(0x103),'hidden':!![],'choices':['verified','partial',_0x1bf278['gszfP'],_0x4aac9c(0x1ff),_0x4aac9c(0x14d)]})[_0x4aac9c(0x177)](_0x1bf278[_0x4aac9c(0x1c2)],{'type':_0x4aac9c(0xc4),'hidden':!![]})['option']('env',{'type':_0x1bf278[_0x4aac9c(0x1d3)],'hidden':!![]})[_0x4aac9c(0x177)](_0x4aac9c(0xb5),{'type':_0x4aac9c(0x103),'hidden':!![]})[_0x4aac9c(0x177)](_0x4aac9c(0xc8),{'type':_0x1bf278[_0x4aac9c(0x18e)],'hidden':!![]});},async _0x47436a=>{await _0x1bf278['NIerT'](runGoCommand,_0x47436a);})['command'](_0x1bf278['glfcv'],![],_0x3bf51c=>{const _0x306913=_0x3b6247,_0x141b15={'vDhVD':_0x306913(0x15f),'QvweT':_0x1bf278['Gnpzs'],'NbAnL':function(_0x98b3ff,_0x414149,_0x1f30d1){return _0x98b3ff(_0x414149,_0x1f30d1);},'RmgRF':_0x306913(0x18a)};return _0x3bf51c['command'](_0x306913(0xa7),![],_0x48e099=>{const _0x93466b=_0x306913;return _0x48e099[_0x93466b(0x142)](_0x141b15['vDhVD'],{'type':_0x141b15[_0x93466b(0x112)],'description':_0x93466b(0x1aa),'demandOption':!![]});},async _0x5163bb=>{const _0x398e39=_0x306913;_0x141b15['NbAnL'](warnRenamed,_0x141b15['RmgRF'],_0x398e39(0x1b3)),await authEncrypt(_0x5163bb[_0x398e39(0x15f)]);})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})[_0x3b6247(0x118)](_0x1bf278[_0x3b6247(0xa3)],![],_0xb20bc9=>{const _0x46c8b9=_0x3b6247;return _0xb20bc9['positional'](_0x46c8b9(0x25b),{'type':_0x1bf278['Gnpzs'],'description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})[_0x46c8b9(0x177)](_0x1bf278[_0x46c8b9(0x226)],{'type':_0x1bf278[_0x46c8b9(0x1bf)],'description':_0x46c8b9(0x146),'default':![]})[_0x46c8b9(0x177)](_0x1bf278[_0x46c8b9(0xd6)],{'type':_0x46c8b9(0x103),'choices':[_0x1bf278[_0x46c8b9(0x176)],_0x1bf278['lWYTs']],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})['option'](_0x46c8b9(0xc5),{'type':_0x1bf278[_0x46c8b9(0x1d3)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x1bf278['CWjMk'],{'type':_0x1bf278['zvCFR'],'description':_0x46c8b9(0x190),'default':![]})[_0x46c8b9(0x177)]('skip-auth',{'type':_0x1bf278[_0x46c8b9(0x1bf)],'description':_0x1bf278[_0x46c8b9(0x10a)],'default':![]})[_0x46c8b9(0x177)](_0x1bf278[_0x46c8b9(0x18c)],{'type':_0x1bf278['zvCFR'],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]});},async _0x1f7628=>{const _0x1f917f=_0x3b6247;_0x1bf278[_0x1f917f(0x97)](warnRenamed,_0x1bf278['VePVU'],'ranger\x20setup'),await _0x1bf278['XLTFN'](withTelemetry,_0x1bf278['zLlea'],_0x59396c=>start(_0x1f7628['token'],{'skipChromium':_0x1f7628[_0x1f917f(0x1f1)],'skipAuth':_0x1f7628['skip-auth'],'withDeps':_0x1f7628['with-deps'],'scope':_0x1f7628[_0x1f917f(0x21d)],'url':_0x1f7628['url'],'force':_0x1f7628[_0x1f917f(0xcc)]},_0x59396c));})['command'](_0x3b6247(0x13f),![],_0x35c849=>{const _0x51d36b=_0x3b6247;return _0x35c849[_0x51d36b(0x177)](_0x1bf278[_0x51d36b(0xdc)],{'type':_0x1bf278['Gnpzs'],'description':_0x51d36b(0xf0)})['option'](_0x1bf278[_0x51d36b(0x1fa)],{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278[_0x51d36b(0x1e2)]})['option'](_0x51d36b(0xc8),{'type':_0x1bf278[_0x51d36b(0x18e)],'description':_0x1bf278[_0x51d36b(0xec)]})['option']('profile',{'type':'string','hidden':!![]})[_0x51d36b(0x177)](_0x1bf278['BFGoT'],{'type':_0x1bf278['Gnpzs'],'hidden':!![]})['option'](_0x51d36b(0x1c8),{'type':_0x1bf278[_0x51d36b(0x18e)],'hidden':!![]})['option'](_0x1bf278[_0x51d36b(0x237)],{'type':_0x51d36b(0x103),'description':_0x51d36b(0x12d)})['option'](_0x1bf278['YobWz'],{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278['ftTzW']})['option'](_0x51d36b(0x227),{'type':'string','hidden':!![]})[_0x51d36b(0x177)](_0x1bf278['cZCvk'],{'type':'boolean','hidden':!![],'default':![]})['option'](_0x1bf278[_0x51d36b(0x220)],{'type':_0x1bf278[_0x51d36b(0x1d3)],'hidden':!![],'choices':[_0x1bf278[_0x51d36b(0x1a4)],_0x1bf278[_0x51d36b(0x229)],'blocked',_0x1bf278['FMliv'],_0x51d36b(0x14d)]});},async _0x1e5ef8=>{await _0x1bf278['sHGmM'](runGoCommand,_0x1e5ef8,!![]);})[_0x3b6247(0x118)](_0x3b6247(0xbb),![],_0x327e81=>{const _0x40163f=_0x3b6247;return _0x327e81['positional'](_0x1bf278['UDaTm'],{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278['digbC'],'demandOption':!![]})['option']('ci',{'type':_0x1bf278['zvCFR'],'description':_0x1bf278['mQLkH'],'default':![]})['option'](_0x1bf278[_0x40163f(0x139)],{'type':'boolean','description':_0x1bf278['RbzNO'],'default':![]});},async _0x454f50=>{const _0x457265=_0x3b6247;warnRenamed('ranger\x20add\x20env','ranger\x20profile\x20add'),await withTelemetry(_0x1bf278['UBJpA'],_0x563c89=>addEnv(_0x454f50[_0x457265(0x98)],{'ci':_0x454f50['ci'],'skipAuth':_0x454f50['skip-auth']},_0x563c89));})['command'](_0x1bf278[_0x3b6247(0x9b)],![],_0x33e3c9=>{const _0x38d766=_0x3b6247;return _0x33e3c9['positional'](_0x1bf278['UDaTm'],{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278[_0x38d766(0xbc)],'demandOption':!![]});},async _0x252768=>{const _0x392fb9=_0x3b6247;warnRenamed('ranger\x20use',_0x392fb9(0x1a3)),await _0x1bf278['YwMXE'](withTelemetry,'use',()=>useEnv(_0x252768['env-name']));})['command'](_0x3b6247(0x11a),![],_0x376ffc=>{const _0x3ca68c=_0x3b6247,_0x4f48b5={'GGmeF':_0x1bf278['TsLSO'],'MzoLg':'string','zPKoV':_0x1bf278['LxXMk'],'mUghn':_0x1bf278['lJThg'],'cNieb':function(_0x183e79,_0xcd18c5,_0x5caf6c){return _0x1bf278['fVbYx'](_0x183e79,_0xcd18c5,_0x5caf6c);},'rEvby':_0x1bf278[_0x3ca68c(0x123)],'XFxVj':'Environment\x20name','kkKaE':_0x1bf278[_0x3ca68c(0xf8)],'cCLdq':'Config\x20key','gejpo':'ranger\x20config\x20get','ViGNY':_0x3ca68c(0x240),'ILtCa':'ranger\x20profile\x20config\x20list','kwrYl':'config\x20list','fBgIn':function(_0x2624b7,_0x3f4f41,_0x4823f1){return _0x2624b7(_0x3f4f41,_0x4823f1);}};return _0x376ffc[_0x3ca68c(0x118)](_0x1bf278['HBtdL'],![],_0x2417a4=>{const _0xb30a1e=_0x3ca68c;return _0x2417a4[_0xb30a1e(0x142)](_0x4f48b5[_0xb30a1e(0x96)],{'type':_0x4f48b5['MzoLg'],'description':'Environment\x20name','demandOption':!![]})['positional'](_0xb30a1e(0x1cd),{'type':'string','description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})[_0xb30a1e(0x142)](_0x4f48b5['zPKoV'],{'type':_0x4f48b5[_0xb30a1e(0xb2)],'description':_0xb30a1e(0xbd),'demandOption':!![]});},async _0x242c69=>{const _0x4a25db=_0x3ca68c;warnRenamed(_0x4a25db(0x241),_0x4f48b5[_0x4a25db(0x16f)]),await _0x4f48b5[_0x4a25db(0xfb)](withTelemetry,_0x4f48b5['rEvby'],()=>configSet(_0x242c69['env'],_0x242c69['key'],_0x242c69['value']));})[_0x3ca68c(0x118)](_0x1bf278['hATrN'],![],_0x5c87fd=>{const _0x2cc09c=_0x3ca68c;return _0x5c87fd['positional']('env',{'type':_0x4f48b5['MzoLg'],'description':_0x4f48b5[_0x2cc09c(0x1c3)],'demandOption':!![]})['positional'](_0x4f48b5[_0x2cc09c(0x22d)],{'type':_0x4f48b5[_0x2cc09c(0xb2)],'description':_0x4f48b5[_0x2cc09c(0x17f)],'demandOption':!![]});},async _0x587f7a=>{const _0x58b1be=_0x3ca68c;warnRenamed(_0x4f48b5['gejpo'],_0x58b1be(0x19d)),await withTelemetry('config\x20get',()=>configGet(_0x587f7a['env'],_0x587f7a[_0x58b1be(0x1cd)]));})['command'](_0x3ca68c(0x16e),![],_0x42b60f=>{return _0x42b60f['positional']('env',{'type':'string','description':_0x4f48b5['XFxVj'],'demandOption':!![]});},async _0x28792c=>{const _0x5d1f49=_0x3ca68c;warnRenamed(_0x4f48b5[_0x5d1f49(0x1c6)],_0x4f48b5[_0x5d1f49(0x12a)]),await _0x4f48b5[_0x5d1f49(0xfb)](withTelemetry,_0x4f48b5[_0x5d1f49(0x13d)],()=>configList(_0x28792c['env']));})[_0x3ca68c(0x118)](_0x1bf278[_0x3ca68c(0x17c)],![],_0x2fd2ce=>{const _0x5ef95=_0x3ca68c;return _0x2fd2ce['positional'](_0x1bf278['TsLSO'],{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278[_0x5ef95(0xeb)],'demandOption':!![]})[_0x5ef95(0x142)](_0x5ef95(0x1cd),{'type':_0x1bf278[_0x5ef95(0x1d3)],'description':_0x1bf278[_0x5ef95(0x19a)],'demandOption':!![]});},async _0x496f9f=>{const _0x4e4c4a=_0x3ca68c;_0x4f48b5[_0x4e4c4a(0xda)](warnRenamed,_0x4e4c4a(0x1f8),'ranger\x20profile\x20config\x20unset'),await withTelemetry('config\x20unset',()=>configUnset(_0x496f9f['env'],_0x496f9f[_0x4e4c4a(0x1cd)]));})[_0x3ca68c(0xee)](0x1,_0x3ca68c(0x21e));})['command'](_0x1bf278['TsLSO'],![],_0x1dc3d0=>{const _0x1d02a1=_0x3b6247,_0x30061c={'aBBVm':function(_0x3aee23,_0x19d498,_0x2c9815){return _0x1bf278['bxUkw'](_0x3aee23,_0x19d498,_0x2c9815);},'ckCqc':_0x1bf278['czXAD']};return _0x1dc3d0[_0x1d02a1(0x118)]('ls',![],()=>{},async()=>{const _0x489a24=_0x1d02a1;_0x30061c[_0x489a24(0x15d)](warnRenamed,_0x30061c['ckCqc'],_0x489a24(0x135)),await withTelemetry('env\x20list',()=>envList());})['command'](_0x1bf278[_0x1d02a1(0x1e4)],![],_0x328fae=>{const _0x54d7b6=_0x1d02a1;return _0x328fae[_0x54d7b6(0x142)](_0x54d7b6(0x98),{'type':'string','description':_0x54d7b6(0x107),'demandOption':!![]});},async _0x5c63c=>{const _0xc15511=_0x1d02a1;warnRenamed('ranger\x20env\x20update',_0x1bf278['TZQAw']),await _0x1bf278[_0xc15511(0x101)](withTelemetry,_0x1bf278[_0xc15511(0x1cc)],_0x11b343=>updateEnv(_0x5c63c[_0xc15511(0x98)],_0x11b343));})[_0x1d02a1(0xee)](0x1,_0x1bf278['OYneA']);})['command']('feature',![],_0x23f468=>{const _0x43ee3e=_0x3b6247,_0x5a9be9={'qINQG':_0x43ee3e(0x103),'QbGfI':_0x43ee3e(0x1f9),'FBhMd':_0x1bf278['laYWs'],'bAlGt':function(_0x335843,_0x5b270c,_0x407b4d){const _0x424592=_0x43ee3e;return _0x1bf278[_0x424592(0xbe)](_0x335843,_0x5b270c,_0x407b4d);},'rcSnz':_0x43ee3e(0xf7),'CAcIQ':'ranger\x20create','oowVH':'--checklist','lOLvv':function(_0x4c3cc9,_0x202d25,_0x3f8bb3){const _0xa3df30=_0x43ee3e;return _0x1bf278[_0xa3df30(0xa2)](_0x4c3cc9,_0x202d25,_0x3f8bb3);},'GjBHZ':'ranger\x20list','cKtTV':_0x1bf278['AWqCL'],'FOFUK':'ranger\x20get-review','RYKoe':_0x1bf278['fwUAM'],'GLGMV':_0x1bf278[_0x43ee3e(0x1e3)]};return _0x23f468[_0x43ee3e(0x118)](_0x1bf278['goujk'],![],_0x248982=>{const _0x417b5e=_0x43ee3e;return _0x248982['positional']('name',{'type':'string','description':_0x417b5e(0xb4),'demandOption':!![]})[_0x417b5e(0x177)]('description',{'type':_0x5a9be9['qINQG'],'alias':'d','description':_0x5a9be9[_0x417b5e(0x1e7)]})[_0x417b5e(0x177)](_0x417b5e(0x149),{'type':_0x417b5e(0xcb),'alias':'c','description':_0x417b5e(0x14e)})['option'](_0x417b5e(0x1c8),{'type':_0x5a9be9[_0x417b5e(0x17e)],'hidden':!![]});},async _0x35aeb5=>{const _0x35b3ce=_0x43ee3e;_0x5a9be9['bAlGt'](warnRenamed,_0x5a9be9[_0x35b3ce(0x144)],_0x5a9be9[_0x35b3ce(0x156)]),warnFlagRenamed(_0x35b3ce(0x23a),_0x5a9be9['oowVH'],_0x35b3ce(0x1d5));const _0x266569=_0x35aeb5['scenario']||_0x35aeb5[_0x35b3ce(0x149)];await withTelemetry('feature\x20create',()=>featureCreate(_0x35aeb5['name'],{'description':_0x35aeb5[_0x35b3ce(0x1ef)],'scenarios':_0x266569}));})[_0x43ee3e(0x118)]('list',![],_0xb79505=>{const _0x2582a7=_0x43ee3e;return _0xb79505['option'](_0x1bf278[_0x2582a7(0x201)],{'type':_0x2582a7(0xc4),'description':_0x1bf278[_0x2582a7(0x10d)]})['option'](_0x1bf278[_0x2582a7(0x186)],{'type':_0x1bf278[_0x2582a7(0x18e)],'alias':'l','description':_0x1bf278['NWPRD'],'default':0xa})['option'](_0x1bf278['hQZpn'],{'type':_0x2582a7(0x1fe),'alias':'o','description':_0x1bf278[_0x2582a7(0x216)],'default':0x0})['option']('include-deleted',{'type':_0x2582a7(0xc4),'alias':'d','description':_0x2582a7(0x254),'default':![]});},async _0x586fd0=>{const _0x189ee3=_0x43ee3e;_0x5a9be9[_0x189ee3(0x1dc)](warnRenamed,'ranger\x20feature\x20list',_0x5a9be9[_0x189ee3(0x21c)]),await _0x5a9be9[_0x189ee3(0x1dc)](withTelemetry,_0x189ee3(0xac),()=>featureList({'currentBranch':_0x586fd0['current-branch'],'limit':_0x586fd0['limit'],'offset':_0x586fd0['offset'],'includeDeleted':_0x586fd0[_0x189ee3(0x1a1)]}));})['command'](_0x1bf278['FLLGH'],![],_0x2e8c59=>{const _0x2fed46=_0x43ee3e;return _0x2e8c59[_0x2fed46(0x142)]('id',{'type':_0x1bf278[_0x2fed46(0x1d3)],'description':_0x2fed46(0x11f)});},async _0x11e3ee=>{const _0x211d5b=_0x43ee3e;_0x1bf278[_0x211d5b(0xbe)](warnRenamed,_0x1bf278['WpTJx'],_0x211d5b(0x167)),await _0x1bf278['hboEA'](withTelemetry,_0x211d5b(0x256),()=>featureShow(_0x11e3ee['id']));})[_0x43ee3e(0x118)]('resume\x20[id]',![],_0x82f1be=>{const _0x419dde=_0x43ee3e;return _0x82f1be[_0x419dde(0x142)]('id',{'type':_0x419dde(0x103),'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x4e6bbf=>{const _0x56f6d4=_0x43ee3e;_0x1bf278[_0x56f6d4(0x23d)](warnRenamed,_0x1bf278[_0x56f6d4(0x1bd)],'ranger\x20resume'),await _0x1bf278[_0x56f6d4(0x115)](withTelemetry,_0x56f6d4(0x1e6),()=>featureResume(_0x4e6bbf['id']));})['command'](_0x43ee3e(0x1f4),![],_0x4d988d=>{const _0x539475=_0x43ee3e;return _0x4d988d[_0x539475(0x142)]('description',{'type':_0x539475(0x103),'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':_0x1bf278[_0x539475(0x1d3)],'description':_0x539475(0x210)});},async _0x5f2d35=>{const _0x29adc8=_0x43ee3e;_0x5a9be9['bAlGt'](warnRenamed,_0x5a9be9[_0x29adc8(0x22c)],_0x29adc8(0x1d9)),await withTelemetry('feature\x20add-checklist-item',()=>featureAddScenario(_0x5f2d35[_0x29adc8(0x1ef)],_0x5f2d35['id']));})['command'](_0x1bf278[_0x43ee3e(0x127)],![],_0x5d63d7=>{const _0x18454b=_0x43ee3e;return _0x5d63d7[_0x18454b(0x142)]('id',{'type':_0x5a9be9[_0x18454b(0x24b)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x454d53=>{const _0x1c8c55=_0x43ee3e;warnRenamed('ranger\x20feature\x20get-feedback',_0x5a9be9[_0x1c8c55(0x1d7)]),await _0x5a9be9[_0x1c8c55(0x1dc)](withTelemetry,_0x5a9be9[_0x1c8c55(0x23b)],()=>featureGetReview(_0x454d53['id']));})[_0x43ee3e(0x118)](_0x43ee3e(0xa6),![],_0x83c419=>{const _0x5bac00=_0x43ee3e;return _0x83c419[_0x5bac00(0x142)]('id',{'type':_0x5a9be9[_0x5bac00(0x24b)],'description':_0x5bac00(0x11f)});},async _0x500f7=>{const _0xd9ef88=_0x43ee3e;warnRenamed(_0xd9ef88(0x23e),'ranger\x20delete'),await withTelemetry('feature\x20delete',()=>featureDelete(_0x500f7['id']));})['command']('restore\x20<id>',![],_0x3b6f05=>{const _0x1adbaa=_0x43ee3e;return _0x3b6f05[_0x1adbaa(0x142)]('id',{'type':_0x1adbaa(0x103),'description':_0x5a9be9['GLGMV'],'demandOption':!![]});},async _0x24c86f=>{const _0x3dbbec=_0x43ee3e;_0x1bf278[_0x3dbbec(0xc7)](warnRenamed,_0x1bf278['SzaxA'],'ranger\x20restore'),await withTelemetry(_0x3dbbec(0xa9),()=>featureRestore(_0x24c86f['id']));})['demandCommand'](0x1,_0x43ee3e(0x207));})[_0x3b6247(0x118)](_0x1bf278['hjquk'],![],_0x489ca3=>{const _0x1385fb=_0x3b6247,_0x572102={'sPIYQ':_0x1385fb(0x244)};return _0x489ca3['command']('enable',_0x1bf278[_0x1385fb(0x246)],_0x5ad030=>{const _0xce5158=_0x1385fb;return _0x5ad030[_0xce5158(0x177)]('session-id',{'type':_0x1bf278[_0xce5158(0x1d3)],'description':_0x1bf278[_0xce5158(0x9a)]});},async _0x3ecfb2=>{const _0x541948=_0x1385fb;await withTelemetry(_0x1bf278[_0x541948(0x170)],()=>hook(_0x541948(0xd2),_0x3ecfb2[_0x541948(0x244)]));})['command'](_0x1385fb(0xf5),_0x1bf278['FBLfn'],_0x29071d=>{const _0x4703fb=_0x1385fb;return _0x29071d['option'](_0x572102['sPIYQ'],{'type':'string','description':_0x4703fb(0x12b)});},async _0x1e1c01=>{const _0x3baae0=_0x1385fb;await withTelemetry('hook:disable',()=>hook('disable',_0x1e1c01[_0x3baae0(0x244)]));})[_0x1385fb(0x177)](_0x1bf278[_0x1385fb(0x1d2)],{'type':_0x1385fb(0x103),'description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})['option'](_0x1bf278['SoWVW'],{'type':'string','description':_0x1bf278[_0x1385fb(0x9a)]});},async _0x49a316=>{const _0x319b03=_0x3b6247;_0x49a316['name']&&await _0x1bf278[_0x319b03(0x148)](hook,_0x49a316[_0x319b03(0x1bc)],_0x49a316[_0x1bf278[_0x319b03(0x172)]]);})[_0x3b6247(0xee)](0x1,_0x1bf278[_0x3b6247(0xf9)])['strictCommands']()['fail'](async(_0x18153b,_0x118b77,_0x3a6371)=>{const _0x154153=_0x3b6247,_0x2f9555=_0x1bf278['fHIRa'](sanitizeArgs,process['argv'][_0x154153(0x1a9)](0x2)),_0xe1c05e=getErrorType(_0x18153b,_0x118b77);if(_0x18153b&&_0x18153b['includes'](_0x154153(0x178))){const _0x11f551=process[_0x154153(0x259)][0x2];console[_0x154153(0x204)](_0x154153(0x20f)+_0x11f551),console[_0x154153(0x204)](_0x1bf278[_0x154153(0x155)]);}else{if(_0x18153b)console['error']('\x0a'+_0x18153b+'\x0a');else _0x118b77&&console['error'](_0x154153(0xbf)+_0x118b77[_0x154153(0x161)]+'\x0a');}await _0x1bf278[_0x154153(0xb7)](logDesirePath,{'rawCommand':_0x2f9555,'errorMessage':_0x18153b||_0x118b77?.[_0x154153(0x161)],'errorType':_0xe1c05e});const _0xdbe277=getCurrentCollector();_0xdbe277&&await _0xdbe277[_0x154153(0x99)](_0x118b77||new Error(_0x18153b||_0x1bf278[_0x154153(0x1ab)])),process[_0x154153(0x230)](0x1);})['epilogue'](_0x1bf278[_0x3b6247(0x249)]('Documentation:\x0a',_0x1bf278[_0x3b6247(0xe5)])+_0x3b6247(0x19b))[_0x3b6247(0x1b4)]()['alias']('help','h');}process[_0x4f3969(0xb3)]['NODE_ENV']!==_0x4f3969(0x20a)&&buildParser()['parse']();
2
+ const _0x11d5df=_0x33c2;(function(_0x144b13,_0x3b9f10){const _0x28afd2=_0x33c2,_0xd52cd9=_0x144b13();while(!![]){try{const _0x2f5087=parseInt(_0x28afd2(0x21e))/0x1*(-parseInt(_0x28afd2(0x27d))/0x2)+parseInt(_0x28afd2(0x289))/0x3+-parseInt(_0x28afd2(0x2fc))/0x4*(-parseInt(_0x28afd2(0x332))/0x5)+parseInt(_0x28afd2(0x1ab))/0x6*(parseInt(_0x28afd2(0x274))/0x7)+parseInt(_0x28afd2(0x257))/0x8*(-parseInt(_0x28afd2(0x29a))/0x9)+-parseInt(_0x28afd2(0x27c))/0xa+-parseInt(_0x28afd2(0x1cc))/0xb*(parseInt(_0x28afd2(0x1a5))/0xc);if(_0x2f5087===_0x3b9f10)break;else _0xd52cd9['push'](_0xd52cd9['shift']());}catch(_0x59a984){_0xd52cd9['push'](_0xd52cd9['shift']());}}}(_0x3394,0x403c0));import _0x28c275 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x1983fd=_0x33c2,_0x672fe1={'bNvjE':function(_0x582562,_0x1ed732){return _0x582562(_0x1ed732);},'QRdNA':function(_0x2b7380,_0x37de95){return _0x2b7380!==_0x37de95;},'NHAnv':function(_0x488caa,_0x57dd6c,_0x51d956){return _0x488caa(_0x57dd6c,_0x51d956);},'QRNyn':function(_0x4edca3,_0x56e995){return _0x4edca3(_0x56e995);},'iKbeQ':'.env'};let _0x1a2c79=process['cwd']();const _0x467305=_0x672fe1[_0x1983fd(0x2ba)](parse,_0x1a2c79)[_0x1983fd(0x18d)];while(_0x672fe1['QRdNA'](_0x1a2c79,_0x467305)){if(existsSync(_0x672fe1[_0x1983fd(0x216)](join,_0x1a2c79,_0x1983fd(0x310)))||_0x672fe1['QRNyn'](existsSync,join(_0x1a2c79,_0x672fe1['iKbeQ'])))return _0x1a2c79;_0x1a2c79=_0x672fe1['bNvjE'](dirname,_0x1a2c79);}return process[_0x1983fd(0x336)]();}_0x28c275[_0x11d5df(0x23c)]({'path':join(findProjectRoot(),_0x11d5df(0x259))});import _0x3800ff from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';function _0x3394(){const _0xe698=['mYnNs','skip-auth','undKx','48WnDmwr','Feature\x20review\x20description','sxeGP','YoVYP','opencode','user','verified','Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)','oMOnI','New\x20scenario\x20description','ranger\x20profile\x20encrypt-auth','NZiDh','zDYQb','ijlut','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','value','mcp','limit','wzCvD','Reason:\x20','task','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','ntmna','mMpJo','iSzNv','ranger\x20feature\x20restore','disable','MAihb','array','KJHsE','vcVKO','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','argv','6471586hOccqd','--scenario','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','all','yDyzl','✓\x20Server-side\x20login\x20succeeded\x20for\x20\x27','GrEaO','ULZdm','Scenario\x20description','option','edit-scenario','Include\x20soft-deleted\x20feature\x20reviews','aWRFQ','gPEzZ','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','vVAFl','key','dfPYR','You\x20must\x20specify\x20an\x20auth\x20subcommand','Set\x20up\x20a\x20local\x20browser\x20profile','Update\x20authentication\x20for\x20an\x20existing\x20profile','LdIfO','feature\x20create','tYoRX','get-feedback\x20[id]','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','XktVt','dry-run','ranger\x20go','dpLtx','ObOGO','--env','env-name','profile\x20login','headed','tVoQE','WrfWl','item','with-deps','env','epilogue','ySGJj','name','profile','ranger\x20feature\x20get-feedback','\x0aIssues:','npRHp','kmglw','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','WDYAt','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','cnjKy','dRlaX','ranger\x20profile\x20config\x20unset','Remove\x20a\x20config\x20value','CFKxC','EIxEc','KtmAq','update','gPngA','setup:skills','cvfmC','xRqJw','DGNGj','iaEln','XVHLr','stqgx','\x20BLOCKED','project','DSjIo','deps','kShes','NHAnv','ranger','evaluation','dtjdP','kSgbZ','kakCI','ranger\x20show','MrHXu','8999JARyCd','setup:deps','rUbWf','env\x20list','yes','ApWpx','NsIjj','debug-address-comments','You\x20must\x20specify\x20an\x20env\x20subcommand','repeat','cSqDL','Skip\x20browser\x20authentication','encrypt\x20<profile>','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','test','offset','scriptName','pwVQF','base-url','zelsf','SAJwn','DgRKw','NHiYF','ZHZHF','create\x20<name>','demandCommand','PNUSR','nXfHq','You\x20must\x20specify\x20a\x20command','SSxmt','config','Get\x20a\x20config\x20value','deqzm','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','use\x20<env-name>','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','meMBt','yIstr','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','YwsnR','uwPTg','FTGtZ','error','number','ranger\x20feature\x20create','strictCommands','evaluationReason','maKBf','Name\x20of\x20the\x20profile','bvAif','jIoGU','IKYWQ','ranger\x20feature\x20delete','log','positional','Alias\x20for\x20--mcp-bootstrap','Feature\x20review\x20name','60128fiOQBd','URkzB','.env','partial','profile\x20config\x20unset','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','usage','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','skip-chromium','TjKAH','RCZFf','Ranger\x20API\x20token','uQrkZ','profile\x20config\x20get','rrwCS','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','SGFJW','lNzAe','clean','restore','ocRBM','eBXSl','hOWKu','issues','FvbCV','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','add-checklist-item\x20<description>','NEJYW','config\x20get','440860KxfLhT','\x27.\x20Session\x20written\x20to\x20cloud\x20profile.','exclude-scenario','delete\x20[id]','Cpkxr','PdSKv','dsPQC','kQvOS','469210AbfseE','58zYOUPA','arwST','hqWkp','Initialize\x20Ranger\x20in\x20your\x20project','command','wkMLC','ZZnAg','xWfDB','Number\x20of\x20feature\x20reviews\x20to\x20skip','trackCommandError','ranger\x20feature\x20list','NvfRn','1188336oRJcol','mLZGz','StzWL','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','LCEMd','delete','scenario','ranger\x20verify-feature','ranger\x20create','maCBU','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','Authenticate\x20via\x20MCP\x20proxy','Config\x20value','rfZnl','--notes','Manage\x20profile\x20configuration','288ywYIiY','FPFWn','TZSfP','nKqeV','notes','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','force','YrBWY','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','ranger\x20env\x20ls','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','Ranger\x20API\x20token\x20(rngr_...)','token','yUZhR','auth','blocked','current-branch','skills','WRyXR','Cloud\x20profile\x20name','RANGER_TEST_PASSWORD','safe-mode','ZkNkF','TuFKP','list','QliZl','zqwZm','list\x20<env>','ranger\x20feature\x20add-checklist-item','mcp-bootstrap','failed','exitCode','bNvjE','ekazd','LsLiX','Skip\x20interactive\x20confirmation\x20prompts.','PkxqS','boolean','fNNeY','tokenOrSubcommand','jMGWD','some','QChFV','profile\x20add','--checklist','slice','PZoZy','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','API\x20token','itesA','ZgZuX','Optional\x20feature\x20ID','ypCVc','migrate\x20[profile-name]','Authenticate\x20with\x20Ranger','DXDeB','POvZM','IjXMo','Add\x20profile\x20configuration','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','save-creds','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','ranger\x20add\x20env','HwOYk','You\x20must\x20specify\x20a\x20profile\x20subcommand','KClQO','alias','CvlhU','wbisF','length','iEuKy','✓\x20Authenticated\x20to\x20','hook','HfsLL','yxPYT','fbXQK','CksqT','CLYhO','eHqwr','session-id','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','allow-insecure-localhost','wXXBy','CMyjz','FfTtB','kaQrc','NODE_ENV','set\x20<profile>\x20<key>\x20<value>','XznOH','GMjlZ','Scenario\x20number\x20to\x20edit\x20(1-based)','yJPNb','MKpfR','profile-name','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','RZpUB','Skip\x20authentication','184CSYkMS','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','add-scenario','ywjML','vupJj','eoflJ','TEsMO','TzITn','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile\x20(cloud\x20profiles\x20only)','HXPXR','uxEIp','qTIGq','ENeUq','ZMUFm','HNDsN','HZoIf','zRzjD','Install\x20Ranger\x20skills','ranger\x20profile\x20use','Environment\x20name','.ranger','xLvAa','Dotwr','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.','profile\x20encrypt-auth','pBdcU','TohHj','lhAgJ','checklist','login\x20<name>','Name\x20of\x20the\x20environment','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','get-review\x20[id]','aayvf','ZhsVy','YJcWG','encrypt-auth\x20<profile>','DPFDw','You\x20must\x20specify\x20a\x20config\x20subcommand','restore\x20<id>','eoBEO','unset\x20<profile>\x20<key>','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','zAgTN','cOejk','ranger\x20auth\x20encrypt','GkUsk','Skip\x20Chromium\x20browser\x20installation','include-deleted','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','feature\x20restore','VWXLr','agsRU','feature','54335MwHvHF','CStBh','hook:enable','--profile','cwd','Profile\x20name','string','SRLqG','ranger\x20env\x20update','parse','profile\x20update','ctNaL','url','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','fail','show\x20[id]','Install\x20Chromium\x20browser\x20binary','List\x20all\x20profiles','igBig','kRjxI','--task','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','YuYEK','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','oFXQG','LwFfi','profile\x20migrate','incomplete','exit','root','Unknown\x20command','feature\x20list','Usage:\x20ranger\x20<command>\x20[options]\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\x20Set\x20up\x20a\x20local\x20browser\x20profile\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/update/config/encrypt-auth)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\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\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\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.','ranger\x20config\x20unset','--item','JzYYA','oamMD','Install\x20scope\x20for\x20skills','enable','description','not_configured','Login\x20failed:\x20','kvPVh','eOJCC','CLmPB','janeb','GDoIk','LZSeg','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','resume\x20[id]','tarCh','Evaluation:\x20','scope','12NIlBcO','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)'];_0x3394=function(){return _0xe698;};return _0x3394();}import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';function _0x33c2(_0x123cc7,_0x492641){_0x123cc7=_0x123cc7-0x17e;const _0x3394d7=_0x3394();let _0x33c256=_0x3394d7[_0x123cc7];return _0x33c256;}import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x5dd2bd=>{const _0x251e3a=_0x11d5df,_0x379ece={'FtNfQ':function(_0x1039bf){return _0x1039bf();}},_0x58bba9=_0x379ece['FtNfQ'](getCurrentCollector);_0x58bba9&&await _0x58bba9['trackCommandError'](_0x5dd2bd),process[_0x251e3a(0x2b9)]=0x1;});const rawArgs=process[_0x11d5df(0x1cb)]['slice'](0x2),TOP_LEVEL_HELP=_0x11d5df(0x190),PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\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\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x20\x20migrate\x20[<profile>]\x20\x20\x20\x20\x20\x20\x20Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20migrate\x20--all\x20--dry-run',PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aProfile\x20config.\x20Routes\x20automatically\x20based\x20on\x20where\x20the\x20profile\x20lives:\x0a\x20\x20-\x20Local\x20profiles\x20write\x20to\x20.ranger/<env>/settings.json\x0a\x20\x20-\x20Cloud\x20profiles\x20write\x20a\x20local\x20overlay\x20in\x20~/.ranger/projects.json\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\x20(effective\x20value\x20for\x20cloud\x20profiles)\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\x20local\x20overrides\x20(cloud\x20profiles\x20only)\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override\x20for\x20cloud\x20profiles)\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(_0x275ab5,_0x2e6764){console['error']('\x0a'+_0x275ab5+'\x20is\x20now\x20'+_0x2e6764+'\x0a');}function argUsed(_0x1b2071){const _0x8e47ab=_0x11d5df;return rawArgs[_0x8e47ab(0x2c3)](_0x2e1ae1=>_0x2e1ae1===_0x1b2071||_0x2e1ae1['startsWith'](_0x1b2071+'='));}function warnFlagRenamed(_0x475597,_0x2baac9,_0x54f22e){argUsed(_0x2baac9)&&warnRenamed(_0x475597+'\x20'+_0x2baac9,_0x475597+'\x20'+_0x54f22e);}async function runGoCommand(_0x1f2a26,_0x256442=![]){const _0xe2303a=_0x11d5df,_0x47aef7={'ZkNkF':function(_0x172f37,_0x1bd0d7){return _0x172f37+_0x1bd0d7;},'eBXSl':'ranger\x20go','zRrdC':function(_0x3299d8,_0x26261b,_0x1ca1ab,_0x9bd688){return _0x3299d8(_0x26261b,_0x1ca1ab,_0x9bd688);},'FvbCV':_0xe2303a(0x184),'mYnNs':_0xe2303a(0x298),'ySGJj':'--scenario','nXfHq':function(_0x150083){return _0x150083();},'Nrmad':function(_0x65b4e9){return _0x65b4e9();},'dtjdP':function(_0x3ebd36,_0x299559){return _0x3ebd36(_0x299559);},'cxPcz':'start-path','AJkzm':'debug-outcome','TWSJI':'verified','ZHZHF':function(_0x4be85c,_0x5dbb3d){return _0x4be85c===_0x5dbb3d;},'SAJwn':'incomplete','ywjML':'partial','poDiW':'\x20PARTIAL','zmSnl':_0xe2303a(0x2a9),'eoflJ':_0xe2303a(0x211)};_0x256442&&warnRenamed(_0xe2303a(0x290),_0x47aef7[_0xe2303a(0x26c)]);warnFlagRenamed('ranger\x20go',_0xe2303a(0x1ec),_0xe2303a(0x335)),_0x47aef7['zRrdC'](warnFlagRenamed,_0xe2303a(0x1e9),_0x47aef7[_0xe2303a(0x26f)],_0x47aef7[_0xe2303a(0x1a8)]),warnFlagRenamed('ranger\x20go',_0xe2303a(0x192),_0x47aef7[_0xe2303a(0x1f6)]);const _0x23647d=await _0x47aef7[_0xe2303a(0x239)](loadRangerConfig),_0x1e95ba=_0x47aef7['Nrmad'](isByokEnabled),_0x4e0207=_0x1f2a26['model'],_0x4a9ccb=_0x23647d['model'],_0x5c518c=await _0x47aef7[_0xe2303a(0x219)](verifyFeature,{'featureId':_0x1f2a26['feature'],'profile':_0x1f2a26['profile']??_0x1f2a26['env']??process['env']['RANGER_PROFILE'],'notes':_0x1f2a26[_0xe2303a(0x29e)]??_0x1f2a26['task'],'scenario':_0x1f2a26[_0xe2303a(0x28f)]??_0x1f2a26[_0xe2303a(0x1f2)],'startPath':_0x1f2a26[_0x47aef7['cxPcz']],'baseUrl':_0x1f2a26['base-url'],'debugOutcome':_0x1f2a26[_0x47aef7['AJkzm']],'debugAddressComments':_0x1f2a26[_0xe2303a(0x225)],'headed':_0x1f2a26['headed'],'byokEnabled':_0x1e95ba,'flagVerifyModel':_0x4e0207,'configVerifyModel':_0x4a9ccb});console[_0xe2303a(0x253)]('\x0a'+'='[_0xe2303a(0x227)](0x3c)),console['log'](_0x5c518c[_0xe2303a(0x218)]===_0x47aef7['TWSJI']?'\x20VERIFIED':_0x47aef7[_0xe2303a(0x235)](_0x5c518c[_0xe2303a(0x218)],_0x47aef7[_0xe2303a(0x232)])?'\x20INCOMPLETE':_0x47aef7['ZHZHF'](_0x5c518c[_0xe2303a(0x218)],_0x47aef7[_0xe2303a(0x2ff)])?_0x47aef7['poDiW']:_0x47aef7[_0xe2303a(0x235)](_0x5c518c[_0xe2303a(0x218)],_0x47aef7['zmSnl'])?_0x47aef7[_0xe2303a(0x301)]:'\x20FAILED'),console[_0xe2303a(0x253)]('='[_0xe2303a(0x227)](0x3c)),console[_0xe2303a(0x253)]('Summary:\x20'+_0x5c518c['summary']),console['log'](_0xe2303a(0x1a3)+_0x5c518c['evaluation']),console[_0xe2303a(0x253)](_0xe2303a(0x1be)+_0x5c518c[_0xe2303a(0x24c)]),_0x5c518c['issues']?.[_0xe2303a(0x2df)]&&(console['log'](_0xe2303a(0x1fa)),_0x5c518c[_0xe2303a(0x26e)]['forEach']((_0x1e9a36,_0x44bda3)=>{const _0x364d5a=_0xe2303a;console[_0x364d5a(0x253)]('\x0a'+_0x47aef7[_0x364d5a(0x2b0)](_0x44bda3,0x1)+'.\x20['+_0x1e9a36['severity']+']\x20'+_0x1e9a36[_0x364d5a(0x197)]);})),process[_0xe2303a(0x18c)](_0x5c518c['evaluation']==='verified'?0x0:0x1);}export function buildParser(_0x3616b1){const _0x24a7ff=_0x11d5df,_0x176b9c={'lhAgJ':_0x24a7ff(0x1f7),'vcVKO':_0x24a7ff(0x338),'dsPQC':_0x24a7ff(0x256),'cvfmC':'description','gpPdd':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','xLvAa':_0x24a7ff(0x318),'DPFDw':'array','GDoIk':'Example:\x20ranger\x20create\x20my-feature','XVHLr':_0x24a7ff(0x291),'deqzm':_0x24a7ff(0x2c6),'CvlhU':'current-branch','wXXBy':_0x24a7ff(0x2bf),'omtem':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','fwIIz':_0x24a7ff(0x1bc),'kHzaA':_0x24a7ff(0x22d),'tYoRX':_0x24a7ff(0x32c),'TZjdb':_0x24a7ff(0x1d7),'eOJCC':_0x24a7ff(0x2b2),'rfZnl':function(_0x4889f5,_0x28fb46,_0x24fcf8){return _0x4889f5(_0x28fb46,_0x24fcf8);},'bjRLd':'resume','HykSr':_0x24a7ff(0x1d4),'WrfWl':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','Awjmr':_0x24a7ff(0x2fe),'ApWpx':_0x24a7ff(0x1b4),'nKqeV':'scenario','KtmAq':function(_0x214dc6,_0x3523dd,_0x30ec7f){return _0x214dc6(_0x3523dd,_0x30ec7f);},'yjwgW':_0x24a7ff(0x1d6),'GMjlZ':'Feature\x20review\x20ID','BcoyD':'json','gKofM':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','iApML':_0x24a7ff(0x276),'FfTtB':'get-review','xLTgj':_0x24a7ff(0x28e),'FPFWn':'token','LZSeg':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','stqgx':'skip-auth','bvAif':'scope','dpLtx':'user','cOejk':'url','fbXQK':_0x24a7ff(0x1bb),'xRqJw':'mcp-bootstrap','VWXLr':_0x24a7ff(0x1f3),'qhssL':'opencode','DXDeB':function(_0x114fd8,_0xae33cf){return _0x114fd8(_0xae33cf);},'HSCzD':_0x24a7ff(0x217),'QChFV':function(_0x4b26b1,_0x3cb410,_0x170c0d){return _0x4b26b1(_0x3cb410,_0x170c0d);},'yxPYT':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','CziTo':_0x24a7ff(0x214),'rUbWf':_0x24a7ff(0x2d0),'hzdoC':'profiles','DpHFW':'skip-chromium','NZiDh':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','eYoZo':_0x24a7ff(0x2a0),'NvfRn':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','uxEIp':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','NsIjj':_0x24a7ff(0x2ec),'ykZTd':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','dRlaX':'start','ocRBM':'profile','MKpfR':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','dcEks':'setup-ci','kaQrc':'login','HIkow':'clean','HCRXR':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','kQvOS':'cdp-endpoint','lNzwN':_0x24a7ff(0x2af),'YtPhB':'yes','npRHp':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','bkzjg':'profile\x20use','iEuKy':function(_0x1d0fb3,_0x4f473f,_0x3c40e9){return _0x1d0fb3(_0x4f473f,_0x3c40e9);},'lAyFK':_0x24a7ff(0x314),'RZpUB':_0x24a7ff(0x18a),'jvGBJ':'profile\x20ls','HNDsN':_0x24a7ff(0x2f8),'SzAti':_0x24a7ff(0x241),'jIoGU':_0x24a7ff(0x2b8),'ygbQL':_0x24a7ff(0x1e8),'pHNkA':'profile\x20config\x20list','nRCXV':'profile\x20config\x20reset','agsRU':_0x24a7ff(0x2f2),'iaEln':'get\x20<profile>\x20<key>','aWRFQ':'list\x20<profile>','vrKvL':'List\x20all\x20config\x20for\x20a\x20profile','LmUGg':_0x24a7ff(0x304),'lmHAj':'add\x20<profile-name>','xnZsS':_0x24a7ff(0x2d4),'JElGs':'Switch\x20to\x20using\x20a\x20specific\x20profile','NHiYF':'update\x20<profile-name>','pAFHx':_0x24a7ff(0x1e0),'pBdcU':_0x24a7ff(0x2cf),'ljtrh':_0x24a7ff(0x1b2),'tXRvQ':'config','ZhsVy':'status','oMOnI':_0x24a7ff(0x208),'ULZdm':'print-access-token','kSgbZ':_0x24a7ff(0x2cd),'ibTAh':'notes','sxeGP':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','LsLiX':'Scenario\x20index\x20(1-based)','RHgXF':'start-path','dvEcR':_0x24a7ff(0x2fd),'Xeygf':_0x24a7ff(0x230),'aayvf':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','hpKKm':_0x24a7ff(0x313),'bfsiE':_0x24a7ff(0x1ef),'ypCVc':_0x24a7ff(0x25a),'TohHj':_0x24a7ff(0x2a9),'DGNGj':'debug-address-comments','cSqDL':_0x24a7ff(0x1bf),'yIstr':function(_0x1a8e05,_0x2ea39f){return _0x1a8e05(_0x2ea39f);},'VpMbS':'Profile\x20name','VLyCm':function(_0xb947a2,_0x314c1e){return _0xb947a2(_0x314c1e);},'hOWKu':_0x24a7ff(0x22a),'gwISH':_0x24a7ff(0x212),'kmglw':'Skip\x20authentication','YJcWG':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','URELE':function(_0x124b94,_0x236800,_0x5e4707){return _0x124b94(_0x236800,_0x5e4707);},'FPayO':'ranger\x20setup','zAgTN':function(_0x4fc0a4,_0x5b56bd,_0xfcc3d8){return _0x4fc0a4(_0x5b56bd,_0xfcc3d8);},'QdNbE':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','qIRxI':'item','kakCI':'number','hwtig':'model','rKhln':'debug-outcome','RLldA':_0x24a7ff(0x1b1),'XjGbS':function(_0x101fd5,_0xc05e9f,_0x356947){return _0x101fd5(_0xc05e9f,_0x356947);},'NNuUe':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','YaNPq':_0x24a7ff(0x2d8),'XktVt':_0x24a7ff(0x1ed),'ywKNE':_0x24a7ff(0x30e),'GSsjN':function(_0x3fd7d6,_0x1ee8e8,_0x14fe5a){return _0x3fd7d6(_0x1ee8e8,_0x14fe5a);},'IKYWQ':'use','GkUsk':'ranger\x20profile\x20config\x20set','wzCvD':'config\x20set','tVoQE':'env','AYQQx':function(_0x5b4517,_0x37d7ff,_0x420ca5){return _0x5b4517(_0x37d7ff,_0x420ca5);},'NWtVi':_0x24a7ff(0x296),'nYbUH':'Config\x20key','Uzfmy':'config\x20list','bzINq':_0x24a7ff(0x1dc),'sSPku':'set\x20<env>\x20<key>\x20<value>','maCBU':_0x24a7ff(0x2b5),'aitqW':_0x24a7ff(0x322),'mIwNZ':'ranger\x20profile\x20ls','lZANr':function(_0x1b9654,_0x2247c5,_0x5950f5){return _0x1b9654(_0x2247c5,_0x5950f5);},'PdSKv':'Name\x20of\x20the\x20environment\x20to\x20update','Nohod':_0x24a7ff(0x226),'zgQVa':_0x24a7ff(0x1cd),'dvmCk':function(_0x1ab136,_0x4389db,_0x3dd39f){return _0x1ab136(_0x4389db,_0x3dd39f);},'janeb':_0x24a7ff(0x21c),'XXXbm':'feature\x20show','ofQcD':function(_0x144965,_0x5c4131,_0x5b4e69){return _0x144965(_0x5c4131,_0x5b4e69);},'YoVYP':_0x24a7ff(0x1f9),'CFKxC':function(_0x57f84f,_0x1d2c0e,_0x7c0ed5){return _0x57f84f(_0x1d2c0e,_0x7c0ed5);},'YwsnR':'ranger\x20delete','AkLpm':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','eoBEO':'ranger\x20feature\x20resume','mVmtE':function(_0x4b1658,_0x318c30,_0x33a941){return _0x4b1658(_0x318c30,_0x33a941);},'AgSlN':'ranger\x20restore','TZSfP':_0x24a7ff(0x236),'PZoZy':_0x24a7ff(0x17f),'CLmPB':_0x24a7ff(0x271),'dKJxH':_0x24a7ff(0x1e4),'UgiZe':'delete\x20[id]','oamMD':_0x24a7ff(0x1da),'FPWOI':_0x24a7ff(0x334),'zDYQb':_0x24a7ff(0x1c0),'QKcLi':'hook:disable','xKrKz':_0x24a7ff(0x244),'MrHXu':'disable','KJHsE':_0x24a7ff(0x2e9),'ijlut':_0x24a7ff(0x18e),'OeWXK':_0x24a7ff(0x2c9),'jMGWD':function(_0x5b8dd0,_0x21e3c4){return _0x5b8dd0(_0x21e3c4);},'gWTjV':function(_0x1560b9,_0x4a2c45){return _0x1560b9(_0x4a2c45);},'DgRKw':function(_0x4071d1){return _0x4071d1();},'xWfDB':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','Cpkxr':'add-scenario\x20<description>','JHsCs':_0x24a7ff(0x2d7),'maKBf':_0x24a7ff(0x1b9),'DgrVn':'report\x20[id]','UGlOC':_0x24a7ff(0x31c),'OkqEK':_0x24a7ff(0x1ce),'Vqsgu':_0x24a7ff(0x25c),'TkKqL':_0x24a7ff(0x323),'TEsMO':'Restore\x20a\x20soft-deleted\x20feature\x20review','Orfac':'setup\x20[tokenOrSubcommand]','vupJj':_0x24a7ff(0x280),'YrBWY':'setup-ci\x20<token>','LwFfi':_0x24a7ff(0x23f),'bZvQH':_0x24a7ff(0x31b),'WRyXR':'skillup','tarCh':'Manage\x20profiles','iwmgv':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','jeNIN':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','lNzAe':_0x24a7ff(0x2eb),'WDYAt':'verify-feature','gPngA':_0x24a7ff(0x331),'YuYEK':_0x24a7ff(0x2e2),'YqDdX':_0x24a7ff(0x23a),'ZgZuX':function(_0x4e9372,_0xcf894){return _0x4e9372+_0xcf894;},'LCEMd':function(_0x2db23f,_0x2f6b23){return _0x2db23f+_0x2f6b23;},'gEpMC':'help'};return _0x176b9c['gWTjV'](_0x3800ff,_0x3616b1??process[_0x24a7ff(0x1cb)][_0x24a7ff(0x2c7)](0x2))[_0x24a7ff(0x22e)]('ranger')[_0x24a7ff(0x25d)](TOP_LEVEL_HELP)['version'](_0x176b9c[_0x24a7ff(0x233)](getCurrentVersion))[_0x24a7ff(0x281)]('create\x20<name>',_0x176b9c[_0x24a7ff(0x284)],_0x88496a=>{const _0xf629d6=_0x24a7ff;return _0x88496a[_0xf629d6(0x254)](_0x176b9c[_0xf629d6(0x317)],{'type':_0x176b9c['vcVKO'],'description':_0x176b9c[_0xf629d6(0x27a)],'demandOption':!![]})['option'](_0x176b9c[_0xf629d6(0x20b)],{'type':'string','alias':'d','description':_0xf629d6(0x1ac)})[_0xf629d6(0x1d5)]('scenario',{'type':'array','alias':'c','description':_0x176b9c['gpPdd']})[_0xf629d6(0x1d5)](_0x176b9c[_0xf629d6(0x311)],{'type':_0x176b9c[_0xf629d6(0x321)],'hidden':!![]});},async _0x489ef9=>{const _0xc5d25b=_0x24a7ff;if(!_0x489ef9['name']){console['error'](_0xc5d25b(0x25e)+_0x176b9c[_0xc5d25b(0x19e)]),process[_0xc5d25b(0x18c)](0x1);return;}warnFlagRenamed(_0x176b9c[_0xc5d25b(0x20f)],_0x176b9c[_0xc5d25b(0x23e)],'--scenario');const _0x2e7519=_0x489ef9['scenario']||_0x489ef9['checklist'];await withTelemetry('create',()=>featureCreate(_0x489ef9[_0xc5d25b(0x1f7)],{'description':_0x489ef9[_0xc5d25b(0x197)],'scenarios':_0x2e7519}));})['command'](_0x24a7ff(0x2b2),'List\x20all\x20feature\x20reviews',_0x161c81=>{const _0x225eb0=_0x24a7ff;return _0x161c81['option'](_0x176b9c[_0x225eb0(0x2dd)],{'type':_0x176b9c[_0x225eb0(0x2ed)],'description':_0x176b9c['omtem']})['option'](_0x176b9c['fwIIz'],{'type':'number','alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})[_0x225eb0(0x1d5)](_0x176b9c['kHzaA'],{'type':_0x225eb0(0x249),'alias':'o','description':_0x225eb0(0x285),'default':0x0})[_0x225eb0(0x1d5)](_0x176b9c[_0x225eb0(0x1e3)],{'type':_0x176b9c['wXXBy'],'alias':'d','description':_0x176b9c['TZjdb'],'default':![]});},async _0x2045ad=>{const _0x35d73c=_0x24a7ff;await withTelemetry(_0x176b9c['eOJCC'],()=>featureList({'currentBranch':_0x2045ad[_0x35d73c(0x2aa)],'limit':_0x2045ad[_0x35d73c(0x1bc)],'offset':_0x2045ad[_0x35d73c(0x22d)],'includeDeleted':_0x2045ad['include-deleted']}));})['command'](_0x176b9c[_0x24a7ff(0x2c8)],_0x24a7ff(0x187),_0x156516=>{return _0x156516['positional']('id',{'type':_0x176b9c['vcVKO'],'description':'Feature\x20review\x20ID'});},async _0xd7e0c3=>{const _0x1ee45b=_0x24a7ff;await _0x176b9c[_0x1ee45b(0x297)](withTelemetry,'show',()=>featureShow(_0xd7e0c3['id']));})[_0x24a7ff(0x281)](_0x24a7ff(0x1a1),_0x24a7ff(0x2ea),_0x211fdf=>{const _0x2975b3=_0x24a7ff;return _0x211fdf[_0x2975b3(0x254)]('id',{'type':_0x176b9c['vcVKO'],'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x14b368=>{await withTelemetry(_0x176b9c['bjRLd'],()=>featureResume(_0x14b368['id']));})['command'](_0x176b9c[_0x24a7ff(0x278)],_0x176b9c['JHsCs'],_0x46c468=>{const _0x4018c1=_0x24a7ff;return _0x46c468[_0x4018c1(0x254)](_0x176b9c[_0x4018c1(0x20b)],{'type':_0x176b9c['vcVKO'],'description':_0x176b9c['HykSr'],'demandOption':!![]})['option']('id',{'type':_0x4018c1(0x338),'description':_0x176b9c['WrfWl']});},async _0x314794=>{const _0x47a46a=_0x24a7ff;await withTelemetry(_0x176b9c['Awjmr'],()=>featureAddScenario(_0x314794[_0x47a46a(0x197)],_0x314794['id']));})[_0x24a7ff(0x281)]('edit-scenario\x20<description>',_0x176b9c[_0x24a7ff(0x24d)],_0x65e7e1=>{const _0x4e6975=_0x24a7ff;return _0x65e7e1['positional'](_0x4e6975(0x197),{'type':_0x176b9c[_0x4e6975(0x1c9)],'description':_0x176b9c[_0x4e6975(0x223)],'demandOption':!![]})['option'](_0x176b9c[_0x4e6975(0x29d)],{'type':'number','description':_0x4e6975(0x2f5),'demandOption':!![]})[_0x4e6975(0x1d5)]('id',{'type':_0x176b9c['vcVKO'],'description':_0x176b9c['WrfWl']});},async _0x14d89b=>{const _0x5349a3=_0x24a7ff;await _0x176b9c[_0x5349a3(0x207)](withTelemetry,_0x176b9c['yjwgW'],()=>featureEditScenario(_0x14d89b['description'],{'id':_0x14d89b['id'],'scenario':_0x14d89b[_0x5349a3(0x28f)]}));})[_0x24a7ff(0x281)](_0x176b9c['DgrVn'],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x55bf62=>{const _0xbe569b=_0x24a7ff;return _0x55bf62[_0xbe569b(0x254)]('id',{'type':_0x176b9c[_0xbe569b(0x1c9)],'description':_0x176b9c['GMjlZ']})[_0xbe569b(0x1d5)](_0xbe569b(0x276),{'type':_0x176b9c[_0xbe569b(0x321)],'description':_0xbe569b(0x22b)})['option'](_0x176b9c['BcoyD'],{'type':_0x176b9c[_0xbe569b(0x2ed)],'description':_0x176b9c['gKofM'],'default':![]});},async _0x4acc21=>{const _0x1bf252=_0x4acc21[_0x176b9c['iApML']],_0x25b9eb=_0x1bf252?_0x1bf252['map'](_0x179a62=>Number(_0x179a62)):undefined;await withTelemetry('report',()=>featureReportPrDescription(_0x4acc21['id'],{'excludeScenarios':_0x25b9eb,'json':_0x4acc21['json']}));})['command'](_0x176b9c['UGlOC'],_0x176b9c['OkqEK'],_0x28039f=>{const _0x5797a1=_0x24a7ff;return _0x28039f['positional']('id',{'type':'string','description':_0x5797a1(0x326)});},async _0x943b8a=>{const _0x400e35=_0x24a7ff;await withTelemetry(_0x176b9c[_0x400e35(0x2ef)],()=>featureGetReview(_0x943b8a['id']));})[_0x24a7ff(0x281)](_0x24a7ff(0x277),_0x176b9c['Vqsgu'],_0x796f81=>{const _0x5e5880=_0x24a7ff;return _0x796f81[_0x5e5880(0x254)]('id',{'type':_0x176b9c['vcVKO'],'description':_0x176b9c['GMjlZ']});},async _0x373797=>{const _0x282179=_0x24a7ff;await _0x176b9c[_0x282179(0x207)](withTelemetry,_0x176b9c['xLTgj'],()=>featureDelete(_0x373797['id']));})[_0x24a7ff(0x281)](_0x176b9c['TkKqL'],_0x176b9c[_0x24a7ff(0x302)],_0x40cbca=>{const _0x336e29=_0x24a7ff;return _0x40cbca[_0x336e29(0x254)]('id',{'type':_0x176b9c[_0x336e29(0x1c9)],'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0xac1c92=>{const _0x99510d=_0x24a7ff;await withTelemetry(_0x99510d(0x26a),()=>featureRestore(_0xac1c92['id']));})['command'](_0x176b9c['Orfac'],_0x176b9c[_0x24a7ff(0x300)],_0x5e46ac=>{const _0x19a154=_0x24a7ff,_0x87ed96={'ntmna':_0x176b9c['FPFWn'],'mMpJo':_0x19a154(0x2bf),'SGFJW':_0x176b9c[_0x19a154(0x19f)],'POvZM':_0x176b9c['stqgx'],'ytcZx':_0x19a154(0x2fb),'eHqwr':_0x176b9c['bvAif'],'ekazd':_0x176b9c['vcVKO'],'gPEzZ':_0x176b9c[_0x19a154(0x1ea)],'FTGtZ':_0x19a154(0x212),'pwVQF':'Install\x20scope\x20for\x20plugin\x20and\x20skills','undKx':_0x176b9c[_0x19a154(0x328)],'MAihb':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','kShes':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','ctNaL':_0x176b9c[_0x19a154(0x2e5)],'QliZl':_0x176b9c[_0x19a154(0x20c)],'SRLqG':'setup:all','BvnBs':_0x176b9c[_0x19a154(0x32f)],'dfPYR':function(_0x387329,_0x31d317,_0xef6ad4){return _0x387329(_0x31d317,_0xef6ad4);},'tUVTZ':_0x19a154(0x21f),'Yyjvw':_0x19a154(0x2a5),'qTIGq':function(_0x178e8f){return _0x178e8f();},'oFXQG':function(_0x4535e1,_0x5f344d,_0x533ae6){return _0x4535e1(_0x5f344d,_0x533ae6);},'vRoqN':_0x176b9c['qhssL'],'TuFKP':function(_0x32440c,_0x2a8f6b){return _0x176b9c['DXDeB'](_0x32440c,_0x2a8f6b);},'ZZnAg':_0x176b9c['HSCzD'],'cnjKy':function(_0x264937,_0x21252e,_0x49898b){const _0x3f94bd=_0x19a154;return _0x176b9c[_0x3f94bd(0x2c4)](_0x264937,_0x21252e,_0x49898b);},'bcIZP':'Where\x20to\x20store\x20the\x20profile','UXuyM':_0x19a154(0x2a0),'WwosJ':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url'};return _0x5e46ac[_0x19a154(0x25d)]('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')['positional'](_0x19a154(0x2c1),{'type':_0x176b9c['vcVKO'],'description':_0x176b9c[_0x19a154(0x2e4)]})['command'](_0x19a154(0x1cf),'Run\x20full\x20interactive\x20setup',_0x50efab=>{const _0x3e9ee3=_0x19a154;return _0x50efab[_0x3e9ee3(0x1d5)](_0x87ed96['ntmna'],{'type':_0x3e9ee3(0x338),'description':_0x3e9ee3(0x262)})[_0x3e9ee3(0x1d5)](_0x3e9ee3(0x25f),{'type':_0x87ed96['mMpJo'],'description':_0x87ed96[_0x3e9ee3(0x267)],'default':![]})['option'](_0x87ed96[_0x3e9ee3(0x2d2)],{'type':'boolean','description':_0x87ed96['ytcZx'],'default':![]})[_0x3e9ee3(0x1d5)](_0x3e9ee3(0x1f3),{'type':_0x87ed96['mMpJo'],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]})[_0x3e9ee3(0x1d5)](_0x87ed96['eHqwr'],{'type':_0x87ed96['ekazd'],'choices':[_0x87ed96[_0x3e9ee3(0x1d9)],_0x87ed96[_0x3e9ee3(0x247)]],'description':_0x87ed96[_0x3e9ee3(0x22f)]})[_0x3e9ee3(0x1d5)](_0x87ed96[_0x3e9ee3(0x1aa)],{'type':_0x87ed96['ekazd'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})['option']('force',{'type':_0x87ed96['mMpJo'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option']('opencode',{'type':'boolean','description':_0x87ed96[_0x3e9ee3(0x1c6)],'default':![]})[_0x3e9ee3(0x1d5)]('allow-insecure-localhost',{'type':_0x3e9ee3(0x2bf),'description':_0x87ed96[_0x3e9ee3(0x215)],'default':![]})['option']('mcp-bootstrap',{'type':_0x3e9ee3(0x2bf),'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','default':![]})['option'](_0x87ed96[_0x3e9ee3(0x33d)],{'type':'boolean','description':_0x3e9ee3(0x255),'default':![]});},async _0x2690ed=>{const _0x59eaa1=_0x19a154;(_0x2690ed[_0x87ed96[_0x59eaa1(0x2b3)]]||_0x2690ed[_0x59eaa1(0x1bb)])&&await withTelemetry(_0x87ed96[_0x59eaa1(0x2b3)],()=>mcpBootstrap()),await withTelemetry(_0x87ed96[_0x59eaa1(0x339)],_0x46744d=>start(_0x2690ed[_0x59eaa1(0x2a6)],{'skipChromium':_0x2690ed['skip-chromium'],'skipAuth':_0x2690ed[_0x59eaa1(0x1a9)],'withDeps':_0x2690ed['with-deps'],'scope':_0x2690ed['scope'],'url':_0x2690ed['url'],'force':_0x2690ed[_0x59eaa1(0x2a0)],'opencode':_0x2690ed[_0x59eaa1(0x1af)],'allowInsecureLocalhost':_0x2690ed[_0x59eaa1(0x2ec)]},_0x46744d));})[_0x19a154(0x281)](_0x176b9c['CziTo'],_0x19a154(0x180),_0x28234c=>{const _0x2e2959=_0x19a154;return _0x28234c[_0x2e2959(0x1d5)](_0x87ed96['BvnBs'],{'type':_0x2e2959(0x2bf),'description':_0x2e2959(0x1fe),'default':![]});},async _0x49fa2a=>{const _0x44f19b=_0x19a154;await _0x87ed96[_0x44f19b(0x1dd)](withTelemetry,_0x87ed96['tUVTZ'],()=>ensureChromium(_0x49fa2a['with-deps']));})['command']('login',_0x176b9c[_0x19a154(0x220)],_0x4c55a4=>{const _0x41df20=_0x19a154;return _0x4c55a4[_0x41df20(0x1d5)](_0x87ed96[_0x41df20(0x1c1)],{'type':_0x87ed96['ekazd'],'description':_0x87ed96['Yyjvw']})['option'](_0x41df20(0x1bb),{'type':_0x41df20(0x2bf),'description':_0x41df20(0x295),'default':![]});},async _0x3853e8=>{const _0x53150e=_0x19a154,_0x5a9af5={'tDUdQ':function(_0x58dcb0){return _0x58dcb0();},'yUZhR':function(_0x5c9f42){const _0x56ca8b=_0x33c2;return _0x87ed96[_0x56ca8b(0x307)](_0x5c9f42);},'hdrcN':function(_0x5c04f5,_0x16e7df){return _0x5c04f5(_0x16e7df);}};await _0x87ed96[_0x53150e(0x188)](withTelemetry,'setup:login',async()=>{const _0x273c6b=_0x53150e;if(_0x3853e8['mcp']){await _0x5a9af5['tDUdQ'](mcpBootstrap);const _0x584929=await _0x5a9af5[_0x273c6b(0x2a7)](refreshCliToken);if(!_0x584929)throw new Error('Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.');const _0x157923=await _0x5a9af5['hdrcN'](getCurrentUser,_0x584929);if(!_0x157923['success'])throw new Error(_0x273c6b(0x1a0)+_0x157923[_0x273c6b(0x248)]);console[_0x273c6b(0x253)](_0x273c6b(0x2e1)+_0x157923['user']['organizationName']);return;}await authenticate(_0x3853e8[_0x273c6b(0x2a6)]);});})['command'](_0x19a154(0x2ab),_0x19a154(0x1ca),_0x4af8de=>{const _0xb45696=_0x19a154;return _0x4af8de['option']('scope',{'type':_0xb45696(0x338),'choices':[_0x87ed96[_0xb45696(0x1d9)],_0xb45696(0x212)],'description':_0x87ed96[_0xb45696(0x22f)]})['option'](_0x87ed96['vRoqN'],{'type':_0x87ed96[_0xb45696(0x1c2)],'description':_0xb45696(0x200),'default':![]});},async _0x5a5235=>{const _0x3dbed9=_0x19a154,_0x398410={'mLZGz':function(_0x5cddfd,_0x172438){const _0x8ba37a=_0x33c2;return _0x87ed96[_0x8ba37a(0x2b1)](_0x5cddfd,_0x172438);},'EIxEc':function(_0x5403c0,_0x56c289,_0x549863){return _0x5403c0(_0x56c289,_0x549863);},'XwzoL':_0x87ed96[_0x3dbed9(0x283)],'ObOGO':_0x3dbed9(0x1af),'Vopob':function(_0x1a56f6,_0x416dcf){return _0x1a56f6(_0x416dcf);},'pXCSU':function(_0x3710b3,_0x1bf2ce){return _0x87ed96['TuFKP'](_0x3710b3,_0x1bf2ce);}};await _0x87ed96[_0x3dbed9(0x201)](withTelemetry,_0x3dbed9(0x20a),async()=>{const _0x18d3b5=_0x3dbed9,_0x31204b=_0x5a5235['scope'];if(_0x5a5235['opencode']){const _0x424ff0=await _0x398410[_0x18d3b5(0x28a)](ensureOpencodePluginConfig,_0x31204b);_0x424ff0&&await _0x398410[_0x18d3b5(0x206)](installSkill,_0x398410['XwzoL'],{'level':_0x424ff0['scope'],'cliVersion':getCurrentVersion(),'platform':_0x398410[_0x18d3b5(0x1eb)]});}else await _0x398410['Vopob'](ensureClaudePlugin,_0x31204b),await _0x398410['pXCSU'](ensureClaudeSkills,_0x31204b);});})['command'](_0x176b9c['hzdoC'],_0x19a154(0x1df),_0x51bd88=>{const _0x32d941=_0x19a154;return _0x51bd88[_0x32d941(0x1d5)](_0x87ed96[_0x32d941(0x2e8)],{'type':_0x32d941(0x338),'choices':['user','project'],'description':_0x87ed96['bcIZP']})[_0x32d941(0x1d5)](_0x87ed96[_0x32d941(0x1aa)],{'type':_0x87ed96[_0x32d941(0x2bb)],'description':'Base\x20URL\x20of\x20the\x20running\x20app'})['option'](_0x32d941(0x1a9),{'type':'boolean','description':_0x32d941(0x229),'default':![]})['option'](_0x87ed96['UXuyM'],{'type':_0x32d941(0x2bf),'description':_0x87ed96['WwosJ'],'default':![]})[_0x32d941(0x1d5)](_0x32d941(0x2ec),{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x19e1b4=>{const _0x5ac23f=_0x19a154;await _0x176b9c['KtmAq'](withTelemetry,'setup:profiles',_0x3c0a57=>ensureLocalEnv({'url':_0x19e1b4[_0x5ac23f(0x33e)],'force':_0x19e1b4[_0x5ac23f(0x2a0)],'allowInsecureLocalhost':_0x19e1b4[_0x5ac23f(0x2ec)],'scope':_0x19e1b4[_0x5ac23f(0x1a4)]===_0x5ac23f(0x1b0)?'user':undefined},_0x3c0a57));})['option'](_0x176b9c['DpHFW'],{'type':_0x176b9c[_0x19a154(0x2ed)],'description':_0x176b9c[_0x19a154(0x19f)],'default':![]})['option'](_0x176b9c[_0x19a154(0x24f)],{'type':'string','choices':['user'],'hidden':!![],'description':_0x19a154(0x29f)})['option'](_0x19a154(0x33e),{'type':_0x19a154(0x338),'description':_0x176b9c['NZiDh']})[_0x19a154(0x1d5)](_0x176b9c['eYoZo'],{'type':_0x176b9c[_0x19a154(0x2ed)],'description':_0x176b9c[_0x19a154(0x288)],'default':![]})['option']('opencode',{'type':_0x19a154(0x2bf),'description':_0x176b9c[_0x19a154(0x306)],'default':![]})[_0x19a154(0x1d5)](_0x176b9c[_0x19a154(0x224)],{'type':_0x176b9c['wXXBy'],'description':_0x19a154(0x241),'default':![]})['option'](_0x176b9c[_0x19a154(0x20c)],{'type':'boolean','description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','default':![]})[_0x19a154(0x1d5)](_0x176b9c[_0x19a154(0x210)],{'type':'boolean','description':_0x19a154(0x1a7),'default':![]})[_0x19a154(0x1d5)](_0x176b9c[_0x19a154(0x32f)],{'type':_0x176b9c[_0x19a154(0x2ed)],'description':_0x176b9c['ykZTd'],'default':![]})[_0x19a154(0x1d5)](_0x176b9c[_0x19a154(0x29b)],{'type':_0x176b9c['vcVKO'],'hidden':!![],'description':_0x19a154(0x2ca)});},async _0x1d3ee8=>{const _0xed02bf=_0x24a7ff,_0x181dae=_0x1d3ee8['tokenOrSubcommand'],_0x9dfc6b=_0x1d3ee8[_0xed02bf(0x2a6)]??_0x181dae;_0x1d3ee8[_0x176b9c['xRqJw']]&&await withTelemetry(_0xed02bf(0x2b7),()=>mcpBootstrap()),await withTelemetry(_0x176b9c[_0xed02bf(0x202)],_0x55ec07=>start(_0x9dfc6b,{'skipChromium':_0x1d3ee8[_0xed02bf(0x25f)],'skipAuth':_0x1d3ee8[_0xed02bf(0x1a9)],'withDeps':_0x1d3ee8[_0xed02bf(0x1f3)],'scope':_0x1d3ee8['scope'],'url':_0x1d3ee8['url'],'force':_0x1d3ee8['force'],'opencode':_0x1d3ee8['opencode'],'allowInsecureLocalhost':_0x1d3ee8['allow-insecure-localhost']},_0x55ec07));})[_0x24a7ff(0x281)](_0x176b9c[_0x24a7ff(0x2a1)],_0x176b9c[_0x24a7ff(0x189)],_0x59e126=>{const _0x3bc2d9=_0x24a7ff;return _0x59e126[_0x3bc2d9(0x254)](_0x176b9c['FPFWn'],{'type':_0x176b9c['vcVKO'],'description':_0x3bc2d9(0x262),'demandOption':!![]})[_0x3bc2d9(0x1d5)](_0x176b9c['ocRBM'],{'type':'string','description':_0x176b9c[_0x3bc2d9(0x2f7)]})['option'](_0x3bc2d9(0x230),{'type':_0x176b9c[_0x3bc2d9(0x1c9)],'description':_0x3bc2d9(0x2a2)})['option'](_0x176b9c['DpHFW'],{'type':_0x3bc2d9(0x2bf),'description':_0x3bc2d9(0x32b),'default':![]});},async _0x4bc237=>{const _0x3be1d5=_0x24a7ff;await _0x176b9c['rfZnl'](withTelemetry,_0x176b9c['dcEks'],_0x28402e=>setupCi(_0x4bc237['token'],{'profile':_0x4bc237[_0x3be1d5(0x1f8)],'baseUrl':_0x4bc237['base-url'],'skipChromium':_0x4bc237['skip-chromium']},_0x28402e));})[_0x24a7ff(0x281)](_0x176b9c[_0x24a7ff(0x2f0)],_0x176b9c['bZvQH'],()=>{},async()=>{await withTelemetry(_0x176b9c['kaQrc'],()=>login());})[_0x24a7ff(0x281)](_0x176b9c[_0x24a7ff(0x2ac)],_0x24a7ff(0x30d),_0x1b061e=>{const _0x45a28a=_0x24a7ff;return _0x1b061e[_0x45a28a(0x1d5)]('opencode',{'type':_0x176b9c[_0x45a28a(0x2ed)],'description':'Install\x20skills\x20for\x20OpenCode','default':![]})[_0x45a28a(0x1d5)](_0x176b9c[_0x45a28a(0x24f)],{'type':'string','choices':['user',_0x45a28a(0x212)],'description':_0x45a28a(0x195)});},async _0x2764ed=>{const _0x355219=_0x24a7ff,_0x178916=Boolean(_0x2764ed[_0x355219(0x1af)]);await withTelemetry('skillup',()=>skillup({'autoInstall':_0x2764ed['scope'],'platform':_0x178916?_0x355219(0x1af):'claude'}));})[_0x24a7ff(0x281)](_0x24a7ff(0x269),'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{await withTelemetry(_0x176b9c['HIkow'],()=>clean());})['command']([_0x176b9c['ocRBM'],_0x176b9c['hzdoC']],_0x176b9c[_0x24a7ff(0x1a2)],_0x4972fa=>{const _0xb67615=_0x24a7ff,_0x27705c={'PkxqS':function(_0x41d025,_0xe6c558,_0x52f496,_0x5be817){return _0x41d025(_0xe6c558,_0x52f496,_0x5be817);},'cPTcd':_0xb67615(0x2c5),'MyPMe':function(_0x532ffc,_0x4fcfe4){const _0x532b67=_0xb67615;return _0x176b9c[_0x532b67(0x2d1)](_0x532ffc,_0x4fcfe4);},'rKLuE':_0x176b9c[_0xb67615(0x27b)],'HwOYk':_0x176b9c['ocRBM'],'PNUSR':_0x176b9c['vcVKO'],'CStBh':function(_0x6c99f4,_0x2b75f0,_0x246106){return _0x6c99f4(_0x2b75f0,_0x246106);},'PQLTa':_0x176b9c['jvGBJ'],'jHFXl':_0x176b9c[_0xb67615(0x30a)],'JzYYA':_0x176b9c['NsIjj'],'zelsf':_0x176b9c['SzAti'],'neslS':_0x176b9c[_0xb67615(0x317)],'meMBt':_0xb67615(0x2ad),'kvPVh':function(_0x1750aa,_0x37df10){return _0x1750aa||_0x37df10;},'fQbvP':function(_0x50fd8f,_0x5ca214,_0x2332c8){const _0x1c5cff=_0xb67615;return _0x176b9c[_0x1c5cff(0x2c4)](_0x50fd8f,_0x5ca214,_0x2332c8);},'ecBcd':_0x176b9c[_0xb67615(0x250)],'eohZD':'unknown\x20error','BOKZi':_0xb67615(0x1ee),'rIKba':_0x176b9c['wXXBy'],'HfsLL':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','CMyjz':_0x176b9c['ygbQL'],'pWvaB':_0xb67615(0x2bd),'arwST':'save-creds','udrAw':function(_0x4a9bd1,_0x1d9b5d,_0x99001){return _0x4a9bd1(_0x1d9b5d,_0x99001);},'pzGgm':_0x176b9c['pHNkA'],'hqWkp':'key','zNRot':'Config\x20key\x20to\x20remove','URkzB':_0xb67615(0x337),'Dotwr':_0xb67615(0x1ba),'KClQO':_0xb67615(0x296),'Uynrz':_0xb67615(0x25b),'Gnsgj':_0x176b9c['nRCXV'],'xbPBJ':_0x176b9c[_0xb67615(0x330)],'GrEaO':'Set\x20a\x20config\x20value','UIiWC':_0x176b9c[_0xb67615(0x20e)],'NEJYW':_0xb67615(0x23d),'DSjIo':_0x176b9c[_0xb67615(0x1d8)],'iSzNv':_0x176b9c['vrKvL'],'NHHbI':_0xb67615(0x325),'HXPXR':_0x176b9c['LmUGg']};return _0x4972fa[_0xb67615(0x25d)](PROFILE_HELP)['command'](_0x176b9c['lmHAj'],_0x176b9c['xnZsS'],_0x62e1c1=>{const _0x39ef87=_0xb67615;return _0x62e1c1['positional']('profile-name',{'type':'string','description':_0x176b9c['HCRXR'],'demandOption':!![]})['option']('ci',{'type':_0x39ef87(0x2bf),'description':_0x39ef87(0x1a6),'default':![]})[_0x39ef87(0x1d5)]('skip-auth',{'type':_0x176b9c['wXXBy'],'description':_0x39ef87(0x266),'default':![]})['option'](_0x39ef87(0x33e),{'type':_0x39ef87(0x338),'description':_0x39ef87(0x32d)})['option']('force',{'type':_0x39ef87(0x2bf),'description':_0x39ef87(0x1e6),'default':![]})['option'](_0x176b9c[_0x39ef87(0x27b)],{'type':_0x176b9c['vcVKO'],'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})[_0x39ef87(0x1d5)](_0x39ef87(0x2ec),{'type':'boolean','description':_0x39ef87(0x241),'default':![]})['option'](_0x176b9c['lNzwN'],{'type':_0x176b9c['wXXBy'],'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]})[_0x39ef87(0x1d5)]('setup-header',{'type':'string','array':!![],'description':_0x39ef87(0x185)})['option'](_0x176b9c[_0x39ef87(0x24f)],{'type':_0x176b9c[_0x39ef87(0x1c9)],'choices':[_0x176b9c['dpLtx'],'project'],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})[_0x39ef87(0x1d5)](_0x176b9c['YtPhB'],{'type':_0x176b9c[_0x39ef87(0x2ed)],'alias':'y','description':_0x176b9c[_0x39ef87(0x1fb)],'default':![]});},async _0x5f7357=>{const _0x44e568=_0xb67615;await _0x27705c[_0x44e568(0x2be)](withTelemetry,_0x27705c['cPTcd'],_0x1902dd=>addEnv(_0x5f7357['profile-name'],{'ci':_0x5f7357['ci'],'skipAuth':_0x5f7357[_0x44e568(0x1a9)],'url':_0x5f7357['url'],'force':_0x5f7357['force'],'cdpEndpoint':_0x5f7357['cdp-endpoint'],'allowInsecureLocalhost':_0x5f7357['allow-insecure-localhost'],'safeMode':_0x5f7357[_0x44e568(0x2af)],'setupHeader':_0x5f7357['setup-header'],'scope':_0x5f7357[_0x44e568(0x1a4)],'yes':_0x5f7357['yes']},_0x1902dd),{'isElectron':_0x27705c['MyPMe'](Boolean,_0x5f7357[_0x27705c['rKLuE']])});})[_0xb67615(0x281)]('use\x20<profile-name>',_0x176b9c['JElGs'],_0x3bb5a0=>{const _0x215040=_0xb67615;return _0x3bb5a0['positional'](_0x215040(0x2f8),{'type':_0x176b9c['vcVKO'],'description':_0x215040(0x24e),'demandOption':!![]});},async _0x3c5f83=>{const _0x32b680=_0xb67615;await withTelemetry(_0x176b9c['bkzjg'],()=>useEnv(_0x3c5f83[_0x32b680(0x2f8)]));})['command'](_0xb67615(0x320),'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)',_0x5ebfa2=>{const _0x42a808=_0xb67615;return _0x5ebfa2[_0x42a808(0x254)](_0x27705c[_0x42a808(0x2d9)],{'type':_0x27705c['PNUSR'],'description':'Profile\x20name','demandOption':!![]});},async _0x3372cb=>{const _0x360e53=_0xb67615;await _0x176b9c[_0x360e53(0x2e0)](withTelemetry,_0x176b9c['lAyFK'],()=>authEncrypt(_0x3372cb['profile']));})[_0xb67615(0x281)]('ls',_0xb67615(0x181),()=>{},async()=>{const _0x12b947=_0xb67615;await _0x27705c[_0x12b947(0x333)](withTelemetry,_0x27705c['PQLTa'],()=>envList());})[_0xb67615(0x281)](_0x176b9c[_0xb67615(0x234)],_0x176b9c['pAFHx'],_0x430654=>{const _0x29e7fc=_0xb67615;return _0x430654[_0x29e7fc(0x254)](_0x27705c['jHFXl'],{'type':_0x27705c[_0x29e7fc(0x238)],'description':'Name\x20of\x20the\x20profile\x20to\x20update','demandOption':!![]})['option'](_0x27705c[_0x29e7fc(0x193)],{'type':_0x29e7fc(0x2bf),'description':_0x27705c[_0x29e7fc(0x231)]});},async _0x334b4d=>{const _0x33d930=_0xb67615;await withTelemetry(_0x33d930(0x33c),_0x20bd49=>updateEnv(_0x334b4d[_0x33d930(0x2f8)],_0x20bd49,{'allowInsecureLocalhost':_0x334b4d['allow-insecure-localhost']}));})['command'](_0xb67615(0x319),![],_0x313c1d=>{const _0x2d65ab=_0xb67615;return _0x313c1d[_0x2d65ab(0x254)](_0x27705c['neslS'],{'type':_0x27705c['PNUSR'],'description':_0x27705c[_0x2d65ab(0x242)],'demandOption':!![]});},async _0x5e7271=>{await _0x27705c['CStBh'](withTelemetry,_0x27705c['BOKZi'],async()=>{const _0x266c71=_0x33c2,_0x3af79f=process['env']['RANGER_TEST_USERNAME'],_0x6689a2=process[_0x266c71(0x1f4)][_0x266c71(0x2ae)];_0x27705c[_0x266c71(0x19a)](!_0x3af79f,!_0x6689a2)&&(console['error'](_0x266c71(0x270)),process[_0x266c71(0x18c)](0x1));const _0x360ff7=_0x5e7271[_0x266c71(0x1f7)],_0x2e922b=await _0x27705c['fQbvP'](serverSideLogin,_0x360ff7,{'force':!![]});_0x2e922b['status']===_0x266c71(0x198)&&(console['error'](_0x266c71(0x294)),process['exit'](0x1)),_0x2e922b['status']===_0x27705c['ecBcd']&&(console['error'](_0x266c71(0x199)+(_0x2e922b['error']??_0x27705c['eohZD'])),_0x2e922b['test_output']&&console[_0x266c71(0x248)](_0x2e922b['test_output']),process['exit'](0x1)),console[_0x266c71(0x253)](_0x266c71(0x1d1)+_0x360ff7+_0x266c71(0x275));});})['command'](_0x176b9c[_0xb67615(0x315)],_0x176b9c['ljtrh'],_0x2c1ec7=>{const _0x5210cc=_0xb67615;return _0x2c1ec7[_0x5210cc(0x254)](_0x5210cc(0x2f8),{'type':'string','description':_0x5210cc(0x28c)})['option'](_0x5210cc(0x1cf),{'type':_0x27705c['rIKba'],'description':_0x27705c[_0x5210cc(0x2e3)],'default':![]})['option'](_0x27705c[_0x5210cc(0x2ee)],{'type':'boolean','description':_0x5210cc(0x1e5),'default':![]})['option'](_0x5210cc(0x222),{'type':_0x5210cc(0x2bf),'alias':'y','description':_0x27705c['pWvaB'],'default':![]})['option'](_0x27705c[_0x5210cc(0x27e)],{'type':_0x5210cc(0x2bf),'description':_0x5210cc(0x2d5),'default':![]});},async _0x18a0c6=>{const _0x58b6c8=_0xb67615;await withTelemetry(_0x176b9c[_0x58b6c8(0x2fa)],_0x5be1d6=>migrateProfile({'profileName':_0x18a0c6['profile-name'],'all':_0x18a0c6['all'],'dryRun':_0x18a0c6['dry-run'],'yes':_0x18a0c6['yes'],'saveCreds':_0x18a0c6[_0x58b6c8(0x2d6)]},_0x5be1d6));})['command'](_0x176b9c['tXRvQ'],_0xb67615(0x299),_0xb0edef=>{const _0x1c94f4=_0xb67615,_0xddb965={'zzpBD':_0x27705c[_0x1c94f4(0x2d9)],'kRjxI':_0x27705c[_0x1c94f4(0x238)],'TzITn':_0x27705c[_0x1c94f4(0x258)],'UqeRv':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','iDSpk':_0x27705c[_0x1c94f4(0x312)],'nYYho':_0x27705c[_0x1c94f4(0x2db)],'RCZFf':'profile\x20config\x20set','ApUaz':'Config\x20key','Friuo':_0x27705c['Uynrz'],'HZoIf':function(_0x518ddf,_0x32467f,_0x125766){return _0x518ddf(_0x32467f,_0x125766);},'wbisF':_0x27705c['Gnsgj']};return _0xb0edef['usage'](PROFILE_CONFIG_HELP)[_0x1c94f4(0x281)](_0x27705c['xbPBJ'],_0x27705c[_0x1c94f4(0x1d2)],_0xdf4ba8=>{const _0xfaf4f8=_0x1c94f4;return _0xdf4ba8['positional'](_0xddb965['zzpBD'],{'type':_0xddb965['kRjxI'],'description':_0xddb965[_0xfaf4f8(0x303)],'demandOption':!![]})['positional']('key',{'type':'string','description':_0xddb965['UqeRv'],'demandOption':!![]})['positional'](_0xddb965['iDSpk'],{'type':'string','description':_0xddb965['nYYho'],'demandOption':!![]});},async _0x547d36=>{const _0x3c7dc9=_0x1c94f4;await withTelemetry(_0xddb965[_0x3c7dc9(0x261)],()=>configSet(_0x547d36['profile'],_0x547d36['key'],_0x547d36[_0x3c7dc9(0x1ba)]));})[_0x1c94f4(0x281)](_0x27705c['UIiWC'],_0x27705c[_0x1c94f4(0x272)],_0x3dfde2=>{const _0x491052=_0x1c94f4;return _0x3dfde2[_0x491052(0x254)](_0x491052(0x1f8),{'type':_0xddb965[_0x491052(0x183)],'description':_0x491052(0x337),'demandOption':!![]})['positional'](_0x491052(0x1dc),{'type':_0xddb965['kRjxI'],'description':_0xddb965['ApUaz'],'demandOption':!![]});},async _0x4fb8f3=>{const _0x5a81f0=_0x1c94f4;await withTelemetry(_0x5a81f0(0x264),()=>configGet(_0x4fb8f3[_0x5a81f0(0x1f8)],_0x4fb8f3['key']));})[_0x1c94f4(0x281)](_0x27705c[_0x1c94f4(0x213)],_0x27705c[_0x1c94f4(0x1c3)],_0x1c2b5f=>{const _0x5d1142=_0x1c94f4;return _0x1c2b5f['positional'](_0x27705c[_0x5d1142(0x2d9)],{'type':_0x5d1142(0x338),'description':'Profile\x20name','demandOption':!![]});},async _0x5d71c9=>{await _0x27705c['udrAw'](withTelemetry,_0x27705c['pzGgm'],()=>configList(_0x5d71c9['profile']));})['command'](_0x27705c['NHHbI'],_0x1c94f4(0x204),_0x1ae25d=>{const _0xe73f78=_0x1c94f4;return _0x1ae25d[_0xe73f78(0x254)]('profile',{'type':'string','description':_0xe73f78(0x337),'demandOption':!![]})[_0xe73f78(0x254)](_0x27705c[_0xe73f78(0x27f)],{'type':_0x27705c['PNUSR'],'description':_0x27705c['zNRot'],'demandOption':!![]});},async _0x20f298=>{const _0xffedb9=_0x1c94f4;await withTelemetry(_0xddb965['Friuo'],()=>configUnset(_0x20f298[_0xffedb9(0x1f8)],_0x20f298['key']));})['command']('reset\x20<profile>',_0x27705c[_0x1c94f4(0x305)],_0x761527=>{const _0x329d2a=_0x1c94f4;return _0x761527['positional'](_0x329d2a(0x1f8),{'type':_0x27705c[_0x329d2a(0x238)],'description':'Profile\x20name','demandOption':!![]});},async _0x4b6654=>{const _0x105e07=_0x1c94f4;await _0xddb965[_0x105e07(0x30b)](withTelemetry,_0xddb965[_0x105e07(0x2de)],()=>configReset(_0x4b6654['profile']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})[_0xb67615(0x237)](0x1,_0xb67615(0x2da));})['command'](_0x176b9c[_0x24a7ff(0x31e)],_0x176b9c['iwmgv'],()=>{},async()=>{await withTelemetry(_0x176b9c['ZhsVy'],()=>status());})[_0x24a7ff(0x281)]('update',_0x176b9c['jeNIN'],()=>{},async()=>{const _0xc43b2e=_0x24a7ff;await withTelemetry(_0x176b9c[_0xc43b2e(0x1b3)],()=>update());})[_0x24a7ff(0x281)]('print-access-token','Print\x20the\x20current\x20CLI\x20access\x20token',()=>{},async()=>{const _0x365706=_0x24a7ff,_0x1c0860={'nCFRc':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.'};await _0x176b9c[_0x365706(0x207)](withTelemetry,_0x176b9c[_0x365706(0x1d3)],async()=>{const _0x21cd1d=_0x365706,_0x5e783=await getToken();if(!_0x5e783)throw new Error(_0x1c0860['nCFRc']);console[_0x21cd1d(0x253)](_0x5e783);});})['command']('go',_0x176b9c[_0x24a7ff(0x268)],_0x5bebb4=>{const _0xeea22a=_0x24a7ff;return _0x5bebb4['option'](_0xeea22a(0x331),{'type':_0xeea22a(0x338),'description':_0x176b9c[_0xeea22a(0x21a)]})['option'](_0x176b9c[_0xeea22a(0x26b)],{'type':'string','description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0xeea22a(0x1d5)](_0x176b9c['ibTAh'],{'type':_0x176b9c[_0xeea22a(0x1c9)],'description':_0x176b9c[_0xeea22a(0x1ad)]})[_0xeea22a(0x1d5)]('scenario',{'type':_0xeea22a(0x249),'description':_0x176b9c[_0xeea22a(0x2bc)]})[_0xeea22a(0x1d5)](_0x176b9c['RHgXF'],{'type':_0x176b9c[_0xeea22a(0x1c9)],'description':_0x176b9c['dvEcR']})['option'](_0x176b9c['Xeygf'],{'type':_0xeea22a(0x338),'description':_0x176b9c[_0xeea22a(0x31d)]})[_0xeea22a(0x1d5)]('model',{'type':_0x176b9c[_0xeea22a(0x1c9)],'description':_0x176b9c['hpKKm']})['option'](_0x176b9c['bfsiE'],{'type':_0x176b9c['wXXBy'],'description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})['option']('debug-outcome',{'type':'string','hidden':!![],'choices':['verified',_0x176b9c[_0xeea22a(0x2ce)],_0x176b9c[_0xeea22a(0x316)],_0xeea22a(0x2b8),'incomplete']})[_0xeea22a(0x1d5)](_0x176b9c[_0xeea22a(0x20d)],{'type':'boolean','hidden':!![]})[_0xeea22a(0x1d5)]('env',{'type':_0xeea22a(0x338),'hidden':!![]})[_0xeea22a(0x1d5)](_0x176b9c[_0xeea22a(0x228)],{'type':_0x176b9c[_0xeea22a(0x1c9)],'hidden':!![]})[_0xeea22a(0x1d5)](_0xeea22a(0x1f2),{'type':'number','hidden':!![]});},async _0x9bcd02=>{const _0x1313a5=_0x24a7ff;await _0x176b9c[_0x1313a5(0x243)](runGoCommand,_0x9bcd02);})['command'](_0x24a7ff(0x2a8),![],_0x2fdf82=>{const _0x241959=_0x24a7ff;return _0x2fdf82[_0x241959(0x281)](_0x176b9c[_0x241959(0x26d)],![],_0x25f474=>{const _0x460c52=_0x241959;return _0x25f474[_0x460c52(0x254)](_0x176b9c[_0x460c52(0x26b)],{'type':_0x176b9c['vcVKO'],'description':_0x176b9c['VpMbS'],'demandOption':!![]});},async _0xc5bc2f=>{const _0x456df6=_0x241959;_0x176b9c['QChFV'](warnRenamed,_0x456df6(0x329),_0x456df6(0x1b5)),await _0x176b9c['VLyCm'](authEncrypt,_0xc5bc2f[_0x456df6(0x1f8)]);})[_0x241959(0x237)](0x1,_0x241959(0x1de));},()=>{})['command']('start\x20[token]',![],_0x27a137=>{const _0x100366=_0x24a7ff;return _0x27a137['positional'](_0x100366(0x2a6),{'type':_0x100366(0x338),'description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})['option'](_0x176b9c['DpHFW'],{'type':_0x100366(0x2bf),'description':_0x100366(0x2a4),'default':![]})['option'](_0x176b9c[_0x100366(0x24f)],{'type':_0x176b9c[_0x100366(0x1c9)],'choices':[_0x176b9c['dpLtx'],_0x176b9c['gwISH']],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})['option']('url',{'type':_0x100366(0x338),'description':_0x176b9c[_0x100366(0x1b6)]})[_0x100366(0x1d5)]('force',{'type':_0x100366(0x2bf),'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x100366(0x1d5)](_0x176b9c['stqgx'],{'type':'boolean','description':_0x176b9c[_0x100366(0x1fc)],'default':![]})['option'](_0x176b9c['VWXLr'],{'type':_0x100366(0x2bf),'description':_0x176b9c[_0x100366(0x31f)],'default':![]});},async _0x3f8faa=>{const _0x2c9278=_0x24a7ff;_0x176b9c['URELE'](warnRenamed,'ranger\x20start',_0x176b9c['FPayO']),await _0x176b9c[_0x2c9278(0x327)](withTelemetry,'start',_0x42361c=>start(_0x3f8faa['token'],{'skipChromium':_0x3f8faa['skip-chromium'],'skipAuth':_0x3f8faa['skip-auth'],'withDeps':_0x3f8faa[_0x2c9278(0x1f3)],'scope':_0x3f8faa[_0x2c9278(0x1a4)],'url':_0x3f8faa['url'],'force':_0x3f8faa['force']},_0x42361c));})['command'](_0x176b9c[_0x24a7ff(0x1ff)],![],_0x59e6a5=>{const _0x54fbe8=_0x24a7ff;return _0x59e6a5['option'](_0x54fbe8(0x1f4),{'type':_0x54fbe8(0x338),'description':_0x176b9c['QdNbE']})[_0x54fbe8(0x1d5)]('task',{'type':'string','description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})['option'](_0x176b9c['qIRxI'],{'type':_0x54fbe8(0x249),'description':_0x176b9c[_0x54fbe8(0x2bc)]})['option'](_0x176b9c[_0x54fbe8(0x26b)],{'type':'string','hidden':!![]})[_0x54fbe8(0x1d5)](_0x176b9c['ibTAh'],{'type':_0x54fbe8(0x338),'hidden':!![]})[_0x54fbe8(0x1d5)]('scenario',{'type':_0x176b9c[_0x54fbe8(0x21b)],'hidden':!![]})['option'](_0x176b9c['RHgXF'],{'type':_0x176b9c['vcVKO'],'description':_0x176b9c['dvEcR']})['option']('base-url',{'type':'string','description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x54fbe8(0x1d5)](_0x176b9c['hwtig'],{'type':_0x176b9c['vcVKO'],'hidden':!![]})['option']('headed',{'type':_0x176b9c[_0x54fbe8(0x2ed)],'hidden':!![],'default':![]})[_0x54fbe8(0x1d5)](_0x176b9c['rKhln'],{'type':_0x176b9c[_0x54fbe8(0x1c9)],'hidden':!![],'choices':[_0x176b9c['RLldA'],_0x54fbe8(0x25a),_0x176b9c[_0x54fbe8(0x316)],_0x176b9c[_0x54fbe8(0x250)],_0x54fbe8(0x18b)]});},async _0x34c576=>{await _0x176b9c['XjGbS'](runGoCommand,_0x34c576,!![]);})[_0x24a7ff(0x281)]('add\x20env\x20<env-name>',![],_0x458b8d=>{const _0x57bf67=_0x24a7ff;return _0x458b8d[_0x57bf67(0x254)]('env-name',{'type':_0x176b9c[_0x57bf67(0x1c9)],'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x176b9c[_0x57bf67(0x2ed)],'description':_0x176b9c['NNuUe'],'default':![]})['option'](_0x176b9c['stqgx'],{'type':'boolean','description':_0x57bf67(0x266),'default':![]});},async _0x396968=>{warnRenamed(_0x176b9c['YaNPq'],'ranger\x20profile\x20add'),await _0x176b9c['KtmAq'](withTelemetry,'add\x20env',_0x13beea=>addEnv(_0x396968['env-name'],{'ci':_0x396968['ci'],'skipAuth':_0x396968['skip-auth']},_0x13beea));})['command'](_0x24a7ff(0x240),![],_0x10445d=>{const _0x2080cf=_0x24a7ff;return _0x10445d[_0x2080cf(0x254)](_0x176b9c[_0x2080cf(0x1e7)],{'type':_0x176b9c['vcVKO'],'description':_0x2080cf(0x31a),'demandOption':!![]});},async _0x1460a0=>{const _0x564ce8=_0x24a7ff;warnRenamed('ranger\x20use',_0x176b9c['ywKNE']),await _0x176b9c['GSsjN'](withTelemetry,_0x176b9c[_0x564ce8(0x251)],()=>useEnv(_0x1460a0[_0x564ce8(0x1ed)]));})[_0x24a7ff(0x281)](_0x176b9c['tXRvQ'],![],_0x52f766=>{const _0x167d79=_0x24a7ff,_0x4f9798={'vVAFl':_0x176b9c[_0x167d79(0x1f0)],'IjXMo':_0x167d79(0x30f),'JvaDG':'value','CLYhO':_0x167d79(0x338),'zqwZm':_0x176b9c['NWtVi'],'KuMVT':_0x176b9c['nYbUH'],'FgbER':function(_0x3efcb2,_0x4d3e0a,_0x4779f9){return _0x176b9c['URELE'](_0x3efcb2,_0x4d3e0a,_0x4779f9);},'iezXa':'ranger\x20config\x20list','igBig':function(_0x570690,_0x45d6cf,_0x566bad){const _0x45f047=_0x167d79;return _0x176b9c[_0x45f047(0x2c4)](_0x570690,_0x45d6cf,_0x566bad);},'cbxhc':_0x176b9c['Uzfmy'],'wRPOD':_0x176b9c['bzINq']};return _0x52f766[_0x167d79(0x281)](_0x176b9c['sSPku'],![],_0x2204ad=>{const _0x454a69=_0x167d79;return _0x2204ad['positional'](_0x4f9798[_0x454a69(0x1db)],{'type':'string','description':_0x4f9798[_0x454a69(0x2d3)],'demandOption':!![]})['positional']('key',{'type':_0x454a69(0x338),'description':_0x454a69(0x1fd),'demandOption':!![]})[_0x454a69(0x254)](_0x4f9798['JvaDG'],{'type':_0x4f9798['CLYhO'],'description':_0x4f9798[_0x454a69(0x2b4)],'demandOption':!![]});},async _0x566378=>{const _0x4afff5=_0x167d79;warnRenamed('ranger\x20config\x20set',_0x176b9c[_0x4afff5(0x32a)]),await withTelemetry(_0x176b9c[_0x4afff5(0x1bd)],()=>configSet(_0x566378[_0x4afff5(0x1f4)],_0x566378['key'],_0x566378[_0x4afff5(0x1ba)]));})['command']('get\x20<env>\x20<key>',![],_0x2ef497=>{const _0x1c7ca5=_0x167d79;return _0x2ef497['positional'](_0x4f9798[_0x1c7ca5(0x1db)],{'type':'string','description':_0x4f9798[_0x1c7ca5(0x2d3)],'demandOption':!![]})[_0x1c7ca5(0x254)](_0x1c7ca5(0x1dc),{'type':_0x4f9798['CLYhO'],'description':_0x4f9798['KuMVT'],'demandOption':!![]});},async _0x39ad29=>{const _0x417d4d=_0x167d79;_0x4f9798['FgbER'](warnRenamed,'ranger\x20config\x20get','ranger\x20profile\x20config\x20get'),await withTelemetry(_0x417d4d(0x273),()=>configGet(_0x39ad29[_0x417d4d(0x1f4)],_0x39ad29[_0x417d4d(0x1dc)]));})[_0x167d79(0x281)](_0x176b9c[_0x167d79(0x292)],![],_0x60ede6=>{const _0x7c5503=_0x167d79;return _0x60ede6[_0x7c5503(0x254)](_0x176b9c['tVoQE'],{'type':'string','description':'Environment\x20name','demandOption':!![]});},async _0x4b8c72=>{const _0x4a501d=_0x167d79;warnRenamed(_0x4f9798['iezXa'],'ranger\x20profile\x20config\x20list'),await _0x4f9798[_0x4a501d(0x182)](withTelemetry,_0x4f9798['cbxhc'],()=>configList(_0x4b8c72['env']));})['command']('unset\x20<env>\x20<key>',![],_0x4b5137=>{const _0x1e500c=_0x167d79;return _0x4b5137[_0x1e500c(0x254)](_0x4f9798['vVAFl'],{'type':_0x4f9798[_0x1e500c(0x2e7)],'description':_0x4f9798[_0x1e500c(0x2d3)],'demandOption':!![]})[_0x1e500c(0x254)](_0x4f9798['wRPOD'],{'type':_0x4f9798['CLYhO'],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x5be796=>{const _0x1b10f5=_0x167d79;warnRenamed(_0x1b10f5(0x191),_0x1b10f5(0x203)),await _0x176b9c['AYQQx'](withTelemetry,'config\x20unset',()=>configUnset(_0x5be796['env'],_0x5be796[_0x1b10f5(0x1dc)]));})['demandCommand'](0x1,_0x176b9c['aitqW']);})[_0x24a7ff(0x281)](_0x176b9c['tVoQE'],![],_0x4173c3=>{const _0xcd252c=_0x24a7ff,_0x26e815={'PGrVB':_0xcd252c(0x2a3),'TjKAH':_0x176b9c['mIwNZ'],'uwPTg':function(_0x2fcdda,_0x366800,_0x5151a4){return _0x176b9c['lZANr'](_0x2fcdda,_0x366800,_0x5151a4);},'tfnCj':_0xcd252c(0x221),'ffDkL':_0x176b9c[_0xcd252c(0x279)]};return _0x4173c3['command']('ls',![],()=>{},async()=>{const _0x24f7c5=_0xcd252c;warnRenamed(_0x26e815['PGrVB'],_0x26e815[_0x24f7c5(0x260)]),await _0x26e815[_0x24f7c5(0x246)](withTelemetry,_0x26e815['tfnCj'],()=>envList());})['command']('update\x20<env-name>',![],_0x36b11f=>{const _0x266f26=_0xcd252c;return _0x36b11f['positional'](_0x266f26(0x1ed),{'type':'string','description':_0x26e815['ffDkL'],'demandOption':!![]});},async _0x4cd773=>{const _0x2c50c9=_0xcd252c;_0x26e815['uwPTg'](warnRenamed,_0x2c50c9(0x33a),'ranger\x20profile\x20update'),await _0x26e815[_0x2c50c9(0x246)](withTelemetry,'env\x20update',_0x3e046b=>updateEnv(_0x4cd773[_0x2c50c9(0x1ed)],_0x3e046b));})['demandCommand'](0x1,_0x176b9c['Nohod']);})[_0x24a7ff(0x281)](_0x176b9c[_0x24a7ff(0x209)],![],_0x4c2604=>{const _0x1334e3=_0x24a7ff,_0x4b85b7={'LdIfO':_0x176b9c[_0x1334e3(0x317)],'itesA':_0x176b9c[_0x1334e3(0x27a)],'ZMUFm':_0x176b9c[_0x1334e3(0x20b)],'ENeUq':_0x1334e3(0x1ac),'rrwCS':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','wkMLC':_0x176b9c[_0x1334e3(0x29d)],'StzWL':_0x1334e3(0x2bf),'ripzk':_0x176b9c['omtem'],'sJewk':_0x176b9c['AkLpm'],'GCXfE':_0x176b9c['kHzaA'],'XznOH':_0x176b9c['tYoRX'],'uQrkZ':_0x1334e3(0x287),'SSxmt':function(_0x1eb016,_0x179b2c,_0x5549c2){return _0x1eb016(_0x179b2c,_0x5549c2);},'wfOcp':_0x176b9c[_0x1334e3(0x2f4)],'fNNeY':_0x1334e3(0x338),'VQksw':_0x176b9c[_0x1334e3(0x324)],'yJPNb':function(_0x13ac83,_0x4124c6,_0x2e7b35){return _0x176b9c['mVmtE'](_0x13ac83,_0x4124c6,_0x2e7b35);},'Nahqo':_0x1334e3(0x2b6),'CksqT':_0x176b9c['AgSlN'],'wEZDf':_0x1334e3(0x32e)};return _0x4c2604[_0x1334e3(0x281)](_0x176b9c[_0x1334e3(0x29c)],![],_0x4e1471=>{const _0x219ab3=_0x1334e3;return _0x4e1471[_0x219ab3(0x254)](_0x4b85b7[_0x219ab3(0x1e1)],{'type':_0x219ab3(0x338),'description':_0x4b85b7[_0x219ab3(0x2cb)],'demandOption':!![]})[_0x219ab3(0x1d5)](_0x4b85b7[_0x219ab3(0x309)],{'type':'string','alias':'d','description':_0x4b85b7[_0x219ab3(0x308)]})[_0x219ab3(0x1d5)](_0x219ab3(0x318),{'type':_0x219ab3(0x1c7),'alias':'c','description':_0x4b85b7[_0x219ab3(0x265)]})[_0x219ab3(0x1d5)](_0x4b85b7[_0x219ab3(0x282)],{'type':_0x219ab3(0x1c7),'hidden':!![]});},async _0x3b70a6=>{const _0x1b40d4=_0x1334e3;warnRenamed(_0x1b40d4(0x24a),_0x176b9c['XVHLr']),warnFlagRenamed(_0x1b40d4(0x291),_0x176b9c[_0x1b40d4(0x23e)],_0x176b9c['zgQVa']);const _0x51568b=_0x3b70a6['scenario']||_0x3b70a6['checklist'];await _0x176b9c['dvmCk'](withTelemetry,_0x1b40d4(0x1e2),()=>featureCreate(_0x3b70a6['name'],{'description':_0x3b70a6['description'],'scenarios':_0x51568b}));})['command'](_0x176b9c[_0x1334e3(0x19b)],![],_0x24c4d4=>{const _0x258137=_0x1334e3;return _0x24c4d4['option'](_0x258137(0x2aa),{'type':_0x4b85b7[_0x258137(0x28b)],'description':_0x4b85b7['ripzk']})['option']('limit',{'type':'number','alias':'l','description':_0x4b85b7['sJewk'],'default':0xa})[_0x258137(0x1d5)](_0x4b85b7['GCXfE'],{'type':_0x258137(0x249),'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option'](_0x4b85b7[_0x258137(0x2f3)],{'type':_0x4b85b7[_0x258137(0x28b)],'alias':'d','description':_0x258137(0x1d7),'default':![]});},async _0xba699a=>{const _0x16b606=_0x1334e3;warnRenamed(_0x4b85b7[_0x16b606(0x263)],'ranger\x20list'),await _0x4b85b7[_0x16b606(0x23b)](withTelemetry,_0x16b606(0x18f),()=>featureList({'currentBranch':_0xba699a['current-branch'],'limit':_0xba699a['limit'],'offset':_0xba699a[_0x16b606(0x22d)],'includeDeleted':_0xba699a['include-deleted']}));})[_0x1334e3(0x281)](_0x176b9c[_0x1334e3(0x2c8)],![],_0x5d5ceb=>{const _0x1360aa=_0x1334e3;return _0x5d5ceb[_0x1360aa(0x254)]('id',{'type':_0x1360aa(0x338),'description':_0x4b85b7['wfOcp']});},async _0x1f0e77=>{const _0xb0ecca=_0x1334e3;warnRenamed('ranger\x20feature\x20show',_0x176b9c[_0xb0ecca(0x19d)]),await _0x176b9c[_0xb0ecca(0x2c4)](withTelemetry,_0x176b9c['XXXbm'],()=>featureShow(_0x1f0e77['id']));})['command']('resume\x20[id]',![],_0xaf309d=>{const _0x266986=_0x1334e3;return _0xaf309d['positional']('id',{'type':_0x4b85b7[_0x266986(0x2c0)],'description':_0x266986(0x2f9)});},async _0x142b41=>{const _0x3686d8=_0x1334e3;_0x4b85b7[_0x3686d8(0x23b)](warnRenamed,_0x4b85b7['VQksw'],'ranger\x20resume'),await withTelemetry('feature\x20resume',()=>featureResume(_0x142b41['id']));})[_0x1334e3(0x281)](_0x176b9c[_0x1334e3(0x19c)],![],_0xcc1b4b=>{const _0x5ccf40=_0x1334e3;return _0xcc1b4b[_0x5ccf40(0x254)]('description',{'type':_0x176b9c['vcVKO'],'description':'Scenario\x20description','demandOption':!![]})[_0x5ccf40(0x1d5)]('id',{'type':_0x176b9c[_0x5ccf40(0x1c9)],'description':_0x176b9c[_0x5ccf40(0x1f1)]});},async _0x4cf913=>{const _0x3507fb=_0x1334e3;_0x4b85b7[_0x3507fb(0x2f6)](warnRenamed,_0x4b85b7['Nahqo'],'ranger\x20add-scenario'),await withTelemetry('feature\x20add-checklist-item',()=>featureAddScenario(_0x4cf913['description'],_0x4cf913['id']));})['command'](_0x176b9c['dKJxH'],![],_0x22c83c=>{const _0x4d9fcb=_0x1334e3;return _0x22c83c['positional']('id',{'type':_0x4d9fcb(0x338),'description':_0x4d9fcb(0x326)});},async _0x55ca11=>{const _0x2ef512=_0x1334e3;_0x176b9c['ofQcD'](warnRenamed,_0x176b9c[_0x2ef512(0x1ae)],'ranger\x20get-review'),await _0x176b9c[_0x2ef512(0x297)](withTelemetry,'feature\x20get-feedback',()=>featureGetReview(_0x55ca11['id']));})[_0x1334e3(0x281)](_0x176b9c['UgiZe'],![],_0x4884b7=>{return _0x4884b7['positional']('id',{'type':_0x4b85b7['fNNeY'],'description':_0x4b85b7['wfOcp']});},async _0x123935=>{const _0x2fa8c6=_0x1334e3;_0x176b9c[_0x2fa8c6(0x205)](warnRenamed,_0x2fa8c6(0x252),_0x176b9c[_0x2fa8c6(0x245)]),await withTelemetry('feature\x20delete',()=>featureDelete(_0x123935['id']));})['command']('restore\x20<id>',![],_0x54c666=>{const _0x5d3c42=_0x1334e3;return _0x54c666['positional']('id',{'type':_0x5d3c42(0x338),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x54217f=>{const _0x4450f6=_0x1334e3;warnRenamed(_0x4450f6(0x1c4),_0x4b85b7[_0x4450f6(0x2e6)]),await withTelemetry(_0x4b85b7['wEZDf'],()=>featureRestore(_0x54217f['id']));})[_0x1334e3(0x237)](0x1,_0x176b9c[_0x1334e3(0x194)]);})[_0x24a7ff(0x281)](_0x176b9c[_0x24a7ff(0x186)],![],_0x54eb90=>{const _0x282fd9=_0x24a7ff,_0x288e6c={'yDyzl':_0x176b9c['vcVKO'],'KuLZj':_0x176b9c[_0x282fd9(0x1b7)],'zRzjD':_0x176b9c['QKcLi']};return _0x54eb90['command'](_0x282fd9(0x196),_0x176b9c['xKrKz'],_0x1696e1=>{const _0x2eb0a0=_0x282fd9;return _0x1696e1['option'](_0x2eb0a0(0x2e9),{'type':'string','description':_0x2eb0a0(0x1c0)});},async _0x51e97c=>{const _0x5d17a5=_0x282fd9;await withTelemetry(_0x176b9c['FPWOI'],()=>hook(_0x5d17a5(0x196),_0x51e97c[_0x5d17a5(0x2e9)]));})[_0x282fd9(0x281)](_0x176b9c[_0x282fd9(0x21d)],'Disable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x3aaf3d=>{const _0x3532ae=_0x282fd9;return _0x3aaf3d[_0x3532ae(0x1d5)]('session-id',{'type':_0x288e6c[_0x3532ae(0x1d0)],'description':_0x288e6c['KuLZj']});},async _0x2aa4e2=>{const _0x116feb=_0x282fd9;await withTelemetry(_0x288e6c[_0x116feb(0x30c)],()=>hook(_0x116feb(0x1c5),_0x2aa4e2[_0x116feb(0x2e9)]));})['option']('name',{'type':'string','description':_0x282fd9(0x293)})['option'](_0x282fd9(0x2e9),{'type':_0x176b9c[_0x282fd9(0x1c9)],'description':_0x176b9c[_0x282fd9(0x1b7)]});},async _0x30e885=>{const _0x386465=_0x24a7ff;_0x30e885['name']&&await hook(_0x30e885[_0x386465(0x1f7)],_0x30e885[_0x176b9c[_0x386465(0x1c8)]]);})['demandCommand'](0x1,_0x176b9c['YqDdX'])[_0x24a7ff(0x24b)]()[_0x24a7ff(0x17e)](async(_0x3fd158,_0x324bf6,_0x2a2977)=>{const _0x2120ce=_0x24a7ff,_0x1904d7=sanitizeArgs(process[_0x2120ce(0x1cb)]['slice'](0x2)),_0x486e83=getErrorType(_0x3fd158,_0x324bf6);if(_0x3fd158&&_0x3fd158['includes'](_0x176b9c[_0x2120ce(0x1b8)])){const _0x1e5d04=process[_0x2120ce(0x1cb)][0x2];console['error']('\x0aUnknown\x20command:\x20'+_0x1e5d04),console['error'](_0x176b9c['OeWXK']);}else{if(_0x3fd158)console[_0x2120ce(0x248)]('\x0a'+_0x3fd158+'\x0a');else _0x324bf6&&console['error']('\x0aError:\x20'+_0x324bf6['message']+'\x0a');}await _0x176b9c[_0x2120ce(0x2c2)](logDesirePath,{'rawCommand':_0x1904d7,'errorMessage':_0x3fd158||_0x324bf6?.['message'],'errorType':_0x486e83});const _0x3f8f9c=getCurrentCollector();_0x3f8f9c&&await _0x3f8f9c[_0x2120ce(0x286)](_0x324bf6||new Error(_0x3fd158||'Unknown\x20error')),process['exit'](0x1);})[_0x24a7ff(0x1f5)](_0x176b9c[_0x24a7ff(0x2cc)](_0x176b9c[_0x24a7ff(0x28d)]('Documentation:\x0a','\x20\x20https://docs.ranger.net\x0a'),_0x24a7ff(0x33f)))['help']()[_0x24a7ff(0x2dc)](_0x176b9c['gEpMC'],'h');}process['env'][_0x11d5df(0x2f1)]!==_0x11d5df(0x22c)&&buildParser()[_0x11d5df(0x33b)]();