@ranger-testing/ranger-cli 3.1.6 → 3.1.7-alpha.387730d-58
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/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 +2 -5
package/build/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x5cca4c=_0x4e73;(function(_0x3e0415,_0x258903){const _0x30e50b=_0x4e73,_0x19f79a=_0x3e0415();while(!![]){try{const _0x11b939=-parseInt(_0x30e50b(0x2f2))/0x1*(-parseInt(_0x30e50b(0x1b8))/0x2)+parseInt(_0x30e50b(0x2cd))/0x3*(parseInt(_0x30e50b(0x1f4))/0x4)+-parseInt(_0x30e50b(0x2aa))/0x5*(parseInt(_0x30e50b(0x31b))/0x6)+-parseInt(_0x30e50b(0x293))/0x7*(-parseInt(_0x30e50b(0x1bd))/0x8)+-parseInt(_0x30e50b(0x360))/0x9+-parseInt(_0x30e50b(0x26e))/0xa+parseInt(_0x30e50b(0x25a))/0xb;if(_0x11b939===_0x258903)break;else _0x19f79a['push'](_0x19f79a['shift']());}catch(_0x73988){_0x19f79a['push'](_0x19f79a['shift']());}}}(_0x901d,0xb40ba));import _0x4bca5b from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x409205=_0x4e73,_0x4438a5={'XQtgm':function(_0x153855,_0x121d80){return _0x153855(_0x121d80);},'SMcOm':function(_0x16043a,_0x1a2cea){return _0x16043a!==_0x1a2cea;},'oljAO':function(_0xbf38d3,_0x1b3587){return _0xbf38d3(_0x1b3587);},'KPwOQ':'.env'};let _0xf74067=process[_0x409205(0x308)]();const _0x412ec2=_0x4438a5['XQtgm'](parse,_0xf74067)['root'];while(_0x4438a5[_0x409205(0x314)](_0xf74067,_0x412ec2)){if(_0x4438a5[_0x409205(0x367)](existsSync,join(_0xf74067,_0x409205(0x22d)))||existsSync(join(_0xf74067,_0x4438a5['KPwOQ'])))return _0xf74067;_0xf74067=dirname(_0xf74067);}return process[_0x409205(0x308)]();}_0x4bca5b['config']({'path':join(findProjectRoot(),_0x5cca4c(0x2eb))});import _0x123389 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';function _0x901d(){const _0x42a8b0=['Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','ptiPM','token','cwd','ranger\x20profile\x20config\x20unset','sLcqU','incomplete','aBBig','NJMSi','includes','feature\x20get-feedback','oQnuI','You\x20must\x20specify\x20an\x20env\x20subcommand','pXcQo','Nqyem','SMcOm','QUJWf','use\x20<profile-name>','config','ranger\x20feature\x20delete','base-url','length','21342cTjsGi','DdNJN','exitCode','list','mksTc','Proceed\x20even\x20when\x20the\x20selected\x20scenario\x20names\x20a\x20URL\x20on\x20a\x20different\x20origin\x20than\x20the\x20resolved\x20target','fQaAG','\x27.\x20Session\x20saved.','ysYPv','ZYYWN','debug-outcome','ranger\x20env\x20ls','ranger\x20restore','RANGER_TEST_USERNAME','CwtCl','JpfKP','dqbbB','nPxPs','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','XFILP','error','--profile','ranger\x20config\x20set','kFjvQ','config\x20unset','verify-feature','manual','profile\x20delete','map','hRQxC','OcVAQ','usage','XDmrc','Unknown\x20command','LMeUC','LHDSj','BSrJr','unhandledRejection','test','ROBIY','Set\x20up\x20a\x20local\x20browser\x20profile','nzoze','dyxjG','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','vKDJU','RbJYj','profile\x20encrypt-auth','cxIAk','limit','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','DweqA','jZttS','playwright-cli','RJUNa','GLDGW','Subcommand\x20or\x20API\x20token\x20(rngr_...)','dlbOf','Alias\x20for\x20--mcp-bootstrap','ujktK','AVUWK','deps','message','ranger\x20profile\x20use','XrzNc','RaqEp','VOxeP','Scenario\x20index\x20(1-based)','ryTlA','ranger\x20profile\x20config\x20set','12702168rlfaat','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','number','config\x20set','setup:profiles','issues','QTHXZ','oljAO','Feature\x20review\x20name','RANGER_TEST_PASSWORD','opencode','SYFpU','report\x20[id]','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','RANGER_PROFILE','VNeWJ','✓\x20Login\x20succeeded\x20for\x20\x27','create','QeJUR','mNYSK','set\x20<profile>\x20<key>\x20<value>','ranger\x20feature\x20restore','Install\x20skills\x20for\x20OpenCode','bWnwb','DfxGA','ranger\x20show','nuwEQ','ezfpo','DRfqO','JEQJq','filter','Restore\x20a\x20soft-deleted\x20feature\x20review','headed','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','Auth\x20environment\x20key\x20to\x20bind\x20this\x20profile\x20to\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Bypasses\x20URL-based\x20matching;\x20required\x20for\x20bare-localhost\x20custom\x20ports.','Initialize\x20Ranger\x20in\x20your\x20project','wTWMf','split','Config\x20key','946bXBMsW','key','Scenario\x20number\x20to\x20edit\x20(1-based)','demandCommand','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','376nYCwrp','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','tmgnL','iWesx','auth','odXwc','Add\x20profile\x20configuration','tokenOrSubcommand','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','SossW','BPWZI','organizationName','cCxiH','evaluation','rJBWs','Install\x20OS-level\x20dependencies\x20for\x20Chromium','fail','positional','enable','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','ywTYa','login\x20<name>','HqBIw','isArray','--env','xDxLi','add-scenario','\x20\x20https://docs.ranger.net\x0a','YwTZe','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','ranger','scope','task','MGDJI','rYNKA','nCrij','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','scenario','whZNy','log','name','get\x20<env>\x20<key>','mcp-bootstrap','value','jjBmf','iJIVP','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','RiOVV','QbcuF','GpxWB','Environment\x20name','nzNKG','list\x20<env>','808okBLTA','JxHZB','mLrHq','jtxWI','AcGAx','lDQLH','etGmD','Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','kgpcn','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','zrhNH','rWhSC','disable','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','PvnKw','ranger\x20profile\x20config\x20list','qPTnc','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','project','Feature\x20review\x20ID','Ddior','setup:all','repeat','pDbuK','EEwvj','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','LwQxK','profile\x20config\x20reset','jiVZO','xBSke','HZGQl','YaVHQ','dry-run','Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.','checklist','ranger\x20setup','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','yes','gdbFD','Skip\x20browser\x20authentication','yHDkF','ranger\x20verify-feature','Authenticate\x20via\x20MCP\x20proxy','config\x20get','offset','mypDf','jiOyF','kJVbN','qJYqZ','env-name','KwEUO','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201','profile\x20config\x20unset','kUbHJ','kmETv','Wvcei','clean','.ranger','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','hYDGP','RwTnC','profile\x20config\x20set','ranger\x20profile\x20ls','Number\x20of\x20feature\x20reviews\x20to\x20skip','rEbJN','flatMap','skip-chromium','Skip\x20interactive\x20confirmation\x20prompts.','UBcvl','Ranger\x20API\x20token','feature\x20delete','dNGlt','skillup','\x20FAILED','ranger\x20go','setup:deps','profile\x20add','\x20is\x20no\x20longer\x20supported.\x20','Ranger\x20API\x20token\x20(rngr_...)','save-creds','get-review','EAthy','xurCw','--task','tbVsx','ranger\x20add-scenario','hMnbJ','wnXxw','ranger\x20list','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','setup-ci\x20<token>','gWZRv','vvLIZ','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','LNBzw','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','RqWOP','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','Scenario\x20description','akBdA','ODbSt','eytnF','21732326hjqkcl','profile\x20migrate','BqLvT','List\x20all\x20profiles','tVcLU','DzAVq','dCtpN','all','PzySg','feature','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','login','vPrCY','current-branch','ranger\x20env\x20update','KNfIT','nmLXA','summary','Get\x20a\x20config\x20value','restore\x20<id>','12939230WEBXfs','SnqAT','ranger\x20feature\x20resume','command','ranger\x20create','profiles','tRHBS','MurXd','AsvKF','setup\x20[tokenOrSubcommand]','notes','IIkWk','string','description','wLnch','fOsnQ','profile-name','zZMLy','Profile\x20name','SnAgT','check','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','PZUkH','allow-insecure-localhost','skip-auth','ranger\x20feature\x20list','forEach','json','update','\x20VERIFIED','include-deleted','Name\x20of\x20the\x20profile','eJtfb','ddhou','profile\x20update','Qqgnt','qpdfy','148316TSlesn','add-checklist-item\x20<description>','ranger\x20start','YDZmQ','hXaDm','Print\x20the\x20current\x20CLI\x20access\x20token','List\x20all\x20config\x20for\x20a\x20profile','env\x20list','KzSdf','eouPu','oshqg','show\x20[id]','Feature\x20review\x20description','rCoHU','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','get-review\x20[id]','model','fQHvQ','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','failed','ogWWw','\x0aUnknown\x20command:\x20','FBxzh','610cSFsVb','INvqz','tlsmU','config\x20list','help','IzjQP','edit-scenario\x20<description>','zihcl','Summary:\x20','qneFR','Example:\x20ranger\x20create\x20my-feature','exit','add-scenario\x20<description>','verified','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','New\x20scenario\x20description','profile','env-var','cdp-endpoint','ranger\x20profile\x20config\x20get','SgGZh','hsdsd','Feature\x20review\x20ID\x20to\x20restore','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','with-deps','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','LlMDL','allow-url-mismatch','oLPuN','session-id','RhmLi','iwsbv','oGOQq','option','ranger\x20config\x20unset','258SkvztY','pLpbm','Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','XnJxv','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','env','debug-address-comments','test_output','use\x20<env-name>','force','status','PQWjL','mcp','wUjEd','Config\x20value','RHOHN','gqUuQ','mDLav','safe-mode','ywEih','start-path','maYNo','skills','add\x20<profile-name>','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201','boolean','DQTRR','fmfiS','slice','YokpH','.env','KwTLU','create\x20<name>','gzzXf','fosuD','blocked','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','1877BceeKq','wHIFg','user','array','ARrEX','API\x20token','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','rgGdQ','argv','reset\x20<profile>','environment-variable','jCmRo','scriptName','url','slBcK','use','miviL','wKUkr'];_0x901d=function(){return _0x42a8b0;};return _0x901d();}import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';function _0x4e73(_0x3d087b,_0x254dfa){_0x3d087b=_0x3d087b-0x19a;const _0x901d5=_0x901d();let _0x4e73b1=_0x901d5[_0x3d087b];return _0x4e73b1;}import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on'](_0x5cca4c(0x340),async _0x1a25d1=>{const _0x51b9f1=_0x5cca4c,_0x1d80dd={'Bchbv':function(_0xb0f638){return _0xb0f638();}},_0x2e5b8d=_0x1d80dd['Bchbv'](getCurrentCollector);_0x2e5b8d&&await _0x2e5b8d['trackCommandError'](_0x1a25d1),process[_0x51b9f1(0x31d)]=0x1;});const rawArgs=process['argv']['slice'](0x2),TOP_LEVEL_HELP=_0x5cca4c(0x215),PROFILE_HELP=_0x5cca4c(0x227),PROFILE_CONFIG_HELP=_0x5cca4c(0x2e5);function warnRenamed(_0x27a1d8,_0x42ccbd){const _0x5dc3c5=_0x5cca4c;console[_0x5dc3c5(0x32f)]('\x0a'+_0x27a1d8+'\x20is\x20now\x20'+_0x42ccbd+'\x0a');}function argUsed(_0x237d4d){return rawArgs['some'](_0x200b49=>_0x200b49===_0x237d4d||_0x200b49['startsWith'](_0x237d4d+'='));}function warnFlagRenamed(_0x93e8e9,_0x2d29ae,_0x433aa7){const _0x5547be=_0x5cca4c,_0x1ab865={'dCtpN':function(_0x45ba7d,_0x2f03c2){return _0x45ba7d(_0x2f03c2);}};_0x1ab865[_0x5547be(0x260)](argUsed,_0x2d29ae)&&warnRenamed(_0x93e8e9+'\x20'+_0x2d29ae,_0x93e8e9+'\x20'+_0x433aa7);}function normalizeEnvVarNames(_0x516fe8){const _0x4f984a=_0x5cca4c,_0x53f7e7=Array[_0x4f984a(0x1d5)](_0x516fe8)?_0x516fe8:_0x516fe8?[_0x516fe8]:[];return _0x53f7e7[_0x4f984a(0x235)](_0x271b92=>String(_0x271b92)[_0x4f984a(0x1b6)](',')[_0x4f984a(0x337)](_0xad7c63=>_0xad7c63['trim']())[_0x4f984a(0x1af)](Boolean));}async function runGoCommand(_0x2c0db7,_0x38766e=![]){const _0x4f484f=_0x5cca4c,_0x31e5dc={'PzySg':'ranger\x20verify-feature','wgoer':_0x4f484f(0x330),'MgjDF':_0x4f484f(0x247),'VNeWJ':'--notes','eYiTV':function(_0x201d4c,_0x5c72a3,_0x35f003,_0x6362ee){return _0x201d4c(_0x5c72a3,_0x35f003,_0x6362ee);},'tbVsx':function(_0x562995){return _0x562995();},'vVfiP':function(_0x1975b5,_0x503b2b){return _0x1975b5(_0x503b2b);},'zZMLy':function(_0x2536c0,_0x84cd0f){return _0x2536c0!==_0x84cd0f;},'YaVHQ':function(_0x136152,_0x41c0a9){return _0x136152===_0x41c0a9;},'nmLXA':function(_0xc3055a,_0x553de2){return _0xc3055a===_0x553de2;},'srmcM':'incomplete','wjgPe':'\x20INCOMPLETE','QTHXZ':function(_0x3b1a58,_0x3ddf65){return _0x3b1a58===_0x3ddf65;},'XPmVP':'partial','OjXlE':'\x20PARTIAL','fQaAG':'\x20BLOCKED'};_0x38766e&&(warnRenamed(_0x31e5dc[_0x4f484f(0x262)],_0x4f484f(0x23e)),warnFlagRenamed(_0x4f484f(0x21d),_0x4f484f(0x1d6),_0x31e5dc['wgoer']));warnFlagRenamed('ranger\x20go',_0x31e5dc['MgjDF'],_0x31e5dc[_0x4f484f(0x1a0)]),_0x31e5dc['eYiTV'](warnFlagRenamed,'ranger\x20go','--item','--scenario');const _0x23be08=await loadRangerConfig(),_0x16ffca=_0x31e5dc[_0x4f484f(0x248)](isByokEnabled),_0x26b4a2=_0x2c0db7[_0x4f484f(0x2a3)],_0x3a9d6c=_0x23be08['model'],_0x324a73=_0x31e5dc['vVfiP'](normalizeEnvVarNames,_0x2c0db7[_0x4f484f(0x2bb)]),_0x39c8bd=_0x31e5dc['tbVsx'](getVerificationTransport);if(_0x324a73['length']>0x0&&_0x31e5dc['zZMLy'](_0x39c8bd,_0x4f484f(0x34f))&&_0x31e5dc[_0x4f484f(0x27f)](_0x39c8bd,'rangerwright-cli'))throw new Error('The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20'+_0x39c8bd+'.');const _0x186087=await verifyFeature({'featureId':_0x2c0db7[_0x4f484f(0x263)],'profile':_0x2c0db7[_0x4f484f(0x2ba)]??(_0x38766e?_0x2c0db7['env']:undefined)??process['env'][_0x4f484f(0x19f)],'authEnv':_0x38766e?undefined:_0x2c0db7[_0x4f484f(0x2d2)]??process[_0x4f484f(0x2d2)]['RANGER_AUTH_ENV'],'notes':_0x2c0db7['notes']??_0x2c0db7['task'],'check':_0x2c0db7['check'],'scenario':_0x2c0db7[_0x4f484f(0x1e4)]??_0x2c0db7['item'],'startPath':_0x2c0db7[_0x4f484f(0x2e1)],'baseUrl':_0x2c0db7[_0x4f484f(0x319)],'debugOutcome':_0x2c0db7[_0x4f484f(0x325)],'debugAddressComments':_0x2c0db7['debug-address-comments'],'headed':_0x2c0db7[_0x4f484f(0x1b1)],'verifierEnvVars':_0x324a73,'allowUrlMismatch':_0x2c0db7[_0x4f484f(0x2c5)],'byokEnabled':_0x16ffca,'flagVerifyModel':_0x26b4a2,'configVerifyModel':_0x3a9d6c});console['log']('\x0a'+'='[_0x4f484f(0x20a)](0x3c)),console['log'](_0x31e5dc[_0x4f484f(0x213)](_0x186087[_0x4f484f(0x1cb)],'verified')?_0x4f484f(0x28b):_0x31e5dc[_0x4f484f(0x26a)](_0x186087['evaluation'],_0x31e5dc['srmcM'])?_0x31e5dc['wjgPe']:_0x31e5dc[_0x4f484f(0x366)](_0x186087[_0x4f484f(0x1cb)],_0x31e5dc['XPmVP'])?_0x31e5dc['OjXlE']:_0x186087['evaluation']===_0x4f484f(0x2f0)?_0x31e5dc[_0x4f484f(0x321)]:_0x4f484f(0x23d)),console[_0x4f484f(0x1e6)]('='['repeat'](0x3c)),console[_0x4f484f(0x1e6)](_0x4f484f(0x2b2)+_0x186087[_0x4f484f(0x26b)]),console['log']('Evaluation:\x20'+_0x186087[_0x4f484f(0x1cb)]),console['log']('Reason:\x20'+_0x186087['evaluationReason']),_0x186087['issues']?.[_0x4f484f(0x31a)]&&(console['log']('\x0aIssues:'),_0x186087[_0x4f484f(0x365)][_0x4f484f(0x288)]((_0xa636e,_0x45b537)=>{const _0x5f5996=_0x4f484f;console[_0x5f5996(0x1e6)]('\x0a'+(_0x45b537+0x1)+'.\x20['+_0xa636e['severity']+']\x20'+_0xa636e[_0x5f5996(0x27b)]);})),process[_0x4f484f(0x2b5)](_0x186087['evaluation']==='verified'?0x0:0x1);}export function buildParser(_0x4b13fe){const _0x222b8f=_0x5cca4c,_0x9e9eba={'oLPuN':_0x222b8f(0x1e7),'fmfiS':'string','FLqPl':_0x222b8f(0x27b),'vvLIZ':'scenario','ABkVC':_0x222b8f(0x1fd),'ayxXJ':'Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','VOxeP':function(_0x327963,_0x1b4447,_0x5ffedc,_0x130121){return _0x327963(_0x1b4447,_0x5ffedc,_0x130121);},'ptiPM':'--checklist','tVcLU':function(_0x568c86,_0x2e1f36,_0x565a85){return _0x568c86(_0x2e1f36,_0x565a85);},'sLcqU':'current-branch','AsvKF':'boolean','fosuD':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','EAthy':'limit','whZNy':_0x222b8f(0x362),'PLUqF':_0x222b8f(0x1be),'Wvcei':'Number\x20of\x20feature\x20reviews\x20to\x20skip','Ddior':_0x222b8f(0x28c),'kJYBs':_0x222b8f(0x256),'GpxWB':function(_0x4f069f,_0x497140,_0x13f55f){return _0x4f069f(_0x497140,_0x13f55f);},'RWLYp':_0x222b8f(0x2b9),'kgpcn':_0x222b8f(0x218),'xurCw':function(_0x26a207,_0x3a272a,_0x4219cb){return _0x26a207(_0x3a272a,_0x4219cb);},'Htdpn':'Feature\x20review\x20ID','etGmD':'array','ogWWw':_0x222b8f(0x289),'nzNKG':'restore','YwTZe':_0x222b8f(0x242),'nzoze':_0x222b8f(0x21e),'vwHpG':function(_0x13c8eb,_0x540da6){return _0x13c8eb(_0x540da6);},'slBcK':'with-deps','CwtCl':_0x222b8f(0x19e),'mDLav':_0x222b8f(0x24d),'eytnF':_0x222b8f(0x23f),'oGOQq':'scope','Faiib':'Install\x20scope\x20for\x20plugin\x20and\x20skills','bWnwb':function(_0x271de2,_0x1ba96a){return _0x271de2+_0x1ba96a;},'owElY':_0x222b8f(0x364),'nCrij':'Install\x20Chromium\x20browser\x20binary','OXEAx':_0x222b8f(0x2e3),'rCoHU':_0x222b8f(0x236),'zihcl':_0x222b8f(0x346),'tRHBS':_0x222b8f(0x2ff),'DwjIf':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','vwQmz':_0x222b8f(0x2d6),'XFNdn':_0x222b8f(0x19b),'PpWrp':'mcp-bootstrap','YokpH':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','oCjcQ':_0x222b8f(0x286),'qJYqZ':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','duCbL':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','SZQJQ':_0x222b8f(0x2f7),'cxIAk':'start','hXaDm':'token','ryTlA':'Ranger\x20API\x20token','IjLal':'profile','dNGlt':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','pXcQo':'base-url','PqJtw':'Skip\x20Chromium\x20browser\x20installation','miviL':'setup-ci','CDrYe':_0x222b8f(0x1a7),'KzSdf':_0x222b8f(0x23c),'BVBGs':function(_0x570f09,_0x4fd464,_0x1916f1){return _0x570f09(_0x4fd464,_0x1916f1);},'nrUpr':function(_0x55851c,_0x17028f){return _0x55851c(_0x17028f);},'wnXxw':'cdp-endpoint','KwTLU':_0x222b8f(0x349),'yHDkF':'manual','nwivO':_0x222b8f(0x290),'DCiMg':'profile\x20login','cCxiH':'profile-name','SnAgT':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','KwEUO':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','ghoRu':_0x222b8f(0x219),'TJLtV':_0x222b8f(0x280),'qneFR':_0x222b8f(0x1b9),'wHIFg':_0x222b8f(0x1a5),'wGDGs':'Set\x20a\x20config\x20value','QviXQ':_0x222b8f(0x26c),'yDLRB':_0x222b8f(0x299),'RbJYj':'Remove\x20a\x20config\x20value','pyHYE':_0x222b8f(0x2fb),'mNYSK':_0x222b8f(0x1ed),'jtxWI':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','LMeUC':_0x222b8f(0x253),'gqUuQ':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','gnqbc':'safe-mode','kFjvQ':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','kfyff':'profile\x20ls','dlbOf':function(_0x4793e3,_0x45ebd6){return _0x4793e3||_0x45ebd6;},'LwQxK':'profile\x20config\x20list','qPTnc':function(_0x3f185c,_0x543361,_0x205725){return _0x3f185c(_0x543361,_0x205725);},'KgCbI':_0x222b8f(0x2e4),'nPxPs':_0x222b8f(0x316),'kUbHJ':'Switch\x20to\x20using\x20a\x20specific\x20profile','XnJxv':'encrypt-auth\x20<profile>','HqBIw':_0x222b8f(0x25d),'nuwEQ':'update\x20<profile-name>','YegPz':_0x222b8f(0x1d3),'OcVAQ':'migrate\x20[profile-name]','BqLvT':_0x222b8f(0x317),'tIjFM':'You\x20must\x20specify\x20a\x20profile\x20subcommand','IzjQP':function(_0x5e3eaf,_0x3a63f7,_0x5b4751){return _0x5e3eaf(_0x3a63f7,_0x5b4751);},'rhSnZ':'status','XFILP':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','tmgnL':_0x222b8f(0x263),'KNfIT':_0x222b8f(0x278),'GLDGW':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','Qdgaw':_0x222b8f(0x2e1),'IIkWk':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','ezfpo':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.','QeJUR':_0x222b8f(0x1b1),'SYFpU':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','ujktK':_0x222b8f(0x2bb),'sVOeb':_0x222b8f(0x320),'kUnZY':'debug-outcome','iwsbv':'partial','wLnch':_0x222b8f(0x2d2),'XDmrc':'Auth\x20environment\x20key\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Used\x20with\x20RANGER_TEST_USERNAME\x20for\x20ad-hoc\x20runs,\x20and\x20with\x20--profile\x20to\x20override\x20that\x20profile\x27s\x20pinned\x20env\x20for\x20this\x20run.\x20Required\x20to\x20run\x20an\x20automated\x20login\x20against\x20a\x20bare-localhost\x20target\x20(localhost\x20/\x20127.0.0.1).\x20Also\x20respects\x20RANGER_AUTH_ENV.','ywEih':'item','sWlDV':'ranger\x20profile\x20encrypt-auth','mDnYg':function(_0x490e43,_0x14d735){return _0x490e43(_0x14d735);},'kmETv':'You\x20must\x20specify\x20an\x20auth\x20subcommand','dBurT':_0x222b8f(0x201),'maYNo':_0x222b8f(0x22e),'odXwc':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','NyBWe':_0x222b8f(0x295),'fOsnQ':_0x222b8f(0x217),'RhmLi':_0x222b8f(0x2d1),'wdhrC':'task','LDXMn':_0x222b8f(0x35d),'oQnuI':_0x222b8f(0x1c5),'fqJBO':'environment-variable','dqbbB':_0x222b8f(0x2b7),'gKTER':_0x222b8f(0x1c6),'pLpbm':'ranger\x20add\x20env','LHDSj':'ranger\x20profile\x20add','ZDAyh':'add\x20env','Nqyem':_0x222b8f(0x225),'PvnKw':function(_0x102c72,_0x441c39,_0xaff482){return _0x102c72(_0x441c39,_0xaff482);},'aBfgs':_0x222b8f(0x359),'OSiwW':_0x222b8f(0x301),'iJIVP':'value','JxHZB':_0x222b8f(0x35f),'MGDJI':_0x222b8f(0x363),'FBxzh':'ranger\x20config\x20get','QjNXL':_0x222b8f(0x2bd),'SnqAT':_0x222b8f(0x21f),'EJvFs':function(_0x123ef9,_0x46dff5,_0x1fdf06){return _0x123ef9(_0x46dff5,_0x1fdf06);},'IQqLT':_0x222b8f(0x203),'mypDf':_0x222b8f(0x2ad),'QUJWf':'Config\x20key\x20to\x20remove','jScwo':_0x222b8f(0x309),'guybg':'set\x20<env>\x20<key>\x20<value>','BUUrx':'You\x20must\x20specify\x20a\x20config\x20subcommand','scqTX':_0x222b8f(0x326),'hYDGP':_0x222b8f(0x29a),'BOddR':_0x222b8f(0x268),'hRQxC':_0x222b8f(0x311),'YFQfJ':_0x222b8f(0x29f),'UBcvl':'checklist','lDQLH':'offset','tjYII':_0x222b8f(0x270),'RwTnC':'ranger\x20resume','XtWMT':'feature\x20resume','wUjEd':'ranger\x20feature\x20add-checklist-item','nmrdD':function(_0x572fad,_0x26d55c,_0x52e791){return _0x572fad(_0x26d55c,_0x52e791);},'DzAVq':'ranger\x20feature\x20get-feedback','rWhSC':function(_0x179ed8,_0x22971a,_0x560dd6){return _0x179ed8(_0x22971a,_0x560dd6);},'RHOHN':_0x222b8f(0x30f),'tdObb':_0x222b8f(0x318),'JpfKP':function(_0x666e6e,_0x1d5e64,_0x397112){return _0x666e6e(_0x1d5e64,_0x397112);},'DfxGA':_0x222b8f(0x1a6),'LlMDL':'feature\x20restore','XETFV':'ranger\x20create','Qlrhg':function(_0xf3dc14,_0x5e9467,_0x494f86){return _0xf3dc14(_0x5e9467,_0x494f86);},'tqDne':_0x222b8f(0x287),'eouPu':_0x222b8f(0x24c),'jiOyF':'list','VrzZM':'resume\x20[id]','gzzXf':'get-feedback\x20[id]','zrhNH':'delete\x20[id]','dyxjG':'session-id','jZttS':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','ysYPv':_0x222b8f(0x200),'HZGQl':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','vKjwa':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','xDxLi':function(_0xcf7143,_0x218a9c){return _0xcf7143(_0x218a9c);},'rEbJN':function(_0x459eea,_0x5ed06a,_0x208749){return _0x459eea(_0x5ed06a,_0x208749);},'ZYYWN':_0x222b8f(0x20d),'tlsmU':function(_0x16ce5e){return _0x16ce5e();},'PAkVh':'ranger','bGaki':_0x222b8f(0x2ed),'UYFgm':'List\x20all\x20feature\x20reviews','UBjHU':_0x222b8f(0x29e),'RaqEp':_0x222b8f(0x2b6),'ynJnH':'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','FUSLC':_0x222b8f(0x19d),'vUlnZ':'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','NJMSi':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','wTWMf':'restore\x20<id>','hsdsd':_0x222b8f(0x1b0),'XrzNc':_0x222b8f(0x24e),'EEwvj':_0x222b8f(0x265),'bhlIm':_0x222b8f(0x273),'vuqxU':'Manage\x20profiles','YLhXf':'update','jiVZO':_0x222b8f(0x298),'vPrCY':'Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','rYNKA':_0x222b8f(0x1c1),'gdbFD':'add\x20env\x20<env-name>','kLMcU':'Documentation:\x0a','PQWjL':_0x222b8f(0x2ae)};return _0x9e9eba['vwHpG'](_0x123389,_0x4b13fe??process[_0x222b8f(0x2fa)]['slice'](0x2))[_0x222b8f(0x2fe)](_0x9e9eba['PAkVh'])[_0x222b8f(0x33a)](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command'](_0x9e9eba['bGaki'],'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios',_0x2a22f6=>{const _0x2bc5ae=_0x222b8f;return _0x2a22f6['positional'](_0x9e9eba[_0x2bc5ae(0x2c6)],{'type':_0x9e9eba[_0x2bc5ae(0x2e8)],'description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x9e9eba['FLqPl'],{'type':_0x9e9eba['fmfiS'],'alias':'d','description':'Feature\x20review\x20description'})[_0x2bc5ae(0x2cb)](_0x9e9eba[_0x2bc5ae(0x250)],{'type':'array','alias':'c','description':_0x9e9eba['ABkVC']})['option']('checklist',{'type':_0x2bc5ae(0x2f5),'hidden':!![]});},async _0x4e3137=>{const _0x411985=_0x222b8f;if(!_0x4e3137[_0x411985(0x1e7)]){console[_0x411985(0x32f)](_0x9e9eba['ayxXJ']+_0x411985(0x2b4)),process['exit'](0x1);return;}_0x9e9eba[_0x411985(0x35c)](warnFlagRenamed,_0x411985(0x272),_0x9e9eba[_0x411985(0x306)],'--scenario');const _0x875e69=_0x4e3137['scenario']||_0x4e3137[_0x411985(0x216)];await _0x9e9eba['tVcLU'](withTelemetry,_0x411985(0x1a2),()=>featureCreate(_0x4e3137[_0x411985(0x1e7)],{'description':_0x4e3137['description'],'scenarios':_0x875e69}));})[_0x222b8f(0x271)](_0x222b8f(0x31e),_0x9e9eba['UYFgm'],_0x13b9dd=>{const _0x4a8c36=_0x222b8f;return _0x13b9dd['option'](_0x9e9eba[_0x4a8c36(0x30a)],{'type':_0x9e9eba[_0x4a8c36(0x276)],'description':_0x9e9eba[_0x4a8c36(0x2ef)]})[_0x4a8c36(0x2cb)](_0x9e9eba['EAthy'],{'type':_0x9e9eba[_0x4a8c36(0x1e5)],'alias':'l','description':_0x9e9eba['PLUqF'],'default':0xa})['option']('offset',{'type':_0x4a8c36(0x362),'alias':'o','description':_0x9e9eba[_0x4a8c36(0x22b)],'default':0x0})[_0x4a8c36(0x2cb)](_0x9e9eba[_0x4a8c36(0x208)],{'type':'boolean','alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x27b1e7=>{const _0x5467df=_0x222b8f;await withTelemetry(_0x5467df(0x31e),()=>featureList({'currentBranch':_0x27b1e7['current-branch'],'limit':_0x27b1e7[_0x5467df(0x34b)],'offset':_0x27b1e7['offset'],'includeDeleted':_0x27b1e7[_0x5467df(0x28c)]}));})[_0x222b8f(0x271)](_0x9e9eba['UBjHU'],_0x222b8f(0x2f1),_0xfe18a=>{const _0x3fe88f=_0x222b8f;return _0xfe18a['positional']('id',{'type':_0x9e9eba['fmfiS'],'description':_0x3fe88f(0x207)});},async _0x3f69d4=>{const _0xef27a6=_0x222b8f;await _0x9e9eba[_0xef27a6(0x25e)](withTelemetry,'show',()=>featureShow(_0x3f69d4['id']));})['command']('resume\x20[id]',_0x222b8f(0x304),_0x24ef35=>{const _0xd39950=_0x222b8f;return _0x24ef35['positional']('id',{'type':_0xd39950(0x27a),'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x4ff6c1=>{const _0x23349f=_0x222b8f;await _0x9e9eba[_0x23349f(0x25e)](withTelemetry,'resume',()=>featureResume(_0x4ff6c1['id']));})[_0x222b8f(0x271)](_0x9e9eba[_0x222b8f(0x35b)],_0x222b8f(0x32d),_0x38d937=>{const _0x1660a4=_0x222b8f;return _0x38d937[_0x1660a4(0x1cf)](_0x1660a4(0x27b),{'type':'string','description':_0x9e9eba['kJYBs'],'demandOption':!![]})[_0x1660a4(0x2cb)]('id',{'type':_0x9e9eba['fmfiS'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x1eb7c5=>{const _0x347ed2=_0x222b8f;await _0x9e9eba['GpxWB'](withTelemetry,_0x347ed2(0x1d8),()=>featureAddScenario(_0x1eb7c5['description'],_0x1eb7c5['id']));})[_0x222b8f(0x271)](_0x222b8f(0x2b0),_0x9e9eba['ynJnH'],_0x534d59=>{const _0x12b6b1=_0x222b8f;return _0x534d59['positional'](_0x12b6b1(0x27b),{'type':_0x12b6b1(0x27a),'description':_0x9e9eba['RWLYp'],'demandOption':!![]})['option'](_0x9e9eba['vvLIZ'],{'type':_0x9e9eba[_0x12b6b1(0x1e5)],'description':_0x12b6b1(0x1ba),'demandOption':!![]})[_0x12b6b1(0x2cb)]('id',{'type':_0x9e9eba['fmfiS'],'description':_0x9e9eba[_0x12b6b1(0x1fc)]});},async _0xcf2809=>{const _0x371df6=_0x222b8f;await _0x9e9eba[_0x371df6(0x246)](withTelemetry,'edit-scenario',()=>featureEditScenario(_0xcf2809[_0x371df6(0x27b)],{'id':_0xcf2809['id'],'scenario':_0xcf2809['scenario']}));})['command'](_0x9e9eba['FUSLC'],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x12cffd=>{const _0x55fe93=_0x222b8f;return _0x12cffd[_0x55fe93(0x1cf)]('id',{'type':_0x9e9eba['fmfiS'],'description':_0x9e9eba['Htdpn']})['option']('exclude-scenario',{'type':_0x9e9eba['etGmD'],'description':_0x55fe93(0x283)})['option'](_0x9e9eba[_0x55fe93(0x2a7)],{'type':_0x9e9eba['AsvKF'],'description':_0x55fe93(0x1e3),'default':![]});},async _0x2c81f5=>{const _0xc1c16f=_0x222b8f,_0x48c3ba=_0x2c81f5['exclude-scenario'],_0x49c1f2=_0x48c3ba?_0x48c3ba['map'](_0x5d139f=>Number(_0x5d139f)):undefined;await withTelemetry('report',()=>featureReportPrDescription(_0x2c81f5['id'],{'excludeScenarios':_0x49c1f2,'json':_0x2c81f5[_0xc1c16f(0x289)]}));})[_0x222b8f(0x271)](_0x222b8f(0x2a2),_0x9e9eba['vUlnZ'],_0x5418ed=>{const _0xd1613=_0x222b8f;return _0x5418ed[_0xd1613(0x1cf)]('id',{'type':_0x9e9eba['fmfiS'],'description':_0xd1613(0x218)});},async _0x589916=>{const _0x75cacb=_0x222b8f;await _0x9e9eba[_0x75cacb(0x1f0)](withTelemetry,_0x75cacb(0x244),()=>featureGetReview(_0x589916['id']));})[_0x222b8f(0x271)](_0x9e9eba[_0x222b8f(0x1fe)],_0x9e9eba[_0x222b8f(0x30d)],_0x11db0a=>{const _0x394a0a=_0x222b8f;return _0x11db0a['positional']('id',{'type':_0x9e9eba[_0x394a0a(0x2e8)],'description':_0x9e9eba['Htdpn']});},async _0x24c7be=>{await withTelemetry('delete',()=>featureDelete(_0x24c7be['id']));})['command'](_0x9e9eba[_0x222b8f(0x1b5)],_0x9e9eba[_0x222b8f(0x2bf)],_0x409302=>{const _0x461b48=_0x222b8f;return _0x409302[_0x461b48(0x1cf)]('id',{'type':_0x9e9eba['fmfiS'],'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x22bd36=>{const _0x512eda=_0x222b8f;await withTelemetry(_0x9e9eba[_0x512eda(0x1f2)],()=>featureRestore(_0x22bd36['id']));})[_0x222b8f(0x271)](_0x222b8f(0x277),_0x222b8f(0x1b4),_0x900fa4=>{const _0x1fb544=_0x222b8f,_0x45d483={'AVUWK':'string','Mlkuy':_0x1fb544(0x236),'TIKpX':'Skip\x20authentication','AJtpR':_0x9e9eba[_0x1fb544(0x300)],'iWesx':_0x9e9eba['AsvKF'],'poCRp':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','qpdfy':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','SossW':'opencode','XJTSo':_0x9e9eba[_0x1fb544(0x329)],'RqWOP':_0x9e9eba[_0x1fb544(0x2de)],'vUrYf':_0x1fb544(0x1b2),'kJVbN':_0x1fb544(0x1e9),'Qqgnt':function(_0x1609c4,_0x559c7d,_0x5a8959){const _0x23fd08=_0x1fb544;return _0x9e9eba[_0x23fd08(0x1f0)](_0x1609c4,_0x559c7d,_0x5a8959);},'qEzRR':function(_0x4f9456,_0x160816,_0x2978db){return _0x4f9456(_0x160816,_0x2978db);},'jsruS':_0x9e9eba[_0x1fb544(0x259)],'mLrHq':_0x9e9eba[_0x1fb544(0x2ca)],'EVetv':_0x9e9eba['Faiib'],'oAFnT':'setup:skills','akBdA':_0x1fb544(0x21b),'AcGAx':function(_0x527e0b,_0x40dfdf){return _0x527e0b!==_0x40dfdf;},'oshqg':function(_0xc9f96f,_0x4f3a1f){const _0x391bcd=_0x1fb544;return _0x9e9eba[_0x391bcd(0x1a8)](_0xc9f96f,_0x4f3a1f);},'pqzhz':function(_0x3c4518,_0x43e1c3,_0x31125b){return _0x9e9eba['tVcLU'](_0x3c4518,_0x43e1c3,_0x31125b);},'jwtLt':_0x9e9eba['owElY']};return _0x900fa4[_0x1fb544(0x33a)]('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')['positional'](_0x1fb544(0x1c4),{'type':'string','description':_0x1fb544(0x352)})[_0x1fb544(0x271)]('all','Run\x20full\x20interactive\x20setup',_0x1910b5=>{const _0x31a1bf=_0x1fb544;return _0x1910b5[_0x31a1bf(0x2cb)](_0x31a1bf(0x307),{'type':_0x45d483['AVUWK'],'description':_0x31a1bf(0x239)})[_0x31a1bf(0x2cb)](_0x45d483['Mlkuy'],{'type':_0x31a1bf(0x2e6),'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x31a1bf(0x2cb)]('skip-auth',{'type':'boolean','description':_0x45d483['TIKpX'],'default':![]})[_0x31a1bf(0x2cb)](_0x45d483['AJtpR'],{'type':_0x45d483[_0x31a1bf(0x1c0)],'description':_0x31a1bf(0x1cd),'default':![]})['option'](_0x31a1bf(0x1de),{'type':_0x31a1bf(0x27a),'choices':['user'],'hidden':!![],'description':_0x31a1bf(0x346)})['option']('url',{'type':'string','description':_0x45d483['poCRp']})[_0x31a1bf(0x2cb)]('force',{'type':_0x45d483[_0x31a1bf(0x1c0)],'description':_0x45d483['qpdfy'],'default':![]})['option'](_0x45d483['SossW'],{'type':_0x45d483[_0x31a1bf(0x1c0)],'description':_0x45d483['XJTSo'],'default':![]})[_0x31a1bf(0x2cb)](_0x31a1bf(0x285),{'type':_0x45d483[_0x31a1bf(0x1c0)],'description':_0x45d483[_0x31a1bf(0x254)],'default':![]})[_0x31a1bf(0x2cb)](_0x31a1bf(0x1e9),{'type':'boolean','description':_0x45d483['vUrYf'],'default':![]})['option'](_0x31a1bf(0x2d9),{'type':_0x31a1bf(0x2e6),'description':_0x31a1bf(0x354),'default':![]});},async _0x404e5a=>{const _0x427704=_0x1fb544;(_0x404e5a[_0x45d483[_0x427704(0x223)]]||_0x404e5a[_0x427704(0x2d9)])&&await withTelemetry(_0x427704(0x1e9),()=>mcpBootstrap()),await _0x45d483[_0x427704(0x291)](withTelemetry,_0x427704(0x209),_0x3a6327=>start(_0x404e5a['token'],{'skipChromium':_0x404e5a[_0x427704(0x236)],'skipAuth':_0x404e5a['skip-auth'],'withDeps':_0x404e5a[_0x427704(0x2c2)],'scope':_0x404e5a[_0x427704(0x1de)],'url':_0x404e5a['url'],'force':_0x404e5a['force'],'opencode':_0x404e5a[_0x427704(0x19b)],'allowInsecureLocalhost':_0x404e5a[_0x427704(0x285)]},_0x3a6327));})[_0x1fb544(0x271)](_0x1fb544(0x357),_0x9e9eba[_0x1fb544(0x1e2)],_0x197055=>{const _0x100fc7=_0x1fb544;return _0x197055[_0x100fc7(0x2cb)](_0x100fc7(0x2c2),{'type':_0x100fc7(0x2e6),'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]});},async _0x3780eb=>{await _0x45d483['qEzRR'](withTelemetry,_0x45d483['jsruS'],()=>ensureChromium(_0x3780eb['with-deps']));})['command'](_0x1fb544(0x265),'Authenticate\x20with\x20Ranger',_0x562fc7=>{const _0x588683=_0x1fb544;return _0x562fc7[_0x588683(0x2cb)](_0x588683(0x307),{'type':_0x9e9eba[_0x588683(0x2e8)],'description':_0x9e9eba[_0x588683(0x1da)]})['option'](_0x588683(0x2d9),{'type':_0x588683(0x2e6),'description':_0x9e9eba[_0x588683(0x344)],'default':![]});},async _0x385118=>{const _0x251d1c={'BPWZI':function(_0x402355,_0x337f08){return _0x9e9eba['vwHpG'](_0x402355,_0x337f08);}};await withTelemetry('setup:login',async()=>{const _0x5eb9fd=_0x4e73;if(_0x385118['mcp']){await mcpBootstrap();const _0x19fe34=await refreshCliToken();if(!_0x19fe34)throw new Error('Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.');const _0x36e111=await _0x251d1c['BPWZI'](getCurrentUser,_0x19fe34);if(!_0x36e111['success'])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x36e111['error']);console['log']('✓\x20Authenticated\x20to\x20'+_0x36e111[_0x5eb9fd(0x2f4)][_0x5eb9fd(0x1c9)]);return;}await _0x251d1c[_0x5eb9fd(0x1c8)](authenticate,_0x385118['token']);});})['command'](_0x9e9eba['OXEAx'],'Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x52b356=>{const _0x6fd2de=_0x1fb544;return _0x52b356['option'](_0x45d483[_0x6fd2de(0x1f6)],{'type':_0x45d483[_0x6fd2de(0x356)],'choices':['user',_0x6fd2de(0x206)],'description':_0x45d483['EVetv']})['option'](_0x45d483[_0x6fd2de(0x1c7)],{'type':'boolean','description':_0x6fd2de(0x19e),'default':![]});},async _0x4335b1=>{const _0x1626c6={'Krfkq':function(_0x3d11ea,_0x96b19f){return _0x3d11ea(_0x96b19f);},'gWZRv':function(_0x42e196,_0x2e620f,_0x5bffca){return _0x42e196(_0x2e620f,_0x5bffca);},'jCmRo':'opencode'};await withTelemetry(_0x45d483['oAFnT'],async()=>{const _0x30ee2b=_0x4e73,_0x5b071f=_0x4335b1['scope'];if(_0x4335b1['opencode']){const _0x29fe87=await _0x1626c6['Krfkq'](ensureOpencodePluginConfig,_0x5b071f);_0x29fe87&&await _0x1626c6[_0x30ee2b(0x24f)](installSkill,_0x30ee2b(0x1dd),{'level':_0x29fe87['scope'],'cliVersion':getCurrentVersion(),'platform':_0x1626c6[_0x30ee2b(0x2fd)]});}else await ensureClaudePlugin(_0x5b071f),await ensureClaudeSkills(_0x5b071f);});})['command']('profiles',_0x1fb544(0x343),_0x33b90a=>{const _0x390295=_0x1fb544;return _0x33b90a[_0x390295(0x2cb)]('scope',{'type':_0x45d483['AVUWK'],'choices':[_0x390295(0x2f4)],'description':_0x390295(0x346)})[_0x390295(0x2cb)](_0x390295(0x2ff),{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app'})['option'](_0x390295(0x286),{'type':'boolean','description':_0x45d483[_0x390295(0x257)],'default':![]})[_0x390295(0x2cb)]('force',{'type':_0x45d483[_0x390295(0x1c0)],'description':_0x45d483[_0x390295(0x292)],'default':![]})['option']('allow-insecure-localhost',{'type':_0x45d483['iWesx'],'description':_0x45d483['RqWOP'],'default':![]});},async _0x3dd7f4=>{const _0x1fde0c=_0x1fb544,_0x9f0600=_0x3dd7f4['scope'];_0x45d483[_0x1fde0c(0x1f8)](_0x9f0600,undefined)&&_0x9f0600!==_0x1fde0c(0x2f4)&&(console['error'](_0x45d483[_0x1fde0c(0x29d)]('ranger\x20setup\x20profiles\x20--scope='+_0x9f0600+_0x1fde0c(0x241)+'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.')),process[_0x1fde0c(0x2b5)](0x1)),await _0x45d483['pqzhz'](withTelemetry,_0x45d483['jwtLt'],_0x11eaff=>ensureLocalEnv({'url':_0x3dd7f4[_0x1fde0c(0x2ff)],'force':_0x3dd7f4['force'],'allowInsecureLocalhost':_0x3dd7f4[_0x1fde0c(0x285)],'scope':'user'},_0x11eaff));})[_0x1fb544(0x2cb)](_0x9e9eba[_0x1fb544(0x2a0)],{'type':'boolean','description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option']('scope',{'type':'string','choices':[_0x1fb544(0x2f4)],'hidden':!![],'description':_0x9e9eba[_0x1fb544(0x2b1)]})['option'](_0x9e9eba[_0x1fb544(0x274)],{'type':_0x9e9eba[_0x1fb544(0x2e8)],'description':_0x9e9eba['DwjIf']})['option'](_0x9e9eba['vwQmz'],{'type':_0x9e9eba['AsvKF'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x9e9eba['XFNdn'],{'type':_0x9e9eba['AsvKF'],'description':_0x1fb544(0x19e),'default':![]})[_0x1fb544(0x2cb)](_0x1fb544(0x285),{'type':_0x9e9eba[_0x1fb544(0x276)],'description':_0x1fb544(0x205),'default':![]})['option'](_0x9e9eba['PpWrp'],{'type':_0x9e9eba['AsvKF'],'description':_0x9e9eba[_0x1fb544(0x2ea)],'default':![]})['option'](_0x9e9eba['oCjcQ'],{'type':_0x1fb544(0x2e6),'description':_0x9e9eba[_0x1fb544(0x224)],'default':![]})['option'](_0x9e9eba[_0x1fb544(0x300)],{'type':_0x1fb544(0x2e6),'description':_0x9e9eba['duCbL'],'default':![]})['option'](_0x1fb544(0x307),{'type':_0x9e9eba[_0x1fb544(0x2e8)],'hidden':!![],'description':_0x9e9eba['SZQJQ']});},async _0x5d2422=>{const _0x1619e0=_0x222b8f,_0x2a1673=_0x5d2422['tokenOrSubcommand'],_0x5c7a57=_0x5d2422['token']??_0x2a1673;_0x5d2422[_0x9e9eba['PpWrp']]&&await withTelemetry(_0x9e9eba['PpWrp'],()=>mcpBootstrap()),await withTelemetry(_0x9e9eba[_0x1619e0(0x34a)],_0x5e61c3=>start(_0x5c7a57,{'skipChromium':_0x5d2422[_0x1619e0(0x236)],'skipAuth':_0x5d2422['skip-auth'],'withDeps':_0x5d2422[_0x1619e0(0x2c2)],'scope':_0x5d2422['scope'],'url':_0x5d2422[_0x1619e0(0x2ff)],'force':_0x5d2422[_0x1619e0(0x2d6)],'opencode':_0x5d2422[_0x1619e0(0x19b)],'allowInsecureLocalhost':_0x5d2422[_0x1619e0(0x285)]},_0x5e61c3));})[_0x222b8f(0x271)](_0x9e9eba[_0x222b8f(0x35a)],![],_0x189f14=>{const _0x31c36b=_0x222b8f;return _0x189f14['positional'](_0x9e9eba[_0x31c36b(0x297)],{'type':'string','description':_0x9e9eba[_0x31c36b(0x35e)],'demandOption':!![]})['option'](_0x9e9eba['IjLal'],{'type':_0x31c36b(0x27a),'description':_0x9e9eba[_0x31c36b(0x23b)]})['option'](_0x9e9eba[_0x31c36b(0x312)],{'type':_0x9e9eba['fmfiS'],'description':_0x31c36b(0x2c1)})[_0x31c36b(0x2cb)](_0x9e9eba['rCoHU'],{'type':_0x9e9eba[_0x31c36b(0x276)],'description':_0x9e9eba['PqJtw'],'default':![]});},async _0xf76b2d=>{const _0x15002d=_0x222b8f;await withTelemetry(_0x9e9eba[_0x15002d(0x302)],_0x520f64=>setupCi(_0xf76b2d[_0x15002d(0x307)],{'profile':_0xf76b2d[_0x15002d(0x2ba)],'baseUrl':_0xf76b2d[_0x15002d(0x319)],'skipChromium':_0xf76b2d['skip-chromium']},_0x520f64));})['command'](_0x9e9eba[_0x222b8f(0x20c)],_0x222b8f(0x34c),()=>{},async()=>{const _0x491bc7=_0x222b8f;await _0x9e9eba[_0x491bc7(0x1f0)](withTelemetry,'login',()=>login());})['command'](_0x222b8f(0x23c),'Install\x20Ranger\x20skills',_0x10518e=>{const _0x1e7860=_0x222b8f;return _0x10518e['option'](_0x9e9eba['XFNdn'],{'type':_0x9e9eba[_0x1e7860(0x276)],'description':_0x9e9eba['CDrYe'],'default':![]})[_0x1e7860(0x2cb)](_0x1e7860(0x1de),{'type':'string','choices':[_0x1e7860(0x2f4),_0x1e7860(0x206)],'description':'Install\x20scope\x20for\x20skills'});},async _0x4485b4=>{const _0xf6e817=_0x222b8f,_0x360f14=Boolean(_0x4485b4['opencode']);await _0x9e9eba['xurCw'](withTelemetry,_0x9e9eba[_0xf6e817(0x29b)],()=>skillup({'autoInstall':_0x4485b4[_0xf6e817(0x1de)],'platform':_0x360f14?_0xf6e817(0x19b):'claude'}));})['command'](_0x222b8f(0x22c),'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{const _0x7d0f99=_0x222b8f;await _0x9e9eba['BVBGs'](withTelemetry,_0x7d0f99(0x22c),()=>clean());})['command'](['profile',_0x9e9eba['bhlIm']],_0x9e9eba['vuqxU'],_0x1ab3ba=>{const _0x483f3a=_0x222b8f,_0x2e22d7={'RiOVV':_0x9e9eba[_0x483f3a(0x2e8)],'SgGZh':_0x483f3a(0x286),'ODbSt':'boolean','QbcuF':_0x9e9eba[_0x483f3a(0x33d)],'ojDUZ':_0x9e9eba[_0x483f3a(0x2dd)],'LNBzw':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','DRfqO':_0x483f3a(0x285),'ddhou':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','DbdYt':_0x9e9eba['gnqbc'],'BxYKf':'setup-header','BSrJr':_0x483f3a(0x1b3),'eJtfb':_0x9e9eba[_0x483f3a(0x332)],'QMooX':function(_0x4d438a,_0x5b7c1a,_0x293afe){return _0x4d438a(_0x5b7c1a,_0x293afe);},'BHCHV':_0x9e9eba['kfyff'],'jNcyn':_0x9e9eba[_0x483f3a(0x2c6)],'hMnbJ':function(_0x56d37d,_0x335e7c){const _0x15c6ab=_0x483f3a;return _0x9e9eba[_0x15c6ab(0x353)](_0x56d37d,_0x335e7c);},'IdgqO':function(_0x464094,_0x155988){return _0x464094===_0x155988;},'DweqA':'not_configured','fQHvQ':'key','INvqz':_0x483f3a(0x231),'wKUkr':_0x9e9eba[_0x483f3a(0x20e)],'LZMQI':_0x483f3a(0x2ba),'BKZXu':function(_0x5967b9,_0xbfa2c8,_0x1f09ec){const _0x130a0f=_0x483f3a;return _0x9e9eba[_0x130a0f(0x204)](_0x5967b9,_0xbfa2c8,_0x1f09ec);}};return _0x1ab3ba['usage'](PROFILE_HELP)[_0x483f3a(0x271)](_0x9e9eba['KgCbI'],_0x483f3a(0x1c3),_0x40b235=>{const _0x2241a7=_0x483f3a;return _0x40b235[_0x2241a7(0x1cf)](_0x2241a7(0x27e),{'type':_0x2e22d7['RiOVV'],'description':_0x2241a7(0x1dc),'demandOption':!![]})['option']('ci',{'type':'boolean','hidden':!![],'default':![]})['option'](_0x2e22d7[_0x2241a7(0x2be)],{'type':_0x2e22d7[_0x2241a7(0x258)],'description':_0x2e22d7[_0x2241a7(0x1ef)],'default':![]})[_0x2241a7(0x2cb)]('url',{'type':_0x2241a7(0x27a),'description':_0x2e22d7['ojDUZ']})['option']('force',{'type':_0x2241a7(0x2e6),'description':_0x2e22d7[_0x2241a7(0x252)],'default':![]})[_0x2241a7(0x2cb)]('cdp-endpoint',{'type':_0x2e22d7[_0x2241a7(0x1ee)],'description':_0x2241a7(0x251)})[_0x2241a7(0x2cb)](_0x2e22d7[_0x2241a7(0x1ad)],{'type':_0x2e22d7[_0x2241a7(0x258)],'description':_0x2e22d7[_0x2241a7(0x28f)],'default':![]})['option'](_0x2e22d7['DbdYt'],{'type':_0x2e22d7['ODbSt'],'description':_0x2241a7(0x2a1),'default':![]})['option'](_0x2e22d7['BxYKf'],{'type':_0x2e22d7[_0x2241a7(0x1ee)],'array':!![],'description':_0x2241a7(0x1db)})['option'](_0x2241a7(0x1de),{'type':_0x2e22d7['RiOVV'],'choices':[_0x2241a7(0x2f4),'project'],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})[_0x2241a7(0x2cb)]('env',{'type':_0x2241a7(0x27a),'description':_0x2e22d7[_0x2241a7(0x33f)]})[_0x2241a7(0x2cb)](_0x2241a7(0x219),{'type':'boolean','alias':'y','description':_0x2e22d7[_0x2241a7(0x28e)],'default':![]});},async _0x42f379=>{const _0x284549=_0x483f3a;await _0x9e9eba[_0x284549(0x35c)](withTelemetry,_0x284549(0x240),_0x585d28=>addEnv(_0x42f379['profile-name'],{'ci':_0x42f379['ci'],'skipAuth':_0x42f379['skip-auth'],'url':_0x42f379['url'],'force':_0x42f379['force'],'cdpEndpoint':_0x42f379[_0x284549(0x2bc)],'allowInsecureLocalhost':_0x42f379['allow-insecure-localhost'],'safeMode':_0x42f379[_0x284549(0x2df)],'setupHeader':_0x42f379['setup-header'],'scope':_0x42f379['scope'],'authEnv':_0x42f379[_0x284549(0x2d2)],'yes':_0x42f379['yes']},_0x585d28),{'isElectron':_0x9e9eba['nrUpr'](Boolean,_0x42f379[_0x9e9eba[_0x284549(0x24b)]])});})['command'](_0x9e9eba[_0x483f3a(0x32c)],_0x9e9eba[_0x483f3a(0x229)],_0x3b4ec1=>{const _0x156c14=_0x483f3a;return _0x3b4ec1[_0x156c14(0x1cf)]('profile-name',{'type':_0x9e9eba['fmfiS'],'description':_0x156c14(0x28d),'demandOption':!![]});},async _0x897bf1=>{const _0x2cafa8=_0x483f3a;await withTelemetry('profile\x20use',()=>useEnv(_0x897bf1[_0x2cafa8(0x27e)]));})['command']('delete\x20<profile-name>','Delete\x20a\x20cloud\x20profile',_0x2a39ac=>{const _0x506194=_0x483f3a;return _0x2a39ac['positional']('profile-name',{'type':'string','description':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','demandOption':!![]})['option'](_0x506194(0x219),{'type':_0x2e22d7[_0x506194(0x258)],'alias':'y','description':'Skip\x20the\x20deletion\x20confirmation\x20prompt.','default':![]});},async _0x31370b=>{const _0x343aec=_0x483f3a;await _0x2e22d7['QMooX'](withTelemetry,_0x343aec(0x336),()=>deleteProfile(_0x31370b[_0x343aec(0x27e)],{'yes':_0x31370b[_0x343aec(0x219)]}));})['command'](_0x9e9eba[_0x483f3a(0x2d0)],![],_0x3442f7=>{const _0x229bbf=_0x483f3a;return _0x3442f7[_0x229bbf(0x1cf)]('profile',{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x4bea2d=>{const _0x36b5b5=_0x483f3a;await withTelemetry(_0x9e9eba[_0x36b5b5(0x2ec)],()=>authEncrypt(_0x4bea2d[_0x36b5b5(0x2ba)]));})[_0x483f3a(0x271)]('ls',_0x9e9eba[_0x483f3a(0x1d4)],()=>{},async()=>{await withTelemetry(_0x2e22d7['BHCHV'],()=>envList());})[_0x483f3a(0x271)](_0x9e9eba[_0x483f3a(0x1ab)],'Update\x20authentication\x20for\x20an\x20existing\x20profile',_0x29120a=>{const _0x3082da=_0x483f3a;return _0x29120a['positional']('profile-name',{'type':'string','description':'Name\x20of\x20the\x20profile\x20to\x20update','demandOption':!![]})[_0x3082da(0x2cb)]('allow-insecure-localhost',{'type':_0x3082da(0x2e6),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)'})[_0x3082da(0x2cb)](_0x9e9eba[_0x3082da(0x21c)],{'type':_0x9e9eba['AsvKF'],'description':_0x3082da(0x1fb)});},async _0xb9ba13=>{const _0x382003=_0x483f3a;await _0x9e9eba[_0x382003(0x25e)](withTelemetry,_0x9e9eba['nwivO'],_0x4276ab=>updateEnv(_0xb9ba13[_0x382003(0x27e)],_0x4276ab,{'allowInsecureLocalhost':_0xb9ba13[_0x382003(0x285)],'manual':_0xb9ba13[_0x382003(0x335)]}));})[_0x483f3a(0x271)](_0x9e9eba['YegPz'],![],_0x29f0ac=>{const _0x276dee=_0x483f3a;return _0x29f0ac[_0x276dee(0x1cf)](_0x2e22d7['jNcyn'],{'type':_0x276dee(0x27a),'description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0x1d3ae5=>{await withTelemetry(_0x9e9eba['DCiMg'],async()=>{const _0x540474=_0x4e73,_0xb02c75=process['env'][_0x540474(0x328)],_0x8cdb59=process['env'][_0x540474(0x19a)];_0x2e22d7[_0x540474(0x24a)](!_0xb02c75,!_0x8cdb59)&&(console[_0x540474(0x32f)]('Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.'),process['exit'](0x1));const _0x2c4e6e=_0x1d3ae5[_0x540474(0x1e7)],_0x5c0f1c=await serverSideLogin(_0x2c4e6e,{'force':!![]});_0x2e22d7['IdgqO'](_0x5c0f1c[_0x540474(0x2d7)],_0x2e22d7[_0x540474(0x34d)])&&(console[_0x540474(0x32f)](_0x540474(0x1d1)),process['exit'](0x1)),_0x2e22d7['IdgqO'](_0x5c0f1c[_0x540474(0x2d7)],'failed')&&(console['error']('Login\x20failed:\x20'+(_0x5c0f1c['error']??'unknown\x20error')),_0x5c0f1c['test_output']&&console[_0x540474(0x32f)](_0x5c0f1c[_0x540474(0x2d4)]),process[_0x540474(0x2b5)](0x1)),console['log'](_0x540474(0x1a1)+_0x2c4e6e+_0x540474(0x322));});})['command'](_0x9e9eba[_0x483f3a(0x339)],![],_0x4902c8=>{const _0x6d8d23=_0x483f3a;return _0x4902c8['positional'](_0x9e9eba[_0x6d8d23(0x1ca)],{'type':'string','description':_0x9e9eba[_0x6d8d23(0x281)]})['option'](_0x6d8d23(0x261),{'type':_0x9e9eba[_0x6d8d23(0x276)],'description':_0x6d8d23(0x305),'default':![]})[_0x6d8d23(0x2cb)]('dry-run',{'type':_0x9e9eba[_0x6d8d23(0x276)],'description':_0x9e9eba[_0x6d8d23(0x226)],'default':![]})[_0x6d8d23(0x2cb)](_0x9e9eba['ghoRu'],{'type':_0x9e9eba['AsvKF'],'alias':'y','description':_0x6d8d23(0x237),'default':![]})['option'](_0x6d8d23(0x243),{'type':_0x9e9eba['AsvKF'],'description':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','default':![]});},async _0x5c4783=>{const _0x27b5f8=_0x483f3a;await withTelemetry(_0x27b5f8(0x25b),_0x194d58=>migrateProfile({'profileName':_0x5c4783['profile-name'],'all':_0x5c4783['all'],'dryRun':_0x5c4783[_0x27b5f8(0x214)],'yes':_0x5c4783['yes'],'saveCreds':_0x5c4783[_0x27b5f8(0x243)]},_0x194d58));})['command'](_0x9e9eba[_0x483f3a(0x25c)],'Manage\x20profile\x20configuration',_0x47ad0e=>{const _0x4ad30c=_0x483f3a,_0x4405a6={'ARrEX':_0x4ad30c(0x27a),'vKDJU':_0x9e9eba['TJLtV'],'bqyfn':_0x9e9eba[_0x4ad30c(0x2b3)],'pDbuK':_0x4ad30c(0x1b7),'KSCqq':'Config\x20key\x20to\x20remove'};return _0x47ad0e[_0x4ad30c(0x33a)](PROFILE_CONFIG_HELP)[_0x4ad30c(0x271)](_0x9e9eba[_0x4ad30c(0x2f3)],_0x9e9eba['wGDGs'],_0x1058c0=>{const _0x45c2b2=_0x4ad30c;return _0x1058c0['positional'](_0x45c2b2(0x2ba),{'type':'string','description':_0x45c2b2(0x280),'demandOption':!![]})[_0x45c2b2(0x1cf)](_0x2e22d7[_0x45c2b2(0x2a4)],{'type':_0x45c2b2(0x27a),'description':_0x45c2b2(0x361),'demandOption':!![]})[_0x45c2b2(0x1cf)](_0x45c2b2(0x1ea),{'type':_0x2e22d7['RiOVV'],'description':'Config\x20value','demandOption':!![]});},async _0xf91b0f=>{const _0x3084f3=_0x4ad30c;await withTelemetry(_0x2e22d7[_0x3084f3(0x2ab)],()=>configSet(_0xf91b0f['profile'],_0xf91b0f['key'],_0xf91b0f['value']));})['command']('get\x20<profile>\x20<key>',_0x9e9eba['QviXQ'],_0x29a9aa=>{const _0x1ccf23=_0x4ad30c;return _0x29a9aa['positional']('profile',{'type':_0x4405a6[_0x1ccf23(0x2f6)],'description':_0x4405a6[_0x1ccf23(0x347)],'demandOption':!![]})['positional'](_0x4405a6['bqyfn'],{'type':_0x4405a6['ARrEX'],'description':_0x4405a6[_0x1ccf23(0x20b)],'demandOption':!![]});},async _0x3fa4c9=>{const _0x9f1170=_0x4ad30c;await withTelemetry('profile\x20config\x20get',()=>configGet(_0x3fa4c9['profile'],_0x3fa4c9[_0x9f1170(0x1b9)]));})[_0x4ad30c(0x271)]('list\x20<profile>',_0x9e9eba['yDLRB'],_0x26d617=>{const _0x31b278=_0x4ad30c;return _0x26d617[_0x31b278(0x1cf)](_0x31b278(0x2ba),{'type':_0x31b278(0x27a),'description':'Profile\x20name','demandOption':!![]});},async _0x1cf1c4=>{const _0x5f4ddb=_0x4ad30c;await withTelemetry(_0x2e22d7[_0x5f4ddb(0x303)],()=>configList(_0x1cf1c4[_0x5f4ddb(0x2ba)]));})[_0x4ad30c(0x271)]('unset\x20<profile>\x20<key>',_0x9e9eba[_0x4ad30c(0x348)],_0x471349=>{const _0x3f80d3=_0x4ad30c;return _0x471349['positional'](_0x3f80d3(0x2ba),{'type':'string','description':_0x4405a6[_0x3f80d3(0x347)],'demandOption':!![]})[_0x3f80d3(0x1cf)](_0x4405a6['bqyfn'],{'type':_0x4405a6[_0x3f80d3(0x2f6)],'description':_0x4405a6['KSCqq'],'demandOption':!![]});},async _0x30e486=>{const _0x15a052=_0x4ad30c;await _0x2e22d7['QMooX'](withTelemetry,_0x15a052(0x228),()=>configUnset(_0x30e486['profile'],_0x30e486['key']));})['command'](_0x9e9eba['pyHYE'],_0x9e9eba[_0x4ad30c(0x1a4)],_0x371fc6=>{const _0x4715be=_0x4ad30c;return _0x371fc6['positional'](_0x2e22d7['LZMQI'],{'type':_0x4715be(0x27a),'description':'Profile\x20name','demandOption':!![]});},async _0x14fce4=>{const _0x18fc73=_0x4ad30c;await _0x2e22d7['BKZXu'](withTelemetry,_0x18fc73(0x20f),()=>configReset(_0x14fce4['profile']));})['demandCommand'](0x1,_0x9e9eba[_0x4ad30c(0x1f7)]);})[_0x483f3a(0x1bb)](0x1,_0x9e9eba['tIjFM']);})['command'](_0x9e9eba['rhSnZ'],_0x222b8f(0x2a5),()=>{},async()=>{await _0x9e9eba['IzjQP'](withTelemetry,_0x9e9eba['rhSnZ'],()=>status());})[_0x222b8f(0x271)](_0x9e9eba['YLhXf'],_0x222b8f(0x255),()=>{},async()=>{const _0x296548=_0x222b8f;await withTelemetry(_0x296548(0x28a),()=>update());})[_0x222b8f(0x271)]('print-access-token',_0x9e9eba[_0x222b8f(0x210)],()=>{},async()=>{await withTelemetry('print-access-token',async()=>{const _0x2352d0=_0x4e73,_0x1e4385=await getToken();if(!_0x1e4385)throw new Error(_0x9e9eba[_0x2352d0(0x32e)]);console['log'](_0x1e4385);});})['command']('go',_0x9e9eba[_0x222b8f(0x266)],_0x5002b2=>{const _0xc80a06=_0x222b8f;return _0x5002b2['option'](_0x9e9eba[_0xc80a06(0x1bf)],{'type':'string','description':'Optional\x20feature\x20ID'})['option'](_0x9e9eba['IjLal'],{'type':_0x9e9eba[_0xc80a06(0x2e8)],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)'})[_0xc80a06(0x2cb)](_0x9e9eba['KNfIT'],{'type':_0x9e9eba[_0xc80a06(0x2e8)],'description':_0x9e9eba[_0xc80a06(0x351)]})['option'](_0xc80a06(0x282),{'type':_0x9e9eba['fmfiS'],'description':'Start\x20a\x20fresh\x20one-scenario\x20feature\x20review\x20from\x20this\x20text\x20and\x20verify\x20it.\x20To\x20re-verify,\x20use\x20--scenario;\x20to\x20extend\x20the\x20active\x20review,\x20use\x20`ranger\x20add-scenario`.'})['option'](_0xc80a06(0x1e4),{'type':_0x9e9eba[_0xc80a06(0x1e5)],'description':'Scenario\x20index\x20(1-based)'})['option'](_0x9e9eba['Qdgaw'],{'type':_0xc80a06(0x27a),'description':_0x9e9eba[_0xc80a06(0x279)]})['option'](_0xc80a06(0x319),{'type':_0xc80a06(0x27a),'description':_0xc80a06(0x2b8)})['option']('model',{'type':_0x9e9eba[_0xc80a06(0x2e8)],'description':_0x9e9eba[_0xc80a06(0x1ac)]})['option'](_0x9e9eba[_0xc80a06(0x1a3)],{'type':_0x9e9eba['AsvKF'],'description':_0x9e9eba[_0xc80a06(0x19c)],'default':![]})['option'](_0x9e9eba[_0xc80a06(0x355)],{'type':'string','array':!![],'alias':_0xc80a06(0x2fc),'description':_0xc80a06(0x2cf)})['option'](_0xc80a06(0x2c5),{'type':_0xc80a06(0x2e6),'description':_0x9e9eba['sVOeb'],'default':![]})[_0xc80a06(0x2cb)](_0x9e9eba['kUnZY'],{'type':_0x9e9eba[_0xc80a06(0x2e8)],'hidden':!![],'choices':[_0xc80a06(0x2b7),_0x9e9eba[_0xc80a06(0x2c9)],'blocked','failed',_0xc80a06(0x30b)]})['option'](_0xc80a06(0x2d3),{'type':'boolean','hidden':!![]})[_0xc80a06(0x2cb)](_0x9e9eba[_0xc80a06(0x27c)],{'type':'string','description':_0x9e9eba[_0xc80a06(0x33b)]})[_0xc80a06(0x2cb)](_0xc80a06(0x1df),{'type':_0x9e9eba['fmfiS'],'hidden':!![]})[_0xc80a06(0x2cb)](_0x9e9eba['ywEih'],{'type':_0x9e9eba['whZNy'],'hidden':!![]});},async _0x53c1e5=>{await runGoCommand(_0x53c1e5);})['command'](_0x9e9eba[_0x222b8f(0x1e1)],![],_0x51e01d=>{const _0x3a0222=_0x222b8f;return _0x51e01d[_0x3a0222(0x271)]('encrypt\x20<profile>',![],_0x435d33=>{const _0x399acb=_0x3a0222;return _0x435d33[_0x399acb(0x1cf)]('profile',{'type':_0x9e9eba[_0x399acb(0x2e8)],'description':_0x399acb(0x280),'demandOption':!![]});},async _0xcb7375=>{const _0x1bf235=_0x3a0222;warnRenamed('ranger\x20auth\x20encrypt',_0x9e9eba['sWlDV']),await _0x9e9eba['mDnYg'](authEncrypt,_0xcb7375[_0x1bf235(0x2ba)]);})[_0x3a0222(0x1bb)](0x1,_0x9e9eba[_0x3a0222(0x22a)]);},()=>{})[_0x222b8f(0x271)]('start\x20[token]',![],_0x152211=>{const _0x177c93=_0x222b8f;return _0x152211['positional'](_0x9e9eba['hXaDm'],{'type':_0x177c93(0x27a),'description':_0x9e9eba['dBurT']})[_0x177c93(0x2cb)](_0x177c93(0x236),{'type':'boolean','description':_0x9e9eba[_0x177c93(0x2e2)],'default':![]})['option'](_0x9e9eba[_0x177c93(0x2ca)],{'type':_0x9e9eba['fmfiS'],'choices':[_0x177c93(0x2f4)],'hidden':!![],'description':_0x177c93(0x346)})[_0x177c93(0x2cb)](_0x177c93(0x2ff),{'type':_0x9e9eba['fmfiS'],'description':_0x177c93(0x2f8)})[_0x177c93(0x2cb)](_0x177c93(0x2d6),{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x177c93(0x2cb)](_0x9e9eba['oCjcQ'],{'type':_0x9e9eba['AsvKF'],'description':'Skip\x20authentication','default':![]})[_0x177c93(0x2cb)](_0x9e9eba['slBcK'],{'type':_0x177c93(0x2e6),'description':_0x9e9eba[_0x177c93(0x1c2)],'default':![]});},async _0xcbe091=>{const _0x4ded09=_0x222b8f;warnRenamed(_0x9e9eba['NyBWe'],_0x9e9eba[_0x4ded09(0x27d)]),await withTelemetry(_0x9e9eba[_0x4ded09(0x34a)],_0x457740=>start(_0xcbe091[_0x4ded09(0x307)],{'skipChromium':_0xcbe091[_0x4ded09(0x236)],'skipAuth':_0xcbe091['skip-auth'],'withDeps':_0xcbe091[_0x4ded09(0x2c2)],'scope':_0xcbe091[_0x4ded09(0x1de)],'url':_0xcbe091[_0x4ded09(0x2ff)],'force':_0xcbe091['force']},_0x457740));})['command'](_0x222b8f(0x334),![],_0x5d7ee5=>{const _0x33d08d=_0x222b8f;return _0x5d7ee5[_0x33d08d(0x2cb)]('env',{'type':'string','description':_0x9e9eba[_0x33d08d(0x2c8)]})['option'](_0x9e9eba['wdhrC'],{'type':_0x9e9eba['fmfiS'],'description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})[_0x33d08d(0x2cb)](_0x9e9eba[_0x33d08d(0x2e0)],{'type':_0x33d08d(0x362),'description':_0x9e9eba['LDXMn']})[_0x33d08d(0x2cb)](_0x33d08d(0x2ba),{'type':_0x9e9eba[_0x33d08d(0x2e8)],'hidden':!![]})[_0x33d08d(0x2cb)](_0x9e9eba[_0x33d08d(0x269)],{'type':_0x9e9eba[_0x33d08d(0x2e8)],'hidden':!![]})['option'](_0x33d08d(0x1e4),{'type':_0x33d08d(0x362),'hidden':!![]})[_0x33d08d(0x2cb)](_0x9e9eba['Qdgaw'],{'type':_0x9e9eba[_0x33d08d(0x2e8)],'description':_0x9e9eba[_0x33d08d(0x279)]})[_0x33d08d(0x2cb)](_0x33d08d(0x319),{'type':'string','description':_0x9e9eba[_0x33d08d(0x310)]})[_0x33d08d(0x2cb)](_0x33d08d(0x2a3),{'type':_0x9e9eba['fmfiS'],'hidden':!![]})[_0x33d08d(0x2cb)](_0x9e9eba[_0x33d08d(0x1a3)],{'type':_0x9e9eba['AsvKF'],'hidden':!![],'default':![]})[_0x33d08d(0x2cb)]('env-var',{'type':_0x9e9eba[_0x33d08d(0x2e8)],'array':!![],'alias':_0x9e9eba['fqJBO'],'hidden':!![]})[_0x33d08d(0x2cb)](_0x9e9eba['kUnZY'],{'type':_0x33d08d(0x27a),'hidden':!![],'choices':[_0x9e9eba[_0x33d08d(0x32b)],'partial',_0x33d08d(0x2f0),_0x33d08d(0x2a6),_0x33d08d(0x30b)]});},async _0xc590f5=>{const _0x4eb57f=_0x222b8f;await _0x9e9eba[_0x4eb57f(0x204)](runGoCommand,_0xc590f5,!![]);})[_0x222b8f(0x271)](_0x9e9eba[_0x222b8f(0x21a)],![],_0x22f56e=>{const _0x2eafde=_0x222b8f;return _0x22f56e['positional'](_0x2eafde(0x225),{'type':_0x9e9eba[_0x2eafde(0x2e8)],'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x2eafde(0x2cb)]('ci',{'type':'boolean','description':_0x9e9eba['gKTER'],'default':![]})[_0x2eafde(0x2cb)](_0x9e9eba['oCjcQ'],{'type':_0x2eafde(0x2e6),'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]});},async _0x1db6bd=>{const _0x4cdb49=_0x222b8f;_0x9e9eba['GpxWB'](warnRenamed,_0x9e9eba[_0x4cdb49(0x2ce)],_0x9e9eba[_0x4cdb49(0x33e)]),await _0x9e9eba[_0x4cdb49(0x204)](withTelemetry,_0x9e9eba['ZDAyh'],_0x5d0ff3=>addEnv(_0x1db6bd['env-name'],{'ci':_0x1db6bd['ci'],'skipAuth':_0x1db6bd['skip-auth']},_0x5d0ff3));})['command'](_0x222b8f(0x2d5),![],_0x4943ac=>{const _0x66c5b9=_0x222b8f;return _0x4943ac['positional'](_0x9e9eba[_0x66c5b9(0x313)],{'type':'string','description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x10aefd=>{const _0x100c1a=_0x222b8f;_0x9e9eba[_0x100c1a(0x202)](warnRenamed,'ranger\x20use',_0x9e9eba['aBfgs']),await withTelemetry(_0x9e9eba['OSiwW'],()=>useEnv(_0x10aefd['env-name']));})[_0x222b8f(0x271)]('config',![],_0x5691b8=>{const _0x3e0b58=_0x222b8f,_0x2117a4={'rgGdQ':_0x9e9eba[_0x3e0b58(0x27c)],'JEQJq':_0x3e0b58(0x27a),'mksTc':'Environment\x20name','HjhcU':_0x9e9eba['jScwo']};return _0x5691b8[_0x3e0b58(0x271)](_0x9e9eba['guybg'],![],_0x25a8c0=>{const _0x2f4cb9=_0x3e0b58;return _0x25a8c0['positional'](_0x9e9eba[_0x2f4cb9(0x27c)],{'type':_0x9e9eba[_0x2f4cb9(0x2e8)],'description':'Environment\x20name','demandOption':!![]})['positional'](_0x9e9eba[_0x2f4cb9(0x2b3)],{'type':_0x9e9eba[_0x2f4cb9(0x2e8)],'description':_0x2f4cb9(0x361),'demandOption':!![]})['positional'](_0x9e9eba[_0x2f4cb9(0x1ec)],{'type':'string','description':_0x2f4cb9(0x2db),'demandOption':!![]});},async _0x11ece2=>{const _0x2d2de9=_0x3e0b58;warnRenamed(_0x2d2de9(0x331),_0x9e9eba[_0x2d2de9(0x1f5)]),await _0x9e9eba[_0x2d2de9(0x202)](withTelemetry,_0x9e9eba[_0x2d2de9(0x1e0)],()=>configSet(_0x11ece2['env'],_0x11ece2[_0x2d2de9(0x1b9)],_0x11ece2['value']));})[_0x3e0b58(0x271)](_0x3e0b58(0x1e8),![],_0x32ab72=>{const _0x2a3cae=_0x3e0b58;return _0x32ab72[_0x2a3cae(0x1cf)](_0x9e9eba[_0x2a3cae(0x27c)],{'type':'string','description':_0x2a3cae(0x1f1),'demandOption':!![]})[_0x2a3cae(0x1cf)](_0x2a3cae(0x1b9),{'type':_0x9e9eba['fmfiS'],'description':'Config\x20key','demandOption':!![]});},async _0x3b72c9=>{const _0x5cf94f=_0x3e0b58;warnRenamed(_0x9e9eba[_0x5cf94f(0x2a9)],_0x9e9eba['QjNXL']),await withTelemetry(_0x9e9eba[_0x5cf94f(0x26f)],()=>configGet(_0x3b72c9['env'],_0x3b72c9['key']));})[_0x3e0b58(0x271)](_0x3e0b58(0x1f3),![],_0x24e2ad=>{const _0x183d76=_0x3e0b58;return _0x24e2ad[_0x183d76(0x1cf)](_0x2117a4[_0x183d76(0x2f9)],{'type':_0x2117a4[_0x183d76(0x1ae)],'description':_0x2117a4[_0x183d76(0x31f)],'demandOption':!![]});},async _0x1af3fb=>{const _0x386868=_0x3e0b58;_0x9e9eba['EJvFs'](warnRenamed,'ranger\x20config\x20list',_0x9e9eba['IQqLT']),await withTelemetry(_0x9e9eba[_0x386868(0x221)],()=>configList(_0x1af3fb[_0x386868(0x2d2)]));})[_0x3e0b58(0x271)]('unset\x20<env>\x20<key>',![],_0x5354ae=>{const _0x4435f4=_0x3e0b58;return _0x5354ae[_0x4435f4(0x1cf)](_0x9e9eba[_0x4435f4(0x27c)],{'type':'string','description':'Environment\x20name','demandOption':!![]})[_0x4435f4(0x1cf)](_0x9e9eba[_0x4435f4(0x2b3)],{'type':_0x4435f4(0x27a),'description':_0x9e9eba[_0x4435f4(0x315)],'demandOption':!![]});},async _0x55548=>{const _0x3f5446=_0x3e0b58;warnRenamed(_0x3f5446(0x2cc),_0x2117a4['HjhcU']),await withTelemetry(_0x3f5446(0x333),()=>configUnset(_0x55548['env'],_0x55548[_0x3f5446(0x1b9)]));})[_0x3e0b58(0x1bb)](0x1,_0x9e9eba['BUUrx']);})[_0x222b8f(0x271)]('env',![],_0x4b4a37=>{const _0x225027=_0x222b8f,_0x58ec4c={'UDGGR':'env-name','rJBWs':function(_0x405058,_0x24c8e1,_0x35981b){return _0x405058(_0x24c8e1,_0x35981b);},'jjBmf':_0x9e9eba['BOddR'],'mBVYS':'ranger\x20profile\x20update'};return _0x4b4a37[_0x225027(0x271)]('ls',![],()=>{},async()=>{const _0x4408ab=_0x225027;_0x9e9eba[_0x4408ab(0x2af)](warnRenamed,_0x9e9eba['scqTX'],_0x4408ab(0x232)),await withTelemetry(_0x9e9eba[_0x4408ab(0x22f)],()=>envList());})['command']('update\x20<env-name>',![],_0x50c1e4=>{return _0x50c1e4['positional'](_0x58ec4c['UDGGR'],{'type':'string','description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x278d5f=>{const _0x57be5f=_0x225027;_0x58ec4c[_0x57be5f(0x1cc)](warnRenamed,_0x58ec4c[_0x57be5f(0x1eb)],_0x58ec4c['mBVYS']),await withTelemetry('env\x20update',_0x358cc8=>updateEnv(_0x278d5f['env-name'],_0x358cc8));})[_0x225027(0x1bb)](0x1,_0x9e9eba[_0x225027(0x338)]);})['command'](_0x9e9eba['tmgnL'],![],_0x344a28=>{const _0x2dd8d6=_0x222b8f,_0x2c29e6={'ROBIY':function(_0x2e29ae,_0x43b559,_0x1b4066){return _0x2e29ae(_0x43b559,_0x1b4066);},'DdNJN':_0x9e9eba['XETFV'],'xBSke':function(_0x38ea10,_0xeebc8d,_0x1d6010,_0x1d25b9){return _0x9e9eba['VOxeP'](_0x38ea10,_0xeebc8d,_0x1d6010,_0x1d25b9);},'BGNhv':_0x9e9eba[_0x2dd8d6(0x306)],'xdipb':function(_0x135aac,_0xb6ae94,_0x479a1a){return _0x9e9eba['Qlrhg'](_0x135aac,_0xb6ae94,_0x479a1a);},'bmGEL':'feature\x20create','aBBig':_0x9e9eba['tqDne'],'PZUkH':_0x9e9eba[_0x2dd8d6(0x29c)],'ywTYa':function(_0x1fe201,_0x37634c,_0x1bf96f){const _0x8d0562=_0x2dd8d6;return _0x9e9eba[_0x8d0562(0x202)](_0x1fe201,_0x37634c,_0x1bf96f);},'RJUNa':'feature\x20show','YDZmQ':_0x2dd8d6(0x27b),'DQTRR':'string'};return _0x344a28['command'](_0x2dd8d6(0x2ed),![],_0x28f7aa=>{const _0x278ea6=_0x2dd8d6;return _0x28f7aa[_0x278ea6(0x1cf)](_0x9e9eba['oLPuN'],{'type':'string','description':_0x278ea6(0x368),'demandOption':!![]})['option']('description',{'type':_0x278ea6(0x27a),'alias':'d','description':_0x9e9eba['YFQfJ']})[_0x278ea6(0x2cb)](_0x9e9eba[_0x278ea6(0x238)],{'type':_0x278ea6(0x2f5),'alias':'c','description':_0x9e9eba['ABkVC']})[_0x278ea6(0x2cb)](_0x9e9eba[_0x278ea6(0x250)],{'type':_0x9e9eba[_0x278ea6(0x1fa)],'hidden':!![]});},async _0xe104c2=>{const _0x69fe58=_0x2dd8d6;_0x2c29e6[_0x69fe58(0x342)](warnRenamed,'ranger\x20feature\x20create',_0x2c29e6[_0x69fe58(0x31c)]),_0x2c29e6[_0x69fe58(0x211)](warnFlagRenamed,_0x2c29e6['DdNJN'],_0x2c29e6['BGNhv'],'--scenario');const _0x2a8a60=_0xe104c2[_0x69fe58(0x1e4)]||_0xe104c2[_0x69fe58(0x216)];await _0x2c29e6['xdipb'](withTelemetry,_0x2c29e6['bmGEL'],()=>featureCreate(_0xe104c2[_0x69fe58(0x1e7)],{'description':_0xe104c2['description'],'scenarios':_0x2a8a60}));})[_0x2dd8d6(0x271)](_0x9e9eba[_0x2dd8d6(0x222)],![],_0x591dc7=>{const _0xf9089c=_0x2dd8d6;return _0x591dc7['option'](_0x9e9eba['sLcqU'],{'type':_0x9e9eba['AsvKF'],'description':_0xf9089c(0x264)})['option'](_0x9e9eba[_0xf9089c(0x245)],{'type':'number','alias':'l','description':_0xf9089c(0x1be),'default':0xa})[_0xf9089c(0x2cb)](_0x9e9eba[_0xf9089c(0x1f9)],{'type':_0xf9089c(0x362),'alias':'o','description':_0xf9089c(0x233),'default':0x0})['option'](_0x9e9eba[_0xf9089c(0x208)],{'type':_0x9e9eba[_0xf9089c(0x276)],'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x256bf4=>{const _0x2558dc=_0x2dd8d6;warnRenamed(_0x2c29e6[_0x2558dc(0x30c)],_0x2c29e6[_0x2558dc(0x284)]),await _0x2c29e6['xdipb'](withTelemetry,'feature\x20list',()=>featureList({'currentBranch':_0x256bf4[_0x2558dc(0x267)],'limit':_0x256bf4[_0x2558dc(0x34b)],'offset':_0x256bf4[_0x2558dc(0x220)],'includeDeleted':_0x256bf4[_0x2558dc(0x28c)]}));})['command']('show\x20[id]',![],_0x483e06=>{const _0x108e99=_0x2dd8d6;return _0x483e06['positional']('id',{'type':_0x9e9eba[_0x108e99(0x2e8)],'description':_0x108e99(0x207)});},async _0x3e3411=>{const _0x27e0ac=_0x2dd8d6;warnRenamed('ranger\x20feature\x20show',_0x27e0ac(0x1aa)),await _0x2c29e6[_0x27e0ac(0x1d2)](withTelemetry,_0x2c29e6[_0x27e0ac(0x350)],()=>featureShow(_0x3e3411['id']));})[_0x2dd8d6(0x271)](_0x9e9eba['VrzZM'],![],_0x3e9d79=>{const _0x406bd0=_0x2dd8d6;return _0x3e9d79[_0x406bd0(0x1cf)]('id',{'type':_0x406bd0(0x27a),'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x4d57f4=>{const _0x397bf0=_0x2dd8d6;warnRenamed(_0x9e9eba['tjYII'],_0x9e9eba[_0x397bf0(0x230)]),await withTelemetry(_0x9e9eba['XtWMT'],()=>featureResume(_0x4d57f4['id']));})[_0x2dd8d6(0x271)](_0x2dd8d6(0x294),![],_0xc90c1a=>{const _0x5db96e=_0x2dd8d6;return _0xc90c1a['positional'](_0x2c29e6[_0x5db96e(0x296)],{'type':_0x2c29e6[_0x5db96e(0x2e7)],'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':_0x2c29e6[_0x5db96e(0x2e7)],'description':_0x5db96e(0x218)});},async _0x5add5b=>{const _0x2fbf82=_0x2dd8d6;warnRenamed(_0x9e9eba[_0x2fbf82(0x2da)],_0x2fbf82(0x249)),await _0x9e9eba['nmrdD'](withTelemetry,'feature\x20add-checklist-item',()=>featureAddScenario(_0x5add5b[_0x2fbf82(0x27b)],_0x5add5b['id']));})[_0x2dd8d6(0x271)](_0x9e9eba[_0x2dd8d6(0x2ee)],![],_0x4bdc0b=>{return _0x4bdc0b['positional']('id',{'type':_0x2c29e6['DQTRR'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x2ffbaa=>{const _0x366e3b=_0x2dd8d6;_0x9e9eba['EJvFs'](warnRenamed,_0x9e9eba[_0x366e3b(0x25f)],'ranger\x20get-review'),await _0x9e9eba[_0x366e3b(0x1ff)](withTelemetry,_0x9e9eba[_0x366e3b(0x2dc)],()=>featureGetReview(_0x2ffbaa['id']));})[_0x2dd8d6(0x271)](_0x9e9eba['zrhNH'],![],_0x2b3df4=>{const _0x38dbaf=_0x2dd8d6;return _0x2b3df4['positional']('id',{'type':'string','description':_0x38dbaf(0x207)});},async _0x29a35b=>{const _0x19fca1=_0x2dd8d6;warnRenamed(_0x9e9eba['tdObb'],'ranger\x20delete'),await _0x9e9eba[_0x19fca1(0x32a)](withTelemetry,_0x19fca1(0x23a),()=>featureDelete(_0x29a35b['id']));})[_0x2dd8d6(0x271)](_0x2dd8d6(0x26d),![],_0x4df27e=>{const _0x12d064=_0x2dd8d6;return _0x4df27e[_0x12d064(0x1cf)]('id',{'type':'string','description':_0x12d064(0x2c0),'demandOption':!![]});},async _0x4d4acf=>{const _0x396eda=_0x2dd8d6;warnRenamed(_0x9e9eba[_0x396eda(0x1a9)],_0x396eda(0x327)),await _0x9e9eba['IzjQP'](withTelemetry,_0x9e9eba[_0x396eda(0x2c4)],()=>featureRestore(_0x4d4acf['id']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})[_0x222b8f(0x271)]('hook',![],_0x1e10d1=>{const _0x26d523=_0x222b8f,_0x53fa7b={'MurXd':_0x9e9eba['jZttS']};return _0x1e10d1['command'](_0x26d523(0x1d0),_0x26d523(0x2c3),_0x3568b4=>{const _0x58aa5a=_0x26d523;return _0x3568b4['option']('session-id',{'type':'string','description':_0x53fa7b[_0x58aa5a(0x275)]});},async _0x309e47=>{await withTelemetry('hook:enable',()=>hook('enable',_0x309e47['session-id']));})['command'](_0x9e9eba[_0x26d523(0x323)],_0x9e9eba[_0x26d523(0x212)],_0x2029c9=>{const _0x15f719=_0x26d523;return _0x2029c9['option'](_0x9e9eba[_0x15f719(0x345)],{'type':_0x9e9eba['fmfiS'],'description':_0x9e9eba[_0x15f719(0x34e)]});},async _0xee9212=>{const _0x4b2b52=_0x26d523;await withTelemetry('hook:disable',()=>hook('disable',_0xee9212[_0x4b2b52(0x2c7)]));})['option'](_0x26d523(0x1e7),{'type':_0x26d523(0x27a),'description':_0x9e9eba['vKjwa']})[_0x26d523(0x2cb)](_0x9e9eba['dyxjG'],{'type':'string','description':_0x9e9eba['jZttS']});},async _0x2b12bd=>{const _0x52b9c3=_0x222b8f;_0x2b12bd[_0x52b9c3(0x1e7)]&&await hook(_0x2b12bd[_0x52b9c3(0x1e7)],_0x2b12bd[_0x52b9c3(0x2c7)]);})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20command')['strictCommands']()[_0x222b8f(0x1ce)](async(_0x2c0fa5,_0x2ce132,_0x3549b9)=>{const _0x411ea7=_0x222b8f,_0xb831f4=_0x9e9eba[_0x411ea7(0x1d7)](sanitizeArgs,process[_0x411ea7(0x2fa)][_0x411ea7(0x2e9)](0x2)),_0xc6f6d=_0x9e9eba[_0x411ea7(0x234)](getErrorType,_0x2c0fa5,_0x2ce132);if(_0x2c0fa5&&_0x2c0fa5[_0x411ea7(0x30e)](_0x411ea7(0x33c))){const _0x4552ab=process['argv'][0x2];console['error'](_0x411ea7(0x2a8)+_0x4552ab),console['error'](_0x9e9eba[_0x411ea7(0x324)]);}else{if(_0x2c0fa5)console[_0x411ea7(0x32f)]('\x0a'+_0x2c0fa5+'\x0a');else _0x2ce132&&console['error']('\x0aError:\x20'+_0x2ce132['message']+'\x0a');}await logDesirePath({'rawCommand':_0xb831f4,'errorMessage':_0x2c0fa5||_0x2ce132?.[_0x411ea7(0x358)],'errorType':_0xc6f6d});const _0x4101f2=_0x9e9eba[_0x411ea7(0x2ac)](getCurrentCollector);_0x4101f2&&await _0x4101f2['trackCommandError'](_0x2ce132||new Error(_0x2c0fa5||'Unknown\x20error')),process['exit'](0x1);})['epilogue'](_0x9e9eba['kLMcU']+_0x222b8f(0x1d9)+_0x222b8f(0x1bc))['help']()['alias'](_0x9e9eba[_0x222b8f(0x2d8)],'h');}process['env']['NODE_ENV']!==_0x5cca4c(0x341)&&(shouldShowLegacyWarning(process[_0x5cca4c(0x2fa)])&&showLegacyDeprecationWarning(),buildParser()['parse']());
|
|
2
|
+
const _0xcffea2=_0xd8f6;(function(_0xf39ad8,_0x3e6da5){const _0x31dcfe=_0xd8f6,_0xa8bfd2=_0xf39ad8();while(!![]){try{const _0x3513f4=-parseInt(_0x31dcfe(0x2be))/0x1*(-parseInt(_0x31dcfe(0x27d))/0x2)+parseInt(_0x31dcfe(0x2e3))/0x3*(-parseInt(_0x31dcfe(0x1a1))/0x4)+-parseInt(_0x31dcfe(0x1fa))/0x5+-parseInt(_0x31dcfe(0x242))/0x6*(-parseInt(_0x31dcfe(0x289))/0x7)+parseInt(_0x31dcfe(0x1e3))/0x8*(-parseInt(_0x31dcfe(0x248))/0x9)+parseInt(_0x31dcfe(0x1a3))/0xa*(parseInt(_0x31dcfe(0x1c4))/0xb)+parseInt(_0x31dcfe(0x20f))/0xc*(-parseInt(_0x31dcfe(0x228))/0xd);if(_0x3513f4===_0x3e6da5)break;else _0xa8bfd2['push'](_0xa8bfd2['shift']());}catch(_0x3a948d){_0xa8bfd2['push'](_0xa8bfd2['shift']());}}}(_0x205e,0x530d5));function _0x205e(){const _0xbd8ee8=['ugehu','QcXsx','model','ranger\x20feature\x20create','add\x20env','profiles','80GZhCqm','cdp-endpoint','isArray','ggFQw','MhjIh','ranger\x20setup\x20profiles\x20--scope=','filter','check','name','config\x20set','ddpoa','start-path','7txPrIr','help','BkjNE','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','pxsxh','yighL','UxxWt','Update\x20authentication\x20for\x20an\x20existing\x20profile','imEEK','mcENj','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','ZKXsy','NSPmi','\x20is\x20now\x20','AcsSy','LrIIH','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','\x20INCOMPLETE','ranger\x20profile\x20config\x20unset','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','opencode','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','force','gZwUT','forEach','error','MWXpo','UdftF','EAlWD','set\x20<profile>\x20<key>\x20<value>','root','Xkhgb','blocked','CXOgl','asXbJ','TyDtH','\x20BLOCKED','epilogue','FAKKw','feature\x20resume','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','ranger\x20add-scenario','Include\x20soft-deleted\x20feature\x20reviews','IUmvO','profile\x20use','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.','yes','qFODQ','Proceed\x20even\x20when\x20the\x20selected\x20scenario\x20names\x20a\x20URL\x20on\x20a\x20different\x20origin\x20than\x20the\x20resolved\x20target','command','qCAZB','You\x20must\x20specify\x20an\x20env\x20subcommand','ZnDZX','211VkkFQX','playwright-cli','YbkXO','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','VWnKn','allow-insecure-localhost','OTHGM','toQzb','scriptName','Subcommand\x20or\x20API\x20token\x20(rngr_...)','NcDGx','ranger\x20feature\x20resume','TqXMn','profile\x20config\x20unset','pVzol','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','setup:login','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','feature','rangerwright-cli','skip-auth','setup:profiles','Skip\x20interactive\x20confirmation\x20prompts.','ranger\x20resume','mcp-bootstrap','Profile\x20name','atQvJ','xOHPw','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.','scope','FWKHX','\x0aIssues:','CYHKt','delete\x20[id]','lrxef','update\x20<profile-name>','setup-header','129cLGJJr','.ranger','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','yBDwf','CAqte','FFwnj','start','RANGER_PROFILE','IQURY','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','safe-mode','qdNgR','tIzoJ','xrUWT','xUeQL','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','Set\x20a\x20config\x20value','cQYcq','environment-variable','exclude-scenario','gcwoU','feature\x20add-checklist-item','ranger\x20profile\x20config\x20set','ruRWt','PQOiz','verified','nxUGM','debug-address-comments','XdFHQ','HMFst','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','description','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','issues','setup:deps','HZgYw','evaluationReason','bJKKR','SNupV','GqnLu','Name\x20of\x20the\x20profile\x20to\x20update','tKkIY','Ranger\x20API\x20token\x20(rngr_...)','pcGVd','hook:disable','TzMKq','hook:enable','Skip\x20the\x20deletion\x20confirmation\x20prompt.','setup-ci\x20<token>','AlyIp','iOYQX','Feature\x20review\x20ID','You\x20must\x20specify\x20a\x20profile\x20subcommand','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','VRYAD','Feature\x20review\x20ID\x20to\x20restore','ijsOm','SjDKM','fBYVU','OSmUP','summary','cbZcs','\x20FAILED','ranger\x20create','JvqpK','dry-run','ranger\x20profile\x20use','WERPp','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','demandCommand','WkbbY','MNExq','hkgYx','tokenOrSubcommand','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','FcjpA','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','MyznW','base-url','env','skip-chromium','mcp','Reason:\x20','\x20is\x20no\x20longer\x20supported.\x20','token','ISaHM','vwznP','New\x20scenario\x20description','rKySz','ranger\x20restore','UjCBc','eWWUn','urfJE','aBWDs','WfXdf','mFuCJ','number','dDYpT','HGkOs','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','Scenario\x20index\x20(1-based)','profile-name','Manage\x20profile\x20configuration','profile','nyHSD','ranger\x20profile\x20config\x20list','value','Login\x20failed:\x20','ranger\x20config\x20unset','Example:\x20ranger\x20create\x20my-feature','ndpMz','jMiDC','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','ranger','cuQyF','profile\x20config\x20get','UWBII','Environment\x20name','CiWsC','ranger\x20auth\x20encrypt','string','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','current-branch','vqedb','Config\x20value','length','profile\x20update','feature\x20create','GhgRU','UajzD','RANGER_TEST_PASSWORD','--task','with-deps','feature\x20show','QVPOw','List\x20all\x20config\x20for\x20a\x20profile','mHUXd','dmTUq','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','KsdWW','aDXjZ','OdmMd','NlDbh','120XUAPEj','mqSSr','70qQfxMi','tawau','XgXNC','profile\x20config\x20reset','config\x20unset','IXiFh','allow-url-mismatch','kYdHh','zdDrj','add-checklist-item\x20<description>','debug-outcome','include-deleted','EJkje','WSwyG','ZrCqu','save-creds','create','QlVgu','deps','unset\x20<profile>\x20<key>','VDKpY','mYfeM','Run\x20full\x20interactive\x20setup','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','NMGaB','Summary:\x20','Number\x20of\x20feature\x20reviews\x20to\x20skip','option','oztLU','fGLtz','KwcVj','ZITvY','mPBFo','538318yYlUki','.env','gfawh','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','hJDHs','--checklist','rYRyW','argv','XeILA','manual','yczED','Authenticate\x20with\x20Ranger','Install\x20OS-level\x20dependencies\x20for\x20Chromium','DHzGr','ranger\x20delete','Config\x20key\x20to\x20remove','ranger\x20feature\x20list','HRUGB','MFGaD','startsWith','PWzAS','nDXfQ','JSTKF','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','status','profile\x20ls','jlpQq','incomplete','dPpVL','OBrYE','CERjO','160BKkEuB','Optional\x20feature\x20ID','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','eeFuw','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','DnIMe','flatMap','url','scenario','zxcJe','PcgEL','Skip\x20authentication','env-name','Unknown\x20command','skillup','olSjk','list\x20<profile>','ranger\x20profile\x20encrypt-auth','uEPCg','ranger\x20config\x20list','Base\x20URL\x20of\x20the\x20running\x20app','log','2626570usWVnZ','list','Scenario\x20description','Feature\x20review\x20name','NZhmZ','ranger\x20list','evaluation','unset\x20<env>\x20<key>','\x0aUnknown\x20command:\x20','Vbrtk','Install\x20Chromium\x20browser\x20binary','JqKts','xTfCE','MErTw','get-review','yjzTR','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','feature\x20get-feedback','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','repeat','96IKRdyf','exitCode','boolean','resume\x20[id]','xGqGG','jCNNM','checklist','UEMZN','VNoHO','iTKpc','FEgmp','--scenario','MdSYC','setup:all','Feature\x20review\x20description','Dgliu','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','--notes','zNwGF','rPAju','login\x20<name>','QphAF','CmyCq','uADnQ','✓\x20Authenticated\x20to\x20','45032JvXqUU','positional','nSgxM','user','key','MmbrS','Cloud\x20profile\x20name','olyVk','vJhMJ','disable','task','env-var','bgbsT','uNdjB','map','add\x20<profile-name>','all','skills','bXiNl','offset','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','Scxej','mKblJ','ranger\x20env\x20update','\x20VERIFIED','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`.','3361866YHdFaS','Get\x20a\x20config\x20value','lgYdo','ranger\x20get-review','Ranger\x20API\x20token','pGbsZ','7569uwTRIf','DHhWr','partial','auth','array','failed','some','profile\x20config\x20set','ualfc','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','--item','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','HolbR','yPUci','update\x20<env-name>','fwXSI','delete\x20<profile-name>','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','XUkpb','json','headed','qJfWW','report\x20[id]','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.','Scenario\x20number\x20to\x20edit\x20(1-based)','EShfP','test_output','ZeiKa','project','nXcFN','exit','JJZnS','JJpyn','fDeJs','not_configured','add-scenario','Install\x20scope\x20for\x20plugin\x20and\x20skills','zFuQC','Pmzkp','login','qRhWK','Uvohw','fNeSY','exjOF','ZahyO','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','VaSUo'];_0x205e=function(){return _0xbd8ee8;};return _0x205e();}import _0x7e9b20 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x4826ab=_0xd8f6,_0x1e6117={'IUmvO':function(_0x434b6a,_0x1fdd1b){return _0x434b6a(_0x1fdd1b);},'SpjfY':function(_0x35b553,_0x2e5c72){return _0x35b553!==_0x2e5c72;},'XhgPI':function(_0x1b39fa,_0x4bf903){return _0x1b39fa(_0x4bf903);},'xMlxG':function(_0x14fbcf,_0x246751,_0x495d70){return _0x14fbcf(_0x246751,_0x495d70);},'DPbOz':_0x4826ab(0x2e4),'YKMye':_0x4826ab(0x1c5)};let _0x5c8fd6=process['cwd']();const _0x2142e4=_0x1e6117[_0x4826ab(0x2b4)](parse,_0x5c8fd6)[_0x4826ab(0x2a7)];while(_0x1e6117['SpjfY'](_0x5c8fd6,_0x2142e4)){if(_0x1e6117['XhgPI'](existsSync,_0x1e6117['xMlxG'](join,_0x5c8fd6,_0x1e6117['DPbOz']))||existsSync(join(_0x5c8fd6,_0x1e6117['YKMye'])))return _0x5c8fd6;_0x5c8fd6=_0x1e6117['IUmvO'](dirname,_0x5c8fd6);}return process['cwd']();}_0x7e9b20['config']({'path':join(findProjectRoot(),'.env')});import _0x41fcaa 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';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0xb9a566=>{const _0x25322e=_0xd8f6,_0x517e6b={'UEMZN':function(_0x4c118d){return _0x4c118d();}},_0x444b32=_0x517e6b[_0x25322e(0x216)](getCurrentCollector);_0x444b32&&await _0x444b32['trackCommandError'](_0xb9a566),process[_0x25322e(0x210)]=0x1;});const rawArgs=process[_0xcffea2(0x1cb)]['slice'](0x2),TOP_LEVEL_HELP=_0xcffea2(0x2da),PROFILE_HELP=_0xcffea2(0x299),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(_0x4c0de8,_0x48c27a){const _0x5aa4b4=_0xcffea2;console[_0x5aa4b4(0x2a2)]('\x0a'+_0x4c0de8+_0x5aa4b4(0x296)+_0x48c27a+'\x0a');}function argUsed(_0x3517e9){const _0x52e383=_0xcffea2;return rawArgs[_0x52e383(0x24e)](_0x3006c6=>_0x3006c6===_0x3517e9||_0x3006c6[_0x52e383(0x1d7)](_0x3517e9+'='));}function warnFlagRenamed(_0x2daf8c,_0x543961,_0x3e00ea){const _0x3348eb=_0xcffea2,_0x485768={'HZgYw':function(_0x2b46cc,_0x5df085,_0xad3a7a){return _0x2b46cc(_0x5df085,_0xad3a7a);}};argUsed(_0x543961)&&_0x485768[_0x3348eb(0x306)](warnRenamed,_0x2daf8c+'\x20'+_0x543961,_0x2daf8c+'\x20'+_0x3e00ea);}function _0xd8f6(_0x2f25d0,_0x275a7e){_0x2f25d0=_0x2f25d0-0x14e;const _0x205e8e=_0x205e();let _0xd8f667=_0x205e8e[_0x2f25d0];return _0xd8f667;}function normalizeEnvVarNames(_0x505104){const _0x54b73a=_0xcffea2,_0x6adb04=Array[_0x54b73a(0x27f)](_0x505104)?_0x505104:_0x505104?[_0x505104]:[];return _0x6adb04[_0x54b73a(0x1ea)](_0x551b71=>String(_0x551b71)['split'](',')['map'](_0x144c85=>_0x144c85['trim']())[_0x54b73a(0x283)](Boolean));}async function runGoCommand(_0x37afc3,_0x5ddf7b=![]){const _0x4486f2=_0xcffea2,_0x2421e9={'FFBlu':function(_0x31cc59,_0x4ad6a0){return _0x31cc59+_0x4ad6a0;},'oztLU':'ranger\x20verify-feature','TzMKq':function(_0x176bc9,_0xc9877e,_0x5b42d4,_0x3760a4){return _0x176bc9(_0xc9877e,_0x5b42d4,_0x3760a4);},'vSkZw':'--env','CXOgl':'--profile','ZnDZX':function(_0x50eefc,_0x102a94,_0x203b20,_0x69ec5c){return _0x50eefc(_0x102a94,_0x203b20,_0x69ec5c);},'xOHPw':_0x4486f2(0x195),'FWKHX':'ranger\x20go','yBDwf':_0x4486f2(0x252),'cDwSd':_0x4486f2(0x21a),'eeFuw':function(_0x3267e6){return _0x3267e6();},'rsWcX':_0x4486f2(0x233),'ekyjk':function(_0x1a33d0,_0x151be1){return _0x1a33d0>_0x151be1;},'YitVZ':function(_0x4f516d,_0xe330f5){return _0x4f516d!==_0xe330f5;},'vNevt':_0x4486f2(0x2d1),'tawau':'start-path','VDKpY':_0x4486f2(0x2fc),'QdLdB':function(_0x438ae9,_0x40eab4){return _0x438ae9===_0x40eab4;},'SjDKM':_0x4486f2(0x1df),'aISgx':_0x4486f2(0x29a),'exjOF':_0x4486f2(0x24a),'asXbJ':'\x20PARTIAL','zUpdX':'blocked','xGqGG':_0x4486f2(0x2dd)};_0x5ddf7b&&(warnRenamed(_0x2421e9[_0x4486f2(0x1bf)],'ranger\x20go'),_0x2421e9[_0x4486f2(0x310)](warnFlagRenamed,_0x2421e9[_0x4486f2(0x1bf)],_0x2421e9['vSkZw'],_0x2421e9[_0x4486f2(0x2aa)]));_0x2421e9[_0x4486f2(0x2bd)](warnFlagRenamed,'ranger\x20go',_0x2421e9[_0x4486f2(0x2d9)],_0x4486f2(0x220)),warnFlagRenamed(_0x2421e9[_0x4486f2(0x2dc)],_0x2421e9[_0x4486f2(0x2e6)],_0x2421e9['cDwSd']);const _0x5e0496=await _0x2421e9[_0x4486f2(0x1e6)](loadRangerConfig),_0x18d6d5=_0x2421e9['eeFuw'](isByokEnabled),_0x30c424=_0x37afc3[_0x4486f2(0x279)],_0x6f4ed9=_0x5e0496[_0x4486f2(0x279)],_0x459043=normalizeEnvVarNames(_0x37afc3[_0x2421e9['rsWcX']]),_0x4120a4=_0x2421e9[_0x4486f2(0x1e6)](getVerificationTransport);if(_0x2421e9['ekyjk'](_0x459043['length'],0x0)&&_0x2421e9['YitVZ'](_0x4120a4,_0x4486f2(0x2bf))&&_0x4120a4!==_0x2421e9['vNevt'])throw new Error(_0x4486f2(0x29c)+_0x4120a4+'.');const _0x15159d=await verifyFeature({'featureId':_0x37afc3[_0x4486f2(0x2d0)],'profile':_0x37afc3[_0x4486f2(0x179)]??(_0x5ddf7b?_0x37afc3['env']:undefined)??process['env'][_0x4486f2(0x2ea)],'authEnv':_0x5ddf7b?undefined:_0x37afc3[_0x4486f2(0x161)]??process[_0x4486f2(0x161)]['RANGER_AUTH_ENV'],'notes':_0x37afc3['notes']??_0x37afc3['task'],'check':_0x37afc3['check'],'scenario':_0x37afc3['scenario']??_0x37afc3['item'],'startPath':_0x37afc3[_0x2421e9[_0x4486f2(0x1a4)]],'baseUrl':_0x37afc3[_0x4486f2(0x160)],'debugOutcome':_0x37afc3['debug-outcome'],'debugAddressComments':_0x37afc3['debug-address-comments'],'headed':_0x37afc3[_0x4486f2(0x25c)],'verifierEnvVars':_0x459043,'allowUrlMismatch':_0x37afc3['allow-url-mismatch'],'byokEnabled':_0x18d6d5,'flagVerifyModel':_0x30c424,'configVerifyModel':_0x6f4ed9});console['log']('\x0a'+'='[_0x4486f2(0x20e)](0x3c)),console[_0x4486f2(0x1f9)](_0x15159d['evaluation']===_0x2421e9['VDKpY']?_0x4486f2(0x240):_0x2421e9['QdLdB'](_0x15159d[_0x4486f2(0x200)],_0x2421e9[_0x4486f2(0x31c)])?_0x2421e9['aISgx']:_0x15159d['evaluation']===_0x2421e9[_0x4486f2(0x273)]?_0x2421e9[_0x4486f2(0x2ab)]:_0x15159d[_0x4486f2(0x200)]===_0x2421e9['zUpdX']?_0x4486f2(0x2ad):_0x4486f2(0x150)),console[_0x4486f2(0x1f9)]('='['repeat'](0x3c)),console[_0x4486f2(0x1f9)](_0x4486f2(0x1bc)+_0x15159d[_0x4486f2(0x14e)]),console['log']('Evaluation:\x20'+_0x15159d['evaluation']),console[_0x4486f2(0x1f9)](_0x4486f2(0x164)+_0x15159d[_0x4486f2(0x307)]),_0x15159d['issues']?.[_0x4486f2(0x18f)]&&(console[_0x4486f2(0x1f9)](_0x2421e9[_0x4486f2(0x213)]),_0x15159d[_0x4486f2(0x304)][_0x4486f2(0x2a1)]((_0x3c4228,_0x3b738e)=>{const _0x50bd5a=_0x4486f2;console[_0x50bd5a(0x1f9)]('\x0a'+_0x2421e9['FFBlu'](_0x3b738e,0x1)+'.\x20['+_0x3c4228['severity']+']\x20'+_0x3c4228[_0x50bd5a(0x302)]);})),process[_0x4486f2(0x266)](_0x2421e9['QdLdB'](_0x15159d['evaluation'],_0x2421e9[_0x4486f2(0x1b7)])?0x0:0x1);}export function buildParser(_0x1e0e73){const _0x11c8dc=_0xcffea2,_0x4ea421={'zoNJg':_0x11c8dc(0x285),'yjzTR':_0x11c8dc(0x18a),'atQvJ':'scenario','eWWUn':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','VRYAD':_0x11c8dc(0x24c),'imEEK':function(_0x2353e9,_0x22e8e9){return _0x2353e9+_0x22e8e9;},'zFuQC':_0x11c8dc(0x2c1),'DVomp':_0x11c8dc(0x151),'LrIIH':_0x11c8dc(0x21a),'cQYcq':function(_0x1689ef,_0x424679,_0x42644a){return _0x1689ef(_0x424679,_0x42644a);},'ifwcs':_0x11c8dc(0x1b3),'INIAT':_0x11c8dc(0x18c),'iTKpc':_0x11c8dc(0x172),'NMGaB':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','dDYpT':'offset','XDBcS':'Number\x20of\x20feature\x20reviews\x20to\x20skip','vJhMJ':_0x11c8dc(0x1ae),'ZahyO':'Include\x20soft-deleted\x20feature\x20reviews','DnIMe':_0x11c8dc(0x1fb),'pGbsZ':'Feature\x20review\x20ID','mHUXd':'resume','RNYSh':_0x11c8dc(0x302),'xTfCE':_0x11c8dc(0x1fc),'WfXdf':_0x11c8dc(0x260),'bgPpD':function(_0x4517ff,_0x17a0df,_0x37a85b){return _0x4517ff(_0x17a0df,_0x37a85b);},'rYRyW':'edit-scenario','NlDbh':_0x11c8dc(0x211),'PIQRz':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','FEgmp':function(_0xab8c06,_0x17e665,_0x4d023f){return _0xab8c06(_0x17e665,_0x4d023f);},'sigiT':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','lcaaq':_0x11c8dc(0x31a),'pcGVd':'restore','HMFst':'token','eIcMd':_0x11c8dc(0x162),'ziXsj':'skip-auth','uFNBN':_0x11c8dc(0x1d0),'pxsxh':'scope','AlyIp':'url','UWBII':'force','GEtVC':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','xrUWT':_0x11c8dc(0x29d),'JSTKF':'mcp-bootstrap','PQOiz':'mcp','JqKts':'Alias\x20for\x20--mcp-bootstrap','dsbnG':_0x11c8dc(0x30d),'vaPSP':_0x11c8dc(0x2ce),'DTySg':_0x11c8dc(0x264),'XUkpb':function(_0x26ce8c,_0x2966c8){return _0x26ce8c!==_0x2966c8;},'CiWsC':'user','zdDrj':function(_0xa681a3,_0x53de9e){return _0xa681a3+_0x53de9e;},'QphAF':function(_0x33b0eb,_0x2aa85e,_0x3d2842){return _0x33b0eb(_0x2aa85e,_0x3d2842);},'bRFfj':_0x11c8dc(0x2d3),'DITtG':_0x11c8dc(0x21c),'OSmUP':'with-deps','qRhWK':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','IBBgx':function(_0x3e8366,_0x41ada6){return _0x3e8366(_0x41ada6);},'nRWGn':'setup:skills','ZTvcT':'Skip\x20browser\x20authentication','PcgEL':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','NSPmi':'tokenOrSubcommand','gfawh':_0x11c8dc(0x2c7),'mltcj':_0x11c8dc(0x1b9),'aBWDs':_0x11c8dc(0x1cf),'yPUci':_0x11c8dc(0x27c),'OTHGM':'Set\x20up\x20a\x20local\x20browser\x20profile','TyDtH':_0x11c8dc(0x15c),'MFGaD':_0x11c8dc(0x20d),'mSbxV':_0x11c8dc(0x15e),'ruRWt':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','HGkOs':'API\x20token','MdSYC':function(_0x423b5b,_0x5941cb,_0x3c5677){return _0x423b5b(_0x5941cb,_0x3c5677);},'IKrEV':'Ranger\x20API\x20token','GhgRU':_0x11c8dc(0x179),'MocTi':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','olyVk':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','XeILA':'setup-ci','AqgyL':_0x11c8dc(0x26f),'YUyvC':_0x11c8dc(0x1f2),'Pmzkp':function(_0x1be423,_0x52edd2,_0x23b456){return _0x1be423(_0x52edd2,_0x23b456);},'qJfWW':'clean','EgLzg':_0x11c8dc(0x177),'fNeSY':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','oiNgu':_0x11c8dc(0x27e),'xUeQL':_0x11c8dc(0x2c3),'ndpMz':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','qdNgR':'setup-header','tOaAP':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','JJpyn':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','iOYQX':'env','NcDGx':_0x11c8dc(0x2b6),'rZjEz':_0x11c8dc(0x1e5),'EShfP':function(_0x5232ce,_0x3370bd,_0x1474d1,_0x20fdf3){return _0x5232ce(_0x3370bd,_0x1474d1,_0x20fdf3);},'fwXSI':function(_0x46cb40,_0xcaefb0){return _0x46cb40(_0xcaefb0);},'ZKXsy':function(_0xb258e9,_0x5e3a56,_0x5cbafd){return _0xb258e9(_0x5e3a56,_0x5cbafd);},'LyEnV':_0x11c8dc(0x2b5),'ZITvY':'Profile\x20name','vevGl':_0x11c8dc(0x30b),'mXLdh':_0x11c8dc(0x1cd),'qkUVx':'Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','EAlWD':function(_0x47ed55,_0x279e18,_0xbbd732){return _0x47ed55(_0x279e18,_0xbbd732);},'xBybv':_0x11c8dc(0x2b7),'tVbxv':_0x11c8dc(0x1b2),'SFpiF':_0x11c8dc(0x2cb),'cyvmf':_0x11c8dc(0x2f3),'VxJbM':'get\x20<profile>\x20<key>','cuQyF':_0x11c8dc(0x243),'bXiNl':_0x11c8dc(0x1f4),'ggFQw':_0x11c8dc(0x199),'WkbbY':_0x11c8dc(0x1b6),'FMucV':'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','UdftF':'profile\x20delete','tlQhk':'unknown\x20error','NZhmZ':'profile\x20login','Scxej':'key','BqjuT':_0x11c8dc(0x237),'yczED':_0x11c8dc(0x258),'PWzAS':'encrypt-auth\x20<profile>','QlVgu':'List\x20all\x20profiles','xBneL':_0x11c8dc(0x290),'RERfz':_0x11c8dc(0x223),'gcwoU':'migrate\x20[profile-name]','tKkIY':'config','ddpoa':_0x11c8dc(0x178),'cbZcs':_0x11c8dc(0x317),'ISaHM':'status','Vbrtk':'update','KwcVj':function(_0x1fdbc9){return _0x1fdbc9();},'kutrV':_0x11c8dc(0x1e4),'Xjvke':_0x11c8dc(0x241),'CYHKt':_0x11c8dc(0x293),'ualfc':_0x11c8dc(0x2b1),'DHzGr':'model','GqnLu':'headed','vwznP':'env-var','yighL':'environment-variable','LyaWw':_0x11c8dc(0x1a9),'CmyCq':_0x11c8dc(0x2b9),'BkjNE':'verified','dmTUq':_0x11c8dc(0x1df),'yMtOf':_0x11c8dc(0x25f),'VaSUo':_0x11c8dc(0x232),'mcENj':'You\x20must\x20specify\x20an\x20auth\x20subcommand','OcBfD':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','olSjk':'ranger\x20setup','Xkhgb':function(_0x4b9ee7,_0xd793b9,_0x17c85a){return _0x4b9ee7(_0xd793b9,_0x17c85a);},'pDZez':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','PIOko':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','BUerT':'item','HACQV':'base-url','TtryD':_0x11c8dc(0x1ad),'jlpQq':'ranger\x20add\x20env','aDXjZ':'ranger\x20profile\x20add','BhlHN':function(_0x35f01f,_0x5f4c93,_0x3af46b){return _0x35f01f(_0x5f4c93,_0x3af46b);},'hkgYx':_0x11c8dc(0x27b),'fGLtz':'Name\x20of\x20the\x20environment','yAReA':function(_0x1f6728,_0x57499d,_0x20ed36){return _0x1f6728(_0x57499d,_0x20ed36);},'toQzb':_0x11c8dc(0x154),'UxxWt':_0x11c8dc(0x187),'DYdWq':'Config\x20key','ZeiKa':function(_0x5b998b,_0x4d4b3c,_0x17135d){return _0x5b998b(_0x4d4b3c,_0x17135d);},'MErTw':'ranger\x20config\x20get','rNHMu':'ranger\x20profile\x20config\x20get','ctfzh':function(_0x2433a1,_0x54dc77,_0x3f3fab){return _0x2433a1(_0x54dc77,_0x3f3fab);},'FFwnj':_0x11c8dc(0x1f7),'UajzD':_0x11c8dc(0x301),'mYfeM':'set\x20<env>\x20<key>\x20<value>','gZwUT':'get\x20<env>\x20<key>','pVzol':_0x11c8dc(0x201),'yRVyQ':'ranger\x20profile\x20ls','kYdHh':'env\x20list','lrxef':_0x11c8dc(0x1f0),'SUuUA':_0x11c8dc(0x23f),'ZrCqu':function(_0x3cdc19,_0x2274cd,_0x563510){return _0x3cdc19(_0x2274cd,_0x563510);},'sJKbS':_0x11c8dc(0x256),'hbwxc':_0x11c8dc(0x2bc),'fBYVU':function(_0x4c6f47,_0x1244ef,_0x5709aa){return _0x4c6f47(_0x1244ef,_0x5709aa);},'urfJE':_0x11c8dc(0x1ff),'wzELl':'ranger\x20feature\x20show','FAKKw':'ranger\x20feature\x20add-checklist-item','IXiFh':_0x11c8dc(0x1d2),'mqSSr':'feature\x20delete','oeiKy':_0x11c8dc(0x212),'rPAju':'get-feedback\x20[id]','bgbsT':'restore\x20<id>','gvQNn':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','ijsOm':'session-id','nSgxM':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','qFODQ':function(_0x37a907,_0x26b6cf,_0x266d4a){return _0x37a907(_0x26b6cf,_0x266d4a);},'SzmTY':_0x11c8dc(0x30f),'lgYdo':'enable','hYhop':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','WeACA':'disable','VDPSV':_0x11c8dc(0x23c),'XgXNC':_0x11c8dc(0x1f1),'VEaYK':_0x11c8dc(0x175),'qCAZB':function(_0x32b3de,_0x4ba744){return _0x32b3de||_0x4ba744;},'CAqte':'ranger','gOITV':function(_0x12983e){return _0x12983e();},'MWXpo':_0x11c8dc(0x20b),'exuii':'add-scenario\x20<description>','SNupV':_0x11c8dc(0x2cf),'ozUmV':'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','pLnqj':_0x11c8dc(0x253),'MmbrS':'delete\x20[id]','ikUzV':'setup\x20[tokenOrSubcommand]','JvqpK':'Install\x20Ranger\x20skills','MNScK':_0x11c8dc(0x20a),'xCgzT':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','GDYmq':'print-access-token','AXUsZ':'Print\x20the\x20current\x20CLI\x20access\x20token','mgrBf':'Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','kUBez':_0x11c8dc(0x24b),'Bpelc':'verify-feature','VWnKn':'add\x20env\x20<env-name>','nxUGM':'use\x20<env-name>','uNdjB':'Documentation:\x0a'};return _0x4ea421[_0x11c8dc(0x257)](_0x41fcaa,_0x1e0e73??process[_0x11c8dc(0x1cb)]['slice'](0x2))[_0x11c8dc(0x2c6)](_0x4ea421[_0x11c8dc(0x2e7)])['usage'](TOP_LEVEL_HELP)['version'](_0x4ea421['gOITV'](getCurrentVersion))[_0x11c8dc(0x2ba)]('create\x20<name>',_0x11c8dc(0x156),_0x395356=>{const _0xc9ce22=_0x11c8dc;return _0x395356['positional'](_0x4ea421['zoNJg'],{'type':_0x4ea421['yjzTR'],'description':'Feature\x20review\x20name','demandOption':!![]})['option']('description',{'type':'string','alias':'d','description':_0xc9ce22(0x21d)})['option'](_0x4ea421[_0xc9ce22(0x2d8)],{'type':_0xc9ce22(0x24c),'alias':'c','description':_0x4ea421[_0xc9ce22(0x16d)]})[_0xc9ce22(0x1be)](_0xc9ce22(0x215),{'type':_0x4ea421['VRYAD'],'hidden':!![]});},async _0x426e5a=>{const _0x350596=_0x11c8dc;if(!_0x426e5a['name']){console['error'](_0x4ea421['imEEK'](_0x4ea421[_0x350596(0x26d)],_0x350596(0x17f))),process[_0x350596(0x266)](0x1);return;}warnFlagRenamed(_0x4ea421['DVomp'],'--checklist',_0x4ea421[_0x350596(0x298)]);const _0x19add5=_0x426e5a['scenario']||_0x426e5a[_0x350596(0x215)];await _0x4ea421['cQYcq'](withTelemetry,_0x4ea421['ifwcs'],()=>featureCreate(_0x426e5a['name'],{'description':_0x426e5a['description'],'scenarios':_0x19add5}));})[_0x11c8dc(0x2ba)]('list','List\x20all\x20feature\x20reviews',_0x1e9d42=>{const _0x2e5a46=_0x11c8dc;return _0x1e9d42['option'](_0x4ea421['INIAT'],{'type':_0x2e5a46(0x211),'description':_0x2e5a46(0x2cd)})[_0x2e5a46(0x1be)]('limit',{'type':_0x4ea421['iTKpc'],'alias':'l','description':_0x4ea421[_0x2e5a46(0x1bb)],'default':0xa})['option'](_0x4ea421['dDYpT'],{'type':_0x4ea421['iTKpc'],'alias':'o','description':_0x4ea421['XDBcS'],'default':0x0})['option'](_0x4ea421[_0x2e5a46(0x230)],{'type':_0x2e5a46(0x211),'alias':'d','description':_0x4ea421[_0x2e5a46(0x274)],'default':![]});},async _0x13b835=>{const _0x59d8fb=_0x11c8dc;await withTelemetry(_0x4ea421[_0x59d8fb(0x1e9)],()=>featureList({'currentBranch':_0x13b835['current-branch'],'limit':_0x13b835['limit'],'offset':_0x13b835[_0x59d8fb(0x23b)],'includeDeleted':_0x13b835['include-deleted']}));})[_0x11c8dc(0x2ba)]('show\x20[id]',_0x4ea421[_0x11c8dc(0x2a3)],_0x1e15ea=>{const _0x25a6b6=_0x11c8dc;return _0x1e15ea['positional']('id',{'type':_0x25a6b6(0x18a),'description':_0x4ea421[_0x25a6b6(0x247)]});},async _0x591db9=>{await withTelemetry('show',()=>featureShow(_0x591db9['id']));})['command'](_0x11c8dc(0x212),_0x11c8dc(0x1c7),_0x2ecc9c=>{const _0x492515=_0x11c8dc;return _0x2ecc9c[_0x492515(0x229)]('id',{'type':_0x4ea421['yjzTR'],'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x51db19=>{const _0x5f1466=_0x11c8dc;await _0x4ea421['cQYcq'](withTelemetry,_0x4ea421[_0x5f1466(0x19a)],()=>featureResume(_0x51db19['id']));})['command'](_0x4ea421['exuii'],_0x11c8dc(0x1e7),_0x2bec9e=>{const _0x210796=_0x11c8dc;return _0x2bec9e['positional'](_0x4ea421['RNYSh'],{'type':'string','description':_0x4ea421[_0x210796(0x206)],'demandOption':!![]})['option']('id',{'type':_0x4ea421['yjzTR'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x17d159=>{const _0x2fc1c3=_0x11c8dc;await withTelemetry(_0x2fc1c3(0x26b),()=>featureAddScenario(_0x17d159['description'],_0x17d159['id']));})['command']('edit-scenario\x20<description>',_0x4ea421[_0x11c8dc(0x309)],_0x405271=>{const _0x24a5a1=_0x11c8dc;return _0x405271['positional'](_0x4ea421['RNYSh'],{'type':_0x24a5a1(0x18a),'description':_0x24a5a1(0x169),'demandOption':!![]})[_0x24a5a1(0x1be)](_0x4ea421[_0x24a5a1(0x2d8)],{'type':_0x4ea421['iTKpc'],'description':_0x4ea421[_0x24a5a1(0x170)],'demandOption':!![]})['option']('id',{'type':_0x24a5a1(0x18a),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x8ad5fb=>{const _0x2625ae=_0x11c8dc;await _0x4ea421['bgPpD'](withTelemetry,_0x4ea421[_0x2625ae(0x1ca)],()=>featureEditScenario(_0x8ad5fb[_0x2625ae(0x302)],{'id':_0x8ad5fb['id'],'scenario':_0x8ad5fb['scenario']}));})[_0x11c8dc(0x2ba)](_0x11c8dc(0x25e),_0x4ea421['ozUmV'],_0x1f0ec0=>{const _0x4fdccd=_0x11c8dc;return _0x1f0ec0['positional']('id',{'type':_0x4ea421['yjzTR'],'description':_0x4fdccd(0x316)})[_0x4fdccd(0x1be)](_0x4fdccd(0x2f6),{'type':'array','description':_0x4fdccd(0x1e8)})['option'](_0x4fdccd(0x25b),{'type':_0x4ea421['NlDbh'],'description':_0x4ea421['PIQRz'],'default':![]});},async _0x256f42=>{const _0x4f4984=_0x11c8dc,_0x7543af=_0x256f42['exclude-scenario'],_0x3c8d86=_0x7543af?_0x7543af[_0x4f4984(0x236)](_0x3c77b5=>Number(_0x3c77b5)):undefined;await _0x4ea421[_0x4f4984(0x219)](withTelemetry,'report',()=>featureReportPrDescription(_0x256f42['id'],{'excludeScenarios':_0x3c8d86,'json':_0x256f42['json']}));})['command']('get-review\x20[id]',_0x4ea421['pLnqj'],_0x31b2ed=>{return _0x31b2ed['positional']('id',{'type':'string','description':_0x4ea421['sigiT']});},async _0x2757e3=>{const _0x49b85b=_0x11c8dc;await _0x4ea421['bgPpD'](withTelemetry,_0x49b85b(0x208),()=>featureGetReview(_0x2757e3['id']));})['command'](_0x4ea421[_0x11c8dc(0x22d)],'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x55d907=>{const _0x4aa45f=_0x11c8dc;return _0x55d907[_0x4aa45f(0x229)]('id',{'type':_0x4ea421['yjzTR'],'description':_0x4ea421['pGbsZ']});},async _0x4e7884=>{await withTelemetry('delete',()=>featureDelete(_0x4e7884['id']));})['command'](_0x4ea421[_0x11c8dc(0x234)],'Restore\x20a\x20soft-deleted\x20feature\x20review',_0x1790d5=>{const _0x44a25c=_0x11c8dc;return _0x1790d5[_0x44a25c(0x229)]('id',{'type':'string','description':_0x4ea421['lcaaq'],'demandOption':!![]});},async _0x26d16d=>{const _0x5ef695=_0x11c8dc;await withTelemetry(_0x4ea421[_0x5ef695(0x30e)],()=>featureRestore(_0x26d16d['id']));})[_0x11c8dc(0x2ba)](_0x4ea421['ikUzV'],'Initialize\x20Ranger\x20in\x20your\x20project',_0x587c39=>{const _0x3c4c72=_0x11c8dc,_0x3dfd57={'WERPp':_0x4ea421['JSTKF'],'QuGUM':_0x4ea421['DITtG'],'ZfONv':_0x4ea421[_0x3c4c72(0x31e)],'nXcFN':_0x4ea421[_0x3c4c72(0x270)],'jCNNM':function(_0x25b65a,_0x54948b,_0x52856b){return _0x25b65a(_0x54948b,_0x52856b);},'HoMUg':_0x3c4c72(0x305),'MgKWz':function(_0x144ea1,_0x3ff22e,_0x4f9e9f){return _0x144ea1(_0x3ff22e,_0x4f9e9f);},'OdmMd':_0x3c4c72(0x29d),'rKySz':function(_0x5609ee,_0x4ec8e6){return _0x4ea421['IBBgx'](_0x5609ee,_0x4ec8e6);},'dPpVL':function(_0x2092b2,_0xeecaf3,_0x1f6afd){return _0x2092b2(_0xeecaf3,_0x1f6afd);},'zyMth':_0x4ea421['nRWGn'],'Uvohw':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','AZFOa':_0x4ea421['AlyIp'],'nyHSD':_0x4ea421['yjzTR'],'VNoHO':_0x4ea421['ZTvcT'],'hJDHs':_0x3c4c72(0x29f),'FcjpA':'boolean','IQURY':_0x4ea421[_0x3c4c72(0x1ee)]};return _0x587c39['usage'](_0x3c4c72(0x275))['positional'](_0x4ea421[_0x3c4c72(0x295)],{'type':'string','description':_0x4ea421[_0x3c4c72(0x1c6)]})[_0x3c4c72(0x2ba)]('all',_0x4ea421['mltcj'],_0x5558b3=>{const _0x2613fc=_0x3c4c72;return _0x5558b3[_0x2613fc(0x1be)](_0x4ea421[_0x2613fc(0x300)],{'type':_0x4ea421['yjzTR'],'description':_0x2613fc(0x246)})['option'](_0x4ea421['eIcMd'],{'type':_0x4ea421[_0x2613fc(0x1a0)],'description':_0x2613fc(0x15c),'default':![]})['option'](_0x4ea421['ziXsj'],{'type':'boolean','description':_0x2613fc(0x1ef),'default':![]})['option'](_0x2613fc(0x196),{'type':_0x4ea421['NlDbh'],'description':_0x4ea421['uFNBN'],'default':![]})[_0x2613fc(0x1be)](_0x4ea421[_0x2613fc(0x28d)],{'type':_0x4ea421[_0x2613fc(0x209)],'choices':['user'],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x2613fc(0x1be)](_0x4ea421['AlyIp'],{'type':_0x4ea421['yjzTR'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})['option'](_0x4ea421['UWBII'],{'type':_0x4ea421['NlDbh'],'description':_0x4ea421['GEtVC'],'default':![]})[_0x2613fc(0x1be)](_0x4ea421['xrUWT'],{'type':_0x4ea421[_0x2613fc(0x1a0)],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})[_0x2613fc(0x1be)](_0x2613fc(0x2c3),{'type':_0x2613fc(0x211),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]})[_0x2613fc(0x1be)](_0x4ea421['JSTKF'],{'type':_0x4ea421[_0x2613fc(0x1a0)],'description':_0x2613fc(0x303),'default':![]})['option'](_0x4ea421[_0x2613fc(0x2fb)],{'type':_0x4ea421[_0x2613fc(0x1a0)],'description':_0x4ea421[_0x2613fc(0x205)],'default':![]});},async _0x25b3df=>{const _0x487b93=_0x3c4c72;(_0x25b3df[_0x3dfd57[_0x487b93(0x155)]]||_0x25b3df['mcp'])&&await withTelemetry(_0x487b93(0x2d6),()=>mcpBootstrap()),await withTelemetry(_0x3dfd57['QuGUM'],_0x5f298e=>start(_0x25b3df[_0x487b93(0x166)],{'skipChromium':_0x25b3df['skip-chromium'],'skipAuth':_0x25b3df['skip-auth'],'withDeps':_0x25b3df[_0x487b93(0x196)],'scope':_0x25b3df['scope'],'url':_0x25b3df[_0x487b93(0x1eb)],'force':_0x25b3df['force'],'opencode':_0x25b3df['opencode'],'allowInsecureLocalhost':_0x25b3df[_0x487b93(0x2c3)]},_0x5f298e));})['command'](_0x3c4c72(0x1b5),_0x3c4c72(0x204),_0x3aff4d=>{const _0xf38191=_0x3c4c72;return _0x3aff4d[_0xf38191(0x1be)](_0x3dfd57['ZfONv'],{'type':'boolean','description':_0x3dfd57[_0xf38191(0x265)],'default':![]});},async _0x4af34b=>{const _0x42a0da=_0x3c4c72;await _0x3dfd57[_0x42a0da(0x214)](withTelemetry,_0x3dfd57['HoMUg'],()=>ensureChromium(_0x4af34b['with-deps']));})['command']('login',_0x4ea421[_0x3c4c72(0x16f)],_0x5516f0=>{const _0x327d2e=_0x3c4c72;return _0x5516f0['option'](_0x4ea421['HMFst'],{'type':'string','description':_0x4ea421['dsbnG']})['option']('mcp',{'type':_0x327d2e(0x211),'description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x44138f=>{const _0x5320fb=_0x3c4c72,_0x1f7db8={'WOufA':function(_0x4fba7b){return _0x4fba7b();}};await _0x4ea421[_0x5320fb(0x2f4)](withTelemetry,_0x4ea421['vaPSP'],async()=>{const _0x33ff77=_0x5320fb;if(_0x44138f[_0x33ff77(0x163)]){await _0x1f7db8['WOufA'](mcpBootstrap);const _0x34a30b=await _0x1f7db8['WOufA'](refreshCliToken);if(!_0x34a30b)throw new Error(_0x33ff77(0x2ec));const _0x4337c3=await getCurrentUser(_0x34a30b);if(!_0x4337c3['success'])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x4337c3[_0x33ff77(0x2a2)]);console['log'](_0x33ff77(0x227)+_0x4337c3['user']['organizationName']);return;}await authenticate(_0x44138f['token']);});})['command'](_0x3c4c72(0x239),'Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x2aaefa=>{const _0x168199=_0x3c4c72;return _0x2aaefa[_0x168199(0x1be)](_0x168199(0x2db),{'type':_0x4ea421['yjzTR'],'choices':[_0x168199(0x22b),_0x4ea421['DTySg']],'description':_0x168199(0x26c)})[_0x168199(0x1be)](_0x168199(0x29d),{'type':'boolean','description':_0x168199(0x15e),'default':![]});},async _0x4692a4=>{const _0x496bee=_0x3c4c72;await _0x3dfd57[_0x496bee(0x1e0)](withTelemetry,_0x3dfd57['zyMth'],async()=>{const _0x3421e5=_0x496bee,_0x3702e1=_0x4692a4['scope'];if(_0x4692a4['opencode']){const _0xf83ee7=await ensureOpencodePluginConfig(_0x3702e1);_0xf83ee7&&await _0x3dfd57['MgKWz'](installSkill,_0x3421e5(0x183),{'level':_0xf83ee7['scope'],'cliVersion':getCurrentVersion(),'platform':_0x3dfd57[_0x3421e5(0x19f)]});}else await ensureClaudePlugin(_0x3702e1),await _0x3dfd57[_0x3421e5(0x16a)](ensureClaudeSkills,_0x3702e1);});})[_0x3c4c72(0x2ba)](_0x4ea421[_0x3c4c72(0x255)],_0x4ea421[_0x3c4c72(0x2c4)],_0x42a282=>{const _0x27a283=_0x3c4c72;return _0x42a282['option']('scope',{'type':'string','choices':['user'],'description':_0x3dfd57[_0x27a283(0x271)]})[_0x27a283(0x1be)](_0x3dfd57['AZFOa'],{'type':_0x3dfd57[_0x27a283(0x17a)],'description':_0x27a283(0x1f8)})['option'](_0x27a283(0x2d2),{'type':_0x27a283(0x211),'description':_0x3dfd57[_0x27a283(0x217)],'default':![]})['option'](_0x3dfd57[_0x27a283(0x1c8)],{'type':_0x27a283(0x211),'description':_0x27a283(0x2e5),'default':![]})[_0x27a283(0x1be)](_0x27a283(0x2c3),{'type':_0x3dfd57[_0x27a283(0x15d)],'description':_0x3dfd57[_0x27a283(0x2eb)],'default':![]});},async _0x37717b=>{const _0x21d0ee=_0x3c4c72,_0x2531cb=_0x37717b['scope'];_0x4ea421[_0x21d0ee(0x25a)](_0x2531cb,undefined)&&_0x2531cb!==_0x4ea421[_0x21d0ee(0x188)]&&(console[_0x21d0ee(0x2a2)](_0x4ea421[_0x21d0ee(0x1ab)](_0x4ea421[_0x21d0ee(0x291)](_0x21d0ee(0x282)+_0x2531cb+_0x21d0ee(0x165),'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20'),_0x21d0ee(0x182))),process['exit'](0x1)),await _0x4ea421[_0x21d0ee(0x224)](withTelemetry,_0x4ea421['bRFfj'],_0x444d2e=>ensureLocalEnv({'url':_0x37717b[_0x21d0ee(0x1eb)],'force':_0x37717b['force'],'allowInsecureLocalhost':_0x37717b[_0x21d0ee(0x2c3)],'scope':_0x21d0ee(0x22b)},_0x444d2e));})[_0x3c4c72(0x1be)](_0x3c4c72(0x162),{'type':'boolean','description':_0x4ea421[_0x3c4c72(0x2ac)],'default':![]})['option'](_0x4ea421[_0x3c4c72(0x28d)],{'type':'string','choices':[_0x4ea421[_0x3c4c72(0x188)]],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x3c4c72(0x1be)](_0x4ea421[_0x3c4c72(0x314)],{'type':_0x3c4c72(0x18a),'description':_0x4ea421[_0x3c4c72(0x1d6)]})['option'](_0x3c4c72(0x29f),{'type':_0x4ea421['NlDbh'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x3c4c72(0x1be)](_0x4ea421[_0x3c4c72(0x2f0)],{'type':'boolean','description':_0x4ea421['mSbxV'],'default':![]})['option']('allow-insecure-localhost',{'type':_0x4ea421['NlDbh'],'description':_0x4ea421['ruRWt'],'default':![]})['option'](_0x3c4c72(0x2d6),{'type':_0x4ea421['NlDbh'],'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','default':![]})['option'](_0x3c4c72(0x2d2),{'type':_0x3c4c72(0x211),'description':_0x3c4c72(0x1db),'default':![]})['option'](_0x3c4c72(0x196),{'type':_0x4ea421['NlDbh'],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]})[_0x3c4c72(0x1be)]('token',{'type':'string','hidden':!![],'description':_0x4ea421[_0x3c4c72(0x174)]});},async _0x386387=>{const _0x4832d2=_0x11c8dc,_0x147c8b=_0x386387[_0x4832d2(0x15b)],_0x83430a=_0x386387['token']??_0x147c8b;_0x386387[_0x4ea421[_0x4832d2(0x1da)]]&&await _0x4ea421['MdSYC'](withTelemetry,_0x4ea421[_0x4832d2(0x1da)],()=>mcpBootstrap()),await withTelemetry(_0x4832d2(0x2e9),_0x9d1fe4=>start(_0x83430a,{'skipChromium':_0x386387['skip-chromium'],'skipAuth':_0x386387[_0x4832d2(0x2d2)],'withDeps':_0x386387['with-deps'],'scope':_0x386387['scope'],'url':_0x386387['url'],'force':_0x386387[_0x4832d2(0x29f)],'opencode':_0x386387[_0x4832d2(0x29d)],'allowInsecureLocalhost':_0x386387[_0x4832d2(0x2c3)]},_0x9d1fe4));})[_0x11c8dc(0x2ba)](_0x11c8dc(0x313),![],_0xa205ff=>{const _0x5281d4=_0x11c8dc;return _0xa205ff['positional'](_0x4ea421['HMFst'],{'type':_0x5281d4(0x18a),'description':_0x4ea421['IKrEV'],'demandOption':!![]})['option'](_0x4ea421[_0x5281d4(0x192)],{'type':_0x4ea421['yjzTR'],'description':_0x4ea421['MocTi']})['option']('base-url',{'type':_0x5281d4(0x18a),'description':_0x4ea421[_0x5281d4(0x22f)]})[_0x5281d4(0x1be)](_0x5281d4(0x162),{'type':_0x4ea421[_0x5281d4(0x1a0)],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x168f53=>{const _0xce08c1=_0x11c8dc;await _0x4ea421['cQYcq'](withTelemetry,_0x4ea421[_0xce08c1(0x1cc)],_0x4f6364=>setupCi(_0x168f53['token'],{'profile':_0x168f53['profile'],'baseUrl':_0x168f53[_0xce08c1(0x160)],'skipChromium':_0x168f53[_0xce08c1(0x162)]},_0x4f6364));})['command']('login','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)',()=>{},async()=>{await withTelemetry(_0x4ea421['AqgyL'],()=>login());})['command']('skillup',_0x4ea421[_0x11c8dc(0x152)],_0x316af9=>{const _0x2e5345=_0x11c8dc;return _0x316af9[_0x2e5345(0x1be)](_0x4ea421[_0x2e5345(0x2f0)],{'type':'boolean','description':'Install\x20skills\x20for\x20OpenCode','default':![]})[_0x2e5345(0x1be)](_0x4ea421['pxsxh'],{'type':_0x2e5345(0x18a),'choices':[_0x4ea421['CiWsC'],_0x4ea421['DTySg']],'description':'Install\x20scope\x20for\x20skills'});},async _0x4a380e=>{const _0x6978e9=_0x11c8dc,_0x1eaf08=Boolean(_0x4a380e['opencode']);await withTelemetry(_0x4ea421['YUyvC'],()=>skillup({'autoInstall':_0x4a380e[_0x6978e9(0x2db)],'platform':_0x1eaf08?'opencode':'claude'}));})[_0x11c8dc(0x2ba)](_0x4ea421['qJfWW'],_0x4ea421['MNScK'],()=>{},async()=>{const _0x55df84=_0x11c8dc;await _0x4ea421[_0x55df84(0x26e)](withTelemetry,_0x4ea421[_0x55df84(0x25d)],()=>clean());})[_0x11c8dc(0x2ba)]([_0x4ea421['GhgRU'],_0x4ea421['yPUci']],'Manage\x20profiles',_0x8a5903=>{const _0x4f069f=_0x11c8dc,_0x4217cb={'AcsSy':'string','zxcJe':_0x4ea421['xBybv'],'UWrGt':_0x4ea421[_0x4f069f(0x1a0)],'UjCBc':_0x4f069f(0x312),'WSwyG':function(_0x41f0a1,_0x54dd59,_0x4cfe02){const _0x425ada=_0x4f069f;return _0x4ea421[_0x425ada(0x219)](_0x41f0a1,_0x54dd59,_0x4cfe02);},'JJZnS':_0x4ea421[_0x4f069f(0x2a4)],'fDeJs':_0x4f069f(0x285),'DHhWr':_0x4ea421['tlQhk'],'EMGah':_0x4ea421[_0x4f069f(0x1fe)],'mKblJ':'Profile\x20name','IsoBW':'Config\x20key','sITuM':_0x4f069f(0x185),'OBrYE':_0x4ea421[_0x4f069f(0x192)],'zNyur':function(_0x1690b9,_0x319be6,_0x17d37d){return _0x1690b9(_0x319be6,_0x17d37d);},'PJYEr':'profile\x20config\x20list','edsKL':_0x4ea421[_0x4f069f(0x23d)],'isOer':_0x4f069f(0x1d3)};return _0x8a5903['usage'](PROFILE_HELP)[_0x4f069f(0x2ba)](_0x4ea421['BqjuT'],'Add\x20profile\x20configuration',_0x20a7a7=>{const _0xa152e9=_0x4f069f;return _0x20a7a7['positional'](_0x4ea421['EgLzg'],{'type':_0x4ea421[_0xa152e9(0x209)],'description':_0xa152e9(0x29e),'demandOption':!![]})[_0xa152e9(0x1be)]('ci',{'type':_0xa152e9(0x211),'hidden':!![],'default':![]})[_0xa152e9(0x1be)](_0xa152e9(0x2d2),{'type':_0xa152e9(0x211),'description':_0x4ea421['fNeSY'],'default':![]})[_0xa152e9(0x1be)](_0x4ea421[_0xa152e9(0x314)],{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)'})['option']('force',{'type':_0x4ea421['NlDbh'],'description':_0xa152e9(0x2e5),'default':![]})['option'](_0x4ea421['oiNgu'],{'type':_0xa152e9(0x18a),'description':_0xa152e9(0x21f)})[_0xa152e9(0x1be)](_0x4ea421[_0xa152e9(0x2f1)],{'type':_0x4ea421[_0xa152e9(0x1a0)],'description':_0x4ea421[_0xa152e9(0x2fa)],'default':![]})[_0xa152e9(0x1be)]('safe-mode',{'type':_0x4ea421['NlDbh'],'description':_0x4ea421[_0xa152e9(0x180)],'default':![]})[_0xa152e9(0x1be)](_0x4ea421[_0xa152e9(0x2ee)],{'type':_0x4ea421[_0xa152e9(0x209)],'array':!![],'description':_0x4ea421['tOaAP']})['option'](_0xa152e9(0x2db),{'type':_0xa152e9(0x18a),'choices':[_0xa152e9(0x22b),_0x4ea421['DTySg']],'description':_0x4ea421[_0xa152e9(0x268)]})[_0xa152e9(0x1be)](_0x4ea421['iOYQX'],{'type':_0x4ea421['yjzTR'],'description':_0x4ea421[_0xa152e9(0x2c8)]})['option'](_0xa152e9(0x2b7),{'type':_0x4ea421[_0xa152e9(0x1a0)],'alias':'y','description':_0x4ea421['rZjEz'],'default':![]});},async _0x5f30a5=>{const _0x9a150f=_0x4f069f;await _0x4ea421[_0x9a150f(0x261)](withTelemetry,'profile\x20add',_0x19d789=>addEnv(_0x5f30a5['profile-name'],{'ci':_0x5f30a5['ci'],'skipAuth':_0x5f30a5[_0x9a150f(0x2d2)],'url':_0x5f30a5['url'],'force':_0x5f30a5[_0x9a150f(0x29f)],'cdpEndpoint':_0x5f30a5['cdp-endpoint'],'allowInsecureLocalhost':_0x5f30a5['allow-insecure-localhost'],'safeMode':_0x5f30a5[_0x9a150f(0x2ed)],'setupHeader':_0x5f30a5[_0x9a150f(0x2e2)],'scope':_0x5f30a5['scope'],'authEnv':_0x5f30a5['env'],'yes':_0x5f30a5['yes']},_0x19d789),{'isElectron':_0x4ea421['fwXSI'](Boolean,_0x5f30a5[_0x4ea421['oiNgu']])});})[_0x4f069f(0x2ba)]('use\x20<profile-name>','Switch\x20to\x20using\x20a\x20specific\x20profile',_0x55bfa6=>{return _0x55bfa6['positional']('profile-name',{'type':'string','description':'Name\x20of\x20the\x20profile','demandOption':!![]});},async _0x5c5769=>{const _0x10a377=_0x4f069f;await _0x4ea421[_0x10a377(0x294)](withTelemetry,_0x4ea421['LyEnV'],()=>useEnv(_0x5c5769['profile-name']));})['command'](_0x4ea421[_0x4f069f(0x1ce)],'Delete\x20a\x20cloud\x20profile',_0x2e5de1=>{const _0x1519c2=_0x4f069f;return _0x2e5de1[_0x1519c2(0x229)]('profile-name',{'type':_0x4217cb['AcsSy'],'description':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','demandOption':!![]})[_0x1519c2(0x1be)](_0x4217cb[_0x1519c2(0x1ed)],{'type':_0x4217cb['UWrGt'],'alias':'y','description':_0x4217cb[_0x1519c2(0x16c)],'default':![]});},async _0x134e7e=>{const _0xba9e5c=_0x4f069f;await _0x4217cb[_0xba9e5c(0x1b0)](withTelemetry,_0x4217cb[_0xba9e5c(0x267)],()=>deleteProfile(_0x134e7e['profile-name'],{'yes':_0x134e7e['yes']}));})['command'](_0x4ea421[_0x4f069f(0x1d8)],![],_0x209e68=>{const _0x3c1ba1=_0x4f069f;return _0x209e68['positional']('profile',{'type':'string','description':_0x4ea421[_0x3c1ba1(0x1c2)],'demandOption':!![]});},async _0x1c448c=>{await _0x4ea421['bgPpD'](withTelemetry,'profile\x20encrypt-auth',()=>authEncrypt(_0x1c448c['profile']));})['command']('ls',_0x4ea421[_0x4f069f(0x1b4)],()=>{},async()=>{const _0x162563=_0x4f069f;await withTelemetry(_0x162563(0x1dd),()=>envList());})['command'](_0x4f069f(0x2e1),_0x4ea421['xBneL'],_0x4a2260=>{const _0x38bd8c=_0x4f069f;return _0x4a2260['positional'](_0x38bd8c(0x177),{'type':_0x4ea421[_0x38bd8c(0x209)],'description':_0x4ea421['vevGl'],'demandOption':!![]})['option'](_0x4ea421[_0x38bd8c(0x2f1)],{'type':_0x4ea421['NlDbh'],'description':_0x4ea421[_0x38bd8c(0x2fa)]})[_0x38bd8c(0x1be)](_0x4ea421['mXLdh'],{'type':'boolean','description':_0x4ea421['qkUVx']});},async _0x7a555f=>{const _0x37fd9d=_0x4f069f;await _0x4ea421[_0x37fd9d(0x2a5)](withTelemetry,_0x37fd9d(0x190),_0x29ad34=>updateEnv(_0x7a555f[_0x37fd9d(0x177)],_0x29ad34,{'allowInsecureLocalhost':_0x7a555f['allow-insecure-localhost'],'manual':_0x7a555f['manual']}));})['command'](_0x4ea421['RERfz'],![],_0x174df5=>{const _0x40592d=_0x4f069f;return _0x174df5['positional'](_0x4217cb[_0x40592d(0x269)],{'type':_0x4217cb[_0x40592d(0x297)],'description':_0x40592d(0x22e),'demandOption':!![]});},async _0x4a5118=>{const _0x4c3d3c=_0x4f069f,_0x4ef703={'XfZcf':'Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','aFVHM':function(_0x723679,_0x1797de,_0x12ca4e){return _0x4217cb['WSwyG'](_0x723679,_0x1797de,_0x12ca4e);},'uADnQ':_0x4c3d3c(0x26a),'AIQyg':_0x4217cb[_0x4c3d3c(0x249)]};await withTelemetry(_0x4217cb['EMGah'],async()=>{const _0x11e208=_0x4c3d3c,_0x23b7bd=process['env']['RANGER_TEST_USERNAME'],_0x121771=process['env'][_0x11e208(0x194)];(!_0x23b7bd||!_0x121771)&&(console[_0x11e208(0x2a2)](_0x4ef703['XfZcf']),process['exit'](0x1));const _0x291001=_0x4a5118['name'],_0x5656c6=await _0x4ef703['aFVHM'](serverSideLogin,_0x291001,{'force':!![]});_0x5656c6['status']===_0x4ef703[_0x11e208(0x226)]&&(console[_0x11e208(0x2a2)]('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process['exit'](0x1)),_0x5656c6['status']==='failed'&&(console['error'](_0x11e208(0x17d)+(_0x5656c6['error']??_0x4ef703['AIQyg'])),_0x5656c6[_0x11e208(0x262)]&&console['error'](_0x5656c6['test_output']),process[_0x11e208(0x266)](0x1)),console[_0x11e208(0x1f9)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x291001+'\x27.\x20Session\x20saved.');});})['command'](_0x4ea421[_0x4f069f(0x2f7)],![],_0x417d72=>{const _0x39ff9e=_0x4f069f;return _0x417d72[_0x39ff9e(0x229)](_0x39ff9e(0x177),{'type':_0x39ff9e(0x18a),'description':_0x39ff9e(0x2f2)})[_0x39ff9e(0x1be)](_0x39ff9e(0x238),{'type':'boolean','description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})['option'](_0x39ff9e(0x153),{'type':_0x39ff9e(0x211),'description':_0x39ff9e(0x19c),'default':![]})['option'](_0x4ea421['xBybv'],{'type':'boolean','alias':'y','description':_0x39ff9e(0x2d4),'default':![]})[_0x39ff9e(0x1be)](_0x4ea421['tVbxv'],{'type':_0x4ea421['NlDbh'],'description':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','default':![]});},async _0x564c34=>{const _0x108f96=_0x4f069f;await _0x4ea421[_0x108f96(0x2a5)](withTelemetry,'profile\x20migrate',_0x19f06e=>migrateProfile({'profileName':_0x564c34[_0x108f96(0x177)],'all':_0x564c34['all'],'dryRun':_0x564c34[_0x108f96(0x153)],'yes':_0x564c34[_0x108f96(0x2b7)],'saveCreds':_0x564c34[_0x108f96(0x1b2)]},_0x19f06e));})['command'](_0x4ea421[_0x4f069f(0x30c)],_0x4ea421[_0x4f069f(0x287)],_0x1e63b3=>{const _0x51e677=_0x4f069f,_0x5c4a51={'uEPCg':_0x4ea421['GhgRU'],'BjyRz':'string','ugehu':_0x4ea421[_0x51e677(0x1c2)],'kcqjI':_0x51e677(0x17c),'tIzoJ':_0x4ea421['SFpiF']};return _0x1e63b3['usage'](PROFILE_CONFIG_HELP)['command'](_0x51e677(0x2a6),_0x4ea421['cyvmf'],_0x29eaf4=>{const _0x544be2=_0x51e677;return _0x29eaf4[_0x544be2(0x229)](_0x5c4a51[_0x544be2(0x1f6)],{'type':_0x5c4a51['BjyRz'],'description':_0x5c4a51[_0x544be2(0x277)],'demandOption':!![]})[_0x544be2(0x229)]('key',{'type':'string','description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})[_0x544be2(0x229)](_0x5c4a51['kcqjI'],{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0xded1b=>{const _0x1dfbe9=_0x51e677;await withTelemetry(_0x1dfbe9(0x24f),()=>configSet(_0xded1b['profile'],_0xded1b['key'],_0xded1b[_0x1dfbe9(0x17c)]));})[_0x51e677(0x2ba)](_0x4ea421['VxJbM'],_0x4ea421[_0x51e677(0x184)],_0x3fe107=>{const _0x148f2e=_0x51e677;return _0x3fe107[_0x148f2e(0x229)](_0x148f2e(0x179),{'type':_0x4217cb['AcsSy'],'description':_0x4217cb[_0x148f2e(0x23e)],'demandOption':!![]})['positional']('key',{'type':'string','description':_0x4217cb['IsoBW'],'demandOption':!![]});},async _0xe5fa83=>{const _0x329433=_0x51e677;await _0x4217cb[_0x329433(0x1b0)](withTelemetry,_0x4217cb['sITuM'],()=>configGet(_0xe5fa83['profile'],_0xe5fa83['key']));})[_0x51e677(0x2ba)](_0x4ea421[_0x51e677(0x23a)],_0x4ea421[_0x51e677(0x280)],_0x2b9302=>{const _0x3ef563=_0x51e677;return _0x2b9302[_0x3ef563(0x229)](_0x4217cb[_0x3ef563(0x1e1)],{'type':_0x3ef563(0x18a),'description':_0x3ef563(0x2d7),'demandOption':!![]});},async _0x15aaa4=>{await _0x4217cb['zNyur'](withTelemetry,_0x4217cb['PJYEr'],()=>configList(_0x15aaa4['profile']));})[_0x51e677(0x2ba)](_0x4ea421[_0x51e677(0x158)],'Remove\x20a\x20config\x20value',_0x21bcb0=>{const _0x59af2b=_0x51e677;return _0x21bcb0[_0x59af2b(0x229)]('profile',{'type':_0x59af2b(0x18a),'description':'Profile\x20name','demandOption':!![]})['positional'](_0x4217cb['edsKL'],{'type':_0x4217cb['AcsSy'],'description':_0x4217cb['isOer'],'demandOption':!![]});},async _0x606deb=>{const _0x56aa93=_0x51e677;await withTelemetry(_0x5c4a51[_0x56aa93(0x2ef)],()=>configUnset(_0x606deb['profile'],_0x606deb['key']));})['command']('reset\x20<profile>',_0x4ea421['FMucV'],_0x16269c=>{const _0x556544=_0x51e677;return _0x16269c['positional']('profile',{'type':_0x556544(0x18a),'description':_0x4217cb[_0x556544(0x23e)],'demandOption':!![]});},async _0x15a1c2=>{const _0x42ab25=_0x51e677;await withTelemetry(_0x42ab25(0x1a6),()=>configReset(_0x15a1c2['profile']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})[_0x4f069f(0x157)](0x1,_0x4ea421[_0x4f069f(0x14f)]);})['command'](_0x11c8dc(0x1dc),_0x11c8dc(0x251),()=>{},async()=>{const _0x30df08=_0x11c8dc;await withTelemetry(_0x4ea421[_0x30df08(0x167)],()=>status());})[_0x11c8dc(0x2ba)](_0x4ea421['Vbrtk'],_0x4ea421['xCgzT'],()=>{},async()=>{const _0x28290b=_0x11c8dc;await withTelemetry(_0x4ea421[_0x28290b(0x203)],()=>update());})[_0x11c8dc(0x2ba)](_0x4ea421['GDYmq'],_0x4ea421['AXUsZ'],()=>{},async()=>{await _0x4ea421['bgPpD'](withTelemetry,'print-access-token',async()=>{const _0x5eb602=_0xd8f6,_0x4b55fe=await _0x4ea421[_0x5eb602(0x1c1)](getToken);if(!_0x4b55fe)throw new Error(_0x5eb602(0x318));console['log'](_0x4b55fe);});})[_0x11c8dc(0x2ba)]('go',_0x4ea421['mgrBf'],_0x326080=>{const _0x223c06=_0x11c8dc;return _0x326080['option']('feature',{'type':_0x223c06(0x18a),'description':_0x4ea421['kutrV']})['option']('profile',{'type':_0x223c06(0x18a),'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)'})['option']('notes',{'type':_0x223c06(0x18a),'description':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)'})['option'](_0x223c06(0x284),{'type':'string','description':_0x4ea421['Xjvke']})['option'](_0x4ea421['atQvJ'],{'type':_0x223c06(0x172),'description':_0x223c06(0x176)})[_0x223c06(0x1be)](_0x223c06(0x288),{'type':_0x4ea421[_0x223c06(0x209)],'description':_0x4ea421[_0x223c06(0x2de)]})['option']('base-url',{'type':_0x223c06(0x18a),'description':_0x4ea421[_0x223c06(0x250)]})[_0x223c06(0x1be)](_0x4ea421[_0x223c06(0x1d1)],{'type':_0x4ea421['yjzTR'],'description':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.'})['option'](_0x4ea421[_0x223c06(0x30a)],{'type':_0x4ea421['NlDbh'],'description':_0x223c06(0x18b),'default':![]})['option'](_0x4ea421[_0x223c06(0x168)],{'type':_0x4ea421['yjzTR'],'array':!![],'alias':_0x4ea421[_0x223c06(0x28e)],'description':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.'})['option'](_0x4ea421['LyaWw'],{'type':_0x4ea421['NlDbh'],'description':_0x4ea421[_0x223c06(0x225)],'default':![]})['option']('debug-outcome',{'type':'string','hidden':!![],'choices':[_0x4ea421[_0x223c06(0x28b)],_0x223c06(0x24a),_0x223c06(0x2a9),'failed',_0x4ea421[_0x223c06(0x19b)]]})[_0x223c06(0x1be)](_0x223c06(0x2fe),{'type':'boolean','hidden':!![]})['option'](_0x4ea421['iOYQX'],{'type':_0x4ea421[_0x223c06(0x209)],'description':_0x4ea421['yMtOf']})[_0x223c06(0x1be)](_0x4ea421[_0x223c06(0x276)],{'type':'string','hidden':!![]})['option']('item',{'type':_0x223c06(0x172),'hidden':!![]});},async _0x267fa2=>{await runGoCommand(_0x267fa2);})['command'](_0x4ea421['kUBez'],![],_0x190e32=>{const _0x17b0b6=_0x11c8dc,_0xc188c1={'HolbR':_0x4ea421[_0x17b0b6(0x1c2)],'zdgQJ':function(_0x245cb6,_0x30a939,_0x5135cb){return _0x245cb6(_0x30a939,_0x5135cb);},'Dgliu':_0x17b0b6(0x1f5)};return _0x190e32[_0x17b0b6(0x2ba)]('encrypt\x20<profile>',![],_0x3e0de6=>{const _0x7f1691=_0x17b0b6;return _0x3e0de6['positional']('profile',{'type':'string','description':_0xc188c1[_0x7f1691(0x254)],'demandOption':!![]});},async _0x1fcd95=>{const _0x5deead=_0x17b0b6;_0xc188c1['zdgQJ'](warnRenamed,_0x5deead(0x189),_0xc188c1[_0x5deead(0x21e)]),await authEncrypt(_0x1fcd95[_0x5deead(0x179)]);})[_0x17b0b6(0x157)](0x1,_0x4ea421[_0x17b0b6(0x292)]);},()=>{})['command']('start\x20[token]',![],_0x1e791d=>{const _0x28145b=_0x11c8dc;return _0x1e791d[_0x28145b(0x229)]('token',{'type':_0x28145b(0x18a),'description':_0x28145b(0x259)})['option'](_0x28145b(0x162),{'type':_0x28145b(0x211),'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x28145b(0x1be)](_0x4ea421['pxsxh'],{'type':'string','choices':[_0x4ea421[_0x28145b(0x188)]],'hidden':!![],'description':_0x4ea421['OcBfD']})['option'](_0x28145b(0x1eb),{'type':'string','description':_0x4ea421['MFGaD']})['option'](_0x4ea421[_0x28145b(0x186)],{'type':_0x4ea421['NlDbh'],'description':_0x28145b(0x2e5),'default':![]})['option']('skip-auth',{'type':_0x4ea421['NlDbh'],'description':_0x28145b(0x1ef),'default':![]})['option']('with-deps',{'type':_0x28145b(0x211),'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]});},async _0x580f5c=>{const _0x99b5f=_0x11c8dc;warnRenamed('ranger\x20start',_0x4ea421[_0x99b5f(0x1f3)]),await _0x4ea421['Xkhgb'](withTelemetry,'start',_0x21d724=>start(_0x580f5c[_0x99b5f(0x166)],{'skipChromium':_0x580f5c['skip-chromium'],'skipAuth':_0x580f5c['skip-auth'],'withDeps':_0x580f5c['with-deps'],'scope':_0x580f5c['scope'],'url':_0x580f5c[_0x99b5f(0x1eb)],'force':_0x580f5c['force']},_0x21d724));})['command'](_0x4ea421['Bpelc'],![],_0x237a1f=>{const _0x187fc2=_0x11c8dc;return _0x237a1f[_0x187fc2(0x1be)]('env',{'type':_0x187fc2(0x18a),'description':_0x4ea421['pDZez']})['option'](_0x4ea421[_0x187fc2(0x276)],{'type':_0x187fc2(0x18a),'description':_0x4ea421['PIOko']})['option'](_0x4ea421['BUerT'],{'type':_0x4ea421[_0x187fc2(0x218)],'description':_0x187fc2(0x176)})[_0x187fc2(0x1be)](_0x4ea421[_0x187fc2(0x192)],{'type':_0x187fc2(0x18a),'hidden':!![]})['option']('notes',{'type':_0x187fc2(0x18a),'hidden':!![]})['option'](_0x187fc2(0x1ec),{'type':_0x4ea421[_0x187fc2(0x218)],'hidden':!![]})['option'](_0x187fc2(0x288),{'type':_0x4ea421['yjzTR'],'description':_0x187fc2(0x293)})['option'](_0x4ea421['HACQV'],{'type':'string','description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})['option'](_0x4ea421['DHzGr'],{'type':_0x187fc2(0x18a),'hidden':!![]})[_0x187fc2(0x1be)](_0x187fc2(0x25c),{'type':'boolean','hidden':!![],'default':![]})['option'](_0x4ea421['vwznP'],{'type':_0x187fc2(0x18a),'array':!![],'alias':_0x187fc2(0x2f5),'hidden':!![]})[_0x187fc2(0x1be)](_0x4ea421['TtryD'],{'type':'string','hidden':!![],'choices':[_0x187fc2(0x2fc),'partial',_0x187fc2(0x2a9),_0x187fc2(0x24d),'incomplete']});},async _0x2bf0f7=>{await runGoCommand(_0x2bf0f7,!![]);})['command'](_0x4ea421[_0x11c8dc(0x2c2)],![],_0x3555dc=>{const _0x441dd1=_0x11c8dc;return _0x3555dc[_0x441dd1(0x229)]('env-name',{'type':'string','description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x441dd1(0x1be)]('ci',{'type':_0x441dd1(0x211),'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})[_0x441dd1(0x1be)]('skip-auth',{'type':_0x441dd1(0x211),'description':_0x4ea421[_0x441dd1(0x272)],'default':![]});},async _0x135cbe=>{const _0x496cf1=_0x11c8dc;_0x4ea421[_0x496cf1(0x2a8)](warnRenamed,_0x4ea421[_0x496cf1(0x1de)],_0x4ea421[_0x496cf1(0x19e)]),await _0x4ea421['BhlHN'](withTelemetry,_0x4ea421[_0x496cf1(0x15a)],_0x40af64=>addEnv(_0x135cbe['env-name'],{'ci':_0x135cbe['ci'],'skipAuth':_0x135cbe[_0x496cf1(0x2d2)]},_0x40af64));})['command'](_0x4ea421[_0x11c8dc(0x2fd)],![],_0x38052c=>{const _0x56abcf=_0x11c8dc;return _0x38052c['positional']('env-name',{'type':_0x4ea421[_0x56abcf(0x209)],'description':_0x4ea421[_0x56abcf(0x1c0)],'demandOption':!![]});},async _0x308076=>{const _0x246628=_0x11c8dc;_0x4ea421['yAReA'](warnRenamed,'ranger\x20use',_0x4ea421[_0x246628(0x2c5)]),await _0x4ea421[_0x246628(0x21b)](withTelemetry,'use',()=>useEnv(_0x308076[_0x246628(0x1f0)]));})[_0x11c8dc(0x2ba)](_0x4ea421['tKkIY'],![],_0x416647=>{const _0x32a6af=_0x11c8dc,_0x3b4582={'QVPOw':'string','jMiDC':'Environment\x20name','bWZLH':_0x4ea421[_0x32a6af(0x193)],'EztbQ':'value','YuSKa':_0x32a6af(0x18e),'pAXAX':function(_0x5c3b1c,_0x1ddbbb,_0x55d3ee){return _0x5c3b1c(_0x1ddbbb,_0x55d3ee);},'nDXfQ':'ranger\x20config\x20set','MhjIh':function(_0x424af7,_0x5ee21a,_0x1cab84){return _0x424af7(_0x5ee21a,_0x1cab84);}};return _0x416647['command'](_0x4ea421[_0x32a6af(0x1b8)],![],_0x2be4ca=>{const _0x45522d=_0x32a6af;return _0x2be4ca['positional']('env',{'type':_0x3b4582[_0x45522d(0x198)],'description':_0x3b4582[_0x45522d(0x181)],'demandOption':!![]})['positional'](_0x45522d(0x22c),{'type':_0x3b4582['QVPOw'],'description':_0x3b4582['bWZLH'],'demandOption':!![]})['positional'](_0x3b4582['EztbQ'],{'type':_0x3b4582[_0x45522d(0x198)],'description':_0x3b4582['YuSKa'],'demandOption':!![]});},async _0x28923e=>{const _0x127c6b=_0x32a6af;_0x3b4582['pAXAX'](warnRenamed,_0x3b4582[_0x127c6b(0x1d9)],_0x127c6b(0x2f9)),await withTelemetry(_0x127c6b(0x286),()=>configSet(_0x28923e[_0x127c6b(0x161)],_0x28923e['key'],_0x28923e['value']));})['command'](_0x4ea421[_0x32a6af(0x2a0)],![],_0x3fc9d5=>{const _0x56e00c=_0x32a6af;return _0x3fc9d5[_0x56e00c(0x229)](_0x4ea421['iOYQX'],{'type':_0x4ea421['yjzTR'],'description':_0x4ea421[_0x56e00c(0x28f)],'demandOption':!![]})[_0x56e00c(0x229)](_0x4ea421[_0x56e00c(0x23d)],{'type':_0x4ea421['yjzTR'],'description':_0x4ea421['DYdWq'],'demandOption':!![]});},async _0x3d59db=>{const _0x488700=_0x32a6af;_0x4ea421[_0x488700(0x263)](warnRenamed,_0x4ea421[_0x488700(0x207)],_0x4ea421['rNHMu']),await _0x4ea421['ctfzh'](withTelemetry,'config\x20get',()=>configGet(_0x3d59db[_0x488700(0x161)],_0x3d59db[_0x488700(0x22c)]));})['command']('list\x20<env>',![],_0x4c04b3=>{const _0x812686=_0x32a6af;return _0x4c04b3[_0x812686(0x229)](_0x4ea421['iOYQX'],{'type':_0x812686(0x18a),'description':_0x4ea421[_0x812686(0x28f)],'demandOption':!![]});},async _0x47be90=>{const _0x2a6617=_0x32a6af;warnRenamed(_0x4ea421[_0x2a6617(0x2e8)],_0x2a6617(0x17b)),await _0x4ea421['ZKXsy'](withTelemetry,'config\x20list',()=>configList(_0x47be90[_0x2a6617(0x161)]));})['command'](_0x4ea421[_0x32a6af(0x2cc)],![],_0x4bd877=>{const _0x360d38=_0x32a6af;return _0x4bd877[_0x360d38(0x229)](_0x4ea421['iOYQX'],{'type':_0x360d38(0x18a),'description':_0x4ea421[_0x360d38(0x28f)],'demandOption':!![]})['positional'](_0x360d38(0x22c),{'type':_0x360d38(0x18a),'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x24d1c4=>{const _0x3f91f3=_0x32a6af;_0x3b4582['pAXAX'](warnRenamed,_0x3f91f3(0x17e),_0x3f91f3(0x29b)),await _0x3b4582[_0x3f91f3(0x281)](withTelemetry,_0x3f91f3(0x1a7),()=>configUnset(_0x24d1c4[_0x3f91f3(0x161)],_0x24d1c4[_0x3f91f3(0x22c)]));})[_0x32a6af(0x157)](0x1,'You\x20must\x20specify\x20a\x20config\x20subcommand');})['command'](_0x4ea421[_0x11c8dc(0x315)],![],_0x54e316=>{const _0x2af32b=_0x11c8dc;return _0x54e316['command']('ls',![],()=>{},async()=>{const _0x25ed79=_0xd8f6;_0x4ea421[_0x25ed79(0x219)](warnRenamed,'ranger\x20env\x20ls',_0x4ea421['yRVyQ']),await withTelemetry(_0x4ea421[_0x25ed79(0x1aa)],()=>envList());})[_0x2af32b(0x2ba)](_0x4ea421['sJKbS'],![],_0x12f40c=>{const _0x16b17e=_0x2af32b;return _0x12f40c[_0x16b17e(0x229)](_0x4ea421[_0x16b17e(0x2e0)],{'type':_0x4ea421[_0x16b17e(0x209)],'description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x1201df=>{const _0x300be3=_0x2af32b;warnRenamed(_0x4ea421['SUuUA'],'ranger\x20profile\x20update'),await _0x4ea421[_0x300be3(0x1b1)](withTelemetry,'env\x20update',_0x4dbeef=>updateEnv(_0x1201df['env-name'],_0x4dbeef));})[_0x2af32b(0x157)](0x1,_0x4ea421['hbwxc']);})['command'](_0x11c8dc(0x2d0),![],_0x5ca55d=>{const _0x211b1e=_0x11c8dc,_0x2edbaa={'XdFHQ':_0x211b1e(0x27a),'TqXMn':_0x211b1e(0x1c9),'YbkXO':_0x4ea421['LrIIH'],'EJkje':_0x4ea421['NlDbh'],'MyznW':'number','vqedb':_0x211b1e(0x1ba),'QcXsx':_0x4ea421[_0x211b1e(0x173)],'KsdWW':_0x211b1e(0x1ae),'xfHoW':_0x211b1e(0x2b3),'MNExq':function(_0x3bd94e,_0x11bf2a,_0x3eb99c){return _0x3bd94e(_0x11bf2a,_0x3eb99c);},'nihqn':_0x211b1e(0x2c9),'kgARP':_0x211b1e(0x2b0),'bJKKR':_0x4ea421[_0x211b1e(0x209)],'ojZAJ':_0x4ea421['xTfCE'],'mpLIz':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','mFuCJ':function(_0x35c4bf,_0x264b4d,_0x26c351){const _0x20121d=_0x211b1e;return _0x4ea421[_0x20121d(0x263)](_0x35c4bf,_0x264b4d,_0x26c351);},'zNwGF':_0x4ea421[_0x211b1e(0x2af)],'CERjO':_0x211b1e(0x2b2),'HRUGB':function(_0x50c3d0,_0xf038c3,_0x3988cd){return _0x50c3d0(_0xf038c3,_0x3988cd);},'zqrGN':'ranger\x20feature\x20delete','aDBfp':_0x4ea421[_0x211b1e(0x1a8)],'GroWd':_0x4ea421[_0x211b1e(0x1a2)]};return _0x5ca55d['command']('create\x20<name>',![],_0x38afbf=>{const _0x12e236=_0x211b1e;return _0x38afbf[_0x12e236(0x229)](_0x12e236(0x285),{'type':_0x4ea421['yjzTR'],'description':_0x12e236(0x1fd),'demandOption':!![]})['option']('description',{'type':_0x12e236(0x18a),'alias':'d','description':_0x12e236(0x21d)})[_0x12e236(0x1be)]('checklist',{'type':_0x4ea421[_0x12e236(0x319)],'alias':'c','description':_0x4ea421[_0x12e236(0x16d)]})[_0x12e236(0x1be)]('scenario',{'type':'array','hidden':!![]});},async _0x1b1103=>{const _0x322580=_0x211b1e;warnRenamed(_0x2edbaa[_0x322580(0x2ff)],'ranger\x20create'),warnFlagRenamed('ranger\x20create',_0x2edbaa[_0x322580(0x2ca)],_0x2edbaa[_0x322580(0x2c0)]);const _0x502988=_0x1b1103['scenario']||_0x1b1103['checklist'];await withTelemetry(_0x322580(0x191),()=>featureCreate(_0x1b1103['name'],{'description':_0x1b1103['description'],'scenarios':_0x502988}));})[_0x211b1e(0x2ba)]('list',![],_0x1747d1=>{const _0x212703=_0x211b1e;return _0x1747d1[_0x212703(0x1be)](_0x212703(0x18c),{'type':_0x2edbaa['EJkje'],'description':_0x212703(0x2cd)})['option']('limit',{'type':_0x2edbaa['MyznW'],'alias':'l','description':_0x2edbaa[_0x212703(0x18d)],'default':0xa})['option'](_0x2edbaa[_0x212703(0x278)],{'type':_0x2edbaa[_0x212703(0x15f)],'alias':'o','description':_0x212703(0x1bd),'default':0x0})['option'](_0x2edbaa[_0x212703(0x19d)],{'type':_0x2edbaa[_0x212703(0x1af)],'alias':'d','description':_0x2edbaa['xfHoW'],'default':![]});},async _0x314e2e=>{const _0x37b913=_0x211b1e;_0x4ea421[_0x37b913(0x31d)](warnRenamed,_0x37b913(0x1d4),_0x4ea421[_0x37b913(0x16e)]),await withTelemetry('feature\x20list',()=>featureList({'currentBranch':_0x314e2e[_0x37b913(0x18c)],'limit':_0x314e2e['limit'],'offset':_0x314e2e['offset'],'includeDeleted':_0x314e2e[_0x37b913(0x1ae)]}));})['command']('show\x20[id]',![],_0x201f10=>{const _0x135be9=_0x211b1e;return _0x201f10[_0x135be9(0x229)]('id',{'type':_0x135be9(0x18a),'description':_0x135be9(0x316)});},async _0x5776e3=>{const _0x3f9e2d=_0x211b1e;_0x4ea421['EAlWD'](warnRenamed,_0x4ea421['wzELl'],'ranger\x20show'),await withTelemetry(_0x3f9e2d(0x197),()=>featureShow(_0x5776e3['id']));})['command'](_0x4ea421['oeiKy'],![],_0x232ee7=>{const _0x216e11=_0x211b1e;return _0x232ee7['positional']('id',{'type':_0x216e11(0x18a),'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x4ae271=>{const _0x44bfaa=_0x211b1e;_0x2edbaa['MNExq'](warnRenamed,_0x2edbaa['nihqn'],_0x44bfaa(0x2d5)),await withTelemetry(_0x2edbaa['kgARP'],()=>featureResume(_0x4ae271['id']));})[_0x211b1e(0x2ba)](_0x211b1e(0x1ac),![],_0x164791=>{const _0x27e4b8=_0x211b1e;return _0x164791['positional'](_0x27e4b8(0x302),{'type':_0x2edbaa[_0x27e4b8(0x308)],'description':_0x2edbaa['ojZAJ'],'demandOption':!![]})[_0x27e4b8(0x1be)]('id',{'type':_0x27e4b8(0x18a),'description':_0x2edbaa['mpLIz']});},async _0x57672b=>{const _0x362750=_0x211b1e;_0x2edbaa[_0x362750(0x171)](warnRenamed,_0x2edbaa[_0x362750(0x221)],_0x2edbaa[_0x362750(0x1e2)]),await _0x2edbaa['MNExq'](withTelemetry,_0x362750(0x2f8),()=>featureAddScenario(_0x57672b[_0x362750(0x302)],_0x57672b['id']));})[_0x211b1e(0x2ba)](_0x4ea421[_0x211b1e(0x222)],![],_0x221268=>{const _0x4bf18e=_0x211b1e;return _0x221268['positional']('id',{'type':_0x4bf18e(0x18a),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x4224ba=>{const _0x3d2329=_0x211b1e;_0x2edbaa[_0x3d2329(0x159)](warnRenamed,'ranger\x20feature\x20get-feedback',_0x3d2329(0x245)),await _0x2edbaa[_0x3d2329(0x1d5)](withTelemetry,_0x3d2329(0x20c),()=>featureGetReview(_0x4224ba['id']));})['command'](_0x211b1e(0x2df),![],_0x8d1cab=>{const _0x5a98bd=_0x211b1e;return _0x8d1cab['positional']('id',{'type':_0x5a98bd(0x18a),'description':_0x5a98bd(0x316)});},async _0x406cce=>{_0x2edbaa['HRUGB'](warnRenamed,_0x2edbaa['zqrGN'],_0x2edbaa['aDBfp']),await withTelemetry(_0x2edbaa['GroWd'],()=>featureDelete(_0x406cce['id']));})[_0x211b1e(0x2ba)](_0x4ea421[_0x211b1e(0x234)],![],_0x5169f7=>{const _0x28b4b9=_0x211b1e;return _0x5169f7['positional']('id',{'type':_0x28b4b9(0x18a),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x32aac0=>{const _0x32a748=_0x211b1e;_0x2edbaa[_0x32a748(0x1d5)](warnRenamed,'ranger\x20feature\x20restore',_0x32a748(0x16b)),await _0x2edbaa[_0x32a748(0x1d5)](withTelemetry,'feature\x20restore',()=>featureRestore(_0x32aac0['id']));})[_0x211b1e(0x157)](0x1,_0x4ea421['gvQNn']);})['command']('hook',![],_0xf8052a=>{const _0x4a7f5c=_0x11c8dc,_0xc36567={'hROzX':_0x4ea421[_0x4a7f5c(0x31b)],'nBeDl':'string','mPBFo':_0x4ea421['nSgxM']};return _0xf8052a[_0x4a7f5c(0x2ba)](_0x4ea421[_0x4a7f5c(0x244)],_0x4ea421['hYhop'],_0x3d29e4=>{const _0x11c71f=_0x4a7f5c;return _0x3d29e4['option'](_0x4ea421['ijsOm'],{'type':_0x4ea421['yjzTR'],'description':_0x4ea421[_0x11c71f(0x22a)]});},async _0x151c5b=>{const _0x46cb2e=_0x4a7f5c;await withTelemetry(_0x46cb2e(0x311),()=>hook('enable',_0x151c5b['session-id']));})[_0x4a7f5c(0x2ba)](_0x4ea421['WeACA'],_0x4ea421['VDPSV'],_0xa399ff=>{const _0x1e67fa=_0x4a7f5c;return _0xa399ff['option'](_0xc36567['hROzX'],{'type':_0xc36567['nBeDl'],'description':_0xc36567[_0x1e67fa(0x1c3)]});},async _0x423fb1=>{const _0x51115f=_0x4a7f5c;await _0x4ea421[_0x51115f(0x2b8)](withTelemetry,_0x4ea421['SzmTY'],()=>hook(_0x51115f(0x231),_0x423fb1['session-id']));})[_0x4a7f5c(0x1be)](_0x4ea421['zoNJg'],{'type':_0x4ea421['yjzTR'],'description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})[_0x4a7f5c(0x1be)](_0x4ea421[_0x4a7f5c(0x31b)],{'type':_0x4a7f5c(0x18a),'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x3f09a8=>{const _0x5b244f=_0x11c8dc;_0x3f09a8['name']&&await hook(_0x3f09a8[_0x5b244f(0x285)],_0x3f09a8[_0x4ea421['ijsOm']]);})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20command')['strictCommands']()['fail'](async(_0x740783,_0x52bcb6,_0x16fdb6)=>{const _0x222555=_0x11c8dc,_0x375c45=sanitizeArgs(process['argv']['slice'](0x2)),_0x5e1669=getErrorType(_0x740783,_0x52bcb6);if(_0x740783&&_0x740783['includes'](_0x4ea421[_0x222555(0x1a5)])){const _0x41a048=process['argv'][0x2];console['error'](_0x222555(0x202)+_0x41a048),console[_0x222555(0x2a2)](_0x4ea421['VEaYK']);}else{if(_0x740783)console['error']('\x0a'+_0x740783+'\x0a');else _0x52bcb6&&console[_0x222555(0x2a2)]('\x0aError:\x20'+_0x52bcb6['message']+'\x0a');}await _0x4ea421[_0x222555(0x257)](logDesirePath,{'rawCommand':_0x375c45,'errorMessage':_0x740783||_0x52bcb6?.['message'],'errorType':_0x5e1669});const _0x119db2=getCurrentCollector();_0x119db2&&await _0x119db2['trackCommandError'](_0x52bcb6||new Error(_0x4ea421[_0x222555(0x2bb)](_0x740783,'Unknown\x20error'))),process['exit'](0x1);})[_0x11c8dc(0x2ae)](_0x4ea421[_0x11c8dc(0x235)]+'\x20\x20https://docs.ranger.net\x0a'+_0x11c8dc(0x28c))[_0x11c8dc(0x28a)]()['alias']('help','h');}process['env']['NODE_ENV']!=='test'&&(shouldShowLegacyWarning(process[_0xcffea2(0x1cb)])&&showLegacyDeprecationWarning(),buildParser()['parse']());
|