@ranger-testing/ranger-cli 2.5.4-alpha.a70fc60-4 → 2.5.4-alpha.bc88254-5
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/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/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/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/skills/ranger/SKILL.md +4 -3
- package/build/skills/ranger/verify.md +15 -3
- package/package.json +1 -1
package/build/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x14be9b=_0x1cda;(function(_0x28932b,_0xb83781){const _0x59ccf6=_0x1cda,_0x40c82c=_0x28932b();while(!![]){try{const _0x575e14=parseInt(_0x59ccf6(0x201))/0x1+parseInt(_0x59ccf6(0x251))/0x2*(parseInt(_0x59ccf6(0x23a))/0x3)+-parseInt(_0x59ccf6(0x29d))/0x4*(parseInt(_0x59ccf6(0x1e9))/0x5)+parseInt(_0x59ccf6(0x2a8))/0x6+parseInt(_0x59ccf6(0x21d))/0x7*(-parseInt(_0x59ccf6(0x124))/0x8)+-parseInt(_0x59ccf6(0x227))/0x9*(-parseInt(_0x59ccf6(0x234))/0xa)+-parseInt(_0x59ccf6(0x292))/0xb;if(_0x575e14===_0xb83781)break;else _0x40c82c['push'](_0x40c82c['shift']());}catch(_0x5cc1a4){_0x40c82c['push'](_0x40c82c['shift']());}}}(_0x54ef,0xb5b06));import _0x2e5403 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x19aacc=_0x1cda,_0x11fdb0={'XHnvg':function(_0x45b078,_0xd268b2,_0x2cebcd){return _0x45b078(_0xd268b2,_0x2cebcd);},'kMQBN':'.ranger','JTQnS':function(_0x55f4a3,_0x103dc7){return _0x55f4a3(_0x103dc7);}};let _0x2be29d=process[_0x19aacc(0x20e)]();const _0x4f1da5=parse(_0x2be29d)[_0x19aacc(0x2a3)];while(_0x2be29d!==_0x4f1da5){if(existsSync(_0x11fdb0['XHnvg'](join,_0x2be29d,_0x11fdb0['kMQBN']))||_0x11fdb0[_0x19aacc(0x221)](existsSync,_0x11fdb0['XHnvg'](join,_0x2be29d,'.env')))return _0x2be29d;_0x2be29d=_0x11fdb0[_0x19aacc(0x221)](dirname,_0x2be29d);}return process['cwd']();}_0x2e5403[_0x14be9b(0x2b8)]({'path':join(findProjectRoot(),_0x14be9b(0x163))});import _0x580bd4 from'yargs/yargs';function _0x1cda(_0x4a563b,_0x2d1106){_0x4a563b=_0x4a563b-0x10d;const _0x54ef29=_0x54ef();let _0x1cdaf0=_0x54ef29[_0x4a563b];return _0x1cdaf0;}import{addEnv,clean,login,start,setupCi,useEnv,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';function _0x54ef(){const _0x96c34a=['Config\x20key\x20to\x20remove','Profile\x20name','string','New\x20scenario\x20description','mcp-bootstrap','Feature\x20review\x20description','ranger','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','restore\x20<id>','qRIjx','forEach','name','ZyPVM','list','start-path','.env','all','unknown\x20error','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','set\x20<profile>\x20<key>\x20<value>','KQFOP','SsEYq','user','Unknown\x20command','jxwhA','mSjSZ','ranger\x20create','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','report\x20[id]','project','QvtzP','--task','ranger\x20config\x20set','mcp','Dduwq','verify-feature','env','BvXqp','update','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','JuILz','\x20BLOCKED','ranger\x20env\x20ls','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','zKZFH','add\x20<profile-name>','KwmCS','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','RCmyi','LBIXB','demandCommand','Qrsqd','vWqNX','gKSzw','config\x20set','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','PwpNL','Xmtqc','tdjnu','vOtDJ','feature\x20get-feedback','feature\x20add-checklist-item','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','BiEib','Ranger\x20API\x20token\x20(rngr_...)','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','show','key','ranger\x20use','report','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','dry-run','oJVeA','herDE','VzaXM','unset\x20<env>\x20<key>','WCqrG','pFjmc','env-name','RdZmy','YzDKr','usnbM','cEVAQ','option','hByNq','print-access-token','sbFJI','zGUJt','setup:profiles','kIaLQ','OHenx','error','ranger\x20profile\x20use','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','migrate\x20[profile-name]','UqBnw','ranger\x20feature\x20delete','ranger\x20feature\x20restore','claude','fTQFa','ranger\x20profile\x20config\x20unset','WPNXC','session-id','edit-scenario','jBLkV','profile\x20login','command','fIKYV','eWIKH','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','QLByP','wUDgA','\x0aIssues:','MHvYn','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','QSneg','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','evaluation','ranger\x20feature\x20create','WXmbW','array','notes','NODE_ENV','fhkmL','YHuIt','success','token','setup-ci','ICxQn','resume','rjhmc','update\x20<env-name>','Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','cJPgt','Install\x20scope\x20for\x20plugin\x20and\x20skills','sNIPY','knznl','disable','add\x20env\x20<env-name>','Unknown\x20error','epilogue','ranger\x20feature\x20resume','Authenticate\x20with\x20Ranger','Switch\x20to\x20using\x20a\x20specific\x20profile','MVWQX','afCbu','eIhsp','2800gNxFxE','OtGPj','sglnp','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','setup-ci\x20<token>','AdnWg','feature\x20list','yuzlF','ranger\x20go','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','List\x20all\x20feature\x20reviews','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','Get\x20a\x20config\x20value','ranger\x20show','json','hook','whqzO','oAROb','API\x20token','RCAIk','\x0aUnknown\x20command:\x20','\x20PARTIAL','ranger\x20config\x20get','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','1066724LRiBds','VTcjW','resume\x20[id]','XJijy','IVSTT','KCuei','Iwsun','test_output','Skrwr','reset\x20<profile>','necBR','JGHnF','xeuob','cwd','Remove\x20a\x20config\x20value','verified','ranger\x20env\x20update','feature\x20create','Reason:\x20','set\x20<env>\x20<key>\x20<value>','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aProfile\x20config.\x20Routes\x20automatically\x20based\x20on\x20where\x20the\x20profile\x20lives:\x0a\x20\x20-\x20Local\x20profiles\x20write\x20to\x20.ranger/<env>/settings.json\x0a\x20\x20-\x20Cloud\x20profiles\x20write\x20a\x20local\x20overlay\x20in\x20~/.ranger/projects.json\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\x20(effective\x20value\x20for\x20cloud\x20profiles)\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\x20local\x20overrides\x20(cloud\x20profiles\x20only)\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override\x20for\x20cloud\x20profiles)\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\x20header.<name>\x20\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20header.X-Test-Mode)\x0a\x20\x20setupHeader.<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(e.g.,\x20setupHeader.x-bypass-turnstile)\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','incomplete','blocked','GIdMh','rWWcS','value','VDcBA','url','5239185ySfuRH','WsWOY','CPSGl','limit','JTQnS','ranger\x20feature\x20add-checklist-item','cowOW','gDqCa','CwLPz','ranger\x20auth\x20encrypt','3916719jYAUne','list\x20<env>','qQiEa','feature\x20delete','WqiXR','nfUgF','ranger\x20config\x20unset','with-deps','get\x20<env>\x20<key>','KQYkn','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile\x20(cloud\x20profiles\x20only)','--checklist','YFNlG','20GgAUPH','clean','slice','skip-chromium','config\x20list','UrAOi','10518VjCsXQ','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','IqXOW','YJlcy','fJGLk','dCccH','Name\x20of\x20the\x20profile','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','login','gVwpY','fhsjg','encrypt\x20<profile>','vQSox','Set\x20up\x20a\x20local\x20browser\x20profile','Manage\x20profile\x20configuration','Login\x20failed:\x20','Include\x20soft-deleted\x20feature\x20reviews','GZsiK','item','Restore\x20a\x20soft-deleted\x20feature\x20review','AyPZj','Example:\x20ranger\x20create\x20my-feature','debug-address-comments','710lyhfEa','repeat','scope','profile\x20ls','TeqKt','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','exitCode','Skip\x20Chromium\x20browser\x20installation','wghrn','ranger\x20list','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','QnxDK','profile\x20config\x20reset','Skip\x20interactive\x20confirmation\x20prompts.','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','fQgMn','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','setup-header','EhzAY','WmGpk','profile','base-url','sXIKa','JRrwc','allow-insecure-localhost','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','partial','LmvPw','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','boolean','List\x20all\x20profiles','cAEsp','Config\x20value','aOUGA','WiCsg','RANGER_TEST_PASSWORD','force','ranger\x20get-review','ranger\x20add-scenario','message','start\x20[token]','enable','setup:skills','trackCommandError','RTpPD','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','exit','profile\x20use','status','JVwoK','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','Manage\x20profiles','cMIqg','number','opencode','exclude-scenario','ryWJr','qUWby','ZIsLA','GqwMB','config\x20get','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','FvZFc','Feature\x20review\x20ID','27002514BOeBNR','KvWzh','list\x20<profile>','MIzgu','zJPUr','IcMtN','aZwSE','mXGuV','--notes','meEoc','ranger\x20profile\x20encrypt-auth','1332MbCTzc','RYxpx','yes','ranger\x20verify-feature','profiles','wMkBa','root','description','Install\x20OS-level\x20dependencies\x20for\x20Chromium','hook:disable','severity','5713026iaVWzs','help','headed','ranger\x20feature\x20list','ranger\x20delete','NxBMU','rsfnr','Skip\x20authentication','ktVKS','nonkB','KULoE','checklist','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','create\x20<name>','encrypt-auth\x20<profile>','Feature\x20review\x20name','config','Evaluation:\x20','YAEnA','debug-outcome','get-review','YILHN','gQQhV','cdp-endpoint','You\x20must\x20specify\x20a\x20config\x20subcommand','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','NDWiS','QJyBe','\x20INCOMPLETE','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','fqvNo','VZEpU','xPVtU','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','safe-mode','eXzla','summary','GfJqD','BvUOB','map','parse','Name\x20of\x20the\x20profile\x20to\x20update','8XLQsab','RANGER_TEST_USERNAME','ihvDn','skip-auth','SwUub','ranger\x20profile\x20config\x20set','current-branch','log','model','YSvQc','afixL','FzXEv','nEwnF','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','positional','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','bErSl','IlROO','evaluationReason','Name\x20of\x20the\x20environment','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','use\x20<env-name>','.\x20[','argv','save-creds','LtpXD','includes','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','Pdjoq','bQsDJ','scenario','fxpkC','Update\x20authentication\x20for\x20an\x20existing\x20profile','CVJzs','WLsWT','hbMjX','HYHoe','setup\x20[tokenOrSubcommand]','delete\x20[id]','profile-name','usage','FIWnG','fAFqE','ZxvTk','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','tNQNn','LDyEr','Skip\x20browser\x20authentication'];_0x54ef=function(){return _0x96c34a;};return _0x54ef();}import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x507c10=>{const _0xaa4ded=_0x14be9b,_0x7bae12={'kzBvC':function(_0x18d15c){return _0x18d15c();}},_0x259976=_0x7bae12['kzBvC'](getCurrentCollector);_0x259976&&await _0x259976['trackCommandError'](_0x507c10),process[_0xaa4ded(0x257)]=0x1;});const rawArgs=process['argv'][_0x14be9b(0x236)](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\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\x20Set\x20up\x20a\x20local\x20browser\x20profile\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/update/config/encrypt-auth)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\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\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\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\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x20\x20migrate\x20[<profile>]\x20\x20\x20\x20\x20\x20\x20Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20migrate\x20--all\x20--dry-run',PROFILE_CONFIG_HELP=_0x14be9b(0x215);function warnRenamed(_0xe380ae,_0x767eef){console['error']('\x0a'+_0xe380ae+'\x20is\x20now\x20'+_0x767eef+'\x0a');}function argUsed(_0x2d0d43){return rawArgs['some'](_0x27e366=>_0x27e366===_0x2d0d43||_0x27e366['startsWith'](_0x2d0d43+'='));}function warnFlagRenamed(_0x243738,_0x2ea12b,_0x450311){const _0x48fea0=_0x14be9b,_0x17f83b={'eolSo':function(_0x7d696a,_0xa3d49f){return _0x7d696a(_0xa3d49f);},'meEoc':function(_0x2116d0,_0x2da93c,_0x2f2403){return _0x2116d0(_0x2da93c,_0x2f2403);}};_0x17f83b['eolSo'](argUsed,_0x2ea12b)&&_0x17f83b[_0x48fea0(0x29b)](warnRenamed,_0x243738+'\x20'+_0x2ea12b,_0x243738+'\x20'+_0x450311);}async function runGoCommand(_0x30cc9b,_0x19b729=![]){const _0x2f053b=_0x14be9b,_0x4c9a41={'wMkBa':_0x2f053b(0x2a0),'IlROO':_0x2f053b(0x1f1),'bgVTf':_0x2f053b(0x173),'XJijy':function(_0x6308f1,_0x147494,_0x32a9dc,_0x48014c){return _0x6308f1(_0x147494,_0x32a9dc,_0x48014c);},'mQgWM':'--item','sNIPY':'--scenario','LDyEr':function(_0x36e2ac){return _0x36e2ac();},'ihvDn':function(_0x5caa9b,_0x596ede){return _0x5caa9b(_0x596ede);},'rxtJp':_0x2f053b(0x162),'qQiEa':'verified','Iwsun':'\x20VERIFIED','CVJzs':'incomplete','xnJux':_0x2f053b(0x1fe),'FIWnG':function(_0x3d6322,_0x4b5465){return _0x3d6322===_0x4b5465;}};_0x19b729&&warnRenamed(_0x4c9a41[_0x2f053b(0x2a2)],_0x2f053b(0x1f1));warnFlagRenamed(_0x4c9a41['IlROO'],'--env','--profile'),warnFlagRenamed(_0x4c9a41[_0x2f053b(0x135)],_0x4c9a41['bgVTf'],_0x2f053b(0x29a)),_0x4c9a41[_0x2f053b(0x204)](warnFlagRenamed,_0x4c9a41['IlROO'],_0x4c9a41['mQgWM'],_0x4c9a41[_0x2f053b(0x1dd)]);const _0x384a49=await loadRangerConfig(),_0x332796=_0x4c9a41[_0x2f053b(0x152)](isByokEnabled),_0x3999e6=_0x30cc9b[_0x2f053b(0x12c)],_0x469f8b=_0x384a49['model'],_0x3b349f=await _0x4c9a41[_0x2f053b(0x126)](verifyFeature,{'featureId':_0x30cc9b['feature'],'profile':_0x30cc9b['profile']??_0x30cc9b[_0x2f053b(0x178)],'notes':_0x30cc9b['notes']??_0x30cc9b['task'],'scenario':_0x30cc9b[_0x2f053b(0x142)]??_0x30cc9b[_0x2f053b(0x24c)],'startPath':_0x30cc9b[_0x4c9a41['rxtJp']],'baseUrl':_0x30cc9b[_0x2f053b(0x266)],'debugOutcome':_0x30cc9b[_0x2f053b(0x10d)],'debugAddressComments':_0x30cc9b['debug-address-comments'],'headed':_0x30cc9b['headed'],'byokEnabled':_0x332796,'flagVerifyModel':_0x3999e6,'configVerifyModel':_0x469f8b});console[_0x2f053b(0x12b)]('\x0a'+'='[_0x2f053b(0x252)](0x3c)),console[_0x2f053b(0x12b)](_0x3b349f[_0x2f053b(0x1cb)]===_0x4c9a41[_0x2f053b(0x229)]?_0x4c9a41[_0x2f053b(0x207)]:_0x3b349f[_0x2f053b(0x1cb)]===_0x4c9a41[_0x2f053b(0x145)]?_0x2f053b(0x116):_0x3b349f[_0x2f053b(0x1cb)]==='partial'?_0x4c9a41['xnJux']:_0x4c9a41['FIWnG'](_0x3b349f[_0x2f053b(0x1cb)],'blocked')?_0x2f053b(0x17d):'\x20FAILED'),console['log']('='['repeat'](0x3c)),console['log']('Summary:\x20'+_0x3b349f[_0x2f053b(0x11e)]),console[_0x2f053b(0x12b)](_0x2f053b(0x2b9)+_0x3b349f[_0x2f053b(0x1cb)]),console[_0x2f053b(0x12b)](_0x2f053b(0x213)+_0x3b349f[_0x2f053b(0x136)]),_0x3b349f['issues']?.['length']&&(console['log'](_0x2f053b(0x1c6)),_0x3b349f['issues'][_0x2f053b(0x15e)]((_0x2e2f12,_0x1f839e)=>{const _0x12da85=_0x2f053b;console['log']('\x0a'+(_0x1f839e+0x1)+_0x12da85(0x13a)+_0x2e2f12[_0x12da85(0x2a7)]+']\x20'+_0x2e2f12[_0x12da85(0x2a4)]);})),process[_0x2f053b(0x27f)](_0x4c9a41[_0x2f053b(0x14d)](_0x3b349f[_0x2f053b(0x1cb)],_0x2f053b(0x210))?0x0:0x1);}export function buildParser(_0x4a3117){const _0x14f1d0=_0x14be9b,_0x5501f5={'gQQhV':_0x14f1d0(0x15f),'kIaLQ':'string','fAFqE':_0x14f1d0(0x2b7),'zKZFH':_0x14f1d0(0x2a4),'KULoE':_0x14f1d0(0x159),'ICxQn':'scenario','qdHQn':_0x14f1d0(0x1c8),'YSvQc':_0x14f1d0(0x27e),'WXmbW':_0x14f1d0(0x232),'jnQwV':'--scenario','cJPgt':_0x14f1d0(0x26e),'YILHN':_0x14f1d0(0x185),'lKFXi':_0x14f1d0(0x1c3),'QSneg':_0x14f1d0(0x287),'SIFhL':'include-deleted','cAEsp':_0x14f1d0(0x198),'MIzgu':function(_0x4bedfa,_0x1e177e,_0x135351){return _0x4bedfa(_0x1e177e,_0x135351);},'bQsDJ':_0x14f1d0(0x1d7),'ikeVf':'Scenario\x20description','nfUgF':'add-scenario','VAvGq':'Scenario\x20number\x20to\x20edit\x20(1-based)','xPVtU':function(_0x19e66b,_0x34f0c8,_0x290bdb){return _0x19e66b(_0x34f0c8,_0x290bdb);},'ZqFGT':_0x14f1d0(0x291),'GIdMh':_0x14f1d0(0x289),'FzXEv':_0x14f1d0(0x1f7),'afCbu':_0x14f1d0(0x19b),'sglnp':_0x14f1d0(0x2b4),'fIKYV':_0x14f1d0(0x10e),'vOtDJ':'Feature\x20review\x20ID\x20to\x20restore','VzaXM':'restore','NbtLa':'Ranger\x20API\x20token','VZEpU':_0x14f1d0(0x237),'RMlNI':_0x14f1d0(0x283),'OHenx':'skip-auth','QvtzP':_0x14f1d0(0x171),'Ogqdv':_0x14f1d0(0x1dc),'NxBMU':_0x14f1d0(0x275),'aOUGA':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','EqPbT':'Alias\x20for\x20--mcp-bootstrap','XIXLB':_0x14f1d0(0x175),'fhkmL':function(_0x43b129){return _0x43b129();},'IWDAw':function(_0x3a927c,_0x3a56b1){return _0x3a927c(_0x3a56b1);},'RTpPD':_0x14f1d0(0x253),'cEVAQ':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','fMzkK':'Where\x20to\x20store\x20the\x20profile','wghrn':_0x14f1d0(0x21c),'TtIZn':_0x14f1d0(0x153),'YzDKr':function(_0x4a2926,_0x25794b){return _0x4a2926(_0x25794b);},'GnPrv':'tokenOrSubcommand','IcMtN':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','cowOW':'Install\x20Chromium\x20browser\x20binary','MVWQX':_0x14f1d0(0x1e4),'AlcfL':'skills','JOuJJ':_0x14f1d0(0x2a1),'JBwIz':_0x14f1d0(0x247),'eIhsp':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','xeuob':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','PaQRB':_0x14f1d0(0x26a),'mXGuV':'with-deps','TjYLZ':_0x14f1d0(0x18d),'Qrsqd':_0x14f1d0(0x158),'jxwhA':'start','YrNPH':_0x14f1d0(0x1ca),'Xmtqc':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','DafvU':_0x14f1d0(0x258),'GZsiK':function(_0x54eafa,_0x32a13b,_0x8ffffc){return _0x54eafa(_0x32a13b,_0x8ffffc);},'eXzla':_0x14f1d0(0x242),'WsWOY':_0x14f1d0(0x288),'CPSGl':'Install\x20skills\x20for\x20OpenCode','OtGPj':'user','JYslu':'Install\x20scope\x20for\x20skills','RdZmy':function(_0x19c172,_0x5a2fb5){return _0x19c172(_0x5a2fb5);},'TicBa':'skillup','IeKgP':function(_0x53e545,_0x2a0bc2,_0x3f9e55){return _0x53e545(_0x2a0bc2,_0x3f9e55);},'WcFvD':'clean','BiEib':_0x14f1d0(0x14b),'PwpNL':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','YHuIt':_0x14f1d0(0x269),'dCccH':_0x14f1d0(0x11c),'zkrtB':_0x14f1d0(0x131),'TeqKt':'Cloud\x20profile\x20name','KwmCS':_0x14f1d0(0x1bf),'mRAEA':'dry-run','LBIXB':_0x14f1d0(0x13c),'sbFJI':function(_0x164c69,_0x3aa8e6,_0x401927){return _0x164c69(_0x3aa8e6,_0x401927);},'oYIzQ':'profile\x20config\x20get','IqGcH':_0x14f1d0(0x167),'BKiwm':'Set\x20a\x20config\x20value','zGUJt':'unset\x20<profile>\x20<key>','qUWby':_0x14f1d0(0x20f),'QJyBe':_0x14f1d0(0x231),'fQgMn':'profile\x20update','IgSEu':'key','WPNXC':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','IPbsD':'value','WmGpk':'profile\x20config\x20list','LmvPw':_0x14f1d0(0x182),'ODAAE':'use\x20<profile-name>','wNjIc':_0x14f1d0(0x1e5),'knznl':_0x14f1d0(0x2b6),'ESeig':_0x14f1d0(0x26f),'fxpkC':'login\x20<name>','SWkkp':'You\x20must\x20specify\x20a\x20profile\x20subcommand','eDYNE':'status','afixL':function(_0x16238e,_0xf06a93,_0xb58a){return _0x16238e(_0xf06a93,_0xb58a);},'QjXrG':_0x14f1d0(0x1ab),'fhsjg':'feature','jXxpx':'Optional\x20feature\x20ID','opTrM':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','ryWJr':'Scenario\x20index\x20(1-based)','AdnWg':'start-path','EBpmN':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','Vhbyn':'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.','YAEnA':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','RCmyi':_0x14f1d0(0x10d),'pYTQS':'verified','mIcVt':'blocked','Skrwr':'profile','FLrsA':_0x14f1d0(0x245),'JRrwc':'You\x20must\x20specify\x20an\x20auth\x20subcommand','dGQHS':function(_0x10ab8c,_0x23ec48,_0x4fbb0b){return _0x10ab8c(_0x23ec48,_0x4fbb0b);},'zJPUr':'env','BvXqp':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','KiAST':_0x14f1d0(0x117),'AyPZj':'item','oAROb':_0x14f1d0(0x184),'JGHnF':_0x14f1d0(0x216),'whqzO':_0x14f1d0(0x11b),'PAyoq':'ranger\x20add\x20env','glrlP':function(_0x1543af,_0x493e52,_0x4d46ce){return _0x1543af(_0x493e52,_0x4d46ce);},'vWqNX':'Environment\x20name','YekPN':'Config\x20key','ZIsLA':'ranger\x20config\x20list','sXIKa':_0x14f1d0(0x1ff),'rIsrr':'ranger\x20profile\x20config\x20get','sQpdl':_0x14f1d0(0x1ba),'xqZiZ':'config\x20unset','zjnKD':_0x14f1d0(0x22f),'mwZpX':_0x14f1d0(0x1a1),'eWIKH':'ranger\x20profile\x20ls','VGsIk':'env\x20list','FvZFc':'env-name','owZLc':_0x14f1d0(0x1d9),'rjhmc':'You\x20must\x20specify\x20an\x20env\x20subcommand','BvUOB':'limit','EhzAY':'offset','RYxpx':'Number\x20of\x20feature\x20reviews\x20to\x20skip','VDcBA':function(_0x1fd51d,_0x197a65,_0x443746){return _0x1fd51d(_0x197a65,_0x443746);},'UrAOi':_0x14f1d0(0x1e3),'ntlZb':'ranger\x20resume','nonkB':'feature\x20resume','IEQfg':'ranger\x20feature\x20get-feedback','LONjO':_0x14f1d0(0x276),'cMIqg':function(_0x5b9db8,_0x492cb6,_0x21cea1){return _0x5b9db8(_0x492cb6,_0x21cea1);},'LtpXD':_0x14f1d0(0x22a),'BgAyj':'ranger\x20create','QLByP':_0x14f1d0(0x1f6),'MtoEN':function(_0x2104db,_0xc9d060,_0x3d47be){return _0x2104db(_0xc9d060,_0x3d47be);},'Ebvpu':_0x14f1d0(0x277),'VTcjW':function(_0x12a4ef,_0x4f161e,_0x246559){return _0x12a4ef(_0x4f161e,_0x246559);},'KudMo':_0x14f1d0(0x203),'zgxsS':'get-feedback\x20[id]','gKSzw':_0x14f1d0(0x15c),'KCuQJ':_0x14f1d0(0x241),'GqwMB':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','YxCLd':_0x14f1d0(0x284),'fJGLk':function(_0x1fdb08,_0x2ef537,_0x27e970){return _0x1fdb08(_0x2ef537,_0x27e970);},'SVJOe':_0x14f1d0(0x16b),'JVwoK':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','KCuei':_0x14f1d0(0x1e1),'HYHoe':function(_0x37b77c,_0x48050c){return _0x37b77c(_0x48050c);},'tNQNn':function(_0x757301){return _0x757301();},'seHrY':'create\x20<name>','HuFLt':_0x14f1d0(0x1f3),'TULGf':'show\x20[id]','ktVKS':'add-scenario\x20<description>','aZwSE':'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','YjBUJ':_0x14f1d0(0x170),'NyXUo':'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','WqiXR':_0x14f1d0(0x24d),'kMCFT':'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','KTMtG':'Install\x20Ranger\x20skills','WCqrG':'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','ywugR':_0x14f1d0(0x261),'YJlcy':_0x14f1d0(0x23b),'ZDltT':'auth','NFDiF':_0x14f1d0(0x279),'MHvYn':_0x14f1d0(0x139),'haEWH':_0x14f1d0(0x1f8),'SsEYq':'You\x20must\x20specify\x20a\x20command','WLsWT':function(_0xa5d04c,_0x5b56d2){return _0xa5d04c+_0x5b56d2;},'lpGVt':'Documentation:\x0a','auDLl':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','RhKhj':'help'};return _0x5501f5[_0x14f1d0(0x148)](_0x580bd4,_0x4a3117??process[_0x14f1d0(0x13b)]['slice'](0x2))['scriptName'](_0x14f1d0(0x15a))['usage'](TOP_LEVEL_HELP)['version'](_0x5501f5[_0x14f1d0(0x151)](getCurrentVersion))[_0x14f1d0(0x1c0)](_0x5501f5['seHrY'],_0x14f1d0(0x180),_0x163a92=>{const _0x3288ca=_0x14f1d0;return _0x163a92[_0x3288ca(0x132)](_0x5501f5['gQQhV'],{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5[_0x3288ca(0x14e)],'demandOption':!![]})['option'](_0x5501f5[_0x3288ca(0x181)],{'type':_0x3288ca(0x156),'alias':'d','description':_0x5501f5['KULoE']})[_0x3288ca(0x1a9)](_0x5501f5[_0x3288ca(0x1d6)],{'type':'array','alias':'c','description':_0x5501f5['qdHQn']})['option']('checklist',{'type':_0x3288ca(0x1ce),'hidden':!![]});},async _0xdd8bee=>{const _0x4cea5a=_0x14f1d0;if(!_0xdd8bee['name']){console['error'](_0x5501f5[_0x4cea5a(0x12d)]+_0x4cea5a(0x24f)),process[_0x4cea5a(0x27f)](0x1);return;}warnFlagRenamed('ranger\x20create',_0x5501f5['WXmbW'],_0x5501f5['jnQwV']);const _0x20030e=_0xdd8bee['scenario']||_0xdd8bee['checklist'];await withTelemetry('create',()=>featureCreate(_0xdd8bee[_0x4cea5a(0x15f)],{'description':_0xdd8bee[_0x4cea5a(0x2a4)],'scenarios':_0x20030e}));})[_0x14f1d0(0x1c0)](_0x14f1d0(0x161),_0x5501f5['HuFLt'],_0x16ebeb=>{const _0x5cb58f=_0x14f1d0;return _0x16ebeb['option']('current-branch',{'type':_0x5501f5[_0x5cb58f(0x1db)],'description':_0x5501f5[_0x5cb58f(0x10f)]})['option'](_0x5cb58f(0x220),{'type':'number','alias':'l','description':_0x5501f5['lKFXi'],'default':0xa})['option']('offset',{'type':_0x5501f5[_0x5cb58f(0x1c9)],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x5cb58f(0x1a9)](_0x5501f5['SIFhL'],{'type':'boolean','alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x29c4fc=>{await withTelemetry('list',()=>featureList({'currentBranch':_0x29c4fc['current-branch'],'limit':_0x29c4fc['limit'],'offset':_0x29c4fc['offset'],'includeDeleted':_0x29c4fc['include-deleted']}));})['command'](_0x5501f5['TULGf'],'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x3b548a=>{const _0x4ae08c=_0x14f1d0;return _0x3b548a[_0x4ae08c(0x132)]('id',{'type':_0x4ae08c(0x156),'description':'Feature\x20review\x20ID'});},async _0x25d804=>{const _0x5d109d=_0x14f1d0;await withTelemetry(_0x5501f5[_0x5d109d(0x270)],()=>featureShow(_0x25d804['id']));})[_0x14f1d0(0x1c0)](_0x5501f5['KudMo'],_0x14f1d0(0x16f),_0x167f08=>{const _0x3a5adc=_0x14f1d0;return _0x167f08[_0x3a5adc(0x132)]('id',{'type':_0x5501f5['kIaLQ'],'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x381402=>{const _0x40de3b=_0x14f1d0;await _0x5501f5['MIzgu'](withTelemetry,_0x5501f5[_0x40de3b(0x141)],()=>featureResume(_0x381402['id']));})[_0x14f1d0(0x1c0)](_0x5501f5[_0x14f1d0(0x2b0)],_0x5501f5[_0x14f1d0(0x298)],_0x3417e1=>{const _0x11f6f1=_0x14f1d0;return _0x3417e1[_0x11f6f1(0x132)](_0x5501f5[_0x11f6f1(0x181)],{'type':'string','description':_0x5501f5['ikeVf'],'demandOption':!![]})['option']('id',{'type':_0x11f6f1(0x156),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0xc0f0d4=>{const _0x252fff=_0x14f1d0;await withTelemetry(_0x5501f5[_0x252fff(0x22c)],()=>featureAddScenario(_0xc0f0d4[_0x252fff(0x2a4)],_0xc0f0d4['id']));})[_0x14f1d0(0x1c0)]('edit-scenario\x20<description>','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0xa12dd1=>{const _0x250da8=_0x14f1d0;return _0xa12dd1[_0x250da8(0x132)](_0x5501f5['zKZFH'],{'type':_0x5501f5[_0x250da8(0x1af)],'description':_0x250da8(0x157),'demandOption':!![]})[_0x250da8(0x1a9)](_0x5501f5[_0x250da8(0x1d6)],{'type':'number','description':_0x5501f5['VAvGq'],'demandOption':!![]})['option']('id',{'type':_0x5501f5[_0x250da8(0x1af)],'description':_0x250da8(0x2b4)});},async _0x47416b=>{const _0x2f9e44=_0x14f1d0;await _0x5501f5[_0x2f9e44(0x11a)](withTelemetry,_0x2f9e44(0x1bd),()=>featureEditScenario(_0x47416b['description'],{'id':_0x47416b['id'],'scenario':_0x47416b['scenario']}));})['command'](_0x5501f5['YjBUJ'],_0x5501f5['NyXUo'],_0x32b2d2=>{const _0x27f81c=_0x14f1d0;return _0x32b2d2[_0x27f81c(0x132)]('id',{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5['ZqFGT']})[_0x27f81c(0x1a9)](_0x5501f5[_0x27f81c(0x218)],{'type':_0x27f81c(0x1ce),'description':_0x27f81c(0x26d)})['option'](_0x5501f5[_0x27f81c(0x12f)],{'type':_0x27f81c(0x26e),'description':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','default':![]});},async _0x2af31f=>{const _0x13b379=_0x14f1d0,_0x1fdec1=_0x2af31f[_0x13b379(0x289)],_0xa7ac7b=_0x1fdec1?_0x1fdec1[_0x13b379(0x121)](_0x50812e=>Number(_0x50812e)):undefined;await withTelemetry(_0x5501f5[_0x13b379(0x1e7)],()=>featureReportPrDescription(_0x2af31f['id'],{'excludeScenarios':_0xa7ac7b,'json':_0x2af31f['json']}));})['command']('get-review\x20[id]',_0x14f1d0(0x1b3),_0x28672e=>{const _0x15d8c5=_0x14f1d0;return _0x28672e['positional']('id',{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5[_0x15d8c5(0x1eb)]});},async _0x397cb6=>{const _0x3debce=_0x14f1d0;await withTelemetry(_0x5501f5[_0x3debce(0x1c1)],()=>featureGetReview(_0x397cb6['id']));})[_0x14f1d0(0x1c0)]('delete\x20[id]','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x27bb7d=>{const _0x36384f=_0x14f1d0;return _0x27bb7d['positional']('id',{'type':_0x36384f(0x156),'description':_0x5501f5['ZqFGT']});},async _0x4f98af=>{await _0x5501f5['MIzgu'](withTelemetry,'delete',()=>featureDelete(_0x4f98af['id']));})['command'](_0x5501f5[_0x14f1d0(0x18b)],_0x5501f5[_0x14f1d0(0x22b)],_0x2c1b85=>{return _0x2c1b85['positional']('id',{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5['vOtDJ'],'demandOption':!![]});},async _0x3617fe=>{const _0xcd1ee3=_0x14f1d0;await withTelemetry(_0x5501f5[_0xcd1ee3(0x1a0)],()=>featureRestore(_0x3617fe['id']));})[_0x14f1d0(0x1c0)](_0x14f1d0(0x149),'Initialize\x20Ranger\x20in\x20your\x20project',_0x2deba5=>{const _0x468811=_0x14f1d0,_0x392326={'yuzlF':function(_0x1df988,_0x44c3ea,_0x16e9c8){return _0x5501f5['MIzgu'](_0x1df988,_0x44c3ea,_0x16e9c8);},'rsfnr':_0x468811(0x158),'eBNdm':function(_0x50f12a,_0x324afe,_0x578130){const _0x5847b8=_0x468811;return _0x5501f5[_0x5847b8(0x295)](_0x50f12a,_0x324afe,_0x578130);},'pFjmc':'setup:all','jBLkV':function(_0x101f76){const _0x50a4bf=_0x468811;return _0x5501f5[_0x50a4bf(0x1d1)](_0x101f76);},'yyLxG':function(_0x2f6bec,_0x3a5f1f){const _0x4f0cc3=_0x468811;return _0x5501f5[_0x4f0cc3(0x1a6)](_0x2f6bec,_0x3a5f1f);},'JuILz':_0x468811(0x1ae)};return _0x2deba5[_0x468811(0x14c)]('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')[_0x468811(0x132)](_0x5501f5['GnPrv'],{'type':'string','description':_0x5501f5[_0x468811(0x297)]})['command'](_0x468811(0x164),'Run\x20full\x20interactive\x20setup',_0x5437af=>{const _0x83f38f=_0x468811;return _0x5437af['option'](_0x83f38f(0x1d4),{'type':_0x83f38f(0x156),'description':_0x5501f5['NbtLa']})['option'](_0x5501f5['VZEpU'],{'type':_0x83f38f(0x26e),'description':_0x5501f5['RMlNI'],'default':![]})[_0x83f38f(0x1a9)](_0x5501f5['OHenx'],{'type':_0x5501f5['cJPgt'],'description':'Skip\x20authentication','default':![]})[_0x83f38f(0x1a9)](_0x83f38f(0x22e),{'type':'boolean','description':_0x83f38f(0x2a5),'default':![]})[_0x83f38f(0x1a9)]('scope',{'type':_0x5501f5['kIaLQ'],'choices':['user',_0x5501f5['QvtzP']],'description':_0x5501f5['Ogqdv']})[_0x83f38f(0x1a9)](_0x83f38f(0x21c),{'type':'string','description':_0x83f38f(0x25b)})[_0x83f38f(0x1a9)](_0x5501f5['NxBMU'],{'type':_0x5501f5['cJPgt'],'description':_0x5501f5['aOUGA'],'default':![]})[_0x83f38f(0x1a9)]('opencode',{'type':_0x83f38f(0x26e),'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})[_0x83f38f(0x1a9)](_0x83f38f(0x269),{'type':_0x83f38f(0x26e),'description':_0x83f38f(0x256),'default':![]})[_0x83f38f(0x1a9)](_0x83f38f(0x158),{'type':_0x5501f5['cJPgt'],'description':_0x83f38f(0x19c),'default':![]})[_0x83f38f(0x1a9)]('mcp',{'type':_0x5501f5['cJPgt'],'description':_0x5501f5['EqPbT'],'default':![]});},async _0x1ec46c=>{const _0x328821=_0x468811;(_0x1ec46c[_0x328821(0x158)]||_0x1ec46c['mcp'])&&await _0x392326[_0x328821(0x1f0)](withTelemetry,_0x392326[_0x328821(0x2ae)],()=>mcpBootstrap()),await _0x392326['eBNdm'](withTelemetry,_0x392326[_0x328821(0x1a3)],_0x5bde12=>start(_0x1ec46c['token'],{'skipChromium':_0x1ec46c[_0x328821(0x237)],'skipAuth':_0x1ec46c['skip-auth'],'withDeps':_0x1ec46c['with-deps'],'scope':_0x1ec46c['scope'],'url':_0x1ec46c[_0x328821(0x21c)],'force':_0x1ec46c[_0x328821(0x275)],'opencode':_0x1ec46c[_0x328821(0x288)],'allowInsecureLocalhost':_0x1ec46c['allow-insecure-localhost']},_0x5bde12));})['command']('deps',_0x5501f5[_0x468811(0x223)],_0x3727b6=>{return _0x3727b6['option']('with-deps',{'type':'boolean','description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]});},async _0x40b90b=>{await withTelemetry('setup:deps',()=>ensureChromium(_0x40b90b['with-deps']));})[_0x468811(0x1c0)]('login',_0x5501f5[_0x468811(0x1e6)],_0x54e778=>{const _0x4cf43c=_0x468811;return _0x54e778['option']('token',{'type':'string','description':_0x4cf43c(0x196)})['option'](_0x5501f5['XIXLB'],{'type':_0x5501f5['cJPgt'],'description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x32df84=>{const _0x1e6f60=_0x468811,_0x633b17={'fTQFa':function(_0x1a1c07){return _0x5501f5['fhkmL'](_0x1a1c07);},'hbMjX':'Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','KQYkn':function(_0x3aa304,_0x2b90de){return _0x5501f5['IWDAw'](_0x3aa304,_0x2b90de);}};await _0x5501f5[_0x1e6f60(0x295)](withTelemetry,'setup:login',async()=>{const _0x2a4200=_0x1e6f60;if(_0x32df84[_0x2a4200(0x175)]){await mcpBootstrap();const _0x2a6c82=await _0x633b17[_0x2a4200(0x1b9)](refreshCliToken);if(!_0x2a6c82)throw new Error(_0x633b17[_0x2a4200(0x147)]);const _0x2db821=await getCurrentUser(_0x2a6c82);if(!_0x2db821[_0x2a4200(0x1d3)])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x2db821[_0x2a4200(0x1b1)]);console['log']('✓\x20Authenticated\x20to\x20'+_0x2db821['user']['organizationName']);return;}await _0x633b17[_0x2a4200(0x230)](authenticate,_0x32df84[_0x2a4200(0x1d4)]);});})['command'](_0x5501f5['AlcfL'],_0x468811(0x166),_0x3fd800=>{const _0x1933ca=_0x468811;return _0x3fd800['option'](_0x5501f5[_0x1933ca(0x27d)],{'type':_0x1933ca(0x156),'choices':['user',_0x5501f5[_0x1933ca(0x172)]],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})['option'](_0x1933ca(0x288),{'type':_0x1933ca(0x26e),'description':_0x5501f5[_0x1933ca(0x1a8)],'default':![]});},async _0x4308db=>{const _0x447877=_0x468811;await withTelemetry(_0x447877(0x27b),async()=>{const _0x3d5308=_0x447877,_0x3f8c5f=_0x4308db[_0x3d5308(0x253)];if(_0x4308db['opencode']){const _0x13b9a5=await ensureOpencodePluginConfig(_0x3f8c5f);_0x13b9a5&&await installSkill(_0x3d5308(0x15a),{'level':_0x13b9a5[_0x3d5308(0x253)],'cliVersion':_0x392326[_0x3d5308(0x1be)](getCurrentVersion),'platform':_0x3d5308(0x288)});}else await _0x392326['yyLxG'](ensureClaudePlugin,_0x3f8c5f),await ensureClaudeSkills(_0x3f8c5f);});})[_0x468811(0x1c0)](_0x5501f5['JOuJJ'],_0x5501f5['JBwIz'],_0x17121e=>{const _0x1e2a8b=_0x468811;return _0x17121e[_0x1e2a8b(0x1a9)](_0x1e2a8b(0x253),{'type':'string','choices':[_0x1e2a8b(0x16a),_0x5501f5['QvtzP']],'description':_0x5501f5['fMzkK']})['option'](_0x5501f5[_0x1e2a8b(0x259)],{'type':_0x5501f5['kIaLQ'],'description':'Base\x20URL\x20of\x20the\x20running\x20app'})['option'](_0x5501f5[_0x1e2a8b(0x1b0)],{'type':_0x1e2a8b(0x26e),'description':_0x5501f5['TtIZn'],'default':![]})['option'](_0x5501f5[_0x1e2a8b(0x2ad)],{'type':'boolean','description':_0x5501f5['aOUGA'],'default':![]})['option'](_0x1e2a8b(0x269),{'type':_0x5501f5[_0x1e2a8b(0x1db)],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x2e81d0=>{const _0x598cd5=_0x468811;await withTelemetry(_0x392326[_0x598cd5(0x17c)],_0x405dd5=>ensureLocalEnv({'url':_0x2e81d0['url'],'force':_0x2e81d0[_0x598cd5(0x275)],'allowInsecureLocalhost':_0x2e81d0[_0x598cd5(0x269)],'scope':_0x2e81d0['scope']==='user'?'user':undefined},_0x405dd5));})['option'](_0x5501f5['VZEpU'],{'type':_0x468811(0x26e),'description':_0x5501f5['RMlNI'],'default':![]})['option'](_0x5501f5['RTpPD'],{'type':'string','choices':[_0x468811(0x16a),_0x5501f5['QvtzP']],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})[_0x468811(0x1a9)](_0x5501f5['wghrn'],{'type':_0x5501f5[_0x468811(0x1af)],'description':_0x468811(0x17f)})['option'](_0x468811(0x275),{'type':_0x468811(0x26e),'description':_0x5501f5[_0x468811(0x272)],'default':![]})[_0x468811(0x1a9)]('opencode',{'type':_0x5501f5['cJPgt'],'description':_0x5501f5['cEVAQ'],'default':![]})['option']('allow-insecure-localhost',{'type':_0x5501f5['cJPgt'],'description':_0x5501f5[_0x468811(0x1e8)],'default':![]})['option'](_0x468811(0x158),{'type':'boolean','description':_0x5501f5[_0x468811(0x20d)],'default':![]})['option'](_0x5501f5[_0x468811(0x1b0)],{'type':_0x5501f5[_0x468811(0x1db)],'description':_0x5501f5['PaQRB'],'default':![]})[_0x468811(0x1a9)](_0x5501f5[_0x468811(0x299)],{'type':_0x5501f5['cJPgt'],'description':_0x5501f5['TjYLZ'],'default':![]})[_0x468811(0x1a9)](_0x468811(0x1d4),{'type':'string','hidden':!![],'description':_0x468811(0x1fb)});},async _0x4552f7=>{const _0x505e41=_0x14f1d0,_0x1f9044=_0x4552f7['tokenOrSubcommand'],_0xc17573=_0x4552f7['token']??_0x1f9044;_0x4552f7[_0x5501f5['Qrsqd']]&&await withTelemetry(_0x5501f5[_0x505e41(0x189)],()=>mcpBootstrap()),await withTelemetry(_0x5501f5[_0x505e41(0x16c)],_0x123797=>start(_0xc17573,{'skipChromium':_0x4552f7['skip-chromium'],'skipAuth':_0x4552f7[_0x505e41(0x127)],'withDeps':_0x4552f7[_0x505e41(0x22e)],'scope':_0x4552f7[_0x505e41(0x253)],'url':_0x4552f7[_0x505e41(0x21c)],'force':_0x4552f7['force'],'opencode':_0x4552f7[_0x505e41(0x288)],'allowInsecureLocalhost':_0x4552f7['allow-insecure-localhost']},_0x123797));})['command'](_0x14f1d0(0x1ed),'Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0x263677=>{const _0x38370d=_0x14f1d0;return _0x263677[_0x38370d(0x132)]('token',{'type':'string','description':'Ranger\x20API\x20token','demandOption':!![]})['option']('profile',{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5['YrNPH']})[_0x38370d(0x1a9)](_0x38370d(0x266),{'type':_0x38370d(0x156),'description':_0x5501f5[_0x38370d(0x18f)]})['option'](_0x38370d(0x237),{'type':'boolean','description':_0x5501f5['DafvU'],'default':![]});},async _0x36607e=>{const _0x3a5008=_0x14f1d0;await _0x5501f5[_0x3a5008(0x11a)](withTelemetry,_0x3a5008(0x1d5),_0x537265=>setupCi(_0x36607e['token'],{'profile':_0x36607e[_0x3a5008(0x265)],'baseUrl':_0x36607e['base-url'],'skipChromium':_0x36607e['skip-chromium']},_0x537265));})[_0x14f1d0(0x1c0)](_0x5501f5['eXzla'],_0x5501f5['kMCFT'],()=>{},async()=>{const _0x1782ef=_0x14f1d0;await _0x5501f5[_0x1782ef(0x24b)](withTelemetry,_0x5501f5[_0x1782ef(0x11d)],()=>login());})['command'](_0x5501f5['TicBa'],_0x5501f5['KTMtG'],_0x3f59b4=>{const _0x53d71c=_0x14f1d0;return _0x3f59b4[_0x53d71c(0x1a9)](_0x5501f5[_0x53d71c(0x21e)],{'type':'boolean','description':_0x5501f5[_0x53d71c(0x21f)],'default':![]})['option']('scope',{'type':_0x53d71c(0x156),'choices':[_0x5501f5[_0x53d71c(0x1ea)],'project'],'description':_0x5501f5['JYslu']});},async _0x258c0a=>{const _0x196a3b=_0x14f1d0,_0x135fa1=_0x5501f5[_0x196a3b(0x1a5)](Boolean,_0x258c0a['opencode']);await withTelemetry(_0x5501f5['TicBa'],()=>skillup({'autoInstall':_0x258c0a['scope'],'platform':_0x135fa1?'opencode':_0x196a3b(0x1b8)}));})[_0x14f1d0(0x1c0)](_0x14f1d0(0x235),_0x5501f5[_0x14f1d0(0x1a2)],()=>{},async()=>{await _0x5501f5['IeKgP'](withTelemetry,_0x5501f5['WcFvD'],()=>clean());})['command'](_0x5501f5[_0x14f1d0(0x209)],_0x14f1d0(0x285),_0xfb7246=>{const _0x527a45=_0x14f1d0,_0x4f399e={'necBR':'profile\x20add','uoaDn':_0x527a45(0x111),'WiCsg':function(_0x4037b9,_0x99a5b4,_0x5d0214){return _0x4037b9(_0x99a5b4,_0x5d0214);},'ZxvTk':_0x527a45(0x265),'nEwnF':_0x527a45(0x155),'CwLPz':_0x527a45(0x123),'mSuCm':_0x5501f5[_0x527a45(0x1db)],'IqXOW':function(_0x450242,_0x1460bd,_0x373496){return _0x450242(_0x1460bd,_0x373496);},'LczOh':_0x5501f5[_0x527a45(0x260)],'HarrR':function(_0x341adf,_0x7cc776,_0x4280e1){return _0x341adf(_0x7cc776,_0x4280e1);},'aWAkp':function(_0x44d606,_0x581ca0){return _0x44d606===_0x581ca0;},'JFEjW':_0x5501f5['IgSEu'],'NDWiS':_0x527a45(0x156),'lbbnQ':_0x5501f5[_0x527a45(0x1bb)],'GfJqD':_0x5501f5['IPbsD'],'ZyPVM':'profile\x20config\x20set','wRIUj':_0x5501f5[_0x527a45(0x264)],'vQSox':function(_0x48fde8,_0xe3d227,_0x22d780){return _0x5501f5['MIzgu'](_0x48fde8,_0xe3d227,_0x22d780);}};return _0xfb7246['usage'](PROFILE_HELP)['command'](_0x5501f5[_0x527a45(0x26c)],'Add\x20profile\x20configuration',_0x18c8c5=>{const _0x5e2551=_0x527a45;return _0x18c8c5['positional'](_0x5501f5[_0x5e2551(0x195)],{'type':'string','description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x5501f5['cJPgt'],'description':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option']('skip-auth',{'type':_0x5e2551(0x26e),'description':_0x5501f5['PwpNL'],'default':![]})[_0x5e2551(0x1a9)](_0x5e2551(0x21c),{'type':_0x5501f5['kIaLQ'],'description':_0x5e2551(0x1f2)})['option'](_0x5e2551(0x275),{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x5e2551(0x1a9)](_0x5e2551(0x111),{'type':_0x5501f5['kIaLQ'],'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})[_0x5e2551(0x1a9)](_0x5501f5[_0x5e2551(0x1d2)],{'type':_0x5e2551(0x26e),'description':_0x5e2551(0x133),'default':![]})['option'](_0x5501f5[_0x5e2551(0x23f)],{'type':_0x5501f5['cJPgt'],'description':_0x5501f5['zkrtB'],'default':![]})[_0x5e2551(0x1a9)](_0x5e2551(0x262),{'type':'string','array':!![],'description':_0x5e2551(0x194)})['option']('scope',{'type':_0x5e2551(0x156),'choices':['user','project'],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})[_0x5e2551(0x1a9)](_0x5e2551(0x29f),{'type':_0x5e2551(0x26e),'alias':'y','description':_0x5e2551(0x113),'default':![]});},async _0x12a2e9=>{const _0x5e1e92=_0x527a45;await withTelemetry(_0x4f399e[_0x5e1e92(0x20b)],_0x1160e3=>addEnv(_0x12a2e9['profile-name'],{'ci':_0x12a2e9['ci'],'skipAuth':_0x12a2e9['skip-auth'],'url':_0x12a2e9['url'],'force':_0x12a2e9[_0x5e1e92(0x275)],'cdpEndpoint':_0x12a2e9['cdp-endpoint'],'allowInsecureLocalhost':_0x12a2e9['allow-insecure-localhost'],'safeMode':_0x12a2e9[_0x5e1e92(0x11c)],'setupHeader':_0x12a2e9['setup-header'],'scope':_0x12a2e9['scope'],'yes':_0x12a2e9[_0x5e1e92(0x29f)]},_0x1160e3),{'isElectron':Boolean(_0x12a2e9[_0x4f399e['uoaDn']])});})[_0x527a45(0x1c0)](_0x5501f5['ODAAE'],_0x5501f5['wNjIc'],_0x28ad7d=>{const _0x14c9a7=_0x527a45;return _0x28ad7d[_0x14c9a7(0x132)]('profile-name',{'type':_0x5501f5[_0x14c9a7(0x1af)],'description':_0x14c9a7(0x240),'demandOption':!![]});},async _0x2677bc=>{const _0x46796c=_0x527a45;await _0x4f399e[_0x46796c(0x273)](withTelemetry,_0x46796c(0x280),()=>useEnv(_0x2677bc[_0x46796c(0x14b)]));})['command'](_0x5501f5[_0x527a45(0x1de)],_0x527a45(0x17b),_0x884c7b=>{const _0x5da533=_0x527a45;return _0x884c7b['positional'](_0x4f399e[_0x5da533(0x14f)],{'type':_0x5da533(0x156),'description':_0x4f399e['nEwnF'],'demandOption':!![]});},async _0xe58349=>{const _0xdb7041=_0x527a45;await withTelemetry('profile\x20encrypt-auth',()=>authEncrypt(_0xe58349[_0xdb7041(0x265)]));})[_0x527a45(0x1c0)]('ls',_0x5501f5['ESeig'],()=>{},async()=>{const _0x9bd9e=_0x527a45;await withTelemetry(_0x9bd9e(0x254),()=>envList());})[_0x527a45(0x1c0)]('update\x20<profile-name>',_0x527a45(0x144),_0x14577d=>{const _0xcf044b=_0x527a45;return _0x14577d['positional']('profile-name',{'type':_0xcf044b(0x156),'description':_0x4f399e[_0xcf044b(0x225)],'demandOption':!![]})[_0xcf044b(0x1a9)]('allow-insecure-localhost',{'type':_0x4f399e['mSuCm'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)'});},async _0xf2fdb8=>{const _0x41b15e=_0x527a45;await _0x4f399e[_0x41b15e(0x23c)](withTelemetry,_0x4f399e['LczOh'],_0x5a5303=>updateEnv(_0xf2fdb8['profile-name'],_0x5a5303,{'allowInsecureLocalhost':_0xf2fdb8['allow-insecure-localhost']}));})['command'](_0x5501f5[_0x527a45(0x143)],![],_0x5483f7=>{const _0x5933be=_0x527a45;return _0x5483f7['positional'](_0x5933be(0x15f),{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5[_0x5933be(0x255)],'demandOption':!![]});},async _0xedfca3=>{const _0x1612e7=_0x527a45;await _0x5501f5['IeKgP'](withTelemetry,_0x5501f5[_0x1612e7(0x183)],async()=>{const _0x1345df=_0x1612e7,_0x18c90c=process[_0x1345df(0x178)][_0x1345df(0x125)],_0x3183a1=process[_0x1345df(0x178)][_0x1345df(0x274)];(!_0x18c90c||!_0x3183a1)&&(console[_0x1345df(0x1b1)]('Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.'),process['exit'](0x1));const _0x404184=_0xedfca3[_0x1345df(0x15f)],_0x3f7f30=await _0x4f399e['HarrR'](serverSideLogin,_0x404184,{'force':!![]});_0x4f399e['aWAkp'](_0x3f7f30['status'],'not_configured')&&(console[_0x1345df(0x1b1)]('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process[_0x1345df(0x27f)](0x1)),_0x4f399e['aWAkp'](_0x3f7f30[_0x1345df(0x281)],'failed')&&(console[_0x1345df(0x1b1)](_0x1345df(0x249)+(_0x3f7f30[_0x1345df(0x1b1)]??_0x1345df(0x165))),_0x3f7f30['test_output']&&console[_0x1345df(0x1b1)](_0x3f7f30[_0x1345df(0x208)]),process[_0x1345df(0x27f)](0x1)),console['log']('✓\x20Server-side\x20login\x20succeeded\x20for\x20\x27'+_0x404184+'\x27.\x20Session\x20written\x20to\x20cloud\x20profile.');});})[_0x527a45(0x1c0)](_0x527a45(0x1b4),'Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)',_0x3f8788=>{const _0xc0d14=_0x527a45;return _0x3f8788['positional']('profile-name',{'type':_0x5501f5['kIaLQ'],'description':_0xc0d14(0x1f4)})['option']('all',{'type':_0x5501f5[_0xc0d14(0x1db)],'description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})[_0xc0d14(0x1a9)](_0x5501f5['mRAEA'],{'type':_0x5501f5['cJPgt'],'description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})[_0xc0d14(0x1a9)]('yes',{'type':'boolean','alias':'y','description':_0xc0d14(0x25e),'default':![]})[_0xc0d14(0x1a9)](_0x5501f5[_0xc0d14(0x187)],{'type':_0xc0d14(0x26e),'description':_0xc0d14(0x138),'default':![]});},async _0x1b3c8d=>{const _0x5b0566=_0x527a45;await _0x5501f5[_0x5b0566(0x1ac)](withTelemetry,'profile\x20migrate',_0x6540e1=>migrateProfile({'profileName':_0x1b3c8d['profile-name'],'all':_0x1b3c8d[_0x5b0566(0x164)],'dryRun':_0x1b3c8d[_0x5b0566(0x19d)],'yes':_0x1b3c8d[_0x5b0566(0x29f)],'saveCreds':_0x1b3c8d['save-creds']},_0x6540e1));})['command'](_0x527a45(0x2b8),_0x527a45(0x248),_0x4ebc7b=>{const _0x4ebc31=_0x527a45,_0x43ffda={'fqvNo':_0x4ebc31(0x156),'bvBwd':_0x4ebc31(0x155),'QnxDK':_0x4ebc31(0x199),'gDqCa':_0x5501f5['oYIzQ'],'PgWeb':_0x4ebc31(0x154)};return _0x4ebc7b['usage'](PROFILE_CONFIG_HELP)[_0x4ebc31(0x1c0)](_0x5501f5['IqGcH'],_0x5501f5['BKiwm'],_0x48096b=>{const _0x257b6c=_0x4ebc31;return _0x48096b[_0x257b6c(0x132)](_0x4f399e[_0x257b6c(0x14f)],{'type':'string','description':_0x4f399e['nEwnF'],'demandOption':!![]})['positional'](_0x4f399e['JFEjW'],{'type':_0x4f399e[_0x257b6c(0x114)],'description':_0x4f399e['lbbnQ'],'demandOption':!![]})['positional'](_0x4f399e[_0x257b6c(0x11f)],{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0x2e594f=>{const _0x2591d9=_0x4ebc31;await withTelemetry(_0x4f399e[_0x2591d9(0x160)],()=>configSet(_0x2e594f[_0x2591d9(0x265)],_0x2e594f[_0x2591d9(0x199)],_0x2e594f['value']));})[_0x4ebc31(0x1c0)]('get\x20<profile>\x20<key>',_0x4ebc31(0x1f5),_0x6cd551=>{const _0x1aa853=_0x4ebc31;return _0x6cd551['positional'](_0x1aa853(0x265),{'type':_0x43ffda[_0x1aa853(0x118)],'description':_0x43ffda['bvBwd'],'demandOption':!![]})[_0x1aa853(0x132)](_0x43ffda[_0x1aa853(0x25c)],{'type':_0x43ffda['fqvNo'],'description':'Config\x20key','demandOption':!![]});},async _0x3ba866=>{const _0x19e2be=_0x4ebc31;await withTelemetry(_0x43ffda[_0x19e2be(0x224)],()=>configGet(_0x3ba866[_0x19e2be(0x265)],_0x3ba866['key']));})['command'](_0x4ebc31(0x294),'List\x20all\x20config\x20for\x20a\x20profile',_0x1d9495=>{const _0x201930=_0x4ebc31;return _0x1d9495[_0x201930(0x132)](_0x4f399e['ZxvTk'],{'type':_0x4f399e[_0x201930(0x114)],'description':_0x4f399e[_0x201930(0x130)],'demandOption':!![]});},async _0x1184ab=>{await withTelemetry(_0x4f399e['wRIUj'],()=>configList(_0x1184ab['profile']));})['command'](_0x5501f5[_0x4ebc31(0x1ad)],_0x5501f5[_0x4ebc31(0x28b)],_0x3fb867=>{const _0x11bf56=_0x4ebc31;return _0x3fb867['positional'](_0x11bf56(0x265),{'type':_0x43ffda['fqvNo'],'description':_0x11bf56(0x155),'demandOption':!![]})['positional'](_0x43ffda['QnxDK'],{'type':'string','description':_0x43ffda['PgWeb'],'demandOption':!![]});},async _0x1909c8=>{await _0x4f399e['WiCsg'](withTelemetry,'profile\x20config\x20unset',()=>configUnset(_0x1909c8['profile'],_0x1909c8['key']));})['command'](_0x4ebc31(0x20a),_0x5501f5[_0x4ebc31(0x115)],_0x4c5472=>{const _0x1518ef=_0x4ebc31;return _0x4c5472[_0x1518ef(0x132)](_0x1518ef(0x265),{'type':_0x4f399e[_0x1518ef(0x114)],'description':_0x4f399e['nEwnF'],'demandOption':!![]});},async _0x2964d1=>{const _0x4a1e58=_0x4ebc31;await _0x4f399e[_0x4a1e58(0x246)](withTelemetry,_0x4a1e58(0x25d),()=>configReset(_0x2964d1[_0x4a1e58(0x265)]));})[_0x4ebc31(0x188)](0x1,_0x4ebc31(0x1ec));})[_0x527a45(0x188)](0x1,_0x5501f5['SWkkp']);})[_0x14f1d0(0x1c0)](_0x5501f5['eDYNE'],_0x5501f5['ywugR'],()=>{},async()=>{await _0x5501f5['IeKgP'](withTelemetry,_0x5501f5['eDYNE'],()=>status());})['command'](_0x14f1d0(0x17a),'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{await withTelemetry('update',()=>update());})['command']('print-access-token','Print\x20the\x20current\x20CLI\x20access\x20token',()=>{},async()=>{const _0x47e051=_0x14f1d0;await _0x5501f5[_0x47e051(0x12e)](withTelemetry,_0x5501f5['QjXrG'],async()=>{const _0x5b3831=_0x47e051,_0x31169d=await getToken();if(!_0x31169d)throw new Error(_0x5b3831(0x200));console[_0x5b3831(0x12b)](_0x31169d);});})['command']('go',_0x5501f5[_0x14f1d0(0x23d)],_0x306352=>{const _0x33e5c2=_0x14f1d0;return _0x306352[_0x33e5c2(0x1a9)](_0x5501f5[_0x33e5c2(0x244)],{'type':_0x5501f5[_0x33e5c2(0x1af)],'description':_0x5501f5['jXxpx']})['option'](_0x33e5c2(0x265),{'type':_0x5501f5['kIaLQ'],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0x33e5c2(0x1a9)](_0x33e5c2(0x1cf),{'type':'string','description':_0x5501f5['opTrM']})[_0x33e5c2(0x1a9)](_0x33e5c2(0x142),{'type':'number','description':_0x5501f5[_0x33e5c2(0x28a)]})['option'](_0x5501f5[_0x33e5c2(0x1ee)],{'type':_0x33e5c2(0x156),'description':_0x5501f5['EBpmN']})[_0x33e5c2(0x1a9)](_0x33e5c2(0x266),{'type':_0x5501f5['kIaLQ'],'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.'})['option'](_0x33e5c2(0x12c),{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5['Vhbyn']})['option'](_0x33e5c2(0x2aa),{'type':'boolean','description':_0x5501f5[_0x33e5c2(0x2ba)],'default':![]})['option'](_0x5501f5[_0x33e5c2(0x186)],{'type':_0x5501f5[_0x33e5c2(0x1af)],'hidden':!![],'choices':[_0x5501f5['pYTQS'],'partial',_0x5501f5['mIcVt'],'failed','incomplete']})[_0x33e5c2(0x1a9)](_0x33e5c2(0x250),{'type':'boolean','hidden':!![]})['option'](_0x33e5c2(0x178),{'type':_0x5501f5[_0x33e5c2(0x1af)],'hidden':!![]})['option']('task',{'type':'string','hidden':!![]})['option'](_0x33e5c2(0x24c),{'type':_0x5501f5[_0x33e5c2(0x1c9)],'hidden':!![]});},async _0x59d0b0=>{await runGoCommand(_0x59d0b0);})[_0x14f1d0(0x1c0)](_0x5501f5['ZDltT'],![],_0x15ec80=>{const _0x178171=_0x14f1d0,_0x5d0f2f={'qRIjx':function(_0x3f5cc2,_0x52ebfe,_0x4c85a5){return _0x3f5cc2(_0x52ebfe,_0x4c85a5);},'OrUVw':_0x178171(0x226),'WlroT':_0x178171(0x29c),'herDE':function(_0xa1d6f9,_0x2335f1){return _0xa1d6f9(_0x2335f1);}};return _0x15ec80[_0x178171(0x1c0)](_0x5501f5['FLrsA'],![],_0xd7c658=>{const _0x26b090=_0x178171;return _0xd7c658[_0x26b090(0x132)](_0x5501f5[_0x26b090(0x209)],{'type':_0x26b090(0x156),'description':_0x26b090(0x155),'demandOption':!![]});},async _0x414a1f=>{const _0x54066a=_0x178171;_0x5d0f2f[_0x54066a(0x15d)](warnRenamed,_0x5d0f2f['OrUVw'],_0x5d0f2f['WlroT']),await _0x5d0f2f[_0x54066a(0x19f)](authEncrypt,_0x414a1f[_0x54066a(0x265)]);})['demandCommand'](0x1,_0x5501f5[_0x178171(0x268)]);},()=>{})[_0x14f1d0(0x1c0)](_0x5501f5['NFDiF'],![],_0x2d5289=>{const _0x105884=_0x14f1d0;return _0x2d5289['positional']('token',{'type':'string','description':_0x105884(0x197)})['option'](_0x5501f5[_0x105884(0x119)],{'type':'boolean','description':_0x5501f5['RMlNI'],'default':![]})['option'](_0x105884(0x253),{'type':_0x5501f5[_0x105884(0x1af)],'choices':[_0x5501f5['OtGPj'],_0x105884(0x171)],'description':_0x105884(0x1da)})[_0x105884(0x1a9)](_0x105884(0x21c),{'type':_0x105884(0x156),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x105884(0x275),{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x105884(0x1a9)]('skip-auth',{'type':'boolean','description':_0x105884(0x2af),'default':![]})[_0x105884(0x1a9)]('with-deps',{'type':'boolean','description':_0x105884(0x2a5),'default':![]});},async _0x26de8d=>{const _0x493f04=_0x14f1d0;_0x5501f5['dGQHS'](warnRenamed,'ranger\x20start','ranger\x20setup'),await withTelemetry(_0x5501f5['jxwhA'],_0x5df84e=>start(_0x26de8d['token'],{'skipChromium':_0x26de8d['skip-chromium'],'skipAuth':_0x26de8d['skip-auth'],'withDeps':_0x26de8d[_0x493f04(0x22e)],'scope':_0x26de8d['scope'],'url':_0x26de8d[_0x493f04(0x21c)],'force':_0x26de8d[_0x493f04(0x275)]},_0x5df84e));})['command'](_0x14f1d0(0x177),![],_0x49f985=>{const _0x33b544=_0x14f1d0;return _0x49f985[_0x33b544(0x1a9)](_0x5501f5['zJPUr'],{'type':_0x33b544(0x156),'description':_0x5501f5[_0x33b544(0x179)]})['option']('task',{'type':_0x33b544(0x156),'description':_0x5501f5['KiAST']})[_0x33b544(0x1a9)](_0x5501f5[_0x33b544(0x24e)],{'type':_0x5501f5['QSneg'],'description':_0x5501f5[_0x33b544(0x28a)]})['option']('profile',{'type':_0x5501f5['kIaLQ'],'hidden':!![]})['option']('notes',{'type':_0x33b544(0x156),'hidden':!![]})['option']('scenario',{'type':_0x5501f5[_0x33b544(0x1c9)],'hidden':!![]})['option'](_0x5501f5[_0x33b544(0x1ee)],{'type':'string','description':_0x33b544(0x28f)})['option']('base-url',{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5[_0x33b544(0x1fa)]})[_0x33b544(0x1a9)]('model',{'type':_0x5501f5['kIaLQ'],'hidden':!![]})[_0x33b544(0x1a9)](_0x33b544(0x2aa),{'type':_0x33b544(0x26e),'hidden':!![],'default':![]})[_0x33b544(0x1a9)]('debug-outcome',{'type':_0x5501f5['kIaLQ'],'hidden':!![],'choices':['verified',_0x33b544(0x26b),_0x33b544(0x217),'failed',_0x5501f5[_0x33b544(0x20c)]]});},async _0x5348f4=>{const _0x321f34=_0x14f1d0;await _0x5501f5[_0x321f34(0x295)](runGoCommand,_0x5348f4,!![]);})[_0x14f1d0(0x1c0)](_0x14f1d0(0x1e0),![],_0x2d34c1=>{const _0x20a50c=_0x14f1d0;return _0x2d34c1[_0x20a50c(0x132)](_0x20a50c(0x1a4),{'type':'string','description':_0x20a50c(0x25f),'demandOption':!![]})['option']('ci',{'type':_0x5501f5[_0x20a50c(0x1db)],'description':_0x5501f5[_0x20a50c(0x1f9)],'default':![]})['option'](_0x5501f5['OHenx'],{'type':_0x5501f5['cJPgt'],'description':_0x5501f5[_0x20a50c(0x18e)],'default':![]});},async _0x974f0f=>{const _0x3b997b=_0x14f1d0;_0x5501f5[_0x3b997b(0x295)](warnRenamed,_0x5501f5['PAyoq'],'ranger\x20profile\x20add'),await withTelemetry('add\x20env',_0x3073cf=>addEnv(_0x974f0f['env-name'],{'ci':_0x974f0f['ci'],'skipAuth':_0x974f0f['skip-auth']},_0x3073cf));})[_0x14f1d0(0x1c0)](_0x5501f5[_0x14f1d0(0x1c7)],![],_0x479871=>{const _0x503acb=_0x14f1d0;return _0x479871[_0x503acb(0x132)]('env-name',{'type':'string','description':_0x503acb(0x137),'demandOption':!![]});},async _0x45e92b=>{const _0x5a2d8f=_0x14f1d0;warnRenamed(_0x5a2d8f(0x19a),_0x5a2d8f(0x1b2)),await _0x5501f5[_0x5a2d8f(0x12e)](withTelemetry,'use',()=>useEnv(_0x45e92b['env-name']));})['command'](_0x14f1d0(0x2b8),![],_0x3fc34d=>{const _0x295c70=_0x14f1d0,_0x24ec17={'wUDgA':'env','gVwpY':_0x5501f5[_0x295c70(0x18a)],'jyCZS':_0x5501f5['WPNXC'],'oJVeA':_0x295c70(0x156),'LTPUI':_0x295c70(0x271),'tdjnu':function(_0x4c59f5,_0x1821d6,_0xee031d){return _0x5501f5['IeKgP'](_0x4c59f5,_0x1821d6,_0xee031d);},'xcCHg':_0x5501f5[_0x295c70(0x267)],'WCHhc':_0x5501f5['rIsrr'],'XQXUB':_0x295c70(0x28e),'ZkRkx':'key','eiMCo':_0x295c70(0x22d),'rWWcS':_0x5501f5['sQpdl'],'PZaLB':_0x5501f5['xqZiZ']};return _0x3fc34d['command'](_0x295c70(0x214),![],_0x55176d=>{const _0x549584=_0x295c70;return _0x55176d['positional'](_0x24ec17['wUDgA'],{'type':'string','description':_0x24ec17[_0x549584(0x243)],'demandOption':!![]})[_0x549584(0x132)]('key',{'type':_0x549584(0x156),'description':_0x24ec17['jyCZS'],'demandOption':!![]})[_0x549584(0x132)](_0x549584(0x21a),{'type':_0x24ec17[_0x549584(0x19e)],'description':_0x24ec17['LTPUI'],'demandOption':!![]});},async _0x2ad3c7=>{const _0x597ab4=_0x295c70;_0x5501f5[_0x597ab4(0x1ac)](warnRenamed,_0x597ab4(0x174),_0x597ab4(0x129)),await _0x5501f5['glrlP'](withTelemetry,_0x597ab4(0x18c),()=>configSet(_0x2ad3c7['env'],_0x2ad3c7[_0x597ab4(0x199)],_0x2ad3c7['value']));})[_0x295c70(0x1c0)](_0x5501f5['zjnKD'],![],_0x17b6e8=>{const _0x466db7=_0x295c70;return _0x17b6e8['positional'](_0x5501f5[_0x466db7(0x296)],{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5['vWqNX'],'demandOption':!![]})['positional'](_0x466db7(0x199),{'type':_0x466db7(0x156),'description':_0x5501f5['YekPN'],'demandOption':!![]});},async _0x40f789=>{const _0xf504b0=_0x295c70;_0x24ec17[_0xf504b0(0x190)](warnRenamed,_0x24ec17['xcCHg'],_0x24ec17['WCHhc']),await withTelemetry(_0x24ec17['XQXUB'],()=>configGet(_0x40f789[_0xf504b0(0x178)],_0x40f789[_0xf504b0(0x199)]));})['command'](_0x295c70(0x228),![],_0x4c7d96=>{const _0x9672fa=_0x295c70;return _0x4c7d96[_0x9672fa(0x132)](_0x24ec17[_0x9672fa(0x1c5)],{'type':_0x9672fa(0x156),'description':_0x24ec17['gVwpY'],'demandOption':!![]});},async _0x3f1b1f=>{const _0x26b287=_0x295c70;warnRenamed(_0x5501f5[_0x26b287(0x28c)],'ranger\x20profile\x20config\x20list'),await withTelemetry(_0x26b287(0x238),()=>configList(_0x3f1b1f[_0x26b287(0x178)]));})['command'](_0x5501f5['mwZpX'],![],_0x452fd4=>{const _0x21f753=_0x295c70;return _0x452fd4[_0x21f753(0x132)](_0x24ec17[_0x21f753(0x1c5)],{'type':_0x24ec17['oJVeA'],'description':_0x24ec17['gVwpY'],'demandOption':!![]})['positional'](_0x24ec17['ZkRkx'],{'type':'string','description':_0x21f753(0x154),'demandOption':!![]});},async _0xc5574b=>{const _0x1f5145=_0x295c70;_0x24ec17['tdjnu'](warnRenamed,_0x24ec17['eiMCo'],_0x24ec17[_0x1f5145(0x219)]),await withTelemetry(_0x24ec17['PZaLB'],()=>configUnset(_0xc5574b[_0x1f5145(0x178)],_0xc5574b['key']));})['demandCommand'](0x1,_0x295c70(0x112));})['command'](_0x5501f5[_0x14f1d0(0x296)],![],_0x2f55cf=>{const _0x5257b0=_0x14f1d0,_0x449010={'BVyHf':'env\x20update'};return _0x2f55cf['command']('ls',![],()=>{},async()=>{const _0x1cba29=_0x1cda;_0x5501f5['IeKgP'](warnRenamed,_0x1cba29(0x17e),_0x5501f5[_0x1cba29(0x1c2)]),await withTelemetry(_0x5501f5['VGsIk'],()=>envList());})[_0x5257b0(0x1c0)](_0x5501f5['owZLc'],![],_0xd9d16a=>{const _0x5dd088=_0x5257b0;return _0xd9d16a[_0x5dd088(0x132)](_0x5501f5[_0x5dd088(0x290)],{'type':'string','description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x432e8f=>{const _0x32a216=_0x5257b0;warnRenamed(_0x32a216(0x211),'ranger\x20profile\x20update'),await withTelemetry(_0x449010['BVyHf'],_0x2193fc=>updateEnv(_0x432e8f[_0x32a216(0x1a4)],_0x2193fc));})[_0x5257b0(0x188)](0x1,_0x5501f5[_0x5257b0(0x1d8)]);})[_0x14f1d0(0x1c0)]('feature',![],_0x5add83=>{const _0x18427f=_0x14f1d0,_0x1f9ad3={'IgfBb':_0x5501f5[_0x18427f(0x110)],'KvWzh':_0x5501f5['kIaLQ'],'zZZch':_0x5501f5['zKZFH'],'Dduwq':_0x5501f5[_0x18427f(0x2b2)],'WZiZB':_0x18427f(0x2b3),'KLDJh':_0x5501f5['ICxQn'],'hByNq':_0x18427f(0x1cc),'UqBnw':_0x5501f5['BgAyj'],'bErSl':_0x5501f5[_0x18427f(0x1cd)],'usnbM':function(_0x57fbaa,_0x51d3da,_0x63da2c){return _0x57fbaa(_0x51d3da,_0x63da2c);},'KQFOP':_0x5501f5[_0x18427f(0x1c4)],'mSjSZ':function(_0x438250,_0x40b77e,_0x2b5fa1){return _0x5501f5['MtoEN'](_0x438250,_0x40b77e,_0x2b5fa1);},'nGvBz':_0x5501f5['ikeVf'],'SwUub':function(_0x465293,_0x419a16,_0x1a5ea){return _0x465293(_0x419a16,_0x1a5ea);},'GGfyQ':_0x5501f5['Ebvpu'],'YFNlG':_0x18427f(0x2b4),'HByZo':function(_0x88070e,_0x59424a,_0xcae639){const _0x346d0e=_0x18427f;return _0x5501f5[_0x346d0e(0x202)](_0x88070e,_0x59424a,_0xcae639);},'Pdjoq':_0x18427f(0x1b7)};return _0x5add83[_0x18427f(0x1c0)](_0x18427f(0x2b5),![],_0x8ffc30=>{const _0x28af7d=_0x18427f;return _0x8ffc30[_0x28af7d(0x132)](_0x1f9ad3['IgfBb'],{'type':_0x1f9ad3['KvWzh'],'description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x1f9ad3['zZZch'],{'type':_0x1f9ad3['KvWzh'],'alias':'d','description':_0x1f9ad3[_0x28af7d(0x176)]})['option'](_0x1f9ad3['WZiZB'],{'type':'array','alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x28af7d(0x1a9)](_0x1f9ad3['KLDJh'],{'type':'array','hidden':!![]});},async _0x51d48=>{const _0x14ba1a=_0x18427f;warnRenamed(_0x1f9ad3[_0x14ba1a(0x1aa)],_0x14ba1a(0x16e)),warnFlagRenamed(_0x1f9ad3[_0x14ba1a(0x1b5)],_0x1f9ad3[_0x14ba1a(0x134)],'--scenario');const _0x40ace7=_0x51d48['scenario']||_0x51d48['checklist'];await withTelemetry(_0x14ba1a(0x212),()=>featureCreate(_0x51d48['name'],{'description':_0x51d48[_0x14ba1a(0x2a4)],'scenarios':_0x40ace7}));})[_0x18427f(0x1c0)]('list',![],_0x4a2ae8=>{const _0x1e8c9a=_0x18427f;return _0x4a2ae8['option'](_0x1e8c9a(0x12a),{'type':'boolean','description':_0x5501f5[_0x1e8c9a(0x10f)]})['option'](_0x5501f5[_0x1e8c9a(0x120)],{'type':'number','alias':'l','description':_0x1e8c9a(0x1c3),'default':0xa})['option'](_0x5501f5[_0x1e8c9a(0x263)],{'type':_0x1e8c9a(0x287),'alias':'o','description':_0x5501f5[_0x1e8c9a(0x29e)],'default':0x0})['option'](_0x5501f5['SIFhL'],{'type':_0x1e8c9a(0x26e),'alias':'d','description':_0x1e8c9a(0x24a),'default':![]});},async _0x31ec4f=>{const _0x3f0e84=_0x18427f;_0x1f9ad3[_0x3f0e84(0x1a7)](warnRenamed,_0x3f0e84(0x2ab),_0x3f0e84(0x25a)),await withTelemetry(_0x3f0e84(0x1ef),()=>featureList({'currentBranch':_0x31ec4f[_0x3f0e84(0x12a)],'limit':_0x31ec4f[_0x3f0e84(0x220)],'offset':_0x31ec4f['offset'],'includeDeleted':_0x31ec4f['include-deleted']}));})['command']('show\x20[id]',![],_0x8a0cd9=>{const _0x5ea8d8=_0x18427f;return _0x8a0cd9[_0x5ea8d8(0x132)]('id',{'type':_0x5501f5[_0x5ea8d8(0x1af)],'description':_0x5501f5['ZqFGT']});},async _0xa2d0a8=>{const _0x259b3c=_0x18427f;warnRenamed('ranger\x20feature\x20show',_0x1f9ad3[_0x259b3c(0x168)]),await _0x1f9ad3[_0x259b3c(0x16d)](withTelemetry,'feature\x20show',()=>featureShow(_0xa2d0a8['id']));})['command'](_0x5501f5['KudMo'],![],_0x5c8ff5=>{const _0x3c7121=_0x18427f;return _0x5c8ff5['positional']('id',{'type':_0x3c7121(0x156),'description':_0x3c7121(0x13f)});},async _0x2703fb=>{const _0x44113c=_0x18427f;_0x5501f5[_0x44113c(0x21b)](warnRenamed,_0x5501f5[_0x44113c(0x239)],_0x5501f5['ntlZb']),await withTelemetry(_0x5501f5[_0x44113c(0x2b1)],()=>featureResume(_0x2703fb['id']));})[_0x18427f(0x1c0)]('add-checklist-item\x20<description>',![],_0x173900=>{const _0xa7d099=_0x18427f;return _0x173900['positional']('description',{'type':_0xa7d099(0x156),'description':_0x1f9ad3['nGvBz'],'demandOption':!![]})[_0xa7d099(0x1a9)]('id',{'type':_0x1f9ad3[_0xa7d099(0x293)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x83badf=>{const _0x59609d=_0x18427f;_0x1f9ad3[_0x59609d(0x128)](warnRenamed,_0x59609d(0x222),_0x1f9ad3['GGfyQ']),await withTelemetry(_0x59609d(0x193),()=>featureAddScenario(_0x83badf['description'],_0x83badf['id']));})[_0x18427f(0x1c0)](_0x5501f5['zgxsS'],![],_0x249abb=>{const _0x591c2d=_0x18427f;return _0x249abb['positional']('id',{'type':_0x591c2d(0x156),'description':_0x1f9ad3[_0x591c2d(0x233)]});},async _0xfac1a5=>{const _0x303168=_0x18427f;warnRenamed(_0x5501f5['IEQfg'],_0x5501f5['LONjO']),await _0x5501f5['cMIqg'](withTelemetry,_0x303168(0x192),()=>featureGetReview(_0xfac1a5['id']));})[_0x18427f(0x1c0)](_0x18427f(0x14a),![],_0x17ed15=>{const _0x2c6104=_0x18427f;return _0x17ed15['positional']('id',{'type':_0x5501f5[_0x2c6104(0x1af)],'description':_0x2c6104(0x291)});},async _0x1c7394=>{const _0x58139c=_0x18427f;warnRenamed(_0x58139c(0x1b6),_0x58139c(0x2ac)),await withTelemetry(_0x5501f5[_0x58139c(0x13d)],()=>featureDelete(_0x1c7394['id']));})['command'](_0x5501f5[_0x18427f(0x18b)],![],_0x2f304c=>{const _0x4ab0d4=_0x18427f;return _0x2f304c['positional']('id',{'type':'string','description':_0x5501f5[_0x4ab0d4(0x191)],'demandOption':!![]});},async _0x45819a=>{const _0x1c48fd=_0x18427f;_0x1f9ad3['HByZo'](warnRenamed,_0x1f9ad3[_0x1c48fd(0x140)],'ranger\x20restore'),await withTelemetry('feature\x20restore',()=>featureRestore(_0x45819a['id']));})[_0x18427f(0x188)](0x1,_0x5501f5['KCuQJ']);})[_0x14f1d0(0x1c0)](_0x5501f5['haEWH'],![],_0x85c769=>{const _0x121444=_0x14f1d0,_0x4e9f0f={'IVSTT':_0x5501f5['kIaLQ'],'RCAIk':_0x5501f5[_0x121444(0x28d)],'okpHR':function(_0x5696ab,_0x544d61,_0x1ec785){const _0x54ab06=_0x121444;return _0x5501f5[_0x54ab06(0x286)](_0x5696ab,_0x544d61,_0x1ec785);}};return _0x85c769['command'](_0x121444(0x27a),_0x5501f5['YxCLd'],_0x14922f=>{const _0x13c110=_0x121444;return _0x14922f['option']('session-id',{'type':_0x4e9f0f[_0x13c110(0x205)],'description':_0x4e9f0f[_0x13c110(0x1fc)]});},async _0x13253e=>{const _0x49dc73=_0x121444;await withTelemetry('hook:enable',()=>hook('enable',_0x13253e[_0x49dc73(0x1bc)]));})[_0x121444(0x1c0)]('disable',_0x121444(0x15b),_0x425573=>{const _0x25a8fa=_0x121444;return _0x425573['option'](_0x25a8fa(0x1bc),{'type':_0x25a8fa(0x156),'description':_0x4e9f0f[_0x25a8fa(0x1fc)]});},async _0x354d70=>{const _0x35f982=_0x121444;await _0x4e9f0f['okpHR'](withTelemetry,_0x35f982(0x2a6),()=>hook(_0x35f982(0x1df),_0x354d70[_0x35f982(0x1bc)]));})[_0x121444(0x1a9)](_0x5501f5[_0x121444(0x110)],{'type':'string','description':_0x121444(0x150)})['option'](_0x121444(0x1bc),{'type':_0x5501f5[_0x121444(0x1af)],'description':_0x5501f5['GqwMB']});},async _0x52a729=>{_0x52a729['name']&&await hook(_0x52a729['name'],_0x52a729['session-id']);})['demandCommand'](0x1,_0x5501f5[_0x14f1d0(0x169)])['strictCommands']()['fail'](async(_0x5dd726,_0x5a993c,_0x3424e4)=>{const _0x34129f=_0x14f1d0,_0x34830b=sanitizeArgs(process[_0x34129f(0x13b)][_0x34129f(0x236)](0x2)),_0x1f99a0=_0x5501f5[_0x34129f(0x23e)](getErrorType,_0x5dd726,_0x5a993c);if(_0x5dd726&&_0x5dd726[_0x34129f(0x13e)](_0x5501f5['SVJOe'])){const _0x10b901=process['argv'][0x2];console['error'](_0x34129f(0x1fd)+_0x10b901),console[_0x34129f(0x1b1)](_0x5501f5[_0x34129f(0x282)]);}else{if(_0x5dd726)console['error']('\x0a'+_0x5dd726+'\x0a');else _0x5a993c&&console['error']('\x0aError:\x20'+_0x5a993c['message']+'\x0a');}await logDesirePath({'rawCommand':_0x34830b,'errorMessage':_0x5dd726||_0x5a993c?.[_0x34129f(0x278)],'errorType':_0x1f99a0});const _0x362676=getCurrentCollector();_0x362676&&await _0x362676[_0x34129f(0x27c)](_0x5a993c||new Error(_0x5dd726||_0x5501f5[_0x34129f(0x206)])),process['exit'](0x1);})[_0x14f1d0(0x1e2)](_0x5501f5[_0x14f1d0(0x146)](_0x5501f5['lpGVt'],'\x20\x20https://docs.ranger.net\x0a')+_0x5501f5['auDLl'])[_0x14f1d0(0x2a9)]()['alias'](_0x5501f5['RhKhj'],'h');}process[_0x14be9b(0x178)][_0x14be9b(0x1d0)]!=='test'&&buildParser()[_0x14be9b(0x122)]();
|
|
2
|
+
const _0x4f3969=_0x1065;(function(_0x45a210,_0xac6257){const _0x17d01a=_0x1065,_0x2e431a=_0x45a210();while(!![]){try{const _0x45ebb7=-parseInt(_0x17d01a(0x1d4))/0x1+parseInt(_0x17d01a(0x145))/0x2+-parseInt(_0x17d01a(0x255))/0x3+parseInt(_0x17d01a(0x214))/0x4*(-parseInt(_0x17d01a(0x21a))/0x5)+parseInt(_0x17d01a(0x147))/0x6+parseInt(_0x17d01a(0xe2))/0x7*(parseInt(_0x17d01a(0xd9))/0x8)+-parseInt(_0x17d01a(0x18d))/0x9*(-parseInt(_0x17d01a(0xff))/0xa);if(_0x45ebb7===_0xac6257)break;else _0x2e431a['push'](_0x2e431a['shift']());}catch(_0x49b028){_0x2e431a['push'](_0x2e431a['shift']());}}}(_0x36f0,0xacfee));import _0xd33391 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x135f42=_0x1065,_0x51f608={'XocWf':function(_0x56fd7c,_0x40d239){return _0x56fd7c!==_0x40d239;},'JrlKX':function(_0x4c5e63,_0x741ff5){return _0x4c5e63(_0x741ff5);},'sjecw':'.ranger','BXfer':function(_0xe9f035,_0x4aca08,_0x14ae6c){return _0xe9f035(_0x4aca08,_0x14ae6c);},'sKSKS':_0x135f42(0x131)};let _0x1ced70=process[_0x135f42(0x188)]();const _0x4c8b17=parse(_0x1ced70)[_0x135f42(0xf1)];while(_0x51f608['XocWf'](_0x1ced70,_0x4c8b17)){if(_0x51f608[_0x135f42(0x1ee)](existsSync,join(_0x1ced70,_0x51f608[_0x135f42(0x260)]))||existsSync(_0x51f608[_0x135f42(0x1eb)](join,_0x1ced70,_0x51f608[_0x135f42(0x1c9)])))return _0x1ced70;_0x1ced70=_0x51f608['JrlKX'](dirname,_0x1ced70);}return process['cwd']();}function _0x1065(_0x40a45b,_0x415522){_0x40a45b=_0x40a45b-0x92;const _0x36f00d=_0x36f0();let _0x1065f8=_0x36f00d[_0x40a45b];return _0x1065f8;}_0xd33391[_0x4f3969(0x11a)]({'path':join(findProjectRoot(),'.env')});import _0x2edbe2 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,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{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'](_0x4f3969(0x16d),async _0x19d4ee=>{const _0x41a38e={'wUfhS':function(_0x437910){return _0x437910();}},_0x406ae7=_0x41a38e['wUfhS'](getCurrentCollector);_0x406ae7&&await _0x406ae7['trackCommandError'](_0x19d4ee),process['exitCode']=0x1;});function _0x36f0(){const _0x166db1=['auth','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\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\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x20\x20migrate\x20[<profile>]\x20\x20\x20\x20\x20\x20\x20Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20migrate\x20--all\x20--dry-run','with-deps','--profile','Scenario\x20description','MzoLg','env','Feature\x20review\x20name','task','tokenOrSubcommand','aoREf','mcp','ICyKT','usage','add\x20env\x20<env-name>','NeWsR','Config\x20value','YwMXE','\x0aError:\x20','.\x20[','profile\x20add','dry-run','ranger\x20profile\x20update','boolean','url','KGLYb','zWONq','item','MHGXQ','Install\x20skills\x20for\x20OpenCode','array','force','show\x20[id]','current-branch','json','hook:enable','report','enable','ranger\x20profile\x20config\x20set','RANGER_PROFILE','edit-scenario\x20<description>','SFbum','RllvJ','yaWFy','16DXPeBu','fBgIn','GHzyh','TsLSO','vLKco','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','ZxwUG','Cloud\x20profile\x20name','eEQKA','1569106GTgLwD','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','get-review\x20[id]','xWYWQ','value','restore\x20<id>','cxdHP','Lejll','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','fPoTt','dcTOA','cleuj','demandCommand','Ranger\x20API\x20token\x20(rngr_...)','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','root','Unknown\x20error','Print\x20the\x20current\x20CLI\x20access\x20token','kheXx','disable','reset\x20<profile>','ranger\x20feature\x20create','uLZad','SARgk','profile\x20config\x20unset','cNieb','add\x20env','delete','Config\x20key','6180FYXkKS','resume','lScpd','zoEoo','string','TGDrw','YXduf','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','Name\x20of\x20the\x20environment\x20to\x20update','skip-auth','XVeLK','PgpXB','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','partial','dmvdY','profile\x20config\x20get','test_output','bOuzB','setup:all','QvweT','RoPHB','Config\x20key\x20to\x20remove','pTULP','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','JIqKw','command','qbjvR','config','show','Authenticate\x20via\x20MCP\x20proxy','\x20PARTIAL','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','Feature\x20review\x20ID','profile\x20config\x20set','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','pyVbp','PZNiu','add\x20<profile-name>','Authenticate\x20with\x20Ranger','limit','OKLbh','CVWeu','VpwTX','ILtCa','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','zrefy','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','sRdOx','hook','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','.env','Update\x20authentication\x20for\x20an\x20existing\x20profile','ranger\x20go','yyrWk','ranger\x20profile\x20ls','novZq','HWGpa','CyAEY','iHCzI','zaGpv','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','Restore\x20a\x20soft-deleted\x20feature\x20review','kwrYl','GutHx','verify-feature','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','laYWs','positional','yes','rcSnz','703266ukfAoI','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','626166hFFccY','sHGmM','checklist','exclude-scenario','louPB','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','incomplete','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','Add\x20profile\x20configuration','Wiwfn','OHjED','NWPRD','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','ULPlh','IegJE','CAcIQ','issues','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','--notes','YobWz','fVjHB','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','aBBVm','QfOIS','profile','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','message','mcp-bootstrap','nBlIt','fvMlb','user','hDVns','ranger\x20show','length','notes','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','add-scenario\x20<description>','profile\x20config\x20reset','unhandledRejection','list\x20<env>','mUghn','DUeOn','unknown\x20error','SoWVW','KHVWZ','Example:\x20ranger\x20create\x20my-feature','AtTCQ','EcOCC','option','Unknown\x20command','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','clean','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','SLcwX','ranger','FBhMd','cCLdq','Skip\x20Chromium\x20browser\x20installation','pgqob','use\x20<env-name>','FcKlT','status','restore','yZNKw','GlWPp','cwd','feature\x20get-feedback','ranger\x20auth\x20encrypt','miZmX','sTcuU','21501FBYvjx','JVCLp','NBDja','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','KFazf','Name\x20of\x20the\x20environment','base-url','List\x20all\x20profiles','Reason:\x20','OxOIY','setup:profiles','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','Install\x20scope\x20for\x20plugin\x20and\x20skills','eUypO','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','NiWKH','ranger\x20profile\x20config\x20get','BglqR','Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)','oxIoj','include-deleted','zhHDo','ranger\x20profile\x20use','jBuhb','setup-ci\x20<token>','tdhvP','NhVhO','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','slice','Profile\x20name','RKvQt','Scenario\x20number\x20to\x20edit\x20(1-based)','all','LJRtZ','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','update\x20<env-name>','print-access-token','evaluation','ranger\x20profile\x20encrypt-auth','help','miadn','frnaR','Where\x20to\x20store\x20the\x20profile','ubMRh','update\x20<profile-name>','offset','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','name','YLgsl','profiles','zvCFR','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','cdp-endpoint','fGTIE','XFxVj','LHszE','Scenario\x20index\x20(1-based)','ViGNY','Skip\x20browser\x20authentication','scenario','sKSKS','SEqEu','start-path','rJYMr','key','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','gYcnU','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','AioVb','Gnpzs','432257dpSdFj','--scenario','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','FOFUK','BqhWc','ranger\x20add-scenario','scriptName','Czbhp','lOLvv','Skip\x20authentication','Optional\x20feature\x20ID','log','report\x20[id]','env\x20update','fmEIx','mXHID','wWzbi','CqPFI','feature\x20resume','QbGfI','edit-scenario','griXF','KqkXG','BXfer','tqhHZ','goujk','JrlKX','description','Name\x20of\x20the\x20profile\x20to\x20update','skip-chromium','Summary:\x20','uNgFI','add-checklist-item\x20<description>','\x20VERIFIED','CeuSH','ranger\x20feature\x20resume','ranger\x20config\x20unset','Feature\x20review\x20description','yWjmx','kAZMx','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile\x20(cloud\x20profiles\x20only)','dvdFs','number','failed','YbWzF','kPgLU','Subcommand\x20or\x20API\x20token\x20(rngr_...)','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','error','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','get\x20<profile>\x20<key>','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','cZCvk','kmBet','test','update','login','version','GitgC','\x0aUnknown\x20command:\x20','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','cXnKz','map','save-creds','25052eDUxeC','list','HlqSZ','mgXXJ','HXAVr','lwRYG','370VqDhcU','XeHMx','GjBHZ','scope','You\x20must\x20specify\x20a\x20config\x20subcommand','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','HGUtP','create\x20<name>','allow-insecure-localhost','deps','opencode','ycJPq','pXFAQ','model','GIbSo','AdLQI','ezFgJ','uWnrK','cKtTV','kkKaE','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','Switch\x20to\x20using\x20a\x20specific\x20profile','exit','setup-header','VhoCh','HtqDx','\x20\x20https://docs.ranger.net\x0a','\x20is\x20now\x20','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','pcJwi','login\x20<name>','jNiaw','ranger\x20create','RYKoe','tndLw','EgIzg','ranger\x20feature\x20delete','summary','ranger\x20config\x20list','ranger\x20config\x20set','get\x20<env>\x20<key>','not_configured','session-id','rgROo','ohsSn','debug-outcome','iPnYi','LvLIT','Alias\x20for\x20--mcp-bootstrap','qINQG','Name\x20of\x20the\x20profile','✓\x20Authenticated\x20to\x20','repeat','Manage\x20profiles','setup-ci','profile-name','Uewsa','lcCmK','Include\x20soft-deleted\x20feature\x20reviews','2329209jjvqqf','feature\x20show','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','organizationName','argv','LaAiE','token','list\x20<profile>','setup:skills','jYrCl','hSUao','sjecw','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','nCKwS','Login\x20failed:\x20','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','piemM','GGmeF','zVdpn','env-name','trackCommandError','jRznD','vTUeO','use\x20<profile-name>','bhCOX','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','ngJJo','set\x20<profile>\x20<key>\x20<value>','\x27.\x20Session\x20written\x20to\x20cloud\x20profile.','qnExo','yOkop','resume\x20[id]','CIVOg','delete\x20[id]','encrypt\x20<profile>','drzWh','feature\x20restore','Number\x20of\x20feature\x20reviews\x20to\x20skip','project','feature\x20list'];_0x36f0=function(){return _0x166db1;};return _0x36f0();}const rawArgs=process['argv'][_0x4f3969(0x1a9)](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\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\x20Set\x20up\x20a\x20local\x20browser\x20profile\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/update/config/encrypt-auth)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\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\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\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=_0x4f3969(0xae),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aProfile\x20config.\x20Routes\x20automatically\x20based\x20on\x20where\x20the\x20profile\x20lives:\x0a\x20\x20-\x20Local\x20profiles\x20write\x20to\x20.ranger/<env>/settings.json\x0a\x20\x20-\x20Cloud\x20profiles\x20write\x20a\x20local\x20overlay\x20in\x20~/.ranger/projects.json\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\x20(effective\x20value\x20for\x20cloud\x20profiles)\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\x20local\x20overrides\x20(cloud\x20profiles\x20only)\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override\x20for\x20cloud\x20profiles)\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(_0x1f65cf,_0x8bd015){const _0x3e2eab=_0x4f3969;console['error']('\x0a'+_0x1f65cf+_0x3e2eab(0x235)+_0x8bd015+'\x0a');}function argUsed(_0x33e021){return rawArgs['some'](_0x2584e3=>_0x2584e3===_0x33e021||_0x2584e3['startsWith'](_0x33e021+'='));}function warnFlagRenamed(_0x913a,_0x290255,_0x5bdd7b){const _0x45e1b6={'XAbzs':function(_0x3f7fbf,_0xe3594a){return _0x3f7fbf(_0xe3594a);},'zxThS':function(_0xec6471,_0x40a9f6,_0xb34b1d){return _0xec6471(_0x40a9f6,_0xb34b1d);}};_0x45e1b6['XAbzs'](argUsed,_0x290255)&&_0x45e1b6['zxThS'](warnRenamed,_0x913a+'\x20'+_0x290255,_0x913a+'\x20'+_0x5bdd7b);}async function runGoCommand(_0x48e958,_0x5f45db=![]){const _0x494a25=_0x4f3969,_0x1a6646={'EZjnG':function(_0x542246,_0x535d4e,_0x3dd7db){return _0x542246(_0x535d4e,_0x3dd7db);},'zfKwr':'ranger\x20verify-feature','VhoCh':'ranger\x20go','NJhIg':_0x494a25(0xb0),'rLWaH':function(_0x367468,_0x208f7a,_0x5f1c4d,_0x5f4bcf){return _0x367468(_0x208f7a,_0x5f1c4d,_0x5f4bcf);},'ADtqb':function(_0x15cb10){return _0x15cb10();},'Czbhp':function(_0x4deebd,_0x4ee006){return _0x4deebd(_0x4ee006);},'Wiwfn':'base-url','ULPlh':'debug-address-comments','ICyKT':function(_0x97d8b1,_0x16a35c){return _0x97d8b1+_0x16a35c;},'YXduf':'verified','BLqrr':'\x20INCOMPLETE','GutHx':_0x494a25(0x10c),'AfUBz':_0x494a25(0x11d),'GHzyh':function(_0x45881b,_0x5dffaf){return _0x45881b===_0x5dffaf;},'UwDhk':'blocked','Uewsa':'\x20FAILED','tdhvP':'\x0aIssues:'};_0x5f45db&&_0x1a6646['EZjnG'](warnRenamed,_0x1a6646['zfKwr'],_0x1a6646[_0x494a25(0x232)]);warnFlagRenamed('ranger\x20go','--env',_0x1a6646['NJhIg']),warnFlagRenamed(_0x494a25(0x133),'--task',_0x494a25(0x159)),_0x1a6646['rLWaH'](warnFlagRenamed,_0x1a6646['VhoCh'],'--item','--scenario');const _0x281d5f=await loadRangerConfig(),_0x3dcf41=_0x1a6646['ADtqb'](isByokEnabled),_0x3ef4a1=_0x48e958[_0x494a25(0x227)],_0x366e24=_0x281d5f['model'],_0x36518d=await _0x1a6646[_0x494a25(0x1db)](verifyFeature,{'featureId':_0x48e958['feature'],'profile':_0x48e958['profile']??_0x48e958[_0x494a25(0xb3)]??process[_0x494a25(0xb3)][_0x494a25(0xd4)],'notes':_0x48e958['notes']??_0x48e958[_0x494a25(0xb5)],'scenario':_0x48e958[_0x494a25(0x1c8)]??_0x48e958['item'],'startPath':_0x48e958['start-path'],'baseUrl':_0x48e958[_0x1a6646[_0x494a25(0x150)]],'debugOutcome':_0x48e958['debug-outcome'],'debugAddressComments':_0x48e958[_0x1a6646[_0x494a25(0x154)]],'headed':_0x48e958['headed'],'byokEnabled':_0x3dcf41,'flagVerifyModel':_0x3ef4a1,'configVerifyModel':_0x366e24});console[_0x494a25(0x1df)](_0x1a6646[_0x494a25(0xb9)]('\x0a','='[_0x494a25(0x24e)](0x3c))),console[_0x494a25(0x1df)](_0x36518d[_0x494a25(0x1b2)]===_0x1a6646['YXduf']?_0x494a25(0x1f5):_0x36518d['evaluation']==='incomplete'?_0x1a6646['BLqrr']:_0x36518d['evaluation']===_0x1a6646[_0x494a25(0x13e)]?_0x1a6646['AfUBz']:_0x1a6646[_0x494a25(0xdb)](_0x36518d[_0x494a25(0x1b2)],_0x1a6646['UwDhk'])?'\x20BLOCKED':_0x1a6646[_0x494a25(0x252)]),console[_0x494a25(0x1df)]('='['repeat'](0x3c)),console['log'](_0x494a25(0x1f2)+_0x36518d[_0x494a25(0x23f)]),console['log']('Evaluation:\x20'+_0x36518d[_0x494a25(0x1b2)]),console[_0x494a25(0x1df)](_0x494a25(0x195)+_0x36518d['evaluationReason']),_0x36518d[_0x494a25(0x157)]?.[_0x494a25(0x168)]&&(console['log'](_0x1a6646[_0x494a25(0x1a6)]),_0x36518d['issues']['forEach']((_0x614e21,_0x541e0d)=>{const _0x54e78f=_0x494a25;console['log']('\x0a'+(_0x541e0d+0x1)+_0x54e78f(0xc0)+_0x614e21['severity']+']\x20'+_0x614e21['description']);})),process['exit'](_0x1a6646['GHzyh'](_0x36518d['evaluation'],_0x1a6646[_0x494a25(0x105)])?0x0:0x1);}export function buildParser(_0x5111b1){const _0x3b6247=_0x4f3969,_0x1bf278={'AioVb':'name','Gnpzs':'string','LHszE':_0x3b6247(0xb4),'kylKf':'description','YUYbz':_0x3b6247(0x1f9),'nBlIt':'scenario','laYWs':_0x3b6247(0xcb),'bOuzB':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','Lejll':_0x3b6247(0x21f),'GIbSo':_0x3b6247(0x174),'noWzz':function(_0x5ed065,_0x4d9622,_0x1baecd,_0x19f8e8){return _0x5ed065(_0x4d9622,_0x1baecd,_0x19f8e8);},'wxrWe':'ranger\x20create','fkhjo':'--checklist','fDxLb':'--scenario','eeHvi':'create','zvCFR':'boolean','yZNKw':_0x3b6247(0x126),'NWPRD':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','JVCLp':_0x3b6247(0x1fe),'HlqSZ':_0x3b6247(0xaa),'zVdpn':function(_0x24eeed,_0x54d032,_0x14363f){return _0x24eeed(_0x54d032,_0x14363f);},'MHGXQ':_0x3b6247(0x11f),'bhCOX':function(_0x2eb6f8,_0x42abb9,_0x57495d){return _0x2eb6f8(_0x42abb9,_0x57495d);},'rGHOH':_0x3b6247(0x11b),'XJVRZ':_0x3b6247(0x10b),'FlUqG':_0x3b6247(0x100),'CjqeH':_0x3b6247(0xb1),'GlWPp':_0x3b6247(0x210),'RllvJ':_0x3b6247(0x1ac),'lScpd':function(_0xb91929,_0x14c6b4,_0x4d9f65){return _0xb91929(_0x14c6b4,_0x4d9f65);},'ubMRh':_0x3b6247(0x14a),'HtqDx':function(_0x1c6c8f,_0x38277f,_0x292132){return _0x1c6c8f(_0x38277f,_0x292132);},'LaAiE':function(_0xef5362,_0x3fa4c2,_0x9a0e1){return _0xef5362(_0x3fa4c2,_0x9a0e1);},'ezFgJ':'get-review','OWSCd':function(_0x37f5da,_0x436917,_0x19f8be){return _0x37f5da(_0x436917,_0x19f8be);},'mXHID':'Feature\x20review\x20ID\x20to\x20restore','sHGmM':function(_0x4af2ad,_0xd5ca48,_0x515014){return _0x4af2ad(_0xd5ca48,_0x515014);},'bxUkw':function(_0x520729,_0x41cc4e,_0x5e76d9){return _0x520729(_0x41cc4e,_0x5e76d9);},'IMsrg':_0x3b6247(0x111),'sTcuU':_0x3b6247(0xaf),'eTCuP':'token','DCJXN':'mcp','DzrHo':_0x3b6247(0x11c),'SFbum':_0x3b6247(0x21d),'fvMlb':_0x3b6247(0x197),'pXFAQ':_0x3b6247(0x1f1),'fVjHB':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','izjfl':'url','hgjfd':'mcp-bootstrap','tqhHZ':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','SEqEu':function(_0x4e4932,_0x2423e9){return _0x4e4932(_0x2423e9);},'BwdZB':'setup:login','LxMDq':function(_0x502632){return _0x502632();},'OxOIY':_0x3b6247(0x1b7),'TGDrw':_0x3b6247(0x222),'JIqKw':_0x3b6247(0x202),'uuqOT':'Run\x20full\x20interactive\x20setup','cXnKz':_0x3b6247(0x223),'XVeLK':'Install\x20Chromium\x20browser\x20binary','eEQKA':'skills','ENmdj':_0x3b6247(0x121),'vbiQx':_0x3b6247(0x94),'iHCzI':'skip-auth','zhHDo':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','FcKlT':'API\x20token','zLlea':'start','cxdHP':'Ranger\x20API\x20token','GitgC':'profile','YobWz':_0x3b6247(0x193),'piemM':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','PYRwq':_0x3b6247(0x180),'qrwiz':_0x3b6247(0x250),'IPwAT':'login','MGOYv':'Install\x20scope\x20for\x20skills','AehSr':function(_0x2211cc,_0xb4b32a){return _0x2211cc(_0xb4b32a);},'gpVHu':_0x3b6247(0x251),'drzWh':_0x3b6247(0x24c),'nCKwS':function(_0x1ebe72,_0x5b8d16,_0x15d077){return _0x1ebe72(_0x5b8d16,_0x15d077);},'zefwH':'profile\x20use','zWONq':function(_0x57daa7,_0x175ebc,_0x463845){return _0x57daa7(_0x175ebc,_0x463845);},'bKuqv':'profile\x20login','zQSBn':'all','rgROo':'Skip\x20interactive\x20confirmation\x20prompts.','KJnuJ':_0x3b6247(0x1bb),'XbtRC':'profile\x20migrate','MTbIv':_0x3b6247(0xde),'BTMUP':_0x3b6247(0x16a),'zoEoo':_0x3b6247(0x1c0),'Vuwpz':_0x3b6247(0x1aa),'EBqVM':_0x3b6247(0xe0),'BqhWc':_0x3b6247(0x236),'YZpLt':_0x3b6247(0x120),'uLZad':'key','LKVNg':_0x3b6247(0x16c),'esuFn':'Set\x20a\x20config\x20value','kAZMx':_0x3b6247(0x25c),'zrefy':'List\x20all\x20config\x20for\x20a\x20profile','eBPVn':'unset\x20<profile>\x20<key>','frnaR':_0x3b6247(0xf6),'xBiPP':_0x3b6247(0x1fc),'KGLYb':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','HXAVr':_0x3b6247(0x124),'YDfpG':'encrypt-auth\x20<profile>','kiHvI':_0x3b6247(0x106),'lRios':_0x3b6247(0x132),'CqPFI':_0x3b6247(0x238),'NiWKH':'migrate\x20[profile-name]','pJODg':'Manage\x20profile\x20configuration','CIVOg':function(_0x52991d,_0x43eab5,_0x4be0c1){return _0x52991d(_0x43eab5,_0x4be0c1);},'yaWFy':function(_0x5bc65d,_0x167c02,_0x49940d){return _0x5bc65d(_0x167c02,_0x49940d);},'mgXXJ':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','zaGpv':'feature','ldxYP':_0x3b6247(0x1de),'BFGoT':_0x3b6247(0x169),'vLKco':_0x3b6247(0x17b),'dcTOA':_0x3b6247(0x1c5),'iPnYi':'model','cZCvk':'headed','gszfP':'blocked','fGTIE':'debug-address-comments','NIerT':function(_0x27a85f,_0x3cb698){return _0x27a85f(_0x3cb698);},'EcOCC':_0x3b6247(0x165),'lWYTs':'project','CWjMk':'force','PgpXB':'Skip\x20authentication','VePVU':'ranger\x20start','XLTFN':function(_0x2e59db,_0x464eda,_0x29261a){return _0x2e59db(_0x464eda,_0x29261a);},'TsLSO':'env','yWjmx':_0x3b6247(0xb5),'fmEIx':_0x3b6247(0x1af),'pcJwi':_0x3b6247(0x1cb),'ftTzW':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','HGUtP':'debug-outcome','jBuhb':'verified','AdLQI':'partial','FMliv':'failed','UDaTm':_0x3b6247(0x98),'digbC':_0x3b6247(0x140),'mQLkH':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','RbzNO':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','UBJpA':_0x3b6247(0xfc),'NeWsR':_0x3b6247(0x192),'YwMXE':function(_0x4aa7e6,_0x922740,_0x1fd91d){return _0x4aa7e6(_0x922740,_0x1fd91d);},'fPoTt':'Environment\x20name','eUypO':_0x3b6247(0x114),'LxXMk':'value','lJThg':_0x3b6247(0xd3),'fVbYx':function(_0x56f5fb,_0x1d3fd8,_0x11fc9b){return _0x56f5fb(_0x1d3fd8,_0x11fc9b);},'PZNiu':'config\x20set','HBtdL':'set\x20<env>\x20<key>\x20<value>','hATrN':_0x3b6247(0x242),'SLcwX':'unset\x20<env>\x20<key>','TZQAw':_0x3b6247(0xc3),'rJYMr':_0x3b6247(0x1e1),'czXAD':'ranger\x20env\x20ls','wWzbi':_0x3b6247(0x1b0),'OYneA':'You\x20must\x20specify\x20an\x20env\x20subcommand','kPgLU':'current-branch','dmvdY':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','hQZpn':_0x3b6247(0x1ba),'WpTJx':'ranger\x20feature\x20show','hboEA':function(_0x338a47,_0xa3fde2,_0x2d2d21){return _0x338a47(_0xa3fde2,_0x2d2d21);},'EgIzg':function(_0x1983ae,_0x3da873,_0x3b601d){return _0x1983ae(_0x3da873,_0x3b601d);},'YLgsl':_0x3b6247(0x1f7),'pTULP':function(_0x2bad11,_0x4de635,_0xfd436a){return _0x2bad11(_0x4de635,_0xfd436a);},'SzaxA':'ranger\x20feature\x20restore','qnExo':function(_0x5cc16b,_0x35340f,_0x179b77){return _0x5cc16b(_0x35340f,_0x179b77);},'AWqCL':'ranger\x20feature\x20add-checklist-item','fwUAM':_0x3b6247(0x189),'goujk':_0x3b6247(0x221),'FLLGH':_0x3b6247(0xcd),'OKLbh':'get-feedback\x20[id]','jRznD':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','DUeOn':_0x3b6247(0xd0),'ohsSn':_0x3b6247(0x116),'FBLfn':_0x3b6247(0x11e),'SoWVW':'session-id','fHIRa':function(_0x5d0709,_0x2d427c){return _0x5d0709(_0x2d427c);},'IegJE':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','aoREf':function(_0x5d84ea,_0x3581e6){return _0x5d84ea(_0x3581e6);},'RKvQt':_0x3b6247(0xf2),'oxIoj':_0x3b6247(0xe3),'kmBet':'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','CeuSH':_0x3b6247(0xa4),'KjzgF':_0x3b6247(0x16b),'RkCcY':_0x3b6247(0x262),'novZq':_0x3b6247(0x1e0),'KHVWZ':_0x3b6247(0xe4),'vyFzV':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','griXF':_0x3b6247(0xe7),'yyrWk':'Initialize\x20Ranger\x20in\x20your\x20project','qbjvR':'Install\x20Ranger\x20skills','VDdkO':_0x3b6247(0x17a),'RAkBj':_0x3b6247(0x15c),'ZxwUG':_0x3b6247(0x24f),'pyVbp':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','bGtxZ':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','KEjTS':'print-access-token','tndLw':'Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','glfcv':_0x3b6247(0xad),'yOkop':'start\x20[token]','vTUeO':_0x3b6247(0x182),'hjquk':_0x3b6247(0x12f),'SARgk':'You\x20must\x20specify\x20a\x20command','LvLIT':function(_0x3d03cc,_0x340fb1){return _0x3d03cc+_0x340fb1;},'xWYWQ':_0x3b6247(0x234)};return _0x1bf278[_0x3b6247(0xb7)](_0x2edbe2,_0x5111b1??process['argv']['slice'](0x2))[_0x3b6247(0x1da)](_0x3b6247(0x17d))[_0x3b6247(0xba)](TOP_LEVEL_HELP)[_0x3b6247(0x20d)](getCurrentVersion())['command'](_0x1bf278[_0x3b6247(0x1ed)],_0x1bf278[_0x3b6247(0x1a0)],_0x5b0b34=>{const _0x50f485=_0x3b6247;return _0x5b0b34['positional'](_0x1bf278['AioVb'],{'type':_0x1bf278[_0x50f485(0x1d3)],'description':_0x1bf278[_0x50f485(0x1c4)],'demandOption':!![]})[_0x50f485(0x177)](_0x1bf278['kylKf'],{'type':_0x50f485(0x103),'alias':'d','description':_0x1bf278['YUYbz']})[_0x50f485(0x177)](_0x1bf278['nBlIt'],{'type':_0x1bf278[_0x50f485(0x141)],'alias':'c','description':_0x1bf278[_0x50f485(0x110)]})['option']('checklist',{'type':'array','hidden':!![]});},async _0x1cdbad=>{const _0x8f0bcc=_0x3b6247;if(!_0x1cdbad[_0x8f0bcc(0x1bc)]){console['error'](_0x1bf278[_0x8f0bcc(0xe9)]+_0x1bf278[_0x8f0bcc(0x228)]),process[_0x8f0bcc(0x230)](0x1);return;}_0x1bf278['noWzz'](warnFlagRenamed,_0x1bf278['wxrWe'],_0x1bf278['fkhjo'],_0x1bf278['fDxLb']);const _0xe80101=_0x1cdbad[_0x8f0bcc(0x1c8)]||_0x1cdbad['checklist'];await withTelemetry(_0x1bf278['eeHvi'],()=>featureCreate(_0x1cdbad['name'],{'description':_0x1cdbad[_0x8f0bcc(0x1ef)],'scenarios':_0xe80101}));})[_0x3b6247(0x118)]('list','List\x20all\x20feature\x20reviews',_0x3ec5fa=>{const _0xe1d480=_0x3b6247;return _0x3ec5fa[_0xe1d480(0x177)](_0xe1d480(0xce),{'type':_0x1bf278['zvCFR'],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})[_0xe1d480(0x177)](_0x1bf278['yZNKw'],{'type':'number','alias':'l','description':_0x1bf278[_0xe1d480(0x152)],'default':0xa})['option']('offset',{'type':_0x1bf278[_0xe1d480(0x18e)],'alias':'o','description':_0x1bf278[_0xe1d480(0x216)],'default':0x0})['option'](_0xe1d480(0x1a1),{'type':_0xe1d480(0xc4),'alias':'d','description':_0xe1d480(0x254),'default':![]});},async _0x2b9f92=>{const _0x306130=_0x3b6247;await _0x1bf278['zVdpn'](withTelemetry,_0x306130(0x215),()=>featureList({'currentBranch':_0x2b9f92[_0x306130(0xce)],'limit':_0x2b9f92[_0x306130(0x126)],'offset':_0x2b9f92['offset'],'includeDeleted':_0x2b9f92['include-deleted']}));})['command']('show\x20[id]',_0x1bf278[_0x3b6247(0x209)],_0x442b74=>{const _0x5eb8dd=_0x3b6247;return _0x442b74[_0x5eb8dd(0x142)]('id',{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278['MHGXQ']});},async _0x97e3b=>{await _0x1bf278['bhCOX'](withTelemetry,_0x1bf278['rGHOH'],()=>featureShow(_0x97e3b['id']));})[_0x3b6247(0x118)](_0x1bf278[_0x3b6247(0x1f6)],_0x3b6247(0x160),_0x182c45=>{const _0x1ef7f8=_0x3b6247;return _0x182c45[_0x1ef7f8(0x142)]('id',{'type':_0x1bf278[_0x1ef7f8(0x1d3)],'description':_0x1bf278['XJVRZ']});},async _0x286fee=>{await withTelemetry(_0x1bf278['FlUqG'],()=>featureResume(_0x286fee['id']));})[_0x3b6247(0x118)](_0x1bf278['KjzgF'],_0x1bf278['RkCcY'],_0x353c5b=>{const _0x2cb8e9=_0x3b6247;return _0x353c5b[_0x2cb8e9(0x142)]('description',{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278['CjqeH'],'demandOption':!![]})[_0x2cb8e9(0x177)]('id',{'type':_0x1bf278[_0x2cb8e9(0x1d3)],'description':_0x1bf278[_0x2cb8e9(0x187)]});},async _0x483e16=>{await withTelemetry('add-scenario',()=>featureAddScenario(_0x483e16['description'],_0x483e16['id']));})['command'](_0x3b6247(0xd5),_0x3b6247(0x261),_0x232265=>{const _0x369992=_0x3b6247;return _0x232265['positional'](_0x369992(0x1ef),{'type':_0x1bf278[_0x369992(0x1d3)],'description':'New\x20scenario\x20description','demandOption':!![]})['option'](_0x369992(0x1c8),{'type':_0x1bf278['JVCLp'],'description':_0x1bf278[_0x369992(0xd7)],'demandOption':!![]})[_0x369992(0x177)]('id',{'type':_0x369992(0x103),'description':_0x1bf278[_0x369992(0x187)]});},async _0x171f6b=>{const _0x1689e2=_0x3b6247;await _0x1bf278[_0x1689e2(0x101)](withTelemetry,_0x1689e2(0x1e8),()=>featureEditScenario(_0x171f6b['description'],{'id':_0x171f6b['id'],'scenario':_0x171f6b['scenario']}));})['command'](_0x1bf278[_0x3b6247(0x136)],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x505d7f=>{const _0xb99ccd=_0x3b6247;return _0x505d7f['positional']('id',{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278[_0xb99ccd(0xc9)]})['option'](_0x1bf278['ubMRh'],{'type':_0x1bf278[_0xb99ccd(0x141)],'description':_0xb99ccd(0x198)})['option'](_0xb99ccd(0xcf),{'type':'boolean','description':_0xb99ccd(0x1d1),'default':![]});},async _0x349898=>{const _0x2d3b27=_0x3b6247,_0x1fc487=_0x349898[_0x1bf278[_0x2d3b27(0x1b8)]],_0x131096=_0x1fc487?_0x1fc487[_0x2d3b27(0x212)](_0xe46851=>Number(_0xe46851)):undefined;await _0x1bf278[_0x2d3b27(0x233)](withTelemetry,_0x2d3b27(0xd1),()=>featureReportPrDescription(_0x349898['id'],{'excludeScenarios':_0x131096,'json':_0x349898['json']}));})[_0x3b6247(0x118)](_0x1bf278[_0x3b6247(0x173)],_0x3b6247(0x205),_0x41f868=>{const _0x1f2d18=_0x3b6247;return _0x41f868[_0x1f2d18(0x142)]('id',{'type':'string','description':_0x1bf278['GlWPp']});},async _0x300e57=>{const _0x1ba785=_0x3b6247;await _0x1bf278[_0x1ba785(0x25a)](withTelemetry,_0x1bf278[_0x1ba785(0x22a)],()=>featureGetReview(_0x300e57['id']));})[_0x3b6247(0x118)](_0x3b6247(0xa6),_0x1bf278['vyFzV'],_0x35baf8=>{const _0xb4567e=_0x3b6247;return _0x35baf8[_0xb4567e(0x142)]('id',{'type':_0x1bf278[_0xb4567e(0x1d3)],'description':_0x1bf278['MHGXQ']});},async _0xc76f82=>{const _0x34753b=_0x3b6247;await _0x1bf278['OWSCd'](withTelemetry,_0x34753b(0xfd),()=>featureDelete(_0xc76f82['id']));})['command'](_0x1bf278[_0x3b6247(0x1e9)],_0x3b6247(0x13c),_0x45961=>{const _0x32fd6a=_0x3b6247;return _0x45961[_0x32fd6a(0x142)]('id',{'type':'string','description':_0x1bf278['mXHID'],'demandOption':!![]});},async _0x4f741c=>{const _0x19e845=_0x3b6247;await _0x1bf278[_0x19e845(0x9d)](withTelemetry,_0x19e845(0x185),()=>featureRestore(_0x4f741c['id']));})['command']('setup\x20[tokenOrSubcommand]',_0x1bf278[_0x3b6247(0x134)],_0x58efc3=>{const _0x141fa8=_0x3b6247,_0x44961b={'JmNzF':'token','pgqob':_0x141fa8(0x103),'CeoFA':_0x1bf278[_0x141fa8(0x226)],'uNgFI':'boolean','MNEYc':_0x141fa8(0x1dd),'VilHF':_0x1bf278[_0x141fa8(0x15b)],'RoPHB':_0x141fa8(0x199),'eLFXr':_0x1bf278['izjfl'],'HOilM':_0x141fa8(0x22e),'qQhAj':_0x141fa8(0x190),'NhVhO':'opencode','lcCmK':_0x141fa8(0x153),'TnMqp':_0x1bf278['hgjfd'],'cnBpe':_0x1bf278[_0x141fa8(0x1ec)],'kheXx':_0x141fa8(0x24a),'uWnrK':function(_0x583910,_0x4367cc,_0x31c06f){return _0x1bf278['lScpd'](_0x583910,_0x4367cc,_0x31c06f);},'ksTfZ':function(_0x1b6c3b,_0x4800d6){const _0x3318de=_0x141fa8;return _0x1bf278[_0x3318de(0x1ca)](_0x1b6c3b,_0x4800d6);},'cOTeo':function(_0x39ad5c,_0x1d3892,_0x27e09e){return _0x39ad5c(_0x1d3892,_0x27e09e);},'hDVns':_0x1bf278['BwdZB'],'LgXWw':function(_0x410f13){return _0x1bf278['LxMDq'](_0x410f13);},'SbvSl':_0x141fa8(0x25d),'QfOIS':_0x1bf278['SFbum'],'cHdxt':'project','byPFz':_0x1bf278[_0x141fa8(0x196)],'YLXtS':'skip-auth','tAvsG':_0x141fa8(0x1c7),'fyvPv':_0x1bf278[_0x141fa8(0x104)]};return _0x58efc3['usage']('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']('tokenOrSubcommand',{'type':'string','description':_0x1bf278[_0x141fa8(0x117)]})['command'](_0x141fa8(0x1ad),_0x1bf278['uuqOT'],_0x2ff31d=>{const _0x26e495=_0x141fa8;return _0x2ff31d['option'](_0x44961b['JmNzF'],{'type':_0x44961b['pgqob'],'description':'Ranger\x20API\x20token'})[_0x26e495(0x177)](_0x44961b['CeoFA'],{'type':_0x44961b['uNgFI'],'description':_0x26e495(0x146),'default':![]})[_0x26e495(0x177)](_0x26e495(0x108),{'type':_0x44961b['uNgFI'],'description':_0x44961b['MNEYc'],'default':![]})[_0x26e495(0x177)]('with-deps',{'type':_0x44961b['uNgFI'],'description':_0x44961b['VilHF'],'default':![]})[_0x26e495(0x177)](_0x26e495(0x21d),{'type':_0x44961b['pgqob'],'choices':[_0x26e495(0x165),_0x26e495(0xab)],'description':_0x44961b[_0x26e495(0x113)]})['option'](_0x44961b['eLFXr'],{'type':'string','description':_0x44961b['HOilM']})['option']('force',{'type':_0x44961b['uNgFI'],'description':_0x44961b['qQhAj'],'default':![]})['option'](_0x44961b[_0x26e495(0x1a7)],{'type':_0x26e495(0xc4),'description':_0x26e495(0x179),'default':![]})[_0x26e495(0x177)]('allow-insecure-localhost',{'type':_0x26e495(0xc4),'description':_0x44961b['lcCmK'],'default':![]})['option'](_0x44961b['TnMqp'],{'type':_0x26e495(0xc4),'description':_0x44961b['cnBpe'],'default':![]})['option']('mcp',{'type':'boolean','description':_0x44961b[_0x26e495(0xf4)],'default':![]});},async _0x2b0d02=>{const _0x26615f=_0x141fa8;(_0x2b0d02[_0x26615f(0x162)]||_0x2b0d02[_0x26615f(0xb8)])&&await _0x1bf278[_0x26615f(0x148)](withTelemetry,'mcp-bootstrap',()=>mcpBootstrap()),await _0x1bf278['bxUkw'](withTelemetry,_0x1bf278['IMsrg'],_0x2f196f=>start(_0x2b0d02[_0x26615f(0x25b)],{'skipChromium':_0x2b0d02[_0x26615f(0x1f1)],'skipAuth':_0x2b0d02[_0x26615f(0x108)],'withDeps':_0x2b0d02['with-deps'],'scope':_0x2b0d02['scope'],'url':_0x2b0d02[_0x26615f(0xc5)],'force':_0x2b0d02['force'],'opencode':_0x2b0d02['opencode'],'allowInsecureLocalhost':_0x2b0d02['allow-insecure-localhost']},_0x2f196f));})['command'](_0x1bf278[_0x141fa8(0x211)],_0x1bf278[_0x141fa8(0x109)],_0x3ad772=>{const _0x4c0ee5=_0x141fa8;return _0x3ad772['option'](_0x1bf278['sTcuU'],{'type':_0x4c0ee5(0xc4),'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]});},async _0x140b27=>{const _0xc5c578=_0x141fa8;await _0x44961b[_0xc5c578(0x22b)](withTelemetry,'setup:deps',()=>ensureChromium(_0x140b27['with-deps']));})[_0x141fa8(0x118)](_0x141fa8(0x20c),_0x141fa8(0x125),_0x345913=>{const _0x3eae24=_0x141fa8;return _0x345913[_0x3eae24(0x177)](_0x1bf278['eTCuP'],{'type':_0x1bf278[_0x3eae24(0x1d3)],'description':_0x3eae24(0xef)})['option'](_0x1bf278['DCJXN'],{'type':_0x1bf278['zvCFR'],'description':_0x1bf278['DzrHo'],'default':![]});},async _0x91ad4b=>{const _0x301e98=_0x141fa8;await _0x44961b['cOTeo'](withTelemetry,_0x44961b[_0x301e98(0x166)],async()=>{const _0x3c8a92=_0x301e98;if(_0x91ad4b[_0x3c8a92(0xb8)]){await mcpBootstrap();const _0x4cd2d4=await refreshCliToken();if(!_0x4cd2d4)throw new Error('Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.');const _0x124536=await getCurrentUser(_0x4cd2d4);if(!_0x124536['success'])throw new Error(_0x3c8a92(0xea)+_0x124536[_0x3c8a92(0x204)]);console[_0x3c8a92(0x1df)](_0x3c8a92(0x24d)+_0x124536['user'][_0x3c8a92(0x258)]);return;}await _0x44961b['ksTfZ'](authenticate,_0x91ad4b['token']);});})[_0x141fa8(0x118)](_0x1bf278[_0x141fa8(0xe1)],_0x141fa8(0x203),_0x4e430a=>{const _0x1fbc22=_0x141fa8;return _0x4e430a['option'](_0x1bf278['SFbum'],{'type':'string','choices':['user',_0x1fbc22(0xab)],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})[_0x1fbc22(0x177)](_0x1fbc22(0x224),{'type':'boolean','description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]});},async _0x258922=>{const _0xd96c6e=_0x141fa8,_0x177281={'KFazf':'ranger','vGswQ':function(_0x10dcba){return _0x44961b['LgXWw'](_0x10dcba);},'LXNUi':_0xd96c6e(0x224)};await _0x44961b[_0xd96c6e(0x22b)](withTelemetry,_0x44961b['SbvSl'],async()=>{const _0xa37544=_0xd96c6e,_0x2a9552=_0x258922[_0xa37544(0x21d)];if(_0x258922[_0xa37544(0x224)]){const _0x407e68=await ensureOpencodePluginConfig(_0x2a9552);_0x407e68&&await installSkill(_0x177281[_0xa37544(0x191)],{'level':_0x407e68[_0xa37544(0x21d)],'cliVersion':_0x177281['vGswQ'](getCurrentVersion),'platform':_0x177281['LXNUi']});}else await ensureClaudePlugin(_0x2a9552),await ensureClaudeSkills(_0x2a9552);});})['command'](_0x141fa8(0x1be),'Set\x20up\x20a\x20local\x20browser\x20profile',_0xadaa6d=>{const _0x43f6c1=_0x141fa8;return _0xadaa6d['option'](_0x44961b[_0x43f6c1(0x15e)],{'type':_0x44961b[_0x43f6c1(0x181)],'choices':['user',_0x44961b['cHdxt']],'description':_0x44961b['byPFz']})[_0x43f6c1(0x177)](_0x44961b['eLFXr'],{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app'})[_0x43f6c1(0x177)](_0x44961b['YLXtS'],{'type':'boolean','description':_0x44961b['tAvsG'],'default':![]})[_0x43f6c1(0x177)]('force',{'type':_0x44961b[_0x43f6c1(0x1f3)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x43f6c1(0x177)](_0x44961b['fyvPv'],{'type':'boolean','description':_0x44961b[_0x43f6c1(0x253)],'default':![]});},async _0x35015f=>{const _0x20beb6=_0x141fa8;await withTelemetry(_0x1bf278[_0x20beb6(0x164)],_0x3ac51e=>ensureLocalEnv({'url':_0x35015f['url'],'force':_0x35015f['force'],'allowInsecureLocalhost':_0x35015f[_0x20beb6(0x222)],'scope':_0x35015f[_0x20beb6(0x21d)]==='user'?'user':undefined},_0x3ac51e));})['option'](_0x141fa8(0x1f1),{'type':_0x1bf278['zvCFR'],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option'](_0x1bf278['SFbum'],{'type':'string','choices':['user','project'],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})['option'](_0x141fa8(0xc5),{'type':_0x1bf278[_0x141fa8(0x1d3)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option']('force',{'type':'boolean','description':_0x141fa8(0x190),'default':![]})['option']('opencode',{'type':_0x1bf278['zvCFR'],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})[_0x141fa8(0x177)](_0x141fa8(0x222),{'type':_0x1bf278['zvCFR'],'description':_0x1bf278['ENmdj'],'default':![]})[_0x141fa8(0x177)]('mcp-bootstrap',{'type':'boolean','description':_0x1bf278['vbiQx'],'default':![]})['option'](_0x1bf278['iHCzI'],{'type':_0x1bf278['zvCFR'],'description':_0x141fa8(0x1d6),'default':![]})[_0x141fa8(0x177)](_0x141fa8(0xaf),{'type':'boolean','description':_0x1bf278[_0x141fa8(0x1a2)],'default':![]})[_0x141fa8(0x177)]('token',{'type':'string','hidden':!![],'description':_0x1bf278[_0x141fa8(0x183)]});},async _0x11ba5d=>{const _0x59eedf=_0x3b6247,_0x1ea179=_0x11ba5d[_0x59eedf(0xb6)],_0x25b52d=_0x11ba5d[_0x59eedf(0x25b)]??_0x1ea179;_0x11ba5d[_0x59eedf(0x162)]&&await withTelemetry(_0x1bf278['hgjfd'],()=>mcpBootstrap()),await _0x1bf278['zVdpn'](withTelemetry,_0x1bf278['zLlea'],_0x1542e9=>start(_0x25b52d,{'skipChromium':_0x11ba5d['skip-chromium'],'skipAuth':_0x11ba5d[_0x59eedf(0x108)],'withDeps':_0x11ba5d['with-deps'],'scope':_0x11ba5d[_0x59eedf(0x21d)],'url':_0x11ba5d['url'],'force':_0x11ba5d[_0x59eedf(0xcc)],'opencode':_0x11ba5d[_0x59eedf(0x224)],'allowInsecureLocalhost':_0x11ba5d['allow-insecure-localhost']},_0x1542e9));})[_0x3b6247(0x118)](_0x3b6247(0x1a5),_0x3b6247(0x9e),_0x18361d=>{const _0x3b75cf=_0x3b6247;return _0x18361d[_0x3b75cf(0x142)]('token',{'type':_0x3b75cf(0x103),'description':_0x1bf278[_0x3b75cf(0xe8)],'demandOption':!![]})['option'](_0x1bf278['GitgC'],{'type':'string','description':_0x3b75cf(0x257)})['option'](_0x1bf278['YobWz'],{'type':_0x3b75cf(0x103),'description':_0x1bf278[_0x3b75cf(0x95)]})[_0x3b75cf(0x177)]('skip-chromium',{'type':_0x1bf278[_0x3b75cf(0x1bf)],'description':_0x1bf278['PYRwq'],'default':![]});},async _0x2295a6=>{const _0x3922e3=_0x3b6247;await _0x1bf278[_0x3922e3(0x233)](withTelemetry,_0x1bf278['qrwiz'],_0x4e4dc8=>setupCi(_0x2295a6['token'],{'profile':_0x2295a6['profile'],'baseUrl':_0x2295a6['base-url'],'skipChromium':_0x2295a6['skip-chromium']},_0x4e4dc8));})['command'](_0x1bf278['IPwAT'],_0x3b6247(0x1d0),()=>{},async()=>{await _0x1bf278['OWSCd'](withTelemetry,_0x1bf278['IPwAT'],()=>login());})['command']('skillup',_0x1bf278[_0x3b6247(0x119)],_0x4d1fad=>{const _0x2f78c9=_0x3b6247;return _0x4d1fad[_0x2f78c9(0x177)](_0x2f78c9(0x224),{'type':_0x1bf278[_0x2f78c9(0x1bf)],'description':_0x2f78c9(0xca),'default':![]})[_0x2f78c9(0x177)]('scope',{'type':_0x2f78c9(0x103),'choices':[_0x2f78c9(0x165),_0x2f78c9(0xab)],'description':_0x1bf278['MGOYv']});},async _0x24e6ef=>{const _0x5ba779=_0x3b6247,_0xa804f5=_0x1bf278['AehSr'](Boolean,_0x24e6ef[_0x5ba779(0x224)]);await _0x1bf278['lScpd'](withTelemetry,'skillup',()=>skillup({'autoInstall':_0x24e6ef['scope'],'platform':_0xa804f5?'opencode':'claude'}));})[_0x3b6247(0x118)](_0x1bf278['VDdkO'],_0x1bf278['RAkBj'],()=>{},async()=>{const _0x120932=_0x3b6247;await _0x1bf278[_0x120932(0x148)](withTelemetry,'clean',()=>clean());})[_0x3b6247(0x118)](_0x1bf278['GitgC'],_0x1bf278[_0x3b6247(0xdf)],_0x29220d=>{const _0x3075dd=_0x3b6247,_0x30abda={'sRdOx':_0x3075dd(0x1ce),'cleuj':_0x3075dd(0xc4),'cGjaa':_0x1bf278['MTbIv'],'LJRtZ':_0x3075dd(0xc5),'AtTCQ':'string','XRXHt':_0x3075dd(0x14c),'BglqR':_0x3075dd(0x222),'CyAEY':_0x3075dd(0x121),'miZmX':_0x1bf278['BTMUP'],'jNiaw':'setup-header','dvdFs':_0x3075dd(0x13b),'HWGpa':_0x3075dd(0x21d),'WhpxK':'yes','GJkyg':_0x1bf278[_0x3075dd(0x102)],'hSUao':function(_0x4ba08a,_0x538eff,_0x433bfa,_0x42f58a){return _0x4ba08a(_0x538eff,_0x433bfa,_0x42f58a);},'POCPE':function(_0x429016,_0x2ee67d){const _0x44ed73=_0x3075dd;return _0x1bf278[_0x44ed73(0x1ca)](_0x429016,_0x2ee67d);},'iclFF':_0x3075dd(0x1c1),'YbWzF':_0x1bf278[_0x3075dd(0x20e)],'VpwTX':_0x1bf278['Vuwpz'],'BjgAd':function(_0x3d21e5,_0x2283f2,_0x41ed2c){return _0x1bf278['OWSCd'](_0x3d21e5,_0x2283f2,_0x41ed2c);},'OeKmw':_0x3075dd(0x251),'gYcnU':_0x1bf278['AioVb'],'NBDja':_0x1bf278['EBqVM'],'KqkXG':_0x1bf278[_0x3075dd(0x1d8)],'OtlrZ':function(_0x5eac7b,_0x2c239e,_0x4569af){return _0x5eac7b(_0x2c239e,_0x4569af);},'qXyaj':_0x3075dd(0x243),'WpxnR':'failed','DFvOQ':_0x1bf278['YZpLt'],'uRJfc':_0x1bf278['uLZad'],'ngJJo':_0x1bf278['LKVNg'],'CVWeu':_0x3075dd(0xa0),'miadn':_0x1bf278['esuFn'],'JzzvW':_0x1bf278[_0x3075dd(0x1fb)],'JLQlp':_0x1bf278[_0x3075dd(0x12c)],'ycJPq':_0x1bf278['eBPVn'],'jYrCl':'Remove\x20a\x20config\x20value','LWYso':_0x1bf278[_0x3075dd(0x1b6)],'jrmtv':_0x1bf278['xBiPP'],'MOeRZ':_0x1bf278[_0x3075dd(0xc6)]};return _0x29220d[_0x3075dd(0xba)](PROFILE_HELP)['command'](_0x1bf278[_0x3075dd(0x218)],_0x3075dd(0x14f),_0x3c9aeb=>{const _0x3c8e15=_0x3075dd;return _0x3c9aeb[_0x3c8e15(0x142)]('profile-name',{'type':'string','description':_0x30abda[_0x3c8e15(0x12e)],'demandOption':!![]})['option']('ci',{'type':_0x30abda['cleuj'],'description':_0x30abda['cGjaa'],'default':![]})[_0x3c8e15(0x177)]('skip-auth',{'type':_0x3c8e15(0xc4),'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})['option'](_0x30abda[_0x3c8e15(0x1ae)],{'type':_0x30abda['AtTCQ'],'description':_0x30abda['XRXHt']})['option'](_0x3c8e15(0xcc),{'type':_0x30abda['cleuj'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x3c8e15(0x1c1),{'type':_0x30abda['AtTCQ'],'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})[_0x3c8e15(0x177)](_0x30abda[_0x3c8e15(0x19e)],{'type':_0x30abda['cleuj'],'description':_0x30abda[_0x3c8e15(0x138)],'default':![]})[_0x3c8e15(0x177)]('safe-mode',{'type':_0x30abda['cleuj'],'description':_0x30abda[_0x3c8e15(0x18b)],'default':![]})[_0x3c8e15(0x177)](_0x30abda[_0x3c8e15(0x239)],{'type':_0x30abda['AtTCQ'],'array':!![],'description':_0x30abda[_0x3c8e15(0x1fd)]})[_0x3c8e15(0x177)](_0x30abda[_0x3c8e15(0x137)],{'type':_0x3c8e15(0x103),'choices':[_0x3c8e15(0x165),_0x3c8e15(0xab)],'description':_0x3c8e15(0x1a8)})[_0x3c8e15(0x177)](_0x30abda['WhpxK'],{'type':_0x3c8e15(0xc4),'alias':'y','description':_0x30abda['GJkyg'],'default':![]});},async _0x3cb6c1=>{const _0x4940de=_0x3075dd;await _0x30abda[_0x4940de(0x25f)](withTelemetry,_0x4940de(0xc1),_0x3f4676=>addEnv(_0x3cb6c1[_0x4940de(0x251)],{'ci':_0x3cb6c1['ci'],'skipAuth':_0x3cb6c1['skip-auth'],'url':_0x3cb6c1[_0x4940de(0xc5)],'force':_0x3cb6c1['force'],'cdpEndpoint':_0x3cb6c1[_0x4940de(0x1c1)],'allowInsecureLocalhost':_0x3cb6c1[_0x4940de(0x222)],'safeMode':_0x3cb6c1['safe-mode'],'setupHeader':_0x3cb6c1[_0x4940de(0x231)],'scope':_0x3cb6c1['scope'],'yes':_0x3cb6c1[_0x4940de(0x143)]},_0x3f4676),{'isElectron':_0x30abda['POCPE'](Boolean,_0x3cb6c1[_0x30abda['iclFF']])});})[_0x3075dd(0x118)](_0x3075dd(0x9c),_0x3075dd(0x22f),_0x3390d0=>{const _0x243f5e=_0x3075dd;return _0x3390d0[_0x243f5e(0x142)](_0x1bf278['gpVHu'],{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278[_0x243f5e(0xa8)],'demandOption':!![]});},async _0x540fd4=>{const _0x23e874=_0x3075dd;await _0x1bf278[_0x23e874(0x92)](withTelemetry,_0x1bf278['zefwH'],()=>useEnv(_0x540fd4[_0x23e874(0x251)]));})['command'](_0x1bf278['YDfpG'],_0x1bf278['kiHvI'],_0x59e81e=>{const _0x4e96e2=_0x3075dd;return _0x59e81e[_0x4e96e2(0x142)](_0x30abda[_0x4e96e2(0x200)],{'type':'string','description':_0x30abda['VpwTX'],'demandOption':!![]});},async _0x3edc42=>{await _0x30abda['BjgAd'](withTelemetry,'profile\x20encrypt-auth',()=>authEncrypt(_0x3edc42['profile']));})['command']('ls',_0x3075dd(0x194),()=>{},async()=>{await withTelemetry('profile\x20ls',()=>envList());})['command'](_0x3075dd(0x1b9),_0x1bf278['lRios'],_0x5179b3=>{const _0x42a62f=_0x3075dd;return _0x5179b3[_0x42a62f(0x142)](_0x30abda['OeKmw'],{'type':'string','description':_0x42a62f(0x1f0),'demandOption':!![]})[_0x42a62f(0x177)]('allow-insecure-localhost',{'type':_0x30abda[_0x42a62f(0xed)],'description':_0x30abda[_0x42a62f(0x138)]});},async _0x36438d=>{const _0xaf9682=_0x3075dd;await withTelemetry('profile\x20update',_0x5c45cd=>updateEnv(_0x36438d[_0xaf9682(0x251)],_0x5c45cd,{'allowInsecureLocalhost':_0x36438d['allow-insecure-localhost']}));})[_0x3075dd(0x118)](_0x1bf278[_0x3075dd(0x1e5)],![],_0x1ee9db=>{const _0xc1bbb5=_0x3075dd;return _0x1ee9db[_0xc1bbb5(0x142)](_0x30abda[_0xc1bbb5(0x1cf)],{'type':_0xc1bbb5(0x103),'description':_0x30abda[_0xc1bbb5(0x18f)],'demandOption':!![]});},async _0x3cea67=>{await _0x1bf278['zWONq'](withTelemetry,_0x1bf278['bKuqv'],async()=>{const _0x133fbb=_0x1065,_0x548ad8=process[_0x133fbb(0xb3)]['RANGER_TEST_USERNAME'],_0x2fae2d=process['env']['RANGER_TEST_PASSWORD'];(!_0x548ad8||!_0x2fae2d)&&(console['error'](_0x30abda[_0x133fbb(0x1ea)]),process[_0x133fbb(0x230)](0x1));const _0x51f196=_0x3cea67[_0x133fbb(0x1bc)],_0x5de67a=await _0x30abda['OtlrZ'](serverSideLogin,_0x51f196,{'force':!![]});_0x5de67a[_0x133fbb(0x184)]===_0x30abda['qXyaj']&&(console[_0x133fbb(0x204)]('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process[_0x133fbb(0x230)](0x1)),_0x5de67a['status']===_0x30abda['WpxnR']&&(console['error'](_0x133fbb(0x93)+(_0x5de67a['error']??_0x133fbb(0x171))),_0x5de67a[_0x133fbb(0x10f)]&&console['error'](_0x5de67a[_0x133fbb(0x10f)]),process['exit'](0x1)),console['log']('✓\x20Server-side\x20login\x20succeeded\x20for\x20\x27'+_0x51f196+_0x133fbb(0xa1));});})['command'](_0x1bf278[_0x3075dd(0x19c)],_0x3075dd(0x19f),_0x26a8cb=>{const _0x4e4391=_0x3075dd;return _0x26a8cb['positional'](_0x4e4391(0x251),{'type':_0x1bf278['Gnpzs'],'description':_0x4e4391(0x130)})['option'](_0x1bf278['zQSBn'],{'type':_0x1bf278[_0x4e4391(0x1bf)],'description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})[_0x4e4391(0x177)]('dry-run',{'type':_0x4e4391(0xc4),'description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})[_0x4e4391(0x177)](_0x4e4391(0x143),{'type':_0x4e4391(0xc4),'alias':'y','description':_0x1bf278[_0x4e4391(0x245)],'default':![]})['option']('save-creds',{'type':_0x1bf278[_0x4e4391(0x1bf)],'description':_0x1bf278['KJnuJ'],'default':![]});},async _0x1e7df9=>{const _0x425e2e=_0x3075dd;await withTelemetry(_0x1bf278['XbtRC'],_0x27cf43=>migrateProfile({'profileName':_0x1e7df9['profile-name'],'all':_0x1e7df9['all'],'dryRun':_0x1e7df9[_0x425e2e(0xc2)],'yes':_0x1e7df9[_0x425e2e(0x143)],'saveCreds':_0x1e7df9[_0x425e2e(0x213)]},_0x27cf43));})['command'](_0x3075dd(0x11a),_0x1bf278['pJODg'],_0x903246=>{const _0x270a41=_0x3075dd,_0x5f37db={'iqJiT':_0x270a41(0x103),'XeHMx':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','louPB':_0x30abda[_0x270a41(0x129)],'OHjED':function(_0x41664f,_0x6b1a29,_0x3e51cb){return _0x41664f(_0x6b1a29,_0x3e51cb);}};return _0x903246['usage'](PROFILE_CONFIG_HELP)['command'](_0x30abda[_0x270a41(0x128)],_0x30abda[_0x270a41(0x1b5)],_0x44e55e=>{const _0x3f4655=_0x270a41;return _0x44e55e[_0x3f4655(0x142)]('profile',{'type':_0x5f37db['iqJiT'],'description':_0x3f4655(0x1aa),'demandOption':!![]})[_0x3f4655(0x142)]('key',{'type':_0x5f37db['iqJiT'],'description':_0x5f37db[_0x3f4655(0x21b)],'demandOption':!![]})['positional'](_0x3f4655(0xe6),{'type':_0x3f4655(0x103),'description':'Config\x20value','demandOption':!![]});},async _0x361306=>{const _0x7a0aef=_0x270a41;await withTelemetry(_0x30abda['DFvOQ'],()=>configSet(_0x361306[_0x7a0aef(0x15f)],_0x361306['key'],_0x361306[_0x7a0aef(0xe6)]));})['command'](_0x270a41(0x206),'Get\x20a\x20config\x20value',_0x3dbf4a=>{const _0x2c6a59=_0x270a41;return _0x3dbf4a['positional'](_0x30abda['YbWzF'],{'type':_0x30abda[_0x2c6a59(0x175)],'description':_0x30abda[_0x2c6a59(0x129)],'demandOption':!![]})[_0x2c6a59(0x142)](_0x30abda['uRJfc'],{'type':_0x30abda[_0x2c6a59(0x175)],'description':_0x2c6a59(0xfe),'demandOption':!![]});},async _0x104360=>{const _0x4a8655=_0x270a41;await withTelemetry(_0x4a8655(0x10e),()=>configGet(_0x104360[_0x4a8655(0x15f)],_0x104360[_0x4a8655(0x1cd)]));})['command'](_0x30abda['JzzvW'],_0x30abda['JLQlp'],_0xb228fe=>{const _0x24b9e7=_0x270a41;return _0xb228fe['positional'](_0x30abda[_0x24b9e7(0x200)],{'type':'string','description':_0x30abda[_0x24b9e7(0x129)],'demandOption':!![]});},async _0x34c55c=>{await withTelemetry('profile\x20config\x20list',()=>configList(_0x34c55c['profile']));})[_0x270a41(0x118)](_0x30abda[_0x270a41(0x225)],_0x30abda[_0x270a41(0x25e)],_0x4c1f74=>{const _0x218581=_0x270a41;return _0x4c1f74['positional']('profile',{'type':'string','description':_0x5f37db[_0x218581(0x14b)],'demandOption':!![]})[_0x218581(0x142)]('key',{'type':_0x218581(0x103),'description':_0x218581(0x114),'demandOption':!![]});},async _0x5441eb=>{const _0x18bcb1=_0x270a41;await _0x5f37db[_0x18bcb1(0x151)](withTelemetry,_0x18bcb1(0xfa),()=>configUnset(_0x5441eb['profile'],_0x5441eb['key']));})[_0x270a41(0x118)](_0x30abda['LWYso'],_0x30abda['jrmtv'],_0x3e8b2c=>{const _0x9bb9fa=_0x270a41;return _0x3e8b2c[_0x9bb9fa(0x142)](_0x9bb9fa(0x15f),{'type':_0x30abda[_0x9bb9fa(0x175)],'description':_0x30abda[_0x9bb9fa(0x129)],'demandOption':!![]});},async _0xeab682=>{const _0x4379c5=_0x270a41;await withTelemetry(_0x30abda[_0x4379c5(0x9f)],()=>configReset(_0xeab682[_0x4379c5(0x15f)]));})['demandCommand'](0x1,_0x30abda['MOeRZ']);})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})['command']('status',_0x1bf278[_0x3b6247(0x122)],()=>{},async()=>{const _0x5c096b=_0x3b6247;await _0x1bf278[_0x5c096b(0xa5)](withTelemetry,'status',()=>status());})['command'](_0x3b6247(0x20b),_0x1bf278['bGtxZ'],()=>{},async()=>{const _0x5a9ad2=_0x3b6247;await _0x1bf278[_0x5a9ad2(0xd8)](withTelemetry,'update',()=>update());})[_0x3b6247(0x118)](_0x1bf278['KEjTS'],_0x3b6247(0xf3),()=>{},async()=>{const _0x50cfc6=_0x3b6247,_0x39947c={'lwRYG':_0x1bf278[_0x50cfc6(0x217)]};await withTelemetry(_0x50cfc6(0x1b1),async()=>{const _0x1803cc=_0x50cfc6,_0xb81f96=await getToken();if(!_0xb81f96)throw new Error(_0x39947c[_0x1803cc(0x219)]);console['log'](_0xb81f96);});})['command']('go',_0x1bf278[_0x3b6247(0x23c)],_0x4dd8bc=>{const _0x4aac9c=_0x3b6247;return _0x4dd8bc['option'](_0x1bf278[_0x4aac9c(0x13a)],{'type':_0x4aac9c(0x103),'description':_0x1bf278['ldxYP']})[_0x4aac9c(0x177)](_0x1bf278['GitgC'],{'type':_0x1bf278['Gnpzs'],'description':_0x4aac9c(0xf0)})['option'](_0x1bf278['BFGoT'],{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278[_0x4aac9c(0xdd)]})['option'](_0x1bf278[_0x4aac9c(0x163)],{'type':_0x1bf278[_0x4aac9c(0x18e)],'description':_0x1bf278[_0x4aac9c(0xec)]})['option'](_0x4aac9c(0x1cb),{'type':'string','description':_0x4aac9c(0x12d)})[_0x4aac9c(0x177)](_0x1bf278[_0x4aac9c(0x15a)],{'type':'string','description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x4aac9c(0x177)](_0x1bf278[_0x4aac9c(0x248)],{'type':_0x1bf278['Gnpzs'],'description':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.'})['option'](_0x1bf278[_0x4aac9c(0x208)],{'type':'boolean','description':_0x4aac9c(0x158),'default':![]})['option'](_0x4aac9c(0x247),{'type':_0x4aac9c(0x103),'hidden':!![],'choices':['verified','partial',_0x1bf278['gszfP'],_0x4aac9c(0x1ff),_0x4aac9c(0x14d)]})[_0x4aac9c(0x177)](_0x1bf278[_0x4aac9c(0x1c2)],{'type':_0x4aac9c(0xc4),'hidden':!![]})['option']('env',{'type':_0x1bf278[_0x4aac9c(0x1d3)],'hidden':!![]})[_0x4aac9c(0x177)](_0x4aac9c(0xb5),{'type':_0x4aac9c(0x103),'hidden':!![]})[_0x4aac9c(0x177)](_0x4aac9c(0xc8),{'type':_0x1bf278[_0x4aac9c(0x18e)],'hidden':!![]});},async _0x47436a=>{await _0x1bf278['NIerT'](runGoCommand,_0x47436a);})['command'](_0x1bf278['glfcv'],![],_0x3bf51c=>{const _0x306913=_0x3b6247,_0x141b15={'vDhVD':_0x306913(0x15f),'QvweT':_0x1bf278['Gnpzs'],'NbAnL':function(_0x98b3ff,_0x414149,_0x1f30d1){return _0x98b3ff(_0x414149,_0x1f30d1);},'RmgRF':_0x306913(0x18a)};return _0x3bf51c['command'](_0x306913(0xa7),![],_0x48e099=>{const _0x93466b=_0x306913;return _0x48e099[_0x93466b(0x142)](_0x141b15['vDhVD'],{'type':_0x141b15[_0x93466b(0x112)],'description':_0x93466b(0x1aa),'demandOption':!![]});},async _0x5163bb=>{const _0x398e39=_0x306913;_0x141b15['NbAnL'](warnRenamed,_0x141b15['RmgRF'],_0x398e39(0x1b3)),await authEncrypt(_0x5163bb[_0x398e39(0x15f)]);})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})[_0x3b6247(0x118)](_0x1bf278[_0x3b6247(0xa3)],![],_0xb20bc9=>{const _0x46c8b9=_0x3b6247;return _0xb20bc9['positional'](_0x46c8b9(0x25b),{'type':_0x1bf278['Gnpzs'],'description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})[_0x46c8b9(0x177)](_0x1bf278[_0x46c8b9(0x226)],{'type':_0x1bf278[_0x46c8b9(0x1bf)],'description':_0x46c8b9(0x146),'default':![]})[_0x46c8b9(0x177)](_0x1bf278[_0x46c8b9(0xd6)],{'type':_0x46c8b9(0x103),'choices':[_0x1bf278[_0x46c8b9(0x176)],_0x1bf278['lWYTs']],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})['option'](_0x46c8b9(0xc5),{'type':_0x1bf278[_0x46c8b9(0x1d3)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x1bf278['CWjMk'],{'type':_0x1bf278['zvCFR'],'description':_0x46c8b9(0x190),'default':![]})[_0x46c8b9(0x177)]('skip-auth',{'type':_0x1bf278[_0x46c8b9(0x1bf)],'description':_0x1bf278[_0x46c8b9(0x10a)],'default':![]})[_0x46c8b9(0x177)](_0x1bf278[_0x46c8b9(0x18c)],{'type':_0x1bf278['zvCFR'],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]});},async _0x1f7628=>{const _0x1f917f=_0x3b6247;_0x1bf278[_0x1f917f(0x97)](warnRenamed,_0x1bf278['VePVU'],'ranger\x20setup'),await _0x1bf278['XLTFN'](withTelemetry,_0x1bf278['zLlea'],_0x59396c=>start(_0x1f7628['token'],{'skipChromium':_0x1f7628[_0x1f917f(0x1f1)],'skipAuth':_0x1f7628['skip-auth'],'withDeps':_0x1f7628['with-deps'],'scope':_0x1f7628[_0x1f917f(0x21d)],'url':_0x1f7628['url'],'force':_0x1f7628[_0x1f917f(0xcc)]},_0x59396c));})['command'](_0x3b6247(0x13f),![],_0x35c849=>{const _0x51d36b=_0x3b6247;return _0x35c849[_0x51d36b(0x177)](_0x1bf278[_0x51d36b(0xdc)],{'type':_0x1bf278['Gnpzs'],'description':_0x51d36b(0xf0)})['option'](_0x1bf278[_0x51d36b(0x1fa)],{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278[_0x51d36b(0x1e2)]})['option'](_0x51d36b(0xc8),{'type':_0x1bf278[_0x51d36b(0x18e)],'description':_0x1bf278[_0x51d36b(0xec)]})['option']('profile',{'type':'string','hidden':!![]})[_0x51d36b(0x177)](_0x1bf278['BFGoT'],{'type':_0x1bf278['Gnpzs'],'hidden':!![]})['option'](_0x51d36b(0x1c8),{'type':_0x1bf278[_0x51d36b(0x18e)],'hidden':!![]})['option'](_0x1bf278[_0x51d36b(0x237)],{'type':_0x51d36b(0x103),'description':_0x51d36b(0x12d)})['option'](_0x1bf278['YobWz'],{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278['ftTzW']})['option'](_0x51d36b(0x227),{'type':'string','hidden':!![]})[_0x51d36b(0x177)](_0x1bf278['cZCvk'],{'type':'boolean','hidden':!![],'default':![]})['option'](_0x1bf278[_0x51d36b(0x220)],{'type':_0x1bf278[_0x51d36b(0x1d3)],'hidden':!![],'choices':[_0x1bf278[_0x51d36b(0x1a4)],_0x1bf278[_0x51d36b(0x229)],'blocked',_0x1bf278['FMliv'],_0x51d36b(0x14d)]});},async _0x1e5ef8=>{await _0x1bf278['sHGmM'](runGoCommand,_0x1e5ef8,!![]);})[_0x3b6247(0x118)](_0x3b6247(0xbb),![],_0x327e81=>{const _0x40163f=_0x3b6247;return _0x327e81['positional'](_0x1bf278['UDaTm'],{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278['digbC'],'demandOption':!![]})['option']('ci',{'type':_0x1bf278['zvCFR'],'description':_0x1bf278['mQLkH'],'default':![]})['option'](_0x1bf278[_0x40163f(0x139)],{'type':'boolean','description':_0x1bf278['RbzNO'],'default':![]});},async _0x454f50=>{const _0x457265=_0x3b6247;warnRenamed('ranger\x20add\x20env','ranger\x20profile\x20add'),await withTelemetry(_0x1bf278['UBJpA'],_0x563c89=>addEnv(_0x454f50[_0x457265(0x98)],{'ci':_0x454f50['ci'],'skipAuth':_0x454f50['skip-auth']},_0x563c89));})['command'](_0x1bf278[_0x3b6247(0x9b)],![],_0x33e3c9=>{const _0x38d766=_0x3b6247;return _0x33e3c9['positional'](_0x1bf278['UDaTm'],{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278[_0x38d766(0xbc)],'demandOption':!![]});},async _0x252768=>{const _0x392fb9=_0x3b6247;warnRenamed('ranger\x20use',_0x392fb9(0x1a3)),await _0x1bf278['YwMXE'](withTelemetry,'use',()=>useEnv(_0x252768['env-name']));})['command'](_0x3b6247(0x11a),![],_0x376ffc=>{const _0x3ca68c=_0x3b6247,_0x4f48b5={'GGmeF':_0x1bf278['TsLSO'],'MzoLg':'string','zPKoV':_0x1bf278['LxXMk'],'mUghn':_0x1bf278['lJThg'],'cNieb':function(_0x183e79,_0xcd18c5,_0x5caf6c){return _0x1bf278['fVbYx'](_0x183e79,_0xcd18c5,_0x5caf6c);},'rEvby':_0x1bf278[_0x3ca68c(0x123)],'XFxVj':'Environment\x20name','kkKaE':_0x1bf278[_0x3ca68c(0xf8)],'cCLdq':'Config\x20key','gejpo':'ranger\x20config\x20get','ViGNY':_0x3ca68c(0x240),'ILtCa':'ranger\x20profile\x20config\x20list','kwrYl':'config\x20list','fBgIn':function(_0x2624b7,_0x3f4f41,_0x4823f1){return _0x2624b7(_0x3f4f41,_0x4823f1);}};return _0x376ffc[_0x3ca68c(0x118)](_0x1bf278['HBtdL'],![],_0x2417a4=>{const _0xb30a1e=_0x3ca68c;return _0x2417a4[_0xb30a1e(0x142)](_0x4f48b5[_0xb30a1e(0x96)],{'type':_0x4f48b5['MzoLg'],'description':'Environment\x20name','demandOption':!![]})['positional'](_0xb30a1e(0x1cd),{'type':'string','description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})[_0xb30a1e(0x142)](_0x4f48b5['zPKoV'],{'type':_0x4f48b5[_0xb30a1e(0xb2)],'description':_0xb30a1e(0xbd),'demandOption':!![]});},async _0x242c69=>{const _0x4a25db=_0x3ca68c;warnRenamed(_0x4a25db(0x241),_0x4f48b5[_0x4a25db(0x16f)]),await _0x4f48b5[_0x4a25db(0xfb)](withTelemetry,_0x4f48b5['rEvby'],()=>configSet(_0x242c69['env'],_0x242c69['key'],_0x242c69['value']));})[_0x3ca68c(0x118)](_0x1bf278['hATrN'],![],_0x5c87fd=>{const _0x2cc09c=_0x3ca68c;return _0x5c87fd['positional']('env',{'type':_0x4f48b5['MzoLg'],'description':_0x4f48b5[_0x2cc09c(0x1c3)],'demandOption':!![]})['positional'](_0x4f48b5[_0x2cc09c(0x22d)],{'type':_0x4f48b5[_0x2cc09c(0xb2)],'description':_0x4f48b5[_0x2cc09c(0x17f)],'demandOption':!![]});},async _0x587f7a=>{const _0x58b1be=_0x3ca68c;warnRenamed(_0x4f48b5['gejpo'],_0x58b1be(0x19d)),await withTelemetry('config\x20get',()=>configGet(_0x587f7a['env'],_0x587f7a[_0x58b1be(0x1cd)]));})['command'](_0x3ca68c(0x16e),![],_0x42b60f=>{return _0x42b60f['positional']('env',{'type':'string','description':_0x4f48b5['XFxVj'],'demandOption':!![]});},async _0x28792c=>{const _0x5d1f49=_0x3ca68c;warnRenamed(_0x4f48b5[_0x5d1f49(0x1c6)],_0x4f48b5[_0x5d1f49(0x12a)]),await _0x4f48b5[_0x5d1f49(0xfb)](withTelemetry,_0x4f48b5[_0x5d1f49(0x13d)],()=>configList(_0x28792c['env']));})[_0x3ca68c(0x118)](_0x1bf278[_0x3ca68c(0x17c)],![],_0x2fd2ce=>{const _0x5ef95=_0x3ca68c;return _0x2fd2ce['positional'](_0x1bf278['TsLSO'],{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278[_0x5ef95(0xeb)],'demandOption':!![]})[_0x5ef95(0x142)](_0x5ef95(0x1cd),{'type':_0x1bf278[_0x5ef95(0x1d3)],'description':_0x1bf278[_0x5ef95(0x19a)],'demandOption':!![]});},async _0x496f9f=>{const _0x4e4c4a=_0x3ca68c;_0x4f48b5[_0x4e4c4a(0xda)](warnRenamed,_0x4e4c4a(0x1f8),'ranger\x20profile\x20config\x20unset'),await withTelemetry('config\x20unset',()=>configUnset(_0x496f9f['env'],_0x496f9f[_0x4e4c4a(0x1cd)]));})[_0x3ca68c(0xee)](0x1,_0x3ca68c(0x21e));})['command'](_0x1bf278['TsLSO'],![],_0x1dc3d0=>{const _0x1d02a1=_0x3b6247,_0x30061c={'aBBVm':function(_0x3aee23,_0x19d498,_0x2c9815){return _0x1bf278['bxUkw'](_0x3aee23,_0x19d498,_0x2c9815);},'ckCqc':_0x1bf278['czXAD']};return _0x1dc3d0[_0x1d02a1(0x118)]('ls',![],()=>{},async()=>{const _0x489a24=_0x1d02a1;_0x30061c[_0x489a24(0x15d)](warnRenamed,_0x30061c['ckCqc'],_0x489a24(0x135)),await withTelemetry('env\x20list',()=>envList());})['command'](_0x1bf278[_0x1d02a1(0x1e4)],![],_0x328fae=>{const _0x54d7b6=_0x1d02a1;return _0x328fae[_0x54d7b6(0x142)](_0x54d7b6(0x98),{'type':'string','description':_0x54d7b6(0x107),'demandOption':!![]});},async _0x5c63c=>{const _0xc15511=_0x1d02a1;warnRenamed('ranger\x20env\x20update',_0x1bf278['TZQAw']),await _0x1bf278[_0xc15511(0x101)](withTelemetry,_0x1bf278[_0xc15511(0x1cc)],_0x11b343=>updateEnv(_0x5c63c[_0xc15511(0x98)],_0x11b343));})[_0x1d02a1(0xee)](0x1,_0x1bf278['OYneA']);})['command']('feature',![],_0x23f468=>{const _0x43ee3e=_0x3b6247,_0x5a9be9={'qINQG':_0x43ee3e(0x103),'QbGfI':_0x43ee3e(0x1f9),'FBhMd':_0x1bf278['laYWs'],'bAlGt':function(_0x335843,_0x5b270c,_0x407b4d){const _0x424592=_0x43ee3e;return _0x1bf278[_0x424592(0xbe)](_0x335843,_0x5b270c,_0x407b4d);},'rcSnz':_0x43ee3e(0xf7),'CAcIQ':'ranger\x20create','oowVH':'--checklist','lOLvv':function(_0x4c3cc9,_0x202d25,_0x3f8bb3){const _0xa3df30=_0x43ee3e;return _0x1bf278[_0xa3df30(0xa2)](_0x4c3cc9,_0x202d25,_0x3f8bb3);},'GjBHZ':'ranger\x20list','cKtTV':_0x1bf278['AWqCL'],'FOFUK':'ranger\x20get-review','RYKoe':_0x1bf278['fwUAM'],'GLGMV':_0x1bf278[_0x43ee3e(0x1e3)]};return _0x23f468[_0x43ee3e(0x118)](_0x1bf278['goujk'],![],_0x248982=>{const _0x417b5e=_0x43ee3e;return _0x248982['positional']('name',{'type':'string','description':_0x417b5e(0xb4),'demandOption':!![]})[_0x417b5e(0x177)]('description',{'type':_0x5a9be9['qINQG'],'alias':'d','description':_0x5a9be9[_0x417b5e(0x1e7)]})[_0x417b5e(0x177)](_0x417b5e(0x149),{'type':_0x417b5e(0xcb),'alias':'c','description':_0x417b5e(0x14e)})['option'](_0x417b5e(0x1c8),{'type':_0x5a9be9[_0x417b5e(0x17e)],'hidden':!![]});},async _0x35aeb5=>{const _0x35b3ce=_0x43ee3e;_0x5a9be9['bAlGt'](warnRenamed,_0x5a9be9[_0x35b3ce(0x144)],_0x5a9be9[_0x35b3ce(0x156)]),warnFlagRenamed(_0x35b3ce(0x23a),_0x5a9be9['oowVH'],_0x35b3ce(0x1d5));const _0x266569=_0x35aeb5['scenario']||_0x35aeb5[_0x35b3ce(0x149)];await withTelemetry('feature\x20create',()=>featureCreate(_0x35aeb5['name'],{'description':_0x35aeb5[_0x35b3ce(0x1ef)],'scenarios':_0x266569}));})[_0x43ee3e(0x118)]('list',![],_0xb79505=>{const _0x2582a7=_0x43ee3e;return _0xb79505['option'](_0x1bf278[_0x2582a7(0x201)],{'type':_0x2582a7(0xc4),'description':_0x1bf278[_0x2582a7(0x10d)]})['option'](_0x1bf278[_0x2582a7(0x186)],{'type':_0x1bf278[_0x2582a7(0x18e)],'alias':'l','description':_0x1bf278['NWPRD'],'default':0xa})['option'](_0x1bf278['hQZpn'],{'type':_0x2582a7(0x1fe),'alias':'o','description':_0x1bf278[_0x2582a7(0x216)],'default':0x0})['option']('include-deleted',{'type':_0x2582a7(0xc4),'alias':'d','description':_0x2582a7(0x254),'default':![]});},async _0x586fd0=>{const _0x189ee3=_0x43ee3e;_0x5a9be9[_0x189ee3(0x1dc)](warnRenamed,'ranger\x20feature\x20list',_0x5a9be9[_0x189ee3(0x21c)]),await _0x5a9be9[_0x189ee3(0x1dc)](withTelemetry,_0x189ee3(0xac),()=>featureList({'currentBranch':_0x586fd0['current-branch'],'limit':_0x586fd0['limit'],'offset':_0x586fd0['offset'],'includeDeleted':_0x586fd0[_0x189ee3(0x1a1)]}));})['command'](_0x1bf278['FLLGH'],![],_0x2e8c59=>{const _0x2fed46=_0x43ee3e;return _0x2e8c59[_0x2fed46(0x142)]('id',{'type':_0x1bf278[_0x2fed46(0x1d3)],'description':_0x2fed46(0x11f)});},async _0x11e3ee=>{const _0x211d5b=_0x43ee3e;_0x1bf278[_0x211d5b(0xbe)](warnRenamed,_0x1bf278['WpTJx'],_0x211d5b(0x167)),await _0x1bf278['hboEA'](withTelemetry,_0x211d5b(0x256),()=>featureShow(_0x11e3ee['id']));})[_0x43ee3e(0x118)]('resume\x20[id]',![],_0x82f1be=>{const _0x419dde=_0x43ee3e;return _0x82f1be[_0x419dde(0x142)]('id',{'type':_0x419dde(0x103),'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x4e6bbf=>{const _0x56f6d4=_0x43ee3e;_0x1bf278[_0x56f6d4(0x23d)](warnRenamed,_0x1bf278[_0x56f6d4(0x1bd)],'ranger\x20resume'),await _0x1bf278[_0x56f6d4(0x115)](withTelemetry,_0x56f6d4(0x1e6),()=>featureResume(_0x4e6bbf['id']));})['command'](_0x43ee3e(0x1f4),![],_0x4d988d=>{const _0x539475=_0x43ee3e;return _0x4d988d[_0x539475(0x142)]('description',{'type':_0x539475(0x103),'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':_0x1bf278[_0x539475(0x1d3)],'description':_0x539475(0x210)});},async _0x5f2d35=>{const _0x29adc8=_0x43ee3e;_0x5a9be9['bAlGt'](warnRenamed,_0x5a9be9[_0x29adc8(0x22c)],_0x29adc8(0x1d9)),await withTelemetry('feature\x20add-checklist-item',()=>featureAddScenario(_0x5f2d35[_0x29adc8(0x1ef)],_0x5f2d35['id']));})['command'](_0x1bf278[_0x43ee3e(0x127)],![],_0x5d63d7=>{const _0x18454b=_0x43ee3e;return _0x5d63d7[_0x18454b(0x142)]('id',{'type':_0x5a9be9[_0x18454b(0x24b)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x454d53=>{const _0x1c8c55=_0x43ee3e;warnRenamed('ranger\x20feature\x20get-feedback',_0x5a9be9[_0x1c8c55(0x1d7)]),await _0x5a9be9[_0x1c8c55(0x1dc)](withTelemetry,_0x5a9be9[_0x1c8c55(0x23b)],()=>featureGetReview(_0x454d53['id']));})[_0x43ee3e(0x118)](_0x43ee3e(0xa6),![],_0x83c419=>{const _0x5bac00=_0x43ee3e;return _0x83c419[_0x5bac00(0x142)]('id',{'type':_0x5a9be9[_0x5bac00(0x24b)],'description':_0x5bac00(0x11f)});},async _0x500f7=>{const _0xd9ef88=_0x43ee3e;warnRenamed(_0xd9ef88(0x23e),'ranger\x20delete'),await withTelemetry('feature\x20delete',()=>featureDelete(_0x500f7['id']));})['command']('restore\x20<id>',![],_0x3b6f05=>{const _0x1adbaa=_0x43ee3e;return _0x3b6f05[_0x1adbaa(0x142)]('id',{'type':_0x1adbaa(0x103),'description':_0x5a9be9['GLGMV'],'demandOption':!![]});},async _0x24c86f=>{const _0x3dbbec=_0x43ee3e;_0x1bf278[_0x3dbbec(0xc7)](warnRenamed,_0x1bf278['SzaxA'],'ranger\x20restore'),await withTelemetry(_0x3dbbec(0xa9),()=>featureRestore(_0x24c86f['id']));})['demandCommand'](0x1,_0x43ee3e(0x207));})[_0x3b6247(0x118)](_0x1bf278['hjquk'],![],_0x489ca3=>{const _0x1385fb=_0x3b6247,_0x572102={'sPIYQ':_0x1385fb(0x244)};return _0x489ca3['command']('enable',_0x1bf278[_0x1385fb(0x246)],_0x5ad030=>{const _0xce5158=_0x1385fb;return _0x5ad030[_0xce5158(0x177)]('session-id',{'type':_0x1bf278[_0xce5158(0x1d3)],'description':_0x1bf278[_0xce5158(0x9a)]});},async _0x3ecfb2=>{const _0x541948=_0x1385fb;await withTelemetry(_0x1bf278[_0x541948(0x170)],()=>hook(_0x541948(0xd2),_0x3ecfb2[_0x541948(0x244)]));})['command'](_0x1385fb(0xf5),_0x1bf278['FBLfn'],_0x29071d=>{const _0x4703fb=_0x1385fb;return _0x29071d['option'](_0x572102['sPIYQ'],{'type':'string','description':_0x4703fb(0x12b)});},async _0x1e1c01=>{const _0x3baae0=_0x1385fb;await withTelemetry('hook:disable',()=>hook('disable',_0x1e1c01[_0x3baae0(0x244)]));})[_0x1385fb(0x177)](_0x1bf278[_0x1385fb(0x1d2)],{'type':_0x1385fb(0x103),'description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})['option'](_0x1bf278['SoWVW'],{'type':'string','description':_0x1bf278[_0x1385fb(0x9a)]});},async _0x49a316=>{const _0x319b03=_0x3b6247;_0x49a316['name']&&await _0x1bf278[_0x319b03(0x148)](hook,_0x49a316[_0x319b03(0x1bc)],_0x49a316[_0x1bf278[_0x319b03(0x172)]]);})[_0x3b6247(0xee)](0x1,_0x1bf278[_0x3b6247(0xf9)])['strictCommands']()['fail'](async(_0x18153b,_0x118b77,_0x3a6371)=>{const _0x154153=_0x3b6247,_0x2f9555=_0x1bf278['fHIRa'](sanitizeArgs,process['argv'][_0x154153(0x1a9)](0x2)),_0xe1c05e=getErrorType(_0x18153b,_0x118b77);if(_0x18153b&&_0x18153b['includes'](_0x154153(0x178))){const _0x11f551=process[_0x154153(0x259)][0x2];console[_0x154153(0x204)](_0x154153(0x20f)+_0x11f551),console[_0x154153(0x204)](_0x1bf278[_0x154153(0x155)]);}else{if(_0x18153b)console['error']('\x0a'+_0x18153b+'\x0a');else _0x118b77&&console['error'](_0x154153(0xbf)+_0x118b77[_0x154153(0x161)]+'\x0a');}await _0x1bf278[_0x154153(0xb7)](logDesirePath,{'rawCommand':_0x2f9555,'errorMessage':_0x18153b||_0x118b77?.[_0x154153(0x161)],'errorType':_0xe1c05e});const _0xdbe277=getCurrentCollector();_0xdbe277&&await _0xdbe277[_0x154153(0x99)](_0x118b77||new Error(_0x18153b||_0x1bf278[_0x154153(0x1ab)])),process[_0x154153(0x230)](0x1);})['epilogue'](_0x1bf278[_0x3b6247(0x249)]('Documentation:\x0a',_0x1bf278[_0x3b6247(0xe5)])+_0x3b6247(0x19b))[_0x3b6247(0x1b4)]()['alias']('help','h');}process[_0x4f3969(0xb3)]['NODE_ENV']!==_0x4f3969(0x20a)&&buildParser()['parse']();
|