@ranger-testing/ranger-cli 2.1.1 โ†’ 2.1.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 (65) 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/browserSessionsApi.js +1 -1
  35. package/build/commands/utils/claudeConfig.js +1 -1
  36. package/build/commands/utils/claudePlugin.js +1 -1
  37. package/build/commands/utils/crypto.js +1 -1
  38. package/build/commands/utils/desirePathLog.js +1 -1
  39. package/build/commands/utils/deviceAuth.js +1 -1
  40. package/build/commands/utils/environment.js +1 -1
  41. package/build/commands/utils/featureApi.js +1 -1
  42. package/build/commands/utils/featureReportGenerator.js +1 -1
  43. package/build/commands/utils/fixWebmDuration.js +1 -1
  44. package/build/commands/utils/git.js +1 -1
  45. package/build/commands/utils/keychain.js +1 -1
  46. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  47. package/build/commands/utils/mcpImageBase64.js +1 -1
  48. package/build/commands/utils/model.js +1 -1
  49. package/build/commands/utils/opencodeConfig.js +1 -1
  50. package/build/commands/utils/profileMessages.js +1 -1
  51. package/build/commands/utils/profileSetupBanner.js +1 -1
  52. package/build/commands/utils/rangerConfig.js +1 -1
  53. package/build/commands/utils/rangerRoot.js +1 -1
  54. package/build/commands/utils/reportGenerator.js +1 -1
  55. package/build/commands/utils/retry.js +1 -1
  56. package/build/commands/utils/sessionCache.js +1 -1
  57. package/build/commands/utils/settings.js +1 -1
  58. package/build/commands/utils/skillContent.js +1 -1
  59. package/build/commands/utils/skills.js +1 -1
  60. package/build/commands/utils/telemetry.js +1 -1
  61. package/build/commands/utils/userApi.js +1 -1
  62. package/build/commands/utils/version.js +1 -1
  63. package/build/commands/verifyFeature.js +1 -1
  64. package/build/commands/verifyInBrowser.js +1 -1
  65. package/package.json +1 -1
