@ranger-testing/ranger-cli 2.5.4-alpha.feb9faf-20 → 3.0.1-alpha.aab0a1c-26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cli.js +1 -1
- package/build/commands/addEnv.js +1 -1
- package/build/commands/authEncrypt.js +1 -1
- package/build/commands/clean.js +1 -1
- package/build/commands/config.js +1 -1
- package/build/commands/deleteProfile.js +1 -0
- package/build/commands/env.js +1 -1
- package/build/commands/feature.js +1 -1
- package/build/commands/hook.js +1 -1
- package/build/commands/hooks/autoPrompt.js +1 -1
- package/build/commands/hooks/disable.js +1 -1
- package/build/commands/hooks/enable.js +1 -1
- package/build/commands/hooks/exitPlanMode.js +1 -1
- package/build/commands/hooks/index.js +1 -1
- package/build/commands/hooks/output.js +1 -1
- package/build/commands/hooks/planReminder.js +1 -1
- package/build/commands/hooks/planStart.js +1 -1
- package/build/commands/hooks/postEdit.js +1 -1
- package/build/commands/hooks/preCompact.js +1 -1
- package/build/commands/hooks/sessionEnd.js +1 -1
- package/build/commands/hooks/sessionStart.js +1 -1
- package/build/commands/hooks/stopHook.js +1 -1
- package/build/commands/index.js +1 -1
- package/build/commands/login.js +1 -1
- package/build/commands/mcpBootstrap.js +1 -1
- package/build/commands/migrateProfile.js +1 -1
- package/build/commands/setup/claude.js +1 -1
- package/build/commands/setup/opencode.js +1 -1
- package/build/commands/setupCi.js +1 -1
- package/build/commands/skillup.js +1 -1
- package/build/commands/start.js +1 -1
- package/build/commands/status.js +1 -1
- package/build/commands/update.js +1 -1
- package/build/commands/updateEnv.js +1 -1
- package/build/commands/useEnv.js +1 -1
- package/build/commands/utils/activeProfile.js +1 -1
- package/build/commands/utils/agentEnv.js +1 -1
- package/build/commands/utils/browserSessionsApi.js +1 -1
- package/build/commands/utils/claudeConfig.js +1 -1
- package/build/commands/utils/claudeOverrideSettings.js +1 -1
- package/build/commands/utils/claudePlugin.js +1 -1
- package/build/commands/utils/cloudProfile.js +1 -1
- package/build/commands/utils/cloudProfileSession.js +1 -1
- package/build/commands/utils/crypto.js +1 -1
- package/build/commands/utils/desirePathLog.js +1 -1
- package/build/commands/utils/deviceAuth.js +1 -1
- package/build/commands/utils/environment.js +1 -1
- package/build/commands/utils/featureApi.js +1 -1
- package/build/commands/utils/fixWebmDuration.js +1 -1
- package/build/commands/utils/gitTracked.js +1 -1
- package/build/commands/utils/keychain.js +1 -1
- package/build/commands/utils/legacyWarning.js +1 -1
- package/build/commands/utils/localAgentInstallationsApi.js +1 -1
- package/build/commands/utils/matchAuthEnvironment.js +1 -1
- package/build/commands/utils/mcpImageBase64.js +1 -1
- package/build/commands/utils/model.js +1 -1
- package/build/commands/utils/novaActCli.js +1 -0
- package/build/commands/utils/opencodeConfig.js +1 -1
- package/build/commands/utils/playwrightCli.js +1 -1
- package/build/commands/utils/profileMessages.js +1 -1
- package/build/commands/utils/profileSetupBanner.js +1 -1
- package/build/commands/utils/projectsConfig.js +1 -1
- package/build/commands/utils/rangerConfig.js +1 -1
- package/build/commands/utils/rangerRoot.js +1 -1
- package/build/commands/utils/resolveProfileContext.js +1 -1
- package/build/commands/utils/resolveProfileUrl.js +1 -1
- package/build/commands/utils/retry.js +1 -1
- package/build/commands/utils/sessionCache.js +1 -1
- package/build/commands/utils/settings.js +1 -1
- package/build/commands/utils/skillContent.js +1 -1
- package/build/commands/utils/skills.js +1 -1
- package/build/commands/utils/stitchWebmFiles.js +1 -1
- package/build/commands/utils/telemetry.js +1 -1
- package/build/commands/utils/tokenRefresh.js +1 -1
- package/build/commands/utils/traceSnapshotMapper.js +1 -1
- package/build/commands/utils/userApi.js +1 -1
- package/build/commands/utils/version.js +1 -1
- package/build/commands/verifyFeature.js +1 -1
- package/build/commands/verifyFeatureCli.js +1 -1
- package/build/commands/verifyFeatureNovaCli.js +1 -0
- package/build/skills/ranger/SKILL.md +1 -1
- package/package.json +1 -1
package/build/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x3880c4=_0x5d9c;(function(_0x15eccb,_0x39359d){const _0x486703=_0x5d9c,_0x5503f7=_0x15eccb();while(!![]){try{const _0x7c8e73=-parseInt(_0x486703(0x1cb))/0x1+-parseInt(_0x486703(0x17e))/0x2*(-parseInt(_0x486703(0x240))/0x3)+-parseInt(_0x486703(0xee))/0x4*(parseInt(_0x486703(0x1e0))/0x5)+parseInt(_0x486703(0x20e))/0x6*(parseInt(_0x486703(0xeb))/0x7)+parseInt(_0x486703(0x1ab))/0x8*(-parseInt(_0x486703(0x13f))/0x9)+parseInt(_0x486703(0x1a8))/0xa*(parseInt(_0x486703(0xf3))/0xb)+-parseInt(_0x486703(0x110))/0xc;if(_0x7c8e73===_0x39359d)break;else _0x5503f7['push'](_0x5503f7['shift']());}catch(_0x58699d){_0x5503f7['push'](_0x5503f7['shift']());}}}(_0x1a6e,0xcf627));import _0x5a0af4 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x1f1cff=_0x5d9c,_0x44f292={'ZdAwA':function(_0x4c52f1,_0x1fc9ed){return _0x4c52f1(_0x1fc9ed);},'WzIZY':function(_0x514339,_0x36b100){return _0x514339!==_0x36b100;},'oLzyy':_0x1f1cff(0x283),'DreJP':function(_0x424a3c,_0x103319){return _0x424a3c(_0x103319);},'ZLjkP':function(_0x27115b,_0x1c02a4,_0x377f67){return _0x27115b(_0x1c02a4,_0x377f67);},'KuvvS':function(_0x4d7f0b,_0x146966){return _0x4d7f0b(_0x146966);}};let _0xea9a2c=process[_0x1f1cff(0x20d)]();const _0x26e5ec=_0x44f292[_0x1f1cff(0xe2)](parse,_0xea9a2c)[_0x1f1cff(0x281)];while(_0x44f292[_0x1f1cff(0x22a)](_0xea9a2c,_0x26e5ec)){if(existsSync(join(_0xea9a2c,_0x44f292[_0x1f1cff(0x292)]))||_0x44f292[_0x1f1cff(0x210)](existsSync,_0x44f292['ZLjkP'](join,_0xea9a2c,_0x1f1cff(0x10c))))return _0xea9a2c;_0xea9a2c=_0x44f292['KuvvS'](dirname,_0xea9a2c);}return process[_0x1f1cff(0x20d)]();}_0x5a0af4['config']({'path':join(findProjectRoot(),_0x3880c4(0x10c))});import _0x3b3633 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{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';function _0x5d9c(_0x3b25e4,_0x772cf1){_0x3b25e4=_0x3b25e4-0xd2;const _0x1a6eda=_0x1a6e();let _0x5d9ce1=_0x1a6eda[_0x3b25e4];return _0x5d9ce1;}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 _0x411c41=>{const _0x4501c8=_0x3880c4,_0x4a7969={'LoNna':function(_0x1abfbd){return _0x1abfbd();}},_0x463d5b=_0x4a7969[_0x4501c8(0x1b1)](getCurrentCollector);_0x463d5b&&await _0x463d5b[_0x4501c8(0xf5)](_0x411c41),process['exitCode']=0x1;});const rawArgs=process['argv']['slice'](0x2),TOP_LEVEL_HELP=_0x3880c4(0x248),PROFILE_HELP=_0x3880c4(0x278),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201';function warnRenamed(_0x416d58,_0x8f981c){const _0x53bbb4=_0x3880c4;console[_0x53bbb4(0xfe)]('\x0a'+_0x416d58+'\x20is\x20now\x20'+_0x8f981c+'\x0a');}function argUsed(_0x40ace6){const _0x44f4bd=_0x3880c4;return rawArgs[_0x44f4bd(0x171)](_0x447a02=>_0x447a02===_0x40ace6||_0x447a02['startsWith'](_0x40ace6+'='));}function warnFlagRenamed(_0x552fec,_0x2960e7,_0x215939){const _0x44849c=_0x3880c4,_0x4ebda2={'VcXFr':function(_0x3127d8,_0x1f5795){return _0x3127d8(_0x1f5795);}};_0x4ebda2[_0x44849c(0x1ca)](argUsed,_0x2960e7)&&warnRenamed(_0x552fec+'\x20'+_0x2960e7,_0x552fec+'\x20'+_0x215939);}async function runGoCommand(_0x753293,_0x4390fa=![]){const _0x17f476=_0x3880c4,_0x1618df={'sZGdS':function(_0x424b06,_0x1934d0,_0x3a0531){return _0x424b06(_0x1934d0,_0x3a0531);},'mGwtl':'ranger\x20go','YAjaG':_0x17f476(0x29f),'OAllE':_0x17f476(0xd9),'jDKhj':function(_0x485c7d,_0x565a9d,_0x51702e,_0x245d7a){return _0x485c7d(_0x565a9d,_0x51702e,_0x245d7a);},'bgpML':function(_0x3ad4bd,_0x1c614c,_0x12f3f7,_0x31b9b3){return _0x3ad4bd(_0x1c614c,_0x12f3f7,_0x31b9b3);},'EKjMA':function(_0x133510){return _0x133510();},'CtRDQ':_0x17f476(0x15c),'SiQwC':_0x17f476(0x23e),'LZJXl':function(_0x28bfe5,_0xa0b2be){return _0x28bfe5+_0xa0b2be;},'rDYLd':function(_0x1e0f15,_0x338072){return _0x1e0f15===_0x338072;},'FslAP':_0x17f476(0x27b),'qOZAf':_0x17f476(0xd8),'DJgKW':_0x17f476(0x18a),'QCukI':function(_0x11952f,_0x3b359f){return _0x11952f===_0x3b359f;},'CZfev':'blocked','kLgQN':_0x17f476(0x287)};_0x4390fa&&_0x1618df[_0x17f476(0x1a5)](warnRenamed,'ranger\x20verify-feature',_0x1618df[_0x17f476(0x174)]);warnFlagRenamed(_0x1618df['mGwtl'],_0x1618df[_0x17f476(0x249)],_0x1618df['OAllE']),_0x1618df[_0x17f476(0x1ec)](warnFlagRenamed,_0x17f476(0x14a),_0x17f476(0x231),'--notes'),_0x1618df['bgpML'](warnFlagRenamed,'ranger\x20go','--item',_0x17f476(0x27f));const _0x437c95=await _0x1618df[_0x17f476(0x185)](loadRangerConfig),_0x5e97b4=isByokEnabled(),_0x2f1450=_0x753293['model'],_0x5d31a4=_0x437c95['model'],_0x27a504=await verifyFeature({'featureId':_0x753293['feature'],'profile':_0x753293[_0x17f476(0x18e)]??_0x753293[_0x17f476(0x218)]??process['env']['RANGER_PROFILE'],'notes':_0x753293['notes']??_0x753293['task'],'scenario':_0x753293['scenario']??_0x753293[_0x17f476(0x2a0)],'startPath':_0x753293[_0x17f476(0x144)],'baseUrl':_0x753293[_0x1618df[_0x17f476(0x126)]],'debugOutcome':_0x753293[_0x17f476(0x1d2)],'debugAddressComments':_0x753293[_0x1618df[_0x17f476(0x2a4)]],'headed':_0x753293[_0x17f476(0xfa)],'byokEnabled':_0x5e97b4,'flagVerifyModel':_0x2f1450,'configVerifyModel':_0x5d31a4});console['log'](_0x1618df['LZJXl']('\x0a','='['repeat'](0x3c))),console[_0x17f476(0x270)](_0x1618df[_0x17f476(0x1c4)](_0x27a504[_0x17f476(0x29e)],_0x1618df[_0x17f476(0x1e4)])?'\x20VERIFIED':_0x27a504['evaluation']===_0x1618df['qOZAf']?'\x20INCOMPLETE':_0x1618df[_0x17f476(0x1c4)](_0x27a504['evaluation'],'partial')?_0x1618df['DJgKW']:_0x1618df['QCukI'](_0x27a504['evaluation'],_0x1618df['CZfev'])?'\x20BLOCKED':'\x20FAILED'),console[_0x17f476(0x270)]('='['repeat'](0x3c)),console[_0x17f476(0x270)](_0x17f476(0x162)+_0x27a504['summary']),console[_0x17f476(0x270)]('Evaluation:\x20'+_0x27a504['evaluation']),console[_0x17f476(0x270)]('Reason:\x20'+_0x27a504[_0x17f476(0x146)]),_0x27a504['issues']?.['length']&&(console['log'](_0x1618df[_0x17f476(0xfc)]),_0x27a504[_0x17f476(0x1e1)]['forEach']((_0x4a5e85,_0x615c4c)=>{const _0x31bd64=_0x17f476;console[_0x31bd64(0x270)]('\x0a'+(_0x615c4c+0x1)+_0x31bd64(0x23a)+_0x4a5e85['severity']+']\x20'+_0x4a5e85[_0x31bd64(0x1f4)]);})),process['exit'](_0x1618df['rDYLd'](_0x27a504[_0x17f476(0x29e)],_0x1618df[_0x17f476(0x1e4)])?0x0:0x1);}function _0x1a6e(){const _0x298498=['FGSqr','ranger\x20feature\x20resume','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','CuCXK','RXcUZ','EKjMA','oBXNa','ranger\x20restore','url','iZwaL','\x20PARTIAL','Run\x20full\x20interactive\x20setup','HIOSl','dry-run','profile','xPiDy','edit-scenario','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','start','feature\x20show','ZWsbl','Scenario\x20number\x20to\x20edit\x20(1-based)','profile\x20update','You\x20must\x20specify\x20an\x20env\x20subcommand','dinnU','ranger\x20env\x20ls','profile\x20encrypt-auth','OxLPk','Name\x20of\x20the\x20environment\x20to\x20update','\x27.\x20Session\x20saved.','wTNyY','tXboX','URqMK','ranger\x20profile\x20config\x20set','JUkCT','LLoYc','reset\x20<profile>','sZGdS','NsZLm','delete','2537030ZtczuR','IQWkG','verify-feature','3133768Oigthp','bgHCL','List\x20all\x20profiles','ranger\x20profile\x20ls','guhHP','CtuoI','LoNna','gePev','VZEri','sKueZ','cdEzo','Environment\x20name','xiQrX','HdJZK','MEAAP','cdp-endpoint','limit','TPing','setup:profiles','fSZPe','GdscJ','API\x20token','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','IZzoV','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','rDYLd','update\x20<env-name>','htRqq','RYAHG','version','USKLm','VcXFr','62509rCJxPQ','number','zywTc','mllfF','env-name','parse','rrutU','debug-outcome','project','nNOic','exit','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','aLHUY','mcp','skip-auth','current-branch','kMeeB','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','ZsqLk','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','Skip\x20Chromium\x20browser\x20installation','26055vjMhal','issues','qOvhc','XFmqD','FslAP','use','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','boolean','fGmGM','get\x20<env>\x20<key>','MbdrR','jDKhj','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','zRfTo','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','ranger\x20add\x20env','VVwrD','bNFqf','use\x20<profile-name>','description','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','exclude-scenario','map','utgum','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','encrypt\x20<profile>','cnAVE','ranger\x20create','tezqh','RANGER_TEST_PASSWORD','LQbIQ','NODE_ENV','nXpcy','get-review','bZQRZ','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','GhydO','UEZQn','pCbOB','ranger\x20config\x20set','ranger\x20feature\x20list','RkuzV','cwd','47814WYrZJW','RYnup','DreJP','offset','Number\x20of\x20feature\x20reviews\x20to\x20skip','GtavJ','rDQGp','ranger\x20auth\x20encrypt','QAXAs','add\x20<profile-name>','env','string','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','CmwQq','VfjlS','jWywb','ranger','update','rDUxi','EvVjw','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','NmzIX','fail','scenario','Ranger\x20API\x20token','mlkgh','success','Scenario\x20index\x20(1-based)','WzIZY','XdocC','yes','aUkdo','JquyU','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','--task','juapU','aJgfw','SYVhD','FKrNS','MYMee','get\x20<profile>\x20<key>','usage','nGuLp','.\x20[','WGpXn','HuWJP','add-scenario\x20<description>','debug-address-comments','setup\x20[tokenOrSubcommand]','4694784HjRxXI','model','Install\x20Ranger\x20skills','SvnQZ','vfEfV','ttEQw','opencode','Unknown\x20command','Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aDeprecated\x20(now\x20exit\x201\x20with\x20a\x20redirect):\x20`profile\x20update`,\x20`profile\x20encrypt-auth`,\x0a`profile\x20migrate`,\x20`setup\x20--ci`.\x20Run\x20`ranger\x20profile\x20add\x20<name>`\x20to\x20set\x20up\x20a\x0afresh\x20profile.\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.','YAjaG','CclZu','JbPDb','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','add\x20env\x20<env-name>','tlIGm','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','Kvssq','value','AXTJs','config\x20unset','config\x20list','tKhVn','fQOaD','Skip\x20browser\x20authentication','\x20is\x20no\x20longer\x20supported.\x20','skillup','notes','ranger\x20config\x20get','hzIkW','Authenticate\x20with\x20Ranger','cqVxA','obToK','name','mFtPl','Manage\x20profiles','mPGBm','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','VokGG','feature\x20create','List\x20all\x20feature\x20reviews','deps','UUBkJ','demandCommand','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','BvUdJ','zHUQQ','WuhOX','EVBcY','log','gEWvJ','STKjN','EIrOh','zMjKu','Jztvj','dXpux','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aDeprecated\x20(exit\x201\x20with\x20a\x20redirect\x20message):\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20→\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20to\x20refresh\x20auth\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20→\x20no\x20longer\x20needed;\x20Ranger\x20manages\x20session\x20state\x0a\x20\x20migrate\x20[<profile>]\x20\x20\x20\x20\x20\x20\x20→\x20run\x20`ranger\x20profile\x20add\x20<name>`;\x20old\x20dirs\x20stay\x20readable\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201','GxFjS','array','verified','SgXlX','epilogue','Unknown\x20error','--scenario','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','root','Name\x20of\x20the\x20profile','.ranger','key','Skip\x20interactive\x20confirmation\x20prompts.','skip-chromium','\x0aIssues:','RBuik','Feature\x20review\x20description','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','use\x20<env-name>','ranger\x20feature\x20add-checklist-item','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','Install\x20OS-level\x20dependencies\x20for\x20Chromium','GiDWl','unknown\x20error','oLzyy','ranger\x20setup\x20profiles\x20--scope=','bYkNW','You\x20must\x20specify\x20a\x20config\x20subcommand','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','ranger\x20add-scenario','iKgWc','elrqS','sySdV','aalNE','all','with-deps','evaluation','--env','item','ZgLio','user','fPFoH','SiQwC','encrypt-auth\x20<profile>','GaKns','vBPqE','ODBNR','eYTPE','LwJpt','incomplete','--profile','profile-name','mcp-bootstrap','list','ranger\x20profile\x20use','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','suTTY','alias','session-id','ZdAwA','failed','ranger\x20profile\x20encrypt-auth','Config\x20key','XztbP','ZkXAk','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','positional','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','1253PeCrjJ','\x0aError:\x20','rjijw','1084UWpiKW','env\x20list','xEOiO','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','ULbby','55mWXsvD','ggJAX','trackCommandError','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','tokenOrSubcommand','feature\x20restore','gubjT','headed','ilpXC','kLgQN','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','error','config\x20set','UlkeW','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','vgevM','login','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','feature\x20get-feedback','LEmeZ','Profile\x20name','Documentation:\x0a','Scenario\x20description','cvgBU','not_configured','.env','NFYku','checklist','setup:all','18528432rYHcyB','DqdQy','resume','✓\x20Login\x20succeeded\x20for\x20\x27','brinw','You\x20must\x20specify\x20a\x20profile\x20subcommand','pyqyr','print-access-token','help','vLtrg','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','Name\x20of\x20the\x20environment','tbjRo','emXLy','AkBgv','MBOwV','list\x20<profile>','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','clean','option','dKxbd','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','CtRDQ','SHsUV','edit-scenario\x20<description>','DawTR','setup-header','ViebL','yFeWQ','report\x20[id]','QouKx','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','token','argv','force','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.','NUKAl','restore\x20<id>','json','Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)','wBXeT','UhnGr','OPvjV','scope','eVuoB','create\x20<name>','set\x20<env>\x20<key>\x20<value>','9PmZbuO','add\x20env','EkdQM','Add\x20profile\x20configuration','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','start-path','SkcBg','evaluationReason','Msqlp','AWFWZ','wjWwL','ranger\x20go','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','MdzyG','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','JoNsm','Feature\x20review\x20name','task','olViN','safe-mode','command','strictCommands','TRTOq','qDZEi','config','IbOyO','xifxu','JHKIt','UHRGC','base-url','ROBmg','Get\x20a\x20config\x20value','save-creds','list\x20<env>','Skip\x20authentication','Summary:\x20','dLRCL','test_output','zFvLF','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','Config\x20value','Install\x20scope\x20for\x20plugin\x20and\x20skills','profile\x20login','ranger\x20profile\x20add','Feature\x20review\x20ID','Feature\x20review\x20ID\x20to\x20restore','LjzOF','CLJZd','GnfTc','KjcOY','some','set\x20<profile>\x20<key>\x20<value>','uNTdf','mGwtl','FGVOH','Include\x20soft-deleted\x20feature\x20reviews','scriptName','DyKRi','get-feedback\x20[id]','allow-insecure-localhost','Switch\x20to\x20using\x20a\x20specific\x20profile','slice','restore','2VsojIB','nhAxs'];_0x1a6e=function(){return _0x298498;};return _0x1a6e();}export function buildParser(_0x59e055){const _0x2e7e6e=_0x3880c4,_0x463392={'PdWxV':_0x2e7e6e(0x260),'gQtTK':_0x2e7e6e(0x14f),'nNOic':'string','zMjKu':_0x2e7e6e(0x289),'DAmDK':_0x2e7e6e(0x27a),'hzIkW':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','VYtqU':_0x2e7e6e(0x10e),'vmkfn':function(_0x595737,_0x4f0e6b){return _0x595737+_0x4f0e6b;},'AXTJs':_0x2e7e6e(0x11a),'STKjN':'Example:\x20ranger\x20create\x20my-feature','fPFoH':'--checklist','gePev':_0x2e7e6e(0x27f),'dinnU':'boolean','dKxbd':'limit','mllfF':_0x2e7e6e(0x1cc),'TPing':_0x2e7e6e(0x212),'HqkZZ':_0x2e7e6e(0x176),'wjWwL':'Feature\x20review\x20ID','tKhVn':function(_0x2d1f63,_0x4e83fd,_0x9cf818){return _0x2d1f63(_0x4e83fd,_0x9cf818);},'NFYku':'description','xiQrX':'Scenario\x20description','WGpXn':function(_0x1b7d1d,_0x2457d3,_0x140156){return _0x1b7d1d(_0x2457d3,_0x140156);},'oBXNa':_0x2e7e6e(0x190),'kHntR':_0x2e7e6e(0x1f7),'mFtPl':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','beGBO':_0x2e7e6e(0x205),'IbOyO':'report','cpymX':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','rjijw':_0x2e7e6e(0x1a7),'UlkeW':_0x2e7e6e(0x16c),'FKrNS':_0x2e7e6e(0x17d),'bZQRZ':_0x2e7e6e(0x130),'kMeeB':_0x2e7e6e(0x226),'GtavJ':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','XztbP':'Skip\x20authentication','HIOSl':'with-deps','bNFqf':_0x2e7e6e(0x28f),'QAXAs':'scope','tXboX':_0x2e7e6e(0x2a2),'XdocC':_0x2e7e6e(0xde),'GaKns':'opencode','KjcOY':_0x2e7e6e(0x1d8),'MdzyG':'Alias\x20for\x20--mcp-bootstrap','iKgWc':'setup:deps','LEmeZ':'setup:login','wpRer':function(_0x4be868,_0x28ec05){return _0x4be868!==_0x28ec05;},'kOfjH':function(_0x52c472,_0x4a27d4){return _0x52c472!==_0x4a27d4;},'tezqh':function(_0x41e4f8,_0x3c5f00){return _0x41e4f8+_0x3c5f00;},'xepjO':_0x2e7e6e(0x1bd),'oPBKf':_0x2e7e6e(0xdb),'mvCuQ':'Ranger\x20API\x20token\x20(rngr_...)','fQOaD':_0x2e7e6e(0x1ed),'emXLy':_0x2e7e6e(0x21e),'UhnGr':function(_0x240adf,_0x3676bc){return _0x240adf(_0x3676bc);},'ULbby':_0x2e7e6e(0x1d9),'SYVhD':'force','RFwiE':_0x2e7e6e(0x268),'hUUOQ':'Install\x20Chromium\x20browser\x20binary','DawTR':_0x2e7e6e(0x103),'aJgfw':_0x2e7e6e(0x25d),'pyqyr':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','ilpXC':'profiles','mcvWE':'url','gubjT':'allow-insecure-localhost','CJqoZ':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','FjOSg':_0x2e7e6e(0x1f6),'GnIij':_0x2e7e6e(0x1c0),'acQwh':_0x2e7e6e(0x192),'VVwrD':_0x2e7e6e(0x104),'cnAVE':_0x2e7e6e(0x15c),'ZkXAk':_0x2e7e6e(0x1f5),'muWla':_0x2e7e6e(0x286),'LLoYc':_0x2e7e6e(0x1df),'IZzoV':function(_0x4d1ee4,_0x4cdd47,_0x5237d8){return _0x4d1ee4(_0x4cdd47,_0x5237d8);},'SvnQZ':'Install\x20skills\x20for\x20OpenCode','elrqS':function(_0x1796ef,_0x422b0d,_0x5858e4){return _0x1796ef(_0x422b0d,_0x5858e4);},'htRqq':_0x2e7e6e(0x122),'sySdV':'profile-name','TRTOq':_0x2e7e6e(0x24f),'foRAb':_0x2e7e6e(0x206),'xPiDy':_0x2e7e6e(0x1ef),'xEOiO':_0x2e7e6e(0x182),'FGSqr':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','VJOre':_0x2e7e6e(0x12a),'jpWfC':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','SgXlX':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','azXPt':_0x2e7e6e(0x22c),'JUkCT':function(_0x4dcf04,_0x2810c2,_0x3b34e9,_0x28d230){return _0x4dcf04(_0x2810c2,_0x3b34e9,_0x28d230);},'ZWsbl':'profile\x20add','Kvssq':'profile\x20ls','vBPqE':'Cloud\x20profile\x20name','olViN':_0x2e7e6e(0x1c1),'Ilymf':_0x2e7e6e(0x222),'GxFjS':_0x2e7e6e(0x285),'nXpcy':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','fOOqM':_0x2e7e6e(0x107),'qDZEi':_0x2e7e6e(0xea),'bhMDl':'Config\x20value','CLJZd':'profile\x20config\x20unset','rrutU':_0x2e7e6e(0x172),'BvUdJ':'Set\x20a\x20config\x20value','HuWJP':_0x2e7e6e(0x15e),'MbdrR':'List\x20all\x20config\x20for\x20a\x20profile','zRfTo':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','plRFm':_0x2e7e6e(0x282),'GUCfq':'profile\x20use','dZyUy':'Name\x20of\x20the\x20profile\x20to\x20update','OPvjV':function(_0x2039a5,_0x43e2cb){return _0x2039a5===_0x43e2cb;},'wuent':_0x2e7e6e(0x291),'aVScg':'Config\x20key\x20to\x20remove','juapU':_0x2e7e6e(0x142),'guhHP':_0x2e7e6e(0x14d),'UoNqG':_0x2e7e6e(0x1ad),'Qqsxo':'update\x20<profile-name>','FLZxR':'migrate\x20[profile-name]','LjzOF':_0x2e7e6e(0x137),'ODBNR':'Manage\x20profile\x20configuration','ttEQw':'feature','qScNm':_0x2e7e6e(0x1de),'nrBDg':_0x2e7e6e(0x25a),'XesWq':_0x2e7e6e(0x191),'TcPwc':'start-path','TPIEC':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','RfqMB':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','ydLRU':_0x2e7e6e(0x241),'eVuoB':_0x2e7e6e(0x133),'yFeWQ':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','mlkgh':'partial','jSaLr':'debug-address-comments','qbzYH':'env','UUBkJ':_0x2e7e6e(0x150),'wgIGX':function(_0x474c03,_0x1ce907,_0x2e0311){return _0x474c03(_0x1ce907,_0x2e0311);},'OxLPk':function(_0x54f36f,_0x6e7bdc){return _0x54f36f(_0x6e7bdc);},'ewXbp':_0x2e7e6e(0x1fb),'MlviX':'You\x20must\x20specify\x20an\x20auth\x20subcommand','JMqhq':'ranger\x20setup','uNTdf':function(_0x20fc33,_0x58bc93,_0x5a3984){return _0x20fc33(_0x58bc93,_0x5a3984);},'CtBOJ':_0x2e7e6e(0xf6),'iIDXV':_0x2e7e6e(0xf1),'WReyH':_0x2e7e6e(0x18e),'LwJpt':_0x2e7e6e(0x264),'WPqoH':'debug-outcome','cvgBU':'incomplete','cSvkX':function(_0x29937a,_0x5acf7f,_0x1143b0){return _0x29937a(_0x5acf7f,_0x1143b0);},'NsZLm':'env-name','ypRLl':_0x2e7e6e(0x1f0),'gEWvJ':_0x2e7e6e(0x16a),'LQbIQ':function(_0x558cd5,_0x1bb1f4,_0x4cfdf2){return _0x558cd5(_0x1bb1f4,_0x4cfdf2);},'CCHDW':'ranger\x20use','JoNsm':function(_0x9d236d,_0x327b13,_0x2e1759){return _0x9d236d(_0x327b13,_0x2e1759);},'dlmzF':_0x2e7e6e(0x20a),'MEAAP':function(_0x43d07b,_0x547351,_0x75e2c2){return _0x43d07b(_0x547351,_0x75e2c2);},'HUkYw':_0x2e7e6e(0xff),'rljOn':_0x2e7e6e(0x25b),'OOKDs':'config\x20get','ggJAX':_0x2e7e6e(0x253),'poIvl':_0x2e7e6e(0x13e),'ENPaR':_0x2e7e6e(0x1ea),'NmzIX':_0x2e7e6e(0x160),'UeJcA':'unset\x20<env>\x20<key>','utgum':_0x2e7e6e(0x295),'QVztI':_0x2e7e6e(0x199),'vinTR':_0x2e7e6e(0xef),'tbjRo':function(_0x5559c7,_0x2a0700,_0x571ed4){return _0x5559c7(_0x2a0700,_0x571ed4);},'bGDlk':_0x2e7e6e(0x1c5),'gpQmS':_0x2e7e6e(0x197),'RYAHG':function(_0x1493a9,_0xae0d65,_0x24af7b){return _0x1493a9(_0xae0d65,_0x24af7b);},'EvVjw':'ranger\x20feature\x20create','MYMee':_0x2e7e6e(0x1fd),'DqdCm':function(_0x3c83bb,_0x19b473,_0x8a9053){return _0x3c83bb(_0x19b473,_0x8a9053);},'crwqP':_0x2e7e6e(0x28c),'ohlCQ':function(_0x1df0e9,_0x586b36,_0x28f1d4){return _0x1df0e9(_0x586b36,_0x28f1d4);},'KdTiq':'feature\x20add-checklist-item','mPGBm':function(_0x1d1bf9,_0x3187df,_0x446f06){return _0x1d1bf9(_0x3187df,_0x446f06);},'HRQQX':function(_0x77c19a,_0x4e81c5,_0xc8e04c){return _0x77c19a(_0x4e81c5,_0xc8e04c);},'MSVMP':_0x2e7e6e(0x105),'bVugM':'ranger\x20feature\x20delete','qOvhc':'ranger\x20delete','bgHCL':_0x2e7e6e(0xfd),'tlIGm':_0x2e7e6e(0x211),'MZKFi':'feature\x20list','tClkm':'ranger\x20show','CtuoI':'resume\x20[id]','ZsqLk':'delete\x20[id]','CmwQq':_0x2e7e6e(0x135),'rDUxi':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','vgevM':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','IMujT':function(_0x11cbb7,_0x479d13,_0x5121ff){return _0x11cbb7(_0x479d13,_0x5121ff);},'SKlcm':_0x2e7e6e(0xe1),'bYkNW':_0x2e7e6e(0x1e6),'suTTY':function(_0x2e33f6){return _0x2e33f6();},'QtIee':function(_0x1696c7,_0x51253c){return _0x1696c7||_0x51253c;},'pfUwA':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','Oudga':_0x2e7e6e(0xdc),'bVwoS':'show\x20[id]','WuhOX':_0x2e7e6e(0x1dc),'MBOwV':_0x2e7e6e(0x128),'QouKx':_0x2e7e6e(0x12d),'FdUWw':'Restore\x20a\x20soft-deleted\x20feature\x20review','EIrOh':_0x2e7e6e(0x23f),'vfEfV':'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','CBAfp':_0x2e7e6e(0x259),'GiDWl':_0x2e7e6e(0x242),'CwrtR':'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','KQrYM':_0x2e7e6e(0x262),'xcCqb':_0x2e7e6e(0x125),'KDnYS':'Print\x20the\x20current\x20CLI\x20access\x20token','GnfTc':'auth','zFvLF':'start\x20[token]','RkuzV':_0x2e7e6e(0x24d),'aLHUY':_0x2e7e6e(0x28b),'XFmqD':_0x2e7e6e(0x157),'HdJZK':'hook','fSZPe':_0x2e7e6e(0x108),'FGVOH':'\x20\x20https://docs.ranger.net\x0a','fVHKh':_0x2e7e6e(0x230),'MaSbh':_0x2e7e6e(0x118)};return _0x3b3633(_0x59e055??process[_0x2e7e6e(0x131)]['slice'](0x2))[_0x2e7e6e(0x177)](_0x463392[_0x2e7e6e(0x11d)])['usage'](TOP_LEVEL_HELP)[_0x2e7e6e(0x1c8)](getCurrentVersion())['command'](_0x2e7e6e(0x13d),_0x463392['pfUwA'],_0xe5e0d8=>{const _0x383740=_0x2e7e6e;return _0xe5e0d8[_0x383740(0xe9)](_0x463392['PdWxV'],{'type':_0x383740(0x219),'description':_0x463392['gQtTK'],'demandOption':!![]})['option']('description',{'type':_0x463392[_0x383740(0x1d4)],'alias':'d','description':_0x463392[_0x383740(0x274)]})[_0x383740(0x123)]('scenario',{'type':_0x463392['DAmDK'],'alias':'c','description':_0x463392[_0x383740(0x25c)]})[_0x383740(0x123)](_0x463392['VYtqU'],{'type':'array','hidden':!![]});},async _0x5be036=>{const _0x363853=_0x2e7e6e;if(!_0x5be036['name']){console['error'](_0x463392['vmkfn'](_0x463392[_0x363853(0x252)],_0x463392[_0x363853(0x272)])),process[_0x363853(0x1d5)](0x1);return;}warnFlagRenamed('ranger\x20create',_0x463392[_0x363853(0x2a3)],_0x463392[_0x363853(0x1b2)]);const _0x5e0cbf=_0x5be036['scenario']||_0x5be036['checklist'];await withTelemetry('create',()=>featureCreate(_0x5be036[_0x363853(0x260)],{'description':_0x5be036['description'],'scenarios':_0x5e0cbf}));})['command'](_0x463392['Oudga'],_0x2e7e6e(0x267),_0xd25001=>{const _0x565fb5=_0x2e7e6e;return _0xd25001[_0x565fb5(0x123)](_0x565fb5(0x1da),{'type':_0x463392['dinnU'],'description':_0x565fb5(0xfd)})[_0x565fb5(0x123)](_0x463392[_0x565fb5(0x124)],{'type':_0x463392[_0x565fb5(0x1ce)],'alias':'l','description':_0x565fb5(0x26b),'default':0xa})['option']('offset',{'type':'number','alias':'o','description':_0x463392[_0x565fb5(0x1bc)],'default':0x0})[_0x565fb5(0x123)]('include-deleted',{'type':_0x463392['dinnU'],'alias':'d','description':_0x463392['HqkZZ'],'default':![]});},async _0x43c12b=>{const _0x3beea5=_0x2e7e6e;await withTelemetry(_0x3beea5(0xdc),()=>featureList({'currentBranch':_0x43c12b['current-branch'],'limit':_0x43c12b[_0x3beea5(0x1bb)],'offset':_0x43c12b['offset'],'includeDeleted':_0x43c12b['include-deleted']}));})['command'](_0x463392['bVwoS'],_0x463392[_0x2e7e6e(0x26e)],_0x27b0b4=>{const _0x29c9f1=_0x2e7e6e;return _0x27b0b4[_0x29c9f1(0xe9)]('id',{'type':_0x463392['nNOic'],'description':_0x463392[_0x29c9f1(0x149)]});},async _0x7bd689=>{await _0x463392['tKhVn'](withTelemetry,'show',()=>featureShow(_0x7bd689['id']));})[_0x2e7e6e(0x153)](_0x463392['CtuoI'],_0x2e7e6e(0x21a),_0x4eed9d=>{const _0x277131=_0x2e7e6e;return _0x4eed9d[_0x277131(0xe9)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x2acfc3=>{const _0x3b7061=_0x2e7e6e;await withTelemetry(_0x3b7061(0x112),()=>featureResume(_0x2acfc3['id']));})[_0x2e7e6e(0x153)](_0x2e7e6e(0x23d),'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0xb1cad5=>{const _0xd19695=_0x2e7e6e;return _0xb1cad5['positional'](_0x463392['NFYku'],{'type':_0x463392[_0xd19695(0x1d4)],'description':_0x463392[_0xd19695(0x1b7)],'demandOption':!![]})['option']('id',{'type':_0x463392[_0xd19695(0x1d4)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x221b82=>{const _0x52366d=_0x2e7e6e;await withTelemetry('add-scenario',()=>featureAddScenario(_0x221b82[_0x52366d(0x1f4)],_0x221b82['id']));})[_0x2e7e6e(0x153)](_0x463392[_0x2e7e6e(0x11f)],'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x4128c1=>{const _0x5cf3b5=_0x2e7e6e;return _0x4128c1[_0x5cf3b5(0xe9)](_0x463392[_0x5cf3b5(0x10d)],{'type':_0x463392[_0x5cf3b5(0x1d4)],'description':'New\x20scenario\x20description','demandOption':!![]})['option'](_0x5cf3b5(0x225),{'type':_0x463392[_0x5cf3b5(0x1ce)],'description':_0x5cf3b5(0x195),'demandOption':!![]})['option']('id',{'type':_0x463392['nNOic'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x4eb79c=>{const _0x5066e7=_0x2e7e6e;await _0x463392[_0x5066e7(0x23b)](withTelemetry,_0x463392[_0x5066e7(0x186)],()=>featureEditScenario(_0x4eb79c['description'],{'id':_0x4eb79c['id'],'scenario':_0x4eb79c[_0x5066e7(0x225)]}));})[_0x2e7e6e(0x153)](_0x463392[_0x2e7e6e(0x12e)],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x212cfb=>{const _0x1674fd=_0x2e7e6e;return _0x212cfb['positional']('id',{'type':_0x463392[_0x1674fd(0x1d4)],'description':_0x463392[_0x1674fd(0x149)]})['option'](_0x463392['kHntR'],{'type':'array','description':_0x463392[_0x1674fd(0x261)]})['option'](_0x1674fd(0x136),{'type':_0x1674fd(0x1e8),'description':_0x463392['beGBO'],'default':![]});},async _0x4251c6=>{const _0x398b0c=_0x2e7e6e,_0x5b9aef=_0x4251c6[_0x463392['kHntR']],_0x5d4824=_0x5b9aef?_0x5b9aef[_0x398b0c(0x1f8)](_0x2879b6=>Number(_0x2879b6)):undefined;await withTelemetry(_0x463392[_0x398b0c(0x158)],()=>featureReportPrDescription(_0x4251c6['id'],{'excludeScenarios':_0x5d4824,'json':_0x4251c6[_0x398b0c(0x136)]}));})['command']('get-review\x20[id]',_0x2e7e6e(0x1d6),_0x4cff38=>{const _0x1a2513=_0x2e7e6e;return _0x4cff38['positional']('id',{'type':_0x1a2513(0x219),'description':_0x463392['cpymX']});},async _0x7b44cf=>{const _0x2c65f1=_0x2e7e6e;await _0x463392[_0x2c65f1(0x255)](withTelemetry,_0x2c65f1(0x203),()=>featureGetReview(_0x7b44cf['id']));})['command'](_0x463392['ZsqLk'],_0x2e7e6e(0x28d),_0x4ffeb6=>{const _0x1a9533=_0x2e7e6e;return _0x4ffeb6['positional']('id',{'type':_0x1a9533(0x219),'description':_0x1a9533(0x16b)});},async _0x1a2f56=>{const _0x36e877=_0x2e7e6e;await withTelemetry(_0x463392[_0x36e877(0xed)],()=>featureDelete(_0x1a2f56['id']));})[_0x2e7e6e(0x153)](_0x463392[_0x2e7e6e(0x21b)],_0x463392['FdUWw'],_0x1e7b8e=>{const _0x10e46b=_0x2e7e6e;return _0x1e7b8e['positional']('id',{'type':_0x463392[_0x10e46b(0x1d4)],'description':_0x463392[_0x10e46b(0x100)],'demandOption':!![]});},async _0x3323af=>{const _0x4c26f2=_0x2e7e6e;await withTelemetry(_0x463392[_0x4c26f2(0x235)],()=>featureRestore(_0x3323af['id']));})[_0x2e7e6e(0x153)](_0x463392[_0x2e7e6e(0x273)],'Initialize\x20Ranger\x20in\x20your\x20project',_0x4cfcc7=>{const _0x17c9e1=_0x2e7e6e,_0x85e880={'okfmm':_0x463392['oPBKf'],'NUKAl':function(_0x46ac4d,_0x134f84,_0x4c74a8){return _0x46ac4d(_0x134f84,_0x4c74a8);},'KjkEB':function(_0x36502f,_0x819c26,_0x4d2721){return _0x36502f(_0x819c26,_0x4d2721);},'JquyU':_0x17c9e1(0x10f),'dHsNf':_0x17c9e1(0x130),'lHxaY':_0x17c9e1(0x219),'xifxu':_0x463392['mvCuQ'],'uembm':_0x463392[_0x17c9e1(0x170)],'Qmocw':'scope','RYnup':_0x17c9e1(0x168),'GYZeP':_0x463392[_0x17c9e1(0x256)],'zHUQQ':_0x463392[_0x17c9e1(0x11d)],'obToK':_0x17c9e1(0x246),'aalNE':function(_0x303b07,_0x28801b){return _0x463392['UhnGr'](_0x303b07,_0x28801b);},'CclZu':'setup:skills','idsWX':_0x463392[_0x17c9e1(0x22b)],'hFwzu':_0x463392[_0x17c9e1(0xf2)],'cdEzo':_0x463392['dinnU'],'ZgLio':_0x463392[_0x17c9e1(0x234)]};return _0x4cfcc7[_0x17c9e1(0x238)]('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'](_0x17c9e1(0xf7),{'type':'string','description':'Subcommand\x20or\x20API\x20token\x20(rngr_...)'})['command'](_0x17c9e1(0x29c),_0x17c9e1(0x18b),_0x44c3ca=>{const _0x4cf0b7=_0x17c9e1;return _0x44c3ca[_0x4cf0b7(0x123)](_0x463392['bZQRZ'],{'type':'string','description':_0x463392['kMeeB']})['option'](_0x4cf0b7(0x286),{'type':_0x463392[_0x4cf0b7(0x198)],'description':_0x463392[_0x4cf0b7(0x213)],'default':![]})['option'](_0x4cf0b7(0x1d9),{'type':_0x463392[_0x4cf0b7(0x198)],'description':_0x463392[_0x4cf0b7(0xe6)],'default':![]})[_0x4cf0b7(0x123)](_0x463392[_0x4cf0b7(0x18c)],{'type':_0x463392[_0x4cf0b7(0x198)],'description':_0x463392[_0x4cf0b7(0x1f2)],'default':![]})[_0x4cf0b7(0x123)](_0x463392['QAXAs'],{'type':'string','choices':[_0x463392['tXboX']],'hidden':!![],'description':_0x463392['XdocC']})[_0x4cf0b7(0x123)]('url',{'type':_0x463392['nNOic'],'description':_0x4cf0b7(0x1c3)})[_0x4cf0b7(0x123)]('force',{'type':_0x463392[_0x4cf0b7(0x198)],'description':_0x4cf0b7(0x1ef),'default':![]})[_0x4cf0b7(0x123)](_0x463392[_0x4cf0b7(0xd3)],{'type':_0x463392['dinnU'],'description':_0x4cf0b7(0x1ed),'default':![]})['option']('allow-insecure-localhost',{'type':'boolean','description':_0x4cf0b7(0x166),'default':![]})[_0x4cf0b7(0x123)](_0x4cf0b7(0xdb),{'type':_0x463392['dinnU'],'description':_0x4cf0b7(0x22f),'default':![]})['option'](_0x463392['KjcOY'],{'type':_0x4cf0b7(0x1e8),'description':_0x463392[_0x4cf0b7(0x14c)],'default':![]});},async _0x21778f=>{const _0x2244ce=_0x17c9e1;(_0x21778f[_0x85e880['okfmm']]||_0x21778f['mcp'])&&await _0x85e880['NUKAl'](withTelemetry,_0x85e880['okfmm'],()=>mcpBootstrap()),await _0x85e880['KjkEB'](withTelemetry,_0x85e880[_0x2244ce(0x22e)],_0x2e391e=>start(_0x21778f['token'],{'skipChromium':_0x21778f['skip-chromium'],'skipAuth':_0x21778f[_0x2244ce(0x1d9)],'withDeps':_0x21778f[_0x2244ce(0x29d)],'scope':_0x21778f['scope'],'url':_0x21778f['url'],'force':_0x21778f['force'],'opencode':_0x21778f['opencode'],'allowInsecureLocalhost':_0x21778f['allow-insecure-localhost']},_0x2e391e));})['command'](_0x463392['RFwiE'],_0x463392['hUUOQ'],_0x4d47cf=>{const _0xdaa333=_0x17c9e1;return _0x4d47cf[_0xdaa333(0x123)](_0x463392['HIOSl'],{'type':_0x463392['dinnU'],'description':_0xdaa333(0x1f6),'default':![]});},async _0x8a0286=>{const _0x445b1d=_0x17c9e1;await withTelemetry(_0x463392[_0x445b1d(0x298)],()=>ensureChromium(_0x8a0286[_0x445b1d(0x29d)]));})[_0x17c9e1(0x153)](_0x463392[_0x17c9e1(0x129)],_0x463392[_0x17c9e1(0x233)],_0x2035c4=>{const _0x564daf=_0x17c9e1;return _0x2035c4[_0x564daf(0x123)](_0x85e880['dHsNf'],{'type':_0x85e880['lHxaY'],'description':_0x85e880[_0x564daf(0x159)]})[_0x564daf(0x123)](_0x85e880['uembm'],{'type':_0x564daf(0x1e8),'description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x17803f=>{const _0x5d4c6a=_0x17c9e1,_0x1f835c={'wBXeT':function(_0x41b5ab){return _0x41b5ab();},'fGmGM':function(_0x32f4ee,_0x5a2098){return _0x32f4ee(_0x5a2098);}};await withTelemetry(_0x463392[_0x5d4c6a(0x106)],async()=>{const _0x422899=_0x5d4c6a;if(_0x17803f[_0x422899(0x1d8)]){await _0x1f835c[_0x422899(0x138)](mcpBootstrap);const _0x1eeed0=await refreshCliToken();if(!_0x1eeed0)throw new Error(_0x422899(0x280));const _0x33bef6=await _0x1f835c[_0x422899(0x1e9)](getCurrentUser,_0x1eeed0);if(!_0x33bef6[_0x422899(0x228)])throw new Error(_0x422899(0x12f)+_0x33bef6[_0x422899(0xfe)]);console['log']('✓\x20Authenticated\x20to\x20'+_0x33bef6[_0x422899(0x2a2)]['organizationName']);return;}await _0x1f835c['fGmGM'](authenticate,_0x17803f[_0x422899(0x130)]);});})['command']('skills',_0x463392[_0x17c9e1(0x116)],_0x54e2e0=>{const _0x4447f1=_0x17c9e1;return _0x54e2e0[_0x4447f1(0x123)](_0x85e880['Qmocw'],{'type':_0x85e880['lHxaY'],'choices':[_0x4447f1(0x2a2),_0x4447f1(0x1d3)],'description':_0x85e880[_0x4447f1(0x20f)]})[_0x4447f1(0x123)]('opencode',{'type':'boolean','description':_0x85e880['GYZeP'],'default':![]});},async _0x4df8b2=>{const _0x4bf99f=_0x17c9e1;await _0x85e880['KjkEB'](withTelemetry,_0x85e880[_0x4bf99f(0x24a)],async()=>{const _0x5f27ae=_0x4bf99f,_0x472066=_0x4df8b2[_0x5f27ae(0x13b)];if(_0x4df8b2[_0x5f27ae(0x246)]){const _0x5cb129=await ensureOpencodePluginConfig(_0x472066);_0x5cb129&&await _0x85e880[_0x5f27ae(0x134)](installSkill,_0x85e880[_0x5f27ae(0x26d)],{'level':_0x5cb129[_0x5f27ae(0x13b)],'cliVersion':getCurrentVersion(),'platform':_0x85e880[_0x5f27ae(0x25f)]});}else await _0x85e880[_0x5f27ae(0x29b)](ensureClaudePlugin,_0x472066),await ensureClaudeSkills(_0x472066);});})[_0x17c9e1(0x153)](_0x463392[_0x17c9e1(0xfb)],'Set\x20up\x20a\x20local\x20browser\x20profile',_0x413ecf=>{const _0x244c60=_0x17c9e1;return _0x413ecf[_0x244c60(0x123)](_0x244c60(0x13b),{'type':_0x244c60(0x219),'choices':['user'],'description':_0x85e880['idsWX']})[_0x244c60(0x123)](_0x244c60(0x188),{'type':_0x85e880['lHxaY'],'description':'Base\x20URL\x20of\x20the\x20running\x20app'})['option'](_0x85e880['hFwzu'],{'type':_0x85e880['cdEzo'],'description':_0x244c60(0x257),'default':![]})[_0x244c60(0x123)](_0x85e880[_0x244c60(0x2a1)],{'type':_0x244c60(0x1e8),'description':_0x244c60(0x1ef),'default':![]})['option']('allow-insecure-localhost',{'type':_0x85e880[_0x244c60(0x1b5)],'description':_0x244c60(0x166),'default':![]});},async _0x53be29=>{const _0xb42757=_0x17c9e1,_0x45df41=_0x53be29['scope'];_0x463392['wpRer'](_0x45df41,undefined)&&_0x463392['kOfjH'](_0x45df41,_0xb42757(0x2a2))&&(console[_0xb42757(0xfe)](_0x463392[_0xb42757(0x1fe)](_0xb42757(0x293)+_0x45df41+_0xb42757(0x258),'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20')+_0xb42757(0xe8)),process['exit'](0x1)),await _0x463392[_0xb42757(0x255)](withTelemetry,_0x463392['xepjO'],_0x2b6faa=>ensureLocalEnv({'url':_0x53be29['url'],'force':_0x53be29['force'],'allowInsecureLocalhost':_0x53be29['allow-insecure-localhost'],'scope':'user'},_0x2b6faa));})['option']('skip-chromium',{'type':_0x463392[_0x17c9e1(0x198)],'description':_0x463392[_0x17c9e1(0x213)],'default':![]})[_0x17c9e1(0x123)](_0x463392[_0x17c9e1(0x216)],{'type':_0x17c9e1(0x219),'choices':[_0x463392['tXboX']],'hidden':!![],'description':_0x463392['XdocC']})[_0x17c9e1(0x123)](_0x463392['mcvWE'],{'type':_0x17c9e1(0x219),'description':_0x17c9e1(0x101)})[_0x17c9e1(0x123)](_0x463392['SYVhD'],{'type':'boolean','description':_0x17c9e1(0x1ef),'default':![]})['option'](_0x463392['GaKns'],{'type':_0x463392[_0x17c9e1(0x198)],'description':_0x463392['fQOaD'],'default':![]})['option'](_0x463392[_0x17c9e1(0xf9)],{'type':_0x463392['dinnU'],'description':_0x17c9e1(0x296),'default':![]})[_0x17c9e1(0x123)](_0x463392['oPBKf'],{'type':_0x463392['dinnU'],'description':_0x17c9e1(0x1fa),'default':![]})['option']('skip-auth',{'type':'boolean','description':_0x463392['CJqoZ'],'default':![]})['option'](_0x17c9e1(0x29d),{'type':_0x463392[_0x17c9e1(0x198)],'description':_0x463392['FjOSg'],'default':![]})[_0x17c9e1(0x123)](_0x17c9e1(0x130),{'type':_0x17c9e1(0x219),'hidden':!![],'description':_0x463392['GnIij']});},async _0x59fdc3=>{const _0x418e4d=_0x2e7e6e,_0x156c95=_0x59fdc3['tokenOrSubcommand'],_0x1cc724=_0x59fdc3[_0x418e4d(0x130)]??_0x156c95;_0x59fdc3['mcp-bootstrap']&&await withTelemetry(_0x418e4d(0xdb),()=>mcpBootstrap()),await _0x463392['WGpXn'](withTelemetry,_0x463392['acQwh'],_0x42b089=>start(_0x1cc724,{'skipChromium':_0x59fdc3[_0x418e4d(0x286)],'skipAuth':_0x59fdc3[_0x418e4d(0x1d9)],'withDeps':_0x59fdc3['with-deps'],'scope':_0x59fdc3[_0x418e4d(0x13b)],'url':_0x59fdc3[_0x418e4d(0x188)],'force':_0x59fdc3['force'],'opencode':_0x59fdc3[_0x418e4d(0x246)],'allowInsecureLocalhost':_0x59fdc3['allow-insecure-localhost']},_0x42b089));})['command']('setup-ci\x20<token>',_0x2e7e6e(0x24c),_0x17e8c3=>{const _0xbb7af9=_0x2e7e6e;return _0x17e8c3['positional']('token',{'type':'string','description':_0x463392[_0xbb7af9(0x1db)],'demandOption':!![]})[_0xbb7af9(0x123)]('profile',{'type':_0xbb7af9(0x219),'description':_0x463392[_0xbb7af9(0x1f1)]})['option'](_0x463392['cnAVE'],{'type':_0x463392['nNOic'],'description':_0x463392[_0xbb7af9(0xe7)]})[_0xbb7af9(0x123)](_0x463392['muWla'],{'type':_0xbb7af9(0x1e8),'description':_0x463392[_0xbb7af9(0x1a3)],'default':![]});},async _0x5d5dfc=>{const _0x287743=_0x2e7e6e;await withTelemetry('setup-ci',_0xa67b29=>setupCi(_0x5d5dfc[_0x287743(0x130)],{'profile':_0x5d5dfc['profile'],'baseUrl':_0x5d5dfc['base-url'],'skipChromium':_0x5d5dfc[_0x287743(0x286)]},_0xa67b29));})['command'](_0x463392[_0x2e7e6e(0x129)],_0x463392[_0x2e7e6e(0x244)],()=>{},async()=>{const _0x9fafcf=_0x2e7e6e;await _0x463392[_0x9fafcf(0x1c2)](withTelemetry,_0x9fafcf(0x103),()=>login());})[_0x2e7e6e(0x153)](_0x463392['CBAfp'],_0x463392[_0x2e7e6e(0x290)],_0x2fda2a=>{const _0xbc1fdd=_0x2e7e6e;return _0x2fda2a[_0xbc1fdd(0x123)](_0xbc1fdd(0x246),{'type':'boolean','description':_0x463392[_0xbc1fdd(0x243)],'default':![]})[_0xbc1fdd(0x123)]('scope',{'type':_0x463392[_0xbc1fdd(0x1d4)],'choices':['user','project'],'description':'Install\x20scope\x20for\x20skills'});},async _0x4da323=>{const _0x28c0a3=_0x2e7e6e,_0x1255c5=Boolean(_0x4da323[_0x28c0a3(0x246)]);await withTelemetry('skillup',()=>skillup({'autoInstall':_0x4da323['scope'],'platform':_0x1255c5?_0x28c0a3(0x246):'claude'}));})['command'](_0x463392[_0x2e7e6e(0x1c6)],_0x463392['CwrtR'],()=>{},async()=>{const _0x442348=_0x2e7e6e;await _0x463392[_0x442348(0x299)](withTelemetry,_0x463392[_0x442348(0x1c6)],()=>clean());})[_0x2e7e6e(0x153)]([_0x2e7e6e(0x18e),_0x463392[_0x2e7e6e(0xfb)]],_0x463392['KQrYM'],_0x25208f=>{const _0xb6c35d=_0x2e7e6e,_0x228d20={'USKLm':_0xb6c35d(0xda),'EVBcY':_0xb6c35d(0x219),'UEZQn':_0x463392['plRFm'],'ViebL':_0x463392['GUCfq'],'JHKIt':_0x463392['dZyUy'],'pCbOB':_0x463392[_0xb6c35d(0xf9)],'eYTPE':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','rDQGp':function(_0x2687f6,_0x12f938,_0x4d593c){return _0x2687f6(_0x12f938,_0x4d593c);},'wDomU':function(_0x14e6ef,_0x3c3176){const _0x4a0f11=_0xb6c35d;return _0x463392[_0x4a0f11(0x13a)](_0x14e6ef,_0x3c3176);},'wUxOY':_0x463392['wuent'],'URqMK':function(_0x3e5cb7,_0x1bf905,_0xe4c0d1){return _0x3e5cb7(_0x1bf905,_0xe4c0d1);},'nhAxs':_0xb6c35d(0x169),'UHRGC':_0x463392['fOOqM'],'WHYgx':_0xb6c35d(0xe5),'JbPDb':'profile\x20config\x20get','SHsUV':_0xb6c35d(0x18e),'dLRCL':_0x463392['aVScg']};return _0x25208f[_0xb6c35d(0x238)](PROFILE_HELP)['command'](_0xb6c35d(0x217),_0x463392[_0xb6c35d(0x232)],_0x4cf215=>{const _0x2a4263=_0xb6c35d;return _0x4cf215['positional'](_0x463392['sySdV'],{'type':_0x463392[_0x2a4263(0x1d4)],'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':'boolean','description':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x2a4263(0x1d9),{'type':_0x463392['dinnU'],'description':_0x463392[_0x2a4263(0x155)],'default':![]})[_0x2a4263(0x123)](_0x2a4263(0x188),{'type':'string','description':_0x463392['foRAb']})[_0x2a4263(0x123)](_0x2a4263(0x132),{'type':_0x2a4263(0x1e8),'description':_0x463392[_0x2a4263(0x18f)],'default':![]})['option'](_0x2a4263(0x1ba),{'type':_0x2a4263(0x219),'description':_0x463392[_0x2a4263(0xf0)]})[_0x2a4263(0x123)]('allow-insecure-localhost',{'type':_0x463392['dinnU'],'description':_0x2a4263(0x296),'default':![]})['option'](_0x2a4263(0x152),{'type':_0x2a4263(0x1e8),'description':_0x463392[_0x2a4263(0x180)],'default':![]})['option'](_0x463392['VJOre'],{'type':_0x463392['nNOic'],'array':!![],'description':_0x463392['jpWfC']})[_0x2a4263(0x123)](_0x2a4263(0x13b),{'type':_0x2a4263(0x219),'choices':[_0x2a4263(0x2a2),'project'],'description':_0x463392[_0x2a4263(0x27c)]})['option'](_0x463392['azXPt'],{'type':_0x2a4263(0x1e8),'alias':'y','description':_0x2a4263(0x143),'default':![]});},async _0x38a181=>{const _0x19fbc8=_0xb6c35d;await _0x463392[_0x19fbc8(0x1a2)](withTelemetry,_0x463392[_0x19fbc8(0x194)],_0x549dbe=>addEnv(_0x38a181[_0x19fbc8(0xda)],{'ci':_0x38a181['ci'],'skipAuth':_0x38a181['skip-auth'],'url':_0x38a181[_0x19fbc8(0x188)],'force':_0x38a181['force'],'cdpEndpoint':_0x38a181['cdp-endpoint'],'allowInsecureLocalhost':_0x38a181[_0x19fbc8(0x17a)],'safeMode':_0x38a181[_0x19fbc8(0x152)],'setupHeader':_0x38a181[_0x19fbc8(0x12a)],'scope':_0x38a181[_0x19fbc8(0x13b)],'yes':_0x38a181[_0x19fbc8(0x22c)]},_0x549dbe),{'isElectron':Boolean(_0x38a181['cdp-endpoint'])});})[_0xb6c35d(0x153)](_0xb6c35d(0x1f3),_0xb6c35d(0x17b),_0x53a35b=>{const _0x492a73=_0xb6c35d;return _0x53a35b[_0x492a73(0xe9)](_0x228d20[_0x492a73(0x1c9)],{'type':_0x228d20[_0x492a73(0x26f)],'description':_0x228d20[_0x492a73(0x208)],'demandOption':!![]});},async _0x56ff68=>{const _0x1875ea=_0xb6c35d;await withTelemetry(_0x228d20[_0x1875ea(0x12b)],()=>useEnv(_0x56ff68['profile-name']));})[_0xb6c35d(0x153)](_0xb6c35d(0xd2),_0x463392[_0xb6c35d(0x1af)],_0x3c70e6=>{const _0x2ee4a1=_0xb6c35d;return _0x3c70e6[_0x2ee4a1(0xe9)]('profile',{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x297b72=>{const _0x482f66=_0xb6c35d;await withTelemetry(_0x482f66(0x19a),()=>authEncrypt(_0x297b72['profile']));})[_0xb6c35d(0x153)]('ls',_0x463392['UoNqG'],()=>{},async()=>{const _0x20d92f=_0xb6c35d;await withTelemetry(_0x463392[_0x20d92f(0x250)],()=>envList());})[_0xb6c35d(0x153)](_0x463392['Qqsxo'],'Update\x20authentication\x20for\x20an\x20existing\x20profile',_0x19ec35=>{const _0x190127=_0xb6c35d;return _0x19ec35['positional'](_0x228d20[_0x190127(0x1c9)],{'type':'string','description':_0x228d20[_0x190127(0x15a)],'demandOption':!![]})['option'](_0x228d20[_0x190127(0x209)],{'type':'boolean','description':_0x228d20[_0x190127(0xd6)]});},async _0xf8405b=>{const _0x32dffe=_0xb6c35d;await _0x228d20[_0x32dffe(0x214)](withTelemetry,_0x32dffe(0x196),_0x419aca=>updateEnv(_0xf8405b['profile-name'],_0x419aca,{'allowInsecureLocalhost':_0xf8405b[_0x32dffe(0x17a)]}));})[_0xb6c35d(0x153)]('login\x20<name>',![],_0x2fca8a=>{const _0x1274f5=_0xb6c35d;return _0x2fca8a['positional'](_0x1274f5(0x260),{'type':'string','description':_0x463392[_0x1274f5(0xd4)],'demandOption':!![]});},async _0x250836=>{const _0xa62445=_0xb6c35d;await _0x228d20[_0xa62445(0x1a0)](withTelemetry,_0x228d20[_0xa62445(0x17f)],async()=>{const _0x533370=_0xa62445,_0x4afb66=process['env']['RANGER_TEST_USERNAME'],_0x4077ee=process['env'][_0x533370(0x1ff)];(!_0x4afb66||!_0x4077ee)&&(console['error'](_0x533370(0x277)),process['exit'](0x1));const _0x3a601d=_0x250836['name'],_0x6d89ca=await serverSideLogin(_0x3a601d,{'force':!![]});_0x228d20['wDomU'](_0x6d89ca['status'],_0x533370(0x10b))&&(console[_0x533370(0xfe)](_0x533370(0x28e)),process[_0x533370(0x1d5)](0x1)),_0x6d89ca['status']==='failed'&&(console['error']('Login\x20failed:\x20'+(_0x6d89ca['error']??_0x228d20['wUxOY'])),_0x6d89ca['test_output']&&console[_0x533370(0xfe)](_0x6d89ca[_0x533370(0x164)]),process['exit'](0x1)),console['log'](_0x533370(0x113)+_0x3a601d+_0x533370(0x19d));});})[_0xb6c35d(0x153)](_0x463392['FLZxR'],_0x463392[_0xb6c35d(0x16d)],_0x2440e3=>{const _0x3bf6a7=_0xb6c35d;return _0x2440e3['positional'](_0x463392[_0x3bf6a7(0x29a)],{'type':_0x463392['nNOic'],'description':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.'})['option']('all',{'type':_0x463392[_0x3bf6a7(0x198)],'description':_0x463392[_0x3bf6a7(0x151)],'default':![]})['option']('dry-run',{'type':'boolean','description':_0x463392['Ilymf'],'default':![]})[_0x3bf6a7(0x123)](_0x3bf6a7(0x22c),{'type':_0x463392[_0x3bf6a7(0x198)],'alias':'y','description':_0x463392[_0x3bf6a7(0x279)],'default':![]})[_0x3bf6a7(0x123)]('save-creds',{'type':'boolean','description':_0x463392[_0x3bf6a7(0x202)],'default':![]});},async _0x43d685=>{const _0x4539dd=_0xb6c35d;await withTelemetry('profile\x20migrate',_0x2572a0=>migrateProfile({'profileName':_0x43d685[_0x4539dd(0xda)],'all':_0x43d685[_0x4539dd(0x29c)],'dryRun':_0x43d685[_0x4539dd(0x18d)],'yes':_0x43d685[_0x4539dd(0x22c)],'saveCreds':_0x43d685[_0x4539dd(0x15f)]},_0x2572a0));})['command']('config',_0x463392[_0xb6c35d(0xd5)],_0x3cf6ba=>{const _0x4b8756=_0xb6c35d,_0x55b74f={'aUkdo':'string','dXpux':_0x463392['fOOqM'],'Msqlp':_0x463392[_0x4b8756(0x156)],'vLtrg':_0x463392['bhMDl'],'AkBgv':function(_0x4d9818,_0x568048,_0x2bdd5f){return _0x4d9818(_0x568048,_0x2bdd5f);},'jWywb':_0x463392[_0x4b8756(0x16e)]};return _0x3cf6ba['usage'](PROFILE_CONFIG_HELP)[_0x4b8756(0x153)](_0x463392[_0x4b8756(0x1d1)],_0x463392[_0x4b8756(0x26c)],_0x31d555=>{const _0x57176f=_0x4b8756;return _0x31d555[_0x57176f(0xe9)]('profile',{'type':_0x55b74f['aUkdo'],'description':_0x55b74f[_0x57176f(0x276)],'demandOption':!![]})[_0x57176f(0xe9)]('key',{'type':'string','description':_0x55b74f[_0x57176f(0x147)],'demandOption':!![]})['positional']('value',{'type':_0x55b74f[_0x57176f(0x22d)],'description':_0x55b74f[_0x57176f(0x119)],'demandOption':!![]});},async _0x576cad=>{const _0x429f7e=_0x4b8756;await _0x55b74f['AkBgv'](withTelemetry,'profile\x20config\x20set',()=>configSet(_0x576cad[_0x429f7e(0x18e)],_0x576cad[_0x429f7e(0x284)],_0x576cad['value']));})[_0x4b8756(0x153)](_0x4b8756(0x237),_0x463392[_0x4b8756(0x23c)],_0x183b91=>{const _0x3006d8=_0x4b8756;return _0x183b91[_0x3006d8(0xe9)](_0x3006d8(0x18e),{'type':'string','description':_0x228d20['UHRGC'],'demandOption':!![]})['positional']('key',{'type':_0x228d20['EVBcY'],'description':_0x228d20['WHYgx'],'demandOption':!![]});},async _0x4544e4=>{const _0x3d941c=_0x4b8756;await withTelemetry(_0x228d20[_0x3d941c(0x24b)],()=>configGet(_0x4544e4[_0x3d941c(0x18e)],_0x4544e4[_0x3d941c(0x284)]));})['command'](_0x4b8756(0x120),_0x463392[_0x4b8756(0x1eb)],_0x3cf0c2=>{const _0x39b281=_0x4b8756;return _0x3cf0c2[_0x39b281(0xe9)](_0x39b281(0x18e),{'type':'string','description':_0x228d20[_0x39b281(0x15b)],'demandOption':!![]});},async _0x33ecc1=>{const _0x21d269=_0x4b8756;await _0x55b74f[_0x21d269(0x11e)](withTelemetry,'profile\x20config\x20list',()=>configList(_0x33ecc1['profile']));})['command']('unset\x20<profile>\x20<key>','Remove\x20a\x20config\x20value',_0x381cf8=>{const _0x5359df=_0x4b8756;return _0x381cf8['positional'](_0x228d20[_0x5359df(0x127)],{'type':'string','description':_0x5359df(0x107),'demandOption':!![]})['positional'](_0x5359df(0x284),{'type':_0x228d20['EVBcY'],'description':_0x228d20[_0x5359df(0x163)],'demandOption':!![]});},async _0x425a6c=>{const _0x176b38=_0x4b8756;await _0x55b74f[_0x176b38(0x11e)](withTelemetry,_0x55b74f[_0x176b38(0x21d)],()=>configUnset(_0x425a6c['profile'],_0x425a6c['key']));})[_0x4b8756(0x153)](_0x4b8756(0x1a4),_0x4b8756(0x121),_0x209406=>{const _0x23aefa=_0x4b8756;return _0x209406[_0x23aefa(0xe9)]('profile',{'type':'string','description':_0x23aefa(0x107),'demandOption':!![]});},async _0x237a77=>{const _0x29f11c=_0x4b8756;await withTelemetry('profile\x20config\x20reset',()=>configReset(_0x237a77[_0x29f11c(0x18e)]));})['demandCommand'](0x1,_0x463392[_0x4b8756(0x1ee)]);})[_0xb6c35d(0x26a)](0x1,_0xb6c35d(0x115));})['command']('status','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{await withTelemetry('status',()=>status());})[_0x2e7e6e(0x153)]('update',_0x463392['xcCqb'],()=>{},async()=>{const _0x274982=_0x2e7e6e;await _0x463392['tKhVn'](withTelemetry,_0x274982(0x21f),()=>update());})['command']('print-access-token',_0x463392['KDnYS'],()=>{},async()=>{const _0x4555f1=_0x2e7e6e,_0x398241={'DyKRi':function(_0x571636){return _0x571636();},'mUGEc':_0x4555f1(0x28a)};await _0x463392['tKhVn'](withTelemetry,_0x4555f1(0x117),async()=>{const _0x70ffdd=_0x4555f1,_0x3a687f=await _0x398241[_0x70ffdd(0x178)](getToken);if(!_0x3a687f)throw new Error(_0x398241['mUGEc']);console['log'](_0x3a687f);});})['command']('go','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.',_0x5d6813=>{const _0x52742d=_0x2e7e6e;return _0x5d6813[_0x52742d(0x123)](_0x463392[_0x52742d(0x245)],{'type':_0x463392['nNOic'],'description':'Optional\x20feature\x20ID'})[_0x52742d(0x123)]('profile',{'type':_0x52742d(0x219),'description':_0x463392['qScNm']})['option'](_0x463392['nrBDg'],{'type':_0x52742d(0x219),'description':_0x463392['XesWq']})['option'](_0x52742d(0x225),{'type':_0x463392['mllfF'],'description':_0x52742d(0x229)})[_0x52742d(0x123)](_0x463392['TcPwc'],{'type':_0x463392['nNOic'],'description':_0x463392['TPIEC']})['option'](_0x463392[_0x52742d(0x1fc)],{'type':_0x463392[_0x52742d(0x1d4)],'description':_0x463392['RfqMB']})['option'](_0x463392['ydLRU'],{'type':_0x52742d(0x219),'description':_0x463392[_0x52742d(0x13c)]})['option'](_0x52742d(0xfa),{'type':_0x52742d(0x1e8),'description':_0x463392[_0x52742d(0x12c)],'default':![]})['option'](_0x52742d(0x1d2),{'type':_0x463392[_0x52742d(0x1d4)],'hidden':!![],'choices':[_0x52742d(0x27b),_0x463392[_0x52742d(0x227)],'blocked',_0x52742d(0xe3),'incomplete']})[_0x52742d(0x123)](_0x463392['jSaLr'],{'type':_0x463392['dinnU'],'hidden':!![]})['option'](_0x463392['qbzYH'],{'type':_0x463392[_0x52742d(0x1d4)],'hidden':!![]})['option'](_0x463392[_0x52742d(0x269)],{'type':_0x463392['nNOic'],'hidden':!![]})[_0x52742d(0x123)](_0x52742d(0x2a0),{'type':_0x463392['mllfF'],'hidden':!![]});},async _0x395c7f=>{await runGoCommand(_0x395c7f);})[_0x2e7e6e(0x153)](_0x463392[_0x2e7e6e(0x16f)],![],_0xc5e174=>{const _0x170f4e=_0x2e7e6e,_0x45dc5e={'WLLzp':_0x463392[_0x170f4e(0x1d4)],'VokGG':_0x463392['fOOqM'],'iZwaL':function(_0x55fbd4,_0x3bb73e,_0x30e2bb){return _0x463392['wgIGX'](_0x55fbd4,_0x3bb73e,_0x30e2bb);},'IMwqy':_0x170f4e(0x215),'UnFVw':_0x170f4e(0xe4),'GdscJ':function(_0x1b92b8,_0x26b4a2){const _0x343df8=_0x170f4e;return _0x463392[_0x343df8(0x19b)](_0x1b92b8,_0x26b4a2);}};return _0xc5e174[_0x170f4e(0x153)](_0x463392['ewXbp'],![],_0x3fe14d=>{const _0xc0c5ac=_0x170f4e;return _0x3fe14d[_0xc0c5ac(0xe9)](_0xc0c5ac(0x18e),{'type':_0x45dc5e['WLLzp'],'description':_0x45dc5e[_0xc0c5ac(0x265)],'demandOption':!![]});},async _0x4922ee=>{const _0x31ad52=_0x170f4e;_0x45dc5e[_0x31ad52(0x189)](warnRenamed,_0x45dc5e['IMwqy'],_0x45dc5e['UnFVw']),await _0x45dc5e[_0x31ad52(0x1bf)](authEncrypt,_0x4922ee[_0x31ad52(0x18e)]);})['demandCommand'](0x1,_0x463392['MlviX']);},()=>{})['command'](_0x463392[_0x2e7e6e(0x165)],![],_0x40be6e=>{const _0x1cbe44=_0x2e7e6e;return _0x40be6e[_0x1cbe44(0xe9)](_0x463392[_0x1cbe44(0x204)],{'type':_0x463392[_0x1cbe44(0x1d4)],'description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})['option']('skip-chromium',{'type':_0x463392['dinnU'],'description':_0x463392['GtavJ'],'default':![]})[_0x1cbe44(0x123)](_0x1cbe44(0x13b),{'type':_0x463392['nNOic'],'choices':[_0x463392[_0x1cbe44(0x19f)]],'hidden':!![],'description':_0x463392[_0x1cbe44(0x22b)]})[_0x1cbe44(0x123)](_0x1cbe44(0x188),{'type':_0x463392['nNOic'],'description':_0x1cbe44(0x101)})[_0x1cbe44(0x123)](_0x463392[_0x1cbe44(0x234)],{'type':_0x463392[_0x1cbe44(0x198)],'description':_0x1cbe44(0x1ef),'default':![]})[_0x1cbe44(0x123)](_0x463392[_0x1cbe44(0xf2)],{'type':_0x463392[_0x1cbe44(0x198)],'description':_0x1cbe44(0x161),'default':![]})[_0x1cbe44(0x123)](_0x463392['HIOSl'],{'type':_0x463392[_0x1cbe44(0x198)],'description':_0x1cbe44(0x28f),'default':![]});},async _0x497b31=>{const _0x1a4295=_0x2e7e6e;warnRenamed('ranger\x20start',_0x463392['JMqhq']),await _0x463392['uNTdf'](withTelemetry,_0x463392['acQwh'],_0x524321=>start(_0x497b31[_0x1a4295(0x130)],{'skipChromium':_0x497b31['skip-chromium'],'skipAuth':_0x497b31[_0x1a4295(0x1d9)],'withDeps':_0x497b31[_0x1a4295(0x29d)],'scope':_0x497b31[_0x1a4295(0x13b)],'url':_0x497b31['url'],'force':_0x497b31['force']},_0x524321));})['command'](_0x2e7e6e(0x1aa),![],_0x4898fe=>{const _0x2f6ec9=_0x2e7e6e;return _0x4898fe['option'](_0x463392['qbzYH'],{'type':_0x463392['nNOic'],'description':_0x463392['CtBOJ']})[_0x2f6ec9(0x123)](_0x463392[_0x2f6ec9(0x269)],{'type':_0x463392['nNOic'],'description':_0x463392['iIDXV']})['option'](_0x2f6ec9(0x2a0),{'type':'number','description':'Scenario\x20index\x20(1-based)'})['option'](_0x463392['WReyH'],{'type':_0x463392[_0x2f6ec9(0x1d4)],'hidden':!![]})[_0x2f6ec9(0x123)](_0x2f6ec9(0x25a),{'type':_0x2f6ec9(0x219),'hidden':!![]})['option']('scenario',{'type':'number','hidden':!![]})[_0x2f6ec9(0x123)](_0x463392['TcPwc'],{'type':_0x2f6ec9(0x219),'description':_0x463392['TPIEC']})[_0x2f6ec9(0x123)](_0x463392[_0x2f6ec9(0x1fc)],{'type':_0x2f6ec9(0x219),'description':_0x463392[_0x2f6ec9(0xd7)]})['option'](_0x463392['ydLRU'],{'type':'string','hidden':!![]})['option'](_0x2f6ec9(0xfa),{'type':_0x463392['dinnU'],'hidden':!![],'default':![]})['option'](_0x463392['WPqoH'],{'type':_0x463392['nNOic'],'hidden':!![],'choices':['verified',_0x463392[_0x2f6ec9(0x227)],'blocked','failed',_0x463392[_0x2f6ec9(0x10a)]]});},async _0x4e09c3=>{await _0x463392['cSvkX'](runGoCommand,_0x4e09c3,!![]);})['command'](_0x463392[_0x2e7e6e(0x20c)],![],_0x4a47c9=>{const _0x4ae0d3=_0x2e7e6e;return _0x4a47c9[_0x4ae0d3(0xe9)](_0x463392[_0x4ae0d3(0x1a6)],{'type':_0x463392['nNOic'],'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x4ae0d3(0x123)]('ci',{'type':_0x463392['dinnU'],'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})[_0x4ae0d3(0x123)](_0x463392[_0x4ae0d3(0xf2)],{'type':_0x463392['dinnU'],'description':_0x463392[_0x4ae0d3(0x155)],'default':![]});},async _0x21e5e1=>{const _0x34b74e=_0x2e7e6e;_0x463392[_0x34b74e(0x173)](warnRenamed,_0x463392['ypRLl'],_0x463392[_0x34b74e(0x271)]),await _0x463392[_0x34b74e(0x200)](withTelemetry,_0x34b74e(0x140),_0x1534ec=>addEnv(_0x21e5e1[_0x34b74e(0x1cf)],{'ci':_0x21e5e1['ci'],'skipAuth':_0x21e5e1[_0x34b74e(0x1d9)]},_0x1534ec));})[_0x2e7e6e(0x153)](_0x463392[_0x2e7e6e(0x1d7)],![],_0xf09cce=>{const _0xa47921=_0x2e7e6e;return _0xf09cce[_0xa47921(0xe9)](_0x463392[_0xa47921(0x1a6)],{'type':'string','description':_0xa47921(0x11b),'demandOption':!![]});},async _0x5baf8f=>{const _0x40af07=_0x2e7e6e;warnRenamed(_0x463392['CCHDW'],_0x40af07(0xdd)),await _0x463392[_0x40af07(0x14e)](withTelemetry,_0x40af07(0x1e5),()=>useEnv(_0x5baf8f['env-name']));})[_0x2e7e6e(0x153)](_0x463392[_0x2e7e6e(0x1e3)],![],_0x469bac=>{const _0x11cbf4=_0x2e7e6e,_0x2b8f86={'ROBmg':'string','VfjlS':_0x463392[_0x11cbf4(0x156)],'YQJpA':_0x11cbf4(0x218),'SkcBg':_0x11cbf4(0x1b6),'wLRtT':_0x11cbf4(0xe5),'IQWkG':'ranger\x20profile\x20config\x20list','sKueZ':_0x463392[_0x11cbf4(0xf4)]};return _0x469bac[_0x11cbf4(0x153)](_0x463392['poIvl'],![],_0x1343a2=>{const _0x5687ac=_0x11cbf4;return _0x1343a2[_0x5687ac(0xe9)](_0x5687ac(0x218),{'type':_0x2b8f86['ROBmg'],'description':'Environment\x20name','demandOption':!![]})['positional']('key',{'type':_0x5687ac(0x219),'description':_0x2b8f86[_0x5687ac(0x21c)],'demandOption':!![]})[_0x5687ac(0xe9)]('value',{'type':_0x2b8f86[_0x5687ac(0x15d)],'description':_0x5687ac(0x167),'demandOption':!![]});},async _0x4bae43=>{const _0x52b5e3=_0x11cbf4;warnRenamed(_0x463392['dlmzF'],_0x52b5e3(0x1a1)),await _0x463392[_0x52b5e3(0x1b9)](withTelemetry,_0x463392['HUkYw'],()=>configSet(_0x4bae43['env'],_0x4bae43['key'],_0x4bae43[_0x52b5e3(0x251)]));})[_0x11cbf4(0x153)](_0x463392['ENPaR'],![],_0x512c8a=>{const _0x4c647d=_0x11cbf4;return _0x512c8a[_0x4c647d(0xe9)](_0x2b8f86['YQJpA'],{'type':_0x2b8f86['ROBmg'],'description':_0x2b8f86[_0x4c647d(0x145)],'demandOption':!![]})['positional']('key',{'type':_0x2b8f86['ROBmg'],'description':_0x2b8f86['wLRtT'],'demandOption':!![]});},async _0x1a5ba0=>{const _0x26a345=_0x11cbf4;warnRenamed(_0x463392['rljOn'],'ranger\x20profile\x20config\x20get'),await withTelemetry(_0x463392['OOKDs'],()=>configGet(_0x1a5ba0[_0x26a345(0x218)],_0x1a5ba0['key']));})['command'](_0x463392[_0x11cbf4(0x223)],![],_0xbafc7a=>{const _0x190836=_0x11cbf4;return _0xbafc7a[_0x190836(0xe9)]('env',{'type':_0x190836(0x219),'description':_0x2b8f86[_0x190836(0x145)],'demandOption':!![]});},async _0x3cb483=>{const _0x301204=_0x11cbf4;warnRenamed('ranger\x20config\x20list',_0x2b8f86[_0x301204(0x1a9)]),await withTelemetry(_0x301204(0x254),()=>configList(_0x3cb483[_0x301204(0x218)]));})[_0x11cbf4(0x153)](_0x463392['UeJcA'],![],_0x4e9fb3=>{const _0x3583d1=_0x11cbf4;return _0x4e9fb3[_0x3583d1(0xe9)]('env',{'type':_0x463392['nNOic'],'description':_0x3583d1(0x1b6),'demandOption':!![]})['positional']('key',{'type':_0x3583d1(0x219),'description':_0x463392['aVScg'],'demandOption':!![]});},async _0x51107a=>{const _0x11a676=_0x11cbf4;warnRenamed('ranger\x20config\x20unset','ranger\x20profile\x20config\x20unset'),await withTelemetry(_0x2b8f86[_0x11a676(0x1b4)],()=>configUnset(_0x51107a['env'],_0x51107a['key']));})['demandCommand'](0x1,_0x463392[_0x11cbf4(0x1f9)]);})['command'](_0x2e7e6e(0x218),![],_0x2ec599=>{const _0xcd26cb=_0x2e7e6e,_0x45bc86={'UiXYi':_0x463392['NsZLm'],'ceoFq':_0xcd26cb(0x19c),'kNsQi':function(_0x17f10d,_0x3a55f6,_0x569a00){const _0x1b5168=_0xcd26cb;return _0x463392[_0x1b5168(0x11c)](_0x17f10d,_0x3a55f6,_0x569a00);}};return _0x2ec599['command']('ls',![],()=>{},async()=>{const _0xa281a9=_0xcd26cb;warnRenamed(_0x463392['QVztI'],_0xa281a9(0x1ae)),await withTelemetry(_0x463392['vinTR'],()=>envList());})['command'](_0x463392['bGDlk'],![],_0x46b30e=>{const _0x1211dd=_0xcd26cb;return _0x46b30e[_0x1211dd(0xe9)](_0x45bc86['UiXYi'],{'type':'string','description':_0x45bc86['ceoFq'],'demandOption':!![]});},async _0x2c93a4=>{const _0x379dcf=_0xcd26cb;_0x45bc86['kNsQi'](warnRenamed,'ranger\x20env\x20update','ranger\x20profile\x20update'),await _0x45bc86['kNsQi'](withTelemetry,'env\x20update',_0x3606fa=>updateEnv(_0x2c93a4[_0x379dcf(0x1cf)],_0x3606fa));})['demandCommand'](0x1,_0x463392['gpQmS']);})['command'](_0x463392[_0x2e7e6e(0x245)],![],_0x5bcd8a=>{const _0x4f48bf=_0x2e7e6e,_0x4b82c7={'CuCXK':_0x463392['PdWxV'],'nGuLp':'description','Jztvj':_0x4f48bf(0x219),'MoBpT':_0x463392[_0x4f48bf(0x274)],'bOhOd':'checklist','wTNyY':_0x463392[_0x4f48bf(0x25c)],'tdnLS':_0x4f48bf(0x225),'RBuik':_0x4f48bf(0x27a),'WZnCC':_0x463392[_0x4f48bf(0x1ac)],'ImVzu':'limit','EkdQM':_0x463392[_0x4f48bf(0x24e)],'HqtKn':_0x463392[_0x4f48bf(0x198)],'RXcUZ':_0x463392['HqkZZ'],'VZEri':function(_0x2b5bfd,_0x8f3dc,_0x526d8d){return _0x2b5bfd(_0x8f3dc,_0x526d8d);},'AdAda':'ranger\x20list','brinw':_0x463392['MZKFi'],'TwDFP':_0x463392['tClkm'],'AWFWZ':function(_0x26244c,_0x533d1d,_0x5c66c0){return _0x26244c(_0x533d1d,_0x5c66c0);},'GhydO':_0x4f48bf(0x109),'DqdQy':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','zywTc':'Feature\x20review\x20ID\x20to\x20restore'};return _0x5bcd8a['command'](_0x4f48bf(0x13d),![],_0x3483ca=>{const _0x444604=_0x4f48bf;return _0x3483ca[_0x444604(0xe9)](_0x4b82c7[_0x444604(0x183)],{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})[_0x444604(0x123)](_0x4b82c7[_0x444604(0x239)],{'type':_0x4b82c7['Jztvj'],'alias':'d','description':_0x4b82c7['MoBpT']})[_0x444604(0x123)](_0x4b82c7['bOhOd'],{'type':'array','alias':'c','description':_0x4b82c7[_0x444604(0x19e)]})['option'](_0x4b82c7['tdnLS'],{'type':_0x4b82c7[_0x444604(0x288)],'hidden':!![]});},async _0x34ed92=>{const _0xcd5205=_0x4f48bf;_0x463392[_0xcd5205(0x1c7)](warnRenamed,_0x463392[_0xcd5205(0x221)],_0x463392[_0xcd5205(0x236)]),warnFlagRenamed('ranger\x20create','--checklist',_0x463392[_0xcd5205(0x1b2)]);const _0x33f76a=_0x34ed92['scenario']||_0x34ed92[_0xcd5205(0x10e)];await withTelemetry(_0xcd5205(0x266),()=>featureCreate(_0x34ed92['name'],{'description':_0x34ed92['description'],'scenarios':_0x33f76a}));})['command']('list',![],_0x4d01d3=>{const _0x2482ca=_0x4f48bf;return _0x4d01d3['option'](_0x2482ca(0x1da),{'type':_0x2482ca(0x1e8),'description':_0x4b82c7['WZnCC']})[_0x2482ca(0x123)](_0x4b82c7['ImVzu'],{'type':_0x2482ca(0x1cc),'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option'](_0x4b82c7[_0x2482ca(0x141)],{'type':'number','alias':'o','description':_0x2482ca(0x212),'default':0x0})[_0x2482ca(0x123)]('include-deleted',{'type':_0x4b82c7['HqtKn'],'alias':'d','description':_0x4b82c7[_0x2482ca(0x184)],'default':![]});},async _0x1cb8de=>{const _0x566efc=_0x4f48bf;_0x4b82c7['VZEri'](warnRenamed,_0x566efc(0x20b),_0x4b82c7['AdAda']),await _0x4b82c7[_0x566efc(0x1b3)](withTelemetry,_0x4b82c7[_0x566efc(0x114)],()=>featureList({'currentBranch':_0x1cb8de[_0x566efc(0x1da)],'limit':_0x1cb8de['limit'],'offset':_0x1cb8de[_0x566efc(0x211)],'includeDeleted':_0x1cb8de['include-deleted']}));})['command']('show\x20[id]',![],_0x25c864=>{const _0xa79188=_0x4f48bf;return _0x25c864[_0xa79188(0xe9)]('id',{'type':_0x463392['nNOic'],'description':_0x463392['wjWwL']});},async _0x537ee3=>{const _0x311cb0=_0x4f48bf;warnRenamed('ranger\x20feature\x20show',_0x4b82c7['TwDFP']),await _0x4b82c7[_0x311cb0(0x148)](withTelemetry,_0x311cb0(0x193),()=>featureShow(_0x537ee3['id']));})[_0x4f48bf(0x153)](_0x463392[_0x4f48bf(0x1b0)],![],_0x3e52af=>{return _0x3e52af['positional']('id',{'type':'string','description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0xf677dd=>{const _0x296d8d=_0x4f48bf;_0x463392[_0x296d8d(0x255)](warnRenamed,_0x296d8d(0x181),'ranger\x20resume'),await withTelemetry('feature\x20resume',()=>featureResume(_0xf677dd['id']));})['command']('add-checklist-item\x20<description>',![],_0x53562c=>{const _0x45540e=_0x4f48bf;return _0x53562c['positional'](_0x4b82c7['nGuLp'],{'type':'string','description':_0x4b82c7[_0x45540e(0x207)],'demandOption':!![]})[_0x45540e(0x123)]('id',{'type':_0x4b82c7[_0x45540e(0x275)],'description':_0x4b82c7[_0x45540e(0x111)]});},async _0x483072=>{const _0xb44a10=_0x4f48bf;_0x463392['DqdCm'](warnRenamed,_0x463392['crwqP'],_0xb44a10(0x297)),await _0x463392['ohlCQ'](withTelemetry,_0x463392['KdTiq'],()=>featureAddScenario(_0x483072[_0xb44a10(0x1f4)],_0x483072['id']));})[_0x4f48bf(0x153)](_0x4f48bf(0x179),![],_0x48b306=>{const _0x588c9b=_0x4f48bf;return _0x48b306[_0x588c9b(0xe9)]('id',{'type':_0x588c9b(0x219),'description':_0x463392['cpymX']});},async _0x1e4f37=>{const _0xdb6b44=_0x4f48bf;_0x463392[_0xdb6b44(0x263)](warnRenamed,'ranger\x20feature\x20get-feedback','ranger\x20get-review'),await _0x463392['HRQQX'](withTelemetry,_0x463392['MSVMP'],()=>featureGetReview(_0x1e4f37['id']));})['command'](_0x463392[_0x4f48bf(0x1dd)],![],_0x797013=>{const _0x5cad87=_0x4f48bf;return _0x797013[_0x5cad87(0xe9)]('id',{'type':_0x5cad87(0x219),'description':_0x463392[_0x5cad87(0x149)]});},async _0x22a21c=>{const _0x384148=_0x4f48bf;warnRenamed(_0x463392['bVugM'],_0x463392[_0x384148(0x1e2)]),await _0x463392['DqdCm'](withTelemetry,'feature\x20delete',()=>featureDelete(_0x22a21c['id']));})['command'](_0x463392[_0x4f48bf(0x21b)],![],_0x3e7d43=>{const _0x3023f2=_0x4f48bf;return _0x3e7d43[_0x3023f2(0xe9)]('id',{'type':_0x3023f2(0x219),'description':_0x4b82c7[_0x3023f2(0x1cd)],'demandOption':!![]});},async _0x1dbebb=>{const _0x17e89b=_0x4f48bf;warnRenamed('ranger\x20feature\x20restore',_0x17e89b(0x187)),await _0x4b82c7[_0x17e89b(0x148)](withTelemetry,_0x17e89b(0xf8),()=>featureRestore(_0x1dbebb['id']));})[_0x4f48bf(0x26a)](0x1,_0x463392[_0x4f48bf(0x220)]);})[_0x2e7e6e(0x153)](_0x463392[_0x2e7e6e(0x1b8)],![],_0x48fb65=>{const _0x54b355=_0x2e7e6e,_0x460a73={'cqVxA':_0x463392['SKlcm'],'jtzKP':_0x463392[_0x54b355(0x102)]};return _0x48fb65[_0x54b355(0x153)]('enable',_0x54b355(0x1e7),_0x1a9aa4=>{const _0x54da16=_0x54b355;return _0x1a9aa4[_0x54da16(0x123)]('session-id',{'type':'string','description':_0x463392[_0x54da16(0x102)]});},async _0x3db27d=>{await _0x463392['IMujT'](withTelemetry,'hook:enable',()=>hook('enable',_0x3db27d['session-id']));})[_0x54b355(0x153)]('disable',_0x54b355(0x14b),_0x182b91=>{const _0x2577fb=_0x54b355;return _0x182b91[_0x2577fb(0x123)](_0x460a73[_0x2577fb(0x25e)],{'type':_0x2577fb(0x219),'description':_0x460a73['jtzKP']});},async _0x540c4e=>{const _0x58833d=_0x54b355;await withTelemetry('hook:disable',()=>hook('disable',_0x540c4e[_0x58833d(0xe1)]));})['option'](_0x54b355(0x260),{'type':_0x54b355(0x219),'description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})['option']('session-id',{'type':_0x463392[_0x54b355(0x1d4)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x1f0bde=>{const _0x1d57be=_0x2e7e6e;_0x1f0bde['name']&&await hook(_0x1f0bde['name'],_0x1f0bde[_0x1d57be(0xe1)]);})[_0x2e7e6e(0x26a)](0x1,'You\x20must\x20specify\x20a\x20command')[_0x2e7e6e(0x154)]()[_0x2e7e6e(0x224)](async(_0x2b8f56,_0x110285,_0x50ebfc)=>{const _0x233f6f=_0x2e7e6e,_0x1ad72d=_0x463392[_0x233f6f(0x139)](sanitizeArgs,process['argv'][_0x233f6f(0x17c)](0x2)),_0x4f932d=getErrorType(_0x2b8f56,_0x110285);if(_0x2b8f56&&_0x2b8f56['includes'](_0x233f6f(0x247))){const _0x195330=process['argv'][0x2];console['error']('\x0aUnknown\x20command:\x20'+_0x195330),console['error'](_0x463392[_0x233f6f(0x294)]);}else{if(_0x2b8f56)console[_0x233f6f(0xfe)]('\x0a'+_0x2b8f56+'\x0a');else _0x110285&&console['error'](_0x233f6f(0xec)+_0x110285['message']+'\x0a');}await logDesirePath({'rawCommand':_0x1ad72d,'errorMessage':_0x2b8f56||_0x110285?.['message'],'errorType':_0x4f932d});const _0x4d8a38=_0x463392[_0x233f6f(0xdf)](getCurrentCollector);_0x4d8a38&&await _0x4d8a38[_0x233f6f(0xf5)](_0x110285||new Error(_0x463392['QtIee'](_0x2b8f56,_0x233f6f(0x27e)))),process['exit'](0x1);})[_0x2e7e6e(0x27d)](_0x463392['vmkfn'](_0x463392[_0x2e7e6e(0x1be)],_0x463392[_0x2e7e6e(0x175)])+_0x463392['fVHKh'])[_0x2e7e6e(0x118)]()[_0x2e7e6e(0xe0)](_0x463392['MaSbh'],'h');}process['env'][_0x3880c4(0x201)]!=='test'&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()[_0x3880c4(0x1d0)]());
|
|
2
|
+
const _0x1ff339=_0x3142;(function(_0x38f889,_0x3fbd21){const _0x3ea1a3=_0x3142,_0x21e58e=_0x38f889();while(!![]){try{const _0x32744f=parseInt(_0x3ea1a3(0x121))/0x1*(-parseInt(_0x3ea1a3(0xc6))/0x2)+-parseInt(_0x3ea1a3(0xc5))/0x3*(-parseInt(_0x3ea1a3(0x227))/0x4)+parseInt(_0x3ea1a3(0x17a))/0x5*(parseInt(_0x3ea1a3(0xa7))/0x6)+parseInt(_0x3ea1a3(0x85))/0x7*(parseInt(_0x3ea1a3(0x97))/0x8)+-parseInt(_0x3ea1a3(0x93))/0x9+-parseInt(_0x3ea1a3(0x135))/0xa*(parseInt(_0x3ea1a3(0x1d0))/0xb)+-parseInt(_0x3ea1a3(0x9c))/0xc*(parseInt(_0x3ea1a3(0x1a9))/0xd);if(_0x32744f===_0x3fbd21)break;else _0x21e58e['push'](_0x21e58e['shift']());}catch(_0x49b098){_0x21e58e['push'](_0x21e58e['shift']());}}}(_0x247e,0x3d072));import _0x174b65 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x5298e9=_0x3142,_0x3abb65={'oCgNU':function(_0x2f6d67,_0x477f6b,_0x416c2a){return _0x2f6d67(_0x477f6b,_0x416c2a);},'iyJkW':function(_0x4a4ac8,_0x13a0b7){return _0x4a4ac8(_0x13a0b7);},'KVGfC':'.env'};let _0x410f1d=process['cwd']();const _0x4d6467=parse(_0x410f1d)['root'];while(_0x410f1d!==_0x4d6467){if(existsSync(_0x3abb65[_0x5298e9(0xe1)](join,_0x410f1d,_0x5298e9(0x1b0)))||_0x3abb65[_0x5298e9(0xd6)](existsSync,join(_0x410f1d,_0x3abb65[_0x5298e9(0x151)])))return _0x410f1d;_0x410f1d=dirname(_0x410f1d);}return process['cwd']();}_0x174b65[_0x1ff339(0xd0)]({'path':join(findProjectRoot(),'.env')});import _0x1d7021 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';function _0x3142(_0x16551d,_0x5eeab8){_0x16551d=_0x16551d-0x74;const _0x247e0f=_0x247e();let _0x3142cb=_0x247e0f[_0x16551d];return _0x3142cb;}import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';function _0x247e(){const _0x40b3cf=['OFYxD','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','jVcAs','SJQdU','Install\x20Chromium\x20browser\x20binary','value','token','add-scenario\x20<description>','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','CAppB','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','status','.\x20[','FSaSp','blocked','Print\x20the\x20current\x20CLI\x20access\x20token','Zqodc','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','ranger\x20profile\x20use','KiLwt','help','GDutP','option','config\x20set','restore','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','all','OHMgG','RKTQj','debug-address-comments','GSwnT','setup:profiles','5523505yOeAZr','ceYyI','nfnPE','setup:deps','test_output','xBdYf','SyRia','.ranger','xiUsF','profile\x20config\x20unset','Yzigl','JajEL','save-creds','Reason:\x20','DDCxa','NODE_ENV','allow-insecure-localhost','profile\x20encrypt-auth','boolean','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','repeat','reset\x20<profile>','resume\x20[id]','Diwed','ypkTj','RulEw','JAncs','foaeQ','Config\x20value','tokenOrSubcommand','--scenario','cnLiL','bJFxW','\x20is\x20no\x20longer\x20supported.\x20','argv','ranger\x20setup','Initialize\x20Ranger\x20in\x20your\x20project','OxnRf','QLquY','451pNsaup','eGdFl','Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.','WKVqu','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','mCOjG','RANGER_PROFILE','xaxMB','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','log','ranger\x20verify-feature','hIFjD','encrypt-auth\x20<profile>','summary','VnFBz','zCUqB','JoBGV','You\x20must\x20specify\x20a\x20profile\x20subcommand','\x20FAILED','ZXKXm','Unknown\x20command','yes','checklist','cxWJL','url','Cloud\x20profile\x20name','yDTVo','xBATX','includes','Alias\x20for\x20--mcp-bootstrap','exit','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','RLlUN','Mbpmb','ranger\x20create','demandCommand','profile\x20config\x20list','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','WZVdO','XOIoN','mcp-bootstrap','ranger\x20profile\x20config\x20set','EwtuS','scenario','Feature\x20review\x20ID\x20to\x20restore','user','feature\x20get-feedback','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.','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','GLcjK','force','show\x20[id]','Manage\x20profile\x20configuration','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','disable','command','pskBP','message','AGivl','evaluation','lBrEg','FraDW','TkeFm','resFc','MSQkI','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','current-branch','number','opencode','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','XLEcI','JzSlM','GQSYS','fail','kTeLx','FyrAj','wZxDM','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','report','trFHA','ranger\x20add\x20env','lEzSr','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','name','Feature\x20review\x20ID','setup-header','Environment\x20name','353076PpwgTc','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','DDeOC','strictCommands','Fwtyf','VhKfd','profile\x20config\x20reset','forEach','lwNZr','unknown\x20error','claude','nYsVn','ufsJz','Scenario\x20number\x20to\x20edit\x20(1-based)','ranger\x20feature\x20list','BNywo','bljWA','skip-auth','zerNt','rBcqP','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','dQafN','xgZCJ','iBRYt','jByLy','WHrZs','Name\x20of\x20the\x20environment','list\x20<env>','cRHcF','LHsWa','vmXgX','kyezA','update','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','2497908lKKvsr','get-review','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','positional','WOujz','YPkvo','scope','yIBXq','scUYC','AiVws','Evaluation:\x20','RcDPs','usage','profiles','786456tbiPAd','Install\x20skills\x20for\x20OpenCode','pQuzm','skip-chromium','8VZvMbM','mUXrj','failed','OzNGa','NlStO','12mWMcIa','zltHF','use','start','profile-name','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','session-id','wQBRA','delete\x20[id]','You\x20must\x20specify\x20a\x20config\x20subcommand','include-deleted','6wbNZQz','Set\x20up\x20a\x20local\x20browser\x20profile','GWTyG','JoUDX','NTSbd','ranger\x20resume','jokqw','add\x20<profile-name>','Set\x20a\x20config\x20value','profile\x20update','ranger\x20config\x20unset','clean','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','BNTsP','LLeHs','kULaH','THPgX','soRZZ','iYRJb','start-path','Skip\x20the\x20deletion\x20confirmation\x20prompt.','Name\x20of\x20the\x20profile\x20to\x20update','issues','qcuXn','Skip\x20browser\x20authentication','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','\x20VERIFIED','oJyrL','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','XRyVP','15MULaEt','2EzYmvM','CDqJU','Authenticate\x20via\x20MCP\x20proxy','\x0aUnknown\x20command:\x20','qrpSM','mqFOr','JTLlT','incomplete','feature\x20create','TBZkw','config','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','limit','item','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','print-access-token','iyJkW','Feature\x20review\x20name','setup:login','blkDS','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','aPTot','cvJoD','fONGl','awwRb','ranger\x20feature\x20show','pszxA','oCgNU','login','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','dry-run','Restore\x20a\x20soft-deleted\x20feature\x20review','config\x20list','config\x20unset','unset\x20<env>\x20<key>','Config\x20key','use\x20<profile-name>','parse','\x27.\x20Session\x20saved.','ranger\x20use','kpAwV','Number\x20of\x20feature\x20reviews\x20to\x20skip','FfFOH','edit-scenario\x20<description>','rBSQK','Switch\x20to\x20using\x20a\x20specific\x20profile','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','get-feedback\x20[id]','project','REHmv','Svulv','trackCommandError','partial','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Bwvsg','fVaMr','profile','LZYxJ','update\x20<profile-name>','ranger\x20profile\x20config\x20get','vQJBh','hGSoy','WAdGz','model','Config\x20key\x20to\x20remove','XcqeO','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','ranger\x20env\x20ls','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','MBHPs','pyDRB','base-url','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','Jtupb','with-deps','skillup','TKXWg','delete\x20<profile-name>','add\x20env\x20<env-name>','ranger\x20profile\x20add','KrXEr','startsWith','cdp-endpoint','\x20PARTIAL','List\x20all\x20feature\x20reviews','ZKiNq','htQfX','list\x20<profile>','TqyVA','353611KbnyoP','Install\x20OS-level\x20dependencies\x20for\x20Chromium','Remove\x20a\x20config\x20value','array','xykFi','Example:\x20ranger\x20create\x20my-feature','OjCyN','key','ranger\x20profile\x20update','cmbXW','mVqIt','env-name','QOpji','deps','add\x20env','list','LOtXB','start\x20[token]','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','qRgnU','5000kEGKNY','aAMBE','List\x20all\x20profiles','Scenario\x20description','GmzyG','Khhoz','mcp','offset','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','CVfLA','UVvZs','hWbav','Base\x20URL\x20of\x20the\x20running\x20app','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','MhNLV','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','organizationName','hook','UPhiy','not_configured','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','setup-ci\x20<token>','env','rUsHv','KwJiz','cxUmy','UduAu','KVGfC','ranger','Ranger\x20API\x20token\x20(rngr_...)','error','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','bxqyV','success','krmrx','yzpac','Add\x20profile\x20configuration','ranger\x20list','--notes','task','verified','CkkHj','CGvIY','KVxGM','kmINi','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','OjWIn','feature','string','Install\x20scope\x20for\x20skills','jgmFE','--checklist','\x20\x20https://docs.ranger.net\x0a','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','VlPHB','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201','description','dtqHd','add-scenario','PUKUa','Profile\x20name','FPbri','ItUAl','tzhYC','headed','fnkka','Authenticate\x20with\x20Ranger','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','1690805wMhsNj','xqCOT','GWQvn','YTxnV','Ranger\x20API\x20token','Feature\x20review\x20description','cDPHD','feature\x20show','PCJCZ','\x20BLOCKED','Skip\x20authentication','json','Bhjmd','QhAaw','yxjzO'];_0x247e=function(){return _0x40b3cf;};return _0x247e();}import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x437137=>{const _0x57c696=_0x1ff339,_0x3fa0f1={'hSdOu':function(_0x524bae){return _0x524bae();}},_0x45d0be=_0x3fa0f1['hSdOu'](getCurrentCollector);_0x45d0be&&await _0x45d0be[_0x57c696(0xfa)](_0x437137),process['exitCode']=0x1;});const rawArgs=process[_0x1ff339(0x1cb)]['slice'](0x2),TOP_LEVEL_HELP=_0x1ff339(0x1d2),PROFILE_HELP=_0x1ff339(0x16d),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201';function warnRenamed(_0x20cfda,_0x4d9dfe){console['error']('\x0a'+_0x20cfda+'\x20is\x20now\x20'+_0x4d9dfe+'\x0a');}function argUsed(_0x4b8be8){const _0x52c288=_0x1ff339;return rawArgs['some'](_0x2d4a0b=>_0x2d4a0b===_0x4b8be8||_0x2d4a0b[_0x52c288(0x119)](_0x4b8be8+'='));}function warnFlagRenamed(_0x53271f,_0x5a8013,_0x24fad6){const _0x1705ef=_0x1ff339,_0x256671={'cRHcF':function(_0x577e4f,_0xf02e08){return _0x577e4f(_0xf02e08);}};_0x256671[_0x1705ef(0x7f)](argUsed,_0x5a8013)&&warnRenamed(_0x53271f+'\x20'+_0x5a8013,_0x53271f+'\x20'+_0x24fad6);}async function runGoCommand(_0x458d25,_0x1bd147=![]){const _0x35d38a=_0x1ff339,_0xf7aae={'SADlM':function(_0x4fe47c,_0x1d0a36,_0x1857ca){return _0x4fe47c(_0x1d0a36,_0x1857ca);},'GSwnT':'ranger\x20go','olYFw':function(_0x4be7d2,_0x13d777,_0x258294,_0x24a4e6){return _0x4be7d2(_0x13d777,_0x258294,_0x24a4e6);},'pTEyV':'--profile','pVlNf':'--task','krmrx':_0x35d38a(0x1c7),'EwEML':function(_0x246f18){return _0x246f18();},'dHnhp':function(_0x1e5ae2,_0x40b34e){return _0x1e5ae2(_0x40b34e);},'FwIXf':'start-path','PnWwa':_0x35d38a(0x10f),'KiLwt':'debug-outcome','KrvVk':'debug-address-comments','XLEcI':function(_0x179f0e,_0x300fbd){return _0x179f0e===_0x300fbd;},'SNknC':_0x35d38a(0x183),'PUKUa':'\x0aIssues:'};_0x1bd147&&_0xf7aae['SADlM'](warnRenamed,_0x35d38a(0x1da),_0xf7aae['GSwnT']);_0xf7aae['olYFw'](warnFlagRenamed,_0xf7aae[_0x35d38a(0x1a7)],'--env',_0xf7aae['pTEyV']),_0xf7aae['olYFw'](warnFlagRenamed,'ranger\x20go',_0xf7aae['pVlNf'],_0x35d38a(0x15c)),warnFlagRenamed('ranger\x20go','--item',_0xf7aae[_0x35d38a(0x158)]);const _0x42b21b=await loadRangerConfig(),_0x1d451a=_0xf7aae['EwEML'](isByokEnabled),_0x105b93=_0x458d25[_0x35d38a(0x107)],_0x1386a6=_0x42b21b['model'],_0x565295=await _0xf7aae['dHnhp'](verifyFeature,{'featureId':_0x458d25[_0x35d38a(0x165)],'profile':_0x458d25[_0x35d38a(0x100)]??_0x458d25[_0x35d38a(0x14c)]??process[_0x35d38a(0x14c)][_0x35d38a(0x1d6)],'notes':_0x458d25['notes']??_0x458d25[_0x35d38a(0x15d)],'scenario':_0x458d25['scenario']??_0x458d25['item'],'startPath':_0x458d25[_0xf7aae['FwIXf']],'baseUrl':_0x458d25[_0xf7aae['PnWwa']],'debugOutcome':_0x458d25[_0xf7aae[_0x35d38a(0x19c)]],'debugAddressComments':_0x458d25[_0xf7aae['KrvVk']],'headed':_0x458d25['headed'],'byokEnabled':_0x1d451a,'flagVerifyModel':_0x105b93,'configVerifyModel':_0x1386a6});console[_0x35d38a(0x1d9)]('\x0a'+'='['repeat'](0x3c)),console[_0x35d38a(0x1d9)](_0xf7aae['XLEcI'](_0x565295['evaluation'],'verified')?_0x35d38a(0xc1):_0x565295[_0x35d38a(0x20b)]===_0x35d38a(0xcd)?'\x20INCOMPLETE':_0x565295[_0x35d38a(0x20b)]===_0x35d38a(0xfb)?_0x35d38a(0x11b):_0xf7aae[_0x35d38a(0x216)](_0x565295['evaluation'],'blocked')?_0xf7aae['SNknC']:_0x35d38a(0x1e2)),console[_0x35d38a(0x1d9)]('='[_0x35d38a(0x1bd)](0x3c)),console['log']('Summary:\x20'+_0x565295[_0x35d38a(0x1dd)]),console['log'](_0x35d38a(0x8f)+_0x565295['evaluation']),console['log'](_0x35d38a(0x1b6)+_0x565295['evaluationReason']),_0x565295['issues']?.['length']&&(console[_0x35d38a(0x1d9)](_0xf7aae[_0x35d38a(0x171)]),_0x565295[_0x35d38a(0xbd)][_0x35d38a(0x22e)]((_0x43ba8b,_0x2651ca)=>{const _0x2c3089=_0x35d38a;console['log']('\x0a'+(_0x2651ca+0x1)+_0x2c3089(0x195)+_0x43ba8b['severity']+']\x20'+_0x43ba8b['description']);})),process[_0x35d38a(0x1ee)](_0x565295['evaluation']===_0x35d38a(0x15e)?0x0:0x1);}export function buildParser(_0x25408e){const _0x2f37f6=_0x1ff339,_0x15aa66={'VPywp':_0x2f37f6(0x223),'AQNfC':_0x2f37f6(0xd7),'aftae':function(_0x3dd6e6,_0x1f48b4){return _0x3dd6e6+_0x1f48b4;},'XcqeO':function(_0x49efe5,_0xa057a0,_0x2d4aa5,_0x440962){return _0x49efe5(_0xa057a0,_0x2d4aa5,_0x440962);},'bPyya':_0x2f37f6(0x1c7),'ftOnE':function(_0x16abec,_0x19492a,_0x296d0b){return _0x16abec(_0x19492a,_0x296d0b);},'xBATX':'create','mrkWL':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','oJyrL':'limit','yDTVo':_0x2f37f6(0x213),'YPkvo':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','wZxDM':_0x2f37f6(0xa6),'QLquY':'boolean','pyDRB':'Include\x20soft-deleted\x20feature\x20reviews','CGvIY':_0x2f37f6(0x130),'trFHA':_0x2f37f6(0x166),'EyndM':'show','VKOCE':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','rUsHv':function(_0x1bd50d,_0x4b8e0e,_0x3295bb){return _0x1bd50d(_0x4b8e0e,_0x3295bb);},'FbCMk':_0x2f37f6(0x16e),'hajhm':_0x2f37f6(0x138),'hgfgv':function(_0x862a90,_0x33be4e,_0x1affab){return _0x862a90(_0x33be4e,_0x1affab);},'sTdqO':_0x2f37f6(0x1fb),'sTIUE':_0x2f37f6(0x234),'cnLiL':_0x2f37f6(0xb3),'Mbpmb':function(_0x5bc073,_0x53934b,_0x3ccb62){return _0x5bc073(_0x53934b,_0x3ccb62);},'bDvmQ':'edit-scenario','JAncs':_0x2f37f6(0x224),'MhNLV':'exclude-scenario','kTeLx':'array','PCJCZ':_0x2f37f6(0x1a1),'jByLy':_0x2f37f6(0x215),'EwtuS':'skip-auth','OFYxD':_0x2f37f6(0x122),'QVKdU':'scope','YFuLW':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','mCOjG':'force','QqPty':_0x2f37f6(0x1a2),'fnkka':'opencode','GWTyG':_0x2f37f6(0xfd),'fONGl':'allow-insecure-localhost','RRjPJ':_0x2f37f6(0x10a),'tzhYC':_0x2f37f6(0x1f8),'fzzpf':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','OzNGa':_0x2f37f6(0x13b),'IEwRX':_0x2f37f6(0x1ed),'WvOQq':_0x2f37f6(0x1bc),'cvJoD':function(_0x89de68,_0x59ade7,_0xad892b){return _0x89de68(_0x59ade7,_0xad892b);},'soRZZ':_0x2f37f6(0x1ac),'rBcqP':function(_0x1a4be6,_0x28c0e3){return _0x1a4be6(_0x28c0e3);},'yzpac':_0x2f37f6(0x1fd),'FfFOH':_0x2f37f6(0x141),'AooOT':function(_0x4156ee,_0x31c5e3){return _0x4156ee+_0x31c5e3;},'qhBqN':_0x2f37f6(0x1a8),'foaeQ':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','NFRMO':_0x2f37f6(0x1a3),'KVxGM':_0x2f37f6(0x12e),'JoUDX':_0x2f37f6(0x18d),'cxWJL':_0x2f37f6(0x178),'BNywo':'skills','Svulv':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','bdgio':_0x2f37f6(0xa8),'WrZWU':'skip-chromium','Diwed':'url','dctTS':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','OOvHm':_0x2f37f6(0x18a),'yIBXq':'with-deps','Fwtyf':'token','GDutP':'API\x20token','HhBku':'Ranger\x20API\x20token','LLeHs':_0x2f37f6(0x100),'rkUau':_0x2f37f6(0x1f5),'qFHuL':'setup-ci','hxbqz':'project','awwRb':_0x2f37f6(0x167),'kvyug':_0x2f37f6(0x113),'vmXgX':'clean','lwNZr':'profile-name','KwJiz':_0x2f37f6(0x1e5),'pPkKV':_0x2f37f6(0xbb),'lQQra':function(_0x2bbd7e,_0x2c7989,_0xda993b){return _0x2bbd7e(_0x2c7989,_0xda993b);},'pQuzm':'profile\x20delete','JzSlM':_0x2f37f6(0x1ba),'WKVqu':_0x2f37f6(0x1e9),'qeWUS':function(_0x2baba9,_0xa76c6a,_0x404d28){return _0x2baba9(_0xa76c6a,_0x404d28);},'RcDPs':'safe-mode','VhKfd':_0x2f37f6(0x1d8),'RWEkY':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','xgZCJ':_0x2f37f6(0xb0),'hIFjD':function(_0x2c110a,_0x4b7158){return _0x2c110a||_0x4b7158;},'CVfLA':_0x2f37f6(0xe4),'LOtXB':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','LHsWa':'Skip\x20interactive\x20confirmation\x20prompts.','RLlUN':_0x2f37f6(0x172),'ncIMI':'get\x20<profile>\x20<key>','SJQdU':_0x2f37f6(0xae),'FraDW':_0x2f37f6(0x15a),'resFc':_0x2f37f6(0xf3),'dtqHd':_0x2f37f6(0x115),'NlStO':_0x2f37f6(0x1dc),'HPArb':_0x2f37f6(0x137),'yxjzO':'Update\x20authentication\x20for\x20an\x20existing\x20profile','NTSbd':_0x2f37f6(0xd0),'xykFi':_0x2f37f6(0x1e1),'FioKt':_0x2f37f6(0x194),'cxUmy':function(_0x23220a,_0x4213c7,_0x5e9ea9){return _0x23220a(_0x4213c7,_0x5e9ea9);},'WOujz':'update','AGivl':'feature','TBZkw':'Optional\x20feature\x20ID','LRrcE':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','CAppB':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','gKeyk':'Scenario\x20index\x20(1-based)','xBdYf':_0x2f37f6(0x144),'hWbav':'base-url','zVibz':_0x2f37f6(0x155),'kyezA':_0x2f37f6(0x107),'clBeg':_0x2f37f6(0x1ff),'QdqwE':_0x2f37f6(0x176),'aPTot':_0x2f37f6(0x200),'CkkHj':'partial','XluFA':'failed','cdemQ':_0x2f37f6(0xcd),'zltHF':'item','RKTQj':function(_0x92c2d8,_0x528e0f,_0x49ba01){return _0x92c2d8(_0x528e0f,_0x49ba01);},'VlPHB':'ranger\x20auth\x20encrypt','SJHaj':'encrypt\x20<profile>','hwmSP':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','GmMty':function(_0x53c736,_0xff2a01,_0x560c28){return _0x53c736(_0xff2a01,_0x560c28);},'FyrAj':'ranger\x20start','zerNt':_0x2f37f6(0x1cc),'ufsJz':_0x2f37f6(0x15d),'THPgX':'notes','rBSQK':_0x2f37f6(0x205),'ovtpa':'debug-outcome','WZVdO':'verified','QIrYA':_0x2f37f6(0x197),'XywDb':'env-name','cmbXW':function(_0x2533cc,_0xa91222,_0x30fcd5){return _0x2533cc(_0xa91222,_0x30fcd5);},'OjWIn':_0x2f37f6(0x220),'iSgQQ':_0x2f37f6(0xed),'OBatF':_0x2f37f6(0x19b),'QhAaw':_0x2f37f6(0x14c),'nfnPE':'Environment\x20name','HDxmv':_0x2f37f6(0x18e),'FPbri':_0x2f37f6(0x1c5),'ItUAl':function(_0x838d75,_0x29a6e6,_0x43e3ed){return _0x838d75(_0x29a6e6,_0x43e3ed);},'dmwHf':'ranger\x20config\x20list','UoWfL':'ranger\x20profile\x20config\x20list','WGlUu':'key','zCUqB':'Config\x20key\x20to\x20remove','vbLqr':_0x2f37f6(0x103),'LIKyE':_0x2f37f6(0xb1),'Vbarc':'ranger\x20profile\x20config\x20unset','UxHWj':_0x2f37f6(0xe7),'DDeOC':'set\x20<env>\x20<key>\x20<value>','FSaSp':'get\x20<env>\x20<key>','dQafN':_0x2f37f6(0x7e),'xrEuG':'env\x20list','uVowe':function(_0x1138ef,_0x4f90bb,_0x27fe21){return _0x1138ef(_0x4f90bb,_0x27fe21);},'pskBP':'ranger\x20env\x20update','QOpji':'env\x20update','bxqyV':function(_0x36d92e,_0x1a944b,_0x2ca09a){return _0x36d92e(_0x1a944b,_0x2ca09a);},'Khhoz':'ranger\x20feature\x20add-checklist-item','JajEL':'ranger\x20add-scenario','kcYYv':'feature\x20add-checklist-item','XNvLv':function(_0x265838,_0x303161,_0x3e70fb){return _0x265838(_0x303161,_0x3e70fb);},'kpAwV':_0x2f37f6(0x1fe),'mqFOr':'Feature\x20review\x20ID\x20to\x20restore','PHYeq':'ranger\x20feature\x20restore','TKXWg':'ranger\x20restore','wvENS':'feature\x20restore','jVcAs':_0x2f37f6(0x1f2),'xaxMB':_0x2f37f6(0x169),'qYwOv':_0x2f37f6(0xce),'pVJjT':_0x2f37f6(0xac),'qBRDD':'ranger\x20feature\x20delete','REHmv':'create\x20<name>','GTHlr':_0x2f37f6(0x203),'kmINi':_0x2f37f6(0x1bf),'JKhOc':_0x2f37f6(0xf6),'cDPHD':'hook:disable','tSATm':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','kULaH':'enable','hGSoy':_0x2f37f6(0xc3),'vASQO':_0x2f37f6(0x211),'MGIfZ':function(_0x2ec7f1,_0x3b5297,_0x3b6129){return _0x2ec7f1(_0x3b5297,_0x3b6129);},'CDqJU':_0x2f37f6(0x133),'QnLtt':function(_0x469894){return _0x469894();},'NVxqZ':'Unknown\x20error','yogTS':_0x2f37f6(0xd1),'eGdFl':_0x2f37f6(0x11c),'Zqodc':'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','AiVws':_0x2f37f6(0x190),'qRgnU':_0x2f37f6(0xfc),'iiRtJ':'get-review\x20[id]','PHscZ':'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','lBrEg':_0x2f37f6(0xa4),'SyRia':_0x2f37f6(0x14b),'tIsxa':'login','uYsxP':'Install\x20Ranger\x20skills','OxnRf':'profiles','yfIGC':'Manage\x20profiles','pszxA':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','XoglH':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','dsbnE':_0x2f37f6(0x198),'Yzigl':'Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','lEzSr':_0x2f37f6(0x132),'ocnCt':'verify-feature','YsaQk':_0x2f37f6(0x116),'GGSqC':'You\x20must\x20specify\x20a\x20command'};return _0x15aa66[_0x2f37f6(0x76)](_0x1d7021,_0x25408e??process[_0x2f37f6(0x1cb)]['slice'](0x2))['scriptName'](_0x2f37f6(0x152))[_0x2f37f6(0x91)](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command'](_0x15aa66['REHmv'],_0x15aa66['yogTS'],_0x5bba71=>{const _0x51abc4=_0x2f37f6;return _0x5bba71[_0x51abc4(0x88)](_0x15aa66['VPywp'],{'type':_0x51abc4(0x166),'description':_0x15aa66['AQNfC'],'demandOption':!![]})[_0x51abc4(0x19f)](_0x51abc4(0x16e),{'type':_0x51abc4(0x166),'alias':'d','description':_0x51abc4(0x17f)})['option']('scenario',{'type':_0x51abc4(0x124),'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option'](_0x51abc4(0x1e6),{'type':_0x51abc4(0x124),'hidden':!![]});},async _0x541e22=>{const _0x1ee45f=_0x2f37f6;if(!_0x541e22['name']){console['error'](_0x15aa66['aftae']('Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a',_0x1ee45f(0x126))),process[_0x1ee45f(0x1ee)](0x1);return;}_0x15aa66[_0x1ee45f(0x109)](warnFlagRenamed,'ranger\x20create',_0x1ee45f(0x169),_0x15aa66['bPyya']);const _0x29356d=_0x541e22['scenario']||_0x541e22[_0x1ee45f(0x1e6)];await _0x15aa66['ftOnE'](withTelemetry,_0x15aa66[_0x1ee45f(0x1eb)],()=>featureCreate(_0x541e22['name'],{'description':_0x541e22[_0x1ee45f(0x16e)],'scenarios':_0x29356d}));})[_0x2f37f6(0x207)](_0x15aa66[_0x2f37f6(0x160)],_0x15aa66[_0x2f37f6(0x1d1)],_0x21436b=>{const _0x44c644=_0x2f37f6;return _0x21436b['option']('current-branch',{'type':'boolean','description':_0x15aa66['mrkWL']})['option'](_0x15aa66[_0x44c644(0xc2)],{'type':_0x15aa66[_0x44c644(0x1ea)],'alias':'l','description':_0x15aa66[_0x44c644(0x8a)],'default':0xa})['option']('offset',{'type':_0x15aa66[_0x44c644(0x1ea)],'alias':'o','description':_0x44c644(0xef),'default':0x0})[_0x44c644(0x19f)](_0x15aa66[_0x44c644(0x21c)],{'type':_0x15aa66[_0x44c644(0x1cf)],'alias':'d','description':_0x15aa66['pyDRB'],'default':![]});},async _0x361e0e=>{const _0x1be084=_0x2f37f6;await _0x15aa66['ftOnE'](withTelemetry,_0x15aa66[_0x1be084(0x160)],()=>featureList({'currentBranch':_0x361e0e[_0x1be084(0x212)],'limit':_0x361e0e[_0x1be084(0xd2)],'offset':_0x361e0e[_0x1be084(0x13c)],'includeDeleted':_0x361e0e[_0x1be084(0xa6)]}));})[_0x2f37f6(0x207)](_0x2f37f6(0x203),_0x15aa66[_0x2f37f6(0x199)],_0x3636b7=>{const _0x363315=_0x2f37f6;return _0x3636b7['positional']('id',{'type':_0x15aa66[_0x363315(0x21f)],'description':'Feature\x20review\x20ID'});},async _0x84aea0=>{await withTelemetry(_0x15aa66['EyndM'],()=>featureShow(_0x84aea0['id']));})['command'](_0x15aa66['kmINi'],_0x2f37f6(0x228),_0x508389=>{return _0x508389['positional']('id',{'type':'string','description':_0x15aa66['VKOCE']});},async _0x2b926f=>{await _0x15aa66['rUsHv'](withTelemetry,'resume',()=>featureResume(_0x2b926f['id']));})['command'](_0x15aa66[_0x2f37f6(0x8e)],_0x2f37f6(0x19a),_0x3deae5=>{const _0x1cefd0=_0x2f37f6;return _0x3deae5[_0x1cefd0(0x88)](_0x15aa66['FbCMk'],{'type':'string','description':_0x15aa66['hajhm'],'demandOption':!![]})['option']('id',{'type':'string','description':_0x1cefd0(0xb3)});},async _0x3309ed=>{const _0x52b3fa=_0x2f37f6;await _0x15aa66['hgfgv'](withTelemetry,_0x52b3fa(0x170),()=>featureAddScenario(_0x3309ed[_0x52b3fa(0x16e)],_0x3309ed['id']));})[_0x2f37f6(0x207)](_0x2f37f6(0xf1),_0x15aa66[_0x2f37f6(0x134)],_0x1cde5e=>{const _0x4fcf9d=_0x2f37f6;return _0x1cde5e['positional'](_0x15aa66['FbCMk'],{'type':'string','description':'New\x20scenario\x20description','demandOption':!![]})['option'](_0x15aa66['sTdqO'],{'type':_0x4fcf9d(0x213),'description':_0x15aa66['sTIUE'],'demandOption':!![]})[_0x4fcf9d(0x19f)]('id',{'type':'string','description':_0x15aa66[_0x4fcf9d(0x1c8)]});},async _0x3f55ee=>{const _0xe47d7b=_0x2f37f6;await _0x15aa66['Mbpmb'](withTelemetry,_0x15aa66['bDvmQ'],()=>featureEditScenario(_0x3f55ee[_0xe47d7b(0x16e)],{'id':_0x3f55ee['id'],'scenario':_0x3f55ee[_0xe47d7b(0x1fb)]}));})[_0x2f37f6(0x207)]('report\x20[id]','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0xd10b39=>{const _0x34361b=_0x2f37f6;return _0xd10b39['positional']('id',{'type':_0x34361b(0x166),'description':_0x15aa66['JAncs']})[_0x34361b(0x19f)](_0x15aa66[_0x34361b(0x143)],{'type':_0x15aa66[_0x34361b(0x21a)],'description':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'})['option'](_0x34361b(0x185),{'type':'boolean','description':_0x34361b(0x191),'default':![]});},async _0x38c92e=>{const _0x436298=_0x2f37f6,_0x337ac7=_0x38c92e[_0x15aa66[_0x436298(0x143)]],_0x74f317=_0x337ac7?_0x337ac7['map'](_0x4dba45=>Number(_0x4dba45)):undefined;await withTelemetry(_0x436298(0x21e),()=>featureReportPrDescription(_0x38c92e['id'],{'excludeScenarios':_0x74f317,'json':_0x38c92e['json']}));})[_0x2f37f6(0x207)](_0x15aa66['iiRtJ'],_0x15aa66['PHscZ'],_0x1c95b8=>{const _0x1863cb=_0x2f37f6;return _0x1c95b8['positional']('id',{'type':_0x15aa66['trFHA'],'description':_0x1863cb(0xb3)});},async _0x3e1b42=>{const _0x2223b3=_0x2f37f6;await _0x15aa66[_0x2223b3(0x1f1)](withTelemetry,_0x2223b3(0x86),()=>featureGetReview(_0x3e1b42['id']));})['command'](_0x15aa66[_0x2f37f6(0x20c)],_0x2f37f6(0xf5),_0x17237b=>{const _0x5c2fba=_0x2f37f6;return _0x17237b['positional']('id',{'type':_0x5c2fba(0x166),'description':_0x15aa66['JAncs']});},async _0x44c66b=>{await withTelemetry('delete',()=>featureDelete(_0x44c66b['id']));})[_0x2f37f6(0x207)]('restore\x20<id>',_0x2f37f6(0xe5),_0x1fed0b=>{const _0x537d3f=_0x2f37f6;return _0x1fed0b['positional']('id',{'type':_0x15aa66['trFHA'],'description':_0x537d3f(0x1fc),'demandOption':!![]});},async _0x56a55c=>{const _0x678b06=_0x2f37f6;await withTelemetry(_0x15aa66[_0x678b06(0x182)],()=>featureRestore(_0x56a55c['id']));})['command']('setup\x20[tokenOrSubcommand]',_0x2f37f6(0x1cd),_0x3d98da=>{const _0x237a33=_0x2f37f6,_0x495e71={'ZXKXm':'mcp-bootstrap','TqyVA':'boolean','nYsVn':function(_0x4e1a3a){return _0x4e1a3a();},'DTZrD':function(_0x1da8d4,_0x57895e){const _0x19a5cb=_0x3142;return _0x15aa66[_0x19a5cb(0x76)](_0x1da8d4,_0x57895e);},'XRyVP':function(_0x234559,_0x535451,_0x12888a){return _0x234559(_0x535451,_0x12888a);},'uHwTa':'scope','ceYyI':_0x15aa66['trFHA'],'RulEw':_0x15aa66[_0x237a33(0x159)],'goWPW':'Install\x20scope\x20for\x20plugin\x20and\x20skills','teJuE':_0x15aa66['fnkka'],'bgUJg':_0x15aa66['GWTyG'],'LZYxJ':'setup:skills','wQBRA':'url','WHrZs':_0x15aa66[_0x237a33(0xf0)],'kaAaI':_0x15aa66['EwtuS'],'ypkTj':_0x15aa66['mCOjG'],'kRZrH':function(_0x233827,_0x1d29be){return _0x233827!==_0x1d29be;},'qcuXn':function(_0x2c8d8c,_0x20728c){return _0x15aa66['AooOT'](_0x2c8d8c,_0x20728c);},'UduAu':_0x15aa66['qhBqN']};return _0x3d98da[_0x237a33(0x91)]('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')[_0x237a33(0x88)](_0x237a33(0x1c6),{'type':_0x15aa66['trFHA'],'description':_0x15aa66[_0x237a33(0x1c4)]})['command'](_0x15aa66['NFRMO'],'Run\x20full\x20interactive\x20setup',_0x3fd6e0=>{const _0x4ef760=_0x237a33;return _0x3fd6e0['option'](_0x4ef760(0x18f),{'type':_0x15aa66['trFHA'],'description':_0x4ef760(0x17e)})[_0x4ef760(0x19f)]('skip-chromium',{'type':_0x15aa66['QLquY'],'description':_0x15aa66['jByLy'],'default':![]})[_0x4ef760(0x19f)](_0x15aa66['EwtuS'],{'type':'boolean','description':_0x4ef760(0x184),'default':![]})[_0x4ef760(0x19f)](_0x4ef760(0x112),{'type':_0x15aa66['QLquY'],'description':_0x15aa66[_0x4ef760(0x189)],'default':![]})[_0x4ef760(0x19f)](_0x15aa66['QVKdU'],{'type':_0x15aa66['trFHA'],'choices':['user'],'hidden':!![],'description':_0x4ef760(0xe3)})['option'](_0x4ef760(0x1e8),{'type':_0x15aa66['trFHA'],'description':_0x15aa66['YFuLW']})[_0x4ef760(0x19f)](_0x15aa66['mCOjG'],{'type':_0x15aa66[_0x4ef760(0x1cf)],'description':_0x15aa66['QqPty'],'default':![]})[_0x4ef760(0x19f)](_0x15aa66[_0x4ef760(0x177)],{'type':'boolean','description':_0x15aa66['GWTyG'],'default':![]})['option'](_0x15aa66[_0x4ef760(0xdd)],{'type':_0x4ef760(0x1bb),'description':_0x15aa66['RRjPJ'],'default':![]})['option'](_0x15aa66[_0x4ef760(0x175)],{'type':'boolean','description':_0x15aa66['fzzpf'],'default':![]})[_0x4ef760(0x19f)](_0x15aa66[_0x4ef760(0x9a)],{'type':_0x15aa66['QLquY'],'description':_0x15aa66['IEwRX'],'default':![]});},async _0x8a0296=>{const _0x392485=_0x237a33;(_0x8a0296[_0x495e71[_0x392485(0x1e3)]]||_0x8a0296['mcp'])&&await withTelemetry(_0x392485(0x1f8),()=>mcpBootstrap()),await withTelemetry('setup:all',_0x5cf167=>start(_0x8a0296['token'],{'skipChromium':_0x8a0296['skip-chromium'],'skipAuth':_0x8a0296['skip-auth'],'withDeps':_0x8a0296[_0x392485(0x112)],'scope':_0x8a0296['scope'],'url':_0x8a0296['url'],'force':_0x8a0296[_0x392485(0x202)],'opencode':_0x8a0296['opencode'],'allowInsecureLocalhost':_0x8a0296['allow-insecure-localhost']},_0x5cf167));})['command'](_0x15aa66[_0x237a33(0x161)],_0x15aa66[_0x237a33(0xaa)],_0x454de0=>{const _0x203916=_0x237a33;return _0x454de0['option']('with-deps',{'type':_0x203916(0x1bb),'description':_0x15aa66['WvOQq'],'default':![]});},async _0x3502fb=>{const _0x47a0de=_0x237a33;await _0x15aa66[_0x47a0de(0xdc)](withTelemetry,_0x15aa66[_0x47a0de(0xb8)],()=>ensureChromium(_0x3502fb[_0x47a0de(0x112)]));})['command'](_0x237a33(0xe2),_0x15aa66[_0x237a33(0x1e7)],_0x3c215b=>{const _0x201db5=_0x237a33;return _0x3c215b[_0x201db5(0x19f)](_0x201db5(0x18f),{'type':_0x201db5(0x166),'description':_0x201db5(0x153)})[_0x201db5(0x19f)](_0x201db5(0x13b),{'type':_0x495e71[_0x201db5(0x120)],'description':_0x201db5(0xc8),'default':![]});},async _0x4be8b0=>{const _0x212412=_0x237a33,_0x10e027={'dQqmI':function(_0x4e181e){const _0x56b80f=_0x3142;return _0x495e71[_0x56b80f(0x232)](_0x4e181e);},'ipYNg':function(_0x4299b1,_0x22665b){return _0x495e71['DTZrD'](_0x4299b1,_0x22665b);}};await _0x495e71[_0x212412(0xc4)](withTelemetry,_0x212412(0xd8),async()=>{const _0x280709=_0x212412;if(_0x4be8b0['mcp']){await mcpBootstrap();const _0x19eb80=await _0x10e027['dQqmI'](refreshCliToken);if(!_0x19eb80)throw new Error(_0x280709(0x179));const _0x3c8fae=await getCurrentUser(_0x19eb80);if(!_0x3c8fae[_0x280709(0x157)])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x3c8fae['error']);console[_0x280709(0x1d9)]('✓\x20Authenticated\x20to\x20'+_0x3c8fae[_0x280709(0x1fd)][_0x280709(0x146)]);return;}await _0x10e027['ipYNg'](authenticate,_0x4be8b0[_0x280709(0x18f)]);});})['command'](_0x15aa66[_0x237a33(0x236)],_0x15aa66[_0x237a33(0xf9)],_0x121488=>{const _0x5e0c13=_0x237a33;return _0x121488['option'](_0x495e71['uHwTa'],{'type':_0x495e71[_0x5e0c13(0x1aa)],'choices':[_0x495e71['RulEw'],'project'],'description':_0x495e71['goWPW']})[_0x5e0c13(0x19f)](_0x495e71['teJuE'],{'type':_0x5e0c13(0x1bb),'description':_0x495e71['bgUJg'],'default':![]});},async _0x1c1d58=>{const _0x28911c=_0x237a33,_0x4ff886={'MBHPs':function(_0x2a8f88,_0x5e9746){return _0x2a8f88(_0x5e9746);},'YTxnV':function(_0xff2333,_0x3e3e12,_0x4d313d){return _0xff2333(_0x3e3e12,_0x4d313d);},'VnFBz':function(_0x32b137,_0x542703){return _0x32b137(_0x542703);}};await _0x495e71[_0x28911c(0xc4)](withTelemetry,_0x495e71[_0x28911c(0x101)],async()=>{const _0x6c3c9f=_0x28911c,_0x2c3a20=_0x1c1d58[_0x6c3c9f(0x8b)];if(_0x1c1d58['opencode']){const _0x44c5e1=await _0x4ff886[_0x6c3c9f(0x10d)](ensureOpencodePluginConfig,_0x2c3a20);_0x44c5e1&&await _0x4ff886[_0x6c3c9f(0x17d)](installSkill,'ranger',{'level':_0x44c5e1[_0x6c3c9f(0x8b)],'cliVersion':getCurrentVersion(),'platform':'opencode'});}else await _0x4ff886[_0x6c3c9f(0x1de)](ensureClaudePlugin,_0x2c3a20),await ensureClaudeSkills(_0x2c3a20);});})['command'](_0x237a33(0x92),_0x15aa66['bdgio'],_0x328274=>{const _0x4e064e=_0x237a33;return _0x328274['option']('scope',{'type':_0x495e71[_0x4e064e(0x1aa)],'choices':[_0x495e71[_0x4e064e(0x1c2)]],'description':_0x4e064e(0xe3)})[_0x4e064e(0x19f)](_0x495e71[_0x4e064e(0xa3)],{'type':_0x495e71['ceYyI'],'description':_0x495e71[_0x4e064e(0x7c)]})['option'](_0x495e71['kaAaI'],{'type':_0x495e71[_0x4e064e(0x120)],'description':_0x4e064e(0xbf),'default':![]})['option'](_0x495e71[_0x4e064e(0x1c1)],{'type':_0x4e064e(0x1bb),'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x4e064e(0x1b9),{'type':_0x495e71['TqyVA'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x2f7a78=>{const _0x17ff5d=_0x237a33,_0x404d57=_0x2f7a78['scope'];_0x404d57!==undefined&&_0x495e71['kRZrH'](_0x404d57,'user')&&(console[_0x17ff5d(0x154)](_0x495e71[_0x17ff5d(0xbe)]('ranger\x20setup\x20profiles\x20--scope='+_0x404d57+_0x17ff5d(0x1ca)+_0x17ff5d(0x1d4),_0x17ff5d(0x16b))),process['exit'](0x1)),await withTelemetry(_0x495e71[_0x17ff5d(0x150)],_0x3ac5a7=>ensureLocalEnv({'url':_0x2f7a78['url'],'force':_0x2f7a78[_0x17ff5d(0x202)],'allowInsecureLocalhost':_0x2f7a78['allow-insecure-localhost'],'scope':'user'},_0x3ac5a7));})[_0x237a33(0x19f)](_0x15aa66['WrZWU'],{'type':_0x237a33(0x1bb),'description':_0x237a33(0x215),'default':![]})[_0x237a33(0x19f)]('scope',{'type':_0x237a33(0x166),'choices':[_0x15aa66[_0x237a33(0x159)]],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x15aa66[_0x237a33(0x1c0)],{'type':_0x237a33(0x166),'description':_0x237a33(0x163)})['option'](_0x15aa66[_0x237a33(0x1d5)],{'type':'boolean','description':_0x15aa66['QqPty'],'default':![]})[_0x237a33(0x19f)](_0x15aa66[_0x237a33(0x177)],{'type':'boolean','description':_0x15aa66[_0x237a33(0xa9)],'default':![]})['option']('allow-insecure-localhost',{'type':_0x15aa66['QLquY'],'description':_0x15aa66['dctTS'],'default':![]})[_0x237a33(0x19f)](_0x237a33(0x1f8),{'type':'boolean','description':_0x15aa66['OOvHm'],'default':![]})['option'](_0x15aa66[_0x237a33(0x1fa)],{'type':_0x15aa66[_0x237a33(0x1cf)],'description':_0x237a33(0x87),'default':![]})[_0x237a33(0x19f)](_0x15aa66[_0x237a33(0x8c)],{'type':'boolean','description':_0x237a33(0x1bc),'default':![]})[_0x237a33(0x19f)](_0x15aa66['Fwtyf'],{'type':_0x15aa66['trFHA'],'hidden':!![],'description':_0x15aa66[_0x237a33(0x19e)]});},async _0x5df15e=>{const _0x26cfdf=_0x2f37f6,_0xebafdc=_0x5df15e[_0x26cfdf(0x1c6)],_0x182912=_0x5df15e['token']??_0xebafdc;_0x5df15e['mcp-bootstrap']&&await withTelemetry(_0x26cfdf(0x1f8),()=>mcpBootstrap()),await withTelemetry(_0x26cfdf(0x9f),_0x29a947=>start(_0x182912,{'skipChromium':_0x5df15e['skip-chromium'],'skipAuth':_0x5df15e[_0x26cfdf(0x74)],'withDeps':_0x5df15e['with-deps'],'scope':_0x5df15e['scope'],'url':_0x5df15e['url'],'force':_0x5df15e[_0x26cfdf(0x202)],'opencode':_0x5df15e['opencode'],'allowInsecureLocalhost':_0x5df15e['allow-insecure-localhost']},_0x29a947));})['command'](_0x15aa66[_0x2f37f6(0x1af)],![],_0x4900d3=>{const _0x342042=_0x2f37f6;return _0x4900d3['positional']('token',{'type':_0x15aa66[_0x342042(0x21f)],'description':_0x15aa66['HhBku'],'demandOption':!![]})['option'](_0x15aa66[_0x342042(0xb5)],{'type':_0x342042(0x166),'description':_0x342042(0xa1)})['option'](_0x342042(0x10f),{'type':_0x15aa66[_0x342042(0x21f)],'description':_0x15aa66['rkUau']})['option'](_0x15aa66['WrZWU'],{'type':_0x15aa66['QLquY'],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x75936b=>{const _0x174298=_0x2f37f6;await _0x15aa66[_0x174298(0x14d)](withTelemetry,_0x15aa66['qFHuL'],_0x32d255=>setupCi(_0x75936b['token'],{'profile':_0x75936b['profile'],'baseUrl':_0x75936b['base-url'],'skipChromium':_0x75936b[_0x174298(0x96)]},_0x32d255));})['command'](_0x15aa66['tIsxa'],_0x2f37f6(0xd4),()=>{},async()=>{const _0x3f66e1=_0x2f37f6;await withTelemetry(_0x3f66e1(0xe2),()=>login());})['command']('skillup',_0x15aa66['uYsxP'],_0x5346c9=>{const _0x150fcf=_0x2f37f6;return _0x5346c9['option'](_0x15aa66['fnkka'],{'type':'boolean','description':_0x150fcf(0x94),'default':![]})[_0x150fcf(0x19f)](_0x15aa66['QVKdU'],{'type':_0x15aa66[_0x150fcf(0x21f)],'choices':[_0x150fcf(0x1fd),_0x15aa66['hxbqz']],'description':_0x15aa66[_0x150fcf(0xde)]});},async _0x1dc455=>{const _0x338b3c=_0x2f37f6,_0x460033=_0x15aa66['rBcqP'](Boolean,_0x1dc455['opencode']);await withTelemetry(_0x15aa66['kvyug'],()=>skillup({'autoInstall':_0x1dc455[_0x338b3c(0x8b)],'platform':_0x460033?_0x338b3c(0x214):_0x338b3c(0x231)}));})[_0x2f37f6(0x207)](_0x2f37f6(0xb2),'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{const _0x59852f=_0x2f37f6;await withTelemetry(_0x15aa66[_0x59852f(0x81)],()=>clean());})['command'](['profile',_0x15aa66[_0x2f37f6(0x1ce)]],_0x15aa66['yfIGC'],_0x38ab34=>{const _0x2f5035=_0x2f37f6,_0x58fd17={'BNTsP':_0x15aa66['trFHA'],'GmzyG':_0x2f5035(0x1bb),'fVaMr':'force','XoSIg':_0x2f5035(0x1b9),'TowNz':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','mbrHD':_0x15aa66[_0x2f5035(0x90)],'AhfPF':_0x15aa66[_0x2f5035(0x22c)],'Fcaqe':_0x15aa66['RWEkY'],'SXveX':'user','OHMgG':_0x2f5035(0xf7),'mVqIt':_0x15aa66['KwJiz'],'daBNg':'profile\x20add','aAMBE':_0x15aa66['lwNZr'],'DDCxa':function(_0x5ab171,_0xa6ed5a,_0x5cbca3){return _0x15aa66['Mbpmb'](_0x5ab171,_0xa6ed5a,_0x5cbca3);},'JTLlT':_0x15aa66[_0x2f5035(0x79)],'yHEYE':function(_0x488bf0,_0x4f4b80){const _0x2b5d7f=_0x2f5035;return _0x15aa66[_0x2b5d7f(0x1db)](_0x488bf0,_0x4f4b80);},'rYULy':'No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','GXUiL':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','bJFxW':_0x2f5035(0x10c),'mUXrj':_0x15aa66[_0x2f5035(0x13e)],'jokqw':_0x15aa66[_0x2f5035(0x131)],'RsWsF':_0x15aa66[_0x2f5035(0x80)],'GLcjK':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','Bwvsg':_0x15aa66['RLlUN'],'RgaRG':_0x2f5035(0x1f4),'hdZdQ':_0x2f5035(0x100),'qrpSM':_0x2f5035(0x128),'Bhjmd':_0x2f5035(0xe9),'GWQvn':_0x15aa66['ncIMI'],'WAdGz':'unset\x20<profile>\x20<key>','htQfX':_0x2f5035(0x145)};return _0x38ab34[_0x2f5035(0x91)](PROFILE_HELP)[_0x2f5035(0x207)](_0x15aa66[_0x2f5035(0x18c)],_0x15aa66[_0x2f5035(0x20d)],_0x14b374=>{const _0x4cecae=_0x2f5035;return _0x14b374['positional']('profile-name',{'type':_0x58fd17[_0x4cecae(0xb4)],'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x58fd17['GmzyG'],'hidden':!![],'default':![]})['option']('skip-auth',{'type':'boolean','description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})['option']('url',{'type':'string','description':_0x4cecae(0x1ef)})[_0x4cecae(0x19f)](_0x58fd17[_0x4cecae(0xff)],{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x4cecae(0x11a),{'type':_0x58fd17['BNTsP'],'description':_0x4cecae(0x142)})[_0x4cecae(0x19f)](_0x58fd17['XoSIg'],{'type':_0x58fd17[_0x4cecae(0x139)],'description':_0x58fd17['TowNz'],'default':![]})[_0x4cecae(0x19f)](_0x58fd17['mbrHD'],{'type':_0x58fd17['GmzyG'],'description':_0x58fd17['AhfPF'],'default':![]})[_0x4cecae(0x19f)](_0x4cecae(0x225),{'type':_0x4cecae(0x166),'array':!![],'description':_0x58fd17['Fcaqe']})['option']('scope',{'type':_0x58fd17[_0x4cecae(0xb4)],'choices':[_0x58fd17['SXveX'],_0x58fd17[_0x4cecae(0x1a4)]],'description':_0x4cecae(0xc0)})[_0x4cecae(0x19f)](_0x58fd17[_0x4cecae(0x12b)],{'type':'boolean','alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','default':![]});},async _0x4d40af=>{const _0x1ce53c=_0x2f5035;await withTelemetry(_0x58fd17['daBNg'],_0x445f42=>addEnv(_0x4d40af[_0x1ce53c(0xa0)],{'ci':_0x4d40af['ci'],'skipAuth':_0x4d40af[_0x1ce53c(0x74)],'url':_0x4d40af['url'],'force':_0x4d40af[_0x1ce53c(0x202)],'cdpEndpoint':_0x4d40af['cdp-endpoint'],'allowInsecureLocalhost':_0x4d40af[_0x1ce53c(0x1b9)],'safeMode':_0x4d40af['safe-mode'],'setupHeader':_0x4d40af[_0x1ce53c(0x225)],'scope':_0x4d40af['scope'],'yes':_0x4d40af[_0x1ce53c(0x1e5)]},_0x445f42),{'isElectron':Boolean(_0x4d40af[_0x1ce53c(0x11a)])});})[_0x2f5035(0x207)](_0x2f5035(0xea),_0x15aa66[_0x2f5035(0x20f)],_0x547834=>{const _0x238dda=_0x2f5035;return _0x547834[_0x238dda(0x88)](_0x15aa66[_0x238dda(0x22f)],{'type':_0x15aa66[_0x238dda(0x21f)],'description':'Name\x20of\x20the\x20profile','demandOption':!![]});},async _0x2a6011=>{const _0x38e5b0=_0x2f5035;await withTelemetry('profile\x20use',()=>useEnv(_0x2a6011[_0x38e5b0(0xa0)]));})['command'](_0x15aa66[_0x2f5035(0x16f)],'Delete\x20a\x20cloud\x20profile',_0x49d0ce=>{const _0x380e8c=_0x2f5035;return _0x49d0ce['positional'](_0x380e8c(0xa0),{'type':_0x15aa66[_0x380e8c(0x21f)],'description':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','demandOption':!![]})['option'](_0x15aa66[_0x380e8c(0x14e)],{'type':_0x15aa66[_0x380e8c(0x1cf)],'alias':'y','description':_0x15aa66['pPkKV'],'default':![]});},async _0x662213=>{const _0x164e93=_0x2f5035;await _0x15aa66['lQQra'](withTelemetry,_0x15aa66[_0x164e93(0x95)],()=>deleteProfile(_0x662213['profile-name'],{'yes':_0x662213[_0x164e93(0x1e5)]}));})[_0x2f5035(0x207)](_0x15aa66[_0x2f5035(0x9b)],![],_0x31b846=>{const _0x1e3a1d=_0x2f5035;return _0x31b846[_0x1e3a1d(0x88)]('profile',{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x1771c5=>{const _0x25e534=_0x2f5035;await _0x15aa66['Mbpmb'](withTelemetry,_0x15aa66[_0x25e534(0x217)],()=>authEncrypt(_0x1771c5['profile']));})[_0x2f5035(0x207)]('ls',_0x15aa66['HPArb'],()=>{},async()=>{await withTelemetry('profile\x20ls',()=>envList());})[_0x2f5035(0x207)](_0x2f5035(0x102),_0x15aa66[_0x2f5035(0x188)],_0x147393=>{const _0x2614c3=_0x2f5035;return _0x147393['positional'](_0x58fd17[_0x2614c3(0x136)],{'type':_0x58fd17[_0x2614c3(0xb4)],'description':_0x2614c3(0xbc),'demandOption':!![]})['option']('allow-insecure-localhost',{'type':_0x2614c3(0x1bb),'description':_0x2614c3(0x14a)});},async _0x804702=>{const _0x236d05=_0x2f5035;await _0x58fd17['DDCxa'](withTelemetry,_0x58fd17[_0x236d05(0xcc)],_0x52e4f0=>updateEnv(_0x804702[_0x236d05(0xa0)],_0x52e4f0,{'allowInsecureLocalhost':_0x804702[_0x236d05(0x1b9)]}));})[_0x2f5035(0x207)]('login\x20<name>',![],_0x5d55a6=>{const _0x1df3b5=_0x2f5035;return _0x5d55a6[_0x1df3b5(0x88)]('name',{'type':_0x15aa66['trFHA'],'description':_0x15aa66[_0x1df3b5(0x1d3)],'demandOption':!![]});},async _0x41e654=>{const _0xef153c=_0x2f5035;await _0x58fd17[_0xef153c(0x1b7)](withTelemetry,'profile\x20login',async()=>{const _0x26cf2b=_0xef153c,_0x5d2f30=process['env']['RANGER_TEST_USERNAME'],_0x4370af=process['env']['RANGER_TEST_PASSWORD'];_0x58fd17['yHEYE'](!_0x5d2f30,!_0x4370af)&&(console[_0x26cf2b(0x154)](_0x26cf2b(0xda)),process[_0x26cf2b(0x1ee)](0x1));const _0xc38c6a=_0x41e654[_0x26cf2b(0x223)],_0x336e01=await _0x58fd17['DDCxa'](serverSideLogin,_0xc38c6a,{'force':!![]});_0x336e01['status']===_0x26cf2b(0x149)&&(console['error'](_0x58fd17['rYULy']),process[_0x26cf2b(0x1ee)](0x1)),_0x336e01[_0x26cf2b(0x194)]==='failed'&&(console[_0x26cf2b(0x154)]('Login\x20failed:\x20'+(_0x336e01['error']??_0x26cf2b(0x230))),_0x336e01['test_output']&&console['error'](_0x336e01[_0x26cf2b(0x1ad)]),process[_0x26cf2b(0x1ee)](0x1)),console[_0x26cf2b(0x1d9)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0xc38c6a+_0x26cf2b(0xec));});})[_0x2f5035(0x207)]('migrate\x20[profile-name]',![],_0x21a1ec=>{const _0xbba9c3=_0x2f5035;return _0x21a1ec['positional']('profile-name',{'type':_0x58fd17['BNTsP'],'description':_0x58fd17['GXUiL']})[_0xbba9c3(0x19f)]('all',{'type':_0x58fd17[_0xbba9c3(0x139)],'description':_0x58fd17[_0xbba9c3(0x1c9)],'default':![]})[_0xbba9c3(0x19f)](_0x58fd17[_0xbba9c3(0x98)],{'type':'boolean','description':_0x58fd17[_0xbba9c3(0xad)],'default':![]})['option']('yes',{'type':'boolean','alias':'y','description':_0x58fd17['RsWsF'],'default':![]})['option'](_0xbba9c3(0x1b5),{'type':_0xbba9c3(0x1bb),'description':_0x58fd17[_0xbba9c3(0x201)],'default':![]});},async _0x2804f8=>{const _0x33ba59=_0x2f5035;await _0x15aa66['qeWUS'](withTelemetry,'profile\x20migrate',_0x58146c=>migrateProfile({'profileName':_0x2804f8['profile-name'],'all':_0x2804f8['all'],'dryRun':_0x2804f8[_0x33ba59(0xe4)],'yes':_0x2804f8['yes'],'saveCreds':_0x2804f8['save-creds']},_0x58146c));})[_0x2f5035(0x207)](_0x15aa66[_0x2f5035(0xab)],_0x2f5035(0x204),_0x9b74aa=>{const _0x90b369=_0x2f5035,_0x1edc07={'xiUsF':_0x58fd17[_0x90b369(0xb4)],'cIIyx':_0x58fd17['hdZdQ'],'UPhiy':_0x58fd17[_0x90b369(0xfe)],'MFbuu':_0x58fd17[_0x90b369(0xca)],'Pnlcs':_0x58fd17[_0x90b369(0x186)],'jgmFE':function(_0x3844c9,_0x51d4ae,_0xf5ea70){return _0x58fd17['DDCxa'](_0x3844c9,_0x51d4ae,_0xf5ea70);},'oNiki':function(_0x38800a,_0x40004c,_0x9389e7){return _0x38800a(_0x40004c,_0x9389e7);}};return _0x9b74aa[_0x90b369(0x91)](PROFILE_CONFIG_HELP)['command']('set\x20<profile>\x20<key>\x20<value>',_0x90b369(0xaf),_0x1deb22=>{const _0x2e0598=_0x90b369;return _0x1deb22[_0x2e0598(0x88)]('profile',{'type':_0x1edc07[_0x2e0598(0x1b1)],'description':_0x2e0598(0x172),'demandOption':!![]})[_0x2e0598(0x88)](_0x2e0598(0x128),{'type':_0x1edc07['xiUsF'],'description':_0x2e0598(0x110),'demandOption':!![]})[_0x2e0598(0x88)]('value',{'type':_0x1edc07[_0x2e0598(0x1b1)],'description':_0x2e0598(0x1c5),'demandOption':!![]});},async _0x2d6182=>{const _0x30bb18=_0x90b369;await _0x58fd17['DDCxa'](withTelemetry,'profile\x20config\x20set',()=>configSet(_0x2d6182['profile'],_0x2d6182[_0x30bb18(0x128)],_0x2d6182['value']));})['command'](_0x58fd17[_0x90b369(0x17c)],'Get\x20a\x20config\x20value',_0x5b6ac0=>{const _0x37b70f=_0x90b369;return _0x5b6ac0[_0x37b70f(0x88)](_0x1edc07['cIIyx'],{'type':'string','description':_0x1edc07[_0x37b70f(0x148)],'demandOption':!![]})[_0x37b70f(0x88)](_0x1edc07['MFbuu'],{'type':_0x1edc07['xiUsF'],'description':_0x1edc07['Pnlcs'],'demandOption':!![]});},async _0x1da32a=>{const _0x4dd428=_0x90b369;await _0x1edc07[_0x4dd428(0x168)](withTelemetry,'profile\x20config\x20get',()=>configGet(_0x1da32a['profile'],_0x1da32a[_0x4dd428(0x128)]));})[_0x90b369(0x207)](_0x90b369(0x11f),'List\x20all\x20config\x20for\x20a\x20profile',_0xd44e7c=>{const _0x4e009a=_0x90b369;return _0xd44e7c[_0x4e009a(0x88)](_0x4e009a(0x100),{'type':'string','description':_0x58fd17[_0x4e009a(0xfe)],'demandOption':!![]});},async _0x3ea88b=>{const _0x438264=_0x90b369;await withTelemetry(_0x58fd17['RgaRG'],()=>configList(_0x3ea88b[_0x438264(0x100)]));})[_0x90b369(0x207)](_0x58fd17[_0x90b369(0x106)],_0x90b369(0x123),_0x399234=>{const _0x14c951=_0x90b369;return _0x399234[_0x14c951(0x88)](_0x14c951(0x100),{'type':_0x58fd17[_0x14c951(0xb4)],'description':_0x14c951(0x172),'demandOption':!![]})[_0x14c951(0x88)](_0x14c951(0x128),{'type':_0x14c951(0x166),'description':_0x14c951(0x108),'demandOption':!![]});},async _0x10a383=>{const _0x4e6db2=_0x90b369;await _0x1edc07['oNiki'](withTelemetry,_0x4e6db2(0x1b2),()=>configUnset(_0x10a383['profile'],_0x10a383['key']));})[_0x90b369(0x207)](_0x90b369(0x1be),_0x58fd17[_0x90b369(0x11e)],_0x2eb020=>{return _0x2eb020['positional'](_0x1edc07['cIIyx'],{'type':_0x1edc07['xiUsF'],'description':_0x1edc07['UPhiy'],'demandOption':!![]});},async _0x1d1678=>{const _0x82cccf=_0x90b369;await withTelemetry(_0x82cccf(0x22d),()=>configReset(_0x1d1678['profile']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})[_0x2f5035(0x1f3)](0x1,_0x15aa66[_0x2f5035(0x125)]);})[_0x2f37f6(0x207)]('status',_0x15aa66[_0x2f37f6(0xe0)],()=>{},async()=>{await withTelemetry(_0x15aa66['FioKt'],()=>status());})['command'](_0x2f37f6(0x83),_0x15aa66['XoglH'],()=>{},async()=>{const _0x4dcc34=_0x2f37f6;await _0x15aa66[_0x4dcc34(0x14f)](withTelemetry,_0x15aa66[_0x4dcc34(0x89)],()=>update());})[_0x2f37f6(0x207)]('print-access-token',_0x15aa66['dsbnE'],()=>{},async()=>{const _0x31364e=_0x2f37f6;await withTelemetry(_0x31364e(0xd5),async()=>{const _0x1780fb=_0x31364e,_0x3d7a2e=await getToken();if(!_0x3d7a2e)throw new Error(_0x1780fb(0x13d));console[_0x1780fb(0x1d9)](_0x3d7a2e);});})[_0x2f37f6(0x207)]('go',_0x15aa66[_0x2f37f6(0x1b3)],_0x42f81a=>{const _0x48f8d3=_0x2f37f6;return _0x42f81a[_0x48f8d3(0x19f)](_0x15aa66[_0x48f8d3(0x20a)],{'type':_0x15aa66[_0x48f8d3(0x21f)],'description':_0x15aa66[_0x48f8d3(0xcf)]})['option'](_0x48f8d3(0x100),{'type':'string','description':_0x15aa66['LRrcE']})['option']('notes',{'type':_0x15aa66['trFHA'],'description':_0x15aa66[_0x48f8d3(0x192)]})[_0x48f8d3(0x19f)]('scenario',{'type':'number','description':_0x15aa66['gKeyk']})[_0x48f8d3(0x19f)]('start-path',{'type':'string','description':_0x15aa66[_0x48f8d3(0x1ae)]})['option'](_0x15aa66[_0x48f8d3(0x140)],{'type':_0x48f8d3(0x166),'description':_0x15aa66['zVibz']})['option'](_0x15aa66[_0x48f8d3(0x82)],{'type':_0x15aa66['trFHA'],'description':_0x15aa66['clBeg']})[_0x48f8d3(0x19f)](_0x15aa66['QdqwE'],{'type':_0x48f8d3(0x1bb),'description':_0x15aa66[_0x48f8d3(0xdb)],'default':![]})['option']('debug-outcome',{'type':_0x15aa66[_0x48f8d3(0x21f)],'hidden':!![],'choices':['verified',_0x15aa66[_0x48f8d3(0x15f)],_0x48f8d3(0x197),_0x15aa66['XluFA'],_0x15aa66['cdemQ']]})[_0x48f8d3(0x19f)](_0x48f8d3(0x1a6),{'type':_0x48f8d3(0x1bb),'hidden':!![]})['option'](_0x48f8d3(0x14c),{'type':'string','hidden':!![]})['option'](_0x48f8d3(0x15d),{'type':_0x48f8d3(0x166),'hidden':!![]})['option'](_0x15aa66[_0x48f8d3(0x9d)],{'type':'number','hidden':!![]});},async _0x1884c8=>{await _0x15aa66['rBcqP'](runGoCommand,_0x1884c8);})['command']('auth',![],_0x10bacb=>{const _0x25ef97=_0x2f37f6,_0x11394b={'bljWA':function(_0x5bd9e1,_0x417224,_0x323694){const _0x267927=_0x3142;return _0x15aa66[_0x267927(0x1a5)](_0x5bd9e1,_0x417224,_0x323694);},'Jtupb':_0x15aa66[_0x25ef97(0x16c)],'uZxQC':function(_0x558ebe,_0xd6dc1){return _0x558ebe(_0xd6dc1);}};return _0x10bacb[_0x25ef97(0x207)](_0x15aa66['SJHaj'],![],_0x1d40ac=>{const _0x33dfc0=_0x25ef97;return _0x1d40ac['positional'](_0x33dfc0(0x100),{'type':_0x33dfc0(0x166),'description':_0x15aa66[_0x33dfc0(0x1f0)],'demandOption':!![]});},async _0x23c13b=>{const _0x440154=_0x25ef97;_0x11394b[_0x440154(0x237)](warnRenamed,_0x11394b[_0x440154(0x111)],'ranger\x20profile\x20encrypt-auth'),await _0x11394b['uZxQC'](authEncrypt,_0x23c13b['profile']);})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command'](_0x15aa66[_0x2f37f6(0x221)],![],_0x185e01=>{const _0x1aa85b=_0x2f37f6;return _0x185e01['positional'](_0x15aa66[_0x1aa85b(0x22b)],{'type':'string','description':_0x15aa66['hwmSP']})['option'](_0x1aa85b(0x96),{'type':_0x1aa85b(0x1bb),'description':_0x15aa66[_0x1aa85b(0x7b)],'default':![]})['option'](_0x1aa85b(0x8b),{'type':'string','choices':['user'],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option']('url',{'type':_0x1aa85b(0x166),'description':_0x1aa85b(0x163)})['option'](_0x15aa66[_0x1aa85b(0x1d5)],{'type':'boolean','description':_0x1aa85b(0x1a2),'default':![]})[_0x1aa85b(0x19f)](_0x15aa66[_0x1aa85b(0x1fa)],{'type':'boolean','description':_0x1aa85b(0x184),'default':![]})['option']('with-deps',{'type':_0x1aa85b(0x1bb),'description':_0x15aa66['OFYxD'],'default':![]});},async _0x5c4ef4=>{const _0x4f4fc3=_0x2f37f6;_0x15aa66['GmMty'](warnRenamed,_0x15aa66[_0x4f4fc3(0x21b)],_0x15aa66[_0x4f4fc3(0x75)]),await withTelemetry(_0x4f4fc3(0x9f),_0x372f26=>start(_0x5c4ef4['token'],{'skipChromium':_0x5c4ef4[_0x4f4fc3(0x96)],'skipAuth':_0x5c4ef4['skip-auth'],'withDeps':_0x5c4ef4[_0x4f4fc3(0x112)],'scope':_0x5c4ef4['scope'],'url':_0x5c4ef4[_0x4f4fc3(0x1e8)],'force':_0x5c4ef4[_0x4f4fc3(0x202)]},_0x372f26));})[_0x2f37f6(0x207)](_0x15aa66['ocnCt'],![],_0x5aa62b=>{const _0x23d16e=_0x2f37f6;return _0x5aa62b['option'](_0x23d16e(0x14c),{'type':_0x15aa66[_0x23d16e(0x21f)],'description':_0x23d16e(0xf4)})['option'](_0x15aa66[_0x23d16e(0x233)],{'type':_0x15aa66[_0x23d16e(0x21f)],'description':_0x23d16e(0x84)})['option'](_0x23d16e(0xd3),{'type':_0x15aa66['yDTVo'],'description':'Scenario\x20index\x20(1-based)'})['option'](_0x23d16e(0x100),{'type':'string','hidden':!![]})['option'](_0x15aa66[_0x23d16e(0xb7)],{'type':'string','hidden':!![]})['option'](_0x23d16e(0x1fb),{'type':_0x23d16e(0x213),'hidden':!![]})[_0x23d16e(0x19f)](_0x23d16e(0xba),{'type':_0x15aa66['trFHA'],'description':_0x15aa66['xBdYf']})[_0x23d16e(0x19f)](_0x23d16e(0x10f),{'type':_0x15aa66[_0x23d16e(0x21f)],'description':_0x15aa66[_0x23d16e(0xf2)]})[_0x23d16e(0x19f)]('model',{'type':'string','hidden':!![]})['option'](_0x23d16e(0x176),{'type':_0x23d16e(0x1bb),'hidden':!![],'default':![]})[_0x23d16e(0x19f)](_0x15aa66['ovtpa'],{'type':_0x15aa66['trFHA'],'hidden':!![],'choices':[_0x15aa66[_0x23d16e(0x1f6)],_0x15aa66[_0x23d16e(0x15f)],_0x15aa66['QIrYA'],_0x23d16e(0x99),'incomplete']});},async _0x5a057f=>{await runGoCommand(_0x5a057f,!![]);})[_0x2f37f6(0x207)](_0x15aa66['YsaQk'],![],_0x2a2898=>{const _0x58f71a=_0x2f37f6;return _0x2a2898['positional'](_0x15aa66['XywDb'],{'type':_0x15aa66[_0x58f71a(0x21f)],'description':_0x58f71a(0x193),'demandOption':!![]})['option']('ci',{'type':_0x15aa66['QLquY'],'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x15aa66['EwtuS'],{'type':_0x58f71a(0x1bb),'description':_0x58f71a(0x21d),'default':![]});},async _0x5dcc38=>{const _0xd0ac72=_0x2f37f6;_0x15aa66[_0xd0ac72(0x12a)](warnRenamed,_0x15aa66[_0xd0ac72(0x164)],_0xd0ac72(0x117)),await withTelemetry(_0xd0ac72(0x12f),_0x218500=>addEnv(_0x5dcc38[_0xd0ac72(0x12c)],{'ci':_0x5dcc38['ci'],'skipAuth':_0x5dcc38[_0xd0ac72(0x74)]},_0x218500));})['command']('use\x20<env-name>',![],_0x2791b1=>{const _0x497342=_0x2f37f6;return _0x2791b1[_0x497342(0x88)](_0x15aa66['XywDb'],{'type':_0x15aa66[_0x497342(0x21f)],'description':_0x497342(0x7d),'demandOption':!![]});},async _0x551bea=>{const _0x55bf3b=_0x2f37f6;warnRenamed(_0x15aa66['iSgQQ'],_0x15aa66['OBatF']),await withTelemetry(_0x55bf3b(0x9e),()=>useEnv(_0x551bea['env-name']));})['command'](_0x15aa66['NTSbd'],![],_0x44b055=>{const _0x1c7c3e=_0x2f37f6,_0x27d6d0={'zQpvN':_0x1c7c3e(0x128),'iYRJb':_0x1c7c3e(0xe9),'OjCyN':function(_0x25ca9d,_0x5b7ddf,_0x3e89e2){const _0x3b922f=_0x1c7c3e;return _0x15aa66[_0x3b922f(0x1f1)](_0x25ca9d,_0x5b7ddf,_0x3e89e2);},'dmbpw':'ranger\x20config\x20get','aMqyu':_0x15aa66['vbLqr'],'scUYC':_0x15aa66['LIKyE'],'UVvZs':_0x15aa66['Vbarc'],'cVJhL':_0x15aa66['UxHWj']};return _0x44b055[_0x1c7c3e(0x207)](_0x15aa66[_0x1c7c3e(0x229)],![],_0x5b854d=>{const _0x1a50af=_0x1c7c3e;return _0x5b854d[_0x1a50af(0x88)](_0x15aa66[_0x1a50af(0x187)],{'type':_0x15aa66[_0x1a50af(0x21f)],'description':_0x15aa66[_0x1a50af(0x1ab)],'demandOption':!![]})[_0x1a50af(0x88)]('key',{'type':_0x15aa66['trFHA'],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})[_0x1a50af(0x88)](_0x15aa66['HDxmv'],{'type':'string','description':_0x15aa66[_0x1a50af(0x173)],'demandOption':!![]});},async _0x2827a7=>{const _0x4f5974=_0x1c7c3e;_0x15aa66['lQQra'](warnRenamed,'ranger\x20config\x20set',_0x4f5974(0x1f9)),await _0x15aa66[_0x4f5974(0x174)](withTelemetry,_0x4f5974(0x1a0),()=>configSet(_0x2827a7[_0x4f5974(0x14c)],_0x2827a7[_0x4f5974(0x128)],_0x2827a7['value']));})['command'](_0x15aa66[_0x1c7c3e(0x196)],![],_0x43514e=>{const _0x5f0126=_0x1c7c3e;return _0x43514e['positional']('env',{'type':'string','description':'Environment\x20name','demandOption':!![]})['positional'](_0x27d6d0['zQpvN'],{'type':_0x5f0126(0x166),'description':_0x27d6d0[_0x5f0126(0xb9)],'demandOption':!![]});},async _0xb63200=>{const _0x400f4f=_0x1c7c3e;_0x27d6d0[_0x400f4f(0x127)](warnRenamed,_0x27d6d0['dmbpw'],_0x27d6d0['aMqyu']),await withTelemetry('config\x20get',()=>configGet(_0xb63200['env'],_0xb63200[_0x400f4f(0x128)]));})['command'](_0x15aa66[_0x1c7c3e(0x78)],![],_0x3e889e=>{const _0x377614=_0x1c7c3e;return _0x3e889e[_0x377614(0x88)]('env',{'type':'string','description':_0x377614(0x226),'demandOption':!![]});},async _0x3855cd=>{const _0x3bfc95=_0x1c7c3e;warnRenamed(_0x15aa66['dmwHf'],_0x15aa66['UoWfL']),await withTelemetry(_0x3bfc95(0xe6),()=>configList(_0x3855cd['env']));})['command'](_0x1c7c3e(0xe8),![],_0x12bac7=>{const _0x4849dc=_0x1c7c3e;return _0x12bac7[_0x4849dc(0x88)](_0x15aa66['QhAaw'],{'type':'string','description':'Environment\x20name','demandOption':!![]})['positional'](_0x15aa66['WGlUu'],{'type':_0x15aa66[_0x4849dc(0x21f)],'description':_0x15aa66[_0x4849dc(0x1df)],'demandOption':!![]});},async _0x5444d8=>{const _0x400088=_0x1c7c3e;_0x27d6d0[_0x400088(0x127)](warnRenamed,_0x27d6d0[_0x400088(0x8d)],_0x27d6d0[_0x400088(0x13f)]),await _0x27d6d0[_0x400088(0x127)](withTelemetry,_0x27d6d0['cVJhL'],()=>configUnset(_0x5444d8[_0x400088(0x14c)],_0x5444d8['key']));})[_0x1c7c3e(0x1f3)](0x1,_0x1c7c3e(0xa5));})[_0x2f37f6(0x207)](_0x15aa66['QhAaw'],![],_0x1dbea2=>{const _0x319588=_0x2f37f6,_0x5f0151={'JoBGV':_0x319588(0x12c),'pDzaX':_0x15aa66[_0x319588(0x21f)]};return _0x1dbea2['command']('ls',![],()=>{},async()=>{const _0x4eaf79=_0x319588;warnRenamed(_0x4eaf79(0x10b),'ranger\x20profile\x20ls'),await withTelemetry(_0x15aa66['xrEuG'],()=>envList());})['command']('update\x20<env-name>',![],_0x450a82=>{const _0x1061a6=_0x319588;return _0x450a82[_0x1061a6(0x88)](_0x5f0151[_0x1061a6(0x1e0)],{'type':_0x5f0151['pDzaX'],'description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0xbb51aa=>{const _0x1189ca=_0x319588;_0x15aa66['uVowe'](warnRenamed,_0x15aa66[_0x1189ca(0x208)],_0x1189ca(0x129)),await withTelemetry(_0x15aa66[_0x1189ca(0x12d)],_0x27182e=>updateEnv(_0xbb51aa['env-name'],_0x27182e));})[_0x319588(0x1f3)](0x1,'You\x20must\x20specify\x20an\x20env\x20subcommand');})['command']('feature',![],_0x55b28c=>{const _0x56ca7b=_0x2f37f6,_0x4cd7a9={'DSkuo':function(_0x1d5bdc,_0x3a883b,_0x5ae2d7){return _0x1d5bdc(_0x3a883b,_0x5ae2d7);},'AIWmR':function(_0x562890,_0x367a52,_0x423c78,_0x5421be){return _0x562890(_0x367a52,_0x423c78,_0x5421be);},'TkeFm':_0x15aa66[_0x56ca7b(0x18b)],'ejqXR':_0x15aa66[_0x56ca7b(0x1d7)],'ypHwe':'--scenario','vaoXC':_0x15aa66['qYwOv'],'RvbKX':_0x15aa66['QLquY'],'XOIoN':_0x15aa66[_0x56ca7b(0xc2)],'wXHol':_0x15aa66[_0x56ca7b(0x8a)],'HNPiW':'offset','BcxTA':_0x15aa66[_0x56ca7b(0x10e)],'GQSYS':function(_0x173cb3,_0x1d65d0,_0x1999d0){return _0x173cb3(_0x1d65d0,_0x1999d0);},'MSQkI':'feature\x20list','gEihX':_0x15aa66[_0x56ca7b(0x1c3)],'blkDS':_0x56ca7b(0x181),'KrXEr':'string','xxQLd':function(_0x25f882,_0x2b437e,_0x2afeaa){return _0x25f882(_0x2b437e,_0x2afeaa);},'xqCOT':'ranger\x20feature\x20resume','vQJBh':_0x15aa66['pVJjT'],'cOTEX':function(_0x3ebbd2,_0x2d9c6b,_0x5a0ab9){return _0x3ebbd2(_0x2d9c6b,_0x5a0ab9);},'ZKiNq':_0x15aa66['qBRDD']};return _0x55b28c[_0x56ca7b(0x207)](_0x15aa66[_0x56ca7b(0xf8)],![],_0x4eae6b=>{const _0x5b770b=_0x56ca7b;return _0x4eae6b['positional']('name',{'type':_0x5b770b(0x166),'description':_0x5b770b(0xd7),'demandOption':!![]})[_0x5b770b(0x19f)]('description',{'type':'string','alias':'d','description':'Feature\x20review\x20description'})['option']('checklist',{'type':_0x15aa66['kTeLx'],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x5b770b(0x19f)](_0x15aa66['sTdqO'],{'type':_0x15aa66[_0x5b770b(0x21a)],'hidden':!![]});},async _0x3b17df=>{const _0x4f350f=_0x56ca7b;_0x4cd7a9['DSkuo'](warnRenamed,'ranger\x20feature\x20create','ranger\x20create'),_0x4cd7a9['AIWmR'](warnFlagRenamed,_0x4cd7a9[_0x4f350f(0x20e)],_0x4cd7a9['ejqXR'],_0x4cd7a9['ypHwe']);const _0x1348bd=_0x3b17df['scenario']||_0x3b17df[_0x4f350f(0x1e6)];await withTelemetry(_0x4cd7a9['vaoXC'],()=>featureCreate(_0x3b17df['name'],{'description':_0x3b17df[_0x4f350f(0x16e)],'scenarios':_0x1348bd}));})['command']('list',![],_0xefc9c1=>{const _0x156de6=_0x56ca7b;return _0xefc9c1[_0x156de6(0x19f)]('current-branch',{'type':_0x4cd7a9['RvbKX'],'description':_0x156de6(0x222)})['option'](_0x4cd7a9[_0x156de6(0x1f7)],{'type':'number','alias':'l','description':_0x4cd7a9['wXHol'],'default':0xa})[_0x156de6(0x19f)](_0x4cd7a9['HNPiW'],{'type':'number','alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option'](_0x156de6(0xa6),{'type':_0x4cd7a9['RvbKX'],'alias':'d','description':_0x4cd7a9['BcxTA'],'default':![]});},async _0x406f51=>{const _0x277d2b=_0x56ca7b;_0x4cd7a9['DSkuo'](warnRenamed,_0x277d2b(0x235),_0x277d2b(0x15b)),await _0x4cd7a9[_0x277d2b(0x218)](withTelemetry,_0x4cd7a9[_0x277d2b(0x210)],()=>featureList({'currentBranch':_0x406f51['current-branch'],'limit':_0x406f51['limit'],'offset':_0x406f51['offset'],'includeDeleted':_0x406f51['include-deleted']}));})['command'](_0x15aa66['GTHlr'],![],_0x97a47c=>{const _0x1a0389=_0x56ca7b;return _0x97a47c[_0x1a0389(0x88)]('id',{'type':'string','description':_0x4cd7a9['gEihX']});},async _0x3523b7=>{const _0x2252d2=_0x56ca7b;_0x4cd7a9['DSkuo'](warnRenamed,_0x2252d2(0xdf),'ranger\x20show'),await _0x4cd7a9[_0x2252d2(0x218)](withTelemetry,_0x4cd7a9[_0x2252d2(0xd9)],()=>featureShow(_0x3523b7['id']));})['command'](_0x15aa66[_0x56ca7b(0x162)],![],_0xfa80fa=>{const _0x38f9cc=_0x56ca7b;return _0xfa80fa['positional']('id',{'type':_0x4cd7a9[_0x38f9cc(0x118)],'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x57a066=>{const _0x22bb6e=_0x56ca7b;_0x4cd7a9['xxQLd'](warnRenamed,_0x4cd7a9[_0x22bb6e(0x17b)],_0x4cd7a9[_0x22bb6e(0x104)]),await _0x4cd7a9['cOTEX'](withTelemetry,'feature\x20resume',()=>featureResume(_0x57a066['id']));})[_0x56ca7b(0x207)]('add-checklist-item\x20<description>',![],_0x20c6bd=>{const _0x566b7b=_0x56ca7b;return _0x20c6bd[_0x566b7b(0x88)]('description',{'type':_0x566b7b(0x166),'description':_0x566b7b(0x138),'demandOption':!![]})[_0x566b7b(0x19f)]('id',{'type':_0x15aa66['trFHA'],'description':_0x15aa66['cnLiL']});},async _0x26452d=>{const _0x2daa03=_0x56ca7b;_0x15aa66[_0x2daa03(0x156)](warnRenamed,_0x15aa66[_0x2daa03(0x13a)],_0x15aa66[_0x2daa03(0x1b4)]),await withTelemetry(_0x15aa66['kcYYv'],()=>featureAddScenario(_0x26452d[_0x2daa03(0x16e)],_0x26452d['id']));})['command'](_0x15aa66['JKhOc'],![],_0x137002=>{const _0x12a6b5=_0x56ca7b;return _0x137002['positional']('id',{'type':_0x15aa66[_0x12a6b5(0x21f)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x3e31ec=>{const _0x31041d=_0x56ca7b;warnRenamed('ranger\x20feature\x20get-feedback','ranger\x20get-review'),await _0x15aa66['XNvLv'](withTelemetry,_0x15aa66[_0x31041d(0xee)],()=>featureGetReview(_0x3e31ec['id']));})['command']('delete\x20[id]',![],_0x232f24=>{const _0x2fdec9=_0x56ca7b;return _0x232f24[_0x2fdec9(0x88)]('id',{'type':_0x15aa66['trFHA'],'description':_0x15aa66[_0x2fdec9(0x1c3)]});},async _0x302f38=>{const _0x1b413b=_0x56ca7b;warnRenamed(_0x4cd7a9[_0x1b413b(0x11d)],'ranger\x20delete'),await withTelemetry('feature\x20delete',()=>featureDelete(_0x302f38['id']));})[_0x56ca7b(0x207)]('restore\x20<id>',![],_0x284dfd=>{const _0x5844e1=_0x56ca7b;return _0x284dfd['positional']('id',{'type':_0x15aa66['trFHA'],'description':_0x15aa66[_0x5844e1(0xcb)],'demandOption':!![]});},async _0x44c92e=>{const _0x2c4e02=_0x56ca7b;warnRenamed(_0x15aa66['PHYeq'],_0x15aa66[_0x2c4e02(0x114)]),await withTelemetry(_0x15aa66['wvENS'],()=>featureRestore(_0x44c92e['id']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})[_0x2f37f6(0x207)](_0x2f37f6(0x147),![],_0x341aeb=>{const _0x30ed=_0x2f37f6,_0x2ad626={'eGCOI':_0x15aa66['trFHA'],'iBRYt':_0x15aa66['tSATm']};return _0x341aeb[_0x30ed(0x207)](_0x15aa66[_0x30ed(0xb6)],_0x15aa66[_0x30ed(0x105)],_0xa0f638=>{const _0xe6d606=_0x30ed;return _0xa0f638[_0xe6d606(0x19f)]('session-id',{'type':_0x2ad626['eGCOI'],'description':_0x2ad626[_0xe6d606(0x7a)]});},async _0x3c9e61=>{const _0x31e164=_0x30ed;await withTelemetry('hook:enable',()=>hook('enable',_0x3c9e61[_0x31e164(0xa2)]));})[_0x30ed(0x207)](_0x30ed(0x206),_0x15aa66['vASQO'],_0x32751d=>{const _0x51dc19=_0x30ed;return _0x32751d[_0x51dc19(0x19f)]('session-id',{'type':_0x51dc19(0x166),'description':_0x2ad626[_0x51dc19(0x7a)]});},async _0x339247=>{const _0x55b821=_0x30ed;await _0x15aa66['RKTQj'](withTelemetry,_0x15aa66[_0x55b821(0x180)],()=>hook('disable',_0x339247[_0x55b821(0xa2)]));})['option'](_0x30ed(0x223),{'type':_0x30ed(0x166),'description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})[_0x30ed(0x19f)]('session-id',{'type':'string','description':_0x15aa66['tSATm']});},async _0xe94530=>{const _0x463f0c=_0x2f37f6;_0xe94530['name']&&await _0x15aa66[_0x463f0c(0x14d)](hook,_0xe94530[_0x463f0c(0x223)],_0xe94530['session-id']);})[_0x2f37f6(0x1f3)](0x1,_0x15aa66['GGSqC'])[_0x2f37f6(0x22a)]()[_0x2f37f6(0x219)](async(_0x2c7c3f,_0x1bf7c5,_0x1f3cbe)=>{const _0x38973d=_0x2f37f6,_0x39f4d0=sanitizeArgs(process[_0x38973d(0x1cb)]['slice'](0x2)),_0x2c77cd=_0x15aa66['MGIfZ'](getErrorType,_0x2c7c3f,_0x1bf7c5);if(_0x2c7c3f&&_0x2c7c3f[_0x38973d(0x1ec)](_0x38973d(0x1e4))){const _0x209525=process['argv'][0x2];console[_0x38973d(0x154)](_0x38973d(0xc9)+_0x209525),console['error'](_0x15aa66[_0x38973d(0xc7)]);}else{if(_0x2c7c3f)console[_0x38973d(0x154)]('\x0a'+_0x2c7c3f+'\x0a');else _0x1bf7c5&&console[_0x38973d(0x154)]('\x0aError:\x20'+_0x1bf7c5['message']+'\x0a');}await logDesirePath({'rawCommand':_0x39f4d0,'errorMessage':_0x2c7c3f||_0x1bf7c5?.[_0x38973d(0x209)],'errorType':_0x2c77cd});const _0x3f189d=_0x15aa66['QnLtt'](getCurrentCollector);_0x3f189d&&await _0x3f189d['trackCommandError'](_0x1bf7c5||new Error(_0x15aa66['hIFjD'](_0x2c7c3f,_0x15aa66['NVxqZ']))),process[_0x38973d(0x1ee)](0x1);})['epilogue']('Documentation:\x0a'+_0x2f37f6(0x16a)+_0x2f37f6(0x77))[_0x2f37f6(0x19d)]()['alias']('help','h');}process[_0x1ff339(0x14c)][_0x1ff339(0x1b8)]!=='test'&&(shouldShowLegacyWarning(process[_0x1ff339(0x1cb)])&&showLegacyDeprecationWarning(),buildParser()[_0x1ff339(0xeb)]());
|