@ranger-testing/ranger-cli 3.1.1-alpha.08fb70e-39 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/deleteProfile.js +1 -1
  7. package/build/commands/env.js +1 -1
  8. package/build/commands/feature.js +1 -1
  9. package/build/commands/hook.js +1 -1
  10. package/build/commands/hooks/autoPrompt.js +1 -1
  11. package/build/commands/hooks/disable.js +1 -1
  12. package/build/commands/hooks/enable.js +1 -1
  13. package/build/commands/hooks/exitPlanMode.js +1 -1
  14. package/build/commands/hooks/index.js +1 -1
  15. package/build/commands/hooks/output.js +1 -1
  16. package/build/commands/hooks/planReminder.js +1 -1
  17. package/build/commands/hooks/planStart.js +1 -1
  18. package/build/commands/hooks/postEdit.js +1 -1
  19. package/build/commands/hooks/preCompact.js +1 -1
  20. package/build/commands/hooks/sessionEnd.js +1 -1
  21. package/build/commands/hooks/sessionStart.js +1 -1
  22. package/build/commands/hooks/stopHook.js +1 -1
  23. package/build/commands/index.js +1 -1
  24. package/build/commands/login.js +1 -1
  25. package/build/commands/mcpBootstrap.js +1 -1
  26. package/build/commands/migrateProfile.js +1 -1
  27. package/build/commands/setup/claude.js +1 -1
  28. package/build/commands/setup/opencode.js +1 -1
  29. package/build/commands/setupCi.js +1 -1
  30. package/build/commands/skillup.js +1 -1
  31. package/build/commands/start.js +1 -1
  32. package/build/commands/status.js +1 -1
  33. package/build/commands/update.js +1 -1
  34. package/build/commands/updateEnv.js +1 -1
  35. package/build/commands/useEnv.js +1 -1
  36. package/build/commands/utils/activeProfile.js +1 -1
  37. package/build/commands/utils/agentEnv.js +1 -1
  38. package/build/commands/utils/browserSessionsApi.js +1 -1
  39. package/build/commands/utils/claudeConfig.js +1 -1
  40. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  41. package/build/commands/utils/claudePlugin.js +1 -1
  42. package/build/commands/utils/cloudProfile.js +1 -1
  43. package/build/commands/utils/cloudProfileSession.js +1 -1
  44. package/build/commands/utils/crypto.js +1 -1
  45. package/build/commands/utils/desirePathLog.js +1 -1
  46. package/build/commands/utils/deviceAuth.js +1 -1
  47. package/build/commands/utils/environment.js +1 -1
  48. package/build/commands/utils/featureApi.js +1 -1
  49. package/build/commands/utils/fixWebmDuration.js +1 -1
  50. package/build/commands/utils/gitTracked.js +1 -1
  51. package/build/commands/utils/keychain.js +1 -1
  52. package/build/commands/utils/legacyWarning.js +1 -1
  53. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  54. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  55. package/build/commands/utils/mcpImageBase64.js +1 -1
  56. package/build/commands/utils/model.js +1 -1
  57. package/build/commands/utils/novaActCli.js +1 -1
  58. package/build/commands/utils/opencodeConfig.js +1 -1
  59. package/build/commands/utils/organizationEnvApi.js +1 -1
  60. package/build/commands/utils/playwrightCli.js +1 -1
  61. package/build/commands/utils/profileMessages.js +1 -1
  62. package/build/commands/utils/profileSetupBanner.js +1 -1
  63. package/build/commands/utils/projectsConfig.js +1 -1
  64. package/build/commands/utils/rangerConfig.js +1 -1
  65. package/build/commands/utils/rangerRoot.js +1 -1
  66. package/build/commands/utils/rangerwrightCli.js +1 -1
  67. package/build/commands/utils/resolveProfileContext.js +1 -1
  68. package/build/commands/utils/resolveProfileUrl.js +1 -1
  69. package/build/commands/utils/retry.js +1 -1
  70. package/build/commands/utils/sessionCache.js +1 -1
  71. package/build/commands/utils/settings.js +1 -1
  72. package/build/commands/utils/skillContent.js +1 -1
  73. package/build/commands/utils/skills.js +1 -1
  74. package/build/commands/utils/stitchWebmFiles.js +1 -1
  75. package/build/commands/utils/telemetry.js +1 -1
  76. package/build/commands/utils/tokenRefresh.js +1 -1
  77. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  78. package/build/commands/utils/tunnelClient.js +1 -1
  79. package/build/commands/utils/userApi.js +1 -1
  80. package/build/commands/utils/version.js +1 -1
  81. package/build/commands/verifyFeature.js +1 -1
  82. package/build/commands/verifyFeatureCli.js +1 -1
  83. package/build/commands/verifyFeatureNovaCli.js +1 -1
  84. package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
  85. package/package.json +1 -1
