@ranger-testing/ranger-cli 3.1.6 → 3.1.7-alpha.62f152a-54
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 +1 -1
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 _0x22b25c=_0x5a11;(function(_0x3b9d89,_0x5b077e){const _0xd459a9=_0x5a11,_0x41c75d=_0x3b9d89();while(!![]){try{const _0x5ea0de=parseInt(_0xd459a9(0x2e5))/0x1*(parseInt(_0xd459a9(0x1e3))/0x2)+-parseInt(_0xd459a9(0x28e))/0x3+-parseInt(_0xd459a9(0x202))/0x4+-parseInt(_0xd459a9(0x29a))/0x5*(-parseInt(_0xd459a9(0x1f3))/0x6)+parseInt(_0xd459a9(0x27b))/0x7*(-parseInt(_0xd459a9(0x2db))/0x8)+-parseInt(_0xd459a9(0x329))/0x9*(parseInt(_0xd459a9(0x2d2))/0xa)+parseInt(_0xd459a9(0x1e0))/0xb*(parseInt(_0xd459a9(0x1d4))/0xc);if(_0x5ea0de===_0x5b077e)break;else _0x41c75d['push'](_0x41c75d['shift']());}catch(_0x11fa92){_0x41c75d['push'](_0x41c75d['shift']());}}}(_0x5acd,0x42c19));import _0x58df0f from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x422724=_0x5a11,_0x59ef8e={'oRWsc':function(_0x5336e7,_0x33b6f0){return _0x5336e7(_0x33b6f0);},'gcbTh':function(_0x3f30d5,_0x12eb9a,_0x55daf0){return _0x3f30d5(_0x12eb9a,_0x55daf0);},'UhZZp':function(_0x3b411c,_0x2408e9,_0x572db9){return _0x3b411c(_0x2408e9,_0x572db9);}};let _0x19a999=process['cwd']();const _0x25287c=_0x59ef8e['oRWsc'](parse,_0x19a999)['root'];while(_0x19a999!==_0x25287c){if(existsSync(_0x59ef8e['gcbTh'](join,_0x19a999,_0x422724(0x31b)))||_0x59ef8e[_0x422724(0x21b)](existsSync,_0x59ef8e[_0x422724(0x2f1)](join,_0x19a999,'.env')))return _0x19a999;_0x19a999=_0x59ef8e['oRWsc'](dirname,_0x19a999);}return process[_0x422724(0x353)]();}_0x58df0f[_0x22b25c(0x1c0)]({'path':join(findProjectRoot(),'.env')});import _0x292da8 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';function _0x5acd(){const _0x5464a6=['sjxnv','Authenticate\x20via\x20MCP\x20proxy','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','gOOTC','Install\x20skills\x20for\x20OpenCode','kZOsd','config','ranger\x20show','plOOT','WENFC','item','PwNZF','VWvqm','env-name','efgXq','Number\x20of\x20feature\x20reviews\x20to\x20skip','TDFTv','IqHDe','Feature\x20review\x20name','Feature\x20review\x20description','deps','DeQVB','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','PMEoV','6480828ITdssg','--env','cAbIv','YYWwU','ObKEQ','ranger\x20go','edit-scenario','update','create\x20<name>','Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','Rqurc','ewrSJ','11dZxEIq','playwright-cli','RANGER_TEST_USERNAME','23300dPxHIr','ukdaC','fail','ranger\x20create','JeDtJ','delete\x20[id]','Example:\x20ranger\x20create\x20my-feature','auth','Login\x20failed:\x20','yrfLV','strictCommands','qZGyO','YzWlZ','list','OfoTk','feature','6VkTXsF','aiQwU','UaIwu','louWI','verified','\x0aError:\x20','Zmwjp','RANGER_AUTH_ENV','keRYz','organizationName','startsWith','chEex','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','You\x20must\x20specify\x20a\x20profile\x20subcommand','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','1395060NmaYDL','start-path','drqzU','enable','tokenOrSubcommand','ranger\x20feature\x20delete','name','include-deleted','njLDo','Skip\x20the\x20deletion\x20confirmation\x20prompt.','WbMZb','WVBDE','\x20INCOMPLETE','UxTzU','jpsFG','blocked','clean','wmvAJ','CrJhF','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','positional','headed','--item','feature\x20add-checklist-item','scope','oRWsc','option','nZwPJ','dry-run','bpqiJ','get\x20<profile>\x20<key>','ioJON','CqKOr','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','TAAtd','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','env\x20list','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','repeat','exit','Install\x20Ranger\x20skills','unknown\x20error','oKtVx','rvpsj','Config\x20key\x20to\x20remove','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','array','edit-scenario\x20<description>','wVLIn','qMlta','restore\x20<id>','BFfPY','slice','jchNg','--scenario','add-checklist-item\x20<description>','ranger\x20auth\x20encrypt','dyvEh','GAtks','partial','iwVez','resume\x20[id]','jGjaI','allow-url-mismatch','lloHo','description','TBAoB','argv','bliry','incomplete','notes','OnhNE','Summary:\x20','PeYSB','XLESb','FFOOq','env','RTkrI','CzUlJ','offset','delete','demandCommand','cwTYL','EYXuA','tfIKq','login\x20<name>','yzdGf','debug-outcome','JTvhv','ranger\x20list','ranger\x20add\x20env','Lwjkb','GRMfx','wQoiz','\x20BLOCKED','QMyDz','isArray','CVqty','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','oXZQR','limit','setup\x20[tokenOrSubcommand]','ZxPfn','miXXA','RyxbS','wTSBN','qFdkr','tRBBa','print-access-token','kEahD','ImuID','boolean','unset\x20<env>\x20<key>','scriptName','ranger\x20env\x20ls','ranger','debug-address-comments','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','help','1948254phrcOz','skip-chromium','zmree','LMupa','KzZZl','sEZRK','JKmYQ','HBBtd','\x27.\x20Session\x20saved.','epMFp','feature\x20delete','add\x20env','Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.','CcnCB','start','parse','ranger\x20config\x20set','mcp-bootstrap','encrypt-auth\x20<profile>','768036RvvwoO','dmFGY','QUrYG','Feature\x20review\x20ID','add\x20env\x20<env-name>','usage','ranger\x20use','Remove\x20a\x20config\x20value','opencode','Name\x20of\x20the\x20profile','update\x20<profile-name>','CePxe','2382005mVaBgm','jvaaQ','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','LKBoS','profile\x20encrypt-auth','RYBcr','hook:enable','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','tmsoj','zSBRO','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','ujJIN','skip-auth','RZsdB','JoAVU','CfHzT','yOKEP','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201','FYdyg','XnJyA','QLQkc','vWHYn','PXKQS','value','ranger\x20profile\x20encrypt-auth','gHTGc','--notes','yes','wxrcS','VCQkx','task','ranger\x20profile\x20config\x20get','HyMQa','Name\x20of\x20the\x20environment','use\x20<profile-name>','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','mAKIJ','SJuLv','miPEt','lxxyg','TkDPP','eagXa','command','zHHhX','kNNuC','whnLs','scenario','Install\x20OS-level\x20dependencies\x20for\x20Chromium','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','hPQnb','\x0aIssues:','WvaFJ','GxTDm','260wOyDCN','flatMap','weZqH','Authenticate\x20with\x20Ranger','tplWy','profile\x20update','user','map','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','8dgFvXJ','allow-insecure-localhost','status','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','FhhCt','Feature\x20review\x20ID\x20to\x20restore','Scenario\x20description','UxjLb','qVbdZ','HyjxV','39hqOfNc','url','JFnuy','XQkjT','all','List\x20all\x20profiles','profile-name','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','Skip\x20browser\x20authentication','xuaCJ','profile\x20use','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','UhZZp','evaluationReason','filter','RANGER_TEST_PASSWORD','log','BodBY','Profile\x20name','ranger\x20setup','claude','zETfC','summary','NvgAJ','env-var','Include\x20soft-deleted\x20feature\x20reviews','profile\x20config\x20unset','pVtVS','model','YyYsC','force','zsKbT','TnyBP','Manage\x20profiles','issues','hjeLY','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','LkfTe','Install\x20scope\x20for\x20plugin\x20and\x20skills','add-scenario\x20<description>','length','session-id','with-deps','jENQv','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','wtZEw','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','qtLuA','save-creds','SJbaL','--checklist','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','.ranger','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','wQbul','Ranger\x20API\x20token','setup-header','pYbyz','DdHjj','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','cyURh','XUcLF','safe-mode','hGmbS','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','108792WOnMOn','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','--profile','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','dxPMn','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','project','\x20FAILED','ZNbuV','vliIz','NODE_ENV','ranger\x20verify-feature','TEcnI','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','API\x20token','BQIjs','kkYGW','eZmxq','add\x20<profile-name>','CPsHQ','token','Documentation:\x0a','key','profile','current-branch','base-url','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','fOvXO','pXmoJ','KLzyG','GkdLU','HloVW','uLYXU','eGEYz','WfgTJ','LCyOX','get-review\x20[id]','\x20\x20https://docs.ranger.net\x0a','ESKzu','jSIri','cwd','jXzgA','WIuTE','error','wNbdG','mcp','evaluation','.\x20[','Config\x20key','Unknown\x20command','List\x20all\x20config\x20for\x20a\x20profile','NFizt','nfZpf','eTqOQ','skillup','rYOba','lXhvH','qJNuR','\x20is\x20now\x20','FGfap','exitCode','number','ranger\x20resume','vwgKx','hinEw','oLgKm','You\x20must\x20specify\x20a\x20command','get\x20<env>\x20<key>','ranger\x20config\x20unset','dHwkT','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','checklist','fbink','ranger\x20restore','Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','ANXGd','bvMWw','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','IsvrT','string','Name\x20of\x20the\x20environment\x20to\x20update','PoOuF','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','ldOrR','ICllS','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','TqqAn'];_0x5acd=function(){return _0x5464a6;};return _0x5acd();}import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x388460=>{const _0x5aa79e=_0x22b25c,_0x154791={'kEahD':function(_0x6b048b){return _0x6b048b();}},_0x874e0=_0x154791[_0x5aa79e(0x270)](getCurrentCollector);_0x874e0&&await _0x874e0['trackCommandError'](_0x388460),process[_0x5aa79e(0x19f)]=0x1;});const rawArgs=process['argv']['slice'](0x2),TOP_LEVEL_HELP=_0x22b25c(0x287),PROFILE_HELP=_0x22b25c(0x2ad),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201';function warnRenamed(_0x1cecbd,_0xbeb2e0){const _0x577f53=_0x22b25c;console['error']('\x0a'+_0x1cecbd+_0x577f53(0x19d)+_0xbeb2e0+'\x0a');}function argUsed(_0x1fa362){const _0x32e4a9=_0x22b25c;return rawArgs['some'](_0xa4e874=>_0xa4e874===_0x1fa362||_0xa4e874[_0x32e4a9(0x1fd)](_0x1fa362+'='));}function warnFlagRenamed(_0x51769e,_0x4a8e6c,_0xbb0b2e){const _0x136978=_0x22b25c,_0x52d800={'yzdGf':function(_0x2c362c,_0x427cea,_0x20e0a9){return _0x2c362c(_0x427cea,_0x20e0a9);}};argUsed(_0x4a8e6c)&&_0x52d800[_0x136978(0x259)](warnRenamed,_0x51769e+'\x20'+_0x4a8e6c,_0x51769e+'\x20'+_0xbb0b2e);}function normalizeEnvVarNames(_0x52ce34){const _0x280a68=_0x22b25c,_0x59fbf7=Array[_0x280a68(0x263)](_0x52ce34)?_0x52ce34:_0x52ce34?[_0x52ce34]:[];return _0x59fbf7[_0x280a68(0x2d3)](_0x474a39=>String(_0x474a39)['split'](',')[_0x280a68(0x2d9)](_0x157939=>_0x157939['trim']())[_0x280a68(0x2f3)](Boolean));}async function runGoCommand(_0x46e2a4,_0x419ee=![]){const _0x44b303=_0x22b25c,_0x456bc7={'WCCsP':function(_0x278af3,_0x728a0d){return _0x278af3+_0x728a0d;},'NtkUs':function(_0x1280a9,_0x59e9b7,_0x436a00){return _0x1280a9(_0x59e9b7,_0x436a00);},'YYWwU':_0x44b303(0x335),'vcKyJ':_0x44b303(0x1d9),'XZIrJ':function(_0x24fcc9,_0x1b39d1,_0x153dd5,_0xd1b63f){return _0x24fcc9(_0x1b39d1,_0x153dd5,_0xd1b63f);},'WIuTE':_0x44b303(0x1d5),'GxTDm':'--task','lloHo':'env-var','OpJgK':function(_0x119107,_0x23d432){return _0x119107>_0x23d432;},'daKNb':function(_0x2332b2,_0x4ddb3d){return _0x2332b2!==_0x4ddb3d;},'yMYTY':_0x44b303(0x203),'zTrUi':'debug-address-comments','bNQFk':'\x20VERIFIED','eagXa':function(_0x1e8e31,_0x525fb8){return _0x1e8e31===_0x525fb8;},'gOOTC':'incomplete','RyxbS':_0x44b303(0x20e),'GKqDY':'partial','KXwMR':'\x20PARTIAL','eFTTX':'blocked','IisDh':_0x44b303(0x331)};_0x419ee&&(_0x456bc7['NtkUs'](warnRenamed,_0x456bc7[_0x44b303(0x1d7)],_0x456bc7['vcKyJ']),_0x456bc7['XZIrJ'](warnFlagRenamed,'ranger\x20verify-feature',_0x456bc7[_0x44b303(0x355)],_0x44b303(0x32b)));warnFlagRenamed(_0x44b303(0x1d9),_0x456bc7[_0x44b303(0x2d1)],_0x44b303(0x2b6)),_0x456bc7['XZIrJ'](warnFlagRenamed,_0x456bc7['vcKyJ'],_0x44b303(0x218),'--scenario');const _0x32f3a0=await loadRangerConfig(),_0x4875d0=isByokEnabled(),_0x117cb2=_0x46e2a4[_0x44b303(0x301)],_0x32d83b=_0x32f3a0['model'],_0x3d8033=normalizeEnvVarNames(_0x46e2a4[_0x456bc7[_0x44b303(0x243)]]),_0x42d829=getVerificationTransport();if(_0x456bc7['OpJgK'](_0x3d8033['length'],0x0)&&_0x42d829!==_0x44b303(0x1e1)&&_0x456bc7['daKNb'](_0x42d829,'rangerwright-cli'))throw new Error(_0x44b303(0x1ff)+_0x42d829+'.');const _0x16b875=await verifyFeature({'featureId':_0x46e2a4[_0x44b303(0x1f2)],'profile':_0x46e2a4[_0x44b303(0x341)]??(_0x419ee?_0x46e2a4['env']:undefined)??process['env']['RANGER_PROFILE'],'authEnv':_0x419ee?undefined:_0x46e2a4[_0x44b303(0x24f)]??process[_0x44b303(0x24f)][_0x44b303(0x1fa)],'notes':_0x46e2a4[_0x44b303(0x249)]??_0x46e2a4[_0x44b303(0x2ba)],'check':_0x46e2a4['check'],'scenario':_0x46e2a4[_0x44b303(0x2cb)]??_0x46e2a4[_0x44b303(0x1c4)],'startPath':_0x46e2a4[_0x456bc7['yMYTY']],'baseUrl':_0x46e2a4['base-url'],'debugOutcome':_0x46e2a4['debug-outcome'],'debugAddressComments':_0x46e2a4[_0x456bc7['zTrUi']],'headed':_0x46e2a4['headed'],'verifierEnvVars':_0x3d8033,'allowUrlMismatch':_0x46e2a4['allow-url-mismatch'],'byokEnabled':_0x4875d0,'flagVerifyModel':_0x117cb2,'configVerifyModel':_0x32d83b});console['log'](_0x456bc7['WCCsP']('\x0a','='[_0x44b303(0x229)](0x3c))),console['log'](_0x16b875[_0x44b303(0x191)]===_0x44b303(0x1f7)?_0x456bc7['bNQFk']:_0x456bc7[_0x44b303(0x2c6)](_0x16b875[_0x44b303(0x191)],_0x456bc7[_0x44b303(0x1bd)])?_0x456bc7[_0x44b303(0x26b)]:_0x16b875[_0x44b303(0x191)]===_0x456bc7['GKqDY']?_0x456bc7['KXwMR']:_0x16b875[_0x44b303(0x191)]===_0x456bc7['eFTTX']?_0x44b303(0x261):_0x456bc7['IisDh']),console['log']('='['repeat'](0x3c)),console['log'](_0x44b303(0x24b)+_0x16b875[_0x44b303(0x2fb)]),console['log']('Evaluation:\x20'+_0x16b875[_0x44b303(0x191)]),console[_0x44b303(0x2f5)]('Reason:\x20'+_0x16b875[_0x44b303(0x2f2)]),_0x16b875[_0x44b303(0x307)]?.[_0x44b303(0x30e)]&&(console[_0x44b303(0x2f5)](_0x44b303(0x2cf)),_0x16b875[_0x44b303(0x307)]['forEach']((_0x2807f3,_0x317436)=>{const _0x44cd21=_0x44b303;console[_0x44cd21(0x2f5)]('\x0a'+_0x456bc7['WCCsP'](_0x317436,0x1)+_0x44cd21(0x192)+_0x2807f3['severity']+']\x20'+_0x2807f3['description']);})),process[_0x44b303(0x22a)](_0x16b875[_0x44b303(0x191)]===_0x44b303(0x1f7)?0x0:0x1);}export function buildParser(_0x472b23){const _0x43c8ca=_0x22b25c,_0x45072c={'RHTLR':'name','qMlta':'description','aiQwU':'string','PeYSB':_0x43c8ca(0x2f0),'lQApv':'array','EYXuA':_0x43c8ca(0x2ec),'HloVW':_0x43c8ca(0x1e9),'WVBDE':function(_0x13af85,_0x53ba0a,_0x13d9ef,_0x40d29c){return _0x13af85(_0x53ba0a,_0x13d9ef,_0x40d29c);},'KRWEo':_0x43c8ca(0x2bf),'muztG':'limit','BodBY':_0x43c8ca(0x1a0),'IWnrX':_0x43c8ca(0x1c9),'wQbul':_0x43c8ca(0x2fe),'CzUlJ':function(_0x350e8a,_0x1e97d2,_0x11367b){return _0x350e8a(_0x1e97d2,_0x11367b);},'ESKzu':'show','IqHDe':'resume','ZyvzF':'Scenario\x20description','vWHYn':_0x43c8ca(0x2de),'iwVez':function(_0x4c4841,_0x47cd5d,_0xaa6df3){return _0x4c4841(_0x47cd5d,_0xaa6df3);},'fjdhY':'add-scenario','yOKEP':'New\x20scenario\x20description','efgXq':_0x43c8ca(0x2cb),'eLNfA':'Scenario\x20number\x20to\x20edit\x20(1-based)','aXYzm':_0x43c8ca(0x1da),'kNNuC':'exclude-scenario','UxTzU':_0x43c8ca(0x2da),'qVbdZ':'json','TkDPP':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','MZQFn':'get-review','JeDtJ':_0x43c8ca(0x2e0),'jvaaQ':function(_0x217461,_0x58021e,_0xc016bc){return _0x217461(_0x58021e,_0xc016bc);},'GRMfx':'setup:all','qFdkr':_0x43c8ca(0x310),'louWI':'boolean','nfZpf':_0x43c8ca(0x33e),'wVLIn':_0x43c8ca(0x27c),'ujJIN':_0x43c8ca(0x2a4),'ZNbuV':'allow-insecure-localhost','SJuLv':_0x43c8ca(0x32e),'drqzU':_0x43c8ca(0x28c),'uLYXU':_0x43c8ca(0x358),'ncvsv':'Alias\x20for\x20--mcp-bootstrap','hPQnb':'Ranger\x20API\x20token\x20(rngr_...)','Lwjkb':function(_0x3d6d03,_0x2eb6bb){return _0x3d6d03(_0x2eb6bb);},'OIWGD':_0x43c8ca(0x330),'lUmmI':_0x43c8ca(0x30c),'cwTYL':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','VgbUt':'skip-auth','uypmd':'all','GkdLU':'Run\x20full\x20interactive\x20setup','RTkrI':'login','GvhnH':'skills','UxjLb':'profiles','aAAhn':'Set\x20up\x20a\x20local\x20browser\x20profile','dyvEh':'scope','dHwkT':_0x43c8ca(0x2e6),'vVkcd':_0x43c8ca(0x315),'zHHhX':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','rYOba':_0x43c8ca(0x223),'xuaCJ':_0x43c8ca(0x338),'dkjkM':function(_0x1ce21b,_0x2c8ffa,_0x32ed8a){return _0x1ce21b(_0x2c8ffa,_0x32ed8a);},'ywxlG':function(_0x3d7f04,_0x48cb07,_0x334d68){return _0x3d7f04(_0x48cb07,_0x334d68);},'ObKEQ':'profile','MCEEJ':'Skip\x20Chromium\x20browser\x20installation','ukdaC':'setup-ci','HyjxV':function(_0xd2965a,_0x223cb9,_0x35b35a){return _0xd2965a(_0x223cb9,_0x35b35a);},'vwgKx':_0x43c8ca(0x296),'AMDes':function(_0x2366e3,_0x12d458,_0x4a1382){return _0x2366e3(_0x12d458,_0x4a1382);},'uRJWe':_0x43c8ca(0x212),'lCIFT':_0x43c8ca(0x297),'Rqurc':_0x43c8ca(0x2eb),'RZsdB':_0x43c8ca(0x1ad),'TAAtd':_0x43c8ca(0x2b7),'wxrcS':_0x43c8ca(0x20b),'TBAoB':_0x43c8ca(0x2f7),'oKtVx':_0x43c8ca(0x1a9),'wtZEw':_0x43c8ca(0x1dd),'TEcnI':_0x43c8ca(0x2d7),'sjxnv':'cdp-endpoint','kkYGW':_0x43c8ca(0x24f),'WbMZb':_0x43c8ca(0x340),'lGCyn':_0x43c8ca(0x193),'IsvrT':_0x43c8ca(0x295),'wKKYi':'Add\x20profile\x20configuration','Wvwae':_0x43c8ca(0x2be),'gwSzm':'delete\x20<profile-name>','TnyBP':'Delete\x20a\x20cloud\x20profile','jWUBP':_0x43c8ca(0x298),'HNFjs':_0x43c8ca(0x258),'CVqty':'Manage\x20profile\x20configuration','wqYuG':_0x43c8ca(0x2dd),'LkfTe':_0x43c8ca(0x1db),'oXZQR':function(_0x20a277){return _0x20a277();},'qXtbG':function(_0xc6b501,_0x20e97c,_0xf0aa1a){return _0xc6b501(_0x20e97c,_0xf0aa1a);},'XnJyA':_0x43c8ca(0x26f),'KLzyG':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','yaCtE':_0x43c8ca(0x2c0),'fOvXO':'model','xAGKl':'environment-variable','dmFGY':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','PwNZF':_0x43c8ca(0x211),'FQvyK':_0x43c8ca(0x277),'JKmYQ':'Auth\x20environment\x20key\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Used\x20with\x20RANGER_TEST_USERNAME\x20for\x20ad-hoc\x20runs,\x20and\x20with\x20--profile\x20to\x20override\x20that\x20profile\x27s\x20pinned\x20env\x20for\x20this\x20run.\x20Required\x20to\x20run\x20an\x20automated\x20login\x20against\x20a\x20bare-localhost\x20target\x20(localhost\x20/\x20127.0.0.1).\x20Also\x20respects\x20RANGER_AUTH_ENV.','plOOT':_0x43c8ca(0x2ba),'CcnCB':'encrypt\x20<profile>','SJbaL':'You\x20must\x20specify\x20an\x20auth\x20subcommand','tmsoj':_0x43c8ca(0x230),'IbUDz':_0x43c8ca(0x2d8),'HyMQa':'Skip\x20authentication','bbxtL':_0x43c8ca(0x2cc),'ioJON':_0x43c8ca(0x2f8),'yRIpC':function(_0x46e8d5,_0x5508c0,_0x1cf916){return _0x46e8d5(_0x5508c0,_0x1cf916);},'hinEw':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','IgsVq':_0x43c8ca(0x1b8),'BuKyH':_0x43c8ca(0x249),'ImuID':_0x43c8ca(0x203),'LMupa':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','yCvwx':_0x43c8ca(0x217),'ICllS':_0x43c8ca(0x1f7),'iKZOj':_0x43c8ca(0x248),'dxPMn':function(_0x1aaa48,_0x1d33a3,_0x1c54bd){return _0x1aaa48(_0x1d33a3,_0x1c54bd);},'UaIwu':'env-name','whnLs':_0x43c8ca(0x224),'phnPC':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','lXhvH':function(_0x125c71,_0x50e322,_0x3ab616){return _0x125c71(_0x50e322,_0x3ab616);},'SEqGb':_0x43c8ca(0x294),'LKBoS':'use','ewrSJ':'ranger\x20profile\x20config\x20set','AdfPZ':function(_0x2b975c,_0x148078,_0x45469f){return _0x2b975c(_0x148078,_0x45469f);},'wmvAJ':function(_0xb9572a,_0x38a3d0,_0x1d5f28){return _0xb9572a(_0x38a3d0,_0x1d5f28);},'JFnuy':_0x43c8ca(0x22f),'ANXGd':function(_0xb8cfda,_0xaf5638,_0x7e90cf){return _0xb8cfda(_0xaf5638,_0x7e90cf);},'BFfPY':'config\x20unset','Ibksx':'ranger\x20profile\x20config\x20list','CrJhF':'config\x20list','jENQv':_0x43c8ca(0x273),'TzfwX':'You\x20must\x20specify\x20a\x20config\x20subcommand','zsKbT':'ranger\x20profile\x20ls','ZzRLd':function(_0x38b7ee,_0x2274a4,_0x1d3ca2){return _0x38b7ee(_0x2274a4,_0x1d3ca2);},'fwioY':_0x43c8ca(0x1b3),'weZqH':'update\x20<env-name>','jSIri':'You\x20must\x20specify\x20an\x20env\x20subcommand','XQkjT':_0x43c8ca(0x25c),'bDKJl':'ranger\x20get-review','JTvhv':function(_0x5ee6c1,_0x236644,_0x366bec){return _0x5ee6c1(_0x236644,_0x366bec);},'nnCKt':_0x43c8ca(0x285),'CePxe':function(_0x41d5d4,_0x2a7250,_0x23a586){return _0x41d5d4(_0x2a7250,_0x23a586);},'CfHzT':'ranger\x20feature\x20restore','ldOrR':'Feature\x20review\x20description','FhhCt':_0x43c8ca(0x1aa),'wQoiz':'ranger\x20feature\x20create','JuwLy':'--scenario','kZOsd':function(_0x787fc1,_0x5a869d,_0x8a197b){return _0x787fc1(_0x5a869d,_0x8a197b);},'pXmoJ':function(_0x21832d,_0x40270b,_0x4af123){return _0x21832d(_0x40270b,_0x4af123);},'QUrYG':function(_0x53b637,_0x293a6e,_0x315f15){return _0x53b637(_0x293a6e,_0x315f15);},'kugHT':'feature\x20resume','YiBzX':'list','eZmxq':_0x43c8ca(0x240),'jGjaI':'get-feedback\x20[id]','oJnHq':'delete\x20[id]','cyURh':_0x43c8ca(0x235),'AlzNp':_0x43c8ca(0x2a0),'xpQWx':_0x43c8ca(0x205),'hjVbq':_0x43c8ca(0x2ac),'AXIQy':'disable','ISgMc':_0x43c8ca(0x2a1),'LwZRz':_0x43c8ca(0x314),'NFizt':_0x43c8ca(0x30f),'bgPhD':_0x43c8ca(0x1d0),'KzZZl':function(_0x8106df,_0x52c6a9,_0x4f689d){return _0x8106df(_0x52c6a9,_0x4f689d);},'DZmEe':_0x43c8ca(0x194),'dmHNF':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','NvgAJ':'Unknown\x20error','PXKQS':_0x43c8ca(0x276),'FGfap':_0x43c8ca(0x1dc),'FYdyg':'List\x20all\x20feature\x20reviews','bxzhG':'show\x20[id]','SlUtR':_0x43c8ca(0x232),'pVtVS':_0x43c8ca(0x1bc),'SWSpz':'report\x20[id]','eTqOQ':_0x43c8ca(0x31c),'ZWiNH':_0x43c8ca(0x34f),'kNmgs':'Restore\x20a\x20soft-deleted\x20feature\x20review','vbbDI':_0x43c8ca(0x268),'WkuRr':'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','vLkVM':'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','tyFnS':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','rvpsj':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','bnEzd':'Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','UkNok':_0x43c8ca(0x1ea),'YyYsC':'start\x20[token]','AVpJr':'use\x20<env-name>','XLESb':'hook','HBBtd':function(_0x329c58,_0xf79a0a){return _0x329c58+_0xf79a0a;}};return _0x45072c['Lwjkb'](_0x292da8,_0x472b23??process[_0x43c8ca(0x246)][_0x43c8ca(0x237)](0x2))[_0x43c8ca(0x274)](_0x45072c[_0x43c8ca(0x2b2)])[_0x43c8ca(0x293)](TOP_LEVEL_HELP)['version'](getCurrentVersion())[_0x43c8ca(0x2c7)](_0x45072c[_0x43c8ca(0x19e)],_0x43c8ca(0x32a),_0x46828e=>{const _0x491362=_0x43c8ca;return _0x46828e['positional'](_0x45072c['RHTLR'],{'type':_0x491362(0x1b2),'description':_0x491362(0x1cc),'demandOption':!![]})['option'](_0x45072c[_0x491362(0x234)],{'type':_0x45072c['aiQwU'],'alias':'d','description':_0x491362(0x1cd)})[_0x491362(0x21c)](_0x491362(0x2cb),{'type':'array','alias':'c','description':_0x45072c[_0x491362(0x24c)]})[_0x491362(0x21c)](_0x491362(0x1aa),{'type':_0x45072c['lQApv'],'hidden':!![]});},async _0x5deab8=>{const _0x5debd6=_0x43c8ca;if(!_0x5deab8[_0x5debd6(0x208)]){console['error'](_0x45072c[_0x5debd6(0x256)]+_0x45072c[_0x5debd6(0x34a)]),process[_0x5debd6(0x22a)](0x1);return;}_0x45072c[_0x5debd6(0x20d)](warnFlagRenamed,_0x5debd6(0x1e6),_0x5debd6(0x319),_0x5debd6(0x239));const _0x54438a=_0x5deab8[_0x5debd6(0x2cb)]||_0x5deab8['checklist'];await withTelemetry('create',()=>featureCreate(_0x5deab8[_0x5debd6(0x208)],{'description':_0x5deab8['description'],'scenarios':_0x54438a}));})['command'](_0x43c8ca(0x1f0),_0x45072c[_0x43c8ca(0x2ae)],_0x2f36e2=>{const _0xa9939c=_0x43c8ca;return _0x2f36e2['option'](_0xa9939c(0x342),{'type':_0xa9939c(0x272),'description':_0x45072c['KRWEo']})[_0xa9939c(0x21c)](_0x45072c['muztG'],{'type':'number','alias':'l','description':_0xa9939c(0x345),'default':0xa})[_0xa9939c(0x21c)]('offset',{'type':_0x45072c[_0xa9939c(0x2f6)],'alias':'o','description':_0x45072c['IWnrX'],'default':0x0})[_0xa9939c(0x21c)](_0xa9939c(0x209),{'type':_0xa9939c(0x272),'alias':'d','description':_0x45072c[_0xa9939c(0x31d)],'default':![]});},async _0x1fae7f=>{const _0x1e93bf=_0x43c8ca;await _0x45072c[_0x1e93bf(0x251)](withTelemetry,_0x1e93bf(0x1f0),()=>featureList({'currentBranch':_0x1fae7f[_0x1e93bf(0x342)],'limit':_0x1fae7f['limit'],'offset':_0x1fae7f['offset'],'includeDeleted':_0x1fae7f['include-deleted']}));})[_0x43c8ca(0x2c7)](_0x45072c['bxzhG'],'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x153048=>{const _0x459fae=_0x43c8ca;return _0x153048[_0x459fae(0x216)]('id',{'type':_0x45072c[_0x459fae(0x1f4)],'description':_0x459fae(0x291)});},async _0x15d1e4=>{const _0xb501ee=_0x43c8ca;await _0x45072c['CzUlJ'](withTelemetry,_0x45072c[_0xb501ee(0x351)],()=>featureShow(_0x15d1e4['id']));})['command'](_0x45072c[_0x43c8ca(0x33b)],_0x43c8ca(0x279),_0x4be63e=>{const _0x44d609=_0x43c8ca;return _0x4be63e['positional']('id',{'type':_0x44d609(0x1b2),'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x4d3bfe=>{const _0x141525=_0x43c8ca;await withTelemetry(_0x45072c[_0x141525(0x1cb)],()=>featureResume(_0x4d3bfe['id']));})['command'](_0x43c8ca(0x30d),_0x43c8ca(0x2ab),_0x4594cb=>{const _0x1ced36=_0x43c8ca;return _0x4594cb['positional'](_0x45072c['qMlta'],{'type':_0x45072c['aiQwU'],'description':_0x45072c['ZyvzF'],'demandOption':!![]})['option']('id',{'type':_0x1ced36(0x1b2),'description':_0x45072c['vWHYn']});},async _0x280413=>{await _0x45072c['iwVez'](withTelemetry,_0x45072c['fjdhY'],()=>featureAddScenario(_0x280413['description'],_0x280413['id']));})['command'](_0x45072c['SlUtR'],_0x45072c[_0x43c8ca(0x300)],_0x21c97d=>{const _0x32fe5b=_0x43c8ca;return _0x21c97d[_0x32fe5b(0x216)](_0x45072c['qMlta'],{'type':_0x45072c[_0x32fe5b(0x1f4)],'description':_0x45072c[_0x32fe5b(0x2aa)],'demandOption':!![]})['option'](_0x45072c['efgXq'],{'type':_0x45072c[_0x32fe5b(0x2f6)],'description':_0x45072c['eLNfA'],'demandOption':!![]})[_0x32fe5b(0x21c)]('id',{'type':'string','description':_0x32fe5b(0x2de)});},async _0x5cad22=>{const _0x484ed2=_0x43c8ca;await withTelemetry(_0x45072c['aXYzm'],()=>featureEditScenario(_0x5cad22['description'],{'id':_0x5cad22['id'],'scenario':_0x5cad22[_0x484ed2(0x2cb)]}));})['command'](_0x45072c['SWSpz'],_0x45072c[_0x43c8ca(0x198)],_0x3ec94b=>{const _0x199142=_0x43c8ca;return _0x3ec94b['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'})['option'](_0x45072c['kNNuC'],{'type':_0x45072c['lQApv'],'description':_0x45072c[_0x199142(0x20f)]})[_0x199142(0x21c)](_0x45072c[_0x199142(0x2e3)],{'type':'boolean','description':_0x45072c[_0x199142(0x2c5)],'default':![]});},async _0x427f58=>{const _0x2c31ae=_0x43c8ca,_0x63c99b=_0x427f58[_0x45072c[_0x2c31ae(0x2c9)]],_0x35d110=_0x63c99b?_0x63c99b['map'](_0x61f6b5=>Number(_0x61f6b5)):undefined;await _0x45072c[_0x2c31ae(0x251)](withTelemetry,'report',()=>featureReportPrDescription(_0x427f58['id'],{'excludeScenarios':_0x35d110,'json':_0x427f58['json']}));})[_0x43c8ca(0x2c7)](_0x45072c['ZWiNH'],'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x3006a0=>{const _0x4e0cf1=_0x43c8ca;return _0x3006a0[_0x4e0cf1(0x216)]('id',{'type':'string','description':_0x45072c[_0x4e0cf1(0x2b1)]});},async _0x52ddee=>{await withTelemetry(_0x45072c['MZQFn'],()=>featureGetReview(_0x52ddee['id']));})['command'](_0x43c8ca(0x1e8),'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x30c937=>{const _0x4fb8cf=_0x43c8ca;return _0x30c937['positional']('id',{'type':_0x45072c[_0x4fb8cf(0x1f4)],'description':'Feature\x20review\x20ID'});},async _0x48953e=>{const _0x14ef5f=_0x43c8ca;await withTelemetry(_0x14ef5f(0x253),()=>featureDelete(_0x48953e['id']));})['command'](_0x45072c[_0x43c8ca(0x324)],_0x45072c['kNmgs'],_0x1e5ee5=>{const _0x1ff232=_0x43c8ca;return _0x1e5ee5[_0x1ff232(0x216)]('id',{'type':_0x45072c['aiQwU'],'description':_0x45072c[_0x1ff232(0x1e7)],'demandOption':!![]});},async _0x4304e3=>{await withTelemetry('restore',()=>featureRestore(_0x4304e3['id']));})['command'](_0x45072c['vbbDI'],'Initialize\x20Ranger\x20in\x20your\x20project',_0x4dc4c3=>{const _0xb3c76a=_0x43c8ca,_0x59ba96={'CfWuY':_0x45072c['nfZpf'],'fbink':'string','WvaFJ':_0x45072c['wVLIn'],'epMFp':_0x45072c[_0xb3c76a(0x1f6)],'IIQzy':'Skip\x20authentication','whByB':_0xb3c76a(0x21a),'RYBcr':_0x45072c[_0xb3c76a(0x2a5)],'wTSBN':_0xb3c76a(0x2e6),'WENFC':_0xb3c76a(0x303),'YEaTc':_0xb3c76a(0x315),'vliIz':'opencode','miPEt':_0x45072c[_0xb3c76a(0x332)],'BQIjs':_0x45072c[_0xb3c76a(0x2c2)],'LIPKs':_0x45072c[_0xb3c76a(0x204)],'PoOuF':_0x45072c[_0xb3c76a(0x34b)],'tRBBa':_0x45072c['ncvsv'],'bpqiJ':function(_0x518b6e,_0x552d53,_0x328d7e){return _0x518b6e(_0x552d53,_0x328d7e);},'VCQkx':_0x45072c[_0xb3c76a(0x2ce)],'zSBRO':function(_0x7687a8){return _0x7687a8();},'PMJdO':function(_0x195ccb,_0x1b8d2b){const _0x575911=_0xb3c76a;return _0x45072c[_0x575911(0x25e)](_0x195ccb,_0x1b8d2b);},'jpsFG':_0x45072c['OIWGD'],'XUcLF':_0x45072c['lUmmI'],'oZqEw':_0x45072c['cwTYL'],'nDCkB':'setup:skills','TDFTv':'Base\x20URL\x20of\x20the\x20running\x20app','EBPio':_0x45072c['VgbUt'],'CqKOr':function(_0x42a250,_0x20b67e){return _0x42a250!==_0x20b67e;},'wNbdG':_0xb3c76a(0x2d8),'uaoFQ':function(_0x470bca,_0x11de81){return _0x470bca+_0x11de81;},'TqqAn':function(_0x1bbca4,_0x493283,_0x1ce541){return _0x1bbca4(_0x493283,_0x1ce541);}};return _0x4dc4c3[_0xb3c76a(0x293)]('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')[_0xb3c76a(0x216)](_0xb3c76a(0x206),{'type':_0x45072c['aiQwU'],'description':'Subcommand\x20or\x20API\x20token\x20(rngr_...)'})[_0xb3c76a(0x2c7)](_0x45072c['uypmd'],_0x45072c[_0xb3c76a(0x349)],_0x59781b=>{const _0x1f0671=_0xb3c76a;return _0x59781b[_0x1f0671(0x21c)](_0x59ba96['CfWuY'],{'type':_0x59ba96['fbink'],'description':_0x1f0671(0x31e)})['option'](_0x59ba96[_0x1f0671(0x2d0)],{'type':_0x59ba96[_0x1f0671(0x284)],'description':_0x1f0671(0x1d1),'default':![]})[_0x1f0671(0x21c)](_0x1f0671(0x2a6),{'type':_0x59ba96['epMFp'],'description':_0x59ba96['IIQzy'],'default':![]})['option'](_0x1f0671(0x310),{'type':_0x59ba96[_0x1f0671(0x284)],'description':_0x1f0671(0x2cc),'default':![]})[_0x1f0671(0x21c)](_0x59ba96['whByB'],{'type':_0x59ba96['fbink'],'choices':['user'],'hidden':!![],'description':_0x59ba96[_0x1f0671(0x29f)]})['option'](_0x59ba96[_0x1f0671(0x26c)],{'type':_0x1f0671(0x1b2),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})['option'](_0x59ba96[_0x1f0671(0x1c3)],{'type':_0x1f0671(0x272),'description':_0x59ba96['YEaTc'],'default':![]})['option'](_0x59ba96[_0x1f0671(0x333)],{'type':_0x1f0671(0x272),'description':_0x1f0671(0x322),'default':![]})[_0x1f0671(0x21c)](_0x59ba96[_0x1f0671(0x2c3)],{'type':_0x59ba96[_0x1f0671(0x284)],'description':_0x59ba96[_0x1f0671(0x339)],'default':![]})[_0x1f0671(0x21c)](_0x59ba96['LIPKs'],{'type':_0x59ba96['epMFp'],'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','default':![]})[_0x1f0671(0x21c)](_0x59ba96[_0x1f0671(0x1b4)],{'type':'boolean','description':_0x59ba96[_0x1f0671(0x26e)],'default':![]});},async _0xe02c16=>{const _0x22f9de=_0xb3c76a;(_0xe02c16[_0x22f9de(0x28c)]||_0xe02c16['mcp'])&&await _0x45072c[_0x22f9de(0x29b)](withTelemetry,_0x22f9de(0x28c),()=>mcpBootstrap()),await _0x45072c[_0x22f9de(0x251)](withTelemetry,_0x45072c[_0x22f9de(0x25f)],_0x4f1c35=>start(_0xe02c16['token'],{'skipChromium':_0xe02c16['skip-chromium'],'skipAuth':_0xe02c16[_0x22f9de(0x2a6)],'withDeps':_0xe02c16['with-deps'],'scope':_0xe02c16['scope'],'url':_0xe02c16['url'],'force':_0xe02c16['force'],'opencode':_0xe02c16[_0x22f9de(0x296)],'allowInsecureLocalhost':_0xe02c16['allow-insecure-localhost']},_0x4f1c35));})[_0xb3c76a(0x2c7)](_0xb3c76a(0x1ce),'Install\x20Chromium\x20browser\x20binary',_0x14b755=>{const _0x5b1c67=_0xb3c76a;return _0x14b755[_0x5b1c67(0x21c)](_0x45072c[_0x5b1c67(0x26d)],{'type':_0x45072c['louWI'],'description':_0x5b1c67(0x223),'default':![]});},async _0x5bf730=>{const _0x4dcaaf=_0xb3c76a;await _0x59ba96[_0x4dcaaf(0x21f)](withTelemetry,'setup:deps',()=>ensureChromium(_0x5bf730[_0x4dcaaf(0x310)]));})['command'](_0x45072c[_0xb3c76a(0x250)],_0xb3c76a(0x2d5),_0xb11a19=>{const _0x58506f=_0xb3c76a;return _0xb11a19[_0x58506f(0x21c)]('token',{'type':_0x59ba96[_0x58506f(0x1ab)],'description':_0x59ba96[_0x58506f(0x2b9)]})[_0x58506f(0x21c)](_0x59ba96[_0x58506f(0x1b4)],{'type':_0x59ba96['epMFp'],'description':_0x58506f(0x1bb),'default':![]});},async _0xf905b4=>{const _0x2f0dbd=_0xb3c76a,_0x3465ce={'ANZqC':function(_0x25aabd){const _0x578b8f=_0x5a11;return _0x59ba96[_0x578b8f(0x2a3)](_0x25aabd);},'DdprC':function(_0x34c135,_0x159424){return _0x59ba96['PMJdO'](_0x34c135,_0x159424);}};await _0x59ba96[_0x2f0dbd(0x21f)](withTelemetry,'setup:login',async()=>{const _0x268bcd=_0x2f0dbd;if(_0xf905b4['mcp']){await mcpBootstrap();const _0x1bc767=await _0x3465ce['ANZqC'](refreshCliToken);if(!_0x1bc767)throw new Error(_0x268bcd(0x228));const _0x5e92ac=await getCurrentUser(_0x1bc767);if(!_0x5e92ac['success'])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x5e92ac[_0x268bcd(0x356)]);console['log']('✓\x20Authenticated\x20to\x20'+_0x5e92ac[_0x268bcd(0x2d8)][_0x268bcd(0x1fc)]);return;}await _0x3465ce['DdprC'](authenticate,_0xf905b4['token']);});})[_0xb3c76a(0x2c7)](_0x45072c['GvhnH'],_0xb3c76a(0x31a),_0x26b138=>{const _0x1ccb73=_0xb3c76a;return _0x26b138[_0x1ccb73(0x21c)]('scope',{'type':_0x59ba96['fbink'],'choices':['user',_0x59ba96[_0x1ccb73(0x210)]],'description':_0x59ba96[_0x1ccb73(0x325)]})['option'](_0x59ba96[_0x1ccb73(0x333)],{'type':_0x1ccb73(0x272),'description':_0x59ba96['oZqEw'],'default':![]});},async _0x54dad5=>{const _0x38c3b3={'IdHvL':function(_0x45e500,_0x241e2c){return _0x45e500(_0x241e2c);},'qtLuA':'ranger'};await withTelemetry(_0x59ba96['nDCkB'],async()=>{const _0xa9d14a=_0x5a11,_0x439e2c=_0x54dad5[_0xa9d14a(0x21a)];if(_0x54dad5['opencode']){const _0x2b27ce=await _0x38c3b3['IdHvL'](ensureOpencodePluginConfig,_0x439e2c);_0x2b27ce&&await installSkill(_0x38c3b3[_0xa9d14a(0x316)],{'level':_0x2b27ce['scope'],'cliVersion':getCurrentVersion(),'platform':'opencode'});}else await _0x38c3b3['IdHvL'](ensureClaudePlugin,_0x439e2c),await ensureClaudeSkills(_0x439e2c);});})['command'](_0x45072c[_0xb3c76a(0x2e2)],_0x45072c['aAAhn'],_0x5819e3=>{const _0x4f27dc=_0xb3c76a;return _0x5819e3[_0x4f27dc(0x21c)](_0x4f27dc(0x21a),{'type':_0x59ba96['fbink'],'choices':['user'],'description':_0x59ba96['RYBcr']})['option'](_0x59ba96['wTSBN'],{'type':_0x59ba96[_0x4f27dc(0x1ab)],'description':_0x59ba96[_0x4f27dc(0x1ca)]})[_0x4f27dc(0x21c)](_0x59ba96['EBPio'],{'type':_0x59ba96['epMFp'],'description':_0x4f27dc(0x2ed),'default':![]})[_0x4f27dc(0x21c)](_0x59ba96[_0x4f27dc(0x1c3)],{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x59ba96[_0x4f27dc(0x2c3)],{'type':_0x59ba96[_0x4f27dc(0x284)],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x41f838=>{const _0x5e1428=_0xb3c76a,_0x568714=_0x41f838[_0x5e1428(0x21a)];_0x59ba96[_0x5e1428(0x222)](_0x568714,undefined)&&_0x568714!==_0x59ba96[_0x5e1428(0x357)]&&(console[_0x5e1428(0x356)](_0x59ba96['uaoFQ']('ranger\x20setup\x20profiles\x20--scope='+_0x568714+'\x20is\x20no\x20longer\x20supported.\x20'+_0x5e1428(0x201),'Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.')),process[_0x5e1428(0x22a)](0x1)),await _0x59ba96[_0x5e1428(0x1b9)](withTelemetry,'setup:profiles',_0x5d0674=>ensureLocalEnv({'url':_0x41f838['url'],'force':_0x41f838[_0x5e1428(0x303)],'allowInsecureLocalhost':_0x41f838['allow-insecure-localhost'],'scope':'user'},_0x5d0674));})[_0xb3c76a(0x21c)](_0x45072c[_0xb3c76a(0x233)],{'type':'boolean','description':_0xb3c76a(0x1d1),'default':![]})[_0xb3c76a(0x21c)](_0x45072c[_0xb3c76a(0x23c)],{'type':_0x45072c['aiQwU'],'choices':[_0xb3c76a(0x2d8)],'hidden':!![],'description':_0xb3c76a(0x2a4)})['option'](_0x45072c[_0xb3c76a(0x1a8)],{'type':_0xb3c76a(0x1b2),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option']('force',{'type':_0x45072c[_0xb3c76a(0x1f6)],'description':_0x45072c['vVkcd'],'default':![]})[_0xb3c76a(0x21c)]('opencode',{'type':_0x45072c['louWI'],'description':_0x45072c[_0xb3c76a(0x255)],'default':![]})['option'](_0xb3c76a(0x2dc),{'type':_0x45072c[_0xb3c76a(0x1f6)],'description':_0xb3c76a(0x1a9),'default':![]})['option'](_0x45072c['drqzU'],{'type':_0xb3c76a(0x272),'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','default':![]})[_0xb3c76a(0x21c)](_0xb3c76a(0x2a6),{'type':_0x45072c[_0xb3c76a(0x1f6)],'description':_0x45072c[_0xb3c76a(0x2c8)],'default':![]})['option'](_0x45072c[_0xb3c76a(0x26d)],{'type':_0xb3c76a(0x272),'description':_0x45072c[_0xb3c76a(0x19a)],'default':![]})['option'](_0x45072c[_0xb3c76a(0x197)],{'type':_0x45072c[_0xb3c76a(0x1f4)],'hidden':!![],'description':_0x45072c[_0xb3c76a(0x2ee)]});},async _0x3f77dc=>{const _0x3015d3=_0x43c8ca,_0x1da741=_0x3f77dc[_0x3015d3(0x206)],_0x39fc26=_0x3f77dc[_0x3015d3(0x33e)]??_0x1da741;_0x3f77dc['mcp-bootstrap']&&await _0x45072c['dkjkM'](withTelemetry,'mcp-bootstrap',()=>mcpBootstrap()),await _0x45072c['ywxlG'](withTelemetry,_0x3015d3(0x289),_0x31b3a3=>start(_0x39fc26,{'skipChromium':_0x3f77dc['skip-chromium'],'skipAuth':_0x3f77dc[_0x3015d3(0x2a6)],'withDeps':_0x3f77dc['with-deps'],'scope':_0x3f77dc['scope'],'url':_0x3f77dc[_0x3015d3(0x2e6)],'force':_0x3f77dc[_0x3015d3(0x303)],'opencode':_0x3f77dc[_0x3015d3(0x296)],'allowInsecureLocalhost':_0x3f77dc[_0x3015d3(0x2dc)]},_0x31b3a3));})['command']('setup-ci\x20<token>',![],_0x226c3d=>{const _0x47c03c=_0x43c8ca;return _0x226c3d['positional'](_0x45072c['nfZpf'],{'type':_0x45072c[_0x47c03c(0x1f4)],'description':'Ranger\x20API\x20token','demandOption':!![]})['option'](_0x45072c['ObKEQ'],{'type':'string','description':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)'})[_0x47c03c(0x21c)](_0x47c03c(0x343),{'type':_0x47c03c(0x1b2),'description':_0x47c03c(0x215)})['option'](_0x47c03c(0x27c),{'type':_0x45072c[_0x47c03c(0x1f6)],'description':_0x45072c['MCEEJ'],'default':![]});},async _0x21c3ba=>{const _0x5dc99c=_0x43c8ca;await withTelemetry(_0x45072c[_0x5dc99c(0x1e4)],_0x3a7edb=>setupCi(_0x21c3ba['token'],{'profile':_0x21c3ba['profile'],'baseUrl':_0x21c3ba['base-url'],'skipChromium':_0x21c3ba['skip-chromium']},_0x3a7edb));})[_0x43c8ca(0x2c7)](_0x45072c[_0x43c8ca(0x250)],_0x45072c['WkuRr'],()=>{},async()=>{const _0x30a01e=_0x43c8ca;await _0x45072c[_0x30a01e(0x2e4)](withTelemetry,_0x45072c['RTkrI'],()=>login());})['command'](_0x43c8ca(0x199),_0x43c8ca(0x22b),_0x3793f9=>{const _0xcfb9e0=_0x43c8ca;return _0x3793f9['option'](_0x45072c[_0xcfb9e0(0x1a2)],{'type':'boolean','description':_0xcfb9e0(0x1be),'default':![]})['option'](_0xcfb9e0(0x21a),{'type':'string','choices':['user','project'],'description':'Install\x20scope\x20for\x20skills'});},async _0xc10464=>{const _0x5d65b9=_0x43c8ca,_0x552bcb=_0x45072c[_0x5d65b9(0x25e)](Boolean,_0xc10464[_0x5d65b9(0x296)]);await _0x45072c[_0x5d65b9(0x2e4)](withTelemetry,'skillup',()=>skillup({'autoInstall':_0xc10464[_0x5d65b9(0x21a)],'platform':_0x552bcb?'opencode':_0x5d65b9(0x2f9)}));})['command']('clean',_0x45072c['vLkVM'],()=>{},async()=>{await _0x45072c['AMDes'](withTelemetry,_0x45072c['uRJWe'],()=>clean());})['command']([_0x45072c[_0x43c8ca(0x1d8)],'profiles'],_0x43c8ca(0x306),_0x140188=>{const _0x4d4d9d=_0x43c8ca,_0xb5b135={'YzWlZ':_0x45072c['aiQwU'],'FFOOq':_0x45072c['louWI'],'NEubd':_0x4d4d9d(0x265),'keRYz':_0x45072c[_0x4d4d9d(0x1ba)],'AHnTF':_0x4d4d9d(0x326),'yeHEc':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','cAbIv':'project','bliry':_0x4d4d9d(0x337),'xliXl':_0x45072c['kkYGW'],'TXtyd':'Auth\x20environment\x20key\x20to\x20bind\x20this\x20profile\x20to\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Bypasses\x20URL-based\x20matching;\x20required\x20for\x20bare-localhost\x20custom\x20ports.','hjeLY':_0x4d4d9d(0x2ef),'zETfC':function(_0x3305f2,_0x18926d,_0x3e323c){return _0x3305f2(_0x18926d,_0x3e323c);},'oLgKm':'Cloud\x20profile\x20name','pYbyz':function(_0x23efc3,_0xb3f72b){return _0x23efc3===_0xb3f72b;},'mAKIJ':function(_0x367db9,_0x4d444c){return _0x367db9===_0x4d444c;},'eGEYz':_0x4d4d9d(0x1d2),'EXSZY':_0x4d4d9d(0x32c),'jXzgA':_0x4d4d9d(0x21e),'njLDo':_0x4d4d9d(0x1b5),'JoAVU':_0x45072c[_0x4d4d9d(0x225)],'qZGyO':_0x4d4d9d(0x341),'gcsvy':_0x45072c[_0x4d4d9d(0x245)],'QLQkc':_0x45072c[_0x4d4d9d(0x20c)],'tplWy':_0x45072c['lGCyn'],'uLosx':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','QMyDz':_0x4d4d9d(0x220),'ZxPfn':'Get\x20a\x20config\x20value','CiKOu':'list\x20<profile>','rKcCs':'unset\x20<profile>\x20<key>','lorBV':_0x45072c[_0x4d4d9d(0x1b1)],'AMacD':'reset\x20<profile>','GkFFA':_0x4d4d9d(0x226),'KCZdV':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand'};return _0x140188['usage'](PROFILE_HELP)[_0x4d4d9d(0x2c7)](_0x4d4d9d(0x33c),_0x45072c['wKKYi'],_0x541323=>{const _0x180f01=_0x4d4d9d;return _0x541323[_0x180f01(0x216)](_0x180f01(0x2eb),{'type':_0xb5b135[_0x180f01(0x1ef)],'description':_0x180f01(0x32f),'demandOption':!![]})[_0x180f01(0x21c)]('ci',{'type':_0xb5b135[_0x180f01(0x24e)],'hidden':!![],'default':![]})['option']('skip-auth',{'type':_0x180f01(0x272),'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0x180f01(0x21c)]('url',{'type':_0xb5b135[_0x180f01(0x1ef)],'description':_0xb5b135['NEubd']})['option'](_0x180f01(0x303),{'type':_0xb5b135['FFOOq'],'description':_0x180f01(0x315),'default':![]})[_0x180f01(0x21c)](_0xb5b135[_0x180f01(0x1fb)],{'type':_0xb5b135['YzWlZ'],'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})['option'](_0x180f01(0x2dc),{'type':_0xb5b135['FFOOq'],'description':_0x180f01(0x1a9),'default':![]})[_0x180f01(0x21c)](_0xb5b135['AHnTF'],{'type':_0xb5b135['FFOOq'],'description':_0xb5b135['yeHEc'],'default':![]})['option'](_0x180f01(0x31f),{'type':_0x180f01(0x1b2),'array':!![],'description':_0x180f01(0x309)})[_0x180f01(0x21c)]('scope',{'type':'string','choices':[_0x180f01(0x2d8),_0xb5b135[_0x180f01(0x1d6)]],'description':_0xb5b135[_0x180f01(0x247)]})['option'](_0xb5b135['xliXl'],{'type':_0x180f01(0x1b2),'description':_0xb5b135['TXtyd']})[_0x180f01(0x21c)](_0x180f01(0x2b7),{'type':_0xb5b135['FFOOq'],'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','default':![]});},async _0x327590=>{const _0x3b68e1=_0x4d4d9d;await withTelemetry('profile\x20add',_0x4296a0=>addEnv(_0x327590[_0x3b68e1(0x2eb)],{'ci':_0x327590['ci'],'skipAuth':_0x327590[_0x3b68e1(0x2a6)],'url':_0x327590['url'],'force':_0x327590[_0x3b68e1(0x303)],'cdpEndpoint':_0x327590['cdp-endpoint'],'allowInsecureLocalhost':_0x327590[_0x3b68e1(0x2dc)],'safeMode':_0x327590['safe-mode'],'setupHeader':_0x327590['setup-header'],'scope':_0x327590['scope'],'authEnv':_0x327590[_0x3b68e1(0x24f)],'yes':_0x327590[_0x3b68e1(0x2b7)]},_0x4296a0),{'isElectron':Boolean(_0x327590['cdp-endpoint'])});})[_0x4d4d9d(0x2c7)](_0x45072c['Wvwae'],'Switch\x20to\x20using\x20a\x20specific\x20profile',_0x2f1723=>{const _0x278567=_0x4d4d9d;return _0x2f1723[_0x278567(0x216)](_0x278567(0x2eb),{'type':_0x45072c['aiQwU'],'description':_0x45072c['lCIFT'],'demandOption':!![]});},async _0x73b95f=>{const _0x38d4c3=_0x4d4d9d;await withTelemetry(_0xb5b135[_0x38d4c3(0x308)],()=>useEnv(_0x73b95f[_0x38d4c3(0x2eb)]));})['command'](_0x45072c['gwSzm'],_0x45072c[_0x4d4d9d(0x305)],_0x2ebecb=>{const _0x3aca1a=_0x4d4d9d;return _0x2ebecb['positional'](_0x45072c[_0x3aca1a(0x1de)],{'type':'string','description':_0x45072c[_0x3aca1a(0x2a7)],'demandOption':!![]})['option'](_0x45072c[_0x3aca1a(0x225)],{'type':_0x45072c[_0x3aca1a(0x1f6)],'alias':'y','description':_0x45072c[_0x3aca1a(0x2b8)],'default':![]});},async _0x5edcdd=>{const _0x4fcf9d=_0x4d4d9d;await _0x45072c['AMDes'](withTelemetry,'profile\x20delete',()=>deleteProfile(_0x5edcdd[_0x4fcf9d(0x2eb)],{'yes':_0x5edcdd['yes']}));})['command'](_0x4d4d9d(0x28d),![],_0x2ef759=>{const _0x583f63=_0x4d4d9d;return _0x2ef759['positional'](_0x45072c[_0x583f63(0x1d8)],{'type':_0x583f63(0x1b2),'description':_0x45072c[_0x583f63(0x245)],'demandOption':!![]});},async _0x229347=>{const _0x1f1685=_0x4d4d9d;await withTelemetry(_0x1f1685(0x29e),()=>authEncrypt(_0x229347['profile']));})['command']('ls',_0x4d4d9d(0x2ea),()=>{},async()=>{await _0xb5b135['zETfC'](withTelemetry,'profile\x20ls',()=>envList());})[_0x4d4d9d(0x2c7)](_0x45072c['jWUBP'],'Update\x20authentication\x20for\x20an\x20existing\x20profile',_0x56c8d9=>{const _0x5f5237=_0x4d4d9d;return _0x56c8d9['positional']('profile-name',{'type':_0x5f5237(0x1b2),'description':'Name\x20of\x20the\x20profile\x20to\x20update','demandOption':!![]})[_0x5f5237(0x21c)](_0x45072c[_0x5f5237(0x332)],{'type':_0x45072c['louWI'],'description':_0x45072c[_0x5f5237(0x22d)]})['option']('manual',{'type':_0x45072c[_0x5f5237(0x1f6)],'description':_0x45072c[_0x5f5237(0x313)]});},async _0x233756=>{const _0x50cf78=_0x4d4d9d;await withTelemetry(_0x45072c[_0x50cf78(0x336)],_0x200b41=>updateEnv(_0x233756[_0x50cf78(0x2eb)],_0x200b41,{'allowInsecureLocalhost':_0x233756['allow-insecure-localhost'],'manual':_0x233756['manual']}));})[_0x4d4d9d(0x2c7)](_0x45072c['HNFjs'],![],_0x5c0d79=>{const _0x379559=_0x4d4d9d;return _0x5c0d79['positional']('name',{'type':_0xb5b135[_0x379559(0x1ef)],'description':_0xb5b135[_0x379559(0x1a4)],'demandOption':!![]});},async _0x2ccf28=>{const _0x4f1a20=_0x4d4d9d,_0x1440e0={'zGQbr':'Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','qJNuR':function(_0x5d7859,_0x4d3d4f){const _0x384932=_0x5a11;return _0xb5b135[_0x384932(0x320)](_0x5d7859,_0x4d3d4f);},'rSnKH':function(_0x3c4534,_0x51a34b){const _0x47c26a=_0x5a11;return _0xb5b135[_0x47c26a(0x2c1)](_0x3c4534,_0x51a34b);},'yrfLV':_0x4f1a20(0x22c)};await _0xb5b135[_0x4f1a20(0x2fa)](withTelemetry,'profile\x20login',async()=>{const _0x553dca=_0x4f1a20,_0x40ffba=process[_0x553dca(0x24f)][_0x553dca(0x1e2)],_0x38442d=process[_0x553dca(0x24f)][_0x553dca(0x2f4)];(!_0x40ffba||!_0x38442d)&&(console['error'](_0x1440e0['zGQbr']),process[_0x553dca(0x22a)](0x1));const _0x34204e=_0x2ccf28[_0x553dca(0x208)],_0xe90c1e=await serverSideLogin(_0x34204e,{'force':!![]});_0x1440e0[_0x553dca(0x19c)](_0xe90c1e[_0x553dca(0x2dd)],'not_configured')&&(console['error'](_0x553dca(0x278)),process['exit'](0x1)),_0x1440e0['rSnKH'](_0xe90c1e[_0x553dca(0x2dd)],'failed')&&(console[_0x553dca(0x356)](_0x553dca(0x1eb)+(_0xe90c1e[_0x553dca(0x356)]??_0x1440e0[_0x553dca(0x1ec)])),_0xe90c1e['test_output']&&console['error'](_0xe90c1e['test_output']),process['exit'](0x1)),console[_0x553dca(0x2f5)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x34204e+_0x553dca(0x283));});})[_0x4d4d9d(0x2c7)]('migrate\x20[profile-name]',![],_0x201c42=>{const _0x366761=_0x4d4d9d;return _0x201c42['positional']('profile-name',{'type':_0x366761(0x1b2),'description':_0xb5b135[_0x366761(0x34c)]})['option'](_0x366761(0x2e9),{'type':_0xb5b135[_0x366761(0x24e)],'description':_0xb5b135['EXSZY'],'default':![]})[_0x366761(0x21c)](_0xb5b135[_0x366761(0x354)],{'type':_0xb5b135[_0x366761(0x24e)],'description':_0xb5b135[_0x366761(0x20a)],'default':![]})['option'](_0xb5b135[_0x366761(0x2a8)],{'type':_0x366761(0x272),'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})['option'](_0x366761(0x317),{'type':_0xb5b135[_0x366761(0x24e)],'description':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','default':![]});},async _0x282c8e=>{const _0x37b216=_0x4d4d9d;await withTelemetry('profile\x20migrate',_0x10b602=>migrateProfile({'profileName':_0x282c8e[_0x37b216(0x2eb)],'all':_0x282c8e[_0x37b216(0x2e9)],'dryRun':_0x282c8e['dry-run'],'yes':_0x282c8e[_0x37b216(0x2b7)],'saveCreds':_0x282c8e[_0x37b216(0x317)]},_0x10b602));})['command'](_0x4d4d9d(0x1c0),_0x45072c[_0x4d4d9d(0x264)],_0x76b89=>{const _0x209e1c=_0x4d4d9d,_0x1e86ea={'hGmbS':'key','sEZRK':'string','GAtks':_0xb5b135['uLosx'],'lxxyg':function(_0x130af3,_0x2ce3f4,_0x4d9f97){return _0x130af3(_0x2ce3f4,_0x4d9f97);},'brpeS':'Config\x20key\x20to\x20remove','miXXA':function(_0x15150a,_0x1aba92,_0x42b2cc){return _0xb5b135['zETfC'](_0x15150a,_0x1aba92,_0x42b2cc);},'qrlFJ':_0x209e1c(0x341)};return _0x76b89[_0x209e1c(0x293)](PROFILE_CONFIG_HELP)['command']('set\x20<profile>\x20<key>\x20<value>','Set\x20a\x20config\x20value',_0x1fa106=>{const _0x11b07a=_0x209e1c;return _0x1fa106['positional'](_0x11b07a(0x341),{'type':'string','description':_0x11b07a(0x2f7),'demandOption':!![]})['positional'](_0x1e86ea[_0x11b07a(0x327)],{'type':_0x1e86ea[_0x11b07a(0x280)],'description':_0x1e86ea[_0x11b07a(0x23d)],'demandOption':!![]})[_0x11b07a(0x216)]('value',{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0x512e6c=>{const _0x1271b7=_0x209e1c;await _0x1e86ea['lxxyg'](withTelemetry,'profile\x20config\x20set',()=>configSet(_0x512e6c[_0x1271b7(0x341)],_0x512e6c['key'],_0x512e6c['value']));})[_0x209e1c(0x2c7)](_0xb5b135[_0x209e1c(0x262)],_0xb5b135[_0x209e1c(0x269)],_0x1a18a0=>{const _0x280ce8=_0x209e1c;return _0x1a18a0[_0x280ce8(0x216)](_0xb5b135['qZGyO'],{'type':_0xb5b135[_0x280ce8(0x1ef)],'description':_0xb5b135['gcsvy'],'demandOption':!![]})[_0x280ce8(0x216)](_0xb5b135[_0x280ce8(0x2b0)],{'type':_0xb5b135['YzWlZ'],'description':_0xb5b135[_0x280ce8(0x2d6)],'demandOption':!![]});},async _0x2c9044=>{const _0x269734=_0x209e1c;await _0x1e86ea[_0x269734(0x2c4)](withTelemetry,'profile\x20config\x20get',()=>configGet(_0x2c9044['profile'],_0x2c9044['key']));})[_0x209e1c(0x2c7)](_0xb5b135['CiKOu'],_0x209e1c(0x195),_0x13d932=>{const _0x25f255=_0x209e1c;return _0x13d932[_0x25f255(0x216)](_0xb5b135[_0x25f255(0x1ee)],{'type':'string','description':_0x25f255(0x2f7),'demandOption':!![]});},async _0x51a5dc=>{const _0x45ddaf=_0x209e1c;await _0xb5b135[_0x45ddaf(0x2fa)](withTelemetry,'profile\x20config\x20list',()=>configList(_0x51a5dc[_0x45ddaf(0x341)]));})['command'](_0xb5b135['rKcCs'],_0xb5b135['lorBV'],_0x4c218c=>{const _0x40e7ac=_0x209e1c;return _0x4c218c['positional']('profile',{'type':'string','description':'Profile\x20name','demandOption':!![]})[_0x40e7ac(0x216)](_0x1e86ea[_0x40e7ac(0x327)],{'type':_0x1e86ea[_0x40e7ac(0x280)],'description':_0x1e86ea['brpeS'],'demandOption':!![]});},async _0x56f860=>{const _0x1020e1=_0x209e1c;await _0x1e86ea[_0x1020e1(0x26a)](withTelemetry,_0x1020e1(0x2ff),()=>configUnset(_0x56f860['profile'],_0x56f860['key']));})[_0x209e1c(0x2c7)](_0xb5b135['AMacD'],_0xb5b135['GkFFA'],_0x48197=>{const _0x5cc0b3=_0x209e1c;return _0x48197['positional'](_0x1e86ea['qrlFJ'],{'type':_0x1e86ea[_0x5cc0b3(0x280)],'description':_0x5cc0b3(0x2f7),'demandOption':!![]});},async _0x57d01e=>{await withTelemetry('profile\x20config\x20reset',()=>configReset(_0x57d01e['profile']));})[_0x209e1c(0x254)](0x1,_0xb5b135['KCZdV']);})['demandCommand'](0x1,_0x4d4d9d(0x200));})[_0x43c8ca(0x2c7)](_0x43c8ca(0x2dd),_0x45072c['tyFnS'],()=>{},async()=>{await withTelemetry(_0x45072c['wqYuG'],()=>status());})['command'](_0x45072c[_0x43c8ca(0x30b)],_0x45072c[_0x43c8ca(0x22e)],()=>{},async()=>{const _0x1b2148=_0x43c8ca;await withTelemetry(_0x45072c[_0x1b2148(0x30b)],()=>update());})['command'](_0x43c8ca(0x26f),'Print\x20the\x20current\x20CLI\x20access\x20token',()=>{},async()=>{const _0x11f5a1=_0x43c8ca;await _0x45072c['qXtbG'](withTelemetry,_0x45072c[_0x11f5a1(0x2af)],async()=>{const _0x246efd=_0x11f5a1,_0x404669=await _0x45072c[_0x246efd(0x266)](getToken);if(!_0x404669)throw new Error(_0x246efd(0x30a));console[_0x246efd(0x2f5)](_0x404669);});})[_0x43c8ca(0x2c7)]('go',_0x45072c['bnEzd'],_0x3bbc7a=>{const _0x2751e9=_0x43c8ca;return _0x3bbc7a['option'](_0x2751e9(0x1f2),{'type':'string','description':'Optional\x20feature\x20ID'})['option'](_0x45072c[_0x2751e9(0x1d8)],{'type':'string','description':_0x45072c[_0x2751e9(0x348)]})['option']('notes',{'type':_0x2751e9(0x1b2),'description':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)'})[_0x2751e9(0x21c)]('check',{'type':_0x2751e9(0x1b2),'description':'Start\x20a\x20fresh\x20one-scenario\x20feature\x20review\x20from\x20this\x20text\x20and\x20verify\x20it.\x20To\x20re-verify,\x20use\x20--scenario;\x20to\x20extend\x20the\x20active\x20review,\x20use\x20`ranger\x20add-scenario`.'})[_0x2751e9(0x21c)]('scenario',{'type':_0x45072c['BodBY'],'description':'Scenario\x20index\x20(1-based)'})['option'](_0x2751e9(0x203),{'type':_0x45072c[_0x2751e9(0x1f4)],'description':_0x2751e9(0x323)})['option']('base-url',{'type':_0x2751e9(0x1b2),'description':_0x45072c['yaCtE']})['option'](_0x45072c[_0x2751e9(0x346)],{'type':_0x45072c[_0x2751e9(0x1f4)],'description':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.'})['option'](_0x2751e9(0x217),{'type':'boolean','description':_0x2751e9(0x1b0),'default':![]})[_0x2751e9(0x21c)](_0x2751e9(0x2fd),{'type':_0x2751e9(0x1b2),'array':!![],'alias':_0x45072c['xAGKl'],'description':_0x45072c[_0x2751e9(0x28f)]})[_0x2751e9(0x21c)](_0x2751e9(0x242),{'type':'boolean','description':'Proceed\x20even\x20when\x20the\x20selected\x20scenario\x20names\x20a\x20URL\x20on\x20a\x20different\x20origin\x20than\x20the\x20resolved\x20target','default':![]})[_0x2751e9(0x21c)](_0x2751e9(0x25a),{'type':'string','hidden':!![],'choices':['verified',_0x2751e9(0x23e),_0x45072c[_0x2751e9(0x1c5)],'failed',_0x2751e9(0x248)]})['option'](_0x45072c['FQvyK'],{'type':_0x2751e9(0x272),'hidden':!![]})['option']('env',{'type':_0x2751e9(0x1b2),'description':_0x45072c[_0x2751e9(0x281)]})['option'](_0x45072c['plOOT'],{'type':'string','hidden':!![]})[_0x2751e9(0x21c)](_0x2751e9(0x1c4),{'type':_0x45072c[_0x2751e9(0x2f6)],'hidden':!![]});},async _0x7efd79=>{await runGoCommand(_0x7efd79);})[_0x43c8ca(0x2c7)](_0x45072c['UkNok'],![],_0x4d5a48=>{const _0x27672b=_0x43c8ca,_0x5c23bd={'HSiwI':_0x27672b(0x2b4),'nZwPJ':function(_0x5cd377,_0x55f133){return _0x45072c['Lwjkb'](_0x5cd377,_0x55f133);}};return _0x4d5a48['command'](_0x45072c[_0x27672b(0x288)],![],_0x4755e1=>{const _0x15e0e4=_0x27672b;return _0x4755e1[_0x15e0e4(0x216)](_0x15e0e4(0x341),{'type':'string','description':_0x15e0e4(0x2f7),'demandOption':!![]});},async _0x36c6f4=>{const _0x565468=_0x27672b;warnRenamed(_0x565468(0x23b),_0x5c23bd['HSiwI']),await _0x5c23bd[_0x565468(0x21d)](authEncrypt,_0x36c6f4[_0x565468(0x341)]);})['demandCommand'](0x1,_0x45072c[_0x27672b(0x318)]);},()=>{})[_0x43c8ca(0x2c7)](_0x45072c[_0x43c8ca(0x302)],![],_0x5c824a=>{const _0x160e36=_0x43c8ca;return _0x5c824a['positional'](_0x45072c['nfZpf'],{'type':_0x160e36(0x1b2),'description':_0x45072c[_0x160e36(0x2a2)]})['option'](_0x45072c[_0x160e36(0x233)],{'type':_0x160e36(0x272),'description':_0x160e36(0x1d1),'default':![]})['option']('scope',{'type':_0x160e36(0x1b2),'choices':[_0x45072c['IbUDz']],'hidden':!![],'description':_0x45072c['ujJIN']})['option'](_0x160e36(0x2e6),{'type':_0x45072c[_0x160e36(0x1f4)],'description':_0x160e36(0x328)})[_0x160e36(0x21c)]('force',{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x160e36(0x21c)]('skip-auth',{'type':'boolean','description':_0x45072c[_0x160e36(0x2bc)],'default':![]})['option'](_0x160e36(0x310),{'type':_0x45072c[_0x160e36(0x1f6)],'description':_0x45072c['bbxtL'],'default':![]});},async _0x293fa2=>{const _0x546bc9=_0x43c8ca;_0x45072c['ywxlG'](warnRenamed,'ranger\x20start',_0x45072c[_0x546bc9(0x221)]),await _0x45072c['yRIpC'](withTelemetry,_0x546bc9(0x289),_0x16160f=>start(_0x293fa2[_0x546bc9(0x33e)],{'skipChromium':_0x293fa2['skip-chromium'],'skipAuth':_0x293fa2['skip-auth'],'withDeps':_0x293fa2[_0x546bc9(0x310)],'scope':_0x293fa2[_0x546bc9(0x21a)],'url':_0x293fa2['url'],'force':_0x293fa2[_0x546bc9(0x303)]},_0x16160f));})['command']('verify-feature',![],_0x4e60b1=>{const _0x3e99d5=_0x43c8ca;return _0x4e60b1[_0x3e99d5(0x21c)](_0x45072c['kkYGW'],{'type':_0x45072c['aiQwU'],'description':_0x45072c[_0x3e99d5(0x1a3)]})[_0x3e99d5(0x21c)](_0x45072c[_0x3e99d5(0x1c2)],{'type':'string','description':_0x45072c['IgsVq']})[_0x3e99d5(0x21c)](_0x3e99d5(0x1c4),{'type':'number','description':'Scenario\x20index\x20(1-based)'})['option']('profile',{'type':'string','hidden':!![]})['option'](_0x45072c['BuKyH'],{'type':'string','hidden':!![]})[_0x3e99d5(0x21c)](_0x3e99d5(0x2cb),{'type':'number','hidden':!![]})['option'](_0x45072c[_0x3e99d5(0x271)],{'type':_0x45072c['aiQwU'],'description':_0x45072c[_0x3e99d5(0x27e)]})[_0x3e99d5(0x21c)]('base-url',{'type':_0x45072c[_0x3e99d5(0x1f4)],'description':_0x3e99d5(0x29c)})[_0x3e99d5(0x21c)](_0x45072c[_0x3e99d5(0x346)],{'type':_0x3e99d5(0x1b2),'hidden':!![]})['option'](_0x45072c['yCvwx'],{'type':_0x45072c['louWI'],'hidden':!![],'default':![]})[_0x3e99d5(0x21c)](_0x3e99d5(0x2fd),{'type':_0x45072c[_0x3e99d5(0x1f4)],'array':!![],'alias':_0x45072c['xAGKl'],'hidden':!![]})[_0x3e99d5(0x21c)](_0x3e99d5(0x25a),{'type':_0x3e99d5(0x1b2),'hidden':!![],'choices':[_0x45072c[_0x3e99d5(0x1b7)],'partial','blocked','failed',_0x45072c['iKZOj']]});},async _0x5f11dc=>{await _0x45072c['dxPMn'](runGoCommand,_0x5f11dc,!![]);})['command'](_0x43c8ca(0x292),![],_0x4bbce4=>{const _0x25d303=_0x43c8ca;return _0x4bbce4[_0x25d303(0x216)](_0x45072c[_0x25d303(0x1f5)],{'type':'string','description':_0x45072c[_0x25d303(0x2ca)],'demandOption':!![]})[_0x25d303(0x21c)]('ci',{'type':_0x45072c['louWI'],'description':_0x25d303(0x2cd),'default':![]})['option'](_0x25d303(0x2a6),{'type':_0x25d303(0x272),'description':_0x45072c['phnPC'],'default':![]});},async _0x2fff0b=>{const _0x41061a=_0x43c8ca;warnRenamed(_0x41061a(0x25d),'ranger\x20profile\x20add'),await withTelemetry(_0x41061a(0x286),_0x13dd67=>addEnv(_0x2fff0b[_0x41061a(0x1c7)],{'ci':_0x2fff0b['ci'],'skipAuth':_0x2fff0b['skip-auth']},_0x13dd67));})[_0x43c8ca(0x2c7)](_0x45072c['AVpJr'],![],_0x56d1a2=>{const _0x4a705c=_0x43c8ca;return _0x56d1a2[_0x4a705c(0x216)](_0x45072c[_0x4a705c(0x1f5)],{'type':_0x45072c[_0x4a705c(0x1f4)],'description':_0x4a705c(0x2bd),'demandOption':!![]});},async _0xfad4f9=>{const _0x483c05=_0x43c8ca;_0x45072c[_0x483c05(0x19b)](warnRenamed,_0x45072c['SEqGb'],'ranger\x20profile\x20use'),await _0x45072c['CzUlJ'](withTelemetry,_0x45072c[_0x483c05(0x29d)],()=>useEnv(_0xfad4f9[_0x483c05(0x1c7)]));})['command'](_0x43c8ca(0x1c0),![],_0x1d72e2=>{const _0x6d699=_0x43c8ca,_0x266e51={'chEex':'env','zmree':_0x6d699(0x1b2),'mXgHH':'Environment\x20name','WfgTJ':_0x45072c[_0x6d699(0x20c)],'vxHbl':_0x45072c['lGCyn'],'Iajus':_0x45072c['Ibksx'],'CPsHQ':_0x45072c[_0x6d699(0x214)]};return _0x1d72e2[_0x6d699(0x2c7)]('set\x20<env>\x20<key>\x20<value>',![],_0x41f03d=>{const _0x43b19c=_0x6d699;return _0x41f03d['positional'](_0x266e51[_0x43b19c(0x1fe)],{'type':_0x266e51[_0x43b19c(0x27d)],'description':_0x266e51['mXgHH'],'demandOption':!![]})[_0x43b19c(0x216)](_0x266e51[_0x43b19c(0x34d)],{'type':'string','description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})[_0x43b19c(0x216)](_0x43b19c(0x2b3),{'type':_0x266e51['zmree'],'description':'Config\x20value','demandOption':!![]});},async _0x4943c3=>{const _0x4a6953=_0x6d699;warnRenamed(_0x4a6953(0x28b),_0x45072c[_0x4a6953(0x1df)]),await _0x45072c['lXhvH'](withTelemetry,'config\x20set',()=>configSet(_0x4943c3['env'],_0x4943c3[_0x4a6953(0x340)],_0x4943c3[_0x4a6953(0x2b3)]));})['command'](_0x6d699(0x1a6),![],_0x5b08d2=>{const _0x328409=_0x6d699;return _0x5b08d2[_0x328409(0x216)](_0x328409(0x24f),{'type':_0x328409(0x1b2),'description':_0x266e51['mXgHH'],'demandOption':!![]})[_0x328409(0x216)]('key',{'type':_0x328409(0x1b2),'description':_0x266e51['vxHbl'],'demandOption':!![]});},async _0x2fe5f0=>{const _0x39c00d=_0x6d699;_0x45072c['AdfPZ'](warnRenamed,'ranger\x20config\x20get',_0x39c00d(0x2bb)),await _0x45072c[_0x39c00d(0x213)](withTelemetry,'config\x20get',()=>configGet(_0x2fe5f0['env'],_0x2fe5f0[_0x39c00d(0x340)]));})['command']('list\x20<env>',![],_0x5ba149=>{const _0x1e3a18=_0x6d699;return _0x5ba149[_0x1e3a18(0x216)]('env',{'type':_0x266e51[_0x1e3a18(0x27d)],'description':'Environment\x20name','demandOption':!![]});},async _0x203416=>{const _0x26bde9=_0x6d699;warnRenamed('ranger\x20config\x20list',_0x266e51['Iajus']),await withTelemetry(_0x266e51[_0x26bde9(0x33d)],()=>configList(_0x203416[_0x26bde9(0x24f)]));})[_0x6d699(0x2c7)](_0x45072c[_0x6d699(0x311)],![],_0x4c8b77=>{const _0x48b1ed=_0x6d699;return _0x4c8b77['positional'](_0x45072c[_0x48b1ed(0x33a)],{'type':_0x45072c[_0x48b1ed(0x1f4)],'description':'Environment\x20name','demandOption':!![]})[_0x48b1ed(0x216)](_0x45072c[_0x48b1ed(0x20c)],{'type':_0x48b1ed(0x1b2),'description':_0x45072c[_0x48b1ed(0x2e7)],'demandOption':!![]});},async _0xd38449=>{const _0x5ebfb5=_0x6d699;warnRenamed(_0x5ebfb5(0x1a7),'ranger\x20profile\x20config\x20unset'),await _0x45072c[_0x5ebfb5(0x1ae)](withTelemetry,_0x45072c[_0x5ebfb5(0x236)],()=>configUnset(_0xd38449[_0x5ebfb5(0x24f)],_0xd38449[_0x5ebfb5(0x340)]));})['demandCommand'](0x1,_0x45072c['TzfwX']);})['command'](_0x45072c[_0x43c8ca(0x33a)],![],_0x3af7ae=>{const _0x59f170=_0x43c8ca,_0x471fdd={'PMEoV':'string','Lgeow':_0x45072c['fwioY']};return _0x3af7ae['command']('ls',![],()=>{},async()=>{const _0x12183e=_0x5a11;_0x45072c['dkjkM'](warnRenamed,_0x12183e(0x275),_0x45072c[_0x12183e(0x304)]),await _0x45072c['ZzRLd'](withTelemetry,_0x12183e(0x227),()=>envList());})['command'](_0x45072c[_0x59f170(0x2d4)],![],_0x66fcac=>{const _0x4db5ba=_0x59f170;return _0x66fcac['positional'](_0x4db5ba(0x1c7),{'type':_0x471fdd[_0x4db5ba(0x1d3)],'description':_0x471fdd['Lgeow'],'demandOption':!![]});},async _0x20137c=>{const _0x5747de=_0x59f170;_0x45072c[_0x5747de(0x1ae)](warnRenamed,'ranger\x20env\x20update','ranger\x20profile\x20update'),await _0x45072c[_0x5747de(0x32d)](withTelemetry,'env\x20update',_0x21c266=>updateEnv(_0x20137c['env-name'],_0x21c266));})[_0x59f170(0x254)](0x1,_0x45072c[_0x59f170(0x352)]);})[_0x43c8ca(0x2c7)](_0x43c8ca(0x1f2),![],_0x30efaf=>{const _0x3a9648=_0x43c8ca,_0x4bd93e={'jchNg':'name','bvMWw':_0x3a9648(0x1b2),'gHTGc':'Feature\x20review\x20name','LCyOX':_0x45072c[_0x3a9648(0x1b6)],'DdHjj':_0x45072c[_0x3a9648(0x2df)],'lQQuK':_0x45072c[_0x3a9648(0x1c8)],'OnhNE':function(_0x132c14,_0x3f1aa9,_0x1904d6){return _0x132c14(_0x3f1aa9,_0x1904d6);},'KdiuZ':_0x45072c[_0x3a9648(0x260)],'tfIKq':function(_0x2d9a16,_0xd99f18,_0xeaf8bf,_0x18d070){const _0x5de2ac=_0x3a9648;return _0x45072c[_0x5de2ac(0x20d)](_0x2d9a16,_0xd99f18,_0xeaf8bf,_0x18d070);},'hFLVV':'ranger\x20create','HHcts':'--checklist','HckWL':_0x45072c['JuwLy'],'AhOXa':function(_0x32750f,_0x4f1eb2,_0x122628){const _0x45fd2d=_0x3a9648;return _0x45072c[_0x45fd2d(0x1bf)](_0x32750f,_0x4f1eb2,_0x122628);},'DeQVB':'feature\x20create','kugoU':_0x3a9648(0x272),'DLxqM':_0x3a9648(0x252),'dzYro':_0x45072c['IWnrX'],'ZtPVq':_0x3a9648(0x209),'OfoTk':function(_0x4909ec,_0x217b33,_0x4c1373){const _0x57ce25=_0x3a9648;return _0x45072c[_0x57ce25(0x347)](_0x4909ec,_0x217b33,_0x4c1373);},'rtdhU':'ranger\x20feature\x20resume','alixB':function(_0x2a3fce,_0x3727e9,_0x5d8369){const _0x2445ee=_0x3a9648;return _0x45072c[_0x2445ee(0x290)](_0x2a3fce,_0x3727e9,_0x5d8369);},'WVZxm':_0x45072c['kugHT'],'xwjZZ':_0x3a9648(0x244),'QZSrr':_0x45072c['vWHYn'],'VWvqm':function(_0x2b6c8d,_0x48e599,_0x2c22a4){const _0x2527fe=_0x3a9648;return _0x45072c[_0x2527fe(0x32d)](_0x2b6c8d,_0x48e599,_0x2c22a4);},'xWiad':'ranger\x20feature\x20add-checklist-item'};return _0x30efaf[_0x3a9648(0x2c7)](_0x3a9648(0x1dc),![],_0x170db2=>{const _0x1da9ec=_0x3a9648;return _0x170db2[_0x1da9ec(0x216)](_0x4bd93e[_0x1da9ec(0x238)],{'type':_0x4bd93e['bvMWw'],'description':_0x4bd93e[_0x1da9ec(0x2b5)],'demandOption':!![]})['option'](_0x1da9ec(0x244),{'type':_0x4bd93e[_0x1da9ec(0x1af)],'alias':'d','description':_0x4bd93e[_0x1da9ec(0x34e)]})['option'](_0x4bd93e[_0x1da9ec(0x321)],{'type':_0x1da9ec(0x231),'alias':'c','description':_0x1da9ec(0x2f0)})[_0x1da9ec(0x21c)](_0x4bd93e['lQQuK'],{'type':'array','hidden':!![]});},async _0x1b0e47=>{const _0x222a49=_0x3a9648;_0x4bd93e['OnhNE'](warnRenamed,_0x4bd93e['KdiuZ'],'ranger\x20create'),_0x4bd93e[_0x222a49(0x257)](warnFlagRenamed,_0x4bd93e['hFLVV'],_0x4bd93e['HHcts'],_0x4bd93e['HckWL']);const _0x408e94=_0x1b0e47[_0x222a49(0x2cb)]||_0x1b0e47[_0x222a49(0x1aa)];await _0x4bd93e['AhOXa'](withTelemetry,_0x4bd93e[_0x222a49(0x1cf)],()=>featureCreate(_0x1b0e47['name'],{'description':_0x1b0e47[_0x222a49(0x244)],'scenarios':_0x408e94}));})[_0x3a9648(0x2c7)](_0x45072c['YiBzX'],![],_0x812b59=>{const _0x40c80b=_0x3a9648;return _0x812b59[_0x40c80b(0x21c)](_0x40c80b(0x342),{'type':_0x4bd93e['kugoU'],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option'](_0x40c80b(0x267),{'type':_0x40c80b(0x1a0),'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})[_0x40c80b(0x21c)](_0x4bd93e['DLxqM'],{'type':'number','alias':'o','description':_0x4bd93e['dzYro'],'default':0x0})[_0x40c80b(0x21c)](_0x4bd93e['ZtPVq'],{'type':'boolean','alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x116e2d=>{const _0x593ddb=_0x3a9648;_0x45072c[_0x593ddb(0x32d)](warnRenamed,'ranger\x20feature\x20list',_0x45072c[_0x593ddb(0x2e8)]),await withTelemetry('feature\x20list',()=>featureList({'currentBranch':_0x116e2d[_0x593ddb(0x342)],'limit':_0x116e2d['limit'],'offset':_0x116e2d[_0x593ddb(0x252)],'includeDeleted':_0x116e2d['include-deleted']}));})[_0x3a9648(0x2c7)]('show\x20[id]',![],_0x119705=>{const _0x39aa5b=_0x3a9648;return _0x119705[_0x39aa5b(0x216)]('id',{'type':_0x39aa5b(0x1b2),'description':_0x39aa5b(0x291)});},async _0x55d72b=>{const _0x538501=_0x3a9648;_0x4bd93e[_0x538501(0x1f1)](warnRenamed,'ranger\x20feature\x20show',_0x538501(0x1c1)),await _0x4bd93e[_0x538501(0x1f1)](withTelemetry,'feature\x20show',()=>featureShow(_0x55d72b['id']));})['command'](_0x45072c['eZmxq'],![],_0x29b79f=>{const _0x4258b7=_0x3a9648;return _0x29b79f['positional']('id',{'type':_0x4258b7(0x1b2),'description':_0x4258b7(0x344)});},async _0x168c74=>{const _0x7afd42=_0x3a9648;warnRenamed(_0x4bd93e['rtdhU'],_0x7afd42(0x1a1)),await _0x4bd93e['alixB'](withTelemetry,_0x4bd93e['WVZxm'],()=>featureResume(_0x168c74['id']));})[_0x3a9648(0x2c7)](_0x3a9648(0x23a),![],_0x2e2051=>{const _0x1c983c=_0x3a9648;return _0x2e2051[_0x1c983c(0x216)](_0x4bd93e['xwjZZ'],{'type':_0x4bd93e[_0x1c983c(0x1af)],'description':_0x1c983c(0x2e1),'demandOption':!![]})['option']('id',{'type':'string','description':_0x4bd93e['QZSrr']});},async _0x15a65b=>{const _0xa85a22=_0x3a9648;_0x4bd93e[_0xa85a22(0x1c6)](warnRenamed,_0x4bd93e['xWiad'],'ranger\x20add-scenario'),await _0x4bd93e[_0xa85a22(0x24a)](withTelemetry,_0xa85a22(0x219),()=>featureAddScenario(_0x15a65b['description'],_0x15a65b['id']));})[_0x3a9648(0x2c7)](_0x45072c[_0x3a9648(0x241)],![],_0x4e3823=>{const _0x394c91=_0x3a9648;return _0x4e3823[_0x394c91(0x216)]('id',{'type':_0x45072c[_0x394c91(0x1f4)],'description':_0x394c91(0x2de)});},async _0x3195d0=>{const _0x139d57=_0x3a9648;_0x45072c['HyjxV'](warnRenamed,'ranger\x20feature\x20get-feedback',_0x45072c['bDKJl']),await _0x45072c[_0x139d57(0x25b)](withTelemetry,'feature\x20get-feedback',()=>featureGetReview(_0x3195d0['id']));})[_0x3a9648(0x2c7)](_0x45072c['oJnHq'],![],_0xf193fa=>{const _0x3b1b88=_0x3a9648;return _0xf193fa['positional']('id',{'type':_0x45072c[_0x3b1b88(0x1f4)],'description':_0x3b1b88(0x291)});},async _0x95ca5f=>{const _0x5cbb58=_0x3a9648;warnRenamed(_0x5cbb58(0x207),'ranger\x20delete'),await _0x45072c[_0x5cbb58(0x23f)](withTelemetry,_0x45072c['nnCKt'],()=>featureDelete(_0x95ca5f['id']));})[_0x3a9648(0x2c7)](_0x45072c[_0x3a9648(0x324)],![],_0x2ec282=>{const _0x30ac50=_0x3a9648;return _0x2ec282['positional']('id',{'type':_0x45072c['aiQwU'],'description':_0x30ac50(0x2e0),'demandOption':!![]});},async _0x164315=>{const _0x4d771e=_0x3a9648;_0x45072c[_0x4d771e(0x299)](warnRenamed,_0x45072c[_0x4d771e(0x2a9)],_0x4d771e(0x1ac)),await withTelemetry('feature\x20restore',()=>featureRestore(_0x164315['id']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})[_0x43c8ca(0x2c7)](_0x45072c[_0x43c8ca(0x24d)],![],_0x46c993=>{const _0x5506f9=_0x43c8ca,_0x25d641={'zRJUN':_0x45072c['AlzNp'],'Zmwjp':_0x45072c['aiQwU'],'hBbxZ':function(_0x51d6ea,_0x174205,_0x4c1c07){return _0x51d6ea(_0x174205,_0x4c1c07);},'YYjxV':'hook:disable'};return _0x46c993[_0x5506f9(0x2c7)](_0x45072c['xpQWx'],_0x45072c['hjVbq'],_0x5864e6=>{const _0xa17e53=_0x5506f9;return _0x5864e6['option'](_0xa17e53(0x30f),{'type':'string','description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0xe6a02f=>{await withTelemetry(_0x25d641['zRJUN'],()=>hook('enable',_0xe6a02f['session-id']));})[_0x5506f9(0x2c7)](_0x45072c['AXIQy'],_0x45072c['ISgMc'],_0x2f823c=>{const _0x4fcd00=_0x5506f9;return _0x2f823c['option'](_0x4fcd00(0x30f),{'type':_0x25d641[_0x4fcd00(0x1f9)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x3afc0e=>{const _0x579e14=_0x5506f9;await _0x25d641['hBbxZ'](withTelemetry,_0x25d641['YYjxV'],()=>hook('disable',_0x3afc0e[_0x579e14(0x30f)]));})[_0x5506f9(0x21c)](_0x45072c['RHTLR'],{'type':_0x45072c['aiQwU'],'description':_0x45072c['LwZRz']})['option'](_0x45072c[_0x5506f9(0x196)],{'type':_0x45072c['aiQwU'],'description':_0x45072c['bgPhD']});},async _0x498cc7=>{const _0x638fe=_0x43c8ca;_0x498cc7['name']&&await _0x45072c[_0x638fe(0x27f)](hook,_0x498cc7[_0x638fe(0x208)],_0x498cc7[_0x45072c['NFizt']]);})['demandCommand'](0x1,_0x43c8ca(0x1a5))[_0x43c8ca(0x1ed)]()[_0x43c8ca(0x1e5)](async(_0x11690d,_0x4540c8,_0x43de65)=>{const _0x3d302e=_0x43c8ca,_0xe15201=sanitizeArgs(process['argv']['slice'](0x2)),_0x205819=getErrorType(_0x11690d,_0x4540c8);if(_0x11690d&&_0x11690d['includes'](_0x45072c['DZmEe'])){const _0x2ae38c=process[_0x3d302e(0x246)][0x2];console[_0x3d302e(0x356)]('\x0aUnknown\x20command:\x20'+_0x2ae38c),console[_0x3d302e(0x356)](_0x45072c['dmHNF']);}else{if(_0x11690d)console[_0x3d302e(0x356)]('\x0a'+_0x11690d+'\x0a');else _0x4540c8&&console['error'](_0x3d302e(0x1f8)+_0x4540c8['message']+'\x0a');}await logDesirePath({'rawCommand':_0xe15201,'errorMessage':_0x11690d||_0x4540c8?.['message'],'errorType':_0x205819});const _0x16431d=getCurrentCollector();_0x16431d&&await _0x16431d['trackCommandError'](_0x4540c8||new Error(_0x11690d||_0x45072c[_0x3d302e(0x2fc)])),process[_0x3d302e(0x22a)](0x1);})['epilogue'](_0x45072c[_0x43c8ca(0x282)](_0x45072c[_0x43c8ca(0x282)](_0x43c8ca(0x33f),_0x43c8ca(0x350)),_0x43c8ca(0x312)))[_0x43c8ca(0x27a)]()['alias'](_0x43c8ca(0x27a),'h');}function _0x5a11(_0x1c83a4,_0x5b4d27){_0x1c83a4=_0x1c83a4-0x191;const _0x5acd44=_0x5acd();let _0x5a1167=_0x5acd44[_0x1c83a4];return _0x5a1167;}process['env'][_0x22b25c(0x334)]!=='test'&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()[_0x22b25c(0x28a)]());
|