@ranger-testing/ranger-cli 2.4.0 โ 2.4.1
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/agentEnv.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/playwrightCli.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/verifyFeatureCli.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 _0xe05987=_0x3878;(function(_0x1f6f1d,_0x419c32){const _0x277442=_0x3878,_0x15e7d7=_0x1f6f1d();while(!![]){try{const _0x1b31fc=-parseInt(_0x277442(0x2ce))/0x1*(parseInt(_0x277442(0x2c2))/0x2)+-parseInt(_0x277442(0x2a5))/0x3*(parseInt(_0x277442(0x1d3))/0x4)+-parseInt(_0x277442(0x1d9))/0x5+parseInt(_0x277442(0x25d))/0x6+-parseInt(_0x277442(0x1cf))/0x7*(-parseInt(_0x277442(0x278))/0x8)+parseInt(_0x277442(0x1cb))/0x9*(parseInt(_0x277442(0x1a5))/0xa)+parseInt(_0x277442(0x277))/0xb;if(_0x1b31fc===_0x419c32)break;else _0x15e7d7['push'](_0x15e7d7['shift']());}catch(_0x22db10){_0x15e7d7['push'](_0x15e7d7['shift']());}}}(_0x4a66,0x9e494));import _0x13fca1 from'dotenv';function _0x3878(_0x5a79ef,_0xec6cd4){_0x5a79ef=_0x5a79ef-0x18a;const _0x4a6619=_0x4a66();let _0x3878f1=_0x4a6619[_0x5a79ef];return _0x3878f1;}import{dirname,join,parse}from'path';import{existsSync}from'fs';function _0x4a66(){const _0x2261ff=['Skip\x20Claude\x20Code\x20plugin\x20+\x20skills\x20install\x20(for\x20OpenCode\x20users)','hKoup','rDcJD','demandCommand','fCurT','ranger\x20env\x20update','bBIrn','restore\x20<id>','Config\x20value','Zxoig','ranger\x20profile\x20ls','Add\x20profile\x20configuration','ranger\x20profile\x20update','List\x20all\x20profiles','add-checklist-item\x20<description>','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','offset','ranger\x20add-scenario','guYtK','Number\x20of\x20feature\x20reviews\x20to\x20skip','sDlkI','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','vHupa','bqrOW','eMqpA','\x0aUnknown\x20command:\x20','array','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','add-scenario\x20<description>','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','utsgs','setup-ci\x20<token>','exitCode','trackCommandError','RNtrl','base-url','ranger\x20profile\x20config\x20set','notes','skip-auth','TLeTB','error','zdeKy','1475178imJgtU','parse','Documentation:\x0a','JxmTe','KXGUF','ranger\x20profile\x20config\x20list','FtJwu','Scenario\x20description','GQFnk','ranger\x20auth\x20encrypt','tMGAT','neYFH','\x20\x20https://docs.ranger.net\x0a','Config\x20key','string','sJaaA','OaXoa','NjpPU','OPkgF','iGBFo','blocked','KnTFf','ranger\x20profile\x20config\x20get','\x20is\x20now\x20','exit','Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','13940839uLzKra','4402248ibVdZz','BJVgW','nMAod','GWmYW','auth','use\x20<profile-name>','task','IfkXD','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','fYskl','slice','RhssI','UnmKx','YoPzb','force','Aegqb','status','feature\x20restore','DYEzP','rhuTA','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','exclude-scenario','clean','include-deleted','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','oHDRf','WXShi','nvlff','pRETf','VuiYq','scope','--item','LUGoV','You\x20must\x20specify\x20a\x20profile\x20subcommand','csZMX','nQVHE','MwqNQ','Include\x20soft-deleted\x20feature\x20reviews','unset\x20<env>\x20<key>','headed','ecxbI','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.','BabLY','.\x20[','hRWve','852LWYuYj','zZWxf','lojaE','get-review','strictCommands','oNsYH','Feature\x20review\x20ID','naABi','mdeGA','incomplete','aIXLX','qeoiI','Config\x20key\x20to\x20remove','LiUFc','verified','ranger\x20env\x20ls','config\x20get','ranger\x20create','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','hook:enable','opencode','Feature\x20review\x20description','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','YXixl','ranger\x20feature\x20resume','token','profile','config\x20set','lYxKO','2dgwkZZ','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','show','Optional\x20feature\x20ID','scriptName','jizyy','yEtlo','GNrWk','yXdYG','RUgxN','UXchN','tRPWS','1106197BNQqQX','CIgeN','gQRGg','gTHLq','SjTJc','log','Get\x20a\x20config\x20value','profile-name','ranger\x20restore','forEach','Name\x20of\x20the\x20environment\x20to\x20update','UGATn','DQzRe','ImfNQ','debug-outcome','kyPcL','sYCoE','partial','checklist','AElib','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','repeat','add-scenario','config\x20list','argv','feature\x20get-feedback','session-id','start-path','KrNsT','gXBHM','ItsGh','VdCWh','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','PHJHp','edit-scenario','delete\x20[id]','ovkQz','key','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','TDtJU','Set\x20a\x20config\x20value','wVmQD','current-branch','dMefe','You\x20must\x20specify\x20an\x20auth\x20subcommand','unset\x20<profile>\x20<key>','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','profile\x20config\x20get','NdluA','number','login','report\x20[id]','limit','summary','env-name','QEYkm','scenario','zurrX','brvig','mklIU','failed','report','description','PBCvF','ranger\x20profile\x20add','QfShx','cAIwn','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','FMZPe','feature\x20create','10EhiDvj','LMRrD','some','qWHrD','setup-ci','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','Ranger\x20API\x20token','env','Name\x20of\x20the\x20environment','Name\x20of\x20the\x20profile\x20to\x20update','boolean','MONRA','fPHQq','feature\x20show','Pnfei','uklSA','\x0aError:\x20','lhiCc','oURlu','evaluation','zeHXq','command','dKRMD','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','issues','positional','XiLPb','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','feature\x20delete','ranger\x20verify-feature','SVOPE','MKqaI','XqCbD','YmNHk','list\x20<env>','set\x20<env>\x20<key>\x20<value>','IwDah','nRCYW','6276591wqCvpU','WEdoW','WtpdC','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','7HJuATY','fBCSQ','create\x20<name>','mwjMS','1788tLHpjh','AogIj','\x20PARTIAL','get\x20<profile>\x20<key>','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','option','4397035YjGdJz','use\x20<env-name>','--checklist','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','qoAIj','Scenario\x20index\x20(1-based)','ranger\x20setup','feature\x20list','ranger\x20feature\x20get-feedback','PEHRS','List\x20all\x20config\x20for\x20a\x20profile','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','profile\x20encrypt-auth','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','Aysuh','debug-address-comments','NgLAl','Initialize\x20Ranger\x20in\x20your\x20project','cwd','Environment\x20name','kUYfW','setup\x20[token]','\x20INCOMPLETE','skip-chromium','vYlWN','BCBad','feature\x20add-checklist-item','KhqAC','encrypt\x20<profile>','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','oJlKs','gPGJm','claude','name','Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','LtJxD','project','UZdad','edit-scenario\x20<description>','show\x20[id]','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','list','\x20BLOCKED','model','bMZYe','update\x20<env-name>','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','ImVyx','peuhj','add\x20env','value','root','ranger\x20config\x20list','usage','feature\x20resume','HMKlE','xUMZs','MhxXE','mlVbz','aOiOn','get-feedback\x20[id]','LCRiK','aglkl','kMAuX','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','list\x20<profile>','oomZO','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','ofIvb','RLhHW','Install\x20skills\x20for\x20OpenCode','feature','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','length','cdp-endpoint','delete','NZQwd','allow-insecure-localhost','ranger\x20delete','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','startsWith','Restore\x20a\x20soft-deleted\x20feature\x20review','disable','AXEIy','UpSbz','item','env\x20update','--task','IdHPe'];_0x4a66=function(){return _0x2261ff;};return _0x4a66();}function findProjectRoot(){const _0xf78142=_0x3878,_0x313743={'bqrOW':function(_0x190704,_0x969128){return _0x190704(_0x969128);},'oNsYH':'.ranger','vabTf':function(_0x265280,_0x4da19d,_0x25da76){return _0x265280(_0x4da19d,_0x25da76);},'JxdbF':'.env'};let _0x313273=process[_0xf78142(0x1ec)]();const _0x38734c=_0x313743['bqrOW'](parse,_0x313273)[_0xf78142(0x20d)];while(_0x313273!==_0x38734c){if(_0x313743[_0xf78142(0x24a)](existsSync,join(_0x313273,_0x313743[_0xf78142(0x2aa)]))||_0x313743[_0xf78142(0x24a)](existsSync,_0x313743['vabTf'](join,_0x313273,_0x313743['JxdbF'])))return _0x313273;_0x313273=dirname(_0x313273);}return process[_0xf78142(0x1ec)]();}_0x13fca1['config']({'path':join(findProjectRoot(),'.env')});import _0x5f504d 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 _0x1ff0ac=>{const _0x2fa688=_0x3878,_0x497986=getCurrentCollector();_0x497986&&await _0x497986[_0x2fa688(0x254)](_0x1ff0ac),process[_0x2fa688(0x253)]=0x1;});const rawArgs=process[_0xe05987(0x2e6)][_0xe05987(0x282)](0x2),TOP_LEVEL_HELP=_0xe05987(0x2a1),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=_0xe05987(0x1aa);function warnRenamed(_0x11e7e5,_0x35e332){const _0x4732b7=_0xe05987;console[_0x4732b7(0x25b)]('\x0a'+_0x11e7e5+_0x4732b7(0x274)+_0x35e332+'\x0a');}function argUsed(_0xf3b9da){const _0x523e66=_0xe05987;return rawArgs[_0x523e66(0x1a7)](_0x1b77af=>_0x1b77af===_0xf3b9da||_0x1b77af[_0x523e66(0x22a)](_0xf3b9da+'='));}function warnFlagRenamed(_0x48d891,_0x4b0176,_0x5ea7ac){const _0x3129f5={'Bvonm':function(_0x1f2a45,_0x5a2f61){return _0x1f2a45(_0x5a2f61);}};_0x3129f5['Bvonm'](argUsed,_0x4b0176)&&warnRenamed(_0x48d891+'\x20'+_0x4b0176,_0x48d891+'\x20'+_0x5ea7ac);}async function runGoCommand(_0x3780a4,_0x1cbfc3=![]){const _0x2e57e7=_0xe05987,_0x24b904={'LUGoV':function(_0x238aac,_0x5972c0,_0xd82d06){return _0x238aac(_0x5972c0,_0xd82d06);},'ecxbI':_0x2e57e7(0x1c2),'SVOPE':'ranger\x20go','JxmTe':'--env','lOnSr':function(_0x44f17f,_0x51c774,_0x380e9e,_0x4a20b){return _0x44f17f(_0x51c774,_0x380e9e,_0x4a20b);},'FffLh':_0x2e57e7(0x231),'GYvRJ':'--notes','FpaVH':function(_0x470191){return _0x470191();},'gZEND':'config','qoAIj':'default','BCBad':function(_0x296a4f,_0x1f221e){return _0x296a4f(_0x1f221e);},'LiUFc':function(_0x4d47d1,_0x3e2df2){return _0x4d47d1===_0x3e2df2;},'YXixl':'\x20VERIFIED','PpBYA':_0x2e57e7(0x2df),'fCurT':_0x2e57e7(0x1d5),'rLZHL':_0x2e57e7(0x204),'TLeTB':'\x0aIssues:'};_0x1cbfc3&&_0x24b904[_0x2e57e7(0x298)](warnRenamed,_0x24b904[_0x2e57e7(0x2a0)],_0x24b904['SVOPE']);warnFlagRenamed(_0x24b904['SVOPE'],_0x24b904[_0x2e57e7(0x260)],'--profile'),_0x24b904['lOnSr'](warnFlagRenamed,_0x24b904[_0x2e57e7(0x1c3)],_0x24b904['FffLh'],_0x24b904['GYvRJ']),_0x24b904['lOnSr'](warnFlagRenamed,'ranger\x20go',_0x2e57e7(0x297),'--scenario');const _0x176df9=await _0x24b904['FpaVH'](loadRangerConfig),_0x3d31e8=_0x3780a4[_0x2e57e7(0x205)],_0x382401=_0x176df9[_0x2e57e7(0x205)],_0x7a3dd1=_0x3d31e8??_0x382401,_0x229cb5=_0x3d31e8?'flag':_0x382401?_0x24b904['gZEND']:_0x24b904[_0x2e57e7(0x1de)],_0x591002=await _0x24b904[_0x2e57e7(0x1f3)](verifyFeature,{'featureId':_0x3780a4[_0x2e57e7(0x221)],'profile':_0x3780a4['profile']??_0x3780a4[_0x2e57e7(0x1ac)],'notes':_0x3780a4['notes']??_0x3780a4[_0x2e57e7(0x27e)],'scenario':_0x3780a4['scenario']??_0x3780a4[_0x2e57e7(0x22f)],'startPath':_0x3780a4['start-path'],'debugOutcome':_0x3780a4[_0x2e57e7(0x2dc)],'debugAddressComments':_0x3780a4[_0x2e57e7(0x1e9)],'headed':_0x3780a4[_0x2e57e7(0x29f)],'verifyModel':_0x7a3dd1,'verifyModelInput':_0x7a3dd1,'verifyModelSource':_0x229cb5});console[_0x2e57e7(0x2d3)]('\x0a'+'='['repeat'](0x3c)),console[_0x2e57e7(0x2d3)](_0x24b904['LiUFc'](_0x591002[_0x2e57e7(0x1b8)],_0x2e57e7(0x2b3))?_0x24b904[_0x2e57e7(0x2bc)]:_0x591002[_0x2e57e7(0x1b8)]==='incomplete'?_0x2e57e7(0x1f0):_0x591002[_0x2e57e7(0x1b8)]===_0x24b904['PpBYA']?_0x24b904[_0x2e57e7(0x237)]:_0x24b904[_0x2e57e7(0x2b2)](_0x591002[_0x2e57e7(0x1b8)],'blocked')?_0x24b904['rLZHL']:'\x20FAILED'),console['log']('='[_0x2e57e7(0x2e3)](0x3c)),console['log']('Summary:\x20'+_0x591002[_0x2e57e7(0x194)]),console['log']('Evaluation:\x20'+_0x591002['evaluation']),console[_0x2e57e7(0x2d3)]('Reason:\x20'+_0x591002['evaluationReason']),_0x591002[_0x2e57e7(0x1bd)]?.[_0x2e57e7(0x223)]&&(console['log'](_0x24b904[_0x2e57e7(0x25a)]),_0x591002['issues'][_0x2e57e7(0x2d7)]((_0x5456ae,_0x50746f)=>{const _0x269550=_0x2e57e7;console['log']('\x0a'+(_0x50746f+0x1)+_0x269550(0x2a3)+_0x5456ae['severity']+']\x20'+_0x5456ae[_0x269550(0x19d)]);})),process['exit'](_0x591002['evaluation']===_0x2e57e7(0x2b3)?0x0:0x1);}_0x5f504d(process['argv'][_0xe05987(0x282)](0x2))[_0xe05987(0x2c6)]('ranger')['usage'](TOP_LEVEL_HELP)['version'](getCurrentVersion())[_0xe05987(0x1ba)](_0xe05987(0x1d1),_0xe05987(0x242),_0x375d69=>{const _0x4ecd87=_0xe05987,_0x86a6a={'YorSM':'description','nMAod':_0x4ecd87(0x26b),'OkCdB':_0x4ecd87(0x197),'QuHxq':_0x4ecd87(0x24d),'lhiCc':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'};return _0x375d69[_0x4ecd87(0x1be)]('name',{'type':_0x4ecd87(0x26b),'description':'Feature\x20review\x20name','demandOption':!![]})[_0x4ecd87(0x1d8)](_0x86a6a['YorSM'],{'type':_0x86a6a[_0x4ecd87(0x27a)],'alias':'d','description':'Feature\x20review\x20description'})[_0x4ecd87(0x1d8)](_0x86a6a['OkCdB'],{'type':_0x86a6a['QuHxq'],'alias':'c','description':_0x86a6a[_0x4ecd87(0x1b6)]})['option'](_0x4ecd87(0x2e0),{'type':_0x86a6a['QuHxq'],'hidden':!![]});},async _0x139d8a=>{const _0x280b8f=_0xe05987,_0x4cae1e={'zvIbb':_0x280b8f(0x2b6),'DQzRe':_0x280b8f(0x1db),'vYlWN':function(_0x1a44b0,_0x4592bd,_0x4a1a25){return _0x1a44b0(_0x4592bd,_0x4a1a25);},'NZQwd':'create'};warnFlagRenamed(_0x4cae1e['zvIbb'],_0x4cae1e[_0x280b8f(0x2da)],'--scenario');const _0x374e5c=_0x139d8a['scenario']||_0x139d8a['checklist'];await _0x4cae1e[_0x280b8f(0x1f2)](withTelemetry,_0x4cae1e[_0x280b8f(0x226)],()=>featureCreate(_0x139d8a['name'],{'description':_0x139d8a[_0x280b8f(0x19d)],'scenarios':_0x374e5c}));})[_0xe05987(0x1ba)]('list','List\x20all\x20feature\x20reviews',_0x232692=>{const _0x535d61=_0xe05987,_0x59d1aa={'gXBHM':'current-branch','KnTFf':'boolean','owXwi':_0x535d61(0x280),'zZWxf':'limit','jKMlq':_0x535d61(0x243),'uklSA':_0x535d61(0x190),'KXGUF':_0x535d61(0x246),'mlVbz':_0x535d61(0x29d)};return _0x232692['option'](_0x59d1aa[_0x535d61(0x2eb)],{'type':_0x59d1aa[_0x535d61(0x272)],'description':_0x59d1aa['owXwi']})['option'](_0x59d1aa[_0x535d61(0x2a6)],{'type':'number','alias':'l','description':_0x535d61(0x28c),'default':0xa})[_0x535d61(0x1d8)](_0x59d1aa['jKMlq'],{'type':_0x59d1aa[_0x535d61(0x1b4)],'alias':'o','description':_0x59d1aa[_0x535d61(0x261)],'default':0x0})[_0x535d61(0x1d8)]('include-deleted',{'type':'boolean','alias':'d','description':_0x59d1aa[_0x535d61(0x214)],'default':![]});},async _0x47e98f=>{const _0x27c2f6=_0xe05987,_0x281e38={'rDcJD':_0x27c2f6(0x203)};await withTelemetry(_0x281e38[_0x27c2f6(0x235)],()=>featureList({'currentBranch':_0x47e98f['current-branch'],'limit':_0x47e98f[_0x27c2f6(0x193)],'offset':_0x47e98f[_0x27c2f6(0x243)],'includeDeleted':_0x47e98f[_0x27c2f6(0x28f)]}));})[_0xe05987(0x1ba)](_0xe05987(0x201),_0xe05987(0x1dd),_0x4aa2c3=>{const _0x54fb3e=_0xe05987,_0x5446a0={'MKqaI':_0x54fb3e(0x26b),'lojaE':_0x54fb3e(0x2ab)};return _0x4aa2c3[_0x54fb3e(0x1be)]('id',{'type':_0x5446a0[_0x54fb3e(0x1c4)],'description':_0x5446a0[_0x54fb3e(0x2a7)]});},async _0x272a6e=>{const _0x2b38cf=_0xe05987,_0x40ce1c={'bBIrn':_0x2b38cf(0x2c4)};await withTelemetry(_0x40ce1c[_0x2b38cf(0x239)],()=>featureShow(_0x272a6e['id']));})[_0xe05987(0x1ba)]('resume\x20[id]',_0xe05987(0x21a),_0x371557=>{const _0x12d1ec=_0xe05987,_0x23daba={'YaZXG':_0x12d1ec(0x1d7)};return _0x371557[_0x12d1ec(0x1be)]('id',{'type':_0x12d1ec(0x26b),'description':_0x23daba['YaZXG']});},async _0x33de3b=>{await withTelemetry('resume',()=>featureResume(_0x33de3b['id']));})[_0xe05987(0x1ba)](_0xe05987(0x24f),_0xe05987(0x18d),_0x17be4d=>{const _0x389b89=_0xe05987,_0x4d01d2={'Aegqb':_0x389b89(0x264),'nwcSY':_0x389b89(0x26b),'RhssI':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0x17be4d['positional']('description',{'type':'string','description':_0x4d01d2[_0x389b89(0x287)],'demandOption':!![]})[_0x389b89(0x1d8)]('id',{'type':_0x4d01d2['nwcSY'],'description':_0x4d01d2[_0x389b89(0x283)]});},async _0x2116d7=>{const _0x5068ba=_0xe05987,_0x3fd71d={'fBCSQ':_0x5068ba(0x2e4)};await withTelemetry(_0x3fd71d[_0x5068ba(0x1d0)],()=>featureAddScenario(_0x2116d7['description'],_0x2116d7['id']));})[_0xe05987(0x1ba)](_0xe05987(0x200),_0xe05987(0x24e),_0x5736d8=>{const _0x282237=_0xe05987,_0x10f453={'wVmQD':'scenario','fmmQV':'string','tRPWS':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0x5736d8['positional'](_0x282237(0x19d),{'type':_0x282237(0x26b),'description':'New\x20scenario\x20description','demandOption':!![]})['option'](_0x10f453[_0x282237(0x2f7)],{'type':_0x282237(0x190),'description':'Scenario\x20number\x20to\x20edit\x20(1-based)','demandOption':!![]})['option']('id',{'type':_0x10f453['fmmQV'],'description':_0x10f453[_0x282237(0x2cd)]});},async _0x525c94=>{const _0x42fb70=_0xe05987,_0x1a51b0={'AElib':function(_0x45c565,_0x58b035,_0x26e35b){return _0x45c565(_0x58b035,_0x26e35b);},'BabLY':_0x42fb70(0x2f0)};await _0x1a51b0[_0x42fb70(0x2e1)](withTelemetry,_0x1a51b0[_0x42fb70(0x2a2)],()=>featureEditScenario(_0x525c94['description'],{'id':_0x525c94['id'],'scenario':_0x525c94[_0x42fb70(0x197)]}));})[_0xe05987(0x1ba)](_0xe05987(0x192),_0xe05987(0x2b7),_0x90b492=>{const _0x4a76ce=_0xe05987,_0x2e27fc={'EMqDX':_0x4a76ce(0x28d),'seXfj':'array','vSsat':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','TDtJU':'json'};return _0x90b492[_0x4a76ce(0x1be)]('id',{'type':_0x4a76ce(0x26b),'description':'Feature\x20review\x20ID'})['option'](_0x2e27fc['EMqDX'],{'type':_0x2e27fc['seXfj'],'description':_0x2e27fc['vSsat']})['option'](_0x2e27fc[_0x4a76ce(0x2f5)],{'type':_0x4a76ce(0x1af),'description':_0x4a76ce(0x290),'default':![]});},async _0xc4a8bb=>{const _0xf1ff8b=_0xe05987,_0x168c4e={'qCnyG':_0xf1ff8b(0x28d),'TTVMK':function(_0x565b76,_0x3926b1,_0x43f4a9){return _0x565b76(_0x3926b1,_0x43f4a9);},'FMZPe':_0xf1ff8b(0x19c)},_0x23ad8e=_0xc4a8bb[_0x168c4e['qCnyG']],_0x1f8948=_0x23ad8e?_0x23ad8e['map'](_0x5b3252=>Number(_0x5b3252)):undefined;await _0x168c4e['TTVMK'](withTelemetry,_0x168c4e[_0xf1ff8b(0x1a3)],()=>featureReportPrDescription(_0xc4a8bb['id'],{'excludeScenarios':_0x1f8948,'json':_0xc4a8bb['json']}));})['command']('get-review\x20[id]','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x342144=>{const _0x49058b=_0xe05987,_0x18fd12={'GOkYY':_0x49058b(0x26b)};return _0x342144[_0x49058b(0x1be)]('id',{'type':_0x18fd12['GOkYY'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x1c5491=>{const _0x4a18dd=_0xe05987,_0x15503e={'sJaaA':function(_0x34c6d8,_0x2c4788,_0xe7d90b){return _0x34c6d8(_0x2c4788,_0xe7d90b);}};await _0x15503e[_0x4a18dd(0x26c)](withTelemetry,_0x4a18dd(0x2a8),()=>featureGetReview(_0x1c5491['id']));})[_0xe05987(0x1ba)](_0xe05987(0x2f1),'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x560584=>{const _0x3afff9=_0xe05987,_0x1b8caf={'AXEIy':_0x3afff9(0x26b)};return _0x560584['positional']('id',{'type':_0x1b8caf[_0x3afff9(0x22d)],'description':_0x3afff9(0x2ab)});},async _0x3ff275=>{const _0x37780e=_0xe05987;await withTelemetry(_0x37780e(0x225),()=>featureDelete(_0x3ff275['id']));})['command']('restore\x20<id>',_0xe05987(0x22b),_0xdaaaa3=>{const _0x170757=_0xe05987,_0x41e244={'aOiOn':'Feature\x20review\x20ID\x20to\x20restore'};return _0xdaaaa3[_0x170757(0x1be)]('id',{'type':'string','description':_0x41e244[_0x170757(0x215)],'demandOption':!![]});},async _0x1d9ef0=>{const _0x2e6ad7=_0xe05987,_0x43a808={'NgLAl':function(_0x49ec96,_0x389c4a,_0x61cc35){return _0x49ec96(_0x389c4a,_0x61cc35);}};await _0x43a808[_0x2e6ad7(0x1ea)](withTelemetry,'restore',()=>featureRestore(_0x1d9ef0['id']));})['command'](_0xe05987(0x1ef),_0xe05987(0x1eb),_0x52501b=>{const _0x53cbb6=_0xe05987,_0x4f9a12={'xkcWR':_0x53cbb6(0x2be),'NdluA':'string','QpmTv':_0x53cbb6(0x250),'QcTna':'user','VuiYq':_0x53cbb6(0x1fe),'KhqAC':_0x53cbb6(0x1fc),'oiMxB':'url','tFjBo':'force','WEdoW':_0x53cbb6(0x1af),'hRWve':_0x53cbb6(0x2b9),'LMRrD':_0x53cbb6(0x227),'XPWsQ':_0x53cbb6(0x1ce)};return _0x52501b[_0x53cbb6(0x1be)](_0x4f9a12['xkcWR'],{'type':_0x4f9a12[_0x53cbb6(0x18f)],'description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})[_0x53cbb6(0x1d8)]('skip-chromium',{'type':_0x53cbb6(0x1af),'description':_0x4f9a12['QpmTv'],'default':![]})[_0x53cbb6(0x1d8)](_0x53cbb6(0x296),{'type':_0x53cbb6(0x26b),'choices':[_0x4f9a12['QcTna'],_0x4f9a12[_0x53cbb6(0x295)]],'description':_0x4f9a12[_0x53cbb6(0x1f5)]})['option'](_0x4f9a12['oiMxB'],{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x4f9a12['tFjBo'],{'type':_0x4f9a12[_0x53cbb6(0x1cc)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x53cbb6(0x1d8)](_0x4f9a12[_0x53cbb6(0x2a4)],{'type':'boolean','description':_0x53cbb6(0x233),'default':![]})['option'](_0x4f9a12[_0x53cbb6(0x1a6)],{'type':_0x53cbb6(0x1af),'description':_0x4f9a12['XPWsQ'],'default':![]});},async _0x2ef5f7=>{const _0x48314c=_0xe05987,_0x522e5a={'sWfVu':function(_0x2c079c,_0x46db7d,_0x490dc0){return _0x2c079c(_0x46db7d,_0x490dc0);}};await _0x522e5a['sWfVu'](withTelemetry,'start',_0x49661d=>start(_0x2ef5f7['token'],{'skipChromium':_0x2ef5f7[_0x48314c(0x1f1)],'scope':_0x2ef5f7['scope'],'url':_0x2ef5f7['url'],'force':_0x2ef5f7['force'],'opencode':_0x2ef5f7[_0x48314c(0x2b9)],'allowInsecureLocalhost':_0x2ef5f7['allow-insecure-localhost']},_0x49661d));})['command'](_0xe05987(0x252),_0xe05987(0x1c0),_0x3f12c3=>{const _0x4b4365=_0xe05987,_0x157ad2={'dpgDe':_0x4b4365(0x2be),'KTBvB':_0x4b4365(0x1ab),'amRcn':'profile','peuhj':'string','hiITr':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','JnoeR':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','IJlXC':_0x4b4365(0x1f1)};return _0x3f12c3['positional'](_0x157ad2['dpgDe'],{'type':'string','description':_0x157ad2['KTBvB'],'demandOption':!![]})[_0x4b4365(0x1d8)](_0x157ad2['amRcn'],{'type':_0x157ad2[_0x4b4365(0x20a)],'description':_0x157ad2['hiITr']})['option']('base-url',{'type':_0x4b4365(0x26b),'description':_0x157ad2['JnoeR']})['option'](_0x157ad2['IJlXC'],{'type':_0x4b4365(0x1af),'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x1d124d=>{const _0x3c1c6b=_0xe05987,_0x537578={'zeHXq':function(_0xefdf94,_0x4b8f23,_0x476875){return _0xefdf94(_0x4b8f23,_0x476875);}};await _0x537578[_0x3c1c6b(0x1b9)](withTelemetry,_0x3c1c6b(0x1a9),_0x23576d=>setupCi(_0x1d124d[_0x3c1c6b(0x2be)],{'profile':_0x1d124d[_0x3c1c6b(0x2bf)],'baseUrl':_0x1d124d[_0x3c1c6b(0x256)],'skipChromium':_0x1d124d[_0x3c1c6b(0x1f1)]},_0x23576d));})[_0xe05987(0x1ba)](_0xe05987(0x191),'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)',()=>{},async()=>{const _0x49ef36=_0xe05987,_0x5d8b49={'PEHRS':_0x49ef36(0x191)};await withTelemetry(_0x5d8b49[_0x49ef36(0x1e3)],()=>login());})[_0xe05987(0x1ba)]('skillup','Install\x20Ranger\x20skills',_0x8d4199=>{const _0x1aae74=_0xe05987,_0x53a3de={'fqesk':'opencode','iGBFo':_0x1aae74(0x1af),'IdHPe':'scope','GQFnk':'user','eqJCq':'project','oomZO':'Install\x20scope\x20for\x20skills'};return _0x8d4199[_0x1aae74(0x1d8)](_0x53a3de['fqesk'],{'type':_0x53a3de[_0x1aae74(0x270)],'description':_0x1aae74(0x220),'default':![]})['option'](_0x53a3de[_0x1aae74(0x232)],{'type':'string','choices':[_0x53a3de[_0x1aae74(0x265)],_0x53a3de['eqJCq']],'description':_0x53a3de[_0x1aae74(0x21c)]});},async _0x2fdf18=>{const _0x2684b8=_0xe05987,_0xd7c8c2={'PAwSl':function(_0x219ba8,_0x2333a1,_0x224adc){return _0x219ba8(_0x2333a1,_0x224adc);},'iVKIu':'skillup'},_0x268099=Boolean(_0x2fdf18['opencode']);await _0xd7c8c2['PAwSl'](withTelemetry,_0xd7c8c2['iVKIu'],()=>skillup({'autoInstall':_0x2fdf18[_0x2684b8(0x296)],'platform':_0x268099?_0x2684b8(0x2b9):_0x2684b8(0x1fa)}));})['command'](_0xe05987(0x28e),'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{const _0x447ac4=_0xe05987,_0x5b6258={'mwjMS':function(_0x476729,_0x495a32,_0x3a06b1){return _0x476729(_0x495a32,_0x3a06b1);}};await _0x5b6258[_0x447ac4(0x1d2)](withTelemetry,_0x447ac4(0x28e),()=>clean());})['command']('profile','Manage\x20profiles',_0xce16b9=>{const _0x3be89b=_0xe05987,_0x26c2b3={'EEeUy':_0x3be89b(0x2d5),'ImVyx':'string','vYuxH':_0x3be89b(0x2c3),'YmNHk':_0x3be89b(0x2e2),'guYtK':'boolean','AczZE':'safe-mode','OauEe':'Name\x20of\x20the\x20profile','kyPcL':function(_0x4fdf8a,_0x14c5ac,_0x58c74a){return _0x4fdf8a(_0x14c5ac,_0x58c74a);},'PRZYr':'profile\x20use','mklIU':'Profile\x20name','WsRaT':function(_0x34da70,_0x33e963,_0x14dfed){return _0x34da70(_0x33e963,_0x14dfed);},'qIiCV':'profile\x20ls','eMqpA':_0x3be89b(0x227),'cYlYG':_0x3be89b(0x1ce),'HfHAA':function(_0x3d0e39,_0x1b8161,_0xb5ce44){return _0x3d0e39(_0x1b8161,_0xb5ce44);},'NjpPU':_0x3be89b(0x2bf),'QEYkm':'key','BJVgW':'value','JRRyJ':'Config\x20value','Aysuh':_0x3be89b(0x2b1),'YbqRZ':'profile\x20config\x20set','bMZYe':'set\x20<profile>\x20<key>\x20<value>','UnmKx':_0x3be89b(0x2f6),'kMAuX':_0x3be89b(0x1d6),'cAIwn':_0x3be89b(0x21b),'lwbbU':_0x3be89b(0x1e4),'sYCoE':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','pudTy':_0x3be89b(0x27d),'UGATn':'Switch\x20to\x20using\x20a\x20specific\x20profile','xUMZs':'encrypt-auth\x20<profile>','qWHrD':_0x3be89b(0x2bb),'TSYyf':'Update\x20authentication\x20for\x20an\x20existing\x20profile','RUgxN':'Manage\x20profile\x20configuration'};return _0xce16b9[_0x3be89b(0x20f)](PROFILE_HELP)[_0x3be89b(0x1ba)]('add\x20<profile-name>',_0x3be89b(0x23e),_0x32418e=>{const _0x43db18=_0x3be89b;return _0x32418e['positional'](_0x26c2b3['EEeUy'],{'type':_0x26c2b3[_0x43db18(0x209)],'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x43db18(0x1d8)]('ci',{'type':_0x43db18(0x1af),'description':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})[_0x43db18(0x1d8)](_0x43db18(0x259),{'type':_0x43db18(0x1af),'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0x43db18(0x1d8)]('url',{'type':_0x43db18(0x26b),'description':_0x26c2b3['vYuxH']})['option'](_0x43db18(0x286),{'type':'boolean','description':_0x43db18(0x1f7),'default':![]})['option']('cdp-endpoint',{'type':_0x26c2b3['ImVyx'],'description':_0x26c2b3[_0x43db18(0x1c6)]})['option']('allow-insecure-localhost',{'type':_0x26c2b3['guYtK'],'description':_0x43db18(0x1ce),'default':![]})['option'](_0x26c2b3['AczZE'],{'type':_0x26c2b3[_0x43db18(0x245)],'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]});},async _0x5dfec5=>{const _0x314a3f=_0x3be89b;await withTelemetry('profile\x20add',_0x160275=>addEnv(_0x5dfec5[_0x314a3f(0x2d5)],{'ci':_0x5dfec5['ci'],'skipAuth':_0x5dfec5['skip-auth'],'url':_0x5dfec5['url'],'force':_0x5dfec5['force'],'cdpEndpoint':_0x5dfec5[_0x314a3f(0x224)],'allowInsecureLocalhost':_0x5dfec5['allow-insecure-localhost'],'safeMode':_0x5dfec5['safe-mode']},_0x160275),{'isElectron':Boolean(_0x5dfec5[_0x314a3f(0x224)])});})['command'](_0x26c2b3['pudTy'],_0x26c2b3[_0x3be89b(0x2d9)],_0x67dcf5=>{const _0x452b9d=_0x3be89b;return _0x67dcf5['positional']('profile-name',{'type':_0x26c2b3[_0x452b9d(0x209)],'description':_0x26c2b3['OauEe'],'demandOption':!![]});},async _0x568c15=>{const _0x3f9b17=_0x3be89b;await _0x26c2b3[_0x3f9b17(0x2dd)](withTelemetry,_0x26c2b3['PRZYr'],()=>useEnv(_0x568c15['profile-name']));})['command'](_0x26c2b3[_0x3be89b(0x212)],_0x26c2b3[_0x3be89b(0x1a8)],_0x11154c=>{const _0x43f9a3=_0x3be89b;return _0x11154c[_0x43f9a3(0x1be)](_0x43f9a3(0x2bf),{'type':_0x26c2b3['ImVyx'],'description':_0x26c2b3['mklIU'],'demandOption':!![]});},async _0x373b10=>{const _0x227987=_0x3be89b;await _0x26c2b3['WsRaT'](withTelemetry,_0x227987(0x1e6),()=>authEncrypt(_0x373b10['profile']));})[_0x3be89b(0x1ba)]('ls',_0x3be89b(0x240),()=>{},async()=>{const _0x6ae817=_0x3be89b;await _0x26c2b3[_0x6ae817(0x2dd)](withTelemetry,_0x26c2b3['qIiCV'],()=>envList());})[_0x3be89b(0x1ba)]('update\x20<profile-name>',_0x26c2b3['TSYyf'],_0x1a15c4=>{const _0x3e8c09=_0x3be89b;return _0x1a15c4['positional'](_0x26c2b3['EEeUy'],{'type':_0x26c2b3[_0x3e8c09(0x209)],'description':_0x3e8c09(0x1ae),'demandOption':!![]})[_0x3e8c09(0x1d8)](_0x26c2b3[_0x3e8c09(0x24b)],{'type':_0x26c2b3['guYtK'],'description':_0x26c2b3['cYlYG']});},async _0x74dd1f=>{const _0x311ded=_0x3be89b;await _0x26c2b3['HfHAA'](withTelemetry,'profile\x20update',_0x54664=>updateEnv(_0x74dd1f[_0x311ded(0x2d5)],_0x54664,{'allowInsecureLocalhost':_0x74dd1f['allow-insecure-localhost']}));})[_0x3be89b(0x1ba)]('config',_0x26c2b3[_0x3be89b(0x2cb)],_0x58c6b4=>{const _0x10bd3a=_0x3be89b,_0x23caf1={'kYNrC':_0x26c2b3['YbqRZ'],'dkVFH':_0x10bd3a(0x18e)};return _0x58c6b4[_0x10bd3a(0x20f)](PROFILE_CONFIG_HELP)['command'](_0x26c2b3[_0x10bd3a(0x206)],_0x26c2b3[_0x10bd3a(0x284)],_0x44475e=>{const _0x18fae4=_0x10bd3a;return _0x44475e[_0x18fae4(0x1be)](_0x26c2b3[_0x18fae4(0x26e)],{'type':_0x26c2b3[_0x18fae4(0x209)],'description':_0x26c2b3[_0x18fae4(0x19a)],'demandOption':!![]})[_0x18fae4(0x1be)](_0x26c2b3['QEYkm'],{'type':_0x18fae4(0x26b),'description':_0x18fae4(0x276),'demandOption':!![]})[_0x18fae4(0x1be)](_0x26c2b3[_0x18fae4(0x279)],{'type':'string','description':_0x26c2b3['JRRyJ'],'demandOption':!![]});},async _0x21b6a5=>{await withTelemetry(_0x23caf1['kYNrC'],()=>configSet(_0x21b6a5['profile'],_0x21b6a5['key'],_0x21b6a5['value']));})['command'](_0x26c2b3[_0x10bd3a(0x219)],_0x10bd3a(0x2d4),_0x316ae9=>{const _0xd43029=_0x10bd3a;return _0x316ae9[_0xd43029(0x1be)](_0xd43029(0x2bf),{'type':_0x26c2b3[_0xd43029(0x209)],'description':'Profile\x20name','demandOption':!![]})[_0xd43029(0x1be)](_0x26c2b3[_0xd43029(0x196)],{'type':_0x26c2b3['ImVyx'],'description':_0xd43029(0x26a),'demandOption':!![]});},async _0x5019d1=>{const _0x5e2605=_0x10bd3a;await withTelemetry(_0x23caf1['dkVFH'],()=>configGet(_0x5019d1[_0x5e2605(0x2bf)],_0x5019d1[_0x5e2605(0x2f3)]));})[_0x10bd3a(0x1ba)](_0x26c2b3[_0x10bd3a(0x1a1)],_0x26c2b3['lwbbU'],_0x56c009=>{const _0xdcc11c=_0x10bd3a;return _0x56c009['positional'](_0x26c2b3[_0xdcc11c(0x26e)],{'type':_0xdcc11c(0x26b),'description':'Profile\x20name','demandOption':!![]});},async _0xe62145=>{await withTelemetry('profile\x20config\x20list',()=>configList(_0xe62145['profile']));})['command'](_0x10bd3a(0x18c),'Remove\x20a\x20config\x20value',_0x5ded05=>{const _0x51d328=_0x10bd3a;return _0x5ded05[_0x51d328(0x1be)](_0x51d328(0x2bf),{'type':'string','description':'Profile\x20name','demandOption':!![]})[_0x51d328(0x1be)](_0x51d328(0x2f3),{'type':_0x26c2b3['ImVyx'],'description':_0x26c2b3[_0x51d328(0x1e8)],'demandOption':!![]});},async _0x4e74c0=>{await withTelemetry('profile\x20config\x20unset',()=>configUnset(_0x4e74c0['profile'],_0x4e74c0['key']));})['demandCommand'](0x1,_0x26c2b3[_0x10bd3a(0x2de)]);})['demandCommand'](0x1,_0x3be89b(0x299));})['command'](_0xe05987(0x288),_0xe05987(0x202),()=>{},async()=>{const _0x54004f=_0xe05987,_0x2da1df={'WtpdC':'status'};await withTelemetry(_0x2da1df[_0x54004f(0x1cd)],()=>status());})[_0xe05987(0x1ba)]('update',_0xe05987(0x229),()=>{},async()=>{await withTelemetry('update',()=>update());})[_0xe05987(0x1ba)]('go','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)',_0x13e03a=>{const _0x2c8ce4=_0xe05987,_0x8721e7={'nQVHE':_0x2c8ce4(0x26b),'SjTJc':_0x2c8ce4(0x2ee),'ItsGh':_0x2c8ce4(0x258),'TslUo':_0x2c8ce4(0x190),'rhuTA':_0x2c8ce4(0x2e9),'PBCvF':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1)','fPHQq':'boolean','aglkl':_0x2c8ce4(0x2df),'XwdMU':_0x2c8ce4(0x1ac)};return _0x13e03a['option']('feature',{'type':_0x8721e7['nQVHE'],'description':_0x2c8ce4(0x2c5)})[_0x2c8ce4(0x1d8)](_0x2c8ce4(0x2bf),{'type':_0x2c8ce4(0x26b),'description':_0x8721e7[_0x2c8ce4(0x2d2)]})[_0x2c8ce4(0x1d8)](_0x8721e7[_0x2c8ce4(0x2ec)],{'type':_0x8721e7['nQVHE'],'description':_0x2c8ce4(0x21d)})['option']('scenario',{'type':_0x8721e7['TslUo'],'description':_0x2c8ce4(0x1df)})[_0x2c8ce4(0x1d8)](_0x8721e7[_0x2c8ce4(0x28b)],{'type':_0x8721e7['nQVHE'],'description':_0x2c8ce4(0x1bc)})[_0x2c8ce4(0x1d8)](_0x2c8ce4(0x205),{'type':'string','description':_0x8721e7[_0x2c8ce4(0x19e)]})['option'](_0x2c8ce4(0x29f),{'type':_0x8721e7[_0x2c8ce4(0x1b1)],'description':_0x2c8ce4(0x222),'default':![]})['option'](_0x2c8ce4(0x2dc),{'type':_0x8721e7[_0x2c8ce4(0x29b)],'hidden':!![],'choices':[_0x2c8ce4(0x2b3),_0x8721e7[_0x2c8ce4(0x218)],_0x2c8ce4(0x271),'failed',_0x2c8ce4(0x2ae)]})[_0x2c8ce4(0x1d8)](_0x2c8ce4(0x1e9),{'type':_0x2c8ce4(0x1af),'hidden':!![]})[_0x2c8ce4(0x1d8)](_0x8721e7['XwdMU'],{'type':_0x8721e7['nQVHE'],'hidden':!![]})[_0x2c8ce4(0x1d8)]('task',{'type':_0x8721e7[_0x2c8ce4(0x29b)],'hidden':!![]})[_0x2c8ce4(0x1d8)](_0x2c8ce4(0x22f),{'type':_0x8721e7['TslUo'],'hidden':!![]});},async _0x1cad71=>{await runGoCommand(_0x1cad71);})['command'](_0xe05987(0x27c),![],_0x2a6e97=>{const _0x33abbd=_0xe05987,_0x48d511={'oHDRf':'profile','xVKXD':function(_0x363297,_0x2ce990){return _0x363297(_0x2ce990);},'vHupa':_0x33abbd(0x1f6)};return _0x2a6e97[_0x33abbd(0x1ba)](_0x48d511[_0x33abbd(0x249)],![],_0x590a2b=>{const _0x48d833=_0x33abbd;return _0x590a2b['positional'](_0x48d511[_0x48d833(0x291)],{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x456902=>{const _0x3adfa7=_0x33abbd;warnRenamed(_0x3adfa7(0x266),'ranger\x20profile\x20encrypt-auth'),await _0x48d511['xVKXD'](authEncrypt,_0x456902['profile']);})['demandCommand'](0x1,_0x33abbd(0x18b));},()=>{})['command']('start\x20[token]',![],_0x4f9d71=>{const _0x3b455c=_0xe05987,_0x29c556={'pRETf':_0x3b455c(0x26b),'OPkgF':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','csZMX':_0x3b455c(0x1f1),'fEqaO':'scope','ycXKB':'user','owgiT':_0x3b455c(0x1fe),'nvlff':'url','AFTsk':_0x3b455c(0x1dc),'cGHsZ':'force'};return _0x4f9d71['positional']('token',{'type':_0x29c556[_0x3b455c(0x294)],'description':_0x29c556[_0x3b455c(0x26f)]})['option'](_0x29c556[_0x3b455c(0x29a)],{'type':_0x3b455c(0x1af),'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x3b455c(0x1d8)](_0x29c556['fEqaO'],{'type':_0x29c556[_0x3b455c(0x294)],'choices':[_0x29c556['ycXKB'],_0x29c556['owgiT']],'description':_0x3b455c(0x1fc)})['option'](_0x29c556[_0x3b455c(0x293)],{'type':_0x29c556['pRETf'],'description':_0x29c556['AFTsk']})[_0x3b455c(0x1d8)](_0x29c556['cGHsZ'],{'type':_0x3b455c(0x1af),'description':_0x3b455c(0x1f7),'default':![]});},async _0x5deae1=>{const _0xf0e10b=_0xe05987;warnRenamed('ranger\x20start',_0xf0e10b(0x1e0)),await withTelemetry('start',_0x3eb068=>start(_0x5deae1['token'],{'skipChromium':_0x5deae1[_0xf0e10b(0x1f1)],'scope':_0x5deae1[_0xf0e10b(0x296)],'url':_0x5deae1['url'],'force':_0x5deae1['force']},_0x3eb068));})['command']('verify-feature',![],_0x16d70f=>{const _0x48ca81=_0xe05987,_0x2aa8e6={'Wjmyg':'string','GWmYW':_0x48ca81(0x27e),'oJlKs':'number','ffhEn':_0x48ca81(0x1df),'UZdad':'scenario','akcDG':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','jizyy':'model','wPkcs':_0x48ca81(0x29f),'XiLPb':'boolean','DVqQg':'verified','MhxXE':_0x48ca81(0x271),'KrNsT':_0x48ca81(0x19b),'yalkt':'incomplete'};return _0x16d70f['option'](_0x48ca81(0x1ac),{'type':_0x2aa8e6['Wjmyg'],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0x48ca81(0x1d8)](_0x2aa8e6[_0x48ca81(0x27b)],{'type':_0x2aa8e6['Wjmyg'],'description':_0x48ca81(0x2f4)})['option'](_0x48ca81(0x22f),{'type':_0x2aa8e6[_0x48ca81(0x1f8)],'description':_0x2aa8e6['ffhEn']})['option']('profile',{'type':_0x48ca81(0x26b),'hidden':!![]})['option']('notes',{'type':_0x2aa8e6['Wjmyg'],'hidden':!![]})[_0x48ca81(0x1d8)](_0x2aa8e6[_0x48ca81(0x1ff)],{'type':_0x48ca81(0x190),'hidden':!![]})[_0x48ca81(0x1d8)]('start-path',{'type':_0x2aa8e6['Wjmyg'],'description':_0x2aa8e6['akcDG']})[_0x48ca81(0x1d8)](_0x2aa8e6[_0x48ca81(0x2c7)],{'type':'string','hidden':!![]})[_0x48ca81(0x1d8)](_0x2aa8e6['wPkcs'],{'type':_0x2aa8e6[_0x48ca81(0x1bf)],'hidden':!![],'default':![]})[_0x48ca81(0x1d8)]('debug-outcome',{'type':_0x48ca81(0x26b),'hidden':!![],'choices':[_0x2aa8e6['DVqQg'],_0x48ca81(0x2df),_0x2aa8e6[_0x48ca81(0x213)],_0x2aa8e6[_0x48ca81(0x2ea)],_0x2aa8e6['yalkt']]});},async _0x12dcc1=>{const _0x4bf2d4={'dqLgz':function(_0x101e22,_0x1c115e,_0x546549){return _0x101e22(_0x1c115e,_0x546549);}};await _0x4bf2d4['dqLgz'](runGoCommand,_0x12dcc1,!![]);})['command']('add\x20env\x20<env-name>',![],_0x55ce85=>{const _0x41b019=_0xe05987,_0x286d49={'gQRGg':_0x41b019(0x26b),'UXchN':'boolean','VdCWh':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','dKRMD':_0x41b019(0x259),'HKdUp':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)'};return _0x55ce85[_0x41b019(0x1be)](_0x41b019(0x195),{'type':_0x286d49[_0x41b019(0x2d0)],'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x286d49[_0x41b019(0x2cc)],'description':_0x286d49[_0x41b019(0x2ed)],'default':![]})['option'](_0x286d49[_0x41b019(0x1bb)],{'type':_0x41b019(0x1af),'description':_0x286d49['HKdUp'],'default':![]});},async _0x34c6f1=>{const _0x359508=_0xe05987,_0x589ad9={'offfZ':'ranger\x20add\x20env','bTORB':_0x359508(0x19f)};warnRenamed(_0x589ad9['offfZ'],_0x589ad9['bTORB']),await withTelemetry(_0x359508(0x20b),_0x198ab3=>addEnv(_0x34c6f1[_0x359508(0x195)],{'ci':_0x34c6f1['ci'],'skipAuth':_0x34c6f1[_0x359508(0x259)]},_0x198ab3));})[_0xe05987(0x1ba)](_0xe05987(0x1da),![],_0x5dbc86=>{const _0x3730e1=_0xe05987,_0x479f79={'iUVaY':_0x3730e1(0x195),'IfkXD':_0x3730e1(0x26b)};return _0x5dbc86['positional'](_0x479f79['iUVaY'],{'type':_0x479f79[_0x3730e1(0x27f)],'description':_0x3730e1(0x1ad),'demandOption':!![]});},async _0xe49ed5=>{const _0x535c3c=_0xe05987,_0x5b73b6={'DYEzP':function(_0x25b3f8,_0x5a080c,_0x1e6445){return _0x25b3f8(_0x5a080c,_0x1e6445);}};_0x5b73b6[_0x535c3c(0x28a)](warnRenamed,'ranger\x20use','ranger\x20profile\x20use'),await withTelemetry('use',()=>useEnv(_0xe49ed5['env-name']));})['command']('config',![],_0x40d16f=>{const _0xc47f5e=_0xe05987,_0x1de01d={'LtJxD':'string','brvig':_0xc47f5e(0x1ed),'nRCYW':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','utsgs':_0xc47f5e(0x20c),'Thscv':_0xc47f5e(0x23b),'yXdYG':function(_0x3ec768,_0x487819,_0x5c8c3e){return _0x3ec768(_0x487819,_0x5c8c3e);},'OaXoa':_0xc47f5e(0x257),'aIXLX':_0xc47f5e(0x2c0),'RLKIr':_0xc47f5e(0x26a),'HMKlE':function(_0x36a8cb,_0x20422d,_0x4ec985){return _0x36a8cb(_0x20422d,_0x4ec985);},'qeoiI':_0xc47f5e(0x2b5),'YyoXl':function(_0x4a2106,_0x4ce806,_0x4763c2){return _0x4a2106(_0x4ce806,_0x4763c2);},'WXShi':_0xc47f5e(0x262),'QdZuo':_0xc47f5e(0x2e5),'gvYHh':'env','VXZrE':'key'};return _0x40d16f['command'](_0xc47f5e(0x1c8),![],_0x41dbf4=>{const _0x300764=_0xc47f5e;return _0x41dbf4['positional'](_0x300764(0x1ac),{'type':_0x1de01d['LtJxD'],'description':_0x1de01d['brvig'],'demandOption':!![]})['positional']('key',{'type':_0x300764(0x26b),'description':_0x1de01d[_0x300764(0x1ca)],'demandOption':!![]})[_0x300764(0x1be)](_0x1de01d[_0x300764(0x251)],{'type':_0x1de01d['LtJxD'],'description':_0x1de01d['Thscv'],'demandOption':!![]});},async _0x3322f7=>{const _0x2824b1=_0xc47f5e;_0x1de01d[_0x2824b1(0x2ca)](warnRenamed,'ranger\x20config\x20set',_0x1de01d[_0x2824b1(0x26d)]),await withTelemetry(_0x1de01d[_0x2824b1(0x2af)],()=>configSet(_0x3322f7['env'],_0x3322f7[_0x2824b1(0x2f3)],_0x3322f7[_0x2824b1(0x20c)]));})['command']('get\x20<env>\x20<key>',![],_0x16b153=>{const _0x380294=_0xc47f5e;return _0x16b153['positional']('env',{'type':_0x1de01d[_0x380294(0x1fd)],'description':'Environment\x20name','demandOption':!![]})['positional'](_0x380294(0x2f3),{'type':_0x1de01d['LtJxD'],'description':_0x1de01d['RLKIr'],'demandOption':!![]});},async _0x1773dc=>{const _0x538f66=_0xc47f5e;warnRenamed('ranger\x20config\x20get',_0x538f66(0x273)),await _0x1de01d[_0x538f66(0x211)](withTelemetry,_0x1de01d[_0x538f66(0x2b0)],()=>configGet(_0x1773dc['env'],_0x1773dc['key']));})[_0xc47f5e(0x1ba)](_0xc47f5e(0x1c7),![],_0x420772=>{const _0x3a4b73=_0xc47f5e;return _0x420772['positional'](_0x3a4b73(0x1ac),{'type':_0x1de01d[_0x3a4b73(0x1fd)],'description':_0x1de01d[_0x3a4b73(0x199)],'demandOption':!![]});},async _0x4446ec=>{const _0x34e438=_0xc47f5e;_0x1de01d['YyoXl'](warnRenamed,_0x34e438(0x20e),_0x1de01d[_0x34e438(0x292)]),await withTelemetry(_0x1de01d['QdZuo'],()=>configList(_0x4446ec['env']));})[_0xc47f5e(0x1ba)](_0xc47f5e(0x29e),![],_0x3bfa95=>{const _0x15d6d8=_0xc47f5e;return _0x3bfa95[_0x15d6d8(0x1be)](_0x1de01d['gvYHh'],{'type':_0x1de01d['LtJxD'],'description':_0x1de01d['brvig'],'demandOption':!![]})['positional'](_0x1de01d['VXZrE'],{'type':_0x1de01d[_0x15d6d8(0x1fd)],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x26852d=>{const _0x39e9a4=_0xc47f5e;warnRenamed('ranger\x20config\x20unset','ranger\x20profile\x20config\x20unset'),await withTelemetry('config\x20unset',()=>configUnset(_0x26852d['env'],_0x26852d[_0x39e9a4(0x2f3)]));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20config\x20subcommand');})['command'](_0xe05987(0x1ac),![],_0x48cc3f=>{const _0x438e8d=_0xe05987,_0x52f3fd={'fGDup':'env\x20list','RNtrl':_0x438e8d(0x2d8),'ckHrD':function(_0x240f4f,_0x1a62d2,_0x363705){return _0x240f4f(_0x1a62d2,_0x363705);},'PHJHp':_0x438e8d(0x238),'Pnfei':_0x438e8d(0x23f),'lsXGQ':function(_0x57293c,_0x5e7c09,_0x2fc656){return _0x57293c(_0x5e7c09,_0x2fc656);},'zdeKy':_0x438e8d(0x230),'yEtlo':_0x438e8d(0x207),'CIgeN':'You\x20must\x20specify\x20an\x20env\x20subcommand'};return _0x48cc3f['command']('ls',![],()=>{},async()=>{const _0x30de46=_0x438e8d;warnRenamed(_0x30de46(0x2b4),_0x30de46(0x23d)),await withTelemetry(_0x52f3fd['fGDup'],()=>envList());})[_0x438e8d(0x1ba)](_0x52f3fd[_0x438e8d(0x2c8)],![],_0x1916ae=>{const _0x3ca447=_0x438e8d;return _0x1916ae['positional']('env-name',{'type':'string','description':_0x52f3fd[_0x3ca447(0x255)],'demandOption':!![]});},async _0x108c3f=>{const _0x3fc46f=_0x438e8d;_0x52f3fd['ckHrD'](warnRenamed,_0x52f3fd[_0x3fc46f(0x2ef)],_0x52f3fd[_0x3fc46f(0x1b3)]),await _0x52f3fd['lsXGQ'](withTelemetry,_0x52f3fd[_0x3fc46f(0x25c)],_0x15a70e=>updateEnv(_0x108c3f['env-name'],_0x15a70e));})[_0x438e8d(0x236)](0x1,_0x52f3fd[_0x438e8d(0x2cf)]);})['command'](_0xe05987(0x221),![],_0x12ad2f=>{const _0x5f30d5=_0xe05987,_0x52aafc={'QfShx':'name','fYskl':'string','RLhHW':'checklist','neYFH':'array','oURlu':_0x5f30d5(0x1e7),'LCRiK':function(_0x430f2b,_0x231f03,_0x305a29){return _0x430f2b(_0x231f03,_0x305a29);},'XqCbD':'ranger\x20feature\x20create','gTHLq':function(_0x1050b1,_0x5e08ce,_0x48aaff,_0x262790){return _0x1050b1(_0x5e08ce,_0x48aaff,_0x262790);},'hwBBO':_0x5f30d5(0x1a4),'FtJwu':'current-branch','nYINi':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','AogIj':'limit','aCmqD':_0x5f30d5(0x190),'gPGJm':_0x5f30d5(0x28c),'ImfNQ':'offset','CSlhx':'Include\x20soft-deleted\x20feature\x20reviews','zurrX':'ranger\x20feature\x20list','KwqVD':_0x5f30d5(0x1e1),'hKoup':'ranger\x20feature\x20show','iFDgq':'ranger\x20show','dMefe':_0x5f30d5(0x1d7),'lYxKO':'ranger\x20resume','NKrwf':_0x5f30d5(0x264),'ovkQz':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','sDlkI':'ranger\x20feature\x20add-checklist-item','ZbQcJ':_0x5f30d5(0x244),'ZkhbX':_0x5f30d5(0x1e2),'EKDfy':function(_0x4449e2,_0x15587f,_0x839bf4){return _0x4449e2(_0x15587f,_0x839bf4);},'tMGAT':'Feature\x20review\x20ID','GNrWk':_0x5f30d5(0x228),'ofIvb':_0x5f30d5(0x1c1),'kUYfW':function(_0x49ee00,_0x5714a5,_0x117ad7){return _0x49ee00(_0x5714a5,_0x117ad7);},'mdeGA':_0x5f30d5(0x2d6),'MwqNQ':function(_0x28d0c9,_0x281b47,_0x57286d){return _0x28d0c9(_0x281b47,_0x57286d);},'iJuWO':_0x5f30d5(0x289),'IwDah':_0x5f30d5(0x203),'ddyIJ':'show\x20[id]','GifBi':'resume\x20[id]','MONRA':_0x5f30d5(0x241),'Zxoig':'delete\x20[id]','Hhjyq':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand'};return _0x12ad2f['command'](_0x5f30d5(0x1d1),![],_0x32cc7a=>{const _0x5eb5bb=_0x5f30d5;return _0x32cc7a['positional'](_0x52aafc[_0x5eb5bb(0x1a0)],{'type':_0x52aafc[_0x5eb5bb(0x281)],'description':'Feature\x20review\x20name','demandOption':!![]})[_0x5eb5bb(0x1d8)](_0x5eb5bb(0x19d),{'type':'string','alias':'d','description':_0x5eb5bb(0x2ba)})['option'](_0x52aafc[_0x5eb5bb(0x21f)],{'type':_0x52aafc[_0x5eb5bb(0x268)],'alias':'c','description':_0x52aafc[_0x5eb5bb(0x1b7)]})[_0x5eb5bb(0x1d8)](_0x5eb5bb(0x197),{'type':_0x52aafc['neYFH'],'hidden':!![]});},async _0x39bc1b=>{const _0x39a4a9=_0x5f30d5;_0x52aafc[_0x39a4a9(0x217)](warnRenamed,_0x52aafc[_0x39a4a9(0x1c5)],'ranger\x20create'),_0x52aafc[_0x39a4a9(0x2d1)](warnFlagRenamed,_0x39a4a9(0x2b6),'--checklist','--scenario');const _0x63f344=_0x39bc1b['scenario']||_0x39bc1b[_0x39a4a9(0x2e0)];await _0x52aafc['LCRiK'](withTelemetry,_0x52aafc['hwBBO'],()=>featureCreate(_0x39bc1b['name'],{'description':_0x39bc1b[_0x39a4a9(0x19d)],'scenarios':_0x63f344}));})[_0x5f30d5(0x1ba)](_0x52aafc[_0x5f30d5(0x1c9)],![],_0x18cd63=>{const _0x214d22=_0x5f30d5;return _0x18cd63['option'](_0x52aafc[_0x214d22(0x263)],{'type':'boolean','description':_0x52aafc['nYINi']})['option'](_0x52aafc[_0x214d22(0x1d4)],{'type':_0x52aafc['aCmqD'],'alias':'l','description':_0x52aafc[_0x214d22(0x1f9)],'default':0xa})[_0x214d22(0x1d8)](_0x52aafc[_0x214d22(0x2db)],{'type':_0x214d22(0x190),'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option'](_0x214d22(0x28f),{'type':'boolean','alias':'d','description':_0x52aafc['CSlhx'],'default':![]});},async _0x405a66=>{const _0x19d55a=_0x5f30d5;warnRenamed(_0x52aafc[_0x19d55a(0x198)],'ranger\x20list'),await withTelemetry(_0x52aafc['KwqVD'],()=>featureList({'currentBranch':_0x405a66[_0x19d55a(0x2f8)],'limit':_0x405a66[_0x19d55a(0x193)],'offset':_0x405a66[_0x19d55a(0x243)],'includeDeleted':_0x405a66['include-deleted']}));})['command'](_0x52aafc['ddyIJ'],![],_0x458f77=>{const _0x10198b=_0x5f30d5;return _0x458f77['positional']('id',{'type':_0x52aafc['fYskl'],'description':_0x10198b(0x2ab)});},async _0x3b92ec=>{const _0x13e196=_0x5f30d5;warnRenamed(_0x52aafc[_0x13e196(0x234)],_0x52aafc['iFDgq']),await _0x52aafc[_0x13e196(0x217)](withTelemetry,_0x13e196(0x1b2),()=>featureShow(_0x3b92ec['id']));})[_0x5f30d5(0x1ba)](_0x52aafc['GifBi'],![],_0x5a381d=>{const _0x5c7edd=_0x5f30d5;return _0x5a381d['positional']('id',{'type':'string','description':_0x52aafc[_0x5c7edd(0x18a)]});},async _0x340f3f=>{const _0x283821=_0x5f30d5;warnRenamed(_0x283821(0x2bd),_0x52aafc[_0x283821(0x2c1)]),await withTelemetry(_0x283821(0x210),()=>featureResume(_0x340f3f['id']));})[_0x5f30d5(0x1ba)](_0x52aafc[_0x5f30d5(0x1b0)],![],_0x27766a=>{const _0x188f7a=_0x5f30d5;return _0x27766a[_0x188f7a(0x1be)]('description',{'type':'string','description':_0x52aafc['NKrwf'],'demandOption':!![]})[_0x188f7a(0x1d8)]('id',{'type':_0x188f7a(0x26b),'description':_0x52aafc[_0x188f7a(0x2f2)]});},async _0x581bc2=>{const _0x4985dd=_0x5f30d5;warnRenamed(_0x52aafc[_0x4985dd(0x247)],_0x52aafc['ZbQcJ']),await _0x52aafc[_0x4985dd(0x217)](withTelemetry,_0x4985dd(0x1f4),()=>featureAddScenario(_0x581bc2[_0x4985dd(0x19d)],_0x581bc2['id']));})['command'](_0x5f30d5(0x216),![],_0x31599e=>{const _0x385e17=_0x5f30d5;return _0x31599e[_0x385e17(0x1be)]('id',{'type':'string','description':_0x385e17(0x208)});},async _0xe72c87=>{const _0x2ef841=_0x5f30d5;warnRenamed(_0x52aafc['ZkhbX'],'ranger\x20get-review'),await _0x52aafc['EKDfy'](withTelemetry,_0x2ef841(0x2e7),()=>featureGetReview(_0xe72c87['id']));})[_0x5f30d5(0x1ba)](_0x52aafc[_0x5f30d5(0x23c)],![],_0x53167f=>{const _0xa354ca=_0x5f30d5;return _0x53167f['positional']('id',{'type':_0xa354ca(0x26b),'description':_0x52aafc[_0xa354ca(0x267)]});},async _0x210f95=>{const _0x56d25d=_0x5f30d5;warnRenamed('ranger\x20feature\x20delete',_0x52aafc[_0x56d25d(0x2c9)]),await withTelemetry(_0x52aafc[_0x56d25d(0x21e)],()=>featureDelete(_0x210f95['id']));})['command'](_0x5f30d5(0x23a),![],_0x44376e=>{const _0x3e30f6=_0x5f30d5;return _0x44376e[_0x3e30f6(0x1be)]('id',{'type':_0x3e30f6(0x26b),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x36b080=>{const _0x191ec9=_0x5f30d5;_0x52aafc[_0x191ec9(0x1ee)](warnRenamed,'ranger\x20feature\x20restore',_0x52aafc[_0x191ec9(0x2ad)]),await _0x52aafc[_0x191ec9(0x29c)](withTelemetry,_0x52aafc['iJuWO'],()=>featureRestore(_0x36b080['id']));})[_0x5f30d5(0x236)](0x1,_0x52aafc['Hhjyq']);})[_0xe05987(0x1ba)]('hook',![],_0x22e3bc=>{const _0xe8d48d=_0xe05987,_0x369731={'naABi':'session-id','zAlSJ':'string','lPEGx':function(_0x6104da,_0x2e0de3,_0x5c8479){return _0x6104da(_0x2e0de3,_0x5c8479);},'qwxYm':'hook:disable','BJhrV':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','ldcOn':_0xe8d48d(0x22c),'UpSbz':_0xe8d48d(0x248),'YvJDA':_0xe8d48d(0x1fb),'GWNfI':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'};return _0x22e3bc[_0xe8d48d(0x1ba)]('enable',_0x369731['BJhrV'],_0x476982=>{const _0xef77ae=_0xe8d48d;return _0x476982[_0xef77ae(0x1d8)](_0x369731[_0xef77ae(0x2ac)],{'type':_0x369731['zAlSJ'],'description':_0xef77ae(0x1e5)});},async _0x497ddf=>{const _0x2dd144=_0xe8d48d;await _0x369731['lPEGx'](withTelemetry,_0x2dd144(0x2b8),()=>hook('enable',_0x497ddf['session-id']));})[_0xe8d48d(0x1ba)](_0x369731['ldcOn'],_0x369731[_0xe8d48d(0x22e)],_0xfdf437=>{const _0x30ad90=_0xe8d48d;return _0xfdf437['option'](_0x369731['naABi'],{'type':_0x30ad90(0x26b),'description':_0x30ad90(0x1e5)});},async _0x2dde0d=>{const _0x29f8ae=_0xe8d48d;await withTelemetry(_0x369731['qwxYm'],()=>hook('disable',_0x2dde0d[_0x29f8ae(0x2e8)]));})[_0xe8d48d(0x1d8)](_0x369731['YvJDA'],{'type':_0xe8d48d(0x26b),'description':_0x369731['GWNfI']})[_0xe8d48d(0x1d8)](_0x369731['naABi'],{'type':'string','description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x2eb71c=>{const _0x552a4d=_0xe05987,_0x51eb6d={'SBsjU':_0x552a4d(0x2e8)};_0x2eb71c['name']&&await hook(_0x2eb71c['name'],_0x2eb71c[_0x51eb6d['SBsjU']]);})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20command')[_0xe05987(0x2a9)]()['fail'](async(_0x14dc63,_0x1d5fe2,_0x4993a7)=>{const _0x4994f9=_0xe05987,_0xe2b740={'uMiSv':function(_0x480a68,_0x2f1a4c){return _0x480a68(_0x2f1a4c);},'FyKbq':function(_0x17bb82,_0x55921b,_0xa68013){return _0x17bb82(_0x55921b,_0xa68013);},'YoPzb':'Unknown\x20command'},_0x42c8bd=_0xe2b740['uMiSv'](sanitizeArgs,process[_0x4994f9(0x2e6)][_0x4994f9(0x282)](0x2)),_0x21d24f=_0xe2b740['FyKbq'](getErrorType,_0x14dc63,_0x1d5fe2);if(_0x14dc63&&_0x14dc63['includes'](_0xe2b740[_0x4994f9(0x285)])){const _0x1777bc=process[_0x4994f9(0x2e6)][0x2];console[_0x4994f9(0x25b)](_0x4994f9(0x24c)+_0x1777bc),console['error'](_0x4994f9(0x1a2));}else{if(_0x14dc63)console['error']('\x0a'+_0x14dc63+'\x0a');else _0x1d5fe2&&console['error'](_0x4994f9(0x1b5)+_0x1d5fe2['message']+'\x0a');}await logDesirePath({'rawCommand':_0x42c8bd,'errorMessage':_0x14dc63||_0x1d5fe2?.['message'],'errorType':_0x21d24f});const _0xe86896=getCurrentCollector();_0xe86896&&await _0xe86896[_0x4994f9(0x254)](_0x1d5fe2||new Error(_0x14dc63||'Unknown\x20error')),process[_0x4994f9(0x275)](0x1);})['epilogue'](_0xe05987(0x25f)+_0xe05987(0x269)+'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)')['help']()['alias']('help','h')[_0xe05987(0x25e)]();
|
|
2
|
+
const _0x54b95a=_0x313d;(function(_0x499953,_0x2c39f1){const _0x59193e=_0x313d,_0x55419a=_0x499953();while(!![]){try{const _0x61a3a6=-parseInt(_0x59193e(0x1d9))/0x1+-parseInt(_0x59193e(0x174))/0x2*(parseInt(_0x59193e(0x258))/0x3)+parseInt(_0x59193e(0x1ee))/0x4*(parseInt(_0x59193e(0x1d5))/0x5)+-parseInt(_0x59193e(0x291))/0x6*(-parseInt(_0x59193e(0x1e5))/0x7)+-parseInt(_0x59193e(0x213))/0x8*(parseInt(_0x59193e(0x250))/0x9)+parseInt(_0x59193e(0x21d))/0xa*(parseInt(_0x59193e(0x241))/0xb)+parseInt(_0x59193e(0x26e))/0xc*(parseInt(_0x59193e(0x1cb))/0xd);if(_0x61a3a6===_0x2c39f1)break;else _0x55419a['push'](_0x55419a['shift']());}catch(_0x4b0b0a){_0x55419a['push'](_0x55419a['shift']());}}}(_0x5221,0x5d09a));import _0x292803 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x4d99eb=_0x313d,_0x166cd8={'GmYXo':function(_0x2c5130,_0x240e51){return _0x2c5130(_0x240e51);},'jyoYs':function(_0x13ecf2,_0x291519,_0x4c0b5b){return _0x13ecf2(_0x291519,_0x4c0b5b);},'rMzUM':'.ranger'};let _0x2f065=process['cwd']();const _0x3275b7=parse(_0x2f065)[_0x4d99eb(0x26b)];while(_0x2f065!==_0x3275b7){if(_0x166cd8['GmYXo'](existsSync,_0x166cd8[_0x4d99eb(0x1b4)](join,_0x2f065,_0x166cd8['rMzUM']))||existsSync(_0x166cd8['jyoYs'](join,_0x2f065,_0x4d99eb(0x166))))return _0x2f065;_0x2f065=dirname(_0x2f065);}return process['cwd']();}_0x292803[_0x54b95a(0x16f)]({'path':join(findProjectRoot(),_0x54b95a(0x166))});import _0x30f22d 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';function _0x5221(){const _0xd3ffa=['buahf','map','--scenario','CEYXR','btLFs','exit','CVKNW','yNouC','UZRcx','rtgYs','slice','GPzwO','ranger\x20add\x20env','pfyCt','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','ranger\x20profile\x20use','26MUiDIj','TahTC','argv','Jvbgf','positional','ivxJi','gKlNF','uFmFz','base-url','jpmYE','5yGqrsW','headed','skip-chromium','uSczN','279122BSLsWe','iodDU','ewKKD','zdVfQ','.\x20[','add\x20env\x20<env-name>','zKtCd','token','\x0aError:\x20','set\x20<env>\x20<key>\x20<value>','zTUsL','offset','847zqiacD','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','ranger\x20feature\x20show','DnTnb','WqODj','enable','auth','evaluationReason','AhSBz','196012WqsJCH','blocked','Ranger\x20API\x20token','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','clean','string','svPSV','sEcer','XcZIJ','length','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','ranger\x20config\x20unset','resume','ZgsOz','yvylS','login','profile','force','usage','Install\x20Ranger\x20skills','Name\x20of\x20the\x20environment\x20to\x20update','profile\x20update','demandCommand','ranger\x20add-scenario','Feature\x20review\x20ID\x20to\x20restore','url','aGCBl','ranger\x20go','incomplete','Skip\x20Claude\x20Code\x20plugin\x20+\x20skills\x20install\x20(for\x20OpenCode\x20users)','\x20is\x20now\x20','XdXSL','YEsEc','Summary:\x20','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','GZaIC','add-scenario\x20<description>','8tEzPYi','scenario','VAMRN','value','xJMGn','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','ranger\x20get-review','array','Evaluation:\x20','ZhXds','5494940fGMMDs','OPSgH','adcWQ','\x20INCOMPLETE','IbNlf','vbzJi','rGEGu','List\x20all\x20profiles','JkytR','EPQlG','start-path','error','nmLvD','qGhyA','LRzWJ','json','NETxW','pmVLs','rEoCw','model','profile\x20encrypt-auth','VWNcT','FHHMo','update\x20<profile-name>','--item','WrgEB','vkVdA','Profile\x20name','FAHuV','ranger\x20setup','mJrYY','diwdX','CDWVI','Name\x20of\x20the\x20profile','ranger\x20create','Remove\x20a\x20config\x20value','11scfqUl','sQwlD','description','skip-auth','add\x20env','Scenario\x20number\x20to\x20edit\x20(1-based)','AnGCn','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','current-branch','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','debug-outcome','zVuHX','env-name','bjwxc','6574977oaluxk','name','config\x20get','config\x20unset','KzAoM','New\x20scenario\x20description','LAJTi','FbcKi','3FngFzr','LQtIC','Skip\x20Chromium\x20browser\x20installation','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','eDRys','iFakq','RbJjv','command','XbAFd','dYxvI','scope','Config\x20key','UirLa','You\x20must\x20specify\x20an\x20env\x20subcommand','disable','ICfdJ','XgdXl','env\x20update','oAgjE','root','--checklist','partial','6695316cnjcOW','uBdat','lNlMs','Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1)','start','QoIEi','log','verified','Manage\x20profile\x20configuration','IjcdR','gmtcG','use\x20<profile-name>','AjRHc','key','AUMHg','session-id','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','notes','opencode','feature\x20list','ranger\x20profile\x20update','ranger\x20feature\x20add-checklist-item','feature\x20restore','BlaaE','KBxbz','uefwa','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','unset\x20<env>\x20<key>','ndRgQ','ranger\x20feature\x20create','VyWRe','PFuHG','ledTc','item','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','6846uFNUvg','Initialize\x20Ranger\x20in\x20your\x20project','ranger\x20profile\x20config\x20set','wNEbk','alias','lVLtI','safe-mode','skillup','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','add-checklist-item\x20<description>','LiaVV','default','option','update\x20<env-name>','Number\x20of\x20feature\x20reviews\x20to\x20skip','get-review\x20[id]','sMqlf','KDemv','PLXHF','zVQHR','daZHV','Unknown\x20error','ClYVP','eOkaj','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','verify-feature','ranger\x20feature\x20delete','encrypt\x20<profile>','AruEN','OAiQN','trackCommandError','report\x20[id]','ranger\x20resume','EAYkQ','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','Feature\x20review\x20ID','env','Feature\x20review\x20description','huosi','zKhYU','boolean','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','vuxpL','List\x20all\x20feature\x20reviews','limit','setup-header','uVfJO','SiVNd','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','mwKEd','profile\x20ls','CObgL','vHbwU','epilogue','evaluation','parse','encrypt-auth\x20<profile>','profile-name','oTPnJ','Config\x20key\x20to\x20remove','failed','.env','setup-ci','restore','Environment\x20name','feature','Add\x20profile\x20configuration','ujeWd','Update\x20authentication\x20for\x20an\x20existing\x20profile','Restore\x20a\x20soft-deleted\x20feature\x20review','config','ITQSz','dlgcE','checklist','\x20BLOCKED','923374RmiIjZ','Include\x20soft-deleted\x20feature\x20reviews','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\x20sent\x20with\x20every\x20request\x20(e.g.,\x20header.X-Test-Mode)\x0a\x20\x20setupHeader.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeader.x-skip-turnstile)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20header.Authorization\x20\x27${AUTH_TOKEN}\x27\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20setupHeader.x-skip-turnstile\x20\x27434c1e29...\x27','project','resume\x20[id]','update','dhsFF','Config\x20value','number','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','flag','Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','zQbVs','Scenario\x20index\x20(1-based)','biBkO','add-scenario','bUOIx','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','WxhnD','hook','fRJgL','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','rRgyx','zwwYT','tAcaH','mgAJQ','XKHNG','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','WUJHg','task','Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','Switch\x20to\x20using\x20a\x20specific\x20profile','ranger','You\x20must\x20specify\x20a\x20config\x20subcommand','iVJIW','CdZwR','cdp-endpoint','FnkEn','KCxcW','BuoCl','xwYEY','heKoy','bxQyc','TnrBr','YOGSw','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','mTxWH','env\x20list','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','exclude-scenario','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','ZMbsW','aFyho','Oatta','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','yzLmo','Reason:\x20','ranger\x20config\x20list','ykZVn','gcNWZ','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','include-deleted','VESLb','jyoYs','NBdOL','LKRoM','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','debug-address-comments','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','get-review'];_0x5221=function(){return _0xd3ffa;};return _0x5221();}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 _0x1fde3c=>{const _0x4d6d7a=_0x54b95a,_0x53ecf6={'fVpYq':function(_0x194d62){return _0x194d62();}},_0x33a050=_0x53ecf6['fVpYq'](getCurrentCollector);_0x33a050&&await _0x33a050[_0x4d6d7a(0x147)](_0x1fde3c),process['exitCode']=0x1;});const rawArgs=process[_0x54b95a(0x1cd)]['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=_0x54b95a(0x1ab),PROFILE_CONFIG_HELP=_0x54b95a(0x176);function warnRenamed(_0x3e46c7,_0x4054d7){const _0xeca67=_0x54b95a;console[_0xeca67(0x228)]('\x0a'+_0x3e46c7+_0xeca67(0x20c)+_0x4054d7+'\x0a');}function argUsed(_0x18e9a0){return rawArgs['some'](_0x477a65=>_0x477a65===_0x18e9a0||_0x477a65['startsWith'](_0x18e9a0+'='));}function _0x313d(_0x19b2c2,_0x2c6287){_0x19b2c2=_0x19b2c2-0x12a;const _0x5221ba=_0x5221();let _0x313d8d=_0x5221ba[_0x19b2c2];return _0x313d8d;}function warnFlagRenamed(_0x542797,_0x3fa546,_0x1a10c4){const _0x59e032={'mJhFH':function(_0x29a925,_0x501fdf,_0x26a0c5){return _0x29a925(_0x501fdf,_0x26a0c5);}};argUsed(_0x3fa546)&&_0x59e032['mJhFH'](warnRenamed,_0x542797+'\x20'+_0x3fa546,_0x542797+'\x20'+_0x1a10c4);}async function runGoCommand(_0x18659a,_0xc19b6e=![]){const _0x998a48=_0x54b95a,_0x5f503d={'zVQHR':function(_0x3ffc54,_0x2c0538){return _0x3ffc54+_0x2c0538;},'rtuNO':'ranger\x20verify-feature','pylGZ':'--env','KIucc':'ranger\x20go','ZEdwb':'--notes','xrJbY':'--scenario','dEdmI':function(_0x45870c){return _0x45870c();},'bUOIx':function(_0x2c3486,_0x1cc6b8){return _0x2c3486??_0x1cc6b8;},'SiVNd':_0x998a48(0x16f),'TahTC':_0x998a48(0x134),'OAiQN':function(_0x196bd9,_0x22d0e8){return _0x196bd9(_0x22d0e8);},'mTxWH':'debug-address-comments','ICfdJ':function(_0x4f8cac,_0x3e13b8){return _0x4f8cac===_0x3e13b8;},'yNouC':'\x20VERIFIED','LCmuT':'incomplete','RbJjv':function(_0xc9ab06,_0x2c0056){return _0xc9ab06===_0x2c0056;},'LWbNz':_0x998a48(0x26d),'XKHNG':function(_0xa7bb91,_0xf2b977){return _0xa7bb91===_0xf2b977;},'PFuHG':_0x998a48(0x1ef),'XgdXl':_0x998a48(0x275)};_0xc19b6e&&warnRenamed(_0x5f503d['rtuNO'],'ranger\x20go');warnFlagRenamed(_0x998a48(0x209),_0x5f503d['pylGZ'],'--profile'),warnFlagRenamed(_0x5f503d['KIucc'],'--task',_0x5f503d['ZEdwb']),warnFlagRenamed(_0x5f503d['KIucc'],_0x998a48(0x235),_0x5f503d['xrJbY']);const _0x16f9bb=await _0x5f503d['dEdmI'](loadRangerConfig),_0x1c3854=_0x18659a[_0x998a48(0x230)],_0x1b9846=_0x16f9bb['model'],_0x46f1a4=_0x5f503d[_0x998a48(0x184)](_0x1c3854,_0x1b9846),_0xfcd772=_0x1c3854?_0x998a48(0x17e):_0x1b9846?_0x5f503d[_0x998a48(0x158)]:_0x5f503d[_0x998a48(0x1cc)],_0x3df6eb=await _0x5f503d[_0x998a48(0x146)](verifyFeature,{'featureId':_0x18659a[_0x998a48(0x16a)],'profile':_0x18659a[_0x998a48(0x1fe)]??_0x18659a['env'],'notes':_0x18659a[_0x998a48(0x27f)]??_0x18659a['task'],'scenario':_0x18659a['scenario']??_0x18659a['item'],'startPath':_0x18659a['start-path'],'debugOutcome':_0x18659a['debug-outcome'],'debugAddressComments':_0x18659a[_0x5f503d[_0x998a48(0x1a3)]],'headed':_0x18659a[_0x998a48(0x1d6)],'verifyModel':_0x46f1a4,'verifyModelInput':_0x46f1a4,'verifyModelSource':_0xfcd772});console[_0x998a48(0x274)](_0x5f503d['zVQHR']('\x0a','='['repeat'](0x3c))),console[_0x998a48(0x274)](_0x5f503d[_0x998a48(0x267)](_0x3df6eb[_0x998a48(0x15f)],'verified')?_0x5f503d[_0x998a48(0x1c2)]:_0x3df6eb['evaluation']===_0x5f503d['LCmuT']?_0x998a48(0x220):_0x5f503d[_0x998a48(0x25e)](_0x3df6eb[_0x998a48(0x15f)],_0x5f503d['LWbNz'])?'\x20PARTIAL':_0x5f503d[_0x998a48(0x18f)](_0x3df6eb[_0x998a48(0x15f)],_0x5f503d[_0x998a48(0x28d)])?_0x998a48(0x173):'\x20FAILED'),console[_0x998a48(0x274)]('='['repeat'](0x3c)),console['log'](_0x998a48(0x20f)+_0x3df6eb['summary']),console[_0x998a48(0x274)](_0x998a48(0x21b)+_0x3df6eb[_0x998a48(0x15f)]),console['log'](_0x998a48(0x1ad)+_0x3df6eb[_0x998a48(0x1ec)]),_0x3df6eb['issues']?.[_0x998a48(0x1f7)]&&(console['log']('\x0aIssues:'),_0x3df6eb['issues']['forEach']((_0x529509,_0x38f3f4)=>{const _0x2afdf0=_0x998a48;console['log']('\x0a'+_0x5f503d[_0x2afdf0(0x13c)](_0x38f3f4,0x1)+_0x2afdf0(0x1dd)+_0x529509['severity']+']\x20'+_0x529509['description']);})),process['exit'](_0x3df6eb[_0x998a48(0x15f)]===_0x5f503d[_0x998a48(0x268)]?0x0:0x1);}_0x30f22d(process[_0x54b95a(0x1cd)]['slice'](0x2))['scriptName'](_0x54b95a(0x195))['usage'](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command']('create\x20<name>',_0x54b95a(0x1a7),_0x4a458c=>{const _0x3f5aba=_0x54b95a,_0x47c961={'buahf':'Feature\x20review\x20name','nmLvD':_0x3f5aba(0x1f3),'CDWVI':'array','XcZIJ':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','biBkO':_0x3f5aba(0x172)};return _0x4a458c['positional'](_0x3f5aba(0x251),{'type':'string','description':_0x47c961[_0x3f5aba(0x1bb)],'demandOption':!![]})[_0x3f5aba(0x135)](_0x3f5aba(0x243),{'type':_0x47c961[_0x3f5aba(0x229)],'alias':'d','description':_0x3f5aba(0x14e)})['option'](_0x3f5aba(0x214),{'type':_0x47c961[_0x3f5aba(0x23d)],'alias':'c','description':_0x47c961[_0x3f5aba(0x1f6)]})[_0x3f5aba(0x135)](_0x47c961[_0x3f5aba(0x182)],{'type':_0x47c961[_0x3f5aba(0x23d)],'hidden':!![]});},async _0x49a80c=>{const _0x2706da=_0x54b95a,_0x40328c={'eDRys':function(_0x3d96c8,_0x312733,_0x284c00,_0xc9eee0){return _0x3d96c8(_0x312733,_0x284c00,_0xc9eee0);},'sEcer':'--scenario','yeHbz':'create'};_0x40328c[_0x2706da(0x25c)](warnFlagRenamed,_0x2706da(0x23f),_0x2706da(0x26c),_0x40328c[_0x2706da(0x1f5)]);const _0x22a391=_0x49a80c['scenario']||_0x49a80c['checklist'];await withTelemetry(_0x40328c['yeHbz'],()=>featureCreate(_0x49a80c['name'],{'description':_0x49a80c[_0x2706da(0x243)],'scenarios':_0x22a391}));})[_0x54b95a(0x25f)]('list',_0x54b95a(0x154),_0x1d748b=>{const _0x67ee40=_0x54b95a,_0x314811={'nUEAy':_0x67ee40(0x1e6),'CdZwR':_0x67ee40(0x1f8),'rtgYs':'offset','vVGpS':'Number\x20of\x20feature\x20reviews\x20to\x20skip','sMqlf':'boolean','xtoBb':_0x67ee40(0x175)};return _0x1d748b['option']('current-branch',{'type':'boolean','description':_0x314811['nUEAy']})[_0x67ee40(0x135)](_0x67ee40(0x155),{'type':_0x67ee40(0x17c),'alias':'l','description':_0x314811[_0x67ee40(0x198)],'default':0xa})['option'](_0x314811[_0x67ee40(0x1c4)],{'type':_0x67ee40(0x17c),'alias':'o','description':_0x314811['vVGpS'],'default':0x0})['option'](_0x67ee40(0x1b2),{'type':_0x314811[_0x67ee40(0x139)],'alias':'d','description':_0x314811['xtoBb'],'default':![]});},async _0x18810e=>{const _0x2dd2e0=_0x54b95a;await withTelemetry('list',()=>featureList({'currentBranch':_0x18810e['current-branch'],'limit':_0x18810e['limit'],'offset':_0x18810e[_0x2dd2e0(0x1e4)],'includeDeleted':_0x18810e[_0x2dd2e0(0x1b2)]}));})[_0x54b95a(0x25f)]('show\x20[id]','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x18b9dc=>{const _0x5ae835=_0x54b95a;return _0x18b9dc['positional']('id',{'type':_0x5ae835(0x1f3),'description':_0x5ae835(0x14c)});},async _0x2c8818=>{const _0x4428e6={'JFLqD':function(_0x56fbab,_0x22e56e,_0x4df2a5){return _0x56fbab(_0x22e56e,_0x4df2a5);}};await _0x4428e6['JFLqD'](withTelemetry,'show',()=>featureShow(_0x2c8818['id']));})['command'](_0x54b95a(0x178),'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x2a51ea=>{const _0x69678=_0x54b95a;return _0x2a51ea[_0x69678(0x1cf)]('id',{'type':'string','description':_0x69678(0x131)});},async _0x2af0c0=>{const _0x56d7ae=_0x54b95a,_0xa1c191={'JSDaj':_0x56d7ae(0x1fa)};await withTelemetry(_0xa1c191['JSDaj'],()=>featureResume(_0x2af0c0['id']));})[_0x54b95a(0x25f)](_0x54b95a(0x212),'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x1ea23a=>{const _0x3f3853=_0x54b95a,_0x3a8136={'rRgyx':'Scenario\x20description'};return _0x1ea23a['positional']('description',{'type':_0x3f3853(0x1f3),'description':_0x3a8136[_0x3f3853(0x18b)],'demandOption':!![]})[_0x3f3853(0x135)]('id',{'type':'string','description':_0x3f3853(0x17d)});},async _0x85619f=>{const _0x33d603=_0x54b95a,_0x231c92={'WUJHg':function(_0x12b124,_0x499c79,_0x2d53de){return _0x12b124(_0x499c79,_0x2d53de);},'bxQyc':_0x33d603(0x183)};await _0x231c92[_0x33d603(0x191)](withTelemetry,_0x231c92[_0x33d603(0x19f)],()=>featureAddScenario(_0x85619f['description'],_0x85619f['id']));})[_0x54b95a(0x25f)]('edit-scenario\x20<description>',_0x54b95a(0x1a5),_0x18cbb0=>{const _0x5a8176=_0x54b95a,_0x16dcc8={'udcsT':'string','SnLbH':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0x18cbb0['positional']('description',{'type':_0x16dcc8['udcsT'],'description':_0x5a8176(0x255),'demandOption':!![]})[_0x5a8176(0x135)](_0x5a8176(0x214),{'type':'number','description':_0x5a8176(0x246),'demandOption':!![]})[_0x5a8176(0x135)]('id',{'type':_0x5a8176(0x1f3),'description':_0x16dcc8['SnLbH']});},async _0x1787de=>{await withTelemetry('edit-scenario',()=>featureEditScenario(_0x1787de['description'],{'id':_0x1787de['id'],'scenario':_0x1787de['scenario']}));})['command'](_0x54b95a(0x148),'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x4ce65a=>{const _0x4e733a=_0x54b95a,_0x1cfd9e={'vuxpL':_0x4e733a(0x14c),'xvAmG':'exclude-scenario','VenBO':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','VMuZS':'json','gFkTR':'boolean','UMObJ':_0x4e733a(0x1b9)};return _0x4ce65a[_0x4e733a(0x1cf)]('id',{'type':'string','description':_0x1cfd9e[_0x4e733a(0x153)]})['option'](_0x1cfd9e['xvAmG'],{'type':_0x4e733a(0x21a),'description':_0x1cfd9e['VenBO']})['option'](_0x1cfd9e['VMuZS'],{'type':_0x1cfd9e['gFkTR'],'description':_0x1cfd9e['UMObJ'],'default':![]});},async _0x539e49=>{const _0x100331=_0x54b95a,_0x40edbc={'XbAFd':_0x100331(0x1a6),'IjcdR':function(_0xc3c4c2,_0x5f704b,_0x332e89){return _0xc3c4c2(_0x5f704b,_0x332e89);}},_0x2b7638=_0x539e49[_0x40edbc[_0x100331(0x260)]],_0x549d15=_0x2b7638?_0x2b7638[_0x100331(0x1bc)](_0x184ed3=>Number(_0x184ed3)):undefined;await _0x40edbc[_0x100331(0x277)](withTelemetry,'report',()=>featureReportPrDescription(_0x539e49['id'],{'excludeScenarios':_0x549d15,'json':_0x539e49[_0x100331(0x22c)]}));})[_0x54b95a(0x25f)](_0x54b95a(0x138),'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x45d92b=>{const _0x589f65=_0x54b95a;return _0x45d92b['positional']('id',{'type':'string','description':_0x589f65(0x17d)});},async _0x101969=>{const _0x19e2c1=_0x54b95a;await withTelemetry(_0x19e2c1(0x1ba),()=>featureGetReview(_0x101969['id']));})['command']('delete\x20[id]','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x4be912=>{const _0x780518=_0x54b95a,_0x2012e3={'ZhXds':'Feature\x20review\x20ID'};return _0x4be912['positional']('id',{'type':_0x780518(0x1f3),'description':_0x2012e3[_0x780518(0x21c)]});},async _0x2f167c=>{await withTelemetry('delete',()=>featureDelete(_0x2f167c['id']));})[_0x54b95a(0x25f)]('restore\x20<id>',_0x54b95a(0x16e),_0x5aff04=>{const _0x476889=_0x54b95a,_0x37bcea={'XGjxy':_0x476889(0x1f3),'oTgyM':_0x476889(0x206)};return _0x5aff04['positional']('id',{'type':_0x37bcea['XGjxy'],'description':_0x37bcea['oTgyM'],'demandOption':!![]});},async _0x4c42c0=>{const _0x30aacc=_0x54b95a;await withTelemetry(_0x30aacc(0x168),()=>featureRestore(_0x4c42c0['id']));})[_0x54b95a(0x25f)]('setup\x20[token]',_0x54b95a(0x12a),_0x4985d8=>{const _0x1c83b0=_0x54b95a,_0x420a22={'IfJko':'token','LKRoM':'scope','qTfat':_0x1c83b0(0x17f),'xwYEY':'string','rGEGu':_0x1c83b0(0x1ff),'ySmHH':_0x1c83b0(0x151),'KCxcW':_0x1c83b0(0x20b)};return _0x4985d8[_0x1c83b0(0x1cf)](_0x420a22['IfJko'],{'type':_0x1c83b0(0x1f3),'description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})['option']('skip-chromium',{'type':'boolean','description':_0x1c83b0(0x1a2),'default':![]})['option'](_0x420a22[_0x1c83b0(0x1b6)],{'type':'string','choices':['user','project'],'description':_0x420a22['qTfat']})[_0x1c83b0(0x135)]('url',{'type':_0x420a22[_0x1c83b0(0x19d)],'description':_0x1c83b0(0x290)})['option'](_0x420a22[_0x1c83b0(0x223)],{'type':_0x1c83b0(0x151),'description':_0x1c83b0(0x141),'default':![]})['option']('opencode',{'type':_0x420a22['ySmHH'],'description':_0x420a22[_0x1c83b0(0x19b)],'default':![]})[_0x1c83b0(0x135)]('allow-insecure-localhost',{'type':_0x420a22['ySmHH'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]});},async _0x5a03a8=>{const _0x1101ba=_0x54b95a;await withTelemetry(_0x1101ba(0x272),_0x261b29=>start(_0x5a03a8['token'],{'skipChromium':_0x5a03a8[_0x1101ba(0x1d7)],'scope':_0x5a03a8[_0x1101ba(0x262)],'url':_0x5a03a8[_0x1101ba(0x207)],'force':_0x5a03a8['force'],'opencode':_0x5a03a8[_0x1101ba(0x280)],'allowInsecureLocalhost':_0x5a03a8['allow-insecure-localhost']},_0x261b29));})[_0x54b95a(0x25f)]('setup-ci\x20<token>',_0x54b95a(0x1b1),_0x29c0d9=>{const _0x2bcd22=_0x54b95a,_0x31c2d6={'yvylS':_0x2bcd22(0x1f3),'ZMbsW':_0x2bcd22(0x1f0),'zKhYU':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','BlaaE':_0x2bcd22(0x1d3),'xPlyN':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','AjRHc':'skip-chromium','RjyGh':_0x2bcd22(0x151)};return _0x29c0d9['positional'](_0x2bcd22(0x1e0),{'type':_0x31c2d6[_0x2bcd22(0x1fc)],'description':_0x31c2d6[_0x2bcd22(0x1a8)],'demandOption':!![]})['option'](_0x2bcd22(0x1fe),{'type':'string','description':_0x31c2d6[_0x2bcd22(0x150)]})['option'](_0x31c2d6[_0x2bcd22(0x285)],{'type':_0x31c2d6[_0x2bcd22(0x1fc)],'description':_0x31c2d6['xPlyN']})['option'](_0x31c2d6[_0x2bcd22(0x27a)],{'type':_0x31c2d6['RjyGh'],'description':_0x2bcd22(0x25a),'default':![]});},async _0x14d752=>{const _0xf4a064=_0x54b95a,_0x11840b={'WrgEB':function(_0x217756,_0x30b5fc,_0x25e44b){return _0x217756(_0x30b5fc,_0x25e44b);},'NJIah':_0xf4a064(0x167)};await _0x11840b[_0xf4a064(0x236)](withTelemetry,_0x11840b['NJIah'],_0x4a95dc=>setupCi(_0x14d752[_0xf4a064(0x1e0)],{'profile':_0x14d752['profile'],'baseUrl':_0x14d752['base-url'],'skipChromium':_0x14d752['skip-chromium']},_0x4a95dc));})['command'](_0x54b95a(0x1fd),'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)',()=>{},async()=>{const _0x465980=_0x54b95a,_0x223179={'BuoCl':'login'};await withTelemetry(_0x223179[_0x465980(0x19c)],()=>login());})['command']('skillup',_0x54b95a(0x201),_0x274c07=>{const _0x3fd0da=_0x54b95a,_0x129b3d={'VyWRe':'opencode','pfyCt':_0x3fd0da(0x151),'iJdSW':'Install\x20skills\x20for\x20OpenCode','gKlNF':'scope','KBxbz':'string','mJrYY':'user','GPzwO':'Install\x20scope\x20for\x20skills'};return _0x274c07['option'](_0x129b3d[_0x3fd0da(0x28c)],{'type':_0x129b3d[_0x3fd0da(0x1c8)],'description':_0x129b3d['iJdSW'],'default':![]})[_0x3fd0da(0x135)](_0x129b3d[_0x3fd0da(0x1d1)],{'type':_0x129b3d[_0x3fd0da(0x286)],'choices':[_0x129b3d[_0x3fd0da(0x23b)],_0x3fd0da(0x177)],'description':_0x129b3d[_0x3fd0da(0x1c6)]});},async _0xa46a56=>{const _0x4ef47f=_0x54b95a,_0x133ea0={'rTiiY':function(_0x351a23,_0x50e406,_0x149df6){return _0x351a23(_0x50e406,_0x149df6);},'JkytR':_0x4ef47f(0x130)},_0xaa2a89=Boolean(_0xa46a56['opencode']);await _0x133ea0['rTiiY'](withTelemetry,_0x133ea0[_0x4ef47f(0x225)],()=>skillup({'autoInstall':_0xa46a56['scope'],'platform':_0xaa2a89?'opencode':'claude'}));})[_0x54b95a(0x25f)](_0x54b95a(0x1f2),'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{await withTelemetry('clean',()=>clean());})[_0x54b95a(0x25f)]('profile','Manage\x20profiles',_0x256dfa=>{const _0x1027da=_0x54b95a,_0x10890d={'FbcKi':_0x1027da(0x162),'iVJIW':_0x1027da(0x1f3),'Jvbgf':_0x1027da(0x218),'nMyYK':_0x1027da(0x244),'ITQSz':_0x1027da(0x1b7),'mJZcZ':_0x1027da(0x25b),'sQwlD':'force','XbZLz':_0x1027da(0x199),'oTPnJ':'allow-insecure-localhost','kCgzE':_0x1027da(0x14b),'nzeKr':'safe-mode','Iaqxj':_0x1027da(0x210),'ndRgQ':_0x1027da(0x159),'wzxOV':function(_0x53ff18,_0x15d51e){return _0x53ff18(_0x15d51e);},'WLOvq':_0x1027da(0x23e),'CObgL':function(_0x3053bc,_0xfec5e2,_0x586463){return _0x3053bc(_0xfec5e2,_0x586463);},'WxhnD':_0x1027da(0x231),'huosi':function(_0xd34c92,_0x368663,_0x3e36ba){return _0xd34c92(_0x368663,_0x3e36ba);},'mgAJQ':'key','FnkEn':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','VAMRN':'Config\x20value','iZIax':'profile','SqRWE':_0x1027da(0x263),'OPSgH':'profile\x20config\x20unset','zQbVs':'profile\x20config\x20set','EPQlG':'Set\x20a\x20config\x20value','VwTgU':'list\x20<profile>','TVPuN':'unset\x20<profile>\x20<key>','PLXHF':_0x1027da(0x240),'LiaVV':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','KzAoM':'add\x20<profile-name>','vkVdA':_0x1027da(0x279),'JRmMr':_0x1027da(0x234),'xJMGn':_0x1027da(0x16d),'gcNWZ':_0x1027da(0x16f),'SfsNZ':_0x1027da(0x276),'nOxZF':'You\x20must\x20specify\x20a\x20profile\x20subcommand'};return _0x256dfa[_0x1027da(0x200)](PROFILE_HELP)[_0x1027da(0x25f)](_0x10890d[_0x1027da(0x254)],_0x1027da(0x16b),_0x11efb3=>{const _0x595afd=_0x1027da;return _0x11efb3[_0x595afd(0x1cf)](_0x10890d['FbcKi'],{'type':_0x10890d[_0x595afd(0x197)],'description':_0x595afd(0x24a),'demandOption':!![]})['option']('ci',{'type':'boolean','description':_0x10890d[_0x595afd(0x1ce)],'default':![]})[_0x595afd(0x135)](_0x10890d['nMyYK'],{'type':_0x595afd(0x151),'description':_0x10890d[_0x595afd(0x170)],'default':![]})['option'](_0x595afd(0x207),{'type':'string','description':_0x10890d['mJZcZ']})[_0x595afd(0x135)](_0x10890d[_0x595afd(0x242)],{'type':'boolean','description':_0x595afd(0x141),'default':![]})['option'](_0x10890d['XbZLz'],{'type':_0x595afd(0x1f3),'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})['option'](_0x10890d[_0x595afd(0x163)],{'type':_0x595afd(0x151),'description':_0x10890d['kCgzE'],'default':![]})[_0x595afd(0x135)](_0x10890d['nzeKr'],{'type':'boolean','description':_0x10890d['Iaqxj'],'default':![]})[_0x595afd(0x135)]('setup-header',{'type':_0x10890d['iVJIW'],'array':!![],'description':_0x10890d[_0x595afd(0x28a)]});},async _0x2223d5=>{const _0x61c843=_0x1027da;await withTelemetry('profile\x20add',_0x1f8ced=>addEnv(_0x2223d5['profile-name'],{'ci':_0x2223d5['ci'],'skipAuth':_0x2223d5['skip-auth'],'url':_0x2223d5[_0x61c843(0x207)],'force':_0x2223d5[_0x61c843(0x1ff)],'cdpEndpoint':_0x2223d5[_0x61c843(0x199)],'allowInsecureLocalhost':_0x2223d5['allow-insecure-localhost'],'safeMode':_0x2223d5[_0x61c843(0x12f)],'setupHeader':_0x2223d5[_0x61c843(0x156)]},_0x1f8ced),{'isElectron':_0x10890d['wzxOV'](Boolean,_0x2223d5[_0x61c843(0x199)])});})[_0x1027da(0x25f)](_0x10890d[_0x1027da(0x237)],_0x1027da(0x194),_0x30c052=>{const _0x459c3b=_0x1027da;return _0x30c052[_0x459c3b(0x1cf)](_0x10890d[_0x459c3b(0x257)],{'type':_0x10890d['iVJIW'],'description':_0x10890d['WLOvq'],'demandOption':!![]});},async _0x2cfe39=>{const _0x1da49f=_0x1027da;await withTelemetry('profile\x20use',()=>useEnv(_0x2cfe39[_0x1da49f(0x162)]));})[_0x1027da(0x25f)](_0x1027da(0x161),_0x1027da(0x24b),_0x6d62df=>{const _0x2d2d9c=_0x1027da;return _0x6d62df[_0x2d2d9c(0x1cf)](_0x2d2d9c(0x1fe),{'type':_0x10890d[_0x2d2d9c(0x197)],'description':'Profile\x20name','demandOption':!![]});},async _0x22e0ac=>{const _0x30d1bf=_0x1027da;await _0x10890d['CObgL'](withTelemetry,_0x10890d[_0x30d1bf(0x187)],()=>authEncrypt(_0x22e0ac['profile']));})[_0x1027da(0x25f)]('ls',_0x1027da(0x224),()=>{},async()=>{const _0x4a81fe=_0x1027da;await withTelemetry(_0x4a81fe(0x15b),()=>envList());})['command'](_0x10890d['JRmMr'],_0x10890d[_0x1027da(0x217)],_0x3b8e8b=>{const _0x3802b7=_0x1027da;return _0x3b8e8b['positional'](_0x10890d[_0x3802b7(0x257)],{'type':'string','description':'Name\x20of\x20the\x20profile\x20to\x20update','demandOption':!![]})['option'](_0x10890d['oTPnJ'],{'type':'boolean','description':_0x10890d['kCgzE']});},async _0x200da3=>{const _0x7a87e0=_0x1027da;await _0x10890d[_0x7a87e0(0x14f)](withTelemetry,_0x7a87e0(0x203),_0x1467c0=>updateEnv(_0x200da3[_0x7a87e0(0x162)],_0x1467c0,{'allowInsecureLocalhost':_0x200da3['allow-insecure-localhost']}));})[_0x1027da(0x25f)](_0x10890d[_0x1027da(0x1b0)],_0x10890d['SfsNZ'],_0x5c972c=>{const _0xe822c8=_0x1027da,_0x2fb8b0={'nnsep':function(_0x2f4504,_0x27bc62,_0x34e7c5){return _0x2f4504(_0x27bc62,_0x34e7c5);},'uefwa':_0x10890d[_0xe822c8(0x180)],'bqyAo':'profile\x20config\x20get','AhSBz':'profile','uBdat':_0x10890d[_0xe822c8(0x197)],'yGQcU':function(_0x5f0250,_0x3a87eb,_0x283814){return _0x5f0250(_0x3a87eb,_0x283814);},'GZaIC':'profile\x20config\x20list','JntLT':_0xe822c8(0x238),'BXpaS':_0xe822c8(0x164)};return _0x5c972c[_0xe822c8(0x200)](PROFILE_CONFIG_HELP)[_0xe822c8(0x25f)]('set\x20<profile>\x20<key>\x20<value>',_0x10890d[_0xe822c8(0x226)],_0x4128a9=>{const _0x39fbdf=_0xe822c8;return _0x4128a9['positional']('profile',{'type':_0x39fbdf(0x1f3),'description':'Profile\x20name','demandOption':!![]})['positional'](_0x10890d[_0x39fbdf(0x18e)],{'type':_0x10890d['iVJIW'],'description':_0x10890d[_0x39fbdf(0x19a)],'demandOption':!![]})['positional'](_0x39fbdf(0x216),{'type':_0x10890d['iVJIW'],'description':_0x10890d[_0x39fbdf(0x215)],'demandOption':!![]});},async _0xb45ec7=>{const _0x541c91=_0xe822c8;await _0x2fb8b0['nnsep'](withTelemetry,_0x2fb8b0[_0x541c91(0x287)],()=>configSet(_0xb45ec7[_0x541c91(0x1fe)],_0xb45ec7['key'],_0xb45ec7['value']));})['command']('get\x20<profile>\x20<key>','Get\x20a\x20config\x20value',_0x6286c7=>{const _0x1ce50b=_0xe822c8;return _0x6286c7['positional'](_0x10890d['iZIax'],{'type':_0x1ce50b(0x1f3),'description':_0x1ce50b(0x238),'demandOption':!![]})['positional'](_0x1ce50b(0x27b),{'type':_0x10890d['iVJIW'],'description':_0x10890d['SqRWE'],'demandOption':!![]});},async _0x2389c5=>{await withTelemetry(_0x2fb8b0['bqyAo'],()=>configGet(_0x2389c5['profile'],_0x2389c5['key']));})[_0xe822c8(0x25f)](_0x10890d['VwTgU'],'List\x20all\x20config\x20for\x20a\x20profile',_0x12bc0c=>{const _0x16c6ff=_0xe822c8;return _0x12bc0c['positional'](_0x2fb8b0[_0x16c6ff(0x1ed)],{'type':_0x2fb8b0[_0x16c6ff(0x26f)],'description':_0x16c6ff(0x238),'demandOption':!![]});},async _0x25f67d=>{const _0x2891ea=_0xe822c8;await _0x2fb8b0['yGQcU'](withTelemetry,_0x2fb8b0[_0x2891ea(0x211)],()=>configList(_0x25f67d[_0x2891ea(0x1fe)]));})['command'](_0x10890d['TVPuN'],_0x10890d[_0xe822c8(0x13b)],_0x349f9b=>{const _0x3b1aa6=_0xe822c8;return _0x349f9b[_0x3b1aa6(0x1cf)]('profile',{'type':_0x2fb8b0[_0x3b1aa6(0x26f)],'description':_0x2fb8b0['JntLT'],'demandOption':!![]})[_0x3b1aa6(0x1cf)](_0x3b1aa6(0x27b),{'type':_0x3b1aa6(0x1f3),'description':_0x2fb8b0['BXpaS'],'demandOption':!![]});},async _0x5a4b73=>{const _0xbbb085=_0xe822c8;await _0x10890d[_0xbbb085(0x15c)](withTelemetry,_0x10890d[_0xbbb085(0x21e)],()=>configUnset(_0x5a4b73[_0xbbb085(0x1fe)],_0x5a4b73[_0xbbb085(0x27b)]));})[_0xe822c8(0x204)](0x1,_0x10890d[_0xe822c8(0x133)]);})['demandCommand'](0x1,_0x10890d['nOxZF']);})['command']('status','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{const _0x30c7da=_0x54b95a,_0xc2acfc={'ITejm':function(_0x35a5fd,_0x3bb0f3,_0x4b776b){return _0x35a5fd(_0x3bb0f3,_0x4b776b);},'ivxJi':'status'};await _0xc2acfc['ITejm'](withTelemetry,_0xc2acfc[_0x30c7da(0x1d0)],()=>status());})['command'](_0x54b95a(0x179),'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x5525a5={'LkmaD':function(_0x596349,_0x1549a5,_0xc9ee9b){return _0x596349(_0x1549a5,_0xc9ee9b);}};await _0x5525a5['LkmaD'](withTelemetry,'update',()=>update());})['command']('go','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)',_0xddcf16=>{const _0x46ee31=_0x54b95a,_0x8cd3b9={'eOkaj':_0x46ee31(0x1f3),'LAJTi':_0x46ee31(0x1fe),'dhsFF':_0x46ee31(0x27f),'uFmFz':_0x46ee31(0x185),'YPIwv':_0x46ee31(0x214),'QcJYW':_0x46ee31(0x227),'gsYkj':_0x46ee31(0x230),'iFakq':_0x46ee31(0x271),'WqODj':'verified','oFFfw':_0x46ee31(0x165),'btLFs':_0x46ee31(0x192),'CbbaR':_0x46ee31(0x28f),'UirLa':_0x46ee31(0x17c)};return _0xddcf16[_0x46ee31(0x135)]('feature',{'type':_0x8cd3b9['eOkaj'],'description':'Optional\x20feature\x20ID'})['option'](_0x8cd3b9[_0x46ee31(0x256)],{'type':_0x8cd3b9['eOkaj'],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0x46ee31(0x135)](_0x8cd3b9[_0x46ee31(0x17a)],{'type':_0x46ee31(0x1f3),'description':_0x8cd3b9[_0x46ee31(0x1d2)]})[_0x46ee31(0x135)](_0x8cd3b9['YPIwv'],{'type':_0x46ee31(0x17c),'description':_0x46ee31(0x181)})[_0x46ee31(0x135)](_0x8cd3b9['QcJYW'],{'type':_0x46ee31(0x1f3),'description':_0x46ee31(0x152)})['option'](_0x8cd3b9['gsYkj'],{'type':'string','description':_0x8cd3b9[_0x46ee31(0x25d)]})['option']('headed',{'type':_0x46ee31(0x151),'description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})['option']('debug-outcome',{'type':_0x8cd3b9[_0x46ee31(0x140)],'hidden':!![],'choices':[_0x8cd3b9[_0x46ee31(0x1e9)],_0x46ee31(0x26d),_0x46ee31(0x1ef),_0x8cd3b9['oFFfw'],'incomplete']})['option'](_0x46ee31(0x1b8),{'type':'boolean','hidden':!![]})['option']('env',{'type':'string','hidden':!![]})['option'](_0x8cd3b9[_0x46ee31(0x1bf)],{'type':'string','hidden':!![]})[_0x46ee31(0x135)](_0x8cd3b9['CbbaR'],{'type':_0x8cd3b9[_0x46ee31(0x264)],'hidden':!![]});},async _0x411391=>{await runGoCommand(_0x411391);})['command'](_0x54b95a(0x1eb),![],_0x2fe4dc=>{const _0x45fde2=_0x54b95a,_0x11f714={'zwwYT':'profile','jdzxu':function(_0x502003,_0x3d1daa){return _0x502003(_0x3d1daa);},'IfoSB':'You\x20must\x20specify\x20an\x20auth\x20subcommand'};return _0x2fe4dc['command'](_0x45fde2(0x144),![],_0xf2c2eb=>{const _0xd06059=_0x45fde2;return _0xf2c2eb[_0xd06059(0x1cf)](_0x11f714[_0xd06059(0x18c)],{'type':_0xd06059(0x1f3),'description':'Profile\x20name','demandOption':!![]});},async _0x1830a4=>{warnRenamed('ranger\x20auth\x20encrypt','ranger\x20profile\x20encrypt-auth'),await _0x11f714['jdzxu'](authEncrypt,_0x1830a4['profile']);})[_0x45fde2(0x204)](0x1,_0x11f714['IfoSB']);},()=>{})['command']('start\x20[token]',![],_0x8e2896=>{const _0x3cbaba=_0x54b95a,_0x46b737={'IbNlf':_0x3cbaba(0x1f3),'wNEbk':_0x3cbaba(0x1d7),'VESLb':_0x3cbaba(0x151),'Oatta':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','vHbwU':'user','GNvYr':_0x3cbaba(0x177),'necUY':_0x3cbaba(0x17f),'NETxW':_0x3cbaba(0x207)};return _0x8e2896[_0x3cbaba(0x1cf)](_0x3cbaba(0x1e0),{'type':_0x46b737[_0x3cbaba(0x221)],'description':_0x3cbaba(0x1f1)})[_0x3cbaba(0x135)](_0x46b737[_0x3cbaba(0x12c)],{'type':_0x46b737[_0x3cbaba(0x1b3)],'description':_0x46b737[_0x3cbaba(0x1aa)],'default':![]})['option']('scope',{'type':_0x46b737['IbNlf'],'choices':[_0x46b737[_0x3cbaba(0x15d)],_0x46b737['GNvYr']],'description':_0x46b737['necUY']})['option'](_0x46b737[_0x3cbaba(0x22d)],{'type':_0x46b737[_0x3cbaba(0x221)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option']('force',{'type':_0x3cbaba(0x151),'description':_0x3cbaba(0x141),'default':![]});},async _0x415434=>{const _0x26b960=_0x54b95a,_0x57933a={'JDXdf':_0x26b960(0x23a)};warnRenamed('ranger\x20start',_0x57933a['JDXdf']),await withTelemetry('start',_0x2c46bb=>start(_0x415434[_0x26b960(0x1e0)],{'skipChromium':_0x415434['skip-chromium'],'scope':_0x415434[_0x26b960(0x262)],'url':_0x415434[_0x26b960(0x207)],'force':_0x415434['force']},_0x2c46bb));})[_0x54b95a(0x25f)](_0x54b95a(0x142),![],_0x569ab4=>{const _0x99b1f5=_0x54b95a,_0x46e6c8={'DDCNe':'env','EAYkQ':_0x99b1f5(0x1f3),'JozOd':_0x99b1f5(0x190),'UZRcx':_0x99b1f5(0x186),'KDemv':'item','KVZNs':_0x99b1f5(0x181),'aFyho':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','MCEvX':_0x99b1f5(0x230),'cltEP':'headed','IUsps':_0x99b1f5(0x24c),'VvCbc':'verified','IVILG':_0x99b1f5(0x26d),'YOGSw':_0x99b1f5(0x1ef),'VCdHj':_0x99b1f5(0x20a)};return _0x569ab4[_0x99b1f5(0x135)](_0x46e6c8['DDCNe'],{'type':_0x46e6c8['EAYkQ'],'description':_0x46e6c8['JozOd']})[_0x99b1f5(0x135)](_0x99b1f5(0x192),{'type':_0x46e6c8['EAYkQ'],'description':_0x46e6c8[_0x99b1f5(0x1c3)]})[_0x99b1f5(0x135)](_0x46e6c8[_0x99b1f5(0x13a)],{'type':_0x99b1f5(0x17c),'description':_0x46e6c8['KVZNs']})['option']('profile',{'type':_0x46e6c8['EAYkQ'],'hidden':!![]})[_0x99b1f5(0x135)](_0x99b1f5(0x27f),{'type':'string','hidden':!![]})['option']('scenario',{'type':_0x99b1f5(0x17c),'hidden':!![]})[_0x99b1f5(0x135)](_0x99b1f5(0x227),{'type':_0x46e6c8[_0x99b1f5(0x14a)],'description':_0x46e6c8[_0x99b1f5(0x1a9)]})['option'](_0x46e6c8['MCEvX'],{'type':'string','hidden':!![]})['option'](_0x46e6c8['cltEP'],{'type':'boolean','hidden':!![],'default':![]})['option'](_0x46e6c8['IUsps'],{'type':_0x46e6c8[_0x99b1f5(0x14a)],'hidden':!![],'choices':[_0x46e6c8['VvCbc'],_0x46e6c8['IVILG'],_0x46e6c8[_0x99b1f5(0x1a1)],_0x99b1f5(0x165),_0x46e6c8['VCdHj']]});},async _0x2aa5fb=>{const _0x22af92={'FMCRX':function(_0x5bb81e,_0x12177b,_0x4e50c9){return _0x5bb81e(_0x12177b,_0x4e50c9);}};await _0x22af92['FMCRX'](runGoCommand,_0x2aa5fb,!![]);})[_0x54b95a(0x25f)](_0x54b95a(0x1de),![],_0xe90020=>{const _0x38dc37=_0x54b95a,_0x1f4891={'zTUsL':'env-name','AnGCn':_0x38dc37(0x151),'eLAKg':_0x38dc37(0x18a),'CBTbW':_0x38dc37(0x244),'uSczN':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)'};return _0xe90020['positional'](_0x1f4891[_0x38dc37(0x1e3)],{'type':_0x38dc37(0x1f3),'description':_0x38dc37(0x288),'demandOption':!![]})['option']('ci',{'type':_0x1f4891[_0x38dc37(0x247)],'description':_0x1f4891['eLAKg'],'default':![]})[_0x38dc37(0x135)](_0x1f4891['CBTbW'],{'type':'boolean','description':_0x1f4891[_0x38dc37(0x1d8)],'default':![]});},async _0x26189e=>{const _0x2dcf5e=_0x54b95a,_0x5cb7ab={'ewKKD':_0x2dcf5e(0x1c7)};warnRenamed(_0x5cb7ab[_0x2dcf5e(0x1db)],'ranger\x20profile\x20add'),await withTelemetry(_0x2dcf5e(0x245),_0x52c97b=>addEnv(_0x26189e['env-name'],{'ci':_0x26189e['ci'],'skipAuth':_0x26189e[_0x2dcf5e(0x244)]},_0x52c97b));})[_0x54b95a(0x25f)]('use\x20<env-name>',![],_0x29ee37=>{const _0x29425a=_0x54b95a,_0x238647={'zVuHX':_0x29425a(0x1f3)};return _0x29ee37[_0x29425a(0x1cf)](_0x29425a(0x24e),{'type':_0x238647[_0x29425a(0x24d)],'description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0xa5d3d5=>{const _0x1a6d7b=_0x54b95a,_0x15a240={'LmHlu':function(_0xb629d3,_0x29c704,_0x1260fa){return _0xb629d3(_0x29c704,_0x1260fa);},'uUTrA':function(_0x108f3b,_0x4af05d,_0x28f194){return _0x108f3b(_0x4af05d,_0x28f194);}};_0x15a240['LmHlu'](warnRenamed,'ranger\x20use',_0x1a6d7b(0x1ca)),await _0x15a240['uUTrA'](withTelemetry,'use',()=>useEnv(_0xa5d3d5['env-name']));})['command'](_0x54b95a(0x16f),![],_0x1fe084=>{const _0x75c08d=_0x54b95a,_0x181c0b={'qGhyA':'key','AUMHg':'string','CEYXR':_0x75c08d(0x193),'dCAhL':_0x75c08d(0x216),'NBdOL':_0x75c08d(0x17b),'FHHMo':function(_0x42e45c,_0x560d02,_0x1cf124){return _0x42e45c(_0x560d02,_0x1cf124);},'dMPvi':'ranger\x20config\x20set','AruEN':_0x75c08d(0x12b),'adcWQ':'config\x20set','nmaSd':'ranger\x20config\x20get','rRBmn':'ranger\x20profile\x20config\x20get','UVVtm':_0x75c08d(0x252),'dlgcE':'ranger\x20profile\x20config\x20list','FjGuP':function(_0x5189d5,_0x5ab652,_0x5a968e){return _0x5189d5(_0x5ab652,_0x5a968e);},'svPSV':'env','heKoy':_0x75c08d(0x169),'AjABP':'Config\x20key\x20to\x20remove','onLrk':_0x75c08d(0x1f9),'bYnIn':'ranger\x20profile\x20config\x20unset','YRMtN':function(_0x1fb74a,_0x4d2f44,_0x18fcc0){return _0x1fb74a(_0x4d2f44,_0x18fcc0);},'PbiZe':_0x75c08d(0x253),'otkyM':_0x75c08d(0x1e2),'olmTO':'get\x20<env>\x20<key>','xUJnH':'list\x20<env>','XdXSL':_0x75c08d(0x289),'hDdWr':_0x75c08d(0x196)};return _0x1fe084['command'](_0x181c0b['otkyM'],![],_0x33e9a4=>{const _0x35f2da=_0x75c08d;return _0x33e9a4[_0x35f2da(0x1cf)](_0x35f2da(0x14d),{'type':'string','description':_0x35f2da(0x169),'demandOption':!![]})['positional'](_0x181c0b['qGhyA'],{'type':_0x181c0b['AUMHg'],'description':_0x181c0b[_0x35f2da(0x1be)],'demandOption':!![]})['positional'](_0x181c0b['dCAhL'],{'type':_0x181c0b['AUMHg'],'description':_0x181c0b[_0x35f2da(0x1b5)],'demandOption':!![]});},async _0x1bf605=>{const _0x39e8c6=_0x75c08d;_0x181c0b['FHHMo'](warnRenamed,_0x181c0b['dMPvi'],_0x181c0b[_0x39e8c6(0x145)]),await withTelemetry(_0x181c0b[_0x39e8c6(0x21f)],()=>configSet(_0x1bf605['env'],_0x1bf605['key'],_0x1bf605[_0x39e8c6(0x216)]));})['command'](_0x181c0b['olmTO'],![],_0x2aed7f=>{const _0x269978=_0x75c08d;return _0x2aed7f['positional'](_0x269978(0x14d),{'type':_0x181c0b['AUMHg'],'description':_0x269978(0x169),'demandOption':!![]})['positional'](_0x181c0b[_0x269978(0x22a)],{'type':'string','description':_0x269978(0x263),'demandOption':!![]});},async _0x46a1b1=>{const _0x27bde8=_0x75c08d;_0x181c0b[_0x27bde8(0x233)](warnRenamed,_0x181c0b['nmaSd'],_0x181c0b['rRBmn']),await withTelemetry(_0x181c0b['UVVtm'],()=>configGet(_0x46a1b1[_0x27bde8(0x14d)],_0x46a1b1['key']));})[_0x75c08d(0x25f)](_0x181c0b['xUJnH'],![],_0x3c945e=>{const _0x1dcf89=_0x75c08d;return _0x3c945e[_0x1dcf89(0x1cf)](_0x1dcf89(0x14d),{'type':_0x181c0b[_0x1dcf89(0x27c)],'description':'Environment\x20name','demandOption':!![]});},async _0x28ea1e=>{const _0x58efd2=_0x75c08d;warnRenamed(_0x58efd2(0x1ae),_0x181c0b[_0x58efd2(0x171)]),await _0x181c0b['FjGuP'](withTelemetry,'config\x20list',()=>configList(_0x28ea1e['env']));})[_0x75c08d(0x25f)](_0x181c0b[_0x75c08d(0x20d)],![],_0xccb1ef=>{const _0x200942=_0x75c08d;return _0xccb1ef[_0x200942(0x1cf)](_0x181c0b[_0x200942(0x1f4)],{'type':_0x181c0b['AUMHg'],'description':_0x181c0b[_0x200942(0x19e)],'demandOption':!![]})['positional'](_0x200942(0x27b),{'type':_0x200942(0x1f3),'description':_0x181c0b['AjABP'],'demandOption':!![]});},async _0x1699de=>{warnRenamed(_0x181c0b['onLrk'],_0x181c0b['bYnIn']),await _0x181c0b['YRMtN'](withTelemetry,_0x181c0b['PbiZe'],()=>configUnset(_0x1699de['env'],_0x1699de['key']));})[_0x75c08d(0x204)](0x1,_0x181c0b['hDdWr']);})['command']('env',![],_0x4686b0=>{const _0x6946fd=_0x54b95a,_0x29e18f={'XjAnV':function(_0x3b54b9,_0x849e09,_0x4539cd){return _0x3b54b9(_0x849e09,_0x4539cd);},'ujeWd':function(_0x56fbe1,_0x3cf4ce,_0x506cb9){return _0x56fbe1(_0x3cf4ce,_0x506cb9);},'ledTc':_0x6946fd(0x1a4),'aMaLV':function(_0x1b4c67,_0x1db0fa,_0x53b008){return _0x1b4c67(_0x1db0fa,_0x53b008);},'daZHV':'ranger\x20env\x20update','iodDU':_0x6946fd(0x282),'mGlAa':function(_0x413a5f,_0x1c6f00,_0x11a68e){return _0x413a5f(_0x1c6f00,_0x11a68e);},'yzLmo':_0x6946fd(0x269),'QUHpw':_0x6946fd(0x136),'pmVLs':_0x6946fd(0x265)};return _0x4686b0[_0x6946fd(0x25f)]('ls',![],()=>{},async()=>{const _0x45e70d=_0x6946fd;_0x29e18f['XjAnV'](warnRenamed,'ranger\x20env\x20ls','ranger\x20profile\x20ls'),await _0x29e18f[_0x45e70d(0x16c)](withTelemetry,_0x29e18f[_0x45e70d(0x28e)],()=>envList());})[_0x6946fd(0x25f)](_0x29e18f['QUHpw'],![],_0x376624=>{const _0x5c76ec=_0x6946fd;return _0x376624[_0x5c76ec(0x1cf)]('env-name',{'type':_0x5c76ec(0x1f3),'description':_0x5c76ec(0x202),'demandOption':!![]});},async _0x40001e=>{const _0x434d48=_0x6946fd;_0x29e18f['aMaLV'](warnRenamed,_0x29e18f[_0x434d48(0x13d)],_0x29e18f[_0x434d48(0x1da)]),await _0x29e18f['mGlAa'](withTelemetry,_0x29e18f[_0x434d48(0x1ac)],_0xfe4b2e=>updateEnv(_0x40001e[_0x434d48(0x24e)],_0xfe4b2e));})['demandCommand'](0x1,_0x29e18f[_0x6946fd(0x22e)]);})[_0x54b95a(0x25f)](_0x54b95a(0x16a),![],_0x3901a4=>{const _0x2c7171=_0x54b95a,_0x543e26={'WWwpn':_0x2c7171(0x251),'ZYrgA':'description','dQcqJ':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','LQtIC':_0x2c7171(0x21a),'LRzWJ':function(_0x3b437b,_0x1b7fb1,_0x35feaa){return _0x3b437b(_0x1b7fb1,_0x35feaa);},'tUdQl':function(_0x5a8545,_0x7441c2,_0x389a04,_0x1ead5f){return _0x5a8545(_0x7441c2,_0x389a04,_0x1ead5f);},'XOTTH':_0x2c7171(0x23f),'LQPcj':_0x2c7171(0x1bd),'kUdIj':'feature\x20create','bjwxc':'current-branch','ZgsOz':'boolean','CVKNW':_0x2c7171(0x155),'eUrDe':'number','zYApd':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','mwKEd':'offset','lNlMs':_0x2c7171(0x137),'fRJgL':function(_0x364b29,_0x286027,_0x51aaa9){return _0x364b29(_0x286027,_0x51aaa9);},'KtWEh':'ranger\x20feature\x20list','SvsRw':'ranger\x20list','zdVfQ':function(_0x464a8a,_0x2d0b95,_0x4d6aae){return _0x464a8a(_0x2d0b95,_0x4d6aae);},'oAgjE':'Feature\x20review\x20ID','vbzJi':_0x2c7171(0x1e7),'gWWaX':'feature\x20show','joxjZ':function(_0x1e8887,_0x2303c7,_0x29510a){return _0x1e8887(_0x2303c7,_0x29510a);},'MYnRB':function(_0x286d59,_0x3f604f,_0x1c5534){return _0x286d59(_0x3f604f,_0x1c5534);},'DnTnb':'string','aGCBl':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','vCPsY':_0x2c7171(0x205),'jpmYE':'ranger\x20feature\x20get-feedback','diwdX':_0x2c7171(0x219),'qGvCj':'feature\x20get-feedback','lVLtI':function(_0x555cfb,_0x2c4d19,_0x1fb0df){return _0x555cfb(_0x2c4d19,_0x1fb0df);},'TnrBr':_0x2c7171(0x143),'nCRIE':'ranger\x20delete','AhlXV':function(_0x50cd83,_0x3e5bf0,_0x3aa1ab){return _0x50cd83(_0x3e5bf0,_0x3aa1ab);},'TTWZE':_0x2c7171(0x206),'uVfJO':function(_0x2e2502,_0xd695ec,_0x3f2b44){return _0x2e2502(_0xd695ec,_0x3f2b44);},'gmtcG':_0x2c7171(0x132),'ykZVn':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand'};return _0x3901a4['command']('create\x20<name>',![],_0x1a86b6=>{const _0x21f748=_0x2c7171;return _0x1a86b6[_0x21f748(0x1cf)](_0x543e26['WWwpn'],{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x543e26['ZYrgA'],{'type':'string','alias':'d','description':_0x21f748(0x14e)})['option'](_0x21f748(0x172),{'type':'array','alias':'c','description':_0x543e26['dQcqJ']})['option'](_0x21f748(0x214),{'type':_0x543e26[_0x21f748(0x259)],'hidden':!![]});},async _0x231e55=>{const _0x56ffb4=_0x2c7171;_0x543e26[_0x56ffb4(0x22b)](warnRenamed,_0x56ffb4(0x28b),_0x56ffb4(0x23f)),_0x543e26['tUdQl'](warnFlagRenamed,_0x543e26['XOTTH'],_0x56ffb4(0x26c),_0x543e26['LQPcj']);const _0x1069df=_0x231e55['scenario']||_0x231e55['checklist'];await withTelemetry(_0x543e26['kUdIj'],()=>featureCreate(_0x231e55[_0x56ffb4(0x251)],{'description':_0x231e55['description'],'scenarios':_0x1069df}));})[_0x2c7171(0x25f)]('list',![],_0x5cfa56=>{const _0x2d4ea3=_0x2c7171;return _0x5cfa56[_0x2d4ea3(0x135)](_0x543e26[_0x2d4ea3(0x24f)],{'type':_0x543e26[_0x2d4ea3(0x1fb)],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option'](_0x543e26[_0x2d4ea3(0x1c1)],{'type':_0x543e26['eUrDe'],'alias':'l','description':_0x543e26['zYApd'],'default':0xa})['option'](_0x543e26[_0x2d4ea3(0x15a)],{'type':_0x543e26['eUrDe'],'alias':'o','description':_0x543e26[_0x2d4ea3(0x270)],'default':0x0})['option'](_0x2d4ea3(0x1b2),{'type':_0x543e26['ZgsOz'],'alias':'d','description':_0x2d4ea3(0x175),'default':![]});},async _0x3cbb7d=>{const _0x38323d=_0x2c7171;_0x543e26['fRJgL'](warnRenamed,_0x543e26['KtWEh'],_0x543e26['SvsRw']),await _0x543e26[_0x38323d(0x1dc)](withTelemetry,_0x38323d(0x281),()=>featureList({'currentBranch':_0x3cbb7d[_0x38323d(0x249)],'limit':_0x3cbb7d[_0x38323d(0x155)],'offset':_0x3cbb7d[_0x38323d(0x1e4)],'includeDeleted':_0x3cbb7d[_0x38323d(0x1b2)]}));})[_0x2c7171(0x25f)]('show\x20[id]',![],_0x210d80=>{const _0x253499=_0x2c7171;return _0x210d80[_0x253499(0x1cf)]('id',{'type':'string','description':_0x543e26[_0x253499(0x26a)]});},async _0x4c0456=>{const _0x1c53a6=_0x2c7171;_0x543e26[_0x1c53a6(0x189)](warnRenamed,_0x543e26[_0x1c53a6(0x222)],'ranger\x20show'),await withTelemetry(_0x543e26['gWWaX'],()=>featureShow(_0x4c0456['id']));})[_0x2c7171(0x25f)]('resume\x20[id]',![],_0x417b67=>{const _0x403fb2=_0x2c7171;return _0x417b67['positional']('id',{'type':_0x403fb2(0x1f3),'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x201240=>{const _0x50a133=_0x2c7171;_0x543e26['joxjZ'](warnRenamed,'ranger\x20feature\x20resume',_0x50a133(0x149)),await _0x543e26['MYnRB'](withTelemetry,'feature\x20resume',()=>featureResume(_0x201240['id']));})[_0x2c7171(0x25f)](_0x543e26[_0x2c7171(0x278)],![],_0x2096bf=>{const _0x3a712=_0x2c7171;return _0x2096bf[_0x3a712(0x1cf)](_0x543e26['ZYrgA'],{'type':_0x543e26[_0x3a712(0x1e8)],'description':'Scenario\x20description','demandOption':!![]})[_0x3a712(0x135)]('id',{'type':_0x543e26['DnTnb'],'description':_0x543e26[_0x3a712(0x208)]});},async _0x355cd3=>{const _0x279ca4=_0x2c7171;warnRenamed(_0x279ca4(0x283),_0x543e26['vCPsY']),await _0x543e26['MYnRB'](withTelemetry,'feature\x20add-checklist-item',()=>featureAddScenario(_0x355cd3['description'],_0x355cd3['id']));})[_0x2c7171(0x25f)]('get-feedback\x20[id]',![],_0x1358d2=>{const _0x4bc747=_0x2c7171;return _0x1358d2[_0x4bc747(0x1cf)]('id',{'type':_0x543e26['DnTnb'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x48ca40=>{const _0x4978c6=_0x2c7171;_0x543e26['LRzWJ'](warnRenamed,_0x543e26[_0x4978c6(0x1d4)],_0x543e26[_0x4978c6(0x23c)]),await withTelemetry(_0x543e26['qGvCj'],()=>featureGetReview(_0x48ca40['id']));})[_0x2c7171(0x25f)]('delete\x20[id]',![],_0x32bd47=>{const _0x57f880=_0x2c7171;return _0x32bd47['positional']('id',{'type':_0x543e26[_0x57f880(0x1e8)],'description':_0x57f880(0x14c)});},async _0x29bc30=>{const _0x3b44a8=_0x2c7171;_0x543e26[_0x3b44a8(0x12e)](warnRenamed,_0x543e26[_0x3b44a8(0x1a0)],_0x543e26['nCRIE']),await _0x543e26['AhlXV'](withTelemetry,'feature\x20delete',()=>featureDelete(_0x29bc30['id']));})[_0x2c7171(0x25f)]('restore\x20<id>',![],_0x59efd6=>{return _0x59efd6['positional']('id',{'type':_0x543e26['DnTnb'],'description':_0x543e26['TTWZE'],'demandOption':!![]});},async _0x4841dd=>{const _0x33ae7d=_0x2c7171;warnRenamed('ranger\x20feature\x20restore','ranger\x20restore'),await _0x543e26[_0x33ae7d(0x157)](withTelemetry,_0x33ae7d(0x284),()=>featureRestore(_0x4841dd['id']));})['demandCommand'](0x1,_0x543e26[_0x2c7171(0x1af)]);})['command'](_0x54b95a(0x188),![],_0x530b53=>{const _0x285e10=_0x54b95a,_0x1a6fc2={'YEsEc':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','FAHuV':function(_0xf9e558,_0x5619ad,_0xcd14d6){return _0xf9e558(_0x5619ad,_0xcd14d6);},'uaVjc':'hook:enable','zKtCd':'hook:disable','QoIEi':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','rEoCw':_0x285e10(0x251),'ClYVP':_0x285e10(0x1f3),'IEHlW':_0x285e10(0x1c9)};return _0x530b53['command'](_0x285e10(0x1ea),_0x285e10(0x27e),_0x261df7=>{return _0x261df7['option']('session-id',{'type':'string','description':_0x1a6fc2['YEsEc']});},async _0x41483e=>{const _0x3b86db=_0x285e10;await _0x1a6fc2[_0x3b86db(0x239)](withTelemetry,_0x1a6fc2['uaVjc'],()=>hook('enable',_0x41483e[_0x3b86db(0x27d)]));})[_0x285e10(0x25f)](_0x285e10(0x266),_0x1a6fc2[_0x285e10(0x273)],_0x35fdd3=>{const _0x42aae9=_0x285e10;return _0x35fdd3['option'](_0x42aae9(0x27d),{'type':'string','description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x57aae2=>{const _0x578e85=_0x285e10;await _0x1a6fc2[_0x578e85(0x239)](withTelemetry,_0x1a6fc2[_0x578e85(0x1df)],()=>hook(_0x578e85(0x266),_0x57aae2[_0x578e85(0x27d)]));})['option'](_0x1a6fc2[_0x285e10(0x22f)],{'type':_0x1a6fc2[_0x285e10(0x13f)],'description':_0x1a6fc2['IEHlW']})['option'](_0x285e10(0x27d),{'type':_0x1a6fc2['ClYVP'],'description':_0x1a6fc2[_0x285e10(0x20e)]});},async _0x46afbe=>{const _0x433d64=_0x54b95a,_0x3a4b7e={'dYxvI':'session-id'};_0x46afbe[_0x433d64(0x251)]&&await hook(_0x46afbe[_0x433d64(0x251)],_0x46afbe[_0x3a4b7e[_0x433d64(0x261)]]);})[_0x54b95a(0x204)](0x1,'You\x20must\x20specify\x20a\x20command')['strictCommands']()['fail'](async(_0x57f85a,_0xb94dc9,_0x3c7c5e)=>{const _0x3a9d82=_0x54b95a,_0x431d92={'tAcaH':function(_0x37b868,_0x224909,_0x2a9291){return _0x37b868(_0x224909,_0x2a9291);},'iJByH':'Unknown\x20command','VWNcT':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','qjKEF':function(_0x1a79de,_0x53fb93){return _0x1a79de(_0x53fb93);}},_0x19b114=sanitizeArgs(process['argv'][_0x3a9d82(0x1c5)](0x2)),_0x530750=_0x431d92[_0x3a9d82(0x18d)](getErrorType,_0x57f85a,_0xb94dc9);if(_0x57f85a&&_0x57f85a['includes'](_0x431d92['iJByH'])){const _0x5642d2=process['argv'][0x2];console['error']('\x0aUnknown\x20command:\x20'+_0x5642d2),console[_0x3a9d82(0x228)](_0x431d92[_0x3a9d82(0x232)]);}else{if(_0x57f85a)console[_0x3a9d82(0x228)]('\x0a'+_0x57f85a+'\x0a');else _0xb94dc9&&console[_0x3a9d82(0x228)](_0x3a9d82(0x1e1)+_0xb94dc9['message']+'\x0a');}await _0x431d92['qjKEF'](logDesirePath,{'rawCommand':_0x19b114,'errorMessage':_0x57f85a||_0xb94dc9?.['message'],'errorType':_0x530750});const _0x4cee68=getCurrentCollector();_0x4cee68&&await _0x4cee68['trackCommandError'](_0xb94dc9||new Error(_0x57f85a||_0x3a9d82(0x13e))),process[_0x3a9d82(0x1c0)](0x1);})[_0x54b95a(0x15e)]('Documentation:\x0a'+'\x20\x20https://docs.ranger.net\x0a'+_0x54b95a(0x248))['help']()[_0x54b95a(0x12d)]('help','h')[_0x54b95a(0x160)]();
|
package/build/commands/addEnv.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x4ff2e7,_0x27e97f){const _0x287ec9=_0x4ff2,_0x453cfc=_0x4ff2e7();while(!![]){try{const _0x215a17=-parseInt(_0x287ec9(0x78))/0x1*(-parseInt(_0x287ec9(0xd5))/0x2)+-parseInt(_0x287ec9(0x73))/0x3+-parseInt(_0x287ec9(0xda))/0x4+-parseInt(_0x287ec9(0xa1))/0x5*(parseInt(_0x287ec9(0xab))/0x6)+-parseInt(_0x287ec9(0xa3))/0x7*(parseInt(_0x287ec9(0x77))/0x8)+-parseInt(_0x287ec9(0xc3))/0x9*(parseInt(_0x287ec9(0xa9))/0xa)+parseInt(_0x287ec9(0x89))/0xb*(parseInt(_0x287ec9(0xa7))/0xc);if(_0x215a17===_0x27e97f)break;else _0x453cfc['push'](_0x453cfc['shift']());}catch(_0xab5435){_0x453cfc['push'](_0x453cfc['shift']());}}}(_0x43cd,0x2b3cc));import{mkdir,writeFile,readFile,unlink,rm,mkdtemp,rename}from'fs/promises';import{join}from'path';import _0x593692 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';function _0x4ff2(_0x44380c,_0x124eae){_0x44380c=_0x44380c-0x73;const _0x43cda5=_0x43cd();let _0x4ff2b9=_0x43cda5[_0x44380c];return _0x4ff2b9;}import{writeActiveProfileName}from'./utils/activeProfile.js';import{addProfileSetupBanner}from'./utils/profileSetupBanner.js';async function checkUrlReachability(_0x57e08f){const _0x519876=_0x4ff2,_0x1afd02={'RnpYR':function(_0x29b351,_0x551ade,_0x428a48){return _0x29b351(_0x551ade,_0x428a48);},'OyZyZ':'HEAD','iqvEA':function(_0x3df3e9,_0x5f5e5c){return _0x3df3e9<_0x5f5e5c;},'ntcxg':function(_0x379427,_0x24bff1){return _0x379427===_0x24bff1;},'gJyjv':'TypeError','vNLPB':_0x519876(0xa2)};try{const _0x5ec10c=new AbortController(),_0x34e457=_0x1afd02['RnpYR'](setTimeout,()=>_0x5ec10c[_0x519876(0x7e)](),0x1388),_0x279c34=await _0x1afd02['RnpYR'](fetch,_0x57e08f,{'method':_0x1afd02['OyZyZ'],'signal':_0x5ec10c['signal'],'redirect':'manual'});clearTimeout(_0x34e457);if(_0x1afd02[_0x519876(0xc5)](_0x279c34['status'],0x190))return{'ok':!![]};return{'ok':![],'error':_0x519876(0x94)+_0x279c34['status']};}catch(_0x182e4e){const _0x5187e2=_0x182e4e,_0x3156f3=_0x5187e2['message']||String(_0x182e4e),_0x158c6d=_0x3156f3[_0x519876(0xc2)](_0x519876(0x9e))||_0x1afd02['ntcxg'](_0x5187e2['name'],_0x1afd02['gJyjv'])||_0x3156f3[_0x519876(0xc2)](_0x1afd02[_0x519876(0x79)]);return{'ok':![],'error':_0x3156f3,'isProtocolError':_0x158c6d};}}function _0x43cd(){const _0x526543=['isTTY','vhhzS','--disable-features=WebBluetooth','safeMode','HTTP\x20','url_setup','isElectron','cdpEndpoint','shouldReplace','bPFzS','allowInsecureLocalhost','\x0a๐\x20CDP\x20Profile\x20Setup\x0a','isProtocolError','url','Invalid\x20URL','newContext','Warning:\x20Profile\x20created,\x20but\x20failed\x20to\x20mark\x20it\x20as\x20active.','155cGOpIl','fetch\x20failed','20069mizDqc','ZUrhe','FWaPc','settings.json','60WaHuHH','szEnD','2840ashYDX','UOQqV','4854dBUQoY','wUIBd','launch','BUHLD','path','Aborted.','\x20\x20Make\x20sure\x20your\x20Electron\x20app\x20(or\x20browser)\x20is\x20running\x20with\x20remote\x20debugging\x20enabled.\x0a','Could\x20not\x20reach\x20','goto','.backup-','SgGkz','Enter\x20a\x20new\x20URL\x20(or\x20press\x20enter\x20to\x20keep\x20current):','error','\x0aThe\x20browser\x20closed\x20unexpectedly\x20before\x20authentication\x20could\x20be\x20saved.','mtNNr','Profile\x20\x22','\x20\x20Configuring\x20Ranger\x20to\x20connect\x20to:\x20','nxmij','Saving\x20authentication\x20state...','Sopgu','http://localhost:3000','WrAoo','location','includes','8352EqpuNw','lsYnk','iqvEA','โ \x20Could\x20not\x20reach\x20','close','auth.json','\x20\x20Make\x20sure\x20your\x20app\x20is\x20running\x20locally\x20before\x20continuing.','Tyksp','list','log','\x20\x20ranger\x20profile\x20add\x20','now','prompt','BxoIk','trackPhaseStart','\x0aโ ๏ธ\x20\x20Profile\x20\x22','vphmG','What\x20would\x20you\x20like\x20to\x20do?','75286sWwryc','length','โ\x20Created\x20settings:\x20','Browser\x20closed\x20before\x20authentication\x20was\x20saved.','catch','1024556sUmSMd','UfRCh','uWtPG','\x20\x20Did\x20you\x20mean\x20','164103nPiEgn','Use\x20','TaTQj','trackPhaseEnd','368YPwTFD','6kBWJoz','vNLPB','--cdp-endpoint\x20must\x20not\x20be\x20empty.\x20Provide\x20the\x20CDP\x20URL,\x20e.g.\x20--cdp-endpoint\x20http://localhost:9222','KHDmJ','baseUrl','\x0a\x20\x20Profile\x20\x22','abort','You\x20can\x20try\x20again\x20with\x20one\x20of:','--url\x20and\x20--cdp-endpoint\x20are\x20mutually\x20exclusive.\x20Use\x20--url\x20for\x20web\x20apps\x20or\x20--cdp-endpoint\x20for\x20Electron/CDP\x20apps,\x20not\x20both.','.enc','tiGWh','legacy','Enter\x20a\x20different\x20URL','lfQBq','skipAuth','bYNpo','Missing\x20API\x20token;\x20aborting\x20CI\x20profile\x20creation.','1501709oMODGe','oBvXR','\x20\x20\x20Creating\x20it\x20in\x20','cPFbs','overwrite','\x0a\x20\x20Could\x20not\x20reach\x20','This\x20can\x20happen\x20due\x20to\x20a\x20browser\x20compatibility\x20issue\x20on\x20some\x20systems.\x0a'];_0x43cd=function(){return _0x526543;};return _0x43cd();}export async function addEnv(_0x50d14e,_0x1de1c7={},_0x19fa49){const _0x315e4d=_0x4ff2,_0x24d9bd={'szAVm':_0x315e4d(0xc7),'tiGWh':function(_0xfa75ac,_0x24d8aa,_0x3ba41a,_0x4d2221){return _0xfa75ac(_0x24d8aa,_0x3ba41a,_0x4d2221);},'cPFbs':function(_0x54d091,_0x507ba0,_0x2b8300){return _0x54d091(_0x507ba0,_0x2b8300);},'UfRCh':function(_0x52bedf){return _0x52bedf();},'uWtPG':function(_0x42555e,_0x375246){return _0x42555e!==_0x375246;},'lfQBq':_0x315e4d(0x7a),'ZUrhe':function(_0x5647d6,_0x2657f2){return _0x5647d6(_0x2657f2);},'bYNpo':'confirm','yilON':_0x315e4d(0x8d),'nxmij':_0x315e4d(0xb0),'wUIBd':function(_0x281288,_0x31e094){return _0x281288===_0x31e094;},'vhhzS':'root\x20(.ranger/)','wxQAP':_0x315e4d(0x98),'FWaPc':_0x315e4d(0xb1),'Tyksp':'\x0a๐\x20Profile\x20Setup\x0a','bPFzS':_0x315e4d(0xc9),'KHDmJ':function(_0x4d45ba,_0x363405){return _0x4d45ba||_0x363405;},'vphmG':_0x315e4d(0xd4),'BUHLD':'continue','UOQqV':function(_0x3c22e1,_0x2154f8){return _0x3c22e1(_0x2154f8);},'Sopgu':function(_0x402ff2,_0x43fb69,_0x6e2f15){return _0x402ff2(_0x43fb69,_0x6e2f15);},'fSkTJ':_0x315e4d(0xc8),'IYnyi':'browser_auth','mtNNr':'\x20\x20\x20When\x20done\x20logging\x20in,\x20close\x20the\x20browser\x20to\x20save\x20the\x20session.','BxoIk':_0x315e4d(0x92),'uFMaL':function(_0x28b8ba,_0x2e2299){return _0x28b8ba(_0x2e2299);},'SEixs':_0x315e4d(0xb8),'ifmxU':_0x315e4d(0x7f),'TaTQj':function(_0x2eb6d7,_0x3ea198){return _0x2eb6d7(_0x3ea198);},'oBvXR':function(_0x3f57dc,_0x51b250){return _0x3f57dc+_0x51b250;},'ntska':function(_0x406e96,_0x4533b3){return _0x406e96(_0x4533b3);},'WrAoo':'\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','szEnD':'\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','lsYnk':_0x315e4d(0xa6),'riyAS':function(_0x3a8a93,_0x320c0d,_0x5ca6e7){return _0x3a8a93(_0x320c0d,_0x5ca6e7);},'SgGkz':function(_0x3b830b,_0x35dfbd){return _0x3b830b(_0x35dfbd);}},_0x503415=_0x1de1c7['ci']??![],_0x319dbf=_0x503415?'ci':'local',_0x39d0ac=_0x24d9bd[_0x315e4d(0x82)](join,getRangerDir(),_0x319dbf,_0x50d14e),_0x830327=_0x24d9bd[_0x315e4d(0x8c)](join,_0x24d9bd['UfRCh'](getRangerDir),_0x319dbf);if(_0x24d9bd[_0x315e4d(0xdc)](_0x1de1c7[_0x315e4d(0x97)],undefined)&&_0x1de1c7['cdpEndpoint']['trim']()==='')throw new Error(_0x24d9bd[_0x315e4d(0x85)]);if(_0x1de1c7['cdpEndpoint']&&_0x1de1c7['url'])throw new Error(_0x315e4d(0x80));if(_0x1de1c7['cdpEndpoint']&&_0x1de1c7['ci'])throw new Error('--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.');const _0x16ba0b=_0x24d9bd[_0x315e4d(0xa4)](Boolean,_0x1de1c7['cdpEndpoint']),_0x1d42a5=!_0x1de1c7[_0x315e4d(0x86)]&&!_0x16ba0b,_0x32cd80=process['stdin'][_0x315e4d(0x90)]&&process['stdout'][_0x315e4d(0x90)];if(!_0x32cd80&&!_0x1de1c7[_0x315e4d(0x9d)]&&!_0x16ba0b)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 _0x18f4a6=findExistingEnv(_0x50d14e);let _0x857147=null;if(_0x18f4a6){if(!_0x32cd80)_0x857147=_0x18f4a6;else{if(_0x18f4a6[_0x315e4d(0xc1)]===_0x319dbf){const {overwrite:_0x5c4f08}=await _0x593692[_0x315e4d(0xcf)]([{'type':_0x24d9bd[_0x315e4d(0x87)],'name':_0x24d9bd['yilON'],'message':_0x315e4d(0xba)+_0x50d14e+'\x22\x20already\x20exists.\x20Overwrite?','default':![]}]);if(!_0x5c4f08){console['log'](_0x24d9bd[_0x315e4d(0xbc)]);return;}_0x857147=_0x18f4a6;}else{const _0x428c66=_0x24d9bd[_0x315e4d(0xac)](_0x18f4a6[_0x315e4d(0xc1)],_0x315e4d(0x83))?_0x24d9bd[_0x315e4d(0x91)]:_0x18f4a6[_0x315e4d(0xc1)];console[_0x315e4d(0xb7)](_0x315e4d(0xd2)+_0x50d14e+'\x22\x20already\x20exists\x20in\x20'+_0x428c66+':\x20'+_0x18f4a6['path']),console[_0x315e4d(0xb7)](_0x315e4d(0x8b)+_0x319dbf+'\x20would\x20shadow\x20the\x20existing\x20profile.');const {shouldReplace:_0x23ac2e}=await _0x593692['prompt']([{'type':'confirm','name':_0x24d9bd['wxQAP'],'message':'Delete\x20existing\x20and\x20create\x20new\x20in\x20'+_0x319dbf+'?','default':![]}]);if(!_0x23ac2e){console['log']('Aborted.');return;}_0x857147=_0x18f4a6;}}}_0x19fa49?.['trackPhaseStart']('url_setup');let _0x10360c='';if(_0x16ba0b)console[_0x315e4d(0xcc)](_0x315e4d(0x9b)),console[_0x315e4d(0xcc)](_0x315e4d(0xbb)+_0x1de1c7['cdpEndpoint']),console['log'](_0x24d9bd[_0x315e4d(0xa5)]);else{if(_0x1de1c7[_0x315e4d(0x9d)]){_0x10360c=_0x1de1c7[_0x315e4d(0x9d)];const _0x1be253=await checkUrlReachability(_0x10360c);if(!_0x1be253['ok']&&!_0x1de1c7['force'])throw new Error(_0x315e4d(0xb2)+_0x10360c+':\x20'+_0x1be253[_0x315e4d(0xb7)]+'\x0aMake\x20sure\x20your\x20app\x20is\x20running,\x20then\x20try\x20again.\x20To\x20skip\x20this\x20check,\x20pass\x20--force.');!_0x1be253['ok']&&_0x1de1c7['force']&&console['log'](_0x315e4d(0xc6)+_0x10360c+':\x20'+_0x1be253['error']+'\x20(continuing\x20with\x20--force)');}else{console[_0x315e4d(0xcc)](_0x24d9bd[_0x315e4d(0xca)]),console['log'](_0x24d9bd[_0x315e4d(0x99)]),console['log']('\x20\x20Ranger\x20will\x20open\x20it\x20in\x20a\x20browser\x20so\x20you\x20can\x20log\x20in\x20and\x20save\x20your\x20session.\x0a');let _0x3e67a0=![];while(!![]){const _0x14a748=await _0x593692[_0x315e4d(0xcf)]([{'type':'input','name':_0x315e4d(0x7c),'message':_0x3e67a0?_0x315e4d(0xb6):'What\x20is\x20the\x20URL\x20of\x20your\x20running\x20app?','default':_0x24d9bd[_0x315e4d(0x7b)](_0x10360c,_0x315e4d(0xbf))}]);_0x10360c=_0x14a748['baseUrl'];const _0x574a38=await checkUrlReachability(_0x10360c);if(_0x574a38['ok'])break;const _0x5ed81b=/^[a-zA-Z][\w+.-]*:\/\//['test'](_0x10360c),_0x3dd748=_0x574a38[_0x315e4d(0x9c)]&&!_0x5ed81b,_0x2b61c0=_0x3dd748?'http://'+_0x10360c:null;_0x3e67a0=!![],console[_0x315e4d(0xcc)](_0x315e4d(0x8e)+_0x10360c+':\x20'+_0x574a38['error']);_0x2b61c0&&console[_0x315e4d(0xcc)](_0x315e4d(0xdd)+_0x2b61c0+'?');const {action:_0x249c7f}=await _0x593692['prompt']([{'type':_0x315e4d(0xcb),'name':'action','message':_0x24d9bd[_0x315e4d(0xd3)],'choices':[..._0x2b61c0?[{'name':_0x315e4d(0x74)+_0x2b61c0,'value':'use_suggestion'}]:[],{'name':_0x315e4d(0x84),'value':'retry'},{'name':'Continue\x20anyway','value':_0x24d9bd[_0x315e4d(0xae)]}]}]);if(_0x249c7f==='use_suggestion'&&_0x2b61c0){_0x10360c=_0x2b61c0;const _0x545cad=await checkUrlReachability(_0x10360c);if(_0x545cad['ok'])break;console[_0x315e4d(0xcc)]('\x0a\x20\x20Still\x20could\x20not\x20reach\x20'+_0x10360c+':\x20'+_0x545cad['error']);}else{if(_0x249c7f==='continue')break;}}}}_0x19fa49?.[_0x315e4d(0x76)](_0x315e4d(0x95)),await mkdir(_0x830327,{'recursive':!![]});const _0x2042c9=await _0x24d9bd[_0x315e4d(0xaa)](mkdtemp,_0x24d9bd['Sopgu'](join,_0x830327,'.tmp-'+_0x50d14e+'-')),_0x453aa3=_0x24d9bd[_0x315e4d(0xbe)](join,_0x2042c9,_0x24d9bd['fSkTJ']);try{if(_0x1d42a5){_0x19fa49?.[_0x315e4d(0xd1)](_0x24d9bd['IYnyi']),console[_0x315e4d(0xcc)]('\x0a๐\x20Authentication\x20Setup'),console[_0x315e4d(0xcc)]('\x20\x20\x20A\x20browser\x20will\x20open.\x20Please\x20log\x20in\x20to\x20the\x20profile\x20you\x20want\x20to\x20test\x20so\x20Ranger\x20can\x20access\x20it.'),console[_0x315e4d(0xcc)](_0x24d9bd[_0x315e4d(0xb9)]);!_0x32cd80?(console['log']('\x0a\x20\x20\x20โ \x20This\x20step\x20requires\x20human\x20interaction\x20in\x20a\x20browser.'),console[_0x315e4d(0xcc)]('\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(_0xe190c1=>setTimeout(_0xe190c1,0xbb8));const _0x176edf=[];_0x1de1c7['safeMode']&&_0x176edf['push'](_0x24d9bd[_0x315e4d(0xd0)]);const _0x419855=await chromium[_0x315e4d(0xad)]({'headless':![],..._0x176edf[_0x315e4d(0xd6)]>0x0?{'args':_0x176edf}:{}});try{const _0x2d7d58=await _0x419855[_0x315e4d(0x9f)]();await _0x24d9bd['uFMaL'](addProfileSetupBanner,_0x2d7d58);const _0x4600b8=await _0x2d7d58['newPage']();await _0x4600b8[_0x315e4d(0xb3)](_0x10360c||'about:blank');let _0x5d526f=![];await new Promise(_0x483e65=>{_0x4600b8['on'](_0x24d9bd['szAVm'],async()=>{const _0x46ca42=_0x4ff2;try{console['log'](_0x46ca42(0xbd)),await _0x2d7d58['storageState']({'path':_0x453aa3}),_0x5d526f=!![];}catch{}_0x483e65();});});if(!_0x5d526f){console[_0x315e4d(0xcc)](_0x24d9bd['SEixs']);!_0x1de1c7['safeMode']&&(console['log'](_0x315e4d(0x8f)),console[_0x315e4d(0xcc)](_0x24d9bd['ifmxU']),console['log']('\x20\x20ranger\x20profile\x20add\x20'+_0x50d14e+'\x20--safe-mode\x20\x20\x20\x20(disables\x20browser\x20features\x20that\x20can\x20cause\x20crashes)'),console[_0x315e4d(0xcc)](_0x315e4d(0xcd)+_0x50d14e+'\x20--skip-auth\x20\x20\x20\x20(skip\x20browser\x20auth\x20entirely)\x0a'));throw new Error(_0x315e4d(0xd8));}}finally{await _0x419855[_0x315e4d(0xc7)]()['catch'](()=>{});}if(_0x503415){const _0x22f3b9=await readFile(_0x453aa3,'utf-8'),_0x368bf1=await _0x24d9bd[_0x315e4d(0xdb)](getToken);if(!_0x368bf1){console[_0x315e4d(0xb7)]('\x20\x20Could\x20not\x20encrypt:\x20No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]'),await _0x24d9bd[_0x315e4d(0x75)](unlink,_0x453aa3)[_0x315e4d(0xd9)](()=>{});throw new Error(_0x315e4d(0x88));}else{const _0x45ebe0=encrypt(_0x22f3b9,_0x368bf1);await writeFile(_0x24d9bd[_0x315e4d(0x8a)](_0x453aa3,'.enc'),_0x45ebe0),await _0x24d9bd['ntska'](unlink,_0x453aa3),console['log']('โ\x20Encrypted\x20auth\x20saved\x20to:\x20'+_0x453aa3+_0x315e4d(0x81)),console[_0x315e4d(0xcc)](_0x24d9bd[_0x315e4d(0xc0)]),console[_0x315e4d(0xcc)](_0x24d9bd[_0x315e4d(0xa8)]);}}else console[_0x315e4d(0xcc)]('โ\x20Auth\x20state\x20saved\x20to:\x20'+_0x453aa3);_0x19fa49?.['trackPhaseEnd'](_0x24d9bd['IYnyi']);}_0x19fa49?.['trackPhaseStart']('config_write');const _0x6d36fe={};_0x10360c&&(_0x6d36fe[_0x315e4d(0x7c)]=_0x10360c);_0x1de1c7[_0x315e4d(0x97)]&&(_0x6d36fe['cdpEndpoint']=_0x1de1c7['cdpEndpoint'],_0x6d36fe[_0x315e4d(0x96)]=!![]);_0x1de1c7[_0x315e4d(0x9a)]&&(_0x6d36fe[_0x315e4d(0x9a)]=!![]);_0x1de1c7[_0x315e4d(0x93)]&&(_0x6d36fe[_0x315e4d(0x93)]=!![]);await writeFile(_0x24d9bd['Sopgu'](join,_0x2042c9,_0x24d9bd[_0x315e4d(0xc4)]),JSON['stringify'](_0x6d36fe,null,0x2)),console['log'](_0x315e4d(0xd7)+join(_0x39d0ac,'settings.json'));if(_0x857147?.[_0x315e4d(0xc1)]===_0x319dbf){const _0xa2d8c=_0x857147[_0x315e4d(0xaf)]+_0x315e4d(0xb4)+Date[_0x315e4d(0xce)]();await _0x24d9bd['cPFbs'](rename,_0x857147[_0x315e4d(0xaf)],_0xa2d8c);try{await rename(_0x2042c9,_0x39d0ac);}catch(_0x57eb1a){await _0x24d9bd[_0x315e4d(0x8c)](rename,_0xa2d8c,_0x857147['path']);throw _0x57eb1a;}try{await _0x24d9bd[_0x315e4d(0xbe)](rm,_0xa2d8c,{'recursive':!![]});}catch{console[_0x315e4d(0xcc)]('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20backup\x20at\x20'+_0xa2d8c);}}else{await _0x24d9bd['riyAS'](rename,_0x2042c9,_0x39d0ac);if(_0x857147)try{await _0x24d9bd['Sopgu'](rm,_0x857147[_0x315e4d(0xaf)],{'recursive':!![]}),console[_0x315e4d(0xcc)]('Removed\x20existing\x20profile\x20at\x20'+_0x857147['path']);}catch{console[_0x315e4d(0xcc)]('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20at\x20'+_0x857147[_0x315e4d(0xaf)]);}}try{await _0x24d9bd[_0x315e4d(0xb5)](writeActiveProfileName,_0x50d14e),console['log']('\x20\x20Set\x20active\x20profile:\x20'+_0x50d14e);}catch{console['log'](_0x315e4d(0xa0));}_0x19fa49?.['trackPhaseEnd']('config_write'),console[_0x315e4d(0xcc)](_0x315e4d(0x7d)+_0x50d14e+'\x22\x20configured');}catch(_0x41876a){await rm(_0x2042c9,{'recursive':!![],'force':!![]});throw _0x41876a;}}
|
|
1
|
+
(function(_0x32d98d,_0xbfc57d){const _0x1f9089=_0x18e2,_0x2cf456=_0x32d98d();while(!![]){try{const _0x17df3a=parseInt(_0x1f9089(0xc8))/0x1+-parseInt(_0x1f9089(0xb2))/0x2*(-parseInt(_0x1f9089(0x84))/0x3)+parseInt(_0x1f9089(0xdb))/0x4+-parseInt(_0x1f9089(0x8b))/0x5*(-parseInt(_0x1f9089(0xb5))/0x6)+parseInt(_0x1f9089(0x99))/0x7*(-parseInt(_0x1f9089(0xd5))/0x8)+parseInt(_0x1f9089(0x8a))/0x9+parseInt(_0x1f9089(0xa0))/0xa*(-parseInt(_0x1f9089(0xb7))/0xb);if(_0x17df3a===_0xbfc57d)break;else _0x2cf456['push'](_0x2cf456['shift']());}catch(_0x48abe4){_0x2cf456['push'](_0x2cf456['shift']());}}}(_0x3406,0x2a605));function _0x3406(){const _0x7d054e=['status','\x20\x20ranger\x20profile\x20add\x20','stringify','602XDZBkQ','--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.','goto','12CqzDSk','COIFy','847MpqKwc','legacy','\x0aโ ๏ธ\x20\x20Profile\x20\x22','JEUPG','Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20at\x20','config_write','input','url','TZZJV','Delete\x20existing\x20and\x20create\x20new\x20in\x20','What\x20would\x20you\x20like\x20to\x20do?','storageState','โ \x20Could\x20not\x20reach\x20','Continue\x20anyway','safeMode','assign','error','70060nzueoT','\x20\x20Configuring\x20Ranger\x20to\x20connect\x20to:\x20','abort','newPage','push','\x22\x20already\x20exists\x20in\x20','sxYJs','allowInsecureLocalhost','use_suggestion','yfzUJ','FXadr','\x20would\x20shadow\x20the\x20existing\x20profile.','LQUib','963784irrVzA','uQmEK','setupHeader','manual','length','root\x20(.ranger/)','1193800qKbjDg','auth.json','baseUrl','lgNkn','cdpEndpoint','KkBRA','continue','YByJm','isElectron','prompt','\x0a\x20\x20Profile\x20\x22','\x0aMake\x20sure\x20your\x20app\x20is\x20running,\x20then\x20try\x20again.\x20To\x20skip\x20this\x20check,\x20pass\x20--force.','FRMAC','\x20--skip-auth\x20\x20\x20\x20(skip\x20browser\x20auth\x20entirely)\x0a','WyNWv','\x20(continuing\x20with\x20--force)','http://localhost:3000','slice','VaEMq','indexOf','about:blank','trackPhaseEnd','log','test','setupHeaders','catch','Browser\x20closed\x20before\x20authentication\x20was\x20saved.','732ZqqdYY','Invalid\x20--setup-header\x20format:\x20\x22','stdout','HEAD','Invalid\x20URL','ZNZWE','2976273TlmXCE','827240RVipzE','\x0a๐\x20Profile\x20Setup\x0a','Use\x20','local','Zkqbi','browser_auth','trim','overwrite','xZZAg','\x20\x20Could\x20not\x20encrypt:\x20No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','\x20\x20Set\x20active\x20profile:\x20','keys','list','eIuYQ','7FKJrme','Enter\x20a\x20different\x20URL','trackPhaseStart','ItudY','AoxIe','http://','url_setup','105130rDUqKa','\x20\x20Ranger\x20will\x20open\x20it\x20in\x20a\x20browser\x20so\x20you\x20can\x20log\x20in\x20and\x20save\x20your\x20session.\x0a','chEel','\x0a๐\x20CDP\x20Profile\x20Setup\x0a','FDhdl','You\x20can\x20try\x20again\x20with\x20one\x20of:','rtkRB','NkXou','ZOtWF','close','.enc','PmlLt','This\x20can\x20happen\x20due\x20to\x20a\x20browser\x20compatibility\x20issue\x20on\x20some\x20systems.\x0a','path','xNLCC'];_0x3406=function(){return _0x7d054e;};return _0x3406();}import{mkdir,writeFile,readFile,unlink,rm,mkdtemp,rename}from'fs/promises';import{join}from'path';import _0x479c16 from'inquirer';import{chromium}from'playwright';import{findExistingEnv,loadSettings}from'./utils/settings.js';import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getRangerDir}from'./utils/rangerRoot.js';function _0x18e2(_0x1552f6,_0xb52e1f){_0x1552f6=_0x1552f6-0x77;const _0x34066f=_0x3406();let _0x18e2cc=_0x34066f[_0x1552f6];return _0x18e2cc;}import{writeActiveProfileName}from'./utils/activeProfile.js';import{addProfileSetupBanner}from'./utils/profileSetupBanner.js';async function checkUrlReachability(_0x33abf9){const _0x29fd1e=_0x18e2,_0xb7b794={'bUpwO':function(_0x4dc0f8,_0x9f1a9e,_0x1ee85e){return _0x4dc0f8(_0x9f1a9e,_0x1ee85e);},'lgNkn':_0x29fd1e(0x87),'TueUe':_0x29fd1e(0xd8),'FXadr':function(_0x35d269,_0x244ca8){return _0x35d269<_0x244ca8;},'FRMAC':_0x29fd1e(0x88),'WOAIM':function(_0x5aa06d,_0xbe5bb4){return _0x5aa06d===_0xbe5bb4;}};try{const _0x36d4d6=new AbortController(),_0x1b4508=_0xb7b794['bUpwO'](setTimeout,()=>_0x36d4d6[_0x29fd1e(0xca)](),0x1388),_0x51f414=await _0xb7b794['bUpwO'](fetch,_0x33abf9,{'method':_0xb7b794[_0x29fd1e(0xde)],'signal':_0x36d4d6['signal'],'redirect':_0xb7b794['TueUe']});clearTimeout(_0x1b4508);if(_0xb7b794[_0x29fd1e(0xd2)](_0x51f414['status'],0x190))return{'ok':!![]};return{'ok':![],'error':'HTTP\x20'+_0x51f414[_0x29fd1e(0xaf)]};}catch(_0x4e6c17){const _0x18e12d=_0x4e6c17,_0x26d902=_0x18e12d['message']||String(_0x4e6c17),_0x1f4f2d=_0x26d902['includes'](_0xb7b794[_0x29fd1e(0xe7)])||_0xb7b794['WOAIM'](_0x18e12d['name'],'TypeError')||_0x26d902['includes']('fetch\x20failed');return{'ok':![],'error':_0x26d902,'isProtocolError':_0x1f4f2d};}}export async function addEnv(_0x2d7d07,_0x452cf7={},_0x16b48b){const _0x5055f0=_0x18e2,_0x1b0029={'Zkqbi':'close','xNLCC':function(_0x334628,_0x1848c9,_0x431a87,_0x1f66fd){return _0x334628(_0x1848c9,_0x431a87,_0x1f66fd);},'JEUPG':function(_0xc6ad50,_0x148a73){return _0xc6ad50===_0x148a73;},'eIuYQ':function(_0x443f9c){return _0x443f9c();},'kumMb':function(_0x2d26b4,_0x3ec3f1){return _0x2d26b4!==_0x3ec3f1;},'FDhdl':function(_0x2c904d,_0xc1294e){return _0x2c904d===_0xc1294e;},'COIFy':'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','TZZJV':'confirm','NkXou':_0x5055f0(0x92),'chEel':'shouldReplace','gzTup':'Aborted.','YByJm':_0x5055f0(0xa3),'sxYJs':function(_0x8045d1,_0x209ca3){return _0x8045d1(_0x209ca3);},'snzSw':_0x5055f0(0x8c),'tlzxZ':_0x5055f0(0xbd),'jyHsV':_0x5055f0(0x79),'CkUDN':_0x5055f0(0x97),'STUhf':'action','uQmEK':_0x5055f0(0xd0),'PmlLt':_0x5055f0(0x9a),'xZZAg':function(_0x35be09,_0x41bc32){return _0x35be09===_0x41bc32;},'rtkRB':'continue','jElNg':_0x5055f0(0x9f),'dbmUJ':function(_0x37a815,_0x2b17c7,_0x4f080e){return _0x37a815(_0x2b17c7,_0x4f080e);},'ZNZWE':'\x20\x20\x20A\x20browser\x20will\x20open.\x20Please\x20log\x20in\x20to\x20the\x20profile\x20you\x20want\x20to\x20test\x20so\x20Ranger\x20can\x20access\x20it.','yfzUJ':'\x0a\x20\x20\x20โ \x20This\x20step\x20requires\x20human\x20interaction\x20in\x20a\x20browser.','WyNWv':'\x20\x20\x20If\x20you\x20are\x20an\x20agent,\x20background\x20this\x20process\x20and\x20let\x20your\x20user\x20know\x20they\x20need\x20to\x20complete\x20browser\x20authentication.\x0a','ItudY':'--disable-features=WebBluetooth','KkBRA':_0x5055f0(0xa5),'YvpUP':'utf-8','AdMJI':_0x5055f0(0x94),'iwFml':'Missing\x20API\x20token;\x20aborting\x20CI\x20profile\x20creation.','VaEMq':function(_0x4431b5,_0x493120,_0x186488){return _0x4431b5(_0x493120,_0x186488);},'IlPTs':_0x5055f0(0xaa),'ZOtWF':'\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','CikJs':_0x5055f0(0xbc),'GpaVi':function(_0x86c32c,_0x3ac83e,_0x53345f){return _0x86c32c(_0x3ac83e,_0x53345f);},'rsjSk':function(_0x2ad2fc,_0x30f407){return _0x2ad2fc===_0x30f407;},'llbbC':function(_0x52b53a,_0x5ec75d,_0x310e50){return _0x52b53a(_0x5ec75d,_0x310e50);},'LQUib':function(_0x33add1,_0x4f0217,_0x7966c){return _0x33add1(_0x4f0217,_0x7966c);},'AoxIe':'Warning:\x20Profile\x20created,\x20but\x20failed\x20to\x20mark\x20it\x20as\x20active.'},_0x685245=_0x452cf7['ci']??![],_0x5205db=_0x685245?'ci':_0x5055f0(0x8e),_0x3add1e=_0x1b0029[_0x5055f0(0xae)](join,getRangerDir(),_0x5205db,_0x2d7d07),_0x225a81={};if(_0x452cf7['setupHeader'])for(const _0x3b442a of _0x452cf7[_0x5055f0(0xd7)]){const _0xdd9e5b=_0x3b442a[_0x5055f0(0x7c)](':');if(_0x1b0029[_0x5055f0(0xba)](_0xdd9e5b,-0x1))throw new Error(_0x5055f0(0x85)+_0x3b442a+'\x22.\x20Expected\x20\x22Name:\x20Value\x22.');const _0x1b9540=_0x3b442a[_0x5055f0(0x7a)](0x0,_0xdd9e5b)[_0x5055f0(0x91)](),_0xd054b=_0x3b442a[_0x5055f0(0x7a)](_0xdd9e5b+0x1)[_0x5055f0(0x91)]();_0x225a81[_0x1b9540]=_0xd054b;}const _0x5d9092=join(_0x1b0029[_0x5055f0(0x98)](getRangerDir),_0x5205db);if(_0x1b0029['kumMb'](_0x452cf7[_0x5055f0(0xdf)],undefined)&&_0x1b0029[_0x5055f0(0xa4)](_0x452cf7['cdpEndpoint']['trim'](),''))throw new Error('--cdp-endpoint\x20must\x20not\x20be\x20empty.\x20Provide\x20the\x20CDP\x20URL,\x20e.g.\x20--cdp-endpoint\x20http://localhost:9222');if(_0x452cf7['cdpEndpoint']&&_0x452cf7['url'])throw new Error('--url\x20and\x20--cdp-endpoint\x20are\x20mutually\x20exclusive.\x20Use\x20--url\x20for\x20web\x20apps\x20or\x20--cdp-endpoint\x20for\x20Electron/CDP\x20apps,\x20not\x20both.');if(_0x452cf7['cdpEndpoint']&&_0x452cf7['ci'])throw new Error(_0x5055f0(0xb3));const _0xd053ba=Boolean(_0x452cf7['cdpEndpoint']),_0x136fce=!_0x452cf7['skipAuth']&&!_0xd053ba,_0x5d37a2=process['stdin']['isTTY']&&process[_0x5055f0(0x86)]['isTTY'];if(!_0x5d37a2&&!_0x452cf7[_0x5055f0(0xbe)]&&!_0xd053ba)throw new Error(_0x1b0029[_0x5055f0(0xb6)]);const _0x40c0c5=findExistingEnv(_0x2d7d07);let _0x2dddeb=null;if(_0x40c0c5){if(!_0x5d37a2)_0x2dddeb=_0x40c0c5;else{if(_0x1b0029['JEUPG'](_0x40c0c5['location'],_0x5205db)){const {overwrite:_0x225f92}=await _0x479c16[_0x5055f0(0xe4)]([{'type':_0x1b0029[_0x5055f0(0xbf)],'name':_0x1b0029[_0x5055f0(0xa7)],'message':'Profile\x20\x22'+_0x2d7d07+'\x22\x20already\x20exists.\x20Overwrite?','default':![]}]);if(!_0x225f92){console[_0x5055f0(0x7f)]('Aborted.');return;}_0x2dddeb=_0x40c0c5;}else{const _0x73e402=_0x40c0c5['location']===_0x5055f0(0xb8)?_0x5055f0(0xda):_0x40c0c5['location'];console['error'](_0x5055f0(0xb9)+_0x2d7d07+_0x5055f0(0xcd)+_0x73e402+':\x20'+_0x40c0c5['path']),console[_0x5055f0(0xc7)]('\x20\x20\x20Creating\x20it\x20in\x20'+_0x5205db+_0x5055f0(0xd3));const {shouldReplace:_0x23ad67}=await _0x479c16['prompt']([{'type':_0x1b0029[_0x5055f0(0xbf)],'name':_0x1b0029[_0x5055f0(0xa2)],'message':_0x5055f0(0xc0)+_0x5205db+'?','default':![]}]);if(!_0x23ad67){console['log'](_0x1b0029['gzTup']);return;}_0x2dddeb=_0x40c0c5;}}}_0x16b48b?.['trackPhaseStart'](_0x5055f0(0x9f));let _0x4d0c09='';if(_0xd053ba)console['log'](_0x1b0029[_0x5055f0(0xe2)]),console[_0x5055f0(0x7f)](_0x5055f0(0xc9)+_0x452cf7['cdpEndpoint']),console['log']('\x20\x20Make\x20sure\x20your\x20Electron\x20app\x20(or\x20browser)\x20is\x20running\x20with\x20remote\x20debugging\x20enabled.\x0a');else{if(_0x452cf7['url']){_0x4d0c09=_0x452cf7['url'];const _0x1516c0=await _0x1b0029['sxYJs'](checkUrlReachability,_0x4d0c09);if(!_0x1516c0['ok']&&!_0x452cf7['force'])throw new Error('Could\x20not\x20reach\x20'+_0x4d0c09+':\x20'+_0x1516c0[_0x5055f0(0xc7)]+_0x5055f0(0xe6));!_0x1516c0['ok']&&_0x452cf7['force']&&console['log'](_0x5055f0(0xc3)+_0x4d0c09+':\x20'+_0x1516c0['error']+_0x5055f0(0x78));}else{console[_0x5055f0(0x7f)](_0x1b0029['snzSw']),console[_0x5055f0(0x7f)]('\x20\x20Make\x20sure\x20your\x20app\x20is\x20running\x20locally\x20before\x20continuing.'),console['log'](_0x5055f0(0xa1));let _0x3caa5c=![];while(!![]){const _0x545ca3=await _0x479c16[_0x5055f0(0xe4)]([{'type':_0x1b0029['tlzxZ'],'name':_0x5055f0(0xdd),'message':_0x3caa5c?'Enter\x20a\x20new\x20URL\x20(or\x20press\x20enter\x20to\x20keep\x20current):':'What\x20is\x20the\x20URL\x20of\x20your\x20running\x20app?','default':_0x4d0c09||_0x1b0029['jyHsV']}]);_0x4d0c09=_0x545ca3['baseUrl'];const _0x4c11ff=await checkUrlReachability(_0x4d0c09);if(_0x4c11ff['ok'])break;const _0x21523d=/^[a-zA-Z][\w+.-]*:\/\//[_0x5055f0(0x80)](_0x4d0c09),_0x39a58b=_0x4c11ff['isProtocolError']&&!_0x21523d,_0x595e41=_0x39a58b?_0x5055f0(0x9e)+_0x4d0c09:null;_0x3caa5c=!![],console['log']('\x0a\x20\x20Could\x20not\x20reach\x20'+_0x4d0c09+':\x20'+_0x4c11ff[_0x5055f0(0xc7)]);_0x595e41&&console[_0x5055f0(0x7f)]('\x20\x20Did\x20you\x20mean\x20'+_0x595e41+'?');const {action:_0x13c8c9}=await _0x479c16[_0x5055f0(0xe4)]([{'type':_0x1b0029['CkUDN'],'name':_0x1b0029['STUhf'],'message':_0x5055f0(0xc1),'choices':[..._0x595e41?[{'name':_0x5055f0(0x8d)+_0x595e41,'value':_0x1b0029[_0x5055f0(0xd6)]}]:[],{'name':_0x1b0029[_0x5055f0(0xab)],'value':'retry'},{'name':_0x5055f0(0xc4),'value':_0x5055f0(0xe1)}]}]);if(_0x1b0029[_0x5055f0(0x93)](_0x13c8c9,_0x5055f0(0xd0))&&_0x595e41){_0x4d0c09=_0x595e41;const _0x436471=await checkUrlReachability(_0x4d0c09);if(_0x436471['ok'])break;console['log']('\x0a\x20\x20Still\x20could\x20not\x20reach\x20'+_0x4d0c09+':\x20'+_0x436471[_0x5055f0(0xc7)]);}else{if(_0x1b0029[_0x5055f0(0x93)](_0x13c8c9,_0x1b0029[_0x5055f0(0xa6)]))break;}}}}_0x16b48b?.[_0x5055f0(0x7e)](_0x1b0029['jElNg']);const _0x27d6f3={};if(_0x2dddeb){const _0x37ece1=await _0x1b0029['sxYJs'](loadSettings,_0x2d7d07);Object[_0x5055f0(0xc6)](_0x27d6f3,_0x37ece1['setupHeaders']);}Object['assign'](_0x27d6f3,_0x225a81),await _0x1b0029['dbmUJ'](mkdir,_0x5d9092,{'recursive':!![]});const _0x203e95=await mkdtemp(join(_0x5d9092,'.tmp-'+_0x2d7d07+'-')),_0x3fb86e=join(_0x203e95,_0x5055f0(0xdc));try{if(_0x136fce){_0x16b48b?.[_0x5055f0(0x9b)](_0x5055f0(0x90)),console['log']('\x0a๐\x20Authentication\x20Setup'),console[_0x5055f0(0x7f)](_0x1b0029[_0x5055f0(0x89)]),console[_0x5055f0(0x7f)]('\x20\x20\x20When\x20done\x20logging\x20in,\x20close\x20the\x20browser\x20to\x20save\x20the\x20session.');!_0x5d37a2?(console[_0x5055f0(0x7f)](_0x1b0029[_0x5055f0(0xd1)]),console[_0x5055f0(0x7f)](_0x1b0029[_0x5055f0(0x77)])):console[_0x5055f0(0x7f)]('');await new Promise(_0x29d95d=>setTimeout(_0x29d95d,0xbb8));const _0x269773=[];_0x452cf7[_0x5055f0(0xc5)]&&_0x269773[_0x5055f0(0xcc)](_0x1b0029[_0x5055f0(0x9c)]);const _0x74139a=await chromium['launch']({'headless':![],..._0x269773[_0x5055f0(0xd9)]>0x0?{'args':_0x269773}:{}});try{const _0x5b7844=Object[_0x5055f0(0x96)](_0x27d6f3)['length']>0x0,_0x7b15e4=await _0x74139a['newContext'](_0x5b7844?{'extraHTTPHeaders':_0x27d6f3}:undefined);await addProfileSetupBanner(_0x7b15e4);const _0x57ba4f=await _0x7b15e4[_0x5055f0(0xcb)]();await _0x57ba4f[_0x5055f0(0xb4)](_0x4d0c09||_0x5055f0(0x7d));let _0x75687f=![];await new Promise(_0x24b29d=>{const _0x386310=_0x5055f0,_0x50d8c2={'oBzsc':function(_0x38f8f2){return _0x38f8f2();}};_0x57ba4f['on'](_0x1b0029[_0x386310(0x8f)],async()=>{const _0x58a904=_0x386310;try{console['log']('Saving\x20authentication\x20state...'),await _0x7b15e4[_0x58a904(0xc2)]({'path':_0x3fb86e}),_0x75687f=!![];}catch{}_0x50d8c2['oBzsc'](_0x24b29d);});});if(!_0x75687f){console[_0x5055f0(0x7f)]('\x0aThe\x20browser\x20closed\x20unexpectedly\x20before\x20authentication\x20could\x20be\x20saved.');!_0x452cf7[_0x5055f0(0xc5)]&&(console[_0x5055f0(0x7f)](_0x5055f0(0xac)),console['log'](_0x1b0029[_0x5055f0(0xe0)]),console[_0x5055f0(0x7f)]('\x20\x20ranger\x20profile\x20add\x20'+_0x2d7d07+'\x20--safe-mode\x20\x20\x20\x20(disables\x20browser\x20features\x20that\x20can\x20cause\x20crashes)'),console[_0x5055f0(0x7f)](_0x5055f0(0xb0)+_0x2d7d07+_0x5055f0(0xe8)));throw new Error(_0x5055f0(0x83));}}finally{await _0x74139a[_0x5055f0(0xa9)]()['catch'](()=>{});}if(_0x685245){const _0x5d5b77=await readFile(_0x3fb86e,_0x1b0029['YvpUP']),_0x23d982=await getToken();if(!_0x23d982){console[_0x5055f0(0xc7)](_0x1b0029['AdMJI']),await _0x1b0029[_0x5055f0(0xce)](unlink,_0x3fb86e)[_0x5055f0(0x82)](()=>{});throw new Error(_0x1b0029['iwFml']);}else{const _0x16bee4=_0x1b0029[_0x5055f0(0x7b)](encrypt,_0x5d5b77,_0x23d982);await writeFile(_0x3fb86e+_0x1b0029['IlPTs'],_0x16bee4),await unlink(_0x3fb86e),console[_0x5055f0(0x7f)]('โ\x20Encrypted\x20auth\x20saved\x20to:\x20'+_0x3fb86e+_0x5055f0(0xaa)),console['log']('\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.'),console['log'](_0x1b0029[_0x5055f0(0xa8)]);}}else console['log']('โ\x20Auth\x20state\x20saved\x20to:\x20'+_0x3fb86e);_0x16b48b?.['trackPhaseEnd']('browser_auth');}_0x16b48b?.[_0x5055f0(0x9b)](_0x1b0029['CikJs']);const _0x4daab4={};_0x4d0c09&&(_0x4daab4['baseUrl']=_0x4d0c09);_0x452cf7['cdpEndpoint']&&(_0x4daab4[_0x5055f0(0xdf)]=_0x452cf7['cdpEndpoint'],_0x4daab4[_0x5055f0(0xe3)]=!![]);_0x452cf7[_0x5055f0(0xcf)]&&(_0x4daab4[_0x5055f0(0xcf)]=!![]);_0x452cf7['safeMode']&&(_0x4daab4[_0x5055f0(0xc5)]=!![]);Object['keys'](_0x27d6f3)['length']>0x0&&(_0x4daab4[_0x5055f0(0x81)]=_0x27d6f3);await _0x1b0029[_0x5055f0(0x7b)](writeFile,_0x1b0029['VaEMq'](join,_0x203e95,'settings.json'),JSON[_0x5055f0(0xb1)](_0x4daab4,null,0x2)),console['log']('โ\x20Created\x20settings:\x20'+_0x1b0029['GpaVi'](join,_0x3add1e,'settings.json'));if(_0x1b0029['rsjSk'](_0x2dddeb?.['location'],_0x5205db)){const _0x2534df=_0x2dddeb[_0x5055f0(0xad)]+'.backup-'+Date['now']();await rename(_0x2dddeb['path'],_0x2534df);try{await _0x1b0029['llbbC'](rename,_0x203e95,_0x3add1e);}catch(_0x5d4c64){await _0x1b0029['llbbC'](rename,_0x2534df,_0x2dddeb['path']);throw _0x5d4c64;}try{await _0x1b0029[_0x5055f0(0xd4)](rm,_0x2534df,{'recursive':!![]});}catch{console['log']('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20backup\x20at\x20'+_0x2534df);}}else{await _0x1b0029['GpaVi'](rename,_0x203e95,_0x3add1e);if(_0x2dddeb)try{await rm(_0x2dddeb['path'],{'recursive':!![]}),console['log']('Removed\x20existing\x20profile\x20at\x20'+_0x2dddeb['path']);}catch{console[_0x5055f0(0x7f)](_0x5055f0(0xbb)+_0x2dddeb[_0x5055f0(0xad)]);}}try{await writeActiveProfileName(_0x2d7d07),console['log'](_0x5055f0(0x95)+_0x2d7d07);}catch{console[_0x5055f0(0x7f)](_0x1b0029[_0x5055f0(0x9d)]);}_0x16b48b?.[_0x5055f0(0x7e)]('config_write'),console['log'](_0x5055f0(0xe5)+_0x2d7d07+'\x22\x20configured');}catch(_0x4ee5a1){await rm(_0x203e95,{'recursive':!![],'force':!![]});throw _0x4ee5a1;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x45bb(){const _0x2dd0a2=['DoLYv','10575deigAF','40CSUxuW','tHcwr','iAzbD','22589390OKbqfW','\x0a\x20\x20The\x20plaintext\x20auth.json\x20is\x20gitignored\x20for\x20security.','31365qMVBBh','log','utf-8','5944hSncgv','791756pETOHq','4112405wOhQbN','\x22\x20not\x20found.\x20Run\x20first:\x20ranger\x20profile\x20add\x20','szQOI','rqPyt','655641cBRdQW','auth.json','No\x20auth.json\x20found\x20at\x20','792869NynYwu','XWPJE','AtyQc','30IanmqJ'];_0x45bb=function(){return _0x2dd0a2;};return _0x45bb();}(function(_0xcec22c,_0x128384){const _0x4181ea=_0xd1ce,_0x5b76d3=_0xcec22c();while(!![]){try{const _0x1e22ee=-parseInt(_0x4181ea(0xae))/0x1+-parseInt(_0x4181ea(0xa6))/0x2+-parseInt(_0x4181ea(0xb9))/0x3*(parseInt(_0x4181ea(0xb4))/0x4)+parseInt(_0x4181ea(0xa7))/0x5+-parseInt(_0x4181ea(0xb1))/0x6*(parseInt(_0x4181ea(0xab))/0x7)+-parseInt(_0x4181ea(0xbc))/0x8*(parseInt(_0x4181ea(0xb3))/0x9)+parseInt(_0x4181ea(0xb7))/0xa;if(_0x1e22ee===_0x128384)break;else _0x5b76d3['push'](_0x5b76d3['shift']());}catch(_0x200c66){_0x5b76d3['push'](_0x5b76d3['shift']());}}}(_0x45bb,0x6d13f));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';function _0xd1ce(_0x74a7e8,_0x788bfb){_0x74a7e8=_0x74a7e8-0xa6;const _0x45bbcf=_0x45bb();let _0xd1ce50=_0x45bbcf[_0x74a7e8];return _0xd1ce50;}import{getEnvDir}from'./utils/settings.js';export async function authEncrypt(_0x44d866){const _0xde646f=_0xd1ce,_0x172d05={'DoLYv':function(_0x40e278,_0x2047c8){return _0x40e278(_0x2047c8);},'DbMMZ':function(_0x1f411c,_0x18765f,_0x28d1c3){return _0x1f411c(_0x18765f,_0x28d1c3);},'ujYsH':function(_0x97f9d9,_0x22e56c){return _0x97f9d9+_0x22e56c;},'szQOI':function(_0x9081c4,_0x3a5d84){return _0x9081c4(_0x3a5d84);},'XWPJE':function(_0x2313ee){return _0x2313ee();},'iAzbD':_0xde646f(0xbb),'tHcwr':function(_0x2816b5,_0x41327e,_0x4a9e21){return _0x2816b5(_0x41327e,_0x4a9e21);},'AtyQc':'\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','rqPyt':'\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.'},_0x5e6274=_0x172d05[_0xde646f(0xb2)](getEnvDir,_0x44d866),_0x29299c=_0x172d05['DbMMZ'](join,_0x5e6274,_0xde646f(0xac)),_0x2b0782=_0x172d05['ujYsH'](_0x29299c,'.enc');if(!_0x172d05['DoLYv'](existsSync,_0x5e6274))throw new Error('Profile\x20\x22'+_0x44d866+_0xde646f(0xa8)+_0x44d866);if(!_0x172d05[_0xde646f(0xa9)](existsSync,_0x29299c))throw new Error(_0xde646f(0xad)+_0x29299c+'.\x20Run\x20first:\x20ranger\x20profile\x20add\x20with\x20authentication,\x20or\x20ranger\x20profile\x20update');const _0x2dee2b=await _0x172d05[_0xde646f(0xaf)](getToken);if(!_0x2dee2b)throw new Error('No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]');const _0x419c58=await readFile(_0x29299c,_0x172d05[_0xde646f(0xb6)]),_0x2ea28a=encrypt(_0x419c58,_0x2dee2b);await _0x172d05[_0xde646f(0xb5)](writeFile,_0x2b0782,_0x2ea28a),console['log']('\x0aโ\x20Encrypted\x20auth\x20saved\x20to:\x20'+_0x2b0782),console['log'](_0x172d05[_0xde646f(0xb0)]),console[_0xde646f(0xba)](_0x172d05[_0xde646f(0xaa)]),existsSync(_0x2b0782)&&(console[_0xde646f(0xba)](_0xde646f(0xb8)),console['log']('\x20\x20The\x20encrypted\x20auth.json.enc\x20can\x20be\x20committed.'));}
|
package/build/commands/clean.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xde35ae=_0x5dfd;(function(_0x14c172,_0x4ffcd5){const _0x39e40d=_0x5dfd,_0x53566d=_0x14c172();while(!![]){try{const _0x3b95c8=parseInt(_0x39e40d(0xac))/0x1+-parseInt(_0x39e40d(0xb6))/0x2+parseInt(_0x39e40d(0xb9))/0x3+-parseInt(_0x39e40d(0xa9))/0x4*(-parseInt(_0x39e40d(0xd8))/0x5)+-parseInt(_0x39e40d(0xce))/0x6*(-parseInt(_0x39e40d(0xb1))/0x7)+parseInt(_0x39e40d(0xba))/0x8*(-parseInt(_0x39e40d(0xcd))/0x9)+-parseInt(_0x39e40d(0xaa))/0xa;if(_0x3b95c8===_0x4ffcd5)break;else _0x53566d['push'](_0x53566d['shift']());}catch(_0x32fe3a){_0x53566d['push'](_0x53566d['shift']());}}}(_0x4230,0xf3379));import{rm,readFile,writeFile}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{spawn}from'child_process';function _0x5dfd(_0x4e8c1c,_0x3e30eb){_0x4e8c1c=_0x4e8c1c-0xa0;const _0x423036=_0x4230();let _0x5dfddb=_0x423036[_0x4e8c1c];return _0x5dfddb;}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=[_0xde35ae(0xd0),'feature-tracker',_0xde35ae(0xa3),_0xde35ae(0xb0)],opencodePluginName='@ranger-testing/opencode-plugin';function parseJsonc(_0x1a769f){const _0x1e3f12=_0xde35ae,_0x4c5024=_0x1a769f[_0x1e3f12(0xa4)](/\/\*[\s\S]*?\*\//g,''),_0x3383e5=_0x4c5024[_0x1e3f12(0xa4)](/^\s*\/\/.*$/gm,''),_0x2f7653=_0x3383e5['replace'](/,\s*([}\]])/g,'$1');return JSON['parse'](_0x2f7653);}async function removeOpencodePluginConfig(_0x18150b){const _0x4f717b=_0xde35ae,_0x4fcc1e={'RsiXR':function(_0x462033,_0xd7a8bf){return _0x462033!==_0xd7a8bf;},'mEHXX':function(_0x285fcb,_0x31979e){return _0x285fcb!==_0x31979e;},'CrWEl':function(_0x347ec4,_0x1c9779){return _0x347ec4(_0x1c9779);},'xiBRR':function(_0x1efd28,_0x2f2c8d,_0xe51174){return _0x1efd28(_0x2f2c8d,_0xe51174);},'IDOPy':function(_0x3e3e5a,_0x31e199){return _0x3e3e5a===_0x31e199;}};if(!_0x4fcc1e[_0x4f717b(0xcf)](existsSync,_0x18150b))return![];let _0x984bc1;try{const _0x482445=await _0x4fcc1e['xiBRR'](readFile,_0x18150b,'utf-8');_0x984bc1=parseJsonc(_0x482445);}catch{return![];}const _0x47b829=Array['isArray'](_0x984bc1['plugin'])?_0x984bc1['plugin']:[];if(_0x4fcc1e[_0x4f717b(0xc6)](_0x47b829['length'],0x0))return![];const _0x4f17a4=_0x47b829['filter'](_0x46e4e7=>{const _0x90d955=_0x4f717b;if(_0x4fcc1e[_0x90d955(0xb8)](typeof _0x46e4e7,'string'))return!![];return _0x4fcc1e['mEHXX'](_0x46e4e7,opencodePluginName);});if(_0x4f17a4['length']===_0x47b829['length'])return![];return _0x4fcc1e[_0x4f717b(0xc6)](_0x4f17a4[_0x4f717b(0xab)],0x0)?delete _0x984bc1['plugin']:_0x984bc1[_0x4f717b(0xa7)]=_0x4f17a4,await _0x4fcc1e[_0x4f717b(0xc8)](writeFile,_0x18150b,JSON['stringify'](_0x984bc1,null,0x2)+'\x0a'),!![];}async function uninstallClaudePlugin(_0x4dc0a2){const _0x395d99=_0xde35ae,_0x52875c={'AYuRv':function(_0x4230d2,_0xdab4b9){return _0x4230d2(_0xdab4b9);},'HDzih':function(_0x15622b,_0x2726b3){return _0x15622b(_0x2726b3);},'nbtbB':'uninstall','yRJHs':_0x395d99(0xad),'STCee':'--scope','YARrp':function(_0x477867,_0x2f72cb,_0x2b55b8,_0x5e5b73){return _0x477867(_0x2f72cb,_0x2b55b8,_0x5e5b73);},'dluTZ':'claude','gKHDT':function(_0x2e7913,_0x5e2626){return _0x2e7913===_0x5e2626;},'xctYi':'win32'};return new Promise(_0x203109=>{const _0x1b1dc3=_0x395d99,_0x5344e6={'PYRVV':function(_0x1a7626,_0x58f8a0){const _0x2f3380=_0x5dfd;return _0x52875c[_0x2f3380(0xc2)](_0x1a7626,_0x58f8a0);},'UbPfq':function(_0x4df711,_0x41a809){return _0x4df711===_0x41a809;}},_0x1a7646=['plugin',_0x52875c[_0x1b1dc3(0xa6)],_0x52875c[_0x1b1dc3(0xcc)]];_0x4dc0a2&&_0x1a7646['push'](_0x52875c[_0x1b1dc3(0xa5)],_0x4dc0a2);const _0xfa4558=_0x52875c[_0x1b1dc3(0xaf)](spawn,_0x52875c[_0x1b1dc3(0xa1)],_0x1a7646,{'stdio':_0x1b1dc3(0xa2),'shell':_0x52875c['gKHDT'](process[_0x1b1dc3(0xb4)],_0x52875c[_0x1b1dc3(0xcb)])});_0xfa4558['on']('close',_0x13e746=>{_0x5344e6['PYRVV'](_0x203109,_0x5344e6['UbPfq'](_0x13e746,0x0));}),_0xfa4558['on'](_0x1b1dc3(0xb3),()=>{const _0x73c83f=_0x1b1dc3;_0x52875c[_0x73c83f(0xd4)](_0x203109,![]);});});}async function removeMarketplace(){const _0x7ba085={'RumIo':function(_0x335c99,_0x1f35ca,_0x5a8838,_0x486ee2){return _0x335c99(_0x1f35ca,_0x5a8838,_0x486ee2);},'HZxgL':'claude','mLzsF':'plugin','TRpnx':'marketplace'};return new Promise(_0x59aac8=>{const _0x4ac2b9=_0x5dfd,_0x36d0bc={'txCtg':function(_0x779d1f,_0x4a9c83){return _0x779d1f(_0x4a9c83);},'MHfNx':function(_0x5c5d9a,_0x10688c){return _0x5c5d9a===_0x10688c;}},_0x16afa7=_0x7ba085[_0x4ac2b9(0xd1)](spawn,_0x7ba085['HZxgL'],[_0x7ba085['mLzsF'],_0x7ba085[_0x4ac2b9(0xc7)],_0x4ac2b9(0xae),_0x4ac2b9(0xd6)],{'stdio':'pipe','shell':process['platform']===_0x4ac2b9(0xca)});_0x16afa7['on'](_0x4ac2b9(0xd3),_0x58932d=>{_0x36d0bc['txCtg'](_0x59aac8,_0x36d0bc['MHfNx'](_0x58932d,0x0));}),_0x16afa7['on']('error',()=>{_0x36d0bc['txCtg'](_0x59aac8,![]);});});}export async function clean(){const _0xd074d8=_0xde35ae,_0x16f5f9={'ZDGMV':_0xd074d8(0xc0),'vqywO':function(_0x3785eb){return _0x3785eb();},'QSZyp':function(_0x2ff395,_0x335e4c){return _0x2ff395(_0x335e4c);},'sarCm':_0xd074d8(0xc4),'TNeED':function(_0x25a670){return _0x25a670();},'EpmcC':function(_0x2dc183,_0x38ad4a){return _0x2dc183(_0x38ad4a);},'RTiwT':'project','knWsz':function(_0x119430,_0x3c8f51){return _0x119430(_0x3c8f51);},'zzWYk':function(_0x5539c2,_0x458cb9,_0x279d24){return _0x5539c2(_0x458cb9,_0x279d24);},'XGwFb':'user','TtLNO':_0xd074d8(0xbb),'NYgoD':'โ\x20Uninstalled\x20Claude\x20plugin\x20(project\x20scope)','jKlDi':_0xd074d8(0xc9)};console[_0xd074d8(0xb2)](_0x16f5f9[_0xd074d8(0xc5)]);let _0xdc2321=![];try{await _0x16f5f9['vqywO'](deleteAllCredentials),console[_0xd074d8(0xb2)](_0xd074d8(0xd7)),_0xdc2321=!![];}catch{}const _0x74cd60=_0x16f5f9['vqywO'](getCacheFile);existsSync(_0x74cd60)&&(await _0x16f5f9['QSZyp'](rm,_0x74cd60),_0xdc2321=!![]);const _0x5bdbca=getRangerDir();existsSync(_0x5bdbca)&&(await rm(_0x5bdbca,{'recursive':!![]}),console[_0xd074d8(0xb2)](_0x16f5f9['sarCm']),_0xdc2321=!![]);const _0x13254c=_0x16f5f9[_0xd074d8(0xd2)](getProjectSkillsDir);for(const _0x56ab58 of skillsToRemove){const _0x375043=join(_0x13254c,_0x56ab58);existsSync(_0x375043)&&(await rm(_0x375043,{'recursive':!![]}),console[_0xd074d8(0xb2)]('โ\x20Removed\x20project\x20skill:\x20'+_0x56ab58),_0xdc2321=!![]);}const _0x1bc45b=getUserSkillsDir();for(const _0x13aade of skillsToRemove){const _0xeeeb54=join(_0x1bc45b,_0x13aade);existsSync(_0xeeeb54)&&(await rm(_0xeeeb54,{'recursive':!![]}),console['log']('โ\x20Removed\x20user\x20skill:\x20'+_0x13aade),_0xdc2321=!![]);}const _0x227a28=_0x16f5f9[_0xd074d8(0xbc)](getOpencodeSkillsDir,_0x16f5f9['RTiwT']);for(const _0x493689 of skillsToRemove){const _0x1ae5ae=join(_0x227a28,_0x493689);_0x16f5f9[_0xd074d8(0xa0)](existsSync,_0x1ae5ae)&&(await _0x16f5f9['zzWYk'](rm,_0x1ae5ae,{'recursive':!![]}),console[_0xd074d8(0xb2)]('โ\x20Removed\x20OpenCode\x20project\x20skill:\x20'+_0x493689),_0xdc2321=!![]);}const _0xfd0c63=_0x16f5f9[_0xd074d8(0xa0)](getOpencodeSkillsDir,'user');for(const _0xa92584 of skillsToRemove){const _0x3d3558=join(_0xfd0c63,_0xa92584);existsSync(_0x3d3558)&&(await _0x16f5f9[_0xd074d8(0xb5)](rm,_0x3d3558,{'recursive':!![]}),console[_0xd074d8(0xb2)]('โ\x20Removed\x20OpenCode\x20user\x20skill:\x20'+_0xa92584),_0xdc2321=!![]);}const _0xe28938=join(getOpencodeConfigDir(_0xd074d8(0xd5)),_0xd074d8(0xbd));await removeOpencodePluginConfig(_0xe28938)&&(console['log'](_0xd074d8(0xbf)),_0xdc2321=!![]);const _0x2548d0=_0x16f5f9[_0xd074d8(0xb5)](join,_0x16f5f9[_0xd074d8(0xbc)](getOpencodeConfigDir,_0x16f5f9[_0xd074d8(0xc1)]),'opencode.json');await removeOpencodePluginConfig(_0x2548d0)&&(console[_0xd074d8(0xb2)](_0x16f5f9['TtLNO']),_0xdc2321=!![]);const _0x18f60f=await _0x16f5f9['TNeED'](uninstallClaudePlugin);_0x18f60f&&(console[_0xd074d8(0xb2)]('โ\x20Uninstalled\x20Claude\x20plugin\x20(user\x20scope)'),_0xdc2321=!![]);const _0x135e3c=await uninstallClaudePlugin(_0xd074d8(0xd5));_0x135e3c&&(console['log'](_0x16f5f9[_0xd074d8(0xbe)]),_0xdc2321=!![]);const _0x1a00f0=await _0x16f5f9[_0xd074d8(0xb7)](removeMarketplace);_0x1a00f0&&(console['log'](_0x16f5f9[_0xd074d8(0xa8)]),_0xdc2321=!![]),_0xdc2321?console['log'](_0xd074d8(0xc3)):console['log']('Nothing\x20to\x20clean\x20up.\x0a');}function _0x4230(){const _0x19f073=['โ\x20Removed\x20OpenCode\x20plugin\x20(user\x20config)','EpmcC','opencode.json','NYgoD','โ\x20Removed\x20OpenCode\x20plugin\x20(project\x20config)','\x0a๐งน\x20Cleaning\x20up\x20Ranger\x20artifacts...\x0a','XGwFb','HDzih','\x0aโ
\x20Cleanup\x20complete!\x0a','โ\x20Removed\x20.ranger/\x20directory','ZDGMV','IDOPy','TRpnx','xiBRR','โ\x20Removed\x20trailhead\x20marketplace','win32','xctYi','yRJHs','9wUjjfZ','148884UqOPPk','CrWEl','ranger','RumIo','TNeED','close','AYuRv','project','trailhead','โ\x20Removed\x20stored\x20credentials','25DwnJyY','knWsz','dluTZ','pipe','bug-bash','replace','STCee','nbtbB','plugin','jKlDi','1434284fYSUWu','26115360zlpQwF','length','1734427ISKkOM','ranger@trailhead','remove','YARrp','e2e-test-recommender','294jVqseU','log','error','platform','zzWYk','2170716QkaFsM','vqywO','RsiXR','4630092tVWzbP','11357784EQyyiO'];_0x4230=function(){return _0x19f073;};return _0x4230();}
|