package/build/cli.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const _0x266f6e=_0x524b;(function(_0x2bc11d,_0xb293a6){const _0x232c2e=_0x524b,_0x53f6a4=_0x2bc11d();while(!![]){try{const _0x3d848c=parseInt(_0x232c2e(0x22d))/0x1+-parseInt(_0x232c2e(0x20d))/0x2+-parseInt(_0x232c2e(0x1ca))/0x3+parseInt(_0x232c2e(0x2c5))/0x4*(-parseInt(_0x232c2e(0x1ae))/0x5)+parseInt(_0x232c2e(0x2f5))/0x6*(parseInt(_0x232c2e(0x16d))/0x7)+-parseInt(_0x232c2e(0x279))/0x8*(-parseInt(_0x232c2e(0x26f))/0x9)+parseInt(_0x232c2e(0x256))/0xa;if(_0x3d848c===_0xb293a6)break;else _0x53f6a4['push'](_0x53f6a4['shift']());}catch(_0x344680){_0x53f6a4['push'](_0x53f6a4['shift']());}}}(_0x8fa0,0x82251));import _0x1bced7 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x13e7b2=_0x524b,_0x1c7922={'pnnFO':function(_0x29429e,_0x5d9054){return _0x29429e(_0x5d9054);},'aCrIz':function(_0x3fb131,_0x25ab61){return _0x3fb131!==_0x25ab61;},'ZHvPS':function(_0x3f7409,_0x45f677,_0xbf122e){return _0x3f7409(_0x45f677,_0xbf122e);},'nrLOq':_0x13e7b2(0x28b),'HmhvM':function(_0x23ae42,_0x2730cb){return _0x23ae42(_0x2730cb);},'QekfJ':_0x13e7b2(0x309)};let _0x1c752e=process[_0x13e7b2(0x2a8)]();const _0x43bc08=_0x1c7922['pnnFO'](parse,_0x1c752e)[_0x13e7b2(0x273)];while(_0x1c7922['aCrIz'](_0x1c752e,_0x43bc08)){if(existsSync(_0x1c7922['ZHvPS'](join,_0x1c752e,_0x1c7922[_0x13e7b2(0x2f2)]))||_0x1c7922[_0x13e7b2(0x285)](existsSync,_0x1c7922[_0x13e7b2(0x219)](join,_0x1c752e,_0x1c7922['QekfJ'])))return _0x1c752e;_0x1c752e=_0x1c7922['pnnFO'](dirname,_0x1c752e);}return process['cwd']();}_0x1bced7[_0x266f6e(0x2d2)]({'path':join(findProjectRoot(),_0x266f6e(0x309))});import _0x58efce from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x4f206d=>{const _0x344fa1=_0x266f6e,_0xf08a35={'ezSpR':function(_0x6a320a){return _0x6a320a();}},_0x37731e=_0xf08a35[_0x344fa1(0x30c)](getCurrentCollector);_0x37731e&&await _0x37731e['trackCommandError'](_0x4f206d),process[_0x344fa1(0x192)]=0x1;});const rawArgs=process['argv']['slice'](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP=_0x266f6e(0x2a0),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(_0x19d061,_0x5468ef){console['error']('\x0a'+_0x19d061+'\x20is\x20now\x20'+_0x5468ef+'\x0a');}function argUsed(_0x511308){return rawArgs['some'](_0x1d7872=>_0x1d7872===_0x511308||_0x1d7872['startsWith'](_0x511308+'='));}function warnFlagRenamed(_0x2f6d53,_0x2ec49a,_0x14ffd9){const _0x2e86b3=_0x266f6e,_0x510d14={'URAGU':function(_0x1275aa,_0x3b984a){return _0x1275aa(_0x3b984a);},'PoXNi':function(_0xcbe785,_0x53bce7,_0x333db8){return _0xcbe785(_0x53bce7,_0x333db8);}};_0x510d14[_0x2e86b3(0x220)](argUsed,_0x2ec49a)&&_0x510d14['PoXNi'](warnRenamed,_0x2f6d53+'\x20'+_0x2ec49a,_0x2f6d53+'\x20'+_0x14ffd9);}function normalizeEnvVarNames(_0x2c6fcd){const _0x3d9c0e=_0x266f6e,_0x11395e=Array[_0x3d9c0e(0x2ba)](_0x2c6fcd)?_0x2c6fcd:_0x2c6fcd?[_0x2c6fcd]:[];return _0x11395e[_0x3d9c0e(0x1ef)](_0x29876a=>String(_0x29876a)['split'](',')['map'](_0x3e2590=>_0x3e2590[_0x3d9c0e(0x1bd)]())['filter'](Boolean));}async function runGoCommand(_0x5a091f,_0x36d8eb=![]){const _0x20bf37=_0x266f6e,_0x563e50={'RnvgE':function(_0x307e0b,_0x26d113){return _0x307e0b+_0x26d113;},'ibfiq':_0x20bf37(0x2cf),'lkPmO':function(_0x29f281,_0x1cf248,_0x295188,_0x3f3f1d){return _0x29f281(_0x1cf248,_0x295188,_0x3f3f1d);},'QlJBR':'--notes','ykdeD':_0x20bf37(0x288),'WoCXp':function(_0x55185d){return _0x55185d();},'IISfI':function(_0x2f7ec4,_0x180a4c){return _0x2f7ec4(_0x180a4c);},'xQrcS':_0x20bf37(0x2b5),'slmLA':function(_0xa0bda3,_0x4b75e5){return _0xa0bda3>_0x4b75e5;},'JbxKM':function(_0x405e12,_0x226afb){return _0x405e12!==_0x226afb;},'TDycz':'rangerwright-cli','hFSon':_0x20bf37(0x1a4),'JAMrA':'base-url','Dlxem':'debug-outcome','QmPHL':function(_0x276766,_0x5997e5){return _0x276766===_0x5997e5;},'QZqPt':_0x20bf37(0x266),'yWFEc':function(_0x3f58d8,_0x1610c1){return _0x3f58d8===_0x1610c1;},'EEvOX':_0x20bf37(0x252),'mEyKp':'\x20INCOMPLETE','PBsKR':_0x20bf37(0x1da)};_0x36d8eb&&warnRenamed(_0x20bf37(0x30d),_0x563e50[_0x20bf37(0x313)]);warnFlagRenamed(_0x563e50['ibfiq'],_0x20bf37(0x198),_0x20bf37(0x2fb)),_0x563e50['lkPmO'](warnFlagRenamed,'ranger\x20go','--task',_0x563e50['QlJBR']),warnFlagRenamed('ranger\x20go',_0x563e50['ykdeD'],_0x20bf37(0x316));const _0x24db44=await _0x563e50[_0x20bf37(0x15d)](loadRangerConfig),_0x4f3f07=isByokEnabled(),_0x2148f5=_0x5a091f['model'],_0xc62419=_0x24db44['model'],_0x2c9a4e=_0x563e50[_0x20bf37(0x296)](normalizeEnvVarNames,_0x5a091f[_0x563e50[_0x20bf37(0x1bf)]]),_0x2df584=_0x563e50[_0x20bf37(0x15d)](getVerificationTransport);if(_0x563e50[_0x20bf37(0x295)](_0x2c9a4e[_0x20bf37(0x2fd)],0x0)&&_0x563e50['JbxKM'](_0x2df584,_0x20bf37(0x241))&&_0x2df584!==_0x563e50[_0x20bf37(0x2da)])throw new Error(_0x20bf37(0x2aa)+_0x2df584+'.');const _0x46b2c8=await verifyFeature({'featureId':_0x5a091f[_0x20bf37(0x208)],'profile':_0x5a091f[_0x20bf37(0x29a)]??_0x5a091f['env']??process[_0x20bf37(0x319)][_0x20bf37(0x291)],'notes':_0x5a091f['notes']??_0x5a091f['task'],'scenario':_0x5a091f['scenario']??_0x5a091f['item'],'startPath':_0x5a091f[_0x563e50['hFSon']],'baseUrl':_0x5a091f[_0x563e50['JAMrA']],'debugOutcome':_0x5a091f[_0x563e50[_0x20bf37(0x234)]],'debugAddressComments':_0x5a091f[_0x20bf37(0x245)],'headed':_0x5a091f[_0x20bf37(0x16a)],'verifierEnvVars':_0x2c9a4e,'byokEnabled':_0x4f3f07,'flagVerifyModel':_0x2148f5,'configVerifyModel':_0xc62419});console['log'](_0x563e50[_0x20bf37(0x221)]('\x0a','='[_0x20bf37(0x284)](0x3c))),console[_0x20bf37(0x27d)](_0x563e50['QmPHL'](_0x46b2c8[_0x20bf37(0x305)],'verified')?_0x563e50['QZqPt']:_0x563e50[_0x20bf37(0x23c)](_0x46b2c8[_0x20bf37(0x305)],_0x563e50['EEvOX'])?_0x563e50[_0x20bf37(0x2a7)]:_0x46b2c8[_0x20bf37(0x305)]===_0x20bf37(0x1af)?'\x20PARTIAL':_0x46b2c8[_0x20bf37(0x305)]===_0x20bf37(0x1df)?_0x563e50['PBsKR']:_0x20bf37(0x286)),console['log']('='['repeat'](0x3c)),console[_0x20bf37(0x27d)](_0x20bf37(0x1f9)+_0x46b2c8[_0x20bf37(0x2f3)]),console['log'](_0x20bf37(0x1ec)+_0x46b2c8['evaluation']),console['log'](_0x20bf37(0x28c)+_0x46b2c8['evaluationReason']),_0x46b2c8[_0x20bf37(0x307)]?.['length']&&(console['log'](_0x20bf37(0x2f9)),_0x46b2c8['issues']['forEach']((_0x1ec15e,_0x1e34ab)=>{const _0x5c9097=_0x20bf37;console['log']('\x0a'+_0x563e50['RnvgE'](_0x1e34ab,0x1)+'.\x20['+_0x1ec15e[_0x5c9097(0x181)]+']\x20'+_0x1ec15e[_0x5c9097(0x18b)]);})),process['exit'](_0x46b2c8['evaluation']==='verified'?0x0:0x1);}function _0x8fa0(){const _0x3f1bc1=['ranger\x20create','hxCVh','SHsRN','mTber','rntkU','encrypt-auth\x20<profile>','vBVUr','env\x20update','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','Base\x20URL\x20of\x20the\x20running\x20app','Evaluation:\x20','feature\x20add-checklist-item','Unknown\x20error','flatMap','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','set\x20<env>\x20<key>\x20<value>','AXDJT','FiLSr','config\x20list','profile\x20config\x20get','all','Alias\x20for\x20--mcp-bootstrap','manual','Summary:\x20','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','dmPZD','ranger\x20resume','Name\x20of\x20the\x20profile\x20to\x20update','MQHgx','current-branch','iHCAw','create','FBTXE','SNrZA','TYCGH','option','profile-name','Name\x20of\x20the\x20environment\x20to\x20update','feature','PycoX','WusWx','jgHRu','gBxhK','325180DUkbgw','feature\x20delete','SxumV','session-id','BvTvk','message','SBhfG','Print\x20the\x20current\x20CLI\x20access\x20token','env-name','HVsgA','ranger\x20feature\x20delete','toNYK','ZHvPS','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','You\x20must\x20specify\x20a\x20command','Asahe','rJrEz','FzlLh','vFjCh','URAGU','RnvgE','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','mUeDs','iucSh','YVTZG','delete\x20<profile-name>','mcp-bootstrap','RuWpx','start\x20[token]','ranger\x20config\x20get','failed','860687gMBdXy','eGbeQ','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.','dwiaM','ZwGWW','ranger\x20feature\x20create','OMOJO','Dlxem','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','BttfZ','YAGhO','KUmbX','oGOzo','NOLPd','PdnzZ','yWFEc','ranger\x20profile\x20ls','bfINt','Remove\x20a\x20config\x20value','LflIc','playwright-cli','verified','YahlS','kevkT','debug-address-comments','Name\x20of\x20the\x20environment','hook:disable','pjVkI','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','Authenticate\x20via\x20MCP\x20proxy','ykQJi','base-url','login','cdp-endpoint','gTaIr','json','add\x20env','incomplete','ranger\x20profile\x20update','ranger\x20config\x20set','skip-auth','1169330zsvBTZ','include-deleted','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','status','Documentation:\x0a','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','limit','Update\x20authentication\x20for\x20an\x20existing\x20profile','profile\x20config\x20set','Install\x20OS-level\x20dependencies\x20for\x20Chromium','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','edit-scenario\x20<description>','array','ooCur','token','XeBDu','\x20VERIFIED','skip-chromium','bzwUc','use\x20<env-name>','number','Install\x20skills\x20for\x20OpenCode','boolean','Subcommand\x20or\x20API\x20token\x20(rngr_...)','ranger\x20get-review','9ihTsKB','SNbbU','RGCwX','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','root','gCkvv','rLzrA','FjUBI','nJiDf','mOqYU','3375440NXNIlt','GYGyD','Authenticate\x20with\x20Ranger','offset','log','bbLjO','qdMUd','setup\x20[tokenOrSubcommand]','skillup','ybnSE','migrate\x20[profile-name]','repeat','HmhvM','\x20FAILED','Install\x20scope\x20for\x20plugin\x20and\x20skills','--item','get-review','model','.ranger','Reason:\x20','MwuRV','scope','WqVsJ','key','RANGER_PROFILE','HVvcG','nUMbA','agJWq','slmLA','IISfI','slice','allow-insecure-localhost','GCZBg','profile','Profile\x20name','setup:all','Delete\x20a\x20cloud\x20profile','opencode','pUizY','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','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','GKupl','YLusq','delete','IPZZo','yes','mEyKp','cwd','List\x20all\x20profiles','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','string','name','debug-outcome','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','test','environment-variable','get\x20<profile>\x20<key>','xScAT','BQCMR','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','env-var','KeKIt','yzewn','eagql','mTsIU','isArray','AGNOz','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','wEsHI','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','setup-ci\x20<token>','kKWxl','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','aYGxZ','ZtrXU','exit','4vmSdHl','NODE_ENV','create\x20<name>','demandCommand','success','with-deps','muVky','RXjIG','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','tokenOrSubcommand','ranger\x20go','FtjBS','nYfuB','config','XUEJg','ranger\x20config\x20unset','ydXCo','mcp','Ranger\x20API\x20token','UIwPt','sGwDn','TDycz','VSbkV','clean','profile\x20login','error','verify-feature','kWjFx','guzQb','CdcUr','ranger\x20setup\x20profiles\x20--scope=','user','EUukF','safe-mode','delete\x20[id]','Set\x20up\x20a\x20local\x20browser\x20profile','wnCXW','ranger\x20profile\x20use','SmVXk','dry-run','reDva','MFMBT','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','Environment\x20name','\x20\x20https://docs.ranger.net\x0a','nrLOq','summary','Pmoeb','144GiEKEX','config\x20unset','zZsCq','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','\x0aIssues:','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','--profile','AzIdN','length','OrOzo','KEOKt','VRWLX','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','use\x20<profile-name>','ranger\x20profile\x20encrypt-auth','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','evaluation','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','issues','tnIkx','.env','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','mdESk','ezSpR','ranger\x20verify-feature','MvIDY','\x0aUnknown\x20command:\x20','ranger\x20feature\x20show','EDRXM','oMBMd','ibfiq','BSgNf','Login\x20failed:\x20','--scenario','KwoBn','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','env','gzcEL','IyqKF','force','use','DfZIa','zGuuw','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','profile\x20migrate','xoGsH','WoCXp','\x0aError:\x20','You\x20must\x20specify\x20an\x20auth\x20subcommand','profile\x20update','feature\x20get-feedback','list','ranger\x20feature\x20restore','xBiRp','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','ArJmM','LvkQS','get\x20<env>\x20<key>','dInbc','headed','pTUhL','kniov','288547MSOqHt','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','exclude-scenario','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','ranger\x20feature\x20get-feedback','version','bfmBe','xEOAM','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','scenario','jybqt','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','setup:skills','update\x20<env-name>','oqSmz','EanWb','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','Number\x20of\x20feature\x20reviews\x20to\x20skip','severity','Feature\x20review\x20ID\x20to\x20restore','Example:\x20ranger\x20create\x20my-feature','ranger\x20use','pcRrV','positional','aXKyA','uUvLG','vUABl','tQCQm','description','wsgcc','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','TiXqd','ranger\x20setup','url','start','exitCode','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','oUUhH','Yapzw','kMBiE','checklist','--env','npALH','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','guNFb','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','IOvnP','epilogue','auth','JtCkE','trackCommandError','PdGHS','TxSoA','start-path','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','ranger\x20profile\x20config\x20set','Heypq','UOOnj','oFxWW','QAZgm','tInFm','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','DgnpW','4714595rOwWyO','partial','update\x20<profile-name>','profile\x20encrypt-auth','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','QVHvu','FYtIt','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','print-access-token','NSIZz','YptIl','Set\x20a\x20config\x20value','ranger\x20env\x20ls','axyUv','Add\x20profile\x20configuration','trim','ranger\x20restore','xQrcS','VOYBr','RANGER_TEST_USERNAME','resume\x20[id]','Restore\x20a\x20soft-deleted\x20feature\x20review','get-feedback\x20[id]','ranger','snPFi','command','WsVxT','YQgJq','2250816XyceRm','Config\x20key\x20to\x20remove','Scenario\x20number\x20to\x20edit\x20(1-based)','MGTQp','uWtqW','rjANe','RMuzr','HifCP','VkrlB','fvKkW','Feature\x20review\x20ID','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','MSILq','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','vvLGw','ranger\x20start','\x20BLOCKED','mloOM','iwhew','feature\x20create','value','blocked','hTmhR','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)'];_0x8fa0=function(){return _0x3f1bc1;};return _0x8fa0();}export function buildParser(_0x25c368){const _0x4e6025=_0x266f6e,_0x569f4d={'bbLjO':_0x4e6025(0x2ac),'JMkeK':'description','CdcUr':_0x4e6025(0x2ab),'HVsgA':'Feature\x20review\x20description','ggAhc':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','VOYBr':'checklist','leFeX':'array','IyqKF':function(_0x38c799,_0x3b53b7){return _0x38c799+_0x3b53b7;},'zZsCq':_0x4e6025(0x2b4),'QVHvu':function(_0x7d4707,_0x539bd5,_0x42242b,_0x35ec18){return _0x7d4707(_0x539bd5,_0x42242b,_0x35ec18);},'jgHRu':'--scenario','FBTXE':function(_0x3b20df,_0x1d48c5,_0x5aca98){return _0x3b20df(_0x1d48c5,_0x5aca98);},'YTUAa':_0x4e6025(0x201),'toNYK':_0x4e6025(0x1ff),'rntkU':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','VdcST':_0x4e6025(0x27c),'mdESk':'number','MQHgx':_0x4e6025(0x180),'CpXId':_0x4e6025(0x257),'YQgJq':_0x4e6025(0x162),'ntSJN':'show','hTmhR':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','qPboE':'Scenario\x20description','TxSoA':'scenario','muVky':_0x4e6025(0x1d4),'kbxnL':_0x4e6025(0x1a5),'vBVUr':_0x4e6025(0x26c),'VkrlB':_0x4e6025(0x222),'eGbeQ':_0x4e6025(0x16f),'AGNOz':'report','vUABl':function(_0x500cde,_0x314dcb,_0x4d70f7){return _0x500cde(_0x314dcb,_0x4d70f7);},'aCskj':'Feature\x20review\x20ID\x20to\x20restore','uUvLG':'restore','WsVxT':_0x4e6025(0x228),'kevkT':_0x4e6025(0x29c),'XUEJg':'with-deps','oUUhH':_0x4e6025(0x235),'guzQb':_0x4e6025(0x28e),'QdeGK':_0x4e6025(0x287),'FiLSr':_0x4e6025(0x306),'fViiP':_0x4e6025(0x190),'aadNN':'Skip\x20browser\x20authentication','jddCA':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','xoGsH':function(_0x3ad1b1,_0x2c8623){return _0x3ad1b1!==_0x2c8623;},'LflIc':function(_0xcd4807,_0x75bf2d){return _0xcd4807+_0x75bf2d;},'hBxAa':'token','YOlWA':'Ranger\x20API\x20token','FYtIt':'skip-chromium','nYfuB':'Skip\x20authentication','wnCXW':_0x4e6025(0x25f),'XeIVG':_0x4e6025(0x2be),'swCkM':_0x4e6025(0x1d5),'oFxWW':function(_0x3e930d){return _0x3e930d();},'wsgcc':function(_0x3269da,_0x4db278){return _0x3269da(_0x4db278);},'NSIZz':'setup:login','xwnoh':'tokenOrSubcommand','gCdVJ':_0x4e6025(0x1f6),'VoECt':'Run\x20full\x20interactive\x20setup','vFjCh':'Install\x20Chromium\x20browser\x20binary','OKPMv':_0x4e6025(0x24d),'eTTQy':_0x4e6025(0x2fa),'qdMUd':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','GYGyD':_0x4e6025(0x2e4),'oGOzo':_0x4e6025(0x31c),'pUizY':_0x4e6025(0x2bc),'wEsHI':'skip-auth','PyGNg':_0x4e6025(0x19a),'TiXqd':function(_0x38841f,_0x4ce402,_0x466bc4){return _0x38841f(_0x4ce402,_0x466bc4);},'gCkvv':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','vOvKJ':'Skip\x20Chromium\x20browser\x20installation','HAkfE':'opencode','QpsRp':_0x4e6025(0x26b),'DgnpW':'profile-name','ykZtU':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','KBRpf':'profile\x20ls','mexfz':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','FtjBS':'save-creds','PnAoN':_0x4e6025(0x170),'ooCur':_0x4e6025(0x1f0),'EBzka':_0x4e6025(0x2a6),'GCZBg':function(_0x36f590,_0x28be43,_0x59cea9,_0x3d86bc){return _0x36f590(_0x28be43,_0x59cea9,_0x3d86bc);},'LxCZX':'profile\x20add','WaskJ':'manual','EXJpK':'No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','rjANe':'unknown\x20error','hxCVh':function(_0x100d16,_0x54e9cd,_0x19ad5d){return _0x100d16(_0x54e9cd,_0x19ad5d);},'ZTalO':_0x4e6025(0x1ea),'XoFPI':_0x4e6025(0x1f5),'YAGhO':_0x4e6025(0x1b9),'snPFi':'list\x20<profile>','fOZIt':'List\x20all\x20config\x20for\x20a\x20profile','iucSh':'add\x20<profile-name>','hjCwy':_0x4e6025(0x29d),'vvLGw':_0x4e6025(0x1e7),'xEOAM':_0x4e6025(0x2a9),'qNSPy':_0x4e6025(0x25d),'pjVkI':'You\x20must\x20specify\x20a\x20profile\x20subcommand','AXDJT':'status','AzIdN':function(_0x5ad9da,_0x4c5703,_0x233fc1){return _0x5ad9da(_0x4c5703,_0x233fc1);},'yIXhx':'Optional\x20feature\x20ID','ZUENz':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','SmVXk':'notes','YLusq':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','MwuRV':'start-path','MGTQp':_0x4e6025(0x2ef),'RMuzr':_0x4e6025(0x21a),'dhUUY':_0x4e6025(0x28a),'SNrZA':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','HifCP':'environment-variable','YHZir':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','YahlS':_0x4e6025(0x2ad),'biBaq':'partial','SxumV':_0x4e6025(0x1df),'UIwPt':_0x4e6025(0x22c),'BvTvk':'env','ZvSfD':'task','mOErq':'item','BQCMR':function(_0x2c292f,_0x906fa3){return _0x2c292f(_0x906fa3);},'WusWx':'profile','PdGHS':_0x4e6025(0x29b),'kKGSH':'ranger\x20auth\x20encrypt','UNrka':_0x4e6025(0x15f),'BEMGK':_0x4e6025(0x260),'QQpMC':_0x4e6025(0x191),'SBhfG':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','jybqt':'Scenario\x20index\x20(1-based)','uyiSY':_0x4e6025(0x24c),'EUukF':_0x4e6025(0x16a),'ioeqp':'env-var','UuvVp':_0x4e6025(0x242),'RGCwX':function(_0x5f6251,_0x3f1334,_0x342e2b){return _0x5f6251(_0x3f1334,_0x342e2b);},'gzcEL':'env-name','dInbc':_0x4e6025(0x2ae),'rnSUn':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','bFTnh':function(_0x1904c0,_0x142edd,_0x3a9cc9){return _0x1904c0(_0x142edd,_0x3a9cc9);},'pXyLF':'ranger\x20add\x20env','YCVeA':function(_0x1c4847,_0x59e907,_0x14f186){return _0x1c4847(_0x59e907,_0x14f186);},'lyQiF':_0x4e6025(0x251),'WiBeU':_0x4e6025(0x246),'ArJmM':function(_0x27e6af,_0xd50cb9,_0x2c6b40){return _0x27e6af(_0xd50cb9,_0x2c6b40);},'EanWb':_0x4e6025(0x2ea),'rJrEz':function(_0xfdeff7,_0x3308fe,_0x8852a2){return _0xfdeff7(_0x3308fe,_0x8852a2);},'mOqYU':_0x4e6025(0x31d),'dqhaW':_0x4e6025(0x1de),'wxDvv':'Environment\x20name','BhQEH':'ranger\x20profile\x20config\x20list','kKWxl':_0x4e6025(0x1f4),'Ciofc':_0x4e6025(0x1cb),'huwwy':'ranger\x20profile\x20config\x20unset','axyUv':'config\x20set','OMOJO':'ranger\x20profile\x20config\x20get','UCYvP':'config\x20get','zGuuw':'list\x20<env>','ydXCo':'ranger\x20env\x20update','CCVjZ':_0x4e6025(0x207),'iHCAw':'You\x20must\x20specify\x20an\x20env\x20subcommand','sCUlX':'ranger\x20create','GdDcg':'--checklist','nJiDf':function(_0x2e13f3,_0x46f2c9,_0x11a6db){return _0x2e13f3(_0x46f2c9,_0x11a6db);},'rViUK':_0x4e6025(0x1dd),'SHsRN':function(_0x18b551,_0xf22b88,_0x3af986){return _0x18b551(_0xf22b88,_0x3af986);},'PXWbC':'ranger\x20feature\x20resume','YptIl':'feature\x20resume','kniov':'ranger\x20add-scenario','GgQHU':'Feature\x20review\x20name','oqSmz':'Include\x20soft-deleted\x20feature\x20reviews','XhSuX':'feature\x20show','ZOpan':'ranger\x20delete','HxuOW':'create\x20<name>','mTsIU':'show\x20[id]','BttfZ':_0x4e6025(0x1c4),'ZtrXU':'restore\x20<id>','QAZgm':_0x4e6025(0x1b5),'ovvsL':'session-id','JcPZZ':_0x4e6025(0x19c),'nUMbA':'hook:enable','HVvcG':function(_0x33a816,_0x3d037d,_0x43cbcc){return _0x33a816(_0x3d037d,_0x43cbcc);},'QUeST':_0x4e6025(0x247),'OrOzo':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','ykQJi':function(_0x2f4e47,_0x1fcee8,_0x59edbc){return _0x2f4e47(_0x1fcee8,_0x59edbc);},'yvMJn':'Unknown\x20command','oMBMd':'ranger','UOOnj':function(_0x290257){return _0x290257();},'WqVsJ':'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','agJWq':_0x4e6025(0x25b),'bzUsa':'report\x20[id]','mTber':_0x4e6025(0x272),'DfZIa':'get-review\x20[id]','mfnKn':_0x4e6025(0x2bf),'voYQL':_0x4e6025(0x281),'VSbkV':'Install\x20Ranger\x20skills','ExXXI':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','ercPB':'update','kWgFq':_0x4e6025(0x1b6),'nHEoe':'add\x20env\x20<env-name>','WiACm':_0x4e6025(0x269),'ZGkkc':_0x4e6025(0x208),'nDjxg':_0x4e6025(0x21b),'TJuRU':function(_0x3a9f7,_0x20eb8f){return _0x3a9f7+_0x20eb8f;},'BSgNf':_0x4e6025(0x25a),'JtCkE':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','kSrBg':'help'};return _0x58efce(_0x25c368??process['argv']['slice'](0x2))['scriptName'](_0x569f4d[_0x4e6025(0x312)])['usage'](TOP_LEVEL_HELP)[_0x4e6025(0x172)](_0x569f4d[_0x4e6025(0x1a8)](getCurrentVersion))[_0x4e6025(0x1c7)](_0x4e6025(0x2c7),_0x4e6025(0x16e),_0x4ef652=>{const _0x270b83=_0x4e6025;return _0x4ef652['positional'](_0x569f4d['bbLjO'],{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x569f4d['JMkeK'],{'type':_0x569f4d['CdcUr'],'alias':'d','description':_0x569f4d[_0x270b83(0x216)]})[_0x270b83(0x205)]('scenario',{'type':'array','alias':'c','description':_0x569f4d['ggAhc']})['option'](_0x569f4d[_0x270b83(0x1c0)],{'type':_0x569f4d['leFeX'],'hidden':!![]});},async _0x5a14d3=>{const _0x2e4e31=_0x4e6025;if(!_0x5a14d3['name']){console[_0x2e4e31(0x2de)](_0x569f4d[_0x2e4e31(0x31b)](_0x569f4d[_0x2e4e31(0x2f7)],_0x2e4e31(0x183))),process['exit'](0x1);return;}_0x569f4d[_0x2e4e31(0x1b3)](warnFlagRenamed,'ranger\x20create','--checklist',_0x569f4d[_0x2e4e31(0x20b)]);const _0x12dc2a=_0x5a14d3[_0x2e4e31(0x176)]||_0x5a14d3[_0x2e4e31(0x197)];await _0x569f4d['FBTXE'](withTelemetry,_0x569f4d['YTUAa'],()=>featureCreate(_0x5a14d3['name'],{'description':_0x5a14d3['description'],'scenarios':_0x12dc2a}));})['command']('list','List\x20all\x20feature\x20reviews',_0x3a480d=>{const _0x1583f1=_0x4e6025;return _0x3a480d['option'](_0x569f4d[_0x1583f1(0x218)],{'type':_0x1583f1(0x26c),'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option']('limit',{'type':'number','alias':'l','description':_0x569f4d[_0x1583f1(0x1e6)],'default':0xa})[_0x1583f1(0x205)](_0x569f4d['VdcST'],{'type':_0x569f4d['mdESk'],'alias':'o','description':_0x569f4d[_0x1583f1(0x1fe)],'default':0x0})[_0x1583f1(0x205)](_0x569f4d['CpXId'],{'type':'boolean','alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x2aa5b6=>{const _0x5bb30d=_0x4e6025;await withTelemetry(_0x569f4d[_0x5bb30d(0x1c9)],()=>featureList({'currentBranch':_0x2aa5b6['current-branch'],'limit':_0x2aa5b6['limit'],'offset':_0x2aa5b6[_0x5bb30d(0x27c)],'includeDeleted':_0x2aa5b6['include-deleted']}));})['command']('show\x20[id]','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x1abc3f=>{const _0x55900a=_0x4e6025;return _0x1abc3f[_0x55900a(0x186)]('id',{'type':_0x55900a(0x2ab),'description':'Feature\x20review\x20ID'});},async _0x525635=>{await _0x569f4d['FBTXE'](withTelemetry,_0x569f4d['ntSJN'],()=>featureShow(_0x525635['id']));})[_0x4e6025(0x1c7)](_0x4e6025(0x1c2),_0x569f4d[_0x4e6025(0x28f)],_0x483d90=>{const _0x420fe2=_0x4e6025;return _0x483d90['positional']('id',{'type':_0x569f4d['CdcUr'],'description':_0x569f4d[_0x420fe2(0x1e0)]});},async _0x2e5350=>{await _0x569f4d['FBTXE'](withTelemetry,'resume',()=>featureResume(_0x2e5350['id']));})[_0x4e6025(0x1c7)]('add-scenario\x20<description>',_0x569f4d[_0x4e6025(0x294)],_0x2a78e7=>{const _0x47bc4f=_0x4e6025;return _0x2a78e7[_0x47bc4f(0x186)]('description',{'type':'string','description':_0x569f4d['qPboE'],'demandOption':!![]})[_0x47bc4f(0x205)]('id',{'type':_0x569f4d[_0x47bc4f(0x2e2)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x4c1424=>{await withTelemetry('add-scenario',()=>featureAddScenario(_0x4c1424['description'],_0x4c1424['id']));})['command'](_0x4e6025(0x261),'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x2a6199=>{const _0x311c4f=_0x4e6025;return _0x2a6199[_0x311c4f(0x186)](_0x311c4f(0x18b),{'type':_0x311c4f(0x2ab),'description':'New\x20scenario\x20description','demandOption':!![]})[_0x311c4f(0x205)](_0x569f4d[_0x311c4f(0x1a3)],{'type':_0x569f4d[_0x311c4f(0x30b)],'description':_0x311c4f(0x1cc),'demandOption':!![]})[_0x311c4f(0x205)]('id',{'type':_0x569f4d['CdcUr'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x44680d=>{const _0x1f5183=_0x4e6025;await withTelemetry('edit-scenario',()=>featureEditScenario(_0x44680d['description'],{'id':_0x44680d['id'],'scenario':_0x44680d[_0x1f5183(0x176)]}));})['command'](_0x569f4d['bzUsa'],_0x569f4d[_0x4e6025(0x1e5)],_0x33008d=>{const _0x4d7c59=_0x4e6025;return _0x33008d['positional']('id',{'type':_0x569f4d['CdcUr'],'description':_0x569f4d['muVky']})[_0x4d7c59(0x205)]('exclude-scenario',{'type':_0x569f4d['leFeX'],'description':_0x569f4d['kbxnL']})['option'](_0x4d7c59(0x250),{'type':_0x569f4d[_0x4d7c59(0x1e8)],'description':_0x569f4d[_0x4d7c59(0x1d2)],'default':![]});},async _0xa40c9=>{const _0x58e753=_0x4e6025,_0x407387=_0xa40c9[_0x569f4d[_0x58e753(0x22e)]],_0x15675b=_0x407387?_0x407387['map'](_0x450c86=>Number(_0x450c86)):undefined;await withTelemetry(_0x569f4d[_0x58e753(0x2bb)],()=>featureReportPrDescription(_0xa40c9['id'],{'excludeScenarios':_0x15675b,'json':_0xa40c9['json']}));})[_0x4e6025(0x1c7)](_0x569f4d[_0x4e6025(0x31e)],_0x4e6025(0x1ac),_0x282d9b=>{return _0x282d9b['positional']('id',{'type':_0x569f4d['CdcUr'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x6dc3be=>{const _0xafec92=_0x4e6025;await withTelemetry(_0xafec92(0x289),()=>featureGetReview(_0x6dc3be['id']));})['command'](_0x4e6025(0x2e7),'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x4a42cb=>{const _0x52ba04=_0x4e6025;return _0x4a42cb['positional']('id',{'type':'string','description':_0x52ba04(0x1d4)});},async _0x48242d=>{const _0x4a2aeb=_0x4e6025;await _0x569f4d[_0x4a2aeb(0x189)](withTelemetry,_0x4a2aeb(0x2a4),()=>featureDelete(_0x48242d['id']));})[_0x4e6025(0x1c7)](_0x569f4d[_0x4e6025(0x2c3)],_0x4e6025(0x1c3),_0x41708c=>{const _0x49fde8=_0x4e6025;return _0x41708c[_0x49fde8(0x186)]('id',{'type':_0x569f4d[_0x49fde8(0x2e2)],'description':_0x569f4d['aCskj'],'demandOption':!![]});},async _0x2fea54=>{const _0x46da7c=_0x4e6025;await withTelemetry(_0x569f4d[_0x46da7c(0x188)],()=>featureRestore(_0x2fea54['id']));})['command'](_0x4e6025(0x280),'Initialize\x20Ranger\x20in\x20your\x20project',_0x4f8c43=>{const _0x3f78fe=_0x4e6025,_0x136fcd={'PycoX':_0x569f4d['hBxAa'],'npALH':'string','ffGLk':_0x569f4d['YOlWA'],'LlWMt':_0x569f4d['FYtIt'],'iwhew':_0x3f78fe(0x17a),'KeKIt':'skip-auth','tInFm':_0x569f4d[_0x3f78fe(0x2d1)],'bXwkk':_0x569f4d[_0x3f78fe(0x2d3)],'MvIDY':_0x569f4d['vBVUr'],'rbVcz':_0x569f4d[_0x3f78fe(0x2e9)],'kMBiE':_0x569f4d[_0x3f78fe(0x1f3)],'XbgPK':_0x569f4d['XeIVG'],'fhGaQ':'force','HQoQj':_0x3f78fe(0x223),'mUeDs':_0x3f78fe(0x298),'nISZB':_0x569f4d['WsVxT'],'Heypq':_0x569f4d['swCkM'],'kWjFx':_0x3f78fe(0x1f7),'ybnSE':function(_0x28519d,_0x4f9040,_0x2d76da){return _0x28519d(_0x4f9040,_0x2d76da);},'KEOKt':function(_0x1f28ad){const _0x2c3b34=_0x3f78fe;return _0x569f4d[_0x2c3b34(0x1a9)](_0x1f28ad);},'PdnzZ':function(_0x44b3c0,_0xb23244){const _0x56a142=_0x3f78fe;return _0x569f4d[_0x56a142(0x18c)](_0x44b3c0,_0xb23244);},'KUmbX':function(_0xbd2595,_0x198e86,_0x59ec45){return _0xbd2595(_0x198e86,_0x59ec45);},'viurd':_0x569f4d[_0x3f78fe(0x1b7)]};return _0x4f8c43['usage']('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')[_0x3f78fe(0x186)](_0x569f4d['xwnoh'],{'type':'string','description':_0x3f78fe(0x26d)})['command'](_0x569f4d['gCdVJ'],_0x569f4d['VoECt'],_0x3936e3=>{const _0x25aaac=_0x3f78fe;return _0x3936e3['option'](_0x136fcd[_0x25aaac(0x209)],{'type':_0x136fcd[_0x25aaac(0x199)],'description':_0x136fcd['ffGLk']})['option'](_0x136fcd['LlWMt'],{'type':'boolean','description':_0x136fcd[_0x25aaac(0x1dc)],'default':![]})[_0x25aaac(0x205)](_0x136fcd[_0x25aaac(0x2b6)],{'type':_0x25aaac(0x26c),'description':_0x136fcd[_0x25aaac(0x1ab)],'default':![]})['option'](_0x136fcd['bXwkk'],{'type':_0x136fcd['MvIDY'],'description':_0x136fcd['rbVcz'],'default':![]})[_0x25aaac(0x205)](_0x25aaac(0x28e),{'type':'string','choices':['user'],'hidden':!![],'description':_0x136fcd[_0x25aaac(0x196)]})['option'](_0x25aaac(0x190),{'type':_0x136fcd['npALH'],'description':_0x136fcd['XbgPK']})['option'](_0x136fcd['fhGaQ'],{'type':_0x136fcd['MvIDY'],'description':_0x25aaac(0x2bc),'default':![]})['option']('opencode',{'type':_0x136fcd['MvIDY'],'description':_0x136fcd['HQoQj'],'default':![]})['option'](_0x136fcd[_0x25aaac(0x224)],{'type':_0x25aaac(0x26c),'description':_0x25aaac(0x1b2),'default':![]})[_0x25aaac(0x205)](_0x136fcd['nISZB'],{'type':_0x136fcd[_0x25aaac(0x30e)],'description':_0x136fcd[_0x25aaac(0x1a7)],'default':![]})['option'](_0x25aaac(0x2d6),{'type':'boolean','description':_0x136fcd[_0x25aaac(0x2e0)],'default':![]});},async _0x27063f=>{const _0x161280=_0x3f78fe;(_0x27063f[_0x161280(0x228)]||_0x27063f['mcp'])&&await withTelemetry(_0x569f4d['WsVxT'],()=>mcpBootstrap()),await _0x569f4d['FBTXE'](withTelemetry,_0x569f4d[_0x161280(0x244)],_0x36b3ba=>start(_0x27063f['token'],{'skipChromium':_0x27063f[_0x161280(0x267)],'skipAuth':_0x27063f[_0x161280(0x255)],'withDeps':_0x27063f[_0x161280(0x2ca)],'scope':_0x27063f['scope'],'url':_0x27063f['url'],'force':_0x27063f[_0x161280(0x31c)],'opencode':_0x27063f['opencode'],'allowInsecureLocalhost':_0x27063f['allow-insecure-localhost']},_0x36b3ba));})['command']('deps',_0x569f4d[_0x3f78fe(0x21f)],_0x3c8319=>{const _0x3d8bb3=_0x3f78fe;return _0x3c8319[_0x3d8bb3(0x205)](_0x569f4d['XUEJg'],{'type':'boolean','description':_0x569f4d['oUUhH'],'default':![]});},async _0x56894f=>{const _0x225208=_0x3f78fe;await _0x136fcd[_0x225208(0x282)](withTelemetry,'setup:deps',()=>ensureChromium(_0x56894f[_0x225208(0x2ca)]));})['command'](_0x569f4d['OKPMv'],_0x3f78fe(0x27b),_0x59f76c=>{const _0x38cd7c=_0x3f78fe;return _0x59f76c['option']('token',{'type':_0x38cd7c(0x2ab),'description':'Ranger\x20API\x20token\x20(rngr_...)'})['option']('mcp',{'type':'boolean','description':_0x38cd7c(0x24a),'default':![]});},async _0x2c1ffd=>{const _0x221987=_0x3f78fe;await _0x136fcd[_0x221987(0x238)](withTelemetry,_0x136fcd['viurd'],async()=>{const _0x50d529=_0x221987;if(_0x2c1ffd[_0x50d529(0x2d6)]){await _0x136fcd[_0x50d529(0x2ff)](mcpBootstrap);const _0x7123b3=await refreshCliToken();if(!_0x7123b3)throw new Error('Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.');const _0x4d82ef=await _0x136fcd[_0x50d529(0x23b)](getCurrentUser,_0x7123b3);if(!_0x4d82ef[_0x50d529(0x2c9)])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x4d82ef['error']);console[_0x50d529(0x27d)]('✓\x20Authenticated\x20to\x20'+_0x4d82ef['user']['organizationName']);return;}await authenticate(_0x2c1ffd[_0x50d529(0x264)]);});})[_0x3f78fe(0x1c7)]('skills',_0x569f4d['eTTQy'],_0x552c1e=>{const _0xdf3fa5=_0x3f78fe;return _0x552c1e['option'](_0x569f4d[_0xdf3fa5(0x2e1)],{'type':'string','choices':[_0xdf3fa5(0x2e4),'project'],'description':_0x569f4d['QdeGK']})[_0xdf3fa5(0x205)](_0xdf3fa5(0x29e),{'type':_0xdf3fa5(0x26c),'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]});},async _0x71b6a7=>{const _0x3adf9b=_0x3f78fe;await withTelemetry(_0x3adf9b(0x17b),async()=>{const _0x581657=_0x3adf9b,_0x3f9b53=_0x71b6a7['scope'];if(_0x71b6a7['opencode']){const _0x2e5e5e=await ensureOpencodePluginConfig(_0x3f9b53);_0x2e5e5e&&await installSkill(_0x581657(0x1c5),{'level':_0x2e5e5e[_0x581657(0x28e)],'cliVersion':getCurrentVersion(),'platform':_0x581657(0x29e)});}else await _0x136fcd[_0x581657(0x23b)](ensureClaudePlugin,_0x3f9b53),await _0x136fcd[_0x581657(0x23b)](ensureClaudeSkills,_0x3f9b53);});})['command']('profiles',_0x3f78fe(0x2e8),_0x5daff8=>{const _0x2dd63e=_0x3f78fe;return _0x5daff8['option']('scope',{'type':_0x2dd63e(0x2ab),'choices':[_0x2dd63e(0x2e4)],'description':_0x569f4d[_0x2dd63e(0x1f3)]})[_0x2dd63e(0x205)](_0x569f4d['fViiP'],{'type':_0x569f4d['CdcUr'],'description':_0x2dd63e(0x1eb)})[_0x2dd63e(0x205)](_0x2dd63e(0x255),{'type':_0x2dd63e(0x26c),'description':_0x569f4d['aadNN'],'default':![]})[_0x2dd63e(0x205)](_0x2dd63e(0x31c),{'type':_0x2dd63e(0x26c),'description':_0x2dd63e(0x2bc),'default':![]})[_0x2dd63e(0x205)]('allow-insecure-localhost',{'type':_0x569f4d['vBVUr'],'description':_0x569f4d['jddCA'],'default':![]});},async _0x4df849=>{const _0x430ed5=_0x3f78fe,_0x1c29e5=_0x4df849['scope'];_0x569f4d['xoGsH'](_0x1c29e5,undefined)&&_0x569f4d[_0x430ed5(0x15c)](_0x1c29e5,'user')&&(console['error'](_0x569f4d[_0x430ed5(0x240)](_0x430ed5(0x2e3)+_0x1c29e5+'\x20is\x20no\x20longer\x20supported.\x20',_0x430ed5(0x258))+'Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.'),process['exit'](0x1)),await withTelemetry('setup:profiles',_0x563578=>ensureLocalEnv({'url':_0x4df849[_0x430ed5(0x190)],'force':_0x4df849[_0x430ed5(0x31c)],'allowInsecureLocalhost':_0x4df849['allow-insecure-localhost'],'scope':'user'},_0x563578));})['option'](_0x569f4d['FYtIt'],{'type':_0x569f4d['vBVUr'],'description':_0x569f4d[_0x3f78fe(0x27f)],'default':![]})['option'](_0x569f4d['guzQb'],{'type':_0x569f4d['CdcUr'],'choices':[_0x569f4d[_0x3f78fe(0x27a)]],'hidden':!![],'description':_0x569f4d['FiLSr']})[_0x3f78fe(0x205)](_0x3f78fe(0x190),{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x569f4d[_0x3f78fe(0x239)],{'type':_0x3f78fe(0x26c),'description':_0x569f4d[_0x3f78fe(0x29f)],'default':![]})[_0x3f78fe(0x205)]('opencode',{'type':'boolean','description':_0x3f78fe(0x223),'default':![]})['option'](_0x3f78fe(0x298),{'type':'boolean','description':_0x3f78fe(0x165),'default':![]})['option']('mcp-bootstrap',{'type':_0x569f4d['vBVUr'],'description':_0x3f78fe(0x304),'default':![]})['option'](_0x569f4d[_0x3f78fe(0x2bd)],{'type':_0x3f78fe(0x26c),'description':_0x569f4d['PyGNg'],'default':![]})[_0x3f78fe(0x205)](_0x3f78fe(0x2ca),{'type':_0x3f78fe(0x26c),'description':_0x569f4d[_0x3f78fe(0x194)],'default':![]})['option'](_0x3f78fe(0x264),{'type':_0x3f78fe(0x2ab),'hidden':!![],'description':'API\x20token'});},async _0x5b938d=>{const _0x48f7a5=_0x4e6025,_0x2fbd01=_0x5b938d[_0x48f7a5(0x2ce)],_0x2e1299=_0x5b938d[_0x48f7a5(0x264)]??_0x2fbd01;_0x5b938d[_0x569f4d[_0x48f7a5(0x1c8)]]&&await _0x569f4d['TiXqd'](withTelemetry,_0x569f4d[_0x48f7a5(0x1c8)],()=>mcpBootstrap()),await _0x569f4d[_0x48f7a5(0x202)](withTelemetry,'start',_0x43d642=>start(_0x2e1299,{'skipChromium':_0x5b938d[_0x48f7a5(0x267)],'skipAuth':_0x5b938d[_0x48f7a5(0x255)],'withDeps':_0x5b938d['with-deps'],'scope':_0x5b938d[_0x48f7a5(0x28e)],'url':_0x5b938d['url'],'force':_0x5b938d['force'],'opencode':_0x5b938d['opencode'],'allowInsecureLocalhost':_0x5b938d['allow-insecure-localhost']},_0x43d642));})['command'](_0x569f4d['mfnKn'],![],_0x519e0a=>{const _0x13ff58=_0x4e6025;return _0x519e0a['positional'](_0x13ff58(0x264),{'type':_0x13ff58(0x2ab),'description':_0x13ff58(0x2d7),'demandOption':!![]})['option'](_0x13ff58(0x29a),{'type':'string','description':_0x569f4d[_0x13ff58(0x274)]})['option'](_0x13ff58(0x24c),{'type':'string','description':_0x13ff58(0x175)})['option'](_0x569f4d[_0x13ff58(0x1b4)],{'type':'boolean','description':_0x569f4d['vOvKJ'],'default':![]});},async _0x2430bc=>{const _0x33f39b=_0x4e6025;await withTelemetry('setup-ci',_0x4df305=>setupCi(_0x2430bc['token'],{'profile':_0x2430bc[_0x33f39b(0x29a)],'baseUrl':_0x2430bc['base-url'],'skipChromium':_0x2430bc['skip-chromium']},_0x4df305));})['command'](_0x4e6025(0x24d),'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)',()=>{},async()=>{await withTelemetry('login',()=>login());})[_0x4e6025(0x1c7)](_0x569f4d['voYQL'],_0x569f4d[_0x4e6025(0x2db)],_0x423172=>{const _0x5ef343=_0x4e6025;return _0x423172[_0x5ef343(0x205)](_0x569f4d['HAkfE'],{'type':_0x5ef343(0x26c),'description':_0x569f4d['QpsRp'],'default':![]})[_0x5ef343(0x205)](_0x569f4d['guzQb'],{'type':_0x569f4d[_0x5ef343(0x2e2)],'choices':[_0x569f4d[_0x5ef343(0x27a)],'project'],'description':'Install\x20scope\x20for\x20skills'});},async _0xf5d02c=>{const _0x1090e8=_0x4e6025,_0x1ecce1=_0x569f4d['wsgcc'](Boolean,_0xf5d02c[_0x1090e8(0x29e)]);await withTelemetry(_0x1090e8(0x281),()=>skillup({'autoInstall':_0xf5d02c[_0x1090e8(0x28e)],'platform':_0x1ecce1?'opencode':'claude'}));})['command'](_0x4e6025(0x2dc),_0x4e6025(0x318),()=>{},async()=>{await withTelemetry('clean',()=>clean());})['command'](['profile','profiles'],'Manage\x20profiles',_0x4a39f0=>{const _0x14e87b=_0x4e6025,_0x147875={'iZTHS':_0x569f4d[_0x14e87b(0x263)],'YhvzS':_0x569f4d['wEsHI'],'RXjIG':_0x569f4d[_0x14e87b(0x1e8)],'MSILq':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','xeXhv':'force','FjUBI':_0x14e87b(0x24e),'klccp':_0x14e87b(0x249),'BqNNr':_0x14e87b(0x298),'RuWpx':_0x14e87b(0x1e1),'gBxhK':'scope','LvkQS':'string','pTUhL':_0x569f4d['EBzka'],'ZwGWW':function(_0x1fe140,_0x5cb720,_0x956751,_0x3a3516){const _0x28aecb=_0x14e87b;return _0x569f4d[_0x28aecb(0x299)](_0x1fe140,_0x5cb720,_0x956751,_0x3a3516);},'UKffn':_0x569f4d['LxCZX'],'lzdYv':function(_0x54aa30,_0x3fbe8e){return _0x54aa30(_0x3fbe8e);},'bfINt':function(_0x326239,_0x1eb4cb,_0x332214){return _0x569f4d['FBTXE'](_0x326239,_0x1eb4cb,_0x332214);},'FzlLh':'profile','uWtqW':_0x14e87b(0x29b),'EDRXM':_0x569f4d['WaskJ'],'eixxS':_0x14e87b(0x160),'ahSqC':'Cloud\x20profile\x20name','reDva':_0x14e87b(0x30a),'rLzrA':_0x569f4d['EXJpK'],'XeBDu':function(_0xe43ad6,_0x33df0c){return _0xe43ad6===_0x33df0c;},'ENLwa':_0x569f4d[_0x14e87b(0x1cf)],'xScAT':function(_0xaeee58,_0x43f7a1,_0x39de9e){return _0x569f4d['hxCVh'](_0xaeee58,_0x43f7a1,_0x39de9e);},'qjSVN':_0x14e87b(0x25e),'guNFb':_0x569f4d['ZTalO'],'rXQEC':_0x569f4d['XoFPI'],'NOLPd':'profile\x20config\x20unset','WshcB':_0x569f4d[_0x14e87b(0x237)],'jOjfF':_0x569f4d[_0x14e87b(0x1c6)],'aYGxZ':_0x569f4d['fOZIt'],'rkDZB':'unset\x20<profile>\x20<key>','bOqXL':_0x14e87b(0x23f),'yzewn':'reset\x20<profile>','GKupl':'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile'};return _0x4a39f0['usage'](PROFILE_HELP)[_0x14e87b(0x1c7)](_0x569f4d[_0x14e87b(0x225)],_0x14e87b(0x1bc),_0x32ffde=>{const _0x355954=_0x14e87b;return _0x32ffde[_0x355954(0x186)](_0x355954(0x206),{'type':_0x355954(0x2ab),'description':_0x147875['iZTHS'],'demandOption':!![]})['option']('ci',{'type':'boolean','hidden':!![],'default':![]})[_0x355954(0x205)](_0x147875['YhvzS'],{'type':_0x147875['RXjIG'],'description':_0x355954(0x2a1),'default':![]})['option'](_0x355954(0x190),{'type':_0x355954(0x2ab),'description':_0x147875[_0x355954(0x1d6)]})['option'](_0x147875['xeXhv'],{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x355954(0x205)](_0x147875[_0x355954(0x276)],{'type':'string','description':_0x147875['klccp']})['option'](_0x147875['BqNNr'],{'type':'boolean','description':_0x355954(0x165),'default':![]})[_0x355954(0x205)]('safe-mode',{'type':_0x355954(0x26c),'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]})['option']('setup-header',{'type':'string','array':!![],'description':_0x147875[_0x355954(0x229)]})['option'](_0x147875[_0x355954(0x20c)],{'type':_0x147875[_0x355954(0x167)],'choices':['user','project'],'description':_0x355954(0x2f8)})[_0x355954(0x205)](_0x147875[_0x355954(0x16b)],{'type':_0x147875['RXjIG'],'alias':'y','description':_0x355954(0x2cd),'default':![]});},async _0x155a9e=>{const _0x2808a2=_0x14e87b;await _0x147875[_0x2808a2(0x231)](withTelemetry,_0x147875['UKffn'],_0x5bad2b=>addEnv(_0x155a9e[_0x2808a2(0x206)],{'ci':_0x155a9e['ci'],'skipAuth':_0x155a9e[_0x2808a2(0x255)],'url':_0x155a9e[_0x2808a2(0x190)],'force':_0x155a9e['force'],'cdpEndpoint':_0x155a9e['cdp-endpoint'],'allowInsecureLocalhost':_0x155a9e[_0x2808a2(0x298)],'safeMode':_0x155a9e[_0x2808a2(0x2e6)],'setupHeader':_0x155a9e['setup-header'],'scope':_0x155a9e['scope'],'yes':_0x155a9e['yes']},_0x5bad2b),{'isElectron':_0x147875['lzdYv'](Boolean,_0x155a9e[_0x147875['FjUBI']])});})['command'](_0x14e87b(0x302),'Switch\x20to\x20using\x20a\x20specific\x20profile',_0x41370f=>{const _0x273bea=_0x14e87b;return _0x41370f[_0x273bea(0x186)](_0x273bea(0x206),{'type':_0x569f4d['CdcUr'],'description':'Name\x20of\x20the\x20profile','demandOption':!![]});},async _0x2f257c=>{const _0x4df66e=_0x14e87b;await _0x147875['bfINt'](withTelemetry,'profile\x20use',()=>useEnv(_0x2f257c[_0x4df66e(0x206)]));})['command'](_0x14e87b(0x227),_0x569f4d['hjCwy'],_0xee86a4=>{const _0x5bbcb8=_0x14e87b;return _0xee86a4[_0x5bbcb8(0x186)](_0x569f4d[_0x5bbcb8(0x1ad)],{'type':_0x569f4d[_0x5bbcb8(0x2e2)],'description':_0x569f4d['ykZtU'],'demandOption':!![]})[_0x5bbcb8(0x205)]('yes',{'type':_0x569f4d['vBVUr'],'alias':'y','description':'Skip\x20the\x20deletion\x20confirmation\x20prompt.','default':![]});},async _0x54d530=>{const _0x3cf1cf=_0x14e87b;await withTelemetry('profile\x20delete',()=>deleteProfile(_0x54d530[_0x3cf1cf(0x206)],{'yes':_0x54d530['yes']}));})[_0x14e87b(0x1c7)](_0x569f4d[_0x14e87b(0x1d8)],![],_0x1e565d=>{const _0x1bf1a9=_0x14e87b;return _0x1e565d['positional'](_0x147875[_0x1bf1a9(0x21e)],{'type':_0x147875['LvkQS'],'description':_0x147875[_0x1bf1a9(0x1ce)],'demandOption':!![]});},async _0x44ad1d=>{const _0x177ba6=_0x14e87b;await withTelemetry(_0x177ba6(0x1b1),()=>authEncrypt(_0x44ad1d['profile']));})[_0x14e87b(0x1c7)]('ls',_0x569f4d[_0x14e87b(0x174)],()=>{},async()=>{await _0x569f4d['FBTXE'](withTelemetry,_0x569f4d['KBRpf'],()=>envList());})['command'](_0x14e87b(0x1b0),_0x569f4d['qNSPy'],_0x4018a7=>{const _0x4378af=_0x14e87b;return _0x4018a7[_0x4378af(0x186)]('profile-name',{'type':_0x4378af(0x2ab),'description':_0x4378af(0x1fd),'demandOption':!![]})['option']('allow-insecure-localhost',{'type':_0x4378af(0x26c),'description':_0x4378af(0x165)})[_0x4378af(0x205)](_0x147875[_0x4378af(0x311)],{'type':_0x147875[_0x4378af(0x2cc)],'description':'Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login'});},async _0x3d0068=>{const _0x149e40=_0x14e87b;await _0x147875['bfINt'](withTelemetry,_0x147875['eixxS'],_0x11757c=>updateEnv(_0x3d0068[_0x149e40(0x206)],_0x11757c,{'allowInsecureLocalhost':_0x3d0068[_0x149e40(0x298)],'manual':_0x3d0068[_0x149e40(0x1f8)]}));})[_0x14e87b(0x1c7)]('login\x20<name>',![],_0xf82b65=>{const _0x558bdb=_0x14e87b;return _0xf82b65[_0x558bdb(0x186)](_0x558bdb(0x2ac),{'type':_0x558bdb(0x2ab),'description':_0x147875['ahSqC'],'demandOption':!![]});},async _0x234ff=>{const _0x5c970e=_0x14e87b;await withTelemetry(_0x5c970e(0x2dd),async()=>{const _0x5805fa=_0x5c970e,_0x1d7961=process[_0x5805fa(0x319)][_0x5805fa(0x1c1)],_0x3a2229=process['env']['RANGER_TEST_PASSWORD'];(!_0x1d7961||!_0x3a2229)&&(console[_0x5805fa(0x2de)](_0x147875[_0x5805fa(0x2ed)]),process[_0x5805fa(0x2c4)](0x1));const _0x2b3f2d=_0x234ff['name'],_0x23c64a=await _0x147875[_0x5805fa(0x23e)](serverSideLogin,_0x2b3f2d,{'force':!![]});_0x23c64a[_0x5805fa(0x259)]==='not_configured'&&(console[_0x5805fa(0x2de)](_0x147875[_0x5805fa(0x275)]),process['exit'](0x1)),_0x147875[_0x5805fa(0x265)](_0x23c64a[_0x5805fa(0x259)],'failed')&&(console[_0x5805fa(0x2de)](_0x5805fa(0x315)+(_0x23c64a['error']??_0x147875['ENLwa'])),_0x23c64a['test_output']&&console[_0x5805fa(0x2de)](_0x23c64a['test_output']),process['exit'](0x1)),console[_0x5805fa(0x27d)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x2b3f2d+'\x27.\x20Session\x20saved.');});})[_0x14e87b(0x1c7)](_0x14e87b(0x283),![],_0x5975c2=>{const _0x144b40=_0x14e87b;return _0x5975c2['positional']('profile-name',{'type':_0x569f4d['CdcUr'],'description':_0x569f4d['mexfz']})['option'](_0x569f4d['gCdVJ'],{'type':_0x569f4d['vBVUr'],'description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})['option']('dry-run',{'type':_0x144b40(0x26c),'description':_0x144b40(0x193),'default':![]})['option']('yes',{'type':_0x569f4d['vBVUr'],'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})['option'](_0x569f4d[_0x144b40(0x2d0)],{'type':_0x569f4d[_0x144b40(0x1e8)],'description':_0x569f4d['PnAoN'],'default':![]});},async _0x1e433a=>{const _0x5e2128=_0x14e87b;await withTelemetry(_0x5e2128(0x15b),_0x40f84d=>migrateProfile({'profileName':_0x1e433a[_0x5e2128(0x206)],'all':_0x1e433a['all'],'dryRun':_0x1e433a[_0x5e2128(0x2ec)],'yes':_0x1e433a['yes'],'saveCreds':_0x1e433a['save-creds']},_0x40f84d));})[_0x14e87b(0x1c7)](_0x14e87b(0x2d2),'Manage\x20profile\x20configuration',_0xdea8a5=>{const _0x358b4d=_0x14e87b,_0x583429={'tnIkx':_0x147875[_0x358b4d(0x167)],'FGpwE':'Profile\x20name','bfmBe':'key','qvCQn':_0x147875[_0x358b4d(0x19b)],'tQCQm':function(_0x1b9921,_0x4e9412,_0x2452be){return _0x147875['bfINt'](_0x1b9921,_0x4e9412,_0x2452be);},'MJikk':_0x147875['rXQEC'],'VRWLX':'Config\x20key\x20to\x20remove','dwiaM':_0x147875[_0x358b4d(0x23a)]};return _0xdea8a5['usage'](PROFILE_CONFIG_HELP)[_0x358b4d(0x1c7)]('set\x20<profile>\x20<key>\x20<value>',_0x147875['WshcB'],_0x5d0e51=>{const _0x2a1e6c=_0x358b4d;return _0x5d0e51[_0x2a1e6c(0x186)]('profile',{'type':_0x583429[_0x2a1e6c(0x308)],'description':_0x583429['FGpwE'],'demandOption':!![]})[_0x2a1e6c(0x186)](_0x583429[_0x2a1e6c(0x173)],{'type':_0x583429[_0x2a1e6c(0x308)],'description':_0x583429['qvCQn'],'demandOption':!![]})[_0x2a1e6c(0x186)]('value',{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0x17d11e=>{const _0x59dd47=_0x358b4d;await _0x147875[_0x59dd47(0x2b2)](withTelemetry,_0x147875['qjSVN'],()=>configSet(_0x17d11e['profile'],_0x17d11e['key'],_0x17d11e[_0x59dd47(0x1de)]));})['command'](_0x358b4d(0x2b1),'Get\x20a\x20config\x20value',_0x5e8250=>{const _0x6c4dbf=_0x358b4d;return _0x5e8250['positional'](_0x147875[_0x6c4dbf(0x21e)],{'type':'string','description':_0x147875[_0x6c4dbf(0x1ce)],'demandOption':!![]})['positional'](_0x6c4dbf(0x290),{'type':_0x147875['LvkQS'],'description':'Config\x20key','demandOption':!![]});},async _0x39c54e=>{const _0x638da2=_0x358b4d;await _0x583429[_0x638da2(0x18a)](withTelemetry,_0x583429['MJikk'],()=>configGet(_0x39c54e[_0x638da2(0x29a)],_0x39c54e['key']));})['command'](_0x147875['jOjfF'],_0x147875[_0x358b4d(0x2c2)],_0x3e3d2f=>{return _0x3e3d2f['positional']('profile',{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x5f5d1a=>{await _0x147875['bfINt'](withTelemetry,'profile\x20config\x20list',()=>configList(_0x5f5d1a['profile']));})['command'](_0x147875['rkDZB'],_0x147875['bOqXL'],_0x4bcc0f=>{const _0x239d3a=_0x358b4d;return _0x4bcc0f[_0x239d3a(0x186)](_0x239d3a(0x29a),{'type':_0x583429[_0x239d3a(0x308)],'description':'Profile\x20name','demandOption':!![]})['positional'](_0x583429[_0x239d3a(0x173)],{'type':_0x583429[_0x239d3a(0x308)],'description':_0x583429[_0x239d3a(0x300)],'demandOption':!![]});},async _0x49eb76=>{const _0x2a1882=_0x358b4d;await withTelemetry(_0x583429[_0x2a1882(0x230)],()=>configUnset(_0x49eb76['profile'],_0x49eb76[_0x2a1882(0x290)]));})[_0x358b4d(0x1c7)](_0x147875[_0x358b4d(0x2b7)],_0x147875[_0x358b4d(0x2a2)],_0x35f398=>{const _0x1fcdf4=_0x358b4d;return _0x35f398[_0x1fcdf4(0x186)]('profile',{'type':_0x147875['LvkQS'],'description':_0x147875['uWtqW'],'demandOption':!![]});},async _0x4208c9=>{const _0x36f07c=_0x358b4d;await withTelemetry('profile\x20config\x20reset',()=>configReset(_0x4208c9[_0x36f07c(0x29a)]));})[_0x358b4d(0x2c8)](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})['demandCommand'](0x1,_0x569f4d[_0x14e87b(0x248)]);})[_0x4e6025(0x1c7)]('status',_0x569f4d['ExXXI'],()=>{},async()=>{const _0x335bda=_0x4e6025;await withTelemetry(_0x569f4d[_0x335bda(0x1f2)],()=>status());})['command'](_0x569f4d['ercPB'],'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{await withTelemetry('update',()=>update());})[_0x4e6025(0x1c7)](_0x569f4d['kWgFq'],_0x4e6025(0x214),()=>{},async()=>{const _0xa284cd=_0x4e6025;await _0x569f4d[_0xa284cd(0x2fc)](withTelemetry,_0xa284cd(0x1b6),async()=>{const _0x1097c1=_0xa284cd,_0x350559=await getToken();if(!_0x350559)throw new Error(_0x1097c1(0x15a));console['log'](_0x350559);});})['command']('go',_0x4e6025(0x18d),_0x1ba6b8=>{const _0x38567a=_0x4e6025;return _0x1ba6b8[_0x38567a(0x205)](_0x38567a(0x208),{'type':_0x569f4d['CdcUr'],'description':_0x569f4d['yIXhx']})[_0x38567a(0x205)]('profile',{'type':_0x569f4d[_0x38567a(0x2e2)],'description':_0x569f4d['ZUENz']})[_0x38567a(0x205)](_0x569f4d[_0x38567a(0x2eb)],{'type':_0x38567a(0x2ab),'description':_0x569f4d[_0x38567a(0x2a3)]})['option'](_0x569f4d['TxSoA'],{'type':_0x38567a(0x26a),'description':'Scenario\x20index\x20(1-based)'})['option'](_0x569f4d[_0x38567a(0x28d)],{'type':_0x38567a(0x2ab),'description':_0x569f4d[_0x38567a(0x1cd)]})['option'](_0x38567a(0x24c),{'type':_0x569f4d['CdcUr'],'description':_0x569f4d[_0x38567a(0x1d0)]})[_0x38567a(0x205)](_0x569f4d['dhUUY'],{'type':'string','description':_0x38567a(0x22f)})['option'](_0x38567a(0x16a),{'type':_0x569f4d['vBVUr'],'description':_0x569f4d[_0x38567a(0x203)],'default':![]})[_0x38567a(0x205)](_0x38567a(0x2b5),{'type':_0x569f4d[_0x38567a(0x2e2)],'array':!![],'alias':_0x569f4d[_0x38567a(0x1d1)],'description':_0x569f4d['YHZir']})[_0x38567a(0x205)](_0x569f4d['YahlS'],{'type':_0x569f4d['CdcUr'],'hidden':!![],'choices':[_0x38567a(0x242),_0x569f4d['biBaq'],_0x569f4d[_0x38567a(0x20f)],_0x569f4d[_0x38567a(0x2d8)],_0x38567a(0x252)]})['option']('debug-address-comments',{'type':_0x569f4d[_0x38567a(0x1e8)],'hidden':!![]})[_0x38567a(0x205)](_0x569f4d['BvTvk'],{'type':'string','hidden':!![]})[_0x38567a(0x205)](_0x569f4d['ZvSfD'],{'type':_0x569f4d[_0x38567a(0x2e2)],'hidden':!![]})[_0x38567a(0x205)](_0x569f4d['mOErq'],{'type':_0x569f4d['mdESk'],'hidden':!![]});},async _0x11de77=>{const _0x224671=_0x4e6025;await _0x569f4d[_0x224671(0x2b3)](runGoCommand,_0x11de77);})[_0x4e6025(0x1c7)](_0x4e6025(0x19f),![],_0x72d728=>{const _0x3d3fdb=_0x4e6025;return _0x72d728['command']('encrypt\x20<profile>',![],_0x5f5a27=>{const _0x14f419=_0x524b;return _0x5f5a27[_0x14f419(0x186)](_0x569f4d['WusWx'],{'type':_0x14f419(0x2ab),'description':_0x569f4d[_0x14f419(0x1a2)],'demandOption':!![]});},async _0x170c55=>{const _0x6d9905=_0x524b;_0x569f4d['FBTXE'](warnRenamed,_0x569f4d['kKGSH'],_0x6d9905(0x303)),await authEncrypt(_0x170c55[_0x6d9905(0x29a)]);})[_0x3d3fdb(0x2c8)](0x1,_0x569f4d['UNrka']);},()=>{})['command'](_0x4e6025(0x22a),![],_0x1da5f7=>{const _0xf5b19f=_0x4e6025;return _0x1da5f7['positional'](_0xf5b19f(0x264),{'type':_0x569f4d[_0xf5b19f(0x2e2)],'description':_0x569f4d['BEMGK']})[_0xf5b19f(0x205)](_0x569f4d['FYtIt'],{'type':_0x569f4d[_0xf5b19f(0x1e8)],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0xf5b19f(0x205)](_0x569f4d[_0xf5b19f(0x2e1)],{'type':_0x569f4d['CdcUr'],'choices':['user'],'hidden':!![],'description':_0xf5b19f(0x306)})[_0xf5b19f(0x205)](_0x569f4d['fViiP'],{'type':_0xf5b19f(0x2ab),'description':_0xf5b19f(0x301)})['option'](_0x569f4d['oGOzo'],{'type':_0x569f4d['vBVUr'],'description':_0x569f4d['pUizY'],'default':![]})['option'](_0x569f4d['wEsHI'],{'type':_0x569f4d['vBVUr'],'description':_0x569f4d[_0xf5b19f(0x2d1)],'default':![]})[_0xf5b19f(0x205)](_0x569f4d['XUEJg'],{'type':_0x569f4d[_0xf5b19f(0x1e8)],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]});},async _0xca6c68=>{const _0x3a1a72=_0x4e6025;warnRenamed(_0x3a1a72(0x1d9),_0x3a1a72(0x18f)),await withTelemetry(_0x569f4d['QQpMC'],_0x786bb5=>start(_0xca6c68['token'],{'skipChromium':_0xca6c68[_0x3a1a72(0x267)],'skipAuth':_0xca6c68['skip-auth'],'withDeps':_0xca6c68[_0x3a1a72(0x2ca)],'scope':_0xca6c68[_0x3a1a72(0x28e)],'url':_0xca6c68['url'],'force':_0xca6c68[_0x3a1a72(0x31c)]},_0x786bb5));})[_0x4e6025(0x1c7)](_0x4e6025(0x2df),![],_0x36edeb=>{const _0x19434e=_0x4e6025;return _0x36edeb['option']('env',{'type':_0x19434e(0x2ab),'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0x19434e(0x205)]('task',{'type':_0x569f4d['CdcUr'],'description':_0x569f4d[_0x19434e(0x213)]})[_0x19434e(0x205)](_0x569f4d['mOErq'],{'type':_0x569f4d['mdESk'],'description':_0x569f4d[_0x19434e(0x177)]})['option'](_0x569f4d[_0x19434e(0x20a)],{'type':_0x569f4d[_0x19434e(0x2e2)],'hidden':!![]})['option'](_0x569f4d[_0x19434e(0x2eb)],{'type':_0x569f4d['CdcUr'],'hidden':!![]})[_0x19434e(0x205)](_0x569f4d['TxSoA'],{'type':_0x569f4d[_0x19434e(0x30b)],'hidden':!![]})[_0x19434e(0x205)]('start-path',{'type':'string','description':_0x19434e(0x2ef)})[_0x19434e(0x205)](_0x569f4d['uyiSY'],{'type':_0x569f4d['CdcUr'],'description':_0x19434e(0x1fa)})['option'](_0x569f4d['dhUUY'],{'type':_0x569f4d[_0x19434e(0x2e2)],'hidden':!![]})[_0x19434e(0x205)](_0x569f4d[_0x19434e(0x2e5)],{'type':_0x569f4d[_0x19434e(0x1e8)],'hidden':!![],'default':![]})[_0x19434e(0x205)](_0x569f4d['ioeqp'],{'type':'string','array':!![],'alias':_0x19434e(0x2b0),'hidden':!![]})['option'](_0x569f4d[_0x19434e(0x243)],{'type':_0x569f4d['CdcUr'],'hidden':!![],'choices':[_0x569f4d['UuvVp'],_0x19434e(0x1af),_0x569f4d['SxumV'],_0x569f4d['UIwPt'],'incomplete']});},async _0x369d9c=>{const _0x57685e=_0x4e6025;await _0x569f4d[_0x57685e(0x271)](runGoCommand,_0x369d9c,!![]);})['command'](_0x569f4d['nHEoe'],![],_0x3b24a7=>{const _0x140cd1=_0x4e6025;return _0x3b24a7[_0x140cd1(0x186)](_0x569f4d[_0x140cd1(0x31a)],{'type':_0x569f4d[_0x140cd1(0x2e2)],'description':_0x569f4d[_0x140cd1(0x169)],'demandOption':!![]})['option']('ci',{'type':_0x569f4d[_0x140cd1(0x1e8)],'description':_0x140cd1(0x1d7),'default':![]})['option']('skip-auth',{'type':_0x569f4d[_0x140cd1(0x1e8)],'description':_0x569f4d['rnSUn'],'default':![]});},async _0x454c49=>{const _0x23ee60=_0x4e6025;_0x569f4d['bFTnh'](warnRenamed,_0x569f4d['pXyLF'],'ranger\x20profile\x20add'),await _0x569f4d['YCVeA'](withTelemetry,_0x569f4d['lyQiF'],_0x595000=>addEnv(_0x454c49[_0x23ee60(0x215)],{'ci':_0x454c49['ci'],'skipAuth':_0x454c49['skip-auth']},_0x595000));})['command'](_0x569f4d['WiACm'],![],_0x1d6d5f=>{const _0x4077ff=_0x4e6025;return _0x1d6d5f[_0x4077ff(0x186)]('env-name',{'type':_0x4077ff(0x2ab),'description':_0x569f4d['WiBeU'],'demandOption':!![]});},async _0x2d80b0=>{const _0x3048c3=_0x4e6025;_0x569f4d[_0x3048c3(0x166)](warnRenamed,_0x3048c3(0x184),_0x569f4d[_0x3048c3(0x17e)]),await _0x569f4d[_0x3048c3(0x21d)](withTelemetry,_0x569f4d[_0x3048c3(0x278)],()=>useEnv(_0x2d80b0[_0x3048c3(0x215)]));})[_0x4e6025(0x1c7)]('config',![],_0x549df1=>{const _0x56d482=_0x4e6025,_0x3d1aa2={'ItISE':_0x56d482(0x254),'kRBTp':_0x56d482(0x1a6),'Yapzw':function(_0x43c5c8,_0x423623,_0x29d2ad){return _0x43c5c8(_0x423623,_0x29d2ad);},'aXKyA':_0x569f4d[_0x56d482(0x1bb)],'Pmoeb':_0x569f4d[_0x56d482(0x233)],'OeeRn':_0x569f4d['UCYvP'],'ZYQlK':_0x56d482(0x319),'KwoBn':_0x569f4d['wxDvv']};return _0x549df1['command'](_0x56d482(0x1f1),![],_0x21533e=>{const _0x54fcbb=_0x56d482;return _0x21533e['positional']('env',{'type':_0x54fcbb(0x2ab),'description':_0x54fcbb(0x2f0),'demandOption':!![]})['positional']('key',{'type':'string','description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})[_0x54fcbb(0x186)](_0x569f4d['dqhaW'],{'type':_0x54fcbb(0x2ab),'description':'Config\x20value','demandOption':!![]});},async _0x78a69b=>{const _0x9123cb=_0x56d482;warnRenamed(_0x3d1aa2['ItISE'],_0x3d1aa2['kRBTp']),await _0x3d1aa2[_0x9123cb(0x195)](withTelemetry,_0x3d1aa2[_0x9123cb(0x187)],()=>configSet(_0x78a69b[_0x9123cb(0x319)],_0x78a69b['key'],_0x78a69b[_0x9123cb(0x1de)]));})['command'](_0x56d482(0x168),![],_0x36eaa2=>{const _0x24bfad=_0x56d482;return _0x36eaa2[_0x24bfad(0x186)](_0x569f4d['BvTvk'],{'type':_0x569f4d[_0x24bfad(0x2e2)],'description':_0x569f4d['wxDvv'],'demandOption':!![]})['positional']('key',{'type':_0x569f4d['CdcUr'],'description':'Config\x20key','demandOption':!![]});},async _0x4c8319=>{const _0x21b830=_0x56d482;warnRenamed(_0x21b830(0x22b),_0x3d1aa2[_0x21b830(0x2f4)]),await withTelemetry(_0x3d1aa2['OeeRn'],()=>configGet(_0x4c8319['env'],_0x4c8319[_0x21b830(0x290)]));})[_0x56d482(0x1c7)](_0x569f4d[_0x56d482(0x31f)],![],_0x240b81=>{const _0x878652=_0x56d482;return _0x240b81['positional'](_0x3d1aa2['ZYQlK'],{'type':_0x878652(0x2ab),'description':_0x3d1aa2[_0x878652(0x317)],'demandOption':!![]});},async _0x43d7e5=>{const _0x194f1e=_0x56d482;warnRenamed('ranger\x20config\x20list',_0x569f4d['BhQEH']),await withTelemetry(_0x569f4d[_0x194f1e(0x2c0)],()=>configList(_0x43d7e5[_0x194f1e(0x319)]));})['command']('unset\x20<env>\x20<key>',![],_0x4a921f=>{const _0x5024fa=_0x56d482;return _0x4a921f['positional']('env',{'type':_0x5024fa(0x2ab),'description':'Environment\x20name','demandOption':!![]})[_0x5024fa(0x186)]('key',{'type':_0x569f4d['CdcUr'],'description':_0x569f4d['Ciofc'],'demandOption':!![]});},async _0x3b7358=>{const _0x3e1e24=_0x56d482;_0x569f4d[_0x3e1e24(0x1e3)](warnRenamed,_0x3e1e24(0x2d4),_0x569f4d['huwwy']),await _0x569f4d[_0x3e1e24(0x21d)](withTelemetry,_0x3e1e24(0x2f6),()=>configUnset(_0x3b7358['env'],_0x3b7358['key']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20config\x20subcommand');})['command'](_0x569f4d[_0x4e6025(0x211)],![],_0x40e6df=>{const _0x1bb46e=_0x4e6025,_0x2800be={'qwWZI':function(_0x36fdc7,_0x4492b6,_0x7978f9){return _0x36fdc7(_0x4492b6,_0x7978f9);},'mloOM':_0x1bb46e(0x1ba),'IOvnP':'env\x20list','SNbbU':_0x1bb46e(0x2ab),'mIVdJ':_0x569f4d['CCVjZ']};return _0x40e6df['command']('ls',![],()=>{},async()=>{const _0x1d7c4a=_0x1bb46e;_0x2800be['qwWZI'](warnRenamed,_0x2800be[_0x1d7c4a(0x1db)],_0x1d7c4a(0x23d)),await withTelemetry(_0x2800be[_0x1d7c4a(0x19d)],()=>envList());})['command'](_0x1bb46e(0x17c),![],_0x5cb0fc=>{const _0x3db611=_0x1bb46e;return _0x5cb0fc['positional'](_0x3db611(0x215),{'type':_0x2800be[_0x3db611(0x270)],'description':_0x2800be['mIVdJ'],'demandOption':!![]});},async _0x4413ca=>{const _0x4f1f5d=_0x1bb46e;warnRenamed(_0x569f4d[_0x4f1f5d(0x2d5)],_0x4f1f5d(0x253)),await withTelemetry(_0x4f1f5d(0x1e9),_0x2d8f1d=>updateEnv(_0x4413ca['env-name'],_0x2d8f1d));})['demandCommand'](0x1,_0x569f4d[_0x1bb46e(0x200)]);})[_0x4e6025(0x1c7)](_0x569f4d['ZGkkc'],![],_0x2d4b92=>{const _0x5d7f13=_0x4e6025,_0x5af57a={'CaIWZ':_0x569f4d[_0x5d7f13(0x27e)],'xBiRp':_0x5d7f13(0x2ab),'MFMBT':_0x569f4d['GgQHU'],'DTmhq':'Feature\x20review\x20description','bzwUc':'checklist','LbwBX':_0x5d7f13(0x262),'fvKkW':_0x569f4d['ggAhc'],'TYCGH':_0x569f4d['VdcST'],'oqdBS':_0x569f4d[_0x5d7f13(0x30b)],'Asahe':_0x5d7f13(0x257),'VvIrI':_0x5d7f13(0x26c),'dmPZD':_0x569f4d[_0x5d7f13(0x17d)],'YVTZG':function(_0x116b04,_0x23ccc6,_0x43412a){return _0x116b04(_0x23ccc6,_0x43412a);},'eagql':'ranger\x20show','gTaIr':_0x569f4d['XhSuX'],'fCMOd':_0x5d7f13(0x2c1),'IPZZo':_0x5d7f13(0x171),'sGwDn':_0x5d7f13(0x161),'BLLGo':_0x5d7f13(0x217),'nDdJf':_0x569f4d['ZOpan'],'fsnbL':function(_0x4c2a60,_0x3273e9,_0x358b0d){return _0x4c2a60(_0x3273e9,_0x358b0d);},'boYWA':_0x5d7f13(0x1be)};return _0x2d4b92[_0x5d7f13(0x1c7)](_0x569f4d['HxuOW'],![],_0x5e9028=>{const _0x2d0247=_0x5d7f13;return _0x5e9028[_0x2d0247(0x186)](_0x5af57a['CaIWZ'],{'type':_0x5af57a[_0x2d0247(0x164)],'description':_0x5af57a[_0x2d0247(0x2ee)],'demandOption':!![]})['option'](_0x2d0247(0x18b),{'type':_0x5af57a['xBiRp'],'alias':'d','description':_0x5af57a['DTmhq']})['option'](_0x5af57a[_0x2d0247(0x268)],{'type':_0x5af57a['LbwBX'],'alias':'c','description':_0x5af57a[_0x2d0247(0x1d3)]})[_0x2d0247(0x205)]('scenario',{'type':_0x5af57a['LbwBX'],'hidden':!![]});},async _0x360ef2=>{const _0x3e9bac=_0x5d7f13;warnRenamed(_0x3e9bac(0x232),_0x569f4d['sCUlX']),warnFlagRenamed(_0x3e9bac(0x1e2),_0x569f4d['GdDcg'],'--scenario');const _0x4cdc7e=_0x360ef2[_0x3e9bac(0x176)]||_0x360ef2['checklist'];await _0x569f4d['nJiDf'](withTelemetry,_0x569f4d['rViUK'],()=>featureCreate(_0x360ef2['name'],{'description':_0x360ef2['description'],'scenarios':_0x4cdc7e}));})['command'](_0x569f4d[_0x5d7f13(0x1c9)],![],_0x3ccfea=>{const _0x52b3aa=_0x5d7f13;return _0x3ccfea['option']('current-branch',{'type':'boolean','description':_0x52b3aa(0x178)})['option']('limit',{'type':_0x52b3aa(0x26a),'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option'](_0x5af57a[_0x52b3aa(0x204)],{'type':_0x5af57a['oqdBS'],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x52b3aa(0x205)](_0x5af57a[_0x52b3aa(0x21c)],{'type':_0x5af57a['VvIrI'],'alias':'d','description':_0x5af57a[_0x52b3aa(0x1fb)],'default':![]});},async _0x25352f=>{const _0x5bc9a1=_0x5d7f13;_0x569f4d[_0x5bc9a1(0x1e4)](warnRenamed,'ranger\x20feature\x20list','ranger\x20list'),await _0x569f4d[_0x5bc9a1(0x18e)](withTelemetry,'feature\x20list',()=>featureList({'currentBranch':_0x25352f[_0x5bc9a1(0x1ff)],'limit':_0x25352f[_0x5bc9a1(0x25c)],'offset':_0x25352f['offset'],'includeDeleted':_0x25352f['include-deleted']}));})[_0x5d7f13(0x1c7)](_0x569f4d[_0x5d7f13(0x2b9)],![],_0x3d74e8=>{return _0x3d74e8['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0xf4db2a=>{const _0x423c6b=_0x5d7f13;_0x5af57a['YVTZG'](warnRenamed,_0x423c6b(0x310),_0x5af57a[_0x423c6b(0x2b8)]),await _0x5af57a['YVTZG'](withTelemetry,_0x5af57a[_0x423c6b(0x24f)],()=>featureShow(_0xf4db2a['id']));})[_0x5d7f13(0x1c7)]('resume\x20[id]',![],_0x533189=>{const _0x54c032=_0x5d7f13;return _0x533189[_0x54c032(0x186)]('id',{'type':'string','description':_0x54c032(0x179)});},async _0x30bcfb=>{const _0x205ffe=_0x5d7f13;_0x569f4d[_0x205ffe(0x18e)](warnRenamed,_0x569f4d['PXWbC'],_0x205ffe(0x1fc)),await _0x569f4d[_0x205ffe(0x277)](withTelemetry,_0x569f4d[_0x205ffe(0x1b8)],()=>featureResume(_0x30bcfb['id']));})['command']('add-checklist-item\x20<description>',![],_0x57fbe8=>{const _0x5ebc7d=_0x5d7f13;return _0x57fbe8['positional'](_0x5ebc7d(0x18b),{'type':_0x5af57a[_0x5ebc7d(0x164)],'description':'Scenario\x20description','demandOption':!![]})[_0x5ebc7d(0x205)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x47abf8=>{const _0x107b28=_0x5d7f13;warnRenamed('ranger\x20feature\x20add-checklist-item',_0x569f4d[_0x107b28(0x16c)]),await withTelemetry(_0x107b28(0x1ed),()=>featureAddScenario(_0x47abf8[_0x107b28(0x18b)],_0x47abf8['id']));})['command'](_0x569f4d[_0x5d7f13(0x236)],![],_0x3fbacd=>{const _0x442804=_0x5d7f13;return _0x3fbacd[_0x442804(0x186)]('id',{'type':_0x5af57a['xBiRp'],'description':_0x5af57a['fCMOd']});},async _0x6c981a=>{const _0x248b55=_0x5d7f13;_0x5af57a[_0x248b55(0x226)](warnRenamed,_0x5af57a[_0x248b55(0x2a5)],_0x248b55(0x26e)),await withTelemetry(_0x5af57a[_0x248b55(0x2d9)],()=>featureGetReview(_0x6c981a['id']));})['command']('delete\x20[id]',![],_0x57701e=>{const _0x206113=_0x5d7f13;return _0x57701e['positional']('id',{'type':'string','description':_0x569f4d[_0x206113(0x2cb)]});},async _0x1a13e0=>{const _0x5cb7e7=_0x5d7f13;warnRenamed(_0x5af57a['BLLGo'],_0x5af57a['nDdJf']),await _0x5af57a['YVTZG'](withTelemetry,_0x5cb7e7(0x20e),()=>featureDelete(_0x1a13e0['id']));})[_0x5d7f13(0x1c7)](_0x569f4d[_0x5d7f13(0x2c3)],![],_0x2829c9=>{const _0x40a6b3=_0x5d7f13;return _0x2829c9['positional']('id',{'type':'string','description':_0x40a6b3(0x182),'demandOption':!![]});},async _0x13d957=>{const _0x32674f=_0x5d7f13;_0x5af57a['fsnbL'](warnRenamed,_0x32674f(0x163),_0x5af57a['boYWA']),await _0x5af57a[_0x32674f(0x226)](withTelemetry,'feature\x20restore',()=>featureRestore(_0x13d957['id']));})['demandCommand'](0x1,_0x569f4d[_0x5d7f13(0x1aa)]);})['command']('hook',![],_0x38b113=>{const _0x749843=_0x4e6025,_0x4b9f3d={'pcRrV':_0x749843(0x210)};return _0x38b113[_0x749843(0x1c7)]('enable',_0x749843(0x17f),_0x4499a6=>{return _0x4499a6['option'](_0x569f4d['ovvsL'],{'type':_0x569f4d['CdcUr'],'description':_0x569f4d['JcPZZ']});},async _0x2d1150=>{const _0x370879=_0x749843;await _0x569f4d[_0x370879(0x18e)](withTelemetry,_0x569f4d[_0x370879(0x293)],()=>hook('enable',_0x2d1150['session-id']));})[_0x749843(0x1c7)]('disable',_0x569f4d[_0x749843(0x2fe)],_0x55a10a=>{const _0x27c9f1=_0x749843;return _0x55a10a['option'](_0x4b9f3d[_0x27c9f1(0x185)],{'type':_0x27c9f1(0x2ab),'description':_0x27c9f1(0x19c)});},async _0x21d24f=>{const _0x3b0672=_0x749843;await _0x569f4d[_0x3b0672(0x292)](withTelemetry,_0x569f4d['QUeST'],()=>hook('disable',_0x21d24f[_0x3b0672(0x210)]));})[_0x749843(0x205)]('name',{'type':_0x569f4d[_0x749843(0x2e2)],'description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})[_0x749843(0x205)](_0x569f4d['ovvsL'],{'type':_0x569f4d['CdcUr'],'description':_0x569f4d['JcPZZ']});},async _0x193b34=>{const _0x9138a1=_0x4e6025;_0x193b34[_0x9138a1(0x2ac)]&&await _0x569f4d[_0x9138a1(0x24b)](hook,_0x193b34['name'],_0x193b34[_0x9138a1(0x210)]);})[_0x4e6025(0x2c8)](0x1,_0x569f4d['nDjxg'])['strictCommands']()['fail'](async(_0x212f19,_0x39e52c,_0x131659)=>{const _0x3320a8=_0x4e6025,_0x5b9fd2=_0x569f4d['wsgcc'](sanitizeArgs,process['argv'][_0x3320a8(0x297)](0x2)),_0x453021=_0x569f4d['RGCwX'](getErrorType,_0x212f19,_0x39e52c);if(_0x212f19&&_0x212f19['includes'](_0x569f4d['yvMJn'])){const _0x4287c6=process['argv'][0x2];console['error'](_0x3320a8(0x30f)+_0x4287c6),console['error']('Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a');}else{if(_0x212f19)console['error']('\x0a'+_0x212f19+'\x0a');else _0x39e52c&&console[_0x3320a8(0x2de)](_0x3320a8(0x15e)+_0x39e52c['message']+'\x0a');}await logDesirePath({'rawCommand':_0x5b9fd2,'errorMessage':_0x212f19||_0x39e52c?.[_0x3320a8(0x212)],'errorType':_0x453021});const _0x273e6b=getCurrentCollector();_0x273e6b&&await _0x273e6b[_0x3320a8(0x1a1)](_0x39e52c||new Error(_0x212f19||_0x3320a8(0x1ee))),process[_0x3320a8(0x2c4)](0x1);})[_0x4e6025(0x19e)](_0x569f4d[_0x4e6025(0x240)](_0x569f4d['TJuRU'](_0x569f4d[_0x4e6025(0x314)],_0x4e6025(0x2f1)),_0x569f4d[_0x4e6025(0x1a0)]))['help']()['alias'](_0x569f4d['kSrBg'],'h');}function _0x524b(_0x3cd85f,_0x359d00){_0x3cd85f=_0x3cd85f-0x15a;const _0x8fa0b6=_0x8fa0();let _0x524b95=_0x8fa0b6[_0x3cd85f];return _0x524b95;}process['env'][_0x266f6e(0x2c6)]!==_0x266f6e(0x2af)&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()['parse']());
2
+ const _0x2aca60=_0x5ad2;(function(_0x54cb10,_0x37f47d){const _0x183094=_0x5ad2,_0x470892=_0x54cb10();while(!![]){try{const _0x550747=parseInt(_0x183094(0xbd))/0x1*(parseInt(_0x183094(0x190))/0x2)+-parseInt(_0x183094(0x17e))/0x3+parseInt(_0x183094(0xb4))/0x4+-parseInt(_0x183094(0xc5))/0x5+parseInt(_0x183094(0xe1))/0x6+parseInt(_0x183094(0x1be))/0x7*(-parseInt(_0x183094(0x139))/0x8)+-parseInt(_0x183094(0x22b))/0x9*(-parseInt(_0x183094(0x189))/0xa);if(_0x550747===_0x37f47d)break;else _0x470892['push'](_0x470892['shift']());}catch(_0x47cb28){_0x470892['push'](_0x470892['shift']());}}}(_0x299b,0x45d37));import _0x27054d from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x34ad12=_0x5ad2,_0x4d730a={'tADTj':function(_0x1b9edc,_0x1c6040){return _0x1b9edc!==_0x1c6040;},'ZASwP':function(_0x533e2b,_0x284ca5){return _0x533e2b(_0x284ca5);},'Egwyk':_0x34ad12(0xaf),'heKTy':function(_0x874275,_0x9bbc5f){return _0x874275(_0x9bbc5f);}};let _0x188b83=process['cwd']();const _0x47e085=parse(_0x188b83)[_0x34ad12(0x1ef)];while(_0x4d730a['tADTj'](_0x188b83,_0x47e085)){if(_0x4d730a[_0x34ad12(0x1a4)](existsSync,join(_0x188b83,_0x4d730a['Egwyk']))||_0x4d730a[_0x34ad12(0x203)](existsSync,join(_0x188b83,_0x34ad12(0x1dd))))return _0x188b83;_0x188b83=dirname(_0x188b83);}return process['cwd']();}_0x27054d[_0x2aca60(0x217)]({'path':join(findProjectRoot(),_0x2aca60(0x1dd))});import _0xec5d51 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';function _0x299b(){const _0x52e509=['ZMbhN','alias','IELZG','YyLAb','list\x20<profile>','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','DTqVb','token','hook:enable','JbWtY','status','TqdJf','HyKGA','all','You\x20must\x20specify\x20a\x20config\x20subcommand','demandCommand','UFmYP','rJEuN','HAhOE','nUBMD','ranger\x20add-scenario','WYbNv','trackCommandError','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','dkuqh','value','HfMMX','WHyix','ranger\x20show','aOIny','KIOOK','blocked','ranger\x20feature\x20create','verified','WjyDE','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','zyIfB','cTyUf','UfMKw','checklist','kxWPF','env-var','fetNf','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','ranger\x20feature\x20list','53472VCYaMO','Manage\x20profile\x20configuration','Feature\x20review\x20ID','pjSTI','env\x20list','ODxuG','mAulD','pWinc','wpRuk','QecCR','List\x20all\x20profiles','34810SLSUdw','add-checklist-item\x20<description>','uzKQO','myyzl','NsBou','login','repeat','5746NQUoDY','wVfWL','ranger\x20feature\x20show','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','number','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','dSrZq','cvpCH','eEieQ','IVYZH','fail','trim','pGmGh','add-scenario\x20<description>','rangerwright-cli','vftSY','ranger\x20feature\x20add-checklist-item','ZbbMX','YWdMb','ZASwP','Print\x20the\x20current\x20CLI\x20access\x20token','\x0aUnknown\x20command:\x20','XgyrL','ranger\x20get-review','exit','hihHq','gklzu','yYSlr','FUOun','UwuXS','uQzSD','name','DdXwv','SBGqU','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','evaluation','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','skills','HCOta','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','QilDN','veXAV','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','RBJvk','help','1683178qnfPNE','BcsJH','OUFsn','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','RiVRw','command','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','YXkge','limit','lkTSU','positional','session-id','EUJKF','hNuPq','LYDgq','restore','Delete\x20a\x20cloud\x20profile','profile\x20encrypt-auth','profile\x20config\x20list','unhandledRejection','ranger\x20config\x20list','scope','DTbgu','Config\x20key','profile-name','severity','fwPBu','iYvmQ','lpnlM','WpCpv','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','.env','Add\x20profile\x20configuration','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','YSAqI','--notes','notes','project','sOZoP','iWqTj','allow-insecure-localhost','usage','\x0aError:\x20','eFwkJ','enable','CshUR','use','ranger\x20profile\x20config\x20get','ranger\x20feature\x20restore','root','manual','qEAzC','item','IowDw','playwright-cli','argv','CUfKQ','FrFWK','xnwlx','filter','tuMzs','WWANT','profile\x20update','Name\x20of\x20the\x20profile\x20to\x20update','You\x20must\x20specify\x20an\x20auth\x20subcommand','ranger\x20use','mcp-bootstrap','dsdKN','prStu','heKTy','env-name','xHymi','JIqHw','clean','version','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','SCAhg','Environment\x20name','error','ranger\x20profile\x20config\x20list','dDQDu','NTzIt','isArray','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','FSzMg','add\x20<profile-name>','disable','NRRIC','hHyHE','config','Config\x20key\x20to\x20remove','boolean','beOVN','JipRO','bmxxh','Initialize\x20Ranger\x20in\x20your\x20project','oVALX','whzyU','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','profile\x20config\x20set','gMfXc','eIqQS','yZeXF','cdp-endpoint','encrypt\x20<profile>','Example:\x20ranger\x20create\x20my-feature','WviEA','feature\x20resume','LyCKi','234zBqzdw','NBCXU','get-review','uLTvv','set\x20<env>\x20<key>\x20<value>','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','Name\x20of\x20the\x20environment\x20to\x20update','AkfBV','qeihq','GSRTY','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201','feature\x20show','get-feedback\x20[id]','Feature\x20review\x20ID\x20to\x20restore','YVPyM','debug-address-comments','Install\x20Ranger\x20skills','PDvgj','AtrLe','feature\x20delete','setup-header','vppgo','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','QRTLQ','add-scenario','aJGMk','summary','VGHLS','hjSbJ','include-deleted','ranger\x20setup\x20profiles\x20--scope=','qDbyN','offset','current-branch','ziRCj','ranger\x20create','fWcmm','array','--checklist','eyChR','pLyyJ','ranger\x20config\x20get','BDzpP','ranger\x20auth\x20encrypt','\x20PARTIAL','Feature\x20review\x20description','cGRDE','delete\x20<profile-name>','Skip\x20the\x20deletion\x20confirmation\x20prompt.','rrLNb','tokenOrSubcommand','scenario','Run\x20full\x20interactive\x20setup','\x0aIssues:','vpIJf','gRQfH','axEBX','profile\x20config\x20get','.ranger','DcoTS','zFkNo','not_configured','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','631700qmaKTB','save-creds','Profile\x20name','key','jNUWN','ZFfnp','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','length','QKuNM','199oHHvxT','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','List\x20all\x20config\x20for\x20a\x20profile','yes','Number\x20of\x20feature\x20reviews\x20to\x20skip','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','boMKh','setup\x20[tokenOrSubcommand]','1957780bGUnvI','RANGER_TEST_PASSWORD','AfyyQ','claude','Install\x20OS-level\x20dependencies\x20for\x20Chromium','user','ranger\x20resume','bDZUq','auth','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','SRGEg','parse','list','UtgjL','--scenario','SNUGJ','env','RANGER_PROFILE','WDRiK','description','feature\x20list','sGOsk','NODE_ENV','HQYak','Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','vRNDu','ranger','incomplete','694098Xyakpl','nOXxx','vfjcz','Optional\x20feature\x20ID','profile','print-access-token','Update\x20authentication\x20for\x20an\x20existing\x20profile','owEtJ','qhJzm','--env','Install\x20scope\x20for\x20plugin\x20and\x20skills','option','debug-outcome','feature','yFYII','config\x20unset','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','MntLG','test','env\x20update','TpKrF','Scenario\x20index\x20(1-based)','DCSXs','opencode','VNcQo','profile\x20config\x20reset','lQlCa','bvEst','HVnur','exitCode','dry-run','bGlKz','QvtRz','xnyhr','UAXSZ','model','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','xszbx','ranger\x20config\x20set','Remove\x20a\x20config\x20value','gbczF','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','MsomM','zMLAG','SuHrI','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','kvDSV','MELtu','skip-auth','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','evaluationReason','kArZF','Authenticate\x20via\x20MCP\x20proxy','force','base-url','wZpue','Qdfup','edit-scenario','Feature\x20review\x20name','irTYN','ndKTJ','string','ranger\x20profile\x20config\x20set','nZFlx','PTOJg','FECmP','QgHyr','MgasT','url','skip-chromium','ranger\x20start','exclude-scenario','MTWiY','wDkGw','sGzRc','raTgO','with-deps','Subcommand\x20or\x20API\x20token\x20(rngr_...)','partial','IzNCO','JkRxX','FEhpv','UKQGX','profiles','dPHjT','wGYVt','SDvdm','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','8bfyukn','verify-feature','resume','ranger\x20go','ZHUWz','XvFqy','Set\x20a\x20config\x20value','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','mcp','PMrHm','fsCkk','ilHXx','oRsOj','slice','oaHDd','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','update\x20<profile-name>','SwxeP','fCXoO','zaqAo','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','ranger\x20add\x20env','bPcFZ','log'];_0x299b=function(){return _0x52e509;};return _0x299b();}function _0x5ad2(_0x1be134,_0x416793){_0x1be134=_0x1be134-0x88;const _0x299b18=_0x299b();let _0x5ad2e2=_0x299b18[_0x1be134];return _0x5ad2e2;}process['on'](_0x2aca60(0x1d1),async _0x1cedb4=>{const _0xe75c5a=_0x2aca60,_0x3227e2=getCurrentCollector();_0x3227e2&&await _0x3227e2['trackCommandError'](_0x1cedb4),process[_0xe75c5a(0xfe)]=0x1;});const rawArgs=process['argv']['slice'](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP=_0x2aca60(0x235),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201';function warnRenamed(_0x18bf9d,_0x4ecf39){const _0x7ec3d7=_0x2aca60;console[_0x7ec3d7(0x20c)]('\x0a'+_0x18bf9d+'\x20is\x20now\x20'+_0x4ecf39+'\x0a');}function argUsed(_0x1fc03f){return rawArgs['some'](_0x287a18=>_0x287a18===_0x1fc03f||_0x287a18['startsWith'](_0x1fc03f+'='));}function warnFlagRenamed(_0x3bfa97,_0x4cd16b,_0x477c83){const _0x4acca7={'zlYpi':function(_0x3d145a,_0x12bc63){return _0x3d145a(_0x12bc63);}};_0x4acca7['zlYpi'](argUsed,_0x4cd16b)&&warnRenamed(_0x3bfa97+'\x20'+_0x4cd16b,_0x3bfa97+'\x20'+_0x477c83);}function normalizeEnvVarNames(_0x143b36){const _0x2a744e=_0x2aca60,_0x5aefbe=Array[_0x2a744e(0x210)](_0x143b36)?_0x143b36:_0x143b36?[_0x143b36]:[];return _0x5aefbe['flatMap'](_0x4da7f0=>String(_0x4da7f0)['split'](',')['map'](_0x5149e3=>_0x5149e3[_0x2a744e(0x19c)]())[_0x2a744e(0x1f9)](Boolean));}async function runGoCommand(_0x58a180,_0x8f7a02=![]){const _0xba6d23=_0x2aca60,_0x40d566={'NBCXU':function(_0x5643c9,_0x3bb8cb,_0x523ace){return _0x5643c9(_0x3bb8cb,_0x523ace);},'orqFw':'--profile','kvDSV':function(_0x7d657c,_0x293a72,_0x3cf4ae,_0x1c584f){return _0x7d657c(_0x293a72,_0x3cf4ae,_0x1c584f);},'nuUpK':_0xba6d23(0x13c),'hihHq':_0xba6d23(0x1e1),'YXkge':'--item','jVXGo':_0xba6d23(0xd3),'yZeXF':function(_0x47c372){return _0x47c372();},'SBGqU':function(_0x162b71,_0xafca42){return _0x162b71(_0xafca42);},'hbJSW':_0xba6d23(0x17a),'WpCpv':function(_0x51f821){return _0x51f821();},'ZHUWz':function(_0xa390fb,_0x2c1886){return _0xa390fb>_0x2c1886;},'IHbRE':function(_0x2bc883,_0x1e5c25){return _0x2bc883!==_0x1e5c25;},'MntLG':_0xba6d23(0x117),'aJGMk':'verified','fwPBu':'\x20VERIFIED','WWANT':'partial','rKcpd':_0xba6d23(0xa1)};_0x8f7a02&&_0x40d566[_0xba6d23(0x22c)](warnRenamed,'ranger\x20verify-feature',_0xba6d23(0x13c));warnFlagRenamed(_0xba6d23(0x13c),_0xba6d23(0xea),_0x40d566['orqFw']),_0x40d566[_0xba6d23(0x10f)](warnFlagRenamed,_0x40d566['nuUpK'],'--task',_0x40d566[_0xba6d23(0x1aa)]),warnFlagRenamed('ranger\x20go',_0x40d566[_0xba6d23(0x1c5)],_0x40d566['jVXGo']);const _0x3e7a43=await _0x40d566[_0xba6d23(0x224)](loadRangerConfig),_0x3ce992=isByokEnabled(),_0x164c0a=_0x58a180[_0xba6d23(0x104)],_0x3eefb0=_0x3e7a43['model'],_0x55f6af=_0x40d566[_0xba6d23(0x1b2)](normalizeEnvVarNames,_0x58a180[_0x40d566['hbJSW']]),_0x5525ef=_0x40d566[_0xba6d23(0x1db)](getVerificationTransport);if(_0x40d566[_0xba6d23(0x13d)](_0x55f6af[_0xba6d23(0xbb)],0x0)&&_0x40d566['IHbRE'](_0x5525ef,_0xba6d23(0x1f4))&&_0x40d566['IHbRE'](_0x5525ef,_0xba6d23(0x19f)))throw new Error(_0xba6d23(0x10e)+_0x5525ef+'.');const _0x3a41f9=await verifyFeature({'featureId':_0x58a180[_0xba6d23(0xee)],'profile':_0x58a180['profile']??_0x58a180[_0xba6d23(0xd5)]??process[_0xba6d23(0xd5)][_0xba6d23(0xd6)],'notes':_0x58a180[_0xba6d23(0x1e2)]??_0x58a180['task'],'scenario':_0x58a180[_0xba6d23(0xa8)]??_0x58a180['item'],'startPath':_0x58a180['start-path'],'baseUrl':_0x58a180[_0x40d566[_0xba6d23(0xf2)]],'debugOutcome':_0x58a180[_0xba6d23(0xed)],'debugAddressComments':_0x58a180[_0xba6d23(0x23a)],'headed':_0x58a180['headed'],'verifierEnvVars':_0x55f6af,'byokEnabled':_0x3ce992,'flagVerifyModel':_0x164c0a,'configVerifyModel':_0x3eefb0});console['log']('\x0a'+'='['repeat'](0x3c)),console[_0xba6d23(0x150)](_0x3a41f9[_0xba6d23(0x1b4)]===_0x40d566[_0xba6d23(0x8e)]?_0x40d566[_0xba6d23(0x1d8)]:_0x3a41f9['evaluation']===_0xba6d23(0xe0)?'\x20INCOMPLETE':_0x3a41f9['evaluation']===_0x40d566[_0xba6d23(0x1fb)]?_0x40d566['rKcpd']:_0x3a41f9[_0xba6d23(0x1b4)]===_0xba6d23(0x170)?'\x20BLOCKED':'\x20FAILED'),console[_0xba6d23(0x150)]('='[_0xba6d23(0x18f)](0x3c)),console['log']('Summary:\x20'+_0x3a41f9[_0xba6d23(0x8f)]),console['log']('Evaluation:\x20'+_0x3a41f9['evaluation']),console[_0xba6d23(0x150)]('Reason:\x20'+_0x3a41f9[_0xba6d23(0x113)]),_0x3a41f9['issues']?.[_0xba6d23(0xbb)]&&(console[_0xba6d23(0x150)](_0xba6d23(0xaa)),_0x3a41f9['issues']['forEach']((_0x2f4fe6,_0x3a0141)=>{const _0x75ee16=_0xba6d23;console[_0x75ee16(0x150)]('\x0a'+(_0x3a0141+0x1)+'.\x20['+_0x2f4fe6[_0x75ee16(0x1d7)]+']\x20'+_0x2f4fe6[_0x75ee16(0xd8)]);})),process['exit'](_0x3a41f9['evaluation']===_0x40d566[_0xba6d23(0x8e)]?0x0:0x1);}export function buildParser(_0x271ac2){const _0x55e20d=_0x2aca60,_0x3d9653={'qhJzm':_0x55e20d(0x11e),'iWqTj':'description','MgasT':_0x55e20d(0xa8),'rrLNb':'checklist','YVPyM':function(_0x2b92ab,_0x25902f){return _0x2b92ab+_0x25902f;},'MKtOp':_0x55e20d(0x196),'BDzpP':function(_0x394e30,_0x555424,_0x4e5bb7,_0x240ed3){return _0x394e30(_0x555424,_0x4e5bb7,_0x240ed3);},'sGzRc':function(_0x308e7d,_0x32b95b,_0x33c62e){return _0x308e7d(_0x32b95b,_0x33c62e);},'bPcFZ':'create','BcsJH':_0x55e20d(0x1c6),'SwxeP':_0x55e20d(0x194),'gMfXc':_0x55e20d(0x95),'UUOiS':'Number\x20of\x20feature\x20reviews\x20to\x20skip','YWdMb':_0x55e20d(0x219),'pLyyJ':function(_0x4c751e,_0x173482,_0x556012){return _0x4c751e(_0x173482,_0x556012);},'vfjcz':_0x55e20d(0xd1),'uQzSD':function(_0x1a1fec,_0x3b44ce,_0x97a013){return _0x1a1fec(_0x3b44ce,_0x97a013);},'vppgo':function(_0x1dfc79,_0x74e6ac,_0x4376fe){return _0x1dfc79(_0x74e6ac,_0x4376fe);},'TfqWp':_0x55e20d(0x13b),'AOZtO':'Scenario\x20number\x20to\x20edit\x20(1-based)','xnyhr':_0x55e20d(0x11a),'TUTgS':'Feature\x20review\x20ID','IzNCO':'array','vpIJf':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','fWcmm':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','qinRo':'report','ivHLH':_0x55e20d(0x156),'OTBeb':_0x55e20d(0x22d),'XvFqy':'Feature\x20review\x20ID\x20to\x20restore','djMgD':'setup:deps','kLEIN':function(_0x11c94c){return _0x11c94c();},'iBxgL':'Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','raTgO':function(_0x3e0d31,_0x33097b,_0x529584){return _0x3e0d31(_0x33097b,_0x529584);},'AtrLe':function(_0x27afa6,_0x112940){return _0x27afa6(_0x112940);},'dsdKN':'setup:skills','pWinc':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','boMKh':_0x55e20d(0xf8),'dSrZq':_0x55e20d(0x1e6),'eEieQ':function(_0x563c2a,_0x157add,_0x3a536e){return _0x563c2a(_0x157add,_0x3a536e);},'VWJcJ':'with-deps','VTPfh':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','VNcQo':'scope','wGYVt':_0x55e20d(0x17c),'MTWiY':'Skip\x20browser\x20authentication','kxWPF':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','VSJLn':'setup:profiles','ViGDt':_0x55e20d(0x12e),'Qdfup':'deps','baagL':'Install\x20Chromium\x20browser\x20binary','fsCkk':_0x55e20d(0x1b6),'PMrHm':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','beOVN':_0x55e20d(0x126),'NsBou':_0x55e20d(0xca),'vftSY':_0x55e20d(0x125),'wDkGw':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','GzUFB':'force','FECmP':_0x55e20d(0x174),'fetNf':_0x55e20d(0x1dc),'rJEuN':_0x55e20d(0x200),'BZGhE':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','ZMbhN':'skip-auth','QKuNM':'token','nbzxX':'API\x20token','SRGEg':'start','Hcyag':'Ranger\x20API\x20token','iJAqZ':_0x55e20d(0x1df),'sjOzf':'base-url','HCOta':'Skip\x20Chromium\x20browser\x20installation','owEtJ':function(_0x19917d,_0x1018c2,_0x5bc918){return _0x19917d(_0x1018c2,_0x5bc918);},'bDZUq':'setup-ci','PTOJg':_0x55e20d(0x1e3),'xZdRt':'Install\x20scope\x20for\x20skills','smcle':function(_0x371642,_0x249288){return _0x371642(_0x249288);},'SCAhg':_0x55e20d(0x207),'prStu':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','NTzIt':_0x55e20d(0x225),'eIqQS':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','QvtRz':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','PLHFP':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','veXAV':_0x55e20d(0x10a),'vIYxX':'profile\x20add','bGFzK':function(_0x1d3bb1,_0x4e3dc6,_0x21ef85){return _0x1d3bb1(_0x4e3dc6,_0x21ef85);},'UAXSZ':'profile\x20ls','MXJkY':'yes','aSLTt':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','pGmGh':_0x55e20d(0xb6),'IELZG':'key','VORKz':_0x55e20d(0x13f),'LVcgM':'Get\x20a\x20config\x20value','gklzu':_0x55e20d(0xbf),'YSAqI':_0x55e20d(0x230),'dkuqh':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','NHnNA':'Name\x20of\x20the\x20profile','LYDgq':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','SBgVn':_0x55e20d(0xa5),'iYvmQ':_0x55e20d(0x1b0),'YyLAb':function(_0x583014,_0x2310bf){return _0x583014===_0x2310bf;},'BpkHM':'Config\x20key','qDbyN':_0x55e20d(0x213),'SuHrI':'encrypt-auth\x20<profile>','ilHXx':_0x55e20d(0x188),'HfMMX':_0x55e20d(0x149),'bmxxh':_0x55e20d(0xe7),'QecCR':'login\x20<name>','TqdJf':'migrate\x20[profile-name]','mgZBP':_0x55e20d(0x17f),'oaHDd':'update','JkRxX':function(_0x5eb495,_0x5d3425,_0x3929ae){return _0x5eb495(_0x5d3425,_0x3929ae);},'Efxmq':'print-access-token','QgHyr':_0x55e20d(0xe4),'ndKTJ':_0x55e20d(0xe5),'myyzl':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','QRTLQ':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','yNDBu':'Scenario\x20index\x20(1-based)','Hfkvc':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.','uoGzn':'headed','mxBbX':_0x55e20d(0x17a),'WYbNv':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','pkDGo':_0x55e20d(0x170),'vUQuw':'incomplete','bYfsQ':_0x55e20d(0x23a),'FEhpv':'env','bGlKz':'task','RiVRw':_0x55e20d(0x1f2),'jNUWN':_0x55e20d(0x195),'wEOwk':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','UwuXS':_0x55e20d(0xc9),'fSiRn':'ranger\x20setup','WlHKH':_0x55e20d(0xce),'gRQfH':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','HAhOE':_0x55e20d(0x1e2),'hpnKB':'start-path','GhlmL':'model','oVALX':'environment-variable','lkTSU':'debug-outcome','hNuPq':'failed','dPHjT':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','oRsOj':_0x55e20d(0x14e),'axEBX':'env-name','jRnpS':'Name\x20of\x20the\x20environment','YWXnO':_0x55e20d(0x107),'hwNFa':_0x55e20d(0x11f),'YZUTG':'config\x20set','znVqk':_0x55e20d(0x9e),'WviEA':_0x55e20d(0x1ed),'ODIbq':'config\x20get','LyCKi':'ranger\x20config\x20unset','cvpCH':'ranger\x20profile\x20config\x20unset','Stajn':_0x55e20d(0xf0),'OUFsn':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','TziNT':'Config\x20value','tuMzs':'Environment\x20name','kArZF':_0x55e20d(0x22f),'wotfZ':'get\x20<env>\x20<key>','NVEaZ':_0x55e20d(0x15f),'wVfWL':'ranger\x20env\x20ls','FUOun':function(_0x1f7b89,_0x544d23,_0x3e73cc){return _0x1f7b89(_0x544d23,_0x3e73cc);},'Dzgic':_0x55e20d(0xba),'cjttu':'ranger\x20feature\x20resume','QilDN':_0x55e20d(0xcb),'CUfKQ':_0x55e20d(0x229),'JHjKw':_0x55e20d(0x112),'VGHLS':_0x55e20d(0x171),'TpKrF':'ranger\x20create','wlCjD':_0x55e20d(0x9b),'XiJJU':'--scenario','BLIYl':_0x55e20d(0x92),'jOdSN':_0x55e20d(0x1a1),'Hpaor':'ranger\x20restore','CEFQo':'create\x20<name>','hHyHE':'show\x20[id]','AfyyQ':'resume\x20[id]','cTyUf':'delete\x20[id]','gbczF':'restore\x20<id>','lpnlM':_0x55e20d(0x1c9),'whzyU':_0x55e20d(0x1ea),'WDRiK':_0x55e20d(0x214),'Sfair':_0x55e20d(0xf1),'juyta':_0x55e20d(0x220),'IVYZH':function(_0x51ef8b,_0x51b946,_0x3b010a){return _0x51ef8b(_0x51b946,_0x3b010a);},'Gercs':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','vRNDu':function(_0x4f6617,_0x400c22){return _0x4f6617||_0x400c22;},'HGohv':_0x55e20d(0xdf),'CshUR':'List\x20all\x20feature\x20reviews','yYSlr':'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','ziRCj':_0x55e20d(0x19e),'xHymi':_0x55e20d(0x211),'XgyrL':'edit-scenario\x20<description>','uibRT':_0x55e20d(0x1b5),'ShQch':'get-review\x20[id]','xSRQK':_0x55e20d(0x8b),'wovNv':_0x55e20d(0x209),'UFmYP':_0x55e20d(0xc4),'HQYak':_0x55e20d(0x21d),'avEAH':_0x55e20d(0x105),'vwiQu':'skillup','HyKGA':_0x55e20d(0x168),'SNUGJ':'profiles','nOXxx':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','ZFfnp':_0x55e20d(0x1a5),'fzymT':'Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','irTYN':_0x55e20d(0xcd),'xszbx':'start\x20[token]','TQgdk':'hook','NpKpz':'You\x20must\x20specify\x20a\x20command','dZHAv':function(_0x140677,_0x2f1225){return _0x140677+_0x2f1225;},'dEAbH':'Documentation:\x0a','XwOeK':'\x20\x20https://docs.ranger.net\x0a','UKQGX':_0x55e20d(0x148),'FJcAr':_0x55e20d(0x1bd)};return _0xec5d51(_0x271ac2??process['argv']['slice'](0x2))['scriptName'](_0x3d9653['HGohv'])['usage'](TOP_LEVEL_HELP)[_0x55e20d(0x208)](_0x3d9653['kLEIN'](getCurrentVersion))[_0x55e20d(0x1c3)]('create\x20<name>','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios',_0x44eb42=>{const _0x4d0810=_0x55e20d;return _0x44eb42[_0x4d0810(0x1c8)](_0x4d0810(0x1b0),{'type':_0x3d9653[_0x4d0810(0xe9)],'description':_0x4d0810(0x11b),'demandOption':!![]})['option'](_0x3d9653[_0x4d0810(0x1e5)],{'type':'string','alias':'d','description':'Feature\x20review\x20description'})[_0x4d0810(0xec)](_0x3d9653[_0x4d0810(0x124)],{'type':'array','alias':'c','description':_0x4d0810(0x112)})[_0x4d0810(0xec)](_0x3d9653[_0x4d0810(0xa6)],{'type':'array','hidden':!![]});},async _0x3c7640=>{const _0x164053=_0x55e20d;if(!_0x3c7640['name']){console[_0x164053(0x20c)](_0x3d9653[_0x164053(0x239)](_0x3d9653['MKtOp'],_0x164053(0x227))),process[_0x164053(0x1a9)](0x1);return;}_0x3d9653[_0x164053(0x9f)](warnFlagRenamed,_0x164053(0x98),_0x164053(0x9b),_0x164053(0xd3));const _0x9971e8=_0x3c7640[_0x164053(0xa8)]||_0x3c7640[_0x164053(0x178)];await _0x3d9653[_0x164053(0x12b)](withTelemetry,_0x3d9653[_0x164053(0x14f)],()=>featureCreate(_0x3c7640[_0x164053(0x1b0)],{'description':_0x3c7640[_0x164053(0xd8)],'scenarios':_0x9971e8}));})['command'](_0x3d9653[_0x55e20d(0xe3)],_0x3d9653[_0x55e20d(0x1eb)],_0x4d7e8e=>{const _0x3692f0=_0x55e20d;return _0x4d7e8e['option']('current-branch',{'type':_0x3692f0(0x219),'description':_0x3692f0(0xb3)})['option'](_0x3d9653[_0x3692f0(0x1bf)],{'type':'number','alias':'l','description':_0x3d9653[_0x3692f0(0x14a)],'default':0xa})['option'](_0x3d9653[_0x3692f0(0x222)],{'type':_0x3692f0(0x195),'alias':'o','description':_0x3d9653['UUOiS'],'default':0x0})['option']('include-deleted',{'type':_0x3d9653[_0x3692f0(0x1a3)],'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x2d94b0=>{const _0x1405db=_0x55e20d;await _0x3d9653[_0x1405db(0x9d)](withTelemetry,_0x3d9653['vfjcz'],()=>featureList({'currentBranch':_0x2d94b0['current-branch'],'limit':_0x2d94b0[_0x1405db(0x1c6)],'offset':_0x2d94b0['offset'],'includeDeleted':_0x2d94b0['include-deleted']}));})[_0x55e20d(0x1c3)]('show\x20[id]',_0x3d9653[_0x55e20d(0x1ac)],_0x2a1f28=>{const _0x17582f=_0x55e20d;return _0x2a1f28['positional']('id',{'type':_0x3d9653[_0x17582f(0xe9)],'description':'Feature\x20review\x20ID'});},async _0x5563bc=>{const _0xde2106=_0x55e20d;await _0x3d9653[_0xde2106(0x1af)](withTelemetry,'show',()=>featureShow(_0x5563bc['id']));})['command']('resume\x20[id]','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x1d01a9=>{const _0x3ac25a=_0x55e20d;return _0x1d01a9['positional']('id',{'type':_0x3ac25a(0x11e),'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0xfe9a44=>{const _0x27a02b=_0x55e20d;await _0x3d9653[_0x27a02b(0x8a)](withTelemetry,_0x3d9653['TfqWp'],()=>featureResume(_0xfe9a44['id']));})[_0x55e20d(0x1c3)](_0x3d9653[_0x55e20d(0x97)],_0x3d9653[_0x55e20d(0x205)],_0x7ace31=>{const _0x52cffe=_0x55e20d;return _0x7ace31[_0x52cffe(0x1c8)](_0x3d9653['iWqTj'],{'type':_0x52cffe(0x11e),'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x53e122=>{const _0x4789d5=_0x55e20d;await withTelemetry(_0x4789d5(0x8d),()=>featureAddScenario(_0x53e122[_0x4789d5(0xd8)],_0x53e122['id']));})['command'](_0x3d9653[_0x55e20d(0x1a7)],'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x5a63a0=>{const _0x2fec83=_0x55e20d;return _0x5a63a0['positional'](_0x2fec83(0xd8),{'type':'string','description':'New\x20scenario\x20description','demandOption':!![]})['option'](_0x3d9653['MgasT'],{'type':'number','description':_0x3d9653['AOZtO'],'demandOption':!![]})[_0x2fec83(0xec)]('id',{'type':_0x3d9653[_0x2fec83(0xe9)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x185b6d=>{const _0x119358=_0x55e20d;await withTelemetry(_0x3d9653[_0x119358(0x102)],()=>featureEditScenario(_0x185b6d[_0x119358(0xd8)],{'id':_0x185b6d['id'],'scenario':_0x185b6d[_0x119358(0xa8)]}));})[_0x55e20d(0x1c3)]('report\x20[id]',_0x3d9653['uibRT'],_0x4d088b=>{const _0x137aed=_0x55e20d;return _0x4d088b['positional']('id',{'type':_0x137aed(0x11e),'description':_0x3d9653['TUTgS']})[_0x137aed(0xec)](_0x137aed(0x128),{'type':_0x3d9653[_0x137aed(0x130)],'description':_0x3d9653[_0x137aed(0xab)]})['option']('json',{'type':'boolean','description':_0x3d9653[_0x137aed(0x99)],'default':![]});},async _0x1ec468=>{const _0x5e009b=_0x55e20d,_0x4f9215=_0x1ec468[_0x5e009b(0x128)],_0x1e9bd4=_0x4f9215?_0x4f9215['map'](_0x4ca18e=>Number(_0x4ca18e)):undefined;await withTelemetry(_0x3d9653['qinRo'],()=>featureReportPrDescription(_0x1ec468['id'],{'excludeScenarios':_0x1e9bd4,'json':_0x1ec468['json']}));})[_0x55e20d(0x1c3)](_0x3d9653['ShQch'],_0x3d9653['xSRQK'],_0x43512b=>{return _0x43512b['positional']('id',{'type':_0x3d9653['qhJzm'],'description':_0x3d9653['ivHLH']});},async _0x106381=>{await withTelemetry(_0x3d9653['OTBeb'],()=>featureGetReview(_0x106381['id']));})[_0x55e20d(0x1c3)]('delete\x20[id]',_0x3d9653['wovNv'],_0x4f87ea=>{const _0x45d0ee=_0x55e20d;return _0x4f87ea['positional']('id',{'type':_0x3d9653[_0x45d0ee(0xe9)],'description':'Feature\x20review\x20ID'});},async _0x5be981=>{await _0x3d9653['pLyyJ'](withTelemetry,'delete',()=>featureDelete(_0x5be981['id']));})['command'](_0x3d9653['gbczF'],'Restore\x20a\x20soft-deleted\x20feature\x20review',_0x3595d2=>{const _0x3e7ea5=_0x55e20d;return _0x3595d2['positional']('id',{'type':_0x3d9653[_0x3e7ea5(0xe9)],'description':_0x3d9653[_0x3e7ea5(0x13e)],'demandOption':!![]});},async _0x6bc500=>{const _0x7acf09=_0x55e20d;await _0x3d9653['uQzSD'](withTelemetry,_0x7acf09(0x1cd),()=>featureRestore(_0x6bc500['id']));})[_0x55e20d(0x1c3)](_0x3d9653[_0x55e20d(0x161)],_0x3d9653[_0x55e20d(0xdc)],_0xbf4dd6=>{const _0x3a2a3f=_0x55e20d,_0x4cf886={'qeihq':_0x3a2a3f(0x1b8),'sdeAB':_0x3a2a3f(0x116),'aOIny':_0x3d9653[_0x3a2a3f(0x185)],'ZbbMX':_0x3d9653[_0x3a2a3f(0xc3)],'pYEmO':_0x3d9653['YWdMb'],'wZpue':_0x3d9653[_0x3a2a3f(0x197)],'zaqAo':_0x3a2a3f(0x141),'WjyDE':function(_0x5ff20c,_0x5839d5,_0x2f05c3){const _0x1b3711=_0x3a2a3f;return _0x3d9653[_0x1b3711(0x199)](_0x5ff20c,_0x5839d5,_0x2f05c3);},'NfXjA':_0x3d9653['VWJcJ'],'dNCDs':_0x3d9653['VTPfh'],'sGOsk':_0x3d9653[_0x3a2a3f(0xf9)],'DdXwv':_0x3a2a3f(0x11e),'vqCXw':'user','nDIDS':_0x3d9653[_0x3a2a3f(0x136)],'wbZPQ':'skip-auth','YPNkj':_0x3d9653[_0x3a2a3f(0x129)],'JIqHw':_0x3d9653[_0x3a2a3f(0x179)],'ANeCa':function(_0x113626,_0x927f19){return _0x113626!==_0x927f19;},'zyIfB':function(_0x51f837,_0x1fc582){return _0x51f837+_0x1fc582;},'fIqgG':_0x3d9653['VSJLn']};return _0xbf4dd6['usage']('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')['positional']('tokenOrSubcommand',{'type':_0x3a2a3f(0x11e),'description':_0x3d9653['ViGDt']})['command'](_0x3a2a3f(0x15e),_0x3a2a3f(0xa9),_0x50ac83=>{const _0x4aa6ec=_0x3a2a3f;return _0x50ac83[_0x4aa6ec(0xec)](_0x4aa6ec(0x158),{'type':_0x4aa6ec(0x11e),'description':'Ranger\x20API\x20token'})[_0x4aa6ec(0xec)]('skip-chromium',{'type':'boolean','description':_0x4cf886[_0x4aa6ec(0x233)],'default':![]})[_0x4aa6ec(0xec)](_0x4aa6ec(0x111),{'type':_0x4aa6ec(0x219),'description':'Skip\x20authentication','default':![]})[_0x4aa6ec(0xec)](_0x4aa6ec(0x12d),{'type':'boolean','description':_0x4aa6ec(0xc9),'default':![]})['option'](_0x4aa6ec(0x1d3),{'type':'string','choices':[_0x4aa6ec(0xca)],'hidden':!![],'description':_0x4aa6ec(0x17c)})[_0x4aa6ec(0xec)]('url',{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})[_0x4aa6ec(0xec)](_0x4cf886['sdeAB'],{'type':'boolean','description':_0x4cf886[_0x4aa6ec(0x16e)],'default':![]})[_0x4aa6ec(0xec)](_0x4cf886[_0x4aa6ec(0x1a2)],{'type':_0x4cf886['pYEmO'],'description':_0x4aa6ec(0x174),'default':![]})[_0x4aa6ec(0xec)](_0x4cf886[_0x4aa6ec(0x118)],{'type':_0x4cf886['pYEmO'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]})['option'](_0x4aa6ec(0x200),{'type':'boolean','description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','default':![]})[_0x4aa6ec(0xec)](_0x4cf886[_0x4aa6ec(0x14c)],{'type':_0x4cf886['pYEmO'],'description':'Alias\x20for\x20--mcp-bootstrap','default':![]});},async _0x36116a=>{const _0x222c3f=_0x3a2a3f;(_0x36116a[_0x222c3f(0x200)]||_0x36116a[_0x222c3f(0x141)])&&await _0x4cf886[_0x222c3f(0x173)](withTelemetry,'mcp-bootstrap',()=>mcpBootstrap()),await withTelemetry('setup:all',_0x4354b6=>start(_0x36116a['token'],{'skipChromium':_0x36116a[_0x222c3f(0x126)],'skipAuth':_0x36116a['skip-auth'],'withDeps':_0x36116a['with-deps'],'scope':_0x36116a['scope'],'url':_0x36116a[_0x222c3f(0x125)],'force':_0x36116a[_0x222c3f(0x116)],'opencode':_0x36116a['opencode'],'allowInsecureLocalhost':_0x36116a['allow-insecure-localhost']},_0x4354b6));})['command'](_0x3d9653[_0x3a2a3f(0x119)],_0x3d9653['baagL'],_0x18e646=>{return _0x18e646['option'](_0x4cf886['NfXjA'],{'type':_0x4cf886['pYEmO'],'description':_0x4cf886['dNCDs'],'default':![]});},async _0x42921e=>{const _0x3f507d=_0x3a2a3f;await _0x3d9653['vppgo'](withTelemetry,_0x3d9653['djMgD'],()=>ensureChromium(_0x42921e[_0x3f507d(0x12d)]));})['command'](_0x3a2a3f(0x18e),'Authenticate\x20with\x20Ranger',_0x2fe48b=>{const _0xef1165=_0x3a2a3f;return _0x2fe48b[_0xef1165(0xec)]('token',{'type':'string','description':'Ranger\x20API\x20token\x20(rngr_...)'})['option'](_0xef1165(0x141),{'type':_0xef1165(0x219),'description':_0xef1165(0x115),'default':![]});},async _0x11eab5=>{const _0x246c56=_0x3a2a3f,_0x4e73a1={'dgfRJ':function(_0x4b39c0){return _0x3d9653['kLEIN'](_0x4b39c0);},'jWymr':_0x3d9653['iBxgL']};await _0x3d9653[_0x246c56(0x12c)](withTelemetry,'setup:login',async()=>{const _0x49dcca=_0x246c56;if(_0x11eab5['mcp']){await _0x4e73a1['dgfRJ'](mcpBootstrap);const _0x59f69d=await refreshCliToken();if(!_0x59f69d)throw new Error(_0x4e73a1['jWymr']);const _0x5705d6=await getCurrentUser(_0x59f69d);if(!_0x5705d6['success'])throw new Error(_0x49dcca(0x138)+_0x5705d6['error']);console[_0x49dcca(0x150)]('✓\x20Authenticated\x20to\x20'+_0x5705d6[_0x49dcca(0xca)]['organizationName']);return;}await authenticate(_0x11eab5[_0x49dcca(0x158)]);});})['command'](_0x3d9653[_0x3a2a3f(0x143)],_0x3d9653[_0x3a2a3f(0x142)],_0x60cb7=>{const _0xd2b5fe=_0x3a2a3f;return _0x60cb7['option'](_0x4cf886[_0xd2b5fe(0xda)],{'type':_0x4cf886[_0xd2b5fe(0x1b1)],'choices':['user','project'],'description':_0xd2b5fe(0xeb)})[_0xd2b5fe(0xec)](_0xd2b5fe(0xf8),{'type':'boolean','description':_0xd2b5fe(0x174),'default':![]});},async _0x2aa956=>{const _0x32c5ba=_0x3a2a3f,_0x5550ff={'SROif':function(_0x558ae7,_0x4b3da9,_0x5c4164){return _0x558ae7(_0x4b3da9,_0x5c4164);},'MELtu':_0x32c5ba(0xf8),'xnwlx':function(_0x30f97f,_0x453bf1){const _0x44e530=_0x32c5ba;return _0x3d9653[_0x44e530(0x23d)](_0x30f97f,_0x453bf1);}};await withTelemetry(_0x3d9653[_0x32c5ba(0x201)],async()=>{const _0x208999=_0x32c5ba,_0x213df5=_0x2aa956[_0x208999(0x1d3)];if(_0x2aa956[_0x208999(0xf8)]){const _0x6b8e60=await ensureOpencodePluginConfig(_0x213df5);_0x6b8e60&&await _0x5550ff['SROif'](installSkill,_0x208999(0xdf),{'level':_0x6b8e60['scope'],'cliVersion':getCurrentVersion(),'platform':_0x5550ff[_0x208999(0x110)]});}else await _0x5550ff['xnwlx'](ensureClaudePlugin,_0x213df5),await _0x5550ff[_0x208999(0x1f8)](ensureClaudeSkills,_0x213df5);});})[_0x3a2a3f(0x1c3)](_0x3a2a3f(0x134),'Set\x20up\x20a\x20local\x20browser\x20profile',_0x172a05=>{const _0x21f343=_0x3a2a3f;return _0x172a05['option'](_0x4cf886['sGOsk'],{'type':'string','choices':[_0x4cf886['vqCXw']],'description':_0x4cf886['nDIDS']})['option'](_0x21f343(0x125),{'type':_0x4cf886[_0x21f343(0x1b1)],'description':'Base\x20URL\x20of\x20the\x20running\x20app'})['option'](_0x4cf886['wbZPQ'],{'type':_0x21f343(0x219),'description':_0x4cf886['YPNkj'],'default':![]})['option'](_0x4cf886['sdeAB'],{'type':_0x4cf886['pYEmO'],'description':_0x4cf886[_0x21f343(0x16e)],'default':![]})[_0x21f343(0xec)]('allow-insecure-localhost',{'type':'boolean','description':_0x4cf886[_0x21f343(0x206)],'default':![]});},async _0x3911ab=>{const _0x272d71=_0x3a2a3f,_0x249513=_0x3911ab['scope'];_0x4cf886['ANeCa'](_0x249513,undefined)&&_0x249513!==_0x272d71(0xca)&&(console[_0x272d71(0x20c)](_0x4cf886[_0x272d71(0x175)](_0x272d71(0x93)+_0x249513+'\x20is\x20no\x20longer\x20supported.\x20'+'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.')),process['exit'](0x1)),await withTelemetry(_0x4cf886['fIqgG'],_0x4156ae=>ensureLocalEnv({'url':_0x3911ab['url'],'force':_0x3911ab[_0x272d71(0x116)],'allowInsecureLocalhost':_0x3911ab[_0x272d71(0x1e6)],'scope':_0x272d71(0xca)},_0x4156ae));})['option'](_0x3d9653['beOVN'],{'type':'boolean','description':_0x3a2a3f(0x1b8),'default':![]})['option']('scope',{'type':_0x3a2a3f(0x11e),'choices':[_0x3d9653[_0x3a2a3f(0x18d)]],'hidden':!![],'description':_0x3d9653['wGYVt']})[_0x3a2a3f(0xec)](_0x3d9653[_0x3a2a3f(0x1a0)],{'type':_0x3d9653[_0x3a2a3f(0xe9)],'description':_0x3d9653[_0x3a2a3f(0x12a)]})['option'](_0x3d9653['GzUFB'],{'type':_0x3a2a3f(0x219),'description':_0x3a2a3f(0x140),'default':![]})['option'](_0x3d9653[_0x3a2a3f(0xc3)],{'type':'boolean','description':_0x3d9653[_0x3a2a3f(0x122)],'default':![]})[_0x3a2a3f(0xec)]('allow-insecure-localhost',{'type':'boolean','description':_0x3d9653[_0x3a2a3f(0x17b)],'default':![]})[_0x3a2a3f(0xec)](_0x3d9653['rJEuN'],{'type':_0x3d9653[_0x3a2a3f(0x1a3)],'description':_0x3d9653['BZGhE'],'default':![]})['option'](_0x3d9653['ZMbhN'],{'type':_0x3d9653['YWdMb'],'description':_0x3a2a3f(0x1b3),'default':![]})[_0x3a2a3f(0xec)](_0x3a2a3f(0x12d),{'type':'boolean','description':_0x3d9653['VTPfh'],'default':![]})['option'](_0x3d9653[_0x3a2a3f(0xbc)],{'type':_0x3d9653[_0x3a2a3f(0xe9)],'hidden':!![],'description':_0x3d9653['nbzxX']});},async _0x3ff7c6=>{const _0xccea25=_0x55e20d,_0x5ed704=_0x3ff7c6[_0xccea25(0xa7)],_0x50cca0=_0x3ff7c6['token']??_0x5ed704;_0x3ff7c6[_0x3d9653[_0xccea25(0x162)]]&&await _0x3d9653['pLyyJ'](withTelemetry,'mcp-bootstrap',()=>mcpBootstrap()),await withTelemetry(_0x3d9653[_0xccea25(0xcf)],_0x2e12f2=>start(_0x50cca0,{'skipChromium':_0x3ff7c6['skip-chromium'],'skipAuth':_0x3ff7c6[_0xccea25(0x111)],'withDeps':_0x3ff7c6['with-deps'],'scope':_0x3ff7c6[_0xccea25(0x1d3)],'url':_0x3ff7c6[_0xccea25(0x125)],'force':_0x3ff7c6['force'],'opencode':_0x3ff7c6[_0xccea25(0xf8)],'allowInsecureLocalhost':_0x3ff7c6['allow-insecure-localhost']},_0x2e12f2));})['command']('setup-ci\x20<token>',![],_0x5a6d9a=>{const _0x289097=_0x55e20d;return _0x5a6d9a['positional']('token',{'type':'string','description':_0x3d9653['Hcyag'],'demandOption':!![]})['option']('profile',{'type':'string','description':_0x3d9653['iJAqZ']})[_0x289097(0xec)](_0x3d9653['sjOzf'],{'type':_0x3d9653['qhJzm'],'description':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)'})[_0x289097(0xec)](_0x3d9653[_0x289097(0x21a)],{'type':_0x3d9653[_0x289097(0x1a3)],'description':_0x3d9653[_0x289097(0x1b7)],'default':![]});},async _0x4d9085=>{const _0x5efa3a=_0x55e20d;await _0x3d9653[_0x5efa3a(0xe8)](withTelemetry,_0x3d9653[_0x5efa3a(0xcc)],_0x4eac60=>setupCi(_0x4d9085[_0x5efa3a(0x158)],{'profile':_0x4d9085[_0x5efa3a(0xe5)],'baseUrl':_0x4d9085['base-url'],'skipChromium':_0x4d9085['skip-chromium']},_0x4eac60));})[_0x55e20d(0x1c3)]('login',_0x3d9653['avEAH'],()=>{},async()=>{const _0x3d8a09=_0x55e20d;await withTelemetry(_0x3d8a09(0x18e),()=>login());})[_0x55e20d(0x1c3)](_0x3d9653['vwiQu'],_0x55e20d(0x23b),_0x11b5e3=>{const _0x13a07d=_0x55e20d;return _0x11b5e3['option'](_0x3d9653['boMKh'],{'type':_0x3d9653[_0x13a07d(0x1a3)],'description':'Install\x20skills\x20for\x20OpenCode','default':![]})[_0x13a07d(0xec)](_0x3d9653[_0x13a07d(0xf9)],{'type':_0x3d9653['qhJzm'],'choices':[_0x3d9653[_0x13a07d(0x18d)],_0x3d9653[_0x13a07d(0x121)]],'description':_0x3d9653['xZdRt']});},async _0x36b276=>{const _0x544a97=_0x55e20d,_0x1fdf25=_0x3d9653['smcle'](Boolean,_0x36b276['opencode']);await withTelemetry('skillup',()=>skillup({'autoInstall':_0x36b276['scope'],'platform':_0x1fdf25?'opencode':_0x544a97(0xc8)}));})[_0x55e20d(0x1c3)](_0x3d9653[_0x55e20d(0x20a)],_0x3d9653[_0x55e20d(0x15d)],()=>{},async()=>{const _0x262774=_0x55e20d;await withTelemetry(_0x3d9653[_0x262774(0x20a)],()=>clean());})[_0x55e20d(0x1c3)]([_0x3d9653[_0x55e20d(0x11d)],_0x3d9653[_0x55e20d(0xd4)]],'Manage\x20profiles',_0x11e8de=>{const _0x2b02dd=_0x55e20d,_0x5cdca8={'ROPFX':_0x3d9653['NHnNA'],'nZFlx':function(_0x15348b,_0x9737f9,_0x22aa5d){const _0x7ae00d=_0x5ad2;return _0x3d9653[_0x7ae00d(0x1af)](_0x15348b,_0x9737f9,_0x22aa5d);},'aWrZu':_0x2b02dd(0x1d6),'GSRTY':_0x3d9653['qhJzm'],'bvEst':_0x3d9653[_0x2b02dd(0x1cc)],'yFYII':'boolean','KIOOK':_0x3d9653['SBgVn'],'cXgxy':'allow-insecure-localhost','HVnur':_0x3d9653[_0x2b02dd(0x1d9)],'NRRIC':'Cloud\x20profile\x20name','hjSbJ':function(_0x17aef3,_0x3ad46e){return _0x17aef3||_0x3ad46e;},'eWZii':function(_0x1a0a53,_0x18390c){const _0x1ce98c=_0x2b02dd;return _0x3d9653[_0x1ce98c(0x154)](_0x1a0a53,_0x18390c);},'mAulD':'profile\x20migrate','uzKQO':_0x2b02dd(0xe5),'UfMKw':_0x3d9653[_0x2b02dd(0x19d)],'nJivy':_0x3d9653['BpkHM']};return _0x11e8de['usage'](PROFILE_HELP)['command'](_0x3d9653[_0x2b02dd(0x94)],_0x2b02dd(0x1de),_0x512bff=>{const _0x1e809a=_0x2b02dd;return _0x512bff['positional']('profile-name',{'type':_0x3d9653['qhJzm'],'description':_0x1e809a(0xc2),'demandOption':!![]})[_0x1e809a(0xec)]('ci',{'type':_0x3d9653[_0x1e809a(0x1a3)],'hidden':!![],'default':![]})[_0x1e809a(0xec)]('skip-auth',{'type':_0x1e809a(0x219),'description':_0x1e809a(0x1c4),'default':![]})[_0x1e809a(0xec)](_0x1e809a(0x125),{'type':_0x3d9653['qhJzm'],'description':_0x3d9653[_0x1e809a(0x202)]})[_0x1e809a(0xec)](_0x3d9653['GzUFB'],{'type':_0x3d9653['YWdMb'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x1e809a(0xec)](_0x3d9653[_0x1e809a(0x20f)],{'type':'string','description':_0x3d9653[_0x1e809a(0x223)]})['option']('allow-insecure-localhost',{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})['option']('safe-mode',{'type':_0x1e809a(0x219),'description':_0x3d9653[_0x1e809a(0x101)],'default':![]})['option'](_0x1e809a(0x89),{'type':_0x3d9653['qhJzm'],'array':!![],'description':_0x3d9653['PLHFP']})['option'](_0x1e809a(0x1d3),{'type':_0x1e809a(0x11e),'choices':[_0x3d9653['NsBou'],_0x1e809a(0x1e3)],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})[_0x1e809a(0xec)]('yes',{'type':_0x1e809a(0x219),'alias':'y','description':_0x3d9653[_0x1e809a(0x1ba)],'default':![]});},async _0x106a17=>{const _0xa0eef2=_0x2b02dd;await _0x3d9653[_0xa0eef2(0x9f)](withTelemetry,_0x3d9653['vIYxX'],_0x1b87d5=>addEnv(_0x106a17[_0xa0eef2(0x1d6)],{'ci':_0x106a17['ci'],'skipAuth':_0x106a17[_0xa0eef2(0x111)],'url':_0x106a17['url'],'force':_0x106a17['force'],'cdpEndpoint':_0x106a17[_0xa0eef2(0x225)],'allowInsecureLocalhost':_0x106a17[_0xa0eef2(0x1e6)],'safeMode':_0x106a17['safe-mode'],'setupHeader':_0x106a17[_0xa0eef2(0x89)],'scope':_0x106a17['scope'],'yes':_0x106a17['yes']},_0x1b87d5),{'isElectron':Boolean(_0x106a17[_0x3d9653['NTzIt']])});})['command']('use\x20<profile-name>','Switch\x20to\x20using\x20a\x20specific\x20profile',_0x4dc0aa=>{return _0x4dc0aa['positional']('profile-name',{'type':'string','description':_0x5cdca8['ROPFX'],'demandOption':!![]});},async _0x3aad2c=>{const _0x4ba734=_0x2b02dd;await _0x5cdca8[_0x4ba734(0x120)](withTelemetry,'profile\x20use',()=>useEnv(_0x3aad2c[_0x4ba734(0x1d6)]));})[_0x2b02dd(0x1c3)](_0x2b02dd(0xa4),_0x2b02dd(0x1ce),_0x2de837=>{const _0x1aa866=_0x2b02dd;return _0x2de837['positional'](_0x5cdca8['aWrZu'],{'type':_0x5cdca8[_0x1aa866(0x234)],'description':_0x5cdca8[_0x1aa866(0xfc)],'demandOption':!![]})[_0x1aa866(0xec)](_0x1aa866(0xc0),{'type':_0x5cdca8[_0x1aa866(0xef)],'alias':'y','description':_0x5cdca8[_0x1aa866(0x16f)],'default':![]});},async _0x13044c=>{const _0x11f283=_0x2b02dd;await withTelemetry('profile\x20delete',()=>deleteProfile(_0x13044c[_0x11f283(0x1d6)],{'yes':_0x13044c['yes']}));})['command'](_0x3d9653[_0x2b02dd(0x10d)],![],_0x2f960f=>{const _0x183ab3=_0x2b02dd;return _0x2f960f['positional']('profile',{'type':_0x183ab3(0x11e),'description':_0x183ab3(0xb6),'demandOption':!![]});},async _0x4c16d6=>{const _0x4ce9ee=_0x2b02dd;await _0x3d9653[_0x4ce9ee(0xe8)](withTelemetry,_0x4ce9ee(0x1cf),()=>authEncrypt(_0x4c16d6['profile']));})[_0x2b02dd(0x1c3)]('ls',_0x3d9653[_0x2b02dd(0x144)],()=>{},async()=>{const _0x567642=_0x2b02dd;await _0x3d9653['bGFzK'](withTelemetry,_0x3d9653[_0x567642(0x103)],()=>envList());})['command'](_0x3d9653[_0x2b02dd(0x16b)],_0x3d9653[_0x2b02dd(0x21c)],_0x1a7101=>{const _0x28dec4=_0x2b02dd;return _0x1a7101['positional'](_0x5cdca8['aWrZu'],{'type':_0x5cdca8['GSRTY'],'description':_0x28dec4(0x1fd),'demandOption':!![]})[_0x28dec4(0xec)](_0x5cdca8['cXgxy'],{'type':_0x5cdca8['yFYII'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)'})[_0x28dec4(0xec)]('manual',{'type':'boolean','description':_0x28dec4(0xdd)});},async _0x1e138c=>{const _0x3c85e2=_0x2b02dd;await _0x5cdca8['nZFlx'](withTelemetry,_0x3c85e2(0x1fc),_0x4b1c26=>updateEnv(_0x1e138c[_0x3c85e2(0x1d6)],_0x4b1c26,{'allowInsecureLocalhost':_0x1e138c['allow-insecure-localhost'],'manual':_0x1e138c[_0x3c85e2(0x1f0)]}));})[_0x2b02dd(0x1c3)](_0x3d9653[_0x2b02dd(0x187)],![],_0x270358=>{const _0x4bab11=_0x2b02dd;return _0x270358[_0x4bab11(0x1c8)](_0x5cdca8[_0x4bab11(0xfd)],{'type':_0x4bab11(0x11e),'description':_0x5cdca8[_0x4bab11(0x215)],'demandOption':!![]});},async _0x5d43c1=>{await withTelemetry('profile\x20login',async()=>{const _0x552a66=_0x5ad2,_0x514551=process[_0x552a66(0xd5)]['RANGER_TEST_USERNAME'],_0x5efc71=process['env'][_0x552a66(0xc6)];_0x5cdca8[_0x552a66(0x91)](!_0x514551,!_0x5efc71)&&(console['error']('Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.'),process[_0x552a66(0x1a9)](0x1));const _0x3cc077=_0x5d43c1[_0x552a66(0x1b0)],_0x350b7b=await _0x5cdca8['nZFlx'](serverSideLogin,_0x3cc077,{'force':!![]});_0x350b7b[_0x552a66(0x15b)]===_0x552a66(0xb2)&&(console['error']('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process[_0x552a66(0x1a9)](0x1)),_0x5cdca8['eWZii'](_0x350b7b['status'],'failed')&&(console[_0x552a66(0x20c)]('Login\x20failed:\x20'+(_0x350b7b['error']??'unknown\x20error')),_0x350b7b['test_output']&&console['error'](_0x350b7b['test_output']),process[_0x552a66(0x1a9)](0x1)),console['log']('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x3cc077+'\x27.\x20Session\x20saved.');});})[_0x2b02dd(0x1c3)](_0x3d9653[_0x2b02dd(0x15c)],![],_0x3cc9c0=>{const _0x391b28=_0x2b02dd;return _0x3cc9c0['positional'](_0x391b28(0x1d6),{'type':'string','description':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.'})[_0x391b28(0xec)](_0x391b28(0x15e),{'type':'boolean','description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})[_0x391b28(0xec)](_0x391b28(0xff),{'type':'boolean','description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})[_0x391b28(0xec)](_0x3d9653['MXJkY'],{'type':_0x3d9653['YWdMb'],'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})['option'](_0x391b28(0xb5),{'type':_0x3d9653[_0x391b28(0x1a3)],'description':_0x3d9653['aSLTt'],'default':![]});},async _0x41236f=>{const _0x447488=_0x2b02dd;await withTelemetry(_0x5cdca8[_0x447488(0x184)],_0x3d917f=>migrateProfile({'profileName':_0x41236f[_0x447488(0x1d6)],'all':_0x41236f['all'],'dryRun':_0x41236f[_0x447488(0xff)],'yes':_0x41236f[_0x447488(0xc0)],'saveCreds':_0x41236f['save-creds']},_0x3d917f));})['command']('config',_0x3d9653['mgZBP'],_0x4b88c3=>{const _0x52ce7b=_0x2b02dd,_0x1331c5={'eFwkJ':'profile','DTqVb':_0x52ce7b(0x11e),'qEAzC':_0x3d9653['pGmGh'],'cGRDE':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','cWlgR':'value','LrjTe':function(_0x3599e8,_0x3b29f6,_0x1ae69e){return _0x3599e8(_0x3b29f6,_0x1ae69e);},'sKNNO':_0x3d9653[_0x52ce7b(0x153)],'AkfBV':_0x52ce7b(0x218)};return _0x4b88c3[_0x52ce7b(0x1e7)](PROFILE_CONFIG_HELP)['command']('set\x20<profile>\x20<key>\x20<value>',_0x3d9653['VORKz'],_0x3fea8a=>{const _0x5419d4=_0x52ce7b;return _0x3fea8a['positional'](_0x1331c5['eFwkJ'],{'type':_0x1331c5[_0x5419d4(0x157)],'description':_0x1331c5[_0x5419d4(0x1f1)],'demandOption':!![]})['positional'](_0x5419d4(0xb7),{'type':'string','description':_0x1331c5[_0x5419d4(0xa3)],'demandOption':!![]})['positional'](_0x1331c5['cWlgR'],{'type':_0x1331c5['DTqVb'],'description':'Config\x20value','demandOption':!![]});},async _0x56864a=>{const _0x5f4949=_0x52ce7b;await withTelemetry(_0x5f4949(0x221),()=>configSet(_0x56864a[_0x5f4949(0xe5)],_0x56864a[_0x5f4949(0xb7)],_0x56864a[_0x5f4949(0x16a)]));})[_0x52ce7b(0x1c3)]('get\x20<profile>\x20<key>',_0x3d9653['LVcgM'],_0x566035=>{const _0x34777a=_0x52ce7b;return _0x566035[_0x34777a(0x1c8)](_0x5cdca8[_0x34777a(0x18b)],{'type':'string','description':_0x5cdca8['UfMKw'],'demandOption':!![]})['positional'](_0x34777a(0xb7),{'type':'string','description':_0x5cdca8['nJivy'],'demandOption':!![]});},async _0x142cdb=>{const _0x2d6248=_0x52ce7b;await withTelemetry(_0x2d6248(0xae),()=>configGet(_0x142cdb['profile'],_0x142cdb[_0x2d6248(0xb7)]));})[_0x52ce7b(0x1c3)](_0x52ce7b(0x155),_0x3d9653[_0x52ce7b(0x1ab)],_0x30d20c=>{const _0x2b2b84=_0x52ce7b;return _0x30d20c['positional'](_0x1331c5[_0x2b2b84(0x1e9)],{'type':_0x2b2b84(0x11e),'description':_0x1331c5[_0x2b2b84(0x1f1)],'demandOption':!![]});},async _0x2a8020=>{const _0x26c393=_0x52ce7b;await _0x1331c5['LrjTe'](withTelemetry,_0x26c393(0x1d0),()=>configList(_0x2a8020[_0x26c393(0xe5)]));})['command']('unset\x20<profile>\x20<key>',_0x52ce7b(0x108),_0x3a2c49=>{const _0x36b29d=_0x52ce7b;return _0x3a2c49[_0x36b29d(0x1c8)](_0x36b29d(0xe5),{'type':_0x1331c5[_0x36b29d(0x157)],'description':_0x1331c5['qEAzC'],'demandOption':!![]})['positional'](_0x1331c5['sKNNO'],{'type':_0x36b29d(0x11e),'description':_0x1331c5[_0x36b29d(0x232)],'demandOption':!![]});},async _0x316ad7=>{await withTelemetry('profile\x20config\x20unset',()=>configUnset(_0x316ad7['profile'],_0x316ad7['key']));})['command']('reset\x20<profile>',_0x3d9653[_0x52ce7b(0x1e0)],_0x1b9934=>{const _0x1e800d=_0x52ce7b;return _0x1b9934['positional'](_0x5cdca8[_0x1e800d(0x18b)],{'type':_0x1e800d(0x11e),'description':_0x5cdca8[_0x1e800d(0x177)],'demandOption':!![]});},async _0x20101d=>{const _0x1fa2a7=_0x52ce7b;await _0x1331c5['LrjTe'](withTelemetry,_0x1fa2a7(0xfa),()=>configReset(_0x20101d[_0x1fa2a7(0xe5)]));})['demandCommand'](0x1,_0x3d9653[_0x52ce7b(0x169)]);})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})[_0x55e20d(0x1c3)]('status','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{const _0xf5709c=_0x55e20d;await withTelemetry(_0xf5709c(0x15b),()=>status());})[_0x55e20d(0x1c3)](_0x3d9653['oaHDd'],_0x3d9653[_0x55e20d(0xe2)],()=>{},async()=>{const _0x252c2b=_0x55e20d;await withTelemetry(_0x3d9653[_0x252c2b(0x147)],()=>update());})['command'](_0x55e20d(0xe6),_0x3d9653[_0x55e20d(0xb9)],()=>{},async()=>{const _0x3b4b94=_0x55e20d;await _0x3d9653[_0x3b4b94(0x131)](withTelemetry,_0x3d9653['Efxmq'],async()=>{const _0x1dc9fb=_0x3b4b94,_0x391348=await getToken();if(!_0x391348)throw new Error(_0x1dc9fb(0x1bb));console[_0x1dc9fb(0x150)](_0x391348);});})[_0x55e20d(0x1c3)]('go',_0x3d9653['fzymT'],_0x43cb11=>{const _0x4428fa=_0x55e20d;return _0x43cb11[_0x4428fa(0xec)]('feature',{'type':'string','description':_0x3d9653[_0x4428fa(0x123)]})[_0x4428fa(0xec)](_0x3d9653[_0x4428fa(0x11d)],{'type':_0x3d9653['qhJzm'],'description':_0x3d9653[_0x4428fa(0x18c)]})[_0x4428fa(0xec)](_0x4428fa(0x1e2),{'type':_0x3d9653['qhJzm'],'description':_0x3d9653[_0x4428fa(0x8c)]})[_0x4428fa(0xec)]('scenario',{'type':'number','description':_0x3d9653['yNDBu']})[_0x4428fa(0xec)]('start-path',{'type':'string','description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})[_0x4428fa(0xec)](_0x3d9653['sjOzf'],{'type':_0x3d9653['qhJzm'],'description':_0x4428fa(0x193)})[_0x4428fa(0xec)]('model',{'type':_0x3d9653[_0x4428fa(0xe9)],'description':_0x3d9653['Hfkvc']})[_0x4428fa(0xec)](_0x3d9653['uoGzn'],{'type':_0x3d9653['YWdMb'],'description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})[_0x4428fa(0xec)](_0x3d9653['mxBbX'],{'type':_0x4428fa(0x11e),'array':!![],'alias':'environment-variable','description':_0x3d9653[_0x4428fa(0x166)]})['option']('debug-outcome',{'type':_0x3d9653['qhJzm'],'hidden':!![],'choices':[_0x4428fa(0x172),'partial',_0x3d9653['pkDGo'],'failed',_0x3d9653['vUQuw']]})['option'](_0x3d9653['bYfsQ'],{'type':_0x3d9653['YWdMb'],'hidden':!![]})[_0x4428fa(0xec)](_0x3d9653[_0x4428fa(0x132)],{'type':'string','hidden':!![]})[_0x4428fa(0xec)](_0x3d9653[_0x4428fa(0x100)],{'type':_0x4428fa(0x11e),'hidden':!![]})['option'](_0x3d9653[_0x4428fa(0x1c2)],{'type':_0x3d9653[_0x4428fa(0xb8)],'hidden':!![]});},async _0x43f53a=>{const _0x20e2d0=_0x55e20d;await _0x3d9653[_0x20e2d0(0x23d)](runGoCommand,_0x43f53a);})[_0x55e20d(0x1c3)](_0x3d9653[_0x55e20d(0x11c)],![],_0x3244ce=>{const _0x1f85b9=_0x55e20d,_0x3fe283={'PDvgj':function(_0x253b18,_0x47fd96,_0x158dcc){return _0x3d9653['raTgO'](_0x253b18,_0x47fd96,_0x158dcc);},'DcoTS':_0x1f85b9(0xa0),'vomiu':'ranger\x20profile\x20encrypt-auth'};return _0x3244ce['command'](_0x1f85b9(0x226),![],_0x2c598c=>{const _0x3d8761=_0x1f85b9;return _0x2c598c[_0x3d8761(0x1c8)]('profile',{'type':_0x3d8761(0x11e),'description':_0x3d9653[_0x3d8761(0x19d)],'demandOption':!![]});},async _0x2626cd=>{const _0x1fa0c2=_0x1f85b9;_0x3fe283[_0x1fa0c2(0x23c)](warnRenamed,_0x3fe283[_0x1fa0c2(0xb0)],_0x3fe283['vomiu']),await authEncrypt(_0x2626cd['profile']);})[_0x1f85b9(0x160)](0x1,_0x1f85b9(0x1fe));},()=>{})['command'](_0x3d9653[_0x55e20d(0x106)],![],_0x380e88=>{const _0x2cf197=_0x55e20d;return _0x380e88[_0x2cf197(0x1c8)]('token',{'type':_0x3d9653['qhJzm'],'description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})['option'](_0x3d9653[_0x2cf197(0x21a)],{'type':_0x3d9653['YWdMb'],'description':_0x3d9653['wEOwk'],'default':![]})[_0x2cf197(0xec)](_0x3d9653[_0x2cf197(0xf9)],{'type':_0x3d9653['qhJzm'],'choices':['user'],'hidden':!![],'description':_0x3d9653[_0x2cf197(0x136)]})['option'](_0x3d9653['vftSY'],{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})[_0x2cf197(0xec)](_0x3d9653['GzUFB'],{'type':_0x3d9653['YWdMb'],'description':_0x3d9653['pWinc'],'default':![]})['option'](_0x3d9653[_0x2cf197(0x151)],{'type':'boolean','description':'Skip\x20authentication','default':![]})[_0x2cf197(0xec)](_0x2cf197(0x12d),{'type':_0x2cf197(0x219),'description':_0x3d9653[_0x2cf197(0x1ae)],'default':![]});},async _0x58f05f=>{const _0x50225d=_0x55e20d;_0x3d9653[_0x50225d(0xe8)](warnRenamed,_0x50225d(0x127),_0x3d9653['fSiRn']),await _0x3d9653[_0x50225d(0x12b)](withTelemetry,_0x3d9653[_0x50225d(0xcf)],_0x4b3061=>start(_0x58f05f['token'],{'skipChromium':_0x58f05f['skip-chromium'],'skipAuth':_0x58f05f[_0x50225d(0x111)],'withDeps':_0x58f05f[_0x50225d(0x12d)],'scope':_0x58f05f['scope'],'url':_0x58f05f['url'],'force':_0x58f05f['force']},_0x4b3061));})[_0x55e20d(0x1c3)](_0x55e20d(0x13a),![],_0x1fc71b=>{const _0x11be3=_0x55e20d;return _0x1fc71b['option'](_0x3d9653[_0x11be3(0x132)],{'type':_0x11be3(0x11e),'description':_0x3d9653['WlHKH']})['option'](_0x3d9653['bGlKz'],{'type':_0x3d9653[_0x11be3(0xe9)],'description':_0x3d9653[_0x11be3(0xac)]})['option'](_0x3d9653['RiVRw'],{'type':_0x3d9653[_0x11be3(0xb8)],'description':_0x11be3(0xf6)})[_0x11be3(0xec)](_0x11be3(0xe5),{'type':'string','hidden':!![]})['option'](_0x3d9653[_0x11be3(0x163)],{'type':'string','hidden':!![]})[_0x11be3(0xec)](_0x3d9653[_0x11be3(0x124)],{'type':_0x3d9653['jNUWN'],'hidden':!![]})['option'](_0x3d9653['hpnKB'],{'type':_0x3d9653['qhJzm'],'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})['option'](_0x11be3(0x117),{'type':_0x11be3(0x11e),'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})['option'](_0x3d9653['GhlmL'],{'type':'string','hidden':!![]})[_0x11be3(0xec)]('headed',{'type':_0x11be3(0x219),'hidden':!![],'default':![]})[_0x11be3(0xec)]('env-var',{'type':'string','array':!![],'alias':_0x3d9653[_0x11be3(0x21e)],'hidden':!![]})[_0x11be3(0xec)](_0x3d9653[_0x11be3(0x1c7)],{'type':_0x3d9653['qhJzm'],'hidden':!![],'choices':[_0x11be3(0x172),_0x11be3(0x12f),'blocked',_0x3d9653[_0x11be3(0x1cb)],_0x11be3(0xe0)]});},async _0xf22d78=>{await runGoCommand(_0xf22d78,!![]);})[_0x55e20d(0x1c3)]('add\x20env\x20<env-name>',![],_0x171753=>{const _0x30b395=_0x55e20d;return _0x171753['positional'](_0x30b395(0x204),{'type':_0x3d9653[_0x30b395(0xe9)],'description':_0x30b395(0x1c1),'demandOption':!![]})[_0x30b395(0xec)]('ci',{'type':_0x3d9653['YWdMb'],'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x3d9653['ZMbhN'],{'type':'boolean','description':_0x3d9653[_0x30b395(0x135)],'default':![]});},async _0x57763a=>{const _0x39cb78=_0x55e20d;warnRenamed(_0x3d9653[_0x39cb78(0x145)],'ranger\x20profile\x20add'),await withTelemetry('add\x20env',_0x5441d5=>addEnv(_0x57763a['env-name'],{'ci':_0x57763a['ci'],'skipAuth':_0x57763a[_0x39cb78(0x111)]},_0x5441d5));})['command']('use\x20<env-name>',![],_0x115ed6=>{const _0x5c4ca2=_0x55e20d;return _0x115ed6['positional'](_0x3d9653[_0x5c4ca2(0xad)],{'type':'string','description':_0x3d9653['jRnpS'],'demandOption':!![]});},async _0x554c30=>{const _0x1ac651=_0x55e20d;_0x3d9653[_0x1ac651(0x131)](warnRenamed,_0x1ac651(0x1ff),'ranger\x20profile\x20use'),await withTelemetry(_0x1ac651(0x1ec),()=>useEnv(_0x554c30['env-name']));})[_0x55e20d(0x1c3)](_0x55e20d(0x217),![],_0x3339fd=>{const _0x2e3dcc=_0x55e20d,_0x17b45e={'nUBMD':'env','ODxuG':_0x2e3dcc(0x11e),'iBMDx':'key','uwoGT':_0x3d9653[_0x2e3dcc(0x1c0)],'lQlCa':_0x3d9653['TziNT'],'wpRuk':_0x3d9653[_0x2e3dcc(0x1fa)],'EUJKF':_0x2e3dcc(0x1d5)};return _0x3339fd[_0x2e3dcc(0x1c3)](_0x3d9653[_0x2e3dcc(0x114)],![],_0x16892b=>{const _0x2ad9a1=_0x2e3dcc;return _0x16892b['positional'](_0x17b45e[_0x2ad9a1(0x164)],{'type':_0x17b45e[_0x2ad9a1(0x183)],'description':_0x2ad9a1(0x20b),'demandOption':!![]})[_0x2ad9a1(0x1c8)](_0x17b45e['iBMDx'],{'type':_0x2ad9a1(0x11e),'description':_0x17b45e['uwoGT'],'demandOption':!![]})[_0x2ad9a1(0x1c8)]('value',{'type':_0x17b45e['ODxuG'],'description':_0x17b45e[_0x2ad9a1(0xfb)],'demandOption':!![]});},async _0xa60a32=>{const _0x1f2947=_0x2e3dcc;warnRenamed(_0x3d9653['YWXnO'],_0x3d9653['hwNFa']),await withTelemetry(_0x3d9653['YZUTG'],()=>configSet(_0xa60a32['env'],_0xa60a32[_0x1f2947(0xb7)],_0xa60a32[_0x1f2947(0x16a)]));})['command'](_0x3d9653['wotfZ'],![],_0x42d293=>{const _0x20f0fe=_0x2e3dcc;return _0x42d293['positional'](_0x17b45e[_0x20f0fe(0x164)],{'type':_0x17b45e['ODxuG'],'description':_0x17b45e[_0x20f0fe(0x186)],'demandOption':!![]})[_0x20f0fe(0x1c8)](_0x17b45e['iBMDx'],{'type':'string','description':_0x17b45e[_0x20f0fe(0x1ca)],'demandOption':!![]});},async _0x2a42b1=>{const _0x49bfee=_0x2e3dcc;warnRenamed(_0x3d9653['znVqk'],_0x3d9653[_0x49bfee(0x228)]),await withTelemetry(_0x3d9653['ODIbq'],()=>configGet(_0x2a42b1['env'],_0x2a42b1[_0x49bfee(0xb7)]));})[_0x2e3dcc(0x1c3)]('list\x20<env>',![],_0x45fc68=>{return _0x45fc68['positional']('env',{'type':'string','description':'Environment\x20name','demandOption':!![]});},async _0x3fe852=>{const _0x4698f1=_0x2e3dcc;warnRenamed(_0x4698f1(0x1d2),_0x4698f1(0x20d)),await withTelemetry('config\x20list',()=>configList(_0x3fe852['env']));})[_0x2e3dcc(0x1c3)]('unset\x20<env>\x20<key>',![],_0x16f58b=>{const _0x32fd26=_0x2e3dcc;return _0x16f58b[_0x32fd26(0x1c8)]('env',{'type':'string','description':_0x17b45e['wpRuk'],'demandOption':!![]})[_0x32fd26(0x1c8)](_0x32fd26(0xb7),{'type':_0x32fd26(0x11e),'description':_0x32fd26(0x218),'demandOption':!![]});},async _0x57404f=>{const _0x3e7765=_0x2e3dcc;warnRenamed(_0x3d9653[_0x3e7765(0x22a)],_0x3d9653[_0x3e7765(0x198)]),await withTelemetry(_0x3d9653['Stajn'],()=>configUnset(_0x57404f[_0x3e7765(0xd5)],_0x57404f['key']));})['demandCommand'](0x1,_0x3d9653['NVEaZ']);})['command'](_0x3d9653[_0x55e20d(0x132)],![],_0x4f634e=>{const _0x2e02dd=_0x55e20d,_0x1de45a={'fCXoO':_0x3d9653[_0x2e02dd(0x191)],'fIkBz':_0x3d9653[_0x2e02dd(0xad)],'SDvdm':'ranger\x20profile\x20update','RBJvk':function(_0x555ec5,_0x4bdf4e,_0x1e4a3e){return _0x555ec5(_0x4bdf4e,_0x1e4a3e);}};return _0x4f634e[_0x2e02dd(0x1c3)]('ls',![],()=>{},async()=>{const _0x279d62=_0x2e02dd;warnRenamed(_0x1de45a[_0x279d62(0x14b)],'ranger\x20profile\x20ls'),await withTelemetry(_0x279d62(0x182),()=>envList());})['command']('update\x20<env-name>',![],_0xa38ec6=>{const _0x3ed2d9=_0x2e02dd;return _0xa38ec6['positional'](_0x1de45a['fIkBz'],{'type':'string','description':_0x3ed2d9(0x231),'demandOption':!![]});},async _0x4b036d=>{const _0x2ca08a=_0x2e02dd;warnRenamed('ranger\x20env\x20update',_0x1de45a[_0x2ca08a(0x137)]),await _0x1de45a[_0x2ca08a(0x1bc)](withTelemetry,_0x2ca08a(0xf4),_0x346581=>updateEnv(_0x4b036d['env-name'],_0x346581));})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20env\x20subcommand');})[_0x55e20d(0x1c3)](_0x55e20d(0xee),![],_0x2839a3=>{const _0x48664c=_0x55e20d,_0x2f72cd={'uLTvv':_0x48664c(0xd8),'DlcGX':_0x3d9653['JHjKw'],'XioAS':_0x48664c(0xa8),'upCet':_0x48664c(0x9a),'byVpX':_0x3d9653[_0x48664c(0x90)],'IowDw':function(_0xcfc7bb,_0x199f1c,_0x9999b0,_0x167a11){return _0xcfc7bb(_0x199f1c,_0x9999b0,_0x167a11);},'JipRO':_0x3d9653[_0x48664c(0xf5)],'DCSXs':_0x3d9653['wlCjD'],'eyChR':_0x3d9653['XiJJU'],'Qgroa':_0x3d9653[_0x48664c(0x1a3)],'dDQDu':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','zMLAG':_0x48664c(0x1c6),'ulxaV':'number','WHyix':_0x3d9653[_0x48664c(0x14a)],'gDfZk':_0x3d9653['BLIYl'],'wFqdb':_0x48664c(0x11e),'JbWtY':_0x48664c(0x180),'FrFWK':_0x48664c(0x156),'zFkNo':function(_0x3e6b0b,_0x4daac8,_0x491d7d){const _0x38663f=_0x48664c;return _0x3d9653[_0x38663f(0xe8)](_0x3e6b0b,_0x4daac8,_0x491d7d);},'sOZoP':_0x3d9653['jOdSN'],'DTbgu':_0x48664c(0x1a8),'pjSTI':'ranger\x20feature\x20delete','UtgjL':function(_0x5dc45d,_0x30da81,_0xeb6114){return _0x5dc45d(_0x30da81,_0xeb6114);},'zpASc':_0x3d9653['Hpaor'],'lWWNx':'feature\x20restore'};return _0x2839a3['command'](_0x3d9653['CEFQo'],![],_0x172532=>{const _0x123f75=_0x48664c;return _0x172532['positional']('name',{'type':_0x123f75(0x11e),'description':'Feature\x20review\x20name','demandOption':!![]})[_0x123f75(0xec)](_0x2f72cd[_0x123f75(0x22e)],{'type':'string','alias':'d','description':_0x123f75(0xa2)})[_0x123f75(0xec)]('checklist',{'type':_0x123f75(0x9a),'alias':'c','description':_0x2f72cd['DlcGX']})['option'](_0x2f72cd['XioAS'],{'type':_0x2f72cd['upCet'],'hidden':!![]});},async _0x5aa50f=>{const _0x2b8d05=_0x48664c;warnRenamed(_0x2f72cd['byVpX'],'ranger\x20create'),_0x2f72cd[_0x2b8d05(0x1f3)](warnFlagRenamed,_0x2f72cd[_0x2b8d05(0x21b)],_0x2f72cd[_0x2b8d05(0xf7)],_0x2f72cd[_0x2b8d05(0x9c)]);const _0x444d98=_0x5aa50f[_0x2b8d05(0xa8)]||_0x5aa50f['checklist'];await withTelemetry('feature\x20create',()=>featureCreate(_0x5aa50f[_0x2b8d05(0x1b0)],{'description':_0x5aa50f[_0x2b8d05(0xd8)],'scenarios':_0x444d98}));})['command'](_0x48664c(0xd1),![],_0x2572f0=>{const _0x14443f=_0x48664c;return _0x2572f0['option'](_0x14443f(0x96),{'type':_0x2f72cd['Qgroa'],'description':_0x2f72cd[_0x14443f(0x20e)]})['option'](_0x2f72cd[_0x14443f(0x10c)],{'type':_0x2f72cd['ulxaV'],'alias':'l','description':_0x2f72cd[_0x14443f(0x16c)],'default':0xa})['option']('offset',{'type':_0x2f72cd['ulxaV'],'alias':'o','description':_0x14443f(0xc1),'default':0x0})[_0x14443f(0xec)](_0x2f72cd['gDfZk'],{'type':_0x14443f(0x219),'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x24326b=>{const _0x50e552=_0x48664c;warnRenamed(_0x50e552(0x17d),'ranger\x20list'),await withTelemetry(_0x50e552(0xd9),()=>featureList({'currentBranch':_0x24326b[_0x50e552(0x96)],'limit':_0x24326b['limit'],'offset':_0x24326b['offset'],'includeDeleted':_0x24326b['include-deleted']}));})['command'](_0x3d9653[_0x48664c(0x216)],![],_0x444357=>{const _0x6ea7b=_0x48664c;return _0x444357[_0x6ea7b(0x1c8)]('id',{'type':_0x2f72cd['wFqdb'],'description':_0x2f72cd[_0x6ea7b(0x15a)]});},async _0x4c8364=>{const _0x321d52=_0x48664c;_0x3d9653[_0x321d52(0x1ad)](warnRenamed,_0x321d52(0x192),_0x321d52(0x16d)),await _0x3d9653[_0x321d52(0x12c)](withTelemetry,_0x321d52(0x236),()=>featureShow(_0x4c8364['id']));})['command'](_0x3d9653[_0x48664c(0xc7)],![],_0x4b19a9=>{const _0x5d77cc=_0x48664c;return _0x4b19a9['positional']('id',{'type':_0x5d77cc(0x11e),'description':_0x3d9653['Dzgic']});},async _0x2b1821=>{const _0x589e17=_0x48664c;warnRenamed(_0x3d9653['cjttu'],_0x3d9653[_0x589e17(0x1b9)]),await withTelemetry(_0x3d9653[_0x589e17(0x1f6)],()=>featureResume(_0x2b1821['id']));})[_0x48664c(0x1c3)](_0x48664c(0x18a),![],_0x12224a=>{const _0x4ebae5=_0x48664c;return _0x12224a[_0x4ebae5(0x1c8)](_0x4ebae5(0xd8),{'type':_0x4ebae5(0x11e),'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':_0x2f72cd['wFqdb'],'description':_0x2f72cd['FrFWK']});},async _0x20c88d=>{const _0x250987=_0x48664c;_0x2f72cd[_0x250987(0xb1)](warnRenamed,_0x2f72cd[_0x250987(0x1e4)],_0x250987(0x165)),await _0x2f72cd['zFkNo'](withTelemetry,'feature\x20add-checklist-item',()=>featureAddScenario(_0x20c88d['description'],_0x20c88d['id']));})['command'](_0x48664c(0x237),![],_0x5e826c=>{const _0x4709c3=_0x48664c;return _0x5e826c[_0x4709c3(0x1c8)]('id',{'type':'string','description':_0x2f72cd[_0x4709c3(0x1f7)]});},async _0x11640c=>{const _0x58cd85=_0x48664c;warnRenamed('ranger\x20feature\x20get-feedback',_0x2f72cd[_0x58cd85(0x1d4)]),await withTelemetry('feature\x20get-feedback',()=>featureGetReview(_0x11640c['id']));})['command'](_0x3d9653[_0x48664c(0x176)],![],_0x26fcd4=>{return _0x26fcd4['positional']('id',{'type':_0x2f72cd['wFqdb'],'description':'Feature\x20review\x20ID'});},async _0xb83ca2=>{const _0x233374=_0x48664c;_0x2f72cd[_0x233374(0xb1)](warnRenamed,_0x2f72cd[_0x233374(0x181)],'ranger\x20delete'),await _0x2f72cd[_0x233374(0xd2)](withTelemetry,_0x233374(0x88),()=>featureDelete(_0xb83ca2['id']));})[_0x48664c(0x1c3)](_0x3d9653[_0x48664c(0x109)],![],_0xbeb9d6=>{const _0x15f537=_0x48664c;return _0xbeb9d6['positional']('id',{'type':'string','description':_0x15f537(0x238),'demandOption':!![]});},async _0x5ef3c6=>{const _0x458199=_0x48664c;_0x2f72cd[_0x458199(0xd2)](warnRenamed,_0x458199(0x1ee),_0x2f72cd['zpASc']),await _0x2f72cd[_0x458199(0xb1)](withTelemetry,_0x2f72cd['lWWNx'],()=>featureRestore(_0x5ef3c6['id']));})['demandCommand'](0x1,_0x48664c(0xbe));})[_0x55e20d(0x1c3)](_0x3d9653['TQgdk'],![],_0x380c96=>{const _0x5958bf=_0x55e20d,_0x2fb459={'AzsMY':_0x3d9653[_0x5958bf(0x1da)],'MsomM':function(_0x426772,_0x35db79,_0x1e77da){return _0x426772(_0x35db79,_0x1e77da);},'FSzMg':_0x5958bf(0x159),'fzKUj':_0x5958bf(0x14d)};return _0x380c96['command'](_0x3d9653[_0x5958bf(0x21f)],'Enable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x2420b2=>{const _0x353a01=_0x5958bf;return _0x2420b2['option'](_0x2fb459['AzsMY'],{'type':_0x353a01(0x11e),'description':_0x353a01(0x14d)});},async _0x486597=>{const _0x265d89=_0x5958bf;await _0x2fb459[_0x265d89(0x10b)](withTelemetry,_0x2fb459[_0x265d89(0x212)],()=>hook('enable',_0x486597[_0x265d89(0x1c9)]));})[_0x5958bf(0x1c3)](_0x3d9653[_0x5958bf(0xd7)],_0x3d9653['Sfair'],_0x3dce50=>{const _0x5293cb=_0x5958bf;return _0x3dce50['option'](_0x5293cb(0x1c9),{'type':'string','description':_0x2fb459['fzKUj']});},async _0x27edec=>{const _0x2da4a9=_0x5958bf;await withTelemetry('hook:disable',()=>hook(_0x2da4a9(0x214),_0x27edec['session-id']));})[_0x5958bf(0xec)]('name',{'type':_0x3d9653[_0x5958bf(0xe9)],'description':_0x3d9653['juyta']})['option'](_0x3d9653['lpnlM'],{'type':'string','description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x278a10=>{const _0x2c199d=_0x55e20d;_0x278a10['name']&&await _0x3d9653[_0x2c199d(0x19a)](hook,_0x278a10[_0x2c199d(0x1b0)],_0x278a10[_0x2c199d(0x1c9)]);})[_0x55e20d(0x160)](0x1,_0x3d9653['NpKpz'])['strictCommands']()[_0x55e20d(0x19b)](async(_0x2fc3b2,_0x2cd574,_0x224ee6)=>{const _0x70d1a1=_0x55e20d,_0x4c900b=_0x3d9653['smcle'](sanitizeArgs,process[_0x70d1a1(0x1f5)][_0x70d1a1(0x146)](0x2)),_0x53e0d4=getErrorType(_0x2fc3b2,_0x2cd574);if(_0x2fc3b2&&_0x2fc3b2['includes']('Unknown\x20command')){const _0x20f518=process[_0x70d1a1(0x1f5)][0x2];console[_0x70d1a1(0x20c)](_0x70d1a1(0x1a6)+_0x20f518),console['error'](_0x3d9653['Gercs']);}else{if(_0x2fc3b2)console[_0x70d1a1(0x20c)]('\x0a'+_0x2fc3b2+'\x0a');else _0x2cd574&&console['error'](_0x70d1a1(0x1e8)+_0x2cd574['message']+'\x0a');}await logDesirePath({'rawCommand':_0x4c900b,'errorMessage':_0x2fc3b2||_0x2cd574?.['message'],'errorType':_0x53e0d4});const _0x5c7f1b=getCurrentCollector();_0x5c7f1b&&await _0x5c7f1b[_0x70d1a1(0x167)](_0x2cd574||new Error(_0x3d9653[_0x70d1a1(0xde)](_0x2fc3b2,'Unknown\x20error'))),process[_0x70d1a1(0x1a9)](0x1);})['epilogue'](_0x3d9653['dZHAv'](_0x3d9653['dEAbH'],_0x3d9653['XwOeK'])+_0x3d9653[_0x55e20d(0x133)])[_0x55e20d(0x1bd)]()[_0x55e20d(0x152)](_0x3d9653['FJcAr'],'h');}process[_0x2aca60(0xd5)][_0x2aca60(0xdb)]!==_0x2aca60(0xf3)&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()[_0x2aca60(0xd0)]());