@ranger-testing/ranger-cli 3.1.7-alpha.34400c2-56 → 3.1.7-alpha.44736ee-66

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 (88) 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/actors.js +1 -0
  38. package/build/commands/utils/agentEnv.js +1 -1
  39. package/build/commands/utils/browserSessionsApi.js +1 -1
  40. package/build/commands/utils/claudeConfig.js +1 -1
  41. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  42. package/build/commands/utils/claudePlugin.js +1 -1
  43. package/build/commands/utils/cloudProfile.js +1 -1
  44. package/build/commands/utils/cloudProfileSession.js +1 -1
  45. package/build/commands/utils/crypto.js +1 -1
  46. package/build/commands/utils/desirePathLog.js +1 -1
  47. package/build/commands/utils/deviceAuth.js +1 -1
  48. package/build/commands/utils/environment.js +1 -1
  49. package/build/commands/utils/featureApi.js +1 -1
  50. package/build/commands/utils/fixWebmDuration.js +1 -1
  51. package/build/commands/utils/gitTracked.js +1 -1
  52. package/build/commands/utils/keychain.js +1 -1
  53. package/build/commands/utils/legacyWarning.js +1 -1
  54. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  55. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  56. package/build/commands/utils/mcpImageBase64.js +1 -1
  57. package/build/commands/utils/model.js +1 -1
  58. package/build/commands/utils/novaActCli.js +1 -1
  59. package/build/commands/utils/opencodeConfig.js +1 -1
  60. package/build/commands/utils/organizationEnvApi.js +1 -1
  61. package/build/commands/utils/playwrightCli.js +1 -1
  62. package/build/commands/utils/profileMessages.js +1 -1
  63. package/build/commands/utils/profileSetupBanner.js +1 -1
  64. package/build/commands/utils/projectsConfig.js +1 -1
  65. package/build/commands/utils/rangerConfig.js +1 -1
  66. package/build/commands/utils/rangerRoot.js +1 -1
  67. package/build/commands/utils/rangerwrightCli.js +1 -1
  68. package/build/commands/utils/resolveProfileContext.js +1 -1
  69. package/build/commands/utils/resolveProfileUrl.js +1 -1
  70. package/build/commands/utils/retry.js +1 -1
  71. package/build/commands/utils/scenarioOriginCheck.js +1 -1
  72. package/build/commands/utils/sessionCache.js +1 -1
  73. package/build/commands/utils/settings.js +1 -1
  74. package/build/commands/utils/skillContent.js +1 -1
  75. package/build/commands/utils/skills.js +1 -1
  76. package/build/commands/utils/stitchWebmFiles.js +1 -1
  77. package/build/commands/utils/telemetry.js +1 -1
  78. package/build/commands/utils/tokenRefresh.js +1 -1
  79. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  80. package/build/commands/utils/tunnelClient.js +1 -1
  81. package/build/commands/utils/userApi.js +1 -1
  82. package/build/commands/utils/version.js +1 -1
  83. package/build/commands/verifyFeature.js +1 -1
  84. package/build/commands/verifyFeatureCli.js +1 -1
  85. package/build/commands/verifyFeatureNovaCli.js +1 -1
  86. package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
  87. package/build/skills/ranger/SKILL.md +8 -0
  88. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const _0x4034eb=_0x1347;(function(_0x2eaf87,_0x5f25f6){const _0x14c4cb=_0x1347,_0x53f29b=_0x2eaf87();while(!![]){try{const _0x3873c7=-parseInt(_0x14c4cb(0x92))/0x1*(-parseInt(_0x14c4cb(0x1b4))/0x2)+-parseInt(_0x14c4cb(0x1f4))/0x3*(-parseInt(_0x14c4cb(0x1a2))/0x4)+parseInt(_0x14c4cb(0xa9))/0x5+parseInt(_0x14c4cb(0x165))/0x6+-parseInt(_0x14c4cb(0xb2))/0x7*(parseInt(_0x14c4cb(0x209))/0x8)+-parseInt(_0x14c4cb(0x182))/0x9+-parseInt(_0x14c4cb(0x16f))/0xa*(parseInt(_0x14c4cb(0xd9))/0xb);if(_0x3873c7===_0x5f25f6)break;else _0x53f29b['push'](_0x53f29b['shift']());}catch(_0xacef6c){_0x53f29b['push'](_0x53f29b['shift']());}}}(_0x1343,0xdd956));import _0x411501 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x1a28c9=_0x1347,_0x47c255={'kkrWv':function(_0x105bf2,_0x39fe50){return _0x105bf2!==_0x39fe50;},'JnvVl':function(_0x45ae41,_0x264e52){return _0x45ae41(_0x264e52);},'qUJWv':function(_0x42d4a7,_0x4092b8,_0x4b14fc){return _0x42d4a7(_0x4092b8,_0x4b14fc);},'krLiM':_0x1a28c9(0x17f)};let _0x487870=process[_0x1a28c9(0x180)]();const _0x4d2006=parse(_0x487870)['root'];while(_0x47c255[_0x1a28c9(0x153)](_0x487870,_0x4d2006)){if(existsSync(join(_0x487870,'.ranger'))||_0x47c255[_0x1a28c9(0x194)](existsSync,_0x47c255[_0x1a28c9(0x1fe)](join,_0x487870,_0x47c255[_0x1a28c9(0x1a1)])))return _0x487870;_0x487870=dirname(_0x487870);}return process['cwd']();}_0x411501['config']({'path':join(findProjectRoot(),'.env')});import _0x2712f3 from'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 _0x1347(_0x530abd,_0xbdd8a0){_0x530abd=_0x530abd-0x84;const _0x134336=_0x1343();let _0x1347f0=_0x134336[_0x530abd];return _0x1347f0;}import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x27abd9=>{const _0xd68d04=_0x1347,_0x500ae3=getCurrentCollector();_0x500ae3&&await _0x500ae3['trackCommandError'](_0x27abd9),process[_0xd68d04(0x124)]=0x1;});const rawArgs=process['argv'][_0x4034eb(0x213)](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=_0x4034eb(0x15f),PROFILE_CONFIG_HELP=_0x4034eb(0x10c);function warnRenamed(_0x58abb3,_0x1cd297){console['error']('\x0a'+_0x58abb3+'\x20is\x20now\x20'+_0x1cd297+'\x0a');}function argUsed(_0x58b952){const _0x2e7ccd=_0x4034eb;return rawArgs[_0x2e7ccd(0x1c1)](_0x26b9e8=>_0x26b9e8===_0x58b952||_0x26b9e8[_0x2e7ccd(0xbe)](_0x58b952+'='));}function _0x1343(){const _0x9e0a13=['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.','reset\x20<profile>','plSwS','checklist','blocked','pAMse','fpEIk','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','scope','evaluation','nPUMK','Qdszl','WbzNl','QQffE','usage','ranger\x20profile\x20config\x20list','33nIJwze','command','MaqTs','cnQHs','Ranger\x20API\x20token\x20(rngr_...)','set\x20<env>\x20<key>\x20<value>','ranger\x20feature\x20create','TrvAS','HQpJn','mbAaY','mXLpp','dFVbv','item','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','yes','ranger\x20config\x20get','add-scenario\x20<description>','save-creds','Install\x20scope\x20for\x20plugin\x20and\x20skills','CsKGx','IqRiP','update\x20<profile-name>','TxGek','WJSCZ','Feature\x20review\x20ID','Auth\x20environment\x20key\x20to\x20bind\x20this\x20profile\x20to\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Bypasses\x20URL-based\x20matching;\x20required\x20for\x20bare-localhost\x20custom\x20ports.','KuFdh','Install\x20Chromium\x20browser\x20binary','ranger\x20config\x20list','fywey','Unknown\x20error','verBf','qlKKD','KbyRC','limit','gwPTD','WhrhK','summary','use\x20<env-name>','ranger\x20feature\x20add-checklist-item','boolean','mduOy','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','wuIow','OhLAS','url','iQTNB','array','dQvki','Skip\x20authentication','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','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','task','ENjcu','YIZWM','cdp-endpoint','You\x20must\x20specify\x20a\x20command','token','message','ranger\x20profile\x20use','flatMap','iFeSH','EGRWJ','qIwCe','create\x20<name>','SQUfL','unknown\x20error','number','ExygU','QmSxw','RANGER_AUTH_ENV','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','gWEXD','VsvLt','EjHQw','exitCode','ranger\x20add\x20env','Feature\x20review\x20description','ranger\x20setup','ranger\x20create','Evaluation:\x20','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','resume\x20[id]','MIPQn','setup:skills','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','Optional\x20feature\x20ID','xufYD','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','Hziqh','YBZWz','kBYYP','VZnVC','ymvOx','GQqwZ','get\x20<env>\x20<key>','wHTrm','ranger\x20verify-feature','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','ranger\x20profile\x20update','exit','Scenario\x20description','ZxxNo','list','gTahi','safe-mode','length','ranger\x20auth\x20encrypt','feature\x20get-feedback','with-deps','MUyzh','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','isArray','setup\x20[tokenOrSubcommand]','env\x20update','ibFPH','edit-scenario','mxgbd','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','gfGcA','CbCyd','get-review\x20[id]','kkrWv','\x0aIssues:','RbWVd','opencode','HOamF','\x20FAILED','set\x20<profile>\x20<key>\x20<value>','cbEIk','skip-chromium','qLnyZ','includes','environment-variable','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','key','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','force','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','10816698sziLlI','NzDUg','profile\x20config\x20reset','profile\x20config\x20list','offset','dgCHE','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','broZg','List\x20all\x20feature\x20reviews','string','6148370IDPPVz','Feature\x20review\x20ID\x20to\x20restore','migrate\x20[profile-name]','env-var','profile\x20ls','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','exclude-scenario','zjBXz','BejVL','aZgAk','Alias\x20for\x20--mcp-bootstrap','vyZur','QVjIk','add\x20env','zjhKR','awUbA','.env','cwd','EdROQ','12654612goSJbW','hWXPh','✓\x20Authenticated\x20to\x20','Restore\x20a\x20soft-deleted\x20feature\x20review','positional','nsdUl','eShkB','Switch\x20to\x20using\x20a\x20specific\x20profile','BHMtw','all','filter','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','aTXtz','ranger\x20resume','severity','log','LXDMR','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','JnvVl','Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','Hvyag','scenario','CNLAI','Initialize\x20Ranger\x20in\x20your\x20project','ranger\x20show','Add\x20profile\x20configuration','KPHLO','EQZEF','playwright-cli','Get\x20a\x20config\x20value','profile\x20update','krLiM','420dfkpaC','repeat','nnMSg','XsFXS','ddLad','feature','\x20VERIFIED','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','TwmiY','MGdoO','auth','ifEwN','QyXvn','feature\x20restore','RZghZ','enable','Delete\x20a\x20cloud\x20profile','lJDTe','2942wpOjfP','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','zDqyj','ZacxR','Skip\x20browser\x20authentication','Name\x20of\x20the\x20profile','mcp-bootstrap','rDEeS','tCLug','odROj','ranger\x20config\x20unset','xoQHf','dBJQh','some','BvVaS','YaAyN','\x0aUnknown\x20command:\x20','profile\x20migrate','RANGER_TEST_PASSWORD','ranger\x20feature\x20list','show','--checklist','esnhg','wSsBX','JaqwF','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','racFC','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','config\x20get','split','LrdZI','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','OPkjv','feature\x20add-checklist-item','laCVR','wioxG','kJtAn','ranger\x20env\x20ls','skip-auth','ranger\x20setup\x20profiles\x20--scope=','qEHWB','debug-address-comments','allow-url-mismatch','yYQcZ','Profile\x20name','UoOyN','wXxpN','ranger\x20go','mzGGm','profile\x20use','NixGj','dry-run','Ciwjm','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','QejfV','restore','config\x20list','Config\x20key','WagFE','help','LOFAz','bSkjn','Authenticate\x20via\x20MCP\x20proxy','CALdz','25875tkWbnA','manual','incomplete','wdcsh','add-checklist-item\x20<description>','user','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Proceed\x20even\x20when\x20the\x20selected\x20scenario\x20names\x20a\x20URL\x20on\x20a\x20different\x20origin\x20than\x20the\x20resolved\x20target','ranger\x20profile\x20config\x20set','vUhow','qUJWv','version','HVxCm','hTnIs','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','get-feedback\x20[id]','NGHVG','env-name','eyxQY','lzela','QLLLl','342040Swahiw','verified','--scenario','bVRFd','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','yGsjF','session-id','error','LKtya','restore\x20<id>','slice','Ranger\x20API\x20token','Feature\x20review\x20name','JqkfO','fErha','BeTnI','feature\x20delete','env','show\x20[id]','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','zHcDl','scriptName','map','zGUYw','VbccM','delete','BAaei','Set\x20a\x20config\x20value','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','WywXF','kqFdS','base-url','zoktx','fail','Config\x20key\x20to\x20remove','ranger\x20start','qhQhY','headed','TZTpA','start-path','lWvyw','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','Base\x20URL\x20of\x20the\x20running\x20app','Authenticate\x20with\x20Ranger','Include\x20soft-deleted\x20feature\x20reviews','You\x20must\x20specify\x20an\x20auth\x20subcommand','YHfIk','model','NUdUi','delete\x20<profile-name>','report','create','Number\x20of\x20feature\x20reviews\x20to\x20skip','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','debug-outcome','ranger\x20feature\x20get-feedback','json','PVqya','nLjCb','peMlW','profile-name','profile\x20encrypt-auth','WGjyT','check','Install\x20scope\x20for\x20skills','profile','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','bYrvH','demandCommand','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','test_output','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','CEeII','hook:disable','BlUXw','value','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','aXdtI','description','786CTSAuB','bSksX','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','rWUnl','JqHQC','partial','Environment\x20name','JJRpQ','update','BGxVN','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','fGDNq','zbmvE','MfltD','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','nXmWO','Reason:\x20','yOliS','Ddnjn','rSKxf','alias','NEBWs','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','4674480WDRkzh','Skip\x20interactive\x20confirmation\x20prompts.','mcp','name','update\x20<env-name>','profile\x20login','OKcoq','Skip\x20the\x20deletion\x20confirmation\x20prompt.','vMbFQ','105vmyivr','qbHmy','allow-insecure-localhost','jzKMm','xkdZw','current-branch','include-deleted','bzETY','bpMAb','Skip\x20Chromium\x20browser\x20installation','config\x20unset','vlZrM','startsWith','tCZYF','setup:all','DdvyZ','OkbpR','failed','ranger','status','option','qcSYb','jAnIR'];_0x1343=function(){return _0x9e0a13;};return _0x1343();}function warnFlagRenamed(_0x59ed0d,_0x5f119d,_0x35302a){const _0x270938=_0x4034eb,_0x331eff={'HVxCm':function(_0xa2487,_0x443db4,_0x56bf1b){return _0xa2487(_0x443db4,_0x56bf1b);}};argUsed(_0x5f119d)&&_0x331eff[_0x270938(0x200)](warnRenamed,_0x59ed0d+'\x20'+_0x5f119d,_0x59ed0d+'\x20'+_0x35302a);}function normalizeEnvVarNames(_0x51c038){const _0x2e9c2a=_0x4034eb,_0x141457=Array[_0x2e9c2a(0x149)](_0x51c038)?_0x51c038:_0x51c038?[_0x51c038]:[];return _0x141457[_0x2e9c2a(0x115)](_0x2eb984=>String(_0x2eb984)[_0x2e9c2a(0x1d1)](',')['map'](_0x303cc=>_0x303cc['trim']())[_0x2e9c2a(0x18c)](Boolean));}async function runGoCommand(_0x5be639,_0x8ef246=![]){const _0x5a43a8=_0x4034eb,_0x583f5c={'qIwCe':function(_0x3f6502,_0x3d1c89,_0x46c4d1){return _0x3f6502(_0x3d1c89,_0x46c4d1);},'SLgyA':_0x5a43a8(0x13a),'hWXPh':function(_0x21de7f,_0x12f214,_0x272720,_0x7f95d2){return _0x21de7f(_0x12f214,_0x272720,_0x7f95d2);},'NixGj':_0x5a43a8(0x1e3),'odROj':'--scenario','BejVL':function(_0x194458){return _0x194458();},'NzDUg':function(_0x144091){return _0x144091();},'YaAyN':function(_0x1f5eaf,_0x3ca0bc){return _0x1f5eaf(_0x3ca0bc);},'CZZNb':function(_0x5ed834,_0x17d0e8){return _0x5ed834!==_0x17d0e8;},'OhLAS':_0x5a43a8(0x19e),'pDtwC':'rangerwright-cli','XRrSi':'start-path','bSkjn':'base-url','nPUMK':'debug-address-comments','sqvuO':function(_0x4cc9d3,_0x27da77){return _0x4cc9d3+_0x27da77;},'dgCHE':function(_0x5f5653,_0x37a557){return _0x5f5653===_0x37a557;},'lWvyw':'verified','oMlpY':_0x5a43a8(0xcd),'HqtbM':'\x20BLOCKED','vyZur':_0x5a43a8(0x158)};_0x8ef246&&(_0x583f5c[_0x5a43a8(0x118)](warnRenamed,_0x583f5c['SLgyA'],_0x5a43a8(0x1e3)),warnFlagRenamed(_0x583f5c['SLgyA'],'--env','--profile'));_0x583f5c[_0x5a43a8(0x183)](warnFlagRenamed,_0x583f5c['NixGj'],'--task','--notes'),warnFlagRenamed(_0x583f5c[_0x5a43a8(0x1e6)],'--item',_0x583f5c[_0x5a43a8(0x1bd)]);const _0x4cfefc=await _0x583f5c[_0x5a43a8(0x177)](loadRangerConfig),_0x559f11=_0x583f5c[_0x5a43a8(0x166)](isByokEnabled),_0x2048b9=_0x5be639[_0x5a43a8(0x239)],_0x1c841b=_0x4cfefc[_0x5a43a8(0x239)],_0x532907=_0x583f5c[_0x5a43a8(0x1c3)](normalizeEnvVarNames,_0x5be639[_0x5a43a8(0x172)]),_0x423b1b=getVerificationTransport();if(_0x532907[_0x5a43a8(0x143)]>0x0&&_0x583f5c['CZZNb'](_0x423b1b,_0x583f5c[_0x5a43a8(0x105)])&&_0x423b1b!==_0x583f5c['pDtwC'])throw new Error('The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20'+_0x423b1b+'.');const _0x4b102e=await verifyFeature({'featureId':_0x5be639[_0x5a43a8(0x1a7)],'profile':_0x5be639[_0x5a43a8(0x24b)]??(_0x8ef246?_0x5be639['env']:undefined)??process['env']['RANGER_PROFILE'],'authEnv':_0x8ef246?undefined:_0x5be639[_0x5a43a8(0x21a)]??process['env'][_0x5a43a8(0x11f)],'notes':_0x5be639['notes']??_0x5be639[_0x5a43a8(0x10d)],'check':_0x5be639['check'],'scenario':_0x5be639[_0x5a43a8(0x197)]??_0x5be639['item'],'startPath':_0x5be639[_0x583f5c['XRrSi']],'baseUrl':_0x5be639[_0x583f5c[_0x5a43a8(0x1f1)]],'debugOutcome':_0x5be639[_0x5a43a8(0x240)],'debugAddressComments':_0x5be639[_0x583f5c[_0x5a43a8(0xd3)]],'headed':_0x5be639[_0x5a43a8(0x22e)],'verifierEnvVars':_0x532907,'allowUrlMismatch':_0x5be639[_0x5a43a8(0x1de)],'byokEnabled':_0x559f11,'flagVerifyModel':_0x2048b9,'configVerifyModel':_0x1c841b});console[_0x5a43a8(0x191)](_0x583f5c['sqvuO']('\x0a','='['repeat'](0x3c))),console[_0x5a43a8(0x191)](_0x583f5c['dgCHE'](_0x4b102e['evaluation'],_0x583f5c[_0x5a43a8(0x231)])?_0x5a43a8(0x1a8):_0x4b102e['evaluation']==='incomplete'?'\x20INCOMPLETE':_0x583f5c[_0x5a43a8(0x16a)](_0x4b102e[_0x5a43a8(0xd2)],'partial')?'\x20PARTIAL':_0x4b102e[_0x5a43a8(0xd2)]===_0x583f5c['oMlpY']?_0x583f5c['HqtbM']:_0x583f5c[_0x5a43a8(0x17a)]),console['log']('='[_0x5a43a8(0x1a3)](0x3c)),console['log']('Summary:\x20'+_0x4b102e[_0x5a43a8(0xfe)]),console['log'](_0x5a43a8(0x129)+_0x4b102e[_0x5a43a8(0xd2)]),console['log'](_0x5a43a8(0xa2)+_0x4b102e['evaluationReason']),_0x4b102e['issues']?.[_0x5a43a8(0x143)]&&(console[_0x5a43a8(0x191)](_0x5a43a8(0x154)),_0x4b102e['issues']['forEach']((_0x50d9f3,_0x2deb5d)=>{const _0x2a76d6=_0x5a43a8;console[_0x2a76d6(0x191)]('\x0a'+(_0x2deb5d+0x1)+'.\x20['+_0x50d9f3[_0x2a76d6(0x190)]+']\x20'+_0x50d9f3['description']);})),process['exit'](_0x583f5c['dgCHE'](_0x4b102e['evaluation'],_0x583f5c[_0x5a43a8(0x231)])?0x0:0x1);}export function buildParser(_0x194544){const _0x25a813=_0x4034eb,_0x1b20ca={'iFeSH':_0x25a813(0xac),'EQZEF':_0x25a813(0x215),'zGUYw':_0x25a813(0x91),'NGHVG':'string','bpMAb':_0x25a813(0x108),'jzKMm':function(_0x285310,_0x5abd13){return _0x285310+_0x5abd13;},'JqHQC':_0x25a813(0x128),'qbHmy':_0x25a813(0x20b),'gfGcA':_0x25a813(0x23d),'RbWVd':_0x25a813(0xb7),'JaqwF':_0x25a813(0x101),'awUbA':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','Ciwjm':_0x25a813(0x21c),'qcSYb':_0x25a813(0x23e),'aljjE':_0x25a813(0x236),'xufYD':_0x25a813(0xf1),'YrIoU':_0x25a813(0x1c8),'YHfIk':_0x25a813(0x1e9),'bzETY':function(_0x77f2ef,_0x7b1995,_0xfd6e8b){return _0x77f2ef(_0x7b1995,_0xfd6e8b);},'wioxG':_0x25a813(0x161),'QmSxw':_0x25a813(0x197),'fErha':_0x25a813(0x11c),'dQvki':'Scenario\x20number\x20to\x20edit\x20(1-based)','NUdUi':_0x25a813(0x175),'iQTNB':function(_0x33c55f,_0x3be5ae,_0xae5c96){return _0x33c55f(_0x3be5ae,_0xae5c96);},'qhQhY':_0x25a813(0x23c),'WJSCZ':function(_0x1b1fd5,_0x3adf57,_0x4f8d8c){return _0x1b1fd5(_0x3adf57,_0x4f8d8c);},'MAmit':_0x25a813(0x170),'pAMse':function(_0x1aa270,_0xe1edd2,_0x36544d){return _0x1aa270(_0xe1edd2,_0x36544d);},'WiRRE':_0x25a813(0x1eb),'kBYYP':_0x25a813(0x112),'YBZWz':'Ranger\x20API\x20token','TwmiY':'skip-chromium','YIZWM':'skip-auth','yGsjF':_0x25a813(0x1f9),'laCVR':_0x25a813(0x120),'nLjCb':_0x25a813(0x20d),'kqFdS':'opencode','CbCyd':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','mzGGm':'allow-insecure-localhost','eyxQY':_0x25a813(0x23f),'QVjIk':'mcp','mduOy':_0x25a813(0x179),'mxgbd':'mcp-bootstrap','SKTvE':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','BZrPp':_0x25a813(0xdd),'SSdDa':'setup:login','xkdZw':function(_0x52f955,_0x156232,_0xa200c9){return _0x52f955(_0x156232,_0xa200c9);},'wHTrm':'tokenOrSubcommand','OKcoq':'login','ZlgGy':_0x25a813(0x235),'Ddnjn':'profiles','RfmvG':_0x25a813(0x1cd),'KgICg':_0x25a813(0xd1),'MSWAF':_0x25a813(0x163),'kXxTN':_0x25a813(0x233),'SQUfL':_0x25a813(0x193),'VsvLt':_0x25a813(0x10b),'TxGek':'with-deps','diaIf':function(_0x44fd34,_0xd8bb15,_0x6ed33e){return _0x44fd34(_0xd8bb15,_0x6ed33e);},'OxdHn':_0x25a813(0x232),'HQpJn':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','bNbUQ':_0x25a813(0xbb),'ExygU':'setup-ci','yYQcZ':function(_0x2f675d,_0x45129a,_0x4ee641){return _0x2f675d(_0x45129a,_0x4ee641);},'WdDAU':function(_0x4dc1a4,_0xed5cac,_0x16f250){return _0x4dc1a4(_0xed5cac,_0x16f250);},'ifEwN':_0x25a813(0x1a0),'inpfT':_0x25a813(0x246),'fywey':_0x25a813(0x18b),'rWUnl':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','WbzNl':_0x25a813(0x14f),'WGwuQ':'yes','ZxxNo':function(_0xfd6e94,_0x208394,_0x30301a){return _0xfd6e94(_0x208394,_0x30301a);},'EjHQw':_0x25a813(0x1c5),'GQqwZ':function(_0x4b07f9,_0x2c8bef,_0x2308b0){return _0x4b07f9(_0x2c8bef,_0x2308b0);},'OPkjv':_0x25a813(0x159),'awYUP':_0x25a813(0x224),'PVGUf':_0x25a813(0x19f),'wXxpN':'List\x20all\x20config\x20for\x20a\x20profile','YUbbv':'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','qlKKD':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','UiptL':_0x25a813(0x21a),'TZTpA':_0x25a813(0x9c),'MaqTs':function(_0x14cf03,_0x19e472){return _0x14cf03(_0x19e472);},'bYrvH':function(_0x2132e8,_0x49edd1,_0x18dd93){return _0x2132e8(_0x49edd1,_0x18dd93);},'zQSbP':'profile','nnMSg':_0x25a813(0x1e0),'EGRWJ':_0x25a813(0x160),'pHQgC':'profile\x20config\x20set','xoQHf':'profile\x20config\x20get','tCKix':_0x25a813(0x19b),'SxLNP':_0x25a813(0x23b),'esnhg':_0x25a813(0x1b2),'DdueP':'Update\x20authentication\x20for\x20an\x20existing\x20profile','mXLpp':_0x25a813(0x171),'peMlW':'Manage\x20profile\x20configuration','ARHUJ':'You\x20must\x20specify\x20a\x20profile\x20subcommand','XsFXS':_0x25a813(0xc5),'prCKV':'update','bSksX':'print-access-token','KbyRC':_0x25a813(0x12f),'zKGuP':_0x25a813(0x148),'zbmvE':'Start\x20a\x20fresh\x20one-scenario\x20feature\x20review\x20from\x20this\x20text\x20and\x20verify\x20it.\x20To\x20re-verify,\x20use\x20--scenario;\x20to\x20extend\x20the\x20active\x20review,\x20use\x20`ranger\x20add-scenario`.','iKwhn':_0x25a813(0x202),'rDEeS':'base-url','WywXF':_0x25a813(0x239),'FgGZt':_0x25a813(0xc9),'MUyzh':_0x25a813(0x22e),'bRaQa':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','aTXtz':_0x25a813(0x172),'PVqya':_0x25a813(0x15e),'UxjYQ':_0x25a813(0x195),'IDojG':'allow-url-mismatch','tCQsB':'verified','verBf':_0x25a813(0x1f6),'QVWVM':_0x25a813(0x1dd),'jOEsa':'item','fSVxY':'ranger\x20profile\x20encrypt-auth','yKCOt':function(_0x223350,_0x11a29c){return _0x223350(_0x11a29c);},'SpnST':'encrypt\x20<profile>','zyLWY':_0x25a813(0x237),'ZacxR':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','KUPrZ':_0x25a813(0x10a),'zsBhW':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','zjBXz':_0x25a813(0x22c),'IMzLO':function(_0x3e5756,_0x49a3ab,_0x12b3f6){return _0x3e5756(_0x49a3ab,_0x12b3f6);},'BvVaS':'start','broZg':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','CNLAI':_0x25a813(0x10d),'QejfV':'Scenario\x20index\x20(1-based)','sDOIp':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','vUhow':function(_0x2e54f3,_0x2ffd33,_0x24462d){return _0x2e54f3(_0x2ffd33,_0x24462d);},'LbFXs':'ranger\x20profile\x20add','oZzuc':_0x25a813(0x205),'WGjyT':'use','KQEsy':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','bQiQm':'Config\x20value','aXdtI':_0x25a813(0x1ed),'zDqyj':_0x25a813(0x98),'iDbTJ':'Config\x20key\x20to\x20remove','Qdszl':_0x25a813(0xe8),'GRcwm':_0x25a813(0x1d0),'Hziqh':'ranger\x20profile\x20config\x20unset','BiHZs':_0x25a813(0xde),'mexPy':_0x25a813(0x138),'QIKhq':'ranger\x20profile\x20ls','gTahi':function(_0x1f0e8f,_0x1ca781,_0x2776b8){return _0x1f0e8f(_0x1ca781,_0x2776b8);},'MIPQn':'Name\x20of\x20the\x20environment\x20to\x20update','OkbpR':'ranger\x20env\x20update','HvUBz':function(_0xfac7da,_0xda8ca,_0x39ced7){return _0xfac7da(_0xda8ca,_0x39ced7);},'nsdUl':_0x25a813(0x14b),'cnQHs':'You\x20must\x20specify\x20an\x20env\x20subcommand','UVgQl':_0x25a813(0xdf),'LXDMR':'feature\x20create','HOamF':_0x25a813(0x1c7),'MXZye':'ranger\x20list','UwsuK':'feature\x20list','fVlrI':function(_0xbcd08b,_0x26b1c1,_0x5a1257){return _0xbcd08b(_0x26b1c1,_0x5a1257);},'ENjcu':'feature\x20show','VbccM':function(_0x53716e,_0x16cd65,_0x40933e){return _0x53716e(_0x16cd65,_0x40933e);},'pgTCp':_0x25a813(0x100),'BRvqZ':'ranger\x20add-scenario','zoktx':function(_0x22780c,_0x3f28c1,_0x2141e7){return _0x22780c(_0x3f28c1,_0x2141e7);},'aZgAk':_0x25a813(0x1d5),'wuIow':function(_0x8a98a5,_0x240068,_0x38d743){return _0x8a98a5(_0x240068,_0x38d743);},'JJRpQ':_0x25a813(0x1af),'QLLLl':_0x25a813(0xe6),'eShkB':_0x25a813(0xfb),'uiDOP':_0x25a813(0x169),'qEHWB':function(_0x3444eb,_0x5dca45,_0x1b30e7){return _0x3444eb(_0x5dca45,_0x1b30e7);},'BHNKL':'ranger\x20feature\x20delete','pOMXz':_0x25a813(0x1f8),'HPuQR':_0x25a813(0x212),'UmSoH':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','wdcsh':function(_0x5f15be,_0x416f6f,_0xd1ab19){return _0x5f15be(_0x416f6f,_0xd1ab19);},'cbEIk':_0x25a813(0x20f),'EdROQ':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','BlUXw':_0x25a813(0x18d),'kmUsi':'disable','rsbgz':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','MfltD':function(_0x45be8e,_0x425e65){return _0x45be8e(_0x425e65);},'kaSVJ':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','yOliS':function(_0x26a423,_0x5ef5b3){return _0x26a423||_0x5ef5b3;},'QyXvn':_0x25a813(0xf7),'bhwJV':function(_0x25ddab,_0x23025e){return _0x25ddab(_0x23025e);},'CEeII':_0x25a813(0x119),'RZghZ':_0x25a813(0x140),'VEDyh':_0x25a813(0x21b),'GGtHC':_0x25a813(0x8f),'QAEHu':'resume\x20[id]','BeTnI':'edit-scenario\x20<description>','LyrmA':'delete\x20[id]','MGbJj':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','BAaei':_0x25a813(0x14a),'kJtAn':'setup-ci\x20<token>','BGxVN':'skillup','tCLug':'Install\x20Ranger\x20skills','lwXQp':'Manage\x20profiles','JlTLj':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','gQmAw':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','duhFN':_0x25a813(0x12e),'RfXJG':_0x25a813(0x1ac),'zZatu':_0x25a813(0xff),'lzela':'hook','dAwmb':_0x25a813(0x111),'FHcIT':function(_0x29a5f2,_0x170012){return _0x29a5f2+_0x170012;},'DdvyZ':'\x20\x20https://docs.ranger.net\x0a'};return _0x1b20ca['bhwJV'](_0x2712f3,_0x194544??process['argv']['slice'](0x2))[_0x25a813(0x21e)]('ranger')['usage'](TOP_LEVEL_HELP)[_0x25a813(0x1ff)](getCurrentVersion())[_0x25a813(0xda)](_0x1b20ca[_0x25a813(0x8b)],_0x25a813(0x8a),_0x2d977e=>{const _0x318875=_0x25a813;return _0x2d977e['positional'](_0x1b20ca[_0x318875(0x116)],{'type':_0x318875(0x16e),'description':_0x1b20ca[_0x318875(0x19d)],'demandOption':!![]})[_0x318875(0xc6)](_0x1b20ca['zGUYw'],{'type':_0x1b20ca[_0x318875(0x204)],'alias':'d','description':_0x318875(0x126)})['option']('scenario',{'type':_0x1b20ca[_0x318875(0xba)],'alias':'c','description':_0x318875(0xe6)})['option'](_0x318875(0xcc),{'type':_0x318875(0x108),'hidden':!![]});},async _0x4f84ad=>{const _0x38b6b7=_0x25a813;if(!_0x4f84ad[_0x38b6b7(0xac)]){console['error'](_0x1b20ca[_0x38b6b7(0xb5)](_0x38b6b7(0x1b5),'Example:\x20ranger\x20create\x20my-feature')),process['exit'](0x1);return;}warnFlagRenamed(_0x1b20ca[_0x38b6b7(0x96)],_0x38b6b7(0x1c9),_0x1b20ca[_0x38b6b7(0xb3)]);const _0x51970a=_0x4f84ad[_0x38b6b7(0x197)]||_0x4f84ad['checklist'];await withTelemetry(_0x1b20ca[_0x38b6b7(0x150)],()=>featureCreate(_0x4f84ad[_0x38b6b7(0xac)],{'description':_0x4f84ad['description'],'scenarios':_0x51970a}));})[_0x25a813(0xda)](_0x1b20ca[_0x25a813(0x1b0)],_0x25a813(0x16d),_0x4f3cad=>{const _0x3460f8=_0x25a813;return _0x4f3cad['option'](_0x1b20ca[_0x3460f8(0x155)],{'type':_0x1b20ca['JaqwF'],'description':_0x1b20ca[_0x3460f8(0x17e)]})[_0x3460f8(0xc6)](_0x3460f8(0xfb),{'type':_0x3460f8(0x11c),'alias':'l','description':_0x1b20ca[_0x3460f8(0x1e8)],'default':0xa})['option'](_0x3460f8(0x169),{'type':'number','alias':'o','description':_0x1b20ca[_0x3460f8(0xc7)],'default':0x0})['option'](_0x3460f8(0xb8),{'type':'boolean','alias':'d','description':_0x1b20ca['aljjE'],'default':![]});},async _0x5ebed2=>{const _0x40d8cc=_0x25a813;await withTelemetry(_0x40d8cc(0x140),()=>featureList({'currentBranch':_0x5ebed2[_0x40d8cc(0xb7)],'limit':_0x5ebed2['limit'],'offset':_0x5ebed2[_0x40d8cc(0x169)],'includeDeleted':_0x5ebed2['include-deleted']}));})[_0x25a813(0xda)](_0x1b20ca['VEDyh'],_0x1b20ca['GGtHC'],_0x2776ba=>{const _0x2b4c6f=_0x25a813;return _0x2776ba['positional']('id',{'type':_0x1b20ca['NGHVG'],'description':_0x1b20ca[_0x2b4c6f(0x130)]});},async _0x100be8=>{await withTelemetry(_0x1b20ca['YrIoU'],()=>featureShow(_0x100be8['id']));})['command'](_0x1b20ca['QAEHu'],_0x25a813(0x174),_0x5428b9=>{const _0x5de56d=_0x25a813;return _0x5428b9[_0x5de56d(0x186)]('id',{'type':_0x1b20ca['NGHVG'],'description':_0x1b20ca[_0x5de56d(0x238)]});},async _0x16cf91=>{await _0x1b20ca['bzETY'](withTelemetry,'resume',()=>featureResume(_0x16cf91['id']));})[_0x25a813(0xda)](_0x25a813(0xe9),_0x25a813(0x84),_0x301ff4=>{const _0x4f6e64=_0x25a813;return _0x301ff4['positional'](_0x1b20ca['zGUYw'],{'type':'string','description':'Scenario\x20description','demandOption':!![]})[_0x4f6e64(0xc6)]('id',{'type':_0x1b20ca[_0x4f6e64(0x204)],'description':_0x1b20ca[_0x4f6e64(0x1d7)]});},async _0x301b1e=>{await withTelemetry('add-scenario',()=>featureAddScenario(_0x301b1e['description'],_0x301b1e['id']));})['command'](_0x1b20ca[_0x25a813(0x218)],'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x5ba9ef=>{const _0x242ef2=_0x25a813;return _0x5ba9ef['positional'](_0x242ef2(0x91),{'type':_0x242ef2(0x16e),'description':'New\x20scenario\x20description','demandOption':!![]})[_0x242ef2(0xc6)](_0x1b20ca['QmSxw'],{'type':_0x1b20ca['fErha'],'description':_0x1b20ca[_0x242ef2(0x109)],'demandOption':!![]})['option']('id',{'type':_0x1b20ca[_0x242ef2(0x204)],'description':_0x1b20ca['wioxG']});},async _0x1c261d=>{const _0x3d75ce=_0x25a813;await withTelemetry(_0x3d75ce(0x14d),()=>featureEditScenario(_0x1c261d[_0x3d75ce(0x91)],{'id':_0x1c261d['id'],'scenario':_0x1c261d[_0x3d75ce(0x197)]}));})[_0x25a813(0xda)]('report\x20[id]','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x451523=>{const _0x598964=_0x25a813;return _0x451523['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'})[_0x598964(0xc6)](_0x1b20ca['NUdUi'],{'type':_0x1b20ca['bpMAb'],'description':_0x598964(0x1d3)})['option']('json',{'type':_0x1b20ca['JaqwF'],'description':_0x598964(0xa8),'default':![]});},async _0x28e98e=>{const _0x4572c7=_0x25a813,_0x5b00ee=_0x28e98e[_0x1b20ca[_0x4572c7(0x23a)]],_0x2e899d=_0x5b00ee?_0x5b00ee[_0x4572c7(0x21f)](_0x304bc1=>Number(_0x304bc1)):undefined;await _0x1b20ca['iQTNB'](withTelemetry,_0x1b20ca[_0x4572c7(0x22d)],()=>featureReportPrDescription(_0x28e98e['id'],{'excludeScenarios':_0x2e899d,'json':_0x28e98e[_0x4572c7(0x242)]}));})[_0x25a813(0xda)](_0x25a813(0x152),'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x3dc1a6=>{return _0x3dc1a6['positional']('id',{'type':_0x1b20ca['NGHVG'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x9dd9a8=>{const _0x2be25c=_0x25a813;await _0x1b20ca[_0x2be25c(0xf0)](withTelemetry,'get-review',()=>featureGetReview(_0x9dd9a8['id']));})['command'](_0x1b20ca['LyrmA'],_0x1b20ca['MGbJj'],_0x24e45d=>{const _0x4054a8=_0x25a813;return _0x24e45d[_0x4054a8(0x186)]('id',{'type':_0x4054a8(0x16e),'description':_0x1b20ca['xufYD']});},async _0x4ecc8d=>{const _0x17d3e7=_0x25a813;await _0x1b20ca[_0x17d3e7(0x107)](withTelemetry,_0x17d3e7(0x222),()=>featureDelete(_0x4ecc8d['id']));})[_0x25a813(0xda)](_0x25a813(0x212),_0x25a813(0x185),_0x1bd58b=>{const _0xf12d31=_0x25a813;return _0x1bd58b[_0xf12d31(0x186)]('id',{'type':_0x1b20ca[_0xf12d31(0x204)],'description':_0x1b20ca['MAmit'],'demandOption':!![]});},async _0x62e6a2=>{await _0x1b20ca['pAMse'](withTelemetry,_0x1b20ca['WiRRE'],()=>featureRestore(_0x62e6a2['id']));})[_0x25a813(0xda)](_0x1b20ca[_0x25a813(0x223)],_0x25a813(0x199),_0x4456e9=>{const _0x282bf4=_0x25a813,_0x2c9471={'rSKxf':function(_0x177495,_0x12377f,_0x4132af){const _0x2aa663=_0x1347;return _0x1b20ca[_0x2aa663(0xb9)](_0x177495,_0x12377f,_0x4132af);},'ZtwYD':'setup:deps','mbcRI':function(_0x51f124){return _0x51f124();},'cnFOo':function(_0x3d8da2){return _0x3d8da2();},'iBXKT':_0x282bf4(0xa0),'LrdZI':function(_0x554447,_0x4a2a10){return _0x554447(_0x4a2a10);},'lJDTe':_0x282bf4(0x16e),'efnFt':_0x282bf4(0x1f9),'hTnIs':function(_0x16aa73,_0x323bcb,_0x38e082){return _0x1b20ca['xkdZw'](_0x16aa73,_0x323bcb,_0x38e082);},'hBLTW':_0x282bf4(0xc4),'UoOyN':_0x1b20ca['kqFdS'],'jAnIR':function(_0x7cc787,_0x272b15){return _0x7cc787(_0x272b15);},'gWEXD':'scope','Nnrqm':'url','Hvyag':_0x282bf4(0x101)};return _0x4456e9['usage'](_0x282bf4(0x88))['positional'](_0x1b20ca[_0x282bf4(0x139)],{'type':'string','description':'Subcommand\x20or\x20API\x20token\x20(rngr_...)'})['command']('all','Run\x20full\x20interactive\x20setup',_0x47eae8=>{const _0x5d0f05=_0x282bf4;return _0x47eae8[_0x5d0f05(0xc6)](_0x1b20ca['kBYYP'],{'type':'string','description':_0x1b20ca[_0x5d0f05(0x133)]})[_0x5d0f05(0xc6)](_0x1b20ca[_0x5d0f05(0x1aa)],{'type':_0x1b20ca['JaqwF'],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option'](_0x1b20ca[_0x5d0f05(0x10f)],{'type':_0x1b20ca[_0x5d0f05(0x1cc)],'description':_0x5d0f05(0x10a),'default':![]})['option']('with-deps',{'type':'boolean','description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]})[_0x5d0f05(0xc6)](_0x5d0f05(0xd1),{'type':'string','choices':[_0x1b20ca['yGsjF']],'hidden':!![],'description':_0x1b20ca[_0x5d0f05(0x1d6)]})['option']('url',{'type':_0x1b20ca['NGHVG'],'description':_0x1b20ca[_0x5d0f05(0x244)]})['option'](_0x5d0f05(0x163),{'type':_0x5d0f05(0x101),'description':_0x5d0f05(0x233),'default':![]})['option'](_0x1b20ca[_0x5d0f05(0x227)],{'type':'boolean','description':_0x1b20ca[_0x5d0f05(0x151)],'default':![]})[_0x5d0f05(0xc6)](_0x1b20ca[_0x5d0f05(0x1e4)],{'type':_0x1b20ca['JaqwF'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]})[_0x5d0f05(0xc6)](_0x5d0f05(0x1ba),{'type':'boolean','description':_0x1b20ca[_0x5d0f05(0x206)],'default':![]})[_0x5d0f05(0xc6)](_0x1b20ca[_0x5d0f05(0x17b)],{'type':_0x5d0f05(0x101),'description':_0x1b20ca[_0x5d0f05(0x102)],'default':![]});},async _0xac49e3=>{const _0x300c77=_0x282bf4;(_0xac49e3[_0x1b20ca[_0x300c77(0x14e)]]||_0xac49e3[_0x300c77(0xab)])&&await _0x1b20ca[_0x300c77(0x107)](withTelemetry,'mcp-bootstrap',()=>mcpBootstrap()),await withTelemetry(_0x300c77(0xc0),_0x5bed9b=>start(_0xac49e3[_0x300c77(0x112)],{'skipChromium':_0xac49e3['skip-chromium'],'skipAuth':_0xac49e3['skip-auth'],'withDeps':_0xac49e3['with-deps'],'scope':_0xac49e3[_0x300c77(0xd1)],'url':_0xac49e3[_0x300c77(0x106)],'force':_0xac49e3['force'],'opencode':_0xac49e3[_0x300c77(0x156)],'allowInsecureLocalhost':_0xac49e3[_0x300c77(0xb4)]},_0x5bed9b));})['command']('deps',_0x282bf4(0xf4),_0x52c7c9=>{return _0x52c7c9['option']('with-deps',{'type':_0x1b20ca['JaqwF'],'description':_0x1b20ca['SKTvE'],'default':![]});},async _0x40f4f1=>{const _0x466705=_0x282bf4;await _0x2c9471[_0x466705(0xa5)](withTelemetry,_0x2c9471['ZtwYD'],()=>ensureChromium(_0x40f4f1['with-deps']));})[_0x282bf4(0xda)](_0x1b20ca[_0x282bf4(0xaf)],_0x1b20ca['ZlgGy'],_0x2a956f=>{const _0xe01a3e=_0x282bf4;return _0x2a956f[_0xe01a3e(0xc6)](_0x1b20ca[_0xe01a3e(0x134)],{'type':_0xe01a3e(0x16e),'description':_0x1b20ca['BZrPp']})['option'](_0x1b20ca['QVjIk'],{'type':_0x1b20ca['JaqwF'],'description':_0xe01a3e(0x1f2),'default':![]});},async _0x1fe11c=>{await withTelemetry(_0x1b20ca['SSdDa'],async()=>{const _0x42b16c=_0x1347;if(_0x1fe11c[_0x42b16c(0xab)]){await _0x2c9471['mbcRI'](mcpBootstrap);const _0x3f3849=await _0x2c9471['cnFOo'](refreshCliToken);if(!_0x3f3849)throw new Error(_0x2c9471['iBXKT']);const _0x20d31b=await _0x2c9471['LrdZI'](getCurrentUser,_0x3f3849);if(!_0x20d31b['success'])throw new Error(_0x42b16c(0x164)+_0x20d31b['error']);console[_0x42b16c(0x191)](_0x42b16c(0x184)+_0x20d31b[_0x42b16c(0x1f9)]['organizationName']);return;}await authenticate(_0x1fe11c['token']);});})[_0x282bf4(0xda)]('skills','Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x3564e5=>{const _0x31818c=_0x282bf4;return _0x3564e5[_0x31818c(0xc6)](_0x31818c(0xd1),{'type':_0x2c9471[_0x31818c(0x1b3)],'choices':[_0x2c9471['efnFt'],'project'],'description':_0x31818c(0xeb)})['option'](_0x31818c(0x156),{'type':'boolean','description':_0x31818c(0x1fa),'default':![]});},async _0x2ab78a=>{const _0x169be9=_0x282bf4;await withTelemetry(_0x169be9(0x12d),async()=>{const _0x282237=_0x169be9,_0x2c8f0d=_0x2ab78a[_0x282237(0xd1)];if(_0x2ab78a['opencode']){const _0x43b05d=await ensureOpencodePluginConfig(_0x2c8f0d);_0x43b05d&&await _0x2c9471[_0x282237(0x201)](installSkill,_0x2c9471['hBLTW'],{'level':_0x43b05d[_0x282237(0xd1)],'cliVersion':getCurrentVersion(),'platform':_0x2c9471[_0x282237(0x1e1)]});}else await _0x2c9471[_0x282237(0xc8)](ensureClaudePlugin,_0x2c8f0d),await _0x2c9471[_0x282237(0x1d2)](ensureClaudeSkills,_0x2c8f0d);});})[_0x282bf4(0xda)](_0x1b20ca[_0x282bf4(0xa4)],'Set\x20up\x20a\x20local\x20browser\x20profile',_0x28da51=>{const _0x8b8deb=_0x282bf4;return _0x28da51[_0x8b8deb(0xc6)](_0x2c9471[_0x8b8deb(0x121)],{'type':_0x8b8deb(0x16e),'choices':['user'],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x8b8deb(0xc6)](_0x2c9471['Nnrqm'],{'type':_0x2c9471[_0x8b8deb(0x1b3)],'description':_0x8b8deb(0x234)})[_0x8b8deb(0xc6)]('skip-auth',{'type':'boolean','description':_0x8b8deb(0x1b8),'default':![]})[_0x8b8deb(0xc6)]('force',{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x8b8deb(0xc6)]('allow-insecure-localhost',{'type':_0x2c9471[_0x8b8deb(0x196)],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0xd0e0ab=>{const _0x35bbf6=_0x282bf4,_0x5238a4=_0xd0e0ab['scope'];_0x5238a4!==undefined&&_0x5238a4!==_0x35bbf6(0x1f9)&&(console[_0x35bbf6(0x210)](_0x35bbf6(0x1db)+_0x5238a4+'\x20is\x20no\x20longer\x20supported.\x20'+'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20'+'Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.'),process[_0x35bbf6(0x13d)](0x1)),await withTelemetry('setup:profiles',_0xdd6997=>ensureLocalEnv({'url':_0xd0e0ab[_0x35bbf6(0x106)],'force':_0xd0e0ab['force'],'allowInsecureLocalhost':_0xd0e0ab['allow-insecure-localhost'],'scope':_0x35bbf6(0x1f9)},_0xdd6997));})['option'](_0x282bf4(0x15b),{'type':_0x282bf4(0x101),'description':_0x1b20ca['RfmvG'],'default':![]})['option'](_0x1b20ca['KgICg'],{'type':_0x282bf4(0x16e),'choices':[_0x1b20ca[_0x282bf4(0x20e)]],'hidden':!![],'description':_0x282bf4(0x120)})[_0x282bf4(0xc6)]('url',{'type':_0x282bf4(0x16e),'description':_0x282bf4(0x162)})['option'](_0x1b20ca['MSWAF'],{'type':'boolean','description':_0x1b20ca['kXxTN'],'default':![]})[_0x282bf4(0xc6)](_0x1b20ca[_0x282bf4(0x227)],{'type':_0x282bf4(0x101),'description':_0x282bf4(0x1fa),'default':![]})['option'](_0x282bf4(0xb4),{'type':_0x282bf4(0x101),'description':_0x282bf4(0x1cf),'default':![]})[_0x282bf4(0xc6)](_0x1b20ca['mxgbd'],{'type':_0x1b20ca[_0x282bf4(0x1cc)],'description':_0x1b20ca[_0x282bf4(0x11a)],'default':![]})['option'](_0x1b20ca[_0x282bf4(0x10f)],{'type':_0x282bf4(0x101),'description':_0x1b20ca[_0x282bf4(0x122)],'default':![]})[_0x282bf4(0xc6)](_0x1b20ca[_0x282bf4(0xef)],{'type':_0x282bf4(0x101),'description':_0x1b20ca['SKTvE'],'default':![]})[_0x282bf4(0xc6)](_0x282bf4(0x112),{'type':_0x1b20ca[_0x282bf4(0x204)],'hidden':!![],'description':'API\x20token'});},async _0x1c7c0=>{const _0x428052=_0x25a813,_0x3330c0=_0x1c7c0['tokenOrSubcommand'],_0x15536c=_0x1c7c0[_0x428052(0x112)]??_0x3330c0;_0x1c7c0[_0x1b20ca['mxgbd']]&&await withTelemetry(_0x428052(0x1ba),()=>mcpBootstrap()),await _0x1b20ca['diaIf'](withTelemetry,'start',_0x2acc9d=>start(_0x15536c,{'skipChromium':_0x1c7c0['skip-chromium'],'skipAuth':_0x1c7c0['skip-auth'],'withDeps':_0x1c7c0['with-deps'],'scope':_0x1c7c0['scope'],'url':_0x1c7c0['url'],'force':_0x1c7c0[_0x428052(0x163)],'opencode':_0x1c7c0[_0x428052(0x156)],'allowInsecureLocalhost':_0x1c7c0['allow-insecure-localhost']},_0x2acc9d));})[_0x25a813(0xda)](_0x1b20ca[_0x25a813(0x1d8)],![],_0x30b2b9=>{const _0x8a8f5e=_0x25a813;return _0x30b2b9['positional'](_0x1b20ca[_0x8a8f5e(0x134)],{'type':_0x1b20ca['NGHVG'],'description':_0x8a8f5e(0x214),'demandOption':!![]})[_0x8a8f5e(0xc6)](_0x8a8f5e(0x24b),{'type':'string','description':_0x1b20ca['OxdHn']})[_0x8a8f5e(0xc6)](_0x8a8f5e(0x228),{'type':'string','description':_0x1b20ca[_0x8a8f5e(0xe1)]})['option'](_0x1b20ca['TwmiY'],{'type':_0x1b20ca['JaqwF'],'description':_0x1b20ca['bNbUQ'],'default':![]});},async _0x5dbcb1=>{const _0x52c8ef=_0x25a813;await withTelemetry(_0x1b20ca[_0x52c8ef(0x11d)],_0x4ba6a5=>setupCi(_0x5dbcb1['token'],{'profile':_0x5dbcb1['profile'],'baseUrl':_0x5dbcb1[_0x52c8ef(0x228)],'skipChromium':_0x5dbcb1['skip-chromium']},_0x4ba6a5));})['command']('login','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)',()=>{},async()=>{await withTelemetry(_0x1b20ca['OKcoq'],()=>login());})[_0x25a813(0xda)](_0x1b20ca[_0x25a813(0x9b)],_0x1b20ca[_0x25a813(0x1bc)],_0xf76baf=>{const _0x55f5e2=_0x25a813;return _0xf76baf[_0x55f5e2(0xc6)](_0x1b20ca['kqFdS'],{'type':_0x1b20ca[_0x55f5e2(0x1cc)],'description':'Install\x20skills\x20for\x20OpenCode','default':![]})[_0x55f5e2(0xc6)](_0x1b20ca['KgICg'],{'type':_0x1b20ca['NGHVG'],'choices':[_0x1b20ca[_0x55f5e2(0x20e)],'project'],'description':_0x55f5e2(0x24a)});},async _0x19f081=>{const _0x3b4299=_0x25a813,_0x4da472=Boolean(_0x19f081['opencode']);await _0x1b20ca['yYQcZ'](withTelemetry,'skillup',()=>skillup({'autoInstall':_0x19f081['scope'],'platform':_0x4da472?_0x3b4299(0x156):'claude'}));})['command']('clean',_0x25a813(0x103),()=>{},async()=>{await withTelemetry('clean',()=>clean());})[_0x25a813(0xda)]([_0x25a813(0x24b),_0x1b20ca[_0x25a813(0xa4)]],_0x1b20ca['lwXQp'],_0x18abcd=>{const _0x301512=_0x25a813,_0xe5ffaf={'ymvOx':_0x301512(0x246),'wSsBX':_0x1b20ca['NGHVG'],'uFNei':'url','mbAaY':_0x1b20ca['JaqwF'],'AGDMQ':_0x1b20ca['kXxTN'],'qLnyZ':_0x301512(0xb4),'ddLad':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','ythGC':'setup-header','semGx':_0x1b20ca['KgICg'],'CsKGx':'project','bVRFd':_0x301512(0x13b),'JdAoE':_0x1b20ca['UiptL'],'dBJQh':_0x1b20ca[_0x301512(0x22f)],'QWKEq':'profile\x20add','qAhxt':function(_0x2b58dc,_0x2e14b2){const _0x21b0a1=_0x301512;return _0x1b20ca[_0x21b0a1(0xdb)](_0x2b58dc,_0x2e14b2);},'LKtya':_0x301512(0x110),'MGdoO':_0x301512(0x1b9),'fGDNq':function(_0xc5fda1,_0x640d6c,_0x194d7c){const _0x15a275=_0x301512;return _0x1b20ca[_0x15a275(0x86)](_0xc5fda1,_0x640d6c,_0x194d7c);},'qbvGx':_0x301512(0x1e5),'zjhKR':'profile\x20delete','QQffE':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','MaSDx':'Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','fpEIk':_0x1b20ca['zQSbP'],'dFVbv':_0x1b20ca['nnMSg'],'plSwS':_0x1b20ca[_0x301512(0x117)],'tCZYF':_0x1b20ca['pHQgC'],'ngQLz':'Config\x20key','KuFdh':_0x1b20ca[_0x301512(0x1bf)],'zHcDl':_0x301512(0x22b)};return _0x18abcd[_0x301512(0xd7)](PROFILE_HELP)[_0x301512(0xda)]('add\x20<profile-name>',_0x1b20ca['tCKix'],_0x327c8f=>{const _0x1d320b=_0x301512;return _0x327c8f['positional'](_0xe5ffaf['ymvOx'],{'type':_0xe5ffaf[_0x1d320b(0x1cb)],'description':_0x1d320b(0x1a9),'demandOption':!![]})[_0x1d320b(0xc6)]('ci',{'type':_0x1d320b(0x101),'hidden':!![],'default':![]})['option'](_0x1d320b(0x1da),{'type':_0x1d320b(0x101),'description':_0x1d320b(0x16b),'default':![]})['option'](_0xe5ffaf['uFNei'],{'type':_0x1d320b(0x16e),'description':_0x1d320b(0xd0)})[_0x1d320b(0xc6)](_0x1d320b(0x163),{'type':_0xe5ffaf['mbAaY'],'description':_0xe5ffaf['AGDMQ'],'default':![]})['option'](_0x1d320b(0x110),{'type':_0xe5ffaf[_0x1d320b(0x1cb)],'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})['option'](_0xe5ffaf['qLnyZ'],{'type':_0xe5ffaf['mbAaY'],'description':_0x1d320b(0x1cf),'default':![]})[_0x1d320b(0xc6)](_0x1d320b(0x142),{'type':_0x1d320b(0x101),'description':_0xe5ffaf[_0x1d320b(0x1a6)],'default':![]})['option'](_0xe5ffaf['ythGC'],{'type':_0x1d320b(0x16e),'array':!![],'description':_0x1d320b(0x131)})['option'](_0xe5ffaf['semGx'],{'type':_0xe5ffaf['wSsBX'],'choices':['user',_0xe5ffaf[_0x1d320b(0xec)]],'description':_0xe5ffaf[_0x1d320b(0x20c)]})[_0x1d320b(0xc6)](_0xe5ffaf['JdAoE'],{'type':'string','description':_0x1d320b(0xf2)})['option'](_0x1d320b(0xe7),{'type':'boolean','alias':'y','description':_0xe5ffaf[_0x1d320b(0x1c0)],'default':![]});},async _0x5f3b65=>{const _0x294b65=_0x301512;await withTelemetry(_0xe5ffaf['QWKEq'],_0x4552ab=>addEnv(_0x5f3b65[_0x294b65(0x246)],{'ci':_0x5f3b65['ci'],'skipAuth':_0x5f3b65[_0x294b65(0x1da)],'url':_0x5f3b65[_0x294b65(0x106)],'force':_0x5f3b65[_0x294b65(0x163)],'cdpEndpoint':_0x5f3b65['cdp-endpoint'],'allowInsecureLocalhost':_0x5f3b65[_0x294b65(0xb4)],'safeMode':_0x5f3b65[_0x294b65(0x142)],'setupHeader':_0x5f3b65['setup-header'],'scope':_0x5f3b65[_0x294b65(0xd1)],'authEnv':_0x5f3b65['env'],'yes':_0x5f3b65[_0x294b65(0xe7)]},_0x4552ab),{'isElectron':_0xe5ffaf['qAhxt'](Boolean,_0x5f3b65[_0xe5ffaf[_0x294b65(0x211)]])});})[_0x301512(0xda)]('use\x20<profile-name>',_0x301512(0x189),_0x2650b1=>{const _0x22e7a0=_0x301512;return _0x2650b1['positional']('profile-name',{'type':'string','description':_0xe5ffaf[_0x22e7a0(0x1ab)],'demandOption':!![]});},async _0x5deffa=>{const _0x131676=_0x301512;await _0xe5ffaf[_0x131676(0x9d)](withTelemetry,_0xe5ffaf['qbvGx'],()=>useEnv(_0x5deffa['profile-name']));})[_0x301512(0xda)](_0x1b20ca['SxLNP'],_0x1b20ca[_0x301512(0x1ca)],_0x39830e=>{const _0x4cf76b=_0x301512;return _0x39830e['positional'](_0xe5ffaf[_0x4cf76b(0x136)],{'type':'string','description':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','demandOption':!![]})[_0x4cf76b(0xc6)](_0x4cf76b(0xe7),{'type':_0xe5ffaf[_0x4cf76b(0xe2)],'alias':'y','description':_0x4cf76b(0xb0),'default':![]});},async _0x558dc7=>{const _0x304248=_0x301512;await withTelemetry(_0xe5ffaf[_0x304248(0x17d)],()=>deleteProfile(_0x558dc7['profile-name'],{'yes':_0x558dc7[_0x304248(0xe7)]}));})[_0x301512(0xda)]('encrypt-auth\x20<profile>',![],_0xcdb968=>{const _0x2b14d5=_0x301512;return _0xcdb968['positional'](_0x2b14d5(0x24b),{'type':_0x2b14d5(0x16e),'description':_0x2b14d5(0x1e0),'demandOption':!![]});},async _0x3e354b=>{const _0x15f23d=_0x301512;await _0x1b20ca['WdDAU'](withTelemetry,_0x15f23d(0x247),()=>authEncrypt(_0x3e354b['profile']));})[_0x301512(0xda)]('ls','List\x20all\x20profiles',()=>{},async()=>{const _0x3d9a5b=_0x301512;await withTelemetry(_0x3d9a5b(0x173),()=>envList());})[_0x301512(0xda)](_0x301512(0xee),_0x1b20ca['DdueP'],_0x424fc0=>{const _0xec302b=_0x301512;return _0x424fc0[_0xec302b(0x186)](_0xe5ffaf[_0xec302b(0x136)],{'type':_0xe5ffaf['wSsBX'],'description':'Name\x20of\x20the\x20profile\x20to\x20update','demandOption':!![]})[_0xec302b(0xc6)](_0xe5ffaf[_0xec302b(0x15c)],{'type':'boolean','description':_0xe5ffaf[_0xec302b(0xd6)]})[_0xec302b(0xc6)](_0xec302b(0x1f5),{'type':_0xe5ffaf['mbAaY'],'description':_0xe5ffaf['MaSDx']});},async _0x202050=>{const _0x2b668b=_0x301512;await withTelemetry(_0x1b20ca[_0x2b668b(0x1ad)],_0x524ed7=>updateEnv(_0x202050[_0x2b668b(0x246)],_0x524ed7,{'allowInsecureLocalhost':_0x202050['allow-insecure-localhost'],'manual':_0x202050[_0x2b668b(0x1f5)]}));})['command']('login\x20<name>',![],_0x130e94=>{const _0x569344=_0x301512;return _0x130e94[_0x569344(0x186)]('name',{'type':_0x1b20ca['NGHVG'],'description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0x3322ba=>{const _0x259c95=_0x301512,_0x146405={'WagFE':'Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','ootkV':'No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'};await withTelemetry(_0x259c95(0xae),async()=>{const _0x40e846=_0x259c95,_0x478084=process[_0x40e846(0x21a)]['RANGER_TEST_USERNAME'],_0x40d0a9=process[_0x40e846(0x21a)][_0x40e846(0x1c6)];(!_0x478084||!_0x40d0a9)&&(console[_0x40e846(0x210)](_0x146405[_0x40e846(0x1ee)]),process[_0x40e846(0x13d)](0x1));const _0x14249c=_0x3322ba[_0x40e846(0xac)],_0x3e1143=await serverSideLogin(_0x14249c,{'force':!![]});_0x3e1143['status']==='not_configured'&&(console['error'](_0x146405['ootkV']),process['exit'](0x1)),_0x3e1143['status']==='failed'&&(console[_0x40e846(0x210)]('Login\x20failed:\x20'+(_0x3e1143['error']??_0x40e846(0x11b))),_0x3e1143[_0x40e846(0x89)]&&console['error'](_0x3e1143[_0x40e846(0x89)]),process[_0x40e846(0x13d)](0x1)),console[_0x40e846(0x191)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x14249c+'\x27.\x20Session\x20saved.');});})[_0x301512(0xda)](_0x1b20ca[_0x301512(0xe3)],![],_0x27c30d=>{const _0x26a921=_0x301512;return _0x27c30d['positional'](_0x1b20ca['inpfT'],{'type':'string','description':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.'})['option'](_0x1b20ca[_0x26a921(0xf6)],{'type':'boolean','description':_0x1b20ca[_0x26a921(0x95)],'default':![]})['option']('dry-run',{'type':_0x26a921(0x101),'description':_0x1b20ca[_0x26a921(0xd5)],'default':![]})['option'](_0x1b20ca['WGwuQ'],{'type':_0x1b20ca[_0x26a921(0x1cc)],'alias':'y','description':_0x26a921(0xaa),'default':![]})[_0x26a921(0xc6)](_0x26a921(0xea),{'type':_0x1b20ca['JaqwF'],'description':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','default':![]});},async _0x453bb3=>{const _0x1885eb=_0x301512;await _0x1b20ca[_0x1885eb(0x13f)](withTelemetry,_0x1b20ca[_0x1885eb(0x123)],_0x4decad=>migrateProfile({'profileName':_0x453bb3['profile-name'],'all':_0x453bb3[_0x1885eb(0x18b)],'dryRun':_0x453bb3[_0x1885eb(0x1e7)],'yes':_0x453bb3[_0x1885eb(0xe7)],'saveCreds':_0x453bb3['save-creds']},_0x4decad));})[_0x301512(0xda)]('config',_0x1b20ca[_0x301512(0x245)],_0x5ab9cd=>{const _0x106e56=_0x301512,_0x537ee7={'racFC':function(_0x2110eb,_0x41b945,_0x5e0660){const _0x540fe8=_0x1347;return _0x1b20ca[_0x540fe8(0x13f)](_0x2110eb,_0x41b945,_0x5e0660);},'xmSoF':function(_0x2c2d03,_0x30ef3c,_0x2d0852){const _0x26dc78=_0x1347;return _0x1b20ca[_0x26dc78(0x137)](_0x2c2d03,_0x30ef3c,_0x2d0852);}};return _0x5ab9cd['usage'](PROFILE_CONFIG_HELP)['command'](_0x1b20ca[_0x106e56(0x1d4)],_0x1b20ca['awYUP'],_0x3c94ea=>{const _0x57bef6=_0x106e56;return _0x3c94ea[_0x57bef6(0x186)](_0xe5ffaf['fpEIk'],{'type':_0xe5ffaf['wSsBX'],'description':_0xe5ffaf[_0x57bef6(0xe4)],'demandOption':!![]})[_0x57bef6(0x186)](_0xe5ffaf[_0x57bef6(0xcb)],{'type':_0x57bef6(0x16e),'description':_0x57bef6(0x94),'demandOption':!![]})['positional']('value',{'type':_0xe5ffaf[_0x57bef6(0x1cb)],'description':'Config\x20value','demandOption':!![]});},async _0x58c490=>{const _0x5e6e7d=_0x106e56;await withTelemetry(_0xe5ffaf[_0x5e6e7d(0xbf)],()=>configSet(_0x58c490[_0x5e6e7d(0x24b)],_0x58c490['key'],_0x58c490['value']));})[_0x106e56(0xda)]('get\x20<profile>\x20<key>',_0x1b20ca['PVGUf'],_0x35d7f8=>{const _0x4d3efd=_0x106e56;return _0x35d7f8[_0x4d3efd(0x186)]('profile',{'type':_0x4d3efd(0x16e),'description':'Profile\x20name','demandOption':!![]})[_0x4d3efd(0x186)](_0xe5ffaf[_0x4d3efd(0xcb)],{'type':_0xe5ffaf['wSsBX'],'description':_0xe5ffaf['ngQLz'],'demandOption':!![]});},async _0x48a8a5=>{const _0x46acb2=_0x106e56;await withTelemetry(_0xe5ffaf[_0x46acb2(0xf3)],()=>configGet(_0x48a8a5[_0x46acb2(0x24b)],_0x48a8a5[_0x46acb2(0x160)]));})[_0x106e56(0xda)]('list\x20<profile>',_0x1b20ca[_0x106e56(0x1e2)],_0x5d9e9f=>{const _0x3269f2=_0x106e56;return _0x5d9e9f[_0x3269f2(0x186)]('profile',{'type':_0x3269f2(0x16e),'description':_0xe5ffaf['dFVbv'],'demandOption':!![]});},async _0x29d604=>{const _0x1c6b88=_0x106e56;await _0x537ee7[_0x1c6b88(0x1ce)](withTelemetry,_0x1c6b88(0x168),()=>configList(_0x29d604['profile']));})['command']('unset\x20<profile>\x20<key>','Remove\x20a\x20config\x20value',_0x10c4b2=>{const _0x5db014=_0x106e56;return _0x10c4b2['positional'](_0xe5ffaf[_0x5db014(0xcf)],{'type':_0xe5ffaf[_0x5db014(0x1cb)],'description':_0xe5ffaf['dFVbv'],'demandOption':!![]})['positional']('key',{'type':_0xe5ffaf['wSsBX'],'description':_0xe5ffaf[_0x5db014(0x21d)],'demandOption':!![]});},async _0x28a060=>{await withTelemetry('profile\x20config\x20unset',()=>configUnset(_0x28a060['profile'],_0x28a060['key']));})[_0x106e56(0xda)](_0x106e56(0xca),_0x1b20ca['YUbbv'],_0xc74a=>{const _0x42fe5d=_0x106e56;return _0xc74a[_0x42fe5d(0x186)]('profile',{'type':_0xe5ffaf['wSsBX'],'description':_0xe5ffaf['dFVbv'],'demandOption':!![]});},async _0x5328b2=>{const _0x4d6f7d=_0x106e56;await _0x537ee7['xmSoF'](withTelemetry,_0x4d6f7d(0x167),()=>configReset(_0x5328b2[_0x4d6f7d(0x24b)]));})[_0x106e56(0x87)](0x1,_0x1b20ca[_0x106e56(0xf9)]);})[_0x301512(0x87)](0x1,_0x1b20ca['ARHUJ']);})['command'](_0x1b20ca[_0x25a813(0x1a5)],_0x1b20ca['JlTLj'],()=>{},async()=>{const _0x19563c=_0x25a813;await _0x1b20ca[_0x19563c(0xce)](withTelemetry,_0x1b20ca[_0x19563c(0x1a5)],()=>status());})[_0x25a813(0xda)](_0x25a813(0x9a),_0x1b20ca['gQmAw'],()=>{},async()=>{await _0x1b20ca['diaIf'](withTelemetry,_0x1b20ca['prCKV'],()=>update());})[_0x25a813(0xda)](_0x1b20ca[_0x25a813(0x93)],'Print\x20the\x20current\x20CLI\x20access\x20token',()=>{},async()=>{const _0x50b9f2=_0x25a813,_0x31ca97={'VZnVC':function(_0xe5e16c){return _0xe5e16c();}};await withTelemetry(_0x1b20ca[_0x50b9f2(0x93)],async()=>{const _0x2d4596=_0x50b9f2,_0x12f5ba=await _0x31ca97[_0x2d4596(0x135)](getToken);if(!_0x12f5ba)throw new Error('No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.');console[_0x2d4596(0x191)](_0x12f5ba);});})[_0x25a813(0xda)]('go',_0x1b20ca['duhFN'],_0x15b3ca=>{const _0x2e0ddd=_0x25a813;return _0x15b3ca[_0x2e0ddd(0xc6)](_0x2e0ddd(0x1a7),{'type':_0x1b20ca['NGHVG'],'description':_0x1b20ca[_0x2e0ddd(0xfa)]})[_0x2e0ddd(0xc6)]('profile',{'type':_0x1b20ca['NGHVG'],'description':_0x2e0ddd(0x85)})[_0x2e0ddd(0xc6)]('notes',{'type':'string','description':_0x1b20ca['zKGuP']})['option'](_0x2e0ddd(0x249),{'type':'string','description':_0x1b20ca[_0x2e0ddd(0x9e)]})[_0x2e0ddd(0xc6)](_0x1b20ca[_0x2e0ddd(0x11e)],{'type':_0x1b20ca[_0x2e0ddd(0x217)],'description':'Scenario\x20index\x20(1-based)'})[_0x2e0ddd(0xc6)]('start-path',{'type':_0x1b20ca['NGHVG'],'description':_0x1b20ca['iKwhn']})[_0x2e0ddd(0xc6)](_0x1b20ca[_0x2e0ddd(0x1bb)],{'type':_0x1b20ca['NGHVG'],'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x2e0ddd(0xc6)](_0x1b20ca['WywXF'],{'type':_0x1b20ca['NGHVG'],'description':_0x1b20ca['FgGZt']})[_0x2e0ddd(0xc6)](_0x1b20ca[_0x2e0ddd(0x147)],{'type':_0x1b20ca['JaqwF'],'description':_0x1b20ca['bRaQa'],'default':![]})[_0x2e0ddd(0xc6)](_0x1b20ca[_0x2e0ddd(0x18e)],{'type':_0x2e0ddd(0x16e),'array':!![],'alias':_0x1b20ca['PVqya'],'description':_0x1b20ca['UxjYQ']})['option'](_0x1b20ca['IDojG'],{'type':_0x1b20ca[_0x2e0ddd(0x1cc)],'description':_0x2e0ddd(0x1fb),'default':![]})['option']('debug-outcome',{'type':'string','hidden':!![],'choices':[_0x1b20ca['tCQsB'],'partial',_0x2e0ddd(0xcd),_0x2e0ddd(0xc3),_0x1b20ca[_0x2e0ddd(0xf8)]]})['option'](_0x1b20ca['QVWVM'],{'type':'boolean','hidden':!![]})[_0x2e0ddd(0xc6)](_0x1b20ca['UiptL'],{'type':'string','description':'Auth\x20environment\x20key\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Used\x20with\x20RANGER_TEST_USERNAME\x20for\x20ad-hoc\x20runs,\x20and\x20with\x20--profile\x20to\x20override\x20that\x20profile\x27s\x20pinned\x20env\x20for\x20this\x20run.\x20Required\x20to\x20run\x20an\x20automated\x20login\x20against\x20a\x20bare-localhost\x20target\x20(localhost\x20/\x20127.0.0.1).\x20Also\x20respects\x20RANGER_AUTH_ENV.'})['option'](_0x2e0ddd(0x10d),{'type':_0x1b20ca['NGHVG'],'hidden':!![]})[_0x2e0ddd(0xc6)](_0x1b20ca['jOEsa'],{'type':_0x1b20ca[_0x2e0ddd(0x217)],'hidden':!![]});},async _0x28b8f1=>{const _0xf9f056=_0x25a813;await _0x1b20ca[_0xf9f056(0xdb)](runGoCommand,_0x28b8f1);})[_0x25a813(0xda)](_0x1b20ca['RfXJG'],![],_0x25a804=>{const _0x5a2d02=_0x25a813,_0x53b1f8={'aGfOU':'profile','gwPTD':_0x1b20ca[_0x5a2d02(0x1a4)],'TrvAS':_0x1b20ca['fSVxY'],'AGYTA':function(_0x1fa283,_0x49b54e){return _0x1b20ca['yKCOt'](_0x1fa283,_0x49b54e);}};return _0x25a804[_0x5a2d02(0xda)](_0x1b20ca['SpnST'],![],_0x51c0ab=>{const _0x555547=_0x5a2d02;return _0x51c0ab[_0x555547(0x186)](_0x53b1f8['aGfOU'],{'type':_0x555547(0x16e),'description':_0x53b1f8[_0x555547(0xfc)],'demandOption':!![]});},async _0xa0db1d=>{const _0x462965=_0x5a2d02;warnRenamed(_0x462965(0x144),_0x53b1f8[_0x462965(0xe0)]),await _0x53b1f8['AGYTA'](authEncrypt,_0xa0db1d[_0x462965(0x24b)]);})[_0x5a2d02(0x87)](0x1,_0x1b20ca['zyLWY']);},()=>{})[_0x25a813(0xda)]('start\x20[token]',![],_0xc5f4d7=>{const _0x2ee521=_0x25a813;return _0xc5f4d7[_0x2ee521(0x186)](_0x1b20ca['kBYYP'],{'type':_0x1b20ca[_0x2ee521(0x204)],'description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})['option'](_0x1b20ca['TwmiY'],{'type':_0x1b20ca[_0x2ee521(0x1cc)],'description':_0x2ee521(0x1cd),'default':![]})[_0x2ee521(0xc6)]('scope',{'type':'string','choices':[_0x2ee521(0x1f9)],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option']('url',{'type':'string','description':_0x1b20ca[_0x2ee521(0x1b7)]})['option'](_0x2ee521(0x163),{'type':_0x1b20ca['JaqwF'],'description':_0x2ee521(0x233),'default':![]})['option'](_0x1b20ca[_0x2ee521(0x10f)],{'type':_0x2ee521(0x101),'description':_0x1b20ca['KUPrZ'],'default':![]})['option'](_0x2ee521(0x146),{'type':_0x1b20ca[_0x2ee521(0x1cc)],'description':_0x1b20ca['zsBhW'],'default':![]});},async _0xa99636=>{const _0x4a0261=_0x25a813;_0x1b20ca[_0x4a0261(0xb6)](warnRenamed,_0x1b20ca[_0x4a0261(0x176)],_0x4a0261(0x127)),await _0x1b20ca['IMzLO'](withTelemetry,_0x1b20ca[_0x4a0261(0x1c2)],_0x1daa12=>start(_0xa99636['token'],{'skipChromium':_0xa99636[_0x4a0261(0x15b)],'skipAuth':_0xa99636[_0x4a0261(0x1da)],'withDeps':_0xa99636['with-deps'],'scope':_0xa99636[_0x4a0261(0xd1)],'url':_0xa99636[_0x4a0261(0x106)],'force':_0xa99636['force']},_0x1daa12));})[_0x25a813(0xda)]('verify-feature',![],_0x29337a=>{const _0x119c74=_0x25a813;return _0x29337a[_0x119c74(0xc6)]('env',{'type':'string','description':_0x1b20ca[_0x119c74(0x16c)]})[_0x119c74(0xc6)](_0x1b20ca[_0x119c74(0x198)],{'type':_0x1b20ca[_0x119c74(0x204)],'description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})['option'](_0x119c74(0xe5),{'type':_0x1b20ca[_0x119c74(0x217)],'description':_0x1b20ca[_0x119c74(0x1ea)]})[_0x119c74(0xc6)](_0x1b20ca['zQSbP'],{'type':'string','hidden':!![]})['option']('notes',{'type':_0x119c74(0x16e),'hidden':!![]})['option'](_0x1b20ca[_0x119c74(0x11e)],{'type':_0x119c74(0x11c),'hidden':!![]})['option'](_0x119c74(0x230),{'type':_0x1b20ca['NGHVG'],'description':_0x119c74(0x202)})[_0x119c74(0xc6)](_0x1b20ca['rDEeS'],{'type':_0x1b20ca[_0x119c74(0x204)],'description':_0x1b20ca['sDOIp']})['option'](_0x1b20ca[_0x119c74(0x226)],{'type':'string','hidden':!![]})[_0x119c74(0xc6)](_0x1b20ca[_0x119c74(0x147)],{'type':'boolean','hidden':!![],'default':![]})[_0x119c74(0xc6)](_0x1b20ca['aTXtz'],{'type':_0x1b20ca['NGHVG'],'array':!![],'alias':_0x1b20ca[_0x119c74(0x243)],'hidden':!![]})['option']('debug-outcome',{'type':_0x1b20ca[_0x119c74(0x204)],'hidden':!![],'choices':[_0x119c74(0x20a),_0x119c74(0x97),'blocked',_0x119c74(0xc3),_0x1b20ca['verBf']]});},async _0x242757=>{await _0x1b20ca['vUhow'](runGoCommand,_0x242757,!![]);})[_0x25a813(0xda)]('add\x20env\x20<env-name>',![],_0x27a2a5=>{const _0x584da7=_0x25a813;return _0x27a2a5['positional']('env-name',{'type':_0x1b20ca['NGHVG'],'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x584da7(0xc6)]('ci',{'type':_0x1b20ca['JaqwF'],'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})[_0x584da7(0xc6)](_0x584da7(0x1da),{'type':_0x584da7(0x101),'description':_0x584da7(0x16b),'default':![]});},async _0x8208b1=>{const _0x53d313=_0x25a813;_0x1b20ca['xkdZw'](warnRenamed,_0x53d313(0x125),_0x1b20ca['LbFXs']),await _0x1b20ca['WJSCZ'](withTelemetry,_0x53d313(0x17c),_0xd03b9b=>addEnv(_0x8208b1[_0x53d313(0x205)],{'ci':_0x8208b1['ci'],'skipAuth':_0x8208b1[_0x53d313(0x1da)]},_0xd03b9b));})['command'](_0x1b20ca['zZatu'],![],_0x104d32=>{return _0x104d32['positional'](_0x1b20ca['oZzuc'],{'type':'string','description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x32037a=>{const _0x1c2518=_0x25a813;_0x1b20ca['diaIf'](warnRenamed,'ranger\x20use',_0x1c2518(0x114)),await withTelemetry(_0x1b20ca[_0x1c2518(0x248)],()=>useEnv(_0x32037a[_0x1c2518(0x205)]));})['command']('config',![],_0x26ecde=>{const _0x1e6e54=_0x25a813,_0x4d8578={'JqkfO':function(_0x5780a7,_0x5a2cd0,_0x2a4bbb){return _0x5780a7(_0x5a2cd0,_0x2a4bbb);},'vShee':'config\x20set','YshTi':_0x1b20ca[_0x1e6e54(0xd4)],'nXmWO':'ranger\x20profile\x20config\x20get','AdrJj':_0x1b20ca['GRcwm'],'WhrhK':'env','NZsYw':_0x1b20ca[_0x1e6e54(0x1b6)],'HdJNi':function(_0x23e863,_0x315882,_0x160760){return _0x23e863(_0x315882,_0x160760);},'gZPMK':_0x1e6e54(0x1ec),'pCylq':_0x1e6e54(0x1be),'ARvda':_0x1b20ca[_0x1e6e54(0x132)],'LOFAz':_0x1e6e54(0xbc)};return _0x26ecde['command'](_0x1b20ca['BiHZs'],![],_0x3979ba=>{const _0xbc76d2=_0x1e6e54;return _0x3979ba[_0xbc76d2(0x186)]('env',{'type':'string','description':'Environment\x20name','demandOption':!![]})['positional'](_0x1b20ca[_0xbc76d2(0x117)],{'type':_0x1b20ca[_0xbc76d2(0x204)],'description':_0x1b20ca['KQEsy'],'demandOption':!![]})['positional'](_0xbc76d2(0x8e),{'type':'string','description':_0x1b20ca['bQiQm'],'demandOption':!![]});},async _0x1a139e=>{const _0x355d52=_0x1e6e54;_0x4d8578['JqkfO'](warnRenamed,'ranger\x20config\x20set',_0x355d52(0x1fc)),await _0x4d8578[_0x355d52(0x216)](withTelemetry,_0x4d8578['vShee'],()=>configSet(_0x1a139e[_0x355d52(0x21a)],_0x1a139e[_0x355d52(0x160)],_0x1a139e[_0x355d52(0x8e)]));})[_0x1e6e54(0xda)](_0x1b20ca['mexPy'],![],_0x36acb2=>{const _0x802be6=_0x1e6e54;return _0x36acb2['positional'](_0x802be6(0x21a),{'type':_0x802be6(0x16e),'description':'Environment\x20name','demandOption':!![]})[_0x802be6(0x186)]('key',{'type':_0x802be6(0x16e),'description':_0x1b20ca[_0x802be6(0x90)],'demandOption':!![]});},async _0x2aa273=>{const _0x4a6bd3=_0x1e6e54;warnRenamed(_0x4d8578['YshTi'],_0x4d8578[_0x4a6bd3(0xa1)]),await withTelemetry(_0x4d8578['AdrJj'],()=>configGet(_0x2aa273[_0x4a6bd3(0x21a)],_0x2aa273['key']));})['command']('list\x20<env>',![],_0x33f06f=>{const _0x43ae1f=_0x1e6e54;return _0x33f06f['positional'](_0x4d8578[_0x43ae1f(0xfd)],{'type':'string','description':_0x4d8578['NZsYw'],'demandOption':!![]});},async _0x1e9cbe=>{const _0x534faa=_0x1e6e54;_0x4d8578['JqkfO'](warnRenamed,_0x534faa(0xf5),_0x534faa(0xd8)),await _0x4d8578['HdJNi'](withTelemetry,_0x4d8578['gZPMK'],()=>configList(_0x1e9cbe['env']));})['command']('unset\x20<env>\x20<key>',![],_0x27dfdc=>{const _0x34ffc1=_0x1e6e54;return _0x27dfdc['positional']('env',{'type':_0x34ffc1(0x16e),'description':_0x1b20ca[_0x34ffc1(0x1b6)],'demandOption':!![]})['positional']('key',{'type':_0x34ffc1(0x16e),'description':_0x1b20ca['iDbTJ'],'demandOption':!![]});},async _0x257c06=>{const _0x1f3253=_0x1e6e54;_0x4d8578['HdJNi'](warnRenamed,_0x4d8578['pCylq'],_0x4d8578['ARvda']),await _0x4d8578['HdJNi'](withTelemetry,_0x4d8578[_0x1f3253(0x1f0)],()=>configUnset(_0x257c06[_0x1f3253(0x21a)],_0x257c06[_0x1f3253(0x160)]));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20config\x20subcommand');})[_0x25a813(0xda)](_0x1b20ca['UiptL'],![],_0x48257d=>{const _0xaea3d9=_0x25a813;return _0x48257d[_0xaea3d9(0xda)]('ls',![],()=>{},async()=>{const _0x14edce=_0xaea3d9;_0x1b20ca[_0x14edce(0x1fd)](warnRenamed,_0x14edce(0x1d9),_0x1b20ca['QIKhq']),await _0x1b20ca[_0x14edce(0x141)](withTelemetry,'env\x20list',()=>envList());})[_0xaea3d9(0xda)](_0xaea3d9(0xad),![],_0x1deb5a=>{const _0x57f254=_0xaea3d9;return _0x1deb5a['positional']('env-name',{'type':_0x57f254(0x16e),'description':_0x1b20ca[_0x57f254(0x12c)],'demandOption':!![]});},async _0x39f58e=>{const _0x2cc0ee=_0xaea3d9;warnRenamed(_0x1b20ca[_0x2cc0ee(0xc2)],_0x2cc0ee(0x13c)),await _0x1b20ca['HvUBz'](withTelemetry,_0x1b20ca[_0x2cc0ee(0x187)],_0x9db216=>updateEnv(_0x39f58e[_0x2cc0ee(0x205)],_0x9db216));})['demandCommand'](0x1,_0x1b20ca[_0xaea3d9(0xdc)]);})[_0x25a813(0xda)]('feature',![],_0x1ddc26=>{const _0x47eb29=_0x25a813,_0xdc3589={'BviwW':'name','awgMQ':'string','fluNR':'Feature\x20review\x20name','xpnwn':_0x47eb29(0x108),'vlZrM':_0x1b20ca[_0x47eb29(0x208)],'YDoCI':_0x1b20ca[_0x47eb29(0x188)],'UzHdY':_0x1b20ca['fErha'],'cnimG':_0x1b20ca['Ciwjm'],'NObxf':_0x1b20ca['uiDOP'],'vMbFQ':_0x47eb29(0xb8),'IqRiP':_0x47eb29(0x236),'alrRC':_0x1b20ca[_0x47eb29(0x238)],'CALdz':_0x47eb29(0x241),'jGVLi':function(_0x3cb068,_0x1f611e,_0x114275){const _0xa463fa=_0x47eb29;return _0x1b20ca[_0xa463fa(0x1dc)](_0x3cb068,_0x1f611e,_0x114275);},'NEBWs':_0x1b20ca['BHNKL']};return _0x1ddc26['command']('create\x20<name>',![],_0x1fa930=>{const _0x54ea9f=_0x47eb29;return _0x1fa930[_0x54ea9f(0x186)](_0xdc3589['BviwW'],{'type':_0xdc3589['awgMQ'],'description':_0xdc3589['fluNR'],'demandOption':!![]})[_0x54ea9f(0xc6)]('description',{'type':'string','alias':'d','description':'Feature\x20review\x20description'})[_0x54ea9f(0xc6)]('checklist',{'type':_0xdc3589['xpnwn'],'alias':'c','description':_0xdc3589[_0x54ea9f(0xbd)]})['option']('scenario',{'type':_0x54ea9f(0x108),'hidden':!![]});},async _0x486340=>{const _0x50d31d=_0x47eb29;warnRenamed(_0x1b20ca['UVgQl'],_0x50d31d(0x128)),warnFlagRenamed(_0x1b20ca['JqHQC'],_0x50d31d(0x1c9),'--scenario');const _0x49f753=_0x486340['scenario']||_0x486340['checklist'];await withTelemetry(_0x1b20ca[_0x50d31d(0x192)],()=>featureCreate(_0x486340[_0x50d31d(0xac)],{'description':_0x486340[_0x50d31d(0x91)],'scenarios':_0x49f753}));})['command']('list',![],_0x1845a8=>{const _0x5d33a8=_0x47eb29;return _0x1845a8['option']('current-branch',{'type':'boolean','description':_0x5d33a8(0x225)})[_0x5d33a8(0xc6)](_0xdc3589['YDoCI'],{'type':_0xdc3589['UzHdY'],'alias':'l','description':_0xdc3589['cnimG'],'default':0xa})[_0x5d33a8(0xc6)](_0xdc3589['NObxf'],{'type':_0xdc3589['UzHdY'],'alias':'o','description':_0x5d33a8(0x23e),'default':0x0})[_0x5d33a8(0xc6)](_0xdc3589[_0x5d33a8(0xb1)],{'type':_0x5d33a8(0x101),'alias':'d','description':_0xdc3589[_0x5d33a8(0xed)],'default':![]});},async _0x1ed227=>{const _0x110932=_0x47eb29;warnRenamed(_0x1b20ca[_0x110932(0x157)],_0x1b20ca['MXZye']),await _0x1b20ca[_0x110932(0x1df)](withTelemetry,_0x1b20ca['UwsuK'],()=>featureList({'currentBranch':_0x1ed227[_0x110932(0xb7)],'limit':_0x1ed227[_0x110932(0xfb)],'offset':_0x1ed227[_0x110932(0x169)],'includeDeleted':_0x1ed227[_0x110932(0xb8)]}));})[_0x47eb29(0xda)]('show\x20[id]',![],_0x39a731=>{return _0x39a731['positional']('id',{'type':'string','description':_0x1b20ca['xufYD']});},async _0x282779=>{const _0x33b3d0=_0x47eb29;_0x1b20ca['fVlrI'](warnRenamed,'ranger\x20feature\x20show',_0x33b3d0(0x19a)),await _0x1b20ca['WJSCZ'](withTelemetry,_0x1b20ca[_0x33b3d0(0x10e)],()=>featureShow(_0x282779['id']));})['command'](_0x47eb29(0x12b),![],_0x5806bb=>{const _0x21965b=_0x47eb29;return _0x5806bb[_0x21965b(0x186)]('id',{'type':'string','description':_0xdc3589['alrRC']});},async _0x1893a1=>{const _0x3abd9a=_0x47eb29;warnRenamed('ranger\x20feature\x20resume',_0x3abd9a(0x18f)),await _0x1b20ca['GQqwZ'](withTelemetry,'feature\x20resume',()=>featureResume(_0x1893a1['id']));})[_0x47eb29(0xda)](_0x1b20ca['pOMXz'],![],_0x3e84d3=>{const _0x2113f8=_0x47eb29;return _0x3e84d3[_0x2113f8(0x186)](_0x1b20ca[_0x2113f8(0x220)],{'type':_0x1b20ca[_0x2113f8(0x204)],'description':_0x2113f8(0x13e),'demandOption':!![]})['option']('id',{'type':'string','description':_0x1b20ca['wioxG']});},async _0x1c3409=>{const _0x332c59=_0x47eb29;_0x1b20ca[_0x332c59(0x221)](warnRenamed,_0x1b20ca['pgTCp'],_0x1b20ca['BRvqZ']),await _0x1b20ca[_0x332c59(0x229)](withTelemetry,_0x1b20ca[_0x332c59(0x178)],()=>featureAddScenario(_0x1c3409['description'],_0x1c3409['id']));})['command'](_0x47eb29(0x203),![],_0x273e56=>{return _0x273e56['positional']('id',{'type':_0x1b20ca['NGHVG'],'description':_0x1b20ca['wioxG']});},async _0x165b55=>{const _0x3ac8d6=_0x47eb29;warnRenamed(_0xdc3589[_0x3ac8d6(0x1f3)],'ranger\x20get-review'),await withTelemetry(_0x3ac8d6(0x145),()=>featureGetReview(_0x165b55['id']));})['command']('delete\x20[id]',![],_0x5cbc09=>{const _0x5163b3=_0x47eb29;return _0x5cbc09[_0x5163b3(0x186)]('id',{'type':_0xdc3589['awgMQ'],'description':'Feature\x20review\x20ID'});},async _0x503769=>{const _0x1b8dd2=_0x47eb29;_0xdc3589['jGVLi'](warnRenamed,_0xdc3589[_0x1b8dd2(0xa7)],'ranger\x20delete'),await withTelemetry(_0x1b8dd2(0x219),()=>featureDelete(_0x503769['id']));})[_0x47eb29(0xda)](_0x1b20ca['HPuQR'],![],_0x42f8f0=>{const _0x35a6aa=_0x47eb29;return _0x42f8f0['positional']('id',{'type':_0x1b20ca[_0x35a6aa(0x204)],'description':_0x35a6aa(0x170),'demandOption':!![]});},async _0x8817b2=>{const _0x1df2ff=_0x47eb29;_0x1b20ca[_0x1df2ff(0x104)](warnRenamed,'ranger\x20feature\x20restore','ranger\x20restore'),await withTelemetry(_0x1b20ca[_0x1df2ff(0x99)],()=>featureRestore(_0x8817b2['id']));})['demandCommand'](0x1,_0x1b20ca['UmSoH']);})['command'](_0x1b20ca[_0x25a813(0x207)],![],_0x26d984=>{const _0x3c0ae7=_0x25a813,_0x59315e={'BHMtw':_0x1b20ca['cbEIk'],'KPHLO':_0x1b20ca['NGHVG'],'ibFPH':_0x1b20ca['EdROQ'],'vZqHk':function(_0x21b18e,_0x8f89d3,_0xf66a2e){return _0x21b18e(_0x8f89d3,_0xf66a2e);},'HEzLg':'hook:enable'};return _0x26d984['command'](_0x3c0ae7(0x1b1),_0x1b20ca[_0x3c0ae7(0x8d)],_0x2e03d2=>{const _0x500e41=_0x3c0ae7;return _0x2e03d2[_0x500e41(0xc6)](_0x59315e['BHMtw'],{'type':_0x59315e[_0x500e41(0x19c)],'description':_0x59315e[_0x500e41(0x14c)]});},async _0x23a7f0=>{const _0x3ec7d4=_0x3c0ae7;await _0x59315e['vZqHk'](withTelemetry,_0x59315e['HEzLg'],()=>hook(_0x3ec7d4(0x1b1),_0x23a7f0[_0x3ec7d4(0x20f)]));})['command'](_0x1b20ca['kmUsi'],'Disable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x1510f5=>{const _0x2433b8=_0x3c0ae7;return _0x1510f5['option'](_0x59315e[_0x2433b8(0x18a)],{'type':_0x59315e[_0x2433b8(0x19c)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x19c3c8=>{const _0x231e59=_0x3c0ae7;await _0x1b20ca[_0x231e59(0x1f7)](withTelemetry,_0x231e59(0x8c),()=>hook('disable',_0x19c3c8['session-id']));})[_0x3c0ae7(0xc6)](_0x3c0ae7(0xac),{'type':_0x1b20ca[_0x3c0ae7(0x204)],'description':_0x1b20ca['rsbgz']})[_0x3c0ae7(0xc6)](_0x1b20ca[_0x3c0ae7(0x15a)],{'type':_0x3c0ae7(0x16e),'description':_0x1b20ca[_0x3c0ae7(0x181)]});},async _0x486c8b=>{const _0x38023c=_0x25a813;_0x486c8b['name']&&await hook(_0x486c8b[_0x38023c(0xac)],_0x486c8b[_0x1b20ca[_0x38023c(0x15a)]]);})['demandCommand'](0x1,_0x1b20ca['dAwmb'])['strictCommands']()[_0x25a813(0x22a)](async(_0x3a279e,_0x1d6f12,_0x29a3e0)=>{const _0x48c5b9=_0x25a813,_0x5311d7=_0x1b20ca['MfltD'](sanitizeArgs,process['argv'][_0x48c5b9(0x213)](0x2)),_0x1e7662=getErrorType(_0x3a279e,_0x1d6f12);if(_0x3a279e&&_0x3a279e[_0x48c5b9(0x15d)]('Unknown\x20command')){const _0x15c620=process['argv'][0x2];console[_0x48c5b9(0x210)](_0x48c5b9(0x1c4)+_0x15c620),console[_0x48c5b9(0x210)](_0x1b20ca['kaSVJ']);}else{if(_0x3a279e)console['error']('\x0a'+_0x3a279e+'\x0a');else _0x1d6f12&&console[_0x48c5b9(0x210)]('\x0aError:\x20'+_0x1d6f12[_0x48c5b9(0x113)]+'\x0a');}await _0x1b20ca[_0x48c5b9(0x9f)](logDesirePath,{'rawCommand':_0x5311d7,'errorMessage':_0x3a279e||_0x1d6f12?.[_0x48c5b9(0x113)],'errorType':_0x1e7662});const _0x573ba0=getCurrentCollector();_0x573ba0&&await _0x573ba0['trackCommandError'](_0x1d6f12||new Error(_0x1b20ca[_0x48c5b9(0xa3)](_0x3a279e,_0x1b20ca[_0x48c5b9(0x1ae)]))),process[_0x48c5b9(0x13d)](0x1);})['epilogue'](_0x1b20ca['FHcIT']('Documentation:\x0a',_0x1b20ca[_0x25a813(0xc1)])+_0x25a813(0x12a))[_0x25a813(0x1ef)]()[_0x25a813(0xa6)]('help','h');}process['env']['NODE_ENV']!=='test'&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()['parse']());
2
+ const _0x4d7e20=_0x2583;(function(_0x26dda3,_0x54c940){const _0x3a4bec=_0x2583,_0x1f1e9a=_0x26dda3();while(!![]){try{const _0x2c1295=parseInt(_0x3a4bec(0x2e6))/0x1+parseInt(_0x3a4bec(0x1f9))/0x2*(parseInt(_0x3a4bec(0x22f))/0x3)+parseInt(_0x3a4bec(0x21d))/0x4*(-parseInt(_0x3a4bec(0x283))/0x5)+-parseInt(_0x3a4bec(0x2ea))/0x6+-parseInt(_0x3a4bec(0x20c))/0x7*(parseInt(_0x3a4bec(0x1ad))/0x8)+parseInt(_0x3a4bec(0x332))/0x9+-parseInt(_0x3a4bec(0x207))/0xa;if(_0x2c1295===_0x54c940)break;else _0x1f1e9a['push'](_0x1f1e9a['shift']());}catch(_0x3872c3){_0x1f1e9a['push'](_0x1f1e9a['shift']());}}}(_0x1e1e,0xce066));import _0x47db68 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x9c5baf=_0x2583,_0x35b571={'MKQNY':function(_0xaa2b9c,_0x4afc3e){return _0xaa2b9c(_0x4afc3e);},'tzOpE':function(_0x51a8ab,_0x4f6121){return _0x51a8ab(_0x4f6121);},'PLILo':function(_0x2a68fb,_0x34d884,_0x403ab6){return _0x2a68fb(_0x34d884,_0x403ab6);},'HbTZv':_0x9c5baf(0x250),'mKmIl':function(_0x137fa0,_0x222590){return _0x137fa0(_0x222590);}};let _0x104562=process['cwd']();const _0x5e970c=_0x35b571[_0x9c5baf(0x1dd)](parse,_0x104562)[_0x9c5baf(0x341)];while(_0x104562!==_0x5e970c){if(_0x35b571['tzOpE'](existsSync,_0x35b571[_0x9c5baf(0x306)](join,_0x104562,_0x35b571[_0x9c5baf(0x1c8)]))||_0x35b571[_0x9c5baf(0x1af)](existsSync,_0x35b571[_0x9c5baf(0x306)](join,_0x104562,'.env')))return _0x104562;_0x104562=_0x35b571[_0x9c5baf(0x351)](dirname,_0x104562);}return process['cwd']();}_0x47db68[_0x4d7e20(0x2d3)]({'path':join(findProjectRoot(),'.env')});import _0x41dd7b from'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{parseActors}from'./commands/utils/actors.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';process['on']('unhandledRejection',async _0x56fe50=>{const _0x3c8a45=_0x4d7e20,_0x584446=getCurrentCollector();_0x584446&&await _0x584446[_0x3c8a45(0x2b3)](_0x56fe50),process[_0x3c8a45(0x1c4)]=0x1;});function _0x2583(_0x391a99,_0x45aeba){_0x391a99=_0x391a99-0x19c;const _0x1e1ec8=_0x1e1e();let _0x258305=_0x1e1ec8[_0x391a99];return _0x258305;}const rawArgs=process['argv'][_0x4d7e20(0x22c)](0x2),TOP_LEVEL_HELP=_0x4d7e20(0x2ab),PROFILE_HELP=_0x4d7e20(0x227),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(_0x57b4a5,_0x21f80c){const _0x1de731=_0x4d7e20;console['error']('\x0a'+_0x57b4a5+_0x1de731(0x2cc)+_0x21f80c+'\x0a');}function argUsed(_0x40494e){const _0x1c4cbc=_0x4d7e20;return rawArgs[_0x1c4cbc(0x302)](_0x5838cf=>_0x5838cf===_0x40494e||_0x5838cf['startsWith'](_0x40494e+'='));}function _0x1e1e(){const _0x57e967=['\x27.\x20Session\x20saved.','sHLIc','notes','item','77jAAXuA','ahKEa','TBBbn','IMTSQ','Feature\x20review\x20ID\x20to\x20restore','qFcHL','usage','yJQtT','list','mQSov','LsbuI','config\x20get','ranger\x20profile\x20add','yAMzB','qijYu','YVrkr','TTZgR','52gUKGwh','Switch\x20to\x20using\x20a\x20specific\x20profile','GUCcl','debug-address-comments','FTQuX','SOGnH','Multi-actor\x20runs\x20need\x20pre-created\x20profiles\x20—\x20unset\x20RANGER_TEST_USERNAME\x20(no\x20ad-hoc\x20materialization).\x20Create\x20each\x20profile\x20with\x20`ranger\x20profile\x20add\x20<name>`,\x20then\x20pass\x20--actor\x20<label>=<name>.','nqvbs','nqmId','OcXcC','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','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','hebUW','xrjng','verified','slice','config\x20list','profile\x20config\x20get','3CUeCtZ','ranger\x20config\x20set','tEGna','eYVeo','feature\x20add-checklist-item','ranger\x20profile\x20encrypt-auth','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','List\x20all\x20profiles','xZoXP','jcuth','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','ltSXq','xwMYI','blocked','gGwFe','key','profile-name','skills','opencode','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','success','profile\x20add','isArray','DONhT','--item','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','fwluS','string','task','GwCPs','ranger\x20profile\x20config\x20unset','ranger\x20setup\x20profiles\x20--scope=','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','.ranger','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','XfbAu','login\x20<name>','qZoSi','Actor\x20as\x20<label>=<profile>\x20—\x20bind\x20a\x20role\x20you\x20reference\x20in\x20the\x20scenario\x20(\x22As\x20buyer1,\x20…\x22)\x20to\x20a\x20Ranger\x20profile.\x20Repeatable.\x20Two\x20actors\x20run\x20as\x20two\x20live\x20browser\x20sessions\x20(both\x20profiles\x20must\x20exist;\x20no\x20ad-hoc).\x20Example:\x20--actor\x20buyer1=alice\x20--actor\x20buyer2=bob','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','setup\x20[tokenOrSubcommand]','Install\x20scope\x20for\x20skills','hPXis','sUVzb','ioUAy','WZECN','PaUta','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','env','ranger','Auth\x20environment\x20key\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Used\x20with\x20RANGER_TEST_USERNAME\x20for\x20ad-hoc\x20runs,\x20and\x20with\x20--profile\x20to\x20override\x20that\x20profile\x27s\x20pinned\x20env\x20for\x20this\x20run.\x20Required\x20to\x20run\x20an\x20automated\x20login\x20against\x20a\x20bare-localhost\x20target\x20(localhost\x20/\x20127.0.0.1).\x20Also\x20respects\x20RANGER_AUTH_ENV.','qDgSx','zHpKr','cdp-endpoint','ranger\x20profile\x20config\x20set','ARwlL','Authenticate\x20with\x20Ranger','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','\x20BLOCKED','ctwRA','CDVvA','\x20VERIFIED','project','test','allow-url-mismatch','actor','\x20is\x20no\x20longer\x20supported.\x20','debug-outcome','ranger\x20use','vpJEo','array','hEyBn','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','CQVCF','uIENU','start','Print\x20the\x20current\x20CLI\x20access\x20token','Install\x20Ranger\x20skills','OdtVS','delete\x20[id]','EhDLB','RKpev','include-deleted','Zobah','359435RrkOnE','use','vGcfC','unset\x20<env>\x20<key>','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','config\x20unset','hook:enable','Feature\x20review\x20name','edit-scenario\x20<description>','lJDIZ','kblyY','vFjaw','ranger\x20auth\x20encrypt','hVXlv','Profile\x20name','mcp-bootstrap','feature\x20restore','BwXwf','use\x20<profile-name>','report','wZGKW','message','LoEVE','headed','setup:login','yZCJv','length','force','Initialize\x20Ranger\x20in\x20your\x20project','Environment\x20name','GBDRd','allow-insecure-localhost','irSYo','pZWxb','includes','IjbeJ','MlHUf','profile\x20delete','claude','rRZkP','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.','update','exit','Ynfjh','repeat','env-var','YpUxe','XkTIl','trackCommandError','deps','qPwON','AOEHT','dQLXp','command','ranger\x20config\x20list','xOVmH','vjrmM','Wxfej','--scenario','profiles','mtxvF','GSaNR','rexcz','Install\x20Chromium\x20browser\x20binary','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','profile\x20migrate','WWKHl','.\x20[','feature','Documentation:\x0a','yNVxQ','ranger\x20feature\x20delete','incomplete','\x20is\x20now\x20','Skip\x20interactive\x20confirmation\x20prompts.','show\x20[id]','profile\x20config\x20unset','setup:skills','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','pRHnp','config','status','delete\x20<profile-name>','skip-auth','setup:profiles','Get\x20a\x20config\x20value','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','profile\x20use','mvvwh','WnOKQ','rangerwright-cli','jxAxx','safe-mode','cXBWt','ITJsS','YSIAT','WZwMf','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','UjmvD','908098upOveV','scope','current-branch','OQZmo','2372202QkAEiy','You\x20must\x20specify\x20a\x20config\x20subcommand','check','uxPvO','iQUwR','DXEKT','error','Include\x20soft-deleted\x20feature\x20reviews','session-id','peYZa','UacZU','wozaF','RANGER_TEST_USERNAME','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','Feature\x20review\x20ID','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','nRqhW','WmgBY','LtThO','SBBnm','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','lPpfd','ppqRm','qICYk','some','RUbaD','Authenticate\x20via\x20MCP\x20proxy','encrypt\x20<profile>','PLILo','BTsOH','bBZmV','NhRin','test_output','ranger\x20feature\x20get-feedback','FAvLT','print-access-token','eincf','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','eiAAM','model','show','gsGFH','VUuYy','KJZzW','EEXgy','login','ranger\x20feature\x20create','yRavf','OdVxU','qBwhP','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','SIvgn','ahNJQ','JVcDQ','tPGrK','vFHEY','LXgka','encrypt-auth\x20<profile>','GXunB','get-feedback\x20[id]','TWWip','WGFCx','map','disable','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','vPwvl','RANGER_TEST_PASSWORD','xyHBb','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','LQPfV','feature\x20delete','tjPsL','14512356tXndPU','eLujY','resume','paDzI','ZXifz','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','kdTLV','xcSWg','wqnsm','ranger\x20feature\x20add-checklist-item','ranger\x20setup','help','--checklist','Install\x20scope\x20for\x20plugin\x20and\x20skills','ranger\x20profile\x20use','root','exclude-scenario','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','ranger\x20delete','ccPPu','DcZMj','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','IEkNF','XMdNi','Manage\x20profiles','ranger\x20show','profile\x20config\x20reset','skillup','ycdhl','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','evaluation','mKmIl','QetDe','qqGpI','mcp','emCXp','environment-variable','KICVE','demandCommand','severity','GJhyy','url','Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','VaNkt','issues','value','token','colwO','ZglVP','Scenario\x20description','Scenario\x20index\x20(1-based)','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','trim','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','split','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','Install\x20OS-level\x20dependencies\x20for\x20Chromium','Start\x20a\x20fresh\x20one-scenario\x20feature\x20review\x20from\x20this\x20text\x20and\x20verify\x20it.\x20To\x20re-verify,\x20use\x20--scenario;\x20to\x20extend\x20the\x20active\x20review,\x20use\x20`ranger\x20add-scenario`.','YSnQn','dKSOJ','yEJYd','Bylvv','MfrUt','enable','DUCMT','ranger\x20profile\x20config\x20get','List\x20all\x20config\x20for\x20a\x20profile','csIsk','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','Multi-actor\x20runs\x20currently\x20support\x20up\x20to\x202\x20actors.\x20(--actor\x20is\x20repeatable;\x20v1\x20caps\x20at\x202.)','Fcnap','ivygx','xmPid','clean','ACoOf','ranger\x20add\x20env','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','skip-chromium','PFZrA','HXgZt','Number\x20of\x20feature\x20reviews\x20to\x20skip','argv','awRhw','tgIem','user','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','positional','failed','llKHf','partial','JTgjX','hvPrI','ranger\x20add-scenario','ranger\x20feature\x20show','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','436504qGQekq','frVgt','tzOpE','limit','offset','--notes','You\x20must\x20specify\x20a\x20profile\x20subcommand','ranger\x20get-review','zbuDR','You\x20must\x20specify\x20an\x20env\x20subcommand','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','scenario','name','NnOPD','Restore\x20a\x20soft-deleted\x20feature\x20review','FQLPp','ranger\x20env\x20ls','AKMrQ','profile','LdkKW','Skip\x20the\x20deletion\x20confirmation\x20prompt.','ranger\x20config\x20unset','RLjKa','exitCode','Yvato','dOihj','FNzWF','HbTZv','moqQF','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','use\x20<env-name>','huQfd','verify-feature','coYlD','JUxxQ','Auth\x20environment\x20key\x20to\x20bind\x20this\x20profile\x20to\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Bypasses\x20URL-based\x20matching;\x20required\x20for\x20bare-localhost\x20custom\x20ports.','dry-run','rGlap','sIqpZ','reset\x20<profile>','sjhaY','boolean','XARcm','SHIsz','uXLqA','MvvOK','Config\x20value','checklist','MKQNY','description','summary','QFPBJ','ranger\x20create','ranger\x20go','option','jPfrG','OOXAs','Skip\x20authentication','aLvZj','NMYiS','config\x20set','MiMRS','cxMjB','number','HSVXX','log','setup-header','feature\x20list','\x20INCOMPLETE','ranger\x20feature\x20restore','playwright-cli','IVuVL','ranger\x20verify-feature','awubJ','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','yes','1669222urWokA','fail','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','txtoM','Skip\x20Chromium\x20browser\x20installation','mMkHt','delete','ePWZD','zRFrd','KRzis','IllIi','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','IMDCn','MUyqv','5812240maDPaN'];_0x1e1e=function(){return _0x57e967;};return _0x1e1e();}function warnFlagRenamed(_0x6f68ca,_0x1ec055,_0x6034b4){const _0x551eb1={'qEXEV':function(_0x53cfd4,_0x40fea3,_0xd1bd3a){return _0x53cfd4(_0x40fea3,_0xd1bd3a);}};argUsed(_0x1ec055)&&_0x551eb1['qEXEV'](warnRenamed,_0x6f68ca+'\x20'+_0x1ec055,_0x6f68ca+'\x20'+_0x6034b4);}function normalizeEnvVarNames(_0x2ddefd){const _0xceedb=_0x4d7e20,_0x5e6923=Array[_0xceedb(0x245)](_0x2ddefd)?_0x2ddefd:_0x2ddefd?[_0x2ddefd]:[];return _0x5e6923['flatMap'](_0x3000fa=>String(_0x3000fa)[_0xceedb(0x368)](',')[_0xceedb(0x328)](_0x5b1a0f=>_0x5b1a0f[_0xceedb(0x366)]())['filter'](Boolean));}async function runGoCommand(_0x13b67a,_0x2f1978=![]){const _0x1cdf3d=_0x4d7e20,_0x30e1de={'XfbAu':function(_0x4ad802,_0x5f2b50,_0x4a032d){return _0x4ad802(_0x5f2b50,_0x4a032d);},'cqxzp':'--profile','GJhyy':function(_0x2754d8,_0xa2a284,_0x569bf9,_0x47c70e){return _0x2754d8(_0xa2a284,_0x569bf9,_0x47c70e);},'csIsk':_0x1cdf3d(0x2bd),'KICVE':function(_0xcde94a,_0x43ae23){return _0xcde94a(_0x43ae23);},'LoEVE':function(_0x37c8a5){return _0x37c8a5();},'IllIi':'playwright-cli','xEjMZ':'Multi-actor\x20run\x20→\x20using\x20RANGER_TRANSPORT=playwright-cli\x20(required\x20for\x20per-actor\x20session\x20isolation).','ahKEa':function(_0x2f1da1,_0x4d48a5){return _0x2f1da1!==_0x4d48a5;},'yLqKd':_0x1cdf3d(0x2dd),'FQLPp':'base-url','PsZSI':_0x1cdf3d(0x26f),'LtThO':function(_0x3d99bb,_0x13ff4c){return _0x3d99bb+_0x13ff4c;},'FAvLT':function(_0x2de02f,_0xccc713){return _0x2de02f===_0xccc713;},'ccPPu':_0x1cdf3d(0x22b),'LjChg':_0x1cdf3d(0x26c),'gUvoW':_0x1cdf3d(0x2cb),'OdtVS':_0x1cdf3d(0x1f1),'cWZsl':_0x1cdf3d(0x23c),'zsSJt':_0x1cdf3d(0x269),'uhOQw':'\x20FAILED','OKzrR':'\x0aIssues:','fwluS':function(_0xcac031,_0x133e68){return _0xcac031===_0x133e68;}};_0x2f1978&&(_0x30e1de[_0x1cdf3d(0x252)](warnRenamed,_0x1cdf3d(0x1f5),'ranger\x20go'),warnFlagRenamed(_0x1cdf3d(0x1f5),'--env',_0x30e1de['cqxzp']));_0x30e1de[_0x1cdf3d(0x35a)](warnFlagRenamed,_0x1cdf3d(0x1e2),'--task',_0x1cdf3d(0x1b2)),warnFlagRenamed(_0x1cdf3d(0x1e2),_0x1cdf3d(0x247),_0x30e1de[_0x1cdf3d(0x375)]);const _0x1264af=await loadRangerConfig(),_0x15b314=isByokEnabled(),_0x633cb8=_0x13b67a['model'],_0x17af30=_0x1264af['model'],_0x3085f3=_0x30e1de[_0x1cdf3d(0x357)](normalizeEnvVarNames,_0x13b67a['env-var']),_0x3ae2a0=_0x30e1de[_0x1cdf3d(0x299)](getVerificationTransport),_0x16d834=parseActors(_0x13b67a['actor']);if(_0x16d834[_0x1cdf3d(0x29d)]>0x2)throw new Error(_0x1cdf3d(0x377));if(_0x16d834['length']>=0x2){if(process[_0x1cdf3d(0x25f)][_0x1cdf3d(0x2f6)])throw new Error(_0x1cdf3d(0x223));_0x3ae2a0!==_0x30e1de[_0x1cdf3d(0x203)]&&(console[_0x1cdf3d(0x1ee)](_0x30e1de['xEjMZ']),process['env']['RANGER_TRANSPORT']=_0x1cdf3d(0x1f3));}if(_0x3085f3[_0x1cdf3d(0x29d)]>0x0&&_0x30e1de[_0x1cdf3d(0x20d)](_0x3ae2a0,_0x1cdf3d(0x1f3))&&_0x3ae2a0!==_0x30e1de['yLqKd'])throw new Error(_0x1cdf3d(0x34f)+_0x3ae2a0+'.');const _0x259fbb=await _0x30e1de['KICVE'](verifyFeature,{'featureId':_0x13b67a['feature'],'profile':_0x13b67a[_0x1cdf3d(0x1bf)]??(_0x2f1978?_0x13b67a['env']:undefined)??process[_0x1cdf3d(0x25f)]['RANGER_PROFILE'],'authEnv':_0x2f1978?undefined:_0x13b67a[_0x1cdf3d(0x25f)]??process['env']['RANGER_AUTH_ENV'],'notes':_0x13b67a[_0x1cdf3d(0x20a)]??_0x13b67a['task'],'check':_0x13b67a[_0x1cdf3d(0x2ec)],'scenario':_0x13b67a[_0x1cdf3d(0x1b8)]??_0x13b67a['item'],'startPath':_0x13b67a['start-path'],'baseUrl':_0x13b67a[_0x30e1de[_0x1cdf3d(0x1bc)]],'debugOutcome':_0x13b67a[_0x1cdf3d(0x272)],'debugAddressComments':_0x13b67a[_0x1cdf3d(0x220)],'headed':_0x13b67a['headed'],'verifierEnvVars':_0x3085f3,'allowUrlMismatch':_0x13b67a[_0x30e1de['PsZSI']],'byokEnabled':_0x15b314,'flagVerifyModel':_0x633cb8,'configVerifyModel':_0x17af30,'actors':_0x16d834['length']?_0x16d834:undefined});console['log'](_0x30e1de[_0x1cdf3d(0x2fc)]('\x0a','='[_0x1cdf3d(0x2af)](0x3c))),console[_0x1cdf3d(0x1ee)](_0x30e1de[_0x1cdf3d(0x30c)](_0x259fbb[_0x1cdf3d(0x350)],_0x30e1de['ccPPu'])?_0x30e1de['LjChg']:_0x259fbb[_0x1cdf3d(0x350)]===_0x30e1de['gUvoW']?_0x30e1de[_0x1cdf3d(0x27d)]:_0x259fbb['evaluation']===_0x1cdf3d(0x1a7)?'\x20PARTIAL':_0x259fbb[_0x1cdf3d(0x350)]===_0x30e1de['cWZsl']?_0x30e1de['zsSJt']:_0x30e1de['uhOQw']),console['log']('='['repeat'](0x3c)),console[_0x1cdf3d(0x1ee)]('Summary:\x20'+_0x259fbb[_0x1cdf3d(0x1df)]),console[_0x1cdf3d(0x1ee)]('Evaluation:\x20'+_0x259fbb[_0x1cdf3d(0x350)]),console[_0x1cdf3d(0x1ee)]('Reason:\x20'+_0x259fbb['evaluationReason']),_0x259fbb[_0x1cdf3d(0x35e)]?.[_0x1cdf3d(0x29d)]&&(console[_0x1cdf3d(0x1ee)](_0x30e1de['OKzrR']),_0x259fbb[_0x1cdf3d(0x35e)]['forEach']((_0x52243c,_0x4b7f0d)=>{const _0x179450=_0x1cdf3d;console['log']('\x0a'+(_0x4b7f0d+0x1)+_0x179450(0x2c6)+_0x52243c[_0x179450(0x359)]+']\x20'+_0x52243c['description']);})),process[_0x1cdf3d(0x2ad)](_0x30e1de[_0x1cdf3d(0x249)](_0x259fbb['evaluation'],_0x30e1de[_0x1cdf3d(0x345)])?0x0:0x1);}export function buildParser(_0x4ea043){const _0x4ab401=_0x4d7e20,_0x20c221={'coYlD':'name','DONhT':_0x4ab401(0x28a),'lPpfd':_0x4ab401(0x1de),'huQfd':_0x4ab401(0x24a),'GXunB':'Feature\x20review\x20description','YZiNo':'Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','NhRin':'Example:\x20ranger\x20create\x20my-feature','MfrUt':function(_0x9c5e5f,_0x4610c6,_0x1131fc,_0x19da2b){return _0x9c5e5f(_0x4610c6,_0x1131fc,_0x19da2b);},'lsYEn':'ranger\x20create','rexcz':_0x4ab401(0x33e),'aCmBN':'create','KRzis':'current-branch','EhDLB':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','paDzI':'offset','JTgjX':_0x4ab401(0x19e),'WoLPG':_0x4ab401(0x281),'HqFol':'Include\x20soft-deleted\x20feature\x20reviews','YpUxe':function(_0x473771,_0x1652ac,_0x52c10c){return _0x473771(_0x1652ac,_0x52c10c);},'zRFrd':'Feature\x20review\x20ID','IEkNF':function(_0x2481a3,_0x26dd16,_0x331b33){return _0x2481a3(_0x26dd16,_0x331b33);},'sEkgj':_0x4ab401(0x334),'PFZrA':_0x4ab401(0x376),'YdLjv':function(_0x11642f,_0x323ee8,_0x20cba8){return _0x11642f(_0x323ee8,_0x20cba8);},'HXgZt':'New\x20scenario\x20description','eLujY':'scenario','AOEHT':'number','gsGFH':function(_0x12e725,_0x547e17,_0x4b9fbc){return _0x12e725(_0x547e17,_0x4b9fbc);},'ZXifz':'json','nnABq':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','zbuDR':_0x4ab401(0x342),'jPnvc':'get-review','jxAxx':function(_0x5f353b,_0x12241c,_0x2448e6){return _0x5f353b(_0x12241c,_0x2448e6);},'QFPBJ':'Ranger\x20API\x20token','wozaF':_0x4ab401(0x1d6),'qPwON':'skip-auth','JdyzE':'Skip\x20authentication','CQVCF':'with-deps','qZoSi':'user','XkTIl':_0x4ab401(0x31c),'tgIem':'opencode','qDgSx':_0x4ab401(0x2d1),'CnQvn':_0x4ab401(0x369),'frVgt':'Alias\x20for\x20--mcp-bootstrap','XMdNi':'mcp-bootstrap','jcuth':'setup:all','apaLF':function(_0x40cfc2,_0x34ee95,_0x421ff4){return _0x40cfc2(_0x34ee95,_0x421ff4);},'sHLIc':_0x4ab401(0x2d0),'BStJO':'url','bHAzT':'setup:deps','WWKHl':function(_0x320183){return _0x320183();},'Dmkcx':_0x4ab401(0x29b),'dKSOJ':'tokenOrSubcommand','colwO':'all','PHgli':_0x4ab401(0x2b4),'RXDxJ':_0x4ab401(0x2c2),'OOXAs':_0x4ab401(0x317),'DXEKT':_0x4ab401(0x267),'yJQtT':'Set\x20up\x20a\x20local\x20browser\x20profile','WnOKQ':'skip-chromium','TTZgR':_0x4ab401(0x1ca),'kblyY':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','VaNkt':'allow-insecure-localhost','hebUW':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','bgiqx':_0x4ab401(0x30f),'QwiRT':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','dOpJU':'token','qnWVj':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','NzlXE':_0x4ab401(0x1fd),'VvnSh':function(_0x41f12b,_0x3f55ad,_0x5a2a8a){return _0x41f12b(_0x3f55ad,_0x5a2a8a);},'CqAXV':function(_0x26930d,_0x4a7c84,_0x269929){return _0x26930d(_0x4a7c84,_0x269929);},'xyHBb':'Install\x20skills\x20for\x20OpenCode','ctwRA':'scope','GUCcl':'project','UjmvD':function(_0x27ac50,_0x502fe4){return _0x27ac50(_0x502fe4);},'hjuAk':_0x4ab401(0x34d),'qrjEi':'Name\x20of\x20the\x20profile','JVcDQ':_0x4ab401(0x1bf),'ZpXWR':'Profile\x20name','RLjKa':function(_0x2a6eeb,_0x4f6271,_0xcc77e4){return _0x2a6eeb(_0x4f6271,_0xcc77e4);},'OUtRW':_0x4ab401(0x2c4),'ktYrA':_0x4ab401(0x23f),'OcXcC':_0x4ab401(0x2df),'vpJEo':'env','viPpd':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','WZECN':_0x4ab401(0x244),'ZTsRy':'cdp-endpoint','xwMYI':_0x4ab401(0x35c),'LsbuI':'yes','dOihj':function(_0x29de03,_0x294c64,_0x5068db){return _0x29de03(_0x294c64,_0x5068db);},'Yvato':'manual','Ynfjh':'Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','HaWJa':function(_0x3eeb9e,_0x292056){return _0x3eeb9e===_0x292056;},'sjhaY':_0x4ab401(0x1a5),'RKpev':_0x4ab401(0x2cd),'WFbMx':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','yNVxQ':'Config\x20key','ubExu':_0x4ab401(0x2cf),'sUVzb':_0x4ab401(0x22e),'vHqPW':_0x4ab401(0x1d4),'eyoGN':_0x4ab401(0x251),'cvdLC':_0x4ab401(0x1f7),'HRKvU':'Add\x20profile\x20configuration','ZDDOq':_0x4ab401(0x295),'icppl':_0x4ab401(0x2d5),'EKPjr':'update\x20<profile-name>','bCpQi':'Update\x20authentication\x20for\x20an\x20existing\x20profile','MlHUf':_0x4ab401(0x2d3),'dQLXp':'Manage\x20profile\x20configuration','peYZa':function(_0x297d46,_0x46841b,_0x54dbcd){return _0x297d46(_0x46841b,_0x54dbcd);},'tPGrK':_0x4ab401(0x2d4),'LgFCM':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','EXFrs':'feature','bqOgp':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','sWRhp':_0x4ab401(0x255),'FTQuX':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','vFjaw':_0x4ab401(0x2ec),'CDVvA':_0x4ab401(0x36b),'AszNu':'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.','nqmId':_0x4ab401(0x29a),'LVAVE':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','yRavf':_0x4ab401(0x26f),'xOVmH':'debug-outcome','mQSov':_0x4ab401(0x22b),'xmPid':_0x4ab401(0x1a7),'GwCPs':'incomplete','KBYix':_0x4ab401(0x261),'uxPvO':_0x4ab401(0x28f),'LhLTf':_0x4ab401(0x234),'ARwlL':_0x4ab401(0x305),'qICYk':'You\x20must\x20specify\x20an\x20auth\x20subcommand','cOYYJ':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','LdkKW':_0x4ab401(0x239),'EYOrw':_0x4ab401(0x29e),'ycdhl':_0x4ab401(0x24b),'mvvwh':'item','nRqhW':'notes','hvPrI':_0x4ab401(0x337),'SOGnH':_0x4ab401(0x2e4),'GSaNR':_0x4ab401(0x356),'YSIAT':function(_0x2498f9,_0x58c5c3,_0x178dbc){return _0x2498f9(_0x58c5c3,_0x178dbc);},'xZoXP':'env-name','FAtlm':_0x4ab401(0x32e),'OdVxU':_0x4ab401(0x25e),'SsSrO':function(_0x41b663,_0x32f058,_0x3bda53){return _0x41b663(_0x32f058,_0x3bda53);},'JzwcH':'Name\x20of\x20the\x20environment','mMkHt':function(_0x5176c7,_0x25a49e,_0x510e77){return _0x5176c7(_0x25a49e,_0x510e77);},'iBwPN':_0x4ab401(0x273),'IHrOJ':_0x4ab401(0x284),'yAMzB':function(_0x1c6891,_0x50093f,_0x3aa6f6){return _0x1c6891(_0x50093f,_0x3aa6f6);},'dOOky':_0x4ab401(0x230),'IMTSQ':_0x4ab401(0x265),'WEmWi':_0x4ab401(0x1e9),'cMltJ':_0x4ab401(0x2b9),'wvDEy':function(_0x1c1ee0,_0x939e4,_0x4c1b92){return _0x1c1ee0(_0x939e4,_0x4c1b92);},'bdYek':'Environment\x20name','bBZmV':_0x4ab401(0x23e),'PBsMO':_0x4ab401(0x24d),'seBcq':function(_0xbc7716,_0x49781a,_0x2940de){return _0xbc7716(_0x49781a,_0x2940de);},'vPwvl':_0x4ab401(0x1ac),'Wxfej':_0x4ab401(0x35f),'SHIsz':'Config\x20value','WGFCx':function(_0x5873d6,_0x4d383c,_0xfb0f1f){return _0x5873d6(_0x4d383c,_0xfb0f1f);},'hVyHF':_0x4ab401(0x373),'qijYu':'set\x20<env>\x20<key>\x20<value>','SBBnm':'list\x20<env>','ankcM':'ranger\x20env\x20update','ahNJQ':'env\x20update','WXlrs':'ranger\x20profile\x20ls','moqQF':'Name\x20of\x20the\x20environment\x20to\x20update','HWCdC':_0x4ab401(0x1b6),'tVRwl':function(_0x1c9f7c,_0x156bb1,_0x29cb1e){return _0x1c9f7c(_0x156bb1,_0x29cb1e);},'lZpii':function(_0x21c179,_0x236b7e,_0x28e964){return _0x21c179(_0x236b7e,_0x28e964);},'kdTLV':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','vFHEY':'feature\x20resume','IVuVL':_0x4ab401(0x2ca),'hVXlv':function(_0xb58377,_0x3aec85,_0x1e5e16){return _0xb58377(_0x3aec85,_0x1e5e16);},'YSnQn':_0x4ab401(0x330),'rHLms':function(_0x8f2890,_0x54e8b9,_0x1b8fe4){return _0x8f2890(_0x54e8b9,_0x1b8fe4);},'wxRsH':_0x4ab401(0x1f2),'wqnsm':'ranger\x20restore','IBqpm':_0x4ab401(0x293),'gGwFe':function(_0x670629,_0x3f77fc,_0x46e3a3){return _0x670629(_0x3f77fc,_0x46e3a3);},'NnOPD':_0x4ab401(0x1aa),'zKodc':_0x4ab401(0x233),'pZWxb':'feature\x20get-feedback','EIwnF':_0x4ab401(0x2ce),'DXGeu':'resume\x20[id]','MiMRS':_0x4ab401(0x325),'khLsg':_0x4ab401(0x2f9),'RbgbH':_0x4ab401(0x371),'UZwuQ':_0x4ab401(0x329),'QetDe':_0x4ab401(0x235),'xaDkN':function(_0x27dfce,_0x3f8399,_0x1769ff){return _0x27dfce(_0x3f8399,_0x1769ff);},'MUyqv':'Unknown\x20command','tjPsL':function(_0x43fd5a,_0xec53b3){return _0x43fd5a(_0xec53b3);},'ZkxcD':function(_0x356286,_0x3f4408){return _0x356286||_0x3f4408;},'UsJur':'Unknown\x20error','ooGXv':function(_0x2509d9){return _0x2509d9();},'ykLci':'create\x20<name>','zFtIu':_0x4ab401(0x347),'YvoNW':'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','yEJYd':'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','llKHf':'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','ioUAy':'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','DcZMj':'delete\x20[id]','NVJYd':'restore\x20<id>','eYVeo':'clean','xrjng':'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','cXBWt':_0x4ab401(0x2be),'INzPk':_0x4ab401(0x2ac),'Iyukc':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','BwXwf':'print-access-token','EEXgy':_0x4ab401(0x27b),'AmFXs':_0x4ab401(0x32a),'awRhw':'auth','eincf':_0x4ab401(0x1cb),'wZGKW':'You\x20must\x20specify\x20a\x20command','hEyBn':function(_0x4df4c4,_0x1eccf2){return _0x4df4c4+_0x1eccf2;},'GkYtF':'\x20\x20https://docs.ranger.net\x0a','UacZU':_0x4ab401(0x33d)};return _0x20c221['UjmvD'](_0x41dd7b,_0x4ea043??process['argv']['slice'](0x2))['scriptName']('ranger')[_0x4ab401(0x212)](TOP_LEVEL_HELP)['version'](_0x20c221['ooGXv'](getCurrentVersion))[_0x4ab401(0x2b8)](_0x20c221['ykLci'],_0x20c221['zFtIu'],_0xea29c=>{const _0x331556=_0x4ab401;return _0xea29c['positional'](_0x20c221[_0x331556(0x1ce)],{'type':'string','description':_0x20c221['DONhT'],'demandOption':!![]})['option'](_0x20c221['lPpfd'],{'type':_0x20c221[_0x331556(0x1cc)],'alias':'d','description':_0x20c221[_0x331556(0x324)]})['option']('scenario',{'type':_0x331556(0x275),'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x331556(0x1e3)](_0x331556(0x1dc),{'type':_0x331556(0x275),'hidden':!![]});},async _0x42debf=>{const _0x7b4181=_0x4ab401;if(!_0x42debf[_0x7b4181(0x1b9)]){console['error'](_0x20c221['YZiNo']+_0x20c221[_0x7b4181(0x309)]),process[_0x7b4181(0x2ad)](0x1);return;}_0x20c221[_0x7b4181(0x370)](warnFlagRenamed,_0x20c221['lsYEn'],_0x20c221[_0x7b4181(0x2c1)],'--scenario');const _0x25b386=_0x42debf[_0x7b4181(0x1b8)]||_0x42debf['checklist'];await withTelemetry(_0x20c221['aCmBN'],()=>featureCreate(_0x42debf['name'],{'description':_0x42debf[_0x7b4181(0x1de)],'scenarios':_0x25b386}));})[_0x4ab401(0x2b8)]('list','List\x20all\x20feature\x20reviews',_0x27b888=>{const _0x529bbb=_0x4ab401;return _0x27b888[_0x529bbb(0x1e3)](_0x20c221[_0x529bbb(0x202)],{'type':'boolean','description':_0x529bbb(0x1b7)})['option']('limit',{'type':'number','alias':'l','description':_0x20c221[_0x529bbb(0x27f)],'default':0xa})[_0x529bbb(0x1e3)](_0x20c221[_0x529bbb(0x335)],{'type':'number','alias':'o','description':_0x20c221[_0x529bbb(0x1a8)],'default':0x0})[_0x529bbb(0x1e3)](_0x20c221['WoLPG'],{'type':'boolean','alias':'d','description':_0x20c221['HqFol'],'default':![]});},async _0x49c1c8=>{const _0xf53e67=_0x4ab401;await _0x20c221[_0xf53e67(0x2b1)](withTelemetry,_0xf53e67(0x214),()=>featureList({'currentBranch':_0x49c1c8['current-branch'],'limit':_0x49c1c8[_0xf53e67(0x1b0)],'offset':_0x49c1c8['offset'],'includeDeleted':_0x49c1c8[_0xf53e67(0x281)]}));})['command']('show\x20[id]',_0x20c221['YvoNW'],_0xf0d5c=>{const _0x24b5d2=_0x4ab401;return _0xf0d5c[_0x24b5d2(0x1a4)]('id',{'type':_0x24b5d2(0x24a),'description':_0x20c221['zRFrd']});},async _0x481af4=>{const _0x1433f4=_0x4ab401;await _0x20c221[_0x1433f4(0x348)](withTelemetry,_0x1433f4(0x312),()=>featureShow(_0x481af4['id']));})[_0x4ab401(0x2b8)]('resume\x20[id]',_0x4ab401(0x277),_0x5f3f7f=>{const _0x460aa8=_0x4ab401;return _0x5f3f7f[_0x460aa8(0x1a4)]('id',{'type':_0x20c221['huQfd'],'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x997446=>{await withTelemetry(_0x20c221['sEkgj'],()=>featureResume(_0x997446['id']));})[_0x4ab401(0x2b8)]('add-scenario\x20<description>',_0x20c221[_0x4ab401(0x36e)],_0x6317ea=>{const _0x2f33b6=_0x4ab401;return _0x6317ea[_0x2f33b6(0x1a4)](_0x20c221['lPpfd'],{'type':_0x20c221[_0x2f33b6(0x1cc)],'description':_0x2f33b6(0x363),'demandOption':!![]})['option']('id',{'type':_0x20c221[_0x2f33b6(0x1cc)],'description':_0x20c221[_0x2f33b6(0x19c)]});},async _0x325db8=>{await _0x20c221['YdLjv'](withTelemetry,'add-scenario',()=>featureAddScenario(_0x325db8['description'],_0x325db8['id']));})['command'](_0x4ab401(0x28b),_0x20c221[_0x4ab401(0x1a6)],_0x51f10b=>{const _0x4794d1=_0x4ab401;return _0x51f10b[_0x4794d1(0x1a4)](_0x20c221[_0x4794d1(0x2ff)],{'type':'string','description':_0x20c221[_0x4794d1(0x19d)],'demandOption':!![]})['option'](_0x20c221[_0x4794d1(0x333)],{'type':_0x20c221[_0x4794d1(0x2b6)],'description':'Scenario\x20number\x20to\x20edit\x20(1-based)','demandOption':!![]})['option']('id',{'type':_0x20c221['huQfd'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x451f3a=>{const _0x103e31=_0x4ab401;await _0x20c221['gsGFH'](withTelemetry,'edit-scenario',()=>featureEditScenario(_0x451f3a[_0x103e31(0x1de)],{'id':_0x451f3a['id'],'scenario':_0x451f3a[_0x103e31(0x1b8)]}));})['command']('report\x20[id]',_0x20c221[_0x4ab401(0x25b)],_0x4b1f01=>{const _0x5cccc4=_0x4ab401;return _0x4b1f01[_0x5cccc4(0x1a4)]('id',{'type':_0x5cccc4(0x24a),'description':_0x5cccc4(0x2f8)})['option']('exclude-scenario',{'type':'array','description':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'})[_0x5cccc4(0x1e3)](_0x20c221[_0x5cccc4(0x336)],{'type':_0x5cccc4(0x1d6),'description':_0x20c221['nnABq'],'default':![]});},async _0x460ac7=>{const _0x46fa0e=_0x4ab401,_0x3a4cd2=_0x460ac7[_0x20c221[_0x46fa0e(0x1b5)]],_0x423e41=_0x3a4cd2?_0x3a4cd2['map'](_0x3ef8ce=>Number(_0x3ef8ce)):undefined;await withTelemetry(_0x46fa0e(0x296),()=>featureReportPrDescription(_0x460ac7['id'],{'excludeScenarios':_0x423e41,'json':_0x460ac7['json']}));})[_0x4ab401(0x2b8)]('get-review\x20[id]',_0x4ab401(0x256),_0x581083=>{const _0x333af6=_0x4ab401;return _0x581083['positional']('id',{'type':_0x333af6(0x24a),'description':_0x20c221['PFZrA']});},async _0xc7d6b1=>{await _0x20c221['gsGFH'](withTelemetry,_0x20c221['jPnvc'],()=>featureGetReview(_0xc7d6b1['id']));})[_0x4ab401(0x2b8)](_0x20c221[_0x4ab401(0x346)],_0x4ab401(0x228),_0x3f36f0=>{return _0x3f36f0['positional']('id',{'type':_0x20c221['huQfd'],'description':_0x20c221['zRFrd']});},async _0x2e4634=>{const _0x31069c=_0x4ab401;await _0x20c221[_0x31069c(0x2de)](withTelemetry,_0x31069c(0x1ff),()=>featureDelete(_0x2e4634['id']));})['command'](_0x20c221['NVJYd'],_0x4ab401(0x1bb),_0x3a4b2d=>{const _0x2b3c63=_0x4ab401;return _0x3a4b2d[_0x2b3c63(0x1a4)]('id',{'type':_0x2b3c63(0x24a),'description':_0x2b3c63(0x210),'demandOption':!![]});},async _0x12d97f=>{await withTelemetry('restore',()=>featureRestore(_0x12d97f['id']));})[_0x4ab401(0x2b8)](_0x4ab401(0x257),_0x4ab401(0x29f),_0x246335=>{const _0x4475fb=_0x4ab401,_0x428259={'iQUwR':_0x20c221['wozaF'],'ivygx':function(_0x6f34f1,_0x3bad80,_0x4b730e){return _0x6f34f1(_0x3bad80,_0x4b730e);},'EnlXh':_0x20c221['bHAzT'],'pRHnp':_0x20c221['huQfd'],'YbnCd':function(_0x5ec83e){const _0x44074a=_0x2583;return _0x20c221[_0x44074a(0x2c5)](_0x5ec83e);},'SYjTV':function(_0x253d55,_0x3f49b8){return _0x253d55(_0x3f49b8);},'bMsZI':_0x20c221['Dmkcx'],'MvvOK':_0x20c221[_0x4475fb(0x254)],'ijuXf':'opencode'};return _0x246335[_0x4475fb(0x212)](_0x4475fb(0x365))[_0x4475fb(0x1a4)](_0x20c221[_0x4475fb(0x36d)],{'type':_0x4475fb(0x24a),'description':'Subcommand\x20or\x20API\x20token\x20(rngr_...)'})['command'](_0x20c221[_0x4475fb(0x361)],'Run\x20full\x20interactive\x20setup',_0x53c448=>{const _0x4801c5=_0x4475fb;return _0x53c448[_0x4801c5(0x1e3)](_0x4801c5(0x360),{'type':_0x4801c5(0x24a),'description':_0x20c221[_0x4801c5(0x1e0)]})['option'](_0x4801c5(0x37f),{'type':_0x20c221[_0x4801c5(0x2f5)],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x4801c5(0x1e3)](_0x20c221[_0x4801c5(0x2b5)],{'type':_0x4801c5(0x1d6),'description':_0x20c221['JdyzE'],'default':![]})[_0x4801c5(0x1e3)](_0x20c221['CQVCF'],{'type':'boolean','description':_0x4801c5(0x36a),'default':![]})[_0x4801c5(0x1e3)]('scope',{'type':_0x20c221[_0x4801c5(0x1cc)],'choices':[_0x20c221['qZoSi']],'hidden':!![],'description':_0x20c221['XkTIl']})[_0x4801c5(0x1e3)](_0x4801c5(0x35b),{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})['option']('force',{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x20c221[_0x4801c5(0x1a1)],{'type':'boolean','description':_0x20c221[_0x4801c5(0x262)],'default':![]})[_0x4801c5(0x1e3)]('allow-insecure-localhost',{'type':_0x20c221['wozaF'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]})[_0x4801c5(0x1e3)]('mcp-bootstrap',{'type':'boolean','description':_0x20c221['CnQvn'],'default':![]})[_0x4801c5(0x1e3)]('mcp',{'type':'boolean','description':_0x20c221[_0x4801c5(0x1ae)],'default':![]});},async _0x2efd0a=>{const _0x224f69=_0x4475fb;(_0x2efd0a[_0x224f69(0x292)]||_0x2efd0a['mcp'])&&await _0x20c221[_0x224f69(0x348)](withTelemetry,_0x20c221[_0x224f69(0x349)],()=>mcpBootstrap()),await withTelemetry(_0x20c221[_0x224f69(0x238)],_0x450aca=>start(_0x2efd0a[_0x224f69(0x360)],{'skipChromium':_0x2efd0a['skip-chromium'],'skipAuth':_0x2efd0a[_0x224f69(0x2d6)],'withDeps':_0x2efd0a['with-deps'],'scope':_0x2efd0a['scope'],'url':_0x2efd0a['url'],'force':_0x2efd0a[_0x224f69(0x29e)],'opencode':_0x2efd0a['opencode'],'allowInsecureLocalhost':_0x2efd0a['allow-insecure-localhost']},_0x450aca));})['command'](_0x20c221['PHgli'],_0x20c221['RXDxJ'],_0x5c9faf=>{const _0x2f65f6=_0x4475fb;return _0x5c9faf[_0x2f65f6(0x1e3)]('with-deps',{'type':_0x428259['iQUwR'],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]});},async _0x580da3=>{await _0x428259['ivygx'](withTelemetry,_0x428259['EnlXh'],()=>ensureChromium(_0x580da3['with-deps']));})[_0x4475fb(0x2b8)](_0x20c221[_0x4475fb(0x1e5)],_0x20c221[_0x4475fb(0x2ef)],_0x8a6d17=>{const _0x44b8ea=_0x4475fb;return _0x8a6d17[_0x44b8ea(0x1e3)]('token',{'type':_0x428259['pRHnp'],'description':'Ranger\x20API\x20token\x20(rngr_...)'})['option'](_0x44b8ea(0x354),{'type':'boolean','description':_0x44b8ea(0x304),'default':![]});},async _0x45da56=>{const _0x1c8d06=_0x4475fb;await _0x428259[_0x1c8d06(0x379)](withTelemetry,_0x428259['bMsZI'],async()=>{const _0x2c1aa4=_0x1c8d06;if(_0x45da56['mcp']){await _0x428259['YbnCd'](mcpBootstrap);const _0x7a1e60=await _0x428259['YbnCd'](refreshCliToken);if(!_0x7a1e60)throw new Error('Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.');const _0xcb8463=await getCurrentUser(_0x7a1e60);if(!_0xcb8463[_0x2c1aa4(0x243)])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0xcb8463[_0x2c1aa4(0x2f0)]);console['log']('✓\x20Authenticated\x20to\x20'+_0xcb8463['user']['organizationName']);return;}await _0x428259['SYjTV'](authenticate,_0x45da56['token']);});})[_0x4475fb(0x2b8)](_0x4475fb(0x240),'Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x54ad58=>{const _0x584183=_0x4475fb;return _0x54ad58[_0x584183(0x1e3)](_0x584183(0x2e7),{'type':_0x428259[_0x584183(0x2d2)],'choices':[_0x428259[_0x584183(0x1da)],_0x584183(0x26d)],'description':_0x584183(0x33f)})[_0x584183(0x1e3)](_0x584183(0x241),{'type':_0x428259[_0x584183(0x2ee)],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]});},async _0x5b1d29=>{const _0x2064a7=_0x4475fb;await _0x20c221['apaLF'](withTelemetry,_0x20c221[_0x2064a7(0x209)],async()=>{const _0x4ce1a2=_0x2064a7,_0xc7059e=_0x5b1d29[_0x4ce1a2(0x2e7)];if(_0x5b1d29[_0x4ce1a2(0x241)]){const _0x5a8dc7=await ensureOpencodePluginConfig(_0xc7059e);_0x5a8dc7&&await installSkill(_0x4ce1a2(0x260),{'level':_0x5a8dc7[_0x4ce1a2(0x2e7)],'cliVersion':getCurrentVersion(),'platform':_0x428259['ijuXf']});}else await ensureClaudePlugin(_0xc7059e),await ensureClaudeSkills(_0xc7059e);});})['command']('profiles',_0x20c221[_0x4475fb(0x213)],_0x2c8605=>{const _0xf1b88e=_0x4475fb;return _0x2c8605[_0xf1b88e(0x1e3)](_0xf1b88e(0x2e7),{'type':_0x20c221[_0xf1b88e(0x1cc)],'choices':[_0x20c221[_0xf1b88e(0x254)]],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x20c221['BStJO'],{'type':_0xf1b88e(0x24a),'description':'Base\x20URL\x20of\x20the\x20running\x20app'})['option'](_0xf1b88e(0x2d6),{'type':_0x20c221['wozaF'],'description':'Skip\x20browser\x20authentication','default':![]})[_0xf1b88e(0x1e3)]('force',{'type':_0x20c221['wozaF'],'description':_0xf1b88e(0x367),'default':![]})[_0xf1b88e(0x1e3)]('allow-insecure-localhost',{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x26eb5f=>{const _0x36dab4=_0x4475fb,_0x3e1858=_0x26eb5f[_0x36dab4(0x2e7)];_0x3e1858!==undefined&&_0x3e1858!==_0x428259[_0x36dab4(0x1da)]&&(console[_0x36dab4(0x2f0)](_0x36dab4(0x24e)+_0x3e1858+_0x36dab4(0x271)+_0x36dab4(0x1a3)+_0x36dab4(0x2fe)),process[_0x36dab4(0x2ad)](0x1)),await withTelemetry(_0x36dab4(0x2d7),_0x1632fa=>ensureLocalEnv({'url':_0x26eb5f[_0x36dab4(0x35b)],'force':_0x26eb5f[_0x36dab4(0x29e)],'allowInsecureLocalhost':_0x26eb5f[_0x36dab4(0x2a2)],'scope':'user'},_0x1632fa));})['option'](_0x20c221[_0x4475fb(0x2dc)],{'type':'boolean','description':_0x20c221[_0x4475fb(0x21c)],'default':![]})['option'](_0x4475fb(0x2e7),{'type':'string','choices':[_0x20c221[_0x4475fb(0x254)]],'hidden':!![],'description':_0x20c221[_0x4475fb(0x2b2)]})['option'](_0x4475fb(0x35b),{'type':_0x4475fb(0x24a),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})[_0x4475fb(0x1e3)]('force',{'type':'boolean','description':_0x20c221[_0x4475fb(0x28d)],'default':![]})['option']('opencode',{'type':'boolean','description':_0x4475fb(0x2d1),'default':![]})[_0x4475fb(0x1e3)](_0x20c221[_0x4475fb(0x35d)],{'type':_0x4475fb(0x1d6),'description':_0x20c221[_0x4475fb(0x229)],'default':![]})['option'](_0x20c221['XMdNi'],{'type':_0x4475fb(0x1d6),'description':_0x4475fb(0x248),'default':![]})['option']('skip-auth',{'type':'boolean','description':_0x20c221['bgiqx'],'default':![]})[_0x4475fb(0x1e3)](_0x20c221[_0x4475fb(0x278)],{'type':_0x20c221[_0x4475fb(0x2f5)],'description':_0x20c221['QwiRT'],'default':![]})['option'](_0x20c221['dOpJU'],{'type':'string','hidden':!![],'description':'API\x20token'});},async _0x45b7eb=>{const _0x2b4d54=_0x4ab401,_0xc9cd47=_0x45b7eb['tokenOrSubcommand'],_0xddb9e=_0x45b7eb[_0x2b4d54(0x360)]??_0xc9cd47;_0x45b7eb[_0x2b4d54(0x292)]&&await withTelemetry('mcp-bootstrap',()=>mcpBootstrap()),await withTelemetry(_0x2b4d54(0x27a),_0xf9ede1=>start(_0xddb9e,{'skipChromium':_0x45b7eb['skip-chromium'],'skipAuth':_0x45b7eb['skip-auth'],'withDeps':_0x45b7eb['with-deps'],'scope':_0x45b7eb['scope'],'url':_0x45b7eb['url'],'force':_0x45b7eb['force'],'opencode':_0x45b7eb[_0x2b4d54(0x241)],'allowInsecureLocalhost':_0x45b7eb[_0x2b4d54(0x2a2)]},_0xf9ede1));})['command']('setup-ci\x20<token>',![],_0x2ce872=>{const _0x5ca689=_0x4ab401;return _0x2ce872['positional']('token',{'type':_0x5ca689(0x24a),'description':'Ranger\x20API\x20token','demandOption':!![]})['option'](_0x5ca689(0x1bf),{'type':'string','description':_0x20c221['qnWVj']})[_0x5ca689(0x1e3)]('base-url',{'type':_0x20c221[_0x5ca689(0x1cc)],'description':_0x5ca689(0x37e)})['option'](_0x5ca689(0x37f),{'type':_0x20c221['wozaF'],'description':_0x20c221['NzlXE'],'default':![]});},async _0x2b934d=>{const _0x55dea=_0x4ab401;await _0x20c221['VvnSh'](withTelemetry,'setup-ci',_0x5d0160=>setupCi(_0x2b934d[_0x55dea(0x360)],{'profile':_0x2b934d[_0x55dea(0x1bf)],'baseUrl':_0x2b934d['base-url'],'skipChromium':_0x2b934d[_0x55dea(0x37f)]},_0x5d0160));})[_0x4ab401(0x2b8)](_0x20c221['OOXAs'],'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)',()=>{},async()=>{const _0x47e065=_0x4ab401;await _0x20c221['CqAXV'](withTelemetry,_0x47e065(0x317),()=>login());})[_0x4ab401(0x2b8)](_0x20c221['hjuAk'],_0x4ab401(0x27c),_0x13b26b=>{const _0x208304=_0x4ab401;return _0x13b26b['option'](_0x20c221['tgIem'],{'type':_0x20c221['wozaF'],'description':_0x20c221[_0x208304(0x32d)],'default':![]})['option'](_0x20c221[_0x208304(0x26a)],{'type':_0x208304(0x24a),'choices':[_0x208304(0x1a2),_0x20c221[_0x208304(0x21f)]],'description':_0x208304(0x258)});},async _0x11aca5=>{const _0x4ea9fc=_0x4ab401,_0x62d212=_0x20c221[_0x4ea9fc(0x2e5)](Boolean,_0x11aca5['opencode']);await withTelemetry(_0x20c221['hjuAk'],()=>skillup({'autoInstall':_0x11aca5[_0x4ea9fc(0x2e7)],'platform':_0x62d212?_0x4ea9fc(0x241):_0x4ea9fc(0x2a9)}));})['command'](_0x20c221[_0x4ab401(0x232)],_0x20c221[_0x4ab401(0x22a)],()=>{},async()=>{const _0x1d1259=_0x4ab401;await withTelemetry(_0x1d1259(0x37b),()=>clean());})['command']([_0x4ab401(0x1bf),_0x20c221[_0x4ab401(0x2e0)]],_0x4ab401(0x34a),_0x486e84=>{const _0x2d4cbf=_0x4ab401,_0x5a5f5d={'Bylvv':_0x20c221['ktYrA'],'vGcfC':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','uXLqA':_0x20c221[_0x2d4cbf(0x2b5)],'LGHTT':_0x2d4cbf(0x343),'emCXp':'url','IMDCn':_0x20c221[_0x2d4cbf(0x1cc)],'GBDRd':_0x20c221['wozaF'],'RVdxN':_0x20c221['kblyY'],'PaUta':_0x20c221[_0x2d4cbf(0x226)],'YVrkr':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','sIqpZ':_0x20c221['ctwRA'],'IikSF':_0x20c221[_0x2d4cbf(0x274)],'qFcHL':_0x2d4cbf(0x1d0),'ySsbr':_0x20c221['viPpd'],'vjrmM':function(_0x27fc3b,_0xd10759,_0x90039e,_0x18abf6){return _0x27fc3b(_0xd10759,_0x90039e,_0x18abf6);},'edTzy':_0x20c221[_0x2d4cbf(0x25c)],'QPhaR':_0x20c221['ZTsRy'],'gaofJ':_0x20c221[_0x2d4cbf(0x23b)],'OQZmo':_0x20c221[_0x2d4cbf(0x216)],'ZglVP':_0x2d4cbf(0x1c1),'cxMjB':function(_0x3cd11e,_0x4d6a93,_0x3133c7){const _0x4e1d2e=_0x2d4cbf;return _0x20c221[_0x4e1d2e(0x1c6)](_0x3cd11e,_0x4d6a93,_0x3133c7);},'hPXis':_0x2d4cbf(0x2a8),'nqvbs':function(_0x32b499,_0x99bf38,_0x2b2110){return _0x32b499(_0x99bf38,_0x2b2110);},'LXgka':'Name\x20of\x20the\x20profile\x20to\x20update','TWWip':_0x2d4cbf(0x2a2),'GRBOg':_0x20c221['hebUW'],'daXgW':_0x20c221[_0x2d4cbf(0x1c5)],'cFiul':_0x20c221[_0x2d4cbf(0x2ae)],'WmgBY':function(_0x30a803,_0x3898f6){return _0x30a803||_0x3898f6;},'SIvgn':function(_0x334470,_0x2b4c93,_0x5ccaa1){return _0x334470(_0x2b4c93,_0x5ccaa1);},'HSVXX':function(_0xce10c,_0xfd37c0){return _0x20c221['HaWJa'](_0xce10c,_0xfd37c0);},'qBwhP':'No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','VUuYy':function(_0x4b9986,_0x545351){return _0x4b9986===_0x545351;},'NMYiS':_0x20c221[_0x2d4cbf(0x1d5)],'KJZzW':'unknown\x20error','yZCJv':_0x2d4cbf(0x1fb),'Fcnap':_0x2d4cbf(0x1d1),'ltSXq':_0x20c221[_0x2d4cbf(0x280)],'qqGpI':_0x20c221['WFbMx'],'uIENU':_0x20c221['ZpXWR'],'ExMql':'key','xLGIR':_0x20c221[_0x2d4cbf(0x2c9)],'lJDIZ':_0x20c221['JVcDQ'],'ITJsS':function(_0xd2a2d9,_0x281910,_0x52ed5a){return _0xd2a2d9(_0x281910,_0x52ed5a);},'eWAKq':_0x20c221['ubExu'],'cDNNw':function(_0x1a2f04,_0x4fdd4a,_0x53e130){return _0x1a2f04(_0x4fdd4a,_0x53e130);},'TBBbn':_0x20c221[_0x2d4cbf(0x25a)],'ASMFZ':'set\x20<profile>\x20<key>\x20<value>','ysbjX':'get\x20<profile>\x20<key>','ACoOf':_0x2d4cbf(0x374),'IjbeJ':_0x20c221['vHqPW'],'jPfrG':_0x20c221['eyoGN'],'JAzzF':_0x20c221['cvdLC']};return _0x486e84[_0x2d4cbf(0x212)](PROFILE_HELP)['command']('add\x20<profile-name>',_0x20c221['HRKvU'],_0xbfe81f=>{const _0x563871=_0x2d4cbf;return _0xbfe81f[_0x563871(0x1a4)](_0x5a5f5d['Bylvv'],{'type':_0x563871(0x24a),'description':_0x5a5f5d[_0x563871(0x285)],'demandOption':!![]})[_0x563871(0x1e3)]('ci',{'type':'boolean','hidden':!![],'default':![]})[_0x563871(0x1e3)](_0x5a5f5d[_0x563871(0x1d9)],{'type':'boolean','description':_0x5a5f5d['LGHTT'],'default':![]})[_0x563871(0x1e3)](_0x5a5f5d[_0x563871(0x355)],{'type':_0x5a5f5d[_0x563871(0x205)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x563871(0x29e),{'type':_0x5a5f5d['GBDRd'],'description':_0x5a5f5d['RVdxN'],'default':![]})[_0x563871(0x1e3)]('cdp-endpoint',{'type':'string','description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})['option'](_0x563871(0x2a2),{'type':_0x5a5f5d['GBDRd'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0x563871(0x1e3)](_0x5a5f5d[_0x563871(0x25d)],{'type':_0x563871(0x1d6),'description':_0x5a5f5d[_0x563871(0x21b)],'default':![]})['option'](_0x563871(0x1ef),{'type':'string','array':!![],'description':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)'})['option'](_0x5a5f5d[_0x563871(0x1d3)],{'type':'string','choices':['user',_0x563871(0x26d)],'description':_0x563871(0x2d9)})[_0x563871(0x1e3)](_0x5a5f5d['IikSF'],{'type':_0x563871(0x24a),'description':_0x5a5f5d[_0x563871(0x211)]})[_0x563871(0x1e3)]('yes',{'type':_0x5a5f5d[_0x563871(0x2a1)],'alias':'y','description':_0x5a5f5d['ySsbr'],'default':![]});},async _0x3bc057=>{const _0x5ad1fd=_0x2d4cbf;await _0x5a5f5d[_0x5ad1fd(0x2bb)](withTelemetry,_0x5a5f5d['edTzy'],_0x1067bd=>addEnv(_0x3bc057[_0x5ad1fd(0x23f)],{'ci':_0x3bc057['ci'],'skipAuth':_0x3bc057['skip-auth'],'url':_0x3bc057[_0x5ad1fd(0x35b)],'force':_0x3bc057['force'],'cdpEndpoint':_0x3bc057[_0x5ad1fd(0x264)],'allowInsecureLocalhost':_0x3bc057[_0x5ad1fd(0x2a2)],'safeMode':_0x3bc057['safe-mode'],'setupHeader':_0x3bc057[_0x5ad1fd(0x1ef)],'scope':_0x3bc057['scope'],'authEnv':_0x3bc057['env'],'yes':_0x3bc057['yes']},_0x1067bd),{'isElectron':Boolean(_0x3bc057[_0x5a5f5d['QPhaR']])});})['command'](_0x20c221['ZDDOq'],_0x2d4cbf(0x21e),_0x1bdf5c=>{const _0x2bdc13=_0x2d4cbf;return _0x1bdf5c['positional']('profile-name',{'type':_0x20c221[_0x2bdc13(0x1cc)],'description':_0x20c221['qrjEi'],'demandOption':!![]});},async _0x4470e3=>{const _0x384c8f=_0x2d4cbf;await withTelemetry(_0x384c8f(0x2da),()=>useEnv(_0x4470e3[_0x384c8f(0x23f)]));})[_0x2d4cbf(0x2b8)](_0x20c221['icppl'],'Delete\x20a\x20cloud\x20profile',_0x1ebee0=>{const _0x25e368=_0x2d4cbf;return _0x1ebee0[_0x25e368(0x1a4)](_0x5a5f5d[_0x25e368(0x36f)],{'type':_0x5a5f5d[_0x25e368(0x205)],'description':_0x5a5f5d['gaofJ'],'demandOption':!![]})[_0x25e368(0x1e3)](_0x5a5f5d[_0x25e368(0x2e9)],{'type':_0x25e368(0x1d6),'alias':'y','description':_0x5a5f5d[_0x25e368(0x362)],'default':![]});},async _0x316d44=>{const _0x5e4438=_0x2d4cbf;await _0x5a5f5d[_0x5e4438(0x1eb)](withTelemetry,_0x5a5f5d[_0x5e4438(0x259)],()=>deleteProfile(_0x316d44[_0x5e4438(0x23f)],{'yes':_0x316d44[_0x5e4438(0x1f8)]}));})[_0x2d4cbf(0x2b8)](_0x2d4cbf(0x323),![],_0x28ce29=>{return _0x28ce29['positional'](_0x20c221['JVcDQ'],{'type':_0x20c221['huQfd'],'description':_0x20c221['ZpXWR'],'demandOption':!![]});},async _0x4fa067=>{const _0x4a304d=_0x2d4cbf;await _0x5a5f5d[_0x4a304d(0x224)](withTelemetry,'profile\x20encrypt-auth',()=>authEncrypt(_0x4fa067[_0x4a304d(0x1bf)]));})[_0x2d4cbf(0x2b8)]('ls',_0x2d4cbf(0x236),()=>{},async()=>{await withTelemetry('profile\x20ls',()=>envList());})[_0x2d4cbf(0x2b8)](_0x20c221['EKPjr'],_0x20c221['bCpQi'],_0x411c8b=>{const _0x11ac85=_0x2d4cbf;return _0x411c8b['positional'](_0x5a5f5d['Bylvv'],{'type':_0x5a5f5d['IMDCn'],'description':_0x5a5f5d[_0x11ac85(0x322)],'demandOption':!![]})['option'](_0x5a5f5d[_0x11ac85(0x326)],{'type':'boolean','description':_0x5a5f5d['GRBOg']})['option'](_0x5a5f5d['daXgW'],{'type':_0x11ac85(0x1d6),'description':_0x5a5f5d['cFiul']});},async _0x181883=>{const _0x43e2a2=_0x2d4cbf;await _0x20c221['RLjKa'](withTelemetry,'profile\x20update',_0x1f9128=>updateEnv(_0x181883[_0x43e2a2(0x23f)],_0x1f9128,{'allowInsecureLocalhost':_0x181883['allow-insecure-localhost'],'manual':_0x181883['manual']}));})[_0x2d4cbf(0x2b8)](_0x2d4cbf(0x253),![],_0x2e526f=>{const _0x37b8ee=_0x2d4cbf;return _0x2e526f['positional'](_0x20c221['coYlD'],{'type':_0x37b8ee(0x24a),'description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0x3cfc8f=>{await _0x5a5f5d['nqvbs'](withTelemetry,'profile\x20login',async()=>{const _0x41b49e=_0x2583,_0x57e96f=process['env']['RANGER_TEST_USERNAME'],_0x15297a=process[_0x41b49e(0x25f)][_0x41b49e(0x32c)];_0x5a5f5d[_0x41b49e(0x2fb)](!_0x57e96f,!_0x15297a)&&(console['error'](_0x41b49e(0x204)),process[_0x41b49e(0x2ad)](0x1));const _0x202d8e=_0x3cfc8f['name'],_0x31607f=await _0x5a5f5d[_0x41b49e(0x31d)](serverSideLogin,_0x202d8e,{'force':!![]});_0x5a5f5d[_0x41b49e(0x1ed)](_0x31607f[_0x41b49e(0x2d4)],'not_configured')&&(console['error'](_0x5a5f5d[_0x41b49e(0x31b)]),process[_0x41b49e(0x2ad)](0x1)),_0x5a5f5d[_0x41b49e(0x314)](_0x31607f['status'],_0x5a5f5d[_0x41b49e(0x1e8)])&&(console['error']('Login\x20failed:\x20'+(_0x31607f[_0x41b49e(0x2f0)]??_0x5a5f5d[_0x41b49e(0x315)])),_0x31607f[_0x41b49e(0x30a)]&&console['error'](_0x31607f[_0x41b49e(0x30a)]),process['exit'](0x1)),console[_0x41b49e(0x1ee)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x202d8e+_0x41b49e(0x208));});})[_0x2d4cbf(0x2b8)]('migrate\x20[profile-name]',![],_0x37139a=>{const _0x5964e6=_0x2d4cbf;return _0x37139a['positional'](_0x5a5f5d[_0x5964e6(0x36f)],{'type':_0x5a5f5d['IMDCn'],'description':_0x5a5f5d[_0x5964e6(0x29c)]})[_0x5964e6(0x1e3)]('all',{'type':_0x5964e6(0x1d6),'description':_0x5964e6(0x242),'default':![]})[_0x5964e6(0x1e3)](_0x5a5f5d[_0x5964e6(0x378)],{'type':'boolean','description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})[_0x5964e6(0x1e3)](_0x5964e6(0x1f8),{'type':_0x5a5f5d[_0x5964e6(0x2a1)],'alias':'y','description':_0x5a5f5d[_0x5964e6(0x23a)],'default':![]})[_0x5964e6(0x1e3)]('save-creds',{'type':'boolean','description':_0x5a5f5d[_0x5964e6(0x353)],'default':![]});},async _0x1b779a=>{const _0x3ed738=_0x2d4cbf;await _0x20c221['gsGFH'](withTelemetry,_0x20c221['OUtRW'],_0xe57a36=>migrateProfile({'profileName':_0x1b779a[_0x3ed738(0x23f)],'all':_0x1b779a['all'],'dryRun':_0x1b779a[_0x3ed738(0x1d1)],'yes':_0x1b779a[_0x3ed738(0x1f8)],'saveCreds':_0x1b779a['save-creds']},_0xe57a36));})['command'](_0x20c221[_0x2d4cbf(0x2a7)],_0x20c221[_0x2d4cbf(0x2b7)],_0x1c5cd0=>{const _0x140fd4=_0x2d4cbf,_0x9149a8={'RUbaD':_0x5a5f5d[_0x140fd4(0x28c)],'mtxvF':_0x140fd4(0x24a),'LQPfV':_0x5a5f5d['uIENU'],'irSYo':'key','zimfF':_0x140fd4(0x1db),'rGlap':function(_0x2b03bc,_0xc4fdac,_0x1542a7){return _0x5a5f5d['ITJsS'](_0x2b03bc,_0xc4fdac,_0x1542a7);},'dNOme':_0x5a5f5d[_0x140fd4(0x20e)]};return _0x1c5cd0['usage'](PROFILE_CONFIG_HELP)['command'](_0x5a5f5d['ASMFZ'],'Set\x20a\x20config\x20value',_0x3428fb=>{const _0x392f92=_0x140fd4;return _0x3428fb[_0x392f92(0x1a4)](_0x9149a8[_0x392f92(0x303)],{'type':_0x9149a8[_0x392f92(0x2bf)],'description':_0x9149a8[_0x392f92(0x32f)],'demandOption':!![]})['positional'](_0x9149a8[_0x392f92(0x2a3)],{'type':_0x9149a8[_0x392f92(0x2bf)],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})['positional'](_0x392f92(0x35f),{'type':_0x392f92(0x24a),'description':_0x9149a8['zimfF'],'demandOption':!![]});},async _0x4deb35=>{const _0x5b9499=_0x140fd4;await _0x9149a8[_0x5b9499(0x1d2)](withTelemetry,'profile\x20config\x20set',()=>configSet(_0x4deb35['profile'],_0x4deb35['key'],_0x4deb35[_0x5b9499(0x35f)]));})['command'](_0x5a5f5d['ysbjX'],_0x140fd4(0x2d8),_0x2d7b1f=>{const _0x2381c6=_0x140fd4;return _0x2d7b1f['positional'](_0x2381c6(0x1bf),{'type':_0x2381c6(0x24a),'description':_0x5a5f5d[_0x2381c6(0x279)],'demandOption':!![]})['positional'](_0x5a5f5d['ExMql'],{'type':_0x5a5f5d[_0x2381c6(0x205)],'description':_0x5a5f5d['xLGIR'],'demandOption':!![]});},async _0x1965d1=>{const _0x116993=_0x140fd4;await withTelemetry(_0x9149a8['dNOme'],()=>configGet(_0x1965d1[_0x116993(0x1bf)],_0x1965d1[_0x116993(0x23e)]));})['command']('list\x20<profile>',_0x5a5f5d[_0x140fd4(0x37c)],_0xbc8617=>{const _0x30e8c3=_0x140fd4;return _0xbc8617['positional']('profile',{'type':_0x30e8c3(0x24a),'description':'Profile\x20name','demandOption':!![]});},async _0x57d0fc=>{await withTelemetry('profile\x20config\x20list',()=>configList(_0x57d0fc['profile']));})[_0x140fd4(0x2b8)]('unset\x20<profile>\x20<key>','Remove\x20a\x20config\x20value',_0x13ec23=>{const _0x24f013=_0x140fd4;return _0x13ec23['positional'](_0x5a5f5d['lJDIZ'],{'type':_0x5a5f5d[_0x24f013(0x205)],'description':_0x24f013(0x291),'demandOption':!![]})['positional']('key',{'type':_0x24f013(0x24a),'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x500cf1=>{const _0x47d145=_0x140fd4;await _0x5a5f5d[_0x47d145(0x2e1)](withTelemetry,_0x5a5f5d['eWAKq'],()=>configUnset(_0x500cf1['profile'],_0x500cf1['key']));})[_0x140fd4(0x2b8)](_0x5a5f5d[_0x140fd4(0x2a6)],_0x5a5f5d[_0x140fd4(0x1e4)],_0x5bbb71=>{const _0x4ca4cb=_0x140fd4;return _0x5bbb71['positional'](_0x4ca4cb(0x1bf),{'type':_0x4ca4cb(0x24a),'description':_0x9149a8['LQPfV'],'demandOption':!![]});},async _0x558ced=>{const _0x453786=_0x140fd4;await _0x5a5f5d['cDNNw'](withTelemetry,_0x453786(0x34c),()=>configReset(_0x558ced['profile']));})[_0x140fd4(0x358)](0x1,_0x5a5f5d['JAzzF']);})['demandCommand'](0x1,_0x2d4cbf(0x1b3));})[_0x4ab401(0x2b8)](_0x4ab401(0x2d4),'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{const _0x1cfdb9=_0x4ab401;await _0x20c221[_0x1cfdb9(0x2f3)](withTelemetry,_0x20c221[_0x1cfdb9(0x320)],()=>status());})[_0x4ab401(0x2b8)](_0x20c221['INzPk'],_0x20c221['Iyukc'],()=>{},async()=>{await withTelemetry('update',()=>update());})[_0x4ab401(0x2b8)](_0x20c221[_0x4ab401(0x294)],_0x20c221[_0x4ab401(0x316)],()=>{},async()=>{const _0x1cff1c=_0x4ab401;await _0x20c221[_0x1cff1c(0x1c3)](withTelemetry,_0x1cff1c(0x30d),async()=>{const _0x16f045=await _0x20c221['WWKHl'](getToken);if(!_0x16f045)throw new Error(_0x20c221['LgFCM']);console['log'](_0x16f045);});})['command']('go',_0x20c221['AmFXs'],_0x3fce62=>{const _0x3e60d6=_0x4ab401;return _0x3fce62['option'](_0x20c221['EXFrs'],{'type':_0x20c221['huQfd'],'description':'Optional\x20feature\x20ID'})['option'](_0x20c221[_0x3e60d6(0x31f)],{'type':_0x3e60d6(0x24a),'description':_0x20c221['bqOgp']})['option'](_0x3e60d6(0x270),{'type':'string','array':!![],'description':_0x20c221['sWRhp']})['option'](_0x3e60d6(0x20a),{'type':_0x20c221[_0x3e60d6(0x1cc)],'description':_0x20c221[_0x3e60d6(0x221)]})[_0x3e60d6(0x1e3)](_0x20c221[_0x3e60d6(0x28e)],{'type':_0x3e60d6(0x24a),'description':_0x20c221[_0x3e60d6(0x26b)]})[_0x3e60d6(0x1e3)](_0x3e60d6(0x1b8),{'type':_0x3e60d6(0x1ec),'description':_0x3e60d6(0x364)})['option']('start-path',{'type':_0x3e60d6(0x24a),'description':_0x3e60d6(0x337)})['option']('base-url',{'type':_0x20c221['huQfd'],'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x3e60d6(0x1e3)](_0x3e60d6(0x311),{'type':_0x20c221[_0x3e60d6(0x1cc)],'description':_0x20c221['AszNu']})['option'](_0x20c221[_0x3e60d6(0x225)],{'type':'boolean','description':_0x3e60d6(0x2c3),'default':![]})[_0x3e60d6(0x1e3)]('env-var',{'type':_0x20c221['huQfd'],'array':!![],'alias':_0x3e60d6(0x356),'description':_0x20c221['LVAVE']})[_0x3e60d6(0x1e3)](_0x20c221[_0x3e60d6(0x319)],{'type':_0x20c221['wozaF'],'description':'Proceed\x20even\x20when\x20the\x20selected\x20scenario\x20names\x20a\x20URL\x20on\x20a\x20different\x20origin\x20than\x20the\x20resolved\x20target','default':![]})['option'](_0x20c221[_0x3e60d6(0x2ba)],{'type':_0x3e60d6(0x24a),'hidden':!![],'choices':[_0x20c221[_0x3e60d6(0x215)],_0x20c221['xmPid'],_0x3e60d6(0x23c),'failed',_0x20c221['GwCPs']]})['option'](_0x3e60d6(0x220),{'type':_0x20c221[_0x3e60d6(0x2f5)],'hidden':!![]})['option']('env',{'type':_0x20c221[_0x3e60d6(0x1cc)],'description':_0x20c221['KBYix']})[_0x3e60d6(0x1e3)]('task',{'type':'string','hidden':!![]})[_0x3e60d6(0x1e3)](_0x3e60d6(0x20b),{'type':_0x20c221[_0x3e60d6(0x2b6)],'hidden':!![]});},async _0x3e63ce=>{await runGoCommand(_0x3e63ce);})[_0x4ab401(0x2b8)](_0x20c221[_0x4ab401(0x1a0)],![],_0x4ffdd9=>{const _0x25c33c=_0x4ab401,_0x206da6={'txtoM':'Profile\x20name'};return _0x4ffdd9['command'](_0x20c221[_0x25c33c(0x266)],![],_0x100e5d=>{const _0x2ed6cf=_0x25c33c;return _0x100e5d[_0x2ed6cf(0x1a4)](_0x2ed6cf(0x1bf),{'type':_0x2ed6cf(0x24a),'description':_0x206da6[_0x2ed6cf(0x1fc)],'demandOption':!![]});},async _0x5a081c=>{const _0x20c114=_0x25c33c;warnRenamed(_0x20c221[_0x20c114(0x2ed)],_0x20c221['LhLTf']),await authEncrypt(_0x5a081c[_0x20c114(0x1bf)]);})[_0x25c33c(0x358)](0x1,_0x20c221[_0x25c33c(0x301)]);},()=>{})['command']('start\x20[token]',![],_0x13e23a=>{const _0x168cc0=_0x4ab401;return _0x13e23a[_0x168cc0(0x1a4)]('token',{'type':_0x168cc0(0x24a),'description':_0x20c221['cOYYJ']})['option'](_0x20c221['WnOKQ'],{'type':_0x20c221['wozaF'],'description':_0x20c221[_0x168cc0(0x21c)],'default':![]})[_0x168cc0(0x1e3)](_0x20c221['ctwRA'],{'type':_0x168cc0(0x24a),'choices':[_0x20c221[_0x168cc0(0x254)]],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option']('url',{'type':'string','description':_0x20c221[_0x168cc0(0x1c0)]})['option'](_0x20c221['EYOrw'],{'type':_0x20c221['wozaF'],'description':_0x168cc0(0x367),'default':![]})['option'](_0x168cc0(0x2d6),{'type':_0x20c221[_0x168cc0(0x2f5)],'description':_0x168cc0(0x1e6),'default':![]})[_0x168cc0(0x1e3)](_0x20c221['CQVCF'],{'type':_0x168cc0(0x1d6),'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]});},async _0x4000f4=>{const _0x5a3d5b=_0x4ab401;_0x20c221[_0x5a3d5b(0x313)](warnRenamed,'ranger\x20start',_0x5a3d5b(0x33c)),await withTelemetry('start',_0x3538eb=>start(_0x4000f4['token'],{'skipChromium':_0x4000f4['skip-chromium'],'skipAuth':_0x4000f4['skip-auth'],'withDeps':_0x4000f4['with-deps'],'scope':_0x4000f4[_0x5a3d5b(0x2e7)],'url':_0x4000f4[_0x5a3d5b(0x35b)],'force':_0x4000f4[_0x5a3d5b(0x29e)]},_0x3538eb));})['command'](_0x4ab401(0x1cd),![],_0x4e0284=>{const _0x381ba5=_0x4ab401;return _0x4e0284['option']('env',{'type':_0x20c221[_0x381ba5(0x1cc)],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})['option'](_0x20c221[_0x381ba5(0x34e)],{'type':'string','description':_0x381ba5(0x2f7)})['option'](_0x20c221[_0x381ba5(0x2db)],{'type':_0x20c221['AOEHT'],'description':'Scenario\x20index\x20(1-based)'})['option'](_0x381ba5(0x1bf),{'type':_0x20c221['huQfd'],'hidden':!![]})[_0x381ba5(0x1e3)](_0x20c221[_0x381ba5(0x2fa)],{'type':_0x20c221[_0x381ba5(0x1cc)],'hidden':!![]})['option']('scenario',{'type':_0x20c221[_0x381ba5(0x2b6)],'hidden':!![]})['option']('start-path',{'type':_0x381ba5(0x24a),'description':_0x20c221[_0x381ba5(0x1a9)]})[_0x381ba5(0x1e3)]('base-url',{'type':_0x20c221[_0x381ba5(0x1cc)],'description':_0x20c221[_0x381ba5(0x222)]})['option']('model',{'type':_0x20c221[_0x381ba5(0x1cc)],'hidden':!![]})[_0x381ba5(0x1e3)](_0x381ba5(0x29a),{'type':_0x381ba5(0x1d6),'hidden':!![],'default':![]})['option'](_0x381ba5(0x2b0),{'type':_0x381ba5(0x24a),'array':!![],'alias':_0x20c221[_0x381ba5(0x2c0)],'hidden':!![]})['option'](_0x20c221['xOVmH'],{'type':_0x381ba5(0x24a),'hidden':!![],'choices':[_0x20c221[_0x381ba5(0x215)],_0x20c221[_0x381ba5(0x37a)],_0x381ba5(0x23c),_0x20c221['sjhaY'],_0x20c221[_0x381ba5(0x24c)]]});},async _0x28a809=>{await _0x20c221['YSIAT'](runGoCommand,_0x28a809,!![]);})['command']('add\x20env\x20<env-name>',![],_0x38d6d6=>{const _0x129b65=_0x4ab401;return _0x38d6d6['positional'](_0x20c221['xZoXP'],{'type':_0x20c221['huQfd'],'description':_0x20c221['FAtlm'],'demandOption':!![]})['option']('ci',{'type':_0x20c221[_0x129b65(0x2f5)],'description':_0x20c221[_0x129b65(0x31a)],'default':![]})['option'](_0x20c221['qPwON'],{'type':_0x20c221[_0x129b65(0x2f5)],'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]});},async _0x11993e=>{const _0x11ce72=_0x4ab401;_0x20c221['SsSrO'](warnRenamed,_0x11ce72(0x37d),_0x11ce72(0x218)),await withTelemetry('add\x20env',_0x108250=>addEnv(_0x11993e['env-name'],{'ci':_0x11993e['ci'],'skipAuth':_0x11993e[_0x11ce72(0x2d6)]},_0x108250));})['command'](_0x20c221[_0x4ab401(0x30e)],![],_0x40a34b=>{const _0xe528c5=_0x4ab401;return _0x40a34b['positional'](_0x20c221[_0xe528c5(0x237)],{'type':_0x20c221['huQfd'],'description':_0x20c221['JzwcH'],'demandOption':!![]});},async _0x1d0fb8=>{const _0x14ee74=_0x4ab401;_0x20c221[_0x14ee74(0x1fe)](warnRenamed,_0x20c221['iBwPN'],_0x14ee74(0x340)),await _0x20c221['dOihj'](withTelemetry,_0x20c221['IHrOJ'],()=>useEnv(_0x1d0fb8['env-name']));})[_0x4ab401(0x2b8)](_0x4ab401(0x2d3),![],_0x213c23=>{const _0x1fa8ee=_0x4ab401,_0x238cf0={'JUxxQ':_0x20c221[_0x1fa8ee(0x1cc)],'tEGna':_0x20c221[_0x1fa8ee(0x32b)],'XNdtF':_0x20c221[_0x1fa8ee(0x2bc)],'ovPew':_0x20c221[_0x1fa8ee(0x1d8)],'WZwMf':_0x20c221[_0x1fa8ee(0x308)],'FNzWF':'Config\x20key','vGWXr':function(_0x359791,_0x4f3b57,_0x1d3261){const _0x2199a6=_0x1fa8ee;return _0x20c221[_0x2199a6(0x327)](_0x359791,_0x4f3b57,_0x1d3261);},'XARcm':_0x20c221['hVyHF']};return _0x213c23[_0x1fa8ee(0x2b8)](_0x20c221[_0x1fa8ee(0x21a)],![],_0x1ff149=>{const _0x209543=_0x1fa8ee;return _0x1ff149['positional']('env',{'type':_0x209543(0x24a),'description':_0x209543(0x2a0),'demandOption':!![]})[_0x209543(0x1a4)](_0x209543(0x23e),{'type':_0x238cf0[_0x209543(0x1cf)],'description':_0x238cf0[_0x209543(0x231)],'demandOption':!![]})[_0x209543(0x1a4)](_0x238cf0['XNdtF'],{'type':_0x238cf0[_0x209543(0x1cf)],'description':_0x238cf0['ovPew'],'demandOption':!![]});},async _0x20f654=>{const _0x5c4c4b=_0x1fa8ee;_0x20c221[_0x5c4c4b(0x219)](warnRenamed,_0x20c221['dOOky'],_0x20c221[_0x5c4c4b(0x20f)]),await withTelemetry(_0x20c221['WEmWi'],()=>configSet(_0x20f654[_0x5c4c4b(0x25f)],_0x20f654[_0x5c4c4b(0x23e)],_0x20f654['value']));})[_0x1fa8ee(0x2b8)]('get\x20<env>\x20<key>',![],_0x4eb683=>{const _0x229053=_0x1fa8ee;return _0x4eb683['positional'](_0x229053(0x25f),{'type':_0x238cf0['JUxxQ'],'description':'Environment\x20name','demandOption':!![]})[_0x229053(0x1a4)](_0x238cf0[_0x229053(0x2e3)],{'type':_0x229053(0x24a),'description':_0x238cf0[_0x229053(0x1c7)],'demandOption':!![]});},async _0x511d04=>{const _0x5cba2d=_0x1fa8ee;_0x238cf0['vGWXr'](warnRenamed,'ranger\x20config\x20get',_0x238cf0[_0x5cba2d(0x1d7)]),await withTelemetry(_0x5cba2d(0x217),()=>configGet(_0x511d04[_0x5cba2d(0x25f)],_0x511d04[_0x5cba2d(0x23e)]));})[_0x1fa8ee(0x2b8)](_0x20c221[_0x1fa8ee(0x2fd)],![],_0x40a1f2=>{const _0x24d1be=_0x1fa8ee;return _0x40a1f2['positional'](_0x20c221[_0x24d1be(0x274)],{'type':'string','description':_0x24d1be(0x2a0),'demandOption':!![]});},async _0x34e8b0=>{const _0x5e09fb=_0x1fa8ee;warnRenamed(_0x20c221['cMltJ'],'ranger\x20profile\x20config\x20list'),await _0x20c221['wvDEy'](withTelemetry,_0x5e09fb(0x22d),()=>configList(_0x34e8b0[_0x5e09fb(0x25f)]));})[_0x1fa8ee(0x2b8)](_0x1fa8ee(0x286),![],_0x3b7fbf=>{const _0x520fb1=_0x1fa8ee;return _0x3b7fbf['positional'](_0x520fb1(0x25f),{'type':'string','description':_0x20c221['bdYek'],'demandOption':!![]})['positional'](_0x20c221[_0x520fb1(0x308)],{'type':'string','description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x30bb71=>{const _0x50d621=_0x1fa8ee;warnRenamed(_0x50d621(0x1c2),_0x20c221['PBsMO']),await _0x20c221['seBcq'](withTelemetry,_0x50d621(0x288),()=>configUnset(_0x30bb71['env'],_0x30bb71[_0x50d621(0x23e)]));})[_0x1fa8ee(0x358)](0x1,_0x1fa8ee(0x2eb));})[_0x4ab401(0x2b8)](_0x20c221['vpJEo'],![],_0x11d6d8=>{const _0x3190ae=_0x4ab401,_0x3dfb36={'FIjOn':_0x20c221['WXlrs'],'uperP':function(_0xe81ecf,_0x2e6369,_0x16d397){return _0xe81ecf(_0x2e6369,_0x16d397);},'omOwN':_0x20c221[_0x3190ae(0x237)],'qsgou':'string','eiAAM':_0x20c221[_0x3190ae(0x1c9)]};return _0x11d6d8[_0x3190ae(0x2b8)]('ls',![],()=>{},async()=>{const _0x545555=_0x3190ae;warnRenamed(_0x545555(0x1bd),_0x3dfb36['FIjOn']),await _0x3dfb36['uperP'](withTelemetry,'env\x20list',()=>envList());})['command']('update\x20<env-name>',![],_0x3a7a59=>{const _0xf22573=_0x3190ae;return _0x3a7a59[_0xf22573(0x1a4)](_0x3dfb36['omOwN'],{'type':_0x3dfb36['qsgou'],'description':_0x3dfb36[_0xf22573(0x310)],'demandOption':!![]});},async _0x176035=>{const _0x3606af=_0x3190ae;warnRenamed(_0x20c221['ankcM'],'ranger\x20profile\x20update'),await withTelemetry(_0x20c221[_0x3606af(0x31e)],_0x2bbb8e=>updateEnv(_0x176035['env-name'],_0x2bbb8e));})[_0x3190ae(0x358)](0x1,_0x20c221['HWCdC']);})[_0x4ab401(0x2b8)](_0x4ab401(0x2c7),![],_0x3a860a=>{const _0x37e5a0=_0x4ab401,_0x5e1dc8={'YqsWN':_0x37e5a0(0x1b9),'zHpKr':_0x20c221[_0x37e5a0(0x246)],'ppqRm':_0x20c221[_0x37e5a0(0x1cc)],'dhakU':_0x20c221['GXunB'],'aLvZj':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','yfIju':_0x37e5a0(0x1b8),'ePWZD':_0x37e5a0(0x275),'ZvTqd':function(_0x3b1a4d,_0x5d0619,_0x37aad6,_0x444468){const _0x3d43e3=_0x37e5a0;return _0x20c221[_0x3d43e3(0x370)](_0x3b1a4d,_0x5d0619,_0x37aad6,_0x444468);},'rRZkP':function(_0x8ca1b6,_0x4abc05,_0x52290b){const _0x211de4=_0x37e5a0;return _0x20c221[_0x211de4(0x23d)](_0x8ca1b6,_0x4abc05,_0x52290b);},'xcSWg':'boolean','StCgQ':'limit','awubJ':'number','kZoQV':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','VrVlH':'offset','UUmUP':_0x37e5a0(0x2f1),'DUCMT':_0x20c221[_0x37e5a0(0x1ba)],'rzuog':_0x20c221['zKodc'],'AHbKu':function(_0xd3a22b,_0x34aa0f,_0xcb6f22){const _0x5ba9a6=_0x37e5a0;return _0x20c221[_0x5ba9a6(0x2e2)](_0xd3a22b,_0x34aa0f,_0xcb6f22);},'AKMrQ':_0x37e5a0(0x1b4),'bJxJr':_0x20c221[_0x37e5a0(0x2a4)]};return _0x3a860a[_0x37e5a0(0x2b8)]('create\x20<name>',![],_0x50e906=>{const _0x89c80=_0x37e5a0;return _0x50e906['positional'](_0x5e1dc8['YqsWN'],{'type':'string','description':_0x5e1dc8[_0x89c80(0x263)],'demandOption':!![]})['option'](_0x89c80(0x1de),{'type':_0x5e1dc8[_0x89c80(0x300)],'alias':'d','description':_0x5e1dc8['dhakU']})['option']('checklist',{'type':_0x89c80(0x275),'alias':'c','description':_0x5e1dc8[_0x89c80(0x1e7)]})[_0x89c80(0x1e3)](_0x5e1dc8['yfIju'],{'type':_0x5e1dc8[_0x89c80(0x200)],'hidden':!![]});},async _0x3a2016=>{const _0x4bcc2e=_0x37e5a0;warnRenamed(_0x4bcc2e(0x318),_0x4bcc2e(0x1e1)),_0x5e1dc8['ZvTqd'](warnFlagRenamed,_0x4bcc2e(0x1e1),'--checklist','--scenario');const _0x579a55=_0x3a2016['scenario']||_0x3a2016[_0x4bcc2e(0x1dc)];await _0x5e1dc8[_0x4bcc2e(0x2aa)](withTelemetry,'feature\x20create',()=>featureCreate(_0x3a2016[_0x4bcc2e(0x1b9)],{'description':_0x3a2016['description'],'scenarios':_0x579a55}));})['command'](_0x37e5a0(0x214),![],_0x4509e9=>{const _0x49fdd3=_0x37e5a0;return _0x4509e9['option'](_0x49fdd3(0x2e8),{'type':_0x5e1dc8[_0x49fdd3(0x339)],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option'](_0x5e1dc8['StCgQ'],{'type':_0x5e1dc8[_0x49fdd3(0x1f6)],'alias':'l','description':_0x5e1dc8['kZoQV'],'default':0xa})['option'](_0x5e1dc8['VrVlH'],{'type':'number','alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option']('include-deleted',{'type':_0x5e1dc8['xcSWg'],'alias':'d','description':_0x5e1dc8['UUmUP'],'default':![]});},async _0x49faf0=>{const _0x30392b=_0x37e5a0;warnRenamed('ranger\x20feature\x20list','ranger\x20list'),await _0x5e1dc8['rRZkP'](withTelemetry,_0x30392b(0x1f0),()=>featureList({'currentBranch':_0x49faf0[_0x30392b(0x2e8)],'limit':_0x49faf0['limit'],'offset':_0x49faf0[_0x30392b(0x1b1)],'includeDeleted':_0x49faf0['include-deleted']}));})[_0x37e5a0(0x2b8)](_0x20c221['EIwnF'],![],_0x37ce8b=>{const _0x42417c=_0x37e5a0;return _0x37ce8b['positional']('id',{'type':_0x5e1dc8[_0x42417c(0x300)],'description':'Feature\x20review\x20ID'});},async _0x593aed=>{const _0x285b2c=_0x37e5a0;_0x20c221['tVRwl'](warnRenamed,_0x285b2c(0x1ab),_0x285b2c(0x34b)),await _0x20c221['lZpii'](withTelemetry,'feature\x20show',()=>featureShow(_0x593aed['id']));})[_0x37e5a0(0x2b8)](_0x20c221['DXGeu'],![],_0x46ab1d=>{const _0x1c7b04=_0x37e5a0;return _0x46ab1d[_0x1c7b04(0x1a4)]('id',{'type':_0x20c221[_0x1c7b04(0x1cc)],'description':_0x20c221[_0x1c7b04(0x338)]});},async _0xc744cb=>{const _0x48f7ad=_0x37e5a0;warnRenamed('ranger\x20feature\x20resume','ranger\x20resume'),await withTelemetry(_0x20c221[_0x48f7ad(0x321)],()=>featureResume(_0xc744cb['id']));})['command']('add-checklist-item\x20<description>',![],_0x112bec=>{const _0x4af707=_0x37e5a0;return _0x112bec[_0x4af707(0x1a4)]('description',{'type':_0x20c221[_0x4af707(0x1cc)],'description':'Scenario\x20description','demandOption':!![]})[_0x4af707(0x1e3)]('id',{'type':_0x4af707(0x24a),'description':_0x20c221['PFZrA']});},async _0x180ca7=>{const _0x39927a=_0x37e5a0;_0x5e1dc8['rRZkP'](warnRenamed,_0x39927a(0x33b),_0x5e1dc8[_0x39927a(0x372)]),await _0x5e1dc8['rRZkP'](withTelemetry,_0x5e1dc8['rzuog'],()=>featureAddScenario(_0x180ca7[_0x39927a(0x1de)],_0x180ca7['id']));})[_0x37e5a0(0x2b8)](_0x20c221[_0x37e5a0(0x1ea)],![],_0x19cce6=>{const _0x590453=_0x37e5a0;return _0x19cce6[_0x590453(0x1a4)]('id',{'type':_0x20c221['huQfd'],'description':_0x20c221[_0x590453(0x19c)]});},async _0x364047=>{const _0x3945e4=_0x37e5a0;_0x5e1dc8['AHbKu'](warnRenamed,_0x3945e4(0x30b),_0x5e1dc8[_0x3945e4(0x1be)]),await _0x5e1dc8[_0x3945e4(0x2aa)](withTelemetry,_0x5e1dc8['bJxJr'],()=>featureGetReview(_0x364047['id']));})[_0x37e5a0(0x2b8)](_0x37e5a0(0x27e),![],_0x289e24=>{const _0x39b6aa=_0x37e5a0;return _0x289e24['positional']('id',{'type':_0x20c221['huQfd'],'description':_0x20c221[_0x39b6aa(0x201)]});},async _0x50fbd7=>{const _0xa86e9e=_0x37e5a0;warnRenamed(_0x20c221[_0xa86e9e(0x1f4)],_0xa86e9e(0x344)),await _0x20c221[_0xa86e9e(0x290)](withTelemetry,_0x20c221[_0xa86e9e(0x36c)],()=>featureDelete(_0x50fbd7['id']));})[_0x37e5a0(0x2b8)]('restore\x20<id>',![],_0x53698e=>{const _0x5aee4a=_0x37e5a0;return _0x53698e[_0x5aee4a(0x1a4)]('id',{'type':_0x20c221[_0x5aee4a(0x1cc)],'description':_0x5aee4a(0x210),'demandOption':!![]});},async _0x576683=>{const _0x1531a4=_0x37e5a0;_0x20c221['rHLms'](warnRenamed,_0x20c221['wxRsH'],_0x20c221[_0x1531a4(0x33a)]),await withTelemetry(_0x20c221['IBqpm'],()=>featureRestore(_0x576683['id']));})[_0x37e5a0(0x358)](0x1,_0x20c221['khLsg']);})['command']('hook',![],_0x96e8e7=>{const _0x242fbe=_0x4ab401,_0x289580={'BTsOH':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','Zobah':_0x242fbe(0x289),'UUwwQ':_0x242fbe(0x24a)};return _0x96e8e7[_0x242fbe(0x2b8)](_0x20c221['RbgbH'],'Enable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x11fec2=>{const _0x2dfd7f=_0x242fbe;return _0x11fec2[_0x2dfd7f(0x1e3)]('session-id',{'type':_0x2dfd7f(0x24a),'description':_0x289580[_0x2dfd7f(0x307)]});},async _0x12b4db=>{const _0x5e39f5=_0x242fbe;await withTelemetry(_0x289580[_0x5e39f5(0x282)],()=>hook(_0x5e39f5(0x371),_0x12b4db['session-id']));})['command'](_0x20c221['UZwuQ'],_0x242fbe(0x287),_0x1dff6c=>{const _0x472da9=_0x242fbe;return _0x1dff6c['option'](_0x472da9(0x2f2),{'type':_0x289580['UUwwQ'],'description':_0x472da9(0x235)});},async _0x489381=>{const _0x269d60=_0x242fbe;await withTelemetry('hook:disable',()=>hook('disable',_0x489381[_0x269d60(0x2f2)]));})['option'](_0x20c221['coYlD'],{'type':_0x242fbe(0x24a),'description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})[_0x242fbe(0x1e3)](_0x242fbe(0x2f2),{'type':_0x242fbe(0x24a),'description':_0x20c221[_0x242fbe(0x352)]});},async _0x3ed401=>{const _0x1e051d=_0x4ab401;_0x3ed401['name']&&await hook(_0x3ed401[_0x1e051d(0x1b9)],_0x3ed401[_0x1e051d(0x2f2)]);})[_0x4ab401(0x358)](0x1,_0x20c221[_0x4ab401(0x297)])['strictCommands']()[_0x4ab401(0x1fa)](async(_0x264ed4,_0x592f77,_0x135f08)=>{const _0x1c5c5b=_0x4ab401,_0x24829a=sanitizeArgs(process[_0x1c5c5b(0x19f)][_0x1c5c5b(0x22c)](0x2)),_0x3df42d=_0x20c221['xaDkN'](getErrorType,_0x264ed4,_0x592f77);if(_0x264ed4&&_0x264ed4[_0x1c5c5b(0x2a5)](_0x20c221[_0x1c5c5b(0x206)])){const _0x38fccd=process[_0x1c5c5b(0x19f)][0x2];console[_0x1c5c5b(0x2f0)]('\x0aUnknown\x20command:\x20'+_0x38fccd),console['error'](_0x1c5c5b(0x268));}else{if(_0x264ed4)console['error']('\x0a'+_0x264ed4+'\x0a');else _0x592f77&&console[_0x1c5c5b(0x2f0)]('\x0aError:\x20'+_0x592f77[_0x1c5c5b(0x298)]+'\x0a');}await _0x20c221[_0x1c5c5b(0x331)](logDesirePath,{'rawCommand':_0x24829a,'errorMessage':_0x264ed4||_0x592f77?.['message'],'errorType':_0x3df42d});const _0x3cae2f=_0x20c221['WWKHl'](getCurrentCollector);_0x3cae2f&&await _0x3cae2f['trackCommandError'](_0x592f77||new Error(_0x20c221['ZkxcD'](_0x264ed4,_0x20c221['UsJur']))),process[_0x1c5c5b(0x2ad)](0x1);})['epilogue'](_0x20c221[_0x4ab401(0x276)](_0x4ab401(0x2c8),_0x20c221['GkYtF'])+_0x4ab401(0x24f))['help']()['alias'](_0x20c221[_0x4ab401(0x2f4)],'h');}process[_0x4d7e20(0x25f)]['NODE_ENV']!==_0x4d7e20(0x26e)&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()['parse']());