@ranger-testing/ranger-cli 2.5.4-alpha.36a12ca-10 → 2.5.4-alpha.57338f5-12

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 (81) 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/legacyWarning.js +1 -0
  52. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  53. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  54. package/build/commands/utils/mcpImageBase64.js +1 -1
  55. package/build/commands/utils/model.js +1 -1
  56. package/build/commands/utils/opencodeConfig.js +1 -1
  57. package/build/commands/utils/playwrightCli.js +1 -1
  58. package/build/commands/utils/profileMessages.js +1 -1
  59. package/build/commands/utils/profileSetupBanner.js +1 -1
  60. package/build/commands/utils/projectsConfig.js +1 -1
  61. package/build/commands/utils/rangerConfig.js +1 -1
  62. package/build/commands/utils/rangerRoot.js +1 -1
  63. package/build/commands/utils/resolveProfileContext.js +1 -1
  64. package/build/commands/utils/resolveProfileUrl.js +1 -1
  65. package/build/commands/utils/retry.js +1 -1
  66. package/build/commands/utils/sessionCache.js +1 -1
  67. package/build/commands/utils/settings.js +1 -1
  68. package/build/commands/utils/skillContent.js +1 -1
  69. package/build/commands/utils/skills.js +1 -1
  70. package/build/commands/utils/stitchWebmFiles.js +1 -1
  71. package/build/commands/utils/telemetry.js +1 -1
  72. package/build/commands/utils/tokenRefresh.js +1 -1
  73. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  74. package/build/commands/utils/userApi.js +1 -1
  75. package/build/commands/utils/version.js +1 -1
  76. package/build/commands/verifyFeature.js +1 -1
  77. package/build/commands/verifyFeatureCli.js +1 -1
  78. package/build/skills/ranger/SKILL.md +13 -7
  79. package/build/skills/ranger/create.md +16 -3
  80. package/build/skills/ranger/verify.md +23 -10
  81. package/package.json +1 -1
