@ranger-testing/ranger-cli 3.0.1-alpha.aab0a1c-26 → 3.0.1-alpha.d9f4572-27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/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/playwrightCli.js +1 -1
  60. package/build/commands/utils/profileMessages.js +1 -1
  61. package/build/commands/utils/profileSetupBanner.js +1 -1
  62. package/build/commands/utils/projectsConfig.js +1 -1
  63. package/build/commands/utils/rangerConfig.js +1 -1
  64. package/build/commands/utils/rangerRoot.js +1 -1
  65. package/build/commands/utils/resolveProfileContext.js +1 -1
  66. package/build/commands/utils/resolveProfileUrl.js +1 -1
  67. package/build/commands/utils/retry.js +1 -1
  68. package/build/commands/utils/sessionCache.js +1 -1
  69. package/build/commands/utils/settings.js +1 -1
  70. package/build/commands/utils/skillContent.js +1 -1
  71. package/build/commands/utils/skills.js +1 -1
  72. package/build/commands/utils/stitchWebmFiles.js +1 -1
  73. package/build/commands/utils/telemetry.js +1 -1
  74. package/build/commands/utils/tokenRefresh.js +1 -1
  75. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  76. package/build/commands/utils/userApi.js +1 -1
  77. package/build/commands/utils/version.js +1 -1
  78. package/build/commands/verifyFeature.js +1 -1
  79. package/build/commands/verifyFeatureCli.js +1 -1
  80. package/build/commands/verifyFeatureNovaCli.js +1 -1
  81. package/package.json +1 -1