package/build/cli.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const _0x2cb639=_0x387e;(function(_0x3fb5f6,_0x305377){const _0x412ceb=_0x387e,_0x2a21ef=_0x3fb5f6();while(!![]){try{const _0x386bfa=parseInt(_0x412ceb(0x104))/0x1*(-parseInt(_0x412ceb(0x1e0))/0x2)+-parseInt(_0x412ceb(0x1ef))/0x3*(-parseInt(_0x412ceb(0x17c))/0x4)+-parseInt(_0x412ceb(0x1df))/0x5*(-parseInt(_0x412ceb(0x1a2))/0x6)+-parseInt(_0x412ceb(0x1c6))/0x7+-parseInt(_0x412ceb(0xae))/0x8+parseInt(_0x412ceb(0x12e))/0x9+-parseInt(_0x412ceb(0xf8))/0xa*(parseInt(_0x412ceb(0x1b6))/0xb);if(_0x386bfa===_0x305377)break;else _0x2a21ef['push'](_0x2a21ef['shift']());}catch(_0x8a15db){_0x2a21ef['push'](_0x2a21ef['shift']());}}}(_0x1e83,0xa1994));import _0x165e27 from'dotenv';function _0x387e(_0x3e8d5b,_0x25a559){_0x3e8d5b=_0x3e8d5b-0x9a;const _0x1e83ef=_0x1e83();let _0x387e5d=_0x1e83ef[_0x3e8d5b];return _0x387e5d;}import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x3dd9b7=_0x387e,_0x194977={'oXUqn':function(_0xd782f1,_0x2cb2c1){return _0xd782f1(_0x2cb2c1);},'JcnmT':function(_0x4b695e,_0x59bd10){return _0x4b695e(_0x59bd10);},'RuZwv':_0x3dd9b7(0xbc),'OVkHW':function(_0x10c6b6,_0x8bad34){return _0x10c6b6(_0x8bad34);}};let _0x5ce653=process[_0x3dd9b7(0x18b)]();const _0x1f6c98=parse(_0x5ce653)['root'];while(_0x5ce653!==_0x1f6c98){if(_0x194977['oXUqn'](existsSync,join(_0x5ce653,'.ranger'))||_0x194977['JcnmT'](existsSync,join(_0x5ce653,_0x194977['RuZwv'])))return _0x5ce653;_0x5ce653=_0x194977[_0x3dd9b7(0xa5)](dirname,_0x5ce653);}return process[_0x3dd9b7(0x18b)]();}_0x165e27['config']({'path':join(findProjectRoot(),'.env')});import _0x547295 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook}from'./commands/index.js';function _0x1e83(){const _0x22da93=['restore\x20<id>','startsWith','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','DACoP','profile\x20update','pDJeE','OxHKC','qVuyg','ranger\x20create','string','Environment\x20name','hook:enable','Reason:\x20','.env','feature\x20add-checklist-item','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','enable','LragI','profile\x20ls','feature\x20list','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','blocked','cGnEQ','WUkQS','MkGPU','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','alias','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','List\x20all\x20feature\x20reviews','error','Skip\x20Claude\x20Code\x20plugin\x20+\x20skills\x20install\x20(for\x20OpenCode\x20users)','XBPKm','ooPPD','ItGLC','Ezjoa','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','command','feature','debug-outcome','flag','ranger\x20setup','use\x20<env-name>','Restore\x20a\x20soft-deleted\x20feature\x20review','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','FRQDC','wHrDF','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','include-deleted','log','Add\x20profile\x20configuration','JwpFq','Unknown\x20error','HWGio','VtlNn','get\x20<env>\x20<key>','cdp-endpoint','env\x20update','key','qfFEa','Evaluation:\x20','MFBnP','default','ftUXR','ITvNT','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.','Include\x20soft-deleted\x20feature\x20reviews','add-scenario\x20<description>','tsRZK','mxmdF','hook','HGpzY','FklOW','4367410wRqjQs','nrfzv','Tlpkp','user','Unknown\x20command','list\x20<env>','profile\x20config\x20list','list\x20<profile>','feature\x20get-feedback','update','start-path','status','1LsYEmB','anTPW','clean','name','profile','TJptc','pfUTe','azgmg','list','encrypt\x20<profile>','map','ranger\x20feature\x20show','ranger\x20resume','kSCQE','UOOTr','HRAWT','.\x20[','PnouC','uTyeL','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','qyNcU','ranger\x20get-review','scope','Scenario\x20number\x20to\x20edit\x20(1-based)','task','jKZnb','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','item','value','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','ranger\x20profile\x20ls','ranger\x20profile\x20add','skip-auth','scriptName','hGFHb','unset\x20<profile>\x20<key>','XzuVS','get-feedback\x20[id]','JgMvA','ranger','profile-name','version','11240685SpPIzH','kqnzO','EvTSy','delete\x20[id]','evaluation','mJoqR','demandCommand','ranger\x20auth\x20encrypt','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','ZmLGM','message','exit','session-id','slice','PJFKs','mBivl','oMSgJ','xTMRp','znrMJ','resume','Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','pfgAm','RGhpn','\x20FAILED','token','use','restore','aMSGD','config\x20unset','claude','HOWpJ','hmxSh','NFQhX','env-name','You\x20must\x20specify\x20an\x20env\x20subcommand','DPOov','MZBwi','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','uRAxW','env','ranger\x20env\x20ls','config','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','zsjUT','Manage\x20profile\x20configuration','Xnbzy','opencode','yFuLA','vGNcU','You\x20must\x20specify\x20a\x20config\x20subcommand','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','MKBhy','Name\x20of\x20the\x20profile','fjQMa','xPjmP','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','\x20\x20https://docs.ranger.net\x0a','UbCLS','FTbOw','WLGED','get-review','--checklist','ranger\x20feature\x20resume','RatqR','ranger\x20feature\x20get-feedback','EwvuI','current-branch','ranger\x20restore','debug-address-comments','ovvjW','skip-chromium','DhaVJ','argv','mveGp','GTYyr','usage','SEtgm','1935932oXMAgh','Remove\x20a\x20config\x20value','number','--item','positional','TGfch','tybHS','uCclQ','YkctT','PIzUn','feature\x20restore','HNxlE','Install\x20Ranger\x20skills','\x20INCOMPLETE','Switch\x20to\x20using\x20a\x20specific\x20profile','cwd','OhxDV','Get\x20a\x20config\x20value','wZSfV','profile\x20use','lvANT','Install\x20scope\x20for\x20skills','start','GwoQZ','kpUbf','offset','auth','base-url','ITaPD','encrypt-auth\x20<profile>','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','You\x20must\x20specify\x20a\x20profile\x20subcommand','pjIdb','Scenario\x20description','LvGyT','Skip\x20Chromium\x20browser\x20installation','drDTh','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','6fRUoye','GOMsb','ranger\x20profile\x20config\x20set','Set\x20a\x20config\x20value','RNlMZ','boolean','kWJRr','array','Profile\x20name','forEach','url','--scenario','twUtL','pMWfA','includes','UrHGJ','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','HmmgV','ranger\x20go','sCqyj','11UbHqun','description','IiCMj','XEYVi','GjhmY','SldGf','Config\x20key\x20to\x20remove','EWXnH','pbvdz','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','Config\x20key','profile\x20config\x20unset','setup-ci\x20<token>','report','Feature\x20review\x20description','\x0aError:\x20','2669898JbrbVl','WVihh','QCjyF','disable','incomplete','KpLxV','Feature\x20review\x20ID','add-scenario','Config\x20value','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','option','Name\x20of\x20the\x20environment','verify-feature','SxvKg','Initialize\x20Ranger\x20in\x20your\x20project','yBVHD','feature\x20resume','rnsrW','XxsUw','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','env\x20list','kNcDi','issues','config\x20set','iaHxt','806845ViJlku','211180OnNZTc','EmHRa','Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1)','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','project','LZtad','JcBxs','exclude-scenario','EyQEO','hqrAp','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','lqNNq','EitkT','login','QdLmd','3nSNGkH','scenario','force','hook:disable','AWuOW','XGQHU','lmHbv','verified','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','xcDvm','checklist','notes','OVkHW','model','repeat','ODZuE','Scenario\x20index\x20(1-based)','UemnD','Number\x20of\x20feature\x20reviews\x20to\x20skip','ranger\x20config\x20set','ranger\x20feature\x20create','2469312qVITWa'];_0x1e83=function(){return _0x22da93;};return _0x1e83();}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 _0x2c6980=>{const _0x829c81=_0x387e,_0x520a01={'GwoQZ':function(_0x58ae8c){return _0x58ae8c();}},_0x4f081f=_0x520a01[_0x829c81(0x193)](getCurrentCollector);_0x4f081f&&await _0x4f081f['trackCommandError'](_0x2c6980),process['exitCode']=0x1;});const rawArgs=process[_0x2cb639(0x177)][_0x2cb639(0x13b)](0x2),TOP_LEVEL_HELP=_0x2cb639(0xf0),PROFILE_HELP=_0x2cb639(0x11e),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x0aKeys:\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20header.<name>\x20\x20\x20\x20Custom\x20HTTP\x20header\x20(e.g.,\x20header.X-Test-Mode)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20header.Authorization\x20\x27${AUTH_TOKEN}\x27';function warnRenamed(_0x4d349e,_0x2e60da){console['error']('\x0a'+_0x4d349e+'\x20is\x20now\x20'+_0x2e60da+'\x0a');}function argUsed(_0x886034){const _0x560139=_0x2cb639;return rawArgs['some'](_0x1dc14e=>_0x1dc14e===_0x886034||_0x1dc14e[_0x560139(0xb0)](_0x886034+'='));}function warnFlagRenamed(_0x49702f,_0x18d8e6,_0x5dc514){const _0x483a69=_0x2cb639,_0x26d546={'pMWfA':function(_0x539902,_0x42708b){return _0x539902(_0x42708b);}};_0x26d546[_0x483a69(0x1af)](argUsed,_0x18d8e6)&&warnRenamed(_0x49702f+'\x20'+_0x18d8e6,_0x49702f+'\x20'+_0x5dc514);}async function runGoCommand(_0xd85a0c,_0x710140=![]){const _0x372276=_0x2cb639,_0x387130={'Xnbzy':'ranger\x20verify-feature','mJoqR':_0x372276(0x1b4),'GIWwx':function(_0x363769,_0x283b6e,_0x1eca07,_0x2e1e2b){return _0x363769(_0x283b6e,_0x1eca07,_0x2e1e2b);},'ZidJo':'--profile','yFuLA':'--task','OkjRk':_0x372276(0x17f),'anuCb':function(_0x7ccc2){return _0x7ccc2();},'WVihh':_0x372276(0xd7),'iYhlz':_0x372276(0x102),'LragI':_0x372276(0xd6),'RNkmE':_0x372276(0x1ca),'ChkZz':_0x372276(0x189),'drDTh':function(_0x592e15,_0x10a603){return _0x592e15===_0x10a603;},'tsRZK':'\x20BLOCKED','rnsrW':_0x372276(0x145),'sJnGX':_0x372276(0xa0)};_0x710140&&warnRenamed(_0x387130[_0x372276(0x15b)],_0x387130['mJoqR']);_0x387130['GIWwx'](warnFlagRenamed,_0x387130[_0x372276(0x133)],'--env',_0x387130['ZidJo']),warnFlagRenamed(_0x387130['mJoqR'],_0x387130[_0x372276(0x15d)],'--notes'),_0x387130['GIWwx'](warnFlagRenamed,'ranger\x20go',_0x387130['OkjRk'],_0x372276(0x1ad));const _0x79dc3e=await _0x387130['anuCb'](loadRangerConfig),_0x704201=_0xd85a0c[_0x372276(0xa6)],_0x5968d8=_0x79dc3e['model'],_0x539109=_0x704201??_0x5968d8,_0x38a74f=_0x704201?_0x387130[_0x372276(0x1c7)]:_0x5968d8?'config':_0x372276(0xed),_0x5c99cb=await verifyFeature({'profile':_0xd85a0c['profile']??_0xd85a0c[_0x372276(0x155)],'notes':_0xd85a0c[_0x372276(0xa4)]??_0xd85a0c['task'],'scenario':_0xd85a0c['scenario']??_0xd85a0c[_0x372276(0x11f)],'startPath':_0xd85a0c[_0x387130['iYhlz']],'debugOutcome':_0xd85a0c[_0x387130[_0x372276(0xc0)]],'debugAddressComments':_0xd85a0c[_0x372276(0x173)],'verifyModel':_0x539109,'verifyModelInput':_0x539109,'verifyModelSource':_0x38a74f});console['log']('\x0a'+'='['repeat'](0x3c)),console['log'](_0x5c99cb[_0x372276(0x132)]==='verified'?'\x20VERIFIED':_0x5c99cb['evaluation']===_0x387130['RNkmE']?_0x387130['ChkZz']:_0x387130['drDTh'](_0x5c99cb[_0x372276(0x132)],'partial')?'\x20PARTIAL':_0x387130[_0x372276(0x1a0)](_0x5c99cb['evaluation'],_0x372276(0xc5))?_0x387130[_0x372276(0xf3)]:_0x387130[_0x372276(0x1d7)]),console[_0x372276(0xe0)]('='[_0x372276(0xa7)](0x3c)),console['log']('Summary:\x20'+_0x5c99cb['summary']),console['log'](_0x372276(0xeb)+_0x5c99cb['evaluation']),console['log'](_0x372276(0xbb)+_0x5c99cb['evaluationReason']),_0x5c99cb['issues']?.['length']&&(console['log']('\x0aIssues:'),_0x5c99cb[_0x372276(0x1dc)][_0x372276(0x1ab)]((_0x86020f,_0x7949b9)=>{const _0x1a7907=_0x372276;console[_0x1a7907(0xe0)]('\x0a'+(_0x7949b9+0x1)+_0x1a7907(0x114)+_0x86020f['severity']+']\x20'+_0x86020f[_0x1a7907(0x1b7)]);})),process[_0x372276(0x139)](_0x5c99cb[_0x372276(0x132)]===_0x387130['sJnGX']?0x0:0x1);}_0x547295(process[_0x2cb639(0x177)][_0x2cb639(0x13b)](0x2))[_0x2cb639(0x125)](_0x2cb639(0x12b))['usage'](TOP_LEVEL_HELP)[_0x2cb639(0x12d)](getCurrentVersion())['command']('create\x20<name>',_0x2cb639(0x1bf),_0x4f28dd=>{const _0x3499ee=_0x2cb639,_0x5f13c5={'yuVLX':'name','LAdCv':'scenario','HOWpJ':_0x3499ee(0x158),'jKZnb':_0x3499ee(0xa3)};return _0x4f28dd['positional'](_0x5f13c5['yuVLX'],{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})[_0x3499ee(0x1d0)](_0x3499ee(0x1b7),{'type':'string','alias':'d','description':_0x3499ee(0x1c4)})[_0x3499ee(0x1d0)](_0x5f13c5['LAdCv'],{'type':'array','alias':'c','description':_0x5f13c5[_0x3499ee(0x14c)]})['option'](_0x5f13c5[_0x3499ee(0x11d)],{'type':_0x3499ee(0x1a9),'hidden':!![]});},async _0x46ce9f=>{const _0x55648d=_0x2cb639,_0xdc18a8={'ITaPD':'--scenario','aArWc':'create'};warnFlagRenamed('ranger\x20create',_0x55648d(0x16c),_0xdc18a8[_0x55648d(0x198)]);const _0x416b9f=_0x46ce9f['scenario']||_0x46ce9f[_0x55648d(0xa3)];await withTelemetry(_0xdc18a8['aArWc'],()=>featureCreate(_0x46ce9f[_0x55648d(0x107)],{'description':_0x46ce9f['description'],'scenarios':_0x416b9f}));})[_0x2cb639(0xd4)](_0x2cb639(0x10c),_0x2cb639(0xcc),_0x5006b8=>{const _0x3e933b=_0x2cb639,_0x3b0181={'NWtsj':'limit','EyQEO':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','LqKVj':_0x3e933b(0x195),'hauDs':'Number\x20of\x20feature\x20reviews\x20to\x20skip','PIzUn':_0x3e933b(0xdf),'HmmgV':_0x3e933b(0x1a7),'UIcGY':_0x3e933b(0xf1)};return _0x5006b8['option']('current-branch',{'type':'boolean','description':_0x3e933b(0x160)})[_0x3e933b(0x1d0)](_0x3b0181['NWtsj'],{'type':_0x3e933b(0x17e),'alias':'l','description':_0x3b0181[_0x3e933b(0x1e8)],'default':0xa})[_0x3e933b(0x1d0)](_0x3b0181['LqKVj'],{'type':'number','alias':'o','description':_0x3b0181['hauDs'],'default':0x0})['option'](_0x3b0181[_0x3e933b(0x185)],{'type':_0x3b0181[_0x3e933b(0x1b3)],'alias':'d','description':_0x3b0181['UIcGY'],'default':![]});},async _0x287299=>{const _0xe9326e=_0x2cb639,_0x4c5491={'mmUgS':function(_0x558849,_0x556289,_0x284960){return _0x558849(_0x556289,_0x284960);},'nLCVS':_0xe9326e(0x10c)};await _0x4c5491['mmUgS'](withTelemetry,_0x4c5491['nLCVS'],()=>featureList({'currentBranch':_0x287299['current-branch'],'limit':_0x287299['limit'],'offset':_0x287299['offset'],'includeDeleted':_0x287299[_0xe9326e(0xdf)]}));})['command']('show\x20[id]','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x456913=>{const _0x3e5d03=_0x2cb639,_0x2f4998={'UemnD':'Feature\x20review\x20ID'};return _0x456913['positional']('id',{'type':'string','description':_0x2f4998[_0x3e5d03(0xaa)]});},async _0x1b3558=>{const _0xe9bb6f=_0x2cb639,_0x579127={'tJAgP':function(_0x595fea,_0x361ec8,_0x29e963){return _0x595fea(_0x361ec8,_0x29e963);},'WLGED':'show'};await _0x579127['tJAgP'](withTelemetry,_0x579127[_0xe9bb6f(0x16a)],()=>featureShow(_0x1b3558['id']));})[_0x2cb639(0xd4)]('resume\x20[id]','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x50966e=>{const _0x31d3cc=_0x2cb639,_0x4d41cf={'ZmLGM':'string'};return _0x50966e[_0x31d3cc(0x180)]('id',{'type':_0x4d41cf[_0x31d3cc(0x137)],'description':_0x31d3cc(0x161)});},async _0x2bbc72=>{const _0x453b6b=_0x2cb639;await withTelemetry(_0x453b6b(0x141),()=>featureResume(_0x2bbc72['id']));})[_0x2cb639(0xd4)](_0x2cb639(0xf2),'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x57360a=>{const _0x41a609=_0x2cb639,_0x1177ac={'LxnRq':'string','yBVHD':_0x41a609(0xc4)};return _0x57360a['positional'](_0x41a609(0x1b7),{'type':'string','description':_0x41a609(0x19d),'demandOption':!![]})[_0x41a609(0x1d0)]('id',{'type':_0x1177ac['LxnRq'],'description':_0x1177ac[_0x41a609(0x1d5)]});},async _0x6724a9=>{const _0x1f6bf6=_0x2cb639,_0x1f6b8e={'eicod':_0x1f6bf6(0x1cd)};await withTelemetry(_0x1f6b8e['eicod'],()=>featureAddScenario(_0x6724a9['description'],_0x6724a9['id']));})[_0x2cb639(0xd4)]('edit-scenario\x20<description>',_0x2cb639(0x1d9),_0x45c877=>{const _0x2843ae=_0x2cb639,_0x225557={'kSCQE':_0x2843ae(0x1b7),'EvTSy':_0x2843ae(0xb8),'UWCHY':'New\x20scenario\x20description','UHdUG':'number','xFcGa':_0x2843ae(0xc4)};return _0x45c877[_0x2843ae(0x180)](_0x225557[_0x2843ae(0x111)],{'type':_0x225557[_0x2843ae(0x130)],'description':_0x225557['UWCHY'],'demandOption':!![]})['option'](_0x2843ae(0x9a),{'type':_0x225557['UHdUG'],'description':_0x2843ae(0x11b),'demandOption':!![]})['option']('id',{'type':_0x225557['EvTSy'],'description':_0x225557['xFcGa']});},async _0x4dfbea=>{const _0x29364b=_0x2cb639;await withTelemetry('edit-scenario',()=>featureEditScenario(_0x4dfbea['description'],{'id':_0x4dfbea['id'],'scenario':_0x4dfbea[_0x29364b(0x9a)]}));})['command']('report\x20[id]','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x2b12e7=>{const _0x10646d=_0x2cb639,_0x5b0a62={'RkLAM':'string','NFQhX':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'};return _0x2b12e7['positional']('id',{'type':_0x5b0a62['RkLAM'],'description':_0x10646d(0x1cc)})[_0x10646d(0x1d0)]('exclude-scenario',{'type':_0x10646d(0x1a9),'description':_0x5b0a62[_0x10646d(0x14e)]});},async _0x9a179f=>{const _0x2759b5=_0x2cb639,_0x3bdd52={'llmse':function(_0x13baa4,_0x4f97c7,_0x34cc98){return _0x13baa4(_0x4f97c7,_0x34cc98);}},_0x155b51=_0x9a179f[_0x2759b5(0x1e7)],_0x566d91=_0x155b51?_0x155b51[_0x2759b5(0x10e)](_0x378f68=>Number(_0x378f68)):undefined;await _0x3bdd52['llmse'](withTelemetry,_0x2759b5(0x1c3),()=>featureReportPrDescription(_0x9a179f['id'],{'excludeScenarios':_0x566d91}));})['command']('get-review\x20[id]',_0x2cb639(0xa1),_0xbbe99a=>{const _0x18a882=_0x2cb639,_0x5ab368={'ZdIZx':'string','DwDpq':_0x18a882(0xc4)};return _0xbbe99a[_0x18a882(0x180)]('id',{'type':_0x5ab368['ZdIZx'],'description':_0x5ab368['DwDpq']});},async _0x4b9f6d=>{const _0x301dd0=_0x2cb639,_0xa2bd0={'QUpIW':_0x301dd0(0x16b)};await withTelemetry(_0xa2bd0['QUpIW'],()=>featureGetReview(_0x4b9f6d['id']));})['command']('delete\x20[id]','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x29a9f0=>{const _0x5d95b9=_0x2cb639,_0x12a429={'czRys':_0x5d95b9(0x1cc)};return _0x29a9f0['positional']('id',{'type':_0x5d95b9(0xb8),'description':_0x12a429['czRys']});},async _0x241f1=>{const _0x3e4fc1=_0x2cb639,_0x4b679d={'QCjyF':'delete'};await withTelemetry(_0x4b679d[_0x3e4fc1(0x1c8)],()=>featureDelete(_0x241f1['id']));})['command'](_0x2cb639(0xaf),_0x2cb639(0xda),_0x4ff828=>{const _0x26c76c=_0x2cb639,_0xd02c41={'XxsUw':'string'};return _0x4ff828['positional']('id',{'type':_0xd02c41[_0x26c76c(0x1d8)],'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x1f667d=>{const _0x4dc50c=_0x2cb639,_0x31f669={'DPOov':function(_0x314193,_0x4361f4,_0x490b09){return _0x314193(_0x4361f4,_0x490b09);}};await _0x31f669[_0x4dc50c(0x151)](withTelemetry,_0x4dc50c(0x148),()=>featureRestore(_0x1f667d['id']));})[_0x2cb639(0xd4)]('setup\x20[token]',_0x2cb639(0x1d4),_0xdb2f10=>{const _0x3aba9a=_0x2cb639,_0x54051f={'kFdWU':_0x3aba9a(0x19a),'TGfch':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','kqnzO':_0x3aba9a(0xb8),'myDZk':_0x3aba9a(0x1e4),'JgMvA':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','kpUbf':'url','bEDTk':_0x3aba9a(0x9b),'KpLxV':'boolean','cwcBY':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','NBXez':_0x3aba9a(0xce)};return _0xdb2f10[_0x3aba9a(0x180)]('token',{'type':_0x3aba9a(0xb8),'description':_0x54051f['kFdWU']})['option'](_0x3aba9a(0x175),{'type':'boolean','description':_0x54051f[_0x3aba9a(0x181)],'default':![]})[_0x3aba9a(0x1d0)](_0x3aba9a(0x11a),{'type':_0x54051f[_0x3aba9a(0x12f)],'choices':['user',_0x54051f['myDZk']],'description':_0x54051f[_0x3aba9a(0x12a)]})['option'](_0x54051f[_0x3aba9a(0x194)],{'type':_0x3aba9a(0xb8),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})[_0x3aba9a(0x1d0)](_0x54051f['bEDTk'],{'type':_0x54051f['KpLxV'],'description':_0x54051f['cwcBY'],'default':![]})[_0x3aba9a(0x1d0)](_0x3aba9a(0x15c),{'type':_0x54051f[_0x3aba9a(0x1cb)],'description':_0x54051f['NBXez'],'default':![]});},async _0x5922e1=>{const _0x21a101=_0x2cb639,_0x2abe1a={'LcjQU':_0x21a101(0x192)};await withTelemetry(_0x2abe1a['LcjQU'],_0x1bd050=>start(_0x5922e1['token'],{'skipChromium':_0x5922e1['skip-chromium'],'scope':_0x5922e1['scope'],'url':_0x5922e1[_0x21a101(0x1ac)],'force':_0x5922e1['force'],'opencode':_0x5922e1['opencode']},_0x1bd050));})[_0x2cb639(0xd4)](_0x2cb639(0x1c2),'Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0xcdd2ff=>{const _0x19d8dc=_0x2cb639,_0x5d1c35={'ftUXR':'token','uHfLZ':_0x19d8dc(0xb8),'zMQxo':'Ranger\x20API\x20token','GTYyr':_0x19d8dc(0x197)};return _0xcdd2ff['positional'](_0x5d1c35[_0x19d8dc(0xee)],{'type':_0x5d1c35['uHfLZ'],'description':_0x5d1c35['zMQxo'],'demandOption':!![]})['option'](_0x19d8dc(0x108),{'type':_0x19d8dc(0xb8),'description':_0x19d8dc(0x1a1)})[_0x19d8dc(0x1d0)](_0x5d1c35[_0x19d8dc(0x179)],{'type':_0x19d8dc(0xb8),'description':_0x19d8dc(0x1cf)})[_0x19d8dc(0x1d0)]('skip-chromium',{'type':'boolean','description':_0x19d8dc(0x19f),'default':![]});},async _0x5c98da=>{const _0x574cc4=_0x2cb639;await withTelemetry('setup-ci',_0x11abbf=>setupCi(_0x5c98da[_0x574cc4(0x146)],{'profile':_0x5c98da[_0x574cc4(0x108)],'baseUrl':_0x5c98da['base-url'],'skipChromium':_0x5c98da[_0x574cc4(0x175)]},_0x11abbf));})[_0x2cb639(0xd4)](_0x2cb639(0x1ed),_0x2cb639(0xc3),()=>{},async()=>{const _0x287c9d={'gfbxE':'login'};await withTelemetry(_0x287c9d['gfbxE'],()=>login());})[_0x2cb639(0xd4)]('skillup',_0x2cb639(0x188),_0x5d3489=>{const _0x5b64d0=_0x2cb639,_0x255b0d={'bNAtj':_0x5b64d0(0x1a7),'YyPqi':'Install\x20skills\x20for\x20OpenCode','TJptc':'scope','BjFDF':_0x5b64d0(0xb8)};return _0x5d3489['option']('opencode',{'type':_0x255b0d['bNAtj'],'description':_0x255b0d['YyPqi'],'default':![]})[_0x5b64d0(0x1d0)](_0x255b0d[_0x5b64d0(0x109)],{'type':_0x255b0d['BjFDF'],'choices':[_0x5b64d0(0xfb),'project'],'description':_0x5b64d0(0x191)});},async _0x5b73a6=>{const _0x3c7aa8=_0x2cb639,_0x476dc5={'lAKUj':function(_0x2ceb62,_0x5e64e8){return _0x2ceb62(_0x5e64e8);},'lqNNq':'skillup'},_0x4082b8=_0x476dc5['lAKUj'](Boolean,_0x5b73a6['opencode']);await withTelemetry(_0x476dc5[_0x3c7aa8(0x1eb)],()=>skillup({'autoInstall':_0x5b73a6['scope'],'platform':_0x4082b8?'opencode':_0x3c7aa8(0x14b)}));})['command']('clean','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{const _0x128e12=_0x2cb639,_0x4f27a9={'pjIdb':function(_0x2809c7,_0x12e19b,_0x4f9caf){return _0x2809c7(_0x12e19b,_0x4f9caf);}};await _0x4f27a9[_0x128e12(0x19c)](withTelemetry,_0x128e12(0x106),()=>clean());})['command'](_0x2cb639(0x108),'Manage\x20profiles',_0x437f7e=>{const _0x21b758=_0x2cb639,_0xd16f78={'ItGLC':'profile-name','JwpFq':_0x21b758(0x1ea),'cGnEQ':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','ellzX':_0x21b758(0x124),'FRQDC':'boolean','SEtgm':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','dtGTf':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','pKzNW':_0x21b758(0xe7),'xuivu':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','yDSKT':function(_0x31d5b2,_0x4491e1,_0x345d6c,_0x45a91d){return _0x31d5b2(_0x4491e1,_0x345d6c,_0x45a91d);},'pDJeE':'profile\x20add','SxvKg':'string','AkfAn':_0x21b758(0x18f),'azgmg':_0x21b758(0x108),'ooPPD':_0x21b758(0x1aa),'vGNcU':'profile\x20encrypt-auth','lvANT':function(_0x560dd9,_0x46a37d,_0x1c8a48){return _0x560dd9(_0x46a37d,_0x1c8a48);},'XBPKm':_0x21b758(0xb3),'GOMsb':function(_0x378029,_0x215c3b,_0x29a634){return _0x378029(_0x215c3b,_0x29a634);},'mSsdG':'profile\x20config\x20set','mveGp':_0x21b758(0x1c0),'BDcfp':_0x21b758(0xfe),'DFIbt':'set\x20<profile>\x20<key>\x20<value>','pfgAm':_0x21b758(0x127),'HNxlE':'add\x20<profile-name>','MMejX':_0x21b758(0x18a),'xFjNL':_0x21b758(0x199),'mnLxm':'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','QdLmd':'update\x20<profile-name>'};return _0x437f7e[_0x21b758(0x17a)](PROFILE_HELP)['command'](_0xd16f78[_0x21b758(0x187)],_0x21b758(0xe1),_0x575e09=>{const _0x6e7e8b=_0x21b758;return _0x575e09[_0x6e7e8b(0x180)](_0xd16f78['ItGLC'],{'type':_0x6e7e8b(0xb8),'description':_0xd16f78[_0x6e7e8b(0xe2)],'demandOption':!![]})[_0x6e7e8b(0x1d0)]('ci',{'type':_0x6e7e8b(0x1a7),'description':_0xd16f78[_0x6e7e8b(0xc6)],'default':![]})['option'](_0xd16f78['ellzX'],{'type':_0xd16f78[_0x6e7e8b(0xdc)],'description':_0xd16f78[_0x6e7e8b(0x17b)],'default':![]})['option'](_0x6e7e8b(0x1ac),{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)'})[_0x6e7e8b(0x1d0)](_0x6e7e8b(0x9b),{'type':_0xd16f78[_0x6e7e8b(0xdc)],'description':_0xd16f78['dtGTf'],'default':![]})['option'](_0xd16f78['pKzNW'],{'type':'string','description':_0xd16f78['xuivu']});},async _0x16cd90=>{const _0x9551df=_0x21b758;await _0xd16f78['yDSKT'](withTelemetry,_0xd16f78[_0x9551df(0xb4)],_0x341e7d=>addEnv(_0x16cd90['profile-name'],{'ci':_0x16cd90['ci'],'skipAuth':_0x16cd90['skip-auth'],'url':_0x16cd90['url'],'force':_0x16cd90['force'],'cdpEndpoint':_0x16cd90[_0x9551df(0xe7)]},_0x341e7d),{'isElectron':Boolean(_0x16cd90['cdp-endpoint'])});})['command']('use\x20<profile-name>',_0xd16f78['MMejX'],_0x3ef2e2=>{const _0xceecdf=_0x21b758;return _0x3ef2e2['positional'](_0xd16f78[_0xceecdf(0xd1)],{'type':_0xd16f78['SxvKg'],'description':_0xceecdf(0x163),'demandOption':!![]});},async _0x591d36=>{const _0x2f6e1a=_0x21b758;await withTelemetry(_0xd16f78['AkfAn'],()=>useEnv(_0x591d36[_0x2f6e1a(0x12c)]));})[_0x21b758(0xd4)](_0xd16f78['xFjNL'],_0xd16f78['mnLxm'],_0x47dc7f=>{const _0x7538e8=_0x21b758;return _0x47dc7f['positional'](_0xd16f78[_0x7538e8(0x10b)],{'type':_0x7538e8(0xb8),'description':_0xd16f78['ooPPD'],'demandOption':!![]});},async _0x3130cb=>{const _0x2b0f9f=_0x21b758;await withTelemetry(_0xd16f78[_0x2b0f9f(0x15e)],()=>authEncrypt(_0x3130cb['profile']));})['command']('ls','List\x20all\x20profiles',()=>{},async()=>{const _0x42c5d6=_0x21b758;await _0xd16f78[_0x42c5d6(0x190)](withTelemetry,_0x42c5d6(0xc1),()=>envList());})[_0x21b758(0xd4)](_0xd16f78[_0x21b758(0x1ee)],'Update\x20authentication\x20for\x20an\x20existing\x20profile',_0xc5d46d=>{const _0x2fd39e=_0x21b758;return _0xc5d46d['positional'](_0xd16f78[_0x2fd39e(0xd1)],{'type':'string','description':'Name\x20of\x20the\x20profile\x20to\x20update','demandOption':!![]});},async _0x2557ba=>{const _0x486ac4=_0x21b758;await withTelemetry(_0xd16f78[_0x486ac4(0xcf)],_0x17c55b=>updateEnv(_0x2557ba['profile-name'],_0x17c55b));})['command'](_0x21b758(0x157),_0x21b758(0x15a),_0x5587b0=>{const _0x5a1c65=_0x21b758,_0x5c4c82={'zsjUT':_0xd16f78[_0x5a1c65(0x1d3)],'fjQMa':_0x5a1c65(0x142),'aMSGD':function(_0x45cfd7,_0x101fd0,_0x369328){return _0x45cfd7(_0x101fd0,_0x369328);},'ApSqv':'profile\x20config\x20get','sjgKd':_0xd16f78[_0x5a1c65(0xd0)]};return _0x5587b0['usage'](PROFILE_CONFIG_HELP)[_0x5a1c65(0xd4)](_0xd16f78['DFIbt'],_0x5a1c65(0x1a5),_0x827e81=>{const _0x326e29=_0x5a1c65;return _0x827e81[_0x326e29(0x180)]('profile',{'type':_0x5c4c82['zsjUT'],'description':_0x326e29(0x1aa),'demandOption':!![]})[_0x326e29(0x180)]('key',{'type':_0x326e29(0xb8),'description':_0x5c4c82[_0x326e29(0x164)],'demandOption':!![]})[_0x326e29(0x180)]('value',{'type':_0x5c4c82['zsjUT'],'description':'Config\x20value','demandOption':!![]});},async _0x22ee4=>{const _0x1e01e8=_0x5a1c65;await _0xd16f78[_0x1e01e8(0x1a3)](withTelemetry,_0xd16f78['mSsdG'],()=>configSet(_0x22ee4['profile'],_0x22ee4['key'],_0x22ee4[_0x1e01e8(0x120)]));})[_0x5a1c65(0xd4)]('get\x20<profile>\x20<key>',_0x5a1c65(0x18d),_0x57887a=>{const _0x2cd15f=_0x5a1c65;return _0x57887a['positional']('profile',{'type':_0xd16f78[_0x2cd15f(0x1d3)],'description':_0xd16f78['ooPPD'],'demandOption':!![]})[_0x2cd15f(0x180)]('key',{'type':_0x2cd15f(0xb8),'description':_0xd16f78[_0x2cd15f(0x178)],'demandOption':!![]});},async _0x1907e1=>{const _0x54e744=_0x5a1c65;await _0x5c4c82['aMSGD'](withTelemetry,_0x5c4c82['ApSqv'],()=>configGet(_0x1907e1[_0x54e744(0x108)],_0x1907e1[_0x54e744(0xe9)]));})[_0x5a1c65(0xd4)](_0x5a1c65(0xff),'List\x20all\x20config\x20for\x20a\x20profile',_0x1576e0=>{const _0x3104bf=_0x5a1c65;return _0x1576e0['positional'](_0xd16f78[_0x3104bf(0x10b)],{'type':_0x3104bf(0xb8),'description':_0x3104bf(0x1aa),'demandOption':!![]});},async _0x4d5853=>{const _0x3d9c71=_0x5a1c65;await withTelemetry(_0xd16f78['BDcfp'],()=>configList(_0x4d5853[_0x3d9c71(0x108)]));})[_0x5a1c65(0xd4)](_0xd16f78[_0x5a1c65(0x143)],_0x5a1c65(0x17d),_0x4fb089=>{const _0x3ec6c4=_0x5a1c65;return _0x4fb089[_0x3ec6c4(0x180)]('profile',{'type':_0x5c4c82['zsjUT'],'description':_0x5c4c82['sjgKd'],'demandOption':!![]})['positional'](_0x3ec6c4(0xe9),{'type':_0x5c4c82[_0x3ec6c4(0x159)],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x13691b=>{const _0x1f3b11=_0x5a1c65;await _0x5c4c82[_0x1f3b11(0x149)](withTelemetry,_0x1f3b11(0x1c1),()=>configUnset(_0x13691b[_0x1f3b11(0x108)],_0x13691b['key']));})['demandCommand'](0x1,_0x5a1c65(0xd3));})[_0x21b758(0x134)](0x1,_0x21b758(0x19b));})[_0x2cb639(0xd4)](_0x2cb639(0x103),_0x2cb639(0xbe),()=>{},async()=>{const _0x2d4b41={'BIbkL':'status'};await withTelemetry(_0x2d4b41['BIbkL'],()=>status());})['command'](_0x2cb639(0x101),'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x5ca7d9=_0x2cb639,_0xd189e={'hmxSh':'update'};await withTelemetry(_0xd189e[_0x5ca7d9(0x14d)],()=>update());})['command']('go',_0x2cb639(0xdb),_0x2a89e6=>{const _0x230429=_0x2cb639,_0x3e9e66={'alqbE':_0x230429(0x108),'AWuOW':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','LZtad':_0x230429(0xb8),'XMTLa':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','WUkQS':'start-path','SUxHu':_0x230429(0x1e2),'MKBhy':_0x230429(0xd6),'lmHbv':'partial','crjXZ':_0x230429(0x155),'tybHS':_0x230429(0x11c),'ODZuE':_0x230429(0x17e)};return _0x2a89e6[_0x230429(0x1d0)](_0x3e9e66['alqbE'],{'type':_0x230429(0xb8),'description':_0x3e9e66[_0x230429(0x9d)]})[_0x230429(0x1d0)]('notes',{'type':_0x3e9e66[_0x230429(0x1e5)],'description':_0x3e9e66['XMTLa']})['option']('scenario',{'type':'number','description':_0x230429(0xa9)})['option'](_0x3e9e66[_0x230429(0xc7)],{'type':_0x230429(0xb8),'description':_0x230429(0xb1)})[_0x230429(0x1d0)]('model',{'type':'string','description':_0x3e9e66['SUxHu']})['option'](_0x3e9e66[_0x230429(0x162)],{'type':'string','hidden':!![],'choices':['verified',_0x3e9e66[_0x230429(0x9f)],'blocked','failed','incomplete']})[_0x230429(0x1d0)](_0x230429(0x173),{'type':_0x230429(0x1a7),'hidden':!![]})['option'](_0x3e9e66['crjXZ'],{'type':_0x3e9e66['LZtad'],'hidden':!![]})[_0x230429(0x1d0)](_0x3e9e66[_0x230429(0x182)],{'type':_0x3e9e66[_0x230429(0x1e5)],'hidden':!![]})['option']('item',{'type':_0x3e9e66[_0x230429(0xa8)],'hidden':!![]});},async _0x2aa9b6=>{const _0x32c3f1=_0x2cb639,_0x395448={'MZBwi':function(_0x4c27ba,_0x255fc5){return _0x4c27ba(_0x255fc5);}};await _0x395448[_0x32c3f1(0x152)](runGoCommand,_0x2aa9b6);})[_0x2cb639(0xd4)](_0x2cb639(0x196),![],_0x4ec12b=>{const _0x152cbd=_0x2cb639,_0x43448b={'sGpIw':'string','NdvRp':'Profile\x20name','wHrDF':function(_0x583054,_0x3b5719,_0x421171){return _0x583054(_0x3b5719,_0x421171);},'kNcDi':_0x152cbd(0x135),'mEaCz':'You\x20must\x20specify\x20an\x20auth\x20subcommand'};return _0x4ec12b[_0x152cbd(0xd4)](_0x152cbd(0x10d),![],_0x1f990c=>{return _0x1f990c['positional']('profile',{'type':_0x43448b['sGpIw'],'description':_0x43448b['NdvRp'],'demandOption':!![]});},async _0x8a7dc2=>{const _0x2c9715=_0x152cbd;_0x43448b[_0x2c9715(0xdd)](warnRenamed,_0x43448b[_0x2c9715(0x1db)],'ranger\x20profile\x20encrypt-auth'),await authEncrypt(_0x8a7dc2['profile']);})[_0x152cbd(0x134)](0x1,_0x43448b['mEaCz']);},()=>{})['command']('start\x20[token]',![],_0x1df885=>{const _0x43b3d1=_0x2cb639,_0x157d95={'RGhpn':_0x43b3d1(0xb8),'SGvMl':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','ngdUh':'boolean','xPjmP':_0x43b3d1(0xcb),'TqoMK':'scope','GjhmY':'project','oMSgJ':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','VtlNn':_0x43b3d1(0x9b)};return _0x1df885[_0x43b3d1(0x180)](_0x43b3d1(0x146),{'type':_0x157d95[_0x43b3d1(0x144)],'description':_0x157d95['SGvMl']})[_0x43b3d1(0x1d0)]('skip-chromium',{'type':_0x157d95['ngdUh'],'description':_0x157d95[_0x43b3d1(0x165)],'default':![]})['option'](_0x157d95['TqoMK'],{'type':_0x157d95['RGhpn'],'choices':[_0x43b3d1(0xfb),_0x157d95[_0x43b3d1(0x1ba)]],'description':_0x157d95[_0x43b3d1(0x13e)]})[_0x43b3d1(0x1d0)]('url',{'type':_0x43b3d1(0xb8),'description':_0x43b3d1(0x117)})['option'](_0x157d95[_0x43b3d1(0xe5)],{'type':_0x157d95['ngdUh'],'description':_0x43b3d1(0x136),'default':![]});},async _0xbf73ac=>{const _0x3d96ae=_0x2cb639,_0x511c3f={'bxkbV':'ranger\x20start','twUtL':function(_0x3b3293,_0x3dfcc3,_0x1daec1){return _0x3b3293(_0x3dfcc3,_0x1daec1);}};warnRenamed(_0x511c3f['bxkbV'],_0x3d96ae(0xd8)),await _0x511c3f[_0x3d96ae(0x1ae)](withTelemetry,'start',_0xf6688=>start(_0xbf73ac[_0x3d96ae(0x146)],{'skipChromium':_0xbf73ac[_0x3d96ae(0x175)],'scope':_0xbf73ac[_0x3d96ae(0x11a)],'url':_0xbf73ac[_0x3d96ae(0x1ac)],'force':_0xbf73ac['force']},_0xf6688));})[_0x2cb639(0xd4)](_0x2cb639(0x1d2),![],_0x57737c=>{const _0x46a475=_0x2cb639,_0x4d5d69={'XEYVi':_0x46a475(0xde),'anTPW':'task','EmHRa':'string','QrtAx':_0x46a475(0x108),'RmogG':_0x46a475(0x17e),'KCJaS':_0x46a475(0xb1),'IDwlB':_0x46a475(0xa0),'jqNFy':'partial','BbUxw':'blocked','LvGyT':'failed','EitkT':_0x46a475(0x1ca)};return _0x57737c[_0x46a475(0x1d0)]('env',{'type':_0x46a475(0xb8),'description':_0x4d5d69[_0x46a475(0x1b9)]})[_0x46a475(0x1d0)](_0x4d5d69[_0x46a475(0x105)],{'type':_0x4d5d69['EmHRa'],'description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})['option'](_0x46a475(0x11f),{'type':_0x46a475(0x17e),'description':'Scenario\x20index\x20(1-based)'})[_0x46a475(0x1d0)](_0x4d5d69['QrtAx'],{'type':_0x4d5d69[_0x46a475(0x1e1)],'hidden':!![]})[_0x46a475(0x1d0)]('notes',{'type':_0x46a475(0xb8),'hidden':!![]})[_0x46a475(0x1d0)](_0x46a475(0x9a),{'type':_0x4d5d69['RmogG'],'hidden':!![]})['option'](_0x46a475(0x102),{'type':_0x4d5d69['EmHRa'],'description':_0x4d5d69['KCJaS']})[_0x46a475(0x1d0)]('model',{'type':_0x4d5d69[_0x46a475(0x1e1)],'hidden':!![]})['option']('debug-outcome',{'type':_0x4d5d69['EmHRa'],'hidden':!![],'choices':[_0x4d5d69['IDwlB'],_0x4d5d69['jqNFy'],_0x4d5d69['BbUxw'],_0x4d5d69[_0x46a475(0x19e)],_0x4d5d69[_0x46a475(0x1ec)]]});},async _0x149bc1=>{const _0x24660b=_0x2cb639,_0x15a62e={'RatqR':function(_0x521b22,_0x3a6545,_0xf29ae2){return _0x521b22(_0x3a6545,_0xf29ae2);}};await _0x15a62e[_0x24660b(0x16e)](runGoCommand,_0x149bc1,!![]);})['command']('add\x20env\x20<env-name>',![],_0x287d27=>{const _0x294946=_0x2cb639,_0x392d12={'QqhDf':_0x294946(0x1a7),'dhguQ':_0x294946(0x1e3)};return _0x287d27[_0x294946(0x180)](_0x294946(0x14f),{'type':_0x294946(0xb8),'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x392d12['QqhDf'],'description':_0x294946(0x121),'default':![]})[_0x294946(0x1d0)]('skip-auth',{'type':_0x392d12['QqhDf'],'description':_0x392d12['dhguQ'],'default':![]});},async _0x415de6=>{const _0x1859ef=_0x2cb639,_0x4ef97c={'uRAxW':function(_0x13e5d7,_0x487e87,_0x4e1c39){return _0x13e5d7(_0x487e87,_0x4e1c39);},'XGQHU':'ranger\x20add\x20env','Ezjoa':'add\x20env'};_0x4ef97c[_0x1859ef(0x154)](warnRenamed,_0x4ef97c[_0x1859ef(0x9e)],_0x1859ef(0x123)),await withTelemetry(_0x4ef97c[_0x1859ef(0xd2)],_0x460083=>addEnv(_0x415de6['env-name'],{'ci':_0x415de6['ci'],'skipAuth':_0x415de6[_0x1859ef(0x124)]},_0x460083));})[_0x2cb639(0xd4)](_0x2cb639(0xd9),![],_0x482123=>{const _0x47b749=_0x2cb639,_0x3ed333={'SldGf':'env-name','GMgIt':_0x47b749(0xb8)};return _0x482123[_0x47b749(0x180)](_0x3ed333[_0x47b749(0x1bb)],{'type':_0x3ed333['GMgIt'],'description':_0x47b749(0x1d1),'demandOption':!![]});},async _0x414f09=>{const _0x2296c1=_0x2cb639,_0x182d42={'OhxDV':'ranger\x20use','KCjsO':'ranger\x20profile\x20use','pbvdz':_0x2296c1(0x147)};warnRenamed(_0x182d42[_0x2296c1(0x18c)],_0x182d42['KCjsO']),await withTelemetry(_0x182d42[_0x2296c1(0x1be)],()=>useEnv(_0x414f09[_0x2296c1(0x14f)]));})[_0x2cb639(0xd4)]('config',![],_0x16960f=>{const _0x461f04=_0x2cb639,_0x231777={'DACoP':_0x461f04(0xac),'PnouC':_0x461f04(0x1a4),'FTbOw':function(_0x15c045,_0x1fdde2,_0x2c4f9a){return _0x15c045(_0x1fdde2,_0x2c4f9a);},'RzouQ':_0x461f04(0x1dd),'gIzAR':'key','PJFKs':'string','jKdzg':'ranger\x20config\x20get','qyNcU':_0x461f04(0xb9),'wIgrI':'ranger\x20profile\x20config\x20list','ovvjW':'config\x20list','JcBxs':'env','uTyeL':_0x461f04(0x1bc),'yYaDh':'ranger\x20config\x20unset','SDALP':'ranger\x20profile\x20config\x20unset','cBPtW':function(_0x450afd,_0x2634bd,_0x435ca7){return _0x450afd(_0x2634bd,_0x435ca7);},'YkctT':'set\x20<env>\x20<key>\x20<value>','iaHxt':_0x461f04(0xe6),'UbCLS':_0x461f04(0xfd),'hqrAp':_0x461f04(0x15f)};return _0x16960f['command'](_0x231777[_0x461f04(0x184)],![],_0xe846bf=>{const _0x56f6c8=_0x461f04;return _0xe846bf[_0x56f6c8(0x180)]('env',{'type':'string','description':'Environment\x20name','demandOption':!![]})[_0x56f6c8(0x180)](_0x56f6c8(0xe9),{'type':'string','description':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','demandOption':!![]})[_0x56f6c8(0x180)](_0x56f6c8(0x120),{'type':_0x56f6c8(0xb8),'description':_0x56f6c8(0x1ce),'demandOption':!![]});},async _0x20ee2d=>{const _0x4301a7=_0x461f04;warnRenamed(_0x231777[_0x4301a7(0xb2)],_0x231777[_0x4301a7(0x115)]),await _0x231777[_0x4301a7(0x169)](withTelemetry,_0x231777['RzouQ'],()=>configSet(_0x20ee2d[_0x4301a7(0x155)],_0x20ee2d[_0x4301a7(0xe9)],_0x20ee2d[_0x4301a7(0x120)]));})['command'](_0x231777[_0x461f04(0x1de)],![],_0x3c738a=>{const _0x1536dd=_0x461f04;return _0x3c738a['positional'](_0x1536dd(0x155),{'type':'string','description':_0x1536dd(0xb9),'demandOption':!![]})[_0x1536dd(0x180)](_0x231777['gIzAR'],{'type':_0x231777[_0x1536dd(0x13c)],'description':_0x1536dd(0x1c0),'demandOption':!![]});},async _0x2da201=>{warnRenamed(_0x231777['jKdzg'],'ranger\x20profile\x20config\x20get'),await _0x231777['FTbOw'](withTelemetry,'config\x20get',()=>configGet(_0x2da201['env'],_0x2da201['key']));})[_0x461f04(0xd4)](_0x231777[_0x461f04(0x168)],![],_0x4fdd10=>{const _0x2b8719=_0x461f04;return _0x4fdd10[_0x2b8719(0x180)]('env',{'type':_0x231777[_0x2b8719(0x13c)],'description':_0x231777[_0x2b8719(0x118)],'demandOption':!![]});},async _0x4c3f8f=>{const _0x42cabe=_0x461f04;warnRenamed('ranger\x20config\x20list',_0x231777['wIgrI']),await _0x231777['FTbOw'](withTelemetry,_0x231777[_0x42cabe(0x174)],()=>configList(_0x4c3f8f[_0x42cabe(0x155)]));})['command']('unset\x20<env>\x20<key>',![],_0x488da4=>{const _0x5f569d=_0x461f04;return _0x488da4[_0x5f569d(0x180)](_0x231777[_0x5f569d(0x1e6)],{'type':_0x5f569d(0xb8),'description':_0x231777[_0x5f569d(0x118)],'demandOption':!![]})['positional'](_0x231777['gIzAR'],{'type':_0x5f569d(0xb8),'description':_0x231777[_0x5f569d(0x116)],'demandOption':!![]});},async _0x24ca19=>{const _0x46ae88=_0x461f04;warnRenamed(_0x231777['yYaDh'],_0x231777['SDALP']),await _0x231777['cBPtW'](withTelemetry,_0x46ae88(0x14a),()=>configUnset(_0x24ca19[_0x46ae88(0x155)],_0x24ca19[_0x46ae88(0xe9)]));})[_0x461f04(0x134)](0x1,_0x231777[_0x461f04(0x1e9)]);})[_0x2cb639(0xd4)](_0x2cb639(0x155),![],_0x606efa=>{const _0x4aceda=_0x2cb639,_0x126206={'qVuyg':_0x4aceda(0x156),'EwvuI':function(_0x3f1802,_0x488435,_0x4e0fad){return _0x3f1802(_0x488435,_0x4e0fad);},'xTMRp':_0x4aceda(0xb8),'RNlMZ':'Name\x20of\x20the\x20environment\x20to\x20update','znrMJ':'update\x20<env-name>','XzuVS':_0x4aceda(0x150)};return _0x606efa['command']('ls',![],()=>{},async()=>{const _0xbbe1b=_0x4aceda;warnRenamed(_0x126206[_0xbbe1b(0xb6)],_0xbbe1b(0x122)),await _0x126206['EwvuI'](withTelemetry,_0xbbe1b(0x1da),()=>envList());})['command'](_0x126206[_0x4aceda(0x140)],![],_0x56e0ea=>{const _0x216e6c=_0x4aceda;return _0x56e0ea['positional']('env-name',{'type':_0x126206[_0x216e6c(0x13f)],'description':_0x126206[_0x216e6c(0x1a6)],'demandOption':!![]});},async _0x4615b6=>{const _0x4b07db=_0x4aceda;warnRenamed('ranger\x20env\x20update','ranger\x20profile\x20update'),await _0x126206[_0x4b07db(0x170)](withTelemetry,_0x4b07db(0xe8),_0x4d62bd=>updateEnv(_0x4615b6[_0x4b07db(0x14f)],_0x4d62bd));})[_0x4aceda(0x134)](0x1,_0x126206[_0x4aceda(0x128)]);})['command'](_0x2cb639(0xd5),![],_0x5c239b=>{const _0x224ff3=_0x2cb639,_0x600678={'xcDvm':_0x224ff3(0x1b7),'HRAWT':'string','ITvNT':_0x224ff3(0x1a9),'cBblt':'ranger\x20create','VjpLz':function(_0x215835,_0x369a08,_0x449f64,_0x42bea5){return _0x215835(_0x369a08,_0x449f64,_0x42bea5);},'RbBAx':'feature\x20create','FpivW':_0x224ff3(0x171),'iYNpu':_0x224ff3(0x17e),'gopLK':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','BVwbx':'include-deleted','bHYYg':_0x224ff3(0x1a7),'eoOWy':'Include\x20soft-deleted\x20feature\x20reviews','JECug':function(_0x34cd26,_0xcb29c5,_0x294bd5){return _0x34cd26(_0xcb29c5,_0x294bd5);},'FklOW':_0x224ff3(0xc2),'hGFHb':_0x224ff3(0x10f),'hkmsm':'ranger\x20show','Xykfs':'feature\x20show','IiCMj':_0x224ff3(0x161),'wTDeS':'Scenario\x20description','pwgNF':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','qfFEa':'ranger\x20feature\x20add-checklist-item','TweVT':_0x224ff3(0xbd),'lEPYt':_0x224ff3(0x16f),'MFBnP':function(_0x389c6e,_0x4c610c,_0x3663ed){return _0x389c6e(_0x4c610c,_0x3663ed);},'HWGio':function(_0x2f0399,_0x5261af,_0x777753){return _0x2f0399(_0x5261af,_0x777753);},'zRptW':'ranger\x20delete','wZSfV':'feature\x20delete','UrHGJ':'ranger\x20feature\x20restore','OxHKC':'show\x20[id]','eDWqU':'resume\x20[id]','MkGPU':_0x224ff3(0x129),'mBivl':'restore\x20<id>','duLZf':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand'};return _0x5c239b[_0x224ff3(0xd4)]('create\x20<name>',![],_0x535c71=>{const _0x5f59a3=_0x224ff3;return _0x535c71['positional'](_0x5f59a3(0x107),{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})[_0x5f59a3(0x1d0)](_0x600678[_0x5f59a3(0xa2)],{'type':_0x600678['HRAWT'],'alias':'d','description':_0x5f59a3(0x1c4)})[_0x5f59a3(0x1d0)](_0x5f59a3(0xa3),{'type':_0x600678[_0x5f59a3(0xef)],'alias':'c','description':_0x5f59a3(0x158)})['option']('scenario',{'type':_0x600678[_0x5f59a3(0xef)],'hidden':!![]});},async _0x32890d=>{const _0x35f974=_0x224ff3;warnRenamed(_0x35f974(0xad),_0x600678['cBblt']),_0x600678['VjpLz'](warnFlagRenamed,_0x35f974(0xb7),'--checklist','--scenario');const _0x40736a=_0x32890d[_0x35f974(0x9a)]||_0x32890d[_0x35f974(0xa3)];await withTelemetry(_0x600678['RbBAx'],()=>featureCreate(_0x32890d[_0x35f974(0x107)],{'description':_0x32890d[_0x35f974(0x1b7)],'scenarios':_0x40736a}));})[_0x224ff3(0xd4)]('list',![],_0x42b134=>{const _0x5ca26d=_0x224ff3;return _0x42b134[_0x5ca26d(0x1d0)](_0x600678['FpivW'],{'type':_0x5ca26d(0x1a7),'description':_0x5ca26d(0x160)})[_0x5ca26d(0x1d0)]('limit',{'type':_0x600678['iYNpu'],'alias':'l','description':_0x600678['gopLK'],'default':0xa})['option']('offset',{'type':_0x600678['iYNpu'],'alias':'o','description':_0x5ca26d(0xab),'default':0x0})['option'](_0x600678['BVwbx'],{'type':_0x600678['bHYYg'],'alias':'d','description':_0x600678['eoOWy'],'default':![]});},async _0x5466ba=>{const _0x2e8451=_0x224ff3;_0x600678['JECug'](warnRenamed,'ranger\x20feature\x20list','ranger\x20list'),await _0x600678['JECug'](withTelemetry,_0x600678[_0x2e8451(0xf7)],()=>featureList({'currentBranch':_0x5466ba[_0x2e8451(0x171)],'limit':_0x5466ba['limit'],'offset':_0x5466ba['offset'],'includeDeleted':_0x5466ba['include-deleted']}));})['command'](_0x600678[_0x224ff3(0xb5)],![],_0x29222e=>{const _0x392bd3=_0x224ff3;return _0x29222e['positional']('id',{'type':'string','description':_0x392bd3(0x1cc)});},async _0x4eb255=>{const _0x20f8b8=_0x224ff3;warnRenamed(_0x600678[_0x20f8b8(0x126)],_0x600678['hkmsm']),await _0x600678['JECug'](withTelemetry,_0x600678['Xykfs'],()=>featureShow(_0x4eb255['id']));})[_0x224ff3(0xd4)](_0x600678['eDWqU'],![],_0x119499=>{const _0x176ba9=_0x224ff3;return _0x119499['positional']('id',{'type':_0x600678[_0x176ba9(0x113)],'description':_0x600678[_0x176ba9(0x1b8)]});},async _0x299cce=>{const _0x5016c4=_0x224ff3;warnRenamed(_0x5016c4(0x16d),_0x5016c4(0x110)),await withTelemetry(_0x5016c4(0x1d6),()=>featureResume(_0x299cce['id']));})[_0x224ff3(0xd4)]('add-checklist-item\x20<description>',![],_0xe9c20e=>{const _0x10a0ac=_0x224ff3;return _0xe9c20e['positional']('description',{'type':'string','description':_0x600678['wTDeS'],'demandOption':!![]})[_0x10a0ac(0x1d0)]('id',{'type':_0x600678['HRAWT'],'description':_0x600678['pwgNF']});},async _0x1aff31=>{const _0x2943cc=_0x224ff3;warnRenamed(_0x600678[_0x2943cc(0xea)],'ranger\x20add-scenario'),await withTelemetry(_0x600678['TweVT'],()=>featureAddScenario(_0x1aff31['description'],_0x1aff31['id']));})[_0x224ff3(0xd4)](_0x600678[_0x224ff3(0xc8)],![],_0x4134e4=>{return _0x4134e4['positional']('id',{'type':_0x600678['HRAWT'],'description':_0x600678['pwgNF']});},async _0x50427c=>{const _0x272596=_0x224ff3;_0x600678['JECug'](warnRenamed,_0x600678['lEPYt'],_0x272596(0x119)),await _0x600678[_0x272596(0xec)](withTelemetry,_0x272596(0x100),()=>featureGetReview(_0x50427c['id']));})[_0x224ff3(0xd4)](_0x224ff3(0x131),![],_0x1fb72c=>{const _0x248775=_0x224ff3;return _0x1fb72c['positional']('id',{'type':'string','description':_0x248775(0x1cc)});},async _0x21ed11=>{const _0xbaddd1=_0x224ff3;_0x600678[_0xbaddd1(0xe4)](warnRenamed,'ranger\x20feature\x20delete',_0x600678['zRptW']),await withTelemetry(_0x600678[_0xbaddd1(0x18e)],()=>featureDelete(_0x21ed11['id']));})['command'](_0x600678[_0x224ff3(0x13d)],![],_0x1a3bcb=>{const _0x154829=_0x224ff3;return _0x1a3bcb[_0x154829(0x180)]('id',{'type':_0x600678[_0x154829(0x113)],'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x489782=>{const _0x8b41a8=_0x224ff3;_0x600678[_0x8b41a8(0xec)](warnRenamed,_0x600678[_0x8b41a8(0x1b1)],_0x8b41a8(0x172)),await withTelemetry(_0x8b41a8(0x186),()=>featureRestore(_0x489782['id']));})['demandCommand'](0x1,_0x600678['duLZf']);})[_0x2cb639(0xd4)](_0x2cb639(0xf5),![],_0x1eb1ce=>{const _0x3acfcf=_0x2cb639,_0x1282ae={'mxmdF':'session-id','EWXnH':'string','qJFPQ':_0x3acfcf(0xba),'kWJRr':function(_0x51b809,_0x564c88,_0x2fa071){return _0x51b809(_0x564c88,_0x2fa071);},'nrfzv':_0x3acfcf(0x9c),'UOOTr':_0x3acfcf(0xbf),'dNVOg':_0x3acfcf(0x153),'DhaVJ':_0x3acfcf(0x107),'pfUTe':_0x3acfcf(0xc9),'NnHEM':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'};return _0x1eb1ce[_0x3acfcf(0xd4)](_0x1282ae[_0x3acfcf(0x112)],'Enable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x24ed58=>{const _0x571d5f=_0x3acfcf;return _0x24ed58['option'](_0x1282ae['mxmdF'],{'type':_0x1282ae['EWXnH'],'description':_0x571d5f(0x1b2)});},async _0x247e75=>{const _0x52c19a=_0x3acfcf;await withTelemetry(_0x1282ae['qJFPQ'],()=>hook(_0x52c19a(0xbf),_0x247e75[_0x52c19a(0x13a)]));})[_0x3acfcf(0xd4)]('disable',_0x1282ae['dNVOg'],_0x53b954=>{const _0x230816=_0x3acfcf;return _0x53b954['option'](_0x1282ae[_0x230816(0xf4)],{'type':_0x1282ae['EWXnH'],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x851e16=>{const _0x7a05e7=_0x3acfcf;await _0x1282ae[_0x7a05e7(0x1a8)](withTelemetry,_0x1282ae[_0x7a05e7(0xf9)],()=>hook(_0x7a05e7(0x1c9),_0x851e16['session-id']));})['option'](_0x1282ae[_0x3acfcf(0x176)],{'type':_0x1282ae[_0x3acfcf(0x1bd)],'description':_0x1282ae[_0x3acfcf(0x10a)]})['option']('session-id',{'type':'string','description':_0x1282ae['NnHEM']});},async _0x21f969=>{const _0x2778af=_0x2cb639,_0x4b6050={'sCqyj':function(_0x4c7a57,_0x245a41,_0x2bcba3){return _0x4c7a57(_0x245a41,_0x2bcba3);},'Tlpkp':_0x2778af(0x13a)};_0x21f969[_0x2778af(0x107)]&&await _0x4b6050[_0x2778af(0x1b5)](hook,_0x21f969['name'],_0x21f969[_0x4b6050[_0x2778af(0xfa)]]);})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20command')['strictCommands']()['fail'](async(_0x35d7b7,_0x50dc2f,_0x9fbdba)=>{const _0x5a79b5=_0x2cb639,_0x54dd94={'okRuh':function(_0x26e997,_0x62958e){return _0x26e997(_0x62958e);},'uCclQ':function(_0x4e1cea,_0x1bcae2,_0x3d26cc){return _0x4e1cea(_0x1bcae2,_0x3d26cc);},'eOleg':_0x5a79b5(0xfc),'HGpzY':function(_0x1cbb38){return _0x1cbb38();}},_0x28aa8c=_0x54dd94['okRuh'](sanitizeArgs,process['argv'][_0x5a79b5(0x13b)](0x2)),_0x2ec797=_0x54dd94[_0x5a79b5(0x183)](getErrorType,_0x35d7b7,_0x50dc2f);if(_0x35d7b7&&_0x35d7b7[_0x5a79b5(0x1b0)](_0x54dd94['eOleg'])){const _0x3996b0=process['argv'][0x2];console[_0x5a79b5(0xcd)]('\x0aUnknown\x20command:\x20'+_0x3996b0),console[_0x5a79b5(0xcd)](_0x5a79b5(0x166));}else{if(_0x35d7b7)console[_0x5a79b5(0xcd)]('\x0a'+_0x35d7b7+'\x0a');else _0x50dc2f&&console[_0x5a79b5(0xcd)](_0x5a79b5(0x1c5)+_0x50dc2f[_0x5a79b5(0x138)]+'\x0a');}await _0x54dd94['okRuh'](logDesirePath,{'rawCommand':_0x28aa8c,'errorMessage':_0x35d7b7||_0x50dc2f?.['message'],'errorType':_0x2ec797});const _0x2e87ee=_0x54dd94[_0x5a79b5(0xf6)](getCurrentCollector);_0x2e87ee&&await _0x2e87ee['trackCommandError'](_0x50dc2f||new Error(_0x35d7b7||_0x5a79b5(0xe3))),process[_0x5a79b5(0x139)](0x1);})['epilogue']('Documentation:\x0a'+_0x2cb639(0x167)+'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)')['help']()[_0x2cb639(0xca)]('help','h')['parse']();
2
+ const _0x17ffc4=_0x43d3;(function(_0xa8e603,_0x33ae80){const _0x26b37=_0x43d3,_0x44c31a=_0xa8e603();while(!![]){try{const _0x3aca97=parseInt(_0x26b37(0x2a1))/0x1+parseInt(_0x26b37(0x2ef))/0x2+parseInt(_0x26b37(0x219))/0x3*(-parseInt(_0x26b37(0x212))/0x4)+parseInt(_0x26b37(0x2f8))/0x5*(parseInt(_0x26b37(0x274))/0x6)+parseInt(_0x26b37(0x246))/0x7+-parseInt(_0x26b37(0x2d5))/0x8*(-parseInt(_0x26b37(0x2bd))/0x9)+-parseInt(_0x26b37(0x339))/0xa;if(_0x3aca97===_0x33ae80)break;else _0x44c31a['push'](_0x44c31a['shift']());}catch(_0x32521b){_0x44c31a['push'](_0x44c31a['shift']());}}}(_0x5cba,0xaf253));import _0x162054 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0xb89c81=_0x43d3,_0x5257ac={'PIBDB':function(_0x4420b9,_0x15dba8){return _0x4420b9(_0x15dba8);},'dCaSm':function(_0x31341,_0x1215b3,_0x340bb5){return _0x31341(_0x1215b3,_0x340bb5);},'ucVzg':'.env'};let _0x51c4b3=process['cwd']();const _0xd94bf7=parse(_0x51c4b3)['root'];while(_0x51c4b3!==_0xd94bf7){if(_0x5257ac['PIBDB'](existsSync,_0x5257ac['dCaSm'](join,_0x51c4b3,_0xb89c81(0x206)))||existsSync(join(_0x51c4b3,_0x5257ac['ucVzg'])))return _0x51c4b3;_0x51c4b3=dirname(_0x51c4b3);}return process[_0xb89c81(0x21a)]();}_0x162054[_0x17ffc4(0x20e)]({'path':join(findProjectRoot(),_0x17ffc4(0x21c))});import _0x5111a1 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on'](_0x17ffc4(0x1ff),async _0x1c2c25=>{const _0xeb3259=getCurrentCollector();_0xeb3259&&await _0xeb3259['trackCommandError'](_0x1c2c25),process['exitCode']=0x1;});const rawArgs=process['argv'][_0x17ffc4(0x32f)](0x2),TOP_LEVEL_HELP=_0x17ffc4(0x2a8),PROFILE_HELP=_0x17ffc4(0x2a2),PROFILE_CONFIG_HELP=_0x17ffc4(0x336);function warnRenamed(_0x36e2d0,_0x264159){console['error']('\x0a'+_0x36e2d0+'\x20is\x20now\x20'+_0x264159+'\x0a');}function argUsed(_0x71f760){const _0x43f216=_0x17ffc4;return rawArgs['some'](_0x424cf3=>_0x424cf3===_0x71f760||_0x424cf3[_0x43f216(0x218)](_0x71f760+'='));}function _0x43d3(_0x570a66,_0x4ec97b){_0x570a66=_0x570a66-0x1ed;const _0x5cbae6=_0x5cba();let _0x43d3b3=_0x5cbae6[_0x570a66];return _0x43d3b3;}function _0x5cba(){const _0x8ea26f=['Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','gCerj','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','error','config\x20get','setup-ci','add-scenario','zxnRa','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','set\x20<env>\x20<key>\x20<value>','FnSqA','cdp-endpoint','edit-scenario','ranger\x20restore','Manage\x20profile\x20configuration','token','IBmLD','positional','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','list','restore\x20<id>','Set\x20a\x20config\x20value','skip-auth','oSCKA','edit-scenario\x20<description>','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','start','54ZJzzSC','zwsTv','uAnRe','Skip\x20Chromium\x20browser\x20installation','login','fqLva','show\x20[id]','wmsTX','env\x20list','pbrVF','severity','uPIcQ','XlaRS','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','scenario','HfZNd','WEKBq','fDKjN','checklist','ranger\x20env\x20ls','HJsQY','Config\x20key\x20to\x20remove','qfYXC','egXMM','aVZkm','cNwYp','KOLtj','iGHKR','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','Xndfm','option','message','\x0aUnknown\x20command:\x20','ranger\x20config\x20set','string','vFKBx','demandCommand','ranger\x20setup','argv','debug-address-comments','DzipC','\x20INCOMPLETE','\x20PARTIAL','\x0aIssues:','1028697OteWJs','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','Name\x20of\x20the\x20profile','ranger\x20profile\x20use','profile-name','vLbYt','ZnqIK','Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/update/config/encrypt-auth)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.','profile\x20config\x20unset','notes','yOlBc','TIvUf','ziEum','clean','JPmYj','gnwaf','XQUsS','yrIoj','jGTMV','default','task','NaMip','ranger\x20feature\x20list','item','QpwPb','iDyNr','include-deleted','GDKeN','2898jAppzy','xuSjG','Ranger\x20API\x20token','CdLph','AInyq','feature\x20create','ranger\x20profile\x20config\x20set','Name\x20of\x20the\x20environment','name','profile\x20ls','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','Environment\x20name','boolean','mRFYE','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','YRiDn','pacPx','verified','cavil','usage','WvebM','Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','wSFPn','Documentation:\x0a','22072iryFQy','FsOGe','forEach','Config\x20value','ranger\x20verify-feature','dpcWa','rrSCR','ranger','noZBh','ranger\x20config\x20get','ranger\x20go','AXBOM','OQzrP','exit','Number\x20of\x20feature\x20reviews\x20to\x20skip','uTgGv','env\x20update','start\x20[token]','rmgTG','VdISI','disable','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','evaluationReason','env','TwDdD','update\x20<profile-name>','2403058DcTzNz','MFPdT','project','restore','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','wAQgk','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','Include\x20soft-deleted\x20feature\x20reviews','uOcxV','331745AisGwM','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','RFiOy','PyxQB','aUubU','nErOL','feature','rlnZV','rSFdc','aExsX','GivNX','OBcWJ','rrKDW','create\x20<name>','EuzoG','fDndL','--checklist','QznmE','QfQmd','YOClf','yjjCz','setup-ci\x20<token>','vAiwk','ranger\x20profile\x20config\x20get','\x20FAILED','use','fkaNZ','gghOQ','scope','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','GXlMC','config\x20unset','SYKwC','ranger\x20start','parse','hKaBP','enable','Feature\x20review\x20ID\x20to\x20restore','FLNsu','RcrNk','ranger\x20add\x20env','list\x20<env>','vnoNa','juZKI','trackCommandError','resume\x20[id]','CEYNT','VIKEe','yANxX','--scenario','KCWlU','partial','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','use\x20<env-name>','slice','VemTc','Summary:\x20','rlwpR','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','SWdXf','aDvBl','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x0aKeys:\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20header.<name>\x20\x20\x20\x20Custom\x20HTTP\x20header\x20(e.g.,\x20header.X-Test-Mode)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20header.Authorization\x20\x27${AUTH_TOKEN}\x27','adOQo','vnQPi','24668990exGEqe','ranger\x20list','show','Zvkeu','SSNyM','Feature\x20review\x20ID','config\x20list','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','gAmbP','session-id','get\x20<env>\x20<key>','GVWPo','ranger\x20profile\x20encrypt-auth','resume','iUIGS','\x20BLOCKED','nhltV','status','number','miMkj','ranger\x20use','KvgFt','url','--profile','incomplete','List\x20all\x20profiles','jICSW','verify-feature','exclude-scenario','log','encrypt-auth\x20<profile>','XpquW','model','OJvnO','VRXna','CciuE','add\x20<profile-name>','imDVz','unhandledRejection','vCxvl','WyZmS','uQGNd','KVLsM','MEDae','key','.ranger','aolTw','feature\x20add-checklist-item','oNdmj','putOD','UtiMi','skip-chromium','zWFgc','config','RqoiU','YQXKx','user','202172OallpU','Name\x20of\x20the\x20profile\x20to\x20update','BMysP','current-branch','FxXya','delete\x20[id]','startsWith','63FvcxIa','cwd','Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1)','.env','ranger\x20add-scenario','ranger\x20profile\x20ls','hxAyP','force','--item','YrJTm','unset\x20<profile>\x20<key>','HMibN','base-url','CxaSR','create','GKisy','GefNE','Add\x20profile\x20configuration','get-feedback\x20[id]','gvkPE','JAkMZ','ranger\x20config\x20list','get\x20<profile>\x20<key>','Config\x20key','feature\x20resume','blocked','command','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','debug-outcome','hook:enable','start-path','add-scenario\x20<description>','delete','AEnqz','hook','description','ranger\x20profile\x20update','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','array','value','ZVnuQ','MFwDb','ZgKyk','HlZBu','opencode','3709524RwdTlc','version','offset','profile','env-name','Unknown\x20command','Feature\x20review\x20name','cMSRA','GEhVS','encrypt\x20<profile>','--notes','FeGot','evaluation','profile\x20config\x20list','sXCJJ','alias','HikmS','mGMoB','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url'];_0x5cba=function(){return _0x8ea26f;};return _0x5cba();}function warnFlagRenamed(_0x311959,_0x38c2b5,_0x54a41e){const _0x42fe4f=_0x17ffc4,_0x32bfa2={'aVZkm':function(_0xc07a78,_0x5e9f33,_0x3b55a9){return _0xc07a78(_0x5e9f33,_0x3b55a9);}};argUsed(_0x38c2b5)&&_0x32bfa2[_0x42fe4f(0x28d)](warnRenamed,_0x311959+'\x20'+_0x38c2b5,_0x311959+'\x20'+_0x54a41e);}async function runGoCommand(_0x8e8b1e,_0x390bd8=![]){const _0x19064c=_0x17ffc4,_0x5a2f97={'yrIoj':function(_0x36adb6,_0x12ed7b){return _0x36adb6+_0x12ed7b;},'SSNyM':'ranger\x20go','oYubW':function(_0x5296b8,_0x40f181,_0x5c580a,_0x440009){return _0x5296b8(_0x40f181,_0x5c580a,_0x440009);},'EuzoG':_0x19064c(0x1f0),'SWdXf':function(_0x4d9f07,_0x41a220,_0x4aed72,_0x39691e){return _0x4d9f07(_0x41a220,_0x4aed72,_0x39691e);},'ssLOh':_0x19064c(0x221),'igJFP':function(_0x119a65,_0x53da04){return _0x119a65??_0x53da04;},'Tpxln':'config','yEGeZ':_0x19064c(0x2b4),'hxAyP':_0x19064c(0x237),'CHdLm':_0x19064c(0x235),'OJvnO':_0x19064c(0x2ce),'ggGcQ':'\x20VERIFIED','fDKjN':function(_0x2ab731,_0x10ce53){return _0x2ab731===_0x10ce53;},'Jcuwd':'incomplete','jxxGU':_0x19064c(0x29e),'GXlMC':'partial','aTUOz':_0x19064c(0x29f),'gHwHd':function(_0x108b91,_0x580ed0){return _0x108b91===_0x580ed0;},'rrSCR':_0x19064c(0x349),'RcrNk':_0x19064c(0x310),'NKCAC':_0x19064c(0x2a0),'rlnZV':function(_0x22bc5a,_0x4d4cce){return _0x22bc5a===_0x4d4cce;}};_0x390bd8&&warnRenamed(_0x19064c(0x2d9),_0x5a2f97[_0x19064c(0x33d)]);_0x5a2f97['oYubW'](warnFlagRenamed,_0x19064c(0x2df),'--env',_0x5a2f97[_0x19064c(0x306)]),_0x5a2f97[_0x19064c(0x334)](warnFlagRenamed,_0x5a2f97['SSNyM'],'--task',_0x19064c(0x250)),warnFlagRenamed('ranger\x20go',_0x5a2f97['ssLOh'],'--scenario');const _0x3a4431=await loadRangerConfig(),_0x51ec65=_0x8e8b1e['model'],_0x1ceb54=_0x3a4431['model'],_0x309d43=_0x5a2f97['igJFP'](_0x51ec65,_0x1ceb54),_0x2d7354=_0x51ec65?'flag':_0x1ceb54?_0x5a2f97['Tpxln']:_0x5a2f97['yEGeZ'],_0x3523c0=await verifyFeature({'profile':_0x8e8b1e['profile']??_0x8e8b1e[_0x19064c(0x2ec)],'notes':_0x8e8b1e[_0x19064c(0x2aa)]??_0x8e8b1e[_0x19064c(0x2b5)],'scenario':_0x8e8b1e[_0x19064c(0x283)]??_0x8e8b1e[_0x19064c(0x2b8)],'startPath':_0x8e8b1e[_0x5a2f97[_0x19064c(0x21f)]],'debugOutcome':_0x8e8b1e[_0x5a2f97['CHdLm']],'debugAddressComments':_0x8e8b1e['debug-address-comments'],'verifyModel':_0x309d43,'verifyModelInput':_0x309d43,'verifyModelSource':_0x2d7354});console['log'](_0x5a2f97[_0x19064c(0x2b2)]('\x0a','='['repeat'](0x3c))),console['log'](_0x3523c0[_0x19064c(0x252)]===_0x5a2f97[_0x19064c(0x1fa)]?_0x5a2f97['ggGcQ']:_0x5a2f97[_0x19064c(0x286)](_0x3523c0[_0x19064c(0x252)],_0x5a2f97['Jcuwd'])?_0x5a2f97['jxxGU']:_0x3523c0['evaluation']===_0x5a2f97[_0x19064c(0x316)]?_0x5a2f97['aTUOz']:_0x5a2f97['gHwHd'](_0x3523c0[_0x19064c(0x252)],_0x19064c(0x232))?_0x5a2f97[_0x19064c(0x2db)]:_0x5a2f97[_0x19064c(0x31f)]),console[_0x19064c(0x1f6)]('='['repeat'](0x3c)),console['log'](_0x19064c(0x331)+_0x3523c0['summary']),console['log']('Evaluation:\x20'+_0x3523c0[_0x19064c(0x252)]),console['log']('Reason:\x20'+_0x3523c0[_0x19064c(0x2eb)]),_0x3523c0['issues']?.['length']&&(console[_0x19064c(0x1f6)](_0x5a2f97['NKCAC']),_0x3523c0['issues'][_0x19064c(0x2d7)]((_0x27a268,_0xe442a)=>{const _0x1baf7e=_0x19064c;console[_0x1baf7e(0x1f6)]('\x0a'+_0x5a2f97[_0x1baf7e(0x2b2)](_0xe442a,0x1)+'.\x20['+_0x27a268[_0x1baf7e(0x27e)]+']\x20'+_0x27a268['description']);})),process[_0x19064c(0x2e2)](_0x5a2f97[_0x19064c(0x2ff)](_0x3523c0[_0x19064c(0x252)],_0x19064c(0x2ce))?0x0:0x1);}_0x5111a1(process[_0x17ffc4(0x29b)][_0x17ffc4(0x32f)](0x2))['scriptName'](_0x17ffc4(0x2dc))[_0x17ffc4(0x2d0)](TOP_LEVEL_HELP)[_0x17ffc4(0x247)](getCurrentVersion())[_0x17ffc4(0x233)](_0x17ffc4(0x305),_0x17ffc4(0x2cb),_0x25a8f8=>{const _0x3ec577=_0x17ffc4,_0x39a7df={'lejMS':_0x3ec577(0x2c5),'uOcxV':_0x3ec577(0x297),'YVlvF':'Feature\x20review\x20description','dEhri':'scenario','jGTMV':_0x3ec577(0x23f),'MJqbx':_0x3ec577(0x287)};return _0x25a8f8['positional'](_0x39a7df['lejMS'],{'type':_0x39a7df['uOcxV'],'description':'Feature\x20review\x20name','demandOption':!![]})[_0x3ec577(0x293)](_0x3ec577(0x23c),{'type':_0x39a7df[_0x3ec577(0x2f7)],'alias':'d','description':_0x39a7df['YVlvF']})['option'](_0x39a7df['dEhri'],{'type':_0x39a7df[_0x3ec577(0x2b3)],'alias':'c','description':_0x3ec577(0x23e)})[_0x3ec577(0x293)](_0x39a7df['MJqbx'],{'type':_0x3ec577(0x23f),'hidden':!![]});},async _0x364f5e=>{const _0x506a14=_0x17ffc4,_0x335c2a={'FeaYD':function(_0xb1b8a,_0x34b197,_0x10ff39,_0x311241){return _0xb1b8a(_0x34b197,_0x10ff39,_0x311241);},'aUubU':'--scenario','CdLph':function(_0x4933bd,_0x39789c,_0x597589){return _0x4933bd(_0x39789c,_0x597589);},'wmsTX':_0x506a14(0x227)};_0x335c2a['FeaYD'](warnFlagRenamed,'ranger\x20create','--checklist',_0x335c2a[_0x506a14(0x2fc)]);const _0x5e9458=_0x364f5e[_0x506a14(0x283)]||_0x364f5e[_0x506a14(0x287)];await _0x335c2a[_0x506a14(0x2c0)](withTelemetry,_0x335c2a[_0x506a14(0x27b)],()=>featureCreate(_0x364f5e[_0x506a14(0x2c5)],{'description':_0x364f5e[_0x506a14(0x23c)],'scenarios':_0x5e9458}));})['command'](_0x17ffc4(0x26c),'List\x20all\x20feature\x20reviews',_0x131f76=>{const _0x5460=_0x17ffc4,_0x5707bc={'YQXKx':_0x5460(0x215),'mGMoB':_0x5460(0x2c9),'tIgaK':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','aoZPD':'limit','egXMM':'number','GDKeN':_0x5460(0x2bb)};return _0x131f76['option'](_0x5707bc[_0x5460(0x210)],{'type':_0x5707bc[_0x5460(0x257)],'description':_0x5707bc['tIgaK']})[_0x5460(0x293)](_0x5707bc['aoZPD'],{'type':_0x5707bc[_0x5460(0x28c)],'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})[_0x5460(0x293)]('offset',{'type':_0x5707bc[_0x5460(0x28c)],'alias':'o','description':_0x5460(0x2e3),'default':0x0})['option'](_0x5707bc[_0x5460(0x2bc)],{'type':_0x5460(0x2c9),'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x3ecd77=>{const _0x40a1de=_0x17ffc4,_0x54af1a={'OQzrP':function(_0x10b3ca,_0x50a3ad,_0x80dfe8){return _0x10b3ca(_0x50a3ad,_0x80dfe8);}};await _0x54af1a[_0x40a1de(0x2e1)](withTelemetry,'list',()=>featureList({'currentBranch':_0x3ecd77['current-branch'],'limit':_0x3ecd77['limit'],'offset':_0x3ecd77['offset'],'includeDeleted':_0x3ecd77[_0x40a1de(0x2bb)]}));})[_0x17ffc4(0x233)](_0x17ffc4(0x27a),'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x4b42ee=>{const _0x585223=_0x17ffc4,_0x29def4={'KvgFt':'Feature\x20review\x20ID'};return _0x4b42ee['positional']('id',{'type':_0x585223(0x297),'description':_0x29def4[_0x585223(0x1ee)]});},async _0x5180a4=>{const _0x104bcd=_0x17ffc4;await withTelemetry(_0x104bcd(0x33b),()=>featureShow(_0x5180a4['id']));})[_0x17ffc4(0x233)](_0x17ffc4(0x325),_0x17ffc4(0x26b),_0x446690=>{const _0x2ce31a=_0x17ffc4,_0x17a542={'zxnRa':'string'};return _0x446690[_0x2ce31a(0x26a)]('id',{'type':_0x17a542[_0x2ce31a(0x260)],'description':_0x2ce31a(0x333)});},async _0x5b4dec=>{const _0x195845=_0x17ffc4,_0x19ba45={'ZVnuQ':_0x195845(0x347)};await withTelemetry(_0x19ba45[_0x195845(0x241)],()=>featureResume(_0x5b4dec['id']));})[_0x17ffc4(0x233)](_0x17ffc4(0x238),'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x23f288=>{const _0x131ec4=_0x17ffc4,_0x5dc62e={'ppQlB':_0x131ec4(0x23c),'vnQPi':'string','FrUny':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0x23f288['positional'](_0x5dc62e['ppQlB'],{'type':_0x5dc62e[_0x131ec4(0x338)],'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':'string','description':_0x5dc62e['FrUny']});},async _0x4e8155=>{const _0x2a874b=_0x17ffc4,_0x5b9b50={'qfYXC':_0x2a874b(0x25f)};await withTelemetry(_0x5b9b50[_0x2a874b(0x28b)],()=>featureAddScenario(_0x4e8155[_0x2a874b(0x23c)],_0x4e8155['id']));})[_0x17ffc4(0x233)](_0x17ffc4(0x271),'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x17fa47=>{const _0x1dbe9d=_0x17ffc4,_0x2b3ea1={'cgJkU':'description','LbHFD':'string','VrpkW':'New\x20scenario\x20description','dmpCp':'number','iGHKR':_0x1dbe9d(0x282)};return _0x17fa47[_0x1dbe9d(0x26a)](_0x2b3ea1['cgJkU'],{'type':_0x2b3ea1['LbHFD'],'description':_0x2b3ea1['VrpkW'],'demandOption':!![]})['option']('scenario',{'type':_0x2b3ea1['dmpCp'],'description':'Scenario\x20number\x20to\x20edit\x20(1-based)','demandOption':!![]})['option']('id',{'type':_0x1dbe9d(0x297),'description':_0x2b3ea1[_0x1dbe9d(0x290)]});},async _0x28bbaf=>{const _0x1f7745=_0x17ffc4;await withTelemetry(_0x1f7745(0x265),()=>featureEditScenario(_0x28bbaf['description'],{'id':_0x28bbaf['id'],'scenario':_0x28bbaf[_0x1f7745(0x283)]}));})[_0x17ffc4(0x233)]('report\x20[id]',_0x17ffc4(0x259),_0x1505f8=>{const _0x3a0158=_0x17ffc4,_0x359ee3={'FnSqA':'string','HVtZw':_0x3a0158(0x1f5),'WvebM':'array'};return _0x1505f8['positional']('id',{'type':_0x359ee3[_0x3a0158(0x263)],'description':_0x3a0158(0x33e)})['option'](_0x359ee3['HVtZw'],{'type':_0x359ee3[_0x3a0158(0x2d1)],'description':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'});},async _0x2aa318=>{const _0x3d22f3=_0x17ffc4,_0x306b45={'eYyBC':function(_0x5f0b08,_0x2d8074,_0x57ec93){return _0x5f0b08(_0x2d8074,_0x57ec93);},'VIKEe':'report'},_0x5e5f3f=_0x2aa318[_0x3d22f3(0x1f5)],_0x35defc=_0x5e5f3f?_0x5e5f3f['map'](_0x2894f8=>Number(_0x2894f8)):undefined;await _0x306b45['eYyBC'](withTelemetry,_0x306b45[_0x3d22f3(0x327)],()=>featureReportPrDescription(_0x2aa318['id'],{'excludeScenarios':_0x35defc}));})[_0x17ffc4(0x233)]('get-review\x20[id]',_0x17ffc4(0x25b),_0x292d1c=>{const _0x5962e2=_0x17ffc4,_0x5de751={'rrKDW':'string'};return _0x292d1c[_0x5962e2(0x26a)]('id',{'type':_0x5de751[_0x5962e2(0x304)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x5edda5=>{const _0x5dc9c3=_0x17ffc4,_0x343513={'ziEum':function(_0x4d488d,_0x2a0a13,_0xf0bc2c){return _0x4d488d(_0x2a0a13,_0xf0bc2c);},'rSFdc':'get-review'};await _0x343513[_0x5dc9c3(0x2ad)](withTelemetry,_0x343513[_0x5dc9c3(0x300)],()=>featureGetReview(_0x5edda5['id']));})['command'](_0x17ffc4(0x217),'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x25e240=>{const _0x698289=_0x17ffc4,_0x4fc2c2={'YgPZs':'string'};return _0x25e240['positional']('id',{'type':_0x4fc2c2['YgPZs'],'description':_0x698289(0x33e)});},async _0x109899=>{const _0x3f0dcb=_0x17ffc4;await withTelemetry(_0x3f0dcb(0x239),()=>featureDelete(_0x109899['id']));})[_0x17ffc4(0x233)]('restore\x20<id>','Restore\x20a\x20soft-deleted\x20feature\x20review',_0x287f40=>{const _0x41da3d=_0x17ffc4;return _0x287f40[_0x41da3d(0x26a)]('id',{'type':_0x41da3d(0x297),'description':_0x41da3d(0x31d),'demandOption':!![]});},async _0x56a0b6=>{const _0x2fa454=_0x17ffc4,_0x377fc4={'Jfdhx':function(_0x417da8,_0xb613e4,_0x210492){return _0x417da8(_0xb613e4,_0x210492);},'CEYNT':_0x2fa454(0x2f2)};await _0x377fc4['Jfdhx'](withTelemetry,_0x377fc4[_0x2fa454(0x326)],()=>featureRestore(_0x56a0b6['id']));})['command']('setup\x20[token]','Initialize\x20Ranger\x20in\x20your\x20project',_0x3a86b9=>{const _0x2eac26=_0x17ffc4,_0x4973e7={'SYKwC':_0x2eac26(0x2c9),'oNdmj':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','AXiRQ':_0x2eac26(0x314),'ZNTog':_0x2eac26(0x211),'uQGNd':_0x2eac26(0x2d2),'yOlBc':_0x2eac26(0x1ef),'gvkPE':_0x2eac26(0x291),'iUIGS':_0x2eac26(0x245)};return _0x3a86b9[_0x2eac26(0x26a)]('token',{'type':'string','description':_0x2eac26(0x315)})[_0x2eac26(0x293)]('skip-chromium',{'type':_0x4973e7['SYKwC'],'description':_0x4973e7[_0x2eac26(0x209)],'default':![]})[_0x2eac26(0x293)](_0x4973e7['AXiRQ'],{'type':'string','choices':[_0x4973e7['ZNTog'],_0x2eac26(0x2f1)],'description':_0x4973e7[_0x2eac26(0x202)]})['option'](_0x4973e7[_0x2eac26(0x2ab)],{'type':_0x2eac26(0x297),'description':_0x4973e7[_0x2eac26(0x22c)]})['option'](_0x2eac26(0x220),{'type':_0x4973e7[_0x2eac26(0x318)],'description':_0x2eac26(0x258),'default':![]})['option'](_0x4973e7[_0x2eac26(0x348)],{'type':_0x4973e7['SYKwC'],'description':'Skip\x20Claude\x20Code\x20plugin\x20+\x20skills\x20install\x20(for\x20OpenCode\x20users)','default':![]});},async _0xf5b7a7=>{const _0x3edd94=_0x17ffc4,_0x516dd3={'fSaxO':function(_0x297aa1,_0x417163,_0x2ba59c){return _0x297aa1(_0x417163,_0x2ba59c);}};await _0x516dd3['fSaxO'](withTelemetry,_0x3edd94(0x273),_0x1bb456=>start(_0xf5b7a7['token'],{'skipChromium':_0xf5b7a7[_0x3edd94(0x20c)],'scope':_0xf5b7a7['scope'],'url':_0xf5b7a7['url'],'force':_0xf5b7a7[_0x3edd94(0x220)],'opencode':_0xf5b7a7['opencode']},_0x1bb456));})[_0x17ffc4(0x233)](_0x17ffc4(0x30d),'Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0x5d457a=>{const _0x334855=_0x17ffc4,_0x510bdc={'fDndL':_0x334855(0x2bf),'YRiDn':_0x334855(0x249),'LZCET':'string','cavil':'base-url','pbrVF':_0x334855(0x277)};return _0x5d457a[_0x334855(0x26a)](_0x334855(0x268),{'type':_0x334855(0x297),'description':_0x510bdc[_0x334855(0x307)],'demandOption':!![]})['option'](_0x510bdc[_0x334855(0x2cc)],{'type':_0x510bdc['LZCET'],'description':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)'})['option'](_0x510bdc[_0x334855(0x2cf)],{'type':'string','description':_0x334855(0x2c7)})[_0x334855(0x293)]('skip-chromium',{'type':_0x334855(0x2c9),'description':_0x510bdc[_0x334855(0x27d)],'default':![]});},async _0x23ad0d=>{const _0x5320d6=_0x17ffc4,_0x358d57={'XMozC':function(_0x4b79ac,_0x3b9fdb,_0x11c506){return _0x4b79ac(_0x3b9fdb,_0x11c506);}};await _0x358d57['XMozC'](withTelemetry,_0x5320d6(0x25e),_0x34366a=>setupCi(_0x23ad0d['token'],{'profile':_0x23ad0d[_0x5320d6(0x249)],'baseUrl':_0x23ad0d[_0x5320d6(0x225)],'skipChromium':_0x23ad0d[_0x5320d6(0x20c)]},_0x34366a));})['command'](_0x17ffc4(0x278),_0x17ffc4(0x341),()=>{},async()=>{const _0x54b346=_0x17ffc4,_0x61fa1f={'nErOL':function(_0x593f39,_0x2fd880,_0x325e63){return _0x593f39(_0x2fd880,_0x325e63);},'WPSOi':'login'};await _0x61fa1f[_0x54b346(0x2fd)](withTelemetry,_0x61fa1f['WPSOi'],()=>login());})[_0x17ffc4(0x233)]('skillup','Install\x20Ranger\x20skills',_0x29738b=>{const _0x4b3e9e=_0x17ffc4,_0x3e3e65={'Zvkeu':_0x4b3e9e(0x245),'gMTvK':'boolean','kWQwb':'scope','czMYP':_0x4b3e9e(0x2f1),'LgtIY':'Install\x20scope\x20for\x20skills'};return _0x29738b[_0x4b3e9e(0x293)](_0x3e3e65[_0x4b3e9e(0x33c)],{'type':_0x3e3e65['gMTvK'],'description':'Install\x20skills\x20for\x20OpenCode','default':![]})[_0x4b3e9e(0x293)](_0x3e3e65['kWQwb'],{'type':'string','choices':['user',_0x3e3e65['czMYP']],'description':_0x3e3e65['LgtIY']});},async _0x11f8c3=>{const _0x1e34a1=_0x17ffc4,_0x513acc=Boolean(_0x11f8c3['opencode']);await withTelemetry('skillup',()=>skillup({'autoInstall':_0x11f8c3[_0x1e34a1(0x314)],'platform':_0x513acc?_0x1e34a1(0x245):'claude'}));})['command'](_0x17ffc4(0x2ae),'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{const _0x37ba13=_0x17ffc4,_0x2a868f={'rmgTG':'clean'};await withTelemetry(_0x2a868f[_0x37ba13(0x2e7)],()=>clean());})['command'](_0x17ffc4(0x249),'Manage\x20profiles',_0xb379f8=>{const _0x2238a6=_0x17ffc4,_0x5df356={'GVWPo':_0x2238a6(0x2a5),'OPYoY':'skip-auth','JPmYj':_0x2238a6(0x2c9),'dpcWa':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','zWFgc':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','DyDeG':'force','GKisy':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','zwsTv':_0x2238a6(0x264),'oSCKA':function(_0x132585,_0x264000,_0x111a99,_0x237b44){return _0x132585(_0x264000,_0x111a99,_0x237b44);},'vnoNa':'profile\x20add','BHKzh':function(_0x4d1ad9,_0x1d48c0){return _0x4d1ad9(_0x1d48c0);},'AEnqz':_0x2238a6(0x297),'MFwDb':_0x2238a6(0x2a3),'YOClf':function(_0x252e8f,_0x59a251,_0x5344a0){return _0x252e8f(_0x59a251,_0x5344a0);},'htvuY':'profile\x20use','TIvUf':'profile','DzipC':'profile\x20encrypt-auth','VRXna':function(_0x22bc4c,_0x214515,_0xa47ddc){return _0x22bc4c(_0x214515,_0xa47ddc);},'yjjCz':function(_0xcea583,_0xf5bfa1,_0x3890b0){return _0xcea583(_0xf5bfa1,_0x3890b0);},'sIcyV':'Profile\x20name','VemTc':_0x2238a6(0x205),'jagNj':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','VdISI':_0x2238a6(0x240),'KCWlU':_0x2238a6(0x2d8),'QFhUL':_0x2238a6(0x28a),'PXuIR':_0x2238a6(0x253),'VQlwo':'set\x20<profile>\x20<key>\x20<value>','vLbYt':_0x2238a6(0x26e),'sMNBk':_0x2238a6(0x22f),'miMkj':'Get\x20a\x20config\x20value','XpquW':'list\x20<profile>','jICSW':'List\x20all\x20config\x20for\x20a\x20profile','fDceM':'Remove\x20a\x20config\x20value','cjRkZ':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','WyZmS':'Switch\x20to\x20using\x20a\x20specific\x20profile','sEwnm':_0x2238a6(0x1f2),'CxaSR':'Update\x20authentication\x20for\x20an\x20existing\x20profile','YJwiB':'You\x20must\x20specify\x20a\x20profile\x20subcommand'};return _0xb379f8['usage'](PROFILE_HELP)[_0x2238a6(0x233)](_0x2238a6(0x1fd),_0x2238a6(0x22a),_0x376d30=>{const _0x26dc9a=_0x2238a6;return _0x376d30[_0x26dc9a(0x26a)](_0x5df356[_0x26dc9a(0x345)],{'type':'string','description':_0x26dc9a(0x32d),'demandOption':!![]})['option']('ci',{'type':_0x26dc9a(0x2c9),'description':_0x26dc9a(0x2f3),'default':![]})[_0x26dc9a(0x293)](_0x5df356['OPYoY'],{'type':_0x5df356[_0x26dc9a(0x2af)],'description':_0x5df356[_0x26dc9a(0x2da)],'default':![]})['option']('url',{'type':_0x26dc9a(0x297),'description':_0x5df356[_0x26dc9a(0x20d)]})['option'](_0x5df356['DyDeG'],{'type':_0x5df356[_0x26dc9a(0x2af)],'description':_0x5df356[_0x26dc9a(0x228)],'default':![]})[_0x26dc9a(0x293)](_0x5df356[_0x26dc9a(0x275)],{'type':'string','description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'});},async _0x959c42=>{const _0x2c19bb=_0x2238a6;await _0x5df356[_0x2c19bb(0x270)](withTelemetry,_0x5df356[_0x2c19bb(0x322)],_0x4511c3=>addEnv(_0x959c42[_0x2c19bb(0x2a5)],{'ci':_0x959c42['ci'],'skipAuth':_0x959c42[_0x2c19bb(0x26f)],'url':_0x959c42[_0x2c19bb(0x1ef)],'force':_0x959c42[_0x2c19bb(0x220)],'cdpEndpoint':_0x959c42['cdp-endpoint']},_0x4511c3),{'isElectron':_0x5df356['BHKzh'](Boolean,_0x959c42[_0x5df356[_0x2c19bb(0x275)]])});})['command']('use\x20<profile-name>',_0x5df356[_0x2238a6(0x201)],_0x9fd91=>{const _0x10dca5=_0x2238a6;return _0x9fd91['positional'](_0x5df356[_0x10dca5(0x345)],{'type':_0x5df356[_0x10dca5(0x23a)],'description':_0x5df356[_0x10dca5(0x242)],'demandOption':!![]});},async _0x29a795=>{const _0x46bfe7=_0x2238a6;await _0x5df356[_0x46bfe7(0x30b)](withTelemetry,_0x5df356['htvuY'],()=>useEnv(_0x29a795['profile-name']));})['command'](_0x2238a6(0x1f7),'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)',_0x5756c7=>{const _0x40189d=_0x2238a6;return _0x5756c7[_0x40189d(0x26a)](_0x5df356[_0x40189d(0x2ac)],{'type':_0x40189d(0x297),'description':'Profile\x20name','demandOption':!![]});},async _0x4a0c63=>{const _0x1d2565=_0x2238a6;await withTelemetry(_0x5df356[_0x1d2565(0x29d)],()=>authEncrypt(_0x4a0c63['profile']));})[_0x2238a6(0x233)]('ls',_0x5df356['sEwnm'],()=>{},async()=>{const _0x42e584=_0x2238a6;await _0x5df356[_0x42e584(0x1fb)](withTelemetry,_0x42e584(0x2c6),()=>envList());})['command'](_0x2238a6(0x2ee),_0x5df356[_0x2238a6(0x226)],_0x57566d=>{const _0x36f600=_0x2238a6;return _0x57566d[_0x36f600(0x26a)](_0x5df356[_0x36f600(0x345)],{'type':'string','description':_0x36f600(0x213),'demandOption':!![]});},async _0x59a6c9=>{const _0xf810ea=_0x2238a6;await _0x5df356[_0xf810ea(0x30c)](withTelemetry,'profile\x20update',_0x54c2e6=>updateEnv(_0x59a6c9[_0xf810ea(0x2a5)],_0x54c2e6));})['command'](_0x2238a6(0x20e),_0x2238a6(0x267),_0x3baca2=>{const _0x544ed5=_0x2238a6,_0x3da4ee={'imDVz':function(_0x638f49,_0x107202,_0x3d80ab){return _0x638f49(_0x107202,_0x3d80ab);},'CciuE':'profile\x20config\x20set','QpwPb':'Profile\x20name','UtiMi':_0x5df356['AEnqz'],'oYbBM':'Config\x20key','XQUsS':'profile','PPwed':_0x5df356['PXuIR']};return _0x3baca2[_0x544ed5(0x2d0)](PROFILE_CONFIG_HELP)[_0x544ed5(0x233)](_0x5df356['VQlwo'],_0x5df356[_0x544ed5(0x2a6)],_0x10f550=>{const _0x5d7c1f=_0x544ed5;return _0x10f550[_0x5d7c1f(0x26a)](_0x5df356['TIvUf'],{'type':_0x5d7c1f(0x297),'description':_0x5df356['sIcyV'],'demandOption':!![]})['positional'](_0x5df356[_0x5d7c1f(0x330)],{'type':_0x5df356['AEnqz'],'description':_0x5df356['jagNj'],'demandOption':!![]})['positional'](_0x5df356[_0x5d7c1f(0x2e8)],{'type':'string','description':_0x5df356[_0x5d7c1f(0x32a)],'demandOption':!![]});},async _0x5b5fb7=>{const _0x2d6401=_0x544ed5;await _0x3da4ee[_0x2d6401(0x1fe)](withTelemetry,_0x3da4ee[_0x2d6401(0x1fc)],()=>configSet(_0x5b5fb7[_0x2d6401(0x249)],_0x5b5fb7[_0x2d6401(0x205)],_0x5b5fb7['value']));})[_0x544ed5(0x233)](_0x5df356['sMNBk'],_0x5df356[_0x544ed5(0x34d)],_0x3c3e1f=>{const _0x36d8cd=_0x544ed5;return _0x3c3e1f[_0x36d8cd(0x26a)]('profile',{'type':_0x36d8cd(0x297),'description':_0x3da4ee[_0x36d8cd(0x2b9)],'demandOption':!![]})['positional']('key',{'type':_0x3da4ee[_0x36d8cd(0x20b)],'description':_0x3da4ee['oYbBM'],'demandOption':!![]});},async _0x47c66c=>{const _0x2d62f9=_0x544ed5;await _0x5df356['VRXna'](withTelemetry,'profile\x20config\x20get',()=>configGet(_0x47c66c[_0x2d62f9(0x249)],_0x47c66c['key']));})[_0x544ed5(0x233)](_0x5df356[_0x544ed5(0x1f8)],_0x5df356[_0x544ed5(0x1f3)],_0x2166cf=>{const _0x5142c4=_0x544ed5;return _0x2166cf[_0x5142c4(0x26a)](_0x3da4ee[_0x5142c4(0x2b1)],{'type':_0x3da4ee[_0x5142c4(0x20b)],'description':_0x3da4ee[_0x5142c4(0x2b9)],'demandOption':!![]});},async _0x36552f=>{await withTelemetry(_0x3da4ee['PPwed'],()=>configList(_0x36552f['profile']));})[_0x544ed5(0x233)](_0x544ed5(0x223),_0x5df356['fDceM'],_0x3c2a63=>{const _0x83c433=_0x544ed5;return _0x3c2a63['positional'](_0x83c433(0x249),{'type':_0x5df356[_0x83c433(0x23a)],'description':_0x5df356['sIcyV'],'demandOption':!![]})[_0x83c433(0x26a)]('key',{'type':'string','description':_0x5df356['QFhUL'],'demandOption':!![]});},async _0x1e07d2=>{const _0x31c090=_0x544ed5;await withTelemetry(_0x31c090(0x2a9),()=>configUnset(_0x1e07d2['profile'],_0x1e07d2[_0x31c090(0x205)]));})['demandCommand'](0x1,_0x5df356['cjRkZ']);})['demandCommand'](0x1,_0x5df356['YJwiB']);})[_0x17ffc4(0x233)](_0x17ffc4(0x34b),'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{const _0x53f55c=_0x17ffc4,_0x19a4e3={'rBYkT':_0x53f55c(0x34b)};await withTelemetry(_0x19a4e3['rBYkT'],()=>status());})['command']('update','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x7bb69={'MAqwF':function(_0x39cb4d,_0xd23cfe,_0x197c3e){return _0x39cb4d(_0xd23cfe,_0x197c3e);}};await _0x7bb69['MAqwF'](withTelemetry,'update',()=>update());})[_0x17ffc4(0x233)]('go',_0x17ffc4(0x2f9),_0x474bb0=>{const _0x14b380=_0x17ffc4,_0x4ad91c={'vFKBx':'profile','Xndfm':_0x14b380(0x297),'juZKI':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','PyxQB':_0x14b380(0x2aa),'yAozI':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','aolTw':_0x14b380(0x34c),'XjgAQ':'Scenario\x20index\x20(1-based)','cjkXh':'start-path','tThrn':'model','VCYNT':_0x14b380(0x21b),'HikmS':_0x14b380(0x235),'NaMip':'verified','TBFLc':'partial','wSFPn':'boolean','ahnBa':'env','uWQns':_0x14b380(0x2b5)};return _0x474bb0[_0x14b380(0x293)](_0x4ad91c[_0x14b380(0x298)],{'type':_0x4ad91c[_0x14b380(0x292)],'description':_0x4ad91c[_0x14b380(0x323)]})['option'](_0x4ad91c[_0x14b380(0x2fb)],{'type':_0x14b380(0x297),'description':_0x4ad91c['yAozI']})['option'](_0x14b380(0x283),{'type':_0x4ad91c[_0x14b380(0x207)],'description':_0x4ad91c['XjgAQ']})[_0x14b380(0x293)](_0x4ad91c['cjkXh'],{'type':_0x4ad91c[_0x14b380(0x292)],'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)'})[_0x14b380(0x293)](_0x4ad91c['tThrn'],{'type':_0x4ad91c[_0x14b380(0x292)],'description':_0x4ad91c['VCYNT']})['option'](_0x4ad91c[_0x14b380(0x256)],{'type':_0x14b380(0x297),'hidden':!![],'choices':[_0x4ad91c[_0x14b380(0x2b6)],_0x4ad91c['TBFLc'],'blocked','failed',_0x14b380(0x1f1)]})[_0x14b380(0x293)](_0x14b380(0x29c),{'type':_0x4ad91c[_0x14b380(0x2d3)],'hidden':!![]})['option'](_0x4ad91c['ahnBa'],{'type':_0x4ad91c[_0x14b380(0x292)],'hidden':!![]})['option'](_0x4ad91c['uWQns'],{'type':_0x4ad91c[_0x14b380(0x292)],'hidden':!![]})[_0x14b380(0x293)](_0x14b380(0x2b8),{'type':_0x4ad91c[_0x14b380(0x207)],'hidden':!![]});},async _0x3c7bd6=>{await runGoCommand(_0x3c7bd6);})[_0x17ffc4(0x233)]('auth',![],_0x19c05b=>{const _0x13c870=_0x17ffc4,_0x435b13={'xuSjG':'profile','GivNX':_0x13c870(0x297),'yIkua':'Profile\x20name','YrJTm':function(_0x5e371b,_0x51375c,_0xe75601){return _0x5e371b(_0x51375c,_0xe75601);},'AXBOM':'ranger\x20auth\x20encrypt','uAnRe':_0x13c870(0x346),'pacPx':'You\x20must\x20specify\x20an\x20auth\x20subcommand'};return _0x19c05b['command'](_0x13c870(0x24f),![],_0x4417e0=>{const _0x2e04b2=_0x13c870;return _0x4417e0[_0x2e04b2(0x26a)](_0x435b13[_0x2e04b2(0x2be)],{'type':_0x435b13[_0x2e04b2(0x302)],'description':_0x435b13['yIkua'],'demandOption':!![]});},async _0x22dd70=>{const _0x5201f8=_0x13c870;_0x435b13[_0x5201f8(0x222)](warnRenamed,_0x435b13[_0x5201f8(0x2e0)],_0x435b13[_0x5201f8(0x276)]),await authEncrypt(_0x22dd70[_0x5201f8(0x249)]);})[_0x13c870(0x299)](0x1,_0x435b13[_0x13c870(0x2cd)]);},()=>{})['command'](_0x17ffc4(0x2e6),![],_0x1fa129=>{const _0x116839=_0x17ffc4,_0x3f3d41={'MEDae':'string','yVgtu':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','aDvBl':'boolean','LPcKC':'scope','omySx':_0x116839(0x1ef),'OBcWJ':_0x116839(0x291),'nhltV':_0x116839(0x220),'CfsEH':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url'};return _0x1fa129['positional']('token',{'type':_0x3f3d41['MEDae'],'description':_0x3f3d41['yVgtu']})[_0x116839(0x293)]('skip-chromium',{'type':_0x3f3d41[_0x116839(0x335)],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x116839(0x293)](_0x3f3d41['LPcKC'],{'type':_0x3f3d41[_0x116839(0x204)],'choices':['user',_0x116839(0x2f1)],'description':_0x116839(0x2d2)})['option'](_0x3f3d41['omySx'],{'type':_0x3f3d41[_0x116839(0x204)],'description':_0x3f3d41[_0x116839(0x303)]})[_0x116839(0x293)](_0x3f3d41[_0x116839(0x34a)],{'type':_0x116839(0x2c9),'description':_0x3f3d41['CfsEH'],'default':![]});},async _0x1af7d2=>{const _0x127ce6=_0x17ffc4,_0x54439c={'eUlpQ':function(_0x4ef31f,_0x2efd6c,_0x3b583f){return _0x4ef31f(_0x2efd6c,_0x3b583f);},'hKaBP':_0x127ce6(0x319),'gghOQ':_0x127ce6(0x29a),'lpsJs':'start'};_0x54439c['eUlpQ'](warnRenamed,_0x54439c[_0x127ce6(0x31b)],_0x54439c[_0x127ce6(0x313)]),await withTelemetry(_0x54439c['lpsJs'],_0x589059=>start(_0x1af7d2['token'],{'skipChromium':_0x1af7d2['skip-chromium'],'scope':_0x1af7d2['scope'],'url':_0x1af7d2['url'],'force':_0x1af7d2['force']},_0x589059));})[_0x17ffc4(0x233)](_0x17ffc4(0x1f4),![],_0x51077a=>{const _0x278a9e=_0x17ffc4,_0x537dd7={'rjAPv':'env','DhIWr':'task','HMibN':_0x278a9e(0x272),'QWFyD':'item','ZgKyk':'string','LFhIg':'notes','QfQmd':'start-path','adOQo':'blocked','FsOGe':'failed','noZBh':'incomplete'};return _0x51077a[_0x278a9e(0x293)](_0x537dd7['rjAPv'],{'type':_0x278a9e(0x297),'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})['option'](_0x537dd7['DhIWr'],{'type':_0x278a9e(0x297),'description':_0x537dd7[_0x278a9e(0x224)]})['option'](_0x537dd7['QWFyD'],{'type':'number','description':'Scenario\x20index\x20(1-based)'})['option'](_0x278a9e(0x249),{'type':_0x537dd7[_0x278a9e(0x243)],'hidden':!![]})['option'](_0x537dd7['LFhIg'],{'type':_0x278a9e(0x297),'hidden':!![]})[_0x278a9e(0x293)](_0x278a9e(0x283),{'type':'number','hidden':!![]})[_0x278a9e(0x293)](_0x537dd7[_0x278a9e(0x30a)],{'type':_0x537dd7[_0x278a9e(0x243)],'description':_0x278a9e(0x32c)})['option'](_0x278a9e(0x1f9),{'type':_0x278a9e(0x297),'hidden':!![]})['option']('debug-outcome',{'type':_0x537dd7[_0x278a9e(0x243)],'hidden':!![],'choices':['verified',_0x278a9e(0x32b),_0x537dd7[_0x278a9e(0x337)],_0x537dd7[_0x278a9e(0x2d6)],_0x537dd7[_0x278a9e(0x2dd)]]});},async _0x490a89=>{await runGoCommand(_0x490a89,!![]);})['command']('add\x20env\x20<env-name>',![],_0x43d035=>{const _0x499403=_0x17ffc4,_0xa7cc99={'wAQgk':'string','vAiwk':'boolean'};return _0x43d035['positional']('env-name',{'type':_0xa7cc99[_0x499403(0x2f4)],'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x499403(0x293)]('ci',{'type':_0xa7cc99['vAiwk'],'description':_0x499403(0x234),'default':![]})[_0x499403(0x293)](_0x499403(0x26f),{'type':_0xa7cc99[_0x499403(0x30e)],'description':_0x499403(0x281),'default':![]});},async _0x136672=>{const _0x21241f=_0x17ffc4,_0x3edcfd={'FxXya':_0x21241f(0x320),'iDyNr':function(_0x186c13,_0x47927e,_0x42752a){return _0x186c13(_0x47927e,_0x42752a);}};warnRenamed(_0x3edcfd[_0x21241f(0x216)],'ranger\x20profile\x20add'),await _0x3edcfd[_0x21241f(0x2ba)](withTelemetry,'add\x20env',_0x40b892=>addEnv(_0x136672[_0x21241f(0x24a)],{'ci':_0x136672['ci'],'skipAuth':_0x136672['skip-auth']},_0x40b892));})['command'](_0x17ffc4(0x32e),![],_0x45d482=>{const _0x4b9712=_0x17ffc4,_0x1cf99b={'XrbuC':_0x4b9712(0x24a),'ZDGFy':_0x4b9712(0x2c4)};return _0x45d482['positional'](_0x1cf99b['XrbuC'],{'type':'string','description':_0x1cf99b['ZDGFy'],'demandOption':!![]});},async _0x337b94=>{const _0x4bb494=_0x17ffc4,_0x32eaeb={'zpMJl':_0x4bb494(0x1ed),'HJsQY':function(_0x5e9b47,_0x13aede,_0x223d46){return _0x5e9b47(_0x13aede,_0x223d46);}};warnRenamed(_0x32eaeb['zpMJl'],_0x4bb494(0x2a4)),await _0x32eaeb[_0x4bb494(0x289)](withTelemetry,_0x4bb494(0x311),()=>useEnv(_0x337b94['env-name']));})['command'](_0x17ffc4(0x20e),![],_0x1fbd4f=>{const _0x11ec9c=_0x17ffc4,_0xf6800f={'GefNE':'string','OmMdp':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','RqoiU':'value','RIfiP':function(_0x1b9d47,_0x564fdf,_0x2b548b){return _0x1b9d47(_0x564fdf,_0x2b548b);},'pjUWu':'config\x20set','FeGot':_0x11ec9c(0x2de),'DuKqI':function(_0x3d1abe,_0x5229da,_0xae42f5){return _0x3d1abe(_0x5229da,_0xae42f5);},'yANxX':'env','fkaNZ':_0x11ec9c(0x22e),'UZckp':'ranger\x20profile\x20config\x20list','ptNFA':_0x11ec9c(0x33f),'BMysP':_0x11ec9c(0x2c8),'MFPdT':'Config\x20key\x20to\x20remove','KOLtj':function(_0x4a7ef4,_0x712dd0,_0x651f53){return _0x4a7ef4(_0x712dd0,_0x651f53);},'uTgGv':_0x11ec9c(0x317),'aExsX':'You\x20must\x20specify\x20a\x20config\x20subcommand'};return _0x1fbd4f['command'](_0x11ec9c(0x262),![],_0x2b393c=>{const _0x4cbb11=_0x11ec9c;return _0x2b393c[_0x4cbb11(0x26a)](_0x4cbb11(0x2ec),{'type':_0x4cbb11(0x297),'description':_0x4cbb11(0x2c8),'demandOption':!![]})[_0x4cbb11(0x26a)]('key',{'type':_0xf6800f['GefNE'],'description':_0xf6800f['OmMdp'],'demandOption':!![]})[_0x4cbb11(0x26a)](_0xf6800f[_0x4cbb11(0x20f)],{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0xc83666=>{const _0x44ff25=_0x11ec9c;_0xf6800f['RIfiP'](warnRenamed,_0x44ff25(0x296),_0x44ff25(0x2c3)),await withTelemetry(_0xf6800f['pjUWu'],()=>configSet(_0xc83666[_0x44ff25(0x2ec)],_0xc83666['key'],_0xc83666['value']));})['command'](_0x11ec9c(0x344),![],_0x23b88f=>{const _0x2af432=_0x11ec9c;return _0x23b88f['positional'](_0x2af432(0x2ec),{'type':_0xf6800f['GefNE'],'description':'Environment\x20name','demandOption':!![]})[_0x2af432(0x26a)](_0x2af432(0x205),{'type':'string','description':_0x2af432(0x230),'demandOption':!![]});},async _0x18dff6=>{const _0x1150e5=_0x11ec9c;warnRenamed(_0xf6800f[_0x1150e5(0x251)],_0x1150e5(0x30f)),await _0xf6800f['DuKqI'](withTelemetry,_0x1150e5(0x25d),()=>configGet(_0x18dff6[_0x1150e5(0x2ec)],_0x18dff6[_0x1150e5(0x205)]));})['command'](_0x11ec9c(0x321),![],_0x285bca=>{const _0x191d95=_0x11ec9c;return _0x285bca[_0x191d95(0x26a)](_0xf6800f[_0x191d95(0x328)],{'type':_0xf6800f[_0x191d95(0x229)],'description':_0x191d95(0x2c8),'demandOption':!![]});},async _0x221335=>{const _0x533d3a=_0x11ec9c;warnRenamed(_0xf6800f[_0x533d3a(0x312)],_0xf6800f['UZckp']),await withTelemetry(_0xf6800f['ptNFA'],()=>configList(_0x221335['env']));})['command']('unset\x20<env>\x20<key>',![],_0x130441=>{const _0x52ad12=_0x11ec9c;return _0x130441['positional']('env',{'type':'string','description':_0xf6800f[_0x52ad12(0x214)],'demandOption':!![]})[_0x52ad12(0x26a)](_0x52ad12(0x205),{'type':_0xf6800f['GefNE'],'description':_0xf6800f[_0x52ad12(0x2f0)],'demandOption':!![]});},async _0x2f59be=>{const _0x3a56f2=_0x11ec9c;_0xf6800f[_0x3a56f2(0x28f)](warnRenamed,'ranger\x20config\x20unset','ranger\x20profile\x20config\x20unset'),await withTelemetry(_0xf6800f[_0x3a56f2(0x2e4)],()=>configUnset(_0x2f59be['env'],_0x2f59be['key']));})['demandCommand'](0x1,_0xf6800f[_0x11ec9c(0x301)]);})[_0x17ffc4(0x233)]('env',![],_0x4ca9cf=>{const _0x4ad2dc=_0x17ffc4,_0x478305={'pXFWy':function(_0xb58dd9,_0x51da23,_0x19d31f){return _0xb58dd9(_0x51da23,_0x19d31f);},'uxfir':_0x4ad2dc(0x288),'KVLsM':_0x4ad2dc(0x27c),'FLNsu':'env-name','vCxvl':function(_0x7713cd,_0x823562,_0x380c9d){return _0x7713cd(_0x823562,_0x380c9d);},'QznmE':'ranger\x20env\x20update','qwvnG':_0x4ad2dc(0x23d),'GlqEz':function(_0x42f1c3,_0x3e2e3d,_0x5812bc){return _0x42f1c3(_0x3e2e3d,_0x5812bc);}};return _0x4ca9cf['command']('ls',![],()=>{},async()=>{const _0x3b376d=_0x4ad2dc;_0x478305['pXFWy'](warnRenamed,_0x478305['uxfir'],_0x3b376d(0x21e)),await withTelemetry(_0x478305[_0x3b376d(0x203)],()=>envList());})['command']('update\x20<env-name>',![],_0x555aa3=>{const _0x391960=_0x4ad2dc;return _0x555aa3[_0x391960(0x26a)](_0x478305[_0x391960(0x31e)],{'type':_0x391960(0x297),'description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x324390=>{const _0x67f55c=_0x4ad2dc;_0x478305[_0x67f55c(0x200)](warnRenamed,_0x478305[_0x67f55c(0x309)],_0x478305['qwvnG']),await _0x478305['GlqEz'](withTelemetry,_0x67f55c(0x2e5),_0x38c84b=>updateEnv(_0x324390['env-name'],_0x38c84b));})[_0x4ad2dc(0x299)](0x1,'You\x20must\x20specify\x20an\x20env\x20subcommand');})[_0x17ffc4(0x233)](_0x17ffc4(0x2fe),![],_0x202cbd=>{const _0x3daa57=_0x17ffc4,_0x4b9149={'ykBoO':_0x3daa57(0x2c5),'putOD':_0x3daa57(0x297),'GEhVS':_0x3daa57(0x23c),'Pjhyc':'Feature\x20review\x20description','uFsyP':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','zLnwS':'scenario','ypqOn':'array','HlZBu':function(_0xc1c4ff,_0x21bc8a,_0x115953){return _0xc1c4ff(_0x21bc8a,_0x115953);},'gCerj':'ranger\x20feature\x20create','RFiOy':'ranger\x20create','LzwrE':_0x3daa57(0x329),'xSeZy':function(_0x43d496,_0x432e1e,_0x51c6ab){return _0x43d496(_0x432e1e,_0x51c6ab);},'NFdNK':_0x3daa57(0x2c2),'XlaRS':_0x3daa57(0x2c9),'sjsjz':_0x3daa57(0x340),'IMWRx':_0x3daa57(0x34c),'jNvaG':_0x3daa57(0x2e3),'uPIcQ':function(_0x15c288,_0x401114,_0x13afd4){return _0x15c288(_0x401114,_0x13afd4);},'shglh':_0x3daa57(0x2b7),'hMdOH':_0x3daa57(0x33a),'sXCJJ':'Feature\x20review\x20ID','wwcfG':'ranger\x20feature\x20show','IBmLD':function(_0x2b9d13,_0x1a0388,_0x3e2992){return _0x2b9d13(_0x1a0388,_0x3e2992);},'TwDdD':'ranger\x20feature\x20resume','AInyq':'ranger\x20resume','atTjW':function(_0x2353ba,_0x39cba9,_0x3b8e3){return _0x2353ba(_0x39cba9,_0x3b8e3);},'GrFrn':'ranger\x20feature\x20get-feedback','MOCBB':'ranger\x20get-review','pAFeF':function(_0x54e65f,_0x365b24,_0x179439){return _0x54e65f(_0x365b24,_0x179439);},'XXums':'ranger\x20feature\x20delete','LoDNv':_0x3daa57(0x31d),'ODQXp':function(_0x1b0f79,_0x155671,_0x44317e){return _0x1b0f79(_0x155671,_0x44317e);},'gnwaf':'ranger\x20feature\x20restore','gAmbP':_0x3daa57(0x305),'JAkMZ':'show\x20[id]','fqLva':'add-checklist-item\x20<description>','WPolL':_0x3daa57(0x26d)};return _0x202cbd['command'](_0x4b9149[_0x3daa57(0x342)],![],_0x28bc69=>{const _0x57a83a=_0x3daa57;return _0x28bc69['positional'](_0x4b9149['ykBoO'],{'type':_0x4b9149['putOD'],'description':_0x57a83a(0x24c),'demandOption':!![]})['option'](_0x4b9149[_0x57a83a(0x24e)],{'type':'string','alias':'d','description':_0x4b9149['Pjhyc']})[_0x57a83a(0x293)](_0x57a83a(0x287),{'type':_0x57a83a(0x23f),'alias':'c','description':_0x4b9149['uFsyP']})[_0x57a83a(0x293)](_0x4b9149['zLnwS'],{'type':_0x4b9149['ypqOn'],'hidden':!![]});},async _0x249f37=>{const _0x123596=_0x3daa57;_0x4b9149['HlZBu'](warnRenamed,_0x4b9149[_0x123596(0x25a)],_0x4b9149[_0x123596(0x2fa)]),warnFlagRenamed(_0x4b9149[_0x123596(0x2fa)],_0x123596(0x308),_0x4b9149['LzwrE']);const _0x4e2c45=_0x249f37[_0x123596(0x283)]||_0x249f37[_0x123596(0x287)];await _0x4b9149['xSeZy'](withTelemetry,_0x4b9149['NFdNK'],()=>featureCreate(_0x249f37['name'],{'description':_0x249f37[_0x123596(0x23c)],'scenarios':_0x4e2c45}));})[_0x3daa57(0x233)](_0x3daa57(0x26c),![],_0x1f45aa=>{const _0x1a4f2c=_0x3daa57;return _0x1f45aa['option'](_0x1a4f2c(0x215),{'type':_0x4b9149[_0x1a4f2c(0x280)],'description':_0x4b9149['sjsjz']})[_0x1a4f2c(0x293)]('limit',{'type':_0x1a4f2c(0x34c),'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option'](_0x1a4f2c(0x248),{'type':_0x4b9149['IMWRx'],'alias':'o','description':_0x4b9149['jNvaG'],'default':0x0})[_0x1a4f2c(0x293)]('include-deleted',{'type':_0x1a4f2c(0x2c9),'alias':'d','description':_0x1a4f2c(0x2f6),'default':![]});},async _0x994191=>{const _0x2691fd=_0x3daa57;_0x4b9149[_0x2691fd(0x27f)](warnRenamed,_0x4b9149['shglh'],_0x4b9149['hMdOH']),await withTelemetry('feature\x20list',()=>featureList({'currentBranch':_0x994191[_0x2691fd(0x215)],'limit':_0x994191['limit'],'offset':_0x994191['offset'],'includeDeleted':_0x994191[_0x2691fd(0x2bb)]}));})[_0x3daa57(0x233)](_0x4b9149[_0x3daa57(0x22d)],![],_0x5281c2=>{const _0x19b893=_0x3daa57;return _0x5281c2[_0x19b893(0x26a)]('id',{'type':_0x19b893(0x297),'description':_0x4b9149[_0x19b893(0x254)]});},async _0x26a4b6=>{const _0x1ad4b9=_0x3daa57;_0x4b9149[_0x1ad4b9(0x244)](warnRenamed,_0x4b9149['wwcfG'],'ranger\x20show'),await _0x4b9149['IBmLD'](withTelemetry,'feature\x20show',()=>featureShow(_0x26a4b6['id']));})['command'](_0x3daa57(0x325),![],_0x411e32=>{const _0x4c576=_0x3daa57;return _0x411e32['positional']('id',{'type':_0x4c576(0x297),'description':_0x4c576(0x333)});},async _0x13d906=>{const _0x190489=_0x3daa57;_0x4b9149[_0x190489(0x27f)](warnRenamed,_0x4b9149[_0x190489(0x2ed)],_0x4b9149[_0x190489(0x2c1)]),await _0x4b9149[_0x190489(0x269)](withTelemetry,_0x190489(0x231),()=>featureResume(_0x13d906['id']));})[_0x3daa57(0x233)](_0x4b9149[_0x3daa57(0x279)],![],_0x559028=>{const _0x1f6f9a=_0x3daa57;return _0x559028[_0x1f6f9a(0x26a)](_0x4b9149['GEhVS'],{'type':_0x4b9149[_0x1f6f9a(0x20a)],'description':'Scenario\x20description','demandOption':!![]})[_0x1f6f9a(0x293)]('id',{'type':_0x1f6f9a(0x297),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x131bbb=>{const _0x35d15a=_0x3daa57;warnRenamed('ranger\x20feature\x20add-checklist-item',_0x35d15a(0x21d)),await _0x4b9149['atTjW'](withTelemetry,_0x35d15a(0x208),()=>featureAddScenario(_0x131bbb['description'],_0x131bbb['id']));})['command'](_0x3daa57(0x22b),![],_0x2d1a15=>{const _0xf459bf=_0x3daa57;return _0x2d1a15[_0xf459bf(0x26a)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0xd14be=>{warnRenamed(_0x4b9149['GrFrn'],_0x4b9149['MOCBB']),await _0x4b9149['pAFeF'](withTelemetry,'feature\x20get-feedback',()=>featureGetReview(_0xd14be['id']));})['command'](_0x3daa57(0x217),![],_0x2739c4=>{const _0x43eb44=_0x3daa57;return _0x2739c4[_0x43eb44(0x26a)]('id',{'type':_0x43eb44(0x297),'description':_0x4b9149['sXCJJ']});},async _0x244ece=>{warnRenamed(_0x4b9149['XXums'],'ranger\x20delete'),await withTelemetry('feature\x20delete',()=>featureDelete(_0x244ece['id']));})['command'](_0x4b9149['WPolL'],![],_0x546261=>{const _0x512af2=_0x3daa57;return _0x546261[_0x512af2(0x26a)]('id',{'type':_0x4b9149[_0x512af2(0x20a)],'description':_0x4b9149['LoDNv'],'demandOption':!![]});},async _0x55abba=>{const _0x39d35e=_0x3daa57;_0x4b9149['ODQXp'](warnRenamed,_0x4b9149[_0x39d35e(0x2b0)],_0x39d35e(0x266)),await withTelemetry('feature\x20restore',()=>featureRestore(_0x55abba['id']));})['demandCommand'](0x1,_0x3daa57(0x2f5));})[_0x17ffc4(0x233)](_0x17ffc4(0x23b),![],_0x256849=>{const _0x182a3c=_0x17ffc4,_0xc2bd9c={'MqdPy':_0x182a3c(0x236),'mRFYE':_0x182a3c(0x343),'WEKBq':_0x182a3c(0x297),'cMSRA':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','UxJvE':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','XIVAD':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','cNwYp':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'};return _0x256849['command'](_0x182a3c(0x31c),_0xc2bd9c['UxJvE'],_0x519a77=>{const _0x48b6e6=_0x182a3c;return _0x519a77[_0x48b6e6(0x293)]('session-id',{'type':_0x48b6e6(0x297),'description':_0x48b6e6(0x261)});},async _0x10afc5=>{const _0x28c4d3=_0x182a3c;await withTelemetry(_0xc2bd9c['MqdPy'],()=>hook('enable',_0x10afc5[_0x28c4d3(0x343)]));})[_0x182a3c(0x233)]('disable',_0xc2bd9c['XIVAD'],_0x4b3d65=>{const _0x497ec4=_0x182a3c;return _0x4b3d65[_0x497ec4(0x293)](_0xc2bd9c[_0x497ec4(0x2ca)],{'type':_0xc2bd9c[_0x497ec4(0x285)],'description':_0xc2bd9c['cMSRA']});},async _0x52fa2a=>{const _0x58660f=_0x182a3c;await withTelemetry('hook:disable',()=>hook(_0x58660f(0x2e9),_0x52fa2a['session-id']));})['option'](_0x182a3c(0x2c5),{'type':'string','description':_0xc2bd9c[_0x182a3c(0x28e)]})['option'](_0xc2bd9c[_0x182a3c(0x2ca)],{'type':_0x182a3c(0x297),'description':_0xc2bd9c[_0x182a3c(0x24d)]});},async _0x51e59b=>{const _0x1ecd5b=_0x17ffc4,_0x53817d={'ZnqIK':'session-id'};_0x51e59b[_0x1ecd5b(0x2c5)]&&await hook(_0x51e59b['name'],_0x51e59b[_0x53817d[_0x1ecd5b(0x2a7)]]);})[_0x17ffc4(0x299)](0x1,'You\x20must\x20specify\x20a\x20command')['strictCommands']()['fail'](async(_0x3441d6,_0x5199c6,_0x13f85b)=>{const _0x4943c5=_0x17ffc4,_0x32e589={'HfZNd':function(_0x51b3bc,_0xadf3e2){return _0x51b3bc(_0xadf3e2);},'amxnO':function(_0x1aa0c0,_0xf03682,_0x3ef472){return _0x1aa0c0(_0xf03682,_0x3ef472);},'rlwpR':function(_0x443423,_0x18981d){return _0x443423||_0x18981d;}},_0x329555=_0x32e589[_0x4943c5(0x284)](sanitizeArgs,process['argv']['slice'](0x2)),_0x59b376=_0x32e589['amxnO'](getErrorType,_0x3441d6,_0x5199c6);if(_0x3441d6&&_0x3441d6['includes'](_0x4943c5(0x24b))){const _0x425e50=process[_0x4943c5(0x29b)][0x2];console['error'](_0x4943c5(0x295)+_0x425e50),console[_0x4943c5(0x25c)](_0x4943c5(0x2ea));}else{if(_0x3441d6)console[_0x4943c5(0x25c)]('\x0a'+_0x3441d6+'\x0a');else _0x5199c6&&console[_0x4943c5(0x25c)]('\x0aError:\x20'+_0x5199c6[_0x4943c5(0x294)]+'\x0a');}await logDesirePath({'rawCommand':_0x329555,'errorMessage':_0x3441d6||_0x5199c6?.['message'],'errorType':_0x59b376});const _0x4187af=getCurrentCollector();_0x4187af&&await _0x4187af[_0x4943c5(0x324)](_0x5199c6||new Error(_0x32e589[_0x4943c5(0x332)](_0x3441d6,'Unknown\x20error'))),process['exit'](0x1);})['epilogue'](_0x17ffc4(0x2d4)+'\x20\x20https://docs.ranger.net\x0a'+'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)')['help']()[_0x17ffc4(0x255)]('help','h')[_0x17ffc4(0x31a)]();
@@ -1 +1 @@
1
- (function(_0x1492f7,_0x527dd8){const _0x5eba6a=_0x5e00,_0x4ce1ab=_0x1492f7();while(!![]){try{const _0x5f151e=parseInt(_0x5eba6a(0xa0))/0x1+parseInt(_0x5eba6a(0xb6))/0x2+-parseInt(_0x5eba6a(0xd2))/0x3+parseInt(_0x5eba6a(0xdf))/0x4*(-parseInt(_0x5eba6a(0xc0))/0x5)+-parseInt(_0x5eba6a(0x8b))/0x6*(-parseInt(_0x5eba6a(0xc9))/0x7)+parseInt(_0x5eba6a(0xd0))/0x8*(-parseInt(_0x5eba6a(0xb0))/0x9)+-parseInt(_0x5eba6a(0x86))/0xa;if(_0x5f151e===_0x527dd8)break;else _0x4ce1ab['push'](_0x4ce1ab['shift']());}catch(_0x1e9618){_0x4ce1ab['push'](_0x4ce1ab['shift']());}}}(_0x46b7,0x1e75a));import{mkdir,writeFile,readFile,unlink,rm,mkdtemp,rename}from'fs/promises';import{join}from'path';import _0x4391fa from'inquirer';import{chromium}from'playwright';import{findExistingEnv}from'./utils/settings.js';import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getRangerDir}from'./utils/rangerRoot.js';function _0x46b7(){const _0x4c6943=['\x20(continuing\x20with\x20--force)','Continue\x20anyway','.tmp-','aECit','HTTP\x20','8ZStExb','\x20\x20Make\x20sure\x20your\x20app\x20is\x20running\x20locally\x20before\x20continuing.','\x20would\x20shadow\x20the\x20existing\x20profile.','KPOig','TrMmF','\x0aMake\x20sure\x20your\x20app\x20is\x20running,\x20then\x20try\x20again.\x20To\x20skip\x20this\x20check,\x20pass\x20--force.','1368710AoItjY','\x20\x20\x20When\x20done\x20logging\x20in,\x20close\x20the\x20browser\x20to\x20save\x20the\x20session.','error','\x22\x20configured','Saving\x20authentication\x20state...','6KhuAGA','Delete\x20existing\x20and\x20create\x20new\x20in\x20','ErGFb','--cdp-endpoint\x20must\x20not\x20be\x20empty.\x20Provide\x20the\x20CDP\x20URL,\x20e.g.\x20--cdp-endpoint\x20http://localhost:9222','use_suggestion','xfYwK','now','\x20\x20Set\x20active\x20profile:\x20','manual','โœ“\x20Auth\x20state\x20saved\x20to:\x20','\x22\x20already\x20exists.\x20Overwrite?','launch','overwrite','\x20\x20Ranger\x20will\x20open\x20it\x20in\x20a\x20browser\x20so\x20you\x20can\x20log\x20in\x20and\x20save\x20your\x20session.\x0a','MpVeg','signal','lVGKD','Missing\x20API\x20token;\x20aborting\x20CI\x20profile\x20creation.','Removed\x20existing\x20profile\x20at\x20','โœ“\x20Created\x20settings:\x20','close','65802XFlWSf','wnkOB','BGeOM','shouldReplace','Use\x20','jieoy','\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','config_write','log','confirm','\x20\x20Configuring\x20Ranger\x20to\x20connect\x20to:\x20','SJXmR','isTTY','http://localhost:3000','baseUrl','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','9MPYmty','โš \x20Could\x20not\x20reach\x20','cdpEndpoint','Enter\x20a\x20different\x20URL','goto','UdGKb','243134aPSQOY','Iehmp','xPCxP','YMIxa','trackPhaseEnd','skipAuth','jjeyy','kpFgD','\x0a๐Ÿ“‹\x20Authentication\x20Setup','browser_auth','42710spyqvR','\x0a๐Ÿ”Œ\x20CDP\x20Profile\x20Setup\x0a','--url\x20and\x20--cdp-endpoint\x20are\x20mutually\x20exclusive.\x20Use\x20--url\x20for\x20web\x20apps\x20or\x20--cdp-endpoint\x20for\x20Electron/CDP\x20apps,\x20not\x20both.','storageState','WuXWo','tsxgp','path','vDlpb','\x0a\x20\x20Could\x20not\x20reach\x20','1558578pbzEGV','EBKaZ','action','KzKxl','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','uvxai','url','590768gnqUld','\x20\x20Make\x20sure\x20your\x20Electron\x20app\x20(or\x20browser)\x20is\x20running\x20with\x20remote\x20debugging\x20enabled.\x0a','172380MwImjZ','location','awoUV','.backup-','uwHpv','TypeError','\x20\x20Did\x20you\x20mean\x20','\x0aโš ๏ธ\x20\x20Profile\x20\x22'];_0x46b7=function(){return _0x4c6943;};return _0x46b7();}import{writeActiveProfileName}from'./utils/activeProfile.js';import{addProfileSetupBanner}from'./utils/profileSetupBanner.js';function _0x5e00(_0x36ec3f,_0x5e808f){_0x36ec3f=_0x36ec3f-0x85;const _0x46b7cb=_0x46b7();let _0x5e0070=_0x46b7cb[_0x36ec3f];return _0x5e0070;}async function checkUrlReachability(_0x137738){const _0x249076=_0x5e00,_0x3cf89e={'yYLCr':function(_0x491176,_0x1a0e22,_0x24f627){return _0x491176(_0x1a0e22,_0x24f627);},'YMIxa':function(_0x41d08f,_0x4a59a9){return _0x41d08f<_0x4a59a9;},'oUDYZ':function(_0x4f221b,_0x3481aa){return _0x4f221b(_0x3481aa);},'AXLXG':'Invalid\x20URL','vDlpb':function(_0x5567c2,_0x43c582){return _0x5567c2===_0x43c582;},'jjeyy':'fetch\x20failed'};try{const _0x14d7ed=new AbortController(),_0x236ea0=_0x3cf89e['yYLCr'](setTimeout,()=>_0x14d7ed['abort'](),0x1388),_0x554bc1=await fetch(_0x137738,{'method':'HEAD','signal':_0x14d7ed[_0x249076(0x9a)],'redirect':_0x249076(0x93)});clearTimeout(_0x236ea0);if(_0x3cf89e[_0x249076(0xb9)](_0x554bc1['status'],0x190))return{'ok':!![]};return{'ok':![],'error':_0x249076(0xde)+_0x554bc1['status']};}catch(_0x535ec3){const _0x20f6cf=_0x535ec3,_0x535847=_0x20f6cf['message']||_0x3cf89e['oUDYZ'](String,_0x535ec3),_0x242d1c=_0x535847['includes'](_0x3cf89e['AXLXG'])||_0x3cf89e[_0x249076(0xc7)](_0x20f6cf['name'],_0x249076(0xd7))||_0x535847['includes'](_0x3cf89e[_0x249076(0xbc)]);return{'ok':![],'error':_0x535847,'isProtocolError':_0x242d1c};}}export async function addEnv(_0xa6c0a1,_0x13d138={},_0x14f39c){const _0x42c884=_0x5e00,_0x4ace91={'TRWVs':_0x42c884(0x9f),'vbFSK':'local','MpVeg':function(_0x132adc,_0x481a6a,_0x3065aa,_0x3daf4d){return _0x132adc(_0x481a6a,_0x3065aa,_0x3daf4d);},'jLoJz':function(_0x4ff0f2,_0x2b12a8,_0x34dc28){return _0x4ff0f2(_0x2b12a8,_0x34dc28);},'rQYzq':function(_0x108297,_0x55fbc8){return _0x108297!==_0x55fbc8;},'xPCxP':function(_0x40a661,_0x5472dc){return _0x40a661===_0x5472dc;},'UdGKb':_0x42c884(0x8e),'SJXmR':_0x42c884(0xc2),'Iehmp':'--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.','SrPVx':function(_0x5bc3a8,_0x27ee87){return _0x5bc3a8(_0x27ee87);},'oqfMN':function(_0x452421,_0xafb873){return _0x452421===_0xafb873;},'aECit':_0x42c884(0xa9),'vTfNc':_0x42c884(0x97),'tsxgp':'Aborted.','BGeOM':function(_0x279519,_0x33047f){return _0x279519===_0x33047f;},'QVpeq':'legacy','uvxai':'root\x20(.ranger/)','lVGKD':'url_setup','WXLtv':_0x42c884(0xc1),'aOGrm':function(_0x2a7746,_0x4466d8){return _0x2a7746(_0x4466d8);},'KzKxl':'\x0a๐ŸŒ\x20Profile\x20Setup\x0a','xdXKf':'input','ZANAT':_0x42c884(0xae),'RkWrG':'Enter\x20a\x20new\x20URL\x20(or\x20press\x20enter\x20to\x20keep\x20current):','KcSif':function(_0xe7021d,_0x46591e){return _0xe7021d||_0x46591e;},'juQaI':_0x42c884(0xad),'uwHpv':function(_0x3f2918,_0x221bd7){return _0x3f2918(_0x221bd7);},'zbvNW':_0x42c884(0xcb),'pPHfL':_0x42c884(0xb3),'kpFgD':'retry','WuXWo':_0x42c884(0xdb),'eyVVG':function(_0x43a8ae,_0x41af9e){return _0x43a8ae(_0x41af9e);},'KPOig':_0x42c884(0xbf),'wnkOB':'\x20\x20\x20A\x20browser\x20will\x20open.\x20Please\x20log\x20in\x20to\x20the\x20profile\x20you\x20want\x20to\x20test\x20so\x20Ranger\x20can\x20access\x20it.','obtrO':_0x42c884(0x87),'jieoy':'\x20\x20\x20If\x20you\x20are\x20an\x20agent,\x20background\x20this\x20process\x20and\x20let\x20your\x20user\x20know\x20they\x20need\x20to\x20complete\x20browser\x20authentication.\x0a','bAKIe':'about:blank','xfYwK':'utf-8','ErGFb':'.enc','awoUV':_0x42c884(0xaf),'tiKii':_0x42c884(0xa6),'TrMmF':'settings.json','EBKaZ':function(_0x3a7867,_0x1405b0,_0x1e20c4){return _0x3a7867(_0x1405b0,_0x1e20c4);},'DdnTy':'config_write'},_0xb44b8a=_0x13d138['ci']??![],_0x1a992a=_0xb44b8a?'ci':_0x4ace91['vbFSK'],_0x491c4d=_0x4ace91[_0x42c884(0x99)](join,getRangerDir(),_0x1a992a,_0xa6c0a1),_0x5a3886=_0x4ace91['jLoJz'](join,getRangerDir(),_0x1a992a);if(_0x4ace91['rQYzq'](_0x13d138['cdpEndpoint'],undefined)&&_0x4ace91[_0x42c884(0xb8)](_0x13d138[_0x42c884(0xb2)]['trim'](),''))throw new Error(_0x4ace91[_0x42c884(0xb5)]);if(_0x13d138['cdpEndpoint']&&_0x13d138['url'])throw new Error(_0x4ace91[_0x42c884(0xab)]);if(_0x13d138[_0x42c884(0xb2)]&&_0x13d138['ci'])throw new Error(_0x4ace91[_0x42c884(0xb7)]);const _0x21e31f=_0x4ace91['SrPVx'](Boolean,_0x13d138[_0x42c884(0xb2)]),_0x419e52=!_0x13d138[_0x42c884(0xbb)]&&!_0x21e31f,_0x378cc5=process['stdin'][_0x42c884(0xac)]&&process['stdout']['isTTY'];if(!_0x378cc5&&!_0x13d138['url']&&!_0x21e31f)throw new Error(_0x42c884(0xcd));const _0x42295d=findExistingEnv(_0xa6c0a1);let _0x356811=null;if(_0x42295d){if(!_0x378cc5)_0x356811=_0x42295d;else{if(_0x4ace91['oqfMN'](_0x42295d['location'],_0x1a992a)){const {overwrite:_0x49d5e7}=await _0x4391fa['prompt']([{'type':_0x4ace91['aECit'],'name':_0x4ace91['vTfNc'],'message':'Profile\x20\x22'+_0xa6c0a1+_0x42c884(0x95),'default':![]}]);if(!_0x49d5e7){console['log'](_0x4ace91[_0x42c884(0xc5)]);return;}_0x356811=_0x42295d;}else{const _0x3fd3ba=_0x4ace91[_0x42c884(0xa2)](_0x42295d['location'],_0x4ace91['QVpeq'])?_0x4ace91[_0x42c884(0xce)]:_0x42295d[_0x42c884(0xd3)];console['error'](_0x42c884(0xd9)+_0xa6c0a1+'\x22\x20already\x20exists\x20in\x20'+_0x3fd3ba+':\x20'+_0x42295d[_0x42c884(0xc6)]),console[_0x42c884(0x88)]('\x20\x20\x20Creating\x20it\x20in\x20'+_0x1a992a+_0x42c884(0xe1));const {shouldReplace:_0x28009f}=await _0x4391fa['prompt']([{'type':_0x4ace91[_0x42c884(0xdd)],'name':_0x42c884(0xa3),'message':_0x42c884(0x8c)+_0x1a992a+'?','default':![]}]);if(!_0x28009f){console['log'](_0x4ace91[_0x42c884(0xc5)]);return;}_0x356811=_0x42295d;}}}_0x14f39c?.['trackPhaseStart'](_0x4ace91[_0x42c884(0x9b)]);let _0x1cb12c='';if(_0x21e31f)console['log'](_0x4ace91['WXLtv']),console['log'](_0x42c884(0xaa)+_0x13d138[_0x42c884(0xb2)]),console[_0x42c884(0xa8)](_0x42c884(0xd1));else{if(_0x13d138['url']){_0x1cb12c=_0x13d138[_0x42c884(0xcf)];const _0x13b5c7=await _0x4ace91['aOGrm'](checkUrlReachability,_0x1cb12c);if(!_0x13b5c7['ok']&&!_0x13d138['force'])throw new Error('Could\x20not\x20reach\x20'+_0x1cb12c+':\x20'+_0x13b5c7[_0x42c884(0x88)]+_0x42c884(0x85));!_0x13b5c7['ok']&&_0x13d138['force']&&console[_0x42c884(0xa8)](_0x42c884(0xb1)+_0x1cb12c+':\x20'+_0x13b5c7[_0x42c884(0x88)]+_0x42c884(0xda));}else{console['log'](_0x4ace91[_0x42c884(0xcc)]),console['log'](_0x42c884(0xe0)),console['log'](_0x42c884(0x98));let _0x279777=![];while(!![]){const _0x18d31a=await _0x4391fa['prompt']([{'type':_0x4ace91['xdXKf'],'name':_0x4ace91['ZANAT'],'message':_0x279777?_0x4ace91['RkWrG']:'What\x20is\x20the\x20URL\x20of\x20your\x20running\x20app?','default':_0x4ace91['KcSif'](_0x1cb12c,_0x4ace91['juQaI'])}]);_0x1cb12c=_0x18d31a['baseUrl'];const _0x188d36=await _0x4ace91[_0x42c884(0xd6)](checkUrlReachability,_0x1cb12c);if(_0x188d36['ok'])break;const _0x219a18=/^[a-zA-Z][\w+.-]*:\/\//['test'](_0x1cb12c),_0x367a2f=_0x188d36['isProtocolError']&&!_0x219a18,_0x43cc97=_0x367a2f?'http://'+_0x1cb12c:null;_0x279777=!![],console[_0x42c884(0xa8)](_0x42c884(0xc8)+_0x1cb12c+':\x20'+_0x188d36[_0x42c884(0x88)]);_0x43cc97&&console['log'](_0x42c884(0xd8)+_0x43cc97+'?');const {action:_0x4493e0}=await _0x4391fa['prompt']([{'type':'list','name':_0x4ace91['zbvNW'],'message':'What\x20would\x20you\x20like\x20to\x20do?','choices':[..._0x43cc97?[{'name':_0x42c884(0xa4)+_0x43cc97,'value':_0x42c884(0x8f)}]:[],{'name':_0x4ace91['pPHfL'],'value':_0x4ace91[_0x42c884(0xbd)]},{'name':_0x4ace91[_0x42c884(0xc4)],'value':'continue'}]}]);if(_0x4493e0===_0x42c884(0x8f)&&_0x43cc97){_0x1cb12c=_0x43cc97;const _0x5e501d=await _0x4ace91['eyVVG'](checkUrlReachability,_0x1cb12c);if(_0x5e501d['ok'])break;console['log']('\x0a\x20\x20Still\x20could\x20not\x20reach\x20'+_0x1cb12c+':\x20'+_0x5e501d[_0x42c884(0x88)]);}else{if(_0x4493e0==='continue')break;}}}}_0x14f39c?.['trackPhaseEnd']('url_setup'),await _0x4ace91['jLoJz'](mkdir,_0x5a3886,{'recursive':!![]});const _0x4b18ac=await mkdtemp(join(_0x5a3886,_0x42c884(0xdc)+_0xa6c0a1+'-')),_0x2758f8=join(_0x4b18ac,'auth.json');try{if(_0x419e52){_0x14f39c?.['trackPhaseStart'](_0x4ace91[_0x42c884(0xe2)]),console['log'](_0x42c884(0xbe)),console[_0x42c884(0xa8)](_0x4ace91[_0x42c884(0xa1)]),console['log'](_0x4ace91['obtrO']);!_0x378cc5?(console[_0x42c884(0xa8)]('\x0a\x20\x20\x20โš \x20This\x20step\x20requires\x20human\x20interaction\x20in\x20a\x20browser.'),console[_0x42c884(0xa8)](_0x4ace91[_0x42c884(0xa5)])):console[_0x42c884(0xa8)]('');await new Promise(_0x5a832b=>setTimeout(_0x5a832b,0xbb8));const _0x18a093=await chromium[_0x42c884(0x96)]({'headless':![]});try{const _0x483b1c=await _0x18a093['newContext']();await addProfileSetupBanner(_0x483b1c);const _0x30bd4c=await _0x483b1c['newPage']();await _0x30bd4c[_0x42c884(0xb4)](_0x1cb12c||_0x4ace91['bAKIe']),await new Promise(_0x442585=>{_0x30bd4c['on'](_0x4ace91['TRWVs'],async()=>{const _0x4959c1=_0x5e00;try{console[_0x4959c1(0xa8)](_0x4959c1(0x8a)),await _0x483b1c[_0x4959c1(0xc3)]({'path':_0x2758f8});}catch{}_0x442585();});});}finally{await _0x18a093[_0x42c884(0x9f)]()['catch'](()=>{});}if(_0xb44b8a){const _0x23f6b2=await readFile(_0x2758f8,_0x4ace91[_0x42c884(0x90)]),_0x34b5f4=await getToken();if(!_0x34b5f4){console[_0x42c884(0x88)]('\x20\x20Could\x20not\x20encrypt:\x20No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]'),await unlink(_0x2758f8)['catch'](()=>{});throw new Error(_0x42c884(0x9c));}else{const _0x3f7ce7=encrypt(_0x23f6b2,_0x34b5f4);await writeFile(_0x2758f8+_0x4ace91[_0x42c884(0x8d)],_0x3f7ce7),await unlink(_0x2758f8),console[_0x42c884(0xa8)]('โœ“\x20Encrypted\x20auth\x20saved\x20to:\x20'+_0x2758f8+'.enc'),console[_0x42c884(0xa8)](_0x4ace91[_0x42c884(0xd4)]),console[_0x42c884(0xa8)](_0x4ace91['tiKii']);}}else console[_0x42c884(0xa8)](_0x42c884(0x94)+_0x2758f8);_0x14f39c?.[_0x42c884(0xba)](_0x4ace91['KPOig']);}_0x14f39c?.['trackPhaseStart'](_0x42c884(0xa7));const _0x354052={};_0x1cb12c&&(_0x354052['baseUrl']=_0x1cb12c);_0x13d138[_0x42c884(0xb2)]&&(_0x354052['cdpEndpoint']=_0x13d138['cdpEndpoint'],_0x354052['isElectron']=!![]);await writeFile(join(_0x4b18ac,_0x4ace91[_0x42c884(0xe3)]),JSON['stringify'](_0x354052,null,0x2)),console[_0x42c884(0xa8)](_0x42c884(0x9e)+_0x4ace91['jLoJz'](join,_0x491c4d,_0x4ace91['TrMmF']));if(_0x356811?.['location']===_0x1a992a){const _0x172be9=_0x356811[_0x42c884(0xc6)]+_0x42c884(0xd5)+Date[_0x42c884(0x91)]();await _0x4ace91[_0x42c884(0xca)](rename,_0x356811[_0x42c884(0xc6)],_0x172be9);try{await rename(_0x4b18ac,_0x491c4d);}catch(_0x2f695a){await rename(_0x172be9,_0x356811[_0x42c884(0xc6)]);throw _0x2f695a;}try{await rm(_0x172be9,{'recursive':!![]});}catch{console[_0x42c884(0xa8)]('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20backup\x20at\x20'+_0x172be9);}}else{await rename(_0x4b18ac,_0x491c4d);if(_0x356811)try{await rm(_0x356811[_0x42c884(0xc6)],{'recursive':!![]}),console['log'](_0x42c884(0x9d)+_0x356811[_0x42c884(0xc6)]);}catch{console[_0x42c884(0xa8)]('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20at\x20'+_0x356811[_0x42c884(0xc6)]);}}try{await writeActiveProfileName(_0xa6c0a1),console[_0x42c884(0xa8)](_0x42c884(0x92)+_0xa6c0a1);}catch{console[_0x42c884(0xa8)]('Warning:\x20Profile\x20created,\x20but\x20failed\x20to\x20mark\x20it\x20as\x20active.');}_0x14f39c?.['trackPhaseEnd'](_0x4ace91['DdnTy']),console['log']('\x0a\x20\x20Profile\x20\x22'+_0xa6c0a1+_0x42c884(0x89));}catch(_0x509032){await rm(_0x4b18ac,{'recursive':!![],'force':!![]});throw _0x509032;}}
1
+ (function(_0x244138,_0x99dbd0){const _0x1f087c=_0x67c9,_0x3a3530=_0x244138();while(!![]){try{const _0x2adfac=parseInt(_0x1f087c(0x1e1))/0x1+parseInt(_0x1f087c(0x1f4))/0x2+parseInt(_0x1f087c(0x22d))/0x3*(parseInt(_0x1f087c(0x1e9))/0x4)+-parseInt(_0x1f087c(0x208))/0x5*(parseInt(_0x1f087c(0x215))/0x6)+parseInt(_0x1f087c(0x22e))/0x7+parseInt(_0x1f087c(0x1fc))/0x8*(-parseInt(_0x1f087c(0x203))/0x9)+-parseInt(_0x1f087c(0x20c))/0xa;if(_0x2adfac===_0x99dbd0)break;else _0x3a3530['push'](_0x3a3530['shift']());}catch(_0x1b8e3f){_0x3a3530['push'](_0x3a3530['shift']());}}}(_0xda35,0xa2140));import{mkdir,writeFile,readFile,unlink,rm,mkdtemp,rename}from'fs/promises';import{join}from'path';import _0x472855 from'inquirer';import{chromium}from'playwright';import{findExistingEnv}from'./utils/settings.js';function _0x67c9(_0x5951f1,_0x3afb4f){_0x5951f1=_0x5951f1-0x1d9;const _0xda359=_0xda35();let _0x67c9d7=_0xda359[_0x5951f1];return _0x67c9d7;}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(_0x551347){const _0x29fb40=_0x67c9,_0x551486={'lecLY':function(_0x33027a,_0x505948,_0x1ad06d){return _0x33027a(_0x505948,_0x1ad06d);},'SwJFE':function(_0x1714ad,_0x242df0,_0x4c0664){return _0x1714ad(_0x242df0,_0x4c0664);},'uGimn':function(_0x35b8ca,_0x474637){return _0x35b8ca(_0x474637);},'LUyny':function(_0x45f26c,_0x5b6341){return _0x45f26c<_0x5b6341;},'CqYNi':function(_0x3ab134,_0x25fdfc){return _0x3ab134(_0x25fdfc);},'hxcdc':_0x29fb40(0x1eb)};try{const _0x15c722=new AbortController(),_0x285136=_0x551486['lecLY'](setTimeout,()=>_0x15c722[_0x29fb40(0x21b)](),0x1388),_0x45c372=await _0x551486[_0x29fb40(0x224)](fetch,_0x551347,{'method':_0x29fb40(0x1db),'signal':_0x15c722['signal'],'redirect':_0x29fb40(0x1df)});_0x551486[_0x29fb40(0x1ef)](clearTimeout,_0x285136);if(_0x551486['LUyny'](_0x45c372['status'],0x190))return{'ok':!![]};return{'ok':![],'error':'HTTP\x20'+_0x45c372['status']};}catch(_0x3a3a1f){const _0x5899e2=_0x3a3a1f,_0x113cce=_0x5899e2[_0x29fb40(0x1da)]||_0x551486['CqYNi'](String,_0x3a3a1f),_0x22cd22=_0x113cce[_0x29fb40(0x229)](_0x551486['hxcdc'])||_0x5899e2[_0x29fb40(0x22a)]==='TypeError'||_0x113cce[_0x29fb40(0x229)]('fetch\x20failed');return{'ok':![],'error':_0x113cce,'isProtocolError':_0x22cd22};}}function _0xda35(){const _0x4783cf=['legacy','stdin','error','log','Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20backup\x20at\x20','What\x20would\x20you\x20like\x20to\x20do?','izUTd','โœ“\x20Created\x20settings:\x20','\x20\x20Make\x20sure\x20your\x20Electron\x20app\x20(or\x20browser)\x20is\x20running\x20with\x20remote\x20debugging\x20enabled.\x0a','list','\x22\x20configured','acuiC','โš \x20Could\x20not\x20reach\x20','QYTxR','force','\x20\x20\x20When\x20done\x20logging\x20in,\x20close\x20the\x20browser\x20to\x20save\x20the\x20session.','BSXKA','QhROu','trim','wRwjp','ydeGO','prompt','HmXQv','message','HEAD','.enc','newPage','AgyVk','manual','path','138906KyEYun','\x0a\x20\x20Still\x20could\x20not\x20reach\x20','FtYZP','action','browser_auth','Enter\x20a\x20different\x20URL','Continue\x20anyway','guYhS','4TJvJqy','--cdp-endpoint\x20must\x20not\x20be\x20empty.\x20Provide\x20the\x20CDP\x20URL,\x20e.g.\x20--cdp-endpoint\x20http://localhost:9222','Invalid\x20URL','pIPVO','\x0a\x20\x20Could\x20not\x20reach\x20','\x20\x20Configuring\x20Ranger\x20to\x20connect\x20to:\x20','uGimn','http://','url','\x0a๐Ÿ”Œ\x20CDP\x20Profile\x20Setup\x0a','Removed\x20existing\x20profile\x20at\x20','535156pPLKIe','xauKq','\x22\x20already\x20exists\x20in\x20','โœ“\x20Encrypted\x20auth\x20saved\x20to:\x20','IfHRg','http://localhost:3000','\x0aMake\x20sure\x20your\x20app\x20is\x20running,\x20then\x20try\x20again.\x20To\x20skip\x20this\x20check,\x20pass\x20--force.','baseUrl','21752tfFuJa','\x20\x20Ranger\x20will\x20open\x20it\x20in\x20a\x20browser\x20so\x20you\x20can\x20log\x20in\x20and\x20save\x20your\x20session.\x0a','stdout','mqcXf','launch','zAKUs','jJfIz','3438yqBxmV','\x20would\x20shadow\x20the\x20existing\x20profile.','about:blank','test','trackPhaseEnd','115NNiJCw','close','Could\x20not\x20reach\x20','\x0a๐Ÿ“‹\x20Authentication\x20Setup','3036290jfCGoF','Delete\x20existing\x20and\x20create\x20new\x20in\x20','hjYes','url_setup','--ci\x20and\x20--cdp-endpoint\x20cannot\x20be\x20used\x20together.\x20Electron/CDP\x20profiles\x20only\x20work\x20with\x20a\x20locally\x20running\x20app\x20and\x20are\x20not\x20supported\x20in\x20CI.','goto','ArANY','settings.json','skipAuth','134718FZRjYh','location','Wmvov','veCzR','config_write','Aborted.','abort','wuEul','continue','root\x20(.ranger/)','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','use_suggestion','Warning:\x20Profile\x20created,\x20but\x20failed\x20to\x20mark\x20it\x20as\x20active.','Enter\x20a\x20new\x20URL\x20(or\x20press\x20enter\x20to\x20keep\x20current):','\x20\x20\x20A\x20browser\x20will\x20open.\x20Please\x20log\x20in\x20to\x20the\x20profile\x20you\x20want\x20to\x20test\x20so\x20Ranger\x20can\x20access\x20it.','SwJFE','MjdrO','stringify','\x22\x20already\x20exists.\x20Overwrite?','jrTgp','includes','name','trackPhaseStart','--url\x20and\x20--cdp-endpoint\x20are\x20mutually\x20exclusive.\x20Use\x20--url\x20for\x20web\x20apps\x20or\x20--cdp-endpoint\x20for\x20Electron/CDP\x20apps,\x20not\x20both.','3029076Hctbpb','7744814ZLkdqD','cdpEndpoint'];_0xda35=function(){return _0x4783cf;};return _0xda35();}export async function addEnv(_0x2c67ba,_0x21eb1c={},_0x12a4f7){const _0x30758a=_0x67c9,_0x554e5c={'ydeGO':function(_0x57ba14){return _0x57ba14();},'jJfIz':'local','xmmMZ':function(_0x2eacd6,_0x22de2c,_0x51668b,_0x671cd0){return _0x2eacd6(_0x22de2c,_0x51668b,_0x671cd0);},'acuiC':function(_0xd8fc66,_0x25f0ea,_0x2d94be){return _0xd8fc66(_0x25f0ea,_0x2d94be);},'FtYZP':function(_0x32fff9){return _0x32fff9();},'wuEul':function(_0x5f21a5,_0x13dcb0){return _0x5f21a5===_0x13dcb0;},'wRwjp':_0x30758a(0x1ea),'QhROu':function(_0x5af57d,_0x52a6c3){return _0x5af57d(_0x52a6c3);},'ArANY':'confirm','izUTd':'overwrite','QYTxR':'Aborted.','zAKUs':_0x30758a(0x230),'sxFiy':_0x30758a(0x21e),'HmXQv':_0x30758a(0x20f),'HJjla':_0x30758a(0x1f2),'SSJav':'input','kCeOd':_0x30758a(0x1fb),'mqcXf':_0x30758a(0x239),'izkAf':_0x30758a(0x1e4),'wisfo':_0x30758a(0x235),'JrYeW':_0x30758a(0x1e6),'xauKq':_0x30758a(0x1e7),'KXrEG':_0x30758a(0x21d),'TdJmo':_0x30758a(0x220),'veCzR':function(_0x479c62,_0xfa9cb1){return _0x479c62(_0xfa9cb1);},'Wmvov':function(_0x10d302,_0x2f2f80,_0x15755c){return _0x10d302(_0x2f2f80,_0x15755c);},'AgyVk':function(_0x4c07be,_0x43effe,_0x4a2bac){return _0x4c07be(_0x43effe,_0x4a2bac);},'jrTgp':_0x30758a(0x1e5),'dwPwh':_0x30758a(0x223),'IfHRg':function(_0x12f786,_0x94acf5){return _0x12f786||_0x94acf5;},'qZsPg':_0x30758a(0x205),'Xvlin':'utf-8','lJsrQ':function(_0x59cb66){return _0x59cb66();},'hjYes':'\x20\x20Could\x20not\x20encrypt:\x20No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','guYhS':function(_0x14bda3,_0x5be0c0,_0x567bee){return _0x14bda3(_0x5be0c0,_0x567bee);},'UnlgP':function(_0x132542,_0x1d8c08){return _0x132542(_0x1d8c08);},'pIPVO':function(_0x3f7723,_0xfbf5d5,_0x415a45){return _0x3f7723(_0xfbf5d5,_0x415a45);},'MjdrO':_0x30758a(0x213),'aZjra':function(_0x2aba6b,_0x509ea7,_0x504508){return _0x2aba6b(_0x509ea7,_0x504508);},'BSXKA':function(_0x29d1cb,_0x17c577,_0x3621f0){return _0x29d1cb(_0x17c577,_0x3621f0);}},_0x2ff2ef=_0x21eb1c['ci']??![],_0x2ee9eb=_0x2ff2ef?'ci':_0x554e5c[_0x30758a(0x202)],_0x4762e7=_0x554e5c['xmmMZ'](join,getRangerDir(),_0x2ee9eb,_0x2c67ba),_0x476af0=_0x554e5c[_0x30758a(0x23b)](join,_0x554e5c[_0x30758a(0x1e3)](getRangerDir),_0x2ee9eb);if(_0x21eb1c['cdpEndpoint']!==undefined&&_0x554e5c[_0x30758a(0x21c)](_0x21eb1c[_0x30758a(0x22f)][_0x30758a(0x242)](),''))throw new Error(_0x554e5c[_0x30758a(0x243)]);if(_0x21eb1c[_0x30758a(0x22f)]&&_0x21eb1c[_0x30758a(0x1f1)])throw new Error(_0x30758a(0x22c));if(_0x21eb1c['cdpEndpoint']&&_0x21eb1c['ci'])throw new Error(_0x30758a(0x210));const _0x8cf025=Boolean(_0x21eb1c[_0x30758a(0x22f)]),_0x370626=!_0x21eb1c[_0x30758a(0x214)]&&!_0x8cf025,_0x333f37=process[_0x30758a(0x231)]['isTTY']&&process[_0x30758a(0x1fe)]['isTTY'];if(!_0x333f37&&!_0x21eb1c['url']&&!_0x8cf025)throw new Error(_0x30758a(0x21f));const _0x131e5a=_0x554e5c[_0x30758a(0x241)](findExistingEnv,_0x2c67ba);let _0x2127b8=null;if(_0x131e5a){if(!_0x333f37)_0x2127b8=_0x131e5a;else{if(_0x131e5a[_0x30758a(0x216)]===_0x2ee9eb){const {overwrite:_0x529ed2}=await _0x472855[_0x30758a(0x245)]([{'type':_0x554e5c[_0x30758a(0x212)],'name':_0x554e5c[_0x30758a(0x236)],'message':'Profile\x20\x22'+_0x2c67ba+_0x30758a(0x227),'default':![]}]);if(!_0x529ed2){console[_0x30758a(0x233)](_0x554e5c[_0x30758a(0x23d)]);return;}_0x2127b8=_0x131e5a;}else{const _0x3f00e7=_0x131e5a[_0x30758a(0x216)]===_0x554e5c[_0x30758a(0x201)]?_0x554e5c['sxFiy']:_0x131e5a[_0x30758a(0x216)];console[_0x30758a(0x232)]('\x0aโš ๏ธ\x20\x20Profile\x20\x22'+_0x2c67ba+_0x30758a(0x1f6)+_0x3f00e7+':\x20'+_0x131e5a['path']),console[_0x30758a(0x232)]('\x20\x20\x20Creating\x20it\x20in\x20'+_0x2ee9eb+_0x30758a(0x204));const {shouldReplace:_0x542a8d}=await _0x472855[_0x30758a(0x245)]([{'type':_0x554e5c['ArANY'],'name':'shouldReplace','message':_0x30758a(0x20d)+_0x2ee9eb+'?','default':![]}]);if(!_0x542a8d){console['log'](_0x30758a(0x21a));return;}_0x2127b8=_0x131e5a;}}}_0x12a4f7?.[_0x30758a(0x22b)](_0x554e5c[_0x30758a(0x1d9)]);let _0x51b9ac='';if(_0x8cf025)console['log'](_0x554e5c['HJjla']),console[_0x30758a(0x233)](_0x30758a(0x1ee)+_0x21eb1c[_0x30758a(0x22f)]),console[_0x30758a(0x233)](_0x30758a(0x238));else{if(_0x21eb1c[_0x30758a(0x1f1)]){_0x51b9ac=_0x21eb1c['url'];const _0x592185=await _0x554e5c['QhROu'](checkUrlReachability,_0x51b9ac);if(!_0x592185['ok']&&!_0x21eb1c['force'])throw new Error(_0x30758a(0x20a)+_0x51b9ac+':\x20'+_0x592185[_0x30758a(0x232)]+_0x30758a(0x1fa));!_0x592185['ok']&&_0x21eb1c[_0x30758a(0x23e)]&&console['log'](_0x30758a(0x23c)+_0x51b9ac+':\x20'+_0x592185['error']+'\x20(continuing\x20with\x20--force)');}else{console[_0x30758a(0x233)]('\x0a๐ŸŒ\x20Profile\x20Setup\x0a'),console[_0x30758a(0x233)]('\x20\x20Make\x20sure\x20your\x20app\x20is\x20running\x20locally\x20before\x20continuing.'),console[_0x30758a(0x233)](_0x30758a(0x1fd));let _0x887d52=![];while(!![]){const _0x440f94=await _0x472855[_0x30758a(0x245)]([{'type':_0x554e5c['SSJav'],'name':_0x554e5c['kCeOd'],'message':_0x887d52?_0x30758a(0x222):'What\x20is\x20the\x20URL\x20of\x20your\x20running\x20app?','default':_0x51b9ac||_0x30758a(0x1f9)}]);_0x51b9ac=_0x440f94['baseUrl'];const _0x47dfa3=await _0x554e5c[_0x30758a(0x241)](checkUrlReachability,_0x51b9ac);if(_0x47dfa3['ok'])break;const _0x4664a3=/^[a-zA-Z][\w+.-]*:\/\//[_0x30758a(0x206)](_0x51b9ac),_0x1ae94a=_0x47dfa3['isProtocolError']&&!_0x4664a3,_0x9c5cd0=_0x1ae94a?_0x30758a(0x1f0)+_0x51b9ac:null;_0x887d52=!![],console[_0x30758a(0x233)](_0x30758a(0x1ed)+_0x51b9ac+':\x20'+_0x47dfa3[_0x30758a(0x232)]);_0x9c5cd0&&console[_0x30758a(0x233)]('\x20\x20Did\x20you\x20mean\x20'+_0x9c5cd0+'?');const {action:_0x3529ee}=await _0x472855[_0x30758a(0x245)]([{'type':_0x554e5c[_0x30758a(0x1ff)],'name':_0x554e5c['izkAf'],'message':_0x554e5c['wisfo'],'choices':[..._0x9c5cd0?[{'name':'Use\x20'+_0x9c5cd0,'value':'use_suggestion'}]:[],{'name':_0x554e5c['JrYeW'],'value':'retry'},{'name':_0x554e5c[_0x30758a(0x1f5)],'value':_0x554e5c['KXrEG']}]}]);if(_0x3529ee===_0x554e5c['TdJmo']&&_0x9c5cd0){_0x51b9ac=_0x9c5cd0;const _0x3b2be9=await checkUrlReachability(_0x51b9ac);if(_0x3b2be9['ok'])break;console['log'](_0x30758a(0x1e2)+_0x51b9ac+':\x20'+_0x3b2be9['error']);}else{if(_0x3529ee==='continue')break;}}}}_0x12a4f7?.[_0x30758a(0x207)](_0x30758a(0x20f)),await mkdir(_0x476af0,{'recursive':!![]});const _0x512258=await _0x554e5c[_0x30758a(0x218)](mkdtemp,_0x554e5c[_0x30758a(0x217)](join,_0x476af0,'.tmp-'+_0x2c67ba+'-')),_0x11a81d=_0x554e5c[_0x30758a(0x1de)](join,_0x512258,'auth.json');try{if(_0x370626){_0x12a4f7?.['trackPhaseStart'](_0x554e5c[_0x30758a(0x228)]),console[_0x30758a(0x233)](_0x30758a(0x20b)),console['log'](_0x554e5c['dwPwh']),console[_0x30758a(0x233)](_0x30758a(0x23f));!_0x333f37?(console[_0x30758a(0x233)]('\x0a\x20\x20\x20โš \x20This\x20step\x20requires\x20human\x20interaction\x20in\x20a\x20browser.'),console[_0x30758a(0x233)]('\x20\x20\x20If\x20you\x20are\x20an\x20agent,\x20background\x20this\x20process\x20and\x20let\x20your\x20user\x20know\x20they\x20need\x20to\x20complete\x20browser\x20authentication.\x0a')):console['log']('');await new Promise(_0x1e5691=>setTimeout(_0x1e5691,0xbb8));const _0x12408c=await chromium[_0x30758a(0x200)]({'headless':![]});try{const _0x5cdf5b=await _0x12408c['newContext']();await addProfileSetupBanner(_0x5cdf5b);const _0x1e7341=await _0x5cdf5b[_0x30758a(0x1dd)]();await _0x1e7341[_0x30758a(0x211)](_0x554e5c[_0x30758a(0x1f8)](_0x51b9ac,_0x554e5c['qZsPg'])),await new Promise(_0x5dff1a=>{const _0x4e310c=_0x30758a,_0x35bfc8={'GdLEi':function(_0x5a4589){const _0x1369b5=_0x67c9;return _0x554e5c[_0x1369b5(0x244)](_0x5a4589);}};_0x1e7341['on'](_0x4e310c(0x209),async()=>{try{console['log']('Saving\x20authentication\x20state...'),await _0x5cdf5b['storageState']({'path':_0x11a81d});}catch{}_0x35bfc8['GdLEi'](_0x5dff1a);});});}finally{await _0x12408c['close']()['catch'](()=>{});}if(_0x2ff2ef){const _0x5bbecd=await readFile(_0x11a81d,_0x554e5c['Xvlin']),_0x2c3142=await _0x554e5c['lJsrQ'](getToken);if(!_0x2c3142){console[_0x30758a(0x232)](_0x554e5c[_0x30758a(0x20e)]),await unlink(_0x11a81d)['catch'](()=>{});throw new Error('Missing\x20API\x20token;\x20aborting\x20CI\x20profile\x20creation.');}else{const _0x4b1b79=_0x554e5c['guYhS'](encrypt,_0x5bbecd,_0x2c3142);await _0x554e5c[_0x30758a(0x1de)](writeFile,_0x11a81d+'.enc',_0x4b1b79),await _0x554e5c['UnlgP'](unlink,_0x11a81d),console['log'](_0x30758a(0x1f7)+_0x11a81d+_0x30758a(0x1dc)),console['log']('\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.'),console[_0x30758a(0x233)]('\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.');}}else console[_0x30758a(0x233)]('โœ“\x20Auth\x20state\x20saved\x20to:\x20'+_0x11a81d);_0x12a4f7?.['trackPhaseEnd'](_0x554e5c['jrTgp']);}_0x12a4f7?.['trackPhaseStart'](_0x30758a(0x219));const _0x176752={};_0x51b9ac&&(_0x176752[_0x30758a(0x1fb)]=_0x51b9ac);_0x21eb1c['cdpEndpoint']&&(_0x176752[_0x30758a(0x22f)]=_0x21eb1c['cdpEndpoint'],_0x176752['isElectron']=!![]);await writeFile(_0x554e5c['AgyVk'](join,_0x512258,_0x30758a(0x213)),JSON[_0x30758a(0x226)](_0x176752,null,0x2)),console['log'](_0x30758a(0x237)+_0x554e5c[_0x30758a(0x1ec)](join,_0x4762e7,_0x554e5c[_0x30758a(0x225)]));if(_0x2127b8?.['location']===_0x2ee9eb){const _0x5d1db0=_0x2127b8[_0x30758a(0x1e0)]+'.backup-'+Date['now']();await _0x554e5c['Wmvov'](rename,_0x2127b8[_0x30758a(0x1e0)],_0x5d1db0);try{await _0x554e5c[_0x30758a(0x1e8)](rename,_0x512258,_0x4762e7);}catch(_0x40225c){await _0x554e5c['aZjra'](rename,_0x5d1db0,_0x2127b8[_0x30758a(0x1e0)]);throw _0x40225c;}try{await rm(_0x5d1db0,{'recursive':!![]});}catch{console['log'](_0x30758a(0x234)+_0x5d1db0);}}else{await _0x554e5c[_0x30758a(0x240)](rename,_0x512258,_0x4762e7);if(_0x2127b8)try{await rm(_0x2127b8[_0x30758a(0x1e0)],{'recursive':!![]}),console[_0x30758a(0x233)](_0x30758a(0x1f3)+_0x2127b8['path']);}catch{console['log']('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20at\x20'+_0x2127b8['path']);}}try{await writeActiveProfileName(_0x2c67ba),console['log']('\x20\x20Set\x20active\x20profile:\x20'+_0x2c67ba);}catch{console['log'](_0x30758a(0x221));}_0x12a4f7?.[_0x30758a(0x207)]('config_write'),console[_0x30758a(0x233)]('\x0a\x20\x20Profile\x20\x22'+_0x2c67ba+_0x30758a(0x23a));}catch(_0x4089c2){await rm(_0x512258,{'recursive':!![],'force':!![]});throw _0x4089c2;}}
@@ -1 +1 @@
1
- (function(_0x53d8d4,_0x5b0375){const _0xb670be=_0x477f,_0x33ecb7=_0x53d8d4();while(!![]){try{const _0x5205a7=-parseInt(_0xb670be(0x14d))/0x1*(parseInt(_0xb670be(0x14c))/0x2)+parseInt(_0xb670be(0x143))/0x3+parseInt(_0xb670be(0x14f))/0x4+-parseInt(_0xb670be(0x14a))/0x5*(-parseInt(_0xb670be(0x158))/0x6)+-parseInt(_0xb670be(0x149))/0x7*(-parseInt(_0xb670be(0x151))/0x8)+parseInt(_0xb670be(0x154))/0x9*(parseInt(_0xb670be(0x145))/0xa)+parseInt(_0xb670be(0x148))/0xb;if(_0x5205a7===_0x5b0375)break;else _0x33ecb7['push'](_0x33ecb7['shift']());}catch(_0x33ded3){_0x33ecb7['push'](_0x33ecb7['shift']());}}}(_0xe559,0x67fe1));import{readFile,writeFile}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{encrypt}from'./utils/crypto.js';function _0xe559(){const _0x41d316=['473436pwcmNs','No\x20auth.json\x20found\x20at\x20','338144WHHccw','\x0a\x20\x20The\x20plaintext\x20auth.json\x20is\x20gitignored\x20for\x20security.','\x20\x20The\x20encrypted\x20auth.json.enc\x20can\x20be\x20committed.','54UsACAw','\x0aโœ“\x20Encrypted\x20auth\x20saved\x20to:\x20','.enc','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','50172hJZnEs','utf-8','1276722qHvqKw','No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','263570GMQOTo','orSNd','\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','1468786nkDrow','7rtZTbj','50mUoSPH','.\x20Run\x20first:\x20ranger\x20profile\x20add\x20with\x20authentication,\x20or\x20ranger\x20profile\x20update','1071072QxUefi','1SLyQBt','log'];_0xe559=function(){return _0x41d316;};return _0xe559();}import{getToken}from'./utils/keychain.js';import{getEnvDir}from'./utils/settings.js';function _0x477f(_0x200391,_0x57e26c){_0x200391=_0x200391-0x142;const _0xe5593e=_0xe559();let _0x477fc7=_0xe5593e[_0x200391];return _0x477fc7;}export async function authEncrypt(_0x388e1b){const _0x16e57c=_0x477f,_0x5c59f7={'orSNd':function(_0x5276d2,_0x3f7c4a){return _0x5276d2(_0x3f7c4a);},'sAisv':function(_0x2a4c39,_0x3f814e){return _0x2a4c39+_0x3f814e;},'sKZGn':function(_0x12e56f){return _0x12e56f();}},_0x54b681=_0x5c59f7['orSNd'](getEnvDir,_0x388e1b),_0x3bcec0=join(_0x54b681,'auth.json'),_0x2653e5=_0x5c59f7['sAisv'](_0x3bcec0,_0x16e57c(0x156));if(!existsSync(_0x54b681))throw new Error('Profile\x20\x22'+_0x388e1b+'\x22\x20not\x20found.\x20Run\x20first:\x20ranger\x20profile\x20add\x20'+_0x388e1b);if(!existsSync(_0x3bcec0))throw new Error(_0x16e57c(0x150)+_0x3bcec0+_0x16e57c(0x14b));const _0x162593=await _0x5c59f7['sKZGn'](getToken);if(!_0x162593)throw new Error(_0x16e57c(0x144));const _0x4c96dc=await readFile(_0x3bcec0,_0x16e57c(0x142)),_0x17514c=encrypt(_0x4c96dc,_0x162593);await writeFile(_0x2653e5,_0x17514c),console['log'](_0x16e57c(0x155)+_0x2653e5),console['log'](_0x16e57c(0x157)),console['log'](_0x16e57c(0x147)),_0x5c59f7[_0x16e57c(0x146)](existsSync,_0x2653e5)&&(console['log'](_0x16e57c(0x152)),console[_0x16e57c(0x14e)](_0x16e57c(0x153)));}
1
+ function _0x3173(){const _0x34a987=['No\x20auth.json\x20found\x20at\x20','22qzNamR','utf-8','LOmIx','647470zbfHTS','BSeNL','70ETYitq','3590682pUMeGG','124617BjOwBj','\x20\x20The\x20encrypted\x20auth.json.enc\x20can\x20be\x20committed.','83502powxfE','YRoAE','24eLQDNY','log','\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','3665zohSVn','2020yPurpb','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','125092yXgQsw','\x0aโœ“\x20Encrypted\x20auth\x20saved\x20to:\x20','.enc','962381AobYKP'];_0x3173=function(){return _0x34a987;};return _0x3173();}(function(_0xcf1f42,_0x565662){const _0x3370e1=_0x441e,_0x51db5d=_0xcf1f42();while(!![]){try{const _0x1f95dc=parseInt(_0x3370e1(0xb3))/0x1+-parseInt(_0x3370e1(0xb0))/0x2*(-parseInt(_0x3370e1(0xa1))/0x3)+-parseInt(_0x3370e1(0xa9))/0x4*(-parseInt(_0x3370e1(0xa8))/0x5)+-parseInt(_0x3370e1(0xb6))/0x6+-parseInt(_0x3370e1(0xae))/0x7*(parseInt(_0x3370e1(0xa5))/0x8)+-parseInt(_0x3370e1(0xa3))/0x9+-parseInt(_0x3370e1(0xb5))/0xa*(parseInt(_0x3370e1(0xab))/0xb);if(_0x1f95dc===_0x565662)break;else _0x51db5d['push'](_0x51db5d['shift']());}catch(_0x5d7e5f){_0x51db5d['push'](_0x51db5d['shift']());}}}(_0x3173,0x5b802));function _0x441e(_0xfab364,_0x3fb9b7){_0xfab364=_0xfab364-0xa1;const _0x31735a=_0x3173();let _0x441e6f=_0x31735a[_0xfab364];return _0x441e6f;}import{readFile,writeFile}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getEnvDir}from'./utils/settings.js';export async function authEncrypt(_0x5e5aaf){const _0x312fd1=_0x441e,_0x1286a0={'BSeNL':function(_0x3224ba,_0x147fdf){return _0x3224ba+_0x147fdf;},'XUFiv':_0x312fd1(0xad),'LOmIx':function(_0x2e81ea,_0x2df984){return _0x2e81ea(_0x2df984);},'bWMpY':function(_0x1c327f){return _0x1c327f();},'cVJNb':function(_0x1f8e1e,_0x2f83aa,_0x29caf6){return _0x1f8e1e(_0x2f83aa,_0x29caf6);},'YRoAE':_0x312fd1(0xaa),'fDvYH':_0x312fd1(0xa7)},_0x23f9f6=getEnvDir(_0x5e5aaf),_0x259664=join(_0x23f9f6,'auth.json'),_0x516753=_0x1286a0[_0x312fd1(0xb4)](_0x259664,_0x1286a0['XUFiv']);if(!existsSync(_0x23f9f6))throw new Error('Profile\x20\x22'+_0x5e5aaf+'\x22\x20not\x20found.\x20Run\x20first:\x20ranger\x20profile\x20add\x20'+_0x5e5aaf);if(!_0x1286a0[_0x312fd1(0xb2)](existsSync,_0x259664))throw new Error(_0x312fd1(0xaf)+_0x259664+'.\x20Run\x20first:\x20ranger\x20profile\x20add\x20with\x20authentication,\x20or\x20ranger\x20profile\x20update');const _0x5dc659=await _0x1286a0['bWMpY'](getToken);if(!_0x5dc659)throw new Error('No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]');const _0x37dc47=await readFile(_0x259664,_0x312fd1(0xb1)),_0x4fd438=_0x1286a0['cVJNb'](encrypt,_0x37dc47,_0x5dc659);await writeFile(_0x516753,_0x4fd438),console[_0x312fd1(0xa6)](_0x312fd1(0xac)+_0x516753),console['log'](_0x1286a0[_0x312fd1(0xa4)]),console['log'](_0x1286a0['fDvYH']),existsSync(_0x516753)&&(console['log']('\x0a\x20\x20The\x20plaintext\x20auth.json\x20is\x20gitignored\x20for\x20security.'),console[_0x312fd1(0xa6)](_0x312fd1(0xa2)));}
@@ -1 +1 @@
1
- const _0x37012c=_0x20dd;function _0x20dd(_0x1de7bf,_0x1b92c3){_0x1de7bf=_0x1de7bf-0x1ae;const _0xe122ca=_0xe122();let _0x20dd05=_0xe122ca[_0x1de7bf];return _0x20dd05;}(function(_0x41c58c,_0x59bf26){const _0x4654ef=_0x20dd,_0x4155be=_0x41c58c();while(!![]){try{const _0x44b3ba=parseInt(_0x4654ef(0x1cb))/0x1*(parseInt(_0x4654ef(0x1ee))/0x2)+-parseInt(_0x4654ef(0x1b6))/0x3*(parseInt(_0x4654ef(0x1ec))/0x4)+parseInt(_0x4654ef(0x1dd))/0x5*(parseInt(_0x4654ef(0x1d7))/0x6)+parseInt(_0x4654ef(0x1c2))/0x7*(-parseInt(_0x4654ef(0x1c7))/0x8)+parseInt(_0x4654ef(0x1e0))/0x9*(parseInt(_0x4654ef(0x1d6))/0xa)+-parseInt(_0x4654ef(0x1cd))/0xb*(parseInt(_0x4654ef(0x1be))/0xc)+parseInt(_0x4654ef(0x1b8))/0xd;if(_0x44b3ba===_0x59bf26)break;else _0x4155be['push'](_0x4155be['shift']());}catch(_0x3e21b3){_0x4155be['push'](_0x4155be['shift']());}}}(_0xe122,0x83b71));import{rm,readFile,writeFile}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{spawn}from'child_process';import{deleteAllCredentials}from'./utils/keychain.js';import{getProjectSkillsDir,getUserSkillsDir}from'./utils/claudeConfig.js';import{getRangerDir}from'./utils/rangerRoot.js';import{getCacheFile}from'./utils/sessionCache.js';import{getOpencodeConfigDir,getOpencodeSkillsDir}from'./utils/opencodeConfig.js';const skillsToRemove=[_0x37012c(0x1c1),'feature-tracker',_0x37012c(0x1b5),'e2e-test-recommender'],opencodePluginName=_0x37012c(0x1de);function _0xe122(){const _0x456a28=['5ZrlCJZ','oCgCU','24090eTvwbl','OwIpW','\x0a๐Ÿงน\x20Cleaning\x20up\x20Ranger\x20artifacts...\x0a','TCXpD','โœ“\x20Removed\x20project\x20skill:\x20','log','YQLCQ','claude','tBIyd','20yCXgvY','57126FPyeCL','opencode.json','ranger@trailhead','TzKMZ','ukrpY','NqPVC','365wsryOV','@ranger-testing/opencode-plugin','parse','3411468zjCVge','qUGKf','push','lewrB','EQLLb','user','kSjco','Nothing\x20to\x20clean\x20up.\x0a','length','replace','uOWYo','utf-8','12sJLUFm','โœ“\x20Removed\x20.ranger/\x20directory','151878EEvJEZ','YHhce','win32','โœ“\x20Removed\x20user\x20skill:\x20','AKngK','โœ“\x20Removed\x20OpenCode\x20project\x20skill:\x20','stringify','PTqIX','bug-bash','78381YCuThc','plugin','3824366pPlmar','MRWpr','trailhead','string','WwsFN','dOjOE','2592rHrWZt','โœ“\x20Removed\x20stored\x20credentials','rFEpE','ranger','54124sPdPnx','project','tlwXU','nRQiC','pipe','1072nCpeVm','aMwDM','platform','โœ“\x20Uninstalled\x20Claude\x20plugin\x20(user\x20scope)'];_0xe122=function(){return _0x456a28;};return _0xe122();}function parseJsonc(_0x5aa4ad){const _0x2f6e66=_0x37012c,_0x54316e=_0x5aa4ad[_0x2f6e66(0x1e9)](/\/\*[\s\S]*?\*\//g,''),_0x3bd1b0=_0x54316e['replace'](/^\s*\/\/.*$/gm,''),_0x15fd9b=_0x3bd1b0['replace'](/,\s*([}\]])/g,'$1');return JSON[_0x2f6e66(0x1df)](_0x15fd9b);}async function removeOpencodePluginConfig(_0x41ecba){const _0x2f0a2b=_0x37012c,_0x1d88d2={'fjRRK':function(_0x45e05c,_0x2c8af0,_0xc37916){return _0x45e05c(_0x2c8af0,_0xc37916);},'TCXpD':_0x2f0a2b(0x1eb),'ukrpY':function(_0x24c4c8,_0x2b42f2){return _0x24c4c8===_0x2b42f2;},'AKngK':function(_0x4bd34f,_0x29d2d4){return _0x4bd34f+_0x29d2d4;}};if(!existsSync(_0x41ecba))return![];let _0x3b020e;try{const _0x570e10=await _0x1d88d2['fjRRK'](readFile,_0x41ecba,_0x1d88d2[_0x2f0a2b(0x1d0)]);_0x3b020e=parseJsonc(_0x570e10);}catch{return![];}const _0x32d527=Array['isArray'](_0x3b020e[_0x2f0a2b(0x1b7)])?_0x3b020e[_0x2f0a2b(0x1b7)]:[];if(_0x32d527['length']===0x0)return![];const _0x1aaa6f=_0x32d527['filter'](_0x53b939=>{const _0x45ea45=_0x2f0a2b;if(typeof _0x53b939!==_0x45ea45(0x1bb))return!![];return _0x53b939!==opencodePluginName;});if(_0x1d88d2[_0x2f0a2b(0x1db)](_0x1aaa6f[_0x2f0a2b(0x1e8)],_0x32d527['length']))return![];return _0x1d88d2[_0x2f0a2b(0x1db)](_0x1aaa6f[_0x2f0a2b(0x1e8)],0x0)?delete _0x3b020e['plugin']:_0x3b020e[_0x2f0a2b(0x1b7)]=_0x1aaa6f,await writeFile(_0x41ecba,_0x1d88d2[_0x2f0a2b(0x1b1)](JSON[_0x2f0a2b(0x1b3)](_0x3b020e,null,0x2),'\x0a')),!![];}async function uninstallClaudePlugin(_0x1c446d){const _0x532575={'KLGdL':function(_0x55e13d,_0x598341){return _0x55e13d===_0x598341;},'tfcvr':'plugin','oCgCU':'uninstall','DbACY':'win32','QGilq':'error'};return new Promise(_0x3f7fa8=>{const _0x33a6b3=_0x20dd,_0x2a2585={'kSjco':function(_0x73ea77,_0x22f580){return _0x532575['KLGdL'](_0x73ea77,_0x22f580);}},_0x2faf11=[_0x532575['tfcvr'],_0x532575[_0x33a6b3(0x1cc)],_0x33a6b3(0x1d9)];_0x1c446d&&_0x2faf11[_0x33a6b3(0x1e2)]('--scope',_0x1c446d);const _0x576f7d=spawn(_0x33a6b3(0x1d4),_0x2faf11,{'stdio':_0x33a6b3(0x1c6),'shell':process[_0x33a6b3(0x1c9)]===_0x532575['DbACY']});_0x576f7d['on']('close',_0x25541b=>{const _0x3e5e21=_0x33a6b3;_0x3f7fa8(_0x2a2585[_0x3e5e21(0x1e6)](_0x25541b,0x0));}),_0x576f7d['on'](_0x532575['QGilq'],()=>{_0x3f7fa8(![]);});});}async function removeMarketplace(){const _0x336638=_0x37012c,_0x26e061={'FgeBL':function(_0x5eabae,_0x40596e){return _0x5eabae===_0x40596e;},'TzKMZ':_0x336638(0x1d4),'jGvjX':_0x336638(0x1b7),'tBIyd':'marketplace','qUGKf':_0x336638(0x1c6),'uOWYo':_0x336638(0x1af),'rFEpE':'error'};return new Promise(_0x38ed7f=>{const _0x167715=_0x336638,_0x2130ee=spawn(_0x26e061[_0x167715(0x1da)],[_0x26e061['jGvjX'],_0x26e061[_0x167715(0x1d5)],'remove',_0x167715(0x1ba)],{'stdio':_0x26e061[_0x167715(0x1e1)],'shell':process['platform']===_0x26e061[_0x167715(0x1ea)]});_0x2130ee['on']('close',_0x21053a=>{_0x38ed7f(_0x26e061['FgeBL'](_0x21053a,0x0));}),_0x2130ee['on'](_0x26e061[_0x167715(0x1c0)],()=>{_0x38ed7f(![]);});});}export async function clean(){const _0x2aaee2=_0x37012c,_0x32bd7a={'dOjOE':function(_0xce4142){return _0xce4142();},'WwsFN':_0x2aaee2(0x1bf),'tlwXU':function(_0x2fed6d,_0x3dd9ee){return _0x2fed6d(_0x3dd9ee);},'nRQiC':function(_0x44cec0,_0x12c727,_0x304d81){return _0x44cec0(_0x12c727,_0x304d81);},'lewrB':function(_0x4c0dfa,_0x5855cd,_0x149583){return _0x4c0dfa(_0x5855cd,_0x149583);},'HOwOm':function(_0x3165a0){return _0x3165a0();},'PTqIX':function(_0x1f196c,_0x56a8ea,_0x2b148e){return _0x1f196c(_0x56a8ea,_0x2b148e);},'YQLCQ':function(_0x2dbcf7,_0x3e884c){return _0x2dbcf7(_0x3e884c);},'aMwDM':function(_0x5c731f,_0x2f0e8d,_0x5787e6){return _0x5c731f(_0x2f0e8d,_0x5787e6);},'MRWpr':function(_0x5710bc,_0x3db2f7){return _0x5710bc(_0x3db2f7);},'BzVge':function(_0x424415,_0x2569f5,_0x445975){return _0x424415(_0x2569f5,_0x445975);},'VKxQM':function(_0x4a7ef1,_0x5dc578){return _0x4a7ef1(_0x5dc578);},'OwIpW':_0x2aaee2(0x1c3),'HZSlZ':'โœ“\x20Removed\x20OpenCode\x20plugin\x20(project\x20config)','EQLLb':function(_0x4bfde8,_0x4581d7,_0x131870){return _0x4bfde8(_0x4581d7,_0x131870);},'HFWMJ':'โœ“\x20Removed\x20OpenCode\x20plugin\x20(user\x20config)','WMoZt':_0x2aaee2(0x1ca),'KATIQ':'โœ“\x20Uninstalled\x20Claude\x20plugin\x20(project\x20scope)','chbTg':function(_0x315a52){return _0x315a52();},'YHhce':'โœ“\x20Removed\x20trailhead\x20marketplace','NqPVC':'\x0aโœ…\x20Cleanup\x20complete!\x0a'};console[_0x2aaee2(0x1d2)](_0x2aaee2(0x1cf));let _0x2b6a25=![];try{await _0x32bd7a[_0x2aaee2(0x1bd)](deleteAllCredentials),console[_0x2aaee2(0x1d2)](_0x32bd7a[_0x2aaee2(0x1bc)]),_0x2b6a25=!![];}catch{}const _0x13a68c=getCacheFile();_0x32bd7a['tlwXU'](existsSync,_0x13a68c)&&(await rm(_0x13a68c),_0x2b6a25=!![]);const _0x46f2ef=getRangerDir();existsSync(_0x46f2ef)&&(await rm(_0x46f2ef,{'recursive':!![]}),console[_0x2aaee2(0x1d2)](_0x2aaee2(0x1ed)),_0x2b6a25=!![]);const _0x1688ef=_0x32bd7a['dOjOE'](getProjectSkillsDir);for(const _0x3b7c4d of skillsToRemove){const _0x51c275=_0x32bd7a['nRQiC'](join,_0x1688ef,_0x3b7c4d);existsSync(_0x51c275)&&(await _0x32bd7a[_0x2aaee2(0x1e3)](rm,_0x51c275,{'recursive':!![]}),console['log'](_0x2aaee2(0x1d1)+_0x3b7c4d),_0x2b6a25=!![]);}const _0x3cba9d=_0x32bd7a['HOwOm'](getUserSkillsDir);for(const _0x7618ca of skillsToRemove){const _0x25564f=_0x32bd7a[_0x2aaee2(0x1c5)](join,_0x3cba9d,_0x7618ca);_0x32bd7a[_0x2aaee2(0x1c4)](existsSync,_0x25564f)&&(await _0x32bd7a[_0x2aaee2(0x1b4)](rm,_0x25564f,{'recursive':!![]}),console['log'](_0x2aaee2(0x1b0)+_0x7618ca),_0x2b6a25=!![]);}const _0x206b36=_0x32bd7a['YQLCQ'](getOpencodeSkillsDir,'project');for(const _0x304418 of skillsToRemove){const _0x2d1df1=_0x32bd7a[_0x2aaee2(0x1c8)](join,_0x206b36,_0x304418);existsSync(_0x2d1df1)&&(await rm(_0x2d1df1,{'recursive':!![]}),console['log'](_0x2aaee2(0x1b2)+_0x304418),_0x2b6a25=!![]);}const _0x21f97d=_0x32bd7a['YQLCQ'](getOpencodeSkillsDir,_0x2aaee2(0x1e5));for(const _0x2eef1b of skillsToRemove){const _0x3d4ab5=join(_0x21f97d,_0x2eef1b);_0x32bd7a[_0x2aaee2(0x1b9)](existsSync,_0x3d4ab5)&&(await _0x32bd7a[_0x2aaee2(0x1c8)](rm,_0x3d4ab5,{'recursive':!![]}),console['log']('โœ“\x20Removed\x20OpenCode\x20user\x20skill:\x20'+_0x2eef1b),_0x2b6a25=!![]);}const _0x22598f=_0x32bd7a['BzVge'](join,_0x32bd7a['VKxQM'](getOpencodeConfigDir,_0x32bd7a['OwIpW']),_0x2aaee2(0x1d8));await removeOpencodePluginConfig(_0x22598f)&&(console[_0x2aaee2(0x1d2)](_0x32bd7a['HZSlZ']),_0x2b6a25=!![]);const _0x9956e5=_0x32bd7a[_0x2aaee2(0x1e4)](join,_0x32bd7a[_0x2aaee2(0x1b9)](getOpencodeConfigDir,_0x2aaee2(0x1e5)),'opencode.json');await _0x32bd7a[_0x2aaee2(0x1d3)](removeOpencodePluginConfig,_0x9956e5)&&(console['log'](_0x32bd7a['HFWMJ']),_0x2b6a25=!![]);const _0x5afbc4=await uninstallClaudePlugin();_0x5afbc4&&(console[_0x2aaee2(0x1d2)](_0x32bd7a['WMoZt']),_0x2b6a25=!![]);const _0x262b14=await uninstallClaudePlugin(_0x32bd7a[_0x2aaee2(0x1ce)]);_0x262b14&&(console[_0x2aaee2(0x1d2)](_0x32bd7a['KATIQ']),_0x2b6a25=!![]);const _0x5c50f7=await _0x32bd7a['chbTg'](removeMarketplace);_0x5c50f7&&(console['log'](_0x32bd7a[_0x2aaee2(0x1ae)]),_0x2b6a25=!![]),_0x2b6a25?console[_0x2aaee2(0x1d2)](_0x32bd7a[_0x2aaee2(0x1dc)]):console['log'](_0x2aaee2(0x1e7));}
1
+ const _0x3bd97d=_0x46ec;(function(_0x256eb9,_0x5b727a){const _0x7566c2=_0x46ec,_0x1628a9=_0x256eb9();while(!![]){try{const _0x501cb9=-parseInt(_0x7566c2(0x18c))/0x1+parseInt(_0x7566c2(0x179))/0x2+parseInt(_0x7566c2(0x196))/0x3+parseInt(_0x7566c2(0x1a4))/0x4*(-parseInt(_0x7566c2(0x16f))/0x5)+-parseInt(_0x7566c2(0x17d))/0x6*(parseInt(_0x7566c2(0x19c))/0x7)+parseInt(_0x7566c2(0x18d))/0x8+-parseInt(_0x7566c2(0x171))/0x9*(parseInt(_0x7566c2(0x177))/0xa);if(_0x501cb9===_0x5b727a)break;else _0x1628a9['push'](_0x1628a9['shift']());}catch(_0x463221){_0x1628a9['push'](_0x1628a9['shift']());}}}(_0x5fb2,0x783c8));import{rm,readFile,writeFile}from'fs/promises';import{join}from'path';function _0x46ec(_0x103dcb,_0x44925c){_0x103dcb=_0x103dcb-0x16c;const _0x5fb2f0=_0x5fb2();let _0x46ecc8=_0x5fb2f0[_0x103dcb];return _0x46ecc8;}import{existsSync}from'fs';function _0x5fb2(){const _0x29314c=['1511316PQjXuz','MvTKe','wVbFe','PotCf','close','VnqlW','20CRSowl','length','726850MXjiBU','string','tqKtx','pWpPv','10074oSjNLC','bRbEh','โœ“\x20Removed\x20project\x20skill:\x20','e2e-test-recommender','pPXBs','parse','โœ“\x20Removed\x20OpenCode\x20plugin\x20(user\x20config)','ranger@trailhead','claude','OylYV','โœ“\x20Removed\x20OpenCode\x20project\x20skill:\x20','RIuJw','plugin','log','โœ“\x20Removed\x20.ranger/\x20directory','326405zpNXDG','457424tlJdsT','push','โœ“\x20Removed\x20user\x20skill:\x20','jgyhD','AvXiN','PckLp','\x0aโœ…\x20Cleanup\x20complete!\x0a','stringify','trailhead','2559477owsEzJ','HCunI','โœ“\x20Removed\x20trailhead\x20marketplace','โœ“\x20Removed\x20OpenCode\x20user\x20skill:\x20','@ranger-testing/opencode-plugin','utf-8','245GgVGCd','project','FvLvl','SaCwY','pipe','EcvzR','pnHDW','Nothing\x20to\x20clean\x20up.\x0a','30128cDCMOi','EsUAu','PJgvB','SINAy','โœ“\x20Uninstalled\x20Claude\x20plugin\x20(project\x20scope)','KvBXh','replace','gqksW','40svjsKY','remove'];_0x5fb2=function(){return _0x29314c;};return _0x5fb2();}import{spawn}from'child_process';import{deleteAllCredentials}from'./utils/keychain.js';import{getProjectSkillsDir,getUserSkillsDir}from'./utils/claudeConfig.js';import{getRangerDir}from'./utils/rangerRoot.js';import{getCacheFile}from'./utils/sessionCache.js';import{getOpencodeConfigDir,getOpencodeSkillsDir}from'./utils/opencodeConfig.js';const skillsToRemove=['ranger','feature-tracker','bug-bash',_0x3bd97d(0x180)],opencodePluginName=_0x3bd97d(0x19a);function parseJsonc(_0x422f82){const _0x28b679=_0x3bd97d,_0xf89c93=_0x422f82[_0x28b679(0x16d)](/\/\*[\s\S]*?\*\//g,''),_0x4ede50=_0xf89c93[_0x28b679(0x16d)](/^\s*\/\/.*$/gm,''),_0x167653=_0x4ede50[_0x28b679(0x16d)](/,\s*([}\]])/g,'$1');return JSON[_0x28b679(0x182)](_0x167653);}async function removeOpencodePluginConfig(_0xc7702a){const _0x5a661f=_0x3bd97d,_0x222791={'pPXBs':_0x5a661f(0x17a),'wVbFe':function(_0x130d85,_0x117e92){return _0x130d85!==_0x117e92;},'AvXiN':function(_0x8f3ca8,_0x53ff10){return _0x8f3ca8(_0x53ff10);},'SOuIh':_0x5a661f(0x19b),'FvLvl':function(_0x10def4,_0x3e5594){return _0x10def4===_0x3e5594;},'vIMmj':function(_0x46488f,_0x2bb574,_0x28f9d2){return _0x46488f(_0x2bb574,_0x28f9d2);},'ZlyIM':function(_0x5e8a80,_0x490b6f){return _0x5e8a80+_0x490b6f;}};if(!_0x222791[_0x5a661f(0x191)](existsSync,_0xc7702a))return![];let _0x138851;try{const _0x4325c4=await readFile(_0xc7702a,_0x222791['SOuIh']);_0x138851=_0x222791[_0x5a661f(0x191)](parseJsonc,_0x4325c4);}catch{return![];}const _0x22d9fc=Array['isArray'](_0x138851['plugin'])?_0x138851[_0x5a661f(0x189)]:[];if(_0x222791['FvLvl'](_0x22d9fc[_0x5a661f(0x178)],0x0))return![];const _0x2a4274=_0x22d9fc['filter'](_0x586a26=>{const _0x1dae72=_0x5a661f;if(typeof _0x586a26!==_0x222791[_0x1dae72(0x181)])return!![];return _0x222791[_0x1dae72(0x173)](_0x586a26,opencodePluginName);});if(_0x222791[_0x5a661f(0x19e)](_0x2a4274[_0x5a661f(0x178)],_0x22d9fc['length']))return![];return _0x2a4274[_0x5a661f(0x178)]===0x0?delete _0x138851['plugin']:_0x138851['plugin']=_0x2a4274,await _0x222791['vIMmj'](writeFile,_0xc7702a,_0x222791['ZlyIM'](JSON[_0x5a661f(0x194)](_0x138851,null,0x2),'\x0a')),!![];}async function uninstallClaudePlugin(_0x3fbc66){const _0x2d32fe=_0x3bd97d,_0x2f2cfd={'tHzzX':_0x2d32fe(0x189),'KvBXh':_0x2d32fe(0x184),'HCunI':function(_0x497b58,_0x4ffe68,_0x49f1e4,_0x36bcf3){return _0x497b58(_0x4ffe68,_0x49f1e4,_0x36bcf3);},'gqAGO':_0x2d32fe(0x185),'jgyhD':'win32','SINAy':'error'};return new Promise(_0x2133ff=>{const _0x5c8354=_0x2d32fe,_0x1ebe17=[_0x2f2cfd['tHzzX'],'uninstall',_0x2f2cfd[_0x5c8354(0x16c)]];_0x3fbc66&&_0x1ebe17[_0x5c8354(0x18e)]('--scope',_0x3fbc66);const _0x5b6bd1=_0x2f2cfd[_0x5c8354(0x197)](spawn,_0x2f2cfd['gqAGO'],_0x1ebe17,{'stdio':_0x5c8354(0x1a0),'shell':process['platform']===_0x2f2cfd[_0x5c8354(0x190)]});_0x5b6bd1['on']('close',_0x189c39=>{_0x2133ff(_0x189c39===0x0);}),_0x5b6bd1['on'](_0x2f2cfd[_0x5c8354(0x1a7)],()=>{_0x2133ff(![]);});});}async function removeMarketplace(){const _0x1c3785=_0x3bd97d,_0x3cb7f1={'bRbEh':function(_0x17c214,_0x1b0214){return _0x17c214(_0x1b0214);},'PotCf':_0x1c3785(0x189),'HXaVA':_0x1c3785(0x170),'BxBFy':_0x1c3785(0x195),'pWpPv':_0x1c3785(0x175),'gqksW':'error'};return new Promise(_0x66668d=>{const _0x4c5fec=_0x1c3785,_0xa1a11c={'NEcET':function(_0x20f47e,_0x5e568c){return _0x20f47e(_0x5e568c);},'OylYV':function(_0x4f9539,_0x281277){return _0x4f9539===_0x281277;}},_0x51831a=spawn(_0x4c5fec(0x185),[_0x3cb7f1[_0x4c5fec(0x174)],'marketplace',_0x3cb7f1['HXaVA'],_0x3cb7f1['BxBFy']],{'stdio':'pipe','shell':process['platform']==='win32'});_0x51831a['on'](_0x3cb7f1[_0x4c5fec(0x17c)],_0x35e71a=>{const _0x15c290=_0x4c5fec;_0xa1a11c['NEcET'](_0x66668d,_0xa1a11c[_0x15c290(0x186)](_0x35e71a,0x0));}),_0x51831a['on'](_0x3cb7f1[_0x4c5fec(0x16e)],()=>{const _0x4f48cd=_0x4c5fec;_0x3cb7f1[_0x4f48cd(0x17e)](_0x66668d,![]);});});}export async function clean(){const _0x17b4b6=_0x3bd97d,_0x6cac90={'EcvzR':function(_0x5e0e5d){return _0x5e0e5d();},'PJgvB':function(_0x1140a3){return _0x1140a3();},'neUwF':function(_0x2088ee,_0x32cb3c){return _0x2088ee(_0x32cb3c);},'PckLp':function(_0x39c38d,_0x10b7b9){return _0x39c38d(_0x10b7b9);},'HAGvG':function(_0x4e3913,_0x10d6c5){return _0x4e3913(_0x10d6c5);},'tqKtx':function(_0x18e8d4,_0x35b1ff,_0x22ee29){return _0x18e8d4(_0x35b1ff,_0x22ee29);},'pnHDW':function(_0x272b4e,_0x9d61e,_0x196572){return _0x272b4e(_0x9d61e,_0x196572);},'MvTKe':function(_0x21738a,_0x5f530a,_0x54ab75){return _0x21738a(_0x5f530a,_0x54ab75);},'SaCwY':function(_0x4cd7ae,_0x14b564){return _0x4cd7ae(_0x14b564);},'VnqlW':function(_0x3162d6,_0x519afd){return _0x3162d6(_0x519afd);},'ymayX':function(_0x33b8b7,_0x93ac68,_0x1fb624){return _0x33b8b7(_0x93ac68,_0x1fb624);},'EsUAu':function(_0x3fd7bc,_0x1e978f,_0x146253){return _0x3fd7bc(_0x1e978f,_0x146253);},'qBAgk':'opencode.json','fjxlk':function(_0x164012,_0x7c62f4){return _0x164012(_0x7c62f4);},'GUVWh':'โœ“\x20Uninstalled\x20Claude\x20plugin\x20(user\x20scope)','LxJqb':_0x17b4b6(0x1a8),'RIuJw':_0x17b4b6(0x193),'VIcGb':_0x17b4b6(0x1a3)};console[_0x17b4b6(0x18a)]('\x0a๐Ÿงน\x20Cleaning\x20up\x20Ranger\x20artifacts...\x0a');let _0x5d1e13=![];try{await _0x6cac90['EcvzR'](deleteAllCredentials),console[_0x17b4b6(0x18a)]('โœ“\x20Removed\x20stored\x20credentials'),_0x5d1e13=!![];}catch{}const _0x23f94b=_0x6cac90[_0x17b4b6(0x1a6)](getCacheFile);_0x6cac90['neUwF'](existsSync,_0x23f94b)&&(await _0x6cac90[_0x17b4b6(0x192)](rm,_0x23f94b),_0x5d1e13=!![]);const _0x490de9=_0x6cac90[_0x17b4b6(0x1a1)](getRangerDir);_0x6cac90['HAGvG'](existsSync,_0x490de9)&&(await _0x6cac90[_0x17b4b6(0x17b)](rm,_0x490de9,{'recursive':!![]}),console[_0x17b4b6(0x18a)](_0x17b4b6(0x18b)),_0x5d1e13=!![]);const _0x5e2340=getProjectSkillsDir();for(const _0x5bb968 of skillsToRemove){const _0xb4e6d1=join(_0x5e2340,_0x5bb968);_0x6cac90['HAGvG'](existsSync,_0xb4e6d1)&&(await _0x6cac90['pnHDW'](rm,_0xb4e6d1,{'recursive':!![]}),console[_0x17b4b6(0x18a)](_0x17b4b6(0x17f)+_0x5bb968),_0x5d1e13=!![]);}const _0x1552a2=getUserSkillsDir();for(const _0x435a7a of skillsToRemove){const _0x399a3b=_0x6cac90[_0x17b4b6(0x1a2)](join,_0x1552a2,_0x435a7a);existsSync(_0x399a3b)&&(await _0x6cac90[_0x17b4b6(0x172)](rm,_0x399a3b,{'recursive':!![]}),console['log'](_0x17b4b6(0x18f)+_0x435a7a),_0x5d1e13=!![]);}const _0x6e4961=_0x6cac90[_0x17b4b6(0x192)](getOpencodeSkillsDir,'project');for(const _0x40ebbe of skillsToRemove){const _0x3ca589=join(_0x6e4961,_0x40ebbe);existsSync(_0x3ca589)&&(await _0x6cac90[_0x17b4b6(0x17b)](rm,_0x3ca589,{'recursive':!![]}),console[_0x17b4b6(0x18a)](_0x17b4b6(0x187)+_0x40ebbe),_0x5d1e13=!![]);}const _0x5a3a93=_0x6cac90[_0x17b4b6(0x19f)](getOpencodeSkillsDir,'user');for(const _0x410f15 of skillsToRemove){const _0x22d371=_0x6cac90[_0x17b4b6(0x17b)](join,_0x5a3a93,_0x410f15);_0x6cac90[_0x17b4b6(0x176)](existsSync,_0x22d371)&&(await _0x6cac90['ymayX'](rm,_0x22d371,{'recursive':!![]}),console['log'](_0x17b4b6(0x199)+_0x410f15),_0x5d1e13=!![]);}const _0x1f16f8=_0x6cac90[_0x17b4b6(0x1a5)](join,_0x6cac90['neUwF'](getOpencodeConfigDir,_0x17b4b6(0x19d)),_0x6cac90['qBAgk']);await _0x6cac90['PckLp'](removeOpencodePluginConfig,_0x1f16f8)&&(console[_0x17b4b6(0x18a)]('โœ“\x20Removed\x20OpenCode\x20plugin\x20(project\x20config)'),_0x5d1e13=!![]);const _0x3aeba9=join(getOpencodeConfigDir('user'),'opencode.json');await _0x6cac90['fjxlk'](removeOpencodePluginConfig,_0x3aeba9)&&(console['log'](_0x17b4b6(0x183)),_0x5d1e13=!![]);const _0x28bf3f=await uninstallClaudePlugin();_0x28bf3f&&(console[_0x17b4b6(0x18a)](_0x6cac90['GUVWh']),_0x5d1e13=!![]);const _0x5eb2ac=await uninstallClaudePlugin('project');_0x5eb2ac&&(console[_0x17b4b6(0x18a)](_0x6cac90['LxJqb']),_0x5d1e13=!![]);const _0x33dd5a=await removeMarketplace();_0x33dd5a&&(console['log'](_0x17b4b6(0x198)),_0x5d1e13=!![]),_0x5d1e13?console[_0x17b4b6(0x18a)](_0x6cac90[_0x17b4b6(0x188)]):console['log'](_0x6cac90['VIcGb']);}
@@ -1 +1 @@
1
- const _0x38c3b8=_0x548f;(function(_0x873ad3,_0x549c09){const _0x21208a=_0x548f,_0x41f32f=_0x873ad3();while(!![]){try{const _0x310326=parseInt(_0x21208a(0x1c7))/0x1+parseInt(_0x21208a(0x1ce))/0x2*(parseInt(_0x21208a(0x1bb))/0x3)+-parseInt(_0x21208a(0x1d3))/0x4*(-parseInt(_0x21208a(0x1c2))/0x5)+parseInt(_0x21208a(0x1c8))/0x6+parseInt(_0x21208a(0x1cd))/0x7*(-parseInt(_0x21208a(0x1bd))/0x8)+-parseInt(_0x21208a(0x1c4))/0x9*(parseInt(_0x21208a(0x1d4))/0xa)+parseInt(_0x21208a(0x1c3))/0xb*(parseInt(_0x21208a(0x1d0))/0xc);if(_0x310326===_0x549c09)break;else _0x41f32f['push'](_0x41f32f['shift']());}catch(_0x537678){_0x41f32f['push'](_0x41f32f['shift']());}}}(_0x590d,0x311c0));function _0x548f(_0xa93f44,_0x31502e){_0xa93f44=_0xa93f44-0x1bb;const _0x590de0=_0x590d();let _0x548fe1=_0x590de0[_0xa93f44];return _0x548fe1;}import{existsSync}from'fs';import{loadSettings,saveSettings,getNestedValue,setNestedValue,deleteNestedValue,formatSettings,getSettingsPath,getEnvDir}from'./utils/settings.js';const BOOLEAN_KEYS=[_0x38c3b8(0x1c1)];function parseValue(_0x2d3fc8,_0x2e60d6){const _0x7b18de=_0x38c3b8,_0x3b311f={'UBXxE':'true'};if(BOOLEAN_KEYS[_0x7b18de(0x1c0)](_0x2d3fc8)){if(_0x2e60d6===_0x3b311f[_0x7b18de(0x1bf)])return!![];if(_0x2e60d6===_0x7b18de(0x1c5))return![];throw new Error('Invalid\x20value\x20for\x20'+_0x2d3fc8+':\x20expected\x20\x22true\x22\x20or\x20\x22false\x22');}return _0x2e60d6;}export async function configSet(_0xd74b54,_0x25c3d1,_0x1fa1ea){const _0x498958=_0x38c3b8,_0x557072={'WWrEE':function(_0x1d04a7,_0x1695a4){return _0x1d04a7(_0x1695a4);},'TGuPa':function(_0x15aabe,_0x57883b,_0x515cfc){return _0x15aabe(_0x57883b,_0x515cfc);}},_0x41419c=_0x557072['WWrEE'](getEnvDir,_0xd74b54);if(!_0x557072[_0x498958(0x1d2)](existsSync,_0x41419c))throw new Error('Profile\x20\x22'+_0xd74b54+_0x498958(0x1cc)+_0xd74b54);const _0x5df520=await _0x557072[_0x498958(0x1d2)](loadSettings,_0xd74b54),_0x488917=parseValue(_0x25c3d1,_0x1fa1ea);setNestedValue(_0x5df520,_0x25c3d1,_0x488917),await _0x557072['TGuPa'](saveSettings,_0xd74b54,_0x5df520),console[_0x498958(0x1ca)]('Set\x20'+_0x25c3d1+_0x498958(0x1bc)+_0x488917);}export async function configGet(_0x3346ab,_0x13a5d7){const _0x4125be=_0x38c3b8,_0x38bd55={'SajlJ':function(_0x572086,_0x3f5f89){return _0x572086(_0x3f5f89);},'Xwhfd':function(_0x475179,_0x15fb70){return _0x475179===_0x15fb70;},'qqBUg':'object'},_0x4cd0fe=_0x38bd55[_0x4125be(0x1c6)](getEnvDir,_0x3346ab);if(!_0x38bd55['SajlJ'](existsSync,_0x4cd0fe))throw new Error('Profile\x20\x22'+_0x3346ab+_0x4125be(0x1be));const _0x20b93b=await loadSettings(_0x3346ab),_0x1351cb=getNestedValue(_0x20b93b,_0x13a5d7);if(_0x38bd55[_0x4125be(0x1d1)](_0x1351cb,undefined))console['log']('(not\x20set)');else typeof _0x1351cb===_0x38bd55['qqBUg']?console[_0x4125be(0x1ca)](JSON['stringify'](_0x1351cb,null,0x2)):console['log'](_0x1351cb);}function _0x590d(){const _0x5d150e=['includes','headless','235FyNJTI','11yPNFeh','207eRVjTT','false','SajlJ','60344WqERqT','326868THGBoj','Profile\x20\x22','log','cITOX','\x22\x20does\x20not\x20exist.\x20Run:\x20ranger\x20profile\x20add\x20','549353ZYhNvj','2HgLGXm','WggiS','590676OZhkdw','Xwhfd','WWrEE','4776XIQDTk','60770FnmCwq','833154tReUWE','\x20=\x20','16wAHdIz','\x22\x20does\x20not\x20exist.','UBXxE'];_0x590d=function(){return _0x5d150e;};return _0x590d();}export async function configList(_0x14ea5d){const _0x303205=_0x38c3b8,_0x5b5ec0={'WggiS':function(_0x5d04be,_0x23feb8){return _0x5d04be(_0x23feb8);},'JndDL':function(_0x5aa098,_0x196a50){return _0x5aa098(_0x196a50);}},_0x23f3b0=_0x5b5ec0[_0x303205(0x1cf)](getSettingsPath,_0x14ea5d);if(!_0x5b5ec0['JndDL'](existsSync,_0x23f3b0)){const _0x2b9125=_0x5b5ec0['JndDL'](getEnvDir,_0x14ea5d);if(!existsSync(_0x2b9125))throw new Error(_0x303205(0x1c9)+_0x14ea5d+_0x303205(0x1be));console[_0x303205(0x1ca)]('No\x20configuration\x20set\x20for\x20\x22'+_0x14ea5d+'\x22');return;}const _0x19e00c=await _0x5b5ec0['JndDL'](loadSettings,_0x14ea5d),_0xa94bf4=_0x5b5ec0['JndDL'](formatSettings,_0x19e00c);!_0xa94bf4?console[_0x303205(0x1ca)]('No\x20configuration\x20set\x20for\x20\x22'+_0x14ea5d+'\x22'):console['log'](_0xa94bf4);}export async function configUnset(_0x44e86d,_0x29345d){const _0x4e1db3=_0x38c3b8,_0x2f11f8={'cITOX':function(_0x23e4d8,_0x5407be){return _0x23e4d8(_0x5407be);},'CrgLz':function(_0x181700,_0x4ea07b,_0x1d5dfb){return _0x181700(_0x4ea07b,_0x1d5dfb);}},_0x4339dd=_0x2f11f8[_0x4e1db3(0x1cb)](getEnvDir,_0x44e86d);if(!existsSync(_0x4339dd))throw new Error('Profile\x20\x22'+_0x44e86d+_0x4e1db3(0x1be));const _0x10ea1c=await _0x2f11f8['cITOX'](loadSettings,_0x44e86d),_0x2e4160=deleteNestedValue(_0x10ea1c,_0x29345d);_0x2e4160?(await _0x2f11f8['CrgLz'](saveSettings,_0x44e86d,_0x10ea1c),console['log']('Removed\x20'+_0x29345d)):console['log']('Key\x20\x22'+_0x29345d+'\x22\x20not\x20found');}
1
+ const _0x212479=_0x2298;(function(_0x15cdd5,_0x510a88){const _0x5604a0=_0x2298,_0x3661ee=_0x15cdd5();while(!![]){try{const _0x53a33b=-parseInt(_0x5604a0(0x1cc))/0x1+-parseInt(_0x5604a0(0x1e4))/0x2+parseInt(_0x5604a0(0x1ca))/0x3*(-parseInt(_0x5604a0(0x1d0))/0x4)+parseInt(_0x5604a0(0x1e3))/0x5+-parseInt(_0x5604a0(0x1cd))/0x6+-parseInt(_0x5604a0(0x1d7))/0x7+parseInt(_0x5604a0(0x1d4))/0x8;if(_0x53a33b===_0x510a88)break;else _0x3661ee['push'](_0x3661ee['shift']());}catch(_0x7af419){_0x3661ee['push'](_0x3661ee['shift']());}}}(_0x53de,0x3ece4));function _0x53de(){const _0x32a126=['true','4BVQotR','No\x20configuration\x20set\x20for\x20\x22','wXShO','MGMbp','13038288Msijia','Profile\x20\x22','false','3108413kAxQbr','YsoZj','vPQuB','\x22\x20does\x20not\x20exist.\x20Run:\x20ranger\x20profile\x20add\x20','\x22\x20not\x20found','log','uyjbC','\x22\x20does\x20not\x20exist.','headless','includes','OfHUO','\x20=\x20','1425840pKKutb','858966VBgYTK','Set\x20','1065417Fhysue','pVuds','384086iBFXzW','269610HxjLLM','Key\x20\x22'];_0x53de=function(){return _0x32a126;};return _0x53de();}import{existsSync}from'fs';import{loadSettings,saveSettings,getNestedValue,setNestedValue,deleteNestedValue,formatSettings,getSettingsPath,getEnvDir}from'./utils/settings.js';const BOOLEAN_KEYS=[_0x212479(0x1df)];function parseValue(_0xb4ac5f,_0x15c71e){const _0x18fcfb=_0x212479;if(BOOLEAN_KEYS[_0x18fcfb(0x1e0)](_0xb4ac5f)){if(_0x15c71e===_0x18fcfb(0x1cf))return!![];if(_0x15c71e===_0x18fcfb(0x1d6))return![];throw new Error('Invalid\x20value\x20for\x20'+_0xb4ac5f+':\x20expected\x20\x22true\x22\x20or\x20\x22false\x22');}return _0x15c71e;}export async function configSet(_0x3fa1fd,_0x45b02f,_0x24f680){const _0x3b36e9=_0x212479,_0x4b4bf1={'MGMbp':function(_0x426a2f,_0x3438b0){return _0x426a2f(_0x3438b0);},'vPQuB':function(_0x5c5592,_0x30f5b9,_0xc15548){return _0x5c5592(_0x30f5b9,_0xc15548);}},_0x41ec9e=_0x4b4bf1[_0x3b36e9(0x1d3)](getEnvDir,_0x3fa1fd);if(!existsSync(_0x41ec9e))throw new Error('Profile\x20\x22'+_0x3fa1fd+_0x3b36e9(0x1da)+_0x3fa1fd);const _0x211c50=await loadSettings(_0x3fa1fd),_0x49674d=_0x4b4bf1[_0x3b36e9(0x1d9)](parseValue,_0x45b02f,_0x24f680);setNestedValue(_0x211c50,_0x45b02f,_0x49674d),await saveSettings(_0x3fa1fd,_0x211c50),console['log'](_0x3b36e9(0x1c9)+_0x45b02f+_0x3b36e9(0x1e2)+_0x49674d);}export async function configGet(_0x5f4be0,_0x52344e){const _0x3cc8d7=_0x212479,_0x1a71a3={'uyjbC':function(_0x1edbcd,_0x53cfec){return _0x1edbcd(_0x53cfec);},'yMQWp':function(_0x3280c4,_0x35ce07){return _0x3280c4(_0x35ce07);},'YsoZj':'object'},_0x224762=_0x1a71a3[_0x3cc8d7(0x1dd)](getEnvDir,_0x5f4be0);if(!_0x1a71a3['yMQWp'](existsSync,_0x224762))throw new Error('Profile\x20\x22'+_0x5f4be0+_0x3cc8d7(0x1de));const _0x46aad8=await loadSettings(_0x5f4be0),_0x573bb0=getNestedValue(_0x46aad8,_0x52344e);if(_0x573bb0===undefined)console['log']('(not\x20set)');else typeof _0x573bb0===_0x1a71a3[_0x3cc8d7(0x1d8)]?console[_0x3cc8d7(0x1dc)](JSON['stringify'](_0x573bb0,null,0x2)):console[_0x3cc8d7(0x1dc)](_0x573bb0);}export async function configList(_0x14baac){const _0x5c2b37=_0x212479,_0x553e37={'wXShO':function(_0x5bf4e9,_0x5901bf){return _0x5bf4e9(_0x5901bf);},'OfHUO':function(_0x204cc4,_0x490582){return _0x204cc4(_0x490582);}},_0x24fe12=getSettingsPath(_0x14baac);if(!existsSync(_0x24fe12)){const _0x4c3df8=_0x553e37['wXShO'](getEnvDir,_0x14baac);if(!_0x553e37[_0x5c2b37(0x1e1)](existsSync,_0x4c3df8))throw new Error(_0x5c2b37(0x1d5)+_0x14baac+_0x5c2b37(0x1de));console['log']('No\x20configuration\x20set\x20for\x20\x22'+_0x14baac+'\x22');return;}const _0x505cdd=await _0x553e37[_0x5c2b37(0x1e1)](loadSettings,_0x14baac),_0x4014f1=_0x553e37[_0x5c2b37(0x1d2)](formatSettings,_0x505cdd);!_0x4014f1?console['log'](_0x5c2b37(0x1d1)+_0x14baac+'\x22'):console['log'](_0x4014f1);}function _0x2298(_0x3452c6,_0x569d13){_0x3452c6=_0x3452c6-0x1c9;const _0x53dea2=_0x53de();let _0x229840=_0x53dea2[_0x3452c6];return _0x229840;}export async function configUnset(_0x901512,_0x92b537){const _0x10aeba=_0x212479,_0x2e393d={'pVuds':function(_0x5315b5,_0xb5d05e,_0x50ea3a){return _0x5315b5(_0xb5d05e,_0x50ea3a);}},_0x5ae5e4=getEnvDir(_0x901512);if(!existsSync(_0x5ae5e4))throw new Error(_0x10aeba(0x1d5)+_0x901512+_0x10aeba(0x1de));const _0x155295=await loadSettings(_0x901512),_0x44ca3f=_0x2e393d[_0x10aeba(0x1cb)](deleteNestedValue,_0x155295,_0x92b537);_0x44ca3f?(await saveSettings(_0x901512,_0x155295),console['log']('Removed\x20'+_0x92b537)):console[_0x10aeba(0x1dc)](_0x10aeba(0x1ce)+_0x92b537+_0x10aeba(0x1db));}