package/build/cli.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const _0x3dfc62=_0x1218;(function(_0x2146a7,_0x11c020){const _0x485cd1=_0x1218,_0x2b727f=_0x2146a7();while(!![]){try{const _0x2a8f8f=-parseInt(_0x485cd1(0x1a3))/0x1+-parseInt(_0x485cd1(0x11d))/0x2+-parseInt(_0x485cd1(0x219))/0x3*(parseInt(_0x485cd1(0x167))/0x4)+-parseInt(_0x485cd1(0x107))/0x5*(parseInt(_0x485cd1(0x150))/0x6)+-parseInt(_0x485cd1(0x1b9))/0x7*(-parseInt(_0x485cd1(0x264))/0x8)+-parseInt(_0x485cd1(0x29d))/0x9+parseInt(_0x485cd1(0x1ea))/0xa;if(_0x2a8f8f===_0x11c020)break;else _0x2b727f['push'](_0x2b727f['shift']());}catch(_0x10bdd0){_0x2b727f['push'](_0x2b727f['shift']());}}}(_0x5d94,0x36b38));import _0x156295 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x3b71de=_0x1218,_0x13a007={'BkUSo':function(_0x5cb87f,_0x3f2c04){return _0x5cb87f!==_0x3f2c04;},'Zpuds':function(_0x5b6ca5,_0x540ea0){return _0x5b6ca5(_0x540ea0);},'NHJEd':'.ranger'};let _0xa45b44=process[_0x3b71de(0x159)]();const _0x5d00c6=parse(_0xa45b44)[_0x3b71de(0x1b3)];while(_0x13a007[_0x3b71de(0x298)](_0xa45b44,_0x5d00c6)){if(_0x13a007[_0x3b71de(0x1c2)](existsSync,join(_0xa45b44,_0x13a007[_0x3b71de(0x1df)]))||existsSync(join(_0xa45b44,'.env')))return _0xa45b44;_0xa45b44=dirname(_0xa45b44);}return process[_0x3b71de(0x159)]();}_0x156295['config']({'path':join(findProjectRoot(),_0x3dfc62(0x286))});import _0x21b774 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';function _0x5d94(){const _0x57d6d9=['includes','login\x20<name>','ranger\x20feature\x20create','\x20PARTIAL','kdgGD','yxikw','profile\x20config\x20list','config','CaRQL','add\x20<profile-name>','aKrJn','rEoFV','RmQSs','Ldpin','nubpL','utEpe','624282HPaxqx','array','WjsfO','YPWaZ','URUbT','RANGER_PROFILE','ranger\x20restore','ygzAV','akWGF','eYcyU','JLfKV','ranger','include-deleted','save-creds','List\x20all\x20profiles','offset','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','skills','profile\x20config\x20get','DkTnx','config\x20get','Install\x20Ranger\x20skills','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','SebxF','wBZmC','MdmHK','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','fwkSi','session-id','wGtSh','limit','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','encrypt\x20<profile>','upvOs','zofsr','ocaiO','json','\x20is\x20now\x20','ranger\x20config\x20set','GxnJb','DIYYN','\x20\x20https://docs.ranger.net\x0a','Reason:\x20','demandCommand','cniJJ','DpsUd','ypJgR','GTcGq','partial','success','2022PkHssX','LMvmm','verified','all','oWGgu','opencode','New\x20scenario\x20description','Number\x20of\x20feature\x20reviews\x20to\x20skip','Set\x20a\x20config\x20value','cwd','number','hgVKB','EZina','unset\x20<env>\x20<key>','summary','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','pRmJS','Update\x20authentication\x20for\x20an\x20existing\x20profile','yUYRD','BrkhD','command','Optional\x20feature\x20ID','HElhi','4yVfJTe','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','UNAUH','Feature\x20review\x20ID','XjqWC','mcp','pdItl','LkGKR','Initialize\x20Ranger\x20in\x20your\x20project','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','ranger\x20feature\x20show','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','hook:enable','ceqnC','allow-insecure-localhost','KWHjm','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','You\x20must\x20specify\x20a\x20profile\x20subcommand','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','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\x20migrate','alVCv','delete\x20[id]','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','RUBvu','RANGER_TEST_USERNAME','token','Where\x20to\x20store\x20the\x20profile','usage','QPrkH','pWRHu','You\x20must\x20specify\x20an\x20env\x20subcommand','GrteL','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','profile-name','status','setup:profiles','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','FUNaC','mASUK','error','ranger\x20feature\x20list','ranger\x20config\x20list','ranger\x20profile\x20config\x20unset','feature\x20list','preng','profile\x20config\x20reset','iNJyC','MWHJJ','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','clean','name','gwgVx','fzhuM','Config\x20key\x20to\x20remove','profile\x20add','setup-ci','Install\x20scope\x20for\x20plugin\x20and\x20skills','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','385828ULjWjx','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','mVttc','jrJNl','get-review\x20[id]','Summary:\x20','env-name','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','option','API\x20token','alias','wHTJe','Skip\x20interactive\x20confirmation\x20prompts.','LbtAn','hFiYH','profile\x20use','root','restore\x20<id>','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','ranger\x20profile\x20config\x20list','profile','QjYtG','2084327FQinKn','uLSfE','mJDmp','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','profile\x20encrypt-auth','✓\x20Server-side\x20login\x20succeeded\x20for\x20\x27','debug-address-comments','ApmSx','Example:\x20ranger\x20create\x20my-feature','Zpuds','nFjGo','frpCH','url','parse','ranger\x20feature\x20delete','YGnNp','ESCiq','You\x20must\x20specify\x20a\x20command','start-path','feature\x20get-feedback','bvOQX','Config\x20key','cUBBD','FHwck','edit-scenario\x20<description>','edit-scenario','BrboE','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','sXIgZ','mRxVp','Jdqgo','List\x20all\x20feature\x20reviews','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','Ewcyx','Soafa','issues','HZpVX','test_output','NHJEd','OjcvP','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','Tqsni','cSqMG','mhVzA','nZIIT','help','Lqybp','qxwCw','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','11817470kRYTeu','UOaQL','headed','feature\x20delete','use\x20<env-name>','cBflG','item','key','iktco','current-branch','KwvUt','DjKaT','get\x20<env>\x20<key>','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)','argv','--profile','feature\x20show','oxfQW','hoLUJ','auth','exit','project','ranger\x20auth\x20encrypt','RgPAN','jhwdP','positional','epilogue','config\x20set','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','NIqXo','eILzj','jymdj','RiEQj','OdFcd','ZeEmS','checklist','ranger\x20delete','OpQAT','disable','dqnXO','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','feature\x20restore','Name\x20of\x20the\x20environment','KxsYi','yySdb','ranger\x20profile\x20use','475773qvzfpn','string','task','VQguv','PBAnH','CiwvQ','koddn','pjZcG','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','HOStE','ZvRKf','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','base-url','map','aGNrt','log','Profile\x20name','\x0aUnknown\x20command:\x20','ImIJE','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','NqVZu','KKmuH','setup:deps','Alias\x20for\x20--mcp-bootstrap','message','klcHW','hCAnS','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','config\x20list','model','FIhBy','force','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','Subcommand\x20or\x20API\x20token\x20(rngr_...)','skillup','update','Name\x20of\x20the\x20profile\x20to\x20update','jqQqA','scenario','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','trackCommandError','uXwxF','WOTuP','yes','jZqbJ','wSlcS','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','ipafL','ranger\x20profile\x20config\x20set','hUBzh','use','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','Skip\x20authentication','boolean','NIaMc','\x20INCOMPLETE','ranger\x20feature\x20get-feedback','feature','zRlEF','--task','xInOc','user','with-deps','hVEWs','Install\x20scope\x20for\x20skills','setup-ci\x20<token>','version','vhyPk','--scenario','jZnPo','ZtwFP','value','print-access-token','yrFJD','SkxVv','8FRpZzB','ranger\x20profile\x20add','Unknown\x20error','fjmbJ','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','cVGbl','delete','safe-mode','ranger\x20feature\x20add-checklist-item','Name\x20of\x20the\x20profile','IrUNH','iAnhP','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','YpLxl','yPjTb','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','fFqVC','qSYPa','profile\x20ls','wTfrH','unhandledRejection','mcp-bootstrap','test','ranger\x20feature\x20restore','some','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','PDhsJ','ranger\x20profile\x20encrypt-auth','Feature\x20review\x20description','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','tokenOrSubcommand','env\x20list','incomplete','.env','failed','wUWoy','ranger\x20start','ANHdO','kninI','vixSJ','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','debug-outcome','\x20FAILED','resume','TWMdq','uhvBq','add-checklist-item\x20<description>','Environment\x20name','ranger\x20create','hook:disable','unknown\x20error','BkUSo','awqjm','login','env','ditOw','2768085anxLPT','kfJLj','sIeIU','AjIDB','nPLoJ','slice','Install\x20skills\x20for\x20OpenCode','ranger\x20add-scenario','profile\x20config\x20set','length','KhueY','evaluation','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','lzKpS','add-scenario\x20<description>','jrnjt','XyePL','skip-auth','PWawC','Skip\x20browser\x20authentication','ranger\x20setup','KsIxS','Feature\x20review\x20ID\x20to\x20restore','xSARa','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','KQtqy','scope','NyZiZ','gjRRs','uapUj','feature\x20add-checklist-item','skip-chromium','description','Install\x20Chromium\x20browser\x20binary','Add\x20profile\x20configuration','blocked','profile\x20login','TykKd','fwyHH','Login\x20failed:\x20','OjzaW','1355ykWvXy','Unknown\x20command','deps','ranger\x20resume','rNNCl','QiJIX'];_0x5d94=function(){return _0x57d6d9;};return _0x5d94();}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';function _0x1218(_0x17d90a,_0x2517eb){_0x17d90a=_0x17d90a-0xfd;const _0x5d9485=_0x5d94();let _0x1218ab=_0x5d9485[_0x17d90a];return _0x1218ab;}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'](_0x3dfc62(0x278),async _0x3fe183=>{const _0x4fd832=_0x3dfc62,_0x5edabd=getCurrentCollector();_0x5edabd&&await _0x5edabd[_0x4fd832(0x241)](_0x3fe183),process['exitCode']=0x1;});const rawArgs=process['argv']['slice'](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=_0x3dfc62(0x17a),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(_0x210751,_0x2c1080){const _0x24aa36=_0x3dfc62;console[_0x24aa36(0x18f)]('\x0a'+_0x210751+_0x24aa36(0x143)+_0x2c1080+'\x0a');}function argUsed(_0x233ff5){const _0x6f3d20=_0x3dfc62;return rawArgs[_0x6f3d20(0x27c)](_0x588681=>_0x588681===_0x233ff5||_0x588681['startsWith'](_0x233ff5+'='));}function warnFlagRenamed(_0x5d9c59,_0x15cf83,_0x88a25d){const _0x18feba={'YxeuG':function(_0x395470,_0x16f1e2){return _0x395470(_0x16f1e2);}};_0x18feba['YxeuG'](argUsed,_0x15cf83)&&warnRenamed(_0x5d9c59+'\x20'+_0x15cf83,_0x5d9c59+'\x20'+_0x88a25d);}async function runGoCommand(_0x26b9b5,_0x3611b5=![]){const _0x265299=_0x3dfc62,_0x45ef83={'pUShr':function(_0x2bfadf,_0x5e9882,_0x22e638){return _0x2bfadf(_0x5e9882,_0x22e638);},'niODV':'ranger\x20go','wHTJe':'--env','CpOgr':_0x265299(0x1fa),'NqVZu':function(_0x548d20,_0x560b95,_0x21d213,_0x1db168){return _0x548d20(_0x560b95,_0x21d213,_0x1db168);},'uNNty':'--scenario','DBTuf':function(_0xeacbc3){return _0xeacbc3();},'RqERN':'start-path','uhvBq':'base-url','RUBvu':_0x265299(0x28e),'ZAlmO':'verified','uXwxF':function(_0x93faaf,_0xea0b4){return _0x93faaf===_0xea0b4;},'iNJyC':'blocked','ESCiq':_0x265299(0x28f),'hCAnS':'\x0aIssues:'};_0x3611b5&&_0x45ef83['pUShr'](warnRenamed,'ranger\x20verify-feature','ranger\x20go');warnFlagRenamed(_0x45ef83['niODV'],_0x45ef83[_0x265299(0x1ae)],_0x45ef83['CpOgr']),_0x45ef83[_0x265299(0x22d)](warnFlagRenamed,_0x45ef83['niODV'],_0x265299(0x254),'--notes'),warnFlagRenamed(_0x45ef83['niODV'],'--item',_0x45ef83['uNNty']);const _0x2ad527=await _0x45ef83['DBTuf'](loadRangerConfig),_0x5f47b1=isByokEnabled(),_0x59d366=_0x26b9b5[_0x265299(0x236)],_0x5bc9fe=_0x2ad527['model'],_0x5199bf=await verifyFeature({'featureId':_0x26b9b5[_0x265299(0x252)],'profile':_0x26b9b5['profile']??_0x26b9b5[_0x265299(0x29b)]??process[_0x265299(0x29b)][_0x265299(0x122)],'notes':_0x26b9b5['notes']??_0x26b9b5[_0x265299(0x21b)],'scenario':_0x26b9b5['scenario']??_0x26b9b5[_0x265299(0x1f0)],'startPath':_0x26b9b5[_0x45ef83['RqERN']],'baseUrl':_0x26b9b5[_0x45ef83[_0x265299(0x292)]],'debugOutcome':_0x26b9b5[_0x45ef83[_0x265299(0x17f)]],'debugAddressComments':_0x26b9b5['debug-address-comments'],'headed':_0x26b9b5[_0x265299(0x1ec)],'byokEnabled':_0x5f47b1,'flagVerifyModel':_0x59d366,'configVerifyModel':_0x5bc9fe});console[_0x265299(0x228)]('\x0a'+'='['repeat'](0x3c)),console['log'](_0x5199bf[_0x265299(0x2a8)]===_0x45ef83['ZAlmO']?'\x20VERIFIED':_0x45ef83[_0x265299(0x242)](_0x5199bf['evaluation'],_0x265299(0x285))?_0x265299(0x250):_0x5199bf['evaluation']===_0x265299(0x14e)?_0x265299(0x110):_0x45ef83[_0x265299(0x242)](_0x5199bf['evaluation'],_0x45ef83[_0x265299(0x196)])?'\x20BLOCKED':_0x45ef83[_0x265299(0x1c9)]),console['log']('='['repeat'](0x3c)),console['log'](_0x265299(0x1a8)+_0x5199bf[_0x265299(0x15e)]),console['log']('Evaluation:\x20'+_0x5199bf[_0x265299(0x2a8)]),console[_0x265299(0x228)](_0x265299(0x148)+_0x5199bf['evaluationReason']),_0x5199bf[_0x265299(0x1dc)]?.[_0x265299(0x2a6)]&&(console['log'](_0x45ef83[_0x265299(0x233)]),_0x5199bf[_0x265299(0x1dc)]['forEach']((_0x51fc29,_0x587dd9)=>{const _0x581f3c=_0x265299;console['log']('\x0a'+(_0x587dd9+0x1)+'.\x20['+_0x51fc29['severity']+']\x20'+_0x51fc29[_0x581f3c(0xfe)]);})),process['exit'](_0x5199bf['evaluation']===_0x265299(0x152)?0x0:0x1);}export function buildParser(_0xc0a84c){const _0x3c90a8=_0x3dfc62,_0x41f4ad={'YpLxl':'string','pVthZ':'Feature\x20review\x20name','YGnNp':'description','upvOs':_0x3c90a8(0x11e),'iktco':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','XAGBP':function(_0x1ee9e5,_0x55271c){return _0x1ee9e5+_0x55271c;},'lOdAK':function(_0x47fc53,_0x1a92a3,_0x35e53d,_0x4bfa94){return _0x47fc53(_0x1a92a3,_0x35e53d,_0x4bfa94);},'LKiYq':'create','jrJNl':'limit','pNsmo':_0x3c90a8(0x12c),'GTcGq':'number','vhyPk':_0x3c90a8(0x129),'HElhi':'Scenario\x20description','FHwck':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','fwyHH':'add-scenario','SkxVv':_0x3c90a8(0x23f),'KKmuH':function(_0x553584,_0x3a4e42,_0x4ce554){return _0x553584(_0x3a4e42,_0x4ce554);},'gwgVx':_0x3c90a8(0x1d2),'LbtAn':'exclude-scenario','vixSJ':_0x3c90a8(0x1e9),'azUCj':'json','mJDmp':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','TLKVG':'report','JSpCE':'get-review','Ewcyx':_0x3c90a8(0x16a),'XjqWC':_0x3c90a8(0x26a),'yxikw':_0x3c90a8(0x2b3),'wbsdG':'restore','mhVzA':_0x3c90a8(0x181),'hoLUJ':'boolean','aKrJn':'skip-auth','jXmSR':_0x3c90a8(0x24d),'alVCv':'with-deps','eGgwm':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','GJbws':_0x3c90a8(0x200),'KWytg':'Install\x20scope\x20for\x20plugin\x20and\x20skills','nZIIT':_0x3c90a8(0x1c5),'OpQAT':_0x3c90a8(0x172),'VaHCP':_0x3c90a8(0x177),'PDTqB':'opencode','TZNAI':_0x3c90a8(0x175),'JLfKV':_0x3c90a8(0x279),'yVgHK':_0x3c90a8(0x230),'QPrkH':function(_0x316cc8,_0x4ac1b5,_0x5ef802){return _0x316cc8(_0x4ac1b5,_0x5ef802);},'ocaiO':_0x3c90a8(0x22f),'LCYIM':'Ranger\x20API\x20token\x20(rngr_...)','wSlcS':_0x3c90a8(0x16c),'AQPXa':'Authenticate\x20via\x20MCP\x20proxy','JviXP':'setup:login','NIaMc':function(_0x5b315c,_0x239103){return _0x5b315c(_0x239103);},'mbFih':_0x3c90a8(0x128),'suBpn':'setup:skills','UNAUH':function(_0x2a6030){return _0x2a6030();},'hUBzh':_0x3c90a8(0x2b7),'oWGgu':'user','awqjm':_0x3c90a8(0x2a9),'KhueY':_0x3c90a8(0x221),'ApmSx':_0x3c90a8(0x18b),'YzgBz':_0x3c90a8(0x23a),'HOStE':'all','cSqMG':_0x3c90a8(0x109),'SebxF':_0x3c90a8(0x29a),'TuujR':'Authenticate\x20with\x20Ranger','MWHJJ':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','pjZcG':'profiles','MdmHK':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','IrUNH':_0x3c90a8(0x188),'fjmbJ':'force','RjEnI':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','pNVuk':_0x3c90a8(0x1ac),'iAnhP':function(_0x58f2be,_0xee6dc,_0x3f1620){return _0x58f2be(_0xee6dc,_0x3f1620);},'mjfTk':'start','yPjTb':'Ranger\x20API\x20token','jqQqA':'profile','KwvUt':'skip-chromium','QjYtG':function(_0x4f93ec,_0x3e7fe3,_0x1d9403){return _0x4f93ec(_0x3e7fe3,_0x1d9403);},'kninI':_0x3c90a8(0x23b),'tCxLf':_0x3c90a8(0x19f),'mRxVp':'cdp-endpoint','CxOwe':_0x3c90a8(0x26d),'TNxUI':_0x3c90a8(0x229),'DpsUd':_0x3c90a8(0x1bd),'OjcvP':_0x3c90a8(0x189),'UzoMy':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','dJhuY':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','HHHyx':_0x3c90a8(0x1d9),'iKqxW':'profile\x20update','aGNrt':'Cloud\x20profile\x20name','hRimU':'not_configured','Soafa':_0x3c90a8(0x17b),'HOHfx':_0x3c90a8(0x2a5),'BnwIK':_0x3c90a8(0x19e),'PomCU':'Get\x20a\x20config\x20value','mASUK':_0x3c90a8(0x13c),'DBTph':'use\x20<profile-name>','TWMdq':'encrypt-auth\x20<profile>','cBnhX':_0x3c90a8(0x10e),'lerPP':_0x3c90a8(0x1f8),'iSqkn':'Manage\x20profile\x20configuration','nFjGo':_0x3c90a8(0x178),'VklMj':_0x3c90a8(0x18a),'OEDeu':_0x3c90a8(0x261),'JBlaH':'feature','wUWoy':_0x3c90a8(0x1aa),'DkTnx':'notes','lzKpS':'Scenario\x20index\x20(1-based)','HZpVX':_0x3c90a8(0x236),'jDiII':'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.','ipafL':_0x3c90a8(0x28e),'JvyLJ':_0x3c90a8(0x101),'LMvmm':'failed','ditOw':_0x3c90a8(0x1bf),'XVEVY':_0x3c90a8(0x21b),'mpQom':_0x3c90a8(0x201),'eSjYG':_0x3c90a8(0x13e),'FIhBy':_0x3c90a8(0x12d),'NIqXo':function(_0x272fca,_0x1b146f,_0x1d5d3f){return _0x272fca(_0x1b146f,_0x1d5d3f);},'sIeIU':_0x3c90a8(0x289),'WjGeC':_0x3c90a8(0x2b1),'BSOig':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','GrteL':'item','sqTzR':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','WTKAV':'verified','dqnXO':_0x3c90a8(0x14e),'preng':_0x3c90a8(0x15f),'UOaQL':_0x3c90a8(0x179),'KsIxS':'env-name','pdItl':_0x3c90a8(0x215),'utEpe':'ranger\x20use','YPWaZ':_0x3c90a8(0x218),'woWLE':_0x3c90a8(0x24b),'NGbUX':'env','SmRrw':'Environment\x20name','QiJIX':_0x3c90a8(0x1bc),'pnhKJ':_0x3c90a8(0x260),'hOkJr':function(_0x19a8bc,_0x928131,_0x6d6728){return _0x19a8bc(_0x928131,_0x6d6728);},'uLSfE':_0x3c90a8(0x191),'kdgGD':_0x3c90a8(0x1b6),'qhggb':_0x3c90a8(0x235),'XWRxV':function(_0x47262d,_0x2f112c,_0x36a288){return _0x47262d(_0x2f112c,_0x36a288);},'atORQ':_0x3c90a8(0x131),'qSYPa':_0x3c90a8(0x192),'zofsr':'config\x20unset','ypJgR':'set\x20<env>\x20<key>\x20<value>','nubpL':_0x3c90a8(0x1f6),'QyoxO':'list\x20<env>','DInTl':_0x3c90a8(0x15d),'UKnVW':'ranger\x20env\x20ls','frpCH':function(_0x46e3a5,_0x4b07e2,_0x171ddb){return _0x46e3a5(_0x4b07e2,_0x171ddb);},'cniJJ':'Name\x20of\x20the\x20environment\x20to\x20update','URUbT':_0x3c90a8(0x186),'jhwdP':_0x3c90a8(0x19b),'YaAwf':_0x3c90a8(0x1f3),'PbSgf':_0x3c90a8(0x1a4),'ZtwFP':'Include\x20soft-deleted\x20feature\x20reviews','nPLoJ':_0x3c90a8(0x171),'fFqVC':function(_0x13abbe,_0x4b9754,_0x1261ae){return _0x13abbe(_0x4b9754,_0x1261ae);},'TykKd':_0x3c90a8(0x1fb),'BiXhh':function(_0x2371cc,_0x487338,_0x4a7a81){return _0x2371cc(_0x487338,_0x4a7a81);},'JMTnz':_0x3c90a8(0x10a),'dQuCK':function(_0x2b2ffd,_0x41528b,_0x9681ff){return _0x2b2ffd(_0x41528b,_0x9681ff);},'xAYUS':_0x3c90a8(0x10f),'hFiYH':_0x3c90a8(0x295),'JSRID':'--checklist','dCLDi':_0x3c90a8(0x190),'EZina':_0x3c90a8(0x251),'jZqbJ':'ranger\x20get-review','RiEQj':_0x3c90a8(0x1ed),'TOnWP':_0x3c90a8(0x123),'gZfdT':_0x3c90a8(0x214),'WjsfO':'list','PBAnH':'resume\x20[id]','WUViJ':_0x3c90a8(0x293),'uTLDL':'delete\x20[id]','ygzAV':_0x3c90a8(0x1b4),'ImIJE':_0x3c90a8(0x199),'zRlEF':'session-id','vWlyl':_0x3c90a8(0x296),'jrnjt':_0x3c90a8(0x282),'sXIgZ':_0x3c90a8(0x27e),'fwkSi':function(_0x2bacef,_0x40c954){return _0x2bacef||_0x40c954;},'kfJLj':'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','asgZK':'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','JvIFK':_0x3c90a8(0x1d1),'Lqybp':'report\x20[id]','qxljm':_0x3c90a8(0x1a7),'cBflG':'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','Ljhoy':_0x3c90a8(0x240),'WOTuP':_0x3c90a8(0x16f),'Klval':_0x3c90a8(0x24c),'nimpY':_0x3c90a8(0x19a),'eYcyU':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','hVEWs':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','FvmnA':'Print\x20the\x20current\x20CLI\x20access\x20token','kJKqE':'verify-feature','PDhsJ':'add\x20env\x20<env-name>','Tqsni':_0x3c90a8(0x114),'tpxSB':_0x3c90a8(0x1ca),'OjzaW':function(_0x511298,_0xb17137){return _0x511298+_0xb17137;},'VQguv':_0x3c90a8(0x147),'RKXzz':_0x3c90a8(0x17e),'yySdb':_0x3c90a8(0x1e6)};return _0x41f4ad['NIaMc'](_0x21b774,_0xc0a84c??process[_0x3c90a8(0x1f9)][_0x3c90a8(0x2a2)](0x2))['scriptName'](_0x41f4ad['mbFih'])['usage'](TOP_LEVEL_HELP)[_0x3c90a8(0x25b)](getCurrentVersion())['command']('create\x20<name>','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios',_0x676be2=>{const _0x515bed=_0x3c90a8;return _0x676be2[_0x515bed(0x204)](_0x515bed(0x19b),{'type':_0x41f4ad[_0x515bed(0x271)],'description':_0x41f4ad['pVthZ'],'demandOption':!![]})['option'](_0x41f4ad[_0x515bed(0x1c8)],{'type':'string','alias':'d','description':_0x515bed(0x281)})[_0x515bed(0x1ab)]('scenario',{'type':_0x41f4ad['upvOs'],'alias':'c','description':_0x41f4ad[_0x515bed(0x1f2)]})[_0x515bed(0x1ab)](_0x515bed(0x20e),{'type':_0x41f4ad[_0x515bed(0x13f)],'hidden':!![]});},async _0x58fdb8=>{const _0x4a04c6=_0x3c90a8;if(!_0x58fdb8[_0x4a04c6(0x19b)]){console['error'](_0x41f4ad['XAGBP'](_0x4a04c6(0x168),_0x4a04c6(0x1c1))),process[_0x4a04c6(0x1ff)](0x1);return;}_0x41f4ad['lOdAK'](warnFlagRenamed,_0x4a04c6(0x295),'--checklist',_0x4a04c6(0x25d));const _0x101f2a=_0x58fdb8[_0x4a04c6(0x23f)]||_0x58fdb8[_0x4a04c6(0x20e)];await withTelemetry(_0x41f4ad['LKiYq'],()=>featureCreate(_0x58fdb8[_0x4a04c6(0x19b)],{'description':_0x58fdb8[_0x4a04c6(0xfe)],'scenarios':_0x101f2a}));})['command'](_0x41f4ad[_0x3c90a8(0x11f)],_0x3c90a8(0x1d8),_0x3f2ff3=>{const _0x1f8bc4=_0x3c90a8;return _0x3f2ff3['option'](_0x1f8bc4(0x1f3),{'type':'boolean','description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option'](_0x41f4ad[_0x1f8bc4(0x1a6)],{'type':_0x1f8bc4(0x15a),'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})[_0x1f8bc4(0x1ab)](_0x41f4ad['pNsmo'],{'type':_0x41f4ad[_0x1f8bc4(0x14d)],'alias':'o','description':_0x1f8bc4(0x157),'default':0x0})[_0x1f8bc4(0x1ab)](_0x41f4ad[_0x1f8bc4(0x25c)],{'type':_0x1f8bc4(0x24e),'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x1779fa=>{const _0x188ba7=_0x3c90a8;await withTelemetry('list',()=>featureList({'currentBranch':_0x1779fa['current-branch'],'limit':_0x1779fa['limit'],'offset':_0x1779fa['offset'],'includeDeleted':_0x1779fa[_0x188ba7(0x129)]}));})['command']('show\x20[id]',_0x41f4ad[_0x3c90a8(0x29e)],_0x2e2f1d=>{const _0x8ebe0a=_0x3c90a8;return _0x2e2f1d['positional']('id',{'type':_0x41f4ad['YpLxl'],'description':_0x8ebe0a(0x16a)});},async _0x56b8c9=>{await withTelemetry('show',()=>featureShow(_0x56b8c9['id']));})['command'](_0x41f4ad['PBAnH'],_0x41f4ad['asgZK'],_0x1a3245=>{const _0x2a0b7c=_0x3c90a8;return _0x1a3245[_0x2a0b7c(0x204)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x4b67b3=>{const _0xfcfef=_0x3c90a8;await withTelemetry(_0xfcfef(0x290),()=>featureResume(_0x4b67b3['id']));})[_0x3c90a8(0x164)](_0x3c90a8(0x2ab),_0x3c90a8(0x170),_0x35ba5f=>{const _0x170bb5=_0x3c90a8;return _0x35ba5f[_0x170bb5(0x204)]('description',{'type':_0x41f4ad['YpLxl'],'description':_0x41f4ad[_0x170bb5(0x166)],'demandOption':!![]})[_0x170bb5(0x1ab)]('id',{'type':_0x41f4ad[_0x170bb5(0x271)],'description':_0x41f4ad[_0x170bb5(0x1d0)]});},async _0x464503=>{const _0x1b16bc=_0x3c90a8;await withTelemetry(_0x41f4ad[_0x1b16bc(0x104)],()=>featureAddScenario(_0x464503[_0x1b16bc(0xfe)],_0x464503['id']));})['command'](_0x41f4ad['JvIFK'],'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x1f152b=>{const _0x1c722d=_0x3c90a8;return _0x1f152b['positional'](_0x1c722d(0xfe),{'type':_0x41f4ad['YpLxl'],'description':_0x1c722d(0x156),'demandOption':!![]})['option'](_0x41f4ad[_0x1c722d(0x263)],{'type':_0x41f4ad[_0x1c722d(0x14d)],'description':'Scenario\x20number\x20to\x20edit\x20(1-based)','demandOption':!![]})['option']('id',{'type':_0x41f4ad[_0x1c722d(0x271)],'description':_0x1c722d(0x1f7)});},async _0x30a5e7=>{const _0x5d9a60=_0x3c90a8;await _0x41f4ad[_0x5d9a60(0x22e)](withTelemetry,_0x41f4ad[_0x5d9a60(0x19c)],()=>featureEditScenario(_0x30a5e7['description'],{'id':_0x30a5e7['id'],'scenario':_0x30a5e7[_0x5d9a60(0x23f)]}));})[_0x3c90a8(0x164)](_0x41f4ad[_0x3c90a8(0x1e7)],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x37c675=>{const _0x3d5cdb=_0x3c90a8;return _0x37c675['positional']('id',{'type':_0x3d5cdb(0x21a),'description':'Feature\x20review\x20ID'})['option'](_0x41f4ad[_0x3d5cdb(0x1b0)],{'type':'array','description':_0x41f4ad[_0x3d5cdb(0x28c)]})['option'](_0x41f4ad['azUCj'],{'type':_0x3d5cdb(0x24e),'description':_0x41f4ad[_0x3d5cdb(0x1bb)],'default':![]});},async _0x2b0e31=>{const _0x4329d6=_0x3c90a8,_0x15adae=_0x2b0e31['exclude-scenario'],_0x560a71=_0x15adae?_0x15adae[_0x4329d6(0x226)](_0x2a06f5=>Number(_0x2a06f5)):undefined;await withTelemetry(_0x41f4ad['TLKVG'],()=>featureReportPrDescription(_0x2b0e31['id'],{'excludeScenarios':_0x560a71,'json':_0x2b0e31[_0x4329d6(0x142)]}));})['command'](_0x41f4ad['qxljm'],_0x41f4ad[_0x3c90a8(0x1ef)],_0x26b158=>{const _0x14c768=_0x3c90a8;return _0x26b158['positional']('id',{'type':_0x41f4ad[_0x14c768(0x271)],'description':_0x41f4ad[_0x14c768(0x1d0)]});},async _0x3ef14a=>{await withTelemetry(_0x41f4ad['JSpCE'],()=>featureGetReview(_0x3ef14a['id']));})[_0x3c90a8(0x164)](_0x3c90a8(0x17d),_0x41f4ad['Ljhoy'],_0x34e08e=>{const _0x186a07=_0x3c90a8;return _0x34e08e['positional']('id',{'type':_0x186a07(0x21a),'description':_0x41f4ad['Ewcyx']});},async _0x494ad5=>{const _0x7e3e62=_0x3c90a8;await _0x41f4ad[_0x7e3e62(0x22e)](withTelemetry,_0x41f4ad[_0x7e3e62(0x16b)],()=>featureDelete(_0x494ad5['id']));})['command']('restore\x20<id>','Restore\x20a\x20soft-deleted\x20feature\x20review',_0x2b2758=>{const _0x4c4317=_0x3c90a8;return _0x2b2758['positional']('id',{'type':'string','description':_0x41f4ad[_0x4c4317(0x112)],'demandOption':!![]});},async _0x38fd40=>{await _0x41f4ad['KKmuH'](withTelemetry,_0x41f4ad['wbsdG'],()=>featureRestore(_0x38fd40['id']));})[_0x3c90a8(0x164)]('setup\x20[tokenOrSubcommand]',_0x41f4ad[_0x3c90a8(0x243)],_0x2666c2=>{const _0x366236=_0x3c90a8,_0xc479e1={'AvVMl':_0x41f4ad['alVCv'],'BrkhD':_0x366236(0x2b5),'FUNaC':function(_0x56fdaf){const _0x23ce94=_0x366236;return _0x41f4ad[_0x23ce94(0x169)](_0x56fdaf);},'ZeEmS':_0x41f4ad['hUBzh'],'DjKaT':_0x41f4ad[_0x366236(0x154)],'PWawC':_0x366236(0x200),'DupzR':_0x366236(0x155),'DqqNX':_0x41f4ad[_0x366236(0x299)],'qxwCw':_0x41f4ad[_0x366236(0x271)],'tNuNZ':_0x366236(0x182),'ixFWB':'Base\x20URL\x20of\x20the\x20running\x20app','PjiPK':'boolean','AjIDB':_0x366236(0x2b0),'KWHjm':'force','oxfQW':_0x366236(0x177),'YEgYQ':_0x41f4ad[_0x366236(0x2a7)],'jymdj':_0x41f4ad[_0x366236(0x1c0)]};return _0x2666c2['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')[_0x366236(0x204)](_0x366236(0x283),{'type':_0x41f4ad['YpLxl'],'description':_0x41f4ad['YzgBz']})['command'](_0x41f4ad[_0x366236(0x222)],'Run\x20full\x20interactive\x20setup',_0xb1b458=>{const _0x2349fc=_0x366236;return _0xb1b458[_0x2349fc(0x1ab)](_0x41f4ad[_0x2349fc(0x1e4)],{'type':_0x41f4ad[_0x2349fc(0x271)],'description':'Ranger\x20API\x20token'})[_0x2349fc(0x1ab)](_0x2349fc(0xfd),{'type':_0x41f4ad[_0x2349fc(0x1fd)],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x2349fc(0x1ab)](_0x41f4ad['aKrJn'],{'type':'boolean','description':_0x41f4ad['jXmSR'],'default':![]})[_0x2349fc(0x1ab)](_0x41f4ad[_0x2349fc(0x17c)],{'type':_0x41f4ad['hoLUJ'],'description':_0x41f4ad['eGgwm'],'default':![]})['option'](_0x2349fc(0x2b7),{'type':'string','choices':[_0x2349fc(0x256),_0x41f4ad['GJbws']],'description':_0x41f4ad['KWytg']})['option'](_0x41f4ad['nZIIT'],{'type':_0x41f4ad['YpLxl'],'description':_0x41f4ad[_0x2349fc(0x210)]})[_0x2349fc(0x1ab)]('force',{'type':_0x2349fc(0x24e),'description':_0x41f4ad['VaHCP'],'default':![]})[_0x2349fc(0x1ab)](_0x41f4ad['PDTqB'],{'type':_0x2349fc(0x24e),'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})['option'](_0x41f4ad['TZNAI'],{'type':_0x2349fc(0x24e),'description':_0x2349fc(0x221),'default':![]})[_0x2349fc(0x1ab)](_0x41f4ad['JLfKV'],{'type':'boolean','description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','default':![]})['option']('mcp',{'type':'boolean','description':_0x41f4ad['yVgHK'],'default':![]});},async _0x3bd2c6=>{const _0x4016aa=_0x366236;(_0x3bd2c6[_0x4016aa(0x279)]||_0x3bd2c6['mcp'])&&await withTelemetry(_0x4016aa(0x279),()=>mcpBootstrap()),await withTelemetry('setup:all',_0x5927e4=>start(_0x3bd2c6[_0x4016aa(0x181)],{'skipChromium':_0x3bd2c6[_0x4016aa(0xfd)],'skipAuth':_0x3bd2c6[_0x4016aa(0x2ae)],'withDeps':_0x3bd2c6['with-deps'],'scope':_0x3bd2c6['scope'],'url':_0x3bd2c6[_0x4016aa(0x1c5)],'force':_0x3bd2c6[_0x4016aa(0x238)],'opencode':_0x3bd2c6[_0x4016aa(0x155)],'allowInsecureLocalhost':_0x3bd2c6['allow-insecure-localhost']},_0x5927e4));})[_0x366236(0x164)](_0x41f4ad[_0x366236(0x1e3)],_0x366236(0xff),_0x3cccaa=>{const _0x334707=_0x366236;return _0x3cccaa['option'](_0xc479e1['AvVMl'],{'type':_0x334707(0x24e),'description':_0xc479e1[_0x334707(0x163)],'default':![]});},async _0x574661=>{const _0x5d8c2b=_0x366236;await _0x41f4ad['QPrkH'](withTelemetry,_0x41f4ad[_0x5d8c2b(0x141)],()=>ensureChromium(_0x574661[_0x5d8c2b(0x257)]));})['command'](_0x41f4ad[_0x366236(0x134)],_0x41f4ad['TuujR'],_0x9673db=>{const _0xbd017=_0x366236;return _0x9673db[_0xbd017(0x1ab)](_0xbd017(0x181),{'type':_0xbd017(0x21a),'description':_0x41f4ad['LCYIM']})[_0xbd017(0x1ab)](_0x41f4ad[_0xbd017(0x246)],{'type':_0x41f4ad[_0xbd017(0x1fd)],'description':_0x41f4ad['AQPXa'],'default':![]});},async _0x20a0e0=>{await withTelemetry(_0x41f4ad['JviXP'],async()=>{const _0x528b7e=_0x1218;if(_0x20a0e0[_0x528b7e(0x16c)]){await mcpBootstrap();const _0x56576a=await _0xc479e1[_0x528b7e(0x18d)](refreshCliToken);if(!_0x56576a)throw new Error('Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.');const _0x234b16=await getCurrentUser(_0x56576a);if(!_0x234b16[_0x528b7e(0x14f)])throw new Error(_0x528b7e(0x1a2)+_0x234b16['error']);console[_0x528b7e(0x228)]('✓\x20Authenticated\x20to\x20'+_0x234b16['user']['organizationName']);return;}await authenticate(_0x20a0e0[_0x528b7e(0x181)]);});})[_0x366236(0x164)](_0x366236(0x12e),_0x41f4ad[_0x366236(0x197)],_0xcd7323=>{const _0x1bb1b2=_0x366236;return _0xcd7323['option'](_0xc479e1[_0x1bb1b2(0x20d)],{'type':_0x1bb1b2(0x21a),'choices':[_0xc479e1[_0x1bb1b2(0x1f5)],_0xc479e1[_0x1bb1b2(0x2af)]],'description':_0x1bb1b2(0x1a1)})['option'](_0xc479e1['DupzR'],{'type':_0x1bb1b2(0x24e),'description':_0xc479e1['DqqNX'],'default':![]});},async _0x4e80bc=>{const _0x4f50a6=_0x366236,_0x4f5519={'rEoFV':function(_0x3ad0b1,_0x1039ab){return _0x41f4ad['NIaMc'](_0x3ad0b1,_0x1039ab);},'wTfrH':_0x41f4ad['mbFih'],'mCQFI':_0x4f50a6(0x155)};await _0x41f4ad[_0x4f50a6(0x184)](withTelemetry,_0x41f4ad['suBpn'],async()=>{const _0x1df8e0=_0x4f50a6,_0x3d9e76=_0x4e80bc[_0x1df8e0(0x2b7)];if(_0x4e80bc['opencode']){const _0x4681b8=await _0x4f5519[_0x1df8e0(0x118)](ensureOpencodePluginConfig,_0x3d9e76);_0x4681b8&&await installSkill(_0x4f5519[_0x1df8e0(0x277)],{'level':_0x4681b8['scope'],'cliVersion':getCurrentVersion(),'platform':_0x4f5519['mCQFI']});}else await ensureClaudePlugin(_0x3d9e76),await _0x4f5519[_0x1df8e0(0x118)](ensureClaudeSkills,_0x3d9e76);});})['command'](_0x41f4ad['pjZcG'],'Set\x20up\x20a\x20local\x20browser\x20profile',_0x921a0=>{const _0x46ff44=_0x366236;return _0x921a0[_0x46ff44(0x1ab)](_0xc479e1['ZeEmS'],{'type':_0xc479e1[_0x46ff44(0x1e8)],'choices':['user','project'],'description':_0xc479e1['tNuNZ']})['option']('url',{'type':_0xc479e1['qxwCw'],'description':_0xc479e1['ixFWB']})['option'](_0x46ff44(0x2ae),{'type':_0xc479e1['PjiPK'],'description':_0xc479e1[_0x46ff44(0x2a0)],'default':![]})[_0x46ff44(0x1ab)](_0xc479e1[_0x46ff44(0x176)],{'type':_0xc479e1['PjiPK'],'description':_0xc479e1[_0x46ff44(0x1fc)],'default':![]})['option']('allow-insecure-localhost',{'type':_0xc479e1['PjiPK'],'description':_0xc479e1['YEgYQ'],'default':![]});},async _0x233381=>{const _0x2199ea=_0x366236;await withTelemetry(_0xc479e1[_0x2199ea(0x20a)],_0x14a969=>ensureLocalEnv({'url':_0x233381['url'],'force':_0x233381['force'],'allowInsecureLocalhost':_0x233381[_0x2199ea(0x175)],'scope':_0x233381['scope']==='user'?'user':undefined},_0x14a969));})[_0x366236(0x1ab)](_0x366236(0xfd),{'type':_0x41f4ad['hoLUJ'],'description':_0x366236(0x12d),'default':![]})['option'](_0x41f4ad['hUBzh'],{'type':'string','choices':[_0x41f4ad[_0x366236(0x154)]],'hidden':!![],'description':_0x41f4ad[_0x366236(0x136)]})[_0x366236(0x1ab)](_0x41f4ad[_0x366236(0x1e5)],{'type':_0x41f4ad['YpLxl'],'description':_0x41f4ad[_0x366236(0x26e)]})[_0x366236(0x1ab)](_0x41f4ad[_0x366236(0x267)],{'type':_0x41f4ad[_0x366236(0x1fd)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x41f4ad['PDTqB'],{'type':_0x366236(0x24e),'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})['option']('allow-insecure-localhost',{'type':'boolean','description':_0x366236(0x1d9),'default':![]})[_0x366236(0x1ab)]('mcp-bootstrap',{'type':'boolean','description':_0x41f4ad['RjEnI'],'default':![]})[_0x366236(0x1ab)](_0x41f4ad['aKrJn'],{'type':_0x41f4ad[_0x366236(0x1fd)],'description':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','default':![]})['option'](_0x41f4ad['alVCv'],{'type':_0x41f4ad[_0x366236(0x1fd)],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]})['option']('token',{'type':_0x41f4ad['YpLxl'],'hidden':!![],'description':_0x41f4ad['pNVuk']});},async _0xd306e5=>{const _0x259fb5=_0x3c90a8,_0x455c53=_0xd306e5['tokenOrSubcommand'],_0x2454e6=_0xd306e5[_0x259fb5(0x181)]??_0x455c53;_0xd306e5[_0x41f4ad['JLfKV']]&&await _0x41f4ad['KKmuH'](withTelemetry,_0x41f4ad[_0x259fb5(0x127)],()=>mcpBootstrap()),await _0x41f4ad[_0x259fb5(0x26f)](withTelemetry,_0x41f4ad['mjfTk'],_0x3c8927=>start(_0x2454e6,{'skipChromium':_0xd306e5[_0x259fb5(0xfd)],'skipAuth':_0xd306e5['skip-auth'],'withDeps':_0xd306e5['with-deps'],'scope':_0xd306e5['scope'],'url':_0xd306e5['url'],'force':_0xd306e5[_0x259fb5(0x238)],'opencode':_0xd306e5[_0x259fb5(0x155)],'allowInsecureLocalhost':_0xd306e5[_0x259fb5(0x175)]},_0x3c8927));})[_0x3c90a8(0x164)](_0x3c90a8(0x25a),_0x41f4ad['Klval'],_0x5a9a2c=>{const _0x50517f=_0x3c90a8;return _0x5a9a2c['positional'](_0x41f4ad[_0x50517f(0x1e4)],{'type':_0x41f4ad[_0x50517f(0x271)],'description':_0x41f4ad[_0x50517f(0x272)],'demandOption':!![]})['option'](_0x41f4ad[_0x50517f(0x23e)],{'type':_0x50517f(0x21a),'description':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)'})['option'](_0x50517f(0x225),{'type':_0x50517f(0x21a),'description':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)'})[_0x50517f(0x1ab)](_0x41f4ad[_0x50517f(0x1f4)],{'type':_0x41f4ad[_0x50517f(0x1fd)],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0xb0b26e=>{const _0x5a7cf5=_0x3c90a8;await _0x41f4ad[_0x5a7cf5(0x1b8)](withTelemetry,_0x5a7cf5(0x1a0),_0x1350ab=>setupCi(_0xb0b26e['token'],{'profile':_0xb0b26e[_0x5a7cf5(0x1b7)],'baseUrl':_0xb0b26e['base-url'],'skipChromium':_0xb0b26e[_0x5a7cf5(0xfd)]},_0x1350ab));})['command'](_0x41f4ad['SebxF'],'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)',()=>{},async()=>{await withTelemetry(_0x41f4ad['SebxF'],()=>login());})[_0x3c90a8(0x164)](_0x41f4ad[_0x3c90a8(0x28b)],_0x3c90a8(0x132),_0x53d25d=>{const _0x229f67=_0x3c90a8;return _0x53d25d['option'](_0x41f4ad['PDTqB'],{'type':_0x229f67(0x24e),'description':_0x229f67(0x2a3),'default':![]})['option'](_0x41f4ad['hUBzh'],{'type':'string','choices':[_0x229f67(0x256),_0x41f4ad['GJbws']],'description':_0x229f67(0x259)});},async _0x429dbc=>{const _0x26bd00=_0x3c90a8,_0x3a4b3f=Boolean(_0x429dbc[_0x26bd00(0x155)]);await withTelemetry(_0x41f4ad['kninI'],()=>skillup({'autoInstall':_0x429dbc[_0x26bd00(0x2b7)],'platform':_0x3a4b3f?'opencode':'claude'}));})[_0x3c90a8(0x164)](_0x41f4ad['nimpY'],_0x3c90a8(0x1e1),()=>{},async()=>{const _0x5e5b05=_0x3c90a8;await withTelemetry(_0x5e5b05(0x19a),()=>clean());})['command'](['profile',_0x41f4ad[_0x3c90a8(0x220)]],'Manage\x20profiles',_0x572390=>{const _0x49eb34=_0x3c90a8,_0x2b1878={'yrFJD':_0x41f4ad[_0x49eb34(0x1e0)],'ZvRKf':'string','AtmdZ':_0x41f4ad['UzoMy'],'OdFcd':_0x49eb34(0x24e),'aHklq':_0x49eb34(0x28d),'pRmJS':_0x41f4ad['aKrJn'],'nOxcE':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','stLNp':'url','ArHxD':_0x41f4ad['dJhuY'],'gelYr':_0x41f4ad[_0x49eb34(0x267)],'PADIq':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','xSARa':'cdp-endpoint','uAyXN':_0x49eb34(0x239),'BrboE':_0x41f4ad['HHHyx'],'Jdqgo':_0x49eb34(0x1b5),'VCKiC':'setup-header','ggwSh':_0x41f4ad[_0x49eb34(0x24a)],'ceqnC':_0x41f4ad[_0x49eb34(0x154)],'jcyhu':_0x41f4ad['GJbws'],'RmQSs':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','rNNCl':_0x49eb34(0x175),'CaRQL':_0x41f4ad['iKqxW'],'jIXLQ':_0x41f4ad[_0x49eb34(0x227)],'xInOc':_0x41f4ad['hRimU'],'ovxWe':_0x49eb34(0x22c),'hgVKB':_0x41f4ad[_0x49eb34(0x1db)],'bvOQX':'key','oEyMH':function(_0x18232a,_0x3ef0e3,_0x1f05bf){return _0x41f4ad['QjYtG'](_0x18232a,_0x3ef0e3,_0x1f05bf);},'fzhuM':_0x41f4ad['HOHfx'],'GxnJb':_0x49eb34(0x12f),'XonzE':_0x49eb34(0x113),'yUYRD':_0x41f4ad['TNxUI'],'GmNfB':_0x41f4ad['BnwIK'],'QMGbb':_0x49eb34(0x195),'jZnPo':_0x41f4ad['PomCU'],'RgPAN':'list\x20<profile>','XfQvm':'Remove\x20a\x20config\x20value','kQSHd':'reset\x20<profile>','SYlkq':_0x41f4ad[_0x49eb34(0x18e)]};return _0x572390[_0x49eb34(0x183)](PROFILE_HELP)[_0x49eb34(0x164)](_0x49eb34(0x116),_0x49eb34(0x100),_0xe529f5=>{const _0x1e9e8f=_0x49eb34;return _0xe529f5[_0x1e9e8f(0x204)](_0x2b1878[_0x1e9e8f(0x262)],{'type':_0x2b1878[_0x1e9e8f(0x223)],'description':_0x2b1878['AtmdZ'],'demandOption':!![]})['option']('ci',{'type':_0x2b1878[_0x1e9e8f(0x20c)],'description':_0x2b1878['aHklq'],'default':![]})[_0x1e9e8f(0x1ab)](_0x2b1878[_0x1e9e8f(0x160)],{'type':_0x2b1878['OdFcd'],'description':_0x2b1878['nOxcE'],'default':![]})[_0x1e9e8f(0x1ab)](_0x2b1878['stLNp'],{'type':_0x2b1878[_0x1e9e8f(0x223)],'description':_0x2b1878['ArHxD']})['option'](_0x2b1878['gelYr'],{'type':'boolean','description':_0x2b1878['PADIq'],'default':![]})[_0x1e9e8f(0x1ab)](_0x2b1878[_0x1e9e8f(0x2b4)],{'type':_0x2b1878[_0x1e9e8f(0x223)],'description':_0x2b1878['uAyXN']})[_0x1e9e8f(0x1ab)](_0x1e9e8f(0x175),{'type':_0x2b1878['OdFcd'],'description':_0x2b1878[_0x1e9e8f(0x1d3)],'default':![]})['option']('safe-mode',{'type':_0x1e9e8f(0x24e),'description':_0x2b1878[_0x1e9e8f(0x1d7)],'default':![]})['option'](_0x2b1878['VCKiC'],{'type':_0x2b1878['ZvRKf'],'array':!![],'description':_0x1e9e8f(0x273)})[_0x1e9e8f(0x1ab)](_0x2b1878['ggwSh'],{'type':_0x2b1878['ZvRKf'],'choices':[_0x2b1878[_0x1e9e8f(0x174)],_0x2b1878['jcyhu']],'description':_0x2b1878[_0x1e9e8f(0x119)]})[_0x1e9e8f(0x1ab)]('yes',{'type':_0x1e9e8f(0x24e),'alias':'y','description':_0x1e9e8f(0x207),'default':![]});},async _0x4c8c1d=>{const _0x579f7e=_0x49eb34;await _0x41f4ad['lOdAK'](withTelemetry,_0x41f4ad['tCxLf'],_0x207a7a=>addEnv(_0x4c8c1d['profile-name'],{'ci':_0x4c8c1d['ci'],'skipAuth':_0x4c8c1d['skip-auth'],'url':_0x4c8c1d[_0x579f7e(0x1c5)],'force':_0x4c8c1d['force'],'cdpEndpoint':_0x4c8c1d['cdp-endpoint'],'allowInsecureLocalhost':_0x4c8c1d['allow-insecure-localhost'],'safeMode':_0x4c8c1d[_0x579f7e(0x26b)],'setupHeader':_0x4c8c1d['setup-header'],'scope':_0x4c8c1d['scope'],'yes':_0x4c8c1d['yes']},_0x207a7a),{'isElectron':Boolean(_0x4c8c1d[_0x41f4ad[_0x579f7e(0x1d6)]])});})[_0x49eb34(0x164)](_0x41f4ad['DBTph'],'Switch\x20to\x20using\x20a\x20specific\x20profile',_0x20add6=>{const _0x3a34c9=_0x49eb34;return _0x20add6[_0x3a34c9(0x204)](_0x3a34c9(0x189),{'type':_0x41f4ad[_0x3a34c9(0x271)],'description':_0x41f4ad['CxOwe'],'demandOption':!![]});},async _0xe16429=>{const _0x369729=_0x49eb34;await withTelemetry(_0x369729(0x1b2),()=>useEnv(_0xe16429[_0x369729(0x189)]));})['command'](_0x41f4ad[_0x49eb34(0x291)],_0x49eb34(0x13d),_0x2cc20e=>{const _0x4b3209=_0x49eb34;return _0x2cc20e['positional'](_0x4b3209(0x1b7),{'type':_0x4b3209(0x21a),'description':_0x41f4ad['TNxUI'],'demandOption':!![]});},async _0x202ea1=>{const _0x396412=_0x49eb34;await withTelemetry(_0x41f4ad[_0x396412(0x14b)],()=>authEncrypt(_0x202ea1['profile']));})['command']('ls',_0x49eb34(0x12b),()=>{},async()=>{const _0x5dc21a=_0x49eb34;await withTelemetry(_0x5dc21a(0x276),()=>envList());})[_0x49eb34(0x164)]('update\x20<profile-name>',_0x49eb34(0x161),_0x4bfc37=>{const _0x54e798=_0x49eb34;return _0x4bfc37['positional'](_0x2b1878[_0x54e798(0x262)],{'type':_0x2b1878[_0x54e798(0x223)],'description':_0x54e798(0x23d),'demandOption':!![]})['option'](_0x2b1878[_0x54e798(0x10b)],{'type':_0x2b1878[_0x54e798(0x20c)],'description':_0x2b1878['BrboE']});},async _0x52e996=>{const _0x4890d7=_0x49eb34;await withTelemetry(_0x2b1878[_0x4890d7(0x115)],_0x1306ce=>updateEnv(_0x52e996[_0x4890d7(0x189)],_0x1306ce,{'allowInsecureLocalhost':_0x52e996['allow-insecure-localhost']}));})['command'](_0x41f4ad['cBnhX'],![],_0x345857=>{const _0x1b0749=_0x49eb34;return _0x345857['positional'](_0x1b0749(0x19b),{'type':_0x1b0749(0x21a),'description':_0x2b1878['jIXLQ'],'demandOption':!![]});},async _0x4d6439=>{const _0x3514bd=_0x49eb34,_0x6e1b3c={'NyZiZ':function(_0x507a26,_0x517bed,_0xa1b22c){return _0x507a26(_0x517bed,_0xa1b22c);},'gVNwK':_0x2b1878[_0x3514bd(0x255)],'PQJVB':_0x3514bd(0x297)};await withTelemetry(_0x3514bd(0x102),async()=>{const _0x472163=_0x3514bd,_0x279de8=process['env'][_0x472163(0x180)],_0x230518=process[_0x472163(0x29b)]['RANGER_TEST_PASSWORD'];(!_0x279de8||!_0x230518)&&(console[_0x472163(0x18f)](_0x472163(0x1d4)),process['exit'](0x1));const _0x213f72=_0x4d6439['name'],_0x543b3d=await _0x6e1b3c[_0x472163(0x2b8)](serverSideLogin,_0x213f72,{'force':!![]});_0x543b3d['status']===_0x6e1b3c['gVNwK']&&(console[_0x472163(0x18f)](_0x472163(0x234)),process['exit'](0x1)),_0x543b3d[_0x472163(0x18a)]===_0x472163(0x287)&&(console['error'](_0x472163(0x105)+(_0x543b3d['error']??_0x6e1b3c['PQJVB'])),_0x543b3d[_0x472163(0x1de)]&&console['error'](_0x543b3d[_0x472163(0x1de)]),process['exit'](0x1)),console['log'](_0x472163(0x1be)+_0x213f72+'\x27.\x20Session\x20written\x20to\x20cloud\x20profile.');});})[_0x49eb34(0x164)]('migrate\x20[profile-name]',_0x41f4ad['lerPP'],_0x55f8ce=>{const _0x2b0b91=_0x49eb34;return _0x55f8ce[_0x2b0b91(0x204)](_0x2b1878[_0x2b0b91(0x262)],{'type':_0x2b1878[_0x2b0b91(0x223)],'description':_0x2b0b91(0x198)})[_0x2b0b91(0x1ab)](_0x2b0b91(0x153),{'type':_0x2b0b91(0x24e),'description':_0x2b0b91(0x133),'default':![]})[_0x2b0b91(0x1ab)]('dry-run',{'type':'boolean','description':_0x2b1878['ovxWe'],'default':![]})[_0x2b0b91(0x1ab)]('yes',{'type':_0x2b1878[_0x2b0b91(0x20c)],'alias':'y','description':_0x2b0b91(0x1af),'default':![]})[_0x2b0b91(0x1ab)]('save-creds',{'type':_0x2b0b91(0x24e),'description':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','default':![]});},async _0x37238a=>{const _0x34bdb5=_0x49eb34;await withTelemetry(_0x2b1878[_0x34bdb5(0x15b)],_0x362808=>migrateProfile({'profileName':_0x37238a[_0x34bdb5(0x189)],'all':_0x37238a[_0x34bdb5(0x153)],'dryRun':_0x37238a['dry-run'],'yes':_0x37238a[_0x34bdb5(0x244)],'saveCreds':_0x37238a[_0x34bdb5(0x12a)]},_0x362808));})[_0x49eb34(0x164)](_0x49eb34(0x114),_0x41f4ad['iSqkn'],_0xad0944=>{const _0x41203b=_0x49eb34,_0x1e7693={'koddn':'Profile\x20name','npItu':_0x2b1878['ZvRKf'],'cUBBD':function(_0x412283,_0x2b7ed8,_0xf8d85){return _0x2b1878['oEyMH'](_0x412283,_0x2b7ed8,_0xf8d85);}};return _0xad0944['usage'](PROFILE_CONFIG_HELP)[_0x41203b(0x164)]('set\x20<profile>\x20<key>\x20<value>',_0x41203b(0x158),_0x235ed0=>{const _0x84e99=_0x41203b;return _0x235ed0[_0x84e99(0x204)]('profile',{'type':_0x2b1878['ZvRKf'],'description':'Profile\x20name','demandOption':!![]})[_0x84e99(0x204)](_0x2b1878[_0x84e99(0x1cd)],{'type':_0x84e99(0x21a),'description':_0x84e99(0x1bc),'demandOption':!![]})['positional'](_0x84e99(0x260),{'type':_0x2b1878['ZvRKf'],'description':'Config\x20value','demandOption':!![]});},async _0x9e63ee=>{const _0x5710c4=_0x41203b;await _0x2b1878['oEyMH'](withTelemetry,_0x2b1878[_0x5710c4(0x19d)],()=>configSet(_0x9e63ee[_0x5710c4(0x1b7)],_0x9e63ee['key'],_0x9e63ee[_0x5710c4(0x260)]));})[_0x41203b(0x164)]('get\x20<profile>\x20<key>',_0x2b1878[_0x41203b(0x25e)],_0x4b0401=>{const _0x1a2486=_0x41203b;return _0x4b0401['positional']('profile',{'type':'string','description':_0x1e7693[_0x1a2486(0x21f)],'demandOption':!![]})[_0x1a2486(0x204)]('key',{'type':_0x1e7693['npItu'],'description':'Config\x20key','demandOption':!![]});},async _0x53854b=>{const _0x591755=_0x41203b;await withTelemetry(_0x2b1878[_0x591755(0x145)],()=>configGet(_0x53854b['profile'],_0x53854b[_0x591755(0x1f1)]));})['command'](_0x2b1878[_0x41203b(0x202)],'List\x20all\x20config\x20for\x20a\x20profile',_0x2ce8e4=>{const _0x38d2b5=_0x41203b;return _0x2ce8e4[_0x38d2b5(0x204)]('profile',{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x85ceb8=>{const _0x5b8e80=_0x41203b;await withTelemetry(_0x2b1878['XonzE'],()=>configList(_0x85ceb8[_0x5b8e80(0x1b7)]));})['command']('unset\x20<profile>\x20<key>',_0x2b1878['XfQvm'],_0x4142e9=>{const _0x55e68b=_0x41203b;return _0x4142e9['positional']('profile',{'type':'string','description':_0x2b1878[_0x55e68b(0x162)],'demandOption':!![]})['positional'](_0x2b1878['bvOQX'],{'type':_0x55e68b(0x21a),'description':_0x2b1878['GmNfB'],'demandOption':!![]});},async _0x490d4b=>{const _0x3b1087=_0x41203b;await _0x1e7693[_0x3b1087(0x1cf)](withTelemetry,'profile\x20config\x20unset',()=>configUnset(_0x490d4b[_0x3b1087(0x1b7)],_0x490d4b[_0x3b1087(0x1f1)]));})[_0x41203b(0x164)](_0x2b1878['kQSHd'],'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile\x20(cloud\x20profiles\x20only)',_0x294bef=>{const _0x5464ff=_0x41203b;return _0x294bef[_0x5464ff(0x204)]('profile',{'type':_0x5464ff(0x21a),'description':_0x5464ff(0x229),'demandOption':!![]});},async _0x8b6d89=>{await withTelemetry(_0x2b1878['QMGbb'],()=>configReset(_0x8b6d89['profile']));})['demandCommand'](0x1,_0x2b1878['SYlkq']);})[_0x49eb34(0x149)](0x1,_0x41f4ad[_0x49eb34(0x1c3)]);})[_0x3c90a8(0x164)](_0x41f4ad['VklMj'],_0x41f4ad[_0x3c90a8(0x126)],()=>{},async()=>{await withTelemetry(_0x41f4ad['VklMj'],()=>status());})['command'](_0x3c90a8(0x23c),_0x41f4ad[_0x3c90a8(0x258)],()=>{},async()=>{const _0x441454=_0x3c90a8;await withTelemetry(_0x441454(0x23c),()=>update());})[_0x3c90a8(0x164)](_0x41f4ad['OEDeu'],_0x41f4ad['FvmnA'],()=>{},async()=>{await withTelemetry(_0x41f4ad['OEDeu'],async()=>{const _0x14e0d6=await getToken();if(!_0x14e0d6)throw new Error('No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.');console['log'](_0x14e0d6);});})[_0x3c90a8(0x164)]('go',_0x3c90a8(0x247),_0x30e8f5=>{const _0x31fdd8=_0x3c90a8;return _0x30e8f5['option'](_0x41f4ad['JBlaH'],{'type':_0x31fdd8(0x21a),'description':_0x31fdd8(0x165)})['option'](_0x31fdd8(0x1b7),{'type':_0x41f4ad['YpLxl'],'description':_0x41f4ad[_0x31fdd8(0x288)]})[_0x31fdd8(0x1ab)](_0x41f4ad['DkTnx'],{'type':_0x41f4ad['YpLxl'],'description':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)'})[_0x31fdd8(0x1ab)]('scenario',{'type':_0x41f4ad[_0x31fdd8(0x14d)],'description':_0x41f4ad[_0x31fdd8(0x2aa)]})['option']('start-path',{'type':_0x41f4ad[_0x31fdd8(0x271)],'description':_0x31fdd8(0x224)})[_0x31fdd8(0x1ab)](_0x31fdd8(0x225),{'type':_0x41f4ad['YpLxl'],'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.'})['option'](_0x41f4ad['HZpVX'],{'type':'string','description':_0x41f4ad['jDiII']})['option'](_0x31fdd8(0x1ec),{'type':_0x41f4ad[_0x31fdd8(0x1fd)],'description':_0x31fdd8(0x268),'default':![]})['option'](_0x41f4ad[_0x31fdd8(0x248)],{'type':_0x41f4ad['YpLxl'],'hidden':!![],'choices':['verified',_0x31fdd8(0x14e),_0x41f4ad['JvyLJ'],_0x41f4ad[_0x31fdd8(0x151)],_0x31fdd8(0x285)]})['option'](_0x41f4ad[_0x31fdd8(0x29c)],{'type':_0x31fdd8(0x24e),'hidden':!![]})[_0x31fdd8(0x1ab)]('env',{'type':'string','hidden':!![]})[_0x31fdd8(0x1ab)](_0x41f4ad['XVEVY'],{'type':_0x31fdd8(0x21a),'hidden':!![]})['option'](_0x31fdd8(0x1f0),{'type':_0x41f4ad[_0x31fdd8(0x14d)],'hidden':!![]});},async _0x4dc9e6=>{await _0x41f4ad['NIaMc'](runGoCommand,_0x4dc9e6);})['command'](_0x3c90a8(0x1fe),![],_0x16c85c=>{const _0x263881=_0x3c90a8,_0x5be2ad={'cVGbl':_0x41f4ad[_0x263881(0x23e)],'akWGF':'string','CiwvQ':_0x41f4ad['mpQom'],'KxsYi':function(_0x34194f,_0x30d8dd){const _0x2ae5b4=_0x263881;return _0x41f4ad[_0x2ae5b4(0x24f)](_0x34194f,_0x30d8dd);}};return _0x16c85c[_0x263881(0x164)](_0x41f4ad['eSjYG'],![],_0x537034=>{const _0x162e27=_0x263881;return _0x537034['positional'](_0x5be2ad[_0x162e27(0x269)],{'type':_0x5be2ad[_0x162e27(0x125)],'description':'Profile\x20name','demandOption':!![]});},async _0x5be72e=>{const _0x1d6e2e=_0x263881;warnRenamed(_0x5be2ad[_0x1d6e2e(0x21e)],_0x1d6e2e(0x280)),await _0x5be2ad[_0x1d6e2e(0x216)](authEncrypt,_0x5be72e[_0x1d6e2e(0x1b7)]);})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command']('start\x20[token]',![],_0x4032f1=>{const _0x4c087c=_0x3c90a8;return _0x4032f1['positional'](_0x41f4ad[_0x4c087c(0x1e4)],{'type':'string','description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})[_0x4c087c(0x1ab)]('skip-chromium',{'type':_0x4c087c(0x24e),'description':_0x41f4ad[_0x4c087c(0x237)],'default':![]})['option']('scope',{'type':_0x41f4ad['YpLxl'],'choices':[_0x41f4ad['oWGgu'],'project'],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})[_0x4c087c(0x1ab)]('url',{'type':_0x41f4ad['YpLxl'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})[_0x4c087c(0x1ab)]('force',{'type':_0x41f4ad['hoLUJ'],'description':_0x41f4ad['VaHCP'],'default':![]})['option'](_0x41f4ad[_0x4c087c(0x117)],{'type':_0x41f4ad['hoLUJ'],'description':_0x4c087c(0x24d),'default':![]})[_0x4c087c(0x1ab)](_0x41f4ad['alVCv'],{'type':_0x4c087c(0x24e),'description':_0x41f4ad['eGgwm'],'default':![]});},async _0x5a98bb=>{const _0xd0de09=_0x3c90a8;_0x41f4ad[_0xd0de09(0x208)](warnRenamed,_0x41f4ad[_0xd0de09(0x29f)],_0x41f4ad['WjGeC']),await withTelemetry('start',_0x7ca471=>start(_0x5a98bb['token'],{'skipChromium':_0x5a98bb[_0xd0de09(0xfd)],'skipAuth':_0x5a98bb['skip-auth'],'withDeps':_0x5a98bb['with-deps'],'scope':_0x5a98bb[_0xd0de09(0x2b7)],'url':_0x5a98bb[_0xd0de09(0x1c5)],'force':_0x5a98bb[_0xd0de09(0x238)]},_0x7ca471));})['command'](_0x41f4ad['kJKqE'],![],_0x4af907=>{const _0x1217c0=_0x3c90a8;return _0x4af907['option'](_0x1217c0(0x29b),{'type':_0x1217c0(0x21a),'description':_0x41f4ad['wUWoy']})[_0x1217c0(0x1ab)]('task',{'type':_0x41f4ad['YpLxl'],'description':_0x41f4ad['BSOig']})['option'](_0x41f4ad[_0x1217c0(0x187)],{'type':_0x1217c0(0x15a),'description':_0x41f4ad['lzKpS']})[_0x1217c0(0x1ab)](_0x41f4ad[_0x1217c0(0x23e)],{'type':_0x1217c0(0x21a),'hidden':!![]})[_0x1217c0(0x1ab)](_0x41f4ad[_0x1217c0(0x130)],{'type':_0x41f4ad['YpLxl'],'hidden':!![]})[_0x1217c0(0x1ab)](_0x1217c0(0x23f),{'type':_0x1217c0(0x15a),'hidden':!![]})[_0x1217c0(0x1ab)](_0x1217c0(0x1cb),{'type':'string','description':_0x41f4ad['sqTzR']})[_0x1217c0(0x1ab)]('base-url',{'type':'string','description':_0x1217c0(0x270)})['option'](_0x41f4ad[_0x1217c0(0x1dd)],{'type':_0x41f4ad[_0x1217c0(0x271)],'hidden':!![]})[_0x1217c0(0x1ab)](_0x1217c0(0x1ec),{'type':_0x1217c0(0x24e),'hidden':!![],'default':![]})['option'](_0x1217c0(0x28e),{'type':_0x41f4ad[_0x1217c0(0x271)],'hidden':!![],'choices':[_0x41f4ad['WTKAV'],_0x41f4ad[_0x1217c0(0x212)],'blocked','failed','incomplete']});},async _0x21fbf5=>{const _0x89680d=_0x3c90a8;await _0x41f4ad[_0x89680d(0x184)](runGoCommand,_0x21fbf5,!![]);})[_0x3c90a8(0x164)](_0x41f4ad[_0x3c90a8(0x27f)],![],_0x204d70=>{const _0x1318c4=_0x3c90a8;return _0x204d70[_0x1318c4(0x204)]('env-name',{'type':_0x41f4ad[_0x1318c4(0x271)],'description':_0x41f4ad[_0x1318c4(0x194)],'demandOption':!![]})['option']('ci',{'type':_0x41f4ad[_0x1318c4(0x1fd)],'description':_0x41f4ad[_0x1318c4(0x1eb)],'default':![]})['option'](_0x41f4ad['aKrJn'],{'type':_0x41f4ad[_0x1318c4(0x1fd)],'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]});},async _0x14d6af=>{const _0x3be738=_0x3c90a8;_0x41f4ad['KKmuH'](warnRenamed,'ranger\x20add\x20env',_0x3be738(0x265)),await withTelemetry('add\x20env',_0x570715=>addEnv(_0x14d6af['env-name'],{'ci':_0x14d6af['ci'],'skipAuth':_0x14d6af['skip-auth']},_0x570715));})['command'](_0x3c90a8(0x1ee),![],_0x3a9f52=>{const _0x460563=_0x3c90a8;return _0x3a9f52[_0x460563(0x204)](_0x41f4ad[_0x460563(0x2b2)],{'type':_0x41f4ad[_0x460563(0x271)],'description':_0x41f4ad[_0x460563(0x16d)],'demandOption':!![]});},async _0x3c7047=>{const _0xd136a7=_0x3c90a8;_0x41f4ad['NIqXo'](warnRenamed,_0x41f4ad[_0xd136a7(0x11c)],_0x41f4ad[_0xd136a7(0x120)]),await withTelemetry(_0x41f4ad['woWLE'],()=>useEnv(_0x3c7047[_0xd136a7(0x1a9)]));})[_0x3c90a8(0x164)](_0x41f4ad[_0x3c90a8(0x1e2)],![],_0xc77525=>{const _0x2baaf1=_0x3c90a8,_0x3afe43={'XyePL':_0x41f4ad['YpLxl'],'pWRHu':'Environment\x20name','LkGKR':_0x2baaf1(0x1ce),'HrBrP':function(_0x1733c7,_0x175e62,_0x598a1a){return _0x41f4ad['XWRxV'](_0x1733c7,_0x175e62,_0x598a1a);},'aUujS':'ranger\x20profile\x20config\x20get','OvvIx':function(_0x3ed8f0,_0x3b9c90,_0x336928){return _0x3ed8f0(_0x3b9c90,_0x336928);},'mVttc':_0x41f4ad['atORQ'],'KGbyu':'ranger\x20config\x20unset','DIYYN':_0x41f4ad[_0x2baaf1(0x275)],'wGtSh':_0x41f4ad[_0x2baaf1(0x140)]};return _0xc77525[_0x2baaf1(0x164)](_0x41f4ad[_0x2baaf1(0x14c)],![],_0x5be8d8=>{const _0x3225d9=_0x2baaf1;return _0x5be8d8['positional'](_0x41f4ad['NGbUX'],{'type':_0x3225d9(0x21a),'description':_0x41f4ad['SmRrw'],'demandOption':!![]})[_0x3225d9(0x204)]('key',{'type':_0x3225d9(0x21a),'description':_0x41f4ad[_0x3225d9(0x10c)],'demandOption':!![]})['positional'](_0x41f4ad['pnhKJ'],{'type':_0x41f4ad['YpLxl'],'description':'Config\x20value','demandOption':!![]});},async _0x33b628=>{const _0x120b52=_0x2baaf1;warnRenamed(_0x120b52(0x144),_0x120b52(0x249)),await withTelemetry(_0x120b52(0x206),()=>configSet(_0x33b628['env'],_0x33b628[_0x120b52(0x1f1)],_0x33b628[_0x120b52(0x260)]));})['command'](_0x41f4ad[_0x2baaf1(0x11b)],![],_0x25dc4c=>{const _0xfe5834=_0x2baaf1;return _0x25dc4c[_0xfe5834(0x204)]('env',{'type':_0x3afe43[_0xfe5834(0x2ad)],'description':_0x3afe43['pWRHu'],'demandOption':!![]})[_0xfe5834(0x204)](_0xfe5834(0x1f1),{'type':_0x3afe43[_0xfe5834(0x2ad)],'description':_0x3afe43[_0xfe5834(0x16e)],'demandOption':!![]});},async _0x188d0e=>{const _0x3b0681=_0x2baaf1;_0x3afe43['HrBrP'](warnRenamed,'ranger\x20config\x20get',_0x3afe43['aUujS']),await _0x3afe43['OvvIx'](withTelemetry,_0x3afe43[_0x3b0681(0x1a5)],()=>configGet(_0x188d0e[_0x3b0681(0x29b)],_0x188d0e['key']));})['command'](_0x41f4ad['QyoxO'],![],_0x48d284=>{const _0x19acb2=_0x2baaf1;return _0x48d284['positional'](_0x19acb2(0x29b),{'type':_0x3afe43['XyePL'],'description':_0x19acb2(0x294),'demandOption':!![]});},async _0x4fac3d=>{const _0x14865b=_0x2baaf1;_0x41f4ad['hOkJr'](warnRenamed,_0x41f4ad[_0x14865b(0x1ba)],_0x41f4ad[_0x14865b(0x111)]),await withTelemetry(_0x41f4ad['qhggb'],()=>configList(_0x4fac3d['env']));})['command'](_0x41f4ad['DInTl'],![],_0x4170ce=>{const _0xb6a5ee=_0x2baaf1;return _0x4170ce[_0xb6a5ee(0x204)](_0xb6a5ee(0x29b),{'type':_0x3afe43['XyePL'],'description':_0x3afe43[_0xb6a5ee(0x185)],'demandOption':!![]})['positional']('key',{'type':_0xb6a5ee(0x21a),'description':_0xb6a5ee(0x19e),'demandOption':!![]});},async _0xa8c8b2=>{const _0x44e728=_0x2baaf1;warnRenamed(_0x3afe43['KGbyu'],_0x3afe43[_0x44e728(0x146)]),await withTelemetry(_0x3afe43[_0x44e728(0x13a)],()=>configUnset(_0xa8c8b2[_0x44e728(0x29b)],_0xa8c8b2['key']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20config\x20subcommand');})[_0x3c90a8(0x164)](_0x41f4ad['NGbUX'],![],_0x554bb8=>{const _0x33b554=_0x3c90a8,_0x18349a={'cLGlL':_0x41f4ad['UKnVW'],'Jaruz':function(_0x53162f,_0x252708,_0x372048){const _0x212c2c=_0x1218;return _0x41f4ad[_0x212c2c(0x1c4)](_0x53162f,_0x252708,_0x372048);},'cvpuN':_0x33b554(0x284),'WnsRv':_0x33b554(0x1a9),'NryhR':_0x41f4ad[_0x33b554(0x14a)],'tfuHR':'ranger\x20env\x20update','AlLaT':'ranger\x20profile\x20update','gjRRs':function(_0x3580df,_0x2da937,_0x3da313){return _0x3580df(_0x2da937,_0x3da313);}};return _0x554bb8['command']('ls',![],()=>{},async()=>{warnRenamed(_0x18349a['cLGlL'],'ranger\x20profile\x20ls'),await _0x18349a['Jaruz'](withTelemetry,_0x18349a['cvpuN'],()=>envList());})['command']('update\x20<env-name>',![],_0x5d88ba=>{const _0x388dd5=_0x33b554;return _0x5d88ba['positional'](_0x18349a['WnsRv'],{'type':_0x388dd5(0x21a),'description':_0x18349a['NryhR'],'demandOption':!![]});},async _0x287705=>{const _0x18fc16=_0x33b554;warnRenamed(_0x18349a['tfuHR'],_0x18349a['AlLaT']),await _0x18349a[_0x18fc16(0x2b9)](withTelemetry,'env\x20update',_0x144e3e=>updateEnv(_0x287705[_0x18fc16(0x1a9)],_0x144e3e));})[_0x33b554(0x149)](0x1,_0x41f4ad[_0x33b554(0x121)]);})[_0x3c90a8(0x164)](_0x41f4ad['JBlaH'],![],_0x327a59=>{const _0x3ada2b=_0x3c90a8,_0x5cad8c={'ACHPi':function(_0x15427b,_0x4cc3ce,_0xab3509){return _0x41f4ad['dQuCK'](_0x15427b,_0x4cc3ce,_0xab3509);},'KQtqy':_0x41f4ad['xAYUS'],'ANHdO':_0x41f4ad[_0x3ada2b(0x1b1)],'pRBkd':_0x41f4ad['JSRID'],'SOwDf':function(_0x2a98c6,_0xec3f15,_0x5725ab){return _0x2a98c6(_0xec3f15,_0x5725ab);},'Ldpin':_0x41f4ad['dCLDi'],'klcHW':'ranger\x20list','uapUj':_0x41f4ad[_0x3ada2b(0x271)],'GYLdE':_0x41f4ad['YGnNp'],'kjNqo':_0x41f4ad['HElhi'],'SJiVY':_0x3ada2b(0x2bb),'eVLJz':_0x41f4ad[_0x3ada2b(0x1d0)],'nNbSn':_0x41f4ad[_0x3ada2b(0x15c)],'jDomH':_0x41f4ad[_0x3ada2b(0x245)],'LZecS':function(_0x24d4e7,_0x372cbc,_0x222d35){const _0x194ddc=_0x3ada2b;return _0x41f4ad[_0x194ddc(0x1b8)](_0x24d4e7,_0x372cbc,_0x222d35);},'wBZmC':_0x41f4ad[_0x3ada2b(0x20b)],'eILzj':_0x3ada2b(0x27b),'TltMN':_0x41f4ad['TOnWP'],'gQWPD':_0x41f4ad['gZfdT']};return _0x327a59[_0x3ada2b(0x164)]('create\x20<name>',![],_0x151c56=>{const _0x15ad7c=_0x3ada2b;return _0x151c56['positional'](_0x41f4ad[_0x15ad7c(0x203)],{'type':_0x41f4ad['YpLxl'],'description':_0x41f4ad['pVthZ'],'demandOption':!![]})[_0x15ad7c(0x1ab)](_0x15ad7c(0xfe),{'type':_0x41f4ad[_0x15ad7c(0x271)],'alias':'d','description':_0x15ad7c(0x281)})[_0x15ad7c(0x1ab)](_0x15ad7c(0x20e),{'type':_0x41f4ad[_0x15ad7c(0x13f)],'alias':'c','description':_0x15ad7c(0x27d)})[_0x15ad7c(0x1ab)]('scenario',{'type':_0x41f4ad[_0x15ad7c(0x13f)],'hidden':!![]});},async _0x202606=>{const _0x3e465f=_0x3ada2b;_0x5cad8c['ACHPi'](warnRenamed,_0x5cad8c[_0x3e465f(0x2b6)],_0x5cad8c[_0x3e465f(0x28a)]),warnFlagRenamed(_0x5cad8c[_0x3e465f(0x28a)],_0x5cad8c['pRBkd'],'--scenario');const _0x290194=_0x202606[_0x3e465f(0x23f)]||_0x202606['checklist'];await withTelemetry('feature\x20create',()=>featureCreate(_0x202606[_0x3e465f(0x19b)],{'description':_0x202606[_0x3e465f(0xfe)],'scenarios':_0x290194}));})['command'](_0x41f4ad[_0x3ada2b(0x11f)],![],_0x103109=>{const _0x23902b=_0x3ada2b;return _0x103109['option'](_0x41f4ad['YaAwf'],{'type':_0x23902b(0x24e),'description':_0x41f4ad['PbSgf']})[_0x23902b(0x1ab)](_0x23902b(0x13b),{'type':_0x23902b(0x15a),'alias':'l','description':_0x23902b(0x137),'default':0xa})['option'](_0x23902b(0x12c),{'type':_0x23902b(0x15a),'alias':'o','description':_0x23902b(0x157),'default':0x0})[_0x23902b(0x1ab)](_0x23902b(0x129),{'type':_0x23902b(0x24e),'alias':'d','description':_0x41f4ad[_0x23902b(0x25f)],'default':![]});},async _0xb0fdbe=>{const _0x177002=_0x3ada2b;_0x5cad8c['SOwDf'](warnRenamed,_0x5cad8c[_0x177002(0x11a)],_0x5cad8c[_0x177002(0x232)]),await withTelemetry(_0x177002(0x193),()=>featureList({'currentBranch':_0xb0fdbe[_0x177002(0x1f3)],'limit':_0xb0fdbe['limit'],'offset':_0xb0fdbe['offset'],'includeDeleted':_0xb0fdbe[_0x177002(0x129)]}));})['command']('show\x20[id]',![],_0x4e8498=>{const _0x20893d=_0x3ada2b;return _0x4e8498[_0x20893d(0x204)]('id',{'type':_0x5cad8c[_0x20893d(0x2ba)],'description':'Feature\x20review\x20ID'});},async _0x1f481b=>{const _0xdf1b8e=_0x3ada2b;warnRenamed(_0x41f4ad[_0xdf1b8e(0x2a1)],'ranger\x20show'),await _0x41f4ad[_0xdf1b8e(0x274)](withTelemetry,_0x41f4ad[_0xdf1b8e(0x103)],()=>featureShow(_0x1f481b['id']));})['command'](_0x41f4ad[_0x3ada2b(0x21d)],![],_0x1855e4=>{const _0x4a371d=_0x3ada2b;return _0x1855e4[_0x4a371d(0x204)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x21dcea=>{_0x41f4ad['BiXhh'](warnRenamed,'ranger\x20feature\x20resume',_0x41f4ad['JMTnz']),await withTelemetry('feature\x20resume',()=>featureResume(_0x21dcea['id']));})['command'](_0x41f4ad['WUViJ'],![],_0x347088=>{const _0x8c7216=_0x3ada2b;return _0x347088[_0x8c7216(0x204)](_0x5cad8c['GYLdE'],{'type':_0x8c7216(0x21a),'description':_0x5cad8c['kjNqo'],'demandOption':!![]})[_0x8c7216(0x1ab)]('id',{'type':_0x5cad8c[_0x8c7216(0x2ba)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x3604d6=>{const _0x88ece3=_0x3ada2b;warnRenamed(_0x88ece3(0x26c),_0x88ece3(0x2a4)),await _0x5cad8c['ACHPi'](withTelemetry,_0x5cad8c['SJiVY'],()=>featureAddScenario(_0x3604d6[_0x88ece3(0xfe)],_0x3604d6['id']));})['command']('get-feedback\x20[id]',![],_0x54521d=>{const _0x521bee=_0x3ada2b;return _0x54521d['positional']('id',{'type':_0x5cad8c[_0x521bee(0x2ba)],'description':_0x5cad8c['eVLJz']});},async _0x1b85fd=>{const _0x38553a=_0x3ada2b;_0x5cad8c['ACHPi'](warnRenamed,_0x5cad8c['nNbSn'],_0x5cad8c['jDomH']),await _0x5cad8c['LZecS'](withTelemetry,_0x38553a(0x1cc),()=>featureGetReview(_0x1b85fd['id']));})[_0x3ada2b(0x164)](_0x41f4ad['uTLDL'],![],_0x2effc4=>{const _0x5ab89e=_0x3ada2b;return _0x2effc4['positional']('id',{'type':'string','description':_0x41f4ad[_0x5ab89e(0x1da)]});},async _0x331b9f=>{const _0x3c6303=_0x3ada2b;warnRenamed(_0x3c6303(0x1c7),_0x3c6303(0x20f)),await withTelemetry(_0x5cad8c[_0x3c6303(0x135)],()=>featureDelete(_0x331b9f['id']));})[_0x3ada2b(0x164)](_0x41f4ad[_0x3ada2b(0x124)],![],_0x4bcc69=>{return _0x4bcc69['positional']('id',{'type':_0x5cad8c['uapUj'],'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x15fdc2=>{const _0xc00af7=_0x3ada2b;warnRenamed(_0x5cad8c[_0xc00af7(0x209)],_0x5cad8c['TltMN']),await withTelemetry(_0x5cad8c['gQWPD'],()=>featureRestore(_0x15fdc2['id']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})[_0x3c90a8(0x164)]('hook',![],_0x53d1ff=>{const _0x2f4203=_0x3c90a8,_0x2c1469={'dfhUs':function(_0x2e7503,_0x9d4cf4,_0x133dc4){return _0x2e7503(_0x9d4cf4,_0x133dc4);},'hKbnQ':_0x2f4203(0x173)};return _0x53d1ff[_0x2f4203(0x164)]('enable',_0x41f4ad[_0x2f4203(0x2ac)],_0x2cc2b8=>{const _0x549c5=_0x2f4203;return _0x2cc2b8[_0x549c5(0x1ab)](_0x549c5(0x139),{'type':_0x549c5(0x21a),'description':_0x41f4ad[_0x549c5(0x22b)]});},async _0x15172c=>{const _0x31bb1a=_0x2f4203;await _0x2c1469['dfhUs'](withTelemetry,_0x2c1469['hKbnQ'],()=>hook('enable',_0x15172c[_0x31bb1a(0x139)]));})['command'](_0x2f4203(0x211),_0x41f4ad[_0x2f4203(0x1d5)],_0x28162f=>{const _0x4f79d3=_0x2f4203;return _0x28162f['option'](_0x41f4ad[_0x4f79d3(0x253)],{'type':_0x4f79d3(0x21a),'description':_0x41f4ad[_0x4f79d3(0x22b)]});},async _0x68386d=>{const _0x275a42=_0x2f4203;await withTelemetry(_0x41f4ad['vWlyl'],()=>hook('disable',_0x68386d[_0x275a42(0x139)]));})['option']('name',{'type':_0x41f4ad['YpLxl'],'description':_0x2f4203(0x213)})[_0x2f4203(0x1ab)](_0x41f4ad[_0x2f4203(0x253)],{'type':_0x41f4ad['YpLxl'],'description':_0x41f4ad[_0x2f4203(0x22b)]});},async _0x5b68c9=>{_0x5b68c9['name']&&await hook(_0x5b68c9['name'],_0x5b68c9[_0x41f4ad['zRlEF']]);})['demandCommand'](0x1,_0x41f4ad['tpxSB'])['strictCommands']()['fail'](async(_0x4398af,_0x11cef8,_0x2627d9)=>{const _0x2392cb=_0x3c90a8,_0x5b3fce=sanitizeArgs(process[_0x2392cb(0x1f9)][_0x2392cb(0x2a2)](0x2)),_0x3b660d=getErrorType(_0x4398af,_0x11cef8);if(_0x4398af&&_0x4398af[_0x2392cb(0x10d)](_0x2392cb(0x108))){const _0x3a5e0a=process[_0x2392cb(0x1f9)][0x2];console[_0x2392cb(0x18f)](_0x2392cb(0x22a)+_0x3a5e0a),console[_0x2392cb(0x18f)](_0x2392cb(0x18c));}else{if(_0x4398af)console['error']('\x0a'+_0x4398af+'\x0a');else _0x11cef8&&console['error']('\x0aError:\x20'+_0x11cef8[_0x2392cb(0x231)]+'\x0a');}await logDesirePath({'rawCommand':_0x5b3fce,'errorMessage':_0x4398af||_0x11cef8?.['message'],'errorType':_0x3b660d});const _0x24fd44=getCurrentCollector();_0x24fd44&&await _0x24fd44['trackCommandError'](_0x11cef8||new Error(_0x41f4ad[_0x2392cb(0x138)](_0x4398af,_0x2392cb(0x266)))),process['exit'](0x1);})[_0x3c90a8(0x205)](_0x41f4ad[_0x3c90a8(0x106)]('Documentation:\x0a'+_0x41f4ad[_0x3c90a8(0x21c)],_0x41f4ad['RKXzz']))['help']()[_0x3c90a8(0x1ad)](_0x41f4ad[_0x3c90a8(0x217)],'h');}process[_0x3dfc62(0x29b)]['NODE_ENV']!==_0x3dfc62(0x27a)&&buildParser()[_0x3dfc62(0x1c6)]();
2
+ const _0x1d089a=_0x1b12;(function(_0x7fde95,_0x326fec){const _0x482b36=_0x1b12,_0x55c6bb=_0x7fde95();while(!![]){try{const _0x7f822=parseInt(_0x482b36(0x2c0))/0x1*(parseInt(_0x482b36(0x323))/0x2)+parseInt(_0x482b36(0x2de))/0x3+parseInt(_0x482b36(0x302))/0x4+-parseInt(_0x482b36(0x328))/0x5*(-parseInt(_0x482b36(0x30f))/0x6)+parseInt(_0x482b36(0x2f7))/0x7+-parseInt(_0x482b36(0x28e))/0x8+parseInt(_0x482b36(0x2f2))/0x9*(-parseInt(_0x482b36(0x1d7))/0xa);if(_0x7f822===_0x326fec)break;else _0x55c6bb['push'](_0x55c6bb['shift']());}catch(_0x2a7312){_0x55c6bb['push'](_0x55c6bb['shift']());}}}(_0x37ee,0x818a1));import _0x1634a3 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0xd95e12=_0x1b12,_0xee5231={'PhYCQ':'.env','vXDzY':function(_0x1131fc,_0x364a14){return _0x1131fc(_0x364a14);}};let _0x1078c5=process[_0xd95e12(0x1ef)]();const _0x3950a8=parse(_0x1078c5)['root'];while(_0x1078c5!==_0x3950a8){if(existsSync(join(_0x1078c5,_0xd95e12(0x206)))||existsSync(join(_0x1078c5,_0xee5231['PhYCQ'])))return _0x1078c5;_0x1078c5=_0xee5231['vXDzY'](dirname,_0x1078c5);}return process[_0xd95e12(0x1ef)]();}function _0x37ee(){const _0x21b781=['evaluation','ranger\x20feature\x20restore','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','add-checklist-item\x20<description>','avihn','sirBY','EJefQ','env\x20list','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','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','project','force','DUFOj','usage','hFbkg','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.','get-review\x20[id]','oDGQW','iLPcv','lCKFm','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','ehJza','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','ZdaGW','setup-ci\x20<token>','WTHoW','feature\x20show','CpfBp','OXtav','rwzjP','UcuZk','New\x20scenario\x20description','ranger\x20feature\x20list','resume','sMJso','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','value','argv','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','atAKC','MuQBL','number','YczMA','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','RHAkV','env','Add\x20profile\x20configuration','ennGZ','evaluationReason','You\x20must\x20specify\x20a\x20config\x20subcommand','tHOgg','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','PRaji','notes','KnKkR','Install\x20Ranger\x20skills','profile\x20config\x20set','feature\x20restore','ranger\x20profile\x20config\x20unset','test','setup:skills','jcggf','offset','add\x20env','4806304hgUSni','key','startsWith','dTLVD','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','feature\x20list','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','Skip\x20Chromium\x20browser\x20installation','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','ranger\x20restore','json','ranger\x20feature\x20delete','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','qLMvq','Config\x20key\x20to\x20remove','SzJqh','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','ntKDj','pjdCO','ranger\x20create','uXKFc','Install\x20scope\x20for\x20skills','demandCommand','setup-header','Install\x20Chromium\x20browser\x20binary','\x20\x20https://docs.ranger.net\x0a','option','command','NODE_ENV','Restore\x20a\x20soft-deleted\x20feature\x20review','forEach','profile\x20update','incomplete','PwIIQ','FhoGU','ranger\x20feature\x20create','Login\x20failed:\x20','Install\x20scope\x20for\x20plugin\x20and\x20skills','profile\x20login','exclude-scenario','MkThN','yes','API\x20token','\x20is\x20now\x20','Feature\x20review\x20description','skip-auth','show\x20[id]','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','slice','Ranger\x20API\x20token\x20(rngr_...)','8475bMcXPF','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','QRyef','scriptName','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','NWuHX','url','CSsLp','current-branch','jmSSf','Klqie','cCaNR','get-feedback\x20[id]','.\x20[','create','CaSCc','DXAYX','You\x20must\x20specify\x20an\x20auth\x20subcommand','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','blocked','gkdEI','feature','base-url','UiIGP','.env','AwppE','UoLHb','ranger','Scenario\x20index\x20(1-based)','yNpTr','2773347rILfQc','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','Ivwww','VnCHp','Config\x20key','maPZn','Scenario\x20number\x20to\x20edit\x20(1-based)','model','AqkkV','Example:\x20ranger\x20create\x20my-feature','token','fjrhe','hiTar','limit','xwjYy','session-id','Include\x20soft-deleted\x20feature\x20reviews','profile-name','Unknown\x20command','qbMmE','9rGDYsb','SuXDg','--checklist','xywiu','AANcv','4668783kUSclJ','RupTQ','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','--env','hook:enable','RANGER_PROFILE','HwOYO','dXpMc','unset\x20<env>\x20<key>','Feature\x20review\x20ID','zeLnk','3507084JxddeQ','ranger\x20feature\x20add-checklist-item','hLIXF','aGEKq','YZgkh','ktRVU','RpcNw','profile\x20ls','Set\x20up\x20a\x20local\x20browser\x20profile','status','feature\x20add-checklist-item','FxDws','start-path','207702oBBJpB','BOTzj','alias','HnWBu','error','Profile\x20name','DHvGF','YxbNv','checklist','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','yizbw','YLqVg','Summary:\x20','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','rfTVo','OwZrd','LnkSV','string','ranger\x20config\x20list','DQixb','10VAyAQg','array','ranger\x20list','Environment\x20name','kbCnB','60VfWUmu','tokenOrSubcommand','FuAcl','eAsQK','List\x20all\x20profiles','scope','Lnevm','with-deps','MPwoB','YoLne','trackCommandError','summary','opencode','USHYY','Alias\x20for\x20--mcp-bootstrap','nZMwx','RbDsS','jDmNn','jRIRm','NwatB','NgZBT','feature\x20get-feedback','\x20BLOCKED','Set\x20a\x20config\x20value','fbpjH','all','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','hook','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','ranger\x20config\x20get','create\x20<name>','wBypp','Config\x20value','VbrtR','severity','MUCHc','AyXCh','dkWFU','wTxIq','print-access-token','ranger\x20add-scenario','JuGAx','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','fHzTQ','Scenario\x20description','ranger\x20env\x20update','TRokU','get\x20<profile>\x20<key>','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','hGxaP','OAzZd','vnzmT','cBQsV','Manage\x20profile\x20configuration','mKyPa','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile\x20(cloud\x20profiles\x20only)','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','Skip\x20interactive\x20confirmation\x20prompts.','cgSsf','strictCommands','include-deleted','ranger\x20profile\x20use','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','WpqrJ','HRIIo','PVHnw','cdp-endpoint','WufJT','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','ImZov','hiNpT','FDlCZ','yOxtb','cbBey','BPUmd','tAaWr','ranger\x20use','profile','help','feature\x20create','ZhvbM','BNZIT','Cfmec','Install\x20skills\x20for\x20OpenCode','includes','start','mjYBC','sVvZh','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','KHuGs','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','ranger\x20profile\x20config\x20get','UrmuI','JZnnH','debug-address-comments','Install\x20OS-level\x20dependencies\x20for\x20Chromium','\x0aIssues:','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','lfvDJ','FZGku','scenario','IGuOq','clean','snRRz','ZZxXF','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','report','17945870WQGNut','task','disable','name','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','MjUfZ','Vsdxd','debug-outcome','add-scenario\x20<description>','login','mcp','jPqeC','EXEgX','resume\x20[id]','ranger\x20profile\x20update','UaEhL','Feature\x20review\x20name','sHwtB','CRiPz','pfwIl','TrrOR','Ranger\x20API\x20token','yzezM','jEqiK','cwd','GZMpC','partial','FaPCu','ranger\x20go','save-creds','axTVl','verified','HUmms','Ragnx','wvJen','pHxbx','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','lzync','user','log','--task','Feature\x20review\x20ID\x20to\x20restore','CLfDC','boolean','some','JpFKe','Run\x20full\x20interactive\x20setup','.ranger','ANbOI','ranger\x20get-review','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','profile\x20config\x20get','ranger\x20start','CBoNT','exit','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','ranger\x20config\x20unset','bTfXd','Mrxou','yRCez','IaZPx','Reason:\x20','issues','enable','lfTOd','Name\x20of\x20the\x20profile\x20to\x20update','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','epilogue','env-name','update\x20<profile-name>','mcp-bootstrap','bmEny','ovJsR','JEZFc','skip-chromium','description','tDSAA','ranger\x20feature\x20get-feedback','✓\x20Authenticated\x20to\x20','skills','OQloE','set\x20<profile>\x20<key>\x20<value>','lnyVo','ioPLT','encrypt\x20<profile>','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','positional','length','RpuvX','list','allow-insecure-localhost','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','safe-mode','ImcKQ','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','GXasX','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','ADTgx','headed','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','Subcommand\x20or\x20API\x20token\x20(rngr_...)','delete\x20[id]','Wybzq','FlDZs','setup\x20[tokenOrSubcommand]','akjXu','login\x20<name>','failed','sHOPX','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','rMokr','ranger\x20auth\x20encrypt','Authenticate\x20via\x20MCP\x20proxy','EXsYL','delete','--scenario','QjAUi','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'];_0x37ee=function(){return _0x21b781;};return _0x37ee();}_0x1634a3['config']({'path':join(findProjectRoot(),_0x1d089a(0x2d8))});import _0x55b901 from'yargs/yargs';function _0x1b12(_0x58e95d,_0x26e6c4){_0x58e95d=_0x58e95d-0x173;const _0x37ee23=_0x37ee();let _0x1b1278=_0x37ee23[_0x58e95d];return _0x1b1278;}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{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x155eaf=>{const _0x196395=getCurrentCollector();_0x196395&&await _0x196395['trackCommandError'](_0x155eaf),process['exitCode']=0x1;});const rawArgs=process['argv']['slice'](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=_0x1d089a(0x256),PROFILE_CONFIG_HELP=_0x1d089a(0x257);function warnRenamed(_0x3e2b62,_0x441550){const _0x1cfa9a=_0x1d089a;console[_0x1cfa9a(0x313)]('\x0a'+_0x3e2b62+_0x1cfa9a(0x2b9)+_0x441550+'\x0a');}function argUsed(_0x3f9f6b){const _0x6b61ff=_0x1d089a;return rawArgs[_0x6b61ff(0x203)](_0x2b45b5=>_0x2b45b5===_0x3f9f6b||_0x2b45b5[_0x6b61ff(0x290)](_0x3f9f6b+'='));}function warnFlagRenamed(_0x4e42d0,_0x12613d,_0x4c1a8d){const _0xe622da=_0x1d089a,_0xff6281={'ntKDj':function(_0x291322,_0x2c544a,_0x52b1a6){return _0x291322(_0x2c544a,_0x52b1a6);}};argUsed(_0x12613d)&&_0xff6281[_0xe622da(0x29f)](warnRenamed,_0x4e42d0+'\x20'+_0x12613d,_0x4e42d0+'\x20'+_0x4c1a8d);}async function runGoCommand(_0x5e45f1,_0x4fcfb1=![]){const _0x54cdf8=_0x1d089a,_0x1eb477={'ZZxXF':function(_0x4578e4,_0x4ec0c4,_0x19efc0){return _0x4578e4(_0x4ec0c4,_0x19efc0);},'oDGQW':'ranger\x20verify-feature','OwZrd':_0x54cdf8(0x2fa),'RpcNw':_0x54cdf8(0x1f3),'VVivp':'--notes','sirBY':function(_0x63402e,_0x34df49,_0x494a5c,_0x1670af){return _0x63402e(_0x34df49,_0x494a5c,_0x1670af);},'ZziOc':'--item','BCceN':_0x54cdf8(0x24b),'rMokr':'debug-address-comments','rfTVo':'\x20VERIFIED','frjmo':function(_0x53c204,_0x3e5d82){return _0x53c204===_0x3e5d82;},'FAxHy':'incomplete','xvvwZ':'\x20INCOMPLETE','wgaCs':function(_0x5b55be,_0x15dcce){return _0x5b55be===_0x15dcce;},'sHOPX':_0x54cdf8(0x2d3),'hNqTn':_0x54cdf8(0x181),'ZdaGW':'\x20FAILED','FlDZs':_0x54cdf8(0x1cc),'MqcCL':function(_0x33a595,_0x1e14b0){return _0x33a595===_0x1e14b0;}};_0x4fcfb1&&_0x1eb477[_0x54cdf8(0x1d4)](warnRenamed,_0x1eb477[_0x54cdf8(0x25f)],'ranger\x20go');warnFlagRenamed('ranger\x20go',_0x1eb477[_0x54cdf8(0x31e)],'--profile'),warnFlagRenamed(_0x1eb477[_0x54cdf8(0x308)],_0x54cdf8(0x1ff),_0x1eb477['VVivp']),_0x1eb477[_0x54cdf8(0x253)](warnFlagRenamed,_0x1eb477['RpcNw'],_0x1eb477['ZziOc'],_0x1eb477['BCceN']);const _0x1a032e=await loadRangerConfig(),_0x40aa86=isByokEnabled(),_0x42b2cf=_0x5e45f1[_0x54cdf8(0x2e5)],_0x2b7699=_0x1a032e[_0x54cdf8(0x2e5)],_0x435d53=await verifyFeature({'featureId':_0x5e45f1['feature'],'profile':_0x5e45f1[_0x54cdf8(0x1b9)]??_0x5e45f1['env']??process['env'][_0x54cdf8(0x2fc)],'notes':_0x5e45f1[_0x54cdf8(0x283)]??_0x5e45f1['task'],'scenario':_0x5e45f1[_0x54cdf8(0x1d0)]??_0x5e45f1['item'],'startPath':_0x5e45f1[_0x54cdf8(0x30e)],'baseUrl':_0x5e45f1['base-url'],'debugOutcome':_0x5e45f1[_0x54cdf8(0x1de)],'debugAddressComments':_0x5e45f1[_0x1eb477[_0x54cdf8(0x246)]],'headed':_0x5e45f1['headed'],'byokEnabled':_0x40aa86,'flagVerifyModel':_0x42b2cf,'configVerifyModel':_0x2b7699});console[_0x54cdf8(0x1fe)]('\x0a'+'='['repeat'](0x3c)),console[_0x54cdf8(0x1fe)](_0x435d53['evaluation']==='verified'?_0x1eb477[_0x54cdf8(0x31d)]:_0x1eb477['frjmo'](_0x435d53['evaluation'],_0x1eb477['FAxHy'])?_0x1eb477['xvvwZ']:_0x1eb477['wgaCs'](_0x435d53['evaluation'],_0x54cdf8(0x1f1))?'\x20PARTIAL':_0x1eb477['frjmo'](_0x435d53[_0x54cdf8(0x24e)],_0x1eb477[_0x54cdf8(0x244)])?_0x1eb477['hNqTn']:_0x1eb477[_0x54cdf8(0x265)]),console['log']('='['repeat'](0x3c)),console['log'](_0x54cdf8(0x31b)+_0x435d53[_0x54cdf8(0x176)]),console[_0x54cdf8(0x1fe)]('Evaluation:\x20'+_0x435d53['evaluation']),console[_0x54cdf8(0x1fe)](_0x54cdf8(0x214)+_0x435d53[_0x54cdf8(0x27e)]),_0x435d53[_0x54cdf8(0x215)]?.[_0x54cdf8(0x22f)]&&(console['log'](_0x1eb477[_0x54cdf8(0x23f)]),_0x435d53[_0x54cdf8(0x215)][_0x54cdf8(0x2ac)]((_0x2fc813,_0x4c2d52)=>{const _0xf7fba2=_0x54cdf8;console[_0xf7fba2(0x1fe)]('\x0a'+(_0x4c2d52+0x1)+_0xf7fba2(0x2cd)+_0x2fc813[_0xf7fba2(0x18d)]+']\x20'+_0x2fc813[_0xf7fba2(0x223)]);})),process['exit'](_0x1eb477['MqcCL'](_0x435d53['evaluation'],_0x54cdf8(0x1f6))?0x0:0x1);}export function buildParser(_0x18fa0e){const _0x36b798=_0x1d089a,_0x5e219f={'YczMA':_0x36b798(0x320),'MkThN':'scenario','ImZov':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','phFBu':'checklist','ovJsR':'array','Wybzq':function(_0x3f8043,_0x4eede6){return _0x3f8043+_0x4eede6;},'eFuBe':_0x36b798(0x296),'akjXu':_0x36b798(0x2e7),'YoLne':function(_0x1e229e,_0x436a95,_0x29c1f2,_0x5086ee){return _0x1e229e(_0x436a95,_0x29c1f2,_0x5086ee);},'pHxbx':_0x36b798(0x2a1),'MPwoB':_0x36b798(0x24b),'CRiPz':_0x36b798(0x2ce),'djbwe':_0x36b798(0x2c8),'OAzZd':'boolean','BOTzj':_0x36b798(0x264),'lnyVo':'number','rwzjP':_0x36b798(0x1a7),'vnzmT':'Include\x20soft-deleted\x20feature\x20reviews','Klqie':function(_0x50cd87,_0x3df3ff,_0x1248f6){return _0x50cd87(_0x3df3ff,_0x1248f6);},'FhoGU':'show','uaqPM':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','lfvDJ':_0x36b798(0x26f),'DQixb':_0x36b798(0x223),'WufJT':'Scenario\x20description','CBoNT':'add-scenario','cgSsf':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','fHzTQ':function(_0x5bb7e8,_0x239b2b,_0x40f303){return _0x5bb7e8(_0x239b2b,_0x40f303);},'NduYk':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','Usioi':_0x36b798(0x298),'vfWeN':_0x36b798(0x1c6),'snRRz':_0x36b798(0x1d6),'qbMmE':function(_0x4cccb8,_0x3aca1f,_0x375d99){return _0x4cccb8(_0x3aca1f,_0x375d99);},'IbUHR':_0x36b798(0x300),'jIBoI':_0x36b798(0x200),'UrmuI':_0x36b798(0x21e),'jQQuD':'setup:all','AqkkV':'with-deps','lURIq':_0x36b798(0x2db),'Ragnx':function(_0x1731e2,_0x5d05c3){return _0x1731e2(_0x5d05c3);},'WnWpO':_0x36b798(0x28a),'sMJso':'scope','tDSAA':_0x36b798(0x2c6),'IaZPx':'Base\x20URL\x20of\x20the\x20running\x20app','OBYOz':'Skip\x20browser\x20authentication','FxDws':_0x36b798(0x232),'jDmNn':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','cbBey':'Ranger\x20API\x20token','MuQBL':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','USHYY':'skip-auth','VbrtR':'Skip\x20authentication','AANcv':_0x36b798(0x259),'jEqiK':_0x36b798(0x177),'pneOd':_0x36b798(0x1e1),'YxbNv':function(_0x1b3863){return _0x1b3863();},'RIjzk':_0x36b798(0x245),'NwatB':_0x36b798(0x2b3),'jVZdR':_0x36b798(0x205),'FuAcl':'deps','wAVMI':_0x36b798(0x2a6),'SAWAe':_0x36b798(0x1e0),'czskV':'Authenticate\x20with\x20Ranger','ZhvbM':_0x36b798(0x2c4),'SnKSv':_0x36b798(0x30a),'GXasX':_0x36b798(0x222),'afsDg':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','vNyjP':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','nZMwx':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','LnkSV':_0x36b798(0x2e8),'HwOYO':_0x36b798(0x2b8),'FaPCu':'profile','rqCQn':_0x36b798(0x295),'PvlwU':'setup-ci','HRIIo':'user','aMqFW':_0x36b798(0x2a3),'cBQsV':function(_0xeaa1b5,_0x34bc96){return _0xeaa1b5(_0x34bc96);},'yRCez':'skillup','LJkgi':function(_0x3e09da,_0x1bc61d,_0x17a02c){return _0x3e09da(_0x1bc61d,_0x17a02c);},'JZnnH':_0x36b798(0x2ef),'OVByw':_0x36b798(0x218),'bBwUj':'name','oykyR':_0x36b798(0x1f4),'SguyJ':_0x36b798(0x1c4),'EXEgX':_0x36b798(0x195),'lZpJD':_0x36b798(0x262),'HkvCo':'safe-mode','SzJqh':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','SkvDu':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','IJeTe':'profile\x20add','eAsQK':'Name\x20of\x20the\x20profile','PeONE':'profile\x20encrypt-auth','qtRcW':_0x36b798(0x2ad),'jgWTK':_0x36b798(0x2b4),'bTfXd':function(_0x242b82,_0x32ef7f,_0x1f24c3){return _0x242b82(_0x32ef7f,_0x1f24c3);},'cvJyL':_0x36b798(0x18b),'rzdga':_0x36b798(0x229),'MUCHc':'reset\x20<profile>','lwYmr':'add\x20<profile-name>','CaQYw':'use\x20<profile-name>','yizbw':'Switch\x20to\x20using\x20a\x20specific\x20profile','cxOHu':'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','oURXk':_0x36b798(0x32c),'HgCRI':'Update\x20authentication\x20for\x20an\x20existing\x20profile','huTFA':'config','EXsYL':_0x36b798(0x1a0),'CaSCc':'You\x20must\x20specify\x20a\x20profile\x20subcommand','iLPcv':_0x36b798(0x30b),'foPcF':function(_0x1d0e89,_0xb31e60,_0x5b3ef8){return _0x1d0e89(_0xb31e60,_0x5b3ef8);},'BPUmd':function(_0x4528f6){return _0x4528f6();},'wvJen':function(_0x4439b4,_0x3a0c00,_0x5b29c9){return _0x4439b4(_0x3a0c00,_0x5b29c9);},'SjvSx':'feature','HnWBu':'Optional\x20feature\x20ID','XfCtP':_0x36b798(0x30e),'FZGku':_0x36b798(0x279),'ADTgx':'base-url','DXAYX':_0x36b798(0x25d),'XPHXC':_0x36b798(0x23a),'yzezM':_0x36b798(0x2c1),'Cfmec':_0x36b798(0x2d3),'TdiJi':_0x36b798(0x2ae),'BNZIT':_0x36b798(0x1ca),'xywiu':_0x36b798(0x27b),'WpqrJ':'item','xMtaN':_0x36b798(0x247),'Pezgm':_0x36b798(0x314),'HUmms':_0x36b798(0x22c),'zwkIj':_0x36b798(0x2d1),'RupTQ':_0x36b798(0x294),'LFFos':_0x36b798(0x1c1),'ennGZ':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','xwjYy':_0x36b798(0x2dc),'eWCBP':'model','atAKC':_0x36b798(0x1de),'STZvW':function(_0x3b5c50,_0x4a16d6,_0x41e251){return _0x3b5c50(_0x4a16d6,_0x41e251);},'gkdEI':_0x36b798(0x21c),'UoLHb':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','BKzeC':'ranger\x20profile\x20add','QRyef':_0x36b798(0x28d),'hiTar':_0x36b798(0x2e2),'RpuvX':_0x36b798(0x188),'UcuZk':'config\x20get','aGEKq':'Environment\x20name','SXsqk':_0x36b798(0x321),'QjAUi':_0x36b798(0x28f),'KHuGs':_0x36b798(0x29c),'jmSSf':'ranger\x20config\x20set','ovkKi':'list\x20<env>','VDAjr':_0x36b798(0x27f),'EHzRX':'ranger\x20env\x20ls','YCMBS':function(_0x45a388,_0x4648be,_0xd76dac){return _0x45a388(_0x4648be,_0xd76dac);},'hiNpT':function(_0x4e7888,_0x1e79aa,_0x5bdfbd){return _0x4e7888(_0x1e79aa,_0x5bdfbd);},'whAwc':'update\x20<env-name>','iLYCs':'You\x20must\x20specify\x20an\x20env\x20subcommand','kVyLC':function(_0x25ece1,_0x67b155,_0x1e30f6){return _0x25ece1(_0x67b155,_0x1e30f6);},'tHOgg':_0x36b798(0x2b1),'hGxaP':function(_0x1799a7,_0x3dcb55,_0x4b8584,_0x110a64){return _0x1799a7(_0x3dcb55,_0x4b8584,_0x110a64);},'VhixL':_0x36b798(0x1bb),'dkWFU':function(_0x4cb4a0,_0x5d4aad,_0x31383d){return _0x4cb4a0(_0x5d4aad,_0x31383d);},'WTHoW':_0x36b798(0x26e),'jxUAS':_0x36b798(0x325),'NWuHX':function(_0x9c0559,_0x21839f,_0x319b7b){return _0x9c0559(_0x21839f,_0x319b7b);},'zdsgZ':'ranger\x20feature\x20show','zeLnk':function(_0x3cce88,_0x554625,_0x382dae){return _0x3cce88(_0x554625,_0x382dae);},'bHVUL':_0x36b798(0x268),'PcfQr':_0x36b798(0x180),'dwYJI':'ranger\x20resume','fWRHI':function(_0x2dc7a9,_0x44fa03,_0x3f65aa){return _0x2dc7a9(_0x44fa03,_0x3f65aa);},'FxZru':'ranger\x20delete','uXKFc':_0x36b798(0x189),'kYvNo':_0x36b798(0x231),'oUWvn':_0x36b798(0x1e4),'XJqbb':_0x36b798(0x2cc),'TWZqO':_0x36b798(0x2fb),'CLfDC':function(_0x17d69e,_0x35cd0f,_0x427140){return _0x17d69e(_0x35cd0f,_0x427140);},'rCXxL':'hook:disable','IWJnd':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','fbpjH':_0x36b798(0x1d9),'tAaWr':_0x36b798(0x292),'LrDKm':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','OpgjA':_0x36b798(0x2ed),'JpFKe':function(_0x459d60,_0x2b2947){return _0x459d60(_0x2b2947);},'qLMvq':function(_0x4c69c0,_0x9e3af4,_0x190357){return _0x4c69c0(_0x9e3af4,_0x190357);},'dXpMc':_0x36b798(0x2f0),'ckHHI':function(_0x57df69,_0x5bfa90){return _0x57df69(_0x5bfa90);},'pAlxJ':'List\x20all\x20feature\x20reviews','iHkjn':_0x36b798(0x2bc),'RbDsS':'edit-scenario\x20<description>','zxcfP':'report\x20[id]','fOisE':'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','dVoSo':'delete\x20[id]','AwfpH':_0x36b798(0x219),'eMiTH':_0x36b798(0x2ab),'lCKFm':_0x36b798(0x240),'Ivwww':'Initialize\x20Ranger\x20in\x20your\x20project','LiSrC':'Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','SHrVf':_0x36b798(0x281),'maPZn':_0x36b798(0x285),'sHwtB':_0x36b798(0x233),'qkxNQ':'profiles','TRokU':_0x36b798(0x29e),'ytsrN':'update','KIaNz':'print-access-token','FDlCZ':_0x36b798(0x274),'jRIRm':'auth','lDSuh':'start\x20[token]','CpfBp':'verify-feature','GZMpC':'add\x20env\x20<env-name>','FTwxK':_0x36b798(0x186),'hLIXF':function(_0x4bf42d,_0x1edadd){return _0x4bf42d+_0x1edadd;},'maShS':'Documentation:\x0a'};return _0x5e219f['ckHHI'](_0x55b901,_0x18fa0e??process[_0x36b798(0x273)]['slice'](0x2))[_0x36b798(0x2c3)]('ranger')[_0x36b798(0x25b)](TOP_LEVEL_HELP)['version'](_0x5e219f['BPUmd'](getCurrentVersion))['command']('create\x20<name>',_0x36b798(0x318),_0xf599ee=>{const _0xe00fa0=_0x36b798;return _0xf599ee['positional']('name',{'type':_0x5e219f[_0xe00fa0(0x278)],'description':_0xe00fa0(0x1e7),'demandOption':!![]})[_0xe00fa0(0x2a8)](_0xe00fa0(0x223),{'type':_0x5e219f[_0xe00fa0(0x278)],'alias':'d','description':_0xe00fa0(0x2ba)})['option'](_0x5e219f['MkThN'],{'type':_0xe00fa0(0x324),'alias':'c','description':_0x5e219f['ImZov']})['option'](_0x5e219f['phFBu'],{'type':_0x5e219f['ovJsR'],'hidden':!![]});},async _0x2e15b8=>{const _0x3e5a5c=_0x36b798;if(!_0x2e15b8['name']){console['error'](_0x5e219f[_0x3e5a5c(0x23e)](_0x5e219f['eFuBe'],_0x5e219f[_0x3e5a5c(0x241)])),process[_0x3e5a5c(0x20d)](0x1);return;}_0x5e219f[_0x3e5a5c(0x174)](warnFlagRenamed,_0x5e219f[_0x3e5a5c(0x1fa)],_0x3e5a5c(0x2f4),_0x5e219f[_0x3e5a5c(0x173)]);const _0x124b77=_0x2e15b8[_0x3e5a5c(0x1d0)]||_0x2e15b8['checklist'];await withTelemetry(_0x5e219f[_0x3e5a5c(0x1e9)],()=>featureCreate(_0x2e15b8[_0x3e5a5c(0x1da)],{'description':_0x2e15b8['description'],'scenarios':_0x124b77}));})['command']('list',_0x5e219f['pAlxJ'],_0x4c8913=>{const _0x711f14=_0x36b798;return _0x4c8913['option'](_0x5e219f['djbwe'],{'type':_0x5e219f['OAzZd'],'description':_0x5e219f[_0x711f14(0x310)]})[_0x711f14(0x2a8)](_0x711f14(0x2eb),{'type':_0x711f14(0x277),'alias':'l','description':_0x711f14(0x238),'default':0xa})[_0x711f14(0x2a8)](_0x711f14(0x28c),{'type':_0x5e219f[_0x711f14(0x22a)],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x711f14(0x2a8)](_0x5e219f[_0x711f14(0x26b)],{'type':_0x711f14(0x202),'alias':'d','description':_0x5e219f[_0x711f14(0x19e)],'default':![]});},async _0x16ddda=>{const _0x1589b9=_0x36b798;await _0x5e219f['Klqie'](withTelemetry,'list',()=>featureList({'currentBranch':_0x16ddda['current-branch'],'limit':_0x16ddda['limit'],'offset':_0x16ddda[_0x1589b9(0x28c)],'includeDeleted':_0x16ddda['include-deleted']}));})['command'](_0x5e219f['iHkjn'],'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0xc8de31=>{const _0x785f19=_0x36b798;return _0xc8de31['positional']('id',{'type':_0x5e219f[_0x785f19(0x278)],'description':_0x785f19(0x300)});},async _0x569dce=>{const _0x4dfe34=_0x36b798;await _0x5e219f['Klqie'](withTelemetry,_0x5e219f[_0x4dfe34(0x2b0)],()=>featureShow(_0x569dce['id']));})['command'](_0x36b798(0x1e4),_0x36b798(0x22d),_0x15896c=>{return _0x15896c['positional']('id',{'type':'string','description':_0x5e219f['uaqPM']});},async _0xc899e6=>{const _0x567429=_0x36b798;await withTelemetry(_0x5e219f[_0x567429(0x1ce)],()=>featureResume(_0xc899e6['id']));})['command'](_0x36b798(0x1df),'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x1adf37=>{const _0x427fb3=_0x36b798;return _0x1adf37['positional'](_0x5e219f[_0x427fb3(0x322)],{'type':_0x5e219f['YczMA'],'description':_0x5e219f[_0x427fb3(0x1af)],'demandOption':!![]})[_0x427fb3(0x2a8)]('id',{'type':_0x5e219f['YczMA'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x5f0117=>{const _0x2752c2=_0x36b798;await withTelemetry(_0x5e219f[_0x2752c2(0x20c)],()=>featureAddScenario(_0x5f0117['description'],_0x5f0117['id']));})[_0x36b798(0x2a9)](_0x5e219f[_0x36b798(0x17b)],_0x36b798(0x2bd),_0x3ec893=>{const _0xa2e0c7=_0x36b798;return _0x3ec893[_0xa2e0c7(0x22e)](_0x5e219f[_0xa2e0c7(0x322)],{'type':_0x5e219f[_0xa2e0c7(0x278)],'description':_0xa2e0c7(0x26d),'demandOption':!![]})[_0xa2e0c7(0x2a8)](_0x5e219f['MkThN'],{'type':_0xa2e0c7(0x277),'description':_0xa2e0c7(0x2e4),'demandOption':!![]})['option']('id',{'type':_0x5e219f[_0xa2e0c7(0x278)],'description':_0x5e219f[_0xa2e0c7(0x1a5)]});},async _0x4f9e47=>{const _0x3002ac=_0x36b798;await _0x5e219f[_0x3002ac(0x196)](withTelemetry,'edit-scenario',()=>featureEditScenario(_0x4f9e47['description'],{'id':_0x4f9e47['id'],'scenario':_0x4f9e47['scenario']}));})[_0x36b798(0x2a9)](_0x5e219f['zxcfP'],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x23a286=>{const _0x240d3b=_0x36b798;return _0x23a286[_0x240d3b(0x22e)]('id',{'type':_0x5e219f['YczMA'],'description':'Feature\x20review\x20ID'})['option'](_0x240d3b(0x2b5),{'type':_0x240d3b(0x324),'description':_0x5e219f['NduYk']})[_0x240d3b(0x2a8)](_0x5e219f['Usioi'],{'type':_0x5e219f[_0x240d3b(0x19d)],'description':_0x5e219f['vfWeN'],'default':![]});},async _0xed8142=>{const _0x1747d5=_0x36b798,_0x162505=_0xed8142['exclude-scenario'],_0x51dcee=_0x162505?_0x162505['map'](_0x7ad2c8=>Number(_0x7ad2c8)):undefined;await _0x5e219f[_0x1747d5(0x2ca)](withTelemetry,_0x5e219f[_0x1747d5(0x1d3)],()=>featureReportPrDescription(_0xed8142['id'],{'excludeScenarios':_0x51dcee,'json':_0xed8142['json']}));})['command'](_0x36b798(0x25e),_0x5e219f['fOisE'],_0x7c9651=>{const _0x525ab8=_0x36b798;return _0x7c9651[_0x525ab8(0x22e)]('id',{'type':_0x5e219f[_0x525ab8(0x278)],'description':_0x5e219f[_0x525ab8(0x1a5)]});},async _0x1c8af5=>{await _0x5e219f['qbMmE'](withTelemetry,'get-review',()=>featureGetReview(_0x1c8af5['id']));})['command'](_0x5e219f['dVoSo'],_0x5e219f['AwfpH'],_0x4d1626=>{return _0x4d1626['positional']('id',{'type':'string','description':_0x5e219f['IbUHR']});},async _0x31531d=>{const _0x5d9eb0=_0x36b798;await withTelemetry(_0x5d9eb0(0x24a),()=>featureDelete(_0x31531d['id']));})['command']('restore\x20<id>',_0x5e219f['eMiTH'],_0x18effc=>{const _0x42fac1=_0x36b798;return _0x18effc['positional']('id',{'type':_0x42fac1(0x320),'description':_0x5e219f['jIBoI'],'demandOption':!![]});},async _0x21171=>{await _0x5e219f['Klqie'](withTelemetry,'restore',()=>featureRestore(_0x21171['id']));})[_0x36b798(0x2a9)](_0x5e219f[_0x36b798(0x261)],_0x5e219f[_0x36b798(0x2e0)],_0x35c9f5=>{const _0x4a49c5=_0x36b798,_0x23fd86={'mjYBC':'string','cOMga':_0x5e219f[_0x4a49c5(0x1b5)],'KxaUz':_0x4a49c5(0x222),'pjdCO':_0x5e219f[_0x4a49c5(0x276)],'HedYa':_0x5e219f[_0x4a49c5(0x178)],'OQloE':_0x5e219f['VbrtR'],'oNOfK':_0x5e219f[_0x4a49c5(0x2e6)],'yOxtb':_0x4a49c5(0x1cb),'jcggf':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','Vsdxd':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','UaEhL':_0x5e219f[_0x4a49c5(0x2f6)],'PwIIQ':_0x5e219f[_0x4a49c5(0x19d)],'JuGAx':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','zcxyt':_0x5e219f[_0x4a49c5(0x1ee)],'dTLVD':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','yNpTr':_0x4a49c5(0x232),'Lnevm':_0x5e219f[_0x4a49c5(0x17c)],'KuAJo':_0x4a49c5(0x21e),'JEZFc':_0x5e219f['pneOd'],'TrrOR':'setup:deps','MjUfZ':_0x4a49c5(0x2bf),'iREYu':function(_0x313415){return _0x5e219f['YxbNv'](_0x313415);},'uGhyf':function(_0x262d89){const _0x52d2e4=_0x4a49c5;return _0x5e219f[_0x52d2e4(0x316)](_0x262d89);},'hFbkg':_0x5e219f['RIjzk'],'wARwk':_0x5e219f[_0x4a49c5(0x270)],'sVvZh':_0x4a49c5(0x1fd),'dkQtD':_0x4a49c5(0x258),'tDlDt':_0x5e219f[_0x4a49c5(0x17e)],'EdzxG':function(_0x4a54b0,_0x4085e5){return _0x4a54b0!==_0x4085e5;},'axTVl':function(_0x3d872c,_0x331c92,_0x5466ab){const _0x5374aa=_0x4a49c5;return _0x5e219f[_0x5374aa(0x2f1)](_0x3d872c,_0x331c92,_0x5466ab);}};return _0x35c9f5['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')[_0x4a49c5(0x22e)](_0x4a49c5(0x329),{'type':_0x5e219f['YczMA'],'description':_0x4a49c5(0x23c)})[_0x4a49c5(0x2a9)]('all',_0x5e219f['jVZdR'],_0x28f519=>{const _0x34ff09=_0x4a49c5;return _0x28f519['option']('token',{'type':_0x23fd86[_0x34ff09(0x1c2)],'description':_0x23fd86['cOMga']})[_0x34ff09(0x2a8)](_0x23fd86['KxaUz'],{'type':_0x34ff09(0x202),'description':_0x23fd86[_0x34ff09(0x2a0)],'default':![]})['option'](_0x23fd86['HedYa'],{'type':'boolean','description':_0x23fd86[_0x34ff09(0x228)],'default':![]})['option'](_0x23fd86['oNOfK'],{'type':'boolean','description':_0x23fd86[_0x34ff09(0x1b4)],'default':![]})['option'](_0x34ff09(0x32d),{'type':_0x34ff09(0x320),'choices':['user'],'hidden':!![],'description':_0x23fd86[_0x34ff09(0x28b)]})[_0x34ff09(0x2a8)]('url',{'type':_0x23fd86['mjYBC'],'description':_0x23fd86[_0x34ff09(0x1dd)]})['option'](_0x23fd86[_0x34ff09(0x1e6)],{'type':_0x23fd86['PwIIQ'],'description':_0x23fd86[_0x34ff09(0x194)],'default':![]})[_0x34ff09(0x2a8)](_0x23fd86['zcxyt'],{'type':_0x34ff09(0x202),'description':_0x23fd86['dTLVD'],'default':![]})['option'](_0x23fd86[_0x34ff09(0x2dd)],{'type':_0x23fd86[_0x34ff09(0x2af)],'description':_0x23fd86[_0x34ff09(0x32e)],'default':![]})['option'](_0x23fd86['KuAJo'],{'type':'boolean','description':_0x34ff09(0x2df),'default':![]})[_0x34ff09(0x2a8)](_0x23fd86[_0x34ff09(0x221)],{'type':_0x23fd86['PwIIQ'],'description':_0x34ff09(0x179),'default':![]});},async _0x325b1d=>{const _0x477962=_0x4a49c5;(_0x325b1d[_0x5e219f[_0x477962(0x1c8)]]||_0x325b1d['mcp'])&&await withTelemetry(_0x477962(0x21e),()=>mcpBootstrap()),await withTelemetry(_0x5e219f['jQQuD'],_0x596008=>start(_0x325b1d[_0x477962(0x2e8)],{'skipChromium':_0x325b1d[_0x477962(0x222)],'skipAuth':_0x325b1d[_0x477962(0x2bb)],'withDeps':_0x325b1d['with-deps'],'scope':_0x325b1d['scope'],'url':_0x325b1d['url'],'force':_0x325b1d['force'],'opencode':_0x325b1d[_0x477962(0x177)],'allowInsecureLocalhost':_0x325b1d['allow-insecure-localhost']},_0x596008));})['command'](_0x5e219f[_0x4a49c5(0x32a)],_0x5e219f['wAVMI'],_0xee38ce=>{const _0xbdeeb2=_0x4a49c5;return _0xee38ce[_0xbdeeb2(0x2a8)](_0x5e219f[_0xbdeeb2(0x2e6)],{'type':_0x5e219f[_0xbdeeb2(0x19d)],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]});},async _0x1261cc=>{const _0x476ca0=_0x4a49c5;await withTelemetry(_0x23fd86[_0x476ca0(0x1eb)],()=>ensureChromium(_0x1261cc['with-deps']));})['command'](_0x5e219f['SAWAe'],_0x5e219f['czskV'],_0x277981=>{const _0xc3b92d=_0x4a49c5;return _0x277981[_0xc3b92d(0x2a8)](_0xc3b92d(0x2e8),{'type':_0x23fd86[_0xc3b92d(0x1c2)],'description':_0x23fd86[_0xc3b92d(0x1dc)]})[_0xc3b92d(0x2a8)](_0x23fd86[_0xc3b92d(0x221)],{'type':_0x23fd86[_0xc3b92d(0x2af)],'description':_0xc3b92d(0x248),'default':![]});},async _0x3334aa=>{const _0x1db24e=_0x4a49c5;await _0x5e219f[_0x1db24e(0x2f1)](withTelemetry,'setup:login',async()=>{const _0x5d358c=_0x1db24e;if(_0x3334aa[_0x5d358c(0x1e1)]){await _0x23fd86['iREYu'](mcpBootstrap);const _0x5a25d9=await _0x23fd86['uGhyf'](refreshCliToken);if(!_0x5a25d9)throw new Error(_0x23fd86[_0x5d358c(0x25c)]);const _0x2523f3=await getCurrentUser(_0x5a25d9);if(!_0x2523f3['success'])throw new Error(_0x5d358c(0x187)+_0x2523f3[_0x5d358c(0x313)]);console[_0x5d358c(0x1fe)](_0x5d358c(0x226)+_0x2523f3[_0x5d358c(0x1fd)]['organizationName']);return;}await authenticate(_0x3334aa[_0x5d358c(0x2e8)]);});})[_0x4a49c5(0x2a9)](_0x4a49c5(0x227),_0x5e219f[_0x4a49c5(0x1bc)],_0x47d435=>{const _0x27112f=_0x4a49c5;return _0x47d435[_0x27112f(0x2a8)](_0x23fd86['wARwk'],{'type':_0x23fd86[_0x27112f(0x1c2)],'choices':[_0x23fd86[_0x27112f(0x1c3)],_0x23fd86['dkQtD']],'description':_0x23fd86['tDlDt']})['option'](_0x23fd86['zcxyt'],{'type':_0x27112f(0x202),'description':_0x23fd86[_0x27112f(0x291)],'default':![]});},async _0x1c912e=>{const _0x2ee6bd={'wBypp':function(_0x2aad2b,_0x2c7303){return _0x2aad2b(_0x2c7303);},'SuXDg':function(_0x5a8b40,_0x2658d6,_0x2ddedc){return _0x5a8b40(_0x2658d6,_0x2ddedc);},'FfpVk':_0x5e219f['lURIq'],'lWiGP':function(_0x370d95){return _0x370d95();},'ANbOI':function(_0x1b0c26,_0x168555){const _0x4618a7=_0x1b12;return _0x5e219f[_0x4618a7(0x1f8)](_0x1b0c26,_0x168555);}};await withTelemetry(_0x5e219f['WnWpO'],async()=>{const _0x3c725a=_0x1b12,_0x143e36=_0x1c912e[_0x3c725a(0x32d)];if(_0x1c912e['opencode']){const _0x495559=await _0x2ee6bd[_0x3c725a(0x18a)](ensureOpencodePluginConfig,_0x143e36);_0x495559&&await _0x2ee6bd[_0x3c725a(0x2f3)](installSkill,_0x2ee6bd['FfpVk'],{'level':_0x495559['scope'],'cliVersion':_0x2ee6bd['lWiGP'](getCurrentVersion),'platform':'opencode'});}else await _0x2ee6bd[_0x3c725a(0x207)](ensureClaudePlugin,_0x143e36),await ensureClaudeSkills(_0x143e36);});})['command']('profiles',_0x5e219f['SnKSv'],_0x32600d=>{const _0x5e6af2=_0x4a49c5;return _0x32600d[_0x5e6af2(0x2a8)](_0x5e219f['sMJso'],{'type':_0x5e219f['YczMA'],'choices':['user'],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x5e219f['tDSAA'],{'type':'string','description':_0x5e219f[_0x5e6af2(0x213)]})['option']('skip-auth',{'type':_0x5e6af2(0x202),'description':_0x5e219f['OBYOz'],'default':![]})['option'](_0x5e6af2(0x259),{'type':'boolean','description':_0x5e6af2(0x29a),'default':![]})['option'](_0x5e219f[_0x5e6af2(0x30d)],{'type':_0x5e219f[_0x5e6af2(0x19d)],'description':_0x5e219f['jDmNn'],'default':![]});},async _0x118a66=>{const _0x12f2bc=_0x4a49c5,_0x3bff92=_0x118a66['scope'];_0x3bff92!==undefined&&_0x23fd86['EdzxG'](_0x3bff92,_0x12f2bc(0x1fd))&&(console['error']('ranger\x20setup\x20profiles\x20--scope='+_0x3bff92+'\x20is\x20no\x20longer\x20supported.\x20'+'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now\x20(cloud\x20profiles\x20make\x20'+'project-scope\x20setup\x20obsolete).\x20Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.'),process['exit'](0x1)),await _0x23fd86[_0x12f2bc(0x1f5)](withTelemetry,'setup:profiles',_0x15ae8d=>ensureLocalEnv({'url':_0x118a66[_0x12f2bc(0x2c6)],'force':_0x118a66['force'],'allowInsecureLocalhost':_0x118a66[_0x12f2bc(0x232)],'scope':_0x12f2bc(0x1fd)},_0x15ae8d));})[_0x4a49c5(0x2a8)](_0x5e219f[_0x4a49c5(0x237)],{'type':_0x4a49c5(0x202),'description':_0x4a49c5(0x1a3),'default':![]})['option']('scope',{'type':_0x5e219f['YczMA'],'choices':[_0x4a49c5(0x1fd)],'hidden':!![],'description':_0x5e219f['afsDg']})['option']('url',{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x5e219f['AANcv'],{'type':'boolean','description':_0x4a49c5(0x29a),'default':![]})[_0x4a49c5(0x2a8)]('opencode',{'type':_0x5e219f[_0x4a49c5(0x19d)],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})['option'](_0x4a49c5(0x232),{'type':_0x5e219f[_0x4a49c5(0x19d)],'description':_0x4a49c5(0x1aa),'default':![]})['option'](_0x5e219f['UrmuI'],{'type':_0x5e219f['OAzZd'],'description':_0x5e219f['vNyjP'],'default':![]})[_0x4a49c5(0x2a8)](_0x5e219f[_0x4a49c5(0x178)],{'type':_0x5e219f[_0x4a49c5(0x19d)],'description':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','default':![]})[_0x4a49c5(0x2a8)]('with-deps',{'type':'boolean','description':_0x5e219f[_0x4a49c5(0x17a)],'default':![]})['option'](_0x5e219f[_0x4a49c5(0x31f)],{'type':_0x5e219f[_0x4a49c5(0x278)],'hidden':!![],'description':_0x5e219f[_0x4a49c5(0x2fd)]});},async _0x419f1f=>{const _0x16a8dc=_0x36b798,_0x18fd3c=_0x419f1f['tokenOrSubcommand'],_0x10c9ac=_0x419f1f[_0x16a8dc(0x2e8)]??_0x18fd3c;_0x419f1f[_0x5e219f[_0x16a8dc(0x1c8)]]&&await withTelemetry(_0x16a8dc(0x21e),()=>mcpBootstrap()),await withTelemetry(_0x16a8dc(0x1c1),_0x2a4f4f=>start(_0x10c9ac,{'skipChromium':_0x419f1f[_0x16a8dc(0x222)],'skipAuth':_0x419f1f['skip-auth'],'withDeps':_0x419f1f['with-deps'],'scope':_0x419f1f['scope'],'url':_0x419f1f['url'],'force':_0x419f1f['force'],'opencode':_0x419f1f['opencode'],'allowInsecureLocalhost':_0x419f1f['allow-insecure-localhost']},_0x2a4f4f));})[_0x36b798(0x2a9)](_0x36b798(0x266),_0x5e219f['LiSrC'],_0x51ca3b=>{const _0x1000df=_0x36b798;return _0x51ca3b['positional'](_0x5e219f[_0x1000df(0x31f)],{'type':_0x1000df(0x320),'description':_0x1000df(0x1ec),'demandOption':!![]})[_0x1000df(0x2a8)](_0x5e219f[_0x1000df(0x1f2)],{'type':_0x1000df(0x320),'description':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)'})[_0x1000df(0x2a8)](_0x1000df(0x2d6),{'type':_0x5e219f['YczMA'],'description':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)'})[_0x1000df(0x2a8)](_0x5e219f['GXasX'],{'type':'boolean','description':_0x5e219f['rqCQn'],'default':![]});},async _0x513f41=>{const _0xc2ad4e=_0x36b798;await withTelemetry(_0x5e219f['PvlwU'],_0x5aa851=>setupCi(_0x513f41[_0xc2ad4e(0x2e8)],{'profile':_0x513f41[_0xc2ad4e(0x1b9)],'baseUrl':_0x513f41[_0xc2ad4e(0x2d6)],'skipChromium':_0x513f41[_0xc2ad4e(0x222)]},_0x5aa851));})[_0x36b798(0x2a9)]('login',_0x5e219f['SHrVf'],()=>{},async()=>{const _0x49c6a8=_0x36b798;await withTelemetry(_0x49c6a8(0x1e0),()=>login());})[_0x36b798(0x2a9)](_0x5e219f[_0x36b798(0x212)],_0x5e219f[_0x36b798(0x2e3)],_0x5f0e1b=>{const _0x4b10b8=_0x36b798;return _0x5f0e1b[_0x4b10b8(0x2a8)](_0x5e219f['jEqiK'],{'type':_0x5e219f['OAzZd'],'description':_0x4b10b8(0x1bf),'default':![]})['option'](_0x5e219f[_0x4b10b8(0x270)],{'type':'string','choices':[_0x5e219f['HRIIo'],'project'],'description':_0x5e219f['aMqFW']});},async _0x1a55fb=>{const _0x59e9bb=_0x36b798,_0x4924d5=_0x5e219f[_0x59e9bb(0x19f)](Boolean,_0x1a55fb[_0x59e9bb(0x177)]);await withTelemetry(_0x5e219f[_0x59e9bb(0x212)],()=>skillup({'autoInstall':_0x1a55fb[_0x59e9bb(0x32d)],'platform':_0x4924d5?_0x59e9bb(0x177):'claude'}));})['command'](_0x36b798(0x1d2),_0x5e219f[_0x36b798(0x1e8)],()=>{},async()=>{await withTelemetry('clean',()=>clean());})[_0x36b798(0x2a9)]([_0x5e219f['FaPCu'],_0x5e219f['qkxNQ']],'Manage\x20profiles',_0x439ec7=>{const _0x2a1686=_0x36b798,_0x465d66={'TmsrK':'skip-auth','AwppE':_0x2a1686(0x31c),'OXtav':_0x5e219f[_0x2a1686(0x1e3)],'Dgnit':_0x5e219f['OAzZd'],'RHAkV':_0x5e219f['lZpJD'],'UBPXS':_0x5e219f['HkvCo'],'fjrhe':_0x5e219f[_0x2a1686(0x29d)],'CSsLp':_0x5e219f['SkvDu'],'uPPYz':_0x2a1686(0x258),'UiIGP':_0x2a1686(0x185),'sruDO':function(_0x46a02e,_0x51e307,_0xfe1530,_0x3f18b9){return _0x46a02e(_0x51e307,_0xfe1530,_0x3f18b9);},'AyXCh':_0x5e219f['IJeTe'],'emfyG':'cdp-endpoint','mKyPa':'string','tGdnZ':_0x5e219f[_0x2a1686(0x32b)],'NgZBT':function(_0x429715,_0x4235c5,_0x47fa1e){return _0x429715(_0x4235c5,_0x47fa1e);},'VnCHp':_0x5e219f['PeONE'],'pMETM':function(_0x1c0b03,_0x431242,_0x298765){return _0x5e219f['fHzTQ'](_0x1c0b03,_0x431242,_0x298765);},'ZHarr':_0x5e219f['qtRcW'],'LCFga':'unknown\x20error','TjgqV':_0x5e219f['jgWTK'],'ImcKQ':function(_0x5ea4fc,_0x2577f7,_0x1fa236){return _0x5ea4fc(_0x2577f7,_0x1fa236);},'aVkQz':_0x2a1686(0x286),'lBped':_0x2a1686(0x28f),'EJefQ':function(_0x1a5a34,_0x25d7b7,_0x15d8f0){return _0x5e219f['bTfXd'](_0x1a5a34,_0x25d7b7,_0x15d8f0);},'Mrxou':'profile\x20config\x20list','AkBjq':'profile\x20config\x20reset','DUFOj':_0x5e219f['cvJyL'],'jPqeC':_0x5e219f['rzdga'],'VOkFP':'Get\x20a\x20config\x20value','BFmlF':'list\x20<profile>','bmEny':'List\x20all\x20config\x20for\x20a\x20profile','YLqVg':_0x5e219f[_0x2a1686(0x18e)],'VJVBO':_0x2a1686(0x250)};return _0x439ec7[_0x2a1686(0x25b)](PROFILE_HELP)[_0x2a1686(0x2a9)](_0x5e219f['lwYmr'],_0x2a1686(0x27c),_0x5583ab=>{const _0x24ee1b=_0x2a1686;return _0x5583ab['positional']('profile-name',{'type':_0x24ee1b(0x320),'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':'boolean','description':_0x24ee1b(0x21a),'default':![]})[_0x24ee1b(0x2a8)](_0x465d66['TmsrK'],{'type':'boolean','description':_0x465d66[_0x24ee1b(0x2d9)],'default':![]})[_0x24ee1b(0x2a8)]('url',{'type':_0x24ee1b(0x320),'description':_0x465d66[_0x24ee1b(0x26a)]})['option']('force',{'type':_0x465d66['Dgnit'],'description':_0x24ee1b(0x29a),'default':![]})[_0x24ee1b(0x2a8)]('cdp-endpoint',{'type':'string','description':_0x465d66[_0x24ee1b(0x27a)]})['option'](_0x24ee1b(0x232),{'type':_0x465d66['Dgnit'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0x24ee1b(0x2a8)](_0x465d66['UBPXS'],{'type':_0x465d66['Dgnit'],'description':_0x465d66[_0x24ee1b(0x2e9)],'default':![]})['option'](_0x24ee1b(0x2a5),{'type':_0x24ee1b(0x320),'array':!![],'description':_0x465d66[_0x24ee1b(0x2c7)]})[_0x24ee1b(0x2a8)](_0x24ee1b(0x32d),{'type':'string','choices':[_0x24ee1b(0x1fd),_0x465d66['uPPYz']],'description':_0x465d66[_0x24ee1b(0x2d7)]})[_0x24ee1b(0x2a8)](_0x24ee1b(0x2b7),{'type':_0x465d66['Dgnit'],'alias':'y','description':_0x24ee1b(0x1db),'default':![]});},async _0x5c7259=>{const _0x2bbc83=_0x2a1686;await _0x465d66['sruDO'](withTelemetry,_0x465d66[_0x2bbc83(0x18f)],_0x48eeb7=>addEnv(_0x5c7259['profile-name'],{'ci':_0x5c7259['ci'],'skipAuth':_0x5c7259['skip-auth'],'url':_0x5c7259['url'],'force':_0x5c7259[_0x2bbc83(0x259)],'cdpEndpoint':_0x5c7259[_0x2bbc83(0x1ae)],'allowInsecureLocalhost':_0x5c7259['allow-insecure-localhost'],'safeMode':_0x5c7259[_0x2bbc83(0x234)],'setupHeader':_0x5c7259[_0x2bbc83(0x2a5)],'scope':_0x5c7259[_0x2bbc83(0x32d)],'yes':_0x5c7259['yes']},_0x48eeb7),{'isElectron':Boolean(_0x5c7259[_0x465d66['emfyG']])});})[_0x2a1686(0x2a9)](_0x5e219f['CaQYw'],_0x5e219f[_0x2a1686(0x319)],_0x232e46=>{const _0x4fc6ee=_0x2a1686;return _0x232e46['positional'](_0x4fc6ee(0x2ef),{'type':_0x465d66[_0x4fc6ee(0x1a1)],'description':_0x465d66['tGdnZ'],'demandOption':!![]});},async _0x22bf73=>{const _0x46809b=_0x2a1686;await _0x5e219f['LJkgi'](withTelemetry,'profile\x20use',()=>useEnv(_0x22bf73[_0x46809b(0x2ef)]));})[_0x2a1686(0x2a9)]('encrypt-auth\x20<profile>',_0x5e219f['cxOHu'],_0x197636=>{const _0x342324=_0x2a1686;return _0x197636[_0x342324(0x22e)](_0x342324(0x1b9),{'type':_0x465d66[_0x342324(0x1a1)],'description':_0x342324(0x314),'demandOption':!![]});},async _0x2453a4=>{const _0x5a58f0=_0x2a1686;await _0x465d66[_0x5a58f0(0x17f)](withTelemetry,_0x465d66[_0x5a58f0(0x2e1)],()=>authEncrypt(_0x2453a4['profile']));})[_0x2a1686(0x2a9)]('ls',_0x5e219f['oURXk'],()=>{},async()=>{const _0x529dc0=_0x2a1686;await withTelemetry(_0x529dc0(0x309),()=>envList());})[_0x2a1686(0x2a9)](_0x2a1686(0x21d),_0x5e219f['HgCRI'],_0x6068c8=>{const _0xa71068=_0x2a1686;return _0x6068c8['positional'](_0x5e219f['JZnnH'],{'type':'string','description':_0x5e219f['OVByw'],'demandOption':!![]})['option']('allow-insecure-localhost',{'type':_0x5e219f[_0xa71068(0x19d)],'description':_0xa71068(0x1aa)});},async _0x362629=>{const _0x3cad67=_0x2a1686;await _0x465d66['pMETM'](withTelemetry,_0x465d66['ZHarr'],_0x4e6a97=>updateEnv(_0x362629['profile-name'],_0x4e6a97,{'allowInsecureLocalhost':_0x362629[_0x3cad67(0x232)]}));})[_0x2a1686(0x2a9)](_0x2a1686(0x242),![],_0x4d712a=>{const _0x4dc11c=_0x2a1686;return _0x4d712a['positional'](_0x5e219f['bBwUj'],{'type':_0x4dc11c(0x320),'description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0xd55d09=>{await withTelemetry(_0x465d66['TjgqV'],async()=>{const _0x959bdf=_0x1b12,_0x1b7cb8=process['env']['RANGER_TEST_USERNAME'],_0x2ecbe8=process[_0x959bdf(0x27b)]['RANGER_TEST_PASSWORD'];(!_0x1b7cb8||!_0x2ecbe8)&&(console['error'](_0x959bdf(0x1d5)),process[_0x959bdf(0x20d)](0x1));const _0x491e18=_0xd55d09['name'],_0x3a14d9=await serverSideLogin(_0x491e18,{'force':!![]});_0x3a14d9[_0x959bdf(0x30b)]==='not_configured'&&(console['error'](_0x959bdf(0x20e)),process['exit'](0x1)),_0x3a14d9['status']==='failed'&&(console[_0x959bdf(0x313)](_0x959bdf(0x2b2)+(_0x3a14d9[_0x959bdf(0x313)]??_0x465d66['LCFga'])),_0x3a14d9['test_output']&&console['error'](_0x3a14d9['test_output']),process[_0x959bdf(0x20d)](0x1)),console['log']('✓\x20Server-side\x20login\x20succeeded\x20for\x20\x27'+_0x491e18+'\x27.\x20Session\x20written\x20to\x20cloud\x20profile.');});})[_0x2a1686(0x2a9)]('migrate\x20[profile-name]','Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)',_0x3c72c0=>{const _0x46565e=_0x2a1686;return _0x3c72c0['positional'](_0x5e219f[_0x46565e(0x1c9)],{'type':_0x5e219f['YczMA'],'description':_0x46565e(0x271)})[_0x46565e(0x2a8)](_0x46565e(0x184),{'type':'boolean','description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})['option']('dry-run',{'type':_0x46565e(0x202),'description':_0x46565e(0x2f9),'default':![]})['option'](_0x46565e(0x2b7),{'type':'boolean','alias':'y','description':_0x46565e(0x1a4),'default':![]})[_0x46565e(0x2a8)](_0x5e219f['oykyR'],{'type':_0x5e219f['OAzZd'],'description':_0x5e219f['SguyJ'],'default':![]});},async _0x3ad2d1=>{await _0x465d66['NgZBT'](withTelemetry,'profile\x20migrate',_0x488d17=>migrateProfile({'profileName':_0x3ad2d1['profile-name'],'all':_0x3ad2d1['all'],'dryRun':_0x3ad2d1['dry-run'],'yes':_0x3ad2d1['yes'],'saveCreds':_0x3ad2d1['save-creds']},_0x488d17));})['command'](_0x5e219f['huTFA'],_0x5e219f[_0x2a1686(0x249)],_0x449629=>{const _0x45718a=_0x2a1686,_0x1e63a1={'avihn':'profile','ioPLT':_0x45718a(0x320),'vJbqo':_0x465d66[_0x45718a(0x25a)]};return _0x449629['usage'](PROFILE_CONFIG_HELP)['command'](_0x465d66[_0x45718a(0x1e2)],_0x45718a(0x182),_0x356a5f=>{const _0x45278d=_0x45718a;return _0x356a5f['positional'](_0x1e63a1[_0x45278d(0x252)],{'type':'string','description':'Profile\x20name','demandOption':!![]})['positional']('key',{'type':_0x1e63a1[_0x45278d(0x22b)],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})['positional']('value',{'type':_0x1e63a1[_0x45278d(0x22b)],'description':_0x1e63a1['vJbqo'],'demandOption':!![]});},async _0x1150ae=>{const _0xce743e=_0x45718a;await _0x465d66[_0xce743e(0x235)](withTelemetry,_0x465d66['aVkQz'],()=>configSet(_0x1150ae['profile'],_0x1150ae['key'],_0x1150ae['value']));})[_0x45718a(0x2a9)](_0x45718a(0x19a),_0x465d66['VOkFP'],_0x25a292=>{const _0x25d729=_0x45718a;return _0x25a292['positional']('profile',{'type':'string','description':'Profile\x20name','demandOption':!![]})[_0x25d729(0x22e)](_0x465d66['lBped'],{'type':_0x465d66['mKyPa'],'description':_0x25d729(0x2e2),'demandOption':!![]});},async _0x735026=>{const _0x577ea0=_0x45718a;await _0x465d66['ImcKQ'](withTelemetry,_0x577ea0(0x20a),()=>configGet(_0x735026[_0x577ea0(0x1b9)],_0x735026['key']));})[_0x45718a(0x2a9)](_0x465d66['BFmlF'],_0x465d66[_0x45718a(0x21f)],_0x2f58fb=>{const _0x535fd7=_0x45718a;return _0x2f58fb['positional']('profile',{'type':_0x465d66['mKyPa'],'description':_0x535fd7(0x314),'demandOption':!![]});},async _0x2c09c8=>{const _0x4b1b5e=_0x45718a;await _0x465d66[_0x4b1b5e(0x254)](withTelemetry,_0x465d66[_0x4b1b5e(0x211)],()=>configList(_0x2c09c8[_0x4b1b5e(0x1b9)]));})[_0x45718a(0x2a9)]('unset\x20<profile>\x20<key>','Remove\x20a\x20config\x20value',_0x2ea1a4=>{const _0x30e791=_0x45718a;return _0x2ea1a4['positional'](_0x30e791(0x1b9),{'type':_0x465d66[_0x30e791(0x1a1)],'description':_0x30e791(0x314),'demandOption':!![]})['positional'](_0x465d66['lBped'],{'type':_0x465d66['mKyPa'],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x11b08f=>{const _0x3ef3fa=_0x45718a;await _0x465d66['ImcKQ'](withTelemetry,'profile\x20config\x20unset',()=>configUnset(_0x11b08f[_0x3ef3fa(0x1b9)],_0x11b08f['key']));})[_0x45718a(0x2a9)](_0x465d66[_0x45718a(0x31a)],_0x45718a(0x1a2),_0x45c527=>{const _0x3012ab=_0x45718a;return _0x45c527[_0x3012ab(0x22e)](_0x1e63a1[_0x3012ab(0x252)],{'type':_0x1e63a1['ioPLT'],'description':'Profile\x20name','demandOption':!![]});},async _0x4f13c0=>{const _0x14089d=_0x45718a;await withTelemetry(_0x465d66['AkBjq'],()=>configReset(_0x4f13c0[_0x14089d(0x1b9)]));})[_0x45718a(0x2a4)](0x1,_0x465d66['VJVBO']);})['demandCommand'](0x1,_0x5e219f[_0x2a1686(0x2cf)]);})['command'](_0x5e219f[_0x36b798(0x260)],_0x5e219f[_0x36b798(0x199)],()=>{},async()=>{const _0x54da32=_0x36b798;await _0x5e219f[_0x54da32(0x2f1)](withTelemetry,_0x5e219f['iLPcv'],()=>status());})[_0x36b798(0x2a9)](_0x5e219f['ytsrN'],_0x36b798(0x1cd),()=>{},async()=>{await _0x5e219f['foPcF'](withTelemetry,'update',()=>update());})[_0x36b798(0x2a9)](_0x5e219f['KIaNz'],'Print\x20the\x20current\x20CLI\x20access\x20token',()=>{},async()=>{const _0x5c7e14=_0x36b798;await _0x5e219f[_0x5c7e14(0x1f9)](withTelemetry,_0x5c7e14(0x192),async()=>{const _0x94d883=_0x5c7e14,_0x5a5820=await _0x5e219f[_0x94d883(0x1b6)](getToken);if(!_0x5a5820)throw new Error('No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.');console['log'](_0x5a5820);});})['command']('go',_0x5e219f[_0x36b798(0x1b3)],_0x10a5f7=>{const _0x262256=_0x36b798;return _0x10a5f7[_0x262256(0x2a8)](_0x5e219f['SjvSx'],{'type':_0x262256(0x320),'description':_0x5e219f[_0x262256(0x312)]})['option'](_0x262256(0x1b9),{'type':'string','description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0x262256(0x2a8)]('notes',{'type':_0x262256(0x320),'description':_0x262256(0x19b)})['option']('scenario',{'type':_0x5e219f['lnyVo'],'description':'Scenario\x20index\x20(1-based)'})['option'](_0x5e219f['XfCtP'],{'type':_0x262256(0x320),'description':_0x5e219f[_0x262256(0x1cf)]})['option'](_0x5e219f[_0x262256(0x239)],{'type':_0x5e219f[_0x262256(0x278)],'description':_0x262256(0x1b0)})['option'](_0x262256(0x2e5),{'type':_0x5e219f[_0x262256(0x278)],'description':_0x5e219f[_0x262256(0x2d0)]})['option'](_0x5e219f['XPHXC'],{'type':'boolean','description':_0x5e219f[_0x262256(0x1ed)],'default':![]})[_0x262256(0x2a8)]('debug-outcome',{'type':_0x5e219f[_0x262256(0x278)],'hidden':!![],'choices':[_0x262256(0x1f6),_0x262256(0x1f1),_0x5e219f[_0x262256(0x1be)],'failed',_0x5e219f['TdiJi']]})[_0x262256(0x2a8)](_0x5e219f[_0x262256(0x1bd)],{'type':_0x5e219f[_0x262256(0x19d)],'hidden':!![]})['option'](_0x5e219f[_0x262256(0x2f5)],{'type':_0x262256(0x320),'hidden':!![]})['option'](_0x262256(0x1d8),{'type':_0x5e219f['YczMA'],'hidden':!![]})[_0x262256(0x2a8)](_0x5e219f[_0x262256(0x1ab)],{'type':_0x5e219f['lnyVo'],'hidden':!![]});},async _0x253273=>{await runGoCommand(_0x253273);})[_0x36b798(0x2a9)](_0x5e219f[_0x36b798(0x17d)],![],_0x589dc0=>{const _0x4df737=_0x36b798,_0x510004={'YZgkh':_0x5e219f['Pezgm']};return _0x589dc0[_0x4df737(0x2a9)](_0x5e219f[_0x4df737(0x1f7)],![],_0x185d88=>{const _0x4728e4=_0x4df737;return _0x185d88['positional']('profile',{'type':_0x4728e4(0x320),'description':_0x510004[_0x4728e4(0x306)],'demandOption':!![]});},async _0x10b76f=>{warnRenamed(_0x5e219f['xMtaN'],'ranger\x20profile\x20encrypt-auth'),await authEncrypt(_0x10b76f['profile']);})[_0x4df737(0x2a4)](0x1,_0x5e219f['zwkIj']);},()=>{})['command'](_0x5e219f['lDSuh'],![],_0x5f055e=>{const _0x276a71=_0x36b798;return _0x5f055e['positional']('token',{'type':'string','description':_0x276a71(0x24d)})[_0x276a71(0x2a8)](_0x276a71(0x222),{'type':_0x276a71(0x202),'description':_0x5e219f[_0x276a71(0x276)],'default':![]})['option']('scope',{'type':_0x5e219f['YczMA'],'choices':[_0x5e219f[_0x276a71(0x1ac)]],'hidden':!![],'description':_0x5e219f['afsDg']})['option'](_0x5e219f[_0x276a71(0x224)],{'type':_0x5e219f[_0x276a71(0x278)],'description':_0x5e219f[_0x276a71(0x2f8)]})['option'](_0x5e219f[_0x276a71(0x2f6)],{'type':_0x5e219f[_0x276a71(0x19d)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x5e219f['USHYY'],{'type':'boolean','description':_0x5e219f[_0x276a71(0x18c)],'default':![]})['option'](_0x276a71(0x32f),{'type':_0x276a71(0x202),'description':_0x276a71(0x1cb),'default':![]});},async _0x190342=>{const _0x900b96=_0x36b798;warnRenamed(_0x900b96(0x20b),'ranger\x20setup'),await withTelemetry(_0x5e219f['LFFos'],_0x36bc6b=>start(_0x190342['token'],{'skipChromium':_0x190342[_0x900b96(0x222)],'skipAuth':_0x190342[_0x900b96(0x2bb)],'withDeps':_0x190342['with-deps'],'scope':_0x190342[_0x900b96(0x32d)],'url':_0x190342[_0x900b96(0x2c6)],'force':_0x190342['force']},_0x36bc6b));})[_0x36b798(0x2a9)](_0x5e219f[_0x36b798(0x269)],![],_0xb41e25=>{const _0x3c4ec6=_0x36b798;return _0xb41e25[_0x3c4ec6(0x2a8)](_0x5e219f[_0x3c4ec6(0x2f5)],{'type':_0x3c4ec6(0x320),'description':_0x5e219f[_0x3c4ec6(0x27d)]})['option']('task',{'type':'string','description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})[_0x3c4ec6(0x2a8)](_0x5e219f[_0x3c4ec6(0x1ab)],{'type':'number','description':_0x5e219f[_0x3c4ec6(0x2ec)]})[_0x3c4ec6(0x2a8)](_0x5e219f['FaPCu'],{'type':_0x3c4ec6(0x320),'hidden':!![]})[_0x3c4ec6(0x2a8)](_0x3c4ec6(0x283),{'type':'string','hidden':!![]})['option'](_0x5e219f[_0x3c4ec6(0x2b6)],{'type':_0x3c4ec6(0x277),'hidden':!![]})['option'](_0x5e219f['XfCtP'],{'type':_0x3c4ec6(0x320),'description':_0x5e219f['FZGku']})['option'](_0x5e219f[_0x3c4ec6(0x239)],{'type':_0x3c4ec6(0x320),'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x3c4ec6(0x2a8)](_0x5e219f['eWCBP'],{'type':'string','hidden':!![]})['option'](_0x3c4ec6(0x23a),{'type':_0x5e219f[_0x3c4ec6(0x19d)],'hidden':!![],'default':![]})['option'](_0x5e219f[_0x3c4ec6(0x275)],{'type':_0x3c4ec6(0x320),'hidden':!![],'choices':['verified',_0x3c4ec6(0x1f1),_0x5e219f['Cfmec'],_0x3c4ec6(0x243),_0x3c4ec6(0x2ae)]});},async _0x412238=>{await _0x5e219f['STZvW'](runGoCommand,_0x412238,!![]);})[_0x36b798(0x2a9)](_0x5e219f[_0x36b798(0x1f0)],![],_0x354384=>{const _0x2e3662=_0x36b798;return _0x354384['positional'](_0x5e219f['gkdEI'],{'type':_0x5e219f[_0x2e3662(0x278)],'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x2e3662(0x2a8)]('ci',{'type':_0x5e219f['OAzZd'],'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})[_0x2e3662(0x2a8)]('skip-auth',{'type':_0x5e219f['OAzZd'],'description':_0x5e219f[_0x2e3662(0x2da)],'default':![]});},async _0x5bd0f7=>{const _0x553cfd=_0x36b798;warnRenamed('ranger\x20add\x20env',_0x5e219f['BKzeC']),await withTelemetry(_0x5e219f[_0x553cfd(0x2c2)],_0x4e0bc5=>addEnv(_0x5bd0f7[_0x553cfd(0x21c)],{'ci':_0x5bd0f7['ci'],'skipAuth':_0x5bd0f7['skip-auth']},_0x4e0bc5));})[_0x36b798(0x2a9)]('use\x20<env-name>',![],_0x4ae155=>{const _0x4cde14=_0x36b798;return _0x4ae155[_0x4cde14(0x22e)](_0x5e219f[_0x4cde14(0x2d4)],{'type':'string','description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x3e87de=>{const _0x360b1c=_0x36b798;_0x5e219f[_0x360b1c(0x196)](warnRenamed,_0x360b1c(0x1b8),_0x360b1c(0x1a8)),await withTelemetry('use',()=>useEnv(_0x3e87de[_0x360b1c(0x21c)]));})[_0x36b798(0x2a9)](_0x5e219f['huTFA'],![],_0xc5cd3=>{const _0x34eb97=_0x36b798,_0x308776={'pfwIl':_0x5e219f['YczMA'],'ytLUZ':_0x34eb97(0x326),'IGuOq':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','cCaNR':_0x34eb97(0x272),'YjHEP':'Config\x20value','lzync':_0x5e219f[_0x34eb97(0x2c9)],'DHvGF':function(_0x237d15,_0x52c972,_0x11edd6){const _0x3d2f53=_0x34eb97;return _0x5e219f[_0x3d2f53(0x196)](_0x237d15,_0x52c972,_0x11edd6);},'KnKkR':function(_0x2a701b,_0x8616ff,_0x492e7f){return _0x2a701b(_0x8616ff,_0x492e7f);},'ZZgIw':'config\x20unset'};return _0xc5cd3[_0x34eb97(0x2a9)]('set\x20<env>\x20<key>\x20<value>',![],_0x296fbc=>{const _0x48c720=_0x34eb97;return _0x296fbc['positional'](_0x48c720(0x27b),{'type':_0x308776[_0x48c720(0x1ea)],'description':_0x308776['ytLUZ'],'demandOption':!![]})['positional']('key',{'type':'string','description':_0x308776[_0x48c720(0x1d1)],'demandOption':!![]})['positional'](_0x308776[_0x48c720(0x2cb)],{'type':_0x308776[_0x48c720(0x1ea)],'description':_0x308776['YjHEP'],'demandOption':!![]});},async _0x4bde48=>{const _0x5e6de4=_0x34eb97;warnRenamed(_0x308776[_0x5e6de4(0x1fc)],'ranger\x20profile\x20config\x20set'),await _0x308776[_0x5e6de4(0x315)](withTelemetry,'config\x20set',()=>configSet(_0x4bde48['env'],_0x4bde48[_0x5e6de4(0x28f)],_0x4bde48['value']));})['command']('get\x20<env>\x20<key>',![],_0x117a4f=>{const _0x521b43=_0x34eb97;return _0x117a4f['positional'](_0x5e219f[_0x521b43(0x2f5)],{'type':'string','description':'Environment\x20name','demandOption':!![]})[_0x521b43(0x22e)]('key',{'type':'string','description':_0x5e219f[_0x521b43(0x2ea)],'demandOption':!![]});},async _0xbb0c7a=>{const _0x32518b=_0x34eb97;warnRenamed(_0x5e219f[_0x32518b(0x230)],_0x32518b(0x1c7)),await _0x5e219f['wvJen'](withTelemetry,_0x5e219f[_0x32518b(0x26c)],()=>configGet(_0xbb0c7a[_0x32518b(0x27b)],_0xbb0c7a[_0x32518b(0x28f)]));})['command'](_0x5e219f['ovkKi'],![],_0x322216=>{const _0x1056f5=_0x34eb97;return _0x322216[_0x1056f5(0x22e)](_0x5e219f[_0x1056f5(0x2f5)],{'type':'string','description':_0x5e219f['aGEKq'],'demandOption':!![]});},async _0x5f1041=>{warnRenamed(_0x5e219f['SXsqk'],'ranger\x20profile\x20config\x20list'),await withTelemetry('config\x20list',()=>configList(_0x5f1041['env']));})[_0x34eb97(0x2a9)](_0x34eb97(0x2ff),![],_0x5bada8=>{const _0x31a40d=_0x34eb97;return _0x5bada8['positional']('env',{'type':_0x5e219f['YczMA'],'description':_0x5e219f[_0x31a40d(0x305)],'demandOption':!![]})[_0x31a40d(0x22e)](_0x5e219f[_0x31a40d(0x24c)],{'type':'string','description':_0x5e219f[_0x31a40d(0x1c5)],'demandOption':!![]});},async _0x1c1ef2=>{const _0x149dc6=_0x34eb97;_0x308776[_0x149dc6(0x284)](warnRenamed,_0x149dc6(0x20f),_0x149dc6(0x288)),await _0x308776['KnKkR'](withTelemetry,_0x308776['ZZgIw'],()=>configUnset(_0x1c1ef2[_0x149dc6(0x27b)],_0x1c1ef2[_0x149dc6(0x28f)]));})['demandCommand'](0x1,_0x5e219f['VDAjr']);})['command']('env',![],_0x227c6c=>{const _0x51422a=_0x36b798,_0x426b53={'MkWVQ':'Name\x20of\x20the\x20environment\x20to\x20update'};return _0x227c6c['command']('ls',![],()=>{},async()=>{const _0x15fc77=_0x1b12;warnRenamed(_0x5e219f['EHzRX'],'ranger\x20profile\x20ls'),await _0x5e219f['YCMBS'](withTelemetry,_0x15fc77(0x255),()=>envList());})[_0x51422a(0x2a9)](_0x5e219f['whAwc'],![],_0x50dc4a=>{const _0x1fb2c3=_0x51422a;return _0x50dc4a['positional'](_0x1fb2c3(0x21c),{'type':_0x1fb2c3(0x320),'description':_0x426b53['MkWVQ'],'demandOption':!![]});},async _0xa6a58f=>{const _0x3d9ba2=_0x51422a;warnRenamed(_0x3d9ba2(0x198),_0x3d9ba2(0x1e5)),await _0x5e219f[_0x3d9ba2(0x1b2)](withTelemetry,'env\x20update',_0x45bd7d=>updateEnv(_0xa6a58f['env-name'],_0x45bd7d));})['demandCommand'](0x1,_0x5e219f['iLYCs']);})[_0x36b798(0x2a9)](_0x36b798(0x2d5),![],_0x3f00c2=>{const _0x43b1d4=_0x36b798,_0x3b836b={'qslRw':'current-branch','tynFc':_0x43b1d4(0x264),'cSsEU':_0x5e219f['lnyVo'],'lfTOd':_0x43b1d4(0x1a7),'jCjHe':_0x5e219f['OAzZd'],'wTxIq':_0x5e219f[_0x43b1d4(0x278)],'ehJza':function(_0xf8c4d3,_0x4169ff,_0x5d1abc){return _0xf8c4d3(_0x4169ff,_0x5d1abc);},'PVHnw':_0x5e219f['dwYJI'],'PRaji':function(_0x4b5d4a,_0x3e9ba6,_0xaf2029){return _0x4b5d4a(_0x3e9ba6,_0xaf2029);},'xCZQP':_0x43b1d4(0x30c),'FmiWS':_0x5e219f[_0x43b1d4(0x1a5)],'kimWQ':function(_0x186093,_0x58be65,_0x3ca110){return _0x5e219f['fWRHI'](_0x186093,_0x58be65,_0x3ca110);},'QlLCv':_0x5e219f['FxZru']};return _0x3f00c2['command'](_0x5e219f[_0x43b1d4(0x2a2)],![],_0xb6dbd0=>{const _0x455840=_0x43b1d4;return _0xb6dbd0[_0x455840(0x22e)](_0x455840(0x1da),{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x5e219f[_0x455840(0x322)],{'type':'string','alias':'d','description':_0x455840(0x2ba)})['option'](_0x455840(0x317),{'type':_0x5e219f[_0x455840(0x220)],'alias':'c','description':_0x5e219f[_0x455840(0x1b1)]})[_0x455840(0x2a8)](_0x5e219f['MkThN'],{'type':_0x455840(0x324),'hidden':!![]});},async _0x56edfe=>{const _0x117d3a=_0x43b1d4;_0x5e219f['kVyLC'](warnRenamed,_0x5e219f[_0x117d3a(0x280)],'ranger\x20create'),_0x5e219f[_0x117d3a(0x19c)](warnFlagRenamed,_0x5e219f['pHxbx'],'--checklist',_0x5e219f[_0x117d3a(0x173)]);const _0x469377=_0x56edfe['scenario']||_0x56edfe['checklist'];await _0x5e219f['LJkgi'](withTelemetry,_0x5e219f['VhixL'],()=>featureCreate(_0x56edfe['name'],{'description':_0x56edfe['description'],'scenarios':_0x469377}));})['command'](_0x5e219f['kYvNo'],![],_0x1c2d1e=>{const _0x3f98a7=_0x43b1d4;return _0x1c2d1e['option'](_0x3b836b['qslRw'],{'type':_0x3f98a7(0x202),'description':_0x3b836b['tynFc']})[_0x3f98a7(0x2a8)](_0x3f98a7(0x2eb),{'type':'number','alias':'l','description':_0x3f98a7(0x238),'default':0xa})[_0x3f98a7(0x2a8)](_0x3f98a7(0x28c),{'type':_0x3b836b['cSsEU'],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x3f98a7(0x2a8)](_0x3b836b[_0x3f98a7(0x217)],{'type':_0x3b836b['jCjHe'],'alias':'d','description':_0x3f98a7(0x2ee),'default':![]});},async _0x58e098=>{const _0x26305f=_0x43b1d4;_0x5e219f[_0x26305f(0x190)](warnRenamed,_0x5e219f[_0x26305f(0x267)],_0x5e219f['jxUAS']),await _0x5e219f[_0x26305f(0x2c5)](withTelemetry,_0x26305f(0x293),()=>featureList({'currentBranch':_0x58e098['current-branch'],'limit':_0x58e098[_0x26305f(0x2eb)],'offset':_0x58e098[_0x26305f(0x28c)],'includeDeleted':_0x58e098['include-deleted']}));})['command']('show\x20[id]',![],_0x37f534=>{const _0x1155f0=_0x43b1d4;return _0x37f534[_0x1155f0(0x22e)]('id',{'type':_0x3b836b['wTxIq'],'description':'Feature\x20review\x20ID'});},async _0x2d414c=>{const _0x428711=_0x43b1d4;warnRenamed(_0x5e219f['zdsgZ'],'ranger\x20show'),await _0x5e219f[_0x428711(0x301)](withTelemetry,_0x5e219f['bHVUL'],()=>featureShow(_0x2d414c['id']));})['command'](_0x5e219f['oUWvn'],![],_0xb1e8ef=>{const _0x4c989a=_0x43b1d4;return _0xb1e8ef['positional']('id',{'type':'string','description':_0x4c989a(0x236)});},async _0x5239f1=>{const _0x4b268b=_0x43b1d4;_0x3b836b['ehJza'](warnRenamed,'ranger\x20feature\x20resume',_0x3b836b[_0x4b268b(0x1ad)]),await withTelemetry('feature\x20resume',()=>featureResume(_0x5239f1['id']));})['command'](_0x43b1d4(0x251),![],_0x8b81f9=>{const _0x146346=_0x43b1d4;return _0x8b81f9[_0x146346(0x22e)](_0x5e219f[_0x146346(0x322)],{'type':_0x146346(0x320),'description':_0x146346(0x197),'demandOption':!![]})['option']('id',{'type':_0x5e219f['YczMA'],'description':_0x146346(0x1fb)});},async _0x3e2e55=>{const _0x39e13b=_0x43b1d4;_0x3b836b['ehJza'](warnRenamed,_0x39e13b(0x303),_0x39e13b(0x193)),await _0x3b836b[_0x39e13b(0x282)](withTelemetry,_0x3b836b['xCZQP'],()=>featureAddScenario(_0x3e2e55['description'],_0x3e2e55['id']));})[_0x43b1d4(0x2a9)](_0x5e219f['XJqbb'],![],_0x21f954=>{const _0xd863c4=_0x43b1d4;return _0x21f954['positional']('id',{'type':_0x3b836b[_0xd863c4(0x191)],'description':_0x3b836b['FmiWS']});},async _0x4d2a08=>{const _0xe158ad=_0x43b1d4;_0x5e219f[_0xe158ad(0x210)](warnRenamed,_0xe158ad(0x225),_0xe158ad(0x208)),await withTelemetry(_0x5e219f['PcfQr'],()=>featureGetReview(_0x4d2a08['id']));})[_0x43b1d4(0x2a9)](_0x43b1d4(0x23d),![],_0x348925=>{return _0x348925['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x2b7dec=>{const _0x2a6c22=_0x43b1d4;_0x3b836b['kimWQ'](warnRenamed,_0x2a6c22(0x299),_0x3b836b['QlLCv']),await _0x3b836b[_0x2a6c22(0x282)](withTelemetry,'feature\x20delete',()=>featureDelete(_0x2b7dec['id']));})[_0x43b1d4(0x2a9)]('restore\x20<id>',![],_0x3c82cf=>{const _0xf1555c=_0x43b1d4;return _0x3c82cf['positional']('id',{'type':_0x5e219f['YczMA'],'description':_0xf1555c(0x200),'demandOption':!![]});},async _0x549666=>{const _0x23424a=_0x43b1d4;_0x3b836b[_0x23424a(0x263)](warnRenamed,_0x23424a(0x24f),_0x23424a(0x297)),await withTelemetry(_0x23424a(0x287),()=>featureRestore(_0x549666['id']));})[_0x43b1d4(0x2a4)](0x1,_0x43b1d4(0x2d2));})[_0x36b798(0x2a9)](_0x5e219f['FTwxK'],![],_0x211a4c=>{const _0xe9aa5b=_0x36b798,_0x35308a={'ktRVU':_0xe9aa5b(0x320),'kbCnB':'session-id','WEYoE':_0xe9aa5b(0x23b)};return _0x211a4c['command'](_0xe9aa5b(0x216),_0x5e219f['IWJnd'],_0x58be9d=>{const _0x3df774=_0xe9aa5b;return _0x58be9d['option'](_0x3df774(0x2ed),{'type':_0x35308a[_0x3df774(0x307)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x18b2da=>{const _0x3a62a5=_0xe9aa5b;await _0x5e219f['STZvW'](withTelemetry,_0x5e219f['TWZqO'],()=>hook(_0x3a62a5(0x216),_0x18b2da[_0x3a62a5(0x2ed)]));})['command'](_0x5e219f[_0xe9aa5b(0x183)],_0x5e219f[_0xe9aa5b(0x1b7)],_0x364a4c=>{const _0x3cf1d5=_0xe9aa5b;return _0x364a4c[_0x3cf1d5(0x2a8)](_0x35308a[_0x3cf1d5(0x327)],{'type':_0x35308a[_0x3cf1d5(0x307)],'description':_0x35308a['WEYoE']});},async _0x100566=>{const _0x1600e7=_0xe9aa5b;await _0x5e219f[_0x1600e7(0x201)](withTelemetry,_0x5e219f['rCXxL'],()=>hook(_0x1600e7(0x1d9),_0x100566[_0x1600e7(0x2ed)]));})[_0xe9aa5b(0x2a8)](_0x5e219f['bBwUj'],{'type':'string','description':_0xe9aa5b(0x209)})['option'](_0xe9aa5b(0x2ed),{'type':_0xe9aa5b(0x320),'description':_0x5e219f['LrDKm']});},async _0x488672=>{const _0xc5153f=_0x36b798;_0x488672['name']&&await hook(_0x488672[_0xc5153f(0x1da)],_0x488672[_0x5e219f['OpgjA']]);})[_0x36b798(0x2a4)](0x1,'You\x20must\x20specify\x20a\x20command')[_0x36b798(0x1a6)]()['fail'](async(_0x2faa24,_0x33963e,_0x6b9ea0)=>{const _0x387141=_0x36b798,_0x5a4f9a=_0x5e219f[_0x387141(0x204)](sanitizeArgs,process['argv'][_0x387141(0x2be)](0x2)),_0x425f2e=_0x5e219f[_0x387141(0x29b)](getErrorType,_0x2faa24,_0x33963e);if(_0x2faa24&&_0x2faa24[_0x387141(0x1c0)](_0x5e219f[_0x387141(0x2fe)])){const _0x292a02=process[_0x387141(0x273)][0x2];console[_0x387141(0x313)]('\x0aUnknown\x20command:\x20'+_0x292a02),console[_0x387141(0x313)](_0x387141(0x1a9));}else{if(_0x2faa24)console[_0x387141(0x313)]('\x0a'+_0x2faa24+'\x0a');else _0x33963e&&console['error']('\x0aError:\x20'+_0x33963e['message']+'\x0a');}await _0x5e219f['JpFKe'](logDesirePath,{'rawCommand':_0x5a4f9a,'errorMessage':_0x2faa24||_0x33963e?.['message'],'errorType':_0x425f2e});const _0x11755f=_0x5e219f[_0x387141(0x316)](getCurrentCollector);_0x11755f&&await _0x11755f[_0x387141(0x175)](_0x33963e||new Error(_0x2faa24||'Unknown\x20error')),process[_0x387141(0x20d)](0x1);})[_0x36b798(0x21b)](_0x5e219f[_0x36b798(0x304)](_0x5e219f['maShS'],_0x36b798(0x2a7))+'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)')['help']()[_0x36b798(0x311)](_0x36b798(0x1ba),'h');}process['env'][_0x1d089a(0x2aa)]!==_0x1d089a(0x289)&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()['parse']());