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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/deleteProfile.js +1 -1
  7. package/build/commands/env.js +1 -1
  8. package/build/commands/feature.js +1 -1
  9. package/build/commands/hook.js +1 -1
  10. package/build/commands/hooks/autoPrompt.js +1 -1
  11. package/build/commands/hooks/disable.js +1 -1
  12. package/build/commands/hooks/enable.js +1 -1
  13. package/build/commands/hooks/exitPlanMode.js +1 -1
  14. package/build/commands/hooks/index.js +1 -1
  15. package/build/commands/hooks/output.js +1 -1
  16. package/build/commands/hooks/planReminder.js +1 -1
  17. package/build/commands/hooks/planStart.js +1 -1
  18. package/build/commands/hooks/postEdit.js +1 -1
  19. package/build/commands/hooks/preCompact.js +1 -1
  20. package/build/commands/hooks/sessionEnd.js +1 -1
  21. package/build/commands/hooks/sessionStart.js +1 -1
  22. package/build/commands/hooks/stopHook.js +1 -1
  23. package/build/commands/index.js +1 -1
  24. package/build/commands/login.js +1 -1
  25. package/build/commands/mcpBootstrap.js +1 -1
  26. package/build/commands/migrateProfile.js +1 -1
  27. package/build/commands/setup/claude.js +1 -1
  28. package/build/commands/setup/opencode.js +1 -1
  29. package/build/commands/setupCi.js +1 -1
  30. package/build/commands/skillup.js +1 -1
  31. package/build/commands/start.js +1 -1
  32. package/build/commands/status.js +1 -1
  33. package/build/commands/update.js +1 -1
  34. package/build/commands/updateEnv.js +1 -1
  35. package/build/commands/useEnv.js +1 -1
  36. package/build/commands/utils/activeProfile.js +1 -1
  37. package/build/commands/utils/agentEnv.js +1 -1
  38. package/build/commands/utils/browserSessionsApi.js +1 -1
  39. package/build/commands/utils/claudeConfig.js +1 -1
  40. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  41. package/build/commands/utils/claudePlugin.js +1 -1
  42. package/build/commands/utils/cloudProfile.js +1 -1
  43. package/build/commands/utils/cloudProfileSession.js +1 -1
  44. package/build/commands/utils/crypto.js +1 -1
  45. package/build/commands/utils/desirePathLog.js +1 -1
  46. package/build/commands/utils/deviceAuth.js +1 -1
  47. package/build/commands/utils/environment.js +1 -1
  48. package/build/commands/utils/featureApi.js +1 -1
  49. package/build/commands/utils/fixWebmDuration.js +1 -1
  50. package/build/commands/utils/gitTracked.js +1 -1
  51. package/build/commands/utils/keychain.js +1 -1
  52. package/build/commands/utils/legacyWarning.js +1 -1
  53. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  54. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  55. package/build/commands/utils/mcpImageBase64.js +1 -1
  56. package/build/commands/utils/model.js +1 -1
  57. package/build/commands/utils/novaActCli.js +1 -1
  58. package/build/commands/utils/opencodeConfig.js +1 -1
  59. package/build/commands/utils/organizationEnvApi.js +1 -1
  60. package/build/commands/utils/playwrightCli.js +1 -1
  61. package/build/commands/utils/profileMessages.js +1 -1
  62. package/build/commands/utils/profileSetupBanner.js +1 -1
  63. package/build/commands/utils/projectsConfig.js +1 -1
  64. package/build/commands/utils/rangerConfig.js +1 -1
  65. package/build/commands/utils/rangerRoot.js +1 -1
  66. package/build/commands/utils/rangerwrightCli.js +1 -1
  67. package/build/commands/utils/resolveProfileContext.js +1 -1
  68. package/build/commands/utils/resolveProfileUrl.js +1 -1
  69. package/build/commands/utils/retry.js +1 -1
  70. package/build/commands/utils/sessionCache.js +1 -1
  71. package/build/commands/utils/settings.js +1 -1
  72. package/build/commands/utils/skillContent.js +1 -1
  73. package/build/commands/utils/skills.js +1 -1
  74. package/build/commands/utils/stitchWebmFiles.js +1 -1
  75. package/build/commands/utils/telemetry.js +1 -1
  76. package/build/commands/utils/tokenRefresh.js +1 -1
  77. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  78. package/build/commands/utils/tunnelClient.js +1 -1
  79. package/build/commands/utils/userApi.js +1 -1
  80. package/build/commands/utils/version.js +1 -1
  81. package/build/commands/verifyFeature.js +1 -1
  82. package/build/commands/verifyFeatureCli.js +1 -1
  83. package/build/commands/verifyFeatureNovaCli.js +1 -1
  84. package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
  85. package/package.json +1 -1
