@ranger-testing/ranger-cli 3.1.7-alpha.34400c2-56 → 3.1.7-alpha.387730d-58

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 (86) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/deleteProfile.js +1 -1
  7. package/build/commands/env.js +1 -1
  8. package/build/commands/feature.js +1 -1
  9. package/build/commands/hook.js +1 -1
  10. package/build/commands/hooks/autoPrompt.js +1 -1
  11. package/build/commands/hooks/disable.js +1 -1
  12. package/build/commands/hooks/enable.js +1 -1
  13. package/build/commands/hooks/exitPlanMode.js +1 -1
  14. package/build/commands/hooks/index.js +1 -1
  15. package/build/commands/hooks/output.js +1 -1
  16. package/build/commands/hooks/planReminder.js +1 -1
  17. package/build/commands/hooks/planStart.js +1 -1
  18. package/build/commands/hooks/postEdit.js +1 -1
  19. package/build/commands/hooks/preCompact.js +1 -1
  20. package/build/commands/hooks/sessionEnd.js +1 -1
  21. package/build/commands/hooks/sessionStart.js +1 -1
  22. package/build/commands/hooks/stopHook.js +1 -1
  23. package/build/commands/index.js +1 -1
  24. package/build/commands/login.js +1 -1
  25. package/build/commands/mcpBootstrap.js +1 -1
  26. package/build/commands/migrateProfile.js +1 -1
  27. package/build/commands/setup/claude.js +1 -1
  28. package/build/commands/setup/opencode.js +1 -1
  29. package/build/commands/setupCi.js +1 -1
  30. package/build/commands/skillup.js +1 -1
  31. package/build/commands/start.js +1 -1
  32. package/build/commands/status.js +1 -1
  33. package/build/commands/update.js +1 -1
  34. package/build/commands/updateEnv.js +1 -1
  35. package/build/commands/useEnv.js +1 -1
  36. package/build/commands/utils/activeProfile.js +1 -1
  37. package/build/commands/utils/agentEnv.js +1 -1
  38. package/build/commands/utils/browserSessionsApi.js +1 -1
  39. package/build/commands/utils/claudeConfig.js +1 -1
  40. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  41. package/build/commands/utils/claudePlugin.js +1 -1
  42. package/build/commands/utils/cloudProfile.js +1 -1
  43. package/build/commands/utils/cloudProfileSession.js +1 -1
  44. package/build/commands/utils/crypto.js +1 -1
  45. package/build/commands/utils/desirePathLog.js +1 -1
  46. package/build/commands/utils/deviceAuth.js +1 -1
  47. package/build/commands/utils/environment.js +1 -1
  48. package/build/commands/utils/featureApi.js +1 -1
  49. package/build/commands/utils/fixWebmDuration.js +1 -1
  50. package/build/commands/utils/gitTracked.js +1 -1
  51. package/build/commands/utils/keychain.js +1 -1
  52. package/build/commands/utils/legacyWarning.js +1 -1
  53. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  54. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  55. package/build/commands/utils/mcpImageBase64.js +1 -1
  56. package/build/commands/utils/model.js +1 -1
  57. package/build/commands/utils/novaActCli.js +1 -1
  58. package/build/commands/utils/opencodeConfig.js +1 -1
  59. package/build/commands/utils/organizationEnvApi.js +1 -1
  60. package/build/commands/utils/playwrightCli.js +1 -1
  61. package/build/commands/utils/profileMessages.js +1 -1
  62. package/build/commands/utils/profileSetupBanner.js +1 -1
  63. package/build/commands/utils/projectsConfig.js +1 -1
  64. package/build/commands/utils/rangerConfig.js +1 -1
  65. package/build/commands/utils/rangerRoot.js +1 -1
  66. package/build/commands/utils/rangerwrightCli.js +1 -1
  67. package/build/commands/utils/resolveProfileContext.js +1 -1
  68. package/build/commands/utils/resolveProfileUrl.js +1 -1
  69. package/build/commands/utils/retry.js +1 -1
  70. package/build/commands/utils/scenarioOriginCheck.js +1 -1
  71. package/build/commands/utils/sessionCache.js +1 -1
  72. package/build/commands/utils/settings.js +1 -1
  73. package/build/commands/utils/skillContent.js +1 -1
  74. package/build/commands/utils/skills.js +1 -1
  75. package/build/commands/utils/stitchWebmFiles.js +1 -1
  76. package/build/commands/utils/telemetry.js +1 -1
  77. package/build/commands/utils/tokenRefresh.js +1 -1
  78. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  79. package/build/commands/utils/tunnelClient.js +1 -1
  80. package/build/commands/utils/userApi.js +1 -1
  81. package/build/commands/utils/version.js +1 -1
  82. package/build/commands/verifyFeature.js +1 -1
  83. package/build/commands/verifyFeatureCli.js +1 -1
  84. package/build/commands/verifyFeatureNovaCli.js +1 -1
  85. package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
  86. 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 _0xcffea2=_0xd8f6;(function(_0xf39ad8,_0x3e6da5){const _0x31dcfe=_0xd8f6,_0xa8bfd2=_0xf39ad8();while(!![]){try{const _0x3513f4=-parseInt(_0x31dcfe(0x2be))/0x1*(-parseInt(_0x31dcfe(0x27d))/0x2)+parseInt(_0x31dcfe(0x2e3))/0x3*(-parseInt(_0x31dcfe(0x1a1))/0x4)+-parseInt(_0x31dcfe(0x1fa))/0x5+-parseInt(_0x31dcfe(0x242))/0x6*(-parseInt(_0x31dcfe(0x289))/0x7)+parseInt(_0x31dcfe(0x1e3))/0x8*(-parseInt(_0x31dcfe(0x248))/0x9)+parseInt(_0x31dcfe(0x1a3))/0xa*(parseInt(_0x31dcfe(0x1c4))/0xb)+parseInt(_0x31dcfe(0x20f))/0xc*(-parseInt(_0x31dcfe(0x228))/0xd);if(_0x3513f4===_0x3e6da5)break;else _0xa8bfd2['push'](_0xa8bfd2['shift']());}catch(_0x3a948d){_0xa8bfd2['push'](_0xa8bfd2['shift']());}}}(_0x205e,0x530d5));function _0x205e(){const _0xbd8ee8=['ugehu','QcXsx','model','ranger\x20feature\x20create','add\x20env','profiles','80GZhCqm','cdp-endpoint','isArray','ggFQw','MhjIh','ranger\x20setup\x20profiles\x20--scope=','filter','check','name','config\x20set','ddpoa','start-path','7txPrIr','help','BkjNE','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','pxsxh','yighL','UxxWt','Update\x20authentication\x20for\x20an\x20existing\x20profile','imEEK','mcENj','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','ZKXsy','NSPmi','\x20is\x20now\x20','AcsSy','LrIIH','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','\x20INCOMPLETE','ranger\x20profile\x20config\x20unset','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','opencode','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','force','gZwUT','forEach','error','MWXpo','UdftF','EAlWD','set\x20<profile>\x20<key>\x20<value>','root','Xkhgb','blocked','CXOgl','asXbJ','TyDtH','\x20BLOCKED','epilogue','FAKKw','feature\x20resume','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','ranger\x20add-scenario','Include\x20soft-deleted\x20feature\x20reviews','IUmvO','profile\x20use','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.','yes','qFODQ','Proceed\x20even\x20when\x20the\x20selected\x20scenario\x20names\x20a\x20URL\x20on\x20a\x20different\x20origin\x20than\x20the\x20resolved\x20target','command','qCAZB','You\x20must\x20specify\x20an\x20env\x20subcommand','ZnDZX','211VkkFQX','playwright-cli','YbkXO','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','VWnKn','allow-insecure-localhost','OTHGM','toQzb','scriptName','Subcommand\x20or\x20API\x20token\x20(rngr_...)','NcDGx','ranger\x20feature\x20resume','TqXMn','profile\x20config\x20unset','pVzol','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','setup:login','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','feature','rangerwright-cli','skip-auth','setup:profiles','Skip\x20interactive\x20confirmation\x20prompts.','ranger\x20resume','mcp-bootstrap','Profile\x20name','atQvJ','xOHPw','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.','scope','FWKHX','\x0aIssues:','CYHKt','delete\x20[id]','lrxef','update\x20<profile-name>','setup-header','129cLGJJr','.ranger','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','yBDwf','CAqte','FFwnj','start','RANGER_PROFILE','IQURY','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','safe-mode','qdNgR','tIzoJ','xrUWT','xUeQL','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','Set\x20a\x20config\x20value','cQYcq','environment-variable','exclude-scenario','gcwoU','feature\x20add-checklist-item','ranger\x20profile\x20config\x20set','ruRWt','PQOiz','verified','nxUGM','debug-address-comments','XdFHQ','HMFst','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','description','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','issues','setup:deps','HZgYw','evaluationReason','bJKKR','SNupV','GqnLu','Name\x20of\x20the\x20profile\x20to\x20update','tKkIY','Ranger\x20API\x20token\x20(rngr_...)','pcGVd','hook:disable','TzMKq','hook:enable','Skip\x20the\x20deletion\x20confirmation\x20prompt.','setup-ci\x20<token>','AlyIp','iOYQX','Feature\x20review\x20ID','You\x20must\x20specify\x20a\x20profile\x20subcommand','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','VRYAD','Feature\x20review\x20ID\x20to\x20restore','ijsOm','SjDKM','fBYVU','OSmUP','summary','cbZcs','\x20FAILED','ranger\x20create','JvqpK','dry-run','ranger\x20profile\x20use','WERPp','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','demandCommand','WkbbY','MNExq','hkgYx','tokenOrSubcommand','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','FcjpA','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','MyznW','base-url','env','skip-chromium','mcp','Reason:\x20','\x20is\x20no\x20longer\x20supported.\x20','token','ISaHM','vwznP','New\x20scenario\x20description','rKySz','ranger\x20restore','UjCBc','eWWUn','urfJE','aBWDs','WfXdf','mFuCJ','number','dDYpT','HGkOs','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','Scenario\x20index\x20(1-based)','profile-name','Manage\x20profile\x20configuration','profile','nyHSD','ranger\x20profile\x20config\x20list','value','Login\x20failed:\x20','ranger\x20config\x20unset','Example:\x20ranger\x20create\x20my-feature','ndpMz','jMiDC','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','ranger','cuQyF','profile\x20config\x20get','UWBII','Environment\x20name','CiWsC','ranger\x20auth\x20encrypt','string','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','current-branch','vqedb','Config\x20value','length','profile\x20update','feature\x20create','GhgRU','UajzD','RANGER_TEST_PASSWORD','--task','with-deps','feature\x20show','QVPOw','List\x20all\x20config\x20for\x20a\x20profile','mHUXd','dmTUq','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','KsdWW','aDXjZ','OdmMd','NlDbh','120XUAPEj','mqSSr','70qQfxMi','tawau','XgXNC','profile\x20config\x20reset','config\x20unset','IXiFh','allow-url-mismatch','kYdHh','zdDrj','add-checklist-item\x20<description>','debug-outcome','include-deleted','EJkje','WSwyG','ZrCqu','save-creds','create','QlVgu','deps','unset\x20<profile>\x20<key>','VDKpY','mYfeM','Run\x20full\x20interactive\x20setup','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','NMGaB','Summary:\x20','Number\x20of\x20feature\x20reviews\x20to\x20skip','option','oztLU','fGLtz','KwcVj','ZITvY','mPBFo','538318yYlUki','.env','gfawh','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','hJDHs','--checklist','rYRyW','argv','XeILA','manual','yczED','Authenticate\x20with\x20Ranger','Install\x20OS-level\x20dependencies\x20for\x20Chromium','DHzGr','ranger\x20delete','Config\x20key\x20to\x20remove','ranger\x20feature\x20list','HRUGB','MFGaD','startsWith','PWzAS','nDXfQ','JSTKF','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','status','profile\x20ls','jlpQq','incomplete','dPpVL','OBrYE','CERjO','160BKkEuB','Optional\x20feature\x20ID','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','eeFuw','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','DnIMe','flatMap','url','scenario','zxcJe','PcgEL','Skip\x20authentication','env-name','Unknown\x20command','skillup','olSjk','list\x20<profile>','ranger\x20profile\x20encrypt-auth','uEPCg','ranger\x20config\x20list','Base\x20URL\x20of\x20the\x20running\x20app','log','2626570usWVnZ','list','Scenario\x20description','Feature\x20review\x20name','NZhmZ','ranger\x20list','evaluation','unset\x20<env>\x20<key>','\x0aUnknown\x20command:\x20','Vbrtk','Install\x20Chromium\x20browser\x20binary','JqKts','xTfCE','MErTw','get-review','yjzTR','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','feature\x20get-feedback','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','repeat','96IKRdyf','exitCode','boolean','resume\x20[id]','xGqGG','jCNNM','checklist','UEMZN','VNoHO','iTKpc','FEgmp','--scenario','MdSYC','setup:all','Feature\x20review\x20description','Dgliu','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','--notes','zNwGF','rPAju','login\x20<name>','QphAF','CmyCq','uADnQ','✓\x20Authenticated\x20to\x20','45032JvXqUU','positional','nSgxM','user','key','MmbrS','Cloud\x20profile\x20name','olyVk','vJhMJ','disable','task','env-var','bgbsT','uNdjB','map','add\x20<profile-name>','all','skills','bXiNl','offset','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','Scxej','mKblJ','ranger\x20env\x20update','\x20VERIFIED','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`.','3361866YHdFaS','Get\x20a\x20config\x20value','lgYdo','ranger\x20get-review','Ranger\x20API\x20token','pGbsZ','7569uwTRIf','DHhWr','partial','auth','array','failed','some','profile\x20config\x20set','ualfc','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','--item','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','HolbR','yPUci','update\x20<env-name>','fwXSI','delete\x20<profile-name>','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','XUkpb','json','headed','qJfWW','report\x20[id]','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.','Scenario\x20number\x20to\x20edit\x20(1-based)','EShfP','test_output','ZeiKa','project','nXcFN','exit','JJZnS','JJpyn','fDeJs','not_configured','add-scenario','Install\x20scope\x20for\x20plugin\x20and\x20skills','zFuQC','Pmzkp','login','qRhWK','Uvohw','fNeSY','exjOF','ZahyO','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','VaSUo'];_0x205e=function(){return _0xbd8ee8;};return _0x205e();}import _0x7e9b20 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x4826ab=_0xd8f6,_0x1e6117={'IUmvO':function(_0x434b6a,_0x1fdd1b){return _0x434b6a(_0x1fdd1b);},'SpjfY':function(_0x35b553,_0x2e5c72){return _0x35b553!==_0x2e5c72;},'XhgPI':function(_0x1b39fa,_0x4bf903){return _0x1b39fa(_0x4bf903);},'xMlxG':function(_0x14fbcf,_0x246751,_0x495d70){return _0x14fbcf(_0x246751,_0x495d70);},'DPbOz':_0x4826ab(0x2e4),'YKMye':_0x4826ab(0x1c5)};let _0x5c8fd6=process['cwd']();const _0x2142e4=_0x1e6117[_0x4826ab(0x2b4)](parse,_0x5c8fd6)[_0x4826ab(0x2a7)];while(_0x1e6117['SpjfY'](_0x5c8fd6,_0x2142e4)){if(_0x1e6117['XhgPI'](existsSync,_0x1e6117['xMlxG'](join,_0x5c8fd6,_0x1e6117['DPbOz']))||existsSync(join(_0x5c8fd6,_0x1e6117['YKMye'])))return _0x5c8fd6;_0x5c8fd6=_0x1e6117['IUmvO'](dirname,_0x5c8fd6);}return process['cwd']();}_0x7e9b20['config']({'path':join(findProjectRoot(),'.env')});import _0x41fcaa 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';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 _0xb9a566=>{const _0x25322e=_0xd8f6,_0x517e6b={'UEMZN':function(_0x4c118d){return _0x4c118d();}},_0x444b32=_0x517e6b[_0x25322e(0x216)](getCurrentCollector);_0x444b32&&await _0x444b32['trackCommandError'](_0xb9a566),process[_0x25322e(0x210)]=0x1;});const rawArgs=process[_0xcffea2(0x1cb)]['slice'](0x2),TOP_LEVEL_HELP=_0xcffea2(0x2da),PROFILE_HELP=_0xcffea2(0x299),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(_0x4c0de8,_0x48c27a){const _0x5aa4b4=_0xcffea2;console[_0x5aa4b4(0x2a2)]('\x0a'+_0x4c0de8+_0x5aa4b4(0x296)+_0x48c27a+'\x0a');}function argUsed(_0x3517e9){const _0x52e383=_0xcffea2;return rawArgs[_0x52e383(0x24e)](_0x3006c6=>_0x3006c6===_0x3517e9||_0x3006c6[_0x52e383(0x1d7)](_0x3517e9+'='));}function warnFlagRenamed(_0x2daf8c,_0x543961,_0x3e00ea){const _0x3348eb=_0xcffea2,_0x485768={'HZgYw':function(_0x2b46cc,_0x5df085,_0xad3a7a){return _0x2b46cc(_0x5df085,_0xad3a7a);}};argUsed(_0x543961)&&_0x485768[_0x3348eb(0x306)](warnRenamed,_0x2daf8c+'\x20'+_0x543961,_0x2daf8c+'\x20'+_0x3e00ea);}function _0xd8f6(_0x2f25d0,_0x275a7e){_0x2f25d0=_0x2f25d0-0x14e;const _0x205e8e=_0x205e();let _0xd8f667=_0x205e8e[_0x2f25d0];return _0xd8f667;}function normalizeEnvVarNames(_0x505104){const _0x54b73a=_0xcffea2,_0x6adb04=Array[_0x54b73a(0x27f)](_0x505104)?_0x505104:_0x505104?[_0x505104]:[];return _0x6adb04[_0x54b73a(0x1ea)](_0x551b71=>String(_0x551b71)['split'](',')['map'](_0x144c85=>_0x144c85['trim']())[_0x54b73a(0x283)](Boolean));}async function runGoCommand(_0x37afc3,_0x5ddf7b=![]){const _0x4486f2=_0xcffea2,_0x2421e9={'FFBlu':function(_0x31cc59,_0x4ad6a0){return _0x31cc59+_0x4ad6a0;},'oztLU':'ranger\x20verify-feature','TzMKq':function(_0x176bc9,_0xc9877e,_0x5b42d4,_0x3760a4){return _0x176bc9(_0xc9877e,_0x5b42d4,_0x3760a4);},'vSkZw':'--env','CXOgl':'--profile','ZnDZX':function(_0x50eefc,_0x102a94,_0x203b20,_0x69ec5c){return _0x50eefc(_0x102a94,_0x203b20,_0x69ec5c);},'xOHPw':_0x4486f2(0x195),'FWKHX':'ranger\x20go','yBDwf':_0x4486f2(0x252),'cDwSd':_0x4486f2(0x21a),'eeFuw':function(_0x3267e6){return _0x3267e6();},'rsWcX':_0x4486f2(0x233),'ekyjk':function(_0x1a33d0,_0x151be1){return _0x1a33d0>_0x151be1;},'YitVZ':function(_0x4f516d,_0xe330f5){return _0x4f516d!==_0xe330f5;},'vNevt':_0x4486f2(0x2d1),'tawau':'start-path','VDKpY':_0x4486f2(0x2fc),'QdLdB':function(_0x438ae9,_0x40eab4){return _0x438ae9===_0x40eab4;},'SjDKM':_0x4486f2(0x1df),'aISgx':_0x4486f2(0x29a),'exjOF':_0x4486f2(0x24a),'asXbJ':'\x20PARTIAL','zUpdX':'blocked','xGqGG':_0x4486f2(0x2dd)};_0x5ddf7b&&(warnRenamed(_0x2421e9[_0x4486f2(0x1bf)],'ranger\x20go'),_0x2421e9[_0x4486f2(0x310)](warnFlagRenamed,_0x2421e9[_0x4486f2(0x1bf)],_0x2421e9['vSkZw'],_0x2421e9[_0x4486f2(0x2aa)]));_0x2421e9[_0x4486f2(0x2bd)](warnFlagRenamed,'ranger\x20go',_0x2421e9[_0x4486f2(0x2d9)],_0x4486f2(0x220)),warnFlagRenamed(_0x2421e9[_0x4486f2(0x2dc)],_0x2421e9[_0x4486f2(0x2e6)],_0x2421e9['cDwSd']);const _0x5e0496=await _0x2421e9[_0x4486f2(0x1e6)](loadRangerConfig),_0x18d6d5=_0x2421e9['eeFuw'](isByokEnabled),_0x30c424=_0x37afc3[_0x4486f2(0x279)],_0x6f4ed9=_0x5e0496[_0x4486f2(0x279)],_0x459043=normalizeEnvVarNames(_0x37afc3[_0x2421e9['rsWcX']]),_0x4120a4=_0x2421e9[_0x4486f2(0x1e6)](getVerificationTransport);if(_0x2421e9['ekyjk'](_0x459043['length'],0x0)&&_0x2421e9['YitVZ'](_0x4120a4,_0x4486f2(0x2bf))&&_0x4120a4!==_0x2421e9['vNevt'])throw new Error(_0x4486f2(0x29c)+_0x4120a4+'.');const _0x15159d=await verifyFeature({'featureId':_0x37afc3[_0x4486f2(0x2d0)],'profile':_0x37afc3[_0x4486f2(0x179)]??(_0x5ddf7b?_0x37afc3['env']:undefined)??process['env'][_0x4486f2(0x2ea)],'authEnv':_0x5ddf7b?undefined:_0x37afc3[_0x4486f2(0x161)]??process[_0x4486f2(0x161)]['RANGER_AUTH_ENV'],'notes':_0x37afc3['notes']??_0x37afc3['task'],'check':_0x37afc3['check'],'scenario':_0x37afc3['scenario']??_0x37afc3['item'],'startPath':_0x37afc3[_0x2421e9[_0x4486f2(0x1a4)]],'baseUrl':_0x37afc3[_0x4486f2(0x160)],'debugOutcome':_0x37afc3['debug-outcome'],'debugAddressComments':_0x37afc3['debug-address-comments'],'headed':_0x37afc3[_0x4486f2(0x25c)],'verifierEnvVars':_0x459043,'allowUrlMismatch':_0x37afc3['allow-url-mismatch'],'byokEnabled':_0x18d6d5,'flagVerifyModel':_0x30c424,'configVerifyModel':_0x6f4ed9});console['log']('\x0a'+'='[_0x4486f2(0x20e)](0x3c)),console[_0x4486f2(0x1f9)](_0x15159d['evaluation']===_0x2421e9['VDKpY']?_0x4486f2(0x240):_0x2421e9['QdLdB'](_0x15159d[_0x4486f2(0x200)],_0x2421e9[_0x4486f2(0x31c)])?_0x2421e9['aISgx']:_0x15159d['evaluation']===_0x2421e9[_0x4486f2(0x273)]?_0x2421e9[_0x4486f2(0x2ab)]:_0x15159d[_0x4486f2(0x200)]===_0x2421e9['zUpdX']?_0x4486f2(0x2ad):_0x4486f2(0x150)),console[_0x4486f2(0x1f9)]('='['repeat'](0x3c)),console[_0x4486f2(0x1f9)](_0x4486f2(0x1bc)+_0x15159d[_0x4486f2(0x14e)]),console['log']('Evaluation:\x20'+_0x15159d['evaluation']),console[_0x4486f2(0x1f9)](_0x4486f2(0x164)+_0x15159d[_0x4486f2(0x307)]),_0x15159d['issues']?.[_0x4486f2(0x18f)]&&(console[_0x4486f2(0x1f9)](_0x2421e9[_0x4486f2(0x213)]),_0x15159d[_0x4486f2(0x304)][_0x4486f2(0x2a1)]((_0x3c4228,_0x3b738e)=>{const _0x50bd5a=_0x4486f2;console[_0x50bd5a(0x1f9)]('\x0a'+_0x2421e9['FFBlu'](_0x3b738e,0x1)+'.\x20['+_0x3c4228['severity']+']\x20'+_0x3c4228[_0x50bd5a(0x302)]);})),process[_0x4486f2(0x266)](_0x2421e9['QdLdB'](_0x15159d['evaluation'],_0x2421e9[_0x4486f2(0x1b7)])?0x0:0x1);}export function buildParser(_0x1e0e73){const _0x11c8dc=_0xcffea2,_0x4ea421={'zoNJg':_0x11c8dc(0x285),'yjzTR':_0x11c8dc(0x18a),'atQvJ':'scenario','eWWUn':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','VRYAD':_0x11c8dc(0x24c),'imEEK':function(_0x2353e9,_0x22e8e9){return _0x2353e9+_0x22e8e9;},'zFuQC':_0x11c8dc(0x2c1),'DVomp':_0x11c8dc(0x151),'LrIIH':_0x11c8dc(0x21a),'cQYcq':function(_0x1689ef,_0x424679,_0x42644a){return _0x1689ef(_0x424679,_0x42644a);},'ifwcs':_0x11c8dc(0x1b3),'INIAT':_0x11c8dc(0x18c),'iTKpc':_0x11c8dc(0x172),'NMGaB':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','dDYpT':'offset','XDBcS':'Number\x20of\x20feature\x20reviews\x20to\x20skip','vJhMJ':_0x11c8dc(0x1ae),'ZahyO':'Include\x20soft-deleted\x20feature\x20reviews','DnIMe':_0x11c8dc(0x1fb),'pGbsZ':'Feature\x20review\x20ID','mHUXd':'resume','RNYSh':_0x11c8dc(0x302),'xTfCE':_0x11c8dc(0x1fc),'WfXdf':_0x11c8dc(0x260),'bgPpD':function(_0x4517ff,_0x17a0df,_0x37a85b){return _0x4517ff(_0x17a0df,_0x37a85b);},'rYRyW':'edit-scenario','NlDbh':_0x11c8dc(0x211),'PIQRz':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','FEgmp':function(_0xab8c06,_0x17e665,_0x4d023f){return _0xab8c06(_0x17e665,_0x4d023f);},'sigiT':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','lcaaq':_0x11c8dc(0x31a),'pcGVd':'restore','HMFst':'token','eIcMd':_0x11c8dc(0x162),'ziXsj':'skip-auth','uFNBN':_0x11c8dc(0x1d0),'pxsxh':'scope','AlyIp':'url','UWBII':'force','GEtVC':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','xrUWT':_0x11c8dc(0x29d),'JSTKF':'mcp-bootstrap','PQOiz':'mcp','JqKts':'Alias\x20for\x20--mcp-bootstrap','dsbnG':_0x11c8dc(0x30d),'vaPSP':_0x11c8dc(0x2ce),'DTySg':_0x11c8dc(0x264),'XUkpb':function(_0x26ce8c,_0x2966c8){return _0x26ce8c!==_0x2966c8;},'CiWsC':'user','zdDrj':function(_0xa681a3,_0x53de9e){return _0xa681a3+_0x53de9e;},'QphAF':function(_0x33b0eb,_0x2aa85e,_0x3d2842){return _0x33b0eb(_0x2aa85e,_0x3d2842);},'bRFfj':_0x11c8dc(0x2d3),'DITtG':_0x11c8dc(0x21c),'OSmUP':'with-deps','qRhWK':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','IBBgx':function(_0x3e8366,_0x41ada6){return _0x3e8366(_0x41ada6);},'nRWGn':'setup:skills','ZTvcT':'Skip\x20browser\x20authentication','PcgEL':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','NSPmi':'tokenOrSubcommand','gfawh':_0x11c8dc(0x2c7),'mltcj':_0x11c8dc(0x1b9),'aBWDs':_0x11c8dc(0x1cf),'yPUci':_0x11c8dc(0x27c),'OTHGM':'Set\x20up\x20a\x20local\x20browser\x20profile','TyDtH':_0x11c8dc(0x15c),'MFGaD':_0x11c8dc(0x20d),'mSbxV':_0x11c8dc(0x15e),'ruRWt':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','HGkOs':'API\x20token','MdSYC':function(_0x423b5b,_0x5941cb,_0x3c5677){return _0x423b5b(_0x5941cb,_0x3c5677);},'IKrEV':'Ranger\x20API\x20token','GhgRU':_0x11c8dc(0x179),'MocTi':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','olyVk':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','XeILA':'setup-ci','AqgyL':_0x11c8dc(0x26f),'YUyvC':_0x11c8dc(0x1f2),'Pmzkp':function(_0x1be423,_0x52edd2,_0x23b456){return _0x1be423(_0x52edd2,_0x23b456);},'qJfWW':'clean','EgLzg':_0x11c8dc(0x177),'fNeSY':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','oiNgu':_0x11c8dc(0x27e),'xUeQL':_0x11c8dc(0x2c3),'ndpMz':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','qdNgR':'setup-header','tOaAP':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','JJpyn':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','iOYQX':'env','NcDGx':_0x11c8dc(0x2b6),'rZjEz':_0x11c8dc(0x1e5),'EShfP':function(_0x5232ce,_0x3370bd,_0x1474d1,_0x20fdf3){return _0x5232ce(_0x3370bd,_0x1474d1,_0x20fdf3);},'fwXSI':function(_0x46cb40,_0xcaefb0){return _0x46cb40(_0xcaefb0);},'ZKXsy':function(_0xb258e9,_0x5e3a56,_0x5cbafd){return _0xb258e9(_0x5e3a56,_0x5cbafd);},'LyEnV':_0x11c8dc(0x2b5),'ZITvY':'Profile\x20name','vevGl':_0x11c8dc(0x30b),'mXLdh':_0x11c8dc(0x1cd),'qkUVx':'Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','EAlWD':function(_0x47ed55,_0x279e18,_0xbbd732){return _0x47ed55(_0x279e18,_0xbbd732);},'xBybv':_0x11c8dc(0x2b7),'tVbxv':_0x11c8dc(0x1b2),'SFpiF':_0x11c8dc(0x2cb),'cyvmf':_0x11c8dc(0x2f3),'VxJbM':'get\x20<profile>\x20<key>','cuQyF':_0x11c8dc(0x243),'bXiNl':_0x11c8dc(0x1f4),'ggFQw':_0x11c8dc(0x199),'WkbbY':_0x11c8dc(0x1b6),'FMucV':'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','UdftF':'profile\x20delete','tlQhk':'unknown\x20error','NZhmZ':'profile\x20login','Scxej':'key','BqjuT':_0x11c8dc(0x237),'yczED':_0x11c8dc(0x258),'PWzAS':'encrypt-auth\x20<profile>','QlVgu':'List\x20all\x20profiles','xBneL':_0x11c8dc(0x290),'RERfz':_0x11c8dc(0x223),'gcwoU':'migrate\x20[profile-name]','tKkIY':'config','ddpoa':_0x11c8dc(0x178),'cbZcs':_0x11c8dc(0x317),'ISaHM':'status','Vbrtk':'update','KwcVj':function(_0x1fdbc9){return _0x1fdbc9();},'kutrV':_0x11c8dc(0x1e4),'Xjvke':_0x11c8dc(0x241),'CYHKt':_0x11c8dc(0x293),'ualfc':_0x11c8dc(0x2b1),'DHzGr':'model','GqnLu':'headed','vwznP':'env-var','yighL':'environment-variable','LyaWw':_0x11c8dc(0x1a9),'CmyCq':_0x11c8dc(0x2b9),'BkjNE':'verified','dmTUq':_0x11c8dc(0x1df),'yMtOf':_0x11c8dc(0x25f),'VaSUo':_0x11c8dc(0x232),'mcENj':'You\x20must\x20specify\x20an\x20auth\x20subcommand','OcBfD':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','olSjk':'ranger\x20setup','Xkhgb':function(_0x4b9ee7,_0xd793b9,_0x17c85a){return _0x4b9ee7(_0xd793b9,_0x17c85a);},'pDZez':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','PIOko':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','BUerT':'item','HACQV':'base-url','TtryD':_0x11c8dc(0x1ad),'jlpQq':'ranger\x20add\x20env','aDXjZ':'ranger\x20profile\x20add','BhlHN':function(_0x35f01f,_0x5f4c93,_0x3af46b){return _0x35f01f(_0x5f4c93,_0x3af46b);},'hkgYx':_0x11c8dc(0x27b),'fGLtz':'Name\x20of\x20the\x20environment','yAReA':function(_0x1f6728,_0x57499d,_0x20ed36){return _0x1f6728(_0x57499d,_0x20ed36);},'toQzb':_0x11c8dc(0x154),'UxxWt':_0x11c8dc(0x187),'DYdWq':'Config\x20key','ZeiKa':function(_0x5b998b,_0x4d4b3c,_0x17135d){return _0x5b998b(_0x4d4b3c,_0x17135d);},'MErTw':'ranger\x20config\x20get','rNHMu':'ranger\x20profile\x20config\x20get','ctfzh':function(_0x2433a1,_0x54dc77,_0x3f3fab){return _0x2433a1(_0x54dc77,_0x3f3fab);},'FFwnj':_0x11c8dc(0x1f7),'UajzD':_0x11c8dc(0x301),'mYfeM':'set\x20<env>\x20<key>\x20<value>','gZwUT':'get\x20<env>\x20<key>','pVzol':_0x11c8dc(0x201),'yRVyQ':'ranger\x20profile\x20ls','kYdHh':'env\x20list','lrxef':_0x11c8dc(0x1f0),'SUuUA':_0x11c8dc(0x23f),'ZrCqu':function(_0x3cdc19,_0x2274cd,_0x563510){return _0x3cdc19(_0x2274cd,_0x563510);},'sJKbS':_0x11c8dc(0x256),'hbwxc':_0x11c8dc(0x2bc),'fBYVU':function(_0x4c6f47,_0x1244ef,_0x5709aa){return _0x4c6f47(_0x1244ef,_0x5709aa);},'urfJE':_0x11c8dc(0x1ff),'wzELl':'ranger\x20feature\x20show','FAKKw':'ranger\x20feature\x20add-checklist-item','IXiFh':_0x11c8dc(0x1d2),'mqSSr':'feature\x20delete','oeiKy':_0x11c8dc(0x212),'rPAju':'get-feedback\x20[id]','bgbsT':'restore\x20<id>','gvQNn':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','ijsOm':'session-id','nSgxM':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','qFODQ':function(_0x37a907,_0x26b6cf,_0x266d4a){return _0x37a907(_0x26b6cf,_0x266d4a);},'SzmTY':_0x11c8dc(0x30f),'lgYdo':'enable','hYhop':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','WeACA':'disable','VDPSV':_0x11c8dc(0x23c),'XgXNC':_0x11c8dc(0x1f1),'VEaYK':_0x11c8dc(0x175),'qCAZB':function(_0x32b3de,_0x4ba744){return _0x32b3de||_0x4ba744;},'CAqte':'ranger','gOITV':function(_0x12983e){return _0x12983e();},'MWXpo':_0x11c8dc(0x20b),'exuii':'add-scenario\x20<description>','SNupV':_0x11c8dc(0x2cf),'ozUmV':'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','pLnqj':_0x11c8dc(0x253),'MmbrS':'delete\x20[id]','ikUzV':'setup\x20[tokenOrSubcommand]','JvqpK':'Install\x20Ranger\x20skills','MNScK':_0x11c8dc(0x20a),'xCgzT':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','GDYmq':'print-access-token','AXUsZ':'Print\x20the\x20current\x20CLI\x20access\x20token','mgrBf':'Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','kUBez':_0x11c8dc(0x24b),'Bpelc':'verify-feature','VWnKn':'add\x20env\x20<env-name>','nxUGM':'use\x20<env-name>','uNdjB':'Documentation:\x0a'};return _0x4ea421[_0x11c8dc(0x257)](_0x41fcaa,_0x1e0e73??process[_0x11c8dc(0x1cb)]['slice'](0x2))[_0x11c8dc(0x2c6)](_0x4ea421[_0x11c8dc(0x2e7)])['usage'](TOP_LEVEL_HELP)['version'](_0x4ea421['gOITV'](getCurrentVersion))[_0x11c8dc(0x2ba)]('create\x20<name>',_0x11c8dc(0x156),_0x395356=>{const _0xc9ce22=_0x11c8dc;return _0x395356['positional'](_0x4ea421['zoNJg'],{'type':_0x4ea421['yjzTR'],'description':'Feature\x20review\x20name','demandOption':!![]})['option']('description',{'type':'string','alias':'d','description':_0xc9ce22(0x21d)})['option'](_0x4ea421[_0xc9ce22(0x2d8)],{'type':_0xc9ce22(0x24c),'alias':'c','description':_0x4ea421[_0xc9ce22(0x16d)]})[_0xc9ce22(0x1be)](_0xc9ce22(0x215),{'type':_0x4ea421['VRYAD'],'hidden':!![]});},async _0x426e5a=>{const _0x350596=_0x11c8dc;if(!_0x426e5a['name']){console['error'](_0x4ea421['imEEK'](_0x4ea421[_0x350596(0x26d)],_0x350596(0x17f))),process[_0x350596(0x266)](0x1);return;}warnFlagRenamed(_0x4ea421['DVomp'],'--checklist',_0x4ea421[_0x350596(0x298)]);const _0x19add5=_0x426e5a['scenario']||_0x426e5a[_0x350596(0x215)];await _0x4ea421['cQYcq'](withTelemetry,_0x4ea421['ifwcs'],()=>featureCreate(_0x426e5a['name'],{'description':_0x426e5a['description'],'scenarios':_0x19add5}));})[_0x11c8dc(0x2ba)]('list','List\x20all\x20feature\x20reviews',_0x1e9d42=>{const _0x2e5a46=_0x11c8dc;return _0x1e9d42['option'](_0x4ea421['INIAT'],{'type':_0x2e5a46(0x211),'description':_0x2e5a46(0x2cd)})[_0x2e5a46(0x1be)]('limit',{'type':_0x4ea421['iTKpc'],'alias':'l','description':_0x4ea421[_0x2e5a46(0x1bb)],'default':0xa})['option'](_0x4ea421['dDYpT'],{'type':_0x4ea421['iTKpc'],'alias':'o','description':_0x4ea421['XDBcS'],'default':0x0})['option'](_0x4ea421[_0x2e5a46(0x230)],{'type':_0x2e5a46(0x211),'alias':'d','description':_0x4ea421[_0x2e5a46(0x274)],'default':![]});},async _0x13b835=>{const _0x59d8fb=_0x11c8dc;await withTelemetry(_0x4ea421[_0x59d8fb(0x1e9)],()=>featureList({'currentBranch':_0x13b835['current-branch'],'limit':_0x13b835['limit'],'offset':_0x13b835[_0x59d8fb(0x23b)],'includeDeleted':_0x13b835['include-deleted']}));})[_0x11c8dc(0x2ba)]('show\x20[id]',_0x4ea421[_0x11c8dc(0x2a3)],_0x1e15ea=>{const _0x25a6b6=_0x11c8dc;return _0x1e15ea['positional']('id',{'type':_0x25a6b6(0x18a),'description':_0x4ea421[_0x25a6b6(0x247)]});},async _0x591db9=>{await withTelemetry('show',()=>featureShow(_0x591db9['id']));})['command'](_0x11c8dc(0x212),_0x11c8dc(0x1c7),_0x2ecc9c=>{const _0x492515=_0x11c8dc;return _0x2ecc9c[_0x492515(0x229)]('id',{'type':_0x4ea421['yjzTR'],'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x51db19=>{const _0x5f1466=_0x11c8dc;await _0x4ea421['cQYcq'](withTelemetry,_0x4ea421[_0x5f1466(0x19a)],()=>featureResume(_0x51db19['id']));})['command'](_0x4ea421['exuii'],_0x11c8dc(0x1e7),_0x2bec9e=>{const _0x210796=_0x11c8dc;return _0x2bec9e['positional'](_0x4ea421['RNYSh'],{'type':'string','description':_0x4ea421[_0x210796(0x206)],'demandOption':!![]})['option']('id',{'type':_0x4ea421['yjzTR'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x17d159=>{const _0x2fc1c3=_0x11c8dc;await withTelemetry(_0x2fc1c3(0x26b),()=>featureAddScenario(_0x17d159['description'],_0x17d159['id']));})['command']('edit-scenario\x20<description>',_0x4ea421[_0x11c8dc(0x309)],_0x405271=>{const _0x24a5a1=_0x11c8dc;return _0x405271['positional'](_0x4ea421['RNYSh'],{'type':_0x24a5a1(0x18a),'description':_0x24a5a1(0x169),'demandOption':!![]})[_0x24a5a1(0x1be)](_0x4ea421[_0x24a5a1(0x2d8)],{'type':_0x4ea421['iTKpc'],'description':_0x4ea421[_0x24a5a1(0x170)],'demandOption':!![]})['option']('id',{'type':_0x24a5a1(0x18a),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x8ad5fb=>{const _0x2625ae=_0x11c8dc;await _0x4ea421['bgPpD'](withTelemetry,_0x4ea421[_0x2625ae(0x1ca)],()=>featureEditScenario(_0x8ad5fb[_0x2625ae(0x302)],{'id':_0x8ad5fb['id'],'scenario':_0x8ad5fb['scenario']}));})[_0x11c8dc(0x2ba)](_0x11c8dc(0x25e),_0x4ea421['ozUmV'],_0x1f0ec0=>{const _0x4fdccd=_0x11c8dc;return _0x1f0ec0['positional']('id',{'type':_0x4ea421['yjzTR'],'description':_0x4fdccd(0x316)})[_0x4fdccd(0x1be)](_0x4fdccd(0x2f6),{'type':'array','description':_0x4fdccd(0x1e8)})['option'](_0x4fdccd(0x25b),{'type':_0x4ea421['NlDbh'],'description':_0x4ea421['PIQRz'],'default':![]});},async _0x256f42=>{const _0x4f4984=_0x11c8dc,_0x7543af=_0x256f42['exclude-scenario'],_0x3c8d86=_0x7543af?_0x7543af[_0x4f4984(0x236)](_0x3c77b5=>Number(_0x3c77b5)):undefined;await _0x4ea421[_0x4f4984(0x219)](withTelemetry,'report',()=>featureReportPrDescription(_0x256f42['id'],{'excludeScenarios':_0x3c8d86,'json':_0x256f42['json']}));})['command']('get-review\x20[id]',_0x4ea421['pLnqj'],_0x31b2ed=>{return _0x31b2ed['positional']('id',{'type':'string','description':_0x4ea421['sigiT']});},async _0x2757e3=>{const _0x49b85b=_0x11c8dc;await _0x4ea421['bgPpD'](withTelemetry,_0x49b85b(0x208),()=>featureGetReview(_0x2757e3['id']));})['command'](_0x4ea421[_0x11c8dc(0x22d)],'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x55d907=>{const _0x4aa45f=_0x11c8dc;return _0x55d907[_0x4aa45f(0x229)]('id',{'type':_0x4ea421['yjzTR'],'description':_0x4ea421['pGbsZ']});},async _0x4e7884=>{await withTelemetry('delete',()=>featureDelete(_0x4e7884['id']));})['command'](_0x4ea421[_0x11c8dc(0x234)],'Restore\x20a\x20soft-deleted\x20feature\x20review',_0x1790d5=>{const _0x44a25c=_0x11c8dc;return _0x1790d5[_0x44a25c(0x229)]('id',{'type':'string','description':_0x4ea421['lcaaq'],'demandOption':!![]});},async _0x26d16d=>{const _0x5ef695=_0x11c8dc;await withTelemetry(_0x4ea421[_0x5ef695(0x30e)],()=>featureRestore(_0x26d16d['id']));})[_0x11c8dc(0x2ba)](_0x4ea421['ikUzV'],'Initialize\x20Ranger\x20in\x20your\x20project',_0x587c39=>{const _0x3c4c72=_0x11c8dc,_0x3dfd57={'WERPp':_0x4ea421['JSTKF'],'QuGUM':_0x4ea421['DITtG'],'ZfONv':_0x4ea421[_0x3c4c72(0x31e)],'nXcFN':_0x4ea421[_0x3c4c72(0x270)],'jCNNM':function(_0x25b65a,_0x54948b,_0x52856b){return _0x25b65a(_0x54948b,_0x52856b);},'HoMUg':_0x3c4c72(0x305),'MgKWz':function(_0x144ea1,_0x3ff22e,_0x4f9e9f){return _0x144ea1(_0x3ff22e,_0x4f9e9f);},'OdmMd':_0x3c4c72(0x29d),'rKySz':function(_0x5609ee,_0x4ec8e6){return _0x4ea421['IBBgx'](_0x5609ee,_0x4ec8e6);},'dPpVL':function(_0x2092b2,_0xeecaf3,_0x1f6afd){return _0x2092b2(_0xeecaf3,_0x1f6afd);},'zyMth':_0x4ea421['nRWGn'],'Uvohw':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','AZFOa':_0x4ea421['AlyIp'],'nyHSD':_0x4ea421['yjzTR'],'VNoHO':_0x4ea421['ZTvcT'],'hJDHs':_0x3c4c72(0x29f),'FcjpA':'boolean','IQURY':_0x4ea421[_0x3c4c72(0x1ee)]};return _0x587c39['usage'](_0x3c4c72(0x275))['positional'](_0x4ea421[_0x3c4c72(0x295)],{'type':'string','description':_0x4ea421[_0x3c4c72(0x1c6)]})[_0x3c4c72(0x2ba)]('all',_0x4ea421['mltcj'],_0x5558b3=>{const _0x2613fc=_0x3c4c72;return _0x5558b3[_0x2613fc(0x1be)](_0x4ea421[_0x2613fc(0x300)],{'type':_0x4ea421['yjzTR'],'description':_0x2613fc(0x246)})['option'](_0x4ea421['eIcMd'],{'type':_0x4ea421[_0x2613fc(0x1a0)],'description':_0x2613fc(0x15c),'default':![]})['option'](_0x4ea421['ziXsj'],{'type':'boolean','description':_0x2613fc(0x1ef),'default':![]})['option'](_0x2613fc(0x196),{'type':_0x4ea421['NlDbh'],'description':_0x4ea421['uFNBN'],'default':![]})[_0x2613fc(0x1be)](_0x4ea421[_0x2613fc(0x28d)],{'type':_0x4ea421[_0x2613fc(0x209)],'choices':['user'],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x2613fc(0x1be)](_0x4ea421['AlyIp'],{'type':_0x4ea421['yjzTR'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})['option'](_0x4ea421['UWBII'],{'type':_0x4ea421['NlDbh'],'description':_0x4ea421['GEtVC'],'default':![]})[_0x2613fc(0x1be)](_0x4ea421['xrUWT'],{'type':_0x4ea421[_0x2613fc(0x1a0)],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})[_0x2613fc(0x1be)](_0x2613fc(0x2c3),{'type':_0x2613fc(0x211),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]})[_0x2613fc(0x1be)](_0x4ea421['JSTKF'],{'type':_0x4ea421[_0x2613fc(0x1a0)],'description':_0x2613fc(0x303),'default':![]})['option'](_0x4ea421[_0x2613fc(0x2fb)],{'type':_0x4ea421[_0x2613fc(0x1a0)],'description':_0x4ea421[_0x2613fc(0x205)],'default':![]});},async _0x25b3df=>{const _0x487b93=_0x3c4c72;(_0x25b3df[_0x3dfd57[_0x487b93(0x155)]]||_0x25b3df['mcp'])&&await withTelemetry(_0x487b93(0x2d6),()=>mcpBootstrap()),await withTelemetry(_0x3dfd57['QuGUM'],_0x5f298e=>start(_0x25b3df[_0x487b93(0x166)],{'skipChromium':_0x25b3df['skip-chromium'],'skipAuth':_0x25b3df['skip-auth'],'withDeps':_0x25b3df[_0x487b93(0x196)],'scope':_0x25b3df['scope'],'url':_0x25b3df[_0x487b93(0x1eb)],'force':_0x25b3df['force'],'opencode':_0x25b3df['opencode'],'allowInsecureLocalhost':_0x25b3df[_0x487b93(0x2c3)]},_0x5f298e));})['command'](_0x3c4c72(0x1b5),_0x3c4c72(0x204),_0x3aff4d=>{const _0xf38191=_0x3c4c72;return _0x3aff4d[_0xf38191(0x1be)](_0x3dfd57['ZfONv'],{'type':'boolean','description':_0x3dfd57[_0xf38191(0x265)],'default':![]});},async _0x4af34b=>{const _0x42a0da=_0x3c4c72;await _0x3dfd57[_0x42a0da(0x214)](withTelemetry,_0x3dfd57['HoMUg'],()=>ensureChromium(_0x4af34b['with-deps']));})['command']('login',_0x4ea421[_0x3c4c72(0x16f)],_0x5516f0=>{const _0x327d2e=_0x3c4c72;return _0x5516f0['option'](_0x4ea421['HMFst'],{'type':'string','description':_0x4ea421['dsbnG']})['option']('mcp',{'type':_0x327d2e(0x211),'description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x44138f=>{const _0x5320fb=_0x3c4c72,_0x1f7db8={'WOufA':function(_0x4fba7b){return _0x4fba7b();}};await _0x4ea421[_0x5320fb(0x2f4)](withTelemetry,_0x4ea421['vaPSP'],async()=>{const _0x33ff77=_0x5320fb;if(_0x44138f[_0x33ff77(0x163)]){await _0x1f7db8['WOufA'](mcpBootstrap);const _0x34a30b=await _0x1f7db8['WOufA'](refreshCliToken);if(!_0x34a30b)throw new Error(_0x33ff77(0x2ec));const _0x4337c3=await getCurrentUser(_0x34a30b);if(!_0x4337c3['success'])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x4337c3[_0x33ff77(0x2a2)]);console['log'](_0x33ff77(0x227)+_0x4337c3['user']['organizationName']);return;}await authenticate(_0x44138f['token']);});})['command'](_0x3c4c72(0x239),'Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x2aaefa=>{const _0x168199=_0x3c4c72;return _0x2aaefa[_0x168199(0x1be)](_0x168199(0x2db),{'type':_0x4ea421['yjzTR'],'choices':[_0x168199(0x22b),_0x4ea421['DTySg']],'description':_0x168199(0x26c)})[_0x168199(0x1be)](_0x168199(0x29d),{'type':'boolean','description':_0x168199(0x15e),'default':![]});},async _0x4692a4=>{const _0x496bee=_0x3c4c72;await _0x3dfd57[_0x496bee(0x1e0)](withTelemetry,_0x3dfd57['zyMth'],async()=>{const _0x3421e5=_0x496bee,_0x3702e1=_0x4692a4['scope'];if(_0x4692a4['opencode']){const _0xf83ee7=await ensureOpencodePluginConfig(_0x3702e1);_0xf83ee7&&await _0x3dfd57['MgKWz'](installSkill,_0x3421e5(0x183),{'level':_0xf83ee7['scope'],'cliVersion':getCurrentVersion(),'platform':_0x3dfd57[_0x3421e5(0x19f)]});}else await ensureClaudePlugin(_0x3702e1),await _0x3dfd57[_0x3421e5(0x16a)](ensureClaudeSkills,_0x3702e1);});})[_0x3c4c72(0x2ba)](_0x4ea421[_0x3c4c72(0x255)],_0x4ea421[_0x3c4c72(0x2c4)],_0x42a282=>{const _0x27a283=_0x3c4c72;return _0x42a282['option']('scope',{'type':'string','choices':['user'],'description':_0x3dfd57[_0x27a283(0x271)]})[_0x27a283(0x1be)](_0x3dfd57['AZFOa'],{'type':_0x3dfd57[_0x27a283(0x17a)],'description':_0x27a283(0x1f8)})['option'](_0x27a283(0x2d2),{'type':_0x27a283(0x211),'description':_0x3dfd57[_0x27a283(0x217)],'default':![]})['option'](_0x3dfd57[_0x27a283(0x1c8)],{'type':_0x27a283(0x211),'description':_0x27a283(0x2e5),'default':![]})[_0x27a283(0x1be)](_0x27a283(0x2c3),{'type':_0x3dfd57[_0x27a283(0x15d)],'description':_0x3dfd57[_0x27a283(0x2eb)],'default':![]});},async _0x37717b=>{const _0x21d0ee=_0x3c4c72,_0x2531cb=_0x37717b['scope'];_0x4ea421[_0x21d0ee(0x25a)](_0x2531cb,undefined)&&_0x2531cb!==_0x4ea421[_0x21d0ee(0x188)]&&(console[_0x21d0ee(0x2a2)](_0x4ea421[_0x21d0ee(0x1ab)](_0x4ea421[_0x21d0ee(0x291)](_0x21d0ee(0x282)+_0x2531cb+_0x21d0ee(0x165),'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20'),_0x21d0ee(0x182))),process['exit'](0x1)),await _0x4ea421[_0x21d0ee(0x224)](withTelemetry,_0x4ea421['bRFfj'],_0x444d2e=>ensureLocalEnv({'url':_0x37717b[_0x21d0ee(0x1eb)],'force':_0x37717b['force'],'allowInsecureLocalhost':_0x37717b[_0x21d0ee(0x2c3)],'scope':_0x21d0ee(0x22b)},_0x444d2e));})[_0x3c4c72(0x1be)](_0x3c4c72(0x162),{'type':'boolean','description':_0x4ea421[_0x3c4c72(0x2ac)],'default':![]})['option'](_0x4ea421[_0x3c4c72(0x28d)],{'type':'string','choices':[_0x4ea421[_0x3c4c72(0x188)]],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x3c4c72(0x1be)](_0x4ea421[_0x3c4c72(0x314)],{'type':_0x3c4c72(0x18a),'description':_0x4ea421[_0x3c4c72(0x1d6)]})['option'](_0x3c4c72(0x29f),{'type':_0x4ea421['NlDbh'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x3c4c72(0x1be)](_0x4ea421[_0x3c4c72(0x2f0)],{'type':'boolean','description':_0x4ea421['mSbxV'],'default':![]})['option']('allow-insecure-localhost',{'type':_0x4ea421['NlDbh'],'description':_0x4ea421['ruRWt'],'default':![]})['option'](_0x3c4c72(0x2d6),{'type':_0x4ea421['NlDbh'],'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','default':![]})['option'](_0x3c4c72(0x2d2),{'type':_0x3c4c72(0x211),'description':_0x3c4c72(0x1db),'default':![]})['option'](_0x3c4c72(0x196),{'type':_0x4ea421['NlDbh'],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]})[_0x3c4c72(0x1be)]('token',{'type':'string','hidden':!![],'description':_0x4ea421[_0x3c4c72(0x174)]});},async _0x386387=>{const _0x4832d2=_0x11c8dc,_0x147c8b=_0x386387[_0x4832d2(0x15b)],_0x83430a=_0x386387['token']??_0x147c8b;_0x386387[_0x4ea421[_0x4832d2(0x1da)]]&&await _0x4ea421['MdSYC'](withTelemetry,_0x4ea421[_0x4832d2(0x1da)],()=>mcpBootstrap()),await withTelemetry(_0x4832d2(0x2e9),_0x9d1fe4=>start(_0x83430a,{'skipChromium':_0x386387['skip-chromium'],'skipAuth':_0x386387[_0x4832d2(0x2d2)],'withDeps':_0x386387['with-deps'],'scope':_0x386387['scope'],'url':_0x386387['url'],'force':_0x386387[_0x4832d2(0x29f)],'opencode':_0x386387[_0x4832d2(0x29d)],'allowInsecureLocalhost':_0x386387[_0x4832d2(0x2c3)]},_0x9d1fe4));})[_0x11c8dc(0x2ba)](_0x11c8dc(0x313),![],_0xa205ff=>{const _0x5281d4=_0x11c8dc;return _0xa205ff['positional'](_0x4ea421['HMFst'],{'type':_0x5281d4(0x18a),'description':_0x4ea421['IKrEV'],'demandOption':!![]})['option'](_0x4ea421[_0x5281d4(0x192)],{'type':_0x4ea421['yjzTR'],'description':_0x4ea421['MocTi']})['option']('base-url',{'type':_0x5281d4(0x18a),'description':_0x4ea421[_0x5281d4(0x22f)]})[_0x5281d4(0x1be)](_0x5281d4(0x162),{'type':_0x4ea421[_0x5281d4(0x1a0)],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x168f53=>{const _0xce08c1=_0x11c8dc;await _0x4ea421['cQYcq'](withTelemetry,_0x4ea421[_0xce08c1(0x1cc)],_0x4f6364=>setupCi(_0x168f53['token'],{'profile':_0x168f53['profile'],'baseUrl':_0x168f53[_0xce08c1(0x160)],'skipChromium':_0x168f53[_0xce08c1(0x162)]},_0x4f6364));})['command']('login','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)',()=>{},async()=>{await withTelemetry(_0x4ea421['AqgyL'],()=>login());})['command']('skillup',_0x4ea421[_0x11c8dc(0x152)],_0x316af9=>{const _0x2e5345=_0x11c8dc;return _0x316af9[_0x2e5345(0x1be)](_0x4ea421[_0x2e5345(0x2f0)],{'type':'boolean','description':'Install\x20skills\x20for\x20OpenCode','default':![]})[_0x2e5345(0x1be)](_0x4ea421['pxsxh'],{'type':_0x2e5345(0x18a),'choices':[_0x4ea421['CiWsC'],_0x4ea421['DTySg']],'description':'Install\x20scope\x20for\x20skills'});},async _0x4a380e=>{const _0x6978e9=_0x11c8dc,_0x1eaf08=Boolean(_0x4a380e['opencode']);await withTelemetry(_0x4ea421['YUyvC'],()=>skillup({'autoInstall':_0x4a380e[_0x6978e9(0x2db)],'platform':_0x1eaf08?'opencode':'claude'}));})[_0x11c8dc(0x2ba)](_0x4ea421['qJfWW'],_0x4ea421['MNScK'],()=>{},async()=>{const _0x55df84=_0x11c8dc;await _0x4ea421[_0x55df84(0x26e)](withTelemetry,_0x4ea421[_0x55df84(0x25d)],()=>clean());})[_0x11c8dc(0x2ba)]([_0x4ea421['GhgRU'],_0x4ea421['yPUci']],'Manage\x20profiles',_0x8a5903=>{const _0x4f069f=_0x11c8dc,_0x4217cb={'AcsSy':'string','zxcJe':_0x4ea421['xBybv'],'UWrGt':_0x4ea421[_0x4f069f(0x1a0)],'UjCBc':_0x4f069f(0x312),'WSwyG':function(_0x41f0a1,_0x54dd59,_0x4cfe02){const _0x425ada=_0x4f069f;return _0x4ea421[_0x425ada(0x219)](_0x41f0a1,_0x54dd59,_0x4cfe02);},'JJZnS':_0x4ea421[_0x4f069f(0x2a4)],'fDeJs':_0x4f069f(0x285),'DHhWr':_0x4ea421['tlQhk'],'EMGah':_0x4ea421[_0x4f069f(0x1fe)],'mKblJ':'Profile\x20name','IsoBW':'Config\x20key','sITuM':_0x4f069f(0x185),'OBrYE':_0x4ea421[_0x4f069f(0x192)],'zNyur':function(_0x1690b9,_0x319be6,_0x17d37d){return _0x1690b9(_0x319be6,_0x17d37d);},'PJYEr':'profile\x20config\x20list','edsKL':_0x4ea421[_0x4f069f(0x23d)],'isOer':_0x4f069f(0x1d3)};return _0x8a5903['usage'](PROFILE_HELP)[_0x4f069f(0x2ba)](_0x4ea421['BqjuT'],'Add\x20profile\x20configuration',_0x20a7a7=>{const _0xa152e9=_0x4f069f;return _0x20a7a7['positional'](_0x4ea421['EgLzg'],{'type':_0x4ea421[_0xa152e9(0x209)],'description':_0xa152e9(0x29e),'demandOption':!![]})[_0xa152e9(0x1be)]('ci',{'type':_0xa152e9(0x211),'hidden':!![],'default':![]})[_0xa152e9(0x1be)](_0xa152e9(0x2d2),{'type':_0xa152e9(0x211),'description':_0x4ea421['fNeSY'],'default':![]})[_0xa152e9(0x1be)](_0x4ea421[_0xa152e9(0x314)],{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)'})['option']('force',{'type':_0x4ea421['NlDbh'],'description':_0xa152e9(0x2e5),'default':![]})['option'](_0x4ea421['oiNgu'],{'type':_0xa152e9(0x18a),'description':_0xa152e9(0x21f)})[_0xa152e9(0x1be)](_0x4ea421[_0xa152e9(0x2f1)],{'type':_0x4ea421[_0xa152e9(0x1a0)],'description':_0x4ea421[_0xa152e9(0x2fa)],'default':![]})[_0xa152e9(0x1be)]('safe-mode',{'type':_0x4ea421['NlDbh'],'description':_0x4ea421[_0xa152e9(0x180)],'default':![]})[_0xa152e9(0x1be)](_0x4ea421[_0xa152e9(0x2ee)],{'type':_0x4ea421[_0xa152e9(0x209)],'array':!![],'description':_0x4ea421['tOaAP']})['option'](_0xa152e9(0x2db),{'type':_0xa152e9(0x18a),'choices':[_0xa152e9(0x22b),_0x4ea421['DTySg']],'description':_0x4ea421[_0xa152e9(0x268)]})[_0xa152e9(0x1be)](_0x4ea421['iOYQX'],{'type':_0x4ea421['yjzTR'],'description':_0x4ea421[_0xa152e9(0x2c8)]})['option'](_0xa152e9(0x2b7),{'type':_0x4ea421[_0xa152e9(0x1a0)],'alias':'y','description':_0x4ea421['rZjEz'],'default':![]});},async _0x5f30a5=>{const _0x9a150f=_0x4f069f;await _0x4ea421[_0x9a150f(0x261)](withTelemetry,'profile\x20add',_0x19d789=>addEnv(_0x5f30a5['profile-name'],{'ci':_0x5f30a5['ci'],'skipAuth':_0x5f30a5[_0x9a150f(0x2d2)],'url':_0x5f30a5['url'],'force':_0x5f30a5[_0x9a150f(0x29f)],'cdpEndpoint':_0x5f30a5['cdp-endpoint'],'allowInsecureLocalhost':_0x5f30a5['allow-insecure-localhost'],'safeMode':_0x5f30a5[_0x9a150f(0x2ed)],'setupHeader':_0x5f30a5[_0x9a150f(0x2e2)],'scope':_0x5f30a5['scope'],'authEnv':_0x5f30a5['env'],'yes':_0x5f30a5['yes']},_0x19d789),{'isElectron':_0x4ea421['fwXSI'](Boolean,_0x5f30a5[_0x4ea421['oiNgu']])});})[_0x4f069f(0x2ba)]('use\x20<profile-name>','Switch\x20to\x20using\x20a\x20specific\x20profile',_0x55bfa6=>{return _0x55bfa6['positional']('profile-name',{'type':'string','description':'Name\x20of\x20the\x20profile','demandOption':!![]});},async _0x5c5769=>{const _0x10a377=_0x4f069f;await _0x4ea421[_0x10a377(0x294)](withTelemetry,_0x4ea421['LyEnV'],()=>useEnv(_0x5c5769['profile-name']));})['command'](_0x4ea421[_0x4f069f(0x1ce)],'Delete\x20a\x20cloud\x20profile',_0x2e5de1=>{const _0x1519c2=_0x4f069f;return _0x2e5de1[_0x1519c2(0x229)]('profile-name',{'type':_0x4217cb['AcsSy'],'description':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','demandOption':!![]})[_0x1519c2(0x1be)](_0x4217cb[_0x1519c2(0x1ed)],{'type':_0x4217cb['UWrGt'],'alias':'y','description':_0x4217cb[_0x1519c2(0x16c)],'default':![]});},async _0x134e7e=>{const _0xba9e5c=_0x4f069f;await _0x4217cb[_0xba9e5c(0x1b0)](withTelemetry,_0x4217cb[_0xba9e5c(0x267)],()=>deleteProfile(_0x134e7e['profile-name'],{'yes':_0x134e7e['yes']}));})['command'](_0x4ea421[_0x4f069f(0x1d8)],![],_0x209e68=>{const _0x3c1ba1=_0x4f069f;return _0x209e68['positional']('profile',{'type':'string','description':_0x4ea421[_0x3c1ba1(0x1c2)],'demandOption':!![]});},async _0x1c448c=>{await _0x4ea421['bgPpD'](withTelemetry,'profile\x20encrypt-auth',()=>authEncrypt(_0x1c448c['profile']));})['command']('ls',_0x4ea421[_0x4f069f(0x1b4)],()=>{},async()=>{const _0x162563=_0x4f069f;await withTelemetry(_0x162563(0x1dd),()=>envList());})['command'](_0x4f069f(0x2e1),_0x4ea421['xBneL'],_0x4a2260=>{const _0x38bd8c=_0x4f069f;return _0x4a2260['positional'](_0x38bd8c(0x177),{'type':_0x4ea421[_0x38bd8c(0x209)],'description':_0x4ea421['vevGl'],'demandOption':!![]})['option'](_0x4ea421[_0x38bd8c(0x2f1)],{'type':_0x4ea421['NlDbh'],'description':_0x4ea421[_0x38bd8c(0x2fa)]})[_0x38bd8c(0x1be)](_0x4ea421['mXLdh'],{'type':'boolean','description':_0x4ea421['qkUVx']});},async _0x7a555f=>{const _0x37fd9d=_0x4f069f;await _0x4ea421[_0x37fd9d(0x2a5)](withTelemetry,_0x37fd9d(0x190),_0x29ad34=>updateEnv(_0x7a555f[_0x37fd9d(0x177)],_0x29ad34,{'allowInsecureLocalhost':_0x7a555f['allow-insecure-localhost'],'manual':_0x7a555f['manual']}));})['command'](_0x4ea421['RERfz'],![],_0x174df5=>{const _0x40592d=_0x4f069f;return _0x174df5['positional'](_0x4217cb[_0x40592d(0x269)],{'type':_0x4217cb[_0x40592d(0x297)],'description':_0x40592d(0x22e),'demandOption':!![]});},async _0x4a5118=>{const _0x4c3d3c=_0x4f069f,_0x4ef703={'XfZcf':'Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','aFVHM':function(_0x723679,_0x1797de,_0x12ca4e){return _0x4217cb['WSwyG'](_0x723679,_0x1797de,_0x12ca4e);},'uADnQ':_0x4c3d3c(0x26a),'AIQyg':_0x4217cb[_0x4c3d3c(0x249)]};await withTelemetry(_0x4217cb['EMGah'],async()=>{const _0x11e208=_0x4c3d3c,_0x23b7bd=process['env']['RANGER_TEST_USERNAME'],_0x121771=process['env'][_0x11e208(0x194)];(!_0x23b7bd||!_0x121771)&&(console[_0x11e208(0x2a2)](_0x4ef703['XfZcf']),process['exit'](0x1));const _0x291001=_0x4a5118['name'],_0x5656c6=await _0x4ef703['aFVHM'](serverSideLogin,_0x291001,{'force':!![]});_0x5656c6['status']===_0x4ef703[_0x11e208(0x226)]&&(console[_0x11e208(0x2a2)]('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process['exit'](0x1)),_0x5656c6['status']==='failed'&&(console['error'](_0x11e208(0x17d)+(_0x5656c6['error']??_0x4ef703['AIQyg'])),_0x5656c6[_0x11e208(0x262)]&&console['error'](_0x5656c6['test_output']),process[_0x11e208(0x266)](0x1)),console[_0x11e208(0x1f9)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x291001+'\x27.\x20Session\x20saved.');});})['command'](_0x4ea421[_0x4f069f(0x2f7)],![],_0x417d72=>{const _0x39ff9e=_0x4f069f;return _0x417d72[_0x39ff9e(0x229)](_0x39ff9e(0x177),{'type':_0x39ff9e(0x18a),'description':_0x39ff9e(0x2f2)})[_0x39ff9e(0x1be)](_0x39ff9e(0x238),{'type':'boolean','description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})['option'](_0x39ff9e(0x153),{'type':_0x39ff9e(0x211),'description':_0x39ff9e(0x19c),'default':![]})['option'](_0x4ea421['xBybv'],{'type':'boolean','alias':'y','description':_0x39ff9e(0x2d4),'default':![]})[_0x39ff9e(0x1be)](_0x4ea421['tVbxv'],{'type':_0x4ea421['NlDbh'],'description':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','default':![]});},async _0x564c34=>{const _0x108f96=_0x4f069f;await _0x4ea421[_0x108f96(0x2a5)](withTelemetry,'profile\x20migrate',_0x19f06e=>migrateProfile({'profileName':_0x564c34[_0x108f96(0x177)],'all':_0x564c34['all'],'dryRun':_0x564c34[_0x108f96(0x153)],'yes':_0x564c34[_0x108f96(0x2b7)],'saveCreds':_0x564c34[_0x108f96(0x1b2)]},_0x19f06e));})['command'](_0x4ea421[_0x4f069f(0x30c)],_0x4ea421[_0x4f069f(0x287)],_0x1e63b3=>{const _0x51e677=_0x4f069f,_0x5c4a51={'uEPCg':_0x4ea421['GhgRU'],'BjyRz':'string','ugehu':_0x4ea421[_0x51e677(0x1c2)],'kcqjI':_0x51e677(0x17c),'tIzoJ':_0x4ea421['SFpiF']};return _0x1e63b3['usage'](PROFILE_CONFIG_HELP)['command'](_0x51e677(0x2a6),_0x4ea421['cyvmf'],_0x29eaf4=>{const _0x544be2=_0x51e677;return _0x29eaf4[_0x544be2(0x229)](_0x5c4a51[_0x544be2(0x1f6)],{'type':_0x5c4a51['BjyRz'],'description':_0x5c4a51[_0x544be2(0x277)],'demandOption':!![]})[_0x544be2(0x229)]('key',{'type':'string','description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})[_0x544be2(0x229)](_0x5c4a51['kcqjI'],{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0xded1b=>{const _0x1dfbe9=_0x51e677;await withTelemetry(_0x1dfbe9(0x24f),()=>configSet(_0xded1b['profile'],_0xded1b['key'],_0xded1b[_0x1dfbe9(0x17c)]));})[_0x51e677(0x2ba)](_0x4ea421['VxJbM'],_0x4ea421[_0x51e677(0x184)],_0x3fe107=>{const _0x148f2e=_0x51e677;return _0x3fe107[_0x148f2e(0x229)](_0x148f2e(0x179),{'type':_0x4217cb['AcsSy'],'description':_0x4217cb[_0x148f2e(0x23e)],'demandOption':!![]})['positional']('key',{'type':'string','description':_0x4217cb['IsoBW'],'demandOption':!![]});},async _0xe5fa83=>{const _0x329433=_0x51e677;await _0x4217cb[_0x329433(0x1b0)](withTelemetry,_0x4217cb['sITuM'],()=>configGet(_0xe5fa83['profile'],_0xe5fa83['key']));})[_0x51e677(0x2ba)](_0x4ea421[_0x51e677(0x23a)],_0x4ea421[_0x51e677(0x280)],_0x2b9302=>{const _0x3ef563=_0x51e677;return _0x2b9302[_0x3ef563(0x229)](_0x4217cb[_0x3ef563(0x1e1)],{'type':_0x3ef563(0x18a),'description':_0x3ef563(0x2d7),'demandOption':!![]});},async _0x15aaa4=>{await _0x4217cb['zNyur'](withTelemetry,_0x4217cb['PJYEr'],()=>configList(_0x15aaa4['profile']));})[_0x51e677(0x2ba)](_0x4ea421[_0x51e677(0x158)],'Remove\x20a\x20config\x20value',_0x21bcb0=>{const _0x59af2b=_0x51e677;return _0x21bcb0[_0x59af2b(0x229)]('profile',{'type':_0x59af2b(0x18a),'description':'Profile\x20name','demandOption':!![]})['positional'](_0x4217cb['edsKL'],{'type':_0x4217cb['AcsSy'],'description':_0x4217cb['isOer'],'demandOption':!![]});},async _0x606deb=>{const _0x56aa93=_0x51e677;await withTelemetry(_0x5c4a51[_0x56aa93(0x2ef)],()=>configUnset(_0x606deb['profile'],_0x606deb['key']));})['command']('reset\x20<profile>',_0x4ea421['FMucV'],_0x16269c=>{const _0x556544=_0x51e677;return _0x16269c['positional']('profile',{'type':_0x556544(0x18a),'description':_0x4217cb[_0x556544(0x23e)],'demandOption':!![]});},async _0x15a1c2=>{const _0x42ab25=_0x51e677;await withTelemetry(_0x42ab25(0x1a6),()=>configReset(_0x15a1c2['profile']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})[_0x4f069f(0x157)](0x1,_0x4ea421[_0x4f069f(0x14f)]);})['command'](_0x11c8dc(0x1dc),_0x11c8dc(0x251),()=>{},async()=>{const _0x30df08=_0x11c8dc;await withTelemetry(_0x4ea421[_0x30df08(0x167)],()=>status());})[_0x11c8dc(0x2ba)](_0x4ea421['Vbrtk'],_0x4ea421['xCgzT'],()=>{},async()=>{const _0x28290b=_0x11c8dc;await withTelemetry(_0x4ea421[_0x28290b(0x203)],()=>update());})[_0x11c8dc(0x2ba)](_0x4ea421['GDYmq'],_0x4ea421['AXUsZ'],()=>{},async()=>{await _0x4ea421['bgPpD'](withTelemetry,'print-access-token',async()=>{const _0x5eb602=_0xd8f6,_0x4b55fe=await _0x4ea421[_0x5eb602(0x1c1)](getToken);if(!_0x4b55fe)throw new Error(_0x5eb602(0x318));console['log'](_0x4b55fe);});})[_0x11c8dc(0x2ba)]('go',_0x4ea421['mgrBf'],_0x326080=>{const _0x223c06=_0x11c8dc;return _0x326080['option']('feature',{'type':_0x223c06(0x18a),'description':_0x4ea421['kutrV']})['option']('profile',{'type':_0x223c06(0x18a),'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)'})['option']('notes',{'type':_0x223c06(0x18a),'description':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)'})['option'](_0x223c06(0x284),{'type':'string','description':_0x4ea421['Xjvke']})['option'](_0x4ea421['atQvJ'],{'type':_0x223c06(0x172),'description':_0x223c06(0x176)})[_0x223c06(0x1be)](_0x223c06(0x288),{'type':_0x4ea421[_0x223c06(0x209)],'description':_0x4ea421[_0x223c06(0x2de)]})['option']('base-url',{'type':_0x223c06(0x18a),'description':_0x4ea421[_0x223c06(0x250)]})[_0x223c06(0x1be)](_0x4ea421[_0x223c06(0x1d1)],{'type':_0x4ea421['yjzTR'],'description':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.'})['option'](_0x4ea421[_0x223c06(0x30a)],{'type':_0x4ea421['NlDbh'],'description':_0x223c06(0x18b),'default':![]})['option'](_0x4ea421[_0x223c06(0x168)],{'type':_0x4ea421['yjzTR'],'array':!![],'alias':_0x4ea421[_0x223c06(0x28e)],'description':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.'})['option'](_0x4ea421['LyaWw'],{'type':_0x4ea421['NlDbh'],'description':_0x4ea421[_0x223c06(0x225)],'default':![]})['option']('debug-outcome',{'type':'string','hidden':!![],'choices':[_0x4ea421[_0x223c06(0x28b)],_0x223c06(0x24a),_0x223c06(0x2a9),'failed',_0x4ea421[_0x223c06(0x19b)]]})[_0x223c06(0x1be)](_0x223c06(0x2fe),{'type':'boolean','hidden':!![]})['option'](_0x4ea421['iOYQX'],{'type':_0x4ea421[_0x223c06(0x209)],'description':_0x4ea421['yMtOf']})[_0x223c06(0x1be)](_0x4ea421[_0x223c06(0x276)],{'type':'string','hidden':!![]})['option']('item',{'type':_0x223c06(0x172),'hidden':!![]});},async _0x267fa2=>{await runGoCommand(_0x267fa2);})['command'](_0x4ea421['kUBez'],![],_0x190e32=>{const _0x17b0b6=_0x11c8dc,_0xc188c1={'HolbR':_0x4ea421[_0x17b0b6(0x1c2)],'zdgQJ':function(_0x245cb6,_0x30a939,_0x5135cb){return _0x245cb6(_0x30a939,_0x5135cb);},'Dgliu':_0x17b0b6(0x1f5)};return _0x190e32[_0x17b0b6(0x2ba)]('encrypt\x20<profile>',![],_0x3e0de6=>{const _0x7f1691=_0x17b0b6;return _0x3e0de6['positional']('profile',{'type':'string','description':_0xc188c1[_0x7f1691(0x254)],'demandOption':!![]});},async _0x1fcd95=>{const _0x5deead=_0x17b0b6;_0xc188c1['zdgQJ'](warnRenamed,_0x5deead(0x189),_0xc188c1[_0x5deead(0x21e)]),await authEncrypt(_0x1fcd95[_0x5deead(0x179)]);})[_0x17b0b6(0x157)](0x1,_0x4ea421[_0x17b0b6(0x292)]);},()=>{})['command']('start\x20[token]',![],_0x1e791d=>{const _0x28145b=_0x11c8dc;return _0x1e791d[_0x28145b(0x229)]('token',{'type':_0x28145b(0x18a),'description':_0x28145b(0x259)})['option'](_0x28145b(0x162),{'type':_0x28145b(0x211),'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x28145b(0x1be)](_0x4ea421['pxsxh'],{'type':'string','choices':[_0x4ea421[_0x28145b(0x188)]],'hidden':!![],'description':_0x4ea421['OcBfD']})['option'](_0x28145b(0x1eb),{'type':'string','description':_0x4ea421['MFGaD']})['option'](_0x4ea421[_0x28145b(0x186)],{'type':_0x4ea421['NlDbh'],'description':_0x28145b(0x2e5),'default':![]})['option']('skip-auth',{'type':_0x4ea421['NlDbh'],'description':_0x28145b(0x1ef),'default':![]})['option']('with-deps',{'type':_0x28145b(0x211),'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]});},async _0x580f5c=>{const _0x99b5f=_0x11c8dc;warnRenamed('ranger\x20start',_0x4ea421[_0x99b5f(0x1f3)]),await _0x4ea421['Xkhgb'](withTelemetry,'start',_0x21d724=>start(_0x580f5c[_0x99b5f(0x166)],{'skipChromium':_0x580f5c['skip-chromium'],'skipAuth':_0x580f5c['skip-auth'],'withDeps':_0x580f5c['with-deps'],'scope':_0x580f5c['scope'],'url':_0x580f5c[_0x99b5f(0x1eb)],'force':_0x580f5c['force']},_0x21d724));})['command'](_0x4ea421['Bpelc'],![],_0x237a1f=>{const _0x187fc2=_0x11c8dc;return _0x237a1f[_0x187fc2(0x1be)]('env',{'type':_0x187fc2(0x18a),'description':_0x4ea421['pDZez']})['option'](_0x4ea421[_0x187fc2(0x276)],{'type':_0x187fc2(0x18a),'description':_0x4ea421['PIOko']})['option'](_0x4ea421['BUerT'],{'type':_0x4ea421[_0x187fc2(0x218)],'description':_0x187fc2(0x176)})[_0x187fc2(0x1be)](_0x4ea421[_0x187fc2(0x192)],{'type':_0x187fc2(0x18a),'hidden':!![]})['option']('notes',{'type':_0x187fc2(0x18a),'hidden':!![]})['option'](_0x187fc2(0x1ec),{'type':_0x4ea421[_0x187fc2(0x218)],'hidden':!![]})['option'](_0x187fc2(0x288),{'type':_0x4ea421['yjzTR'],'description':_0x187fc2(0x293)})['option'](_0x4ea421['HACQV'],{'type':'string','description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})['option'](_0x4ea421['DHzGr'],{'type':_0x187fc2(0x18a),'hidden':!![]})[_0x187fc2(0x1be)](_0x187fc2(0x25c),{'type':'boolean','hidden':!![],'default':![]})['option'](_0x4ea421['vwznP'],{'type':_0x187fc2(0x18a),'array':!![],'alias':_0x187fc2(0x2f5),'hidden':!![]})[_0x187fc2(0x1be)](_0x4ea421['TtryD'],{'type':'string','hidden':!![],'choices':[_0x187fc2(0x2fc),'partial',_0x187fc2(0x2a9),_0x187fc2(0x24d),'incomplete']});},async _0x2bf0f7=>{await runGoCommand(_0x2bf0f7,!![]);})['command'](_0x4ea421[_0x11c8dc(0x2c2)],![],_0x3555dc=>{const _0x441dd1=_0x11c8dc;return _0x3555dc[_0x441dd1(0x229)]('env-name',{'type':'string','description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x441dd1(0x1be)]('ci',{'type':_0x441dd1(0x211),'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})[_0x441dd1(0x1be)]('skip-auth',{'type':_0x441dd1(0x211),'description':_0x4ea421[_0x441dd1(0x272)],'default':![]});},async _0x135cbe=>{const _0x496cf1=_0x11c8dc;_0x4ea421[_0x496cf1(0x2a8)](warnRenamed,_0x4ea421[_0x496cf1(0x1de)],_0x4ea421[_0x496cf1(0x19e)]),await _0x4ea421['BhlHN'](withTelemetry,_0x4ea421[_0x496cf1(0x15a)],_0x40af64=>addEnv(_0x135cbe['env-name'],{'ci':_0x135cbe['ci'],'skipAuth':_0x135cbe[_0x496cf1(0x2d2)]},_0x40af64));})['command'](_0x4ea421[_0x11c8dc(0x2fd)],![],_0x38052c=>{const _0x56abcf=_0x11c8dc;return _0x38052c['positional']('env-name',{'type':_0x4ea421[_0x56abcf(0x209)],'description':_0x4ea421[_0x56abcf(0x1c0)],'demandOption':!![]});},async _0x308076=>{const _0x246628=_0x11c8dc;_0x4ea421['yAReA'](warnRenamed,'ranger\x20use',_0x4ea421[_0x246628(0x2c5)]),await _0x4ea421[_0x246628(0x21b)](withTelemetry,'use',()=>useEnv(_0x308076[_0x246628(0x1f0)]));})[_0x11c8dc(0x2ba)](_0x4ea421['tKkIY'],![],_0x416647=>{const _0x32a6af=_0x11c8dc,_0x3b4582={'QVPOw':'string','jMiDC':'Environment\x20name','bWZLH':_0x4ea421[_0x32a6af(0x193)],'EztbQ':'value','YuSKa':_0x32a6af(0x18e),'pAXAX':function(_0x5c3b1c,_0x1ddbbb,_0x55d3ee){return _0x5c3b1c(_0x1ddbbb,_0x55d3ee);},'nDXfQ':'ranger\x20config\x20set','MhjIh':function(_0x424af7,_0x5ee21a,_0x1cab84){return _0x424af7(_0x5ee21a,_0x1cab84);}};return _0x416647['command'](_0x4ea421[_0x32a6af(0x1b8)],![],_0x2be4ca=>{const _0x45522d=_0x32a6af;return _0x2be4ca['positional']('env',{'type':_0x3b4582[_0x45522d(0x198)],'description':_0x3b4582[_0x45522d(0x181)],'demandOption':!![]})['positional'](_0x45522d(0x22c),{'type':_0x3b4582['QVPOw'],'description':_0x3b4582['bWZLH'],'demandOption':!![]})['positional'](_0x3b4582['EztbQ'],{'type':_0x3b4582[_0x45522d(0x198)],'description':_0x3b4582['YuSKa'],'demandOption':!![]});},async _0x28923e=>{const _0x127c6b=_0x32a6af;_0x3b4582['pAXAX'](warnRenamed,_0x3b4582[_0x127c6b(0x1d9)],_0x127c6b(0x2f9)),await withTelemetry(_0x127c6b(0x286),()=>configSet(_0x28923e[_0x127c6b(0x161)],_0x28923e['key'],_0x28923e['value']));})['command'](_0x4ea421[_0x32a6af(0x2a0)],![],_0x3fc9d5=>{const _0x56e00c=_0x32a6af;return _0x3fc9d5[_0x56e00c(0x229)](_0x4ea421['iOYQX'],{'type':_0x4ea421['yjzTR'],'description':_0x4ea421[_0x56e00c(0x28f)],'demandOption':!![]})[_0x56e00c(0x229)](_0x4ea421[_0x56e00c(0x23d)],{'type':_0x4ea421['yjzTR'],'description':_0x4ea421['DYdWq'],'demandOption':!![]});},async _0x3d59db=>{const _0x488700=_0x32a6af;_0x4ea421[_0x488700(0x263)](warnRenamed,_0x4ea421[_0x488700(0x207)],_0x4ea421['rNHMu']),await _0x4ea421['ctfzh'](withTelemetry,'config\x20get',()=>configGet(_0x3d59db[_0x488700(0x161)],_0x3d59db[_0x488700(0x22c)]));})['command']('list\x20<env>',![],_0x4c04b3=>{const _0x812686=_0x32a6af;return _0x4c04b3[_0x812686(0x229)](_0x4ea421['iOYQX'],{'type':_0x812686(0x18a),'description':_0x4ea421[_0x812686(0x28f)],'demandOption':!![]});},async _0x47be90=>{const _0x2a6617=_0x32a6af;warnRenamed(_0x4ea421[_0x2a6617(0x2e8)],_0x2a6617(0x17b)),await _0x4ea421['ZKXsy'](withTelemetry,'config\x20list',()=>configList(_0x47be90[_0x2a6617(0x161)]));})['command'](_0x4ea421[_0x32a6af(0x2cc)],![],_0x4bd877=>{const _0x360d38=_0x32a6af;return _0x4bd877[_0x360d38(0x229)](_0x4ea421['iOYQX'],{'type':_0x360d38(0x18a),'description':_0x4ea421[_0x360d38(0x28f)],'demandOption':!![]})['positional'](_0x360d38(0x22c),{'type':_0x360d38(0x18a),'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x24d1c4=>{const _0x3f91f3=_0x32a6af;_0x3b4582['pAXAX'](warnRenamed,_0x3f91f3(0x17e),_0x3f91f3(0x29b)),await _0x3b4582[_0x3f91f3(0x281)](withTelemetry,_0x3f91f3(0x1a7),()=>configUnset(_0x24d1c4[_0x3f91f3(0x161)],_0x24d1c4[_0x3f91f3(0x22c)]));})[_0x32a6af(0x157)](0x1,'You\x20must\x20specify\x20a\x20config\x20subcommand');})['command'](_0x4ea421[_0x11c8dc(0x315)],![],_0x54e316=>{const _0x2af32b=_0x11c8dc;return _0x54e316['command']('ls',![],()=>{},async()=>{const _0x25ed79=_0xd8f6;_0x4ea421[_0x25ed79(0x219)](warnRenamed,'ranger\x20env\x20ls',_0x4ea421['yRVyQ']),await withTelemetry(_0x4ea421[_0x25ed79(0x1aa)],()=>envList());})[_0x2af32b(0x2ba)](_0x4ea421['sJKbS'],![],_0x12f40c=>{const _0x16b17e=_0x2af32b;return _0x12f40c[_0x16b17e(0x229)](_0x4ea421[_0x16b17e(0x2e0)],{'type':_0x4ea421[_0x16b17e(0x209)],'description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x1201df=>{const _0x300be3=_0x2af32b;warnRenamed(_0x4ea421['SUuUA'],'ranger\x20profile\x20update'),await _0x4ea421[_0x300be3(0x1b1)](withTelemetry,'env\x20update',_0x4dbeef=>updateEnv(_0x1201df['env-name'],_0x4dbeef));})[_0x2af32b(0x157)](0x1,_0x4ea421['hbwxc']);})['command'](_0x11c8dc(0x2d0),![],_0x5ca55d=>{const _0x211b1e=_0x11c8dc,_0x2edbaa={'XdFHQ':_0x211b1e(0x27a),'TqXMn':_0x211b1e(0x1c9),'YbkXO':_0x4ea421['LrIIH'],'EJkje':_0x4ea421['NlDbh'],'MyznW':'number','vqedb':_0x211b1e(0x1ba),'QcXsx':_0x4ea421[_0x211b1e(0x173)],'KsdWW':_0x211b1e(0x1ae),'xfHoW':_0x211b1e(0x2b3),'MNExq':function(_0x3bd94e,_0x11bf2a,_0x3eb99c){return _0x3bd94e(_0x11bf2a,_0x3eb99c);},'nihqn':_0x211b1e(0x2c9),'kgARP':_0x211b1e(0x2b0),'bJKKR':_0x4ea421[_0x211b1e(0x209)],'ojZAJ':_0x4ea421['xTfCE'],'mpLIz':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','mFuCJ':function(_0x35c4bf,_0x264b4d,_0x26c351){const _0x20121d=_0x211b1e;return _0x4ea421[_0x20121d(0x263)](_0x35c4bf,_0x264b4d,_0x26c351);},'zNwGF':_0x4ea421[_0x211b1e(0x2af)],'CERjO':_0x211b1e(0x2b2),'HRUGB':function(_0x50c3d0,_0xf038c3,_0x3988cd){return _0x50c3d0(_0xf038c3,_0x3988cd);},'zqrGN':'ranger\x20feature\x20delete','aDBfp':_0x4ea421[_0x211b1e(0x1a8)],'GroWd':_0x4ea421[_0x211b1e(0x1a2)]};return _0x5ca55d['command']('create\x20<name>',![],_0x38afbf=>{const _0x12e236=_0x211b1e;return _0x38afbf[_0x12e236(0x229)](_0x12e236(0x285),{'type':_0x4ea421['yjzTR'],'description':_0x12e236(0x1fd),'demandOption':!![]})['option']('description',{'type':_0x12e236(0x18a),'alias':'d','description':_0x12e236(0x21d)})[_0x12e236(0x1be)]('checklist',{'type':_0x4ea421[_0x12e236(0x319)],'alias':'c','description':_0x4ea421[_0x12e236(0x16d)]})[_0x12e236(0x1be)]('scenario',{'type':'array','hidden':!![]});},async _0x1b1103=>{const _0x322580=_0x211b1e;warnRenamed(_0x2edbaa[_0x322580(0x2ff)],'ranger\x20create'),warnFlagRenamed('ranger\x20create',_0x2edbaa[_0x322580(0x2ca)],_0x2edbaa[_0x322580(0x2c0)]);const _0x502988=_0x1b1103['scenario']||_0x1b1103['checklist'];await withTelemetry(_0x322580(0x191),()=>featureCreate(_0x1b1103['name'],{'description':_0x1b1103['description'],'scenarios':_0x502988}));})[_0x211b1e(0x2ba)]('list',![],_0x1747d1=>{const _0x212703=_0x211b1e;return _0x1747d1[_0x212703(0x1be)](_0x212703(0x18c),{'type':_0x2edbaa['EJkje'],'description':_0x212703(0x2cd)})['option']('limit',{'type':_0x2edbaa['MyznW'],'alias':'l','description':_0x2edbaa[_0x212703(0x18d)],'default':0xa})['option'](_0x2edbaa[_0x212703(0x278)],{'type':_0x2edbaa[_0x212703(0x15f)],'alias':'o','description':_0x212703(0x1bd),'default':0x0})['option'](_0x2edbaa[_0x212703(0x19d)],{'type':_0x2edbaa[_0x212703(0x1af)],'alias':'d','description':_0x2edbaa['xfHoW'],'default':![]});},async _0x314e2e=>{const _0x37b913=_0x211b1e;_0x4ea421[_0x37b913(0x31d)](warnRenamed,_0x37b913(0x1d4),_0x4ea421[_0x37b913(0x16e)]),await withTelemetry('feature\x20list',()=>featureList({'currentBranch':_0x314e2e[_0x37b913(0x18c)],'limit':_0x314e2e['limit'],'offset':_0x314e2e['offset'],'includeDeleted':_0x314e2e[_0x37b913(0x1ae)]}));})['command']('show\x20[id]',![],_0x201f10=>{const _0x135be9=_0x211b1e;return _0x201f10[_0x135be9(0x229)]('id',{'type':_0x135be9(0x18a),'description':_0x135be9(0x316)});},async _0x5776e3=>{const _0x3f9e2d=_0x211b1e;_0x4ea421['EAlWD'](warnRenamed,_0x4ea421['wzELl'],'ranger\x20show'),await withTelemetry(_0x3f9e2d(0x197),()=>featureShow(_0x5776e3['id']));})['command'](_0x4ea421['oeiKy'],![],_0x232ee7=>{const _0x216e11=_0x211b1e;return _0x232ee7['positional']('id',{'type':_0x216e11(0x18a),'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x4ae271=>{const _0x44bfaa=_0x211b1e;_0x2edbaa['MNExq'](warnRenamed,_0x2edbaa['nihqn'],_0x44bfaa(0x2d5)),await withTelemetry(_0x2edbaa['kgARP'],()=>featureResume(_0x4ae271['id']));})[_0x211b1e(0x2ba)](_0x211b1e(0x1ac),![],_0x164791=>{const _0x27e4b8=_0x211b1e;return _0x164791['positional'](_0x27e4b8(0x302),{'type':_0x2edbaa[_0x27e4b8(0x308)],'description':_0x2edbaa['ojZAJ'],'demandOption':!![]})[_0x27e4b8(0x1be)]('id',{'type':_0x27e4b8(0x18a),'description':_0x2edbaa['mpLIz']});},async _0x57672b=>{const _0x362750=_0x211b1e;_0x2edbaa[_0x362750(0x171)](warnRenamed,_0x2edbaa[_0x362750(0x221)],_0x2edbaa[_0x362750(0x1e2)]),await _0x2edbaa['MNExq'](withTelemetry,_0x362750(0x2f8),()=>featureAddScenario(_0x57672b[_0x362750(0x302)],_0x57672b['id']));})[_0x211b1e(0x2ba)](_0x4ea421[_0x211b1e(0x222)],![],_0x221268=>{const _0x4bf18e=_0x211b1e;return _0x221268['positional']('id',{'type':_0x4bf18e(0x18a),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x4224ba=>{const _0x3d2329=_0x211b1e;_0x2edbaa[_0x3d2329(0x159)](warnRenamed,'ranger\x20feature\x20get-feedback',_0x3d2329(0x245)),await _0x2edbaa[_0x3d2329(0x1d5)](withTelemetry,_0x3d2329(0x20c),()=>featureGetReview(_0x4224ba['id']));})['command'](_0x211b1e(0x2df),![],_0x8d1cab=>{const _0x5a98bd=_0x211b1e;return _0x8d1cab['positional']('id',{'type':_0x5a98bd(0x18a),'description':_0x5a98bd(0x316)});},async _0x406cce=>{_0x2edbaa['HRUGB'](warnRenamed,_0x2edbaa['zqrGN'],_0x2edbaa['aDBfp']),await withTelemetry(_0x2edbaa['GroWd'],()=>featureDelete(_0x406cce['id']));})[_0x211b1e(0x2ba)](_0x4ea421[_0x211b1e(0x234)],![],_0x5169f7=>{const _0x28b4b9=_0x211b1e;return _0x5169f7['positional']('id',{'type':_0x28b4b9(0x18a),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x32aac0=>{const _0x32a748=_0x211b1e;_0x2edbaa[_0x32a748(0x1d5)](warnRenamed,'ranger\x20feature\x20restore',_0x32a748(0x16b)),await _0x2edbaa[_0x32a748(0x1d5)](withTelemetry,'feature\x20restore',()=>featureRestore(_0x32aac0['id']));})[_0x211b1e(0x157)](0x1,_0x4ea421['gvQNn']);})['command']('hook',![],_0xf8052a=>{const _0x4a7f5c=_0x11c8dc,_0xc36567={'hROzX':_0x4ea421[_0x4a7f5c(0x31b)],'nBeDl':'string','mPBFo':_0x4ea421['nSgxM']};return _0xf8052a[_0x4a7f5c(0x2ba)](_0x4ea421[_0x4a7f5c(0x244)],_0x4ea421['hYhop'],_0x3d29e4=>{const _0x11c71f=_0x4a7f5c;return _0x3d29e4['option'](_0x4ea421['ijsOm'],{'type':_0x4ea421['yjzTR'],'description':_0x4ea421[_0x11c71f(0x22a)]});},async _0x151c5b=>{const _0x46cb2e=_0x4a7f5c;await withTelemetry(_0x46cb2e(0x311),()=>hook('enable',_0x151c5b['session-id']));})[_0x4a7f5c(0x2ba)](_0x4ea421['WeACA'],_0x4ea421['VDPSV'],_0xa399ff=>{const _0x1e67fa=_0x4a7f5c;return _0xa399ff['option'](_0xc36567['hROzX'],{'type':_0xc36567['nBeDl'],'description':_0xc36567[_0x1e67fa(0x1c3)]});},async _0x423fb1=>{const _0x51115f=_0x4a7f5c;await _0x4ea421[_0x51115f(0x2b8)](withTelemetry,_0x4ea421['SzmTY'],()=>hook(_0x51115f(0x231),_0x423fb1['session-id']));})[_0x4a7f5c(0x1be)](_0x4ea421['zoNJg'],{'type':_0x4ea421['yjzTR'],'description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})[_0x4a7f5c(0x1be)](_0x4ea421[_0x4a7f5c(0x31b)],{'type':_0x4a7f5c(0x18a),'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x3f09a8=>{const _0x5b244f=_0x11c8dc;_0x3f09a8['name']&&await hook(_0x3f09a8[_0x5b244f(0x285)],_0x3f09a8[_0x4ea421['ijsOm']]);})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20command')['strictCommands']()['fail'](async(_0x740783,_0x52bcb6,_0x16fdb6)=>{const _0x222555=_0x11c8dc,_0x375c45=sanitizeArgs(process['argv']['slice'](0x2)),_0x5e1669=getErrorType(_0x740783,_0x52bcb6);if(_0x740783&&_0x740783['includes'](_0x4ea421[_0x222555(0x1a5)])){const _0x41a048=process['argv'][0x2];console['error'](_0x222555(0x202)+_0x41a048),console[_0x222555(0x2a2)](_0x4ea421['VEaYK']);}else{if(_0x740783)console['error']('\x0a'+_0x740783+'\x0a');else _0x52bcb6&&console[_0x222555(0x2a2)]('\x0aError:\x20'+_0x52bcb6['message']+'\x0a');}await _0x4ea421[_0x222555(0x257)](logDesirePath,{'rawCommand':_0x375c45,'errorMessage':_0x740783||_0x52bcb6?.['message'],'errorType':_0x5e1669});const _0x119db2=getCurrentCollector();_0x119db2&&await _0x119db2['trackCommandError'](_0x52bcb6||new Error(_0x4ea421[_0x222555(0x2bb)](_0x740783,'Unknown\x20error'))),process['exit'](0x1);})[_0x11c8dc(0x2ae)](_0x4ea421[_0x11c8dc(0x235)]+'\x20\x20https://docs.ranger.net\x0a'+_0x11c8dc(0x28c))[_0x11c8dc(0x28a)]()['alias']('help','h');}process['env']['NODE_ENV']!=='test'&&(shouldShowLegacyWarning(process[_0xcffea2(0x1cb)])&&showLegacyDeprecationWarning(),buildParser()['parse']());