@ranger-testing/ranger-cli 3.1.1-alpha.b22d278-38 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/deleteProfile.js +1 -1
  7. package/build/commands/env.js +1 -1
  8. package/build/commands/feature.js +1 -1
  9. package/build/commands/hook.js +1 -1
  10. package/build/commands/hooks/autoPrompt.js +1 -1
  11. package/build/commands/hooks/disable.js +1 -1
  12. package/build/commands/hooks/enable.js +1 -1
  13. package/build/commands/hooks/exitPlanMode.js +1 -1
  14. package/build/commands/hooks/index.js +1 -1
  15. package/build/commands/hooks/output.js +1 -1
  16. package/build/commands/hooks/planReminder.js +1 -1
  17. package/build/commands/hooks/planStart.js +1 -1
  18. package/build/commands/hooks/postEdit.js +1 -1
  19. package/build/commands/hooks/preCompact.js +1 -1
  20. package/build/commands/hooks/sessionEnd.js +1 -1
  21. package/build/commands/hooks/sessionStart.js +1 -1
  22. package/build/commands/hooks/stopHook.js +1 -1
  23. package/build/commands/index.js +1 -1
  24. package/build/commands/login.js +1 -1
  25. package/build/commands/mcpBootstrap.js +1 -1
  26. package/build/commands/migrateProfile.js +1 -1
  27. package/build/commands/setup/claude.js +1 -1
  28. package/build/commands/setup/opencode.js +1 -1
  29. package/build/commands/setupCi.js +1 -1
  30. package/build/commands/skillup.js +1 -1
  31. package/build/commands/start.js +1 -1
  32. package/build/commands/status.js +1 -1
  33. package/build/commands/update.js +1 -1
  34. package/build/commands/updateEnv.js +1 -1
  35. package/build/commands/useEnv.js +1 -1
  36. package/build/commands/utils/activeProfile.js +1 -1
  37. package/build/commands/utils/agentEnv.js +1 -1
  38. package/build/commands/utils/browserSessionsApi.js +1 -1
  39. package/build/commands/utils/claudeConfig.js +1 -1
  40. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  41. package/build/commands/utils/claudePlugin.js +1 -1
  42. package/build/commands/utils/cloudProfile.js +1 -1
  43. package/build/commands/utils/cloudProfileSession.js +1 -1
  44. package/build/commands/utils/crypto.js +1 -1
  45. package/build/commands/utils/desirePathLog.js +1 -1
  46. package/build/commands/utils/deviceAuth.js +1 -1
  47. package/build/commands/utils/environment.js +1 -1
  48. package/build/commands/utils/featureApi.js +1 -1
  49. package/build/commands/utils/fixWebmDuration.js +1 -1
  50. package/build/commands/utils/gitTracked.js +1 -1
  51. package/build/commands/utils/keychain.js +1 -1
  52. package/build/commands/utils/legacyWarning.js +1 -1
  53. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  54. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  55. package/build/commands/utils/mcpImageBase64.js +1 -1
  56. package/build/commands/utils/model.js +1 -1
  57. package/build/commands/utils/novaActCli.js +1 -1
  58. package/build/commands/utils/opencodeConfig.js +1 -1
  59. package/build/commands/utils/organizationEnvApi.js +1 -1
  60. package/build/commands/utils/playwrightCli.js +1 -1
  61. package/build/commands/utils/profileMessages.js +1 -1
  62. package/build/commands/utils/profileSetupBanner.js +1 -1
  63. package/build/commands/utils/projectsConfig.js +1 -1
  64. package/build/commands/utils/rangerConfig.js +1 -1
  65. package/build/commands/utils/rangerRoot.js +1 -1
  66. package/build/commands/utils/rangerwrightCli.js +1 -1
  67. package/build/commands/utils/resolveProfileContext.js +1 -1
  68. package/build/commands/utils/resolveProfileUrl.js +1 -1
  69. package/build/commands/utils/retry.js +1 -1
  70. package/build/commands/utils/sessionCache.js +1 -1
  71. package/build/commands/utils/settings.js +1 -1
  72. package/build/commands/utils/skillContent.js +1 -1
  73. package/build/commands/utils/skills.js +1 -1
  74. package/build/commands/utils/stitchWebmFiles.js +1 -1
  75. package/build/commands/utils/telemetry.js +1 -1
  76. package/build/commands/utils/tokenRefresh.js +1 -1
  77. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  78. package/build/commands/utils/tunnelClient.js +1 -1
  79. package/build/commands/utils/userApi.js +1 -1
  80. package/build/commands/utils/version.js +1 -1
  81. package/build/commands/verifyFeature.js +1 -1
  82. package/build/commands/verifyFeatureCli.js +1 -1
  83. package/build/commands/verifyFeatureNovaCli.js +1 -1
  84. package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
  85. package/package.json +1 -1
