@ranger-testing/ranger-cli 3.1.7-alpha.62f152a-54 → 3.1.7-alpha.9ed0a8d-59

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 _0x22b25c=_0x5a11;(function(_0x3b9d89,_0x5b077e){const _0xd459a9=_0x5a11,_0x41c75d=_0x3b9d89();while(!![]){try{const _0x5ea0de=parseInt(_0xd459a9(0x2e5))/0x1*(parseInt(_0xd459a9(0x1e3))/0x2)+-parseInt(_0xd459a9(0x28e))/0x3+-parseInt(_0xd459a9(0x202))/0x4+-parseInt(_0xd459a9(0x29a))/0x5*(-parseInt(_0xd459a9(0x1f3))/0x6)+parseInt(_0xd459a9(0x27b))/0x7*(-parseInt(_0xd459a9(0x2db))/0x8)+-parseInt(_0xd459a9(0x329))/0x9*(parseInt(_0xd459a9(0x2d2))/0xa)+parseInt(_0xd459a9(0x1e0))/0xb*(parseInt(_0xd459a9(0x1d4))/0xc);if(_0x5ea0de===_0x5b077e)break;else _0x41c75d['push'](_0x41c75d['shift']());}catch(_0x11fa92){_0x41c75d['push'](_0x41c75d['shift']());}}}(_0x5acd,0x42c19));import _0x58df0f from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x422724=_0x5a11,_0x59ef8e={'oRWsc':function(_0x5336e7,_0x33b6f0){return _0x5336e7(_0x33b6f0);},'gcbTh':function(_0x3f30d5,_0x12eb9a,_0x55daf0){return _0x3f30d5(_0x12eb9a,_0x55daf0);},'UhZZp':function(_0x3b411c,_0x2408e9,_0x572db9){return _0x3b411c(_0x2408e9,_0x572db9);}};let _0x19a999=process['cwd']();const _0x25287c=_0x59ef8e['oRWsc'](parse,_0x19a999)['root'];while(_0x19a999!==_0x25287c){if(existsSync(_0x59ef8e['gcbTh'](join,_0x19a999,_0x422724(0x31b)))||_0x59ef8e[_0x422724(0x21b)](existsSync,_0x59ef8e[_0x422724(0x2f1)](join,_0x19a999,'.env')))return _0x19a999;_0x19a999=_0x59ef8e['oRWsc'](dirname,_0x19a999);}return process[_0x422724(0x353)]();}_0x58df0f[_0x22b25c(0x1c0)]({'path':join(findProjectRoot(),'.env')});import _0x292da8 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 _0x5acd(){const _0x5464a6=['sjxnv','Authenticate\x20via\x20MCP\x20proxy','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','gOOTC','Install\x20skills\x20for\x20OpenCode','kZOsd','config','ranger\x20show','plOOT','WENFC','item','PwNZF','VWvqm','env-name','efgXq','Number\x20of\x20feature\x20reviews\x20to\x20skip','TDFTv','IqHDe','Feature\x20review\x20name','Feature\x20review\x20description','deps','DeQVB','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','PMEoV','6480828ITdssg','--env','cAbIv','YYWwU','ObKEQ','ranger\x20go','edit-scenario','update','create\x20<name>','Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','Rqurc','ewrSJ','11dZxEIq','playwright-cli','RANGER_TEST_USERNAME','23300dPxHIr','ukdaC','fail','ranger\x20create','JeDtJ','delete\x20[id]','Example:\x20ranger\x20create\x20my-feature','auth','Login\x20failed:\x20','yrfLV','strictCommands','qZGyO','YzWlZ','list','OfoTk','feature','6VkTXsF','aiQwU','UaIwu','louWI','verified','\x0aError:\x20','Zmwjp','RANGER_AUTH_ENV','keRYz','organizationName','startsWith','chEex','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','You\x20must\x20specify\x20a\x20profile\x20subcommand','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','1395060NmaYDL','start-path','drqzU','enable','tokenOrSubcommand','ranger\x20feature\x20delete','name','include-deleted','njLDo','Skip\x20the\x20deletion\x20confirmation\x20prompt.','WbMZb','WVBDE','\x20INCOMPLETE','UxTzU','jpsFG','blocked','clean','wmvAJ','CrJhF','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','positional','headed','--item','feature\x20add-checklist-item','scope','oRWsc','option','nZwPJ','dry-run','bpqiJ','get\x20<profile>\x20<key>','ioJON','CqKOr','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','TAAtd','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','env\x20list','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','repeat','exit','Install\x20Ranger\x20skills','unknown\x20error','oKtVx','rvpsj','Config\x20key\x20to\x20remove','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','array','edit-scenario\x20<description>','wVLIn','qMlta','restore\x20<id>','BFfPY','slice','jchNg','--scenario','add-checklist-item\x20<description>','ranger\x20auth\x20encrypt','dyvEh','GAtks','partial','iwVez','resume\x20[id]','jGjaI','allow-url-mismatch','lloHo','description','TBAoB','argv','bliry','incomplete','notes','OnhNE','Summary:\x20','PeYSB','XLESb','FFOOq','env','RTkrI','CzUlJ','offset','delete','demandCommand','cwTYL','EYXuA','tfIKq','login\x20<name>','yzdGf','debug-outcome','JTvhv','ranger\x20list','ranger\x20add\x20env','Lwjkb','GRMfx','wQoiz','\x20BLOCKED','QMyDz','isArray','CVqty','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','oXZQR','limit','setup\x20[tokenOrSubcommand]','ZxPfn','miXXA','RyxbS','wTSBN','qFdkr','tRBBa','print-access-token','kEahD','ImuID','boolean','unset\x20<env>\x20<key>','scriptName','ranger\x20env\x20ls','ranger','debug-address-comments','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','help','1948254phrcOz','skip-chromium','zmree','LMupa','KzZZl','sEZRK','JKmYQ','HBBtd','\x27.\x20Session\x20saved.','epMFp','feature\x20delete','add\x20env','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.','CcnCB','start','parse','ranger\x20config\x20set','mcp-bootstrap','encrypt-auth\x20<profile>','768036RvvwoO','dmFGY','QUrYG','Feature\x20review\x20ID','add\x20env\x20<env-name>','usage','ranger\x20use','Remove\x20a\x20config\x20value','opencode','Name\x20of\x20the\x20profile','update\x20<profile-name>','CePxe','2382005mVaBgm','jvaaQ','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','LKBoS','profile\x20encrypt-auth','RYBcr','hook:enable','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','tmsoj','zSBRO','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','ujJIN','skip-auth','RZsdB','JoAVU','CfHzT','yOKEP','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','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','FYdyg','XnJyA','QLQkc','vWHYn','PXKQS','value','ranger\x20profile\x20encrypt-auth','gHTGc','--notes','yes','wxrcS','VCQkx','task','ranger\x20profile\x20config\x20get','HyMQa','Name\x20of\x20the\x20environment','use\x20<profile-name>','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','mAKIJ','SJuLv','miPEt','lxxyg','TkDPP','eagXa','command','zHHhX','kNNuC','whnLs','scenario','Install\x20OS-level\x20dependencies\x20for\x20Chromium','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','hPQnb','\x0aIssues:','WvaFJ','GxTDm','260wOyDCN','flatMap','weZqH','Authenticate\x20with\x20Ranger','tplWy','profile\x20update','user','map','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','8dgFvXJ','allow-insecure-localhost','status','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','FhhCt','Feature\x20review\x20ID\x20to\x20restore','Scenario\x20description','UxjLb','qVbdZ','HyjxV','39hqOfNc','url','JFnuy','XQkjT','all','List\x20all\x20profiles','profile-name','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','Skip\x20browser\x20authentication','xuaCJ','profile\x20use','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','UhZZp','evaluationReason','filter','RANGER_TEST_PASSWORD','log','BodBY','Profile\x20name','ranger\x20setup','claude','zETfC','summary','NvgAJ','env-var','Include\x20soft-deleted\x20feature\x20reviews','profile\x20config\x20unset','pVtVS','model','YyYsC','force','zsKbT','TnyBP','Manage\x20profiles','issues','hjeLY','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','LkfTe','Install\x20scope\x20for\x20plugin\x20and\x20skills','add-scenario\x20<description>','length','session-id','with-deps','jENQv','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','wtZEw','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','qtLuA','save-creds','SJbaL','--checklist','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','.ranger','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','wQbul','Ranger\x20API\x20token','setup-header','pYbyz','DdHjj','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','cyURh','XUcLF','safe-mode','hGmbS','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','108792WOnMOn','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','--profile','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','dxPMn','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','project','\x20FAILED','ZNbuV','vliIz','NODE_ENV','ranger\x20verify-feature','TEcnI','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','API\x20token','BQIjs','kkYGW','eZmxq','add\x20<profile-name>','CPsHQ','token','Documentation:\x0a','key','profile','current-branch','base-url','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','fOvXO','pXmoJ','KLzyG','GkdLU','HloVW','uLYXU','eGEYz','WfgTJ','LCyOX','get-review\x20[id]','\x20\x20https://docs.ranger.net\x0a','ESKzu','jSIri','cwd','jXzgA','WIuTE','error','wNbdG','mcp','evaluation','.\x20[','Config\x20key','Unknown\x20command','List\x20all\x20config\x20for\x20a\x20profile','NFizt','nfZpf','eTqOQ','skillup','rYOba','lXhvH','qJNuR','\x20is\x20now\x20','FGfap','exitCode','number','ranger\x20resume','vwgKx','hinEw','oLgKm','You\x20must\x20specify\x20a\x20command','get\x20<env>\x20<key>','ranger\x20config\x20unset','dHwkT','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','checklist','fbink','ranger\x20restore','Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','ANXGd','bvMWw','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','IsvrT','string','Name\x20of\x20the\x20environment\x20to\x20update','PoOuF','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','ldOrR','ICllS','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','TqqAn'];_0x5acd=function(){return _0x5464a6;};return _0x5acd();}import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x388460=>{const _0x5aa79e=_0x22b25c,_0x154791={'kEahD':function(_0x6b048b){return _0x6b048b();}},_0x874e0=_0x154791[_0x5aa79e(0x270)](getCurrentCollector);_0x874e0&&await _0x874e0['trackCommandError'](_0x388460),process[_0x5aa79e(0x19f)]=0x1;});const rawArgs=process['argv']['slice'](0x2),TOP_LEVEL_HELP=_0x22b25c(0x287),PROFILE_HELP=_0x22b25c(0x2ad),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201';function warnRenamed(_0x1cecbd,_0xbeb2e0){const _0x577f53=_0x22b25c;console['error']('\x0a'+_0x1cecbd+_0x577f53(0x19d)+_0xbeb2e0+'\x0a');}function argUsed(_0x1fa362){const _0x32e4a9=_0x22b25c;return rawArgs['some'](_0xa4e874=>_0xa4e874===_0x1fa362||_0xa4e874[_0x32e4a9(0x1fd)](_0x1fa362+'='));}function warnFlagRenamed(_0x51769e,_0x4a8e6c,_0xbb0b2e){const _0x136978=_0x22b25c,_0x52d800={'yzdGf':function(_0x2c362c,_0x427cea,_0x20e0a9){return _0x2c362c(_0x427cea,_0x20e0a9);}};argUsed(_0x4a8e6c)&&_0x52d800[_0x136978(0x259)](warnRenamed,_0x51769e+'\x20'+_0x4a8e6c,_0x51769e+'\x20'+_0xbb0b2e);}function normalizeEnvVarNames(_0x52ce34){const _0x280a68=_0x22b25c,_0x59fbf7=Array[_0x280a68(0x263)](_0x52ce34)?_0x52ce34:_0x52ce34?[_0x52ce34]:[];return _0x59fbf7[_0x280a68(0x2d3)](_0x474a39=>String(_0x474a39)['split'](',')[_0x280a68(0x2d9)](_0x157939=>_0x157939['trim']())[_0x280a68(0x2f3)](Boolean));}async function runGoCommand(_0x46e2a4,_0x419ee=![]){const _0x44b303=_0x22b25c,_0x456bc7={'WCCsP':function(_0x278af3,_0x728a0d){return _0x278af3+_0x728a0d;},'NtkUs':function(_0x1280a9,_0x59e9b7,_0x436a00){return _0x1280a9(_0x59e9b7,_0x436a00);},'YYWwU':_0x44b303(0x335),'vcKyJ':_0x44b303(0x1d9),'XZIrJ':function(_0x24fcc9,_0x1b39d1,_0x153dd5,_0xd1b63f){return _0x24fcc9(_0x1b39d1,_0x153dd5,_0xd1b63f);},'WIuTE':_0x44b303(0x1d5),'GxTDm':'--task','lloHo':'env-var','OpJgK':function(_0x119107,_0x23d432){return _0x119107>_0x23d432;},'daKNb':function(_0x2332b2,_0x4ddb3d){return _0x2332b2!==_0x4ddb3d;},'yMYTY':_0x44b303(0x203),'zTrUi':'debug-address-comments','bNQFk':'\x20VERIFIED','eagXa':function(_0x1e8e31,_0x525fb8){return _0x1e8e31===_0x525fb8;},'gOOTC':'incomplete','RyxbS':_0x44b303(0x20e),'GKqDY':'partial','KXwMR':'\x20PARTIAL','eFTTX':'blocked','IisDh':_0x44b303(0x331)};_0x419ee&&(_0x456bc7['NtkUs'](warnRenamed,_0x456bc7[_0x44b303(0x1d7)],_0x456bc7['vcKyJ']),_0x456bc7['XZIrJ'](warnFlagRenamed,'ranger\x20verify-feature',_0x456bc7[_0x44b303(0x355)],_0x44b303(0x32b)));warnFlagRenamed(_0x44b303(0x1d9),_0x456bc7[_0x44b303(0x2d1)],_0x44b303(0x2b6)),_0x456bc7['XZIrJ'](warnFlagRenamed,_0x456bc7['vcKyJ'],_0x44b303(0x218),'--scenario');const _0x32f3a0=await loadRangerConfig(),_0x4875d0=isByokEnabled(),_0x117cb2=_0x46e2a4[_0x44b303(0x301)],_0x32d83b=_0x32f3a0['model'],_0x3d8033=normalizeEnvVarNames(_0x46e2a4[_0x456bc7[_0x44b303(0x243)]]),_0x42d829=getVerificationTransport();if(_0x456bc7['OpJgK'](_0x3d8033['length'],0x0)&&_0x42d829!==_0x44b303(0x1e1)&&_0x456bc7['daKNb'](_0x42d829,'rangerwright-cli'))throw new Error(_0x44b303(0x1ff)+_0x42d829+'.');const _0x16b875=await verifyFeature({'featureId':_0x46e2a4[_0x44b303(0x1f2)],'profile':_0x46e2a4[_0x44b303(0x341)]??(_0x419ee?_0x46e2a4['env']:undefined)??process['env']['RANGER_PROFILE'],'authEnv':_0x419ee?undefined:_0x46e2a4[_0x44b303(0x24f)]??process[_0x44b303(0x24f)][_0x44b303(0x1fa)],'notes':_0x46e2a4[_0x44b303(0x249)]??_0x46e2a4[_0x44b303(0x2ba)],'check':_0x46e2a4['check'],'scenario':_0x46e2a4[_0x44b303(0x2cb)]??_0x46e2a4[_0x44b303(0x1c4)],'startPath':_0x46e2a4[_0x456bc7['yMYTY']],'baseUrl':_0x46e2a4['base-url'],'debugOutcome':_0x46e2a4['debug-outcome'],'debugAddressComments':_0x46e2a4[_0x456bc7['zTrUi']],'headed':_0x46e2a4['headed'],'verifierEnvVars':_0x3d8033,'allowUrlMismatch':_0x46e2a4['allow-url-mismatch'],'byokEnabled':_0x4875d0,'flagVerifyModel':_0x117cb2,'configVerifyModel':_0x32d83b});console['log'](_0x456bc7['WCCsP']('\x0a','='[_0x44b303(0x229)](0x3c))),console['log'](_0x16b875[_0x44b303(0x191)]===_0x44b303(0x1f7)?_0x456bc7['bNQFk']:_0x456bc7[_0x44b303(0x2c6)](_0x16b875[_0x44b303(0x191)],_0x456bc7[_0x44b303(0x1bd)])?_0x456bc7[_0x44b303(0x26b)]:_0x16b875[_0x44b303(0x191)]===_0x456bc7['GKqDY']?_0x456bc7['KXwMR']:_0x16b875[_0x44b303(0x191)]===_0x456bc7['eFTTX']?_0x44b303(0x261):_0x456bc7['IisDh']),console['log']('='['repeat'](0x3c)),console['log'](_0x44b303(0x24b)+_0x16b875[_0x44b303(0x2fb)]),console['log']('Evaluation:\x20'+_0x16b875[_0x44b303(0x191)]),console[_0x44b303(0x2f5)]('Reason:\x20'+_0x16b875[_0x44b303(0x2f2)]),_0x16b875[_0x44b303(0x307)]?.[_0x44b303(0x30e)]&&(console[_0x44b303(0x2f5)](_0x44b303(0x2cf)),_0x16b875[_0x44b303(0x307)]['forEach']((_0x2807f3,_0x317436)=>{const _0x44cd21=_0x44b303;console[_0x44cd21(0x2f5)]('\x0a'+_0x456bc7['WCCsP'](_0x317436,0x1)+_0x44cd21(0x192)+_0x2807f3['severity']+']\x20'+_0x2807f3['description']);})),process[_0x44b303(0x22a)](_0x16b875[_0x44b303(0x191)]===_0x44b303(0x1f7)?0x0:0x1);}export function buildParser(_0x472b23){const _0x43c8ca=_0x22b25c,_0x45072c={'RHTLR':'name','qMlta':'description','aiQwU':'string','PeYSB':_0x43c8ca(0x2f0),'lQApv':'array','EYXuA':_0x43c8ca(0x2ec),'HloVW':_0x43c8ca(0x1e9),'WVBDE':function(_0x13af85,_0x53ba0a,_0x13d9ef,_0x40d29c){return _0x13af85(_0x53ba0a,_0x13d9ef,_0x40d29c);},'KRWEo':_0x43c8ca(0x2bf),'muztG':'limit','BodBY':_0x43c8ca(0x1a0),'IWnrX':_0x43c8ca(0x1c9),'wQbul':_0x43c8ca(0x2fe),'CzUlJ':function(_0x350e8a,_0x1e97d2,_0x11367b){return _0x350e8a(_0x1e97d2,_0x11367b);},'ESKzu':'show','IqHDe':'resume','ZyvzF':'Scenario\x20description','vWHYn':_0x43c8ca(0x2de),'iwVez':function(_0x4c4841,_0x47cd5d,_0xaa6df3){return _0x4c4841(_0x47cd5d,_0xaa6df3);},'fjdhY':'add-scenario','yOKEP':'New\x20scenario\x20description','efgXq':_0x43c8ca(0x2cb),'eLNfA':'Scenario\x20number\x20to\x20edit\x20(1-based)','aXYzm':_0x43c8ca(0x1da),'kNNuC':'exclude-scenario','UxTzU':_0x43c8ca(0x2da),'qVbdZ':'json','TkDPP':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','MZQFn':'get-review','JeDtJ':_0x43c8ca(0x2e0),'jvaaQ':function(_0x217461,_0x58021e,_0xc016bc){return _0x217461(_0x58021e,_0xc016bc);},'GRMfx':'setup:all','qFdkr':_0x43c8ca(0x310),'louWI':'boolean','nfZpf':_0x43c8ca(0x33e),'wVLIn':_0x43c8ca(0x27c),'ujJIN':_0x43c8ca(0x2a4),'ZNbuV':'allow-insecure-localhost','SJuLv':_0x43c8ca(0x32e),'drqzU':_0x43c8ca(0x28c),'uLYXU':_0x43c8ca(0x358),'ncvsv':'Alias\x20for\x20--mcp-bootstrap','hPQnb':'Ranger\x20API\x20token\x20(rngr_...)','Lwjkb':function(_0x3d6d03,_0x2eb6bb){return _0x3d6d03(_0x2eb6bb);},'OIWGD':_0x43c8ca(0x330),'lUmmI':_0x43c8ca(0x30c),'cwTYL':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','VgbUt':'skip-auth','uypmd':'all','GkdLU':'Run\x20full\x20interactive\x20setup','RTkrI':'login','GvhnH':'skills','UxjLb':'profiles','aAAhn':'Set\x20up\x20a\x20local\x20browser\x20profile','dyvEh':'scope','dHwkT':_0x43c8ca(0x2e6),'vVkcd':_0x43c8ca(0x315),'zHHhX':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','rYOba':_0x43c8ca(0x223),'xuaCJ':_0x43c8ca(0x338),'dkjkM':function(_0x1ce21b,_0x2c8ffa,_0x32ed8a){return _0x1ce21b(_0x2c8ffa,_0x32ed8a);},'ywxlG':function(_0x3d7f04,_0x48cb07,_0x334d68){return _0x3d7f04(_0x48cb07,_0x334d68);},'ObKEQ':'profile','MCEEJ':'Skip\x20Chromium\x20browser\x20installation','ukdaC':'setup-ci','HyjxV':function(_0xd2965a,_0x223cb9,_0x35b35a){return _0xd2965a(_0x223cb9,_0x35b35a);},'vwgKx':_0x43c8ca(0x296),'AMDes':function(_0x2366e3,_0x12d458,_0x4a1382){return _0x2366e3(_0x12d458,_0x4a1382);},'uRJWe':_0x43c8ca(0x212),'lCIFT':_0x43c8ca(0x297),'Rqurc':_0x43c8ca(0x2eb),'RZsdB':_0x43c8ca(0x1ad),'TAAtd':_0x43c8ca(0x2b7),'wxrcS':_0x43c8ca(0x20b),'TBAoB':_0x43c8ca(0x2f7),'oKtVx':_0x43c8ca(0x1a9),'wtZEw':_0x43c8ca(0x1dd),'TEcnI':_0x43c8ca(0x2d7),'sjxnv':'cdp-endpoint','kkYGW':_0x43c8ca(0x24f),'WbMZb':_0x43c8ca(0x340),'lGCyn':_0x43c8ca(0x193),'IsvrT':_0x43c8ca(0x295),'wKKYi':'Add\x20profile\x20configuration','Wvwae':_0x43c8ca(0x2be),'gwSzm':'delete\x20<profile-name>','TnyBP':'Delete\x20a\x20cloud\x20profile','jWUBP':_0x43c8ca(0x298),'HNFjs':_0x43c8ca(0x258),'CVqty':'Manage\x20profile\x20configuration','wqYuG':_0x43c8ca(0x2dd),'LkfTe':_0x43c8ca(0x1db),'oXZQR':function(_0x20a277){return _0x20a277();},'qXtbG':function(_0xc6b501,_0x20e97c,_0xf0aa1a){return _0xc6b501(_0x20e97c,_0xf0aa1a);},'XnJyA':_0x43c8ca(0x26f),'KLzyG':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','yaCtE':_0x43c8ca(0x2c0),'fOvXO':'model','xAGKl':'environment-variable','dmFGY':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','PwNZF':_0x43c8ca(0x211),'FQvyK':_0x43c8ca(0x277),'JKmYQ':'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.','plOOT':_0x43c8ca(0x2ba),'CcnCB':'encrypt\x20<profile>','SJbaL':'You\x20must\x20specify\x20an\x20auth\x20subcommand','tmsoj':_0x43c8ca(0x230),'IbUDz':_0x43c8ca(0x2d8),'HyMQa':'Skip\x20authentication','bbxtL':_0x43c8ca(0x2cc),'ioJON':_0x43c8ca(0x2f8),'yRIpC':function(_0x46e8d5,_0x5508c0,_0x1cf916){return _0x46e8d5(_0x5508c0,_0x1cf916);},'hinEw':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','IgsVq':_0x43c8ca(0x1b8),'BuKyH':_0x43c8ca(0x249),'ImuID':_0x43c8ca(0x203),'LMupa':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','yCvwx':_0x43c8ca(0x217),'ICllS':_0x43c8ca(0x1f7),'iKZOj':_0x43c8ca(0x248),'dxPMn':function(_0x1aaa48,_0x1d33a3,_0x1c54bd){return _0x1aaa48(_0x1d33a3,_0x1c54bd);},'UaIwu':'env-name','whnLs':_0x43c8ca(0x224),'phnPC':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','lXhvH':function(_0x125c71,_0x50e322,_0x3ab616){return _0x125c71(_0x50e322,_0x3ab616);},'SEqGb':_0x43c8ca(0x294),'LKBoS':'use','ewrSJ':'ranger\x20profile\x20config\x20set','AdfPZ':function(_0x2b975c,_0x148078,_0x45469f){return _0x2b975c(_0x148078,_0x45469f);},'wmvAJ':function(_0xb9572a,_0x38a3d0,_0x1d5f28){return _0xb9572a(_0x38a3d0,_0x1d5f28);},'JFnuy':_0x43c8ca(0x22f),'ANXGd':function(_0xb8cfda,_0xaf5638,_0x7e90cf){return _0xb8cfda(_0xaf5638,_0x7e90cf);},'BFfPY':'config\x20unset','Ibksx':'ranger\x20profile\x20config\x20list','CrJhF':'config\x20list','jENQv':_0x43c8ca(0x273),'TzfwX':'You\x20must\x20specify\x20a\x20config\x20subcommand','zsKbT':'ranger\x20profile\x20ls','ZzRLd':function(_0x38b7ee,_0x2274a4,_0x1d3ca2){return _0x38b7ee(_0x2274a4,_0x1d3ca2);},'fwioY':_0x43c8ca(0x1b3),'weZqH':'update\x20<env-name>','jSIri':'You\x20must\x20specify\x20an\x20env\x20subcommand','XQkjT':_0x43c8ca(0x25c),'bDKJl':'ranger\x20get-review','JTvhv':function(_0x5ee6c1,_0x236644,_0x366bec){return _0x5ee6c1(_0x236644,_0x366bec);},'nnCKt':_0x43c8ca(0x285),'CePxe':function(_0x41d5d4,_0x2a7250,_0x23a586){return _0x41d5d4(_0x2a7250,_0x23a586);},'CfHzT':'ranger\x20feature\x20restore','ldOrR':'Feature\x20review\x20description','FhhCt':_0x43c8ca(0x1aa),'wQoiz':'ranger\x20feature\x20create','JuwLy':'--scenario','kZOsd':function(_0x787fc1,_0x5a869d,_0x8a197b){return _0x787fc1(_0x5a869d,_0x8a197b);},'pXmoJ':function(_0x21832d,_0x40270b,_0x4af123){return _0x21832d(_0x40270b,_0x4af123);},'QUrYG':function(_0x53b637,_0x293a6e,_0x315f15){return _0x53b637(_0x293a6e,_0x315f15);},'kugHT':'feature\x20resume','YiBzX':'list','eZmxq':_0x43c8ca(0x240),'jGjaI':'get-feedback\x20[id]','oJnHq':'delete\x20[id]','cyURh':_0x43c8ca(0x235),'AlzNp':_0x43c8ca(0x2a0),'xpQWx':_0x43c8ca(0x205),'hjVbq':_0x43c8ca(0x2ac),'AXIQy':'disable','ISgMc':_0x43c8ca(0x2a1),'LwZRz':_0x43c8ca(0x314),'NFizt':_0x43c8ca(0x30f),'bgPhD':_0x43c8ca(0x1d0),'KzZZl':function(_0x8106df,_0x52c6a9,_0x4f689d){return _0x8106df(_0x52c6a9,_0x4f689d);},'DZmEe':_0x43c8ca(0x194),'dmHNF':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','NvgAJ':'Unknown\x20error','PXKQS':_0x43c8ca(0x276),'FGfap':_0x43c8ca(0x1dc),'FYdyg':'List\x20all\x20feature\x20reviews','bxzhG':'show\x20[id]','SlUtR':_0x43c8ca(0x232),'pVtVS':_0x43c8ca(0x1bc),'SWSpz':'report\x20[id]','eTqOQ':_0x43c8ca(0x31c),'ZWiNH':_0x43c8ca(0x34f),'kNmgs':'Restore\x20a\x20soft-deleted\x20feature\x20review','vbbDI':_0x43c8ca(0x268),'WkuRr':'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','vLkVM':'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','tyFnS':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','rvpsj':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','bnEzd':'Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','UkNok':_0x43c8ca(0x1ea),'YyYsC':'start\x20[token]','AVpJr':'use\x20<env-name>','XLESb':'hook','HBBtd':function(_0x329c58,_0xf79a0a){return _0x329c58+_0xf79a0a;}};return _0x45072c['Lwjkb'](_0x292da8,_0x472b23??process[_0x43c8ca(0x246)][_0x43c8ca(0x237)](0x2))[_0x43c8ca(0x274)](_0x45072c[_0x43c8ca(0x2b2)])[_0x43c8ca(0x293)](TOP_LEVEL_HELP)['version'](getCurrentVersion())[_0x43c8ca(0x2c7)](_0x45072c[_0x43c8ca(0x19e)],_0x43c8ca(0x32a),_0x46828e=>{const _0x491362=_0x43c8ca;return _0x46828e['positional'](_0x45072c['RHTLR'],{'type':_0x491362(0x1b2),'description':_0x491362(0x1cc),'demandOption':!![]})['option'](_0x45072c[_0x491362(0x234)],{'type':_0x45072c['aiQwU'],'alias':'d','description':_0x491362(0x1cd)})[_0x491362(0x21c)](_0x491362(0x2cb),{'type':'array','alias':'c','description':_0x45072c[_0x491362(0x24c)]})[_0x491362(0x21c)](_0x491362(0x1aa),{'type':_0x45072c['lQApv'],'hidden':!![]});},async _0x5deab8=>{const _0x5debd6=_0x43c8ca;if(!_0x5deab8[_0x5debd6(0x208)]){console['error'](_0x45072c[_0x5debd6(0x256)]+_0x45072c[_0x5debd6(0x34a)]),process[_0x5debd6(0x22a)](0x1);return;}_0x45072c[_0x5debd6(0x20d)](warnFlagRenamed,_0x5debd6(0x1e6),_0x5debd6(0x319),_0x5debd6(0x239));const _0x54438a=_0x5deab8[_0x5debd6(0x2cb)]||_0x5deab8['checklist'];await withTelemetry('create',()=>featureCreate(_0x5deab8[_0x5debd6(0x208)],{'description':_0x5deab8['description'],'scenarios':_0x54438a}));})['command'](_0x43c8ca(0x1f0),_0x45072c[_0x43c8ca(0x2ae)],_0x2f36e2=>{const _0xa9939c=_0x43c8ca;return _0x2f36e2['option'](_0xa9939c(0x342),{'type':_0xa9939c(0x272),'description':_0x45072c['KRWEo']})[_0xa9939c(0x21c)](_0x45072c['muztG'],{'type':'number','alias':'l','description':_0xa9939c(0x345),'default':0xa})[_0xa9939c(0x21c)]('offset',{'type':_0x45072c[_0xa9939c(0x2f6)],'alias':'o','description':_0x45072c['IWnrX'],'default':0x0})[_0xa9939c(0x21c)](_0xa9939c(0x209),{'type':_0xa9939c(0x272),'alias':'d','description':_0x45072c[_0xa9939c(0x31d)],'default':![]});},async _0x1fae7f=>{const _0x1e93bf=_0x43c8ca;await _0x45072c[_0x1e93bf(0x251)](withTelemetry,_0x1e93bf(0x1f0),()=>featureList({'currentBranch':_0x1fae7f[_0x1e93bf(0x342)],'limit':_0x1fae7f['limit'],'offset':_0x1fae7f['offset'],'includeDeleted':_0x1fae7f['include-deleted']}));})[_0x43c8ca(0x2c7)](_0x45072c['bxzhG'],'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x153048=>{const _0x459fae=_0x43c8ca;return _0x153048[_0x459fae(0x216)]('id',{'type':_0x45072c[_0x459fae(0x1f4)],'description':_0x459fae(0x291)});},async _0x15d1e4=>{const _0xb501ee=_0x43c8ca;await _0x45072c['CzUlJ'](withTelemetry,_0x45072c[_0xb501ee(0x351)],()=>featureShow(_0x15d1e4['id']));})['command'](_0x45072c[_0x43c8ca(0x33b)],_0x43c8ca(0x279),_0x4be63e=>{const _0x44d609=_0x43c8ca;return _0x4be63e['positional']('id',{'type':_0x44d609(0x1b2),'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x4d3bfe=>{const _0x141525=_0x43c8ca;await withTelemetry(_0x45072c[_0x141525(0x1cb)],()=>featureResume(_0x4d3bfe['id']));})['command'](_0x43c8ca(0x30d),_0x43c8ca(0x2ab),_0x4594cb=>{const _0x1ced36=_0x43c8ca;return _0x4594cb['positional'](_0x45072c['qMlta'],{'type':_0x45072c['aiQwU'],'description':_0x45072c['ZyvzF'],'demandOption':!![]})['option']('id',{'type':_0x1ced36(0x1b2),'description':_0x45072c['vWHYn']});},async _0x280413=>{await _0x45072c['iwVez'](withTelemetry,_0x45072c['fjdhY'],()=>featureAddScenario(_0x280413['description'],_0x280413['id']));})['command'](_0x45072c['SlUtR'],_0x45072c[_0x43c8ca(0x300)],_0x21c97d=>{const _0x32fe5b=_0x43c8ca;return _0x21c97d[_0x32fe5b(0x216)](_0x45072c['qMlta'],{'type':_0x45072c[_0x32fe5b(0x1f4)],'description':_0x45072c[_0x32fe5b(0x2aa)],'demandOption':!![]})['option'](_0x45072c['efgXq'],{'type':_0x45072c[_0x32fe5b(0x2f6)],'description':_0x45072c['eLNfA'],'demandOption':!![]})[_0x32fe5b(0x21c)]('id',{'type':'string','description':_0x32fe5b(0x2de)});},async _0x5cad22=>{const _0x484ed2=_0x43c8ca;await withTelemetry(_0x45072c['aXYzm'],()=>featureEditScenario(_0x5cad22['description'],{'id':_0x5cad22['id'],'scenario':_0x5cad22[_0x484ed2(0x2cb)]}));})['command'](_0x45072c['SWSpz'],_0x45072c[_0x43c8ca(0x198)],_0x3ec94b=>{const _0x199142=_0x43c8ca;return _0x3ec94b['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'})['option'](_0x45072c['kNNuC'],{'type':_0x45072c['lQApv'],'description':_0x45072c[_0x199142(0x20f)]})[_0x199142(0x21c)](_0x45072c[_0x199142(0x2e3)],{'type':'boolean','description':_0x45072c[_0x199142(0x2c5)],'default':![]});},async _0x427f58=>{const _0x2c31ae=_0x43c8ca,_0x63c99b=_0x427f58[_0x45072c[_0x2c31ae(0x2c9)]],_0x35d110=_0x63c99b?_0x63c99b['map'](_0x61f6b5=>Number(_0x61f6b5)):undefined;await _0x45072c[_0x2c31ae(0x251)](withTelemetry,'report',()=>featureReportPrDescription(_0x427f58['id'],{'excludeScenarios':_0x35d110,'json':_0x427f58['json']}));})[_0x43c8ca(0x2c7)](_0x45072c['ZWiNH'],'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x3006a0=>{const _0x4e0cf1=_0x43c8ca;return _0x3006a0[_0x4e0cf1(0x216)]('id',{'type':'string','description':_0x45072c[_0x4e0cf1(0x2b1)]});},async _0x52ddee=>{await withTelemetry(_0x45072c['MZQFn'],()=>featureGetReview(_0x52ddee['id']));})['command'](_0x43c8ca(0x1e8),'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x30c937=>{const _0x4fb8cf=_0x43c8ca;return _0x30c937['positional']('id',{'type':_0x45072c[_0x4fb8cf(0x1f4)],'description':'Feature\x20review\x20ID'});},async _0x48953e=>{const _0x14ef5f=_0x43c8ca;await withTelemetry(_0x14ef5f(0x253),()=>featureDelete(_0x48953e['id']));})['command'](_0x45072c[_0x43c8ca(0x324)],_0x45072c['kNmgs'],_0x1e5ee5=>{const _0x1ff232=_0x43c8ca;return _0x1e5ee5[_0x1ff232(0x216)]('id',{'type':_0x45072c['aiQwU'],'description':_0x45072c[_0x1ff232(0x1e7)],'demandOption':!![]});},async _0x4304e3=>{await withTelemetry('restore',()=>featureRestore(_0x4304e3['id']));})['command'](_0x45072c['vbbDI'],'Initialize\x20Ranger\x20in\x20your\x20project',_0x4dc4c3=>{const _0xb3c76a=_0x43c8ca,_0x59ba96={'CfWuY':_0x45072c['nfZpf'],'fbink':'string','WvaFJ':_0x45072c['wVLIn'],'epMFp':_0x45072c[_0xb3c76a(0x1f6)],'IIQzy':'Skip\x20authentication','whByB':_0xb3c76a(0x21a),'RYBcr':_0x45072c[_0xb3c76a(0x2a5)],'wTSBN':_0xb3c76a(0x2e6),'WENFC':_0xb3c76a(0x303),'YEaTc':_0xb3c76a(0x315),'vliIz':'opencode','miPEt':_0x45072c[_0xb3c76a(0x332)],'BQIjs':_0x45072c[_0xb3c76a(0x2c2)],'LIPKs':_0x45072c[_0xb3c76a(0x204)],'PoOuF':_0x45072c[_0xb3c76a(0x34b)],'tRBBa':_0x45072c['ncvsv'],'bpqiJ':function(_0x518b6e,_0x552d53,_0x328d7e){return _0x518b6e(_0x552d53,_0x328d7e);},'VCQkx':_0x45072c[_0xb3c76a(0x2ce)],'zSBRO':function(_0x7687a8){return _0x7687a8();},'PMJdO':function(_0x195ccb,_0x1b8d2b){const _0x575911=_0xb3c76a;return _0x45072c[_0x575911(0x25e)](_0x195ccb,_0x1b8d2b);},'jpsFG':_0x45072c['OIWGD'],'XUcLF':_0x45072c['lUmmI'],'oZqEw':_0x45072c['cwTYL'],'nDCkB':'setup:skills','TDFTv':'Base\x20URL\x20of\x20the\x20running\x20app','EBPio':_0x45072c['VgbUt'],'CqKOr':function(_0x42a250,_0x20b67e){return _0x42a250!==_0x20b67e;},'wNbdG':_0xb3c76a(0x2d8),'uaoFQ':function(_0x470bca,_0x11de81){return _0x470bca+_0x11de81;},'TqqAn':function(_0x1bbca4,_0x493283,_0x1ce541){return _0x1bbca4(_0x493283,_0x1ce541);}};return _0x4dc4c3[_0xb3c76a(0x293)]('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')[_0xb3c76a(0x216)](_0xb3c76a(0x206),{'type':_0x45072c['aiQwU'],'description':'Subcommand\x20or\x20API\x20token\x20(rngr_...)'})[_0xb3c76a(0x2c7)](_0x45072c['uypmd'],_0x45072c[_0xb3c76a(0x349)],_0x59781b=>{const _0x1f0671=_0xb3c76a;return _0x59781b[_0x1f0671(0x21c)](_0x59ba96['CfWuY'],{'type':_0x59ba96['fbink'],'description':_0x1f0671(0x31e)})['option'](_0x59ba96[_0x1f0671(0x2d0)],{'type':_0x59ba96[_0x1f0671(0x284)],'description':_0x1f0671(0x1d1),'default':![]})[_0x1f0671(0x21c)](_0x1f0671(0x2a6),{'type':_0x59ba96['epMFp'],'description':_0x59ba96['IIQzy'],'default':![]})['option'](_0x1f0671(0x310),{'type':_0x59ba96[_0x1f0671(0x284)],'description':_0x1f0671(0x2cc),'default':![]})[_0x1f0671(0x21c)](_0x59ba96['whByB'],{'type':_0x59ba96['fbink'],'choices':['user'],'hidden':!![],'description':_0x59ba96[_0x1f0671(0x29f)]})['option'](_0x59ba96[_0x1f0671(0x26c)],{'type':_0x1f0671(0x1b2),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})['option'](_0x59ba96[_0x1f0671(0x1c3)],{'type':_0x1f0671(0x272),'description':_0x59ba96['YEaTc'],'default':![]})['option'](_0x59ba96[_0x1f0671(0x333)],{'type':_0x1f0671(0x272),'description':_0x1f0671(0x322),'default':![]})[_0x1f0671(0x21c)](_0x59ba96[_0x1f0671(0x2c3)],{'type':_0x59ba96[_0x1f0671(0x284)],'description':_0x59ba96[_0x1f0671(0x339)],'default':![]})[_0x1f0671(0x21c)](_0x59ba96['LIPKs'],{'type':_0x59ba96['epMFp'],'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','default':![]})[_0x1f0671(0x21c)](_0x59ba96[_0x1f0671(0x1b4)],{'type':'boolean','description':_0x59ba96[_0x1f0671(0x26e)],'default':![]});},async _0xe02c16=>{const _0x22f9de=_0xb3c76a;(_0xe02c16[_0x22f9de(0x28c)]||_0xe02c16['mcp'])&&await _0x45072c[_0x22f9de(0x29b)](withTelemetry,_0x22f9de(0x28c),()=>mcpBootstrap()),await _0x45072c[_0x22f9de(0x251)](withTelemetry,_0x45072c[_0x22f9de(0x25f)],_0x4f1c35=>start(_0xe02c16['token'],{'skipChromium':_0xe02c16['skip-chromium'],'skipAuth':_0xe02c16[_0x22f9de(0x2a6)],'withDeps':_0xe02c16['with-deps'],'scope':_0xe02c16['scope'],'url':_0xe02c16['url'],'force':_0xe02c16['force'],'opencode':_0xe02c16[_0x22f9de(0x296)],'allowInsecureLocalhost':_0xe02c16['allow-insecure-localhost']},_0x4f1c35));})[_0xb3c76a(0x2c7)](_0xb3c76a(0x1ce),'Install\x20Chromium\x20browser\x20binary',_0x14b755=>{const _0x5b1c67=_0xb3c76a;return _0x14b755[_0x5b1c67(0x21c)](_0x45072c[_0x5b1c67(0x26d)],{'type':_0x45072c['louWI'],'description':_0x5b1c67(0x223),'default':![]});},async _0x5bf730=>{const _0x4dcaaf=_0xb3c76a;await _0x59ba96[_0x4dcaaf(0x21f)](withTelemetry,'setup:deps',()=>ensureChromium(_0x5bf730[_0x4dcaaf(0x310)]));})['command'](_0x45072c[_0xb3c76a(0x250)],_0xb3c76a(0x2d5),_0xb11a19=>{const _0x58506f=_0xb3c76a;return _0xb11a19[_0x58506f(0x21c)]('token',{'type':_0x59ba96[_0x58506f(0x1ab)],'description':_0x59ba96[_0x58506f(0x2b9)]})[_0x58506f(0x21c)](_0x59ba96[_0x58506f(0x1b4)],{'type':_0x59ba96['epMFp'],'description':_0x58506f(0x1bb),'default':![]});},async _0xf905b4=>{const _0x2f0dbd=_0xb3c76a,_0x3465ce={'ANZqC':function(_0x25aabd){const _0x578b8f=_0x5a11;return _0x59ba96[_0x578b8f(0x2a3)](_0x25aabd);},'DdprC':function(_0x34c135,_0x159424){return _0x59ba96['PMJdO'](_0x34c135,_0x159424);}};await _0x59ba96[_0x2f0dbd(0x21f)](withTelemetry,'setup:login',async()=>{const _0x268bcd=_0x2f0dbd;if(_0xf905b4['mcp']){await mcpBootstrap();const _0x1bc767=await _0x3465ce['ANZqC'](refreshCliToken);if(!_0x1bc767)throw new Error(_0x268bcd(0x228));const _0x5e92ac=await getCurrentUser(_0x1bc767);if(!_0x5e92ac['success'])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x5e92ac[_0x268bcd(0x356)]);console['log']('✓\x20Authenticated\x20to\x20'+_0x5e92ac[_0x268bcd(0x2d8)][_0x268bcd(0x1fc)]);return;}await _0x3465ce['DdprC'](authenticate,_0xf905b4['token']);});})[_0xb3c76a(0x2c7)](_0x45072c['GvhnH'],_0xb3c76a(0x31a),_0x26b138=>{const _0x1ccb73=_0xb3c76a;return _0x26b138[_0x1ccb73(0x21c)]('scope',{'type':_0x59ba96['fbink'],'choices':['user',_0x59ba96[_0x1ccb73(0x210)]],'description':_0x59ba96[_0x1ccb73(0x325)]})['option'](_0x59ba96[_0x1ccb73(0x333)],{'type':_0x1ccb73(0x272),'description':_0x59ba96['oZqEw'],'default':![]});},async _0x54dad5=>{const _0x38c3b3={'IdHvL':function(_0x45e500,_0x241e2c){return _0x45e500(_0x241e2c);},'qtLuA':'ranger'};await withTelemetry(_0x59ba96['nDCkB'],async()=>{const _0xa9d14a=_0x5a11,_0x439e2c=_0x54dad5[_0xa9d14a(0x21a)];if(_0x54dad5['opencode']){const _0x2b27ce=await _0x38c3b3['IdHvL'](ensureOpencodePluginConfig,_0x439e2c);_0x2b27ce&&await installSkill(_0x38c3b3[_0xa9d14a(0x316)],{'level':_0x2b27ce['scope'],'cliVersion':getCurrentVersion(),'platform':'opencode'});}else await _0x38c3b3['IdHvL'](ensureClaudePlugin,_0x439e2c),await ensureClaudeSkills(_0x439e2c);});})['command'](_0x45072c[_0xb3c76a(0x2e2)],_0x45072c['aAAhn'],_0x5819e3=>{const _0x4f27dc=_0xb3c76a;return _0x5819e3[_0x4f27dc(0x21c)](_0x4f27dc(0x21a),{'type':_0x59ba96['fbink'],'choices':['user'],'description':_0x59ba96['RYBcr']})['option'](_0x59ba96['wTSBN'],{'type':_0x59ba96[_0x4f27dc(0x1ab)],'description':_0x59ba96[_0x4f27dc(0x1ca)]})[_0x4f27dc(0x21c)](_0x59ba96['EBPio'],{'type':_0x59ba96['epMFp'],'description':_0x4f27dc(0x2ed),'default':![]})[_0x4f27dc(0x21c)](_0x59ba96[_0x4f27dc(0x1c3)],{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x59ba96[_0x4f27dc(0x2c3)],{'type':_0x59ba96[_0x4f27dc(0x284)],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x41f838=>{const _0x5e1428=_0xb3c76a,_0x568714=_0x41f838[_0x5e1428(0x21a)];_0x59ba96[_0x5e1428(0x222)](_0x568714,undefined)&&_0x568714!==_0x59ba96[_0x5e1428(0x357)]&&(console[_0x5e1428(0x356)](_0x59ba96['uaoFQ']('ranger\x20setup\x20profiles\x20--scope='+_0x568714+'\x20is\x20no\x20longer\x20supported.\x20'+_0x5e1428(0x201),'Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.')),process[_0x5e1428(0x22a)](0x1)),await _0x59ba96[_0x5e1428(0x1b9)](withTelemetry,'setup:profiles',_0x5d0674=>ensureLocalEnv({'url':_0x41f838['url'],'force':_0x41f838[_0x5e1428(0x303)],'allowInsecureLocalhost':_0x41f838['allow-insecure-localhost'],'scope':'user'},_0x5d0674));})[_0xb3c76a(0x21c)](_0x45072c[_0xb3c76a(0x233)],{'type':'boolean','description':_0xb3c76a(0x1d1),'default':![]})[_0xb3c76a(0x21c)](_0x45072c[_0xb3c76a(0x23c)],{'type':_0x45072c['aiQwU'],'choices':[_0xb3c76a(0x2d8)],'hidden':!![],'description':_0xb3c76a(0x2a4)})['option'](_0x45072c[_0xb3c76a(0x1a8)],{'type':_0xb3c76a(0x1b2),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option']('force',{'type':_0x45072c[_0xb3c76a(0x1f6)],'description':_0x45072c['vVkcd'],'default':![]})[_0xb3c76a(0x21c)]('opencode',{'type':_0x45072c['louWI'],'description':_0x45072c[_0xb3c76a(0x255)],'default':![]})['option'](_0xb3c76a(0x2dc),{'type':_0x45072c[_0xb3c76a(0x1f6)],'description':_0xb3c76a(0x1a9),'default':![]})['option'](_0x45072c['drqzU'],{'type':_0xb3c76a(0x272),'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','default':![]})[_0xb3c76a(0x21c)](_0xb3c76a(0x2a6),{'type':_0x45072c[_0xb3c76a(0x1f6)],'description':_0x45072c[_0xb3c76a(0x2c8)],'default':![]})['option'](_0x45072c[_0xb3c76a(0x26d)],{'type':_0xb3c76a(0x272),'description':_0x45072c[_0xb3c76a(0x19a)],'default':![]})['option'](_0x45072c[_0xb3c76a(0x197)],{'type':_0x45072c[_0xb3c76a(0x1f4)],'hidden':!![],'description':_0x45072c[_0xb3c76a(0x2ee)]});},async _0x3f77dc=>{const _0x3015d3=_0x43c8ca,_0x1da741=_0x3f77dc[_0x3015d3(0x206)],_0x39fc26=_0x3f77dc[_0x3015d3(0x33e)]??_0x1da741;_0x3f77dc['mcp-bootstrap']&&await _0x45072c['dkjkM'](withTelemetry,'mcp-bootstrap',()=>mcpBootstrap()),await _0x45072c['ywxlG'](withTelemetry,_0x3015d3(0x289),_0x31b3a3=>start(_0x39fc26,{'skipChromium':_0x3f77dc['skip-chromium'],'skipAuth':_0x3f77dc[_0x3015d3(0x2a6)],'withDeps':_0x3f77dc['with-deps'],'scope':_0x3f77dc['scope'],'url':_0x3f77dc[_0x3015d3(0x2e6)],'force':_0x3f77dc[_0x3015d3(0x303)],'opencode':_0x3f77dc[_0x3015d3(0x296)],'allowInsecureLocalhost':_0x3f77dc[_0x3015d3(0x2dc)]},_0x31b3a3));})['command']('setup-ci\x20<token>',![],_0x226c3d=>{const _0x47c03c=_0x43c8ca;return _0x226c3d['positional'](_0x45072c['nfZpf'],{'type':_0x45072c[_0x47c03c(0x1f4)],'description':'Ranger\x20API\x20token','demandOption':!![]})['option'](_0x45072c['ObKEQ'],{'type':'string','description':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)'})[_0x47c03c(0x21c)](_0x47c03c(0x343),{'type':_0x47c03c(0x1b2),'description':_0x47c03c(0x215)})['option'](_0x47c03c(0x27c),{'type':_0x45072c[_0x47c03c(0x1f6)],'description':_0x45072c['MCEEJ'],'default':![]});},async _0x21c3ba=>{const _0x5dc99c=_0x43c8ca;await withTelemetry(_0x45072c[_0x5dc99c(0x1e4)],_0x3a7edb=>setupCi(_0x21c3ba['token'],{'profile':_0x21c3ba['profile'],'baseUrl':_0x21c3ba['base-url'],'skipChromium':_0x21c3ba['skip-chromium']},_0x3a7edb));})[_0x43c8ca(0x2c7)](_0x45072c[_0x43c8ca(0x250)],_0x45072c['WkuRr'],()=>{},async()=>{const _0x30a01e=_0x43c8ca;await _0x45072c[_0x30a01e(0x2e4)](withTelemetry,_0x45072c['RTkrI'],()=>login());})['command'](_0x43c8ca(0x199),_0x43c8ca(0x22b),_0x3793f9=>{const _0xcfb9e0=_0x43c8ca;return _0x3793f9['option'](_0x45072c[_0xcfb9e0(0x1a2)],{'type':'boolean','description':_0xcfb9e0(0x1be),'default':![]})['option'](_0xcfb9e0(0x21a),{'type':'string','choices':['user','project'],'description':'Install\x20scope\x20for\x20skills'});},async _0xc10464=>{const _0x5d65b9=_0x43c8ca,_0x552bcb=_0x45072c[_0x5d65b9(0x25e)](Boolean,_0xc10464[_0x5d65b9(0x296)]);await _0x45072c[_0x5d65b9(0x2e4)](withTelemetry,'skillup',()=>skillup({'autoInstall':_0xc10464[_0x5d65b9(0x21a)],'platform':_0x552bcb?'opencode':_0x5d65b9(0x2f9)}));})['command']('clean',_0x45072c['vLkVM'],()=>{},async()=>{await _0x45072c['AMDes'](withTelemetry,_0x45072c['uRJWe'],()=>clean());})['command']([_0x45072c[_0x43c8ca(0x1d8)],'profiles'],_0x43c8ca(0x306),_0x140188=>{const _0x4d4d9d=_0x43c8ca,_0xb5b135={'YzWlZ':_0x45072c['aiQwU'],'FFOOq':_0x45072c['louWI'],'NEubd':_0x4d4d9d(0x265),'keRYz':_0x45072c[_0x4d4d9d(0x1ba)],'AHnTF':_0x4d4d9d(0x326),'yeHEc':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','cAbIv':'project','bliry':_0x4d4d9d(0x337),'xliXl':_0x45072c['kkYGW'],'TXtyd':'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.','hjeLY':_0x4d4d9d(0x2ef),'zETfC':function(_0x3305f2,_0x18926d,_0x3e323c){return _0x3305f2(_0x18926d,_0x3e323c);},'oLgKm':'Cloud\x20profile\x20name','pYbyz':function(_0x23efc3,_0xb3f72b){return _0x23efc3===_0xb3f72b;},'mAKIJ':function(_0x367db9,_0x4d444c){return _0x367db9===_0x4d444c;},'eGEYz':_0x4d4d9d(0x1d2),'EXSZY':_0x4d4d9d(0x32c),'jXzgA':_0x4d4d9d(0x21e),'njLDo':_0x4d4d9d(0x1b5),'JoAVU':_0x45072c[_0x4d4d9d(0x225)],'qZGyO':_0x4d4d9d(0x341),'gcsvy':_0x45072c[_0x4d4d9d(0x245)],'QLQkc':_0x45072c[_0x4d4d9d(0x20c)],'tplWy':_0x45072c['lGCyn'],'uLosx':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','QMyDz':_0x4d4d9d(0x220),'ZxPfn':'Get\x20a\x20config\x20value','CiKOu':'list\x20<profile>','rKcCs':'unset\x20<profile>\x20<key>','lorBV':_0x45072c[_0x4d4d9d(0x1b1)],'AMacD':'reset\x20<profile>','GkFFA':_0x4d4d9d(0x226),'KCZdV':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand'};return _0x140188['usage'](PROFILE_HELP)[_0x4d4d9d(0x2c7)](_0x4d4d9d(0x33c),_0x45072c['wKKYi'],_0x541323=>{const _0x180f01=_0x4d4d9d;return _0x541323[_0x180f01(0x216)](_0x180f01(0x2eb),{'type':_0xb5b135[_0x180f01(0x1ef)],'description':_0x180f01(0x32f),'demandOption':!![]})[_0x180f01(0x21c)]('ci',{'type':_0xb5b135[_0x180f01(0x24e)],'hidden':!![],'default':![]})['option']('skip-auth',{'type':_0x180f01(0x272),'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0x180f01(0x21c)]('url',{'type':_0xb5b135[_0x180f01(0x1ef)],'description':_0xb5b135['NEubd']})['option'](_0x180f01(0x303),{'type':_0xb5b135['FFOOq'],'description':_0x180f01(0x315),'default':![]})[_0x180f01(0x21c)](_0xb5b135[_0x180f01(0x1fb)],{'type':_0xb5b135['YzWlZ'],'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})['option'](_0x180f01(0x2dc),{'type':_0xb5b135['FFOOq'],'description':_0x180f01(0x1a9),'default':![]})[_0x180f01(0x21c)](_0xb5b135['AHnTF'],{'type':_0xb5b135['FFOOq'],'description':_0xb5b135['yeHEc'],'default':![]})['option'](_0x180f01(0x31f),{'type':_0x180f01(0x1b2),'array':!![],'description':_0x180f01(0x309)})[_0x180f01(0x21c)]('scope',{'type':'string','choices':[_0x180f01(0x2d8),_0xb5b135[_0x180f01(0x1d6)]],'description':_0xb5b135[_0x180f01(0x247)]})['option'](_0xb5b135['xliXl'],{'type':_0x180f01(0x1b2),'description':_0xb5b135['TXtyd']})[_0x180f01(0x21c)](_0x180f01(0x2b7),{'type':_0xb5b135['FFOOq'],'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','default':![]});},async _0x327590=>{const _0x3b68e1=_0x4d4d9d;await withTelemetry('profile\x20add',_0x4296a0=>addEnv(_0x327590[_0x3b68e1(0x2eb)],{'ci':_0x327590['ci'],'skipAuth':_0x327590[_0x3b68e1(0x2a6)],'url':_0x327590['url'],'force':_0x327590[_0x3b68e1(0x303)],'cdpEndpoint':_0x327590['cdp-endpoint'],'allowInsecureLocalhost':_0x327590[_0x3b68e1(0x2dc)],'safeMode':_0x327590['safe-mode'],'setupHeader':_0x327590['setup-header'],'scope':_0x327590['scope'],'authEnv':_0x327590[_0x3b68e1(0x24f)],'yes':_0x327590[_0x3b68e1(0x2b7)]},_0x4296a0),{'isElectron':Boolean(_0x327590['cdp-endpoint'])});})[_0x4d4d9d(0x2c7)](_0x45072c['Wvwae'],'Switch\x20to\x20using\x20a\x20specific\x20profile',_0x2f1723=>{const _0x278567=_0x4d4d9d;return _0x2f1723[_0x278567(0x216)](_0x278567(0x2eb),{'type':_0x45072c['aiQwU'],'description':_0x45072c['lCIFT'],'demandOption':!![]});},async _0x73b95f=>{const _0x38d4c3=_0x4d4d9d;await withTelemetry(_0xb5b135[_0x38d4c3(0x308)],()=>useEnv(_0x73b95f[_0x38d4c3(0x2eb)]));})['command'](_0x45072c['gwSzm'],_0x45072c[_0x4d4d9d(0x305)],_0x2ebecb=>{const _0x3aca1a=_0x4d4d9d;return _0x2ebecb['positional'](_0x45072c[_0x3aca1a(0x1de)],{'type':'string','description':_0x45072c[_0x3aca1a(0x2a7)],'demandOption':!![]})['option'](_0x45072c[_0x3aca1a(0x225)],{'type':_0x45072c[_0x3aca1a(0x1f6)],'alias':'y','description':_0x45072c[_0x3aca1a(0x2b8)],'default':![]});},async _0x5edcdd=>{const _0x4fcf9d=_0x4d4d9d;await _0x45072c['AMDes'](withTelemetry,'profile\x20delete',()=>deleteProfile(_0x5edcdd[_0x4fcf9d(0x2eb)],{'yes':_0x5edcdd['yes']}));})['command'](_0x4d4d9d(0x28d),![],_0x2ef759=>{const _0x583f63=_0x4d4d9d;return _0x2ef759['positional'](_0x45072c[_0x583f63(0x1d8)],{'type':_0x583f63(0x1b2),'description':_0x45072c[_0x583f63(0x245)],'demandOption':!![]});},async _0x229347=>{const _0x1f1685=_0x4d4d9d;await withTelemetry(_0x1f1685(0x29e),()=>authEncrypt(_0x229347['profile']));})['command']('ls',_0x4d4d9d(0x2ea),()=>{},async()=>{await _0xb5b135['zETfC'](withTelemetry,'profile\x20ls',()=>envList());})[_0x4d4d9d(0x2c7)](_0x45072c['jWUBP'],'Update\x20authentication\x20for\x20an\x20existing\x20profile',_0x56c8d9=>{const _0x5f5237=_0x4d4d9d;return _0x56c8d9['positional']('profile-name',{'type':_0x5f5237(0x1b2),'description':'Name\x20of\x20the\x20profile\x20to\x20update','demandOption':!![]})[_0x5f5237(0x21c)](_0x45072c[_0x5f5237(0x332)],{'type':_0x45072c['louWI'],'description':_0x45072c[_0x5f5237(0x22d)]})['option']('manual',{'type':_0x45072c[_0x5f5237(0x1f6)],'description':_0x45072c[_0x5f5237(0x313)]});},async _0x233756=>{const _0x50cf78=_0x4d4d9d;await withTelemetry(_0x45072c[_0x50cf78(0x336)],_0x200b41=>updateEnv(_0x233756[_0x50cf78(0x2eb)],_0x200b41,{'allowInsecureLocalhost':_0x233756['allow-insecure-localhost'],'manual':_0x233756['manual']}));})[_0x4d4d9d(0x2c7)](_0x45072c['HNFjs'],![],_0x5c0d79=>{const _0x379559=_0x4d4d9d;return _0x5c0d79['positional']('name',{'type':_0xb5b135[_0x379559(0x1ef)],'description':_0xb5b135[_0x379559(0x1a4)],'demandOption':!![]});},async _0x2ccf28=>{const _0x4f1a20=_0x4d4d9d,_0x1440e0={'zGQbr':'Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','qJNuR':function(_0x5d7859,_0x4d3d4f){const _0x384932=_0x5a11;return _0xb5b135[_0x384932(0x320)](_0x5d7859,_0x4d3d4f);},'rSnKH':function(_0x3c4534,_0x51a34b){const _0x47c26a=_0x5a11;return _0xb5b135[_0x47c26a(0x2c1)](_0x3c4534,_0x51a34b);},'yrfLV':_0x4f1a20(0x22c)};await _0xb5b135[_0x4f1a20(0x2fa)](withTelemetry,'profile\x20login',async()=>{const _0x553dca=_0x4f1a20,_0x40ffba=process[_0x553dca(0x24f)][_0x553dca(0x1e2)],_0x38442d=process[_0x553dca(0x24f)][_0x553dca(0x2f4)];(!_0x40ffba||!_0x38442d)&&(console['error'](_0x1440e0['zGQbr']),process[_0x553dca(0x22a)](0x1));const _0x34204e=_0x2ccf28[_0x553dca(0x208)],_0xe90c1e=await serverSideLogin(_0x34204e,{'force':!![]});_0x1440e0[_0x553dca(0x19c)](_0xe90c1e[_0x553dca(0x2dd)],'not_configured')&&(console['error'](_0x553dca(0x278)),process['exit'](0x1)),_0x1440e0['rSnKH'](_0xe90c1e[_0x553dca(0x2dd)],'failed')&&(console[_0x553dca(0x356)](_0x553dca(0x1eb)+(_0xe90c1e[_0x553dca(0x356)]??_0x1440e0[_0x553dca(0x1ec)])),_0xe90c1e['test_output']&&console['error'](_0xe90c1e['test_output']),process['exit'](0x1)),console[_0x553dca(0x2f5)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x34204e+_0x553dca(0x283));});})[_0x4d4d9d(0x2c7)]('migrate\x20[profile-name]',![],_0x201c42=>{const _0x366761=_0x4d4d9d;return _0x201c42['positional']('profile-name',{'type':_0x366761(0x1b2),'description':_0xb5b135[_0x366761(0x34c)]})['option'](_0x366761(0x2e9),{'type':_0xb5b135[_0x366761(0x24e)],'description':_0xb5b135['EXSZY'],'default':![]})[_0x366761(0x21c)](_0xb5b135[_0x366761(0x354)],{'type':_0xb5b135[_0x366761(0x24e)],'description':_0xb5b135[_0x366761(0x20a)],'default':![]})['option'](_0xb5b135[_0x366761(0x2a8)],{'type':_0x366761(0x272),'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})['option'](_0x366761(0x317),{'type':_0xb5b135[_0x366761(0x24e)],'description':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','default':![]});},async _0x282c8e=>{const _0x37b216=_0x4d4d9d;await withTelemetry('profile\x20migrate',_0x10b602=>migrateProfile({'profileName':_0x282c8e[_0x37b216(0x2eb)],'all':_0x282c8e[_0x37b216(0x2e9)],'dryRun':_0x282c8e['dry-run'],'yes':_0x282c8e[_0x37b216(0x2b7)],'saveCreds':_0x282c8e[_0x37b216(0x317)]},_0x10b602));})['command'](_0x4d4d9d(0x1c0),_0x45072c[_0x4d4d9d(0x264)],_0x76b89=>{const _0x209e1c=_0x4d4d9d,_0x1e86ea={'hGmbS':'key','sEZRK':'string','GAtks':_0xb5b135['uLosx'],'lxxyg':function(_0x130af3,_0x2ce3f4,_0x4d9f97){return _0x130af3(_0x2ce3f4,_0x4d9f97);},'brpeS':'Config\x20key\x20to\x20remove','miXXA':function(_0x15150a,_0x1aba92,_0x42b2cc){return _0xb5b135['zETfC'](_0x15150a,_0x1aba92,_0x42b2cc);},'qrlFJ':_0x209e1c(0x341)};return _0x76b89[_0x209e1c(0x293)](PROFILE_CONFIG_HELP)['command']('set\x20<profile>\x20<key>\x20<value>','Set\x20a\x20config\x20value',_0x1fa106=>{const _0x11b07a=_0x209e1c;return _0x1fa106['positional'](_0x11b07a(0x341),{'type':'string','description':_0x11b07a(0x2f7),'demandOption':!![]})['positional'](_0x1e86ea[_0x11b07a(0x327)],{'type':_0x1e86ea[_0x11b07a(0x280)],'description':_0x1e86ea[_0x11b07a(0x23d)],'demandOption':!![]})[_0x11b07a(0x216)]('value',{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0x512e6c=>{const _0x1271b7=_0x209e1c;await _0x1e86ea['lxxyg'](withTelemetry,'profile\x20config\x20set',()=>configSet(_0x512e6c[_0x1271b7(0x341)],_0x512e6c['key'],_0x512e6c['value']));})[_0x209e1c(0x2c7)](_0xb5b135[_0x209e1c(0x262)],_0xb5b135[_0x209e1c(0x269)],_0x1a18a0=>{const _0x280ce8=_0x209e1c;return _0x1a18a0[_0x280ce8(0x216)](_0xb5b135['qZGyO'],{'type':_0xb5b135[_0x280ce8(0x1ef)],'description':_0xb5b135['gcsvy'],'demandOption':!![]})[_0x280ce8(0x216)](_0xb5b135[_0x280ce8(0x2b0)],{'type':_0xb5b135['YzWlZ'],'description':_0xb5b135[_0x280ce8(0x2d6)],'demandOption':!![]});},async _0x2c9044=>{const _0x269734=_0x209e1c;await _0x1e86ea[_0x269734(0x2c4)](withTelemetry,'profile\x20config\x20get',()=>configGet(_0x2c9044['profile'],_0x2c9044['key']));})[_0x209e1c(0x2c7)](_0xb5b135['CiKOu'],_0x209e1c(0x195),_0x13d932=>{const _0x25f255=_0x209e1c;return _0x13d932[_0x25f255(0x216)](_0xb5b135[_0x25f255(0x1ee)],{'type':'string','description':_0x25f255(0x2f7),'demandOption':!![]});},async _0x51a5dc=>{const _0x45ddaf=_0x209e1c;await _0xb5b135[_0x45ddaf(0x2fa)](withTelemetry,'profile\x20config\x20list',()=>configList(_0x51a5dc[_0x45ddaf(0x341)]));})['command'](_0xb5b135['rKcCs'],_0xb5b135['lorBV'],_0x4c218c=>{const _0x40e7ac=_0x209e1c;return _0x4c218c['positional']('profile',{'type':'string','description':'Profile\x20name','demandOption':!![]})[_0x40e7ac(0x216)](_0x1e86ea[_0x40e7ac(0x327)],{'type':_0x1e86ea[_0x40e7ac(0x280)],'description':_0x1e86ea['brpeS'],'demandOption':!![]});},async _0x56f860=>{const _0x1020e1=_0x209e1c;await _0x1e86ea[_0x1020e1(0x26a)](withTelemetry,_0x1020e1(0x2ff),()=>configUnset(_0x56f860['profile'],_0x56f860['key']));})[_0x209e1c(0x2c7)](_0xb5b135['AMacD'],_0xb5b135['GkFFA'],_0x48197=>{const _0x5cc0b3=_0x209e1c;return _0x48197['positional'](_0x1e86ea['qrlFJ'],{'type':_0x1e86ea[_0x5cc0b3(0x280)],'description':_0x5cc0b3(0x2f7),'demandOption':!![]});},async _0x57d01e=>{await withTelemetry('profile\x20config\x20reset',()=>configReset(_0x57d01e['profile']));})[_0x209e1c(0x254)](0x1,_0xb5b135['KCZdV']);})['demandCommand'](0x1,_0x4d4d9d(0x200));})[_0x43c8ca(0x2c7)](_0x43c8ca(0x2dd),_0x45072c['tyFnS'],()=>{},async()=>{await withTelemetry(_0x45072c['wqYuG'],()=>status());})['command'](_0x45072c[_0x43c8ca(0x30b)],_0x45072c[_0x43c8ca(0x22e)],()=>{},async()=>{const _0x1b2148=_0x43c8ca;await withTelemetry(_0x45072c[_0x1b2148(0x30b)],()=>update());})['command'](_0x43c8ca(0x26f),'Print\x20the\x20current\x20CLI\x20access\x20token',()=>{},async()=>{const _0x11f5a1=_0x43c8ca;await _0x45072c['qXtbG'](withTelemetry,_0x45072c[_0x11f5a1(0x2af)],async()=>{const _0x246efd=_0x11f5a1,_0x404669=await _0x45072c[_0x246efd(0x266)](getToken);if(!_0x404669)throw new Error(_0x246efd(0x30a));console[_0x246efd(0x2f5)](_0x404669);});})[_0x43c8ca(0x2c7)]('go',_0x45072c['bnEzd'],_0x3bbc7a=>{const _0x2751e9=_0x43c8ca;return _0x3bbc7a['option'](_0x2751e9(0x1f2),{'type':'string','description':'Optional\x20feature\x20ID'})['option'](_0x45072c[_0x2751e9(0x1d8)],{'type':'string','description':_0x45072c[_0x2751e9(0x348)]})['option']('notes',{'type':_0x2751e9(0x1b2),'description':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)'})[_0x2751e9(0x21c)]('check',{'type':_0x2751e9(0x1b2),'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`.'})[_0x2751e9(0x21c)]('scenario',{'type':_0x45072c['BodBY'],'description':'Scenario\x20index\x20(1-based)'})['option'](_0x2751e9(0x203),{'type':_0x45072c[_0x2751e9(0x1f4)],'description':_0x2751e9(0x323)})['option']('base-url',{'type':_0x2751e9(0x1b2),'description':_0x45072c['yaCtE']})['option'](_0x45072c[_0x2751e9(0x346)],{'type':_0x45072c[_0x2751e9(0x1f4)],'description':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.'})['option'](_0x2751e9(0x217),{'type':'boolean','description':_0x2751e9(0x1b0),'default':![]})[_0x2751e9(0x21c)](_0x2751e9(0x2fd),{'type':_0x2751e9(0x1b2),'array':!![],'alias':_0x45072c['xAGKl'],'description':_0x45072c[_0x2751e9(0x28f)]})[_0x2751e9(0x21c)](_0x2751e9(0x242),{'type':'boolean','description':'Proceed\x20even\x20when\x20the\x20selected\x20scenario\x20names\x20a\x20URL\x20on\x20a\x20different\x20origin\x20than\x20the\x20resolved\x20target','default':![]})[_0x2751e9(0x21c)](_0x2751e9(0x25a),{'type':'string','hidden':!![],'choices':['verified',_0x2751e9(0x23e),_0x45072c[_0x2751e9(0x1c5)],'failed',_0x2751e9(0x248)]})['option'](_0x45072c['FQvyK'],{'type':_0x2751e9(0x272),'hidden':!![]})['option']('env',{'type':_0x2751e9(0x1b2),'description':_0x45072c[_0x2751e9(0x281)]})['option'](_0x45072c['plOOT'],{'type':'string','hidden':!![]})[_0x2751e9(0x21c)](_0x2751e9(0x1c4),{'type':_0x45072c[_0x2751e9(0x2f6)],'hidden':!![]});},async _0x7efd79=>{await runGoCommand(_0x7efd79);})[_0x43c8ca(0x2c7)](_0x45072c['UkNok'],![],_0x4d5a48=>{const _0x27672b=_0x43c8ca,_0x5c23bd={'HSiwI':_0x27672b(0x2b4),'nZwPJ':function(_0x5cd377,_0x55f133){return _0x45072c['Lwjkb'](_0x5cd377,_0x55f133);}};return _0x4d5a48['command'](_0x45072c[_0x27672b(0x288)],![],_0x4755e1=>{const _0x15e0e4=_0x27672b;return _0x4755e1[_0x15e0e4(0x216)](_0x15e0e4(0x341),{'type':'string','description':_0x15e0e4(0x2f7),'demandOption':!![]});},async _0x36c6f4=>{const _0x565468=_0x27672b;warnRenamed(_0x565468(0x23b),_0x5c23bd['HSiwI']),await _0x5c23bd[_0x565468(0x21d)](authEncrypt,_0x36c6f4[_0x565468(0x341)]);})['demandCommand'](0x1,_0x45072c[_0x27672b(0x318)]);},()=>{})[_0x43c8ca(0x2c7)](_0x45072c[_0x43c8ca(0x302)],![],_0x5c824a=>{const _0x160e36=_0x43c8ca;return _0x5c824a['positional'](_0x45072c['nfZpf'],{'type':_0x160e36(0x1b2),'description':_0x45072c[_0x160e36(0x2a2)]})['option'](_0x45072c[_0x160e36(0x233)],{'type':_0x160e36(0x272),'description':_0x160e36(0x1d1),'default':![]})['option']('scope',{'type':_0x160e36(0x1b2),'choices':[_0x45072c['IbUDz']],'hidden':!![],'description':_0x45072c['ujJIN']})['option'](_0x160e36(0x2e6),{'type':_0x45072c[_0x160e36(0x1f4)],'description':_0x160e36(0x328)})[_0x160e36(0x21c)]('force',{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x160e36(0x21c)]('skip-auth',{'type':'boolean','description':_0x45072c[_0x160e36(0x2bc)],'default':![]})['option'](_0x160e36(0x310),{'type':_0x45072c[_0x160e36(0x1f6)],'description':_0x45072c['bbxtL'],'default':![]});},async _0x293fa2=>{const _0x546bc9=_0x43c8ca;_0x45072c['ywxlG'](warnRenamed,'ranger\x20start',_0x45072c[_0x546bc9(0x221)]),await _0x45072c['yRIpC'](withTelemetry,_0x546bc9(0x289),_0x16160f=>start(_0x293fa2[_0x546bc9(0x33e)],{'skipChromium':_0x293fa2['skip-chromium'],'skipAuth':_0x293fa2['skip-auth'],'withDeps':_0x293fa2[_0x546bc9(0x310)],'scope':_0x293fa2[_0x546bc9(0x21a)],'url':_0x293fa2['url'],'force':_0x293fa2[_0x546bc9(0x303)]},_0x16160f));})['command']('verify-feature',![],_0x4e60b1=>{const _0x3e99d5=_0x43c8ca;return _0x4e60b1[_0x3e99d5(0x21c)](_0x45072c['kkYGW'],{'type':_0x45072c['aiQwU'],'description':_0x45072c[_0x3e99d5(0x1a3)]})[_0x3e99d5(0x21c)](_0x45072c[_0x3e99d5(0x1c2)],{'type':'string','description':_0x45072c['IgsVq']})[_0x3e99d5(0x21c)](_0x3e99d5(0x1c4),{'type':'number','description':'Scenario\x20index\x20(1-based)'})['option']('profile',{'type':'string','hidden':!![]})['option'](_0x45072c['BuKyH'],{'type':'string','hidden':!![]})[_0x3e99d5(0x21c)](_0x3e99d5(0x2cb),{'type':'number','hidden':!![]})['option'](_0x45072c[_0x3e99d5(0x271)],{'type':_0x45072c['aiQwU'],'description':_0x45072c[_0x3e99d5(0x27e)]})[_0x3e99d5(0x21c)]('base-url',{'type':_0x45072c[_0x3e99d5(0x1f4)],'description':_0x3e99d5(0x29c)})[_0x3e99d5(0x21c)](_0x45072c[_0x3e99d5(0x346)],{'type':_0x3e99d5(0x1b2),'hidden':!![]})['option'](_0x45072c['yCvwx'],{'type':_0x45072c['louWI'],'hidden':!![],'default':![]})[_0x3e99d5(0x21c)](_0x3e99d5(0x2fd),{'type':_0x45072c[_0x3e99d5(0x1f4)],'array':!![],'alias':_0x45072c['xAGKl'],'hidden':!![]})[_0x3e99d5(0x21c)](_0x3e99d5(0x25a),{'type':_0x3e99d5(0x1b2),'hidden':!![],'choices':[_0x45072c[_0x3e99d5(0x1b7)],'partial','blocked','failed',_0x45072c['iKZOj']]});},async _0x5f11dc=>{await _0x45072c['dxPMn'](runGoCommand,_0x5f11dc,!![]);})['command'](_0x43c8ca(0x292),![],_0x4bbce4=>{const _0x25d303=_0x43c8ca;return _0x4bbce4[_0x25d303(0x216)](_0x45072c[_0x25d303(0x1f5)],{'type':'string','description':_0x45072c[_0x25d303(0x2ca)],'demandOption':!![]})[_0x25d303(0x21c)]('ci',{'type':_0x45072c['louWI'],'description':_0x25d303(0x2cd),'default':![]})['option'](_0x25d303(0x2a6),{'type':_0x25d303(0x272),'description':_0x45072c['phnPC'],'default':![]});},async _0x2fff0b=>{const _0x41061a=_0x43c8ca;warnRenamed(_0x41061a(0x25d),'ranger\x20profile\x20add'),await withTelemetry(_0x41061a(0x286),_0x13dd67=>addEnv(_0x2fff0b[_0x41061a(0x1c7)],{'ci':_0x2fff0b['ci'],'skipAuth':_0x2fff0b['skip-auth']},_0x13dd67));})[_0x43c8ca(0x2c7)](_0x45072c['AVpJr'],![],_0x56d1a2=>{const _0x4a705c=_0x43c8ca;return _0x56d1a2[_0x4a705c(0x216)](_0x45072c[_0x4a705c(0x1f5)],{'type':_0x45072c[_0x4a705c(0x1f4)],'description':_0x4a705c(0x2bd),'demandOption':!![]});},async _0xfad4f9=>{const _0x483c05=_0x43c8ca;_0x45072c[_0x483c05(0x19b)](warnRenamed,_0x45072c['SEqGb'],'ranger\x20profile\x20use'),await _0x45072c['CzUlJ'](withTelemetry,_0x45072c[_0x483c05(0x29d)],()=>useEnv(_0xfad4f9[_0x483c05(0x1c7)]));})['command'](_0x43c8ca(0x1c0),![],_0x1d72e2=>{const _0x6d699=_0x43c8ca,_0x266e51={'chEex':'env','zmree':_0x6d699(0x1b2),'mXgHH':'Environment\x20name','WfgTJ':_0x45072c[_0x6d699(0x20c)],'vxHbl':_0x45072c['lGCyn'],'Iajus':_0x45072c['Ibksx'],'CPsHQ':_0x45072c[_0x6d699(0x214)]};return _0x1d72e2[_0x6d699(0x2c7)]('set\x20<env>\x20<key>\x20<value>',![],_0x41f03d=>{const _0x43b19c=_0x6d699;return _0x41f03d['positional'](_0x266e51[_0x43b19c(0x1fe)],{'type':_0x266e51[_0x43b19c(0x27d)],'description':_0x266e51['mXgHH'],'demandOption':!![]})[_0x43b19c(0x216)](_0x266e51[_0x43b19c(0x34d)],{'type':'string','description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})[_0x43b19c(0x216)](_0x43b19c(0x2b3),{'type':_0x266e51['zmree'],'description':'Config\x20value','demandOption':!![]});},async _0x4943c3=>{const _0x4a6953=_0x6d699;warnRenamed(_0x4a6953(0x28b),_0x45072c[_0x4a6953(0x1df)]),await _0x45072c['lXhvH'](withTelemetry,'config\x20set',()=>configSet(_0x4943c3['env'],_0x4943c3[_0x4a6953(0x340)],_0x4943c3[_0x4a6953(0x2b3)]));})['command'](_0x6d699(0x1a6),![],_0x5b08d2=>{const _0x328409=_0x6d699;return _0x5b08d2[_0x328409(0x216)](_0x328409(0x24f),{'type':_0x328409(0x1b2),'description':_0x266e51['mXgHH'],'demandOption':!![]})[_0x328409(0x216)]('key',{'type':_0x328409(0x1b2),'description':_0x266e51['vxHbl'],'demandOption':!![]});},async _0x2fe5f0=>{const _0x39c00d=_0x6d699;_0x45072c['AdfPZ'](warnRenamed,'ranger\x20config\x20get',_0x39c00d(0x2bb)),await _0x45072c[_0x39c00d(0x213)](withTelemetry,'config\x20get',()=>configGet(_0x2fe5f0['env'],_0x2fe5f0[_0x39c00d(0x340)]));})['command']('list\x20<env>',![],_0x5ba149=>{const _0x1e3a18=_0x6d699;return _0x5ba149[_0x1e3a18(0x216)]('env',{'type':_0x266e51[_0x1e3a18(0x27d)],'description':'Environment\x20name','demandOption':!![]});},async _0x203416=>{const _0x26bde9=_0x6d699;warnRenamed('ranger\x20config\x20list',_0x266e51['Iajus']),await withTelemetry(_0x266e51[_0x26bde9(0x33d)],()=>configList(_0x203416[_0x26bde9(0x24f)]));})[_0x6d699(0x2c7)](_0x45072c[_0x6d699(0x311)],![],_0x4c8b77=>{const _0x48b1ed=_0x6d699;return _0x4c8b77['positional'](_0x45072c[_0x48b1ed(0x33a)],{'type':_0x45072c[_0x48b1ed(0x1f4)],'description':'Environment\x20name','demandOption':!![]})[_0x48b1ed(0x216)](_0x45072c[_0x48b1ed(0x20c)],{'type':_0x48b1ed(0x1b2),'description':_0x45072c[_0x48b1ed(0x2e7)],'demandOption':!![]});},async _0xd38449=>{const _0x5ebfb5=_0x6d699;warnRenamed(_0x5ebfb5(0x1a7),'ranger\x20profile\x20config\x20unset'),await _0x45072c[_0x5ebfb5(0x1ae)](withTelemetry,_0x45072c[_0x5ebfb5(0x236)],()=>configUnset(_0xd38449[_0x5ebfb5(0x24f)],_0xd38449[_0x5ebfb5(0x340)]));})['demandCommand'](0x1,_0x45072c['TzfwX']);})['command'](_0x45072c[_0x43c8ca(0x33a)],![],_0x3af7ae=>{const _0x59f170=_0x43c8ca,_0x471fdd={'PMEoV':'string','Lgeow':_0x45072c['fwioY']};return _0x3af7ae['command']('ls',![],()=>{},async()=>{const _0x12183e=_0x5a11;_0x45072c['dkjkM'](warnRenamed,_0x12183e(0x275),_0x45072c[_0x12183e(0x304)]),await _0x45072c['ZzRLd'](withTelemetry,_0x12183e(0x227),()=>envList());})['command'](_0x45072c[_0x59f170(0x2d4)],![],_0x66fcac=>{const _0x4db5ba=_0x59f170;return _0x66fcac['positional'](_0x4db5ba(0x1c7),{'type':_0x471fdd[_0x4db5ba(0x1d3)],'description':_0x471fdd['Lgeow'],'demandOption':!![]});},async _0x20137c=>{const _0x5747de=_0x59f170;_0x45072c[_0x5747de(0x1ae)](warnRenamed,'ranger\x20env\x20update','ranger\x20profile\x20update'),await _0x45072c[_0x5747de(0x32d)](withTelemetry,'env\x20update',_0x21c266=>updateEnv(_0x20137c['env-name'],_0x21c266));})[_0x59f170(0x254)](0x1,_0x45072c[_0x59f170(0x352)]);})[_0x43c8ca(0x2c7)](_0x43c8ca(0x1f2),![],_0x30efaf=>{const _0x3a9648=_0x43c8ca,_0x4bd93e={'jchNg':'name','bvMWw':_0x3a9648(0x1b2),'gHTGc':'Feature\x20review\x20name','LCyOX':_0x45072c[_0x3a9648(0x1b6)],'DdHjj':_0x45072c[_0x3a9648(0x2df)],'lQQuK':_0x45072c[_0x3a9648(0x1c8)],'OnhNE':function(_0x132c14,_0x3f1aa9,_0x1904d6){return _0x132c14(_0x3f1aa9,_0x1904d6);},'KdiuZ':_0x45072c[_0x3a9648(0x260)],'tfIKq':function(_0x2d9a16,_0xd99f18,_0xeaf8bf,_0x18d070){const _0x5de2ac=_0x3a9648;return _0x45072c[_0x5de2ac(0x20d)](_0x2d9a16,_0xd99f18,_0xeaf8bf,_0x18d070);},'hFLVV':'ranger\x20create','HHcts':'--checklist','HckWL':_0x45072c['JuwLy'],'AhOXa':function(_0x32750f,_0x4f1eb2,_0x122628){const _0x45fd2d=_0x3a9648;return _0x45072c[_0x45fd2d(0x1bf)](_0x32750f,_0x4f1eb2,_0x122628);},'DeQVB':'feature\x20create','kugoU':_0x3a9648(0x272),'DLxqM':_0x3a9648(0x252),'dzYro':_0x45072c['IWnrX'],'ZtPVq':_0x3a9648(0x209),'OfoTk':function(_0x4909ec,_0x217b33,_0x4c1373){const _0x57ce25=_0x3a9648;return _0x45072c[_0x57ce25(0x347)](_0x4909ec,_0x217b33,_0x4c1373);},'rtdhU':'ranger\x20feature\x20resume','alixB':function(_0x2a3fce,_0x3727e9,_0x5d8369){const _0x2445ee=_0x3a9648;return _0x45072c[_0x2445ee(0x290)](_0x2a3fce,_0x3727e9,_0x5d8369);},'WVZxm':_0x45072c['kugHT'],'xwjZZ':_0x3a9648(0x244),'QZSrr':_0x45072c['vWHYn'],'VWvqm':function(_0x2b6c8d,_0x48e599,_0x2c22a4){const _0x2527fe=_0x3a9648;return _0x45072c[_0x2527fe(0x32d)](_0x2b6c8d,_0x48e599,_0x2c22a4);},'xWiad':'ranger\x20feature\x20add-checklist-item'};return _0x30efaf[_0x3a9648(0x2c7)](_0x3a9648(0x1dc),![],_0x170db2=>{const _0x1da9ec=_0x3a9648;return _0x170db2[_0x1da9ec(0x216)](_0x4bd93e[_0x1da9ec(0x238)],{'type':_0x4bd93e['bvMWw'],'description':_0x4bd93e[_0x1da9ec(0x2b5)],'demandOption':!![]})['option'](_0x1da9ec(0x244),{'type':_0x4bd93e[_0x1da9ec(0x1af)],'alias':'d','description':_0x4bd93e[_0x1da9ec(0x34e)]})['option'](_0x4bd93e[_0x1da9ec(0x321)],{'type':_0x1da9ec(0x231),'alias':'c','description':_0x1da9ec(0x2f0)})[_0x1da9ec(0x21c)](_0x4bd93e['lQQuK'],{'type':'array','hidden':!![]});},async _0x1b0e47=>{const _0x222a49=_0x3a9648;_0x4bd93e['OnhNE'](warnRenamed,_0x4bd93e['KdiuZ'],'ranger\x20create'),_0x4bd93e[_0x222a49(0x257)](warnFlagRenamed,_0x4bd93e['hFLVV'],_0x4bd93e['HHcts'],_0x4bd93e['HckWL']);const _0x408e94=_0x1b0e47[_0x222a49(0x2cb)]||_0x1b0e47[_0x222a49(0x1aa)];await _0x4bd93e['AhOXa'](withTelemetry,_0x4bd93e[_0x222a49(0x1cf)],()=>featureCreate(_0x1b0e47['name'],{'description':_0x1b0e47[_0x222a49(0x244)],'scenarios':_0x408e94}));})[_0x3a9648(0x2c7)](_0x45072c['YiBzX'],![],_0x812b59=>{const _0x40c80b=_0x3a9648;return _0x812b59[_0x40c80b(0x21c)](_0x40c80b(0x342),{'type':_0x4bd93e['kugoU'],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option'](_0x40c80b(0x267),{'type':_0x40c80b(0x1a0),'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})[_0x40c80b(0x21c)](_0x4bd93e['DLxqM'],{'type':'number','alias':'o','description':_0x4bd93e['dzYro'],'default':0x0})[_0x40c80b(0x21c)](_0x4bd93e['ZtPVq'],{'type':'boolean','alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x116e2d=>{const _0x593ddb=_0x3a9648;_0x45072c[_0x593ddb(0x32d)](warnRenamed,'ranger\x20feature\x20list',_0x45072c[_0x593ddb(0x2e8)]),await withTelemetry('feature\x20list',()=>featureList({'currentBranch':_0x116e2d[_0x593ddb(0x342)],'limit':_0x116e2d['limit'],'offset':_0x116e2d[_0x593ddb(0x252)],'includeDeleted':_0x116e2d['include-deleted']}));})[_0x3a9648(0x2c7)]('show\x20[id]',![],_0x119705=>{const _0x39aa5b=_0x3a9648;return _0x119705[_0x39aa5b(0x216)]('id',{'type':_0x39aa5b(0x1b2),'description':_0x39aa5b(0x291)});},async _0x55d72b=>{const _0x538501=_0x3a9648;_0x4bd93e[_0x538501(0x1f1)](warnRenamed,'ranger\x20feature\x20show',_0x538501(0x1c1)),await _0x4bd93e[_0x538501(0x1f1)](withTelemetry,'feature\x20show',()=>featureShow(_0x55d72b['id']));})['command'](_0x45072c['eZmxq'],![],_0x29b79f=>{const _0x4258b7=_0x3a9648;return _0x29b79f['positional']('id',{'type':_0x4258b7(0x1b2),'description':_0x4258b7(0x344)});},async _0x168c74=>{const _0x7afd42=_0x3a9648;warnRenamed(_0x4bd93e['rtdhU'],_0x7afd42(0x1a1)),await _0x4bd93e['alixB'](withTelemetry,_0x4bd93e['WVZxm'],()=>featureResume(_0x168c74['id']));})[_0x3a9648(0x2c7)](_0x3a9648(0x23a),![],_0x2e2051=>{const _0x1c983c=_0x3a9648;return _0x2e2051[_0x1c983c(0x216)](_0x4bd93e['xwjZZ'],{'type':_0x4bd93e[_0x1c983c(0x1af)],'description':_0x1c983c(0x2e1),'demandOption':!![]})['option']('id',{'type':'string','description':_0x4bd93e['QZSrr']});},async _0x15a65b=>{const _0xa85a22=_0x3a9648;_0x4bd93e[_0xa85a22(0x1c6)](warnRenamed,_0x4bd93e['xWiad'],'ranger\x20add-scenario'),await _0x4bd93e[_0xa85a22(0x24a)](withTelemetry,_0xa85a22(0x219),()=>featureAddScenario(_0x15a65b['description'],_0x15a65b['id']));})[_0x3a9648(0x2c7)](_0x45072c[_0x3a9648(0x241)],![],_0x4e3823=>{const _0x394c91=_0x3a9648;return _0x4e3823[_0x394c91(0x216)]('id',{'type':_0x45072c[_0x394c91(0x1f4)],'description':_0x394c91(0x2de)});},async _0x3195d0=>{const _0x139d57=_0x3a9648;_0x45072c['HyjxV'](warnRenamed,'ranger\x20feature\x20get-feedback',_0x45072c['bDKJl']),await _0x45072c[_0x139d57(0x25b)](withTelemetry,'feature\x20get-feedback',()=>featureGetReview(_0x3195d0['id']));})[_0x3a9648(0x2c7)](_0x45072c['oJnHq'],![],_0xf193fa=>{const _0x3b1b88=_0x3a9648;return _0xf193fa['positional']('id',{'type':_0x45072c[_0x3b1b88(0x1f4)],'description':_0x3b1b88(0x291)});},async _0x95ca5f=>{const _0x5cbb58=_0x3a9648;warnRenamed(_0x5cbb58(0x207),'ranger\x20delete'),await _0x45072c[_0x5cbb58(0x23f)](withTelemetry,_0x45072c['nnCKt'],()=>featureDelete(_0x95ca5f['id']));})[_0x3a9648(0x2c7)](_0x45072c[_0x3a9648(0x324)],![],_0x2ec282=>{const _0x30ac50=_0x3a9648;return _0x2ec282['positional']('id',{'type':_0x45072c['aiQwU'],'description':_0x30ac50(0x2e0),'demandOption':!![]});},async _0x164315=>{const _0x4d771e=_0x3a9648;_0x45072c[_0x4d771e(0x299)](warnRenamed,_0x45072c[_0x4d771e(0x2a9)],_0x4d771e(0x1ac)),await withTelemetry('feature\x20restore',()=>featureRestore(_0x164315['id']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})[_0x43c8ca(0x2c7)](_0x45072c[_0x43c8ca(0x24d)],![],_0x46c993=>{const _0x5506f9=_0x43c8ca,_0x25d641={'zRJUN':_0x45072c['AlzNp'],'Zmwjp':_0x45072c['aiQwU'],'hBbxZ':function(_0x51d6ea,_0x174205,_0x4c1c07){return _0x51d6ea(_0x174205,_0x4c1c07);},'YYjxV':'hook:disable'};return _0x46c993[_0x5506f9(0x2c7)](_0x45072c['xpQWx'],_0x45072c['hjVbq'],_0x5864e6=>{const _0xa17e53=_0x5506f9;return _0x5864e6['option'](_0xa17e53(0x30f),{'type':'string','description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0xe6a02f=>{await withTelemetry(_0x25d641['zRJUN'],()=>hook('enable',_0xe6a02f['session-id']));})[_0x5506f9(0x2c7)](_0x45072c['AXIQy'],_0x45072c['ISgMc'],_0x2f823c=>{const _0x4fcd00=_0x5506f9;return _0x2f823c['option'](_0x4fcd00(0x30f),{'type':_0x25d641[_0x4fcd00(0x1f9)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x3afc0e=>{const _0x579e14=_0x5506f9;await _0x25d641['hBbxZ'](withTelemetry,_0x25d641['YYjxV'],()=>hook('disable',_0x3afc0e[_0x579e14(0x30f)]));})[_0x5506f9(0x21c)](_0x45072c['RHTLR'],{'type':_0x45072c['aiQwU'],'description':_0x45072c['LwZRz']})['option'](_0x45072c[_0x5506f9(0x196)],{'type':_0x45072c['aiQwU'],'description':_0x45072c['bgPhD']});},async _0x498cc7=>{const _0x638fe=_0x43c8ca;_0x498cc7['name']&&await _0x45072c[_0x638fe(0x27f)](hook,_0x498cc7[_0x638fe(0x208)],_0x498cc7[_0x45072c['NFizt']]);})['demandCommand'](0x1,_0x43c8ca(0x1a5))[_0x43c8ca(0x1ed)]()[_0x43c8ca(0x1e5)](async(_0x11690d,_0x4540c8,_0x43de65)=>{const _0x3d302e=_0x43c8ca,_0xe15201=sanitizeArgs(process['argv']['slice'](0x2)),_0x205819=getErrorType(_0x11690d,_0x4540c8);if(_0x11690d&&_0x11690d['includes'](_0x45072c['DZmEe'])){const _0x2ae38c=process[_0x3d302e(0x246)][0x2];console[_0x3d302e(0x356)]('\x0aUnknown\x20command:\x20'+_0x2ae38c),console[_0x3d302e(0x356)](_0x45072c['dmHNF']);}else{if(_0x11690d)console[_0x3d302e(0x356)]('\x0a'+_0x11690d+'\x0a');else _0x4540c8&&console['error'](_0x3d302e(0x1f8)+_0x4540c8['message']+'\x0a');}await logDesirePath({'rawCommand':_0xe15201,'errorMessage':_0x11690d||_0x4540c8?.['message'],'errorType':_0x205819});const _0x16431d=getCurrentCollector();_0x16431d&&await _0x16431d['trackCommandError'](_0x4540c8||new Error(_0x11690d||_0x45072c[_0x3d302e(0x2fc)])),process[_0x3d302e(0x22a)](0x1);})['epilogue'](_0x45072c[_0x43c8ca(0x282)](_0x45072c[_0x43c8ca(0x282)](_0x43c8ca(0x33f),_0x43c8ca(0x350)),_0x43c8ca(0x312)))[_0x43c8ca(0x27a)]()['alias'](_0x43c8ca(0x27a),'h');}function _0x5a11(_0x1c83a4,_0x5b4d27){_0x1c83a4=_0x1c83a4-0x191;const _0x5acd44=_0x5acd();let _0x5a1167=_0x5acd44[_0x1c83a4];return _0x5a1167;}process['env'][_0x22b25c(0x334)]!=='test'&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()[_0x22b25c(0x28a)]());
2
+ const _0x4f407f=_0x2373;(function(_0x788e6a,_0x46a664){const _0x2ea952=_0x2373,_0x1aa7ea=_0x788e6a();while(!![]){try{const _0x58804a=-parseInt(_0x2ea952(0x20b))/0x1*(parseInt(_0x2ea952(0x371))/0x2)+-parseInt(_0x2ea952(0x267))/0x3*(-parseInt(_0x2ea952(0x321))/0x4)+parseInt(_0x2ea952(0x327))/0x5*(-parseInt(_0x2ea952(0x2f5))/0x6)+-parseInt(_0x2ea952(0x2bd))/0x7+parseInt(_0x2ea952(0x2cc))/0x8*(-parseInt(_0x2ea952(0x2ac))/0x9)+parseInt(_0x2ea952(0x270))/0xa*(-parseInt(_0x2ea952(0x207))/0xb)+parseInt(_0x2ea952(0x34d))/0xc*(parseInt(_0x2ea952(0x2fc))/0xd);if(_0x58804a===_0x46a664)break;else _0x1aa7ea['push'](_0x1aa7ea['shift']());}catch(_0x57ba6f){_0x1aa7ea['push'](_0x1aa7ea['shift']());}}}(_0x4e87,0x8bf6f));import _0x52aca3 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x1e47e=_0x2373,_0x2d62f9={'YLaEP':function(_0x514536,_0x3efe59){return _0x514536(_0x3efe59);},'YzVGQ':function(_0x4a8b68,_0xc714e1,_0x307b7a){return _0x4a8b68(_0xc714e1,_0x307b7a);},'qxAnw':_0x1e47e(0x21d),'HrSoF':function(_0x14ca37,_0x148b30,_0x1d4f85){return _0x14ca37(_0x148b30,_0x1d4f85);}};let _0x4a64ad=process['cwd']();const _0x1d87a6=parse(_0x4a64ad)['root'];while(_0x4a64ad!==_0x1d87a6){if(_0x2d62f9['YLaEP'](existsSync,_0x2d62f9['YzVGQ'](join,_0x4a64ad,_0x2d62f9['qxAnw']))||existsSync(_0x2d62f9['HrSoF'](join,_0x4a64ad,_0x1e47e(0x2d5))))return _0x4a64ad;_0x4a64ad=dirname(_0x4a64ad);}return process[_0x1e47e(0x232)]();}_0x52aca3['config']({'path':join(findProjectRoot(),_0x4f407f(0x2d5))});import _0x4f8e81 from'yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';function _0x2373(_0x2a1452,_0x565ba8){_0x2a1452=_0x2a1452-0x1de;const _0x4e87b5=_0x4e87();let _0x2373d5=_0x4e87b5[_0x2a1452];return _0x2373d5;}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';function _0x4e87(){const _0x4a7aa4=['unset\x20<profile>\x20<key>','--checklist','ranger','lHsRS','profile\x20update','get-review','checklist','exitCode','skillup','.\x20[','description','371320zvqOQc','setup-header','DHWdZ','option','GcLND','RNZTs','sNIIh','YLKDc','You\x20must\x20specify\x20an\x20env\x20subcommand','.env','\x20INCOMPLETE','delete','ZjHuI','strictCommands','safe-mode','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','split','not_configured','zWimZ','aQWHO','TPuxa','token','Gkilu','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','nncVi','JIulR','ranger\x20env\x20ls','user','XHDWy','hnTvu','DJGMG','setup:login','Optional\x20feature\x20ID','Mumro','uWmxA','profile\x20encrypt-auth','Summary:\x20','youMV','with-deps','unset\x20<env>\x20<key>','84jMUUro','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','PDXrO','filter','Install\x20skills\x20for\x20OpenCode','ranger\x20restore','Update\x20authentication\x20for\x20an\x20existing\x20profile','21389537QRnMkY','debug-outcome','headed','evaluation','XRWxd','✓\x20Authenticated\x20to\x20','usage','Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','yes','Base\x20URL\x20of\x20the\x20running\x20app','setup:all','rQGUN','JetYN','Vdhkb','TlSVN','hbzfS','feature\x20restore','allow-url-mismatch','Ranger\x20API\x20token\x20(rngr_...)','config\x20list','cvndc','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','EnGnr','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','login','jpYwY','Feature\x20review\x20name','add-checklist-item\x20<description>','ijeCY','update','BglOr','WNEry','TWsuO','KctuV','oSWnU','scope','log','8840cUBYxw','auth','VeKOt','WVvPU','twgqG','WaGfp','39535kRauDh','DAJkB','Proceed\x20even\x20when\x20the\x20selected\x20scenario\x20names\x20a\x20URL\x20on\x20a\x20different\x20origin\x20than\x20the\x20resolved\x20target','You\x20must\x20specify\x20an\x20auth\x20subcommand','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','Environment\x20name','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','kaolV','ranger\x20create','zwPqp','ZaEwn','isArray','JSzQR','baVmO','verified','azEhn','VbCek','qnIpI','RANGER_PROFILE','LjpAp','lSLaO','emWtr','pciks','rangerwright-cli','environment-variable','xsddO','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','bKWpt','mGlkI','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','Skip\x20interactive\x20confirmation\x20prompts.','YzZoF','feature\x20add-checklist-item','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','KhcSu','dTTVQ','hook:disable','12JuhaUz','force','\x20is\x20now\x20','Profile\x20name','HFCCs','profile\x20use','show\x20[id]','delete\x20[id]','Install\x20Ranger\x20skills','env-name','Print\x20the\x20current\x20CLI\x20access\x20token','env-var','manual','aNFoS','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','HvaJn','zHphc','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','resume','uiqqV','slice','blocked','niRgi','feature','use','JXweF','repeat','error','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','mcp-bootstrap','guIvd','iqApp','current-branch','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','DcVWT','Config\x20key','428TXvWKD','bICuh','update\x20<env-name>','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','ranger\x20feature\x20list','CSEAp','toESM','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','XmJRz','eQDKK','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','\x0aUnknown\x20command:\x20','length','StFLZ','Skip\x20browser\x20authentication','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','exit','DVmES','Evaluation:\x20','ngrTL','key','sRdOD','ranger\x20show','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','Unknown\x20command','demandCommand','enable','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','status','zsaXw','encrypt\x20<profile>','AzGId','test_output','scxsB','Dxgjy','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','yTJZj','ranger\x20feature\x20delete','Scenario\x20description','lCnjr','miATu','notes','HKbRa','hWOXc','start-path','config\x20get','TwRRS','report\x20[id]','WyZGg','JtzAm','BKwAR','SdQOf','url','profile\x20config\x20list','profile\x20add','value','Cloud\x20profile\x20name','offset','clean','feature\x20create','forEach','SiYds','RANGER_TEST_PASSWORD','lZBDZ','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','ranger\x20add\x20env','2276571JCIRLE','WrIGy','issues','command','713XlJpjA','config\x20set','dry-run','DXoGv','Icuzh','Login\x20failed:\x20','\x20\x20https://docs.ranger.net\x0a','yrEvv','koaaV','deps','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','tokenOrSubcommand','profile\x20config\x20unset','jYSql','feature\x20resume','EPDjg','zYKHp','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','.ranger','ILEPU','config','string','incomplete','scenario','ranger\x20verify-feature','Daoej','Feature\x20review\x20ID\x20to\x20restore','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','flatMap','rzxux','allow-insecure-localhost','BHcDY','JpWrQ','EFPqM','ESgbZ','NODE_ENV','setup:skills','UafDb','SoAOu','cwd','opencode','ranger\x20list','IpIbN','YFvvh','CtJYA','number','sVnIi','Install\x20scope\x20for\x20skills','Set\x20a\x20config\x20value','gfJiR','positional','Install\x20OS-level\x20dependencies\x20for\x20Chromium','argv','KZClq','jwgma','restore\x20<id>','setup\x20[tokenOrSubcommand]','Restore\x20a\x20soft-deleted\x20feature\x20review','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','encrypt-auth\x20<profile>','foAUm','Number\x20of\x20feature\x20reviews\x20to\x20skip','kYCpS','OSAgW','sHsXz','print-access-token','all','mnKOn','ranger\x20start','LZbnE','profile','ranger\x20env\x20update','Switch\x20to\x20using\x20a\x20specific\x20profile','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','Config\x20key\x20to\x20remove','feature\x20delete','Name\x20of\x20the\x20environment','session-id','Name\x20of\x20the\x20profile\x20to\x20update','IsTHU','list\x20<profile>','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','Documentation:\x0a','kVfwI','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','Initialize\x20Ranger\x20in\x20your\x20project','project','cAGkQ','array','save-creds','iRVBv','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','1488udSHSm','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','Feature\x20review\x20ID','Wdgcw','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','json','start','summary','vSJWZ','50uSunZq','Alias\x20for\x20--mcp-bootstrap','bZhes','QRHqv','uXJrV','nMQqR','jUuzT','XeIgb','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','name','QkZhk','KNUlq','qZggL','rpiCW','ranger\x20profile\x20config\x20get','migrate\x20[profile-name]','Install\x20scope\x20for\x20plugin\x20and\x20skills','test','Skip\x20authentication','skip-auth','include-deleted','ayPYn','VfRnQ','limit','StNfN','debug-address-comments','trim','item','feature\x20get-feedback','JAcpA','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','gsTZj','ranger\x20profile\x20config\x20unset','claude','KnkzO','NKqnG','profile\x20config\x20get','pXDBB','brGli','hNjUO','\x20BLOCKED','XswaP','skip-chromium','aYsWh','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','ranger\x20profile\x20encrypt-auth','Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','DYIrV','iOWcQ','ADUEe','lSHWl','arKgb','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.','LuMlh','jkKtj','mcp','jsuVY','NIoEg','env','base-url','72hRKhpA','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','setup-ci\x20<token>','LHtGT','Skip\x20the\x20deletion\x20confirmation\x20prompt.','mTtze','MZnLa','help','profile\x20delete','fail','List\x20all\x20config\x20for\x20a\x20profile','OAlCB','boolean','HKeVF','failed','KebKU','--task','3491663vDDeXY','qaqrn','profile-name','QueAL'];_0x4e87=function(){return _0x4a7aa4;};return _0x4e87();}import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x209a6f=>{const _0x59eb7a=_0x4f407f,_0x356e52=getCurrentCollector();_0x356e52&&await _0x356e52['trackCommandError'](_0x209a6f),process[_0x59eb7a(0x2c8)]=0x1;});const rawArgs=process['argv'][_0x4f407f(0x361)](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201',PROFILE_CONFIG_HELP=_0x4f407f(0x245);function warnRenamed(_0x3f2fe6,_0x29774c){const _0x4b72c7=_0x4f407f;console['error']('\x0a'+_0x3f2fe6+_0x4b72c7(0x34f)+_0x29774c+'\x0a');}function argUsed(_0x514406){return rawArgs['some'](_0x24e41b=>_0x24e41b===_0x514406||_0x24e41b['startsWith'](_0x514406+'='));}function warnFlagRenamed(_0x282194,_0x119ba4,_0x3c9411){const _0x18e096={'zxINr':function(_0x751583,_0x1167b9,_0x106746){return _0x751583(_0x1167b9,_0x106746);}};argUsed(_0x119ba4)&&_0x18e096['zxINr'](warnRenamed,_0x282194+'\x20'+_0x119ba4,_0x282194+'\x20'+_0x3c9411);}function normalizeEnvVarNames(_0x5dc0f4){const _0x6be747=_0x4f407f,_0x528936=Array[_0x6be747(0x332)](_0x5dc0f4)?_0x5dc0f4:_0x5dc0f4?[_0x5dc0f4]:[];return _0x528936[_0x6be747(0x227)](_0x1dbbd9=>String(_0x1dbbd9)[_0x6be747(0x2dd)](',')['map'](_0x32c157=>_0x32c157[_0x6be747(0x28a)]())[_0x6be747(0x2f8)](Boolean));}async function runGoCommand(_0xd345f7,_0x221ebb=![]){const _0x1084f8=_0x4f407f,_0x21e5a2={'IsTHU':function(_0x440a0c,_0x386b57,_0x1b4855){return _0x440a0c(_0x386b57,_0x1b4855);},'uGBZn':'ranger\x20verify-feature','ijeCY':'ranger\x20go','LuMlh':'--env','qaqrn':function(_0x1458d6,_0x23c44c,_0x5c4d1b,_0x213bbd){return _0x1458d6(_0x23c44c,_0x5c4d1b,_0x213bbd);},'gsTZj':_0x1084f8(0x2bc),'idJtw':'--notes','LZbnE':function(_0x38548d,_0x3e83e7,_0x6d7d0a,_0x36098e){return _0x38548d(_0x3e83e7,_0x6d7d0a,_0x36098e);},'pgjRU':'--scenario','TDrdR':function(_0x48045c){return _0x48045c();},'VfRnQ':'env-var','mTtze':function(_0x1cf2fd){return _0x1cf2fd();},'HIygw':function(_0xa259b6,_0x1bd7c2){return _0xa259b6!==_0x1bd7c2;},'jYSql':function(_0x5c840c,_0x275ffe){return _0x5c840c(_0x275ffe);},'MZnLa':_0x1084f8(0x1f1),'VNWYs':'base-url','XKwHN':_0x1084f8(0x289),'ledad':function(_0x57f6c8,_0x4f38d8){return _0x57f6c8+_0x4f38d8;},'xMKcA':_0x1084f8(0x335),'KZClq':'\x20VERIFIED','OAlCB':function(_0x48656c,_0x497a68){return _0x48656c===_0x497a68;},'nncVi':_0x1084f8(0x2d6),'NRUCD':'\x20PARTIAL','sHsXz':'\x20FAILED'};_0x221ebb&&(_0x21e5a2[_0x1084f8(0x25a)](warnRenamed,_0x21e5a2['uGBZn'],_0x21e5a2[_0x1084f8(0x318)]),warnFlagRenamed(_0x1084f8(0x223),_0x21e5a2[_0x1084f8(0x2a5)],'--profile'));_0x21e5a2[_0x1084f8(0x2be)](warnFlagRenamed,_0x21e5a2['ijeCY'],_0x21e5a2[_0x1084f8(0x28f)],_0x21e5a2['idJtw']),_0x21e5a2[_0x1084f8(0x250)](warnFlagRenamed,'ranger\x20go','--item',_0x21e5a2['pgjRU']);const _0x3d2033=await _0x21e5a2['TDrdR'](loadRangerConfig),_0x3ca13d=_0x21e5a2['TDrdR'](isByokEnabled),_0x2b2d89=_0xd345f7['model'],_0x52a8a6=_0x3d2033['model'],_0x2af7dd=normalizeEnvVarNames(_0xd345f7[_0x21e5a2[_0x1084f8(0x286)]]),_0x168090=_0x21e5a2[_0x1084f8(0x2b1)](getVerificationTransport);if(_0x2af7dd[_0x1084f8(0x37e)]>0x0&&_0x21e5a2['HIygw'](_0x168090,'playwright-cli')&&_0x168090!==_0x1084f8(0x33e))throw new Error('The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20'+_0x168090+'.');const _0x43268b=await _0x21e5a2[_0x1084f8(0x218)](verifyFeature,{'featureId':_0xd345f7['feature'],'profile':_0xd345f7['profile']??(_0x221ebb?_0xd345f7[_0x1084f8(0x2aa)]:undefined)??process['env'][_0x1084f8(0x339)],'authEnv':_0x221ebb?undefined:_0xd345f7[_0x1084f8(0x2aa)]??process['env']['RANGER_AUTH_ENV'],'notes':_0xd345f7[_0x1084f8(0x1ee)]??_0xd345f7['task'],'check':_0xd345f7['check'],'scenario':_0xd345f7['scenario']??_0xd345f7[_0x1084f8(0x28b)],'startPath':_0xd345f7[_0x21e5a2[_0x1084f8(0x2b2)]],'baseUrl':_0xd345f7[_0x21e5a2['VNWYs']],'debugOutcome':_0xd345f7[_0x1084f8(0x2fd)],'debugAddressComments':_0xd345f7[_0x21e5a2['XKwHN']],'headed':_0xd345f7['headed'],'verifierEnvVars':_0x2af7dd,'allowUrlMismatch':_0xd345f7['allow-url-mismatch'],'byokEnabled':_0x3ca13d,'flagVerifyModel':_0x2b2d89,'configVerifyModel':_0x52a8a6});console[_0x1084f8(0x320)](_0x21e5a2['ledad']('\x0a','='['repeat'](0x3c))),console[_0x1084f8(0x320)](_0x43268b[_0x1084f8(0x2ff)]===_0x21e5a2['xMKcA']?_0x21e5a2[_0x1084f8(0x240)]:_0x21e5a2[_0x1084f8(0x2b7)](_0x43268b['evaluation'],'incomplete')?_0x21e5a2[_0x1084f8(0x2e5)]:_0x21e5a2['OAlCB'](_0x43268b[_0x1084f8(0x2ff)],'partial')?_0x21e5a2['NRUCD']:_0x43268b[_0x1084f8(0x2ff)]===_0x1084f8(0x362)?_0x1084f8(0x298):_0x21e5a2[_0x1084f8(0x24b)]),console[_0x1084f8(0x320)]('='[_0x1084f8(0x367)](0x3c)),console['log'](_0x1084f8(0x2f1)+_0x43268b[_0x1084f8(0x26e)]),console['log'](_0x1084f8(0x384)+_0x43268b['evaluation']),console[_0x1084f8(0x320)]('Reason:\x20'+_0x43268b['evaluationReason']),_0x43268b[_0x1084f8(0x209)]?.[_0x1084f8(0x37e)]&&(console['log']('\x0aIssues:'),_0x43268b[_0x1084f8(0x209)][_0x1084f8(0x201)]((_0x379177,_0xd239ce)=>{const _0x2b0b11=_0x1084f8;console['log']('\x0a'+(_0xd239ce+0x1)+_0x2b0b11(0x2ca)+_0x379177['severity']+']\x20'+_0x379177['description']);})),process[_0x1084f8(0x382)](_0x43268b[_0x1084f8(0x2ff)]===_0x21e5a2['xMKcA']?0x0:0x1);}export function buildParser(_0x22a4ce){const _0x693568=_0x4f407f,_0x42a4c7={'brGli':'string','GcLND':_0x693568(0x2cb),'ULjqi':'array','DcVWT':'Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','AzGId':function(_0x523ca5,_0x5011cd,_0x3f1361,_0x1144ac){return _0x523ca5(_0x5011cd,_0x3f1361,_0x1144ac);},'XLAyL':_0x693568(0x2c2),'JXweF':'--scenario','rzxux':function(_0x32e68c,_0x3da47c,_0x4a55f2){return _0x32e68c(_0x3da47c,_0x4a55f2);},'yTJZj':'create','bICuh':_0x693568(0x287),'rpiCW':_0x693568(0x238),'OUlCf':_0x693568(0x284),'cJdjK':'Include\x20soft-deleted\x20feature\x20reviews','Icuzh':'list','mGlkI':'show','HmwpQ':_0x693568(0x278),'pciks':_0x693568(0x266),'VVNWJ':'New\x20scenario\x20description','ukSux':'edit-scenario','SoAOu':'Feature\x20review\x20ID','RXTGd':'exclude-scenario','mnKOn':_0x693568(0x389),'pdkCV':_0x693568(0x26c),'zYKHp':'boolean','HvaJn':function(_0x3d8a36,_0x20087f,_0x388eb8){return _0x3d8a36(_0x20087f,_0x388eb8);},'yrEvv':function(_0x240c43,_0x55e53d,_0x4ae9b4){return _0x240c43(_0x55e53d,_0x4ae9b4);},'youMV':_0x693568(0x2d7),'HFCCs':'Ranger\x20API\x20token','KhcSu':_0x693568(0x29a),'QkZhk':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','kaolV':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','CtJYA':_0x693568(0x1f9),'XHDWy':_0x693568(0x37c),'jsuVY':_0x693568(0x229),'jUuzT':_0x693568(0x2dc),'KNUlq':_0x693568(0x271),'uXJrV':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','EnNPK':'Authenticate\x20via\x20MCP\x20proxy','sVnIi':function(_0x58c6b3,_0x3df258){return _0x58c6b3!==_0x3df258;},'KnkzO':_0x693568(0x2e8),'sxePL':function(_0x987d1d,_0x321bb8){return _0x987d1d+_0x321bb8;},'miATu':function(_0x83d1df,_0x1788c5,_0x3b3565){return _0x83d1df(_0x1788c5,_0x3b3565);},'zlUvP':_0x693568(0x306),'kSibW':'setup:deps','Vdhkb':_0x693568(0x261),'lSLaO':_0x693568(0x283),'SiYds':'tokenOrSubcommand','azEhn':'Run\x20full\x20interactive\x20setup','jpYwY':_0x693568(0x214),'awKJV':'Authenticate\x20with\x20Ranger','MMEIe':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','cNzLx':'Set\x20up\x20a\x20local\x20browser\x20profile','YJYnE':_0x693568(0x31f),'ZZtgH':_0x693568(0x2db),'LjpAp':_0x693568(0x34e),'Bprft':_0x693568(0x28e),'EPDjg':_0x693568(0x36a),'OBWmE':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','KctuV':'with-deps','LYZQy':_0x693568(0x2e2),'JIulR':'API\x20token','BHcDY':function(_0x191663,_0x5f2176,_0x2d42e6){return _0x191663(_0x5f2176,_0x2d42e6);},'LHtGT':'profile','hWOXc':_0x693568(0x2ab),'BqSdM':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','Eoabo':'Skip\x20Chromium\x20browser\x20installation','DAJkB':function(_0x26fbd0,_0x96af5a,_0x128563){return _0x26fbd0(_0x96af5a,_0x128563);},'NdYpd':'opencode','IoWkx':_0x693568(0x2f9),'nYIUH':_0x693568(0x23a),'rZoPS':function(_0x53d1a7,_0x14df7a){return _0x53d1a7(_0x14df7a);},'HgTTi':_0x693568(0x2c9),'DVmES':'profile-name','pXOSc':_0x693568(0x32d),'Mljwt':_0x693568(0x226),'IyPUG':'cdp-endpoint','WrIGy':_0x693568(0x268),'ngrTL':_0x693568(0x35e),'iuDBB':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','TRlLN':_0x693568(0x2a4),'XmJRz':'yes','slBch':_0x693568(0x36e),'uIgzO':_0x693568(0x2b0),'Wtqql':function(_0x54ad23,_0x37b8b0,_0x133d78){return _0x54ad23(_0x37b8b0,_0x133d78);},'zWimZ':_0x693568(0x259),'HKbRa':_0x693568(0x359),'TWsuO':_0x693568(0x1fd),'yeOqJ':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','CtNNM':_0x693568(0x2ad),'ESgbZ':_0x693568(0x20d),'PDXrO':'Name\x20of\x20the\x20profile','FpnCH':'unknown\x20error','IXDWC':_0x693568(0x23b),'pCZEj':'get\x20<profile>\x20<key>','cBFWQ':'Get\x20a\x20config\x20value','stsML':_0x693568(0x2c1),'sRdOD':'Remove\x20a\x20config\x20value','iRVBv':'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','SdQOf':'delete\x20<profile-name>','EILXn':'Delete\x20a\x20cloud\x20profile','baVmO':_0x693568(0x246),'kFIOl':_0x693568(0x2fb),'zsaXw':'login\x20<name>','EnGnr':_0x693568(0x27f),'DXoGv':'Manage\x20profile\x20configuration','QJgqr':_0x693568(0x1e1),'XRWxd':function(_0x11a0f0){return _0x11a0f0();},'onFKU':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','rWNGQ':_0x693568(0x24c),'dTTVQ':_0x693568(0x2ed),'QIFIB':'notes','ILEPU':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','scxsB':'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`.','ASnDh':'Scenario\x20index\x20(1-based)','uWmxA':'start-path','SiYcw':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','lpKBJ':_0x693568(0x254),'zHphc':_0x693568(0x33f),'kVfwI':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','qxihH':_0x693568(0x30d),'kuHLe':'partial','JetYN':_0x693568(0x2ba),'QueAL':'task','hnTvu':_0x693568(0x28b),'ubmyV':'ranger\x20auth\x20encrypt','wDCif':_0x693568(0x29d),'niRgi':_0x693568(0x1e3),'DkRuJ':_0x693568(0x282),'YLKDc':_0x693568(0x222),'QviZb':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','jFJVO':'model','NIoEg':'headed','StFLZ':'verified','EFPqM':'blocked','vDTrY':_0x693568(0x221),'bFthM':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','UafDb':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','WNEry':function(_0x4e8ec2,_0x3f18f8,_0x14ff15){return _0x4e8ec2(_0x3f18f8,_0x14ff15);},'Dxgjy':_0x693568(0x206),'WtNjK':'ranger\x20profile\x20add','BKwAR':function(_0x1f56de,_0x229276,_0xb6746d){return _0x1f56de(_0x229276,_0xb6746d);},'WtYAv':'add\x20env','HUoVl':_0x693568(0x356),'xMHZd':_0x693568(0x257),'twgqG':function(_0x43afbe,_0x225e41,_0x56be70){return _0x43afbe(_0x225e41,_0x56be70);},'CEGvL':'ranger\x20use','kiMaU':'Environment\x20name','gfJiR':'key','CGlTM':'value','mrGuf':'Config\x20value','lSHWl':'ranger\x20profile\x20config\x20set','LkcSE':function(_0x22b631,_0x2ef28f,_0xc1539e){return _0x22b631(_0x2ef28f,_0xc1539e);},'ayPYn':'ranger\x20config\x20get','Daoej':_0x693568(0x27e),'aYsWh':function(_0x519388,_0x2aa66b,_0x416719){return _0x519388(_0x2aa66b,_0x416719);},'hHlcc':_0x693568(0x1f2),'WaGfp':'env','KRSWo':_0x693568(0x255),'vSJWZ':'list\x20<env>','jwgma':function(_0x135cb5,_0x23c329,_0x71fa89){return _0x135cb5(_0x23c329,_0x71fa89);},'NwRHT':'ranger\x20profile\x20ls','GcSli':function(_0x4062c9,_0x1f67c8,_0x5e1a0c){return _0x4062c9(_0x1f67c8,_0x5e1a0c);},'xsddO':_0x693568(0x252),'LIJDF':function(_0x39f175,_0x3a2dba,_0x29d693){return _0x39f175(_0x3a2dba,_0x29d693);},'qnIpI':'env\x20update','gibTl':'Name\x20of\x20the\x20environment\x20to\x20update','StNfN':_0x693568(0x373),'tKQgN':_0x693568(0x279),'bKWpt':_0x693568(0x316),'BglOr':_0x693568(0x369),'DYIrV':function(_0x3c2e5e,_0x1424e6,_0x197fac){return _0x3c2e5e(_0x1424e6,_0x197fac);},'nMQqR':_0x693568(0x388),'ffztz':_0x693568(0x1ea),'pSnda':_0x693568(0x2fa),'Mumro':_0x693568(0x30c),'pXDBB':_0x693568(0x200),'VbCek':_0x693568(0x234),'iQYJp':'ranger\x20feature\x20resume','aQWHO':'ranger\x20resume','bZhes':'ranger\x20feature\x20add-checklist-item','TwRRS':'ranger\x20feature\x20get-feedback','oNFFU':_0x693568(0x353),'zwPqp':'resume\x20[id]','HKeVF':'session-id','QOnsP':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','IpIbN':function(_0x43af56,_0x3c8670,_0xc98685){return _0x43af56(_0x3c8670,_0xc98685);},'BBAtU':_0x693568(0x34c),'JAcpA':_0x693568(0x1df),'sNIIh':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','WyZGg':'disable','aNFoS':function(_0x187d8a,_0x471237){return _0x187d8a(_0x471237);},'WVvPU':'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','XTrCi':'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','VLoOw':'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','emWtr':'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','kvuUu':_0x693568(0x242),'iOWcQ':_0x693568(0x243),'xXnyZ':_0x693568(0x2ae),'XswaP':_0x693568(0x314),'GMKkQ':_0x693568(0x355),'YzZoF':_0x693568(0x1ff),'OYcRa':'profiles','fITZL':'Manage\x20profiles','qRmFR':_0x693568(0x364),'jkKtj':'You\x20must\x20specify\x20a\x20command','wLdwD':_0x693568(0x25d),'KebKU':_0x693568(0x211),'koaaV':_0x693568(0x2b3)};return _0x4f8e81(_0x22a4ce??process[_0x693568(0x23f)][_0x693568(0x361)](0x2))['scriptName']('ranger')[_0x693568(0x302)](TOP_LEVEL_HELP)['version'](_0x42a4c7[_0x693568(0x300)](getCurrentVersion))[_0x693568(0x20a)]('create\x20<name>','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios',_0x19eb8c=>{const _0x7c0a93=_0x693568;return _0x19eb8c[_0x7c0a93(0x23d)]('name',{'type':_0x42a4c7['brGli'],'description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x42a4c7['GcLND'],{'type':_0x7c0a93(0x220),'alias':'d','description':'Feature\x20review\x20description'})['option']('scenario',{'type':'array','alias':'c','description':_0x7c0a93(0x26b)})['option'](_0x7c0a93(0x2c7),{'type':_0x42a4c7['ULjqi'],'hidden':!![]});},async _0x253024=>{const _0x2dcc97=_0x693568;if(!_0x253024[_0x2dcc97(0x279)]){console[_0x2dcc97(0x368)](_0x42a4c7[_0x2dcc97(0x36f)]+'Example:\x20ranger\x20create\x20my-feature'),process[_0x2dcc97(0x382)](0x1);return;}_0x42a4c7[_0x2dcc97(0x1e4)](warnFlagRenamed,'ranger\x20create',_0x42a4c7['XLAyL'],_0x42a4c7[_0x2dcc97(0x366)]);const _0x4570fa=_0x253024[_0x2dcc97(0x222)]||_0x253024['checklist'];await _0x42a4c7['rzxux'](withTelemetry,_0x42a4c7[_0x2dcc97(0x1e9)],()=>featureCreate(_0x253024['name'],{'description':_0x253024[_0x2dcc97(0x2cb)],'scenarios':_0x4570fa}));})[_0x693568(0x20a)](_0x42a4c7[_0x693568(0x20f)],'List\x20all\x20feature\x20reviews',_0x2a103d=>{const _0x1d4f99=_0x693568;return _0x2a103d[_0x1d4f99(0x2cf)]('current-branch',{'type':_0x1d4f99(0x2b8),'description':_0x1d4f99(0x369)})[_0x1d4f99(0x2cf)](_0x42a4c7[_0x1d4f99(0x372)],{'type':_0x42a4c7['rpiCW'],'alias':'l','description':_0x1d4f99(0x313),'default':0xa})['option'](_0x1d4f99(0x1fe),{'type':_0x1d4f99(0x238),'alias':'o','description':_0x1d4f99(0x248),'default':0x0})[_0x1d4f99(0x2cf)](_0x42a4c7['OUlCf'],{'type':'boolean','alias':'d','description':_0x42a4c7['cJdjK'],'default':![]});},async _0x1212dc=>{const _0xec31c3=_0x693568;await withTelemetry(_0x42a4c7['Icuzh'],()=>featureList({'currentBranch':_0x1212dc['current-branch'],'limit':_0x1212dc[_0xec31c3(0x287)],'offset':_0x1212dc[_0xec31c3(0x1fe)],'includeDeleted':_0x1212dc[_0xec31c3(0x284)]}));})[_0x693568(0x20a)]('show\x20[id]',_0x693568(0x35b),_0x2d994d=>{const _0x433ed0=_0x693568;return _0x2d994d[_0x433ed0(0x23d)]('id',{'type':_0x42a4c7[_0x433ed0(0x296)],'description':_0x433ed0(0x269)});},async _0x16f5b4=>{const _0x4fd658=_0x693568;await withTelemetry(_0x42a4c7[_0x4fd658(0x343)],()=>featureShow(_0x16f5b4['id']));})['command'](_0x42a4c7['zwPqp'],_0x42a4c7[_0x693568(0x324)],_0x3ac536=>{const _0x57504a=_0x693568;return _0x3ac536[_0x57504a(0x23d)]('id',{'type':_0x42a4c7['brGli'],'description':_0x42a4c7['HmwpQ']});},async _0x584607=>{const _0x472ca7=_0x693568;await _0x42a4c7[_0x472ca7(0x228)](withTelemetry,_0x472ca7(0x35f),()=>featureResume(_0x584607['id']));})['command']('add-scenario\x20<description>',_0x42a4c7['XTrCi'],_0x4fe99f=>{const _0x45e5f7=_0x693568;return _0x4fe99f['positional'](_0x45e5f7(0x2cb),{'type':_0x42a4c7['brGli'],'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':_0x42a4c7[_0x45e5f7(0x296)],'description':_0x42a4c7[_0x45e5f7(0x33d)]});},async _0x1c855e=>{await withTelemetry('add-scenario',()=>featureAddScenario(_0x1c855e['description'],_0x1c855e['id']));})[_0x693568(0x20a)]('edit-scenario\x20<description>',_0x42a4c7['VLoOw'],_0x223b64=>{const _0x26fc6b=_0x693568;return _0x223b64['positional'](_0x42a4c7[_0x26fc6b(0x2d0)],{'type':'string','description':_0x42a4c7['VVNWJ'],'demandOption':!![]})['option'](_0x26fc6b(0x222),{'type':_0x26fc6b(0x238),'description':'Scenario\x20number\x20to\x20edit\x20(1-based)','demandOption':!![]})[_0x26fc6b(0x2cf)]('id',{'type':_0x42a4c7['brGli'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x38e0bb=>{const _0x383171=_0x693568;await _0x42a4c7['rzxux'](withTelemetry,_0x42a4c7['ukSux'],()=>featureEditScenario(_0x38e0bb[_0x383171(0x2cb)],{'id':_0x38e0bb['id'],'scenario':_0x38e0bb['scenario']}));})['command'](_0x693568(0x1f4),'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x2fb5ad=>{const _0x48a300=_0x693568;return _0x2fb5ad[_0x48a300(0x23d)]('id',{'type':_0x42a4c7[_0x48a300(0x296)],'description':_0x42a4c7[_0x48a300(0x231)]})[_0x48a300(0x2cf)](_0x42a4c7['RXTGd'],{'type':_0x48a300(0x263),'description':_0x42a4c7[_0x48a300(0x24e)]})[_0x48a300(0x2cf)](_0x42a4c7['pdkCV'],{'type':_0x42a4c7['zYKHp'],'description':_0x48a300(0x25c),'default':![]});},async _0xec56cb=>{const _0x5f2522=_0x693568,_0x208931=_0xec56cb[_0x42a4c7['RXTGd']],_0x470e6e=_0x208931?_0x208931['map'](_0x19fc59=>Number(_0x19fc59)):undefined;await withTelemetry('report',()=>featureReportPrDescription(_0xec56cb['id'],{'excludeScenarios':_0x470e6e,'json':_0xec56cb[_0x5f2522(0x26c)]}));})[_0x693568(0x20a)]('get-review\x20[id]',_0x42a4c7[_0x693568(0x33c)],_0x469297=>{const _0x36b496=_0x693568;return _0x469297[_0x36b496(0x23d)]('id',{'type':'string','description':_0x36b496(0x266)});},async _0x2b47f4=>{const _0x556fe8=_0x693568;await _0x42a4c7['HvaJn'](withTelemetry,_0x556fe8(0x2c6),()=>featureGetReview(_0x2b47f4['id']));})['command'](_0x693568(0x354),_0x693568(0x348),_0x480e3e=>{const _0x158f94=_0x693568;return _0x480e3e[_0x158f94(0x23d)]('id',{'type':_0x42a4c7['brGli'],'description':'Feature\x20review\x20ID'});},async _0x3713cd=>{const _0x1a6b28=_0x693568;await _0x42a4c7['yrEvv'](withTelemetry,_0x42a4c7[_0x1a6b28(0x2f2)],()=>featureDelete(_0x3713cd['id']));})[_0x693568(0x20a)](_0x42a4c7['kvuUu'],_0x693568(0x244),_0x3d7f9f=>{const _0x426de7=_0x693568;return _0x3d7f9f['positional']('id',{'type':_0x42a4c7['brGli'],'description':_0x426de7(0x225),'demandOption':!![]});},async _0xd4b69d=>{await _0x42a4c7['HvaJn'](withTelemetry,'restore',()=>featureRestore(_0xd4b69d['id']));})[_0x693568(0x20a)](_0x42a4c7[_0x693568(0x2a0)],_0x693568(0x260),_0x574419=>{const _0x259b6f=_0x693568,_0x43d5a5={'kfSyG':function(_0x4b2a5c,_0x4937b1,_0x1fd8a6){const _0x18dd39=_0x2373;return _0x42a4c7[_0x18dd39(0x1ed)](_0x4b2a5c,_0x4937b1,_0x1fd8a6);},'Gkilu':_0x42a4c7['zlUvP'],'AWmlk':function(_0x3191e7,_0xe3a9cb,_0x49547e){return _0x42a4c7['miATu'](_0x3191e7,_0xe3a9cb,_0x49547e);},'ZaEwn':_0x42a4c7['kSibW'],'dLhwS':function(_0x51f956){return _0x51f956();},'cAGkQ':function(_0x57c1af,_0x32f524,_0x6d01fb){return _0x57c1af(_0x32f524,_0x6d01fb);},'TnMBB':_0x42a4c7[_0x259b6f(0x309)],'oPETb':_0x259b6f(0x280),'OSAgW':_0x259b6f(0x233),'JtrVJ':_0x259b6f(0x2b8),'oSjzw':_0x259b6f(0x2c3),'PsRti':function(_0x1c28bb,_0x5b3c77,_0x3a2fb8){return _0x1c28bb(_0x5b3c77,_0x3a2fb8);},'Apzuj':'scope','kYCpS':_0x42a4c7[_0x259b6f(0x296)],'oSWnU':_0x42a4c7[_0x259b6f(0x32e)],'daaoK':_0x259b6f(0x1f9),'LRwmn':_0x42a4c7[_0x259b6f(0x33b)],'DHWdZ':_0x259b6f(0x380),'iqApp':_0x42a4c7['jsuVY'],'RNZTs':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments'};return _0x574419[_0x259b6f(0x302)]('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')[_0x259b6f(0x23d)](_0x42a4c7[_0x259b6f(0x202)],{'type':_0x42a4c7['brGli'],'description':'Subcommand\x20or\x20API\x20token\x20(rngr_...)'})['command'](_0x259b6f(0x24d),_0x42a4c7[_0x259b6f(0x336)],_0x1b263b=>{const _0x3586a5=_0x259b6f;return _0x1b263b['option'](_0x3586a5(0x2e2),{'type':'string','description':_0x42a4c7['HFCCs']})[_0x3586a5(0x2cf)](_0x42a4c7[_0x3586a5(0x34a)],{'type':_0x42a4c7[_0x3586a5(0x21b)],'description':_0x42a4c7['QkZhk'],'default':![]})['option']('skip-auth',{'type':_0x42a4c7[_0x3586a5(0x21b)],'description':'Skip\x20authentication','default':![]})['option'](_0x3586a5(0x2f3),{'type':_0x3586a5(0x2b8),'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]})[_0x3586a5(0x2cf)](_0x3586a5(0x31f),{'type':_0x3586a5(0x220),'choices':['user'],'hidden':!![],'description':_0x42a4c7[_0x3586a5(0x32e)]})['option'](_0x42a4c7['CtJYA'],{'type':_0x42a4c7[_0x3586a5(0x296)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})[_0x3586a5(0x2cf)](_0x3586a5(0x34e),{'type':'boolean','description':_0x42a4c7[_0x3586a5(0x2e9)],'default':![]})[_0x3586a5(0x2cf)]('opencode',{'type':_0x42a4c7['zYKHp'],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})['option'](_0x42a4c7[_0x3586a5(0x2a8)],{'type':_0x42a4c7[_0x3586a5(0x21b)],'description':_0x42a4c7[_0x3586a5(0x276)],'default':![]})[_0x3586a5(0x2cf)]('mcp-bootstrap',{'type':_0x3586a5(0x2b8),'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','default':![]})[_0x3586a5(0x2cf)](_0x3586a5(0x2a7),{'type':'boolean','description':_0x42a4c7[_0x3586a5(0x27b)],'default':![]});},async _0x5aad11=>{const _0x4a2b03=_0x259b6f;(_0x5aad11['mcp-bootstrap']||_0x5aad11[_0x4a2b03(0x2a7)])&&await withTelemetry(_0x4a2b03(0x36a),()=>mcpBootstrap()),await _0x43d5a5['kfSyG'](withTelemetry,_0x43d5a5[_0x4a2b03(0x2e3)],_0xbba4cc=>start(_0x5aad11[_0x4a2b03(0x2e2)],{'skipChromium':_0x5aad11['skip-chromium'],'skipAuth':_0x5aad11[_0x4a2b03(0x283)],'withDeps':_0x5aad11['with-deps'],'scope':_0x5aad11['scope'],'url':_0x5aad11['url'],'force':_0x5aad11[_0x4a2b03(0x34e)],'opencode':_0x5aad11[_0x4a2b03(0x233)],'allowInsecureLocalhost':_0x5aad11[_0x4a2b03(0x229)]},_0xbba4cc));})[_0x259b6f(0x20a)](_0x42a4c7[_0x259b6f(0x315)],'Install\x20Chromium\x20browser\x20binary',_0x140f2d=>{const _0x494f8f=_0x259b6f;return _0x140f2d['option'](_0x494f8f(0x2f3),{'type':_0x42a4c7[_0x494f8f(0x21b)],'description':_0x42a4c7[_0x494f8f(0x274)],'default':![]});},async _0x3d57c9=>{const _0x297f53=_0x259b6f;await _0x43d5a5['AWmlk'](withTelemetry,_0x43d5a5[_0x297f53(0x331)],()=>ensureChromium(_0x3d57c9[_0x297f53(0x2f3)]));})['command'](_0x259b6f(0x314),_0x42a4c7['awKJV'],_0x2ff99d=>{const _0x3d5a43=_0x259b6f;return _0x2ff99d['option']('token',{'type':'string','description':_0x3d5a43(0x30e)})[_0x3d5a43(0x2cf)](_0x3d5a43(0x2a7),{'type':'boolean','description':_0x42a4c7['EnNPK'],'default':![]});},async _0x2ca532=>{const _0x420603=_0x259b6f,_0x3a89ec={'YFvvh':function(_0x5bc964){return _0x43d5a5['dLhwS'](_0x5bc964);},'zIvYQ':_0x420603(0x381)};await _0x43d5a5[_0x420603(0x262)](withTelemetry,_0x420603(0x2ec),async()=>{const _0xfd2e1c=_0x420603;if(_0x2ca532[_0xfd2e1c(0x2a7)]){await mcpBootstrap();const _0x255661=await _0x3a89ec[_0xfd2e1c(0x236)](refreshCliToken);if(!_0x255661)throw new Error(_0x3a89ec['zIvYQ']);const _0x16f46f=await getCurrentUser(_0x255661);if(!_0x16f46f['success'])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x16f46f[_0xfd2e1c(0x368)]);console['log'](_0xfd2e1c(0x301)+_0x16f46f['user']['organizationName']);return;}await authenticate(_0x2ca532['token']);});})[_0x259b6f(0x20a)]('skills',_0x42a4c7['MMEIe'],_0x58b7aa=>{const _0x3247e7=_0x259b6f;return _0x58b7aa[_0x3247e7(0x2cf)](_0x3247e7(0x31f),{'type':_0x3247e7(0x220),'choices':['user',_0x43d5a5['TnMBB']],'description':_0x43d5a5['oPETb']})[_0x3247e7(0x2cf)](_0x43d5a5[_0x3247e7(0x24a)],{'type':_0x43d5a5['JtrVJ'],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]});},async _0x236267=>{const _0x378f4c=_0x259b6f,_0x383b45={'nszYx':function(_0x2ad178,_0x3afe9a){return _0x2ad178(_0x3afe9a);},'ADrkZ':function(_0x5d2284,_0xaa8fdc,_0x2e6d94){return _0x5d2284(_0xaa8fdc,_0x2e6d94);},'jVsEH':_0x43d5a5['oSjzw'],'QqDFX':_0x43d5a5['OSAgW']};await _0x43d5a5['PsRti'](withTelemetry,_0x378f4c(0x22f),async()=>{const _0x114c8f=_0x378f4c,_0x20b42c=_0x236267[_0x114c8f(0x31f)];if(_0x236267['opencode']){const _0x17a07e=await _0x383b45['nszYx'](ensureOpencodePluginConfig,_0x20b42c);_0x17a07e&&await _0x383b45['ADrkZ'](installSkill,_0x383b45['jVsEH'],{'level':_0x17a07e['scope'],'cliVersion':getCurrentVersion(),'platform':_0x383b45['QqDFX']});}else await _0x383b45['nszYx'](ensureClaudePlugin,_0x20b42c),await ensureClaudeSkills(_0x20b42c);});})['command']('profiles',_0x42a4c7['cNzLx'],_0x197c18=>{const _0x4ed2fc=_0x259b6f;return _0x197c18[_0x4ed2fc(0x2cf)](_0x43d5a5['Apzuj'],{'type':_0x43d5a5[_0x4ed2fc(0x249)],'choices':['user'],'description':_0x43d5a5[_0x4ed2fc(0x31e)]})['option'](_0x43d5a5['daaoK'],{'type':'string','description':_0x4ed2fc(0x305)})[_0x4ed2fc(0x2cf)](_0x43d5a5['LRwmn'],{'type':_0x4ed2fc(0x2b8),'description':_0x43d5a5[_0x4ed2fc(0x2ce)],'default':![]})[_0x4ed2fc(0x2cf)]('force',{'type':_0x43d5a5['JtrVJ'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x4ed2fc(0x2cf)](_0x43d5a5[_0x4ed2fc(0x36c)],{'type':_0x43d5a5['JtrVJ'],'description':_0x43d5a5[_0x4ed2fc(0x2d1)],'default':![]});},async _0xeb40b=>{const _0x1ed09a=_0x259b6f,_0x3d5518=_0xeb40b['scope'];_0x3d5518!==undefined&&_0x42a4c7[_0x1ed09a(0x239)](_0x3d5518,_0x42a4c7['KnkzO'])&&(console['error'](_0x42a4c7['sxePL']('ranger\x20setup\x20profiles\x20--scope='+_0x3d5518+'\x20is\x20no\x20longer\x20supported.\x20','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20')+_0x1ed09a(0x2e4)),process[_0x1ed09a(0x382)](0x1)),await withTelemetry('setup:profiles',_0x1dd2f6=>ensureLocalEnv({'url':_0xeb40b['url'],'force':_0xeb40b['force'],'allowInsecureLocalhost':_0xeb40b[_0x1ed09a(0x229)],'scope':'user'},_0x1dd2f6));})[_0x259b6f(0x2cf)](_0x42a4c7['KhcSu'],{'type':_0x42a4c7[_0x259b6f(0x21b)],'description':_0x42a4c7[_0x259b6f(0x27a)],'default':![]})[_0x259b6f(0x2cf)](_0x42a4c7['YJYnE'],{'type':_0x259b6f(0x220),'choices':[_0x42a4c7['KnkzO']],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x259b6f(0x2cf)]('url',{'type':'string','description':_0x42a4c7['ZZtgH']})[_0x259b6f(0x2cf)](_0x42a4c7[_0x259b6f(0x33a)],{'type':'boolean','description':_0x42a4c7['XHDWy'],'default':![]})[_0x259b6f(0x2cf)]('opencode',{'type':'boolean','description':_0x259b6f(0x2f6),'default':![]})[_0x259b6f(0x2cf)](_0x42a4c7[_0x259b6f(0x2a8)],{'type':_0x42a4c7[_0x259b6f(0x21b)],'description':_0x42a4c7['Bprft'],'default':![]})[_0x259b6f(0x2cf)](_0x42a4c7[_0x259b6f(0x21a)],{'type':_0x42a4c7['zYKHp'],'description':_0x42a4c7['OBWmE'],'default':![]})['option'](_0x259b6f(0x283),{'type':_0x259b6f(0x2b8),'description':_0x259b6f(0x37b),'default':![]})['option'](_0x42a4c7[_0x259b6f(0x31d)],{'type':_0x42a4c7[_0x259b6f(0x21b)],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]})[_0x259b6f(0x2cf)](_0x42a4c7['LYZQy'],{'type':_0x42a4c7[_0x259b6f(0x296)],'hidden':!![],'description':_0x42a4c7[_0x259b6f(0x2e6)]});},async _0x2b036a=>{const _0x11d503=_0x693568,_0x3ca222=_0x2b036a[_0x11d503(0x216)],_0xd2d6fc=_0x2b036a[_0x11d503(0x2e2)]??_0x3ca222;_0x2b036a['mcp-bootstrap']&&await withTelemetry('mcp-bootstrap',()=>mcpBootstrap()),await _0x42a4c7['BHcDY'](withTelemetry,_0x11d503(0x26d),_0x4594cf=>start(_0xd2d6fc,{'skipChromium':_0x2b036a['skip-chromium'],'skipAuth':_0x2b036a[_0x11d503(0x283)],'withDeps':_0x2b036a[_0x11d503(0x2f3)],'scope':_0x2b036a[_0x11d503(0x31f)],'url':_0x2b036a['url'],'force':_0x2b036a[_0x11d503(0x34e)],'opencode':_0x2b036a[_0x11d503(0x233)],'allowInsecureLocalhost':_0x2b036a[_0x11d503(0x229)]},_0x4594cf));})[_0x693568(0x20a)](_0x42a4c7['xXnyZ'],![],_0x4a3b08=>{const _0x507fca=_0x693568;return _0x4a3b08[_0x507fca(0x23d)](_0x507fca(0x2e2),{'type':'string','description':_0x42a4c7[_0x507fca(0x351)],'demandOption':!![]})[_0x507fca(0x2cf)](_0x42a4c7['LHtGT'],{'type':'string','description':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)'})[_0x507fca(0x2cf)](_0x42a4c7[_0x507fca(0x1f0)],{'type':_0x42a4c7[_0x507fca(0x296)],'description':_0x42a4c7['BqSdM']})['option']('skip-chromium',{'type':_0x42a4c7['zYKHp'],'description':_0x42a4c7['Eoabo'],'default':![]});},async _0x342454=>{const _0x269154=_0x693568;await _0x42a4c7[_0x269154(0x328)](withTelemetry,'setup-ci',_0x5362d2=>setupCi(_0x342454['token'],{'profile':_0x342454[_0x269154(0x251)],'baseUrl':_0x342454['base-url'],'skipChromium':_0x342454[_0x269154(0x29a)]},_0x5362d2));})['command'](_0x42a4c7[_0x693568(0x299)],_0x693568(0x21c),()=>{},async()=>{await withTelemetry('login',()=>login());})[_0x693568(0x20a)](_0x42a4c7['HgTTi'],_0x42a4c7['GMKkQ'],_0x1ea760=>{const _0x432ac4=_0x693568;return _0x1ea760['option'](_0x42a4c7['NdYpd'],{'type':_0x42a4c7['zYKHp'],'description':_0x42a4c7['IoWkx'],'default':![]})[_0x432ac4(0x2cf)](_0x42a4c7['YJYnE'],{'type':'string','choices':[_0x42a4c7[_0x432ac4(0x292)],_0x42a4c7[_0x432ac4(0x309)]],'description':_0x42a4c7['nYIUH']});},async _0x2a2cfd=>{const _0x850d14=_0x693568,_0x41ed32=_0x42a4c7['rZoPS'](Boolean,_0x2a2cfd['opencode']);await _0x42a4c7['miATu'](withTelemetry,_0x42a4c7['HgTTi'],()=>skillup({'autoInstall':_0x2a2cfd[_0x850d14(0x31f)],'platform':_0x41ed32?'opencode':_0x850d14(0x291)}));})[_0x693568(0x20a)](_0x42a4c7[_0x693568(0x346)],_0x693568(0x349),()=>{},async()=>{const _0x5c6096=_0x693568;await withTelemetry(_0x5c6096(0x1ff),()=>clean());})['command']([_0x693568(0x251),_0x42a4c7['OYcRa']],_0x42a4c7['fITZL'],_0x4eb844=>{const _0x1302c4=_0x693568,_0x530476={'SIQnx':_0x1302c4(0x1fb),'ezdIC':_0x42a4c7[_0x1302c4(0x2f7)],'eQDKK':function(_0x12251d,_0x23ae03,_0x3a456e){return _0x12251d(_0x23ae03,_0x3a456e);},'beHhl':_0x1302c4(0x29c),'toESM':function(_0x562cfd,_0x4c3a35,_0x412ae2){const _0x42a9c8=_0x1302c4;return _0x42a4c7[_0x42a9c8(0x35c)](_0x562cfd,_0x4c3a35,_0x412ae2);},'tRYsT':function(_0x1c7926,_0x54f76d){return _0x1c7926===_0x54f76d;},'lCnjr':_0x42a4c7['FpnCH'],'SOacV':'profile\x20login','tHMVC':function(_0x36f40f,_0xc1c23,_0x5b751e){return _0x36f40f(_0xc1c23,_0x5b751e);},'JDsOM':'profile\x20config\x20reset','UVnST':'string','jPXAl':_0x1302c4(0x350),'VeKOt':_0x1302c4(0x1fc),'qZggL':'set\x20<profile>\x20<key>\x20<value>','ZjHuI':_0x42a4c7['IXDWC'],'UasvL':_0x42a4c7['pCZEj'],'OcBFq':_0x42a4c7['cBFWQ'],'ePEQD':_0x1302c4(0x25b),'ZTYnW':_0x42a4c7['stsML'],'IJTmw':_0x42a4c7[_0x1302c4(0x387)],'qHiGN':_0x42a4c7[_0x1302c4(0x265)]};return _0x4eb844['usage'](PROFILE_HELP)[_0x1302c4(0x20a)]('add\x20<profile-name>','Add\x20profile\x20configuration',_0x3b1ce4=>{const _0xe4f182=_0x1302c4;return _0x3b1ce4[_0xe4f182(0x23d)](_0x42a4c7['DVmES'],{'type':'string','description':_0x42a4c7['pXOSc'],'demandOption':!![]})['option']('ci',{'type':_0x42a4c7[_0xe4f182(0x21b)],'hidden':!![],'default':![]})[_0xe4f182(0x2cf)](_0xe4f182(0x283),{'type':'boolean','description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0xe4f182(0x2cf)]('url',{'type':_0x42a4c7[_0xe4f182(0x296)],'description':_0x42a4c7['Mljwt']})[_0xe4f182(0x2cf)]('force',{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0xe4f182(0x2cf)](_0x42a4c7['IyPUG'],{'type':_0x42a4c7[_0xe4f182(0x296)],'description':_0x42a4c7[_0xe4f182(0x208)]})[_0xe4f182(0x2cf)](_0x42a4c7['jsuVY'],{'type':'boolean','description':_0x42a4c7['Bprft'],'default':![]})['option'](_0xe4f182(0x2da),{'type':_0x42a4c7['zYKHp'],'description':_0x42a4c7[_0xe4f182(0x385)],'default':![]})[_0xe4f182(0x2cf)]('setup-header',{'type':'string','array':!![],'description':_0xe4f182(0x1e8)})['option'](_0x42a4c7['YJYnE'],{'type':'string','choices':[_0x42a4c7[_0xe4f182(0x292)],_0x42a4c7[_0xe4f182(0x309)]],'description':_0x42a4c7['iuDBB']})[_0xe4f182(0x2cf)](_0xe4f182(0x2aa),{'type':_0xe4f182(0x220),'description':_0x42a4c7['TRlLN']})['option'](_0x42a4c7[_0xe4f182(0x379)],{'type':'boolean','alias':'y','description':_0x42a4c7['slBch'],'default':![]});},async _0x46b896=>{const _0x1068f6=_0x1302c4;await withTelemetry(_0x530476['SIQnx'],_0x327f69=>addEnv(_0x46b896[_0x1068f6(0x2bf)],{'ci':_0x46b896['ci'],'skipAuth':_0x46b896[_0x1068f6(0x283)],'url':_0x46b896[_0x1068f6(0x1f9)],'force':_0x46b896['force'],'cdpEndpoint':_0x46b896['cdp-endpoint'],'allowInsecureLocalhost':_0x46b896[_0x1068f6(0x229)],'safeMode':_0x46b896['safe-mode'],'setupHeader':_0x46b896[_0x1068f6(0x2cd)],'scope':_0x46b896['scope'],'authEnv':_0x46b896[_0x1068f6(0x2aa)],'yes':_0x46b896['yes']},_0x327f69),{'isElectron':Boolean(_0x46b896['cdp-endpoint'])});})[_0x1302c4(0x20a)]('use\x20<profile-name>',_0x1302c4(0x253),_0x5e0052=>{const _0x14dfe5=_0x1302c4;return _0x5e0052[_0x14dfe5(0x23d)]('profile-name',{'type':'string','description':_0x530476['ezdIC'],'demandOption':!![]});},async _0x2ec624=>{const _0x5187f9=_0x1302c4;await withTelemetry(_0x5187f9(0x352),()=>useEnv(_0x2ec624[_0x5187f9(0x2bf)]));})['command'](_0x42a4c7[_0x1302c4(0x1f8)],_0x42a4c7['EILXn'],_0x520498=>{const _0x8c8c6=_0x1302c4;return _0x520498['positional'](_0x42a4c7[_0x8c8c6(0x383)],{'type':'string','description':_0x8c8c6(0x303),'demandOption':!![]})[_0x8c8c6(0x2cf)](_0x8c8c6(0x304),{'type':_0x42a4c7['zYKHp'],'alias':'y','description':_0x42a4c7['uIgzO'],'default':![]});},async _0x2d5a01=>{const _0x32e90c=_0x1302c4;await withTelemetry(_0x32e90c(0x2b4),()=>deleteProfile(_0x2d5a01[_0x32e90c(0x2bf)],{'yes':_0x2d5a01['yes']}));})['command'](_0x42a4c7[_0x1302c4(0x334)],![],_0x2c672d=>{return _0x2c672d['positional']('profile',{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x2ec29b=>{const _0x44522e=_0x1302c4;await _0x530476[_0x44522e(0x37a)](withTelemetry,_0x44522e(0x2f0),()=>authEncrypt(_0x2ec29b['profile']));})['command']('ls','List\x20all\x20profiles',()=>{},async()=>{await _0x42a4c7['Wtqql'](withTelemetry,'profile\x20ls',()=>envList());})[_0x1302c4(0x20a)]('update\x20<profile-name>',_0x42a4c7['kFIOl'],_0x32048b=>{const _0x513ee9=_0x1302c4;return _0x32048b['positional'](_0x42a4c7['DVmES'],{'type':_0x42a4c7[_0x513ee9(0x296)],'description':_0x42a4c7[_0x513ee9(0x2df)],'demandOption':!![]})[_0x513ee9(0x2cf)](_0x42a4c7['jsuVY'],{'type':_0x513ee9(0x2b8),'description':_0x42a4c7['Bprft']})['option'](_0x42a4c7[_0x513ee9(0x1ef)],{'type':_0x42a4c7[_0x513ee9(0x21b)],'description':_0x513ee9(0x29e)});},async _0x546765=>{const _0x526ded=_0x1302c4;await _0x530476[_0x526ded(0x37a)](withTelemetry,_0x526ded(0x2c5),_0xad2469=>updateEnv(_0x546765[_0x526ded(0x2bf)],_0xad2469,{'allowInsecureLocalhost':_0x546765[_0x526ded(0x229)],'manual':_0x546765['manual']}));})['command'](_0x42a4c7[_0x1302c4(0x1e2)],![],_0x27949f=>{const _0x221e32=_0x1302c4;return _0x27949f[_0x221e32(0x23d)]('name',{'type':_0x42a4c7[_0x221e32(0x296)],'description':_0x42a4c7[_0x221e32(0x31c)],'demandOption':!![]});},async _0x35e530=>{const _0x3a3ec2=_0x1302c4,_0x51241e={'IWZlZ':function(_0x49a98e,_0x196e42){return _0x49a98e||_0x196e42;},'xGmGw':_0x530476['beHhl'],'DJGMG':function(_0x473824,_0x11b1b0,_0x214913){return _0x530476['toESM'](_0x473824,_0x11b1b0,_0x214913);},'aDEgO':function(_0x5e5048,_0x2f2434){return _0x530476['tRYsT'](_0x5e5048,_0x2f2434);},'lZBDZ':_0x530476[_0x3a3ec2(0x1ec)]};await _0x530476[_0x3a3ec2(0x377)](withTelemetry,_0x530476['SOacV'],async()=>{const _0x4f89fe=_0x3a3ec2,_0x409d6f=process[_0x4f89fe(0x2aa)]['RANGER_TEST_USERNAME'],_0x9efc24=process[_0x4f89fe(0x2aa)][_0x4f89fe(0x203)];_0x51241e['IWZlZ'](!_0x409d6f,!_0x9efc24)&&(console['error'](_0x51241e['xGmGw']),process['exit'](0x1));const _0x5d90ae=_0x35e530['name'],_0x188798=await _0x51241e[_0x4f89fe(0x2eb)](serverSideLogin,_0x5d90ae,{'force':!![]});_0x51241e['aDEgO'](_0x188798[_0x4f89fe(0x1e1)],_0x4f89fe(0x2de))&&(console[_0x4f89fe(0x368)](_0x4f89fe(0x25f)),process[_0x4f89fe(0x382)](0x1)),_0x188798['status']===_0x4f89fe(0x2ba)&&(console['error'](_0x4f89fe(0x210)+(_0x188798[_0x4f89fe(0x368)]??_0x51241e[_0x4f89fe(0x204)])),_0x188798[_0x4f89fe(0x1e5)]&&console['error'](_0x188798[_0x4f89fe(0x1e5)]),process['exit'](0x1)),console[_0x4f89fe(0x320)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x5d90ae+'\x27.\x20Session\x20saved.');});})[_0x1302c4(0x20a)](_0x42a4c7[_0x1302c4(0x312)],![],_0x3562a7=>{const _0x2764bd=_0x1302c4;return _0x3562a7['positional'](_0x42a4c7['DVmES'],{'type':_0x42a4c7[_0x2764bd(0x296)],'description':_0x42a4c7['yeOqJ']})['option']('all',{'type':'boolean','description':_0x42a4c7['CtNNM'],'default':![]})[_0x2764bd(0x2cf)](_0x42a4c7[_0x2764bd(0x22d)],{'type':'boolean','description':_0x2764bd(0x341),'default':![]})[_0x2764bd(0x2cf)](_0x2764bd(0x304),{'type':_0x2764bd(0x2b8),'alias':'y','description':_0x2764bd(0x345),'default':![]})['option']('save-creds',{'type':_0x42a4c7[_0x2764bd(0x21b)],'description':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','default':![]});},async _0x115898=>{const _0x8c62b1=_0x1302c4;await _0x530476['tHMVC'](withTelemetry,'profile\x20migrate',_0x5c8fc7=>migrateProfile({'profileName':_0x115898['profile-name'],'all':_0x115898[_0x8c62b1(0x24d)],'dryRun':_0x115898[_0x8c62b1(0x20d)],'yes':_0x115898['yes'],'saveCreds':_0x115898[_0x8c62b1(0x264)]},_0x5c8fc7));})['command'](_0x1302c4(0x21f),_0x42a4c7[_0x1302c4(0x20e)],_0x46724e=>{const _0x83dfc1=_0x1302c4,_0x50cff8={'ADUEe':_0x83dfc1(0x251),'CSEAp':_0x530476['UVnST'],'TlSVN':_0x530476['jPXAl'],'yNogA':'key','CmmUA':_0x530476[_0x83dfc1(0x323)],'Ctsco':'Config\x20value','hNjUO':'Config\x20key','foAUm':function(_0x2cd2ba,_0x33b3bc,_0x21c590){return _0x2cd2ba(_0x33b3bc,_0x21c590);},'zqjMX':_0x83dfc1(0x294)};return _0x46724e[_0x83dfc1(0x302)](PROFILE_CONFIG_HELP)[_0x83dfc1(0x20a)](_0x530476[_0x83dfc1(0x27c)],_0x530476[_0x83dfc1(0x2d8)],_0x40fe48=>{const _0x70a046=_0x83dfc1;return _0x40fe48['positional'](_0x50cff8[_0x70a046(0x2a1)],{'type':_0x50cff8[_0x70a046(0x376)],'description':_0x50cff8['TlSVN'],'demandOption':!![]})[_0x70a046(0x23d)](_0x50cff8['yNogA'],{'type':_0x50cff8['CSEAp'],'description':_0x70a046(0x344),'demandOption':!![]})['positional'](_0x50cff8['CmmUA'],{'type':_0x50cff8['CSEAp'],'description':_0x50cff8['Ctsco'],'demandOption':!![]});},async _0x86a6dd=>{const _0xff0ee7=_0x83dfc1;await withTelemetry('profile\x20config\x20set',()=>configSet(_0x86a6dd['profile'],_0x86a6dd['key'],_0x86a6dd[_0xff0ee7(0x1fc)]));})['command'](_0x530476['UasvL'],_0x530476['OcBFq'],_0x112e00=>{const _0x1a9547=_0x83dfc1;return _0x112e00[_0x1a9547(0x23d)]('profile',{'type':_0x1a9547(0x220),'description':'Profile\x20name','demandOption':!![]})['positional']('key',{'type':_0x50cff8[_0x1a9547(0x376)],'description':_0x50cff8[_0x1a9547(0x297)],'demandOption':!![]});},async _0x25d43a=>{const _0x232870=_0x83dfc1;await _0x50cff8['foAUm'](withTelemetry,_0x50cff8['zqjMX'],()=>configGet(_0x25d43a[_0x232870(0x251)],_0x25d43a[_0x232870(0x386)]));})['command'](_0x530476['ePEQD'],_0x83dfc1(0x2b6),_0x49e919=>{const _0x4b95d2=_0x83dfc1;return _0x49e919['positional'](_0x50cff8['ADUEe'],{'type':_0x50cff8['CSEAp'],'description':_0x4b95d2(0x350),'demandOption':!![]});},async _0x3370c7=>{const _0x149346=_0x83dfc1;await _0x50cff8[_0x149346(0x247)](withTelemetry,_0x149346(0x1fa),()=>configList(_0x3370c7[_0x149346(0x251)]));})[_0x83dfc1(0x20a)](_0x530476['ZTYnW'],_0x530476['IJTmw'],_0x3b7348=>{const _0x57df12=_0x83dfc1;return _0x3b7348[_0x57df12(0x23d)](_0x50cff8[_0x57df12(0x2a1)],{'type':_0x50cff8[_0x57df12(0x376)],'description':_0x57df12(0x350),'demandOption':!![]})['positional'](_0x57df12(0x386),{'type':_0x50cff8[_0x57df12(0x376)],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x4941d2=>{const _0x3be068=_0x83dfc1;await withTelemetry(_0x3be068(0x217),()=>configUnset(_0x4941d2['profile'],_0x4941d2[_0x3be068(0x386)]));})[_0x83dfc1(0x20a)]('reset\x20<profile>',_0x530476['qHiGN'],_0x3c8faf=>{const _0x28dc12=_0x83dfc1;return _0x3c8faf[_0x28dc12(0x23d)](_0x50cff8[_0x28dc12(0x2a1)],{'type':_0x28dc12(0x220),'description':_0x50cff8[_0x28dc12(0x30a)],'demandOption':!![]});},async _0x27f7f8=>{const _0x5674c0=_0x83dfc1;await _0x530476['toESM'](withTelemetry,_0x530476['JDsOM'],()=>configReset(_0x27f7f8[_0x5674c0(0x251)]));})[_0x83dfc1(0x1de)](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})[_0x1302c4(0x1de)](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})['command'](_0x42a4c7['QJgqr'],'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{const _0x2f3abd=_0x693568;await _0x42a4c7[_0x2f3abd(0x22a)](withTelemetry,_0x42a4c7['QJgqr'],()=>status());})[_0x693568(0x20a)](_0x693568(0x319),'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x5ecd38=_0x693568;await withTelemetry(_0x5ecd38(0x319),()=>update());})[_0x693568(0x20a)](_0x693568(0x24c),_0x693568(0x357),()=>{},async()=>{await _0x42a4c7['rzxux'](withTelemetry,_0x42a4c7['rWNGQ'],async()=>{const _0x4f7a4d=_0x2373,_0x371aed=await _0x42a4c7[_0x4f7a4d(0x300)](getToken);if(!_0x371aed)throw new Error(_0x42a4c7['onFKU']);console[_0x4f7a4d(0x320)](_0x371aed);});})[_0x693568(0x20a)]('go','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.',_0x326705=>{const _0x2a9140=_0x693568;return _0x326705[_0x2a9140(0x2cf)]('feature',{'type':_0x2a9140(0x220),'description':_0x42a4c7[_0x2a9140(0x34b)]})['option']('profile',{'type':'string','description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)'})['option'](_0x42a4c7['QIFIB'],{'type':'string','description':_0x42a4c7[_0x2a9140(0x21e)]})[_0x2a9140(0x2cf)]('check',{'type':_0x42a4c7[_0x2a9140(0x296)],'description':_0x42a4c7[_0x2a9140(0x1e6)]})[_0x2a9140(0x2cf)](_0x2a9140(0x222),{'type':_0x42a4c7['rpiCW'],'description':_0x42a4c7['ASnDh']})['option'](_0x42a4c7[_0x2a9140(0x2ef)],{'type':'string','description':_0x42a4c7['SiYcw']})[_0x2a9140(0x2cf)](_0x2a9140(0x2ab),{'type':_0x42a4c7['brGli'],'description':_0x2a9140(0x32b)})[_0x2a9140(0x2cf)]('model',{'type':_0x42a4c7['brGli'],'description':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.'})[_0x2a9140(0x2cf)](_0x2a9140(0x2fe),{'type':'boolean','description':_0x42a4c7['lpKBJ'],'default':![]})[_0x2a9140(0x2cf)](_0x2a9140(0x358),{'type':_0x42a4c7[_0x2a9140(0x296)],'array':!![],'alias':_0x42a4c7[_0x2a9140(0x35d)],'description':_0x42a4c7[_0x2a9140(0x25e)]})[_0x2a9140(0x2cf)](_0x42a4c7['qxihH'],{'type':'boolean','description':_0x2a9140(0x329),'default':![]})['option']('debug-outcome',{'type':_0x42a4c7['brGli'],'hidden':!![],'choices':['verified',_0x42a4c7['kuHLe'],'blocked',_0x42a4c7[_0x2a9140(0x308)],_0x2a9140(0x221)]})['option'](_0x2a9140(0x289),{'type':_0x42a4c7[_0x2a9140(0x21b)],'hidden':!![]})[_0x2a9140(0x2cf)](_0x2a9140(0x2aa),{'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'](_0x42a4c7[_0x2a9140(0x2c0)],{'type':_0x2a9140(0x220),'hidden':!![]})[_0x2a9140(0x2cf)](_0x42a4c7[_0x2a9140(0x2ea)],{'type':'number','hidden':!![]});},async _0x1fc060=>{await runGoCommand(_0x1fc060);})[_0x693568(0x20a)](_0x693568(0x322),![],_0x378bb2=>{const _0x941922=_0x693568;return _0x378bb2['command'](_0x42a4c7[_0x941922(0x363)],![],_0x2729f1=>{const _0x28276e=_0x941922;return _0x2729f1[_0x28276e(0x23d)](_0x28276e(0x251),{'type':'string','description':_0x28276e(0x350),'demandOption':!![]});},async _0x493441=>{warnRenamed(_0x42a4c7['ubmyV'],_0x42a4c7['wDCif']),await authEncrypt(_0x493441['profile']);})['demandCommand'](0x1,_0x941922(0x32a));},()=>{})[_0x693568(0x20a)]('start\x20[token]',![],_0x51ddcb=>{const _0x34e109=_0x693568;return _0x51ddcb['positional']('token',{'type':'string','description':_0x34e109(0x374)})[_0x34e109(0x2cf)](_0x42a4c7['KhcSu'],{'type':_0x42a4c7[_0x34e109(0x21b)],'description':_0x34e109(0x311),'default':![]})[_0x34e109(0x2cf)]('scope',{'type':_0x42a4c7[_0x34e109(0x296)],'choices':[_0x42a4c7['KnkzO']],'hidden':!![],'description':_0x42a4c7[_0x34e109(0x32e)]})['option'](_0x42a4c7[_0x34e109(0x237)],{'type':_0x34e109(0x220),'description':_0x34e109(0x2db)})[_0x34e109(0x2cf)](_0x42a4c7['LjpAp'],{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x42a4c7[_0x34e109(0x33b)],{'type':'boolean','description':_0x42a4c7['DkRuJ'],'default':![]})['option'](_0x34e109(0x2f3),{'type':_0x42a4c7['zYKHp'],'description':_0x34e109(0x23e),'default':![]});},async _0x2f6bc1=>{const _0x59f82c=_0x693568;warnRenamed(_0x59f82c(0x24f),'ranger\x20setup'),await withTelemetry(_0x59f82c(0x26d),_0x273ca3=>start(_0x2f6bc1['token'],{'skipChromium':_0x2f6bc1[_0x59f82c(0x29a)],'skipAuth':_0x2f6bc1['skip-auth'],'withDeps':_0x2f6bc1[_0x59f82c(0x2f3)],'scope':_0x2f6bc1[_0x59f82c(0x31f)],'url':_0x2f6bc1[_0x59f82c(0x1f9)],'force':_0x2f6bc1['force']},_0x273ca3));})['command']('verify-feature',![],_0x1f1017=>{const _0x4a529e=_0x693568;return _0x1f1017['option']('env',{'type':'string','description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})['option']('task',{'type':'string','description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})['option']('item',{'type':'number','description':'Scenario\x20index\x20(1-based)'})[_0x4a529e(0x2cf)](_0x42a4c7[_0x4a529e(0x2af)],{'type':_0x42a4c7['brGli'],'hidden':!![]})[_0x4a529e(0x2cf)](_0x4a529e(0x1ee),{'type':_0x4a529e(0x220),'hidden':!![]})['option'](_0x42a4c7['YLKDc'],{'type':_0x42a4c7[_0x4a529e(0x27d)],'hidden':!![]})[_0x4a529e(0x2cf)](_0x4a529e(0x1f1),{'type':_0x42a4c7[_0x4a529e(0x296)],'description':_0x42a4c7['SiYcw']})[_0x4a529e(0x2cf)]('base-url',{'type':'string','description':_0x42a4c7['QviZb']})['option'](_0x42a4c7['jFJVO'],{'type':'string','hidden':!![]})[_0x4a529e(0x2cf)](_0x42a4c7[_0x4a529e(0x2a9)],{'type':_0x42a4c7['zYKHp'],'hidden':!![],'default':![]})[_0x4a529e(0x2cf)]('env-var',{'type':_0x42a4c7[_0x4a529e(0x296)],'array':!![],'alias':'environment-variable','hidden':!![]})['option']('debug-outcome',{'type':_0x4a529e(0x220),'hidden':!![],'choices':[_0x42a4c7[_0x4a529e(0x37f)],_0x42a4c7['kuHLe'],_0x42a4c7[_0x4a529e(0x22c)],_0x42a4c7[_0x4a529e(0x308)],_0x42a4c7['vDTrY']]});},async _0x4a686e=>{await runGoCommand(_0x4a686e,!![]);})['command']('add\x20env\x20<env-name>',![],_0x2b81d5=>{const _0x115474=_0x693568;return _0x2b81d5['positional'](_0x115474(0x356),{'type':_0x42a4c7['brGli'],'description':_0x115474(0x1e0),'demandOption':!![]})['option']('ci',{'type':'boolean','description':_0x42a4c7['bFthM'],'default':![]})['option']('skip-auth',{'type':'boolean','description':_0x42a4c7[_0x115474(0x230)],'default':![]});},async _0x1a48f3=>{const _0x7afa46=_0x693568;_0x42a4c7['WNEry'](warnRenamed,_0x42a4c7[_0x7afa46(0x1e7)],_0x42a4c7['WtNjK']),await _0x42a4c7[_0x7afa46(0x1f7)](withTelemetry,_0x42a4c7['WtYAv'],_0x6e55ac=>addEnv(_0x1a48f3[_0x7afa46(0x356)],{'ci':_0x1a48f3['ci'],'skipAuth':_0x1a48f3['skip-auth']},_0x6e55ac));})[_0x693568(0x20a)]('use\x20<env-name>',![],_0x314382=>{const _0x172a5c=_0x693568;return _0x314382[_0x172a5c(0x23d)](_0x42a4c7['HUoVl'],{'type':'string','description':_0x42a4c7['xMHZd'],'demandOption':!![]});},async _0x344967=>{const _0x122490=_0x693568;_0x42a4c7[_0x122490(0x325)](warnRenamed,_0x42a4c7['CEGvL'],'ranger\x20profile\x20use'),await withTelemetry(_0x122490(0x365),()=>useEnv(_0x344967['env-name']));})['command']('config',![],_0x347a67=>{const _0x4f2fe7=_0x693568,_0x1de25a={'uiqqV':_0x42a4c7['WaGfp'],'Wdgcw':_0x42a4c7['brGli'],'cvndc':function(_0x50b5d5,_0x2f8a4f,_0x5e96bb){return _0x50b5d5(_0x2f8a4f,_0x5e96bb);},'hiQoW':_0x4f2fe7(0x30f),'zrVLB':_0x42a4c7[_0x4f2fe7(0x23c)],'pYntS':_0x42a4c7['KRSWo'],'lHsRS':'ranger\x20config\x20unset','guIvd':function(_0x2cb858,_0x1dd1a4,_0x203778){return _0x42a4c7['miATu'](_0x2cb858,_0x1dd1a4,_0x203778);},'wlLYM':'config\x20unset'};return _0x347a67[_0x4f2fe7(0x20a)]('set\x20<env>\x20<key>\x20<value>',![],_0x2d229b=>{const _0x4d3281=_0x4f2fe7;return _0x2d229b[_0x4d3281(0x23d)](_0x4d3281(0x2aa),{'type':_0x42a4c7[_0x4d3281(0x296)],'description':_0x42a4c7['kiMaU'],'demandOption':!![]})['positional'](_0x42a4c7[_0x4d3281(0x23c)],{'type':'string','description':_0x4d3281(0x344),'demandOption':!![]})['positional'](_0x42a4c7['CGlTM'],{'type':_0x42a4c7['brGli'],'description':_0x42a4c7['mrGuf'],'demandOption':!![]});},async _0x3c6162=>{const _0x361e13=_0x4f2fe7;_0x42a4c7[_0x361e13(0x212)](warnRenamed,'ranger\x20config\x20set',_0x42a4c7[_0x361e13(0x2a2)]),await withTelemetry(_0x361e13(0x20c),()=>configSet(_0x3c6162['env'],_0x3c6162[_0x361e13(0x386)],_0x3c6162['value']));})[_0x4f2fe7(0x20a)]('get\x20<env>\x20<key>',![],_0x3b4d94=>{const _0x92a70f=_0x4f2fe7;return _0x3b4d94['positional'](_0x1de25a[_0x92a70f(0x360)],{'type':_0x1de25a[_0x92a70f(0x26a)],'description':_0x92a70f(0x32c),'demandOption':!![]})['positional'](_0x92a70f(0x386),{'type':_0x1de25a['Wdgcw'],'description':_0x92a70f(0x370),'demandOption':!![]});},async _0x2c93b8=>{const _0x1bd6e5=_0x4f2fe7;_0x42a4c7['LkcSE'](warnRenamed,_0x42a4c7[_0x1bd6e5(0x285)],_0x42a4c7[_0x1bd6e5(0x224)]),await _0x42a4c7[_0x1bd6e5(0x29b)](withTelemetry,_0x42a4c7['hHlcc'],()=>configGet(_0x2c93b8['env'],_0x2c93b8['key']));})['command'](_0x42a4c7[_0x4f2fe7(0x26f)],![],_0x4461ea=>{const _0x122a2a=_0x4f2fe7;return _0x4461ea['positional'](_0x42a4c7['WaGfp'],{'type':'string','description':_0x122a2a(0x32c),'demandOption':!![]});},async _0x1b1de9=>{const _0x5d2f60=_0x4f2fe7;warnRenamed('ranger\x20config\x20list','ranger\x20profile\x20config\x20list'),await _0x1de25a[_0x5d2f60(0x310)](withTelemetry,_0x1de25a['hiQoW'],()=>configList(_0x1b1de9[_0x5d2f60(0x2aa)]));})[_0x4f2fe7(0x20a)](_0x4f2fe7(0x2f4),![],_0x1a565c=>{const _0xa7efec=_0x4f2fe7;return _0x1a565c[_0xa7efec(0x23d)](_0x1de25a[_0xa7efec(0x360)],{'type':_0x1de25a[_0xa7efec(0x26a)],'description':_0xa7efec(0x32c),'demandOption':!![]})[_0xa7efec(0x23d)](_0x1de25a['zrVLB'],{'type':'string','description':_0x1de25a['pYntS'],'demandOption':!![]});},async _0x64d5d8=>{const _0x149506=_0x4f2fe7;warnRenamed(_0x1de25a[_0x149506(0x2c4)],_0x149506(0x290)),await _0x1de25a[_0x149506(0x36b)](withTelemetry,_0x1de25a['wlLYM'],()=>configUnset(_0x64d5d8[_0x149506(0x2aa)],_0x64d5d8['key']));})[_0x4f2fe7(0x1de)](0x1,'You\x20must\x20specify\x20a\x20config\x20subcommand');})[_0x693568(0x20a)](_0x42a4c7[_0x693568(0x326)],![],_0x55afbb=>{const _0x24c648=_0x693568,_0xd6fa96={'NKqnG':_0x42a4c7['gibTl']};return _0x55afbb[_0x24c648(0x20a)]('ls',![],()=>{},async()=>{const _0xca6d1b=_0x24c648;_0x42a4c7[_0xca6d1b(0x241)](warnRenamed,_0xca6d1b(0x2e7),_0x42a4c7['NwRHT']),await _0x42a4c7['GcSli'](withTelemetry,'env\x20list',()=>envList());})['command'](_0x42a4c7[_0x24c648(0x288)],![],_0x25085d=>{const _0x5609a6=_0x24c648;return _0x25085d[_0x5609a6(0x23d)](_0x5609a6(0x356),{'type':_0x5609a6(0x220),'description':_0xd6fa96[_0x5609a6(0x293)],'demandOption':!![]});},async _0x419d1=>{const _0x6583a9=_0x24c648;warnRenamed(_0x42a4c7[_0x6583a9(0x340)],'ranger\x20profile\x20update'),await _0x42a4c7['LIJDF'](withTelemetry,_0x42a4c7[_0x6583a9(0x338)],_0x214e27=>updateEnv(_0x419d1[_0x6583a9(0x356)],_0x214e27));})[_0x24c648(0x1de)](0x1,_0x24c648(0x2d4));})[_0x693568(0x20a)](_0x42a4c7['qRmFR'],![],_0x24ec2c=>{const _0x2a5640=_0x693568,_0x225c3a={'tOLrp':_0x2a5640(0x32f),'SJQtE':function(_0x18b284,_0x15d001,_0x46a54a,_0x55c9a5){return _0x18b284(_0x15d001,_0x46a54a,_0x55c9a5);},'JtzAm':function(_0x325ff0,_0x4bacdb,_0xd6fd91){return _0x42a4c7['LIJDF'](_0x325ff0,_0x4bacdb,_0xd6fd91);},'JSzQR':_0x42a4c7[_0x2a5640(0x295)],'TPuxa':function(_0x97db64,_0x10de42,_0x37828c){return _0x42a4c7['BKwAR'](_0x97db64,_0x10de42,_0x37828c);},'hbzfS':_0x2a5640(0x375),'VaNvc':_0x42a4c7[_0x2a5640(0x337)],'XeIgb':_0x42a4c7['brGli'],'TXSyh':_0x2a5640(0x278),'rQGUN':_0x42a4c7['iQYJp'],'kxlCx':_0x42a4c7[_0x2a5640(0x2e0)],'DNDgI':_0x2a5640(0x219),'fNRpV':_0x42a4c7['GcLND'],'PFmnb':_0x42a4c7[_0x2a5640(0x272)],'kFeGn':_0x2a5640(0x347),'JpWrQ':_0x42a4c7[_0x2a5640(0x1f3)],'arKgb':function(_0x16c866,_0x1b8773,_0x2defc8){return _0x16c866(_0x1b8773,_0x2defc8);}};return _0x24ec2c[_0x2a5640(0x20a)]('create\x20<name>',![],_0x29458c=>{const _0x31dfa9=_0x2a5640;return _0x29458c['positional'](_0x42a4c7['tKQgN'],{'type':_0x42a4c7[_0x31dfa9(0x296)],'description':_0x42a4c7[_0x31dfa9(0x342)],'demandOption':!![]})[_0x31dfa9(0x2cf)](_0x42a4c7[_0x31dfa9(0x2d0)],{'type':_0x42a4c7[_0x31dfa9(0x296)],'alias':'d','description':'Feature\x20review\x20description'})['option']('checklist',{'type':_0x31dfa9(0x263),'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option'](_0x42a4c7[_0x31dfa9(0x2d3)],{'type':_0x31dfa9(0x263),'hidden':!![]});},async _0x2e8d79=>{const _0x10a08b=_0x2a5640;warnRenamed('ranger\x20feature\x20create',_0x225c3a['tOLrp']),_0x225c3a['SJQtE'](warnFlagRenamed,'ranger\x20create','--checklist','--scenario');const _0x2389c7=_0x2e8d79[_0x10a08b(0x222)]||_0x2e8d79[_0x10a08b(0x2c7)];await _0x225c3a[_0x10a08b(0x1f6)](withTelemetry,_0x225c3a[_0x10a08b(0x333)],()=>featureCreate(_0x2e8d79['name'],{'description':_0x2e8d79[_0x10a08b(0x2cb)],'scenarios':_0x2389c7}));})['command'](_0x42a4c7['Icuzh'],![],_0x138f67=>{const _0x5e7235=_0x2a5640;return _0x138f67[_0x5e7235(0x2cf)](_0x5e7235(0x36d),{'type':_0x42a4c7['zYKHp'],'description':_0x42a4c7[_0x5e7235(0x31a)]})['option'](_0x42a4c7[_0x5e7235(0x372)],{'type':_0x42a4c7[_0x5e7235(0x27d)],'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})[_0x5e7235(0x2cf)](_0x5e7235(0x1fe),{'type':_0x5e7235(0x238),'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option']('include-deleted',{'type':'boolean','alias':'d','description':_0x42a4c7['cJdjK'],'default':![]});},async _0x53879a=>{const _0x3f0949=_0x2a5640;_0x225c3a[_0x3f0949(0x2e1)](warnRenamed,_0x225c3a[_0x3f0949(0x30b)],_0x225c3a['VaNvc']),await withTelemetry('feature\x20list',()=>featureList({'currentBranch':_0x53879a[_0x3f0949(0x36d)],'limit':_0x53879a['limit'],'offset':_0x53879a['offset'],'includeDeleted':_0x53879a[_0x3f0949(0x284)]}));})['command'](_0x42a4c7['oNFFU'],![],_0x4e7e00=>{const _0x227c72=_0x2a5640;return _0x4e7e00['positional']('id',{'type':_0x42a4c7['brGli'],'description':_0x42a4c7[_0x227c72(0x231)]});},async _0x4168a5=>{const _0x32920d=_0x2a5640;_0x42a4c7[_0x32920d(0x29f)](warnRenamed,'ranger\x20feature\x20show',_0x42a4c7[_0x32920d(0x275)]),await withTelemetry('feature\x20show',()=>featureShow(_0x4168a5['id']));})[_0x2a5640(0x20a)](_0x42a4c7[_0x2a5640(0x330)],![],_0x44bd59=>{return _0x44bd59['positional']('id',{'type':_0x225c3a['XeIgb'],'description':_0x225c3a['TXSyh']});},async _0x59652d=>{const _0x1cbeca=_0x2a5640;warnRenamed(_0x225c3a[_0x1cbeca(0x307)],_0x225c3a['kxlCx']),await _0x225c3a['JtzAm'](withTelemetry,_0x225c3a['DNDgI'],()=>featureResume(_0x59652d['id']));})['command'](_0x2a5640(0x317),![],_0x549913=>{const _0x307c46=_0x2a5640;return _0x549913['positional'](_0x225c3a['fNRpV'],{'type':_0x225c3a[_0x307c46(0x277)],'description':_0x307c46(0x1eb),'demandOption':!![]})['option']('id',{'type':_0x225c3a[_0x307c46(0x277)],'description':_0x307c46(0x266)});},async _0x3b8692=>{const _0x811027=_0x2a5640;warnRenamed(_0x225c3a['PFmnb'],'ranger\x20add-scenario'),await _0x225c3a['JtzAm'](withTelemetry,_0x225c3a['kFeGn'],()=>featureAddScenario(_0x3b8692[_0x811027(0x2cb)],_0x3b8692['id']));})[_0x2a5640(0x20a)]('get-feedback\x20[id]',![],_0x250019=>{const _0x5af11e=_0x2a5640;return _0x250019[_0x5af11e(0x23d)]('id',{'type':_0x5af11e(0x220),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x107c36=>{const _0xdf5eb0=_0x2a5640;warnRenamed(_0x225c3a[_0xdf5eb0(0x22b)],'ranger\x20get-review'),await _0x225c3a[_0xdf5eb0(0x2a3)](withTelemetry,_0xdf5eb0(0x28c),()=>featureGetReview(_0x107c36['id']));})[_0x2a5640(0x20a)](_0x2a5640(0x354),![],_0x53d848=>{const _0xdfc26=_0x2a5640;return _0x53d848[_0xdfc26(0x23d)]('id',{'type':'string','description':_0x42a4c7[_0xdfc26(0x231)]});},async _0x17d486=>{const _0x235dc7=_0x2a5640;warnRenamed(_0x42a4c7['ffztz'],'ranger\x20delete'),await _0x42a4c7[_0x235dc7(0x31b)](withTelemetry,_0x235dc7(0x256),()=>featureDelete(_0x17d486['id']));})['command']('restore\x20<id>',![],_0xebfb60=>{return _0xebfb60['positional']('id',{'type':'string','description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x590064=>{const _0xa16ec8=_0x2a5640;warnRenamed('ranger\x20feature\x20restore',_0x42a4c7['pSnda']),await withTelemetry(_0x42a4c7[_0xa16ec8(0x2ee)],()=>featureRestore(_0x590064['id']));})[_0x2a5640(0x1de)](0x1,_0x2a5640(0x205));})['command']('hook',![],_0x3c0f84=>{const _0x20921e=_0x693568,_0x174abd={'QRHqv':_0x42a4c7['QOnsP']};return _0x3c0f84[_0x20921e(0x20a)](_0x42a4c7[_0x20921e(0x28d)],_0x42a4c7[_0x20921e(0x2d2)],_0x50c534=>{const _0x302ded=_0x20921e;return _0x50c534[_0x302ded(0x2cf)](_0x42a4c7[_0x302ded(0x2b9)],{'type':'string','description':_0x42a4c7['QOnsP']});},async _0x2e5aab=>{const _0xbb2eed=_0x20921e;await _0x42a4c7[_0xbb2eed(0x235)](withTelemetry,'hook:enable',()=>hook(_0xbb2eed(0x1df),_0x2e5aab['session-id']));})['command'](_0x42a4c7[_0x20921e(0x1f5)],'Disable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x25ae0c=>{const _0x221ed0=_0x20921e;return _0x25ae0c[_0x221ed0(0x2cf)](_0x221ed0(0x258),{'type':'string','description':_0x174abd[_0x221ed0(0x273)]});},async _0x494aeb=>{const _0x14eec6=_0x20921e;await withTelemetry(_0x42a4c7['BBAtU'],()=>hook('disable',_0x494aeb[_0x14eec6(0x258)]));})['option'](_0x20921e(0x279),{'type':_0x20921e(0x220),'description':_0x20921e(0x378)})['option'](_0x20921e(0x258),{'type':_0x42a4c7['brGli'],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x399846=>{_0x399846['name']&&await hook(_0x399846['name'],_0x399846['session-id']);})['demandCommand'](0x1,_0x42a4c7[_0x693568(0x2a6)])[_0x693568(0x2d9)]()[_0x693568(0x2b5)](async(_0x345adb,_0x5526c4,_0x57dad6)=>{const _0xb44121=_0x693568,_0x9d817a=sanitizeArgs(process[_0xb44121(0x23f)]['slice'](0x2)),_0x135899=_0x42a4c7[_0xb44121(0x22a)](getErrorType,_0x345adb,_0x5526c4);if(_0x345adb&&_0x345adb['includes'](_0xb44121(0x38a))){const _0x3d061b=process[_0xb44121(0x23f)][0x2];console['error'](_0xb44121(0x37d)+_0x3d061b),console['error'](_0xb44121(0x215));}else{if(_0x345adb)console['error']('\x0a'+_0x345adb+'\x0a');else _0x5526c4&&console['error']('\x0aError:\x20'+_0x5526c4['message']+'\x0a');}await _0x42a4c7[_0xb44121(0x35a)](logDesirePath,{'rawCommand':_0x9d817a,'errorMessage':_0x345adb||_0x5526c4?.['message'],'errorType':_0x135899});const _0x465691=_0x42a4c7['XRWxd'](getCurrentCollector);_0x465691&&await _0x465691['trackCommandError'](_0x5526c4||new Error(_0x345adb||'Unknown\x20error')),process['exit'](0x1);})['epilogue'](_0x42a4c7['wLdwD']+_0x42a4c7[_0x693568(0x2bb)]+'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)')[_0x693568(0x2b3)]()['alias'](_0x42a4c7[_0x693568(0x213)],'h');}process[_0x4f407f(0x2aa)][_0x4f407f(0x22e)]!==_0x4f407f(0x281)&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()['parse']());