@ranger-testing/ranger-cli 2.5.4-alpha.27e3ee8-11 → 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 _0x8b62f1=_0x31e2;(function(_0x24fb8d,_0x2865be){const _0x428b66=_0x31e2,_0xf39f51=_0x24fb8d();while(!![]){try{const _0x3a1c7d=-parseInt(_0x428b66(0x19d))/0x1+-parseInt(_0x428b66(0x2ea))/0x2*(parseInt(_0x428b66(0x248))/0x3)+parseInt(_0x428b66(0x2bf))/0x4*(parseInt(_0x428b66(0x27e))/0x5)+-parseInt(_0x428b66(0x23c))/0x6*(parseInt(_0x428b66(0x27b))/0x7)+parseInt(_0x428b66(0x177))/0x8*(-parseInt(_0x428b66(0x239))/0x9)+parseInt(_0x428b66(0x28c))/0xa+parseInt(_0x428b66(0x2b8))/0xb;if(_0x3a1c7d===_0x2865be)break;else _0xf39f51['push'](_0xf39f51['shift']());}catch(_0x2eeccc){_0xf39f51['push'](_0xf39f51['shift']());}}}(_0x51a7,0xee983));import _0x476742 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x1ab2e1=_0x31e2,_0x27abcf={'MBPHZ':function(_0x2ee1a3,_0x3003d7){return _0x2ee1a3(_0x3003d7);},'cqkVq':function(_0x116ed9,_0x1804c2){return _0x116ed9(_0x1804c2);},'NWohJ':function(_0x2a311f,_0x26f81b,_0x1f7fcb){return _0x2a311f(_0x26f81b,_0x1f7fcb);},'jTZXw':'.ranger','HlUUp':function(_0x3d3210,_0x3a6473,_0x11521d){return _0x3d3210(_0x3a6473,_0x11521d);}};let _0x5c4f1c=process['cwd']();const _0x3e7641=_0x27abcf['MBPHZ'](parse,_0x5c4f1c)['root'];while(_0x5c4f1c!==_0x3e7641){if(_0x27abcf[_0x1ab2e1(0x2ce)](existsSync,_0x27abcf[_0x1ab2e1(0x28f)](join,_0x5c4f1c,_0x27abcf[_0x1ab2e1(0x189)]))||_0x27abcf[_0x1ab2e1(0x2ce)](existsSync,_0x27abcf['HlUUp'](join,_0x5c4f1c,_0x1ab2e1(0x200))))return _0x5c4f1c;_0x5c4f1c=dirname(_0x5c4f1c);}return process[_0x1ab2e1(0x176)]();}_0x476742[_0x8b62f1(0x2ee)]({'path':join(findProjectRoot(),_0x8b62f1(0x200))});import _0x1064cc from'yargs/yargs';function _0x31e2(_0x29b254,_0x55bce3){_0x29b254=_0x29b254-0x158;const _0x51a7db=_0x51a7();let _0x31e28d=_0x51a7db[_0x29b254];return _0x31e28d;}import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';function _0x51a7(){const _0x38c5cb=['skillup','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','gNZMZ','BhniQ','usage','ranger\x20profile\x20config\x20get','ranger\x20config\x20get','eWqEG','env-name','YTzPF','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','Manage\x20profiles','session-id','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','WyJfO','rDpFb','feature\x20add-checklist-item','YlDiv','print-access-token','ROiFU','.\x20[','Scenario\x20index\x20(1-based)','encrypt\x20<profile>','Bsojy','profile','resume\x20[id]','profile\x20encrypt-auth','dVpRs','DcxZo','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','DRPZr','PADUs','limit','setup\x20[tokenOrSubcommand]','--item','blocked','GgYhN','cpUlX','Feature\x20review\x20ID\x20to\x20restore','Manage\x20profile\x20configuration','jolrv','vgFkg','setup-header','vEcBI','.env','ONsyT','lImVO','force','List\x20all\x20config\x20for\x20a\x20profile','XrqBB','cWIWa','ranger\x20feature\x20delete','status','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','DhUQQ','qXifD','NpTLL','Scenario\x20description','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','hAvfm','isnUI','add\x20<profile-name>','disable','LCQtl','ntudm','deps','get-review','profiles','repeat','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','exitCode','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','gxXMa','include-deleted','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','login','You\x20must\x20specify\x20an\x20auth\x20subcommand','--env','get\x20<profile>\x20<key>','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','You\x20must\x20specify\x20an\x20env\x20subcommand','evaluationReason','\x20FAILED','ecTvA','hzMGY','UjvLF','zpqJI','list\x20<profile>','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','esRKF','EwCmw','show\x20[id]','list','XeBdH','syOVz','yDDCW','base-url','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','oIXAy','Skip\x20authentication','vkeyH','15543DoFgjF','checklist','profile\x20config\x20unset','56214IwewOb','ranger\x20feature\x20restore','wlSgY','HFTeD','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','\x20PARTIAL','allow-insecure-localhost','zMGwF','Qopcb','qUTYe','Unknown\x20error','XYyNn','4958637XtEYce','WacDp','cdp-endpoint','OlLwF','unset\x20<profile>\x20<key>','znOpr','opencode','string','MIPpJ','profile\x20ls','key','RANGER_TEST_PASSWORD','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','create\x20<name>','hook:enable','liutQ','GqCPw','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','ranger\x20get-review','ORsBO','user','ranger\x20config\x20unset','ikSrF','Summary:\x20','Skip\x20Chromium\x20browser\x20installation','Name\x20of\x20the\x20profile','fzVud','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','HFFxI','with-deps','boolean','GIVLB','UQQXq','Environment\x20name','profile\x20config\x20list','Switch\x20to\x20using\x20a\x20specific\x20profile','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','lapbp','MhsDC','CHQyr','YkFuF','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','ogdHL','argv','Number\x20of\x20feature\x20reviews\x20to\x20skip','toHHI','RBFLU','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','url','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','602apfJmV','add-scenario','incomplete','5OoLRIo','option','\x0aError:\x20','feature\x20create','jPsgL','safe-mode','izYrn','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','skip-chromium','--profile','enable','update','FyXoR','sOYAm','18293670YsCoym','env','PVucX','NWohJ','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','config\x20get','config\x20unset','ranger\x20feature\x20resume','unknown\x20error','ranger\x20profile\x20config\x20list','start','fzuZL','fcypF','ZJbWF','dGBuT','error','hhrve','profile\x20config\x20set','verified','ranger','OEtNM','jdqYS','okwcr','dry-run','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','You\x20must\x20specify\x20a\x20profile\x20subcommand','hFNsf','nMvpU','number','RshxG','You\x20must\x20specify\x20a\x20config\x20subcommand','MEyOB','uYJyM','LQyQM','nGOdI','BWXSC','Install\x20Chromium\x20browser\x20binary','ranger\x20feature\x20list','ranger\x20profile\x20update','unset\x20<env>\x20<key>','all','uqKwi','token','UoeDV','34697410FZVdvV','headed','debug-address-comments','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','Install\x20Ranger\x20skills','QCqpl','GzPzq','4174372NJMIhs','VrOcO','command','XMTPg','NXSyC','HOAzr','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','eNLka','DYcIi','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','YJFIL','add-scenario\x20<description>','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','MFjWU','cqkVq','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','epilogue','APsEz','debug-outcome','success','mXBQq','issues','setup-ci','Print\x20the\x20current\x20CLI\x20access\x20token','jfAoq','strictCommands','rxxKG','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','ranger\x20feature\x20show','yes','Documentation:\x0a','EAedS','dmpeM','exclude-scenario','description','RBlmu','ZQHQV','cYtGw','NgNFR','scope','Name\x20of\x20the\x20environment','2NTdzwy','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','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','KIxrq','config','Install\x20scope\x20for\x20skills','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','Login\x20failed:\x20','help','cUETI','fail','IsBkF','qpFjt','ZEsYZ','claude','Optional\x20feature\x20ID','feature','Feature\x20review\x20ID','clean','message','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','EWszY','ranger\x20feature\x20add-checklist-item','Ranger\x20API\x20token\x20(rngr_...)','json','report','wGmwi','ranger\x20setup','vZUfx','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','\x20\x20https://docs.ranger.net\x0a','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','parse','--task','update\x20<profile-name>','airNx','vofbC','DOYGS','scriptName','wBOdl','JnCQc','profile-name','PiwJC','sqABc','UrpeT','rYRBa','skXfV','POYtM','Set\x20a\x20config\x20value','cwd','7016fDnohF','name','version','ggfpv','Ecwdo','evaluation','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','slice','QiJJd','ZmfMB','add\x20env','list\x20<env>','VGtpZ','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','feature\x20show','kmPci','exit','demandCommand','jTZXw','reset\x20<profile>','array','fsXdL','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','Install\x20OS-level\x20dependencies\x20for\x20Chromium','AqHIF','use','PUBuU','NmHbW','feature\x20resume','ranger\x20auth\x20encrypt','PQfVQ','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','profile\x20config\x20get','profile\x20config\x20reset','mcp-bootstrap','ranger\x20profile\x20add','ovPze','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','1076795VjodNO','xfRuu','VmzXC','Set\x20up\x20a\x20local\x20browser\x20profile','TZNAB','zwnZi','uCheA','includes','mcp','severity','LEeoN','scenario','project','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','set\x20<profile>\x20<key>\x20<value>','sLhgU','feature\x20list','AYXFQ','Config\x20key\x20to\x20remove','Cloud\x20profile\x20name','Subcommand\x20or\x20API\x20token\x20(rngr_...)','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.','report\x20[id]','Install\x20scope\x20for\x20plugin\x20and\x20skills','test_output','bMquq','positional','Evaluation:\x20','some','EPRWW','RANGER_PROFILE','--scenario','current-branch','hasbf','model','skip-auth','gikqd','task','NUPGz','Get\x20a\x20config\x20value','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','nKYIo','value','vBroY','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','unhandledRejection','profile\x20update','tokenOrSubcommand','--notes','item','log','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','zTbUj','notes','snlHA'];_0x51a7=function(){return _0x38c5cb;};return _0x51a7();}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'](_0x8b62f1(0x1ca),async _0x83ad5d=>{const _0x4bf23d=_0x8b62f1,_0x17b398={'bznIR':function(_0x19fb32){return _0x19fb32();}},_0x455dec=_0x17b398['bznIR'](getCurrentCollector);_0x455dec&&await _0x455dec['trackCommandError'](_0x83ad5d),process[_0x4bf23d(0x21a)]=0x1;});const rawArgs=process[_0x8b62f1(0x274)][_0x8b62f1(0x17e)](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=_0x8b62f1(0x17d),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(_0x1c2b47,_0x12451f){console['error']('\x0a'+_0x1c2b47+'\x20is\x20now\x20'+_0x12451f+'\x0a');}function argUsed(_0xdca8b1){const _0x4974ce=_0x8b62f1;return rawArgs[_0x4974ce(0x1b9)](_0x49485c=>_0x49485c===_0xdca8b1||_0x49485c['startsWith'](_0xdca8b1+'='));}function warnFlagRenamed(_0x37e7ee,_0x401d06,_0x206a3a){const _0x44cdcd={'iQavs':function(_0x26a916,_0x7b9555){return _0x26a916(_0x7b9555);},'IpvrH':function(_0x4b8ccf,_0x2eb644,_0x513f7a){return _0x4b8ccf(_0x2eb644,_0x513f7a);}};_0x44cdcd['iQavs'](argUsed,_0x401d06)&&_0x44cdcd['IpvrH'](warnRenamed,_0x37e7ee+'\x20'+_0x401d06,_0x37e7ee+'\x20'+_0x206a3a);}async function runGoCommand(_0x4fbded,_0x8ce5b7=![]){const _0x553a13=_0x8b62f1,_0x291978={'IIGCo':function(_0x470cf0,_0x16ac12,_0x142bb7){return _0x470cf0(_0x16ac12,_0x142bb7);},'emVAD':'ranger\x20go','SRkhD':function(_0x553400,_0x1c4095,_0x4d1e0c,_0x3cf8a4){return _0x553400(_0x1c4095,_0x4d1e0c,_0x3cf8a4);},'HrWsB':_0x553a13(0x166),'eWqEG':_0x553a13(0x234),'esRKF':_0x553a13(0x2d3),'uRonm':function(_0x84ddf1,_0x34f959){return _0x84ddf1+_0x34f959;},'EAedS':function(_0x583b45,_0x2e08e7){return _0x583b45===_0x2e08e7;},'klTve':_0x553a13(0x29e),'icAkh':'\x20VERIFIED','HQicH':_0x553a13(0x1f7),'wHIiK':_0x553a13(0x226),'MEyOB':'\x0aIssues:','RBFLU':function(_0x3a7a77,_0x5f23b6){return _0x3a7a77===_0x5f23b6;}};_0x8ce5b7&&_0x291978['IIGCo'](warnRenamed,'ranger\x20verify-feature',_0x291978['emVAD']);warnFlagRenamed('ranger\x20go',_0x553a13(0x221),_0x553a13(0x287)),_0x291978['SRkhD'](warnFlagRenamed,'ranger\x20go',_0x291978['HrWsB'],_0x553a13(0x1cd)),_0x291978['SRkhD'](warnFlagRenamed,_0x291978['emVAD'],_0x553a13(0x1f6),'--scenario');const _0x4bc7c8=await loadRangerConfig(),_0x142493=isByokEnabled(),_0x25becb=_0x4fbded[_0x553a13(0x1bf)],_0x49dc3a=_0x4bc7c8['model'],_0x44fa85=await verifyFeature({'featureId':_0x4fbded['feature'],'profile':_0x4fbded[_0x553a13(0x1ec)]??_0x4fbded[_0x553a13(0x28d)]??process[_0x553a13(0x28d)][_0x553a13(0x1bb)],'notes':_0x4fbded['notes']??_0x4fbded['task'],'scenario':_0x4fbded[_0x553a13(0x1a8)]??_0x4fbded[_0x553a13(0x1ce)],'startPath':_0x4fbded['start-path'],'baseUrl':_0x4fbded[_0x291978[_0x553a13(0x1db)]],'debugOutcome':_0x4fbded[_0x291978[_0x553a13(0x22d)]],'debugAddressComments':_0x4fbded[_0x553a13(0x2ba)],'headed':_0x4fbded[_0x553a13(0x2b9)],'byokEnabled':_0x142493,'flagVerifyModel':_0x25becb,'configVerifyModel':_0x49dc3a});console['log'](_0x291978['uRonm']('\x0a','='[_0x553a13(0x218)](0x3c))),console['log'](_0x291978[_0x553a13(0x2e0)](_0x44fa85['evaluation'],_0x291978['klTve'])?_0x291978['icAkh']:_0x291978['EAedS'](_0x44fa85['evaluation'],_0x553a13(0x27d))?'\x20INCOMPLETE':_0x291978[_0x553a13(0x2e0)](_0x44fa85[_0x553a13(0x17c)],'partial')?_0x553a13(0x241):_0x291978[_0x553a13(0x2e0)](_0x44fa85[_0x553a13(0x17c)],_0x291978['HQicH'])?'\x20BLOCKED':_0x291978['wHIiK']),console[_0x553a13(0x1cf)]('='[_0x553a13(0x218)](0x3c)),console[_0x553a13(0x1cf)](_0x553a13(0x25f)+_0x44fa85['summary']),console[_0x553a13(0x1cf)](_0x553a13(0x1b8)+_0x44fa85[_0x553a13(0x17c)]),console[_0x553a13(0x1cf)]('Reason:\x20'+_0x44fa85[_0x553a13(0x225)]),_0x44fa85[_0x553a13(0x2d6)]?.['length']&&(console['log'](_0x291978[_0x553a13(0x2ab)]),_0x44fa85['issues']['forEach']((_0x186126,_0x586041)=>{const _0x59575f=_0x553a13;console[_0x59575f(0x1cf)]('\x0a'+(_0x586041+0x1)+_0x59575f(0x1e8)+_0x186126[_0x59575f(0x1a6)]+']\x20'+_0x186126['description']);})),process['exit'](_0x291978[_0x553a13(0x277)](_0x44fa85['evaluation'],_0x291978['klTve'])?0x0:0x1);}export function buildParser(_0x22ef75){const _0x4c15fe=_0x8b62f1,_0x412be0={'dGBuT':_0x4c15fe(0x178),'zwnZi':'string','TZNAB':'Feature\x20review\x20name','LYocp':'Feature\x20review\x20description','sqABc':'scenario','KIxrq':_0x4c15fe(0x235),'VKljB':'checklist','Bsojy':function(_0x38b757,_0x32fa74){return _0x38b757+_0x32fa74;},'Qopcb':'ranger\x20create','YlDiv':'--checklist','gNZMZ':function(_0x248f75,_0x5cdb5e,_0x56333f){return _0x248f75(_0x5cdb5e,_0x56333f);},'EWszY':'current-branch','nMvpU':'boolean','ZmfMB':'number','IsBkF':'offset','snlHA':function(_0x4d1451,_0x11df05,_0x2c9ac2){return _0x4d1451(_0x11df05,_0x2c9ac2);},'syOVz':'show','ZJbWF':function(_0x2dc0e0,_0x7ce13b,_0x3844bd){return _0x2dc0e0(_0x7ce13b,_0x3844bd);},'QCqpl':'description','rYRBa':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','LVjux':'New\x20scenario\x20description','SwKLx':'edit-scenario','LQyQM':_0x4c15fe(0x2fb),'hhrve':_0x4c15fe(0x159),'RcPSL':_0x4c15fe(0x15d),'KhwqD':_0x4c15fe(0x15e),'aQTeT':'delete','VkLOP':'setup:deps','vBroY':_0x4c15fe(0x1a5),'FXMxd':'scope','UQQXq':_0x4c15fe(0x1b4),'zTbUj':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','gxXMa':function(_0x245fcf,_0x2894ba){return _0x245fcf(_0x2894ba);},'isnUI':_0x4c15fe(0x25c),'sdzFk':'url','hvNUG':'Base\x20URL\x20of\x20the\x20running\x20app','ecTvA':'skip-auth','JnCQc':'Skip\x20browser\x20authentication','jVIRf':_0x4c15fe(0x203),'uxFoo':_0x4c15fe(0x1d0),'zMGwF':'skip-chromium','MIPpJ':_0x4c15fe(0x1a9),'mlamX':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','ORsBO':_0x4c15fe(0x24e),'DRPZr':_0x4c15fe(0x199),'mMPSh':_0x4c15fe(0x1cc),'rDpFb':_0x4c15fe(0x215),'izYrn':_0x4c15fe(0x2b0),'mICTA':_0x4c15fe(0x217),'toHHI':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','iDwUw':_0x4c15fe(0x263),'OmIiF':_0x4c15fe(0x242),'VGtpZ':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','wlSgY':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','VmzXC':'API\x20token','EwCmw':'profile','uSTMo':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','zrGZn':_0x4c15fe(0x2d7),'gikqd':_0x4c15fe(0x2ef),'RRQpf':function(_0x388c6f,_0x27c625){return _0x388c6f(_0x27c625);},'ECFyk':_0x4c15fe(0x1d4),'WacDp':function(_0xfd34a3,_0x39eb6e,_0xf34a3d){return _0xfd34a3(_0x39eb6e,_0xf34a3d);},'airNx':_0x4c15fe(0x1b0),'bMquq':'profile\x20login','AqHIF':_0x4c15fe(0x16e),'mXBQq':_0x4c15fe(0x2b4),'ONsyT':_0x4c15fe(0x158),'OlLwF':_0x4c15fe(0x22c),'NmHbW':_0x4c15fe(0x2de),'oIXAy':'save-creds','OdsGK':_0x4c15fe(0x278),'vkeyH':function(_0x19891b,_0x32d63b,_0x3a3c57){return _0x19891b(_0x32d63b,_0x3a3c57);},'UoeDV':'Profile\x20name','MFjWU':'key','SBkTN':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','PIoYQ':'value','PXnEQ':_0x4c15fe(0x198),'xxnRH':_0x4c15fe(0x175),'gflAF':_0x4c15fe(0x22b),'skXfV':_0x4c15fe(0x24c),'ntudm':_0x4c15fe(0x18a),'DYcIi':'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile\x20(cloud\x20profiles\x20only)','qvSPk':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','cWIWa':'profile\x20use','pYadj':_0x4c15fe(0x2cb),'uYJyM':_0x4c15fe(0x294),'lgnMo':_0x4c15fe(0x197),'CaWLD':'Add\x20profile\x20configuration','wvvXf':'use\x20<profile-name>','JyRxu':_0x4c15fe(0x26b),'dmpeM':'encrypt-auth\x20<profile>','ikSrF':_0x4c15fe(0x167),'pNmDU':'login\x20<name>','qUTYe':'config','trzCF':_0x4c15fe(0x208),'FyXoR':function(_0x4e1bb4,_0x5c903c,_0x1e551e){return _0x4e1bb4(_0x5c903c,_0x1e551e);},'QTxGR':_0x4c15fe(0x289),'CRBOy':'notes','gqphL':_0x4c15fe(0x1e9),'yDDCW':'start-path','wAYIE':_0x4c15fe(0x27a),'BhniQ':'headed','dEsYk':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','liutQ':'verified','sLhgU':'partial','YTzPF':'incomplete','kmPci':_0x4c15fe(0x1ce),'LCQtl':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','dkAxT':_0x4c15fe(0x18d),'wyaaa':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','FqBvd':_0x4c15fe(0x265),'LFAxK':_0x4c15fe(0x18e),'XeBdH':function(_0x179049,_0x3cbb9f,_0x48512b){return _0x179049(_0x3cbb9f,_0x48512b);},'wBOdl':_0x4c15fe(0x28d),'AYXFQ':'debug-outcome','lapbp':'failed','RBlmu':'env-name','sOYAm':_0x4c15fe(0x196),'cuBYU':_0x4c15fe(0x223),'hWIkE':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','TPcdp':function(_0x404d0d,_0x40da9e,_0x28d895){return _0x404d0d(_0x40da9e,_0x28d895);},'UYFAl':_0x4c15fe(0x181),'kRSbE':_0x4c15fe(0x2e9),'TAQAV':_0x4c15fe(0x190),'XYyNn':_0x4c15fe(0x1da),'mhriF':function(_0x5351d0,_0x345732,_0x3ddd49){return _0x5351d0(_0x345732,_0x3ddd49);},'kuoaY':'ranger\x20config\x20list','ylyzD':_0x4c15fe(0x295),'XrqBB':'ranger\x20profile\x20config\x20set','ZfUyH':function(_0x2345e9,_0x2902de,_0x5b3225){return _0x2345e9(_0x2902de,_0x5b3225);},'DOYGS':'ranger\x20profile\x20config\x20unset','GzPzq':'set\x20<env>\x20<key>\x20<value>','rxxKG':_0x4c15fe(0x2b3),'ROiFU':'Name\x20of\x20the\x20environment\x20to\x20update','qrVan':'ranger\x20env\x20ls','EjZvf':function(_0x1a38eb,_0x22ebd0,_0x1f50a9){return _0x1a38eb(_0x22ebd0,_0x1f50a9);},'nKYIo':_0x4c15fe(0x224),'PxPVi':'array','RBGUl':function(_0x21baaf,_0x2e622d,_0x2d9064){return _0x21baaf(_0x2e622d,_0x2d9064);},'nGOdI':function(_0x300a3a,_0x34f68a,_0xb21f61,_0x1a076f){return _0x300a3a(_0x34f68a,_0xb21f61,_0x1a076f);},'PqCXj':_0x4c15fe(0x1bc),'fsXdL':function(_0x46215c,_0x5bc23a,_0x160f7f){return _0x46215c(_0x5bc23a,_0x160f7f);},'PULMd':_0x4c15fe(0x1aa),'PiwJC':_0x4c15fe(0x2ec),'HlIWs':_0x4c15fe(0x275),'okwcr':function(_0x423c0f,_0x4b7707,_0x4362e0){return _0x423c0f(_0x4b7707,_0x4362e0);},'DxCYS':_0x4c15fe(0x2b1),'UjBlw':function(_0x5d733d,_0x1a71a6,_0x134390){return _0x5d733d(_0x1a71a6,_0x134390);},'qpFjt':_0x4c15fe(0x2dd),'Vbvni':'ranger\x20show','BvBSp':_0x4c15fe(0x185),'MewZH':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','putpW':'ranger\x20feature\x20get-feedback','ggfpv':_0x4c15fe(0x25a),'ImerX':function(_0x1e3195,_0x1f94fc,_0x57a463){return _0x1e3195(_0x1f94fc,_0x57a463);},'wGmwi':'feature\x20get-feedback','vZUfx':_0x4c15fe(0x23d),'fzVud':'feature\x20restore','ORoEV':_0x4c15fe(0x293),'hFNsf':'ranger\x20resume','ZQHQV':_0x4c15fe(0x15b),'UjvLF':_0x4c15fe(0x207),'hzMGY':'feature\x20delete','qrBtw':'create\x20<name>','QiJJd':'add-checklist-item\x20<description>','hasbf':'delete\x20[id]','DhUQQ':'restore\x20<id>','fDjdq':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','YJFIL':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','gkQPA':function(_0x10b697,_0x55740c,_0x3df9e0){return _0x10b697(_0x55740c,_0x3df9e0);},'cAgUh':_0x4c15fe(0x271),'mPuaV':_0x4c15fe(0x212),'NpTLL':_0x4c15fe(0x259),'IfwcH':function(_0xa81fe4,_0x4cf3cc,_0x4c091a){return _0xa81fe4(_0x4cf3cc,_0x4c091a);},'nDWTq':_0x4c15fe(0x1e0),'EwBIP':'Unknown\x20command','PxfVK':function(_0x4b3100){return _0x4b3100();},'BeXWl':_0x4c15fe(0x246),'gtwas':function(_0x116cb7,_0x335cd6){return _0x116cb7(_0x335cd6);},'MSPVO':'ranger','Yxkby':_0x4c15fe(0x230),'zpqJI':'show\x20[id]','rSErU':_0x4c15fe(0x2d0),'UrpeT':_0x4c15fe(0x2ca),'WyJfO':'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','fmEbI':_0x4c15fe(0x209),'yMIxn':_0x4c15fe(0x1de),'UUqOp':'Restore\x20a\x20soft-deleted\x20feature\x20review','niwbq':'login','OnXqM':_0x4c15fe(0x2bc),'CHQyr':_0x4c15fe(0x2f0),'JOxZj':_0x4c15fe(0x1df),'PUBuU':'add\x20env\x20<env-name>','ouGhq':_0x4c15fe(0x2fa),'FLsaP':'You\x20must\x20specify\x20a\x20command','PVucX':function(_0x5e7bbb,_0x42f983){return _0x5e7bbb+_0x42f983;},'sMBSp':_0x4c15fe(0x2df),'AnDSN':_0x4c15fe(0x163),'NNWyc':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)'};return _0x412be0['gtwas'](_0x1064cc,_0x22ef75??process[_0x4c15fe(0x274)]['slice'](0x2))[_0x4c15fe(0x16b)](_0x412be0['MSPVO'])[_0x4c15fe(0x1d8)](TOP_LEVEL_HELP)[_0x4c15fe(0x179)](getCurrentVersion())[_0x4c15fe(0x2c1)](_0x4c15fe(0x255),_0x4c15fe(0x240),_0x445d55=>{const _0x4cd19e=_0x4c15fe;return _0x445d55['positional'](_0x412be0[_0x4cd19e(0x29a)],{'type':_0x412be0['zwnZi'],'description':_0x412be0[_0x4cd19e(0x1a1)],'demandOption':!![]})['option']('description',{'type':_0x412be0[_0x4cd19e(0x1a2)],'alias':'d','description':_0x412be0['LYocp']})['option'](_0x412be0[_0x4cd19e(0x170)],{'type':'array','alias':'c','description':_0x412be0[_0x4cd19e(0x2ed)]})['option'](_0x412be0['VKljB'],{'type':_0x4cd19e(0x18b),'hidden':!![]});},async _0x35d72f=>{const _0x1963c6=_0x4c15fe;if(!_0x35d72f['name']){console[_0x1963c6(0x29b)](_0x412be0[_0x1963c6(0x1eb)]('Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','Example:\x20ranger\x20create\x20my-feature')),process[_0x1963c6(0x187)](0x1);return;}warnFlagRenamed(_0x412be0[_0x1963c6(0x244)],_0x412be0[_0x1963c6(0x1e5)],'--scenario');const _0x249ccd=_0x35d72f['scenario']||_0x35d72f[_0x1963c6(0x23a)];await _0x412be0['gNZMZ'](withTelemetry,'create',()=>featureCreate(_0x35d72f[_0x1963c6(0x178)],{'description':_0x35d72f['description'],'scenarios':_0x249ccd}));})[_0x4c15fe(0x2c1)](_0x412be0['Yxkby'],'List\x20all\x20feature\x20reviews',_0x489b6b=>{const _0x528b8c=_0x4c15fe;return _0x489b6b[_0x528b8c(0x27f)](_0x412be0[_0x528b8c(0x15a)],{'type':_0x412be0[_0x528b8c(0x2a7)],'description':_0x528b8c(0x1aa)})['option']('limit',{'type':_0x412be0[_0x528b8c(0x180)],'alias':'l','description':_0x528b8c(0x2ec),'default':0xa})['option'](_0x412be0[_0x528b8c(0x2f5)],{'type':_0x412be0[_0x528b8c(0x180)],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option'](_0x528b8c(0x21d),{'type':_0x528b8c(0x266),'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x2ff11e=>{const _0x2bf64a=_0x4c15fe;await _0x412be0[_0x2bf64a(0x1d6)](withTelemetry,'list',()=>featureList({'currentBranch':_0x2ff11e[_0x2bf64a(0x1bd)],'limit':_0x2ff11e['limit'],'offset':_0x2ff11e['offset'],'includeDeleted':_0x2ff11e['include-deleted']}));})['command'](_0x412be0[_0x4c15fe(0x22a)],'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x578356=>{const _0x2f58ad=_0x4c15fe;return _0x578356[_0x2f58ad(0x1b7)]('id',{'type':_0x2f58ad(0x24f),'description':'Feature\x20review\x20ID'});},async _0xe20b48=>{const _0x4b5f14=_0x4c15fe;await _0x412be0[_0x4b5f14(0x1d3)](withTelemetry,_0x412be0[_0x4b5f14(0x232)],()=>featureShow(_0xe20b48['id']));})['command'](_0x4c15fe(0x1ed),_0x412be0['rSErU'],_0x506843=>{const _0x5c0884=_0x4c15fe;return _0x506843['positional']('id',{'type':_0x5c0884(0x24f),'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x1305db=>{const _0x5d3707=_0x4c15fe;await _0x412be0[_0x5d3707(0x299)](withTelemetry,'resume',()=>featureResume(_0x1305db['id']));})[_0x4c15fe(0x2c1)](_0x412be0[_0x4c15fe(0x171)],_0x412be0[_0x4c15fe(0x1e2)],_0x5ed19e=>{const _0x195060=_0x4c15fe;return _0x5ed19e[_0x195060(0x1b7)](_0x412be0[_0x195060(0x2bd)],{'type':_0x195060(0x24f),'description':'Scenario\x20description','demandOption':!![]})[_0x195060(0x27f)]('id',{'type':'string','description':_0x412be0['rYRBa']});},async _0x3a26c1=>{const _0x93bb2b=_0x4c15fe;await withTelemetry(_0x93bb2b(0x27c),()=>featureAddScenario(_0x3a26c1['description'],_0x3a26c1['id']));})['command']('edit-scenario\x20<description>','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x4b6402=>{const _0x45a51a=_0x4c15fe;return _0x4b6402[_0x45a51a(0x1b7)](_0x412be0['QCqpl'],{'type':_0x45a51a(0x24f),'description':_0x412be0['LVjux'],'demandOption':!![]})['option']('scenario',{'type':'number','description':'Scenario\x20number\x20to\x20edit\x20(1-based)','demandOption':!![]})[_0x45a51a(0x27f)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x13138b=>{const _0x17b534=_0x4c15fe;await withTelemetry(_0x412be0['SwKLx'],()=>featureEditScenario(_0x13138b['description'],{'id':_0x13138b['id'],'scenario':_0x13138b[_0x17b534(0x1a8)]}));})[_0x4c15fe(0x2c1)](_0x4c15fe(0x1b3),_0x412be0['fmEbI'],_0x89a081=>{const _0xb82571=_0x4c15fe;return _0x89a081['positional']('id',{'type':_0x412be0[_0xb82571(0x1a2)],'description':_0x412be0[_0xb82571(0x2ad)]})['option'](_0xb82571(0x2e2),{'type':_0xb82571(0x18b),'description':_0x412be0[_0xb82571(0x29c)]})[_0xb82571(0x27f)](_0x412be0['RcPSL'],{'type':_0x412be0[_0xb82571(0x2a7)],'description':_0xb82571(0x1f1),'default':![]});},async _0x517d15=>{const _0x51f65f=_0x4c15fe,_0x5a7ef6=_0x517d15[_0x51f65f(0x2e2)],_0x414504=_0x5a7ef6?_0x5a7ef6['map'](_0x296bba=>Number(_0x296bba)):undefined;await withTelemetry(_0x412be0['KhwqD'],()=>featureReportPrDescription(_0x517d15['id'],{'excludeScenarios':_0x414504,'json':_0x517d15[_0x51f65f(0x15d)]}));})[_0x4c15fe(0x2c1)]('get-review\x20[id]','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x40185d=>{const _0x4105f0=_0x4c15fe;return _0x40185d[_0x4105f0(0x1b7)]('id',{'type':_0x412be0['zwnZi'],'description':_0x4105f0(0x2c5)});},async _0x45d842=>{const _0x1e9be6=_0x4c15fe;await _0x412be0[_0x1e9be6(0x299)](withTelemetry,_0x1e9be6(0x216),()=>featureGetReview(_0x45d842['id']));})[_0x4c15fe(0x2c1)](_0x412be0[_0x4c15fe(0x1be)],_0x412be0['yMIxn'],_0x5f30f0=>{const _0x5752b9=_0x4c15fe;return _0x5f30f0[_0x5752b9(0x1b7)]('id',{'type':'string','description':_0x412be0['LQyQM']});},async _0x3b8d74=>{await _0x412be0['ZJbWF'](withTelemetry,_0x412be0['aQTeT'],()=>featureDelete(_0x3b8d74['id']));})['command'](_0x412be0[_0x4c15fe(0x20a)],_0x412be0['UUqOp'],_0x5edbdd=>{const _0x51db89=_0x4c15fe;return _0x5edbdd[_0x51db89(0x1b7)]('id',{'type':_0x51db89(0x24f),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x11855a=>{await withTelemetry('restore',()=>featureRestore(_0x11855a['id']));})['command'](_0x4c15fe(0x1f5),'Initialize\x20Ranger\x20in\x20your\x20project',_0xb7308=>{const _0x37a1dd=_0x4c15fe,_0x460d43={'LIujr':'token','LEeoN':_0x412be0[_0x37a1dd(0x1a2)],'UOCVL':'Ranger\x20API\x20token','HFTeD':_0x412be0[_0x37a1dd(0x243)],'xxqaR':_0x412be0['ecTvA'],'NgNFR':_0x37a1dd(0x266),'DcxZo':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','vEcBI':_0x412be0[_0x37a1dd(0x250)],'RshxG':_0x412be0['UQQXq'],'vveSL':'force','fzuZL':_0x412be0['mlamX'],'vUwFG':_0x412be0['ORsBO'],'JkaFU':_0x37a1dd(0x164),'OEtNM':_0x412be0[_0x37a1dd(0x1f2)],'vhiMA':_0x37a1dd(0x1a5),'eevTU':function(_0x4813f7,_0x3b3bd8,_0x299b5d){return _0x4813f7(_0x3b3bd8,_0x299b5d);}};return _0xb7308['usage'](_0x37a1dd(0x2eb))[_0x37a1dd(0x1b7)](_0x412be0['mMPSh'],{'type':_0x412be0['zwnZi'],'description':_0x37a1dd(0x1b1)})['command']('all','Run\x20full\x20interactive\x20setup',_0x1f9003=>{const _0x28716a=_0x37a1dd;return _0x1f9003['option'](_0x460d43['LIujr'],{'type':_0x460d43[_0x28716a(0x1a7)],'description':_0x460d43['UOCVL']})['option'](_0x460d43[_0x28716a(0x23f)],{'type':'boolean','description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option'](_0x460d43['xxqaR'],{'type':_0x28716a(0x266),'description':_0x28716a(0x237),'default':![]})[_0x28716a(0x27f)](_0x28716a(0x265),{'type':_0x460d43[_0x28716a(0x2e7)],'description':_0x460d43[_0x28716a(0x1f0)],'default':![]})[_0x28716a(0x27f)]('scope',{'type':_0x460d43['LEeoN'],'choices':[_0x28716a(0x25c),_0x460d43[_0x28716a(0x1ff)]],'description':_0x460d43[_0x28716a(0x2a9)]})[_0x28716a(0x27f)]('url',{'type':_0x28716a(0x24f),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})[_0x28716a(0x27f)](_0x460d43['vveSL'],{'type':'boolean','description':_0x460d43[_0x28716a(0x297)],'default':![]})['option'](_0x460d43['vUwFG'],{'type':_0x460d43['NgNFR'],'description':_0x460d43['JkaFU'],'default':![]})['option']('allow-insecure-localhost',{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]})['option'](_0x460d43[_0x28716a(0x2a0)],{'type':_0x460d43[_0x28716a(0x2e7)],'description':_0x28716a(0x254),'default':![]})['option'](_0x460d43['vhiMA'],{'type':_0x460d43[_0x28716a(0x2e7)],'description':'Alias\x20for\x20--mcp-bootstrap','default':![]});},async _0x111977=>{const _0x2a195a=_0x37a1dd;(_0x111977[_0x2a195a(0x199)]||_0x111977['mcp'])&&await _0x412be0['snlHA'](withTelemetry,_0x2a195a(0x199),()=>mcpBootstrap()),await _0x412be0[_0x2a195a(0x299)](withTelemetry,'setup:all',_0x361843=>start(_0x111977['token'],{'skipChromium':_0x111977['skip-chromium'],'skipAuth':_0x111977[_0x2a195a(0x1c0)],'withDeps':_0x111977['with-deps'],'scope':_0x111977['scope'],'url':_0x111977[_0x2a195a(0x279)],'force':_0x111977[_0x2a195a(0x203)],'opencode':_0x111977['opencode'],'allowInsecureLocalhost':_0x111977['allow-insecure-localhost']},_0x361843));})['command'](_0x412be0[_0x37a1dd(0x1e3)],_0x412be0[_0x37a1dd(0x284)],_0x198f37=>{const _0x1508f2=_0x37a1dd;return _0x198f37['option']('with-deps',{'type':_0x412be0[_0x1508f2(0x2a7)],'description':_0x1508f2(0x21b),'default':![]});},async _0x3e9b79=>{const _0x26afb6=_0x37a1dd;await _0x412be0[_0x26afb6(0x1d6)](withTelemetry,_0x412be0['VkLOP'],()=>ensureChromium(_0x3e9b79['with-deps']));})[_0x37a1dd(0x2c1)](_0x37a1dd(0x21f),'Authenticate\x20with\x20Ranger',_0x4e9c3c=>{const _0x38b696=_0x37a1dd;return _0x4e9c3c['option']('token',{'type':_0x412be0['zwnZi'],'description':_0x38b696(0x15c)})[_0x38b696(0x27f)](_0x412be0[_0x38b696(0x1c8)],{'type':_0x412be0[_0x38b696(0x2a7)],'description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x2e6f91=>{const _0x26fe55=_0x37a1dd,_0x3b2010={'jPsgL':function(_0x1181c0){return _0x1181c0();},'PADUs':_0x26fe55(0x2bb),'PQfVQ':function(_0x45ad7b,_0x203e06){return _0x45ad7b(_0x203e06);}};await _0x460d43['eevTU'](withTelemetry,'setup:login',async()=>{const _0x2d076e=_0x26fe55;if(_0x2e6f91[_0x2d076e(0x1a5)]){await mcpBootstrap();const _0xf4eca2=await _0x3b2010[_0x2d076e(0x282)](refreshCliToken);if(!_0xf4eca2)throw new Error(_0x3b2010[_0x2d076e(0x1f3)]);const _0x1a0bdc=await _0x3b2010[_0x2d076e(0x195)](getCurrentUser,_0xf4eca2);if(!_0x1a0bdc[_0x2d076e(0x2d4)])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x1a0bdc['error']);console[_0x2d076e(0x1cf)]('✓\x20Authenticated\x20to\x20'+_0x1a0bdc['user']['organizationName']);return;}await authenticate(_0x2e6f91[_0x2d076e(0x2b6)]);});})['command']('skills','Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x4cb5b0=>{const _0x5eb4cb=_0x37a1dd;return _0x4cb5b0[_0x5eb4cb(0x27f)](_0x412be0['FXMxd'],{'type':_0x412be0[_0x5eb4cb(0x1a2)],'choices':['user','project'],'description':_0x412be0[_0x5eb4cb(0x268)]})['option']('opencode',{'type':_0x412be0['nMvpU'],'description':_0x412be0[_0x5eb4cb(0x1d1)],'default':![]});},async _0x4c3945=>{const _0x3da1f2=_0x37a1dd,_0xf89cfe={'jfAoq':function(_0x2d91c0,_0x139b67,_0x373f4e){return _0x2d91c0(_0x139b67,_0x373f4e);},'XMTPg':function(_0xdff91f){return _0xdff91f();},'qXifD':function(_0x4d034d,_0x13cc7b){return _0x412be0['gxXMa'](_0x4d034d,_0x13cc7b);}};await _0x412be0[_0x3da1f2(0x1d6)](withTelemetry,'setup:skills',async()=>{const _0x556e1d=_0x3da1f2,_0x3d942b=_0x4c3945[_0x556e1d(0x2e8)];if(_0x4c3945['opencode']){const _0x396a1f=await ensureOpencodePluginConfig(_0x3d942b);_0x396a1f&&await _0xf89cfe[_0x556e1d(0x2d9)](installSkill,_0x556e1d(0x29f),{'level':_0x396a1f[_0x556e1d(0x2e8)],'cliVersion':_0xf89cfe[_0x556e1d(0x2c2)](getCurrentVersion),'platform':'opencode'});}else await _0xf89cfe[_0x556e1d(0x20b)](ensureClaudePlugin,_0x3d942b),await _0xf89cfe['qXifD'](ensureClaudeSkills,_0x3d942b);});})['command'](_0x412be0['mICTA'],_0x37a1dd(0x1a0),_0x39b84e=>{const _0x277745=_0x37a1dd;return _0x39b84e[_0x277745(0x27f)](_0x277745(0x2e8),{'type':'string','choices':[_0x412be0['isnUI'],_0x277745(0x1a9)],'description':'Where\x20to\x20store\x20the\x20profile'})['option'](_0x412be0['sdzFk'],{'type':'string','description':_0x412be0['hvNUG']})[_0x277745(0x27f)](_0x412be0[_0x277745(0x227)],{'type':_0x412be0[_0x277745(0x2a7)],'description':_0x412be0[_0x277745(0x16d)],'default':![]})['option'](_0x412be0['jVIRf'],{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option']('allow-insecure-localhost',{'type':_0x412be0[_0x277745(0x2a7)],'description':_0x412be0['uxFoo'],'default':![]});},async _0x1423aa=>{const _0x5985db=_0x37a1dd;await _0x412be0['snlHA'](withTelemetry,'setup:profiles',_0x35d770=>ensureLocalEnv({'url':_0x1423aa[_0x5985db(0x279)],'force':_0x1423aa['force'],'allowInsecureLocalhost':_0x1423aa[_0x5985db(0x242)],'scope':_0x1423aa[_0x5985db(0x2e8)]===_0x5985db(0x25c)?'user':undefined},_0x35d770));})['option'](_0x412be0[_0x37a1dd(0x243)],{'type':_0x37a1dd(0x266),'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x37a1dd(0x27f)](_0x412be0['FXMxd'],{'type':_0x37a1dd(0x24f),'choices':[_0x37a1dd(0x25c)],'hidden':!![],'description':_0x412be0[_0x37a1dd(0x276)]})['option']('url',{'type':_0x37a1dd(0x24f),'description':_0x412be0['iDwUw']})[_0x37a1dd(0x27f)](_0x37a1dd(0x203),{'type':_0x412be0['nMvpU'],'description':_0x37a1dd(0x285),'default':![]})['option'](_0x412be0[_0x37a1dd(0x25b)],{'type':'boolean','description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})['option'](_0x412be0['OmIiF'],{'type':_0x412be0[_0x37a1dd(0x2a7)],'description':_0x412be0[_0x37a1dd(0x183)],'default':![]})['option'](_0x37a1dd(0x199),{'type':_0x412be0['nMvpU'],'description':_0x412be0[_0x37a1dd(0x23e)],'default':![]})[_0x37a1dd(0x27f)](_0x412be0['ecTvA'],{'type':'boolean','description':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','default':![]})['option']('with-deps',{'type':'boolean','description':_0x37a1dd(0x21b),'default':![]})[_0x37a1dd(0x27f)]('token',{'type':'string','hidden':!![],'description':_0x412be0[_0x37a1dd(0x19f)]});},async _0x507ab8=>{const _0x5f27f7=_0x4c15fe,_0x16c294=_0x507ab8[_0x5f27f7(0x1cc)],_0x320203=_0x507ab8[_0x5f27f7(0x2b6)]??_0x16c294;_0x507ab8[_0x412be0[_0x5f27f7(0x1f2)]]&&await _0x412be0['ZJbWF'](withTelemetry,'mcp-bootstrap',()=>mcpBootstrap()),await withTelemetry(_0x5f27f7(0x296),_0x5e5cf0=>start(_0x320203,{'skipChromium':_0x507ab8[_0x5f27f7(0x286)],'skipAuth':_0x507ab8[_0x5f27f7(0x1c0)],'withDeps':_0x507ab8['with-deps'],'scope':_0x507ab8['scope'],'url':_0x507ab8['url'],'force':_0x507ab8[_0x5f27f7(0x203)],'opencode':_0x507ab8['opencode'],'allowInsecureLocalhost':_0x507ab8[_0x5f27f7(0x242)]},_0x5e5cf0));})['command']('setup-ci\x20<token>','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0x2e7afa=>{const _0x2b979f=_0x4c15fe;return _0x2e7afa[_0x2b979f(0x1b7)]('token',{'type':'string','description':'Ranger\x20API\x20token','demandOption':!![]})['option'](_0x412be0[_0x2b979f(0x22e)],{'type':_0x2b979f(0x24f),'description':_0x2b979f(0x162)})['option']('base-url',{'type':_0x2b979f(0x24f),'description':_0x412be0['uSTMo']})[_0x2b979f(0x27f)](_0x412be0['zMGwF'],{'type':_0x2b979f(0x266),'description':_0x2b979f(0x260),'default':![]});},async _0x910b5=>{await _0x412be0['ZJbWF'](withTelemetry,_0x412be0['zrGZn'],_0x1af16e=>setupCi(_0x910b5['token'],{'profile':_0x910b5['profile'],'baseUrl':_0x910b5['base-url'],'skipChromium':_0x910b5['skip-chromium']},_0x1af16e));})[_0x4c15fe(0x2c1)](_0x412be0['niwbq'],_0x4c15fe(0x184),()=>{},async()=>{const _0xa56f4e=_0x4c15fe;await withTelemetry(_0xa56f4e(0x21f),()=>login());})[_0x4c15fe(0x2c1)]('skillup',_0x412be0['OnXqM'],_0x5d0e8f=>{const _0x1fdf33=_0x4c15fe;return _0x5d0e8f[_0x1fdf33(0x27f)]('opencode',{'type':_0x1fdf33(0x266),'description':'Install\x20skills\x20for\x20OpenCode','default':![]})['option'](_0x412be0['FXMxd'],{'type':_0x412be0[_0x1fdf33(0x1a2)],'choices':[_0x412be0[_0x1fdf33(0x210)],_0x412be0['MIPpJ']],'description':_0x412be0[_0x1fdf33(0x1c1)]});},async _0x1489ea=>{const _0x23b248=_0x4c15fe,_0x14452e=_0x412be0['RRQpf'](Boolean,_0x1489ea[_0x23b248(0x24e)]);await withTelemetry(_0x412be0['ECFyk'],()=>skillup({'autoInstall':_0x1489ea['scope'],'platform':_0x14452e?_0x23b248(0x24e):_0x23b248(0x2f8)}));})[_0x4c15fe(0x2c1)](_0x4c15fe(0x2fc),_0x412be0[_0x4c15fe(0x26f)],()=>{},async()=>{await withTelemetry('clean',()=>clean());})[_0x4c15fe(0x2c1)]([_0x412be0['EwCmw'],'profiles'],_0x412be0['JOxZj'],_0x314a1a=>{const _0x4fd36e=_0x4c15fe,_0x72b061={'EPRWW':_0x412be0[_0x4fd36e(0x1a2)],'bQBYR':_0x4fd36e(0x20e),'eNLka':_0x4fd36e(0x203),'fcypF':_0x412be0['nMvpU'],'lImVO':_0x412be0['qvSPk'],'YkFuF':_0x4fd36e(0x1a9),'RaBBZ':_0x4fd36e(0x2de),'kAhCd':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','vIkgj':function(_0x3fd5a6,_0x516115,_0x3d5b78,_0x5c09c1){return _0x3fd5a6(_0x516115,_0x3d5b78,_0x5c09c1);},'KeJTW':_0x4fd36e(0x24a),'WvErP':_0x412be0[_0x4fd36e(0x206)],'HOAzr':_0x412be0[_0x4fd36e(0x2b7)],'VrOcO':function(_0x2b828b,_0x37c98e,_0x1d569a){return _0x2b828b(_0x37c98e,_0x1d569a);},'cYtGw':_0x4fd36e(0x16e),'GgYhN':'Name\x20of\x20the\x20profile\x20to\x20update','qpAFj':_0x412be0['pYadj'],'jdqYS':_0x412be0[_0x4fd36e(0x2ac)],'vgFkg':_0x4fd36e(0x1ec),'NUPGz':'key','faOpE':'Config\x20key','qElPY':_0x412be0['lgnMo']};return _0x314a1a[_0x4fd36e(0x1d8)](PROFILE_HELP)['command'](_0x4fd36e(0x211),_0x412be0['CaWLD'],_0x1a9ed8=>{const _0x4fe297=_0x4fd36e;return _0x1a9ed8[_0x4fe297(0x1b7)]('profile-name',{'type':_0x4fe297(0x24f),'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x4fe297(0x27f)]('ci',{'type':_0x4fe297(0x266),'description':_0x4fe297(0x290),'default':![]})['option']('skip-auth',{'type':'boolean','description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0x4fe297(0x27f)]('url',{'type':_0x72b061['EPRWW'],'description':_0x72b061['bQBYR']})[_0x4fe297(0x27f)](_0x72b061[_0x4fe297(0x2c6)],{'type':_0x72b061[_0x4fe297(0x298)],'description':_0x4fe297(0x285),'default':![]})['option']('cdp-endpoint',{'type':_0x72b061[_0x4fe297(0x1ba)],'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})['option'](_0x4fe297(0x242),{'type':_0x72b061['fcypF'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0x4fe297(0x27f)]('safe-mode',{'type':_0x4fe297(0x266),'description':_0x72b061[_0x4fe297(0x202)],'default':![]})['option'](_0x4fe297(0x1fe),{'type':_0x72b061[_0x4fe297(0x1ba)],'array':!![],'description':_0x4fe297(0x1d5)})[_0x4fe297(0x27f)](_0x4fe297(0x2e8),{'type':_0x72b061['EPRWW'],'choices':[_0x4fe297(0x25c),_0x72b061[_0x4fe297(0x270)]],'description':_0x4fe297(0x1c9)})[_0x4fe297(0x27f)](_0x72b061['RaBBZ'],{'type':_0x4fe297(0x266),'alias':'y','description':_0x72b061['kAhCd'],'default':![]});},async _0x500bbc=>{const _0x53c183=_0x4fd36e;await _0x72b061['vIkgj'](withTelemetry,'profile\x20add',_0x4c9ab5=>addEnv(_0x500bbc['profile-name'],{'ci':_0x500bbc['ci'],'skipAuth':_0x500bbc['skip-auth'],'url':_0x500bbc['url'],'force':_0x500bbc[_0x53c183(0x203)],'cdpEndpoint':_0x500bbc['cdp-endpoint'],'allowInsecureLocalhost':_0x500bbc[_0x53c183(0x242)],'safeMode':_0x500bbc[_0x53c183(0x283)],'setupHeader':_0x500bbc[_0x53c183(0x1fe)],'scope':_0x500bbc['scope'],'yes':_0x500bbc['yes']},_0x4c9ab5),{'isElectron':Boolean(_0x500bbc[_0x72b061['KeJTW']])});})['command'](_0x412be0['wvvXf'],_0x412be0['JyRxu'],_0x4191d3=>{const _0xe03fc8=_0x4fd36e;return _0x4191d3['positional']('profile-name',{'type':_0x72b061[_0xe03fc8(0x1ba)],'description':_0xe03fc8(0x261),'demandOption':!![]});},async _0x1c3f81=>{await withTelemetry(_0x72b061['WvErP'],()=>useEnv(_0x1c3f81['profile-name']));})[_0x4fd36e(0x2c1)](_0x412be0[_0x4fd36e(0x2e1)],_0x4fd36e(0x2dc),_0x3aef03=>{const _0x134742=_0x4fd36e;return _0x3aef03[_0x134742(0x1b7)]('profile',{'type':_0x134742(0x24f),'description':_0x72b061[_0x134742(0x2c4)],'demandOption':!![]});},async _0x42220d=>{const _0x257e81=_0x4fd36e;await _0x72b061[_0x257e81(0x2c0)](withTelemetry,_0x257e81(0x1ee),()=>authEncrypt(_0x42220d[_0x257e81(0x1ec)]));})['command']('ls','List\x20all\x20profiles',()=>{},async()=>{const _0x2d7902=_0x4fd36e;await withTelemetry(_0x2d7902(0x251),()=>envList());})['command'](_0x412be0[_0x4fd36e(0x25e)],'Update\x20authentication\x20for\x20an\x20existing\x20profile',_0x261eff=>{const _0x297905=_0x4fd36e;return _0x261eff['positional'](_0x72b061[_0x297905(0x2e6)],{'type':'string','description':_0x72b061[_0x297905(0x1f8)],'demandOption':!![]})['option']('allow-insecure-localhost',{'type':_0x297905(0x266),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)'});},async _0x3998f4=>{const _0x405df0=_0x4fd36e;await _0x412be0[_0x405df0(0x249)](withTelemetry,_0x405df0(0x1cb),_0x2b4d38=>updateEnv(_0x3998f4[_0x405df0(0x16e)],_0x2b4d38,{'allowInsecureLocalhost':_0x3998f4['allow-insecure-localhost']}));})[_0x4fd36e(0x2c1)](_0x412be0['pNmDU'],![],_0x2ccbf4=>{const _0x32b6b6=_0x4fd36e;return _0x2ccbf4['positional'](_0x412be0['dGBuT'],{'type':'string','description':_0x412be0[_0x32b6b6(0x168)],'demandOption':!![]});},async _0x497093=>{const _0x523a95=_0x4fd36e;await withTelemetry(_0x412be0[_0x523a95(0x1b6)],async()=>{const _0x3fcd0c=_0x523a95,_0x204c74=process[_0x3fcd0c(0x28d)]['RANGER_TEST_USERNAME'],_0x4797d5=process[_0x3fcd0c(0x28d)][_0x3fcd0c(0x253)];(!_0x204c74||!_0x4797d5)&&(console['error'](_0x3fcd0c(0x2cf)),process[_0x3fcd0c(0x187)](0x1));const _0x24d602=_0x497093[_0x3fcd0c(0x178)],_0xe1d4a9=await serverSideLogin(_0x24d602,{'force':!![]});_0xe1d4a9['status']==='not_configured'&&(console['error'](_0x72b061['qpAFj']),process['exit'](0x1)),_0xe1d4a9[_0x3fcd0c(0x208)]==='failed'&&(console[_0x3fcd0c(0x29b)](_0x3fcd0c(0x2f1)+(_0xe1d4a9['error']??_0x72b061[_0x3fcd0c(0x2a1)])),_0xe1d4a9['test_output']&&console[_0x3fcd0c(0x29b)](_0xe1d4a9[_0x3fcd0c(0x1b5)]),process[_0x3fcd0c(0x187)](0x1)),console[_0x3fcd0c(0x1cf)]('✓\x20Server-side\x20login\x20succeeded\x20for\x20\x27'+_0x24d602+'\x27.\x20Session\x20written\x20to\x20cloud\x20profile.');});})[_0x4fd36e(0x2c1)]('migrate\x20[profile-name]','Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)',_0x427887=>{const _0x3bbe0a=_0x4fd36e;return _0x427887[_0x3bbe0a(0x1b7)](_0x412be0[_0x3bbe0a(0x18f)],{'type':_0x412be0['zwnZi'],'description':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.'})[_0x3bbe0a(0x27f)](_0x412be0[_0x3bbe0a(0x2d5)],{'type':_0x3bbe0a(0x266),'description':_0x412be0[_0x3bbe0a(0x201)],'default':![]})[_0x3bbe0a(0x27f)](_0x3bbe0a(0x2a3),{'type':_0x412be0['nMvpU'],'description':_0x412be0[_0x3bbe0a(0x24b)],'default':![]})['option'](_0x412be0[_0x3bbe0a(0x192)],{'type':'boolean','alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})[_0x3bbe0a(0x27f)](_0x412be0[_0x3bbe0a(0x236)],{'type':_0x3bbe0a(0x266),'description':_0x412be0['OdsGK'],'default':![]});},async _0x7253f4=>{const _0x150b1e=_0x4fd36e;await _0x412be0['vkeyH'](withTelemetry,'profile\x20migrate',_0x29d222=>migrateProfile({'profileName':_0x7253f4['profile-name'],'all':_0x7253f4['all'],'dryRun':_0x7253f4[_0x150b1e(0x2a3)],'yes':_0x7253f4['yes'],'saveCreds':_0x7253f4['save-creds']},_0x29d222));})[_0x4fd36e(0x2c1)](_0x412be0[_0x4fd36e(0x245)],_0x4fd36e(0x1fb),_0x5e830c=>{const _0x4404f2=_0x4fd36e,_0xac362a={'DGHrH':_0x412be0[_0x4404f2(0x22e)],'znOpr':_0x412be0['UoeDV'],'HFFxI':_0x412be0['MFjWU'],'uqKwi':'string','WMHdh':_0x412be0['SBkTN'],'cpUlX':_0x412be0['PIoYQ'],'yCZpo':'Config\x20key\x20to\x20remove','vofbC':function(_0x2934d2,_0x4380bc,_0x29cc50){return _0x412be0['ZJbWF'](_0x2934d2,_0x4380bc,_0x29cc50);},'aeJhH':_0x4404f2(0x23b),'gtEvj':function(_0x35055e,_0x4bb980,_0x7e608b){const _0x4c4f12=_0x4404f2;return _0x412be0[_0x4c4f12(0x238)](_0x35055e,_0x4bb980,_0x7e608b);},'lxynd':_0x412be0['PXnEQ']};return _0x5e830c['usage'](PROFILE_CONFIG_HELP)['command'](_0x4404f2(0x1ab),_0x412be0['xxnRH'],_0x2942b3=>{const _0x308237=_0x4404f2;return _0x2942b3['positional'](_0xac362a['DGHrH'],{'type':_0x308237(0x24f),'description':_0xac362a[_0x308237(0x24d)],'demandOption':!![]})['positional'](_0xac362a[_0x308237(0x264)],{'type':_0xac362a[_0x308237(0x2b5)],'description':_0xac362a['WMHdh'],'demandOption':!![]})['positional'](_0xac362a[_0x308237(0x1f9)],{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0x569320=>{const _0x13d1c3=_0x4404f2;await withTelemetry(_0x13d1c3(0x29d),()=>configSet(_0x569320[_0x13d1c3(0x1ec)],_0x569320[_0x13d1c3(0x252)],_0x569320[_0x13d1c3(0x1c7)]));})['command'](_0x4404f2(0x222),_0x4404f2(0x1c4),_0x3b0dbf=>{const _0x5b756c=_0x4404f2;return _0x3b0dbf[_0x5b756c(0x1b7)](_0x72b061[_0x5b756c(0x1fd)],{'type':_0x5b756c(0x24f),'description':_0x72b061[_0x5b756c(0x2c4)],'demandOption':!![]})['positional'](_0x72b061[_0x5b756c(0x1c3)],{'type':_0x72b061['EPRWW'],'description':_0x72b061['faOpE'],'demandOption':!![]});},async _0x1c79de=>{const _0x43abb4=_0x4404f2;await withTelemetry(_0x72b061['qElPY'],()=>configGet(_0x1c79de[_0x43abb4(0x1ec)],_0x1c79de['key']));})[_0x4404f2(0x2c1)](_0x412be0['gflAF'],_0x4404f2(0x204),_0x440c03=>{const _0x50a7af=_0x4404f2;return _0x440c03[_0x50a7af(0x1b7)](_0xac362a['DGHrH'],{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x47b277=>{const _0x107158=_0x4404f2;await _0x72b061['VrOcO'](withTelemetry,_0x107158(0x26a),()=>configList(_0x47b277[_0x107158(0x1ec)]));})[_0x4404f2(0x2c1)](_0x412be0[_0x4404f2(0x173)],'Remove\x20a\x20config\x20value',_0x1dd0d4=>{const _0x163f31=_0x4404f2;return _0x1dd0d4['positional'](_0x163f31(0x1ec),{'type':_0x163f31(0x24f),'description':'Profile\x20name','demandOption':!![]})['positional'](_0xac362a[_0x163f31(0x264)],{'type':_0xac362a['uqKwi'],'description':_0xac362a['yCZpo'],'demandOption':!![]});},async _0x254b5d=>{const _0x1d354f=_0x4404f2;await _0xac362a[_0x1d354f(0x169)](withTelemetry,_0xac362a['aeJhH'],()=>configUnset(_0x254b5d[_0x1d354f(0x1ec)],_0x254b5d[_0x1d354f(0x252)]));})[_0x4404f2(0x2c1)](_0x412be0[_0x4404f2(0x214)],_0x412be0[_0x4404f2(0x2c7)],_0x4130a=>{const _0x539d81=_0x4404f2;return _0x4130a[_0x539d81(0x1b7)](_0xac362a['DGHrH'],{'type':'string','description':_0xac362a['znOpr'],'demandOption':!![]});},async _0x13e257=>{await _0xac362a['gtEvj'](withTelemetry,_0xac362a['lxynd'],()=>configReset(_0x13e257['profile']));})['demandCommand'](0x1,_0x4404f2(0x219));})[_0x4fd36e(0x188)](0x1,_0x4fd36e(0x2a5));})[_0x4c15fe(0x2c1)](_0x412be0['trzCF'],_0x4c15fe(0x1c5),()=>{},async()=>{await withTelemetry(_0x412be0['trzCF'],()=>status());})[_0x4c15fe(0x2c1)](_0x4c15fe(0x289),_0x4c15fe(0x19c),()=>{},async()=>{const _0x5a95ae=_0x4c15fe;await _0x412be0[_0x5a95ae(0x28a)](withTelemetry,_0x412be0['QTxGR'],()=>update());})['command'](_0x4c15fe(0x1e6),_0x4c15fe(0x2d8),()=>{},async()=>{const _0x154276={'ovPze':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.'};await _0x412be0['FyXoR'](withTelemetry,'print-access-token',async()=>{const _0x10de30=_0x31e2,_0x3629b7=await getToken();if(!_0x3629b7)throw new Error(_0x154276[_0x10de30(0x19b)]);console['log'](_0x3629b7);});})['command']('go',_0x4c15fe(0x21e),_0x18cc50=>{const _0xb59f2=_0x4c15fe;return _0x18cc50['option'](_0xb59f2(0x2fa),{'type':'string','description':_0xb59f2(0x2f9)})[_0xb59f2(0x27f)](_0x412be0['EwCmw'],{'type':_0xb59f2(0x24f),'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})['option'](_0x412be0['CRBOy'],{'type':_0xb59f2(0x24f),'description':_0xb59f2(0x2c8)})['option'](_0x412be0[_0xb59f2(0x170)],{'type':_0x412be0[_0xb59f2(0x180)],'description':_0x412be0['gqphL']})['option'](_0x412be0[_0xb59f2(0x233)],{'type':'string','description':_0x412be0['wAYIE']})['option']('base-url',{'type':'string','description':_0xb59f2(0x1e1)})['option']('model',{'type':_0xb59f2(0x24f),'description':_0xb59f2(0x1b2)})[_0xb59f2(0x27f)](_0x412be0[_0xb59f2(0x1d7)],{'type':_0xb59f2(0x266),'description':_0x412be0['dEsYk'],'default':![]})[_0xb59f2(0x27f)](_0xb59f2(0x2d3),{'type':_0xb59f2(0x24f),'hidden':!![],'choices':[_0x412be0[_0xb59f2(0x257)],_0x412be0[_0xb59f2(0x1ac)],_0xb59f2(0x1f7),'failed',_0x412be0[_0xb59f2(0x1dd)]]})[_0xb59f2(0x27f)]('debug-address-comments',{'type':_0x412be0['nMvpU'],'hidden':!![]})[_0xb59f2(0x27f)]('env',{'type':_0xb59f2(0x24f),'hidden':!![]})['option'](_0xb59f2(0x1c2),{'type':_0x412be0[_0xb59f2(0x1a2)],'hidden':!![]})[_0xb59f2(0x27f)](_0x412be0[_0xb59f2(0x186)],{'type':_0x412be0['ZmfMB'],'hidden':!![]});},async _0x1a2889=>{await runGoCommand(_0x1a2889);})[_0x4c15fe(0x2c1)]('auth',![],_0x3eccc9=>{const _0x58a846=_0x4c15fe,_0x19bd8b={'ogdHL':function(_0x2c7dd4,_0x53752f,_0x370502){return _0x2c7dd4(_0x53752f,_0x370502);},'Ecwdo':function(_0x3ca2c7,_0x3ecc1c){return _0x3ca2c7(_0x3ecc1c);}};return _0x3eccc9['command'](_0x58a846(0x1ea),![],_0x44a68e=>{const _0x49b0de=_0x58a846;return _0x44a68e[_0x49b0de(0x1b7)](_0x412be0[_0x49b0de(0x22e)],{'type':_0x412be0[_0x49b0de(0x1a2)],'description':'Profile\x20name','demandOption':!![]});},async _0x3ed11c=>{const _0x5d6432=_0x58a846;_0x19bd8b[_0x5d6432(0x273)](warnRenamed,_0x5d6432(0x194),'ranger\x20profile\x20encrypt-auth'),await _0x19bd8b[_0x5d6432(0x17b)](authEncrypt,_0x3ed11c['profile']);})[_0x58a846(0x188)](0x1,_0x58a846(0x220));},()=>{})[_0x4c15fe(0x2c1)]('start\x20[token]',![],_0x121487=>{const _0x5d9a1f=_0x4c15fe;return _0x121487['positional']('token',{'type':'string','description':_0x412be0[_0x5d9a1f(0x213)]})[_0x5d9a1f(0x27f)](_0x412be0['zMGwF'],{'type':_0x412be0[_0x5d9a1f(0x2a7)],'description':_0x412be0['dkAxT'],'default':![]})[_0x5d9a1f(0x27f)]('scope',{'type':'string','choices':[_0x5d9a1f(0x25c),_0x412be0['MIPpJ']],'description':_0x412be0['wyaaa']})[_0x5d9a1f(0x27f)](_0x5d9a1f(0x279),{'type':'string','description':_0x412be0['iDwUw']})[_0x5d9a1f(0x27f)](_0x412be0['jVIRf'],{'type':'boolean','description':_0x5d9a1f(0x285),'default':![]})['option'](_0x412be0[_0x5d9a1f(0x227)],{'type':'boolean','description':'Skip\x20authentication','default':![]})[_0x5d9a1f(0x27f)](_0x412be0['FqBvd'],{'type':_0x412be0[_0x5d9a1f(0x2a7)],'description':_0x412be0['LFAxK'],'default':![]});},async _0x30782b=>{const _0x4d00cf=_0x4c15fe;_0x412be0[_0x4d00cf(0x231)](warnRenamed,'ranger\x20start',_0x4d00cf(0x160)),await withTelemetry('start',_0x49f06c=>start(_0x30782b['token'],{'skipChromium':_0x30782b['skip-chromium'],'skipAuth':_0x30782b[_0x4d00cf(0x1c0)],'withDeps':_0x30782b['with-deps'],'scope':_0x30782b['scope'],'url':_0x30782b['url'],'force':_0x30782b[_0x4d00cf(0x203)]},_0x49f06c));})['command']('verify-feature',![],_0x3f48c2=>{const _0x3ee930=_0x4c15fe;return _0x3f48c2['option'](_0x412be0['wBOdl'],{'type':_0x412be0[_0x3ee930(0x1a2)],'description':_0x3ee930(0x272)})[_0x3ee930(0x27f)]('task',{'type':_0x412be0['zwnZi'],'description':_0x3ee930(0x2cc)})[_0x3ee930(0x27f)]('item',{'type':_0x3ee930(0x2a8),'description':_0x412be0['gqphL']})['option'](_0x3ee930(0x1ec),{'type':_0x412be0[_0x3ee930(0x1a2)],'hidden':!![]})['option'](_0x3ee930(0x1d2),{'type':'string','hidden':!![]})['option'](_0x3ee930(0x1a8),{'type':_0x412be0[_0x3ee930(0x180)],'hidden':!![]})[_0x3ee930(0x27f)]('start-path',{'type':_0x412be0[_0x3ee930(0x1a2)],'description':_0x412be0['wAYIE']})[_0x3ee930(0x27f)](_0x3ee930(0x234),{'type':_0x412be0[_0x3ee930(0x1a2)],'description':_0x3ee930(0x26c)})['option']('model',{'type':'string','hidden':!![]})['option'](_0x3ee930(0x2b9),{'type':_0x3ee930(0x266),'hidden':!![],'default':![]})['option'](_0x412be0[_0x3ee930(0x1ae)],{'type':'string','hidden':!![],'choices':[_0x412be0['liutQ'],_0x412be0['sLhgU'],_0x3ee930(0x1f7),_0x412be0[_0x3ee930(0x26d)],_0x412be0['YTzPF']]});},async _0x26d50b=>{await _0x412be0['ZJbWF'](runGoCommand,_0x26d50b,!![]);})[_0x4c15fe(0x2c1)](_0x412be0[_0x4c15fe(0x191)],![],_0x17c270=>{const _0x5ef799=_0x4c15fe;return _0x17c270[_0x5ef799(0x1b7)](_0x412be0[_0x5ef799(0x2e4)],{'type':_0x412be0[_0x5ef799(0x1a2)],'description':_0x412be0[_0x5ef799(0x28b)],'demandOption':!![]})[_0x5ef799(0x27f)]('ci',{'type':_0x5ef799(0x266),'description':_0x412be0['cuBYU'],'default':![]})[_0x5ef799(0x27f)]('skip-auth',{'type':_0x5ef799(0x266),'description':_0x412be0['hWIkE'],'default':![]});},async _0x516219=>{const _0x3b7191=_0x4c15fe;_0x412be0['TPcdp'](warnRenamed,'ranger\x20add\x20env',_0x3b7191(0x19a)),await withTelemetry(_0x412be0['UYFAl'],_0x36db0f=>addEnv(_0x516219[_0x3b7191(0x1dc)],{'ci':_0x516219['ci'],'skipAuth':_0x516219['skip-auth']},_0x36db0f));})[_0x4c15fe(0x2c1)]('use\x20<env-name>',![],_0x5835e4=>{return _0x5835e4['positional'](_0x412be0['RBlmu'],{'type':'string','description':_0x412be0['kRSbE'],'demandOption':!![]});},async _0x3a84b0=>{const _0x1432a2=_0x4c15fe;warnRenamed('ranger\x20use','ranger\x20profile\x20use'),await withTelemetry(_0x412be0['TAQAV'],()=>useEnv(_0x3a84b0[_0x1432a2(0x1dc)]));})[_0x4c15fe(0x2c1)]('config',![],_0x41ef34=>{const _0x2ee35e=_0x4c15fe,_0x13bf79={'dVpRs':'env','ZEsYZ':_0x2ee35e(0x24f),'POYtM':'Config\x20value','NXSyC':function(_0x198073,_0x2fa152,_0x25b1dc){return _0x198073(_0x2fa152,_0x25b1dc);},'hAvfm':'ranger\x20config\x20set','hIDoH':_0x412be0[_0x2ee35e(0x205)],'EVusz':function(_0xe3ea6,_0x536cd5,_0x1242e5){return _0x412be0['ZfUyH'](_0xe3ea6,_0x536cd5,_0x1242e5);},'BWXSC':_0x2ee35e(0x269),'uCheA':_0x412be0[_0x2ee35e(0x16a)],'dzhGf':_0x2ee35e(0x292)};return _0x41ef34['command'](_0x412be0[_0x2ee35e(0x2be)],![],_0x13e48f=>{const _0x187769=_0x2ee35e;return _0x13e48f['positional'](_0x13bf79['dVpRs'],{'type':_0x13bf79['ZEsYZ'],'description':'Environment\x20name','demandOption':!![]})[_0x187769(0x1b7)](_0x187769(0x252),{'type':_0x187769(0x24f),'description':_0x187769(0x2a4),'demandOption':!![]})['positional']('value',{'type':_0x13bf79[_0x187769(0x2f7)],'description':_0x13bf79[_0x187769(0x174)],'demandOption':!![]});},async _0x524c2f=>{const _0x2f408b=_0x2ee35e;_0x13bf79[_0x2f408b(0x2c3)](warnRenamed,_0x13bf79[_0x2f408b(0x20f)],_0x13bf79['hIDoH']),await _0x13bf79['EVusz'](withTelemetry,'config\x20set',()=>configSet(_0x524c2f['env'],_0x524c2f['key'],_0x524c2f['value']));})['command']('get\x20<env>\x20<key>',![],_0x3a42f3=>{const _0x5b2de7=_0x2ee35e;return _0x3a42f3[_0x5b2de7(0x1b7)](_0x13bf79[_0x5b2de7(0x1ef)],{'type':_0x13bf79[_0x5b2de7(0x2f7)],'description':_0x13bf79[_0x5b2de7(0x2af)],'demandOption':!![]})['positional']('key',{'type':_0x13bf79['ZEsYZ'],'description':'Config\x20key','demandOption':!![]});},async _0xdd32b2=>{const _0x512f6e=_0x2ee35e;_0x412be0['gNZMZ'](warnRenamed,_0x412be0[_0x512f6e(0x247)],_0x512f6e(0x1d9)),await _0x412be0['gNZMZ'](withTelemetry,_0x512f6e(0x291),()=>configGet(_0xdd32b2[_0x512f6e(0x28d)],_0xdd32b2[_0x512f6e(0x252)]));})[_0x2ee35e(0x2c1)](_0x2ee35e(0x182),![],_0x400345=>{const _0x57c9c7=_0x2ee35e;return _0x400345['positional'](_0x13bf79['dVpRs'],{'type':_0x13bf79[_0x57c9c7(0x2f7)],'description':_0x13bf79['BWXSC'],'demandOption':!![]});},async _0x29e7d8=>{const _0x5e33f1=_0x2ee35e;_0x412be0['mhriF'](warnRenamed,_0x412be0['kuoaY'],_0x412be0['ylyzD']),await withTelemetry('config\x20list',()=>configList(_0x29e7d8[_0x5e33f1(0x28d)]));})['command'](_0x412be0[_0x2ee35e(0x2db)],![],_0x550f68=>{const _0x15d365=_0x2ee35e;return _0x550f68[_0x15d365(0x1b7)](_0x15d365(0x28d),{'type':_0x412be0[_0x15d365(0x1a2)],'description':_0x15d365(0x269),'demandOption':!![]})[_0x15d365(0x1b7)](_0x412be0[_0x15d365(0x2cd)],{'type':_0x15d365(0x24f),'description':_0x15d365(0x1af),'demandOption':!![]});},async _0x48ac34=>{const _0x28251a=_0x2ee35e;warnRenamed(_0x28251a(0x25d),_0x13bf79[_0x28251a(0x1a3)]),await withTelemetry(_0x13bf79['dzhGf'],()=>configUnset(_0x48ac34['env'],_0x48ac34['key']));})['demandCommand'](0x1,_0x2ee35e(0x2aa));})[_0x4c15fe(0x2c1)](_0x412be0[_0x4c15fe(0x16c)],![],_0x57250c=>{const _0x2fa06c=_0x4c15fe,_0x25511a={'cUETI':_0x412be0['qrVan'],'gQfox':function(_0x35b3a2,_0x3db457,_0x303d04){return _0x412be0['EjZvf'](_0x35b3a2,_0x3db457,_0x303d04);},'GcLYZ':'ranger\x20env\x20update','GIVLB':_0x2fa06c(0x2b2)};return _0x57250c['command']('ls',![],()=>{},async()=>{const _0xcee9f2=_0x2fa06c;warnRenamed(_0x25511a[_0xcee9f2(0x2f3)],'ranger\x20profile\x20ls'),await withTelemetry('env\x20list',()=>envList());})['command']('update\x20<env-name>',![],_0x5b1dc2=>{const _0x4f709c=_0x2fa06c;return _0x5b1dc2[_0x4f709c(0x1b7)](_0x412be0[_0x4f709c(0x2e4)],{'type':'string','description':_0x412be0[_0x4f709c(0x1e7)],'demandOption':!![]});},async _0x3a8706=>{const _0x476f30=_0x2fa06c;_0x25511a['gQfox'](warnRenamed,_0x25511a['GcLYZ'],_0x25511a[_0x476f30(0x267)]),await _0x25511a['gQfox'](withTelemetry,'env\x20update',_0x139bdf=>updateEnv(_0x3a8706['env-name'],_0x139bdf));})[_0x2fa06c(0x188)](0x1,_0x412be0[_0x2fa06c(0x1c6)]);})[_0x4c15fe(0x2c1)](_0x412be0['ouGhq'],![],_0x23a3d5=>{const _0x32284a=_0x4c15fe,_0x4026b3={'ZPveR':function(_0x5b8356,_0x10c34f,_0x464560){const _0x4955b1=_0x31e2;return _0x412be0[_0x4955b1(0x231)](_0x5b8356,_0x10c34f,_0x464560);},'MhsDC':_0x412be0['ORoEV'],'jolrv':_0x412be0[_0x32284a(0x2a6)],'QdoIx':_0x412be0[_0x32284a(0x2e5)],'APsEz':_0x412be0[_0x32284a(0x172)],'GqCPw':_0x412be0[_0x32284a(0x229)],'yovdg':'ranger\x20delete','xfRuu':_0x412be0[_0x32284a(0x228)]};return _0x23a3d5['command'](_0x412be0['qrBtw'],![],_0xfd85ed=>{const _0x441e00=_0x32284a;return _0xfd85ed['positional']('name',{'type':_0x441e00(0x24f),'description':_0x412be0['TZNAB'],'demandOption':!![]})['option']('description',{'type':'string','alias':'d','description':'Feature\x20review\x20description'})[_0x441e00(0x27f)](_0x412be0['VKljB'],{'type':'array','alias':'c','description':_0x412be0['KIxrq']})[_0x441e00(0x27f)]('scenario',{'type':_0x412be0['PxPVi'],'hidden':!![]});},async _0x149db3=>{const _0x304227=_0x32284a;_0x412be0['RBGUl'](warnRenamed,'ranger\x20feature\x20create',_0x412be0['Qopcb']),_0x412be0[_0x304227(0x2ae)](warnFlagRenamed,'ranger\x20create','--checklist',_0x412be0['PqCXj']);const _0x5e809c=_0x149db3['scenario']||_0x149db3['checklist'];await _0x412be0[_0x304227(0x18c)](withTelemetry,_0x304227(0x281),()=>featureCreate(_0x149db3[_0x304227(0x178)],{'description':_0x149db3[_0x304227(0x2e3)],'scenarios':_0x5e809c}));})['command']('list',![],_0x4c3746=>{const _0x415de9=_0x32284a;return _0x4c3746['option'](_0x415de9(0x1bd),{'type':_0x415de9(0x266),'description':_0x412be0['PULMd']})[_0x415de9(0x27f)](_0x415de9(0x1f4),{'type':_0x412be0[_0x415de9(0x180)],'alias':'l','description':_0x412be0[_0x415de9(0x16f)],'default':0xa})[_0x415de9(0x27f)](_0x412be0['IsBkF'],{'type':'number','alias':'o','description':_0x412be0['HlIWs'],'default':0x0})[_0x415de9(0x27f)](_0x415de9(0x21d),{'type':_0x412be0[_0x415de9(0x2a7)],'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x58a249=>{const _0x1a6a1b=_0x32284a;_0x412be0[_0x1a6a1b(0x2a2)](warnRenamed,_0x412be0['DxCYS'],'ranger\x20list'),await withTelemetry(_0x1a6a1b(0x1ad),()=>featureList({'currentBranch':_0x58a249['current-branch'],'limit':_0x58a249['limit'],'offset':_0x58a249['offset'],'includeDeleted':_0x58a249['include-deleted']}));})['command'](_0x32284a(0x22f),![],_0x5bbc29=>{const _0x5ecde6=_0x32284a;return _0x5bbc29['positional']('id',{'type':_0x5ecde6(0x24f),'description':_0x5ecde6(0x2fb)});},async _0x199668=>{const _0x1369fe=_0x32284a;_0x412be0['UjBlw'](warnRenamed,_0x412be0[_0x1369fe(0x2f6)],_0x412be0['Vbvni']),await withTelemetry(_0x412be0['BvBSp'],()=>featureShow(_0x199668['id']));})[_0x32284a(0x2c1)](_0x32284a(0x1ed),![],_0x33977a=>{const _0x28ddf9=_0x32284a;return _0x33977a['positional']('id',{'type':_0x28ddf9(0x24f),'description':_0x412be0['MewZH']});},async _0x2b8ce5=>{const _0x2e72fa=_0x32284a;_0x4026b3['ZPveR'](warnRenamed,_0x4026b3[_0x2e72fa(0x26e)],_0x4026b3[_0x2e72fa(0x1fc)]),await withTelemetry(_0x2e72fa(0x193),()=>featureResume(_0x2b8ce5['id']));})['command'](_0x412be0[_0x32284a(0x17f)],![],_0xcca897=>{const _0x28353b=_0x32284a;return _0xcca897[_0x28353b(0x1b7)](_0x412be0['QCqpl'],{'type':_0x412be0[_0x28353b(0x1a2)],'description':_0x28353b(0x20d),'demandOption':!![]})['option']('id',{'type':_0x28353b(0x24f),'description':_0x412be0[_0x28353b(0x172)]});},async _0x525c0d=>{const _0x127101=_0x32284a;_0x4026b3['ZPveR'](warnRenamed,_0x4026b3['QdoIx'],'ranger\x20add-scenario'),await _0x4026b3['ZPveR'](withTelemetry,_0x127101(0x1e4),()=>featureAddScenario(_0x525c0d[_0x127101(0x2e3)],_0x525c0d['id']));})['command']('get-feedback\x20[id]',![],_0xb8123b=>{const _0x2474bf=_0x32284a;return _0xb8123b['positional']('id',{'type':_0x2474bf(0x24f),'description':_0x4026b3[_0x2474bf(0x2d2)]});},async _0x29f0cc=>{const _0x2d335a=_0x32284a;warnRenamed(_0x412be0['putpW'],_0x412be0[_0x2d335a(0x17a)]),await _0x412be0['ImerX'](withTelemetry,_0x412be0[_0x2d335a(0x15f)],()=>featureGetReview(_0x29f0cc['id']));})[_0x32284a(0x2c1)](_0x412be0['hasbf'],![],_0x245c55=>{return _0x245c55['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x37005c=>{const _0x44ab47=_0x32284a;warnRenamed(_0x4026b3[_0x44ab47(0x258)],_0x4026b3['yovdg']),await withTelemetry(_0x4026b3[_0x44ab47(0x19e)],()=>featureDelete(_0x37005c['id']));})['command'](_0x412be0['DhUQQ'],![],_0x3ff39f=>{const _0xdd6823=_0x32284a;return _0x3ff39f['positional']('id',{'type':_0xdd6823(0x24f),'description':_0xdd6823(0x1fa),'demandOption':!![]});},async _0x5da04c=>{const _0x2ee5bd=_0x32284a;_0x412be0['ZfUyH'](warnRenamed,_0x412be0[_0x2ee5bd(0x161)],'ranger\x20restore'),await _0x412be0['XeBdH'](withTelemetry,_0x412be0[_0x2ee5bd(0x262)],()=>featureRestore(_0x5da04c['id']));})['demandCommand'](0x1,_0x412be0['fDjdq']);})['command']('hook',![],_0x1adacf=>{const _0x338216=_0x4c15fe;return _0x1adacf['command'](_0x338216(0x288),_0x412be0['cAgUh'],_0xcdf767=>{const _0x10cb44=_0x338216;return _0xcdf767[_0x10cb44(0x27f)]('session-id',{'type':_0x412be0['zwnZi'],'description':_0x412be0[_0x10cb44(0x2c9)]});},async _0xa4c9fd=>{const _0x4d7abc=_0x338216;await _0x412be0['gkQPA'](withTelemetry,_0x4d7abc(0x256),()=>hook(_0x4d7abc(0x288),_0xa4c9fd['session-id']));})['command'](_0x412be0['mPuaV'],_0x412be0[_0x338216(0x20c)],_0x3c93c5=>{const _0x48f7a7=_0x338216;return _0x3c93c5[_0x48f7a7(0x27f)](_0x48f7a7(0x1e0),{'type':_0x412be0['zwnZi'],'description':_0x412be0[_0x48f7a7(0x2c9)]});},async _0x927a38=>{const _0x50add0=_0x338216;await withTelemetry('hook:disable',()=>hook('disable',_0x927a38[_0x50add0(0x1e0)]));})['option'](_0x338216(0x178),{'type':_0x412be0[_0x338216(0x1a2)],'description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})[_0x338216(0x27f)]('session-id',{'type':_0x412be0['zwnZi'],'description':_0x412be0[_0x338216(0x2c9)]});},async _0x1bf1f8=>{const _0x76c648=_0x4c15fe;_0x1bf1f8['name']&&await _0x412be0['IfwcH'](hook,_0x1bf1f8[_0x76c648(0x178)],_0x1bf1f8[_0x412be0['nDWTq']]);})[_0x4c15fe(0x188)](0x1,_0x412be0['FLsaP'])[_0x4c15fe(0x2da)]()[_0x4c15fe(0x2f4)](async(_0xdacdaf,_0x23aabc,_0x5de445)=>{const _0x23a435=_0x4c15fe,_0x759bcb=sanitizeArgs(process[_0x23a435(0x274)]['slice'](0x2)),_0x265d25=getErrorType(_0xdacdaf,_0x23aabc);if(_0xdacdaf&&_0xdacdaf[_0x23a435(0x1a4)](_0x412be0['EwBIP'])){const _0x3ab135=process[_0x23a435(0x274)][0x2];console[_0x23a435(0x29b)]('\x0aUnknown\x20command:\x20'+_0x3ab135),console['error']('Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a');}else{if(_0xdacdaf)console['error']('\x0a'+_0xdacdaf+'\x0a');else _0x23aabc&&console['error'](_0x23a435(0x280)+_0x23aabc['message']+'\x0a');}await _0x412be0[_0x23a435(0x21c)](logDesirePath,{'rawCommand':_0x759bcb,'errorMessage':_0xdacdaf||_0x23aabc?.[_0x23a435(0x2fd)],'errorType':_0x265d25});const _0x281b71=_0x412be0['PxfVK'](getCurrentCollector);_0x281b71&&await _0x281b71['trackCommandError'](_0x23aabc||new Error(_0xdacdaf||_0x412be0['BeXWl'])),process[_0x23a435(0x187)](0x1);})[_0x4c15fe(0x2d1)](_0x412be0[_0x4c15fe(0x28e)](_0x412be0['sMBSp']+_0x412be0['AnDSN'],_0x412be0['NNWyc']))[_0x4c15fe(0x2f2)]()['alias']('help','h');}process[_0x8b62f1(0x28d)]['NODE_ENV']!=='test'&&buildParser()[_0x8b62f1(0x165)]();
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']());