@ranger-testing/ranger-cli 3.0.1-alpha.d9f4572-27 → 3.0.1-alpha.ffffb5b-28
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/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/resolveProfileContext.js +1 -1
- package/build/commands/utils/resolveProfileUrl.js +1 -1
- package/build/commands/utils/retry.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/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/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x4874ed=_0x5f07;(function(_0x1f60b1,_0x4ff446){const _0x2fe6fc=_0x5f07,_0x276913=_0x1f60b1();while(!![]){try{const _0x7e0ad3=parseInt(_0x2fe6fc(0x1d3))/0x1+parseInt(_0x2fe6fc(0x256))/0x2*(parseInt(_0x2fe6fc(0x204))/0x3)+parseInt(_0x2fe6fc(0x139))/0x4+parseInt(_0x2fe6fc(0x22c))/0x5+-parseInt(_0x2fe6fc(0x209))/0x6+-parseInt(_0x2fe6fc(0x198))/0x7+-parseInt(_0x2fe6fc(0x1b6))/0x8;if(_0x7e0ad3===_0x4ff446)break;else _0x276913['push'](_0x276913['shift']());}catch(_0x48ddab){_0x276913['push'](_0x276913['shift']());}}}(_0xacad,0x98ad7));import _0x1f4509 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0xabf61e=_0x5f07,_0x1ece51={'auPwe':function(_0x2ed378,_0x5d44bd){return _0x2ed378!==_0x5d44bd;},'LccmT':function(_0x3f031f,_0x562e94){return _0x3f031f(_0x562e94);},'NfjKt':'.ranger','YbvXO':'.env'};let _0x3dba3a=process['cwd']();const _0x3aed40=parse(_0x3dba3a)[_0xabf61e(0x1ad)];while(_0x1ece51[_0xabf61e(0x189)](_0x3dba3a,_0x3aed40)){if(_0x1ece51['LccmT'](existsSync,join(_0x3dba3a,_0x1ece51['NfjKt']))||existsSync(join(_0x3dba3a,_0x1ece51[_0xabf61e(0x216)])))return _0x3dba3a;_0x3dba3a=dirname(_0x3dba3a);}return process['cwd']();}_0x1f4509[_0x4874ed(0x24d)]({'path':join(findProjectRoot(),'.env')});function _0xacad(){const _0x35257d=['token','Feature\x20review\x20name','Xuenm','JbxYu','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','list\x20<env>','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','checklist','EOxpT','ixEhI','mKTOP','setup:all','msJbk','KEhzf','model','ZpwNl','Include\x20soft-deleted\x20feature\x20reviews','uIORX','Switch\x20to\x20using\x20a\x20specific\x20profile','lFnTx','KxOni','Unknown\x20command','array','OfcjF','epilogue','aWqKU','set\x20<env>\x20<key>\x20<value>','HXJqI','BDfRl','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','Number\x20of\x20feature\x20reviews\x20to\x20skip','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','item','ranger\x20profile\x20config\x20set','Authenticate\x20via\x20MCP\x20proxy','XGXOF','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','--profile','\x0aUnknown\x20command:\x20','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','fMyjG','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','use\x20<env-name>','nlrmP','TFvNb','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','DhVJl','force','ovyTk','ranger\x20get-review','zUTSc','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','ccSUv','string','jxxuF','add-checklist-item\x20<description>','Feature\x20review\x20description','ranger\x20feature\x20create','BSSCo','ranger','zeOJx','You\x20must\x20specify\x20an\x20env\x20subcommand','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','cdp-endpoint','verified','--notes','pxwhn','CLtnR','RANGER_TEST_USERNAME','SejZq','nQmGe','unhandledRejection','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','\x20BLOCKED','vAcPy','HoYNT','synPa','Brhug','Skip\x20Chromium\x20browser\x20installation','--item','iGqSU','user','xNLQF','ranger\x20show','exit','setup-ci','ranger\x20feature\x20list','url','QQbEX','fwopS','update','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','OOmMg','Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','show\x20[id]','kdULj','4316704VnVXqB','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','report\x20[id]','AwBwe','skip-auth','GAipW','YUItt','length','start\x20[token]','clean','AuLdV','Environment\x20name','eUXUh','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','New\x20scenario\x20description','resume\x20[id]','yTtDo','list\x20<profile>','GnYXp','headed','qRgKq','SBOVa','issues','kaxTr','FLfls','euduT','boolean','zRQcu','iRmMF','resume','enable','create','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','start','UpgEd','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','option','disable','limit','nOuhq','Feature\x20review\x20ID','pnvzo','slice','STnZD','ranger\x20env\x20ls','dhFUk','HdqnT','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','CRYQT','Ngcua','profile-name','MNJuJ','cecmP','xVAMb','ranger\x20go','mcp','ranger\x20feature\x20restore','safe-mode','feature\x20show','eEbyV','EhCVd','tdcry','mkSVU','OgZIw','ialJn','EnrNx','Remove\x20a\x20config\x20value','WQOMK','\x0aError:\x20','CuqSY','update\x20<profile-name>','LpqrQ','XvkJN','Qiqsd','TjVez','repeat','value','Config\x20key\x20to\x20remove','Ranger\x20API\x20token','argv','auPwe','JWrPx','wAxED','jiYUh','yes','uUWfC','number','Set\x20a\x20config\x20value','awHcG','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','Authenticate\x20with\x20Ranger','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','ranger\x20profile\x20encrypt-auth','GYXET','bfzVB','2828371MlCvhg','jNyOw','\x20is\x20no\x20longer\x20supported.\x20','gaUTb','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','TeNnQ','--checklist','ranger\x20setup','add-scenario','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','verify-feature','ofGia','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','ZylUE','gtQUq','Skip\x20browser\x20authentication','hGSZL','ranger\x20start','config\x20list','includes','zIhQc','root','--task','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','OuPge','command','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','env','opencode','env-name','10041952HpeNHl','skills','✓\x20Authenticated\x20to\x20','oEAUK','ranger\x20verify-feature','--scenario','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','Profile\x20name','blocked','qXqtI','EYajW','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','AJAvZ','fail','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','QerwT','status','print-access-token','COOpk','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','login','hook:disable','List\x20all\x20config\x20for\x20a\x20profile','profile\x20use','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','jMdom','EXBMM','profile\x20update','json','1151594xMqdhi','xZTiM','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','log','UbXbD','PbBoJ','ranger\x20auth\x20encrypt','profile\x20migrate','organizationName','mwObv','Install\x20scope\x20for\x20plugin\x20and\x20skills','scenario','mhRAp','JMevm','profile\x20config\x20unset','save-creds','feature\x20add-checklist-item','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','project','use','get-review','scriptName','profile','ranger\x20env\x20update','test_output','AdecB','login\x20<name>','TGZvV','ZvBor','Install\x20skills\x20for\x20OpenCode','ranger\x20profile\x20add','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','CHUuv','\x0aIssues:','evaluation','encrypt-auth\x20<profile>','Install\x20Ranger\x20skills','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','tRKIv','You\x20must\x20specify\x20an\x20auth\x20subcommand','YAEBp','fPook','pNUoK','debug-address-comments','session-id','fKviY','SyXwn','SJxCM','Feature\x20review\x20ID\x20to\x20restore','33Nhmrow','xRpfh','RANGER_TEST_PASSWORD','cKWwO','allow-insecure-localhost','1522884lUvEDD','vSCKH','show','BoYop','setup:login','SPUkf','Nbhnf','BtKjY','Summary:\x20','wPKDu','nCTRj','key','Update\x20authentication\x20for\x20an\x20existing\x20profile','YbvXO','ranger\x20feature\x20delete','setup-ci\x20<token>','description','success','\x20VERIFIED','FifMj','doMwh','map','Name\x20of\x20the\x20environment\x20to\x20update','ranger\x20profile\x20config\x20unset','version','YQSwl','SPVsB','xXMWZ','positional','\x20\x20https://docs.ranger.net\x0a','feature','setup:skills','HVkWX','skillup','XFRoP','896965iOXJvq','mcp-bootstrap','hzmPc','QZETI','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','Documentation:\x0a','reset\x20<profile>','nNnBY','offset','ZegsT','JqxJS','You\x20must\x20specify\x20a\x20config\x20subcommand','iXzwe','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','demandCommand','GwFmA','RsKCH','nDlzl','task','with-deps','startsWith','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','kDfiv','error','Gqeic','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','base-url','Install\x20Chromium\x20browser\x20binary','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','scope','incomplete','unset\x20<profile>\x20<key>','kUgHB','config','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','partial','profile\x20delete','setup-header','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','skip-chromium','unset\x20<env>\x20<key>','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','23330AMEzqJ','CrzLc','ewoLO','\x20PARTIAL','QqEJZ','all','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','zLEnk','include-deleted','alias','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','get\x20<env>\x20<key>','vYOTC','Print\x20the\x20current\x20CLI\x20access\x20token','exitCode','restore\x20<id>','EiEsh','delete','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','add\x20<profile-name>','mSQft','Ranger\x20API\x20token\x20(rngr_...)','ComIf','EyMJp','pWWHf','SDCbw','Config\x20value','env\x20update','profile\x20config\x20reset','KyVWu','ranger\x20create','qCBUp','exclude-scenario','add-scenario\x20<description>','name','ranger\x20profile\x20config\x20list','tokenOrSubcommand','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','usage','current-branch'];_0xacad=function(){return _0x35257d;};return _0xacad();}import _0x3fba76 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';function _0x5f07(_0x198b1f,_0x490e19){_0x198b1f=_0x198b1f-0xdd;const _0xacad96=_0xacad();let _0x5f0785=_0xacad96[_0x198b1f];return _0x5f0785;}import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{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'](_0x4874ed(0x120),async _0x409c7a=>{const _0x1b8a3d=_0x4874ed,_0x3441f9=getCurrentCollector();_0x3441f9&&await _0x3441f9['trackCommandError'](_0x409c7a),process[_0x1b8a3d(0x264)]=0x1;});const rawArgs=process['argv']['slice'](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP=_0x4874ed(0x1af),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(_0x46bd9f,_0x425fbd){const _0x16cebc=_0x4874ed;console[_0x16cebc(0x243)]('\x0a'+_0x46bd9f+'\x20is\x20now\x20'+_0x425fbd+'\x0a');}function argUsed(_0xe15692){const _0x4a5c62=_0x4874ed;return rawArgs['some'](_0x59f12a=>_0x59f12a===_0xe15692||_0x59f12a[_0x4a5c62(0x240)](_0xe15692+'='));}function warnFlagRenamed(_0x44e101,_0xfb1fa9,_0x56f409){const _0x3115b5={'EDTFK':function(_0x3d94c7,_0x6c405c){return _0x3d94c7(_0x6c405c);},'svfxx':function(_0x1caa0a,_0x21f04e,_0x56e97e){return _0x1caa0a(_0x21f04e,_0x56e97e);}};_0x3115b5['EDTFK'](argUsed,_0xfb1fa9)&&_0x3115b5['svfxx'](warnRenamed,_0x44e101+'\x20'+_0xfb1fa9,_0x44e101+'\x20'+_0x56f409);}async function runGoCommand(_0x29222b,_0x5405c3=![]){const _0x427861=_0x4874ed,_0x23d85d={'ROxVY':function(_0x1903b6,_0xc9add0,_0x13b085){return _0x1903b6(_0xc9add0,_0x13b085);},'GAipW':_0x427861(0x1ba),'BDfRl':_0x427861(0x16f),'uUWfC':'--env','MMFBL':_0x427861(0xfd),'hGSZL':_0x427861(0x1ae),'bqXFM':_0x427861(0x128),'LpqrQ':function(_0x15e58a){return _0x15e58a();},'pnvzo':function(_0x347284,_0x34501c){return _0x347284===_0x34501c;},'FLwTo':'verified','QerwT':'incomplete','bqIav':'\x20INCOMPLETE','tRKIv':_0x427861(0x259)};_0x5405c3&&_0x23d85d['ROxVY'](warnRenamed,_0x23d85d[_0x427861(0x13e)],'ranger\x20go');warnFlagRenamed(_0x23d85d['BDfRl'],_0x23d85d[_0x427861(0x18e)],_0x23d85d['MMFBL']),warnFlagRenamed(_0x23d85d['BDfRl'],_0x23d85d[_0x427861(0x1a8)],_0x427861(0x11a)),warnFlagRenamed(_0x23d85d[_0x427861(0xf4)],_0x23d85d['bqXFM'],_0x427861(0x1bb));const _0x378d05=await loadRangerConfig(),_0x1b252c=_0x23d85d[_0x427861(0x180)](isByokEnabled),_0x43d596=_0x29222b[_0x427861(0xe6)],_0x598e66=_0x378d05[_0x427861(0xe6)],_0x10bcde=await verifyFeature({'featureId':_0x29222b[_0x427861(0x227)],'profile':_0x29222b['profile']??_0x29222b[_0x427861(0x1b3)]??process['env']['RANGER_PROFILE'],'notes':_0x29222b['notes']??_0x29222b[_0x427861(0x23e)],'scenario':_0x29222b['scenario']??_0x29222b[_0x427861(0xf8)],'startPath':_0x29222b['start-path'],'baseUrl':_0x29222b['base-url'],'debugOutcome':_0x29222b['debug-outcome'],'debugAddressComments':_0x29222b['debug-address-comments'],'headed':_0x29222b[_0x427861(0x14c)],'byokEnabled':_0x1b252c,'flagVerifyModel':_0x43d596,'configVerifyModel':_0x598e66});console[_0x427861(0x1d6)]('\x0a'+'='[_0x427861(0x184)](0x3c)),console['log'](_0x23d85d[_0x427861(0x162)](_0x10bcde[_0x427861(0x1f5)],_0x23d85d['FLwTo'])?_0x427861(0x21b):_0x10bcde['evaluation']===_0x23d85d[_0x427861(0x1c5)]?_0x23d85d['bqIav']:_0x10bcde['evaluation']==='partial'?_0x23d85d[_0x427861(0x1f9)]:_0x10bcde[_0x427861(0x1f5)]===_0x427861(0x1be)?_0x427861(0x122):'\x20FAILED'),console['log']('='['repeat'](0x3c)),console[_0x427861(0x1d6)](_0x427861(0x211)+_0x10bcde['summary']),console['log']('Evaluation:\x20'+_0x10bcde['evaluation']),console[_0x427861(0x1d6)]('Reason:\x20'+_0x10bcde['evaluationReason']),_0x10bcde['issues']?.[_0x427861(0x140)]&&(console[_0x427861(0x1d6)](_0x427861(0x1f4)),_0x10bcde[_0x427861(0x14f)]['forEach']((_0x55b9cc,_0x2c1a3d)=>{console['log']('\x0a'+(_0x2c1a3d+0x1)+'.\x20['+_0x55b9cc['severity']+']\x20'+_0x55b9cc['description']);})),process['exit'](_0x10bcde[_0x427861(0x1f5)]==='verified'?0x0:0x1);}export function buildParser(_0xc67862){const _0x39580c=_0x4874ed,_0xf6f910={'CRYQT':_0x39580c(0x27f),'EYajW':_0x39580c(0x219),'IViZv':_0x39580c(0x111),'TeNnQ':'scenario','LGKec':_0x39580c(0xdf),'iGqSU':_0x39580c(0xee),'dsKDw':'Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','nCTRj':'Example:\x20ranger\x20create\x20my-feature','AxjWe':function(_0xcef5a4,_0x300fe1,_0x2b3aa6,_0x554306){return _0xcef5a4(_0x300fe1,_0x2b3aa6,_0x554306);},'LLSpG':_0x39580c(0x274),'kDfiv':_0x39580c(0x1bb),'WQOMK':function(_0x939302,_0x169259,_0x328f63){return _0x939302(_0x169259,_0x328f63);},'vBwXa':_0x39580c(0x158),'ixEhI':_0x39580c(0x15f),'jOQCO':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','xNLQF':'boolean','QSiDv':'list','hzmPc':'Feature\x20review\x20ID','pxwhn':function(_0x485173,_0x39dd5d,_0x1b6b18){return _0x485173(_0x39dd5d,_0x1b6b18);},'AwBwe':function(_0x160b3d,_0x5cc4f4,_0x4fb3fb){return _0x160b3d(_0x5cc4f4,_0x4fb3fb);},'xXMWZ':'Scenario\x20description','ZegsT':_0x39580c(0x10e),'jxxuF':_0x39580c(0x248),'TGZvV':_0x39580c(0x1a0),'zTatH':_0x39580c(0x147),'UbXbD':'Scenario\x20number\x20to\x20edit\x20(1-based)','dSDSs':_0x39580c(0x276),'MdeFo':_0x39580c(0x1d2),'oEAUK':'token','zLEnk':'skip-chromium','pWWHf':_0x39580c(0x13d),'wPKDu':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','Gqeic':'opencode','PbBoJ':'allow-insecure-localhost','XFRoP':_0x39580c(0x22d),'LpLFO':_0x39580c(0x101),'yTtDo':_0x39580c(0x170),'XEwqp':'with-deps','zeOJx':_0x39580c(0xde),'qRgKq':_0x39580c(0x26b),'EhCVd':'ranger','HoYNT':function(_0x116395){return _0x116395();},'OfcjF':'user','kUgHB':'url','XArgv':'Base\x20URL\x20of\x20the\x20running\x20app','wDSqi':_0x39580c(0x1a7),'nlrmP':'force','HdqnT':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','LHkCx':_0x39580c(0x27a),'Ngalf':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','dhFUk':_0x39580c(0x25b),'JqxJS':'Run\x20full\x20interactive\x20setup','KcnMY':'Set\x20up\x20a\x20local\x20browser\x20profile','fKviY':_0x39580c(0x252),'mkSVU':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','lSXGA':_0x39580c(0x187),'kaxTr':'profile','SbxEa':_0x39580c(0x13a),'hOHCL':_0x39580c(0x246),'MpDlF':_0x39580c(0x1e4),'TFvNb':_0x39580c(0x12e),'GYXET':_0x39580c(0x1ca),'mKTOP':_0x39580c(0x1f0),'TjVez':'scope','vSCKH':'Install\x20scope\x20for\x20skills','SDCbw':'profile-name','CLtnR':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','WazLM':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','zUTSc':_0x39580c(0x118),'jMdom':_0x39580c(0x121),'YAEBp':_0x39580c(0x10c),'JWrPx':'setup-header','fqhKJ':_0x39580c(0x25c),'yjylE':'project','fwopS':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','hRrGT':_0x39580c(0x18d),'ialJn':function(_0x5af45c,_0x495741,_0x1e8d17,_0x4f5cf9){return _0x5af45c(_0x495741,_0x1e8d17,_0x4f5cf9);},'nDlzl':function(_0x672c9e,_0xc21332){return _0x672c9e(_0xc21332);},'nNnBY':function(_0x1da1ee,_0x34c98e,_0x75f1bf){return _0x1da1ee(_0x34c98e,_0x75f1bf);},'GXPLi':'Skip\x20the\x20deletion\x20confirmation\x20prompt.','Fvpqf':function(_0x791961,_0x255226,_0x2f6c3d){return _0x791961(_0x255226,_0x2f6c3d);},'Xuenm':'profile\x20encrypt-auth','BoYop':function(_0x4f1a3d,_0x479938,_0x5e4c10){return _0x4f1a3d(_0x479938,_0x5e4c10);},'lLiej':'profile\x20ls','SejZq':'name','Qiqsd':'Cloud\x20profile\x20name','EyMJp':function(_0x1a0175,_0x55895d){return _0x1a0175||_0x55895d;},'AFQwr':function(_0x4688d3,_0xafdfb){return _0x4688d3===_0xafdfb;},'irIUM':'not_configured','mwObv':'No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','KEhzf':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','KxOni':_0x39580c(0xf7),'VJGQW':_0x39580c(0x1bd),'PxxAO':'Config\x20key','gaUTb':_0x39580c(0x186),'slsZt':function(_0x14a8aa,_0x185e15,_0x13b6b1){return _0x14a8aa(_0x185e15,_0x13b6b1);},'NDdRG':'set\x20<profile>\x20<key>\x20<value>','GwFmA':_0x39580c(0x1cc),'SJxCM':_0x39580c(0x24b),'Ngcua':_0x39580c(0x232),'SXRVm':'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','qCBUp':_0x39580c(0x1f8),'fPook':_0x39580c(0x269),'RliZC':_0x39580c(0xea),'SPVsB':'delete\x20<profile-name>','jYWqn':'Delete\x20a\x20cloud\x20profile','Klrqy':_0x39580c(0x17f),'VfoGS':'Manage\x20profile\x20configuration','ugXAY':'status','xJcAx':function(_0x52ab40){return _0x52ab40();},'zRQcu':_0x39580c(0x1c7),'gigxe':'feature','msJbk':'Optional\x20feature\x20ID','IWhof':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','xpeDj':_0x39580c(0x19c),'mhRAp':'start-path','XrOfk':_0x39580c(0x239),'TOmWF':_0x39580c(0x260),'pNUoK':'model','KqoJc':_0x39580c(0x119),'vYOTC':'partial','csrPL':'failed','jitXu':_0x39580c(0x24a),'Cbkdb':'task','mPTws':_0x39580c(0x195),'LxqKN':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','DffQG':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','BTUbG':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','bbnNs':function(_0x40e8e0,_0x46b128,_0x26c061){return _0x40e8e0(_0x46b128,_0x26c061);},'YTjWw':_0x39580c(0x15a),'bfzVB':_0x39580c(0x1b3),'FifMj':_0x39580c(0x15c),'ZpwNl':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','EnrNx':_0x39580c(0xf8),'TjZNV':'Scenario\x20index\x20(1-based)','qHArS':'notes','OOmMg':_0x39580c(0x18f),'YUItt':'headed','iXzwe':function(_0x503b17,_0x452dc7,_0x5b821e){return _0x503b17(_0x452dc7,_0x5b821e);},'HXJqI':'env-name','jNyOw':_0x39580c(0x27b),'COOpk':function(_0x1a6f17,_0x296f73,_0x2c79e8){return _0x1a6f17(_0x296f73,_0x2c79e8);},'Seysr':'ranger\x20add\x20env','ovyTk':_0x39580c(0x1f1),'KyVWu':'add\x20env','Brhug':'ranger\x20use','EYTwp':'ranger\x20profile\x20use','nOuhq':function(_0x33ef49,_0x46a3d8,_0x45307e){return _0x33ef49(_0x46a3d8,_0x45307e);},'OgZIw':_0x39580c(0x1e6),'NgAVm':_0x39580c(0xf9),'Bkhdo':'ranger\x20config\x20get','yqcgz':_0x39580c(0x144),'CrzLc':'ranger\x20config\x20list','iBOtE':function(_0x1a06e5,_0x2c436f,_0x698adf){return _0x1a06e5(_0x2c436f,_0x698adf);},'STnZD':'ranger\x20config\x20unset','dSghZ':_0x39580c(0x220),'xRpfh':'config\x20unset','xbBDr':_0x39580c(0x270),'VfeSa':'key','QPVJc':_0x39580c(0x261),'OuPge':_0x39580c(0x254),'YJdfO':function(_0x214268,_0x377e3b,_0xb5ed14){return _0x214268(_0x377e3b,_0xb5ed14);},'Eyfdq':_0x39580c(0x271),'PsKGm':'offset','gxUAF':_0x39580c(0xf6),'QQbEX':_0x39580c(0x25e),'sidWI':'ranger\x20feature\x20get-feedback','ZCcdz':'feature\x20get-feedback','hkAlM':_0x39580c(0x217),'CHUuv':'ranger\x20delete','HvijT':_0x39580c(0x203),'RJFJZ':function(_0x78153f,_0x44a0c0,_0x2bf0ac){return _0x78153f(_0x44a0c0,_0x2bf0ac);},'Jhbeu':function(_0x3587be,_0x2f7d94,_0x4556cf){return _0x3587be(_0x2f7d94,_0x4556cf);},'BmGgM':'feature\x20create','EOxpT':'ranger\x20list','BtKjY':'ranger\x20feature\x20add-checklist-item','YwLXV':_0x39580c(0x1e3),'cKWwO':'create\x20<name>','KjKIn':'show\x20[id]','vBUdU':_0x39580c(0x110),'Nbhnf':_0x39580c(0x1ff),'keKsT':_0x39580c(0x1b2),'uIORX':function(_0x3b53a7,_0x4de525,_0x2bf618){return _0x3b53a7(_0x4de525,_0x2bf618);},'ZvBor':'hook:enable','lFnTx':_0x39580c(0x1cb),'RsKCH':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','iRmMF':_0x39580c(0x15e),'UpgEd':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','lnsxz':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','ldZiM':_0x39580c(0xed),'khSNS':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','wpgys':'Unknown\x20error','hdtlr':function(_0x21d9d4){return _0x21d9d4();},'cuokY':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','UnNij':'List\x20all\x20feature\x20reviews','nQmGe':'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','rnIvh':_0x39580c(0x277),'siloB':'edit-scenario\x20<description>','hVBac':_0x39580c(0xff),'eViSs':'get-review\x20[id]','jiYUh':_0x39580c(0x24e),'mSQft':'delete\x20[id]','XGXOF':'Restore\x20a\x20soft-deleted\x20feature\x20review','wyOQR':'setup\x20[tokenOrSubcommand]','qykpb':_0x39580c(0x218),'AdecB':_0x39580c(0x255),'yyhgm':'skillup','mmPPg':_0x39580c(0x1f7),'ypchA':_0x39580c(0x142),'EXBMM':'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','YPust':'Manage\x20profiles','QNTzk':_0x39580c(0x194),'xVAMb':_0x39580c(0x133),'cecmP':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','AFlky':_0x39580c(0x263),'ZVGUm':_0x39580c(0x141),'WpiAh':_0x39580c(0x24d),'CSbFQ':'You\x20must\x20specify\x20a\x20command','ROrIF':function(_0x2b6501,_0x411dae){return _0x2b6501+_0x411dae;},'imkBw':'help'};return _0xf6f910[_0x39580c(0x23d)](_0x3fba76,_0xc67862??process['argv'][_0x39580c(0x163)](0x2))[_0x39580c(0x1e8)](_0x39580c(0x114))[_0x39580c(0x27c)](TOP_LEVEL_HELP)[_0x39580c(0x221)](_0xf6f910['hdtlr'](getCurrentVersion))[_0x39580c(0x1b1)](_0xf6f910['cKWwO'],_0xf6f910['cuokY'],_0x37eeab=>{const _0x49ad4b=_0x39580c;return _0x37eeab[_0x49ad4b(0x225)](_0x49ad4b(0x278),{'type':_0x49ad4b(0x10e),'description':_0xf6f910[_0x49ad4b(0x169)],'demandOption':!![]})['option'](_0xf6f910['EYajW'],{'type':_0x49ad4b(0x10e),'alias':'d','description':_0xf6f910['IViZv']})[_0x49ad4b(0x15d)](_0xf6f910[_0x49ad4b(0x19d)],{'type':'array','alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option'](_0xf6f910['LGKec'],{'type':_0xf6f910[_0x49ad4b(0x129)],'hidden':!![]});},async _0x144c38=>{const _0x45f05b=_0x39580c;if(!_0x144c38['name']){console[_0x45f05b(0x243)](_0xf6f910['dsKDw']+_0xf6f910[_0x45f05b(0x213)]),process[_0x45f05b(0x12d)](0x1);return;}_0xf6f910['AxjWe'](warnFlagRenamed,_0xf6f910['LLSpG'],_0x45f05b(0x19e),_0xf6f910[_0x45f05b(0x242)]);const _0x354e04=_0x144c38['scenario']||_0x144c38[_0x45f05b(0xdf)];await _0xf6f910['WQOMK'](withTelemetry,_0xf6f910['vBwXa'],()=>featureCreate(_0x144c38[_0x45f05b(0x278)],{'description':_0x144c38['description'],'scenarios':_0x354e04}));})[_0x39580c(0x1b1)]('list',_0xf6f910['UnNij'],_0x268973=>{const _0x21bd1f=_0x39580c;return _0x268973['option']('current-branch',{'type':_0x21bd1f(0x153),'description':_0x21bd1f(0x245)})['option'](_0xf6f910[_0x21bd1f(0xe1)],{'type':'number','alias':'l','description':_0xf6f910['jOQCO'],'default':0xa})['option']('offset',{'type':_0x21bd1f(0x18f),'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option'](_0x21bd1f(0x25e),{'type':_0xf6f910[_0x21bd1f(0x12b)],'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x24c561=>{const _0x309b73=_0x39580c;await withTelemetry(_0xf6f910['QSiDv'],()=>featureList({'currentBranch':_0x24c561[_0x309b73(0x27d)],'limit':_0x24c561[_0x309b73(0x15f)],'offset':_0x24c561[_0x309b73(0x234)],'includeDeleted':_0x24c561['include-deleted']}));})[_0x39580c(0x1b1)](_0x39580c(0x137),_0xf6f910[_0x39580c(0x11f)],_0x19e386=>{const _0x9da5de=_0x39580c;return _0x19e386[_0x9da5de(0x225)]('id',{'type':'string','description':_0xf6f910[_0x9da5de(0x22e)]});},async _0x1f7028=>{const _0x56ba28=_0x39580c;await _0xf6f910['pxwhn'](withTelemetry,_0x56ba28(0x20b),()=>featureShow(_0x1f7028['id']));})[_0x39580c(0x1b1)]('resume\x20[id]','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x7ec326=>{const _0x4eaf6f=_0x39580c;return _0x7ec326[_0x4eaf6f(0x225)]('id',{'type':_0x4eaf6f(0x10e),'description':_0x4eaf6f(0x230)});},async _0x574d44=>{const _0xeaa677=_0x39580c;await _0xf6f910[_0xeaa677(0x13c)](withTelemetry,_0xeaa677(0x156),()=>featureResume(_0x574d44['id']));})[_0x39580c(0x1b1)](_0xf6f910['rnIvh'],'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x3b6b98=>{const _0x3b0d0d=_0x39580c;return _0x3b6b98['positional'](_0xf6f910[_0x3b0d0d(0x1c0)],{'type':_0x3b0d0d(0x10e),'description':_0xf6f910[_0x3b0d0d(0x224)],'demandOption':!![]})['option']('id',{'type':_0xf6f910['ZegsT'],'description':_0xf6f910['jxxuF']});},async _0x193106=>{const _0x237330=_0x39580c;await withTelemetry(_0xf6f910[_0x237330(0x1ee)],()=>featureAddScenario(_0x193106['description'],_0x193106['id']));})['command'](_0xf6f910['siloB'],_0xf6f910['hVBac'],_0x3b0243=>{const _0x177e1b=_0x39580c;return _0x3b0243['positional'](_0x177e1b(0x219),{'type':_0xf6f910[_0x177e1b(0x235)],'description':_0xf6f910['zTatH'],'demandOption':!![]})['option']('scenario',{'type':'number','description':_0xf6f910[_0x177e1b(0x1d7)],'demandOption':!![]})[_0x177e1b(0x15d)]('id',{'type':_0xf6f910[_0x177e1b(0x235)],'description':_0xf6f910[_0x177e1b(0x10f)]});},async _0x49fb5f=>{await withTelemetry('edit-scenario',()=>featureEditScenario(_0x49fb5f['description'],{'id':_0x49fb5f['id'],'scenario':_0x49fb5f['scenario']}));})['command'](_0x39580c(0x13b),_0x39580c(0x117),_0x198db9=>{const _0x78e920=_0x39580c;return _0x198db9[_0x78e920(0x225)]('id',{'type':_0x78e920(0x10e),'description':_0x78e920(0x161)})['option'](_0xf6f910['dSDSs'],{'type':'array','description':_0x78e920(0x1d5)})[_0x78e920(0x15d)](_0xf6f910['MdeFo'],{'type':_0xf6f910[_0x78e920(0x12b)],'description':_0x78e920(0x1a4),'default':![]});},async _0x530447=>{const _0x2df368=_0x39580c,_0x53a9ab=_0x530447[_0x2df368(0x276)],_0x4c87d4=_0x53a9ab?_0x53a9ab[_0x2df368(0x21e)](_0xc8a468=>Number(_0xc8a468)):undefined;await _0xf6f910['WQOMK'](withTelemetry,'report',()=>featureReportPrDescription(_0x530447['id'],{'excludeScenarios':_0x4c87d4,'json':_0x530447['json']}));})[_0x39580c(0x1b1)](_0xf6f910['eViSs'],_0xf6f910[_0x39580c(0x18c)],_0x33da15=>{const _0x124c0c=_0x39580c;return _0x33da15[_0x124c0c(0x225)]('id',{'type':_0x124c0c(0x10e),'description':_0xf6f910['jxxuF']});},async _0x158c93=>{const _0x397c62=_0x39580c;await _0xf6f910['WQOMK'](withTelemetry,_0x397c62(0x1e7),()=>featureGetReview(_0x158c93['id']));})[_0x39580c(0x1b1)](_0xf6f910[_0x39580c(0x26a)],'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x4d9b1e=>{const _0x14aee1=_0x39580c;return _0x4d9b1e[_0x14aee1(0x225)]('id',{'type':_0x14aee1(0x10e),'description':_0xf6f910[_0x14aee1(0x22e)]});},async _0x1f4db7=>{const _0x3ef05b=_0x39580c;await withTelemetry(_0x3ef05b(0x267),()=>featureDelete(_0x1f4db7['id']));})['command'](_0x39580c(0x265),_0xf6f910[_0x39580c(0xfb)],_0x72e076=>{const _0x4918d7=_0x39580c;return _0x72e076['positional']('id',{'type':_0xf6f910[_0x4918d7(0x235)],'description':_0x4918d7(0x203),'demandOption':!![]});},async _0xacc833=>{await withTelemetry('restore',()=>featureRestore(_0xacc833['id']));})['command'](_0xf6f910['wyOQR'],'Initialize\x20Ranger\x20in\x20your\x20project',_0x1f08a7=>{const _0x46eaf9=_0x39580c,_0x4bb60e={'CuqSY':function(_0x2b8225,_0x35c3ce,_0x1e0fdc){return _0x2b8225(_0x35c3ce,_0x1e0fdc);},'SyXwn':_0x46eaf9(0xe3),'IzeId':function(_0x8474f8,_0x1f28ad){return _0x8474f8(_0x1f28ad);},'rGrJd':'scope','aJsjS':'string','tqETI':'boolean','GrpMH':function(_0x580f4f,_0x3ee1fc){return _0x580f4f!==_0x3ee1fc;},'XvkJN':_0x46eaf9(0x12a),'ComIf':'setup:profiles'};return _0x1f08a7['usage'](_0x46eaf9(0x1c1))[_0x46eaf9(0x225)](_0xf6f910['LHkCx'],{'type':_0xf6f910['ZegsT'],'description':_0xf6f910['Ngalf']})['command'](_0xf6f910[_0x46eaf9(0x166)],_0xf6f910[_0x46eaf9(0x236)],_0x3d2581=>{const _0x359ff4=_0x46eaf9;return _0x3d2581['option'](_0xf6f910['oEAUK'],{'type':_0xf6f910[_0x359ff4(0x235)],'description':'Ranger\x20API\x20token'})[_0x359ff4(0x15d)](_0xf6f910[_0x359ff4(0x25d)],{'type':'boolean','description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x359ff4(0x15d)](_0xf6f910[_0x359ff4(0x26e)],{'type':'boolean','description':'Skip\x20authentication','default':![]})['option'](_0x359ff4(0x23f),{'type':_0xf6f910[_0x359ff4(0x12b)],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]})['option']('scope',{'type':_0xf6f910['ZegsT'],'choices':['user'],'hidden':!![],'description':_0xf6f910[_0x359ff4(0x212)]})['option']('url',{'type':'string','description':_0x359ff4(0x241)})['option'](_0x359ff4(0x108),{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x359ff4(0x15d)](_0xf6f910[_0x359ff4(0x244)],{'type':_0x359ff4(0x153),'description':_0x359ff4(0x146),'default':![]})[_0x359ff4(0x15d)](_0xf6f910[_0x359ff4(0x1d8)],{'type':_0xf6f910[_0x359ff4(0x12b)],'description':_0x359ff4(0x1c4),'default':![]})['option'](_0xf6f910[_0x359ff4(0x22b)],{'type':_0xf6f910['xNLQF'],'description':_0xf6f910['LpLFO'],'default':![]})['option'](_0xf6f910[_0x359ff4(0x149)],{'type':_0x359ff4(0x153),'description':'Alias\x20for\x20--mcp-bootstrap','default':![]});},async _0x565d40=>{const _0x30a582=_0x46eaf9;(_0x565d40['mcp-bootstrap']||_0x565d40['mcp'])&&await withTelemetry(_0x30a582(0x22d),()=>mcpBootstrap()),await _0x4bb60e[_0x30a582(0x17e)](withTelemetry,_0x4bb60e[_0x30a582(0x201)],_0x3e6b9d=>start(_0x565d40['token'],{'skipChromium':_0x565d40['skip-chromium'],'skipAuth':_0x565d40[_0x30a582(0x13d)],'withDeps':_0x565d40['with-deps'],'scope':_0x565d40[_0x30a582(0x249)],'url':_0x565d40[_0x30a582(0x130)],'force':_0x565d40[_0x30a582(0x108)],'opencode':_0x565d40['opencode'],'allowInsecureLocalhost':_0x565d40[_0x30a582(0x208)]},_0x3e6b9d));})[_0x46eaf9(0x1b1)]('deps',_0x46eaf9(0x247),_0xdade85=>{return _0xdade85['option'](_0xf6f910['XEwqp'],{'type':_0xf6f910['xNLQF'],'description':_0xf6f910['zeOJx'],'default':![]});},async _0x2b4ce4=>{const _0xa3d839=_0x46eaf9;await withTelemetry('setup:deps',()=>ensureChromium(_0x2b4ce4[_0xa3d839(0x23f)]));})[_0x46eaf9(0x1b1)](_0x46eaf9(0x1ca),_0x46eaf9(0x193),_0x24086a=>{const _0x48d498=_0x46eaf9;return _0x24086a[_0x48d498(0x15d)](_0xf6f910[_0x48d498(0x1b9)],{'type':_0xf6f910[_0x48d498(0x235)],'description':_0xf6f910[_0x48d498(0x14d)]})['option']('mcp',{'type':'boolean','description':_0x48d498(0xfa),'default':![]});},async _0x4cc8b9=>{const _0xabd949=_0x46eaf9,_0x1d4830={'JbxYu':function(_0x10cc5e,_0x805114){return _0x4bb60e['IzeId'](_0x10cc5e,_0x805114);}};await withTelemetry(_0xabd949(0x20d),async()=>{const _0x446f08=_0xabd949;if(_0x4cc8b9[_0x446f08(0x170)]){await mcpBootstrap();const _0x4626bc=await refreshCliToken();if(!_0x4626bc)throw new Error('Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.');const _0x4b01df=await getCurrentUser(_0x4626bc);if(!_0x4b01df[_0x446f08(0x21a)])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x4b01df['error']);console[_0x446f08(0x1d6)](_0x446f08(0x1b8)+_0x4b01df[_0x446f08(0x12a)][_0x446f08(0x1db)]);return;}await _0x1d4830[_0x446f08(0x281)](authenticate,_0x4cc8b9['token']);});})['command'](_0x46eaf9(0x1b7),_0x46eaf9(0x168),_0x4f1e32=>{const _0x5cbcc2=_0x46eaf9;return _0x4f1e32['option'](_0x4bb60e['rGrJd'],{'type':_0x4bb60e['aJsjS'],'choices':[_0x5cbcc2(0x12a),_0x5cbcc2(0x1e5)],'description':_0x5cbcc2(0x1dd)})[_0x5cbcc2(0x15d)]('opencode',{'type':_0x4bb60e['tqETI'],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]});},async _0x4e04db=>{const _0x122964=_0x46eaf9,_0x3ec1cd={'IVxsT':function(_0x5e2944,_0x214e78,_0x9ca535){return _0x5e2944(_0x214e78,_0x9ca535);},'zHONN':_0xf6f910[_0x122964(0x175)],'xZTiM':function(_0x3b9a36){const _0x4df7e5=_0x122964;return _0xf6f910[_0x4df7e5(0x124)](_0x3b9a36);},'AJAvZ':function(_0xc8ac30,_0x506456){return _0xc8ac30(_0x506456);}};await _0xf6f910[_0x122964(0x13c)](withTelemetry,_0x122964(0x228),async()=>{const _0x339fb7=_0x122964,_0x401807=_0x4e04db['scope'];if(_0x4e04db[_0x339fb7(0x1b4)]){const _0x397e5d=await ensureOpencodePluginConfig(_0x401807);_0x397e5d&&await _0x3ec1cd['IVxsT'](installSkill,_0x3ec1cd['zHONN'],{'level':_0x397e5d[_0x339fb7(0x249)],'cliVersion':_0x3ec1cd[_0x339fb7(0x1d4)](getCurrentVersion),'platform':'opencode'});}else await _0x3ec1cd[_0x339fb7(0x1c2)](ensureClaudePlugin,_0x401807),await _0x3ec1cd[_0x339fb7(0x1c2)](ensureClaudeSkills,_0x401807);});})[_0x46eaf9(0x1b1)]('profiles',_0xf6f910['KcnMY'],_0x56ee9b=>{const _0x1cc69c=_0x46eaf9;return _0x56ee9b['option']('scope',{'type':'string','choices':[_0xf6f910[_0x1cc69c(0xef)]],'description':_0xf6f910['wPKDu']})['option'](_0xf6f910[_0x1cc69c(0x24c)],{'type':_0xf6f910['ZegsT'],'description':_0xf6f910['XArgv']})['option'](_0x1cc69c(0x13d),{'type':_0xf6f910['xNLQF'],'description':_0xf6f910['wDSqi'],'default':![]})[_0x1cc69c(0x15d)](_0xf6f910[_0x1cc69c(0x103)],{'type':_0xf6f910[_0x1cc69c(0x12b)],'description':_0x1cc69c(0x252),'default':![]})['option'](_0x1cc69c(0x208),{'type':_0xf6f910[_0x1cc69c(0x12b)],'description':_0xf6f910[_0x1cc69c(0x167)],'default':![]});},async _0x29b4f1=>{const _0x3c3ff4=_0x46eaf9,_0x1e58e0=_0x29b4f1['scope'];_0x1e58e0!==undefined&&_0x4bb60e['GrpMH'](_0x1e58e0,_0x4bb60e[_0x3c3ff4(0x181)])&&(console['error']('ranger\x20setup\x20profiles\x20--scope='+_0x1e58e0+_0x3c3ff4(0x19a)+_0x3c3ff4(0x268)+_0x3c3ff4(0x159)),process[_0x3c3ff4(0x12d)](0x1)),await _0x4bb60e['CuqSY'](withTelemetry,_0x4bb60e[_0x3c3ff4(0x26c)],_0xb4a7c1=>ensureLocalEnv({'url':_0x29b4f1['url'],'force':_0x29b4f1['force'],'allowInsecureLocalhost':_0x29b4f1[_0x3c3ff4(0x208)],'scope':'user'},_0xb4a7c1));})['option'](_0x46eaf9(0x253),{'type':_0xf6f910['xNLQF'],'description':_0x46eaf9(0x1c9),'default':![]})[_0x46eaf9(0x15d)](_0x46eaf9(0x249),{'type':'string','choices':[_0xf6f910[_0x46eaf9(0xef)]],'hidden':!![],'description':_0xf6f910['wPKDu']})[_0x46eaf9(0x15d)](_0x46eaf9(0x130),{'type':'string','description':_0x46eaf9(0x282)})['option']('force',{'type':_0xf6f910['xNLQF'],'description':_0xf6f910['fKviY'],'default':![]})[_0x46eaf9(0x15d)]('opencode',{'type':_0xf6f910['xNLQF'],'description':_0xf6f910[_0x46eaf9(0x177)],'default':![]})['option'](_0xf6f910['PbBoJ'],{'type':_0x46eaf9(0x153),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})['option'](_0xf6f910[_0x46eaf9(0x22b)],{'type':_0xf6f910[_0x46eaf9(0x12b)],'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','default':![]})[_0x46eaf9(0x15d)]('skip-auth',{'type':'boolean','description':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','default':![]})['option'](_0xf6f910['XEwqp'],{'type':_0x46eaf9(0x153),'description':_0xf6f910[_0x46eaf9(0x115)],'default':![]})[_0x46eaf9(0x15d)](_0xf6f910['oEAUK'],{'type':_0x46eaf9(0x10e),'hidden':!![],'description':'API\x20token'});},async _0x456aa7=>{const _0xfa61bc=_0x39580c,_0x23a6e7=_0x456aa7['tokenOrSubcommand'],_0x44e54=_0x456aa7['token']??_0x23a6e7;_0x456aa7[_0xfa61bc(0x22d)]&&await withTelemetry('mcp-bootstrap',()=>mcpBootstrap()),await withTelemetry(_0xfa61bc(0x15a),_0x54e008=>start(_0x44e54,{'skipChromium':_0x456aa7[_0xfa61bc(0x253)],'skipAuth':_0x456aa7['skip-auth'],'withDeps':_0x456aa7['with-deps'],'scope':_0x456aa7[_0xfa61bc(0x249)],'url':_0x456aa7[_0xfa61bc(0x130)],'force':_0x456aa7['force'],'opencode':_0x456aa7['opencode'],'allowInsecureLocalhost':_0x456aa7[_0xfa61bc(0x208)]},_0x54e008));})[_0x39580c(0x1b1)](_0xf6f910['qykpb'],![],_0x532253=>{const _0x4c0532=_0x39580c;return _0x532253[_0x4c0532(0x225)](_0xf6f910[_0x4c0532(0x1b9)],{'type':'string','description':_0xf6f910['lSXGA'],'demandOption':!![]})['option'](_0xf6f910[_0x4c0532(0x150)],{'type':_0x4c0532(0x10e),'description':_0xf6f910['SbxEa']})[_0x4c0532(0x15d)](_0xf6f910['hOHCL'],{'type':_0xf6f910[_0x4c0532(0x235)],'description':_0xf6f910['MpDlF']})['option'](_0x4c0532(0x253),{'type':_0xf6f910[_0x4c0532(0x12b)],'description':_0x4c0532(0x127),'default':![]});},async _0x4127e2=>{const _0x16b024=_0x39580c;await _0xf6f910['pxwhn'](withTelemetry,_0xf6f910[_0x16b024(0x104)],_0x2f7dcb=>setupCi(_0x4127e2[_0x16b024(0x27e)],{'profile':_0x4127e2[_0x16b024(0x1e9)],'baseUrl':_0x4127e2[_0x16b024(0x246)],'skipChromium':_0x4127e2[_0x16b024(0x253)]},_0x2f7dcb));})[_0x39580c(0x1b1)]('login',_0xf6f910[_0x39580c(0x1ec)],()=>{},async()=>{const _0x38bda1=_0x39580c;await _0xf6f910[_0x38bda1(0x17c)](withTelemetry,_0xf6f910[_0x38bda1(0x196)],()=>login());})[_0x39580c(0x1b1)](_0xf6f910['yyhgm'],_0xf6f910['mmPPg'],_0x2d2aab=>{const _0x434881=_0x39580c;return _0x2d2aab['option']('opencode',{'type':_0xf6f910['xNLQF'],'description':_0xf6f910[_0x434881(0xe2)],'default':![]})[_0x434881(0x15d)](_0xf6f910[_0x434881(0x183)],{'type':_0x434881(0x10e),'choices':[_0xf6f910[_0x434881(0xef)],'project'],'description':_0xf6f910[_0x434881(0x20a)]});},async _0x536bd2=>{const _0x21d0b8=_0x39580c,_0x31af18=Boolean(_0x536bd2[_0x21d0b8(0x1b4)]);await withTelemetry(_0x21d0b8(0x22a),()=>skillup({'autoInstall':_0x536bd2[_0x21d0b8(0x249)],'platform':_0x31af18?_0x21d0b8(0x1b4):'claude'}));})[_0x39580c(0x1b1)](_0xf6f910['ypchA'],_0xf6f910[_0x39580c(0x1d0)],()=>{},async()=>{const _0x2be273=_0x39580c;await withTelemetry(_0x2be273(0x142),()=>clean());})['command']([_0xf6f910[_0x39580c(0x150)],'profiles'],_0xf6f910['YPust'],_0x521bf9=>{const _0xfe41fa=_0x39580c,_0x24fdee={'kHIyd':_0xfe41fa(0x1e9),'YQSwl':function(_0x39794b,_0x54e074,_0x4aaf12){const _0x2f4436=_0xfe41fa;return _0xf6f910[_0x2f4436(0x20c)](_0x39794b,_0x54e074,_0x4aaf12);},'ccSUv':_0xfe41fa(0x1d1),'vAcPy':function(_0x5db7d2,_0x200654){const _0x42ff5e=_0xfe41fa;return _0xf6f910[_0x42ff5e(0x26d)](_0x5db7d2,_0x200654);},'synPa':function(_0x17c5cd,_0x813a9e){return _0xf6f910['AFQwr'](_0x17c5cd,_0x813a9e);},'xAifF':_0xf6f910['irIUM'],'SPUkf':_0xf6f910[_0xfe41fa(0x1dc)],'XgohJ':'unknown\x20error','euduT':_0xf6f910['ZegsT'],'ewoLO':_0xf6f910[_0xfe41fa(0xe5)],'HVkWX':_0xfe41fa(0x25b),'ofGia':'boolean','JMevm':'save-creds','wAxED':_0xf6f910[_0xfe41fa(0xec)],'vFdOi':_0xfe41fa(0x214),'AuLdV':'Config\x20value','zIhQc':function(_0x36b223,_0x216976,_0x2ad394){return _0xf6f910['AwBwe'](_0x36b223,_0x216976,_0x2ad394);},'wtQfT':_0xf6f910['VJGQW'],'Lnleo':_0xf6f910['PxxAO'],'BSSCo':_0xf6f910['gaUTb'],'AQQbL':function(_0x28164b,_0x5c7521,_0x44584a){return _0xf6f910['slsZt'](_0x28164b,_0x5c7521,_0x44584a);},'QZETI':_0xfe41fa(0x272),'yRnXu':_0xf6f910['NDdRG'],'kdULj':_0xf6f910[_0xfe41fa(0x23b)],'FLfls':_0xf6f910[_0xfe41fa(0x202)],'jOtXm':_0xf6f910[_0xfe41fa(0x16a)],'MNJuJ':_0xf6f910['SXRVm'],'eUXUh':_0xf6f910[_0xfe41fa(0x275)]};return _0x521bf9[_0xfe41fa(0x27c)](PROFILE_HELP)[_0xfe41fa(0x1b1)](_0xf6f910[_0xfe41fa(0x1fc)],'Add\x20profile\x20configuration',_0xeef69b=>{const _0x5c46ef=_0xfe41fa;return _0xeef69b[_0x5c46ef(0x225)](_0xf6f910[_0x5c46ef(0x26f)],{'type':_0xf6f910['ZegsT'],'description':_0xf6f910[_0x5c46ef(0x11c)],'demandOption':!![]})['option']('ci',{'type':'boolean','hidden':!![],'default':![]})[_0x5c46ef(0x15d)]('skip-auth',{'type':_0x5c46ef(0x153),'description':_0xf6f910['WazLM'],'default':![]})[_0x5c46ef(0x15d)]('url',{'type':_0xf6f910[_0x5c46ef(0x235)],'description':_0x5c46ef(0x1ce)})[_0x5c46ef(0x15d)]('force',{'type':_0xf6f910['xNLQF'],'description':_0xf6f910[_0x5c46ef(0x200)],'default':![]})[_0x5c46ef(0x15d)](_0xf6f910[_0x5c46ef(0x10b)],{'type':'string','description':_0xf6f910[_0x5c46ef(0x1cf)]})['option'](_0xf6f910[_0x5c46ef(0x1d8)],{'type':_0xf6f910[_0x5c46ef(0x12b)],'description':_0xf6f910['YAEBp'],'default':![]})[_0x5c46ef(0x15d)](_0x5c46ef(0x172),{'type':_0x5c46ef(0x153),'description':_0x5c46ef(0xf5),'default':![]})['option'](_0xf6f910[_0x5c46ef(0x18a)],{'type':_0xf6f910[_0x5c46ef(0x235)],'array':!![],'description':_0xf6f910['fqhKJ']})[_0x5c46ef(0x15d)](_0xf6f910[_0x5c46ef(0x183)],{'type':_0xf6f910['ZegsT'],'choices':['user',_0xf6f910['yjylE']],'description':_0xf6f910[_0x5c46ef(0x132)]})[_0x5c46ef(0x15d)](_0xf6f910['hRrGT'],{'type':_0x5c46ef(0x153),'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','default':![]});},async _0x37cbfa=>{const _0x4d4307=_0xfe41fa;await _0xf6f910[_0x4d4307(0x179)](withTelemetry,'profile\x20add',_0x3747b2=>addEnv(_0x37cbfa['profile-name'],{'ci':_0x37cbfa['ci'],'skipAuth':_0x37cbfa[_0x4d4307(0x13d)],'url':_0x37cbfa[_0x4d4307(0x130)],'force':_0x37cbfa[_0x4d4307(0x108)],'cdpEndpoint':_0x37cbfa['cdp-endpoint'],'allowInsecureLocalhost':_0x37cbfa[_0x4d4307(0x208)],'safeMode':_0x37cbfa[_0x4d4307(0x172)],'setupHeader':_0x37cbfa[_0x4d4307(0x251)],'scope':_0x37cbfa['scope'],'yes':_0x37cbfa[_0x4d4307(0x18d)]},_0x3747b2),{'isElectron':_0xf6f910[_0x4d4307(0x23d)](Boolean,_0x37cbfa['cdp-endpoint'])});})[_0xfe41fa(0x1b1)]('use\x20<profile-name>',_0xf6f910['RliZC'],_0xc5e6d2=>{const _0xdfdc05=_0xfe41fa;return _0xc5e6d2[_0xdfdc05(0x225)]('profile-name',{'type':'string','description':'Name\x20of\x20the\x20profile','demandOption':!![]});},async _0x53c40e=>{const _0x921303=_0xfe41fa;await _0xf6f910['nNnBY'](withTelemetry,_0x921303(0x1cd),()=>useEnv(_0x53c40e[_0x921303(0x16b)]));})[_0xfe41fa(0x1b1)](_0xf6f910[_0xfe41fa(0x223)],_0xf6f910['jYWqn'],_0x11d318=>{const _0x1cd099=_0xfe41fa;return _0x11d318[_0x1cd099(0x225)](_0xf6f910['SDCbw'],{'type':_0xf6f910[_0x1cd099(0x235)],'description':_0x1cd099(0x136),'demandOption':!![]})[_0x1cd099(0x15d)]('yes',{'type':_0xf6f910[_0x1cd099(0x12b)],'alias':'y','description':_0xf6f910['GXPLi'],'default':![]});},async _0x4baa6c=>{const _0xa8ddff=_0xfe41fa;await _0xf6f910['pxwhn'](withTelemetry,_0xa8ddff(0x250),()=>deleteProfile(_0x4baa6c[_0xa8ddff(0x16b)],{'yes':_0x4baa6c[_0xa8ddff(0x18d)]}));})['command'](_0xfe41fa(0x1f6),![],_0x3a2d3f=>{const _0x324009=_0xfe41fa;return _0x3a2d3f[_0x324009(0x225)](_0x24fdee['kHIyd'],{'type':_0x324009(0x10e),'description':'Profile\x20name','demandOption':!![]});},async _0x576f97=>{const _0x8b4c53=_0xfe41fa;await _0xf6f910['Fvpqf'](withTelemetry,_0xf6f910[_0x8b4c53(0x280)],()=>authEncrypt(_0x576f97['profile']));})[_0xfe41fa(0x1b1)]('ls','List\x20all\x20profiles',()=>{},async()=>{const _0x2976a5=_0xfe41fa;await _0xf6f910[_0x2976a5(0x20c)](withTelemetry,_0xf6f910['lLiej'],()=>envList());})['command'](_0xf6f910['Klrqy'],_0xfe41fa(0x215),_0x3e15cc=>{const _0x162147=_0xfe41fa;return _0x3e15cc[_0x162147(0x225)](_0xf6f910['SDCbw'],{'type':'string','description':'Name\x20of\x20the\x20profile\x20to\x20update','demandOption':!![]})['option'](_0x162147(0x208),{'type':'boolean','description':_0xf6f910[_0x162147(0x1fb)]});},async _0x2a7602=>{const _0x4da4c0=_0xfe41fa;await _0x24fdee[_0x4da4c0(0x222)](withTelemetry,_0x24fdee[_0x4da4c0(0x10d)],_0x216265=>updateEnv(_0x2a7602['profile-name'],_0x216265,{'allowInsecureLocalhost':_0x2a7602['allow-insecure-localhost']}));})['command'](_0xfe41fa(0x1ed),![],_0x10ca6a=>{const _0x5cf645=_0xfe41fa;return _0x10ca6a['positional'](_0xf6f910['SejZq'],{'type':'string','description':_0xf6f910[_0x5cf645(0x182)],'demandOption':!![]});},async _0x41c9ec=>{await withTelemetry('profile\x20login',async()=>{const _0x20c377=_0x5f07,_0x3d0a19=process[_0x20c377(0x1b3)][_0x20c377(0x11d)],_0x3d22d3=process[_0x20c377(0x1b3)][_0x20c377(0x206)];_0x24fdee[_0x20c377(0x123)](!_0x3d0a19,!_0x3d22d3)&&(console[_0x20c377(0x243)]('Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.'),process['exit'](0x1));const _0x15a173=_0x41c9ec['name'],_0x3fda40=await _0x24fdee['YQSwl'](serverSideLogin,_0x15a173,{'force':!![]});_0x24fdee[_0x20c377(0x125)](_0x3fda40['status'],_0x24fdee['xAifF'])&&(console[_0x20c377(0x243)](_0x24fdee[_0x20c377(0x20e)]),process[_0x20c377(0x12d)](0x1)),_0x3fda40[_0x20c377(0x1c6)]==='failed'&&(console[_0x20c377(0x243)]('Login\x20failed:\x20'+(_0x3fda40['error']??_0x24fdee['XgohJ'])),_0x3fda40[_0x20c377(0x1eb)]&&console[_0x20c377(0x243)](_0x3fda40['test_output']),process[_0x20c377(0x12d)](0x1)),console[_0x20c377(0x1d6)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x15a173+'\x27.\x20Session\x20saved.');});})[_0xfe41fa(0x1b1)]('migrate\x20[profile-name]',![],_0x46db4f=>{const _0x4754a1=_0xfe41fa;return _0x46db4f[_0x4754a1(0x225)](_0x4754a1(0x16b),{'type':_0x24fdee[_0x4754a1(0x152)],'description':_0x24fdee[_0x4754a1(0x258)]})['option'](_0x24fdee[_0x4754a1(0x229)],{'type':'boolean','description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})['option']('dry-run',{'type':'boolean','description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})[_0x4754a1(0x15d)](_0x4754a1(0x18d),{'type':_0x24fdee[_0x4754a1(0x1a3)],'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})[_0x4754a1(0x15d)](_0x24fdee[_0x4754a1(0x1e0)],{'type':_0x24fdee[_0x4754a1(0x1a3)],'description':_0x24fdee[_0x4754a1(0x18b)],'default':![]});},async _0x31b1eb=>{const _0x23fd04=_0xfe41fa;await withTelemetry(_0x23fd04(0x1da),_0x488def=>migrateProfile({'profileName':_0x31b1eb['profile-name'],'all':_0x31b1eb['all'],'dryRun':_0x31b1eb['dry-run'],'yes':_0x31b1eb['yes'],'saveCreds':_0x31b1eb[_0x23fd04(0x1e2)]},_0x488def));})[_0xfe41fa(0x1b1)](_0xfe41fa(0x24d),_0xf6f910['VfoGS'],_0x3b0900=>{const _0x51efaf=_0xfe41fa,_0x1b9f1e={'qrQko':'Profile\x20name'};return _0x3b0900['usage'](PROFILE_CONFIG_HELP)['command'](_0x24fdee['yRnXu'],_0x51efaf(0x190),_0x212613=>{const _0x77c733=_0x51efaf;return _0x212613['positional']('profile',{'type':'string','description':'Profile\x20name','demandOption':!![]})['positional'](_0x24fdee['vFdOi'],{'type':_0x24fdee['euduT'],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})[_0x77c733(0x225)]('value',{'type':_0x24fdee['euduT'],'description':_0x24fdee[_0x77c733(0x143)],'demandOption':!![]});},async _0x148780=>{const _0x6ae47c=_0x51efaf;await _0x24fdee[_0x6ae47c(0x1ac)](withTelemetry,'profile\x20config\x20set',()=>configSet(_0x148780[_0x6ae47c(0x1e9)],_0x148780[_0x6ae47c(0x214)],_0x148780[_0x6ae47c(0x185)]));})['command']('get\x20<profile>\x20<key>','Get\x20a\x20config\x20value',_0xe4bb33=>{const _0x34bfe3=_0x51efaf;return _0xe4bb33['positional'](_0x34bfe3(0x1e9),{'type':_0x24fdee['euduT'],'description':_0x24fdee['wtQfT'],'demandOption':!![]})[_0x34bfe3(0x225)](_0x34bfe3(0x214),{'type':_0x24fdee['euduT'],'description':_0x24fdee['Lnleo'],'demandOption':!![]});},async _0x2dc168=>{const _0x16c14d=_0x51efaf;await withTelemetry('profile\x20config\x20get',()=>configGet(_0x2dc168[_0x16c14d(0x1e9)],_0x2dc168[_0x16c14d(0x214)]));})['command'](_0x51efaf(0x14a),_0x24fdee[_0x51efaf(0x138)],_0x10e901=>{const _0x5a18e3=_0x51efaf;return _0x10e901['positional'](_0x5a18e3(0x1e9),{'type':_0x5a18e3(0x10e),'description':_0x1b9f1e['qrQko'],'demandOption':!![]});},async _0x1bc7d1=>{const _0xdb0ce=_0x51efaf;await withTelemetry('profile\x20config\x20list',()=>configList(_0x1bc7d1[_0xdb0ce(0x1e9)]));})['command'](_0x24fdee[_0x51efaf(0x151)],_0x51efaf(0x17b),_0x3689c2=>{const _0x4d573e=_0x51efaf;return _0x3689c2['positional'](_0x24fdee['kHIyd'],{'type':'string','description':_0x4d573e(0x1bd),'demandOption':!![]})[_0x4d573e(0x225)](_0x4d573e(0x214),{'type':_0x24fdee[_0x4d573e(0x152)],'description':_0x24fdee[_0x4d573e(0x113)],'demandOption':!![]});},async _0x162511=>{const _0xca84a9=_0x51efaf;await _0x24fdee['AQQbL'](withTelemetry,_0xca84a9(0x1e1),()=>configUnset(_0x162511[_0xca84a9(0x1e9)],_0x162511['key']));})[_0x51efaf(0x1b1)](_0x24fdee['jOtXm'],_0x24fdee[_0x51efaf(0x16c)],_0x235d72=>{const _0x301839=_0x51efaf;return _0x235d72['positional']('profile',{'type':_0x301839(0x10e),'description':_0x301839(0x1bd),'demandOption':!![]});},async _0x817338=>{const _0x239a92=_0x51efaf;await _0x24fdee['YQSwl'](withTelemetry,_0x24fdee[_0x239a92(0x22f)],()=>configReset(_0x817338['profile']));})[_0x51efaf(0x23a)](0x1,_0x24fdee[_0x51efaf(0x145)]);})[_0xfe41fa(0x23a)](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})['command']('status',_0xf6f910['QNTzk'],()=>{},async()=>{await _0xf6f910['Fvpqf'](withTelemetry,_0xf6f910['ugXAY'],()=>status());})[_0x39580c(0x1b1)](_0xf6f910[_0x39580c(0x16e)],_0xf6f910[_0x39580c(0x16d)],()=>{},async()=>{const _0x1e2fd4=_0x39580c;await _0xf6f910[_0x1e2fd4(0x11b)](withTelemetry,_0x1e2fd4(0x133),()=>update());})[_0x39580c(0x1b1)](_0xf6f910['zRQcu'],_0xf6f910['AFlky'],()=>{},async()=>{const _0x3971c0=_0x39580c,_0x41072b={'HPgui':function(_0x2137e4){return _0xf6f910['xJcAx'](_0x2137e4);}};await withTelemetry(_0xf6f910[_0x3971c0(0x154)],async()=>{const _0x35546d=_0x3971c0,_0x1b6088=await _0x41072b['HPgui'](getToken);if(!_0x1b6088)throw new Error(_0x35546d(0x192));console['log'](_0x1b6088);});})['command']('go',_0x39580c(0x106),_0x597d3d=>{const _0x469a04=_0x39580c;return _0x597d3d[_0x469a04(0x15d)](_0xf6f910['gigxe'],{'type':_0xf6f910[_0x469a04(0x235)],'description':_0xf6f910[_0x469a04(0xe4)]})['option'](_0x469a04(0x1e9),{'type':'string','description':_0xf6f910['IWhof']})['option']('notes',{'type':_0xf6f910['ZegsT'],'description':_0xf6f910['xpeDj']})['option'](_0xf6f910['TeNnQ'],{'type':'number','description':'Scenario\x20index\x20(1-based)'})[_0x469a04(0x15d)](_0xf6f910['mhRAp'],{'type':_0xf6f910['ZegsT'],'description':_0xf6f910['XrOfk']})['option']('base-url',{'type':_0x469a04(0x10e),'description':_0xf6f910['TOmWF']})['option'](_0xf6f910[_0x469a04(0x1fd)],{'type':_0xf6f910['ZegsT'],'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.'})[_0x469a04(0x15d)](_0x469a04(0x14c),{'type':_0xf6f910[_0x469a04(0x12b)],'description':_0x469a04(0x134),'default':![]})[_0x469a04(0x15d)]('debug-outcome',{'type':'string','hidden':!![],'choices':[_0xf6f910['KqoJc'],_0xf6f910[_0x469a04(0x262)],'blocked',_0xf6f910['csrPL'],_0xf6f910['jitXu']]})['option'](_0x469a04(0x1fe),{'type':'boolean','hidden':!![]})['option']('env',{'type':'string','hidden':!![]})['option'](_0xf6f910['Cbkdb'],{'type':_0xf6f910[_0x469a04(0x235)],'hidden':!![]})[_0x469a04(0x15d)]('item',{'type':_0x469a04(0x18f),'hidden':!![]});},async _0x5b2c56=>{await runGoCommand(_0x5b2c56);})[_0x39580c(0x1b1)]('auth',![],_0x11b6a2=>{const _0x24faf0=_0x39580c,_0x36ef9e={'gtQUq':function(_0x5c0575,_0xdb498e,_0x5659ee){return _0xf6f910['nNnBY'](_0x5c0575,_0xdb498e,_0x5659ee);},'qbeDj':_0x24faf0(0x1d9),'aWqKU':_0xf6f910['mPTws'],'vtGMS':function(_0xca17d0,_0x46141f){return _0xca17d0(_0x46141f);}};return _0x11b6a2[_0x24faf0(0x1b1)]('encrypt\x20<profile>',![],_0x3c9517=>{const _0x942214=_0x24faf0;return _0x3c9517[_0x942214(0x225)](_0xf6f910['kaxTr'],{'type':_0x942214(0x10e),'description':'Profile\x20name','demandOption':!![]});},async _0x5cdefa=>{const _0x2ef1e1=_0x24faf0;_0x36ef9e[_0x2ef1e1(0x1a6)](warnRenamed,_0x36ef9e['qbeDj'],_0x36ef9e[_0x2ef1e1(0xf1)]),await _0x36ef9e['vtGMS'](authEncrypt,_0x5cdefa['profile']);})['demandCommand'](0x1,_0x24faf0(0x1fa));},()=>{})[_0x39580c(0x1b1)](_0xf6f910['ZVGUm'],![],_0xdba1ad=>{const _0x1f3965=_0x39580c;return _0xdba1ad[_0x1f3965(0x225)](_0xf6f910[_0x1f3965(0x1b9)],{'type':_0x1f3965(0x10e),'description':_0xf6f910['LxqKN']})['option']('skip-chromium',{'type':_0xf6f910['xNLQF'],'description':_0xf6f910['DffQG'],'default':![]})[_0x1f3965(0x15d)]('scope',{'type':_0xf6f910['ZegsT'],'choices':[_0x1f3965(0x12a)],'hidden':!![],'description':_0xf6f910['wPKDu']})[_0x1f3965(0x15d)]('url',{'type':_0xf6f910['ZegsT'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x1f3965(0x108),{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0xf6f910['pWWHf'],{'type':_0xf6f910[_0x1f3965(0x12b)],'description':'Skip\x20authentication','default':![]})['option']('with-deps',{'type':_0xf6f910['xNLQF'],'description':_0xf6f910['BTUbG'],'default':![]});},async _0x4a8e68=>{const _0x421ce1=_0x39580c;_0xf6f910['bbnNs'](warnRenamed,_0x421ce1(0x1a9),_0x421ce1(0x19f)),await withTelemetry(_0xf6f910['YTjWw'],_0x10e786=>start(_0x4a8e68['token'],{'skipChromium':_0x4a8e68['skip-chromium'],'skipAuth':_0x4a8e68['skip-auth'],'withDeps':_0x4a8e68[_0x421ce1(0x23f)],'scope':_0x4a8e68['scope'],'url':_0x4a8e68['url'],'force':_0x4a8e68['force']},_0x10e786));})['command'](_0x39580c(0x1a2),![],_0x1f361a=>{const _0x49fc13=_0x39580c;return _0x1f361a['option'](_0xf6f910[_0x49fc13(0x197)],{'type':_0xf6f910[_0x49fc13(0x235)],'description':_0xf6f910[_0x49fc13(0x21c)]})['option'](_0xf6f910['Cbkdb'],{'type':_0x49fc13(0x10e),'description':_0xf6f910[_0x49fc13(0xe7)]})[_0x49fc13(0x15d)](_0xf6f910[_0x49fc13(0x17a)],{'type':_0x49fc13(0x18f),'description':_0xf6f910['TjZNV']})[_0x49fc13(0x15d)](_0x49fc13(0x1e9),{'type':_0xf6f910['ZegsT'],'hidden':!![]})['option'](_0xf6f910['qHArS'],{'type':_0xf6f910[_0x49fc13(0x235)],'hidden':!![]})['option'](_0xf6f910[_0x49fc13(0x19d)],{'type':_0xf6f910[_0x49fc13(0x135)],'hidden':!![]})[_0x49fc13(0x15d)](_0xf6f910[_0x49fc13(0x1df)],{'type':_0x49fc13(0x10e),'description':_0x49fc13(0x239)})['option'](_0x49fc13(0x246),{'type':_0xf6f910['ZegsT'],'description':_0x49fc13(0x105)})[_0x49fc13(0x15d)](_0x49fc13(0xe6),{'type':_0xf6f910[_0x49fc13(0x235)],'hidden':!![]})[_0x49fc13(0x15d)](_0xf6f910[_0x49fc13(0x13f)],{'type':_0xf6f910['xNLQF'],'hidden':!![],'default':![]})['option']('debug-outcome',{'type':_0xf6f910['ZegsT'],'hidden':!![],'choices':[_0xf6f910['KqoJc'],_0x49fc13(0x24f),'blocked','failed',_0xf6f910['jitXu']]});},async _0x59c4f4=>{const _0x60a9d4=_0x39580c;await _0xf6f910[_0x60a9d4(0x238)](runGoCommand,_0x59c4f4,!![]);})[_0x39580c(0x1b1)]('add\x20env\x20<env-name>',![],_0x5c4152=>{const _0x4aeaec=_0x39580c;return _0x5c4152['positional'](_0xf6f910['HXJqI'],{'type':_0xf6f910['ZegsT'],'description':_0x4aeaec(0x1a1),'demandOption':!![]})['option']('ci',{'type':_0xf6f910[_0x4aeaec(0x12b)],'description':_0xf6f910[_0x4aeaec(0x199)],'default':![]})['option'](_0xf6f910['pWWHf'],{'type':'boolean','description':_0x4aeaec(0xfc),'default':![]});},async _0x244684=>{const _0x17cbc0=_0x39580c;_0xf6f910[_0x17cbc0(0x1c8)](warnRenamed,_0xf6f910['Seysr'],_0xf6f910[_0x17cbc0(0x109)]),await withTelemetry(_0xf6f910[_0x17cbc0(0x273)],_0x13609b=>addEnv(_0x244684[_0x17cbc0(0x1b5)],{'ci':_0x244684['ci'],'skipAuth':_0x244684['skip-auth']},_0x13609b));})['command'](_0x39580c(0x102),![],_0x14173a=>{const _0x39c80d=_0x39580c;return _0x14173a[_0x39c80d(0x225)](_0xf6f910[_0x39c80d(0xf3)],{'type':'string','description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0xc80193=>{const _0x55ac7d=_0x39580c;_0xf6f910[_0x55ac7d(0x233)](warnRenamed,_0xf6f910[_0x55ac7d(0x126)],_0xf6f910['EYTwp']),await _0xf6f910[_0x55ac7d(0x160)](withTelemetry,_0xf6f910[_0x55ac7d(0x178)],()=>useEnv(_0xc80193[_0x55ac7d(0x1b5)]));})['command'](_0xf6f910['WpiAh'],![],_0x203ba3=>{const _0x4aeff9=_0x39580c,_0x474b17={'doMwh':'string','RAjjS':'Environment\x20name','yaigx':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','AIjux':_0xf6f910['xbBDr'],'SBOVa':_0xf6f910[_0x4aeff9(0x197)],'ZylUE':_0xf6f910['VfeSa'],'enAYL':_0xf6f910[_0x4aeff9(0x19b)]};return _0x203ba3['command'](_0x4aeff9(0xf2),![],_0x4de225=>{const _0x5b356b=_0x4aeff9;return _0x4de225['positional'](_0x5b356b(0x1b3),{'type':_0x474b17[_0x5b356b(0x21d)],'description':_0x474b17['RAjjS'],'demandOption':!![]})[_0x5b356b(0x225)]('key',{'type':_0x5b356b(0x10e),'description':_0x474b17['yaigx'],'demandOption':!![]})['positional']('value',{'type':'string','description':_0x474b17['AIjux'],'demandOption':!![]});},async _0x453f35=>{warnRenamed('ranger\x20config\x20set',_0xf6f910['NgAVm']),await withTelemetry('config\x20set',()=>configSet(_0x453f35['env'],_0x453f35['key'],_0x453f35['value']));})[_0x4aeff9(0x1b1)](_0xf6f910['QPVJc'],![],_0x48bd20=>{const _0x225a07=_0x4aeff9;return _0x48bd20[_0x225a07(0x225)]('env',{'type':_0x474b17[_0x225a07(0x21d)],'description':'Environment\x20name','demandOption':!![]})[_0x225a07(0x225)]('key',{'type':'string','description':'Config\x20key','demandOption':!![]});},async _0x3fe059=>{const _0x532b64=_0x4aeff9;_0xf6f910[_0x532b64(0x17c)](warnRenamed,_0xf6f910['Bkhdo'],'ranger\x20profile\x20config\x20get'),await _0xf6f910['COOpk'](withTelemetry,'config\x20get',()=>configGet(_0x3fe059[_0x532b64(0x1b3)],_0x3fe059[_0x532b64(0x214)]));})['command'](_0x4aeff9(0xdd),![],_0x252a40=>{const _0x2f6504=_0x4aeff9;return _0x252a40['positional'](_0xf6f910['bfzVB'],{'type':_0xf6f910[_0x2f6504(0x235)],'description':_0xf6f910['yqcgz'],'demandOption':!![]});},async _0x3ef31d=>{const _0x18c56e=_0x4aeff9;_0xf6f910[_0x18c56e(0x13c)](warnRenamed,_0xf6f910[_0x18c56e(0x257)],_0x18c56e(0x279)),await _0xf6f910[_0x18c56e(0x20c)](withTelemetry,_0x18c56e(0x1aa),()=>configList(_0x3ef31d[_0x18c56e(0x1b3)]));})['command'](_0xf6f910[_0x4aeff9(0x1b0)],![],_0x5e9166=>{const _0x5bfdb9=_0x4aeff9;return _0x5e9166['positional'](_0x474b17[_0x5bfdb9(0x14e)],{'type':_0x5bfdb9(0x10e),'description':_0x5bfdb9(0x144),'demandOption':!![]})['positional'](_0x474b17[_0x5bfdb9(0x1a5)],{'type':_0x474b17['doMwh'],'description':_0x474b17['enAYL'],'demandOption':!![]});},async _0x2790a3=>{const _0x3f9543=_0x4aeff9;_0xf6f910['iBOtE'](warnRenamed,_0xf6f910[_0x3f9543(0x164)],_0xf6f910['dSghZ']),await withTelemetry(_0xf6f910[_0x3f9543(0x205)],()=>configUnset(_0x2790a3['env'],_0x2790a3['key']));})['demandCommand'](0x1,_0x4aeff9(0x237));})['command'](_0xf6f910['bfzVB'],![],_0xa4e62c=>{const _0x166e50=_0x39580c;return _0xa4e62c['command']('ls',![],()=>{},async()=>{const _0x880f5=_0x5f07;warnRenamed(_0x880f5(0x165),'ranger\x20profile\x20ls'),await withTelemetry('env\x20list',()=>envList());})[_0x166e50(0x1b1)]('update\x20<env-name>',![],_0x5dfca7=>{const _0xa55bfd=_0x166e50;return _0x5dfca7[_0xa55bfd(0x225)]('env-name',{'type':_0xf6f910[_0xa55bfd(0x235)],'description':_0xa55bfd(0x21f),'demandOption':!![]});},async _0x5b26fd=>{const _0x3f3d96=_0x166e50;_0xf6f910['YJdfO'](warnRenamed,_0x3f3d96(0x1ea),'ranger\x20profile\x20update'),await withTelemetry(_0xf6f910['Eyfdq'],_0x570eba=>updateEnv(_0x5b26fd['env-name'],_0x570eba));})['demandCommand'](0x1,_0x166e50(0x116));})['command']('feature',![],_0x361b90=>{const _0x2a2144=_0x39580c,_0x4dbc03={'zsfZb':'name','DhVJl':_0x2a2144(0x10e),'qXqtI':'Feature\x20review\x20name','wbmRn':'checklist','tdcry':_0x2a2144(0xee),'atuNP':function(_0x1dd5fa,_0x16a833,_0x2ed602,_0x11e758){return _0xf6f910['ialJn'](_0x1dd5fa,_0x16a833,_0x2ed602,_0x11e758);},'awpLf':_0xf6f910['LLSpG'],'fPybM':_0x2a2144(0x19e),'LLwbO':_0xf6f910[_0x2a2144(0x242)],'GnYXp':_0xf6f910['BmGgM'],'EiEsh':function(_0x2283d6,_0x4ea74f,_0x513cc2){return _0x2283d6(_0x4ea74f,_0x513cc2);},'QqEJZ':_0xf6f910[_0x2a2144(0xe0)],'eEbyV':function(_0x3000e1,_0xcf7eb5,_0x281340){return _0x3000e1(_0xcf7eb5,_0x281340);},'fMyjG':_0x2a2144(0x230),'wHHOu':_0xf6f910[_0x2a2144(0x210)],'awHcG':function(_0x2320d7,_0x250b2b,_0x551684){return _0xf6f910['bbnNs'](_0x2320d7,_0x250b2b,_0x551684);},'bkpMo':_0xf6f910['YwLXV'],'EzxUv':_0x2a2144(0x161)};return _0x361b90[_0x2a2144(0x1b1)](_0xf6f910[_0x2a2144(0x207)],![],_0x5d5088=>{const _0x3a74c8=_0x2a2144;return _0x5d5088['positional'](_0x4dbc03['zsfZb'],{'type':_0x4dbc03[_0x3a74c8(0x107)],'description':_0x4dbc03[_0x3a74c8(0x1bf)],'demandOption':!![]})['option'](_0x3a74c8(0x219),{'type':'string','alias':'d','description':_0x3a74c8(0x111)})[_0x3a74c8(0x15d)](_0x4dbc03['wbmRn'],{'type':_0x3a74c8(0xee),'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x3a74c8(0x15d)]('scenario',{'type':_0x4dbc03[_0x3a74c8(0x176)],'hidden':!![]});},async _0x3ae52a=>{const _0x1da2ee=_0x2a2144;warnRenamed(_0x1da2ee(0x112),'ranger\x20create'),_0x4dbc03['atuNP'](warnFlagRenamed,_0x4dbc03['awpLf'],_0x4dbc03['fPybM'],_0x4dbc03['LLwbO']);const _0x5d8db0=_0x3ae52a[_0x1da2ee(0x1de)]||_0x3ae52a['checklist'];await withTelemetry(_0x4dbc03[_0x1da2ee(0x14b)],()=>featureCreate(_0x3ae52a[_0x1da2ee(0x278)],{'description':_0x3ae52a['description'],'scenarios':_0x5d8db0}));})[_0x2a2144(0x1b1)](_0xf6f910['QSiDv'],![],_0x58b5cc=>{const _0x9a5aa0=_0x2a2144;return _0x58b5cc['option']('current-branch',{'type':'boolean','description':_0x9a5aa0(0x245)})['option'](_0x9a5aa0(0x15f),{'type':_0x9a5aa0(0x18f),'alias':'l','description':_0x9a5aa0(0x1bc),'default':0xa})['option'](_0xf6f910['PsKGm'],{'type':_0xf6f910['OOmMg'],'alias':'o','description':_0xf6f910['gxUAF'],'default':0x0})[_0x9a5aa0(0x15d)](_0xf6f910[_0x9a5aa0(0x131)],{'type':_0xf6f910['xNLQF'],'alias':'d','description':_0x9a5aa0(0xe8),'default':![]});},async _0x536cc4=>{const _0x2741a5=_0x2a2144;_0x4dbc03[_0x2741a5(0x266)](warnRenamed,_0x2741a5(0x12f),_0x4dbc03[_0x2741a5(0x25a)]),await _0x4dbc03[_0x2741a5(0x174)](withTelemetry,'feature\x20list',()=>featureList({'currentBranch':_0x536cc4[_0x2741a5(0x27d)],'limit':_0x536cc4['limit'],'offset':_0x536cc4['offset'],'includeDeleted':_0x536cc4[_0x2741a5(0x25e)]}));})['command'](_0xf6f910['KjKIn'],![],_0x9b4911=>{return _0x9b4911['positional']('id',{'type':'string','description':_0xf6f910['hzmPc']});},async _0x150753=>{const _0x62e12a=_0x2a2144;warnRenamed('ranger\x20feature\x20show',_0x62e12a(0x12c)),await _0x4dbc03['EiEsh'](withTelemetry,_0x62e12a(0x173),()=>featureShow(_0x150753['id']));})[_0x2a2144(0x1b1)](_0x2a2144(0x148),![],_0x1ad260=>{const _0x6d2081=_0x2a2144;return _0x1ad260[_0x6d2081(0x225)]('id',{'type':'string','description':_0x4dbc03[_0x6d2081(0x100)]});},async _0x500cd8=>{warnRenamed('ranger\x20feature\x20resume','ranger\x20resume'),await withTelemetry('feature\x20resume',()=>featureResume(_0x500cd8['id']));})[_0x2a2144(0x1b1)](_0xf6f910['vBUdU'],![],_0x33efe1=>{const _0x4bccda=_0x2a2144;return _0x33efe1[_0x4bccda(0x225)](_0xf6f910[_0x4bccda(0x1c0)],{'type':_0xf6f910['ZegsT'],'description':_0xf6f910[_0x4bccda(0x224)],'demandOption':!![]})[_0x4bccda(0x15d)]('id',{'type':_0xf6f910[_0x4bccda(0x235)],'description':_0xf6f910['jxxuF']});},async _0x32ad15=>{const _0x4a6ec6=_0x2a2144;warnRenamed(_0x4dbc03['wHHOu'],'ranger\x20add-scenario'),await _0x4dbc03[_0x4a6ec6(0x191)](withTelemetry,_0x4dbc03['bkpMo'],()=>featureAddScenario(_0x32ad15['description'],_0x32ad15['id']));})[_0x2a2144(0x1b1)]('get-feedback\x20[id]',![],_0x3d5970=>{const _0x390714=_0x2a2144;return _0x3d5970[_0x390714(0x225)]('id',{'type':_0xf6f910[_0x390714(0x235)],'description':_0xf6f910['jxxuF']});},async _0x334ec=>{const _0x376a71=_0x2a2144;warnRenamed(_0xf6f910['sidWI'],_0x376a71(0x10a)),await _0xf6f910['nOuhq'](withTelemetry,_0xf6f910['ZCcdz'],()=>featureGetReview(_0x334ec['id']));})[_0x2a2144(0x1b1)]('delete\x20[id]',![],_0x173c0e=>{const _0x1735b4=_0x2a2144;return _0x173c0e[_0x1735b4(0x225)]('id',{'type':_0x4dbc03['DhVJl'],'description':_0x4dbc03['EzxUv']});},async _0x3088b9=>{const _0x508475=_0x2a2144;warnRenamed(_0xf6f910['hkAlM'],_0xf6f910[_0x508475(0x1f3)]),await withTelemetry('feature\x20delete',()=>featureDelete(_0x3088b9['id']));})['command']('restore\x20<id>',![],_0x4875fc=>{return _0x4875fc['positional']('id',{'type':_0xf6f910['ZegsT'],'description':_0xf6f910['HvijT'],'demandOption':!![]});},async _0x31d842=>{const _0x4a7c86=_0x2a2144;_0xf6f910['RJFJZ'](warnRenamed,_0x4a7c86(0x171),'ranger\x20restore'),await _0xf6f910['Jhbeu'](withTelemetry,'feature\x20restore',()=>featureRestore(_0x31d842['id']));})[_0x2a2144(0x23a)](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})['command']('hook',![],_0x2b811f=>{const _0x3b342f=_0x39580c;return _0x2b811f['command']('enable',_0xf6f910[_0x3b342f(0x23c)],_0x4645c2=>{const _0x111544=_0x3b342f;return _0x4645c2[_0x111544(0x15d)](_0xf6f910[_0x111544(0x20f)],{'type':_0xf6f910['ZegsT'],'description':_0xf6f910['keKsT']});},async _0x3c0a57=>{const _0x17267d=_0x3b342f;await _0xf6f910[_0x17267d(0xe9)](withTelemetry,_0xf6f910[_0x17267d(0x1ef)],()=>hook(_0x17267d(0x157),_0x3c0a57['session-id']));})['command'](_0xf6f910[_0x3b342f(0x155)],_0xf6f910[_0x3b342f(0x15b)],_0x1a588c=>{const _0x175e4f=_0x3b342f;return _0x1a588c['option'](_0xf6f910[_0x175e4f(0x20f)],{'type':_0xf6f910[_0x175e4f(0x235)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x28860c=>{const _0x468c6d=_0x3b342f;await _0xf6f910['slsZt'](withTelemetry,_0xf6f910[_0x468c6d(0xeb)],()=>hook('disable',_0x28860c['session-id']));})['option'](_0xf6f910[_0x3b342f(0x11e)],{'type':_0xf6f910[_0x3b342f(0x235)],'description':_0xf6f910['lnsxz']})['option']('session-id',{'type':'string','description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x31b030=>{const _0x543ece=_0x39580c;_0x31b030[_0x543ece(0x278)]&&await hook(_0x31b030[_0x543ece(0x278)],_0x31b030[_0xf6f910[_0x543ece(0x20f)]]);})['demandCommand'](0x1,_0xf6f910['CSbFQ'])['strictCommands']()[_0x39580c(0x1c3)](async(_0x31a8b6,_0x2753ad,_0x218549)=>{const _0x46dc52=_0x39580c,_0x48902d=_0xf6f910['nDlzl'](sanitizeArgs,process['argv'][_0x46dc52(0x163)](0x2)),_0x26af4a=getErrorType(_0x31a8b6,_0x2753ad);if(_0x31a8b6&&_0x31a8b6[_0x46dc52(0x1ab)](_0xf6f910['ldZiM'])){const _0x3350a4=process[_0x46dc52(0x188)][0x2];console['error'](_0x46dc52(0xfe)+_0x3350a4),console[_0x46dc52(0x243)](_0xf6f910['khSNS']);}else{if(_0x31a8b6)console[_0x46dc52(0x243)]('\x0a'+_0x31a8b6+'\x0a');else _0x2753ad&&console['error'](_0x46dc52(0x17d)+_0x2753ad['message']+'\x0a');}await logDesirePath({'rawCommand':_0x48902d,'errorMessage':_0x31a8b6||_0x2753ad?.['message'],'errorType':_0x26af4a});const _0x380fa2=getCurrentCollector();_0x380fa2&&await _0x380fa2['trackCommandError'](_0x2753ad||new Error(_0x31a8b6||_0xf6f910['wpgys'])),process[_0x46dc52(0x12d)](0x1);})[_0x39580c(0xf0)](_0xf6f910['ROrIF'](_0x39580c(0x231)+_0x39580c(0x226),_0x39580c(0x1f2)))['help']()[_0x39580c(0x25f)](_0xf6f910['imkBw'],'h');}process[_0x4874ed(0x1b3)]['NODE_ENV']!=='test'&&(shouldShowLegacyWarning(process[_0x4874ed(0x188)])&&showLegacyDeprecationWarning(),buildParser()['parse']());
|
|
2
|
+
const _0x463399=_0x2d80;(function(_0x26e74b,_0x39e15a){const _0x176c76=_0x2d80,_0x3b2833=_0x26e74b();while(!![]){try{const _0x53c073=parseInt(_0x176c76(0x2f0))/0x1+parseInt(_0x176c76(0x1f7))/0x2*(-parseInt(_0x176c76(0x2d8))/0x3)+parseInt(_0x176c76(0x31c))/0x4*(-parseInt(_0x176c76(0x19e))/0x5)+-parseInt(_0x176c76(0x26b))/0x6+-parseInt(_0x176c76(0x2d5))/0x7*(-parseInt(_0x176c76(0x215))/0x8)+-parseInt(_0x176c76(0x2fb))/0x9+parseInt(_0x176c76(0x2d0))/0xa;if(_0x53c073===_0x39e15a)break;else _0x3b2833['push'](_0x3b2833['shift']());}catch(_0x2c90ed){_0x3b2833['push'](_0x3b2833['shift']());}}}(_0x1cbb,0xec67a));import _0x3aa8be from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x4be1a5=_0x2d80,_0xc5cb4b={'QKBQY':function(_0x5e24ec,_0x1254ba){return _0x5e24ec!==_0x1254ba;},'rWzCR':function(_0x46f9d9,_0x3f6366){return _0x46f9d9(_0x3f6366);},'amGxh':function(_0x1c3e83,_0x42e86a,_0x4b1a03){return _0x1c3e83(_0x42e86a,_0x4b1a03);},'OZliA':'.ranger','ywMTR':function(_0x37cb47,_0x39dfa7){return _0x37cb47(_0x39dfa7);}};let _0x33bb11=process[_0x4be1a5(0x301)]();const _0x3e264d=parse(_0x33bb11)['root'];while(_0xc5cb4b[_0x4be1a5(0x2e8)](_0x33bb11,_0x3e264d)){if(_0xc5cb4b['rWzCR'](existsSync,_0xc5cb4b[_0x4be1a5(0x2fd)](join,_0x33bb11,_0xc5cb4b[_0x4be1a5(0x227)]))||_0xc5cb4b['ywMTR'](existsSync,_0xc5cb4b['amGxh'](join,_0x33bb11,'.env')))return _0x33bb11;_0x33bb11=dirname(_0x33bb11);}return process['cwd']();}_0x3aa8be[_0x463399(0x285)]({'path':join(findProjectRoot(),'.env')});import _0x50a9a2 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';import{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'](_0x463399(0x2f3),async _0x6e3b2d=>{const _0x775079={'nbOnp':function(_0x3136c2){return _0x3136c2();}},_0x2c1d70=_0x775079['nbOnp'](getCurrentCollector);_0x2c1d70&&await _0x2c1d70['trackCommandError'](_0x6e3b2d),process['exitCode']=0x1;});const rawArgs=process['argv']['slice'](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP=_0x463399(0x317),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 _0x2d80(_0x235d4a,_0x33dfe8){_0x235d4a=_0x235d4a-0x192;const _0x1cbb0d=_0x1cbb();let _0x2d80cc=_0x1cbb0d[_0x235d4a];return _0x2d80cc;}function warnRenamed(_0x56aa1b,_0x5dbe73){const _0x558a61=_0x463399;console['error']('\x0a'+_0x56aa1b+_0x558a61(0x1ac)+_0x5dbe73+'\x0a');}function argUsed(_0x1912ab){const _0x349d77=_0x463399;return rawArgs[_0x349d77(0x2a9)](_0x58000b=>_0x58000b===_0x1912ab||_0x58000b['startsWith'](_0x1912ab+'='));}function warnFlagRenamed(_0x467f9b,_0x425e3c,_0x316aae){const _0x203c80=_0x463399,_0x1dd21f={'EfLJl':function(_0x582c95,_0x6632d5){return _0x582c95(_0x6632d5);},'wbQyX':function(_0x15ee8c,_0x29b216,_0x2cde5e){return _0x15ee8c(_0x29b216,_0x2cde5e);}};_0x1dd21f[_0x203c80(0x32d)](argUsed,_0x425e3c)&&_0x1dd21f[_0x203c80(0x277)](warnRenamed,_0x467f9b+'\x20'+_0x425e3c,_0x467f9b+'\x20'+_0x316aae);}async function runGoCommand(_0x598251,_0xa04c25=![]){const _0x50ecb8=_0x463399,_0x37081d={'zUTHA':function(_0x256ac4,_0x5df499){return _0x256ac4+_0x5df499;},'RAluL':'ranger\x20verify-feature','XMexw':_0x50ecb8(0x251),'GLZZo':_0x50ecb8(0x1b7),'ORAxe':_0x50ecb8(0x1ad),'fqjto':function(_0x106b63,_0x1f2152,_0x1ed29c,_0x253982){return _0x106b63(_0x1f2152,_0x1ed29c,_0x253982);},'aaQzq':'--task','pqgTL':'--notes','jXNJJ':function(_0x1ae71f,_0xedd4a,_0x322c68,_0x26f7ac){return _0x1ae71f(_0xedd4a,_0x322c68,_0x26f7ac);},'RleWw':function(_0x24ee16){return _0x24ee16();},'cSquX':function(_0x4564f9,_0x31bab4){return _0x4564f9(_0x31bab4);},'HsupL':_0x50ecb8(0x300),'EniDy':function(_0x311e87,_0x5a321a){return _0x311e87===_0x5a321a;},'omNoW':_0x50ecb8(0x29f),'DGbjV':'\x20FAILED'};_0xa04c25&&warnRenamed(_0x37081d['RAluL'],_0x37081d['XMexw']);warnFlagRenamed(_0x37081d[_0x50ecb8(0x1e9)],_0x37081d['GLZZo'],_0x37081d[_0x50ecb8(0x23b)]),_0x37081d[_0x50ecb8(0x25c)](warnFlagRenamed,_0x37081d[_0x50ecb8(0x1e9)],_0x37081d['aaQzq'],_0x37081d[_0x50ecb8(0x309)]),_0x37081d[_0x50ecb8(0x2db)](warnFlagRenamed,'ranger\x20go',_0x50ecb8(0x24f),'--scenario');const _0x148747=await loadRangerConfig(),_0x535eb8=_0x37081d[_0x50ecb8(0x20c)](isByokEnabled),_0x2c506a=_0x598251['model'],_0x17990e=_0x148747['model'],_0x5344af=await _0x37081d['cSquX'](verifyFeature,{'featureId':_0x598251['feature'],'profile':_0x598251['profile']??_0x598251['env']??process[_0x50ecb8(0x1b9)]['RANGER_PROFILE'],'notes':_0x598251[_0x50ecb8(0x293)]??_0x598251['task'],'scenario':_0x598251[_0x50ecb8(0x194)]??_0x598251['item'],'startPath':_0x598251[_0x37081d[_0x50ecb8(0x29d)]],'baseUrl':_0x598251['base-url'],'debugOutcome':_0x598251['debug-outcome'],'debugAddressComments':_0x598251[_0x50ecb8(0x346)],'headed':_0x598251['headed'],'byokEnabled':_0x535eb8,'flagVerifyModel':_0x2c506a,'configVerifyModel':_0x17990e});console['log']('\x0a'+'='['repeat'](0x3c)),console[_0x50ecb8(0x210)](_0x37081d['EniDy'](_0x5344af[_0x50ecb8(0x19a)],'verified')?'\x20VERIFIED':_0x5344af[_0x50ecb8(0x19a)]===_0x50ecb8(0x204)?_0x37081d[_0x50ecb8(0x1a0)]:_0x37081d['EniDy'](_0x5344af[_0x50ecb8(0x19a)],_0x50ecb8(0x32f))?'\x20PARTIAL':_0x37081d[_0x50ecb8(0x2ea)](_0x5344af['evaluation'],_0x50ecb8(0x201))?'\x20BLOCKED':_0x37081d['DGbjV']),console['log']('='[_0x50ecb8(0x1cb)](0x3c)),console['log'](_0x50ecb8(0x1c0)+_0x5344af[_0x50ecb8(0x21c)]),console['log'](_0x50ecb8(0x1eb)+_0x5344af['evaluation']),console[_0x50ecb8(0x210)](_0x50ecb8(0x342)+_0x5344af[_0x50ecb8(0x1ae)]),_0x5344af[_0x50ecb8(0x33d)]?.['length']&&(console['log'](_0x50ecb8(0x2a5)),_0x5344af[_0x50ecb8(0x33d)][_0x50ecb8(0x2c5)]((_0x4c1607,_0x2fb2fa)=>{const _0x449063=_0x50ecb8;console[_0x449063(0x210)]('\x0a'+_0x37081d[_0x449063(0x217)](_0x2fb2fa,0x1)+_0x449063(0x1e6)+_0x4c1607[_0x449063(0x1ef)]+']\x20'+_0x4c1607['description']);})),process[_0x50ecb8(0x20f)](_0x37081d[_0x50ecb8(0x2ea)](_0x5344af['evaluation'],_0x50ecb8(0x256))?0x0:0x1);}export function buildParser(_0x322694){const _0x488281=_0x463399,_0x3a6e96={'tnpBG':'Feature\x20review\x20name','mYqXX':'description','bvADJ':'Feature\x20review\x20description','WtDHb':_0x488281(0x194),'YLbuj':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','aqttb':_0x488281(0x302),'XDsKS':'Example:\x20ranger\x20create\x20my-feature','qIUgV':function(_0xe02b6e,_0x34af16,_0x3ce35d,_0x4b97ea){return _0xe02b6e(_0x34af16,_0x3ce35d,_0x4b97ea);},'GAoHb':function(_0x16a67d,_0x2c1c36,_0x529f87){return _0x16a67d(_0x2c1c36,_0x529f87);},'gzGFs':'create','MOKcB':'current-branch','cYTIP':'boolean','Ycuoa':_0x488281(0x266),'bzPFH':'limit','LXiXH':'offset','HGcEi':'Number\x20of\x20feature\x20reviews\x20to\x20skip','hDMDy':'include-deleted','hexRl':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','bMBlk':_0x488281(0x1f5),'jXcMz':_0x488281(0x2c7),'xaRrg':_0x488281(0x263),'FFyDp':function(_0x1f2217,_0x4e5e69,_0x2a7a00){return _0x1f2217(_0x4e5e69,_0x2a7a00);},'GrcTD':_0x488281(0x2de),'pxioj':'number','CYzTA':_0x488281(0x353),'YeAIp':'edit-scenario','Wxpln':_0x488281(0x295),'qWmPr':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','HOCTL':_0x488281(0x272),'AdMxD':_0x488281(0x2b2),'yXwUx':'delete','mQhuB':'Feature\x20review\x20ID\x20to\x20restore','fWxkm':'restore','iNnhf':_0x488281(0x1e5),'olzzD':'token','KzvAO':_0x488281(0x209),'pguyC':'setup:login','eGAvh':_0x488281(0x212),'lXkFU':'project','gfXDL':'Install\x20scope\x20for\x20plugin\x20and\x20skills','vqeiJ':'skip-auth','FCTaC':_0x488281(0x1c9),'FlorS':_0x488281(0x29b),'Zzonr':function(_0x30928c){return _0x30928c();},'ZEuxg':function(_0x17a0e8,_0x45672b){return _0x17a0e8(_0x45672b);},'ATWdq':function(_0x524533,_0x26c986){return _0x524533(_0x26c986);},'gjbpt':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','rELum':'Skip\x20browser\x20authentication','vFshB':_0x488281(0x1a7),'PdfJY':_0x488281(0x2e2),'kFafN':'all','vgDRm':'skills','RORZy':_0x488281(0x1aa),'AkerK':_0x488281(0x294),'oPFlk':_0x488281(0x274),'AfyZI':_0x488281(0x2df),'yeXce':_0x488281(0x2c4),'ACxlp':_0x488281(0x1f3),'ECEJs':_0x488281(0x237),'aMBuI':_0x488281(0x347),'fnpyV':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','PQQhy':'API\x20token','tqyyg':_0x488281(0x2e3),'qHPgs':_0x488281(0x23f),'tDBXs':_0x488281(0x25a),'LnuuO':_0x488281(0x339),'NHWYP':_0x488281(0x205),'KbBFl':_0x488281(0x2e7),'nRtwy':'opencode','llhoK':_0x488281(0x30e),'LaBrs':_0x488281(0x322),'nGzNi':_0x488281(0x234),'vkLvo':_0x488281(0x279),'JTXEe':'Name\x20of\x20the\x20profile\x20to\x20update','Itjms':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','ATsEg':function(_0x33a961,_0x3b8268,_0x4fc6ee){return _0x33a961(_0x3b8268,_0x4fc6ee);},'KKsmx':'profile\x20config\x20set','LGBfe':'profile\x20config\x20list','HDCDF':'set\x20<profile>\x20<key>\x20<value>','WJqBw':'get\x20<profile>\x20<key>','zyLNR':_0x488281(0x2cb),'wbVmn':'List\x20all\x20config\x20for\x20a\x20profile','JiHdT':_0x488281(0x23a),'xZSLn':'Remove\x20a\x20config\x20value','ntDRt':'reset\x20<profile>','fRViv':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','FApQt':_0x488281(0x2f5),'LbCed':'cdp-endpoint','stDhl':_0x488281(0x354),'QdOCk':'safe-mode','kFLzo':_0x488281(0x1bd),'ubfhs':'user','nJscT':function(_0x442cbe,_0x177ef8,_0x2e1bd9,_0x523ed1){return _0x442cbe(_0x177ef8,_0x2e1bd9,_0x523ed1);},'IlLvG':function(_0x74712c,_0x329691){return _0x74712c(_0x329691);},'RfQsA':'No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','ezuRz':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','QUQwT':'profile\x20migrate','czjJM':_0x488281(0x2c1),'kxuFe':'Profile\x20name','gDWbx':_0x488281(0x2bd),'TiMac':_0x488281(0x2f1),'EtBQc':_0x488281(0x1bb),'LzWqj':_0x488281(0x2f8),'ZjzLF':_0x488281(0x1b8),'vvGdn':_0x488281(0x22a),'ujuUp':_0x488281(0x20d),'LAlTU':'login\x20<name>','eWVsT':'config','amHNg':_0x488281(0x269),'dqmSd':_0x488281(0x34a),'OiGFJ':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','Jnden':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','XrBUq':'start-path','weQEG':_0x488281(0x2e4),'skwPS':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','khDDp':'model','rAorf':_0x488281(0x26d),'iQZTT':_0x488281(0x355),'nkojd':_0x488281(0x28d),'xhLgP':'partial','LwKzn':_0x488281(0x201),'LzXwu':_0x488281(0x204),'Qvimb':'debug-address-comments','nCRyo':_0x488281(0x233),'vpbmn':'skip-chromium','sdEKM':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','lXOOg':_0x488281(0x2c9),'aFfxP':_0x488281(0x2f4),'dCnhb':_0x488281(0x359),'YRFSZ':_0x488281(0x276),'DZCbT':function(_0x4dbd22,_0x4b37c2,_0x5330b0){return _0x4dbd22(_0x4b37c2,_0x5330b0);},'DpWZk':_0x488281(0x1b4),'bTgBo':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','lAFKZ':'notes','kfqtU':_0x488281(0x2af),'ucYSv':'add\x20env','CMnZD':'env-name','SBKYM':_0x488281(0x2f2),'AIywW':_0x488281(0x1e1),'eNizS':_0x488281(0x2f7),'kzCVL':_0x488281(0x2ae),'rhExF':'Config\x20value','LJyRs':_0x488281(0x297),'iThmI':'ranger\x20config\x20unset','NdBzz':function(_0x1d1b74,_0x26de6e,_0x15fed9){return _0x1d1b74(_0x26de6e,_0x15fed9);},'HyVll':_0x488281(0x30c),'jDOnr':function(_0x5bc2b0,_0x1a61e5,_0x2feb62){return _0x5bc2b0(_0x1a61e5,_0x2feb62);},'ynPXD':'Config\x20key\x20to\x20remove','KcLMb':_0x488281(0x195),'cuSry':function(_0x451c0e,_0x2d0588,_0x1a1edc){return _0x451c0e(_0x2d0588,_0x1a1edc);},'JbSPW':_0x488281(0x254),'NAgWJ':function(_0x1f7751,_0x5ca37e,_0x42df3b){return _0x1f7751(_0x5ca37e,_0x42df3b);},'ytOLG':'Name\x20of\x20the\x20environment\x20to\x20update','VihrV':'update\x20<env-name>','jKBLf':_0x488281(0x1d8),'KypCM':'array','JOmqh':_0x488281(0x1bf),'XKKXj':'--checklist','BysOb':_0x488281(0x1fc),'eLzRb':function(_0x1f52f9,_0x57e955,_0xec9b8d){return _0x1f52f9(_0x57e955,_0xec9b8d);},'WEDIs':'feature\x20create','DxNUZ':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','GysSw':function(_0x255e62,_0x29d041,_0xb8d729){return _0x255e62(_0x29d041,_0xb8d729);},'xhqeJ':_0x488281(0x197),'wKYmP':_0x488281(0x2b3),'GSvUJ':_0x488281(0x26c),'FTPkK':function(_0x65ab00,_0x4be416,_0xbbdf50){return _0x65ab00(_0x4be416,_0xbbdf50);},'hfTrv':_0x488281(0x318),'itDUh':function(_0x3ad9bf,_0x4da5ab,_0x2257c7){return _0x3ad9bf(_0x4da5ab,_0x2257c7);},'SylIn':'ranger\x20feature\x20list','hUbDj':function(_0x4958c1,_0x3bee50,_0x269b39){return _0x4958c1(_0x3bee50,_0x269b39);},'THPzp':'ranger\x20get-review','YHazy':_0x488281(0x1be),'lfUbf':'ranger\x20delete','ucVPX':_0x488281(0x1bc),'UpDnh':'resume\x20[id]','rtoyM':_0x488281(0x1dc),'GHnUo':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','ioAWA':'session-id','yCMtv':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','puoRT':_0x488281(0x1db),'jnKvV':_0x488281(0x31e),'jtKqB':'disable','lYaof':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','eubmF':'Unknown\x20command','unnYk':_0x488281(0x24a),'KwOkb':function(_0x3121da){return _0x3121da();},'eUYvw':function(_0x13171b,_0x6f4f3d){return _0x13171b||_0x6f4f3d;},'jCscu':_0x488281(0x308),'ylkdQ':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','KcTnJ':'show\x20[id]','BUEKI':'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','reNXZ':_0x488281(0x2b4),'CXtrv':_0x488281(0x241),'IfJQU':_0x488281(0x1f0),'caMNB':'delete\x20[id]','TjDgv':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','CVLvl':'Restore\x20a\x20soft-deleted\x20feature\x20review','ryXef':'setup\x20[tokenOrSubcommand]','QVtLb':'setup-ci\x20<token>','lsdcV':'login','PxZtG':'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','HaHAL':_0x488281(0x29c),'eHAMt':'print-access-token','wiuKC':'Print\x20the\x20current\x20CLI\x20access\x20token','DWCUp':_0x488281(0x226),'sRAFA':_0x488281(0x358),'TQuBG':'You\x20must\x20specify\x20a\x20command','lXgEs':function(_0x51dc4f,_0x4bd963){return _0x51dc4f+_0x4bd963;},'KoIhq':_0x488281(0x31a)};return _0x50a9a2(_0x322694??process[_0x488281(0x280)]['slice'](0x2))[_0x488281(0x230)]('ranger')['usage'](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command']('create\x20<name>',_0x3a6e96[_0x488281(0x31b)],_0x41c5cf=>{const _0x2d8180=_0x488281;return _0x41c5cf['positional']('name',{'type':'string','description':_0x3a6e96[_0x2d8180(0x1e8)],'demandOption':!![]})['option'](_0x3a6e96['mYqXX'],{'type':'string','alias':'d','description':_0x3a6e96['bvADJ']})['option'](_0x3a6e96[_0x2d8180(0x1af)],{'type':_0x2d8180(0x2ff),'alias':'c','description':_0x3a6e96[_0x2d8180(0x2fa)]})['option']('checklist',{'type':_0x2d8180(0x2ff),'hidden':!![]});},async _0x9c61=>{const _0x377517=_0x488281;if(!_0x9c61[_0x377517(0x1d8)]){console['error'](_0x3a6e96[_0x377517(0x2fc)]+_0x3a6e96['XDsKS']),process[_0x377517(0x20f)](0x1);return;}_0x3a6e96['qIUgV'](warnFlagRenamed,'ranger\x20create',_0x377517(0x23d),_0x377517(0x1fc));const _0x36048b=_0x9c61['scenario']||_0x9c61[_0x377517(0x2b9)];await _0x3a6e96['GAoHb'](withTelemetry,_0x3a6e96['gzGFs'],()=>featureCreate(_0x9c61['name'],{'description':_0x9c61['description'],'scenarios':_0x36048b}));})[_0x488281(0x244)](_0x3a6e96[_0x488281(0x1a6)],'List\x20all\x20feature\x20reviews',_0x5c7179=>{const _0xcf45c3=_0x488281;return _0x5c7179[_0xcf45c3(0x312)](_0x3a6e96[_0xcf45c3(0x296)],{'type':_0x3a6e96[_0xcf45c3(0x2ce)],'description':_0x3a6e96['Ycuoa']})[_0xcf45c3(0x312)](_0x3a6e96[_0xcf45c3(0x21f)],{'type':_0xcf45c3(0x335),'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option'](_0x3a6e96[_0xcf45c3(0x329)],{'type':'number','alias':'o','description':_0x3a6e96['HGcEi'],'default':0x0})['option'](_0x3a6e96[_0xcf45c3(0x19f)],{'type':'boolean','alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x41f3c1=>{const _0x2fa0f3=_0x488281;await withTelemetry(_0x2fa0f3(0x1bc),()=>featureList({'currentBranch':_0x41f3c1['current-branch'],'limit':_0x41f3c1[_0x2fa0f3(0x307)],'offset':_0x41f3c1['offset'],'includeDeleted':_0x41f3c1[_0x2fa0f3(0x22d)]}));})['command'](_0x3a6e96['KcTnJ'],_0x488281(0x219),_0x41ba65=>{const _0x32ebb8=_0x488281;return _0x41ba65['positional']('id',{'type':'string','description':_0x32ebb8(0x350)});},async _0x49e54f=>{const _0x5293cc=_0x488281;await _0x3a6e96[_0x5293cc(0x1a9)](withTelemetry,_0x5293cc(0x22b),()=>featureShow(_0x49e54f['id']));})[_0x488281(0x244)](_0x3a6e96['UpDnh'],'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x11159e=>{const _0x312081=_0x488281;return _0x11159e[_0x312081(0x341)]('id',{'type':'string','description':_0x3a6e96[_0x312081(0x283)]});},async _0x513f9c=>{await withTelemetry(_0x3a6e96['bMBlk'],()=>featureResume(_0x513f9c['id']));})[_0x488281(0x244)](_0x488281(0x25b),_0x3a6e96['BUEKI'],_0x1fdbba=>{const _0x3f482b=_0x488281;return _0x1fdbba['positional']('description',{'type':_0x3f482b(0x2de),'description':_0x3a6e96['jXcMz'],'demandOption':!![]})[_0x3f482b(0x312)]('id',{'type':'string','description':_0x3a6e96['xaRrg']});},async _0x2c6670=>{const _0x36c638=_0x488281;await _0x3a6e96[_0x36c638(0x33b)](withTelemetry,'add-scenario',()=>featureAddScenario(_0x2c6670[_0x36c638(0x2ad)],_0x2c6670['id']));})['command'](_0x3a6e96['reNXZ'],_0x3a6e96['CXtrv'],_0x31d036=>{const _0x333d90=_0x488281;return _0x31d036['positional'](_0x3a6e96[_0x333d90(0x199)],{'type':_0x3a6e96[_0x333d90(0x33e)],'description':_0x333d90(0x192),'demandOption':!![]})['option']('scenario',{'type':_0x3a6e96['pxioj'],'description':_0x3a6e96['CYzTA'],'demandOption':!![]})['option']('id',{'type':'string','description':_0x3a6e96[_0x333d90(0x2a2)]});},async _0x520d72=>{const _0x389433=_0x488281;await withTelemetry(_0x3a6e96[_0x389433(0x1e2)],()=>featureEditScenario(_0x520d72['description'],{'id':_0x520d72['id'],'scenario':_0x520d72['scenario']}));})[_0x488281(0x244)](_0x3a6e96['IfJQU'],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x471995=>{const _0x185efd=_0x488281;return _0x471995[_0x185efd(0x341)]('id',{'type':'string','description':'Feature\x20review\x20ID'})[_0x185efd(0x312)](_0x3a6e96['Wxpln'],{'type':'array','description':_0x3a6e96['qWmPr']})['option'](_0x3a6e96[_0x185efd(0x1cf)],{'type':'boolean','description':_0x3a6e96['AdMxD'],'default':![]});},async _0xcebc8e=>{const _0x3b32b3=_0x488281,_0x13aa31=_0xcebc8e[_0x3b32b3(0x295)],_0x116e6e=_0x13aa31?_0x13aa31['map'](_0x94bdd9=>Number(_0x94bdd9)):undefined;await withTelemetry(_0x3b32b3(0x23c),()=>featureReportPrDescription(_0xcebc8e['id'],{'excludeScenarios':_0x116e6e,'json':_0xcebc8e['json']}));})[_0x488281(0x244)](_0x488281(0x1e0),_0x488281(0x2fe),_0x53437d=>{const _0x4e2b09=_0x488281;return _0x53437d[_0x4e2b09(0x341)]('id',{'type':'string','description':_0x3a6e96['xaRrg']});},async _0x25cefc=>{const _0x49bfe6=_0x488281;await withTelemetry(_0x49bfe6(0x319),()=>featureGetReview(_0x25cefc['id']));})['command'](_0x3a6e96[_0x488281(0x327)],_0x3a6e96[_0x488281(0x1dd)],_0x153444=>{const _0x1d918b=_0x488281;return _0x153444['positional']('id',{'type':_0x1d918b(0x2de),'description':'Feature\x20review\x20ID'});},async _0x5267ae=>{await withTelemetry(_0x3a6e96['yXwUx'],()=>featureDelete(_0x5267ae['id']));})['command']('restore\x20<id>',_0x3a6e96[_0x488281(0x273)],_0x9329b9=>{const _0x1dc421=_0x488281;return _0x9329b9[_0x1dc421(0x341)]('id',{'type':_0x1dc421(0x2de),'description':_0x3a6e96[_0x1dc421(0x1fa)],'demandOption':!![]});},async _0x2ec61c=>{const _0x3cf388=_0x488281;await withTelemetry(_0x3a6e96[_0x3cf388(0x2d2)],()=>featureRestore(_0x2ec61c['id']));})['command'](_0x3a6e96['ryXef'],_0x488281(0x2ed),_0x43e625=>{const _0x91afd=_0x488281,_0x2c08f2={'YYaIc':'Ranger\x20API\x20token','NeElD':_0x3a6e96[_0x91afd(0x2ce)],'kxYFI':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','vIgMJ':_0x3a6e96[_0x91afd(0x1c1)],'Tbfpi':_0x91afd(0x203),'XFlVM':_0x91afd(0x2f4),'UBarH':'scope','BjpVQ':'string','kHmHT':_0x91afd(0x2b7),'GEvab':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','paVOt':_0x3a6e96[_0x91afd(0x2ac)],'rqCWh':_0x3a6e96['FlorS'],'wodwn':function(_0x5a63a1){return _0x3a6e96['Zzonr'](_0x5a63a1);},'FRuyF':'Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','qKmbS':function(_0xebe145,_0x35308c){return _0x3a6e96['ZEuxg'](_0xebe145,_0x35308c);},'dvGqH':function(_0x4f96f3,_0x4bc517){const _0x5849cd=_0x91afd;return _0x3a6e96[_0x5849cd(0x306)](_0x4f96f3,_0x4bc517);},'QXJdA':_0x91afd(0x270),'ZXmlS':_0x3a6e96[_0x91afd(0x1f1)],'ngyOA':_0x3a6e96[_0x91afd(0x19c)],'LuVRT':function(_0x253ca4,_0x411c1e){return _0x253ca4!==_0x411c1e;},'sAGJa':function(_0x4cb8a9,_0x10d4b6){return _0x4cb8a9+_0x10d4b6;}};return _0x43e625[_0x91afd(0x1d3)]('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'](_0x3a6e96[_0x91afd(0x20b)],{'type':_0x3a6e96['GrcTD'],'description':_0x3a6e96['PdfJY']})['command'](_0x3a6e96['kFafN'],_0x91afd(0x1b5),_0x1520e2=>{const _0x3bd609=_0x91afd;return _0x1520e2[_0x3bd609(0x312)](_0x3bd609(0x1cd),{'type':'string','description':_0x2c08f2['YYaIc']})['option']('skip-chromium',{'type':_0x2c08f2[_0x3bd609(0x2a6)],'description':_0x2c08f2[_0x3bd609(0x1ce)],'default':![]})['option'](_0x2c08f2[_0x3bd609(0x290)],{'type':_0x3bd609(0x289),'description':_0x3bd609(0x2c9),'default':![]})['option'](_0x2c08f2[_0x3bd609(0x328)],{'type':_0x2c08f2['NeElD'],'description':_0x2c08f2['XFlVM'],'default':![]})['option'](_0x2c08f2[_0x3bd609(0x21b)],{'type':_0x2c08f2[_0x3bd609(0x29a)],'choices':[_0x3bd609(0x2c0)],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x2c08f2[_0x3bd609(0x31f)],{'type':_0x2c08f2[_0x3bd609(0x29a)],'description':_0x3bd609(0x275)})[_0x3bd609(0x312)](_0x3bd609(0x2c4),{'type':_0x2c08f2[_0x3bd609(0x2a6)],'description':_0x2c08f2['GEvab'],'default':![]})['option']('opencode',{'type':_0x3bd609(0x289),'description':_0x3bd609(0x237),'default':![]})[_0x3bd609(0x312)](_0x3bd609(0x347),{'type':_0x3bd609(0x289),'description':_0x2c08f2[_0x3bd609(0x338)],'default':![]})['option']('mcp-bootstrap',{'type':_0x2c08f2['NeElD'],'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','default':![]})['option'](_0x2c08f2['rqCWh'],{'type':_0x2c08f2['NeElD'],'description':_0x3bd609(0x19b),'default':![]});},async _0x1115ef=>{const _0xf0e2c6=_0x91afd;(_0x1115ef['mcp-bootstrap']||_0x1115ef[_0xf0e2c6(0x29b)])&&await withTelemetry(_0xf0e2c6(0x2e3),()=>mcpBootstrap()),await withTelemetry(_0x3a6e96['iNnhf'],_0x52630f=>start(_0x1115ef[_0xf0e2c6(0x1cd)],{'skipChromium':_0x1115ef['skip-chromium'],'skipAuth':_0x1115ef['skip-auth'],'withDeps':_0x1115ef[_0xf0e2c6(0x203)],'scope':_0x1115ef['scope'],'url':_0x1115ef['url'],'force':_0x1115ef[_0xf0e2c6(0x2c4)],'opencode':_0x1115ef['opencode'],'allowInsecureLocalhost':_0x1115ef[_0xf0e2c6(0x347)]},_0x52630f));})[_0x91afd(0x244)](_0x91afd(0x286),'Install\x20Chromium\x20browser\x20binary',_0x29bc99=>{const _0x5356a8=_0x91afd;return _0x29bc99[_0x5356a8(0x312)](_0x2c08f2['Tbfpi'],{'type':_0x2c08f2[_0x5356a8(0x2a6)],'description':_0x5356a8(0x2d7),'default':![]});},async _0x368335=>{await withTelemetry('setup:deps',()=>ensureChromium(_0x368335['with-deps']));})['command']('login',_0x91afd(0x31d),_0x4c0303=>{const _0x4dca3b=_0x91afd;return _0x4c0303[_0x4dca3b(0x312)](_0x3a6e96['olzzD'],{'type':'string','description':_0x3a6e96['KzvAO']})['option']('mcp',{'type':_0x3a6e96[_0x4dca3b(0x2ce)],'description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x33d9eb=>{const _0x2f8848=_0x91afd;await withTelemetry(_0x3a6e96[_0x2f8848(0x321)],async()=>{const _0x30fcd9=_0x2f8848;if(_0x33d9eb['mcp']){await _0x2c08f2[_0x30fcd9(0x278)](mcpBootstrap);const _0x4ec8ab=await refreshCliToken();if(!_0x4ec8ab)throw new Error(_0x2c08f2[_0x30fcd9(0x255)]);const _0x4fe654=await _0x2c08f2[_0x30fcd9(0x324)](getCurrentUser,_0x4ec8ab);if(!_0x4fe654[_0x30fcd9(0x311)])throw new Error(_0x30fcd9(0x28e)+_0x4fe654['error']);console[_0x30fcd9(0x210)](_0x30fcd9(0x1a4)+_0x4fe654[_0x30fcd9(0x2c0)]['organizationName']);return;}await _0x2c08f2[_0x30fcd9(0x2ee)](authenticate,_0x33d9eb[_0x30fcd9(0x1cd)]);});})['command'](_0x3a6e96[_0x91afd(0x340)],_0x3a6e96[_0x91afd(0x2eb)],_0x418ee6=>{const _0x215ed6=_0x91afd;return _0x418ee6[_0x215ed6(0x312)](_0x3a6e96[_0x215ed6(0x1fd)],{'type':_0x3a6e96[_0x215ed6(0x33e)],'choices':['user',_0x3a6e96[_0x215ed6(0x232)]],'description':_0x3a6e96[_0x215ed6(0x224)]})['option'](_0x215ed6(0x325),{'type':_0x3a6e96[_0x215ed6(0x2ce)],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]});},async _0x3a2f21=>{const _0x242066={'XETQI':function(_0x1543f8,_0xeca14b,_0x3d9465){return _0x1543f8(_0xeca14b,_0x3d9465);},'RGOEP':function(_0x12f054){return _0x12f054();},'buYyJ':function(_0x3640a0,_0x58a34a){return _0x3640a0(_0x58a34a);}};await withTelemetry(_0x2c08f2['QXJdA'],async()=>{const _0x2b443b=_0x2d80,_0x5c7bda=_0x3a2f21[_0x2b443b(0x212)];if(_0x3a2f21[_0x2b443b(0x325)]){const _0x4ab149=await ensureOpencodePluginConfig(_0x5c7bda);_0x4ab149&&await _0x242066['XETQI'](installSkill,'ranger',{'level':_0x4ab149['scope'],'cliVersion':_0x242066[_0x2b443b(0x225)](getCurrentVersion),'platform':_0x2b443b(0x325)});}else await ensureClaudePlugin(_0x5c7bda),await _0x242066[_0x2b443b(0x33f)](ensureClaudeSkills,_0x5c7bda);});})['command'](_0x3a6e96[_0x91afd(0x2e9)],_0x3a6e96['oPFlk'],_0x20bcb5=>{const _0xb236af=_0x91afd;return _0x20bcb5['option']('scope',{'type':_0x2c08f2['BjpVQ'],'choices':[_0xb236af(0x2c0)],'description':_0x2c08f2['ZXmlS']})[_0xb236af(0x312)](_0x2c08f2['kHmHT'],{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app'})[_0xb236af(0x312)](_0xb236af(0x25f),{'type':_0xb236af(0x289),'description':_0x2c08f2['ngyOA'],'default':![]})[_0xb236af(0x312)](_0xb236af(0x2c4),{'type':_0x2c08f2[_0xb236af(0x2a6)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option']('allow-insecure-localhost',{'type':_0x2c08f2['NeElD'],'description':_0xb236af(0x1c9),'default':![]});},async _0xf85005=>{const _0x389346=_0x91afd,_0x5e0af9=_0xf85005[_0x389346(0x212)];_0x2c08f2['LuVRT'](_0x5e0af9,undefined)&&_0x5e0af9!==_0x389346(0x2c0)&&(console[_0x389346(0x200)](_0x2c08f2['sAGJa']('ranger\x20setup\x20profiles\x20--scope='+_0x5e0af9+_0x389346(0x27c),'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20')+_0x389346(0x291)),process[_0x389346(0x20f)](0x1)),await withTelemetry('setup:profiles',_0xb8fbcc=>ensureLocalEnv({'url':_0xf85005['url'],'force':_0xf85005[_0x389346(0x2c4)],'allowInsecureLocalhost':_0xf85005[_0x389346(0x347)],'scope':'user'},_0xb8fbcc));})['option']('skip-chromium',{'type':_0x3a6e96['cYTIP'],'description':_0x3a6e96['AfyZI'],'default':![]})[_0x91afd(0x312)]('scope',{'type':_0x91afd(0x2de),'choices':[_0x91afd(0x2c0)],'hidden':!![],'description':_0x3a6e96['gjbpt']})['option']('url',{'type':_0x3a6e96[_0x91afd(0x33e)],'description':_0x91afd(0x1cc)})[_0x91afd(0x312)](_0x3a6e96[_0x91afd(0x1c2)],{'type':_0x3a6e96[_0x91afd(0x2ce)],'description':_0x3a6e96[_0x91afd(0x2ba)],'default':![]})[_0x91afd(0x312)]('opencode',{'type':_0x3a6e96[_0x91afd(0x2ce)],'description':_0x3a6e96['ECEJs'],'default':![]})['option'](_0x3a6e96['aMBuI'],{'type':'boolean','description':_0x91afd(0x320),'default':![]})[_0x91afd(0x312)](_0x91afd(0x2e3),{'type':_0x3a6e96[_0x91afd(0x2ce)],'description':_0x91afd(0x238),'default':![]})[_0x91afd(0x312)](_0x3a6e96[_0x91afd(0x1c1)],{'type':_0x3a6e96[_0x91afd(0x2ce)],'description':_0x3a6e96[_0x91afd(0x1d7)],'default':![]})['option'](_0x91afd(0x203),{'type':'boolean','description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]})['option'](_0x91afd(0x1cd),{'type':'string','hidden':!![],'description':_0x3a6e96[_0x91afd(0x1e4)]});},async _0x182d7b=>{const _0x423829=_0x488281,_0x1935c1=_0x182d7b['tokenOrSubcommand'],_0x515ac8=_0x182d7b[_0x423829(0x1cd)]??_0x1935c1;_0x182d7b[_0x3a6e96[_0x423829(0x22c)]]&&await withTelemetry(_0x3a6e96['tqyyg'],()=>mcpBootstrap()),await _0x3a6e96['GAoHb'](withTelemetry,_0x3a6e96['qHPgs'],_0x436ffb=>start(_0x515ac8,{'skipChromium':_0x182d7b[_0x423829(0x34c)],'skipAuth':_0x182d7b['skip-auth'],'withDeps':_0x182d7b[_0x423829(0x203)],'scope':_0x182d7b['scope'],'url':_0x182d7b[_0x423829(0x2b7)],'force':_0x182d7b[_0x423829(0x2c4)],'opencode':_0x182d7b[_0x423829(0x325)],'allowInsecureLocalhost':_0x182d7b[_0x423829(0x347)]},_0x436ffb));})[_0x488281(0x244)](_0x3a6e96['QVtLb'],![],_0x1becaf=>{const _0x4eb551=_0x488281;return _0x1becaf[_0x4eb551(0x341)](_0x3a6e96['olzzD'],{'type':_0x3a6e96['GrcTD'],'description':'Ranger\x20API\x20token','demandOption':!![]})['option'](_0x4eb551(0x2c1),{'type':_0x4eb551(0x2de),'description':_0x3a6e96['tDBXs']})[_0x4eb551(0x312)](_0x3a6e96['LnuuO'],{'type':_0x4eb551(0x2de),'description':_0x3a6e96['NHWYP']})['option'](_0x4eb551(0x34c),{'type':_0x4eb551(0x289),'description':_0x4eb551(0x1de),'default':![]});},async _0x557bb6=>{await withTelemetry(_0x3a6e96['KbBFl'],_0x1d950d=>setupCi(_0x557bb6['token'],{'profile':_0x557bb6['profile'],'baseUrl':_0x557bb6['base-url'],'skipChromium':_0x557bb6['skip-chromium']},_0x1d950d));})[_0x488281(0x244)](_0x3a6e96['lsdcV'],_0x3a6e96['PxZtG'],()=>{},async()=>{const _0x413e11=_0x488281;await withTelemetry(_0x413e11(0x282),()=>login());})[_0x488281(0x244)]('skillup',_0x3a6e96['HaHAL'],_0x51e8dd=>{const _0x2bd9f3=_0x488281;return _0x51e8dd['option'](_0x3a6e96[_0x2bd9f3(0x1ed)],{'type':_0x3a6e96['cYTIP'],'description':_0x3a6e96['llhoK'],'default':![]})['option'](_0x2bd9f3(0x212),{'type':_0x3a6e96['GrcTD'],'choices':['user',_0x3a6e96[_0x2bd9f3(0x232)]],'description':_0x3a6e96['LaBrs']});},async _0x29a1f3=>{const _0x24a0eb=_0x488281,_0x41d802=Boolean(_0x29a1f3[_0x24a0eb(0x325)]);await withTelemetry(_0x24a0eb(0x2a1),()=>skillup({'autoInstall':_0x29a1f3[_0x24a0eb(0x212)],'platform':_0x41d802?'opencode':_0x24a0eb(0x337)}));})['command'](_0x488281(0x2f9),_0x488281(0x304),()=>{},async()=>{const _0x1663dd=_0x488281;await withTelemetry(_0x1663dd(0x2f9),()=>clean());})[_0x488281(0x244)]([_0x3a6e96[_0x488281(0x1f8)],_0x3a6e96['AkerK']],'Manage\x20profiles',_0x134c0b=>{const _0x178e72=_0x488281,_0x19f7b5={'XublJ':_0x178e72(0x2c3),'CexDi':'string','aRmgA':_0x3a6e96['FApQt'],'DlqnY':_0x3a6e96['yeXce'],'mgLsu':_0x3a6e96[_0x178e72(0x2ce)],'gXZpX':_0x3a6e96[_0x178e72(0x313)],'dkWOS':_0x3a6e96[_0x178e72(0x28f)],'UWCYs':_0x3a6e96[_0x178e72(0x2a4)],'kwjPo':_0x3a6e96['QdOCk'],'rqRSi':_0x3a6e96['kFLzo'],'GXRdb':'scope','mJZCH':_0x3a6e96['ubfhs'],'kuIOQ':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','GnhOa':function(_0x4b3a37,_0x531773,_0x18f8cd,_0x4a8aec){const _0x394f64=_0x178e72;return _0x3a6e96[_0x394f64(0x208)](_0x4b3a37,_0x531773,_0x18f8cd,_0x4a8aec);},'lldMn':function(_0x14a39b,_0x1453c4){const _0x5b4fa3=_0x178e72;return _0x3a6e96[_0x5b4fa3(0x1c5)](_0x14a39b,_0x1453c4);},'MxQnY':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','jESll':'yes','TJRMT':function(_0x2e14e7,_0x37bc03,_0x1582af){return _0x2e14e7(_0x37bc03,_0x1582af);},'SZqTY':function(_0x119beb,_0x5169b5){return _0x119beb||_0x5169b5;},'qeiSq':_0x178e72(0x25e),'dxxOZ':function(_0xb9ede7,_0x3f844a){return _0xb9ede7===_0x3f844a;},'nqUww':_0x3a6e96['RfQsA'],'rdaVD':'unknown\x20error','gESxR':_0x3a6e96['ezuRz'],'rrhcL':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','Wpmdl':function(_0x2a3b1e,_0x5272c8,_0x5191d3){return _0x2a3b1e(_0x5272c8,_0x5191d3);},'TwByT':_0x3a6e96['QUQwT'],'QmqyE':_0x3a6e96['czjJM'],'RVymO':_0x3a6e96['kxuFe'],'kACwH':_0x178e72(0x2ae),'Grwzf':_0x3a6e96[_0x178e72(0x2b1)],'jmros':'Config\x20value','KMvWG':'key','sdXEf':_0x3a6e96[_0x178e72(0x22f)],'NhcjB':function(_0x39624f,_0x3a933c,_0x14fe7d){return _0x39624f(_0x3a933c,_0x14fe7d);},'RQDun':_0x3a6e96['EtBQc']};return _0x134c0b['usage'](PROFILE_HELP)['command']('add\x20<profile-name>',_0x3a6e96['LzWqj'],_0x2a3b01=>{const _0x5a99a6=_0x178e72;return _0x2a3b01['positional'](_0x19f7b5['XublJ'],{'type':_0x19f7b5['CexDi'],'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x5a99a6(0x289),'hidden':!![],'default':![]})['option']('skip-auth',{'type':_0x5a99a6(0x289),'description':_0x19f7b5[_0x5a99a6(0x1d1)],'default':![]})[_0x5a99a6(0x312)](_0x5a99a6(0x2b7),{'type':_0x19f7b5['CexDi'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x19f7b5[_0x5a99a6(0x336)],{'type':_0x19f7b5[_0x5a99a6(0x1a1)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x19f7b5[_0x5a99a6(0x314)],{'type':_0x5a99a6(0x2de),'description':_0x19f7b5['dkWOS']})[_0x5a99a6(0x312)]('allow-insecure-localhost',{'type':'boolean','description':_0x19f7b5['UWCYs'],'default':![]})['option'](_0x19f7b5[_0x5a99a6(0x356)],{'type':_0x5a99a6(0x289),'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]})[_0x5a99a6(0x312)](_0x19f7b5['rqRSi'],{'type':_0x5a99a6(0x2de),'array':!![],'description':_0x5a99a6(0x2e1)})['option'](_0x19f7b5[_0x5a99a6(0x213)],{'type':_0x5a99a6(0x2de),'choices':[_0x19f7b5['mJZCH'],'project'],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})['option'](_0x5a99a6(0x345),{'type':_0x19f7b5[_0x5a99a6(0x1a1)],'alias':'y','description':_0x19f7b5['kuIOQ'],'default':![]});},async _0x9700af=>{const _0xb8daaf=_0x178e72;await _0x19f7b5[_0xb8daaf(0x334)](withTelemetry,'profile\x20add',_0x1cc171=>addEnv(_0x9700af['profile-name'],{'ci':_0x9700af['ci'],'skipAuth':_0x9700af[_0xb8daaf(0x25f)],'url':_0x9700af[_0xb8daaf(0x2b7)],'force':_0x9700af['force'],'cdpEndpoint':_0x9700af[_0xb8daaf(0x2b6)],'allowInsecureLocalhost':_0x9700af['allow-insecure-localhost'],'safeMode':_0x9700af[_0xb8daaf(0x250)],'setupHeader':_0x9700af['setup-header'],'scope':_0x9700af[_0xb8daaf(0x212)],'yes':_0x9700af['yes']},_0x1cc171),{'isElectron':_0x19f7b5[_0xb8daaf(0x1ca)](Boolean,_0x9700af['cdp-endpoint'])});})['command'](_0x3a6e96[_0x178e72(0x1ff)],_0x178e72(0x2d6),_0x50a415=>{const _0x3cb30c=_0x178e72;return _0x50a415[_0x3cb30c(0x341)]('profile-name',{'type':_0x3a6e96[_0x3cb30c(0x33e)],'description':_0x3a6e96['nGzNi'],'demandOption':!![]});},async _0x541bc9=>{const _0x3cdbd4=_0x178e72;await withTelemetry(_0x3a6e96['vkLvo'],()=>useEnv(_0x541bc9[_0x3cdbd4(0x2c3)]));})[_0x178e72(0x244)]('delete\x20<profile-name>',_0x3a6e96[_0x178e72(0x1ab)],_0x1ee446=>{const _0x45f41e=_0x178e72;return _0x1ee446[_0x45f41e(0x341)]('profile-name',{'type':'string','description':_0x19f7b5[_0x45f41e(0x2cd)],'demandOption':!![]})['option'](_0x19f7b5['jESll'],{'type':_0x19f7b5[_0x45f41e(0x1a1)],'alias':'y','description':_0x45f41e(0x223),'default':![]});},async _0x3fffaa=>{const _0x53ec45=_0x178e72;await _0x19f7b5[_0x53ec45(0x1a5)](withTelemetry,'profile\x20delete',()=>deleteProfile(_0x3fffaa[_0x53ec45(0x2c3)],{'yes':_0x3fffaa[_0x53ec45(0x345)]}));})['command'](_0x178e72(0x2be),![],_0x3cac96=>{const _0x348ad0=_0x178e72;return _0x3cac96[_0x348ad0(0x341)](_0x348ad0(0x2c1),{'type':_0x19f7b5['CexDi'],'description':'Profile\x20name','demandOption':!![]});},async _0x1dbe42=>{await withTelemetry('profile\x20encrypt-auth',()=>authEncrypt(_0x1dbe42['profile']));})['command']('ls','List\x20all\x20profiles',()=>{},async()=>{await withTelemetry('profile\x20ls',()=>envList());})['command'](_0x3a6e96[_0x178e72(0x1ee)],_0x178e72(0x2b8),_0x40213c=>{const _0x5b792c=_0x178e72;return _0x40213c[_0x5b792c(0x341)]('profile-name',{'type':'string','description':_0x3a6e96[_0x5b792c(0x32c)],'demandOption':!![]})['option'](_0x3a6e96[_0x5b792c(0x32b)],{'type':'boolean','description':_0x3a6e96['Itjms']});},async _0x5cd0d4=>{const _0x3c4457=_0x178e72;await _0x3a6e96['ATsEg'](withTelemetry,_0x3c4457(0x206),_0x181ef6=>updateEnv(_0x5cd0d4['profile-name'],_0x181ef6,{'allowInsecureLocalhost':_0x5cd0d4[_0x3c4457(0x347)]}));})[_0x178e72(0x244)](_0x3a6e96[_0x178e72(0x2b5)],![],_0x347cd8=>{const _0x483d5d=_0x178e72;return _0x347cd8['positional']('name',{'type':_0x19f7b5[_0x483d5d(0x2aa)],'description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0x615a97=>{await withTelemetry('profile\x20login',async()=>{const _0x261be8=_0x2d80,_0x174e7f=process['env']['RANGER_TEST_USERNAME'],_0x212dbd=process['env']['RANGER_TEST_PASSWORD'];_0x19f7b5['SZqTY'](!_0x174e7f,!_0x212dbd)&&(console['error'](_0x19f7b5['qeiSq']),process[_0x261be8(0x20f)](0x1));const _0x3963f5=_0x615a97[_0x261be8(0x1d8)],_0x5578dd=await serverSideLogin(_0x3963f5,{'force':!![]});_0x19f7b5['dxxOZ'](_0x5578dd['status'],_0x261be8(0x30d))&&(console[_0x261be8(0x200)](_0x19f7b5[_0x261be8(0x24b)]),process[_0x261be8(0x20f)](0x1)),_0x5578dd[_0x261be8(0x34a)]==='failed'&&(console['error'](_0x261be8(0x1f6)+(_0x5578dd[_0x261be8(0x200)]??_0x19f7b5[_0x261be8(0x1b3)])),_0x5578dd[_0x261be8(0x20a)]&&console[_0x261be8(0x200)](_0x5578dd[_0x261be8(0x20a)]),process['exit'](0x1)),console['log'](_0x261be8(0x24c)+_0x3963f5+_0x261be8(0x288));});})['command']('migrate\x20[profile-name]',![],_0x588ece=>{const _0x1d9d9e=_0x178e72;return _0x588ece['positional'](_0x1d9d9e(0x2c3),{'type':_0x19f7b5[_0x1d9d9e(0x2aa)],'description':_0x19f7b5['gESxR']})[_0x1d9d9e(0x312)]('all',{'type':_0x19f7b5[_0x1d9d9e(0x1a1)],'description':_0x19f7b5['rrhcL'],'default':![]})[_0x1d9d9e(0x312)](_0x1d9d9e(0x281),{'type':'boolean','description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})['option'](_0x1d9d9e(0x345),{'type':_0x1d9d9e(0x289),'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})[_0x1d9d9e(0x312)]('save-creds',{'type':_0x19f7b5[_0x1d9d9e(0x1a1)],'description':_0x1d9d9e(0x1c4),'default':![]});},async _0x35c768=>{const _0x191c6c=_0x178e72;await _0x19f7b5['Wpmdl'](withTelemetry,_0x19f7b5[_0x191c6c(0x1d9)],_0x2830a1=>migrateProfile({'profileName':_0x35c768[_0x191c6c(0x2c3)],'all':_0x35c768['all'],'dryRun':_0x35c768[_0x191c6c(0x281)],'yes':_0x35c768[_0x191c6c(0x345)],'saveCreds':_0x35c768[_0x191c6c(0x2ef)]},_0x2830a1));})['command'](_0x3a6e96['eWVsT'],_0x3a6e96['amHNg'],_0x5c2427=>{const _0x5582bb=_0x178e72,_0x46f250={'GCJtd':_0x3a6e96['KKsmx'],'TqhqU':'profile','pYowy':_0x3a6e96['GrcTD'],'HMlri':function(_0x5abc35,_0x419149,_0x31d63f){return _0x5abc35(_0x419149,_0x31d63f);},'nesHN':_0x3a6e96['LGBfe'],'cYNvz':'key'};return _0x5c2427['usage'](PROFILE_CONFIG_HELP)[_0x5582bb(0x244)](_0x3a6e96[_0x5582bb(0x2c8)],'Set\x20a\x20config\x20value',_0x31dc2a=>{const _0x2c1c01=_0x5582bb;return _0x31dc2a[_0x2c1c01(0x341)](_0x19f7b5['QmqyE'],{'type':_0x19f7b5[_0x2c1c01(0x2aa)],'description':_0x19f7b5['RVymO'],'demandOption':!![]})['positional']('key',{'type':_0x19f7b5['CexDi'],'description':_0x19f7b5['kACwH'],'demandOption':!![]})['positional'](_0x19f7b5['Grwzf'],{'type':_0x2c1c01(0x2de),'description':_0x19f7b5['jmros'],'demandOption':!![]});},async _0x522cbc=>{const _0x38c77e=_0x5582bb;await withTelemetry(_0x46f250[_0x38c77e(0x30a)],()=>configSet(_0x522cbc[_0x38c77e(0x2c1)],_0x522cbc[_0x38c77e(0x2f7)],_0x522cbc[_0x38c77e(0x2bd)]));})['command'](_0x3a6e96['WJqBw'],'Get\x20a\x20config\x20value',_0x369881=>{const _0x1fbde5=_0x5582bb;return _0x369881['positional']('profile',{'type':'string','description':_0x19f7b5[_0x1fbde5(0x248)],'demandOption':!![]})['positional'](_0x19f7b5['KMvWG'],{'type':_0x19f7b5['CexDi'],'description':_0x19f7b5[_0x1fbde5(0x1da)],'demandOption':!![]});},async _0x224424=>{const _0x5d111a=_0x5582bb;await withTelemetry(_0x5d111a(0x221),()=>configGet(_0x224424['profile'],_0x224424['key']));})[_0x5582bb(0x244)](_0x3a6e96[_0x5582bb(0x2c6)],_0x3a6e96[_0x5582bb(0x1d4)],_0x5e3237=>{const _0x678489=_0x5582bb;return _0x5e3237[_0x678489(0x341)](_0x46f250['TqhqU'],{'type':_0x46f250[_0x678489(0x30f)],'description':'Profile\x20name','demandOption':!![]});},async _0x31bc83=>{const _0x2afc6d=_0x5582bb;await _0x46f250[_0x2afc6d(0x222)](withTelemetry,_0x46f250[_0x2afc6d(0x1fe)],()=>configList(_0x31bc83['profile']));})['command'](_0x3a6e96['JiHdT'],_0x3a6e96[_0x5582bb(0x323)],_0x5c5a71=>{const _0x5d65ad=_0x5582bb;return _0x5c5a71['positional']('profile',{'type':'string','description':_0x5d65ad(0x1b0),'demandOption':!![]})['positional'](_0x46f250['cYNvz'],{'type':'string','description':_0x5d65ad(0x34b),'demandOption':!![]});},async _0xb63e73=>{await _0x19f7b5['Wpmdl'](withTelemetry,'profile\x20config\x20unset',()=>configUnset(_0xb63e73['profile'],_0xb63e73['key']));})['command'](_0x3a6e96['ntDRt'],_0x5582bb(0x2d4),_0x5411c0=>{const _0x13256f=_0x5582bb;return _0x5411c0[_0x13256f(0x341)](_0x46f250['TqhqU'],{'type':'string','description':_0x13256f(0x1b0),'demandOption':!![]});},async _0x1a4ce1=>{const _0x558e47=_0x5582bb;await _0x19f7b5[_0x558e47(0x1d5)](withTelemetry,_0x19f7b5['RQDun'],()=>configReset(_0x1a4ce1[_0x558e47(0x2c1)]));})[_0x5582bb(0x1ec)](0x1,_0x3a6e96['fRViv']);})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})[_0x488281(0x244)](_0x3a6e96[_0x488281(0x330)],'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{const _0x596c9f=_0x488281;await withTelemetry(_0x3a6e96[_0x596c9f(0x330)],()=>status());})[_0x488281(0x244)]('update','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x357293=_0x488281;await withTelemetry(_0x357293(0x20e),()=>update());})[_0x488281(0x244)](_0x3a6e96[_0x488281(0x25d)],_0x3a6e96[_0x488281(0x33a)],()=>{},async()=>{const _0x143e48=_0x488281;await _0x3a6e96[_0x143e48(0x258)](withTelemetry,_0x143e48(0x2a0),async()=>{const _0x3d1358=_0x143e48,_0x2042ef=await getToken();if(!_0x2042ef)throw new Error(_0x3d1358(0x284));console['log'](_0x2042ef);});})[_0x488281(0x244)]('go',_0x488281(0x34d),_0xcb03a1=>{const _0x57dca7=_0x488281;return _0xcb03a1[_0x57dca7(0x312)]('feature',{'type':_0x57dca7(0x2de),'description':'Optional\x20feature\x20ID'})['option']('profile',{'type':_0x3a6e96[_0x57dca7(0x33e)],'description':_0x3a6e96[_0x57dca7(0x28a)]})[_0x57dca7(0x312)]('notes',{'type':'string','description':_0x3a6e96['Jnden']})[_0x57dca7(0x312)](_0x3a6e96[_0x57dca7(0x1af)],{'type':_0x3a6e96[_0x57dca7(0x2ab)],'description':'Scenario\x20index\x20(1-based)'})['option'](_0x3a6e96['XrBUq'],{'type':_0x3a6e96['GrcTD'],'description':_0x3a6e96[_0x57dca7(0x357)]})[_0x57dca7(0x312)](_0x3a6e96['LnuuO'],{'type':'string','description':_0x3a6e96['skwPS']})['option'](_0x3a6e96['khDDp'],{'type':_0x57dca7(0x2de),'description':_0x3a6e96['rAorf']})[_0x57dca7(0x312)](_0x57dca7(0x1d2),{'type':'boolean','description':_0x3a6e96[_0x57dca7(0x305)],'default':![]})[_0x57dca7(0x312)](_0x3a6e96[_0x57dca7(0x287)],{'type':_0x57dca7(0x2de),'hidden':!![],'choices':[_0x57dca7(0x256),_0x3a6e96[_0x57dca7(0x292)],_0x3a6e96['LwKzn'],'failed',_0x3a6e96[_0x57dca7(0x198)]]})[_0x57dca7(0x312)](_0x3a6e96[_0x57dca7(0x1ea)],{'type':_0x57dca7(0x289),'hidden':!![]})['option'](_0x57dca7(0x1b9),{'type':_0x57dca7(0x2de),'hidden':!![]})['option'](_0x57dca7(0x1a3),{'type':_0x57dca7(0x2de),'hidden':!![]})[_0x57dca7(0x312)](_0x3a6e96['nCRyo'],{'type':_0x3a6e96['pxioj'],'hidden':!![]});},async _0x3beaa0=>{await runGoCommand(_0x3beaa0);})[_0x488281(0x244)](_0x488281(0x2d9),![],_0x3502d2=>{const _0x455ebb={'PxBtN':_0x3a6e96['czjJM'],'gtSrY':_0x3a6e96['GrcTD']};return _0x3502d2['command']('encrypt\x20<profile>',![],_0x1caa4d=>{const _0x2982ac=_0x2d80;return _0x1caa4d[_0x2982ac(0x341)](_0x455ebb[_0x2982ac(0x28c)],{'type':_0x455ebb[_0x2982ac(0x252)],'description':_0x2982ac(0x1b0),'demandOption':!![]});},async _0x1458fc=>{const _0x3a6434=_0x2d80;warnRenamed(_0x3a6434(0x1f4),_0x3a6434(0x21a)),await authEncrypt(_0x1458fc['profile']);})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command'](_0x3a6e96[_0x488281(0x1e3)],![],_0x5e867e=>{const _0x56e31a=_0x488281;return _0x5e867e[_0x56e31a(0x341)](_0x56e31a(0x1cd),{'type':_0x3a6e96['GrcTD'],'description':_0x56e31a(0x24e)})['option'](_0x3a6e96['vpbmn'],{'type':_0x3a6e96['cYTIP'],'description':_0x3a6e96[_0x56e31a(0x1f2)],'default':![]})['option'](_0x3a6e96[_0x56e31a(0x1fd)],{'type':'string','choices':[_0x3a6e96[_0x56e31a(0x260)]],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x56e31a(0x312)](_0x56e31a(0x2b7),{'type':_0x56e31a(0x2de),'description':_0x3a6e96[_0x56e31a(0x214)]})[_0x56e31a(0x312)]('force',{'type':'boolean','description':_0x3a6e96['ACxlp'],'default':![]})[_0x56e31a(0x312)](_0x56e31a(0x25f),{'type':_0x3a6e96[_0x56e31a(0x2ce)],'description':_0x3a6e96[_0x56e31a(0x2da)],'default':![]})[_0x56e31a(0x312)](_0x56e31a(0x203),{'type':_0x3a6e96[_0x56e31a(0x2ce)],'description':_0x3a6e96[_0x56e31a(0x257)],'default':![]});},async _0x55cfc1=>{const _0x32e4bd=_0x488281;warnRenamed(_0x3a6e96[_0x32e4bd(0x26e)],_0x3a6e96['YRFSZ']),await _0x3a6e96['DZCbT'](withTelemetry,'start',_0x4890ff=>start(_0x55cfc1[_0x32e4bd(0x1cd)],{'skipChromium':_0x55cfc1['skip-chromium'],'skipAuth':_0x55cfc1[_0x32e4bd(0x25f)],'withDeps':_0x55cfc1[_0x32e4bd(0x203)],'scope':_0x55cfc1[_0x32e4bd(0x212)],'url':_0x55cfc1['url'],'force':_0x55cfc1['force']},_0x4890ff));})[_0x488281(0x244)](_0x488281(0x27a),![],_0x3c79ce=>{const _0x3cff4d=_0x488281;return _0x3c79ce['option'](_0x3cff4d(0x1b9),{'type':_0x3cff4d(0x2de),'description':_0x3a6e96['DpWZk']})[_0x3cff4d(0x312)](_0x3cff4d(0x1a3),{'type':_0x3cff4d(0x2de),'description':_0x3a6e96['bTgBo']})[_0x3cff4d(0x312)](_0x3cff4d(0x233),{'type':_0x3a6e96[_0x3cff4d(0x2ab)],'description':'Scenario\x20index\x20(1-based)'})[_0x3cff4d(0x312)](_0x3cff4d(0x2c1),{'type':_0x3a6e96['GrcTD'],'hidden':!![]})[_0x3cff4d(0x312)](_0x3a6e96['lAFKZ'],{'type':_0x3cff4d(0x2de),'hidden':!![]})['option']('scenario',{'type':_0x3cff4d(0x335),'hidden':!![]})['option']('start-path',{'type':'string','description':_0x3a6e96['weQEG']})['option']('base-url',{'type':_0x3a6e96['GrcTD'],'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x3cff4d(0x312)]('model',{'type':'string','hidden':!![]})['option'](_0x3cff4d(0x1d2),{'type':_0x3cff4d(0x289),'hidden':!![],'default':![]})[_0x3cff4d(0x312)](_0x3a6e96[_0x3cff4d(0x287)],{'type':_0x3cff4d(0x2de),'hidden':!![],'choices':['verified',_0x3cff4d(0x32f),_0x3a6e96['LwKzn'],'failed','incomplete']});},async _0x167c0b=>{await runGoCommand(_0x167c0b,!![]);})[_0x488281(0x244)](_0x3a6e96['sRAFA'],![],_0x379b9e=>{const _0x4fed46=_0x488281;return _0x379b9e[_0x4fed46(0x341)]('env-name',{'type':_0x3a6e96[_0x4fed46(0x33e)],'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x4fed46(0x312)]('ci',{'type':'boolean','description':_0x4fed46(0x264),'default':![]})[_0x4fed46(0x312)]('skip-auth',{'type':'boolean','description':_0x4fed46(0x2f5),'default':![]});},async _0x17c189=>{const _0x4e268e=_0x488281;_0x3a6e96[_0x4e268e(0x229)](warnRenamed,'ranger\x20add\x20env',_0x3a6e96['kfqtU']),await _0x3a6e96[_0x4e268e(0x1a9)](withTelemetry,_0x3a6e96['ucYSv'],_0x4e4f18=>addEnv(_0x17c189[_0x4e268e(0x2cf)],{'ci':_0x17c189['ci'],'skipAuth':_0x17c189[_0x4e268e(0x25f)]},_0x4e4f18));})['command'](_0x488281(0x21e),![],_0x74a7fd=>{const _0x22b8cc=_0x488281;return _0x74a7fd[_0x22b8cc(0x341)](_0x3a6e96['CMnZD'],{'type':_0x3a6e96[_0x22b8cc(0x33e)],'description':_0x3a6e96[_0x22b8cc(0x1d6)],'demandOption':!![]});},async _0x48948a=>{const _0x239899=_0x488281;warnRenamed(_0x3a6e96['AIywW'],_0x239899(0x2a8)),await withTelemetry(_0x239899(0x32e),()=>useEnv(_0x48948a['env-name']));})['command']('config',![],_0x450b83=>{const _0xde0402=_0x488281,_0x9378bd={'kpapi':_0xde0402(0x2bc),'SpDtN':_0xde0402(0x2f7),'vgkie':_0x3a6e96[_0xde0402(0x33e)],'PykrW':_0xde0402(0x262),'chsHY':function(_0x124b95,_0x3672e9,_0x46365f){return _0x3a6e96['jDOnr'](_0x124b95,_0x3672e9,_0x46365f);},'pFdHE':'ranger\x20profile\x20config\x20list','ykdEK':function(_0x522faa,_0x46790a,_0x2c4d15){return _0x522faa(_0x46790a,_0x2c4d15);},'npqJo':_0x3a6e96['ynPXD']};return _0x450b83['command'](_0xde0402(0x1b2),![],_0x4258f0=>{const _0x2bf875=_0xde0402;return _0x4258f0[_0x2bf875(0x341)]('env',{'type':_0x2bf875(0x2de),'description':_0x2bf875(0x2bc),'demandOption':!![]})['positional'](_0x3a6e96[_0x2bf875(0x1b1)],{'type':_0x3a6e96[_0x2bf875(0x33e)],'description':_0x3a6e96[_0x2bf875(0x267)],'demandOption':!![]})['positional']('value',{'type':'string','description':_0x3a6e96[_0x2bf875(0x34e)],'demandOption':!![]});},async _0x2dfbcb=>{const _0xdf9842=_0xde0402;_0x3a6e96['ATsEg'](warnRenamed,_0xdf9842(0x326),'ranger\x20profile\x20config\x20set'),await withTelemetry(_0x3a6e96['LJyRs'],()=>configSet(_0x2dfbcb[_0xdf9842(0x1b9)],_0x2dfbcb[_0xdf9842(0x2f7)],_0x2dfbcb['value']));})[_0xde0402(0x244)]('get\x20<env>\x20<key>',![],_0x232cdf=>{const _0x21a55d=_0xde0402;return _0x232cdf[_0x21a55d(0x341)]('env',{'type':_0x21a55d(0x2de),'description':_0x9378bd[_0x21a55d(0x27d)],'demandOption':!![]})['positional'](_0x9378bd['SpDtN'],{'type':_0x9378bd[_0x21a55d(0x2b0)],'description':'Config\x20key','demandOption':!![]});},async _0x34a150=>{const _0x43387c=_0xde0402;warnRenamed('ranger\x20config\x20get',_0x43387c(0x1a8)),await withTelemetry(_0x9378bd['PykrW'],()=>configGet(_0x34a150['env'],_0x34a150['key']));})[_0xde0402(0x244)](_0xde0402(0x332),![],_0x2582e6=>{return _0x2582e6['positional']('env',{'type':_0x3a6e96['GrcTD'],'description':'Environment\x20name','demandOption':!![]});},async _0x1c4bba=>{const _0x2ada91=_0xde0402;_0x9378bd['chsHY'](warnRenamed,_0x2ada91(0x30b),_0x9378bd['pFdHE']),await _0x9378bd['ykdEK'](withTelemetry,_0x2ada91(0x32a),()=>configList(_0x1c4bba['env']));})[_0xde0402(0x244)](_0xde0402(0x349),![],_0x233196=>{const _0x41bbde=_0xde0402;return _0x233196[_0x41bbde(0x341)](_0x41bbde(0x1b9),{'type':_0x9378bd[_0x41bbde(0x2b0)],'description':_0x9378bd[_0x41bbde(0x27d)],'demandOption':!![]})[_0x41bbde(0x341)](_0x41bbde(0x2f7),{'type':_0x9378bd[_0x41bbde(0x2b0)],'description':_0x9378bd['npqJo'],'demandOption':!![]});},async _0x13ab58=>{const _0x2c716f=_0xde0402;_0x3a6e96[_0x2c716f(0x258)](warnRenamed,_0x3a6e96['iThmI'],_0x2c716f(0x1c8)),await _0x3a6e96[_0x2c716f(0x2a7)](withTelemetry,_0x3a6e96[_0x2c716f(0x2e6)],()=>configUnset(_0x13ab58[_0x2c716f(0x1b9)],_0x13ab58[_0x2c716f(0x2f7)]));})[_0xde0402(0x1ec)](0x1,_0xde0402(0x23e));})['command']('env',![],_0x4f59da=>{const _0x42253e=_0x488281,_0x54a020={'GGFBM':function(_0x852d19,_0x3e91a0,_0x350ba6){const _0x154d30=_0x2d80;return _0x3a6e96[_0x154d30(0x239)](_0x852d19,_0x3e91a0,_0x350ba6);},'GseKr':_0x3a6e96['ytOLG']};return _0x4f59da['command']('ls',![],()=>{},async()=>{const _0x5bb165=_0x2d80;warnRenamed(_0x5bb165(0x2cc),_0x5bb165(0x2c2)),await _0x54a020[_0x5bb165(0x310)](withTelemetry,_0x5bb165(0x22e),()=>envList());})['command'](_0x3a6e96['VihrV'],![],_0x27ed28=>{const _0x17741d=_0x2d80;return _0x27ed28['positional'](_0x17741d(0x2cf),{'type':'string','description':_0x54a020['GseKr'],'demandOption':!![]});},async _0x1403fb=>{const _0x3f3c26=_0x2d80;warnRenamed(_0x3a6e96[_0x3f3c26(0x2a3)],_0x3f3c26(0x1e7)),await _0x3a6e96[_0x3f3c26(0x348)](withTelemetry,_0x3a6e96[_0x3f3c26(0x240)],_0x15a09=>updateEnv(_0x1403fb['env-name'],_0x15a09));})[_0x42253e(0x1ec)](0x1,_0x42253e(0x299));})['command'](_0x488281(0x333),![],_0x321ef7=>{const _0x1cc467=_0x488281,_0x2d2daa={'fzwoK':function(_0x34f445,_0x7bbcd6,_0x55f2c3){const _0x966325=_0x2d80;return _0x3a6e96[_0x966325(0x2ca)](_0x34f445,_0x7bbcd6,_0x55f2c3);},'TEgYm':_0x3a6e96[_0x1cc467(0x261)],'NdFhk':'ranger\x20list','WyNPM':_0x3a6e96['GrcTD'],'jihHZ':_0x1cc467(0x24d),'JsKac':'ranger\x20resume','RWNqg':_0x1cc467(0x2c7),'kIUpG':function(_0x5a9d00,_0xa7e130,_0x32a4a9){const _0x1a8107=_0x1cc467;return _0x3a6e96[_0x1a8107(0x242)](_0x5a9d00,_0xa7e130,_0x32a4a9);},'wouqX':_0x1cc467(0x1c7),'WWXfR':_0x3a6e96['THPzp'],'SxwEc':function(_0x4ea99c,_0x26ce48,_0x47df7f){return _0x3a6e96['DZCbT'](_0x4ea99c,_0x26ce48,_0x47df7f);},'lylTF':_0x3a6e96['YHazy'],'wUYks':_0x3a6e96['lfUbf']};return _0x321ef7['command'](_0x1cc467(0x207),![],_0x590050=>{const _0x3764b2=_0x1cc467;return _0x590050['positional'](_0x3a6e96[_0x3764b2(0x228)],{'type':_0x3764b2(0x2de),'description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x3764b2(0x2ad),{'type':_0x3a6e96['GrcTD'],'alias':'d','description':_0x3a6e96[_0x3764b2(0x28b)]})[_0x3764b2(0x312)]('checklist',{'type':_0x3a6e96['KypCM'],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option']('scenario',{'type':'array','hidden':!![]});},async _0x506707=>{const _0x3e3700=_0x1cc467;_0x3a6e96['jDOnr'](warnRenamed,'ranger\x20feature\x20create',_0x3e3700(0x1bf)),_0x3a6e96[_0x3e3700(0x208)](warnFlagRenamed,_0x3a6e96['JOmqh'],_0x3a6e96['XKKXj'],_0x3a6e96[_0x3e3700(0x259)]);const _0x48fc02=_0x506707[_0x3e3700(0x194)]||_0x506707['checklist'];await _0x3a6e96[_0x3e3700(0x27f)](withTelemetry,_0x3a6e96[_0x3e3700(0x2d1)],()=>featureCreate(_0x506707['name'],{'description':_0x506707[_0x3e3700(0x2ad)],'scenarios':_0x48fc02}));})['command'](_0x3a6e96['ucVPX'],![],_0x18b0bd=>{const _0x527b75=_0x1cc467;return _0x18b0bd['option']('current-branch',{'type':_0x3a6e96['cYTIP'],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})[_0x527b75(0x312)]('limit',{'type':_0x3a6e96[_0x527b75(0x2ab)],'alias':'l','description':_0x3a6e96[_0x527b75(0x331)],'default':0xa})[_0x527b75(0x312)](_0x527b75(0x246),{'type':_0x3a6e96['pxioj'],'alias':'o','description':_0x527b75(0x2ec),'default':0x0})[_0x527b75(0x312)](_0x3a6e96[_0x527b75(0x19f)],{'type':_0x3a6e96[_0x527b75(0x2ce)],'alias':'d','description':_0x527b75(0x315),'default':![]});},async _0x7e4fde=>{const _0x32fda4=_0x1cc467;_0x2d2daa[_0x32fda4(0x211)](warnRenamed,_0x2d2daa[_0x32fda4(0x1ba)],_0x2d2daa[_0x32fda4(0x253)]),await withTelemetry('feature\x20list',()=>featureList({'currentBranch':_0x7e4fde[_0x32fda4(0x2e0)],'limit':_0x7e4fde[_0x32fda4(0x307)],'offset':_0x7e4fde['offset'],'includeDeleted':_0x7e4fde[_0x32fda4(0x22d)]}));})['command'](_0x1cc467(0x271),![],_0x51c235=>{const _0x3ebe5e=_0x1cc467;return _0x51c235[_0x3ebe5e(0x341)]('id',{'type':_0x3a6e96['GrcTD'],'description':_0x3ebe5e(0x350)});},async _0x291512=>{const _0x5e1c6e=_0x1cc467;_0x3a6e96[_0x5e1c6e(0x265)](warnRenamed,_0x3a6e96['xhqeJ'],_0x3a6e96[_0x5e1c6e(0x2dd)]),await _0x3a6e96[_0x5e1c6e(0x265)](withTelemetry,'feature\x20show',()=>featureShow(_0x291512['id']));})['command'](_0x3a6e96[_0x1cc467(0x34f)],![],_0x336742=>{const _0x3c98f6=_0x1cc467;return _0x336742[_0x3c98f6(0x341)]('id',{'type':_0x2d2daa['WyNPM'],'description':_0x2d2daa['jihHZ']});},async _0x266f88=>{const _0x316a91=_0x1cc467;warnRenamed(_0x316a91(0x351),_0x2d2daa[_0x316a91(0x344)]),await withTelemetry('feature\x20resume',()=>featureResume(_0x266f88['id']));})['command'](_0x1cc467(0x352),![],_0x3cbf90=>{const _0x165aa2=_0x1cc467;return _0x3cbf90['positional'](_0x165aa2(0x2ad),{'type':_0x2d2daa[_0x165aa2(0x1fb)],'description':_0x2d2daa[_0x165aa2(0x343)],'demandOption':!![]})['option']('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x41e7da=>{const _0x5a9f77=_0x1cc467;_0x3a6e96[_0x5a9f77(0x33b)](warnRenamed,'ranger\x20feature\x20add-checklist-item',_0x5a9f77(0x27b)),await withTelemetry(_0x3a6e96[_0x5a9f77(0x231)],()=>featureAddScenario(_0x41e7da[_0x5a9f77(0x2ad)],_0x41e7da['id']));})[_0x1cc467(0x244)](_0x3a6e96[_0x1cc467(0x1c6)],![],_0x40b844=>{const _0x34060b=_0x1cc467;return _0x40b844['positional']('id',{'type':_0x34060b(0x2de),'description':_0x3a6e96[_0x34060b(0x2a2)]});},async _0x63e86f=>{const _0x5ca1e8=_0x1cc467;_0x2d2daa[_0x5ca1e8(0x235)](warnRenamed,_0x2d2daa[_0x5ca1e8(0x220)],_0x2d2daa[_0x5ca1e8(0x1d0)]),await withTelemetry('feature\x20get-feedback',()=>featureGetReview(_0x63e86f['id']));})['command'](_0x1cc467(0x1f9),![],_0x36fb13=>{const _0x4289ec=_0x1cc467;return _0x36fb13['positional']('id',{'type':'string','description':_0x4289ec(0x350)});},async _0x30038f=>{const _0x953373=_0x1cc467;_0x2d2daa['SxwEc'](warnRenamed,_0x2d2daa[_0x953373(0x26f)],_0x2d2daa[_0x953373(0x298)]),await withTelemetry(_0x953373(0x193),()=>featureDelete(_0x30038f['id']));})['command'](_0x1cc467(0x303),![],_0x49e1be=>{const _0xe658ad=_0x1cc467;return _0x49e1be['positional']('id',{'type':_0x3a6e96['GrcTD'],'description':_0x3a6e96[_0xe658ad(0x1fa)],'demandOption':!![]});},async _0x504993=>{const _0x480e0f=_0x1cc467;_0x3a6e96[_0x480e0f(0x21d)](warnRenamed,_0x3a6e96[_0x480e0f(0x1a2)],'ranger\x20restore'),await withTelemetry('feature\x20restore',()=>featureRestore(_0x504993['id']));})[_0x1cc467(0x1ec)](0x1,_0x3a6e96[_0x1cc467(0x27e)]);})['command'](_0x488281(0x2bf),![],_0x3d09d0=>{const _0x53cc67=_0x488281,_0x8b18d7={'BVCDR':_0x3a6e96[_0x53cc67(0x316)]};return _0x3d09d0[_0x53cc67(0x244)](_0x53cc67(0x1b6),_0x3a6e96['jnKvV'],_0x535cea=>{const _0x4ed7c5=_0x53cc67;return _0x535cea['option']('session-id',{'type':_0x4ed7c5(0x2de),'description':_0x4ed7c5(0x2f6)});},async _0x9c3f1e=>{const _0x17ae10=_0x53cc67;await withTelemetry(_0x8b18d7['BVCDR'],()=>hook(_0x17ae10(0x1b6),_0x9c3f1e[_0x17ae10(0x245)]));})[_0x53cc67(0x244)](_0x3a6e96[_0x53cc67(0x236)],'Disable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x2c49fa=>{const _0x364158=_0x53cc67;return _0x2c49fa[_0x364158(0x312)](_0x3a6e96[_0x364158(0x247)],{'type':_0x3a6e96['GrcTD'],'description':_0x3a6e96['yCMtv']});},async _0x498fd3=>{const _0x4a7ad4=_0x53cc67;await withTelemetry(_0x4a7ad4(0x33c),()=>hook(_0x4a7ad4(0x29e),_0x498fd3[_0x4a7ad4(0x245)]));})[_0x53cc67(0x312)]('name',{'type':_0x3a6e96[_0x53cc67(0x33e)],'description':_0x3a6e96['lYaof']})[_0x53cc67(0x312)](_0x3a6e96[_0x53cc67(0x247)],{'type':_0x3a6e96[_0x53cc67(0x33e)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x4c2d05=>{const _0xb74935=_0x488281;_0x4c2d05[_0xb74935(0x1d8)]&&await hook(_0x4c2d05[_0xb74935(0x1d8)],_0x4c2d05[_0x3a6e96[_0xb74935(0x247)]]);})['demandCommand'](0x1,_0x3a6e96[_0x488281(0x19d)])[_0x488281(0x2dc)]()['fail'](async(_0x3a56d2,_0x219cef,_0x1a8c12)=>{const _0x27e421=_0x488281,_0x2d8ae9=_0x3a6e96[_0x27e421(0x1c5)](sanitizeArgs,process['argv'][_0x27e421(0x26a)](0x2)),_0x422591=_0x3a6e96['FFyDp'](getErrorType,_0x3a56d2,_0x219cef);if(_0x3a56d2&&_0x3a56d2[_0x27e421(0x243)](_0x3a6e96[_0x27e421(0x249)])){const _0x5f04df=process[_0x27e421(0x280)][0x2];console[_0x27e421(0x200)](_0x27e421(0x218)+_0x5f04df),console['error'](_0x3a6e96['unnYk']);}else{if(_0x3a56d2)console[_0x27e421(0x200)]('\x0a'+_0x3a56d2+'\x0a');else _0x219cef&&console['error']('\x0aError:\x20'+_0x219cef[_0x27e421(0x216)]+'\x0a');}await logDesirePath({'rawCommand':_0x2d8ae9,'errorMessage':_0x3a56d2||_0x219cef?.['message'],'errorType':_0x422591});const _0x3ee7f6=_0x3a6e96['KwOkb'](getCurrentCollector);_0x3ee7f6&&await _0x3ee7f6[_0x27e421(0x268)](_0x219cef||new Error(_0x3a6e96['eUYvw'](_0x3a56d2,_0x3a6e96[_0x27e421(0x196)]))),process[_0x27e421(0x20f)](0x1);})[_0x488281(0x2e5)](_0x3a6e96['lXgEs'](_0x3a6e96['KoIhq']+_0x488281(0x1df),_0x488281(0x2bb)))[_0x488281(0x202)]()[_0x488281(0x1c3)]('help','h');}function _0x1cbb(){const _0x4310de=['cuSry','unset\x20<env>\x20<key>','status','Config\x20key\x20to\x20remove','skip-chromium','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','rhExF','UpDnh','Feature\x20review\x20ID','ranger\x20feature\x20resume','add-checklist-item\x20<description>','Scenario\x20number\x20to\x20edit\x20(1-based)','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','kwjPo','weQEG','add\x20env\x20<env-name>','ranger\x20start','New\x20scenario\x20description','feature\x20delete','scenario','ranger\x20env\x20update','jCscu','ranger\x20feature\x20show','LzXwu','mYqXX','evaluation','Alias\x20for\x20--mcp-bootstrap','rELum','TQuBG','2375pntcje','hDMDy','omNoW','mgLsu','hfTrv','task','✓\x20Authenticated\x20to\x20','TJRMT','ucVPX','tokenOrSubcommand','ranger\x20profile\x20config\x20get','GAoHb','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','vvGdn','\x20is\x20now\x20','--profile','evaluationReason','WtDHb','Profile\x20name','eNizS','set\x20<env>\x20<key>\x20<value>','rdaVD','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','Run\x20full\x20interactive\x20setup','enable','--env','use\x20<profile-name>','env','TEgYm','profile\x20config\x20reset','list','setup-header','ranger\x20feature\x20delete','ranger\x20create','Summary:\x20','vqeiJ','yeXce','alias','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','IlLvG','rtoyM','ranger\x20feature\x20get-feedback','ranger\x20profile\x20config\x20unset','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','lldMn','repeat','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','token','kxYFI','HOCTL','WWXfR','aRmgA','headed','usage','wbVmn','NhcjB','SBKYM','fnpyV','name','TwByT','sdXEf','hook:enable','get-feedback\x20[id]','TjDgv','Skip\x20Chromium\x20browser\x20installation','\x20\x20https://docs.ranger.net\x0a','get-review\x20[id]','ranger\x20use','YeAIp','DWCUp','PQQhy','setup:all','.\x20[','ranger\x20profile\x20update','tnpBG','XMexw','Qvimb','Evaluation:\x20','demandCommand','nRtwy','ujuUp','severity','report\x20[id]','gjbpt','AfyZI','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','ranger\x20auth\x20encrypt','resume','Login\x20failed:\x20','2nbOczF','czjJM','delete\x20[id]','mQhuB','WyNPM','--scenario','eGAvh','nesHN','ZjzLF','error','blocked','help','with-deps','incomplete','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','profile\x20update','create\x20<name>','nJscT','Ranger\x20API\x20token\x20(rngr_...)','test_output','vFshB','RleWw','update\x20<profile-name>','update','exit','log','fzwoK','scope','GXRdb','sdEKM','2392GrXVyP','message','zUTHA','\x0aUnknown\x20command:\x20','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','ranger\x20profile\x20encrypt-auth','UBarH','summary','FTPkK','use\x20<env-name>','bzPFH','wouqX','profile\x20config\x20get','HMlri','Skip\x20the\x20deletion\x20confirmation\x20prompt.','gfXDL','RGOEP','start\x20[token]','OZliA','jKBLf','DZCbT','Delete\x20a\x20cloud\x20profile','show','tqyyg','include-deleted','env\x20list','TiMac','scriptName','GSvUJ','lXkFU','item','Name\x20of\x20the\x20profile','kIUpG','jtKqB','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','NAgWJ','unset\x20<profile>\x20<key>','ORAxe','report','--checklist','You\x20must\x20specify\x20a\x20config\x20subcommand','start','JbSPW','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','hUbDj','includes','command','session-id','offset','ioAWA','RVymO','eubmF','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','nqUww','✓\x20Login\x20succeeded\x20for\x20\x27','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','--item','safe-mode','ranger\x20go','gtSrY','NdFhk','env\x20update','FRuyF','verified','aFfxP','ATsEg','BysOb','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','add-scenario\x20<description>','fqjto','eHAMt','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','skip-auth','ubfhs','SylIn','config\x20get','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','GysSw','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','kzCVL','trackCommandError','Manage\x20profile\x20configuration','slice','8175516OieebX','feature\x20add-checklist-item','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.','dCnhb','lylTF','setup:skills','show\x20[id]','json','CVLvl','Set\x20up\x20a\x20local\x20browser\x20profile','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','ranger\x20setup','wbQyX','wodwn','profile\x20use','verify-feature','ranger\x20add-scenario','\x20is\x20no\x20longer\x20supported.\x20','kpapi','GHnUo','eLzRb','argv','dry-run','login','hexRl','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','config','deps','nkojd','\x27.\x20Session\x20saved.','boolean','OiGFJ','bvADJ','PxBtN','debug-outcome','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','stDhl','vIgMJ','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','xhLgP','notes','profiles','exclude-scenario','MOKcB','config\x20set','wUYks','You\x20must\x20specify\x20an\x20env\x20subcommand','BjpVQ','mcp','Install\x20Ranger\x20skills','HsupL','disable','\x20INCOMPLETE','print-access-token','skillup','xaRrg','KcLMb','Itjms','\x0aIssues:','NeElD','NdBzz','ranger\x20profile\x20use','some','CexDi','pxioj','FCTaC','description','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','ranger\x20profile\x20add','vgkie','gDWbx','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','ranger\x20show','edit-scenario\x20<description>','LAlTU','cdp-endpoint','url','Update\x20authentication\x20for\x20an\x20existing\x20profile','checklist','ACxlp','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','Environment\x20name','value','encrypt-auth\x20<profile>','hook','user','profile','ranger\x20profile\x20ls','profile-name','force','forEach','zyLNR','Scenario\x20description','HDCDF','Skip\x20authentication','itDUh','list\x20<profile>','ranger\x20env\x20ls','MxQnY','cYTIP','env-name','20514610KvMxhe','WEDIs','fWxkm','test','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','35819FyEytz','Switch\x20to\x20using\x20a\x20specific\x20profile','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','1054014vMOedN','auth','lXOOg','jXNJJ','strictCommands','wKYmP','string','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','current-branch','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','Subcommand\x20or\x20API\x20token\x20(rngr_...)','mcp-bootstrap','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','epilogue','HyVll','setup-ci','QKBQY','AkerK','EniDy','RORZy','Number\x20of\x20feature\x20reviews\x20to\x20skip','Initialize\x20Ranger\x20in\x20your\x20project','dvGqH','save-creds','1240821nxXPem','Config\x20key','Name\x20of\x20the\x20environment','unhandledRejection','Install\x20OS-level\x20dependencies\x20for\x20Chromium','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','key','Add\x20profile\x20configuration','clean','YLbuj','8807868hyfOzv','aqttb','amGxh','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','array','start-path','cwd','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','restore\x20<id>','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','iQZTT','ATWdq','limit','Unknown\x20error','pqgTL','GCJtd','ranger\x20config\x20list','config\x20unset','not_configured','Install\x20skills\x20for\x20OpenCode','pYowy','GGFBM','success','option','LbCed','gXZpX','Include\x20soft-deleted\x20feature\x20reviews','puoRT','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','ranger\x20feature\x20restore','get-review','Documentation:\x0a','ylkdQ','9780kjZTYz','Authenticate\x20with\x20Ranger','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','kHmHT','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','pguyC','Install\x20scope\x20for\x20skills','xZSLn','qKmbS','opencode','ranger\x20config\x20set','caMNB','Tbfpi','LXiXH','config\x20list','aMBuI','JTXEe','EfLJl','use','partial','dqmSd','DxNUZ','list\x20<env>','feature','GnhOa','number','DlqnY','claude','paVOt','base-url','wiuKC','FFyDp','hook:disable','issues','GrcTD','buYyJ','vgDRm','positional','Reason:\x20','RWNqg','JsKac','yes','debug-address-comments','allow-insecure-localhost'];_0x1cbb=function(){return _0x4310de;};return _0x1cbb();}process[_0x463399(0x1b9)]['NODE_ENV']!==_0x463399(0x2d3)&&(shouldShowLegacyWarning(process[_0x463399(0x280)])&&showLegacyDeprecationWarning(),buildParser()['parse']());
|