@ranger-testing/ranger-cli 3.1.6 → 3.1.7-alpha.34400c2-56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/deleteProfile.js +1 -1
  7. package/build/commands/env.js +1 -1
  8. package/build/commands/feature.js +1 -1
  9. package/build/commands/hook.js +1 -1
  10. package/build/commands/hooks/autoPrompt.js +1 -1
  11. package/build/commands/hooks/disable.js +1 -1
  12. package/build/commands/hooks/enable.js +1 -1
  13. package/build/commands/hooks/exitPlanMode.js +1 -1
  14. package/build/commands/hooks/index.js +1 -1
  15. package/build/commands/hooks/output.js +1 -1
  16. package/build/commands/hooks/planReminder.js +1 -1
  17. package/build/commands/hooks/planStart.js +1 -1
  18. package/build/commands/hooks/postEdit.js +1 -1
  19. package/build/commands/hooks/preCompact.js +1 -1
  20. package/build/commands/hooks/sessionEnd.js +1 -1
  21. package/build/commands/hooks/sessionStart.js +1 -1
  22. package/build/commands/hooks/stopHook.js +1 -1
  23. package/build/commands/index.js +1 -1
  24. package/build/commands/login.js +1 -1
  25. package/build/commands/mcpBootstrap.js +1 -1
  26. package/build/commands/migrateProfile.js +1 -1
  27. package/build/commands/setup/claude.js +1 -1
  28. package/build/commands/setup/opencode.js +1 -1
  29. package/build/commands/setupCi.js +1 -1
  30. package/build/commands/skillup.js +1 -1
  31. package/build/commands/start.js +1 -1
  32. package/build/commands/status.js +1 -1
  33. package/build/commands/update.js +1 -1
  34. package/build/commands/updateEnv.js +1 -1
  35. package/build/commands/useEnv.js +1 -1
  36. package/build/commands/utils/activeProfile.js +1 -1
  37. package/build/commands/utils/agentEnv.js +1 -1
  38. package/build/commands/utils/browserSessionsApi.js +1 -1
  39. package/build/commands/utils/claudeConfig.js +1 -1
  40. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  41. package/build/commands/utils/claudePlugin.js +1 -1
  42. package/build/commands/utils/cloudProfile.js +1 -1
  43. package/build/commands/utils/cloudProfileSession.js +1 -1
  44. package/build/commands/utils/crypto.js +1 -1
  45. package/build/commands/utils/desirePathLog.js +1 -1
  46. package/build/commands/utils/deviceAuth.js +1 -1
  47. package/build/commands/utils/environment.js +1 -1
  48. package/build/commands/utils/featureApi.js +1 -1
  49. package/build/commands/utils/fixWebmDuration.js +1 -1
  50. package/build/commands/utils/gitTracked.js +1 -1
  51. package/build/commands/utils/keychain.js +1 -1
  52. package/build/commands/utils/legacyWarning.js +1 -1
  53. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  54. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  55. package/build/commands/utils/mcpImageBase64.js +1 -1
  56. package/build/commands/utils/model.js +1 -1
  57. package/build/commands/utils/novaActCli.js +1 -1
  58. package/build/commands/utils/opencodeConfig.js +1 -1
  59. package/build/commands/utils/organizationEnvApi.js +1 -1
  60. package/build/commands/utils/playwrightCli.js +1 -1
  61. package/build/commands/utils/profileMessages.js +1 -1
  62. package/build/commands/utils/profileSetupBanner.js +1 -1
  63. package/build/commands/utils/projectsConfig.js +1 -1
  64. package/build/commands/utils/rangerConfig.js +1 -1
  65. package/build/commands/utils/rangerRoot.js +1 -1
  66. package/build/commands/utils/rangerwrightCli.js +1 -1
  67. package/build/commands/utils/resolveProfileContext.js +1 -1
  68. package/build/commands/utils/resolveProfileUrl.js +1 -1
  69. package/build/commands/utils/retry.js +1 -1
  70. package/build/commands/utils/scenarioOriginCheck.js +1 -1
  71. package/build/commands/utils/sessionCache.js +1 -1
  72. package/build/commands/utils/settings.js +1 -1
  73. package/build/commands/utils/skillContent.js +1 -1
  74. package/build/commands/utils/skills.js +1 -1
  75. package/build/commands/utils/stitchWebmFiles.js +1 -1
  76. package/build/commands/utils/telemetry.js +1 -1
  77. package/build/commands/utils/tokenRefresh.js +1 -1
  78. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  79. package/build/commands/utils/tunnelClient.js +1 -1
  80. package/build/commands/utils/userApi.js +1 -1
  81. package/build/commands/utils/version.js +1 -1
  82. package/build/commands/verifyFeature.js +1 -1
  83. package/build/commands/verifyFeatureCli.js +1 -1
  84. package/build/commands/verifyFeatureNovaCli.js +1 -1
  85. package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
  86. package/package.json +2 -5