package/build/cli.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const _0x1d5d8a=_0x1bb4;(function(_0x5f5619,_0x39abe4){const _0x218873=_0x1bb4,_0x4e1814=_0x5f5619();while(!![]){try{const _0x32b86d=-parseInt(_0x218873(0x349))/0x1+-parseInt(_0x218873(0x2a8))/0x2+-parseInt(_0x218873(0x2f0))/0x3*(-parseInt(_0x218873(0x2ec))/0x4)+-parseInt(_0x218873(0x383))/0x5+parseInt(_0x218873(0x26c))/0x6*(parseInt(_0x218873(0x2fb))/0x7)+-parseInt(_0x218873(0x1f1))/0x8*(parseInt(_0x218873(0x2a7))/0x9)+-parseInt(_0x218873(0x200))/0xa*(-parseInt(_0x218873(0x23b))/0xb);if(_0x32b86d===_0x39abe4)break;else _0x4e1814['push'](_0x4e1814['shift']());}catch(_0x3e16b3){_0x4e1814['push'](_0x4e1814['shift']());}}}(_0xe489,0x4f9ca));import _0x4382cc from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x5c712a=_0x1bb4,_0xefe8e2={'vpQDP':function(_0x114cfd,_0x104fc0){return _0x114cfd(_0x104fc0);},'KiRDC':'.ranger','KIymn':function(_0x34af50,_0x5a7a0e){return _0x34af50(_0x5a7a0e);},'KqRWM':function(_0x4e5709,_0x396ff0,_0x287f39){return _0x4e5709(_0x396ff0,_0x287f39);},'CriHL':_0x5c712a(0x300)};let _0x125361=process['cwd']();const _0x23314c=_0xefe8e2['vpQDP'](parse,_0x125361)['root'];while(_0x125361!==_0x23314c){if(existsSync(join(_0x125361,_0xefe8e2[_0x5c712a(0x28b)]))||_0xefe8e2['KIymn'](existsSync,_0xefe8e2['KqRWM'](join,_0x125361,_0xefe8e2['CriHL'])))return _0x125361;_0x125361=dirname(_0x125361);}return process['cwd']();}_0x4382cc[_0x1d5d8a(0x202)]({'path':join(findProjectRoot(),_0x1d5d8a(0x300))});import _0x5360a0 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';function _0xe489(){const _0x5f5c03=['Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','QPZLD','IjymI','WLyeG','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','kJSax','ILTxI','create\x20<name>','Skip\x20authentication','zUtfU','45OPbQRd','744242Sljihu','test_output','Manage\x20profiles','tokenOrSubcommand','ncQfP','nLzSU','include-deleted','XNnLR','kgujU','--checklist','yGyjl','xhzOU','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','profile\x20config\x20reset','tAvSy','evaluation','EOqaX','profile\x20config\x20get','env-name','dXGbB','dpCql','unset\x20<env>\x20<key>','LWENc','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','uurBt','KjZoY','VfBTe','config\x20list','feature\x20create','SUfdv','WzMOW','blocked','opencode','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','task','rangerwright-cli','KVriU','positional','VZojT','SSOUH','kEQSJ','You\x20must\x20specify\x20a\x20config\x20subcommand','Feature\x20review\x20ID','kwRgP','log','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','set\x20<profile>\x20<key>\x20<value>','with-deps','Authenticate\x20via\x20MCP\x20proxy','UWvPN','verified','DUNme','list','KVsqO','RANGER_PROFILE','iblHh','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','ranger\x20delete','ranger\x20feature\x20restore','dry-run','Profile\x20name','filter','Optional\x20feature\x20ID','✓\x20Authenticated\x20to\x20','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','session-id','4PFppRQ','includes','fXDOR','UGLyP','782151ulkVOg','aXfEh','BNOxg','allow-insecure-localhost','notes','kgvFM','ranger\x20feature\x20add-checklist-item','profile\x20config\x20unset','ClgXt','force','gXLcQ','3206959kUDjxp','claude','manual','option','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','.env','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','current-branch','skip-chromium','demandCommand','hCDIE','start\x20[token]','\x20PARTIAL','--task','srRXn','Scenario\x20description','ZwMJx','report\x20[id]','feature\x20restore','avVeH','tLukD','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','ranger\x20feature\x20show','KxTbM','\x27.\x20Session\x20saved.','TFNIl','skillup','description','WDkSE','wYCmG','token','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.','--env','CnODT','xOGOu','show\x20[id]','lzJIC','delete','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','ranger\x20feature\x20list','scriptName','ONzUD','value','user','Base\x20URL\x20of\x20the\x20running\x20app','hook','hzGOC','restore','jWOsD','Install\x20Ranger\x20skills','MxUNS','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','ranger\x20setup\x20profiles\x20--scope=','Set\x20a\x20config\x20value','evaluationReason','oncAn','AeIXa','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','deps','Evaluation:\x20','MNWZw','ZBdDS','PtUAF','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','profile\x20update','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','disable','url','NvfBH','ahQUx','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','login\x20<name>','argv','qwrHD','eTpit','ranger\x20profile\x20encrypt-auth','TehpH','521023eUNxyX','ranger\x20feature\x20get-feedback','IrgyE','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','lybET','ranger\x20list','ranger\x20start','DKQxX','Name\x20of\x20the\x20profile\x20to\x20update','zYJFn','jhOXz','Documentation:\x0a','BwUuu','string','setup\x20[tokenOrSubcommand]','cxNCd','vUbzm','scope','QkaLZ','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','ranger\x20resume','QXSGl','headed','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','ranger\x20go','yJtWo','array','command','unMWa','fMGsL','profile\x20add','TMtSu','item','delete\x20<profile-name>','message','Name\x20of\x20the\x20environment','sFhvH','setup-header','Print\x20the\x20current\x20CLI\x20access\x20token','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','AtUST','profile','vJwkX','update','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','Owdmc','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','playwright-cli','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','Config\x20key\x20to\x20remove','oMEUo','ranger\x20restore','unset\x20<profile>\x20<key>','reset\x20<profile>','Jojtf','NonOo','qEUzk','error','3251330hocJpb','smmjl','split','add-scenario\x20<description>','key','HlIhc','feeKh','XMxce','SyVno','VQcIV','OcGYb','failed','QIjNf','list\x20<profile>','VKmAw','FQwBw','UXBxk','Scenario\x20number\x20to\x20edit\x20(1-based)','TuNOj','profiles','ranger\x20add-scenario','NgjRr','vQxeh','aUSUY','get\x20<profile>\x20<key>','ranger\x20create','model','pnAlY','parse','KcwLb','OFvKj','SmBjp','GiQaG','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','WkAYY','maOtE','lGVAo','XslUl','QYKuV','EqnEj','KpHBP','lPYGh','list\x20<env>','Yxhrd','196120eZuZXZ','cdp-endpoint','Cloud\x20profile\x20name','HXYEf','profile\x20login','hGsab','DWBpR','vniMC','debug-outcome','csWtG','GWpQi','forEach','show','profile\x20delete','WBXZT','30JqlrBM','AmLxG','config','nqSzs','DmBlk','Include\x20soft-deleted\x20feature\x20reviews','jIGUU','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','migrate\x20[profile-name]','mcp-bootstrap','CntXI','Akfgd','base-url','update\x20<profile-name>','restore\x20<id>','wOzHc','TlNDg','ranger\x20add\x20env','You\x20must\x20specify\x20a\x20command','DRzQh','slice','feature\x20list','json','cVllm','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','KKIxd','amLgT','delete\x20[id]','ranger\x20profile\x20config\x20list','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','fbpCX','RaTvS','ydDGC','status','ZBhmz','encrypt\x20<profile>','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','Gkmla','boolean','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','map','enable','feature\x20add-checklist-item','nLEdq','List\x20all\x20profiles','tbcWS','\x20is\x20now\x20','aIdzi','feature\x20delete','qlaoB','HdxJq','\x0aIssues:','usage','Alias\x20for\x20--mcp-bootstrap','WFzey','ranger\x20profile\x20update','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','yes','4668477DURVoP','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','UmBWE','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','kzBYi','ranger','RdORN','cVwPn','NODE_ENV','MvnPl','Switch\x20to\x20using\x20a\x20specific\x20profile','ranger\x20profile\x20config\x20get','AgWvI','pSmrL','FgXOt','SBsIj','Config\x20key','profile-name','You\x20must\x20specify\x20a\x20profile\x20subcommand','Skip\x20the\x20deletion\x20confirmation\x20prompt.','profile\x20ls','Reason:\x20','debug-address-comments','ranger\x20profile\x20ls','uNGYD','setup:all','PamsS','GjIFj','ranger\x20profile\x20use','xJTHl','ranger\x20profile\x20config\x20set','offset','set\x20<env>\x20<key>\x20<value>','YElIp','all','repeat','.\x20[','TQYxa','zLCXq','Feature\x20review\x20description','dPcWy','setup-ci\x20<token>','scenario','TZWKC','name','✓\x20Login\x20succeeded\x20for\x20\x27','Login\x20failed:\x20','profile\x20encrypt-auth','mcp','6UdpRpH','incomplete','jjQQk','skip-auth','organizationName','Skip\x20browser\x20authentication','exit','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','encrypt-auth\x20<profile>','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','Delete\x20a\x20cloud\x20profile','Install\x20OS-level\x20dependencies\x20for\x20Chromium','vecnf','setup:login','cwGZV','unknown\x20error','\x20\x20https://docs.ranger.net\x0a','whaDa','wiQac','env','RcOla','trackCommandError','nSpNp','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','ranger\x20profile\x20config\x20unset','checklist','env-var','auth','cZCZe','limit','Scenario\x20index\x20(1-based)','KiRDC','xiCvK','fJlkD','ERPge','wrJvp','config\x20unset','number','List\x20all\x20feature\x20reviews','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','dlOyK','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','Uffbt','HJswO','eqNFP','qdXOJ','some','Update\x20authentication\x20for\x20an\x20existing\x20profile','env\x20list'];_0xe489=function(){return _0x5f5c03;};return _0xe489();}import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x3cb372=>{const _0x20b4b4=_0x1d5d8a,_0x4d2a98={'PamsS':function(_0x35707e){return _0x35707e();}},_0x5999ee=_0x4d2a98[_0x20b4b4(0x255)](getCurrentCollector);_0x5999ee&&await _0x5999ee['trackCommandError'](_0x3cb372),process['exitCode']=0x1;});const rawArgs=process[_0x1d5d8a(0x344)]['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='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201',PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201';function _0x1bb4(_0x1d5969,_0x5668b4){_0x1d5969=_0x1d5969-0x1df;const _0xe48948=_0xe489();let _0x1bb43a=_0xe48948[_0x1d5969];return _0x1bb43a;}function warnRenamed(_0x245187,_0x1119dd){const _0x51782c=_0x1d5d8a;console[_0x51782c(0x382)]('\x0a'+_0x245187+_0x51782c(0x22e)+_0x1119dd+'\x0a');}function argUsed(_0x39b6fe){const _0x2c5068=_0x1d5d8a;return rawArgs[_0x2c5068(0x29a)](_0x34812e=>_0x34812e===_0x39b6fe||_0x34812e['startsWith'](_0x39b6fe+'='));}function warnFlagRenamed(_0x16e9e3,_0x255174,_0x1f4754){const _0x2b3cc8=_0x1d5d8a,_0x355f2e={'qdXOJ':function(_0x128b25,_0x23c261){return _0x128b25(_0x23c261);},'Vrykz':function(_0x23c798,_0x1644ba,_0x54a4db){return _0x23c798(_0x1644ba,_0x54a4db);}};_0x355f2e[_0x2b3cc8(0x299)](argUsed,_0x255174)&&_0x355f2e['Vrykz'](warnRenamed,_0x16e9e3+'\x20'+_0x255174,_0x16e9e3+'\x20'+_0x1f4754);}function normalizeEnvVarNames(_0x30c7a0){const _0x287aa8=_0x1d5d8a,_0x531c03=Array['isArray'](_0x30c7a0)?_0x30c7a0:_0x30c7a0?[_0x30c7a0]:[];return _0x531c03['flatMap'](_0x389c2f=>String(_0x389c2f)[_0x287aa8(0x385)](',')[_0x287aa8(0x228)](_0x1c0f96=>_0x1c0f96['trim']())[_0x287aa8(0x2e7)](Boolean));}async function runGoCommand(_0x1fe9a2,_0x3ca861=![]){const _0xa3dd58=_0x1d5d8a,_0x2867ea={'ezqGX':'ranger\x20verify-feature','ZBhmz':_0xa3dd58(0x361),'rVNFK':_0xa3dd58(0x31b),'Uswkw':'--profile','unMWa':function(_0x9395f6,_0xcc7c3c,_0x2b3f20,_0xc5bfeb){return _0x9395f6(_0xcc7c3c,_0x2b3f20,_0xc5bfeb);},'HdxJq':_0xa3dd58(0x308),'ZJoMQ':'--notes','aBTIX':'--scenario','PGuPM':function(_0x36a753){return _0x36a753();},'hzGOC':_0xa3dd58(0x286),'XXOvG':function(_0x195cbe){return _0x195cbe();},'zLCXq':function(_0x8a098d,_0x884c28){return _0x8a098d>_0x884c28;},'VVIGj':function(_0x44c5e7,_0x5653af){return _0x44c5e7!==_0x5653af;},'zXatO':_0xa3dd58(0x378),'uusaJ':_0xa3dd58(0x2cc),'UGLyP':'start-path','AgWvI':_0xa3dd58(0x1f9),'ziQVL':_0xa3dd58(0x251),'DRzQh':function(_0x4c5853,_0x1a2488){return _0x4c5853===_0x1a2488;},'SVFJJ':_0xa3dd58(0x2dc),'FQwBw':'\x20VERIFIED','vecnf':function(_0x142d5d,_0x1c2521){return _0x142d5d===_0x1c2521;},'EyBWR':'\x20INCOMPLETE','lUXkS':_0xa3dd58(0x307),'dtzJc':_0xa3dd58(0x2c8),'TwRuJ':'\x20FAILED'};_0x3ca861&&warnRenamed(_0x2867ea['ezqGX'],_0xa3dd58(0x361));warnFlagRenamed(_0x2867ea[_0xa3dd58(0x222)],_0x2867ea['rVNFK'],_0x2867ea['Uswkw']),_0x2867ea[_0xa3dd58(0x365)](warnFlagRenamed,_0xa3dd58(0x361),_0x2867ea[_0xa3dd58(0x232)],_0x2867ea['ZJoMQ']),warnFlagRenamed(_0x2867ea[_0xa3dd58(0x222)],'--item',_0x2867ea['aBTIX']);const _0x59cb2b=await loadRangerConfig(),_0x58d899=_0x2867ea['PGuPM'](isByokEnabled),_0x477c2f=_0x1fe9a2['model'],_0x2d20d4=_0x59cb2b['model'],_0x26a5e8=normalizeEnvVarNames(_0x1fe9a2[_0x2867ea[_0xa3dd58(0x329)]]),_0x2895c3=_0x2867ea['XXOvG'](getVerificationTransport);if(_0x2867ea[_0xa3dd58(0x261)](_0x26a5e8['length'],0x0)&&_0x2867ea['VVIGj'](_0x2895c3,_0x2867ea['zXatO'])&&_0x2895c3!==_0x2867ea['uusaJ'])throw new Error(_0xa3dd58(0x32e)+_0x2895c3+'.');const _0x342895=await verifyFeature({'featureId':_0x1fe9a2['feature'],'profile':_0x1fe9a2[_0xa3dd58(0x372)]??_0x1fe9a2['env']??process['env'][_0xa3dd58(0x2e0)],'notes':_0x1fe9a2['notes']??_0x1fe9a2[_0xa3dd58(0x2cb)],'scenario':_0x1fe9a2['scenario']??_0x1fe9a2[_0xa3dd58(0x369)],'startPath':_0x1fe9a2[_0x2867ea[_0xa3dd58(0x2ef)]],'baseUrl':_0x1fe9a2[_0xa3dd58(0x20c)],'debugOutcome':_0x1fe9a2[_0x2867ea[_0xa3dd58(0x247)]],'debugAddressComments':_0x1fe9a2[_0x2867ea['ziQVL']],'headed':_0x1fe9a2[_0xa3dd58(0x35f)],'verifierEnvVars':_0x26a5e8,'byokEnabled':_0x58d899,'flagVerifyModel':_0x477c2f,'configVerifyModel':_0x2d20d4});console[_0xa3dd58(0x2d5)]('\x0a'+'='[_0xa3dd58(0x25e)](0x3c)),console[_0xa3dd58(0x2d5)](_0x2867ea[_0xa3dd58(0x213)](_0x342895[_0xa3dd58(0x2b8)],_0x2867ea['SVFJJ'])?_0x2867ea[_0xa3dd58(0x392)]:_0x2867ea[_0xa3dd58(0x278)](_0x342895['evaluation'],'incomplete')?_0x2867ea['EyBWR']:_0x2867ea['vecnf'](_0x342895[_0xa3dd58(0x2b8)],'partial')?_0x2867ea['lUXkS']:_0x342895[_0xa3dd58(0x2b8)]===_0x2867ea['dtzJc']?'\x20BLOCKED':_0x2867ea['TwRuJ']),console[_0xa3dd58(0x2d5)]('='[_0xa3dd58(0x25e)](0x3c)),console['log']('Summary:\x20'+_0x342895['summary']),console['log'](_0xa3dd58(0x337)+_0x342895['evaluation']),console[_0xa3dd58(0x2d5)](_0xa3dd58(0x250)+_0x342895[_0xa3dd58(0x332)]),_0x342895['issues']?.['length']&&(console['log'](_0xa3dd58(0x233)),_0x342895['issues'][_0xa3dd58(0x1fc)]((_0x346dae,_0x99a9c5)=>{const _0x35706b=_0xa3dd58;console[_0x35706b(0x2d5)]('\x0a'+(_0x99a9c5+0x1)+_0x35706b(0x25f)+_0x346dae['severity']+']\x20'+_0x346dae['description']);})),process[_0xa3dd58(0x272)](_0x342895[_0xa3dd58(0x2b8)]===_0x2867ea['SVFJJ']?0x0:0x1);}export function buildParser(_0x3a3f40){const _0x317683=_0x1d5d8a,_0xbdaff0={'TFNIl':_0x317683(0x267),'SyVno':'string','HJswO':'description','WLyeG':_0x317683(0x262),'HlIhc':'array','QPZLD':_0x317683(0x29d),'iblHh':function(_0x5f1b7,_0x5ce794){return _0x5f1b7+_0x5ce794;},'wOzHc':function(_0xc35999,_0x1e8170,_0x17fb1f,_0x2c9bd5){return _0xc35999(_0x1e8170,_0x17fb1f,_0x2c9bd5);},'TuNOj':_0x317683(0x39c),'kgvFM':function(_0x1f280d,_0x1fbac5,_0x1e9a72){return _0x1f280d(_0x1fbac5,_0x1e9a72);},'SPgmt':'create','WFzey':_0x317683(0x289),'QIjNf':_0x317683(0x291),'NonOo':_0x317683(0x2e2),'aXfEh':'Number\x20of\x20feature\x20reviews\x20to\x20skip','eTpit':'boolean','VfBTe':_0x317683(0x2d3),'WfTLe':function(_0x2402db,_0x221823,_0x2c28e9){return _0x2402db(_0x221823,_0x2c28e9);},'gUxBZ':_0x317683(0x1fd),'HBprM':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','BwUuu':_0x317683(0x30a),'kKweH':'add-scenario','iqfZn':_0x317683(0x370),'yJtWo':function(_0x19b2da,_0x326e5f,_0x4bdb84){return _0x19b2da(_0x326e5f,_0x4bdb84);},'avVeH':'edit-scenario','Pqfjh':'exclude-scenario','pfjno':'report','qKSRl':_0x317683(0x320),'CxuBF':'Feature\x20review\x20ID\x20to\x20restore','AtUST':_0x317683(0x32a),'QkaLZ':_0x317683(0x209),'AeIXa':_0x317683(0x2d9),'FBVIb':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','VSyIx':_0x317683(0x35a),'ydDGC':'Install\x20scope\x20for\x20plugin\x20and\x20skills','UWvPN':function(_0x426a48,_0xc967db){return _0x426a48!==_0xc967db;},'TQYxa':_0x317683(0x326),'iUkCW':function(_0x1b5609,_0x5f9578,_0x3b32dc){return _0x1b5609(_0x5f9578,_0x3b32dc);},'ncQfP':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','lmoEd':_0x317683(0x360),'kwRgP':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','zHLIa':_0x317683(0x310),'BNOxg':_0x317683(0x327),'KxTbM':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','IPHSC':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','DDLKe':'Run\x20full\x20interactive\x20setup','enTnl':_0x317683(0x336),'cVwPn':'Install\x20Chromium\x20browser\x20binary','NvfBH':'login','lybET':'skills','dtyFV':'skip-chromium','tpQVk':_0x317683(0x33f),'ahQUx':'opencode','RjoxL':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','YElIp':function(_0x766270,_0x512349,_0x5781b6){return _0x766270(_0x512349,_0x5781b6);},'tCVmk':function(_0x6865a6,_0x2111e9,_0x487267){return _0x6865a6(_0x2111e9,_0x487267);},'Jojtf':'start','MNWZw':'Ranger\x20API\x20token','rrNQm':_0x317683(0x20c),'hGsab':_0x317683(0x321),'fJlkD':'Install\x20skills\x20for\x20OpenCode','RcOla':'project','vQxeh':'clean','OnItN':'Name\x20of\x20the\x20profile','srGjH':function(_0x17803e,_0xf76eef,_0x5d0034){return _0x17803e(_0xf76eef,_0x5d0034);},'ZwMJx':'profile\x20use','uNGYD':'profile-name','fbbcc':_0x317683(0x24e),'VZojT':function(_0x6cf429,_0x2da997,_0x755d2){return _0x6cf429(_0x2da997,_0x755d2);},'RdORN':function(_0x1800d5,_0x584144,_0x1104fe){return _0x1800d5(_0x584144,_0x1104fe);},'PABfr':_0x317683(0x24f),'txfPN':_0x317683(0x351),'fcTeP':_0x317683(0x377),'hCDIE':_0x317683(0x2fd),'kzBYi':'Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','BGoLO':_0x317683(0x33c),'DUNme':function(_0x375de1,_0x87bde7){return _0x375de1||_0x87bde7;},'dpCql':'No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','cZCZe':function(_0x595005,_0xb73f1c,_0x26790c){return _0x595005(_0xb73f1c,_0x26790c);},'VKmAw':_0x317683(0x1f5),'nSpNp':'profile','HtVPf':_0x317683(0x331),'tLukD':'Get\x20a\x20config\x20value','KoVRn':_0x317683(0x390),'kDSiL':'List\x20all\x20config\x20for\x20a\x20profile','fMGsL':_0x317683(0x2ff),'WkItD':_0x317683(0x375),'jhOXz':'allow-insecure-localhost','xhzOU':_0x317683(0x275),'mBwOa':_0x317683(0x367),'Yxhrd':function(_0x7f6db6,_0x3ed395){return _0x7f6db6(_0x3ed395);},'RqTJe':_0x317683(0x1f3),'LaIZP':_0x317683(0x301),'DRwcE':_0x317683(0x2e5),'RjJKe':_0x317683(0x34c),'GiQaG':'Config\x20value','FMHnq':_0x317683(0x387),'jOUeM':'use\x20<profile-name>','IqLdy':_0x317683(0x245),'pAAjT':_0x317683(0x36a),'QYKuV':_0x317683(0x274),'ERPge':_0x317683(0x208),'xzroP':_0x317683(0x374),'KKIxd':function(_0x8983ae,_0x49d063,_0x1b2e08){return _0x8983ae(_0x49d063,_0x1b2e08);},'kigrf':_0x317683(0x2e8),'jQYte':'scenario','wYCmG':_0x317683(0x28a),'nuGfJ':'start-path','VtGqf':_0x317683(0x31a),'mLYYz':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','qynzn':'environment-variable','TehpH':_0x317683(0x2d7),'IrgyE':_0x317683(0x1f9),'AmLxG':_0x317683(0x38e),'jWOsD':_0x317683(0x26d),'uNdaO':_0x317683(0x251),'CvrDS':_0x317683(0x2cb),'SduzX':_0x317683(0x347),'qwrHD':_0x317683(0x319),'PtUAF':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','FgXOt':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','pPFsy':_0x317683(0x2f9),'WzMOW':function(_0x1c1f3a,_0x5e763f,_0x487aa9){return _0x1c1f3a(_0x5e763f,_0x487aa9);},'TMtSu':'ranger\x20setup','SUfdv':'env','WkAYY':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','mwRQY':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','EFQvn':_0x317683(0x369),'ZgZME':_0x317683(0x39d),'MvnPl':'env-var','GIDJB':'verified','VQcIV':function(_0x365300,_0x4c408b,_0x24959b){return _0x365300(_0x4c408b,_0x24959b);},'MrbJU':_0x317683(0x2bb),'nwSDD':_0x317683(0x2c0),'SSOUH':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','oMEUo':'skip-auth','nRzLo':_0x317683(0x211),'wRnbJ':'ranger\x20profile\x20add','OcGYb':function(_0x56229f,_0x3a5c3e,_0x5b8f8b){return _0x56229f(_0x3a5c3e,_0x5b8f8b);},'TZWKC':_0x317683(0x36c),'VsMKT':'ranger\x20use','pnAlY':_0x317683(0x257),'KRmaU':function(_0x48518d,_0x220cb1,_0x25bbf5){return _0x48518d(_0x220cb1,_0x25bbf5);},'srRXn':'ranger\x20config\x20set','sCIrW':'config\x20set','JidEs':'ranger\x20config\x20get','Rltnv':function(_0xe29b0e,_0x127715,_0x2441ab){return _0xe29b0e(_0x127715,_0x2441ab);},'XMxce':'ranger\x20config\x20list','lzJIC':_0x317683(0x21c),'WObbK':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','GyVsW':'ranger\x20config\x20unset','dPcWy':_0x317683(0x290),'lGVAo':_0x317683(0x25b),'rvYrd':'get\x20<env>\x20<key>','XlLZa':_0x317683(0x1ef),'vniMC':_0x317683(0x2d2),'CntXI':'ranger\x20env\x20ls','fXDOR':_0x317683(0x29c),'HIvNo':'Name\x20of\x20the\x20environment\x20to\x20update','GACAi':'You\x20must\x20specify\x20an\x20env\x20subcommand','UwPJm':'ranger\x20feature\x20create','IjymI':'--scenario','SKyrc':function(_0x1639c7,_0x5c2896,_0x10f87f){return _0x1639c7(_0x5c2896,_0x10f87f);},'Gkmla':_0x317683(0x34e),'tAvSy':function(_0x575c20,_0x588e19,_0xeaad09){return _0x575c20(_0x588e19,_0xeaad09);},'OMxdf':'ranger\x20feature\x20resume','LJiTJ':function(_0x17c665,_0x4f7319,_0x2ab6bd){return _0x17c665(_0x4f7319,_0x2ab6bd);},'KVsqO':_0x317683(0x2f6),'wiQac':_0x317683(0x34a),'eJEBl':'ranger\x20get-review','QXSGl':'feature\x20get-feedback','KjZoY':_0x317683(0x2e3),'YjFED':function(_0x1d50c7,_0x5374ea,_0x5ec632){return _0x1d50c7(_0x5374ea,_0x5ec632);},'ZHRoo':_0x317683(0x30d),'admqz':_0x317683(0x311),'DNYKA':'ranger\x20show','fbpCX':_0x317683(0x2de),'KcwLb':'add-checklist-item\x20<description>','qEUzk':'get-feedback\x20[id]','Owdmc':_0x317683(0x21b),'GWpQi':_0x317683(0x20e),'PQnDU':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','xJTHl':_0x317683(0x2eb),'CpLPI':_0x317683(0x229),'oncAn':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','iwqPq':_0x317683(0x2ea),'LxSDy':'Unknown\x20command','vJwkX':'Unknown\x20error','cVllm':'ranger','arLhX':_0x317683(0x31e),'beqzB':_0x317683(0x335),'TqdZg':_0x317683(0x386),'smmjl':'get-review\x20[id]','YJNYf':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','ILTxI':'Restore\x20a\x20soft-deleted\x20feature\x20review','qpFri':_0x317683(0x357),'feeKh':'Initialize\x20Ranger\x20in\x20your\x20project','UXBxk':_0x317683(0x264),'mMeLw':_0x317683(0x315),'pedQP':_0x317683(0x239),'qXCCx':_0x317683(0x2aa),'lZVVk':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','KpHBP':_0x317683(0x306),'kgujU':'verify-feature','DWBpR':'use\x20<env-name>','tbcWS':'config','VePaB':_0x317683(0x212),'qNfhO':_0x317683(0x354),'SmBjp':_0x317683(0x27c),'xiCvK':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)'};return _0x5360a0(_0x3a3f40??process['argv']['slice'](0x2))[_0x317683(0x323)](_0xbdaff0[_0x317683(0x217)])[_0x317683(0x234)](TOP_LEVEL_HELP)['version'](getCurrentVersion())[_0x317683(0x364)]('create\x20<name>',_0x317683(0x35c),_0x5d605e=>{const _0xfedbd0=_0x317683;return _0x5d605e[_0xfedbd0(0x2ce)](_0xbdaff0[_0xfedbd0(0x314)],{'type':_0xbdaff0['SyVno'],'description':'Feature\x20review\x20name','demandOption':!![]})[_0xfedbd0(0x2fe)](_0xbdaff0['HJswO'],{'type':_0xbdaff0['SyVno'],'alias':'d','description':_0xbdaff0[_0xfedbd0(0x2a0)]})['option'](_0xfedbd0(0x265),{'type':_0xbdaff0['HlIhc'],'alias':'c','description':_0xbdaff0[_0xfedbd0(0x29e)]})['option']('checklist',{'type':_0xbdaff0[_0xfedbd0(0x388)],'hidden':!![]});},async _0x298f7f=>{const _0x191d98=_0x317683;if(!_0x298f7f['name']){console['error'](_0xbdaff0[_0x191d98(0x2e1)]('Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','Example:\x20ranger\x20create\x20my-feature')),process[_0x191d98(0x272)](0x1);return;}_0xbdaff0[_0x191d98(0x20f)](warnFlagRenamed,_0xbdaff0[_0x191d98(0x395)],'--checklist','--scenario');const _0x4a449c=_0x298f7f[_0x191d98(0x265)]||_0x298f7f[_0x191d98(0x285)];await _0xbdaff0[_0x191d98(0x2f5)](withTelemetry,_0xbdaff0['SPgmt'],()=>featureCreate(_0x298f7f['name'],{'description':_0x298f7f['description'],'scenarios':_0x4a449c}));})['command'](_0xbdaff0['fbpCX'],_0x317683(0x292),_0x241092=>{const _0x1aa924=_0x317683;return _0x241092['option'](_0x1aa924(0x302),{'type':'boolean','description':_0x1aa924(0x2b4)})['option'](_0xbdaff0[_0x1aa924(0x236)],{'type':_0xbdaff0[_0x1aa924(0x38f)],'alias':'l','description':_0xbdaff0[_0x1aa924(0x380)],'default':0xa})['option'](_0x1aa924(0x25a),{'type':_0xbdaff0['QIjNf'],'alias':'o','description':_0xbdaff0[_0x1aa924(0x2f1)],'default':0x0})['option'](_0x1aa924(0x2ae),{'type':_0xbdaff0[_0x1aa924(0x346)],'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x5026ba=>{const _0x44ea1f=_0x317683;await withTelemetry('list',()=>featureList({'currentBranch':_0x5026ba[_0x44ea1f(0x302)],'limit':_0x5026ba[_0x44ea1f(0x289)],'offset':_0x5026ba['offset'],'includeDeleted':_0x5026ba[_0x44ea1f(0x2ae)]}));})['command'](_0xbdaff0['arLhX'],_0xbdaff0['beqzB'],_0x4ecb05=>{const _0x2c1504=_0x317683;return _0x4ecb05['positional']('id',{'type':_0xbdaff0[_0x2c1504(0x38b)],'description':_0xbdaff0['VfBTe']});},async _0x52492b=>{await _0xbdaff0['WfTLe'](withTelemetry,_0xbdaff0['gUxBZ'],()=>featureShow(_0x52492b['id']));})[_0x317683(0x364)]('resume\x20[id]','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x5725ad=>{const _0x13c614=_0x317683;return _0x5725ad[_0x13c614(0x2ce)]('id',{'type':_0x13c614(0x356),'description':_0xbdaff0['HBprM']});},async _0x380a89=>{await _0xbdaff0['WfTLe'](withTelemetry,'resume',()=>featureResume(_0x380a89['id']));})['command'](_0xbdaff0['TqdZg'],'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x1d0503=>{const _0xe277f0=_0x317683;return _0x1d0503[_0xe277f0(0x2ce)](_0xbdaff0[_0xe277f0(0x297)],{'type':'string','description':_0xbdaff0[_0xe277f0(0x355)],'demandOption':!![]})[_0xe277f0(0x2fe)]('id',{'type':_0xbdaff0[_0xe277f0(0x38b)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x412ac0=>{await withTelemetry(_0xbdaff0['kKweH'],()=>featureAddScenario(_0x412ac0['description'],_0x412ac0['id']));})['command']('edit-scenario\x20<description>',_0x317683(0x2a1),_0x3aa3b1=>{const _0x5851a2=_0x317683;return _0x3aa3b1['positional']('description',{'type':_0x5851a2(0x356),'description':'New\x20scenario\x20description','demandOption':!![]})['option'](_0x5851a2(0x265),{'type':_0x5851a2(0x291),'description':_0x5851a2(0x394),'demandOption':!![]})[_0x5851a2(0x2fe)]('id',{'type':'string','description':_0xbdaff0['iqfZn']});},async _0x54c4d4=>{const _0x14b0fc=_0x317683;await _0xbdaff0['yJtWo'](withTelemetry,_0xbdaff0[_0x14b0fc(0x30e)],()=>featureEditScenario(_0x54c4d4['description'],{'id':_0x54c4d4['id'],'scenario':_0x54c4d4[_0x14b0fc(0x265)]}));})[_0x317683(0x364)](_0x317683(0x30c),_0x317683(0x2d6),_0x4553eb=>{const _0x21b1a6=_0x317683;return _0x4553eb['positional']('id',{'type':_0xbdaff0[_0x21b1a6(0x38b)],'description':_0xbdaff0['VfBTe']})['option']('exclude-scenario',{'type':_0xbdaff0[_0x21b1a6(0x388)],'description':_0x21b1a6(0x23c)})['option']('json',{'type':'boolean','description':_0x21b1a6(0x283),'default':![]});},async _0x590024=>{const _0xea6b5a=_0x317683,_0x503152=_0x590024[_0xbdaff0['Pqfjh']],_0x452952=_0x503152?_0x503152[_0xea6b5a(0x228)](_0x4baa33=>Number(_0x4baa33)):undefined;await _0xbdaff0['WfTLe'](withTelemetry,_0xbdaff0['pfjno'],()=>featureReportPrDescription(_0x590024['id'],{'excludeScenarios':_0x452952,'json':_0x590024[_0xea6b5a(0x216)]}));})[_0x317683(0x364)](_0xbdaff0[_0x317683(0x384)],_0x317683(0x2b5),_0x1cc06a=>{const _0x2594f2=_0x317683;return _0x1cc06a[_0x2594f2(0x2ce)]('id',{'type':'string','description':_0xbdaff0['iqfZn']});},async _0x12e261=>{const _0x19778d=_0x317683;await _0xbdaff0[_0x19778d(0x362)](withTelemetry,'get-review',()=>featureGetReview(_0x12e261['id']));})['command'](_0xbdaff0['Owdmc'],_0xbdaff0['YJNYf'],_0x3fa417=>{const _0x5f3167=_0x317683;return _0x3fa417[_0x5f3167(0x2ce)]('id',{'type':'string','description':_0xbdaff0[_0x5f3167(0x2c3)]});},async _0x1b32af=>{await _0xbdaff0['WfTLe'](withTelemetry,_0xbdaff0['qKSRl'],()=>featureDelete(_0x1b32af['id']));})[_0x317683(0x364)](_0x317683(0x20e),_0xbdaff0[_0x317683(0x2a3)],_0x2444e5=>{const _0x3f9087=_0x317683;return _0x2444e5['positional']('id',{'type':_0xbdaff0[_0x3f9087(0x38b)],'description':_0xbdaff0['CxuBF'],'demandOption':!![]});},async _0x1a1fb6=>{const _0x36fc4a=_0x317683;await withTelemetry(_0xbdaff0[_0x36fc4a(0x371)],()=>featureRestore(_0x1a1fb6['id']));})[_0x317683(0x364)](_0xbdaff0['qpFri'],_0xbdaff0[_0x317683(0x389)],_0x1b5c1a=>{const _0x24e090=_0x317683,_0x509143={'maOtE':_0x24e090(0x319),'aUSUY':_0x24e090(0x303),'csWtG':_0xbdaff0[_0x24e090(0x346)],'fDPvH':_0x24e090(0x342),'NgjRr':'skip-auth','vUbzm':'scope','vkrFD':_0xbdaff0['TQYxa'],'Akfgd':_0x24e090(0x356),'MxUNS':_0x24e090(0x2f9),'nLzSU':_0xbdaff0[_0x24e090(0x2ac)],'ZBdDS':_0x24e090(0x2f3),'uurBt':_0xbdaff0['lmoEd'],'nLEdq':'mcp-bootstrap','cwGZV':_0xbdaff0[_0x24e090(0x2d4)],'hCxJZ':_0x24e090(0x26b),'eqNFP':_0x24e090(0x2da),'SpJdM':_0xbdaff0['zHLIa'],'WBXZT':function(_0x163d78,_0x134142){return _0x163d78(_0x134142);},'EqnEj':_0x24e090(0x279),'SBsIj':function(_0x2518af,_0x1de46a,_0x5b1201){return _0xbdaff0['WfTLe'](_0x2518af,_0x1de46a,_0x5b1201);},'Uffbt':'opencode','EOqaX':function(_0x38c782,_0x1816c3){return _0x38c782(_0x1816c3);},'dlOyK':'setup:skills','sjaOM':_0x24e090(0x33f),'YldxO':_0xbdaff0[_0x24e090(0x2f2)],'LWENc':_0xbdaff0[_0x24e090(0x312)]};return _0x1b5c1a['usage'](_0x24e090(0x273))[_0x24e090(0x2ce)](_0x24e090(0x2ab),{'type':_0xbdaff0[_0x24e090(0x38b)],'description':_0xbdaff0['IPHSC']})['command'](_0x24e090(0x25d),_0xbdaff0['DDLKe'],_0x198a64=>{const _0x3211cf=_0x24e090;return _0x198a64['option'](_0x509143[_0x3211cf(0x1e8)],{'type':_0x3211cf(0x356),'description':'Ranger\x20API\x20token'})[_0x3211cf(0x2fe)](_0x509143[_0x3211cf(0x39a)],{'type':_0x509143['csWtG'],'description':_0x509143['fDPvH'],'default':![]})['option'](_0x509143['NgjRr'],{'type':_0x509143['csWtG'],'description':_0x3211cf(0x2a5),'default':![]})['option'](_0x3211cf(0x2d9),{'type':_0x3211cf(0x226),'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]})['option'](_0x509143[_0x3211cf(0x359)],{'type':_0x3211cf(0x356),'choices':[_0x509143['vkrFD']],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x3211cf(0x2fe)](_0x3211cf(0x33f),{'type':_0x509143[_0x3211cf(0x20b)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})['option'](_0x509143['MxUNS'],{'type':_0x3211cf(0x226),'description':_0x3211cf(0x295),'default':![]})[_0x3211cf(0x2fe)]('opencode',{'type':_0x509143['csWtG'],'description':_0x509143[_0x3211cf(0x2ad)],'default':![]})['option'](_0x509143[_0x3211cf(0x339)],{'type':_0x509143['csWtG'],'description':_0x509143[_0x3211cf(0x2c1)],'default':![]})[_0x3211cf(0x2fe)](_0x509143[_0x3211cf(0x22b)],{'type':_0x3211cf(0x226),'description':_0x509143[_0x3211cf(0x27a)],'default':![]})[_0x3211cf(0x2fe)](_0x509143['hCxJZ'],{'type':_0x509143[_0x3211cf(0x1fa)],'description':_0x3211cf(0x235),'default':![]});},async _0x13f77a=>{const _0x17124b=_0x24e090;(_0x13f77a[_0x17124b(0x209)]||_0x13f77a['mcp'])&&await _0xbdaff0['yJtWo'](withTelemetry,_0xbdaff0['QkaLZ'],()=>mcpBootstrap()),await _0xbdaff0[_0x17124b(0x362)](withTelemetry,_0x17124b(0x254),_0x422f02=>start(_0x13f77a['token'],{'skipChromium':_0x13f77a[_0x17124b(0x303)],'skipAuth':_0x13f77a['skip-auth'],'withDeps':_0x13f77a['with-deps'],'scope':_0x13f77a[_0x17124b(0x35a)],'url':_0x13f77a['url'],'force':_0x13f77a['force'],'opencode':_0x13f77a['opencode'],'allowInsecureLocalhost':_0x13f77a['allow-insecure-localhost']},_0x422f02));})[_0x24e090(0x364)](_0xbdaff0['enTnl'],_0xbdaff0[_0x24e090(0x242)],_0x181902=>{const _0x4def23=_0x24e090;return _0x181902[_0x4def23(0x2fe)](_0xbdaff0[_0x4def23(0x334)],{'type':_0xbdaff0['eTpit'],'description':_0xbdaff0['FBVIb'],'default':![]});},async _0x455caa=>{await withTelemetry('setup:deps',()=>ensureChromium(_0x455caa['with-deps']));})['command'](_0xbdaff0[_0x24e090(0x340)],'Authenticate\x20with\x20Ranger',_0x3d0e18=>{const _0x364490=_0x24e090;return _0x3d0e18['option']('token',{'type':_0x509143[_0x364490(0x20b)],'description':'Ranger\x20API\x20token\x20(rngr_...)'})[_0x364490(0x2fe)](_0x364490(0x26b),{'type':_0x509143['csWtG'],'description':_0x509143[_0x364490(0x298)],'default':![]});},async _0x582cff=>{const _0xc6124d=_0x24e090;await withTelemetry(_0x509143[_0xc6124d(0x1ec)],async()=>{const _0x3b6203=_0xc6124d;if(_0x582cff[_0x3b6203(0x26b)]){await mcpBootstrap();const _0xa5b447=await refreshCliToken();if(!_0xa5b447)throw new Error(_0x509143['SpJdM']);const _0x49c21a=await _0x509143['WBXZT'](getCurrentUser,_0xa5b447);if(!_0x49c21a['success'])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x49c21a[_0x3b6203(0x382)]);console[_0x3b6203(0x2d5)](_0x3b6203(0x2e9)+_0x49c21a['user'][_0x3b6203(0x270)]);return;}await _0x509143[_0x3b6203(0x1ff)](authenticate,_0x582cff['token']);});})['command'](_0xbdaff0[_0x24e090(0x34d)],'Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x2ddb80=>{const _0x221e30=_0x24e090;return _0x2ddb80['option'](_0xbdaff0['VSyIx'],{'type':_0xbdaff0['SyVno'],'choices':['user','project'],'description':_0xbdaff0[_0x221e30(0x220)]})['option']('opencode',{'type':_0x221e30(0x226),'description':_0x221e30(0x23e),'default':![]});},async _0x49ed9e=>{const _0x135187=_0x24e090;await _0x509143[_0x135187(0x24a)](withTelemetry,_0x509143[_0x135187(0x294)],async()=>{const _0x3f664d=_0x135187,_0x5b705c=_0x49ed9e['scope'];if(_0x49ed9e[_0x3f664d(0x2c9)]){const _0x29f97b=await _0x509143[_0x3f664d(0x1ff)](ensureOpencodePluginConfig,_0x5b705c);_0x29f97b&&await _0x509143[_0x3f664d(0x24a)](installSkill,_0x3f664d(0x240),{'level':_0x29f97b['scope'],'cliVersion':getCurrentVersion(),'platform':_0x509143[_0x3f664d(0x296)]});}else await ensureClaudePlugin(_0x5b705c),await _0x509143[_0x3f664d(0x2b9)](ensureClaudeSkills,_0x5b705c);});})['command'](_0x24e090(0x396),'Set\x20up\x20a\x20local\x20browser\x20profile',_0x1d6968=>{const _0x36e139=_0x24e090;return _0x1d6968[_0x36e139(0x2fe)](_0x509143['vUbzm'],{'type':_0x509143[_0x36e139(0x20b)],'choices':['user'],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x36e139(0x2fe)](_0x509143['sjaOM'],{'type':_0x509143['Akfgd'],'description':_0x509143['YldxO']})[_0x36e139(0x2fe)](_0x509143[_0x36e139(0x398)],{'type':_0x36e139(0x226),'description':_0x36e139(0x271),'default':![]})[_0x36e139(0x2fe)](_0x509143[_0x36e139(0x32d)],{'type':_0x36e139(0x226),'description':_0x509143[_0x36e139(0x2bf)],'default':![]})[_0x36e139(0x2fe)](_0x36e139(0x2f3),{'type':_0x36e139(0x226),'description':_0x509143[_0x36e139(0x2c1)],'default':![]});},async _0x4c0ae3=>{const _0x2e8364=_0x24e090,_0x119daa=_0x4c0ae3[_0x2e8364(0x35a)];_0xbdaff0[_0x2e8364(0x2db)](_0x119daa,undefined)&&_0x119daa!==_0xbdaff0[_0x2e8364(0x260)]&&(console['error'](_0x2e8364(0x330)+_0x119daa+'\x20is\x20no\x20longer\x20supported.\x20'+_0x2e8364(0x218)+_0x2e8364(0x1e5)),process[_0x2e8364(0x272)](0x1)),await _0xbdaff0['iUkCW'](withTelemetry,'setup:profiles',_0x5409bc=>ensureLocalEnv({'url':_0x4c0ae3[_0x2e8364(0x33f)],'force':_0x4c0ae3[_0x2e8364(0x2f9)],'allowInsecureLocalhost':_0x4c0ae3[_0x2e8364(0x2f3)],'scope':_0x2e8364(0x326)},_0x5409bc));})['option'](_0xbdaff0['dtyFV'],{'type':'boolean','description':_0x24e090(0x342),'default':![]})[_0x24e090(0x2fe)](_0xbdaff0['VSyIx'],{'type':_0xbdaff0[_0x24e090(0x38b)],'choices':[_0x24e090(0x326)],'hidden':!![],'description':_0x24e090(0x1e6)})['option'](_0xbdaff0['tpQVk'],{'type':_0xbdaff0[_0x24e090(0x38b)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option']('force',{'type':_0x24e090(0x226),'description':_0x24e090(0x295),'default':![]})['option'](_0xbdaff0[_0x24e090(0x341)],{'type':'boolean','description':_0xbdaff0['ncQfP'],'default':![]})['option']('allow-insecure-localhost',{'type':_0xbdaff0[_0x24e090(0x346)],'description':_0x24e090(0x377),'default':![]})[_0x24e090(0x2fe)](_0xbdaff0[_0x24e090(0x35b)],{'type':_0x24e090(0x226),'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','default':![]})['option'](_0x24e090(0x26f),{'type':_0xbdaff0['eTpit'],'description':_0xbdaff0['RjoxL'],'default':![]})['option'](_0xbdaff0[_0x24e090(0x334)],{'type':'boolean','description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]})['option']('token',{'type':_0xbdaff0['SyVno'],'hidden':!![],'description':'API\x20token'});},async _0x5ddb42=>{const _0x2e462e=_0x317683,_0x373ba2=_0x5ddb42[_0x2e462e(0x2ab)],_0x11a730=_0x5ddb42['token']??_0x373ba2;_0x5ddb42[_0xbdaff0['QkaLZ']]&&await _0xbdaff0['YElIp'](withTelemetry,_0xbdaff0['QkaLZ'],()=>mcpBootstrap()),await _0xbdaff0['tCVmk'](withTelemetry,_0xbdaff0[_0x2e462e(0x37f)],_0x2dcdb7=>start(_0x11a730,{'skipChromium':_0x5ddb42[_0x2e462e(0x303)],'skipAuth':_0x5ddb42['skip-auth'],'withDeps':_0x5ddb42[_0x2e462e(0x2d9)],'scope':_0x5ddb42[_0x2e462e(0x35a)],'url':_0x5ddb42[_0x2e462e(0x33f)],'force':_0x5ddb42['force'],'opencode':_0x5ddb42['opencode'],'allowInsecureLocalhost':_0x5ddb42[_0x2e462e(0x2f3)]},_0x2dcdb7));})[_0x317683(0x364)](_0xbdaff0[_0x317683(0x393)],![],_0x3c1048=>{const _0x53eb52=_0x317683;return _0x3c1048[_0x53eb52(0x2ce)](_0x53eb52(0x319),{'type':_0xbdaff0['SyVno'],'description':_0xbdaff0[_0x53eb52(0x338)],'demandOption':!![]})['option']('profile',{'type':_0xbdaff0[_0x53eb52(0x38b)],'description':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)'})[_0x53eb52(0x2fe)](_0xbdaff0['rrNQm'],{'type':_0xbdaff0['SyVno'],'description':_0xbdaff0[_0x53eb52(0x1f6)]})['option']('skip-chromium',{'type':_0xbdaff0['eTpit'],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x3f665b=>{const _0x2ed871=_0x317683;await _0xbdaff0['yJtWo'](withTelemetry,'setup-ci',_0x3236d2=>setupCi(_0x3f665b['token'],{'profile':_0x3f665b[_0x2ed871(0x372)],'baseUrl':_0x3f665b['base-url'],'skipChromium':_0x3f665b[_0x2ed871(0x303)]},_0x3236d2));})[_0x317683(0x364)]('login',_0x317683(0x379),()=>{},async()=>{const _0x1a3807=_0x317683;await _0xbdaff0[_0x1a3807(0x25c)](withTelemetry,'login',()=>login());})['command'](_0xbdaff0['mMeLw'],_0x317683(0x32c),_0x41acef=>{const _0x35db41=_0x317683;return _0x41acef[_0x35db41(0x2fe)](_0x35db41(0x2c9),{'type':_0xbdaff0['eTpit'],'description':_0xbdaff0[_0x35db41(0x28d)],'default':![]})['option'](_0xbdaff0['VSyIx'],{'type':_0x35db41(0x356),'choices':['user',_0xbdaff0['RcOla']],'description':'Install\x20scope\x20for\x20skills'});},async _0x8967d1=>{const _0xd00c22=_0x317683,_0x138fa1=Boolean(_0x8967d1['opencode']);await _0xbdaff0['YElIp'](withTelemetry,_0xd00c22(0x315),()=>skillup({'autoInstall':_0x8967d1[_0xd00c22(0x35a)],'platform':_0x138fa1?_0xd00c22(0x2c9):_0xd00c22(0x2fc)}));})['command'](_0xbdaff0[_0x317683(0x399)],_0xbdaff0['pedQP'],()=>{},async()=>{const _0x4e7713=_0x317683;await _0xbdaff0[_0x4e7713(0x2f5)](withTelemetry,_0xbdaff0[_0x4e7713(0x399)],()=>clean());})[_0x317683(0x364)](['profile','profiles'],_0xbdaff0['qXCCx'],_0x4c2013=>{const _0x7d00e5=_0x317683,_0x2f2c78={'whaDa':_0x7d00e5(0x33f),'jjQQk':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','nqSzs':_0x7d00e5(0x2f9),'zUtfU':_0xbdaff0[_0x7d00e5(0x38b)],'pSmrL':_0xbdaff0[_0x7d00e5(0x353)],'CnODT':_0x7d00e5(0x226),'cxNCd':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','ClgXt':_0x7d00e5(0x36e),'YrqEQ':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','ckVzE':'scope','NqWDl':_0xbdaff0[_0x7d00e5(0x260)],'XslUl':_0xbdaff0[_0x7d00e5(0x280)],'qlaoB':_0xbdaff0[_0x7d00e5(0x2b3)],'BeeLU':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','bAPeN':_0xbdaff0['mBwOa'],'jIGUU':function(_0x1c41f2,_0x2fca80){const _0x1a44b1=_0x7d00e5;return _0xbdaff0[_0x1a44b1(0x1f0)](_0x1c41f2,_0x2fca80);},'PyYku':function(_0x414a6e,_0x37ba25,_0x3c46fb){return _0xbdaff0['cZCZe'](_0x414a6e,_0x37ba25,_0x3c46fb);},'zYJFn':'Profile\x20name','VEhZU':_0xbdaff0['RqTJe'],'DmBlk':_0xbdaff0['uNGYD'],'QmAiF':_0x7d00e5(0x33b),'sFhvH':_0xbdaff0['LaIZP'],'fiiNC':_0xbdaff0['DRwcE'],'xOGOu':_0xbdaff0['RjJKe'],'vYcZP':function(_0x46f91b,_0x4d9b81,_0x5eb88b){return _0x46f91b(_0x4d9b81,_0x5eb88b);},'IEMXw':'profile\x20migrate','dXGbB':_0xbdaff0['nSpNp'],'DKQxX':'value','VZxEf':_0xbdaff0['GiQaG'],'vrtQA':_0xbdaff0['FMHnq'],'OFvKj':'profile\x20config\x20list','CVEIJ':_0x7d00e5(0x2b6)};return _0x4c2013['usage'](PROFILE_HELP)['command']('add\x20<profile-name>','Add\x20profile\x20configuration',_0x2cfc8e=>{const _0x13bebc=_0x7d00e5;return _0x2cfc8e[_0x13bebc(0x2ce)](_0x13bebc(0x24c),{'type':_0x13bebc(0x356),'description':_0x13bebc(0x224),'demandOption':!![]})['option']('ci',{'type':'boolean','hidden':!![],'default':![]})['option']('skip-auth',{'type':'boolean','description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0x13bebc(0x2fe)](_0x2f2c78[_0x13bebc(0x27d)],{'type':_0x13bebc(0x356),'description':_0x2f2c78[_0x13bebc(0x26e)]})[_0x13bebc(0x2fe)](_0x2f2c78[_0x13bebc(0x203)],{'type':_0x13bebc(0x226),'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x13bebc(0x2fe)](_0x13bebc(0x1f2),{'type':_0x2f2c78['zUtfU'],'description':_0x13bebc(0x207)})[_0x13bebc(0x2fe)](_0x2f2c78[_0x13bebc(0x248)],{'type':_0x2f2c78['CnODT'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0x13bebc(0x2fe)]('safe-mode',{'type':_0x13bebc(0x226),'description':_0x2f2c78[_0x13bebc(0x358)],'default':![]})['option'](_0x2f2c78[_0x13bebc(0x2f8)],{'type':_0x13bebc(0x356),'array':!![],'description':_0x2f2c78['YrqEQ']})[_0x13bebc(0x2fe)](_0x2f2c78['ckVzE'],{'type':_0x13bebc(0x356),'choices':[_0x2f2c78['NqWDl'],_0x2f2c78[_0x13bebc(0x1ea)]],'description':_0x2f2c78[_0x13bebc(0x231)]})['option'](_0x13bebc(0x23a),{'type':'boolean','alias':'y','description':_0x2f2c78['BeeLU'],'default':![]});},async _0x113daa=>{const _0x185d28=_0x7d00e5;await withTelemetry(_0x2f2c78['bAPeN'],_0x279c05=>addEnv(_0x113daa[_0x185d28(0x24c)],{'ci':_0x113daa['ci'],'skipAuth':_0x113daa['skip-auth'],'url':_0x113daa['url'],'force':_0x113daa['force'],'cdpEndpoint':_0x113daa[_0x185d28(0x1f2)],'allowInsecureLocalhost':_0x113daa['allow-insecure-localhost'],'safeMode':_0x113daa['safe-mode'],'setupHeader':_0x113daa[_0x185d28(0x36e)],'scope':_0x113daa[_0x185d28(0x35a)],'yes':_0x113daa['yes']},_0x279c05),{'isElectron':_0x2f2c78[_0x185d28(0x206)](Boolean,_0x113daa[_0x185d28(0x1f2)])});})[_0x7d00e5(0x364)](_0xbdaff0['jOUeM'],_0xbdaff0['IqLdy'],_0x38da62=>{const _0x12cac0=_0x7d00e5;return _0x38da62['positional']('profile-name',{'type':_0x12cac0(0x356),'description':_0xbdaff0['OnItN'],'demandOption':!![]});},async _0x2da3cc=>{const _0x28963e=_0x7d00e5;await _0xbdaff0['srGjH'](withTelemetry,_0xbdaff0[_0x28963e(0x30b)],()=>useEnv(_0x2da3cc[_0x28963e(0x24c)]));})['command'](_0xbdaff0['pAAjT'],_0x7d00e5(0x276),_0x1b615b=>{const _0x580b46=_0x7d00e5;return _0x1b615b[_0x580b46(0x2ce)](_0xbdaff0[_0x580b46(0x253)],{'type':_0xbdaff0[_0x580b46(0x38b)],'description':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','demandOption':!![]})[_0x580b46(0x2fe)](_0x580b46(0x23a),{'type':_0x580b46(0x226),'alias':'y','description':_0xbdaff0['fbbcc'],'default':![]});},async _0x1537e1=>{const _0x549ee4=_0x7d00e5;await _0x2f2c78['PyYku'](withTelemetry,_0x549ee4(0x1fe),()=>deleteProfile(_0x1537e1['profile-name'],{'yes':_0x1537e1[_0x549ee4(0x23a)]}));})[_0x7d00e5(0x364)](_0xbdaff0[_0x7d00e5(0x1eb)],![],_0xf604d7=>{const _0x1d2f09=_0x7d00e5;return _0xf604d7['positional']('profile',{'type':_0x2f2c78[_0x1d2f09(0x2a6)],'description':_0x2f2c78['zYJFn'],'demandOption':!![]});},async _0x4fee05=>{const _0x35d9bc=_0x7d00e5;await _0xbdaff0['VZojT'](withTelemetry,_0x35d9bc(0x26a),()=>authEncrypt(_0x4fee05['profile']));})['command']('ls',_0x7d00e5(0x22c),()=>{},async()=>{const _0x352992=_0x7d00e5;await _0xbdaff0[_0x352992(0x241)](withTelemetry,_0xbdaff0['PABfr'],()=>envList());})[_0x7d00e5(0x364)](_0x7d00e5(0x20d),_0x7d00e5(0x29b),_0x2dfa5b=>{const _0x53ac8e=_0x7d00e5;return _0x2dfa5b[_0x53ac8e(0x2ce)]('profile-name',{'type':'string','description':_0xbdaff0['txfPN'],'demandOption':!![]})['option']('allow-insecure-localhost',{'type':_0xbdaff0[_0x53ac8e(0x346)],'description':_0xbdaff0['fcTeP']})['option'](_0xbdaff0[_0x53ac8e(0x305)],{'type':_0xbdaff0[_0x53ac8e(0x346)],'description':_0xbdaff0[_0x53ac8e(0x23f)]});},async _0x277e19=>{const _0x3e9374=_0x7d00e5;await _0xbdaff0[_0x3e9374(0x362)](withTelemetry,_0xbdaff0['BGoLO'],_0x5d1aea=>updateEnv(_0x277e19['profile-name'],_0x5d1aea,{'allowInsecureLocalhost':_0x277e19['allow-insecure-localhost'],'manual':_0x277e19['manual']}));})[_0x7d00e5(0x364)](_0x7d00e5(0x343),![],_0x3c39cd=>{return _0x3c39cd['positional']('name',{'type':'string','description':_0x2f2c78['VEhZU'],'demandOption':!![]});},async _0x4d796d=>{const _0x239f93=_0x7d00e5,_0x16e48a={'ONzUD':function(_0x5b05a5,_0x18354d){const _0x12a7e3=_0x1bb4;return _0xbdaff0[_0x12a7e3(0x2dd)](_0x5b05a5,_0x18354d);},'jvals':_0xbdaff0[_0x239f93(0x2bd)],'kJSax':function(_0x417a85,_0x19faf0){return _0x417a85===_0x19faf0;}};await _0xbdaff0['cZCZe'](withTelemetry,_0xbdaff0[_0x239f93(0x391)],async()=>{const _0x2020e7=_0x239f93,_0x4d62c6=process['env']['RANGER_TEST_USERNAME'],_0x5ccc55=process[_0x2020e7(0x27f)]['RANGER_TEST_PASSWORD'];_0x16e48a[_0x2020e7(0x324)](!_0x4d62c6,!_0x5ccc55)&&(console[_0x2020e7(0x382)]('Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.'),process[_0x2020e7(0x272)](0x1));const _0x22f86f=_0x4d796d[_0x2020e7(0x267)],_0x3b620c=await serverSideLogin(_0x22f86f,{'force':!![]});_0x3b620c[_0x2020e7(0x221)]==='not_configured'&&(console['error'](_0x16e48a['jvals']),process[_0x2020e7(0x272)](0x1)),_0x16e48a[_0x2020e7(0x2a2)](_0x3b620c['status'],'failed')&&(console['error'](_0x2020e7(0x269)+(_0x3b620c[_0x2020e7(0x382)]??_0x2020e7(0x27b))),_0x3b620c[_0x2020e7(0x2a9)]&&console[_0x2020e7(0x382)](_0x3b620c['test_output']),process[_0x2020e7(0x272)](0x1)),console['log'](_0x2020e7(0x268)+_0x22f86f+_0x2020e7(0x313));});})['command'](_0xbdaff0[_0x7d00e5(0x28e)],![],_0x2a91e2=>{const _0x4ebc5e=_0x7d00e5;return _0x2a91e2['positional'](_0x2f2c78[_0x4ebc5e(0x204)],{'type':'string','description':_0x2f2c78['QmAiF']})[_0x4ebc5e(0x2fe)]('all',{'type':_0x2f2c78[_0x4ebc5e(0x31c)],'description':_0x2f2c78[_0x4ebc5e(0x36d)],'default':![]})['option'](_0x2f2c78['fiiNC'],{'type':_0x2f2c78[_0x4ebc5e(0x31c)],'description':_0x2f2c78[_0x4ebc5e(0x31d)],'default':![]})['option'](_0x4ebc5e(0x23a),{'type':'boolean','alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})['option']('save-creds',{'type':'boolean','description':_0x4ebc5e(0x33d),'default':![]});},async _0xb89274=>{await _0x2f2c78['vYcZP'](withTelemetry,_0x2f2c78['IEMXw'],_0x58a6d8=>migrateProfile({'profileName':_0xb89274['profile-name'],'all':_0xb89274['all'],'dryRun':_0xb89274['dry-run'],'yes':_0xb89274['yes'],'saveCreds':_0xb89274['save-creds']},_0x58a6d8));})[_0x7d00e5(0x364)](_0x7d00e5(0x202),'Manage\x20profile\x20configuration',_0x2e3072=>{const _0x120a31=_0x7d00e5,_0xab4029={'QjhfW':function(_0x218da5,_0xcd1397,_0x15adee){return _0x218da5(_0xcd1397,_0x15adee);},'RaTvS':_0xbdaff0['nSpNp'],'ntucz':_0x120a31(0x2f7)};return _0x2e3072[_0x120a31(0x234)](PROFILE_CONFIG_HELP)[_0x120a31(0x364)](_0x120a31(0x2d8),_0xbdaff0['HtVPf'],_0x24f252=>{const _0x5494d2=_0x120a31;return _0x24f252['positional'](_0x2f2c78[_0x5494d2(0x2bc)],{'type':_0x2f2c78[_0x5494d2(0x2a6)],'description':_0x5494d2(0x2e6),'demandOption':!![]})[_0x5494d2(0x2ce)]('key',{'type':'string','description':_0x5494d2(0x2ca),'demandOption':!![]})[_0x5494d2(0x2ce)](_0x2f2c78[_0x5494d2(0x350)],{'type':'string','description':_0x2f2c78['VZxEf'],'demandOption':!![]});},async _0x230293=>{const _0x3fe2c8=_0x120a31;await withTelemetry('profile\x20config\x20set',()=>configSet(_0x230293[_0x3fe2c8(0x372)],_0x230293['key'],_0x230293[_0x3fe2c8(0x325)]));})['command'](_0x120a31(0x39b),_0xbdaff0[_0x120a31(0x30f)],_0x728d1c=>{const _0x3f5a3d=_0x120a31;return _0x728d1c['positional'](_0x3f5a3d(0x372),{'type':_0x2f2c78[_0x3f5a3d(0x2a6)],'description':_0x3f5a3d(0x2e6),'demandOption':!![]})[_0x3f5a3d(0x2ce)](_0x2f2c78['vrtQA'],{'type':'string','description':'Config\x20key','demandOption':!![]});},async _0x3ad7ea=>{const _0x301723=_0x120a31;await _0xab4029['QjhfW'](withTelemetry,_0x301723(0x2ba),()=>configGet(_0x3ad7ea[_0x301723(0x372)],_0x3ad7ea[_0x301723(0x387)]));})[_0x120a31(0x364)](_0xbdaff0['KoVRn'],_0xbdaff0['kDSiL'],_0x175282=>{const _0x14f059=_0x120a31;return _0x175282['positional'](_0xab4029[_0x14f059(0x21f)],{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x172898=>{const _0x31d9ee=_0x120a31;await withTelemetry(_0x2f2c78[_0x31d9ee(0x1e2)],()=>configList(_0x172898['profile']));})[_0x120a31(0x364)](_0x120a31(0x37d),'Remove\x20a\x20config\x20value',_0x399c0d=>{const _0x411fd2=_0x120a31;return _0x399c0d[_0x411fd2(0x2ce)]('profile',{'type':_0x411fd2(0x356),'description':_0x411fd2(0x2e6),'demandOption':!![]})[_0x411fd2(0x2ce)](_0x411fd2(0x387),{'type':_0x2f2c78['zUtfU'],'description':_0x411fd2(0x37a),'demandOption':!![]});},async _0x29bc48=>{const _0x33f63a=_0x120a31;await withTelemetry(_0xab4029['ntucz'],()=>configUnset(_0x29bc48[_0x33f63a(0x372)],_0x29bc48[_0x33f63a(0x387)]));})[_0x120a31(0x364)](_0x120a31(0x37e),_0xbdaff0[_0x120a31(0x366)],_0x351c82=>{const _0x542d99=_0x120a31;return _0x351c82['positional'](_0x2f2c78['dXGbB'],{'type':'string','description':_0x2f2c78[_0x542d99(0x352)],'demandOption':!![]});},async _0x4802db=>{await withTelemetry(_0x2f2c78['CVEIJ'],()=>configReset(_0x4802db['profile']));})['demandCommand'](0x1,_0xbdaff0['WkItD']);})[_0x7d00e5(0x304)](0x1,_0x7d00e5(0x24d));})['command'](_0x317683(0x221),_0xbdaff0['lZVVk'],()=>{},async()=>{await withTelemetry('status',()=>status());})[_0x317683(0x364)](_0xbdaff0['xzroP'],_0x317683(0x32f),()=>{},async()=>{const _0x191303=_0x317683;await _0xbdaff0[_0x191303(0x2cf)](withTelemetry,_0xbdaff0['xzroP'],()=>update());})[_0x317683(0x364)]('print-access-token',_0x317683(0x36f),()=>{},async()=>{const _0x3c604c={'amLgT':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.'};await _0xbdaff0['KKIxd'](withTelemetry,'print-access-token',async()=>{const _0x52fbcf=_0x1bb4,_0x56a2ea=await getToken();if(!_0x56a2ea)throw new Error(_0x3c604c[_0x52fbcf(0x21a)]);console[_0x52fbcf(0x2d5)](_0x56a2ea);});})[_0x317683(0x364)]('go','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.',_0x24457f=>{const _0x2544df=_0x317683;return _0x24457f['option']('feature',{'type':_0x2544df(0x356),'description':_0xbdaff0['kigrf']})[_0x2544df(0x2fe)]('profile',{'type':_0xbdaff0['SyVno'],'description':_0x2544df(0x293)})[_0x2544df(0x2fe)](_0x2544df(0x2f4),{'type':'string','description':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)'})[_0x2544df(0x2fe)](_0xbdaff0['jQYte'],{'type':_0xbdaff0['QIjNf'],'description':_0xbdaff0[_0x2544df(0x318)]})['option'](_0xbdaff0['nuGfJ'],{'type':'string','description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})['option']('base-url',{'type':'string','description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x2544df(0x2fe)]('model',{'type':'string','description':_0xbdaff0['VtGqf']})['option']('headed',{'type':_0xbdaff0[_0x2544df(0x346)],'description':_0xbdaff0['mLYYz'],'default':![]})[_0x2544df(0x2fe)]('env-var',{'type':_0x2544df(0x356),'array':!![],'alias':_0xbdaff0['qynzn'],'description':_0xbdaff0[_0x2544df(0x348)]})[_0x2544df(0x2fe)](_0xbdaff0[_0x2544df(0x34b)],{'type':_0xbdaff0[_0x2544df(0x38b)],'hidden':!![],'choices':['verified','partial','blocked',_0xbdaff0[_0x2544df(0x201)],_0xbdaff0[_0x2544df(0x32b)]]})[_0x2544df(0x2fe)](_0xbdaff0['uNdaO'],{'type':'boolean','hidden':!![]})['option'](_0x2544df(0x27f),{'type':_0xbdaff0['SyVno'],'hidden':!![]})['option'](_0xbdaff0['CvrDS'],{'type':_0x2544df(0x356),'hidden':!![]})['option'](_0x2544df(0x369),{'type':_0xbdaff0[_0x2544df(0x38f)],'hidden':!![]});},async _0x302067=>{await runGoCommand(_0x302067);})['command'](_0x317683(0x287),![],_0xda8196=>{const _0x2db927=_0x317683;return _0xda8196[_0x2db927(0x364)](_0x2db927(0x223),![],_0x26dd11=>{const _0x75b928=_0x2db927;return _0x26dd11['positional']('profile',{'type':_0x75b928(0x356),'description':'Profile\x20name','demandOption':!![]});},async _0x1fd77b=>{const _0x1b68f9=_0x2db927;_0xbdaff0['KKIxd'](warnRenamed,'ranger\x20auth\x20encrypt',_0xbdaff0['SduzX']),await authEncrypt(_0x1fd77b[_0x1b68f9(0x372)]);})[_0x2db927(0x304)](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command'](_0xbdaff0[_0x317683(0x1ed)],![],_0x56f0e2=>{const _0x1983a3=_0x317683;return _0x56f0e2[_0x1983a3(0x2ce)](_0xbdaff0[_0x1983a3(0x345)],{'type':_0xbdaff0['SyVno'],'description':_0xbdaff0[_0x1983a3(0x33a)]})['option']('skip-chromium',{'type':_0x1983a3(0x226),'description':_0x1983a3(0x342),'default':![]})[_0x1983a3(0x2fe)](_0x1983a3(0x35a),{'type':_0xbdaff0['SyVno'],'choices':[_0xbdaff0[_0x1983a3(0x260)]],'hidden':!![],'description':_0xbdaff0[_0x1983a3(0x249)]})[_0x1983a3(0x2fe)](_0x1983a3(0x33f),{'type':_0xbdaff0[_0x1983a3(0x38b)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})[_0x1983a3(0x2fe)](_0xbdaff0['pPFsy'],{'type':_0x1983a3(0x226),'description':_0xbdaff0[_0x1983a3(0x312)],'default':![]})[_0x1983a3(0x2fe)](_0x1983a3(0x26f),{'type':_0xbdaff0[_0x1983a3(0x346)],'description':_0x1983a3(0x2a5),'default':![]})[_0x1983a3(0x2fe)](_0xbdaff0['AeIXa'],{'type':_0x1983a3(0x226),'description':_0x1983a3(0x277),'default':![]});},async _0xd0056a=>{const _0x30d460=_0x317683;_0xbdaff0[_0x30d460(0x2c7)](warnRenamed,_0x30d460(0x34f),_0xbdaff0[_0x30d460(0x368)]),await _0xbdaff0[_0x30d460(0x219)](withTelemetry,_0xbdaff0['Jojtf'],_0x2529e3=>start(_0xd0056a[_0x30d460(0x319)],{'skipChromium':_0xd0056a['skip-chromium'],'skipAuth':_0xd0056a[_0x30d460(0x26f)],'withDeps':_0xd0056a['with-deps'],'scope':_0xd0056a[_0x30d460(0x35a)],'url':_0xd0056a[_0x30d460(0x33f)],'force':_0xd0056a['force']},_0x2529e3));})['command'](_0xbdaff0[_0x317683(0x2b0)],![],_0x58a35c=>{const _0x433639=_0x317683;return _0x58a35c['option'](_0xbdaff0['SUfdv'],{'type':_0xbdaff0['SyVno'],'description':_0xbdaff0[_0x433639(0x1e7)]})['option']('task',{'type':'string','description':_0xbdaff0['mwRQY']})['option'](_0xbdaff0['EFQvn'],{'type':_0x433639(0x291),'description':_0xbdaff0['wYCmG']})['option'](_0xbdaff0[_0x433639(0x282)],{'type':'string','hidden':!![]})['option']('notes',{'type':_0x433639(0x356),'hidden':!![]})[_0x433639(0x2fe)](_0x433639(0x265),{'type':_0xbdaff0[_0x433639(0x38f)],'hidden':!![]})['option'](_0xbdaff0['nuGfJ'],{'type':'string','description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})[_0x433639(0x2fe)]('base-url',{'type':_0x433639(0x356),'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})['option'](_0xbdaff0['ZgZME'],{'type':_0xbdaff0[_0x433639(0x38b)],'hidden':!![]})[_0x433639(0x2fe)](_0x433639(0x35f),{'type':'boolean','hidden':!![],'default':![]})['option'](_0xbdaff0[_0x433639(0x244)],{'type':_0xbdaff0['SyVno'],'array':!![],'alias':'environment-variable','hidden':!![]})['option'](_0xbdaff0['IrgyE'],{'type':'string','hidden':!![],'choices':[_0xbdaff0['GIDJB'],'partial',_0x433639(0x2c8),_0x433639(0x38e),_0x433639(0x26d)]});},async _0x2bbc39=>{const _0x137dd1=_0x317683;await _0xbdaff0[_0x137dd1(0x38c)](runGoCommand,_0x2bbc39,!![]);})['command']('add\x20env\x20<env-name>',![],_0x369135=>{const _0x37ff4d=_0x317683;return _0x369135[_0x37ff4d(0x2ce)](_0xbdaff0['MrbJU'],{'type':'string','description':_0xbdaff0['nwSDD'],'demandOption':!![]})[_0x37ff4d(0x2fe)]('ci',{'type':'boolean','description':_0xbdaff0[_0x37ff4d(0x2d0)],'default':![]})['option'](_0xbdaff0[_0x37ff4d(0x37b)],{'type':'boolean','description':_0x37ff4d(0x227),'default':![]});},async _0x5abc95=>{const _0x42352a=_0x317683;_0xbdaff0['YElIp'](warnRenamed,_0xbdaff0['nRzLo'],_0xbdaff0['wRnbJ']),await _0xbdaff0['OcGYb'](withTelemetry,'add\x20env',_0xb7b8a3=>addEnv(_0x5abc95['env-name'],{'ci':_0x5abc95['ci'],'skipAuth':_0x5abc95[_0x42352a(0x26f)]},_0xb7b8a3));})[_0x317683(0x364)](_0xbdaff0[_0x317683(0x1f7)],![],_0xd153b4=>{const _0x28664b=_0x317683;return _0xd153b4[_0x28664b(0x2ce)]('env-name',{'type':_0xbdaff0[_0x28664b(0x38b)],'description':_0xbdaff0[_0x28664b(0x266)],'demandOption':!![]});},async _0x3785d3=>{const _0x48e56c=_0x317683;warnRenamed(_0xbdaff0['VsMKT'],_0xbdaff0[_0x48e56c(0x1df)]),await _0xbdaff0['KRmaU'](withTelemetry,'use',()=>useEnv(_0x3785d3['env-name']));})[_0x317683(0x364)](_0xbdaff0[_0x317683(0x22d)],![],_0x105245=>{const _0x448c39=_0x317683,_0x2a139e={'UmBWE':'Environment\x20name','mmaDi':_0xbdaff0['WObbK'],'WDkSE':_0xbdaff0[_0x448c39(0x1e4)],'lPYGh':_0xbdaff0[_0x448c39(0x38b)],'sTUnL':_0xbdaff0['SUfdv'],'EHiTj':_0xbdaff0['GyVsW'],'kEQSJ':_0xbdaff0[_0x448c39(0x263)]};return _0x105245['command'](_0xbdaff0[_0x448c39(0x1e9)],![],_0x346a92=>{const _0x120cdc=_0x448c39;return _0x346a92[_0x120cdc(0x2ce)](_0x120cdc(0x27f),{'type':_0x120cdc(0x356),'description':_0x2a139e[_0x120cdc(0x23d)],'demandOption':!![]})[_0x120cdc(0x2ce)]('key',{'type':'string','description':_0x2a139e['mmaDi'],'demandOption':!![]})['positional'](_0x120cdc(0x325),{'type':'string','description':_0x2a139e[_0x120cdc(0x317)],'demandOption':!![]});},async _0x198816=>{const _0x4ed596=_0x448c39;_0xbdaff0[_0x4ed596(0x241)](warnRenamed,_0xbdaff0[_0x4ed596(0x309)],_0x4ed596(0x259)),await withTelemetry(_0xbdaff0['sCIrW'],()=>configSet(_0x198816['env'],_0x198816['key'],_0x198816['value']));})['command'](_0xbdaff0['rvYrd'],![],_0x246ad8=>{const _0x369407=_0x448c39;return _0x246ad8['positional'](_0x369407(0x27f),{'type':'string','description':'Environment\x20name','demandOption':!![]})['positional'](_0x369407(0x387),{'type':_0x2a139e['lPYGh'],'description':_0x369407(0x24b),'demandOption':!![]});},async _0x569526=>{const _0x3eacc2=_0x448c39;warnRenamed(_0xbdaff0['JidEs'],_0x3eacc2(0x246)),await _0xbdaff0['Rltnv'](withTelemetry,'config\x20get',()=>configGet(_0x569526['env'],_0x569526[_0x3eacc2(0x387)]));})['command'](_0xbdaff0['XlLZa'],![],_0x3f4db6=>{const _0xf02ae1=_0x448c39;return _0x3f4db6[_0xf02ae1(0x2ce)](_0x2a139e['sTUnL'],{'type':_0x2a139e[_0xf02ae1(0x1ee)],'description':_0x2a139e[_0xf02ae1(0x23d)],'demandOption':!![]});},async _0x4c786a=>{const _0xda455b=_0x448c39;warnRenamed(_0xbdaff0[_0xda455b(0x38a)],_0xbdaff0[_0xda455b(0x31f)]),await withTelemetry(_0xda455b(0x2c4),()=>configList(_0x4c786a['env']));})['command'](_0x448c39(0x2be),![],_0x1174ed=>{const _0x259c19=_0x448c39;return _0x1174ed['positional']('env',{'type':_0x259c19(0x356),'description':_0x2a139e[_0x259c19(0x23d)],'demandOption':!![]})['positional']('key',{'type':_0x2a139e['lPYGh'],'description':_0x259c19(0x37a),'demandOption':!![]});},async _0x57bc8a=>{const _0x520bc5=_0x448c39;warnRenamed(_0x2a139e['EHiTj'],_0x520bc5(0x284)),await withTelemetry(_0x2a139e[_0x520bc5(0x2d1)],()=>configUnset(_0x57bc8a[_0x520bc5(0x27f)],_0x57bc8a['key']));})[_0x448c39(0x304)](0x1,_0xbdaff0[_0x448c39(0x1f8)]);})['command'](_0xbdaff0[_0x317683(0x2c6)],![],_0x4a2d17=>{const _0x557aea=_0x317683,_0x2c0198={'TlNDg':function(_0x2c5541,_0x5c689e,_0x7b4c49){const _0x7d3d26=_0x1bb4;return _0xbdaff0[_0x7d3d26(0x25c)](_0x2c5541,_0x5c689e,_0x7b4c49);},'WqGSZ':function(_0x58ba1b,_0x2e90fb,_0x17ff49){return _0x58ba1b(_0x2e90fb,_0x17ff49);},'ezHws':'env\x20update'};return _0x4a2d17[_0x557aea(0x364)]('ls',![],()=>{},async()=>{const _0x24eaca=_0x557aea;_0xbdaff0[_0x24eaca(0x38d)](warnRenamed,_0xbdaff0[_0x24eaca(0x20a)],_0x24eaca(0x252)),await _0xbdaff0['VQcIV'](withTelemetry,_0xbdaff0[_0x24eaca(0x2ee)],()=>envList());})['command']('update\x20<env-name>',![],_0x161bbd=>{return _0x161bbd['positional']('env-name',{'type':_0xbdaff0['SyVno'],'description':_0xbdaff0['HIvNo'],'demandOption':!![]});},async _0x2c2f51=>{const _0x13218e=_0x557aea;_0x2c0198[_0x13218e(0x210)](warnRenamed,'ranger\x20env\x20update',_0x13218e(0x237)),await _0x2c0198['WqGSZ'](withTelemetry,_0x2c0198['ezHws'],_0x40bd03=>updateEnv(_0x2c2f51['env-name'],_0x40bd03));})['demandCommand'](0x1,_0xbdaff0['GACAi']);})['command']('feature',![],_0x462e1e=>{const _0x26b679=_0x317683,_0x328db8={'gYLXi':'boolean','yGyjl':_0x26b679(0x289),'KVriU':_0xbdaff0['NonOo'],'EYPQN':'Number\x20of\x20feature\x20reviews\x20to\x20skip','OfmFA':_0xbdaff0['VfBTe'],'sSpDS':function(_0x20718f,_0x7b7cb8,_0x3b9d6e){const _0x254c94=_0x26b679;return _0xbdaff0[_0x254c94(0x38d)](_0x20718f,_0x7b7cb8,_0x3b9d6e);},'aIdzi':_0xbdaff0['admqz'],'gXLcQ':_0xbdaff0['DNYKA'],'XNnLR':'feature\x20show','wrJvp':_0xbdaff0['SyVno']};return _0x462e1e[_0x26b679(0x364)](_0x26b679(0x2a4),![],_0x273d2c=>{const _0xa3072c=_0x26b679;return _0x273d2c[_0xa3072c(0x2ce)](_0xa3072c(0x267),{'type':_0xbdaff0[_0xa3072c(0x38b)],'description':'Feature\x20review\x20name','demandOption':!![]})[_0xa3072c(0x2fe)](_0xbdaff0[_0xa3072c(0x297)],{'type':_0xbdaff0[_0xa3072c(0x38b)],'alias':'d','description':'Feature\x20review\x20description'})[_0xa3072c(0x2fe)](_0xa3072c(0x285),{'type':_0xbdaff0['HlIhc'],'alias':'c','description':_0xbdaff0['QPZLD']})['option'](_0xa3072c(0x265),{'type':_0xa3072c(0x363),'hidden':!![]});},async _0x235b7e=>{const _0x3087e8=_0x26b679;warnRenamed(_0xbdaff0['UwPJm'],_0xbdaff0[_0x3087e8(0x395)]),warnFlagRenamed(_0x3087e8(0x39c),_0x3087e8(0x2b1),_0xbdaff0[_0x3087e8(0x29f)]);const _0x12381a=_0x235b7e['scenario']||_0x235b7e['checklist'];await _0xbdaff0['SKyrc'](withTelemetry,_0x3087e8(0x2c5),()=>featureCreate(_0x235b7e['name'],{'description':_0x235b7e['description'],'scenarios':_0x12381a}));})[_0x26b679(0x364)](_0xbdaff0[_0x26b679(0x21e)],![],_0x36e981=>{const _0x3f5044=_0x26b679;return _0x36e981[_0x3f5044(0x2fe)]('current-branch',{'type':_0x328db8['gYLXi'],'description':_0x3f5044(0x2b4)})[_0x3f5044(0x2fe)](_0x328db8[_0x3f5044(0x2b2)],{'type':'number','alias':'l','description':_0x328db8[_0x3f5044(0x2cd)],'default':0xa})['option'](_0x3f5044(0x25a),{'type':'number','alias':'o','description':_0x328db8['EYPQN'],'default':0x0})['option'](_0x3f5044(0x2ae),{'type':_0x3f5044(0x226),'alias':'d','description':_0x3f5044(0x205),'default':![]});},async _0x1a6b81=>{const _0x48104e=_0x26b679;warnRenamed(_0x48104e(0x322),_0xbdaff0[_0x48104e(0x225)]),await withTelemetry(_0x48104e(0x215),()=>featureList({'currentBranch':_0x1a6b81[_0x48104e(0x302)],'limit':_0x1a6b81['limit'],'offset':_0x1a6b81[_0x48104e(0x25a)],'includeDeleted':_0x1a6b81[_0x48104e(0x2ae)]}));})['command'](_0x26b679(0x31e),![],_0x140910=>{const _0x2c6109=_0x26b679;return _0x140910[_0x2c6109(0x2ce)]('id',{'type':'string','description':_0x328db8['OfmFA']});},async _0x3b2852=>{const _0x3c8d51=_0x26b679;_0x328db8['sSpDS'](warnRenamed,_0x328db8[_0x3c8d51(0x22f)],_0x328db8[_0x3c8d51(0x2fa)]),await withTelemetry(_0x328db8[_0x3c8d51(0x2af)],()=>featureShow(_0x3b2852['id']));})[_0x26b679(0x364)]('resume\x20[id]',![],_0x162993=>{const _0x14d221=_0x26b679;return _0x162993['positional']('id',{'type':_0x328db8[_0x14d221(0x28f)],'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0xc5892f=>{const _0x1869eb=_0x26b679;_0xbdaff0[_0x1869eb(0x2b7)](warnRenamed,_0xbdaff0['OMxdf'],_0x1869eb(0x35d)),await _0xbdaff0['LJiTJ'](withTelemetry,'feature\x20resume',()=>featureResume(_0xc5892f['id']));})['command'](_0xbdaff0[_0x26b679(0x1e1)],![],_0x937c5=>{const _0x517e56=_0x26b679;return _0x937c5[_0x517e56(0x2ce)](_0x517e56(0x316),{'type':_0x517e56(0x356),'description':'Scenario\x20description','demandOption':!![]})[_0x517e56(0x2fe)]('id',{'type':_0xbdaff0[_0x517e56(0x38b)],'description':_0xbdaff0['iqfZn']});},async _0x3e020b=>{const _0x1c583c=_0x26b679;warnRenamed(_0xbdaff0[_0x1c583c(0x2df)],_0x1c583c(0x397)),await withTelemetry(_0x1c583c(0x22a),()=>featureAddScenario(_0x3e020b[_0x1c583c(0x316)],_0x3e020b['id']));})[_0x26b679(0x364)](_0xbdaff0[_0x26b679(0x381)],![],_0x5bc993=>{const _0xd5e098=_0x26b679;return _0x5bc993[_0xd5e098(0x2ce)]('id',{'type':_0xd5e098(0x356),'description':_0xd5e098(0x370)});},async _0x59f6db=>{const _0x54a3b7=_0x26b679;_0xbdaff0['YElIp'](warnRenamed,_0xbdaff0[_0x54a3b7(0x27e)],_0xbdaff0['eJEBl']),await _0xbdaff0[_0x54a3b7(0x2c7)](withTelemetry,_0xbdaff0[_0x54a3b7(0x35e)],()=>featureGetReview(_0x59f6db['id']));})[_0x26b679(0x364)](_0xbdaff0[_0x26b679(0x376)],![],_0x57cb4c=>{const _0x2d92de=_0x26b679;return _0x57cb4c[_0x2d92de(0x2ce)]('id',{'type':_0x328db8[_0x2d92de(0x28f)],'description':'Feature\x20review\x20ID'});},async _0x2e3bc7=>{const _0x4af50e=_0x26b679;_0xbdaff0[_0x4af50e(0x219)](warnRenamed,'ranger\x20feature\x20delete',_0xbdaff0[_0x4af50e(0x2c2)]),await _0xbdaff0['YjFED'](withTelemetry,_0x4af50e(0x230),()=>featureDelete(_0x2e3bc7['id']));})[_0x26b679(0x364)](_0xbdaff0[_0x26b679(0x1fb)],![],_0xbd741e=>{const _0x3560bb=_0x26b679;return _0xbd741e['positional']('id',{'type':_0x3560bb(0x356),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x26fdf8=>{const _0xb7e195=_0x26b679;warnRenamed(_0xb7e195(0x2e4),_0xb7e195(0x37c)),await withTelemetry(_0xbdaff0['ZHRoo'],()=>featureRestore(_0x26fdf8['id']));})['demandCommand'](0x1,_0x26b679(0x21d));})[_0x317683(0x364)](_0x317683(0x328),![],_0x260dac=>{const _0x2a65ff=_0x317683,_0x29ed85={'HOjRG':_0xbdaff0[_0x2a65ff(0x258)],'GjIFj':_0x2a65ff(0x356),'HXYEf':function(_0x3daab6,_0x4761f8,_0xbba398){return _0x3daab6(_0x4761f8,_0xbba398);},'nFMzg':'hook:disable'};return _0x260dac['command'](_0xbdaff0['CpLPI'],_0xbdaff0[_0x2a65ff(0x333)],_0x5d7a9d=>{const _0x480565=_0x2a65ff;return _0x5d7a9d['option'](_0x29ed85['HOjRG'],{'type':_0x29ed85[_0x480565(0x256)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x43062d=>{const _0x4c9ac9=_0x2a65ff;await _0x29ed85[_0x4c9ac9(0x1f4)](withTelemetry,'hook:enable',()=>hook(_0x4c9ac9(0x229),_0x43062d[_0x4c9ac9(0x2eb)]));})['command'](_0x2a65ff(0x33e),_0x2a65ff(0x238),_0x6d4d6e=>{const _0x107ebb=_0x2a65ff;return _0x6d4d6e['option'](_0x107ebb(0x2eb),{'type':_0xbdaff0['SyVno'],'description':_0xbdaff0['PQnDU']});},async _0x30a694=>{const _0x1b0ce2=_0x2a65ff;await withTelemetry(_0x29ed85['nFMzg'],()=>hook('disable',_0x30a694[_0x1b0ce2(0x2eb)]));})[_0x2a65ff(0x2fe)]('name',{'type':_0x2a65ff(0x356),'description':_0xbdaff0['iwqPq']})['option'](_0xbdaff0[_0x2a65ff(0x258)],{'type':'string','description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x4c434f=>{const _0x3492bd=_0x317683;_0x4c434f['name']&&await _0xbdaff0[_0x3492bd(0x288)](hook,_0x4c434f['name'],_0x4c434f[_0xbdaff0['xJTHl']]);})[_0x317683(0x304)](0x1,_0xbdaff0['VePaB'])['strictCommands']()['fail'](async(_0x57d618,_0x504e33,_0x8e09d0)=>{const _0x291e56=_0x317683,_0x375a87=_0xbdaff0['Yxhrd'](sanitizeArgs,process['argv'][_0x291e56(0x214)](0x2)),_0x9aff17=_0xbdaff0['OcGYb'](getErrorType,_0x57d618,_0x504e33);if(_0x57d618&&_0x57d618[_0x291e56(0x2ed)](_0xbdaff0['LxSDy'])){const _0x277b02=process['argv'][0x2];console['error']('\x0aUnknown\x20command:\x20'+_0x277b02),console['error']('Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a');}else{if(_0x57d618)console[_0x291e56(0x382)]('\x0a'+_0x57d618+'\x0a');else _0x504e33&&console['error']('\x0aError:\x20'+_0x504e33[_0x291e56(0x36b)]+'\x0a');}await logDesirePath({'rawCommand':_0x375a87,'errorMessage':_0x57d618||_0x504e33?.[_0x291e56(0x36b)],'errorType':_0x9aff17});const _0x15708a=getCurrentCollector();_0x15708a&&await _0x15708a[_0x291e56(0x281)](_0x504e33||new Error(_0x57d618||_0xbdaff0[_0x291e56(0x373)])),process['exit'](0x1);})['epilogue'](_0xbdaff0[_0x317683(0x2e1)](_0xbdaff0['iblHh'](_0xbdaff0['qNfhO'],_0xbdaff0[_0x317683(0x1e3)]),_0xbdaff0[_0x317683(0x28c)]))['help']()['alias']('help','h');}process[_0x1d5d8a(0x27f)][_0x1d5d8a(0x243)]!=='test'&&(shouldShowLegacyWarning(process[_0x1d5d8a(0x344)])&&showLegacyDeprecationWarning(),buildParser()[_0x1d5d8a(0x1e0)]());
2
+ const _0x2aca60=_0x5ad2;(function(_0x54cb10,_0x37f47d){const _0x183094=_0x5ad2,_0x470892=_0x54cb10();while(!![]){try{const _0x550747=parseInt(_0x183094(0xbd))/0x1*(parseInt(_0x183094(0x190))/0x2)+-parseInt(_0x183094(0x17e))/0x3+parseInt(_0x183094(0xb4))/0x4+-parseInt(_0x183094(0xc5))/0x5+parseInt(_0x183094(0xe1))/0x6+parseInt(_0x183094(0x1be))/0x7*(-parseInt(_0x183094(0x139))/0x8)+-parseInt(_0x183094(0x22b))/0x9*(-parseInt(_0x183094(0x189))/0xa);if(_0x550747===_0x37f47d)break;else _0x470892['push'](_0x470892['shift']());}catch(_0x47cb28){_0x470892['push'](_0x470892['shift']());}}}(_0x299b,0x45d37));import _0x27054d from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x34ad12=_0x5ad2,_0x4d730a={'tADTj':function(_0x1b9edc,_0x1c6040){return _0x1b9edc!==_0x1c6040;},'ZASwP':function(_0x533e2b,_0x284ca5){return _0x533e2b(_0x284ca5);},'Egwyk':_0x34ad12(0xaf),'heKTy':function(_0x874275,_0x9bbc5f){return _0x874275(_0x9bbc5f);}};let _0x188b83=process['cwd']();const _0x47e085=parse(_0x188b83)[_0x34ad12(0x1ef)];while(_0x4d730a['tADTj'](_0x188b83,_0x47e085)){if(_0x4d730a[_0x34ad12(0x1a4)](existsSync,join(_0x188b83,_0x4d730a['Egwyk']))||_0x4d730a[_0x34ad12(0x203)](existsSync,join(_0x188b83,_0x34ad12(0x1dd))))return _0x188b83;_0x188b83=dirname(_0x188b83);}return process['cwd']();}_0x27054d[_0x2aca60(0x217)]({'path':join(findProjectRoot(),_0x2aca60(0x1dd))});import _0xec5d51 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';function _0x299b(){const _0x52e509=['ZMbhN','alias','IELZG','YyLAb','list\x20<profile>','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','DTqVb','token','hook:enable','JbWtY','status','TqdJf','HyKGA','all','You\x20must\x20specify\x20a\x20config\x20subcommand','demandCommand','UFmYP','rJEuN','HAhOE','nUBMD','ranger\x20add-scenario','WYbNv','trackCommandError','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','dkuqh','value','HfMMX','WHyix','ranger\x20show','aOIny','KIOOK','blocked','ranger\x20feature\x20create','verified','WjyDE','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','zyIfB','cTyUf','UfMKw','checklist','kxWPF','env-var','fetNf','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','ranger\x20feature\x20list','53472VCYaMO','Manage\x20profile\x20configuration','Feature\x20review\x20ID','pjSTI','env\x20list','ODxuG','mAulD','pWinc','wpRuk','QecCR','List\x20all\x20profiles','34810SLSUdw','add-checklist-item\x20<description>','uzKQO','myyzl','NsBou','login','repeat','5746NQUoDY','wVfWL','ranger\x20feature\x20show','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','number','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','dSrZq','cvpCH','eEieQ','IVYZH','fail','trim','pGmGh','add-scenario\x20<description>','rangerwright-cli','vftSY','ranger\x20feature\x20add-checklist-item','ZbbMX','YWdMb','ZASwP','Print\x20the\x20current\x20CLI\x20access\x20token','\x0aUnknown\x20command:\x20','XgyrL','ranger\x20get-review','exit','hihHq','gklzu','yYSlr','FUOun','UwuXS','uQzSD','name','DdXwv','SBGqU','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','evaluation','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','skills','HCOta','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','QilDN','veXAV','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','RBJvk','help','1683178qnfPNE','BcsJH','OUFsn','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','RiVRw','command','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','YXkge','limit','lkTSU','positional','session-id','EUJKF','hNuPq','LYDgq','restore','Delete\x20a\x20cloud\x20profile','profile\x20encrypt-auth','profile\x20config\x20list','unhandledRejection','ranger\x20config\x20list','scope','DTbgu','Config\x20key','profile-name','severity','fwPBu','iYvmQ','lpnlM','WpCpv','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','.env','Add\x20profile\x20configuration','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','YSAqI','--notes','notes','project','sOZoP','iWqTj','allow-insecure-localhost','usage','\x0aError:\x20','eFwkJ','enable','CshUR','use','ranger\x20profile\x20config\x20get','ranger\x20feature\x20restore','root','manual','qEAzC','item','IowDw','playwright-cli','argv','CUfKQ','FrFWK','xnwlx','filter','tuMzs','WWANT','profile\x20update','Name\x20of\x20the\x20profile\x20to\x20update','You\x20must\x20specify\x20an\x20auth\x20subcommand','ranger\x20use','mcp-bootstrap','dsdKN','prStu','heKTy','env-name','xHymi','JIqHw','clean','version','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','SCAhg','Environment\x20name','error','ranger\x20profile\x20config\x20list','dDQDu','NTzIt','isArray','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','FSzMg','add\x20<profile-name>','disable','NRRIC','hHyHE','config','Config\x20key\x20to\x20remove','boolean','beOVN','JipRO','bmxxh','Initialize\x20Ranger\x20in\x20your\x20project','oVALX','whzyU','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','profile\x20config\x20set','gMfXc','eIqQS','yZeXF','cdp-endpoint','encrypt\x20<profile>','Example:\x20ranger\x20create\x20my-feature','WviEA','feature\x20resume','LyCKi','234zBqzdw','NBCXU','get-review','uLTvv','set\x20<env>\x20<key>\x20<value>','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','Name\x20of\x20the\x20environment\x20to\x20update','AkfBV','qeihq','GSRTY','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201','feature\x20show','get-feedback\x20[id]','Feature\x20review\x20ID\x20to\x20restore','YVPyM','debug-address-comments','Install\x20Ranger\x20skills','PDvgj','AtrLe','feature\x20delete','setup-header','vppgo','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','QRTLQ','add-scenario','aJGMk','summary','VGHLS','hjSbJ','include-deleted','ranger\x20setup\x20profiles\x20--scope=','qDbyN','offset','current-branch','ziRCj','ranger\x20create','fWcmm','array','--checklist','eyChR','pLyyJ','ranger\x20config\x20get','BDzpP','ranger\x20auth\x20encrypt','\x20PARTIAL','Feature\x20review\x20description','cGRDE','delete\x20<profile-name>','Skip\x20the\x20deletion\x20confirmation\x20prompt.','rrLNb','tokenOrSubcommand','scenario','Run\x20full\x20interactive\x20setup','\x0aIssues:','vpIJf','gRQfH','axEBX','profile\x20config\x20get','.ranger','DcoTS','zFkNo','not_configured','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','631700qmaKTB','save-creds','Profile\x20name','key','jNUWN','ZFfnp','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','length','QKuNM','199oHHvxT','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','List\x20all\x20config\x20for\x20a\x20profile','yes','Number\x20of\x20feature\x20reviews\x20to\x20skip','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','boMKh','setup\x20[tokenOrSubcommand]','1957780bGUnvI','RANGER_TEST_PASSWORD','AfyyQ','claude','Install\x20OS-level\x20dependencies\x20for\x20Chromium','user','ranger\x20resume','bDZUq','auth','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','SRGEg','parse','list','UtgjL','--scenario','SNUGJ','env','RANGER_PROFILE','WDRiK','description','feature\x20list','sGOsk','NODE_ENV','HQYak','Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','vRNDu','ranger','incomplete','694098Xyakpl','nOXxx','vfjcz','Optional\x20feature\x20ID','profile','print-access-token','Update\x20authentication\x20for\x20an\x20existing\x20profile','owEtJ','qhJzm','--env','Install\x20scope\x20for\x20plugin\x20and\x20skills','option','debug-outcome','feature','yFYII','config\x20unset','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','MntLG','test','env\x20update','TpKrF','Scenario\x20index\x20(1-based)','DCSXs','opencode','VNcQo','profile\x20config\x20reset','lQlCa','bvEst','HVnur','exitCode','dry-run','bGlKz','QvtRz','xnyhr','UAXSZ','model','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','xszbx','ranger\x20config\x20set','Remove\x20a\x20config\x20value','gbczF','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','MsomM','zMLAG','SuHrI','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','kvDSV','MELtu','skip-auth','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','evaluationReason','kArZF','Authenticate\x20via\x20MCP\x20proxy','force','base-url','wZpue','Qdfup','edit-scenario','Feature\x20review\x20name','irTYN','ndKTJ','string','ranger\x20profile\x20config\x20set','nZFlx','PTOJg','FECmP','QgHyr','MgasT','url','skip-chromium','ranger\x20start','exclude-scenario','MTWiY','wDkGw','sGzRc','raTgO','with-deps','Subcommand\x20or\x20API\x20token\x20(rngr_...)','partial','IzNCO','JkRxX','FEhpv','UKQGX','profiles','dPHjT','wGYVt','SDvdm','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','8bfyukn','verify-feature','resume','ranger\x20go','ZHUWz','XvFqy','Set\x20a\x20config\x20value','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','mcp','PMrHm','fsCkk','ilHXx','oRsOj','slice','oaHDd','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','update\x20<profile-name>','SwxeP','fCXoO','zaqAo','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','ranger\x20add\x20env','bPcFZ','log'];_0x299b=function(){return _0x52e509;};return _0x299b();}function _0x5ad2(_0x1be134,_0x416793){_0x1be134=_0x1be134-0x88;const _0x299b18=_0x299b();let _0x5ad2e2=_0x299b18[_0x1be134];return _0x5ad2e2;}process['on'](_0x2aca60(0x1d1),async _0x1cedb4=>{const _0xe75c5a=_0x2aca60,_0x3227e2=getCurrentCollector();_0x3227e2&&await _0x3227e2['trackCommandError'](_0x1cedb4),process[_0xe75c5a(0xfe)]=0x1;});const rawArgs=process['argv']['slice'](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP=_0x2aca60(0x235),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201';function warnRenamed(_0x18bf9d,_0x4ecf39){const _0x7ec3d7=_0x2aca60;console[_0x7ec3d7(0x20c)]('\x0a'+_0x18bf9d+'\x20is\x20now\x20'+_0x4ecf39+'\x0a');}function argUsed(_0x1fc03f){return rawArgs['some'](_0x287a18=>_0x287a18===_0x1fc03f||_0x287a18['startsWith'](_0x1fc03f+'='));}function warnFlagRenamed(_0x3bfa97,_0x4cd16b,_0x477c83){const _0x4acca7={'zlYpi':function(_0x3d145a,_0x12bc63){return _0x3d145a(_0x12bc63);}};_0x4acca7['zlYpi'](argUsed,_0x4cd16b)&&warnRenamed(_0x3bfa97+'\x20'+_0x4cd16b,_0x3bfa97+'\x20'+_0x477c83);}function normalizeEnvVarNames(_0x143b36){const _0x2a744e=_0x2aca60,_0x5aefbe=Array[_0x2a744e(0x210)](_0x143b36)?_0x143b36:_0x143b36?[_0x143b36]:[];return _0x5aefbe['flatMap'](_0x4da7f0=>String(_0x4da7f0)['split'](',')['map'](_0x5149e3=>_0x5149e3[_0x2a744e(0x19c)]())[_0x2a744e(0x1f9)](Boolean));}async function runGoCommand(_0x58a180,_0x8f7a02=![]){const _0xba6d23=_0x2aca60,_0x40d566={'NBCXU':function(_0x5643c9,_0x3bb8cb,_0x523ace){return _0x5643c9(_0x3bb8cb,_0x523ace);},'orqFw':'--profile','kvDSV':function(_0x7d657c,_0x293a72,_0x3cf4ae,_0x1c584f){return _0x7d657c(_0x293a72,_0x3cf4ae,_0x1c584f);},'nuUpK':_0xba6d23(0x13c),'hihHq':_0xba6d23(0x1e1),'YXkge':'--item','jVXGo':_0xba6d23(0xd3),'yZeXF':function(_0x47c372){return _0x47c372();},'SBGqU':function(_0x162b71,_0xafca42){return _0x162b71(_0xafca42);},'hbJSW':_0xba6d23(0x17a),'WpCpv':function(_0x51f821){return _0x51f821();},'ZHUWz':function(_0xa390fb,_0x2c1886){return _0xa390fb>_0x2c1886;},'IHbRE':function(_0x2bc883,_0x1e5c25){return _0x2bc883!==_0x1e5c25;},'MntLG':_0xba6d23(0x117),'aJGMk':'verified','fwPBu':'\x20VERIFIED','WWANT':'partial','rKcpd':_0xba6d23(0xa1)};_0x8f7a02&&_0x40d566[_0xba6d23(0x22c)](warnRenamed,'ranger\x20verify-feature',_0xba6d23(0x13c));warnFlagRenamed(_0xba6d23(0x13c),_0xba6d23(0xea),_0x40d566['orqFw']),_0x40d566[_0xba6d23(0x10f)](warnFlagRenamed,_0x40d566['nuUpK'],'--task',_0x40d566[_0xba6d23(0x1aa)]),warnFlagRenamed('ranger\x20go',_0x40d566[_0xba6d23(0x1c5)],_0x40d566['jVXGo']);const _0x3e7a43=await _0x40d566[_0xba6d23(0x224)](loadRangerConfig),_0x3ce992=isByokEnabled(),_0x164c0a=_0x58a180[_0xba6d23(0x104)],_0x3eefb0=_0x3e7a43['model'],_0x55f6af=_0x40d566[_0xba6d23(0x1b2)](normalizeEnvVarNames,_0x58a180[_0x40d566['hbJSW']]),_0x5525ef=_0x40d566[_0xba6d23(0x1db)](getVerificationTransport);if(_0x40d566[_0xba6d23(0x13d)](_0x55f6af[_0xba6d23(0xbb)],0x0)&&_0x40d566['IHbRE'](_0x5525ef,_0xba6d23(0x1f4))&&_0x40d566['IHbRE'](_0x5525ef,_0xba6d23(0x19f)))throw new Error(_0xba6d23(0x10e)+_0x5525ef+'.');const _0x3a41f9=await verifyFeature({'featureId':_0x58a180[_0xba6d23(0xee)],'profile':_0x58a180['profile']??_0x58a180[_0xba6d23(0xd5)]??process[_0xba6d23(0xd5)][_0xba6d23(0xd6)],'notes':_0x58a180[_0xba6d23(0x1e2)]??_0x58a180['task'],'scenario':_0x58a180[_0xba6d23(0xa8)]??_0x58a180['item'],'startPath':_0x58a180['start-path'],'baseUrl':_0x58a180[_0x40d566[_0xba6d23(0xf2)]],'debugOutcome':_0x58a180[_0xba6d23(0xed)],'debugAddressComments':_0x58a180[_0xba6d23(0x23a)],'headed':_0x58a180['headed'],'verifierEnvVars':_0x55f6af,'byokEnabled':_0x3ce992,'flagVerifyModel':_0x164c0a,'configVerifyModel':_0x3eefb0});console['log']('\x0a'+'='['repeat'](0x3c)),console[_0xba6d23(0x150)](_0x3a41f9[_0xba6d23(0x1b4)]===_0x40d566[_0xba6d23(0x8e)]?_0x40d566[_0xba6d23(0x1d8)]:_0x3a41f9['evaluation']===_0xba6d23(0xe0)?'\x20INCOMPLETE':_0x3a41f9['evaluation']===_0x40d566[_0xba6d23(0x1fb)]?_0x40d566['rKcpd']:_0x3a41f9[_0xba6d23(0x1b4)]===_0xba6d23(0x170)?'\x20BLOCKED':'\x20FAILED'),console[_0xba6d23(0x150)]('='[_0xba6d23(0x18f)](0x3c)),console['log']('Summary:\x20'+_0x3a41f9[_0xba6d23(0x8f)]),console['log']('Evaluation:\x20'+_0x3a41f9['evaluation']),console[_0xba6d23(0x150)]('Reason:\x20'+_0x3a41f9[_0xba6d23(0x113)]),_0x3a41f9['issues']?.[_0xba6d23(0xbb)]&&(console[_0xba6d23(0x150)](_0xba6d23(0xaa)),_0x3a41f9['issues']['forEach']((_0x2f4fe6,_0x3a0141)=>{const _0x75ee16=_0xba6d23;console[_0x75ee16(0x150)]('\x0a'+(_0x3a0141+0x1)+'.\x20['+_0x2f4fe6[_0x75ee16(0x1d7)]+']\x20'+_0x2f4fe6[_0x75ee16(0xd8)]);})),process['exit'](_0x3a41f9['evaluation']===_0x40d566[_0xba6d23(0x8e)]?0x0:0x1);}export function buildParser(_0x271ac2){const _0x55e20d=_0x2aca60,_0x3d9653={'qhJzm':_0x55e20d(0x11e),'iWqTj':'description','MgasT':_0x55e20d(0xa8),'rrLNb':'checklist','YVPyM':function(_0x2b92ab,_0x25902f){return _0x2b92ab+_0x25902f;},'MKtOp':_0x55e20d(0x196),'BDzpP':function(_0x394e30,_0x555424,_0x4e5bb7,_0x240ed3){return _0x394e30(_0x555424,_0x4e5bb7,_0x240ed3);},'sGzRc':function(_0x308e7d,_0x32b95b,_0x33c62e){return _0x308e7d(_0x32b95b,_0x33c62e);},'bPcFZ':'create','BcsJH':_0x55e20d(0x1c6),'SwxeP':_0x55e20d(0x194),'gMfXc':_0x55e20d(0x95),'UUOiS':'Number\x20of\x20feature\x20reviews\x20to\x20skip','YWdMb':_0x55e20d(0x219),'pLyyJ':function(_0x4c751e,_0x173482,_0x556012){return _0x4c751e(_0x173482,_0x556012);},'vfjcz':_0x55e20d(0xd1),'uQzSD':function(_0x1a1fec,_0x3b44ce,_0x97a013){return _0x1a1fec(_0x3b44ce,_0x97a013);},'vppgo':function(_0x1dfc79,_0x74e6ac,_0x4376fe){return _0x1dfc79(_0x74e6ac,_0x4376fe);},'TfqWp':_0x55e20d(0x13b),'AOZtO':'Scenario\x20number\x20to\x20edit\x20(1-based)','xnyhr':_0x55e20d(0x11a),'TUTgS':'Feature\x20review\x20ID','IzNCO':'array','vpIJf':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','fWcmm':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','qinRo':'report','ivHLH':_0x55e20d(0x156),'OTBeb':_0x55e20d(0x22d),'XvFqy':'Feature\x20review\x20ID\x20to\x20restore','djMgD':'setup:deps','kLEIN':function(_0x11c94c){return _0x11c94c();},'iBxgL':'Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','raTgO':function(_0x3e0d31,_0x33097b,_0x529584){return _0x3e0d31(_0x33097b,_0x529584);},'AtrLe':function(_0x27afa6,_0x112940){return _0x27afa6(_0x112940);},'dsdKN':'setup:skills','pWinc':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','boMKh':_0x55e20d(0xf8),'dSrZq':_0x55e20d(0x1e6),'eEieQ':function(_0x563c2a,_0x157add,_0x3a536e){return _0x563c2a(_0x157add,_0x3a536e);},'VWJcJ':'with-deps','VTPfh':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','VNcQo':'scope','wGYVt':_0x55e20d(0x17c),'MTWiY':'Skip\x20browser\x20authentication','kxWPF':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','VSJLn':'setup:profiles','ViGDt':_0x55e20d(0x12e),'Qdfup':'deps','baagL':'Install\x20Chromium\x20browser\x20binary','fsCkk':_0x55e20d(0x1b6),'PMrHm':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','beOVN':_0x55e20d(0x126),'NsBou':_0x55e20d(0xca),'vftSY':_0x55e20d(0x125),'wDkGw':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','GzUFB':'force','FECmP':_0x55e20d(0x174),'fetNf':_0x55e20d(0x1dc),'rJEuN':_0x55e20d(0x200),'BZGhE':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','ZMbhN':'skip-auth','QKuNM':'token','nbzxX':'API\x20token','SRGEg':'start','Hcyag':'Ranger\x20API\x20token','iJAqZ':_0x55e20d(0x1df),'sjOzf':'base-url','HCOta':'Skip\x20Chromium\x20browser\x20installation','owEtJ':function(_0x19917d,_0x1018c2,_0x5bc918){return _0x19917d(_0x1018c2,_0x5bc918);},'bDZUq':'setup-ci','PTOJg':_0x55e20d(0x1e3),'xZdRt':'Install\x20scope\x20for\x20skills','smcle':function(_0x371642,_0x249288){return _0x371642(_0x249288);},'SCAhg':_0x55e20d(0x207),'prStu':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','NTzIt':_0x55e20d(0x225),'eIqQS':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','QvtRz':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','PLHFP':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','veXAV':_0x55e20d(0x10a),'vIYxX':'profile\x20add','bGFzK':function(_0x1d3bb1,_0x4e3dc6,_0x21ef85){return _0x1d3bb1(_0x4e3dc6,_0x21ef85);},'UAXSZ':'profile\x20ls','MXJkY':'yes','aSLTt':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','pGmGh':_0x55e20d(0xb6),'IELZG':'key','VORKz':_0x55e20d(0x13f),'LVcgM':'Get\x20a\x20config\x20value','gklzu':_0x55e20d(0xbf),'YSAqI':_0x55e20d(0x230),'dkuqh':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','NHnNA':'Name\x20of\x20the\x20profile','LYDgq':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','SBgVn':_0x55e20d(0xa5),'iYvmQ':_0x55e20d(0x1b0),'YyLAb':function(_0x583014,_0x2310bf){return _0x583014===_0x2310bf;},'BpkHM':'Config\x20key','qDbyN':_0x55e20d(0x213),'SuHrI':'encrypt-auth\x20<profile>','ilHXx':_0x55e20d(0x188),'HfMMX':_0x55e20d(0x149),'bmxxh':_0x55e20d(0xe7),'QecCR':'login\x20<name>','TqdJf':'migrate\x20[profile-name]','mgZBP':_0x55e20d(0x17f),'oaHDd':'update','JkRxX':function(_0x5eb495,_0x5d3425,_0x3929ae){return _0x5eb495(_0x5d3425,_0x3929ae);},'Efxmq':'print-access-token','QgHyr':_0x55e20d(0xe4),'ndKTJ':_0x55e20d(0xe5),'myyzl':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','QRTLQ':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','yNDBu':'Scenario\x20index\x20(1-based)','Hfkvc':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.','uoGzn':'headed','mxBbX':_0x55e20d(0x17a),'WYbNv':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','pkDGo':_0x55e20d(0x170),'vUQuw':'incomplete','bYfsQ':_0x55e20d(0x23a),'FEhpv':'env','bGlKz':'task','RiVRw':_0x55e20d(0x1f2),'jNUWN':_0x55e20d(0x195),'wEOwk':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','UwuXS':_0x55e20d(0xc9),'fSiRn':'ranger\x20setup','WlHKH':_0x55e20d(0xce),'gRQfH':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','HAhOE':_0x55e20d(0x1e2),'hpnKB':'start-path','GhlmL':'model','oVALX':'environment-variable','lkTSU':'debug-outcome','hNuPq':'failed','dPHjT':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','oRsOj':_0x55e20d(0x14e),'axEBX':'env-name','jRnpS':'Name\x20of\x20the\x20environment','YWXnO':_0x55e20d(0x107),'hwNFa':_0x55e20d(0x11f),'YZUTG':'config\x20set','znVqk':_0x55e20d(0x9e),'WviEA':_0x55e20d(0x1ed),'ODIbq':'config\x20get','LyCKi':'ranger\x20config\x20unset','cvpCH':'ranger\x20profile\x20config\x20unset','Stajn':_0x55e20d(0xf0),'OUFsn':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','TziNT':'Config\x20value','tuMzs':'Environment\x20name','kArZF':_0x55e20d(0x22f),'wotfZ':'get\x20<env>\x20<key>','NVEaZ':_0x55e20d(0x15f),'wVfWL':'ranger\x20env\x20ls','FUOun':function(_0x1f7b89,_0x544d23,_0x3e73cc){return _0x1f7b89(_0x544d23,_0x3e73cc);},'Dzgic':_0x55e20d(0xba),'cjttu':'ranger\x20feature\x20resume','QilDN':_0x55e20d(0xcb),'CUfKQ':_0x55e20d(0x229),'JHjKw':_0x55e20d(0x112),'VGHLS':_0x55e20d(0x171),'TpKrF':'ranger\x20create','wlCjD':_0x55e20d(0x9b),'XiJJU':'--scenario','BLIYl':_0x55e20d(0x92),'jOdSN':_0x55e20d(0x1a1),'Hpaor':'ranger\x20restore','CEFQo':'create\x20<name>','hHyHE':'show\x20[id]','AfyyQ':'resume\x20[id]','cTyUf':'delete\x20[id]','gbczF':'restore\x20<id>','lpnlM':_0x55e20d(0x1c9),'whzyU':_0x55e20d(0x1ea),'WDRiK':_0x55e20d(0x214),'Sfair':_0x55e20d(0xf1),'juyta':_0x55e20d(0x220),'IVYZH':function(_0x51ef8b,_0x51b946,_0x3b010a){return _0x51ef8b(_0x51b946,_0x3b010a);},'Gercs':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','vRNDu':function(_0x4f6617,_0x400c22){return _0x4f6617||_0x400c22;},'HGohv':_0x55e20d(0xdf),'CshUR':'List\x20all\x20feature\x20reviews','yYSlr':'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','ziRCj':_0x55e20d(0x19e),'xHymi':_0x55e20d(0x211),'XgyrL':'edit-scenario\x20<description>','uibRT':_0x55e20d(0x1b5),'ShQch':'get-review\x20[id]','xSRQK':_0x55e20d(0x8b),'wovNv':_0x55e20d(0x209),'UFmYP':_0x55e20d(0xc4),'HQYak':_0x55e20d(0x21d),'avEAH':_0x55e20d(0x105),'vwiQu':'skillup','HyKGA':_0x55e20d(0x168),'SNUGJ':'profiles','nOXxx':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','ZFfnp':_0x55e20d(0x1a5),'fzymT':'Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','irTYN':_0x55e20d(0xcd),'xszbx':'start\x20[token]','TQgdk':'hook','NpKpz':'You\x20must\x20specify\x20a\x20command','dZHAv':function(_0x140677,_0x2f1225){return _0x140677+_0x2f1225;},'dEAbH':'Documentation:\x0a','XwOeK':'\x20\x20https://docs.ranger.net\x0a','UKQGX':_0x55e20d(0x148),'FJcAr':_0x55e20d(0x1bd)};return _0xec5d51(_0x271ac2??process['argv']['slice'](0x2))['scriptName'](_0x3d9653['HGohv'])['usage'](TOP_LEVEL_HELP)[_0x55e20d(0x208)](_0x3d9653['kLEIN'](getCurrentVersion))[_0x55e20d(0x1c3)]('create\x20<name>','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios',_0x44eb42=>{const _0x4d0810=_0x55e20d;return _0x44eb42[_0x4d0810(0x1c8)](_0x4d0810(0x1b0),{'type':_0x3d9653[_0x4d0810(0xe9)],'description':_0x4d0810(0x11b),'demandOption':!![]})['option'](_0x3d9653[_0x4d0810(0x1e5)],{'type':'string','alias':'d','description':'Feature\x20review\x20description'})[_0x4d0810(0xec)](_0x3d9653[_0x4d0810(0x124)],{'type':'array','alias':'c','description':_0x4d0810(0x112)})[_0x4d0810(0xec)](_0x3d9653[_0x4d0810(0xa6)],{'type':'array','hidden':!![]});},async _0x3c7640=>{const _0x164053=_0x55e20d;if(!_0x3c7640['name']){console[_0x164053(0x20c)](_0x3d9653[_0x164053(0x239)](_0x3d9653['MKtOp'],_0x164053(0x227))),process[_0x164053(0x1a9)](0x1);return;}_0x3d9653[_0x164053(0x9f)](warnFlagRenamed,_0x164053(0x98),_0x164053(0x9b),_0x164053(0xd3));const _0x9971e8=_0x3c7640[_0x164053(0xa8)]||_0x3c7640[_0x164053(0x178)];await _0x3d9653[_0x164053(0x12b)](withTelemetry,_0x3d9653[_0x164053(0x14f)],()=>featureCreate(_0x3c7640[_0x164053(0x1b0)],{'description':_0x3c7640[_0x164053(0xd8)],'scenarios':_0x9971e8}));})['command'](_0x3d9653[_0x55e20d(0xe3)],_0x3d9653[_0x55e20d(0x1eb)],_0x4d7e8e=>{const _0x3692f0=_0x55e20d;return _0x4d7e8e['option']('current-branch',{'type':_0x3692f0(0x219),'description':_0x3692f0(0xb3)})['option'](_0x3d9653[_0x3692f0(0x1bf)],{'type':'number','alias':'l','description':_0x3d9653[_0x3692f0(0x14a)],'default':0xa})['option'](_0x3d9653[_0x3692f0(0x222)],{'type':_0x3692f0(0x195),'alias':'o','description':_0x3d9653['UUOiS'],'default':0x0})['option']('include-deleted',{'type':_0x3d9653[_0x3692f0(0x1a3)],'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x2d94b0=>{const _0x1405db=_0x55e20d;await _0x3d9653[_0x1405db(0x9d)](withTelemetry,_0x3d9653['vfjcz'],()=>featureList({'currentBranch':_0x2d94b0['current-branch'],'limit':_0x2d94b0[_0x1405db(0x1c6)],'offset':_0x2d94b0['offset'],'includeDeleted':_0x2d94b0['include-deleted']}));})[_0x55e20d(0x1c3)]('show\x20[id]',_0x3d9653[_0x55e20d(0x1ac)],_0x2a1f28=>{const _0x17582f=_0x55e20d;return _0x2a1f28['positional']('id',{'type':_0x3d9653[_0x17582f(0xe9)],'description':'Feature\x20review\x20ID'});},async _0x5563bc=>{const _0xde2106=_0x55e20d;await _0x3d9653[_0xde2106(0x1af)](withTelemetry,'show',()=>featureShow(_0x5563bc['id']));})['command']('resume\x20[id]','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x1d01a9=>{const _0x3ac25a=_0x55e20d;return _0x1d01a9['positional']('id',{'type':_0x3ac25a(0x11e),'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0xfe9a44=>{const _0x27a02b=_0x55e20d;await _0x3d9653[_0x27a02b(0x8a)](withTelemetry,_0x3d9653['TfqWp'],()=>featureResume(_0xfe9a44['id']));})[_0x55e20d(0x1c3)](_0x3d9653[_0x55e20d(0x97)],_0x3d9653[_0x55e20d(0x205)],_0x7ace31=>{const _0x52cffe=_0x55e20d;return _0x7ace31[_0x52cffe(0x1c8)](_0x3d9653['iWqTj'],{'type':_0x52cffe(0x11e),'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x53e122=>{const _0x4789d5=_0x55e20d;await withTelemetry(_0x4789d5(0x8d),()=>featureAddScenario(_0x53e122[_0x4789d5(0xd8)],_0x53e122['id']));})['command'](_0x3d9653[_0x55e20d(0x1a7)],'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x5a63a0=>{const _0x2fec83=_0x55e20d;return _0x5a63a0['positional'](_0x2fec83(0xd8),{'type':'string','description':'New\x20scenario\x20description','demandOption':!![]})['option'](_0x3d9653['MgasT'],{'type':'number','description':_0x3d9653['AOZtO'],'demandOption':!![]})[_0x2fec83(0xec)]('id',{'type':_0x3d9653[_0x2fec83(0xe9)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x185b6d=>{const _0x119358=_0x55e20d;await withTelemetry(_0x3d9653[_0x119358(0x102)],()=>featureEditScenario(_0x185b6d[_0x119358(0xd8)],{'id':_0x185b6d['id'],'scenario':_0x185b6d[_0x119358(0xa8)]}));})[_0x55e20d(0x1c3)]('report\x20[id]',_0x3d9653['uibRT'],_0x4d088b=>{const _0x137aed=_0x55e20d;return _0x4d088b['positional']('id',{'type':_0x137aed(0x11e),'description':_0x3d9653['TUTgS']})[_0x137aed(0xec)](_0x137aed(0x128),{'type':_0x3d9653[_0x137aed(0x130)],'description':_0x3d9653[_0x137aed(0xab)]})['option']('json',{'type':'boolean','description':_0x3d9653[_0x137aed(0x99)],'default':![]});},async _0x1ec468=>{const _0x5e009b=_0x55e20d,_0x4f9215=_0x1ec468[_0x5e009b(0x128)],_0x1e9bd4=_0x4f9215?_0x4f9215['map'](_0x4ca18e=>Number(_0x4ca18e)):undefined;await withTelemetry(_0x3d9653['qinRo'],()=>featureReportPrDescription(_0x1ec468['id'],{'excludeScenarios':_0x1e9bd4,'json':_0x1ec468['json']}));})[_0x55e20d(0x1c3)](_0x3d9653['ShQch'],_0x3d9653['xSRQK'],_0x43512b=>{return _0x43512b['positional']('id',{'type':_0x3d9653['qhJzm'],'description':_0x3d9653['ivHLH']});},async _0x106381=>{await withTelemetry(_0x3d9653['OTBeb'],()=>featureGetReview(_0x106381['id']));})[_0x55e20d(0x1c3)]('delete\x20[id]',_0x3d9653['wovNv'],_0x4f87ea=>{const _0x45d0ee=_0x55e20d;return _0x4f87ea['positional']('id',{'type':_0x3d9653[_0x45d0ee(0xe9)],'description':'Feature\x20review\x20ID'});},async _0x5be981=>{await _0x3d9653['pLyyJ'](withTelemetry,'delete',()=>featureDelete(_0x5be981['id']));})['command'](_0x3d9653['gbczF'],'Restore\x20a\x20soft-deleted\x20feature\x20review',_0x3595d2=>{const _0x3e7ea5=_0x55e20d;return _0x3595d2['positional']('id',{'type':_0x3d9653[_0x3e7ea5(0xe9)],'description':_0x3d9653[_0x3e7ea5(0x13e)],'demandOption':!![]});},async _0x6bc500=>{const _0x7acf09=_0x55e20d;await _0x3d9653['uQzSD'](withTelemetry,_0x7acf09(0x1cd),()=>featureRestore(_0x6bc500['id']));})[_0x55e20d(0x1c3)](_0x3d9653[_0x55e20d(0x161)],_0x3d9653[_0x55e20d(0xdc)],_0xbf4dd6=>{const _0x3a2a3f=_0x55e20d,_0x4cf886={'qeihq':_0x3a2a3f(0x1b8),'sdeAB':_0x3a2a3f(0x116),'aOIny':_0x3d9653[_0x3a2a3f(0x185)],'ZbbMX':_0x3d9653[_0x3a2a3f(0xc3)],'pYEmO':_0x3d9653['YWdMb'],'wZpue':_0x3d9653[_0x3a2a3f(0x197)],'zaqAo':_0x3a2a3f(0x141),'WjyDE':function(_0x5ff20c,_0x5839d5,_0x2f05c3){const _0x1b3711=_0x3a2a3f;return _0x3d9653[_0x1b3711(0x199)](_0x5ff20c,_0x5839d5,_0x2f05c3);},'NfXjA':_0x3d9653['VWJcJ'],'dNCDs':_0x3d9653['VTPfh'],'sGOsk':_0x3d9653[_0x3a2a3f(0xf9)],'DdXwv':_0x3a2a3f(0x11e),'vqCXw':'user','nDIDS':_0x3d9653[_0x3a2a3f(0x136)],'wbZPQ':'skip-auth','YPNkj':_0x3d9653[_0x3a2a3f(0x129)],'JIqHw':_0x3d9653[_0x3a2a3f(0x179)],'ANeCa':function(_0x113626,_0x927f19){return _0x113626!==_0x927f19;},'zyIfB':function(_0x51f837,_0x1fc582){return _0x51f837+_0x1fc582;},'fIqgG':_0x3d9653['VSJLn']};return _0xbf4dd6['usage']('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')['positional']('tokenOrSubcommand',{'type':_0x3a2a3f(0x11e),'description':_0x3d9653['ViGDt']})['command'](_0x3a2a3f(0x15e),_0x3a2a3f(0xa9),_0x50ac83=>{const _0x4aa6ec=_0x3a2a3f;return _0x50ac83[_0x4aa6ec(0xec)](_0x4aa6ec(0x158),{'type':_0x4aa6ec(0x11e),'description':'Ranger\x20API\x20token'})[_0x4aa6ec(0xec)]('skip-chromium',{'type':'boolean','description':_0x4cf886[_0x4aa6ec(0x233)],'default':![]})[_0x4aa6ec(0xec)](_0x4aa6ec(0x111),{'type':_0x4aa6ec(0x219),'description':'Skip\x20authentication','default':![]})[_0x4aa6ec(0xec)](_0x4aa6ec(0x12d),{'type':'boolean','description':_0x4aa6ec(0xc9),'default':![]})['option'](_0x4aa6ec(0x1d3),{'type':'string','choices':[_0x4aa6ec(0xca)],'hidden':!![],'description':_0x4aa6ec(0x17c)})[_0x4aa6ec(0xec)]('url',{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})[_0x4aa6ec(0xec)](_0x4cf886['sdeAB'],{'type':'boolean','description':_0x4cf886[_0x4aa6ec(0x16e)],'default':![]})[_0x4aa6ec(0xec)](_0x4cf886[_0x4aa6ec(0x1a2)],{'type':_0x4cf886['pYEmO'],'description':_0x4aa6ec(0x174),'default':![]})[_0x4aa6ec(0xec)](_0x4cf886[_0x4aa6ec(0x118)],{'type':_0x4cf886['pYEmO'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]})['option'](_0x4aa6ec(0x200),{'type':'boolean','description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','default':![]})[_0x4aa6ec(0xec)](_0x4cf886[_0x4aa6ec(0x14c)],{'type':_0x4cf886['pYEmO'],'description':'Alias\x20for\x20--mcp-bootstrap','default':![]});},async _0x36116a=>{const _0x222c3f=_0x3a2a3f;(_0x36116a[_0x222c3f(0x200)]||_0x36116a[_0x222c3f(0x141)])&&await _0x4cf886[_0x222c3f(0x173)](withTelemetry,'mcp-bootstrap',()=>mcpBootstrap()),await withTelemetry('setup:all',_0x4354b6=>start(_0x36116a['token'],{'skipChromium':_0x36116a[_0x222c3f(0x126)],'skipAuth':_0x36116a['skip-auth'],'withDeps':_0x36116a['with-deps'],'scope':_0x36116a['scope'],'url':_0x36116a[_0x222c3f(0x125)],'force':_0x36116a[_0x222c3f(0x116)],'opencode':_0x36116a['opencode'],'allowInsecureLocalhost':_0x36116a['allow-insecure-localhost']},_0x4354b6));})['command'](_0x3d9653[_0x3a2a3f(0x119)],_0x3d9653['baagL'],_0x18e646=>{return _0x18e646['option'](_0x4cf886['NfXjA'],{'type':_0x4cf886['pYEmO'],'description':_0x4cf886['dNCDs'],'default':![]});},async _0x42921e=>{const _0x3f507d=_0x3a2a3f;await _0x3d9653['vppgo'](withTelemetry,_0x3d9653['djMgD'],()=>ensureChromium(_0x42921e[_0x3f507d(0x12d)]));})['command'](_0x3a2a3f(0x18e),'Authenticate\x20with\x20Ranger',_0x2fe48b=>{const _0xef1165=_0x3a2a3f;return _0x2fe48b[_0xef1165(0xec)]('token',{'type':'string','description':'Ranger\x20API\x20token\x20(rngr_...)'})['option'](_0xef1165(0x141),{'type':_0xef1165(0x219),'description':_0xef1165(0x115),'default':![]});},async _0x11eab5=>{const _0x246c56=_0x3a2a3f,_0x4e73a1={'dgfRJ':function(_0x4b39c0){return _0x3d9653['kLEIN'](_0x4b39c0);},'jWymr':_0x3d9653['iBxgL']};await _0x3d9653[_0x246c56(0x12c)](withTelemetry,'setup:login',async()=>{const _0x49dcca=_0x246c56;if(_0x11eab5['mcp']){await _0x4e73a1['dgfRJ'](mcpBootstrap);const _0x59f69d=await refreshCliToken();if(!_0x59f69d)throw new Error(_0x4e73a1['jWymr']);const _0x5705d6=await getCurrentUser(_0x59f69d);if(!_0x5705d6['success'])throw new Error(_0x49dcca(0x138)+_0x5705d6['error']);console[_0x49dcca(0x150)]('✓\x20Authenticated\x20to\x20'+_0x5705d6[_0x49dcca(0xca)]['organizationName']);return;}await authenticate(_0x11eab5[_0x49dcca(0x158)]);});})['command'](_0x3d9653[_0x3a2a3f(0x143)],_0x3d9653[_0x3a2a3f(0x142)],_0x60cb7=>{const _0xd2b5fe=_0x3a2a3f;return _0x60cb7['option'](_0x4cf886[_0xd2b5fe(0xda)],{'type':_0x4cf886[_0xd2b5fe(0x1b1)],'choices':['user','project'],'description':_0xd2b5fe(0xeb)})[_0xd2b5fe(0xec)](_0xd2b5fe(0xf8),{'type':'boolean','description':_0xd2b5fe(0x174),'default':![]});},async _0x2aa956=>{const _0x32c5ba=_0x3a2a3f,_0x5550ff={'SROif':function(_0x558ae7,_0x4b3da9,_0x5c4164){return _0x558ae7(_0x4b3da9,_0x5c4164);},'MELtu':_0x32c5ba(0xf8),'xnwlx':function(_0x30f97f,_0x453bf1){const _0x44e530=_0x32c5ba;return _0x3d9653[_0x44e530(0x23d)](_0x30f97f,_0x453bf1);}};await withTelemetry(_0x3d9653[_0x32c5ba(0x201)],async()=>{const _0x208999=_0x32c5ba,_0x213df5=_0x2aa956[_0x208999(0x1d3)];if(_0x2aa956[_0x208999(0xf8)]){const _0x6b8e60=await ensureOpencodePluginConfig(_0x213df5);_0x6b8e60&&await _0x5550ff['SROif'](installSkill,_0x208999(0xdf),{'level':_0x6b8e60['scope'],'cliVersion':getCurrentVersion(),'platform':_0x5550ff[_0x208999(0x110)]});}else await _0x5550ff['xnwlx'](ensureClaudePlugin,_0x213df5),await _0x5550ff[_0x208999(0x1f8)](ensureClaudeSkills,_0x213df5);});})[_0x3a2a3f(0x1c3)](_0x3a2a3f(0x134),'Set\x20up\x20a\x20local\x20browser\x20profile',_0x172a05=>{const _0x21f343=_0x3a2a3f;return _0x172a05['option'](_0x4cf886['sGOsk'],{'type':'string','choices':[_0x4cf886['vqCXw']],'description':_0x4cf886['nDIDS']})['option'](_0x21f343(0x125),{'type':_0x4cf886[_0x21f343(0x1b1)],'description':'Base\x20URL\x20of\x20the\x20running\x20app'})['option'](_0x4cf886['wbZPQ'],{'type':_0x21f343(0x219),'description':_0x4cf886['YPNkj'],'default':![]})['option'](_0x4cf886['sdeAB'],{'type':_0x4cf886['pYEmO'],'description':_0x4cf886[_0x21f343(0x16e)],'default':![]})[_0x21f343(0xec)]('allow-insecure-localhost',{'type':'boolean','description':_0x4cf886[_0x21f343(0x206)],'default':![]});},async _0x3911ab=>{const _0x272d71=_0x3a2a3f,_0x249513=_0x3911ab['scope'];_0x4cf886['ANeCa'](_0x249513,undefined)&&_0x249513!==_0x272d71(0xca)&&(console[_0x272d71(0x20c)](_0x4cf886[_0x272d71(0x175)](_0x272d71(0x93)+_0x249513+'\x20is\x20no\x20longer\x20supported.\x20'+'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.')),process['exit'](0x1)),await withTelemetry(_0x4cf886['fIqgG'],_0x4156ae=>ensureLocalEnv({'url':_0x3911ab['url'],'force':_0x3911ab[_0x272d71(0x116)],'allowInsecureLocalhost':_0x3911ab[_0x272d71(0x1e6)],'scope':_0x272d71(0xca)},_0x4156ae));})['option'](_0x3d9653['beOVN'],{'type':'boolean','description':_0x3a2a3f(0x1b8),'default':![]})['option']('scope',{'type':_0x3a2a3f(0x11e),'choices':[_0x3d9653[_0x3a2a3f(0x18d)]],'hidden':!![],'description':_0x3d9653['wGYVt']})[_0x3a2a3f(0xec)](_0x3d9653[_0x3a2a3f(0x1a0)],{'type':_0x3d9653[_0x3a2a3f(0xe9)],'description':_0x3d9653[_0x3a2a3f(0x12a)]})['option'](_0x3d9653['GzUFB'],{'type':_0x3a2a3f(0x219),'description':_0x3a2a3f(0x140),'default':![]})['option'](_0x3d9653[_0x3a2a3f(0xc3)],{'type':'boolean','description':_0x3d9653[_0x3a2a3f(0x122)],'default':![]})[_0x3a2a3f(0xec)]('allow-insecure-localhost',{'type':'boolean','description':_0x3d9653[_0x3a2a3f(0x17b)],'default':![]})[_0x3a2a3f(0xec)](_0x3d9653['rJEuN'],{'type':_0x3d9653[_0x3a2a3f(0x1a3)],'description':_0x3d9653['BZGhE'],'default':![]})['option'](_0x3d9653['ZMbhN'],{'type':_0x3d9653['YWdMb'],'description':_0x3a2a3f(0x1b3),'default':![]})[_0x3a2a3f(0xec)](_0x3a2a3f(0x12d),{'type':'boolean','description':_0x3d9653['VTPfh'],'default':![]})['option'](_0x3d9653[_0x3a2a3f(0xbc)],{'type':_0x3d9653[_0x3a2a3f(0xe9)],'hidden':!![],'description':_0x3d9653['nbzxX']});},async _0x3ff7c6=>{const _0xccea25=_0x55e20d,_0x5ed704=_0x3ff7c6[_0xccea25(0xa7)],_0x50cca0=_0x3ff7c6['token']??_0x5ed704;_0x3ff7c6[_0x3d9653[_0xccea25(0x162)]]&&await _0x3d9653['pLyyJ'](withTelemetry,'mcp-bootstrap',()=>mcpBootstrap()),await withTelemetry(_0x3d9653[_0xccea25(0xcf)],_0x2e12f2=>start(_0x50cca0,{'skipChromium':_0x3ff7c6['skip-chromium'],'skipAuth':_0x3ff7c6[_0xccea25(0x111)],'withDeps':_0x3ff7c6['with-deps'],'scope':_0x3ff7c6[_0xccea25(0x1d3)],'url':_0x3ff7c6[_0xccea25(0x125)],'force':_0x3ff7c6['force'],'opencode':_0x3ff7c6[_0xccea25(0xf8)],'allowInsecureLocalhost':_0x3ff7c6['allow-insecure-localhost']},_0x2e12f2));})['command']('setup-ci\x20<token>',![],_0x5a6d9a=>{const _0x289097=_0x55e20d;return _0x5a6d9a['positional']('token',{'type':'string','description':_0x3d9653['Hcyag'],'demandOption':!![]})['option']('profile',{'type':'string','description':_0x3d9653['iJAqZ']})[_0x289097(0xec)](_0x3d9653['sjOzf'],{'type':_0x3d9653['qhJzm'],'description':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)'})[_0x289097(0xec)](_0x3d9653[_0x289097(0x21a)],{'type':_0x3d9653[_0x289097(0x1a3)],'description':_0x3d9653[_0x289097(0x1b7)],'default':![]});},async _0x4d9085=>{const _0x5efa3a=_0x55e20d;await _0x3d9653[_0x5efa3a(0xe8)](withTelemetry,_0x3d9653[_0x5efa3a(0xcc)],_0x4eac60=>setupCi(_0x4d9085[_0x5efa3a(0x158)],{'profile':_0x4d9085[_0x5efa3a(0xe5)],'baseUrl':_0x4d9085['base-url'],'skipChromium':_0x4d9085['skip-chromium']},_0x4eac60));})[_0x55e20d(0x1c3)]('login',_0x3d9653['avEAH'],()=>{},async()=>{const _0x3d8a09=_0x55e20d;await withTelemetry(_0x3d8a09(0x18e),()=>login());})[_0x55e20d(0x1c3)](_0x3d9653['vwiQu'],_0x55e20d(0x23b),_0x11b5e3=>{const _0x13a07d=_0x55e20d;return _0x11b5e3['option'](_0x3d9653['boMKh'],{'type':_0x3d9653[_0x13a07d(0x1a3)],'description':'Install\x20skills\x20for\x20OpenCode','default':![]})[_0x13a07d(0xec)](_0x3d9653[_0x13a07d(0xf9)],{'type':_0x3d9653['qhJzm'],'choices':[_0x3d9653[_0x13a07d(0x18d)],_0x3d9653[_0x13a07d(0x121)]],'description':_0x3d9653['xZdRt']});},async _0x36b276=>{const _0x544a97=_0x55e20d,_0x1fdf25=_0x3d9653['smcle'](Boolean,_0x36b276['opencode']);await withTelemetry('skillup',()=>skillup({'autoInstall':_0x36b276['scope'],'platform':_0x1fdf25?'opencode':_0x544a97(0xc8)}));})[_0x55e20d(0x1c3)](_0x3d9653[_0x55e20d(0x20a)],_0x3d9653[_0x55e20d(0x15d)],()=>{},async()=>{const _0x262774=_0x55e20d;await withTelemetry(_0x3d9653[_0x262774(0x20a)],()=>clean());})[_0x55e20d(0x1c3)]([_0x3d9653[_0x55e20d(0x11d)],_0x3d9653[_0x55e20d(0xd4)]],'Manage\x20profiles',_0x11e8de=>{const _0x2b02dd=_0x55e20d,_0x5cdca8={'ROPFX':_0x3d9653['NHnNA'],'nZFlx':function(_0x15348b,_0x9737f9,_0x22aa5d){const _0x7ae00d=_0x5ad2;return _0x3d9653[_0x7ae00d(0x1af)](_0x15348b,_0x9737f9,_0x22aa5d);},'aWrZu':_0x2b02dd(0x1d6),'GSRTY':_0x3d9653['qhJzm'],'bvEst':_0x3d9653[_0x2b02dd(0x1cc)],'yFYII':'boolean','KIOOK':_0x3d9653['SBgVn'],'cXgxy':'allow-insecure-localhost','HVnur':_0x3d9653[_0x2b02dd(0x1d9)],'NRRIC':'Cloud\x20profile\x20name','hjSbJ':function(_0x17aef3,_0x3ad46e){return _0x17aef3||_0x3ad46e;},'eWZii':function(_0x1a0a53,_0x18390c){const _0x1ce98c=_0x2b02dd;return _0x3d9653[_0x1ce98c(0x154)](_0x1a0a53,_0x18390c);},'mAulD':'profile\x20migrate','uzKQO':_0x2b02dd(0xe5),'UfMKw':_0x3d9653[_0x2b02dd(0x19d)],'nJivy':_0x3d9653['BpkHM']};return _0x11e8de['usage'](PROFILE_HELP)['command'](_0x3d9653[_0x2b02dd(0x94)],_0x2b02dd(0x1de),_0x512bff=>{const _0x1e809a=_0x2b02dd;return _0x512bff['positional']('profile-name',{'type':_0x3d9653['qhJzm'],'description':_0x1e809a(0xc2),'demandOption':!![]})[_0x1e809a(0xec)]('ci',{'type':_0x3d9653[_0x1e809a(0x1a3)],'hidden':!![],'default':![]})[_0x1e809a(0xec)]('skip-auth',{'type':_0x1e809a(0x219),'description':_0x1e809a(0x1c4),'default':![]})[_0x1e809a(0xec)](_0x1e809a(0x125),{'type':_0x3d9653['qhJzm'],'description':_0x3d9653[_0x1e809a(0x202)]})[_0x1e809a(0xec)](_0x3d9653['GzUFB'],{'type':_0x3d9653['YWdMb'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x1e809a(0xec)](_0x3d9653[_0x1e809a(0x20f)],{'type':'string','description':_0x3d9653[_0x1e809a(0x223)]})['option']('allow-insecure-localhost',{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})['option']('safe-mode',{'type':_0x1e809a(0x219),'description':_0x3d9653[_0x1e809a(0x101)],'default':![]})['option'](_0x1e809a(0x89),{'type':_0x3d9653['qhJzm'],'array':!![],'description':_0x3d9653['PLHFP']})['option'](_0x1e809a(0x1d3),{'type':_0x1e809a(0x11e),'choices':[_0x3d9653['NsBou'],_0x1e809a(0x1e3)],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})[_0x1e809a(0xec)]('yes',{'type':_0x1e809a(0x219),'alias':'y','description':_0x3d9653[_0x1e809a(0x1ba)],'default':![]});},async _0x106a17=>{const _0xa0eef2=_0x2b02dd;await _0x3d9653[_0xa0eef2(0x9f)](withTelemetry,_0x3d9653['vIYxX'],_0x1b87d5=>addEnv(_0x106a17[_0xa0eef2(0x1d6)],{'ci':_0x106a17['ci'],'skipAuth':_0x106a17[_0xa0eef2(0x111)],'url':_0x106a17['url'],'force':_0x106a17['force'],'cdpEndpoint':_0x106a17[_0xa0eef2(0x225)],'allowInsecureLocalhost':_0x106a17[_0xa0eef2(0x1e6)],'safeMode':_0x106a17['safe-mode'],'setupHeader':_0x106a17[_0xa0eef2(0x89)],'scope':_0x106a17['scope'],'yes':_0x106a17['yes']},_0x1b87d5),{'isElectron':Boolean(_0x106a17[_0x3d9653['NTzIt']])});})['command']('use\x20<profile-name>','Switch\x20to\x20using\x20a\x20specific\x20profile',_0x4dc0aa=>{return _0x4dc0aa['positional']('profile-name',{'type':'string','description':_0x5cdca8['ROPFX'],'demandOption':!![]});},async _0x3aad2c=>{const _0x4ba734=_0x2b02dd;await _0x5cdca8[_0x4ba734(0x120)](withTelemetry,'profile\x20use',()=>useEnv(_0x3aad2c[_0x4ba734(0x1d6)]));})[_0x2b02dd(0x1c3)](_0x2b02dd(0xa4),_0x2b02dd(0x1ce),_0x2de837=>{const _0x1aa866=_0x2b02dd;return _0x2de837['positional'](_0x5cdca8['aWrZu'],{'type':_0x5cdca8[_0x1aa866(0x234)],'description':_0x5cdca8[_0x1aa866(0xfc)],'demandOption':!![]})[_0x1aa866(0xec)](_0x1aa866(0xc0),{'type':_0x5cdca8[_0x1aa866(0xef)],'alias':'y','description':_0x5cdca8[_0x1aa866(0x16f)],'default':![]});},async _0x13044c=>{const _0x11f283=_0x2b02dd;await withTelemetry('profile\x20delete',()=>deleteProfile(_0x13044c[_0x11f283(0x1d6)],{'yes':_0x13044c['yes']}));})['command'](_0x3d9653[_0x2b02dd(0x10d)],![],_0x2f960f=>{const _0x183ab3=_0x2b02dd;return _0x2f960f['positional']('profile',{'type':_0x183ab3(0x11e),'description':_0x183ab3(0xb6),'demandOption':!![]});},async _0x4c16d6=>{const _0x4ce9ee=_0x2b02dd;await _0x3d9653[_0x4ce9ee(0xe8)](withTelemetry,_0x4ce9ee(0x1cf),()=>authEncrypt(_0x4c16d6['profile']));})[_0x2b02dd(0x1c3)]('ls',_0x3d9653[_0x2b02dd(0x144)],()=>{},async()=>{const _0x567642=_0x2b02dd;await _0x3d9653['bGFzK'](withTelemetry,_0x3d9653[_0x567642(0x103)],()=>envList());})['command'](_0x3d9653[_0x2b02dd(0x16b)],_0x3d9653[_0x2b02dd(0x21c)],_0x1a7101=>{const _0x28dec4=_0x2b02dd;return _0x1a7101['positional'](_0x5cdca8['aWrZu'],{'type':_0x5cdca8['GSRTY'],'description':_0x28dec4(0x1fd),'demandOption':!![]})[_0x28dec4(0xec)](_0x5cdca8['cXgxy'],{'type':_0x5cdca8['yFYII'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)'})[_0x28dec4(0xec)]('manual',{'type':'boolean','description':_0x28dec4(0xdd)});},async _0x1e138c=>{const _0x3c85e2=_0x2b02dd;await _0x5cdca8['nZFlx'](withTelemetry,_0x3c85e2(0x1fc),_0x4b1c26=>updateEnv(_0x1e138c[_0x3c85e2(0x1d6)],_0x4b1c26,{'allowInsecureLocalhost':_0x1e138c['allow-insecure-localhost'],'manual':_0x1e138c[_0x3c85e2(0x1f0)]}));})[_0x2b02dd(0x1c3)](_0x3d9653[_0x2b02dd(0x187)],![],_0x270358=>{const _0x4bab11=_0x2b02dd;return _0x270358[_0x4bab11(0x1c8)](_0x5cdca8[_0x4bab11(0xfd)],{'type':_0x4bab11(0x11e),'description':_0x5cdca8[_0x4bab11(0x215)],'demandOption':!![]});},async _0x5d43c1=>{await withTelemetry('profile\x20login',async()=>{const _0x552a66=_0x5ad2,_0x514551=process[_0x552a66(0xd5)]['RANGER_TEST_USERNAME'],_0x5efc71=process['env'][_0x552a66(0xc6)];_0x5cdca8[_0x552a66(0x91)](!_0x514551,!_0x5efc71)&&(console['error']('Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.'),process[_0x552a66(0x1a9)](0x1));const _0x3cc077=_0x5d43c1[_0x552a66(0x1b0)],_0x350b7b=await _0x5cdca8['nZFlx'](serverSideLogin,_0x3cc077,{'force':!![]});_0x350b7b[_0x552a66(0x15b)]===_0x552a66(0xb2)&&(console['error']('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process[_0x552a66(0x1a9)](0x1)),_0x5cdca8['eWZii'](_0x350b7b['status'],'failed')&&(console[_0x552a66(0x20c)]('Login\x20failed:\x20'+(_0x350b7b['error']??'unknown\x20error')),_0x350b7b['test_output']&&console['error'](_0x350b7b['test_output']),process[_0x552a66(0x1a9)](0x1)),console['log']('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x3cc077+'\x27.\x20Session\x20saved.');});})[_0x2b02dd(0x1c3)](_0x3d9653[_0x2b02dd(0x15c)],![],_0x3cc9c0=>{const _0x391b28=_0x2b02dd;return _0x3cc9c0['positional'](_0x391b28(0x1d6),{'type':'string','description':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.'})[_0x391b28(0xec)](_0x391b28(0x15e),{'type':'boolean','description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})[_0x391b28(0xec)](_0x391b28(0xff),{'type':'boolean','description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})[_0x391b28(0xec)](_0x3d9653['MXJkY'],{'type':_0x3d9653['YWdMb'],'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})['option'](_0x391b28(0xb5),{'type':_0x3d9653[_0x391b28(0x1a3)],'description':_0x3d9653['aSLTt'],'default':![]});},async _0x41236f=>{const _0x447488=_0x2b02dd;await withTelemetry(_0x5cdca8[_0x447488(0x184)],_0x3d917f=>migrateProfile({'profileName':_0x41236f[_0x447488(0x1d6)],'all':_0x41236f['all'],'dryRun':_0x41236f[_0x447488(0xff)],'yes':_0x41236f[_0x447488(0xc0)],'saveCreds':_0x41236f['save-creds']},_0x3d917f));})['command']('config',_0x3d9653['mgZBP'],_0x4b88c3=>{const _0x52ce7b=_0x2b02dd,_0x1331c5={'eFwkJ':'profile','DTqVb':_0x52ce7b(0x11e),'qEAzC':_0x3d9653['pGmGh'],'cGRDE':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','cWlgR':'value','LrjTe':function(_0x3599e8,_0x3b29f6,_0x1ae69e){return _0x3599e8(_0x3b29f6,_0x1ae69e);},'sKNNO':_0x3d9653[_0x52ce7b(0x153)],'AkfBV':_0x52ce7b(0x218)};return _0x4b88c3[_0x52ce7b(0x1e7)](PROFILE_CONFIG_HELP)['command']('set\x20<profile>\x20<key>\x20<value>',_0x3d9653['VORKz'],_0x3fea8a=>{const _0x5419d4=_0x52ce7b;return _0x3fea8a['positional'](_0x1331c5['eFwkJ'],{'type':_0x1331c5[_0x5419d4(0x157)],'description':_0x1331c5[_0x5419d4(0x1f1)],'demandOption':!![]})['positional'](_0x5419d4(0xb7),{'type':'string','description':_0x1331c5[_0x5419d4(0xa3)],'demandOption':!![]})['positional'](_0x1331c5['cWlgR'],{'type':_0x1331c5['DTqVb'],'description':'Config\x20value','demandOption':!![]});},async _0x56864a=>{const _0x5f4949=_0x52ce7b;await withTelemetry(_0x5f4949(0x221),()=>configSet(_0x56864a[_0x5f4949(0xe5)],_0x56864a[_0x5f4949(0xb7)],_0x56864a[_0x5f4949(0x16a)]));})[_0x52ce7b(0x1c3)]('get\x20<profile>\x20<key>',_0x3d9653['LVcgM'],_0x566035=>{const _0x34777a=_0x52ce7b;return _0x566035[_0x34777a(0x1c8)](_0x5cdca8[_0x34777a(0x18b)],{'type':'string','description':_0x5cdca8['UfMKw'],'demandOption':!![]})['positional'](_0x34777a(0xb7),{'type':'string','description':_0x5cdca8['nJivy'],'demandOption':!![]});},async _0x142cdb=>{const _0x2d6248=_0x52ce7b;await withTelemetry(_0x2d6248(0xae),()=>configGet(_0x142cdb['profile'],_0x142cdb[_0x2d6248(0xb7)]));})[_0x52ce7b(0x1c3)](_0x52ce7b(0x155),_0x3d9653[_0x52ce7b(0x1ab)],_0x30d20c=>{const _0x2b2b84=_0x52ce7b;return _0x30d20c['positional'](_0x1331c5[_0x2b2b84(0x1e9)],{'type':_0x2b2b84(0x11e),'description':_0x1331c5[_0x2b2b84(0x1f1)],'demandOption':!![]});},async _0x2a8020=>{const _0x26c393=_0x52ce7b;await _0x1331c5['LrjTe'](withTelemetry,_0x26c393(0x1d0),()=>configList(_0x2a8020[_0x26c393(0xe5)]));})['command']('unset\x20<profile>\x20<key>',_0x52ce7b(0x108),_0x3a2c49=>{const _0x36b29d=_0x52ce7b;return _0x3a2c49[_0x36b29d(0x1c8)](_0x36b29d(0xe5),{'type':_0x1331c5[_0x36b29d(0x157)],'description':_0x1331c5['qEAzC'],'demandOption':!![]})['positional'](_0x1331c5['sKNNO'],{'type':_0x36b29d(0x11e),'description':_0x1331c5[_0x36b29d(0x232)],'demandOption':!![]});},async _0x316ad7=>{await withTelemetry('profile\x20config\x20unset',()=>configUnset(_0x316ad7['profile'],_0x316ad7['key']));})['command']('reset\x20<profile>',_0x3d9653[_0x52ce7b(0x1e0)],_0x1b9934=>{const _0x1e800d=_0x52ce7b;return _0x1b9934['positional'](_0x5cdca8[_0x1e800d(0x18b)],{'type':_0x1e800d(0x11e),'description':_0x5cdca8[_0x1e800d(0x177)],'demandOption':!![]});},async _0x20101d=>{const _0x1fa2a7=_0x52ce7b;await _0x1331c5['LrjTe'](withTelemetry,_0x1fa2a7(0xfa),()=>configReset(_0x20101d[_0x1fa2a7(0xe5)]));})['demandCommand'](0x1,_0x3d9653[_0x52ce7b(0x169)]);})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})[_0x55e20d(0x1c3)]('status','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{const _0xf5709c=_0x55e20d;await withTelemetry(_0xf5709c(0x15b),()=>status());})[_0x55e20d(0x1c3)](_0x3d9653['oaHDd'],_0x3d9653[_0x55e20d(0xe2)],()=>{},async()=>{const _0x252c2b=_0x55e20d;await withTelemetry(_0x3d9653[_0x252c2b(0x147)],()=>update());})['command'](_0x55e20d(0xe6),_0x3d9653[_0x55e20d(0xb9)],()=>{},async()=>{const _0x3b4b94=_0x55e20d;await _0x3d9653[_0x3b4b94(0x131)](withTelemetry,_0x3d9653['Efxmq'],async()=>{const _0x1dc9fb=_0x3b4b94,_0x391348=await getToken();if(!_0x391348)throw new Error(_0x1dc9fb(0x1bb));console[_0x1dc9fb(0x150)](_0x391348);});})[_0x55e20d(0x1c3)]('go',_0x3d9653['fzymT'],_0x43cb11=>{const _0x4428fa=_0x55e20d;return _0x43cb11[_0x4428fa(0xec)]('feature',{'type':'string','description':_0x3d9653[_0x4428fa(0x123)]})[_0x4428fa(0xec)](_0x3d9653[_0x4428fa(0x11d)],{'type':_0x3d9653['qhJzm'],'description':_0x3d9653[_0x4428fa(0x18c)]})[_0x4428fa(0xec)](_0x4428fa(0x1e2),{'type':_0x3d9653['qhJzm'],'description':_0x3d9653[_0x4428fa(0x8c)]})[_0x4428fa(0xec)]('scenario',{'type':'number','description':_0x3d9653['yNDBu']})[_0x4428fa(0xec)]('start-path',{'type':'string','description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})[_0x4428fa(0xec)](_0x3d9653['sjOzf'],{'type':_0x3d9653['qhJzm'],'description':_0x4428fa(0x193)})[_0x4428fa(0xec)]('model',{'type':_0x3d9653[_0x4428fa(0xe9)],'description':_0x3d9653['Hfkvc']})[_0x4428fa(0xec)](_0x3d9653['uoGzn'],{'type':_0x3d9653['YWdMb'],'description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})[_0x4428fa(0xec)](_0x3d9653['mxBbX'],{'type':_0x4428fa(0x11e),'array':!![],'alias':'environment-variable','description':_0x3d9653[_0x4428fa(0x166)]})['option']('debug-outcome',{'type':_0x3d9653['qhJzm'],'hidden':!![],'choices':[_0x4428fa(0x172),'partial',_0x3d9653['pkDGo'],'failed',_0x3d9653['vUQuw']]})['option'](_0x3d9653['bYfsQ'],{'type':_0x3d9653['YWdMb'],'hidden':!![]})[_0x4428fa(0xec)](_0x3d9653[_0x4428fa(0x132)],{'type':'string','hidden':!![]})[_0x4428fa(0xec)](_0x3d9653[_0x4428fa(0x100)],{'type':_0x4428fa(0x11e),'hidden':!![]})['option'](_0x3d9653[_0x4428fa(0x1c2)],{'type':_0x3d9653[_0x4428fa(0xb8)],'hidden':!![]});},async _0x43f53a=>{const _0x20e2d0=_0x55e20d;await _0x3d9653[_0x20e2d0(0x23d)](runGoCommand,_0x43f53a);})[_0x55e20d(0x1c3)](_0x3d9653[_0x55e20d(0x11c)],![],_0x3244ce=>{const _0x1f85b9=_0x55e20d,_0x3fe283={'PDvgj':function(_0x253b18,_0x47fd96,_0x158dcc){return _0x3d9653['raTgO'](_0x253b18,_0x47fd96,_0x158dcc);},'DcoTS':_0x1f85b9(0xa0),'vomiu':'ranger\x20profile\x20encrypt-auth'};return _0x3244ce['command'](_0x1f85b9(0x226),![],_0x2c598c=>{const _0x3d8761=_0x1f85b9;return _0x2c598c[_0x3d8761(0x1c8)]('profile',{'type':_0x3d8761(0x11e),'description':_0x3d9653[_0x3d8761(0x19d)],'demandOption':!![]});},async _0x2626cd=>{const _0x1fa0c2=_0x1f85b9;_0x3fe283[_0x1fa0c2(0x23c)](warnRenamed,_0x3fe283[_0x1fa0c2(0xb0)],_0x3fe283['vomiu']),await authEncrypt(_0x2626cd['profile']);})[_0x1f85b9(0x160)](0x1,_0x1f85b9(0x1fe));},()=>{})['command'](_0x3d9653[_0x55e20d(0x106)],![],_0x380e88=>{const _0x2cf197=_0x55e20d;return _0x380e88[_0x2cf197(0x1c8)]('token',{'type':_0x3d9653['qhJzm'],'description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})['option'](_0x3d9653[_0x2cf197(0x21a)],{'type':_0x3d9653['YWdMb'],'description':_0x3d9653['wEOwk'],'default':![]})[_0x2cf197(0xec)](_0x3d9653[_0x2cf197(0xf9)],{'type':_0x3d9653['qhJzm'],'choices':['user'],'hidden':!![],'description':_0x3d9653[_0x2cf197(0x136)]})['option'](_0x3d9653['vftSY'],{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})[_0x2cf197(0xec)](_0x3d9653['GzUFB'],{'type':_0x3d9653['YWdMb'],'description':_0x3d9653['pWinc'],'default':![]})['option'](_0x3d9653[_0x2cf197(0x151)],{'type':'boolean','description':'Skip\x20authentication','default':![]})[_0x2cf197(0xec)](_0x2cf197(0x12d),{'type':_0x2cf197(0x219),'description':_0x3d9653[_0x2cf197(0x1ae)],'default':![]});},async _0x58f05f=>{const _0x50225d=_0x55e20d;_0x3d9653[_0x50225d(0xe8)](warnRenamed,_0x50225d(0x127),_0x3d9653['fSiRn']),await _0x3d9653[_0x50225d(0x12b)](withTelemetry,_0x3d9653[_0x50225d(0xcf)],_0x4b3061=>start(_0x58f05f['token'],{'skipChromium':_0x58f05f['skip-chromium'],'skipAuth':_0x58f05f[_0x50225d(0x111)],'withDeps':_0x58f05f[_0x50225d(0x12d)],'scope':_0x58f05f['scope'],'url':_0x58f05f['url'],'force':_0x58f05f['force']},_0x4b3061));})[_0x55e20d(0x1c3)](_0x55e20d(0x13a),![],_0x1fc71b=>{const _0x11be3=_0x55e20d;return _0x1fc71b['option'](_0x3d9653[_0x11be3(0x132)],{'type':_0x11be3(0x11e),'description':_0x3d9653['WlHKH']})['option'](_0x3d9653['bGlKz'],{'type':_0x3d9653[_0x11be3(0xe9)],'description':_0x3d9653[_0x11be3(0xac)]})['option'](_0x3d9653['RiVRw'],{'type':_0x3d9653[_0x11be3(0xb8)],'description':_0x11be3(0xf6)})[_0x11be3(0xec)](_0x11be3(0xe5),{'type':'string','hidden':!![]})['option'](_0x3d9653[_0x11be3(0x163)],{'type':'string','hidden':!![]})[_0x11be3(0xec)](_0x3d9653[_0x11be3(0x124)],{'type':_0x3d9653['jNUWN'],'hidden':!![]})['option'](_0x3d9653['hpnKB'],{'type':_0x3d9653['qhJzm'],'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})['option'](_0x11be3(0x117),{'type':_0x11be3(0x11e),'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})['option'](_0x3d9653['GhlmL'],{'type':'string','hidden':!![]})[_0x11be3(0xec)]('headed',{'type':_0x11be3(0x219),'hidden':!![],'default':![]})[_0x11be3(0xec)]('env-var',{'type':'string','array':!![],'alias':_0x3d9653[_0x11be3(0x21e)],'hidden':!![]})[_0x11be3(0xec)](_0x3d9653[_0x11be3(0x1c7)],{'type':_0x3d9653['qhJzm'],'hidden':!![],'choices':[_0x11be3(0x172),_0x11be3(0x12f),'blocked',_0x3d9653[_0x11be3(0x1cb)],_0x11be3(0xe0)]});},async _0xf22d78=>{await runGoCommand(_0xf22d78,!![]);})[_0x55e20d(0x1c3)]('add\x20env\x20<env-name>',![],_0x171753=>{const _0x30b395=_0x55e20d;return _0x171753['positional'](_0x30b395(0x204),{'type':_0x3d9653[_0x30b395(0xe9)],'description':_0x30b395(0x1c1),'demandOption':!![]})[_0x30b395(0xec)]('ci',{'type':_0x3d9653['YWdMb'],'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x3d9653['ZMbhN'],{'type':'boolean','description':_0x3d9653[_0x30b395(0x135)],'default':![]});},async _0x57763a=>{const _0x39cb78=_0x55e20d;warnRenamed(_0x3d9653[_0x39cb78(0x145)],'ranger\x20profile\x20add'),await withTelemetry('add\x20env',_0x5441d5=>addEnv(_0x57763a['env-name'],{'ci':_0x57763a['ci'],'skipAuth':_0x57763a[_0x39cb78(0x111)]},_0x5441d5));})['command']('use\x20<env-name>',![],_0x115ed6=>{const _0x5c4ca2=_0x55e20d;return _0x115ed6['positional'](_0x3d9653[_0x5c4ca2(0xad)],{'type':'string','description':_0x3d9653['jRnpS'],'demandOption':!![]});},async _0x554c30=>{const _0x1ac651=_0x55e20d;_0x3d9653[_0x1ac651(0x131)](warnRenamed,_0x1ac651(0x1ff),'ranger\x20profile\x20use'),await withTelemetry(_0x1ac651(0x1ec),()=>useEnv(_0x554c30['env-name']));})[_0x55e20d(0x1c3)](_0x55e20d(0x217),![],_0x3339fd=>{const _0x2e3dcc=_0x55e20d,_0x17b45e={'nUBMD':'env','ODxuG':_0x2e3dcc(0x11e),'iBMDx':'key','uwoGT':_0x3d9653[_0x2e3dcc(0x1c0)],'lQlCa':_0x3d9653['TziNT'],'wpRuk':_0x3d9653[_0x2e3dcc(0x1fa)],'EUJKF':_0x2e3dcc(0x1d5)};return _0x3339fd[_0x2e3dcc(0x1c3)](_0x3d9653[_0x2e3dcc(0x114)],![],_0x16892b=>{const _0x2ad9a1=_0x2e3dcc;return _0x16892b['positional'](_0x17b45e[_0x2ad9a1(0x164)],{'type':_0x17b45e[_0x2ad9a1(0x183)],'description':_0x2ad9a1(0x20b),'demandOption':!![]})[_0x2ad9a1(0x1c8)](_0x17b45e['iBMDx'],{'type':_0x2ad9a1(0x11e),'description':_0x17b45e['uwoGT'],'demandOption':!![]})[_0x2ad9a1(0x1c8)]('value',{'type':_0x17b45e['ODxuG'],'description':_0x17b45e[_0x2ad9a1(0xfb)],'demandOption':!![]});},async _0xa60a32=>{const _0x1f2947=_0x2e3dcc;warnRenamed(_0x3d9653['YWXnO'],_0x3d9653['hwNFa']),await withTelemetry(_0x3d9653['YZUTG'],()=>configSet(_0xa60a32['env'],_0xa60a32[_0x1f2947(0xb7)],_0xa60a32[_0x1f2947(0x16a)]));})['command'](_0x3d9653['wotfZ'],![],_0x42d293=>{const _0x20f0fe=_0x2e3dcc;return _0x42d293['positional'](_0x17b45e[_0x20f0fe(0x164)],{'type':_0x17b45e['ODxuG'],'description':_0x17b45e[_0x20f0fe(0x186)],'demandOption':!![]})[_0x20f0fe(0x1c8)](_0x17b45e['iBMDx'],{'type':'string','description':_0x17b45e[_0x20f0fe(0x1ca)],'demandOption':!![]});},async _0x2a42b1=>{const _0x49bfee=_0x2e3dcc;warnRenamed(_0x3d9653['znVqk'],_0x3d9653[_0x49bfee(0x228)]),await withTelemetry(_0x3d9653['ODIbq'],()=>configGet(_0x2a42b1['env'],_0x2a42b1[_0x49bfee(0xb7)]));})[_0x2e3dcc(0x1c3)]('list\x20<env>',![],_0x45fc68=>{return _0x45fc68['positional']('env',{'type':'string','description':'Environment\x20name','demandOption':!![]});},async _0x3fe852=>{const _0x4698f1=_0x2e3dcc;warnRenamed(_0x4698f1(0x1d2),_0x4698f1(0x20d)),await withTelemetry('config\x20list',()=>configList(_0x3fe852['env']));})[_0x2e3dcc(0x1c3)]('unset\x20<env>\x20<key>',![],_0x16f58b=>{const _0x32fd26=_0x2e3dcc;return _0x16f58b[_0x32fd26(0x1c8)]('env',{'type':'string','description':_0x17b45e['wpRuk'],'demandOption':!![]})[_0x32fd26(0x1c8)](_0x32fd26(0xb7),{'type':_0x32fd26(0x11e),'description':_0x32fd26(0x218),'demandOption':!![]});},async _0x57404f=>{const _0x3e7765=_0x2e3dcc;warnRenamed(_0x3d9653[_0x3e7765(0x22a)],_0x3d9653[_0x3e7765(0x198)]),await withTelemetry(_0x3d9653['Stajn'],()=>configUnset(_0x57404f[_0x3e7765(0xd5)],_0x57404f['key']));})['demandCommand'](0x1,_0x3d9653['NVEaZ']);})['command'](_0x3d9653[_0x55e20d(0x132)],![],_0x4f634e=>{const _0x2e02dd=_0x55e20d,_0x1de45a={'fCXoO':_0x3d9653[_0x2e02dd(0x191)],'fIkBz':_0x3d9653[_0x2e02dd(0xad)],'SDvdm':'ranger\x20profile\x20update','RBJvk':function(_0x555ec5,_0x4bdf4e,_0x1e4a3e){return _0x555ec5(_0x4bdf4e,_0x1e4a3e);}};return _0x4f634e[_0x2e02dd(0x1c3)]('ls',![],()=>{},async()=>{const _0x279d62=_0x2e02dd;warnRenamed(_0x1de45a[_0x279d62(0x14b)],'ranger\x20profile\x20ls'),await withTelemetry(_0x279d62(0x182),()=>envList());})['command']('update\x20<env-name>',![],_0xa38ec6=>{const _0x3ed2d9=_0x2e02dd;return _0xa38ec6['positional'](_0x1de45a['fIkBz'],{'type':'string','description':_0x3ed2d9(0x231),'demandOption':!![]});},async _0x4b036d=>{const _0x2ca08a=_0x2e02dd;warnRenamed('ranger\x20env\x20update',_0x1de45a[_0x2ca08a(0x137)]),await _0x1de45a[_0x2ca08a(0x1bc)](withTelemetry,_0x2ca08a(0xf4),_0x346581=>updateEnv(_0x4b036d['env-name'],_0x346581));})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20env\x20subcommand');})[_0x55e20d(0x1c3)](_0x55e20d(0xee),![],_0x2839a3=>{const _0x48664c=_0x55e20d,_0x2f72cd={'uLTvv':_0x48664c(0xd8),'DlcGX':_0x3d9653['JHjKw'],'XioAS':_0x48664c(0xa8),'upCet':_0x48664c(0x9a),'byVpX':_0x3d9653[_0x48664c(0x90)],'IowDw':function(_0xcfc7bb,_0x199f1c,_0x9999b0,_0x167a11){return _0xcfc7bb(_0x199f1c,_0x9999b0,_0x167a11);},'JipRO':_0x3d9653[_0x48664c(0xf5)],'DCSXs':_0x3d9653['wlCjD'],'eyChR':_0x3d9653['XiJJU'],'Qgroa':_0x3d9653[_0x48664c(0x1a3)],'dDQDu':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','zMLAG':_0x48664c(0x1c6),'ulxaV':'number','WHyix':_0x3d9653[_0x48664c(0x14a)],'gDfZk':_0x3d9653['BLIYl'],'wFqdb':_0x48664c(0x11e),'JbWtY':_0x48664c(0x180),'FrFWK':_0x48664c(0x156),'zFkNo':function(_0x3e6b0b,_0x4daac8,_0x491d7d){const _0x38663f=_0x48664c;return _0x3d9653[_0x38663f(0xe8)](_0x3e6b0b,_0x4daac8,_0x491d7d);},'sOZoP':_0x3d9653['jOdSN'],'DTbgu':_0x48664c(0x1a8),'pjSTI':'ranger\x20feature\x20delete','UtgjL':function(_0x5dc45d,_0x30da81,_0xeb6114){return _0x5dc45d(_0x30da81,_0xeb6114);},'zpASc':_0x3d9653['Hpaor'],'lWWNx':'feature\x20restore'};return _0x2839a3['command'](_0x3d9653['CEFQo'],![],_0x172532=>{const _0x123f75=_0x48664c;return _0x172532['positional']('name',{'type':_0x123f75(0x11e),'description':'Feature\x20review\x20name','demandOption':!![]})[_0x123f75(0xec)](_0x2f72cd[_0x123f75(0x22e)],{'type':'string','alias':'d','description':_0x123f75(0xa2)})[_0x123f75(0xec)]('checklist',{'type':_0x123f75(0x9a),'alias':'c','description':_0x2f72cd['DlcGX']})['option'](_0x2f72cd['XioAS'],{'type':_0x2f72cd['upCet'],'hidden':!![]});},async _0x5aa50f=>{const _0x2b8d05=_0x48664c;warnRenamed(_0x2f72cd['byVpX'],'ranger\x20create'),_0x2f72cd[_0x2b8d05(0x1f3)](warnFlagRenamed,_0x2f72cd[_0x2b8d05(0x21b)],_0x2f72cd[_0x2b8d05(0xf7)],_0x2f72cd[_0x2b8d05(0x9c)]);const _0x444d98=_0x5aa50f[_0x2b8d05(0xa8)]||_0x5aa50f['checklist'];await withTelemetry('feature\x20create',()=>featureCreate(_0x5aa50f[_0x2b8d05(0x1b0)],{'description':_0x5aa50f[_0x2b8d05(0xd8)],'scenarios':_0x444d98}));})['command'](_0x48664c(0xd1),![],_0x2572f0=>{const _0x14443f=_0x48664c;return _0x2572f0['option'](_0x14443f(0x96),{'type':_0x2f72cd['Qgroa'],'description':_0x2f72cd[_0x14443f(0x20e)]})['option'](_0x2f72cd[_0x14443f(0x10c)],{'type':_0x2f72cd['ulxaV'],'alias':'l','description':_0x2f72cd[_0x14443f(0x16c)],'default':0xa})['option']('offset',{'type':_0x2f72cd['ulxaV'],'alias':'o','description':_0x14443f(0xc1),'default':0x0})[_0x14443f(0xec)](_0x2f72cd['gDfZk'],{'type':_0x14443f(0x219),'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x24326b=>{const _0x50e552=_0x48664c;warnRenamed(_0x50e552(0x17d),'ranger\x20list'),await withTelemetry(_0x50e552(0xd9),()=>featureList({'currentBranch':_0x24326b[_0x50e552(0x96)],'limit':_0x24326b['limit'],'offset':_0x24326b['offset'],'includeDeleted':_0x24326b['include-deleted']}));})['command'](_0x3d9653[_0x48664c(0x216)],![],_0x444357=>{const _0x6ea7b=_0x48664c;return _0x444357[_0x6ea7b(0x1c8)]('id',{'type':_0x2f72cd['wFqdb'],'description':_0x2f72cd[_0x6ea7b(0x15a)]});},async _0x4c8364=>{const _0x321d52=_0x48664c;_0x3d9653[_0x321d52(0x1ad)](warnRenamed,_0x321d52(0x192),_0x321d52(0x16d)),await _0x3d9653[_0x321d52(0x12c)](withTelemetry,_0x321d52(0x236),()=>featureShow(_0x4c8364['id']));})['command'](_0x3d9653[_0x48664c(0xc7)],![],_0x4b19a9=>{const _0x5d77cc=_0x48664c;return _0x4b19a9['positional']('id',{'type':_0x5d77cc(0x11e),'description':_0x3d9653['Dzgic']});},async _0x2b1821=>{const _0x589e17=_0x48664c;warnRenamed(_0x3d9653['cjttu'],_0x3d9653[_0x589e17(0x1b9)]),await withTelemetry(_0x3d9653[_0x589e17(0x1f6)],()=>featureResume(_0x2b1821['id']));})[_0x48664c(0x1c3)](_0x48664c(0x18a),![],_0x12224a=>{const _0x4ebae5=_0x48664c;return _0x12224a[_0x4ebae5(0x1c8)](_0x4ebae5(0xd8),{'type':_0x4ebae5(0x11e),'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':_0x2f72cd['wFqdb'],'description':_0x2f72cd['FrFWK']});},async _0x20c88d=>{const _0x250987=_0x48664c;_0x2f72cd[_0x250987(0xb1)](warnRenamed,_0x2f72cd[_0x250987(0x1e4)],_0x250987(0x165)),await _0x2f72cd['zFkNo'](withTelemetry,'feature\x20add-checklist-item',()=>featureAddScenario(_0x20c88d['description'],_0x20c88d['id']));})['command'](_0x48664c(0x237),![],_0x5e826c=>{const _0x4709c3=_0x48664c;return _0x5e826c[_0x4709c3(0x1c8)]('id',{'type':'string','description':_0x2f72cd[_0x4709c3(0x1f7)]});},async _0x11640c=>{const _0x58cd85=_0x48664c;warnRenamed('ranger\x20feature\x20get-feedback',_0x2f72cd[_0x58cd85(0x1d4)]),await withTelemetry('feature\x20get-feedback',()=>featureGetReview(_0x11640c['id']));})['command'](_0x3d9653[_0x48664c(0x176)],![],_0x26fcd4=>{return _0x26fcd4['positional']('id',{'type':_0x2f72cd['wFqdb'],'description':'Feature\x20review\x20ID'});},async _0xb83ca2=>{const _0x233374=_0x48664c;_0x2f72cd[_0x233374(0xb1)](warnRenamed,_0x2f72cd[_0x233374(0x181)],'ranger\x20delete'),await _0x2f72cd[_0x233374(0xd2)](withTelemetry,_0x233374(0x88),()=>featureDelete(_0xb83ca2['id']));})[_0x48664c(0x1c3)](_0x3d9653[_0x48664c(0x109)],![],_0xbeb9d6=>{const _0x15f537=_0x48664c;return _0xbeb9d6['positional']('id',{'type':'string','description':_0x15f537(0x238),'demandOption':!![]});},async _0x5ef3c6=>{const _0x458199=_0x48664c;_0x2f72cd[_0x458199(0xd2)](warnRenamed,_0x458199(0x1ee),_0x2f72cd['zpASc']),await _0x2f72cd[_0x458199(0xb1)](withTelemetry,_0x2f72cd['lWWNx'],()=>featureRestore(_0x5ef3c6['id']));})['demandCommand'](0x1,_0x48664c(0xbe));})[_0x55e20d(0x1c3)](_0x3d9653['TQgdk'],![],_0x380c96=>{const _0x5958bf=_0x55e20d,_0x2fb459={'AzsMY':_0x3d9653[_0x5958bf(0x1da)],'MsomM':function(_0x426772,_0x35db79,_0x1e77da){return _0x426772(_0x35db79,_0x1e77da);},'FSzMg':_0x5958bf(0x159),'fzKUj':_0x5958bf(0x14d)};return _0x380c96['command'](_0x3d9653[_0x5958bf(0x21f)],'Enable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x2420b2=>{const _0x353a01=_0x5958bf;return _0x2420b2['option'](_0x2fb459['AzsMY'],{'type':_0x353a01(0x11e),'description':_0x353a01(0x14d)});},async _0x486597=>{const _0x265d89=_0x5958bf;await _0x2fb459[_0x265d89(0x10b)](withTelemetry,_0x2fb459[_0x265d89(0x212)],()=>hook('enable',_0x486597[_0x265d89(0x1c9)]));})[_0x5958bf(0x1c3)](_0x3d9653[_0x5958bf(0xd7)],_0x3d9653['Sfair'],_0x3dce50=>{const _0x5293cb=_0x5958bf;return _0x3dce50['option'](_0x5293cb(0x1c9),{'type':'string','description':_0x2fb459['fzKUj']});},async _0x27edec=>{const _0x2da4a9=_0x5958bf;await withTelemetry('hook:disable',()=>hook(_0x2da4a9(0x214),_0x27edec['session-id']));})[_0x5958bf(0xec)]('name',{'type':_0x3d9653[_0x5958bf(0xe9)],'description':_0x3d9653['juyta']})['option'](_0x3d9653['lpnlM'],{'type':'string','description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x278a10=>{const _0x2c199d=_0x55e20d;_0x278a10['name']&&await _0x3d9653[_0x2c199d(0x19a)](hook,_0x278a10[_0x2c199d(0x1b0)],_0x278a10[_0x2c199d(0x1c9)]);})[_0x55e20d(0x160)](0x1,_0x3d9653['NpKpz'])['strictCommands']()[_0x55e20d(0x19b)](async(_0x2fc3b2,_0x2cd574,_0x224ee6)=>{const _0x70d1a1=_0x55e20d,_0x4c900b=_0x3d9653['smcle'](sanitizeArgs,process[_0x70d1a1(0x1f5)][_0x70d1a1(0x146)](0x2)),_0x53e0d4=getErrorType(_0x2fc3b2,_0x2cd574);if(_0x2fc3b2&&_0x2fc3b2['includes']('Unknown\x20command')){const _0x20f518=process[_0x70d1a1(0x1f5)][0x2];console[_0x70d1a1(0x20c)](_0x70d1a1(0x1a6)+_0x20f518),console['error'](_0x3d9653['Gercs']);}else{if(_0x2fc3b2)console[_0x70d1a1(0x20c)]('\x0a'+_0x2fc3b2+'\x0a');else _0x2cd574&&console['error'](_0x70d1a1(0x1e8)+_0x2cd574['message']+'\x0a');}await logDesirePath({'rawCommand':_0x4c900b,'errorMessage':_0x2fc3b2||_0x2cd574?.['message'],'errorType':_0x53e0d4});const _0x5c7f1b=getCurrentCollector();_0x5c7f1b&&await _0x5c7f1b[_0x70d1a1(0x167)](_0x2cd574||new Error(_0x3d9653[_0x70d1a1(0xde)](_0x2fc3b2,'Unknown\x20error'))),process[_0x70d1a1(0x1a9)](0x1);})['epilogue'](_0x3d9653['dZHAv'](_0x3d9653['dEAbH'],_0x3d9653['XwOeK'])+_0x3d9653[_0x55e20d(0x133)])[_0x55e20d(0x1bd)]()[_0x55e20d(0x152)](_0x3d9653['FJcAr'],'h');}process[_0x2aca60(0xd5)][_0x2aca60(0xdb)]!==_0x2aca60(0xf3)&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()[_0x2aca60(0xd0)]());