@ranger-testing/ranger-cli 2.3.0 โ†’ 2.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/env.js +1 -1
  7. package/build/commands/feature.js +1 -1
  8. package/build/commands/hook.js +1 -1
  9. package/build/commands/hooks/autoPrompt.js +1 -1
  10. package/build/commands/hooks/disable.js +1 -1
  11. package/build/commands/hooks/enable.js +1 -1
  12. package/build/commands/hooks/exitPlanMode.js +1 -1
  13. package/build/commands/hooks/index.js +1 -1
  14. package/build/commands/hooks/output.js +1 -1
  15. package/build/commands/hooks/planReminder.js +1 -1
  16. package/build/commands/hooks/planStart.js +1 -1
  17. package/build/commands/hooks/postEdit.js +1 -1
  18. package/build/commands/hooks/preCompact.js +1 -1
  19. package/build/commands/hooks/sessionEnd.js +1 -1
  20. package/build/commands/hooks/sessionStart.js +1 -1
  21. package/build/commands/hooks/stopHook.js +1 -1
  22. package/build/commands/index.js +1 -1
  23. package/build/commands/login.js +1 -1
  24. package/build/commands/setup/claude.js +1 -1
  25. package/build/commands/setup/opencode.js +1 -1
  26. package/build/commands/setupCi.js +1 -1
  27. package/build/commands/skillup.js +1 -1
  28. package/build/commands/start.js +1 -1
  29. package/build/commands/status.js +1 -1
  30. package/build/commands/update.js +1 -1
  31. package/build/commands/updateEnv.js +1 -1
  32. package/build/commands/useEnv.js +1 -1
  33. package/build/commands/utils/activeProfile.js +1 -1
  34. package/build/commands/utils/agentEnv.js +1 -0
  35. package/build/commands/utils/browserSessionsApi.js +1 -1
  36. package/build/commands/utils/claudeConfig.js +1 -1
  37. package/build/commands/utils/claudePlugin.js +1 -1
  38. package/build/commands/utils/crypto.js +1 -1
  39. package/build/commands/utils/desirePathLog.js +1 -1
  40. package/build/commands/utils/deviceAuth.js +1 -1
  41. package/build/commands/utils/environment.js +1 -1
  42. package/build/commands/utils/featureApi.js +1 -1
  43. package/build/commands/utils/featureReportGenerator.js +1 -1
  44. package/build/commands/utils/fixWebmDuration.js +1 -1
  45. package/build/commands/utils/git.js +1 -1
  46. package/build/commands/utils/keychain.js +1 -1
  47. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  48. package/build/commands/utils/mcpImageBase64.js +1 -1
  49. package/build/commands/utils/model.js +1 -1
  50. package/build/commands/utils/opencodeConfig.js +1 -1
  51. package/build/commands/utils/playwrightCli.js +1 -1
  52. package/build/commands/utils/profileMessages.js +1 -1
  53. package/build/commands/utils/profileSetupBanner.js +1 -1
  54. package/build/commands/utils/rangerConfig.js +1 -1
  55. package/build/commands/utils/rangerRoot.js +1 -1
  56. package/build/commands/utils/reportGenerator.js +1 -1
  57. package/build/commands/utils/retry.js +1 -1
  58. package/build/commands/utils/sessionCache.js +1 -1
  59. package/build/commands/utils/settings.js +1 -1
  60. package/build/commands/utils/skillContent.js +1 -1
  61. package/build/commands/utils/skills.js +1 -1
  62. package/build/commands/utils/stitchWebmFiles.js +1 -1
  63. package/build/commands/utils/telemetry.js +1 -1
  64. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  65. package/build/commands/utils/userApi.js +1 -1
  66. package/build/commands/utils/version.js +1 -1
  67. package/build/commands/verifyFeature.js +1 -1
  68. package/build/commands/verifyFeatureCli.js +1 -1
  69. package/build/commands/verifyInBrowser.js +1 -1
  70. package/package.json +1 -1
