@ranger-testing/ranger-cli 3.1.7-alpha.9ed0a8d-59 → 3.1.7-alpha.9f8e190-62
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.
- package/build/cli.js +1 -1
- package/build/commands/addEnv.js +1 -1
- package/build/commands/authEncrypt.js +1 -1
- package/build/commands/clean.js +1 -1
- package/build/commands/config.js +1 -1
- package/build/commands/deleteProfile.js +1 -1
- package/build/commands/env.js +1 -1
- package/build/commands/feature.js +1 -1
- package/build/commands/hook.js +1 -1
- package/build/commands/hooks/autoPrompt.js +1 -1
- package/build/commands/hooks/disable.js +1 -1
- package/build/commands/hooks/enable.js +1 -1
- package/build/commands/hooks/exitPlanMode.js +1 -1
- package/build/commands/hooks/index.js +1 -1
- package/build/commands/hooks/output.js +1 -1
- package/build/commands/hooks/planReminder.js +1 -1
- package/build/commands/hooks/planStart.js +1 -1
- package/build/commands/hooks/postEdit.js +1 -1
- package/build/commands/hooks/preCompact.js +1 -1
- package/build/commands/hooks/sessionEnd.js +1 -1
- package/build/commands/hooks/sessionStart.js +1 -1
- package/build/commands/hooks/stopHook.js +1 -1
- package/build/commands/index.js +1 -1
- package/build/commands/login.js +1 -1
- package/build/commands/mcpBootstrap.js +1 -1
- package/build/commands/migrateProfile.js +1 -1
- package/build/commands/setup/claude.js +1 -1
- package/build/commands/setup/opencode.js +1 -1
- package/build/commands/setupCi.js +1 -1
- package/build/commands/skillup.js +1 -1
- package/build/commands/start.js +1 -1
- package/build/commands/status.js +1 -1
- package/build/commands/update.js +1 -1
- package/build/commands/updateEnv.js +1 -1
- package/build/commands/useEnv.js +1 -1
- package/build/commands/utils/activeProfile.js +1 -1
- package/build/commands/utils/actors.js +1 -0
- package/build/commands/utils/agentEnv.js +1 -1
- package/build/commands/utils/browserSessionsApi.js +1 -1
- package/build/commands/utils/claudeConfig.js +1 -1
- package/build/commands/utils/claudeOverrideSettings.js +1 -1
- package/build/commands/utils/claudePlugin.js +1 -1
- package/build/commands/utils/cloudProfile.js +1 -1
- package/build/commands/utils/cloudProfileSession.js +1 -1
- package/build/commands/utils/crypto.js +1 -1
- package/build/commands/utils/desirePathLog.js +1 -1
- package/build/commands/utils/deviceAuth.js +1 -1
- package/build/commands/utils/environment.js +1 -1
- package/build/commands/utils/featureApi.js +1 -1
- package/build/commands/utils/fixWebmDuration.js +1 -1
- package/build/commands/utils/gitTracked.js +1 -1
- package/build/commands/utils/keychain.js +1 -1
- package/build/commands/utils/legacyWarning.js +1 -1
- package/build/commands/utils/localAgentInstallationsApi.js +1 -1
- package/build/commands/utils/matchAuthEnvironment.js +1 -1
- package/build/commands/utils/mcpImageBase64.js +1 -1
- package/build/commands/utils/model.js +1 -1
- package/build/commands/utils/novaActCli.js +1 -1
- package/build/commands/utils/opencodeConfig.js +1 -1
- package/build/commands/utils/organizationEnvApi.js +1 -1
- package/build/commands/utils/playwrightCli.js +1 -1
- package/build/commands/utils/profileMessages.js +1 -1
- package/build/commands/utils/profileSetupBanner.js +1 -1
- package/build/commands/utils/projectsConfig.js +1 -1
- package/build/commands/utils/rangerConfig.js +1 -1
- package/build/commands/utils/rangerRoot.js +1 -1
- package/build/commands/utils/rangerwrightCli.js +1 -1
- package/build/commands/utils/resolveProfileContext.js +1 -1
- package/build/commands/utils/resolveProfileUrl.js +1 -1
- package/build/commands/utils/retry.js +1 -1
- package/build/commands/utils/scenarioOriginCheck.js +1 -1
- package/build/commands/utils/sessionCache.js +1 -1
- package/build/commands/utils/settings.js +1 -1
- package/build/commands/utils/skillContent.js +1 -1
- package/build/commands/utils/skills.js +1 -1
- package/build/commands/utils/stitchWebmFiles.js +1 -1
- package/build/commands/utils/telemetry.js +1 -1
- package/build/commands/utils/tokenRefresh.js +1 -1
- package/build/commands/utils/traceSnapshotMapper.js +1 -1
- package/build/commands/utils/tunnelClient.js +1 -1
- package/build/commands/utils/userApi.js +1 -1
- package/build/commands/utils/version.js +1 -1
- package/build/commands/verifyFeature.js +1 -1
- package/build/commands/verifyFeatureCli.js +1 -1
- package/build/commands/verifyFeatureNovaCli.js +1 -1
- package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
- package/package.json +1 -1
package/build/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
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']());
|
|
2
|
+
const _0x27b968=_0x2731;(function(_0x1d996b,_0x1c25fd){const _0x461143=_0x2731,_0x54b97f=_0x1d996b();while(!![]){try{const _0x48c769=-parseInt(_0x461143(0x160))/0x1+parseInt(_0x461143(0xf8))/0x2+parseInt(_0x461143(0x8c))/0x3*(parseInt(_0x461143(0x21d))/0x4)+-parseInt(_0x461143(0x171))/0x5+parseInt(_0x461143(0x10e))/0x6*(parseInt(_0x461143(0x99))/0x7)+parseInt(_0x461143(0x1c1))/0x8+-parseInt(_0x461143(0x231))/0x9;if(_0x48c769===_0x1c25fd)break;else _0x54b97f['push'](_0x54b97f['shift']());}catch(_0x54016d){_0x54b97f['push'](_0x54b97f['shift']());}}}(_0x51e9,0xe42ec));import _0x585268 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x44a75a=_0x2731,_0x4f90ff={'cidGt':function(_0x45fd3a,_0x2c27ef){return _0x45fd3a!==_0x2c27ef;},'vcRoF':function(_0x5eb70d,_0x3d8382,_0x1f43a8){return _0x5eb70d(_0x3d8382,_0x1f43a8);},'WxRAG':'.env','OhOou':function(_0x1b5fc8,_0x3529dc){return _0x1b5fc8(_0x3529dc);}};let _0x4792bc=process[_0x44a75a(0x119)]();const _0x1833aa=parse(_0x4792bc)[_0x44a75a(0xd6)];while(_0x4f90ff['cidGt'](_0x4792bc,_0x1833aa)){if(existsSync(_0x4f90ff[_0x44a75a(0x197)](join,_0x4792bc,_0x44a75a(0xe1)))||existsSync(_0x4f90ff['vcRoF'](join,_0x4792bc,_0x4f90ff['WxRAG'])))return _0x4792bc;_0x4792bc=_0x4f90ff['OhOou'](dirname,_0x4792bc);}return process[_0x44a75a(0x119)]();}_0x585268[_0x27b968(0xb3)]({'path':join(findProjectRoot(),'.env')});import _0x192e6f 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{parseActors}from'./commands/utils/actors.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';function _0x51e9(){const _0x20a54a=['EqsAa','EFjpD','environment-variable','SSXWn','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','dFBbP','parse','IICjn','ranger\x20config\x20unset','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','orfNg','trim','Authenticate\x20via\x20MCP\x20proxy','ranger\x20profile\x20ls','demandCommand','454554cfxSbA','Base\x20URL\x20of\x20the\x20running\x20app','map','AGsSL','NhVeg','QnBap','Scenario\x20number\x20to\x20edit\x20(1-based)','env','Scenario\x20index\x20(1-based)','config\x20set','Add\x20profile\x20configuration','EwOvs','rQAix','yes','Include\x20soft-deleted\x20feature\x20reviews','Run\x20full\x20interactive\x20setup','VmiaR','1680240ezQzFh','project','debug-outcome','user','partial','pvnoT','split','Profile\x20name','dpzTU','kVHDC','resume\x20[id]','Config\x20key\x20to\x20remove','feature\x20get-feedback','mhPER','bBNkU','add\x20<profile-name>','\x20VERIFIED','not_configured','ranger\x20use','profiles','guHJG','aUcKe','token','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','profile','UtJDa','trackCommandError','GWool','XuBuH','model','slice','SJyJI','xoMpV','QcKKf','JlDkA','start-path','--env','mFCxv','vcRoF','uEWas','TJnjk','ranger\x20delete','unset\x20<env>\x20<key>','safe-mode','LVKjS','List\x20all\x20config\x20for\x20a\x20profile','ssdUL','value','debug-address-comments','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','NHBRP','XJIYo','VTukP','XnGtz','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','HxdXA','blocked','force','ranger\x20env\x20update','ranger\x20config\x20set','nyWsD','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','NODE_ENV','env\x20update','Scenario\x20description','scenario','--profile','PnLZU','repeat','Evaluation:\x20','report\x20[id]','Environment\x20name','HlGen','hdafp','aihhs','migrate\x20[profile-name]','UAyCD','includes','MlcPE','zdNSy','7217216IDPtmY','oMLjm','description','inRaW','yTqdZ','NXuVW','ranger','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','nTaYi','qcMPe','profile\x20config\x20unset','Name\x20of\x20the\x20environment','--checklist','delete\x20[id]','feature\x20add-checklist-item','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','failed','incomplete','VXXNo','Restore\x20a\x20soft-deleted\x20feature\x20review','UInSa','scope','--task','DDNZZ','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','Number\x20of\x20feature\x20reviews\x20to\x20skip','skip-auth','setup:deps','Name\x20of\x20the\x20profile\x20to\x20update','skip-chromium','eYCJP','feature\x20resume','log','feature\x20show','✓\x20Authenticated\x20to\x20','playwright-cli','IiMqj','cWtVY','rBxZG','\x20PARTIAL','ZluTf','Get\x20a\x20config\x20value','Install\x20OS-level\x20dependencies\x20for\x20Chromium','setup:skills','profile\x20login','cSfIj','get\x20<env>\x20<key>','RcWnC','include-deleted','WNtOn','key','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','positional','encrypt\x20<profile>','NgiER','kMxuX','mcp-bootstrap','ZjJSn','siAvz','current-branch','jjOmk','ranger\x20profile\x20encrypt-auth','SXIoQ','MaZfP','IhBHz','PwfMr','FEkbR','ETlnk','FFLNT','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','profile\x20update','profile\x20config\x20set','actor','verified','LvFqD','SPVjV','unset\x20<profile>\x20<key>','Switch\x20to\x20using\x20a\x20specific\x20profile','fFyGh','RIpCd','YDedA','base-url','uHxAq','Initialize\x20Ranger\x20in\x20your\x20project','pedvp','ranger\x20go','NtGqn','profile\x20config\x20get','get-review\x20[id]','status','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','4GycqwB','Update\x20authentication\x20for\x20an\x20existing\x20profile','Install\x20scope\x20for\x20skills','IlyZO','mHtMP','boolean','jjClT','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','feature','JvIWx','RANGER_TRANSPORT','env-name','setup:profiles','show\x20[id]','wvIVx','uzajy','fXFud','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.','oOmsx','ranger\x20feature\x20add-checklist-item','14916249FLDBto','Anynt','Optional\x20feature\x20ID','gNNVJ','number','success','notes','SfjzT','YwnOT','Vfthq','LGvMW','option','izhBN','prtJQ','gRXtA','QEOtr','config\x20list','Feature\x20review\x20description','add-scenario\x20<description>','exclude-scenario','fRYZl','EUFMZ','jWmsj','YohUE','1100841aJuTAY','Set\x20a\x20config\x20value','ranger\x20auth\x20encrypt','error','summary','verify-feature','akThl','zanSf','\x20INCOMPLETE','jtTJe','allow-insecure-localhost','alias','--notes','7nfzZte','fImpL','GjnzF','limit','TfJJO','Multi-actor\x20runs\x20need\x20pre-created\x20profiles\x20—\x20unset\x20RANGER_TEST_USERNAME\x20(no\x20ad-hoc\x20materialization).\x20Create\x20each\x20profile\x20with\x20`ranger\x20profile\x20add\x20<name>`,\x20then\x20pass\x20--actor\x20<label>=<name>.','eepMU','CedWI','task','name','LiYGE','cjiwf','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','Print\x20the\x20current\x20CLI\x20access\x20token','NoRLT','setup:all','strictCommands','nSDdG','use\x20<profile-name>','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','command','EIjnl','with-deps','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','qdOGm','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','config','restore\x20<id>','string','profile-name','feature\x20restore','QGwWF','url','login','argv','session-id','uIECI','unknown\x20error','restore','Delete\x20a\x20cloud\x20profile','length','njRsk','claude','AbXAA','exdJc','ranger\x20config\x20get','ranger\x20verify-feature','uIcdD','organizationName','XGYdg','start\x20[token]','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','WHjxm','usage','update','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','gZafz','mcp','QFATM','Install\x20Chromium\x20browser\x20binary','IYotq','root','NIZuw','message','JlmWh','UvlmB','PalHe','Unknown\x20error','EysGR','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','\x0aIssues:','edit-scenario\x20<description>','.ranger','GHGQY','WXBIU','profile\x20encrypt-auth','Skip\x20the\x20deletion\x20confirmation\x20prompt.','opencode','ranger\x20feature\x20restore','yxHOh','oCJlB','checklist','WEYyr','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','ranger\x20resume','MBoOg','\x20FAILED','lUijS','list\x20<profile>','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','MBbXx','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','--scenario','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','item','3558438NnakKv','get-feedback\x20[id]','RANGER_PROFILE','uDudR','skillup','akPer','iWwrV','RAhlm','kgYAD','gxOmQ','issues','disable','✓\x20Login\x20succeeded\x20for\x20\x27','Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','gmHOM','NbMvA','FFGPc','qFEEN','Feature\x20review\x20name','Proceed\x20even\x20when\x20the\x20selected\x20scenario\x20names\x20a\x20URL\x20on\x20a\x20different\x20origin\x20than\x20the\x20resolved\x20target','FhtTf','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','2005686vgJNZt','Config\x20key','DaHRT','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.','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','YsvVH','FsgzS','list\x20<env>','Install\x20scope\x20for\x20plugin\x20and\x20skills','HhQJt','bLWTl','cwd','test_output','BWsUj','UHNps','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','ranger\x20feature\x20resume','RYXMz','exit','ranger\x20profile\x20config\x20list','skills','DaJaY','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','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.','ranger\x20feature\x20get-feedback','get-review','enable','NXjSw','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','all','list','umoEp','tokenOrSubcommand','OBbFd','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','dqWAv','save-creds','help','hLfTx','dvdgf','scriptName','ranger\x20profile\x20config\x20get','Feature\x20review\x20ID','profile\x20config\x20reset','kfUXG','rMQNi','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','ftAqH','offset','add\x20env\x20<env-name>','CQkUM','qWWJx','oVsxl','aSvEG','chBml','ImoKK','vcZRG','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','wXvqh','use','rktiP','TKGnO','kFeeh','dry-run','evaluation','JCsms','KBVsC'];_0x51e9=function(){return _0x20a54a;};return _0x51e9();}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 _0x25aaaf=>{const _0x438709=_0x27b968,_0x407515=getCurrentCollector();_0x407515&&await _0x407515[_0x438709(0x18b)](_0x25aaaf),process['exitCode']=0x1;});function _0x2731(_0x55cd09,_0x13b6b7){_0x55cd09=_0x55cd09-0x7d;const _0x51e9d3=_0x51e9();let _0x27316c=_0x51e9d3[_0x55cd09];return _0x27316c;}const rawArgs=process['argv'][_0x27b968(0x18f)](0x2),TOP_LEVEL_HELP=_0x27b968(0x125),PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201',PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201';function warnRenamed(_0x421981,_0x10b0ff){console['error']('\x0a'+_0x421981+'\x20is\x20now\x20'+_0x10b0ff+'\x0a');}function argUsed(_0x4fce2b){return rawArgs['some'](_0x5b034f=>_0x5b034f===_0x4fce2b||_0x5b034f['startsWith'](_0x4fce2b+'='));}function warnFlagRenamed(_0x12c488,_0x2a9550,_0x5beca4){const _0x5d086a=_0x27b968,_0x1f9532={'uHxAq':function(_0x41d167,_0x46b499){return _0x41d167(_0x46b499);},'ssdUL':function(_0xf96e15,_0xb1e937,_0x3ca379){return _0xf96e15(_0xb1e937,_0x3ca379);}};_0x1f9532[_0x5d086a(0x214)](argUsed,_0x2a9550)&&_0x1f9532[_0x5d086a(0x19f)](warnRenamed,_0x12c488+'\x20'+_0x2a9550,_0x12c488+'\x20'+_0x5beca4);}function normalizeEnvVarNames(_0x2fbe7b){const _0x110ee2=_0x27b968,_0xef8f6f=Array['isArray'](_0x2fbe7b)?_0x2fbe7b:_0x2fbe7b?[_0x2fbe7b]:[];return _0xef8f6f['flatMap'](_0x38ff38=>String(_0x38ff38)[_0x110ee2(0x177)](',')['map'](_0x80d2c4=>_0x80d2c4[_0x110ee2(0x15c)]())['filter'](Boolean));}async function runGoCommand(_0x29524a,_0x49c971=![]){const _0x1791e4=_0x27b968,_0x47060f={'KrrXP':_0x1791e4(0xc7),'InPpZ':function(_0x4ee5f8,_0x2f45e2,_0x3a5bee,_0x231063){return _0x4ee5f8(_0x2f45e2,_0x3a5bee,_0x231063);},'wXhqn':_0x1791e4(0x217),'dUUHV':'--item','ZluTf':function(_0x25b8c8){return _0x25b8c8();},'SWHDa':function(_0x1b82d4,_0xf1d011){return _0x1b82d4(_0xf1d011);},'SSLwy':function(_0x27d586,_0x5e4c2b){return _0x27d586(_0x5e4c2b);},'aSvEG':'Multi-actor\x20runs\x20currently\x20support\x20up\x20to\x202\x20actors.\x20(--actor\x20is\x20repeatable;\x20v1\x20caps\x20at\x202.)','NHBRP':function(_0x56dfb4,_0x304867){return _0x56dfb4>=_0x304867;},'IhBHz':function(_0x31af62,_0x26b0d2){return _0x31af62!==_0x26b0d2;},'eHdFd':_0x1791e4(0x1e5),'hQZVi':'Multi-actor\x20run\x20→\x20using\x20RANGER_TRANSPORT=playwright-cli\x20(required\x20for\x20per-actor\x20session\x20isolation).','DEzRJ':function(_0x37afd7,_0x528d18){return _0x37afd7>_0x528d18;},'NgiER':function(_0x59a916,_0xb17197){return _0x59a916!==_0xb17197;},'oOmsx':function(_0x1db299,_0x2b5710){return _0x1db299!==_0x2b5710;},'uDudR':_0x1791e4(0x194),'dqWAv':'base-url','dFBbP':_0x1791e4(0x173),'DSWte':_0x1791e4(0x1a1),'LGvMW':function(_0x2ad8da,_0x10bb62){return _0x2ad8da+_0x10bb62;},'UIzJS':function(_0x59918b,_0x424a9d){return _0x59918b===_0x424a9d;},'RAhlm':_0x1791e4(0x1a9),'LiYGE':_0x1791e4(0xef)};_0x49c971&&(warnRenamed('ranger\x20verify-feature',_0x1791e4(0x217)),warnFlagRenamed(_0x47060f['KrrXP'],_0x1791e4(0x195),_0x1791e4(0x1b3)));_0x47060f['InPpZ'](warnFlagRenamed,_0x47060f['wXhqn'],_0x1791e4(0x1d7),_0x1791e4(0x98)),warnFlagRenamed(_0x1791e4(0x217),_0x47060f['dUUHV'],'--scenario');const _0x3ac8df=await _0x47060f[_0x1791e4(0x1ea)](loadRangerConfig),_0x278323=_0x47060f[_0x1791e4(0x1ea)](isByokEnabled),_0x12353e=_0x29524a[_0x1791e4(0x18e)],_0x2a946d=_0x3ac8df['model'],_0x5d8eee=_0x47060f['SWHDa'](normalizeEnvVarNames,_0x29524a['env-var']),_0x5bf7e1=getVerificationTransport(),_0x4e6147=_0x47060f['SSLwy'](parseActors,_0x29524a[_0x1791e4(0x20a)]);if(_0x4e6147['length']>0x2)throw new Error(_0x47060f[_0x1791e4(0x143)]);if(_0x47060f[_0x1791e4(0x1a3)](_0x4e6147[_0x1791e4(0xc1)],0x2)){if(process[_0x1791e4(0x167)]['RANGER_TEST_USERNAME'])throw new Error(_0x1791e4(0x9e));_0x47060f[_0x1791e4(0x202)](_0x5bf7e1,_0x47060f['eHdFd'])&&(console[_0x1791e4(0x1e2)](_0x47060f['hQZVi']),process['env'][_0x1791e4(0x227)]=_0x47060f['eHdFd']);}if(_0x47060f['DEzRJ'](_0x5d8eee[_0x1791e4(0xc1)],0x0)&&_0x47060f[_0x1791e4(0x1f8)](_0x5bf7e1,'playwright-cli')&&_0x47060f[_0x1791e4(0x22f)](_0x5bf7e1,'rangerwright-cli'))throw new Error('The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20'+_0x5bf7e1+'.');const _0x3aae91=await verifyFeature({'featureId':_0x29524a['feature'],'profile':_0x29524a[_0x1791e4(0x189)]??(_0x49c971?_0x29524a[_0x1791e4(0x167)]:undefined)??process['env'][_0x1791e4(0xfa)],'authEnv':_0x49c971?undefined:_0x29524a['env']??process['env']['RANGER_AUTH_ENV'],'notes':_0x29524a['notes']??_0x29524a[_0x1791e4(0xa1)],'check':_0x29524a['check'],'scenario':_0x29524a['scenario']??_0x29524a[_0x1791e4(0xf7)],'startPath':_0x29524a[_0x47060f[_0x1791e4(0xfb)]],'baseUrl':_0x29524a[_0x47060f[_0x1791e4(0x131)]],'debugOutcome':_0x29524a[_0x47060f[_0x1791e4(0x156)]],'debugAddressComments':_0x29524a[_0x47060f['DSWte']],'headed':_0x29524a['headed'],'verifierEnvVars':_0x5d8eee,'allowUrlMismatch':_0x29524a['allow-url-mismatch'],'byokEnabled':_0x278323,'flagVerifyModel':_0x12353e,'configVerifyModel':_0x2a946d,'actors':_0x4e6147[_0x1791e4(0xc1)]?_0x4e6147:undefined});console['log'](_0x47060f[_0x1791e4(0x7e)]('\x0a','='[_0x1791e4(0x1b5)](0x3c))),console['log'](_0x47060f['UIzJS'](_0x3aae91[_0x1791e4(0x14e)],_0x1791e4(0x20b))?_0x1791e4(0x181):_0x3aae91['evaluation']===_0x1791e4(0x1d2)?_0x1791e4(0x94):_0x3aae91[_0x1791e4(0x14e)]==='partial'?_0x1791e4(0x1e9):_0x47060f['UIzJS'](_0x3aae91[_0x1791e4(0x14e)],_0x47060f[_0x1791e4(0xff)])?'\x20BLOCKED':_0x47060f[_0x1791e4(0xa3)]),console[_0x1791e4(0x1e2)]('='[_0x1791e4(0x1b5)](0x3c)),console['log']('Summary:\x20'+_0x3aae91[_0x1791e4(0x90)]),console['log'](_0x1791e4(0x1b6)+_0x3aae91[_0x1791e4(0x14e)]),console[_0x1791e4(0x1e2)]('Reason:\x20'+_0x3aae91['evaluationReason']),_0x3aae91[_0x1791e4(0x102)]?.[_0x1791e4(0xc1)]&&(console[_0x1791e4(0x1e2)](_0x1791e4(0xdf)),_0x3aae91[_0x1791e4(0x102)]['forEach']((_0x26294d,_0x20fc53)=>{const _0x5673b0=_0x1791e4;console['log']('\x0a'+(_0x20fc53+0x1)+'.\x20['+_0x26294d['severity']+']\x20'+_0x26294d[_0x5673b0(0x1c3)]);})),process[_0x1791e4(0x120)](_0x3aae91['evaluation']==='verified'?0x0:0x1);}export function buildParser(_0x43a597){const _0x5285eb=_0x27b968,_0x41ca59={'FEkbR':_0x5285eb(0xa2),'DaJaY':_0x5285eb(0x1c3),'chBml':'string','Vfthq':'Feature\x20review\x20description','NXjSw':'array','CbddJ':_0x5285eb(0x130),'qgTKg':'Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','nyWsD':_0x5285eb(0x1cd),'MBbXx':function(_0x315032,_0x3c3b34,_0x3e1482){return _0x315032(_0x3c3b34,_0x3e1482);},'SJyJI':_0x5285eb(0x222),'HlGen':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','GBufo':'offset','jjClT':_0x5285eb(0x235),'jCkiy':_0x5285eb(0x1db),'siAvz':_0x5285eb(0x1f2),'VXXNo':'Feature\x20review\x20ID','mHtMP':function(_0x4bdc0d,_0x53d100,_0x2d82a5){return _0x4bdc0d(_0x53d100,_0x2d82a5);},'QvXqN':'show','UAyCD':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','fImpL':'Scenario\x20description','PzYCK':function(_0x11f737,_0x43a749,_0x428761){return _0x11f737(_0x43a749,_0x428761);},'zanSf':'add-scenario','XGYdg':_0x5285eb(0x166),'EysGR':_0x5285eb(0x87),'QDWQD':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','SXIoQ':'json','ONUSP':'report','AGSwB':_0x5285eb(0x21c),'cWtVY':_0x5285eb(0x127),'rMkzs':function(_0x55aafa,_0x1ff7d5,_0x135e4b){return _0x55aafa(_0x1ff7d5,_0x135e4b);},'qcMPe':'delete','FsgzS':_0x5285eb(0x1fa),'wvIVx':_0x5285eb(0xa8),'sqEGO':_0x5285eb(0x1dd),'rktiP':'Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','WNtOn':function(_0x1b288d,_0x8905b9,_0x485141){return _0x1b288d(_0x8905b9,_0x485141);},'nTaYi':'setup:login','yxHOh':function(_0x372623,_0x3cfe35,_0x41d423){return _0x372623(_0x3cfe35,_0x41d423);},'JlmWh':_0x5285eb(0xe6),'qokWw':function(_0x4f64b6,_0x130e4e,_0x5a05dc){return _0x4f64b6(_0x130e4e,_0x5a05dc);},'ksZhS':_0x5285eb(0x1ed),'FINll':'Ranger\x20API\x20token','QGwWF':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','YsvVH':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','JlDkA':_0x5285eb(0xde),'jjOmk':_0x5285eb(0xac),'NbMvA':_0x5285eb(0x15d),'qFEEN':_0x5285eb(0x172),'didfL':_0x5285eb(0x116),'vFbmd':_0x5285eb(0x10d),'yEgOF':function(_0x2aa446,_0x42dd08){return _0x2aa446!==_0x42dd08;},'kVHDC':_0x5285eb(0x12e),'qdOGm':_0x5285eb(0x12b),'NXuVW':_0x5285eb(0xd4),'tWSMM':'login','ImoKK':_0x5285eb(0x207),'CQkUM':_0x5285eb(0x1d6),'IICjn':'url','fRYZl':_0x5285eb(0x1aa),'frMvt':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','vIqAf':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','kZBAI':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','UvlmB':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','YwnOT':_0x5285eb(0xaf),'HDWAg':_0x5285eb(0x187),'LVKjS':'start','NIZuw':_0x5285eb(0x12a),'ApInw':_0x5285eb(0x1df),'yeAmx':'Skip\x20Chromium\x20browser\x20installation','orfNg':'Install\x20skills\x20for\x20OpenCode','HPvRU':'user','YOekc':_0x5285eb(0x21f),'uEWas':function(_0xff759d,_0x3c24b7){return _0xff759d(_0x3c24b7);},'kFeeh':'clean','JCOsj':_0x5285eb(0x1dc),'Cljad':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','pvnoT':'cdp-endpoint','uIcdD':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','gRXtA':_0x5285eb(0x19c),'bcpen':'setup-header','jkQHi':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','KRsYp':_0x5285eb(0x167),'xnVDd':'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.','guHJG':'profile\x20use','DaHRT':'profile-name','hIwXd':'yes','akThl':'profile','IiMqj':_0x5285eb(0x178),'DHDMM':_0x5285eb(0xe4),'ACFzz':'profile\x20ls','tcjNL':_0x5285eb(0x96),'qTVlu':_0x5285eb(0x105),'PAZnV':'Cloud\x20profile\x20name','aihhs':_0x5285eb(0x1ee),'FTaix':_0x5285eb(0x209),'FhtTf':_0x5285eb(0x1cb),'zdNSy':'set\x20<profile>\x20<key>\x20<value>','hRJOh':_0x5285eb(0x8d),'BWsUj':_0x5285eb(0x1eb),'WniDw':_0x5285eb(0xf1),'ZjJSn':_0x5285eb(0x19e),'sPpUq':'Remove\x20a\x20config\x20value','ZZHng':'reset\x20<profile>','VhleF':'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','RIpCd':'Name\x20of\x20the\x20profile','WDmAB':_0x5285eb(0x182),'qfemi':function(_0xdc3f9b,_0x4ce49a){return _0xdc3f9b===_0x4ce49a;},'fjHvh':'failed','MFyCU':'dry-run','iWwrV':_0x5285eb(0x1f4),'xoMpV':_0x5285eb(0x1c8),'XuBuH':'Config\x20value','hNtlf':_0x5285eb(0x180),'UvSyX':_0x5285eb(0xab),'YohUE':_0x5285eb(0x20f),'SfjzT':'delete\x20<profile-name>','QbWEB':_0x5285eb(0xc0),'gZafz':'encrypt-auth\x20<profile>','eepMU':'update\x20<profile-name>','revsQ':_0x5285eb(0x21e),'sxcJt':_0x5285eb(0xb3),'jtTJe':'Manage\x20profile\x20configuration','QEOtr':'You\x20must\x20specify\x20a\x20profile\x20subcommand','XdtaY':function(_0x35d3fb,_0xdd1d21,_0x585ad7){return _0x35d3fb(_0xdd1d21,_0x585ad7);},'GHGQY':'status','DDNZZ':_0x5285eb(0xcf),'gxOmQ':_0x5285eb(0x11d),'mhPER':_0x5285eb(0x20a),'uIECI':'Actor\x20as\x20<label>=<profile>\x20—\x20bind\x20a\x20role\x20you\x20reference\x20in\x20the\x20scenario\x20(\x22As\x20buyer1,\x20…\x22)\x20to\x20a\x20Ranger\x20profile.\x20Repeatable.\x20Two\x20actors\x20run\x20as\x20two\x20live\x20browser\x20sessions\x20(both\x20profiles\x20must\x20exist;\x20no\x20ad-hoc).\x20Example:\x20--actor\x20buyer1=alice\x20--actor\x20buyer2=bob','mYJLM':'notes','prtJQ':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','oTvLU':'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`.','dvdgf':'scenario','PVjYV':_0x5285eb(0x194),'TfJJO':_0x5285eb(0xf4),'eYCJP':_0x5285eb(0x18e),'rQAix':_0x5285eb(0x22e),'lUijS':'env-var','FEcTr':'environment-variable','BRvAF':'allow-url-mismatch','CmwWx':_0x5285eb(0x20b),'SjwgA':_0x5285eb(0x111),'pBjSQ':'item','RielL':function(_0x490b0a,_0x13e444,_0x579aac){return _0x490b0a(_0x13e444,_0x579aac);},'VTukP':_0x5285eb(0x8e),'RGxrS':_0x5285eb(0x1ff),'QnBap':_0x5285eb(0x1f7),'jYpnI':'You\x20must\x20specify\x20an\x20auth\x20subcommand','CKVym':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','UtJDa':_0x5285eb(0x1ec),'ftAqH':'ranger\x20start','HxBDb':'ranger\x20setup','PalHe':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','TJnjk':'headed','UInSa':_0x5285eb(0x173),'pedvp':'blocked','AzWCY':_0x5285eb(0x1d2),'EgqQZ':function(_0x3c1a21,_0x45e507,_0x3142b5){return _0x3c1a21(_0x45e507,_0x3142b5);},'nSDdG':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','VTAfG':_0x5285eb(0x112),'nIOhn':'ranger\x20profile\x20add','nnUQe':'add\x20env','CedWI':_0x5285eb(0x183),'OOsor':'Config\x20key','SPVjV':_0x5285eb(0x137),'rQoLf':function(_0x12d015,_0x5a6c59,_0x15e59b){return _0x12d015(_0x5a6c59,_0x15e59b);},'oIaQn':function(_0x40a1c7,_0x2f75fd,_0x108b51){return _0x40a1c7(_0x2f75fd,_0x108b51);},'QXMDa':'config\x20unset','ICeOf':'set\x20<env>\x20<key>\x20<value>','njRsk':_0x5285eb(0x115),'yTqdZ':_0x5285eb(0x19b),'lrbbk':'You\x20must\x20specify\x20a\x20config\x20subcommand','tPdyw':_0x5285eb(0x15e),'BWWoR':'env\x20list','gyetx':'update\x20<env-name>','UHNps':'You\x20must\x20specify\x20an\x20env\x20subcommand','Anynt':'Feature\x20review\x20name','HKkvC':'checklist','AbXAA':'ranger\x20create','PwfMr':function(_0x46901b,_0x2e53cc,_0x766bbf,_0x378581){return _0x46901b(_0x2e53cc,_0x766bbf,_0x378581);},'NhVeg':'feature\x20create','hnavk':'current-branch','QcKKf':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','EUFMZ':_0x5285eb(0x16e),'EqsAa':function(_0x20c350,_0x4fadc6,_0x2d986d){return _0x20c350(_0x4fadc6,_0x2d986d);},'FFGPc':'ranger\x20show','hLfTx':_0x5285eb(0x230),'gNNVJ':'ranger\x20add-scenario','uzajy':'ranger\x20restore','yHnCG':function(_0x2819ff,_0x5cf6cd,_0x53dcc9){return _0x2819ff(_0x5cf6cd,_0x53dcc9);},'SSXWn':_0x5285eb(0x1e1),'HeMhS':_0x5285eb(0x17d),'cSfIj':'create\x20<name>','hdafp':'resume\x20[id]','EwOvs':'add-checklist-item\x20<description>','XnGtz':_0x5285eb(0xf9),'rHlCq':_0x5285eb(0x1ce),'qWWJx':'session-id','EFjpD':'hook:enable','zgyIB':'hook:disable','JCsms':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','fFyGh':_0x5285eb(0x155),'wxvXP':_0x5285eb(0xf6),'EHYLv':'Unknown\x20command','idlle':function(_0x5c9d8a){return _0x5c9d8a();},'BVDPj':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','MBoOg':_0x5285eb(0x22a),'GVdwJ':_0x5285eb(0x86),'inRaW':_0x5285eb(0xe0),'cOxRA':'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','VLReT':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','vcYsb':'setup-ci\x20<token>','IlyZO':'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','QBNUT':'Install\x20Ranger\x20skills','MlcPE':'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','RcWnC':_0x5285eb(0x184),'YvcUp':_0x5285eb(0xa6),'HMLtE':_0x5285eb(0x91),'JvIWx':_0x5285eb(0x13f),'Hwngl':'You\x20must\x20specify\x20a\x20command','YDedA':function(_0x37f644,_0xe43826){return _0x37f644+_0xe43826;},'OBbFd':'Documentation:\x0a','WEYyr':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','orvwc':_0x5285eb(0x133)};return _0x192e6f(_0x43a597??process['argv'][_0x5285eb(0x18f)](0x2))[_0x5285eb(0x136)](_0x5285eb(0x1c7))['usage'](TOP_LEVEL_HELP)['version'](_0x41ca59['idlle'](getCurrentVersion))[_0x5285eb(0xad)](_0x41ca59[_0x5285eb(0x1ef)],_0x41ca59['BVDPj'],_0x3387e1=>{const _0xcae03=_0x5285eb;return _0x3387e1[_0xcae03(0x1f6)](_0x41ca59[_0xcae03(0x204)],{'type':_0xcae03(0xb5),'description':_0xcae03(0x10a),'demandOption':!![]})[_0xcae03(0x7f)](_0x41ca59['DaJaY'],{'type':_0x41ca59['chBml'],'alias':'d','description':_0x41ca59[_0xcae03(0x7d)]})['option']('scenario',{'type':_0x41ca59[_0xcae03(0x129)],'alias':'c','description':_0x41ca59['CbddJ']})[_0xcae03(0x7f)](_0xcae03(0xea),{'type':'array','hidden':!![]});},async _0x34fdc6=>{const _0x110e10=_0x5285eb;if(!_0x34fdc6[_0x110e10(0xa2)]){console['error'](_0x41ca59['qgTKg']+'Example:\x20ranger\x20create\x20my-feature'),process[_0x110e10(0x120)](0x1);return;}warnFlagRenamed('ranger\x20create',_0x41ca59[_0x110e10(0x1ad)],_0x110e10(0xf5));const _0x2d343d=_0x34fdc6['scenario']||_0x34fdc6[_0x110e10(0xea)];await _0x41ca59['MBbXx'](withTelemetry,'create',()=>featureCreate(_0x34fdc6['name'],{'description':_0x34fdc6[_0x110e10(0x1c3)],'scenarios':_0x2d343d}));})[_0x5285eb(0xad)](_0x5285eb(0x12c),'List\x20all\x20feature\x20reviews',_0x46fd93=>{const _0x1e43ae=_0x5285eb;return _0x46fd93[_0x1e43ae(0x7f)]('current-branch',{'type':_0x41ca59['SJyJI'],'description':_0x41ca59['HlGen']})[_0x1e43ae(0x7f)](_0x1e43ae(0x9c),{'type':_0x1e43ae(0x235),'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})[_0x1e43ae(0x7f)](_0x41ca59['GBufo'],{'type':_0x41ca59[_0x1e43ae(0x223)],'alias':'o','description':_0x41ca59['jCkiy'],'default':0x0})[_0x1e43ae(0x7f)](_0x41ca59[_0x1e43ae(0x1fc)],{'type':_0x41ca59['SJyJI'],'alias':'d','description':_0x1e43ae(0x16e),'default':![]});},async _0x58df6d=>{const _0x284054=_0x5285eb;await _0x41ca59[_0x284054(0xf3)](withTelemetry,'list',()=>featureList({'currentBranch':_0x58df6d['current-branch'],'limit':_0x58df6d['limit'],'offset':_0x58df6d[_0x284054(0x13e)],'includeDeleted':_0x58df6d['include-deleted']}));})[_0x5285eb(0xad)](_0x41ca59[_0x5285eb(0xee)],_0x5285eb(0x1a7),_0x465961=>{const _0x48e7a3=_0x5285eb;return _0x465961['positional']('id',{'type':_0x41ca59[_0x48e7a3(0x144)],'description':_0x41ca59[_0x48e7a3(0x1d3)]});},async _0x483518=>{const _0xe7dfef=_0x5285eb;await _0x41ca59[_0xe7dfef(0x221)](withTelemetry,_0x41ca59['QvXqN'],()=>featureShow(_0x483518['id']));})['command'](_0x5285eb(0x17b),'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x53e70c=>{const _0x5e134e=_0x5285eb;return _0x53e70c['positional']('id',{'type':_0x41ca59[_0x5e134e(0x144)],'description':_0x41ca59[_0x5e134e(0x1bd)]});},async _0x110ec4=>{await _0x41ca59['mHtMP'](withTelemetry,'resume',()=>featureResume(_0x110ec4['id']));})['command'](_0x41ca59['GVdwJ'],'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x1861f4=>{const _0x5d1868=_0x5285eb;return _0x1861f4['positional']('description',{'type':_0x41ca59[_0x5d1868(0x144)],'description':_0x41ca59[_0x5d1868(0x9a)],'demandOption':!![]})[_0x5d1868(0x7f)]('id',{'type':_0x41ca59[_0x5d1868(0x144)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x3ec0bd=>{const _0xc9bc05=_0x5285eb;await _0x41ca59['PzYCK'](withTelemetry,_0x41ca59[_0xc9bc05(0x93)],()=>featureAddScenario(_0x3ec0bd[_0xc9bc05(0x1c3)],_0x3ec0bd['id']));})[_0x5285eb(0xad)](_0x41ca59[_0x5285eb(0x1c4)],'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x4e172c=>{const _0x1881c1=_0x5285eb;return _0x4e172c['positional'](_0x41ca59[_0x1881c1(0x123)],{'type':_0x1881c1(0xb5),'description':'New\x20scenario\x20description','demandOption':!![]})[_0x1881c1(0x7f)]('scenario',{'type':_0x1881c1(0x235),'description':_0x41ca59[_0x1881c1(0xca)],'demandOption':!![]})['option']('id',{'type':_0x41ca59['chBml'],'description':_0x1881c1(0x21c)});},async _0x4b91f0=>{const _0x451758=_0x5285eb;await withTelemetry('edit-scenario',()=>featureEditScenario(_0x4b91f0[_0x451758(0x1c3)],{'id':_0x4b91f0['id'],'scenario':_0x4b91f0[_0x451758(0x1b2)]}));})[_0x5285eb(0xad)](_0x5285eb(0x1b7),_0x41ca59['cOxRA'],_0x45c1da=>{const _0x2abc70=_0x5285eb;return _0x45c1da['positional']('id',{'type':_0x41ca59[_0x2abc70(0x144)],'description':'Feature\x20review\x20ID'})['option'](_0x41ca59[_0x2abc70(0xdd)],{'type':_0x41ca59['NXjSw'],'description':_0x41ca59['QDWQD']})[_0x2abc70(0x7f)](_0x41ca59[_0x2abc70(0x200)],{'type':'boolean','description':_0x2abc70(0x1da),'default':![]});},async _0x37d20c=>{const _0xcade46=_0x5285eb,_0x4299e6=_0x37d20c[_0x41ca59[_0xcade46(0xdd)]],_0x27c42b=_0x4299e6?_0x4299e6[_0xcade46(0x162)](_0x446f81=>Number(_0x446f81)):undefined;await withTelemetry(_0x41ca59['ONUSP'],()=>featureReportPrDescription(_0x37d20c['id'],{'excludeScenarios':_0x27c42b,'json':_0x37d20c['json']}));})[_0x5285eb(0xad)](_0x5285eb(0x21a),_0x5285eb(0x1f5),_0x417dff=>{return _0x417dff['positional']('id',{'type':'string','description':_0x41ca59['AGSwB']});},async _0x1276ea=>{const _0x2ba129=_0x5285eb;await withTelemetry(_0x41ca59[_0x2ba129(0x1e7)],()=>featureGetReview(_0x1276ea['id']));})['command'](_0x41ca59['rHlCq'],_0x41ca59['VLReT'],_0x4aad5e=>{const _0x2911c7=_0x5285eb;return _0x4aad5e[_0x2911c7(0x1f6)]('id',{'type':_0x41ca59[_0x2911c7(0x144)],'description':_0x2911c7(0x138)});},async _0x5f5c4c=>{const _0x3e12d0=_0x5285eb;await _0x41ca59['rMkzs'](withTelemetry,_0x41ca59[_0x3e12d0(0x1ca)],()=>featureDelete(_0x5f5c4c['id']));})[_0x5285eb(0xad)](_0x5285eb(0xb4),_0x5285eb(0x1d4),_0x8774c0=>{return _0x8774c0['positional']('id',{'type':'string','description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x45532=>{const _0x36e923=_0x5285eb;await withTelemetry(_0x36e923(0xbf),()=>featureRestore(_0x45532['id']));})['command']('setup\x20[tokenOrSubcommand]',_0x5285eb(0x215),_0x17ab27=>{const _0x23d389=_0x5285eb,_0x119d0e={'ANjLF':_0x41ca59['FINll'],'SXPYr':'skip-chromium','akPer':'skip-auth','PnLZU':_0x41ca59[_0x23d389(0x144)],'jWmsj':_0x41ca59[_0x23d389(0xb8)],'LvFqD':_0x41ca59[_0x23d389(0x113)],'oVsxl':_0x41ca59[_0x23d389(0x193)],'osjpT':'opencode','yDWED':_0x23d389(0x222),'WGmBq':'mcp-bootstrap','sBbdw':_0x41ca59[_0x23d389(0x1fe)],'qFysW':_0x23d389(0x124),'oMLjm':_0x23d389(0xd2),'laXhl':_0x41ca59[_0x23d389(0x107)],'oCJlB':'scope','NtGqn':'user','aUTBJ':_0x41ca59['qFEEN'],'DBYcE':_0x41ca59['didfL'],'nEkOY':_0x23d389(0x161),'WCuyj':'Skip\x20browser\x20authentication','GjnzF':'force','rYDaG':'allow-insecure-localhost','FFLNT':_0x41ca59['vFbmd'],'IYotq':function(_0x11485b,_0x51456c){return _0x41ca59['yEgOF'](_0x11485b,_0x51456c);},'zgdVs':function(_0x34fdc2,_0x3fde48){return _0x34fdc2+_0x3fde48;},'umoEp':_0x23d389(0x229)};return _0x17ab27[_0x23d389(0xce)]('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')[_0x23d389(0x1f6)](_0x41ca59[_0x23d389(0x17a)],{'type':_0x41ca59['chBml'],'description':'Subcommand\x20or\x20API\x20token\x20(rngr_...)'})[_0x23d389(0xad)](_0x41ca59[_0x23d389(0xb1)],_0x23d389(0x16f),_0x4dc33e=>{const _0x41f4ec=_0x23d389;return _0x4dc33e['option']('token',{'type':'string','description':_0x119d0e['ANjLF']})[_0x41f4ec(0x7f)](_0x119d0e['SXPYr'],{'type':'boolean','description':_0x41f4ec(0xd0),'default':![]})['option'](_0x119d0e[_0x41f4ec(0xfd)],{'type':_0x41f4ec(0x222),'description':'Skip\x20authentication','default':![]})['option']('with-deps',{'type':'boolean','description':_0x41f4ec(0x1ec),'default':![]})[_0x41f4ec(0x7f)]('scope',{'type':_0x119d0e[_0x41f4ec(0x1b4)],'choices':[_0x41f4ec(0x174)],'hidden':!![],'description':_0x119d0e[_0x41f4ec(0x8a)]})[_0x41f4ec(0x7f)]('url',{'type':_0x119d0e['PnLZU'],'description':_0x119d0e[_0x41f4ec(0x20c)]})[_0x41f4ec(0x7f)]('force',{'type':_0x41f4ec(0x222),'description':_0x119d0e[_0x41f4ec(0x142)],'default':![]})[_0x41f4ec(0x7f)](_0x119d0e['osjpT'],{'type':_0x119d0e['yDWED'],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})['option'](_0x41f4ec(0x96),{'type':_0x119d0e['yDWED'],'description':_0x41f4ec(0x10d),'default':![]})['option'](_0x119d0e['WGmBq'],{'type':_0x119d0e['yDWED'],'description':_0x119d0e['sBbdw'],'default':![]})[_0x41f4ec(0x7f)]('mcp',{'type':'boolean','description':'Alias\x20for\x20--mcp-bootstrap','default':![]});},async _0x11db5c=>{const _0x1b96bd=_0x23d389;(_0x11db5c['mcp-bootstrap']||_0x11db5c['mcp'])&&await _0x41ca59['MBbXx'](withTelemetry,_0x41ca59['FsgzS'],()=>mcpBootstrap()),await withTelemetry(_0x41ca59[_0x1b96bd(0x22b)],_0x559202=>start(_0x11db5c['token'],{'skipChromium':_0x11db5c['skip-chromium'],'skipAuth':_0x11db5c[_0x1b96bd(0x1dc)],'withDeps':_0x11db5c[_0x1b96bd(0xaf)],'scope':_0x11db5c[_0x1b96bd(0x1d6)],'url':_0x11db5c['url'],'force':_0x11db5c['force'],'opencode':_0x11db5c[_0x1b96bd(0xe6)],'allowInsecureLocalhost':_0x11db5c[_0x1b96bd(0x96)]},_0x559202));})['command']('deps',_0x41ca59[_0x23d389(0x1c6)],_0x32bc42=>{const _0x54ad06=_0x23d389;return _0x32bc42['option'](_0x54ad06(0xaf),{'type':_0x119d0e['yDWED'],'description':_0x119d0e['qFysW'],'default':![]});},async _0x11968a=>{await _0x41ca59['rMkzs'](withTelemetry,_0x41ca59['sqEGO'],()=>ensureChromium(_0x11968a['with-deps']));})['command'](_0x41ca59['tWSMM'],'Authenticate\x20with\x20Ranger',_0x1f8d8c=>{const _0x4fe720=_0x23d389;return _0x1f8d8c['option']('token',{'type':_0x4fe720(0xb5),'description':'Ranger\x20API\x20token\x20(rngr_...)'})[_0x4fe720(0x7f)](_0x119d0e[_0x4fe720(0x1c2)],{'type':_0x4fe720(0x222),'description':_0x119d0e['laXhl'],'default':![]});},async _0x14a004=>{const _0x22a88e=_0x23d389,_0x3efe56={'WXBIU':function(_0x78a563){return _0x78a563();},'SeCJS':_0x41ca59[_0x22a88e(0x14a)],'HhQJt':function(_0x543a71,_0x436453){return _0x543a71(_0x436453);}};await _0x41ca59[_0x22a88e(0x1f3)](withTelemetry,_0x41ca59[_0x22a88e(0x1c9)],async()=>{const _0xf3bfab=_0x22a88e;if(_0x14a004['mcp']){await mcpBootstrap();const _0x34cfbc=await _0x3efe56[_0xf3bfab(0xe3)](refreshCliToken);if(!_0x34cfbc)throw new Error(_0x3efe56['SeCJS']);const _0x637803=await _0x3efe56[_0xf3bfab(0x117)](getCurrentUser,_0x34cfbc);if(!_0x637803[_0xf3bfab(0x236)])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x637803[_0xf3bfab(0x8f)]);console[_0xf3bfab(0x1e2)](_0xf3bfab(0x1e4)+_0x637803['user'][_0xf3bfab(0xc9)]);return;}await _0x3efe56['HhQJt'](authenticate,_0x14a004['token']);});})[_0x23d389(0xad)](_0x23d389(0x122),_0x41ca59[_0x23d389(0x145)],_0x59309d=>{const _0x132762=_0x23d389;return _0x59309d['option'](_0x119d0e[_0x132762(0xe9)],{'type':'string','choices':[_0x119d0e[_0x132762(0x218)],_0x119d0e['aUTBJ']],'description':_0x119d0e['DBYcE']})['option']('opencode',{'type':_0x132762(0x222),'description':_0x132762(0xcc),'default':![]});},async _0x22ceb6=>{const _0x4352c4=_0x23d389,_0xba9751={'bBNkU':function(_0x1bdba3,_0x5b213a){return _0x1bdba3(_0x5b213a);},'iPdPf':function(_0x1f93c6,_0x311120,_0x106991){const _0xb5f4c6=_0x2731;return _0x41ca59[_0xb5f4c6(0xe8)](_0x1f93c6,_0x311120,_0x106991);},'bLWTl':'ranger','cjiwf':_0x41ca59[_0x4352c4(0xd9)],'JRPEo':function(_0x483d5f,_0x486e77){return _0x483d5f(_0x486e77);}};await _0x41ca59['qokWw'](withTelemetry,_0x41ca59['ksZhS'],async()=>{const _0x264b4f=_0x4352c4,_0x2378da=_0x22ceb6['scope'];if(_0x22ceb6['opencode']){const _0x2d3dbd=await _0xba9751[_0x264b4f(0x17f)](ensureOpencodePluginConfig,_0x2378da);_0x2d3dbd&&await _0xba9751['iPdPf'](installSkill,_0xba9751[_0x264b4f(0x118)],{'level':_0x2d3dbd['scope'],'cliVersion':getCurrentVersion(),'platform':_0xba9751[_0x264b4f(0xa4)]});}else await _0xba9751[_0x264b4f(0x17f)](ensureClaudePlugin,_0x2378da),await _0xba9751['JRPEo'](ensureClaudeSkills,_0x2378da);});})[_0x23d389(0xad)]('profiles','Set\x20up\x20a\x20local\x20browser\x20profile',_0x2e300d=>{const _0x4287d1=_0x23d389;return _0x2e300d[_0x4287d1(0x7f)](_0x119d0e[_0x4287d1(0xe9)],{'type':'string','choices':[_0x4287d1(0x174)],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x4287d1(0xb9),{'type':_0x119d0e[_0x4287d1(0x1b4)],'description':_0x119d0e['nEkOY']})[_0x4287d1(0x7f)](_0x4287d1(0x1dc),{'type':'boolean','description':_0x119d0e['WCuyj'],'default':![]})['option'](_0x119d0e[_0x4287d1(0x9b)],{'type':_0x4287d1(0x222),'description':_0x4287d1(0xde),'default':![]})['option'](_0x119d0e['rYDaG'],{'type':_0x119d0e['yDWED'],'description':_0x119d0e[_0x4287d1(0x206)],'default':![]});},async _0x5e8f42=>{const _0x34230d=_0x23d389,_0x4628d0=_0x5e8f42['scope'];_0x119d0e[_0x34230d(0xd5)](_0x4628d0,undefined)&&_0x4628d0!==_0x119d0e['NtGqn']&&(console[_0x34230d(0x8f)](_0x119d0e['zgdVs']('ranger\x20setup\x20profiles\x20--scope='+_0x4628d0+'\x20is\x20no\x20longer\x20supported.\x20','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20')+'Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.'),process['exit'](0x1)),await withTelemetry(_0x119d0e[_0x34230d(0x12d)],_0x218698=>ensureLocalEnv({'url':_0x5e8f42[_0x34230d(0xb9)],'force':_0x5e8f42['force'],'allowInsecureLocalhost':_0x5e8f42['allow-insecure-localhost'],'scope':'user'},_0x218698));})[_0x23d389(0x7f)](_0x23d389(0x1df),{'type':_0x41ca59[_0x23d389(0x190)],'description':_0x23d389(0xd0),'default':![]})['option'](_0x41ca59['CQkUM'],{'type':'string','choices':[_0x23d389(0x174)],'hidden':!![],'description':_0x41ca59['QGwWF']})['option'](_0x41ca59[_0x23d389(0x158)],{'type':_0x23d389(0xb5),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})[_0x23d389(0x7f)](_0x41ca59[_0x23d389(0x88)],{'type':'boolean','description':_0x41ca59['JlDkA'],'default':![]})[_0x23d389(0x7f)](_0x23d389(0xe6),{'type':_0x41ca59['SJyJI'],'description':_0x41ca59['frMvt'],'default':![]})['option']('allow-insecure-localhost',{'type':'boolean','description':_0x41ca59['vIqAf'],'default':![]})[_0x23d389(0x7f)](_0x23d389(0x1fa),{'type':_0x23d389(0x222),'description':_0x41ca59['kZBAI'],'default':![]})[_0x23d389(0x7f)]('skip-auth',{'type':_0x41ca59[_0x23d389(0x190)],'description':_0x41ca59[_0x23d389(0xda)],'default':![]})['option'](_0x41ca59[_0x23d389(0x239)],{'type':_0x23d389(0x222),'description':_0x23d389(0x124),'default':![]})['option'](_0x41ca59['HDWAg'],{'type':_0x23d389(0xb5),'hidden':!![],'description':'API\x20token'});},async _0x1c1867=>{const _0x357c2e=_0x5285eb,_0x4a288e=_0x1c1867['tokenOrSubcommand'],_0x2cc455=_0x1c1867['token']??_0x4a288e;_0x1c1867[_0x41ca59[_0x357c2e(0x114)]]&&await withTelemetry('mcp-bootstrap',()=>mcpBootstrap()),await withTelemetry(_0x41ca59[_0x357c2e(0x19d)],_0x9b091e=>start(_0x2cc455,{'skipChromium':_0x1c1867[_0x357c2e(0x1df)],'skipAuth':_0x1c1867[_0x357c2e(0x1dc)],'withDeps':_0x1c1867[_0x357c2e(0xaf)],'scope':_0x1c1867[_0x357c2e(0x1d6)],'url':_0x1c1867['url'],'force':_0x1c1867['force'],'opencode':_0x1c1867[_0x357c2e(0xe6)],'allowInsecureLocalhost':_0x1c1867[_0x357c2e(0x96)]},_0x9b091e));})[_0x5285eb(0xad)](_0x41ca59['vcYsb'],![],_0x43e869=>{const _0x124d46=_0x5285eb;return _0x43e869[_0x124d46(0x1f6)](_0x124d46(0x187),{'type':_0x124d46(0xb5),'description':'Ranger\x20API\x20token','demandOption':!![]})[_0x124d46(0x7f)](_0x124d46(0x189),{'type':'string','description':_0x41ca59[_0x124d46(0xd7)]})['option'](_0x124d46(0x213),{'type':'string','description':_0x124d46(0x1d9)})[_0x124d46(0x7f)](_0x41ca59['ApInw'],{'type':_0x41ca59[_0x124d46(0x190)],'description':_0x41ca59['yeAmx'],'default':![]});},async _0x1ec593=>{const _0x510410=_0x5285eb;await withTelemetry('setup-ci',_0x535b4a=>setupCi(_0x1ec593[_0x510410(0x187)],{'profile':_0x1ec593['profile'],'baseUrl':_0x1ec593['base-url'],'skipChromium':_0x1ec593[_0x510410(0x1df)]},_0x535b4a));})[_0x5285eb(0xad)](_0x5285eb(0xba),_0x41ca59[_0x5285eb(0x220)],()=>{},async()=>{await withTelemetry(_0x41ca59['tWSMM'],()=>login());})[_0x5285eb(0xad)](_0x5285eb(0xfc),_0x41ca59['QBNUT'],_0x1d620e=>{const _0x8f3eb1=_0x5285eb;return _0x1d620e[_0x8f3eb1(0x7f)](_0x8f3eb1(0xe6),{'type':_0x8f3eb1(0x222),'description':_0x41ca59[_0x8f3eb1(0x15b)],'default':![]})[_0x8f3eb1(0x7f)](_0x41ca59[_0x8f3eb1(0x140)],{'type':_0x8f3eb1(0xb5),'choices':[_0x41ca59['HPvRU'],_0x41ca59[_0x8f3eb1(0x109)]],'description':_0x41ca59['YOekc']});},async _0x5168a7=>{const _0x500817=_0x5285eb,_0x3ff549=_0x41ca59[_0x500817(0x198)](Boolean,_0x5168a7['opencode']);await withTelemetry('skillup',()=>skillup({'autoInstall':_0x5168a7[_0x500817(0x1d6)],'platform':_0x3ff549?'opencode':_0x500817(0xc3)}));})['command'](_0x41ca59[_0x5285eb(0x14c)],_0x41ca59[_0x5285eb(0x1bf)],()=>{},async()=>{const _0xdb0930=_0x5285eb;await withTelemetry(_0x41ca59[_0xdb0930(0x14c)],()=>clean());})[_0x5285eb(0xad)]([_0x41ca59['akThl'],_0x41ca59[_0x5285eb(0x1f1)]],'Manage\x20profiles',_0x3cb750=>{const _0x55e728=_0x5285eb,_0x317679={'HWhDT':function(_0x325e9f,_0x4f6466){return _0x325e9f(_0x4f6466);},'NoRLT':_0x41ca59[_0x55e728(0x176)],'XJIYo':_0x55e728(0xb6),'mFCxv':'string','zYfgG':_0x41ca59[_0x55e728(0x211)],'pPKQk':'profile\x20delete','CgBHN':function(_0x3b9025,_0x158e68){return _0x3b9025||_0x158e68;},'ETZIi':function(_0x1245b4,_0x480a3a,_0x4aa8bf){return _0x1245b4(_0x480a3a,_0x4aa8bf);},'RYXMz':_0x41ca59['WDmAB'],'gmHOM':'No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','ecpXr':function(_0x3db9c6,_0x238c18){return _0x41ca59['qfemi'](_0x3db9c6,_0x238c18);},'VmiaR':_0x41ca59['fjHvh'],'iWYhx':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','AGsSL':_0x41ca59[_0x55e728(0x190)],'ETlnk':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','aUcKe':_0x41ca59['MFyCU'],'QVtiC':'Skip\x20interactive\x20confirmation\x20prompts.','RFXcp':_0x55e728(0x132),'kfUXG':'profile','dpzTU':_0x41ca59['IiMqj'],'fXFud':_0x41ca59['iWwrV'],'elmBT':_0x41ca59[_0x55e728(0x191)],'exdJc':_0x55e728(0x1a0),'XEfxZ':_0x41ca59[_0x55e728(0x18d)]};return _0x3cb750['usage'](PROFILE_HELP)[_0x55e728(0xad)](_0x41ca59['hNtlf'],_0x55e728(0x16a),_0xdbbd12=>{const _0x1a8f1e=_0x55e728;return _0xdbbd12['positional'](_0x1a8f1e(0xb6),{'type':_0x41ca59['chBml'],'description':_0x1a8f1e(0xb0),'demandOption':!![]})['option']('ci',{'type':'boolean','hidden':!![],'default':![]})['option'](_0x41ca59['JCOsj'],{'type':_0x1a8f1e(0x222),'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0x1a8f1e(0x7f)](_0x41ca59['IICjn'],{'type':_0x41ca59['chBml'],'description':_0x41ca59['Cljad']})[_0x1a8f1e(0x7f)](_0x41ca59['fRYZl'],{'type':_0x41ca59['SJyJI'],'description':_0x1a8f1e(0xde),'default':![]})[_0x1a8f1e(0x7f)](_0x41ca59['pvnoT'],{'type':_0x41ca59['chBml'],'description':_0x41ca59[_0x1a8f1e(0xc8)]})[_0x1a8f1e(0x7f)](_0x1a8f1e(0x96),{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0x1a8f1e(0x7f)](_0x41ca59[_0x1a8f1e(0x82)],{'type':_0x41ca59['SJyJI'],'description':_0x1a8f1e(0x1a2),'default':![]})['option'](_0x41ca59['bcpen'],{'type':_0x41ca59[_0x1a8f1e(0x144)],'array':!![],'description':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)'})[_0x1a8f1e(0x7f)]('scope',{'type':_0x41ca59['chBml'],'choices':[_0x1a8f1e(0x174),_0x1a8f1e(0x172)],'description':_0x41ca59['jkQHi']})[_0x1a8f1e(0x7f)](_0x41ca59['KRsYp'],{'type':'string','description':_0x41ca59['xnVDd']})[_0x1a8f1e(0x7f)](_0x1a8f1e(0x16d),{'type':'boolean','alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','default':![]});},async _0x171337=>{const _0x12e143=_0x55e728;await withTelemetry('profile\x20add',_0x784ab7=>addEnv(_0x171337['profile-name'],{'ci':_0x171337['ci'],'skipAuth':_0x171337[_0x12e143(0x1dc)],'url':_0x171337['url'],'force':_0x171337[_0x12e143(0x1aa)],'cdpEndpoint':_0x171337['cdp-endpoint'],'allowInsecureLocalhost':_0x171337[_0x12e143(0x96)],'safeMode':_0x171337[_0x12e143(0x19c)],'setupHeader':_0x171337['setup-header'],'scope':_0x171337[_0x12e143(0x1d6)],'authEnv':_0x171337[_0x12e143(0x167)],'yes':_0x171337['yes']},_0x784ab7),{'isElectron':_0x317679['HWhDT'](Boolean,_0x171337[_0x317679[_0x12e143(0xa7)]])});})[_0x55e728(0xad)](_0x41ca59['UvSyX'],_0x41ca59[_0x55e728(0x8b)],_0x130c96=>{const _0x2aac85=_0x55e728;return _0x130c96[_0x2aac85(0x1f6)](_0x317679[_0x2aac85(0x1a4)],{'type':_0x317679[_0x2aac85(0x196)],'description':_0x317679['zYfgG'],'demandOption':!![]});},async _0x49af19=>{const _0x152dd9=_0x55e728;await withTelemetry(_0x41ca59[_0x152dd9(0x185)],()=>useEnv(_0x49af19['profile-name']));})['command'](_0x41ca59[_0x55e728(0x238)],_0x41ca59['QbWEB'],_0x3c6576=>{const _0x4570fd=_0x55e728;return _0x3c6576[_0x4570fd(0x1f6)](_0x41ca59[_0x4570fd(0x110)],{'type':_0x4570fd(0xb5),'description':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','demandOption':!![]})['option'](_0x41ca59['hIwXd'],{'type':_0x4570fd(0x222),'alias':'y','description':_0x4570fd(0xe5),'default':![]});},async _0x1c960e=>{const _0x4143c9=_0x55e728;await withTelemetry(_0x317679['pPKQk'],()=>deleteProfile(_0x1c960e[_0x4143c9(0xb6)],{'yes':_0x1c960e[_0x4143c9(0x16d)]}));})['command'](_0x41ca59[_0x55e728(0xd1)],![],_0x284904=>{const _0x4f55f3=_0x55e728;return _0x284904[_0x4f55f3(0x1f6)](_0x41ca59[_0x4f55f3(0x92)],{'type':_0x41ca59[_0x4f55f3(0x144)],'description':_0x41ca59[_0x4f55f3(0x1e6)],'demandOption':!![]});},async _0x46c42f=>{await withTelemetry(_0x41ca59['DHDMM'],()=>authEncrypt(_0x46c42f['profile']));})['command']('ls','List\x20all\x20profiles',()=>{},async()=>{await withTelemetry(_0x41ca59['ACFzz'],()=>envList());})[_0x55e728(0xad)](_0x41ca59[_0x55e728(0x9f)],_0x41ca59['revsQ'],_0x24d743=>{const _0x32c6d3=_0x55e728;return _0x24d743[_0x32c6d3(0x1f6)](_0x41ca59[_0x32c6d3(0x110)],{'type':_0x41ca59['chBml'],'description':_0x32c6d3(0x1de),'demandOption':!![]})['option'](_0x41ca59['tcjNL'],{'type':_0x32c6d3(0x222),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)'})['option']('manual',{'type':_0x41ca59['SJyJI'],'description':_0x41ca59['qTVlu']});},async _0x5c87dd=>{const _0x4d3cba=_0x55e728;await withTelemetry(_0x4d3cba(0x208),_0x1e2488=>updateEnv(_0x5c87dd[_0x4d3cba(0xb6)],_0x1e2488,{'allowInsecureLocalhost':_0x5c87dd[_0x4d3cba(0x96)],'manual':_0x5c87dd['manual']}));})['command']('login\x20<name>',![],_0x20b5b8=>{const _0x2e9678=_0x55e728;return _0x20b5b8[_0x2e9678(0x1f6)]('name',{'type':_0x2e9678(0xb5),'description':_0x41ca59['PAZnV'],'demandOption':!![]});},async _0x5a2161=>{const _0x215221=_0x55e728;await withTelemetry(_0x41ca59[_0x215221(0x1bb)],async()=>{const _0x4ec588=_0x215221,_0x8803f2=process['env']['RANGER_TEST_USERNAME'],_0x15d7f7=process['env']['RANGER_TEST_PASSWORD'];_0x317679['CgBHN'](!_0x8803f2,!_0x15d7f7)&&(console[_0x4ec588(0x8f)](_0x4ec588(0x15a)),process['exit'](0x1));const _0x2b5440=_0x5a2161['name'],_0x5a0848=await _0x317679['ETZIi'](serverSideLogin,_0x2b5440,{'force':!![]});_0x5a0848['status']===_0x317679[_0x4ec588(0x11f)]&&(console[_0x4ec588(0x8f)](_0x317679[_0x4ec588(0x106)]),process[_0x4ec588(0x120)](0x1)),_0x317679['ecpXr'](_0x5a0848[_0x4ec588(0x21b)],_0x317679[_0x4ec588(0x170)])&&(console['error']('Login\x20failed:\x20'+(_0x5a0848[_0x4ec588(0x8f)]??_0x4ec588(0xbe))),_0x5a0848[_0x4ec588(0x11a)]&&console['error'](_0x5a0848[_0x4ec588(0x11a)]),process['exit'](0x1)),console[_0x4ec588(0x1e2)](_0x4ec588(0x104)+_0x2b5440+'\x27.\x20Session\x20saved.');});})['command'](_0x55e728(0x1bc),![],_0x4f72c9=>{const _0x26cd03=_0x55e728;return _0x4f72c9[_0x26cd03(0x1f6)](_0x317679[_0x26cd03(0x1a4)],{'type':_0x317679['mFCxv'],'description':_0x317679['iWYhx']})[_0x26cd03(0x7f)]('all',{'type':_0x317679[_0x26cd03(0x163)],'description':_0x317679[_0x26cd03(0x205)],'default':![]})[_0x26cd03(0x7f)](_0x317679[_0x26cd03(0x186)],{'type':_0x26cd03(0x222),'description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})['option']('yes',{'type':_0x317679['AGsSL'],'alias':'y','description':_0x317679['QVtiC'],'default':![]})['option'](_0x317679['RFXcp'],{'type':_0x317679[_0x26cd03(0x163)],'description':_0x26cd03(0xf2),'default':![]});},async _0x316c1d=>{const _0x3d55d8=_0x55e728;await withTelemetry('profile\x20migrate',_0x2bac32=>migrateProfile({'profileName':_0x316c1d[_0x3d55d8(0xb6)],'all':_0x316c1d[_0x3d55d8(0x12b)],'dryRun':_0x316c1d[_0x3d55d8(0x14d)],'yes':_0x316c1d[_0x3d55d8(0x16d)],'saveCreds':_0x316c1d[_0x3d55d8(0x132)]},_0x2bac32));})[_0x55e728(0xad)](_0x41ca59['sxcJt'],_0x41ca59[_0x55e728(0x95)],_0xd022cc=>{const _0x3d45ab=_0x55e728,_0x2d92f7={'rBxZG':function(_0x4faf25,_0x74682e,_0x196338){return _0x4faf25(_0x74682e,_0x196338);},'AqFYA':_0x41ca59['FTaix'],'qOLsf':'Profile\x20name','KBVsC':_0x41ca59[_0x3d45ab(0x144)],'wXvqh':_0x3d45ab(0x10f),'vcZRG':_0x3d45ab(0x17c),'YdLei':_0x41ca59[_0x3d45ab(0x10c)]};return _0xd022cc['usage'](PROFILE_CONFIG_HELP)['command'](_0x41ca59[_0x3d45ab(0x1c0)],_0x41ca59['hRJOh'],_0x3cf085=>{const _0x9dbdf2=_0x3d45ab;return _0x3cf085['positional'](_0x317679[_0x9dbdf2(0x13a)],{'type':_0x9dbdf2(0xb5),'description':_0x317679[_0x9dbdf2(0x179)],'demandOption':!![]})[_0x9dbdf2(0x1f6)](_0x317679[_0x9dbdf2(0x22d)],{'type':_0x9dbdf2(0xb5),'description':_0x317679['elmBT'],'demandOption':!![]})['positional'](_0x317679[_0x9dbdf2(0xc5)],{'type':_0x317679['mFCxv'],'description':_0x317679['XEfxZ'],'demandOption':!![]});},async _0x4e0be6=>{await _0x2d92f7['rBxZG'](withTelemetry,_0x2d92f7['AqFYA'],()=>configSet(_0x4e0be6['profile'],_0x4e0be6['key'],_0x4e0be6['value']));})['command']('get\x20<profile>\x20<key>',_0x41ca59[_0x3d45ab(0x11b)],_0x4ea2c9=>{const _0x15047d=_0x3d45ab;return _0x4ea2c9[_0x15047d(0x1f6)](_0x15047d(0x189),{'type':'string','description':_0x2d92f7['qOLsf'],'demandOption':!![]})[_0x15047d(0x1f6)](_0x15047d(0x1f4),{'type':_0x2d92f7['KBVsC'],'description':_0x2d92f7[_0x15047d(0x148)],'demandOption':!![]});},async _0x3a544a=>{const _0x34a93a=_0x3d45ab;await withTelemetry(_0x34a93a(0x219),()=>configGet(_0x3a544a['profile'],_0x3a544a['key']));})[_0x3d45ab(0xad)](_0x41ca59['WniDw'],_0x41ca59[_0x3d45ab(0x1fb)],_0x3c5d5e=>{const _0x745ac0=_0x3d45ab;return _0x3c5d5e['positional'](_0x745ac0(0x189),{'type':'string','description':_0x317679['dpzTU'],'demandOption':!![]});},async _0x431da4=>{await withTelemetry('profile\x20config\x20list',()=>configList(_0x431da4['profile']));})[_0x3d45ab(0xad)](_0x3d45ab(0x20e),_0x41ca59['sPpUq'],_0x53811b=>{const _0x5a0d3e=_0x3d45ab;return _0x53811b[_0x5a0d3e(0x1f6)](_0x5a0d3e(0x189),{'type':_0x2d92f7['KBVsC'],'description':'Profile\x20name','demandOption':!![]})[_0x5a0d3e(0x1f6)](_0x5a0d3e(0x1f4),{'type':_0x2d92f7[_0x5a0d3e(0x150)],'description':_0x2d92f7[_0x5a0d3e(0x146)],'demandOption':!![]});},async _0xc770f=>{const _0xdfab1e=_0x3d45ab;await _0x2d92f7[_0xdfab1e(0x1e8)](withTelemetry,_0x2d92f7['YdLei'],()=>configUnset(_0xc770f[_0xdfab1e(0x189)],_0xc770f['key']));})[_0x3d45ab(0xad)](_0x41ca59['ZZHng'],_0x41ca59['VhleF'],_0x39d1b7=>{return _0x39d1b7['positional']('profile',{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x5a16ab=>{const _0x5738df=_0x3d45ab;await withTelemetry(_0x5738df(0x139),()=>configReset(_0x5a16ab[_0x5738df(0x189)]));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})['demandCommand'](0x1,_0x41ca59[_0x55e728(0x83)]);})['command']('status',_0x5285eb(0x224),()=>{},async()=>{const _0x4f0302=_0x5285eb;await _0x41ca59['XdtaY'](withTelemetry,_0x41ca59[_0x4f0302(0xe2)],()=>status());})[_0x5285eb(0xad)](_0x41ca59['DDNZZ'],'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x12ed31=_0x5285eb;await withTelemetry(_0x41ca59[_0x12ed31(0x1d8)],()=>update());})['command']('print-access-token',_0x41ca59['YvcUp'],()=>{},async()=>{const _0x42caa0=_0x5285eb;await _0x41ca59[_0x42caa0(0x221)](withTelemetry,'print-access-token',async()=>{const _0x148b5b=_0x42caa0,_0x4283f8=await getToken();if(!_0x4283f8)throw new Error(_0x148b5b(0x188));console['log'](_0x4283f8);});})[_0x5285eb(0xad)]('go','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.',_0x5ac6fa=>{const _0x28b5ed=_0x5285eb;return _0x5ac6fa['option'](_0x28b5ed(0x225),{'type':_0x41ca59['chBml'],'description':_0x28b5ed(0x233)})['option'](_0x41ca59['akThl'],{'type':_0x28b5ed(0xb5),'description':_0x41ca59[_0x28b5ed(0x101)]})[_0x28b5ed(0x7f)](_0x41ca59[_0x28b5ed(0x17e)],{'type':_0x28b5ed(0xb5),'array':!![],'description':_0x41ca59[_0x28b5ed(0xbd)]})['option'](_0x41ca59['mYJLM'],{'type':_0x28b5ed(0xb5),'description':_0x41ca59[_0x28b5ed(0x81)]})[_0x28b5ed(0x7f)]('check',{'type':_0x41ca59[_0x28b5ed(0x144)],'description':_0x41ca59['oTvLU']})['option'](_0x41ca59['dvdgf'],{'type':_0x28b5ed(0x235),'description':_0x28b5ed(0x168)})['option'](_0x41ca59['PVjYV'],{'type':'string','description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})['option'](_0x28b5ed(0x213),{'type':_0x41ca59['chBml'],'description':_0x41ca59[_0x28b5ed(0x9d)]})['option'](_0x41ca59['eYCJP'],{'type':_0x28b5ed(0xb5),'description':_0x41ca59[_0x28b5ed(0x16c)]})[_0x28b5ed(0x7f)]('headed',{'type':_0x41ca59['SJyJI'],'description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})[_0x28b5ed(0x7f)](_0x41ca59[_0x28b5ed(0xf0)],{'type':_0x41ca59['chBml'],'array':!![],'alias':_0x41ca59['FEcTr'],'description':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.'})[_0x28b5ed(0x7f)](_0x41ca59['BRvAF'],{'type':_0x41ca59['SJyJI'],'description':_0x28b5ed(0x10b),'default':![]})[_0x28b5ed(0x7f)]('debug-outcome',{'type':_0x41ca59['chBml'],'hidden':!![],'choices':[_0x41ca59['CmwWx'],_0x28b5ed(0x175),_0x28b5ed(0x1a9),'failed',_0x28b5ed(0x1d2)]})[_0x28b5ed(0x7f)]('debug-address-comments',{'type':_0x41ca59['SJyJI'],'hidden':!![]})['option'](_0x28b5ed(0x167),{'type':'string','description':_0x41ca59['SjwgA']})[_0x28b5ed(0x7f)](_0x28b5ed(0xa1),{'type':_0x41ca59['chBml'],'hidden':!![]})['option'](_0x41ca59['pBjSQ'],{'type':_0x28b5ed(0x235),'hidden':!![]});},async _0x556cbb=>{await runGoCommand(_0x556cbb);})[_0x5285eb(0xad)]('auth',![],_0x59a3a6=>{const _0x2016af=_0x5285eb,_0x3d2ac2={'kMxuX':function(_0x5d9ee2,_0x33a028,_0x532b52){return _0x41ca59['RielL'](_0x5d9ee2,_0x33a028,_0x532b52);},'GWool':_0x41ca59[_0x2016af(0x1a5)],'kgYAD':_0x41ca59['RGxrS']};return _0x59a3a6['command'](_0x41ca59[_0x2016af(0x165)],![],_0x50ef76=>{const _0x364bf8=_0x2016af;return _0x50ef76[_0x364bf8(0x1f6)](_0x41ca59[_0x364bf8(0x92)],{'type':_0x41ca59[_0x364bf8(0x144)],'description':_0x364bf8(0x178),'demandOption':!![]});},async _0x1255c3=>{const _0xeb9056=_0x2016af;_0x3d2ac2[_0xeb9056(0x1f9)](warnRenamed,_0x3d2ac2[_0xeb9056(0x18c)],_0x3d2ac2[_0xeb9056(0x100)]),await authEncrypt(_0x1255c3[_0xeb9056(0x189)]);})['demandCommand'](0x1,_0x41ca59['jYpnI']);},()=>{})['command'](_0x5285eb(0xcb),![],_0x5ebaa2=>{const _0x1ae065=_0x5285eb;return _0x5ebaa2[_0x1ae065(0x1f6)]('token',{'type':_0x1ae065(0xb5),'description':_0x1ae065(0xec)})['option']('skip-chromium',{'type':_0x41ca59[_0x1ae065(0x190)],'description':_0x41ca59['CKVym'],'default':![]})[_0x1ae065(0x7f)]('scope',{'type':_0x41ca59[_0x1ae065(0x144)],'choices':[_0x1ae065(0x174)],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x41ca59['IICjn'],{'type':_0x41ca59['chBml'],'description':_0x1ae065(0x1ae)})['option'](_0x41ca59['fRYZl'],{'type':_0x1ae065(0x222),'description':_0x41ca59[_0x1ae065(0x193)],'default':![]})[_0x1ae065(0x7f)](_0x1ae065(0x1dc),{'type':'boolean','description':'Skip\x20authentication','default':![]})['option'](_0x1ae065(0xaf),{'type':_0x1ae065(0x222),'description':_0x41ca59[_0x1ae065(0x18a)],'default':![]});},async _0x4168e3=>{const _0x12b5ed=_0x5285eb;warnRenamed(_0x41ca59[_0x12b5ed(0x13d)],_0x41ca59['HxBDb']),await withTelemetry(_0x41ca59[_0x12b5ed(0x19d)],_0x49f539=>start(_0x4168e3[_0x12b5ed(0x187)],{'skipChromium':_0x4168e3[_0x12b5ed(0x1df)],'skipAuth':_0x4168e3['skip-auth'],'withDeps':_0x4168e3['with-deps'],'scope':_0x4168e3['scope'],'url':_0x4168e3[_0x12b5ed(0xb9)],'force':_0x4168e3['force']},_0x49f539));})['command'](_0x41ca59['HMLtE'],![],_0x2ba785=>{const _0x1ef860=_0x5285eb;return _0x2ba785['option'](_0x41ca59['KRsYp'],{'type':_0x1ef860(0xb5),'description':_0x41ca59[_0x1ef860(0xdb)]})[_0x1ef860(0x7f)]('task',{'type':'string','description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})[_0x1ef860(0x7f)]('item',{'type':_0x41ca59['jjClT'],'description':'Scenario\x20index\x20(1-based)'})[_0x1ef860(0x7f)](_0x1ef860(0x189),{'type':_0x41ca59[_0x1ef860(0x144)],'hidden':!![]})[_0x1ef860(0x7f)](_0x1ef860(0x237),{'type':_0x41ca59[_0x1ef860(0x144)],'hidden':!![]})[_0x1ef860(0x7f)](_0x41ca59[_0x1ef860(0x135)],{'type':'number','hidden':!![]})['option'](_0x1ef860(0x194),{'type':_0x41ca59['chBml'],'description':_0x1ef860(0x147)})[_0x1ef860(0x7f)](_0x1ef860(0x213),{'type':_0x1ef860(0xb5),'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x1ef860(0x7f)](_0x41ca59[_0x1ef860(0x1e0)],{'type':_0x1ef860(0xb5),'hidden':!![]})['option'](_0x41ca59[_0x1ef860(0x199)],{'type':_0x1ef860(0x222),'hidden':!![],'default':![]})['option']('env-var',{'type':_0x1ef860(0xb5),'array':!![],'alias':_0x1ef860(0x153),'hidden':!![]})['option'](_0x41ca59[_0x1ef860(0x1d5)],{'type':_0x1ef860(0xb5),'hidden':!![],'choices':['verified',_0x1ef860(0x175),_0x41ca59[_0x1ef860(0x216)],_0x1ef860(0x1d1),_0x41ca59['AzWCY']]});},async _0x37754b=>{await _0x41ca59['EgqQZ'](runGoCommand,_0x37754b,!![]);})[_0x5285eb(0xad)](_0x41ca59[_0x5285eb(0x226)],![],_0x5d2264=>{const _0x1d171e=_0x5285eb;return _0x5d2264['positional']('env-name',{'type':'string','description':_0x41ca59[_0x1d171e(0xaa)],'demandOption':!![]})['option']('ci',{'type':'boolean','description':_0x41ca59['VTAfG'],'default':![]})['option'](_0x1d171e(0x1dc),{'type':_0x41ca59['SJyJI'],'description':_0x1d171e(0xa5),'default':![]});},async _0x1d7772=>{const _0x4e5ff8=_0x5285eb;_0x41ca59[_0x4e5ff8(0xe8)](warnRenamed,'ranger\x20add\x20env',_0x41ca59['nIOhn']),await withTelemetry(_0x41ca59['nnUQe'],_0x5ac214=>addEnv(_0x1d7772['env-name'],{'ci':_0x1d7772['ci'],'skipAuth':_0x1d7772['skip-auth']},_0x5ac214));})[_0x5285eb(0xad)]('use\x20<env-name>',![],_0x477896=>{const _0x4bcbaa=_0x5285eb;return _0x477896[_0x4bcbaa(0x1f6)]('env-name',{'type':_0x41ca59['chBml'],'description':_0x4bcbaa(0x1cc),'demandOption':!![]});},async _0x284bc8=>{const _0x54c922=_0x5285eb;warnRenamed(_0x41ca59[_0x54c922(0xa0)],'ranger\x20profile\x20use'),await _0x41ca59['qokWw'](withTelemetry,_0x54c922(0x149),()=>useEnv(_0x284bc8[_0x54c922(0x228)]));})['command'](_0x5285eb(0xb3),![],_0x3dddb6=>{const _0x3272f5=_0x5285eb,_0x3f09c2={'ZnYZj':function(_0x3f1821,_0x2b6062,_0x11e107){return _0x3f1821(_0x2b6062,_0x11e107);},'uHQAf':'ranger\x20profile\x20config\x20set','Nsgbp':_0x3272f5(0x169),'NLmUb':function(_0x3750ae,_0x53667e,_0x5149a2){return _0x41ca59['oIaQn'](_0x3750ae,_0x53667e,_0x5149a2);},'AYnoH':_0x3272f5(0x84),'NWitc':_0x41ca59['QXMDa']};return _0x3dddb6[_0x3272f5(0xad)](_0x41ca59['ICeOf'],![],_0x4eefc1=>{const _0x52cd37=_0x3272f5;return _0x4eefc1['positional']('env',{'type':_0x41ca59['chBml'],'description':'Environment\x20name','demandOption':!![]})['positional'](_0x41ca59['iWwrV'],{'type':_0x52cd37(0xb5),'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})['positional']('value',{'type':_0x52cd37(0xb5),'description':_0x41ca59[_0x52cd37(0x18d)],'demandOption':!![]});},async _0x490097=>{const _0x4b05ad=_0x3272f5;_0x3f09c2['ZnYZj'](warnRenamed,_0x4b05ad(0x1ac),_0x3f09c2['uHQAf']),await _0x3f09c2['ZnYZj'](withTelemetry,_0x3f09c2['Nsgbp'],()=>configSet(_0x490097[_0x4b05ad(0x167)],_0x490097[_0x4b05ad(0x1f4)],_0x490097[_0x4b05ad(0x1a0)]));})['command'](_0x3272f5(0x1f0),![],_0x1df3db=>{const _0x30db6c=_0x3272f5;return _0x1df3db['positional']('env',{'type':_0x41ca59['chBml'],'description':_0x30db6c(0x1b8),'demandOption':!![]})['positional'](_0x41ca59[_0x30db6c(0xfe)],{'type':'string','description':_0x41ca59['OOsor'],'demandOption':!![]});},async _0x4c1878=>{const _0x51710a=_0x3272f5;warnRenamed(_0x51710a(0xc6),_0x41ca59[_0x51710a(0x20d)]),await _0x41ca59['rQoLf'](withTelemetry,'config\x20get',()=>configGet(_0x4c1878[_0x51710a(0x167)],_0x4c1878['key']));})['command'](_0x41ca59[_0x3272f5(0xc2)],![],_0x12dbcb=>{const _0x5c9946=_0x3272f5;return _0x12dbcb[_0x5c9946(0x1f6)]('env',{'type':_0x5c9946(0xb5),'description':'Environment\x20name','demandOption':!![]});},async _0x642cbf=>{const _0x37406=_0x3272f5;warnRenamed('ranger\x20config\x20list',_0x37406(0x121)),await _0x3f09c2['NLmUb'](withTelemetry,_0x3f09c2['AYnoH'],()=>configList(_0x642cbf[_0x37406(0x167)]));})[_0x3272f5(0xad)](_0x41ca59[_0x3272f5(0x1c5)],![],_0x283a47=>{const _0x54b92=_0x3272f5;return _0x283a47[_0x54b92(0x1f6)]('env',{'type':'string','description':'Environment\x20name','demandOption':!![]})[_0x54b92(0x1f6)](_0x41ca59['iWwrV'],{'type':_0x41ca59[_0x54b92(0x144)],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x110255=>{const _0x53e532=_0x3272f5;_0x3f09c2['NLmUb'](warnRenamed,_0x53e532(0x159),'ranger\x20profile\x20config\x20unset'),await withTelemetry(_0x3f09c2['NWitc'],()=>configUnset(_0x110255['env'],_0x110255[_0x53e532(0x1f4)]));})[_0x3272f5(0x15f)](0x1,_0x41ca59['lrbbk']);})[_0x5285eb(0xad)](_0x5285eb(0x167),![],_0x8fffa5=>{const _0x27944d=_0x5285eb,_0xdc035c={'HxdXA':'env-name','ztpMx':'Name\x20of\x20the\x20environment\x20to\x20update','YcWHW':function(_0x42cc7d,_0x66e470,_0x40288a){return _0x42cc7d(_0x66e470,_0x40288a);},'EIjnl':'ranger\x20profile\x20update','gwEOV':_0x27944d(0x1b0)};return _0x8fffa5['command']('ls',![],()=>{},async()=>{const _0x2eadce=_0x27944d;_0x41ca59[_0x2eadce(0xe8)](warnRenamed,'ranger\x20env\x20ls',_0x41ca59['tPdyw']),await withTelemetry(_0x41ca59['BWWoR'],()=>envList());})['command'](_0x41ca59['gyetx'],![],_0x4efa69=>{const _0x4fcbc0=_0x27944d;return _0x4efa69[_0x4fcbc0(0x1f6)](_0xdc035c[_0x4fcbc0(0x1a8)],{'type':_0x4fcbc0(0xb5),'description':_0xdc035c['ztpMx'],'demandOption':!![]});},async _0x2559e6=>{const _0x5b020d=_0x27944d;_0xdc035c['YcWHW'](warnRenamed,_0x5b020d(0x1ab),_0xdc035c[_0x5b020d(0xae)]),await withTelemetry(_0xdc035c['gwEOV'],_0x17c05b=>updateEnv(_0x2559e6['env-name'],_0x17c05b));})[_0x27944d(0x15f)](0x1,_0x41ca59[_0x27944d(0x11c)]);})[_0x5285eb(0xad)](_0x5285eb(0x225),![],_0x2daf45=>{const _0x17115c=_0x5285eb,_0x2ac0a4={'izhBN':function(_0x1c50f5,_0x163f00,_0x4f9191){return _0x1c50f5(_0x163f00,_0x4f9191);},'MaZfP':'feature\x20list','TKGnO':_0x17115c(0x11e),'XUytX':_0x41ca59[_0x17115c(0x154)],'rMQNi':_0x41ca59[_0x17115c(0x123)],'ybyzM':'string','ylAtM':_0x41ca59['AGSwB'],'QFATM':_0x41ca59['HeMhS']};return _0x2daf45[_0x17115c(0xad)](_0x41ca59['cSfIj'],![],_0x36ce54=>{const _0x67faaa=_0x17115c;return _0x36ce54['positional']('name',{'type':'string','description':_0x41ca59[_0x67faaa(0x232)],'demandOption':!![]})[_0x67faaa(0x7f)]('description',{'type':'string','alias':'d','description':_0x67faaa(0x85)})['option'](_0x41ca59['HKkvC'],{'type':_0x41ca59['NXjSw'],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option'](_0x67faaa(0x1b2),{'type':_0x41ca59[_0x67faaa(0x129)],'hidden':!![]});},async _0x5b2a30=>{const _0x3521ca=_0x17115c;warnRenamed('ranger\x20feature\x20create',_0x41ca59[_0x3521ca(0xc4)]),_0x41ca59[_0x3521ca(0x203)](warnFlagRenamed,'ranger\x20create',_0x3521ca(0x1cd),'--scenario');const _0x509514=_0x5b2a30['scenario']||_0x5b2a30[_0x3521ca(0xea)];await _0x41ca59['yxHOh'](withTelemetry,_0x41ca59[_0x3521ca(0x164)],()=>featureCreate(_0x5b2a30[_0x3521ca(0xa2)],{'description':_0x5b2a30['description'],'scenarios':_0x509514}));})[_0x17115c(0xad)]('list',![],_0x581f7b=>{const _0x3d42dc=_0x17115c;return _0x581f7b['option'](_0x41ca59['hnavk'],{'type':'boolean','description':_0x41ca59[_0x3d42dc(0x1b9)]})[_0x3d42dc(0x7f)]('limit',{'type':'number','alias':'l','description':_0x41ca59[_0x3d42dc(0x192)],'default':0xa})[_0x3d42dc(0x7f)]('offset',{'type':_0x41ca59['jjClT'],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option'](_0x3d42dc(0x1f2),{'type':_0x41ca59[_0x3d42dc(0x190)],'alias':'d','description':_0x41ca59[_0x3d42dc(0x89)],'default':![]});},async _0x342d13=>{const _0x31ec69=_0x17115c;_0x2ac0a4['izhBN'](warnRenamed,'ranger\x20feature\x20list','ranger\x20list'),await withTelemetry(_0x2ac0a4[_0x31ec69(0x201)],()=>featureList({'currentBranch':_0x342d13[_0x31ec69(0x1fd)],'limit':_0x342d13[_0x31ec69(0x9c)],'offset':_0x342d13['offset'],'includeDeleted':_0x342d13[_0x31ec69(0x1f2)]}));})['command']('show\x20[id]',![],_0x2f7009=>{const _0x5ead32=_0x17115c;return _0x2f7009[_0x5ead32(0x1f6)]('id',{'type':_0x41ca59['chBml'],'description':_0x41ca59[_0x5ead32(0x1d3)]});},async _0x344cda=>{const _0x211f7f=_0x17115c;_0x41ca59[_0x211f7f(0x151)](warnRenamed,'ranger\x20feature\x20show',_0x41ca59[_0x211f7f(0x108)]),await withTelemetry(_0x211f7f(0x1e3),()=>featureShow(_0x344cda['id']));})['command'](_0x41ca59[_0x17115c(0x1ba)],![],_0x120d0a=>{const _0x4d1d61=_0x17115c;return _0x120d0a[_0x4d1d61(0x1f6)]('id',{'type':'string','description':_0x4d1d61(0xb2)});},async _0x392daf=>{const _0x4364f0=_0x17115c;_0x2ac0a4[_0x4364f0(0x80)](warnRenamed,_0x2ac0a4[_0x4364f0(0x14b)],_0x4364f0(0xed)),await withTelemetry(_0x2ac0a4['XUytX'],()=>featureResume(_0x392daf['id']));})[_0x17115c(0xad)](_0x41ca59[_0x17115c(0x16b)],![],_0x643171=>{const _0x50c022=_0x17115c;return _0x643171['positional'](_0x2ac0a4[_0x50c022(0x13b)],{'type':_0x2ac0a4['ybyzM'],'description':_0x50c022(0x1b1),'demandOption':!![]})[_0x50c022(0x7f)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x102949=>{const _0x4b32f2=_0x17115c;_0x41ca59['mHtMP'](warnRenamed,_0x41ca59[_0x4b32f2(0x134)],_0x41ca59[_0x4b32f2(0x234)]),await withTelemetry(_0x4b32f2(0x1cf),()=>featureAddScenario(_0x102949['description'],_0x102949['id']));})['command'](_0x41ca59[_0x17115c(0x1a6)],![],_0x3f9811=>{const _0x442215=_0x17115c;return _0x3f9811[_0x442215(0x1f6)]('id',{'type':'string','description':_0x2ac0a4['ylAtM']});},async _0x4d12d7=>{const _0x21f98b=_0x17115c;warnRenamed(_0x21f98b(0x126),'ranger\x20get-review'),await withTelemetry(_0x2ac0a4[_0x21f98b(0xd3)],()=>featureGetReview(_0x4d12d7['id']));})[_0x17115c(0xad)](_0x41ca59['rHlCq'],![],_0x14beee=>{const _0x5a1559=_0x17115c;return _0x14beee[_0x5a1559(0x1f6)]('id',{'type':'string','description':_0x41ca59['VXXNo']});},async _0x48d203=>{const _0x254d69=_0x17115c;warnRenamed('ranger\x20feature\x20delete',_0x254d69(0x19a)),await withTelemetry('feature\x20delete',()=>featureDelete(_0x48d203['id']));})[_0x17115c(0xad)](_0x17115c(0xb4),![],_0x220fae=>{const _0x38816f=_0x17115c;return _0x220fae['positional']('id',{'type':_0x38816f(0xb5),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x1a379e=>{const _0x19e313=_0x17115c;warnRenamed(_0x19e313(0xe7),_0x41ca59[_0x19e313(0x22c)]),await _0x41ca59['yHnCG'](withTelemetry,_0x19e313(0xb7),()=>featureRestore(_0x1a379e['id']));})[_0x17115c(0x15f)](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})['command']('hook',![],_0x13a1d4=>{const _0x3c6340=_0x5285eb,_0x4db9e4={'WHjxm':_0x41ca59['zgyIB']};return _0x13a1d4['command']('enable',_0x3c6340(0x13c),_0x1cbd04=>{const _0xd80775=_0x3c6340;return _0x1cbd04['option'](_0x41ca59[_0xd80775(0x141)],{'type':_0xd80775(0xb5),'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x539f43=>{const _0x1df63d=_0x3c6340;await withTelemetry(_0x41ca59[_0x1df63d(0x152)],()=>hook(_0x1df63d(0x128),_0x539f43[_0x1df63d(0xbc)]));})['command'](_0x3c6340(0x103),_0x41ca59[_0x3c6340(0x14f)],_0x2503c0=>{const _0x32373f=_0x3c6340;return _0x2503c0[_0x32373f(0x7f)]('session-id',{'type':_0x41ca59['chBml'],'description':_0x32373f(0xf6)});},async _0xf8a652=>{const _0x20967a=_0x3c6340;await withTelemetry(_0x4db9e4[_0x20967a(0xcd)],()=>hook('disable',_0xf8a652['session-id']));})['option'](_0x3c6340(0xa2),{'type':_0x41ca59['chBml'],'description':_0x41ca59[_0x3c6340(0x210)]})['option'](_0x41ca59[_0x3c6340(0x141)],{'type':'string','description':_0x41ca59['wxvXP']});},async _0xb328b8=>{const _0x162d35=_0x5285eb;_0xb328b8[_0x162d35(0xa2)]&&await hook(_0xb328b8['name'],_0xb328b8[_0x162d35(0xbc)]);})['demandCommand'](0x1,_0x41ca59['Hwngl'])[_0x5285eb(0xa9)]()['fail'](async(_0x41b5ad,_0x1d98c,_0x37dbdc)=>{const _0x5abb14=_0x5285eb,_0x200c52=_0x41ca59['uEWas'](sanitizeArgs,process['argv'][_0x5abb14(0x18f)](0x2)),_0xc027ba=getErrorType(_0x41b5ad,_0x1d98c);if(_0x41b5ad&&_0x41b5ad[_0x5abb14(0x1be)](_0x41ca59['EHYLv'])){const _0x5c5f72=process[_0x5abb14(0xbb)][0x2];console['error']('\x0aUnknown\x20command:\x20'+_0x5c5f72),console[_0x5abb14(0x8f)](_0x5abb14(0x1d0));}else{if(_0x41b5ad)console['error']('\x0a'+_0x41b5ad+'\x0a');else _0x1d98c&&console[_0x5abb14(0x8f)]('\x0aError:\x20'+_0x1d98c['message']+'\x0a');}await logDesirePath({'rawCommand':_0x200c52,'errorMessage':_0x41b5ad||_0x1d98c?.[_0x5abb14(0xd8)],'errorType':_0xc027ba});const _0x4947c8=getCurrentCollector();_0x4947c8&&await _0x4947c8['trackCommandError'](_0x1d98c||new Error(_0x41b5ad||_0x5abb14(0xdc))),process[_0x5abb14(0x120)](0x1);})['epilogue'](_0x41ca59[_0x5285eb(0x212)](_0x41ca59[_0x5285eb(0x12f)]+'\x20\x20https://docs.ranger.net\x0a',_0x41ca59[_0x5285eb(0xeb)]))['help']()[_0x5285eb(0x97)](_0x41ca59['orvwc'],'h');}process[_0x27b968(0x167)][_0x27b968(0x1af)]!=='test'&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()[_0x27b968(0x157)]());
|