package/build/cli.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const _0x1ff339=_0x3142;(function(_0x38f889,_0x3fbd21){const _0x3ea1a3=_0x3142,_0x21e58e=_0x38f889();while(!![]){try{const _0x32744f=parseInt(_0x3ea1a3(0x121))/0x1*(-parseInt(_0x3ea1a3(0xc6))/0x2)+-parseInt(_0x3ea1a3(0xc5))/0x3*(-parseInt(_0x3ea1a3(0x227))/0x4)+parseInt(_0x3ea1a3(0x17a))/0x5*(parseInt(_0x3ea1a3(0xa7))/0x6)+parseInt(_0x3ea1a3(0x85))/0x7*(parseInt(_0x3ea1a3(0x97))/0x8)+-parseInt(_0x3ea1a3(0x93))/0x9+-parseInt(_0x3ea1a3(0x135))/0xa*(parseInt(_0x3ea1a3(0x1d0))/0xb)+-parseInt(_0x3ea1a3(0x9c))/0xc*(parseInt(_0x3ea1a3(0x1a9))/0xd);if(_0x32744f===_0x3fbd21)break;else _0x21e58e['push'](_0x21e58e['shift']());}catch(_0x49b098){_0x21e58e['push'](_0x21e58e['shift']());}}}(_0x247e,0x3d072));import _0x174b65 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x5298e9=_0x3142,_0x3abb65={'oCgNU':function(_0x2f6d67,_0x477f6b,_0x416c2a){return _0x2f6d67(_0x477f6b,_0x416c2a);},'iyJkW':function(_0x4a4ac8,_0x13a0b7){return _0x4a4ac8(_0x13a0b7);},'KVGfC':'.env'};let _0x410f1d=process['cwd']();const _0x4d6467=parse(_0x410f1d)['root'];while(_0x410f1d!==_0x4d6467){if(existsSync(_0x3abb65[_0x5298e9(0xe1)](join,_0x410f1d,_0x5298e9(0x1b0)))||_0x3abb65[_0x5298e9(0xd6)](existsSync,join(_0x410f1d,_0x3abb65[_0x5298e9(0x151)])))return _0x410f1d;_0x410f1d=dirname(_0x410f1d);}return process['cwd']();}_0x174b65[_0x1ff339(0xd0)]({'path':join(findProjectRoot(),'.env')});import _0x1d7021 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{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';function _0x3142(_0x16551d,_0x5eeab8){_0x16551d=_0x16551d-0x74;const _0x247e0f=_0x247e();let _0x3142cb=_0x247e0f[_0x16551d];return _0x3142cb;}import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';function _0x247e(){const _0x40b3cf=['OFYxD','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','jVcAs','SJQdU','Install\x20Chromium\x20browser\x20binary','value','token','add-scenario\x20<description>','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','CAppB','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','status','.\x20[','FSaSp','blocked','Print\x20the\x20current\x20CLI\x20access\x20token','Zqodc','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','ranger\x20profile\x20use','KiLwt','help','GDutP','option','config\x20set','restore','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','all','OHMgG','RKTQj','debug-address-comments','GSwnT','setup:profiles','5523505yOeAZr','ceYyI','nfnPE','setup:deps','test_output','xBdYf','SyRia','.ranger','xiUsF','profile\x20config\x20unset','Yzigl','JajEL','save-creds','Reason:\x20','DDCxa','NODE_ENV','allow-insecure-localhost','profile\x20encrypt-auth','boolean','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','repeat','reset\x20<profile>','resume\x20[id]','Diwed','ypkTj','RulEw','JAncs','foaeQ','Config\x20value','tokenOrSubcommand','--scenario','cnLiL','bJFxW','\x20is\x20no\x20longer\x20supported.\x20','argv','ranger\x20setup','Initialize\x20Ranger\x20in\x20your\x20project','OxnRf','QLquY','451pNsaup','eGdFl','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.','WKVqu','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','mCOjG','RANGER_PROFILE','xaxMB','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','log','ranger\x20verify-feature','hIFjD','encrypt-auth\x20<profile>','summary','VnFBz','zCUqB','JoBGV','You\x20must\x20specify\x20a\x20profile\x20subcommand','\x20FAILED','ZXKXm','Unknown\x20command','yes','checklist','cxWJL','url','Cloud\x20profile\x20name','yDTVo','xBATX','includes','Alias\x20for\x20--mcp-bootstrap','exit','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','RLlUN','Mbpmb','ranger\x20create','demandCommand','profile\x20config\x20list','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','WZVdO','XOIoN','mcp-bootstrap','ranger\x20profile\x20config\x20set','EwtuS','scenario','Feature\x20review\x20ID\x20to\x20restore','user','feature\x20get-feedback','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.','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','GLcjK','force','show\x20[id]','Manage\x20profile\x20configuration','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','disable','command','pskBP','message','AGivl','evaluation','lBrEg','FraDW','TkeFm','resFc','MSQkI','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','current-branch','number','opencode','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','XLEcI','JzSlM','GQSYS','fail','kTeLx','FyrAj','wZxDM','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','report','trFHA','ranger\x20add\x20env','lEzSr','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','name','Feature\x20review\x20ID','setup-header','Environment\x20name','353076PpwgTc','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','DDeOC','strictCommands','Fwtyf','VhKfd','profile\x20config\x20reset','forEach','lwNZr','unknown\x20error','claude','nYsVn','ufsJz','Scenario\x20number\x20to\x20edit\x20(1-based)','ranger\x20feature\x20list','BNywo','bljWA','skip-auth','zerNt','rBcqP','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','dQafN','xgZCJ','iBRYt','jByLy','WHrZs','Name\x20of\x20the\x20environment','list\x20<env>','cRHcF','LHsWa','vmXgX','kyezA','update','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','2497908lKKvsr','get-review','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','positional','WOujz','YPkvo','scope','yIBXq','scUYC','AiVws','Evaluation:\x20','RcDPs','usage','profiles','786456tbiPAd','Install\x20skills\x20for\x20OpenCode','pQuzm','skip-chromium','8VZvMbM','mUXrj','failed','OzNGa','NlStO','12mWMcIa','zltHF','use','start','profile-name','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','session-id','wQBRA','delete\x20[id]','You\x20must\x20specify\x20a\x20config\x20subcommand','include-deleted','6wbNZQz','Set\x20up\x20a\x20local\x20browser\x20profile','GWTyG','JoUDX','NTSbd','ranger\x20resume','jokqw','add\x20<profile-name>','Set\x20a\x20config\x20value','profile\x20update','ranger\x20config\x20unset','clean','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','BNTsP','LLeHs','kULaH','THPgX','soRZZ','iYRJb','start-path','Skip\x20the\x20deletion\x20confirmation\x20prompt.','Name\x20of\x20the\x20profile\x20to\x20update','issues','qcuXn','Skip\x20browser\x20authentication','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','\x20VERIFIED','oJyrL','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','XRyVP','15MULaEt','2EzYmvM','CDqJU','Authenticate\x20via\x20MCP\x20proxy','\x0aUnknown\x20command:\x20','qrpSM','mqFOr','JTLlT','incomplete','feature\x20create','TBZkw','config','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','limit','item','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','print-access-token','iyJkW','Feature\x20review\x20name','setup:login','blkDS','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','aPTot','cvJoD','fONGl','awwRb','ranger\x20feature\x20show','pszxA','oCgNU','login','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','dry-run','Restore\x20a\x20soft-deleted\x20feature\x20review','config\x20list','config\x20unset','unset\x20<env>\x20<key>','Config\x20key','use\x20<profile-name>','parse','\x27.\x20Session\x20saved.','ranger\x20use','kpAwV','Number\x20of\x20feature\x20reviews\x20to\x20skip','FfFOH','edit-scenario\x20<description>','rBSQK','Switch\x20to\x20using\x20a\x20specific\x20profile','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','get-feedback\x20[id]','project','REHmv','Svulv','trackCommandError','partial','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Bwvsg','fVaMr','profile','LZYxJ','update\x20<profile-name>','ranger\x20profile\x20config\x20get','vQJBh','hGSoy','WAdGz','model','Config\x20key\x20to\x20remove','XcqeO','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','ranger\x20env\x20ls','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','MBHPs','pyDRB','base-url','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','Jtupb','with-deps','skillup','TKXWg','delete\x20<profile-name>','add\x20env\x20<env-name>','ranger\x20profile\x20add','KrXEr','startsWith','cdp-endpoint','\x20PARTIAL','List\x20all\x20feature\x20reviews','ZKiNq','htQfX','list\x20<profile>','TqyVA','353611KbnyoP','Install\x20OS-level\x20dependencies\x20for\x20Chromium','Remove\x20a\x20config\x20value','array','xykFi','Example:\x20ranger\x20create\x20my-feature','OjCyN','key','ranger\x20profile\x20update','cmbXW','mVqIt','env-name','QOpji','deps','add\x20env','list','LOtXB','start\x20[token]','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','qRgnU','5000kEGKNY','aAMBE','List\x20all\x20profiles','Scenario\x20description','GmzyG','Khhoz','mcp','offset','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','CVfLA','UVvZs','hWbav','Base\x20URL\x20of\x20the\x20running\x20app','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','MhNLV','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','organizationName','hook','UPhiy','not_configured','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','setup-ci\x20<token>','env','rUsHv','KwJiz','cxUmy','UduAu','KVGfC','ranger','Ranger\x20API\x20token\x20(rngr_...)','error','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','bxqyV','success','krmrx','yzpac','Add\x20profile\x20configuration','ranger\x20list','--notes','task','verified','CkkHj','CGvIY','KVxGM','kmINi','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','OjWIn','feature','string','Install\x20scope\x20for\x20skills','jgmFE','--checklist','\x20\x20https://docs.ranger.net\x0a','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','VlPHB','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','description','dtqHd','add-scenario','PUKUa','Profile\x20name','FPbri','ItUAl','tzhYC','headed','fnkka','Authenticate\x20with\x20Ranger','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','1690805wMhsNj','xqCOT','GWQvn','YTxnV','Ranger\x20API\x20token','Feature\x20review\x20description','cDPHD','feature\x20show','PCJCZ','\x20BLOCKED','Skip\x20authentication','json','Bhjmd','QhAaw','yxjzO'];_0x247e=function(){return _0x40b3cf;};return _0x247e();}import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x437137=>{const _0x57c696=_0x1ff339,_0x3fa0f1={'hSdOu':function(_0x524bae){return _0x524bae();}},_0x45d0be=_0x3fa0f1['hSdOu'](getCurrentCollector);_0x45d0be&&await _0x45d0be[_0x57c696(0xfa)](_0x437137),process['exitCode']=0x1;});const rawArgs=process[_0x1ff339(0x1cb)]['slice'](0x2),TOP_LEVEL_HELP=_0x1ff339(0x1d2),PROFILE_HELP=_0x1ff339(0x16d),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(_0x20cfda,_0x4d9dfe){console['error']('\x0a'+_0x20cfda+'\x20is\x20now\x20'+_0x4d9dfe+'\x0a');}function argUsed(_0x4b8be8){const _0x52c288=_0x1ff339;return rawArgs['some'](_0x2d4a0b=>_0x2d4a0b===_0x4b8be8||_0x2d4a0b[_0x52c288(0x119)](_0x4b8be8+'='));}function warnFlagRenamed(_0x53271f,_0x5a8013,_0x24fad6){const _0x1705ef=_0x1ff339,_0x256671={'cRHcF':function(_0x577e4f,_0xf02e08){return _0x577e4f(_0xf02e08);}};_0x256671[_0x1705ef(0x7f)](argUsed,_0x5a8013)&&warnRenamed(_0x53271f+'\x20'+_0x5a8013,_0x53271f+'\x20'+_0x24fad6);}async function runGoCommand(_0x458d25,_0x1bd147=![]){const _0x35d38a=_0x1ff339,_0xf7aae={'SADlM':function(_0x4fe47c,_0x1d0a36,_0x1857ca){return _0x4fe47c(_0x1d0a36,_0x1857ca);},'GSwnT':'ranger\x20go','olYFw':function(_0x4be7d2,_0x13d777,_0x258294,_0x24a4e6){return _0x4be7d2(_0x13d777,_0x258294,_0x24a4e6);},'pTEyV':'--profile','pVlNf':'--task','krmrx':_0x35d38a(0x1c7),'EwEML':function(_0x246f18){return _0x246f18();},'dHnhp':function(_0x1e5ae2,_0x40b34e){return _0x1e5ae2(_0x40b34e);},'FwIXf':'start-path','PnWwa':_0x35d38a(0x10f),'KiLwt':'debug-outcome','KrvVk':'debug-address-comments','XLEcI':function(_0x179f0e,_0x300fbd){return _0x179f0e===_0x300fbd;},'SNknC':_0x35d38a(0x183),'PUKUa':'\x0aIssues:'};_0x1bd147&&_0xf7aae['SADlM'](warnRenamed,_0x35d38a(0x1da),_0xf7aae['GSwnT']);_0xf7aae['olYFw'](warnFlagRenamed,_0xf7aae[_0x35d38a(0x1a7)],'--env',_0xf7aae['pTEyV']),_0xf7aae['olYFw'](warnFlagRenamed,'ranger\x20go',_0xf7aae['pVlNf'],_0x35d38a(0x15c)),warnFlagRenamed('ranger\x20go','--item',_0xf7aae[_0x35d38a(0x158)]);const _0x42b21b=await loadRangerConfig(),_0x1d451a=_0xf7aae['EwEML'](isByokEnabled),_0x105b93=_0x458d25[_0x35d38a(0x107)],_0x1386a6=_0x42b21b['model'],_0x565295=await _0xf7aae['dHnhp'](verifyFeature,{'featureId':_0x458d25[_0x35d38a(0x165)],'profile':_0x458d25[_0x35d38a(0x100)]??_0x458d25[_0x35d38a(0x14c)]??process[_0x35d38a(0x14c)][_0x35d38a(0x1d6)],'notes':_0x458d25['notes']??_0x458d25[_0x35d38a(0x15d)],'scenario':_0x458d25['scenario']??_0x458d25['item'],'startPath':_0x458d25[_0xf7aae['FwIXf']],'baseUrl':_0x458d25[_0xf7aae['PnWwa']],'debugOutcome':_0x458d25[_0xf7aae[_0x35d38a(0x19c)]],'debugAddressComments':_0x458d25[_0xf7aae['KrvVk']],'headed':_0x458d25['headed'],'byokEnabled':_0x1d451a,'flagVerifyModel':_0x105b93,'configVerifyModel':_0x1386a6});console[_0x35d38a(0x1d9)]('\x0a'+'='['repeat'](0x3c)),console[_0x35d38a(0x1d9)](_0xf7aae['XLEcI'](_0x565295['evaluation'],'verified')?_0x35d38a(0xc1):_0x565295[_0x35d38a(0x20b)]===_0x35d38a(0xcd)?'\x20INCOMPLETE':_0x565295[_0x35d38a(0x20b)]===_0x35d38a(0xfb)?_0x35d38a(0x11b):_0xf7aae[_0x35d38a(0x216)](_0x565295['evaluation'],'blocked')?_0xf7aae['SNknC']:_0x35d38a(0x1e2)),console[_0x35d38a(0x1d9)]('='[_0x35d38a(0x1bd)](0x3c)),console['log']('Summary:\x20'+_0x565295[_0x35d38a(0x1dd)]),console['log'](_0x35d38a(0x8f)+_0x565295['evaluation']),console['log'](_0x35d38a(0x1b6)+_0x565295['evaluationReason']),_0x565295['issues']?.['length']&&(console[_0x35d38a(0x1d9)](_0xf7aae[_0x35d38a(0x171)]),_0x565295[_0x35d38a(0xbd)][_0x35d38a(0x22e)]((_0x43ba8b,_0x2651ca)=>{const _0x2c3089=_0x35d38a;console['log']('\x0a'+(_0x2651ca+0x1)+_0x2c3089(0x195)+_0x43ba8b['severity']+']\x20'+_0x43ba8b['description']);})),process[_0x35d38a(0x1ee)](_0x565295['evaluation']===_0x35d38a(0x15e)?0x0:0x1);}export function buildParser(_0x25408e){const _0x2f37f6=_0x1ff339,_0x15aa66={'VPywp':_0x2f37f6(0x223),'AQNfC':_0x2f37f6(0xd7),'aftae':function(_0x3dd6e6,_0x1f48b4){return _0x3dd6e6+_0x1f48b4;},'XcqeO':function(_0x49efe5,_0xa057a0,_0x2d4aa5,_0x440962){return _0x49efe5(_0xa057a0,_0x2d4aa5,_0x440962);},'bPyya':_0x2f37f6(0x1c7),'ftOnE':function(_0x16abec,_0x19492a,_0x296d0b){return _0x16abec(_0x19492a,_0x296d0b);},'xBATX':'create','mrkWL':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','oJyrL':'limit','yDTVo':_0x2f37f6(0x213),'YPkvo':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','wZxDM':_0x2f37f6(0xa6),'QLquY':'boolean','pyDRB':'Include\x20soft-deleted\x20feature\x20reviews','CGvIY':_0x2f37f6(0x130),'trFHA':_0x2f37f6(0x166),'EyndM':'show','VKOCE':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','rUsHv':function(_0x1bd50d,_0x4b8e0e,_0x3295bb){return _0x1bd50d(_0x4b8e0e,_0x3295bb);},'FbCMk':_0x2f37f6(0x16e),'hajhm':_0x2f37f6(0x138),'hgfgv':function(_0x862a90,_0x33be4e,_0x1affab){return _0x862a90(_0x33be4e,_0x1affab);},'sTdqO':_0x2f37f6(0x1fb),'sTIUE':_0x2f37f6(0x234),'cnLiL':_0x2f37f6(0xb3),'Mbpmb':function(_0x5bc073,_0x53934b,_0x3ccb62){return _0x5bc073(_0x53934b,_0x3ccb62);},'bDvmQ':'edit-scenario','JAncs':_0x2f37f6(0x224),'MhNLV':'exclude-scenario','kTeLx':'array','PCJCZ':_0x2f37f6(0x1a1),'jByLy':_0x2f37f6(0x215),'EwtuS':'skip-auth','OFYxD':_0x2f37f6(0x122),'QVKdU':'scope','YFuLW':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','mCOjG':'force','QqPty':_0x2f37f6(0x1a2),'fnkka':'opencode','GWTyG':_0x2f37f6(0xfd),'fONGl':'allow-insecure-localhost','RRjPJ':_0x2f37f6(0x10a),'tzhYC':_0x2f37f6(0x1f8),'fzzpf':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','OzNGa':_0x2f37f6(0x13b),'IEwRX':_0x2f37f6(0x1ed),'WvOQq':_0x2f37f6(0x1bc),'cvJoD':function(_0x89de68,_0x59ade7,_0xad892b){return _0x89de68(_0x59ade7,_0xad892b);},'soRZZ':_0x2f37f6(0x1ac),'rBcqP':function(_0x1a4be6,_0x28c0e3){return _0x1a4be6(_0x28c0e3);},'yzpac':_0x2f37f6(0x1fd),'FfFOH':_0x2f37f6(0x141),'AooOT':function(_0x4156ee,_0x31c5e3){return _0x4156ee+_0x31c5e3;},'qhBqN':_0x2f37f6(0x1a8),'foaeQ':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','NFRMO':_0x2f37f6(0x1a3),'KVxGM':_0x2f37f6(0x12e),'JoUDX':_0x2f37f6(0x18d),'cxWJL':_0x2f37f6(0x178),'BNywo':'skills','Svulv':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','bdgio':_0x2f37f6(0xa8),'WrZWU':'skip-chromium','Diwed':'url','dctTS':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','OOvHm':_0x2f37f6(0x18a),'yIBXq':'with-deps','Fwtyf':'token','GDutP':'API\x20token','HhBku':'Ranger\x20API\x20token','LLeHs':_0x2f37f6(0x100),'rkUau':_0x2f37f6(0x1f5),'qFHuL':'setup-ci','hxbqz':'project','awwRb':_0x2f37f6(0x167),'kvyug':_0x2f37f6(0x113),'vmXgX':'clean','lwNZr':'profile-name','KwJiz':_0x2f37f6(0x1e5),'pPkKV':_0x2f37f6(0xbb),'lQQra':function(_0x2bbd7e,_0x2c7989,_0xda993b){return _0x2bbd7e(_0x2c7989,_0xda993b);},'pQuzm':'profile\x20delete','JzSlM':_0x2f37f6(0x1ba),'WKVqu':_0x2f37f6(0x1e9),'qeWUS':function(_0x2baba9,_0xa76c6a,_0x404d28){return _0x2baba9(_0xa76c6a,_0x404d28);},'RcDPs':'safe-mode','VhKfd':_0x2f37f6(0x1d8),'RWEkY':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','xgZCJ':_0x2f37f6(0xb0),'hIFjD':function(_0x2c110a,_0x4b7158){return _0x2c110a||_0x4b7158;},'CVfLA':_0x2f37f6(0xe4),'LOtXB':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','LHsWa':'Skip\x20interactive\x20confirmation\x20prompts.','RLlUN':_0x2f37f6(0x172),'ncIMI':'get\x20<profile>\x20<key>','SJQdU':_0x2f37f6(0xae),'FraDW':_0x2f37f6(0x15a),'resFc':_0x2f37f6(0xf3),'dtqHd':_0x2f37f6(0x115),'NlStO':_0x2f37f6(0x1dc),'HPArb':_0x2f37f6(0x137),'yxjzO':'Update\x20authentication\x20for\x20an\x20existing\x20profile','NTSbd':_0x2f37f6(0xd0),'xykFi':_0x2f37f6(0x1e1),'FioKt':_0x2f37f6(0x194),'cxUmy':function(_0x23220a,_0x4213c7,_0x5e9ea9){return _0x23220a(_0x4213c7,_0x5e9ea9);},'WOujz':'update','AGivl':'feature','TBZkw':'Optional\x20feature\x20ID','LRrcE':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','CAppB':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','gKeyk':'Scenario\x20index\x20(1-based)','xBdYf':_0x2f37f6(0x144),'hWbav':'base-url','zVibz':_0x2f37f6(0x155),'kyezA':_0x2f37f6(0x107),'clBeg':_0x2f37f6(0x1ff),'QdqwE':_0x2f37f6(0x176),'aPTot':_0x2f37f6(0x200),'CkkHj':'partial','XluFA':'failed','cdemQ':_0x2f37f6(0xcd),'zltHF':'item','RKTQj':function(_0x92c2d8,_0x528e0f,_0x49ba01){return _0x92c2d8(_0x528e0f,_0x49ba01);},'VlPHB':'ranger\x20auth\x20encrypt','SJHaj':'encrypt\x20<profile>','hwmSP':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','GmMty':function(_0x53c736,_0xff2a01,_0x560c28){return _0x53c736(_0xff2a01,_0x560c28);},'FyrAj':'ranger\x20start','zerNt':_0x2f37f6(0x1cc),'ufsJz':_0x2f37f6(0x15d),'THPgX':'notes','rBSQK':_0x2f37f6(0x205),'ovtpa':'debug-outcome','WZVdO':'verified','QIrYA':_0x2f37f6(0x197),'XywDb':'env-name','cmbXW':function(_0x2533cc,_0xa91222,_0x30fcd5){return _0x2533cc(_0xa91222,_0x30fcd5);},'OjWIn':_0x2f37f6(0x220),'iSgQQ':_0x2f37f6(0xed),'OBatF':_0x2f37f6(0x19b),'QhAaw':_0x2f37f6(0x14c),'nfnPE':'Environment\x20name','HDxmv':_0x2f37f6(0x18e),'FPbri':_0x2f37f6(0x1c5),'ItUAl':function(_0x838d75,_0x29a6e6,_0x43e3ed){return _0x838d75(_0x29a6e6,_0x43e3ed);},'dmwHf':'ranger\x20config\x20list','UoWfL':'ranger\x20profile\x20config\x20list','WGlUu':'key','zCUqB':'Config\x20key\x20to\x20remove','vbLqr':_0x2f37f6(0x103),'LIKyE':_0x2f37f6(0xb1),'Vbarc':'ranger\x20profile\x20config\x20unset','UxHWj':_0x2f37f6(0xe7),'DDeOC':'set\x20<env>\x20<key>\x20<value>','FSaSp':'get\x20<env>\x20<key>','dQafN':_0x2f37f6(0x7e),'xrEuG':'env\x20list','uVowe':function(_0x1138ef,_0x4f90bb,_0x27fe21){return _0x1138ef(_0x4f90bb,_0x27fe21);},'pskBP':'ranger\x20env\x20update','QOpji':'env\x20update','bxqyV':function(_0x36d92e,_0x1a944b,_0x2ca09a){return _0x36d92e(_0x1a944b,_0x2ca09a);},'Khhoz':'ranger\x20feature\x20add-checklist-item','JajEL':'ranger\x20add-scenario','kcYYv':'feature\x20add-checklist-item','XNvLv':function(_0x265838,_0x303161,_0x3e70fb){return _0x265838(_0x303161,_0x3e70fb);},'kpAwV':_0x2f37f6(0x1fe),'mqFOr':'Feature\x20review\x20ID\x20to\x20restore','PHYeq':'ranger\x20feature\x20restore','TKXWg':'ranger\x20restore','wvENS':'feature\x20restore','jVcAs':_0x2f37f6(0x1f2),'xaxMB':_0x2f37f6(0x169),'qYwOv':_0x2f37f6(0xce),'pVJjT':_0x2f37f6(0xac),'qBRDD':'ranger\x20feature\x20delete','REHmv':'create\x20<name>','GTHlr':_0x2f37f6(0x203),'kmINi':_0x2f37f6(0x1bf),'JKhOc':_0x2f37f6(0xf6),'cDPHD':'hook:disable','tSATm':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','kULaH':'enable','hGSoy':_0x2f37f6(0xc3),'vASQO':_0x2f37f6(0x211),'MGIfZ':function(_0x2ec7f1,_0x3b5297,_0x3b6129){return _0x2ec7f1(_0x3b5297,_0x3b6129);},'CDqJU':_0x2f37f6(0x133),'QnLtt':function(_0x469894){return _0x469894();},'NVxqZ':'Unknown\x20error','yogTS':_0x2f37f6(0xd1),'eGdFl':_0x2f37f6(0x11c),'Zqodc':'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','AiVws':_0x2f37f6(0x190),'qRgnU':_0x2f37f6(0xfc),'iiRtJ':'get-review\x20[id]','PHscZ':'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','lBrEg':_0x2f37f6(0xa4),'SyRia':_0x2f37f6(0x14b),'tIsxa':'login','uYsxP':'Install\x20Ranger\x20skills','OxnRf':'profiles','yfIGC':'Manage\x20profiles','pszxA':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','XoglH':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','dsbnE':_0x2f37f6(0x198),'Yzigl':'Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','lEzSr':_0x2f37f6(0x132),'ocnCt':'verify-feature','YsaQk':_0x2f37f6(0x116),'GGSqC':'You\x20must\x20specify\x20a\x20command'};return _0x15aa66[_0x2f37f6(0x76)](_0x1d7021,_0x25408e??process[_0x2f37f6(0x1cb)]['slice'](0x2))['scriptName'](_0x2f37f6(0x152))[_0x2f37f6(0x91)](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command'](_0x15aa66['REHmv'],_0x15aa66['yogTS'],_0x5bba71=>{const _0x51abc4=_0x2f37f6;return _0x5bba71[_0x51abc4(0x88)](_0x15aa66['VPywp'],{'type':_0x51abc4(0x166),'description':_0x15aa66['AQNfC'],'demandOption':!![]})[_0x51abc4(0x19f)](_0x51abc4(0x16e),{'type':_0x51abc4(0x166),'alias':'d','description':_0x51abc4(0x17f)})['option']('scenario',{'type':_0x51abc4(0x124),'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option'](_0x51abc4(0x1e6),{'type':_0x51abc4(0x124),'hidden':!![]});},async _0x541e22=>{const _0x1ee45f=_0x2f37f6;if(!_0x541e22['name']){console['error'](_0x15aa66['aftae']('Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a',_0x1ee45f(0x126))),process[_0x1ee45f(0x1ee)](0x1);return;}_0x15aa66[_0x1ee45f(0x109)](warnFlagRenamed,'ranger\x20create',_0x1ee45f(0x169),_0x15aa66['bPyya']);const _0x29356d=_0x541e22['scenario']||_0x541e22[_0x1ee45f(0x1e6)];await _0x15aa66['ftOnE'](withTelemetry,_0x15aa66[_0x1ee45f(0x1eb)],()=>featureCreate(_0x541e22['name'],{'description':_0x541e22[_0x1ee45f(0x16e)],'scenarios':_0x29356d}));})[_0x2f37f6(0x207)](_0x15aa66[_0x2f37f6(0x160)],_0x15aa66[_0x2f37f6(0x1d1)],_0x21436b=>{const _0x44c644=_0x2f37f6;return _0x21436b['option']('current-branch',{'type':'boolean','description':_0x15aa66['mrkWL']})['option'](_0x15aa66[_0x44c644(0xc2)],{'type':_0x15aa66[_0x44c644(0x1ea)],'alias':'l','description':_0x15aa66[_0x44c644(0x8a)],'default':0xa})['option']('offset',{'type':_0x15aa66[_0x44c644(0x1ea)],'alias':'o','description':_0x44c644(0xef),'default':0x0})[_0x44c644(0x19f)](_0x15aa66[_0x44c644(0x21c)],{'type':_0x15aa66[_0x44c644(0x1cf)],'alias':'d','description':_0x15aa66['pyDRB'],'default':![]});},async _0x361e0e=>{const _0x1be084=_0x2f37f6;await _0x15aa66['ftOnE'](withTelemetry,_0x15aa66[_0x1be084(0x160)],()=>featureList({'currentBranch':_0x361e0e[_0x1be084(0x212)],'limit':_0x361e0e[_0x1be084(0xd2)],'offset':_0x361e0e[_0x1be084(0x13c)],'includeDeleted':_0x361e0e[_0x1be084(0xa6)]}));})[_0x2f37f6(0x207)](_0x2f37f6(0x203),_0x15aa66[_0x2f37f6(0x199)],_0x3636b7=>{const _0x363315=_0x2f37f6;return _0x3636b7['positional']('id',{'type':_0x15aa66[_0x363315(0x21f)],'description':'Feature\x20review\x20ID'});},async _0x84aea0=>{await withTelemetry(_0x15aa66['EyndM'],()=>featureShow(_0x84aea0['id']));})['command'](_0x15aa66['kmINi'],_0x2f37f6(0x228),_0x508389=>{return _0x508389['positional']('id',{'type':'string','description':_0x15aa66['VKOCE']});},async _0x2b926f=>{await _0x15aa66['rUsHv'](withTelemetry,'resume',()=>featureResume(_0x2b926f['id']));})['command'](_0x15aa66[_0x2f37f6(0x8e)],_0x2f37f6(0x19a),_0x3deae5=>{const _0x1cefd0=_0x2f37f6;return _0x3deae5[_0x1cefd0(0x88)](_0x15aa66['FbCMk'],{'type':'string','description':_0x15aa66['hajhm'],'demandOption':!![]})['option']('id',{'type':'string','description':_0x1cefd0(0xb3)});},async _0x3309ed=>{const _0x52b3fa=_0x2f37f6;await _0x15aa66['hgfgv'](withTelemetry,_0x52b3fa(0x170),()=>featureAddScenario(_0x3309ed[_0x52b3fa(0x16e)],_0x3309ed['id']));})[_0x2f37f6(0x207)](_0x2f37f6(0xf1),_0x15aa66[_0x2f37f6(0x134)],_0x1cde5e=>{const _0x4fcf9d=_0x2f37f6;return _0x1cde5e['positional'](_0x15aa66['FbCMk'],{'type':'string','description':'New\x20scenario\x20description','demandOption':!![]})['option'](_0x15aa66['sTdqO'],{'type':_0x4fcf9d(0x213),'description':_0x15aa66['sTIUE'],'demandOption':!![]})[_0x4fcf9d(0x19f)]('id',{'type':'string','description':_0x15aa66[_0x4fcf9d(0x1c8)]});},async _0x3f55ee=>{const _0xe47d7b=_0x2f37f6;await _0x15aa66['Mbpmb'](withTelemetry,_0x15aa66['bDvmQ'],()=>featureEditScenario(_0x3f55ee[_0xe47d7b(0x16e)],{'id':_0x3f55ee['id'],'scenario':_0x3f55ee[_0xe47d7b(0x1fb)]}));})[_0x2f37f6(0x207)]('report\x20[id]','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0xd10b39=>{const _0x34361b=_0x2f37f6;return _0xd10b39['positional']('id',{'type':_0x34361b(0x166),'description':_0x15aa66['JAncs']})[_0x34361b(0x19f)](_0x15aa66[_0x34361b(0x143)],{'type':_0x15aa66[_0x34361b(0x21a)],'description':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'})['option'](_0x34361b(0x185),{'type':'boolean','description':_0x34361b(0x191),'default':![]});},async _0x38c92e=>{const _0x436298=_0x2f37f6,_0x337ac7=_0x38c92e[_0x15aa66[_0x436298(0x143)]],_0x74f317=_0x337ac7?_0x337ac7['map'](_0x4dba45=>Number(_0x4dba45)):undefined;await withTelemetry(_0x436298(0x21e),()=>featureReportPrDescription(_0x38c92e['id'],{'excludeScenarios':_0x74f317,'json':_0x38c92e['json']}));})[_0x2f37f6(0x207)](_0x15aa66['iiRtJ'],_0x15aa66['PHscZ'],_0x1c95b8=>{const _0x1863cb=_0x2f37f6;return _0x1c95b8['positional']('id',{'type':_0x15aa66['trFHA'],'description':_0x1863cb(0xb3)});},async _0x3e1b42=>{const _0x2223b3=_0x2f37f6;await _0x15aa66[_0x2223b3(0x1f1)](withTelemetry,_0x2223b3(0x86),()=>featureGetReview(_0x3e1b42['id']));})['command'](_0x15aa66[_0x2f37f6(0x20c)],_0x2f37f6(0xf5),_0x17237b=>{const _0x5c2fba=_0x2f37f6;return _0x17237b['positional']('id',{'type':_0x5c2fba(0x166),'description':_0x15aa66['JAncs']});},async _0x44c66b=>{await withTelemetry('delete',()=>featureDelete(_0x44c66b['id']));})[_0x2f37f6(0x207)]('restore\x20<id>',_0x2f37f6(0xe5),_0x1fed0b=>{const _0x537d3f=_0x2f37f6;return _0x1fed0b['positional']('id',{'type':_0x15aa66['trFHA'],'description':_0x537d3f(0x1fc),'demandOption':!![]});},async _0x56a55c=>{const _0x678b06=_0x2f37f6;await withTelemetry(_0x15aa66[_0x678b06(0x182)],()=>featureRestore(_0x56a55c['id']));})['command']('setup\x20[tokenOrSubcommand]',_0x2f37f6(0x1cd),_0x3d98da=>{const _0x237a33=_0x2f37f6,_0x495e71={'ZXKXm':'mcp-bootstrap','TqyVA':'boolean','nYsVn':function(_0x4e1a3a){return _0x4e1a3a();},'DTZrD':function(_0x1da8d4,_0x57895e){const _0x19a5cb=_0x3142;return _0x15aa66[_0x19a5cb(0x76)](_0x1da8d4,_0x57895e);},'XRyVP':function(_0x234559,_0x535451,_0x12888a){return _0x234559(_0x535451,_0x12888a);},'uHwTa':'scope','ceYyI':_0x15aa66['trFHA'],'RulEw':_0x15aa66[_0x237a33(0x159)],'goWPW':'Install\x20scope\x20for\x20plugin\x20and\x20skills','teJuE':_0x15aa66['fnkka'],'bgUJg':_0x15aa66['GWTyG'],'LZYxJ':'setup:skills','wQBRA':'url','WHrZs':_0x15aa66[_0x237a33(0xf0)],'kaAaI':_0x15aa66['EwtuS'],'ypkTj':_0x15aa66['mCOjG'],'kRZrH':function(_0x233827,_0x1d29be){return _0x233827!==_0x1d29be;},'qcuXn':function(_0x2c8d8c,_0x20728c){return _0x15aa66['AooOT'](_0x2c8d8c,_0x20728c);},'UduAu':_0x15aa66['qhBqN']};return _0x3d98da[_0x237a33(0x91)]('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')[_0x237a33(0x88)](_0x237a33(0x1c6),{'type':_0x15aa66['trFHA'],'description':_0x15aa66[_0x237a33(0x1c4)]})['command'](_0x15aa66['NFRMO'],'Run\x20full\x20interactive\x20setup',_0x3fd6e0=>{const _0x4ef760=_0x237a33;return _0x3fd6e0['option'](_0x4ef760(0x18f),{'type':_0x15aa66['trFHA'],'description':_0x4ef760(0x17e)})[_0x4ef760(0x19f)]('skip-chromium',{'type':_0x15aa66['QLquY'],'description':_0x15aa66['jByLy'],'default':![]})[_0x4ef760(0x19f)](_0x15aa66['EwtuS'],{'type':'boolean','description':_0x4ef760(0x184),'default':![]})[_0x4ef760(0x19f)](_0x4ef760(0x112),{'type':_0x15aa66['QLquY'],'description':_0x15aa66[_0x4ef760(0x189)],'default':![]})[_0x4ef760(0x19f)](_0x15aa66['QVKdU'],{'type':_0x15aa66['trFHA'],'choices':['user'],'hidden':!![],'description':_0x4ef760(0xe3)})['option'](_0x4ef760(0x1e8),{'type':_0x15aa66['trFHA'],'description':_0x15aa66['YFuLW']})[_0x4ef760(0x19f)](_0x15aa66['mCOjG'],{'type':_0x15aa66[_0x4ef760(0x1cf)],'description':_0x15aa66['QqPty'],'default':![]})[_0x4ef760(0x19f)](_0x15aa66[_0x4ef760(0x177)],{'type':'boolean','description':_0x15aa66['GWTyG'],'default':![]})['option'](_0x15aa66[_0x4ef760(0xdd)],{'type':_0x4ef760(0x1bb),'description':_0x15aa66['RRjPJ'],'default':![]})['option'](_0x15aa66[_0x4ef760(0x175)],{'type':'boolean','description':_0x15aa66['fzzpf'],'default':![]})[_0x4ef760(0x19f)](_0x15aa66[_0x4ef760(0x9a)],{'type':_0x15aa66['QLquY'],'description':_0x15aa66['IEwRX'],'default':![]});},async _0x8a0296=>{const _0x392485=_0x237a33;(_0x8a0296[_0x495e71[_0x392485(0x1e3)]]||_0x8a0296['mcp'])&&await withTelemetry(_0x392485(0x1f8),()=>mcpBootstrap()),await withTelemetry('setup:all',_0x5cf167=>start(_0x8a0296['token'],{'skipChromium':_0x8a0296['skip-chromium'],'skipAuth':_0x8a0296['skip-auth'],'withDeps':_0x8a0296[_0x392485(0x112)],'scope':_0x8a0296['scope'],'url':_0x8a0296['url'],'force':_0x8a0296[_0x392485(0x202)],'opencode':_0x8a0296['opencode'],'allowInsecureLocalhost':_0x8a0296['allow-insecure-localhost']},_0x5cf167));})['command'](_0x15aa66[_0x237a33(0x161)],_0x15aa66[_0x237a33(0xaa)],_0x454de0=>{const _0x203916=_0x237a33;return _0x454de0['option']('with-deps',{'type':_0x203916(0x1bb),'description':_0x15aa66['WvOQq'],'default':![]});},async _0x3502fb=>{const _0x47a0de=_0x237a33;await _0x15aa66[_0x47a0de(0xdc)](withTelemetry,_0x15aa66[_0x47a0de(0xb8)],()=>ensureChromium(_0x3502fb[_0x47a0de(0x112)]));})['command'](_0x237a33(0xe2),_0x15aa66[_0x237a33(0x1e7)],_0x3c215b=>{const _0x201db5=_0x237a33;return _0x3c215b[_0x201db5(0x19f)](_0x201db5(0x18f),{'type':_0x201db5(0x166),'description':_0x201db5(0x153)})[_0x201db5(0x19f)](_0x201db5(0x13b),{'type':_0x495e71[_0x201db5(0x120)],'description':_0x201db5(0xc8),'default':![]});},async _0x4be8b0=>{const _0x212412=_0x237a33,_0x10e027={'dQqmI':function(_0x4e181e){const _0x56b80f=_0x3142;return _0x495e71[_0x56b80f(0x232)](_0x4e181e);},'ipYNg':function(_0x4299b1,_0x22665b){return _0x495e71['DTZrD'](_0x4299b1,_0x22665b);}};await _0x495e71[_0x212412(0xc4)](withTelemetry,_0x212412(0xd8),async()=>{const _0x280709=_0x212412;if(_0x4be8b0['mcp']){await mcpBootstrap();const _0x19eb80=await _0x10e027['dQqmI'](refreshCliToken);if(!_0x19eb80)throw new Error(_0x280709(0x179));const _0x3c8fae=await getCurrentUser(_0x19eb80);if(!_0x3c8fae[_0x280709(0x157)])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x3c8fae['error']);console[_0x280709(0x1d9)]('✓\x20Authenticated\x20to\x20'+_0x3c8fae[_0x280709(0x1fd)][_0x280709(0x146)]);return;}await _0x10e027['ipYNg'](authenticate,_0x4be8b0[_0x280709(0x18f)]);});})['command'](_0x15aa66[_0x237a33(0x236)],_0x15aa66[_0x237a33(0xf9)],_0x121488=>{const _0x5e0c13=_0x237a33;return _0x121488['option'](_0x495e71['uHwTa'],{'type':_0x495e71[_0x5e0c13(0x1aa)],'choices':[_0x495e71['RulEw'],'project'],'description':_0x495e71['goWPW']})[_0x5e0c13(0x19f)](_0x495e71['teJuE'],{'type':_0x5e0c13(0x1bb),'description':_0x495e71['bgUJg'],'default':![]});},async _0x1c1d58=>{const _0x28911c=_0x237a33,_0x4ff886={'MBHPs':function(_0x2a8f88,_0x5e9746){return _0x2a8f88(_0x5e9746);},'YTxnV':function(_0xff2333,_0x3e3e12,_0x4d313d){return _0xff2333(_0x3e3e12,_0x4d313d);},'VnFBz':function(_0x32b137,_0x542703){return _0x32b137(_0x542703);}};await _0x495e71[_0x28911c(0xc4)](withTelemetry,_0x495e71[_0x28911c(0x101)],async()=>{const _0x6c3c9f=_0x28911c,_0x2c3a20=_0x1c1d58[_0x6c3c9f(0x8b)];if(_0x1c1d58['opencode']){const _0x44c5e1=await _0x4ff886[_0x6c3c9f(0x10d)](ensureOpencodePluginConfig,_0x2c3a20);_0x44c5e1&&await _0x4ff886[_0x6c3c9f(0x17d)](installSkill,'ranger',{'level':_0x44c5e1[_0x6c3c9f(0x8b)],'cliVersion':getCurrentVersion(),'platform':'opencode'});}else await _0x4ff886[_0x6c3c9f(0x1de)](ensureClaudePlugin,_0x2c3a20),await ensureClaudeSkills(_0x2c3a20);});})['command'](_0x237a33(0x92),_0x15aa66['bdgio'],_0x328274=>{const _0x4e064e=_0x237a33;return _0x328274['option']('scope',{'type':_0x495e71[_0x4e064e(0x1aa)],'choices':[_0x495e71[_0x4e064e(0x1c2)]],'description':_0x4e064e(0xe3)})[_0x4e064e(0x19f)](_0x495e71[_0x4e064e(0xa3)],{'type':_0x495e71['ceYyI'],'description':_0x495e71[_0x4e064e(0x7c)]})['option'](_0x495e71['kaAaI'],{'type':_0x495e71[_0x4e064e(0x120)],'description':_0x4e064e(0xbf),'default':![]})['option'](_0x495e71[_0x4e064e(0x1c1)],{'type':_0x4e064e(0x1bb),'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x4e064e(0x1b9),{'type':_0x495e71['TqyVA'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x2f7a78=>{const _0x17ff5d=_0x237a33,_0x404d57=_0x2f7a78['scope'];_0x404d57!==undefined&&_0x495e71['kRZrH'](_0x404d57,'user')&&(console[_0x17ff5d(0x154)](_0x495e71[_0x17ff5d(0xbe)]('ranger\x20setup\x20profiles\x20--scope='+_0x404d57+_0x17ff5d(0x1ca)+_0x17ff5d(0x1d4),_0x17ff5d(0x16b))),process['exit'](0x1)),await withTelemetry(_0x495e71[_0x17ff5d(0x150)],_0x3ac5a7=>ensureLocalEnv({'url':_0x2f7a78['url'],'force':_0x2f7a78[_0x17ff5d(0x202)],'allowInsecureLocalhost':_0x2f7a78['allow-insecure-localhost'],'scope':'user'},_0x3ac5a7));})[_0x237a33(0x19f)](_0x15aa66['WrZWU'],{'type':_0x237a33(0x1bb),'description':_0x237a33(0x215),'default':![]})[_0x237a33(0x19f)]('scope',{'type':_0x237a33(0x166),'choices':[_0x15aa66[_0x237a33(0x159)]],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x15aa66[_0x237a33(0x1c0)],{'type':_0x237a33(0x166),'description':_0x237a33(0x163)})['option'](_0x15aa66[_0x237a33(0x1d5)],{'type':'boolean','description':_0x15aa66['QqPty'],'default':![]})[_0x237a33(0x19f)](_0x15aa66[_0x237a33(0x177)],{'type':'boolean','description':_0x15aa66[_0x237a33(0xa9)],'default':![]})['option']('allow-insecure-localhost',{'type':_0x15aa66['QLquY'],'description':_0x15aa66['dctTS'],'default':![]})[_0x237a33(0x19f)](_0x237a33(0x1f8),{'type':'boolean','description':_0x15aa66['OOvHm'],'default':![]})['option'](_0x15aa66[_0x237a33(0x1fa)],{'type':_0x15aa66[_0x237a33(0x1cf)],'description':_0x237a33(0x87),'default':![]})[_0x237a33(0x19f)](_0x15aa66[_0x237a33(0x8c)],{'type':'boolean','description':_0x237a33(0x1bc),'default':![]})[_0x237a33(0x19f)](_0x15aa66['Fwtyf'],{'type':_0x15aa66['trFHA'],'hidden':!![],'description':_0x15aa66[_0x237a33(0x19e)]});},async _0x5df15e=>{const _0x26cfdf=_0x2f37f6,_0xebafdc=_0x5df15e[_0x26cfdf(0x1c6)],_0x182912=_0x5df15e['token']??_0xebafdc;_0x5df15e['mcp-bootstrap']&&await withTelemetry(_0x26cfdf(0x1f8),()=>mcpBootstrap()),await withTelemetry(_0x26cfdf(0x9f),_0x29a947=>start(_0x182912,{'skipChromium':_0x5df15e['skip-chromium'],'skipAuth':_0x5df15e[_0x26cfdf(0x74)],'withDeps':_0x5df15e['with-deps'],'scope':_0x5df15e['scope'],'url':_0x5df15e['url'],'force':_0x5df15e[_0x26cfdf(0x202)],'opencode':_0x5df15e['opencode'],'allowInsecureLocalhost':_0x5df15e['allow-insecure-localhost']},_0x29a947));})['command'](_0x15aa66[_0x2f37f6(0x1af)],![],_0x4900d3=>{const _0x342042=_0x2f37f6;return _0x4900d3['positional']('token',{'type':_0x15aa66[_0x342042(0x21f)],'description':_0x15aa66['HhBku'],'demandOption':!![]})['option'](_0x15aa66[_0x342042(0xb5)],{'type':_0x342042(0x166),'description':_0x342042(0xa1)})['option'](_0x342042(0x10f),{'type':_0x15aa66[_0x342042(0x21f)],'description':_0x15aa66['rkUau']})['option'](_0x15aa66['WrZWU'],{'type':_0x15aa66['QLquY'],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x75936b=>{const _0x174298=_0x2f37f6;await _0x15aa66[_0x174298(0x14d)](withTelemetry,_0x15aa66['qFHuL'],_0x32d255=>setupCi(_0x75936b['token'],{'profile':_0x75936b['profile'],'baseUrl':_0x75936b['base-url'],'skipChromium':_0x75936b[_0x174298(0x96)]},_0x32d255));})['command'](_0x15aa66['tIsxa'],_0x2f37f6(0xd4),()=>{},async()=>{const _0x3f66e1=_0x2f37f6;await withTelemetry(_0x3f66e1(0xe2),()=>login());})['command']('skillup',_0x15aa66['uYsxP'],_0x5346c9=>{const _0x150fcf=_0x2f37f6;return _0x5346c9['option'](_0x15aa66['fnkka'],{'type':'boolean','description':_0x150fcf(0x94),'default':![]})[_0x150fcf(0x19f)](_0x15aa66['QVKdU'],{'type':_0x15aa66[_0x150fcf(0x21f)],'choices':[_0x150fcf(0x1fd),_0x15aa66['hxbqz']],'description':_0x15aa66[_0x150fcf(0xde)]});},async _0x1dc455=>{const _0x338b3c=_0x2f37f6,_0x460033=_0x15aa66['rBcqP'](Boolean,_0x1dc455['opencode']);await withTelemetry(_0x15aa66['kvyug'],()=>skillup({'autoInstall':_0x1dc455[_0x338b3c(0x8b)],'platform':_0x460033?_0x338b3c(0x214):_0x338b3c(0x231)}));})[_0x2f37f6(0x207)](_0x2f37f6(0xb2),'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{const _0x59852f=_0x2f37f6;await withTelemetry(_0x15aa66[_0x59852f(0x81)],()=>clean());})['command'](['profile',_0x15aa66[_0x2f37f6(0x1ce)]],_0x15aa66['yfIGC'],_0x38ab34=>{const _0x2f5035=_0x2f37f6,_0x58fd17={'BNTsP':_0x15aa66['trFHA'],'GmzyG':_0x2f5035(0x1bb),'fVaMr':'force','XoSIg':_0x2f5035(0x1b9),'TowNz':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','mbrHD':_0x15aa66[_0x2f5035(0x90)],'AhfPF':_0x15aa66[_0x2f5035(0x22c)],'Fcaqe':_0x15aa66['RWEkY'],'SXveX':'user','OHMgG':_0x2f5035(0xf7),'mVqIt':_0x15aa66['KwJiz'],'daBNg':'profile\x20add','aAMBE':_0x15aa66['lwNZr'],'DDCxa':function(_0x5ab171,_0xa6ed5a,_0x5cbca3){return _0x15aa66['Mbpmb'](_0x5ab171,_0xa6ed5a,_0x5cbca3);},'JTLlT':_0x15aa66[_0x2f5035(0x79)],'yHEYE':function(_0x488bf0,_0x4f4b80){const _0x2b5d7f=_0x2f5035;return _0x15aa66[_0x2b5d7f(0x1db)](_0x488bf0,_0x4f4b80);},'rYULy':'No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','GXUiL':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','bJFxW':_0x2f5035(0x10c),'mUXrj':_0x15aa66[_0x2f5035(0x13e)],'jokqw':_0x15aa66[_0x2f5035(0x131)],'RsWsF':_0x15aa66[_0x2f5035(0x80)],'GLcjK':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','Bwvsg':_0x15aa66['RLlUN'],'RgaRG':_0x2f5035(0x1f4),'hdZdQ':_0x2f5035(0x100),'qrpSM':_0x2f5035(0x128),'Bhjmd':_0x2f5035(0xe9),'GWQvn':_0x15aa66['ncIMI'],'WAdGz':'unset\x20<profile>\x20<key>','htQfX':_0x2f5035(0x145)};return _0x38ab34[_0x2f5035(0x91)](PROFILE_HELP)[_0x2f5035(0x207)](_0x15aa66[_0x2f5035(0x18c)],_0x15aa66[_0x2f5035(0x20d)],_0x14b374=>{const _0x4cecae=_0x2f5035;return _0x14b374['positional']('profile-name',{'type':_0x58fd17[_0x4cecae(0xb4)],'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x58fd17['GmzyG'],'hidden':!![],'default':![]})['option']('skip-auth',{'type':'boolean','description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})['option']('url',{'type':'string','description':_0x4cecae(0x1ef)})[_0x4cecae(0x19f)](_0x58fd17[_0x4cecae(0xff)],{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x4cecae(0x11a),{'type':_0x58fd17['BNTsP'],'description':_0x4cecae(0x142)})[_0x4cecae(0x19f)](_0x58fd17['XoSIg'],{'type':_0x58fd17[_0x4cecae(0x139)],'description':_0x58fd17['TowNz'],'default':![]})[_0x4cecae(0x19f)](_0x58fd17['mbrHD'],{'type':_0x58fd17['GmzyG'],'description':_0x58fd17['AhfPF'],'default':![]})[_0x4cecae(0x19f)](_0x4cecae(0x225),{'type':_0x4cecae(0x166),'array':!![],'description':_0x58fd17['Fcaqe']})['option']('scope',{'type':_0x58fd17[_0x4cecae(0xb4)],'choices':[_0x58fd17['SXveX'],_0x58fd17[_0x4cecae(0x1a4)]],'description':_0x4cecae(0xc0)})[_0x4cecae(0x19f)](_0x58fd17[_0x4cecae(0x12b)],{'type':'boolean','alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','default':![]});},async _0x4d40af=>{const _0x1ce53c=_0x2f5035;await withTelemetry(_0x58fd17['daBNg'],_0x445f42=>addEnv(_0x4d40af[_0x1ce53c(0xa0)],{'ci':_0x4d40af['ci'],'skipAuth':_0x4d40af[_0x1ce53c(0x74)],'url':_0x4d40af['url'],'force':_0x4d40af[_0x1ce53c(0x202)],'cdpEndpoint':_0x4d40af['cdp-endpoint'],'allowInsecureLocalhost':_0x4d40af[_0x1ce53c(0x1b9)],'safeMode':_0x4d40af['safe-mode'],'setupHeader':_0x4d40af[_0x1ce53c(0x225)],'scope':_0x4d40af['scope'],'yes':_0x4d40af[_0x1ce53c(0x1e5)]},_0x445f42),{'isElectron':Boolean(_0x4d40af[_0x1ce53c(0x11a)])});})[_0x2f5035(0x207)](_0x2f5035(0xea),_0x15aa66[_0x2f5035(0x20f)],_0x547834=>{const _0x238dda=_0x2f5035;return _0x547834[_0x238dda(0x88)](_0x15aa66[_0x238dda(0x22f)],{'type':_0x15aa66[_0x238dda(0x21f)],'description':'Name\x20of\x20the\x20profile','demandOption':!![]});},async _0x2a6011=>{const _0x38e5b0=_0x2f5035;await withTelemetry('profile\x20use',()=>useEnv(_0x2a6011[_0x38e5b0(0xa0)]));})['command'](_0x15aa66[_0x2f5035(0x16f)],'Delete\x20a\x20cloud\x20profile',_0x49d0ce=>{const _0x380e8c=_0x2f5035;return _0x49d0ce['positional'](_0x380e8c(0xa0),{'type':_0x15aa66[_0x380e8c(0x21f)],'description':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','demandOption':!![]})['option'](_0x15aa66[_0x380e8c(0x14e)],{'type':_0x15aa66[_0x380e8c(0x1cf)],'alias':'y','description':_0x15aa66['pPkKV'],'default':![]});},async _0x662213=>{const _0x164e93=_0x2f5035;await _0x15aa66['lQQra'](withTelemetry,_0x15aa66[_0x164e93(0x95)],()=>deleteProfile(_0x662213['profile-name'],{'yes':_0x662213[_0x164e93(0x1e5)]}));})[_0x2f5035(0x207)](_0x15aa66[_0x2f5035(0x9b)],![],_0x31b846=>{const _0x1e3a1d=_0x2f5035;return _0x31b846[_0x1e3a1d(0x88)]('profile',{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x1771c5=>{const _0x25e534=_0x2f5035;await _0x15aa66['Mbpmb'](withTelemetry,_0x15aa66[_0x25e534(0x217)],()=>authEncrypt(_0x1771c5['profile']));})[_0x2f5035(0x207)]('ls',_0x15aa66['HPArb'],()=>{},async()=>{await withTelemetry('profile\x20ls',()=>envList());})[_0x2f5035(0x207)](_0x2f5035(0x102),_0x15aa66[_0x2f5035(0x188)],_0x147393=>{const _0x2614c3=_0x2f5035;return _0x147393['positional'](_0x58fd17[_0x2614c3(0x136)],{'type':_0x58fd17[_0x2614c3(0xb4)],'description':_0x2614c3(0xbc),'demandOption':!![]})['option']('allow-insecure-localhost',{'type':_0x2614c3(0x1bb),'description':_0x2614c3(0x14a)});},async _0x804702=>{const _0x236d05=_0x2f5035;await _0x58fd17['DDCxa'](withTelemetry,_0x58fd17[_0x236d05(0xcc)],_0x52e4f0=>updateEnv(_0x804702[_0x236d05(0xa0)],_0x52e4f0,{'allowInsecureLocalhost':_0x804702[_0x236d05(0x1b9)]}));})[_0x2f5035(0x207)]('login\x20<name>',![],_0x5d55a6=>{const _0x1df3b5=_0x2f5035;return _0x5d55a6[_0x1df3b5(0x88)]('name',{'type':_0x15aa66['trFHA'],'description':_0x15aa66[_0x1df3b5(0x1d3)],'demandOption':!![]});},async _0x41e654=>{const _0xef153c=_0x2f5035;await _0x58fd17[_0xef153c(0x1b7)](withTelemetry,'profile\x20login',async()=>{const _0x26cf2b=_0xef153c,_0x5d2f30=process['env']['RANGER_TEST_USERNAME'],_0x4370af=process['env']['RANGER_TEST_PASSWORD'];_0x58fd17['yHEYE'](!_0x5d2f30,!_0x4370af)&&(console[_0x26cf2b(0x154)](_0x26cf2b(0xda)),process[_0x26cf2b(0x1ee)](0x1));const _0xc38c6a=_0x41e654[_0x26cf2b(0x223)],_0x336e01=await _0x58fd17['DDCxa'](serverSideLogin,_0xc38c6a,{'force':!![]});_0x336e01['status']===_0x26cf2b(0x149)&&(console['error'](_0x58fd17['rYULy']),process[_0x26cf2b(0x1ee)](0x1)),_0x336e01[_0x26cf2b(0x194)]==='failed'&&(console[_0x26cf2b(0x154)]('Login\x20failed:\x20'+(_0x336e01['error']??_0x26cf2b(0x230))),_0x336e01['test_output']&&console['error'](_0x336e01[_0x26cf2b(0x1ad)]),process[_0x26cf2b(0x1ee)](0x1)),console[_0x26cf2b(0x1d9)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0xc38c6a+_0x26cf2b(0xec));});})[_0x2f5035(0x207)]('migrate\x20[profile-name]',![],_0x21a1ec=>{const _0xbba9c3=_0x2f5035;return _0x21a1ec['positional']('profile-name',{'type':_0x58fd17['BNTsP'],'description':_0x58fd17['GXUiL']})[_0xbba9c3(0x19f)]('all',{'type':_0x58fd17[_0xbba9c3(0x139)],'description':_0x58fd17[_0xbba9c3(0x1c9)],'default':![]})[_0xbba9c3(0x19f)](_0x58fd17[_0xbba9c3(0x98)],{'type':'boolean','description':_0x58fd17[_0xbba9c3(0xad)],'default':![]})['option']('yes',{'type':'boolean','alias':'y','description':_0x58fd17['RsWsF'],'default':![]})['option'](_0xbba9c3(0x1b5),{'type':_0xbba9c3(0x1bb),'description':_0x58fd17[_0xbba9c3(0x201)],'default':![]});},async _0x2804f8=>{const _0x33ba59=_0x2f5035;await _0x15aa66['qeWUS'](withTelemetry,'profile\x20migrate',_0x58146c=>migrateProfile({'profileName':_0x2804f8['profile-name'],'all':_0x2804f8['all'],'dryRun':_0x2804f8[_0x33ba59(0xe4)],'yes':_0x2804f8['yes'],'saveCreds':_0x2804f8['save-creds']},_0x58146c));})[_0x2f5035(0x207)](_0x15aa66[_0x2f5035(0xab)],_0x2f5035(0x204),_0x9b74aa=>{const _0x90b369=_0x2f5035,_0x1edc07={'xiUsF':_0x58fd17[_0x90b369(0xb4)],'cIIyx':_0x58fd17['hdZdQ'],'UPhiy':_0x58fd17[_0x90b369(0xfe)],'MFbuu':_0x58fd17[_0x90b369(0xca)],'Pnlcs':_0x58fd17[_0x90b369(0x186)],'jgmFE':function(_0x3844c9,_0x51d4ae,_0xf5ea70){return _0x58fd17['DDCxa'](_0x3844c9,_0x51d4ae,_0xf5ea70);},'oNiki':function(_0x38800a,_0x40004c,_0x9389e7){return _0x38800a(_0x40004c,_0x9389e7);}};return _0x9b74aa[_0x90b369(0x91)](PROFILE_CONFIG_HELP)['command']('set\x20<profile>\x20<key>\x20<value>',_0x90b369(0xaf),_0x1deb22=>{const _0x2e0598=_0x90b369;return _0x1deb22[_0x2e0598(0x88)]('profile',{'type':_0x1edc07[_0x2e0598(0x1b1)],'description':_0x2e0598(0x172),'demandOption':!![]})[_0x2e0598(0x88)](_0x2e0598(0x128),{'type':_0x1edc07['xiUsF'],'description':_0x2e0598(0x110),'demandOption':!![]})[_0x2e0598(0x88)]('value',{'type':_0x1edc07[_0x2e0598(0x1b1)],'description':_0x2e0598(0x1c5),'demandOption':!![]});},async _0x2d6182=>{const _0x30bb18=_0x90b369;await _0x58fd17['DDCxa'](withTelemetry,'profile\x20config\x20set',()=>configSet(_0x2d6182['profile'],_0x2d6182[_0x30bb18(0x128)],_0x2d6182['value']));})['command'](_0x58fd17[_0x90b369(0x17c)],'Get\x20a\x20config\x20value',_0x5b6ac0=>{const _0x37b70f=_0x90b369;return _0x5b6ac0[_0x37b70f(0x88)](_0x1edc07['cIIyx'],{'type':'string','description':_0x1edc07[_0x37b70f(0x148)],'demandOption':!![]})[_0x37b70f(0x88)](_0x1edc07['MFbuu'],{'type':_0x1edc07['xiUsF'],'description':_0x1edc07['Pnlcs'],'demandOption':!![]});},async _0x1da32a=>{const _0x4dd428=_0x90b369;await _0x1edc07[_0x4dd428(0x168)](withTelemetry,'profile\x20config\x20get',()=>configGet(_0x1da32a['profile'],_0x1da32a[_0x4dd428(0x128)]));})[_0x90b369(0x207)](_0x90b369(0x11f),'List\x20all\x20config\x20for\x20a\x20profile',_0xd44e7c=>{const _0x4e009a=_0x90b369;return _0xd44e7c[_0x4e009a(0x88)](_0x4e009a(0x100),{'type':'string','description':_0x58fd17[_0x4e009a(0xfe)],'demandOption':!![]});},async _0x3ea88b=>{const _0x438264=_0x90b369;await withTelemetry(_0x58fd17['RgaRG'],()=>configList(_0x3ea88b[_0x438264(0x100)]));})[_0x90b369(0x207)](_0x58fd17[_0x90b369(0x106)],_0x90b369(0x123),_0x399234=>{const _0x14c951=_0x90b369;return _0x399234[_0x14c951(0x88)](_0x14c951(0x100),{'type':_0x58fd17[_0x14c951(0xb4)],'description':_0x14c951(0x172),'demandOption':!![]})[_0x14c951(0x88)](_0x14c951(0x128),{'type':_0x14c951(0x166),'description':_0x14c951(0x108),'demandOption':!![]});},async _0x10a383=>{const _0x4e6db2=_0x90b369;await _0x1edc07['oNiki'](withTelemetry,_0x4e6db2(0x1b2),()=>configUnset(_0x10a383['profile'],_0x10a383['key']));})[_0x90b369(0x207)](_0x90b369(0x1be),_0x58fd17[_0x90b369(0x11e)],_0x2eb020=>{return _0x2eb020['positional'](_0x1edc07['cIIyx'],{'type':_0x1edc07['xiUsF'],'description':_0x1edc07['UPhiy'],'demandOption':!![]});},async _0x1d1678=>{const _0x82cccf=_0x90b369;await withTelemetry(_0x82cccf(0x22d),()=>configReset(_0x1d1678['profile']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})[_0x2f5035(0x1f3)](0x1,_0x15aa66[_0x2f5035(0x125)]);})[_0x2f37f6(0x207)]('status',_0x15aa66[_0x2f37f6(0xe0)],()=>{},async()=>{await withTelemetry(_0x15aa66['FioKt'],()=>status());})['command'](_0x2f37f6(0x83),_0x15aa66['XoglH'],()=>{},async()=>{const _0x4dcc34=_0x2f37f6;await _0x15aa66[_0x4dcc34(0x14f)](withTelemetry,_0x15aa66[_0x4dcc34(0x89)],()=>update());})[_0x2f37f6(0x207)]('print-access-token',_0x15aa66['dsbnE'],()=>{},async()=>{const _0x31364e=_0x2f37f6;await withTelemetry(_0x31364e(0xd5),async()=>{const _0x1780fb=_0x31364e,_0x3d7a2e=await getToken();if(!_0x3d7a2e)throw new Error(_0x1780fb(0x13d));console[_0x1780fb(0x1d9)](_0x3d7a2e);});})[_0x2f37f6(0x207)]('go',_0x15aa66[_0x2f37f6(0x1b3)],_0x42f81a=>{const _0x48f8d3=_0x2f37f6;return _0x42f81a[_0x48f8d3(0x19f)](_0x15aa66[_0x48f8d3(0x20a)],{'type':_0x15aa66[_0x48f8d3(0x21f)],'description':_0x15aa66[_0x48f8d3(0xcf)]})['option'](_0x48f8d3(0x100),{'type':'string','description':_0x15aa66['LRrcE']})['option']('notes',{'type':_0x15aa66['trFHA'],'description':_0x15aa66[_0x48f8d3(0x192)]})[_0x48f8d3(0x19f)]('scenario',{'type':'number','description':_0x15aa66['gKeyk']})[_0x48f8d3(0x19f)]('start-path',{'type':'string','description':_0x15aa66[_0x48f8d3(0x1ae)]})['option'](_0x15aa66[_0x48f8d3(0x140)],{'type':_0x48f8d3(0x166),'description':_0x15aa66['zVibz']})['option'](_0x15aa66[_0x48f8d3(0x82)],{'type':_0x15aa66['trFHA'],'description':_0x15aa66['clBeg']})[_0x48f8d3(0x19f)](_0x15aa66['QdqwE'],{'type':_0x48f8d3(0x1bb),'description':_0x15aa66[_0x48f8d3(0xdb)],'default':![]})['option']('debug-outcome',{'type':_0x15aa66[_0x48f8d3(0x21f)],'hidden':!![],'choices':['verified',_0x15aa66[_0x48f8d3(0x15f)],_0x48f8d3(0x197),_0x15aa66['XluFA'],_0x15aa66['cdemQ']]})[_0x48f8d3(0x19f)](_0x48f8d3(0x1a6),{'type':_0x48f8d3(0x1bb),'hidden':!![]})['option'](_0x48f8d3(0x14c),{'type':'string','hidden':!![]})['option'](_0x48f8d3(0x15d),{'type':_0x48f8d3(0x166),'hidden':!![]})['option'](_0x15aa66[_0x48f8d3(0x9d)],{'type':'number','hidden':!![]});},async _0x1884c8=>{await _0x15aa66['rBcqP'](runGoCommand,_0x1884c8);})['command']('auth',![],_0x10bacb=>{const _0x25ef97=_0x2f37f6,_0x11394b={'bljWA':function(_0x5bd9e1,_0x417224,_0x323694){const _0x267927=_0x3142;return _0x15aa66[_0x267927(0x1a5)](_0x5bd9e1,_0x417224,_0x323694);},'Jtupb':_0x15aa66[_0x25ef97(0x16c)],'uZxQC':function(_0x558ebe,_0xd6dc1){return _0x558ebe(_0xd6dc1);}};return _0x10bacb[_0x25ef97(0x207)](_0x15aa66['SJHaj'],![],_0x1d40ac=>{const _0x33dfc0=_0x25ef97;return _0x1d40ac['positional'](_0x33dfc0(0x100),{'type':_0x33dfc0(0x166),'description':_0x15aa66[_0x33dfc0(0x1f0)],'demandOption':!![]});},async _0x23c13b=>{const _0x440154=_0x25ef97;_0x11394b[_0x440154(0x237)](warnRenamed,_0x11394b[_0x440154(0x111)],'ranger\x20profile\x20encrypt-auth'),await _0x11394b['uZxQC'](authEncrypt,_0x23c13b['profile']);})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command'](_0x15aa66[_0x2f37f6(0x221)],![],_0x185e01=>{const _0x1aa85b=_0x2f37f6;return _0x185e01['positional'](_0x15aa66[_0x1aa85b(0x22b)],{'type':'string','description':_0x15aa66['hwmSP']})['option'](_0x1aa85b(0x96),{'type':_0x1aa85b(0x1bb),'description':_0x15aa66[_0x1aa85b(0x7b)],'default':![]})['option'](_0x1aa85b(0x8b),{'type':'string','choices':['user'],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option']('url',{'type':_0x1aa85b(0x166),'description':_0x1aa85b(0x163)})['option'](_0x15aa66[_0x1aa85b(0x1d5)],{'type':'boolean','description':_0x1aa85b(0x1a2),'default':![]})[_0x1aa85b(0x19f)](_0x15aa66[_0x1aa85b(0x1fa)],{'type':'boolean','description':_0x1aa85b(0x184),'default':![]})['option']('with-deps',{'type':_0x1aa85b(0x1bb),'description':_0x15aa66['OFYxD'],'default':![]});},async _0x5c4ef4=>{const _0x4f4fc3=_0x2f37f6;_0x15aa66['GmMty'](warnRenamed,_0x15aa66[_0x4f4fc3(0x21b)],_0x15aa66[_0x4f4fc3(0x75)]),await withTelemetry(_0x4f4fc3(0x9f),_0x372f26=>start(_0x5c4ef4['token'],{'skipChromium':_0x5c4ef4[_0x4f4fc3(0x96)],'skipAuth':_0x5c4ef4['skip-auth'],'withDeps':_0x5c4ef4[_0x4f4fc3(0x112)],'scope':_0x5c4ef4['scope'],'url':_0x5c4ef4[_0x4f4fc3(0x1e8)],'force':_0x5c4ef4[_0x4f4fc3(0x202)]},_0x372f26));})[_0x2f37f6(0x207)](_0x15aa66['ocnCt'],![],_0x5aa62b=>{const _0x23d16e=_0x2f37f6;return _0x5aa62b['option'](_0x23d16e(0x14c),{'type':_0x15aa66[_0x23d16e(0x21f)],'description':_0x23d16e(0xf4)})['option'](_0x15aa66[_0x23d16e(0x233)],{'type':_0x15aa66[_0x23d16e(0x21f)],'description':_0x23d16e(0x84)})['option'](_0x23d16e(0xd3),{'type':_0x15aa66['yDTVo'],'description':'Scenario\x20index\x20(1-based)'})['option'](_0x23d16e(0x100),{'type':'string','hidden':!![]})['option'](_0x15aa66[_0x23d16e(0xb7)],{'type':'string','hidden':!![]})['option'](_0x23d16e(0x1fb),{'type':_0x23d16e(0x213),'hidden':!![]})[_0x23d16e(0x19f)](_0x23d16e(0xba),{'type':_0x15aa66['trFHA'],'description':_0x15aa66['xBdYf']})[_0x23d16e(0x19f)](_0x23d16e(0x10f),{'type':_0x15aa66[_0x23d16e(0x21f)],'description':_0x15aa66[_0x23d16e(0xf2)]})[_0x23d16e(0x19f)]('model',{'type':'string','hidden':!![]})['option'](_0x23d16e(0x176),{'type':_0x23d16e(0x1bb),'hidden':!![],'default':![]})[_0x23d16e(0x19f)](_0x15aa66['ovtpa'],{'type':_0x15aa66['trFHA'],'hidden':!![],'choices':[_0x15aa66[_0x23d16e(0x1f6)],_0x15aa66[_0x23d16e(0x15f)],_0x15aa66['QIrYA'],_0x23d16e(0x99),'incomplete']});},async _0x5a057f=>{await runGoCommand(_0x5a057f,!![]);})[_0x2f37f6(0x207)](_0x15aa66['YsaQk'],![],_0x2a2898=>{const _0x58f71a=_0x2f37f6;return _0x2a2898['positional'](_0x15aa66['XywDb'],{'type':_0x15aa66[_0x58f71a(0x21f)],'description':_0x58f71a(0x193),'demandOption':!![]})['option']('ci',{'type':_0x15aa66['QLquY'],'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x15aa66['EwtuS'],{'type':_0x58f71a(0x1bb),'description':_0x58f71a(0x21d),'default':![]});},async _0x5dcc38=>{const _0xd0ac72=_0x2f37f6;_0x15aa66[_0xd0ac72(0x12a)](warnRenamed,_0x15aa66[_0xd0ac72(0x164)],_0xd0ac72(0x117)),await withTelemetry(_0xd0ac72(0x12f),_0x218500=>addEnv(_0x5dcc38[_0xd0ac72(0x12c)],{'ci':_0x5dcc38['ci'],'skipAuth':_0x5dcc38[_0xd0ac72(0x74)]},_0x218500));})['command']('use\x20<env-name>',![],_0x2791b1=>{const _0x497342=_0x2f37f6;return _0x2791b1[_0x497342(0x88)](_0x15aa66['XywDb'],{'type':_0x15aa66[_0x497342(0x21f)],'description':_0x497342(0x7d),'demandOption':!![]});},async _0x551bea=>{const _0x55bf3b=_0x2f37f6;warnRenamed(_0x15aa66['iSgQQ'],_0x15aa66['OBatF']),await withTelemetry(_0x55bf3b(0x9e),()=>useEnv(_0x551bea['env-name']));})['command'](_0x15aa66['NTSbd'],![],_0x44b055=>{const _0x1c7c3e=_0x2f37f6,_0x27d6d0={'zQpvN':_0x1c7c3e(0x128),'iYRJb':_0x1c7c3e(0xe9),'OjCyN':function(_0x25ca9d,_0x5b7ddf,_0x3e89e2){const _0x3b922f=_0x1c7c3e;return _0x15aa66[_0x3b922f(0x1f1)](_0x25ca9d,_0x5b7ddf,_0x3e89e2);},'dmbpw':'ranger\x20config\x20get','aMqyu':_0x15aa66['vbLqr'],'scUYC':_0x15aa66['LIKyE'],'UVvZs':_0x15aa66['Vbarc'],'cVJhL':_0x15aa66['UxHWj']};return _0x44b055[_0x1c7c3e(0x207)](_0x15aa66[_0x1c7c3e(0x229)],![],_0x5b854d=>{const _0x1a50af=_0x1c7c3e;return _0x5b854d[_0x1a50af(0x88)](_0x15aa66[_0x1a50af(0x187)],{'type':_0x15aa66[_0x1a50af(0x21f)],'description':_0x15aa66[_0x1a50af(0x1ab)],'demandOption':!![]})[_0x1a50af(0x88)]('key',{'type':_0x15aa66['trFHA'],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})[_0x1a50af(0x88)](_0x15aa66['HDxmv'],{'type':'string','description':_0x15aa66[_0x1a50af(0x173)],'demandOption':!![]});},async _0x2827a7=>{const _0x4f5974=_0x1c7c3e;_0x15aa66['lQQra'](warnRenamed,'ranger\x20config\x20set',_0x4f5974(0x1f9)),await _0x15aa66[_0x4f5974(0x174)](withTelemetry,_0x4f5974(0x1a0),()=>configSet(_0x2827a7[_0x4f5974(0x14c)],_0x2827a7[_0x4f5974(0x128)],_0x2827a7['value']));})['command'](_0x15aa66[_0x1c7c3e(0x196)],![],_0x43514e=>{const _0x5f0126=_0x1c7c3e;return _0x43514e['positional']('env',{'type':'string','description':'Environment\x20name','demandOption':!![]})['positional'](_0x27d6d0['zQpvN'],{'type':_0x5f0126(0x166),'description':_0x27d6d0[_0x5f0126(0xb9)],'demandOption':!![]});},async _0xb63200=>{const _0x400f4f=_0x1c7c3e;_0x27d6d0[_0x400f4f(0x127)](warnRenamed,_0x27d6d0['dmbpw'],_0x27d6d0['aMqyu']),await withTelemetry('config\x20get',()=>configGet(_0xb63200['env'],_0xb63200[_0x400f4f(0x128)]));})['command'](_0x15aa66[_0x1c7c3e(0x78)],![],_0x3e889e=>{const _0x377614=_0x1c7c3e;return _0x3e889e[_0x377614(0x88)]('env',{'type':'string','description':_0x377614(0x226),'demandOption':!![]});},async _0x3855cd=>{const _0x3bfc95=_0x1c7c3e;warnRenamed(_0x15aa66['dmwHf'],_0x15aa66['UoWfL']),await withTelemetry(_0x3bfc95(0xe6),()=>configList(_0x3855cd['env']));})['command'](_0x1c7c3e(0xe8),![],_0x12bac7=>{const _0x4849dc=_0x1c7c3e;return _0x12bac7[_0x4849dc(0x88)](_0x15aa66['QhAaw'],{'type':'string','description':'Environment\x20name','demandOption':!![]})['positional'](_0x15aa66['WGlUu'],{'type':_0x15aa66[_0x4849dc(0x21f)],'description':_0x15aa66[_0x4849dc(0x1df)],'demandOption':!![]});},async _0x5444d8=>{const _0x400088=_0x1c7c3e;_0x27d6d0[_0x400088(0x127)](warnRenamed,_0x27d6d0[_0x400088(0x8d)],_0x27d6d0[_0x400088(0x13f)]),await _0x27d6d0[_0x400088(0x127)](withTelemetry,_0x27d6d0['cVJhL'],()=>configUnset(_0x5444d8[_0x400088(0x14c)],_0x5444d8['key']));})[_0x1c7c3e(0x1f3)](0x1,_0x1c7c3e(0xa5));})[_0x2f37f6(0x207)](_0x15aa66['QhAaw'],![],_0x1dbea2=>{const _0x319588=_0x2f37f6,_0x5f0151={'JoBGV':_0x319588(0x12c),'pDzaX':_0x15aa66[_0x319588(0x21f)]};return _0x1dbea2['command']('ls',![],()=>{},async()=>{const _0x4eaf79=_0x319588;warnRenamed(_0x4eaf79(0x10b),'ranger\x20profile\x20ls'),await withTelemetry(_0x15aa66['xrEuG'],()=>envList());})['command']('update\x20<env-name>',![],_0x450a82=>{const _0x1061a6=_0x319588;return _0x450a82[_0x1061a6(0x88)](_0x5f0151[_0x1061a6(0x1e0)],{'type':_0x5f0151['pDzaX'],'description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0xbb51aa=>{const _0x1189ca=_0x319588;_0x15aa66['uVowe'](warnRenamed,_0x15aa66[_0x1189ca(0x208)],_0x1189ca(0x129)),await withTelemetry(_0x15aa66[_0x1189ca(0x12d)],_0x27182e=>updateEnv(_0xbb51aa['env-name'],_0x27182e));})[_0x319588(0x1f3)](0x1,'You\x20must\x20specify\x20an\x20env\x20subcommand');})['command']('feature',![],_0x55b28c=>{const _0x56ca7b=_0x2f37f6,_0x4cd7a9={'DSkuo':function(_0x1d5bdc,_0x3a883b,_0x5ae2d7){return _0x1d5bdc(_0x3a883b,_0x5ae2d7);},'AIWmR':function(_0x562890,_0x367a52,_0x423c78,_0x5421be){return _0x562890(_0x367a52,_0x423c78,_0x5421be);},'TkeFm':_0x15aa66[_0x56ca7b(0x18b)],'ejqXR':_0x15aa66[_0x56ca7b(0x1d7)],'ypHwe':'--scenario','vaoXC':_0x15aa66['qYwOv'],'RvbKX':_0x15aa66['QLquY'],'XOIoN':_0x15aa66[_0x56ca7b(0xc2)],'wXHol':_0x15aa66[_0x56ca7b(0x8a)],'HNPiW':'offset','BcxTA':_0x15aa66[_0x56ca7b(0x10e)],'GQSYS':function(_0x173cb3,_0x1d65d0,_0x1999d0){return _0x173cb3(_0x1d65d0,_0x1999d0);},'MSQkI':'feature\x20list','gEihX':_0x15aa66[_0x56ca7b(0x1c3)],'blkDS':_0x56ca7b(0x181),'KrXEr':'string','xxQLd':function(_0x25f882,_0x2b437e,_0x2afeaa){return _0x25f882(_0x2b437e,_0x2afeaa);},'xqCOT':'ranger\x20feature\x20resume','vQJBh':_0x15aa66['pVJjT'],'cOTEX':function(_0x3ebbd2,_0x2d9c6b,_0x5a0ab9){return _0x3ebbd2(_0x2d9c6b,_0x5a0ab9);},'ZKiNq':_0x15aa66['qBRDD']};return _0x55b28c[_0x56ca7b(0x207)](_0x15aa66[_0x56ca7b(0xf8)],![],_0x4eae6b=>{const _0x5b770b=_0x56ca7b;return _0x4eae6b['positional']('name',{'type':_0x5b770b(0x166),'description':_0x5b770b(0xd7),'demandOption':!![]})[_0x5b770b(0x19f)]('description',{'type':'string','alias':'d','description':'Feature\x20review\x20description'})['option']('checklist',{'type':_0x15aa66['kTeLx'],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x5b770b(0x19f)](_0x15aa66['sTdqO'],{'type':_0x15aa66[_0x5b770b(0x21a)],'hidden':!![]});},async _0x3b17df=>{const _0x4f350f=_0x56ca7b;_0x4cd7a9['DSkuo'](warnRenamed,'ranger\x20feature\x20create','ranger\x20create'),_0x4cd7a9['AIWmR'](warnFlagRenamed,_0x4cd7a9[_0x4f350f(0x20e)],_0x4cd7a9['ejqXR'],_0x4cd7a9['ypHwe']);const _0x1348bd=_0x3b17df['scenario']||_0x3b17df[_0x4f350f(0x1e6)];await withTelemetry(_0x4cd7a9['vaoXC'],()=>featureCreate(_0x3b17df['name'],{'description':_0x3b17df[_0x4f350f(0x16e)],'scenarios':_0x1348bd}));})['command']('list',![],_0xefc9c1=>{const _0x156de6=_0x56ca7b;return _0xefc9c1[_0x156de6(0x19f)]('current-branch',{'type':_0x4cd7a9['RvbKX'],'description':_0x156de6(0x222)})['option'](_0x4cd7a9[_0x156de6(0x1f7)],{'type':'number','alias':'l','description':_0x4cd7a9['wXHol'],'default':0xa})[_0x156de6(0x19f)](_0x4cd7a9['HNPiW'],{'type':'number','alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option'](_0x156de6(0xa6),{'type':_0x4cd7a9['RvbKX'],'alias':'d','description':_0x4cd7a9['BcxTA'],'default':![]});},async _0x406f51=>{const _0x277d2b=_0x56ca7b;_0x4cd7a9['DSkuo'](warnRenamed,_0x277d2b(0x235),_0x277d2b(0x15b)),await _0x4cd7a9[_0x277d2b(0x218)](withTelemetry,_0x4cd7a9[_0x277d2b(0x210)],()=>featureList({'currentBranch':_0x406f51['current-branch'],'limit':_0x406f51['limit'],'offset':_0x406f51['offset'],'includeDeleted':_0x406f51['include-deleted']}));})['command'](_0x15aa66['GTHlr'],![],_0x97a47c=>{const _0x1a0389=_0x56ca7b;return _0x97a47c[_0x1a0389(0x88)]('id',{'type':'string','description':_0x4cd7a9['gEihX']});},async _0x3523b7=>{const _0x2252d2=_0x56ca7b;_0x4cd7a9['DSkuo'](warnRenamed,_0x2252d2(0xdf),'ranger\x20show'),await _0x4cd7a9[_0x2252d2(0x218)](withTelemetry,_0x4cd7a9[_0x2252d2(0xd9)],()=>featureShow(_0x3523b7['id']));})['command'](_0x15aa66[_0x56ca7b(0x162)],![],_0xfa80fa=>{const _0x38f9cc=_0x56ca7b;return _0xfa80fa['positional']('id',{'type':_0x4cd7a9[_0x38f9cc(0x118)],'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x57a066=>{const _0x22bb6e=_0x56ca7b;_0x4cd7a9['xxQLd'](warnRenamed,_0x4cd7a9[_0x22bb6e(0x17b)],_0x4cd7a9[_0x22bb6e(0x104)]),await _0x4cd7a9['cOTEX'](withTelemetry,'feature\x20resume',()=>featureResume(_0x57a066['id']));})[_0x56ca7b(0x207)]('add-checklist-item\x20<description>',![],_0x20c6bd=>{const _0x566b7b=_0x56ca7b;return _0x20c6bd[_0x566b7b(0x88)]('description',{'type':_0x566b7b(0x166),'description':_0x566b7b(0x138),'demandOption':!![]})[_0x566b7b(0x19f)]('id',{'type':_0x15aa66['trFHA'],'description':_0x15aa66['cnLiL']});},async _0x26452d=>{const _0x2daa03=_0x56ca7b;_0x15aa66[_0x2daa03(0x156)](warnRenamed,_0x15aa66[_0x2daa03(0x13a)],_0x15aa66[_0x2daa03(0x1b4)]),await withTelemetry(_0x15aa66['kcYYv'],()=>featureAddScenario(_0x26452d[_0x2daa03(0x16e)],_0x26452d['id']));})['command'](_0x15aa66['JKhOc'],![],_0x137002=>{const _0x12a6b5=_0x56ca7b;return _0x137002['positional']('id',{'type':_0x15aa66[_0x12a6b5(0x21f)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x3e31ec=>{const _0x31041d=_0x56ca7b;warnRenamed('ranger\x20feature\x20get-feedback','ranger\x20get-review'),await _0x15aa66['XNvLv'](withTelemetry,_0x15aa66[_0x31041d(0xee)],()=>featureGetReview(_0x3e31ec['id']));})['command']('delete\x20[id]',![],_0x232f24=>{const _0x2fdec9=_0x56ca7b;return _0x232f24[_0x2fdec9(0x88)]('id',{'type':_0x15aa66['trFHA'],'description':_0x15aa66[_0x2fdec9(0x1c3)]});},async _0x302f38=>{const _0x1b413b=_0x56ca7b;warnRenamed(_0x4cd7a9[_0x1b413b(0x11d)],'ranger\x20delete'),await withTelemetry('feature\x20delete',()=>featureDelete(_0x302f38['id']));})[_0x56ca7b(0x207)]('restore\x20<id>',![],_0x284dfd=>{const _0x5844e1=_0x56ca7b;return _0x284dfd['positional']('id',{'type':_0x15aa66['trFHA'],'description':_0x15aa66[_0x5844e1(0xcb)],'demandOption':!![]});},async _0x44c92e=>{const _0x2c4e02=_0x56ca7b;warnRenamed(_0x15aa66['PHYeq'],_0x15aa66[_0x2c4e02(0x114)]),await withTelemetry(_0x15aa66['wvENS'],()=>featureRestore(_0x44c92e['id']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})[_0x2f37f6(0x207)](_0x2f37f6(0x147),![],_0x341aeb=>{const _0x30ed=_0x2f37f6,_0x2ad626={'eGCOI':_0x15aa66['trFHA'],'iBRYt':_0x15aa66['tSATm']};return _0x341aeb[_0x30ed(0x207)](_0x15aa66[_0x30ed(0xb6)],_0x15aa66[_0x30ed(0x105)],_0xa0f638=>{const _0xe6d606=_0x30ed;return _0xa0f638[_0xe6d606(0x19f)]('session-id',{'type':_0x2ad626['eGCOI'],'description':_0x2ad626[_0xe6d606(0x7a)]});},async _0x3c9e61=>{const _0x31e164=_0x30ed;await withTelemetry('hook:enable',()=>hook('enable',_0x3c9e61[_0x31e164(0xa2)]));})[_0x30ed(0x207)](_0x30ed(0x206),_0x15aa66['vASQO'],_0x32751d=>{const _0x51dc19=_0x30ed;return _0x32751d[_0x51dc19(0x19f)]('session-id',{'type':_0x51dc19(0x166),'description':_0x2ad626[_0x51dc19(0x7a)]});},async _0x339247=>{const _0x55b821=_0x30ed;await _0x15aa66['RKTQj'](withTelemetry,_0x15aa66[_0x55b821(0x180)],()=>hook('disable',_0x339247[_0x55b821(0xa2)]));})['option'](_0x30ed(0x223),{'type':_0x30ed(0x166),'description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})[_0x30ed(0x19f)]('session-id',{'type':'string','description':_0x15aa66['tSATm']});},async _0xe94530=>{const _0x463f0c=_0x2f37f6;_0xe94530['name']&&await _0x15aa66[_0x463f0c(0x14d)](hook,_0xe94530[_0x463f0c(0x223)],_0xe94530['session-id']);})[_0x2f37f6(0x1f3)](0x1,_0x15aa66['GGSqC'])[_0x2f37f6(0x22a)]()[_0x2f37f6(0x219)](async(_0x2c7c3f,_0x1bf7c5,_0x1f3cbe)=>{const _0x38973d=_0x2f37f6,_0x39f4d0=sanitizeArgs(process[_0x38973d(0x1cb)]['slice'](0x2)),_0x2c77cd=_0x15aa66['MGIfZ'](getErrorType,_0x2c7c3f,_0x1bf7c5);if(_0x2c7c3f&&_0x2c7c3f[_0x38973d(0x1ec)](_0x38973d(0x1e4))){const _0x209525=process['argv'][0x2];console[_0x38973d(0x154)](_0x38973d(0xc9)+_0x209525),console['error'](_0x15aa66[_0x38973d(0xc7)]);}else{if(_0x2c7c3f)console[_0x38973d(0x154)]('\x0a'+_0x2c7c3f+'\x0a');else _0x1bf7c5&&console[_0x38973d(0x154)]('\x0aError:\x20'+_0x1bf7c5['message']+'\x0a');}await logDesirePath({'rawCommand':_0x39f4d0,'errorMessage':_0x2c7c3f||_0x1bf7c5?.[_0x38973d(0x209)],'errorType':_0x2c77cd});const _0x3f189d=_0x15aa66['QnLtt'](getCurrentCollector);_0x3f189d&&await _0x3f189d['trackCommandError'](_0x1bf7c5||new Error(_0x15aa66['hIFjD'](_0x2c7c3f,_0x15aa66['NVxqZ']))),process[_0x38973d(0x1ee)](0x1);})['epilogue']('Documentation:\x0a'+_0x2f37f6(0x16a)+_0x2f37f6(0x77))[_0x2f37f6(0x19d)]()['alias']('help','h');}process[_0x1ff339(0x14c)][_0x1ff339(0x1b8)]!=='test'&&(shouldShowLegacyWarning(process[_0x1ff339(0x1cb)])&&showLegacyDeprecationWarning(),buildParser()[_0x1ff339(0xeb)]());
2
+ const _0x4874ed=_0x5f07;(function(_0x1f60b1,_0x4ff446){const _0x2fe6fc=_0x5f07,_0x276913=_0x1f60b1();while(!![]){try{const _0x7e0ad3=parseInt(_0x2fe6fc(0x1d3))/0x1+parseInt(_0x2fe6fc(0x256))/0x2*(parseInt(_0x2fe6fc(0x204))/0x3)+parseInt(_0x2fe6fc(0x139))/0x4+parseInt(_0x2fe6fc(0x22c))/0x5+-parseInt(_0x2fe6fc(0x209))/0x6+-parseInt(_0x2fe6fc(0x198))/0x7+-parseInt(_0x2fe6fc(0x1b6))/0x8;if(_0x7e0ad3===_0x4ff446)break;else _0x276913['push'](_0x276913['shift']());}catch(_0x48ddab){_0x276913['push'](_0x276913['shift']());}}}(_0xacad,0x98ad7));import _0x1f4509 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0xabf61e=_0x5f07,_0x1ece51={'auPwe':function(_0x2ed378,_0x5d44bd){return _0x2ed378!==_0x5d44bd;},'LccmT':function(_0x3f031f,_0x562e94){return _0x3f031f(_0x562e94);},'NfjKt':'.ranger','YbvXO':'.env'};let _0x3dba3a=process['cwd']();const _0x3aed40=parse(_0x3dba3a)[_0xabf61e(0x1ad)];while(_0x1ece51[_0xabf61e(0x189)](_0x3dba3a,_0x3aed40)){if(_0x1ece51['LccmT'](existsSync,join(_0x3dba3a,_0x1ece51['NfjKt']))||existsSync(join(_0x3dba3a,_0x1ece51[_0xabf61e(0x216)])))return _0x3dba3a;_0x3dba3a=dirname(_0x3dba3a);}return process['cwd']();}_0x1f4509[_0x4874ed(0x24d)]({'path':join(findProjectRoot(),'.env')});function _0xacad(){const _0x35257d=['token','Feature\x20review\x20name','Xuenm','JbxYu','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','list\x20<env>','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','checklist','EOxpT','ixEhI','mKTOP','setup:all','msJbk','KEhzf','model','ZpwNl','Include\x20soft-deleted\x20feature\x20reviews','uIORX','Switch\x20to\x20using\x20a\x20specific\x20profile','lFnTx','KxOni','Unknown\x20command','array','OfcjF','epilogue','aWqKU','set\x20<env>\x20<key>\x20<value>','HXJqI','BDfRl','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','Number\x20of\x20feature\x20reviews\x20to\x20skip','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','item','ranger\x20profile\x20config\x20set','Authenticate\x20via\x20MCP\x20proxy','XGXOF','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','--profile','\x0aUnknown\x20command:\x20','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','fMyjG','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','use\x20<env-name>','nlrmP','TFvNb','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','DhVJl','force','ovyTk','ranger\x20get-review','zUTSc','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','ccSUv','string','jxxuF','add-checklist-item\x20<description>','Feature\x20review\x20description','ranger\x20feature\x20create','BSSCo','ranger','zeOJx','You\x20must\x20specify\x20an\x20env\x20subcommand','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','cdp-endpoint','verified','--notes','pxwhn','CLtnR','RANGER_TEST_USERNAME','SejZq','nQmGe','unhandledRejection','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','\x20BLOCKED','vAcPy','HoYNT','synPa','Brhug','Skip\x20Chromium\x20browser\x20installation','--item','iGqSU','user','xNLQF','ranger\x20show','exit','setup-ci','ranger\x20feature\x20list','url','QQbEX','fwopS','update','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','OOmMg','Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','show\x20[id]','kdULj','4316704VnVXqB','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','report\x20[id]','AwBwe','skip-auth','GAipW','YUItt','length','start\x20[token]','clean','AuLdV','Environment\x20name','eUXUh','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','New\x20scenario\x20description','resume\x20[id]','yTtDo','list\x20<profile>','GnYXp','headed','qRgKq','SBOVa','issues','kaxTr','FLfls','euduT','boolean','zRQcu','iRmMF','resume','enable','create','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','start','UpgEd','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','option','disable','limit','nOuhq','Feature\x20review\x20ID','pnvzo','slice','STnZD','ranger\x20env\x20ls','dhFUk','HdqnT','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','CRYQT','Ngcua','profile-name','MNJuJ','cecmP','xVAMb','ranger\x20go','mcp','ranger\x20feature\x20restore','safe-mode','feature\x20show','eEbyV','EhCVd','tdcry','mkSVU','OgZIw','ialJn','EnrNx','Remove\x20a\x20config\x20value','WQOMK','\x0aError:\x20','CuqSY','update\x20<profile-name>','LpqrQ','XvkJN','Qiqsd','TjVez','repeat','value','Config\x20key\x20to\x20remove','Ranger\x20API\x20token','argv','auPwe','JWrPx','wAxED','jiYUh','yes','uUWfC','number','Set\x20a\x20config\x20value','awHcG','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','Authenticate\x20with\x20Ranger','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','ranger\x20profile\x20encrypt-auth','GYXET','bfzVB','2828371MlCvhg','jNyOw','\x20is\x20no\x20longer\x20supported.\x20','gaUTb','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','TeNnQ','--checklist','ranger\x20setup','add-scenario','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','verify-feature','ofGia','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','ZylUE','gtQUq','Skip\x20browser\x20authentication','hGSZL','ranger\x20start','config\x20list','includes','zIhQc','root','--task','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','OuPge','command','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','env','opencode','env-name','10041952HpeNHl','skills','✓\x20Authenticated\x20to\x20','oEAUK','ranger\x20verify-feature','--scenario','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','Profile\x20name','blocked','qXqtI','EYajW','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','AJAvZ','fail','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','QerwT','status','print-access-token','COOpk','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','login','hook:disable','List\x20all\x20config\x20for\x20a\x20profile','profile\x20use','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','jMdom','EXBMM','profile\x20update','json','1151594xMqdhi','xZTiM','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','log','UbXbD','PbBoJ','ranger\x20auth\x20encrypt','profile\x20migrate','organizationName','mwObv','Install\x20scope\x20for\x20plugin\x20and\x20skills','scenario','mhRAp','JMevm','profile\x20config\x20unset','save-creds','feature\x20add-checklist-item','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','project','use','get-review','scriptName','profile','ranger\x20env\x20update','test_output','AdecB','login\x20<name>','TGZvV','ZvBor','Install\x20skills\x20for\x20OpenCode','ranger\x20profile\x20add','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','CHUuv','\x0aIssues:','evaluation','encrypt-auth\x20<profile>','Install\x20Ranger\x20skills','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','tRKIv','You\x20must\x20specify\x20an\x20auth\x20subcommand','YAEBp','fPook','pNUoK','debug-address-comments','session-id','fKviY','SyXwn','SJxCM','Feature\x20review\x20ID\x20to\x20restore','33Nhmrow','xRpfh','RANGER_TEST_PASSWORD','cKWwO','allow-insecure-localhost','1522884lUvEDD','vSCKH','show','BoYop','setup:login','SPUkf','Nbhnf','BtKjY','Summary:\x20','wPKDu','nCTRj','key','Update\x20authentication\x20for\x20an\x20existing\x20profile','YbvXO','ranger\x20feature\x20delete','setup-ci\x20<token>','description','success','\x20VERIFIED','FifMj','doMwh','map','Name\x20of\x20the\x20environment\x20to\x20update','ranger\x20profile\x20config\x20unset','version','YQSwl','SPVsB','xXMWZ','positional','\x20\x20https://docs.ranger.net\x0a','feature','setup:skills','HVkWX','skillup','XFRoP','896965iOXJvq','mcp-bootstrap','hzmPc','QZETI','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','Documentation:\x0a','reset\x20<profile>','nNnBY','offset','ZegsT','JqxJS','You\x20must\x20specify\x20a\x20config\x20subcommand','iXzwe','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','demandCommand','GwFmA','RsKCH','nDlzl','task','with-deps','startsWith','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','kDfiv','error','Gqeic','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','base-url','Install\x20Chromium\x20browser\x20binary','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','scope','incomplete','unset\x20<profile>\x20<key>','kUgHB','config','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','partial','profile\x20delete','setup-header','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','skip-chromium','unset\x20<env>\x20<key>','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','23330AMEzqJ','CrzLc','ewoLO','\x20PARTIAL','QqEJZ','all','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','zLEnk','include-deleted','alias','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','get\x20<env>\x20<key>','vYOTC','Print\x20the\x20current\x20CLI\x20access\x20token','exitCode','restore\x20<id>','EiEsh','delete','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','add\x20<profile-name>','mSQft','Ranger\x20API\x20token\x20(rngr_...)','ComIf','EyMJp','pWWHf','SDCbw','Config\x20value','env\x20update','profile\x20config\x20reset','KyVWu','ranger\x20create','qCBUp','exclude-scenario','add-scenario\x20<description>','name','ranger\x20profile\x20config\x20list','tokenOrSubcommand','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','usage','current-branch'];_0xacad=function(){return _0x35257d;};return _0xacad();}import _0x3fba76 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';function _0x5f07(_0x198b1f,_0x490e19){_0x198b1f=_0x198b1f-0xdd;const _0xacad96=_0xacad();let _0x5f0785=_0xacad96[_0x198b1f];return _0x5f0785;}import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on'](_0x4874ed(0x120),async _0x409c7a=>{const _0x1b8a3d=_0x4874ed,_0x3441f9=getCurrentCollector();_0x3441f9&&await _0x3441f9['trackCommandError'](_0x409c7a),process[_0x1b8a3d(0x264)]=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=_0x4874ed(0x1af),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(_0x46bd9f,_0x425fbd){const _0x16cebc=_0x4874ed;console[_0x16cebc(0x243)]('\x0a'+_0x46bd9f+'\x20is\x20now\x20'+_0x425fbd+'\x0a');}function argUsed(_0xe15692){const _0x4a5c62=_0x4874ed;return rawArgs['some'](_0x59f12a=>_0x59f12a===_0xe15692||_0x59f12a[_0x4a5c62(0x240)](_0xe15692+'='));}function warnFlagRenamed(_0x44e101,_0xfb1fa9,_0x56f409){const _0x3115b5={'EDTFK':function(_0x3d94c7,_0x6c405c){return _0x3d94c7(_0x6c405c);},'svfxx':function(_0x1caa0a,_0x21f04e,_0x56e97e){return _0x1caa0a(_0x21f04e,_0x56e97e);}};_0x3115b5['EDTFK'](argUsed,_0xfb1fa9)&&_0x3115b5['svfxx'](warnRenamed,_0x44e101+'\x20'+_0xfb1fa9,_0x44e101+'\x20'+_0x56f409);}async function runGoCommand(_0x29222b,_0x5405c3=![]){const _0x427861=_0x4874ed,_0x23d85d={'ROxVY':function(_0x1903b6,_0xc9add0,_0x13b085){return _0x1903b6(_0xc9add0,_0x13b085);},'GAipW':_0x427861(0x1ba),'BDfRl':_0x427861(0x16f),'uUWfC':'--env','MMFBL':_0x427861(0xfd),'hGSZL':_0x427861(0x1ae),'bqXFM':_0x427861(0x128),'LpqrQ':function(_0x15e58a){return _0x15e58a();},'pnvzo':function(_0x347284,_0x34501c){return _0x347284===_0x34501c;},'FLwTo':'verified','QerwT':'incomplete','bqIav':'\x20INCOMPLETE','tRKIv':_0x427861(0x259)};_0x5405c3&&_0x23d85d['ROxVY'](warnRenamed,_0x23d85d[_0x427861(0x13e)],'ranger\x20go');warnFlagRenamed(_0x23d85d['BDfRl'],_0x23d85d[_0x427861(0x18e)],_0x23d85d['MMFBL']),warnFlagRenamed(_0x23d85d['BDfRl'],_0x23d85d[_0x427861(0x1a8)],_0x427861(0x11a)),warnFlagRenamed(_0x23d85d[_0x427861(0xf4)],_0x23d85d['bqXFM'],_0x427861(0x1bb));const _0x378d05=await loadRangerConfig(),_0x1b252c=_0x23d85d[_0x427861(0x180)](isByokEnabled),_0x43d596=_0x29222b[_0x427861(0xe6)],_0x598e66=_0x378d05[_0x427861(0xe6)],_0x10bcde=await verifyFeature({'featureId':_0x29222b[_0x427861(0x227)],'profile':_0x29222b['profile']??_0x29222b[_0x427861(0x1b3)]??process['env']['RANGER_PROFILE'],'notes':_0x29222b['notes']??_0x29222b[_0x427861(0x23e)],'scenario':_0x29222b['scenario']??_0x29222b[_0x427861(0xf8)],'startPath':_0x29222b['start-path'],'baseUrl':_0x29222b['base-url'],'debugOutcome':_0x29222b['debug-outcome'],'debugAddressComments':_0x29222b['debug-address-comments'],'headed':_0x29222b[_0x427861(0x14c)],'byokEnabled':_0x1b252c,'flagVerifyModel':_0x43d596,'configVerifyModel':_0x598e66});console[_0x427861(0x1d6)]('\x0a'+'='[_0x427861(0x184)](0x3c)),console['log'](_0x23d85d[_0x427861(0x162)](_0x10bcde[_0x427861(0x1f5)],_0x23d85d['FLwTo'])?_0x427861(0x21b):_0x10bcde['evaluation']===_0x23d85d[_0x427861(0x1c5)]?_0x23d85d['bqIav']:_0x10bcde['evaluation']==='partial'?_0x23d85d[_0x427861(0x1f9)]:_0x10bcde[_0x427861(0x1f5)]===_0x427861(0x1be)?_0x427861(0x122):'\x20FAILED'),console['log']('='['repeat'](0x3c)),console[_0x427861(0x1d6)](_0x427861(0x211)+_0x10bcde['summary']),console['log']('Evaluation:\x20'+_0x10bcde['evaluation']),console[_0x427861(0x1d6)]('Reason:\x20'+_0x10bcde['evaluationReason']),_0x10bcde['issues']?.[_0x427861(0x140)]&&(console[_0x427861(0x1d6)](_0x427861(0x1f4)),_0x10bcde[_0x427861(0x14f)]['forEach']((_0x55b9cc,_0x2c1a3d)=>{console['log']('\x0a'+(_0x2c1a3d+0x1)+'.\x20['+_0x55b9cc['severity']+']\x20'+_0x55b9cc['description']);})),process['exit'](_0x10bcde[_0x427861(0x1f5)]==='verified'?0x0:0x1);}export function buildParser(_0xc67862){const _0x39580c=_0x4874ed,_0xf6f910={'CRYQT':_0x39580c(0x27f),'EYajW':_0x39580c(0x219),'IViZv':_0x39580c(0x111),'TeNnQ':'scenario','LGKec':_0x39580c(0xdf),'iGqSU':_0x39580c(0xee),'dsKDw':'Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','nCTRj':'Example:\x20ranger\x20create\x20my-feature','AxjWe':function(_0xcef5a4,_0x300fe1,_0x2b3aa6,_0x554306){return _0xcef5a4(_0x300fe1,_0x2b3aa6,_0x554306);},'LLSpG':_0x39580c(0x274),'kDfiv':_0x39580c(0x1bb),'WQOMK':function(_0x939302,_0x169259,_0x328f63){return _0x939302(_0x169259,_0x328f63);},'vBwXa':_0x39580c(0x158),'ixEhI':_0x39580c(0x15f),'jOQCO':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','xNLQF':'boolean','QSiDv':'list','hzmPc':'Feature\x20review\x20ID','pxwhn':function(_0x485173,_0x39dd5d,_0x1b6b18){return _0x485173(_0x39dd5d,_0x1b6b18);},'AwBwe':function(_0x160b3d,_0x5cc4f4,_0x4fb3fb){return _0x160b3d(_0x5cc4f4,_0x4fb3fb);},'xXMWZ':'Scenario\x20description','ZegsT':_0x39580c(0x10e),'jxxuF':_0x39580c(0x248),'TGZvV':_0x39580c(0x1a0),'zTatH':_0x39580c(0x147),'UbXbD':'Scenario\x20number\x20to\x20edit\x20(1-based)','dSDSs':_0x39580c(0x276),'MdeFo':_0x39580c(0x1d2),'oEAUK':'token','zLEnk':'skip-chromium','pWWHf':_0x39580c(0x13d),'wPKDu':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','Gqeic':'opencode','PbBoJ':'allow-insecure-localhost','XFRoP':_0x39580c(0x22d),'LpLFO':_0x39580c(0x101),'yTtDo':_0x39580c(0x170),'XEwqp':'with-deps','zeOJx':_0x39580c(0xde),'qRgKq':_0x39580c(0x26b),'EhCVd':'ranger','HoYNT':function(_0x116395){return _0x116395();},'OfcjF':'user','kUgHB':'url','XArgv':'Base\x20URL\x20of\x20the\x20running\x20app','wDSqi':_0x39580c(0x1a7),'nlrmP':'force','HdqnT':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','LHkCx':_0x39580c(0x27a),'Ngalf':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','dhFUk':_0x39580c(0x25b),'JqxJS':'Run\x20full\x20interactive\x20setup','KcnMY':'Set\x20up\x20a\x20local\x20browser\x20profile','fKviY':_0x39580c(0x252),'mkSVU':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','lSXGA':_0x39580c(0x187),'kaxTr':'profile','SbxEa':_0x39580c(0x13a),'hOHCL':_0x39580c(0x246),'MpDlF':_0x39580c(0x1e4),'TFvNb':_0x39580c(0x12e),'GYXET':_0x39580c(0x1ca),'mKTOP':_0x39580c(0x1f0),'TjVez':'scope','vSCKH':'Install\x20scope\x20for\x20skills','SDCbw':'profile-name','CLtnR':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','WazLM':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','zUTSc':_0x39580c(0x118),'jMdom':_0x39580c(0x121),'YAEBp':_0x39580c(0x10c),'JWrPx':'setup-header','fqhKJ':_0x39580c(0x25c),'yjylE':'project','fwopS':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','hRrGT':_0x39580c(0x18d),'ialJn':function(_0x5af45c,_0x495741,_0x1e8d17,_0x4f5cf9){return _0x5af45c(_0x495741,_0x1e8d17,_0x4f5cf9);},'nDlzl':function(_0x672c9e,_0xc21332){return _0x672c9e(_0xc21332);},'nNnBY':function(_0x1da1ee,_0x34c98e,_0x75f1bf){return _0x1da1ee(_0x34c98e,_0x75f1bf);},'GXPLi':'Skip\x20the\x20deletion\x20confirmation\x20prompt.','Fvpqf':function(_0x791961,_0x255226,_0x2f6c3d){return _0x791961(_0x255226,_0x2f6c3d);},'Xuenm':'profile\x20encrypt-auth','BoYop':function(_0x4f1a3d,_0x479938,_0x5e4c10){return _0x4f1a3d(_0x479938,_0x5e4c10);},'lLiej':'profile\x20ls','SejZq':'name','Qiqsd':'Cloud\x20profile\x20name','EyMJp':function(_0x1a0175,_0x55895d){return _0x1a0175||_0x55895d;},'AFQwr':function(_0x4688d3,_0xafdfb){return _0x4688d3===_0xafdfb;},'irIUM':'not_configured','mwObv':'No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','KEhzf':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','KxOni':_0x39580c(0xf7),'VJGQW':_0x39580c(0x1bd),'PxxAO':'Config\x20key','gaUTb':_0x39580c(0x186),'slsZt':function(_0x14a8aa,_0x185e15,_0x13b6b1){return _0x14a8aa(_0x185e15,_0x13b6b1);},'NDdRG':'set\x20<profile>\x20<key>\x20<value>','GwFmA':_0x39580c(0x1cc),'SJxCM':_0x39580c(0x24b),'Ngcua':_0x39580c(0x232),'SXRVm':'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','qCBUp':_0x39580c(0x1f8),'fPook':_0x39580c(0x269),'RliZC':_0x39580c(0xea),'SPVsB':'delete\x20<profile-name>','jYWqn':'Delete\x20a\x20cloud\x20profile','Klrqy':_0x39580c(0x17f),'VfoGS':'Manage\x20profile\x20configuration','ugXAY':'status','xJcAx':function(_0x52ab40){return _0x52ab40();},'zRQcu':_0x39580c(0x1c7),'gigxe':'feature','msJbk':'Optional\x20feature\x20ID','IWhof':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','xpeDj':_0x39580c(0x19c),'mhRAp':'start-path','XrOfk':_0x39580c(0x239),'TOmWF':_0x39580c(0x260),'pNUoK':'model','KqoJc':_0x39580c(0x119),'vYOTC':'partial','csrPL':'failed','jitXu':_0x39580c(0x24a),'Cbkdb':'task','mPTws':_0x39580c(0x195),'LxqKN':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','DffQG':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','BTUbG':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','bbnNs':function(_0x40e8e0,_0x46b128,_0x26c061){return _0x40e8e0(_0x46b128,_0x26c061);},'YTjWw':_0x39580c(0x15a),'bfzVB':_0x39580c(0x1b3),'FifMj':_0x39580c(0x15c),'ZpwNl':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','EnrNx':_0x39580c(0xf8),'TjZNV':'Scenario\x20index\x20(1-based)','qHArS':'notes','OOmMg':_0x39580c(0x18f),'YUItt':'headed','iXzwe':function(_0x503b17,_0x452dc7,_0x5b821e){return _0x503b17(_0x452dc7,_0x5b821e);},'HXJqI':'env-name','jNyOw':_0x39580c(0x27b),'COOpk':function(_0x1a6f17,_0x296f73,_0x2c79e8){return _0x1a6f17(_0x296f73,_0x2c79e8);},'Seysr':'ranger\x20add\x20env','ovyTk':_0x39580c(0x1f1),'KyVWu':'add\x20env','Brhug':'ranger\x20use','EYTwp':'ranger\x20profile\x20use','nOuhq':function(_0x33ef49,_0x46a3d8,_0x45307e){return _0x33ef49(_0x46a3d8,_0x45307e);},'OgZIw':_0x39580c(0x1e6),'NgAVm':_0x39580c(0xf9),'Bkhdo':'ranger\x20config\x20get','yqcgz':_0x39580c(0x144),'CrzLc':'ranger\x20config\x20list','iBOtE':function(_0x1a06e5,_0x2c436f,_0x698adf){return _0x1a06e5(_0x2c436f,_0x698adf);},'STnZD':'ranger\x20config\x20unset','dSghZ':_0x39580c(0x220),'xRpfh':'config\x20unset','xbBDr':_0x39580c(0x270),'VfeSa':'key','QPVJc':_0x39580c(0x261),'OuPge':_0x39580c(0x254),'YJdfO':function(_0x214268,_0x377e3b,_0xb5ed14){return _0x214268(_0x377e3b,_0xb5ed14);},'Eyfdq':_0x39580c(0x271),'PsKGm':'offset','gxUAF':_0x39580c(0xf6),'QQbEX':_0x39580c(0x25e),'sidWI':'ranger\x20feature\x20get-feedback','ZCcdz':'feature\x20get-feedback','hkAlM':_0x39580c(0x217),'CHUuv':'ranger\x20delete','HvijT':_0x39580c(0x203),'RJFJZ':function(_0x78153f,_0x44a0c0,_0x2bf0ac){return _0x78153f(_0x44a0c0,_0x2bf0ac);},'Jhbeu':function(_0x3587be,_0x2f7d94,_0x4556cf){return _0x3587be(_0x2f7d94,_0x4556cf);},'BmGgM':'feature\x20create','EOxpT':'ranger\x20list','BtKjY':'ranger\x20feature\x20add-checklist-item','YwLXV':_0x39580c(0x1e3),'cKWwO':'create\x20<name>','KjKIn':'show\x20[id]','vBUdU':_0x39580c(0x110),'Nbhnf':_0x39580c(0x1ff),'keKsT':_0x39580c(0x1b2),'uIORX':function(_0x3b53a7,_0x4de525,_0x2bf618){return _0x3b53a7(_0x4de525,_0x2bf618);},'ZvBor':'hook:enable','lFnTx':_0x39580c(0x1cb),'RsKCH':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','iRmMF':_0x39580c(0x15e),'UpgEd':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','lnsxz':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','ldZiM':_0x39580c(0xed),'khSNS':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','wpgys':'Unknown\x20error','hdtlr':function(_0x21d9d4){return _0x21d9d4();},'cuokY':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','UnNij':'List\x20all\x20feature\x20reviews','nQmGe':'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','rnIvh':_0x39580c(0x277),'siloB':'edit-scenario\x20<description>','hVBac':_0x39580c(0xff),'eViSs':'get-review\x20[id]','jiYUh':_0x39580c(0x24e),'mSQft':'delete\x20[id]','XGXOF':'Restore\x20a\x20soft-deleted\x20feature\x20review','wyOQR':'setup\x20[tokenOrSubcommand]','qykpb':_0x39580c(0x218),'AdecB':_0x39580c(0x255),'yyhgm':'skillup','mmPPg':_0x39580c(0x1f7),'ypchA':_0x39580c(0x142),'EXBMM':'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','YPust':'Manage\x20profiles','QNTzk':_0x39580c(0x194),'xVAMb':_0x39580c(0x133),'cecmP':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','AFlky':_0x39580c(0x263),'ZVGUm':_0x39580c(0x141),'WpiAh':_0x39580c(0x24d),'CSbFQ':'You\x20must\x20specify\x20a\x20command','ROrIF':function(_0x2b6501,_0x411dae){return _0x2b6501+_0x411dae;},'imkBw':'help'};return _0xf6f910[_0x39580c(0x23d)](_0x3fba76,_0xc67862??process['argv'][_0x39580c(0x163)](0x2))[_0x39580c(0x1e8)](_0x39580c(0x114))[_0x39580c(0x27c)](TOP_LEVEL_HELP)[_0x39580c(0x221)](_0xf6f910['hdtlr'](getCurrentVersion))[_0x39580c(0x1b1)](_0xf6f910['cKWwO'],_0xf6f910['cuokY'],_0x37eeab=>{const _0x49ad4b=_0x39580c;return _0x37eeab[_0x49ad4b(0x225)](_0x49ad4b(0x278),{'type':_0x49ad4b(0x10e),'description':_0xf6f910[_0x49ad4b(0x169)],'demandOption':!![]})['option'](_0xf6f910['EYajW'],{'type':_0x49ad4b(0x10e),'alias':'d','description':_0xf6f910['IViZv']})[_0x49ad4b(0x15d)](_0xf6f910[_0x49ad4b(0x19d)],{'type':'array','alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option'](_0xf6f910['LGKec'],{'type':_0xf6f910[_0x49ad4b(0x129)],'hidden':!![]});},async _0x144c38=>{const _0x45f05b=_0x39580c;if(!_0x144c38['name']){console[_0x45f05b(0x243)](_0xf6f910['dsKDw']+_0xf6f910[_0x45f05b(0x213)]),process[_0x45f05b(0x12d)](0x1);return;}_0xf6f910['AxjWe'](warnFlagRenamed,_0xf6f910['LLSpG'],_0x45f05b(0x19e),_0xf6f910[_0x45f05b(0x242)]);const _0x354e04=_0x144c38['scenario']||_0x144c38[_0x45f05b(0xdf)];await _0xf6f910['WQOMK'](withTelemetry,_0xf6f910['vBwXa'],()=>featureCreate(_0x144c38[_0x45f05b(0x278)],{'description':_0x144c38['description'],'scenarios':_0x354e04}));})[_0x39580c(0x1b1)]('list',_0xf6f910['UnNij'],_0x268973=>{const _0x21bd1f=_0x39580c;return _0x268973['option']('current-branch',{'type':_0x21bd1f(0x153),'description':_0x21bd1f(0x245)})['option'](_0xf6f910[_0x21bd1f(0xe1)],{'type':'number','alias':'l','description':_0xf6f910['jOQCO'],'default':0xa})['option']('offset',{'type':_0x21bd1f(0x18f),'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option'](_0x21bd1f(0x25e),{'type':_0xf6f910[_0x21bd1f(0x12b)],'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x24c561=>{const _0x309b73=_0x39580c;await withTelemetry(_0xf6f910['QSiDv'],()=>featureList({'currentBranch':_0x24c561[_0x309b73(0x27d)],'limit':_0x24c561[_0x309b73(0x15f)],'offset':_0x24c561[_0x309b73(0x234)],'includeDeleted':_0x24c561['include-deleted']}));})[_0x39580c(0x1b1)](_0x39580c(0x137),_0xf6f910[_0x39580c(0x11f)],_0x19e386=>{const _0x9da5de=_0x39580c;return _0x19e386[_0x9da5de(0x225)]('id',{'type':'string','description':_0xf6f910[_0x9da5de(0x22e)]});},async _0x1f7028=>{const _0x56ba28=_0x39580c;await _0xf6f910['pxwhn'](withTelemetry,_0x56ba28(0x20b),()=>featureShow(_0x1f7028['id']));})[_0x39580c(0x1b1)]('resume\x20[id]','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x7ec326=>{const _0x4eaf6f=_0x39580c;return _0x7ec326[_0x4eaf6f(0x225)]('id',{'type':_0x4eaf6f(0x10e),'description':_0x4eaf6f(0x230)});},async _0x574d44=>{const _0xeaa677=_0x39580c;await _0xf6f910[_0xeaa677(0x13c)](withTelemetry,_0xeaa677(0x156),()=>featureResume(_0x574d44['id']));})[_0x39580c(0x1b1)](_0xf6f910['rnIvh'],'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x3b6b98=>{const _0x3b0d0d=_0x39580c;return _0x3b6b98['positional'](_0xf6f910[_0x3b0d0d(0x1c0)],{'type':_0x3b0d0d(0x10e),'description':_0xf6f910[_0x3b0d0d(0x224)],'demandOption':!![]})['option']('id',{'type':_0xf6f910['ZegsT'],'description':_0xf6f910['jxxuF']});},async _0x193106=>{const _0x237330=_0x39580c;await withTelemetry(_0xf6f910[_0x237330(0x1ee)],()=>featureAddScenario(_0x193106['description'],_0x193106['id']));})['command'](_0xf6f910['siloB'],_0xf6f910['hVBac'],_0x3b0243=>{const _0x177e1b=_0x39580c;return _0x3b0243['positional'](_0x177e1b(0x219),{'type':_0xf6f910[_0x177e1b(0x235)],'description':_0xf6f910['zTatH'],'demandOption':!![]})['option']('scenario',{'type':'number','description':_0xf6f910[_0x177e1b(0x1d7)],'demandOption':!![]})[_0x177e1b(0x15d)]('id',{'type':_0xf6f910[_0x177e1b(0x235)],'description':_0xf6f910[_0x177e1b(0x10f)]});},async _0x49fb5f=>{await withTelemetry('edit-scenario',()=>featureEditScenario(_0x49fb5f['description'],{'id':_0x49fb5f['id'],'scenario':_0x49fb5f['scenario']}));})['command'](_0x39580c(0x13b),_0x39580c(0x117),_0x198db9=>{const _0x78e920=_0x39580c;return _0x198db9[_0x78e920(0x225)]('id',{'type':_0x78e920(0x10e),'description':_0x78e920(0x161)})['option'](_0xf6f910['dSDSs'],{'type':'array','description':_0x78e920(0x1d5)})[_0x78e920(0x15d)](_0xf6f910['MdeFo'],{'type':_0xf6f910[_0x78e920(0x12b)],'description':_0x78e920(0x1a4),'default':![]});},async _0x530447=>{const _0x2df368=_0x39580c,_0x53a9ab=_0x530447[_0x2df368(0x276)],_0x4c87d4=_0x53a9ab?_0x53a9ab[_0x2df368(0x21e)](_0xc8a468=>Number(_0xc8a468)):undefined;await _0xf6f910['WQOMK'](withTelemetry,'report',()=>featureReportPrDescription(_0x530447['id'],{'excludeScenarios':_0x4c87d4,'json':_0x530447['json']}));})[_0x39580c(0x1b1)](_0xf6f910['eViSs'],_0xf6f910[_0x39580c(0x18c)],_0x33da15=>{const _0x124c0c=_0x39580c;return _0x33da15[_0x124c0c(0x225)]('id',{'type':_0x124c0c(0x10e),'description':_0xf6f910['jxxuF']});},async _0x158c93=>{const _0x397c62=_0x39580c;await _0xf6f910['WQOMK'](withTelemetry,_0x397c62(0x1e7),()=>featureGetReview(_0x158c93['id']));})[_0x39580c(0x1b1)](_0xf6f910[_0x39580c(0x26a)],'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x4d9b1e=>{const _0x14aee1=_0x39580c;return _0x4d9b1e[_0x14aee1(0x225)]('id',{'type':_0x14aee1(0x10e),'description':_0xf6f910[_0x14aee1(0x22e)]});},async _0x1f4db7=>{const _0x3ef05b=_0x39580c;await withTelemetry(_0x3ef05b(0x267),()=>featureDelete(_0x1f4db7['id']));})['command'](_0x39580c(0x265),_0xf6f910[_0x39580c(0xfb)],_0x72e076=>{const _0x4918d7=_0x39580c;return _0x72e076['positional']('id',{'type':_0xf6f910[_0x4918d7(0x235)],'description':_0x4918d7(0x203),'demandOption':!![]});},async _0xacc833=>{await withTelemetry('restore',()=>featureRestore(_0xacc833['id']));})['command'](_0xf6f910['wyOQR'],'Initialize\x20Ranger\x20in\x20your\x20project',_0x1f08a7=>{const _0x46eaf9=_0x39580c,_0x4bb60e={'CuqSY':function(_0x2b8225,_0x35c3ce,_0x1e0fdc){return _0x2b8225(_0x35c3ce,_0x1e0fdc);},'SyXwn':_0x46eaf9(0xe3),'IzeId':function(_0x8474f8,_0x1f28ad){return _0x8474f8(_0x1f28ad);},'rGrJd':'scope','aJsjS':'string','tqETI':'boolean','GrpMH':function(_0x580f4f,_0x3ee1fc){return _0x580f4f!==_0x3ee1fc;},'XvkJN':_0x46eaf9(0x12a),'ComIf':'setup:profiles'};return _0x1f08a7['usage'](_0x46eaf9(0x1c1))[_0x46eaf9(0x225)](_0xf6f910['LHkCx'],{'type':_0xf6f910['ZegsT'],'description':_0xf6f910['Ngalf']})['command'](_0xf6f910[_0x46eaf9(0x166)],_0xf6f910[_0x46eaf9(0x236)],_0x3d2581=>{const _0x359ff4=_0x46eaf9;return _0x3d2581['option'](_0xf6f910['oEAUK'],{'type':_0xf6f910[_0x359ff4(0x235)],'description':'Ranger\x20API\x20token'})[_0x359ff4(0x15d)](_0xf6f910[_0x359ff4(0x25d)],{'type':'boolean','description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x359ff4(0x15d)](_0xf6f910[_0x359ff4(0x26e)],{'type':'boolean','description':'Skip\x20authentication','default':![]})['option'](_0x359ff4(0x23f),{'type':_0xf6f910[_0x359ff4(0x12b)],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]})['option']('scope',{'type':_0xf6f910['ZegsT'],'choices':['user'],'hidden':!![],'description':_0xf6f910[_0x359ff4(0x212)]})['option']('url',{'type':'string','description':_0x359ff4(0x241)})['option'](_0x359ff4(0x108),{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x359ff4(0x15d)](_0xf6f910[_0x359ff4(0x244)],{'type':_0x359ff4(0x153),'description':_0x359ff4(0x146),'default':![]})[_0x359ff4(0x15d)](_0xf6f910[_0x359ff4(0x1d8)],{'type':_0xf6f910[_0x359ff4(0x12b)],'description':_0x359ff4(0x1c4),'default':![]})['option'](_0xf6f910[_0x359ff4(0x22b)],{'type':_0xf6f910['xNLQF'],'description':_0xf6f910['LpLFO'],'default':![]})['option'](_0xf6f910[_0x359ff4(0x149)],{'type':_0x359ff4(0x153),'description':'Alias\x20for\x20--mcp-bootstrap','default':![]});},async _0x565d40=>{const _0x30a582=_0x46eaf9;(_0x565d40['mcp-bootstrap']||_0x565d40['mcp'])&&await withTelemetry(_0x30a582(0x22d),()=>mcpBootstrap()),await _0x4bb60e[_0x30a582(0x17e)](withTelemetry,_0x4bb60e[_0x30a582(0x201)],_0x3e6b9d=>start(_0x565d40['token'],{'skipChromium':_0x565d40['skip-chromium'],'skipAuth':_0x565d40[_0x30a582(0x13d)],'withDeps':_0x565d40['with-deps'],'scope':_0x565d40[_0x30a582(0x249)],'url':_0x565d40[_0x30a582(0x130)],'force':_0x565d40[_0x30a582(0x108)],'opencode':_0x565d40['opencode'],'allowInsecureLocalhost':_0x565d40[_0x30a582(0x208)]},_0x3e6b9d));})[_0x46eaf9(0x1b1)]('deps',_0x46eaf9(0x247),_0xdade85=>{return _0xdade85['option'](_0xf6f910['XEwqp'],{'type':_0xf6f910['xNLQF'],'description':_0xf6f910['zeOJx'],'default':![]});},async _0x2b4ce4=>{const _0xa3d839=_0x46eaf9;await withTelemetry('setup:deps',()=>ensureChromium(_0x2b4ce4[_0xa3d839(0x23f)]));})[_0x46eaf9(0x1b1)](_0x46eaf9(0x1ca),_0x46eaf9(0x193),_0x24086a=>{const _0x48d498=_0x46eaf9;return _0x24086a[_0x48d498(0x15d)](_0xf6f910[_0x48d498(0x1b9)],{'type':_0xf6f910[_0x48d498(0x235)],'description':_0xf6f910[_0x48d498(0x14d)]})['option']('mcp',{'type':'boolean','description':_0x48d498(0xfa),'default':![]});},async _0x4cc8b9=>{const _0xabd949=_0x46eaf9,_0x1d4830={'JbxYu':function(_0x10cc5e,_0x805114){return _0x4bb60e['IzeId'](_0x10cc5e,_0x805114);}};await withTelemetry(_0xabd949(0x20d),async()=>{const _0x446f08=_0xabd949;if(_0x4cc8b9[_0x446f08(0x170)]){await mcpBootstrap();const _0x4626bc=await refreshCliToken();if(!_0x4626bc)throw new Error('Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.');const _0x4b01df=await getCurrentUser(_0x4626bc);if(!_0x4b01df[_0x446f08(0x21a)])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x4b01df['error']);console[_0x446f08(0x1d6)](_0x446f08(0x1b8)+_0x4b01df[_0x446f08(0x12a)][_0x446f08(0x1db)]);return;}await _0x1d4830[_0x446f08(0x281)](authenticate,_0x4cc8b9['token']);});})['command'](_0x46eaf9(0x1b7),_0x46eaf9(0x168),_0x4f1e32=>{const _0x5cbcc2=_0x46eaf9;return _0x4f1e32['option'](_0x4bb60e['rGrJd'],{'type':_0x4bb60e['aJsjS'],'choices':[_0x5cbcc2(0x12a),_0x5cbcc2(0x1e5)],'description':_0x5cbcc2(0x1dd)})[_0x5cbcc2(0x15d)]('opencode',{'type':_0x4bb60e['tqETI'],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]});},async _0x4e04db=>{const _0x122964=_0x46eaf9,_0x3ec1cd={'IVxsT':function(_0x5e2944,_0x214e78,_0x9ca535){return _0x5e2944(_0x214e78,_0x9ca535);},'zHONN':_0xf6f910[_0x122964(0x175)],'xZTiM':function(_0x3b9a36){const _0x4df7e5=_0x122964;return _0xf6f910[_0x4df7e5(0x124)](_0x3b9a36);},'AJAvZ':function(_0xc8ac30,_0x506456){return _0xc8ac30(_0x506456);}};await _0xf6f910[_0x122964(0x13c)](withTelemetry,_0x122964(0x228),async()=>{const _0x339fb7=_0x122964,_0x401807=_0x4e04db['scope'];if(_0x4e04db[_0x339fb7(0x1b4)]){const _0x397e5d=await ensureOpencodePluginConfig(_0x401807);_0x397e5d&&await _0x3ec1cd['IVxsT'](installSkill,_0x3ec1cd['zHONN'],{'level':_0x397e5d[_0x339fb7(0x249)],'cliVersion':_0x3ec1cd[_0x339fb7(0x1d4)](getCurrentVersion),'platform':'opencode'});}else await _0x3ec1cd[_0x339fb7(0x1c2)](ensureClaudePlugin,_0x401807),await _0x3ec1cd[_0x339fb7(0x1c2)](ensureClaudeSkills,_0x401807);});})[_0x46eaf9(0x1b1)]('profiles',_0xf6f910['KcnMY'],_0x56ee9b=>{const _0x1cc69c=_0x46eaf9;return _0x56ee9b['option']('scope',{'type':'string','choices':[_0xf6f910[_0x1cc69c(0xef)]],'description':_0xf6f910['wPKDu']})['option'](_0xf6f910[_0x1cc69c(0x24c)],{'type':_0xf6f910['ZegsT'],'description':_0xf6f910['XArgv']})['option'](_0x1cc69c(0x13d),{'type':_0xf6f910['xNLQF'],'description':_0xf6f910['wDSqi'],'default':![]})[_0x1cc69c(0x15d)](_0xf6f910[_0x1cc69c(0x103)],{'type':_0xf6f910[_0x1cc69c(0x12b)],'description':_0x1cc69c(0x252),'default':![]})['option'](_0x1cc69c(0x208),{'type':_0xf6f910[_0x1cc69c(0x12b)],'description':_0xf6f910[_0x1cc69c(0x167)],'default':![]});},async _0x29b4f1=>{const _0x3c3ff4=_0x46eaf9,_0x1e58e0=_0x29b4f1['scope'];_0x1e58e0!==undefined&&_0x4bb60e['GrpMH'](_0x1e58e0,_0x4bb60e[_0x3c3ff4(0x181)])&&(console['error']('ranger\x20setup\x20profiles\x20--scope='+_0x1e58e0+_0x3c3ff4(0x19a)+_0x3c3ff4(0x268)+_0x3c3ff4(0x159)),process[_0x3c3ff4(0x12d)](0x1)),await _0x4bb60e['CuqSY'](withTelemetry,_0x4bb60e[_0x3c3ff4(0x26c)],_0xb4a7c1=>ensureLocalEnv({'url':_0x29b4f1['url'],'force':_0x29b4f1['force'],'allowInsecureLocalhost':_0x29b4f1[_0x3c3ff4(0x208)],'scope':'user'},_0xb4a7c1));})['option'](_0x46eaf9(0x253),{'type':_0xf6f910['xNLQF'],'description':_0x46eaf9(0x1c9),'default':![]})[_0x46eaf9(0x15d)](_0x46eaf9(0x249),{'type':'string','choices':[_0xf6f910[_0x46eaf9(0xef)]],'hidden':!![],'description':_0xf6f910['wPKDu']})[_0x46eaf9(0x15d)](_0x46eaf9(0x130),{'type':'string','description':_0x46eaf9(0x282)})['option']('force',{'type':_0xf6f910['xNLQF'],'description':_0xf6f910['fKviY'],'default':![]})[_0x46eaf9(0x15d)]('opencode',{'type':_0xf6f910['xNLQF'],'description':_0xf6f910[_0x46eaf9(0x177)],'default':![]})['option'](_0xf6f910['PbBoJ'],{'type':_0x46eaf9(0x153),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})['option'](_0xf6f910[_0x46eaf9(0x22b)],{'type':_0xf6f910[_0x46eaf9(0x12b)],'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','default':![]})[_0x46eaf9(0x15d)]('skip-auth',{'type':'boolean','description':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','default':![]})['option'](_0xf6f910['XEwqp'],{'type':_0x46eaf9(0x153),'description':_0xf6f910[_0x46eaf9(0x115)],'default':![]})[_0x46eaf9(0x15d)](_0xf6f910['oEAUK'],{'type':_0x46eaf9(0x10e),'hidden':!![],'description':'API\x20token'});},async _0x456aa7=>{const _0xfa61bc=_0x39580c,_0x23a6e7=_0x456aa7['tokenOrSubcommand'],_0x44e54=_0x456aa7['token']??_0x23a6e7;_0x456aa7[_0xfa61bc(0x22d)]&&await withTelemetry('mcp-bootstrap',()=>mcpBootstrap()),await withTelemetry(_0xfa61bc(0x15a),_0x54e008=>start(_0x44e54,{'skipChromium':_0x456aa7[_0xfa61bc(0x253)],'skipAuth':_0x456aa7['skip-auth'],'withDeps':_0x456aa7['with-deps'],'scope':_0x456aa7[_0xfa61bc(0x249)],'url':_0x456aa7[_0xfa61bc(0x130)],'force':_0x456aa7['force'],'opencode':_0x456aa7['opencode'],'allowInsecureLocalhost':_0x456aa7[_0xfa61bc(0x208)]},_0x54e008));})[_0x39580c(0x1b1)](_0xf6f910['qykpb'],![],_0x532253=>{const _0x4c0532=_0x39580c;return _0x532253[_0x4c0532(0x225)](_0xf6f910[_0x4c0532(0x1b9)],{'type':'string','description':_0xf6f910['lSXGA'],'demandOption':!![]})['option'](_0xf6f910[_0x4c0532(0x150)],{'type':_0x4c0532(0x10e),'description':_0xf6f910['SbxEa']})[_0x4c0532(0x15d)](_0xf6f910['hOHCL'],{'type':_0xf6f910[_0x4c0532(0x235)],'description':_0xf6f910['MpDlF']})['option'](_0x4c0532(0x253),{'type':_0xf6f910[_0x4c0532(0x12b)],'description':_0x4c0532(0x127),'default':![]});},async _0x4127e2=>{const _0x16b024=_0x39580c;await _0xf6f910['pxwhn'](withTelemetry,_0xf6f910[_0x16b024(0x104)],_0x2f7dcb=>setupCi(_0x4127e2[_0x16b024(0x27e)],{'profile':_0x4127e2[_0x16b024(0x1e9)],'baseUrl':_0x4127e2[_0x16b024(0x246)],'skipChromium':_0x4127e2[_0x16b024(0x253)]},_0x2f7dcb));})[_0x39580c(0x1b1)]('login',_0xf6f910[_0x39580c(0x1ec)],()=>{},async()=>{const _0x38bda1=_0x39580c;await _0xf6f910[_0x38bda1(0x17c)](withTelemetry,_0xf6f910[_0x38bda1(0x196)],()=>login());})[_0x39580c(0x1b1)](_0xf6f910['yyhgm'],_0xf6f910['mmPPg'],_0x2d2aab=>{const _0x434881=_0x39580c;return _0x2d2aab['option']('opencode',{'type':_0xf6f910['xNLQF'],'description':_0xf6f910[_0x434881(0xe2)],'default':![]})[_0x434881(0x15d)](_0xf6f910[_0x434881(0x183)],{'type':_0x434881(0x10e),'choices':[_0xf6f910[_0x434881(0xef)],'project'],'description':_0xf6f910[_0x434881(0x20a)]});},async _0x536bd2=>{const _0x21d0b8=_0x39580c,_0x31af18=Boolean(_0x536bd2[_0x21d0b8(0x1b4)]);await withTelemetry(_0x21d0b8(0x22a),()=>skillup({'autoInstall':_0x536bd2[_0x21d0b8(0x249)],'platform':_0x31af18?_0x21d0b8(0x1b4):'claude'}));})[_0x39580c(0x1b1)](_0xf6f910['ypchA'],_0xf6f910[_0x39580c(0x1d0)],()=>{},async()=>{const _0x2be273=_0x39580c;await withTelemetry(_0x2be273(0x142),()=>clean());})['command']([_0xf6f910[_0x39580c(0x150)],'profiles'],_0xf6f910['YPust'],_0x521bf9=>{const _0xfe41fa=_0x39580c,_0x24fdee={'kHIyd':_0xfe41fa(0x1e9),'YQSwl':function(_0x39794b,_0x54e074,_0x4aaf12){const _0x2f4436=_0xfe41fa;return _0xf6f910[_0x2f4436(0x20c)](_0x39794b,_0x54e074,_0x4aaf12);},'ccSUv':_0xfe41fa(0x1d1),'vAcPy':function(_0x5db7d2,_0x200654){const _0x42ff5e=_0xfe41fa;return _0xf6f910[_0x42ff5e(0x26d)](_0x5db7d2,_0x200654);},'synPa':function(_0x17c5cd,_0x813a9e){return _0xf6f910['AFQwr'](_0x17c5cd,_0x813a9e);},'xAifF':_0xf6f910['irIUM'],'SPUkf':_0xf6f910[_0xfe41fa(0x1dc)],'XgohJ':'unknown\x20error','euduT':_0xf6f910['ZegsT'],'ewoLO':_0xf6f910[_0xfe41fa(0xe5)],'HVkWX':_0xfe41fa(0x25b),'ofGia':'boolean','JMevm':'save-creds','wAxED':_0xf6f910[_0xfe41fa(0xec)],'vFdOi':_0xfe41fa(0x214),'AuLdV':'Config\x20value','zIhQc':function(_0x36b223,_0x216976,_0x2ad394){return _0xf6f910['AwBwe'](_0x36b223,_0x216976,_0x2ad394);},'wtQfT':_0xf6f910['VJGQW'],'Lnleo':_0xf6f910['PxxAO'],'BSSCo':_0xf6f910['gaUTb'],'AQQbL':function(_0x28164b,_0x5c7521,_0x44584a){return _0xf6f910['slsZt'](_0x28164b,_0x5c7521,_0x44584a);},'QZETI':_0xfe41fa(0x272),'yRnXu':_0xf6f910['NDdRG'],'kdULj':_0xf6f910[_0xfe41fa(0x23b)],'FLfls':_0xf6f910[_0xfe41fa(0x202)],'jOtXm':_0xf6f910[_0xfe41fa(0x16a)],'MNJuJ':_0xf6f910['SXRVm'],'eUXUh':_0xf6f910[_0xfe41fa(0x275)]};return _0x521bf9[_0xfe41fa(0x27c)](PROFILE_HELP)[_0xfe41fa(0x1b1)](_0xf6f910[_0xfe41fa(0x1fc)],'Add\x20profile\x20configuration',_0xeef69b=>{const _0x5c46ef=_0xfe41fa;return _0xeef69b[_0x5c46ef(0x225)](_0xf6f910[_0x5c46ef(0x26f)],{'type':_0xf6f910['ZegsT'],'description':_0xf6f910[_0x5c46ef(0x11c)],'demandOption':!![]})['option']('ci',{'type':'boolean','hidden':!![],'default':![]})[_0x5c46ef(0x15d)]('skip-auth',{'type':_0x5c46ef(0x153),'description':_0xf6f910['WazLM'],'default':![]})[_0x5c46ef(0x15d)]('url',{'type':_0xf6f910[_0x5c46ef(0x235)],'description':_0x5c46ef(0x1ce)})[_0x5c46ef(0x15d)]('force',{'type':_0xf6f910['xNLQF'],'description':_0xf6f910[_0x5c46ef(0x200)],'default':![]})[_0x5c46ef(0x15d)](_0xf6f910[_0x5c46ef(0x10b)],{'type':'string','description':_0xf6f910[_0x5c46ef(0x1cf)]})['option'](_0xf6f910[_0x5c46ef(0x1d8)],{'type':_0xf6f910[_0x5c46ef(0x12b)],'description':_0xf6f910['YAEBp'],'default':![]})[_0x5c46ef(0x15d)](_0x5c46ef(0x172),{'type':_0x5c46ef(0x153),'description':_0x5c46ef(0xf5),'default':![]})['option'](_0xf6f910[_0x5c46ef(0x18a)],{'type':_0xf6f910[_0x5c46ef(0x235)],'array':!![],'description':_0xf6f910['fqhKJ']})[_0x5c46ef(0x15d)](_0xf6f910[_0x5c46ef(0x183)],{'type':_0xf6f910['ZegsT'],'choices':['user',_0xf6f910['yjylE']],'description':_0xf6f910[_0x5c46ef(0x132)]})[_0x5c46ef(0x15d)](_0xf6f910['hRrGT'],{'type':_0x5c46ef(0x153),'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','default':![]});},async _0x37cbfa=>{const _0x4d4307=_0xfe41fa;await _0xf6f910[_0x4d4307(0x179)](withTelemetry,'profile\x20add',_0x3747b2=>addEnv(_0x37cbfa['profile-name'],{'ci':_0x37cbfa['ci'],'skipAuth':_0x37cbfa[_0x4d4307(0x13d)],'url':_0x37cbfa[_0x4d4307(0x130)],'force':_0x37cbfa[_0x4d4307(0x108)],'cdpEndpoint':_0x37cbfa['cdp-endpoint'],'allowInsecureLocalhost':_0x37cbfa[_0x4d4307(0x208)],'safeMode':_0x37cbfa[_0x4d4307(0x172)],'setupHeader':_0x37cbfa[_0x4d4307(0x251)],'scope':_0x37cbfa['scope'],'yes':_0x37cbfa[_0x4d4307(0x18d)]},_0x3747b2),{'isElectron':_0xf6f910[_0x4d4307(0x23d)](Boolean,_0x37cbfa['cdp-endpoint'])});})[_0xfe41fa(0x1b1)]('use\x20<profile-name>',_0xf6f910['RliZC'],_0xc5e6d2=>{const _0xdfdc05=_0xfe41fa;return _0xc5e6d2[_0xdfdc05(0x225)]('profile-name',{'type':'string','description':'Name\x20of\x20the\x20profile','demandOption':!![]});},async _0x53c40e=>{const _0x921303=_0xfe41fa;await _0xf6f910['nNnBY'](withTelemetry,_0x921303(0x1cd),()=>useEnv(_0x53c40e[_0x921303(0x16b)]));})[_0xfe41fa(0x1b1)](_0xf6f910[_0xfe41fa(0x223)],_0xf6f910['jYWqn'],_0x11d318=>{const _0x1cd099=_0xfe41fa;return _0x11d318[_0x1cd099(0x225)](_0xf6f910['SDCbw'],{'type':_0xf6f910[_0x1cd099(0x235)],'description':_0x1cd099(0x136),'demandOption':!![]})[_0x1cd099(0x15d)]('yes',{'type':_0xf6f910[_0x1cd099(0x12b)],'alias':'y','description':_0xf6f910['GXPLi'],'default':![]});},async _0x4baa6c=>{const _0xa8ddff=_0xfe41fa;await _0xf6f910['pxwhn'](withTelemetry,_0xa8ddff(0x250),()=>deleteProfile(_0x4baa6c[_0xa8ddff(0x16b)],{'yes':_0x4baa6c[_0xa8ddff(0x18d)]}));})['command'](_0xfe41fa(0x1f6),![],_0x3a2d3f=>{const _0x324009=_0xfe41fa;return _0x3a2d3f[_0x324009(0x225)](_0x24fdee['kHIyd'],{'type':_0x324009(0x10e),'description':'Profile\x20name','demandOption':!![]});},async _0x576f97=>{const _0x8b4c53=_0xfe41fa;await _0xf6f910['Fvpqf'](withTelemetry,_0xf6f910[_0x8b4c53(0x280)],()=>authEncrypt(_0x576f97['profile']));})[_0xfe41fa(0x1b1)]('ls','List\x20all\x20profiles',()=>{},async()=>{const _0x2976a5=_0xfe41fa;await _0xf6f910[_0x2976a5(0x20c)](withTelemetry,_0xf6f910['lLiej'],()=>envList());})['command'](_0xf6f910['Klrqy'],_0xfe41fa(0x215),_0x3e15cc=>{const _0x162147=_0xfe41fa;return _0x3e15cc[_0x162147(0x225)](_0xf6f910['SDCbw'],{'type':'string','description':'Name\x20of\x20the\x20profile\x20to\x20update','demandOption':!![]})['option'](_0x162147(0x208),{'type':'boolean','description':_0xf6f910[_0x162147(0x1fb)]});},async _0x2a7602=>{const _0x4da4c0=_0xfe41fa;await _0x24fdee[_0x4da4c0(0x222)](withTelemetry,_0x24fdee[_0x4da4c0(0x10d)],_0x216265=>updateEnv(_0x2a7602['profile-name'],_0x216265,{'allowInsecureLocalhost':_0x2a7602['allow-insecure-localhost']}));})['command'](_0xfe41fa(0x1ed),![],_0x10ca6a=>{const _0x5cf645=_0xfe41fa;return _0x10ca6a['positional'](_0xf6f910['SejZq'],{'type':'string','description':_0xf6f910[_0x5cf645(0x182)],'demandOption':!![]});},async _0x41c9ec=>{await withTelemetry('profile\x20login',async()=>{const _0x20c377=_0x5f07,_0x3d0a19=process[_0x20c377(0x1b3)][_0x20c377(0x11d)],_0x3d22d3=process[_0x20c377(0x1b3)][_0x20c377(0x206)];_0x24fdee[_0x20c377(0x123)](!_0x3d0a19,!_0x3d22d3)&&(console[_0x20c377(0x243)]('Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.'),process['exit'](0x1));const _0x15a173=_0x41c9ec['name'],_0x3fda40=await _0x24fdee['YQSwl'](serverSideLogin,_0x15a173,{'force':!![]});_0x24fdee[_0x20c377(0x125)](_0x3fda40['status'],_0x24fdee['xAifF'])&&(console[_0x20c377(0x243)](_0x24fdee[_0x20c377(0x20e)]),process[_0x20c377(0x12d)](0x1)),_0x3fda40[_0x20c377(0x1c6)]==='failed'&&(console[_0x20c377(0x243)]('Login\x20failed:\x20'+(_0x3fda40['error']??_0x24fdee['XgohJ'])),_0x3fda40[_0x20c377(0x1eb)]&&console[_0x20c377(0x243)](_0x3fda40['test_output']),process[_0x20c377(0x12d)](0x1)),console[_0x20c377(0x1d6)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x15a173+'\x27.\x20Session\x20saved.');});})[_0xfe41fa(0x1b1)]('migrate\x20[profile-name]',![],_0x46db4f=>{const _0x4754a1=_0xfe41fa;return _0x46db4f[_0x4754a1(0x225)](_0x4754a1(0x16b),{'type':_0x24fdee[_0x4754a1(0x152)],'description':_0x24fdee[_0x4754a1(0x258)]})['option'](_0x24fdee[_0x4754a1(0x229)],{'type':'boolean','description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})['option']('dry-run',{'type':'boolean','description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})[_0x4754a1(0x15d)](_0x4754a1(0x18d),{'type':_0x24fdee[_0x4754a1(0x1a3)],'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})[_0x4754a1(0x15d)](_0x24fdee[_0x4754a1(0x1e0)],{'type':_0x24fdee[_0x4754a1(0x1a3)],'description':_0x24fdee[_0x4754a1(0x18b)],'default':![]});},async _0x31b1eb=>{const _0x23fd04=_0xfe41fa;await withTelemetry(_0x23fd04(0x1da),_0x488def=>migrateProfile({'profileName':_0x31b1eb['profile-name'],'all':_0x31b1eb['all'],'dryRun':_0x31b1eb['dry-run'],'yes':_0x31b1eb['yes'],'saveCreds':_0x31b1eb[_0x23fd04(0x1e2)]},_0x488def));})[_0xfe41fa(0x1b1)](_0xfe41fa(0x24d),_0xf6f910['VfoGS'],_0x3b0900=>{const _0x51efaf=_0xfe41fa,_0x1b9f1e={'qrQko':'Profile\x20name'};return _0x3b0900['usage'](PROFILE_CONFIG_HELP)['command'](_0x24fdee['yRnXu'],_0x51efaf(0x190),_0x212613=>{const _0x77c733=_0x51efaf;return _0x212613['positional']('profile',{'type':'string','description':'Profile\x20name','demandOption':!![]})['positional'](_0x24fdee['vFdOi'],{'type':_0x24fdee['euduT'],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})[_0x77c733(0x225)]('value',{'type':_0x24fdee['euduT'],'description':_0x24fdee[_0x77c733(0x143)],'demandOption':!![]});},async _0x148780=>{const _0x6ae47c=_0x51efaf;await _0x24fdee[_0x6ae47c(0x1ac)](withTelemetry,'profile\x20config\x20set',()=>configSet(_0x148780[_0x6ae47c(0x1e9)],_0x148780[_0x6ae47c(0x214)],_0x148780[_0x6ae47c(0x185)]));})['command']('get\x20<profile>\x20<key>','Get\x20a\x20config\x20value',_0xe4bb33=>{const _0x34bfe3=_0x51efaf;return _0xe4bb33['positional'](_0x34bfe3(0x1e9),{'type':_0x24fdee['euduT'],'description':_0x24fdee['wtQfT'],'demandOption':!![]})[_0x34bfe3(0x225)](_0x34bfe3(0x214),{'type':_0x24fdee['euduT'],'description':_0x24fdee['Lnleo'],'demandOption':!![]});},async _0x2dc168=>{const _0x16c14d=_0x51efaf;await withTelemetry('profile\x20config\x20get',()=>configGet(_0x2dc168[_0x16c14d(0x1e9)],_0x2dc168[_0x16c14d(0x214)]));})['command'](_0x51efaf(0x14a),_0x24fdee[_0x51efaf(0x138)],_0x10e901=>{const _0x5a18e3=_0x51efaf;return _0x10e901['positional'](_0x5a18e3(0x1e9),{'type':_0x5a18e3(0x10e),'description':_0x1b9f1e['qrQko'],'demandOption':!![]});},async _0x1bc7d1=>{const _0xdb0ce=_0x51efaf;await withTelemetry('profile\x20config\x20list',()=>configList(_0x1bc7d1[_0xdb0ce(0x1e9)]));})['command'](_0x24fdee[_0x51efaf(0x151)],_0x51efaf(0x17b),_0x3689c2=>{const _0x4d573e=_0x51efaf;return _0x3689c2['positional'](_0x24fdee['kHIyd'],{'type':'string','description':_0x4d573e(0x1bd),'demandOption':!![]})[_0x4d573e(0x225)](_0x4d573e(0x214),{'type':_0x24fdee[_0x4d573e(0x152)],'description':_0x24fdee[_0x4d573e(0x113)],'demandOption':!![]});},async _0x162511=>{const _0xca84a9=_0x51efaf;await _0x24fdee['AQQbL'](withTelemetry,_0xca84a9(0x1e1),()=>configUnset(_0x162511[_0xca84a9(0x1e9)],_0x162511['key']));})[_0x51efaf(0x1b1)](_0x24fdee['jOtXm'],_0x24fdee[_0x51efaf(0x16c)],_0x235d72=>{const _0x301839=_0x51efaf;return _0x235d72['positional']('profile',{'type':_0x301839(0x10e),'description':_0x301839(0x1bd),'demandOption':!![]});},async _0x817338=>{const _0x239a92=_0x51efaf;await _0x24fdee['YQSwl'](withTelemetry,_0x24fdee[_0x239a92(0x22f)],()=>configReset(_0x817338['profile']));})[_0x51efaf(0x23a)](0x1,_0x24fdee[_0x51efaf(0x145)]);})[_0xfe41fa(0x23a)](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})['command']('status',_0xf6f910['QNTzk'],()=>{},async()=>{await _0xf6f910['Fvpqf'](withTelemetry,_0xf6f910['ugXAY'],()=>status());})[_0x39580c(0x1b1)](_0xf6f910[_0x39580c(0x16e)],_0xf6f910[_0x39580c(0x16d)],()=>{},async()=>{const _0x1e2fd4=_0x39580c;await _0xf6f910[_0x1e2fd4(0x11b)](withTelemetry,_0x1e2fd4(0x133),()=>update());})[_0x39580c(0x1b1)](_0xf6f910['zRQcu'],_0xf6f910['AFlky'],()=>{},async()=>{const _0x3971c0=_0x39580c,_0x41072b={'HPgui':function(_0x2137e4){return _0xf6f910['xJcAx'](_0x2137e4);}};await withTelemetry(_0xf6f910[_0x3971c0(0x154)],async()=>{const _0x35546d=_0x3971c0,_0x1b6088=await _0x41072b['HPgui'](getToken);if(!_0x1b6088)throw new Error(_0x35546d(0x192));console['log'](_0x1b6088);});})['command']('go',_0x39580c(0x106),_0x597d3d=>{const _0x469a04=_0x39580c;return _0x597d3d[_0x469a04(0x15d)](_0xf6f910['gigxe'],{'type':_0xf6f910[_0x469a04(0x235)],'description':_0xf6f910[_0x469a04(0xe4)]})['option'](_0x469a04(0x1e9),{'type':'string','description':_0xf6f910['IWhof']})['option']('notes',{'type':_0xf6f910['ZegsT'],'description':_0xf6f910['xpeDj']})['option'](_0xf6f910['TeNnQ'],{'type':'number','description':'Scenario\x20index\x20(1-based)'})[_0x469a04(0x15d)](_0xf6f910['mhRAp'],{'type':_0xf6f910['ZegsT'],'description':_0xf6f910['XrOfk']})['option']('base-url',{'type':_0x469a04(0x10e),'description':_0xf6f910['TOmWF']})['option'](_0xf6f910[_0x469a04(0x1fd)],{'type':_0xf6f910['ZegsT'],'description':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.'})[_0x469a04(0x15d)](_0x469a04(0x14c),{'type':_0xf6f910[_0x469a04(0x12b)],'description':_0x469a04(0x134),'default':![]})[_0x469a04(0x15d)]('debug-outcome',{'type':'string','hidden':!![],'choices':[_0xf6f910['KqoJc'],_0xf6f910[_0x469a04(0x262)],'blocked',_0xf6f910['csrPL'],_0xf6f910['jitXu']]})['option'](_0x469a04(0x1fe),{'type':'boolean','hidden':!![]})['option']('env',{'type':'string','hidden':!![]})['option'](_0xf6f910['Cbkdb'],{'type':_0xf6f910[_0x469a04(0x235)],'hidden':!![]})[_0x469a04(0x15d)]('item',{'type':_0x469a04(0x18f),'hidden':!![]});},async _0x5b2c56=>{await runGoCommand(_0x5b2c56);})[_0x39580c(0x1b1)]('auth',![],_0x11b6a2=>{const _0x24faf0=_0x39580c,_0x36ef9e={'gtQUq':function(_0x5c0575,_0xdb498e,_0x5659ee){return _0xf6f910['nNnBY'](_0x5c0575,_0xdb498e,_0x5659ee);},'qbeDj':_0x24faf0(0x1d9),'aWqKU':_0xf6f910['mPTws'],'vtGMS':function(_0xca17d0,_0x46141f){return _0xca17d0(_0x46141f);}};return _0x11b6a2[_0x24faf0(0x1b1)]('encrypt\x20<profile>',![],_0x3c9517=>{const _0x942214=_0x24faf0;return _0x3c9517[_0x942214(0x225)](_0xf6f910['kaxTr'],{'type':_0x942214(0x10e),'description':'Profile\x20name','demandOption':!![]});},async _0x5cdefa=>{const _0x2ef1e1=_0x24faf0;_0x36ef9e[_0x2ef1e1(0x1a6)](warnRenamed,_0x36ef9e['qbeDj'],_0x36ef9e[_0x2ef1e1(0xf1)]),await _0x36ef9e['vtGMS'](authEncrypt,_0x5cdefa['profile']);})['demandCommand'](0x1,_0x24faf0(0x1fa));},()=>{})[_0x39580c(0x1b1)](_0xf6f910['ZVGUm'],![],_0xdba1ad=>{const _0x1f3965=_0x39580c;return _0xdba1ad[_0x1f3965(0x225)](_0xf6f910[_0x1f3965(0x1b9)],{'type':_0x1f3965(0x10e),'description':_0xf6f910['LxqKN']})['option']('skip-chromium',{'type':_0xf6f910['xNLQF'],'description':_0xf6f910['DffQG'],'default':![]})[_0x1f3965(0x15d)]('scope',{'type':_0xf6f910['ZegsT'],'choices':[_0x1f3965(0x12a)],'hidden':!![],'description':_0xf6f910['wPKDu']})[_0x1f3965(0x15d)]('url',{'type':_0xf6f910['ZegsT'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x1f3965(0x108),{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0xf6f910['pWWHf'],{'type':_0xf6f910[_0x1f3965(0x12b)],'description':'Skip\x20authentication','default':![]})['option']('with-deps',{'type':_0xf6f910['xNLQF'],'description':_0xf6f910['BTUbG'],'default':![]});},async _0x4a8e68=>{const _0x421ce1=_0x39580c;_0xf6f910['bbnNs'](warnRenamed,_0x421ce1(0x1a9),_0x421ce1(0x19f)),await withTelemetry(_0xf6f910['YTjWw'],_0x10e786=>start(_0x4a8e68['token'],{'skipChromium':_0x4a8e68['skip-chromium'],'skipAuth':_0x4a8e68['skip-auth'],'withDeps':_0x4a8e68[_0x421ce1(0x23f)],'scope':_0x4a8e68['scope'],'url':_0x4a8e68['url'],'force':_0x4a8e68['force']},_0x10e786));})['command'](_0x39580c(0x1a2),![],_0x1f361a=>{const _0x49fc13=_0x39580c;return _0x1f361a['option'](_0xf6f910[_0x49fc13(0x197)],{'type':_0xf6f910[_0x49fc13(0x235)],'description':_0xf6f910[_0x49fc13(0x21c)]})['option'](_0xf6f910['Cbkdb'],{'type':_0x49fc13(0x10e),'description':_0xf6f910[_0x49fc13(0xe7)]})[_0x49fc13(0x15d)](_0xf6f910[_0x49fc13(0x17a)],{'type':_0x49fc13(0x18f),'description':_0xf6f910['TjZNV']})[_0x49fc13(0x15d)](_0x49fc13(0x1e9),{'type':_0xf6f910['ZegsT'],'hidden':!![]})['option'](_0xf6f910['qHArS'],{'type':_0xf6f910[_0x49fc13(0x235)],'hidden':!![]})['option'](_0xf6f910[_0x49fc13(0x19d)],{'type':_0xf6f910[_0x49fc13(0x135)],'hidden':!![]})[_0x49fc13(0x15d)](_0xf6f910[_0x49fc13(0x1df)],{'type':_0x49fc13(0x10e),'description':_0x49fc13(0x239)})['option'](_0x49fc13(0x246),{'type':_0xf6f910['ZegsT'],'description':_0x49fc13(0x105)})[_0x49fc13(0x15d)](_0x49fc13(0xe6),{'type':_0xf6f910[_0x49fc13(0x235)],'hidden':!![]})[_0x49fc13(0x15d)](_0xf6f910[_0x49fc13(0x13f)],{'type':_0xf6f910['xNLQF'],'hidden':!![],'default':![]})['option']('debug-outcome',{'type':_0xf6f910['ZegsT'],'hidden':!![],'choices':[_0xf6f910['KqoJc'],_0x49fc13(0x24f),'blocked','failed',_0xf6f910['jitXu']]});},async _0x59c4f4=>{const _0x60a9d4=_0x39580c;await _0xf6f910[_0x60a9d4(0x238)](runGoCommand,_0x59c4f4,!![]);})[_0x39580c(0x1b1)]('add\x20env\x20<env-name>',![],_0x5c4152=>{const _0x4aeaec=_0x39580c;return _0x5c4152['positional'](_0xf6f910['HXJqI'],{'type':_0xf6f910['ZegsT'],'description':_0x4aeaec(0x1a1),'demandOption':!![]})['option']('ci',{'type':_0xf6f910[_0x4aeaec(0x12b)],'description':_0xf6f910[_0x4aeaec(0x199)],'default':![]})['option'](_0xf6f910['pWWHf'],{'type':'boolean','description':_0x4aeaec(0xfc),'default':![]});},async _0x244684=>{const _0x17cbc0=_0x39580c;_0xf6f910[_0x17cbc0(0x1c8)](warnRenamed,_0xf6f910['Seysr'],_0xf6f910[_0x17cbc0(0x109)]),await withTelemetry(_0xf6f910[_0x17cbc0(0x273)],_0x13609b=>addEnv(_0x244684[_0x17cbc0(0x1b5)],{'ci':_0x244684['ci'],'skipAuth':_0x244684['skip-auth']},_0x13609b));})['command'](_0x39580c(0x102),![],_0x14173a=>{const _0x39c80d=_0x39580c;return _0x14173a[_0x39c80d(0x225)](_0xf6f910[_0x39c80d(0xf3)],{'type':'string','description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0xc80193=>{const _0x55ac7d=_0x39580c;_0xf6f910[_0x55ac7d(0x233)](warnRenamed,_0xf6f910[_0x55ac7d(0x126)],_0xf6f910['EYTwp']),await _0xf6f910[_0x55ac7d(0x160)](withTelemetry,_0xf6f910[_0x55ac7d(0x178)],()=>useEnv(_0xc80193[_0x55ac7d(0x1b5)]));})['command'](_0xf6f910['WpiAh'],![],_0x203ba3=>{const _0x4aeff9=_0x39580c,_0x474b17={'doMwh':'string','RAjjS':'Environment\x20name','yaigx':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','AIjux':_0xf6f910['xbBDr'],'SBOVa':_0xf6f910[_0x4aeff9(0x197)],'ZylUE':_0xf6f910['VfeSa'],'enAYL':_0xf6f910[_0x4aeff9(0x19b)]};return _0x203ba3['command'](_0x4aeff9(0xf2),![],_0x4de225=>{const _0x5b356b=_0x4aeff9;return _0x4de225['positional'](_0x5b356b(0x1b3),{'type':_0x474b17[_0x5b356b(0x21d)],'description':_0x474b17['RAjjS'],'demandOption':!![]})[_0x5b356b(0x225)]('key',{'type':_0x5b356b(0x10e),'description':_0x474b17['yaigx'],'demandOption':!![]})['positional']('value',{'type':'string','description':_0x474b17['AIjux'],'demandOption':!![]});},async _0x453f35=>{warnRenamed('ranger\x20config\x20set',_0xf6f910['NgAVm']),await withTelemetry('config\x20set',()=>configSet(_0x453f35['env'],_0x453f35['key'],_0x453f35['value']));})[_0x4aeff9(0x1b1)](_0xf6f910['QPVJc'],![],_0x48bd20=>{const _0x225a07=_0x4aeff9;return _0x48bd20[_0x225a07(0x225)]('env',{'type':_0x474b17[_0x225a07(0x21d)],'description':'Environment\x20name','demandOption':!![]})[_0x225a07(0x225)]('key',{'type':'string','description':'Config\x20key','demandOption':!![]});},async _0x3fe059=>{const _0x532b64=_0x4aeff9;_0xf6f910[_0x532b64(0x17c)](warnRenamed,_0xf6f910['Bkhdo'],'ranger\x20profile\x20config\x20get'),await _0xf6f910['COOpk'](withTelemetry,'config\x20get',()=>configGet(_0x3fe059[_0x532b64(0x1b3)],_0x3fe059[_0x532b64(0x214)]));})['command'](_0x4aeff9(0xdd),![],_0x252a40=>{const _0x2f6504=_0x4aeff9;return _0x252a40['positional'](_0xf6f910['bfzVB'],{'type':_0xf6f910[_0x2f6504(0x235)],'description':_0xf6f910['yqcgz'],'demandOption':!![]});},async _0x3ef31d=>{const _0x18c56e=_0x4aeff9;_0xf6f910[_0x18c56e(0x13c)](warnRenamed,_0xf6f910[_0x18c56e(0x257)],_0x18c56e(0x279)),await _0xf6f910[_0x18c56e(0x20c)](withTelemetry,_0x18c56e(0x1aa),()=>configList(_0x3ef31d[_0x18c56e(0x1b3)]));})['command'](_0xf6f910[_0x4aeff9(0x1b0)],![],_0x5e9166=>{const _0x5bfdb9=_0x4aeff9;return _0x5e9166['positional'](_0x474b17[_0x5bfdb9(0x14e)],{'type':_0x5bfdb9(0x10e),'description':_0x5bfdb9(0x144),'demandOption':!![]})['positional'](_0x474b17[_0x5bfdb9(0x1a5)],{'type':_0x474b17['doMwh'],'description':_0x474b17['enAYL'],'demandOption':!![]});},async _0x2790a3=>{const _0x3f9543=_0x4aeff9;_0xf6f910['iBOtE'](warnRenamed,_0xf6f910[_0x3f9543(0x164)],_0xf6f910['dSghZ']),await withTelemetry(_0xf6f910[_0x3f9543(0x205)],()=>configUnset(_0x2790a3['env'],_0x2790a3['key']));})['demandCommand'](0x1,_0x4aeff9(0x237));})['command'](_0xf6f910['bfzVB'],![],_0xa4e62c=>{const _0x166e50=_0x39580c;return _0xa4e62c['command']('ls',![],()=>{},async()=>{const _0x880f5=_0x5f07;warnRenamed(_0x880f5(0x165),'ranger\x20profile\x20ls'),await withTelemetry('env\x20list',()=>envList());})[_0x166e50(0x1b1)]('update\x20<env-name>',![],_0x5dfca7=>{const _0xa55bfd=_0x166e50;return _0x5dfca7[_0xa55bfd(0x225)]('env-name',{'type':_0xf6f910[_0xa55bfd(0x235)],'description':_0xa55bfd(0x21f),'demandOption':!![]});},async _0x5b26fd=>{const _0x3f3d96=_0x166e50;_0xf6f910['YJdfO'](warnRenamed,_0x3f3d96(0x1ea),'ranger\x20profile\x20update'),await withTelemetry(_0xf6f910['Eyfdq'],_0x570eba=>updateEnv(_0x5b26fd['env-name'],_0x570eba));})['demandCommand'](0x1,_0x166e50(0x116));})['command']('feature',![],_0x361b90=>{const _0x2a2144=_0x39580c,_0x4dbc03={'zsfZb':'name','DhVJl':_0x2a2144(0x10e),'qXqtI':'Feature\x20review\x20name','wbmRn':'checklist','tdcry':_0x2a2144(0xee),'atuNP':function(_0x1dd5fa,_0x16a833,_0x2ed602,_0x11e758){return _0xf6f910['ialJn'](_0x1dd5fa,_0x16a833,_0x2ed602,_0x11e758);},'awpLf':_0xf6f910['LLSpG'],'fPybM':_0x2a2144(0x19e),'LLwbO':_0xf6f910[_0x2a2144(0x242)],'GnYXp':_0xf6f910['BmGgM'],'EiEsh':function(_0x2283d6,_0x4ea74f,_0x513cc2){return _0x2283d6(_0x4ea74f,_0x513cc2);},'QqEJZ':_0xf6f910[_0x2a2144(0xe0)],'eEbyV':function(_0x3000e1,_0xcf7eb5,_0x281340){return _0x3000e1(_0xcf7eb5,_0x281340);},'fMyjG':_0x2a2144(0x230),'wHHOu':_0xf6f910[_0x2a2144(0x210)],'awHcG':function(_0x2320d7,_0x250b2b,_0x551684){return _0xf6f910['bbnNs'](_0x2320d7,_0x250b2b,_0x551684);},'bkpMo':_0xf6f910['YwLXV'],'EzxUv':_0x2a2144(0x161)};return _0x361b90[_0x2a2144(0x1b1)](_0xf6f910[_0x2a2144(0x207)],![],_0x5d5088=>{const _0x3a74c8=_0x2a2144;return _0x5d5088['positional'](_0x4dbc03['zsfZb'],{'type':_0x4dbc03[_0x3a74c8(0x107)],'description':_0x4dbc03[_0x3a74c8(0x1bf)],'demandOption':!![]})['option'](_0x3a74c8(0x219),{'type':'string','alias':'d','description':_0x3a74c8(0x111)})[_0x3a74c8(0x15d)](_0x4dbc03['wbmRn'],{'type':_0x3a74c8(0xee),'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x3a74c8(0x15d)]('scenario',{'type':_0x4dbc03[_0x3a74c8(0x176)],'hidden':!![]});},async _0x3ae52a=>{const _0x1da2ee=_0x2a2144;warnRenamed(_0x1da2ee(0x112),'ranger\x20create'),_0x4dbc03['atuNP'](warnFlagRenamed,_0x4dbc03['awpLf'],_0x4dbc03['fPybM'],_0x4dbc03['LLwbO']);const _0x5d8db0=_0x3ae52a[_0x1da2ee(0x1de)]||_0x3ae52a['checklist'];await withTelemetry(_0x4dbc03[_0x1da2ee(0x14b)],()=>featureCreate(_0x3ae52a[_0x1da2ee(0x278)],{'description':_0x3ae52a['description'],'scenarios':_0x5d8db0}));})[_0x2a2144(0x1b1)](_0xf6f910['QSiDv'],![],_0x58b5cc=>{const _0x9a5aa0=_0x2a2144;return _0x58b5cc['option']('current-branch',{'type':'boolean','description':_0x9a5aa0(0x245)})['option'](_0x9a5aa0(0x15f),{'type':_0x9a5aa0(0x18f),'alias':'l','description':_0x9a5aa0(0x1bc),'default':0xa})['option'](_0xf6f910['PsKGm'],{'type':_0xf6f910['OOmMg'],'alias':'o','description':_0xf6f910['gxUAF'],'default':0x0})[_0x9a5aa0(0x15d)](_0xf6f910[_0x9a5aa0(0x131)],{'type':_0xf6f910['xNLQF'],'alias':'d','description':_0x9a5aa0(0xe8),'default':![]});},async _0x536cc4=>{const _0x2741a5=_0x2a2144;_0x4dbc03[_0x2741a5(0x266)](warnRenamed,_0x2741a5(0x12f),_0x4dbc03[_0x2741a5(0x25a)]),await _0x4dbc03[_0x2741a5(0x174)](withTelemetry,'feature\x20list',()=>featureList({'currentBranch':_0x536cc4[_0x2741a5(0x27d)],'limit':_0x536cc4['limit'],'offset':_0x536cc4['offset'],'includeDeleted':_0x536cc4[_0x2741a5(0x25e)]}));})['command'](_0xf6f910['KjKIn'],![],_0x9b4911=>{return _0x9b4911['positional']('id',{'type':'string','description':_0xf6f910['hzmPc']});},async _0x150753=>{const _0x62e12a=_0x2a2144;warnRenamed('ranger\x20feature\x20show',_0x62e12a(0x12c)),await _0x4dbc03['EiEsh'](withTelemetry,_0x62e12a(0x173),()=>featureShow(_0x150753['id']));})[_0x2a2144(0x1b1)](_0x2a2144(0x148),![],_0x1ad260=>{const _0x6d2081=_0x2a2144;return _0x1ad260[_0x6d2081(0x225)]('id',{'type':'string','description':_0x4dbc03[_0x6d2081(0x100)]});},async _0x500cd8=>{warnRenamed('ranger\x20feature\x20resume','ranger\x20resume'),await withTelemetry('feature\x20resume',()=>featureResume(_0x500cd8['id']));})[_0x2a2144(0x1b1)](_0xf6f910['vBUdU'],![],_0x33efe1=>{const _0x4bccda=_0x2a2144;return _0x33efe1[_0x4bccda(0x225)](_0xf6f910[_0x4bccda(0x1c0)],{'type':_0xf6f910['ZegsT'],'description':_0xf6f910[_0x4bccda(0x224)],'demandOption':!![]})[_0x4bccda(0x15d)]('id',{'type':_0xf6f910[_0x4bccda(0x235)],'description':_0xf6f910['jxxuF']});},async _0x32ad15=>{const _0x4a6ec6=_0x2a2144;warnRenamed(_0x4dbc03['wHHOu'],'ranger\x20add-scenario'),await _0x4dbc03[_0x4a6ec6(0x191)](withTelemetry,_0x4dbc03['bkpMo'],()=>featureAddScenario(_0x32ad15['description'],_0x32ad15['id']));})[_0x2a2144(0x1b1)]('get-feedback\x20[id]',![],_0x3d5970=>{const _0x390714=_0x2a2144;return _0x3d5970[_0x390714(0x225)]('id',{'type':_0xf6f910[_0x390714(0x235)],'description':_0xf6f910['jxxuF']});},async _0x334ec=>{const _0x376a71=_0x2a2144;warnRenamed(_0xf6f910['sidWI'],_0x376a71(0x10a)),await _0xf6f910['nOuhq'](withTelemetry,_0xf6f910['ZCcdz'],()=>featureGetReview(_0x334ec['id']));})[_0x2a2144(0x1b1)]('delete\x20[id]',![],_0x173c0e=>{const _0x1735b4=_0x2a2144;return _0x173c0e[_0x1735b4(0x225)]('id',{'type':_0x4dbc03['DhVJl'],'description':_0x4dbc03['EzxUv']});},async _0x3088b9=>{const _0x508475=_0x2a2144;warnRenamed(_0xf6f910['hkAlM'],_0xf6f910[_0x508475(0x1f3)]),await withTelemetry('feature\x20delete',()=>featureDelete(_0x3088b9['id']));})['command']('restore\x20<id>',![],_0x4875fc=>{return _0x4875fc['positional']('id',{'type':_0xf6f910['ZegsT'],'description':_0xf6f910['HvijT'],'demandOption':!![]});},async _0x31d842=>{const _0x4a7c86=_0x2a2144;_0xf6f910['RJFJZ'](warnRenamed,_0x4a7c86(0x171),'ranger\x20restore'),await _0xf6f910['Jhbeu'](withTelemetry,'feature\x20restore',()=>featureRestore(_0x31d842['id']));})[_0x2a2144(0x23a)](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})['command']('hook',![],_0x2b811f=>{const _0x3b342f=_0x39580c;return _0x2b811f['command']('enable',_0xf6f910[_0x3b342f(0x23c)],_0x4645c2=>{const _0x111544=_0x3b342f;return _0x4645c2[_0x111544(0x15d)](_0xf6f910[_0x111544(0x20f)],{'type':_0xf6f910['ZegsT'],'description':_0xf6f910['keKsT']});},async _0x3c0a57=>{const _0x17267d=_0x3b342f;await _0xf6f910[_0x17267d(0xe9)](withTelemetry,_0xf6f910[_0x17267d(0x1ef)],()=>hook(_0x17267d(0x157),_0x3c0a57['session-id']));})['command'](_0xf6f910[_0x3b342f(0x155)],_0xf6f910[_0x3b342f(0x15b)],_0x1a588c=>{const _0x175e4f=_0x3b342f;return _0x1a588c['option'](_0xf6f910[_0x175e4f(0x20f)],{'type':_0xf6f910[_0x175e4f(0x235)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x28860c=>{const _0x468c6d=_0x3b342f;await _0xf6f910['slsZt'](withTelemetry,_0xf6f910[_0x468c6d(0xeb)],()=>hook('disable',_0x28860c['session-id']));})['option'](_0xf6f910[_0x3b342f(0x11e)],{'type':_0xf6f910[_0x3b342f(0x235)],'description':_0xf6f910['lnsxz']})['option']('session-id',{'type':'string','description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x31b030=>{const _0x543ece=_0x39580c;_0x31b030[_0x543ece(0x278)]&&await hook(_0x31b030[_0x543ece(0x278)],_0x31b030[_0xf6f910[_0x543ece(0x20f)]]);})['demandCommand'](0x1,_0xf6f910['CSbFQ'])['strictCommands']()[_0x39580c(0x1c3)](async(_0x31a8b6,_0x2753ad,_0x218549)=>{const _0x46dc52=_0x39580c,_0x48902d=_0xf6f910['nDlzl'](sanitizeArgs,process['argv'][_0x46dc52(0x163)](0x2)),_0x26af4a=getErrorType(_0x31a8b6,_0x2753ad);if(_0x31a8b6&&_0x31a8b6[_0x46dc52(0x1ab)](_0xf6f910['ldZiM'])){const _0x3350a4=process[_0x46dc52(0x188)][0x2];console['error'](_0x46dc52(0xfe)+_0x3350a4),console[_0x46dc52(0x243)](_0xf6f910['khSNS']);}else{if(_0x31a8b6)console[_0x46dc52(0x243)]('\x0a'+_0x31a8b6+'\x0a');else _0x2753ad&&console['error'](_0x46dc52(0x17d)+_0x2753ad['message']+'\x0a');}await logDesirePath({'rawCommand':_0x48902d,'errorMessage':_0x31a8b6||_0x2753ad?.['message'],'errorType':_0x26af4a});const _0x380fa2=getCurrentCollector();_0x380fa2&&await _0x380fa2['trackCommandError'](_0x2753ad||new Error(_0x31a8b6||_0xf6f910['wpgys'])),process[_0x46dc52(0x12d)](0x1);})[_0x39580c(0xf0)](_0xf6f910['ROrIF'](_0x39580c(0x231)+_0x39580c(0x226),_0x39580c(0x1f2)))['help']()[_0x39580c(0x25f)](_0xf6f910['imkBw'],'h');}process[_0x4874ed(0x1b3)]['NODE_ENV']!=='test'&&(shouldShowLegacyWarning(process[_0x4874ed(0x188)])&&showLegacyDeprecationWarning(),buildParser()['parse']());