package/build/cli.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const _0x5cca4c=_0x4e73;(function(_0x3e0415,_0x258903){const _0x30e50b=_0x4e73,_0x19f79a=_0x3e0415();while(!![]){try{const _0x11b939=-parseInt(_0x30e50b(0x2f2))/0x1*(-parseInt(_0x30e50b(0x1b8))/0x2)+parseInt(_0x30e50b(0x2cd))/0x3*(parseInt(_0x30e50b(0x1f4))/0x4)+-parseInt(_0x30e50b(0x2aa))/0x5*(parseInt(_0x30e50b(0x31b))/0x6)+-parseInt(_0x30e50b(0x293))/0x7*(-parseInt(_0x30e50b(0x1bd))/0x8)+-parseInt(_0x30e50b(0x360))/0x9+-parseInt(_0x30e50b(0x26e))/0xa+parseInt(_0x30e50b(0x25a))/0xb;if(_0x11b939===_0x258903)break;else _0x19f79a['push'](_0x19f79a['shift']());}catch(_0x73988){_0x19f79a['push'](_0x19f79a['shift']());}}}(_0x901d,0xb40ba));import _0x4bca5b from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x409205=_0x4e73,_0x4438a5={'XQtgm':function(_0x153855,_0x121d80){return _0x153855(_0x121d80);},'SMcOm':function(_0x16043a,_0x1a2cea){return _0x16043a!==_0x1a2cea;},'oljAO':function(_0xbf38d3,_0x1b3587){return _0xbf38d3(_0x1b3587);},'KPwOQ':'.env'};let _0xf74067=process[_0x409205(0x308)]();const _0x412ec2=_0x4438a5['XQtgm'](parse,_0xf74067)['root'];while(_0x4438a5[_0x409205(0x314)](_0xf74067,_0x412ec2)){if(_0x4438a5[_0x409205(0x367)](existsSync,join(_0xf74067,_0x409205(0x22d)))||existsSync(join(_0xf74067,_0x4438a5['KPwOQ'])))return _0xf74067;_0xf74067=dirname(_0xf74067);}return process[_0x409205(0x308)]();}_0x4bca5b['config']({'path':join(findProjectRoot(),_0x5cca4c(0x2eb))});import _0x123389 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';function _0x901d(){const _0x42a8b0=['Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','ptiPM','token','cwd','ranger\x20profile\x20config\x20unset','sLcqU','incomplete','aBBig','NJMSi','includes','feature\x20get-feedback','oQnuI','You\x20must\x20specify\x20an\x20env\x20subcommand','pXcQo','Nqyem','SMcOm','QUJWf','use\x20<profile-name>','config','ranger\x20feature\x20delete','base-url','length','21342cTjsGi','DdNJN','exitCode','list','mksTc','Proceed\x20even\x20when\x20the\x20selected\x20scenario\x20names\x20a\x20URL\x20on\x20a\x20different\x20origin\x20than\x20the\x20resolved\x20target','fQaAG','\x27.\x20Session\x20saved.','ysYPv','ZYYWN','debug-outcome','ranger\x20env\x20ls','ranger\x20restore','RANGER_TEST_USERNAME','CwtCl','JpfKP','dqbbB','nPxPs','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','XFILP','error','--profile','ranger\x20config\x20set','kFjvQ','config\x20unset','verify-feature','manual','profile\x20delete','map','hRQxC','OcVAQ','usage','XDmrc','Unknown\x20command','LMeUC','LHDSj','BSrJr','unhandledRejection','test','ROBIY','Set\x20up\x20a\x20local\x20browser\x20profile','nzoze','dyxjG','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','vKDJU','RbJYj','profile\x20encrypt-auth','cxIAk','limit','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','DweqA','jZttS','playwright-cli','RJUNa','GLDGW','Subcommand\x20or\x20API\x20token\x20(rngr_...)','dlbOf','Alias\x20for\x20--mcp-bootstrap','ujktK','AVUWK','deps','message','ranger\x20profile\x20use','XrzNc','RaqEp','VOxeP','Scenario\x20index\x20(1-based)','ryTlA','ranger\x20profile\x20config\x20set','12702168rlfaat','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','number','config\x20set','setup:profiles','issues','QTHXZ','oljAO','Feature\x20review\x20name','RANGER_TEST_PASSWORD','opencode','SYFpU','report\x20[id]','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','RANGER_PROFILE','VNeWJ','✓\x20Login\x20succeeded\x20for\x20\x27','create','QeJUR','mNYSK','set\x20<profile>\x20<key>\x20<value>','ranger\x20feature\x20restore','Install\x20skills\x20for\x20OpenCode','bWnwb','DfxGA','ranger\x20show','nuwEQ','ezfpo','DRfqO','JEQJq','filter','Restore\x20a\x20soft-deleted\x20feature\x20review','headed','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','Auth\x20environment\x20key\x20to\x20bind\x20this\x20profile\x20to\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Bypasses\x20URL-based\x20matching;\x20required\x20for\x20bare-localhost\x20custom\x20ports.','Initialize\x20Ranger\x20in\x20your\x20project','wTWMf','split','Config\x20key','946bXBMsW','key','Scenario\x20number\x20to\x20edit\x20(1-based)','demandCommand','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','376nYCwrp','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','tmgnL','iWesx','auth','odXwc','Add\x20profile\x20configuration','tokenOrSubcommand','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','SossW','BPWZI','organizationName','cCxiH','evaluation','rJBWs','Install\x20OS-level\x20dependencies\x20for\x20Chromium','fail','positional','enable','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','ywTYa','login\x20<name>','HqBIw','isArray','--env','xDxLi','add-scenario','\x20\x20https://docs.ranger.net\x0a','YwTZe','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','ranger','scope','task','MGDJI','rYNKA','nCrij','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','scenario','whZNy','log','name','get\x20<env>\x20<key>','mcp-bootstrap','value','jjBmf','iJIVP','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','RiOVV','QbcuF','GpxWB','Environment\x20name','nzNKG','list\x20<env>','808okBLTA','JxHZB','mLrHq','jtxWI','AcGAx','lDQLH','etGmD','Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','kgpcn','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','zrhNH','rWhSC','disable','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','PvnKw','ranger\x20profile\x20config\x20list','qPTnc','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','project','Feature\x20review\x20ID','Ddior','setup:all','repeat','pDbuK','EEwvj','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','LwQxK','profile\x20config\x20reset','jiVZO','xBSke','HZGQl','YaVHQ','dry-run','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.','checklist','ranger\x20setup','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','yes','gdbFD','Skip\x20browser\x20authentication','yHDkF','ranger\x20verify-feature','Authenticate\x20via\x20MCP\x20proxy','config\x20get','offset','mypDf','jiOyF','kJVbN','qJYqZ','env-name','KwEUO','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\x20config\x20unset','kUbHJ','kmETv','Wvcei','clean','.ranger','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','hYDGP','RwTnC','profile\x20config\x20set','ranger\x20profile\x20ls','Number\x20of\x20feature\x20reviews\x20to\x20skip','rEbJN','flatMap','skip-chromium','Skip\x20interactive\x20confirmation\x20prompts.','UBcvl','Ranger\x20API\x20token','feature\x20delete','dNGlt','skillup','\x20FAILED','ranger\x20go','setup:deps','profile\x20add','\x20is\x20no\x20longer\x20supported.\x20','Ranger\x20API\x20token\x20(rngr_...)','save-creds','get-review','EAthy','xurCw','--task','tbVsx','ranger\x20add-scenario','hMnbJ','wnXxw','ranger\x20list','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','setup-ci\x20<token>','gWZRv','vvLIZ','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','LNBzw','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','RqWOP','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','Scenario\x20description','akBdA','ODbSt','eytnF','21732326hjqkcl','profile\x20migrate','BqLvT','List\x20all\x20profiles','tVcLU','DzAVq','dCtpN','all','PzySg','feature','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','login','vPrCY','current-branch','ranger\x20env\x20update','KNfIT','nmLXA','summary','Get\x20a\x20config\x20value','restore\x20<id>','12939230WEBXfs','SnqAT','ranger\x20feature\x20resume','command','ranger\x20create','profiles','tRHBS','MurXd','AsvKF','setup\x20[tokenOrSubcommand]','notes','IIkWk','string','description','wLnch','fOsnQ','profile-name','zZMLy','Profile\x20name','SnAgT','check','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','PZUkH','allow-insecure-localhost','skip-auth','ranger\x20feature\x20list','forEach','json','update','\x20VERIFIED','include-deleted','Name\x20of\x20the\x20profile','eJtfb','ddhou','profile\x20update','Qqgnt','qpdfy','148316TSlesn','add-checklist-item\x20<description>','ranger\x20start','YDZmQ','hXaDm','Print\x20the\x20current\x20CLI\x20access\x20token','List\x20all\x20config\x20for\x20a\x20profile','env\x20list','KzSdf','eouPu','oshqg','show\x20[id]','Feature\x20review\x20description','rCoHU','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','get-review\x20[id]','model','fQHvQ','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','failed','ogWWw','\x0aUnknown\x20command:\x20','FBxzh','610cSFsVb','INvqz','tlsmU','config\x20list','help','IzjQP','edit-scenario\x20<description>','zihcl','Summary:\x20','qneFR','Example:\x20ranger\x20create\x20my-feature','exit','add-scenario\x20<description>','verified','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','New\x20scenario\x20description','profile','env-var','cdp-endpoint','ranger\x20profile\x20config\x20get','SgGZh','hsdsd','Feature\x20review\x20ID\x20to\x20restore','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','with-deps','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','LlMDL','allow-url-mismatch','oLPuN','session-id','RhmLi','iwsbv','oGOQq','option','ranger\x20config\x20unset','258SkvztY','pLpbm','Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','XnJxv','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','env','debug-address-comments','test_output','use\x20<env-name>','force','status','PQWjL','mcp','wUjEd','Config\x20value','RHOHN','gqUuQ','mDLav','safe-mode','ywEih','start-path','maYNo','skills','add\x20<profile-name>','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','boolean','DQTRR','fmfiS','slice','YokpH','.env','KwTLU','create\x20<name>','gzzXf','fosuD','blocked','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','1877BceeKq','wHIFg','user','array','ARrEX','API\x20token','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','rgGdQ','argv','reset\x20<profile>','environment-variable','jCmRo','scriptName','url','slBcK','use','miviL','wKUkr'];_0x901d=function(){return _0x42a8b0;};return _0x901d();}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';function _0x4e73(_0x3d087b,_0x254dfa){_0x3d087b=_0x3d087b-0x19a;const _0x901d5=_0x901d();let _0x4e73b1=_0x901d5[_0x3d087b];return _0x4e73b1;}import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on'](_0x5cca4c(0x340),async _0x1a25d1=>{const _0x51b9f1=_0x5cca4c,_0x1d80dd={'Bchbv':function(_0xb0f638){return _0xb0f638();}},_0x2e5b8d=_0x1d80dd['Bchbv'](getCurrentCollector);_0x2e5b8d&&await _0x2e5b8d['trackCommandError'](_0x1a25d1),process[_0x51b9f1(0x31d)]=0x1;});const rawArgs=process['argv']['slice'](0x2),TOP_LEVEL_HELP=_0x5cca4c(0x215),PROFILE_HELP=_0x5cca4c(0x227),PROFILE_CONFIG_HELP=_0x5cca4c(0x2e5);function warnRenamed(_0x27a1d8,_0x42ccbd){const _0x5dc3c5=_0x5cca4c;console[_0x5dc3c5(0x32f)]('\x0a'+_0x27a1d8+'\x20is\x20now\x20'+_0x42ccbd+'\x0a');}function argUsed(_0x237d4d){return rawArgs['some'](_0x200b49=>_0x200b49===_0x237d4d||_0x200b49['startsWith'](_0x237d4d+'='));}function warnFlagRenamed(_0x93e8e9,_0x2d29ae,_0x433aa7){const _0x5547be=_0x5cca4c,_0x1ab865={'dCtpN':function(_0x45ba7d,_0x2f03c2){return _0x45ba7d(_0x2f03c2);}};_0x1ab865[_0x5547be(0x260)](argUsed,_0x2d29ae)&&warnRenamed(_0x93e8e9+'\x20'+_0x2d29ae,_0x93e8e9+'\x20'+_0x433aa7);}function normalizeEnvVarNames(_0x516fe8){const _0x4f984a=_0x5cca4c,_0x53f7e7=Array[_0x4f984a(0x1d5)](_0x516fe8)?_0x516fe8:_0x516fe8?[_0x516fe8]:[];return _0x53f7e7[_0x4f984a(0x235)](_0x271b92=>String(_0x271b92)[_0x4f984a(0x1b6)](',')[_0x4f984a(0x337)](_0xad7c63=>_0xad7c63['trim']())[_0x4f984a(0x1af)](Boolean));}async function runGoCommand(_0x2c0db7,_0x38766e=![]){const _0x4f484f=_0x5cca4c,_0x31e5dc={'PzySg':'ranger\x20verify-feature','wgoer':_0x4f484f(0x330),'MgjDF':_0x4f484f(0x247),'VNeWJ':'--notes','eYiTV':function(_0x201d4c,_0x5c72a3,_0x35f003,_0x6362ee){return _0x201d4c(_0x5c72a3,_0x35f003,_0x6362ee);},'tbVsx':function(_0x562995){return _0x562995();},'vVfiP':function(_0x1975b5,_0x503b2b){return _0x1975b5(_0x503b2b);},'zZMLy':function(_0x2536c0,_0x84cd0f){return _0x2536c0!==_0x84cd0f;},'YaVHQ':function(_0x136152,_0x41c0a9){return _0x136152===_0x41c0a9;},'nmLXA':function(_0xc3055a,_0x553de2){return _0xc3055a===_0x553de2;},'srmcM':'incomplete','wjgPe':'\x20INCOMPLETE','QTHXZ':function(_0x3b1a58,_0x3ddf65){return _0x3b1a58===_0x3ddf65;},'XPmVP':'partial','OjXlE':'\x20PARTIAL','fQaAG':'\x20BLOCKED'};_0x38766e&&(warnRenamed(_0x31e5dc[_0x4f484f(0x262)],_0x4f484f(0x23e)),warnFlagRenamed(_0x4f484f(0x21d),_0x4f484f(0x1d6),_0x31e5dc['wgoer']));warnFlagRenamed('ranger\x20go',_0x31e5dc['MgjDF'],_0x31e5dc[_0x4f484f(0x1a0)]),_0x31e5dc['eYiTV'](warnFlagRenamed,'ranger\x20go','--item','--scenario');const _0x23be08=await loadRangerConfig(),_0x16ffca=_0x31e5dc[_0x4f484f(0x248)](isByokEnabled),_0x26b4a2=_0x2c0db7[_0x4f484f(0x2a3)],_0x3a9d6c=_0x23be08['model'],_0x324a73=_0x31e5dc['vVfiP'](normalizeEnvVarNames,_0x2c0db7[_0x4f484f(0x2bb)]),_0x39c8bd=_0x31e5dc['tbVsx'](getVerificationTransport);if(_0x324a73['length']>0x0&&_0x31e5dc['zZMLy'](_0x39c8bd,_0x4f484f(0x34f))&&_0x31e5dc[_0x4f484f(0x27f)](_0x39c8bd,'rangerwright-cli'))throw new Error('The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20'+_0x39c8bd+'.');const _0x186087=await verifyFeature({'featureId':_0x2c0db7[_0x4f484f(0x263)],'profile':_0x2c0db7[_0x4f484f(0x2ba)]??(_0x38766e?_0x2c0db7['env']:undefined)??process['env'][_0x4f484f(0x19f)],'authEnv':_0x38766e?undefined:_0x2c0db7[_0x4f484f(0x2d2)]??process[_0x4f484f(0x2d2)]['RANGER_AUTH_ENV'],'notes':_0x2c0db7['notes']??_0x2c0db7['task'],'check':_0x2c0db7['check'],'scenario':_0x2c0db7[_0x4f484f(0x1e4)]??_0x2c0db7['item'],'startPath':_0x2c0db7[_0x4f484f(0x2e1)],'baseUrl':_0x2c0db7[_0x4f484f(0x319)],'debugOutcome':_0x2c0db7[_0x4f484f(0x325)],'debugAddressComments':_0x2c0db7['debug-address-comments'],'headed':_0x2c0db7[_0x4f484f(0x1b1)],'verifierEnvVars':_0x324a73,'allowUrlMismatch':_0x2c0db7[_0x4f484f(0x2c5)],'byokEnabled':_0x16ffca,'flagVerifyModel':_0x26b4a2,'configVerifyModel':_0x3a9d6c});console['log']('\x0a'+'='[_0x4f484f(0x20a)](0x3c)),console['log'](_0x31e5dc[_0x4f484f(0x213)](_0x186087[_0x4f484f(0x1cb)],'verified')?_0x4f484f(0x28b):_0x31e5dc[_0x4f484f(0x26a)](_0x186087['evaluation'],_0x31e5dc['srmcM'])?_0x31e5dc['wjgPe']:_0x31e5dc[_0x4f484f(0x366)](_0x186087[_0x4f484f(0x1cb)],_0x31e5dc['XPmVP'])?_0x31e5dc['OjXlE']:_0x186087['evaluation']===_0x4f484f(0x2f0)?_0x31e5dc[_0x4f484f(0x321)]:_0x4f484f(0x23d)),console[_0x4f484f(0x1e6)]('='['repeat'](0x3c)),console[_0x4f484f(0x1e6)](_0x4f484f(0x2b2)+_0x186087[_0x4f484f(0x26b)]),console['log']('Evaluation:\x20'+_0x186087[_0x4f484f(0x1cb)]),console['log']('Reason:\x20'+_0x186087['evaluationReason']),_0x186087['issues']?.[_0x4f484f(0x31a)]&&(console['log']('\x0aIssues:'),_0x186087[_0x4f484f(0x365)][_0x4f484f(0x288)]((_0xa636e,_0x45b537)=>{const _0x5f5996=_0x4f484f;console[_0x5f5996(0x1e6)]('\x0a'+(_0x45b537+0x1)+'.\x20['+_0xa636e['severity']+']\x20'+_0xa636e[_0x5f5996(0x27b)]);})),process[_0x4f484f(0x2b5)](_0x186087['evaluation']==='verified'?0x0:0x1);}export function buildParser(_0x4b13fe){const _0x222b8f=_0x5cca4c,_0x9e9eba={'oLPuN':_0x222b8f(0x1e7),'fmfiS':'string','FLqPl':_0x222b8f(0x27b),'vvLIZ':'scenario','ABkVC':_0x222b8f(0x1fd),'ayxXJ':'Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','VOxeP':function(_0x327963,_0x1b4447,_0x5ffedc,_0x130121){return _0x327963(_0x1b4447,_0x5ffedc,_0x130121);},'ptiPM':'--checklist','tVcLU':function(_0x568c86,_0x2e1f36,_0x565a85){return _0x568c86(_0x2e1f36,_0x565a85);},'sLcqU':'current-branch','AsvKF':'boolean','fosuD':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','EAthy':'limit','whZNy':_0x222b8f(0x362),'PLUqF':_0x222b8f(0x1be),'Wvcei':'Number\x20of\x20feature\x20reviews\x20to\x20skip','Ddior':_0x222b8f(0x28c),'kJYBs':_0x222b8f(0x256),'GpxWB':function(_0x4f069f,_0x497140,_0x13f55f){return _0x4f069f(_0x497140,_0x13f55f);},'RWLYp':_0x222b8f(0x2b9),'kgpcn':_0x222b8f(0x218),'xurCw':function(_0x26a207,_0x3a272a,_0x4219cb){return _0x26a207(_0x3a272a,_0x4219cb);},'Htdpn':'Feature\x20review\x20ID','etGmD':'array','ogWWw':_0x222b8f(0x289),'nzNKG':'restore','YwTZe':_0x222b8f(0x242),'nzoze':_0x222b8f(0x21e),'vwHpG':function(_0x13c8eb,_0x540da6){return _0x13c8eb(_0x540da6);},'slBcK':'with-deps','CwtCl':_0x222b8f(0x19e),'mDLav':_0x222b8f(0x24d),'eytnF':_0x222b8f(0x23f),'oGOQq':'scope','Faiib':'Install\x20scope\x20for\x20plugin\x20and\x20skills','bWnwb':function(_0x271de2,_0x1ba96a){return _0x271de2+_0x1ba96a;},'owElY':_0x222b8f(0x364),'nCrij':'Install\x20Chromium\x20browser\x20binary','OXEAx':_0x222b8f(0x2e3),'rCoHU':_0x222b8f(0x236),'zihcl':_0x222b8f(0x346),'tRHBS':_0x222b8f(0x2ff),'DwjIf':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','vwQmz':_0x222b8f(0x2d6),'XFNdn':_0x222b8f(0x19b),'PpWrp':'mcp-bootstrap','YokpH':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','oCjcQ':_0x222b8f(0x286),'qJYqZ':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','duCbL':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','SZQJQ':_0x222b8f(0x2f7),'cxIAk':'start','hXaDm':'token','ryTlA':'Ranger\x20API\x20token','IjLal':'profile','dNGlt':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','pXcQo':'base-url','PqJtw':'Skip\x20Chromium\x20browser\x20installation','miviL':'setup-ci','CDrYe':_0x222b8f(0x1a7),'KzSdf':_0x222b8f(0x23c),'BVBGs':function(_0x570f09,_0x4fd464,_0x1916f1){return _0x570f09(_0x4fd464,_0x1916f1);},'nrUpr':function(_0x55851c,_0x17028f){return _0x55851c(_0x17028f);},'wnXxw':'cdp-endpoint','KwTLU':_0x222b8f(0x349),'yHDkF':'manual','nwivO':_0x222b8f(0x290),'DCiMg':'profile\x20login','cCxiH':'profile-name','SnAgT':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','KwEUO':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','ghoRu':_0x222b8f(0x219),'TJLtV':_0x222b8f(0x280),'qneFR':_0x222b8f(0x1b9),'wHIFg':_0x222b8f(0x1a5),'wGDGs':'Set\x20a\x20config\x20value','QviXQ':_0x222b8f(0x26c),'yDLRB':_0x222b8f(0x299),'RbJYj':'Remove\x20a\x20config\x20value','pyHYE':_0x222b8f(0x2fb),'mNYSK':_0x222b8f(0x1ed),'jtxWI':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','LMeUC':_0x222b8f(0x253),'gqUuQ':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','gnqbc':'safe-mode','kFjvQ':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','kfyff':'profile\x20ls','dlbOf':function(_0x4793e3,_0x45ebd6){return _0x4793e3||_0x45ebd6;},'LwQxK':'profile\x20config\x20list','qPTnc':function(_0x3f185c,_0x543361,_0x205725){return _0x3f185c(_0x543361,_0x205725);},'KgCbI':_0x222b8f(0x2e4),'nPxPs':_0x222b8f(0x316),'kUbHJ':'Switch\x20to\x20using\x20a\x20specific\x20profile','XnJxv':'encrypt-auth\x20<profile>','HqBIw':_0x222b8f(0x25d),'nuwEQ':'update\x20<profile-name>','YegPz':_0x222b8f(0x1d3),'OcVAQ':'migrate\x20[profile-name]','BqLvT':_0x222b8f(0x317),'tIjFM':'You\x20must\x20specify\x20a\x20profile\x20subcommand','IzjQP':function(_0x5e3eaf,_0x3a63f7,_0x5b4751){return _0x5e3eaf(_0x3a63f7,_0x5b4751);},'rhSnZ':'status','XFILP':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','tmgnL':_0x222b8f(0x263),'KNfIT':_0x222b8f(0x278),'GLDGW':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','Qdgaw':_0x222b8f(0x2e1),'IIkWk':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','ezfpo':'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.','QeJUR':_0x222b8f(0x1b1),'SYFpU':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','ujktK':_0x222b8f(0x2bb),'sVOeb':_0x222b8f(0x320),'kUnZY':'debug-outcome','iwsbv':'partial','wLnch':_0x222b8f(0x2d2),'XDmrc':'Auth\x20environment\x20key\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Used\x20with\x20RANGER_TEST_USERNAME\x20for\x20ad-hoc\x20runs,\x20and\x20with\x20--profile\x20to\x20override\x20that\x20profile\x27s\x20pinned\x20env\x20for\x20this\x20run.\x20Required\x20to\x20run\x20an\x20automated\x20login\x20against\x20a\x20bare-localhost\x20target\x20(localhost\x20/\x20127.0.0.1).\x20Also\x20respects\x20RANGER_AUTH_ENV.','ywEih':'item','sWlDV':'ranger\x20profile\x20encrypt-auth','mDnYg':function(_0x490e43,_0x14d735){return _0x490e43(_0x14d735);},'kmETv':'You\x20must\x20specify\x20an\x20auth\x20subcommand','dBurT':_0x222b8f(0x201),'maYNo':_0x222b8f(0x22e),'odXwc':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','NyBWe':_0x222b8f(0x295),'fOsnQ':_0x222b8f(0x217),'RhmLi':_0x222b8f(0x2d1),'wdhrC':'task','LDXMn':_0x222b8f(0x35d),'oQnuI':_0x222b8f(0x1c5),'fqJBO':'environment-variable','dqbbB':_0x222b8f(0x2b7),'gKTER':_0x222b8f(0x1c6),'pLpbm':'ranger\x20add\x20env','LHDSj':'ranger\x20profile\x20add','ZDAyh':'add\x20env','Nqyem':_0x222b8f(0x225),'PvnKw':function(_0x102c72,_0x441c39,_0xaff482){return _0x102c72(_0x441c39,_0xaff482);},'aBfgs':_0x222b8f(0x359),'OSiwW':_0x222b8f(0x301),'iJIVP':'value','JxHZB':_0x222b8f(0x35f),'MGDJI':_0x222b8f(0x363),'FBxzh':'ranger\x20config\x20get','QjNXL':_0x222b8f(0x2bd),'SnqAT':_0x222b8f(0x21f),'EJvFs':function(_0x123ef9,_0x46dff5,_0x1fdf06){return _0x123ef9(_0x46dff5,_0x1fdf06);},'IQqLT':_0x222b8f(0x203),'mypDf':_0x222b8f(0x2ad),'QUJWf':'Config\x20key\x20to\x20remove','jScwo':_0x222b8f(0x309),'guybg':'set\x20<env>\x20<key>\x20<value>','BUUrx':'You\x20must\x20specify\x20a\x20config\x20subcommand','scqTX':_0x222b8f(0x326),'hYDGP':_0x222b8f(0x29a),'BOddR':_0x222b8f(0x268),'hRQxC':_0x222b8f(0x311),'YFQfJ':_0x222b8f(0x29f),'UBcvl':'checklist','lDQLH':'offset','tjYII':_0x222b8f(0x270),'RwTnC':'ranger\x20resume','XtWMT':'feature\x20resume','wUjEd':'ranger\x20feature\x20add-checklist-item','nmrdD':function(_0x572fad,_0x26d55c,_0x52e791){return _0x572fad(_0x26d55c,_0x52e791);},'DzAVq':'ranger\x20feature\x20get-feedback','rWhSC':function(_0x179ed8,_0x22971a,_0x560dd6){return _0x179ed8(_0x22971a,_0x560dd6);},'RHOHN':_0x222b8f(0x30f),'tdObb':_0x222b8f(0x318),'JpfKP':function(_0x666e6e,_0x1d5e64,_0x397112){return _0x666e6e(_0x1d5e64,_0x397112);},'DfxGA':_0x222b8f(0x1a6),'LlMDL':'feature\x20restore','XETFV':'ranger\x20create','Qlrhg':function(_0xf3dc14,_0x5e9467,_0x494f86){return _0xf3dc14(_0x5e9467,_0x494f86);},'tqDne':_0x222b8f(0x287),'eouPu':_0x222b8f(0x24c),'jiOyF':'list','VrzZM':'resume\x20[id]','gzzXf':'get-feedback\x20[id]','zrhNH':'delete\x20[id]','dyxjG':'session-id','jZttS':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','ysYPv':_0x222b8f(0x200),'HZGQl':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','vKjwa':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','xDxLi':function(_0xcf7143,_0x218a9c){return _0xcf7143(_0x218a9c);},'rEbJN':function(_0x459eea,_0x5ed06a,_0x208749){return _0x459eea(_0x5ed06a,_0x208749);},'ZYYWN':_0x222b8f(0x20d),'tlsmU':function(_0x16ce5e){return _0x16ce5e();},'PAkVh':'ranger','bGaki':_0x222b8f(0x2ed),'UYFgm':'List\x20all\x20feature\x20reviews','UBjHU':_0x222b8f(0x29e),'RaqEp':_0x222b8f(0x2b6),'ynJnH':'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','FUSLC':_0x222b8f(0x19d),'vUlnZ':'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','NJMSi':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','wTWMf':'restore\x20<id>','hsdsd':_0x222b8f(0x1b0),'XrzNc':_0x222b8f(0x24e),'EEwvj':_0x222b8f(0x265),'bhlIm':_0x222b8f(0x273),'vuqxU':'Manage\x20profiles','YLhXf':'update','jiVZO':_0x222b8f(0x298),'vPrCY':'Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','rYNKA':_0x222b8f(0x1c1),'gdbFD':'add\x20env\x20<env-name>','kLMcU':'Documentation:\x0a','PQWjL':_0x222b8f(0x2ae)};return _0x9e9eba['vwHpG'](_0x123389,_0x4b13fe??process[_0x222b8f(0x2fa)]['slice'](0x2))[_0x222b8f(0x2fe)](_0x9e9eba['PAkVh'])[_0x222b8f(0x33a)](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command'](_0x9e9eba['bGaki'],'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios',_0x2a22f6=>{const _0x2bc5ae=_0x222b8f;return _0x2a22f6['positional'](_0x9e9eba[_0x2bc5ae(0x2c6)],{'type':_0x9e9eba[_0x2bc5ae(0x2e8)],'description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x9e9eba['FLqPl'],{'type':_0x9e9eba['fmfiS'],'alias':'d','description':'Feature\x20review\x20description'})[_0x2bc5ae(0x2cb)](_0x9e9eba[_0x2bc5ae(0x250)],{'type':'array','alias':'c','description':_0x9e9eba['ABkVC']})['option']('checklist',{'type':_0x2bc5ae(0x2f5),'hidden':!![]});},async _0x4e3137=>{const _0x411985=_0x222b8f;if(!_0x4e3137[_0x411985(0x1e7)]){console[_0x411985(0x32f)](_0x9e9eba['ayxXJ']+_0x411985(0x2b4)),process['exit'](0x1);return;}_0x9e9eba[_0x411985(0x35c)](warnFlagRenamed,_0x411985(0x272),_0x9e9eba[_0x411985(0x306)],'--scenario');const _0x875e69=_0x4e3137['scenario']||_0x4e3137[_0x411985(0x216)];await _0x9e9eba['tVcLU'](withTelemetry,_0x411985(0x1a2),()=>featureCreate(_0x4e3137[_0x411985(0x1e7)],{'description':_0x4e3137['description'],'scenarios':_0x875e69}));})[_0x222b8f(0x271)](_0x222b8f(0x31e),_0x9e9eba['UYFgm'],_0x13b9dd=>{const _0x4a8c36=_0x222b8f;return _0x13b9dd['option'](_0x9e9eba[_0x4a8c36(0x30a)],{'type':_0x9e9eba[_0x4a8c36(0x276)],'description':_0x9e9eba[_0x4a8c36(0x2ef)]})[_0x4a8c36(0x2cb)](_0x9e9eba['EAthy'],{'type':_0x9e9eba[_0x4a8c36(0x1e5)],'alias':'l','description':_0x9e9eba['PLUqF'],'default':0xa})['option']('offset',{'type':_0x4a8c36(0x362),'alias':'o','description':_0x9e9eba[_0x4a8c36(0x22b)],'default':0x0})[_0x4a8c36(0x2cb)](_0x9e9eba[_0x4a8c36(0x208)],{'type':'boolean','alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x27b1e7=>{const _0x5467df=_0x222b8f;await withTelemetry(_0x5467df(0x31e),()=>featureList({'currentBranch':_0x27b1e7['current-branch'],'limit':_0x27b1e7[_0x5467df(0x34b)],'offset':_0x27b1e7['offset'],'includeDeleted':_0x27b1e7[_0x5467df(0x28c)]}));})[_0x222b8f(0x271)](_0x9e9eba['UBjHU'],_0x222b8f(0x2f1),_0xfe18a=>{const _0x3fe88f=_0x222b8f;return _0xfe18a['positional']('id',{'type':_0x9e9eba['fmfiS'],'description':_0x3fe88f(0x207)});},async _0x3f69d4=>{const _0xef27a6=_0x222b8f;await _0x9e9eba[_0xef27a6(0x25e)](withTelemetry,'show',()=>featureShow(_0x3f69d4['id']));})['command']('resume\x20[id]',_0x222b8f(0x304),_0x24ef35=>{const _0xd39950=_0x222b8f;return _0x24ef35['positional']('id',{'type':_0xd39950(0x27a),'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x4ff6c1=>{const _0x23349f=_0x222b8f;await _0x9e9eba[_0x23349f(0x25e)](withTelemetry,'resume',()=>featureResume(_0x4ff6c1['id']));})[_0x222b8f(0x271)](_0x9e9eba[_0x222b8f(0x35b)],_0x222b8f(0x32d),_0x38d937=>{const _0x1660a4=_0x222b8f;return _0x38d937[_0x1660a4(0x1cf)](_0x1660a4(0x27b),{'type':'string','description':_0x9e9eba['kJYBs'],'demandOption':!![]})[_0x1660a4(0x2cb)]('id',{'type':_0x9e9eba['fmfiS'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x1eb7c5=>{const _0x347ed2=_0x222b8f;await _0x9e9eba['GpxWB'](withTelemetry,_0x347ed2(0x1d8),()=>featureAddScenario(_0x1eb7c5['description'],_0x1eb7c5['id']));})[_0x222b8f(0x271)](_0x222b8f(0x2b0),_0x9e9eba['ynJnH'],_0x534d59=>{const _0x12b6b1=_0x222b8f;return _0x534d59['positional'](_0x12b6b1(0x27b),{'type':_0x12b6b1(0x27a),'description':_0x9e9eba['RWLYp'],'demandOption':!![]})['option'](_0x9e9eba['vvLIZ'],{'type':_0x9e9eba[_0x12b6b1(0x1e5)],'description':_0x12b6b1(0x1ba),'demandOption':!![]})[_0x12b6b1(0x2cb)]('id',{'type':_0x9e9eba['fmfiS'],'description':_0x9e9eba[_0x12b6b1(0x1fc)]});},async _0xcf2809=>{const _0x371df6=_0x222b8f;await _0x9e9eba[_0x371df6(0x246)](withTelemetry,'edit-scenario',()=>featureEditScenario(_0xcf2809[_0x371df6(0x27b)],{'id':_0xcf2809['id'],'scenario':_0xcf2809['scenario']}));})['command'](_0x9e9eba['FUSLC'],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x12cffd=>{const _0x55fe93=_0x222b8f;return _0x12cffd[_0x55fe93(0x1cf)]('id',{'type':_0x9e9eba['fmfiS'],'description':_0x9e9eba['Htdpn']})['option']('exclude-scenario',{'type':_0x9e9eba['etGmD'],'description':_0x55fe93(0x283)})['option'](_0x9e9eba[_0x55fe93(0x2a7)],{'type':_0x9e9eba['AsvKF'],'description':_0x55fe93(0x1e3),'default':![]});},async _0x2c81f5=>{const _0xc1c16f=_0x222b8f,_0x48c3ba=_0x2c81f5['exclude-scenario'],_0x49c1f2=_0x48c3ba?_0x48c3ba['map'](_0x5d139f=>Number(_0x5d139f)):undefined;await withTelemetry('report',()=>featureReportPrDescription(_0x2c81f5['id'],{'excludeScenarios':_0x49c1f2,'json':_0x2c81f5[_0xc1c16f(0x289)]}));})[_0x222b8f(0x271)](_0x222b8f(0x2a2),_0x9e9eba['vUlnZ'],_0x5418ed=>{const _0xd1613=_0x222b8f;return _0x5418ed[_0xd1613(0x1cf)]('id',{'type':_0x9e9eba['fmfiS'],'description':_0xd1613(0x218)});},async _0x589916=>{const _0x75cacb=_0x222b8f;await _0x9e9eba[_0x75cacb(0x1f0)](withTelemetry,_0x75cacb(0x244),()=>featureGetReview(_0x589916['id']));})[_0x222b8f(0x271)](_0x9e9eba[_0x222b8f(0x1fe)],_0x9e9eba[_0x222b8f(0x30d)],_0x11db0a=>{const _0x394a0a=_0x222b8f;return _0x11db0a['positional']('id',{'type':_0x9e9eba[_0x394a0a(0x2e8)],'description':_0x9e9eba['Htdpn']});},async _0x24c7be=>{await withTelemetry('delete',()=>featureDelete(_0x24c7be['id']));})['command'](_0x9e9eba[_0x222b8f(0x1b5)],_0x9e9eba[_0x222b8f(0x2bf)],_0x409302=>{const _0x461b48=_0x222b8f;return _0x409302[_0x461b48(0x1cf)]('id',{'type':_0x9e9eba['fmfiS'],'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x22bd36=>{const _0x512eda=_0x222b8f;await withTelemetry(_0x9e9eba[_0x512eda(0x1f2)],()=>featureRestore(_0x22bd36['id']));})[_0x222b8f(0x271)](_0x222b8f(0x277),_0x222b8f(0x1b4),_0x900fa4=>{const _0x1fb544=_0x222b8f,_0x45d483={'AVUWK':'string','Mlkuy':_0x1fb544(0x236),'TIKpX':'Skip\x20authentication','AJtpR':_0x9e9eba[_0x1fb544(0x300)],'iWesx':_0x9e9eba['AsvKF'],'poCRp':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','qpdfy':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','SossW':'opencode','XJTSo':_0x9e9eba[_0x1fb544(0x329)],'RqWOP':_0x9e9eba[_0x1fb544(0x2de)],'vUrYf':_0x1fb544(0x1b2),'kJVbN':_0x1fb544(0x1e9),'Qqgnt':function(_0x1609c4,_0x559c7d,_0x5a8959){const _0x23fd08=_0x1fb544;return _0x9e9eba[_0x23fd08(0x1f0)](_0x1609c4,_0x559c7d,_0x5a8959);},'qEzRR':function(_0x4f9456,_0x160816,_0x2978db){return _0x4f9456(_0x160816,_0x2978db);},'jsruS':_0x9e9eba[_0x1fb544(0x259)],'mLrHq':_0x9e9eba[_0x1fb544(0x2ca)],'EVetv':_0x9e9eba['Faiib'],'oAFnT':'setup:skills','akBdA':_0x1fb544(0x21b),'AcGAx':function(_0x527e0b,_0x40dfdf){return _0x527e0b!==_0x40dfdf;},'oshqg':function(_0xc9f96f,_0x4f3a1f){const _0x391bcd=_0x1fb544;return _0x9e9eba[_0x391bcd(0x1a8)](_0xc9f96f,_0x4f3a1f);},'pqzhz':function(_0x3c4518,_0x43e1c3,_0x31125b){return _0x9e9eba['tVcLU'](_0x3c4518,_0x43e1c3,_0x31125b);},'jwtLt':_0x9e9eba['owElY']};return _0x900fa4[_0x1fb544(0x33a)]('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'](_0x1fb544(0x1c4),{'type':'string','description':_0x1fb544(0x352)})[_0x1fb544(0x271)]('all','Run\x20full\x20interactive\x20setup',_0x1910b5=>{const _0x31a1bf=_0x1fb544;return _0x1910b5[_0x31a1bf(0x2cb)](_0x31a1bf(0x307),{'type':_0x45d483['AVUWK'],'description':_0x31a1bf(0x239)})[_0x31a1bf(0x2cb)](_0x45d483['Mlkuy'],{'type':_0x31a1bf(0x2e6),'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x31a1bf(0x2cb)]('skip-auth',{'type':'boolean','description':_0x45d483['TIKpX'],'default':![]})[_0x31a1bf(0x2cb)](_0x45d483['AJtpR'],{'type':_0x45d483[_0x31a1bf(0x1c0)],'description':_0x31a1bf(0x1cd),'default':![]})['option'](_0x31a1bf(0x1de),{'type':_0x31a1bf(0x27a),'choices':['user'],'hidden':!![],'description':_0x31a1bf(0x346)})['option']('url',{'type':'string','description':_0x45d483['poCRp']})[_0x31a1bf(0x2cb)]('force',{'type':_0x45d483[_0x31a1bf(0x1c0)],'description':_0x45d483['qpdfy'],'default':![]})['option'](_0x45d483['SossW'],{'type':_0x45d483[_0x31a1bf(0x1c0)],'description':_0x45d483['XJTSo'],'default':![]})[_0x31a1bf(0x2cb)](_0x31a1bf(0x285),{'type':_0x45d483[_0x31a1bf(0x1c0)],'description':_0x45d483[_0x31a1bf(0x254)],'default':![]})[_0x31a1bf(0x2cb)](_0x31a1bf(0x1e9),{'type':'boolean','description':_0x45d483['vUrYf'],'default':![]})['option'](_0x31a1bf(0x2d9),{'type':_0x31a1bf(0x2e6),'description':_0x31a1bf(0x354),'default':![]});},async _0x404e5a=>{const _0x427704=_0x1fb544;(_0x404e5a[_0x45d483[_0x427704(0x223)]]||_0x404e5a[_0x427704(0x2d9)])&&await withTelemetry(_0x427704(0x1e9),()=>mcpBootstrap()),await _0x45d483[_0x427704(0x291)](withTelemetry,_0x427704(0x209),_0x3a6327=>start(_0x404e5a['token'],{'skipChromium':_0x404e5a[_0x427704(0x236)],'skipAuth':_0x404e5a['skip-auth'],'withDeps':_0x404e5a[_0x427704(0x2c2)],'scope':_0x404e5a[_0x427704(0x1de)],'url':_0x404e5a['url'],'force':_0x404e5a['force'],'opencode':_0x404e5a[_0x427704(0x19b)],'allowInsecureLocalhost':_0x404e5a[_0x427704(0x285)]},_0x3a6327));})[_0x1fb544(0x271)](_0x1fb544(0x357),_0x9e9eba[_0x1fb544(0x1e2)],_0x197055=>{const _0x100fc7=_0x1fb544;return _0x197055[_0x100fc7(0x2cb)](_0x100fc7(0x2c2),{'type':_0x100fc7(0x2e6),'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]});},async _0x3780eb=>{await _0x45d483['qEzRR'](withTelemetry,_0x45d483['jsruS'],()=>ensureChromium(_0x3780eb['with-deps']));})['command'](_0x1fb544(0x265),'Authenticate\x20with\x20Ranger',_0x562fc7=>{const _0x588683=_0x1fb544;return _0x562fc7[_0x588683(0x2cb)](_0x588683(0x307),{'type':_0x9e9eba[_0x588683(0x2e8)],'description':_0x9e9eba[_0x588683(0x1da)]})['option'](_0x588683(0x2d9),{'type':_0x588683(0x2e6),'description':_0x9e9eba[_0x588683(0x344)],'default':![]});},async _0x385118=>{const _0x251d1c={'BPWZI':function(_0x402355,_0x337f08){return _0x9e9eba['vwHpG'](_0x402355,_0x337f08);}};await withTelemetry('setup:login',async()=>{const _0x5eb9fd=_0x4e73;if(_0x385118['mcp']){await mcpBootstrap();const _0x19fe34=await refreshCliToken();if(!_0x19fe34)throw new Error('Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.');const _0x36e111=await _0x251d1c['BPWZI'](getCurrentUser,_0x19fe34);if(!_0x36e111['success'])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x36e111['error']);console['log']('✓\x20Authenticated\x20to\x20'+_0x36e111[_0x5eb9fd(0x2f4)][_0x5eb9fd(0x1c9)]);return;}await _0x251d1c[_0x5eb9fd(0x1c8)](authenticate,_0x385118['token']);});})['command'](_0x9e9eba['OXEAx'],'Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x52b356=>{const _0x6fd2de=_0x1fb544;return _0x52b356['option'](_0x45d483[_0x6fd2de(0x1f6)],{'type':_0x45d483[_0x6fd2de(0x356)],'choices':['user',_0x6fd2de(0x206)],'description':_0x45d483['EVetv']})['option'](_0x45d483[_0x6fd2de(0x1c7)],{'type':'boolean','description':_0x6fd2de(0x19e),'default':![]});},async _0x4335b1=>{const _0x1626c6={'Krfkq':function(_0x3d11ea,_0x96b19f){return _0x3d11ea(_0x96b19f);},'gWZRv':function(_0x42e196,_0x2e620f,_0x5bffca){return _0x42e196(_0x2e620f,_0x5bffca);},'jCmRo':'opencode'};await withTelemetry(_0x45d483['oAFnT'],async()=>{const _0x30ee2b=_0x4e73,_0x5b071f=_0x4335b1['scope'];if(_0x4335b1['opencode']){const _0x29fe87=await _0x1626c6['Krfkq'](ensureOpencodePluginConfig,_0x5b071f);_0x29fe87&&await _0x1626c6[_0x30ee2b(0x24f)](installSkill,_0x30ee2b(0x1dd),{'level':_0x29fe87['scope'],'cliVersion':getCurrentVersion(),'platform':_0x1626c6[_0x30ee2b(0x2fd)]});}else await ensureClaudePlugin(_0x5b071f),await ensureClaudeSkills(_0x5b071f);});})['command']('profiles',_0x1fb544(0x343),_0x33b90a=>{const _0x390295=_0x1fb544;return _0x33b90a[_0x390295(0x2cb)]('scope',{'type':_0x45d483['AVUWK'],'choices':[_0x390295(0x2f4)],'description':_0x390295(0x346)})[_0x390295(0x2cb)](_0x390295(0x2ff),{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app'})['option'](_0x390295(0x286),{'type':'boolean','description':_0x45d483[_0x390295(0x257)],'default':![]})[_0x390295(0x2cb)]('force',{'type':_0x45d483[_0x390295(0x1c0)],'description':_0x45d483[_0x390295(0x292)],'default':![]})['option']('allow-insecure-localhost',{'type':_0x45d483['iWesx'],'description':_0x45d483['RqWOP'],'default':![]});},async _0x3dd7f4=>{const _0x1fde0c=_0x1fb544,_0x9f0600=_0x3dd7f4['scope'];_0x45d483[_0x1fde0c(0x1f8)](_0x9f0600,undefined)&&_0x9f0600!==_0x1fde0c(0x2f4)&&(console['error'](_0x45d483[_0x1fde0c(0x29d)]('ranger\x20setup\x20profiles\x20--scope='+_0x9f0600+_0x1fde0c(0x241)+'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.')),process[_0x1fde0c(0x2b5)](0x1)),await _0x45d483['pqzhz'](withTelemetry,_0x45d483['jwtLt'],_0x11eaff=>ensureLocalEnv({'url':_0x3dd7f4[_0x1fde0c(0x2ff)],'force':_0x3dd7f4['force'],'allowInsecureLocalhost':_0x3dd7f4[_0x1fde0c(0x285)],'scope':'user'},_0x11eaff));})[_0x1fb544(0x2cb)](_0x9e9eba[_0x1fb544(0x2a0)],{'type':'boolean','description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option']('scope',{'type':'string','choices':[_0x1fb544(0x2f4)],'hidden':!![],'description':_0x9e9eba[_0x1fb544(0x2b1)]})['option'](_0x9e9eba[_0x1fb544(0x274)],{'type':_0x9e9eba[_0x1fb544(0x2e8)],'description':_0x9e9eba['DwjIf']})['option'](_0x9e9eba['vwQmz'],{'type':_0x9e9eba['AsvKF'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x9e9eba['XFNdn'],{'type':_0x9e9eba['AsvKF'],'description':_0x1fb544(0x19e),'default':![]})[_0x1fb544(0x2cb)](_0x1fb544(0x285),{'type':_0x9e9eba[_0x1fb544(0x276)],'description':_0x1fb544(0x205),'default':![]})['option'](_0x9e9eba['PpWrp'],{'type':_0x9e9eba['AsvKF'],'description':_0x9e9eba[_0x1fb544(0x2ea)],'default':![]})['option'](_0x9e9eba['oCjcQ'],{'type':_0x1fb544(0x2e6),'description':_0x9e9eba[_0x1fb544(0x224)],'default':![]})['option'](_0x9e9eba[_0x1fb544(0x300)],{'type':_0x1fb544(0x2e6),'description':_0x9e9eba['duCbL'],'default':![]})['option'](_0x1fb544(0x307),{'type':_0x9e9eba[_0x1fb544(0x2e8)],'hidden':!![],'description':_0x9e9eba['SZQJQ']});},async _0x5d2422=>{const _0x1619e0=_0x222b8f,_0x2a1673=_0x5d2422['tokenOrSubcommand'],_0x5c7a57=_0x5d2422['token']??_0x2a1673;_0x5d2422[_0x9e9eba['PpWrp']]&&await withTelemetry(_0x9e9eba['PpWrp'],()=>mcpBootstrap()),await withTelemetry(_0x9e9eba[_0x1619e0(0x34a)],_0x5e61c3=>start(_0x5c7a57,{'skipChromium':_0x5d2422[_0x1619e0(0x236)],'skipAuth':_0x5d2422['skip-auth'],'withDeps':_0x5d2422[_0x1619e0(0x2c2)],'scope':_0x5d2422['scope'],'url':_0x5d2422[_0x1619e0(0x2ff)],'force':_0x5d2422[_0x1619e0(0x2d6)],'opencode':_0x5d2422[_0x1619e0(0x19b)],'allowInsecureLocalhost':_0x5d2422[_0x1619e0(0x285)]},_0x5e61c3));})[_0x222b8f(0x271)](_0x9e9eba[_0x222b8f(0x35a)],![],_0x189f14=>{const _0x31c36b=_0x222b8f;return _0x189f14['positional'](_0x9e9eba[_0x31c36b(0x297)],{'type':'string','description':_0x9e9eba[_0x31c36b(0x35e)],'demandOption':!![]})['option'](_0x9e9eba['IjLal'],{'type':_0x31c36b(0x27a),'description':_0x9e9eba[_0x31c36b(0x23b)]})['option'](_0x9e9eba[_0x31c36b(0x312)],{'type':_0x9e9eba['fmfiS'],'description':_0x31c36b(0x2c1)})[_0x31c36b(0x2cb)](_0x9e9eba['rCoHU'],{'type':_0x9e9eba[_0x31c36b(0x276)],'description':_0x9e9eba['PqJtw'],'default':![]});},async _0xf76b2d=>{const _0x15002d=_0x222b8f;await withTelemetry(_0x9e9eba[_0x15002d(0x302)],_0x520f64=>setupCi(_0xf76b2d[_0x15002d(0x307)],{'profile':_0xf76b2d[_0x15002d(0x2ba)],'baseUrl':_0xf76b2d[_0x15002d(0x319)],'skipChromium':_0xf76b2d['skip-chromium']},_0x520f64));})['command'](_0x9e9eba[_0x222b8f(0x20c)],_0x222b8f(0x34c),()=>{},async()=>{const _0x491bc7=_0x222b8f;await _0x9e9eba[_0x491bc7(0x1f0)](withTelemetry,'login',()=>login());})['command'](_0x222b8f(0x23c),'Install\x20Ranger\x20skills',_0x10518e=>{const _0x1e7860=_0x222b8f;return _0x10518e['option'](_0x9e9eba['XFNdn'],{'type':_0x9e9eba[_0x1e7860(0x276)],'description':_0x9e9eba['CDrYe'],'default':![]})[_0x1e7860(0x2cb)](_0x1e7860(0x1de),{'type':'string','choices':[_0x1e7860(0x2f4),_0x1e7860(0x206)],'description':'Install\x20scope\x20for\x20skills'});},async _0x4485b4=>{const _0xf6e817=_0x222b8f,_0x360f14=Boolean(_0x4485b4['opencode']);await _0x9e9eba['xurCw'](withTelemetry,_0x9e9eba[_0xf6e817(0x29b)],()=>skillup({'autoInstall':_0x4485b4[_0xf6e817(0x1de)],'platform':_0x360f14?_0xf6e817(0x19b):'claude'}));})['command'](_0x222b8f(0x22c),'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{const _0x7d0f99=_0x222b8f;await _0x9e9eba['BVBGs'](withTelemetry,_0x7d0f99(0x22c),()=>clean());})['command'](['profile',_0x9e9eba['bhlIm']],_0x9e9eba['vuqxU'],_0x1ab3ba=>{const _0x483f3a=_0x222b8f,_0x2e22d7={'RiOVV':_0x9e9eba[_0x483f3a(0x2e8)],'SgGZh':_0x483f3a(0x286),'ODbSt':'boolean','QbcuF':_0x9e9eba[_0x483f3a(0x33d)],'ojDUZ':_0x9e9eba[_0x483f3a(0x2dd)],'LNBzw':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','DRfqO':_0x483f3a(0x285),'ddhou':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','DbdYt':_0x9e9eba['gnqbc'],'BxYKf':'setup-header','BSrJr':_0x483f3a(0x1b3),'eJtfb':_0x9e9eba[_0x483f3a(0x332)],'QMooX':function(_0x4d438a,_0x5b7c1a,_0x293afe){return _0x4d438a(_0x5b7c1a,_0x293afe);},'BHCHV':_0x9e9eba['kfyff'],'jNcyn':_0x9e9eba[_0x483f3a(0x2c6)],'hMnbJ':function(_0x56d37d,_0x335e7c){const _0x15c6ab=_0x483f3a;return _0x9e9eba[_0x15c6ab(0x353)](_0x56d37d,_0x335e7c);},'IdgqO':function(_0x464094,_0x155988){return _0x464094===_0x155988;},'DweqA':'not_configured','fQHvQ':'key','INvqz':_0x483f3a(0x231),'wKUkr':_0x9e9eba[_0x483f3a(0x20e)],'LZMQI':_0x483f3a(0x2ba),'BKZXu':function(_0x5967b9,_0xbfa2c8,_0x1f09ec){const _0x130a0f=_0x483f3a;return _0x9e9eba[_0x130a0f(0x204)](_0x5967b9,_0xbfa2c8,_0x1f09ec);}};return _0x1ab3ba['usage'](PROFILE_HELP)[_0x483f3a(0x271)](_0x9e9eba['KgCbI'],_0x483f3a(0x1c3),_0x40b235=>{const _0x2241a7=_0x483f3a;return _0x40b235[_0x2241a7(0x1cf)](_0x2241a7(0x27e),{'type':_0x2e22d7['RiOVV'],'description':_0x2241a7(0x1dc),'demandOption':!![]})['option']('ci',{'type':'boolean','hidden':!![],'default':![]})['option'](_0x2e22d7[_0x2241a7(0x2be)],{'type':_0x2e22d7[_0x2241a7(0x258)],'description':_0x2e22d7[_0x2241a7(0x1ef)],'default':![]})[_0x2241a7(0x2cb)]('url',{'type':_0x2241a7(0x27a),'description':_0x2e22d7['ojDUZ']})['option']('force',{'type':_0x2241a7(0x2e6),'description':_0x2e22d7[_0x2241a7(0x252)],'default':![]})[_0x2241a7(0x2cb)]('cdp-endpoint',{'type':_0x2e22d7[_0x2241a7(0x1ee)],'description':_0x2241a7(0x251)})[_0x2241a7(0x2cb)](_0x2e22d7[_0x2241a7(0x1ad)],{'type':_0x2e22d7[_0x2241a7(0x258)],'description':_0x2e22d7[_0x2241a7(0x28f)],'default':![]})['option'](_0x2e22d7['DbdYt'],{'type':_0x2e22d7['ODbSt'],'description':_0x2241a7(0x2a1),'default':![]})['option'](_0x2e22d7['BxYKf'],{'type':_0x2e22d7[_0x2241a7(0x1ee)],'array':!![],'description':_0x2241a7(0x1db)})['option'](_0x2241a7(0x1de),{'type':_0x2e22d7['RiOVV'],'choices':[_0x2241a7(0x2f4),'project'],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})[_0x2241a7(0x2cb)]('env',{'type':_0x2241a7(0x27a),'description':_0x2e22d7[_0x2241a7(0x33f)]})[_0x2241a7(0x2cb)](_0x2241a7(0x219),{'type':'boolean','alias':'y','description':_0x2e22d7[_0x2241a7(0x28e)],'default':![]});},async _0x42f379=>{const _0x284549=_0x483f3a;await _0x9e9eba[_0x284549(0x35c)](withTelemetry,_0x284549(0x240),_0x585d28=>addEnv(_0x42f379['profile-name'],{'ci':_0x42f379['ci'],'skipAuth':_0x42f379['skip-auth'],'url':_0x42f379['url'],'force':_0x42f379['force'],'cdpEndpoint':_0x42f379[_0x284549(0x2bc)],'allowInsecureLocalhost':_0x42f379['allow-insecure-localhost'],'safeMode':_0x42f379[_0x284549(0x2df)],'setupHeader':_0x42f379['setup-header'],'scope':_0x42f379['scope'],'authEnv':_0x42f379[_0x284549(0x2d2)],'yes':_0x42f379['yes']},_0x585d28),{'isElectron':_0x9e9eba['nrUpr'](Boolean,_0x42f379[_0x9e9eba[_0x284549(0x24b)]])});})['command'](_0x9e9eba[_0x483f3a(0x32c)],_0x9e9eba[_0x483f3a(0x229)],_0x3b4ec1=>{const _0x156c14=_0x483f3a;return _0x3b4ec1[_0x156c14(0x1cf)]('profile-name',{'type':_0x9e9eba['fmfiS'],'description':_0x156c14(0x28d),'demandOption':!![]});},async _0x897bf1=>{const _0x2cafa8=_0x483f3a;await withTelemetry('profile\x20use',()=>useEnv(_0x897bf1[_0x2cafa8(0x27e)]));})['command']('delete\x20<profile-name>','Delete\x20a\x20cloud\x20profile',_0x2a39ac=>{const _0x506194=_0x483f3a;return _0x2a39ac['positional']('profile-name',{'type':'string','description':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','demandOption':!![]})['option'](_0x506194(0x219),{'type':_0x2e22d7[_0x506194(0x258)],'alias':'y','description':'Skip\x20the\x20deletion\x20confirmation\x20prompt.','default':![]});},async _0x31370b=>{const _0x343aec=_0x483f3a;await _0x2e22d7['QMooX'](withTelemetry,_0x343aec(0x336),()=>deleteProfile(_0x31370b[_0x343aec(0x27e)],{'yes':_0x31370b[_0x343aec(0x219)]}));})['command'](_0x9e9eba[_0x483f3a(0x2d0)],![],_0x3442f7=>{const _0x229bbf=_0x483f3a;return _0x3442f7[_0x229bbf(0x1cf)]('profile',{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x4bea2d=>{const _0x36b5b5=_0x483f3a;await withTelemetry(_0x9e9eba[_0x36b5b5(0x2ec)],()=>authEncrypt(_0x4bea2d[_0x36b5b5(0x2ba)]));})[_0x483f3a(0x271)]('ls',_0x9e9eba[_0x483f3a(0x1d4)],()=>{},async()=>{await withTelemetry(_0x2e22d7['BHCHV'],()=>envList());})[_0x483f3a(0x271)](_0x9e9eba[_0x483f3a(0x1ab)],'Update\x20authentication\x20for\x20an\x20existing\x20profile',_0x29120a=>{const _0x3082da=_0x483f3a;return _0x29120a['positional']('profile-name',{'type':'string','description':'Name\x20of\x20the\x20profile\x20to\x20update','demandOption':!![]})[_0x3082da(0x2cb)]('allow-insecure-localhost',{'type':_0x3082da(0x2e6),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)'})[_0x3082da(0x2cb)](_0x9e9eba[_0x3082da(0x21c)],{'type':_0x9e9eba['AsvKF'],'description':_0x3082da(0x1fb)});},async _0xb9ba13=>{const _0x382003=_0x483f3a;await _0x9e9eba[_0x382003(0x25e)](withTelemetry,_0x9e9eba['nwivO'],_0x4276ab=>updateEnv(_0xb9ba13[_0x382003(0x27e)],_0x4276ab,{'allowInsecureLocalhost':_0xb9ba13[_0x382003(0x285)],'manual':_0xb9ba13[_0x382003(0x335)]}));})[_0x483f3a(0x271)](_0x9e9eba['YegPz'],![],_0x29f0ac=>{const _0x276dee=_0x483f3a;return _0x29f0ac[_0x276dee(0x1cf)](_0x2e22d7['jNcyn'],{'type':_0x276dee(0x27a),'description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0x1d3ae5=>{await withTelemetry(_0x9e9eba['DCiMg'],async()=>{const _0x540474=_0x4e73,_0xb02c75=process['env'][_0x540474(0x328)],_0x8cdb59=process['env'][_0x540474(0x19a)];_0x2e22d7[_0x540474(0x24a)](!_0xb02c75,!_0x8cdb59)&&(console[_0x540474(0x32f)]('Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.'),process['exit'](0x1));const _0x2c4e6e=_0x1d3ae5[_0x540474(0x1e7)],_0x5c0f1c=await serverSideLogin(_0x2c4e6e,{'force':!![]});_0x2e22d7['IdgqO'](_0x5c0f1c[_0x540474(0x2d7)],_0x2e22d7[_0x540474(0x34d)])&&(console[_0x540474(0x32f)](_0x540474(0x1d1)),process['exit'](0x1)),_0x2e22d7['IdgqO'](_0x5c0f1c[_0x540474(0x2d7)],'failed')&&(console['error']('Login\x20failed:\x20'+(_0x5c0f1c['error']??'unknown\x20error')),_0x5c0f1c['test_output']&&console[_0x540474(0x32f)](_0x5c0f1c[_0x540474(0x2d4)]),process[_0x540474(0x2b5)](0x1)),console['log'](_0x540474(0x1a1)+_0x2c4e6e+_0x540474(0x322));});})['command'](_0x9e9eba[_0x483f3a(0x339)],![],_0x4902c8=>{const _0x6d8d23=_0x483f3a;return _0x4902c8['positional'](_0x9e9eba[_0x6d8d23(0x1ca)],{'type':'string','description':_0x9e9eba[_0x6d8d23(0x281)]})['option'](_0x6d8d23(0x261),{'type':_0x9e9eba[_0x6d8d23(0x276)],'description':_0x6d8d23(0x305),'default':![]})[_0x6d8d23(0x2cb)]('dry-run',{'type':_0x9e9eba[_0x6d8d23(0x276)],'description':_0x9e9eba[_0x6d8d23(0x226)],'default':![]})[_0x6d8d23(0x2cb)](_0x9e9eba['ghoRu'],{'type':_0x9e9eba['AsvKF'],'alias':'y','description':_0x6d8d23(0x237),'default':![]})['option'](_0x6d8d23(0x243),{'type':_0x9e9eba['AsvKF'],'description':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','default':![]});},async _0x5c4783=>{const _0x27b5f8=_0x483f3a;await withTelemetry(_0x27b5f8(0x25b),_0x194d58=>migrateProfile({'profileName':_0x5c4783['profile-name'],'all':_0x5c4783['all'],'dryRun':_0x5c4783[_0x27b5f8(0x214)],'yes':_0x5c4783['yes'],'saveCreds':_0x5c4783[_0x27b5f8(0x243)]},_0x194d58));})['command'](_0x9e9eba[_0x483f3a(0x25c)],'Manage\x20profile\x20configuration',_0x47ad0e=>{const _0x4ad30c=_0x483f3a,_0x4405a6={'ARrEX':_0x4ad30c(0x27a),'vKDJU':_0x9e9eba['TJLtV'],'bqyfn':_0x9e9eba[_0x4ad30c(0x2b3)],'pDbuK':_0x4ad30c(0x1b7),'KSCqq':'Config\x20key\x20to\x20remove'};return _0x47ad0e[_0x4ad30c(0x33a)](PROFILE_CONFIG_HELP)[_0x4ad30c(0x271)](_0x9e9eba[_0x4ad30c(0x2f3)],_0x9e9eba['wGDGs'],_0x1058c0=>{const _0x45c2b2=_0x4ad30c;return _0x1058c0['positional'](_0x45c2b2(0x2ba),{'type':'string','description':_0x45c2b2(0x280),'demandOption':!![]})[_0x45c2b2(0x1cf)](_0x2e22d7[_0x45c2b2(0x2a4)],{'type':_0x45c2b2(0x27a),'description':_0x45c2b2(0x361),'demandOption':!![]})[_0x45c2b2(0x1cf)](_0x45c2b2(0x1ea),{'type':_0x2e22d7['RiOVV'],'description':'Config\x20value','demandOption':!![]});},async _0xf91b0f=>{const _0x3084f3=_0x4ad30c;await withTelemetry(_0x2e22d7[_0x3084f3(0x2ab)],()=>configSet(_0xf91b0f['profile'],_0xf91b0f['key'],_0xf91b0f['value']));})['command']('get\x20<profile>\x20<key>',_0x9e9eba['QviXQ'],_0x29a9aa=>{const _0x1ccf23=_0x4ad30c;return _0x29a9aa['positional']('profile',{'type':_0x4405a6[_0x1ccf23(0x2f6)],'description':_0x4405a6[_0x1ccf23(0x347)],'demandOption':!![]})['positional'](_0x4405a6['bqyfn'],{'type':_0x4405a6['ARrEX'],'description':_0x4405a6[_0x1ccf23(0x20b)],'demandOption':!![]});},async _0x3fa4c9=>{const _0x9f1170=_0x4ad30c;await withTelemetry('profile\x20config\x20get',()=>configGet(_0x3fa4c9['profile'],_0x3fa4c9[_0x9f1170(0x1b9)]));})[_0x4ad30c(0x271)]('list\x20<profile>',_0x9e9eba['yDLRB'],_0x26d617=>{const _0x31b278=_0x4ad30c;return _0x26d617[_0x31b278(0x1cf)](_0x31b278(0x2ba),{'type':_0x31b278(0x27a),'description':'Profile\x20name','demandOption':!![]});},async _0x1cf1c4=>{const _0x5f4ddb=_0x4ad30c;await withTelemetry(_0x2e22d7[_0x5f4ddb(0x303)],()=>configList(_0x1cf1c4[_0x5f4ddb(0x2ba)]));})[_0x4ad30c(0x271)]('unset\x20<profile>\x20<key>',_0x9e9eba[_0x4ad30c(0x348)],_0x471349=>{const _0x3f80d3=_0x4ad30c;return _0x471349['positional'](_0x3f80d3(0x2ba),{'type':'string','description':_0x4405a6[_0x3f80d3(0x347)],'demandOption':!![]})[_0x3f80d3(0x1cf)](_0x4405a6['bqyfn'],{'type':_0x4405a6[_0x3f80d3(0x2f6)],'description':_0x4405a6['KSCqq'],'demandOption':!![]});},async _0x30e486=>{const _0x15a052=_0x4ad30c;await _0x2e22d7['QMooX'](withTelemetry,_0x15a052(0x228),()=>configUnset(_0x30e486['profile'],_0x30e486['key']));})['command'](_0x9e9eba['pyHYE'],_0x9e9eba[_0x4ad30c(0x1a4)],_0x371fc6=>{const _0x4715be=_0x4ad30c;return _0x371fc6['positional'](_0x2e22d7['LZMQI'],{'type':_0x4715be(0x27a),'description':'Profile\x20name','demandOption':!![]});},async _0x14fce4=>{const _0x18fc73=_0x4ad30c;await _0x2e22d7['BKZXu'](withTelemetry,_0x18fc73(0x20f),()=>configReset(_0x14fce4['profile']));})['demandCommand'](0x1,_0x9e9eba[_0x4ad30c(0x1f7)]);})[_0x483f3a(0x1bb)](0x1,_0x9e9eba['tIjFM']);})['command'](_0x9e9eba['rhSnZ'],_0x222b8f(0x2a5),()=>{},async()=>{await _0x9e9eba['IzjQP'](withTelemetry,_0x9e9eba['rhSnZ'],()=>status());})[_0x222b8f(0x271)](_0x9e9eba['YLhXf'],_0x222b8f(0x255),()=>{},async()=>{const _0x296548=_0x222b8f;await withTelemetry(_0x296548(0x28a),()=>update());})[_0x222b8f(0x271)]('print-access-token',_0x9e9eba[_0x222b8f(0x210)],()=>{},async()=>{await withTelemetry('print-access-token',async()=>{const _0x2352d0=_0x4e73,_0x1e4385=await getToken();if(!_0x1e4385)throw new Error(_0x9e9eba[_0x2352d0(0x32e)]);console['log'](_0x1e4385);});})['command']('go',_0x9e9eba[_0x222b8f(0x266)],_0x5002b2=>{const _0xc80a06=_0x222b8f;return _0x5002b2['option'](_0x9e9eba[_0xc80a06(0x1bf)],{'type':'string','description':'Optional\x20feature\x20ID'})['option'](_0x9e9eba['IjLal'],{'type':_0x9e9eba[_0xc80a06(0x2e8)],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)'})[_0xc80a06(0x2cb)](_0x9e9eba['KNfIT'],{'type':_0x9e9eba[_0xc80a06(0x2e8)],'description':_0x9e9eba[_0xc80a06(0x351)]})['option'](_0xc80a06(0x282),{'type':_0x9e9eba['fmfiS'],'description':'Start\x20a\x20fresh\x20one-scenario\x20feature\x20review\x20from\x20this\x20text\x20and\x20verify\x20it.\x20To\x20re-verify,\x20use\x20--scenario;\x20to\x20extend\x20the\x20active\x20review,\x20use\x20`ranger\x20add-scenario`.'})['option'](_0xc80a06(0x1e4),{'type':_0x9e9eba[_0xc80a06(0x1e5)],'description':'Scenario\x20index\x20(1-based)'})['option'](_0x9e9eba['Qdgaw'],{'type':_0xc80a06(0x27a),'description':_0x9e9eba[_0xc80a06(0x279)]})['option'](_0xc80a06(0x319),{'type':_0xc80a06(0x27a),'description':_0xc80a06(0x2b8)})['option']('model',{'type':_0x9e9eba[_0xc80a06(0x2e8)],'description':_0x9e9eba[_0xc80a06(0x1ac)]})['option'](_0x9e9eba[_0xc80a06(0x1a3)],{'type':_0x9e9eba['AsvKF'],'description':_0x9e9eba[_0xc80a06(0x19c)],'default':![]})['option'](_0x9e9eba[_0xc80a06(0x355)],{'type':'string','array':!![],'alias':_0xc80a06(0x2fc),'description':_0xc80a06(0x2cf)})['option'](_0xc80a06(0x2c5),{'type':_0xc80a06(0x2e6),'description':_0x9e9eba['sVOeb'],'default':![]})[_0xc80a06(0x2cb)](_0x9e9eba['kUnZY'],{'type':_0x9e9eba[_0xc80a06(0x2e8)],'hidden':!![],'choices':[_0xc80a06(0x2b7),_0x9e9eba[_0xc80a06(0x2c9)],'blocked','failed',_0xc80a06(0x30b)]})['option'](_0xc80a06(0x2d3),{'type':'boolean','hidden':!![]})[_0xc80a06(0x2cb)](_0x9e9eba[_0xc80a06(0x27c)],{'type':'string','description':_0x9e9eba[_0xc80a06(0x33b)]})[_0xc80a06(0x2cb)](_0xc80a06(0x1df),{'type':_0x9e9eba['fmfiS'],'hidden':!![]})[_0xc80a06(0x2cb)](_0x9e9eba['ywEih'],{'type':_0x9e9eba['whZNy'],'hidden':!![]});},async _0x53c1e5=>{await runGoCommand(_0x53c1e5);})['command'](_0x9e9eba[_0x222b8f(0x1e1)],![],_0x51e01d=>{const _0x3a0222=_0x222b8f;return _0x51e01d[_0x3a0222(0x271)]('encrypt\x20<profile>',![],_0x435d33=>{const _0x399acb=_0x3a0222;return _0x435d33[_0x399acb(0x1cf)]('profile',{'type':_0x9e9eba[_0x399acb(0x2e8)],'description':_0x399acb(0x280),'demandOption':!![]});},async _0xcb7375=>{const _0x1bf235=_0x3a0222;warnRenamed('ranger\x20auth\x20encrypt',_0x9e9eba['sWlDV']),await _0x9e9eba['mDnYg'](authEncrypt,_0xcb7375[_0x1bf235(0x2ba)]);})[_0x3a0222(0x1bb)](0x1,_0x9e9eba[_0x3a0222(0x22a)]);},()=>{})[_0x222b8f(0x271)]('start\x20[token]',![],_0x152211=>{const _0x177c93=_0x222b8f;return _0x152211['positional'](_0x9e9eba['hXaDm'],{'type':_0x177c93(0x27a),'description':_0x9e9eba['dBurT']})[_0x177c93(0x2cb)](_0x177c93(0x236),{'type':'boolean','description':_0x9e9eba[_0x177c93(0x2e2)],'default':![]})['option'](_0x9e9eba[_0x177c93(0x2ca)],{'type':_0x9e9eba['fmfiS'],'choices':[_0x177c93(0x2f4)],'hidden':!![],'description':_0x177c93(0x346)})[_0x177c93(0x2cb)](_0x177c93(0x2ff),{'type':_0x9e9eba['fmfiS'],'description':_0x177c93(0x2f8)})[_0x177c93(0x2cb)](_0x177c93(0x2d6),{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x177c93(0x2cb)](_0x9e9eba['oCjcQ'],{'type':_0x9e9eba['AsvKF'],'description':'Skip\x20authentication','default':![]})[_0x177c93(0x2cb)](_0x9e9eba['slBcK'],{'type':_0x177c93(0x2e6),'description':_0x9e9eba[_0x177c93(0x1c2)],'default':![]});},async _0xcbe091=>{const _0x4ded09=_0x222b8f;warnRenamed(_0x9e9eba['NyBWe'],_0x9e9eba[_0x4ded09(0x27d)]),await withTelemetry(_0x9e9eba[_0x4ded09(0x34a)],_0x457740=>start(_0xcbe091[_0x4ded09(0x307)],{'skipChromium':_0xcbe091[_0x4ded09(0x236)],'skipAuth':_0xcbe091['skip-auth'],'withDeps':_0xcbe091[_0x4ded09(0x2c2)],'scope':_0xcbe091[_0x4ded09(0x1de)],'url':_0xcbe091[_0x4ded09(0x2ff)],'force':_0xcbe091['force']},_0x457740));})['command'](_0x222b8f(0x334),![],_0x5d7ee5=>{const _0x33d08d=_0x222b8f;return _0x5d7ee5[_0x33d08d(0x2cb)]('env',{'type':'string','description':_0x9e9eba[_0x33d08d(0x2c8)]})['option'](_0x9e9eba['wdhrC'],{'type':_0x9e9eba['fmfiS'],'description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})[_0x33d08d(0x2cb)](_0x9e9eba[_0x33d08d(0x2e0)],{'type':_0x33d08d(0x362),'description':_0x9e9eba['LDXMn']})[_0x33d08d(0x2cb)](_0x33d08d(0x2ba),{'type':_0x9e9eba[_0x33d08d(0x2e8)],'hidden':!![]})[_0x33d08d(0x2cb)](_0x9e9eba[_0x33d08d(0x269)],{'type':_0x9e9eba[_0x33d08d(0x2e8)],'hidden':!![]})['option'](_0x33d08d(0x1e4),{'type':_0x33d08d(0x362),'hidden':!![]})[_0x33d08d(0x2cb)](_0x9e9eba['Qdgaw'],{'type':_0x9e9eba[_0x33d08d(0x2e8)],'description':_0x9e9eba[_0x33d08d(0x279)]})[_0x33d08d(0x2cb)](_0x33d08d(0x319),{'type':'string','description':_0x9e9eba[_0x33d08d(0x310)]})[_0x33d08d(0x2cb)](_0x33d08d(0x2a3),{'type':_0x9e9eba['fmfiS'],'hidden':!![]})[_0x33d08d(0x2cb)](_0x9e9eba[_0x33d08d(0x1a3)],{'type':_0x9e9eba['AsvKF'],'hidden':!![],'default':![]})[_0x33d08d(0x2cb)]('env-var',{'type':_0x9e9eba[_0x33d08d(0x2e8)],'array':!![],'alias':_0x9e9eba['fqJBO'],'hidden':!![]})[_0x33d08d(0x2cb)](_0x9e9eba['kUnZY'],{'type':_0x33d08d(0x27a),'hidden':!![],'choices':[_0x9e9eba[_0x33d08d(0x32b)],'partial',_0x33d08d(0x2f0),_0x33d08d(0x2a6),_0x33d08d(0x30b)]});},async _0xc590f5=>{const _0x4eb57f=_0x222b8f;await _0x9e9eba[_0x4eb57f(0x204)](runGoCommand,_0xc590f5,!![]);})[_0x222b8f(0x271)](_0x9e9eba[_0x222b8f(0x21a)],![],_0x22f56e=>{const _0x2eafde=_0x222b8f;return _0x22f56e['positional'](_0x2eafde(0x225),{'type':_0x9e9eba[_0x2eafde(0x2e8)],'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x2eafde(0x2cb)]('ci',{'type':'boolean','description':_0x9e9eba['gKTER'],'default':![]})[_0x2eafde(0x2cb)](_0x9e9eba['oCjcQ'],{'type':_0x2eafde(0x2e6),'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]});},async _0x1db6bd=>{const _0x4cdb49=_0x222b8f;_0x9e9eba['GpxWB'](warnRenamed,_0x9e9eba[_0x4cdb49(0x2ce)],_0x9e9eba[_0x4cdb49(0x33e)]),await _0x9e9eba[_0x4cdb49(0x204)](withTelemetry,_0x9e9eba['ZDAyh'],_0x5d0ff3=>addEnv(_0x1db6bd['env-name'],{'ci':_0x1db6bd['ci'],'skipAuth':_0x1db6bd['skip-auth']},_0x5d0ff3));})['command'](_0x222b8f(0x2d5),![],_0x4943ac=>{const _0x66c5b9=_0x222b8f;return _0x4943ac['positional'](_0x9e9eba[_0x66c5b9(0x313)],{'type':'string','description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x10aefd=>{const _0x100c1a=_0x222b8f;_0x9e9eba[_0x100c1a(0x202)](warnRenamed,'ranger\x20use',_0x9e9eba['aBfgs']),await withTelemetry(_0x9e9eba['OSiwW'],()=>useEnv(_0x10aefd['env-name']));})[_0x222b8f(0x271)]('config',![],_0x5691b8=>{const _0x3e0b58=_0x222b8f,_0x2117a4={'rgGdQ':_0x9e9eba[_0x3e0b58(0x27c)],'JEQJq':_0x3e0b58(0x27a),'mksTc':'Environment\x20name','HjhcU':_0x9e9eba['jScwo']};return _0x5691b8[_0x3e0b58(0x271)](_0x9e9eba['guybg'],![],_0x25a8c0=>{const _0x2f4cb9=_0x3e0b58;return _0x25a8c0['positional'](_0x9e9eba[_0x2f4cb9(0x27c)],{'type':_0x9e9eba[_0x2f4cb9(0x2e8)],'description':'Environment\x20name','demandOption':!![]})['positional'](_0x9e9eba[_0x2f4cb9(0x2b3)],{'type':_0x9e9eba[_0x2f4cb9(0x2e8)],'description':_0x2f4cb9(0x361),'demandOption':!![]})['positional'](_0x9e9eba[_0x2f4cb9(0x1ec)],{'type':'string','description':_0x2f4cb9(0x2db),'demandOption':!![]});},async _0x11ece2=>{const _0x2d2de9=_0x3e0b58;warnRenamed(_0x2d2de9(0x331),_0x9e9eba[_0x2d2de9(0x1f5)]),await _0x9e9eba[_0x2d2de9(0x202)](withTelemetry,_0x9e9eba[_0x2d2de9(0x1e0)],()=>configSet(_0x11ece2['env'],_0x11ece2[_0x2d2de9(0x1b9)],_0x11ece2['value']));})[_0x3e0b58(0x271)](_0x3e0b58(0x1e8),![],_0x32ab72=>{const _0x2a3cae=_0x3e0b58;return _0x32ab72[_0x2a3cae(0x1cf)](_0x9e9eba[_0x2a3cae(0x27c)],{'type':'string','description':_0x2a3cae(0x1f1),'demandOption':!![]})[_0x2a3cae(0x1cf)](_0x2a3cae(0x1b9),{'type':_0x9e9eba['fmfiS'],'description':'Config\x20key','demandOption':!![]});},async _0x3b72c9=>{const _0x5cf94f=_0x3e0b58;warnRenamed(_0x9e9eba[_0x5cf94f(0x2a9)],_0x9e9eba['QjNXL']),await withTelemetry(_0x9e9eba[_0x5cf94f(0x26f)],()=>configGet(_0x3b72c9['env'],_0x3b72c9['key']));})[_0x3e0b58(0x271)](_0x3e0b58(0x1f3),![],_0x24e2ad=>{const _0x183d76=_0x3e0b58;return _0x24e2ad[_0x183d76(0x1cf)](_0x2117a4[_0x183d76(0x2f9)],{'type':_0x2117a4[_0x183d76(0x1ae)],'description':_0x2117a4[_0x183d76(0x31f)],'demandOption':!![]});},async _0x1af3fb=>{const _0x386868=_0x3e0b58;_0x9e9eba['EJvFs'](warnRenamed,'ranger\x20config\x20list',_0x9e9eba['IQqLT']),await withTelemetry(_0x9e9eba[_0x386868(0x221)],()=>configList(_0x1af3fb[_0x386868(0x2d2)]));})[_0x3e0b58(0x271)]('unset\x20<env>\x20<key>',![],_0x5354ae=>{const _0x4435f4=_0x3e0b58;return _0x5354ae[_0x4435f4(0x1cf)](_0x9e9eba[_0x4435f4(0x27c)],{'type':'string','description':'Environment\x20name','demandOption':!![]})[_0x4435f4(0x1cf)](_0x9e9eba[_0x4435f4(0x2b3)],{'type':_0x4435f4(0x27a),'description':_0x9e9eba[_0x4435f4(0x315)],'demandOption':!![]});},async _0x55548=>{const _0x3f5446=_0x3e0b58;warnRenamed(_0x3f5446(0x2cc),_0x2117a4['HjhcU']),await withTelemetry(_0x3f5446(0x333),()=>configUnset(_0x55548['env'],_0x55548[_0x3f5446(0x1b9)]));})[_0x3e0b58(0x1bb)](0x1,_0x9e9eba['BUUrx']);})[_0x222b8f(0x271)]('env',![],_0x4b4a37=>{const _0x225027=_0x222b8f,_0x58ec4c={'UDGGR':'env-name','rJBWs':function(_0x405058,_0x24c8e1,_0x35981b){return _0x405058(_0x24c8e1,_0x35981b);},'jjBmf':_0x9e9eba['BOddR'],'mBVYS':'ranger\x20profile\x20update'};return _0x4b4a37[_0x225027(0x271)]('ls',![],()=>{},async()=>{const _0x4408ab=_0x225027;_0x9e9eba[_0x4408ab(0x2af)](warnRenamed,_0x9e9eba['scqTX'],_0x4408ab(0x232)),await withTelemetry(_0x9e9eba[_0x4408ab(0x22f)],()=>envList());})['command']('update\x20<env-name>',![],_0x50c1e4=>{return _0x50c1e4['positional'](_0x58ec4c['UDGGR'],{'type':'string','description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x278d5f=>{const _0x57be5f=_0x225027;_0x58ec4c[_0x57be5f(0x1cc)](warnRenamed,_0x58ec4c[_0x57be5f(0x1eb)],_0x58ec4c['mBVYS']),await withTelemetry('env\x20update',_0x358cc8=>updateEnv(_0x278d5f['env-name'],_0x358cc8));})[_0x225027(0x1bb)](0x1,_0x9e9eba[_0x225027(0x338)]);})['command'](_0x9e9eba['tmgnL'],![],_0x344a28=>{const _0x2dd8d6=_0x222b8f,_0x2c29e6={'ROBIY':function(_0x2e29ae,_0x43b559,_0x1b4066){return _0x2e29ae(_0x43b559,_0x1b4066);},'DdNJN':_0x9e9eba['XETFV'],'xBSke':function(_0x38ea10,_0xeebc8d,_0x1d6010,_0x1d25b9){return _0x9e9eba['VOxeP'](_0x38ea10,_0xeebc8d,_0x1d6010,_0x1d25b9);},'BGNhv':_0x9e9eba[_0x2dd8d6(0x306)],'xdipb':function(_0x135aac,_0xb6ae94,_0x479a1a){return _0x9e9eba['Qlrhg'](_0x135aac,_0xb6ae94,_0x479a1a);},'bmGEL':'feature\x20create','aBBig':_0x9e9eba['tqDne'],'PZUkH':_0x9e9eba[_0x2dd8d6(0x29c)],'ywTYa':function(_0x1fe201,_0x37634c,_0x1bf96f){const _0x8d0562=_0x2dd8d6;return _0x9e9eba[_0x8d0562(0x202)](_0x1fe201,_0x37634c,_0x1bf96f);},'RJUNa':'feature\x20show','YDZmQ':_0x2dd8d6(0x27b),'DQTRR':'string'};return _0x344a28['command'](_0x2dd8d6(0x2ed),![],_0x28f7aa=>{const _0x278ea6=_0x2dd8d6;return _0x28f7aa[_0x278ea6(0x1cf)](_0x9e9eba['oLPuN'],{'type':'string','description':_0x278ea6(0x368),'demandOption':!![]})['option']('description',{'type':_0x278ea6(0x27a),'alias':'d','description':_0x9e9eba['YFQfJ']})[_0x278ea6(0x2cb)](_0x9e9eba[_0x278ea6(0x238)],{'type':_0x278ea6(0x2f5),'alias':'c','description':_0x9e9eba['ABkVC']})[_0x278ea6(0x2cb)](_0x9e9eba[_0x278ea6(0x250)],{'type':_0x9e9eba[_0x278ea6(0x1fa)],'hidden':!![]});},async _0xe104c2=>{const _0x69fe58=_0x2dd8d6;_0x2c29e6[_0x69fe58(0x342)](warnRenamed,'ranger\x20feature\x20create',_0x2c29e6[_0x69fe58(0x31c)]),_0x2c29e6[_0x69fe58(0x211)](warnFlagRenamed,_0x2c29e6['DdNJN'],_0x2c29e6['BGNhv'],'--scenario');const _0x2a8a60=_0xe104c2[_0x69fe58(0x1e4)]||_0xe104c2[_0x69fe58(0x216)];await _0x2c29e6['xdipb'](withTelemetry,_0x2c29e6['bmGEL'],()=>featureCreate(_0xe104c2[_0x69fe58(0x1e7)],{'description':_0xe104c2['description'],'scenarios':_0x2a8a60}));})[_0x2dd8d6(0x271)](_0x9e9eba[_0x2dd8d6(0x222)],![],_0x591dc7=>{const _0xf9089c=_0x2dd8d6;return _0x591dc7['option'](_0x9e9eba['sLcqU'],{'type':_0x9e9eba['AsvKF'],'description':_0xf9089c(0x264)})['option'](_0x9e9eba[_0xf9089c(0x245)],{'type':'number','alias':'l','description':_0xf9089c(0x1be),'default':0xa})[_0xf9089c(0x2cb)](_0x9e9eba[_0xf9089c(0x1f9)],{'type':_0xf9089c(0x362),'alias':'o','description':_0xf9089c(0x233),'default':0x0})['option'](_0x9e9eba[_0xf9089c(0x208)],{'type':_0x9e9eba[_0xf9089c(0x276)],'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x256bf4=>{const _0x2558dc=_0x2dd8d6;warnRenamed(_0x2c29e6[_0x2558dc(0x30c)],_0x2c29e6[_0x2558dc(0x284)]),await _0x2c29e6['xdipb'](withTelemetry,'feature\x20list',()=>featureList({'currentBranch':_0x256bf4[_0x2558dc(0x267)],'limit':_0x256bf4[_0x2558dc(0x34b)],'offset':_0x256bf4[_0x2558dc(0x220)],'includeDeleted':_0x256bf4[_0x2558dc(0x28c)]}));})['command']('show\x20[id]',![],_0x483e06=>{const _0x108e99=_0x2dd8d6;return _0x483e06['positional']('id',{'type':_0x9e9eba[_0x108e99(0x2e8)],'description':_0x108e99(0x207)});},async _0x3e3411=>{const _0x27e0ac=_0x2dd8d6;warnRenamed('ranger\x20feature\x20show',_0x27e0ac(0x1aa)),await _0x2c29e6[_0x27e0ac(0x1d2)](withTelemetry,_0x2c29e6[_0x27e0ac(0x350)],()=>featureShow(_0x3e3411['id']));})[_0x2dd8d6(0x271)](_0x9e9eba['VrzZM'],![],_0x3e9d79=>{const _0x406bd0=_0x2dd8d6;return _0x3e9d79[_0x406bd0(0x1cf)]('id',{'type':_0x406bd0(0x27a),'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x4d57f4=>{const _0x397bf0=_0x2dd8d6;warnRenamed(_0x9e9eba['tjYII'],_0x9e9eba[_0x397bf0(0x230)]),await withTelemetry(_0x9e9eba['XtWMT'],()=>featureResume(_0x4d57f4['id']));})[_0x2dd8d6(0x271)](_0x2dd8d6(0x294),![],_0xc90c1a=>{const _0x5db96e=_0x2dd8d6;return _0xc90c1a['positional'](_0x2c29e6[_0x5db96e(0x296)],{'type':_0x2c29e6[_0x5db96e(0x2e7)],'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':_0x2c29e6[_0x5db96e(0x2e7)],'description':_0x5db96e(0x218)});},async _0x5add5b=>{const _0x2fbf82=_0x2dd8d6;warnRenamed(_0x9e9eba[_0x2fbf82(0x2da)],_0x2fbf82(0x249)),await _0x9e9eba['nmrdD'](withTelemetry,'feature\x20add-checklist-item',()=>featureAddScenario(_0x5add5b[_0x2fbf82(0x27b)],_0x5add5b['id']));})[_0x2dd8d6(0x271)](_0x9e9eba[_0x2dd8d6(0x2ee)],![],_0x4bdc0b=>{return _0x4bdc0b['positional']('id',{'type':_0x2c29e6['DQTRR'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x2ffbaa=>{const _0x366e3b=_0x2dd8d6;_0x9e9eba['EJvFs'](warnRenamed,_0x9e9eba[_0x366e3b(0x25f)],'ranger\x20get-review'),await _0x9e9eba[_0x366e3b(0x1ff)](withTelemetry,_0x9e9eba[_0x366e3b(0x2dc)],()=>featureGetReview(_0x2ffbaa['id']));})[_0x2dd8d6(0x271)](_0x9e9eba['zrhNH'],![],_0x2b3df4=>{const _0x38dbaf=_0x2dd8d6;return _0x2b3df4['positional']('id',{'type':'string','description':_0x38dbaf(0x207)});},async _0x29a35b=>{const _0x19fca1=_0x2dd8d6;warnRenamed(_0x9e9eba['tdObb'],'ranger\x20delete'),await _0x9e9eba[_0x19fca1(0x32a)](withTelemetry,_0x19fca1(0x23a),()=>featureDelete(_0x29a35b['id']));})[_0x2dd8d6(0x271)](_0x2dd8d6(0x26d),![],_0x4df27e=>{const _0x12d064=_0x2dd8d6;return _0x4df27e[_0x12d064(0x1cf)]('id',{'type':'string','description':_0x12d064(0x2c0),'demandOption':!![]});},async _0x4d4acf=>{const _0x396eda=_0x2dd8d6;warnRenamed(_0x9e9eba[_0x396eda(0x1a9)],_0x396eda(0x327)),await _0x9e9eba['IzjQP'](withTelemetry,_0x9e9eba[_0x396eda(0x2c4)],()=>featureRestore(_0x4d4acf['id']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})[_0x222b8f(0x271)]('hook',![],_0x1e10d1=>{const _0x26d523=_0x222b8f,_0x53fa7b={'MurXd':_0x9e9eba['jZttS']};return _0x1e10d1['command'](_0x26d523(0x1d0),_0x26d523(0x2c3),_0x3568b4=>{const _0x58aa5a=_0x26d523;return _0x3568b4['option']('session-id',{'type':'string','description':_0x53fa7b[_0x58aa5a(0x275)]});},async _0x309e47=>{await withTelemetry('hook:enable',()=>hook('enable',_0x309e47['session-id']));})['command'](_0x9e9eba[_0x26d523(0x323)],_0x9e9eba[_0x26d523(0x212)],_0x2029c9=>{const _0x15f719=_0x26d523;return _0x2029c9['option'](_0x9e9eba[_0x15f719(0x345)],{'type':_0x9e9eba['fmfiS'],'description':_0x9e9eba[_0x15f719(0x34e)]});},async _0xee9212=>{const _0x4b2b52=_0x26d523;await withTelemetry('hook:disable',()=>hook('disable',_0xee9212[_0x4b2b52(0x2c7)]));})['option'](_0x26d523(0x1e7),{'type':_0x26d523(0x27a),'description':_0x9e9eba['vKjwa']})[_0x26d523(0x2cb)](_0x9e9eba['dyxjG'],{'type':'string','description':_0x9e9eba['jZttS']});},async _0x2b12bd=>{const _0x52b9c3=_0x222b8f;_0x2b12bd[_0x52b9c3(0x1e7)]&&await hook(_0x2b12bd[_0x52b9c3(0x1e7)],_0x2b12bd[_0x52b9c3(0x2c7)]);})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20command')['strictCommands']()[_0x222b8f(0x1ce)](async(_0x2c0fa5,_0x2ce132,_0x3549b9)=>{const _0x411ea7=_0x222b8f,_0xb831f4=_0x9e9eba[_0x411ea7(0x1d7)](sanitizeArgs,process[_0x411ea7(0x2fa)][_0x411ea7(0x2e9)](0x2)),_0xc6f6d=_0x9e9eba[_0x411ea7(0x234)](getErrorType,_0x2c0fa5,_0x2ce132);if(_0x2c0fa5&&_0x2c0fa5[_0x411ea7(0x30e)](_0x411ea7(0x33c))){const _0x4552ab=process['argv'][0x2];console['error'](_0x411ea7(0x2a8)+_0x4552ab),console['error'](_0x9e9eba[_0x411ea7(0x324)]);}else{if(_0x2c0fa5)console[_0x411ea7(0x32f)]('\x0a'+_0x2c0fa5+'\x0a');else _0x2ce132&&console['error']('\x0aError:\x20'+_0x2ce132['message']+'\x0a');}await logDesirePath({'rawCommand':_0xb831f4,'errorMessage':_0x2c0fa5||_0x2ce132?.[_0x411ea7(0x358)],'errorType':_0xc6f6d});const _0x4101f2=_0x9e9eba[_0x411ea7(0x2ac)](getCurrentCollector);_0x4101f2&&await _0x4101f2['trackCommandError'](_0x2ce132||new Error(_0x2c0fa5||'Unknown\x20error')),process['exit'](0x1);})['epilogue'](_0x9e9eba['kLMcU']+_0x222b8f(0x1d9)+_0x222b8f(0x1bc))['help']()['alias'](_0x9e9eba[_0x222b8f(0x2d8)],'h');}process['env']['NODE_ENV']!==_0x5cca4c(0x341)&&(shouldShowLegacyWarning(process[_0x5cca4c(0x2fa)])&&showLegacyDeprecationWarning(),buildParser()['parse']());
2
+ const _0x4034eb=_0x1347;(function(_0x2eaf87,_0x5f25f6){const _0x14c4cb=_0x1347,_0x53f29b=_0x2eaf87();while(!![]){try{const _0x3873c7=-parseInt(_0x14c4cb(0x92))/0x1*(-parseInt(_0x14c4cb(0x1b4))/0x2)+-parseInt(_0x14c4cb(0x1f4))/0x3*(-parseInt(_0x14c4cb(0x1a2))/0x4)+parseInt(_0x14c4cb(0xa9))/0x5+parseInt(_0x14c4cb(0x165))/0x6+-parseInt(_0x14c4cb(0xb2))/0x7*(parseInt(_0x14c4cb(0x209))/0x8)+-parseInt(_0x14c4cb(0x182))/0x9+-parseInt(_0x14c4cb(0x16f))/0xa*(parseInt(_0x14c4cb(0xd9))/0xb);if(_0x3873c7===_0x5f25f6)break;else _0x53f29b['push'](_0x53f29b['shift']());}catch(_0xacef6c){_0x53f29b['push'](_0x53f29b['shift']());}}}(_0x1343,0xdd956));import _0x411501 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x1a28c9=_0x1347,_0x47c255={'kkrWv':function(_0x105bf2,_0x39fe50){return _0x105bf2!==_0x39fe50;},'JnvVl':function(_0x45ae41,_0x264e52){return _0x45ae41(_0x264e52);},'qUJWv':function(_0x42d4a7,_0x4092b8,_0x4b14fc){return _0x42d4a7(_0x4092b8,_0x4b14fc);},'krLiM':_0x1a28c9(0x17f)};let _0x487870=process[_0x1a28c9(0x180)]();const _0x4d2006=parse(_0x487870)['root'];while(_0x47c255[_0x1a28c9(0x153)](_0x487870,_0x4d2006)){if(existsSync(join(_0x487870,'.ranger'))||_0x47c255[_0x1a28c9(0x194)](existsSync,_0x47c255[_0x1a28c9(0x1fe)](join,_0x487870,_0x47c255[_0x1a28c9(0x1a1)])))return _0x487870;_0x487870=dirname(_0x487870);}return process['cwd']();}_0x411501['config']({'path':join(findProjectRoot(),'.env')});import _0x2712f3 from'yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';function _0x1347(_0x530abd,_0xbdd8a0){_0x530abd=_0x530abd-0x84;const _0x134336=_0x1343();let _0x1347f0=_0x134336[_0x530abd];return _0x1347f0;}import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x27abd9=>{const _0xd68d04=_0x1347,_0x500ae3=getCurrentCollector();_0x500ae3&&await _0x500ae3['trackCommandError'](_0x27abd9),process[_0xd68d04(0x124)]=0x1;});const rawArgs=process['argv'][_0x4034eb(0x213)](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP=_0x4034eb(0x15f),PROFILE_CONFIG_HELP=_0x4034eb(0x10c);function warnRenamed(_0x58abb3,_0x1cd297){console['error']('\x0a'+_0x58abb3+'\x20is\x20now\x20'+_0x1cd297+'\x0a');}function argUsed(_0x58b952){const _0x2e7ccd=_0x4034eb;return rawArgs[_0x2e7ccd(0x1c1)](_0x26b9e8=>_0x26b9e8===_0x58b952||_0x26b9e8[_0x2e7ccd(0xbe)](_0x58b952+'='));}function _0x1343(){const _0x9e0a13=['Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.','reset\x20<profile>','plSwS','checklist','blocked','pAMse','fpEIk','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','scope','evaluation','nPUMK','Qdszl','WbzNl','QQffE','usage','ranger\x20profile\x20config\x20list','33nIJwze','command','MaqTs','cnQHs','Ranger\x20API\x20token\x20(rngr_...)','set\x20<env>\x20<key>\x20<value>','ranger\x20feature\x20create','TrvAS','HQpJn','mbAaY','mXLpp','dFVbv','item','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','yes','ranger\x20config\x20get','add-scenario\x20<description>','save-creds','Install\x20scope\x20for\x20plugin\x20and\x20skills','CsKGx','IqRiP','update\x20<profile-name>','TxGek','WJSCZ','Feature\x20review\x20ID','Auth\x20environment\x20key\x20to\x20bind\x20this\x20profile\x20to\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Bypasses\x20URL-based\x20matching;\x20required\x20for\x20bare-localhost\x20custom\x20ports.','KuFdh','Install\x20Chromium\x20browser\x20binary','ranger\x20config\x20list','fywey','Unknown\x20error','verBf','qlKKD','KbyRC','limit','gwPTD','WhrhK','summary','use\x20<env-name>','ranger\x20feature\x20add-checklist-item','boolean','mduOy','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','wuIow','OhLAS','url','iQTNB','array','dQvki','Skip\x20authentication','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201','task','ENjcu','YIZWM','cdp-endpoint','You\x20must\x20specify\x20a\x20command','token','message','ranger\x20profile\x20use','flatMap','iFeSH','EGRWJ','qIwCe','create\x20<name>','SQUfL','unknown\x20error','number','ExygU','QmSxw','RANGER_AUTH_ENV','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','gWEXD','VsvLt','EjHQw','exitCode','ranger\x20add\x20env','Feature\x20review\x20description','ranger\x20setup','ranger\x20create','Evaluation:\x20','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','resume\x20[id]','MIPQn','setup:skills','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','Optional\x20feature\x20ID','xufYD','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','Hziqh','YBZWz','kBYYP','VZnVC','ymvOx','GQqwZ','get\x20<env>\x20<key>','wHTrm','ranger\x20verify-feature','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','ranger\x20profile\x20update','exit','Scenario\x20description','ZxxNo','list','gTahi','safe-mode','length','ranger\x20auth\x20encrypt','feature\x20get-feedback','with-deps','MUyzh','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','isArray','setup\x20[tokenOrSubcommand]','env\x20update','ibFPH','edit-scenario','mxgbd','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','gfGcA','CbCyd','get-review\x20[id]','kkrWv','\x0aIssues:','RbWVd','opencode','HOamF','\x20FAILED','set\x20<profile>\x20<key>\x20<value>','cbEIk','skip-chromium','qLnyZ','includes','environment-variable','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201','key','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','force','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','10816698sziLlI','NzDUg','profile\x20config\x20reset','profile\x20config\x20list','offset','dgCHE','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','broZg','List\x20all\x20feature\x20reviews','string','6148370IDPPVz','Feature\x20review\x20ID\x20to\x20restore','migrate\x20[profile-name]','env-var','profile\x20ls','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','exclude-scenario','zjBXz','BejVL','aZgAk','Alias\x20for\x20--mcp-bootstrap','vyZur','QVjIk','add\x20env','zjhKR','awUbA','.env','cwd','EdROQ','12654612goSJbW','hWXPh','✓\x20Authenticated\x20to\x20','Restore\x20a\x20soft-deleted\x20feature\x20review','positional','nsdUl','eShkB','Switch\x20to\x20using\x20a\x20specific\x20profile','BHMtw','all','filter','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','aTXtz','ranger\x20resume','severity','log','LXDMR','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','JnvVl','Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','Hvyag','scenario','CNLAI','Initialize\x20Ranger\x20in\x20your\x20project','ranger\x20show','Add\x20profile\x20configuration','KPHLO','EQZEF','playwright-cli','Get\x20a\x20config\x20value','profile\x20update','krLiM','420dfkpaC','repeat','nnMSg','XsFXS','ddLad','feature','\x20VERIFIED','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','TwmiY','MGdoO','auth','ifEwN','QyXvn','feature\x20restore','RZghZ','enable','Delete\x20a\x20cloud\x20profile','lJDTe','2942wpOjfP','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','zDqyj','ZacxR','Skip\x20browser\x20authentication','Name\x20of\x20the\x20profile','mcp-bootstrap','rDEeS','tCLug','odROj','ranger\x20config\x20unset','xoQHf','dBJQh','some','BvVaS','YaAyN','\x0aUnknown\x20command:\x20','profile\x20migrate','RANGER_TEST_PASSWORD','ranger\x20feature\x20list','show','--checklist','esnhg','wSsBX','JaqwF','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','racFC','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','config\x20get','split','LrdZI','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','OPkjv','feature\x20add-checklist-item','laCVR','wioxG','kJtAn','ranger\x20env\x20ls','skip-auth','ranger\x20setup\x20profiles\x20--scope=','qEHWB','debug-address-comments','allow-url-mismatch','yYQcZ','Profile\x20name','UoOyN','wXxpN','ranger\x20go','mzGGm','profile\x20use','NixGj','dry-run','Ciwjm','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','QejfV','restore','config\x20list','Config\x20key','WagFE','help','LOFAz','bSkjn','Authenticate\x20via\x20MCP\x20proxy','CALdz','25875tkWbnA','manual','incomplete','wdcsh','add-checklist-item\x20<description>','user','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Proceed\x20even\x20when\x20the\x20selected\x20scenario\x20names\x20a\x20URL\x20on\x20a\x20different\x20origin\x20than\x20the\x20resolved\x20target','ranger\x20profile\x20config\x20set','vUhow','qUJWv','version','HVxCm','hTnIs','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','get-feedback\x20[id]','NGHVG','env-name','eyxQY','lzela','QLLLl','342040Swahiw','verified','--scenario','bVRFd','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','yGsjF','session-id','error','LKtya','restore\x20<id>','slice','Ranger\x20API\x20token','Feature\x20review\x20name','JqkfO','fErha','BeTnI','feature\x20delete','env','show\x20[id]','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','zHcDl','scriptName','map','zGUYw','VbccM','delete','BAaei','Set\x20a\x20config\x20value','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','WywXF','kqFdS','base-url','zoktx','fail','Config\x20key\x20to\x20remove','ranger\x20start','qhQhY','headed','TZTpA','start-path','lWvyw','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','Base\x20URL\x20of\x20the\x20running\x20app','Authenticate\x20with\x20Ranger','Include\x20soft-deleted\x20feature\x20reviews','You\x20must\x20specify\x20an\x20auth\x20subcommand','YHfIk','model','NUdUi','delete\x20<profile-name>','report','create','Number\x20of\x20feature\x20reviews\x20to\x20skip','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','debug-outcome','ranger\x20feature\x20get-feedback','json','PVqya','nLjCb','peMlW','profile-name','profile\x20encrypt-auth','WGjyT','check','Install\x20scope\x20for\x20skills','profile','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','bYrvH','demandCommand','Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level','test_output','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','CEeII','hook:disable','BlUXw','value','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','aXdtI','description','786CTSAuB','bSksX','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','rWUnl','JqHQC','partial','Environment\x20name','JJRpQ','update','BGxVN','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','fGDNq','zbmvE','MfltD','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','nXmWO','Reason:\x20','yOliS','Ddnjn','rSKxf','alias','NEBWs','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','4674480WDRkzh','Skip\x20interactive\x20confirmation\x20prompts.','mcp','name','update\x20<env-name>','profile\x20login','OKcoq','Skip\x20the\x20deletion\x20confirmation\x20prompt.','vMbFQ','105vmyivr','qbHmy','allow-insecure-localhost','jzKMm','xkdZw','current-branch','include-deleted','bzETY','bpMAb','Skip\x20Chromium\x20browser\x20installation','config\x20unset','vlZrM','startsWith','tCZYF','setup:all','DdvyZ','OkbpR','failed','ranger','status','option','qcSYb','jAnIR'];_0x1343=function(){return _0x9e0a13;};return _0x1343();}function warnFlagRenamed(_0x59ed0d,_0x5f119d,_0x35302a){const _0x270938=_0x4034eb,_0x331eff={'HVxCm':function(_0xa2487,_0x443db4,_0x56bf1b){return _0xa2487(_0x443db4,_0x56bf1b);}};argUsed(_0x5f119d)&&_0x331eff[_0x270938(0x200)](warnRenamed,_0x59ed0d+'\x20'+_0x5f119d,_0x59ed0d+'\x20'+_0x35302a);}function normalizeEnvVarNames(_0x51c038){const _0x2e9c2a=_0x4034eb,_0x141457=Array[_0x2e9c2a(0x149)](_0x51c038)?_0x51c038:_0x51c038?[_0x51c038]:[];return _0x141457[_0x2e9c2a(0x115)](_0x2eb984=>String(_0x2eb984)[_0x2e9c2a(0x1d1)](',')['map'](_0x303cc=>_0x303cc['trim']())[_0x2e9c2a(0x18c)](Boolean));}async function runGoCommand(_0x5be639,_0x8ef246=![]){const _0x5a43a8=_0x4034eb,_0x583f5c={'qIwCe':function(_0x3f6502,_0x3d1c89,_0x46c4d1){return _0x3f6502(_0x3d1c89,_0x46c4d1);},'SLgyA':_0x5a43a8(0x13a),'hWXPh':function(_0x21de7f,_0x12f214,_0x272720,_0x7f95d2){return _0x21de7f(_0x12f214,_0x272720,_0x7f95d2);},'NixGj':_0x5a43a8(0x1e3),'odROj':'--scenario','BejVL':function(_0x194458){return _0x194458();},'NzDUg':function(_0x144091){return _0x144091();},'YaAyN':function(_0x1f5eaf,_0x3ca0bc){return _0x1f5eaf(_0x3ca0bc);},'CZZNb':function(_0x5ed834,_0x17d0e8){return _0x5ed834!==_0x17d0e8;},'OhLAS':_0x5a43a8(0x19e),'pDtwC':'rangerwright-cli','XRrSi':'start-path','bSkjn':'base-url','nPUMK':'debug-address-comments','sqvuO':function(_0x4cc9d3,_0x27da77){return _0x4cc9d3+_0x27da77;},'dgCHE':function(_0x5f5653,_0x37a557){return _0x5f5653===_0x37a557;},'lWvyw':'verified','oMlpY':_0x5a43a8(0xcd),'HqtbM':'\x20BLOCKED','vyZur':_0x5a43a8(0x158)};_0x8ef246&&(_0x583f5c[_0x5a43a8(0x118)](warnRenamed,_0x583f5c['SLgyA'],_0x5a43a8(0x1e3)),warnFlagRenamed(_0x583f5c['SLgyA'],'--env','--profile'));_0x583f5c[_0x5a43a8(0x183)](warnFlagRenamed,_0x583f5c['NixGj'],'--task','--notes'),warnFlagRenamed(_0x583f5c[_0x5a43a8(0x1e6)],'--item',_0x583f5c[_0x5a43a8(0x1bd)]);const _0x4cfefc=await _0x583f5c[_0x5a43a8(0x177)](loadRangerConfig),_0x559f11=_0x583f5c[_0x5a43a8(0x166)](isByokEnabled),_0x2048b9=_0x5be639[_0x5a43a8(0x239)],_0x1c841b=_0x4cfefc[_0x5a43a8(0x239)],_0x532907=_0x583f5c[_0x5a43a8(0x1c3)](normalizeEnvVarNames,_0x5be639[_0x5a43a8(0x172)]),_0x423b1b=getVerificationTransport();if(_0x532907[_0x5a43a8(0x143)]>0x0&&_0x583f5c['CZZNb'](_0x423b1b,_0x583f5c[_0x5a43a8(0x105)])&&_0x423b1b!==_0x583f5c['pDtwC'])throw new Error('The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20'+_0x423b1b+'.');const _0x4b102e=await verifyFeature({'featureId':_0x5be639[_0x5a43a8(0x1a7)],'profile':_0x5be639[_0x5a43a8(0x24b)]??(_0x8ef246?_0x5be639['env']:undefined)??process['env']['RANGER_PROFILE'],'authEnv':_0x8ef246?undefined:_0x5be639[_0x5a43a8(0x21a)]??process['env'][_0x5a43a8(0x11f)],'notes':_0x5be639['notes']??_0x5be639[_0x5a43a8(0x10d)],'check':_0x5be639['check'],'scenario':_0x5be639[_0x5a43a8(0x197)]??_0x5be639['item'],'startPath':_0x5be639[_0x583f5c['XRrSi']],'baseUrl':_0x5be639[_0x583f5c[_0x5a43a8(0x1f1)]],'debugOutcome':_0x5be639[_0x5a43a8(0x240)],'debugAddressComments':_0x5be639[_0x583f5c[_0x5a43a8(0xd3)]],'headed':_0x5be639[_0x5a43a8(0x22e)],'verifierEnvVars':_0x532907,'allowUrlMismatch':_0x5be639[_0x5a43a8(0x1de)],'byokEnabled':_0x559f11,'flagVerifyModel':_0x2048b9,'configVerifyModel':_0x1c841b});console[_0x5a43a8(0x191)](_0x583f5c['sqvuO']('\x0a','='['repeat'](0x3c))),console[_0x5a43a8(0x191)](_0x583f5c['dgCHE'](_0x4b102e['evaluation'],_0x583f5c[_0x5a43a8(0x231)])?_0x5a43a8(0x1a8):_0x4b102e['evaluation']==='incomplete'?'\x20INCOMPLETE':_0x583f5c[_0x5a43a8(0x16a)](_0x4b102e[_0x5a43a8(0xd2)],'partial')?'\x20PARTIAL':_0x4b102e[_0x5a43a8(0xd2)]===_0x583f5c['oMlpY']?_0x583f5c['HqtbM']:_0x583f5c[_0x5a43a8(0x17a)]),console['log']('='[_0x5a43a8(0x1a3)](0x3c)),console['log']('Summary:\x20'+_0x4b102e[_0x5a43a8(0xfe)]),console['log'](_0x5a43a8(0x129)+_0x4b102e[_0x5a43a8(0xd2)]),console['log'](_0x5a43a8(0xa2)+_0x4b102e['evaluationReason']),_0x4b102e['issues']?.[_0x5a43a8(0x143)]&&(console[_0x5a43a8(0x191)](_0x5a43a8(0x154)),_0x4b102e['issues']['forEach']((_0x50d9f3,_0x2deb5d)=>{const _0x2a76d6=_0x5a43a8;console[_0x2a76d6(0x191)]('\x0a'+(_0x2deb5d+0x1)+'.\x20['+_0x50d9f3[_0x2a76d6(0x190)]+']\x20'+_0x50d9f3['description']);})),process['exit'](_0x583f5c['dgCHE'](_0x4b102e['evaluation'],_0x583f5c[_0x5a43a8(0x231)])?0x0:0x1);}export function buildParser(_0x194544){const _0x25a813=_0x4034eb,_0x1b20ca={'iFeSH':_0x25a813(0xac),'EQZEF':_0x25a813(0x215),'zGUYw':_0x25a813(0x91),'NGHVG':'string','bpMAb':_0x25a813(0x108),'jzKMm':function(_0x285310,_0x5abd13){return _0x285310+_0x5abd13;},'JqHQC':_0x25a813(0x128),'qbHmy':_0x25a813(0x20b),'gfGcA':_0x25a813(0x23d),'RbWVd':_0x25a813(0xb7),'JaqwF':_0x25a813(0x101),'awUbA':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','Ciwjm':_0x25a813(0x21c),'qcSYb':_0x25a813(0x23e),'aljjE':_0x25a813(0x236),'xufYD':_0x25a813(0xf1),'YrIoU':_0x25a813(0x1c8),'YHfIk':_0x25a813(0x1e9),'bzETY':function(_0x77f2ef,_0x7b1995,_0xfd6e8b){return _0x77f2ef(_0x7b1995,_0xfd6e8b);},'wioxG':_0x25a813(0x161),'QmSxw':_0x25a813(0x197),'fErha':_0x25a813(0x11c),'dQvki':'Scenario\x20number\x20to\x20edit\x20(1-based)','NUdUi':_0x25a813(0x175),'iQTNB':function(_0x33c55f,_0x3be5ae,_0xae5c96){return _0x33c55f(_0x3be5ae,_0xae5c96);},'qhQhY':_0x25a813(0x23c),'WJSCZ':function(_0x1b1fd5,_0x3adf57,_0x4f8d8c){return _0x1b1fd5(_0x3adf57,_0x4f8d8c);},'MAmit':_0x25a813(0x170),'pAMse':function(_0x1aa270,_0xe1edd2,_0x36544d){return _0x1aa270(_0xe1edd2,_0x36544d);},'WiRRE':_0x25a813(0x1eb),'kBYYP':_0x25a813(0x112),'YBZWz':'Ranger\x20API\x20token','TwmiY':'skip-chromium','YIZWM':'skip-auth','yGsjF':_0x25a813(0x1f9),'laCVR':_0x25a813(0x120),'nLjCb':_0x25a813(0x20d),'kqFdS':'opencode','CbCyd':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','mzGGm':'allow-insecure-localhost','eyxQY':_0x25a813(0x23f),'QVjIk':'mcp','mduOy':_0x25a813(0x179),'mxgbd':'mcp-bootstrap','SKTvE':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','BZrPp':_0x25a813(0xdd),'SSdDa':'setup:login','xkdZw':function(_0x52f955,_0x156232,_0xa200c9){return _0x52f955(_0x156232,_0xa200c9);},'wHTrm':'tokenOrSubcommand','OKcoq':'login','ZlgGy':_0x25a813(0x235),'Ddnjn':'profiles','RfmvG':_0x25a813(0x1cd),'KgICg':_0x25a813(0xd1),'MSWAF':_0x25a813(0x163),'kXxTN':_0x25a813(0x233),'SQUfL':_0x25a813(0x193),'VsvLt':_0x25a813(0x10b),'TxGek':'with-deps','diaIf':function(_0x44fd34,_0xd8bb15,_0x6ed33e){return _0x44fd34(_0xd8bb15,_0x6ed33e);},'OxdHn':_0x25a813(0x232),'HQpJn':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','bNbUQ':_0x25a813(0xbb),'ExygU':'setup-ci','yYQcZ':function(_0x2f675d,_0x45129a,_0x4ee641){return _0x2f675d(_0x45129a,_0x4ee641);},'WdDAU':function(_0x4dc1a4,_0xed5cac,_0x16f250){return _0x4dc1a4(_0xed5cac,_0x16f250);},'ifEwN':_0x25a813(0x1a0),'inpfT':_0x25a813(0x246),'fywey':_0x25a813(0x18b),'rWUnl':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','WbzNl':_0x25a813(0x14f),'WGwuQ':'yes','ZxxNo':function(_0xfd6e94,_0x208394,_0x30301a){return _0xfd6e94(_0x208394,_0x30301a);},'EjHQw':_0x25a813(0x1c5),'GQqwZ':function(_0x4b07f9,_0x2c8bef,_0x2308b0){return _0x4b07f9(_0x2c8bef,_0x2308b0);},'OPkjv':_0x25a813(0x159),'awYUP':_0x25a813(0x224),'PVGUf':_0x25a813(0x19f),'wXxpN':'List\x20all\x20config\x20for\x20a\x20profile','YUbbv':'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','qlKKD':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','UiptL':_0x25a813(0x21a),'TZTpA':_0x25a813(0x9c),'MaqTs':function(_0x14cf03,_0x19e472){return _0x14cf03(_0x19e472);},'bYrvH':function(_0x2132e8,_0x49edd1,_0x18dd93){return _0x2132e8(_0x49edd1,_0x18dd93);},'zQSbP':'profile','nnMSg':_0x25a813(0x1e0),'EGRWJ':_0x25a813(0x160),'pHQgC':'profile\x20config\x20set','xoQHf':'profile\x20config\x20get','tCKix':_0x25a813(0x19b),'SxLNP':_0x25a813(0x23b),'esnhg':_0x25a813(0x1b2),'DdueP':'Update\x20authentication\x20for\x20an\x20existing\x20profile','mXLpp':_0x25a813(0x171),'peMlW':'Manage\x20profile\x20configuration','ARHUJ':'You\x20must\x20specify\x20a\x20profile\x20subcommand','XsFXS':_0x25a813(0xc5),'prCKV':'update','bSksX':'print-access-token','KbyRC':_0x25a813(0x12f),'zKGuP':_0x25a813(0x148),'zbmvE':'Start\x20a\x20fresh\x20one-scenario\x20feature\x20review\x20from\x20this\x20text\x20and\x20verify\x20it.\x20To\x20re-verify,\x20use\x20--scenario;\x20to\x20extend\x20the\x20active\x20review,\x20use\x20`ranger\x20add-scenario`.','iKwhn':_0x25a813(0x202),'rDEeS':'base-url','WywXF':_0x25a813(0x239),'FgGZt':_0x25a813(0xc9),'MUyzh':_0x25a813(0x22e),'bRaQa':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','aTXtz':_0x25a813(0x172),'PVqya':_0x25a813(0x15e),'UxjYQ':_0x25a813(0x195),'IDojG':'allow-url-mismatch','tCQsB':'verified','verBf':_0x25a813(0x1f6),'QVWVM':_0x25a813(0x1dd),'jOEsa':'item','fSVxY':'ranger\x20profile\x20encrypt-auth','yKCOt':function(_0x223350,_0x11a29c){return _0x223350(_0x11a29c);},'SpnST':'encrypt\x20<profile>','zyLWY':_0x25a813(0x237),'ZacxR':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','KUPrZ':_0x25a813(0x10a),'zsBhW':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','zjBXz':_0x25a813(0x22c),'IMzLO':function(_0x3e5756,_0x49a3ab,_0x12b3f6){return _0x3e5756(_0x49a3ab,_0x12b3f6);},'BvVaS':'start','broZg':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','CNLAI':_0x25a813(0x10d),'QejfV':'Scenario\x20index\x20(1-based)','sDOIp':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','vUhow':function(_0x2e54f3,_0x2ffd33,_0x24462d){return _0x2e54f3(_0x2ffd33,_0x24462d);},'LbFXs':'ranger\x20profile\x20add','oZzuc':_0x25a813(0x205),'WGjyT':'use','KQEsy':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','bQiQm':'Config\x20value','aXdtI':_0x25a813(0x1ed),'zDqyj':_0x25a813(0x98),'iDbTJ':'Config\x20key\x20to\x20remove','Qdszl':_0x25a813(0xe8),'GRcwm':_0x25a813(0x1d0),'Hziqh':'ranger\x20profile\x20config\x20unset','BiHZs':_0x25a813(0xde),'mexPy':_0x25a813(0x138),'QIKhq':'ranger\x20profile\x20ls','gTahi':function(_0x1f0e8f,_0x1ca781,_0x2776b8){return _0x1f0e8f(_0x1ca781,_0x2776b8);},'MIPQn':'Name\x20of\x20the\x20environment\x20to\x20update','OkbpR':'ranger\x20env\x20update','HvUBz':function(_0xfac7da,_0xda8ca,_0x39ced7){return _0xfac7da(_0xda8ca,_0x39ced7);},'nsdUl':_0x25a813(0x14b),'cnQHs':'You\x20must\x20specify\x20an\x20env\x20subcommand','UVgQl':_0x25a813(0xdf),'LXDMR':'feature\x20create','HOamF':_0x25a813(0x1c7),'MXZye':'ranger\x20list','UwsuK':'feature\x20list','fVlrI':function(_0xbcd08b,_0x26b1c1,_0x5a1257){return _0xbcd08b(_0x26b1c1,_0x5a1257);},'ENjcu':'feature\x20show','VbccM':function(_0x53716e,_0x16cd65,_0x40933e){return _0x53716e(_0x16cd65,_0x40933e);},'pgTCp':_0x25a813(0x100),'BRvqZ':'ranger\x20add-scenario','zoktx':function(_0x22780c,_0x3f28c1,_0x2141e7){return _0x22780c(_0x3f28c1,_0x2141e7);},'aZgAk':_0x25a813(0x1d5),'wuIow':function(_0x8a98a5,_0x240068,_0x38d743){return _0x8a98a5(_0x240068,_0x38d743);},'JJRpQ':_0x25a813(0x1af),'QLLLl':_0x25a813(0xe6),'eShkB':_0x25a813(0xfb),'uiDOP':_0x25a813(0x169),'qEHWB':function(_0x3444eb,_0x5dca45,_0x1b30e7){return _0x3444eb(_0x5dca45,_0x1b30e7);},'BHNKL':'ranger\x20feature\x20delete','pOMXz':_0x25a813(0x1f8),'HPuQR':_0x25a813(0x212),'UmSoH':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','wdcsh':function(_0x5f15be,_0x416f6f,_0xd1ab19){return _0x5f15be(_0x416f6f,_0xd1ab19);},'cbEIk':_0x25a813(0x20f),'EdROQ':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','BlUXw':_0x25a813(0x18d),'kmUsi':'disable','rsbgz':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','MfltD':function(_0x45be8e,_0x425e65){return _0x45be8e(_0x425e65);},'kaSVJ':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','yOliS':function(_0x26a423,_0x5ef5b3){return _0x26a423||_0x5ef5b3;},'QyXvn':_0x25a813(0xf7),'bhwJV':function(_0x25ddab,_0x23025e){return _0x25ddab(_0x23025e);},'CEeII':_0x25a813(0x119),'RZghZ':_0x25a813(0x140),'VEDyh':_0x25a813(0x21b),'GGtHC':_0x25a813(0x8f),'QAEHu':'resume\x20[id]','BeTnI':'edit-scenario\x20<description>','LyrmA':'delete\x20[id]','MGbJj':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','BAaei':_0x25a813(0x14a),'kJtAn':'setup-ci\x20<token>','BGxVN':'skillup','tCLug':'Install\x20Ranger\x20skills','lwXQp':'Manage\x20profiles','JlTLj':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','gQmAw':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','duhFN':_0x25a813(0x12e),'RfXJG':_0x25a813(0x1ac),'zZatu':_0x25a813(0xff),'lzela':'hook','dAwmb':_0x25a813(0x111),'FHcIT':function(_0x29a5f2,_0x170012){return _0x29a5f2+_0x170012;},'DdvyZ':'\x20\x20https://docs.ranger.net\x0a'};return _0x1b20ca['bhwJV'](_0x2712f3,_0x194544??process['argv']['slice'](0x2))[_0x25a813(0x21e)]('ranger')['usage'](TOP_LEVEL_HELP)[_0x25a813(0x1ff)](getCurrentVersion())[_0x25a813(0xda)](_0x1b20ca[_0x25a813(0x8b)],_0x25a813(0x8a),_0x2d977e=>{const _0x318875=_0x25a813;return _0x2d977e['positional'](_0x1b20ca[_0x318875(0x116)],{'type':_0x318875(0x16e),'description':_0x1b20ca[_0x318875(0x19d)],'demandOption':!![]})[_0x318875(0xc6)](_0x1b20ca['zGUYw'],{'type':_0x1b20ca[_0x318875(0x204)],'alias':'d','description':_0x318875(0x126)})['option']('scenario',{'type':_0x1b20ca[_0x318875(0xba)],'alias':'c','description':_0x318875(0xe6)})['option'](_0x318875(0xcc),{'type':_0x318875(0x108),'hidden':!![]});},async _0x4f84ad=>{const _0x38b6b7=_0x25a813;if(!_0x4f84ad[_0x38b6b7(0xac)]){console['error'](_0x1b20ca[_0x38b6b7(0xb5)](_0x38b6b7(0x1b5),'Example:\x20ranger\x20create\x20my-feature')),process['exit'](0x1);return;}warnFlagRenamed(_0x1b20ca[_0x38b6b7(0x96)],_0x38b6b7(0x1c9),_0x1b20ca[_0x38b6b7(0xb3)]);const _0x51970a=_0x4f84ad[_0x38b6b7(0x197)]||_0x4f84ad['checklist'];await withTelemetry(_0x1b20ca[_0x38b6b7(0x150)],()=>featureCreate(_0x4f84ad[_0x38b6b7(0xac)],{'description':_0x4f84ad['description'],'scenarios':_0x51970a}));})[_0x25a813(0xda)](_0x1b20ca[_0x25a813(0x1b0)],_0x25a813(0x16d),_0x4f3cad=>{const _0x3460f8=_0x25a813;return _0x4f3cad['option'](_0x1b20ca[_0x3460f8(0x155)],{'type':_0x1b20ca['JaqwF'],'description':_0x1b20ca[_0x3460f8(0x17e)]})[_0x3460f8(0xc6)](_0x3460f8(0xfb),{'type':_0x3460f8(0x11c),'alias':'l','description':_0x1b20ca[_0x3460f8(0x1e8)],'default':0xa})['option'](_0x3460f8(0x169),{'type':'number','alias':'o','description':_0x1b20ca[_0x3460f8(0xc7)],'default':0x0})['option'](_0x3460f8(0xb8),{'type':'boolean','alias':'d','description':_0x1b20ca['aljjE'],'default':![]});},async _0x5ebed2=>{const _0x40d8cc=_0x25a813;await withTelemetry(_0x40d8cc(0x140),()=>featureList({'currentBranch':_0x5ebed2[_0x40d8cc(0xb7)],'limit':_0x5ebed2['limit'],'offset':_0x5ebed2[_0x40d8cc(0x169)],'includeDeleted':_0x5ebed2['include-deleted']}));})[_0x25a813(0xda)](_0x1b20ca['VEDyh'],_0x1b20ca['GGtHC'],_0x2776ba=>{const _0x2b4c6f=_0x25a813;return _0x2776ba['positional']('id',{'type':_0x1b20ca['NGHVG'],'description':_0x1b20ca[_0x2b4c6f(0x130)]});},async _0x100be8=>{await withTelemetry(_0x1b20ca['YrIoU'],()=>featureShow(_0x100be8['id']));})['command'](_0x1b20ca['QAEHu'],_0x25a813(0x174),_0x5428b9=>{const _0x5de56d=_0x25a813;return _0x5428b9[_0x5de56d(0x186)]('id',{'type':_0x1b20ca['NGHVG'],'description':_0x1b20ca[_0x5de56d(0x238)]});},async _0x16cf91=>{await _0x1b20ca['bzETY'](withTelemetry,'resume',()=>featureResume(_0x16cf91['id']));})[_0x25a813(0xda)](_0x25a813(0xe9),_0x25a813(0x84),_0x301ff4=>{const _0x4f6e64=_0x25a813;return _0x301ff4['positional'](_0x1b20ca['zGUYw'],{'type':'string','description':'Scenario\x20description','demandOption':!![]})[_0x4f6e64(0xc6)]('id',{'type':_0x1b20ca[_0x4f6e64(0x204)],'description':_0x1b20ca[_0x4f6e64(0x1d7)]});},async _0x301b1e=>{await withTelemetry('add-scenario',()=>featureAddScenario(_0x301b1e['description'],_0x301b1e['id']));})['command'](_0x1b20ca[_0x25a813(0x218)],'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x5ba9ef=>{const _0x242ef2=_0x25a813;return _0x5ba9ef['positional'](_0x242ef2(0x91),{'type':_0x242ef2(0x16e),'description':'New\x20scenario\x20description','demandOption':!![]})[_0x242ef2(0xc6)](_0x1b20ca['QmSxw'],{'type':_0x1b20ca['fErha'],'description':_0x1b20ca[_0x242ef2(0x109)],'demandOption':!![]})['option']('id',{'type':_0x1b20ca[_0x242ef2(0x204)],'description':_0x1b20ca['wioxG']});},async _0x1c261d=>{const _0x3d75ce=_0x25a813;await withTelemetry(_0x3d75ce(0x14d),()=>featureEditScenario(_0x1c261d[_0x3d75ce(0x91)],{'id':_0x1c261d['id'],'scenario':_0x1c261d[_0x3d75ce(0x197)]}));})[_0x25a813(0xda)]('report\x20[id]','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x451523=>{const _0x598964=_0x25a813;return _0x451523['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'})[_0x598964(0xc6)](_0x1b20ca['NUdUi'],{'type':_0x1b20ca['bpMAb'],'description':_0x598964(0x1d3)})['option']('json',{'type':_0x1b20ca['JaqwF'],'description':_0x598964(0xa8),'default':![]});},async _0x28e98e=>{const _0x4572c7=_0x25a813,_0x5b00ee=_0x28e98e[_0x1b20ca[_0x4572c7(0x23a)]],_0x2e899d=_0x5b00ee?_0x5b00ee[_0x4572c7(0x21f)](_0x304bc1=>Number(_0x304bc1)):undefined;await _0x1b20ca['iQTNB'](withTelemetry,_0x1b20ca[_0x4572c7(0x22d)],()=>featureReportPrDescription(_0x28e98e['id'],{'excludeScenarios':_0x2e899d,'json':_0x28e98e[_0x4572c7(0x242)]}));})[_0x25a813(0xda)](_0x25a813(0x152),'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x3dc1a6=>{return _0x3dc1a6['positional']('id',{'type':_0x1b20ca['NGHVG'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x9dd9a8=>{const _0x2be25c=_0x25a813;await _0x1b20ca[_0x2be25c(0xf0)](withTelemetry,'get-review',()=>featureGetReview(_0x9dd9a8['id']));})['command'](_0x1b20ca['LyrmA'],_0x1b20ca['MGbJj'],_0x24e45d=>{const _0x4054a8=_0x25a813;return _0x24e45d[_0x4054a8(0x186)]('id',{'type':_0x4054a8(0x16e),'description':_0x1b20ca['xufYD']});},async _0x4ecc8d=>{const _0x17d3e7=_0x25a813;await _0x1b20ca[_0x17d3e7(0x107)](withTelemetry,_0x17d3e7(0x222),()=>featureDelete(_0x4ecc8d['id']));})[_0x25a813(0xda)](_0x25a813(0x212),_0x25a813(0x185),_0x1bd58b=>{const _0xf12d31=_0x25a813;return _0x1bd58b[_0xf12d31(0x186)]('id',{'type':_0x1b20ca[_0xf12d31(0x204)],'description':_0x1b20ca['MAmit'],'demandOption':!![]});},async _0x62e6a2=>{await _0x1b20ca['pAMse'](withTelemetry,_0x1b20ca['WiRRE'],()=>featureRestore(_0x62e6a2['id']));})[_0x25a813(0xda)](_0x1b20ca[_0x25a813(0x223)],_0x25a813(0x199),_0x4456e9=>{const _0x282bf4=_0x25a813,_0x2c9471={'rSKxf':function(_0x177495,_0x12377f,_0x4132af){const _0x2aa663=_0x1347;return _0x1b20ca[_0x2aa663(0xb9)](_0x177495,_0x12377f,_0x4132af);},'ZtwYD':'setup:deps','mbcRI':function(_0x51f124){return _0x51f124();},'cnFOo':function(_0x3d8da2){return _0x3d8da2();},'iBXKT':_0x282bf4(0xa0),'LrdZI':function(_0x554447,_0x4a2a10){return _0x554447(_0x4a2a10);},'lJDTe':_0x282bf4(0x16e),'efnFt':_0x282bf4(0x1f9),'hTnIs':function(_0x16aa73,_0x323bcb,_0x38e082){return _0x1b20ca['xkdZw'](_0x16aa73,_0x323bcb,_0x38e082);},'hBLTW':_0x282bf4(0xc4),'UoOyN':_0x1b20ca['kqFdS'],'jAnIR':function(_0x7cc787,_0x272b15){return _0x7cc787(_0x272b15);},'gWEXD':'scope','Nnrqm':'url','Hvyag':_0x282bf4(0x101)};return _0x4456e9['usage'](_0x282bf4(0x88))['positional'](_0x1b20ca[_0x282bf4(0x139)],{'type':'string','description':'Subcommand\x20or\x20API\x20token\x20(rngr_...)'})['command']('all','Run\x20full\x20interactive\x20setup',_0x47eae8=>{const _0x5d0f05=_0x282bf4;return _0x47eae8[_0x5d0f05(0xc6)](_0x1b20ca['kBYYP'],{'type':'string','description':_0x1b20ca[_0x5d0f05(0x133)]})[_0x5d0f05(0xc6)](_0x1b20ca[_0x5d0f05(0x1aa)],{'type':_0x1b20ca['JaqwF'],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option'](_0x1b20ca[_0x5d0f05(0x10f)],{'type':_0x1b20ca[_0x5d0f05(0x1cc)],'description':_0x5d0f05(0x10a),'default':![]})['option']('with-deps',{'type':'boolean','description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]})[_0x5d0f05(0xc6)](_0x5d0f05(0xd1),{'type':'string','choices':[_0x1b20ca['yGsjF']],'hidden':!![],'description':_0x1b20ca[_0x5d0f05(0x1d6)]})['option']('url',{'type':_0x1b20ca['NGHVG'],'description':_0x1b20ca[_0x5d0f05(0x244)]})['option'](_0x5d0f05(0x163),{'type':_0x5d0f05(0x101),'description':_0x5d0f05(0x233),'default':![]})['option'](_0x1b20ca[_0x5d0f05(0x227)],{'type':'boolean','description':_0x1b20ca[_0x5d0f05(0x151)],'default':![]})[_0x5d0f05(0xc6)](_0x1b20ca[_0x5d0f05(0x1e4)],{'type':_0x1b20ca['JaqwF'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]})[_0x5d0f05(0xc6)](_0x5d0f05(0x1ba),{'type':'boolean','description':_0x1b20ca[_0x5d0f05(0x206)],'default':![]})[_0x5d0f05(0xc6)](_0x1b20ca[_0x5d0f05(0x17b)],{'type':_0x5d0f05(0x101),'description':_0x1b20ca[_0x5d0f05(0x102)],'default':![]});},async _0xac49e3=>{const _0x300c77=_0x282bf4;(_0xac49e3[_0x1b20ca[_0x300c77(0x14e)]]||_0xac49e3[_0x300c77(0xab)])&&await _0x1b20ca[_0x300c77(0x107)](withTelemetry,'mcp-bootstrap',()=>mcpBootstrap()),await withTelemetry(_0x300c77(0xc0),_0x5bed9b=>start(_0xac49e3[_0x300c77(0x112)],{'skipChromium':_0xac49e3['skip-chromium'],'skipAuth':_0xac49e3['skip-auth'],'withDeps':_0xac49e3['with-deps'],'scope':_0xac49e3[_0x300c77(0xd1)],'url':_0xac49e3[_0x300c77(0x106)],'force':_0xac49e3['force'],'opencode':_0xac49e3[_0x300c77(0x156)],'allowInsecureLocalhost':_0xac49e3[_0x300c77(0xb4)]},_0x5bed9b));})['command']('deps',_0x282bf4(0xf4),_0x52c7c9=>{return _0x52c7c9['option']('with-deps',{'type':_0x1b20ca['JaqwF'],'description':_0x1b20ca['SKTvE'],'default':![]});},async _0x40f4f1=>{const _0x466705=_0x282bf4;await _0x2c9471[_0x466705(0xa5)](withTelemetry,_0x2c9471['ZtwYD'],()=>ensureChromium(_0x40f4f1['with-deps']));})[_0x282bf4(0xda)](_0x1b20ca[_0x282bf4(0xaf)],_0x1b20ca['ZlgGy'],_0x2a956f=>{const _0xe01a3e=_0x282bf4;return _0x2a956f[_0xe01a3e(0xc6)](_0x1b20ca[_0xe01a3e(0x134)],{'type':_0xe01a3e(0x16e),'description':_0x1b20ca['BZrPp']})['option'](_0x1b20ca['QVjIk'],{'type':_0x1b20ca['JaqwF'],'description':_0xe01a3e(0x1f2),'default':![]});},async _0x1fe11c=>{await withTelemetry(_0x1b20ca['SSdDa'],async()=>{const _0x42b16c=_0x1347;if(_0x1fe11c[_0x42b16c(0xab)]){await _0x2c9471['mbcRI'](mcpBootstrap);const _0x3f3849=await _0x2c9471['cnFOo'](refreshCliToken);if(!_0x3f3849)throw new Error(_0x2c9471['iBXKT']);const _0x20d31b=await _0x2c9471['LrdZI'](getCurrentUser,_0x3f3849);if(!_0x20d31b['success'])throw new Error(_0x42b16c(0x164)+_0x20d31b['error']);console[_0x42b16c(0x191)](_0x42b16c(0x184)+_0x20d31b[_0x42b16c(0x1f9)]['organizationName']);return;}await authenticate(_0x1fe11c['token']);});})[_0x282bf4(0xda)]('skills','Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x3564e5=>{const _0x31818c=_0x282bf4;return _0x3564e5[_0x31818c(0xc6)](_0x31818c(0xd1),{'type':_0x2c9471[_0x31818c(0x1b3)],'choices':[_0x2c9471['efnFt'],'project'],'description':_0x31818c(0xeb)})['option'](_0x31818c(0x156),{'type':'boolean','description':_0x31818c(0x1fa),'default':![]});},async _0x2ab78a=>{const _0x169be9=_0x282bf4;await withTelemetry(_0x169be9(0x12d),async()=>{const _0x282237=_0x169be9,_0x2c8f0d=_0x2ab78a[_0x282237(0xd1)];if(_0x2ab78a['opencode']){const _0x43b05d=await ensureOpencodePluginConfig(_0x2c8f0d);_0x43b05d&&await _0x2c9471[_0x282237(0x201)](installSkill,_0x2c9471['hBLTW'],{'level':_0x43b05d[_0x282237(0xd1)],'cliVersion':getCurrentVersion(),'platform':_0x2c9471[_0x282237(0x1e1)]});}else await _0x2c9471[_0x282237(0xc8)](ensureClaudePlugin,_0x2c8f0d),await _0x2c9471[_0x282237(0x1d2)](ensureClaudeSkills,_0x2c8f0d);});})[_0x282bf4(0xda)](_0x1b20ca[_0x282bf4(0xa4)],'Set\x20up\x20a\x20local\x20browser\x20profile',_0x28da51=>{const _0x8b8deb=_0x282bf4;return _0x28da51[_0x8b8deb(0xc6)](_0x2c9471[_0x8b8deb(0x121)],{'type':_0x8b8deb(0x16e),'choices':['user'],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x8b8deb(0xc6)](_0x2c9471['Nnrqm'],{'type':_0x2c9471[_0x8b8deb(0x1b3)],'description':_0x8b8deb(0x234)})[_0x8b8deb(0xc6)]('skip-auth',{'type':'boolean','description':_0x8b8deb(0x1b8),'default':![]})[_0x8b8deb(0xc6)]('force',{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x8b8deb(0xc6)]('allow-insecure-localhost',{'type':_0x2c9471[_0x8b8deb(0x196)],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0xd0e0ab=>{const _0x35bbf6=_0x282bf4,_0x5238a4=_0xd0e0ab['scope'];_0x5238a4!==undefined&&_0x5238a4!==_0x35bbf6(0x1f9)&&(console[_0x35bbf6(0x210)](_0x35bbf6(0x1db)+_0x5238a4+'\x20is\x20no\x20longer\x20supported.\x20'+'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20'+'Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.'),process[_0x35bbf6(0x13d)](0x1)),await withTelemetry('setup:profiles',_0xdd6997=>ensureLocalEnv({'url':_0xd0e0ab[_0x35bbf6(0x106)],'force':_0xd0e0ab['force'],'allowInsecureLocalhost':_0xd0e0ab['allow-insecure-localhost'],'scope':_0x35bbf6(0x1f9)},_0xdd6997));})['option'](_0x282bf4(0x15b),{'type':_0x282bf4(0x101),'description':_0x1b20ca['RfmvG'],'default':![]})['option'](_0x1b20ca['KgICg'],{'type':_0x282bf4(0x16e),'choices':[_0x1b20ca[_0x282bf4(0x20e)]],'hidden':!![],'description':_0x282bf4(0x120)})[_0x282bf4(0xc6)]('url',{'type':_0x282bf4(0x16e),'description':_0x282bf4(0x162)})['option'](_0x1b20ca['MSWAF'],{'type':'boolean','description':_0x1b20ca['kXxTN'],'default':![]})[_0x282bf4(0xc6)](_0x1b20ca[_0x282bf4(0x227)],{'type':_0x282bf4(0x101),'description':_0x282bf4(0x1fa),'default':![]})['option'](_0x282bf4(0xb4),{'type':_0x282bf4(0x101),'description':_0x282bf4(0x1cf),'default':![]})[_0x282bf4(0xc6)](_0x1b20ca['mxgbd'],{'type':_0x1b20ca[_0x282bf4(0x1cc)],'description':_0x1b20ca[_0x282bf4(0x11a)],'default':![]})['option'](_0x1b20ca[_0x282bf4(0x10f)],{'type':_0x282bf4(0x101),'description':_0x1b20ca[_0x282bf4(0x122)],'default':![]})[_0x282bf4(0xc6)](_0x1b20ca[_0x282bf4(0xef)],{'type':_0x282bf4(0x101),'description':_0x1b20ca['SKTvE'],'default':![]})[_0x282bf4(0xc6)](_0x282bf4(0x112),{'type':_0x1b20ca[_0x282bf4(0x204)],'hidden':!![],'description':'API\x20token'});},async _0x1c7c0=>{const _0x428052=_0x25a813,_0x3330c0=_0x1c7c0['tokenOrSubcommand'],_0x15536c=_0x1c7c0[_0x428052(0x112)]??_0x3330c0;_0x1c7c0[_0x1b20ca['mxgbd']]&&await withTelemetry(_0x428052(0x1ba),()=>mcpBootstrap()),await _0x1b20ca['diaIf'](withTelemetry,'start',_0x2acc9d=>start(_0x15536c,{'skipChromium':_0x1c7c0['skip-chromium'],'skipAuth':_0x1c7c0['skip-auth'],'withDeps':_0x1c7c0['with-deps'],'scope':_0x1c7c0['scope'],'url':_0x1c7c0['url'],'force':_0x1c7c0[_0x428052(0x163)],'opencode':_0x1c7c0[_0x428052(0x156)],'allowInsecureLocalhost':_0x1c7c0['allow-insecure-localhost']},_0x2acc9d));})[_0x25a813(0xda)](_0x1b20ca[_0x25a813(0x1d8)],![],_0x30b2b9=>{const _0x8a8f5e=_0x25a813;return _0x30b2b9['positional'](_0x1b20ca[_0x8a8f5e(0x134)],{'type':_0x1b20ca['NGHVG'],'description':_0x8a8f5e(0x214),'demandOption':!![]})[_0x8a8f5e(0xc6)](_0x8a8f5e(0x24b),{'type':'string','description':_0x1b20ca['OxdHn']})[_0x8a8f5e(0xc6)](_0x8a8f5e(0x228),{'type':'string','description':_0x1b20ca[_0x8a8f5e(0xe1)]})['option'](_0x1b20ca['TwmiY'],{'type':_0x1b20ca['JaqwF'],'description':_0x1b20ca['bNbUQ'],'default':![]});},async _0x5dbcb1=>{const _0x52c8ef=_0x25a813;await withTelemetry(_0x1b20ca[_0x52c8ef(0x11d)],_0x4ba6a5=>setupCi(_0x5dbcb1['token'],{'profile':_0x5dbcb1['profile'],'baseUrl':_0x5dbcb1[_0x52c8ef(0x228)],'skipChromium':_0x5dbcb1['skip-chromium']},_0x4ba6a5));})['command']('login','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)',()=>{},async()=>{await withTelemetry(_0x1b20ca['OKcoq'],()=>login());})[_0x25a813(0xda)](_0x1b20ca[_0x25a813(0x9b)],_0x1b20ca[_0x25a813(0x1bc)],_0xf76baf=>{const _0x55f5e2=_0x25a813;return _0xf76baf[_0x55f5e2(0xc6)](_0x1b20ca['kqFdS'],{'type':_0x1b20ca[_0x55f5e2(0x1cc)],'description':'Install\x20skills\x20for\x20OpenCode','default':![]})[_0x55f5e2(0xc6)](_0x1b20ca['KgICg'],{'type':_0x1b20ca['NGHVG'],'choices':[_0x1b20ca[_0x55f5e2(0x20e)],'project'],'description':_0x55f5e2(0x24a)});},async _0x19f081=>{const _0x3b4299=_0x25a813,_0x4da472=Boolean(_0x19f081['opencode']);await _0x1b20ca['yYQcZ'](withTelemetry,'skillup',()=>skillup({'autoInstall':_0x19f081['scope'],'platform':_0x4da472?_0x3b4299(0x156):'claude'}));})['command']('clean',_0x25a813(0x103),()=>{},async()=>{await withTelemetry('clean',()=>clean());})[_0x25a813(0xda)]([_0x25a813(0x24b),_0x1b20ca[_0x25a813(0xa4)]],_0x1b20ca['lwXQp'],_0x18abcd=>{const _0x301512=_0x25a813,_0xe5ffaf={'ymvOx':_0x301512(0x246),'wSsBX':_0x1b20ca['NGHVG'],'uFNei':'url','mbAaY':_0x1b20ca['JaqwF'],'AGDMQ':_0x1b20ca['kXxTN'],'qLnyZ':_0x301512(0xb4),'ddLad':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','ythGC':'setup-header','semGx':_0x1b20ca['KgICg'],'CsKGx':'project','bVRFd':_0x301512(0x13b),'JdAoE':_0x1b20ca['UiptL'],'dBJQh':_0x1b20ca[_0x301512(0x22f)],'QWKEq':'profile\x20add','qAhxt':function(_0x2b58dc,_0x2e14b2){const _0x21b0a1=_0x301512;return _0x1b20ca[_0x21b0a1(0xdb)](_0x2b58dc,_0x2e14b2);},'LKtya':_0x301512(0x110),'MGdoO':_0x301512(0x1b9),'fGDNq':function(_0xc5fda1,_0x640d6c,_0x194d7c){const _0x15a275=_0x301512;return _0x1b20ca[_0x15a275(0x86)](_0xc5fda1,_0x640d6c,_0x194d7c);},'qbvGx':_0x301512(0x1e5),'zjhKR':'profile\x20delete','QQffE':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','MaSDx':'Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','fpEIk':_0x1b20ca['zQSbP'],'dFVbv':_0x1b20ca['nnMSg'],'plSwS':_0x1b20ca[_0x301512(0x117)],'tCZYF':_0x1b20ca['pHQgC'],'ngQLz':'Config\x20key','KuFdh':_0x1b20ca[_0x301512(0x1bf)],'zHcDl':_0x301512(0x22b)};return _0x18abcd[_0x301512(0xd7)](PROFILE_HELP)[_0x301512(0xda)]('add\x20<profile-name>',_0x1b20ca['tCKix'],_0x327c8f=>{const _0x1d320b=_0x301512;return _0x327c8f['positional'](_0xe5ffaf['ymvOx'],{'type':_0xe5ffaf[_0x1d320b(0x1cb)],'description':_0x1d320b(0x1a9),'demandOption':!![]})[_0x1d320b(0xc6)]('ci',{'type':_0x1d320b(0x101),'hidden':!![],'default':![]})['option'](_0x1d320b(0x1da),{'type':_0x1d320b(0x101),'description':_0x1d320b(0x16b),'default':![]})['option'](_0xe5ffaf['uFNei'],{'type':_0x1d320b(0x16e),'description':_0x1d320b(0xd0)})[_0x1d320b(0xc6)](_0x1d320b(0x163),{'type':_0xe5ffaf['mbAaY'],'description':_0xe5ffaf['AGDMQ'],'default':![]})['option'](_0x1d320b(0x110),{'type':_0xe5ffaf[_0x1d320b(0x1cb)],'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})['option'](_0xe5ffaf['qLnyZ'],{'type':_0xe5ffaf['mbAaY'],'description':_0x1d320b(0x1cf),'default':![]})[_0x1d320b(0xc6)](_0x1d320b(0x142),{'type':_0x1d320b(0x101),'description':_0xe5ffaf[_0x1d320b(0x1a6)],'default':![]})['option'](_0xe5ffaf['ythGC'],{'type':_0x1d320b(0x16e),'array':!![],'description':_0x1d320b(0x131)})['option'](_0xe5ffaf['semGx'],{'type':_0xe5ffaf['wSsBX'],'choices':['user',_0xe5ffaf[_0x1d320b(0xec)]],'description':_0xe5ffaf[_0x1d320b(0x20c)]})[_0x1d320b(0xc6)](_0xe5ffaf['JdAoE'],{'type':'string','description':_0x1d320b(0xf2)})['option'](_0x1d320b(0xe7),{'type':'boolean','alias':'y','description':_0xe5ffaf[_0x1d320b(0x1c0)],'default':![]});},async _0x5f3b65=>{const _0x294b65=_0x301512;await withTelemetry(_0xe5ffaf['QWKEq'],_0x4552ab=>addEnv(_0x5f3b65[_0x294b65(0x246)],{'ci':_0x5f3b65['ci'],'skipAuth':_0x5f3b65[_0x294b65(0x1da)],'url':_0x5f3b65[_0x294b65(0x106)],'force':_0x5f3b65[_0x294b65(0x163)],'cdpEndpoint':_0x5f3b65['cdp-endpoint'],'allowInsecureLocalhost':_0x5f3b65[_0x294b65(0xb4)],'safeMode':_0x5f3b65[_0x294b65(0x142)],'setupHeader':_0x5f3b65['setup-header'],'scope':_0x5f3b65[_0x294b65(0xd1)],'authEnv':_0x5f3b65['env'],'yes':_0x5f3b65[_0x294b65(0xe7)]},_0x4552ab),{'isElectron':_0xe5ffaf['qAhxt'](Boolean,_0x5f3b65[_0xe5ffaf[_0x294b65(0x211)]])});})[_0x301512(0xda)]('use\x20<profile-name>',_0x301512(0x189),_0x2650b1=>{const _0x22e7a0=_0x301512;return _0x2650b1['positional']('profile-name',{'type':'string','description':_0xe5ffaf[_0x22e7a0(0x1ab)],'demandOption':!![]});},async _0x5deffa=>{const _0x131676=_0x301512;await _0xe5ffaf[_0x131676(0x9d)](withTelemetry,_0xe5ffaf['qbvGx'],()=>useEnv(_0x5deffa['profile-name']));})[_0x301512(0xda)](_0x1b20ca['SxLNP'],_0x1b20ca[_0x301512(0x1ca)],_0x39830e=>{const _0x4cf76b=_0x301512;return _0x39830e['positional'](_0xe5ffaf[_0x4cf76b(0x136)],{'type':'string','description':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','demandOption':!![]})[_0x4cf76b(0xc6)](_0x4cf76b(0xe7),{'type':_0xe5ffaf[_0x4cf76b(0xe2)],'alias':'y','description':_0x4cf76b(0xb0),'default':![]});},async _0x558dc7=>{const _0x304248=_0x301512;await withTelemetry(_0xe5ffaf[_0x304248(0x17d)],()=>deleteProfile(_0x558dc7['profile-name'],{'yes':_0x558dc7[_0x304248(0xe7)]}));})[_0x301512(0xda)]('encrypt-auth\x20<profile>',![],_0xcdb968=>{const _0x2b14d5=_0x301512;return _0xcdb968['positional'](_0x2b14d5(0x24b),{'type':_0x2b14d5(0x16e),'description':_0x2b14d5(0x1e0),'demandOption':!![]});},async _0x3e354b=>{const _0x15f23d=_0x301512;await _0x1b20ca['WdDAU'](withTelemetry,_0x15f23d(0x247),()=>authEncrypt(_0x3e354b['profile']));})[_0x301512(0xda)]('ls','List\x20all\x20profiles',()=>{},async()=>{const _0x3d9a5b=_0x301512;await withTelemetry(_0x3d9a5b(0x173),()=>envList());})[_0x301512(0xda)](_0x301512(0xee),_0x1b20ca['DdueP'],_0x424fc0=>{const _0xec302b=_0x301512;return _0x424fc0[_0xec302b(0x186)](_0xe5ffaf[_0xec302b(0x136)],{'type':_0xe5ffaf['wSsBX'],'description':'Name\x20of\x20the\x20profile\x20to\x20update','demandOption':!![]})[_0xec302b(0xc6)](_0xe5ffaf[_0xec302b(0x15c)],{'type':'boolean','description':_0xe5ffaf[_0xec302b(0xd6)]})[_0xec302b(0xc6)](_0xec302b(0x1f5),{'type':_0xe5ffaf['mbAaY'],'description':_0xe5ffaf['MaSDx']});},async _0x202050=>{const _0x2b668b=_0x301512;await withTelemetry(_0x1b20ca[_0x2b668b(0x1ad)],_0x524ed7=>updateEnv(_0x202050[_0x2b668b(0x246)],_0x524ed7,{'allowInsecureLocalhost':_0x202050['allow-insecure-localhost'],'manual':_0x202050[_0x2b668b(0x1f5)]}));})['command']('login\x20<name>',![],_0x130e94=>{const _0x569344=_0x301512;return _0x130e94[_0x569344(0x186)]('name',{'type':_0x1b20ca['NGHVG'],'description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0x3322ba=>{const _0x259c95=_0x301512,_0x146405={'WagFE':'Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','ootkV':'No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'};await withTelemetry(_0x259c95(0xae),async()=>{const _0x40e846=_0x259c95,_0x478084=process[_0x40e846(0x21a)]['RANGER_TEST_USERNAME'],_0x40d0a9=process[_0x40e846(0x21a)][_0x40e846(0x1c6)];(!_0x478084||!_0x40d0a9)&&(console[_0x40e846(0x210)](_0x146405[_0x40e846(0x1ee)]),process[_0x40e846(0x13d)](0x1));const _0x14249c=_0x3322ba[_0x40e846(0xac)],_0x3e1143=await serverSideLogin(_0x14249c,{'force':!![]});_0x3e1143['status']==='not_configured'&&(console['error'](_0x146405['ootkV']),process['exit'](0x1)),_0x3e1143['status']==='failed'&&(console[_0x40e846(0x210)]('Login\x20failed:\x20'+(_0x3e1143['error']??_0x40e846(0x11b))),_0x3e1143[_0x40e846(0x89)]&&console['error'](_0x3e1143[_0x40e846(0x89)]),process[_0x40e846(0x13d)](0x1)),console[_0x40e846(0x191)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x14249c+'\x27.\x20Session\x20saved.');});})[_0x301512(0xda)](_0x1b20ca[_0x301512(0xe3)],![],_0x27c30d=>{const _0x26a921=_0x301512;return _0x27c30d['positional'](_0x1b20ca['inpfT'],{'type':'string','description':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.'})['option'](_0x1b20ca[_0x26a921(0xf6)],{'type':'boolean','description':_0x1b20ca[_0x26a921(0x95)],'default':![]})['option']('dry-run',{'type':_0x26a921(0x101),'description':_0x1b20ca[_0x26a921(0xd5)],'default':![]})['option'](_0x1b20ca['WGwuQ'],{'type':_0x1b20ca[_0x26a921(0x1cc)],'alias':'y','description':_0x26a921(0xaa),'default':![]})[_0x26a921(0xc6)](_0x26a921(0xea),{'type':_0x1b20ca['JaqwF'],'description':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','default':![]});},async _0x453bb3=>{const _0x1885eb=_0x301512;await _0x1b20ca[_0x1885eb(0x13f)](withTelemetry,_0x1b20ca[_0x1885eb(0x123)],_0x4decad=>migrateProfile({'profileName':_0x453bb3['profile-name'],'all':_0x453bb3[_0x1885eb(0x18b)],'dryRun':_0x453bb3[_0x1885eb(0x1e7)],'yes':_0x453bb3[_0x1885eb(0xe7)],'saveCreds':_0x453bb3['save-creds']},_0x4decad));})[_0x301512(0xda)]('config',_0x1b20ca[_0x301512(0x245)],_0x5ab9cd=>{const _0x106e56=_0x301512,_0x537ee7={'racFC':function(_0x2110eb,_0x41b945,_0x5e0660){const _0x540fe8=_0x1347;return _0x1b20ca[_0x540fe8(0x13f)](_0x2110eb,_0x41b945,_0x5e0660);},'xmSoF':function(_0x2c2d03,_0x30ef3c,_0x2d0852){const _0x26dc78=_0x1347;return _0x1b20ca[_0x26dc78(0x137)](_0x2c2d03,_0x30ef3c,_0x2d0852);}};return _0x5ab9cd['usage'](PROFILE_CONFIG_HELP)['command'](_0x1b20ca[_0x106e56(0x1d4)],_0x1b20ca['awYUP'],_0x3c94ea=>{const _0x57bef6=_0x106e56;return _0x3c94ea[_0x57bef6(0x186)](_0xe5ffaf['fpEIk'],{'type':_0xe5ffaf['wSsBX'],'description':_0xe5ffaf[_0x57bef6(0xe4)],'demandOption':!![]})[_0x57bef6(0x186)](_0xe5ffaf[_0x57bef6(0xcb)],{'type':_0x57bef6(0x16e),'description':_0x57bef6(0x94),'demandOption':!![]})['positional']('value',{'type':_0xe5ffaf[_0x57bef6(0x1cb)],'description':'Config\x20value','demandOption':!![]});},async _0x58c490=>{const _0x5e6e7d=_0x106e56;await withTelemetry(_0xe5ffaf[_0x5e6e7d(0xbf)],()=>configSet(_0x58c490[_0x5e6e7d(0x24b)],_0x58c490['key'],_0x58c490['value']));})[_0x106e56(0xda)]('get\x20<profile>\x20<key>',_0x1b20ca['PVGUf'],_0x35d7f8=>{const _0x4d3efd=_0x106e56;return _0x35d7f8[_0x4d3efd(0x186)]('profile',{'type':_0x4d3efd(0x16e),'description':'Profile\x20name','demandOption':!![]})[_0x4d3efd(0x186)](_0xe5ffaf[_0x4d3efd(0xcb)],{'type':_0xe5ffaf['wSsBX'],'description':_0xe5ffaf['ngQLz'],'demandOption':!![]});},async _0x48a8a5=>{const _0x46acb2=_0x106e56;await withTelemetry(_0xe5ffaf[_0x46acb2(0xf3)],()=>configGet(_0x48a8a5[_0x46acb2(0x24b)],_0x48a8a5[_0x46acb2(0x160)]));})[_0x106e56(0xda)]('list\x20<profile>',_0x1b20ca[_0x106e56(0x1e2)],_0x5d9e9f=>{const _0x3269f2=_0x106e56;return _0x5d9e9f[_0x3269f2(0x186)]('profile',{'type':_0x3269f2(0x16e),'description':_0xe5ffaf['dFVbv'],'demandOption':!![]});},async _0x29d604=>{const _0x1c6b88=_0x106e56;await _0x537ee7[_0x1c6b88(0x1ce)](withTelemetry,_0x1c6b88(0x168),()=>configList(_0x29d604['profile']));})['command']('unset\x20<profile>\x20<key>','Remove\x20a\x20config\x20value',_0x10c4b2=>{const _0x5db014=_0x106e56;return _0x10c4b2['positional'](_0xe5ffaf[_0x5db014(0xcf)],{'type':_0xe5ffaf[_0x5db014(0x1cb)],'description':_0xe5ffaf['dFVbv'],'demandOption':!![]})['positional']('key',{'type':_0xe5ffaf['wSsBX'],'description':_0xe5ffaf[_0x5db014(0x21d)],'demandOption':!![]});},async _0x28a060=>{await withTelemetry('profile\x20config\x20unset',()=>configUnset(_0x28a060['profile'],_0x28a060['key']));})[_0x106e56(0xda)](_0x106e56(0xca),_0x1b20ca['YUbbv'],_0xc74a=>{const _0x42fe5d=_0x106e56;return _0xc74a[_0x42fe5d(0x186)]('profile',{'type':_0xe5ffaf['wSsBX'],'description':_0xe5ffaf['dFVbv'],'demandOption':!![]});},async _0x5328b2=>{const _0x4d6f7d=_0x106e56;await _0x537ee7['xmSoF'](withTelemetry,_0x4d6f7d(0x167),()=>configReset(_0x5328b2[_0x4d6f7d(0x24b)]));})[_0x106e56(0x87)](0x1,_0x1b20ca[_0x106e56(0xf9)]);})[_0x301512(0x87)](0x1,_0x1b20ca['ARHUJ']);})['command'](_0x1b20ca[_0x25a813(0x1a5)],_0x1b20ca['JlTLj'],()=>{},async()=>{const _0x19563c=_0x25a813;await _0x1b20ca[_0x19563c(0xce)](withTelemetry,_0x1b20ca[_0x19563c(0x1a5)],()=>status());})[_0x25a813(0xda)](_0x25a813(0x9a),_0x1b20ca['gQmAw'],()=>{},async()=>{await _0x1b20ca['diaIf'](withTelemetry,_0x1b20ca['prCKV'],()=>update());})[_0x25a813(0xda)](_0x1b20ca[_0x25a813(0x93)],'Print\x20the\x20current\x20CLI\x20access\x20token',()=>{},async()=>{const _0x50b9f2=_0x25a813,_0x31ca97={'VZnVC':function(_0xe5e16c){return _0xe5e16c();}};await withTelemetry(_0x1b20ca[_0x50b9f2(0x93)],async()=>{const _0x2d4596=_0x50b9f2,_0x12f5ba=await _0x31ca97[_0x2d4596(0x135)](getToken);if(!_0x12f5ba)throw new Error('No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.');console[_0x2d4596(0x191)](_0x12f5ba);});})[_0x25a813(0xda)]('go',_0x1b20ca['duhFN'],_0x15b3ca=>{const _0x2e0ddd=_0x25a813;return _0x15b3ca[_0x2e0ddd(0xc6)](_0x2e0ddd(0x1a7),{'type':_0x1b20ca['NGHVG'],'description':_0x1b20ca[_0x2e0ddd(0xfa)]})[_0x2e0ddd(0xc6)]('profile',{'type':_0x1b20ca['NGHVG'],'description':_0x2e0ddd(0x85)})[_0x2e0ddd(0xc6)]('notes',{'type':'string','description':_0x1b20ca['zKGuP']})['option'](_0x2e0ddd(0x249),{'type':'string','description':_0x1b20ca[_0x2e0ddd(0x9e)]})[_0x2e0ddd(0xc6)](_0x1b20ca[_0x2e0ddd(0x11e)],{'type':_0x1b20ca[_0x2e0ddd(0x217)],'description':'Scenario\x20index\x20(1-based)'})[_0x2e0ddd(0xc6)]('start-path',{'type':_0x1b20ca['NGHVG'],'description':_0x1b20ca['iKwhn']})[_0x2e0ddd(0xc6)](_0x1b20ca[_0x2e0ddd(0x1bb)],{'type':_0x1b20ca['NGHVG'],'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x2e0ddd(0xc6)](_0x1b20ca['WywXF'],{'type':_0x1b20ca['NGHVG'],'description':_0x1b20ca['FgGZt']})[_0x2e0ddd(0xc6)](_0x1b20ca[_0x2e0ddd(0x147)],{'type':_0x1b20ca['JaqwF'],'description':_0x1b20ca['bRaQa'],'default':![]})[_0x2e0ddd(0xc6)](_0x1b20ca[_0x2e0ddd(0x18e)],{'type':_0x2e0ddd(0x16e),'array':!![],'alias':_0x1b20ca['PVqya'],'description':_0x1b20ca['UxjYQ']})['option'](_0x1b20ca['IDojG'],{'type':_0x1b20ca[_0x2e0ddd(0x1cc)],'description':_0x2e0ddd(0x1fb),'default':![]})['option']('debug-outcome',{'type':'string','hidden':!![],'choices':[_0x1b20ca['tCQsB'],'partial',_0x2e0ddd(0xcd),_0x2e0ddd(0xc3),_0x1b20ca[_0x2e0ddd(0xf8)]]})['option'](_0x1b20ca['QVWVM'],{'type':'boolean','hidden':!![]})[_0x2e0ddd(0xc6)](_0x1b20ca['UiptL'],{'type':'string','description':'Auth\x20environment\x20key\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Used\x20with\x20RANGER_TEST_USERNAME\x20for\x20ad-hoc\x20runs,\x20and\x20with\x20--profile\x20to\x20override\x20that\x20profile\x27s\x20pinned\x20env\x20for\x20this\x20run.\x20Required\x20to\x20run\x20an\x20automated\x20login\x20against\x20a\x20bare-localhost\x20target\x20(localhost\x20/\x20127.0.0.1).\x20Also\x20respects\x20RANGER_AUTH_ENV.'})['option'](_0x2e0ddd(0x10d),{'type':_0x1b20ca['NGHVG'],'hidden':!![]})[_0x2e0ddd(0xc6)](_0x1b20ca['jOEsa'],{'type':_0x1b20ca[_0x2e0ddd(0x217)],'hidden':!![]});},async _0x28b8f1=>{const _0xf9f056=_0x25a813;await _0x1b20ca[_0xf9f056(0xdb)](runGoCommand,_0x28b8f1);})[_0x25a813(0xda)](_0x1b20ca['RfXJG'],![],_0x25a804=>{const _0x5a2d02=_0x25a813,_0x53b1f8={'aGfOU':'profile','gwPTD':_0x1b20ca[_0x5a2d02(0x1a4)],'TrvAS':_0x1b20ca['fSVxY'],'AGYTA':function(_0x1fa283,_0x49b54e){return _0x1b20ca['yKCOt'](_0x1fa283,_0x49b54e);}};return _0x25a804[_0x5a2d02(0xda)](_0x1b20ca['SpnST'],![],_0x51c0ab=>{const _0x555547=_0x5a2d02;return _0x51c0ab[_0x555547(0x186)](_0x53b1f8['aGfOU'],{'type':_0x555547(0x16e),'description':_0x53b1f8[_0x555547(0xfc)],'demandOption':!![]});},async _0xa0db1d=>{const _0x462965=_0x5a2d02;warnRenamed(_0x462965(0x144),_0x53b1f8[_0x462965(0xe0)]),await _0x53b1f8['AGYTA'](authEncrypt,_0xa0db1d[_0x462965(0x24b)]);})[_0x5a2d02(0x87)](0x1,_0x1b20ca['zyLWY']);},()=>{})[_0x25a813(0xda)]('start\x20[token]',![],_0xc5f4d7=>{const _0x2ee521=_0x25a813;return _0xc5f4d7[_0x2ee521(0x186)](_0x1b20ca['kBYYP'],{'type':_0x1b20ca[_0x2ee521(0x204)],'description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})['option'](_0x1b20ca['TwmiY'],{'type':_0x1b20ca[_0x2ee521(0x1cc)],'description':_0x2ee521(0x1cd),'default':![]})[_0x2ee521(0xc6)]('scope',{'type':'string','choices':[_0x2ee521(0x1f9)],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option']('url',{'type':'string','description':_0x1b20ca[_0x2ee521(0x1b7)]})['option'](_0x2ee521(0x163),{'type':_0x1b20ca['JaqwF'],'description':_0x2ee521(0x233),'default':![]})['option'](_0x1b20ca[_0x2ee521(0x10f)],{'type':_0x2ee521(0x101),'description':_0x1b20ca['KUPrZ'],'default':![]})['option'](_0x2ee521(0x146),{'type':_0x1b20ca[_0x2ee521(0x1cc)],'description':_0x1b20ca['zsBhW'],'default':![]});},async _0xa99636=>{const _0x4a0261=_0x25a813;_0x1b20ca[_0x4a0261(0xb6)](warnRenamed,_0x1b20ca[_0x4a0261(0x176)],_0x4a0261(0x127)),await _0x1b20ca['IMzLO'](withTelemetry,_0x1b20ca[_0x4a0261(0x1c2)],_0x1daa12=>start(_0xa99636['token'],{'skipChromium':_0xa99636[_0x4a0261(0x15b)],'skipAuth':_0xa99636[_0x4a0261(0x1da)],'withDeps':_0xa99636['with-deps'],'scope':_0xa99636[_0x4a0261(0xd1)],'url':_0xa99636[_0x4a0261(0x106)],'force':_0xa99636['force']},_0x1daa12));})[_0x25a813(0xda)]('verify-feature',![],_0x29337a=>{const _0x119c74=_0x25a813;return _0x29337a[_0x119c74(0xc6)]('env',{'type':'string','description':_0x1b20ca[_0x119c74(0x16c)]})[_0x119c74(0xc6)](_0x1b20ca[_0x119c74(0x198)],{'type':_0x1b20ca[_0x119c74(0x204)],'description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})['option'](_0x119c74(0xe5),{'type':_0x1b20ca[_0x119c74(0x217)],'description':_0x1b20ca[_0x119c74(0x1ea)]})[_0x119c74(0xc6)](_0x1b20ca['zQSbP'],{'type':'string','hidden':!![]})['option']('notes',{'type':_0x119c74(0x16e),'hidden':!![]})['option'](_0x1b20ca[_0x119c74(0x11e)],{'type':_0x119c74(0x11c),'hidden':!![]})['option'](_0x119c74(0x230),{'type':_0x1b20ca['NGHVG'],'description':_0x119c74(0x202)})[_0x119c74(0xc6)](_0x1b20ca['rDEeS'],{'type':_0x1b20ca[_0x119c74(0x204)],'description':_0x1b20ca['sDOIp']})['option'](_0x1b20ca[_0x119c74(0x226)],{'type':'string','hidden':!![]})[_0x119c74(0xc6)](_0x1b20ca[_0x119c74(0x147)],{'type':'boolean','hidden':!![],'default':![]})[_0x119c74(0xc6)](_0x1b20ca['aTXtz'],{'type':_0x1b20ca['NGHVG'],'array':!![],'alias':_0x1b20ca[_0x119c74(0x243)],'hidden':!![]})['option']('debug-outcome',{'type':_0x1b20ca[_0x119c74(0x204)],'hidden':!![],'choices':[_0x119c74(0x20a),_0x119c74(0x97),'blocked',_0x119c74(0xc3),_0x1b20ca['verBf']]});},async _0x242757=>{await _0x1b20ca['vUhow'](runGoCommand,_0x242757,!![]);})[_0x25a813(0xda)]('add\x20env\x20<env-name>',![],_0x27a2a5=>{const _0x584da7=_0x25a813;return _0x27a2a5['positional']('env-name',{'type':_0x1b20ca['NGHVG'],'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x584da7(0xc6)]('ci',{'type':_0x1b20ca['JaqwF'],'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})[_0x584da7(0xc6)](_0x584da7(0x1da),{'type':_0x584da7(0x101),'description':_0x584da7(0x16b),'default':![]});},async _0x8208b1=>{const _0x53d313=_0x25a813;_0x1b20ca['xkdZw'](warnRenamed,_0x53d313(0x125),_0x1b20ca['LbFXs']),await _0x1b20ca['WJSCZ'](withTelemetry,_0x53d313(0x17c),_0xd03b9b=>addEnv(_0x8208b1[_0x53d313(0x205)],{'ci':_0x8208b1['ci'],'skipAuth':_0x8208b1[_0x53d313(0x1da)]},_0xd03b9b));})['command'](_0x1b20ca['zZatu'],![],_0x104d32=>{return _0x104d32['positional'](_0x1b20ca['oZzuc'],{'type':'string','description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x32037a=>{const _0x1c2518=_0x25a813;_0x1b20ca['diaIf'](warnRenamed,'ranger\x20use',_0x1c2518(0x114)),await withTelemetry(_0x1b20ca[_0x1c2518(0x248)],()=>useEnv(_0x32037a[_0x1c2518(0x205)]));})['command']('config',![],_0x26ecde=>{const _0x1e6e54=_0x25a813,_0x4d8578={'JqkfO':function(_0x5780a7,_0x5a2cd0,_0x2a4bbb){return _0x5780a7(_0x5a2cd0,_0x2a4bbb);},'vShee':'config\x20set','YshTi':_0x1b20ca[_0x1e6e54(0xd4)],'nXmWO':'ranger\x20profile\x20config\x20get','AdrJj':_0x1b20ca['GRcwm'],'WhrhK':'env','NZsYw':_0x1b20ca[_0x1e6e54(0x1b6)],'HdJNi':function(_0x23e863,_0x315882,_0x160760){return _0x23e863(_0x315882,_0x160760);},'gZPMK':_0x1e6e54(0x1ec),'pCylq':_0x1e6e54(0x1be),'ARvda':_0x1b20ca[_0x1e6e54(0x132)],'LOFAz':_0x1e6e54(0xbc)};return _0x26ecde['command'](_0x1b20ca['BiHZs'],![],_0x3979ba=>{const _0xbc76d2=_0x1e6e54;return _0x3979ba[_0xbc76d2(0x186)]('env',{'type':'string','description':'Environment\x20name','demandOption':!![]})['positional'](_0x1b20ca[_0xbc76d2(0x117)],{'type':_0x1b20ca[_0xbc76d2(0x204)],'description':_0x1b20ca['KQEsy'],'demandOption':!![]})['positional'](_0xbc76d2(0x8e),{'type':'string','description':_0x1b20ca['bQiQm'],'demandOption':!![]});},async _0x1a139e=>{const _0x355d52=_0x1e6e54;_0x4d8578['JqkfO'](warnRenamed,'ranger\x20config\x20set',_0x355d52(0x1fc)),await _0x4d8578[_0x355d52(0x216)](withTelemetry,_0x4d8578['vShee'],()=>configSet(_0x1a139e[_0x355d52(0x21a)],_0x1a139e[_0x355d52(0x160)],_0x1a139e[_0x355d52(0x8e)]));})[_0x1e6e54(0xda)](_0x1b20ca['mexPy'],![],_0x36acb2=>{const _0x802be6=_0x1e6e54;return _0x36acb2['positional'](_0x802be6(0x21a),{'type':_0x802be6(0x16e),'description':'Environment\x20name','demandOption':!![]})[_0x802be6(0x186)]('key',{'type':_0x802be6(0x16e),'description':_0x1b20ca[_0x802be6(0x90)],'demandOption':!![]});},async _0x2aa273=>{const _0x4a6bd3=_0x1e6e54;warnRenamed(_0x4d8578['YshTi'],_0x4d8578[_0x4a6bd3(0xa1)]),await withTelemetry(_0x4d8578['AdrJj'],()=>configGet(_0x2aa273[_0x4a6bd3(0x21a)],_0x2aa273['key']));})['command']('list\x20<env>',![],_0x33f06f=>{const _0x43ae1f=_0x1e6e54;return _0x33f06f['positional'](_0x4d8578[_0x43ae1f(0xfd)],{'type':'string','description':_0x4d8578['NZsYw'],'demandOption':!![]});},async _0x1e9cbe=>{const _0x534faa=_0x1e6e54;_0x4d8578['JqkfO'](warnRenamed,_0x534faa(0xf5),_0x534faa(0xd8)),await _0x4d8578['HdJNi'](withTelemetry,_0x4d8578['gZPMK'],()=>configList(_0x1e9cbe['env']));})['command']('unset\x20<env>\x20<key>',![],_0x27dfdc=>{const _0x34ffc1=_0x1e6e54;return _0x27dfdc['positional']('env',{'type':_0x34ffc1(0x16e),'description':_0x1b20ca[_0x34ffc1(0x1b6)],'demandOption':!![]})['positional']('key',{'type':_0x34ffc1(0x16e),'description':_0x1b20ca['iDbTJ'],'demandOption':!![]});},async _0x257c06=>{const _0x1f3253=_0x1e6e54;_0x4d8578['HdJNi'](warnRenamed,_0x4d8578['pCylq'],_0x4d8578['ARvda']),await _0x4d8578['HdJNi'](withTelemetry,_0x4d8578[_0x1f3253(0x1f0)],()=>configUnset(_0x257c06[_0x1f3253(0x21a)],_0x257c06[_0x1f3253(0x160)]));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20config\x20subcommand');})[_0x25a813(0xda)](_0x1b20ca['UiptL'],![],_0x48257d=>{const _0xaea3d9=_0x25a813;return _0x48257d[_0xaea3d9(0xda)]('ls',![],()=>{},async()=>{const _0x14edce=_0xaea3d9;_0x1b20ca[_0x14edce(0x1fd)](warnRenamed,_0x14edce(0x1d9),_0x1b20ca['QIKhq']),await _0x1b20ca[_0x14edce(0x141)](withTelemetry,'env\x20list',()=>envList());})[_0xaea3d9(0xda)](_0xaea3d9(0xad),![],_0x1deb5a=>{const _0x57f254=_0xaea3d9;return _0x1deb5a['positional']('env-name',{'type':_0x57f254(0x16e),'description':_0x1b20ca[_0x57f254(0x12c)],'demandOption':!![]});},async _0x39f58e=>{const _0x2cc0ee=_0xaea3d9;warnRenamed(_0x1b20ca[_0x2cc0ee(0xc2)],_0x2cc0ee(0x13c)),await _0x1b20ca['HvUBz'](withTelemetry,_0x1b20ca[_0x2cc0ee(0x187)],_0x9db216=>updateEnv(_0x39f58e[_0x2cc0ee(0x205)],_0x9db216));})['demandCommand'](0x1,_0x1b20ca[_0xaea3d9(0xdc)]);})[_0x25a813(0xda)]('feature',![],_0x1ddc26=>{const _0x47eb29=_0x25a813,_0xdc3589={'BviwW':'name','awgMQ':'string','fluNR':'Feature\x20review\x20name','xpnwn':_0x47eb29(0x108),'vlZrM':_0x1b20ca[_0x47eb29(0x208)],'YDoCI':_0x1b20ca[_0x47eb29(0x188)],'UzHdY':_0x1b20ca['fErha'],'cnimG':_0x1b20ca['Ciwjm'],'NObxf':_0x1b20ca['uiDOP'],'vMbFQ':_0x47eb29(0xb8),'IqRiP':_0x47eb29(0x236),'alrRC':_0x1b20ca[_0x47eb29(0x238)],'CALdz':_0x47eb29(0x241),'jGVLi':function(_0x3cb068,_0x1f611e,_0x114275){const _0xa463fa=_0x47eb29;return _0x1b20ca[_0xa463fa(0x1dc)](_0x3cb068,_0x1f611e,_0x114275);},'NEBWs':_0x1b20ca['BHNKL']};return _0x1ddc26['command']('create\x20<name>',![],_0x1fa930=>{const _0x54ea9f=_0x47eb29;return _0x1fa930[_0x54ea9f(0x186)](_0xdc3589['BviwW'],{'type':_0xdc3589['awgMQ'],'description':_0xdc3589['fluNR'],'demandOption':!![]})[_0x54ea9f(0xc6)]('description',{'type':'string','alias':'d','description':'Feature\x20review\x20description'})[_0x54ea9f(0xc6)]('checklist',{'type':_0xdc3589['xpnwn'],'alias':'c','description':_0xdc3589[_0x54ea9f(0xbd)]})['option']('scenario',{'type':_0x54ea9f(0x108),'hidden':!![]});},async _0x486340=>{const _0x50d31d=_0x47eb29;warnRenamed(_0x1b20ca['UVgQl'],_0x50d31d(0x128)),warnFlagRenamed(_0x1b20ca['JqHQC'],_0x50d31d(0x1c9),'--scenario');const _0x49f753=_0x486340['scenario']||_0x486340['checklist'];await withTelemetry(_0x1b20ca[_0x50d31d(0x192)],()=>featureCreate(_0x486340[_0x50d31d(0xac)],{'description':_0x486340[_0x50d31d(0x91)],'scenarios':_0x49f753}));})['command']('list',![],_0x1845a8=>{const _0x5d33a8=_0x47eb29;return _0x1845a8['option']('current-branch',{'type':'boolean','description':_0x5d33a8(0x225)})[_0x5d33a8(0xc6)](_0xdc3589['YDoCI'],{'type':_0xdc3589['UzHdY'],'alias':'l','description':_0xdc3589['cnimG'],'default':0xa})[_0x5d33a8(0xc6)](_0xdc3589['NObxf'],{'type':_0xdc3589['UzHdY'],'alias':'o','description':_0x5d33a8(0x23e),'default':0x0})[_0x5d33a8(0xc6)](_0xdc3589[_0x5d33a8(0xb1)],{'type':_0x5d33a8(0x101),'alias':'d','description':_0xdc3589[_0x5d33a8(0xed)],'default':![]});},async _0x1ed227=>{const _0x110932=_0x47eb29;warnRenamed(_0x1b20ca[_0x110932(0x157)],_0x1b20ca['MXZye']),await _0x1b20ca[_0x110932(0x1df)](withTelemetry,_0x1b20ca['UwsuK'],()=>featureList({'currentBranch':_0x1ed227[_0x110932(0xb7)],'limit':_0x1ed227[_0x110932(0xfb)],'offset':_0x1ed227[_0x110932(0x169)],'includeDeleted':_0x1ed227[_0x110932(0xb8)]}));})[_0x47eb29(0xda)]('show\x20[id]',![],_0x39a731=>{return _0x39a731['positional']('id',{'type':'string','description':_0x1b20ca['xufYD']});},async _0x282779=>{const _0x33b3d0=_0x47eb29;_0x1b20ca['fVlrI'](warnRenamed,'ranger\x20feature\x20show',_0x33b3d0(0x19a)),await _0x1b20ca['WJSCZ'](withTelemetry,_0x1b20ca[_0x33b3d0(0x10e)],()=>featureShow(_0x282779['id']));})['command'](_0x47eb29(0x12b),![],_0x5806bb=>{const _0x21965b=_0x47eb29;return _0x5806bb[_0x21965b(0x186)]('id',{'type':'string','description':_0xdc3589['alrRC']});},async _0x1893a1=>{const _0x3abd9a=_0x47eb29;warnRenamed('ranger\x20feature\x20resume',_0x3abd9a(0x18f)),await _0x1b20ca['GQqwZ'](withTelemetry,'feature\x20resume',()=>featureResume(_0x1893a1['id']));})[_0x47eb29(0xda)](_0x1b20ca['pOMXz'],![],_0x3e84d3=>{const _0x2113f8=_0x47eb29;return _0x3e84d3[_0x2113f8(0x186)](_0x1b20ca[_0x2113f8(0x220)],{'type':_0x1b20ca[_0x2113f8(0x204)],'description':_0x2113f8(0x13e),'demandOption':!![]})['option']('id',{'type':'string','description':_0x1b20ca['wioxG']});},async _0x1c3409=>{const _0x332c59=_0x47eb29;_0x1b20ca[_0x332c59(0x221)](warnRenamed,_0x1b20ca['pgTCp'],_0x1b20ca['BRvqZ']),await _0x1b20ca[_0x332c59(0x229)](withTelemetry,_0x1b20ca[_0x332c59(0x178)],()=>featureAddScenario(_0x1c3409['description'],_0x1c3409['id']));})['command'](_0x47eb29(0x203),![],_0x273e56=>{return _0x273e56['positional']('id',{'type':_0x1b20ca['NGHVG'],'description':_0x1b20ca['wioxG']});},async _0x165b55=>{const _0x3ac8d6=_0x47eb29;warnRenamed(_0xdc3589[_0x3ac8d6(0x1f3)],'ranger\x20get-review'),await withTelemetry(_0x3ac8d6(0x145),()=>featureGetReview(_0x165b55['id']));})['command']('delete\x20[id]',![],_0x5cbc09=>{const _0x5163b3=_0x47eb29;return _0x5cbc09[_0x5163b3(0x186)]('id',{'type':_0xdc3589['awgMQ'],'description':'Feature\x20review\x20ID'});},async _0x503769=>{const _0x1b8dd2=_0x47eb29;_0xdc3589['jGVLi'](warnRenamed,_0xdc3589[_0x1b8dd2(0xa7)],'ranger\x20delete'),await withTelemetry(_0x1b8dd2(0x219),()=>featureDelete(_0x503769['id']));})[_0x47eb29(0xda)](_0x1b20ca['HPuQR'],![],_0x42f8f0=>{const _0x35a6aa=_0x47eb29;return _0x42f8f0['positional']('id',{'type':_0x1b20ca[_0x35a6aa(0x204)],'description':_0x35a6aa(0x170),'demandOption':!![]});},async _0x8817b2=>{const _0x1df2ff=_0x47eb29;_0x1b20ca[_0x1df2ff(0x104)](warnRenamed,'ranger\x20feature\x20restore','ranger\x20restore'),await withTelemetry(_0x1b20ca[_0x1df2ff(0x99)],()=>featureRestore(_0x8817b2['id']));})['demandCommand'](0x1,_0x1b20ca['UmSoH']);})['command'](_0x1b20ca[_0x25a813(0x207)],![],_0x26d984=>{const _0x3c0ae7=_0x25a813,_0x59315e={'BHMtw':_0x1b20ca['cbEIk'],'KPHLO':_0x1b20ca['NGHVG'],'ibFPH':_0x1b20ca['EdROQ'],'vZqHk':function(_0x21b18e,_0x8f89d3,_0xf66a2e){return _0x21b18e(_0x8f89d3,_0xf66a2e);},'HEzLg':'hook:enable'};return _0x26d984['command'](_0x3c0ae7(0x1b1),_0x1b20ca[_0x3c0ae7(0x8d)],_0x2e03d2=>{const _0x500e41=_0x3c0ae7;return _0x2e03d2[_0x500e41(0xc6)](_0x59315e['BHMtw'],{'type':_0x59315e[_0x500e41(0x19c)],'description':_0x59315e[_0x500e41(0x14c)]});},async _0x23a7f0=>{const _0x3ec7d4=_0x3c0ae7;await _0x59315e['vZqHk'](withTelemetry,_0x59315e['HEzLg'],()=>hook(_0x3ec7d4(0x1b1),_0x23a7f0[_0x3ec7d4(0x20f)]));})['command'](_0x1b20ca['kmUsi'],'Disable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x1510f5=>{const _0x2433b8=_0x3c0ae7;return _0x1510f5['option'](_0x59315e[_0x2433b8(0x18a)],{'type':_0x59315e[_0x2433b8(0x19c)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x19c3c8=>{const _0x231e59=_0x3c0ae7;await _0x1b20ca[_0x231e59(0x1f7)](withTelemetry,_0x231e59(0x8c),()=>hook('disable',_0x19c3c8['session-id']));})[_0x3c0ae7(0xc6)](_0x3c0ae7(0xac),{'type':_0x1b20ca[_0x3c0ae7(0x204)],'description':_0x1b20ca['rsbgz']})[_0x3c0ae7(0xc6)](_0x1b20ca[_0x3c0ae7(0x15a)],{'type':_0x3c0ae7(0x16e),'description':_0x1b20ca[_0x3c0ae7(0x181)]});},async _0x486c8b=>{const _0x38023c=_0x25a813;_0x486c8b['name']&&await hook(_0x486c8b[_0x38023c(0xac)],_0x486c8b[_0x1b20ca[_0x38023c(0x15a)]]);})['demandCommand'](0x1,_0x1b20ca['dAwmb'])['strictCommands']()[_0x25a813(0x22a)](async(_0x3a279e,_0x1d6f12,_0x29a3e0)=>{const _0x48c5b9=_0x25a813,_0x5311d7=_0x1b20ca['MfltD'](sanitizeArgs,process['argv'][_0x48c5b9(0x213)](0x2)),_0x1e7662=getErrorType(_0x3a279e,_0x1d6f12);if(_0x3a279e&&_0x3a279e[_0x48c5b9(0x15d)]('Unknown\x20command')){const _0x15c620=process['argv'][0x2];console[_0x48c5b9(0x210)](_0x48c5b9(0x1c4)+_0x15c620),console[_0x48c5b9(0x210)](_0x1b20ca['kaSVJ']);}else{if(_0x3a279e)console['error']('\x0a'+_0x3a279e+'\x0a');else _0x1d6f12&&console[_0x48c5b9(0x210)]('\x0aError:\x20'+_0x1d6f12[_0x48c5b9(0x113)]+'\x0a');}await _0x1b20ca[_0x48c5b9(0x9f)](logDesirePath,{'rawCommand':_0x5311d7,'errorMessage':_0x3a279e||_0x1d6f12?.[_0x48c5b9(0x113)],'errorType':_0x1e7662});const _0x573ba0=getCurrentCollector();_0x573ba0&&await _0x573ba0['trackCommandError'](_0x1d6f12||new Error(_0x1b20ca[_0x48c5b9(0xa3)](_0x3a279e,_0x1b20ca[_0x48c5b9(0x1ae)]))),process[_0x48c5b9(0x13d)](0x1);})['epilogue'](_0x1b20ca['FHcIT']('Documentation:\x0a',_0x1b20ca[_0x25a813(0xc1)])+_0x25a813(0x12a))[_0x25a813(0x1ef)]()[_0x25a813(0xa6)]('help','h');}process['env']['NODE_ENV']!=='test'&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()['parse']());