package/build/cli.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const _0x2aca60=_0x5ad2;(function(_0x54cb10,_0x37f47d){const _0x183094=_0x5ad2,_0x470892=_0x54cb10();while(!![]){try{const _0x550747=parseInt(_0x183094(0xbd))/0x1*(parseInt(_0x183094(0x190))/0x2)+-parseInt(_0x183094(0x17e))/0x3+parseInt(_0x183094(0xb4))/0x4+-parseInt(_0x183094(0xc5))/0x5+parseInt(_0x183094(0xe1))/0x6+parseInt(_0x183094(0x1be))/0x7*(-parseInt(_0x183094(0x139))/0x8)+-parseInt(_0x183094(0x22b))/0x9*(-parseInt(_0x183094(0x189))/0xa);if(_0x550747===_0x37f47d)break;else _0x470892['push'](_0x470892['shift']());}catch(_0x47cb28){_0x470892['push'](_0x470892['shift']());}}}(_0x299b,0x45d37));import _0x27054d from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x34ad12=_0x5ad2,_0x4d730a={'tADTj':function(_0x1b9edc,_0x1c6040){return _0x1b9edc!==_0x1c6040;},'ZASwP':function(_0x533e2b,_0x284ca5){return _0x533e2b(_0x284ca5);},'Egwyk':_0x34ad12(0xaf),'heKTy':function(_0x874275,_0x9bbc5f){return _0x874275(_0x9bbc5f);}};let _0x188b83=process['cwd']();const _0x47e085=parse(_0x188b83)[_0x34ad12(0x1ef)];while(_0x4d730a['tADTj'](_0x188b83,_0x47e085)){if(_0x4d730a[_0x34ad12(0x1a4)](existsSync,join(_0x188b83,_0x4d730a['Egwyk']))||_0x4d730a[_0x34ad12(0x203)](existsSync,join(_0x188b83,_0x34ad12(0x1dd))))return _0x188b83;_0x188b83=dirname(_0x188b83);}return process['cwd']();}_0x27054d[_0x2aca60(0x217)]({'path':join(findProjectRoot(),_0x2aca60(0x1dd))});import _0xec5d51 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';function _0x299b(){const _0x52e509=['ZMbhN','alias','IELZG','YyLAb','list\x20<profile>','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','DTqVb','token','hook:enable','JbWtY','status','TqdJf','HyKGA','all','You\x20must\x20specify\x20a\x20config\x20subcommand','demandCommand','UFmYP','rJEuN','HAhOE','nUBMD','ranger\x20add-scenario','WYbNv','trackCommandError','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','dkuqh','value','HfMMX','WHyix','ranger\x20show','aOIny','KIOOK','blocked','ranger\x20feature\x20create','verified','WjyDE','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','zyIfB','cTyUf','UfMKw','checklist','kxWPF','env-var','fetNf','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','ranger\x20feature\x20list','53472VCYaMO','Manage\x20profile\x20configuration','Feature\x20review\x20ID','pjSTI','env\x20list','ODxuG','mAulD','pWinc','wpRuk','QecCR','List\x20all\x20profiles','34810SLSUdw','add-checklist-item\x20<description>','uzKQO','myyzl','NsBou','login','repeat','5746NQUoDY','wVfWL','ranger\x20feature\x20show','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','number','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','dSrZq','cvpCH','eEieQ','IVYZH','fail','trim','pGmGh','add-scenario\x20<description>','rangerwright-cli','vftSY','ranger\x20feature\x20add-checklist-item','ZbbMX','YWdMb','ZASwP','Print\x20the\x20current\x20CLI\x20access\x20token','\x0aUnknown\x20command:\x20','XgyrL','ranger\x20get-review','exit','hihHq','gklzu','yYSlr','FUOun','UwuXS','uQzSD','name','DdXwv','SBGqU','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','evaluation','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','skills','HCOta','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','QilDN','veXAV','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','RBJvk','help','1683178qnfPNE','BcsJH','OUFsn','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','RiVRw','command','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','YXkge','limit','lkTSU','positional','session-id','EUJKF','hNuPq','LYDgq','restore','Delete\x20a\x20cloud\x20profile','profile\x20encrypt-auth','profile\x20config\x20list','unhandledRejection','ranger\x20config\x20list','scope','DTbgu','Config\x20key','profile-name','severity','fwPBu','iYvmQ','lpnlM','WpCpv','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','.env','Add\x20profile\x20configuration','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','YSAqI','--notes','notes','project','sOZoP','iWqTj','allow-insecure-localhost','usage','\x0aError:\x20','eFwkJ','enable','CshUR','use','ranger\x20profile\x20config\x20get','ranger\x20feature\x20restore','root','manual','qEAzC','item','IowDw','playwright-cli','argv','CUfKQ','FrFWK','xnwlx','filter','tuMzs','WWANT','profile\x20update','Name\x20of\x20the\x20profile\x20to\x20update','You\x20must\x20specify\x20an\x20auth\x20subcommand','ranger\x20use','mcp-bootstrap','dsdKN','prStu','heKTy','env-name','xHymi','JIqHw','clean','version','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','SCAhg','Environment\x20name','error','ranger\x20profile\x20config\x20list','dDQDu','NTzIt','isArray','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','FSzMg','add\x20<profile-name>','disable','NRRIC','hHyHE','config','Config\x20key\x20to\x20remove','boolean','beOVN','JipRO','bmxxh','Initialize\x20Ranger\x20in\x20your\x20project','oVALX','whzyU','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','profile\x20config\x20set','gMfXc','eIqQS','yZeXF','cdp-endpoint','encrypt\x20<profile>','Example:\x20ranger\x20create\x20my-feature','WviEA','feature\x20resume','LyCKi','234zBqzdw','NBCXU','get-review','uLTvv','set\x20<env>\x20<key>\x20<value>','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','Name\x20of\x20the\x20environment\x20to\x20update','AkfBV','qeihq','GSRTY','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201','feature\x20show','get-feedback\x20[id]','Feature\x20review\x20ID\x20to\x20restore','YVPyM','debug-address-comments','Install\x20Ranger\x20skills','PDvgj','AtrLe','feature\x20delete','setup-header','vppgo','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','QRTLQ','add-scenario','aJGMk','summary','VGHLS','hjSbJ','include-deleted','ranger\x20setup\x20profiles\x20--scope=','qDbyN','offset','current-branch','ziRCj','ranger\x20create','fWcmm','array','--checklist','eyChR','pLyyJ','ranger\x20config\x20get','BDzpP','ranger\x20auth\x20encrypt','\x20PARTIAL','Feature\x20review\x20description','cGRDE','delete\x20<profile-name>','Skip\x20the\x20deletion\x20confirmation\x20prompt.','rrLNb','tokenOrSubcommand','scenario','Run\x20full\x20interactive\x20setup','\x0aIssues:','vpIJf','gRQfH','axEBX','profile\x20config\x20get','.ranger','DcoTS','zFkNo','not_configured','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','631700qmaKTB','save-creds','Profile\x20name','key','jNUWN','ZFfnp','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','length','QKuNM','199oHHvxT','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','List\x20all\x20config\x20for\x20a\x20profile','yes','Number\x20of\x20feature\x20reviews\x20to\x20skip','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','boMKh','setup\x20[tokenOrSubcommand]','1957780bGUnvI','RANGER_TEST_PASSWORD','AfyyQ','claude','Install\x20OS-level\x20dependencies\x20for\x20Chromium','user','ranger\x20resume','bDZUq','auth','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','SRGEg','parse','list','UtgjL','--scenario','SNUGJ','env','RANGER_PROFILE','WDRiK','description','feature\x20list','sGOsk','NODE_ENV','HQYak','Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','vRNDu','ranger','incomplete','694098Xyakpl','nOXxx','vfjcz','Optional\x20feature\x20ID','profile','print-access-token','Update\x20authentication\x20for\x20an\x20existing\x20profile','owEtJ','qhJzm','--env','Install\x20scope\x20for\x20plugin\x20and\x20skills','option','debug-outcome','feature','yFYII','config\x20unset','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','MntLG','test','env\x20update','TpKrF','Scenario\x20index\x20(1-based)','DCSXs','opencode','VNcQo','profile\x20config\x20reset','lQlCa','bvEst','HVnur','exitCode','dry-run','bGlKz','QvtRz','xnyhr','UAXSZ','model','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','xszbx','ranger\x20config\x20set','Remove\x20a\x20config\x20value','gbczF','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','MsomM','zMLAG','SuHrI','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','kvDSV','MELtu','skip-auth','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','evaluationReason','kArZF','Authenticate\x20via\x20MCP\x20proxy','force','base-url','wZpue','Qdfup','edit-scenario','Feature\x20review\x20name','irTYN','ndKTJ','string','ranger\x20profile\x20config\x20set','nZFlx','PTOJg','FECmP','QgHyr','MgasT','url','skip-chromium','ranger\x20start','exclude-scenario','MTWiY','wDkGw','sGzRc','raTgO','with-deps','Subcommand\x20or\x20API\x20token\x20(rngr_...)','partial','IzNCO','JkRxX','FEhpv','UKQGX','profiles','dPHjT','wGYVt','SDvdm','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','8bfyukn','verify-feature','resume','ranger\x20go','ZHUWz','XvFqy','Set\x20a\x20config\x20value','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','mcp','PMrHm','fsCkk','ilHXx','oRsOj','slice','oaHDd','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','update\x20<profile-name>','SwxeP','fCXoO','zaqAo','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','ranger\x20add\x20env','bPcFZ','log'];_0x299b=function(){return _0x52e509;};return _0x299b();}function _0x5ad2(_0x1be134,_0x416793){_0x1be134=_0x1be134-0x88;const _0x299b18=_0x299b();let _0x5ad2e2=_0x299b18[_0x1be134];return _0x5ad2e2;}process['on'](_0x2aca60(0x1d1),async _0x1cedb4=>{const _0xe75c5a=_0x2aca60,_0x3227e2=getCurrentCollector();_0x3227e2&&await _0x3227e2['trackCommandError'](_0x1cedb4),process[_0xe75c5a(0xfe)]=0x1;});const rawArgs=process['argv']['slice'](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP=_0x2aca60(0x235),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201';function warnRenamed(_0x18bf9d,_0x4ecf39){const _0x7ec3d7=_0x2aca60;console[_0x7ec3d7(0x20c)]('\x0a'+_0x18bf9d+'\x20is\x20now\x20'+_0x4ecf39+'\x0a');}function argUsed(_0x1fc03f){return rawArgs['some'](_0x287a18=>_0x287a18===_0x1fc03f||_0x287a18['startsWith'](_0x1fc03f+'='));}function warnFlagRenamed(_0x3bfa97,_0x4cd16b,_0x477c83){const _0x4acca7={'zlYpi':function(_0x3d145a,_0x12bc63){return _0x3d145a(_0x12bc63);}};_0x4acca7['zlYpi'](argUsed,_0x4cd16b)&&warnRenamed(_0x3bfa97+'\x20'+_0x4cd16b,_0x3bfa97+'\x20'+_0x477c83);}function normalizeEnvVarNames(_0x143b36){const _0x2a744e=_0x2aca60,_0x5aefbe=Array[_0x2a744e(0x210)](_0x143b36)?_0x143b36:_0x143b36?[_0x143b36]:[];return _0x5aefbe['flatMap'](_0x4da7f0=>String(_0x4da7f0)['split'](',')['map'](_0x5149e3=>_0x5149e3[_0x2a744e(0x19c)]())[_0x2a744e(0x1f9)](Boolean));}async function runGoCommand(_0x58a180,_0x8f7a02=![]){const _0xba6d23=_0x2aca60,_0x40d566={'NBCXU':function(_0x5643c9,_0x3bb8cb,_0x523ace){return _0x5643c9(_0x3bb8cb,_0x523ace);},'orqFw':'--profile','kvDSV':function(_0x7d657c,_0x293a72,_0x3cf4ae,_0x1c584f){return _0x7d657c(_0x293a72,_0x3cf4ae,_0x1c584f);},'nuUpK':_0xba6d23(0x13c),'hihHq':_0xba6d23(0x1e1),'YXkge':'--item','jVXGo':_0xba6d23(0xd3),'yZeXF':function(_0x47c372){return _0x47c372();},'SBGqU':function(_0x162b71,_0xafca42){return _0x162b71(_0xafca42);},'hbJSW':_0xba6d23(0x17a),'WpCpv':function(_0x51f821){return _0x51f821();},'ZHUWz':function(_0xa390fb,_0x2c1886){return _0xa390fb>_0x2c1886;},'IHbRE':function(_0x2bc883,_0x1e5c25){return _0x2bc883!==_0x1e5c25;},'MntLG':_0xba6d23(0x117),'aJGMk':'verified','fwPBu':'\x20VERIFIED','WWANT':'partial','rKcpd':_0xba6d23(0xa1)};_0x8f7a02&&_0x40d566[_0xba6d23(0x22c)](warnRenamed,'ranger\x20verify-feature',_0xba6d23(0x13c));warnFlagRenamed(_0xba6d23(0x13c),_0xba6d23(0xea),_0x40d566['orqFw']),_0x40d566[_0xba6d23(0x10f)](warnFlagRenamed,_0x40d566['nuUpK'],'--task',_0x40d566[_0xba6d23(0x1aa)]),warnFlagRenamed('ranger\x20go',_0x40d566[_0xba6d23(0x1c5)],_0x40d566['jVXGo']);const _0x3e7a43=await _0x40d566[_0xba6d23(0x224)](loadRangerConfig),_0x3ce992=isByokEnabled(),_0x164c0a=_0x58a180[_0xba6d23(0x104)],_0x3eefb0=_0x3e7a43['model'],_0x55f6af=_0x40d566[_0xba6d23(0x1b2)](normalizeEnvVarNames,_0x58a180[_0x40d566['hbJSW']]),_0x5525ef=_0x40d566[_0xba6d23(0x1db)](getVerificationTransport);if(_0x40d566[_0xba6d23(0x13d)](_0x55f6af[_0xba6d23(0xbb)],0x0)&&_0x40d566['IHbRE'](_0x5525ef,_0xba6d23(0x1f4))&&_0x40d566['IHbRE'](_0x5525ef,_0xba6d23(0x19f)))throw new Error(_0xba6d23(0x10e)+_0x5525ef+'.');const _0x3a41f9=await verifyFeature({'featureId':_0x58a180[_0xba6d23(0xee)],'profile':_0x58a180['profile']??_0x58a180[_0xba6d23(0xd5)]??process[_0xba6d23(0xd5)][_0xba6d23(0xd6)],'notes':_0x58a180[_0xba6d23(0x1e2)]??_0x58a180['task'],'scenario':_0x58a180[_0xba6d23(0xa8)]??_0x58a180['item'],'startPath':_0x58a180['start-path'],'baseUrl':_0x58a180[_0x40d566[_0xba6d23(0xf2)]],'debugOutcome':_0x58a180[_0xba6d23(0xed)],'debugAddressComments':_0x58a180[_0xba6d23(0x23a)],'headed':_0x58a180['headed'],'verifierEnvVars':_0x55f6af,'byokEnabled':_0x3ce992,'flagVerifyModel':_0x164c0a,'configVerifyModel':_0x3eefb0});console['log']('\x0a'+'='['repeat'](0x3c)),console[_0xba6d23(0x150)](_0x3a41f9[_0xba6d23(0x1b4)]===_0x40d566[_0xba6d23(0x8e)]?_0x40d566[_0xba6d23(0x1d8)]:_0x3a41f9['evaluation']===_0xba6d23(0xe0)?'\x20INCOMPLETE':_0x3a41f9['evaluation']===_0x40d566[_0xba6d23(0x1fb)]?_0x40d566['rKcpd']:_0x3a41f9[_0xba6d23(0x1b4)]===_0xba6d23(0x170)?'\x20BLOCKED':'\x20FAILED'),console[_0xba6d23(0x150)]('='[_0xba6d23(0x18f)](0x3c)),console['log']('Summary:\x20'+_0x3a41f9[_0xba6d23(0x8f)]),console['log']('Evaluation:\x20'+_0x3a41f9['evaluation']),console[_0xba6d23(0x150)]('Reason:\x20'+_0x3a41f9[_0xba6d23(0x113)]),_0x3a41f9['issues']?.[_0xba6d23(0xbb)]&&(console[_0xba6d23(0x150)](_0xba6d23(0xaa)),_0x3a41f9['issues']['forEach']((_0x2f4fe6,_0x3a0141)=>{const _0x75ee16=_0xba6d23;console[_0x75ee16(0x150)]('\x0a'+(_0x3a0141+0x1)+'.\x20['+_0x2f4fe6[_0x75ee16(0x1d7)]+']\x20'+_0x2f4fe6[_0x75ee16(0xd8)]);})),process['exit'](_0x3a41f9['evaluation']===_0x40d566[_0xba6d23(0x8e)]?0x0:0x1);}export function buildParser(_0x271ac2){const _0x55e20d=_0x2aca60,_0x3d9653={'qhJzm':_0x55e20d(0x11e),'iWqTj':'description','MgasT':_0x55e20d(0xa8),'rrLNb':'checklist','YVPyM':function(_0x2b92ab,_0x25902f){return _0x2b92ab+_0x25902f;},'MKtOp':_0x55e20d(0x196),'BDzpP':function(_0x394e30,_0x555424,_0x4e5bb7,_0x240ed3){return _0x394e30(_0x555424,_0x4e5bb7,_0x240ed3);},'sGzRc':function(_0x308e7d,_0x32b95b,_0x33c62e){return _0x308e7d(_0x32b95b,_0x33c62e);},'bPcFZ':'create','BcsJH':_0x55e20d(0x1c6),'SwxeP':_0x55e20d(0x194),'gMfXc':_0x55e20d(0x95),'UUOiS':'Number\x20of\x20feature\x20reviews\x20to\x20skip','YWdMb':_0x55e20d(0x219),'pLyyJ':function(_0x4c751e,_0x173482,_0x556012){return _0x4c751e(_0x173482,_0x556012);},'vfjcz':_0x55e20d(0xd1),'uQzSD':function(_0x1a1fec,_0x3b44ce,_0x97a013){return _0x1a1fec(_0x3b44ce,_0x97a013);},'vppgo':function(_0x1dfc79,_0x74e6ac,_0x4376fe){return _0x1dfc79(_0x74e6ac,_0x4376fe);},'TfqWp':_0x55e20d(0x13b),'AOZtO':'Scenario\x20number\x20to\x20edit\x20(1-based)','xnyhr':_0x55e20d(0x11a),'TUTgS':'Feature\x20review\x20ID','IzNCO':'array','vpIJf':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','fWcmm':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','qinRo':'report','ivHLH':_0x55e20d(0x156),'OTBeb':_0x55e20d(0x22d),'XvFqy':'Feature\x20review\x20ID\x20to\x20restore','djMgD':'setup:deps','kLEIN':function(_0x11c94c){return _0x11c94c();},'iBxgL':'Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','raTgO':function(_0x3e0d31,_0x33097b,_0x529584){return _0x3e0d31(_0x33097b,_0x529584);},'AtrLe':function(_0x27afa6,_0x112940){return _0x27afa6(_0x112940);},'dsdKN':'setup:skills','pWinc':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','boMKh':_0x55e20d(0xf8),'dSrZq':_0x55e20d(0x1e6),'eEieQ':function(_0x563c2a,_0x157add,_0x3a536e){return _0x563c2a(_0x157add,_0x3a536e);},'VWJcJ':'with-deps','VTPfh':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','VNcQo':'scope','wGYVt':_0x55e20d(0x17c),'MTWiY':'Skip\x20browser\x20authentication','kxWPF':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','VSJLn':'setup:profiles','ViGDt':_0x55e20d(0x12e),'Qdfup':'deps','baagL':'Install\x20Chromium\x20browser\x20binary','fsCkk':_0x55e20d(0x1b6),'PMrHm':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','beOVN':_0x55e20d(0x126),'NsBou':_0x55e20d(0xca),'vftSY':_0x55e20d(0x125),'wDkGw':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','GzUFB':'force','FECmP':_0x55e20d(0x174),'fetNf':_0x55e20d(0x1dc),'rJEuN':_0x55e20d(0x200),'BZGhE':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','ZMbhN':'skip-auth','QKuNM':'token','nbzxX':'API\x20token','SRGEg':'start','Hcyag':'Ranger\x20API\x20token','iJAqZ':_0x55e20d(0x1df),'sjOzf':'base-url','HCOta':'Skip\x20Chromium\x20browser\x20installation','owEtJ':function(_0x19917d,_0x1018c2,_0x5bc918){return _0x19917d(_0x1018c2,_0x5bc918);},'bDZUq':'setup-ci','PTOJg':_0x55e20d(0x1e3),'xZdRt':'Install\x20scope\x20for\x20skills','smcle':function(_0x371642,_0x249288){return _0x371642(_0x249288);},'SCAhg':_0x55e20d(0x207),'prStu':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','NTzIt':_0x55e20d(0x225),'eIqQS':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','QvtRz':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','PLHFP':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','veXAV':_0x55e20d(0x10a),'vIYxX':'profile\x20add','bGFzK':function(_0x1d3bb1,_0x4e3dc6,_0x21ef85){return _0x1d3bb1(_0x4e3dc6,_0x21ef85);},'UAXSZ':'profile\x20ls','MXJkY':'yes','aSLTt':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','pGmGh':_0x55e20d(0xb6),'IELZG':'key','VORKz':_0x55e20d(0x13f),'LVcgM':'Get\x20a\x20config\x20value','gklzu':_0x55e20d(0xbf),'YSAqI':_0x55e20d(0x230),'dkuqh':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','NHnNA':'Name\x20of\x20the\x20profile','LYDgq':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','SBgVn':_0x55e20d(0xa5),'iYvmQ':_0x55e20d(0x1b0),'YyLAb':function(_0x583014,_0x2310bf){return _0x583014===_0x2310bf;},'BpkHM':'Config\x20key','qDbyN':_0x55e20d(0x213),'SuHrI':'encrypt-auth\x20<profile>','ilHXx':_0x55e20d(0x188),'HfMMX':_0x55e20d(0x149),'bmxxh':_0x55e20d(0xe7),'QecCR':'login\x20<name>','TqdJf':'migrate\x20[profile-name]','mgZBP':_0x55e20d(0x17f),'oaHDd':'update','JkRxX':function(_0x5eb495,_0x5d3425,_0x3929ae){return _0x5eb495(_0x5d3425,_0x3929ae);},'Efxmq':'print-access-token','QgHyr':_0x55e20d(0xe4),'ndKTJ':_0x55e20d(0xe5),'myyzl':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','QRTLQ':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','yNDBu':'Scenario\x20index\x20(1-based)','Hfkvc':'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.','uoGzn':'headed','mxBbX':_0x55e20d(0x17a),'WYbNv':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','pkDGo':_0x55e20d(0x170),'vUQuw':'incomplete','bYfsQ':_0x55e20d(0x23a),'FEhpv':'env','bGlKz':'task','RiVRw':_0x55e20d(0x1f2),'jNUWN':_0x55e20d(0x195),'wEOwk':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','UwuXS':_0x55e20d(0xc9),'fSiRn':'ranger\x20setup','WlHKH':_0x55e20d(0xce),'gRQfH':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','HAhOE':_0x55e20d(0x1e2),'hpnKB':'start-path','GhlmL':'model','oVALX':'environment-variable','lkTSU':'debug-outcome','hNuPq':'failed','dPHjT':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','oRsOj':_0x55e20d(0x14e),'axEBX':'env-name','jRnpS':'Name\x20of\x20the\x20environment','YWXnO':_0x55e20d(0x107),'hwNFa':_0x55e20d(0x11f),'YZUTG':'config\x20set','znVqk':_0x55e20d(0x9e),'WviEA':_0x55e20d(0x1ed),'ODIbq':'config\x20get','LyCKi':'ranger\x20config\x20unset','cvpCH':'ranger\x20profile\x20config\x20unset','Stajn':_0x55e20d(0xf0),'OUFsn':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','TziNT':'Config\x20value','tuMzs':'Environment\x20name','kArZF':_0x55e20d(0x22f),'wotfZ':'get\x20<env>\x20<key>','NVEaZ':_0x55e20d(0x15f),'wVfWL':'ranger\x20env\x20ls','FUOun':function(_0x1f7b89,_0x544d23,_0x3e73cc){return _0x1f7b89(_0x544d23,_0x3e73cc);},'Dzgic':_0x55e20d(0xba),'cjttu':'ranger\x20feature\x20resume','QilDN':_0x55e20d(0xcb),'CUfKQ':_0x55e20d(0x229),'JHjKw':_0x55e20d(0x112),'VGHLS':_0x55e20d(0x171),'TpKrF':'ranger\x20create','wlCjD':_0x55e20d(0x9b),'XiJJU':'--scenario','BLIYl':_0x55e20d(0x92),'jOdSN':_0x55e20d(0x1a1),'Hpaor':'ranger\x20restore','CEFQo':'create\x20<name>','hHyHE':'show\x20[id]','AfyyQ':'resume\x20[id]','cTyUf':'delete\x20[id]','gbczF':'restore\x20<id>','lpnlM':_0x55e20d(0x1c9),'whzyU':_0x55e20d(0x1ea),'WDRiK':_0x55e20d(0x214),'Sfair':_0x55e20d(0xf1),'juyta':_0x55e20d(0x220),'IVYZH':function(_0x51ef8b,_0x51b946,_0x3b010a){return _0x51ef8b(_0x51b946,_0x3b010a);},'Gercs':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','vRNDu':function(_0x4f6617,_0x400c22){return _0x4f6617||_0x400c22;},'HGohv':_0x55e20d(0xdf),'CshUR':'List\x20all\x20feature\x20reviews','yYSlr':'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','ziRCj':_0x55e20d(0x19e),'xHymi':_0x55e20d(0x211),'XgyrL':'edit-scenario\x20<description>','uibRT':_0x55e20d(0x1b5),'ShQch':'get-review\x20[id]','xSRQK':_0x55e20d(0x8b),'wovNv':_0x55e20d(0x209),'UFmYP':_0x55e20d(0xc4),'HQYak':_0x55e20d(0x21d),'avEAH':_0x55e20d(0x105),'vwiQu':'skillup','HyKGA':_0x55e20d(0x168),'SNUGJ':'profiles','nOXxx':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','ZFfnp':_0x55e20d(0x1a5),'fzymT':'Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','irTYN':_0x55e20d(0xcd),'xszbx':'start\x20[token]','TQgdk':'hook','NpKpz':'You\x20must\x20specify\x20a\x20command','dZHAv':function(_0x140677,_0x2f1225){return _0x140677+_0x2f1225;},'dEAbH':'Documentation:\x0a','XwOeK':'\x20\x20https://docs.ranger.net\x0a','UKQGX':_0x55e20d(0x148),'FJcAr':_0x55e20d(0x1bd)};return _0xec5d51(_0x271ac2??process['argv']['slice'](0x2))['scriptName'](_0x3d9653['HGohv'])['usage'](TOP_LEVEL_HELP)[_0x55e20d(0x208)](_0x3d9653['kLEIN'](getCurrentVersion))[_0x55e20d(0x1c3)]('create\x20<name>','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios',_0x44eb42=>{const _0x4d0810=_0x55e20d;return _0x44eb42[_0x4d0810(0x1c8)](_0x4d0810(0x1b0),{'type':_0x3d9653[_0x4d0810(0xe9)],'description':_0x4d0810(0x11b),'demandOption':!![]})['option'](_0x3d9653[_0x4d0810(0x1e5)],{'type':'string','alias':'d','description':'Feature\x20review\x20description'})[_0x4d0810(0xec)](_0x3d9653[_0x4d0810(0x124)],{'type':'array','alias':'c','description':_0x4d0810(0x112)})[_0x4d0810(0xec)](_0x3d9653[_0x4d0810(0xa6)],{'type':'array','hidden':!![]});},async _0x3c7640=>{const _0x164053=_0x55e20d;if(!_0x3c7640['name']){console[_0x164053(0x20c)](_0x3d9653[_0x164053(0x239)](_0x3d9653['MKtOp'],_0x164053(0x227))),process[_0x164053(0x1a9)](0x1);return;}_0x3d9653[_0x164053(0x9f)](warnFlagRenamed,_0x164053(0x98),_0x164053(0x9b),_0x164053(0xd3));const _0x9971e8=_0x3c7640[_0x164053(0xa8)]||_0x3c7640[_0x164053(0x178)];await _0x3d9653[_0x164053(0x12b)](withTelemetry,_0x3d9653[_0x164053(0x14f)],()=>featureCreate(_0x3c7640[_0x164053(0x1b0)],{'description':_0x3c7640[_0x164053(0xd8)],'scenarios':_0x9971e8}));})['command'](_0x3d9653[_0x55e20d(0xe3)],_0x3d9653[_0x55e20d(0x1eb)],_0x4d7e8e=>{const _0x3692f0=_0x55e20d;return _0x4d7e8e['option']('current-branch',{'type':_0x3692f0(0x219),'description':_0x3692f0(0xb3)})['option'](_0x3d9653[_0x3692f0(0x1bf)],{'type':'number','alias':'l','description':_0x3d9653[_0x3692f0(0x14a)],'default':0xa})['option'](_0x3d9653[_0x3692f0(0x222)],{'type':_0x3692f0(0x195),'alias':'o','description':_0x3d9653['UUOiS'],'default':0x0})['option']('include-deleted',{'type':_0x3d9653[_0x3692f0(0x1a3)],'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x2d94b0=>{const _0x1405db=_0x55e20d;await _0x3d9653[_0x1405db(0x9d)](withTelemetry,_0x3d9653['vfjcz'],()=>featureList({'currentBranch':_0x2d94b0['current-branch'],'limit':_0x2d94b0[_0x1405db(0x1c6)],'offset':_0x2d94b0['offset'],'includeDeleted':_0x2d94b0['include-deleted']}));})[_0x55e20d(0x1c3)]('show\x20[id]',_0x3d9653[_0x55e20d(0x1ac)],_0x2a1f28=>{const _0x17582f=_0x55e20d;return _0x2a1f28['positional']('id',{'type':_0x3d9653[_0x17582f(0xe9)],'description':'Feature\x20review\x20ID'});},async _0x5563bc=>{const _0xde2106=_0x55e20d;await _0x3d9653[_0xde2106(0x1af)](withTelemetry,'show',()=>featureShow(_0x5563bc['id']));})['command']('resume\x20[id]','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x1d01a9=>{const _0x3ac25a=_0x55e20d;return _0x1d01a9['positional']('id',{'type':_0x3ac25a(0x11e),'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0xfe9a44=>{const _0x27a02b=_0x55e20d;await _0x3d9653[_0x27a02b(0x8a)](withTelemetry,_0x3d9653['TfqWp'],()=>featureResume(_0xfe9a44['id']));})[_0x55e20d(0x1c3)](_0x3d9653[_0x55e20d(0x97)],_0x3d9653[_0x55e20d(0x205)],_0x7ace31=>{const _0x52cffe=_0x55e20d;return _0x7ace31[_0x52cffe(0x1c8)](_0x3d9653['iWqTj'],{'type':_0x52cffe(0x11e),'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x53e122=>{const _0x4789d5=_0x55e20d;await withTelemetry(_0x4789d5(0x8d),()=>featureAddScenario(_0x53e122[_0x4789d5(0xd8)],_0x53e122['id']));})['command'](_0x3d9653[_0x55e20d(0x1a7)],'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x5a63a0=>{const _0x2fec83=_0x55e20d;return _0x5a63a0['positional'](_0x2fec83(0xd8),{'type':'string','description':'New\x20scenario\x20description','demandOption':!![]})['option'](_0x3d9653['MgasT'],{'type':'number','description':_0x3d9653['AOZtO'],'demandOption':!![]})[_0x2fec83(0xec)]('id',{'type':_0x3d9653[_0x2fec83(0xe9)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x185b6d=>{const _0x119358=_0x55e20d;await withTelemetry(_0x3d9653[_0x119358(0x102)],()=>featureEditScenario(_0x185b6d[_0x119358(0xd8)],{'id':_0x185b6d['id'],'scenario':_0x185b6d[_0x119358(0xa8)]}));})[_0x55e20d(0x1c3)]('report\x20[id]',_0x3d9653['uibRT'],_0x4d088b=>{const _0x137aed=_0x55e20d;return _0x4d088b['positional']('id',{'type':_0x137aed(0x11e),'description':_0x3d9653['TUTgS']})[_0x137aed(0xec)](_0x137aed(0x128),{'type':_0x3d9653[_0x137aed(0x130)],'description':_0x3d9653[_0x137aed(0xab)]})['option']('json',{'type':'boolean','description':_0x3d9653[_0x137aed(0x99)],'default':![]});},async _0x1ec468=>{const _0x5e009b=_0x55e20d,_0x4f9215=_0x1ec468[_0x5e009b(0x128)],_0x1e9bd4=_0x4f9215?_0x4f9215['map'](_0x4ca18e=>Number(_0x4ca18e)):undefined;await withTelemetry(_0x3d9653['qinRo'],()=>featureReportPrDescription(_0x1ec468['id'],{'excludeScenarios':_0x1e9bd4,'json':_0x1ec468['json']}));})[_0x55e20d(0x1c3)](_0x3d9653['ShQch'],_0x3d9653['xSRQK'],_0x43512b=>{return _0x43512b['positional']('id',{'type':_0x3d9653['qhJzm'],'description':_0x3d9653['ivHLH']});},async _0x106381=>{await withTelemetry(_0x3d9653['OTBeb'],()=>featureGetReview(_0x106381['id']));})[_0x55e20d(0x1c3)]('delete\x20[id]',_0x3d9653['wovNv'],_0x4f87ea=>{const _0x45d0ee=_0x55e20d;return _0x4f87ea['positional']('id',{'type':_0x3d9653[_0x45d0ee(0xe9)],'description':'Feature\x20review\x20ID'});},async _0x5be981=>{await _0x3d9653['pLyyJ'](withTelemetry,'delete',()=>featureDelete(_0x5be981['id']));})['command'](_0x3d9653['gbczF'],'Restore\x20a\x20soft-deleted\x20feature\x20review',_0x3595d2=>{const _0x3e7ea5=_0x55e20d;return _0x3595d2['positional']('id',{'type':_0x3d9653[_0x3e7ea5(0xe9)],'description':_0x3d9653[_0x3e7ea5(0x13e)],'demandOption':!![]});},async _0x6bc500=>{const _0x7acf09=_0x55e20d;await _0x3d9653['uQzSD'](withTelemetry,_0x7acf09(0x1cd),()=>featureRestore(_0x6bc500['id']));})[_0x55e20d(0x1c3)](_0x3d9653[_0x55e20d(0x161)],_0x3d9653[_0x55e20d(0xdc)],_0xbf4dd6=>{const _0x3a2a3f=_0x55e20d,_0x4cf886={'qeihq':_0x3a2a3f(0x1b8),'sdeAB':_0x3a2a3f(0x116),'aOIny':_0x3d9653[_0x3a2a3f(0x185)],'ZbbMX':_0x3d9653[_0x3a2a3f(0xc3)],'pYEmO':_0x3d9653['YWdMb'],'wZpue':_0x3d9653[_0x3a2a3f(0x197)],'zaqAo':_0x3a2a3f(0x141),'WjyDE':function(_0x5ff20c,_0x5839d5,_0x2f05c3){const _0x1b3711=_0x3a2a3f;return _0x3d9653[_0x1b3711(0x199)](_0x5ff20c,_0x5839d5,_0x2f05c3);},'NfXjA':_0x3d9653['VWJcJ'],'dNCDs':_0x3d9653['VTPfh'],'sGOsk':_0x3d9653[_0x3a2a3f(0xf9)],'DdXwv':_0x3a2a3f(0x11e),'vqCXw':'user','nDIDS':_0x3d9653[_0x3a2a3f(0x136)],'wbZPQ':'skip-auth','YPNkj':_0x3d9653[_0x3a2a3f(0x129)],'JIqHw':_0x3d9653[_0x3a2a3f(0x179)],'ANeCa':function(_0x113626,_0x927f19){return _0x113626!==_0x927f19;},'zyIfB':function(_0x51f837,_0x1fc582){return _0x51f837+_0x1fc582;},'fIqgG':_0x3d9653['VSJLn']};return _0xbf4dd6['usage']('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')['positional']('tokenOrSubcommand',{'type':_0x3a2a3f(0x11e),'description':_0x3d9653['ViGDt']})['command'](_0x3a2a3f(0x15e),_0x3a2a3f(0xa9),_0x50ac83=>{const _0x4aa6ec=_0x3a2a3f;return _0x50ac83[_0x4aa6ec(0xec)](_0x4aa6ec(0x158),{'type':_0x4aa6ec(0x11e),'description':'Ranger\x20API\x20token'})[_0x4aa6ec(0xec)]('skip-chromium',{'type':'boolean','description':_0x4cf886[_0x4aa6ec(0x233)],'default':![]})[_0x4aa6ec(0xec)](_0x4aa6ec(0x111),{'type':_0x4aa6ec(0x219),'description':'Skip\x20authentication','default':![]})[_0x4aa6ec(0xec)](_0x4aa6ec(0x12d),{'type':'boolean','description':_0x4aa6ec(0xc9),'default':![]})['option'](_0x4aa6ec(0x1d3),{'type':'string','choices':[_0x4aa6ec(0xca)],'hidden':!![],'description':_0x4aa6ec(0x17c)})[_0x4aa6ec(0xec)]('url',{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})[_0x4aa6ec(0xec)](_0x4cf886['sdeAB'],{'type':'boolean','description':_0x4cf886[_0x4aa6ec(0x16e)],'default':![]})[_0x4aa6ec(0xec)](_0x4cf886[_0x4aa6ec(0x1a2)],{'type':_0x4cf886['pYEmO'],'description':_0x4aa6ec(0x174),'default':![]})[_0x4aa6ec(0xec)](_0x4cf886[_0x4aa6ec(0x118)],{'type':_0x4cf886['pYEmO'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]})['option'](_0x4aa6ec(0x200),{'type':'boolean','description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','default':![]})[_0x4aa6ec(0xec)](_0x4cf886[_0x4aa6ec(0x14c)],{'type':_0x4cf886['pYEmO'],'description':'Alias\x20for\x20--mcp-bootstrap','default':![]});},async _0x36116a=>{const _0x222c3f=_0x3a2a3f;(_0x36116a[_0x222c3f(0x200)]||_0x36116a[_0x222c3f(0x141)])&&await _0x4cf886[_0x222c3f(0x173)](withTelemetry,'mcp-bootstrap',()=>mcpBootstrap()),await withTelemetry('setup:all',_0x4354b6=>start(_0x36116a['token'],{'skipChromium':_0x36116a[_0x222c3f(0x126)],'skipAuth':_0x36116a['skip-auth'],'withDeps':_0x36116a['with-deps'],'scope':_0x36116a['scope'],'url':_0x36116a[_0x222c3f(0x125)],'force':_0x36116a[_0x222c3f(0x116)],'opencode':_0x36116a['opencode'],'allowInsecureLocalhost':_0x36116a['allow-insecure-localhost']},_0x4354b6));})['command'](_0x3d9653[_0x3a2a3f(0x119)],_0x3d9653['baagL'],_0x18e646=>{return _0x18e646['option'](_0x4cf886['NfXjA'],{'type':_0x4cf886['pYEmO'],'description':_0x4cf886['dNCDs'],'default':![]});},async _0x42921e=>{const _0x3f507d=_0x3a2a3f;await _0x3d9653['vppgo'](withTelemetry,_0x3d9653['djMgD'],()=>ensureChromium(_0x42921e[_0x3f507d(0x12d)]));})['command'](_0x3a2a3f(0x18e),'Authenticate\x20with\x20Ranger',_0x2fe48b=>{const _0xef1165=_0x3a2a3f;return _0x2fe48b[_0xef1165(0xec)]('token',{'type':'string','description':'Ranger\x20API\x20token\x20(rngr_...)'})['option'](_0xef1165(0x141),{'type':_0xef1165(0x219),'description':_0xef1165(0x115),'default':![]});},async _0x11eab5=>{const _0x246c56=_0x3a2a3f,_0x4e73a1={'dgfRJ':function(_0x4b39c0){return _0x3d9653['kLEIN'](_0x4b39c0);},'jWymr':_0x3d9653['iBxgL']};await _0x3d9653[_0x246c56(0x12c)](withTelemetry,'setup:login',async()=>{const _0x49dcca=_0x246c56;if(_0x11eab5['mcp']){await _0x4e73a1['dgfRJ'](mcpBootstrap);const _0x59f69d=await refreshCliToken();if(!_0x59f69d)throw new Error(_0x4e73a1['jWymr']);const _0x5705d6=await getCurrentUser(_0x59f69d);if(!_0x5705d6['success'])throw new Error(_0x49dcca(0x138)+_0x5705d6['error']);console[_0x49dcca(0x150)]('✓\x20Authenticated\x20to\x20'+_0x5705d6[_0x49dcca(0xca)]['organizationName']);return;}await authenticate(_0x11eab5[_0x49dcca(0x158)]);});})['command'](_0x3d9653[_0x3a2a3f(0x143)],_0x3d9653[_0x3a2a3f(0x142)],_0x60cb7=>{const _0xd2b5fe=_0x3a2a3f;return _0x60cb7['option'](_0x4cf886[_0xd2b5fe(0xda)],{'type':_0x4cf886[_0xd2b5fe(0x1b1)],'choices':['user','project'],'description':_0xd2b5fe(0xeb)})[_0xd2b5fe(0xec)](_0xd2b5fe(0xf8),{'type':'boolean','description':_0xd2b5fe(0x174),'default':![]});},async _0x2aa956=>{const _0x32c5ba=_0x3a2a3f,_0x5550ff={'SROif':function(_0x558ae7,_0x4b3da9,_0x5c4164){return _0x558ae7(_0x4b3da9,_0x5c4164);},'MELtu':_0x32c5ba(0xf8),'xnwlx':function(_0x30f97f,_0x453bf1){const _0x44e530=_0x32c5ba;return _0x3d9653[_0x44e530(0x23d)](_0x30f97f,_0x453bf1);}};await withTelemetry(_0x3d9653[_0x32c5ba(0x201)],async()=>{const _0x208999=_0x32c5ba,_0x213df5=_0x2aa956[_0x208999(0x1d3)];if(_0x2aa956[_0x208999(0xf8)]){const _0x6b8e60=await ensureOpencodePluginConfig(_0x213df5);_0x6b8e60&&await _0x5550ff['SROif'](installSkill,_0x208999(0xdf),{'level':_0x6b8e60['scope'],'cliVersion':getCurrentVersion(),'platform':_0x5550ff[_0x208999(0x110)]});}else await _0x5550ff['xnwlx'](ensureClaudePlugin,_0x213df5),await _0x5550ff[_0x208999(0x1f8)](ensureClaudeSkills,_0x213df5);});})[_0x3a2a3f(0x1c3)](_0x3a2a3f(0x134),'Set\x20up\x20a\x20local\x20browser\x20profile',_0x172a05=>{const _0x21f343=_0x3a2a3f;return _0x172a05['option'](_0x4cf886['sGOsk'],{'type':'string','choices':[_0x4cf886['vqCXw']],'description':_0x4cf886['nDIDS']})['option'](_0x21f343(0x125),{'type':_0x4cf886[_0x21f343(0x1b1)],'description':'Base\x20URL\x20of\x20the\x20running\x20app'})['option'](_0x4cf886['wbZPQ'],{'type':_0x21f343(0x219),'description':_0x4cf886['YPNkj'],'default':![]})['option'](_0x4cf886['sdeAB'],{'type':_0x4cf886['pYEmO'],'description':_0x4cf886[_0x21f343(0x16e)],'default':![]})[_0x21f343(0xec)]('allow-insecure-localhost',{'type':'boolean','description':_0x4cf886[_0x21f343(0x206)],'default':![]});},async _0x3911ab=>{const _0x272d71=_0x3a2a3f,_0x249513=_0x3911ab['scope'];_0x4cf886['ANeCa'](_0x249513,undefined)&&_0x249513!==_0x272d71(0xca)&&(console[_0x272d71(0x20c)](_0x4cf886[_0x272d71(0x175)](_0x272d71(0x93)+_0x249513+'\x20is\x20no\x20longer\x20supported.\x20'+'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.')),process['exit'](0x1)),await withTelemetry(_0x4cf886['fIqgG'],_0x4156ae=>ensureLocalEnv({'url':_0x3911ab['url'],'force':_0x3911ab[_0x272d71(0x116)],'allowInsecureLocalhost':_0x3911ab[_0x272d71(0x1e6)],'scope':_0x272d71(0xca)},_0x4156ae));})['option'](_0x3d9653['beOVN'],{'type':'boolean','description':_0x3a2a3f(0x1b8),'default':![]})['option']('scope',{'type':_0x3a2a3f(0x11e),'choices':[_0x3d9653[_0x3a2a3f(0x18d)]],'hidden':!![],'description':_0x3d9653['wGYVt']})[_0x3a2a3f(0xec)](_0x3d9653[_0x3a2a3f(0x1a0)],{'type':_0x3d9653[_0x3a2a3f(0xe9)],'description':_0x3d9653[_0x3a2a3f(0x12a)]})['option'](_0x3d9653['GzUFB'],{'type':_0x3a2a3f(0x219),'description':_0x3a2a3f(0x140),'default':![]})['option'](_0x3d9653[_0x3a2a3f(0xc3)],{'type':'boolean','description':_0x3d9653[_0x3a2a3f(0x122)],'default':![]})[_0x3a2a3f(0xec)]('allow-insecure-localhost',{'type':'boolean','description':_0x3d9653[_0x3a2a3f(0x17b)],'default':![]})[_0x3a2a3f(0xec)](_0x3d9653['rJEuN'],{'type':_0x3d9653[_0x3a2a3f(0x1a3)],'description':_0x3d9653['BZGhE'],'default':![]})['option'](_0x3d9653['ZMbhN'],{'type':_0x3d9653['YWdMb'],'description':_0x3a2a3f(0x1b3),'default':![]})[_0x3a2a3f(0xec)](_0x3a2a3f(0x12d),{'type':'boolean','description':_0x3d9653['VTPfh'],'default':![]})['option'](_0x3d9653[_0x3a2a3f(0xbc)],{'type':_0x3d9653[_0x3a2a3f(0xe9)],'hidden':!![],'description':_0x3d9653['nbzxX']});},async _0x3ff7c6=>{const _0xccea25=_0x55e20d,_0x5ed704=_0x3ff7c6[_0xccea25(0xa7)],_0x50cca0=_0x3ff7c6['token']??_0x5ed704;_0x3ff7c6[_0x3d9653[_0xccea25(0x162)]]&&await _0x3d9653['pLyyJ'](withTelemetry,'mcp-bootstrap',()=>mcpBootstrap()),await withTelemetry(_0x3d9653[_0xccea25(0xcf)],_0x2e12f2=>start(_0x50cca0,{'skipChromium':_0x3ff7c6['skip-chromium'],'skipAuth':_0x3ff7c6[_0xccea25(0x111)],'withDeps':_0x3ff7c6['with-deps'],'scope':_0x3ff7c6[_0xccea25(0x1d3)],'url':_0x3ff7c6[_0xccea25(0x125)],'force':_0x3ff7c6['force'],'opencode':_0x3ff7c6[_0xccea25(0xf8)],'allowInsecureLocalhost':_0x3ff7c6['allow-insecure-localhost']},_0x2e12f2));})['command']('setup-ci\x20<token>',![],_0x5a6d9a=>{const _0x289097=_0x55e20d;return _0x5a6d9a['positional']('token',{'type':'string','description':_0x3d9653['Hcyag'],'demandOption':!![]})['option']('profile',{'type':'string','description':_0x3d9653['iJAqZ']})[_0x289097(0xec)](_0x3d9653['sjOzf'],{'type':_0x3d9653['qhJzm'],'description':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)'})[_0x289097(0xec)](_0x3d9653[_0x289097(0x21a)],{'type':_0x3d9653[_0x289097(0x1a3)],'description':_0x3d9653[_0x289097(0x1b7)],'default':![]});},async _0x4d9085=>{const _0x5efa3a=_0x55e20d;await _0x3d9653[_0x5efa3a(0xe8)](withTelemetry,_0x3d9653[_0x5efa3a(0xcc)],_0x4eac60=>setupCi(_0x4d9085[_0x5efa3a(0x158)],{'profile':_0x4d9085[_0x5efa3a(0xe5)],'baseUrl':_0x4d9085['base-url'],'skipChromium':_0x4d9085['skip-chromium']},_0x4eac60));})[_0x55e20d(0x1c3)]('login',_0x3d9653['avEAH'],()=>{},async()=>{const _0x3d8a09=_0x55e20d;await withTelemetry(_0x3d8a09(0x18e),()=>login());})[_0x55e20d(0x1c3)](_0x3d9653['vwiQu'],_0x55e20d(0x23b),_0x11b5e3=>{const _0x13a07d=_0x55e20d;return _0x11b5e3['option'](_0x3d9653['boMKh'],{'type':_0x3d9653[_0x13a07d(0x1a3)],'description':'Install\x20skills\x20for\x20OpenCode','default':![]})[_0x13a07d(0xec)](_0x3d9653[_0x13a07d(0xf9)],{'type':_0x3d9653['qhJzm'],'choices':[_0x3d9653[_0x13a07d(0x18d)],_0x3d9653[_0x13a07d(0x121)]],'description':_0x3d9653['xZdRt']});},async _0x36b276=>{const _0x544a97=_0x55e20d,_0x1fdf25=_0x3d9653['smcle'](Boolean,_0x36b276['opencode']);await withTelemetry('skillup',()=>skillup({'autoInstall':_0x36b276['scope'],'platform':_0x1fdf25?'opencode':_0x544a97(0xc8)}));})[_0x55e20d(0x1c3)](_0x3d9653[_0x55e20d(0x20a)],_0x3d9653[_0x55e20d(0x15d)],()=>{},async()=>{const _0x262774=_0x55e20d;await withTelemetry(_0x3d9653[_0x262774(0x20a)],()=>clean());})[_0x55e20d(0x1c3)]([_0x3d9653[_0x55e20d(0x11d)],_0x3d9653[_0x55e20d(0xd4)]],'Manage\x20profiles',_0x11e8de=>{const _0x2b02dd=_0x55e20d,_0x5cdca8={'ROPFX':_0x3d9653['NHnNA'],'nZFlx':function(_0x15348b,_0x9737f9,_0x22aa5d){const _0x7ae00d=_0x5ad2;return _0x3d9653[_0x7ae00d(0x1af)](_0x15348b,_0x9737f9,_0x22aa5d);},'aWrZu':_0x2b02dd(0x1d6),'GSRTY':_0x3d9653['qhJzm'],'bvEst':_0x3d9653[_0x2b02dd(0x1cc)],'yFYII':'boolean','KIOOK':_0x3d9653['SBgVn'],'cXgxy':'allow-insecure-localhost','HVnur':_0x3d9653[_0x2b02dd(0x1d9)],'NRRIC':'Cloud\x20profile\x20name','hjSbJ':function(_0x17aef3,_0x3ad46e){return _0x17aef3||_0x3ad46e;},'eWZii':function(_0x1a0a53,_0x18390c){const _0x1ce98c=_0x2b02dd;return _0x3d9653[_0x1ce98c(0x154)](_0x1a0a53,_0x18390c);},'mAulD':'profile\x20migrate','uzKQO':_0x2b02dd(0xe5),'UfMKw':_0x3d9653[_0x2b02dd(0x19d)],'nJivy':_0x3d9653['BpkHM']};return _0x11e8de['usage'](PROFILE_HELP)['command'](_0x3d9653[_0x2b02dd(0x94)],_0x2b02dd(0x1de),_0x512bff=>{const _0x1e809a=_0x2b02dd;return _0x512bff['positional']('profile-name',{'type':_0x3d9653['qhJzm'],'description':_0x1e809a(0xc2),'demandOption':!![]})[_0x1e809a(0xec)]('ci',{'type':_0x3d9653[_0x1e809a(0x1a3)],'hidden':!![],'default':![]})[_0x1e809a(0xec)]('skip-auth',{'type':_0x1e809a(0x219),'description':_0x1e809a(0x1c4),'default':![]})[_0x1e809a(0xec)](_0x1e809a(0x125),{'type':_0x3d9653['qhJzm'],'description':_0x3d9653[_0x1e809a(0x202)]})[_0x1e809a(0xec)](_0x3d9653['GzUFB'],{'type':_0x3d9653['YWdMb'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x1e809a(0xec)](_0x3d9653[_0x1e809a(0x20f)],{'type':'string','description':_0x3d9653[_0x1e809a(0x223)]})['option']('allow-insecure-localhost',{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})['option']('safe-mode',{'type':_0x1e809a(0x219),'description':_0x3d9653[_0x1e809a(0x101)],'default':![]})['option'](_0x1e809a(0x89),{'type':_0x3d9653['qhJzm'],'array':!![],'description':_0x3d9653['PLHFP']})['option'](_0x1e809a(0x1d3),{'type':_0x1e809a(0x11e),'choices':[_0x3d9653['NsBou'],_0x1e809a(0x1e3)],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})[_0x1e809a(0xec)]('yes',{'type':_0x1e809a(0x219),'alias':'y','description':_0x3d9653[_0x1e809a(0x1ba)],'default':![]});},async _0x106a17=>{const _0xa0eef2=_0x2b02dd;await _0x3d9653[_0xa0eef2(0x9f)](withTelemetry,_0x3d9653['vIYxX'],_0x1b87d5=>addEnv(_0x106a17[_0xa0eef2(0x1d6)],{'ci':_0x106a17['ci'],'skipAuth':_0x106a17[_0xa0eef2(0x111)],'url':_0x106a17['url'],'force':_0x106a17['force'],'cdpEndpoint':_0x106a17[_0xa0eef2(0x225)],'allowInsecureLocalhost':_0x106a17[_0xa0eef2(0x1e6)],'safeMode':_0x106a17['safe-mode'],'setupHeader':_0x106a17[_0xa0eef2(0x89)],'scope':_0x106a17['scope'],'yes':_0x106a17['yes']},_0x1b87d5),{'isElectron':Boolean(_0x106a17[_0x3d9653['NTzIt']])});})['command']('use\x20<profile-name>','Switch\x20to\x20using\x20a\x20specific\x20profile',_0x4dc0aa=>{return _0x4dc0aa['positional']('profile-name',{'type':'string','description':_0x5cdca8['ROPFX'],'demandOption':!![]});},async _0x3aad2c=>{const _0x4ba734=_0x2b02dd;await _0x5cdca8[_0x4ba734(0x120)](withTelemetry,'profile\x20use',()=>useEnv(_0x3aad2c[_0x4ba734(0x1d6)]));})[_0x2b02dd(0x1c3)](_0x2b02dd(0xa4),_0x2b02dd(0x1ce),_0x2de837=>{const _0x1aa866=_0x2b02dd;return _0x2de837['positional'](_0x5cdca8['aWrZu'],{'type':_0x5cdca8[_0x1aa866(0x234)],'description':_0x5cdca8[_0x1aa866(0xfc)],'demandOption':!![]})[_0x1aa866(0xec)](_0x1aa866(0xc0),{'type':_0x5cdca8[_0x1aa866(0xef)],'alias':'y','description':_0x5cdca8[_0x1aa866(0x16f)],'default':![]});},async _0x13044c=>{const _0x11f283=_0x2b02dd;await withTelemetry('profile\x20delete',()=>deleteProfile(_0x13044c[_0x11f283(0x1d6)],{'yes':_0x13044c['yes']}));})['command'](_0x3d9653[_0x2b02dd(0x10d)],![],_0x2f960f=>{const _0x183ab3=_0x2b02dd;return _0x2f960f['positional']('profile',{'type':_0x183ab3(0x11e),'description':_0x183ab3(0xb6),'demandOption':!![]});},async _0x4c16d6=>{const _0x4ce9ee=_0x2b02dd;await _0x3d9653[_0x4ce9ee(0xe8)](withTelemetry,_0x4ce9ee(0x1cf),()=>authEncrypt(_0x4c16d6['profile']));})[_0x2b02dd(0x1c3)]('ls',_0x3d9653[_0x2b02dd(0x144)],()=>{},async()=>{const _0x567642=_0x2b02dd;await _0x3d9653['bGFzK'](withTelemetry,_0x3d9653[_0x567642(0x103)],()=>envList());})['command'](_0x3d9653[_0x2b02dd(0x16b)],_0x3d9653[_0x2b02dd(0x21c)],_0x1a7101=>{const _0x28dec4=_0x2b02dd;return _0x1a7101['positional'](_0x5cdca8['aWrZu'],{'type':_0x5cdca8['GSRTY'],'description':_0x28dec4(0x1fd),'demandOption':!![]})[_0x28dec4(0xec)](_0x5cdca8['cXgxy'],{'type':_0x5cdca8['yFYII'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)'})[_0x28dec4(0xec)]('manual',{'type':'boolean','description':_0x28dec4(0xdd)});},async _0x1e138c=>{const _0x3c85e2=_0x2b02dd;await _0x5cdca8['nZFlx'](withTelemetry,_0x3c85e2(0x1fc),_0x4b1c26=>updateEnv(_0x1e138c[_0x3c85e2(0x1d6)],_0x4b1c26,{'allowInsecureLocalhost':_0x1e138c['allow-insecure-localhost'],'manual':_0x1e138c[_0x3c85e2(0x1f0)]}));})[_0x2b02dd(0x1c3)](_0x3d9653[_0x2b02dd(0x187)],![],_0x270358=>{const _0x4bab11=_0x2b02dd;return _0x270358[_0x4bab11(0x1c8)](_0x5cdca8[_0x4bab11(0xfd)],{'type':_0x4bab11(0x11e),'description':_0x5cdca8[_0x4bab11(0x215)],'demandOption':!![]});},async _0x5d43c1=>{await withTelemetry('profile\x20login',async()=>{const _0x552a66=_0x5ad2,_0x514551=process[_0x552a66(0xd5)]['RANGER_TEST_USERNAME'],_0x5efc71=process['env'][_0x552a66(0xc6)];_0x5cdca8[_0x552a66(0x91)](!_0x514551,!_0x5efc71)&&(console['error']('Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.'),process[_0x552a66(0x1a9)](0x1));const _0x3cc077=_0x5d43c1[_0x552a66(0x1b0)],_0x350b7b=await _0x5cdca8['nZFlx'](serverSideLogin,_0x3cc077,{'force':!![]});_0x350b7b[_0x552a66(0x15b)]===_0x552a66(0xb2)&&(console['error']('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process[_0x552a66(0x1a9)](0x1)),_0x5cdca8['eWZii'](_0x350b7b['status'],'failed')&&(console[_0x552a66(0x20c)]('Login\x20failed:\x20'+(_0x350b7b['error']??'unknown\x20error')),_0x350b7b['test_output']&&console['error'](_0x350b7b['test_output']),process[_0x552a66(0x1a9)](0x1)),console['log']('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x3cc077+'\x27.\x20Session\x20saved.');});})[_0x2b02dd(0x1c3)](_0x3d9653[_0x2b02dd(0x15c)],![],_0x3cc9c0=>{const _0x391b28=_0x2b02dd;return _0x3cc9c0['positional'](_0x391b28(0x1d6),{'type':'string','description':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.'})[_0x391b28(0xec)](_0x391b28(0x15e),{'type':'boolean','description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})[_0x391b28(0xec)](_0x391b28(0xff),{'type':'boolean','description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})[_0x391b28(0xec)](_0x3d9653['MXJkY'],{'type':_0x3d9653['YWdMb'],'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})['option'](_0x391b28(0xb5),{'type':_0x3d9653[_0x391b28(0x1a3)],'description':_0x3d9653['aSLTt'],'default':![]});},async _0x41236f=>{const _0x447488=_0x2b02dd;await withTelemetry(_0x5cdca8[_0x447488(0x184)],_0x3d917f=>migrateProfile({'profileName':_0x41236f[_0x447488(0x1d6)],'all':_0x41236f['all'],'dryRun':_0x41236f[_0x447488(0xff)],'yes':_0x41236f[_0x447488(0xc0)],'saveCreds':_0x41236f['save-creds']},_0x3d917f));})['command']('config',_0x3d9653['mgZBP'],_0x4b88c3=>{const _0x52ce7b=_0x2b02dd,_0x1331c5={'eFwkJ':'profile','DTqVb':_0x52ce7b(0x11e),'qEAzC':_0x3d9653['pGmGh'],'cGRDE':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','cWlgR':'value','LrjTe':function(_0x3599e8,_0x3b29f6,_0x1ae69e){return _0x3599e8(_0x3b29f6,_0x1ae69e);},'sKNNO':_0x3d9653[_0x52ce7b(0x153)],'AkfBV':_0x52ce7b(0x218)};return _0x4b88c3[_0x52ce7b(0x1e7)](PROFILE_CONFIG_HELP)['command']('set\x20<profile>\x20<key>\x20<value>',_0x3d9653['VORKz'],_0x3fea8a=>{const _0x5419d4=_0x52ce7b;return _0x3fea8a['positional'](_0x1331c5['eFwkJ'],{'type':_0x1331c5[_0x5419d4(0x157)],'description':_0x1331c5[_0x5419d4(0x1f1)],'demandOption':!![]})['positional'](_0x5419d4(0xb7),{'type':'string','description':_0x1331c5[_0x5419d4(0xa3)],'demandOption':!![]})['positional'](_0x1331c5['cWlgR'],{'type':_0x1331c5['DTqVb'],'description':'Config\x20value','demandOption':!![]});},async _0x56864a=>{const _0x5f4949=_0x52ce7b;await withTelemetry(_0x5f4949(0x221),()=>configSet(_0x56864a[_0x5f4949(0xe5)],_0x56864a[_0x5f4949(0xb7)],_0x56864a[_0x5f4949(0x16a)]));})[_0x52ce7b(0x1c3)]('get\x20<profile>\x20<key>',_0x3d9653['LVcgM'],_0x566035=>{const _0x34777a=_0x52ce7b;return _0x566035[_0x34777a(0x1c8)](_0x5cdca8[_0x34777a(0x18b)],{'type':'string','description':_0x5cdca8['UfMKw'],'demandOption':!![]})['positional'](_0x34777a(0xb7),{'type':'string','description':_0x5cdca8['nJivy'],'demandOption':!![]});},async _0x142cdb=>{const _0x2d6248=_0x52ce7b;await withTelemetry(_0x2d6248(0xae),()=>configGet(_0x142cdb['profile'],_0x142cdb[_0x2d6248(0xb7)]));})[_0x52ce7b(0x1c3)](_0x52ce7b(0x155),_0x3d9653[_0x52ce7b(0x1ab)],_0x30d20c=>{const _0x2b2b84=_0x52ce7b;return _0x30d20c['positional'](_0x1331c5[_0x2b2b84(0x1e9)],{'type':_0x2b2b84(0x11e),'description':_0x1331c5[_0x2b2b84(0x1f1)],'demandOption':!![]});},async _0x2a8020=>{const _0x26c393=_0x52ce7b;await _0x1331c5['LrjTe'](withTelemetry,_0x26c393(0x1d0),()=>configList(_0x2a8020[_0x26c393(0xe5)]));})['command']('unset\x20<profile>\x20<key>',_0x52ce7b(0x108),_0x3a2c49=>{const _0x36b29d=_0x52ce7b;return _0x3a2c49[_0x36b29d(0x1c8)](_0x36b29d(0xe5),{'type':_0x1331c5[_0x36b29d(0x157)],'description':_0x1331c5['qEAzC'],'demandOption':!![]})['positional'](_0x1331c5['sKNNO'],{'type':_0x36b29d(0x11e),'description':_0x1331c5[_0x36b29d(0x232)],'demandOption':!![]});},async _0x316ad7=>{await withTelemetry('profile\x20config\x20unset',()=>configUnset(_0x316ad7['profile'],_0x316ad7['key']));})['command']('reset\x20<profile>',_0x3d9653[_0x52ce7b(0x1e0)],_0x1b9934=>{const _0x1e800d=_0x52ce7b;return _0x1b9934['positional'](_0x5cdca8[_0x1e800d(0x18b)],{'type':_0x1e800d(0x11e),'description':_0x5cdca8[_0x1e800d(0x177)],'demandOption':!![]});},async _0x20101d=>{const _0x1fa2a7=_0x52ce7b;await _0x1331c5['LrjTe'](withTelemetry,_0x1fa2a7(0xfa),()=>configReset(_0x20101d[_0x1fa2a7(0xe5)]));})['demandCommand'](0x1,_0x3d9653[_0x52ce7b(0x169)]);})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})[_0x55e20d(0x1c3)]('status','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{const _0xf5709c=_0x55e20d;await withTelemetry(_0xf5709c(0x15b),()=>status());})[_0x55e20d(0x1c3)](_0x3d9653['oaHDd'],_0x3d9653[_0x55e20d(0xe2)],()=>{},async()=>{const _0x252c2b=_0x55e20d;await withTelemetry(_0x3d9653[_0x252c2b(0x147)],()=>update());})['command'](_0x55e20d(0xe6),_0x3d9653[_0x55e20d(0xb9)],()=>{},async()=>{const _0x3b4b94=_0x55e20d;await _0x3d9653[_0x3b4b94(0x131)](withTelemetry,_0x3d9653['Efxmq'],async()=>{const _0x1dc9fb=_0x3b4b94,_0x391348=await getToken();if(!_0x391348)throw new Error(_0x1dc9fb(0x1bb));console[_0x1dc9fb(0x150)](_0x391348);});})[_0x55e20d(0x1c3)]('go',_0x3d9653['fzymT'],_0x43cb11=>{const _0x4428fa=_0x55e20d;return _0x43cb11[_0x4428fa(0xec)]('feature',{'type':'string','description':_0x3d9653[_0x4428fa(0x123)]})[_0x4428fa(0xec)](_0x3d9653[_0x4428fa(0x11d)],{'type':_0x3d9653['qhJzm'],'description':_0x3d9653[_0x4428fa(0x18c)]})[_0x4428fa(0xec)](_0x4428fa(0x1e2),{'type':_0x3d9653['qhJzm'],'description':_0x3d9653[_0x4428fa(0x8c)]})[_0x4428fa(0xec)]('scenario',{'type':'number','description':_0x3d9653['yNDBu']})[_0x4428fa(0xec)]('start-path',{'type':'string','description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})[_0x4428fa(0xec)](_0x3d9653['sjOzf'],{'type':_0x3d9653['qhJzm'],'description':_0x4428fa(0x193)})[_0x4428fa(0xec)]('model',{'type':_0x3d9653[_0x4428fa(0xe9)],'description':_0x3d9653['Hfkvc']})[_0x4428fa(0xec)](_0x3d9653['uoGzn'],{'type':_0x3d9653['YWdMb'],'description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})[_0x4428fa(0xec)](_0x3d9653['mxBbX'],{'type':_0x4428fa(0x11e),'array':!![],'alias':'environment-variable','description':_0x3d9653[_0x4428fa(0x166)]})['option']('debug-outcome',{'type':_0x3d9653['qhJzm'],'hidden':!![],'choices':[_0x4428fa(0x172),'partial',_0x3d9653['pkDGo'],'failed',_0x3d9653['vUQuw']]})['option'](_0x3d9653['bYfsQ'],{'type':_0x3d9653['YWdMb'],'hidden':!![]})[_0x4428fa(0xec)](_0x3d9653[_0x4428fa(0x132)],{'type':'string','hidden':!![]})[_0x4428fa(0xec)](_0x3d9653[_0x4428fa(0x100)],{'type':_0x4428fa(0x11e),'hidden':!![]})['option'](_0x3d9653[_0x4428fa(0x1c2)],{'type':_0x3d9653[_0x4428fa(0xb8)],'hidden':!![]});},async _0x43f53a=>{const _0x20e2d0=_0x55e20d;await _0x3d9653[_0x20e2d0(0x23d)](runGoCommand,_0x43f53a);})[_0x55e20d(0x1c3)](_0x3d9653[_0x55e20d(0x11c)],![],_0x3244ce=>{const _0x1f85b9=_0x55e20d,_0x3fe283={'PDvgj':function(_0x253b18,_0x47fd96,_0x158dcc){return _0x3d9653['raTgO'](_0x253b18,_0x47fd96,_0x158dcc);},'DcoTS':_0x1f85b9(0xa0),'vomiu':'ranger\x20profile\x20encrypt-auth'};return _0x3244ce['command'](_0x1f85b9(0x226),![],_0x2c598c=>{const _0x3d8761=_0x1f85b9;return _0x2c598c[_0x3d8761(0x1c8)]('profile',{'type':_0x3d8761(0x11e),'description':_0x3d9653[_0x3d8761(0x19d)],'demandOption':!![]});},async _0x2626cd=>{const _0x1fa0c2=_0x1f85b9;_0x3fe283[_0x1fa0c2(0x23c)](warnRenamed,_0x3fe283[_0x1fa0c2(0xb0)],_0x3fe283['vomiu']),await authEncrypt(_0x2626cd['profile']);})[_0x1f85b9(0x160)](0x1,_0x1f85b9(0x1fe));},()=>{})['command'](_0x3d9653[_0x55e20d(0x106)],![],_0x380e88=>{const _0x2cf197=_0x55e20d;return _0x380e88[_0x2cf197(0x1c8)]('token',{'type':_0x3d9653['qhJzm'],'description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})['option'](_0x3d9653[_0x2cf197(0x21a)],{'type':_0x3d9653['YWdMb'],'description':_0x3d9653['wEOwk'],'default':![]})[_0x2cf197(0xec)](_0x3d9653[_0x2cf197(0xf9)],{'type':_0x3d9653['qhJzm'],'choices':['user'],'hidden':!![],'description':_0x3d9653[_0x2cf197(0x136)]})['option'](_0x3d9653['vftSY'],{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})[_0x2cf197(0xec)](_0x3d9653['GzUFB'],{'type':_0x3d9653['YWdMb'],'description':_0x3d9653['pWinc'],'default':![]})['option'](_0x3d9653[_0x2cf197(0x151)],{'type':'boolean','description':'Skip\x20authentication','default':![]})[_0x2cf197(0xec)](_0x2cf197(0x12d),{'type':_0x2cf197(0x219),'description':_0x3d9653[_0x2cf197(0x1ae)],'default':![]});},async _0x58f05f=>{const _0x50225d=_0x55e20d;_0x3d9653[_0x50225d(0xe8)](warnRenamed,_0x50225d(0x127),_0x3d9653['fSiRn']),await _0x3d9653[_0x50225d(0x12b)](withTelemetry,_0x3d9653[_0x50225d(0xcf)],_0x4b3061=>start(_0x58f05f['token'],{'skipChromium':_0x58f05f['skip-chromium'],'skipAuth':_0x58f05f[_0x50225d(0x111)],'withDeps':_0x58f05f[_0x50225d(0x12d)],'scope':_0x58f05f['scope'],'url':_0x58f05f['url'],'force':_0x58f05f['force']},_0x4b3061));})[_0x55e20d(0x1c3)](_0x55e20d(0x13a),![],_0x1fc71b=>{const _0x11be3=_0x55e20d;return _0x1fc71b['option'](_0x3d9653[_0x11be3(0x132)],{'type':_0x11be3(0x11e),'description':_0x3d9653['WlHKH']})['option'](_0x3d9653['bGlKz'],{'type':_0x3d9653[_0x11be3(0xe9)],'description':_0x3d9653[_0x11be3(0xac)]})['option'](_0x3d9653['RiVRw'],{'type':_0x3d9653[_0x11be3(0xb8)],'description':_0x11be3(0xf6)})[_0x11be3(0xec)](_0x11be3(0xe5),{'type':'string','hidden':!![]})['option'](_0x3d9653[_0x11be3(0x163)],{'type':'string','hidden':!![]})[_0x11be3(0xec)](_0x3d9653[_0x11be3(0x124)],{'type':_0x3d9653['jNUWN'],'hidden':!![]})['option'](_0x3d9653['hpnKB'],{'type':_0x3d9653['qhJzm'],'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})['option'](_0x11be3(0x117),{'type':_0x11be3(0x11e),'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})['option'](_0x3d9653['GhlmL'],{'type':'string','hidden':!![]})[_0x11be3(0xec)]('headed',{'type':_0x11be3(0x219),'hidden':!![],'default':![]})[_0x11be3(0xec)]('env-var',{'type':'string','array':!![],'alias':_0x3d9653[_0x11be3(0x21e)],'hidden':!![]})[_0x11be3(0xec)](_0x3d9653[_0x11be3(0x1c7)],{'type':_0x3d9653['qhJzm'],'hidden':!![],'choices':[_0x11be3(0x172),_0x11be3(0x12f),'blocked',_0x3d9653[_0x11be3(0x1cb)],_0x11be3(0xe0)]});},async _0xf22d78=>{await runGoCommand(_0xf22d78,!![]);})[_0x55e20d(0x1c3)]('add\x20env\x20<env-name>',![],_0x171753=>{const _0x30b395=_0x55e20d;return _0x171753['positional'](_0x30b395(0x204),{'type':_0x3d9653[_0x30b395(0xe9)],'description':_0x30b395(0x1c1),'demandOption':!![]})[_0x30b395(0xec)]('ci',{'type':_0x3d9653['YWdMb'],'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x3d9653['ZMbhN'],{'type':'boolean','description':_0x3d9653[_0x30b395(0x135)],'default':![]});},async _0x57763a=>{const _0x39cb78=_0x55e20d;warnRenamed(_0x3d9653[_0x39cb78(0x145)],'ranger\x20profile\x20add'),await withTelemetry('add\x20env',_0x5441d5=>addEnv(_0x57763a['env-name'],{'ci':_0x57763a['ci'],'skipAuth':_0x57763a[_0x39cb78(0x111)]},_0x5441d5));})['command']('use\x20<env-name>',![],_0x115ed6=>{const _0x5c4ca2=_0x55e20d;return _0x115ed6['positional'](_0x3d9653[_0x5c4ca2(0xad)],{'type':'string','description':_0x3d9653['jRnpS'],'demandOption':!![]});},async _0x554c30=>{const _0x1ac651=_0x55e20d;_0x3d9653[_0x1ac651(0x131)](warnRenamed,_0x1ac651(0x1ff),'ranger\x20profile\x20use'),await withTelemetry(_0x1ac651(0x1ec),()=>useEnv(_0x554c30['env-name']));})[_0x55e20d(0x1c3)](_0x55e20d(0x217),![],_0x3339fd=>{const _0x2e3dcc=_0x55e20d,_0x17b45e={'nUBMD':'env','ODxuG':_0x2e3dcc(0x11e),'iBMDx':'key','uwoGT':_0x3d9653[_0x2e3dcc(0x1c0)],'lQlCa':_0x3d9653['TziNT'],'wpRuk':_0x3d9653[_0x2e3dcc(0x1fa)],'EUJKF':_0x2e3dcc(0x1d5)};return _0x3339fd[_0x2e3dcc(0x1c3)](_0x3d9653[_0x2e3dcc(0x114)],![],_0x16892b=>{const _0x2ad9a1=_0x2e3dcc;return _0x16892b['positional'](_0x17b45e[_0x2ad9a1(0x164)],{'type':_0x17b45e[_0x2ad9a1(0x183)],'description':_0x2ad9a1(0x20b),'demandOption':!![]})[_0x2ad9a1(0x1c8)](_0x17b45e['iBMDx'],{'type':_0x2ad9a1(0x11e),'description':_0x17b45e['uwoGT'],'demandOption':!![]})[_0x2ad9a1(0x1c8)]('value',{'type':_0x17b45e['ODxuG'],'description':_0x17b45e[_0x2ad9a1(0xfb)],'demandOption':!![]});},async _0xa60a32=>{const _0x1f2947=_0x2e3dcc;warnRenamed(_0x3d9653['YWXnO'],_0x3d9653['hwNFa']),await withTelemetry(_0x3d9653['YZUTG'],()=>configSet(_0xa60a32['env'],_0xa60a32[_0x1f2947(0xb7)],_0xa60a32[_0x1f2947(0x16a)]));})['command'](_0x3d9653['wotfZ'],![],_0x42d293=>{const _0x20f0fe=_0x2e3dcc;return _0x42d293['positional'](_0x17b45e[_0x20f0fe(0x164)],{'type':_0x17b45e['ODxuG'],'description':_0x17b45e[_0x20f0fe(0x186)],'demandOption':!![]})[_0x20f0fe(0x1c8)](_0x17b45e['iBMDx'],{'type':'string','description':_0x17b45e[_0x20f0fe(0x1ca)],'demandOption':!![]});},async _0x2a42b1=>{const _0x49bfee=_0x2e3dcc;warnRenamed(_0x3d9653['znVqk'],_0x3d9653[_0x49bfee(0x228)]),await withTelemetry(_0x3d9653['ODIbq'],()=>configGet(_0x2a42b1['env'],_0x2a42b1[_0x49bfee(0xb7)]));})[_0x2e3dcc(0x1c3)]('list\x20<env>',![],_0x45fc68=>{return _0x45fc68['positional']('env',{'type':'string','description':'Environment\x20name','demandOption':!![]});},async _0x3fe852=>{const _0x4698f1=_0x2e3dcc;warnRenamed(_0x4698f1(0x1d2),_0x4698f1(0x20d)),await withTelemetry('config\x20list',()=>configList(_0x3fe852['env']));})[_0x2e3dcc(0x1c3)]('unset\x20<env>\x20<key>',![],_0x16f58b=>{const _0x32fd26=_0x2e3dcc;return _0x16f58b[_0x32fd26(0x1c8)]('env',{'type':'string','description':_0x17b45e['wpRuk'],'demandOption':!![]})[_0x32fd26(0x1c8)](_0x32fd26(0xb7),{'type':_0x32fd26(0x11e),'description':_0x32fd26(0x218),'demandOption':!![]});},async _0x57404f=>{const _0x3e7765=_0x2e3dcc;warnRenamed(_0x3d9653[_0x3e7765(0x22a)],_0x3d9653[_0x3e7765(0x198)]),await withTelemetry(_0x3d9653['Stajn'],()=>configUnset(_0x57404f[_0x3e7765(0xd5)],_0x57404f['key']));})['demandCommand'](0x1,_0x3d9653['NVEaZ']);})['command'](_0x3d9653[_0x55e20d(0x132)],![],_0x4f634e=>{const _0x2e02dd=_0x55e20d,_0x1de45a={'fCXoO':_0x3d9653[_0x2e02dd(0x191)],'fIkBz':_0x3d9653[_0x2e02dd(0xad)],'SDvdm':'ranger\x20profile\x20update','RBJvk':function(_0x555ec5,_0x4bdf4e,_0x1e4a3e){return _0x555ec5(_0x4bdf4e,_0x1e4a3e);}};return _0x4f634e[_0x2e02dd(0x1c3)]('ls',![],()=>{},async()=>{const _0x279d62=_0x2e02dd;warnRenamed(_0x1de45a[_0x279d62(0x14b)],'ranger\x20profile\x20ls'),await withTelemetry(_0x279d62(0x182),()=>envList());})['command']('update\x20<env-name>',![],_0xa38ec6=>{const _0x3ed2d9=_0x2e02dd;return _0xa38ec6['positional'](_0x1de45a['fIkBz'],{'type':'string','description':_0x3ed2d9(0x231),'demandOption':!![]});},async _0x4b036d=>{const _0x2ca08a=_0x2e02dd;warnRenamed('ranger\x20env\x20update',_0x1de45a[_0x2ca08a(0x137)]),await _0x1de45a[_0x2ca08a(0x1bc)](withTelemetry,_0x2ca08a(0xf4),_0x346581=>updateEnv(_0x4b036d['env-name'],_0x346581));})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20env\x20subcommand');})[_0x55e20d(0x1c3)](_0x55e20d(0xee),![],_0x2839a3=>{const _0x48664c=_0x55e20d,_0x2f72cd={'uLTvv':_0x48664c(0xd8),'DlcGX':_0x3d9653['JHjKw'],'XioAS':_0x48664c(0xa8),'upCet':_0x48664c(0x9a),'byVpX':_0x3d9653[_0x48664c(0x90)],'IowDw':function(_0xcfc7bb,_0x199f1c,_0x9999b0,_0x167a11){return _0xcfc7bb(_0x199f1c,_0x9999b0,_0x167a11);},'JipRO':_0x3d9653[_0x48664c(0xf5)],'DCSXs':_0x3d9653['wlCjD'],'eyChR':_0x3d9653['XiJJU'],'Qgroa':_0x3d9653[_0x48664c(0x1a3)],'dDQDu':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','zMLAG':_0x48664c(0x1c6),'ulxaV':'number','WHyix':_0x3d9653[_0x48664c(0x14a)],'gDfZk':_0x3d9653['BLIYl'],'wFqdb':_0x48664c(0x11e),'JbWtY':_0x48664c(0x180),'FrFWK':_0x48664c(0x156),'zFkNo':function(_0x3e6b0b,_0x4daac8,_0x491d7d){const _0x38663f=_0x48664c;return _0x3d9653[_0x38663f(0xe8)](_0x3e6b0b,_0x4daac8,_0x491d7d);},'sOZoP':_0x3d9653['jOdSN'],'DTbgu':_0x48664c(0x1a8),'pjSTI':'ranger\x20feature\x20delete','UtgjL':function(_0x5dc45d,_0x30da81,_0xeb6114){return _0x5dc45d(_0x30da81,_0xeb6114);},'zpASc':_0x3d9653['Hpaor'],'lWWNx':'feature\x20restore'};return _0x2839a3['command'](_0x3d9653['CEFQo'],![],_0x172532=>{const _0x123f75=_0x48664c;return _0x172532['positional']('name',{'type':_0x123f75(0x11e),'description':'Feature\x20review\x20name','demandOption':!![]})[_0x123f75(0xec)](_0x2f72cd[_0x123f75(0x22e)],{'type':'string','alias':'d','description':_0x123f75(0xa2)})[_0x123f75(0xec)]('checklist',{'type':_0x123f75(0x9a),'alias':'c','description':_0x2f72cd['DlcGX']})['option'](_0x2f72cd['XioAS'],{'type':_0x2f72cd['upCet'],'hidden':!![]});},async _0x5aa50f=>{const _0x2b8d05=_0x48664c;warnRenamed(_0x2f72cd['byVpX'],'ranger\x20create'),_0x2f72cd[_0x2b8d05(0x1f3)](warnFlagRenamed,_0x2f72cd[_0x2b8d05(0x21b)],_0x2f72cd[_0x2b8d05(0xf7)],_0x2f72cd[_0x2b8d05(0x9c)]);const _0x444d98=_0x5aa50f[_0x2b8d05(0xa8)]||_0x5aa50f['checklist'];await withTelemetry('feature\x20create',()=>featureCreate(_0x5aa50f[_0x2b8d05(0x1b0)],{'description':_0x5aa50f[_0x2b8d05(0xd8)],'scenarios':_0x444d98}));})['command'](_0x48664c(0xd1),![],_0x2572f0=>{const _0x14443f=_0x48664c;return _0x2572f0['option'](_0x14443f(0x96),{'type':_0x2f72cd['Qgroa'],'description':_0x2f72cd[_0x14443f(0x20e)]})['option'](_0x2f72cd[_0x14443f(0x10c)],{'type':_0x2f72cd['ulxaV'],'alias':'l','description':_0x2f72cd[_0x14443f(0x16c)],'default':0xa})['option']('offset',{'type':_0x2f72cd['ulxaV'],'alias':'o','description':_0x14443f(0xc1),'default':0x0})[_0x14443f(0xec)](_0x2f72cd['gDfZk'],{'type':_0x14443f(0x219),'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x24326b=>{const _0x50e552=_0x48664c;warnRenamed(_0x50e552(0x17d),'ranger\x20list'),await withTelemetry(_0x50e552(0xd9),()=>featureList({'currentBranch':_0x24326b[_0x50e552(0x96)],'limit':_0x24326b['limit'],'offset':_0x24326b['offset'],'includeDeleted':_0x24326b['include-deleted']}));})['command'](_0x3d9653[_0x48664c(0x216)],![],_0x444357=>{const _0x6ea7b=_0x48664c;return _0x444357[_0x6ea7b(0x1c8)]('id',{'type':_0x2f72cd['wFqdb'],'description':_0x2f72cd[_0x6ea7b(0x15a)]});},async _0x4c8364=>{const _0x321d52=_0x48664c;_0x3d9653[_0x321d52(0x1ad)](warnRenamed,_0x321d52(0x192),_0x321d52(0x16d)),await _0x3d9653[_0x321d52(0x12c)](withTelemetry,_0x321d52(0x236),()=>featureShow(_0x4c8364['id']));})['command'](_0x3d9653[_0x48664c(0xc7)],![],_0x4b19a9=>{const _0x5d77cc=_0x48664c;return _0x4b19a9['positional']('id',{'type':_0x5d77cc(0x11e),'description':_0x3d9653['Dzgic']});},async _0x2b1821=>{const _0x589e17=_0x48664c;warnRenamed(_0x3d9653['cjttu'],_0x3d9653[_0x589e17(0x1b9)]),await withTelemetry(_0x3d9653[_0x589e17(0x1f6)],()=>featureResume(_0x2b1821['id']));})[_0x48664c(0x1c3)](_0x48664c(0x18a),![],_0x12224a=>{const _0x4ebae5=_0x48664c;return _0x12224a[_0x4ebae5(0x1c8)](_0x4ebae5(0xd8),{'type':_0x4ebae5(0x11e),'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':_0x2f72cd['wFqdb'],'description':_0x2f72cd['FrFWK']});},async _0x20c88d=>{const _0x250987=_0x48664c;_0x2f72cd[_0x250987(0xb1)](warnRenamed,_0x2f72cd[_0x250987(0x1e4)],_0x250987(0x165)),await _0x2f72cd['zFkNo'](withTelemetry,'feature\x20add-checklist-item',()=>featureAddScenario(_0x20c88d['description'],_0x20c88d['id']));})['command'](_0x48664c(0x237),![],_0x5e826c=>{const _0x4709c3=_0x48664c;return _0x5e826c[_0x4709c3(0x1c8)]('id',{'type':'string','description':_0x2f72cd[_0x4709c3(0x1f7)]});},async _0x11640c=>{const _0x58cd85=_0x48664c;warnRenamed('ranger\x20feature\x20get-feedback',_0x2f72cd[_0x58cd85(0x1d4)]),await withTelemetry('feature\x20get-feedback',()=>featureGetReview(_0x11640c['id']));})['command'](_0x3d9653[_0x48664c(0x176)],![],_0x26fcd4=>{return _0x26fcd4['positional']('id',{'type':_0x2f72cd['wFqdb'],'description':'Feature\x20review\x20ID'});},async _0xb83ca2=>{const _0x233374=_0x48664c;_0x2f72cd[_0x233374(0xb1)](warnRenamed,_0x2f72cd[_0x233374(0x181)],'ranger\x20delete'),await _0x2f72cd[_0x233374(0xd2)](withTelemetry,_0x233374(0x88),()=>featureDelete(_0xb83ca2['id']));})[_0x48664c(0x1c3)](_0x3d9653[_0x48664c(0x109)],![],_0xbeb9d6=>{const _0x15f537=_0x48664c;return _0xbeb9d6['positional']('id',{'type':'string','description':_0x15f537(0x238),'demandOption':!![]});},async _0x5ef3c6=>{const _0x458199=_0x48664c;_0x2f72cd[_0x458199(0xd2)](warnRenamed,_0x458199(0x1ee),_0x2f72cd['zpASc']),await _0x2f72cd[_0x458199(0xb1)](withTelemetry,_0x2f72cd['lWWNx'],()=>featureRestore(_0x5ef3c6['id']));})['demandCommand'](0x1,_0x48664c(0xbe));})[_0x55e20d(0x1c3)](_0x3d9653['TQgdk'],![],_0x380c96=>{const _0x5958bf=_0x55e20d,_0x2fb459={'AzsMY':_0x3d9653[_0x5958bf(0x1da)],'MsomM':function(_0x426772,_0x35db79,_0x1e77da){return _0x426772(_0x35db79,_0x1e77da);},'FSzMg':_0x5958bf(0x159),'fzKUj':_0x5958bf(0x14d)};return _0x380c96['command'](_0x3d9653[_0x5958bf(0x21f)],'Enable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x2420b2=>{const _0x353a01=_0x5958bf;return _0x2420b2['option'](_0x2fb459['AzsMY'],{'type':_0x353a01(0x11e),'description':_0x353a01(0x14d)});},async _0x486597=>{const _0x265d89=_0x5958bf;await _0x2fb459[_0x265d89(0x10b)](withTelemetry,_0x2fb459[_0x265d89(0x212)],()=>hook('enable',_0x486597[_0x265d89(0x1c9)]));})[_0x5958bf(0x1c3)](_0x3d9653[_0x5958bf(0xd7)],_0x3d9653['Sfair'],_0x3dce50=>{const _0x5293cb=_0x5958bf;return _0x3dce50['option'](_0x5293cb(0x1c9),{'type':'string','description':_0x2fb459['fzKUj']});},async _0x27edec=>{const _0x2da4a9=_0x5958bf;await withTelemetry('hook:disable',()=>hook(_0x2da4a9(0x214),_0x27edec['session-id']));})[_0x5958bf(0xec)]('name',{'type':_0x3d9653[_0x5958bf(0xe9)],'description':_0x3d9653['juyta']})['option'](_0x3d9653['lpnlM'],{'type':'string','description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x278a10=>{const _0x2c199d=_0x55e20d;_0x278a10['name']&&await _0x3d9653[_0x2c199d(0x19a)](hook,_0x278a10[_0x2c199d(0x1b0)],_0x278a10[_0x2c199d(0x1c9)]);})[_0x55e20d(0x160)](0x1,_0x3d9653['NpKpz'])['strictCommands']()[_0x55e20d(0x19b)](async(_0x2fc3b2,_0x2cd574,_0x224ee6)=>{const _0x70d1a1=_0x55e20d,_0x4c900b=_0x3d9653['smcle'](sanitizeArgs,process[_0x70d1a1(0x1f5)][_0x70d1a1(0x146)](0x2)),_0x53e0d4=getErrorType(_0x2fc3b2,_0x2cd574);if(_0x2fc3b2&&_0x2fc3b2['includes']('Unknown\x20command')){const _0x20f518=process[_0x70d1a1(0x1f5)][0x2];console[_0x70d1a1(0x20c)](_0x70d1a1(0x1a6)+_0x20f518),console['error'](_0x3d9653['Gercs']);}else{if(_0x2fc3b2)console[_0x70d1a1(0x20c)]('\x0a'+_0x2fc3b2+'\x0a');else _0x2cd574&&console['error'](_0x70d1a1(0x1e8)+_0x2cd574['message']+'\x0a');}await logDesirePath({'rawCommand':_0x4c900b,'errorMessage':_0x2fc3b2||_0x2cd574?.['message'],'errorType':_0x53e0d4});const _0x5c7f1b=getCurrentCollector();_0x5c7f1b&&await _0x5c7f1b[_0x70d1a1(0x167)](_0x2cd574||new Error(_0x3d9653[_0x70d1a1(0xde)](_0x2fc3b2,'Unknown\x20error'))),process[_0x70d1a1(0x1a9)](0x1);})['epilogue'](_0x3d9653['dZHAv'](_0x3d9653['dEAbH'],_0x3d9653['XwOeK'])+_0x3d9653[_0x55e20d(0x133)])[_0x55e20d(0x1bd)]()[_0x55e20d(0x152)](_0x3d9653['FJcAr'],'h');}process[_0x2aca60(0xd5)][_0x2aca60(0xdb)]!==_0x2aca60(0xf3)&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()[_0x2aca60(0xd0)]());
2
+ const _0x456391=_0x337d;(function(_0xa219e2,_0xe55326){const _0x122e8a=_0x337d,_0x1e0aa4=_0xa219e2();while(!![]){try{const _0x58b81d=-parseInt(_0x122e8a(0x207))/0x1*(-parseInt(_0x122e8a(0x29f))/0x2)+parseInt(_0x122e8a(0x378))/0x3+parseInt(_0x122e8a(0x291))/0x4*(-parseInt(_0x122e8a(0x26d))/0x5)+-parseInt(_0x122e8a(0x386))/0x6*(-parseInt(_0x122e8a(0x39b))/0x7)+parseInt(_0x122e8a(0x230))/0x8+-parseInt(_0x122e8a(0x27d))/0x9*(parseInt(_0x122e8a(0x1d6))/0xa)+-parseInt(_0x122e8a(0x226))/0xb;if(_0x58b81d===_0xe55326)break;else _0x1e0aa4['push'](_0x1e0aa4['shift']());}catch(_0x4d51e8){_0x1e0aa4['push'](_0x1e0aa4['shift']());}}}(_0x4ec6,0x7f77b));import _0x1593df from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0xd70f75=_0x337d,_0xd6bfd8={'ChUhL':function(_0x4b8173,_0xb64709,_0x41ead8){return _0x4b8173(_0xb64709,_0x41ead8);},'Vvivg':'.ranger'};let _0xcc56ba=process['cwd']();const _0x1e2068=parse(_0xcc56ba)['root'];while(_0xcc56ba!==_0x1e2068){if(existsSync(_0xd6bfd8['ChUhL'](join,_0xcc56ba,_0xd6bfd8[_0xd70f75(0x34c)]))||existsSync(join(_0xcc56ba,'.env')))return _0xcc56ba;_0xcc56ba=dirname(_0xcc56ba);}return process['cwd']();}_0x1593df[_0x456391(0x20f)]({'path':join(findProjectRoot(),'.env')});import _0x535911 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';function _0x337d(_0x3f68c4,_0x5b36da){_0x3f68c4=_0x3f68c4-0x1c2;const _0x4ec654=_0x4ec6();let _0x337d11=_0x4ec654[_0x3f68c4];return _0x337d11;}import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';function _0x4ec6(){const _0x1753ba=['feature\x20get-feedback','UZjgz','Print\x20the\x20current\x20CLI\x20access\x20token','ranger\x20auth\x20encrypt','IfAuD','\x27.\x20Session\x20saved.','sHSnJ','FjiTW','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','message','profile\x20login','array','ranger\x20env\x20ls','safe-mode','cjzli','nuaRo','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','profile\x20ls','LfVns','get-feedback\x20[id]','description','uHcol','mcp','wpyGn','WOikd','UCayr','BtWvQ','fuMBo','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','Include\x20soft-deleted\x20feature\x20reviews','add\x20<profile-name>','sASgt','current-branch','pMQOk','offset','onWLq','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','EpLYN','Jhupv','wTGBz','SHZPb','Add\x20profile\x20configuration','srreF','gOJlX','ITqOY','XjbAp','yarOS','Example:\x20ranger\x20create\x20my-feature','Run\x20full\x20interactive\x20setup','tdndE','CKVMF','edit-scenario\x20<description>','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','scope','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','positional','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','AyQMC','setup-ci','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','number','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','split','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','xzuxN','ClIfu','DueVz','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','uFRYS','KYiEn','KPWcn','Vvivg','cdp-endpoint','AHUII','debug-address-comments','with-deps','udhWL','usage','mcp-bootstrap','opencode','You\x20must\x20specify\x20a\x20profile\x20subcommand','Ranger\x20API\x20token\x20(rngr_...)','xXwLA','✓\x20Authenticated\x20to\x20','lXkpt','\x20INCOMPLETE','gHkaZ','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','wfvrx','GYeUw','list','Base\x20URL\x20of\x20the\x20running\x20app','bPBEY','LYHfe','Feature\x20review\x20ID\x20to\x20restore','Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','rlejt','bXeUS','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','Config\x20key\x20to\x20remove','hook','QumEH','Environment\x20name','\x20\x20https://docs.ranger.net\x0a','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','exit','update\x20<profile-name>','BwknI','rVjcV','brihR','setup:skills','SeIyD','Unknown\x20command','restore','1658547uovYko','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','XZcbt','ranger\x20profile\x20config\x20get','ZstVj','ranger','WLAYa','profile\x20use','HTYdQ','Xhwod','option','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','JOnMn','hXUGB','370812dxvaEQ','LBJFP','feature\x20create','fAxhI','Authenticate\x20with\x20Ranger','ranger\x20go','UaQqg','partial','HqCkL','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','DtxwH','use\x20<env-name>','manual','env','ranger\x20feature\x20create','YlYZw','slice','ranger\x20restore','status','setup-header','PorZk','112CvtzKd','Install\x20skills\x20for\x20OpenCode','ranger\x20feature\x20resume','issues','skip-auth','tokenOrSubcommand','Ranger\x20API\x20token','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','verify-feature','VCjvP','lBFeb','start-path','delete\x20<profile-name>','demandCommand','amHhG','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','xdmQc','argv','tDAZI','jggzN','\x0aError:\x20','enable','encrypt\x20<profile>','4090auUWRF','Scenario\x20index\x20(1-based)','\x20PARTIAL','Set\x20up\x20a\x20local\x20browser\x20profile','ZgCDx','ontQx','Manage\x20profiles','notes','lOwUY','QFZLu','zIUxE','KeUaG','YynMp','New\x20scenario\x20description','bFYIG','LFSjM','log','FAaBl','token','FMQPL','ranger\x20start','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','ranger\x20feature\x20list','show','✓\x20Login\x20succeeded\x20for\x20\x27','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','lXNMt','You\x20must\x20specify\x20an\x20env\x20subcommand','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','skills','Evaluation:\x20','jYliu','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','RbnZM','jQifh','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','NbNtL','Login\x20failed:\x20','incomplete','EkHrg','start\x20[token]','bXrIw','vHXoJ','delete\x20[id]','WMrml','jsxwe','SSjup','add\x20env\x20<env-name>','print-access-token','2662NOJvJS','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','krMYZ','task','Install\x20Chromium\x20browser\x20binary','model','ZiIbr','CsslD','config','url','jubvp','ranger\x20profile\x20use','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','isArray','repeat','caqni','OiYbZ','QtGek','alias','tiTRI','DoGlW','Alias\x20for\x20--mcp-bootstrap','fuuvS','mtrPb','.\x20[','JFcxv','Install\x20OS-level\x20dependencies\x20for\x20Chromium','setup:profiles','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','yes','ranger\x20env\x20update','13658293aIjPNz','JWvxt','kEBpH','map','project','boolean','error','PIuhf','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.','3663368GTPzVk','env-var','save-creds','czyyG','OVIkw','profile-name','nnTkU','Remove\x20a\x20config\x20value','MnmPs','vgFpv','ksuUo','flatMap','Restore\x20a\x20soft-deleted\x20feature\x20review','epilogue','env\x20list','SPOae','WBbWV','jEYkw','yBSHx','AhzjD','TnZDg','dCzkG','vgmxb','BdLRX','Documentation:\x0a','AtqKP','allow-insecure-localhost','profile\x20delete','ranger\x20profile\x20encrypt-auth','update','limit','You\x20must\x20specify\x20a\x20command','checklist','ZosTz','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','CfgSX','setup:login','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','RANGER_TEST_PASSWORD','JAsxZ','include-deleted','list\x20<env>','use','dTeZt','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','profile\x20config\x20set','API\x20token','MrKAl','QVADu','fDYbq','Config\x20value','RANGER_TEST_USERNAME','Tftft','help','length','hKqOt','WERkD','item','RXWsv','key','ranger\x20list','2282905VaXFKY','SnpBm','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','ranger\x20config\x20set','--profile','sGlwK','verified','headed','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','force','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','LqTMw','use\x20<profile-name>','qUpzy','dkrKE','6975WoNxfF','HuxbR','Scenario\x20number\x20to\x20edit\x20(1-based)','Config\x20key','environment-variable','yXXtR','Feature\x20review\x20name','nRYbu','\x20VERIFIED','caGHb','drCkE','all','EDtyz','BjPUs','Skip\x20authentication','DupJp','Feature\x20review\x20ID','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','ranger\x20config\x20get','json','4yOECYT','scenario','SxQNh','Name\x20of\x20the\x20profile\x20to\x20update','create\x20<name>','Feature\x20review\x20description','evaluation','VLzAb','user','iICkP','QkRqx','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','command','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','404NWwmMh','Cbnrk','Name\x20of\x20the\x20environment','rKgOC','zYChb','scriptName','set\x20<env>\x20<key>\x20<value>','mOayA','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','eGEsa','feature\x20list','session-id','\x0aIssues:','CRHfn','add-scenario\x20<description>','wgDpv','ekfpg','TWqbx','uzLta','feature\x20delete','oDOag','nyMvK','blocked','hook:disable','tWQBg','organizationName','profile\x20config\x20reset','diFfE','lntpL','\x20FAILED','ranger\x20add\x20env','Uutwm','profile\x20migrate','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','--task','PycBB','\x20BLOCKED','ranger\x20config\x20list','KpzyJ','HzrTm','Name\x20of\x20the\x20profile','skip-chromium','DNLlS','HCbpl','oDfQM','UBIpG','Rumhs','name','feature','value','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','ranger\x20create','ckKBS','NODE_ENV','qsWTg','JpuJn','setup\x20[tokenOrSubcommand]','nzLnw','QjmHG','resume','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','uORlb','string','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','Unknown\x20error','Skip\x20the\x20deletion\x20confirmation\x20prompt.','Profile\x20name','some','bFaEg','unset\x20<profile>\x20<key>','cHpcR','disable','TbLAX','debug-outcome','jGMgX','Oltbv','Update\x20authentication\x20for\x20an\x20existing\x20profile','TLQZh','YGwJi','Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','mNPpA','dlopC','reset\x20<profile>','dLWgI','YjPqE','xeuqo','\x20is\x20now\x20','qGyTa','playwright-cli','sINfh','OWjxX','test_output','ranger\x20profile\x20config\x20list','profile','PSJhG','HYRog','isWHm','XvGTC','dry-run','env-name','base-url'];_0x4ec6=function(){return _0x1753ba;};return _0x4ec6();}import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x55625b=>{const _0x39f76c=getCurrentCollector();_0x39f76c&&await _0x39f76c['trackCommandError'](_0x55625b),process['exitCode']=0x1;});const rawArgs=process['argv'][_0x456391(0x396)](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201',PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201';function warnRenamed(_0x2f43b8,_0x3c9d9){const _0x5c5791=_0x456391;console[_0x5c5791(0x22c)]('\x0a'+_0x2f43b8+_0x5c5791(0x2f5)+_0x3c9d9+'\x0a');}function argUsed(_0x38d8b8){const _0x22f0bb=_0x456391;return rawArgs[_0x22f0bb(0x2e2)](_0x1b092d=>_0x1b092d===_0x38d8b8||_0x1b092d['startsWith'](_0x38d8b8+'='));}function warnFlagRenamed(_0x43c5e1,_0x2ffc34,_0x32d068){const _0x577b51={'uepKR':function(_0xd6ac21,_0x45dd35,_0x3fa3bc){return _0xd6ac21(_0x45dd35,_0x3fa3bc);}};argUsed(_0x2ffc34)&&_0x577b51['uepKR'](warnRenamed,_0x43c5e1+'\x20'+_0x2ffc34,_0x43c5e1+'\x20'+_0x32d068);}function normalizeEnvVarNames(_0x513e05){const _0x195b05=_0x456391,_0x13ac70=Array[_0x195b05(0x214)](_0x513e05)?_0x513e05:_0x513e05?[_0x513e05]:[];return _0x13ac70[_0x195b05(0x23b)](_0x10992b=>String(_0x10992b)[_0x195b05(0x342)](',')['map'](_0x2fa4f9=>_0x2fa4f9['trim']())['filter'](Boolean));}async function runGoCommand(_0x436016,_0x1966be=![]){const _0x1a58ed=_0x456391,_0x789bb5={'cUtxI':_0x1a58ed(0x271),'JFcxv':function(_0x53af8d,_0xb1ac03,_0x5adb31,_0x391c1c){return _0x53af8d(_0xb1ac03,_0x5adb31,_0x391c1c);},'EkHrg':function(_0x3114cb){return _0x3114cb();},'fuuvS':function(_0x183ef9,_0x2fd056){return _0x183ef9(_0x2fd056);},'Jhupv':_0x1a58ed(0x231),'VLzAb':function(_0x225abd,_0x35e995){return _0x225abd>_0x35e995;},'ggCRn':function(_0x3cf23a,_0x405c32){return _0x3cf23a!==_0x405c32;},'GoEoK':_0x1a58ed(0x2f7),'CsslD':function(_0xbfb0a4,_0x242c88){return _0xbfb0a4!==_0x242c88;},'wpyGn':'rangerwright-cli','fVePm':'start-path','OyjYV':_0x1a58ed(0x2e8),'wTGBz':_0x1a58ed(0x34f),'bXrIw':function(_0x322b7b,_0x5a1502){return _0x322b7b+_0x5a1502;},'xIGXL':_0x1a58ed(0x285),'dkrKE':function(_0x59e8ba,_0x15d67a){return _0x59e8ba===_0x15d67a;},'SPOae':_0x1a58ed(0x1d8),'fEHXW':'blocked'};_0x1966be&&warnRenamed('ranger\x20verify-feature',_0x1a58ed(0x38b));warnFlagRenamed(_0x1a58ed(0x38b),'--env',_0x789bb5['cUtxI']),warnFlagRenamed(_0x1a58ed(0x38b),_0x1a58ed(0x2c1),'--notes'),_0x789bb5[_0x1a58ed(0x220)](warnFlagRenamed,_0x1a58ed(0x38b),'--item','--scenario');const _0x5651a3=await _0x789bb5[_0x1a58ed(0x1fd)](loadRangerConfig),_0x565d4a=_0x789bb5['EkHrg'](isByokEnabled),_0x45b273=_0x436016['model'],_0x27e66f=_0x5651a3['model'],_0x20c7b0=_0x789bb5[_0x1a58ed(0x21d)](normalizeEnvVarNames,_0x436016[_0x789bb5[_0x1a58ed(0x32a)]]),_0x414f27=_0x789bb5[_0x1a58ed(0x1fd)](getVerificationTransport);if(_0x789bb5[_0x1a58ed(0x298)](_0x20c7b0[_0x1a58ed(0x266)],0x0)&&_0x789bb5['ggCRn'](_0x414f27,_0x789bb5['GoEoK'])&&_0x789bb5[_0x1a58ed(0x20e)](_0x414f27,_0x789bb5[_0x1a58ed(0x31b)]))throw new Error(_0x1a58ed(0x252)+_0x414f27+'.');const _0xfc86ad=await verifyFeature({'featureId':_0x436016[_0x1a58ed(0x2cf)],'profile':_0x436016['profile']??_0x436016[_0x1a58ed(0x393)]??process['env']['RANGER_PROFILE'],'notes':_0x436016['notes']??_0x436016[_0x1a58ed(0x20a)],'scenario':_0x436016['scenario']??_0x436016[_0x1a58ed(0x269)],'startPath':_0x436016[_0x789bb5['fVePm']],'baseUrl':_0x436016[_0x1a58ed(0x303)],'debugOutcome':_0x436016[_0x789bb5['OyjYV']],'debugAddressComments':_0x436016[_0x789bb5[_0x1a58ed(0x32b)]],'headed':_0x436016['headed'],'verifierEnvVars':_0x20c7b0,'byokEnabled':_0x565d4a,'flagVerifyModel':_0x45b273,'configVerifyModel':_0x27e66f});console[_0x1a58ed(0x1e6)](_0x789bb5[_0x1a58ed(0x1ff)]('\x0a','='['repeat'](0x3c))),console['log'](_0xfc86ad[_0x1a58ed(0x297)]==='verified'?_0x789bb5['xIGXL']:_0xfc86ad[_0x1a58ed(0x297)]===_0x1a58ed(0x1fc)?_0x1a58ed(0x35a):_0x789bb5[_0x1a58ed(0x27c)](_0xfc86ad[_0x1a58ed(0x297)],'partial')?_0x789bb5[_0x1a58ed(0x23f)]:_0x789bb5[_0x1a58ed(0x27c)](_0xfc86ad[_0x1a58ed(0x297)],_0x789bb5['fEHXW'])?_0x1a58ed(0x2c3):_0x1a58ed(0x2bc)),console[_0x1a58ed(0x1e6)]('='[_0x1a58ed(0x215)](0x3c)),console['log']('Summary:\x20'+_0xfc86ad['summary']),console[_0x1a58ed(0x1e6)](_0x1a58ed(0x1f4)+_0xfc86ad[_0x1a58ed(0x297)]),console[_0x1a58ed(0x1e6)]('Reason:\x20'+_0xfc86ad['evaluationReason']),_0xfc86ad[_0x1a58ed(0x39e)]?.[_0x1a58ed(0x266)]&&(console[_0x1a58ed(0x1e6)](_0x1a58ed(0x2ab)),_0xfc86ad[_0x1a58ed(0x39e)]['forEach']((_0x564008,_0x2911e0)=>{const _0x1b9580=_0x1a58ed;console['log']('\x0a'+(_0x2911e0+0x1)+_0x1b9580(0x21f)+_0x564008['severity']+']\x20'+_0x564008[_0x1b9580(0x318)]);})),process['exit'](_0xfc86ad[_0x1a58ed(0x297)]===_0x1a58ed(0x273)?0x0:0x1);}export function buildParser(_0x3ce7c8){const _0x28a8da=_0x456391,_0x288f9f={'CWejq':_0x28a8da(0x283),'Uutwm':'string','AHUII':'Feature\x20review\x20description','sHSnJ':'scenario','KeUaG':_0x28a8da(0x208),'TLQZh':_0x28a8da(0x250),'DtxwH':function(_0x43ee4f,_0x45fdf5){return _0x43ee4f+_0x45fdf5;},'BtWvQ':_0x28a8da(0x333),'AyQMC':'--checklist','zIUxE':function(_0x4a584b,_0x1d1882,_0x32eb4d){return _0x4a584b(_0x1d1882,_0x32eb4d);},'PorZk':'limit','UCayr':_0x28a8da(0x340),'mmVOr':_0x28a8da(0x321),'caqni':function(_0x4fbcb7,_0x32d87e,_0x3b8838){return _0x4fbcb7(_0x32d87e,_0x3b8838);},'NvKJp':'list','GgyMc':_0x28a8da(0x1ed),'KYiEn':_0x28a8da(0x2da),'cmDqU':'description','krMYZ':'Scenario\x20description','uFRYS':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','EDtyz':_0x28a8da(0x1e3),'VddGd':'edit-scenario','drCkE':_0x28a8da(0x28d),'JWvxt':'exclude-scenario','FjiTW':_0x28a8da(0x348),'QMyiK':'json','HuxbR':'boolean','rVjcV':'report','vHXoJ':'delete','XZcbt':_0x28a8da(0x377),'ksuUo':'token','YGwJi':_0x28a8da(0x356),'HqCkL':_0x28a8da(0x31a),'RbnZM':_0x28a8da(0x2d1),'NBWIM':_0x28a8da(0x254),'rlejt':_0x28a8da(0x339),'Tftft':_0x28a8da(0x38f),'jubvp':function(_0x49f465,_0x5551a6){return _0x49f465!==_0x5551a6;},'DAFdU':_0x28a8da(0x222),'SxQNh':_0x28a8da(0x1c5),'wgDpv':'with-deps','PSJhG':_0x28a8da(0x24a),'mNPpA':_0x28a8da(0x353),'TnZDg':'setup:all','fFCFF':'ranger','Oltbv':function(_0xe61324){return _0xe61324();},'GYeUw':'user','SHZPb':_0x28a8da(0x210),'nzLnw':'skip-auth','ZDEha':'Skip\x20browser\x20authentication','fDYbq':_0x28a8da(0x368),'bPBEY':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','VCjvP':_0x28a8da(0x38a),'lXkpt':_0x28a8da(0x1f3),'bFaEg':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','UaQqg':'profiles','KPWcn':_0x28a8da(0x2c8),'YlYZw':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','DNLlS':_0x28a8da(0x276),'mCPDH':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','QZLGs':_0x28a8da(0x1ef),'zuhcA':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','jggzN':'start','LkAJv':_0x28a8da(0x1c3),'onWLq':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','SeIyD':'login','nuaRo':_0x28a8da(0x22a),'QkRqx':function(_0x42b8b2,_0x2abb4a,_0x40fda2){return _0x42b8b2(_0x2abb4a,_0x40fda2);},'EpLYN':'clean','JOnMn':_0x28a8da(0x235),'QtGek':_0x28a8da(0x37f),'Xhwod':'profile','rKgOC':'profile\x20update','JAsxZ':function(_0x34f090,_0x4d8ff8,_0x690194){return _0x34f090(_0x4d8ff8,_0x690194);},'IHgEb':_0x28a8da(0x2a7),'NFyty':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','tDAZI':_0x28a8da(0x1eb),'XvGTC':_0x28a8da(0x213),'qUpzy':_0x28a8da(0x2e0),'HmRwm':function(_0xd2a188,_0x78b1f3,_0x3c3edd){return _0xd2a188(_0x78b1f3,_0x3c3edd);},'nnTkU':_0x28a8da(0x24b),'RKysZ':_0x28a8da(0x2ce),'zgaKv':_0x28a8da(0x223),'yXXtR':function(_0x107950,_0x1db923){return _0x107950===_0x1db923;},'LYHfe':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','vGQhS':'dry-run','PqjNi':_0x28a8da(0x338),'oiwXt':'Skip\x20interactive\x20confirmation\x20prompts.','ClIfu':_0x28a8da(0x2db),'TxoyM':'Profile\x20name','VBoqW':_0x28a8da(0x33c),'dCzkG':_0x28a8da(0x25d),'CYNUX':_0x28a8da(0x369),'tiTRI':'Set\x20a\x20config\x20value','BXJHX':'Get\x20a\x20config\x20value','yBSHx':'List\x20all\x20config\x20for\x20a\x20profile','ZgCDx':'Delete\x20a\x20cloud\x20profile','jQifh':_0x28a8da(0x370),'RWhZA':_0x28a8da(0x2eb),'DueVz':'config','BjPUs':'Manage\x20profile\x20configuration','qYbic':_0x28a8da(0x24d),'fSYUc':_0x28a8da(0x2cf),'SSjup':'Optional\x20feature\x20ID','bOsil':_0x28a8da(0x1d7),'FMQPL':_0x28a8da(0x1ca),'dTeZt':_0x28a8da(0x231),'BJXXC':_0x28a8da(0x281),'dPhQV':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','QWhle':'debug-outcome','MnmPs':_0x28a8da(0x2b5),'fuMBo':'failed','ZstVj':'debug-address-comments','sGlwK':'env','MrKAl':'item','amHhG':'You\x20must\x20specify\x20an\x20auth\x20subcommand','qiUDR':_0x28a8da(0x26f),'NbNtL':_0x28a8da(0x1ea),'JrqnC':'ranger\x20setup','avZly':function(_0x195959,_0x31aaa9,_0x560740){return _0x195959(_0x31aaa9,_0x560740);},'pMQOk':'task','bnGrC':_0x28a8da(0x1dd),'aochF':_0x28a8da(0x303),'nEGPr':'model','yheNT':_0x28a8da(0x274),'DTSPk':_0x28a8da(0x273),'UGcoQ':'partial','srreF':function(_0x3248e8,_0x16f1b0,_0x4b76a2){return _0x3248e8(_0x16f1b0,_0x4b76a2);},'caGHb':_0x28a8da(0x328),'BKbLh':function(_0x123da6,_0x9598d3,_0x46388d){return _0x123da6(_0x9598d3,_0x46388d);},'zYChb':'env-name','vgFpv':function(_0x250fb6,_0x4b2521,_0x1768e8){return _0x250fb6(_0x4b2521,_0x1768e8);},'SsYfw':'ranger\x20use','ilXEv':_0x28a8da(0x212),'iICkP':_0x28a8da(0x36c),'ojzZW':'key','deVWB':'Config\x20key','plFFA':function(_0x283c61,_0x5838a2,_0x4beeb7){return _0x283c61(_0x5838a2,_0x4beeb7);},'TWqbx':_0x28a8da(0x37b),'YjPqE':function(_0x25920d,_0x5896b5,_0x17ea33){return _0x25920d(_0x5896b5,_0x17ea33);},'XZTot':_0x28a8da(0x2c4),'sgFeV':'ranger\x20profile\x20config\x20unset','CRHfn':function(_0x3fa868,_0x1e708c,_0x15d23f){return _0x3fa868(_0x1e708c,_0x15d23f);},'NBQnX':_0x28a8da(0x262),'sqzfM':_0x28a8da(0x2a5),'gLmQm':'get\x20<env>\x20<key>','sASgt':'unset\x20<env>\x20<key>','OiYbZ':'Name\x20of\x20the\x20environment\x20to\x20update','AYzNk':_0x28a8da(0x310),'DyFJD':'update\x20<env-name>','AYbLr':_0x28a8da(0x1f1),'isWHm':_0x28a8da(0x394),'Cbnrk':_0x28a8da(0x324),'jEYkw':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','HbPYj':function(_0x57d57b,_0x3fd6cf,_0x46eaf6){return _0x57d57b(_0x3fd6cf,_0x46eaf6);},'cczxi':'ranger\x20feature\x20get-feedback','dlopC':function(_0x143557,_0x2212bc,_0x64d769){return _0x143557(_0x2212bc,_0x64d769);},'UBIpG':_0x28a8da(0x304),'brihR':_0x28a8da(0x397),'gUeuy':_0x28a8da(0x30f),'CfgSX':function(_0xd26f19,_0x17f727,_0x485b67){return _0xd26f19(_0x17f727,_0x485b67);},'CTZDY':'ranger\x20resume','TbLAX':function(_0x11f86b,_0x17e7c5,_0x419c85){return _0x11f86b(_0x17e7c5,_0x419c85);},'xgVcQ':'ranger\x20feature\x20add-checklist-item','qGyTa':'feature\x20add-checklist-item','mtrPb':_0x28a8da(0x2b2),'DoGlW':'show\x20[id]','otcFE':'resume\x20[id]','nRYbu':'add-checklist-item\x20<description>','uzLta':_0x28a8da(0x317),'gHkaZ':_0x28a8da(0x201),'DUhGp':_0x28a8da(0x2aa),'mIxbc':_0x28a8da(0x2b6),'WKSsX':_0x28a8da(0x1d4),'zafOJ':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','mWrWI':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','RXWsv':_0x28a8da(0x1f2),'JpuJn':_0x28a8da(0x343),'tdndE':function(_0x1c684f,_0x471cf7){return _0x1c684f(_0x471cf7);},'OVIkw':function(_0x41127b,_0x37701b,_0x80b5d0){return _0x41127b(_0x37701b,_0x80b5d0);},'eGEsa':_0x28a8da(0x376),'QumEH':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','bHDSk':_0x28a8da(0x295),'HVGfk':'List\x20all\x20feature\x20reviews','ontQx':'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','xXwLA':_0x28a8da(0x2ad),'wAeAw':_0x28a8da(0x337),'zvpKb':'report\x20[id]','RexsY':'get-review\x20[id]','BwknI':'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','WERkD':_0x28a8da(0x344),'xeuqo':'Initialize\x20Ranger\x20in\x20your\x20project','LBJFP':_0x28a8da(0x275),'xZyux':'Install\x20Ranger\x20skills','NcXSa':_0x28a8da(0x1dc),'lOwUY':'status','mOayA':_0x28a8da(0x35c),'hXUGB':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','ydBCa':_0x28a8da(0x306),'wHDih':_0x28a8da(0x1fe),'guESd':_0x28a8da(0x24f),'Rumhs':_0x28a8da(0x248),'LccrN':_0x28a8da(0x36d),'gOJlX':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','AtqKP':'help'};return _0x288f9f['tdndE'](_0x535911,_0x3ce7c8??process[_0x28a8da(0x1d0)]['slice'](0x2))[_0x28a8da(0x2a4)](_0x28a8da(0x37d))['usage'](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command'](_0x288f9f['bHDSk'],_0x28a8da(0x341),_0x3497e7=>{const _0x1b874d=_0x28a8da;return _0x3497e7['positional']('name',{'type':'string','description':_0x288f9f['CWejq'],'demandOption':!![]})['option']('description',{'type':_0x288f9f['Uutwm'],'alias':'d','description':_0x288f9f[_0x1b874d(0x34e)]})[_0x1b874d(0x382)](_0x288f9f[_0x1b874d(0x30a)],{'type':'array','alias':'c','description':_0x288f9f[_0x1b874d(0x1e1)]})['option'](_0x288f9f[_0x1b874d(0x2ec)],{'type':_0x1b874d(0x30f),'hidden':!![]});},async _0x4dc817=>{const _0x3d5aa2=_0x28a8da;if(!_0x4dc817['name']){console[_0x3d5aa2(0x22c)](_0x288f9f[_0x3d5aa2(0x390)]('Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a',_0x288f9f[_0x3d5aa2(0x31e)])),process[_0x3d5aa2(0x36f)](0x1);return;}warnFlagRenamed('ranger\x20create',_0x288f9f[_0x3d5aa2(0x33d)],'--scenario');const _0x41da6d=_0x4dc817['scenario']||_0x4dc817['checklist'];await _0x288f9f[_0x3d5aa2(0x1e0)](withTelemetry,'create',()=>featureCreate(_0x4dc817['name'],{'description':_0x4dc817['description'],'scenarios':_0x41da6d}));})['command'](_0x28a8da(0x35f),_0x288f9f['HVGfk'],_0x1188dc=>{const _0x8d5fd8=_0x28a8da;return _0x1188dc['option']('current-branch',{'type':'boolean','description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})[_0x8d5fd8(0x382)](_0x288f9f[_0x8d5fd8(0x39a)],{'type':_0x288f9f['UCayr'],'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option'](_0x8d5fd8(0x326),{'type':_0x288f9f['UCayr'],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x8d5fd8(0x382)](_0x8d5fd8(0x258),{'type':_0x8d5fd8(0x22b),'alias':'d','description':_0x288f9f['mmVOr'],'default':![]});},async _0xc299ee=>{const _0x4201ca=_0x28a8da;await _0x288f9f['caqni'](withTelemetry,_0x288f9f['NvKJp'],()=>featureList({'currentBranch':_0xc299ee[_0x4201ca(0x324)],'limit':_0xc299ee['limit'],'offset':_0xc299ee['offset'],'includeDeleted':_0xc299ee['include-deleted']}));})[_0x28a8da(0x29d)](_0x288f9f[_0x28a8da(0x21b)],_0x288f9f[_0x28a8da(0x1db)],_0x8a3fe6=>{const _0x480ab7=_0x28a8da;return _0x8a3fe6['positional']('id',{'type':_0x480ab7(0x2dd),'description':'Feature\x20review\x20ID'});},async _0x11e6b8=>{await withTelemetry(_0x288f9f['GgyMc'],()=>featureShow(_0x11e6b8['id']));})[_0x28a8da(0x29d)](_0x288f9f['otcFE'],_0x28a8da(0x30c),_0xd107f0=>{const _0x527df1=_0x28a8da;return _0xd107f0[_0x527df1(0x33b)]('id',{'type':_0x288f9f[_0x527df1(0x2be)],'description':_0x527df1(0x1c6)});},async _0x475dfe=>{const _0x698f9b=_0x28a8da;await _0x288f9f['caqni'](withTelemetry,_0x288f9f[_0x698f9b(0x34a)],()=>featureResume(_0x475dfe['id']));})[_0x28a8da(0x29d)](_0x288f9f[_0x28a8da(0x357)],_0x28a8da(0x277),_0x461eb9=>{const _0x5141d9=_0x28a8da;return _0x461eb9['positional'](_0x288f9f['cmDqU'],{'type':_0x288f9f['Uutwm'],'description':_0x288f9f[_0x5141d9(0x209)],'demandOption':!![]})['option']('id',{'type':_0x288f9f[_0x5141d9(0x2be)],'description':_0x288f9f['uFRYS']});},async _0x12790e=>{await withTelemetry('add-scenario',()=>featureAddScenario(_0x12790e['description'],_0x12790e['id']));})['command'](_0x288f9f['wAeAw'],'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x458065=>{const _0x2b2980=_0x28a8da;return _0x458065['positional'](_0x2b2980(0x318),{'type':'string','description':_0x288f9f[_0x2b2980(0x289)],'demandOption':!![]})[_0x2b2980(0x382)](_0x288f9f['sHSnJ'],{'type':_0x2b2980(0x340),'description':_0x2b2980(0x27f),'demandOption':!![]})['option']('id',{'type':_0x2b2980(0x2dd),'description':_0x288f9f[_0x2b2980(0x349)]});},async _0x3582b6=>{const _0x325261=_0x28a8da;await withTelemetry(_0x288f9f['VddGd'],()=>featureEditScenario(_0x3582b6[_0x325261(0x318)],{'id':_0x3582b6['id'],'scenario':_0x3582b6[_0x325261(0x292)]}));})[_0x28a8da(0x29d)](_0x288f9f['zvpKb'],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x1b52d9=>{const _0x50f238=_0x28a8da;return _0x1b52d9[_0x50f238(0x33b)]('id',{'type':_0x50f238(0x2dd),'description':_0x288f9f['drCkE']})[_0x50f238(0x382)](_0x288f9f[_0x50f238(0x227)],{'type':_0x50f238(0x30f),'description':_0x288f9f[_0x50f238(0x30b)]})['option'](_0x288f9f['QMyiK'],{'type':_0x288f9f['HuxbR'],'description':_0x50f238(0x29e),'default':![]});},async _0xf23e8a=>{const _0x428e9e=_0x28a8da,_0x127269=_0xf23e8a[_0x288f9f[_0x428e9e(0x227)]],_0x289577=_0x127269?_0x127269[_0x428e9e(0x229)](_0x39c321=>Number(_0x39c321)):undefined;await withTelemetry(_0x288f9f[_0x428e9e(0x372)],()=>featureReportPrDescription(_0xf23e8a['id'],{'excludeScenarios':_0x289577,'json':_0xf23e8a[_0x428e9e(0x290)]}));})['command'](_0x288f9f['RexsY'],_0x288f9f[_0x28a8da(0x371)],_0x18883c=>{return _0x18883c['positional']('id',{'type':_0x288f9f['Uutwm'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x2706a7=>{await _0x288f9f['zIUxE'](withTelemetry,'get-review',()=>featureGetReview(_0x2706a7['id']));})['command'](_0x288f9f[_0x28a8da(0x35b)],_0x288f9f[_0x28a8da(0x268)],_0x3c0446=>{const _0x11bf77=_0x28a8da;return _0x3c0446[_0x11bf77(0x33b)]('id',{'type':_0x288f9f[_0x11bf77(0x2be)],'description':'Feature\x20review\x20ID'});},async _0x22191f=>{const _0x525021=_0x28a8da;await withTelemetry(_0x288f9f[_0x525021(0x200)],()=>featureDelete(_0x22191f['id']));})['command']('restore\x20<id>',_0x28a8da(0x23c),_0x48cc2a=>{const _0x46b452=_0x28a8da;return _0x48cc2a[_0x46b452(0x33b)]('id',{'type':_0x46b452(0x2dd),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x138372=>{const _0x564145=_0x28a8da;await _0x288f9f[_0x564145(0x216)](withTelemetry,_0x288f9f[_0x564145(0x37a)],()=>featureRestore(_0x138372['id']));})[_0x28a8da(0x29d)](_0x28a8da(0x2d7),_0x288f9f[_0x28a8da(0x2f4)],_0xd8039a=>{const _0x1cfe54=_0x28a8da,_0x39cbbc={'GpOFu':'token','lXNMt':_0x1cfe54(0x2dd),'QVADu':_0x1cfe54(0x1c3),'HTYdQ':_0x288f9f['SxQNh'],'CKVMF':_0x1cfe54(0x28b),'NflQE':_0x288f9f[_0x1cfe54(0x2ae)],'WOikd':_0x288f9f['HuxbR'],'czyyG':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','mJgzA':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','WMrml':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','GfYMU':_0x1cfe54(0x38f),'KpzyJ':_0x288f9f[_0x1cfe54(0x2fd)],'lntpL':_0x288f9f[_0x1cfe54(0x38e)],'UCwER':_0x288f9f[_0x1cfe54(0x2ef)],'qsWTg':_0x288f9f[_0x1cfe54(0x244)],'vfbKj':_0x288f9f['fFCFF'],'BdLRX':function(_0x4bd852){const _0x41e5d8=_0x1cfe54;return _0x288f9f[_0x41e5d8(0x2ea)](_0x4bd852);},'xdmQc':_0x288f9f['GYeUw'],'fXJuy':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','kEBpH':_0x288f9f[_0x1cfe54(0x32c)],'bXeUS':_0x288f9f['nzLnw'],'fNnsb':_0x288f9f['ZDEha'],'oDfQM':_0x288f9f[_0x1cfe54(0x261)]};return _0xd8039a[_0x1cfe54(0x352)]('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')[_0x1cfe54(0x33b)](_0x1cfe54(0x1c2),{'type':'string','description':_0x288f9f[_0x1cfe54(0x361)]})['command']('all',_0x1cfe54(0x334),_0x46e606=>{const _0x5883db=_0x1cfe54;return _0x46e606[_0x5883db(0x382)](_0x39cbbc['GpOFu'],{'type':_0x39cbbc['lXNMt'],'description':_0x39cbbc[_0x5883db(0x260)]})['option']('skip-chromium',{'type':'boolean','description':_0x39cbbc[_0x5883db(0x380)],'default':![]})[_0x5883db(0x382)](_0x5883db(0x39f),{'type':'boolean','description':_0x39cbbc[_0x5883db(0x336)],'default':![]})['option'](_0x39cbbc['NflQE'],{'type':_0x39cbbc[_0x5883db(0x31c)],'description':_0x39cbbc[_0x5883db(0x233)],'default':![]})['option']('scope',{'type':_0x39cbbc[_0x5883db(0x1f0)],'choices':[_0x5883db(0x299)],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x5883db(0x382)]('url',{'type':_0x39cbbc[_0x5883db(0x1f0)],'description':_0x39cbbc['mJgzA']})[_0x5883db(0x382)](_0x5883db(0x276),{'type':'boolean','description':_0x39cbbc[_0x5883db(0x202)],'default':![]})['option'](_0x5883db(0x354),{'type':_0x39cbbc[_0x5883db(0x31c)],'description':_0x39cbbc['GfYMU'],'default':![]})[_0x5883db(0x382)](_0x39cbbc[_0x5883db(0x2c5)],{'type':'boolean','description':_0x5883db(0x368),'default':![]})[_0x5883db(0x382)]('mcp-bootstrap',{'type':_0x39cbbc[_0x5883db(0x31c)],'description':_0x5883db(0x1ce),'default':![]})['option'](_0x39cbbc[_0x5883db(0x2bb)],{'type':_0x39cbbc[_0x5883db(0x31c)],'description':_0x5883db(0x21c),'default':![]});},async _0x4501d3=>{const _0x9cef7f=_0x1cfe54;(_0x4501d3[_0x39cbbc['UCwER']]||_0x4501d3[_0x9cef7f(0x31a)])&&await withTelemetry('mcp-bootstrap',()=>mcpBootstrap()),await withTelemetry(_0x39cbbc[_0x9cef7f(0x2d5)],_0x5269ad=>start(_0x4501d3[_0x9cef7f(0x1e8)],{'skipChromium':_0x4501d3[_0x9cef7f(0x2c8)],'skipAuth':_0x4501d3['skip-auth'],'withDeps':_0x4501d3[_0x9cef7f(0x350)],'scope':_0x4501d3['scope'],'url':_0x4501d3['url'],'force':_0x4501d3[_0x9cef7f(0x276)],'opencode':_0x4501d3[_0x9cef7f(0x354)],'allowInsecureLocalhost':_0x4501d3[_0x9cef7f(0x24a)]},_0x5269ad));})['command']('deps',_0x1cfe54(0x20b),_0x4a54dd=>{const _0x293ec1=_0x1cfe54;return _0x4a54dd['option'](_0x39cbbc['NflQE'],{'type':_0x39cbbc['WOikd'],'description':_0x293ec1(0x33f),'default':![]});},async _0x1bccd5=>{await withTelemetry('setup:deps',()=>ensureChromium(_0x1bccd5['with-deps']));})[_0x1cfe54(0x29d)]('login',_0x288f9f[_0x1cfe54(0x1c8)],_0x1e5e51=>{const _0x19319f=_0x1cfe54;return _0x1e5e51['option'](_0x288f9f[_0x19319f(0x23a)],{'type':_0x288f9f['Uutwm'],'description':_0x288f9f[_0x19319f(0x2ed)]})[_0x19319f(0x382)](_0x288f9f[_0x19319f(0x38e)],{'type':'boolean','description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x9b4f69=>{const _0xa7c6a3=_0x1cfe54,_0x7f06af={'qaxAb':_0x288f9f[_0xa7c6a3(0x1f7)],'cTjlH':function(_0x547232,_0x20e457){return _0x547232(_0x20e457);}};await _0x288f9f['caqni'](withTelemetry,_0x288f9f['NBWIM'],async()=>{const _0x41f8a8=_0xa7c6a3;if(_0x9b4f69[_0x41f8a8(0x31a)]){await mcpBootstrap();const _0x4c6a1e=await refreshCliToken();if(!_0x4c6a1e)throw new Error(_0x7f06af['qaxAb']);const _0x3b508a=await getCurrentUser(_0x4c6a1e);if(!_0x3b508a['success'])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x3b508a[_0x41f8a8(0x22c)]);console['log'](_0x41f8a8(0x358)+_0x3b508a['user'][_0x41f8a8(0x2b8)]);return;}await _0x7f06af['cTjlH'](authenticate,_0x9b4f69[_0x41f8a8(0x1e8)]);});})[_0x1cfe54(0x29d)](_0x288f9f[_0x1cfe54(0x359)],_0x288f9f[_0x1cfe54(0x2e3)],_0x340bc3=>{const _0x300205=_0x1cfe54;return _0x340bc3['option'](_0x288f9f[_0x300205(0x366)],{'type':_0x288f9f['Uutwm'],'choices':[_0x300205(0x299),'project'],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})['option'](_0x300205(0x354),{'type':'boolean','description':_0x288f9f[_0x300205(0x264)],'default':![]});},async _0x5e3bad=>{const _0xfce7f2=_0x1cfe54;await withTelemetry(_0xfce7f2(0x374),async()=>{const _0xd98f5a=_0xfce7f2,_0x4227cb=_0x5e3bad[_0xd98f5a(0x339)];if(_0x5e3bad[_0xd98f5a(0x354)]){const _0x33daac=await ensureOpencodePluginConfig(_0x4227cb);_0x33daac&&await installSkill(_0x39cbbc['vfbKj'],{'level':_0x33daac['scope'],'cliVersion':_0x39cbbc[_0xd98f5a(0x247)](getCurrentVersion),'platform':'opencode'});}else await ensureClaudePlugin(_0x4227cb),await ensureClaudeSkills(_0x4227cb);});})[_0x1cfe54(0x29d)](_0x288f9f[_0x1cfe54(0x38c)],_0x1cfe54(0x1d9),_0x416137=>{const _0x11e863=_0x1cfe54;return _0x416137['option'](_0x11e863(0x339),{'type':_0x39cbbc['lXNMt'],'choices':[_0x39cbbc[_0x11e863(0x1cf)]],'description':_0x39cbbc['fXJuy']})[_0x11e863(0x382)](_0x39cbbc[_0x11e863(0x228)],{'type':_0x39cbbc[_0x11e863(0x1f0)],'description':_0x11e863(0x360)})['option'](_0x39cbbc[_0x11e863(0x367)],{'type':_0x39cbbc['WOikd'],'description':_0x39cbbc['fNnsb'],'default':![]})[_0x11e863(0x382)](_0x11e863(0x276),{'type':_0x11e863(0x22b),'description':_0x39cbbc[_0x11e863(0x202)],'default':![]})[_0x11e863(0x382)](_0x11e863(0x24a),{'type':_0x39cbbc['WOikd'],'description':_0x39cbbc[_0x11e863(0x2cb)],'default':![]});},async _0x45aaf0=>{const _0x466def=_0x1cfe54,_0x18f8b6=_0x45aaf0[_0x466def(0x339)];_0x18f8b6!==undefined&&_0x288f9f[_0x466def(0x211)](_0x18f8b6,_0x466def(0x299))&&(console[_0x466def(0x22c)](_0x288f9f[_0x466def(0x390)]('ranger\x20setup\x20profiles\x20--scope='+_0x18f8b6+'\x20is\x20no\x20longer\x20supported.\x20'+_0x466def(0x383),_0x466def(0x379))),process['exit'](0x1)),await withTelemetry(_0x288f9f['DAFdU'],_0x506fab=>ensureLocalEnv({'url':_0x45aaf0[_0x466def(0x210)],'force':_0x45aaf0[_0x466def(0x276)],'allowInsecureLocalhost':_0x45aaf0[_0x466def(0x24a)],'scope':'user'},_0x506fab));})[_0x1cfe54(0x382)](_0x288f9f[_0x1cfe54(0x34b)],{'type':_0x1cfe54(0x22b),'description':_0x288f9f[_0x1cfe54(0x293)],'default':![]})[_0x1cfe54(0x382)]('scope',{'type':_0x288f9f[_0x1cfe54(0x2be)],'choices':[_0x1cfe54(0x299)],'hidden':!![],'description':_0x288f9f[_0x1cfe54(0x395)]})['option']('url',{'type':_0x288f9f[_0x1cfe54(0x2be)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x288f9f['DNLlS'],{'type':_0x288f9f[_0x1cfe54(0x27e)],'description':_0x288f9f['mCPDH'],'default':![]})['option']('opencode',{'type':_0x288f9f['HuxbR'],'description':_0x288f9f['Tftft'],'default':![]})['option']('allow-insecure-localhost',{'type':_0x288f9f['HuxbR'],'description':_0x288f9f['QZLGs'],'default':![]})[_0x1cfe54(0x382)](_0x288f9f['mNPpA'],{'type':'boolean','description':_0x1cfe54(0x28e),'default':![]})[_0x1cfe54(0x382)](_0x288f9f[_0x1cfe54(0x2d8)],{'type':'boolean','description':_0x1cfe54(0x365),'default':![]})['option'](_0x288f9f['wgDpv'],{'type':_0x1cfe54(0x22b),'description':_0x288f9f['zuhcA'],'default':![]})['option'](_0x1cfe54(0x1e8),{'type':_0x288f9f[_0x1cfe54(0x2be)],'hidden':!![],'description':_0x1cfe54(0x25e)});},async _0x2dbacb=>{const _0x26f7d3=_0x28a8da,_0x414113=_0x2dbacb[_0x26f7d3(0x1c2)],_0x223545=_0x2dbacb['token']??_0x414113;_0x2dbacb[_0x26f7d3(0x353)]&&await withTelemetry(_0x288f9f['mNPpA'],()=>mcpBootstrap()),await withTelemetry(_0x288f9f[_0x26f7d3(0x1d2)],_0x1dfcfc=>start(_0x223545,{'skipChromium':_0x2dbacb[_0x26f7d3(0x2c8)],'skipAuth':_0x2dbacb[_0x26f7d3(0x39f)],'withDeps':_0x2dbacb[_0x26f7d3(0x350)],'scope':_0x2dbacb[_0x26f7d3(0x339)],'url':_0x2dbacb['url'],'force':_0x2dbacb['force'],'opencode':_0x2dbacb[_0x26f7d3(0x354)],'allowInsecureLocalhost':_0x2dbacb['allow-insecure-localhost']},_0x1dfcfc));})[_0x28a8da(0x29d)]('setup-ci\x20<token>',![],_0x50da9c=>{const _0x4b545a=_0x28a8da;return _0x50da9c[_0x4b545a(0x33b)](_0x288f9f['ksuUo'],{'type':_0x288f9f['Uutwm'],'description':_0x288f9f['LkAJv'],'demandOption':!![]})[_0x4b545a(0x382)](_0x4b545a(0x2fc),{'type':_0x288f9f['Uutwm'],'description':_0x288f9f[_0x4b545a(0x327)]})['option']('base-url',{'type':_0x4b545a(0x2dd),'description':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)'})[_0x4b545a(0x382)]('skip-chromium',{'type':_0x288f9f['HuxbR'],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x30bd70=>{const _0x33ffbb=_0x28a8da;await withTelemetry(_0x33ffbb(0x33e),_0x18b435=>setupCi(_0x30bd70[_0x33ffbb(0x1e8)],{'profile':_0x30bd70['profile'],'baseUrl':_0x30bd70[_0x33ffbb(0x303)],'skipChromium':_0x30bd70['skip-chromium']},_0x18b435));})[_0x28a8da(0x29d)](_0x288f9f['SeIyD'],_0x288f9f[_0x28a8da(0x387)],()=>{},async()=>{const _0x385ffb=_0x28a8da;await withTelemetry(_0x288f9f[_0x385ffb(0x375)],()=>login());})[_0x28a8da(0x29d)]('skillup',_0x288f9f['xZyux'],_0x3755c1=>{const _0x4f423b=_0x28a8da;return _0x3755c1[_0x4f423b(0x382)](_0x4f423b(0x354),{'type':_0x4f423b(0x22b),'description':_0x4f423b(0x39c),'default':![]})['option'](_0x4f423b(0x339),{'type':_0x288f9f[_0x4f423b(0x2be)],'choices':[_0x288f9f[_0x4f423b(0x35e)],_0x288f9f[_0x4f423b(0x313)]],'description':'Install\x20scope\x20for\x20skills'});},async _0x3c6357=>{const _0x29b39c=_0x28a8da,_0x18e9cf=Boolean(_0x3c6357[_0x29b39c(0x354)]);await _0x288f9f['zIUxE'](withTelemetry,'skillup',()=>skillup({'autoInstall':_0x3c6357['scope'],'platform':_0x18e9cf?_0x29b39c(0x354):'claude'}));})[_0x28a8da(0x29d)]('clean','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{const _0xaae50a=_0x28a8da;await _0x288f9f[_0xaae50a(0x29b)](withTelemetry,_0x288f9f[_0xaae50a(0x329)],()=>clean());})[_0x28a8da(0x29d)]([_0x288f9f[_0x28a8da(0x381)],'profiles'],_0x288f9f['NcXSa'],_0x2a33dc=>{const _0xd5ce81=_0x28a8da,_0xa04e2a={'dLWgI':_0x288f9f[_0xd5ce81(0x384)],'cHpcR':_0x288f9f['IHgEb'],'LFSjM':_0xd5ce81(0x22b),'myIBA':_0x288f9f['NFyty'],'jYliu':_0x288f9f[_0xd5ce81(0x2be)],'cjzli':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','czeRr':_0x288f9f[_0xd5ce81(0x2c9)],'DupJp':_0x288f9f['mCPDH'],'LqTMw':_0xd5ce81(0x24a),'BCcvU':_0x288f9f[_0xd5ce81(0x1d1)],'AhzjD':'setup-header','sINfh':_0x288f9f[_0xd5ce81(0x300)],'ZiIbr':_0xd5ce81(0x339),'jGMgX':_0xd5ce81(0x29c),'PycBB':'yes','WLAYa':_0xd5ce81(0x1f6),'EQrAm':'profile\x20add','SVwzl':_0x288f9f[_0xd5ce81(0x27b)],'XjbAp':function(_0x38983f,_0x5ccf57,_0x2556cc){return _0x288f9f['HmRwm'](_0x38983f,_0x5ccf57,_0x2556cc);},'Bgora':_0x288f9f[_0xd5ce81(0x236)],'YdvsU':function(_0xb46d99,_0x53b2b2,_0x5aa425){return _0xb46d99(_0x53b2b2,_0x5aa425);},'SnpBm':_0x288f9f['QZLGs'],'UZjgz':_0x288f9f['RKysZ'],'bFYIG':_0x288f9f['zgaKv'],'FAaBl':function(_0x23ad87,_0x405c75){const _0x20e9df=_0xd5ce81;return _0x288f9f[_0x20e9df(0x282)](_0x23ad87,_0x405c75);},'vOHxQ':'not_configured','HzrTm':'failed','zWLQn':'unknown\x20error','APSyk':_0x288f9f[_0xd5ce81(0x362)],'Depwj':_0xd5ce81(0x314),'rYnaV':_0x288f9f['vGQhS'],'fUXha':_0x288f9f['PqjNi'],'vSshV':_0x288f9f['oiwXt'],'vPRkZ':_0x288f9f[_0xd5ce81(0x346)],'NuDBg':_0x288f9f['TxoyM'],'CoekO':_0x288f9f['VBoqW'],'uHcol':_0x288f9f[_0xd5ce81(0x245)],'hkpPg':'profile','nyMvK':function(_0x40fd96,_0x504d28,_0x2e389a){return _0x40fd96(_0x504d28,_0x2e389a);},'mYTyT':'profile\x20config\x20unset','fAxhI':function(_0x5f062d,_0x314cb5,_0x2548c4){const _0x330f0c=_0xd5ce81;return _0x288f9f[_0x330f0c(0x216)](_0x5f062d,_0x314cb5,_0x2548c4);},'yDyqN':_0xd5ce81(0x26b),'LfVns':_0x288f9f['CYNUX'],'PIuhf':_0x288f9f[_0xd5ce81(0x21a)],'uORlb':_0x288f9f['BXJHX'],'wfvrx':_0x288f9f[_0xd5ce81(0x242)],'tWQBg':_0xd5ce81(0x2e4),'MxsZd':_0xd5ce81(0x36e)};return _0x2a33dc[_0xd5ce81(0x352)](PROFILE_HELP)['command'](_0xd5ce81(0x322),_0xd5ce81(0x32d),_0x5cbdc5=>{const _0x2bfd99=_0xd5ce81;return _0x5cbdc5['positional'](_0xa04e2a[_0x2bfd99(0x2f2)],{'type':_0x2bfd99(0x2dd),'description':_0xa04e2a[_0x2bfd99(0x2e5)],'demandOption':!![]})[_0x2bfd99(0x382)]('ci',{'type':_0xa04e2a[_0x2bfd99(0x1e5)],'hidden':!![],'default':![]})['option']('skip-auth',{'type':_0x2bfd99(0x22b),'description':_0xa04e2a['myIBA'],'default':![]})[_0x2bfd99(0x382)](_0x2bfd99(0x210),{'type':_0xa04e2a['jYliu'],'description':_0xa04e2a[_0x2bfd99(0x312)]})['option'](_0xa04e2a['czeRr'],{'type':_0xa04e2a[_0x2bfd99(0x1e5)],'description':_0xa04e2a[_0x2bfd99(0x28c)],'default':![]})[_0x2bfd99(0x382)]('cdp-endpoint',{'type':_0x2bfd99(0x2dd),'description':_0x2bfd99(0x1f9)})['option'](_0xa04e2a[_0x2bfd99(0x279)],{'type':'boolean','description':_0x2bfd99(0x1ef),'default':![]})[_0x2bfd99(0x382)]('safe-mode',{'type':_0x2bfd99(0x22b),'description':_0xa04e2a['BCcvU'],'default':![]})[_0x2bfd99(0x382)](_0xa04e2a[_0x2bfd99(0x243)],{'type':_0xa04e2a[_0x2bfd99(0x1f5)],'array':!![],'description':_0xa04e2a[_0x2bfd99(0x2f8)]})[_0x2bfd99(0x382)](_0xa04e2a[_0x2bfd99(0x20d)],{'type':'string','choices':[_0x2bfd99(0x299),_0x2bfd99(0x22a)],'description':_0xa04e2a[_0x2bfd99(0x2e9)]})[_0x2bfd99(0x382)](_0xa04e2a[_0x2bfd99(0x2c2)],{'type':_0x2bfd99(0x22b),'alias':'y','description':_0xa04e2a[_0x2bfd99(0x37e)],'default':![]});},async _0x1f1e87=>{const _0x550505=_0xd5ce81;await withTelemetry(_0xa04e2a['EQrAm'],_0x1b8f40=>addEnv(_0x1f1e87[_0x550505(0x235)],{'ci':_0x1f1e87['ci'],'skipAuth':_0x1f1e87[_0x550505(0x39f)],'url':_0x1f1e87[_0x550505(0x210)],'force':_0x1f1e87[_0x550505(0x276)],'cdpEndpoint':_0x1f1e87['cdp-endpoint'],'allowInsecureLocalhost':_0x1f1e87[_0x550505(0x24a)],'safeMode':_0x1f1e87[_0x550505(0x311)],'setupHeader':_0x1f1e87[_0x550505(0x399)],'scope':_0x1f1e87['scope'],'yes':_0x1f1e87['yes']},_0x1b8f40),{'isElectron':Boolean(_0x1f1e87[_0x550505(0x34d)])});})[_0xd5ce81(0x29d)](_0xd5ce81(0x27a),'Switch\x20to\x20using\x20a\x20specific\x20profile',_0x2d3021=>{const _0x51e3f9=_0xd5ce81;return _0x2d3021['positional'](_0x288f9f['JOnMn'],{'type':'string','description':_0x51e3f9(0x2c7),'demandOption':!![]});},async _0x24c646=>{const _0x37f48d=_0xd5ce81;await withTelemetry(_0x288f9f[_0x37f48d(0x218)],()=>useEnv(_0x24c646[_0x37f48d(0x235)]));})['command'](_0xd5ce81(0x1cb),_0x288f9f[_0xd5ce81(0x1da)],_0x5c7008=>{const _0x459862=_0xd5ce81;return _0x5c7008[_0x459862(0x33b)](_0x459862(0x235),{'type':_0xa04e2a['jYliu'],'description':_0x459862(0x364),'demandOption':!![]})[_0x459862(0x382)](_0x459862(0x224),{'type':_0x459862(0x22b),'alias':'y','description':_0xa04e2a['SVwzl'],'default':![]});},async _0x4670ec=>{const _0x385f06=_0xd5ce81;await _0xa04e2a[_0x385f06(0x331)](withTelemetry,_0xa04e2a['Bgora'],()=>deleteProfile(_0x4670ec['profile-name'],{'yes':_0x4670ec[_0x385f06(0x224)]}));})[_0xd5ce81(0x29d)]('encrypt-auth\x20<profile>',![],_0x37ad61=>{const _0x192f81=_0xd5ce81;return _0x37ad61[_0x192f81(0x33b)](_0x288f9f['Xhwod'],{'type':_0x288f9f['Uutwm'],'description':_0x192f81(0x2e1),'demandOption':!![]});},async _0x1e1daa=>{const _0x576166=_0xd5ce81;await _0xa04e2a['YdvsU'](withTelemetry,'profile\x20encrypt-auth',()=>authEncrypt(_0x1e1daa[_0x576166(0x2fc)]));})['command']('ls','List\x20all\x20profiles',()=>{},async()=>{const _0x1d366f=_0xd5ce81;await withTelemetry(_0x1d366f(0x315),()=>envList());})['command'](_0x288f9f[_0xd5ce81(0x1f8)],_0x288f9f['RWhZA'],_0x18ce08=>{const _0x33bac3=_0xd5ce81;return _0x18ce08['positional']('profile-name',{'type':_0xa04e2a[_0x33bac3(0x1f5)],'description':_0x33bac3(0x294),'demandOption':!![]})[_0x33bac3(0x382)](_0xa04e2a[_0x33bac3(0x279)],{'type':_0xa04e2a[_0x33bac3(0x1e5)],'description':_0xa04e2a[_0x33bac3(0x26e)]})['option']('manual',{'type':'boolean','description':_0x33bac3(0x2ee)});},async _0xef863b=>{const _0x2d46cd=_0xd5ce81;await withTelemetry(_0x288f9f[_0x2d46cd(0x2a2)],_0x14bef7=>updateEnv(_0xef863b['profile-name'],_0x14bef7,{'allowInsecureLocalhost':_0xef863b[_0x2d46cd(0x24a)],'manual':_0xef863b[_0x2d46cd(0x392)]}));})['command']('login\x20<name>',![],_0x549be4=>{const _0x1ef36f=_0xd5ce81;return _0x549be4[_0x1ef36f(0x33b)](_0xa04e2a[_0x1ef36f(0x305)],{'type':_0xa04e2a['jYliu'],'description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0x1595ed=>{const _0x360b68=_0xd5ce81;await _0x288f9f[_0x360b68(0x257)](withTelemetry,_0x360b68(0x30e),async()=>{const _0x207aef=_0x360b68,_0x205709=process[_0x207aef(0x393)][_0x207aef(0x263)],_0x12e0ed=process['env'][_0x207aef(0x256)];(!_0x205709||!_0x12e0ed)&&(console['error'](_0xa04e2a[_0x207aef(0x1e4)]),process['exit'](0x1));const _0x11d3e2=_0x1595ed['name'],_0x1c2da5=await serverSideLogin(_0x11d3e2,{'force':!![]});_0xa04e2a[_0x207aef(0x1e7)](_0x1c2da5['status'],_0xa04e2a['vOHxQ'])&&(console['error']('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process[_0x207aef(0x36f)](0x1)),_0xa04e2a['FAaBl'](_0x1c2da5[_0x207aef(0x398)],_0xa04e2a[_0x207aef(0x2c6)])&&(console[_0x207aef(0x22c)](_0x207aef(0x1fb)+(_0x1c2da5[_0x207aef(0x22c)]??_0xa04e2a['zWLQn'])),_0x1c2da5['test_output']&&console[_0x207aef(0x22c)](_0x1c2da5[_0x207aef(0x2fa)]),process[_0x207aef(0x36f)](0x1)),console[_0x207aef(0x1e6)](_0x207aef(0x1ee)+_0x11d3e2+_0x207aef(0x309));});})[_0xd5ce81(0x29d)]('migrate\x20[profile-name]',![],_0x70e8c4=>{const _0x43ad0b=_0xd5ce81;return _0x70e8c4['positional'](_0xa04e2a[_0x43ad0b(0x2f2)],{'type':'string','description':_0xa04e2a['APSyk']})['option'](_0x43ad0b(0x288),{'type':_0xa04e2a['LFSjM'],'description':_0xa04e2a['Depwj'],'default':![]})[_0x43ad0b(0x382)](_0xa04e2a['rYnaV'],{'type':_0xa04e2a['LFSjM'],'description':_0xa04e2a['fUXha'],'default':![]})[_0x43ad0b(0x382)]('yes',{'type':_0xa04e2a[_0x43ad0b(0x1e5)],'alias':'y','description':_0xa04e2a['vSshV'],'default':![]})[_0x43ad0b(0x382)](_0x43ad0b(0x232),{'type':'boolean','description':_0xa04e2a['vPRkZ'],'default':![]});},async _0x55f9d0=>{const _0x3d4443=_0xd5ce81;await _0x288f9f[_0x3d4443(0x216)](withTelemetry,_0x3d4443(0x2bf),_0x458a6c=>migrateProfile({'profileName':_0x55f9d0['profile-name'],'all':_0x55f9d0[_0x3d4443(0x288)],'dryRun':_0x55f9d0[_0x3d4443(0x301)],'yes':_0x55f9d0['yes'],'saveCreds':_0x55f9d0['save-creds']},_0x458a6c));})['command'](_0x288f9f[_0xd5ce81(0x347)],_0x288f9f[_0xd5ce81(0x28a)],_0x2509af=>{const _0x1da024=_0xd5ce81,_0x27d16f={'KOBcO':function(_0x1b43f9,_0x3f9a07,_0x594936){const _0x2ab292=_0x337d;return _0xa04e2a[_0x2ab292(0x389)](_0x1b43f9,_0x3f9a07,_0x594936);},'ARopj':'profile\x20config\x20list','UNlBc':'Profile\x20name','hKqOt':_0xa04e2a['yDyqN'],'oDOag':_0xa04e2a[_0x1da024(0x316)],'QjmHG':_0xa04e2a['jYliu']};return _0x2509af[_0x1da024(0x352)](PROFILE_CONFIG_HELP)[_0x1da024(0x29d)]('set\x20<profile>\x20<key>\x20<value>',_0xa04e2a[_0x1da024(0x22d)],_0x558f77=>{const _0x472595=_0x1da024;return _0x558f77['positional'](_0x472595(0x2fc),{'type':_0x472595(0x2dd),'description':_0xa04e2a['NuDBg'],'demandOption':!![]})['positional']('key',{'type':'string','description':_0xa04e2a['CoekO'],'demandOption':!![]})['positional']('value',{'type':'string','description':_0x472595(0x262),'demandOption':!![]});},async _0x3e0a4e=>{const _0x2c1b89=_0x1da024;await withTelemetry(_0xa04e2a[_0x2c1b89(0x319)],()=>configSet(_0x3e0a4e['profile'],_0x3e0a4e['key'],_0x3e0a4e[_0x2c1b89(0x2d0)]));})['command']('get\x20<profile>\x20<key>',_0xa04e2a[_0x1da024(0x2dc)],_0x265d1d=>{const _0x2a6258=_0x1da024;return _0x265d1d['positional'](_0xa04e2a['hkpPg'],{'type':_0xa04e2a['jYliu'],'description':'Profile\x20name','demandOption':!![]})[_0x2a6258(0x33b)](_0x2a6258(0x26b),{'type':_0x2a6258(0x2dd),'description':_0x2a6258(0x280),'demandOption':!![]});},async _0x590487=>{const _0x2c3267=_0x1da024;await withTelemetry('profile\x20config\x20get',()=>configGet(_0x590487[_0x2c3267(0x2fc)],_0x590487[_0x2c3267(0x26b)]));})['command']('list\x20<profile>',_0xa04e2a[_0x1da024(0x35d)],_0xecfca2=>{const _0x268ca4=_0x1da024;return _0xecfca2[_0x268ca4(0x33b)](_0xa04e2a['hkpPg'],{'type':_0xa04e2a['jYliu'],'description':_0x268ca4(0x2e1),'demandOption':!![]});},async _0x440e28=>{const _0x1aaac0=_0x1da024;await _0x27d16f['KOBcO'](withTelemetry,_0x27d16f['ARopj'],()=>configList(_0x440e28[_0x1aaac0(0x2fc)]));})[_0x1da024(0x29d)](_0xa04e2a[_0x1da024(0x2b7)],_0x1da024(0x237),_0x57247b=>{const _0x2162b9=_0x1da024;return _0x57247b['positional']('profile',{'type':_0x2162b9(0x2dd),'description':_0x27d16f['UNlBc'],'demandOption':!![]})['positional'](_0x27d16f[_0x2162b9(0x267)],{'type':'string','description':_0x27d16f[_0x2162b9(0x2b3)],'demandOption':!![]});},async _0x378e53=>{const _0x161767=_0x1da024;await _0xa04e2a[_0x161767(0x2b4)](withTelemetry,_0xa04e2a['mYTyT'],()=>configUnset(_0x378e53['profile'],_0x378e53[_0x161767(0x26b)]));})[_0x1da024(0x29d)](_0x1da024(0x2f1),_0x1da024(0x255),_0xe62f2d=>{const _0x2d733a=_0x1da024;return _0xe62f2d[_0x2d733a(0x33b)]('profile',{'type':_0x27d16f[_0x2d733a(0x2d9)],'description':_0x27d16f['UNlBc'],'demandOption':!![]});},async _0x484018=>{const _0x114a43=_0x1da024;await withTelemetry(_0x114a43(0x2b9),()=>configReset(_0x484018[_0x114a43(0x2fc)]));})['demandCommand'](0x1,_0xa04e2a['MxsZd']);})[_0xd5ce81(0x1cc)](0x1,_0xd5ce81(0x355));})['command'](_0x288f9f[_0x28a8da(0x1de)],_0x288f9f[_0x28a8da(0x2a6)],()=>{},async()=>{const _0x4fa239=_0x28a8da;await _0x288f9f['caqni'](withTelemetry,_0x4fa239(0x398),()=>status());})[_0x28a8da(0x29d)](_0x28a8da(0x24d),_0x288f9f[_0x28a8da(0x385)],()=>{},async()=>{await withTelemetry(_0x288f9f['qYbic'],()=>update());})[_0x28a8da(0x29d)](_0x28a8da(0x206),_0x288f9f['ydBCa'],()=>{},async()=>{const _0x5e9b22=_0x28a8da;await withTelemetry(_0x5e9b22(0x206),async()=>{const _0x57f249=_0x5e9b22,_0x174223=await getToken();if(!_0x174223)throw new Error(_0x57f249(0x1c4));console[_0x57f249(0x1e6)](_0x174223);});})['command']('go','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.',_0x1b2e8e=>{const _0x279963=_0x28a8da;return _0x1b2e8e['option'](_0x288f9f['fSYUc'],{'type':_0x288f9f['Uutwm'],'description':_0x288f9f[_0x279963(0x204)]})['option']('profile',{'type':_0x288f9f[_0x279963(0x2be)],'description':_0x279963(0x320)})['option'](_0x279963(0x1dd),{'type':_0x288f9f[_0x279963(0x2be)],'description':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)'})[_0x279963(0x382)](_0x288f9f['sHSnJ'],{'type':_0x279963(0x340),'description':_0x288f9f['bOsil']})[_0x279963(0x382)](_0x288f9f[_0x279963(0x1e9)],{'type':_0x288f9f[_0x279963(0x2be)],'description':_0x279963(0x278)})[_0x279963(0x382)](_0x279963(0x303),{'type':_0x279963(0x2dd),'description':_0x279963(0x33a)})['option'](_0x279963(0x20c),{'type':_0x279963(0x2dd),'description':_0x279963(0x22f)})[_0x279963(0x382)]('headed',{'type':_0x288f9f[_0x279963(0x27e)],'description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})[_0x279963(0x382)](_0x288f9f[_0x279963(0x25b)],{'type':_0x279963(0x2dd),'array':!![],'alias':_0x288f9f['BJXXC'],'description':_0x288f9f['dPhQV']})['option'](_0x288f9f['QWhle'],{'type':_0x288f9f[_0x279963(0x2be)],'hidden':!![],'choices':[_0x279963(0x273),_0x279963(0x38d),_0x288f9f[_0x279963(0x238)],_0x288f9f[_0x279963(0x31f)],'incomplete']})[_0x279963(0x382)](_0x288f9f[_0x279963(0x37c)],{'type':_0x279963(0x22b),'hidden':!![]})[_0x279963(0x382)](_0x288f9f[_0x279963(0x272)],{'type':_0x279963(0x2dd),'hidden':!![]})['option']('task',{'type':_0x288f9f[_0x279963(0x2be)],'hidden':!![]})[_0x279963(0x382)](_0x288f9f[_0x279963(0x25f)],{'type':_0x288f9f[_0x279963(0x31d)],'hidden':!![]});},async _0x37e113=>{await runGoCommand(_0x37e113);})['command']('auth',![],_0x4f3172=>{const _0x4deda1=_0x28a8da;return _0x4f3172[_0x4deda1(0x29d)](_0x4deda1(0x1d5),![],_0x4a83cd=>{const _0x339c92=_0x4deda1;return _0x4a83cd[_0x339c92(0x33b)](_0x339c92(0x2fc),{'type':_0x339c92(0x2dd),'description':_0x339c92(0x2e1),'demandOption':!![]});},async _0x2d4d66=>{const _0x4a5ca1=_0x4deda1;warnRenamed(_0x4a5ca1(0x307),_0x4a5ca1(0x24c)),await authEncrypt(_0x2d4d66['profile']);})['demandCommand'](0x1,_0x288f9f[_0x4deda1(0x1cd)]);},()=>{})[_0x28a8da(0x29d)](_0x288f9f['wHDih'],![],_0x4b22cf=>{const _0x197a91=_0x28a8da;return _0x4b22cf[_0x197a91(0x33b)](_0x288f9f[_0x197a91(0x23a)],{'type':'string','description':_0x288f9f['qiUDR']})[_0x197a91(0x382)](_0x197a91(0x2c8),{'type':_0x288f9f['HuxbR'],'description':_0x288f9f['SxQNh'],'default':![]})[_0x197a91(0x382)]('scope',{'type':'string','choices':[_0x288f9f[_0x197a91(0x35e)]],'hidden':!![],'description':_0x288f9f['YlYZw']})[_0x197a91(0x382)](_0x197a91(0x210),{'type':_0x288f9f['Uutwm'],'description':_0x197a91(0x22e)})[_0x197a91(0x382)](_0x288f9f['DNLlS'],{'type':_0x288f9f['HuxbR'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x197a91(0x39f),{'type':_0x197a91(0x22b),'description':'Skip\x20authentication','default':![]})['option'](_0x197a91(0x350),{'type':_0x197a91(0x22b),'description':_0x197a91(0x221),'default':![]});},async _0x4cee66=>{const _0x2d5c86=_0x28a8da;_0x288f9f[_0x2d5c86(0x257)](warnRenamed,_0x288f9f[_0x2d5c86(0x1fa)],_0x288f9f['JrqnC']),await _0x288f9f['avZly'](withTelemetry,_0x288f9f['jggzN'],_0x18648c=>start(_0x4cee66['token'],{'skipChromium':_0x4cee66['skip-chromium'],'skipAuth':_0x4cee66['skip-auth'],'withDeps':_0x4cee66[_0x2d5c86(0x350)],'scope':_0x4cee66[_0x2d5c86(0x339)],'url':_0x4cee66[_0x2d5c86(0x210)],'force':_0x4cee66['force']},_0x18648c));})[_0x28a8da(0x29d)](_0x28a8da(0x1c7),![],_0x5ee375=>{const _0x91794d=_0x28a8da;return _0x5ee375['option']('env',{'type':_0x91794d(0x2dd),'description':_0x91794d(0x25c)})['option'](_0x288f9f[_0x91794d(0x325)],{'type':'string','description':_0x91794d(0x2de)})['option']('item',{'type':_0x288f9f['UCayr'],'description':_0x288f9f['bOsil']})['option']('profile',{'type':_0x91794d(0x2dd),'hidden':!![]})['option'](_0x288f9f['bnGrC'],{'type':'string','hidden':!![]})['option'](_0x91794d(0x292),{'type':'number','hidden':!![]})[_0x91794d(0x382)](_0x288f9f[_0x91794d(0x1e9)],{'type':'string','description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})['option'](_0x288f9f['aochF'],{'type':'string','description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})['option'](_0x288f9f['nEGPr'],{'type':_0x91794d(0x2dd),'hidden':!![]})['option'](_0x288f9f['yheNT'],{'type':'boolean','hidden':!![],'default':![]})['option']('env-var',{'type':_0x288f9f[_0x91794d(0x2be)],'array':!![],'alias':'environment-variable','hidden':!![]})['option']('debug-outcome',{'type':_0x288f9f['Uutwm'],'hidden':!![],'choices':[_0x288f9f['DTSPk'],_0x288f9f['UGcoQ'],_0x288f9f['MnmPs'],_0x288f9f[_0x91794d(0x31f)],'incomplete']});},async _0x2e416b=>{const _0x4c8205=_0x28a8da;await _0x288f9f[_0x4c8205(0x32e)](runGoCommand,_0x2e416b,!![]);})[_0x28a8da(0x29d)](_0x28a8da(0x205),![],_0x44b4d9=>{const _0x18028e=_0x28a8da;return _0x44b4d9[_0x18028e(0x33b)](_0x18028e(0x302),{'type':_0x18028e(0x2dd),'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x18028e(0x382)]('ci',{'type':_0x288f9f[_0x18028e(0x27e)],'description':_0x288f9f[_0x18028e(0x286)],'default':![]})['option']('skip-auth',{'type':_0x18028e(0x22b),'description':_0x288f9f['NFyty'],'default':![]});},async _0x35ceff=>{const _0x2e71be=_0x28a8da;_0x288f9f['avZly'](warnRenamed,_0x2e71be(0x2bd),'ranger\x20profile\x20add'),await _0x288f9f['BKbLh'](withTelemetry,'add\x20env',_0x28a85c=>addEnv(_0x35ceff[_0x2e71be(0x302)],{'ci':_0x35ceff['ci'],'skipAuth':_0x35ceff[_0x2e71be(0x39f)]},_0x28a85c));})[_0x28a8da(0x29d)](_0x28a8da(0x391),![],_0x618110=>{const _0x21db05=_0x28a8da;return _0x618110['positional'](_0x288f9f[_0x21db05(0x2a3)],{'type':_0x288f9f['Uutwm'],'description':_0x21db05(0x2a1),'demandOption':!![]});},async _0x5e7629=>{const _0x23b2a6=_0x28a8da;_0x288f9f['vgFpv'](warnRenamed,_0x288f9f['SsYfw'],_0x288f9f['ilXEv']),await withTelemetry(_0x23b2a6(0x25a),()=>useEnv(_0x5e7629['env-name']));})['command'](_0x288f9f[_0x28a8da(0x347)],![],_0x378694=>{const _0x2bb5d4=_0x28a8da,_0x248ccb={'ZosTz':_0x288f9f['Uutwm'],'vgmxb':'Environment\x20name','QFZLu':_0x2bb5d4(0x26b),'taLgq':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','HCbpl':_0x2bb5d4(0x2d0),'lBFeb':_0x288f9f['NBQnX'],'ckKBS':function(_0x48d828,_0x4afa46,_0x9f66d8){return _0x48d828(_0x4afa46,_0x9f66d8);}};return _0x378694['command'](_0x288f9f['sqzfM'],![],_0x446e97=>{const _0xd309b6=_0x2bb5d4;return _0x446e97['positional'](_0xd309b6(0x393),{'type':_0x248ccb[_0xd309b6(0x251)],'description':_0x248ccb[_0xd309b6(0x246)],'demandOption':!![]})['positional'](_0x248ccb[_0xd309b6(0x1df)],{'type':_0x248ccb['ZosTz'],'description':_0x248ccb['taLgq'],'demandOption':!![]})['positional'](_0x248ccb[_0xd309b6(0x2ca)],{'type':_0xd309b6(0x2dd),'description':_0x248ccb[_0xd309b6(0x1c9)],'demandOption':!![]});},async _0x49e539=>{const _0x3af3b6=_0x2bb5d4;_0x248ccb['ckKBS'](warnRenamed,_0x3af3b6(0x270),'ranger\x20profile\x20config\x20set'),await _0x248ccb[_0x3af3b6(0x2d3)](withTelemetry,'config\x20set',()=>configSet(_0x49e539['env'],_0x49e539['key'],_0x49e539['value']));})['command'](_0x288f9f['gLmQm'],![],_0x2fb288=>{const _0x5a1e18=_0x2bb5d4;return _0x2fb288[_0x5a1e18(0x33b)]('env',{'type':_0x288f9f['Uutwm'],'description':_0x288f9f[_0x5a1e18(0x29a)],'demandOption':!![]})['positional'](_0x288f9f['ojzZW'],{'type':_0x5a1e18(0x2dd),'description':_0x288f9f['deVWB'],'demandOption':!![]});},async _0x483207=>{const _0x5bac03=_0x2bb5d4;_0x288f9f['plFFA'](warnRenamed,_0x5bac03(0x28f),_0x288f9f[_0x5bac03(0x2b0)]),await withTelemetry('config\x20get',()=>configGet(_0x483207['env'],_0x483207['key']));})['command'](_0x2bb5d4(0x259),![],_0x13fb4e=>{const _0x2ca21f=_0x2bb5d4;return _0x13fb4e[_0x2ca21f(0x33b)](_0x288f9f[_0x2ca21f(0x272)],{'type':_0x288f9f['Uutwm'],'description':_0x2ca21f(0x36c),'demandOption':!![]});},async _0x1d3ff6=>{const _0x1426ef=_0x2bb5d4;_0x288f9f[_0x1426ef(0x2f3)](warnRenamed,_0x288f9f['XZTot'],_0x1426ef(0x2fb)),await withTelemetry('config\x20list',()=>configList(_0x1d3ff6['env']));})[_0x2bb5d4(0x29d)](_0x288f9f[_0x2bb5d4(0x323)],![],_0x43a1d0=>{const _0x24a2b7=_0x2bb5d4;return _0x43a1d0['positional'](_0x24a2b7(0x393),{'type':'string','description':_0x248ccb['vgmxb'],'demandOption':!![]})['positional'](_0x248ccb['QFZLu'],{'type':'string','description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x8ef63a=>{const _0x5d5459=_0x2bb5d4;warnRenamed('ranger\x20config\x20unset',_0x288f9f['sgFeV']),await _0x288f9f[_0x5d5459(0x2ac)](withTelemetry,'config\x20unset',()=>configUnset(_0x8ef63a[_0x5d5459(0x393)],_0x8ef63a[_0x5d5459(0x26b)]));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20config\x20subcommand');})[_0x28a8da(0x29d)]('env',![],_0x4ebe36=>{const _0x3123c8=_0x28a8da,_0xa6ab67={'msPRQ':_0x288f9f['AYzNk'],'TStWv':_0x3123c8(0x23e)};return _0x4ebe36[_0x3123c8(0x29d)]('ls',![],()=>{},async()=>{warnRenamed(_0xa6ab67['msPRQ'],'ranger\x20profile\x20ls'),await withTelemetry(_0xa6ab67['TStWv'],()=>envList());})['command'](_0x288f9f['DyFJD'],![],_0x4e30a4=>{const _0x29a771=_0x3123c8;return _0x4e30a4[_0x29a771(0x33b)](_0x288f9f[_0x29a771(0x2a3)],{'type':_0x29a771(0x2dd),'description':_0x288f9f[_0x29a771(0x217)],'demandOption':!![]});},async _0x57ea30=>{const _0x24948e=_0x3123c8;warnRenamed(_0x24948e(0x225),'ranger\x20profile\x20update'),await withTelemetry('env\x20update',_0x102729=>updateEnv(_0x57ea30['env-name'],_0x102729));})['demandCommand'](0x1,_0x288f9f['AYbLr']);})['command'](_0x28a8da(0x2cf),![],_0x144148=>{const _0x15fab2=_0x28a8da,_0x5709c5={'TiRlg':_0x15fab2(0x2ce),'WBbWV':_0x288f9f['cmDqU'],'diFfE':_0x15fab2(0x2dd),'ekfpg':'checklist','xzuxN':_0x288f9f['gUeuy'],'sEiAN':'scenario','fyUdi':_0x288f9f[_0x15fab2(0x287)],'wKAFd':function(_0x46e5ad,_0x5c3341,_0x502a47){return _0x288f9f['srreF'](_0x46e5ad,_0x5c3341,_0x502a47);},'eEdQD':'ranger\x20feature\x20show','HYRog':function(_0x551fe8,_0x23dc38,_0x548fda){const _0x48fbbf=_0x15fab2;return _0x288f9f[_0x48fbbf(0x253)](_0x551fe8,_0x23dc38,_0x548fda);},'jsxwe':function(_0x19e4e0,_0x4e23e8,_0x377f7b){return _0x288f9f['plFFA'](_0x19e4e0,_0x4e23e8,_0x377f7b);},'eXMKa':_0x15fab2(0x39d),'enTgQ':_0x288f9f['CTZDY'],'IfAuD':function(_0x59c461,_0x20dc07,_0x237b1a){return _0x59c461(_0x20dc07,_0x237b1a);},'wOozC':'feature\x20resume','LJijG':_0x288f9f['uFRYS'],'OWjxX':function(_0x16a230,_0x50e861,_0x4eb397){const _0x2d70de=_0x15fab2;return _0x288f9f[_0x2d70de(0x2e7)](_0x16a230,_0x50e861,_0x4eb397);},'ABamf':_0x288f9f['xgVcQ'],'Xmalu':_0x288f9f[_0x15fab2(0x2f6)],'yarOS':_0x288f9f[_0x15fab2(0x21e)],'UYtet':_0x15fab2(0x363)};return _0x144148[_0x15fab2(0x29d)](_0x15fab2(0x295),![],_0x29798f=>{const _0x1dfbb5=_0x15fab2;return _0x29798f[_0x1dfbb5(0x33b)](_0x5709c5['TiRlg'],{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x5709c5[_0x1dfbb5(0x240)],{'type':_0x5709c5['diFfE'],'alias':'d','description':_0x1dfbb5(0x296)})[_0x1dfbb5(0x382)](_0x5709c5[_0x1dfbb5(0x2af)],{'type':_0x5709c5[_0x1dfbb5(0x345)],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x1dfbb5(0x382)](_0x5709c5['sEiAN'],{'type':_0x5709c5[_0x1dfbb5(0x345)],'hidden':!![]});},async _0x1ff9b5=>{const _0xb551cf=_0x15fab2;warnRenamed(_0x288f9f[_0xb551cf(0x2ff)],_0xb551cf(0x2d2)),warnFlagRenamed('ranger\x20create',_0x288f9f[_0xb551cf(0x33d)],'--scenario');const _0x294e14=_0x1ff9b5[_0xb551cf(0x292)]||_0x1ff9b5[_0xb551cf(0x250)];await withTelemetry(_0xb551cf(0x388),()=>featureCreate(_0x1ff9b5[_0xb551cf(0x2ce)],{'description':_0x1ff9b5['description'],'scenarios':_0x294e14}));})['command']('list',![],_0x546a8e=>{const _0x54789d=_0x15fab2;return _0x546a8e[_0x54789d(0x382)](_0x288f9f[_0x54789d(0x2a0)],{'type':_0x288f9f['HuxbR'],'description':_0x54789d(0x2c0)})[_0x54789d(0x382)](_0x288f9f['PorZk'],{'type':'number','alias':'l','description':_0x288f9f[_0x54789d(0x241)],'default':0xa})[_0x54789d(0x382)](_0x54789d(0x326),{'type':_0x288f9f[_0x54789d(0x31d)],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x54789d(0x382)]('include-deleted',{'type':_0x288f9f[_0x54789d(0x27e)],'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x4177f4=>{const _0x52e7c3=_0x15fab2;_0x288f9f['plFFA'](warnRenamed,_0x52e7c3(0x1ec),_0x52e7c3(0x26c)),await _0x288f9f[_0x52e7c3(0x257)](withTelemetry,_0x52e7c3(0x2a9),()=>featureList({'currentBranch':_0x4177f4[_0x52e7c3(0x324)],'limit':_0x4177f4[_0x52e7c3(0x24e)],'offset':_0x4177f4[_0x52e7c3(0x326)],'includeDeleted':_0x4177f4[_0x52e7c3(0x258)]}));})[_0x15fab2(0x29d)](_0x288f9f['DoGlW'],![],_0x12fb7f=>{const _0x336761=_0x15fab2;return _0x12fb7f[_0x336761(0x33b)]('id',{'type':_0x5709c5[_0x336761(0x2ba)],'description':_0x5709c5['fyUdi']});},async _0x3f9407=>{const _0x4fe22d=_0x15fab2;_0x5709c5['wKAFd'](warnRenamed,_0x5709c5['eEdQD'],'ranger\x20show'),await _0x5709c5[_0x4fe22d(0x2fe)](withTelemetry,'feature\x20show',()=>featureShow(_0x3f9407['id']));})[_0x15fab2(0x29d)](_0x288f9f['otcFE'],![],_0x25bf40=>{const _0x38579a=_0x15fab2;return _0x25bf40[_0x38579a(0x33b)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x2fc34a=>{const _0x58af53=_0x15fab2;_0x5709c5[_0x58af53(0x203)](warnRenamed,_0x5709c5['eXMKa'],_0x5709c5['enTgQ']),await _0x5709c5[_0x58af53(0x308)](withTelemetry,_0x5709c5['wOozC'],()=>featureResume(_0x2fc34a['id']));})['command'](_0x288f9f[_0x15fab2(0x284)],![],_0x19773a=>{const _0x65590a=_0x15fab2;return _0x19773a[_0x65590a(0x33b)](_0x5709c5[_0x65590a(0x240)],{'type':_0x5709c5[_0x65590a(0x2ba)],'description':'Scenario\x20description','demandOption':!![]})[_0x65590a(0x382)]('id',{'type':_0x5709c5[_0x65590a(0x2ba)],'description':_0x5709c5['LJijG']});},async _0x491860=>{const _0x27a834=_0x15fab2;_0x5709c5[_0x27a834(0x2f9)](warnRenamed,_0x5709c5['ABamf'],'ranger\x20add-scenario'),await withTelemetry(_0x5709c5['Xmalu'],()=>featureAddScenario(_0x491860[_0x27a834(0x318)],_0x491860['id']));})['command'](_0x288f9f[_0x15fab2(0x2b1)],![],_0x1c3e82=>{return _0x1c3e82['positional']('id',{'type':_0x288f9f['Uutwm'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x1a04f6=>{const _0x393987=_0x15fab2;_0x288f9f['HbPYj'](warnRenamed,_0x288f9f['cczxi'],'ranger\x20get-review'),await _0x288f9f[_0x393987(0x2f0)](withTelemetry,_0x288f9f[_0x393987(0x2cc)],()=>featureGetReview(_0x1a04f6['id']));})['command'](_0x288f9f['gHkaZ'],![],_0x7cd3c1=>{const _0x7b9477=_0x15fab2;return _0x7cd3c1[_0x7b9477(0x33b)]('id',{'type':'string','description':_0x7b9477(0x28d)});},async _0x22a8d5=>{const _0x19b04f=_0x15fab2;warnRenamed('ranger\x20feature\x20delete','ranger\x20delete'),await _0x5709c5['HYRog'](withTelemetry,_0x5709c5[_0x19b04f(0x332)],()=>featureDelete(_0x22a8d5['id']));})[_0x15fab2(0x29d)]('restore\x20<id>',![],_0x143939=>{return _0x143939['positional']('id',{'type':_0x5709c5['diFfE'],'description':_0x5709c5['UYtet'],'demandOption':!![]});},async _0x1796c8=>{const _0x17fe4c=_0x15fab2;warnRenamed('ranger\x20feature\x20restore',_0x288f9f[_0x17fe4c(0x373)]),await _0x288f9f['avZly'](withTelemetry,'feature\x20restore',()=>featureRestore(_0x1796c8['id']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})[_0x28a8da(0x29d)](_0x28a8da(0x36a),![],_0x19326c=>{const _0x2c4b03=_0x28a8da,_0x4634b0={'ZUKiZ':_0x288f9f['DUhGp'],'udhWL':_0x288f9f[_0x2c4b03(0x2be)],'ITqOY':_0x2c4b03(0x343),'zPPkF':'hook:enable','YynMp':_0x288f9f['mIxbc']};return _0x19326c['command'](_0x288f9f['WKSsX'],_0x288f9f['zafOJ'],_0x29eb0d=>{const _0x2306b9=_0x2c4b03;return _0x29eb0d[_0x2306b9(0x382)](_0x4634b0['ZUKiZ'],{'type':_0x4634b0[_0x2306b9(0x351)],'description':_0x4634b0[_0x2306b9(0x330)]});},async _0x431c60=>{const _0x146543=_0x2c4b03;await withTelemetry(_0x4634b0['zPPkF'],()=>hook('enable',_0x431c60[_0x146543(0x2aa)]));})['command']('disable',_0x288f9f['mWrWI'],_0x29ac64=>{const _0x200772=_0x2c4b03;return _0x29ac64['option'](_0x288f9f['DUhGp'],{'type':_0x288f9f['Uutwm'],'description':_0x200772(0x343)});},async _0x21c82c=>{const _0x33f235=_0x2c4b03;await withTelemetry(_0x4634b0[_0x33f235(0x1e2)],()=>hook(_0x33f235(0x2e6),_0x21c82c['session-id']));})['option'](_0x288f9f['RKysZ'],{'type':'string','description':_0x288f9f[_0x2c4b03(0x26a)]})['option'](_0x2c4b03(0x2aa),{'type':_0x288f9f['Uutwm'],'description':_0x288f9f[_0x2c4b03(0x2d6)]});},async _0x5a2008=>{const _0x1d83c7=_0x28a8da;_0x5a2008['name']&&await _0x288f9f[_0x1d83c7(0x239)](hook,_0x5a2008[_0x1d83c7(0x2ce)],_0x5a2008[_0x1d83c7(0x2aa)]);})['demandCommand'](0x1,_0x288f9f['guESd'])['strictCommands']()['fail'](async(_0x2e6021,_0x4e29e9,_0x1f60c0)=>{const _0x3464ca=_0x28a8da,_0x8e003f=_0x288f9f[_0x3464ca(0x335)](sanitizeArgs,process[_0x3464ca(0x1d0)]['slice'](0x2)),_0x297b4b=_0x288f9f[_0x3464ca(0x234)](getErrorType,_0x2e6021,_0x4e29e9);if(_0x2e6021&&_0x2e6021['includes'](_0x288f9f[_0x3464ca(0x2a8)])){const _0xa16e45=process[_0x3464ca(0x1d0)][0x2];console['error']('\x0aUnknown\x20command:\x20'+_0xa16e45),console['error'](_0x288f9f[_0x3464ca(0x36b)]);}else{if(_0x2e6021)console[_0x3464ca(0x22c)]('\x0a'+_0x2e6021+'\x0a');else _0x4e29e9&&console['error'](_0x3464ca(0x1d3)+_0x4e29e9['message']+'\x0a');}await logDesirePath({'rawCommand':_0x8e003f,'errorMessage':_0x2e6021||_0x4e29e9?.[_0x3464ca(0x30d)],'errorType':_0x297b4b});const _0x3b1115=getCurrentCollector();_0x3b1115&&await _0x3b1115['trackCommandError'](_0x4e29e9||new Error(_0x2e6021||_0x3464ca(0x2df))),process[_0x3464ca(0x36f)](0x1);})[_0x28a8da(0x23d)](_0x288f9f['DtxwH'](_0x288f9f[_0x28a8da(0x2cd)],_0x288f9f['LccrN'])+_0x288f9f[_0x28a8da(0x32f)])[_0x28a8da(0x265)]()[_0x28a8da(0x219)](_0x288f9f[_0x28a8da(0x249)],'h');}process['env'][_0x456391(0x2d4)]!=='test'&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()['parse']());