@ranger-testing/ranger-cli 2.2.0 → 2.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cli.js +1 -1
- package/build/commands/addEnv.js +1 -1
- package/build/commands/authEncrypt.js +1 -1
- package/build/commands/clean.js +1 -1
- package/build/commands/config.js +1 -1
- package/build/commands/env.js +1 -1
- package/build/commands/feature.js +1 -1
- package/build/commands/hook.js +1 -1
- package/build/commands/hooks/autoPrompt.js +1 -1
- package/build/commands/hooks/disable.js +1 -1
- package/build/commands/hooks/enable.js +1 -1
- package/build/commands/hooks/exitPlanMode.js +1 -1
- package/build/commands/hooks/index.js +1 -1
- package/build/commands/hooks/output.js +1 -1
- package/build/commands/hooks/planReminder.js +1 -1
- package/build/commands/hooks/planStart.js +1 -1
- package/build/commands/hooks/postEdit.js +1 -1
- package/build/commands/hooks/preCompact.js +1 -1
- package/build/commands/hooks/sessionEnd.js +1 -1
- package/build/commands/hooks/sessionStart.js +1 -1
- package/build/commands/hooks/stopHook.js +1 -1
- package/build/commands/index.js +1 -1
- package/build/commands/login.js +1 -1
- package/build/commands/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/browserSessionsApi.js +1 -1
- package/build/commands/utils/claudeConfig.js +1 -1
- package/build/commands/utils/claudePlugin.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/featureReportGenerator.js +1 -1
- package/build/commands/utils/fixWebmDuration.js +1 -1
- package/build/commands/utils/git.js +1 -1
- package/build/commands/utils/keychain.js +1 -1
- package/build/commands/utils/localAgentInstallationsApi.js +1 -1
- package/build/commands/utils/mcpImageBase64.js +1 -1
- package/build/commands/utils/model.js +1 -1
- package/build/commands/utils/opencodeConfig.js +1 -1
- package/build/commands/utils/profileMessages.js +1 -1
- package/build/commands/utils/profileSetupBanner.js +1 -1
- package/build/commands/utils/rangerConfig.js +1 -1
- package/build/commands/utils/rangerRoot.js +1 -1
- package/build/commands/utils/reportGenerator.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/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/verifyInBrowser.js +1 -1
- package/package.json +1 -1
package/build/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x41bc93=_0x4854;function _0x4854(_0xb5cb3e,_0x51c0d5){_0xb5cb3e=_0xb5cb3e-0x84;const _0x39728c=_0x3972();let _0x485432=_0x39728c[_0xb5cb3e];return _0x485432;}(function(_0xbf549f,_0xf805f5){const _0x2d37c1=_0x4854,_0x5bf5b3=_0xbf549f();while(!![]){try{const _0x2b61ee=parseInt(_0x2d37c1(0x1a9))/0x1+-parseInt(_0x2d37c1(0xd5))/0x2*(parseInt(_0x2d37c1(0x144))/0x3)+-parseInt(_0x2d37c1(0x10b))/0x4*(parseInt(_0x2d37c1(0xe7))/0x5)+-parseInt(_0x2d37c1(0xfb))/0x6+-parseInt(_0x2d37c1(0xd3))/0x7*(parseInt(_0x2d37c1(0x1d3))/0x8)+parseInt(_0x2d37c1(0xd6))/0x9*(-parseInt(_0x2d37c1(0x155))/0xa)+parseInt(_0x2d37c1(0x1a5))/0xb*(parseInt(_0x2d37c1(0x13a))/0xc);if(_0x2b61ee===_0xf805f5)break;else _0x5bf5b3['push'](_0x5bf5b3['shift']());}catch(_0x56b84d){_0x5bf5b3['push'](_0x5bf5b3['shift']());}}}(_0x3972,0x81429));import _0x11fd96 from'dotenv';function _0x3972(){const _0x37d45d=['ehBMR','XdoqK','LIsEk','feature\x20show','aHIHm','114EhbBvO','pSNDF','debug-outcome','ranger\x20feature\x20delete','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','ZjYHR','Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','AdiLn','RLmid','wWPsr','name','ranger\x20config\x20set','Environment\x20name','offset','Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1)','restore\x20<id>','number','54740qBwygh','config','Name\x20of\x20the\x20profile','ranger\x20env\x20update','checklist','zGmjI','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','Scenario\x20description','feature\x20resume','qhToD','status','scope','TqHXm','Profile\x20name','strictCommands','rOIFi','UERpc','nYhsD','pdIGU','ZgFfd','UqatY','YYTkt','Wprzw','rJPdd','NXIxa','create\x20<name>','ranger\x20create','message','feature','Restore\x20a\x20soft-deleted\x20feature\x20review','show','GlsNk','Skip\x20Chromium\x20browser\x20installation','ranger\x20use','ranger\x20config\x20unset','New\x20scenario\x20description','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','qkMao','LWHdA','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','hook:enable','description','ranger\x20add-scenario','ymMWE','Vmbmf','get-feedback\x20[id]','kVLjB','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','current-branch','mWHzY','AQZLa','config\x20get','start-path','add\x20env\x20<env-name>','Azqkx','Feature\x20review\x20name','cSZJW','Add\x20profile\x20configuration','project','base-url','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','partial','GaiVR','RaEfZ','yzDFx','HwtxW','LKILb','ynhrp','encrypt\x20<profile>','item','scenario','AReHk','vsoru','HhYVS','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','evaluationReason','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','delete','List\x20all\x20feature\x20reviews','config\x20unset','26499eCixmY','array','get-review\x20[id]','OZSRb','673697uytSgA','yaAxv','Documentation:\x0a','Feature\x20review\x20ID','JEezg','Scenario\x20number\x20to\x20edit\x20(1-based)','ranger\x20go','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','map','PCpeW','VFWxg','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','vtrPX','zNrAg','ranger\x20feature\x20restore','ranger\x20delete','scriptName','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','ZwjxK','letdj','report\x20[id]','SOERc','ngWcM','QDUAW','BhZBI','some','WWrtX','bsKPH','ranger\x20config\x20list','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','command','clean','yyOTM','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','repeat','debug-address-comments','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','Remove\x20a\x20config\x20value','ranger\x20setup','Config\x20key\x20to\x20remove','show\x20[id]','1352504mBjOwO','hDtVq','trackCommandError','JYGWr','MOvzA','fdnsu','value','Reason:\x20','lcRiM','AiSVG','ranger\x20start','JWZfa','Ranger\x20API\x20token','VfTke','env','QyEZr','INePB','You\x20must\x20specify\x20a\x20config\x20subcommand','blocked','--profile','JjeJL','restore','use','slice','limit','mmCnH','jqqpd','wUbsQ','ZQNpt','ranger\x20feature\x20show','zaxMq','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','task','XVAhn','ORMZl','profile\x20update','IznaZ','cdp-endpoint','Number\x20of\x20feature\x20reviews\x20to\x20skip','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','tHokr','ranger\x20feature\x20add-checklist-item','QNNPB','profile\x20use','ranger\x20get-review','--item','Prtnd','profile\x20config\x20unset','boolean','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','login','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','YwrTD','QEPtx','profile-name','mDSGz','aUalo','Rgxbq','Eukpu','RIemb','option','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','TaFML','lEKoc','resume','TgAgx','FbkKP','CElxz','Install\x20Ranger\x20skills','delete\x20[id]','start\x20[token]','oFDuJ','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','Vavnl','ranger\x20profile\x20config\x20set','resume\x20[id]','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','Unknown\x20error','add-scenario\x20<description>','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','feature\x20create','failed','evaluation','\x0aUnknown\x20command:\x20','qjEWK','iDegG','VkkKT','feature\x20get-feedback','exitCode','ranger\x20feature\x20get-feedback','smvsX','HLWmz','NUuVB','Skip\x20Claude\x20Code\x20plugin\x20+\x20skills\x20install\x20(for\x20OpenCode\x20users)','cFbmv','ZSUik','TOwLO','--task','7FESkAt','yOzTF','54736DfDpIe','1728bDmjEr','XlPco','summary','ZGDJl','incomplete','profile','vZkzx','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','include-deleted','XiLvI','key','ranger\x20config\x20get','log','--scenario','Include\x20soft-deleted\x20feature\x20reviews','length','2224535pjBhzW','gRGrE','Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','OtnEE','session-id','sNYqh','profile\x20add','force','verified','TdmIP','ErIgh','skillup','usage','LXPrI','DAbFf','oJcel','wnnjp','Install\x20scope\x20for\x20skills','Name\x20of\x20the\x20profile\x20to\x20update','StTdD','1821522oyvgtj','user','get\x20<env>\x20<key>','ranger\x20list','token','feature\x20delete','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true','OEkKK','.env','update','\x20PARTIAL','root','pgXDF','GKjbn','wbOdE','cTBFZ','4uAIGQo','HVFZA','Gshvf','profile\x20config\x20list','error','skip-auth','profile\x20encrypt-auth','eSXbv','opencode','skip-chromium','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','OpWur','demandCommand','string','add\x20<profile-name>','model','kUgmv','rUEto','argv','list','ooLtC','feature\x20add-checklist-item','You\x20must\x20specify\x20a\x20profile\x20subcommand','eHmtP','url','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','ldYBf','Config\x20value','list\x20<env>','\x0aIssues:','sQjDq','LZRrp','start','IqzTD','wIUpR','hook:disable','\x20\x20https://docs.ranger.net\x0a','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','gxTiK','env-name','set\x20<env>\x20<key>\x20<value>','positional','ranger\x20add\x20env','IgBIa','ZDXxk','Config\x20key','claude','14268dDiirA','profile\x20config\x20set','setup\x20[token]','setup-ci','flag'];_0x3972=function(){return _0x37d45d;};return _0x3972();}import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x346a57=_0x4854,_0x490f8c={'TdmIP':function(_0x276b40,_0x29e0e1){return _0x276b40(_0x29e0e1);},'CjMnz':function(_0xbf98c5,_0x365ab8,_0x3cafe9){return _0xbf98c5(_0x365ab8,_0x3cafe9);},'IqzTD':'.ranger','IgBIa':function(_0xadc29f,_0x52edc7,_0x18c3f5){return _0xadc29f(_0x52edc7,_0x18c3f5);},'CElxz':'.env'};let _0x56eb52=process['cwd']();const _0x5df103=parse(_0x56eb52)[_0x346a57(0x106)];while(_0x56eb52!==_0x5df103){if(_0x490f8c[_0x346a57(0xf0)](existsSync,_0x490f8c['CjMnz'](join,_0x56eb52,_0x490f8c[_0x346a57(0x12c)]))||_0x490f8c[_0x346a57(0xf0)](existsSync,_0x490f8c[_0x346a57(0x136)](join,_0x56eb52,_0x490f8c[_0x346a57(0xb4)])))return _0x56eb52;_0x56eb52=dirname(_0x56eb52);}return process['cwd']();}_0x11fd96['config']({'path':join(findProjectRoot(),_0x41bc93(0x103))});import _0x5d2eb1 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.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{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x1147b2=>{const _0xa930b1=_0x41bc93,_0x4a6882=getCurrentCollector();_0x4a6882&&await _0x4a6882[_0xa930b1(0x1d5)](_0x1147b2),process[_0xa930b1(0xc9)]=0x1;});const rawArgs=process[_0x41bc93(0x11d)]['slice'](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/update/config/encrypt-auth)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP=_0x41bc93(0x101),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\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\x0aKeys:\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\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20header.<name>\x20\x20\x20\x20Custom\x20HTTP\x20header\x20(e.g.,\x20header.X-Test-Mode)\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\x20ci\x20header.Authorization\x20\x27${AUTH_TOKEN}\x27';function warnRenamed(_0x271945,_0xc15695){console['error']('\x0a'+_0x271945+'\x20is\x20now\x20'+_0xc15695+'\x0a');}function argUsed(_0x41f591){const _0x3d4551=_0x41bc93;return rawArgs[_0x3d4551(0x1c3)](_0x417e7b=>_0x417e7b===_0x41f591||_0x417e7b['startsWith'](_0x41f591+'='));}function warnFlagRenamed(_0x1554e6,_0xda8de5,_0x3a63c9){argUsed(_0xda8de5)&&warnRenamed(_0x1554e6+'\x20'+_0xda8de5,_0x1554e6+'\x20'+_0x3a63c9);}async function runGoCommand(_0x4f1210,_0x161ee7=![]){const _0x43108b=_0x41bc93,_0x5415e7={'KchCZ':function(_0x5c04b6,_0x2addf6,_0x4ed078){return _0x5c04b6(_0x2addf6,_0x4ed078);},'fmgGx':'ranger\x20verify-feature','tHokr':_0x43108b(0x1af),'TaFML':'--env','dBrhB':_0x43108b(0x84),'zaxMq':function(_0x36e2af,_0x4a423b,_0x2c834c,_0xa95b67){return _0x36e2af(_0x4a423b,_0x2c834c,_0xa95b67);},'ZQNpt':_0x43108b(0xd2),'cFyny':'--notes','BbOol':_0x43108b(0x9e),'tYWPU':'--scenario','FbkKP':_0x43108b(0x13e),'Jdbiy':'config','yyOTM':'start-path','JWZfa':'debug-outcome','tWTFU':function(_0x3b40e2,_0x46f6c8){return _0x3b40e2===_0x46f6c8;},'mDSGz':'incomplete','nYhsD':_0x43108b(0x105),'XlPco':'blocked','BhZBI':'\x20BLOCKED','Azqkx':'\x20FAILED','rOIFi':function(_0x45fb20,_0x7463e4){return _0x45fb20===_0x7463e4;}};_0x161ee7&&_0x5415e7['KchCZ'](warnRenamed,_0x5415e7['fmgGx'],'ranger\x20go');warnFlagRenamed(_0x5415e7[_0x43108b(0x99)],_0x5415e7[_0x43108b(0xaf)],_0x5415e7['dBrhB']),_0x5415e7[_0x43108b(0x8f)](warnFlagRenamed,_0x5415e7[_0x43108b(0x99)],_0x5415e7[_0x43108b(0x8d)],_0x5415e7['cFyny']),warnFlagRenamed(_0x5415e7['tHokr'],_0x5415e7['BbOol'],_0x5415e7['tYWPU']);const _0x56a06b=await loadRangerConfig(),_0x5644a8=_0x4f1210['model'],_0x36be3e=_0x56a06b['model'],_0x115177=_0x5644a8??_0x36be3e,_0x5ddaae=_0x5644a8?_0x5415e7[_0x43108b(0xb3)]:_0x36be3e?_0x5415e7['Jdbiy']:'default',_0x564188=await verifyFeature({'profile':_0x4f1210['profile']??_0x4f1210['env'],'notes':_0x4f1210['notes']??_0x4f1210['task'],'scenario':_0x4f1210[_0x43108b(0x19b)]??_0x4f1210['item'],'startPath':_0x4f1210[_0x5415e7[_0x43108b(0x1ca)]],'debugOutcome':_0x4f1210[_0x5415e7[_0x43108b(0x1de)]],'debugAddressComments':_0x4f1210[_0x43108b(0x1cd)],'headed':_0x4f1210['headed'],'verifyModel':_0x115177,'verifyModelInput':_0x115177,'verifyModelSource':_0x5ddaae});console['log']('\x0a'+'='['repeat'](0x3c)),console['log'](_0x564188['evaluation']==='verified'?'\x20VERIFIED':_0x5415e7['tWTFU'](_0x564188['evaluation'],_0x5415e7[_0x43108b(0xa8)])?'\x20INCOMPLETE':_0x564188['evaluation']===_0x43108b(0x192)?_0x5415e7[_0x43108b(0x166)]:_0x564188['evaluation']===_0x5415e7[_0x43108b(0xd7)]?_0x5415e7[_0x43108b(0x1c2)]:_0x5415e7[_0x43108b(0x18b)]),console['log']('='[_0x43108b(0x1cc)](0x3c)),console[_0x43108b(0xe3)]('Summary:\x20'+_0x564188[_0x43108b(0xd8)]),console[_0x43108b(0xe3)]('Evaluation:\x20'+_0x564188['evaluation']),console[_0x43108b(0xe3)](_0x43108b(0x1da)+_0x564188[_0x43108b(0x1a0)]),_0x564188['issues']?.[_0x43108b(0xe6)]&&(console[_0x43108b(0xe3)](_0x43108b(0x128)),_0x564188['issues']['forEach']((_0x1da670,_0x360c6a)=>{const _0xa991d1=_0x43108b;console[_0xa991d1(0xe3)]('\x0a'+(_0x360c6a+0x1)+'.\x20['+_0x1da670['severity']+']\x20'+_0x1da670[_0xa991d1(0x17e)]);})),process['exit'](_0x5415e7[_0x43108b(0x164)](_0x564188[_0x43108b(0xc3)],_0x43108b(0xef))?0x0:0x1);}_0x5d2eb1(process[_0x41bc93(0x11d)][_0x41bc93(0x88)](0x2))[_0x41bc93(0x1ba)]('ranger')[_0x41bc93(0xf3)](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command'](_0x41bc93(0x16e),'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios',_0x1bbc0e=>{const _0x564681=_0x41bc93,_0x2dd343={'DAbFf':'string','BPdrQ':_0x564681(0x18c),'SOERc':_0x564681(0x17e),'HwtxW':_0x564681(0x19b),'cFbmv':_0x564681(0x19f),'ErIgh':_0x564681(0x1a6)};return _0x1bbc0e[_0x564681(0x134)](_0x564681(0x14e),{'type':_0x2dd343[_0x564681(0xf5)],'description':_0x2dd343['BPdrQ'],'demandOption':!![]})[_0x564681(0xad)](_0x2dd343[_0x564681(0x1bf)],{'type':_0x2dd343['DAbFf'],'alias':'d','description':'Feature\x20review\x20description'})['option'](_0x2dd343[_0x564681(0x196)],{'type':'array','alias':'c','description':_0x2dd343[_0x564681(0xcf)]})['option'](_0x564681(0x159),{'type':_0x2dd343[_0x564681(0xf1)],'hidden':!![]});},async _0x1e3d7d=>{const _0x4ecabe=_0x41bc93,_0xf74320={'aUalo':function(_0x3b96bd,_0x2d165f,_0x4e4f0d,_0x45c550){return _0x3b96bd(_0x2d165f,_0x4e4f0d,_0x45c550);},'eHmtP':_0x4ecabe(0x16f),'WWrtX':'--checklist','EBtkr':'--scenario','zppWl':function(_0x2d7dc8,_0x4cd4a1,_0x4f9218){return _0x2d7dc8(_0x4cd4a1,_0x4f9218);},'zYTIY':'create'};_0xf74320[_0x4ecabe(0xa9)](warnFlagRenamed,_0xf74320[_0x4ecabe(0x122)],_0xf74320[_0x4ecabe(0x1c4)],_0xf74320['EBtkr']);const _0x37f70d=_0x1e3d7d['scenario']||_0x1e3d7d[_0x4ecabe(0x159)];await _0xf74320['zppWl'](withTelemetry,_0xf74320['zYTIY'],()=>featureCreate(_0x1e3d7d[_0x4ecabe(0x14e)],{'description':_0x1e3d7d[_0x4ecabe(0x17e)],'scenarios':_0x37f70d}));})['command'](_0x41bc93(0x11e),_0x41bc93(0x1a3),_0x5b4387=>{const _0x27df08=_0x41bc93,_0x4c7b88={'jQhHt':_0x27df08(0x185),'VFWxg':_0x27df08(0x154),'PCpeW':_0x27df08(0x97),'smvsX':'boolean'};return _0x5b4387['option'](_0x4c7b88['jQhHt'],{'type':'boolean','description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option'](_0x27df08(0x89),{'type':_0x4c7b88[_0x27df08(0x1b4)],'alias':'l','description':_0x27df08(0x115),'default':0xa})[_0x27df08(0xad)](_0x27df08(0x151),{'type':_0x4c7b88[_0x27df08(0x1b4)],'alias':'o','description':_0x4c7b88[_0x27df08(0x1b3)],'default':0x0})['option'](_0x27df08(0xdf),{'type':_0x4c7b88[_0x27df08(0xcb)],'alias':'d','description':_0x27df08(0xe5),'default':![]});},async _0x320d4b=>{const _0x80ece=_0x41bc93,_0x1445fa={'GaiVR':'list'};await withTelemetry(_0x1445fa[_0x80ece(0x193)],()=>featureList({'currentBranch':_0x320d4b[_0x80ece(0x185)],'limit':_0x320d4b[_0x80ece(0x89)],'offset':_0x320d4b[_0x80ece(0x151)],'includeDeleted':_0x320d4b[_0x80ece(0xdf)]}));})['command']('show\x20[id]','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x52b29e=>{const _0x4b9c36=_0x41bc93;return _0x52b29e['positional']('id',{'type':'string','description':_0x4b9c36(0x1ac)});},async _0x198a47=>{const _0x1e61de=_0x41bc93;await withTelemetry(_0x1e61de(0x173),()=>featureShow(_0x198a47['id']));})['command'](_0x41bc93(0xbc),'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x242e12=>{const _0x297e6e=_0x41bc93,_0x2e1151={'XTvwQ':_0x297e6e(0x1b5)};return _0x242e12[_0x297e6e(0x134)]('id',{'type':'string','description':_0x2e1151['XTvwQ']});},async _0x46dfba=>{const _0x316be8=_0x41bc93,_0x23561a={'ZjrDw':_0x316be8(0xb1)};await withTelemetry(_0x23561a['ZjrDw'],()=>featureResume(_0x46dfba['id']));})[_0x41bc93(0x1c8)](_0x41bc93(0xbf),_0x41bc93(0xa2),_0x4363c1=>{const _0x2d6331=_0x41bc93,_0x25aa3c={'NLXCo':_0x2d6331(0x118),'XhudQ':_0x2d6331(0xc0)};return _0x4363c1[_0x2d6331(0x134)](_0x2d6331(0x17e),{'type':_0x25aa3c['NLXCo'],'description':_0x2d6331(0x15c),'demandOption':!![]})['option']('id',{'type':'string','description':_0x25aa3c['XhudQ']});},async _0x44cd92=>{const _0x28b603=_0x41bc93,_0x5a0b3d={'HVFZA':'add-scenario'};await withTelemetry(_0x5a0b3d[_0x28b603(0x10c)],()=>featureAddScenario(_0x44cd92['description'],_0x44cd92['id']));})[_0x41bc93(0x1c8)]('edit-scenario\x20<description>',_0x41bc93(0x124),_0x57f53f=>{const _0x651402=_0x41bc93,_0x3928a6={'YYTkt':'description','tOmNb':_0x651402(0x178),'nNqdW':_0x651402(0x19b),'RmqWF':_0x651402(0x154),'CUifX':_0x651402(0x1ae),'vTVUd':_0x651402(0x118)};return _0x57f53f[_0x651402(0x134)](_0x3928a6[_0x651402(0x16a)],{'type':'string','description':_0x3928a6['tOmNb'],'demandOption':!![]})[_0x651402(0xad)](_0x3928a6['nNqdW'],{'type':_0x3928a6['RmqWF'],'description':_0x3928a6['CUifX'],'demandOption':!![]})[_0x651402(0xad)]('id',{'type':_0x3928a6['vTVUd'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x3f71e8=>{const _0x207ef0=_0x41bc93,_0x2abe1e={'GKjbn':'edit-scenario'};await withTelemetry(_0x2abe1e[_0x207ef0(0x108)],()=>featureEditScenario(_0x3f71e8[_0x207ef0(0x17e)],{'id':_0x3f71e8['id'],'scenario':_0x3f71e8['scenario']}));})[_0x41bc93(0x1c8)](_0x41bc93(0x1be),_0x41bc93(0x1b0),_0x4dceff=>{const _0x1ce0f6=_0x41bc93,_0x1d3656={'JqOIf':_0x1ce0f6(0x118),'aCWTp':'exclude-scenario','RLmid':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'};return _0x4dceff[_0x1ce0f6(0x134)]('id',{'type':_0x1d3656['JqOIf'],'description':_0x1ce0f6(0x1ac)})['option'](_0x1d3656['aCWTp'],{'type':_0x1ce0f6(0x1a6),'description':_0x1d3656[_0x1ce0f6(0x14c)]});},async _0x50d4a5=>{const _0x599951=_0x41bc93,_0x5774df={'iDegG':'exclude-scenario','CBFim':function(_0x48d57c,_0xde8355,_0x4e3a06){return _0x48d57c(_0xde8355,_0x4e3a06);}},_0x554367=_0x50d4a5[_0x5774df[_0x599951(0xc6)]],_0x4951da=_0x554367?_0x554367[_0x599951(0x1b2)](_0x371b8e=>Number(_0x371b8e)):undefined;await _0x5774df['CBFim'](withTelemetry,'report',()=>featureReportPrDescription(_0x50d4a5['id'],{'excludeScenarios':_0x4951da}));})['command'](_0x41bc93(0x1a7),_0x41bc93(0xde),_0x39484b=>{const _0x1f9505=_0x41bc93,_0x4ae0f5={'YGqxp':'string','gxTiK':_0x1f9505(0xc0)};return _0x39484b[_0x1f9505(0x134)]('id',{'type':_0x4ae0f5['YGqxp'],'description':_0x4ae0f5[_0x1f9505(0x131)]});},async _0x4f1d47=>{const _0x467041=_0x41bc93,_0x3e7c22={'wbOdE':function(_0x22b671,_0x5afc3e,_0x48af9c){return _0x22b671(_0x5afc3e,_0x48af9c);},'ZZkhW':'get-review'};await _0x3e7c22[_0x467041(0x109)](withTelemetry,_0x3e7c22['ZZkhW'],()=>featureGetReview(_0x4f1d47['id']));})[_0x41bc93(0x1c8)](_0x41bc93(0xb6),'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x20d659=>{const _0x325f25=_0x41bc93,_0x44053e={'AYLvi':'string','MdOKc':'Feature\x20review\x20ID'};return _0x20d659[_0x325f25(0x134)]('id',{'type':_0x44053e['AYLvi'],'description':_0x44053e['MdOKc']});},async _0x36cdbd=>{const _0x53248b=_0x41bc93,_0x4232e9={'zGmjI':_0x53248b(0x1a2)};await withTelemetry(_0x4232e9[_0x53248b(0x15a)],()=>featureDelete(_0x36cdbd['id']));})[_0x41bc93(0x1c8)](_0x41bc93(0x153),_0x41bc93(0x172),_0x3c7af1=>{const _0x2c47c1=_0x41bc93,_0x17e5e9={'vtrPX':'string'};return _0x3c7af1[_0x2c47c1(0x134)]('id',{'type':_0x17e5e9[_0x2c47c1(0x1b6)],'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0xb9e46c=>{const _0x4eeb45=_0x41bc93,_0x48d84c={'uMjdq':function(_0x4a615e,_0x17d699,_0x1ea3fc){return _0x4a615e(_0x17d699,_0x1ea3fc);},'tsbyG':_0x4eeb45(0x86)};await _0x48d84c['uMjdq'](withTelemetry,_0x48d84c['tsbyG'],()=>featureRestore(_0xb9e46c['id']));})['command'](_0x41bc93(0x13c),'Initialize\x20Ranger\x20in\x20your\x20project',_0x24dedc=>{const _0x581380=_0x41bc93,_0x1a1da8={'JIRpp':_0x581380(0xff),'oTlLJ':_0x581380(0x114),'qkMao':_0x581380(0xa1),'FLIaj':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','wIUpR':'scope','loypV':'project','cSZJW':'string','NXIxa':_0x581380(0xb9),'cPwNv':'force','nnBwx':_0x581380(0x130)};return _0x24dedc[_0x581380(0x134)](_0x1a1da8['JIRpp'],{'type':'string','description':_0x581380(0x1cb)})[_0x581380(0xad)](_0x1a1da8['oTlLJ'],{'type':_0x1a1da8[_0x581380(0x17a)],'description':_0x1a1da8['FLIaj'],'default':![]})[_0x581380(0xad)](_0x1a1da8[_0x581380(0x12d)],{'type':_0x581380(0x118),'choices':['user',_0x1a1da8['loypV']],'description':_0x581380(0x14a)})['option']('url',{'type':_0x1a1da8[_0x581380(0x18d)],'description':_0x1a1da8[_0x581380(0x16d)]})[_0x581380(0xad)](_0x1a1da8['cPwNv'],{'type':_0x1a1da8['qkMao'],'description':_0x1a1da8['nnBwx'],'default':![]})['option'](_0x581380(0x113),{'type':_0x1a1da8[_0x581380(0x17a)],'description':_0x581380(0xce),'default':![]});},async _0x1deafc=>{const _0x26be23=_0x41bc93;await withTelemetry(_0x26be23(0x12b),_0x16af89=>start(_0x1deafc['token'],{'skipChromium':_0x1deafc[_0x26be23(0x114)],'scope':_0x1deafc[_0x26be23(0x160)],'url':_0x1deafc[_0x26be23(0x123)],'force':_0x1deafc[_0x26be23(0xee)],'opencode':_0x1deafc[_0x26be23(0x113)]},_0x16af89));})['command']('setup-ci\x20<token>',_0x41bc93(0x17c),_0x59a8a8=>{const _0x36917f=_0x41bc93,_0x3ce342={'rUEto':_0x36917f(0xff),'hPPeD':_0x36917f(0x1df),'kVLjB':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','agJQT':_0x36917f(0x1a1),'FddOK':_0x36917f(0xa1),'OEkKK':_0x36917f(0x175)};return _0x59a8a8['positional'](_0x3ce342[_0x36917f(0x11c)],{'type':'string','description':_0x3ce342['hPPeD'],'demandOption':!![]})[_0x36917f(0xad)]('profile',{'type':'string','description':_0x3ce342[_0x36917f(0x183)]})['option'](_0x36917f(0x190),{'type':_0x36917f(0x118),'description':_0x3ce342['agJQT']})['option'](_0x36917f(0x114),{'type':_0x3ce342['FddOK'],'description':_0x3ce342[_0x36917f(0x102)],'default':![]});},async _0xcffcdb=>{const _0x5504e=_0x41bc93;await withTelemetry(_0x5504e(0x13d),_0x156720=>setupCi(_0xcffcdb[_0x5504e(0xff)],{'profile':_0xcffcdb['profile'],'baseUrl':_0xcffcdb['base-url'],'skipChromium':_0xcffcdb[_0x5504e(0x114)]},_0x156720));})['command'](_0x41bc93(0xa3),'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)',()=>{},async()=>{await withTelemetry('login',()=>login());})[_0x41bc93(0x1c8)](_0x41bc93(0xf2),_0x41bc93(0xb5),_0x4c9355=>{const _0x238fb6=_0x41bc93,_0x22b84a={'RIemb':_0x238fb6(0x113),'JYGWr':_0x238fb6(0x118),'aHIHm':_0x238fb6(0x18f)};return _0x4c9355[_0x238fb6(0xad)](_0x22b84a[_0x238fb6(0xac)],{'type':'boolean','description':'Install\x20skills\x20for\x20OpenCode','default':![]})['option']('scope',{'type':_0x22b84a[_0x238fb6(0x1d6)],'choices':[_0x238fb6(0xfc),_0x22b84a[_0x238fb6(0x143)]],'description':_0x238fb6(0xf8)});},async _0x3f4b20=>{const _0xfb11a8=_0x41bc93,_0x39a292={'Oedne':function(_0x261961,_0x3adf51,_0x535171){return _0x261961(_0x3adf51,_0x535171);}},_0x1c5aed=Boolean(_0x3f4b20['opencode']);await _0x39a292['Oedne'](withTelemetry,'skillup',()=>skillup({'autoInstall':_0x3f4b20[_0xfb11a8(0x160)],'platform':_0x1c5aed?'opencode':_0xfb11a8(0x139)}));})[_0x41bc93(0x1c8)]('clean',_0x41bc93(0x90),()=>{},async()=>{const _0x5e3d9d=_0x41bc93;await withTelemetry(_0x5e3d9d(0x1c9),()=>clean());})['command'](_0x41bc93(0xdb),'Manage\x20profiles',_0x10d00d=>{const _0xf70511=_0x41bc93,_0x19eeb7={'ZwjxK':_0xf70511(0xa7),'LWHdA':'string','iwGcC':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','ZGDJl':_0xf70511(0x179),'TqHXm':'skip-auth','zNrAg':_0xf70511(0xa1),'zkQXB':_0xf70511(0x123),'LKILb':_0xf70511(0xee),'kklqu':function(_0x322963,_0xd69ea2,_0x501067,_0x139c02){return _0x322963(_0xd69ea2,_0x501067,_0x139c02);},'MbOuI':_0xf70511(0xed),'FbVTA':'cdp-endpoint','HhYVS':_0xf70511(0x157),'NmEBG':_0xf70511(0x9c),'wUbsQ':function(_0x1e1a9f,_0x3f97c2,_0x18282a){return _0x1e1a9f(_0x3f97c2,_0x18282a);},'sNYqh':function(_0x463844,_0x12af29,_0x55d483){return _0x463844(_0x12af29,_0x55d483);},'DDWvA':_0xf70511(0xf9),'vXqKU':_0xf70511(0x13b),'nTPtN':_0xf70511(0x10e),'AumMW':'value','kKpAx':'profile','LXPrI':function(_0x55ae80,_0x27d3d2,_0x1af396){return _0x55ae80(_0x27d3d2,_0x1af396);},'wEsdG':'set\x20<profile>\x20<key>\x20<value>','MHNoj':'Set\x20a\x20config\x20value','jqqpd':'list\x20<profile>','sQjDq':'List\x20all\x20config\x20for\x20a\x20profile','hezxL':_0xf70511(0x1cf),'ubXke':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','fQkMt':_0xf70511(0x119),'VfTke':_0xf70511(0x18e),'jueSC':'use\x20<profile-name>','WosQy':'Switch\x20to\x20using\x20a\x20specific\x20profile','UERpc':'Update\x20authentication\x20for\x20an\x20existing\x20profile','BaNjS':'Manage\x20profile\x20configuration'};return _0x10d00d[_0xf70511(0xf3)](PROFILE_HELP)[_0xf70511(0x1c8)](_0x19eeb7['fQkMt'],_0x19eeb7[_0xf70511(0x1e0)],_0x4995e4=>{const _0x9dda0b=_0xf70511;return _0x4995e4[_0x9dda0b(0x134)](_0x19eeb7[_0x9dda0b(0x1bc)],{'type':_0x19eeb7[_0x9dda0b(0x17b)],'description':_0x19eeb7['iwGcC'],'demandOption':!![]})['option']('ci',{'type':'boolean','description':_0x19eeb7[_0x9dda0b(0xd9)],'default':![]})[_0x9dda0b(0xad)](_0x19eeb7[_0x9dda0b(0x161)],{'type':_0x19eeb7[_0x9dda0b(0x1b7)],'description':_0x9dda0b(0xa4),'default':![]})[_0x9dda0b(0xad)](_0x19eeb7['zkQXB'],{'type':_0x19eeb7['LWHdA'],'description':_0x9dda0b(0x191)})[_0x9dda0b(0xad)](_0x19eeb7[_0x9dda0b(0x197)],{'type':_0x9dda0b(0xa1),'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x9dda0b(0x96),{'type':_0x19eeb7['LWHdA'],'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'});},async _0x23a376=>{const _0x46acb5=_0xf70511;await _0x19eeb7['kklqu'](withTelemetry,_0x19eeb7['MbOuI'],_0x4c4664=>addEnv(_0x23a376['profile-name'],{'ci':_0x23a376['ci'],'skipAuth':_0x23a376[_0x46acb5(0x110)],'url':_0x23a376[_0x46acb5(0x123)],'force':_0x23a376['force'],'cdpEndpoint':_0x23a376[_0x46acb5(0x96)]},_0x4c4664),{'isElectron':Boolean(_0x23a376[_0x19eeb7['FbVTA']])});})[_0xf70511(0x1c8)](_0x19eeb7['jueSC'],_0x19eeb7['WosQy'],_0xb2ddeb=>{const _0x315092=_0xf70511;return _0xb2ddeb[_0x315092(0x134)](_0x19eeb7['ZwjxK'],{'type':_0x19eeb7['LWHdA'],'description':_0x19eeb7[_0x315092(0x19e)],'demandOption':!![]});},async _0x30b03e=>{const _0x25a805=_0xf70511;await withTelemetry(_0x19eeb7['NmEBG'],()=>useEnv(_0x30b03e[_0x25a805(0xa7)]));})[_0xf70511(0x1c8)]('encrypt-auth\x20<profile>','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)',_0x547776=>{const _0x2110b4=_0xf70511;return _0x547776[_0x2110b4(0x134)]('profile',{'type':_0x2110b4(0x118),'description':_0x2110b4(0x162),'demandOption':!![]});},async _0x4ec63e=>{const _0x4d39ff=_0xf70511;await _0x19eeb7[_0x4d39ff(0x8c)](withTelemetry,_0x4d39ff(0x111),()=>authEncrypt(_0x4ec63e['profile']));})['command']('ls','List\x20all\x20profiles',()=>{},async()=>{const _0x515746=_0xf70511;await _0x19eeb7[_0x515746(0xec)](withTelemetry,'profile\x20ls',()=>envList());})['command']('update\x20<profile-name>',_0x19eeb7[_0xf70511(0x165)],_0x1b543a=>{const _0x1423fa=_0xf70511;return _0x1b543a[_0x1423fa(0x134)](_0x1423fa(0xa7),{'type':_0x19eeb7['LWHdA'],'description':_0x19eeb7['DDWvA'],'demandOption':!![]});},async _0x290035=>{const _0x1d36bc=_0xf70511;await withTelemetry(_0x1d36bc(0x94),_0x4d7796=>updateEnv(_0x290035[_0x1d36bc(0xa7)],_0x4d7796));})[_0xf70511(0x1c8)](_0xf70511(0x156),_0x19eeb7['BaNjS'],_0x24a1fc=>{const _0x3590f2=_0xf70511,_0x199ce7={'vZkzx':_0x3590f2(0x118),'LZRrp':_0x3590f2(0x162),'mWHzY':_0x3590f2(0xe1),'HGNfy':_0x19eeb7['AumMW'],'gBmIS':function(_0x24ff05,_0x4c8e6a,_0x165162){return _0x24ff05(_0x4c8e6a,_0x165162);},'TOwLO':_0x19eeb7['kKpAx'],'fdnsu':_0x3590f2(0x1d1),'QDUAW':function(_0x3e4d42,_0x507540,_0x49398f){const _0x3a8470=_0x3590f2;return _0x19eeb7[_0x3a8470(0xf4)](_0x3e4d42,_0x507540,_0x49398f);}};return _0x24a1fc['usage'](PROFILE_CONFIG_HELP)['command'](_0x19eeb7['wEsdG'],_0x19eeb7['MHNoj'],_0x153650=>{const _0x20bf25=_0x3590f2;return _0x153650['positional'](_0x20bf25(0xdb),{'type':_0x199ce7['vZkzx'],'description':_0x199ce7[_0x20bf25(0x12a)],'demandOption':!![]})['positional'](_0x199ce7[_0x20bf25(0x186)],{'type':_0x199ce7[_0x20bf25(0xdc)],'description':_0x20bf25(0xe9),'demandOption':!![]})['positional'](_0x199ce7['HGNfy'],{'type':_0x20bf25(0x118),'description':_0x20bf25(0x126),'demandOption':!![]});},async _0x33fec1=>{const _0x4b3423=_0x3590f2;await withTelemetry(_0x19eeb7['vXqKU'],()=>configSet(_0x33fec1[_0x4b3423(0xdb)],_0x33fec1[_0x4b3423(0xe1)],_0x33fec1[_0x4b3423(0x1d9)]));})['command']('get\x20<profile>\x20<key>','Get\x20a\x20config\x20value',_0x306671=>{const _0xbc515c=_0x3590f2;return _0x306671['positional'](_0xbc515c(0xdb),{'type':'string','description':_0x199ce7[_0xbc515c(0x12a)],'demandOption':!![]})[_0xbc515c(0x134)]('key',{'type':'string','description':'Config\x20key','demandOption':!![]});},async _0x19f070=>{const _0x28afa7=_0x3590f2;await _0x199ce7['gBmIS'](withTelemetry,'profile\x20config\x20get',()=>configGet(_0x19f070['profile'],_0x19f070[_0x28afa7(0xe1)]));})[_0x3590f2(0x1c8)](_0x19eeb7[_0x3590f2(0x8b)],_0x19eeb7[_0x3590f2(0x129)],_0x34ccb1=>{const _0x394a2d=_0x3590f2;return _0x34ccb1['positional'](_0x199ce7[_0x394a2d(0xd1)],{'type':_0x394a2d(0x118),'description':_0x199ce7['LZRrp'],'demandOption':!![]});},async _0x46c3c6=>{const _0x17e6a3=_0x3590f2;await withTelemetry(_0x19eeb7['nTPtN'],()=>configList(_0x46c3c6[_0x17e6a3(0xdb)]));})['command']('unset\x20<profile>\x20<key>',_0x19eeb7['hezxL'],_0x96a52e=>{const _0x35d002=_0x3590f2;return _0x96a52e['positional'](_0x35d002(0xdb),{'type':_0x199ce7[_0x35d002(0xdc)],'description':_0x35d002(0x162),'demandOption':!![]})[_0x35d002(0x134)](_0x199ce7['mWHzY'],{'type':'string','description':_0x199ce7[_0x35d002(0x1d8)],'demandOption':!![]});},async _0x507efb=>{const _0x1935b5=_0x3590f2;await _0x199ce7[_0x1935b5(0x1c1)](withTelemetry,_0x1935b5(0xa0),()=>configUnset(_0x507efb[_0x1935b5(0xdb)],_0x507efb[_0x1935b5(0xe1)]));})[_0x3590f2(0x117)](0x1,_0x19eeb7['ubXke']);})['demandCommand'](0x1,_0xf70511(0x121));})[_0x41bc93(0x1c8)](_0x41bc93(0x15f),_0x41bc93(0x148),()=>{},async()=>{const _0xd5cd12=_0x41bc93,_0x58e70f={'vsoru':function(_0x2e9bf4,_0x8db481,_0x4d7b40){return _0x2e9bf4(_0x8db481,_0x4d7b40);}};await _0x58e70f[_0xd5cd12(0x19d)](withTelemetry,_0xd5cd12(0x15f),()=>status());})[_0x41bc93(0x1c8)](_0x41bc93(0x104),'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x46a3f2=_0x41bc93,_0x2b0ef7={'miITs':function(_0x5e6652,_0xd608f8,_0x3e31b1){return _0x5e6652(_0xd608f8,_0x3e31b1);},'ZSUik':'update'};await _0x2b0ef7['miITs'](withTelemetry,_0x2b0ef7[_0x46a3f2(0xd0)],()=>update());})[_0x41bc93(0x1c8)]('go','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)',_0x2fce30=>{const _0x516af3=_0x41bc93,_0x396805={'uXteR':_0x516af3(0x184),'wWPsr':'number','ZgFfd':_0x516af3(0x189),'letdj':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','pdIGU':_0x516af3(0x152),'gUIsx':'headed','AQVOE':_0x516af3(0xa1),'SaVch':_0x516af3(0xdd),'ORMZl':_0x516af3(0x118),'JjeJL':'partial','Wprzw':'debug-address-comments','XdoqK':'task'};return _0x2fce30['option'](_0x516af3(0xdb),{'type':'string','description':_0x516af3(0x98)})[_0x516af3(0xad)]('notes',{'type':_0x516af3(0x118),'description':_0x396805['uXteR']})[_0x516af3(0xad)]('scenario',{'type':_0x396805[_0x516af3(0x14d)],'description':'Scenario\x20index\x20(1-based)'})['option'](_0x396805[_0x516af3(0x168)],{'type':'string','description':_0x396805[_0x516af3(0x1bd)]})['option']('model',{'type':_0x516af3(0x118),'description':_0x396805[_0x516af3(0x167)]})[_0x516af3(0xad)](_0x396805['gUIsx'],{'type':_0x396805['AQVOE'],'description':_0x396805['SaVch'],'default':![]})[_0x516af3(0xad)](_0x516af3(0x146),{'type':_0x396805['ORMZl'],'hidden':!![],'choices':[_0x516af3(0xef),_0x396805[_0x516af3(0x85)],_0x516af3(0x1e5),_0x516af3(0xc2),'incomplete']})[_0x516af3(0xad)](_0x396805[_0x516af3(0x16b)],{'type':'boolean','hidden':!![]})['option']('env',{'type':_0x396805[_0x516af3(0x93)],'hidden':!![]})['option'](_0x396805[_0x516af3(0x140)],{'type':_0x396805['ORMZl'],'hidden':!![]})['option'](_0x516af3(0x19a),{'type':'number','hidden':!![]});},async _0x5f2f5b=>{const _0x1f4f99=_0x41bc93,_0x3d1c4e={'XVAhn':function(_0x5cba78,_0x4a11e5){return _0x5cba78(_0x4a11e5);}};await _0x3d1c4e[_0x1f4f99(0x92)](runGoCommand,_0x5f2f5b);})[_0x41bc93(0x1c8)]('auth',![],_0x331bca=>{const _0x4a1b8d=_0x41bc93,_0x422c77={'ZjYHR':'profile','qjEWK':'Profile\x20name','OrCzv':function(_0x241273,_0xf534ab){return _0x241273(_0xf534ab);}};return _0x331bca[_0x4a1b8d(0x1c8)](_0x4a1b8d(0x199),![],_0x396546=>{const _0x2a6521=_0x4a1b8d;return _0x396546['positional'](_0x422c77[_0x2a6521(0x149)],{'type':_0x2a6521(0x118),'description':_0x422c77[_0x2a6521(0xc5)],'demandOption':!![]});},async _0x3731f4=>{warnRenamed('ranger\x20auth\x20encrypt','ranger\x20profile\x20encrypt-auth'),await _0x422c77['OrCzv'](authEncrypt,_0x3731f4['profile']);})[_0x4a1b8d(0x117)](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command'](_0x41bc93(0xb7),![],_0x55403e=>{const _0x35a93a=_0x41bc93,_0x229444={'OZSRb':'skip-chromium','ttwhc':_0x35a93a(0x160),'QnglQ':'user','LIsEk':_0x35a93a(0x14a),'yOzTF':'url','xipxV':'force'};return _0x55403e['positional'](_0x35a93a(0xff),{'type':'string','description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})['option'](_0x229444[_0x35a93a(0x1a8)],{'type':_0x35a93a(0xa1),'description':_0x35a93a(0x1c7),'default':![]})['option'](_0x229444['ttwhc'],{'type':'string','choices':[_0x229444['QnglQ'],_0x35a93a(0x18f)],'description':_0x229444[_0x35a93a(0x141)]})[_0x35a93a(0xad)](_0x229444[_0x35a93a(0xd4)],{'type':_0x35a93a(0x118),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x229444['xipxV'],{'type':'boolean','description':_0x35a93a(0x130),'default':![]});},async _0x1ce564=>{const _0x2fd38e=_0x41bc93,_0x1c8902={'qSTZy':function(_0x3012bc,_0x330c83,_0xf13f65){return _0x3012bc(_0x330c83,_0xf13f65);},'mDlQF':_0x2fd38e(0x1dd),'QyEZr':_0x2fd38e(0x1d0),'xJNrK':function(_0x45bb77,_0x790aad,_0x5d1337){return _0x45bb77(_0x790aad,_0x5d1337);}};_0x1c8902['qSTZy'](warnRenamed,_0x1c8902['mDlQF'],_0x1c8902[_0x2fd38e(0x1e2)]),await _0x1c8902['xJNrK'](withTelemetry,_0x2fd38e(0x12b),_0x3e4f53=>start(_0x1ce564['token'],{'skipChromium':_0x1ce564['skip-chromium'],'scope':_0x1ce564['scope'],'url':_0x1ce564['url'],'force':_0x1ce564['force']},_0x3e4f53));})[_0x41bc93(0x1c8)]('verify-feature',![],_0x3d81ba=>{const _0x268d63=_0x41bc93,_0x7f7cbf={'ldYBf':_0x268d63(0x118),'NUuVB':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','ngWcM':_0x268d63(0xae),'yaAxv':_0x268d63(0x19a),'JiXGG':_0x268d63(0x154),'CsGiI':_0x268d63(0x189),'lgHNI':_0x268d63(0x1b1),'VoIqw':'verified','Rgxbq':_0x268d63(0x1e5)};return _0x3d81ba[_0x268d63(0xad)]('env',{'type':_0x7f7cbf['ldYBf'],'description':_0x7f7cbf[_0x268d63(0xcd)]})['option'](_0x268d63(0x91),{'type':_0x268d63(0x118),'description':_0x7f7cbf[_0x268d63(0x1c0)]})['option'](_0x7f7cbf[_0x268d63(0x1aa)],{'type':_0x7f7cbf['JiXGG'],'description':'Scenario\x20index\x20(1-based)'})[_0x268d63(0xad)](_0x268d63(0xdb),{'type':'string','hidden':!![]})[_0x268d63(0xad)]('notes',{'type':'string','hidden':!![]})['option']('scenario',{'type':_0x268d63(0x154),'hidden':!![]})[_0x268d63(0xad)](_0x7f7cbf['CsGiI'],{'type':_0x7f7cbf[_0x268d63(0x125)],'description':_0x7f7cbf['lgHNI']})['option'](_0x268d63(0x11a),{'type':'string','hidden':!![]})['option']('headed',{'type':_0x268d63(0xa1),'hidden':!![],'default':![]})[_0x268d63(0xad)](_0x268d63(0x146),{'type':'string','hidden':!![],'choices':[_0x7f7cbf['VoIqw'],'partial',_0x7f7cbf[_0x268d63(0xaa)],_0x268d63(0xc2),_0x268d63(0xda)]});},async _0x5173d2=>{await runGoCommand(_0x5173d2,!![]);})[_0x41bc93(0x1c8)](_0x41bc93(0x18a),![],_0x16eb6a=>{const _0x49a68b=_0x41bc93,_0x2152cf={'eDgTl':_0x49a68b(0x132),'YwrTD':_0x49a68b(0xa1),'vMNrQ':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','JJzDp':_0x49a68b(0xa4)};return _0x16eb6a['positional'](_0x2152cf['eDgTl'],{'type':'string','description':_0x49a68b(0x1bb),'demandOption':!![]})['option']('ci',{'type':_0x2152cf[_0x49a68b(0xa5)],'description':_0x2152cf['vMNrQ'],'default':![]})['option']('skip-auth',{'type':'boolean','description':_0x2152cf['JJzDp'],'default':![]});},async _0x3f9bbf=>{const _0x522843=_0x41bc93,_0x38776a={'MOvzA':function(_0x245228,_0x2b7d16,_0x3aaaae){return _0x245228(_0x2b7d16,_0x3aaaae);},'yzDFx':'ranger\x20profile\x20add','PdCMg':'add\x20env'};_0x38776a['MOvzA'](warnRenamed,_0x522843(0x135),_0x38776a[_0x522843(0x195)]),await _0x38776a[_0x522843(0x1d7)](withTelemetry,_0x38776a['PdCMg'],_0x1c3134=>addEnv(_0x3f9bbf['env-name'],{'ci':_0x3f9bbf['ci'],'skipAuth':_0x3f9bbf[_0x522843(0x110)]},_0x1c3134));})['command']('use\x20<env-name>',![],_0x481097=>{const _0x53208e=_0x41bc93,_0x4a5794={'yYTTC':'string'};return _0x481097['positional'](_0x53208e(0x132),{'type':_0x4a5794['yYTTC'],'description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x575a0d=>{const _0x2f8009=_0x41bc93,_0x3adbca={'ehBMR':_0x2f8009(0x176),'JEezg':function(_0x6aa231,_0x217a7d,_0x35e121){return _0x6aa231(_0x217a7d,_0x35e121);}};warnRenamed(_0x3adbca[_0x2f8009(0x13f)],'ranger\x20profile\x20use'),await _0x3adbca[_0x2f8009(0x1ad)](withTelemetry,_0x2f8009(0x87),()=>useEnv(_0x575a0d[_0x2f8009(0x132)]));})['command'](_0x41bc93(0x156),![],_0x190308=>{const _0x41a0bf=_0x41bc93,_0x4807bc={'lcRiM':'env','XiLvI':_0x41a0bf(0x118),'StTdD':'key','XxbnS':'value','Vavnl':'Config\x20value','KByKu':_0x41a0bf(0x150),'bVSpE':function(_0x506016,_0x2f0b5a,_0x58e5cd){return _0x506016(_0x2f0b5a,_0x58e5cd);},'oKiNJ':_0x41a0bf(0x188),'cTBFZ':_0x41a0bf(0x1c6),'ycqqB':'ranger\x20profile\x20config\x20list','Vmbmf':function(_0x5397e1,_0x37c3e1,_0x13794e){return _0x5397e1(_0x37c3e1,_0x13794e);},'RaEfZ':'Config\x20key\x20to\x20remove','tPqVH':_0x41a0bf(0x177),'Duqsa':'ranger\x20profile\x20config\x20unset','AdiLn':_0x41a0bf(0x127),'hDtVq':_0x41a0bf(0x1e4)};return _0x190308['command'](_0x41a0bf(0x133),![],_0x36f910=>{const _0x3cf26e=_0x41a0bf;return _0x36f910['positional'](_0x4807bc[_0x3cf26e(0x1db)],{'type':_0x4807bc['XiLvI'],'description':_0x3cf26e(0x150),'demandOption':!![]})[_0x3cf26e(0x134)](_0x4807bc[_0x3cf26e(0xfa)],{'type':_0x4807bc[_0x3cf26e(0xe0)],'description':_0x3cf26e(0xe9),'demandOption':!![]})['positional'](_0x4807bc['XxbnS'],{'type':_0x3cf26e(0x118),'description':_0x4807bc[_0x3cf26e(0xba)],'demandOption':!![]});},async _0x8e4116=>{const _0x48594f=_0x41a0bf;warnRenamed(_0x48594f(0x14f),_0x48594f(0xbb)),await withTelemetry('config\x20set',()=>configSet(_0x8e4116['env'],_0x8e4116['key'],_0x8e4116['value']));})['command'](_0x41a0bf(0xfd),![],_0x5aede9=>{const _0x3261b2=_0x41a0bf;return _0x5aede9[_0x3261b2(0x134)](_0x3261b2(0x1e1),{'type':_0x3261b2(0x118),'description':_0x4807bc['KByKu'],'demandOption':!![]})['positional'](_0x3261b2(0xe1),{'type':_0x4807bc[_0x3261b2(0xe0)],'description':_0x3261b2(0x138),'demandOption':!![]});},async _0xf42e5f=>{const _0x5a59a9=_0x41a0bf;warnRenamed(_0x5a59a9(0xe2),'ranger\x20profile\x20config\x20get'),await _0x4807bc['bVSpE'](withTelemetry,_0x4807bc['oKiNJ'],()=>configGet(_0xf42e5f[_0x5a59a9(0x1e1)],_0xf42e5f['key']));})['command'](_0x4807bc[_0x41a0bf(0x14b)],![],_0x34308b=>{const _0x3b52bf=_0x41a0bf;return _0x34308b['positional']('env',{'type':'string','description':_0x3b52bf(0x150),'demandOption':!![]});},async _0x43e9fe=>{const _0x56beb2=_0x41a0bf;warnRenamed(_0x4807bc[_0x56beb2(0x10a)],_0x4807bc['ycqqB']),await _0x4807bc[_0x56beb2(0x181)](withTelemetry,'config\x20list',()=>configList(_0x43e9fe[_0x56beb2(0x1e1)]));})[_0x41a0bf(0x1c8)]('unset\x20<env>\x20<key>',![],_0x190bdf=>{const _0x4c996d=_0x41a0bf;return _0x190bdf[_0x4c996d(0x134)](_0x4807bc['lcRiM'],{'type':_0x4807bc[_0x4c996d(0xe0)],'description':_0x4807bc['KByKu'],'demandOption':!![]})[_0x4c996d(0x134)](_0x4807bc['StTdD'],{'type':'string','description':_0x4807bc[_0x4c996d(0x194)],'demandOption':!![]});},async _0x38eadc=>{const _0x71b473=_0x41a0bf;_0x4807bc[_0x71b473(0x181)](warnRenamed,_0x4807bc['tPqVH'],_0x4807bc['Duqsa']),await _0x4807bc['bVSpE'](withTelemetry,_0x71b473(0x1a4),()=>configUnset(_0x38eadc[_0x71b473(0x1e1)],_0x38eadc[_0x71b473(0xe1)]));})[_0x41a0bf(0x117)](0x1,_0x4807bc[_0x41a0bf(0x1d4)]);})[_0x41bc93(0x1c8)]('env',![],_0x5c8544=>{const _0x47f950=_0x41bc93,_0x5df0a3={'pPsxY':function(_0x352fc5,_0x3e6450,_0x84890c){return _0x352fc5(_0x3e6450,_0x84890c);},'Lacgv':'string','dzXcY':_0x47f950(0x158),'zPMrx':'ranger\x20profile\x20update','pnpcT':'env\x20update','BQYpQ':'update\x20<env-name>','MksiD':'You\x20must\x20specify\x20an\x20env\x20subcommand'};return _0x5c8544['command']('ls',![],()=>{},async()=>{_0x5df0a3['pPsxY'](warnRenamed,'ranger\x20env\x20ls','ranger\x20profile\x20ls'),await withTelemetry('env\x20list',()=>envList());})['command'](_0x5df0a3['BQYpQ'],![],_0x2d9234=>{const _0x1ccadb=_0x47f950;return _0x2d9234['positional'](_0x1ccadb(0x132),{'type':_0x5df0a3['Lacgv'],'description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x3265c0=>{warnRenamed(_0x5df0a3['dzXcY'],_0x5df0a3['zPMrx']),await _0x5df0a3['pPsxY'](withTelemetry,_0x5df0a3['pnpcT'],_0x5f0dc3=>updateEnv(_0x3265c0['env-name'],_0x5f0dc3));})['demandCommand'](0x1,_0x5df0a3['MksiD']);})['command'](_0x41bc93(0x171),![],_0x40d39f=>{const _0x5338d9=_0x41bc93,_0x5df6be={'mmCnH':'string','Eukpu':'description','vRZur':'Feature\x20review\x20description','lDrEm':_0x5338d9(0x1a6),'izhDz':_0x5338d9(0x19f),'LxBGJ':'ranger\x20feature\x20create','bsKPH':function(_0x54cf00,_0x52a997,_0xef899e,_0x569820){return _0x54cf00(_0x52a997,_0xef899e,_0x569820);},'AReHk':'ranger\x20create','ynhrp':'--checklist','wYXzj':_0x5338d9(0xe4),'QEPtx':function(_0x1a37bf,_0x4f5942,_0x23f460){return _0x1a37bf(_0x4f5942,_0x23f460);},'eVuyC':_0x5338d9(0xc1),'icstQ':_0x5338d9(0x185),'HLWmz':_0x5338d9(0xa1),'CsOdW':_0x5338d9(0x151),'vrsSq':'Feature\x20review\x20ID','wnnjp':function(_0x4c7da9,_0xc9d9b4,_0x24e9a8){return _0x4c7da9(_0xc9d9b4,_0x24e9a8);},'lEKoc':_0x5338d9(0x142),'NPBfp':_0x5338d9(0x1b5),'OpWur':'ranger\x20feature\x20resume','oJcel':function(_0x1b676e,_0x3ab38b,_0x3b2bcd){return _0x1b676e(_0x3ab38b,_0x3b2bcd);},'Gshvf':_0x5338d9(0x15d),'fQkdD':_0x5338d9(0x9a),'QnZEB':_0x5338d9(0x17f),'INePB':_0x5338d9(0xc0),'ymMWE':function(_0x1294e2,_0x1c587a,_0x39bae9){return _0x1294e2(_0x1c587a,_0x39bae9);},'AiSVG':_0x5338d9(0xca),'ivPbS':_0x5338d9(0xc8),'oFDuJ':_0x5338d9(0x1b9),'SwDGm':function(_0x32b1f9,_0x4edbc0,_0x43a030){return _0x32b1f9(_0x4edbc0,_0x43a030);},'ooLtC':_0x5338d9(0x100),'ifCHl':'ranger\x20restore','yMzZO':'feature\x20restore','Prtnd':'create\x20<name>','ZDXxk':'add-checklist-item\x20<description>','OtnEE':_0x5338d9(0x182),'AQZLa':_0x5338d9(0xb6),'eSXbv':'restore\x20<id>','LWnad':_0x5338d9(0x1ce)};return _0x40d39f[_0x5338d9(0x1c8)](_0x5df6be[_0x5338d9(0x9f)],![],_0x323b62=>{const _0x5703b1=_0x5338d9;return _0x323b62[_0x5703b1(0x134)](_0x5703b1(0x14e),{'type':_0x5df6be['mmCnH'],'description':_0x5703b1(0x18c),'demandOption':!![]})[_0x5703b1(0xad)](_0x5df6be[_0x5703b1(0xab)],{'type':_0x5df6be[_0x5703b1(0x8a)],'alias':'d','description':_0x5df6be['vRZur']})[_0x5703b1(0xad)](_0x5703b1(0x159),{'type':_0x5df6be['lDrEm'],'alias':'c','description':_0x5df6be['izhDz']})[_0x5703b1(0xad)]('scenario',{'type':'array','hidden':!![]});},async _0x58191f=>{const _0x5c838c=_0x5338d9;warnRenamed(_0x5df6be['LxBGJ'],'ranger\x20create'),_0x5df6be[_0x5c838c(0x1c5)](warnFlagRenamed,_0x5df6be[_0x5c838c(0x19c)],_0x5df6be[_0x5c838c(0x198)],_0x5df6be['wYXzj']);const _0x3c0791=_0x58191f[_0x5c838c(0x19b)]||_0x58191f[_0x5c838c(0x159)];await _0x5df6be[_0x5c838c(0xa6)](withTelemetry,_0x5df6be['eVuyC'],()=>featureCreate(_0x58191f[_0x5c838c(0x14e)],{'description':_0x58191f[_0x5c838c(0x17e)],'scenarios':_0x3c0791}));})['command']('list',![],_0x2dc038=>{const _0x83debb=_0x5338d9;return _0x2dc038['option'](_0x5df6be['icstQ'],{'type':_0x5df6be['HLWmz'],'description':_0x83debb(0x15b)})[_0x83debb(0xad)]('limit',{'type':'number','alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})[_0x83debb(0xad)](_0x5df6be['CsOdW'],{'type':_0x83debb(0x154),'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option']('include-deleted',{'type':_0x5df6be[_0x83debb(0xcc)],'alias':'d','description':_0x83debb(0xe5),'default':![]});},async _0x42c680=>{const _0x5674a1=_0x5338d9;warnRenamed('ranger\x20feature\x20list',_0x5674a1(0xfe)),await _0x5df6be['QEPtx'](withTelemetry,'feature\x20list',()=>featureList({'currentBranch':_0x42c680[_0x5674a1(0x185)],'limit':_0x42c680[_0x5674a1(0x89)],'offset':_0x42c680['offset'],'includeDeleted':_0x42c680['include-deleted']}));})[_0x5338d9(0x1c8)](_0x5338d9(0x1d2),![],_0x295cc2=>{const _0x492fe5=_0x5338d9;return _0x295cc2[_0x492fe5(0x134)]('id',{'type':'string','description':_0x5df6be['vrsSq']});},async _0x114f8a=>{const _0x2e50cc=_0x5338d9;_0x5df6be[_0x2e50cc(0xf7)](warnRenamed,_0x2e50cc(0x8e),'ranger\x20show'),await withTelemetry(_0x5df6be[_0x2e50cc(0xb0)],()=>featureShow(_0x114f8a['id']));})[_0x5338d9(0x1c8)](_0x5338d9(0xbc),![],_0x12342e=>{const _0x4d121d=_0x5338d9;return _0x12342e['positional']('id',{'type':_0x4d121d(0x118),'description':_0x5df6be['NPBfp']});},async _0x1cf30a=>{const _0xe8c64e=_0x5338d9;warnRenamed(_0x5df6be[_0xe8c64e(0x116)],'ranger\x20resume'),await _0x5df6be[_0xe8c64e(0xf6)](withTelemetry,_0x5df6be[_0xe8c64e(0x10d)],()=>featureResume(_0x1cf30a['id']));})[_0x5338d9(0x1c8)](_0x5df6be[_0x5338d9(0x137)],![],_0x1fb0c3=>{const _0x1863b5=_0x5338d9;return _0x1fb0c3['positional']('description',{'type':_0x5df6be[_0x1863b5(0x8a)],'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':_0x1863b5(0x118),'description':_0x1863b5(0xc0)});},async _0x626bcc=>{const _0x569bd8=_0x5338d9;warnRenamed(_0x5df6be['fQkdD'],_0x5df6be['QnZEB']),await withTelemetry(_0x569bd8(0x120),()=>featureAddScenario(_0x626bcc['description'],_0x626bcc['id']));})['command'](_0x5df6be[_0x5338d9(0xea)],![],_0x1b71e1=>{const _0x3be2fa=_0x5338d9;return _0x1b71e1['positional']('id',{'type':_0x5df6be[_0x3be2fa(0x8a)],'description':_0x5df6be[_0x3be2fa(0x1e3)]});},async _0x2a4bbb=>{const _0x42e2d1=_0x5338d9;_0x5df6be[_0x42e2d1(0x180)](warnRenamed,_0x5df6be[_0x42e2d1(0x1dc)],_0x42e2d1(0x9d)),await _0x5df6be['wnnjp'](withTelemetry,_0x5df6be['ivPbS'],()=>featureGetReview(_0x2a4bbb['id']));})[_0x5338d9(0x1c8)](_0x5df6be[_0x5338d9(0x187)],![],_0x130061=>{return _0x130061['positional']('id',{'type':_0x5df6be['mmCnH'],'description':_0x5df6be['vrsSq']});},async _0x17627b=>{const _0x3aa385=_0x5338d9;warnRenamed(_0x3aa385(0x147),_0x5df6be[_0x3aa385(0xb8)]),await _0x5df6be['SwDGm'](withTelemetry,_0x5df6be[_0x3aa385(0x11f)],()=>featureDelete(_0x17627b['id']));})[_0x5338d9(0x1c8)](_0x5df6be[_0x5338d9(0x112)],![],_0x19012e=>{const _0x59beac=_0x5338d9;return _0x19012e[_0x59beac(0x134)]('id',{'type':_0x5df6be[_0x59beac(0x8a)],'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x156a9b=>{const _0x54a1c4=_0x5338d9;warnRenamed(_0x54a1c4(0x1b8),_0x5df6be['ifCHl']),await _0x5df6be['ymMWE'](withTelemetry,_0x5df6be['yMzZO'],()=>featureRestore(_0x156a9b['id']));})['demandCommand'](0x1,_0x5df6be['LWnad']);})[_0x41bc93(0x1c8)]('hook',![],_0x5ca294=>{const _0x3ec5a5=_0x41bc93,_0x525e80={'qhToD':_0x3ec5a5(0xeb),'IznaZ':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','UqatY':_0x3ec5a5(0x17d),'kUgmv':_0x3ec5a5(0x118),'VkkKT':function(_0xd55123,_0xcc7520,_0x24703b){return _0xd55123(_0xcc7520,_0x24703b);},'vsWHq':_0x3ec5a5(0x12e),'fUdfy':'enable','pgXDF':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','OqnKx':'disable','pSNDF':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','TgAgx':_0x3ec5a5(0x14e),'rJPdd':_0x3ec5a5(0xbd)};return _0x5ca294['command'](_0x525e80['fUdfy'],_0x525e80[_0x3ec5a5(0x107)],_0x35a73f=>{const _0x597be5=_0x3ec5a5;return _0x35a73f['option'](_0x525e80[_0x597be5(0x15e)],{'type':_0x597be5(0x118),'description':_0x525e80[_0x597be5(0x95)]});},async _0x466df2=>{const _0x194eb9=_0x3ec5a5;await withTelemetry(_0x525e80[_0x194eb9(0x169)],()=>hook('enable',_0x466df2['session-id']));})[_0x3ec5a5(0x1c8)](_0x525e80['OqnKx'],_0x525e80[_0x3ec5a5(0x145)],_0x20a504=>{const _0x80bac=_0x3ec5a5;return _0x20a504[_0x80bac(0xad)](_0x80bac(0xeb),{'type':_0x525e80['kUgmv'],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x18ebd9=>{const _0x27e2c5=_0x3ec5a5;await _0x525e80[_0x27e2c5(0xc7)](withTelemetry,_0x525e80['vsWHq'],()=>hook('disable',_0x18ebd9[_0x27e2c5(0xeb)]));})['option'](_0x525e80[_0x3ec5a5(0xb2)],{'type':_0x525e80[_0x3ec5a5(0x11b)],'description':_0x525e80[_0x3ec5a5(0x16c)]})[_0x3ec5a5(0xad)]('session-id',{'type':_0x525e80['kUgmv'],'description':_0x525e80['IznaZ']});},async _0x5c44c3=>{const _0x1b8c15=_0x41bc93;_0x5c44c3['name']&&await hook(_0x5c44c3['name'],_0x5c44c3[_0x1b8c15(0xeb)]);})[_0x41bc93(0x117)](0x1,'You\x20must\x20specify\x20a\x20command')[_0x41bc93(0x163)]()['fail'](async(_0x35ba94,_0x1a8fa2,_0x1bcc25)=>{const _0x4ded77=_0x41bc93,_0x2aaa45={'GlsNk':function(_0x24b950,_0x476ee5){return _0x24b950(_0x476ee5);},'QfJXE':'Unknown\x20command','gRGrE':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','QNNPB':function(_0x488d3e){return _0x488d3e();},'MlVuU':function(_0x2511f2,_0x24e97c){return _0x2511f2||_0x24e97c;}},_0xf09d9e=_0x2aaa45[_0x4ded77(0x174)](sanitizeArgs,process[_0x4ded77(0x11d)][_0x4ded77(0x88)](0x2)),_0x3d6cc5=getErrorType(_0x35ba94,_0x1a8fa2);if(_0x35ba94&&_0x35ba94['includes'](_0x2aaa45['QfJXE'])){const _0x373681=process['argv'][0x2];console[_0x4ded77(0x10f)](_0x4ded77(0xc4)+_0x373681),console[_0x4ded77(0x10f)](_0x2aaa45[_0x4ded77(0xe8)]);}else{if(_0x35ba94)console['error']('\x0a'+_0x35ba94+'\x0a');else _0x1a8fa2&&console[_0x4ded77(0x10f)]('\x0aError:\x20'+_0x1a8fa2[_0x4ded77(0x170)]+'\x0a');}await logDesirePath({'rawCommand':_0xf09d9e,'errorMessage':_0x35ba94||_0x1a8fa2?.[_0x4ded77(0x170)],'errorType':_0x3d6cc5});const _0x4fbc6f=_0x2aaa45[_0x4ded77(0x9b)](getCurrentCollector);_0x4fbc6f&&await _0x4fbc6f[_0x4ded77(0x1d5)](_0x1a8fa2||new Error(_0x2aaa45['MlVuU'](_0x35ba94,_0x4ded77(0xbe)))),process['exit'](0x1);})['epilogue'](_0x41bc93(0x1ab)+_0x41bc93(0x12f)+'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)')['help']()['alias']('help','h')['parse']();
|
|
2
|
+
const _0x448d53=_0x572d;(function(_0x14dc67,_0x58a5d7){const _0x232ccd=_0x572d,_0x33b501=_0x14dc67();while(!![]){try{const _0x40e9c2=-parseInt(_0x232ccd(0xe8))/0x1+parseInt(_0x232ccd(0x1b4))/0x2+-parseInt(_0x232ccd(0x168))/0x3+parseInt(_0x232ccd(0x1e8))/0x4+-parseInt(_0x232ccd(0xfe))/0x5*(-parseInt(_0x232ccd(0x16e))/0x6)+parseInt(_0x232ccd(0x1ce))/0x7*(-parseInt(_0x232ccd(0x1cb))/0x8)+-parseInt(_0x232ccd(0x14d))/0x9;if(_0x40e9c2===_0x58a5d7)break;else _0x33b501['push'](_0x33b501['shift']());}catch(_0x8aa524){_0x33b501['push'](_0x33b501['shift']());}}}(_0x324e,0x7a0cf));function _0x572d(_0x469936,_0x17f839){_0x469936=_0x469936-0xa2;const _0x324e2a=_0x324e();let _0x572d4d=_0x324e2a[_0x469936];return _0x572d4d;}import _0x1d593c from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x333372=_0x572d,_0x44abf5={'hXodB':function(_0x60eb8d,_0x4d566d){return _0x60eb8d(_0x4d566d);},'AmyeU':function(_0x5aa655,_0x39e368){return _0x5aa655!==_0x39e368;},'Yzbhw':function(_0x44bb45,_0x184b08,_0x35cf85){return _0x44bb45(_0x184b08,_0x35cf85);},'EEPxs':_0x333372(0x172),'gJQQV':function(_0x16ca47,_0x1869ae,_0x3a3c52){return _0x16ca47(_0x1869ae,_0x3a3c52);}};let _0x50bfc7=process[_0x333372(0x145)]();const _0x309374=_0x44abf5['hXodB'](parse,_0x50bfc7)[_0x333372(0x182)];while(_0x44abf5[_0x333372(0x189)](_0x50bfc7,_0x309374)){if(_0x44abf5['hXodB'](existsSync,_0x44abf5[_0x333372(0xd4)](join,_0x50bfc7,_0x44abf5[_0x333372(0xb4)]))||existsSync(_0x44abf5[_0x333372(0xcf)](join,_0x50bfc7,'.env')))return _0x50bfc7;_0x50bfc7=_0x44abf5['hXodB'](dirname,_0x50bfc7);}return process['cwd']();}_0x1d593c[_0x448d53(0xaa)]({'path':join(findProjectRoot(),'.env')});import _0x7e284 from'yargs/yargs';function _0x324e(){const _0x5f284b=['Enable\x20Ranger\x20hooks\x20for\x20this\x20session','add-scenario\x20<description>','Scenario\x20number\x20to\x20edit\x20(1-based)','uGhts','BLhTI','dbgRh','AmyeU','IrkDs','neOGy','profile\x20add','restore\x20<id>','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','gYMol','key','feature\x20delete','issues','token','number','Environment\x20name','name','positional','arJPr','checklist','list\x20<profile>','profile\x20encrypt-auth','ANhSu','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','partial','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','hcouN','ranger\x20feature\x20create','MXuVx','oRwdI','kLabr','project','ranger\x20profile\x20config\x20set','ZPJls','model','qVfzD','string','vlwwW','nynpk','ranger\x20feature\x20show','auWvW','headed','env','gOucP','Initialize\x20Ranger\x20in\x20your\x20project','list','816152mbfhim','lfwns','env\x20update','feature\x20add-checklist-item','Feature\x20review\x20ID\x20to\x20restore','dELeB','XBqWP','repeat','dVbha','Install\x20Ranger\x20skills','value','use\x20<profile-name>','JaaGJ','jZkEh','Name\x20of\x20the\x20profile\x20to\x20update','phdQV','ranger\x20profile\x20config\x20list','setup-ci\x20<token>','ranger\x20profile\x20ls','List\x20all\x20config\x20for\x20a\x20profile','ranger\x20create','cdp-endpoint','Install\x20skills\x20for\x20OpenCode','843032eJKjBV','Config\x20value','--checklist','7sIMUZx','wDSEf','YJOUR','Name\x20of\x20the\x20environment','verified','uhKut','create\x20<name>','vevIW','nhODV','current-branch','update\x20<env-name>','ARBlZ','MIVWa','Twenp','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','ranger\x20feature\x20delete','Scenario\x20description','Switch\x20to\x20using\x20a\x20specific\x20profile','APBuB','GFpoT','Config\x20key','uAsnx','SFVcE','help','ranger\x20restore','3469364fsGRXg','LTGSa','command','ranger\x20profile\x20config\x20get','LPzMi','evaluationReason','OYqaD','batgv','exit','start','aoRKT','Documentation:\x0a','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','ranger\x20verify-feature','ranger\x20env\x20ls','List\x20all\x20feature\x20reviews','Manage\x20profile\x20configuration','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','ZlOBl','jyVBS','error','skillup','irtkl','get-feedback\x20[id]','array','profile\x20config\x20list','WCJws','iYQWX','WwFNE','bACVY','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','scope','feature\x20get-feedback','config','PfCwB','evaluation','some','\x0aError:\x20','RbVdK','ranger\x20start','kFkva','demandCommand','Include\x20soft-deleted\x20feature\x20reviews','EEPxs','rBybU','scenario','kQzCd','exitCode','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','item','EAGTK','profile','jiSoj','ranger\x20profile\x20update','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','cdBlm','xGwSe','add-checklist-item\x20<description>','Scenario\x20index\x20(1-based)','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','PRigz','QfhVs','base-url','eoRTf','--scenario','DVQCm','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','add-scenario','RSJSq','Summary:\x20','gJQQV','add\x20env','dElfZ','SgcQw','oFejQ','Yzbhw','failed','incomplete','ranger\x20add\x20env','severity','bvqfV','exclude-scenario','mDUmZ','mzAcs','map','GMJef','New\x20scenario\x20description','klaNe','You\x20must\x20specify\x20a\x20config\x20subcommand','skip-auth','.\x20[','include-deleted','xuGzG','ranger\x20delete','allow-insecure-localhost','418682dKaDYK','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','xjpPR','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','tKAyY','ranger\x20profile\x20add','ieUbe','ycHAx','List\x20all\x20profiles','start-path','NrQUX','verify-feature','feature\x20show','disable','Feature\x20review\x20description','profile-name','RqpJf','Sqbzk','XDvGY','ranger\x20config\x20list','default','oIbfb','15QMlPQV','session-id','IImPa','vcfdC','zqRaY','usage','lzTwN','ccvVi','iTTas','HluqK','kSiDn','rdRMx','task','Number\x20of\x20feature\x20reviews\x20to\x20skip','get\x20<profile>\x20<key>','Utshm','force','fCRJB','config\x20unset','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','login','TQtQy','JfwQd','pVKIW','\x20is\x20now\x20','qSZQr','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','Vnfiq','YJfwI','limit','update','ranger\x20config\x20get','riHUL','pWjDo','gfZQc','Install\x20scope\x20for\x20skills','Update\x20authentication\x20for\x20an\x20existing\x20profile','zuSba','message','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','epilogue','strictCommands','hook','Profile\x20name','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','GgjFr','argv','skip-chromium','profile\x20update','debug-outcome','start\x20[token]','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','wussg','\x0aIssues:','bkPxH','status','JpMQK','RBqAd','MqXsa','Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','restore','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','length','json','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','AaxVe','Feature\x20review\x20name','ranger\x20feature\x20add-checklist-item','blocked','cwd','TBTOB','set\x20<env>\x20<key>\x20<value>','wmESq','resume','kwGRC','jBlEi','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','5754843dHxhIA','vwREu','url','GlRqZ','CoWDV','ranger\x20go','startsWith','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','rmbyG','bJAXt','unset\x20<profile>\x20<key>','xllog','log','Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/update/config/encrypt-auth)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset\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.','flag','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','profile\x20ls','dklFE','aFhfH','feature','trackCommandError','Usage:\x20ranger\x20profile\x20config\x20<command>\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\x0aKeys:\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20header.<name>\x20\x20\x20\x20Custom\x20HTTP\x20header\x20(e.g.,\x20header.X-Test-Mode)\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\x20ci\x20header.Authorization\x20\x27${AUTH_TOKEN}\x27','boolean','description','brKAJ','list\x20<env>','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','637101ARukMz','Feature\x20review\x20ID','\x20INCOMPLETE','ranger','enable','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','1200714diDAqD','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','GwBke','dgura','.ranger','ZfsPZ','unset\x20<env>\x20<key>','Skip\x20Chromium\x20browser\x20installation','ZjAGc','ranger\x20config\x20set','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','opencode','get\x20<env>\x20<key>','nFatP','user','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','Rulrf','YbvSk','nyzqb','option','root'];_0x324e=function(){return _0x5f284b;};return _0x324e();}import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.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{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x433516=>{const _0x2878fd=_0x448d53,_0x13f3fe={'BlmlK':function(_0x5ca130){return _0x5ca130();}},_0x104d27=_0x13f3fe['BlmlK'](getCurrentCollector);_0x104d27&&await _0x104d27[_0x2878fd(0x161)](_0x433516),process[_0x2878fd(0xb8)]=0x1;});const rawArgs=process[_0x448d53(0x12d)]['slice'](0x2),TOP_LEVEL_HELP=_0x448d53(0x15a),PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true',PROFILE_CONFIG_HELP=_0x448d53(0x162);function warnRenamed(_0x5b564e,_0x586f97){const _0x32611f=_0x448d53;console['error']('\x0a'+_0x5b564e+_0x32611f(0x116)+_0x586f97+'\x0a');}function argUsed(_0x2e1fce){const _0x3f6f3d=_0x448d53;return rawArgs[_0x3f6f3d(0xad)](_0x586a73=>_0x586a73===_0x2e1fce||_0x586a73[_0x3f6f3d(0x153)](_0x2e1fce+'='));}function warnFlagRenamed(_0x34fb01,_0xd360ab,_0x506992){const _0x44cbde=_0x448d53,_0x107e7c={'DlQBY':function(_0x33a2ea,_0x2fe22a){return _0x33a2ea(_0x2fe22a);},'MXuVx':function(_0x4227dd,_0xcc7f48,_0x301261){return _0x4227dd(_0xcc7f48,_0x301261);}};_0x107e7c['DlQBY'](argUsed,_0xd360ab)&&_0x107e7c[_0x44cbde(0x1a2)](warnRenamed,_0x34fb01+'\x20'+_0xd360ab,_0x34fb01+'\x20'+_0x506992);}async function runGoCommand(_0x7db2e6,_0x5782d9=![]){const _0x325d54=_0x448d53,_0x4fccde={'RbVdK':function(_0x2fe678,_0x240b44,_0x452334){return _0x2fe678(_0x240b44,_0x452334);},'oGqrq':_0x325d54(0x1f5),'OYqaD':'ranger\x20go','LTGSa':'--env','bJAXt':'--profile','Vnfiq':'--notes','zvseo':'--item','riHUL':'--scenario','ocxSM':function(_0x232861,_0x10fb8c){return _0x232861(_0x10fb8c);},'rmbyG':_0x325d54(0xf1),'iYQWX':_0x325d54(0x130),'vwREu':'debug-address-comments','gxInK':function(_0x44bea8,_0x1ab84c){return _0x44bea8+_0x1ab84c;},'JYTzw':_0x325d54(0x1d2),'yrEtL':function(_0x5d4ce7,_0x1445f7){return _0x5d4ce7===_0x1445f7;},'YJfwI':_0x325d54(0x16a),'uGhts':'\x20PARTIAL','jeXCm':'\x20FAILED','HxTLp':_0x325d54(0x135)};_0x5782d9&&_0x4fccde[_0x325d54(0xaf)](warnRenamed,_0x4fccde['oGqrq'],_0x325d54(0x152));warnFlagRenamed(_0x4fccde[_0x325d54(0x1ee)],_0x4fccde[_0x325d54(0x1e9)],_0x4fccde[_0x325d54(0x156)]),warnFlagRenamed('ranger\x20go','--task',_0x4fccde[_0x325d54(0x119)]),warnFlagRenamed(_0x4fccde['OYqaD'],_0x4fccde['zvseo'],_0x4fccde[_0x325d54(0x11e)]);const _0x31aa2f=await loadRangerConfig(),_0x1b8bfe=_0x7db2e6[_0x325d54(0x1a8)],_0x196140=_0x31aa2f['model'],_0x41ea8c=_0x1b8bfe??_0x196140,_0x43885f=_0x1b8bfe?_0x325d54(0x15b):_0x196140?'config':_0x325d54(0xfc),_0x2ad48c=await _0x4fccde['ocxSM'](verifyFeature,{'featureId':_0x7db2e6['feature'],'profile':_0x7db2e6['profile']??_0x7db2e6['env'],'notes':_0x7db2e6['notes']??_0x7db2e6[_0x325d54(0x10a)],'scenario':_0x7db2e6[_0x325d54(0xb6)]??_0x7db2e6[_0x325d54(0xba)],'startPath':_0x7db2e6[_0x4fccde[_0x325d54(0x155)]],'debugOutcome':_0x7db2e6[_0x4fccde[_0x325d54(0xa4)]],'debugAddressComments':_0x7db2e6[_0x4fccde[_0x325d54(0x14e)]],'headed':_0x7db2e6['headed'],'verifyModel':_0x41ea8c,'verifyModelInput':_0x41ea8c,'verifyModelSource':_0x43885f});console['log'](_0x4fccde['gxInK']('\x0a','='[_0x325d54(0x1bb)](0x3c))),console['log'](_0x2ad48c[_0x325d54(0xac)]===_0x4fccde['JYTzw']?'\x20VERIFIED':_0x4fccde['yrEtL'](_0x2ad48c['evaluation'],_0x325d54(0xd6))?_0x4fccde[_0x325d54(0x11a)]:_0x2ad48c['evaluation']==='partial'?_0x4fccde[_0x325d54(0x186)]:_0x2ad48c[_0x325d54(0xac)]===_0x325d54(0x144)?'\x20BLOCKED':_0x4fccde['jeXCm']),console[_0x325d54(0x159)]('='['repeat'](0x3c)),console[_0x325d54(0x159)](_0x325d54(0xce)+_0x2ad48c['summary']),console[_0x325d54(0x159)]('Evaluation:\x20'+_0x2ad48c[_0x325d54(0xac)]),console[_0x325d54(0x159)]('Reason:\x20'+_0x2ad48c[_0x325d54(0x1ed)]),_0x2ad48c[_0x325d54(0x192)]?.[_0x325d54(0x13e)]&&(console[_0x325d54(0x159)](_0x4fccde['HxTLp']),_0x2ad48c['issues']['forEach']((_0x4b4cec,_0x1efa14)=>{const _0x30b1f6=_0x325d54;console['log']('\x0a'+(_0x1efa14+0x1)+_0x30b1f6(0xe3)+_0x4b4cec[_0x30b1f6(0xd8)]+']\x20'+_0x4b4cec[_0x30b1f6(0x164)]);})),process['exit'](_0x4fccde['yrEtL'](_0x2ad48c[_0x325d54(0xac)],_0x325d54(0x1d2))?0x0:0x1);}_0x7e284(process[_0x448d53(0x12d)]['slice'](0x2))['scriptName'](_0x448d53(0x16b))[_0x448d53(0x103)](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command'](_0x448d53(0x1d4),_0x448d53(0x111),_0x4010ab=>{const _0x4a7c84=_0x448d53,_0x42dd97={'Rulrf':'description','qSZQr':_0x4a7c84(0x1aa),'ePTly':_0x4a7c84(0xb6),'kQzCd':_0x4a7c84(0xa7)};return _0x4010ab['positional'](_0x4a7c84(0x196),{'type':_0x4a7c84(0x1aa),'description':_0x4a7c84(0x142),'demandOption':!![]})['option'](_0x42dd97[_0x4a7c84(0x17e)],{'type':_0x42dd97[_0x4a7c84(0x117)],'alias':'d','description':_0x4a7c84(0xf6)})['option'](_0x42dd97['ePTly'],{'type':'array','alias':'c','description':_0x42dd97[_0x4a7c84(0xb7)]})[_0x4a7c84(0x181)]('checklist',{'type':_0x4a7c84(0x200),'hidden':!![]});},async _0x59cd2d=>{const _0x59e6d7=_0x448d53,_0x2ed26f={'fdIHu':function(_0x5d7fb8,_0x149093,_0x2cc999,_0x56f2f2){return _0x5d7fb8(_0x149093,_0x2cc999,_0x56f2f2);},'RBqAd':'--scenario','AyVQr':function(_0x514527,_0x3058ac,_0x1a4b54){return _0x514527(_0x3058ac,_0x1a4b54);},'tAIpp':'create'};_0x2ed26f['fdIHu'](warnFlagRenamed,_0x59e6d7(0x1c8),'--checklist',_0x2ed26f[_0x59e6d7(0x139)]);const _0x450a3d=_0x59cd2d['scenario']||_0x59cd2d[_0x59e6d7(0x199)];await _0x2ed26f['AyVQr'](withTelemetry,_0x2ed26f['tAIpp'],()=>featureCreate(_0x59cd2d['name'],{'description':_0x59cd2d['description'],'scenarios':_0x450a3d}));})[_0x448d53(0x1ea)](_0x448d53(0x1b3),_0x448d53(0x1f7),_0xf3cc62=>{const _0x3414aa=_0x448d53,_0x309ba5={'TQtQy':'current-branch','ZjAGc':_0x3414aa(0x163),'fCRJB':_0x3414aa(0x12b),'JuRwa':_0x3414aa(0x11b),'NfFJL':_0x3414aa(0xb9),'jvGUf':_0x3414aa(0x10b),'MIVWa':'include-deleted','dgura':_0x3414aa(0xb3)};return _0xf3cc62[_0x3414aa(0x181)](_0x309ba5[_0x3414aa(0x113)],{'type':_0x309ba5[_0x3414aa(0x176)],'description':_0x309ba5[_0x3414aa(0x10f)]})['option'](_0x309ba5['JuRwa'],{'type':'number','alias':'l','description':_0x309ba5['NfFJL'],'default':0xa})[_0x3414aa(0x181)]('offset',{'type':'number','alias':'o','description':_0x309ba5['jvGUf'],'default':0x0})['option'](_0x309ba5[_0x3414aa(0x1da)],{'type':_0x309ba5['ZjAGc'],'alias':'d','description':_0x309ba5[_0x3414aa(0x171)],'default':![]});},async _0x5ed578=>{const _0x333200=_0x448d53,_0x505c3a={'kdrbO':function(_0xa7eb0f,_0x42322f,_0x2f0b9d){return _0xa7eb0f(_0x42322f,_0x2f0b9d);},'lgnpx':_0x333200(0x1b3)};await _0x505c3a['kdrbO'](withTelemetry,_0x505c3a['lgnpx'],()=>featureList({'currentBranch':_0x5ed578[_0x333200(0x1d7)],'limit':_0x5ed578['limit'],'offset':_0x5ed578['offset'],'includeDeleted':_0x5ed578[_0x333200(0xe4)]}));})[_0x448d53(0x1ea)]('show\x20[id]','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x4ed88e=>{const _0x5835eb=_0x448d53,_0x2c541b={'YpcHq':'string','ChlHP':'Feature\x20review\x20ID'};return _0x4ed88e[_0x5835eb(0x197)]('id',{'type':_0x2c541b['YpcHq'],'description':_0x2c541b['ChlHP']});},async _0x386b0e=>{await withTelemetry('show',()=>featureShow(_0x386b0e['id']));})['command']('resume\x20[id]',_0x448d53(0x167),_0x37740a=>{const _0x30fd43=_0x448d53,_0x18db1e={'HCUHT':_0x30fd43(0x1aa)};return _0x37740a[_0x30fd43(0x197)]('id',{'type':_0x18db1e['HCUHT'],'description':_0x30fd43(0x154)});},async _0x137877=>{const _0x24c8c4=_0x448d53,_0x49d292={'AgZhC':_0x24c8c4(0x149)};await withTelemetry(_0x49d292['AgZhC'],()=>featureResume(_0x137877['id']));})[_0x448d53(0x1ea)](_0x448d53(0x184),_0x448d53(0x1f4),_0x42b789=>{const _0xcdf28f=_0x448d53,_0xd67a72={'IrkDs':_0xcdf28f(0x164),'KlXci':_0xcdf28f(0x1aa),'nbFVq':_0xcdf28f(0x1df)};return _0x42b789['positional'](_0xd67a72[_0xcdf28f(0x18a)],{'type':_0xd67a72['KlXci'],'description':_0xd67a72['nbFVq'],'demandOption':!![]})[_0xcdf28f(0x181)]('id',{'type':_0xd67a72['KlXci'],'description':_0xcdf28f(0x12a)});},async _0x33bc8d=>{const _0x3b67fe=_0x448d53,_0xc2fcae={'nyzqb':_0x3b67fe(0xcc)};await withTelemetry(_0xc2fcae[_0x3b67fe(0x180)],()=>featureAddScenario(_0x33bc8d['description'],_0x33bc8d['id']));})[_0x448d53(0x1ea)]('edit-scenario\x20<description>',_0x448d53(0x133),_0x5ba5b5=>{const _0x6f3a3c=_0x448d53,_0x5ef84b={'CgBZV':_0x6f3a3c(0x1aa),'IltBC':_0x6f3a3c(0xdf)};return _0x5ba5b5['positional']('description',{'type':_0x5ef84b['CgBZV'],'description':_0x5ef84b['IltBC'],'demandOption':!![]})[_0x6f3a3c(0x181)](_0x6f3a3c(0xb6),{'type':'number','description':_0x6f3a3c(0x185),'demandOption':!![]})[_0x6f3a3c(0x181)]('id',{'type':_0x5ef84b['CgBZV'],'description':_0x6f3a3c(0x12a)});},async _0x130553=>{const _0x19a7bf=_0x448d53,_0xf93268={'eoRTf':'edit-scenario'};await withTelemetry(_0xf93268[_0x19a7bf(0xc8)],()=>featureEditScenario(_0x130553['description'],{'id':_0x130553['id'],'scenario':_0x130553['scenario']}));})['command']('report\x20[id]',_0x448d53(0x14c),_0x28992d=>{const _0x4b6c79=_0x448d53,_0x5656ce={'GDukk':_0x4b6c79(0x1aa),'MqXsa':_0x4b6c79(0x200),'Utshm':_0x4b6c79(0xcb),'LPzMi':'json','xsRaV':_0x4b6c79(0x163)};return _0x28992d[_0x4b6c79(0x197)]('id',{'type':_0x5656ce['GDukk'],'description':_0x4b6c79(0x169)})[_0x4b6c79(0x181)](_0x4b6c79(0xda),{'type':_0x5656ce[_0x4b6c79(0x13a)],'description':_0x5656ce[_0x4b6c79(0x10d)]})[_0x4b6c79(0x181)](_0x5656ce[_0x4b6c79(0x1ec)],{'type':_0x5656ce['xsRaV'],'description':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','default':![]});},async _0x5d569f=>{const _0xb37c26=_0x448d53,_0x363609=_0x5d569f[_0xb37c26(0xda)],_0x2286cf=_0x363609?_0x363609[_0xb37c26(0xdd)](_0x38f883=>Number(_0x38f883)):undefined;await withTelemetry('report',()=>featureReportPrDescription(_0x5d569f['id'],{'excludeScenarios':_0x2286cf,'json':_0x5d569f[_0xb37c26(0x13f)]}));})['command']('get-review\x20[id]','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0xc7af38=>{const _0xb0a3b2=_0x448d53,_0x1ec28a={'yePIu':_0xb0a3b2(0x1aa)};return _0xc7af38[_0xb0a3b2(0x197)]('id',{'type':_0x1ec28a['yePIu'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x2d221e=>{const _0x895926=_0x448d53,_0x16f9c1={'zqRaY':function(_0x201520,_0x1827b1,_0x467f58){return _0x201520(_0x1827b1,_0x467f58);},'lzTwN':'get-review'};await _0x16f9c1[_0x895926(0x102)](withTelemetry,_0x16f9c1[_0x895926(0x104)],()=>featureGetReview(_0x2d221e['id']));})['command']('delete\x20[id]','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x164ab2=>{const _0x4c6532=_0x448d53,_0x5c7572={'xPDGI':'string','blkqi':'Feature\x20review\x20ID'};return _0x164ab2[_0x4c6532(0x197)]('id',{'type':_0x5c7572['xPDGI'],'description':_0x5c7572['blkqi']});},async _0xb45c92=>{const _0x44acb3=_0x448d53,_0x3b0c1f={'xGwSe':function(_0x420e54,_0x261d9a,_0x56955a){return _0x420e54(_0x261d9a,_0x56955a);},'vlwwW':'delete'};await _0x3b0c1f[_0x44acb3(0xc1)](withTelemetry,_0x3b0c1f[_0x44acb3(0x1ab)],()=>featureDelete(_0xb45c92['id']));})['command'](_0x448d53(0x18d),'Restore\x20a\x20soft-deleted\x20feature\x20review',_0x176668=>{const _0x1b2255=_0x448d53,_0x2fd086={'ukvGa':_0x1b2255(0x1aa),'Dxwdj':_0x1b2255(0x1b8)};return _0x176668['positional']('id',{'type':_0x2fd086['ukvGa'],'description':_0x2fd086['Dxwdj'],'demandOption':!![]});},async _0x23ef8a=>{const _0x112fb2=_0x448d53,_0x1bac93={'YIwLz':function(_0x517170,_0x23f52c,_0xf256f){return _0x517170(_0x23f52c,_0xf256f);},'MQCMn':_0x112fb2(0x13c)};await _0x1bac93['YIwLz'](withTelemetry,_0x1bac93['MQCMn'],()=>featureRestore(_0x23ef8a['id']));})['command']('setup\x20[token]',_0x448d53(0x1b2),_0x52fd7e=>{const _0x31e9a8=_0x448d53,_0x28fb7e={'JfwQd':_0x31e9a8(0x163),'gYMol':_0x31e9a8(0x1dd),'mgURX':'scope','jBlEi':_0x31e9a8(0x14f),'lOBpe':_0x31e9a8(0x1dc),'gOucP':'opencode','RSJSq':'Skip\x20Claude\x20Code\x20plugin\x20+\x20skills\x20install\x20(for\x20OpenCode\x20users)','neOGy':'allow-insecure-localhost','quXVs':_0x31e9a8(0x132)};return _0x52fd7e['positional'](_0x31e9a8(0x193),{'type':'string','description':_0x31e9a8(0x18e)})[_0x31e9a8(0x181)](_0x31e9a8(0x12e),{'type':_0x28fb7e[_0x31e9a8(0x114)],'description':_0x28fb7e[_0x31e9a8(0x18f)],'default':![]})['option'](_0x28fb7e['mgURX'],{'type':'string','choices':[_0x31e9a8(0x17c),'project'],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})[_0x31e9a8(0x181)](_0x28fb7e[_0x31e9a8(0x14b)],{'type':_0x31e9a8(0x1aa),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})[_0x31e9a8(0x181)](_0x31e9a8(0x10e),{'type':_0x31e9a8(0x163),'description':_0x28fb7e['lOBpe'],'default':![]})[_0x31e9a8(0x181)](_0x28fb7e[_0x31e9a8(0x1b1)],{'type':'boolean','description':_0x28fb7e[_0x31e9a8(0xcd)],'default':![]})[_0x31e9a8(0x181)](_0x28fb7e[_0x31e9a8(0x18b)],{'type':_0x28fb7e[_0x31e9a8(0x114)],'description':_0x28fb7e['quXVs'],'default':![]});},async _0x15feec=>{const _0x347202=_0x448d53,_0x209840={'jjlwb':function(_0x121252,_0x2bff18,_0x24d4ba){return _0x121252(_0x2bff18,_0x24d4ba);}};await _0x209840['jjlwb'](withTelemetry,_0x347202(0x1f1),_0x198600=>start(_0x15feec[_0x347202(0x193)],{'skipChromium':_0x15feec[_0x347202(0x12e)],'scope':_0x15feec[_0x347202(0xa8)],'url':_0x15feec['url'],'force':_0x15feec['force'],'opencode':_0x15feec['opencode'],'allowInsecureLocalhost':_0x15feec['allow-insecure-localhost']},_0x198600));})['command'](_0x448d53(0x1c5),'Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0x4facaf=>{const _0x48c63a=_0x448d53,_0x33e34a={'YJOUR':'token','gfZQc':'string','HlbPi':'Ranger\x20API\x20token','pVKIW':_0x48c63a(0xbc),'DVQCm':'base-url','iGbYN':'skip-chromium','jyVBS':'boolean','Cciya':_0x48c63a(0x175)};return _0x4facaf[_0x48c63a(0x197)](_0x33e34a[_0x48c63a(0x1d0)],{'type':_0x33e34a[_0x48c63a(0x120)],'description':_0x33e34a['HlbPi'],'demandOption':!![]})['option'](_0x33e34a[_0x48c63a(0x115)],{'type':_0x48c63a(0x1aa),'description':_0x48c63a(0x118)})['option'](_0x33e34a[_0x48c63a(0xca)],{'type':_0x33e34a['gfZQc'],'description':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)'})[_0x48c63a(0x181)](_0x33e34a['iGbYN'],{'type':_0x33e34a[_0x48c63a(0x1fb)],'description':_0x33e34a['Cciya'],'default':![]});},async _0x2cf0a7=>{const _0x325f82=_0x448d53,_0x202fc8={'XdJTw':function(_0x24b24c,_0x8e6265,_0x290c26){return _0x24b24c(_0x8e6265,_0x290c26);},'brwUt':'setup-ci'};await _0x202fc8['XdJTw'](withTelemetry,_0x202fc8['brwUt'],_0x21eda5=>setupCi(_0x2cf0a7[_0x325f82(0x193)],{'profile':_0x2cf0a7[_0x325f82(0xbc)],'baseUrl':_0x2cf0a7[_0x325f82(0xc7)],'skipChromium':_0x2cf0a7['skip-chromium']},_0x21eda5));})['command']('login',_0x448d53(0x19d),()=>{},async()=>{const _0x5dd1af=_0x448d53,_0x1c193a={'oRwdI':function(_0x4ed021,_0x52f868,_0x4f03fb){return _0x4ed021(_0x52f868,_0x4f03fb);}};await _0x1c193a[_0x5dd1af(0x1a3)](withTelemetry,_0x5dd1af(0x112),()=>login());})['command'](_0x448d53(0x1fd),_0x448d53(0x1bd),_0x49438c=>{const _0x515e38=_0x448d53,_0x86cddc={'vevIW':'boolean'};return _0x49438c[_0x515e38(0x181)](_0x515e38(0x179),{'type':_0x86cddc[_0x515e38(0x1d5)],'description':_0x515e38(0x1ca),'default':![]})[_0x515e38(0x181)](_0x515e38(0xa8),{'type':'string','choices':['user',_0x515e38(0x1a5)],'description':_0x515e38(0x121)});},async _0x1944f2=>{const _0x21e6dc=_0x448d53,_0x5ed538={'nhODV':function(_0x2b2771,_0x32ea8a){return _0x2b2771(_0x32ea8a);},'kwGRC':'skillup'},_0x4204f9=_0x5ed538[_0x21e6dc(0x1d6)](Boolean,_0x1944f2['opencode']);await withTelemetry(_0x5ed538[_0x21e6dc(0x14a)],()=>skillup({'autoInstall':_0x1944f2['scope'],'platform':_0x4204f9?_0x21e6dc(0x179):'claude'}));})['command']('clean','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{const _0x28188d={'nkavC':'clean'};await withTelemetry(_0x28188d['nkavC'],()=>clean());})[_0x448d53(0x1ea)]('profile','Manage\x20profiles',_0x3f867b=>{const _0xd8da87=_0x448d53,_0x7cb856={'nFatP':_0xd8da87(0x13d),'RqpJf':'boolean','LpXXK':_0xd8da87(0xe2),'dVbha':_0xd8da87(0x10e),'CBDVQ':_0xd8da87(0x1dc),'KuyPg':_0xd8da87(0xe7),'tnWDV':'cdp-endpoint','uAsnx':_0xd8da87(0xf7),'NrQUX':'Name\x20of\x20the\x20profile','tKAyY':function(_0x5134b3,_0x2c86c5,_0x1128d1){return _0x5134b3(_0x2c86c5,_0x1128d1);},'XDvGY':_0xd8da87(0x1aa),'wmESq':function(_0x555898,_0x4a9468,_0x1bdf0b){return _0x555898(_0x4a9468,_0x1bdf0b);},'XvKcB':'profile','dbgRh':'profile\x20config\x20set','ZfsPZ':'profile\x20config\x20get','AaxVe':'Profile\x20name','uhKut':'Config\x20key\x20to\x20remove','JaaGJ':'Set\x20a\x20config\x20value','LPfLG':_0xd8da87(0x19a),'ekHEJ':'Remove\x20a\x20config\x20value','IImPa':'add\x20<profile-name>','vcfdC':'Add\x20profile\x20configuration','xVzIc':_0xd8da87(0x1bf),'Sqbzk':'update\x20<profile-name>','GlRqZ':_0xd8da87(0xaa),'ZPJls':_0xd8da87(0x1f8),'IMoLZ':'You\x20must\x20specify\x20a\x20profile\x20subcommand'};return _0x3f867b['usage'](PROFILE_HELP)[_0xd8da87(0x1ea)](_0x7cb856[_0xd8da87(0x100)],_0x7cb856[_0xd8da87(0x101)],_0x40e0a4=>{const _0x400cff=_0xd8da87;return _0x40e0a4['positional']('profile-name',{'type':_0x400cff(0x1aa),'description':_0x7cb856[_0x400cff(0x17b)],'demandOption':!![]})[_0x400cff(0x181)]('ci',{'type':_0x7cb856['RqpJf'],'description':_0x400cff(0x16d),'default':![]})[_0x400cff(0x181)](_0x7cb856['LpXXK'],{'type':_0x400cff(0x163),'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0x400cff(0x181)](_0x400cff(0x14f),{'type':'string','description':_0x400cff(0xbf)})[_0x400cff(0x181)](_0x7cb856[_0x400cff(0x1bc)],{'type':_0x7cb856[_0x400cff(0xf8)],'description':_0x7cb856['CBDVQ'],'default':![]})['option'](_0x400cff(0x1c9),{'type':_0x400cff(0x1aa),'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})[_0x400cff(0x181)](_0x7cb856['KuyPg'],{'type':_0x7cb856['RqpJf'],'description':_0x400cff(0x132),'default':![]});},async _0x13a20a=>{const _0x3cf6b5=_0xd8da87;await withTelemetry(_0x3cf6b5(0x18c),_0x144881=>addEnv(_0x13a20a['profile-name'],{'ci':_0x13a20a['ci'],'skipAuth':_0x13a20a[_0x3cf6b5(0xe2)],'url':_0x13a20a['url'],'force':_0x13a20a['force'],'cdpEndpoint':_0x13a20a[_0x3cf6b5(0x1c9)],'allowInsecureLocalhost':_0x13a20a[_0x3cf6b5(0xe7)]},_0x144881),{'isElectron':Boolean(_0x13a20a[_0x7cb856['tnWDV']])});})[_0xd8da87(0x1ea)](_0x7cb856['xVzIc'],_0xd8da87(0x1e0),_0x430214=>{const _0x4241ae=_0xd8da87;return _0x430214['positional'](_0x7cb856[_0x4241ae(0x1e4)],{'type':'string','description':_0x7cb856[_0x4241ae(0xf2)],'demandOption':!![]});},async _0x214798=>{const _0x52cdc8=_0xd8da87;await _0x7cb856[_0x52cdc8(0xec)](withTelemetry,'profile\x20use',()=>useEnv(_0x214798['profile-name']));})[_0xd8da87(0x1ea)]('encrypt-auth\x20<profile>','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)',_0x582fd1=>{return _0x582fd1['positional']('profile',{'type':_0x7cb856['XDvGY'],'description':'Profile\x20name','demandOption':!![]});},async _0x22f793=>{const _0x234b9e=_0xd8da87;await _0x7cb856[_0x234b9e(0x148)](withTelemetry,_0x234b9e(0x19b),()=>authEncrypt(_0x22f793['profile']));})['command']('ls',_0xd8da87(0xf0),()=>{},async()=>{const _0x4e8898=_0xd8da87;await _0x7cb856[_0x4e8898(0xec)](withTelemetry,_0x4e8898(0x15d),()=>envList());})['command'](_0x7cb856[_0xd8da87(0xf9)],_0xd8da87(0x122),_0x2b414d=>{const _0x48b98d=_0xd8da87;return _0x2b414d[_0x48b98d(0x197)](_0x7cb856[_0x48b98d(0x1e4)],{'type':_0x48b98d(0x1aa),'description':_0x48b98d(0x1c2),'demandOption':!![]})[_0x48b98d(0x181)](_0x48b98d(0xe7),{'type':'boolean','description':_0x48b98d(0x132)});},async _0x1f4cc4=>{const _0x1444f7=_0xd8da87;await _0x7cb856['tKAyY'](withTelemetry,_0x1444f7(0x12f),_0x367018=>updateEnv(_0x1f4cc4['profile-name'],_0x367018,{'allowInsecureLocalhost':_0x1f4cc4[_0x1444f7(0xe7)]}));})['command'](_0x7cb856[_0xd8da87(0x150)],_0x7cb856[_0xd8da87(0x1a7)],_0x279a24=>{const _0x41d79c=_0xd8da87,_0x325b15={'oxosa':_0x41d79c(0x129),'rdRMx':_0x7cb856['XDvGY'],'lwZBz':'Config\x20key','mDUmZ':function(_0xbe3ecf,_0x4f0e59,_0x4c408b){return _0xbe3ecf(_0x4f0e59,_0x4c408b);},'tqzAi':_0x41d79c(0xa2)};return _0x279a24[_0x41d79c(0x103)](PROFILE_CONFIG_HELP)[_0x41d79c(0x1ea)]('set\x20<profile>\x20<key>\x20<value>',_0x7cb856[_0x41d79c(0x1c0)],_0x3b0604=>{const _0x58e057=_0x41d79c;return _0x3b0604[_0x58e057(0x197)](_0x7cb856['XvKcB'],{'type':_0x7cb856[_0x58e057(0xfa)],'description':'Profile\x20name','demandOption':!![]})[_0x58e057(0x197)]('key',{'type':_0x58e057(0x1aa),'description':_0x58e057(0x13b),'demandOption':!![]})['positional'](_0x58e057(0x1be),{'type':_0x7cb856['XDvGY'],'description':'Config\x20value','demandOption':!![]});},async _0x3db3c0=>{const _0x471b21=_0x41d79c;await withTelemetry(_0x7cb856[_0x471b21(0x188)],()=>configSet(_0x3db3c0[_0x471b21(0xbc)],_0x3db3c0['key'],_0x3db3c0[_0x471b21(0x1be)]));})[_0x41d79c(0x1ea)](_0x41d79c(0x10c),'Get\x20a\x20config\x20value',_0x2bd60c=>{const _0x4ba496=_0x41d79c;return _0x2bd60c[_0x4ba496(0x197)](_0x4ba496(0xbc),{'type':'string','description':_0x325b15['oxosa'],'demandOption':!![]})['positional']('key',{'type':_0x325b15[_0x4ba496(0x109)],'description':_0x325b15['lwZBz'],'demandOption':!![]});},async _0x232380=>{const _0xc0654b=_0x41d79c;await withTelemetry(_0x7cb856[_0xc0654b(0x173)],()=>configGet(_0x232380['profile'],_0x232380['key']));})['command'](_0x7cb856['LPfLG'],_0x41d79c(0x1c7),_0x4697bf=>{const _0x1dae4b=_0x41d79c;return _0x4697bf['positional'](_0x1dae4b(0xbc),{'type':_0x1dae4b(0x1aa),'description':_0x7cb856[_0x1dae4b(0x141)],'demandOption':!![]});},async _0x94e41b=>{const _0xfd09fb=_0x41d79c;await _0x325b15[_0xfd09fb(0xdb)](withTelemetry,_0x325b15['tqzAi'],()=>configList(_0x94e41b['profile']));})['command'](_0x41d79c(0x157),_0x7cb856['ekHEJ'],_0x1c330e=>{const _0x3a6ce5=_0x41d79c;return _0x1c330e[_0x3a6ce5(0x197)](_0x7cb856['XvKcB'],{'type':_0x7cb856[_0x3a6ce5(0xfa)],'description':_0x7cb856[_0x3a6ce5(0x141)],'demandOption':!![]})['positional']('key',{'type':_0x7cb856['XDvGY'],'description':_0x7cb856[_0x3a6ce5(0x1d3)],'demandOption':!![]});},async _0x2ca72e=>{const _0x353eeb=_0x41d79c;await _0x7cb856['wmESq'](withTelemetry,'profile\x20config\x20unset',()=>configUnset(_0x2ca72e[_0x353eeb(0xbc)],_0x2ca72e[_0x353eeb(0x190)]));})['demandCommand'](0x1,_0x41d79c(0x17d));})['demandCommand'](0x1,_0x7cb856['IMoLZ']);})['command']('status','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{const _0x26429c=_0x448d53;await withTelemetry(_0x26429c(0x137),()=>status());})['command']('update','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x2649b2=_0x448d53,_0x2b3f73={'HluqK':_0x2649b2(0x11c)};await withTelemetry(_0x2b3f73[_0x2649b2(0x107)],()=>update());})[_0x448d53(0x1ea)]('go','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)',_0x3b039e=>{const _0x2feb16=_0x448d53,_0x48d6cd={'jZkEh':_0x2feb16(0xbc),'wDSEf':'string','YvuBt':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','MpboK':_0x2feb16(0x15c),'zuSba':'number','qVfzD':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','iTTas':_0x2feb16(0x1a8),'oopfE':_0x2feb16(0x1af),'aXmFM':_0x2feb16(0x163),'etFyr':_0x2feb16(0x130),'YbvSk':'debug-address-comments','MloTM':'env','PRigz':_0x2feb16(0x10a)};return _0x3b039e['option'](_0x2feb16(0x160),{'type':'string','description':'Optional\x20feature\x20ID'})[_0x2feb16(0x181)](_0x48d6cd[_0x2feb16(0x1c1)],{'type':_0x48d6cd[_0x2feb16(0x1cf)],'description':_0x48d6cd['YvuBt']})['option']('notes',{'type':_0x48d6cd['wDSEf'],'description':_0x48d6cd['MpboK']})['option']('scenario',{'type':_0x48d6cd[_0x2feb16(0x123)],'description':'Scenario\x20index\x20(1-based)'})['option'](_0x2feb16(0xf1),{'type':'string','description':_0x48d6cd[_0x2feb16(0x1a9)]})[_0x2feb16(0x181)](_0x48d6cd[_0x2feb16(0x106)],{'type':_0x48d6cd[_0x2feb16(0x1cf)],'description':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1)'})['option'](_0x48d6cd['oopfE'],{'type':_0x48d6cd['aXmFM'],'description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})['option'](_0x48d6cd['etFyr'],{'type':_0x48d6cd['wDSEf'],'hidden':!![],'choices':[_0x2feb16(0x1d2),_0x2feb16(0x19e),'blocked',_0x2feb16(0xd5),_0x2feb16(0xd6)]})[_0x2feb16(0x181)](_0x48d6cd[_0x2feb16(0x17f)],{'type':_0x2feb16(0x163),'hidden':!![]})['option'](_0x48d6cd['MloTM'],{'type':_0x48d6cd[_0x2feb16(0x1cf)],'hidden':!![]})['option'](_0x48d6cd[_0x2feb16(0xc5)],{'type':_0x48d6cd[_0x2feb16(0x1cf)],'hidden':!![]})['option']('item',{'type':'number','hidden':!![]});},async _0x3dc081=>{await runGoCommand(_0x3dc081);})[_0x448d53(0x1ea)]('auth',![],_0x239286=>{const _0x98fbf2=_0x448d53,_0x4ad108={'BLhTI':_0x98fbf2(0xbc),'EAGTK':_0x98fbf2(0x1aa),'OCgBI':function(_0x2d84b7,_0x24178a,_0x157763){return _0x2d84b7(_0x24178a,_0x157763);},'rWVQh':function(_0x11b7eb,_0x3328af){return _0x11b7eb(_0x3328af);},'nynpk':'You\x20must\x20specify\x20an\x20auth\x20subcommand'};return _0x239286[_0x98fbf2(0x1ea)]('encrypt\x20<profile>',![],_0x4538cb=>{const _0x3e54e3=_0x98fbf2;return _0x4538cb['positional'](_0x4ad108[_0x3e54e3(0x187)],{'type':_0x4ad108[_0x3e54e3(0xbb)],'description':_0x3e54e3(0x129),'demandOption':!![]});},async _0x18ceaf=>{_0x4ad108['OCgBI'](warnRenamed,'ranger\x20auth\x20encrypt','ranger\x20profile\x20encrypt-auth'),await _0x4ad108['rWVQh'](authEncrypt,_0x18ceaf['profile']);})['demandCommand'](0x1,_0x4ad108[_0x98fbf2(0x1ac)]);},()=>{})[_0x448d53(0x1ea)](_0x448d53(0x131),![],_0x39767d=>{const _0x4c858c=_0x448d53,_0x506192={'cdBlm':'token','Twenp':_0x4c858c(0x1aa),'GwBke':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','ANhSu':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','GMJef':'scope','CoWDV':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','RySyn':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','APBuB':'force'};return _0x39767d[_0x4c858c(0x197)](_0x506192[_0x4c858c(0xc0)],{'type':_0x506192[_0x4c858c(0x1db)],'description':_0x506192[_0x4c858c(0x170)]})['option'](_0x4c858c(0x12e),{'type':_0x4c858c(0x163),'description':_0x506192[_0x4c858c(0x19c)],'default':![]})[_0x4c858c(0x181)](_0x506192[_0x4c858c(0xde)],{'type':_0x506192[_0x4c858c(0x1db)],'choices':['user','project'],'description':_0x506192[_0x4c858c(0x151)]})['option'](_0x4c858c(0x14f),{'type':_0x4c858c(0x1aa),'description':_0x506192['RySyn']})[_0x4c858c(0x181)](_0x506192[_0x4c858c(0x1e1)],{'type':_0x4c858c(0x163),'description':_0x4c858c(0x1dc),'default':![]});},async _0xf2b185=>{const _0xa25658=_0x448d53,_0x2b4d43={'DEwmE':function(_0x5ea83e,_0x5e7e0c,_0x5e0c25){return _0x5ea83e(_0x5e7e0c,_0x5e0c25);},'eVeuY':_0xa25658(0xb0),'GgjFr':'start'};_0x2b4d43['DEwmE'](warnRenamed,_0x2b4d43['eVeuY'],'ranger\x20setup'),await withTelemetry(_0x2b4d43[_0xa25658(0x12c)],_0x217b13=>start(_0xf2b185[_0xa25658(0x193)],{'skipChromium':_0xf2b185['skip-chromium'],'scope':_0xf2b185['scope'],'url':_0xf2b185['url'],'force':_0xf2b185['force']},_0x217b13));})[_0x448d53(0x1ea)](_0x448d53(0xf3),![],_0x29b63d=>{const _0x2f10e1=_0x448d53,_0x5965ce={'rwqfm':_0x2f10e1(0x1b0),'TBTOB':'string','WCJws':'task','TPaIy':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','irtkl':_0x2f10e1(0xba),'kSiDn':_0x2f10e1(0xc3),'EAKrp':'profile','kLabr':'scenario','yrhXu':_0x2f10e1(0x194),'lbdcN':'start-path','kXFyW':_0x2f10e1(0x1f9),'dELeB':_0x2f10e1(0x1a8),'ieUbe':_0x2f10e1(0x1af),'RfgsH':'boolean','YHbHe':'debug-outcome','RgEyq':_0x2f10e1(0xd6)};return _0x29b63d[_0x2f10e1(0x181)](_0x5965ce['rwqfm'],{'type':_0x5965ce['TBTOB'],'description':_0x2f10e1(0x16f)})[_0x2f10e1(0x181)](_0x5965ce[_0x2f10e1(0xa3)],{'type':'string','description':_0x5965ce['TPaIy']})[_0x2f10e1(0x181)](_0x5965ce[_0x2f10e1(0x1fe)],{'type':'number','description':_0x5965ce[_0x2f10e1(0x108)]})[_0x2f10e1(0x181)](_0x5965ce['EAKrp'],{'type':_0x2f10e1(0x1aa),'hidden':!![]})[_0x2f10e1(0x181)]('notes',{'type':_0x5965ce[_0x2f10e1(0x146)],'hidden':!![]})['option'](_0x5965ce[_0x2f10e1(0x1a4)],{'type':_0x5965ce['yrhXu'],'hidden':!![]})['option'](_0x5965ce['lbdcN'],{'type':'string','description':_0x5965ce['kXFyW']})['option'](_0x5965ce[_0x2f10e1(0x1b9)],{'type':'string','hidden':!![]})['option'](_0x5965ce[_0x2f10e1(0xee)],{'type':_0x5965ce['RfgsH'],'hidden':!![],'default':![]})[_0x2f10e1(0x181)](_0x5965ce['YHbHe'],{'type':_0x2f10e1(0x1aa),'hidden':!![],'choices':[_0x2f10e1(0x1d2),_0x2f10e1(0x19e),_0x2f10e1(0x144),_0x2f10e1(0xd5),_0x5965ce['RgEyq']]});},async _0x1ccc01=>{await runGoCommand(_0x1ccc01,!![]);})['command']('add\x20env\x20<env-name>',![],_0x10d0f5=>{const _0x5a5c24=_0x448d53,_0x366959={'GFpoT':_0x5a5c24(0x163),'pTARV':_0x5a5c24(0x19f),'aoRKT':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)'};return _0x10d0f5[_0x5a5c24(0x197)]('env-name',{'type':_0x5a5c24(0x1aa),'description':_0x5a5c24(0xc4),'demandOption':!![]})['option']('ci',{'type':_0x366959[_0x5a5c24(0x1e2)],'description':_0x366959['pTARV'],'default':![]})['option']('skip-auth',{'type':_0x5a5c24(0x163),'description':_0x366959[_0x5a5c24(0x1f2)],'default':![]});},async _0x59e199=>{const _0x552947=_0x448d53,_0x56dcd1={'auWvW':function(_0x2d4b24,_0x11294b,_0x27f023){return _0x2d4b24(_0x11294b,_0x27f023);},'UsoWm':_0x552947(0xed)};_0x56dcd1[_0x552947(0x1ae)](warnRenamed,_0x552947(0xd7),_0x56dcd1['UsoWm']),await _0x56dcd1[_0x552947(0x1ae)](withTelemetry,_0x552947(0xd0),_0x47a689=>addEnv(_0x59e199['env-name'],{'ci':_0x59e199['ci'],'skipAuth':_0x59e199['skip-auth']},_0x47a689));})['command']('use\x20<env-name>',![],_0x2b2aad=>{const _0x449036=_0x448d53,_0x5697b1={'EUUcd':'env-name','QfhVs':_0x449036(0x1d1)};return _0x2b2aad[_0x449036(0x197)](_0x5697b1['EUUcd'],{'type':_0x449036(0x1aa),'description':_0x5697b1[_0x449036(0xc6)],'demandOption':!![]});},async _0x55f25b=>{warnRenamed('ranger\x20use','ranger\x20profile\x20use'),await withTelemetry('use',()=>useEnv(_0x55f25b['env-name']));})[_0x448d53(0x1ea)]('config',![],_0x3b1bba=>{const _0x53866a=_0x448d53,_0x59bb85={'SgcQw':'string','zsgOe':_0x53866a(0x1cc),'ZlOBl':_0x53866a(0x177),'zYWAq':_0x53866a(0x1a6),'mBoVS':function(_0x226830,_0x474228,_0x45e28f){return _0x226830(_0x474228,_0x45e28f);},'nYAjD':'config\x20set','klaNe':_0x53866a(0x1b0),'xjpPR':_0x53866a(0x190),'xuGzG':function(_0x493d51,_0x3cc798,_0x352c84){return _0x493d51(_0x3cc798,_0x352c84);},'ukrYX':'config\x20get','PfCwB':_0x53866a(0x195),'bvqfV':function(_0x335961,_0x4da979,_0x5508e7){return _0x335961(_0x4da979,_0x5508e7);},'rBybU':function(_0x58a008,_0x2d70a7,_0x166826){return _0x58a008(_0x2d70a7,_0x166826);},'phdQV':'ranger\x20config\x20unset','eaAZN':_0x53866a(0x147),'UAKmF':_0x53866a(0x166),'xllog':_0x53866a(0xe1)};return _0x3b1bba['command'](_0x59bb85['eaAZN'],![],_0xb5dbbc=>{const _0xd23f03=_0x53866a;return _0xb5dbbc['positional']('env',{'type':'string','description':'Environment\x20name','demandOption':!![]})['positional'](_0xd23f03(0x190),{'type':_0x59bb85[_0xd23f03(0xd2)],'description':_0xd23f03(0x13b),'demandOption':!![]})['positional'](_0xd23f03(0x1be),{'type':'string','description':_0x59bb85['zsgOe'],'demandOption':!![]});},async _0x364862=>{const _0xf23ab6=_0x53866a;warnRenamed(_0x59bb85[_0xf23ab6(0x1fa)],_0x59bb85['zYWAq']),await _0x59bb85['mBoVS'](withTelemetry,_0x59bb85['nYAjD'],()=>configSet(_0x364862[_0xf23ab6(0x1b0)],_0x364862['key'],_0x364862['value']));})['command'](_0x53866a(0x17a),![],_0x455df4=>{const _0x1f088c=_0x53866a;return _0x455df4['positional'](_0x59bb85[_0x1f088c(0xe0)],{'type':_0x59bb85[_0x1f088c(0xd2)],'description':_0x1f088c(0x195),'demandOption':!![]})['positional'](_0x59bb85[_0x1f088c(0xea)],{'type':_0x1f088c(0x1aa),'description':_0x1f088c(0x1e3),'demandOption':!![]});},async _0x37ad23=>{const _0x31e555=_0x53866a;_0x59bb85[_0x31e555(0xe5)](warnRenamed,_0x31e555(0x11d),_0x31e555(0x1eb)),await withTelemetry(_0x59bb85['ukrYX'],()=>configGet(_0x37ad23[_0x31e555(0x1b0)],_0x37ad23['key']));})['command'](_0x59bb85['UAKmF'],![],_0x2c69fe=>{const _0x3383e0=_0x53866a;return _0x2c69fe['positional'](_0x3383e0(0x1b0),{'type':'string','description':_0x59bb85[_0x3383e0(0xab)],'demandOption':!![]});},async _0x4ade36=>{const _0x2d97ef=_0x53866a;_0x59bb85[_0x2d97ef(0xd9)](warnRenamed,_0x2d97ef(0xfb),_0x2d97ef(0x1c4)),await withTelemetry('config\x20list',()=>configList(_0x4ade36[_0x2d97ef(0x1b0)]));})[_0x53866a(0x1ea)](_0x53866a(0x174),![],_0x23e1cc=>{const _0x5f3789=_0x53866a;return _0x23e1cc['positional'](_0x5f3789(0x1b0),{'type':_0x5f3789(0x1aa),'description':_0x5f3789(0x195),'demandOption':!![]})[_0x5f3789(0x197)](_0x59bb85['xjpPR'],{'type':_0x59bb85['SgcQw'],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0xcb52f1=>{const _0x26cb89=_0x53866a;_0x59bb85[_0x26cb89(0xb5)](warnRenamed,_0x59bb85[_0x26cb89(0x1c3)],'ranger\x20profile\x20config\x20unset'),await withTelemetry(_0x26cb89(0x110),()=>configUnset(_0xcb52f1['env'],_0xcb52f1[_0x26cb89(0x190)]));})[_0x53866a(0xb2)](0x1,_0x59bb85[_0x53866a(0x158)]);})['command']('env',![],_0x3d8cfd=>{const _0x3a6f9d=_0x448d53,_0x535d3f={'aFhfH':_0x3a6f9d(0x1f6),'vjSwQ':_0x3a6f9d(0x1c6),'lfnZm':_0x3a6f9d(0xbe)};return _0x3d8cfd[_0x3a6f9d(0x1ea)]('ls',![],()=>{},async()=>{const _0x10a77e=_0x3a6f9d;warnRenamed(_0x535d3f[_0x10a77e(0x15f)],_0x535d3f['vjSwQ']),await withTelemetry('env\x20list',()=>envList());})[_0x3a6f9d(0x1ea)](_0x3a6f9d(0x1d8),![],_0x17818c=>{return _0x17818c['positional']('env-name',{'type':'string','description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x55f746=>{const _0x11af18=_0x3a6f9d;warnRenamed('ranger\x20env\x20update',_0x535d3f['lfnZm']),await withTelemetry(_0x11af18(0x1b6),_0xfde18d=>updateEnv(_0x55f746['env-name'],_0xfde18d));})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20env\x20subcommand');})[_0x448d53(0x1ea)](_0x448d53(0x160),![],_0x22333f=>{const _0x361f1a=_0x448d53,_0x405e44={'fUeQr':_0x361f1a(0x196),'ccvVi':_0x361f1a(0x1aa),'dklFE':_0x361f1a(0x142),'eflje':_0x361f1a(0x164),'rIAIs':_0x361f1a(0xf6),'wncRA':'checklist','kAtss':_0x361f1a(0x200),'mzAcs':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','kFkva':_0x361f1a(0xb6),'batgv':function(_0x1dd8f8,_0xe93dc,_0x588b50){return _0x1dd8f8(_0xe93dc,_0x588b50);},'MxhrQ':function(_0x558690,_0x39e050,_0x27ad95,_0x424547){return _0x558690(_0x39e050,_0x27ad95,_0x424547);},'hcouN':'ranger\x20create','oFejQ':_0x361f1a(0x1cd),'dElfZ':_0x361f1a(0xc9),'RVgzZ':_0x361f1a(0x163),'ZooqF':_0x361f1a(0x11b),'lfwns':_0x361f1a(0x194),'YNPzl':_0x361f1a(0xe4),'ARBlZ':function(_0x3b33f3,_0x4cf229,_0x303bf9){return _0x3b33f3(_0x4cf229,_0x303bf9);},'kjdCN':'feature\x20list','tuJOi':function(_0x5d4fec,_0x207d49,_0x5f4cff){return _0x5d4fec(_0x207d49,_0x5f4cff);},'ikcxH':_0x361f1a(0x1ad),'lBzMF':'ranger\x20resume','JpMQK':'feature\x20resume','gAIBy':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','SFVcE':_0x361f1a(0x143),'ycHAx':_0x361f1a(0x1de),'bACVY':_0x361f1a(0xe6),'YwJCF':function(_0x1d5360,_0x584da0,_0x23e868){return _0x1d5360(_0x584da0,_0x23e868);},'wussg':'Feature\x20review\x20ID\x20to\x20restore','jiSoj':_0x361f1a(0x1e7),'YwNbD':function(_0x439271,_0x39acd8,_0x457b05){return _0x439271(_0x39acd8,_0x457b05);},'pWjDo':'feature\x20restore','dTGVC':_0x361f1a(0x1d4),'KReLs':_0x361f1a(0x1ff)};return _0x22333f[_0x361f1a(0x1ea)](_0x405e44['dTGVC'],![],_0x38c0a2=>{const _0x5d2bb4=_0x361f1a;return _0x38c0a2[_0x5d2bb4(0x197)](_0x405e44['fUeQr'],{'type':_0x405e44['ccvVi'],'description':_0x405e44[_0x5d2bb4(0x15e)],'demandOption':!![]})['option'](_0x405e44['eflje'],{'type':_0x405e44[_0x5d2bb4(0x105)],'alias':'d','description':_0x405e44['rIAIs']})[_0x5d2bb4(0x181)](_0x405e44['wncRA'],{'type':_0x405e44['kAtss'],'alias':'c','description':_0x405e44[_0x5d2bb4(0xdc)]})[_0x5d2bb4(0x181)](_0x405e44[_0x5d2bb4(0xb1)],{'type':'array','hidden':!![]});},async _0x689277=>{const _0x8db050=_0x361f1a;_0x405e44[_0x8db050(0x1ef)](warnRenamed,_0x8db050(0x1a1),_0x8db050(0x1c8)),_0x405e44['MxhrQ'](warnFlagRenamed,_0x405e44[_0x8db050(0x1a0)],_0x405e44[_0x8db050(0xd3)],_0x405e44[_0x8db050(0xd1)]);const _0x56a484=_0x689277[_0x8db050(0xb6)]||_0x689277[_0x8db050(0x199)];await withTelemetry('feature\x20create',()=>featureCreate(_0x689277[_0x8db050(0x196)],{'description':_0x689277['description'],'scenarios':_0x56a484}));})[_0x361f1a(0x1ea)]('list',![],_0x23201d=>{const _0x24b5b5=_0x361f1a;return _0x23201d[_0x24b5b5(0x181)](_0x24b5b5(0x1d7),{'type':_0x405e44['RVgzZ'],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option'](_0x405e44['ZooqF'],{'type':_0x405e44[_0x24b5b5(0x1b5)],'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option']('offset',{'type':_0x405e44['lfwns'],'alias':'o','description':_0x24b5b5(0x10b),'default':0x0})[_0x24b5b5(0x181)](_0x405e44['YNPzl'],{'type':_0x24b5b5(0x163),'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x30aac6=>{const _0x5c640d=_0x361f1a;_0x405e44[_0x5c640d(0x1d9)](warnRenamed,'ranger\x20feature\x20list','ranger\x20list'),await withTelemetry(_0x405e44['kjdCN'],()=>featureList({'currentBranch':_0x30aac6['current-branch'],'limit':_0x30aac6[_0x5c640d(0x11b)],'offset':_0x30aac6['offset'],'includeDeleted':_0x30aac6[_0x5c640d(0xe4)]}));})[_0x361f1a(0x1ea)]('show\x20[id]',![],_0x244c95=>{const _0x30870b=_0x361f1a;return _0x244c95['positional']('id',{'type':_0x405e44[_0x30870b(0x105)],'description':_0x30870b(0x169)});},async _0x3ddb50=>{const _0xd494f8=_0x361f1a;_0x405e44['tuJOi'](warnRenamed,_0x405e44['ikcxH'],'ranger\x20show'),await _0x405e44['batgv'](withTelemetry,_0xd494f8(0xf4),()=>featureShow(_0x3ddb50['id']));})['command']('resume\x20[id]',![],_0x456368=>{const _0xc46393=_0x361f1a;return _0x456368['positional']('id',{'type':_0x405e44['ccvVi'],'description':_0xc46393(0x154)});},async _0x4500c6=>{const _0x18faba=_0x361f1a;warnRenamed('ranger\x20feature\x20resume',_0x405e44['lBzMF']),await _0x405e44[_0x18faba(0x1ef)](withTelemetry,_0x405e44[_0x18faba(0x138)],()=>featureResume(_0x4500c6['id']));})[_0x361f1a(0x1ea)](_0x361f1a(0xc2),![],_0x1411a1=>{const _0x433650=_0x361f1a;return _0x1411a1[_0x433650(0x197)](_0x405e44['eflje'],{'type':_0x405e44[_0x433650(0x105)],'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':'string','description':_0x405e44['gAIBy']});},async _0x1baa9f=>{const _0x3804fd=_0x361f1a;warnRenamed(_0x405e44[_0x3804fd(0x1e5)],'ranger\x20add-scenario'),await withTelemetry(_0x3804fd(0x1b7),()=>featureAddScenario(_0x1baa9f[_0x3804fd(0x164)],_0x1baa9f['id']));})['command'](_0x405e44['KReLs'],![],_0x3f8b8f=>{const _0x255960=_0x361f1a;return _0x3f8b8f['positional']('id',{'type':_0x255960(0x1aa),'description':_0x405e44['gAIBy']});},async _0x446a94=>{const _0x4f9948=_0x361f1a;warnRenamed('ranger\x20feature\x20get-feedback','ranger\x20get-review'),await _0x405e44[_0x4f9948(0x1ef)](withTelemetry,_0x4f9948(0xa9),()=>featureGetReview(_0x446a94['id']));})['command']('delete\x20[id]',![],_0x5f2468=>{const _0x46b1c2=_0x361f1a;return _0x5f2468['positional']('id',{'type':_0x405e44[_0x46b1c2(0x105)],'description':_0x46b1c2(0x169)});},async _0x46d4fe=>{const _0x59905b=_0x361f1a;warnRenamed(_0x405e44[_0x59905b(0xef)],_0x405e44[_0x59905b(0xa6)]),await _0x405e44['YwJCF'](withTelemetry,_0x59905b(0x191),()=>featureDelete(_0x46d4fe['id']));})['command'](_0x361f1a(0x18d),![],_0xae1716=>{const _0x46e3f6=_0x361f1a;return _0xae1716['positional']('id',{'type':_0x46e3f6(0x1aa),'description':_0x405e44[_0x46e3f6(0x134)],'demandOption':!![]});},async _0x1d6dec=>{const _0xc199ea=_0x361f1a;warnRenamed('ranger\x20feature\x20restore',_0x405e44[_0xc199ea(0xbd)]),await _0x405e44['YwNbD'](withTelemetry,_0x405e44[_0xc199ea(0x11f)],()=>featureRestore(_0x1d6dec['id']));})['demandCommand'](0x1,_0x361f1a(0xeb));})[_0x448d53(0x1ea)](_0x448d53(0x128),![],_0x5cad55=>{const _0x940d68=_0x448d53,_0x51eeb1={'cJLlr':_0x940d68(0xff),'arJPr':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','oIbfb':'string','ZHWaS':function(_0x73d04,_0x561752,_0x243807){return _0x73d04(_0x561752,_0x243807);},'brKAJ':_0x940d68(0x125)};return _0x5cad55[_0x940d68(0x1ea)](_0x940d68(0x16c),_0x940d68(0x183),_0x1004a0=>{const _0x1ac7c1=_0x940d68;return _0x1004a0[_0x1ac7c1(0x181)](_0x51eeb1['cJLlr'],{'type':'string','description':_0x51eeb1[_0x1ac7c1(0x198)]});},async _0xf0db8d=>{await withTelemetry('hook:enable',()=>hook('enable',_0xf0db8d['session-id']));})[_0x940d68(0x1ea)](_0x940d68(0xf5),_0x940d68(0xe9),_0x2e5274=>{const _0x36d337=_0x940d68;return _0x2e5274[_0x36d337(0x181)]('session-id',{'type':_0x51eeb1[_0x36d337(0xfd)],'description':_0x36d337(0x140)});},async _0x5d3d98=>{await _0x51eeb1['ZHWaS'](withTelemetry,'hook:disable',()=>hook('disable',_0x5d3d98['session-id']));})['option'](_0x940d68(0x196),{'type':_0x940d68(0x1aa),'description':_0x51eeb1[_0x940d68(0x165)]})['option']('session-id',{'type':'string','description':_0x51eeb1['arJPr']});},async _0x38c929=>{const _0x1d9d33=_0x448d53,_0x23fdd2={'XBqWP':function(_0x5ccd2c,_0x4b209c,_0xc7ba26){return _0x5ccd2c(_0x4b209c,_0xc7ba26);}};_0x38c929['name']&&await _0x23fdd2[_0x1d9d33(0x1ba)](hook,_0x38c929[_0x1d9d33(0x196)],_0x38c929[_0x1d9d33(0xff)]);})[_0x448d53(0xb2)](0x1,'You\x20must\x20specify\x20a\x20command')[_0x448d53(0x127)]()['fail'](async(_0x471e1f,_0x48696e,_0x4e9e97)=>{const _0x3e7c67=_0x448d53,_0x37d386={'bkPxH':function(_0xc1975,_0x4a5fd8){return _0xc1975(_0x4a5fd8);},'QPFFx':function(_0x248821,_0x2564db,_0x500693){return _0x248821(_0x2564db,_0x500693);},'NMOpw':function(_0x5e2b37){return _0x5e2b37();},'WwFNE':function(_0x81e4ac,_0x4afe61){return _0x81e4ac||_0x4afe61;}},_0x447476=_0x37d386[_0x3e7c67(0x136)](sanitizeArgs,process[_0x3e7c67(0x12d)]['slice'](0x2)),_0x189b08=_0x37d386['QPFFx'](getErrorType,_0x471e1f,_0x48696e);if(_0x471e1f&&_0x471e1f['includes']('Unknown\x20command')){const _0x4d443e=process['argv'][0x2];console[_0x3e7c67(0x1fc)]('\x0aUnknown\x20command:\x20'+_0x4d443e),console['error']('Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a');}else{if(_0x471e1f)console['error']('\x0a'+_0x471e1f+'\x0a');else _0x48696e&&console[_0x3e7c67(0x1fc)](_0x3e7c67(0xae)+_0x48696e['message']+'\x0a');}await logDesirePath({'rawCommand':_0x447476,'errorMessage':_0x471e1f||_0x48696e?.[_0x3e7c67(0x124)],'errorType':_0x189b08});const _0x29dac0=_0x37d386['NMOpw'](getCurrentCollector);_0x29dac0&&await _0x29dac0[_0x3e7c67(0x161)](_0x48696e||new Error(_0x37d386[_0x3e7c67(0xa5)](_0x471e1f,'Unknown\x20error'))),process[_0x3e7c67(0x1f0)](0x1);})[_0x448d53(0x126)](_0x448d53(0x1f3)+'\x20\x20https://docs.ranger.net\x0a'+_0x448d53(0x178))['help']()['alias'](_0x448d53(0x1e6),'h')['parse']();
|
package/build/commands/addEnv.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x20c743,_0x193e70){const _0x2cfced=_0x5da1,_0x29d3f2=_0x20c743();while(!![]){try{const _0x408517=-parseInt(_0x2cfced(0xc5))/0x1+parseInt(_0x2cfced(0x97))/0x2+parseInt(_0x2cfced(0xa8))/0x3*(-parseInt(_0x2cfced(0xac))/0x4)+parseInt(_0x2cfced(0xa1))/0x5*(parseInt(_0x2cfced(0xa0))/0x6)+parseInt(_0x2cfced(0xb4))/0x7+-parseInt(_0x2cfced(0x6f))/0x8+parseInt(_0x2cfced(0xaa))/0x9*(parseInt(_0x2cfced(0xb9))/0xa);if(_0x408517===_0x193e70)break;else _0x29d3f2['push'](_0x29d3f2['shift']());}catch(_0x5c7ed9){_0x29d3f2['push'](_0x29d3f2['shift']());}}}(_0x3c98,0x55760));function _0x5da1(_0xfac90f,_0x126210){_0xfac90f=_0xfac90f-0x68;const _0x3c98b2=_0x3c98();let _0x5da103=_0x3c98b2[_0xfac90f];return _0x5da103;}import{mkdir,writeFile,readFile,unlink,rm,mkdtemp,rename}from'fs/promises';import{join}from'path';import _0x7330b9 from'inquirer';import{chromium}from'playwright';import{findExistingEnv}from'./utils/settings.js';import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';function _0x3c98(){const _0xae776f=['confirm','url_setup','path','CyGrA','launch','retry','456641bdgUqr','close','shouldReplace','list','Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20backup\x20at\x20','Aborted.','\x0a🌐\x20Profile\x20Setup\x0a','name','RkKXb','kwuFR','pePOQ','Warning:\x20Profile\x20created,\x20but\x20failed\x20to\x20mark\x20it\x20as\x20active.','\x22\x20already\x20exists\x20in\x20','UGJqw','catch','2833360pnnbbs','\x20(continuing\x20with\x20--force)','xobjL','baseUrl','Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20at\x20','PraMw','mBhna','use_suggestion','config_write','trim','trackPhaseEnd','\x20\x20\x20When\x20done\x20logging\x20in,\x20close\x20the\x20browser\x20to\x20save\x20the\x20session.','fFxgH','\x22\x20already\x20exists.\x20Overwrite?','\x20\x20Did\x20you\x20mean\x20','✓\x20Auth\x20state\x20saved\x20to:\x20','lFICW','Could\x20not\x20reach\x20','UwhIe','BSLuT','utf-8','vWXdN','CTGhI','TypeError','isTTY','signal','location','newPage','XuNzn','abort','settings.json','\x0aMake\x20sure\x20your\x20app\x20is\x20running,\x20then\x20try\x20again.\x20To\x20skip\x20this\x20check,\x20pass\x20--force.','IYWBR','force','Missing\x20API\x20token;\x20aborting\x20CI\x20profile\x20creation.','about:blank','SidHa','goto','iXwZE','HlzVF','1114748aHNYZY','auth.json','oyCUp','GYXlY','✓\x20Encrypted\x20auth\x20saved\x20to:\x20','.enc','includes','\x20\x20Could\x20not\x20encrypt:\x20No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','log','30tqnsiY','661105TJSfuD','browser_auth','newContext','HSzWt','\x20\x20Make\x20sure\x20your\x20Electron\x20app\x20(or\x20browser)\x20is\x20running\x20with\x20remote\x20debugging\x20enabled.\x0a','waxdP','HJHSd','218481UAGkdK','\x20would\x20shadow\x20the\x20existing\x20profile.','47781ADwcYL','http://','16szEcTO','.backup-','root\x20(.ranger/)','\x20\x20Ranger\x20will\x20open\x20it\x20in\x20a\x20browser\x20so\x20you\x20can\x20log\x20in\x20and\x20save\x20your\x20session.\x0a','trackPhaseStart','MRfVV','WUjmf','\x0a\x20\x20Profile\x20\x22','112133zxprVk','error','\x22\x20configured','overwrite','cdpEndpoint','410wyjPZh','BIkaG','manual','Use\x20','prompt','--ci\x20and\x20--cdp-endpoint\x20cannot\x20be\x20used\x20together.\x20Electron/CDP\x20profiles\x20only\x20work\x20with\x20a\x20locally\x20running\x20app\x20and\x20are\x20not\x20supported\x20in\x20CI.'];_0x3c98=function(){return _0xae776f;};return _0x3c98();}import{getRangerDir}from'./utils/rangerRoot.js';import{writeActiveProfileName}from'./utils/activeProfile.js';import{addProfileSetupBanner}from'./utils/profileSetupBanner.js';async function checkUrlReachability(_0x177464){const _0x339cbf=_0x5da1,_0x12d988={'lFICW':'HEAD','ZTiQd':_0x339cbf(0xbb),'acbGB':function(_0x552705,_0x16fcf0){return _0x552705(_0x16fcf0);},'pzpDY':'Invalid\x20URL','aIRkv':function(_0x1916f,_0x52267c){return _0x1916f===_0x52267c;},'waxdP':_0x339cbf(0x86),'bNwTs':'fetch\x20failed'};try{const _0x48c00e=new AbortController(),_0x57e8a0=setTimeout(()=>_0x48c00e[_0x339cbf(0x8c)](),0x1388),_0x3900a4=await fetch(_0x177464,{'method':_0x12d988[_0x339cbf(0x7f)],'signal':_0x48c00e[_0x339cbf(0x88)],'redirect':_0x12d988['ZTiQd']});_0x12d988['acbGB'](clearTimeout,_0x57e8a0);if(_0x3900a4['status']<0x190)return{'ok':!![]};return{'ok':![],'error':'HTTP\x20'+_0x3900a4['status']};}catch(_0x5ba8df){const _0x5105f1=_0x5ba8df,_0xe4ac2=_0x5105f1['message']||String(_0x5ba8df),_0x20fe78=_0xe4ac2[_0x339cbf(0x9d)](_0x12d988['pzpDY'])||_0x12d988['aIRkv'](_0x5105f1[_0x339cbf(0xcc)],_0x12d988[_0x339cbf(0xa6)])||_0xe4ac2['includes'](_0x12d988['bNwTs']);return{'ok':![],'error':_0xe4ac2,'isProtocolError':_0x20fe78};}}export async function addEnv(_0x2a1567,_0x3b129b={},_0x404ced){const _0x3216a5=_0x5da1,_0x26b257={'pePOQ':'local','rNJWe':function(_0x2a42da){return _0x2a42da();},'xobjL':function(_0x128e74,_0x44e34b,_0x46ef31){return _0x128e74(_0x44e34b,_0x46ef31);},'SidHa':function(_0x5ad2a5){return _0x5ad2a5();},'DVGLV':function(_0x112761,_0x44af5a){return _0x112761!==_0x44af5a;},'kwuFR':'--cdp-endpoint\x20must\x20not\x20be\x20empty.\x20Provide\x20the\x20CDP\x20URL,\x20e.g.\x20--cdp-endpoint\x20http://localhost:9222','BSLuT':'--url\x20and\x20--cdp-endpoint\x20are\x20mutually\x20exclusive.\x20Use\x20--url\x20for\x20web\x20apps\x20or\x20--cdp-endpoint\x20for\x20Electron/CDP\x20apps,\x20not\x20both.','CTGhI':function(_0x5c8259,_0x49c42c){return _0x5c8259(_0x49c42c);},'HJHSd':function(_0x583e34,_0x3482b4){return _0x583e34===_0x3482b4;},'IYWBR':_0x3216a5(0xb7),'MRfVV':function(_0x2a2f43,_0x438679){return _0x2a2f43===_0x438679;},'RkKXb':'legacy','XuNzn':'\x0a🔌\x20CDP\x20Profile\x20Setup\x0a','lCcnv':'input','HSzWt':'http://localhost:3000','PraMw':_0x3216a5(0xc8),'GpgCG':'What\x20would\x20you\x20like\x20to\x20do?','muEGx':'Enter\x20a\x20different\x20URL','YTcir':'use_suggestion','CyGrA':function(_0x4b661a,_0x3811b1){return _0x4b661a===_0x3811b1;},'LujyI':'continue','mBhna':function(_0x212c85,_0x401a8c){return _0x212c85(_0x401a8c);},'cKVgU':_0x3216a5(0x98),'roLcK':_0x3216a5(0xa2),'cQLiu':'\x0a📋\x20Authentication\x20Setup','GYXlY':_0x3216a5(0x7a),'oyCUp':_0x3216a5(0x92),'fFxgH':_0x3216a5(0x83),'tWRxG':_0x3216a5(0x9e),'ZYpAi':_0x3216a5(0x91),'PyFqI':'\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','UGJqw':'\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','iXwZE':_0x3216a5(0x77),'BIkaG':function(_0x36358f,_0x3c2979,_0x1024e4){return _0x36358f(_0x3c2979,_0x1024e4);},'HlzVF':_0x3216a5(0x8d),'WUjmf':function(_0x26a866,_0x5ca8ac,_0x2e3f40){return _0x26a866(_0x5ca8ac,_0x2e3f40);},'vWXdN':function(_0x562b0f,_0x4cd640,_0x18d8d6){return _0x562b0f(_0x4cd640,_0x18d8d6);},'UwhIe':_0x3216a5(0x6b)},_0x2009d2=_0x3b129b['ci']??![],_0x4cf600=_0x2009d2?'ci':_0x26b257[_0x3216a5(0x6a)],_0x542038=join(_0x26b257['rNJWe'](getRangerDir),_0x4cf600,_0x2a1567),_0x2992e0=_0x26b257['xobjL'](join,_0x26b257[_0x3216a5(0x93)](getRangerDir),_0x4cf600);if(_0x26b257['DVGLV'](_0x3b129b[_0x3216a5(0xb8)],undefined)&&_0x3b129b['cdpEndpoint'][_0x3216a5(0x78)]()==='')throw new Error(_0x26b257[_0x3216a5(0x69)]);if(_0x3b129b[_0x3216a5(0xb8)]&&_0x3b129b['url'])throw new Error(_0x26b257[_0x3216a5(0x82)]);if(_0x3b129b['cdpEndpoint']&&_0x3b129b['ci'])throw new Error(_0x3216a5(0xbe));const _0xd59479=_0x26b257['CTGhI'](Boolean,_0x3b129b['cdpEndpoint']),_0x1c4ae6=!_0x3b129b['skipAuth']&&!_0xd59479,_0x332a26=process['stdin'][_0x3216a5(0x87)]&&process['stdout'][_0x3216a5(0x87)];if(!_0x332a26&&!_0x3b129b['url']&&!_0xd59479)throw new Error('Please\x20provide\x20--url\x20when\x20running\x20in\x20non-interactive\x20mode.\x0aMake\x20sure\x20the\x20service\x20is\x20running\x20on\x20that\x20port\x20before\x20retrying.\x0aExample:\x20ranger\x20profile\x20add\x20local\x20--url\x20http://localhost:3000');const _0x4ee632=_0x26b257[_0x3216a5(0x85)](findExistingEnv,_0x2a1567);let _0x371b91=null;if(_0x4ee632){if(!_0x332a26)_0x371b91=_0x4ee632;else{if(_0x26b257[_0x3216a5(0xa7)](_0x4ee632[_0x3216a5(0x89)],_0x4cf600)){const {overwrite:_0x12aaa0}=await _0x7330b9['prompt']([{'type':'confirm','name':_0x26b257[_0x3216a5(0x8f)],'message':'Profile\x20\x22'+_0x2a1567+_0x3216a5(0x7c),'default':![]}]);if(!_0x12aaa0){console['log']('Aborted.');return;}_0x371b91=_0x4ee632;}else{const _0x2c0d3e=_0x26b257[_0x3216a5(0xb1)](_0x4ee632['location'],_0x26b257[_0x3216a5(0x68)])?_0x3216a5(0xae):_0x4ee632['location'];console['error']('\x0a⚠️\x20\x20Profile\x20\x22'+_0x2a1567+_0x3216a5(0x6c)+_0x2c0d3e+':\x20'+_0x4ee632['path']),console['error']('\x20\x20\x20Creating\x20it\x20in\x20'+_0x4cf600+_0x3216a5(0xa9));const {shouldReplace:_0x22c81a}=await _0x7330b9[_0x3216a5(0xbd)]([{'type':_0x3216a5(0xbf),'name':_0x3216a5(0xc7),'message':'Delete\x20existing\x20and\x20create\x20new\x20in\x20'+_0x4cf600+'?','default':![]}]);if(!_0x22c81a){console[_0x3216a5(0x9f)](_0x3216a5(0xca));return;}_0x371b91=_0x4ee632;}}}_0x404ced?.[_0x3216a5(0xb0)](_0x3216a5(0xc0));let _0x434951='';if(_0xd59479)console[_0x3216a5(0x9f)](_0x26b257[_0x3216a5(0x8b)]),console['log']('\x20\x20Configuring\x20Ranger\x20to\x20connect\x20to:\x20'+_0x3b129b['cdpEndpoint']),console['log'](_0x3216a5(0xa5));else{if(_0x3b129b['url']){_0x434951=_0x3b129b['url'];const _0x2f4bca=await checkUrlReachability(_0x434951);if(!_0x2f4bca['ok']&&!_0x3b129b['force'])throw new Error(_0x3216a5(0x80)+_0x434951+':\x20'+_0x2f4bca['error']+_0x3216a5(0x8e));!_0x2f4bca['ok']&&_0x3b129b[_0x3216a5(0x90)]&&console[_0x3216a5(0x9f)]('⚠\x20Could\x20not\x20reach\x20'+_0x434951+':\x20'+_0x2f4bca[_0x3216a5(0xb5)]+_0x3216a5(0x70));}else{console['log'](_0x3216a5(0xcb)),console[_0x3216a5(0x9f)]('\x20\x20Make\x20sure\x20your\x20app\x20is\x20running\x20locally\x20before\x20continuing.'),console['log'](_0x3216a5(0xaf));let _0x5506fa=![];while(!![]){const _0x45f793=await _0x7330b9['prompt']([{'type':_0x26b257['lCcnv'],'name':_0x3216a5(0x72),'message':_0x5506fa?'Enter\x20a\x20new\x20URL\x20(or\x20press\x20enter\x20to\x20keep\x20current):':'What\x20is\x20the\x20URL\x20of\x20your\x20running\x20app?','default':_0x434951||_0x26b257[_0x3216a5(0xa4)]}]);_0x434951=_0x45f793['baseUrl'];const _0x2111bc=await checkUrlReachability(_0x434951);if(_0x2111bc['ok'])break;const _0x46b3ef=/^[a-zA-Z][\w+.-]*:\/\//['test'](_0x434951),_0x38df43=_0x2111bc['isProtocolError']&&!_0x46b3ef,_0x479b7b=_0x38df43?_0x3216a5(0xab)+_0x434951:null;_0x5506fa=!![],console['log']('\x0a\x20\x20Could\x20not\x20reach\x20'+_0x434951+':\x20'+_0x2111bc[_0x3216a5(0xb5)]);_0x479b7b&&console[_0x3216a5(0x9f)](_0x3216a5(0x7d)+_0x479b7b+'?');const {action:_0x3607be}=await _0x7330b9[_0x3216a5(0xbd)]([{'type':_0x26b257[_0x3216a5(0x74)],'name':'action','message':_0x26b257['GpgCG'],'choices':[..._0x479b7b?[{'name':_0x3216a5(0xbc)+_0x479b7b,'value':_0x3216a5(0x76)}]:[],{'name':_0x26b257['muEGx'],'value':_0x3216a5(0xc4)},{'name':'Continue\x20anyway','value':'continue'}]}]);if(_0x26b257[_0x3216a5(0xb1)](_0x3607be,_0x26b257['YTcir'])&&_0x479b7b){_0x434951=_0x479b7b;const _0x405354=await _0x26b257[_0x3216a5(0x85)](checkUrlReachability,_0x434951);if(_0x405354['ok'])break;console[_0x3216a5(0x9f)]('\x0a\x20\x20Still\x20could\x20not\x20reach\x20'+_0x434951+':\x20'+_0x405354[_0x3216a5(0xb5)]);}else{if(_0x26b257[_0x3216a5(0xc2)](_0x3607be,_0x26b257['LujyI']))break;}}}}_0x404ced?.['trackPhaseEnd']('url_setup'),await _0x26b257[_0x3216a5(0x71)](mkdir,_0x2992e0,{'recursive':!![]});const _0x4940e5=await _0x26b257[_0x3216a5(0x75)](mkdtemp,_0x26b257[_0x3216a5(0x71)](join,_0x2992e0,'.tmp-'+_0x2a1567+'-')),_0x96a347=_0x26b257[_0x3216a5(0x71)](join,_0x4940e5,_0x26b257['cKVgU']);try{if(_0x1c4ae6){_0x404ced?.['trackPhaseStart'](_0x26b257['roLcK']),console['log'](_0x26b257['cQLiu']),console[_0x3216a5(0x9f)]('\x20\x20\x20A\x20browser\x20will\x20open.\x20Please\x20log\x20in\x20to\x20the\x20profile\x20you\x20want\x20to\x20test\x20so\x20Ranger\x20can\x20access\x20it.'),console['log'](_0x26b257[_0x3216a5(0x9a)]);!_0x332a26?(console['log']('\x0a\x20\x20\x20⚠\x20This\x20step\x20requires\x20human\x20interaction\x20in\x20a\x20browser.'),console['log']('\x20\x20\x20If\x20you\x20are\x20an\x20agent,\x20background\x20this\x20process\x20and\x20let\x20your\x20user\x20know\x20they\x20need\x20to\x20complete\x20browser\x20authentication.\x0a')):console['log']('');await new Promise(_0x38a14a=>setTimeout(_0x38a14a,0xbb8));const _0x3ee3d4=await chromium[_0x3216a5(0xc3)]({'headless':![]});try{const _0x4bf267=await _0x3ee3d4[_0x3216a5(0xa3)]();await _0x26b257[_0x3216a5(0x75)](addProfileSetupBanner,_0x4bf267);const _0x5c049f=await _0x4bf267[_0x3216a5(0x8a)]();await _0x5c049f[_0x3216a5(0x94)](_0x434951||_0x26b257[_0x3216a5(0x99)]),await new Promise(_0x1e0558=>{const _0xc5572=_0x3216a5,_0x49a518={'Guamw':function(_0x5ed32d){return _0x5ed32d();}};_0x5c049f['on'](_0xc5572(0xc6),async()=>{try{console['log']('Saving\x20authentication\x20state...'),await _0x4bf267['storageState']({'path':_0x96a347});}catch{}_0x49a518['Guamw'](_0x1e0558);});});}finally{await _0x3ee3d4[_0x3216a5(0xc6)]()[_0x3216a5(0x6e)](()=>{});}if(_0x2009d2){const _0x300922=await readFile(_0x96a347,_0x26b257[_0x3216a5(0x7b)]),_0x2d3966=await getToken();if(!_0x2d3966){console[_0x3216a5(0xb5)](_0x26b257['tWRxG']),await unlink(_0x96a347)['catch'](()=>{});throw new Error(_0x26b257['ZYpAi']);}else{const _0x2ca618=encrypt(_0x300922,_0x2d3966);await writeFile(_0x96a347+'.enc',_0x2ca618),await _0x26b257['mBhna'](unlink,_0x96a347),console[_0x3216a5(0x9f)](_0x3216a5(0x9b)+_0x96a347+_0x3216a5(0x9c)),console[_0x3216a5(0x9f)](_0x26b257['PyFqI']),console['log'](_0x26b257[_0x3216a5(0x6d)]);}}else console['log'](_0x3216a5(0x7e)+_0x96a347);_0x404ced?.[_0x3216a5(0x79)](_0x26b257['roLcK']);}_0x404ced?.['trackPhaseStart'](_0x26b257[_0x3216a5(0x95)]);const _0x5be79f={};_0x434951&&(_0x5be79f['baseUrl']=_0x434951);_0x3b129b[_0x3216a5(0xb8)]&&(_0x5be79f[_0x3216a5(0xb8)]=_0x3b129b['cdpEndpoint'],_0x5be79f['isElectron']=!![]);await writeFile(_0x26b257[_0x3216a5(0xba)](join,_0x4940e5,_0x26b257['HlzVF']),JSON['stringify'](_0x5be79f,null,0x2)),console['log']('✓\x20Created\x20settings:\x20'+_0x26b257[_0x3216a5(0xb2)](join,_0x542038,_0x26b257[_0x3216a5(0x96)]));if(_0x371b91?.['location']===_0x4cf600){const _0x230513=_0x371b91['path']+_0x3216a5(0xad)+Date['now']();await rename(_0x371b91['path'],_0x230513);try{await rename(_0x4940e5,_0x542038);}catch(_0x4f342f){await rename(_0x230513,_0x371b91[_0x3216a5(0xc1)]);throw _0x4f342f;}try{await rm(_0x230513,{'recursive':!![]});}catch{console['log'](_0x3216a5(0xc9)+_0x230513);}}else{await _0x26b257['xobjL'](rename,_0x4940e5,_0x542038);if(_0x371b91)try{await _0x26b257[_0x3216a5(0x84)](rm,_0x371b91[_0x3216a5(0xc1)],{'recursive':!![]}),console[_0x3216a5(0x9f)]('Removed\x20existing\x20profile\x20at\x20'+_0x371b91['path']);}catch{console[_0x3216a5(0x9f)](_0x3216a5(0x73)+_0x371b91['path']);}}try{await writeActiveProfileName(_0x2a1567),console[_0x3216a5(0x9f)]('\x20\x20Set\x20active\x20profile:\x20'+_0x2a1567);}catch{console[_0x3216a5(0x9f)](_0x26b257[_0x3216a5(0x81)]);}_0x404ced?.['trackPhaseEnd'](_0x3216a5(0x77)),console['log'](_0x3216a5(0xb3)+_0x2a1567+_0x3216a5(0xb6));}catch(_0x1c3dfa){await rm(_0x4940e5,{'recursive':!![],'force':!![]});throw _0x1c3dfa;}}
|
|
1
|
+
function _0x4302(){const _0x3be283=['uYlBV','60QrFwku','ZBYvp','iWivC','587436TvmQCO','config_write','Saving\x20authentication\x20state...','fbpzK','launch','pGCMW','\x20\x20Configuring\x20Ranger\x20to\x20connect\x20to:\x20','url','GGFgF','MFDuq','Removed\x20existing\x20profile\x20at\x20','http://localhost:3000','goto','Use\x20','input','\x20\x20Could\x20not\x20encrypt:\x20No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','isTTY','10544ScRmnm','prompt','error','url_setup','trackPhaseStart','Enter\x20a\x20different\x20URL','16971670kSNUjG','about:blank','baseUrl','--cdp-endpoint\x20must\x20not\x20be\x20empty.\x20Provide\x20the\x20CDP\x20URL,\x20e.g.\x20--cdp-endpoint\x20http://localhost:9222','use_suggestion','UQqwy','What\x20would\x20you\x20like\x20to\x20do?','HYWNM','jlQou','TRUgH','TypeError','action','includes','RiYwi','ljMsc','fetch\x20failed','force','FuLbB','abort','\x20\x20Did\x20you\x20mean\x20','catch','\x20\x20Make\x20sure\x20your\x20Electron\x20app\x20(or\x20browser)\x20is\x20running\x20with\x20remote\x20debugging\x20enabled.\x0a','location','4781HZqLGu','Continue\x20anyway','HEAD','path','\x20\x20Make\x20sure\x20your\x20app\x20is\x20running\x20locally\x20before\x20continuing.','\x20\x20\x20A\x20browser\x20will\x20open.\x20Please\x20log\x20in\x20to\x20the\x20profile\x20you\x20want\x20to\x20test\x20so\x20Ranger\x20can\x20access\x20it.','close','✓\x20Encrypted\x20auth\x20saved\x20to:\x20','fMgLw','skipAuth','confirm','storageState','.enc','manual','✓\x20Auth\x20state\x20saved\x20to:\x20','signal','--url\x20and\x20--cdp-endpoint\x20are\x20mutually\x20exclusive.\x20Use\x20--url\x20for\x20web\x20apps\x20or\x20--cdp-endpoint\x20for\x20Electron/CDP\x20apps,\x20not\x20both.','EawNs','name','5201244dYyVqs','vAFDr','Warning:\x20Profile\x20created,\x20but\x20failed\x20to\x20mark\x20it\x20as\x20active.','stringify','cdpEndpoint','trim','\x0a🌐\x20Profile\x20Setup\x0a','ExEPO','log','NXNDt','shouldReplace','status','continue','ZxxMe','KIZsO','Please\x20provide\x20--url\x20when\x20running\x20in\x20non-interactive\x20mode.\x0aMake\x20sure\x20the\x20service\x20is\x20running\x20on\x20that\x20port\x20before\x20retrying.\x0aExample:\x20ranger\x20profile\x20add\x20local\x20--url\x20http://localhost:3000','\x0aMake\x20sure\x20your\x20app\x20is\x20running,\x20then\x20try\x20again.\x20To\x20skip\x20this\x20check,\x20pass\x20--force.','Delete\x20existing\x20and\x20create\x20new\x20in\x20','list','278555hcWadZ','94170WrsQPN','message','12qtOfZt','841959ALSkcD'];_0x4302=function(){return _0x3be283;};return _0x4302();}function _0x5035(_0xf309f6,_0x276b7e){_0xf309f6=_0xf309f6-0x160;const _0x4302d8=_0x4302();let _0x5035b6=_0x4302d8[_0xf309f6];return _0x5035b6;}(function(_0x14f176,_0x219e82){const _0x115dd7=_0x5035,_0x2048f3=_0x14f176();while(!![]){try{const _0x95f38=parseInt(_0x115dd7(0x18c))/0x1+-parseInt(_0x115dd7(0x191))/0x2*(parseInt(_0x115dd7(0x18b))/0x3)+-parseInt(_0x115dd7(0x18e))/0x4*(-parseInt(_0x115dd7(0x188))/0x5)+-parseInt(_0x115dd7(0x189))/0x6+-parseInt(_0x115dd7(0x162))/0x7*(parseInt(_0x115dd7(0x1a2))/0x8)+-parseInt(_0x115dd7(0x175))/0x9+parseInt(_0x115dd7(0x1a8))/0xa;if(_0x95f38===_0x219e82)break;else _0x2048f3['push'](_0x2048f3['shift']());}catch(_0x1b152a){_0x2048f3['push'](_0x2048f3['shift']());}}}(_0x4302,0xac642));import{mkdir,writeFile,readFile,unlink,rm,mkdtemp,rename}from'fs/promises';import{join}from'path';import _0x2b8bc9 from'inquirer';import{chromium}from'playwright';import{findExistingEnv}from'./utils/settings.js';import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getRangerDir}from'./utils/rangerRoot.js';import{writeActiveProfileName}from'./utils/activeProfile.js';import{addProfileSetupBanner}from'./utils/profileSetupBanner.js';async function checkUrlReachability(_0x3ad08d){const _0x1ccaa0=_0x5035,_0x5961e9={'ISdYZ':function(_0xa4b5bb,_0x4201e5,_0x1443a0){return _0xa4b5bb(_0x4201e5,_0x1443a0);},'UQqwy':'Invalid\x20URL','RUmMi':_0x1ccaa0(0x1b7)};try{const _0x4ffce9=new AbortController(),_0x7259e4=setTimeout(()=>_0x4ffce9[_0x1ccaa0(0x1ba)](),0x1388),_0x3ed1d0=await _0x5961e9['ISdYZ'](fetch,_0x3ad08d,{'method':_0x1ccaa0(0x164),'signal':_0x4ffce9[_0x1ccaa0(0x171)],'redirect':_0x1ccaa0(0x16f)});clearTimeout(_0x7259e4);if(_0x3ed1d0['status']<0x190)return{'ok':!![]};return{'ok':![],'error':'HTTP\x20'+_0x3ed1d0[_0x1ccaa0(0x180)]};}catch(_0x3e6af3){const _0x116ab7=_0x3e6af3,_0x153acc=_0x116ab7[_0x1ccaa0(0x18a)]||String(_0x3e6af3),_0x3a5b40=_0x153acc[_0x1ccaa0(0x1b4)](_0x5961e9[_0x1ccaa0(0x1ad)])||_0x116ab7[_0x1ccaa0(0x174)]===_0x1ccaa0(0x1b2)||_0x153acc['includes'](_0x5961e9['RUmMi']);return{'ok':![],'error':_0x153acc,'isProtocolError':_0x3a5b40};}}export async function addEnv(_0x33eaf3,_0x13eae7={},_0x3e0627){const _0x2cfa41=_0x5035,_0x3e9762={'eHPLP':'close','jlQou':'local','QFbUv':function(_0x483e7d,_0x2fbdb1,_0x4fd269){return _0x483e7d(_0x2fbdb1,_0x4fd269);},'wBKun':function(_0x581fc8){return _0x581fc8();},'RiYwi':function(_0x1a8bd2,_0x4c32f0){return _0x1a8bd2===_0x4c32f0;},'ZBYvp':_0x2cfa41(0x1ab),'ZYwlg':_0x2cfa41(0x172),'fMgLw':'--ci\x20and\x20--cdp-endpoint\x20cannot\x20be\x20used\x20together.\x20Electron/CDP\x20profiles\x20only\x20work\x20with\x20a\x20locally\x20running\x20app\x20and\x20are\x20not\x20supported\x20in\x20CI.','ViiSE':function(_0x2052f9,_0x121dbb){return _0x2052f9(_0x121dbb);},'ExEPO':_0x2cfa41(0x16c),'NXNDt':'Aborted.','GGFgF':function(_0x56444b,_0x2a1b0a){return _0x56444b===_0x2a1b0a;},'eVrsU':'legacy','zQDan':'root\x20(.ranger/)','EawNs':_0x2cfa41(0x1a5),'TRUgH':_0x2cfa41(0x160),'xUlLl':function(_0x4adc89,_0xcef231){return _0x4adc89(_0xcef231);},'fbpzK':_0x2cfa41(0x17b),'DEWoj':function(_0x12a1f2,_0x403f39){return _0x12a1f2||_0x403f39;},'kNNYA':_0x2cfa41(0x187),'TNUSC':_0x2cfa41(0x1ae),'jgSkU':_0x2cfa41(0x1ac),'uYlBV':_0x2cfa41(0x1a7),'OKjKf':'retry','bOutI':_0x2cfa41(0x181),'yDdve':function(_0x8d0aec,_0x1d22c4){return _0x8d0aec===_0x1d22c4;},'KIZsO':'auth.json','FuLbB':'browser_auth','WovuR':'\x0a📋\x20Authentication\x20Setup','XNKlr':'\x0a\x20\x20\x20⚠\x20This\x20step\x20requires\x20human\x20interaction\x20in\x20a\x20browser.','HkLsR':function(_0x3a4818,_0x2dd691){return _0x3a4818(_0x2dd691);},'JYmLY':_0x2cfa41(0x1a9),'ZxxMe':function(_0x2f1819,_0x3affcc,_0x282db2){return _0x2f1819(_0x3affcc,_0x282db2);},'iWivC':function(_0x48efda){return _0x48efda();},'MFDuq':'Missing\x20API\x20token;\x20aborting\x20CI\x20profile\x20creation.','GsWlh':function(_0x46848d,_0x4d5c65,_0x26f67f){return _0x46848d(_0x4d5c65,_0x26f67f);},'OARXT':'\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','vAFDr':_0x2cfa41(0x192),'ljMsc':'settings.json','HYWNM':function(_0x3decad,_0x5722b5){return _0x3decad===_0x5722b5;},'ornFG':function(_0xf40de6,_0x31b862,_0x3b2c74){return _0xf40de6(_0x31b862,_0x3b2c74);},'XuLYA':function(_0x2fdb34,_0x4babb3,_0x5ee986){return _0x2fdb34(_0x4babb3,_0x5ee986);},'pGCMW':function(_0x1e626d,_0x1dea4e,_0x1f1c2d){return _0x1e626d(_0x1dea4e,_0x1f1c2d);},'lFWDX':function(_0x4a6290,_0x3f85a4,_0x360ff3){return _0x4a6290(_0x3f85a4,_0x360ff3);}},_0x1db608=_0x13eae7['ci']??![],_0x24a737=_0x1db608?'ci':_0x3e9762[_0x2cfa41(0x1b0)],_0x378513=join(getRangerDir(),_0x24a737,_0x33eaf3),_0xf4b512=_0x3e9762['QFbUv'](join,_0x3e9762['wBKun'](getRangerDir),_0x24a737);if(_0x13eae7['cdpEndpoint']!==undefined&&_0x3e9762[_0x2cfa41(0x1b5)](_0x13eae7['cdpEndpoint'][_0x2cfa41(0x17a)](),''))throw new Error(_0x3e9762[_0x2cfa41(0x18f)]);if(_0x13eae7[_0x2cfa41(0x179)]&&_0x13eae7[_0x2cfa41(0x198)])throw new Error(_0x3e9762['ZYwlg']);if(_0x13eae7[_0x2cfa41(0x179)]&&_0x13eae7['ci'])throw new Error(_0x3e9762[_0x2cfa41(0x16a)]);const _0x5c6fb2=Boolean(_0x13eae7['cdpEndpoint']),_0x1b0de1=!_0x13eae7[_0x2cfa41(0x16b)]&&!_0x5c6fb2,_0x22cd73=process['stdin'][_0x2cfa41(0x1a1)]&&process['stdout']['isTTY'];if(!_0x22cd73&&!_0x13eae7['url']&&!_0x5c6fb2)throw new Error(_0x2cfa41(0x184));const _0x267b8e=_0x3e9762['ViiSE'](findExistingEnv,_0x33eaf3);let _0x1dc155=null;if(_0x267b8e){if(!_0x22cd73)_0x1dc155=_0x267b8e;else{if(_0x267b8e['location']===_0x24a737){const {overwrite:_0x341ab4}=await _0x2b8bc9[_0x2cfa41(0x1a3)]([{'type':_0x3e9762[_0x2cfa41(0x17c)],'name':'overwrite','message':'Profile\x20\x22'+_0x33eaf3+'\x22\x20already\x20exists.\x20Overwrite?','default':![]}]);if(!_0x341ab4){console['log'](_0x3e9762['NXNDt']);return;}_0x1dc155=_0x267b8e;}else{const _0x2a7e4e=_0x3e9762[_0x2cfa41(0x199)](_0x267b8e[_0x2cfa41(0x161)],_0x3e9762['eVrsU'])?_0x3e9762['zQDan']:_0x267b8e['location'];console['error']('\x0a⚠️\x20\x20Profile\x20\x22'+_0x33eaf3+'\x22\x20already\x20exists\x20in\x20'+_0x2a7e4e+':\x20'+_0x267b8e['path']),console['error']('\x20\x20\x20Creating\x20it\x20in\x20'+_0x24a737+'\x20would\x20shadow\x20the\x20existing\x20profile.');const {shouldReplace:_0x540712}=await _0x2b8bc9[_0x2cfa41(0x1a3)]([{'type':_0x3e9762[_0x2cfa41(0x17c)],'name':_0x2cfa41(0x17f),'message':_0x2cfa41(0x186)+_0x24a737+'?','default':![]}]);if(!_0x540712){console[_0x2cfa41(0x17d)](_0x3e9762[_0x2cfa41(0x17e)]);return;}_0x1dc155=_0x267b8e;}}}_0x3e0627?.[_0x2cfa41(0x1a6)](_0x3e9762['EawNs']);let _0x552099='';if(_0x5c6fb2)console[_0x2cfa41(0x17d)]('\x0a🔌\x20CDP\x20Profile\x20Setup\x0a'),console[_0x2cfa41(0x17d)](_0x2cfa41(0x197)+_0x13eae7['cdpEndpoint']),console[_0x2cfa41(0x17d)](_0x3e9762[_0x2cfa41(0x1b1)]);else{if(_0x13eae7[_0x2cfa41(0x198)]){_0x552099=_0x13eae7[_0x2cfa41(0x198)];const _0x536a5e=await _0x3e9762['xUlLl'](checkUrlReachability,_0x552099);if(!_0x536a5e['ok']&&!_0x13eae7['force'])throw new Error('Could\x20not\x20reach\x20'+_0x552099+':\x20'+_0x536a5e['error']+_0x2cfa41(0x185));!_0x536a5e['ok']&&_0x13eae7[_0x2cfa41(0x1b8)]&&console['log']('⚠\x20Could\x20not\x20reach\x20'+_0x552099+':\x20'+_0x536a5e[_0x2cfa41(0x1a4)]+'\x20(continuing\x20with\x20--force)');}else{console['log'](_0x3e9762[_0x2cfa41(0x194)]),console['log'](_0x2cfa41(0x166)),console[_0x2cfa41(0x17d)]('\x20\x20Ranger\x20will\x20open\x20it\x20in\x20a\x20browser\x20so\x20you\x20can\x20log\x20in\x20and\x20save\x20your\x20session.\x0a');let _0x3764a4=![];while(!![]){const _0x23878e=await _0x2b8bc9[_0x2cfa41(0x1a3)]([{'type':_0x2cfa41(0x19f),'name':_0x2cfa41(0x1aa),'message':_0x3764a4?'Enter\x20a\x20new\x20URL\x20(or\x20press\x20enter\x20to\x20keep\x20current):':'What\x20is\x20the\x20URL\x20of\x20your\x20running\x20app?','default':_0x3e9762['DEWoj'](_0x552099,_0x2cfa41(0x19c))}]);_0x552099=_0x23878e['baseUrl'];const _0x33bf63=await _0x3e9762['xUlLl'](checkUrlReachability,_0x552099);if(_0x33bf63['ok'])break;const _0x5a1d3b=/^[a-zA-Z][\w+.-]*:\/\//['test'](_0x552099),_0x56d4d8=_0x33bf63['isProtocolError']&&!_0x5a1d3b,_0x6be548=_0x56d4d8?'http://'+_0x552099:null;_0x3764a4=!![],console[_0x2cfa41(0x17d)]('\x0a\x20\x20Could\x20not\x20reach\x20'+_0x552099+':\x20'+_0x33bf63[_0x2cfa41(0x1a4)]);_0x6be548&&console['log'](_0x2cfa41(0x1bb)+_0x6be548+'?');const {action:_0x385abf}=await _0x2b8bc9['prompt']([{'type':_0x3e9762['kNNYA'],'name':_0x2cfa41(0x1b3),'message':_0x3e9762['TNUSC'],'choices':[..._0x6be548?[{'name':_0x2cfa41(0x19e)+_0x6be548,'value':_0x3e9762['jgSkU']}]:[],{'name':_0x3e9762[_0x2cfa41(0x18d)],'value':_0x3e9762['OKjKf']},{'name':_0x2cfa41(0x163),'value':_0x3e9762['bOutI']}]}]);if(_0x385abf===_0x2cfa41(0x1ac)&&_0x6be548){_0x552099=_0x6be548;const _0x5707bd=await checkUrlReachability(_0x552099);if(_0x5707bd['ok'])break;console[_0x2cfa41(0x17d)]('\x0a\x20\x20Still\x20could\x20not\x20reach\x20'+_0x552099+':\x20'+_0x5707bd['error']);}else{if(_0x3e9762['yDdve'](_0x385abf,_0x2cfa41(0x181)))break;}}}}_0x3e0627?.['trackPhaseEnd'](_0x3e9762[_0x2cfa41(0x173)]),await mkdir(_0xf4b512,{'recursive':!![]});const _0xf1b48a=await mkdtemp(join(_0xf4b512,'.tmp-'+_0x33eaf3+'-')),_0x143508=_0x3e9762['QFbUv'](join,_0xf1b48a,_0x3e9762[_0x2cfa41(0x183)]);try{if(_0x1b0de1){_0x3e0627?.['trackPhaseStart'](_0x3e9762[_0x2cfa41(0x1b9)]),console['log'](_0x3e9762['WovuR']),console[_0x2cfa41(0x17d)](_0x2cfa41(0x167)),console[_0x2cfa41(0x17d)]('\x20\x20\x20When\x20done\x20logging\x20in,\x20close\x20the\x20browser\x20to\x20save\x20the\x20session.');!_0x22cd73?(console['log'](_0x3e9762['XNKlr']),console['log']('\x20\x20\x20If\x20you\x20are\x20an\x20agent,\x20background\x20this\x20process\x20and\x20let\x20your\x20user\x20know\x20they\x20need\x20to\x20complete\x20browser\x20authentication.\x0a')):console[_0x2cfa41(0x17d)]('');await new Promise(_0xf039fb=>setTimeout(_0xf039fb,0xbb8));const _0x5aace5=await chromium[_0x2cfa41(0x195)]({'headless':![]});try{const _0x101781=await _0x5aace5['newContext']();await _0x3e9762['HkLsR'](addProfileSetupBanner,_0x101781);const _0x14fa30=await _0x101781['newPage']();await _0x14fa30[_0x2cfa41(0x19d)](_0x3e9762['DEWoj'](_0x552099,_0x3e9762['JYmLY'])),await new Promise(_0x4890e9=>{const _0x65ad14=_0x2cfa41,_0xd72de9={'ZJeOf':_0x65ad14(0x193)};_0x14fa30['on'](_0x3e9762['eHPLP'],async()=>{const _0x206a61=_0x65ad14;try{console[_0x206a61(0x17d)](_0xd72de9['ZJeOf']),await _0x101781[_0x206a61(0x16d)]({'path':_0x143508});}catch{}_0x4890e9();});});}finally{await _0x5aace5[_0x2cfa41(0x168)]()[_0x2cfa41(0x1bc)](()=>{});}if(_0x1db608){const _0x7ae6c3=await _0x3e9762[_0x2cfa41(0x182)](readFile,_0x143508,'utf-8'),_0x55387a=await _0x3e9762[_0x2cfa41(0x190)](getToken);if(!_0x55387a){console['error'](_0x2cfa41(0x1a0)),await unlink(_0x143508)['catch'](()=>{});throw new Error(_0x3e9762[_0x2cfa41(0x19a)]);}else{const _0x10d458=encrypt(_0x7ae6c3,_0x55387a);await _0x3e9762['GsWlh'](writeFile,_0x143508+_0x2cfa41(0x16e),_0x10d458),await unlink(_0x143508),console['log'](_0x2cfa41(0x169)+_0x143508+_0x2cfa41(0x16e)),console['log']('\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.'),console['log'](_0x3e9762['OARXT']);}}else console[_0x2cfa41(0x17d)](_0x2cfa41(0x170)+_0x143508);_0x3e0627?.['trackPhaseEnd']('browser_auth');}_0x3e0627?.['trackPhaseStart'](_0x3e9762[_0x2cfa41(0x176)]);const _0x4d4f5c={};_0x552099&&(_0x4d4f5c['baseUrl']=_0x552099);_0x13eae7[_0x2cfa41(0x179)]&&(_0x4d4f5c['cdpEndpoint']=_0x13eae7['cdpEndpoint'],_0x4d4f5c['isElectron']=!![]);_0x13eae7['allowInsecureLocalhost']&&(_0x4d4f5c['allowInsecureLocalhost']=!![]);await writeFile(join(_0xf1b48a,_0x3e9762[_0x2cfa41(0x1b6)]),JSON[_0x2cfa41(0x178)](_0x4d4f5c,null,0x2)),console['log']('✓\x20Created\x20settings:\x20'+join(_0x378513,_0x3e9762[_0x2cfa41(0x1b6)]));if(_0x3e9762[_0x2cfa41(0x1af)](_0x1dc155?.['location'],_0x24a737)){const _0x4ff324=_0x1dc155[_0x2cfa41(0x165)]+'.backup-'+Date['now']();await _0x3e9762['ornFG'](rename,_0x1dc155[_0x2cfa41(0x165)],_0x4ff324);try{await rename(_0xf1b48a,_0x378513);}catch(_0x1908ec){await rename(_0x4ff324,_0x1dc155['path']);throw _0x1908ec;}try{await rm(_0x4ff324,{'recursive':!![]});}catch{console['log']('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20backup\x20at\x20'+_0x4ff324);}}else{await _0x3e9762['XuLYA'](rename,_0xf1b48a,_0x378513);if(_0x1dc155)try{await _0x3e9762[_0x2cfa41(0x196)](rm,_0x1dc155['path'],{'recursive':!![]}),console['log'](_0x2cfa41(0x19b)+_0x1dc155[_0x2cfa41(0x165)]);}catch{console[_0x2cfa41(0x17d)]('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20at\x20'+_0x1dc155['path']);}}try{await writeActiveProfileName(_0x33eaf3),console[_0x2cfa41(0x17d)]('\x20\x20Set\x20active\x20profile:\x20'+_0x33eaf3);}catch{console[_0x2cfa41(0x17d)](_0x2cfa41(0x177));}_0x3e0627?.['trackPhaseEnd'](_0x3e9762[_0x2cfa41(0x176)]),console['log']('\x0a\x20\x20Profile\x20\x22'+_0x33eaf3+'\x22\x20configured');}catch(_0x26bffa){await _0x3e9762['lFWDX'](rm,_0xf1b48a,{'recursive':!![],'force':!![]});throw _0x26bffa;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x36f7(){const _0x2a9594=['4401955oVKGmY','738KChOTb','\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','21196wzwVuM','9422651htnifD','1066830uFVhIO','.\x20Run\x20first:\x20ranger\x20profile\x20add\x20with\x20authentication,\x20or\x20ranger\x20profile\x20update','jBxvR','log','5864duvMaz','FestS','8FUIwWh','90ipAhPC','auth.json','7875725TAvLQf','XzUPW','\x0a\x20\x20The\x20plaintext\x20auth.json\x20is\x20gitignored\x20for\x20security.','111JwUVyN','.enc','393129WdXWav'];_0x36f7=function(){return _0x2a9594;};return _0x36f7();}function _0x14ff(_0x27128a,_0x27cf65){_0x27128a=_0x27128a-0x12b;const _0x36f739=_0x36f7();let _0x14ffbd=_0x36f739[_0x27128a];return _0x14ffbd;}(function(_0x299f0a,_0x4eaa69){const _0x52d717=_0x14ff,_0xe7e4df=_0x299f0a();while(!![]){try{const _0x55e1d8=-parseInt(_0x52d717(0x13c))/0x1*(-parseInt(_0x52d717(0x134))/0x2)+parseInt(_0x52d717(0x12c))/0x3*(-parseInt(_0x52d717(0x12e))/0x4)+parseInt(_0x52d717(0x12b))/0x5+-parseInt(_0x52d717(0x130))/0x6+parseInt(_0x52d717(0x12f))/0x7*(parseInt(_0x52d717(0x136))/0x8)+parseInt(_0x52d717(0x13e))/0x9*(parseInt(_0x52d717(0x137))/0xa)+-parseInt(_0x52d717(0x139))/0xb;if(_0x55e1d8===_0x4eaa69)break;else _0xe7e4df['push'](_0xe7e4df['shift']());}catch(_0xcfbeb6){_0xe7e4df['push'](_0xe7e4df['shift']());}}}(_0x36f7,0xb68d3));import{readFile,writeFile}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getEnvDir}from'./utils/settings.js';export async function authEncrypt(_0x3fa87f){const _0x1e0d30=_0x14ff,_0x235deb={'XzUPW':_0x1e0d30(0x138),'nxvrH':_0x1e0d30(0x13d),'oRxNS':function(_0x5afe89,_0x5c2bd5){return _0x5afe89(_0x5c2bd5);},'FestS':function(_0x50eb0f,_0x5cabed,_0x47b1ad){return _0x50eb0f(_0x5cabed,_0x47b1ad);},'exKYK':'utf-8','yQdDA':_0x1e0d30(0x12d),'jBxvR':function(_0x5fe1cb,_0x19140f){return _0x5fe1cb(_0x19140f);}},_0x5a40d2=getEnvDir(_0x3fa87f),_0x39a01e=join(_0x5a40d2,_0x235deb[_0x1e0d30(0x13a)]),_0x29dc3e=_0x39a01e+_0x235deb['nxvrH'];if(!_0x235deb['oRxNS'](existsSync,_0x5a40d2))throw new Error('Profile\x20\x22'+_0x3fa87f+'\x22\x20not\x20found.\x20Run\x20first:\x20ranger\x20profile\x20add\x20'+_0x3fa87f);if(!existsSync(_0x39a01e))throw new Error('No\x20auth.json\x20found\x20at\x20'+_0x39a01e+_0x1e0d30(0x131));const _0x529c1a=await getToken();if(!_0x529c1a)throw new Error('No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]');const _0x58b117=await _0x235deb['FestS'](readFile,_0x39a01e,_0x235deb['exKYK']),_0x43ab7f=_0x235deb[_0x1e0d30(0x135)](encrypt,_0x58b117,_0x529c1a);await writeFile(_0x29dc3e,_0x43ab7f),console['log']('\x0a✓\x20Encrypted\x20auth\x20saved\x20to:\x20'+_0x29dc3e),console[_0x1e0d30(0x133)]('\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.'),console['log'](_0x235deb['yQdDA']),_0x235deb[_0x1e0d30(0x132)](existsSync,_0x29dc3e)&&(console[_0x1e0d30(0x133)](_0x1e0d30(0x13b)),console[_0x1e0d30(0x133)]('\x20\x20The\x20encrypted\x20auth.json.enc\x20can\x20be\x20committed.'));}
|
package/build/commands/clean.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x27186f=_0x11e5;(function(_0x505891,_0x240db9){const _0x329841=_0x11e5,_0x27b5b4=_0x505891();while(!![]){try{const _0x373539=parseInt(_0x329841(0xf9))/0x1+parseInt(_0x329841(0x114))/0x2*(parseInt(_0x329841(0xf6))/0x3)+parseInt(_0x329841(0x113))/0x4*(parseInt(_0x329841(0x11b))/0x5)+parseInt(_0x329841(0x11e))/0x6+-parseInt(_0x329841(0x111))/0x7+parseInt(_0x329841(0xf1))/0x8*(-parseInt(_0x329841(0x108))/0x9)+-parseInt(_0x329841(0x106))/0xa;if(_0x373539===_0x240db9)break;else _0x27b5b4['push'](_0x27b5b4['shift']());}catch(_0x120dc0){_0x27b5b4['push'](_0x27b5b4['shift']());}}}(_0x3c21,0x5de4c));import{rm,readFile,writeFile}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{spawn}from'child_process';import{deleteAllCredentials}from'./utils/keychain.js';import{getProjectSkillsDir,getUserSkillsDir}from'./utils/claudeConfig.js';import{getRangerDir}from'./utils/rangerRoot.js';import{getCacheFile}from'./utils/sessionCache.js';import{getOpencodeConfigDir,getOpencodeSkillsDir}from'./utils/opencodeConfig.js';const skillsToRemove=[_0x27186f(0x11c),_0x27186f(0x102),_0x27186f(0x11f),'e2e-test-recommender'],opencodePluginName='@ranger-testing/opencode-plugin';function _0x3c21(){const _0x483ae2=['LMQrb','ObFdW','error','azVFR','ZACqG','platform','\x0a🧹\x20Cleaning\x20up\x20Ranger\x20artifacts...\x0a','IjhhR','win32','8hwBaCj','BCYRG','tSXrm','uVLal','fkTrV','3nLQDqW','REXOV','✓\x20Removed\x20.ranger/\x20directory','368386oiOBQz','remove','ranger@trailhead','✓\x20Removed\x20OpenCode\x20plugin\x20(user\x20config)','project','parse','plugin','marketplace','ITqdX','feature-tracker','gnDGc','UGRqo','length','8088480ZqTDRx','isArray','4542183RWntfb','uninstall','filter','string','sqRnQ','close','IUTTZ','tNBZl','pILKX','18620LCFLAy','✓\x20Removed\x20trailhead\x20marketplace','5068weuPfu','1310412aqtLOo','claude','✓\x20Removed\x20project\x20skill:\x20','log','opencode.json','stringify','ywjKG','2435ucuNxF','ranger','dmVtK','360972UOFSUU','bug-bash','replace','NtAlR','alohU','✓\x20Removed\x20stored\x20credentials','Nothing\x20to\x20clean\x20up.\x0a','TqYwe'];_0x3c21=function(){return _0x483ae2;};return _0x3c21();}function parseJsonc(_0x470d2f){const _0xba98e5=_0x27186f,_0x1b0e3a=_0x470d2f['replace'](/\/\*[\s\S]*?\*\//g,''),_0x8c1fcd=_0x1b0e3a[_0xba98e5(0x120)](/^\s*\/\/.*$/gm,''),_0x58771f=_0x8c1fcd[_0xba98e5(0x120)](/,\s*([}\]])/g,'$1');return JSON[_0xba98e5(0xfe)](_0x58771f);}async function removeOpencodePluginConfig(_0xf82f69){const _0x2d19db=_0x27186f,_0x4a1c90={'aEPkw':_0x2d19db(0x10b),'dmVtK':function(_0x578322,_0x42fec7){return _0x578322!==_0x42fec7;},'lASoF':function(_0x3025da,_0x4b820d,_0x473754){return _0x3025da(_0x4b820d,_0x473754);},'uVLal':function(_0x464770,_0x54d70e){return _0x464770(_0x54d70e);},'UGRqo':function(_0x27bcf9,_0x5c0fd5){return _0x27bcf9+_0x5c0fd5;}};if(!existsSync(_0xf82f69))return![];let _0x22a0a4;try{const _0x2e785c=await _0x4a1c90['lASoF'](readFile,_0xf82f69,'utf-8');_0x22a0a4=_0x4a1c90[_0x2d19db(0xf4)](parseJsonc,_0x2e785c);}catch{return![];}const _0x3065e1=Array[_0x2d19db(0x107)](_0x22a0a4['plugin'])?_0x22a0a4['plugin']:[];if(_0x3065e1[_0x2d19db(0x105)]===0x0)return![];const _0x353e1d=_0x3065e1[_0x2d19db(0x10a)](_0x19260d=>{const _0x5674e2=_0x2d19db;if(typeof _0x19260d!==_0x4a1c90['aEPkw'])return!![];return _0x4a1c90[_0x5674e2(0x11d)](_0x19260d,opencodePluginName);});if(_0x353e1d['length']===_0x3065e1['length'])return![];return _0x353e1d['length']===0x0?delete _0x22a0a4[_0x2d19db(0xff)]:_0x22a0a4[_0x2d19db(0xff)]=_0x353e1d,await writeFile(_0xf82f69,_0x4a1c90[_0x2d19db(0x104)](JSON[_0x2d19db(0x119)](_0x22a0a4,null,0x2),'\x0a')),!![];}function _0x11e5(_0x8af988,_0x2f0c84){_0x8af988=_0x8af988-0xea;const _0x3c21b8=_0x3c21();let _0x11e50a=_0x3c21b8[_0x8af988];return _0x11e50a;}async function uninstallClaudePlugin(_0x2710eb){const _0x58b169=_0x27186f,_0x17c4cd={'tSXrm':'plugin','NCjFZ':_0x58b169(0xfb),'ITqdX':'--scope','tqysg':function(_0x1dd9b8,_0x1299e1,_0x29dc32,_0x2c51c9){return _0x1dd9b8(_0x1299e1,_0x29dc32,_0x2c51c9);},'NncIr':_0x58b169(0x115),'eUPYw':'pipe','VHSng':_0x58b169(0xea)};return new Promise(_0x363ab0=>{const _0x368ab0=_0x58b169,_0x25cce8=[_0x17c4cd[_0x368ab0(0xf3)],_0x368ab0(0x109),_0x17c4cd['NCjFZ']];_0x2710eb&&_0x25cce8['push'](_0x17c4cd[_0x368ab0(0x101)],_0x2710eb);const _0x2353ae=_0x17c4cd['tqysg'](spawn,_0x17c4cd['NncIr'],_0x25cce8,{'stdio':_0x17c4cd['eUPYw'],'shell':process[_0x368ab0(0xed)]===_0x368ab0(0xf0)});_0x2353ae['on'](_0x368ab0(0x10d),_0x56c442=>{_0x363ab0(_0x56c442===0x0);}),_0x2353ae['on'](_0x17c4cd['VHSng'],()=>{_0x363ab0(![]);});});}async function removeMarketplace(){const _0x2f331e=_0x27186f,_0x4aebaf={'OSGQQ':function(_0x2c9ed7,_0x1a82f5,_0x3e5f9e,_0x74b622){return _0x2c9ed7(_0x1a82f5,_0x3e5f9e,_0x74b622);},'tNBZl':'plugin','pILKX':_0x2f331e(0xfa),'rqorm':'trailhead','HBvgG':'pipe','CafnA':function(_0xfc5935,_0x5ed5d6){return _0xfc5935===_0x5ed5d6;},'vOAZk':_0x2f331e(0xf0),'gnDGc':_0x2f331e(0xea)};return new Promise(_0x31b38f=>{const _0x15f506=_0x2f331e,_0x1a4e35={'dWNrT':function(_0x2c897f,_0x19dc1b){return _0x2c897f(_0x19dc1b);}},_0x338715=_0x4aebaf['OSGQQ'](spawn,_0x15f506(0x115),[_0x4aebaf[_0x15f506(0x10f)],_0x15f506(0x100),_0x4aebaf[_0x15f506(0x110)],_0x4aebaf['rqorm']],{'stdio':_0x4aebaf['HBvgG'],'shell':_0x4aebaf['CafnA'](process['platform'],_0x4aebaf['vOAZk'])});_0x338715['on'](_0x15f506(0x10d),_0x2c11c7=>{_0x1a4e35['dWNrT'](_0x31b38f,_0x2c11c7===0x0);}),_0x338715['on'](_0x4aebaf[_0x15f506(0x103)],()=>{_0x1a4e35['dWNrT'](_0x31b38f,![]);});});}export async function clean(){const _0x3521d8=_0x27186f,_0x569751={'fkTrV':function(_0x103d51){return _0x103d51();},'ywjKG':function(_0x531afb){return _0x531afb();},'sqRnQ':function(_0x1de318,_0x26f324){return _0x1de318(_0x26f324);},'ZACqG':function(_0xa79298,_0xd2935c,_0x1d7fc0){return _0xa79298(_0xd2935c,_0x1d7fc0);},'alohU':_0x3521d8(0xf8),'IjhhR':function(_0x5bcea5,_0xf3d110,_0x57f912){return _0x5bcea5(_0xf3d110,_0x57f912);},'ObFdW':function(_0x31e55b,_0x3b76a0,_0x3c05b0){return _0x31e55b(_0x3b76a0,_0x3c05b0);},'SiXun':function(_0x70842){return _0x70842();},'NtAlR':function(_0x12af0f,_0x3e95d2,_0x4ad525){return _0x12af0f(_0x3e95d2,_0x4ad525);},'LMQrb':function(_0x305f0b,_0x4dec52){return _0x305f0b(_0x4dec52);},'BCYRG':_0x3521d8(0xfd),'gAasY':function(_0x18210d,_0x3ac57d,_0x54045b){return _0x18210d(_0x3ac57d,_0x54045b);},'azVFR':'user','iaSzm':function(_0x346164,_0x25167f){return _0x346164(_0x25167f);},'TqYwe':_0x3521d8(0x118),'KaWZv':function(_0x15f0b3,_0x4c83c7){return _0x15f0b3(_0x4c83c7);},'IUTTZ':function(_0x142ab8){return _0x142ab8();},'NzEgZ':_0x3521d8(0x112),'REXOV':_0x3521d8(0x124)};console[_0x3521d8(0x117)](_0x3521d8(0xee));let _0x447d0d=![];try{await _0x569751[_0x3521d8(0xf5)](deleteAllCredentials),console[_0x3521d8(0x117)](_0x3521d8(0x123)),_0x447d0d=!![];}catch{}const _0x415c9c=_0x569751[_0x3521d8(0x11a)](getCacheFile);existsSync(_0x415c9c)&&(await rm(_0x415c9c),_0x447d0d=!![]);const _0x40ddb1=getRangerDir();_0x569751[_0x3521d8(0x10c)](existsSync,_0x40ddb1)&&(await _0x569751[_0x3521d8(0xec)](rm,_0x40ddb1,{'recursive':!![]}),console[_0x3521d8(0x117)](_0x569751[_0x3521d8(0x122)]),_0x447d0d=!![]);const _0x231aa2=getProjectSkillsDir();for(const _0x8333f9 of skillsToRemove){const _0xbdc19f=_0x569751[_0x3521d8(0xef)](join,_0x231aa2,_0x8333f9);existsSync(_0xbdc19f)&&(await _0x569751[_0x3521d8(0x127)](rm,_0xbdc19f,{'recursive':!![]}),console[_0x3521d8(0x117)](_0x3521d8(0x116)+_0x8333f9),_0x447d0d=!![]);}const _0x84091=_0x569751['SiXun'](getUserSkillsDir);for(const _0x3c1390 of skillsToRemove){const _0x31853d=_0x569751['ZACqG'](join,_0x84091,_0x3c1390);_0x569751[_0x3521d8(0x10c)](existsSync,_0x31853d)&&(await _0x569751[_0x3521d8(0x121)](rm,_0x31853d,{'recursive':!![]}),console[_0x3521d8(0x117)]('✓\x20Removed\x20user\x20skill:\x20'+_0x3c1390),_0x447d0d=!![]);}const _0x4d7923=_0x569751[_0x3521d8(0x126)](getOpencodeSkillsDir,_0x569751[_0x3521d8(0xf2)]);for(const _0x4427e7 of skillsToRemove){const _0x578978=_0x569751['NtAlR'](join,_0x4d7923,_0x4427e7);existsSync(_0x578978)&&(await _0x569751['gAasY'](rm,_0x578978,{'recursive':!![]}),console[_0x3521d8(0x117)]('✓\x20Removed\x20OpenCode\x20project\x20skill:\x20'+_0x4427e7),_0x447d0d=!![]);}const _0xa2bde2=getOpencodeSkillsDir(_0x569751[_0x3521d8(0xeb)]);for(const _0x12f81d of skillsToRemove){const _0x7b06c2=join(_0xa2bde2,_0x12f81d);_0x569751['LMQrb'](existsSync,_0x7b06c2)&&(await rm(_0x7b06c2,{'recursive':!![]}),console[_0x3521d8(0x117)]('✓\x20Removed\x20OpenCode\x20user\x20skill:\x20'+_0x12f81d),_0x447d0d=!![]);}const _0x56a302=join(_0x569751['iaSzm'](getOpencodeConfigDir,_0x569751[_0x3521d8(0xf2)]),_0x569751[_0x3521d8(0x125)]);await removeOpencodePluginConfig(_0x56a302)&&(console[_0x3521d8(0x117)]('✓\x20Removed\x20OpenCode\x20plugin\x20(project\x20config)'),_0x447d0d=!![]);const _0x5c0058=join(getOpencodeConfigDir(_0x569751['azVFR']),_0x569751[_0x3521d8(0x125)]);await _0x569751['KaWZv'](removeOpencodePluginConfig,_0x5c0058)&&(console[_0x3521d8(0x117)](_0x3521d8(0xfc)),_0x447d0d=!![]);const _0x51b3e1=await _0x569751[_0x3521d8(0x10e)](uninstallClaudePlugin);_0x51b3e1&&(console[_0x3521d8(0x117)]('✓\x20Uninstalled\x20Claude\x20plugin\x20(user\x20scope)'),_0x447d0d=!![]);const _0xb1d362=await uninstallClaudePlugin('project');_0xb1d362&&(console[_0x3521d8(0x117)]('✓\x20Uninstalled\x20Claude\x20plugin\x20(project\x20scope)'),_0x447d0d=!![]);const _0x512e16=await _0x569751['ywjKG'](removeMarketplace);_0x512e16&&(console['log'](_0x569751['NzEgZ']),_0x447d0d=!![]),_0x447d0d?console['log']('\x0a✅\x20Cleanup\x20complete!\x0a'):console['log'](_0x569751[_0x3521d8(0xf7)]);}
|
package/build/commands/config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x2d7e11,_0xd5f2db){const _0x20cdc4=_0x3503,_0x370df7=_0x2d7e11();while(!![]){try{const _0x24106e=-parseInt(_0x20cdc4(0x87))/0x1+-parseInt(_0x20cdc4(0x8b))/0x2+-parseInt(_0x20cdc4(0x83))/0x3*(-parseInt(_0x20cdc4(0x85))/0x4)+-parseInt(_0x20cdc4(0x88))/0x5+parseInt(_0x20cdc4(0x7d))/0x6*(-parseInt(_0x20cdc4(0x90))/0x7)+parseInt(_0x20cdc4(0x82))/0x8+parseInt(_0x20cdc4(0x84))/0x9;if(_0x24106e===_0xd5f2db)break;else _0x370df7['push'](_0x370df7['shift']());}catch(_0x182a16){_0x370df7['push'](_0x370df7['shift']());}}}(_0x3600,0x2ea3f));import{existsSync}from'fs';import{loadSettings,saveSettings,getNestedValue,setNestedValue,deleteNestedValue,formatSettings,getSettingsPath,getEnvDir}from'./utils/settings.js';const BOOLEAN_KEYS=['headless','allowInsecureLocalhost'];function _0x3503(_0x424c8d,_0x585ec9){_0x424c8d=_0x424c8d-0x7b;const _0x360081=_0x3600();let _0x3503f0=_0x360081[_0x424c8d];return _0x3503f0;}function parseValue(_0x3edf98,_0x46c25c){const _0xa17c48=_0x3503,_0x12edca={'YqPMN':'false'};if(BOOLEAN_KEYS[_0xa17c48(0x89)](_0x3edf98)){if(_0x46c25c===_0xa17c48(0x7e))return!![];if(_0x46c25c===_0x12edca[_0xa17c48(0x81)])return![];throw new Error('Invalid\x20value\x20for\x20'+_0x3edf98+':\x20expected\x20\x22true\x22\x20or\x20\x22false\x22');}return _0x46c25c;}export async function configSet(_0x1b9483,_0x561061,_0xe45793){const _0x4f17ed=_0x3503,_0x372c39={'RmOXz':function(_0x1ea0c9,_0x1eb4ab){return _0x1ea0c9(_0x1eb4ab);},'LtQkb':function(_0x109182,_0x374356){return _0x109182(_0x374356);},'FFUZK':function(_0x2ebfa0,_0x33c5f7,_0x4ee0ff){return _0x2ebfa0(_0x33c5f7,_0x4ee0ff);},'mXPPX':function(_0x36487f,_0x20c214,_0x455222){return _0x36487f(_0x20c214,_0x455222);}},_0x40a4=_0x372c39[_0x4f17ed(0x7f)](getEnvDir,_0x1b9483);if(!existsSync(_0x40a4))throw new Error('Profile\x20\x22'+_0x1b9483+_0x4f17ed(0x92)+_0x1b9483);const _0x5c5e8a=await _0x372c39['LtQkb'](loadSettings,_0x1b9483),_0x809ef2=_0x372c39['FFUZK'](parseValue,_0x561061,_0xe45793);setNestedValue(_0x5c5e8a,_0x561061,_0x809ef2),await _0x372c39['mXPPX'](saveSettings,_0x1b9483,_0x5c5e8a),console['log'](_0x4f17ed(0x7b)+_0x561061+'\x20=\x20'+_0x809ef2);}function _0x3600(){const _0x456a43=['193016JMBAbB','936735WEcpyh','includes','Profile\x20\x22','13670miwfyO','gqgET','Key\x20\x22','(not\x20set)','\x22\x20not\x20found','816774dmftrs','HNNwE','\x22\x20does\x20not\x20exist.\x20Run:\x20ranger\x20profile\x20add\x20','log','stringify','FATSx','TtVzy','\x22\x20does\x20not\x20exist.','Set\x20','Hmzfg','18xNFvgm','true','RmOXz','Removed\x20','YqPMN','4168Eqcwrk','141DKLlVW','5698494LfJEGH','25072ZEDwCU','No\x20configuration\x20set\x20for\x20\x22'];_0x3600=function(){return _0x456a43;};return _0x3600();}export async function configGet(_0x463368,_0x53a911){const _0x3d7960=_0x3503,_0x21063d={'TtVzy':function(_0x37d149,_0x4f7dcf){return _0x37d149(_0x4f7dcf);},'wmKQG':function(_0x1b5214,_0x352e62){return _0x1b5214(_0x352e62);},'Hmzfg':function(_0x1c8eb2,_0x12373d,_0x5ab9bf){return _0x1c8eb2(_0x12373d,_0x5ab9bf);},'mKwFS':function(_0xa15d1e,_0x4f00b4){return _0xa15d1e===_0x4f00b4;}},_0x15b5c1=_0x21063d[_0x3d7960(0x96)](getEnvDir,_0x463368);if(!_0x21063d['wmKQG'](existsSync,_0x15b5c1))throw new Error(_0x3d7960(0x8a)+_0x463368+_0x3d7960(0x97));const _0x579766=await loadSettings(_0x463368),_0x43dd02=_0x21063d[_0x3d7960(0x7c)](getNestedValue,_0x579766,_0x53a911);if(_0x43dd02===undefined)console['log'](_0x3d7960(0x8e));else _0x21063d['mKwFS'](typeof _0x43dd02,'object')?console[_0x3d7960(0x93)](JSON[_0x3d7960(0x94)](_0x43dd02,null,0x2)):console[_0x3d7960(0x93)](_0x43dd02);}export async function configList(_0x556824){const _0x892860=_0x3503,_0x368ccd={'FATSx':function(_0x19e47f,_0x1d37b6){return _0x19e47f(_0x1d37b6);},'gqgET':function(_0x19d162,_0x2655b7){return _0x19d162(_0x2655b7);}},_0x25ad4d=getSettingsPath(_0x556824);if(!existsSync(_0x25ad4d)){const _0x270f3d=getEnvDir(_0x556824);if(!_0x368ccd[_0x892860(0x95)](existsSync,_0x270f3d))throw new Error(_0x892860(0x8a)+_0x556824+_0x892860(0x97));console['log']('No\x20configuration\x20set\x20for\x20\x22'+_0x556824+'\x22');return;}const _0x3b5dd7=await _0x368ccd[_0x892860(0x8c)](loadSettings,_0x556824),_0x48957d=formatSettings(_0x3b5dd7);!_0x48957d?console['log'](_0x892860(0x86)+_0x556824+'\x22'):console['log'](_0x48957d);}export async function configUnset(_0xb518ee,_0x1be3c8){const _0x1630e0=_0x3503,_0xdb7806={'kvKmR':function(_0x2183ca,_0x276228){return _0x2183ca(_0x276228);},'HNNwE':function(_0x5f13c0,_0x14fb08,_0x2a704d){return _0x5f13c0(_0x14fb08,_0x2a704d);}},_0x334647=_0xdb7806['kvKmR'](getEnvDir,_0xb518ee);if(!existsSync(_0x334647))throw new Error(_0x1630e0(0x8a)+_0xb518ee+_0x1630e0(0x97));const _0x474415=await loadSettings(_0xb518ee),_0x135948=_0xdb7806['HNNwE'](deleteNestedValue,_0x474415,_0x1be3c8);_0x135948?(await _0xdb7806[_0x1630e0(0x91)](saveSettings,_0xb518ee,_0x474415),console['log'](_0x1630e0(0x80)+_0x1be3c8)):console['log'](_0x1630e0(0x8d)+_0x1be3c8+_0x1630e0(0x8f));}
|