package/build/cli.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const _0x256f40=_0x1a63;(function(_0x194bb5,_0x2d29e2){const _0x180642=_0x1a63,_0x17b3e1=_0x194bb5();while(!![]){try{const _0x4f20c9=-parseInt(_0x180642(0x2d0))/0x1+parseInt(_0x180642(0x319))/0x2*(-parseInt(_0x180642(0x315))/0x3)+-parseInt(_0x180642(0x2dc))/0x4+-parseInt(_0x180642(0x254))/0x5*(-parseInt(_0x180642(0x28a))/0x6)+-parseInt(_0x180642(0x317))/0x7*(parseInt(_0x180642(0x291))/0x8)+-parseInt(_0x180642(0x240))/0x9*(parseInt(_0x180642(0x213))/0xa)+-parseInt(_0x180642(0x31e))/0xb*(-parseInt(_0x180642(0x1df))/0xc);if(_0x4f20c9===_0x2d29e2)break;else _0x17b3e1['push'](_0x17b3e1['shift']());}catch(_0x29749c){_0x17b3e1['push'](_0x17b3e1['shift']());}}}(_0x4968,0x4e481));function _0x4968(){const _0x4e1126=['setup\x20[token]','kteQx','pUnkd','hhTVp','login','create\x20<name>','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','forEach','You\x20must\x20specify\x20a\x20profile\x20subcommand','restore\x20<id>','Install\x20Ranger\x20skills','iPEOS','argv','RzKVe','VENbl','string','feature','skillup','opencode','You\x20must\x20specify\x20an\x20auth\x20subcommand','ZJimb','gajfc','Number\x20of\x20feature\x20reviews\x20to\x20skip','ranger\x20feature\x20show','aFlOG','xvnBV','config','TksKr','exit','sJBtb','ranger\x20start','key','positional','\x20FAILED','debug-outcome','oFHZV','boolean','summary','PGgua','oKnxb','ZPRsD','Reason:\x20','safe-mode','XWuaN','LXfvk','RFrEP','token','skip-chromium','rHBLJ','feature\x20get-feedback','150EAwyYd','restore','7ItYeYU','IqAOh','21444WOIiRz','lyPgI','include-deleted','EGaUm','Ranger\x20API\x20token','1623787bMEtAs','DTrBL','help','update\x20<profile-name>','qnHpc','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','error','YPTCl','create','SdlxP','.\x20[','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','offset','ShAOu','ADeuc','force','ranger\x20env\x20ls','oImHo','Bipwj','ranger\x20delete','Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1)','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','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.','bInSt','env\x20list','TzUkp','set\x20<profile>\x20<key>\x20<value>','incomplete','profile\x20add','NRkRo','session-id','Switch\x20to\x20using\x20a\x20specific\x20profile','List\x20all\x20config\x20for\x20a\x20profile','command','EnbVa','UUVru','setup-ci','CuzwR','trackCommandError','YzKlH','nkvJF','exitCode','Feature\x20review\x20name','resume','\x20PARTIAL','\x0aUnknown\x20command:\x20','iMwVQ','fMMjx','PcHkr','UnpBq','156NsuTkM','Name\x20of\x20the\x20environment\x20to\x20update','FmUyx','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','XutnY','evaluation','aDHBt','slice','zOjXw','UZWaz','HngQt','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','kzVWk','use','feature\x20restore','vHhKx','ranger\x20create','unset\x20<env>\x20<key>','BoYxO','ymnHE','iGaaA','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','number','scenario','ranger\x20feature\x20restore','json','FUbpv','NNPaF','JHjFS','partial','WoeQl','GXppV','btvCa','profile\x20update','includes','ovctZ','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','aVedh','QQziX','Feature\x20review\x20description','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','ranger\x20verify-feature','List\x20all\x20profiles','doQPJ','epilogue','rkWaR','kzGep','uzjmp','feature\x20create','get-review\x20[id]','kyABZ','You\x20must\x20specify\x20a\x20command','210kKgIUt','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','option','url','blocked','uzeai','ranger\x20list','verify-feature','enable','base-url','allow-insecure-localhost','lWRRI','Restore\x20a\x20soft-deleted\x20feature\x20review','Opdae','Profile\x20name','Manage\x20profile\x20configuration','\x20INCOMPLETE','profile\x20config\x20unset','oMPZy','--scenario','hfgbw','.env','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','hxOOh','ATBZR','vIIoC','SDByd','ranger\x20auth\x20encrypt','hook:disable','update\x20<env-name>','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','Scenario\x20description','GiLhl','TrDjJ','GkNeW','urluZ','fBjnI','XvwWU','unhandledRejection','bqaxH','iDWkF','Feature\x20review\x20ID','start-path','RpkDO','186183iyJgVW','--notes','msgmU','eFtNq','ranger\x20go','item','update','jJqKJ','profile-name','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','demandCommand','BRUYd','add-scenario','mvFLv','set\x20<env>\x20<key>\x20<value>','limit','zmdon','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','Name\x20of\x20the\x20profile\x20to\x20update','784775JnzJSw','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','Environment\x20name','ranger\x20add\x20env','\x20VERIFIED','ranger\x20setup','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','Unknown\x20error','oAFYE','profile','BywFc','\x0aError:\x20','ZSEoV','kzCyQ','log','usage','skip-auth','LbeCj','startsWith','claude','Config\x20key\x20to\x20remove','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','flTbG','--env','issues','user','kNzsl','root','fdSCz','uPpMD','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','Unrwc','WGQuy','list','fOTpS','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','crGSo','get-review','JrTBO','Ypdll','xTzlV','XAoMH','Config\x20key','aQeFi','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','\x20\x20https://docs.ranger.net\x0a','add\x20env\x20<env-name>','model','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','clean','ranger\x20env\x20update','QHwpn','6lPCdvX','ranger\x20feature\x20list','sURNN','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','show','sFpCP','debug-address-comments','38240gtPcuK','notes','profile\x20config\x20get','ouIey','XiuMK','FRSRu','ranger\x20profile\x20update','current-branch','Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','AhAFv','ranger\x20feature\x20delete','get\x20<profile>\x20<key>','Feature\x20review\x20ID\x20to\x20restore','ltqBQ','HXXRS','qaKcF','cdp-endpoint','UNbOY','name','ranger\x20show','headed','repeat','ranger\x20profile\x20config\x20list','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','LNePU','feature\x20delete','BYaFB','WHtyH','env-name','Gzwvh','--checklist','get-feedback\x20[id]','NPMNf','default','use\x20<profile-name>','project','show\x20[id]','noQma','pNwzh','oAjUY','feature\x20list','ALzRt','SGYwW','ranger\x20use','HfmMC','sFGiH','task','gYCCU','hpfLf','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','tSmDm','RpyXd','bnPoG','failed','twHBd','env','tAQzf','rSgZS','nstSh','message','WohyJ','tPtDp','delete\x20[id]','539744VrkQtB','ApGJM','checklist','MVeFa','parse','version','list\x20<profile>','Initialize\x20Ranger\x20in\x20your\x20project','report','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','verified','XTvWJ','961136SZuBya','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','--task','lyFUW','description','iEvrx','ranger\x20restore'];_0x4968=function(){return _0x4e1126;};return _0x4968();}import _0x5973c6 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x23486c=_0x1a63,_0x2b840c={'tPtDp':function(_0x437f54,_0x91a768){return _0x437f54(_0x91a768);},'tAQzf':function(_0x281917,_0x17910c){return _0x281917(_0x17910c);},'KmoKQ':function(_0x52ee9c,_0x108d7b,_0x3377cb){return _0x52ee9c(_0x108d7b,_0x3377cb);},'xTzlV':'.ranger','Gzwvh':_0x23486c(0x228)};let _0xbc5367=process['cwd']();const _0x170ada=_0x2b840c[_0x23486c(0x2ce)](parse,_0xbc5367)[_0x23486c(0x271)];while(_0xbc5367!==_0x170ada){if(_0x2b840c[_0x23486c(0x2c9)](existsSync,_0x2b840c['KmoKQ'](join,_0xbc5367,_0x2b840c[_0x23486c(0x27e)]))||existsSync(join(_0xbc5367,_0x2b840c[_0x23486c(0x2ae)])))return _0xbc5367;_0xbc5367=dirname(_0xbc5367);}return process['cwd']();}_0x5973c6['config']({'path':join(findProjectRoot(),'.env')});import _0x4550a8 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';function _0x1a63(_0x52983e,_0x42ad1d){_0x52983e=_0x52983e-0x1b9;const _0x4968fd=_0x4968();let _0x1a6324=_0x4968fd[_0x52983e];return _0x1a6324;}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'](_0x256f40(0x23a),async _0x16fe89=>{const _0x35445f=_0x256f40,_0x289e23={'gYCCU':function(_0x36cfe1){return _0x36cfe1();}},_0x155101=_0x289e23[_0x35445f(0x2c0)](getCurrentCollector);_0x155101&&await _0x155101['trackCommandError'](_0x16fe89),process[_0x35445f(0x1d6)]=0x1;});const rawArgs=process['argv']['slice'](0x2),TOP_LEVEL_HELP=_0x256f40(0x1c3),PROFILE_HELP=_0x256f40(0x323),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x0aKeys:\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\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';function warnRenamed(_0x5908c8,_0x558bdc){const _0x4583f2=_0x256f40;console[_0x4583f2(0x324)]('\x0a'+_0x5908c8+'\x20is\x20now\x20'+_0x558bdc+'\x0a');}function argUsed(_0x5ddcff){const _0x2161ba=_0x256f40;return rawArgs['some'](_0x3e348e=>_0x3e348e===_0x5ddcff||_0x3e348e[_0x2161ba(0x268)](_0x5ddcff+'='));}function warnFlagRenamed(_0x3f6882,_0x10c913,_0x4e01c5){const _0x581f13=_0x256f40,_0x162291={'ApGJM':function(_0x1baefe,_0x4ba02f){return _0x1baefe(_0x4ba02f);},'hovXl':function(_0x25fc7e,_0x18662d,_0x248648){return _0x25fc7e(_0x18662d,_0x248648);}};_0x162291[_0x581f13(0x2d1)](argUsed,_0x10c913)&&_0x162291['hovXl'](warnRenamed,_0x3f6882+'\x20'+_0x10c913,_0x3f6882+'\x20'+_0x4e01c5);}async function runGoCommand(_0x4c1789,_0x4e577c=![]){const _0x1aaf31=_0x256f40,_0x5f5577={'SdlxP':function(_0x328961,_0x1a2897,_0x21699a){return _0x328961(_0x1a2897,_0x21699a);},'kBmmO':_0x1aaf31(0x208),'ATBZR':_0x1aaf31(0x244),'kzCyQ':'--profile','kTktS':function(_0x3ba7bf,_0x5c7d9a,_0x8ed4d9,_0x4dc80d){return _0x3ba7bf(_0x5c7d9a,_0x8ed4d9,_0x4dc80d);},'kHkqk':'--item','FUbpv':_0x1aaf31(0x226),'UCsaq':'flag','YzKlH':'config','eCIqK':function(_0xa12690,_0x313e45){return _0xa12690(_0x313e45);},'XFSkt':_0x1aaf31(0x23e),'YeqNK':'debug-outcome','AknPs':function(_0x34d356,_0x549888){return _0x34d356+_0x549888;},'QjnGK':'verified','FmUyx':function(_0x3c47c2,_0x4668c2){return _0x3c47c2===_0x4668c2;},'hhTVp':_0x1aaf31(0x223),'UZWaz':function(_0x45605a,_0x4feea2){return _0x45605a===_0x4feea2;},'fdSCz':'blocked','ADeuc':'\x20BLOCKED','njApo':_0x1aaf31(0x304)};_0x4e577c&&_0x5f5577[_0x1aaf31(0x327)](warnRenamed,_0x5f5577['kBmmO'],_0x5f5577['ATBZR']);warnFlagRenamed(_0x5f5577[_0x1aaf31(0x22b)],_0x1aaf31(0x26d),_0x5f5577[_0x1aaf31(0x263)]),warnFlagRenamed(_0x5f5577[_0x1aaf31(0x22b)],_0x1aaf31(0x2de),_0x1aaf31(0x241)),_0x5f5577['kTktS'](warnFlagRenamed,'ranger\x20go',_0x5f5577['kHkqk'],_0x5f5577[_0x1aaf31(0x1f9)]);const _0xdcee84=await loadRangerConfig(),_0x536e89=_0x4c1789['model'],_0x18b783=_0xdcee84[_0x1aaf31(0x285)],_0xd60f15=_0x536e89??_0x18b783,_0x10e25c=_0x536e89?_0x5f5577['UCsaq']:_0x18b783?_0x5f5577[_0x1aaf31(0x1d4)]:_0x1aaf31(0x2b2),_0x217e16=await _0x5f5577['eCIqK'](verifyFeature,{'featureId':_0x4c1789['feature'],'profile':_0x4c1789[_0x1aaf31(0x25f)]??_0x4c1789['env'],'notes':_0x4c1789[_0x1aaf31(0x292)]??_0x4c1789['task'],'scenario':_0x4c1789['scenario']??_0x4c1789['item'],'startPath':_0x4c1789[_0x5f5577['XFSkt']],'debugOutcome':_0x4c1789[_0x5f5577['YeqNK']],'debugAddressComments':_0x4c1789[_0x1aaf31(0x290)],'headed':_0x4c1789[_0x1aaf31(0x2a5)],'verifyModel':_0xd60f15,'verifyModelInput':_0xd60f15,'verifyModelSource':_0x10e25c});console['log'](_0x5f5577['AknPs']('\x0a','='[_0x1aaf31(0x2a6)](0x3c))),console['log'](_0x217e16['evaluation']===_0x5f5577['QjnGK']?_0x1aaf31(0x25a):_0x5f5577['FmUyx'](_0x217e16[_0x1aaf31(0x1e4)],'incomplete')?_0x5f5577[_0x1aaf31(0x2e6)]:_0x5f5577[_0x1aaf31(0x1e1)](_0x217e16[_0x1aaf31(0x1e4)],'partial')?_0x1aaf31(0x1d9):_0x5f5577[_0x1aaf31(0x1e8)](_0x217e16[_0x1aaf31(0x1e4)],_0x5f5577[_0x1aaf31(0x272)])?_0x5f5577[_0x1aaf31(0x1bb)]:_0x5f5577['njApo']),console[_0x1aaf31(0x264)]('='[_0x1aaf31(0x2a6)](0x3c)),console[_0x1aaf31(0x264)]('Summary:\x20'+_0x217e16[_0x1aaf31(0x308)]),console['log']('Evaluation:\x20'+_0x217e16['evaluation']),console['log'](_0x1aaf31(0x30c)+_0x217e16['evaluationReason']),_0x217e16[_0x1aaf31(0x26e)]?.['length']&&(console[_0x1aaf31(0x264)]('\x0aIssues:'),_0x217e16[_0x1aaf31(0x26e)][_0x1aaf31(0x2ea)]((_0x4c9c84,_0x25c750)=>{const _0x4dc9f3=_0x1aaf31;console[_0x4dc9f3(0x264)]('\x0a'+(_0x25c750+0x1)+_0x4dc9f3(0x328)+_0x4c9c84['severity']+']\x20'+_0x4c9c84['description']);})),process[_0x1aaf31(0x2ff)](_0x217e16[_0x1aaf31(0x1e4)]===_0x1aaf31(0x2da)?0x0:0x1);}_0x4550a8(process['argv']['slice'](0x2))['scriptName']('ranger')[_0x256f40(0x265)](TOP_LEVEL_HELP)[_0x256f40(0x2d5)](getCurrentVersion())[_0x256f40(0x1ce)](_0x256f40(0x2e8),_0x256f40(0x1f4),_0x39942f=>{const _0x5dfc80=_0x256f40,_0x56a785={'owASP':_0x5dfc80(0x2e0),'WohyJ':_0x5dfc80(0x206),'aQeFi':'array','GiLhl':_0x5dfc80(0x252)};return _0x39942f['positional']('name',{'type':'string','description':_0x5dfc80(0x1d7),'demandOption':!![]})[_0x5dfc80(0x215)](_0x56a785['owASP'],{'type':'string','alias':'d','description':_0x56a785[_0x5dfc80(0x2cd)]})['option']('scenario',{'type':_0x56a785['aQeFi'],'alias':'c','description':_0x56a785[_0x5dfc80(0x234)]})['option']('checklist',{'type':_0x56a785[_0x5dfc80(0x281)],'hidden':!![]});},async _0x23432b=>{const _0x3b6533=_0x256f40,_0x8b96a1={'yOIyT':function(_0x43c1f1,_0x269a15,_0x4d6a88,_0x2b8a9b){return _0x43c1f1(_0x269a15,_0x4d6a88,_0x2b8a9b);},'DTrBL':'ranger\x20create','wFYhb':function(_0x299238,_0x3c3f04,_0x13fc73){return _0x299238(_0x3c3f04,_0x13fc73);},'msgmU':_0x3b6533(0x326)};_0x8b96a1['yOIyT'](warnFlagRenamed,_0x8b96a1[_0x3b6533(0x31f)],_0x3b6533(0x2af),'--scenario');const _0x3d629f=_0x23432b[_0x3b6533(0x1f6)]||_0x23432b[_0x3b6533(0x2d2)];await _0x8b96a1['wFYhb'](withTelemetry,_0x8b96a1[_0x3b6533(0x242)],()=>featureCreate(_0x23432b[_0x3b6533(0x2a3)],{'description':_0x23432b['description'],'scenarios':_0x3d629f}));})['command'](_0x256f40(0x277),'List\x20all\x20feature\x20reviews',_0x324181=>{const _0x3a4d2c=_0x256f40,_0x2bdb55={'vHhKx':_0x3a4d2c(0x298),'GfyFl':_0x3a4d2c(0x203),'PKOED':'offset','ovctZ':_0x3a4d2c(0x1f5),'byaWC':_0x3a4d2c(0x307),'wPQdk':'Include\x20soft-deleted\x20feature\x20reviews'};return _0x324181[_0x3a4d2c(0x215)](_0x2bdb55[_0x3a4d2c(0x1ee)],{'type':'boolean','description':_0x2bdb55['GfyFl']})[_0x3a4d2c(0x215)]('limit',{'type':_0x3a4d2c(0x1f5),'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option'](_0x2bdb55['PKOED'],{'type':_0x2bdb55[_0x3a4d2c(0x202)],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x3a4d2c(0x215)]('include-deleted',{'type':_0x2bdb55['byaWC'],'alias':'d','description':_0x2bdb55['wPQdk'],'default':![]});},async _0x433372=>{const _0x34d710=_0x256f40,_0x4b9b25={'ylXWy':_0x34d710(0x277)};await withTelemetry(_0x4b9b25['ylXWy'],()=>featureList({'currentBranch':_0x433372[_0x34d710(0x298)],'limit':_0x433372[_0x34d710(0x250)],'offset':_0x433372[_0x34d710(0x1b9)],'includeDeleted':_0x433372['include-deleted']}));})['command'](_0x256f40(0x2b5),'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x3d4660=>{const _0x5eb803=_0x256f40;return _0x3d4660['positional']('id',{'type':_0x5eb803(0x2f2),'description':_0x5eb803(0x23d)});},async _0x229587=>{const _0x3aacd7=_0x256f40,_0x377e81={'jkrHJ':_0x3aacd7(0x28e)};await withTelemetry(_0x377e81['jkrHJ'],()=>featureShow(_0x229587['id']));})[_0x256f40(0x1ce)]('resume\x20[id]',_0x256f40(0x2a8),_0x51fcec=>{const _0x1f0120=_0x256f40,_0x17456b={'aVedh':_0x1f0120(0x2f2),'BywFc':_0x1f0120(0x24a)};return _0x51fcec[_0x1f0120(0x303)]('id',{'type':_0x17456b[_0x1f0120(0x204)],'description':_0x17456b[_0x1f0120(0x260)]});},async _0x4897a0=>{const _0x9b18f9=_0x256f40,_0x5a0155={'uzeai':_0x9b18f9(0x1d8)};await withTelemetry(_0x5a0155[_0x9b18f9(0x218)],()=>featureResume(_0x4897a0['id']));})['command']('add-scenario\x20<description>','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x1727d0=>{const _0x351667=_0x256f40,_0x40ed6b={'pNwzh':'description','LNzCr':_0x351667(0x232)};return _0x1727d0[_0x351667(0x303)](_0x40ed6b[_0x351667(0x2b7)],{'type':_0x351667(0x2f2),'description':'Scenario\x20description','demandOption':!![]})[_0x351667(0x215)]('id',{'type':'string','description':_0x40ed6b['LNzCr']});},async _0x1ade85=>{const _0x5c5c45=_0x256f40,_0x5417ed={'fMMjx':_0x5c5c45(0x24d)};await withTelemetry(_0x5417ed[_0x5c5c45(0x1dc)],()=>featureAddScenario(_0x1ade85['description'],_0x1ade85['id']));})['command']('edit-scenario\x20<description>','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x333322=>{const _0x5885e1=_0x256f40,_0x50b231={'ZPRsD':'New\x20scenario\x20description','RpkDO':'scenario','BYaFB':'Scenario\x20number\x20to\x20edit\x20(1-based)','JHjFS':_0x5885e1(0x2f2),'sFGiH':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0x333322['positional']('description',{'type':'string','description':_0x50b231[_0x5885e1(0x30b)],'demandOption':!![]})['option'](_0x50b231[_0x5885e1(0x23f)],{'type':_0x5885e1(0x1f5),'description':_0x50b231[_0x5885e1(0x2ab)],'demandOption':!![]})['option']('id',{'type':_0x50b231[_0x5885e1(0x1fb)],'description':_0x50b231[_0x5885e1(0x2be)]});},async _0x2d9d09=>{const _0x465132=_0x256f40,_0x30ba79={'pYKSO':function(_0x38aa9d,_0x4d7442,_0x343fc6){return _0x38aa9d(_0x4d7442,_0x343fc6);},'YPTCl':'edit-scenario'};await _0x30ba79['pYKSO'](withTelemetry,_0x30ba79[_0x465132(0x325)],()=>featureEditScenario(_0x2d9d09[_0x465132(0x2e0)],{'id':_0x2d9d09['id'],'scenario':_0x2d9d09[_0x465132(0x1f6)]}));})['command']('report\x20[id]',_0x256f40(0x286),_0x58e68c=>{const _0x2630b4=_0x256f40,_0x4cda51={'zKpjl':_0x2630b4(0x2f2),'NNPaF':_0x2630b4(0x23d),'RpyXd':'exclude-scenario','BWOBX':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','iGaaA':_0x2630b4(0x1f8),'Opdae':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown'};return _0x58e68c[_0x2630b4(0x303)]('id',{'type':_0x4cda51['zKpjl'],'description':_0x4cda51[_0x2630b4(0x1fa)]})['option'](_0x4cda51[_0x2630b4(0x2c4)],{'type':'array','description':_0x4cda51['BWOBX']})['option'](_0x4cda51[_0x2630b4(0x1f3)],{'type':'boolean','description':_0x4cda51[_0x2630b4(0x220)],'default':![]});},async _0x196af7=>{const _0x1e59f8=_0x256f40,_0x231893={'YLfUn':'exclude-scenario','fOTpS':function(_0x1f7497,_0x25b27e,_0x13074a){return _0x1f7497(_0x25b27e,_0x13074a);},'kteQx':_0x1e59f8(0x2d8)},_0xdb2b63=_0x196af7[_0x231893['YLfUn']],_0x51a9e8=_0xdb2b63?_0xdb2b63['map'](_0x10eadd=>Number(_0x10eadd)):undefined;await _0x231893[_0x1e59f8(0x278)](withTelemetry,_0x231893[_0x1e59f8(0x2e4)],()=>featureReportPrDescription(_0x196af7['id'],{'excludeScenarios':_0x51a9e8,'json':_0x196af7[_0x1e59f8(0x1f8)]}));})['command'](_0x256f40(0x210),'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x3d16f2=>{const _0x155170=_0x256f40,_0x11b7e3={'nwqNo':'string'};return _0x3d16f2[_0x155170(0x303)]('id',{'type':_0x11b7e3['nwqNo'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x8a066=>{const _0x3ac5b7=_0x256f40,_0x4d2ab4={'WPAJr':function(_0x282f05,_0x1812f5,_0x47e4ce){return _0x282f05(_0x1812f5,_0x47e4ce);}};await _0x4d2ab4['WPAJr'](withTelemetry,_0x3ac5b7(0x27b),()=>featureGetReview(_0x8a066['id']));})[_0x256f40(0x1ce)](_0x256f40(0x2cf),'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x1020f1=>{const _0x16fb84=_0x256f40,_0x1f4405={'kQFgX':_0x16fb84(0x2f2)};return _0x1020f1['positional']('id',{'type':_0x1f4405['kQFgX'],'description':_0x16fb84(0x23d)});},async _0x21b121=>{const _0x2acf51={'MZiCm':function(_0x1e49de,_0x39b12a,_0x144a50){return _0x1e49de(_0x39b12a,_0x144a50);}};await _0x2acf51['MZiCm'](withTelemetry,'delete',()=>featureDelete(_0x21b121['id']));})['command'](_0x256f40(0x2ec),_0x256f40(0x21f),_0x56efc3=>{const _0x42d6f3=_0x256f40;return _0x56efc3[_0x42d6f3(0x303)]('id',{'type':_0x42d6f3(0x2f2),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x2226f8=>{const _0x581be4=_0x256f40,_0x3e579a={'EeoqH':function(_0x257939,_0x246764,_0x363ec8){return _0x257939(_0x246764,_0x363ec8);},'nstSh':_0x581be4(0x316)};await _0x3e579a['EeoqH'](withTelemetry,_0x3e579a[_0x581be4(0x2cb)],()=>featureRestore(_0x2226f8['id']));})[_0x256f40(0x1ce)](_0x256f40(0x2e3),_0x256f40(0x2d7),_0x473908=>{const _0x358aa8=_0x256f40,_0x13680c={'urluZ':_0x358aa8(0x311),'jJqKJ':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','vIIoC':'skip-chromium','mvFLv':_0x358aa8(0x307),'pUnkd':_0x358aa8(0x2f2),'XAoMH':'user','RdUWJ':_0x358aa8(0x2b4),'NgbBB':_0x358aa8(0x299),'sMngB':_0x358aa8(0x216),'PcHkr':_0x358aa8(0x256),'nkvJF':_0x358aa8(0x2f5),'DafhD':'Skip\x20Claude\x20Code\x20plugin\x20+\x20skills\x20install\x20(for\x20OpenCode\x20users)'};return _0x473908['positional'](_0x13680c[_0x358aa8(0x237)],{'type':'string','description':_0x13680c[_0x358aa8(0x247)]})['option'](_0x13680c[_0x358aa8(0x22c)],{'type':_0x13680c[_0x358aa8(0x24e)],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option']('scope',{'type':_0x13680c['pUnkd'],'choices':[_0x13680c[_0x358aa8(0x27f)],_0x13680c['RdUWJ']],'description':_0x13680c['NgbBB']})[_0x358aa8(0x215)](_0x13680c['sMngB'],{'type':_0x13680c[_0x358aa8(0x2e5)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option']('force',{'type':_0x13680c[_0x358aa8(0x24e)],'description':_0x13680c[_0x358aa8(0x1dd)],'default':![]})['option'](_0x13680c[_0x358aa8(0x1d5)],{'type':_0x358aa8(0x307),'description':_0x13680c['DafhD'],'default':![]})[_0x358aa8(0x215)](_0x358aa8(0x21d),{'type':_0x13680c[_0x358aa8(0x24e)],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]});},async _0x277b53=>{const _0x549acd=_0x256f40,_0x56c183={'yAnrb':function(_0x22dd16,_0x5c31cb,_0x26786c){return _0x22dd16(_0x5c31cb,_0x26786c);},'TpdUD':'start'};await _0x56c183['yAnrb'](withTelemetry,_0x56c183['TpdUD'],_0x5e6167=>start(_0x277b53[_0x549acd(0x311)],{'skipChromium':_0x277b53[_0x549acd(0x312)],'scope':_0x277b53['scope'],'url':_0x277b53['url'],'force':_0x277b53['force'],'opencode':_0x277b53[_0x549acd(0x2f5)],'allowInsecureLocalhost':_0x277b53['allow-insecure-localhost']},_0x5e6167));})[_0x256f40(0x1ce)]('setup-ci\x20<token>',_0x256f40(0x2c2),_0x408fbe=>{const _0x3e2299=_0x256f40,_0x4b0d20={'IKmFH':_0x3e2299(0x311),'PXgvW':'string','RNqwe':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','bnPoG':_0x3e2299(0x279)};return _0x408fbe[_0x3e2299(0x303)](_0x4b0d20['IKmFH'],{'type':_0x3e2299(0x2f2),'description':_0x3e2299(0x31d),'demandOption':!![]})[_0x3e2299(0x215)](_0x3e2299(0x25f),{'type':_0x4b0d20['PXgvW'],'description':_0x4b0d20['RNqwe']})[_0x3e2299(0x215)]('base-url',{'type':_0x4b0d20['PXgvW'],'description':_0x4b0d20[_0x3e2299(0x2c5)]})[_0x3e2299(0x215)](_0x3e2299(0x312),{'type':'boolean','description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x237dce=>{const _0x4e027d=_0x256f40;await withTelemetry(_0x4e027d(0x1d1),_0x2c517d=>setupCi(_0x237dce['token'],{'profile':_0x237dce[_0x4e027d(0x25f)],'baseUrl':_0x237dce[_0x4e027d(0x21c)],'skipChromium':_0x237dce[_0x4e027d(0x312)]},_0x2c517d));})['command']('login','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)',()=>{},async()=>{const _0x1b8b84=_0x256f40;await withTelemetry(_0x1b8b84(0x2e7),()=>login());})[_0x256f40(0x1ce)](_0x256f40(0x2f4),_0x256f40(0x2ed),_0x53fedd=>{const _0x498dfb=_0x256f40,_0x362bc7={'SYnYe':_0x498dfb(0x307),'LSgEY':'scope','lzvVz':_0x498dfb(0x26f),'BRUYd':_0x498dfb(0x2b4)};return _0x53fedd['option'](_0x498dfb(0x2f5),{'type':_0x362bc7['SYnYe'],'description':'Install\x20skills\x20for\x20OpenCode','default':![]})['option'](_0x362bc7['LSgEY'],{'type':'string','choices':[_0x362bc7['lzvVz'],_0x362bc7[_0x498dfb(0x24c)]],'description':'Install\x20scope\x20for\x20skills'});},async _0x518ef0=>{const _0x21830c=_0x256f40,_0x3f2869={'HXXRS':function(_0x1f6efc,_0x19f4d1){return _0x1f6efc(_0x19f4d1);},'VNTWF':function(_0x3c87e1,_0x5d047b,_0x558f01){return _0x3c87e1(_0x5d047b,_0x558f01);}},_0x50438e=_0x3f2869[_0x21830c(0x29f)](Boolean,_0x518ef0[_0x21830c(0x2f5)]);await _0x3f2869['VNTWF'](withTelemetry,'skillup',()=>skillup({'autoInstall':_0x518ef0['scope'],'platform':_0x50438e?'opencode':_0x21830c(0x269)}));})[_0x256f40(0x1ce)](_0x256f40(0x287),_0x256f40(0x28d),()=>{},async()=>{const _0x448cf7={'wlXka':function(_0x5615b7,_0xaa2315,_0x47847a){return _0x5615b7(_0xaa2315,_0x47847a);},'PBxFS':'clean'};await _0x448cf7['wlXka'](withTelemetry,_0x448cf7['PBxFS'],()=>clean());})[_0x256f40(0x1ce)]('profile','Manage\x20profiles',_0x3b6ded=>{const _0x31e75c=_0x256f40,_0x5a9bb7={'hiyax':'profile-name','QHwpn':_0x31e75c(0x249),'GkNeW':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','xcqbT':_0x31e75c(0x216),'twHBd':_0x31e75c(0x214),'ouIey':_0x31e75c(0x307),'MVeFa':_0x31e75c(0x2a1),'ltqBQ':'string','zOjXw':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','aFlOG':'allow-insecure-localhost','ZSEoV':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','QQziX':'safe-mode','iEvrx':_0x31e75c(0x1c9),'APzye':'Name\x20of\x20the\x20profile','bInSt':'Profile\x20name','IqAOh':function(_0x5468a9,_0xbf5093,_0x4891b3){return _0x5468a9(_0xbf5093,_0x4891b3);},'VENbl':'profile\x20encrypt-auth','lyPgI':'profile\x20ls','qnHpc':_0x31e75c(0x253),'rTqIa':_0x31e75c(0x200),'AZWCV':'profile\x20config\x20set','XiuMK':_0x31e75c(0x302),'GSOBf':_0x31e75c(0x1c7),'XutnY':_0x31e75c(0x2d6),'NPMNf':_0x31e75c(0x1cd),'ZOqEE':'add\x20<profile-name>','kJhuG':'Add\x20profile\x20configuration','oFHZV':_0x31e75c(0x2b3),'Duiwa':_0x31e75c(0x1cc),'shPXn':'encrypt-auth\x20<profile>','KdBRJ':_0x31e75c(0x229),'ZJimb':_0x31e75c(0x209),'EGaUm':_0x31e75c(0x321),'WHtyH':'config','bwKCi':_0x31e75c(0x222)};return _0x3b6ded[_0x31e75c(0x265)](PROFILE_HELP)[_0x31e75c(0x1ce)](_0x5a9bb7['ZOqEE'],_0x5a9bb7['kJhuG'],_0x5e37d6=>{const _0x185eb4=_0x31e75c;return _0x5e37d6[_0x185eb4(0x303)](_0x5a9bb7['hiyax'],{'type':_0x185eb4(0x2f2),'description':_0x5a9bb7[_0x185eb4(0x289)],'demandOption':!![]})[_0x185eb4(0x215)]('ci',{'type':'boolean','description':_0x5a9bb7[_0x185eb4(0x236)],'default':![]})[_0x185eb4(0x215)]('skip-auth',{'type':_0x185eb4(0x307),'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})['option'](_0x5a9bb7['xcqbT'],{'type':'string','description':_0x5a9bb7[_0x185eb4(0x2c7)]})[_0x185eb4(0x215)]('force',{'type':_0x5a9bb7['ouIey'],'description':_0x185eb4(0x256),'default':![]})[_0x185eb4(0x215)](_0x5a9bb7[_0x185eb4(0x2d3)],{'type':_0x5a9bb7['ltqBQ'],'description':_0x5a9bb7[_0x185eb4(0x1e7)]})['option'](_0x5a9bb7['aFlOG'],{'type':_0x185eb4(0x307),'description':_0x5a9bb7[_0x185eb4(0x262)],'default':![]})['option'](_0x5a9bb7[_0x185eb4(0x205)],{'type':_0x185eb4(0x307),'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]});},async _0x3f5c8b=>{const _0x148124=_0x31e75c;await withTelemetry(_0x5a9bb7[_0x148124(0x2e1)],_0x15900e=>addEnv(_0x3f5c8b['profile-name'],{'ci':_0x3f5c8b['ci'],'skipAuth':_0x3f5c8b['skip-auth'],'url':_0x3f5c8b['url'],'force':_0x3f5c8b['force'],'cdpEndpoint':_0x3f5c8b[_0x148124(0x2a1)],'allowInsecureLocalhost':_0x3f5c8b['allow-insecure-localhost'],'safeMode':_0x3f5c8b[_0x148124(0x30d)]},_0x15900e),{'isElectron':Boolean(_0x3f5c8b[_0x5a9bb7['MVeFa']])});})[_0x31e75c(0x1ce)](_0x5a9bb7[_0x31e75c(0x306)],_0x5a9bb7['Duiwa'],_0x16c72c=>{const _0x6cdd96=_0x31e75c;return _0x16c72c[_0x6cdd96(0x303)](_0x6cdd96(0x248),{'type':_0x5a9bb7['ltqBQ'],'description':_0x5a9bb7['APzye'],'demandOption':!![]});},async _0x544e0e=>{await withTelemetry('profile\x20use',()=>useEnv(_0x544e0e['profile-name']));})['command'](_0x5a9bb7['shPXn'],_0x5a9bb7['KdBRJ'],_0x2ac9ab=>{const _0x13a779=_0x31e75c;return _0x2ac9ab[_0x13a779(0x303)]('profile',{'type':_0x5a9bb7[_0x13a779(0x29e)],'description':_0x5a9bb7[_0x13a779(0x1c4)],'demandOption':!![]});},async _0x1f2774=>{const _0x2d491f=_0x31e75c;await _0x5a9bb7[_0x2d491f(0x318)](withTelemetry,_0x5a9bb7[_0x2d491f(0x2f1)],()=>authEncrypt(_0x1f2774[_0x2d491f(0x25f)]));})[_0x31e75c(0x1ce)]('ls',_0x5a9bb7[_0x31e75c(0x2f7)],()=>{},async()=>{const _0x318407=_0x31e75c;await _0x5a9bb7['IqAOh'](withTelemetry,_0x5a9bb7[_0x318407(0x31a)],()=>envList());})['command'](_0x5a9bb7[_0x31e75c(0x31c)],'Update\x20authentication\x20for\x20an\x20existing\x20profile',_0x38ddd6=>{const _0x5f29f1=_0x31e75c;return _0x38ddd6['positional'](_0x5a9bb7['hiyax'],{'type':_0x5a9bb7['ltqBQ'],'description':_0x5a9bb7[_0x5f29f1(0x322)],'demandOption':!![]})[_0x5f29f1(0x215)](_0x5a9bb7[_0x5f29f1(0x2fb)],{'type':_0x5a9bb7[_0x5f29f1(0x294)],'description':_0x5a9bb7['ZSEoV']});},async _0x54cf46=>{const _0x41277f=_0x31e75c;await withTelemetry(_0x5a9bb7['rTqIa'],_0x30284d=>updateEnv(_0x54cf46[_0x41277f(0x248)],_0x30284d,{'allowInsecureLocalhost':_0x54cf46['allow-insecure-localhost']}));})['command'](_0x5a9bb7[_0x31e75c(0x2ac)],_0x5a9bb7['bwKCi'],_0x59d28e=>{const _0x2ac995=_0x31e75c,_0x1a319b={'Bipwj':_0x5a9bb7[_0x2ac995(0x29e)],'BdJvf':_0x5a9bb7['bInSt'],'FLSBw':_0x5a9bb7[_0x2ac995(0x295)],'VKfCP':'profile','jhRIQ':_0x2ac995(0x224)};return _0x59d28e['usage'](PROFILE_CONFIG_HELP)[_0x2ac995(0x1ce)](_0x5a9bb7['GSOBf'],'Set\x20a\x20config\x20value',_0x1de922=>{const _0x79ede=_0x2ac995;return _0x1de922[_0x79ede(0x303)](_0x79ede(0x25f),{'type':_0x5a9bb7['ltqBQ'],'description':'Profile\x20name','demandOption':!![]})['positional']('key',{'type':_0x5a9bb7['ltqBQ'],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','demandOption':!![]})['positional']('value',{'type':_0x79ede(0x2f2),'description':'Config\x20value','demandOption':!![]});},async _0x94f948=>{const _0x56e699=_0x2ac995;await _0x5a9bb7[_0x56e699(0x318)](withTelemetry,_0x5a9bb7['AZWCV'],()=>configSet(_0x94f948[_0x56e699(0x25f)],_0x94f948[_0x56e699(0x302)],_0x94f948['value']));})['command'](_0x2ac995(0x29c),'Get\x20a\x20config\x20value',_0x26d475=>{const _0x41aafb=_0x2ac995;return _0x26d475[_0x41aafb(0x303)](_0x41aafb(0x25f),{'type':_0x1a319b[_0x41aafb(0x1bf)],'description':_0x1a319b['BdJvf'],'demandOption':!![]})['positional'](_0x1a319b['FLSBw'],{'type':_0x1a319b['Bipwj'],'description':_0x41aafb(0x280),'demandOption':!![]});},async _0x4634ae=>{const _0x21e434=_0x2ac995;await withTelemetry(_0x21e434(0x293),()=>configGet(_0x4634ae[_0x21e434(0x25f)],_0x4634ae['key']));})['command'](_0x5a9bb7[_0x2ac995(0x1e3)],_0x5a9bb7[_0x2ac995(0x2b1)],_0x5c8613=>{const _0x448cde=_0x2ac995;return _0x5c8613[_0x448cde(0x303)](_0x1a319b['VKfCP'],{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x2e72a1=>{await _0x5a9bb7['IqAOh'](withTelemetry,'profile\x20config\x20list',()=>configList(_0x2e72a1['profile']));})[_0x2ac995(0x1ce)]('unset\x20<profile>\x20<key>','Remove\x20a\x20config\x20value',_0x310493=>{const _0x13b762=_0x2ac995;return _0x310493['positional']('profile',{'type':_0x13b762(0x2f2),'description':'Profile\x20name','demandOption':!![]})['positional'](_0x5a9bb7[_0x13b762(0x295)],{'type':_0x5a9bb7[_0x13b762(0x29e)],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x554e42=>{const _0x2f93f7=_0x2ac995;await withTelemetry(_0x1a319b['jhRIQ'],()=>configUnset(_0x554e42[_0x2f93f7(0x25f)],_0x554e42[_0x2f93f7(0x302)]));})[_0x2ac995(0x24b)](0x1,_0x2ac995(0x329));})['demandCommand'](0x1,_0x31e75c(0x2eb));})[_0x256f40(0x1ce)]('status',_0x256f40(0x2e9),()=>{},async()=>{const _0x5404a3=_0x256f40,_0x9d9052={'UhoaB':function(_0x24b1fa,_0x3ae4d4,_0x390bca){return _0x24b1fa(_0x3ae4d4,_0x390bca);},'rkWaR':'status'};await _0x9d9052['UhoaB'](withTelemetry,_0x9d9052[_0x5404a3(0x20c)],()=>status());})['command'](_0x256f40(0x246),'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x32b997=_0x256f40,_0x372009={'zmdon':function(_0x125ed1,_0x122750,_0x398197){return _0x125ed1(_0x122750,_0x398197);}};await _0x372009[_0x32b997(0x251)](withTelemetry,_0x32b997(0x246),()=>update());})[_0x256f40(0x1ce)]('go',_0x256f40(0x1e2),_0x46ec0d=>{const _0x62fc60=_0x256f40,_0x2e0bf4={'jfqBH':_0x62fc60(0x2f3),'XTvWJ':_0x62fc60(0x2f2),'oAFYE':'Optional\x20feature\x20ID','vemRC':_0x62fc60(0x25c),'bPPUF':_0x62fc60(0x282),'LkpQK':_0x62fc60(0x1f6),'EnbVa':_0x62fc60(0x1f5),'hYYbS':_0x62fc60(0x2dd),'TPqag':'model','lWRRI':_0x62fc60(0x1c1),'ymnHE':_0x62fc60(0x307),'tSmDm':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','WGQuy':'debug-outcome','qaKcF':'partial','uPpMD':_0x62fc60(0x217),'hfgbw':_0x62fc60(0x1c8),'NRkRo':'env','XlchQ':_0x62fc60(0x2bf),'xgueY':'item'};return _0x46ec0d[_0x62fc60(0x215)](_0x2e0bf4['jfqBH'],{'type':_0x2e0bf4['XTvWJ'],'description':_0x2e0bf4[_0x62fc60(0x25e)]})['option']('profile',{'type':'string','description':_0x2e0bf4['vemRC']})[_0x62fc60(0x215)](_0x62fc60(0x292),{'type':_0x2e0bf4[_0x62fc60(0x2db)],'description':_0x2e0bf4['bPPUF']})[_0x62fc60(0x215)](_0x2e0bf4['LkpQK'],{'type':_0x2e0bf4[_0x62fc60(0x1cf)],'description':'Scenario\x20index\x20(1-based)'})[_0x62fc60(0x215)]('start-path',{'type':_0x2e0bf4[_0x62fc60(0x2db)],'description':_0x2e0bf4['hYYbS']})[_0x62fc60(0x215)](_0x2e0bf4['TPqag'],{'type':_0x2e0bf4[_0x62fc60(0x2db)],'description':_0x2e0bf4[_0x62fc60(0x21e)]})['option'](_0x62fc60(0x2a5),{'type':_0x2e0bf4[_0x62fc60(0x1f2)],'description':_0x2e0bf4[_0x62fc60(0x2c3)],'default':![]})[_0x62fc60(0x215)](_0x2e0bf4[_0x62fc60(0x276)],{'type':_0x2e0bf4[_0x62fc60(0x2db)],'hidden':!![],'choices':['verified',_0x2e0bf4[_0x62fc60(0x2a0)],_0x2e0bf4[_0x62fc60(0x273)],'failed',_0x2e0bf4[_0x62fc60(0x227)]]})['option']('debug-address-comments',{'type':'boolean','hidden':!![]})['option'](_0x2e0bf4[_0x62fc60(0x1ca)],{'type':_0x2e0bf4['XTvWJ'],'hidden':!![]})[_0x62fc60(0x215)](_0x2e0bf4['XlchQ'],{'type':_0x2e0bf4[_0x62fc60(0x2db)],'hidden':!![]})['option'](_0x2e0bf4['xgueY'],{'type':_0x2e0bf4['EnbVa'],'hidden':!![]});},async _0x3a3347=>{const _0x33fe0e=_0x256f40,_0x536460={'FRSRu':function(_0x1af71b,_0x5200b9){return _0x1af71b(_0x5200b9);}};await _0x536460[_0x33fe0e(0x296)](runGoCommand,_0x3a3347);})['command']('auth',![],_0x2208ec=>{const _0xdb0409=_0x256f40,_0x26261f={'cxkFq':_0xdb0409(0x25f),'QOAOq':_0xdb0409(0x2f2),'crGSo':_0xdb0409(0x221),'zhKEC':function(_0x12ffc5,_0x3a8840,_0x32a97d){return _0x12ffc5(_0x3a8840,_0x32a97d);},'TrDjJ':'ranger\x20profile\x20encrypt-auth'};return _0x2208ec['command']('encrypt\x20<profile>',![],_0x56dad7=>{const _0x221f20=_0xdb0409;return _0x56dad7['positional'](_0x26261f['cxkFq'],{'type':_0x26261f['QOAOq'],'description':_0x26261f[_0x221f20(0x27a)],'demandOption':!![]});},async _0x47928e=>{const _0x5f38d1=_0xdb0409;_0x26261f['zhKEC'](warnRenamed,_0x5f38d1(0x22e),_0x26261f[_0x5f38d1(0x235)]),await authEncrypt(_0x47928e['profile']);})[_0xdb0409(0x24b)](0x1,_0xdb0409(0x2f6));},()=>{})['command']('start\x20[token]',![],_0x4d5fb2=>{const _0x511b1c=_0x256f40,_0x2dc93c={'ShAOu':'string','kNzsl':_0x511b1c(0x307),'TksKr':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','UNbOY':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','XbQsa':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url'};return _0x4d5fb2[_0x511b1c(0x303)]('token',{'type':_0x2dc93c[_0x511b1c(0x1ba)],'description':_0x511b1c(0x207)})[_0x511b1c(0x215)](_0x511b1c(0x312),{'type':_0x2dc93c[_0x511b1c(0x270)],'description':_0x2dc93c[_0x511b1c(0x2fe)],'default':![]})['option']('scope',{'type':_0x2dc93c[_0x511b1c(0x1ba)],'choices':['user',_0x511b1c(0x2b4)],'description':_0x2dc93c[_0x511b1c(0x2a2)]})[_0x511b1c(0x215)]('url',{'type':_0x511b1c(0x2f2),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x511b1c(0x1bc),{'type':_0x2dc93c['kNzsl'],'description':_0x2dc93c['XbQsa'],'default':![]});},async _0x4324ec=>{const _0x5098ae=_0x256f40,_0x1f5774={'xdzia':_0x5098ae(0x301),'VeoTH':_0x5098ae(0x25b),'GXppV':function(_0x4b3623,_0x506b4e,_0x54ca05){return _0x4b3623(_0x506b4e,_0x54ca05);}};warnRenamed(_0x1f5774['xdzia'],_0x1f5774['VeoTH']),await _0x1f5774[_0x5098ae(0x1fe)](withTelemetry,'start',_0x110578=>start(_0x4324ec['token'],{'skipChromium':_0x4324ec['skip-chromium'],'scope':_0x4324ec['scope'],'url':_0x4324ec[_0x5098ae(0x216)],'force':_0x4324ec[_0x5098ae(0x1bc)]},_0x110578));})[_0x256f40(0x1ce)](_0x256f40(0x21a),![],_0x24c032=>{const _0x2ad248=_0x256f40,_0x4a8596={'RmylU':'env','iMwVQ':'string','lzxrJ':_0x2ad248(0x25c),'lyFUW':_0x2ad248(0x2d9),'YfwBc':'Scenario\x20index\x20(1-based)','RsaNH':_0x2ad248(0x1f6),'JZJpc':_0x2ad248(0x1f5),'bgjgE':'start-path','LXfvk':_0x2ad248(0x2a5),'UnAne':_0x2ad248(0x1fc)};return _0x24c032['option'](_0x4a8596['RmylU'],{'type':_0x4a8596[_0x2ad248(0x1db)],'description':_0x4a8596['lzxrJ']})[_0x2ad248(0x215)]('task',{'type':_0x4a8596['iMwVQ'],'description':_0x4a8596[_0x2ad248(0x2df)]})[_0x2ad248(0x215)](_0x2ad248(0x245),{'type':'number','description':_0x4a8596['YfwBc']})['option'](_0x2ad248(0x25f),{'type':'string','hidden':!![]})['option'](_0x2ad248(0x292),{'type':_0x4a8596['iMwVQ'],'hidden':!![]})[_0x2ad248(0x215)](_0x4a8596['RsaNH'],{'type':_0x4a8596['JZJpc'],'hidden':!![]})['option'](_0x4a8596['bgjgE'],{'type':'string','description':_0x2ad248(0x2dd)})['option'](_0x2ad248(0x285),{'type':_0x4a8596[_0x2ad248(0x1db)],'hidden':!![]})[_0x2ad248(0x215)](_0x4a8596[_0x2ad248(0x30f)],{'type':'boolean','hidden':!![],'default':![]})['option'](_0x2ad248(0x305),{'type':_0x4a8596['iMwVQ'],'hidden':!![],'choices':[_0x2ad248(0x2da),_0x4a8596['UnAne'],_0x2ad248(0x217),_0x2ad248(0x2c6),_0x2ad248(0x1c8)]});},async _0x40a293=>{await runGoCommand(_0x40a293,!![]);})['command'](_0x256f40(0x284),![],_0x1865d9=>{const _0x36cc1d=_0x256f40,_0x13c0a6={'nUfTq':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','UnpBq':_0x36cc1d(0x307)};return _0x1865d9['positional']('env-name',{'type':_0x36cc1d(0x2f2),'description':_0x13c0a6['nUfTq'],'demandOption':!![]})['option']('ci',{'type':_0x13c0a6['UnpBq'],'description':_0x36cc1d(0x1ea),'default':![]})['option'](_0x36cc1d(0x266),{'type':_0x13c0a6[_0x36cc1d(0x1de)],'description':_0x36cc1d(0x231),'default':![]});},async _0x355e82=>{const _0x25e15f=_0x256f40,_0x1ca854={'QPDpn':function(_0x528435,_0x2b9fcd,_0x4d3d0f){return _0x528435(_0x2b9fcd,_0x4d3d0f);},'aDHBt':_0x25e15f(0x259),'TRGHJ':'ranger\x20profile\x20add','BxdMh':function(_0x1d0edd,_0x35588a,_0x579b5c){return _0x1d0edd(_0x35588a,_0x579b5c);}};_0x1ca854['QPDpn'](warnRenamed,_0x1ca854[_0x25e15f(0x1e5)],_0x1ca854['TRGHJ']),await _0x1ca854['BxdMh'](withTelemetry,'add\x20env',_0x1af353=>addEnv(_0x355e82['env-name'],{'ci':_0x355e82['ci'],'skipAuth':_0x355e82['skip-auth']},_0x1af353));})['command']('use\x20<env-name>',![],_0x5e990b=>{const _0x171494=_0x256f40;return _0x5e990b['positional'](_0x171494(0x2ad),{'type':'string','description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x59dccb=>{const _0x317e88=_0x256f40,_0x2ca2e6={'hpfLf':_0x317e88(0x2bc)};warnRenamed(_0x2ca2e6[_0x317e88(0x2c1)],'ranger\x20profile\x20use'),await withTelemetry(_0x317e88(0x1ec),()=>useEnv(_0x59dccb[_0x317e88(0x2ad)]));})['command'](_0x256f40(0x2fd),![],_0x5e2245=>{const _0x380539=_0x256f40,_0x3b2d06={'XWuaN':'env','flTbG':_0x380539(0x2f2),'TzUkp':'key','lYHUz':'value','kzGep':'ranger\x20config\x20set','BttCM':'Environment\x20name','WoeQl':'Config\x20key','RFrEP':'ranger\x20config\x20get','dNRXx':'ranger\x20profile\x20config\x20get','BoYxO':function(_0xc18bfe,_0x4fa4ce,_0x1f9b04){return _0xc18bfe(_0x4fa4ce,_0x1f9b04);},'doQPJ':'config\x20get','iPEOS':function(_0x5bab94,_0x1a144f,_0x184fd1){return _0x5bab94(_0x1a144f,_0x184fd1);},'UUVru':'ranger\x20config\x20list','xvnBV':_0x380539(0x24f),'uPNDq':'You\x20must\x20specify\x20a\x20config\x20subcommand'};return _0x5e2245['command'](_0x3b2d06[_0x380539(0x2fc)],![],_0x8b61d8=>{const _0x197f48=_0x380539;return _0x8b61d8['positional'](_0x3b2d06[_0x197f48(0x30e)],{'type':_0x3b2d06[_0x197f48(0x26c)],'description':_0x197f48(0x258),'demandOption':!![]})[_0x197f48(0x303)](_0x3b2d06[_0x197f48(0x1c6)],{'type':_0x197f48(0x2f2),'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','demandOption':!![]})[_0x197f48(0x303)](_0x3b2d06['lYHUz'],{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0x4ab8c1=>{const _0x41ba24=_0x380539;warnRenamed(_0x3b2d06[_0x41ba24(0x20d)],'ranger\x20profile\x20config\x20set'),await withTelemetry('config\x20set',()=>configSet(_0x4ab8c1['env'],_0x4ab8c1[_0x41ba24(0x302)],_0x4ab8c1['value']));})[_0x380539(0x1ce)]('get\x20<env>\x20<key>',![],_0x5c6e35=>{const _0x2fbf58=_0x380539;return _0x5c6e35['positional'](_0x2fbf58(0x2c8),{'type':_0x2fbf58(0x2f2),'description':_0x3b2d06['BttCM'],'demandOption':!![]})['positional'](_0x2fbf58(0x302),{'type':_0x2fbf58(0x2f2),'description':_0x3b2d06[_0x2fbf58(0x1fd)],'demandOption':!![]});},async _0x43ced8=>{const _0x457c2e=_0x380539;warnRenamed(_0x3b2d06[_0x457c2e(0x310)],_0x3b2d06['dNRXx']),await _0x3b2d06[_0x457c2e(0x1f1)](withTelemetry,_0x3b2d06[_0x457c2e(0x20a)],()=>configGet(_0x43ced8[_0x457c2e(0x2c8)],_0x43ced8['key']));})[_0x380539(0x1ce)]('list\x20<env>',![],_0x3d05e1=>{const _0x426669=_0x380539;return _0x3d05e1['positional'](_0x426669(0x2c8),{'type':_0x3b2d06['flTbG'],'description':'Environment\x20name','demandOption':!![]});},async _0x14181d=>{const _0x4c54d9=_0x380539;_0x3b2d06[_0x4c54d9(0x2ee)](warnRenamed,_0x3b2d06[_0x4c54d9(0x1d0)],_0x4c54d9(0x2a7)),await _0x3b2d06[_0x4c54d9(0x1f1)](withTelemetry,'config\x20list',()=>configList(_0x14181d['env']));})['command'](_0x380539(0x1f0),![],_0x46b0b9=>{const _0x58a695=_0x380539;return _0x46b0b9[_0x58a695(0x303)]('env',{'type':_0x3b2d06['flTbG'],'description':_0x58a695(0x258),'demandOption':!![]})[_0x58a695(0x303)](_0x58a695(0x302),{'type':_0x3b2d06[_0x58a695(0x26c)],'description':_0x58a695(0x26a),'demandOption':!![]});},async _0xd9cd61=>{warnRenamed('ranger\x20config\x20unset','ranger\x20profile\x20config\x20unset'),await _0x3b2d06['BoYxO'](withTelemetry,'config\x20unset',()=>configUnset(_0xd9cd61['env'],_0xd9cd61['key']));})['demandCommand'](0x1,_0x3b2d06['uPNDq']);})['command'](_0x256f40(0x2c8),![],_0x4fda45=>{const _0x5e6079=_0x256f40,_0x462e77={'tugQQ':_0x5e6079(0x1c5),'NKzcY':'string','kyABZ':_0x5e6079(0x288),'ihcsZ':_0x5e6079(0x230),'kzVWk':'You\x20must\x20specify\x20an\x20env\x20subcommand'};return _0x4fda45[_0x5e6079(0x1ce)]('ls',![],()=>{},async()=>{const _0x496192=_0x5e6079;warnRenamed(_0x496192(0x1bd),'ranger\x20profile\x20ls'),await withTelemetry(_0x462e77['tugQQ'],()=>envList());})['command'](_0x462e77['ihcsZ'],![],_0x2df3c6=>{const _0x136945=_0x5e6079;return _0x2df3c6['positional']('env-name',{'type':_0x462e77['NKzcY'],'description':_0x136945(0x1e0),'demandOption':!![]});},async _0xd9c116=>{const _0x221a1d=_0x5e6079;warnRenamed(_0x462e77[_0x221a1d(0x211)],_0x221a1d(0x297)),await withTelemetry('env\x20update',_0x17bd33=>updateEnv(_0xd9c116[_0x221a1d(0x2ad)],_0x17bd33));})['demandCommand'](0x1,_0x462e77[_0x5e6079(0x1eb)]);})['command'](_0x256f40(0x2f3),![],_0x3e5707=>{const _0x1b16a2=_0x256f40,_0x3294d7={'oKnxb':_0x1b16a2(0x2f2),'FIKiW':'Feature\x20review\x20description','XvwWU':_0x1b16a2(0x2d2),'OjRoY':'array','Wtcba':_0x1b16a2(0x1ef),'rHBLJ':function(_0x30b426,_0x53295b,_0x32f779,_0x300c96){return _0x30b426(_0x53295b,_0x32f779,_0x300c96);},'iDWkF':_0x1b16a2(0x20f),'sURNN':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','oMPZy':'number','sFpCP':_0x1b16a2(0x1c2),'ZMrzF':_0x1b16a2(0x2f9),'SDByd':_0x1b16a2(0x31b),'wlCBd':_0x1b16a2(0x307),'noQma':function(_0x24e3e4,_0x486260,_0x33b128){return _0x24e3e4(_0x486260,_0x33b128);},'sBzQN':_0x1b16a2(0x28b),'CuzwR':_0x1b16a2(0x219),'PGgua':'Feature\x20review\x20ID','ucbhD':function(_0x3007af,_0x5201b1,_0x3cd831){return _0x3007af(_0x5201b1,_0x3cd831);},'msQZE':_0x1b16a2(0x24a),'jYwFK':'ranger\x20feature\x20resume','edfMM':'ranger\x20resume','NvXEI':'feature\x20resume','djGNh':_0x1b16a2(0x233),'LbeCj':'ranger\x20add-scenario','gajfc':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','bqaxH':'ranger\x20feature\x20get-feedback','rSgZS':'ranger\x20get-review','uzjmp':_0x1b16a2(0x314),'Unrwc':_0x1b16a2(0x29b),'SGYwW':_0x1b16a2(0x1c0),'oAjUY':_0x1b16a2(0x2aa),'Qmfqn':_0x1b16a2(0x29d),'laVal':function(_0x461b86,_0xdf5579,_0x2a1e26){return _0x461b86(_0xdf5579,_0x2a1e26);},'GfckF':_0x1b16a2(0x1f7),'ALzRt':_0x1b16a2(0x1ed),'HfmMC':_0x1b16a2(0x277),'oImHo':_0x1b16a2(0x2b5),'wzmuX':'add-checklist-item\x20<description>','TzJXW':_0x1b16a2(0x2b0),'fBjnI':'restore\x20<id>','Ypdll':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand'};return _0x3e5707['command'](_0x1b16a2(0x2e8),![],_0x1442f8=>{const _0x1cc292=_0x1b16a2;return _0x1442f8['positional'](_0x1cc292(0x2a3),{'type':_0x3294d7[_0x1cc292(0x30a)],'description':_0x1cc292(0x1d7),'demandOption':!![]})[_0x1cc292(0x215)]('description',{'type':_0x3294d7['oKnxb'],'alias':'d','description':_0x3294d7['FIKiW']})[_0x1cc292(0x215)](_0x3294d7[_0x1cc292(0x239)],{'type':'array','alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option']('scenario',{'type':_0x3294d7['OjRoY'],'hidden':!![]});},async _0x1b4ba1=>{const _0x5285a1=_0x1b16a2;warnRenamed('ranger\x20feature\x20create',_0x3294d7['Wtcba']),_0x3294d7[_0x5285a1(0x313)](warnFlagRenamed,_0x5285a1(0x1ef),'--checklist',_0x5285a1(0x226));const _0x5b4a72=_0x1b4ba1[_0x5285a1(0x1f6)]||_0x1b4ba1[_0x5285a1(0x2d2)];await withTelemetry(_0x3294d7[_0x5285a1(0x23c)],()=>featureCreate(_0x1b4ba1[_0x5285a1(0x2a3)],{'description':_0x1b4ba1[_0x5285a1(0x2e0)],'scenarios':_0x5b4a72}));})['command'](_0x3294d7[_0x1b16a2(0x2bd)],![],_0x4699b4=>{const _0x38ea0=_0x1b16a2;return _0x4699b4['option']('current-branch',{'type':_0x38ea0(0x307),'description':_0x3294d7[_0x38ea0(0x28c)]})[_0x38ea0(0x215)]('limit',{'type':_0x3294d7[_0x38ea0(0x225)],'alias':'l','description':_0x3294d7[_0x38ea0(0x28f)],'default':0xa})['option']('offset',{'type':_0x38ea0(0x1f5),'alias':'o','description':_0x3294d7['ZMrzF'],'default':0x0})['option'](_0x3294d7[_0x38ea0(0x22d)],{'type':_0x3294d7['wlCBd'],'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x5e5e8d=>{const _0x3599bd=_0x1b16a2;_0x3294d7['noQma'](warnRenamed,_0x3294d7['sBzQN'],_0x3294d7[_0x3599bd(0x1d2)]),await withTelemetry(_0x3599bd(0x2b9),()=>featureList({'currentBranch':_0x5e5e8d[_0x3599bd(0x298)],'limit':_0x5e5e8d['limit'],'offset':_0x5e5e8d['offset'],'includeDeleted':_0x5e5e8d[_0x3599bd(0x31b)]}));})[_0x1b16a2(0x1ce)](_0x3294d7[_0x1b16a2(0x1be)],![],_0x2178ad=>{const _0x526be7=_0x1b16a2;return _0x2178ad[_0x526be7(0x303)]('id',{'type':'string','description':_0x3294d7[_0x526be7(0x309)]});},async _0x5540c5=>{const _0x42f424=_0x1b16a2;_0x3294d7[_0x42f424(0x2b6)](warnRenamed,_0x42f424(0x2fa),_0x42f424(0x2a4)),await _0x3294d7['ucbhD'](withTelemetry,'feature\x20show',()=>featureShow(_0x5540c5['id']));})[_0x1b16a2(0x1ce)]('resume\x20[id]',![],_0x361a26=>{const _0x258610=_0x1b16a2;return _0x361a26[_0x258610(0x303)]('id',{'type':'string','description':_0x3294d7['msQZE']});},async _0x4a6cc1=>{warnRenamed(_0x3294d7['jYwFK'],_0x3294d7['edfMM']),await _0x3294d7['noQma'](withTelemetry,_0x3294d7['NvXEI'],()=>featureResume(_0x4a6cc1['id']));})['command'](_0x3294d7['wzmuX'],![],_0x287908=>{const _0xde4e49=_0x1b16a2;return _0x287908[_0xde4e49(0x303)](_0xde4e49(0x2e0),{'type':_0x3294d7[_0xde4e49(0x30a)],'description':_0x3294d7['djGNh'],'demandOption':!![]})[_0xde4e49(0x215)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x3ddbf7=>{const _0x4f53b6=_0x1b16a2;warnRenamed('ranger\x20feature\x20add-checklist-item',_0x3294d7[_0x4f53b6(0x267)]),await withTelemetry('feature\x20add-checklist-item',()=>featureAddScenario(_0x3ddbf7['description'],_0x3ddbf7['id']));})['command'](_0x3294d7['TzJXW'],![],_0x180c5b=>{const _0x407e99=_0x1b16a2;return _0x180c5b[_0x407e99(0x303)]('id',{'type':_0x3294d7[_0x407e99(0x30a)],'description':_0x3294d7[_0x407e99(0x2f8)]});},async _0x32f02b=>{const _0x184fa1=_0x1b16a2;_0x3294d7['ucbhD'](warnRenamed,_0x3294d7[_0x184fa1(0x23b)],_0x3294d7[_0x184fa1(0x2ca)]),await withTelemetry(_0x3294d7[_0x184fa1(0x20e)],()=>featureGetReview(_0x32f02b['id']));})['command']('delete\x20[id]',![],_0x516e89=>{const _0x130a77=_0x1b16a2;return _0x516e89['positional']('id',{'type':_0x3294d7[_0x130a77(0x30a)],'description':_0x3294d7[_0x130a77(0x309)]});},async _0x3440e8=>{const _0x383fc7=_0x1b16a2;warnRenamed(_0x3294d7[_0x383fc7(0x275)],_0x3294d7[_0x383fc7(0x2bb)]),await withTelemetry(_0x3294d7[_0x383fc7(0x2b8)],()=>featureDelete(_0x3440e8['id']));})[_0x1b16a2(0x1ce)](_0x3294d7[_0x1b16a2(0x238)],![],_0x2e4a8f=>{const _0x265369=_0x1b16a2;return _0x2e4a8f['positional']('id',{'type':_0x265369(0x2f2),'description':_0x3294d7['Qmfqn'],'demandOption':!![]});},async _0x9007fa=>{const _0x32bd1e=_0x1b16a2;_0x3294d7['laVal'](warnRenamed,_0x3294d7['GfckF'],_0x32bd1e(0x2e2)),await _0x3294d7['noQma'](withTelemetry,_0x3294d7[_0x32bd1e(0x2ba)],()=>featureRestore(_0x9007fa['id']));})['demandCommand'](0x1,_0x3294d7[_0x1b16a2(0x27d)]);})[_0x256f40(0x1ce)]('hook',![],_0x27bc1b=>{const _0x28a462=_0x256f40,_0x1b6a11={'eFtNq':'session-id','btvCa':_0x28a462(0x274),'UjlBj':function(_0xe2a67f,_0x32c3d2,_0x5172c9){return _0xe2a67f(_0x32c3d2,_0x5172c9);},'RzKVe':'string','mgseD':'enable','emBeE':_0x28a462(0x255),'HngQt':'disable','TmYSE':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','sJBtb':'name','HkrHW':_0x28a462(0x26b)};return _0x27bc1b['command'](_0x1b6a11['mgseD'],_0x1b6a11['emBeE'],_0x113851=>{return _0x113851['option'](_0x1b6a11['eFtNq'],{'type':'string','description':_0x1b6a11['btvCa']});},async _0x424085=>{const _0x22eec8=_0x28a462;await _0x1b6a11['UjlBj'](withTelemetry,'hook:enable',()=>hook(_0x22eec8(0x21b),_0x424085[_0x22eec8(0x1cb)]));})[_0x28a462(0x1ce)](_0x1b6a11[_0x28a462(0x1e9)],_0x1b6a11['TmYSE'],_0x22a780=>{const _0x5bff3d=_0x28a462;return _0x22a780[_0x5bff3d(0x215)](_0x1b6a11['eFtNq'],{'type':_0x1b6a11[_0x5bff3d(0x2f0)],'description':_0x1b6a11[_0x5bff3d(0x1ff)]});},async _0x5c6058=>{const _0x3ba1d9=_0x28a462;await withTelemetry(_0x3ba1d9(0x22f),()=>hook('disable',_0x5c6058['session-id']));})[_0x28a462(0x215)](_0x1b6a11[_0x28a462(0x300)],{'type':_0x1b6a11['RzKVe'],'description':_0x1b6a11['HkrHW']})['option'](_0x1b6a11[_0x28a462(0x243)],{'type':_0x1b6a11['RzKVe'],'description':_0x1b6a11['btvCa']});},async _0x58caa9=>{const _0x38ad5e=_0x256f40,_0x3b32ab={'LNePU':_0x38ad5e(0x1cb)};_0x58caa9['name']&&await hook(_0x58caa9['name'],_0x58caa9[_0x3b32ab[_0x38ad5e(0x2a9)]]);})['demandCommand'](0x1,_0x256f40(0x212))['strictCommands']()['fail'](async(_0x2c4330,_0x543c84,_0xac8e02)=>{const _0x3c1a90=_0x256f40,_0x4e8c97={'WBYes':function(_0x53d8ec,_0x5e6271,_0x471996){return _0x53d8ec(_0x5e6271,_0x471996);},'BkcHm':'Unknown\x20command','JrTBO':_0x3c1a90(0x257),'AhAFv':function(_0x8fbf01,_0x1fa38d){return _0x8fbf01(_0x1fa38d);},'nqeIA':function(_0x3b3945){return _0x3b3945();},'hxOOh':function(_0x324229,_0x50f3ce){return _0x324229||_0x50f3ce;}},_0x113c20=sanitizeArgs(process['argv'][_0x3c1a90(0x1e6)](0x2)),_0xf8c787=_0x4e8c97['WBYes'](getErrorType,_0x2c4330,_0x543c84);if(_0x2c4330&&_0x2c4330[_0x3c1a90(0x201)](_0x4e8c97['BkcHm'])){const _0x249108=process[_0x3c1a90(0x2ef)][0x2];console[_0x3c1a90(0x324)](_0x3c1a90(0x1da)+_0x249108),console[_0x3c1a90(0x324)](_0x4e8c97[_0x3c1a90(0x27c)]);}else{if(_0x2c4330)console[_0x3c1a90(0x324)]('\x0a'+_0x2c4330+'\x0a');else _0x543c84&&console[_0x3c1a90(0x324)](_0x3c1a90(0x261)+_0x543c84[_0x3c1a90(0x2cc)]+'\x0a');}await _0x4e8c97[_0x3c1a90(0x29a)](logDesirePath,{'rawCommand':_0x113c20,'errorMessage':_0x2c4330||_0x543c84?.['message'],'errorType':_0xf8c787});const _0x4fce51=_0x4e8c97['nqeIA'](getCurrentCollector);_0x4fce51&&await _0x4fce51[_0x3c1a90(0x1d3)](_0x543c84||new Error(_0x4e8c97[_0x3c1a90(0x22a)](_0x2c4330,_0x3c1a90(0x25d)))),process['exit'](0x1);})[_0x256f40(0x20b)]('Documentation:\x0a'+_0x256f40(0x283)+'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)')['help']()['alias'](_0x256f40(0x320),'h')[_0x256f40(0x2d4)]();
2
+ const _0x117b27=_0x49a2;(function(_0x4970c7,_0x299200){const _0x340bed=_0x49a2,_0x34d5bc=_0x4970c7();while(!![]){try{const _0x290aba=-parseInt(_0x340bed(0x156))/0x1*(-parseInt(_0x340bed(0x215))/0x2)+parseInt(_0x340bed(0x14b))/0x3*(-parseInt(_0x340bed(0x21f))/0x4)+parseInt(_0x340bed(0x21c))/0x5+-parseInt(_0x340bed(0x23b))/0x6*(parseInt(_0x340bed(0x155))/0x7)+parseInt(_0x340bed(0x114))/0x8+-parseInt(_0x340bed(0x1c1))/0x9*(-parseInt(_0x340bed(0x1b5))/0xa)+-parseInt(_0x340bed(0x17a))/0xb;if(_0x290aba===_0x299200)break;else _0x34d5bc['push'](_0x34d5bc['shift']());}catch(_0x3ad934){_0x34d5bc['push'](_0x34d5bc['shift']());}}}(_0x4952,0x7965d));import _0x380ee0 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x4b5ce8=_0x49a2,_0x5699b9={'mDROs':function(_0x2faf90,_0x2be6b3,_0xc7af8a){return _0x2faf90(_0x2be6b3,_0xc7af8a);},'PYSWH':function(_0x1308a5,_0xec4e50){return _0x1308a5(_0xec4e50);}};let _0x176ec6=process['cwd']();const _0x598401=parse(_0x176ec6)['root'];while(_0x176ec6!==_0x598401){if(existsSync(join(_0x176ec6,_0x4b5ce8(0x1b8)))||existsSync(_0x5699b9[_0x4b5ce8(0x1c2)](join,_0x176ec6,_0x4b5ce8(0x1e0))))return _0x176ec6;_0x176ec6=_0x5699b9[_0x4b5ce8(0x1af)](dirname,_0x176ec6);}return process['cwd']();}_0x380ee0['config']({'path':join(findProjectRoot(),_0x117b27(0x1e0))});import _0x54036b from'yargs/yargs';function _0x4952(){const _0x2206e8=['NOYrh','fail','JdQtV','gebeY','Name\x20of\x20the\x20environment\x20to\x20update','FKnlq','wMAwY','profile\x20add','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','JBHJD','gztGA','mnOPq','allow-insecure-localhost','tQHYR','repeat','NbjGA','evaluation','scope','checklist','gVoQx','IvZUN','ranger\x20auth\x20encrypt','log','enable','Skip\x20Chromium\x20browser\x20installation','positional','boolean','ranger\x20feature\x20delete','PYSWH','AQIOD','verified','cNJXO','blocked','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','120LlNFga','setup\x20[token]','profile\x20config\x20list','.ranger','lRSse','PeIhw','list','WKVom','name','command','Profile\x20name','--scenario','228402ZvZEVF','mDROs','opencode','hlWUJ','FdTgd','use\x20<profile-name>','vvgHS','offset','UbSxO','include-deleted','Install\x20scope\x20for\x20skills','KslBa','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','cBdHz','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','flag','limit','Get\x20a\x20config\x20value','status','env\x20update','feature\x20get-feedback','start','\x20is\x20now\x20','List\x20all\x20config\x20for\x20a\x20profile','ranger\x20show','YFFFs','item','ranger\x20create','profile\x20config\x20unset','hook','.env','jNhRz','env','lWqdt','QWhIb','Switch\x20to\x20using\x20a\x20specific\x20profile','current-branch','Bhwes','mumKt','cnEto','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','igAfg','Scenario\x20description','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','ranger\x20feature\x20restore','auth','\x0aIssues:','failed','lSJAo','option','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','safe-mode','config\x20list','LFPpv','Set\x20a\x20config\x20value','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','iAbqf','orNvR','ranger\x20use','scriptName','aRJKF','add-checklist-item\x20<description>','ranger\x20profile\x20config\x20get','hook:enable','--item','feature','argv','rqNFD','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','VmKak','project','Name\x20of\x20the\x20profile\x20to\x20update','oCuHE','includes','Feature\x20review\x20ID','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','slice','FfPjY','RCXLB','ccvwl','ranger\x20delete','nbsyn','start\x20[token]','210264AHCpwQ','You\x20must\x20specify\x20a\x20command','update\x20<profile-name>','\x20VERIFIED','epilogue','aWQKC','Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','1143405nujLQv','base-url','dxJHX','108BQtkAP','startsWith','partial','ranger\x20config\x20set','disable','profile\x20config\x20set','debug-outcome','wfsWG','ranger\x20profile\x20config\x20list','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','CPxMN','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','FOIeJ','ranger\x20go','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','jBBAD','CjFME','KuVCK','PKfPY','add\x20env\x20<env-name>','aqruE','LyVPH','ranger\x20resume','You\x20must\x20specify\x20a\x20config\x20subcommand','profile\x20ls','You\x20must\x20specify\x20a\x20profile\x20subcommand','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','RjCOF','18AjHdbK','uLINM','restore\x20<id>','\x20FAILED','\x0aError:\x20','EVubj','HuczG','BTdbi','\x0aUnknown\x20command:\x20','kzYmy','oZfpR','JGCgZ','Update\x20authentication\x20for\x20an\x20existing\x20profile','ToOjR','task','string','ranger\x20profile\x20config\x20set','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','lyXTH','config','Feature\x20review\x20description','sLWJj','XNTrq','env\x20list','HkEmh','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','--env','fVmEs','JaVTD','DSAgI','set\x20<env>\x20<key>\x20<value>','PGCEj','unset\x20<profile>\x20<key>','start-path','--profile','report','IXBif','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','list\x20<env>','List\x20all\x20feature\x20reviews','PiVtD','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','severity','--task','skip-auth','delete','uNXXZ','ERYpQ','ranger\x20config\x20list','Config\x20key','PsWFm','pNGIQ','login','DmYgR','show','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','mXIyL','EgrJf','ranger\x20feature\x20get-feedback','restore','JqCUr','LMgtn','user','url','SGQhJ','ranger\x20profile\x20update','qVDCX','Summary:\x20','VvVTY','ranger\x20list','xQfXq','encrypt\x20<profile>','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','PBinF','SyZeV','number','Optional\x20feature\x20ID','trackCommandError','help','iugGP','pMeUV','NJXSo','setup-ci\x20<token>','ranger\x20feature\x20add-checklist-item','ranger\x20feature\x20create','pVDkX','create\x20<name>','ranger\x20add\x20env','ranger\x20profile\x20config\x20unset','Config\x20value','exitCode','feature\x20add-checklist-item','5129528KNyhZP','usage','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','skillup','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','oEOqX','CyFKR','MEAEC','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','EnTKP','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','gWHff','GRiEw','Feature\x20review\x20ID\x20to\x20restore','qfUaM','PaUGk','demandCommand','some','FWkQr','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','config\x20unset','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','use\x20<env-name>','list\x20<profile>','cdp-endpoint','GDgGR','ranger\x20profile\x20use','set\x20<profile>\x20<key>\x20<value>','jmSuS','NnqKg','ranger\x20profile\x20encrypt-auth','scenario','Include\x20soft-deleted\x20feature\x20reviews','nnceN','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','incomplete','EOZeK','JOAEp','exclude-scenario','xHZNR','pNQiL','pVhkM','error','verify-feature','message','SOEPg','mJNtE','profile\x20encrypt-auth','IEPmw','dnQzm','session-id','force','New\x20scenario\x20description','description','debug-address-comments','30846izIrEs','YGbth','ranger\x20profile\x20add','token','LrrRX','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.','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','ranger\x20setup','IkDuJ','NvHmX','858732xNXXBg','1OIvuSo','qVyul','headed','IfcRM','TYcqo','env-name','Config\x20key\x20to\x20remove','ranger\x20verify-feature','profile','Ranger\x20API\x20token','setup-ci','parse','rDXDQ','Ntazg','show\x20[id]','QmJyR','ovUYh','issues','hVGLK','bAdku','unset\x20<env>\x20<key>','xxvvm','eckeh','--checklist','encrypt-auth\x20<profile>','Qmnlx','value','zDCyD','delete\x20[id]','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','\x20\x20https://docs.ranger.net\x0a','BDxwp','ZvGwg','JPnCw','HhFvk','VLOPb','1503183KDdqCb','version','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','use','Number\x20of\x20feature\x20reviews\x20to\x20skip','JraLx','update','--notes','Environment\x20name','vOjeY','WgSOx','CZsBd','notes','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','skip-chromium','feature\x20create','mdORk','feature\x20delete','Unknown\x20error','profile-name','key','cMfCq','SSxVG','JlbKS'];_0x4952=function(){return _0x2206e8;};return _0x4952();}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 _0x3eca0f=>{const _0x12e508=_0x117b27,_0x168b08=getCurrentCollector();_0x168b08&&await _0x168b08['trackCommandError'](_0x3eca0f),process[_0x12e508(0x112)]=0x1;});const rawArgs=process['argv']['slice'](0x2),TOP_LEVEL_HELP=_0x117b27(0x150),PROFILE_HELP=_0x117b27(0x129),PROFILE_CONFIG_HELP=_0x117b27(0x254);function warnRenamed(_0x1d8b29,_0x331a93){const _0x4b9fdd=_0x117b27;console['error']('\x0a'+_0x1d8b29+_0x4b9fdd(0x1d8)+_0x331a93+'\x0a');}function _0x49a2(_0x42c3ef,_0x4d6291){_0x42c3ef=_0x42c3ef-0xf8;const _0x4952ed=_0x4952();let _0x49a23a=_0x4952ed[_0x42c3ef];return _0x49a23a;}function argUsed(_0x7706e1){const _0x30e09c=_0x117b27;return rawArgs[_0x30e09c(0x125)](_0x3df6a5=>_0x3df6a5===_0x7706e1||_0x3df6a5[_0x30e09c(0x220)](_0x7706e1+'='));}function warnFlagRenamed(_0x570ef7,_0x328cc7,_0x12bf96){argUsed(_0x328cc7)&&warnRenamed(_0x570ef7+'\x20'+_0x328cc7,_0x570ef7+'\x20'+_0x12bf96);}async function runGoCommand(_0x43fc31,_0x131edf=![]){const _0x16da70=_0x117b27,_0x3c6b15={'hNKzg':function(_0x48b4d3,_0x4f7af6,_0x4485c2){return _0x48b4d3(_0x4f7af6,_0x4485c2);},'nFXgk':function(_0x586341,_0x1c524b,_0x5a02d2,_0x2c585b){return _0x586341(_0x1c524b,_0x5a02d2,_0x2c585b);},'JOAEp':_0x16da70(0x25d),'IXBif':'ranger\x20go','IvZUN':_0x16da70(0x181),'pNQiL':_0x16da70(0x202),'uLINM':_0x16da70(0x24e),'FxVPG':_0x16da70(0x14a),'RCXLB':function(_0x584c36,_0x31ba16){return _0x584c36+_0x31ba16;},'ovUYh':_0x16da70(0x218),'tQHYR':function(_0x79730b,_0x4d5f73){return _0x79730b===_0x4d5f73;},'pOtbZ':'\x20INCOMPLETE','GlIdl':_0x16da70(0x1f0)};_0x131edf&&_0x3c6b15['hNKzg'](warnRenamed,_0x16da70(0x15d),_0x16da70(0x22c));_0x3c6b15['nFXgk'](warnFlagRenamed,'ranger\x20go',_0x16da70(0x255),_0x3c6b15[_0x16da70(0x139)]),warnFlagRenamed(_0x3c6b15[_0x16da70(0x25f)],_0x16da70(0x266),_0x3c6b15[_0x16da70(0x1a7)]),warnFlagRenamed('ranger\x20go',_0x3c6b15[_0x16da70(0x13c)],'--scenario');const _0x499811=await loadRangerConfig(),_0x5157a9=_0x43fc31['model'],_0xcd8318=_0x499811['model'],_0x3a002d=_0x5157a9??_0xcd8318,_0x577aa6=_0x5157a9?_0x16da70(0x1d1):_0xcd8318?_0x3c6b15[_0x16da70(0x23c)]:'default',_0x1ce211=await verifyFeature({'featureId':_0x43fc31['feature'],'profile':_0x43fc31['profile']??_0x43fc31['env'],'notes':_0x43fc31['notes']??_0x43fc31[_0x16da70(0x249)],'scenario':_0x43fc31['scenario']??_0x43fc31['item'],'startPath':_0x43fc31['start-path'],'debugOutcome':_0x43fc31['debug-outcome'],'debugAddressComments':_0x43fc31[_0x3c6b15['FxVPG']],'headed':_0x43fc31['headed'],'verifyModel':_0x3a002d,'verifyModelInput':_0x3a002d,'verifyModelSource':_0x577aa6});console['log'](_0x3c6b15[_0x16da70(0x210)]('\x0a','='['repeat'](0x3c))),console['log'](_0x1ce211[_0x16da70(0x1a3)]===_0x16da70(0x1b1)?_0x3c6b15[_0x16da70(0x166)]:_0x3c6b15[_0x16da70(0x1a0)](_0x1ce211[_0x16da70(0x1a3)],'incomplete')?_0x3c6b15['pOtbZ']:_0x1ce211['evaluation']===_0x16da70(0x221)?'\x20PARTIAL':_0x1ce211['evaluation']==='blocked'?'\x20BLOCKED':_0x16da70(0x23e)),console[_0x16da70(0x1a9)]('='[_0x16da70(0x1a1)](0x3c)),console[_0x16da70(0x1a9)](_0x16da70(0xfb)+_0x1ce211['summary']),console['log']('Evaluation:\x20'+_0x1ce211[_0x16da70(0x1a3)]),console['log']('Reason:\x20'+_0x1ce211['evaluationReason']),_0x1ce211[_0x16da70(0x167)]?.['length']&&(console['log'](_0x3c6b15['GlIdl']),_0x1ce211['issues']['forEach']((_0x1ba2d3,_0x1e2a9b)=>{const _0x3e9eb4=_0x16da70;console['log']('\x0a'+(_0x1e2a9b+0x1)+'.\x20['+_0x1ba2d3[_0x3e9eb4(0x265)]+']\x20'+_0x1ba2d3[_0x3e9eb4(0x149)]);})),process['exit'](_0x3c6b15['tQHYR'](_0x1ce211[_0x16da70(0x1a3)],'verified')?0x0:0x1);}_0x54036b(process[_0x117b27(0x204)][_0x117b27(0x20e)](0x2))[_0x117b27(0x1fd)]('ranger')[_0x117b27(0x115)](TOP_LEVEL_HELP)[_0x117b27(0x17b)](getCurrentVersion())[_0x117b27(0x1be)](_0x117b27(0x10e),_0x117b27(0x173),_0x5e499b=>{const _0x130db3=_0x117b27,_0x366790={'FIuTE':_0x130db3(0x1bd),'ERYpQ':_0x130db3(0x24a),'ADBTi':_0x130db3(0x24f),'xHZNR':'array','bAdku':_0x130db3(0x1a5)};return _0x5e499b['positional'](_0x366790['FIuTE'],{'type':_0x366790[_0x130db3(0x26a)],'description':'Feature\x20review\x20name','demandOption':!![]})[_0x130db3(0x1f3)](_0x130db3(0x149),{'type':_0x366790['ERYpQ'],'alias':'d','description':_0x366790['ADBTi']})[_0x130db3(0x1f3)]('scenario',{'type':_0x366790['xHZNR'],'alias':'c','description':_0x130db3(0x20d)})[_0x130db3(0x1f3)](_0x366790[_0x130db3(0x169)],{'type':_0x366790[_0x130db3(0x13b)],'hidden':!![]});},async _0x517369=>{const _0x11a713=_0x117b27,_0x49f8cb={'CyFKR':function(_0x47a4b3,_0x2a8ef1,_0x1a1a60,_0x1cd619){return _0x47a4b3(_0x2a8ef1,_0x1a1a60,_0x1cd619);},'FKnlq':'ranger\x20create','qfUaM':_0x11a713(0x1c0),'UbSxO':'create'};_0x49f8cb[_0x11a713(0x11a)](warnFlagRenamed,_0x49f8cb[_0x11a713(0x197)],_0x11a713(0x16d),_0x49f8cb[_0x11a713(0x122)]);const _0x235dd7=_0x517369['scenario']||_0x517369[_0x11a713(0x1a5)];await withTelemetry(_0x49f8cb[_0x11a713(0x1c9)],()=>featureCreate(_0x517369['name'],{'description':_0x517369['description'],'scenarios':_0x235dd7}));})[_0x117b27(0x1be)](_0x117b27(0x1bb),_0x117b27(0x262),_0x4c5cf8=>{const _0x1b03dd=_0x117b27,_0x557521={'uNXXZ':_0x1b03dd(0x151),'sIXSi':'limit','EOZeK':_0x1b03dd(0x103),'cnEto':_0x1b03dd(0x134)};return _0x4c5cf8[_0x1b03dd(0x1f3)](_0x1b03dd(0x1e6),{'type':_0x1b03dd(0x1ad),'description':_0x557521[_0x1b03dd(0x269)]})['option'](_0x557521['sIXSi'],{'type':'number','alias':'l','description':_0x1b03dd(0x264),'default':0xa})[_0x1b03dd(0x1f3)](_0x1b03dd(0x1c8),{'type':_0x557521[_0x1b03dd(0x138)],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option'](_0x1b03dd(0x1ca),{'type':_0x1b03dd(0x1ad),'alias':'d','description':_0x557521[_0x1b03dd(0x1e9)],'default':![]});},async _0x18fdba=>{const _0x207c8d=_0x117b27,_0x5d55cc={'nRKZQ':function(_0x490629,_0x327d82,_0x42f529){return _0x490629(_0x327d82,_0x42f529);}};await _0x5d55cc['nRKZQ'](withTelemetry,'list',()=>featureList({'currentBranch':_0x18fdba['current-branch'],'limit':_0x18fdba[_0x207c8d(0x1d2)],'offset':_0x18fdba['offset'],'includeDeleted':_0x18fdba['include-deleted']}));})['command'](_0x117b27(0x164),'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x1bdbf4=>{const _0x3adcd4=_0x117b27;return _0x1bdbf4[_0x3adcd4(0x1ac)]('id',{'type':_0x3adcd4(0x24a),'description':_0x3adcd4(0x20c)});},async _0x513beb=>{const _0x3a5eb6=_0x117b27,_0x563ece={'CjFME':function(_0x10b453,_0x2e707e,_0x448020){return _0x10b453(_0x2e707e,_0x448020);},'NzErd':_0x3a5eb6(0x271)};await _0x563ece[_0x3a5eb6(0x22f)](withTelemetry,_0x563ece['NzErd'],()=>featureShow(_0x513beb['id']));})['command']('resume\x20[id]','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x56b8f0=>{const _0x4fec3c=_0x117b27,_0x295839={'CrTJQ':_0x4fec3c(0x24a)};return _0x56b8f0[_0x4fec3c(0x1ac)]('id',{'type':_0x295839['CrTJQ'],'description':_0x4fec3c(0x100)});},async _0x59ac9a=>{const _0xf64db5=_0x117b27,_0x145034={'erqOM':function(_0x381ea7,_0xe32c03,_0x2ace44){return _0x381ea7(_0xe32c03,_0x2ace44);},'LMgtn':'resume'};await _0x145034['erqOM'](withTelemetry,_0x145034[_0xf64db5(0x278)],()=>featureResume(_0x59ac9a['id']));})[_0x117b27(0x1be)]('add-scenario\x20<description>',_0x117b27(0x1f4),_0x2704d6=>{const _0x58ad58=_0x117b27,_0x3b907b={'zDCyD':'Scenario\x20description','sLWJj':_0x58ad58(0x24a),'ZxJqT':_0x58ad58(0x127)};return _0x2704d6['positional']('description',{'type':_0x58ad58(0x24a),'description':_0x3b907b[_0x58ad58(0x171)],'demandOption':!![]})['option']('id',{'type':_0x3b907b[_0x58ad58(0x250)],'description':_0x3b907b['ZxJqT']});},async _0x282a16=>{const _0x2b574d=_0x117b27,_0x243d19={'iugGP':'add-scenario'};await withTelemetry(_0x243d19[_0x2b574d(0x107)],()=>featureAddScenario(_0x282a16[_0x2b574d(0x149)],_0x282a16['id']));})['command']('edit-scenario\x20<description>','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x2bc133=>{const _0x530c50=_0x117b27,_0x5695ac={'JqCUr':_0x530c50(0x103),'mGcnK':'string'};return _0x2bc133['positional']('description',{'type':'string','description':_0x530c50(0x148),'demandOption':!![]})['option']('scenario',{'type':_0x5695ac[_0x530c50(0x277)],'description':'Scenario\x20number\x20to\x20edit\x20(1-based)','demandOption':!![]})['option']('id',{'type':_0x5695ac['mGcnK'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x2d4d6a=>{const _0x210a83=_0x117b27,_0x3e3859={'TEQvk':function(_0xf85766,_0x5428cc,_0x110135){return _0xf85766(_0x5428cc,_0x110135);},'hlWUJ':'edit-scenario'};await _0x3e3859['TEQvk'](withTelemetry,_0x3e3859[_0x210a83(0x1c4)],()=>featureEditScenario(_0x2d4d6a[_0x210a83(0x149)],{'id':_0x2d4d6a['id'],'scenario':_0x2d4d6a['scenario']}));})['command']('report\x20[id]',_0x117b27(0x136),_0x350eae=>{const _0x18fcd7=_0x117b27,_0x2d8fc4={'uDdtK':_0x18fcd7(0x20c),'lyXTH':'array','pOyrm':'json','EoNjx':'boolean','QWhIb':_0x18fcd7(0x1cd)};return _0x350eae['positional']('id',{'type':_0x18fcd7(0x24a),'description':_0x2d8fc4['uDdtK']})[_0x18fcd7(0x1f3)]('exclude-scenario',{'type':_0x2d8fc4[_0x18fcd7(0x24d)],'description':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'})[_0x18fcd7(0x1f3)](_0x2d8fc4['pOyrm'],{'type':_0x2d8fc4['EoNjx'],'description':_0x2d8fc4[_0x18fcd7(0x1e4)],'default':![]});},async _0x21c201=>{const _0x5ed687=_0x117b27,_0x3117e0={'ExLgS':_0x5ed687(0x13a),'PKfPY':function(_0x18c4ab,_0x15424c,_0x4e5ff1){return _0x18c4ab(_0x15424c,_0x4e5ff1);}},_0x21217b=_0x21c201[_0x3117e0['ExLgS']],_0x54ebd6=_0x21217b?_0x21217b['map'](_0x163f56=>Number(_0x163f56)):undefined;await _0x3117e0[_0x5ed687(0x231)](withTelemetry,_0x5ed687(0x25e),()=>featureReportPrDescription(_0x21c201['id'],{'excludeScenarios':_0x54ebd6,'json':_0x21c201['json']}));})[_0x117b27(0x1be)]('get-review\x20[id]','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x4d2892=>{const _0xfc146c=_0x117b27,_0x16ad3b={'DmYgR':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0x4d2892[_0xfc146c(0x1ac)]('id',{'type':'string','description':_0x16ad3b[_0xfc146c(0x270)]});},async _0x129b77=>{const _0x28683e={'oBxEB':function(_0x2458a4,_0x1b84bd,_0x4ca857){return _0x2458a4(_0x1b84bd,_0x4ca857);},'tZAhh':'get-review'};await _0x28683e['oBxEB'](withTelemetry,_0x28683e['tZAhh'],()=>featureGetReview(_0x129b77['id']));})[_0x117b27(0x1be)](_0x117b27(0x172),_0x117b27(0x118),_0x4b0247=>{const _0xb2017c=_0x117b27;return _0x4b0247['positional']('id',{'type':_0xb2017c(0x24a),'description':_0xb2017c(0x20c)});},async _0x37d6a0=>{const _0x4551b0=_0x117b27;await withTelemetry(_0x4551b0(0x268),()=>featureDelete(_0x37d6a0['id']));})['command'](_0x117b27(0x23d),'Restore\x20a\x20soft-deleted\x20feature\x20review',_0x2e0b75=>{const _0x5d6a3b=_0x117b27,_0x946abc={'gVoQx':_0x5d6a3b(0x121)};return _0x2e0b75[_0x5d6a3b(0x1ac)]('id',{'type':_0x5d6a3b(0x24a),'description':_0x946abc[_0x5d6a3b(0x1a6)],'demandOption':!![]});},async _0x3a499b=>{const _0x4a633b=_0x117b27,_0x3b2516={'BAvEh':_0x4a633b(0x276)};await withTelemetry(_0x3b2516['BAvEh'],()=>featureRestore(_0x3a499b['id']));})[_0x117b27(0x1be)](_0x117b27(0x1b6),'Initialize\x20Ranger\x20in\x20your\x20project',_0x128906=>{const _0xbd96c0=_0x117b27,_0x783786={'cUNdT':_0xbd96c0(0x22d),'nBfEA':_0xbd96c0(0x1a4),'FOIeJ':_0xbd96c0(0x208),'FWkQr':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','NnqKg':'boolean','OxIjl':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url'};return _0x128906[_0xbd96c0(0x1ac)]('token',{'type':'string','description':_0x783786['cUNdT']})['option']('skip-chromium',{'type':_0xbd96c0(0x1ad),'description':_0xbd96c0(0x1f9),'default':![]})['option'](_0x783786['nBfEA'],{'type':'string','choices':[_0xbd96c0(0x279),_0x783786[_0xbd96c0(0x22b)]],'description':_0x783786[_0xbd96c0(0x126)]})['option'](_0xbd96c0(0x27a),{'type':'string','description':_0xbd96c0(0x228)})[_0xbd96c0(0x1f3)]('force',{'type':_0x783786['NnqKg'],'description':_0x783786['OxIjl'],'default':![]})['option'](_0xbd96c0(0x1c3),{'type':_0x783786['NnqKg'],'description':'Skip\x20Claude\x20Code\x20plugin\x20+\x20skills\x20install\x20(for\x20OpenCode\x20users)','default':![]})['option'](_0xbd96c0(0x19f),{'type':_0x783786[_0xbd96c0(0x131)],'description':_0xbd96c0(0x11e),'default':![]});},async _0x16cba3=>{const _0x14a00b=_0x117b27,_0x219277={'NvHmX':_0x14a00b(0x1d7)};await withTelemetry(_0x219277[_0x14a00b(0x154)],_0x591372=>start(_0x16cba3['token'],{'skipChromium':_0x16cba3[_0x14a00b(0x188)],'scope':_0x16cba3[_0x14a00b(0x1a4)],'url':_0x16cba3['url'],'force':_0x16cba3[_0x14a00b(0x147)],'opencode':_0x16cba3['opencode'],'allowInsecureLocalhost':_0x16cba3['allow-insecure-localhost']},_0x591372));})['command'](_0x117b27(0x10a),_0x117b27(0x1ed),_0x262c45=>{const _0x270f04=_0x117b27,_0x5f365f={'ccvwl':_0x270f04(0x15f),'RAbeO':_0x270f04(0x15e),'VvVTY':_0x270f04(0x24a),'COSBL':_0x270f04(0x187),'JGCgZ':_0x270f04(0x21d),'mJNtE':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','WDqdi':'skip-chromium','Pgjse':'boolean'};return _0x262c45['positional']('token',{'type':'string','description':_0x5f365f[_0x270f04(0x211)],'demandOption':!![]})['option'](_0x5f365f['RAbeO'],{'type':_0x5f365f[_0x270f04(0xfc)],'description':_0x5f365f['COSBL']})[_0x270f04(0x1f3)](_0x5f365f[_0x270f04(0x246)],{'type':_0x5f365f[_0x270f04(0xfc)],'description':_0x5f365f[_0x270f04(0x142)]})['option'](_0x5f365f['WDqdi'],{'type':_0x5f365f['Pgjse'],'description':_0x270f04(0x1ab),'default':![]});},async _0x48bfe6=>{const _0xc92437=_0x117b27;await withTelemetry(_0xc92437(0x160),_0x1f20a6=>setupCi(_0x48bfe6[_0xc92437(0x14e)],{'profile':_0x48bfe6[_0xc92437(0x15e)],'baseUrl':_0x48bfe6['base-url'],'skipChromium':_0x48bfe6['skip-chromium']},_0x1f20a6));})[_0x117b27(0x1be)]('login','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)',()=>{},async()=>{const _0x2cadb4=_0x117b27,_0x3395d5={'FoPLT':_0x2cadb4(0x26f)};await withTelemetry(_0x3395d5['FoPLT'],()=>login());})[_0x117b27(0x1be)](_0x117b27(0x117),'Install\x20Ranger\x20skills',_0x150058=>{const _0x5c90b4=_0x117b27,_0xd0cf21={'gfYmL':_0x5c90b4(0x1c3),'JraLx':'Install\x20skills\x20for\x20OpenCode','Ntazg':'scope','hiACR':'string','nHPBv':'user'};return _0x150058[_0x5c90b4(0x1f3)](_0xd0cf21['gfYmL'],{'type':_0x5c90b4(0x1ad),'description':_0xd0cf21[_0x5c90b4(0x17f)],'default':![]})['option'](_0xd0cf21[_0x5c90b4(0x163)],{'type':_0xd0cf21['hiACR'],'choices':[_0xd0cf21['nHPBv'],_0x5c90b4(0x208)],'description':_0x5c90b4(0x1cb)});},async _0x1f6674=>{const _0x250432=_0x117b27,_0x4b5e10={'avZVD':function(_0x1edf9c,_0x30d595){return _0x1edf9c(_0x30d595);},'MEAEC':function(_0x5f1df8,_0x5833cc,_0x3783aa){return _0x5f1df8(_0x5833cc,_0x3783aa);}},_0x2ccaeb=_0x4b5e10['avZVD'](Boolean,_0x1f6674['opencode']);await _0x4b5e10[_0x250432(0x11b)](withTelemetry,_0x250432(0x117),()=>skillup({'autoInstall':_0x1f6674['scope'],'platform':_0x2ccaeb?_0x250432(0x1c3):'claude'}));})['command']('clean',_0x117b27(0x11c),()=>{},async()=>{await withTelemetry('clean',()=>clean());})['command']('profile','Manage\x20profiles',_0x4601cd=>{const _0x461ae3=_0x117b27,_0x47ef5c={'igAfg':'profile-name','qRxXV':_0x461ae3(0x260),'ZvGwg':'skip-auth','jmSuS':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','CPxMN':_0x461ae3(0x24a),'VmKak':'force','lWqdt':'allow-insecure-localhost','BvJrO':_0x461ae3(0x1ad),'qakoz':_0x461ae3(0x1d0),'Uikfu':function(_0x4a5654,_0x1a569c,_0xbc7e3,_0x755957){return _0x4a5654(_0x1a569c,_0xbc7e3,_0x755957);},'PaUGk':function(_0x5e11ae,_0xc9c0a7){return _0x5e11ae(_0xc9c0a7);},'uZftx':_0x461ae3(0x12c),'ZFYTR':function(_0x5d883d,_0x17b1f7,_0xa57f7f){return _0x5d883d(_0x17b1f7,_0xa57f7f);},'LrrRX':'profile\x20use','zFmqq':_0x461ae3(0x1bf),'lSJAo':_0x461ae3(0x143),'fwOhy':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','QmJyR':'profile','nbsyn':_0x461ae3(0x18e),'BTdbi':function(_0x2c2691,_0x10409c,_0x4466c3){return _0x2c2691(_0x10409c,_0x4466c3);},'gWHff':_0x461ae3(0x1de),'qVyul':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','WOISg':_0x461ae3(0x111),'wYftl':function(_0x27f20b,_0x5e9081,_0x45bba9){return _0x27f20b(_0x5e9081,_0x45bba9);},'GORgj':_0x461ae3(0x224),'TYcqo':function(_0x370971,_0x38ce0a,_0xf40215){return _0x370971(_0x38ce0a,_0xf40215);},'KslBa':'profile\x20config\x20get','vOjeY':_0x461ae3(0x1d3),'KuVCK':_0x461ae3(0x12b),'IfcRM':'Remove\x20a\x20config\x20value','eckeh':'Add\x20profile\x20configuration','oCuHE':_0x461ae3(0x16e),'svLzZ':'List\x20all\x20profiles','jNhRz':'Manage\x20profile\x20configuration','HGjpi':_0x461ae3(0x238)};return _0x4601cd['usage'](PROFILE_HELP)['command']('add\x20<profile-name>',_0x47ef5c[_0x461ae3(0x16c)],_0x5c93c3=>{const _0x51be42=_0x461ae3;return _0x5c93c3[_0x51be42(0x1ac)](_0x47ef5c[_0x51be42(0x1eb)],{'type':'string','description':_0x47ef5c['qRxXV'],'demandOption':!![]})['option']('ci',{'type':'boolean','description':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})[_0x51be42(0x1f3)](_0x47ef5c[_0x51be42(0x176)],{'type':'boolean','description':_0x47ef5c[_0x51be42(0x130)],'default':![]})[_0x51be42(0x1f3)](_0x51be42(0x27a),{'type':_0x47ef5c['CPxMN'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)'})[_0x51be42(0x1f3)](_0x47ef5c[_0x51be42(0x207)],{'type':'boolean','description':_0x51be42(0x1b4),'default':![]})[_0x51be42(0x1f3)](_0x51be42(0x12c),{'type':_0x47ef5c['CPxMN'],'description':_0x51be42(0x17c)})[_0x51be42(0x1f3)](_0x47ef5c[_0x51be42(0x1e3)],{'type':_0x47ef5c['BvJrO'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})['option'](_0x51be42(0x1f5),{'type':'boolean','description':_0x47ef5c['qakoz'],'default':![]});},async _0xeebdb7=>{const _0xa06e4a=_0x461ae3;await _0x47ef5c['Uikfu'](withTelemetry,_0xa06e4a(0x199),_0x82c142=>addEnv(_0xeebdb7['profile-name'],{'ci':_0xeebdb7['ci'],'skipAuth':_0xeebdb7['skip-auth'],'url':_0xeebdb7['url'],'force':_0xeebdb7['force'],'cdpEndpoint':_0xeebdb7[_0xa06e4a(0x12c)],'allowInsecureLocalhost':_0xeebdb7[_0xa06e4a(0x19f)],'safeMode':_0xeebdb7[_0xa06e4a(0x1f5)]},_0x82c142),{'isElectron':_0x47ef5c[_0xa06e4a(0x123)](Boolean,_0xeebdb7[_0x47ef5c['uZftx']])});})[_0x461ae3(0x1be)](_0x461ae3(0x1c6),_0x461ae3(0x1e5),_0x726b2e=>{return _0x726b2e['positional'](_0x47ef5c['igAfg'],{'type':'string','description':'Name\x20of\x20the\x20profile','demandOption':!![]});},async _0x3132f1=>{const _0x4cc931=_0x461ae3;await _0x47ef5c['ZFYTR'](withTelemetry,_0x47ef5c[_0x4cc931(0x14f)],()=>useEnv(_0x3132f1['profile-name']));})['command'](_0x47ef5c[_0x461ae3(0x20a)],'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)',_0x2d9b10=>{const _0x17423a=_0x461ae3;return _0x2d9b10['positional'](_0x17423a(0x15e),{'type':_0x47ef5c['CPxMN'],'description':_0x47ef5c['zFmqq'],'demandOption':!![]});},async _0x1c3123=>{const _0x3b74e6=_0x461ae3;await withTelemetry(_0x47ef5c[_0x3b74e6(0x1f2)],()=>authEncrypt(_0x1c3123['profile']));})['command']('ls',_0x47ef5c['svLzZ'],()=>{},async()=>{const _0x3a0998=_0x461ae3;await withTelemetry(_0x3a0998(0x237),()=>envList());})[_0x461ae3(0x1be)](_0x461ae3(0x217),_0x461ae3(0x247),_0x1178df=>{const _0x42b188=_0x461ae3;return _0x1178df['positional'](_0x42b188(0x18d),{'type':_0x47ef5c[_0x42b188(0x229)],'description':_0x42b188(0x209),'demandOption':!![]})[_0x42b188(0x1f3)](_0x42b188(0x19f),{'type':_0x47ef5c['BvJrO'],'description':_0x47ef5c['fwOhy']});},async _0x23d78b=>{await withTelemetry('profile\x20update',_0x34e180=>updateEnv(_0x23d78b['profile-name'],_0x34e180,{'allowInsecureLocalhost':_0x23d78b['allow-insecure-localhost']}));})['command'](_0x461ae3(0x24e),_0x47ef5c[_0x461ae3(0x1e1)],_0x12ace3=>{const _0x5b5032=_0x461ae3,_0x41bfc9={'rscRX':'Profile\x20name','gNbAT':_0x47ef5c[_0x5b5032(0x157)],'HhFvk':_0x47ef5c['WOISg'],'SWaVb':function(_0x5c4186,_0x4c1f97,_0x587831){return _0x47ef5c['wYftl'](_0x5c4186,_0x4c1f97,_0x587831);},'vLCLh':_0x47ef5c['GORgj'],'zCSyO':function(_0x22ded0,_0x43cfbb,_0x55a9bf){const _0x19dff9=_0x5b5032;return _0x47ef5c[_0x19dff9(0x15a)](_0x22ded0,_0x43cfbb,_0x55a9bf);},'ILCSt':_0x47ef5c[_0x5b5032(0x1cc)],'EVubj':_0x47ef5c['CPxMN'],'oZfpR':_0x5b5032(0x15c)};return _0x12ace3[_0x5b5032(0x115)](PROFILE_CONFIG_HELP)['command'](_0x5b5032(0x12f),_0x5b5032(0x1f8),_0x4ec92e=>{const _0x5041a7=_0x5b5032;return _0x4ec92e['positional'](_0x5041a7(0x15e),{'type':_0x5041a7(0x24a),'description':_0x41bfc9['rscRX'],'demandOption':!![]})[_0x5041a7(0x1ac)](_0x5041a7(0x18e),{'type':_0x5041a7(0x24a),'description':_0x41bfc9['gNbAT'],'demandOption':!![]})['positional'](_0x5041a7(0x170),{'type':'string','description':_0x41bfc9[_0x5041a7(0x178)],'demandOption':!![]});},async _0x56dfb1=>{const _0x4bb5fb=_0x5b5032;await _0x41bfc9['SWaVb'](withTelemetry,_0x41bfc9['vLCLh'],()=>configSet(_0x56dfb1[_0x4bb5fb(0x15e)],_0x56dfb1['key'],_0x56dfb1['value']));})['command']('get\x20<profile>\x20<key>',_0x47ef5c[_0x5b5032(0x183)],_0x4c16b9=>{const _0x36e096=_0x5b5032;return _0x4c16b9[_0x36e096(0x1ac)](_0x47ef5c[_0x36e096(0x165)],{'type':_0x47ef5c[_0x36e096(0x229)],'description':'Profile\x20name','demandOption':!![]})['positional'](_0x47ef5c[_0x36e096(0x213)],{'type':_0x36e096(0x24a),'description':'Config\x20key','demandOption':!![]});},async _0x1bf4cd=>{await _0x41bfc9['zCSyO'](withTelemetry,_0x41bfc9['ILCSt'],()=>configGet(_0x1bf4cd['profile'],_0x1bf4cd['key']));})['command'](_0x47ef5c[_0x5b5032(0x230)],_0x5b5032(0x1d9),_0x1a8cbc=>{const _0x1733db=_0x5b5032;return _0x1a8cbc['positional'](_0x1733db(0x15e),{'type':_0x47ef5c[_0x1733db(0x229)],'description':'Profile\x20name','demandOption':!![]});},async _0x34ad82=>{const _0x5a90c9=_0x5b5032;await _0x47ef5c['BTdbi'](withTelemetry,_0x5a90c9(0x1b7),()=>configList(_0x34ad82['profile']));})['command'](_0x5b5032(0x25b),_0x47ef5c[_0x5b5032(0x159)],_0x449593=>{const _0x265a22=_0x5b5032;return _0x449593[_0x265a22(0x1ac)]('profile',{'type':_0x41bfc9[_0x265a22(0x240)],'description':_0x265a22(0x1bf),'demandOption':!![]})[_0x265a22(0x1ac)](_0x265a22(0x18e),{'type':_0x265a22(0x24a),'description':_0x41bfc9[_0x265a22(0x245)],'demandOption':!![]});},async _0x536f60=>{const _0x4256d9=_0x5b5032;await _0x47ef5c[_0x4256d9(0x242)](withTelemetry,_0x47ef5c[_0x4256d9(0x11f)],()=>configUnset(_0x536f60[_0x4256d9(0x15e)],_0x536f60[_0x4256d9(0x18e)]));})[_0x5b5032(0x124)](0x1,_0x5b5032(0x1ea));})[_0x461ae3(0x124)](0x1,_0x47ef5c['HGjpi']);})['command'](_0x117b27(0x1d4),'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{await withTelemetry('status',()=>status());})['command'](_0x117b27(0x180),_0x117b27(0x1ce),()=>{},async()=>{const _0x42df26=_0x117b27,_0xd39bd1={'hVGLK':function(_0x4af4c0,_0x27e100,_0x5be629){return _0x4af4c0(_0x27e100,_0x5be629);},'mnOPq':_0x42df26(0x180)};await _0xd39bd1[_0x42df26(0x168)](withTelemetry,_0xd39bd1[_0x42df26(0x19e)],()=>update());})[_0x117b27(0x1be)]('go','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)',_0x406f34=>{const _0x5aa802=_0x117b27,_0x2ce26f={'PeIhw':_0x5aa802(0x203),'aWQKC':_0x5aa802(0x104),'tFmDL':_0x5aa802(0x15e),'rDXDQ':_0x5aa802(0x24a),'YGbth':_0x5aa802(0x22a),'PBinF':'Scenario\x20index\x20(1-based)','AzbdL':_0x5aa802(0x25c),'lDXse':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','WgSOx':_0x5aa802(0x158),'lRSse':'boolean','Qmnlx':'blocked','PsWFm':'incomplete','NbQnS':_0x5aa802(0x1dc),'orNvR':_0x5aa802(0x103)};return _0x406f34[_0x5aa802(0x1f3)](_0x2ce26f[_0x5aa802(0x1ba)],{'type':'string','description':_0x2ce26f[_0x5aa802(0x21a)]})[_0x5aa802(0x1f3)](_0x2ce26f['tFmDL'],{'type':_0x2ce26f['rDXDQ'],'description':_0x2ce26f[_0x5aa802(0x14c)]})[_0x5aa802(0x1f3)](_0x5aa802(0x186),{'type':_0x2ce26f[_0x5aa802(0x162)],'description':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)'})[_0x5aa802(0x1f3)]('scenario',{'type':'number','description':_0x2ce26f[_0x5aa802(0x101)]})[_0x5aa802(0x1f3)](_0x2ce26f['AzbdL'],{'type':'string','description':_0x2ce26f['lDXse']})[_0x5aa802(0x1f3)]('model',{'type':_0x5aa802(0x24a),'description':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1)'})[_0x5aa802(0x1f3)](_0x2ce26f[_0x5aa802(0x184)],{'type':_0x2ce26f[_0x5aa802(0x1b9)],'description':_0x5aa802(0x206),'default':![]})['option']('debug-outcome',{'type':_0x2ce26f[_0x5aa802(0x162)],'hidden':!![],'choices':['verified','partial',_0x2ce26f[_0x5aa802(0x16f)],_0x5aa802(0x1f1),_0x2ce26f[_0x5aa802(0x26d)]]})['option'](_0x5aa802(0x14a),{'type':_0x2ce26f['lRSse'],'hidden':!![]})[_0x5aa802(0x1f3)](_0x5aa802(0x1e2),{'type':_0x2ce26f[_0x5aa802(0x162)],'hidden':!![]})[_0x5aa802(0x1f3)](_0x5aa802(0x249),{'type':_0x2ce26f['rDXDQ'],'hidden':!![]})[_0x5aa802(0x1f3)](_0x2ce26f['NbQnS'],{'type':_0x2ce26f[_0x5aa802(0x1fb)],'hidden':!![]});},async _0x578035=>{await runGoCommand(_0x578035);})['command'](_0x117b27(0x1ef),![],_0x2d8d4e=>{const _0x984a8e=_0x117b27,_0xc1f5f0={'pNGIQ':'Profile\x20name','sApGT':_0x984a8e(0x132),'yImVk':function(_0x38b8b6,_0xa2a657){return _0x38b8b6(_0xa2a657);},'gebeY':'You\x20must\x20specify\x20an\x20auth\x20subcommand'};return _0x2d8d4e['command'](_0x984a8e(0xff),![],_0x3dd444=>{const _0x15529a=_0x984a8e;return _0x3dd444['positional']('profile',{'type':'string','description':_0xc1f5f0[_0x15529a(0x26e)],'demandOption':!![]});},async _0x2de28c=>{const _0x18bc39=_0x984a8e;warnRenamed(_0x18bc39(0x1a8),_0xc1f5f0['sApGT']),await _0xc1f5f0['yImVk'](authEncrypt,_0x2de28c['profile']);})['demandCommand'](0x1,_0xc1f5f0[_0x984a8e(0x195)]);},()=>{})['command'](_0x117b27(0x214),![],_0x55faa9=>{const _0x14dbf9=_0x117b27,_0x4a6bbc={'HkEmh':'scope','EnTKP':'string','gztGA':_0x14dbf9(0x279),'GRiEw':_0x14dbf9(0x21b),'mXIyL':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','wnpEU':'force','THjLf':_0x14dbf9(0x1ad)};return _0x55faa9[_0x14dbf9(0x1ac)]('token',{'type':_0x14dbf9(0x24a),'description':_0x14dbf9(0x22d)})[_0x14dbf9(0x1f3)](_0x14dbf9(0x188),{'type':'boolean','description':_0x14dbf9(0x1f9),'default':![]})['option'](_0x4a6bbc[_0x14dbf9(0x253)],{'type':_0x4a6bbc[_0x14dbf9(0x11d)],'choices':[_0x4a6bbc[_0x14dbf9(0x19d)],_0x14dbf9(0x208)],'description':_0x4a6bbc[_0x14dbf9(0x120)]})[_0x14dbf9(0x1f3)]('url',{'type':_0x14dbf9(0x24a),'description':_0x4a6bbc[_0x14dbf9(0x273)]})['option'](_0x4a6bbc['wnpEU'],{'type':_0x4a6bbc['THjLf'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]});},async _0xa1da5a=>{const _0x571afe=_0x117b27,_0x1a7ce7={'hQCQx':function(_0x431509,_0x4b48e4,_0x203f39){return _0x431509(_0x4b48e4,_0x203f39);},'cNJXO':'ranger\x20start','ZHXxW':_0x571afe(0x152),'qLlKu':function(_0x34aa22,_0x32de3e,_0x449797){return _0x34aa22(_0x32de3e,_0x449797);}};_0x1a7ce7['hQCQx'](warnRenamed,_0x1a7ce7[_0x571afe(0x1b2)],_0x1a7ce7['ZHXxW']),await _0x1a7ce7['qLlKu'](withTelemetry,'start',_0xa3c2a5=>start(_0xa1da5a[_0x571afe(0x14e)],{'skipChromium':_0xa1da5a[_0x571afe(0x188)],'scope':_0xa1da5a['scope'],'url':_0xa1da5a['url'],'force':_0xa1da5a['force']},_0xa3c2a5));})[_0x117b27(0x1be)](_0x117b27(0x13f),![],_0x3f83f9=>{const _0x57e212=_0x117b27,_0x50f14e={'kzYmy':_0x57e212(0x1e2),'NbjGA':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','AQIOD':_0x57e212(0x24a),'KqQcX':_0x57e212(0x103),'xZhKr':'Scenario\x20index\x20(1-based)','dxJHX':_0x57e212(0x15e),'YzQik':_0x57e212(0x186),'IDZmZ':'scenario','LjAfU':'model','xVvrT':'headed','FdTgd':'boolean','wcMzd':_0x57e212(0x225),'WKVom':_0x57e212(0x1b3),'JdQtV':_0x57e212(0x137)};return _0x3f83f9['option'](_0x50f14e[_0x57e212(0x244)],{'type':_0x57e212(0x24a),'description':_0x50f14e[_0x57e212(0x1a2)]})[_0x57e212(0x1f3)]('task',{'type':_0x50f14e[_0x57e212(0x1b0)],'description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})['option'](_0x57e212(0x1dc),{'type':_0x50f14e['KqQcX'],'description':_0x50f14e['xZhKr']})[_0x57e212(0x1f3)](_0x50f14e[_0x57e212(0x21e)],{'type':_0x50f14e['AQIOD'],'hidden':!![]})[_0x57e212(0x1f3)](_0x50f14e['YzQik'],{'type':_0x50f14e[_0x57e212(0x1b0)],'hidden':!![]})['option'](_0x50f14e['IDZmZ'],{'type':_0x50f14e['KqQcX'],'hidden':!![]})[_0x57e212(0x1f3)](_0x57e212(0x25c),{'type':_0x57e212(0x24a),'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)'})['option'](_0x50f14e['LjAfU'],{'type':_0x57e212(0x24a),'hidden':!![]})[_0x57e212(0x1f3)](_0x50f14e['xVvrT'],{'type':_0x50f14e[_0x57e212(0x1c5)],'hidden':!![],'default':![]})[_0x57e212(0x1f3)](_0x50f14e['wcMzd'],{'type':_0x57e212(0x24a),'hidden':!![],'choices':[_0x57e212(0x1b1),_0x57e212(0x221),_0x50f14e[_0x57e212(0x1bc)],'failed',_0x50f14e[_0x57e212(0x194)]]});},async _0x7fcc27=>{const _0x3e9fb0={'AyKlO':function(_0x494828,_0x6b8325,_0x5af1c4){return _0x494828(_0x6b8325,_0x5af1c4);}};await _0x3e9fb0['AyKlO'](runGoCommand,_0x7fcc27,!![]);})['command'](_0x117b27(0x232),![],_0x1eac41=>{const _0x49a7ad=_0x117b27,_0x3d8174={'PiVtD':_0x49a7ad(0x24a),'fVmEs':_0x49a7ad(0x1ad)};return _0x1eac41['positional']('env-name',{'type':_0x3d8174[_0x49a7ad(0x263)],'description':_0x49a7ad(0x24c),'demandOption':!![]})[_0x49a7ad(0x1f3)]('ci',{'type':_0x49a7ad(0x1ad),'description':_0x49a7ad(0x19b),'default':![]})[_0x49a7ad(0x1f3)]('skip-auth',{'type':_0x3d8174[_0x49a7ad(0x256)],'description':_0x49a7ad(0x19a),'default':![]});},async _0x1d9e30=>{const _0x104822=_0x117b27,_0xe50bbf={'SauJJ':function(_0x444b03,_0x109240,_0x54dc51){return _0x444b03(_0x109240,_0x54dc51);},'IAxOk':_0x104822(0x10f),'pVhkM':_0x104822(0x14d),'Jbdpl':'add\x20env'};_0xe50bbf['SauJJ'](warnRenamed,_0xe50bbf['IAxOk'],_0xe50bbf[_0x104822(0x13d)]),await withTelemetry(_0xe50bbf['Jbdpl'],_0x2b2193=>addEnv(_0x1d9e30[_0x104822(0x15b)],{'ci':_0x1d9e30['ci'],'skipAuth':_0x1d9e30[_0x104822(0x267)]},_0x2b2193));})['command'](_0x117b27(0x12a),![],_0x1a8acc=>{const _0x326542=_0x117b27,_0x399374={'VCNXT':'env-name'};return _0x1a8acc[_0x326542(0x1ac)](_0x399374['VCNXT'],{'type':_0x326542(0x24a),'description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x18485a=>{const _0x33695a=_0x117b27,_0x42927f={'jBBAD':_0x33695a(0x1fc)};warnRenamed(_0x42927f[_0x33695a(0x22e)],_0x33695a(0x12e)),await withTelemetry(_0x33695a(0x17d),()=>useEnv(_0x18485a[_0x33695a(0x15b)]));})[_0x117b27(0x1be)](_0x117b27(0x24e),![],_0x2cb4c1=>{const _0x53543a=_0x117b27,_0x1a563a={'EgrJf':_0x53543a(0x1e2),'SGQhJ':_0x53543a(0x182),'pMeUV':_0x53543a(0x18e),'rqNFD':'string','RBZBw':_0x53543a(0x222),'cTiiD':function(_0x111d74,_0x52a0b8,_0x5ecb28){return _0x111d74(_0x52a0b8,_0x5ecb28);},'SSxVG':function(_0x55e498,_0x56ebfb,_0x2dc8be){return _0x55e498(_0x56ebfb,_0x2dc8be);},'IkDuJ':_0x53543a(0x200),'aRJKF':_0x53543a(0x1f6),'GDgGR':'Config\x20key\x20to\x20remove','HuczG':function(_0x18c1c6,_0x25d82a,_0x527239){return _0x18c1c6(_0x25d82a,_0x527239);},'BDxwp':'get\x20<env>\x20<key>'};return _0x2cb4c1[_0x53543a(0x1be)](_0x53543a(0x259),![],_0x3270dc=>{const _0x46126a=_0x53543a;return _0x3270dc['positional'](_0x1a563a[_0x46126a(0x274)],{'type':'string','description':_0x1a563a['SGQhJ'],'demandOption':!![]})['positional'](_0x1a563a['pMeUV'],{'type':_0x1a563a['rqNFD'],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','demandOption':!![]})[_0x46126a(0x1ac)]('value',{'type':_0x1a563a[_0x46126a(0x205)],'description':_0x46126a(0x111),'demandOption':!![]});},async _0x270cee=>{const _0x214249=_0x53543a;warnRenamed(_0x1a563a['RBZBw'],_0x214249(0x24b)),await _0x1a563a['cTiiD'](withTelemetry,'config\x20set',()=>configSet(_0x270cee['env'],_0x270cee['key'],_0x270cee['value']));})['command'](_0x1a563a[_0x53543a(0x175)],![],_0x12a071=>{const _0x5b095b=_0x53543a;return _0x12a071['positional'](_0x1a563a['EgrJf'],{'type':_0x5b095b(0x24a),'description':'Environment\x20name','demandOption':!![]})['positional'](_0x1a563a['pMeUV'],{'type':_0x1a563a[_0x5b095b(0x205)],'description':_0x5b095b(0x26c),'demandOption':!![]});},async _0x3d611c=>{const _0x548029=_0x53543a;_0x1a563a[_0x548029(0x190)](warnRenamed,'ranger\x20config\x20get',_0x1a563a[_0x548029(0x153)]),await withTelemetry('config\x20get',()=>configGet(_0x3d611c['env'],_0x3d611c['key']));})[_0x53543a(0x1be)](_0x53543a(0x261),![],_0x5eb2ec=>{const _0x22e990=_0x53543a;return _0x5eb2ec[_0x22e990(0x1ac)]('env',{'type':_0x22e990(0x24a),'description':_0x1a563a[_0x22e990(0xf8)],'demandOption':!![]});},async _0xf19e20=>{const _0x10e239=_0x53543a;warnRenamed(_0x10e239(0x26b),_0x10e239(0x227)),await withTelemetry(_0x1a563a[_0x10e239(0x1fe)],()=>configList(_0xf19e20[_0x10e239(0x1e2)]));})['command'](_0x53543a(0x16a),![],_0x5eaf78=>{const _0x46aac6=_0x53543a;return _0x5eaf78[_0x46aac6(0x1ac)](_0x1a563a['EgrJf'],{'type':_0x46aac6(0x24a),'description':'Environment\x20name','demandOption':!![]})['positional'](_0x1a563a[_0x46aac6(0x108)],{'type':'string','description':_0x1a563a[_0x46aac6(0x12d)],'demandOption':!![]});},async _0x24c3e8=>{const _0x4e3566=_0x53543a;_0x1a563a[_0x4e3566(0x241)](warnRenamed,'ranger\x20config\x20unset',_0x4e3566(0x110)),await withTelemetry(_0x4e3566(0x128),()=>configUnset(_0x24c3e8[_0x4e3566(0x1e2)],_0x24c3e8['key']));})['demandCommand'](0x1,_0x53543a(0x236));})['command']('env',![],_0x2e8b7b=>{const _0x4c12ff=_0x117b27,_0x1a4d61={'JaVTD':_0x4c12ff(0x15b),'WGGMJ':_0x4c12ff(0x24a),'PGCEj':function(_0x5c5762,_0x11355a,_0x2420cb){return _0x5c5762(_0x11355a,_0x2420cb);},'XSLRe':'update\x20<env-name>','aqruE':'You\x20must\x20specify\x20an\x20env\x20subcommand'};return _0x2e8b7b['command']('ls',![],()=>{},async()=>{const _0x5c479a=_0x4c12ff;warnRenamed('ranger\x20env\x20ls','ranger\x20profile\x20ls'),await withTelemetry(_0x5c479a(0x252),()=>envList());})['command'](_0x1a4d61['XSLRe'],![],_0x21ab5f=>{const _0x242b57=_0x4c12ff;return _0x21ab5f[_0x242b57(0x1ac)](_0x1a4d61[_0x242b57(0x257)],{'type':_0x1a4d61['WGGMJ'],'description':_0x242b57(0x196),'demandOption':!![]});},async _0x31da82=>{const _0x1f87fb=_0x4c12ff;_0x1a4d61[_0x1f87fb(0x25a)](warnRenamed,'ranger\x20env\x20update',_0x1f87fb(0xf9)),await withTelemetry(_0x1f87fb(0x1d5),_0x4679bf=>updateEnv(_0x31da82['env-name'],_0x4679bf));})['demandCommand'](0x1,_0x1a4d61[_0x4c12ff(0x233)]);})['command']('feature',![],_0x2beb25=>{const _0x200256=_0x117b27,_0x158d28={'rVVnT':_0x200256(0x1bd),'ToOjR':'string','DbJVE':'Feature\x20review\x20description','wMAwY':'array','YFFFs':_0x200256(0x133),'LyVPH':_0x200256(0x10c),'vEnvv':function(_0x25f084,_0x1e06a7,_0x370a47,_0xe99114){return _0x25f084(_0x1e06a7,_0x370a47,_0xe99114);},'CaltF':_0x200256(0x16d),'qKxMq':'current-branch','wVuNO':_0x200256(0x1ad),'cBdHz':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','NOYrh':'number','vvgHS':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','cMfCq':'offset','iAbqf':_0x200256(0x17e),'ZYTyR':_0x200256(0x1ca),'wfsWG':function(_0x585c20,_0x4c13f2,_0x247580){return _0x585c20(_0x4c13f2,_0x247580);},'ImWqv':'ranger\x20feature\x20list','ZtCRR':'feature\x20list','MJNuU':_0x200256(0x20c),'mdORk':'ranger\x20feature\x20show','VLOPb':'ranger\x20feature\x20resume','KbIkw':function(_0x3f45a1,_0xcf65a3,_0x144a9f){return _0x3f45a1(_0xcf65a3,_0x144a9f);},'VDQzC':'description','RjCOF':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','xQfXq':_0x200256(0x10b),'JPnCw':_0x200256(0x1d6),'XNTrq':_0x200256(0x1ae),'Bhwes':_0x200256(0x212),'nnceN':_0x200256(0x18b),'CZsBd':_0x200256(0x121),'OMOMp':_0x200256(0x1ee),'pVDkX':function(_0x27e330,_0x4beb64,_0x134b08){return _0x27e330(_0x4beb64,_0x134b08);},'DSAgI':'feature\x20restore','IEPmw':'list','SOEPg':'resume\x20[id]','TRKlz':'get-feedback\x20[id]','qVDCX':'delete\x20[id]','NWqAb':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand'};return _0x2beb25[_0x200256(0x1be)](_0x200256(0x10e),![],_0x1ea97c=>{const _0x4bb7e9=_0x200256;return _0x1ea97c[_0x4bb7e9(0x1ac)](_0x158d28['rVVnT'],{'type':_0x158d28[_0x4bb7e9(0x248)],'description':'Feature\x20review\x20name','demandOption':!![]})['option']('description',{'type':'string','alias':'d','description':_0x158d28['DbJVE']})[_0x4bb7e9(0x1f3)]('checklist',{'type':_0x158d28['wMAwY'],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x4bb7e9(0x1f3)](_0x158d28[_0x4bb7e9(0x1db)],{'type':_0x158d28[_0x4bb7e9(0x198)],'hidden':!![]});},async _0x3ea5aa=>{const _0xf7820c=_0x200256;warnRenamed(_0x158d28[_0xf7820c(0x234)],_0xf7820c(0x1dd)),_0x158d28['vEnvv'](warnFlagRenamed,'ranger\x20create',_0x158d28['CaltF'],_0xf7820c(0x1c0));const _0x221f44=_0x3ea5aa['scenario']||_0x3ea5aa[_0xf7820c(0x1a5)];await withTelemetry(_0xf7820c(0x189),()=>featureCreate(_0x3ea5aa[_0xf7820c(0x1bd)],{'description':_0x3ea5aa['description'],'scenarios':_0x221f44}));})[_0x200256(0x1be)](_0x158d28[_0x200256(0x144)],![],_0x292e3b=>{const _0x4b3692=_0x200256;return _0x292e3b['option'](_0x158d28['qKxMq'],{'type':_0x158d28['wVuNO'],'description':_0x158d28[_0x4b3692(0x1cf)]})[_0x4b3692(0x1f3)](_0x4b3692(0x1d2),{'type':_0x158d28[_0x4b3692(0x192)],'alias':'l','description':_0x158d28[_0x4b3692(0x1c7)],'default':0xa})['option'](_0x158d28[_0x4b3692(0x18f)],{'type':'number','alias':'o','description':_0x158d28[_0x4b3692(0x1fa)],'default':0x0})['option'](_0x158d28['ZYTyR'],{'type':'boolean','alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x458a99=>{const _0x2f4b00=_0x200256;_0x158d28[_0x2f4b00(0x226)](warnRenamed,_0x158d28['ImWqv'],_0x2f4b00(0xfd)),await withTelemetry(_0x158d28['ZtCRR'],()=>featureList({'currentBranch':_0x458a99[_0x2f4b00(0x1e6)],'limit':_0x458a99['limit'],'offset':_0x458a99[_0x2f4b00(0x1c8)],'includeDeleted':_0x458a99[_0x2f4b00(0x1ca)]}));})[_0x200256(0x1be)]('show\x20[id]',![],_0x46a9a3=>{const _0x27def4=_0x200256;return _0x46a9a3[_0x27def4(0x1ac)]('id',{'type':_0x27def4(0x24a),'description':_0x158d28['MJNuU']});},async _0x359cb8=>{const _0x19b09a=_0x200256;_0x158d28['wfsWG'](warnRenamed,_0x158d28[_0x19b09a(0x18a)],_0x19b09a(0x1da)),await withTelemetry('feature\x20show',()=>featureShow(_0x359cb8['id']));})[_0x200256(0x1be)](_0x158d28[_0x200256(0x141)],![],_0x401a20=>{const _0x35ede7=_0x200256;return _0x401a20['positional']('id',{'type':_0x158d28[_0x35ede7(0x248)],'description':_0x35ede7(0x100)});},async _0xb156ad=>{const _0x3f16d6=_0x200256;_0x158d28['wfsWG'](warnRenamed,_0x158d28[_0x3f16d6(0x179)],_0x3f16d6(0x235)),await _0x158d28['KbIkw'](withTelemetry,'feature\x20resume',()=>featureResume(_0xb156ad['id']));})[_0x200256(0x1be)](_0x200256(0x1ff),![],_0x11f524=>{const _0x567181=_0x200256;return _0x11f524['positional'](_0x158d28['VDQzC'],{'type':_0x158d28['ToOjR'],'description':_0x567181(0x1ec),'demandOption':!![]})['option']('id',{'type':_0x567181(0x24a),'description':_0x158d28[_0x567181(0x23a)]});},async _0x28f6b1=>{const _0x4aacb1=_0x200256;_0x158d28['wfsWG'](warnRenamed,_0x158d28[_0x4aacb1(0xfe)],'ranger\x20add-scenario'),await _0x158d28['wfsWG'](withTelemetry,_0x4aacb1(0x113),()=>featureAddScenario(_0x28f6b1[_0x4aacb1(0x149)],_0x28f6b1['id']));})['command'](_0x158d28['TRKlz'],![],_0x57510e=>{const _0x1cd10d=_0x200256;return _0x57510e['positional']('id',{'type':'string','description':_0x158d28[_0x1cd10d(0x23a)]});},async _0x63e684=>{const _0x4eb21a=_0x200256;warnRenamed(_0x4eb21a(0x275),'ranger\x20get-review'),await _0x158d28[_0x4eb21a(0x226)](withTelemetry,_0x158d28[_0x4eb21a(0x177)],()=>featureGetReview(_0x63e684['id']));})['command'](_0x158d28[_0x200256(0xfa)],![],_0x130e78=>{return _0x130e78['positional']('id',{'type':_0x158d28['ToOjR'],'description':'Feature\x20review\x20ID'});},async _0x6dc63d=>{const _0x846f79=_0x200256;warnRenamed(_0x158d28[_0x846f79(0x251)],_0x158d28[_0x846f79(0x1e7)]),await withTelemetry(_0x158d28[_0x846f79(0x135)],()=>featureDelete(_0x6dc63d['id']));})[_0x200256(0x1be)]('restore\x20<id>',![],_0x1cad39=>{const _0x46f286=_0x200256;return _0x1cad39[_0x46f286(0x1ac)]('id',{'type':_0x158d28[_0x46f286(0x248)],'description':_0x158d28[_0x46f286(0x185)],'demandOption':!![]});},async _0xc76692=>{const _0x8bf514=_0x200256;warnRenamed(_0x158d28['OMOMp'],'ranger\x20restore'),await _0x158d28[_0x8bf514(0x10d)](withTelemetry,_0x158d28[_0x8bf514(0x258)],()=>featureRestore(_0xc76692['id']));})[_0x200256(0x124)](0x1,_0x158d28['NWqAb']);})['command'](_0x117b27(0x1df),![],_0x18b7db=>{const _0x508bb4=_0x117b27,_0x1bf8ac={'FfPjY':function(_0xaa04af,_0x1f8099,_0x3918d6){return _0xaa04af(_0x1f8099,_0x3918d6);},'JlbKS':_0x508bb4(0x201),'JBHJD':'string','SyZeV':_0x508bb4(0x1aa),'mumKt':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','uksCm':_0x508bb4(0x223),'ZnjYe':_0x508bb4(0x272),'oEOqX':_0x508bb4(0x146),'NJXSo':_0x508bb4(0x239)};return _0x18b7db[_0x508bb4(0x1be)](_0x1bf8ac[_0x508bb4(0x102)],_0x1bf8ac[_0x508bb4(0x1e8)],_0x3032b1=>{const _0x1da5f7=_0x508bb4;return _0x3032b1['option'](_0x1da5f7(0x146),{'type':'string','description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x394c14=>{const _0x25c372=_0x508bb4;await _0x1bf8ac[_0x25c372(0x20f)](withTelemetry,_0x1bf8ac[_0x25c372(0x191)],()=>hook('enable',_0x394c14[_0x25c372(0x146)]));})[_0x508bb4(0x1be)](_0x1bf8ac['uksCm'],'Disable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x53d7fb=>{const _0x435bee=_0x508bb4;return _0x53d7fb['option'](_0x435bee(0x146),{'type':_0x1bf8ac[_0x435bee(0x19c)],'description':_0x435bee(0x239)});},async _0x28c9ca=>{const _0x592374=_0x508bb4;await withTelemetry('hook:disable',()=>hook(_0x592374(0x223),_0x28c9ca[_0x592374(0x146)]));})[_0x508bb4(0x1f3)]('name',{'type':_0x508bb4(0x24a),'description':_0x1bf8ac['ZnjYe']})[_0x508bb4(0x1f3)](_0x1bf8ac[_0x508bb4(0x119)],{'type':_0x508bb4(0x24a),'description':_0x1bf8ac[_0x508bb4(0x109)]});},async _0x52b9ce=>{const _0x38016c=_0x117b27;_0x52b9ce[_0x38016c(0x1bd)]&&await hook(_0x52b9ce['name'],_0x52b9ce['session-id']);})[_0x117b27(0x124)](0x1,_0x117b27(0x216))['strictCommands']()[_0x117b27(0x193)](async(_0x31dd51,_0x465ee4,_0xf899)=>{const _0x170020=_0x117b27,_0x5519cc={'gzeKa':function(_0x7198dd,_0x47fd23){return _0x7198dd(_0x47fd23);},'cJGvx':function(_0x5e4cc0,_0x3a214d,_0xc46451){return _0x5e4cc0(_0x3a214d,_0xc46451);},'dnQzm':_0x170020(0x116),'LFPpv':function(_0x2a2f5d,_0x3e480b){return _0x2a2f5d(_0x3e480b);},'xxvvm':function(_0x32fa2d){return _0x32fa2d();},'wyskO':_0x170020(0x18c)},_0x3a3116=_0x5519cc['gzeKa'](sanitizeArgs,process[_0x170020(0x204)][_0x170020(0x20e)](0x2)),_0x94c696=_0x5519cc['cJGvx'](getErrorType,_0x31dd51,_0x465ee4);if(_0x31dd51&&_0x31dd51[_0x170020(0x20b)]('Unknown\x20command')){const _0x4208ab=process['argv'][0x2];console['error'](_0x170020(0x243)+_0x4208ab),console['error'](_0x5519cc[_0x170020(0x145)]);}else{if(_0x31dd51)console[_0x170020(0x13e)]('\x0a'+_0x31dd51+'\x0a');else _0x465ee4&&console[_0x170020(0x13e)](_0x170020(0x23f)+_0x465ee4['message']+'\x0a');}await _0x5519cc[_0x170020(0x1f7)](logDesirePath,{'rawCommand':_0x3a3116,'errorMessage':_0x31dd51||_0x465ee4?.[_0x170020(0x140)],'errorType':_0x94c696});const _0x526358=_0x5519cc[_0x170020(0x16b)](getCurrentCollector);_0x526358&&await _0x526358[_0x170020(0x105)](_0x465ee4||new Error(_0x31dd51||_0x5519cc['wyskO'])),process['exit'](0x1);})[_0x117b27(0x219)]('Documentation:\x0a'+_0x117b27(0x174)+'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)')[_0x117b27(0x106)]()['alias']('help','h')[_0x117b27(0x161)]();
@@ -1 +1 @@
1
- (function(_0x3a4d8b,_0x28fce6){const _0x3876b4=_0x57d2,_0x593a8a=_0x3a4d8b();while(!![]){try{const _0x32533e=-parseInt(_0x3876b4(0xf8))/0x1*(-parseInt(_0x3876b4(0x120))/0x2)+-parseInt(_0x3876b4(0x13d))/0x3+-parseInt(_0x3876b4(0x10a))/0x4+parseInt(_0x3876b4(0x139))/0x5*(-parseInt(_0x3876b4(0x152))/0x6)+-parseInt(_0x3876b4(0x13c))/0x7+-parseInt(_0x3876b4(0x146))/0x8*(-parseInt(_0x3876b4(0xef))/0x9)+parseInt(_0x3876b4(0x14f))/0xa;if(_0x32533e===_0x28fce6)break;else _0x593a8a['push'](_0x593a8a['shift']());}catch(_0x46949b){_0x593a8a['push'](_0x593a8a['shift']());}}}(_0x11c9,0xabd0e));import{mkdir,writeFile,readFile,unlink,rm,mkdtemp,rename}from'fs/promises';import{join}from'path';function _0x57d2(_0x269180,_0x499dee){_0x269180=_0x269180-0xeb;const _0x11c99b=_0x11c9();let _0x57d289=_0x11c99b[_0x269180];return _0x57d289;}import _0xafaa45 from'inquirer';import{chromium}from'playwright';import{findExistingEnv}from'./utils/settings.js';import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getRangerDir}from'./utils/rangerRoot.js';import{writeActiveProfileName}from'./utils/activeProfile.js';import{addProfileSetupBanner}from'./utils/profileSetupBanner.js';async function checkUrlReachability(_0x5e524a){const _0x2bf707=_0x57d2,_0x498e38={'ecJfa':function(_0xc019ca,_0x13502c,_0x1d7867){return _0xc019ca(_0x13502c,_0x1d7867);},'BrVld':_0x2bf707(0x142),'SRuLF':function(_0x40ce9b,_0xd52676){return _0x40ce9b<_0xd52676;},'AQKlf':function(_0x30bc0e,_0x70d4e5){return _0x30bc0e(_0x70d4e5);},'BEogl':_0x2bf707(0x109),'bqnMV':function(_0x330277,_0x3e140c){return _0x330277===_0x3e140c;},'yfrxu':'fetch\x20failed'};try{const _0x146990=new AbortController(),_0xba9c=_0x498e38['ecJfa'](setTimeout,()=>_0x146990[_0x2bf707(0x106)](),0x1388),_0x3db8b6=await _0x498e38[_0x2bf707(0xeb)](fetch,_0x5e524a,{'method':_0x498e38[_0x2bf707(0x105)],'signal':_0x146990['signal'],'redirect':'manual'});clearTimeout(_0xba9c);if(_0x498e38['SRuLF'](_0x3db8b6[_0x2bf707(0x108)],0x190))return{'ok':!![]};return{'ok':![],'error':'HTTP\x20'+_0x3db8b6['status']};}catch(_0x1db948){const _0x168779=_0x1db948,_0x5a697d=_0x168779['message']||_0x498e38['AQKlf'](String,_0x1db948),_0x1022cf=_0x5a697d[_0x2bf707(0x140)](_0x498e38['BEogl'])||_0x498e38['bqnMV'](_0x168779[_0x2bf707(0x143)],_0x2bf707(0x118))||_0x5a697d['includes'](_0x498e38[_0x2bf707(0x149)]);return{'ok':![],'error':_0x5a697d,'isProtocolError':_0x1022cf};}}function _0x11c9(){const _0x3f2b99=['\x20\x20\x20If\x20you\x20are\x20an\x20agent,\x20background\x20this\x20process\x20and\x20let\x20your\x20user\x20know\x20they\x20need\x20to\x20complete\x20browser\x20authentication.\x0a','isProtocolError','What\x20would\x20you\x20like\x20to\x20do?','kQCDD','\x20\x20Configuring\x20Ranger\x20to\x20connect\x20to:\x20','TypeError','\x20\x20Did\x20you\x20mean\x20','Enter\x20a\x20new\x20URL\x20(or\x20press\x20enter\x20to\x20keep\x20current):','\x0a\x20\x20\x20โš \x20This\x20step\x20requires\x20human\x20interaction\x20in\x20a\x20browser.','--cdp-endpoint\x20must\x20not\x20be\x20empty.\x20Provide\x20the\x20CDP\x20URL,\x20e.g.\x20--cdp-endpoint\x20http://localhost:9222','\x20\x20Make\x20sure\x20your\x20Electron\x20app\x20(or\x20browser)\x20is\x20running\x20with\x20remote\x20debugging\x20enabled.\x0a','Lkito','fdEBb','4414KBIQzP','UvrMs','about:blank','YXeiO','goto','skipAuth','Aborted.','UvOlc','legacy','error','txajn','ThtMY','trackPhaseEnd','stringify','You\x20can\x20try\x20again\x20with\x20one\x20of:','retry','MMqMq','settings.json','nQtON','vvYma','mxosr','root\x20(.ranger/)','\x22\x20already\x20exists.\x20Overwrite?','allowInsecureLocalhost','FkXww','3440wowkiu','newContext','SwAsB','6887020CKGVgQ','3088065jJVyvg','Removed\x20existing\x20profile\x20at\x20','--disable-features=WebBluetooth','includes','trackPhaseStart','HEAD','name','YjRbQ','tnfxa','384vpgMff','\x20\x20\x20Creating\x20it\x20in\x20','โœ“\x20Encrypted\x20auth\x20saved\x20to:\x20','yfrxu','--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.','isTTY','.enc','push','browser_auth','20554960acqvIv','log','\x22\x20already\x20exists\x20in\x20','7962fVyKzn','\x0a\x20\x20Profile\x20\x22','eccNQ','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','Continue\x20anyway','ecJfa','DOUSy','XZtTI','location','168993vCzIIE','\x0a๐ŸŒ\x20Profile\x20Setup\x0a','storageState','\x0aThe\x20browser\x20closed\x20unexpectedly\x20before\x20authentication\x20could\x20be\x20saved.','use_suggestion','\x20\x20\x20A\x20browser\x20will\x20open.\x20Please\x20log\x20in\x20to\x20the\x20profile\x20you\x20want\x20to\x20test\x20so\x20Ranger\x20can\x20access\x20it.','path','input','\x20--safe-mode\x20\x20\x20\x20(disables\x20browser\x20features\x20that\x20can\x20cause\x20crashes)','317nAuGhq','cdpEndpoint','confirm','safeMode','\x0a\x20\x20Still\x20could\x20not\x20reach\x20','isElectron','stdin','\x20\x20Set\x20active\x20profile:\x20','Profile\x20\x22','overwrite','YAlzS','kYWNb','hqKzn','BrVld','abort','prompt','status','Invalid\x20URL','105848wSGOjO','close','natdW','url','\x0a\x20\x20Could\x20not\x20reach\x20','\x20\x20ranger\x20profile\x20add\x20','local','CSdXp','action'];_0x11c9=function(){return _0x3f2b99;};return _0x11c9();}export async function addEnv(_0x1730f5,_0x53ec06={},_0x283ea0){const _0x553766=_0x57d2,_0x26c7e3={'XZtTI':'Saving\x20authentication\x20state...','kYWNb':function(_0x393173){return _0x393173();},'mxosr':_0x553766(0x10b),'MMqMq':function(_0x489222){return _0x489222();},'xzzGx':function(_0x1fd73d,_0x279a39){return _0x1fd73d!==_0x279a39;},'SwAsB':function(_0x1424da,_0x300151){return _0x1424da===_0x300151;},'uewNw':'--url\x20and\x20--cdp-endpoint\x20are\x20mutually\x20exclusive.\x20Use\x20--url\x20for\x20web\x20apps\x20or\x20--cdp-endpoint\x20for\x20Electron/CDP\x20apps,\x20not\x20both.','unnjD':_0x553766(0x14a),'YXeiO':_0x553766(0xfa),'YuZrW':_0x553766(0x101),'IDRIR':function(_0x33cc2f,_0x31cef9){return _0x33cc2f===_0x31cef9;},'wSxbc':_0x553766(0x128),'FsgZx':'shouldReplace','UvOlc':'url_setup','FkXww':'\x0a๐Ÿ”Œ\x20CDP\x20Profile\x20Setup\x0a','Lkito':_0x553766(0x11d),'MbjVu':_0x553766(0xf6),'fgnYD':'What\x20is\x20the\x20URL\x20of\x20your\x20running\x20app?','BOMvD':function(_0x284d6c,_0x464a95){return _0x284d6c||_0x464a95;},'Qmwno':_0x553766(0x115),'kQCDD':_0x553766(0xf3),'ThtMY':'continue','eccNQ':function(_0x5bb724,_0x23efa7,_0x2aa427){return _0x5bb724(_0x23efa7,_0x2aa427);},'bTQhD':'auth.json','hqKzn':_0x553766(0x14e),'CSdXp':'\x0a๐Ÿ“‹\x20Authentication\x20Setup','xdlya':'\x20\x20\x20When\x20done\x20logging\x20in,\x20close\x20the\x20browser\x20to\x20save\x20the\x20session.','YAlzS':_0x553766(0x11b),'fdEBb':_0x553766(0x113),'txajn':_0x553766(0x13f),'VpTYr':function(_0xa233b1,_0x5050e5){return _0xa233b1>_0x5050e5;},'nQtON':_0x553766(0x12e),'UvrMs':function(_0x1946f4,_0x3c8c2e,_0x49f796){return _0x1946f4(_0x3c8c2e,_0x49f796);},'PAJhP':'utf-8','natdW':function(_0x21d2ab,_0x1c5e15){return _0x21d2ab(_0x1c5e15);},'tnfxa':function(_0x5be042,_0x271ce7){return _0x5be042+_0x271ce7;},'DOUSy':_0x553766(0x14c),'jQbPr':function(_0x44bc9f,_0x2f247e){return _0x44bc9f(_0x2f247e);},'SJPlv':'settings.json','YjRbQ':function(_0x5f41de,_0x1b3ed1,_0x5758b7){return _0x5f41de(_0x1b3ed1,_0x5758b7);},'EFrVt':function(_0x69d04,_0x169d9a){return _0x69d04(_0x169d9a);},'hBupB':'Warning:\x20Profile\x20created,\x20but\x20failed\x20to\x20mark\x20it\x20as\x20active.','weCCB':'config_write','vvYma':function(_0x1c5d8f,_0x416ea7,_0xe98062){return _0x1c5d8f(_0x416ea7,_0xe98062);}},_0x31acd8=_0x53ec06['ci']??![],_0x56c22c=_0x31acd8?'ci':_0x553766(0x110),_0x1af686=join(getRangerDir(),_0x56c22c,_0x1730f5),_0x174d4e=join(_0x26c7e3[_0x553766(0x130)](getRangerDir),_0x56c22c);if(_0x26c7e3['xzzGx'](_0x53ec06['cdpEndpoint'],undefined)&&_0x26c7e3[_0x553766(0x13b)](_0x53ec06['cdpEndpoint']['trim'](),''))throw new Error(_0x553766(0x11c));if(_0x53ec06[_0x553766(0xf9)]&&_0x53ec06['url'])throw new Error(_0x26c7e3['uewNw']);if(_0x53ec06[_0x553766(0xf9)]&&_0x53ec06['ci'])throw new Error(_0x26c7e3['unnjD']);const _0x11c0a2=Boolean(_0x53ec06['cdpEndpoint']),_0x136a60=!_0x53ec06[_0x553766(0x125)]&&!_0x11c0a2,_0x4e30e7=process[_0x553766(0xfe)][_0x553766(0x14b)]&&process['stdout']['isTTY'];if(!_0x4e30e7&&!_0x53ec06['url']&&!_0x11c0a2)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 _0x12788f=findExistingEnv(_0x1730f5);let _0x2a6d40=null;if(_0x12788f){if(!_0x4e30e7)_0x2a6d40=_0x12788f;else{if(_0x12788f[_0x553766(0xee)]===_0x56c22c){const {overwrite:_0x3e30a3}=await _0xafaa45[_0x553766(0x107)]([{'type':_0x26c7e3['YXeiO'],'name':_0x26c7e3['YuZrW'],'message':_0x553766(0x100)+_0x1730f5+_0x553766(0x136),'default':![]}]);if(!_0x3e30a3){console[_0x553766(0x150)](_0x553766(0x126));return;}_0x2a6d40=_0x12788f;}else{const _0x272659=_0x26c7e3['IDRIR'](_0x12788f['location'],_0x26c7e3['wSxbc'])?_0x553766(0x135):_0x12788f[_0x553766(0xee)];console[_0x553766(0x129)]('\x0aโš ๏ธ\x20\x20Profile\x20\x22'+_0x1730f5+_0x553766(0x151)+_0x272659+':\x20'+_0x12788f['path']),console['error'](_0x553766(0x147)+_0x56c22c+'\x20would\x20shadow\x20the\x20existing\x20profile.');const {shouldReplace:_0x3e930a}=await _0xafaa45['prompt']([{'type':_0x26c7e3[_0x553766(0x123)],'name':_0x26c7e3['FsgZx'],'message':'Delete\x20existing\x20and\x20create\x20new\x20in\x20'+_0x56c22c+'?','default':![]}]);if(!_0x3e930a){console['log'](_0x553766(0x126));return;}_0x2a6d40=_0x12788f;}}}_0x283ea0?.[_0x553766(0x141)](_0x26c7e3[_0x553766(0x127)]);let _0x323d12='';if(_0x11c0a2)console['log'](_0x26c7e3[_0x553766(0x138)]),console[_0x553766(0x150)](_0x553766(0x117)+_0x53ec06['cdpEndpoint']),console[_0x553766(0x150)](_0x26c7e3[_0x553766(0x11e)]);else{if(_0x53ec06['url']){_0x323d12=_0x53ec06[_0x553766(0x10d)];const _0x31e20e=await checkUrlReachability(_0x323d12);if(!_0x31e20e['ok']&&!_0x53ec06['force'])throw new Error('Could\x20not\x20reach\x20'+_0x323d12+':\x20'+_0x31e20e[_0x553766(0x129)]+'\x0aMake\x20sure\x20your\x20app\x20is\x20running,\x20then\x20try\x20again.\x20To\x20skip\x20this\x20check,\x20pass\x20--force.');!_0x31e20e['ok']&&_0x53ec06['force']&&console['log']('โš \x20Could\x20not\x20reach\x20'+_0x323d12+':\x20'+_0x31e20e[_0x553766(0x129)]+'\x20(continuing\x20with\x20--force)');}else{console[_0x553766(0x150)](_0x553766(0xf0)),console[_0x553766(0x150)]('\x20\x20Make\x20sure\x20your\x20app\x20is\x20running\x20locally\x20before\x20continuing.'),console['log']('\x20\x20Ranger\x20will\x20open\x20it\x20in\x20a\x20browser\x20so\x20you\x20can\x20log\x20in\x20and\x20save\x20your\x20session.\x0a');let _0x1dc6a5=![];while(!![]){const _0x5c5c3e=await _0xafaa45['prompt']([{'type':_0x26c7e3['MbjVu'],'name':'baseUrl','message':_0x1dc6a5?_0x553766(0x11a):_0x26c7e3['fgnYD'],'default':_0x26c7e3['BOMvD'](_0x323d12,'http://localhost:3000')}]);_0x323d12=_0x5c5c3e['baseUrl'];const _0x28e06c=await checkUrlReachability(_0x323d12);if(_0x28e06c['ok'])break;const _0x3011fc=/^[a-zA-Z][\w+.-]*:\/\//['test'](_0x323d12),_0x182d81=_0x28e06c[_0x553766(0x114)]&&!_0x3011fc,_0x1623c9=_0x182d81?'http://'+_0x323d12:null;_0x1dc6a5=!![],console[_0x553766(0x150)](_0x553766(0x10e)+_0x323d12+':\x20'+_0x28e06c[_0x553766(0x129)]);_0x1623c9&&console[_0x553766(0x150)](_0x553766(0x119)+_0x1623c9+'?');const {action:_0x4fac75}=await _0xafaa45['prompt']([{'type':'list','name':_0x553766(0x112),'message':_0x26c7e3['Qmwno'],'choices':[..._0x1623c9?[{'name':'Use\x20'+_0x1623c9,'value':_0x26c7e3[_0x553766(0x116)]}]:[],{'name':'Enter\x20a\x20different\x20URL','value':_0x553766(0x12f)},{'name':_0x553766(0x156),'value':_0x26c7e3['ThtMY']}]}]);if(_0x4fac75==='use_suggestion'&&_0x1623c9){_0x323d12=_0x1623c9;const _0x158736=await checkUrlReachability(_0x323d12);if(_0x158736['ok'])break;console['log'](_0x553766(0xfc)+_0x323d12+':\x20'+_0x158736['error']);}else{if(_0x4fac75===_0x26c7e3[_0x553766(0x12b)])break;}}}}_0x283ea0?.[_0x553766(0x12c)](_0x26c7e3[_0x553766(0x127)]),await mkdir(_0x174d4e,{'recursive':!![]});const _0x1917ee=await mkdtemp(join(_0x174d4e,'.tmp-'+_0x1730f5+'-')),_0x1760d1=_0x26c7e3[_0x553766(0x154)](join,_0x1917ee,_0x26c7e3['bTQhD']);try{if(_0x136a60){_0x283ea0?.['trackPhaseStart'](_0x26c7e3[_0x553766(0x104)]),console['log'](_0x26c7e3[_0x553766(0x111)]),console[_0x553766(0x150)](_0x553766(0xf4)),console['log'](_0x26c7e3['xdlya']);!_0x4e30e7?(console['log'](_0x26c7e3[_0x553766(0x102)]),console[_0x553766(0x150)](_0x26c7e3[_0x553766(0x11f)])):console[_0x553766(0x150)]('');await new Promise(_0xb9cbbd=>setTimeout(_0xb9cbbd,0xbb8));const _0xbe947=[];_0x53ec06['safeMode']&&_0xbe947[_0x553766(0x14d)](_0x26c7e3[_0x553766(0x12a)]);const _0x507494=await chromium['launch']({'headless':![],..._0x26c7e3['VpTYr'](_0xbe947['length'],0x0)?{'args':_0xbe947}:{}});try{const _0x4b03ed=await _0x507494[_0x553766(0x13a)]();await addProfileSetupBanner(_0x4b03ed);const _0x92ba0e=await _0x4b03ed['newPage']();await _0x92ba0e[_0x553766(0x124)](_0x323d12||_0x553766(0x122));let _0xc14352=![];await new Promise(_0x26c004=>{const _0x3f26a7=_0x553766;_0x92ba0e['on'](_0x26c7e3[_0x3f26a7(0x134)],async()=>{const _0x2138b9=_0x3f26a7;try{console[_0x2138b9(0x150)](_0x26c7e3[_0x2138b9(0xed)]),await _0x4b03ed[_0x2138b9(0xf1)]({'path':_0x1760d1}),_0xc14352=!![];}catch{}_0x26c7e3[_0x2138b9(0x103)](_0x26c004);});});if(!_0xc14352){console['log'](_0x553766(0xf2));!_0x53ec06[_0x553766(0xfb)]&&(console['log']('This\x20can\x20happen\x20due\x20to\x20a\x20browser\x20compatibility\x20issue\x20on\x20some\x20systems.\x0a'),console[_0x553766(0x150)](_0x26c7e3[_0x553766(0x132)]),console[_0x553766(0x150)](_0x553766(0x10f)+_0x1730f5+_0x553766(0xf7)),console['log'](_0x553766(0x10f)+_0x1730f5+'\x20--skip-auth\x20\x20\x20\x20(skip\x20browser\x20auth\x20entirely)\x0a'));throw new Error('Browser\x20closed\x20before\x20authentication\x20was\x20saved.');}}finally{await _0x507494['close']()['catch'](()=>{});}if(_0x31acd8){const _0x3d8adf=await _0x26c7e3[_0x553766(0x121)](readFile,_0x1760d1,_0x26c7e3['PAJhP']),_0x545381=await getToken();if(!_0x545381){console['error']('\x20\x20Could\x20not\x20encrypt:\x20No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]'),await _0x26c7e3[_0x553766(0x10c)](unlink,_0x1760d1)['catch'](()=>{});throw new Error('Missing\x20API\x20token;\x20aborting\x20CI\x20profile\x20creation.');}else{const _0x3f9c54=encrypt(_0x3d8adf,_0x545381);await writeFile(_0x26c7e3[_0x553766(0x145)](_0x1760d1,_0x26c7e3[_0x553766(0xec)]),_0x3f9c54),await _0x26c7e3['jQbPr'](unlink,_0x1760d1),console[_0x553766(0x150)](_0x553766(0x148)+_0x1760d1+_0x553766(0x14c)),console['log'](_0x553766(0x155)),console[_0x553766(0x150)]('\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.');}}else console[_0x553766(0x150)]('โœ“\x20Auth\x20state\x20saved\x20to:\x20'+_0x1760d1);_0x283ea0?.['trackPhaseEnd']('browser_auth');}_0x283ea0?.[_0x553766(0x141)]('config_write');const _0x3f8f11={};_0x323d12&&(_0x3f8f11['baseUrl']=_0x323d12);_0x53ec06[_0x553766(0xf9)]&&(_0x3f8f11['cdpEndpoint']=_0x53ec06[_0x553766(0xf9)],_0x3f8f11[_0x553766(0xfd)]=!![]);_0x53ec06[_0x553766(0x137)]&&(_0x3f8f11[_0x553766(0x137)]=!![]);_0x53ec06[_0x553766(0xfb)]&&(_0x3f8f11[_0x553766(0xfb)]=!![]);await writeFile(join(_0x1917ee,_0x26c7e3['SJPlv']),JSON[_0x553766(0x12d)](_0x3f8f11,null,0x2)),console['log']('โœ“\x20Created\x20settings:\x20'+join(_0x1af686,_0x553766(0x131)));if(_0x2a6d40?.['location']===_0x56c22c){const _0x19232b=_0x2a6d40['path']+'.backup-'+Date['now']();await _0x26c7e3[_0x553766(0x121)](rename,_0x2a6d40[_0x553766(0xf5)],_0x19232b);try{await _0x26c7e3[_0x553766(0x121)](rename,_0x1917ee,_0x1af686);}catch(_0x36bfd2){await rename(_0x19232b,_0x2a6d40['path']);throw _0x36bfd2;}try{await _0x26c7e3[_0x553766(0x144)](rm,_0x19232b,{'recursive':!![]});}catch{console[_0x553766(0x150)]('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20backup\x20at\x20'+_0x19232b);}}else{await rename(_0x1917ee,_0x1af686);if(_0x2a6d40)try{await _0x26c7e3['eccNQ'](rm,_0x2a6d40['path'],{'recursive':!![]}),console[_0x553766(0x150)](_0x553766(0x13e)+_0x2a6d40[_0x553766(0xf5)]);}catch{console[_0x553766(0x150)]('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20at\x20'+_0x2a6d40[_0x553766(0xf5)]);}}try{await _0x26c7e3['EFrVt'](writeActiveProfileName,_0x1730f5),console['log'](_0x553766(0xff)+_0x1730f5);}catch{console['log'](_0x26c7e3['hBupB']);}_0x283ea0?.[_0x553766(0x12c)](_0x26c7e3['weCCB']),console['log'](_0x553766(0x153)+_0x1730f5+'\x22\x20configured');}catch(_0x4fd025){await _0x26c7e3[_0x553766(0x133)](rm,_0x1917ee,{'recursive':!![],'force':!![]});throw _0x4fd025;}}
1
+ (function(_0x48c670,_0x541041){const _0x21a40f=_0xa158,_0x6bd74b=_0x48c670();while(!![]){try{const _0x1b24a6=parseInt(_0x21a40f(0x175))/0x1*(-parseInt(_0x21a40f(0x152))/0x2)+parseInt(_0x21a40f(0x136))/0x3+-parseInt(_0x21a40f(0x18d))/0x4+-parseInt(_0x21a40f(0x168))/0x5*(-parseInt(_0x21a40f(0x17f))/0x6)+-parseInt(_0x21a40f(0x177))/0x7*(parseInt(_0x21a40f(0x160))/0x8)+-parseInt(_0x21a40f(0x137))/0x9*(parseInt(_0x21a40f(0x1a3))/0xa)+-parseInt(_0x21a40f(0x13b))/0xb*(-parseInt(_0x21a40f(0x185))/0xc);if(_0x1b24a6===_0x541041)break;else _0x6bd74b['push'](_0x6bd74b['shift']());}catch(_0xefd991){_0x6bd74b['push'](_0x6bd74b['shift']());}}}(_0x486c,0x47215));import{mkdir,writeFile,readFile,unlink,rm,mkdtemp,rename}from'fs/promises';import{join}from'path';import _0x15cd0b from'inquirer';import{chromium}from'playwright';import{findExistingEnv}from'./utils/settings.js';function _0xa158(_0x5c97d9,_0x55f7ac){_0x5c97d9=_0x5c97d9-0x131;const _0x486c2c=_0x486c();let _0xa158a5=_0x486c2c[_0x5c97d9];return _0xa158a5;}import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getRangerDir}from'./utils/rangerRoot.js';function _0x486c(){const _0x5e445b=['Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20backup\x20at\x20','browser_auth','uqrTO','NcnoD','length','QxkKw','use_suggestion','Use\x20','180LQgGAN','\x0a\x20\x20Still\x20could\x20not\x20reach\x20','xstTw','.backup-','message','--cdp-endpoint\x20must\x20not\x20be\x20empty.\x20Provide\x20the\x20CDP\x20URL,\x20e.g.\x20--cdp-endpoint\x20http://localhost:9222','โœ“\x20Encrypted\x20auth\x20saved\x20to:\x20','trim','TPEjH','YOdxz','root\x20(.ranger/)','\x0aโš ๏ธ\x20\x20Profile\x20\x22','922191PLKejO','189090PcUeeX','force','Delete\x20existing\x20and\x20create\x20new\x20in\x20','gTdmO','5330985XuUuSo','eCPIY','--disable-features=WebBluetooth','EvYAr','isElectron','โš \x20Could\x20not\x20reach\x20','What\x20would\x20you\x20like\x20to\x20do?','tpYbh','Aborted.','yNepY','\x20\x20Did\x20you\x20mean\x20','log','close','allowInsecureLocalhost','cisgj','\x20(continuing\x20with\x20--force)','location','gIjUL','\x20\x20Set\x20active\x20profile:\x20','hFIOW','jrKvq','\x20\x20Could\x20not\x20encrypt:\x20No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','zYbzE','20GQivEX','trackPhaseStart','config_write','cdpEndpoint','.enc','\x20\x20\x20When\x20done\x20logging\x20in,\x20close\x20the\x20browser\x20to\x20save\x20the\x20session.','http://','dppqp','overwrite','Could\x20not\x20reach\x20','hmQxI','name','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','test','8useiOI','retry','baseUrl','settings.json','prompt','QRqtg','This\x20can\x20happen\x20due\x20to\x20a\x20browser\x20compatibility\x20issue\x20on\x20some\x20systems.\x0a','.tmp-','356045LoMxvG','\x0a๐Ÿ“‹\x20Authentication\x20Setup','http://localhost:3000','\x0a\x20\x20\x20โš \x20This\x20step\x20requires\x20human\x20interaction\x20in\x20a\x20browser.','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','url','tczkT','iKRIS','signal','Bhszm','What\x20is\x20the\x20URL\x20of\x20your\x20running\x20app?','error','\x20--skip-auth\x20\x20\x20\x20(skip\x20browser\x20auth\x20entirely)\x0a','12563VnnrVG','TypeError','1820189iVrkwU','Invalid\x20URL','fcBzl','Browser\x20closed\x20before\x20authentication\x20was\x20saved.','MdgJh','list','\x20\x20Make\x20sure\x20your\x20app\x20is\x20running\x20locally\x20before\x20continuing.','newContext','24chDEOk','DHPBJ','catch','isTTY','\x20\x20ranger\x20profile\x20add\x20','stdout','24BWrrMk','\x20\x20\x20Creating\x20it\x20in\x20','\x20\x20Configuring\x20Ranger\x20to\x20connect\x20to:\x20','azzTA','OgUiF','FwArw','storageState','โœ“\x20Auth\x20state\x20saved\x20to:\x20','2025268ROhUDf','\x0aMake\x20sure\x20your\x20app\x20is\x20running,\x20then\x20try\x20again.\x20To\x20skip\x20this\x20check,\x20pass\x20--force.','--url\x20and\x20--cdp-endpoint\x20are\x20mutually\x20exclusive.\x20Use\x20--url\x20for\x20web\x20apps\x20or\x20--cdp-endpoint\x20for\x20Electron/CDP\x20apps,\x20not\x20both.','xIoup','stringify','trackPhaseEnd','FHNLI','includes','dWynW','\x20\x20\x20If\x20you\x20are\x20an\x20agent,\x20background\x20this\x20process\x20and\x20let\x20your\x20user\x20know\x20they\x20need\x20to\x20complete\x20browser\x20authentication.\x0a','Profile\x20\x22','safeMode','Saving\x20authentication\x20state...','path'];_0x486c=function(){return _0x5e445b;};return _0x486c();}import{writeActiveProfileName}from'./utils/activeProfile.js';import{addProfileSetupBanner}from'./utils/profileSetupBanner.js';async function checkUrlReachability(_0xba525a){const _0x4902f4=_0xa158,_0x1c6002={'jIlIE':function(_0x56ffca,_0x63a34d,_0x264629){return _0x56ffca(_0x63a34d,_0x264629);},'fcBzl':function(_0x67d57,_0x24c1f2,_0x23f37a){return _0x67d57(_0x24c1f2,_0x23f37a);},'NcnoD':function(_0x300f9a,_0x253469){return _0x300f9a(_0x253469);},'YOdxz':function(_0x271fa4,_0x314241){return _0x271fa4===_0x314241;}};try{const _0x4f861a=new AbortController(),_0x418ef9=_0x1c6002['jIlIE'](setTimeout,()=>_0x4f861a['abort'](),0x1388),_0x1f0161=await _0x1c6002[_0x4902f4(0x179)](fetch,_0xba525a,{'method':'HEAD','signal':_0x4f861a[_0x4902f4(0x170)],'redirect':'manual'});_0x1c6002[_0x4902f4(0x19e)](clearTimeout,_0x418ef9);if(_0x1f0161['status']<0x190)return{'ok':!![]};return{'ok':![],'error':'HTTP\x20'+_0x1f0161['status']};}catch(_0x409485){const _0x297081=_0x409485,_0x4128c5=_0x297081[_0x4902f4(0x1a7)]||String(_0x409485),_0x16f935=_0x4128c5['includes'](_0x4902f4(0x178))||_0x1c6002[_0x4902f4(0x133)](_0x297081[_0x4902f4(0x15d)],_0x4902f4(0x176))||_0x4128c5[_0x4902f4(0x194)]('fetch\x20failed');return{'ok':![],'error':_0x4128c5,'isProtocolError':_0x16f935};}}export async function addEnv(_0x3aaf56,_0x3c8ff2={},_0x43cbe6){const _0x3765d5=_0xa158,_0x3f7775={'OlShj':_0x3765d5(0x199),'eCPIY':_0x3765d5(0x147),'azzTA':'local','BueNw':function(_0x5f54bb,_0x51ce1e,_0x26f776,_0x8c4f31){return _0x5f54bb(_0x51ce1e,_0x26f776,_0x8c4f31);},'QzwFm':function(_0x22ca51,_0x58f4c0){return _0x22ca51!==_0x58f4c0;},'bqruC':_0x3765d5(0x1a8),'qzLCm':_0x3765d5(0x18f),'EvYAr':function(_0x3e3a31,_0x230216){return _0x3e3a31(_0x230216);},'zYbzE':_0x3765d5(0x16c),'Bhszm':function(_0x554d7d,_0x545573){return _0x554d7d(_0x545573);},'OgUiF':function(_0x367a7c,_0x1fdcef){return _0x367a7c===_0x1fdcef;},'dppqp':function(_0x2fab78,_0x16b2b1){return _0x2fab78===_0x16b2b1;},'tbpVT':'shouldReplace','cisgj':'\x20\x20Make\x20sure\x20your\x20Electron\x20app\x20(or\x20browser)\x20is\x20running\x20with\x20remote\x20debugging\x20enabled.\x0a','VRLZr':function(_0x10d3ea,_0x8df44a){return _0x10d3ea(_0x8df44a);},'gIjUL':'\x0a๐ŸŒ\x20Profile\x20Setup\x0a','DHPBJ':_0x3765d5(0x17d),'FMAST':'\x20\x20Ranger\x20will\x20open\x20it\x20in\x20a\x20browser\x20so\x20you\x20can\x20log\x20in\x20and\x20save\x20your\x20session.\x0a','uqrTO':'input','xIoup':function(_0x1ac202,_0x229eca){return _0x1ac202||_0x229eca;},'jNVhn':_0x3765d5(0x16a),'gTdmO':_0x3765d5(0x1a1),'hmQxI':'Enter\x20a\x20different\x20URL','dWynW':'Continue\x20anyway','UDLIn':'continue','FHNLI':function(_0x4f105a,_0xd294f9,_0x2e33c9){return _0x4f105a(_0xd294f9,_0x2e33c9);},'iKRIS':'auth.json','QRqtg':_0x3765d5(0x19c),'dgaPZ':'\x20\x20\x20A\x20browser\x20will\x20open.\x20Please\x20log\x20in\x20to\x20the\x20profile\x20you\x20want\x20to\x20test\x20so\x20Ranger\x20can\x20access\x20it.','btTmm':_0x3765d5(0x196),'dVsqM':_0x3765d5(0x13d),'tpYbh':function(_0x532ccc,_0x162575){return _0x532ccc>_0x162575;},'jrKvq':'about:blank','tczkT':'\x0aThe\x20browser\x20closed\x20unexpectedly\x20before\x20authentication\x20could\x20be\x20saved.','FwArw':'You\x20can\x20try\x20again\x20with\x20one\x20of:','MdgJh':'utf-8','gBifg':function(_0x55b701){return _0x55b701();},'NwuVT':'Missing\x20API\x20token;\x20aborting\x20CI\x20profile\x20creation.','lcXty':function(_0x62144a,_0x4c6d9c,_0x11eca5){return _0x62144a(_0x4c6d9c,_0x11eca5);},'nWUAJ':_0x3765d5(0x15e),'JvSpp':'\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','FxKOq':_0x3765d5(0x154),'hFIOW':_0x3765d5(0x163),'xstTw':function(_0x199a3f,_0x1735bd,_0x2163ce){return _0x199a3f(_0x1735bd,_0x2163ce);},'TPEjH':function(_0x5d95a7,_0x3751d1,_0x2a6d87){return _0x5d95a7(_0x3751d1,_0x2a6d87);},'yNepY':function(_0x4c1f0e,_0x3ed021,_0x5f5278){return _0x4c1f0e(_0x3ed021,_0x5f5278);},'MmJGM':function(_0x15fb01,_0x4c7437,_0x2b630e){return _0x15fb01(_0x4c7437,_0x2b630e);},'QxkKw':'Warning:\x20Profile\x20created,\x20but\x20failed\x20to\x20mark\x20it\x20as\x20active.'},_0x2f7502=_0x3c8ff2['ci']??![],_0x5e50f6=_0x2f7502?'ci':_0x3f7775[_0x3765d5(0x188)],_0x39c2d1=_0x3f7775['BueNw'](join,getRangerDir(),_0x5e50f6,_0x3aaf56),_0x435a25=join(getRangerDir(),_0x5e50f6);if(_0x3f7775['QzwFm'](_0x3c8ff2['cdpEndpoint'],undefined)&&_0x3c8ff2['cdpEndpoint'][_0x3765d5(0x131)]()==='')throw new Error(_0x3f7775['bqruC']);if(_0x3c8ff2[_0x3765d5(0x155)]&&_0x3c8ff2['url'])throw new Error(_0x3f7775['qzLCm']);if(_0x3c8ff2[_0x3765d5(0x155)]&&_0x3c8ff2['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 _0x14313a=_0x3f7775['EvYAr'](Boolean,_0x3c8ff2[_0x3765d5(0x155)]),_0x4bbbd6=!_0x3c8ff2['skipAuth']&&!_0x14313a,_0x27ca11=process['stdin'][_0x3765d5(0x182)]&&process[_0x3765d5(0x184)]['isTTY'];if(!_0x27ca11&&!_0x3c8ff2['url']&&!_0x14313a)throw new Error(_0x3f7775[_0x3765d5(0x151)]);const _0x34733f=_0x3f7775['Bhszm'](findExistingEnv,_0x3aaf56);let _0x2fe6e3=null;if(_0x34733f){if(!_0x27ca11)_0x2fe6e3=_0x34733f;else{if(_0x3f7775['OgUiF'](_0x34733f[_0x3765d5(0x14b)],_0x5e50f6)){const {overwrite:_0x3e88c8}=await _0x15cd0b['prompt']([{'type':'confirm','name':_0x3765d5(0x15a),'message':_0x3765d5(0x197)+_0x3aaf56+'\x22\x20already\x20exists.\x20Overwrite?','default':![]}]);if(!_0x3e88c8){console[_0x3765d5(0x146)](_0x3765d5(0x143));return;}_0x2fe6e3=_0x34733f;}else{const _0x35aace=_0x3f7775[_0x3765d5(0x159)](_0x34733f['location'],'legacy')?_0x3765d5(0x134):_0x34733f['location'];console['error'](_0x3765d5(0x135)+_0x3aaf56+'\x22\x20already\x20exists\x20in\x20'+_0x35aace+':\x20'+_0x34733f[_0x3765d5(0x19a)]),console['error'](_0x3765d5(0x186)+_0x5e50f6+'\x20would\x20shadow\x20the\x20existing\x20profile.');const {shouldReplace:_0x16164b}=await _0x15cd0b['prompt']([{'type':'confirm','name':_0x3f7775['tbpVT'],'message':_0x3765d5(0x139)+_0x5e50f6+'?','default':![]}]);if(!_0x16164b){console[_0x3765d5(0x146)](_0x3765d5(0x143));return;}_0x2fe6e3=_0x34733f;}}}_0x43cbe6?.['trackPhaseStart']('url_setup');let _0x454f3a='';if(_0x14313a)console[_0x3765d5(0x146)]('\x0a๐Ÿ”Œ\x20CDP\x20Profile\x20Setup\x0a'),console['log'](_0x3765d5(0x187)+_0x3c8ff2['cdpEndpoint']),console[_0x3765d5(0x146)](_0x3f7775[_0x3765d5(0x149)]);else{if(_0x3c8ff2[_0x3765d5(0x16d)]){_0x454f3a=_0x3c8ff2[_0x3765d5(0x16d)];const _0x3b135f=await _0x3f7775['VRLZr'](checkUrlReachability,_0x454f3a);if(!_0x3b135f['ok']&&!_0x3c8ff2[_0x3765d5(0x138)])throw new Error(_0x3765d5(0x15b)+_0x454f3a+':\x20'+_0x3b135f['error']+_0x3765d5(0x18e));!_0x3b135f['ok']&&_0x3c8ff2[_0x3765d5(0x138)]&&console['log'](_0x3765d5(0x140)+_0x454f3a+':\x20'+_0x3b135f[_0x3765d5(0x173)]+_0x3765d5(0x14a));}else{console[_0x3765d5(0x146)](_0x3f7775[_0x3765d5(0x14c)]),console['log'](_0x3f7775[_0x3765d5(0x180)]),console['log'](_0x3f7775['FMAST']);let _0x17b9c2=![];while(!![]){const _0x9487e1=await _0x15cd0b['prompt']([{'type':_0x3f7775[_0x3765d5(0x19d)],'name':'baseUrl','message':_0x17b9c2?'Enter\x20a\x20new\x20URL\x20(or\x20press\x20enter\x20to\x20keep\x20current):':_0x3765d5(0x172),'default':_0x3f7775[_0x3765d5(0x190)](_0x454f3a,_0x3f7775['jNVhn'])}]);_0x454f3a=_0x9487e1[_0x3765d5(0x162)];const _0x4d291f=await checkUrlReachability(_0x454f3a);if(_0x4d291f['ok'])break;const _0x1fd5f0=/^[a-zA-Z][\w+.-]*:\/\//[_0x3765d5(0x15f)](_0x454f3a),_0x3564de=_0x4d291f['isProtocolError']&&!_0x1fd5f0,_0x518757=_0x3564de?_0x3765d5(0x158)+_0x454f3a:null;_0x17b9c2=!![],console[_0x3765d5(0x146)]('\x0a\x20\x20Could\x20not\x20reach\x20'+_0x454f3a+':\x20'+_0x4d291f['error']);_0x518757&&console[_0x3765d5(0x146)](_0x3765d5(0x145)+_0x518757+'?');const {action:_0x4257c6}=await _0x15cd0b[_0x3765d5(0x164)]([{'type':_0x3765d5(0x17c),'name':'action','message':_0x3765d5(0x141),'choices':[..._0x518757?[{'name':_0x3765d5(0x1a2)+_0x518757,'value':_0x3f7775['gTdmO']}]:[],{'name':_0x3f7775[_0x3765d5(0x15c)],'value':_0x3765d5(0x161)},{'name':_0x3f7775[_0x3765d5(0x195)],'value':_0x3f7775['UDLIn']}]}]);if(_0x3f7775[_0x3765d5(0x189)](_0x4257c6,_0x3f7775[_0x3765d5(0x13a)])&&_0x518757){_0x454f3a=_0x518757;const _0x1907a2=await checkUrlReachability(_0x454f3a);if(_0x1907a2['ok'])break;console[_0x3765d5(0x146)](_0x3765d5(0x1a4)+_0x454f3a+':\x20'+_0x1907a2[_0x3765d5(0x173)]);}else{if(_0x4257c6===_0x3f7775['UDLIn'])break;}}}}_0x43cbe6?.['trackPhaseEnd']('url_setup'),await _0x3f7775['FHNLI'](mkdir,_0x435a25,{'recursive':!![]});const _0x23d4a0=await _0x3f7775[_0x3765d5(0x171)](mkdtemp,_0x3f7775[_0x3765d5(0x193)](join,_0x435a25,_0x3765d5(0x167)+_0x3aaf56+'-')),_0x48846c=join(_0x23d4a0,_0x3f7775[_0x3765d5(0x16f)]);try{if(_0x4bbbd6){_0x43cbe6?.[_0x3765d5(0x153)](_0x3f7775[_0x3765d5(0x165)]),console[_0x3765d5(0x146)](_0x3765d5(0x169)),console['log'](_0x3f7775['dgaPZ']),console['log'](_0x3765d5(0x157));!_0x27ca11?(console[_0x3765d5(0x146)](_0x3765d5(0x16b)),console[_0x3765d5(0x146)](_0x3f7775['btTmm'])):console[_0x3765d5(0x146)]('');await new Promise(_0x3550c9=>setTimeout(_0x3550c9,0xbb8));const _0x29fddd=[];_0x3c8ff2[_0x3765d5(0x198)]&&_0x29fddd['push'](_0x3f7775['dVsqM']);const _0x3f6097=await chromium['launch']({'headless':![],..._0x3f7775[_0x3765d5(0x142)](_0x29fddd[_0x3765d5(0x19f)],0x0)?{'args':_0x29fddd}:{}});try{const _0x497553=await _0x3f6097[_0x3765d5(0x17e)]();await _0x3f7775[_0x3765d5(0x13e)](addProfileSetupBanner,_0x497553);const _0x33a618=await _0x497553['newPage']();await _0x33a618['goto'](_0x454f3a||_0x3f7775[_0x3765d5(0x14f)]);let _0x133370=![];await new Promise(_0x4a73c1=>{const _0xbd9369=_0x3765d5,_0x5167ee={'fpZLu':_0x3f7775['OlShj']};_0x33a618['on'](_0x3f7775[_0xbd9369(0x13c)],async()=>{const _0x10ef54=_0xbd9369;try{console[_0x10ef54(0x146)](_0x5167ee['fpZLu']),await _0x497553[_0x10ef54(0x18b)]({'path':_0x48846c}),_0x133370=!![];}catch{}_0x4a73c1();});});if(!_0x133370){console['log'](_0x3f7775[_0x3765d5(0x16e)]);!_0x3c8ff2['safeMode']&&(console[_0x3765d5(0x146)](_0x3765d5(0x166)),console['log'](_0x3f7775[_0x3765d5(0x18a)]),console['log'](_0x3765d5(0x183)+_0x3aaf56+'\x20--safe-mode\x20\x20\x20\x20(disables\x20browser\x20features\x20that\x20can\x20cause\x20crashes)'),console['log'](_0x3765d5(0x183)+_0x3aaf56+_0x3765d5(0x174)));throw new Error(_0x3765d5(0x17a));}}finally{await _0x3f6097['close']()[_0x3765d5(0x181)](()=>{});}if(_0x2f7502){const _0x57144d=await readFile(_0x48846c,_0x3f7775[_0x3765d5(0x17b)]),_0x50b850=await _0x3f7775['gBifg'](getToken);if(!_0x50b850){console['error'](_0x3765d5(0x150)),await _0x3f7775['EvYAr'](unlink,_0x48846c)[_0x3765d5(0x181)](()=>{});throw new Error(_0x3f7775['NwuVT']);}else{const _0x209c53=encrypt(_0x57144d,_0x50b850);await _0x3f7775['lcXty'](writeFile,_0x48846c+_0x3765d5(0x156),_0x209c53),await unlink(_0x48846c),console[_0x3765d5(0x146)](_0x3765d5(0x1a9)+_0x48846c+_0x3765d5(0x156)),console['log'](_0x3f7775['nWUAJ']),console['log'](_0x3f7775['JvSpp']);}}else console['log'](_0x3765d5(0x18c)+_0x48846c);_0x43cbe6?.['trackPhaseEnd'](_0x3765d5(0x19c));}_0x43cbe6?.['trackPhaseStart'](_0x3f7775['FxKOq']);const _0x51f8bf={};_0x454f3a&&(_0x51f8bf['baseUrl']=_0x454f3a);_0x3c8ff2[_0x3765d5(0x155)]&&(_0x51f8bf['cdpEndpoint']=_0x3c8ff2[_0x3765d5(0x155)],_0x51f8bf[_0x3765d5(0x13f)]=!![]);_0x3c8ff2['allowInsecureLocalhost']&&(_0x51f8bf[_0x3765d5(0x148)]=!![]);_0x3c8ff2[_0x3765d5(0x198)]&&(_0x51f8bf['safeMode']=!![]);await writeFile(join(_0x23d4a0,_0x3f7775[_0x3765d5(0x14e)]),JSON[_0x3765d5(0x191)](_0x51f8bf,null,0x2)),console['log']('โœ“\x20Created\x20settings:\x20'+_0x3f7775[_0x3765d5(0x1a5)](join,_0x39c2d1,'settings.json'));if(_0x2fe6e3?.['location']===_0x5e50f6){const _0x44d312=_0x2fe6e3[_0x3765d5(0x19a)]+_0x3765d5(0x1a6)+Date['now']();await rename(_0x2fe6e3['path'],_0x44d312);try{await _0x3f7775[_0x3765d5(0x132)](rename,_0x23d4a0,_0x39c2d1);}catch(_0xee5974){await rename(_0x44d312,_0x2fe6e3[_0x3765d5(0x19a)]);throw _0xee5974;}try{await _0x3f7775[_0x3765d5(0x144)](rm,_0x44d312,{'recursive':!![]});}catch{console['log'](_0x3765d5(0x19b)+_0x44d312);}}else{await _0x3f7775['MmJGM'](rename,_0x23d4a0,_0x39c2d1);if(_0x2fe6e3)try{await _0x3f7775['TPEjH'](rm,_0x2fe6e3['path'],{'recursive':!![]}),console['log']('Removed\x20existing\x20profile\x20at\x20'+_0x2fe6e3['path']);}catch{console['log']('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20at\x20'+_0x2fe6e3['path']);}}try{await writeActiveProfileName(_0x3aaf56),console[_0x3765d5(0x146)](_0x3765d5(0x14d)+_0x3aaf56);}catch{console['log'](_0x3f7775[_0x3765d5(0x1a0)]);}_0x43cbe6?.[_0x3765d5(0x192)](_0x3f7775['FxKOq']),console[_0x3765d5(0x146)]('\x0a\x20\x20Profile\x20\x22'+_0x3aaf56+'\x22\x20configured');}catch(_0x3f8d29){await _0x3f7775[_0x3765d5(0x193)](rm,_0x23d4a0,{'recursive':!![],'force':!![]});throw _0x3f8d29;}}
@@ -1 +1 @@
1
- (function(_0x221086,_0x4571d2){const _0x1318d6=_0x2012,_0x30c33e=_0x221086();while(!![]){try{const _0x23436d=-parseInt(_0x1318d6(0xa4))/0x1*(-parseInt(_0x1318d6(0xa2))/0x2)+parseInt(_0x1318d6(0xad))/0x3+parseInt(_0x1318d6(0xb4))/0x4+-parseInt(_0x1318d6(0xb1))/0x5+-parseInt(_0x1318d6(0xb5))/0x6+parseInt(_0x1318d6(0xa5))/0x7*(parseInt(_0x1318d6(0xae))/0x8)+-parseInt(_0x1318d6(0xaa))/0x9;if(_0x23436d===_0x4571d2)break;else _0x30c33e['push'](_0x30c33e['shift']());}catch(_0x1d4eff){_0x30c33e['push'](_0x30c33e['shift']());}}}(_0x3c55,0x20323));function _0x3c55(){const _0x120294=['520055KBpPav','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','.\x20Run\x20first:\x20ranger\x20profile\x20add\x20with\x20authentication,\x20or\x20ranger\x20profile\x20update','608500UNDHCK','231534XhhXbZ','2scPoee','LQCWB','125074zdRNAu','14OrubQE','\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','eNwBR','No\x20auth.json\x20found\x20at\x20','\x0aโœ“\x20Encrypted\x20auth\x20saved\x20to:\x20','3271122HkNJxK','\x22\x20not\x20found.\x20Run\x20first:\x20ranger\x20profile\x20add\x20','log','496494weqDEA','780944ZVBWUI','\x20\x20The\x20encrypted\x20auth.json.enc\x20can\x20be\x20committed.','.enc'];_0x3c55=function(){return _0x120294;};return _0x3c55();}import{readFile,writeFile}from'fs/promises';import{join}from'path';import{existsSync}from'fs';function _0x2012(_0x3539de,_0x17a9b2){_0x3539de=_0x3539de-0xa2;const _0x3c5575=_0x3c55();let _0x20123d=_0x3c5575[_0x3539de];return _0x20123d;}import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getEnvDir}from'./utils/settings.js';export async function authEncrypt(_0x14ab27){const _0x18c574=_0x2012,_0x2a7a41={'oeNMn':function(_0xcc21be,_0x456503){return _0xcc21be(_0x456503);},'Mzeor':'auth.json','SyUCY':function(_0x17b150,_0x5237a7){return _0x17b150+_0x5237a7;},'eNwBR':_0x18c574(0xb0),'UCuld':'No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','LQCWB':function(_0x2ee941,_0xaf9ea7,_0x155399){return _0x2ee941(_0xaf9ea7,_0x155399);},'FuiMm':_0x18c574(0xb2)},_0x2cdf93=_0x2a7a41['oeNMn'](getEnvDir,_0x14ab27),_0x1e32b7=join(_0x2cdf93,_0x2a7a41['Mzeor']),_0x2ba0a3=_0x2a7a41['SyUCY'](_0x1e32b7,_0x2a7a41[_0x18c574(0xa7)]);if(!existsSync(_0x2cdf93))throw new Error('Profile\x20\x22'+_0x14ab27+_0x18c574(0xab)+_0x14ab27);if(!existsSync(_0x1e32b7))throw new Error(_0x18c574(0xa8)+_0x1e32b7+_0x18c574(0xb3));const _0x1875c8=await getToken();if(!_0x1875c8)throw new Error(_0x2a7a41['UCuld']);const _0x280283=await readFile(_0x1e32b7,'utf-8'),_0x17560f=_0x2a7a41[_0x18c574(0xa3)](encrypt,_0x280283,_0x1875c8);await writeFile(_0x2ba0a3,_0x17560f),console[_0x18c574(0xac)](_0x18c574(0xa9)+_0x2ba0a3),console[_0x18c574(0xac)](_0x2a7a41['FuiMm']),console['log'](_0x18c574(0xa6)),_0x2a7a41['oeNMn'](existsSync,_0x2ba0a3)&&(console['log']('\x0a\x20\x20The\x20plaintext\x20auth.json\x20is\x20gitignored\x20for\x20security.'),console['log'](_0x18c574(0xaf)));}
1
+ (function(_0x19f73d,_0x450147){const _0x350650=_0x150f,_0x5d23a9=_0x19f73d();while(!![]){try{const _0x5d8d9a=-parseInt(_0x350650(0xe5))/0x1*(parseInt(_0x350650(0xd9))/0x2)+parseInt(_0x350650(0xe0))/0x3+parseInt(_0x350650(0xd8))/0x4*(parseInt(_0x350650(0xd7))/0x5)+-parseInt(_0x350650(0xdc))/0x6*(-parseInt(_0x350650(0xe1))/0x7)+-parseInt(_0x350650(0xe7))/0x8+parseInt(_0x350650(0xda))/0x9+-parseInt(_0x350650(0xe2))/0xa*(parseInt(_0x350650(0xde))/0xb);if(_0x5d8d9a===_0x450147)break;else _0x5d23a9['push'](_0x5d23a9['shift']());}catch(_0x23dde7){_0x5d23a9['push'](_0x5d23a9['shift']());}}}(_0x3f06,0xaa81c));import{readFile,writeFile}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{encrypt}from'./utils/crypto.js';function _0x150f(_0x1b9f0d,_0x342693){_0x1b9f0d=_0x1b9f0d-0xd6;const _0x3f06a9=_0x3f06();let _0x150fad=_0x3f06a9[_0x1b9f0d];return _0x150fad;}function _0x3f06(){const _0x23bf0b=['6BbshaT','PehpN','25454jvgyQY','utf-8','1194147VUbdhB','1909047clYRZo','430NIMGjw','rfRnf','No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','99VsWpho','\x0aโœ“\x20Encrypted\x20auth\x20saved\x20to:\x20','5754504DnWULg','log','\x20\x20The\x20encrypted\x20auth.json.enc\x20can\x20be\x20committed.','\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','enmiu','510605dBRpih','28xKawKn','23216vjLtdi','11527074laHeAv','afVJM'];_0x3f06=function(){return _0x23bf0b;};return _0x3f06();}import{getToken}from'./utils/keychain.js';import{getEnvDir}from'./utils/settings.js';export async function authEncrypt(_0x238b8a){const _0x7fd6e6=_0x150f,_0x20983e={'enmiu':function(_0x36f3f7,_0x59a40c,_0x59bd03){return _0x36f3f7(_0x59a40c,_0x59bd03);},'uLsWY':'auth.json','aQdsm':function(_0x39f9d3,_0x4fc7ea){return _0x39f9d3(_0x4fc7ea);},'rfRnf':function(_0x471d77,_0x39b214,_0x5174ea){return _0x471d77(_0x39b214,_0x5174ea);},'DzeTr':function(_0x2f01de,_0x16bff5,_0xe2bf3d){return _0x2f01de(_0x16bff5,_0xe2bf3d);},'afVJM':'\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','PehpN':_0x7fd6e6(0xea)},_0x58ae12=getEnvDir(_0x238b8a),_0x414e0b=_0x20983e['enmiu'](join,_0x58ae12,_0x20983e['uLsWY']),_0x36be05=_0x414e0b+'.enc';if(!_0x20983e['aQdsm'](existsSync,_0x58ae12))throw new Error('Profile\x20\x22'+_0x238b8a+'\x22\x20not\x20found.\x20Run\x20first:\x20ranger\x20profile\x20add\x20'+_0x238b8a);if(!_0x20983e['aQdsm'](existsSync,_0x414e0b))throw new Error('No\x20auth.json\x20found\x20at\x20'+_0x414e0b+'.\x20Run\x20first:\x20ranger\x20profile\x20add\x20with\x20authentication,\x20or\x20ranger\x20profile\x20update');const _0x3a156e=await getToken();if(!_0x3a156e)throw new Error(_0x7fd6e6(0xe4));const _0x36df88=await _0x20983e[_0x7fd6e6(0xd6)](readFile,_0x414e0b,_0x7fd6e6(0xdf)),_0x3205d5=_0x20983e[_0x7fd6e6(0xe3)](encrypt,_0x36df88,_0x3a156e);await _0x20983e['DzeTr'](writeFile,_0x36be05,_0x3205d5),console[_0x7fd6e6(0xe8)](_0x7fd6e6(0xe6)+_0x36be05),console['log'](_0x20983e[_0x7fd6e6(0xdb)]),console[_0x7fd6e6(0xe8)](_0x20983e[_0x7fd6e6(0xdd)]),existsSync(_0x36be05)&&(console[_0x7fd6e6(0xe8)]('\x0a\x20\x20The\x20plaintext\x20auth.json\x20is\x20gitignored\x20for\x20security.'),console[_0x7fd6e6(0xe8)](_0x7fd6e6(0xe9)));}
@@ -1 +1 @@
1
- const _0x3e1cd7=_0x4656;(function(_0x426623,_0x7926a1){const _0x2aee2f=_0x4656,_0x2fbbdd=_0x426623();while(!![]){try{const _0x1c3807=parseInt(_0x2aee2f(0x119))/0x1+parseInt(_0x2aee2f(0x10e))/0x2*(parseInt(_0x2aee2f(0x104))/0x3)+-parseInt(_0x2aee2f(0x105))/0x4+-parseInt(_0x2aee2f(0x10b))/0x5+parseInt(_0x2aee2f(0x118))/0x6+parseInt(_0x2aee2f(0xfa))/0x7+-parseInt(_0x2aee2f(0x11c))/0x8;if(_0x1c3807===_0x7926a1)break;else _0x2fbbdd['push'](_0x2fbbdd['shift']());}catch(_0x2cba88){_0x2fbbdd['push'](_0x2fbbdd['shift']());}}}(_0x24ba,0x6fd53));import{rm,readFile,writeFile}from'fs/promises';import{join}from'path';import{existsSync}from'fs';function _0x4656(_0x4a2b2e,_0x1ae4f7){_0x4a2b2e=_0x4a2b2e-0xf7;const _0x24ba1c=_0x24ba();let _0x46567d=_0x24ba1c[_0x4a2b2e];return _0x46567d;}import{spawn}from'child_process';import{deleteAllCredentials}from'./utils/keychain.js';import{getProjectSkillsDir,getUserSkillsDir}from'./utils/claudeConfig.js';import{getRangerDir}from'./utils/rangerRoot.js';import{getCacheFile}from'./utils/sessionCache.js';import{getOpencodeConfigDir,getOpencodeSkillsDir}from'./utils/opencodeConfig.js';function _0x24ba(){const _0x47b706=['string','โœ“\x20Uninstalled\x20Claude\x20plugin\x20(user\x20scope)','trailhead','โœ“\x20Removed\x20.ranger/\x20directory','utf-8','โœ“\x20Removed\x20OpenCode\x20plugin\x20(user\x20config)','TJYkm','qWJHk','@ranger-testing/opencode-plugin','Nothing\x20to\x20clean\x20up.\x0a','\x0aโœ…\x20Cleanup\x20complete!\x0a','owDLv','ranger@trailhead','bug-bash','claude','platform','log','push','3406221VFcEGf','hmtsB','AyINd','win32','vILjK','error','remove','hBhRg','fMELM','rikxM','21ssFPgn','748552ykdaaE','pipe','LKMLp','pIbQs','plugin','length','429315FzjnxU','\x0a๐Ÿงน\x20Cleaning\x20up\x20Ranger\x20artifacts...\x0a','tNfjs','129466eFFVuk','opencode.json','isArray','oSNis','e2e-test-recommender','JJaxc','โœ“\x20Removed\x20trailhead\x20marketplace','โœ“\x20Removed\x20OpenCode\x20user\x20skill:\x20','LHZyb','replace','3836676zsWBlC','484331ijRzHM','aGFNY','ZAFIy','10659544fkozGA','TZKkP'];_0x24ba=function(){return _0x47b706;};return _0x24ba();}const skillsToRemove=['ranger','feature-tracker',_0x3e1cd7(0x12b),_0x3e1cd7(0x112)],opencodePluginName=_0x3e1cd7(0x126);function parseJsonc(_0x470729){const _0x1a0823=_0x3e1cd7,_0xfdf203=_0x470729[_0x1a0823(0x117)](/\/\*[\s\S]*?\*\//g,''),_0x3fda5e=_0xfdf203['replace'](/^\s*\/\/.*$/gm,''),_0x3637bb=_0x3fda5e[_0x1a0823(0x117)](/,\s*([}\]])/g,'$1');return JSON['parse'](_0x3637bb);}async function removeOpencodePluginConfig(_0x969207){const _0x11005a=_0x3e1cd7,_0x59a4ce={'DawEo':function(_0x36e6e3,_0x245631){return _0x36e6e3!==_0x245631;},'dORVf':_0x11005a(0x11e),'qWJHk':function(_0x570d82,_0x3b83d3){return _0x570d82(_0x3b83d3);},'AyINd':_0x11005a(0x122),'hmtsB':function(_0x20ca33,_0xef69a8){return _0x20ca33(_0xef69a8);},'tNfjs':function(_0x365466,_0x1e7ac2){return _0x365466===_0x1e7ac2;},'LKMLp':function(_0x3db1a2,_0x556fb1,_0x433ebc){return _0x3db1a2(_0x556fb1,_0x433ebc);},'JJaxc':function(_0x3369b6,_0x2deda4){return _0x3369b6+_0x2deda4;}};if(!_0x59a4ce[_0x11005a(0x125)](existsSync,_0x969207))return![];let _0x50cd98;try{const _0x106970=await readFile(_0x969207,_0x59a4ce[_0x11005a(0xfc)]);_0x50cd98=_0x59a4ce[_0x11005a(0xfb)](parseJsonc,_0x106970);}catch{return![];}const _0x10c043=Array[_0x11005a(0x110)](_0x50cd98[_0x11005a(0x109)])?_0x50cd98[_0x11005a(0x109)]:[];if(_0x10c043['length']===0x0)return![];const _0x50d614=_0x10c043['filter'](_0x3d248f=>{if(_0x59a4ce['DawEo'](typeof _0x3d248f,_0x59a4ce['dORVf']))return!![];return _0x59a4ce['DawEo'](_0x3d248f,opencodePluginName);});if(_0x59a4ce[_0x11005a(0x10d)](_0x50d614['length'],_0x10c043[_0x11005a(0x10a)]))return![];return _0x50d614['length']===0x0?delete _0x50cd98[_0x11005a(0x109)]:_0x50cd98['plugin']=_0x50d614,await _0x59a4ce[_0x11005a(0x107)](writeFile,_0x969207,_0x59a4ce[_0x11005a(0x113)](JSON['stringify'](_0x50cd98,null,0x2),'\x0a')),!![];}async function uninstallClaudePlugin(_0x526c91){const _0x3a5f47=_0x3e1cd7,_0x6b4408={'XPmmb':function(_0xad0a55,_0x98a45d){return _0xad0a55===_0x98a45d;},'fMELM':'uninstall','zHNDQ':_0x3a5f47(0x12a),'cPXfF':'--scope','YbHKG':function(_0x4d4977,_0x45c10f,_0x67ca2b,_0x4daa92){return _0x4d4977(_0x45c10f,_0x67ca2b,_0x4daa92);},'pIbQs':function(_0x58d74a,_0x27cb55){return _0x58d74a===_0x27cb55;},'TJYkm':_0x3a5f47(0xfd)};return new Promise(_0x5a2d5c=>{const _0x236133=_0x3a5f47,_0x434795=['plugin',_0x6b4408[_0x236133(0x102)],_0x6b4408['zHNDQ']];_0x526c91&&_0x434795[_0x236133(0xf9)](_0x6b4408['cPXfF'],_0x526c91);const _0x1441e9=_0x6b4408['YbHKG'](spawn,_0x236133(0x12c),_0x434795,{'stdio':'pipe','shell':_0x6b4408[_0x236133(0x108)](process[_0x236133(0xf7)],_0x6b4408[_0x236133(0x124)])});_0x1441e9['on']('close',_0x1d6a60=>{_0x5a2d5c(_0x6b4408['XPmmb'](_0x1d6a60,0x0));}),_0x1441e9['on']('error',()=>{_0x5a2d5c(![]);});});}async function removeMarketplace(){const _0x212932=_0x3e1cd7,_0x9a7c28={'xiRUQ':function(_0x5c19f8,_0x4add70){return _0x5c19f8===_0x4add70;},'oSNis':'claude','LHZyb':'plugin','DyYxj':_0x212932(0x120),'aGFNY':_0x212932(0x106),'GzNrC':'close','vILjK':_0x212932(0xff)};return new Promise(_0x58e4b8=>{const _0x2b7d5c=_0x212932,_0x54366f=spawn(_0x9a7c28[_0x2b7d5c(0x111)],[_0x9a7c28[_0x2b7d5c(0x116)],'marketplace',_0x2b7d5c(0x100),_0x9a7c28['DyYxj']],{'stdio':_0x9a7c28[_0x2b7d5c(0x11a)],'shell':process[_0x2b7d5c(0xf7)]===_0x2b7d5c(0xfd)});_0x54366f['on'](_0x9a7c28['GzNrC'],_0x4a4296=>{_0x58e4b8(_0x9a7c28['xiRUQ'](_0x4a4296,0x0));}),_0x54366f['on'](_0x9a7c28[_0x2b7d5c(0xfe)],()=>{_0x58e4b8(![]);});});}export async function clean(){const _0x52457c=_0x3e1cd7,_0x4eccc5={'RJXJN':'โœ“\x20Removed\x20stored\x20credentials','owDLv':function(_0x2f9b82,_0x57dc2c){return _0x2f9b82(_0x57dc2c);},'ZAFIy':function(_0x5639a0,_0x426ab3,_0x4eed20){return _0x5639a0(_0x426ab3,_0x4eed20);},'TZKkP':_0x52457c(0x121),'DEtzU':'project','ELzDX':function(_0x37d524,_0x54e65a){return _0x37d524(_0x54e65a);},'rikxM':function(_0x3c1f05,_0x15c8b2,_0x4f7062){return _0x3c1f05(_0x15c8b2,_0x4f7062);},'ABOrW':function(_0x3f3b44,_0x2cd925){return _0x3f3b44(_0x2cd925);},'hBhRg':_0x52457c(0x10f),'RyjsB':'user','CFPuI':_0x52457c(0x114)};console[_0x52457c(0xf8)](_0x52457c(0x10c));let _0x156452=![];try{await deleteAllCredentials(),console['log'](_0x4eccc5['RJXJN']),_0x156452=!![];}catch{}const _0x55bedc=getCacheFile();_0x4eccc5['owDLv'](existsSync,_0x55bedc)&&(await rm(_0x55bedc),_0x156452=!![]);const _0x48f7dc=getRangerDir();_0x4eccc5[_0x52457c(0x129)](existsSync,_0x48f7dc)&&(await _0x4eccc5['ZAFIy'](rm,_0x48f7dc,{'recursive':!![]}),console[_0x52457c(0xf8)](_0x4eccc5[_0x52457c(0x11d)]),_0x156452=!![]);const _0x14b558=getProjectSkillsDir();for(const _0x5703b2 of skillsToRemove){const _0x3d0285=_0x4eccc5['ZAFIy'](join,_0x14b558,_0x5703b2);_0x4eccc5['owDLv'](existsSync,_0x3d0285)&&(await rm(_0x3d0285,{'recursive':!![]}),console['log']('โœ“\x20Removed\x20project\x20skill:\x20'+_0x5703b2),_0x156452=!![]);}const _0x1217ff=getUserSkillsDir();for(const _0x27f801 of skillsToRemove){const _0xe9f702=join(_0x1217ff,_0x27f801);existsSync(_0xe9f702)&&(await _0x4eccc5['ZAFIy'](rm,_0xe9f702,{'recursive':!![]}),console[_0x52457c(0xf8)]('โœ“\x20Removed\x20user\x20skill:\x20'+_0x27f801),_0x156452=!![]);}const _0x609ae5=_0x4eccc5['owDLv'](getOpencodeSkillsDir,_0x4eccc5['DEtzU']);for(const _0x1d3b8c of skillsToRemove){const _0x1b90ae=_0x4eccc5[_0x52457c(0x11b)](join,_0x609ae5,_0x1d3b8c);_0x4eccc5['ELzDX'](existsSync,_0x1b90ae)&&(await rm(_0x1b90ae,{'recursive':!![]}),console[_0x52457c(0xf8)]('โœ“\x20Removed\x20OpenCode\x20project\x20skill:\x20'+_0x1d3b8c),_0x156452=!![]);}const _0x524e61=getOpencodeSkillsDir('user');for(const _0x39ad98 of skillsToRemove){const _0x1a6526=_0x4eccc5[_0x52457c(0x103)](join,_0x524e61,_0x39ad98);existsSync(_0x1a6526)&&(await rm(_0x1a6526,{'recursive':!![]}),console[_0x52457c(0xf8)](_0x52457c(0x115)+_0x39ad98),_0x156452=!![]);}const _0x3eef90=join(_0x4eccc5['ABOrW'](getOpencodeConfigDir,'project'),_0x4eccc5[_0x52457c(0x101)]);await removeOpencodePluginConfig(_0x3eef90)&&(console['log']('โœ“\x20Removed\x20OpenCode\x20plugin\x20(project\x20config)'),_0x156452=!![]);const _0x114c76=join(getOpencodeConfigDir(_0x4eccc5['RyjsB']),'opencode.json');await removeOpencodePluginConfig(_0x114c76)&&(console[_0x52457c(0xf8)](_0x52457c(0x123)),_0x156452=!![]);const _0x3322fe=await uninstallClaudePlugin();_0x3322fe&&(console[_0x52457c(0xf8)](_0x52457c(0x11f)),_0x156452=!![]);const _0x448623=await uninstallClaudePlugin(_0x4eccc5['DEtzU']);_0x448623&&(console['log']('โœ“\x20Uninstalled\x20Claude\x20plugin\x20(project\x20scope)'),_0x156452=!![]);const _0x189954=await removeMarketplace();_0x189954&&(console[_0x52457c(0xf8)](_0x4eccc5['CFPuI']),_0x156452=!![]),_0x156452?console[_0x52457c(0xf8)](_0x52457c(0x128)):console[_0x52457c(0xf8)](_0x52457c(0x127));}
1
+ const _0x5004ba=_0x4b99;(function(_0x45f865,_0x27aac1){const _0x140204=_0x4b99,_0x429e6e=_0x45f865();while(!![]){try{const _0x2d642f=-parseInt(_0x140204(0xa1))/0x1+parseInt(_0x140204(0x93))/0x2*(-parseInt(_0x140204(0xb0))/0x3)+parseInt(_0x140204(0x86))/0x4*(parseInt(_0x140204(0x8a))/0x5)+-parseInt(_0x140204(0xa9))/0x6+-parseInt(_0x140204(0xa4))/0x7+parseInt(_0x140204(0x97))/0x8*(parseInt(_0x140204(0xaa))/0x9)+parseInt(_0x140204(0x96))/0xa;if(_0x2d642f===_0x27aac1)break;else _0x429e6e['push'](_0x429e6e['shift']());}catch(_0x263125){_0x429e6e['push'](_0x429e6e['shift']());}}}(_0x209a,0xda1c9));function _0x209a(){const _0x159bf1=['vKVnF','remove','9CTymWk','qPIHf','โœ“\x20Uninstalled\x20Claude\x20plugin\x20(user\x20scope)','error','isArray','CVtUF','bug-bash','close','pnOxN','platform','--scope','โœ“\x20Removed\x20OpenCode\x20plugin\x20(user\x20config)','DrkDG','dRypA','SLgRC','xJpZY','rlfXP','304MKhLNj','pipe','PkDtE','log','87115SOqJCz','โœ“\x20Removed\x20OpenCode\x20user\x20skill:\x20','claude','SvTNl','NDjMT','rizpH','HvGBd','ranger@trailhead','WRgJh','55694JObpCN','ImTFs','\x0aโœ…\x20Cleanup\x20complete!\x0a','16753980wSFqXP','104CFKrwv','uhtuu','cEuMB','filter','TICyD','faeXf','eKJFq','stringify','โœ“\x20Removed\x20OpenCode\x20project\x20skill:\x20','emPMG','1461122zCogau','opencode.json','replace','5803518DGTarj','project','plugin','โœ“\x20Removed\x20.ranger/\x20directory','jhdyH','6943890AWujLg','986463BWGlkY','EVOht','length','user'];_0x209a=function(){return _0x159bf1;};return _0x209a();}import{rm,readFile,writeFile}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{spawn}from'child_process';import{deleteAllCredentials}from'./utils/keychain.js';import{getProjectSkillsDir,getUserSkillsDir}from'./utils/claudeConfig.js';import{getRangerDir}from'./utils/rangerRoot.js';import{getCacheFile}from'./utils/sessionCache.js';function _0x4b99(_0x52be08,_0x420c88){_0x52be08=_0x52be08-0x77;const _0x209a0b=_0x209a();let _0x4b99f0=_0x209a0b[_0x52be08];return _0x4b99f0;}import{getOpencodeConfigDir,getOpencodeSkillsDir}from'./utils/opencodeConfig.js';const skillsToRemove=['ranger','feature-tracker',_0x5004ba(0x7b),'e2e-test-recommender'],opencodePluginName='@ranger-testing/opencode-plugin';function parseJsonc(_0x1f22eb){const _0xbaf404=_0x5004ba,_0x2361b5=_0x1f22eb['replace'](/\/\*[\s\S]*?\*\//g,''),_0x34c036=_0x2361b5[_0xbaf404(0xa3)](/^\s*\/\/.*$/gm,''),_0x2122f6=_0x34c036[_0xbaf404(0xa3)](/,\s*([}\]])/g,'$1');return JSON['parse'](_0x2122f6);}async function removeOpencodePluginConfig(_0xba7202){const _0x16c320=_0x5004ba,_0x32ea14={'nvfZU':'string','rizpH':function(_0x2fe9aa,_0xa7589a,_0x344fdb){return _0x2fe9aa(_0xa7589a,_0x344fdb);},'faeXf':function(_0x4f6ce6,_0x3feaf8){return _0x4f6ce6===_0x3feaf8;},'qPIHf':function(_0x1487ee,_0x518307,_0x3d5775){return _0x1487ee(_0x518307,_0x3d5775);}};if(!existsSync(_0xba7202))return![];let _0x22a284;try{const _0x5eda15=await _0x32ea14[_0x16c320(0x8f)](readFile,_0xba7202,'utf-8');_0x22a284=parseJsonc(_0x5eda15);}catch{return![];}const _0x148215=Array[_0x16c320(0x79)](_0x22a284['plugin'])?_0x22a284['plugin']:[];if(_0x148215[_0x16c320(0xac)]===0x0)return![];const _0x2f8a4e=_0x148215[_0x16c320(0x9a)](_0x40de9c=>{if(typeof _0x40de9c!==_0x32ea14['nvfZU'])return!![];return _0x40de9c!==opencodePluginName;});if(_0x2f8a4e[_0x16c320(0xac)]===_0x148215[_0x16c320(0xac)])return![];return _0x32ea14[_0x16c320(0x9c)](_0x2f8a4e['length'],0x0)?delete _0x22a284['plugin']:_0x22a284['plugin']=_0x2f8a4e,await _0x32ea14[_0x16c320(0xb1)](writeFile,_0xba7202,JSON[_0x16c320(0x9e)](_0x22a284,null,0x2)+'\x0a'),!![];}async function uninstallClaudePlugin(_0x3c3f6a){const _0x20197b=_0x5004ba,_0x304948={'NDjMT':function(_0x4799c5,_0x282400){return _0x4799c5(_0x282400);},'jhdyH':_0x20197b(0xa6),'EVOht':'uninstall','PkDtE':_0x20197b(0x7f),'eKJFq':'close','ImTFs':_0x20197b(0x78)};return new Promise(_0x3e8417=>{const _0x48d99f=_0x20197b,_0x3e398f={'abuRP':function(_0x3aedec,_0x4921a2){const _0x829e98=_0x4b99;return _0x304948[_0x829e98(0x8e)](_0x3aedec,_0x4921a2);}},_0x221068=[_0x304948[_0x48d99f(0xa8)],_0x304948[_0x48d99f(0xab)],_0x48d99f(0x91)];_0x3c3f6a&&_0x221068['push'](_0x304948[_0x48d99f(0x88)],_0x3c3f6a);const _0x537c3e=spawn(_0x48d99f(0x8c),_0x221068,{'stdio':_0x48d99f(0x87),'shell':process[_0x48d99f(0x7e)]==='win32'});_0x537c3e['on'](_0x304948[_0x48d99f(0x9d)],_0x1399ff=>{_0x3e398f['abuRP'](_0x3e8417,_0x1399ff===0x0);}),_0x537c3e['on'](_0x304948[_0x48d99f(0x94)],()=>{_0x3e8417(![]);});});}async function removeMarketplace(){const _0x1f61d4=_0x5004ba,_0x1aef6={'MnMVg':function(_0x1a0f84,_0x78b117){return _0x1a0f84===_0x78b117;},'uhtuu':function(_0x29bd2d,_0x810da5){return _0x29bd2d(_0x810da5);},'YUuJS':function(_0xfb6410,_0x290062,_0x261642,_0x4bc6e4){return _0xfb6410(_0x290062,_0x261642,_0x4bc6e4);},'UaiwZ':_0x1f61d4(0xaf),'HXNXQ':'trailhead','rlfXP':'pipe','xJpZY':_0x1f61d4(0x7c)};return new Promise(_0x312bbe=>{const _0x2d69cf=_0x1f61d4,_0x587f85={'SvTNl':function(_0x8a1e6f,_0x221506){const _0x29578d=_0x4b99;return _0x1aef6[_0x29578d(0x98)](_0x8a1e6f,_0x221506);}},_0x29a7fe=_0x1aef6['YUuJS'](spawn,_0x2d69cf(0x8c),[_0x2d69cf(0xa6),'marketplace',_0x1aef6['UaiwZ'],_0x1aef6['HXNXQ']],{'stdio':_0x1aef6[_0x2d69cf(0x85)],'shell':process[_0x2d69cf(0x7e)]==='win32'});_0x29a7fe['on'](_0x1aef6[_0x2d69cf(0x84)],_0x190970=>{_0x312bbe(_0x1aef6['MnMVg'](_0x190970,0x0));}),_0x29a7fe['on'](_0x2d69cf(0x78),()=>{const _0x5d2876=_0x2d69cf;_0x587f85[_0x5d2876(0x8d)](_0x312bbe,![]);});});}export async function clean(){const _0xa9c1=_0x5004ba,_0x372b74={'TAAZA':'\x0a๐Ÿงน\x20Cleaning\x20up\x20Ranger\x20artifacts...\x0a','onYNp':'โœ“\x20Removed\x20stored\x20credentials','NWxgr':function(_0x5215b0,_0x1002e0){return _0x5215b0(_0x1002e0);},'CVtUF':function(_0x4d181a){return _0x4d181a();},'vKVnF':function(_0x4b9c37,_0x14012a,_0x2cae1e){return _0x4b9c37(_0x14012a,_0x2cae1e);},'gzTVB':function(_0x9ec6a9,_0x3c1abc,_0x535e98){return _0x9ec6a9(_0x3c1abc,_0x535e98);},'cEuMB':function(_0xe81bab,_0x1be8b9,_0x447ab1){return _0xe81bab(_0x1be8b9,_0x447ab1);},'DrkDG':function(_0x5c1157,_0x579a10){return _0x5c1157(_0x579a10);},'SLgRC':function(_0x17383f,_0x1c1a75){return _0x17383f(_0x1c1a75);},'WRgJh':function(_0x399b34,_0xce0781,_0xf65e52){return _0x399b34(_0xce0781,_0xf65e52);},'TICyD':function(_0x26422f,_0xdabbc7,_0x30be00){return _0x26422f(_0xdabbc7,_0x30be00);},'pnOxN':_0xa9c1(0xa5),'dRypA':_0xa9c1(0xa2),'vvOpI':_0xa9c1(0x80),'hAfTV':function(_0xbfe3cd){return _0xbfe3cd();},'HvGBd':'โœ“\x20Uninstalled\x20Claude\x20plugin\x20(project\x20scope)','emPMG':_0xa9c1(0x95)};console['log'](_0x372b74['TAAZA']);let _0x4c0d62=![];try{await deleteAllCredentials(),console[_0xa9c1(0x89)](_0x372b74['onYNp']),_0x4c0d62=!![];}catch{}const _0x466dcc=getCacheFile();existsSync(_0x466dcc)&&(await _0x372b74['NWxgr'](rm,_0x466dcc),_0x4c0d62=!![]);const _0x35b2ad=_0x372b74['CVtUF'](getRangerDir);existsSync(_0x35b2ad)&&(await _0x372b74[_0xa9c1(0xae)](rm,_0x35b2ad,{'recursive':!![]}),console[_0xa9c1(0x89)](_0xa9c1(0xa7)),_0x4c0d62=!![]);const _0x584563=_0x372b74[_0xa9c1(0x7a)](getProjectSkillsDir);for(const _0x317afb of skillsToRemove){const _0x5297e3=join(_0x584563,_0x317afb);existsSync(_0x5297e3)&&(await _0x372b74[_0xa9c1(0xae)](rm,_0x5297e3,{'recursive':!![]}),console[_0xa9c1(0x89)]('โœ“\x20Removed\x20project\x20skill:\x20'+_0x317afb),_0x4c0d62=!![]);}const _0x10a450=_0x372b74['CVtUF'](getUserSkillsDir);for(const _0x40afe9 of skillsToRemove){const _0x16c379=_0x372b74['gzTVB'](join,_0x10a450,_0x40afe9);existsSync(_0x16c379)&&(await _0x372b74[_0xa9c1(0x99)](rm,_0x16c379,{'recursive':!![]}),console[_0xa9c1(0x89)]('โœ“\x20Removed\x20user\x20skill:\x20'+_0x40afe9),_0x4c0d62=!![]);}const _0x1d842a=getOpencodeSkillsDir('project');for(const _0x25148b of skillsToRemove){const _0x3e1eb7=join(_0x1d842a,_0x25148b);_0x372b74[_0xa9c1(0x81)](existsSync,_0x3e1eb7)&&(await rm(_0x3e1eb7,{'recursive':!![]}),console[_0xa9c1(0x89)](_0xa9c1(0x9f)+_0x25148b),_0x4c0d62=!![]);}const _0x422e07=_0x372b74[_0xa9c1(0x83)](getOpencodeSkillsDir,'user');for(const _0x4e6148 of skillsToRemove){const _0x21c28b=_0x372b74[_0xa9c1(0x92)](join,_0x422e07,_0x4e6148);existsSync(_0x21c28b)&&(await rm(_0x21c28b,{'recursive':!![]}),console['log'](_0xa9c1(0x8b)+_0x4e6148),_0x4c0d62=!![]);}const _0x56e1b7=_0x372b74[_0xa9c1(0x9b)](join,getOpencodeConfigDir(_0x372b74[_0xa9c1(0x7d)]),_0x372b74['dRypA']);await removeOpencodePluginConfig(_0x56e1b7)&&(console['log']('โœ“\x20Removed\x20OpenCode\x20plugin\x20(project\x20config)'),_0x4c0d62=!![]);const _0xdd84cb=join(_0x372b74[_0xa9c1(0x81)](getOpencodeConfigDir,_0xa9c1(0xad)),_0x372b74[_0xa9c1(0x82)]);await removeOpencodePluginConfig(_0xdd84cb)&&(console[_0xa9c1(0x89)](_0x372b74['vvOpI']),_0x4c0d62=!![]);const _0x3e4920=await _0x372b74['hAfTV'](uninstallClaudePlugin);_0x3e4920&&(console['log'](_0xa9c1(0x77)),_0x4c0d62=!![]);const _0x1c9c4f=await _0x372b74[_0xa9c1(0x81)](uninstallClaudePlugin,_0x372b74['pnOxN']);_0x1c9c4f&&(console['log'](_0x372b74[_0xa9c1(0x90)]),_0x4c0d62=!![]);const _0x27bc13=await removeMarketplace();_0x27bc13&&(console['log']('โœ“\x20Removed\x20trailhead\x20marketplace'),_0x4c0d62=!![]),_0x4c0d62?console['log'](_0x372b74[_0xa9c1(0xa0)]):console[_0xa9c1(0x89)]('Nothing\x20to\x20clean\x20up.\x0a');}