@ranger-testing/ranger-cli 2.4.2 โ†’ 2.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/env.js +1 -1
  7. package/build/commands/feature.js +1 -1
  8. package/build/commands/hook.js +1 -1
  9. package/build/commands/hooks/autoPrompt.js +1 -1
  10. package/build/commands/hooks/disable.js +1 -1
  11. package/build/commands/hooks/enable.js +1 -1
  12. package/build/commands/hooks/exitPlanMode.js +1 -1
  13. package/build/commands/hooks/index.js +1 -1
  14. package/build/commands/hooks/output.js +1 -1
  15. package/build/commands/hooks/planReminder.js +1 -1
  16. package/build/commands/hooks/planStart.js +1 -1
  17. package/build/commands/hooks/postEdit.js +1 -1
  18. package/build/commands/hooks/preCompact.js +1 -1
  19. package/build/commands/hooks/sessionEnd.js +1 -1
  20. package/build/commands/hooks/sessionStart.js +1 -1
  21. package/build/commands/hooks/stopHook.js +1 -1
  22. package/build/commands/index.js +1 -1
  23. package/build/commands/login.js +1 -1
  24. package/build/commands/setup/claude.js +1 -1
  25. package/build/commands/setup/opencode.js +1 -1
  26. package/build/commands/setupCi.js +1 -1
  27. package/build/commands/skillup.js +1 -1
  28. package/build/commands/start.js +1 -1
  29. package/build/commands/status.js +1 -1
  30. package/build/commands/update.js +1 -1
  31. package/build/commands/updateEnv.js +1 -1
  32. package/build/commands/useEnv.js +1 -1
  33. package/build/commands/utils/activeProfile.js +1 -1
  34. package/build/commands/utils/agentEnv.js +1 -1
  35. package/build/commands/utils/browserSessionsApi.js +1 -1
  36. package/build/commands/utils/claudeConfig.js +1 -1
  37. package/build/commands/utils/claudePlugin.js +1 -1
  38. package/build/commands/utils/crypto.js +1 -1
  39. package/build/commands/utils/desirePathLog.js +1 -1
  40. package/build/commands/utils/deviceAuth.js +1 -1
  41. package/build/commands/utils/environment.js +1 -1
  42. package/build/commands/utils/featureApi.js +1 -1
  43. package/build/commands/utils/featureReportGenerator.js +1 -1
  44. package/build/commands/utils/fixWebmDuration.js +1 -1
  45. package/build/commands/utils/git.js +1 -1
  46. package/build/commands/utils/keychain.js +1 -1
  47. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  48. package/build/commands/utils/mcpImageBase64.js +1 -1
  49. package/build/commands/utils/model.js +1 -1
  50. package/build/commands/utils/opencodeConfig.js +1 -1
  51. package/build/commands/utils/playwrightCli.js +1 -1
  52. package/build/commands/utils/profileMessages.js +1 -1
  53. package/build/commands/utils/profileSetupBanner.js +1 -1
  54. package/build/commands/utils/rangerConfig.js +1 -1
  55. package/build/commands/utils/rangerRoot.js +1 -1
  56. package/build/commands/utils/reportGenerator.js +1 -1
  57. package/build/commands/utils/retry.js +1 -1
  58. package/build/commands/utils/sessionCache.js +1 -1
  59. package/build/commands/utils/settings.js +1 -1
  60. package/build/commands/utils/skillContent.js +1 -1
  61. package/build/commands/utils/skills.js +1 -1
  62. package/build/commands/utils/stitchWebmFiles.js +1 -1
  63. package/build/commands/utils/telemetry.js +1 -1
  64. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  65. package/build/commands/utils/userApi.js +1 -1
  66. package/build/commands/utils/version.js +1 -1
  67. package/build/commands/verifyFeature.js +1 -1
  68. package/build/commands/verifyFeatureCli.js +1 -1
  69. package/build/commands/verifyInBrowser.js +1 -1
  70. package/package.json +1 -1
package/build/cli.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const _0x4b19d6=_0x1b3d;(function(_0x116de2,_0x1781f7){const _0x1d4884=_0x1b3d,_0x2a05ec=_0x116de2();while(!![]){try{const _0x255a45=parseInt(_0x1d4884(0x1b2))/0x1*(-parseInt(_0x1d4884(0x1a2))/0x2)+-parseInt(_0x1d4884(0x29e))/0x3*(-parseInt(_0x1d4884(0x219))/0x4)+-parseInt(_0x1d4884(0x20c))/0x5+parseInt(_0x1d4884(0x21e))/0x6*(-parseInt(_0x1d4884(0x199))/0x7)+parseInt(_0x1d4884(0x2a9))/0x8*(-parseInt(_0x1d4884(0x279))/0x9)+-parseInt(_0x1d4884(0x244))/0xa*(parseInt(_0x1d4884(0x2c6))/0xb)+parseInt(_0x1d4884(0x257))/0xc;if(_0x255a45===_0x1781f7)break;else _0x2a05ec['push'](_0x2a05ec['shift']());}catch(_0x530dd2){_0x2a05ec['push'](_0x2a05ec['shift']());}}}(_0x39c5,0x5f226));import _0x5c600c from'dotenv';import{dirname,join,parse}from'path';function _0x1b3d(_0x5d377d,_0x2e21a2){_0x5d377d=_0x5d377d-0x184;const _0x39c510=_0x39c5();let _0x1b3dda=_0x39c510[_0x5d377d];return _0x1b3dda;}import{existsSync}from'fs';function findProjectRoot(){const _0x2f6d8a=_0x1b3d,_0x1ae1e3={'Tmdtt':function(_0x1600d1,_0x15719b){return _0x1600d1(_0x15719b);}};let _0x4c9375=process[_0x2f6d8a(0x1b4)]();const _0x426272=_0x1ae1e3[_0x2f6d8a(0x1de)](parse,_0x4c9375)[_0x2f6d8a(0x19d)];while(_0x4c9375!==_0x426272){if(existsSync(join(_0x4c9375,_0x2f6d8a(0x21b)))||_0x1ae1e3['Tmdtt'](existsSync,join(_0x4c9375,_0x2f6d8a(0x252))))return _0x4c9375;_0x4c9375=dirname(_0x4c9375);}return process[_0x2f6d8a(0x1b4)]();}_0x5c600c['config']({'path':join(findProjectRoot(),_0x4b19d6(0x252))});function _0x39c5(){const _0x32d032=['FClsw','session-id','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','trackCommandError','xkggO','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','mXGRj','bzmSE','Environment\x20name','RXPyX','value','LfbWV','jAyGE','user','Manage\x20profiles','partial','Tmdtt','json','IVThP','gPWgm','hook:enable','hwInV','FOMcv','\x20FAILED','rVlhU','array','jHqSI','PKElb','startsWith','zJDMB','skip-auth','LqxhZ','checklist','env','ranger\x20feature\x20list','Feature\x20review\x20ID','aYJpv','blocked','koMvm','log','exitCode','Evaluation:\x20','add\x20<profile-name>','force','uygkP','hGtNH','setup-header','mAVQN','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.','OYUhI','eGJah','enable','cemFG','irDYX','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','DIcUR','MRuAP','limit','summary','create','Gcidb','hEbVh','3544445iFqhbz','You\x20must\x20specify\x20an\x20auth\x20subcommand','start-path','ZnFXx','vlFcn','cdp-endpoint','Manage\x20profile\x20configuration','dJtkh','AdHfk','set\x20<profile>\x20<key>\x20<value>','opencode','VEvBz','Name\x20of\x20the\x20profile','18220UeowTS','ranger\x20profile\x20config\x20list','.ranger','update\x20<profile-name>','\x0aIssues:','54HtGAbx','FLneI','ranger\x20config\x20get','ObcbF','YcYfG','tQDAB','KRQeQ','Rsrlj','Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','config\x20get','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','Restore\x20a\x20soft-deleted\x20feature\x20review','Scenario\x20description','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','--task','JDvCK','unset\x20<profile>\x20<key>','LBDsW','ranger\x20setup','oEuES','help','Include\x20soft-deleted\x20feature\x20reviews','VdIpU','number','ranger\x20go','setup\x20[token]','edit-scenario','Install\x20Ranger\x20skills','config','Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','--checklist','ranger\x20add\x20env','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','tSiri','cjVoT','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','ranger\x20profile\x20encrypt-auth','33160KHSnjS','feature\x20delete','SCcqx','boolean','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','nupJV','env\x20update','UMJcY','ftFzQ','Ivknz','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','FkFRi','OeBTA','ranger\x20verify-feature','.env','QsBut','ranger\x20get-review','command','yUUam','27693492qEeqnV','allow-insecure-localhost','otjuX','Number\x20of\x20feature\x20reviews\x20to\x20skip','GOzIa','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','nXPZM','GljPx','scope','Name\x20of\x20the\x20profile\x20to\x20update','ranger\x20feature\x20restore','\x0aUnknown\x20command:\x20','exit','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','failed','auth','error','get\x20<profile>\x20<key>','YePjH','feature\x20resume','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','verified','BRpKf','HlUME','MSrQU','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','fpNWx','debug-outcome','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','project','hUOVx','List\x20all\x20feature\x20reviews','ranger\x20resume','severity','9iDEHCm','Name\x20of\x20the\x20environment\x20to\x20update','feature','add-checklist-item\x20<description>','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','argv','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','ranger\x20profile\x20ls','--profile','list\x20<env>','name','some','task','IwPXH','mpdaq','hENCw','positional','XvjOd','ranger\x20profile\x20config\x20unset','nlObA','ESCbz','slice','PMwsG','BTYEJ','You\x20must\x20specify\x20an\x20env\x20subcommand','evaluation','cHmoZ','XePJq','list','login','string','rprZl','profile\x20config\x20get','clILd','headed','ODhnP','kRoQw','330sApvIv','ranger\x20env\x20ls','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','rGtff','RKpfm','ranger\x20add-scenario','token','HyYjQ','aVJyQ','Profile\x20name','\x20VERIFIED','5351536ERpvRo','SqsXR','fKzSY','profile\x20config\x20list','feature\x20create','scriptName','get-review','message','feature\x20restore','demandCommand','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','jTzQZ','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','--scenario','skip-chromium','NohNC','dLFvm','resume\x20[id]','akcCF','profile\x20encrypt-auth','strictCommands','Config\x20value','AYycc','mRgvS','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','Scenario\x20index\x20(1-based)','zLcrm','uODyo','1540HmncvO','current-branch','schbQ','config\x20unset','--notes','WWVPr','env-name','get-review\x20[id]','HqBkO','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','add\x20env\x20<env-name>','UwrcX','ulQtO','Ahjdk','hook','Feature\x20review\x20description','CAuCx','Add\x20profile\x20configuration','ranger\x20feature\x20get-feedback','wtDXe','Install\x20skills\x20for\x20OpenCode','skillup','UhhLn','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','ranger\x20start','Unknown\x20error','VlQpp','BeKjY','epilogue','url','LrDel','TNcty','version','list\x20<profile>','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','xHAzQ','LDptH','You\x20must\x20specify\x20a\x20config\x20subcommand','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','Optional\x20feature\x20ID','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','offset','VfXMq','dOpuN','--item','start','default','KEheI','notes','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','sZFKl','gpoQI','show\x20[id]','dZYMV','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','Lptgc','get\x20<env>\x20<key>','usage','\x20INCOMPLETE','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','ANKzR','include-deleted','ranger\x20env\x20update','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','43036DTYDyF','Config\x20key\x20to\x20remove','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','root','MJuCa','QeylN','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','TthEs','35984emgsPA','profile-name','scenario','IApDt','Set\x20a\x20config\x20value','description','zoDTL','BmChG','update','key','vGbiE','item','ZPneQ','gsaZI','xBVHK','tSrfz','29JXEJwD','awsTC','cwd','repeat','\x0aError:\x20','Aonnd','YjNnL','feature\x20list','Initialize\x20Ranger\x20in\x20your\x20project','ranger\x20profile\x20update','profile','Rwtqj','Scenario\x20number\x20to\x20edit\x20(1-based)','get-feedback\x20[id]','KVdXr','verify-feature','delete\x20[id]','OgXvJ','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','GzaDe','ranger\x20profile\x20config\x20set','parse','ranger\x20create','option','wnVgt','List\x20all\x20profiles','tULWv','cuxLo'];_0x39c5=function(){return _0x32d032;};return _0x39c5();}import _0x224023 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x2ce4e3=>{const _0x40082b=_0x4b19d6,_0x41fbb5={'BRpKf':function(_0x18d0d3){return _0x18d0d3();}},_0x39366b=_0x41fbb5[_0x40082b(0x26d)](getCurrentCollector);_0x39366b&&await _0x39366b['trackCommandError'](_0x2ce4e3),process[_0x40082b(0x1f6)]=0x1;});const rawArgs=process['argv'][_0x4b19d6(0x28e)](0x2),TOP_LEVEL_HELP=_0x4b19d6(0x1fe),PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true',PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x0aKeys:\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20header.<name>\x20\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20header.X-Test-Mode)\x0a\x20\x20setupHeader.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeader.x-bypass-turnstile)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20header.Authorization\x20\x27${AUTH_TOKEN}\x27\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20setupHeader.x-bypass-turnstile\x20\x27a1b2c3d4...\x27';function warnRenamed(_0x27061c,_0x50e866){const _0x57a45a=_0x4b19d6;console[_0x57a45a(0x267)]('\x0a'+_0x27061c+'\x20is\x20now\x20'+_0x50e866+'\x0a');}function argUsed(_0x3404a5){const _0x4e8d32=_0x4b19d6;return rawArgs[_0x4e8d32(0x284)](_0x2b89dd=>_0x2b89dd===_0x3404a5||_0x2b89dd[_0x4e8d32(0x1ea)](_0x3404a5+'='));}function warnFlagRenamed(_0x5856b0,_0xcd6b63,_0x409847){argUsed(_0xcd6b63)&&warnRenamed(_0x5856b0+'\x20'+_0xcd6b63,_0x5856b0+'\x20'+_0x409847);}async function runGoCommand(_0x5ad692,_0x59a8c7=![]){const _0x55e119=_0x4b19d6,_0x47cfa0={'VAMva':function(_0xc2d284,_0x16e75d){return _0xc2d284+_0x16e75d;},'KRQeQ':_0x55e119(0x251),'YolqW':'ranger\x20go','XvjOd':'--env','bzmSE':_0x55e119(0x281),'MTtCK':function(_0x3d4b2f,_0x28f3ea,_0x1aac47,_0x413f0f){return _0x3d4b2f(_0x28f3ea,_0x1aac47,_0x413f0f);},'KHdcO':_0x55e119(0x22d),'RKpfm':_0x55e119(0x2ca),'MSrQU':_0x55e119(0x185),'IoVBp':function(_0x476d03){return _0x476d03();},'iMipG':'flag','BTYEJ':_0x55e119(0x23b),'IwPXH':'debug-address-comments','cjVoT':function(_0x44a724,_0x566e43){return _0x44a724===_0x566e43;},'xtovI':_0x55e119(0x2a8),'LfbWV':_0x55e119(0x193),'VfXMq':function(_0x40775c,_0x1c588){return _0x40775c===_0x1c588;},'sOXiV':'\x20PARTIAL','Ocjfc':function(_0x4dca3b,_0x4b24fe){return _0x4dca3b===_0x4b24fe;},'BHfuw':'blocked','OYUhI':_0x55e119(0x21d),'QeUVj':function(_0x3e0400,_0x38a311){return _0x3e0400===_0x38a311;}};_0x59a8c7&&warnRenamed(_0x47cfa0[_0x55e119(0x224)],_0x47cfa0['YolqW']);warnFlagRenamed(_0x55e119(0x237),_0x47cfa0[_0x55e119(0x28a)],_0x47cfa0[_0x55e119(0x1d5)]),_0x47cfa0['MTtCK'](warnFlagRenamed,'ranger\x20go',_0x47cfa0['KHdcO'],_0x47cfa0[_0x55e119(0x2a2)]),warnFlagRenamed(_0x55e119(0x237),_0x47cfa0[_0x55e119(0x26f)],_0x55e119(0x2b7));const _0x36e7b1=await _0x47cfa0['IoVBp'](loadRangerConfig),_0xd1cc1b=_0x5ad692['model'],_0x57e3d4=_0x36e7b1['model'],_0x168290=_0xd1cc1b??_0x57e3d4,_0x2dddf0=_0xd1cc1b?_0x47cfa0['iMipG']:_0x57e3d4?_0x47cfa0[_0x55e119(0x290)]:_0x55e119(0x187),_0x3bb7e8=await verifyFeature({'featureId':_0x5ad692[_0x55e119(0x27b)],'profile':_0x5ad692[_0x55e119(0x1bc)]??_0x5ad692['env'],'notes':_0x5ad692[_0x55e119(0x189)]??_0x5ad692['task'],'scenario':_0x5ad692[_0x55e119(0x1a4)]??_0x5ad692[_0x55e119(0x1ad)],'startPath':_0x5ad692[_0x55e119(0x20e)],'debugOutcome':_0x5ad692[_0x55e119(0x272)],'debugAddressComments':_0x5ad692[_0x47cfa0[_0x55e119(0x286)]],'headed':_0x5ad692[_0x55e119(0x29b)],'verifyModel':_0x168290,'verifyModelInput':_0x168290,'verifyModelSource':_0x2dddf0});console['log']('\x0a'+'='[_0x55e119(0x1b5)](0x3c)),console[_0x55e119(0x1f5)](_0x47cfa0[_0x55e119(0x241)](_0x3bb7e8[_0x55e119(0x292)],_0x55e119(0x26c))?_0x47cfa0['xtovI']:_0x3bb7e8[_0x55e119(0x292)]==='incomplete'?_0x47cfa0[_0x55e119(0x1d9)]:_0x47cfa0[_0x55e119(0x2f0)](_0x3bb7e8[_0x55e119(0x292)],'partial')?_0x47cfa0['sOXiV']:_0x47cfa0['Ocjfc'](_0x3bb7e8[_0x55e119(0x292)],_0x47cfa0['BHfuw'])?'\x20BLOCKED':_0x55e119(0x1e5)),console['log']('='['repeat'](0x3c)),console['log']('Summary:\x20'+_0x3bb7e8[_0x55e119(0x208)]),console['log'](_0x55e119(0x1f7)+_0x3bb7e8['evaluation']),console[_0x55e119(0x1f5)]('Reason:\x20'+_0x3bb7e8['evaluationReason']),_0x3bb7e8['issues']?.['length']&&(console['log'](_0x47cfa0[_0x55e119(0x1ff)]),_0x3bb7e8['issues']['forEach']((_0x679f65,_0xabda45)=>{const _0x41aced=_0x55e119;console['log']('\x0a'+_0x47cfa0['VAMva'](_0xabda45,0x1)+'.\x20['+_0x679f65[_0x41aced(0x278)]+']\x20'+_0x679f65['description']);})),process['exit'](_0x47cfa0['QeUVj'](_0x3bb7e8[_0x55e119(0x292)],_0x55e119(0x26c))?0x0:0x1);}_0x224023(process[_0x4b19d6(0x27e)]['slice'](0x2))[_0x4b19d6(0x2ae)]('ranger')['usage'](TOP_LEVEL_HELP)[_0x4b19d6(0x2e6)](getCurrentVersion())['command']('create\x20<name>',_0x4b19d6(0x2a0),_0x737d94=>{const _0x535326=_0x4b19d6,_0x448359={'zoDTL':'name','pqNmg':'Feature\x20review\x20name','AdxDM':_0x535326(0x1a7),'vGbiE':_0x535326(0x2d5),'hGtNH':_0x535326(0x1e7)};return _0x737d94[_0x535326(0x289)](_0x448359[_0x535326(0x1a8)],{'type':_0x535326(0x297),'description':_0x448359['pqNmg'],'demandOption':!![]})['option'](_0x448359['AdxDM'],{'type':_0x535326(0x297),'alias':'d','description':_0x448359[_0x535326(0x1ac)]})['option'](_0x535326(0x1a4),{'type':_0x448359[_0x535326(0x1fb)],'alias':'c','description':_0x535326(0x248)})[_0x535326(0x1c9)](_0x535326(0x1ee),{'type':_0x448359[_0x535326(0x1fb)],'hidden':!![]});},async _0x35ce30=>{const _0x41996c=_0x4b19d6,_0x1e40ed={'IjXOd':_0x41996c(0x23d),'DfZXl':function(_0x305208,_0x194eeb,_0x4eef43){return _0x305208(_0x194eeb,_0x4eef43);}};warnFlagRenamed('ranger\x20create',_0x1e40ed['IjXOd'],_0x41996c(0x2b7));const _0x3d031b=_0x35ce30['scenario']||_0x35ce30['checklist'];await _0x1e40ed['DfZXl'](withTelemetry,_0x41996c(0x209),()=>featureCreate(_0x35ce30['name'],{'description':_0x35ce30[_0x41996c(0x1a7)],'scenarios':_0x3d031b}));})['command']('list',_0x4b19d6(0x276),_0xe16ea5=>{const _0x5da606=_0x4b19d6,_0x435990={'ziRFH':_0x5da606(0x2c7),'ThoZJ':'boolean','DSjFW':_0x5da606(0x1a0),'cXuAl':'offset','ByCUC':_0x5da606(0x236),'ieCEa':'Number\x20of\x20feature\x20reviews\x20to\x20skip'};return _0xe16ea5[_0x5da606(0x1c9)](_0x435990['ziRFH'],{'type':_0x435990['ThoZJ'],'description':_0x435990['DSjFW']})['option']('limit',{'type':'number','alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option'](_0x435990['cXuAl'],{'type':_0x435990['ByCUC'],'alias':'o','description':_0x435990['ieCEa'],'default':0x0})[_0x5da606(0x1c9)]('include-deleted',{'type':_0x435990['ThoZJ'],'alias':'d','description':_0x5da606(0x234),'default':![]});},async _0xf4515f=>{const _0x2a4f15=_0x4b19d6,_0x45b673={'jAyGE':function(_0x15d8fd,_0x40e720,_0x243e3d){return _0x15d8fd(_0x40e720,_0x243e3d);}};await _0x45b673[_0x2a4f15(0x1da)](withTelemetry,_0x2a4f15(0x295),()=>featureList({'currentBranch':_0xf4515f['current-branch'],'limit':_0xf4515f['limit'],'offset':_0xf4515f['offset'],'includeDeleted':_0xf4515f['include-deleted']}));})[_0x4b19d6(0x255)](_0x4b19d6(0x18d),_0x4b19d6(0x24e),_0x237655=>{const _0xc248c9=_0x4b19d6,_0x215878={'gJsUb':'string','sDdSj':'Feature\x20review\x20ID'};return _0x237655[_0xc248c9(0x289)]('id',{'type':_0x215878['gJsUb'],'description':_0x215878['sDdSj']});},async _0x39cb88=>{await withTelemetry('show',()=>featureShow(_0x39cb88['id']));})['command'](_0x4b19d6(0x2bb),_0x4b19d6(0x2b3),_0x469edd=>{const _0x279e66=_0x4b19d6;return _0x469edd[_0x279e66(0x289)]('id',{'type':_0x279e66(0x297),'description':_0x279e66(0x228)});},async _0x468e5a=>{const _0x1f847b={'Evdps':'resume'};await withTelemetry(_0x1f847b['Evdps'],()=>featureResume(_0x468e5a['id']));})[_0x4b19d6(0x255)]('add-scenario\x20<description>',_0x4b19d6(0x2e8),_0xceaaf4=>{const _0x155eec=_0x4b19d6,_0x5d8ce2={'zLcrm':_0x155eec(0x297),'OJTbL':_0x155eec(0x22a),'pBumn':_0x155eec(0x2b5)};return _0xceaaf4['positional']('description',{'type':_0x5d8ce2[_0x155eec(0x2c4)],'description':_0x5d8ce2['OJTbL'],'demandOption':!![]})['option']('id',{'type':_0x155eec(0x297),'description':_0x5d8ce2['pBumn']});},async _0x19ba44=>{const _0x5afdb4=_0x4b19d6;await withTelemetry('add-scenario',()=>featureAddScenario(_0x19ba44[_0x5afdb4(0x1a7)],_0x19ba44['id']));})[_0x4b19d6(0x255)]('edit-scenario\x20<description>',_0x4b19d6(0x2ee),_0x3084a5=>{const _0x16221=_0x4b19d6,_0x495011={'FkFRi':'description','hwInV':_0x16221(0x1be)};return _0x3084a5[_0x16221(0x289)](_0x495011[_0x16221(0x24f)],{'type':'string','description':'New\x20scenario\x20description','demandOption':!![]})[_0x16221(0x1c9)](_0x16221(0x1a4),{'type':'number','description':_0x495011[_0x16221(0x1e3)],'demandOption':!![]})['option']('id',{'type':_0x16221(0x297),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x1e897b=>{const _0xf7dbaa=_0x4b19d6,_0xf590e6={'FumbH':function(_0x596aac,_0x258a6c,_0x45e117){return _0x596aac(_0x258a6c,_0x45e117);}};await _0xf590e6['FumbH'](withTelemetry,_0xf7dbaa(0x239),()=>featureEditScenario(_0x1e897b[_0xf7dbaa(0x1a7)],{'id':_0x1e897b['id'],'scenario':_0x1e897b['scenario']}));})[_0x4b19d6(0x255)]('report\x20[id]','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x467a6e=>{const _0x307355=_0x4b19d6,_0x5f510e={'ZvZnv':_0x307355(0x1f1),'hUOVx':'exclude-scenario','NohNC':_0x307355(0x1e7),'YcYfG':_0x307355(0x2dd),'dOpuN':'boolean','IjzJx':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown'};return _0x467a6e['positional']('id',{'type':'string','description':_0x5f510e['ZvZnv']})[_0x307355(0x1c9)](_0x5f510e[_0x307355(0x275)],{'type':_0x5f510e[_0x307355(0x2b9)],'description':_0x5f510e[_0x307355(0x222)]})[_0x307355(0x1c9)]('json',{'type':_0x5f510e[_0x307355(0x184)],'description':_0x5f510e['IjzJx'],'default':![]});},async _0x3c5b1d=>{const _0x3fb27a=_0x4b19d6,_0x28f366={'uygkP':function(_0x210f84,_0x2bd62d,_0x3ff242){return _0x210f84(_0x2bd62d,_0x3ff242);},'XePJq':'report'},_0x2e328b=_0x3c5b1d['exclude-scenario'],_0x409ed8=_0x2e328b?_0x2e328b['map'](_0x32db8e=>Number(_0x32db8e)):undefined;await _0x28f366[_0x3fb27a(0x1fa)](withTelemetry,_0x28f366[_0x3fb27a(0x294)],()=>featureReportPrDescription(_0x3c5b1d['id'],{'excludeScenarios':_0x409ed8,'json':_0x3c5b1d[_0x3fb27a(0x1df)]}));})['command'](_0x4b19d6(0x2cd),_0x4b19d6(0x264),_0x2159ff=>{const _0xd183d7=_0x4b19d6,_0x52940a={'cKLHM':_0xd183d7(0x2b5)};return _0x2159ff['positional']('id',{'type':_0xd183d7(0x297),'description':_0x52940a['cKLHM']});},async _0x195007=>{const _0x3b1254=_0x4b19d6;await withTelemetry(_0x3b1254(0x2af),()=>featureGetReview(_0x195007['id']));})['command'](_0x4b19d6(0x1c2),'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x584d75=>{const _0x3dd1ce=_0x4b19d6,_0x3cc5b2={'eohiL':'Feature\x20review\x20ID'};return _0x584d75['positional']('id',{'type':_0x3dd1ce(0x297),'description':_0x3cc5b2['eohiL']});},async _0x3519ea=>{const _0x509827=_0x4b19d6,_0x22dcc1={'dZYMV':function(_0x3233fa,_0x11e92b,_0x43b5ee){return _0x3233fa(_0x11e92b,_0x43b5ee);}};await _0x22dcc1[_0x509827(0x18e)](withTelemetry,'delete',()=>featureDelete(_0x3519ea['id']));})[_0x4b19d6(0x255)]('restore\x20<id>',_0x4b19d6(0x229),_0x41cecd=>{const _0x408dee=_0x4b19d6,_0x38ea67={'HqBkO':'string'};return _0x41cecd['positional']('id',{'type':_0x38ea67[_0x408dee(0x2ce)],'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x4327a3=>{const _0x5d3640=_0x4b19d6,_0x2ed81f={'KVdXr':function(_0xd345fc,_0x1d4e7f,_0x1f0540){return _0xd345fc(_0x1d4e7f,_0x1f0540);}};await _0x2ed81f[_0x5d3640(0x1c0)](withTelemetry,'restore',()=>featureRestore(_0x4327a3['id']));})['command'](_0x4b19d6(0x238),_0x4b19d6(0x1ba),_0x530959=>{const _0x209ed9=_0x4b19d6,_0x47dc60={'vwnjw':_0x209ed9(0x2a4),'gPWgm':'skip-chromium','LrDel':_0x209ed9(0x297),'oEuES':_0x209ed9(0x1db),'jTzQZ':_0x209ed9(0x2b6),'PKElb':'force','YePjH':_0x209ed9(0x258),'YjNnL':_0x209ed9(0x247),'koMvm':_0x209ed9(0x18f)};return _0x530959['positional'](_0x47dc60['vwnjw'],{'type':'string','description':_0x209ed9(0x25c)})[_0x209ed9(0x1c9)](_0x47dc60[_0x209ed9(0x1e1)],{'type':_0x209ed9(0x247),'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option']('scope',{'type':_0x47dc60[_0x209ed9(0x2e4)],'choices':[_0x47dc60[_0x209ed9(0x232)],_0x209ed9(0x274)],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})[_0x209ed9(0x1c9)]('url',{'type':_0x47dc60['LrDel'],'description':_0x47dc60[_0x209ed9(0x2b4)]})['option'](_0x47dc60[_0x209ed9(0x1e9)],{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x209ed9(0x216),{'type':'boolean','description':'Skip\x20Claude\x20Code\x20plugin\x20+\x20skills\x20install\x20(for\x20OpenCode\x20users)','default':![]})['option'](_0x47dc60[_0x209ed9(0x269)],{'type':_0x47dc60[_0x209ed9(0x1b8)],'description':_0x47dc60[_0x209ed9(0x1f4)],'default':![]});},async _0x4208de=>{const _0x5160b9=_0x4b19d6,_0x52623b={'xbJXf':function(_0x38982d,_0x174e12,_0x31bdb8){return _0x38982d(_0x174e12,_0x31bdb8);},'wnVgt':_0x5160b9(0x186)};await _0x52623b['xbJXf'](withTelemetry,_0x52623b[_0x5160b9(0x1ca)],_0x11d8a5=>start(_0x4208de[_0x5160b9(0x2a4)],{'skipChromium':_0x4208de['skip-chromium'],'scope':_0x4208de[_0x5160b9(0x25f)],'url':_0x4208de['url'],'force':_0x4208de['force'],'opencode':_0x4208de['opencode'],'allowInsecureLocalhost':_0x4208de['allow-insecure-localhost']},_0x11d8a5));})['command']('setup-ci\x20<token>','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0x1c08ff=>{const _0x152dd5=_0x4b19d6,_0x22ad94={'akcCF':'Ranger\x20API\x20token','DvggQ':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','mpdaq':'skip-chromium','UwrcX':_0x152dd5(0x247),'rVlhU':'Skip\x20Chromium\x20browser\x20installation'};return _0x1c08ff[_0x152dd5(0x289)]('token',{'type':_0x152dd5(0x297),'description':_0x22ad94[_0x152dd5(0x2bc)],'demandOption':!![]})[_0x152dd5(0x1c9)](_0x152dd5(0x1bc),{'type':'string','description':_0x152dd5(0x18a)})['option']('base-url',{'type':_0x152dd5(0x297),'description':_0x22ad94['DvggQ']})[_0x152dd5(0x1c9)](_0x22ad94[_0x152dd5(0x287)],{'type':_0x22ad94[_0x152dd5(0x2d1)],'description':_0x22ad94[_0x152dd5(0x1e6)],'default':![]});},async _0x3d03a3=>{const _0x8272a2=_0x4b19d6;await withTelemetry('setup-ci',_0x416dc1=>setupCi(_0x3d03a3[_0x8272a2(0x2a4)],{'profile':_0x3d03a3[_0x8272a2(0x1bc)],'baseUrl':_0x3d03a3['base-url'],'skipChromium':_0x3d03a3['skip-chromium']},_0x416dc1));})[_0x4b19d6(0x255)]('login',_0x4b19d6(0x23f),()=>{},async()=>{const _0xdfd690=_0x4b19d6;await withTelemetry(_0xdfd690(0x296),()=>login());})[_0x4b19d6(0x255)]('skillup',_0x4b19d6(0x23a),_0x3e7c92=>{const _0xdf24cb=_0x4b19d6,_0x96c366={'WAvBq':_0xdf24cb(0x216)};return _0x3e7c92['option'](_0x96c366['WAvBq'],{'type':'boolean','description':_0xdf24cb(0x2da),'default':![]})['option'](_0xdf24cb(0x25f),{'type':_0xdf24cb(0x297),'choices':[_0xdf24cb(0x1db),_0xdf24cb(0x274)],'description':'Install\x20scope\x20for\x20skills'});},async _0x2ff9c8=>{const _0x2d9666=_0x4b19d6,_0x3e203e={'ESCbz':function(_0x477650,_0x11ba8a){return _0x477650(_0x11ba8a);},'ewQyh':function(_0x18bb2d,_0x19cb25,_0x3c9cbc){return _0x18bb2d(_0x19cb25,_0x3c9cbc);}},_0x5e51ed=_0x3e203e[_0x2d9666(0x28d)](Boolean,_0x2ff9c8[_0x2d9666(0x216)]);await _0x3e203e['ewQyh'](withTelemetry,_0x2d9666(0x2db),()=>skillup({'autoInstall':_0x2ff9c8['scope'],'platform':_0x5e51ed?'opencode':'claude'}));})[_0x4b19d6(0x255)]('clean',_0x4b19d6(0x1c4),()=>{},async()=>{await withTelemetry('clean',()=>clean());})['command']('profile',_0x4b19d6(0x1dc),_0x2c75dd=>{const _0x5a5e3c=_0x4b19d6,_0x34ed56={'WWVPr':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','FLneI':_0x5a5e3c(0x26b),'PMwsG':_0x5a5e3c(0x1ec),'VdIpU':_0x5a5e3c(0x247),'otjuX':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','uMbtD':_0x5a5e3c(0x1f9),'DPxny':_0x5a5e3c(0x211),'JbVQa':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','IApDt':'safe-mode','xkggO':_0x5a5e3c(0x27f),'mXGRj':'setup-header','yUUam':function(_0x3c849c,_0x37023b,_0xdfe9d0,_0x407fb0){return _0x3c849c(_0x37023b,_0xdfe9d0,_0x407fb0);},'YkMXV':'profile\x20add','VAuDo':_0x5a5e3c(0x1a3),'tSiri':_0x5a5e3c(0x297),'LqxhZ':_0x5a5e3c(0x218),'gsaZI':function(_0x7e1a5a,_0x3e4764,_0x4ac6fe){return _0x7e1a5a(_0x3e4764,_0x4ac6fe);},'dJtkh':'profile','FoDLQ':'Profile\x20name','TuOfx':function(_0xfa7428,_0xac24e9,_0x2c3fc8){return _0xfa7428(_0xac24e9,_0x2c3fc8);},'AYycc':_0x5a5e3c(0x2bd),'gpoQI':_0x5a5e3c(0x1d8),'Ivknz':_0x5a5e3c(0x2bf),'RiQkJ':'profile\x20config\x20unset','eGJah':'Config\x20key','Lptgc':_0x5a5e3c(0x268),'IMRkq':'List\x20all\x20config\x20for\x20a\x20profile','Rwtqj':'Remove\x20a\x20config\x20value','TEYbX':'use\x20<profile-name>','vYsya':'Switch\x20to\x20using\x20a\x20specific\x20profile','nzLFl':_0x5a5e3c(0x1cb),'kDXGJ':'You\x20must\x20specify\x20a\x20profile\x20subcommand'};return _0x2c75dd[_0x5a5e3c(0x192)](PROFILE_HELP)['command'](_0x5a5e3c(0x1f8),_0x5a5e3c(0x2d7),_0x5edbe8=>{const _0x453a66=_0x5a5e3c;return _0x5edbe8['positional']('profile-name',{'type':'string','description':_0x34ed56[_0x453a66(0x2cb)],'demandOption':!![]})['option']('ci',{'type':'boolean','description':_0x34ed56[_0x453a66(0x21f)],'default':![]})['option'](_0x34ed56[_0x453a66(0x28f)],{'type':_0x34ed56[_0x453a66(0x235)],'description':_0x34ed56[_0x453a66(0x259)],'default':![]})['option']('url',{'type':_0x453a66(0x297),'description':_0x453a66(0x19c)})[_0x453a66(0x1c9)](_0x34ed56['uMbtD'],{'type':_0x34ed56['VdIpU'],'description':_0x453a66(0x198),'default':![]})['option'](_0x34ed56['DPxny'],{'type':'string','description':_0x453a66(0x2ec)})['option'](_0x453a66(0x258),{'type':'boolean','description':_0x34ed56['JbVQa'],'default':![]})[_0x453a66(0x1c9)](_0x34ed56[_0x453a66(0x1a5)],{'type':_0x34ed56['VdIpU'],'description':_0x34ed56[_0x453a66(0x1d2)],'default':![]})['option'](_0x34ed56[_0x453a66(0x1d4)],{'type':'string','array':!![],'description':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)'});},async _0x2373e2=>{const _0x5109c3=_0x5a5e3c;await _0x34ed56[_0x5109c3(0x256)](withTelemetry,_0x34ed56['YkMXV'],_0x2cd81c=>addEnv(_0x2373e2['profile-name'],{'ci':_0x2373e2['ci'],'skipAuth':_0x2373e2[_0x5109c3(0x1ec)],'url':_0x2373e2['url'],'force':_0x2373e2['force'],'cdpEndpoint':_0x2373e2['cdp-endpoint'],'allowInsecureLocalhost':_0x2373e2[_0x5109c3(0x258)],'safeMode':_0x2373e2['safe-mode'],'setupHeader':_0x2373e2[_0x5109c3(0x1fc)]},_0x2cd81c),{'isElectron':Boolean(_0x2373e2[_0x5109c3(0x211)])});})['command'](_0x34ed56['TEYbX'],_0x34ed56['vYsya'],_0x4ebf24=>{const _0x2553cc=_0x5a5e3c;return _0x4ebf24[_0x2553cc(0x289)](_0x34ed56['VAuDo'],{'type':_0x34ed56[_0x2553cc(0x240)],'description':_0x34ed56[_0x2553cc(0x1ed)],'demandOption':!![]});},async _0xc977b6=>{const _0x501044=_0x5a5e3c;await _0x34ed56[_0x501044(0x1af)](withTelemetry,'profile\x20use',()=>useEnv(_0xc977b6['profile-name']));})['command']('encrypt-auth\x20<profile>',_0x5a5e3c(0x1d3),_0x21618e=>{const _0x395f4a=_0x5a5e3c;return _0x21618e[_0x395f4a(0x289)](_0x34ed56[_0x395f4a(0x213)],{'type':_0x34ed56['tSiri'],'description':_0x34ed56['FoDLQ'],'demandOption':!![]});},async _0x58b3ee=>{const _0x5b6d32=_0x5a5e3c;await _0x34ed56['TuOfx'](withTelemetry,_0x34ed56[_0x5b6d32(0x2c0)],()=>authEncrypt(_0x58b3ee['profile']));})['command']('ls',_0x34ed56['nzLFl'],()=>{},async()=>{await withTelemetry('profile\x20ls',()=>envList());})['command'](_0x5a5e3c(0x21c),'Update\x20authentication\x20for\x20an\x20existing\x20profile',_0x5d2eab=>{const _0x5a379c=_0x5a5e3c;return _0x5d2eab[_0x5a379c(0x289)]('profile-name',{'type':'string','description':_0x5a379c(0x260),'demandOption':!![]})['option'](_0x5a379c(0x258),{'type':_0x34ed56['VdIpU'],'description':_0x34ed56['JbVQa']});},async _0x3923c1=>{const _0x1e7e3d=_0x5a5e3c;await withTelemetry('profile\x20update',_0x44fc01=>updateEnv(_0x3923c1[_0x1e7e3d(0x1a3)],_0x44fc01,{'allowInsecureLocalhost':_0x3923c1['allow-insecure-localhost']}));})[_0x5a5e3c(0x255)]('config',_0x5a5e3c(0x212),_0x2cb1f0=>{const _0x194106=_0x5a5e3c,_0x2dfcf2={'WmLsu':_0x194106(0x1bc),'EfYOF':'key','QNjZY':_0x34ed56[_0x194106(0x240)],'awsTC':_0x34ed56[_0x194106(0x200)],'GOzIa':function(_0x5f14c8,_0x2227a4,_0x290e3b){return _0x5f14c8(_0x2227a4,_0x290e3b);},'BXRbb':_0x194106(0x2ac)};return _0x2cb1f0['usage'](PROFILE_CONFIG_HELP)[_0x194106(0x255)](_0x194106(0x215),_0x194106(0x1a6),_0x2bde96=>{const _0x315d5d=_0x194106;return _0x2bde96['positional'](_0x315d5d(0x1bc),{'type':_0x315d5d(0x297),'description':_0x315d5d(0x2a7),'demandOption':!![]})['positional'](_0x315d5d(0x1ab),{'type':'string','description':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','demandOption':!![]})['positional'](_0x34ed56[_0x315d5d(0x18c)],{'type':_0x315d5d(0x297),'description':_0x34ed56[_0x315d5d(0x24d)],'demandOption':!![]});},async _0x36f6f5=>{const _0x16b584=_0x194106;await withTelemetry('profile\x20config\x20set',()=>configSet(_0x36f6f5[_0x16b584(0x1bc)],_0x36f6f5[_0x16b584(0x1ab)],_0x36f6f5[_0x16b584(0x1d8)]));})['command'](_0x34ed56[_0x194106(0x190)],'Get\x20a\x20config\x20value',_0x2a8168=>{const _0x3514df=_0x194106;return _0x2a8168['positional'](_0x2dfcf2['WmLsu'],{'type':_0x3514df(0x297),'description':_0x3514df(0x2a7),'demandOption':!![]})['positional'](_0x2dfcf2['EfYOF'],{'type':_0x2dfcf2['QNjZY'],'description':_0x2dfcf2[_0x3514df(0x1b3)],'demandOption':!![]});},async _0x2f46b8=>{const _0x246968=_0x194106;await _0x2dfcf2[_0x246968(0x25b)](withTelemetry,_0x246968(0x299),()=>configGet(_0x2f46b8[_0x246968(0x1bc)],_0x2f46b8['key']));})[_0x194106(0x255)](_0x194106(0x2e7),_0x34ed56['IMRkq'],_0x10849c=>{const _0x54e4cc=_0x194106;return _0x10849c[_0x54e4cc(0x289)]('profile',{'type':_0x54e4cc(0x297),'description':'Profile\x20name','demandOption':!![]});},async _0x2b5d88=>{const _0x4857e6=_0x194106;await withTelemetry(_0x2dfcf2['BXRbb'],()=>configList(_0x2b5d88[_0x4857e6(0x1bc)]));})[_0x194106(0x255)](_0x194106(0x22f),_0x34ed56[_0x194106(0x1bd)],_0x217743=>{const _0x3218eb=_0x194106;return _0x217743['positional'](_0x3218eb(0x1bc),{'type':_0x2dfcf2['QNjZY'],'description':'Profile\x20name','demandOption':!![]})[_0x3218eb(0x289)]('key',{'type':_0x3218eb(0x297),'description':_0x3218eb(0x19a),'demandOption':!![]});},async _0x5248a1=>{await withTelemetry(_0x34ed56['RiQkJ'],()=>configUnset(_0x5248a1['profile'],_0x5248a1['key']));})[_0x194106(0x2b2)](0x1,_0x194106(0x1d0));})['demandCommand'](0x1,_0x34ed56['kDXGJ']);})['command']('status',_0x4b19d6(0x242),()=>{},async()=>{const _0x35c622={'LZRje':'status'};await withTelemetry(_0x35c622['LZRje'],()=>status());})['command'](_0x4b19d6(0x1aa),'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x20468f={'brAlT':function(_0x76c773,_0x4e9fd2,_0x17d63e){return _0x76c773(_0x4e9fd2,_0x17d63e);},'zmdVf':'update'};await _0x20468f['brAlT'](withTelemetry,_0x20468f['zmdVf'],()=>update());})[_0x4b19d6(0x255)]('go','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)',_0x1d453f=>{const _0xd6a5f6=_0x4b19d6,_0x335a31={'HyYjQ':'notes','mMvBv':'number','ndSkR':_0xd6a5f6(0x2c3),'GzaDe':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','rprZl':_0xd6a5f6(0x297),'pqhas':'headed','ZeGNL':_0xd6a5f6(0x22b),'tULWv':_0xd6a5f6(0x26c),'dmdvY':'failed','wBwTt':'debug-address-comments','ZnFXx':'boolean','LDptH':_0xd6a5f6(0x1ef),'lYbuv':_0xd6a5f6(0x285)};return _0x1d453f[_0xd6a5f6(0x1c9)](_0xd6a5f6(0x27b),{'type':'string','description':_0xd6a5f6(0x2ed)})['option'](_0xd6a5f6(0x1bc),{'type':'string','description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})['option'](_0x335a31[_0xd6a5f6(0x2a5)],{'type':'string','description':_0xd6a5f6(0x2cf)})['option']('scenario',{'type':_0x335a31['mMvBv'],'description':_0x335a31['ndSkR']})[_0xd6a5f6(0x1c9)](_0xd6a5f6(0x20e),{'type':_0xd6a5f6(0x297),'description':_0x335a31[_0xd6a5f6(0x1c5)]})['option']('model',{'type':_0x335a31[_0xd6a5f6(0x298)],'description':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1)'})['option'](_0x335a31['pqhas'],{'type':'boolean','description':_0x335a31['ZeGNL'],'default':![]})['option'](_0xd6a5f6(0x272),{'type':_0xd6a5f6(0x297),'hidden':!![],'choices':[_0x335a31[_0xd6a5f6(0x1cc)],'partial',_0xd6a5f6(0x1f3),_0x335a31['dmdvY'],'incomplete']})['option'](_0x335a31['wBwTt'],{'type':_0x335a31[_0xd6a5f6(0x20f)],'hidden':!![]})[_0xd6a5f6(0x1c9)](_0x335a31[_0xd6a5f6(0x2ea)],{'type':_0x335a31[_0xd6a5f6(0x298)],'hidden':!![]})[_0xd6a5f6(0x1c9)](_0x335a31['lYbuv'],{'type':_0xd6a5f6(0x297),'hidden':!![]})['option'](_0xd6a5f6(0x1ad),{'type':'number','hidden':!![]});},async _0x28c69e=>{const _0x4a50f0={'XyLFk':function(_0x55ef9d,_0x14a44d){return _0x55ef9d(_0x14a44d);}};await _0x4a50f0['XyLFk'](runGoCommand,_0x28c69e);})[_0x4b19d6(0x255)](_0x4b19d6(0x266),![],_0x4bd574=>{const _0x448c0c=_0x4b19d6,_0x207ef0={'ObcbF':_0x448c0c(0x1bc),'JtrHz':_0x448c0c(0x297),'Ixaqf':function(_0x35aa11,_0x3f287f,_0xd06c06){return _0x35aa11(_0x3f287f,_0xd06c06);},'BjVne':'ranger\x20auth\x20encrypt'};return _0x4bd574[_0x448c0c(0x255)]('encrypt\x20<profile>',![],_0x299603=>{const _0x1ad5f6=_0x448c0c;return _0x299603[_0x1ad5f6(0x289)](_0x207ef0[_0x1ad5f6(0x221)],{'type':_0x207ef0['JtrHz'],'description':'Profile\x20name','demandOption':!![]});},async _0x25cb79=>{const _0x3d1017=_0x448c0c;_0x207ef0['Ixaqf'](warnRenamed,_0x207ef0['BjVne'],_0x3d1017(0x243)),await authEncrypt(_0x25cb79['profile']);})['demandCommand'](0x1,_0x448c0c(0x20d));},()=>{})['command']('start\x20[token]',![],_0xd6aaca=>{const _0x36eb45=_0x4b19d6,_0x46d439={'cHmoZ':_0x36eb45(0x2a4),'UCtEd':_0x36eb45(0x25c),'RXPyX':'scope','sBBvH':_0x36eb45(0x297)};return _0xd6aaca['positional'](_0x46d439[_0x36eb45(0x293)],{'type':'string','description':_0x46d439['UCtEd']})[_0x36eb45(0x1c9)]('skip-chromium',{'type':'boolean','description':_0x36eb45(0x27d),'default':![]})['option'](_0x46d439[_0x36eb45(0x1d7)],{'type':_0x46d439['sBBvH'],'choices':[_0x36eb45(0x1db),'project'],'description':_0x36eb45(0x23c)})[_0x36eb45(0x1c9)]('url',{'type':_0x36eb45(0x297),'description':_0x36eb45(0x2b6)})['option']('force',{'type':_0x36eb45(0x247),'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]});},async _0x2731dd=>{const _0x44b38d=_0x4b19d6,_0x5356a1={'MmKTu':_0x44b38d(0x2de),'Aonnd':function(_0x33dec7,_0x6c658e,_0x379f03){return _0x33dec7(_0x6c658e,_0x379f03);},'ZPneQ':_0x44b38d(0x186)};warnRenamed(_0x5356a1['MmKTu'],_0x44b38d(0x231)),await _0x5356a1[_0x44b38d(0x1b7)](withTelemetry,_0x5356a1[_0x44b38d(0x1ae)],_0xf154a2=>start(_0x2731dd[_0x44b38d(0x2a4)],{'skipChromium':_0x2731dd[_0x44b38d(0x2b8)],'scope':_0x2731dd[_0x44b38d(0x25f)],'url':_0x2731dd[_0x44b38d(0x2e3)],'force':_0x2731dd['force']},_0xf154a2));})[_0x4b19d6(0x255)](_0x4b19d6(0x1c1),![],_0x4dfcf8=>{const _0x4d8258=_0x4b19d6,_0xb09cb9={'cuxLo':_0x4d8258(0x1ef),'xBVHK':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','oRVTj':'task','vlFcn':'number','DmdTP':'Scenario\x20index\x20(1-based)','QikkP':'profile','QsBut':'scenario','xHAzQ':'string','VEvBz':'model','UUjVX':_0x4d8258(0x29b),'iJwqi':_0x4d8258(0x272),'HlUME':'incomplete'};return _0x4dfcf8['option'](_0xb09cb9[_0x4d8258(0x1cd)],{'type':'string','description':_0xb09cb9[_0x4d8258(0x1b0)]})[_0x4d8258(0x1c9)](_0xb09cb9['oRVTj'],{'type':_0x4d8258(0x297),'description':_0x4d8258(0x194)})['option'](_0x4d8258(0x1ad),{'type':_0xb09cb9[_0x4d8258(0x210)],'description':_0xb09cb9['DmdTP']})['option'](_0xb09cb9['QikkP'],{'type':_0x4d8258(0x297),'hidden':!![]})[_0x4d8258(0x1c9)]('notes',{'type':'string','hidden':!![]})[_0x4d8258(0x1c9)](_0xb09cb9[_0x4d8258(0x253)],{'type':_0xb09cb9['vlFcn'],'hidden':!![]})[_0x4d8258(0x1c9)]('start-path',{'type':_0xb09cb9[_0x4d8258(0x2e9)],'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)'})['option'](_0xb09cb9[_0x4d8258(0x217)],{'type':_0x4d8258(0x297),'hidden':!![]})['option'](_0xb09cb9['UUjVX'],{'type':_0x4d8258(0x247),'hidden':!![],'default':![]})[_0x4d8258(0x1c9)](_0xb09cb9['iJwqi'],{'type':_0x4d8258(0x297),'hidden':!![],'choices':['verified',_0x4d8258(0x1dd),_0x4d8258(0x1f3),_0x4d8258(0x265),_0xb09cb9[_0x4d8258(0x26e)]]});},async _0x1da41d=>{const _0x4e3edb={'xuNLG':function(_0x31cbe0,_0x5d7560,_0xf097db){return _0x31cbe0(_0x5d7560,_0xf097db);}};await _0x4e3edb['xuNLG'](runGoCommand,_0x1da41d,!![]);})['command'](_0x4b19d6(0x2d0),![],_0x14c1dd=>{const _0x1d940d=_0x4b19d6,_0x12cc64={'QFGcF':_0x1d940d(0x2cc),'nXPZM':_0x1d940d(0x19b),'IAweJ':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','EGQND':_0x1d940d(0x247)};return _0x14c1dd['positional'](_0x12cc64['QFGcF'],{'type':'string','description':_0x12cc64[_0x1d940d(0x25d)],'demandOption':!![]})[_0x1d940d(0x1c9)]('ci',{'type':'boolean','description':_0x12cc64['IAweJ'],'default':![]})[_0x1d940d(0x1c9)](_0x1d940d(0x1ec),{'type':_0x12cc64['EGQND'],'description':_0x1d940d(0x22c),'default':![]});},async _0x4faec2=>{const _0x17d46b=_0x4b19d6,_0x56822e={'NhMRI':function(_0xd9f528,_0x35efa9,_0xe120f3){return _0xd9f528(_0x35efa9,_0xe120f3);},'sZFKl':'ranger\x20profile\x20add','kXEHk':function(_0x487284,_0x248a72,_0x26b219){return _0x487284(_0x248a72,_0x26b219);},'XYIAr':'add\x20env'};_0x56822e['NhMRI'](warnRenamed,_0x17d46b(0x23e),_0x56822e[_0x17d46b(0x18b)]),await _0x56822e['kXEHk'](withTelemetry,_0x56822e['XYIAr'],_0x50430c=>addEnv(_0x4faec2[_0x17d46b(0x2cc)],{'ci':_0x4faec2['ci'],'skipAuth':_0x4faec2[_0x17d46b(0x1ec)]},_0x50430c));})[_0x4b19d6(0x255)]('use\x20<env-name>',![],_0x526d95=>{const _0x11207b=_0x4b19d6,_0x39f9f3={'Rsrlj':'env-name','rGtff':_0x11207b(0x297)};return _0x526d95[_0x11207b(0x289)](_0x39f9f3[_0x11207b(0x225)],{'type':_0x39f9f3[_0x11207b(0x2a1)],'description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x13a88b=>{const _0x33ea8b=_0x4b19d6,_0x94842e={'lMPQC':'ranger\x20use','ODhnP':'ranger\x20profile\x20use'};warnRenamed(_0x94842e['lMPQC'],_0x94842e[_0x33ea8b(0x29c)]),await withTelemetry('use',()=>useEnv(_0x13a88b[_0x33ea8b(0x2cc)]));})['command']('config',![],_0x586fee=>{const _0x1f585c=_0x4b19d6,_0x29af09={'mAVQN':'env','DIcUR':_0x1f585c(0x297),'KEheI':'Environment\x20name','CAuCx':'key','schbQ':_0x1f585c(0x226),'hAAHh':_0x1f585c(0x1d8),'nupJV':'config\x20set','yPiBC':_0x1f585c(0x220),'Ahjdk':function(_0x51c73c,_0x2ba3fb,_0x3f4293){return _0x51c73c(_0x2ba3fb,_0x3f4293);},'uODyo':_0x1f585c(0x227),'FClsw':function(_0x162556,_0x54caa5,_0x1d45f5){return _0x162556(_0x54caa5,_0x1d45f5);},'PndEB':'ranger\x20config\x20list','bFNGp':'config\x20list','RwUdi':function(_0x411e7c,_0xc0d800,_0x9e91f0){return _0x411e7c(_0xc0d800,_0x9e91f0);},'wtDXe':'ranger\x20config\x20unset','fpNWx':_0x1f585c(0x2c9),'OgXvJ':'set\x20<env>\x20<key>\x20<value>','MJuCa':_0x1f585c(0x282),'DqmVj':'unset\x20<env>\x20<key>'};return _0x586fee[_0x1f585c(0x255)](_0x29af09[_0x1f585c(0x1c3)],![],_0x386190=>{const _0x102aa1=_0x1f585c;return _0x386190[_0x102aa1(0x289)](_0x29af09[_0x102aa1(0x1fd)],{'type':_0x29af09[_0x102aa1(0x205)],'description':_0x29af09[_0x102aa1(0x188)],'demandOption':!![]})[_0x102aa1(0x289)](_0x29af09[_0x102aa1(0x2d6)],{'type':_0x102aa1(0x297),'description':_0x29af09[_0x102aa1(0x2c8)],'demandOption':!![]})['positional'](_0x29af09['hAAHh'],{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0x196b15=>{const _0x2479f4=_0x1f585c;warnRenamed('ranger\x20config\x20set',_0x2479f4(0x1c6)),await withTelemetry(_0x29af09[_0x2479f4(0x249)],()=>configSet(_0x196b15[_0x2479f4(0x1ef)],_0x196b15[_0x2479f4(0x1ab)],_0x196b15['value']));})[_0x1f585c(0x255)](_0x1f585c(0x191),![],_0x14e3a0=>{const _0x18c509=_0x1f585c;return _0x14e3a0['positional'](_0x29af09['mAVQN'],{'type':'string','description':_0x18c509(0x1d6),'demandOption':!![]})['positional'](_0x18c509(0x1ab),{'type':_0x29af09['DIcUR'],'description':'Config\x20key','demandOption':!![]});},async _0xe0fb21=>{const _0x354c72=_0x1f585c;warnRenamed(_0x29af09['yPiBC'],'ranger\x20profile\x20config\x20get'),await _0x29af09[_0x354c72(0x2d3)](withTelemetry,_0x29af09[_0x354c72(0x2c5)],()=>configGet(_0xe0fb21[_0x354c72(0x1ef)],_0xe0fb21['key']));})[_0x1f585c(0x255)](_0x29af09[_0x1f585c(0x19e)],![],_0x4e5ae7=>{const _0x7b628=_0x1f585c;return _0x4e5ae7['positional'](_0x7b628(0x1ef),{'type':_0x7b628(0x297),'description':'Environment\x20name','demandOption':!![]});},async _0x359943=>{const _0x2f58ae=_0x1f585c;_0x29af09['FClsw'](warnRenamed,_0x29af09['PndEB'],_0x2f58ae(0x21a)),await _0x29af09[_0x2f58ae(0x1ce)](withTelemetry,_0x29af09['bFNGp'],()=>configList(_0x359943['env']));})['command'](_0x29af09['DqmVj'],![],_0x2501b0=>{const _0x3ec86f=_0x1f585c;return _0x2501b0['positional']('env',{'type':_0x29af09[_0x3ec86f(0x205)],'description':_0x29af09[_0x3ec86f(0x188)],'demandOption':!![]})[_0x3ec86f(0x289)](_0x29af09['CAuCx'],{'type':_0x29af09[_0x3ec86f(0x205)],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x121bda=>{const _0x30f384=_0x1f585c;_0x29af09['RwUdi'](warnRenamed,_0x29af09[_0x30f384(0x2d9)],_0x30f384(0x28b)),await withTelemetry(_0x29af09[_0x30f384(0x271)],()=>configUnset(_0x121bda['env'],_0x121bda['key']));})[_0x1f585c(0x2b2)](0x1,_0x1f585c(0x2eb));})['command']('env',![],_0xa77799=>{const _0x550c9c=_0x4b19d6,_0x4841c6={'uiNvN':_0x550c9c(0x29f),'MRuAP':function(_0x4881b1,_0xf68f03,_0x59b2cd){return _0x4881b1(_0xf68f03,_0x59b2cd);},'dLFvm':'env-name','hEbVh':_0x550c9c(0x24a),'TNcty':_0x550c9c(0x291)};return _0xa77799['command']('ls',![],()=>{},async()=>{const _0x5b641a=_0x550c9c;warnRenamed(_0x4841c6['uiNvN'],_0x5b641a(0x280)),await _0x4841c6[_0x5b641a(0x206)](withTelemetry,'env\x20list',()=>envList());})['command']('update\x20<env-name>',![],_0x115fce=>{const _0xc1b1e6=_0x550c9c;return _0x115fce[_0xc1b1e6(0x289)](_0x4841c6[_0xc1b1e6(0x2ba)],{'type':'string','description':_0xc1b1e6(0x27a),'demandOption':!![]});},async _0x5ef2ac=>{const _0x27f367=_0x550c9c;warnRenamed(_0x27f367(0x197),_0x27f367(0x1bb)),await withTelemetry(_0x4841c6[_0x27f367(0x20b)],_0x2082e0=>updateEnv(_0x5ef2ac['env-name'],_0x2082e0));})[_0x550c9c(0x2b2)](0x1,_0x4841c6[_0x550c9c(0x2e5)]);})[_0x4b19d6(0x255)]('feature',![],_0x3ccab5=>{const _0x5f1031=_0x4b19d6,_0x58b73f={'OocBd':'description','nlObA':'Feature\x20review\x20description','AIeCj':_0x5f1031(0x1ee),'irDYX':'array','fKzSY':_0x5f1031(0x248),'clILd':function(_0x41eb16,_0x223264,_0x7431e7){return _0x41eb16(_0x223264,_0x7431e7);},'kOtjO':'ranger\x20feature\x20create','BmChG':function(_0x50db19,_0x19fb06,_0x520075,_0x155270){return _0x50db19(_0x19fb06,_0x520075,_0x155270);},'ANKzR':_0x5f1031(0x2ad),'FOMcv':_0x5f1031(0x2c7),'mRgvS':'boolean','XpKdW':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','kRoQw':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','SDzLY':'offset','XLZUb':'number','oQEDg':'Include\x20soft-deleted\x20feature\x20reviews','Gcidb':_0x5f1031(0x1f0),'tQDAB':function(_0x521ea6,_0x1d79e4,_0x14e6c9){return _0x521ea6(_0x1d79e4,_0x14e6c9);},'WpjKC':_0x5f1031(0x1b9),'TthEs':'string','zJDMB':function(_0x4e7617,_0x5758eb,_0xf752ec){return _0x4e7617(_0x5758eb,_0xf752ec);},'tSrfz':'feature\x20show','SqsXR':function(_0x50c82f,_0x52c4a2,_0x349eb6){return _0x50c82f(_0x52c4a2,_0x349eb6);},'GljPx':'ranger\x20feature\x20resume','OeBTA':_0x5f1031(0x277),'aVJyQ':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','jHqSI':'ranger\x20feature\x20add-checklist-item','UMJcY':_0x5f1031(0x2a3),'IuuZG':function(_0x49e37a,_0x8fed82,_0x527e59){return _0x49e37a(_0x8fed82,_0x527e59);},'vZZqc':_0x5f1031(0x2d8),'aYJpv':_0x5f1031(0x254),'BeKjY':'feature\x20get-feedback','ftFzQ':function(_0x5e247f,_0x4711f0,_0x5ad00c){return _0x5e247f(_0x4711f0,_0x5ad00c);},'HoBUq':'ranger\x20feature\x20delete','VlQpp':'ranger\x20delete','UhhLn':'Feature\x20review\x20ID\x20to\x20restore','BijQw':function(_0x571c24,_0x2d82d4,_0x36d02d){return _0x571c24(_0x2d82d4,_0x36d02d);},'MrrXt':_0x5f1031(0x261),'ntJmF':_0x5f1031(0x2b1),'jZTJn':'create\x20<name>','FSuCT':_0x5f1031(0x295),'WwztL':_0x5f1031(0x2bb),'pDkgw':'restore\x20<id>','JDvCK':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand'};return _0x3ccab5['command'](_0x58b73f['jZTJn'],![],_0x4843f1=>{const _0x1b61f2=_0x5f1031;return _0x4843f1[_0x1b61f2(0x289)]('name',{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x58b73f['OocBd'],{'type':'string','alias':'d','description':_0x58b73f[_0x1b61f2(0x28c)]})[_0x1b61f2(0x1c9)](_0x58b73f['AIeCj'],{'type':_0x58b73f[_0x1b61f2(0x203)],'alias':'c','description':_0x58b73f[_0x1b61f2(0x2ab)]})[_0x1b61f2(0x1c9)]('scenario',{'type':'array','hidden':!![]});},async _0x48154c=>{const _0x5a99cb=_0x5f1031;_0x58b73f[_0x5a99cb(0x29a)](warnRenamed,_0x58b73f['kOtjO'],'ranger\x20create'),_0x58b73f[_0x5a99cb(0x1a9)](warnFlagRenamed,_0x5a99cb(0x1c8),_0x5a99cb(0x23d),_0x5a99cb(0x2b7));const _0x8355ce=_0x48154c[_0x5a99cb(0x1a4)]||_0x48154c['checklist'];await _0x58b73f[_0x5a99cb(0x29a)](withTelemetry,_0x58b73f[_0x5a99cb(0x195)],()=>featureCreate(_0x48154c['name'],{'description':_0x48154c[_0x5a99cb(0x1a7)],'scenarios':_0x8355ce}));})[_0x5f1031(0x255)](_0x58b73f['FSuCT'],![],_0x4c52f0=>{const _0x4c46fa=_0x5f1031;return _0x4c52f0[_0x4c46fa(0x1c9)](_0x58b73f[_0x4c46fa(0x1e4)],{'type':_0x58b73f[_0x4c46fa(0x2c1)],'description':_0x58b73f['XpKdW']})['option']('limit',{'type':'number','alias':'l','description':_0x58b73f[_0x4c46fa(0x29d)],'default':0xa})['option'](_0x58b73f['SDzLY'],{'type':_0x58b73f['XLZUb'],'alias':'o','description':_0x4c46fa(0x25a),'default':0x0})[_0x4c46fa(0x1c9)]('include-deleted',{'type':_0x58b73f['mRgvS'],'alias':'d','description':_0x58b73f['oQEDg'],'default':![]});},async _0x2da048=>{const _0x491a72=_0x5f1031;_0x58b73f['clILd'](warnRenamed,_0x58b73f[_0x491a72(0x20a)],'ranger\x20list'),await _0x58b73f[_0x491a72(0x223)](withTelemetry,_0x58b73f['WpjKC'],()=>featureList({'currentBranch':_0x2da048['current-branch'],'limit':_0x2da048[_0x491a72(0x207)],'offset':_0x2da048[_0x491a72(0x2ef)],'includeDeleted':_0x2da048[_0x491a72(0x196)]}));})['command'](_0x5f1031(0x18d),![],_0x33dd2b=>{const _0x32a6b0=_0x5f1031;return _0x33dd2b[_0x32a6b0(0x289)]('id',{'type':_0x58b73f[_0x32a6b0(0x1a1)],'description':_0x32a6b0(0x1f1)});},async _0x569593=>{const _0x44228d=_0x5f1031;warnRenamed('ranger\x20feature\x20show','ranger\x20show'),await _0x58b73f[_0x44228d(0x1eb)](withTelemetry,_0x58b73f[_0x44228d(0x1b1)],()=>featureShow(_0x569593['id']));})['command'](_0x58b73f['WwztL'],![],_0x474a58=>{const _0x4dd748=_0x5f1031;return _0x474a58[_0x4dd748(0x289)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x518b1e=>{const _0x44cd25=_0x5f1031;_0x58b73f[_0x44cd25(0x2aa)](warnRenamed,_0x58b73f[_0x44cd25(0x25e)],_0x58b73f[_0x44cd25(0x250)]),await withTelemetry(_0x44cd25(0x26a),()=>featureResume(_0x518b1e['id']));})['command'](_0x5f1031(0x27c),![],_0x34cd52=>{const _0x337041=_0x5f1031;return _0x34cd52['positional'](_0x58b73f['OocBd'],{'type':_0x58b73f['TthEs'],'description':_0x337041(0x22a),'demandOption':!![]})[_0x337041(0x1c9)]('id',{'type':_0x337041(0x297),'description':_0x58b73f[_0x337041(0x2a6)]});},async _0x112a70=>{const _0x412cd8=_0x5f1031;warnRenamed(_0x58b73f[_0x412cd8(0x1e8)],_0x58b73f[_0x412cd8(0x24b)]),await _0x58b73f['clILd'](withTelemetry,'feature\x20add-checklist-item',()=>featureAddScenario(_0x112a70[_0x412cd8(0x1a7)],_0x112a70['id']));})[_0x5f1031(0x255)](_0x5f1031(0x1bf),![],_0x3a9c55=>{const _0x462957=_0x5f1031;return _0x3a9c55['positional']('id',{'type':_0x58b73f[_0x462957(0x1a1)],'description':_0x58b73f['aVJyQ']});},async _0x163bcf=>{const _0x1c0b4b=_0x5f1031;_0x58b73f['IuuZG'](warnRenamed,_0x58b73f['vZZqc'],_0x58b73f[_0x1c0b4b(0x1f2)]),await _0x58b73f[_0x1c0b4b(0x1eb)](withTelemetry,_0x58b73f[_0x1c0b4b(0x2e1)],()=>featureGetReview(_0x163bcf['id']));})['command'](_0x5f1031(0x1c2),![],_0x2711c6=>{return _0x2711c6['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x4a6495=>{const _0x5f214a=_0x5f1031;_0x58b73f[_0x5f214a(0x24c)](warnRenamed,_0x58b73f['HoBUq'],_0x58b73f[_0x5f214a(0x2e0)]),await _0x58b73f[_0x5f214a(0x24c)](withTelemetry,_0x5f214a(0x245),()=>featureDelete(_0x4a6495['id']));})['command'](_0x58b73f['pDkgw'],![],_0x541b9b=>{const _0x2a9cc4=_0x5f1031;return _0x541b9b['positional']('id',{'type':_0x58b73f['TthEs'],'description':_0x58b73f[_0x2a9cc4(0x2dc)],'demandOption':!![]});},async _0x1a88c0=>{_0x58b73f['BijQw'](warnRenamed,_0x58b73f['MrrXt'],'ranger\x20restore'),await withTelemetry(_0x58b73f['ntJmF'],()=>featureRestore(_0x1a88c0['id']));})[_0x5f1031(0x2b2)](0x1,_0x58b73f[_0x5f1031(0x22e)]);})[_0x4b19d6(0x255)](_0x4b19d6(0x2d4),![],_0x2f0f0b=>{const _0x50a84c=_0x4b19d6,_0xacbb34={'cemFG':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','Dqbik':function(_0x416471,_0x564d41,_0x5e7911){return _0x416471(_0x564d41,_0x5e7911);},'pIOge':_0x50a84c(0x1e2),'QeylN':_0x50a84c(0x297),'LBDsW':function(_0x19d848,_0x29104f,_0x3d125e){return _0x19d848(_0x29104f,_0x3d125e);},'ulQtO':_0x50a84c(0x201),'AdHfk':_0x50a84c(0x273),'KOWvW':'name','IVThP':_0x50a84c(0x204)};return _0x2f0f0b['command'](_0xacbb34[_0x50a84c(0x2d2)],_0xacbb34[_0x50a84c(0x214)],_0x456e73=>{const _0x27212d=_0x50a84c;return _0x456e73[_0x27212d(0x1c9)](_0x27212d(0x1cf),{'type':'string','description':_0xacbb34[_0x27212d(0x202)]});},async _0xee2d31=>{const _0x3d39fe=_0x50a84c;await _0xacbb34['Dqbik'](withTelemetry,_0xacbb34['pIOge'],()=>hook(_0x3d39fe(0x201),_0xee2d31[_0x3d39fe(0x1cf)]));})['command']('disable',_0x50a84c(0x270),_0x394dc5=>{const _0x1bcf8a=_0x50a84c;return _0x394dc5[_0x1bcf8a(0x1c9)]('session-id',{'type':_0xacbb34[_0x1bcf8a(0x19f)],'description':_0xacbb34['cemFG']});},async _0x4eb5d3=>{const _0x5e59e5=_0x50a84c;await _0xacbb34[_0x5e59e5(0x230)](withTelemetry,'hook:disable',()=>hook('disable',_0x4eb5d3['session-id']));})[_0x50a84c(0x1c9)](_0xacbb34['KOWvW'],{'type':'string','description':_0xacbb34[_0x50a84c(0x1e0)]})[_0x50a84c(0x1c9)]('session-id',{'type':_0xacbb34[_0x50a84c(0x19f)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x23620b=>{const _0x22eed3=_0x4b19d6,_0x25fa1d={'hENCw':function(_0x16ff2f,_0x12eb2f,_0x49fef5){return _0x16ff2f(_0x12eb2f,_0x49fef5);},'qafjh':'session-id'};_0x23620b[_0x22eed3(0x283)]&&await _0x25fa1d[_0x22eed3(0x288)](hook,_0x23620b['name'],_0x23620b[_0x25fa1d['qafjh']]);})[_0x4b19d6(0x2b2)](0x1,'You\x20must\x20specify\x20a\x20command')[_0x4b19d6(0x2be)]()['fail'](async(_0x2cb751,_0x16ac1f,_0x48348c)=>{const _0x5b80e7=_0x4b19d6,_0x247113={'SCcqx':function(_0x468eb9,_0x3d115a,_0x404d2d){return _0x468eb9(_0x3d115a,_0x404d2d);}},_0x191dfa=sanitizeArgs(process['argv']['slice'](0x2)),_0xe69652=_0x247113[_0x5b80e7(0x246)](getErrorType,_0x2cb751,_0x16ac1f);if(_0x2cb751&&_0x2cb751['includes']('Unknown\x20command')){const _0x1f05db=process[_0x5b80e7(0x27e)][0x2];console[_0x5b80e7(0x267)](_0x5b80e7(0x262)+_0x1f05db),console['error']('Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a');}else{if(_0x2cb751)console['error']('\x0a'+_0x2cb751+'\x0a');else _0x16ac1f&&console[_0x5b80e7(0x267)](_0x5b80e7(0x1b6)+_0x16ac1f[_0x5b80e7(0x2b0)]+'\x0a');}await logDesirePath({'rawCommand':_0x191dfa,'errorMessage':_0x2cb751||_0x16ac1f?.[_0x5b80e7(0x2b0)],'errorType':_0xe69652});const _0x218ac3=getCurrentCollector();_0x218ac3&&await _0x218ac3[_0x5b80e7(0x1d1)](_0x16ac1f||new Error(_0x2cb751||_0x5b80e7(0x2df))),process[_0x5b80e7(0x263)](0x1);})[_0x4b19d6(0x2e2)]('Documentation:\x0a'+'\x20\x20https://docs.ranger.net\x0a'+_0x4b19d6(0x2c2))['help']()['alias'](_0x4b19d6(0x233),'h')[_0x4b19d6(0x1c7)]();
2
+ const _0x2c8e35=_0x4aba;(function(_0x109430,_0x589553){const _0xfad91c=_0x4aba,_0x3387ce=_0x109430();while(!![]){try{const _0x3f56c7=parseInt(_0xfad91c(0x21d))/0x1*(-parseInt(_0xfad91c(0x2cd))/0x2)+parseInt(_0xfad91c(0x222))/0x3*(parseInt(_0xfad91c(0x285))/0x4)+parseInt(_0xfad91c(0x247))/0x5+parseInt(_0xfad91c(0x1f1))/0x6+parseInt(_0xfad91c(0x200))/0x7*(parseInt(_0xfad91c(0x2e3))/0x8)+parseInt(_0xfad91c(0x2c0))/0x9*(-parseInt(_0xfad91c(0x1eb))/0xa)+-parseInt(_0xfad91c(0x1be))/0xb*(parseInt(_0xfad91c(0x2d4))/0xc);if(_0x3f56c7===_0x589553)break;else _0x3387ce['push'](_0x3387ce['shift']());}catch(_0x6cea94){_0x3387ce['push'](_0x3387ce['shift']());}}}(_0x11c8,0xe19c9));import _0x449056 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x27f099=_0x4aba,_0x2bb657={'kjGqF':function(_0x37a3a,_0x1e1e08){return _0x37a3a!==_0x1e1e08;},'VuZeL':function(_0x1f67dd,_0x1a1dc7){return _0x1f67dd(_0x1a1dc7);},'bPxxU':function(_0x3479df,_0xc22163){return _0x3479df(_0xc22163);},'fcQuS':function(_0x3ddc1c,_0x3515fc,_0x30f2d7){return _0x3ddc1c(_0x3515fc,_0x30f2d7);}};let _0x191ef9=process[_0x27f099(0x268)]();const _0x36d513=parse(_0x191ef9)['root'];while(_0x2bb657['kjGqF'](_0x191ef9,_0x36d513)){if(_0x2bb657['VuZeL'](existsSync,join(_0x191ef9,_0x27f099(0x28b)))||_0x2bb657['bPxxU'](existsSync,_0x2bb657['fcQuS'](join,_0x191ef9,'.env')))return _0x191ef9;_0x191ef9=dirname(_0x191ef9);}return process[_0x27f099(0x268)]();}_0x449056['config']({'path':join(findProjectRoot(),'.env')});import _0xc1633b 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';function _0x11c8(){const _0x13fa94=['isuCP','New\x20scenario\x20description','ranger\x20config\x20set','clean','uIvGH','CiMTz','sqSKy','cEvtZ','yqzQL','bwpue','feature\x20add-checklist-item','Feature\x20review\x20ID\x20to\x20restore','wxoJR','ranger\x20feature\x20get-feedback','\x20VERIFIED','GPbnJ','headed','SFUco','Remove\x20a\x20config\x20value','dwecZ','skip-chromium','number','63aDMWdP','wQTlT','WxpUf','PFLQE','project','jUcyS','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','vIUSj','Evlcd','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','env\x20list','resume\x20[id]','Number\x20of\x20feature\x20reviews\x20to\x20skip','2zxAHJW','Name\x20of\x20the\x20profile\x20to\x20update','wrAWV','feature\x20create','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','ranger\x20start','ktwmA','9647868VIRgLH','key','profile\x20config\x20unset','XdVKW','GnqzL','\x0aUnknown\x20command:\x20','current-branch','vCsgb','ardUx','set\x20<profile>\x20<key>\x20<value>','LFkbC','hzZHl','ranger\x20delete','ZKozd','qMeMv','8748760MjmCNO','Add\x20profile\x20configuration','KWWhf','feature','wUazf','epilogue','FsKOs','config','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','SanpS','feature\x20delete','gbYVt','json','Scenario\x20index\x20(1-based)','add\x20<profile-name>','PLhPl','Optional\x20feature\x20ID','start','startsWith','--scenario','AJKOJ','start\x20[token]','CirVq','mokuc','safe-mode','add\x20env\x20<env-name>','UKoNP','LFRgZ','update\x20<profile-name>','uxsdF','KdjCs','xsMaW','EnHld','tDPvM','Initialize\x20Ranger\x20in\x20your\x20project','PFvLW','setup-ci','DDxvY','Manage\x20profiles','TBrtJ','ranger\x20auth\x20encrypt','uXYfJ','Install\x20skills\x20for\x20OpenCode','UEYLM','twMpk','Config\x20value','command','allow-insecure-localhost','parse','Evaluation:\x20','log','Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','hczsf','lwGKE','uHBiF','yjNmj','FkYBY','config\x20list','--profile','ranger\x20profile\x20config\x20set','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','show','list','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','11KvQMQU','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','ihGPI','task','ZcMhY','nFSRk','get\x20<profile>\x20<key>','KNjKT','Name\x20of\x20the\x20environment','gJOyd','partial','VCSiI','boolean','ranger\x20env\x20ls','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','RXsSd','trackCommandError','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','flag','get\x20<env>\x20<key>','profile','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','lMvEu','url','aEwAG','Nkokk','LrowW','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','lpeoA','RYCKt','array','feature\x20restore','item','bGgHv','NYDiP','KMmZZ','profile\x20use','positional','QCNxz','evaluation','session-id','string','WgacE','error','336060EZClYk','WbVRj','user','ZCpEo','\x20is\x20now\x20','update\x20<env-name>','1776774kdOfwp','crHrD','NEBUI','AqhPN','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','debug-outcome','ranger\x20restore','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','Skip\x20Claude\x20Code\x20plugin\x20+\x20skills\x20install\x20(for\x20OpenCode\x20users)','restore\x20<id>','rUHBx','argv','List\x20all\x20profiles','yLwOS','help','7MloZdf','model','Profile\x20name','strictCommands','xNzgV','Feature\x20review\x20description','vTABq','ssMcv','\x0aError:\x20','Scenario\x20number\x20to\x20edit\x20(1-based)','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','fail','pRbhk','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','report','\x20INCOMPLETE','get-feedback\x20[id]','WVwjO','yyPXT','cdp-endpoint','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','severity','tliAp','message','disable','encrypt\x20<profile>','meSnD','profile-name','You\x20must\x20specify\x20an\x20env\x20subcommand','819202OgMGCT','Reason:\x20','Mhoth','NIYRR','gDpWw','837156RoSKeb','base-url','update','rZPbn','skillup','unhandledRejection','ranger\x20feature\x20delete','name','ranger\x20profile\x20encrypt-auth','debug-address-comments','checklist','prxIj','HkelJ','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','Summary:\x20','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','Include\x20soft-deleted\x20feature\x20reviews','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','scenario','MeMrP','Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','apsRA','Install\x20scope\x20for\x20skills','ranger\x20create','ranger\x20profile\x20config\x20get','bSqkG','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','gvJAu','eYMJO','rjGsA','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x0aKeys:\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20header.<name>\x20\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20header.X-Test-Mode)\x0a\x20\x20setupHeader.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeader.x-bypass-turnstile)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20header.Authorization\x20\x27${AUTH_TOKEN}\x27\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20setupHeader.x-bypass-turnstile\x20\x27a1b2c3d4...\x27','unset\x20<profile>\x20<key>','PPmDU','kFGkb','lCBQr','evaluationReason','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','4173550LVUkpS','BlVMe','Feature\x20review\x20ID','blocked','includes','scriptName','gxukL','GIOLG','token','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','incomplete','BsrVf','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','description','demandCommand','notes','auth','list\x20<profile>','ranger\x20use','show\x20[id]','version','scope','slice','verified','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','offset','verify-feature','OVGBT','HeVvY','encrypt-auth\x20<profile>','Config\x20key','env-name','include-deleted','cwd','mCUYA','ranger\x20resume','env','IUMpj','unset\x20<env>\x20<key>','ranger\x20feature\x20show','TPPDs','ranger\x20verify-feature','ZtHim','Get\x20a\x20config\x20value','jdTvz','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','limit','exit','repeat','Restore\x20a\x20soft-deleted\x20feature\x20review','fpVEj','GMQhx','zepqV','option','status','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','feature\x20get-feedback','YuQQw','HyWCr','resume','force','hook','8SNrKAw','FsWMV','zTHkT','mlePO','Awcaa','profile\x20config\x20set','.ranger','add\x20env','kUxAp','create\x20<name>','sUqri','feature\x20show','ranger\x20config\x20get','Update\x20authentication\x20for\x20an\x20existing\x20profile','issues','NpHXU','ABMSm','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','delete','sXETS','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','ranger','alias','AvMQi','ROVsn','FYxbX','Feature\x20review\x20name','EGbEc','report\x20[id]','uKLqX','usage','AdGdm','CwnRJ','Unknown\x20error','DFyEP','get-review','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)'];_0x11c8=function(){return _0x13fa94;};return _0x11c8();}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'](_0x2c8e35(0x227),async _0xc9763b=>{const _0x40f067=getCurrentCollector();_0x40f067&&await _0x40f067['trackCommandError'](_0xc9763b),process['exitCode']=0x1;});const rawArgs=process[_0x2c8e35(0x1fc)][_0x2c8e35(0x25d)](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/update/config/encrypt-auth)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP=_0x2c8e35(0x20d),PROFILE_CONFIG_HELP=_0x2c8e35(0x240);function warnRenamed(_0x2e7c9d,_0x458041){const _0x1b681b=_0x2c8e35;console['error']('\x0a'+_0x2e7c9d+_0x1b681b(0x1ef)+_0x458041+'\x0a');}function argUsed(_0x46ac44){const _0x40452a=_0x2c8e35;return rawArgs['some'](_0xafdead=>_0xafdead===_0x46ac44||_0xafdead[_0x40452a(0x2f5)](_0x46ac44+'='));}function warnFlagRenamed(_0x4ec379,_0xf0f1d4,_0x46d8cd){const _0x258754=_0x2c8e35,_0x539d98={'uIvGH':function(_0x1ced07,_0x22bc89,_0x332658){return _0x1ced07(_0x22bc89,_0x332658);}};argUsed(_0xf0f1d4)&&_0x539d98[_0x258754(0x2ae)](warnRenamed,_0x4ec379+'\x20'+_0xf0f1d4,_0x4ec379+'\x20'+_0x46d8cd);}async function runGoCommand(_0x4ff821,_0x29844d=![]){const _0x605104=_0x2c8e35,_0x169e8a={'TRkoJ':function(_0x5f38a7,_0x393768,_0x5eda76){return _0x5f38a7(_0x393768,_0x5eda76);},'PQdOU':_0x605104(0x270),'RVLCL':function(_0x59edf6,_0x5c44d1,_0x2aa591,_0x262fcf){return _0x59edf6(_0x5c44d1,_0x2aa591,_0x262fcf);},'DFyEP':'--env','lpeoA':_0x605104(0x1b8),'Evlcd':'ranger\x20go','jFORe':'--task','UpZFz':'--scenario','NErWx':function(_0x454632){return _0x454632();},'LFkbC':function(_0x41dfab,_0x7a2113){return _0x41dfab??_0x7a2113;},'RYCKt':_0x605104(0x1d1),'uGJJv':'debug-address-comments','cEvtZ':function(_0x1f9521,_0x586edd){return _0x1f9521+_0x586edd;},'ardUx':function(_0x57408e,_0x42fddd){return _0x57408e===_0x42fddd;},'prxIj':_0x605104(0x2b8),'fXbKw':'partial','wQTlT':'\x20BLOCKED','dwecZ':'\x20FAILED','LrxYr':'\x0aIssues:','LFRgZ':_0x605104(0x25e)};_0x29844d&&_0x169e8a['TRkoJ'](warnRenamed,_0x169e8a['PQdOU'],'ranger\x20go');_0x169e8a['RVLCL'](warnFlagRenamed,'ranger\x20go',_0x169e8a[_0x605104(0x2a7)],_0x169e8a[_0x605104(0x1db)]),warnFlagRenamed(_0x169e8a[_0x605104(0x2c8)],_0x169e8a['jFORe'],'--notes'),_0x169e8a['RVLCL'](warnFlagRenamed,_0x169e8a['Evlcd'],'--item',_0x169e8a['UpZFz']);const _0x5f42ba=await _0x169e8a['NErWx'](loadRangerConfig),_0x2765c7=_0x4ff821[_0x605104(0x201)],_0x245846=_0x5f42ba['model'],_0x4844e3=_0x169e8a[_0x605104(0x2de)](_0x2765c7,_0x245846),_0x5083b1=_0x2765c7?_0x169e8a[_0x605104(0x1dc)]:_0x245846?_0x605104(0x2ea):'default',_0x169865=await verifyFeature({'featureId':_0x4ff821[_0x605104(0x2e6)],'profile':_0x4ff821[_0x605104(0x1d3)]??_0x4ff821[_0x605104(0x26b)],'notes':_0x4ff821['notes']??_0x4ff821[_0x605104(0x1c1)],'scenario':_0x4ff821['scenario']??_0x4ff821['item'],'startPath':_0x4ff821['start-path'],'debugOutcome':_0x4ff821[_0x605104(0x1f6)],'debugAddressComments':_0x4ff821[_0x169e8a['uGJJv']],'headed':_0x4ff821['headed'],'verifyModel':_0x4844e3,'verifyModelInput':_0x4844e3,'verifyModelSource':_0x5083b1});console[_0x605104(0x1b0)](_0x169e8a[_0x605104(0x2b1)]('\x0a','='['repeat'](0x3c))),console[_0x605104(0x1b0)](_0x169e8a[_0x605104(0x2dc)](_0x169865['evaluation'],_0x605104(0x25e))?_0x169e8a[_0x605104(0x22d)]:_0x169865['evaluation']===_0x605104(0x251)?_0x605104(0x20f):_0x169e8a[_0x605104(0x2dc)](_0x169865['evaluation'],_0x169e8a['fXbKw'])?'\x20PARTIAL':_0x169e8a[_0x605104(0x2dc)](_0x169865['evaluation'],_0x605104(0x24a))?_0x169e8a[_0x605104(0x2c1)]:_0x169e8a[_0x605104(0x2bd)]),console[_0x605104(0x1b0)]('='[_0x605104(0x277)](0x3c)),console[_0x605104(0x1b0)](_0x605104(0x230)+_0x169865['summary']),console[_0x605104(0x1b0)](_0x605104(0x1af)+_0x169865['evaluation']),console[_0x605104(0x1b0)](_0x605104(0x21e)+_0x169865[_0x605104(0x245)]),_0x169865[_0x605104(0x293)]?.['length']&&(console['log'](_0x169e8a['LrxYr']),_0x169865['issues']['forEach']((_0x24f474,_0x5471ee)=>{const _0x5238a7=_0x605104;console[_0x5238a7(0x1b0)]('\x0a'+(_0x5471ee+0x1)+'.\x20['+_0x24f474[_0x5238a7(0x215)]+']\x20'+_0x24f474[_0x5238a7(0x254)]);})),process[_0x605104(0x276)](_0x169e8a['ardUx'](_0x169865[_0x605104(0x1e6)],_0x169e8a[_0x605104(0x2fe)])?0x0:0x1);}function _0x4aba(_0x40defb,_0x39eed3){_0x40defb=_0x40defb-0x1a1;const _0x11c858=_0x11c8();let _0x4aba96=_0x11c858[_0x40defb];return _0x4aba96;}_0xc1633b(process['argv'][_0x2c8e35(0x25d)](0x2))[_0x2c8e35(0x24c)](_0x2c8e35(0x29a))[_0x2c8e35(0x2a3)](TOP_LEVEL_HELP)[_0x2c8e35(0x25b)](getCurrentVersion())['command'](_0x2c8e35(0x28e),_0x2c8e35(0x1bd),_0x25618a=>{const _0x42ef74=_0x2c8e35,_0x7cfb36={'bzOun':_0x42ef74(0x1e8),'Haqav':_0x42ef74(0x29f),'MeMrP':'description','ZtHim':'Feature\x20review\x20description','SPWJe':'array'};return _0x25618a['positional'](_0x42ef74(0x229),{'type':_0x7cfb36['bzOun'],'description':_0x7cfb36['Haqav'],'demandOption':!![]})['option'](_0x7cfb36[_0x42ef74(0x235)],{'type':'string','alias':'d','description':_0x7cfb36[_0x42ef74(0x271)]})[_0x42ef74(0x27c)]('scenario',{'type':_0x7cfb36['SPWJe'],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option']('checklist',{'type':_0x42ef74(0x1dd),'hidden':!![]});},async _0x500d3d=>{const _0x3ecc62=_0x2c8e35,_0x3ac363={'UhGCP':function(_0x1749e2,_0x1154d6,_0x215b0c,_0x15e0ef){return _0x1749e2(_0x1154d6,_0x215b0c,_0x15e0ef);},'OVGBT':_0x3ecc62(0x2f6),'uKLqX':function(_0xa8aeb7,_0x47dc14,_0xdf259b){return _0xa8aeb7(_0x47dc14,_0xdf259b);},'GPbnJ':'create'};_0x3ac363['UhGCP'](warnFlagRenamed,'ranger\x20create','--checklist',_0x3ac363[_0x3ecc62(0x262)]);const _0x15fec7=_0x500d3d[_0x3ecc62(0x234)]||_0x500d3d['checklist'];await _0x3ac363[_0x3ecc62(0x2a2)](withTelemetry,_0x3ac363[_0x3ecc62(0x2b9)],()=>featureCreate(_0x500d3d[_0x3ecc62(0x229)],{'description':_0x500d3d[_0x3ecc62(0x254)],'scenarios':_0x15fec7}));})['command'](_0x2c8e35(0x1bc),'List\x20all\x20feature\x20reviews',_0x5cb020=>{const _0x29715b=_0x2c8e35,_0x402cb0={'PPmDU':'current-branch','AqhPN':'boolean','Fnjcx':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','qxrjY':_0x29715b(0x2cc)};return _0x5cb020[_0x29715b(0x27c)](_0x402cb0[_0x29715b(0x242)],{'type':_0x402cb0[_0x29715b(0x1f4)],'description':_0x402cb0['Fnjcx']})[_0x29715b(0x27c)]('limit',{'type':_0x29715b(0x2bf),'alias':'l','description':_0x29715b(0x246),'default':0xa})[_0x29715b(0x27c)]('offset',{'type':_0x29715b(0x2bf),'alias':'o','description':_0x402cb0['qxrjY'],'default':0x0})['option']('include-deleted',{'type':_0x29715b(0x1ca),'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x3d3cca=>{const _0x20c46f=_0x2c8e35;await withTelemetry('list',()=>featureList({'currentBranch':_0x3d3cca[_0x20c46f(0x2da)],'limit':_0x3d3cca[_0x20c46f(0x275)],'offset':_0x3d3cca[_0x20c46f(0x260)],'includeDeleted':_0x3d3cca[_0x20c46f(0x267)]}));})[_0x2c8e35(0x1ac)]('show\x20[id]',_0x2c8e35(0x2a9),_0x4b5b3e=>{const _0x33a90d=_0x2c8e35,_0x48ee80={'rxsIv':'string'};return _0x4b5b3e[_0x33a90d(0x1e4)]('id',{'type':_0x48ee80['rxsIv'],'description':_0x33a90d(0x249)});},async _0x3046b9=>{const _0x1d8df=_0x2c8e35,_0x51062e={'sDJJG':_0x1d8df(0x1bb)};await withTelemetry(_0x51062e['sDJJG'],()=>featureShow(_0x3046b9['id']));})['command'](_0x2c8e35(0x2cb),_0x2c8e35(0x233),_0x5a20d6=>{const _0x364546=_0x2c8e35,_0x218f78={'bkGOq':_0x364546(0x1e8),'Mhoth':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'};return _0x5a20d6[_0x364546(0x1e4)]('id',{'type':_0x218f78['bkGOq'],'description':_0x218f78[_0x364546(0x21f)]});},async _0x1f2234=>{const _0x5ec060=_0x2c8e35,_0x427e3a={'ihGPI':_0x5ec060(0x282)};await withTelemetry(_0x427e3a[_0x5ec060(0x1c0)],()=>featureResume(_0x1f2234['id']));})[_0x2c8e35(0x1ac)]('add-scenario\x20<description>',_0x2c8e35(0x1f5),_0x128ee6=>{const _0x250a6c=_0x2c8e35,_0x3f8f2a={'cGAUC':_0x250a6c(0x254),'bSqkG':'string','kUxAp':'Scenario\x20description','isuCP':_0x250a6c(0x253)};return _0x128ee6[_0x250a6c(0x1e4)](_0x3f8f2a['cGAUC'],{'type':_0x3f8f2a['bSqkG'],'description':_0x3f8f2a[_0x250a6c(0x28d)],'demandOption':!![]})['option']('id',{'type':_0x3f8f2a[_0x250a6c(0x23b)],'description':_0x3f8f2a[_0x250a6c(0x2aa)]});},async _0x4be08a=>{const _0x2a7576=_0x2c8e35,_0x11d8d3={'gcYjL':function(_0xee8178,_0x2289fa,_0xe7b679){return _0xee8178(_0x2289fa,_0xe7b679);}};await _0x11d8d3['gcYjL'](withTelemetry,'add-scenario',()=>featureAddScenario(_0x4be08a[_0x2a7576(0x254)],_0x4be08a['id']));})['command']('edit-scenario\x20<description>','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x230d30=>{const _0x2245a2=_0x2c8e35,_0x5e621a={'Peptj':_0x2245a2(0x254),'owYTC':_0x2245a2(0x2ab),'MfLPk':'scenario','wxoJR':'number','adxHc':_0x2245a2(0x1e8),'eeXlI':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0x230d30[_0x2245a2(0x1e4)](_0x5e621a['Peptj'],{'type':_0x2245a2(0x1e8),'description':_0x5e621a['owYTC'],'demandOption':!![]})['option'](_0x5e621a['MfLPk'],{'type':_0x5e621a[_0x2245a2(0x2b6)],'description':_0x2245a2(0x209),'demandOption':!![]})['option']('id',{'type':_0x5e621a['adxHc'],'description':_0x5e621a['eeXlI']});},async _0x496498=>{const _0x138049=_0x2c8e35,_0x5cb5e9={'kFGkb':'edit-scenario'};await withTelemetry(_0x5cb5e9[_0x138049(0x243)],()=>featureEditScenario(_0x496498[_0x138049(0x254)],{'id':_0x496498['id'],'scenario':_0x496498['scenario']}));})[_0x2c8e35(0x1ac)](_0x2c8e35(0x2a1),_0x2c8e35(0x1cc),_0xbc5574=>{const _0x3afa4a=_0x2c8e35,_0x5d8962={'ZRqOP':_0x3afa4a(0x249),'NYDiP':'exclude-scenario','FYxbX':'array','ZcMhY':_0x3afa4a(0x22f),'MBkLO':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown'};return _0xbc5574['positional']('id',{'type':_0x3afa4a(0x1e8),'description':_0x5d8962['ZRqOP']})[_0x3afa4a(0x27c)](_0x5d8962[_0x3afa4a(0x1e1)],{'type':_0x5d8962[_0x3afa4a(0x29e)],'description':_0x5d8962[_0x3afa4a(0x1c2)]})['option'](_0x3afa4a(0x2ef),{'type':_0x3afa4a(0x1ca),'description':_0x5d8962['MBkLO'],'default':![]});},async _0x1f4eed=>{const _0x434d88=_0x2c8e35,_0x44b3a4={'zepqV':'exclude-scenario'},_0x48c6b8=_0x1f4eed[_0x44b3a4[_0x434d88(0x27b)]],_0x3419ee=_0x48c6b8?_0x48c6b8['map'](_0x2b5834=>Number(_0x2b5834)):undefined;await withTelemetry(_0x434d88(0x20e),()=>featureReportPrDescription(_0x1f4eed['id'],{'excludeScenarios':_0x3419ee,'json':_0x1f4eed['json']}));})[_0x2c8e35(0x1ac)]('get-review\x20[id]','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x54b388=>{const _0x50d478=_0x2c8e35;return _0x54b388[_0x50d478(0x1e4)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x5d8ba3=>{const _0x3da1f3=_0x2c8e35,_0x19f740={'bITNt':function(_0x19a450,_0x1aaea8,_0x3062b5){return _0x19a450(_0x1aaea8,_0x3062b5);},'GMQhx':_0x3da1f3(0x2a8)};await _0x19f740['bITNt'](withTelemetry,_0x19f740[_0x3da1f3(0x27a)],()=>featureGetReview(_0x5d8ba3['id']));})[_0x2c8e35(0x1ac)]('delete\x20[id]',_0x2c8e35(0x2d1),_0x4fc70c=>{const _0x5c2201=_0x2c8e35;return _0x4fc70c[_0x5c2201(0x1e4)]('id',{'type':_0x5c2201(0x1e8),'description':_0x5c2201(0x249)});},async _0x41ba6e=>{const _0xe24ba4=_0x2c8e35,_0x236d10={'dlhTs':function(_0xc6dfb0,_0x23b612,_0x56655e){return _0xc6dfb0(_0x23b612,_0x56655e);}};await _0x236d10['dlhTs'](withTelemetry,_0xe24ba4(0x297),()=>featureDelete(_0x41ba6e['id']));})[_0x2c8e35(0x1ac)](_0x2c8e35(0x1fa),_0x2c8e35(0x278),_0x284c8c=>{const _0x26f7de=_0x2c8e35;return _0x284c8c[_0x26f7de(0x1e4)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x3d66a2=>{const _0x5f3a23=_0x2c8e35,_0x26b2bf={'LrowW':function(_0x4261c9,_0x265e68,_0x16d6fa){return _0x4261c9(_0x265e68,_0x16d6fa);},'WSPUl':'restore'};await _0x26b2bf[_0x5f3a23(0x1d9)](withTelemetry,_0x26b2bf['WSPUl'],()=>featureRestore(_0x3d66a2['id']));})['command']('setup\x20[token]',_0x2c8e35(0x305),_0x58ceff=>{const _0x30dda7=_0x2c8e35,_0x256675={'PLhPl':'token','TBrtJ':'boolean','VJRgt':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','lYGnP':_0x30dda7(0x1e8),'gDpWw':_0x30dda7(0x1ed),'LckPB':'project','uFCgO':_0x30dda7(0x1d6),'CKGth':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)'};return _0x58ceff['positional'](_0x256675[_0x30dda7(0x2f2)],{'type':_0x30dda7(0x1e8),'description':_0x30dda7(0x250)})['option'](_0x30dda7(0x2be),{'type':_0x256675[_0x30dda7(0x1a5)],'description':_0x256675['VJRgt'],'default':![]})[_0x30dda7(0x27c)]('scope',{'type':_0x256675['lYGnP'],'choices':[_0x256675[_0x30dda7(0x221)],_0x256675['LckPB']],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})['option'](_0x256675['uFCgO'],{'type':_0x256675['lYGnP'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})[_0x30dda7(0x27c)](_0x30dda7(0x283),{'type':'boolean','description':_0x30dda7(0x2c9),'default':![]})[_0x30dda7(0x27c)]('opencode',{'type':'boolean','description':_0x30dda7(0x1f9),'default':![]})['option']('allow-insecure-localhost',{'type':_0x30dda7(0x1ca),'description':_0x256675['CKGth'],'default':![]});},async _0x192bef=>{const _0x33dd0c=_0x2c8e35,_0x1c7ea2={'TbODE':function(_0x2cd802,_0x5bc28f,_0x26b0c1){return _0x2cd802(_0x5bc28f,_0x26b0c1);}};await _0x1c7ea2['TbODE'](withTelemetry,_0x33dd0c(0x2f4),_0x29c25b=>start(_0x192bef['token'],{'skipChromium':_0x192bef[_0x33dd0c(0x2be)],'scope':_0x192bef[_0x33dd0c(0x25c)],'url':_0x192bef[_0x33dd0c(0x1d6)],'force':_0x192bef['force'],'opencode':_0x192bef['opencode'],'allowInsecureLocalhost':_0x192bef['allow-insecure-localhost']},_0x29c25b));})[_0x2c8e35(0x1ac)]('setup-ci\x20<token>',_0x2c8e35(0x214),_0xbb164=>{const _0x580ca9=_0x2c8e35,_0x48f6be={'ktwmA':'string','ZKozd':'profile','KdjCs':_0x580ca9(0x1d0),'CiMTz':'base-url','PFLQE':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','meSnD':_0x580ca9(0x2be),'olCdq':'boolean'};return _0xbb164[_0x580ca9(0x1e4)]('token',{'type':_0x48f6be['ktwmA'],'description':'Ranger\x20API\x20token','demandOption':!![]})[_0x580ca9(0x27c)](_0x48f6be[_0x580ca9(0x2e1)],{'type':_0x48f6be[_0x580ca9(0x2d3)],'description':_0x48f6be[_0x580ca9(0x301)]})[_0x580ca9(0x27c)](_0x48f6be[_0x580ca9(0x2af)],{'type':_0x48f6be['ktwmA'],'description':_0x48f6be[_0x580ca9(0x2c3)]})[_0x580ca9(0x27c)](_0x48f6be[_0x580ca9(0x21a)],{'type':_0x48f6be['olCdq'],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x295844=>{const _0x3f3117=_0x2c8e35,_0x2f9c52={'KYhQb':_0x3f3117(0x1a2)};await withTelemetry(_0x2f9c52['KYhQb'],_0x18f64a=>setupCi(_0x295844[_0x3f3117(0x24f)],{'profile':_0x295844[_0x3f3117(0x1d3)],'baseUrl':_0x295844[_0x3f3117(0x223)],'skipChromium':_0x295844['skip-chromium']},_0x18f64a));})['command']('login','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)',()=>{},async()=>{const _0x578d8f={'rXOvH':function(_0x3e2643,_0x173e85,_0x198d59){return _0x3e2643(_0x173e85,_0x198d59);}};await _0x578d8f['rXOvH'](withTelemetry,'login',()=>login());})['command'](_0x2c8e35(0x226),'Install\x20Ranger\x20skills',_0x419dc3=>{const _0x10f71d=_0x2c8e35,_0x4b0bf8={'TCxGG':'boolean','xamLe':_0x10f71d(0x25c),'PZebt':_0x10f71d(0x2c4)};return _0x419dc3['option']('opencode',{'type':_0x4b0bf8['TCxGG'],'description':_0x10f71d(0x1a8),'default':![]})['option'](_0x4b0bf8['xamLe'],{'type':_0x10f71d(0x1e8),'choices':['user',_0x4b0bf8['PZebt']],'description':_0x10f71d(0x238)});},async _0x2917a0=>{const _0x3822ec=_0x2c8e35,_0x225a59={'jdTvz':function(_0x1b7da7,_0x192570,_0x4d0df5){return _0x1b7da7(_0x192570,_0x4d0df5);},'KNjKT':'skillup'},_0x1e5fbb=Boolean(_0x2917a0['opencode']);await _0x225a59[_0x3822ec(0x273)](withTelemetry,_0x225a59[_0x3822ec(0x1c5)],()=>skillup({'autoInstall':_0x2917a0['scope'],'platform':_0x1e5fbb?'opencode':'claude'}));})['command'](_0x2c8e35(0x2ad),'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{await withTelemetry('clean',()=>clean());})['command']('profile',_0x2c8e35(0x1a4),_0x4a6fce=>{const _0xcdfce5=_0x2c8e35,_0x47adc3={'QCNxz':'profile-name','UEYLM':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','UKoNP':'skip-auth','PFvLW':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','LJqKj':_0xcdfce5(0x296),'WxpUf':_0xcdfce5(0x283),'hzZHl':'boolean','eZcyo':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','lCBQr':_0xcdfce5(0x1e8),'CFsVH':_0xcdfce5(0x231),'PrpMD':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','hMjLV':_0xcdfce5(0x1cd),'HkelJ':'profile\x20add','Ecsmh':'cdp-endpoint','HyWCr':function(_0x4e7cd7,_0x3a7348,_0x2b7a5e){return _0x4e7cd7(_0x3a7348,_0x2b7a5e);},'sXETS':_0xcdfce5(0x1d3),'uXYfJ':_0xcdfce5(0x202),'tCVLl':'profile\x20ls','FkYBY':_0xcdfce5(0x2ce),'SanpS':_0xcdfce5(0x1d4),'WVwjO':'profile\x20update','crHrD':_0xcdfce5(0x236),'vTABq':_0xcdfce5(0x265),'JqIER':_0xcdfce5(0x2d5),'eYMJO':'Config\x20key\x20to\x20remove','rUHBx':_0xcdfce5(0x28a),'jUcyS':'Set\x20a\x20config\x20value','GEilD':_0xcdfce5(0x258),'IVEjQ':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','vCsgb':'use\x20<profile-name>','AvMQi':'Switch\x20to\x20using\x20a\x20specific\x20profile','eVIaF':_0xcdfce5(0x2eb),'YVsiY':_0xcdfce5(0x2ff),'Xndpv':'Manage\x20profile\x20configuration','aEwAG':'You\x20must\x20specify\x20a\x20profile\x20subcommand'};return _0x4a6fce['usage'](PROFILE_HELP)['command'](_0xcdfce5(0x2f1),_0xcdfce5(0x2e4),_0x56aaba=>{const _0x424080=_0xcdfce5;return _0x56aaba[_0x424080(0x1e4)](_0x47adc3[_0x424080(0x1e5)],{'type':'string','description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x424080(0x27c)]('ci',{'type':'boolean','description':_0x47adc3[_0x424080(0x1a9)],'default':![]})['option'](_0x47adc3[_0x424080(0x2fd)],{'type':'boolean','description':_0x47adc3[_0x424080(0x1a1)],'default':![]})[_0x424080(0x27c)](_0x424080(0x1d6),{'type':'string','description':_0x47adc3['LJqKj']})[_0x424080(0x27c)](_0x47adc3[_0x424080(0x2c2)],{'type':_0x47adc3[_0x424080(0x2df)],'description':_0x47adc3['eZcyo'],'default':![]})['option'](_0x424080(0x213),{'type':_0x47adc3[_0x424080(0x244)],'description':_0x47adc3['CFsVH']})[_0x424080(0x27c)]('allow-insecure-localhost',{'type':_0x424080(0x1ca),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0x424080(0x27c)](_0x424080(0x2fb),{'type':_0x424080(0x1ca),'description':_0x47adc3['PrpMD'],'default':![]})[_0x424080(0x27c)]('setup-header',{'type':_0x424080(0x1e8),'array':!![],'description':_0x47adc3['hMjLV']});},async _0x1124c5=>{const _0x3fe4d1=_0xcdfce5;await withTelemetry(_0x47adc3[_0x3fe4d1(0x22e)],_0x3fe193=>addEnv(_0x1124c5[_0x3fe4d1(0x21b)],{'ci':_0x1124c5['ci'],'skipAuth':_0x1124c5['skip-auth'],'url':_0x1124c5[_0x3fe4d1(0x1d6)],'force':_0x1124c5['force'],'cdpEndpoint':_0x1124c5[_0x3fe4d1(0x213)],'allowInsecureLocalhost':_0x1124c5['allow-insecure-localhost'],'safeMode':_0x1124c5['safe-mode'],'setupHeader':_0x1124c5['setup-header']},_0x3fe193),{'isElectron':Boolean(_0x1124c5[_0x47adc3['Ecsmh']])});})['command'](_0x47adc3[_0xcdfce5(0x2db)],_0x47adc3[_0xcdfce5(0x29c)],_0x2ca28e=>{const _0x49136c=_0xcdfce5;return _0x2ca28e[_0x49136c(0x1e4)](_0x49136c(0x21b),{'type':_0x47adc3[_0x49136c(0x244)],'description':'Name\x20of\x20the\x20profile','demandOption':!![]});},async _0x558a37=>{const _0x3f2926=_0xcdfce5;await _0x47adc3[_0x3f2926(0x281)](withTelemetry,_0x3f2926(0x1e3),()=>useEnv(_0x558a37['profile-name']));})['command'](_0xcdfce5(0x264),_0x47adc3['eVIaF'],_0x5c0a16=>{const _0x1102ea=_0xcdfce5;return _0x5c0a16['positional'](_0x47adc3[_0x1102ea(0x298)],{'type':_0x47adc3[_0x1102ea(0x244)],'description':_0x47adc3[_0x1102ea(0x1a7)],'demandOption':!![]});},async _0x215e24=>{const _0x232480=_0xcdfce5;await withTelemetry('profile\x20encrypt-auth',()=>authEncrypt(_0x215e24[_0x232480(0x1d3)]));})['command']('ls',_0xcdfce5(0x1fd),()=>{},async()=>{await withTelemetry(_0x47adc3['tCVLl'],()=>envList());})[_0xcdfce5(0x1ac)](_0x47adc3['YVsiY'],_0xcdfce5(0x292),_0x411ed5=>{const _0x21e839=_0xcdfce5;return _0x411ed5['positional']('profile-name',{'type':'string','description':_0x47adc3[_0x21e839(0x1b6)],'demandOption':!![]})['option']('allow-insecure-localhost',{'type':_0x47adc3[_0x21e839(0x2df)],'description':_0x47adc3[_0x21e839(0x2ec)]});},async _0x1e5da3=>{const _0x29896a=_0xcdfce5;await withTelemetry(_0x47adc3[_0x29896a(0x211)],_0x1275f5=>updateEnv(_0x1e5da3[_0x29896a(0x21b)],_0x1275f5,{'allowInsecureLocalhost':_0x1e5da3[_0x29896a(0x1ad)]}));})[_0xcdfce5(0x1ac)]('config',_0x47adc3['Xndpv'],_0x225224=>{const _0x82817b=_0xcdfce5,_0x524634={'veIIS':function(_0x360f90,_0x3abaa4,_0x38d5a1){return _0x47adc3['HyWCr'](_0x360f90,_0x3abaa4,_0x38d5a1);},'aFTTB':_0x47adc3[_0x82817b(0x1fb)],'xsMaW':'profile\x20config\x20get','qXTUr':'profile','AJKOJ':_0x47adc3['uXYfJ'],'twMpk':function(_0x566e5e,_0x2a351a,_0x4f1117){return _0x566e5e(_0x2a351a,_0x4f1117);}};return _0x225224['usage'](PROFILE_CONFIG_HELP)['command'](_0x82817b(0x2dd),_0x47adc3[_0x82817b(0x2c5)],_0x4d9157=>{const _0x44cdb2=_0x82817b;return _0x4d9157['positional'](_0x47adc3[_0x44cdb2(0x298)],{'type':_0x47adc3[_0x44cdb2(0x244)],'description':_0x44cdb2(0x202),'demandOption':!![]})['positional'](_0x44cdb2(0x2d5),{'type':_0x47adc3['lCBQr'],'description':_0x47adc3[_0x44cdb2(0x1f2)],'demandOption':!![]})['positional']('value',{'type':'string','description':_0x44cdb2(0x1ab),'demandOption':!![]});},async _0x1d5867=>{await _0x524634['veIIS'](withTelemetry,_0x524634['aFTTB'],()=>configSet(_0x1d5867['profile'],_0x1d5867['key'],_0x1d5867['value']));})['command'](_0x82817b(0x1c4),_0x82817b(0x272),_0x345979=>{const _0x1c7719=_0x82817b;return _0x345979['positional'](_0x47adc3[_0x1c7719(0x298)],{'type':_0x47adc3['lCBQr'],'description':'Profile\x20name','demandOption':!![]})['positional'](_0x1c7719(0x2d5),{'type':'string','description':_0x47adc3[_0x1c7719(0x206)],'demandOption':!![]});},async _0x3a5e3d=>{const _0x2a5210=_0x82817b;await withTelemetry(_0x524634[_0x2a5210(0x302)],()=>configGet(_0x3a5e3d['profile'],_0x3a5e3d[_0x2a5210(0x2d5)]));})[_0x82817b(0x1ac)](_0x47adc3['GEilD'],'List\x20all\x20config\x20for\x20a\x20profile',_0x52f647=>{const _0x5f43fa=_0x82817b;return _0x52f647[_0x5f43fa(0x1e4)](_0x524634['qXTUr'],{'type':_0x5f43fa(0x1e8),'description':_0x524634[_0x5f43fa(0x2f7)],'demandOption':!![]});},async _0x25b898=>{const _0x329e99=_0x82817b;await _0x47adc3[_0x329e99(0x281)](withTelemetry,'profile\x20config\x20list',()=>configList(_0x25b898['profile']));})['command'](_0x82817b(0x241),_0x82817b(0x2bc),_0x4b3ca0=>{const _0xdbe120=_0x82817b;return _0x4b3ca0['positional']('profile',{'type':_0xdbe120(0x1e8),'description':_0xdbe120(0x202),'demandOption':!![]})['positional'](_0x47adc3['JqIER'],{'type':_0xdbe120(0x1e8),'description':_0x47adc3[_0xdbe120(0x23e)],'demandOption':!![]});},async _0xfc302d=>{const _0x67bb86=_0x82817b;await _0x524634[_0x67bb86(0x1aa)](withTelemetry,_0x67bb86(0x2d6),()=>configUnset(_0xfc302d[_0x67bb86(0x1d3)],_0xfc302d[_0x67bb86(0x2d5)]));})['demandCommand'](0x1,_0x47adc3['IVEjQ']);})[_0xcdfce5(0x255)](0x1,_0x47adc3[_0xcdfce5(0x1d7)]);})['command']('status',_0x2c8e35(0x1da),()=>{},async()=>{const _0xbe76b9=_0x2c8e35;await withTelemetry(_0xbe76b9(0x27d),()=>status());})['command'](_0x2c8e35(0x224),'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{await withTelemetry('update',()=>update());})[_0x2c8e35(0x1ac)]('go','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)',_0x8922dc=>{const _0x20c9f5=_0x2c8e35,_0xcb1473={'nFSRk':_0x20c9f5(0x2e6),'ssMcv':_0x20c9f5(0x1e8),'pRbhk':_0x20c9f5(0x2f3),'lwGKE':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','wOnZQ':_0x20c9f5(0x1bf),'FsWMV':_0x20c9f5(0x2bf),'AlhyB':'Scenario\x20index\x20(1-based)','mlePO':'start-path','IHxHo':_0x20c9f5(0x201),'hsRjf':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1)','rjGsA':_0x20c9f5(0x1ba),'zTHkT':'debug-outcome','RmHIA':_0x20c9f5(0x1c8),'uzpSL':_0x20c9f5(0x22b),'uPvPf':_0x20c9f5(0x1c1)};return _0x8922dc['option'](_0xcb1473[_0x20c9f5(0x1c3)],{'type':_0xcb1473['ssMcv'],'description':_0xcb1473[_0x20c9f5(0x20c)]})[_0x20c9f5(0x27c)](_0x20c9f5(0x1d3),{'type':_0x20c9f5(0x1e8),'description':_0xcb1473[_0x20c9f5(0x1b3)]})['option']('notes',{'type':_0xcb1473[_0x20c9f5(0x207)],'description':_0xcb1473['wOnZQ']})[_0x20c9f5(0x27c)](_0x20c9f5(0x234),{'type':_0xcb1473[_0x20c9f5(0x286)],'description':_0xcb1473['AlhyB']})['option'](_0xcb1473[_0x20c9f5(0x288)],{'type':_0xcb1473['ssMcv'],'description':_0x20c9f5(0x299)})[_0x20c9f5(0x27c)](_0xcb1473['IHxHo'],{'type':_0x20c9f5(0x1e8),'description':_0xcb1473['hsRjf']})['option']('headed',{'type':_0x20c9f5(0x1ca),'description':_0xcb1473[_0x20c9f5(0x23f)],'default':![]})['option'](_0xcb1473[_0x20c9f5(0x287)],{'type':_0xcb1473[_0x20c9f5(0x207)],'hidden':!![],'choices':[_0x20c9f5(0x25e),_0xcb1473['RmHIA'],'blocked','failed',_0x20c9f5(0x251)]})[_0x20c9f5(0x27c)](_0xcb1473['uzpSL'],{'type':'boolean','hidden':!![]})['option']('env',{'type':_0x20c9f5(0x1e8),'hidden':!![]})['option'](_0xcb1473['uPvPf'],{'type':_0xcb1473['ssMcv'],'hidden':!![]})[_0x20c9f5(0x27c)]('item',{'type':_0xcb1473[_0x20c9f5(0x286)],'hidden':!![]});},async _0x4298a3=>{const _0x14e669=_0x2c8e35,_0x12af8a={'HeVvY':function(_0x4eeb52,_0x4fbc35){return _0x4eeb52(_0x4fbc35);}};await _0x12af8a[_0x14e669(0x263)](runGoCommand,_0x4298a3);})['command'](_0x2c8e35(0x257),![],_0x1dc033=>{const _0x26acf2=_0x2c8e35,_0x52ed30={'NpHXU':_0x26acf2(0x1e8),'LALKR':'Profile\x20name','GnqzL':function(_0x4a5064,_0x606e62,_0x3228d8){return _0x4a5064(_0x606e62,_0x3228d8);},'BlVMe':_0x26acf2(0x1a6)};return _0x1dc033[_0x26acf2(0x1ac)](_0x26acf2(0x219),![],_0x14f52c=>{const _0x4a572c=_0x26acf2;return _0x14f52c[_0x4a572c(0x1e4)]('profile',{'type':_0x52ed30[_0x4a572c(0x294)],'description':_0x52ed30['LALKR'],'demandOption':!![]});},async _0x353f8c=>{const _0x5a33fb=_0x26acf2;_0x52ed30[_0x5a33fb(0x2d8)](warnRenamed,_0x52ed30[_0x5a33fb(0x248)],_0x5a33fb(0x22a)),await authEncrypt(_0x353f8c['profile']);})[_0x26acf2(0x255)](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command'](_0x2c8e35(0x2f8),![],_0x1ec752=>{const _0x2358eb=_0x2c8e35,_0x3bb31c={'yjNmj':_0x2358eb(0x24f),'gbYVt':_0x2358eb(0x250),'wcgqb':'skip-chromium','DDxvY':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','lekmr':'scope','JEKSk':'project','RTZCU':'url','qGBuP':'string','meutH':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','CwnRJ':'force','wQRKX':_0x2358eb(0x2c9)};return _0x1ec752['positional'](_0x3bb31c[_0x2358eb(0x1b5)],{'type':'string','description':_0x3bb31c[_0x2358eb(0x2ee)]})['option'](_0x3bb31c['wcgqb'],{'type':'boolean','description':_0x3bb31c[_0x2358eb(0x1a3)],'default':![]})['option'](_0x3bb31c['lekmr'],{'type':'string','choices':[_0x2358eb(0x1ed),_0x3bb31c['JEKSk']],'description':_0x2358eb(0x1b1)})['option'](_0x3bb31c['RTZCU'],{'type':_0x3bb31c['qGBuP'],'description':_0x3bb31c['meutH']})['option'](_0x3bb31c[_0x2358eb(0x2a5)],{'type':_0x2358eb(0x1ca),'description':_0x3bb31c['wQRKX'],'default':![]});},async _0x497b45=>{const _0x10794b=_0x2c8e35;warnRenamed(_0x10794b(0x2d2),'ranger\x20setup'),await withTelemetry('start',_0x41e2e8=>start(_0x497b45[_0x10794b(0x24f)],{'skipChromium':_0x497b45['skip-chromium'],'scope':_0x497b45[_0x10794b(0x25c)],'url':_0x497b45[_0x10794b(0x1d6)],'force':_0x497b45['force']},_0x41e2e8));})['command'](_0x2c8e35(0x261),![],_0x18367f=>{const _0x433ebc=_0x2c8e35,_0x3c2f35={'gvJAu':_0x433ebc(0x1e8),'uDshc':_0x433ebc(0x27e),'FsKOs':_0x433ebc(0x1df),'dcNfl':'profile','tjPjj':'scenario','gxukL':'start-path','IUMpj':_0x433ebc(0x299),'GIOLG':_0x433ebc(0x201),'DiAxP':_0x433ebc(0x2ba),'OHrLa':_0x433ebc(0x1ca),'NsNOq':_0x433ebc(0x1f6),'IoKOu':'partial','yLwOS':'incomplete'};return _0x18367f['option']('env',{'type':_0x3c2f35['gvJAu'],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})['option']('task',{'type':_0x3c2f35['gvJAu'],'description':_0x3c2f35['uDshc']})[_0x433ebc(0x27c)](_0x3c2f35[_0x433ebc(0x2e9)],{'type':'number','description':_0x433ebc(0x2f0)})['option'](_0x3c2f35['dcNfl'],{'type':_0x3c2f35[_0x433ebc(0x23d)],'hidden':!![]})['option'](_0x433ebc(0x256),{'type':_0x3c2f35['gvJAu'],'hidden':!![]})['option'](_0x3c2f35['tjPjj'],{'type':'number','hidden':!![]})['option'](_0x3c2f35[_0x433ebc(0x24d)],{'type':'string','description':_0x3c2f35[_0x433ebc(0x26c)]})[_0x433ebc(0x27c)](_0x3c2f35[_0x433ebc(0x24e)],{'type':_0x3c2f35[_0x433ebc(0x23d)],'hidden':!![]})[_0x433ebc(0x27c)](_0x3c2f35['DiAxP'],{'type':_0x3c2f35['OHrLa'],'hidden':!![],'default':![]})[_0x433ebc(0x27c)](_0x3c2f35['NsNOq'],{'type':'string','hidden':!![],'choices':['verified',_0x3c2f35['IoKOu'],'blocked','failed',_0x3c2f35[_0x433ebc(0x1fe)]]});},async _0x54f35a=>{const _0xae1f6a=_0x2c8e35,_0x484850={'VCSiI':function(_0x4683d6,_0x19c0cc,_0x2bf64a){return _0x4683d6(_0x19c0cc,_0x2bf64a);}};await _0x484850[_0xae1f6a(0x1c9)](runGoCommand,_0x54f35a,!![]);})['command'](_0x2c8e35(0x2fc),![],_0x42d69a=>{const _0x4c9737=_0x2c8e35,_0x252010={'aRzEE':'boolean','CirVq':'skip-auth'};return _0x42d69a[_0x4c9737(0x1e4)](_0x4c9737(0x266),{'type':'string','description':_0x4c9737(0x1f8),'demandOption':!![]})['option']('ci',{'type':_0x252010['aRzEE'],'description':_0x4c9737(0x2c6),'default':![]})['option'](_0x252010[_0x4c9737(0x2f9)],{'type':_0x4c9737(0x1ca),'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]});},async _0x202414=>{const _0x29f787=_0x2c8e35,_0x2c9ba5={'AdGdm':'ranger\x20add\x20env','gJOyd':_0x29f787(0x28c)};warnRenamed(_0x2c9ba5[_0x29f787(0x2a4)],'ranger\x20profile\x20add'),await withTelemetry(_0x2c9ba5[_0x29f787(0x1c7)],_0x227154=>addEnv(_0x202414[_0x29f787(0x266)],{'ci':_0x202414['ci'],'skipAuth':_0x202414['skip-auth']},_0x227154));})[_0x2c8e35(0x1ac)]('use\x20<env-name>',![],_0x7e9439=>{const _0x45c5ef=_0x2c8e35,_0x1d65e4={'lsXdx':'env-name','mokuc':_0x45c5ef(0x1c6)};return _0x7e9439['positional'](_0x1d65e4['lsXdx'],{'type':'string','description':_0x1d65e4[_0x45c5ef(0x2fa)],'demandOption':!![]});},async _0x1b6ce1=>{const _0x371f18=_0x2c8e35,_0x395e24={'yvoxP':function(_0x378e30,_0x535a27,_0x1a49af){return _0x378e30(_0x535a27,_0x1a49af);},'WbVRj':_0x371f18(0x259),'wUazf':'ranger\x20profile\x20use','kMCLF':'use'};_0x395e24['yvoxP'](warnRenamed,_0x395e24[_0x371f18(0x1ec)],_0x395e24[_0x371f18(0x2e7)]),await withTelemetry(_0x395e24['kMCLF'],()=>useEnv(_0x1b6ce1[_0x371f18(0x266)]));})['command']('config',![],_0x37745b=>{const _0x3c350a=_0x2c8e35,_0x47de27={'RXsSd':_0x3c350a(0x2d5),'SFUco':_0x3c350a(0x1e8),'EGbEc':'value','Awcaa':function(_0x13931b,_0x26c841,_0xa855c6){return _0x13931b(_0x26c841,_0xa855c6);},'wMOLm':_0x3c350a(0x2ac),'mQliF':_0x3c350a(0x26b),'xSrJs':_0x3c350a(0x265),'OKkVy':_0x3c350a(0x23a),'mCUYA':'config\x20get','tMEJi':'ranger\x20profile\x20config\x20list','Nkokk':_0x3c350a(0x1b7),'uHBiF':'Environment\x20name','TiKMa':'Config\x20key\x20to\x20remove','XaFxs':'ranger\x20profile\x20config\x20unset','KMmZZ':'config\x20unset','GiqLp':'set\x20<env>\x20<key>\x20<value>','NIYRR':_0x3c350a(0x26d),'yyPXT':'You\x20must\x20specify\x20a\x20config\x20subcommand'};return _0x37745b['command'](_0x47de27['GiqLp'],![],_0x5f081e=>{const _0x5ad234=_0x3c350a;return _0x5f081e['positional']('env',{'type':_0x5ad234(0x1e8),'description':'Environment\x20name','demandOption':!![]})['positional'](_0x47de27[_0x5ad234(0x1ce)],{'type':_0x47de27[_0x5ad234(0x2bb)],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','demandOption':!![]})['positional'](_0x47de27[_0x5ad234(0x2a0)],{'type':_0x47de27[_0x5ad234(0x2bb)],'description':_0x5ad234(0x1ab),'demandOption':!![]});},async _0x210511=>{const _0x14fa8d=_0x3c350a;_0x47de27['Awcaa'](warnRenamed,_0x47de27['wMOLm'],_0x14fa8d(0x1b9)),await withTelemetry('config\x20set',()=>configSet(_0x210511[_0x14fa8d(0x26b)],_0x210511[_0x14fa8d(0x2d5)],_0x210511['value']));})['command'](_0x3c350a(0x1d2),![],_0x1a1a57=>{const _0xfa89dd=_0x3c350a;return _0x1a1a57['positional'](_0x47de27['mQliF'],{'type':_0xfa89dd(0x1e8),'description':'Environment\x20name','demandOption':!![]})['positional']('key',{'type':_0x47de27['SFUco'],'description':_0x47de27['xSrJs'],'demandOption':!![]});},async _0x21abe1=>{const _0x391e56=_0x3c350a;warnRenamed(_0x391e56(0x291),_0x47de27['OKkVy']),await _0x47de27[_0x391e56(0x289)](withTelemetry,_0x47de27[_0x391e56(0x269)],()=>configGet(_0x21abe1[_0x391e56(0x26b)],_0x21abe1[_0x391e56(0x2d5)]));})[_0x3c350a(0x1ac)]('list\x20<env>',![],_0x13d8c4=>{const _0x4b9cc6=_0x3c350a;return _0x13d8c4[_0x4b9cc6(0x1e4)](_0x47de27['mQliF'],{'type':'string','description':'Environment\x20name','demandOption':!![]});},async _0xe49952=>{const _0x4b7910=_0x3c350a;_0x47de27['Awcaa'](warnRenamed,'ranger\x20config\x20list',_0x47de27['tMEJi']),await withTelemetry(_0x47de27[_0x4b7910(0x1d8)],()=>configList(_0xe49952[_0x4b7910(0x26b)]));})['command'](_0x47de27[_0x3c350a(0x220)],![],_0x4f53bb=>{const _0x578a10=_0x3c350a;return _0x4f53bb[_0x578a10(0x1e4)](_0x47de27['mQliF'],{'type':_0x578a10(0x1e8),'description':_0x47de27[_0x578a10(0x1b4)],'demandOption':!![]})['positional']('key',{'type':_0x578a10(0x1e8),'description':_0x47de27['TiKMa'],'demandOption':!![]});},async _0x53569e=>{const _0x416ead=_0x3c350a;warnRenamed('ranger\x20config\x20unset',_0x47de27['XaFxs']),await withTelemetry(_0x47de27[_0x416ead(0x1e2)],()=>configUnset(_0x53569e['env'],_0x53569e['key']));})['demandCommand'](0x1,_0x47de27[_0x3c350a(0x212)]);})['command']('env',![],_0x15570e=>{const _0x104a02=_0x2c8e35,_0xb3a757={'AOADY':_0x104a02(0x2ca),'EYjBd':_0x104a02(0x266),'yqzQL':'string','sqSKy':'Name\x20of\x20the\x20environment\x20to\x20update','apsRA':function(_0x1db345,_0x422647,_0x4ffecb){return _0x1db345(_0x422647,_0x4ffecb);},'TPPDs':'ranger\x20profile\x20update','EnHld':'env\x20update'};return _0x15570e[_0x104a02(0x1ac)]('ls',![],()=>{},async()=>{const _0x3b975c=_0x104a02;warnRenamed(_0x3b975c(0x1cb),'ranger\x20profile\x20ls'),await withTelemetry(_0xb3a757['AOADY'],()=>envList());})['command'](_0x104a02(0x1f0),![],_0x1c5111=>{const _0x2f274d=_0x104a02;return _0x1c5111['positional'](_0xb3a757['EYjBd'],{'type':_0xb3a757[_0x2f274d(0x2b2)],'description':_0xb3a757[_0x2f274d(0x2b0)],'demandOption':!![]});},async _0x4f366e=>{const _0xa27a94=_0x104a02;_0xb3a757['apsRA'](warnRenamed,'ranger\x20env\x20update',_0xb3a757[_0xa27a94(0x26f)]),await _0xb3a757[_0xa27a94(0x237)](withTelemetry,_0xb3a757[_0xa27a94(0x303)],_0x3876de=>updateEnv(_0x4f366e['env-name'],_0x3876de));})['demandCommand'](0x1,_0x104a02(0x21c));})[_0x2c8e35(0x1ac)](_0x2c8e35(0x2e6),![],_0x53659b=>{const _0x13f602=_0x2c8e35,_0x4cb1de={'ABMSm':'string','ANivu':'Feature\x20review\x20name','FMmdx':'ranger\x20feature\x20create','kUnox':_0x13f602(0x239),'rGwJL':'--scenario','KWWhf':function(_0x5aaeff,_0x3d980c,_0x236d12){return _0x5aaeff(_0x3d980c,_0x236d12);},'wUqMD':_0x13f602(0x2da),'JnCfo':_0x13f602(0x2bf),'wrAWV':_0x13f602(0x246),'KPWHX':_0x13f602(0x260),'WfLqB':_0x13f602(0x2cc),'vIUSj':'include-deleted','hczsf':'boolean','ZCpEo':'feature\x20list','YuQQw':function(_0x5af346,_0x341091,_0x2e622e){return _0x5af346(_0x341091,_0x2e622e);},'QLUem':_0x13f602(0x290),'ugBXt':_0x13f602(0x20a),'bwpue':'feature\x20resume','VNCwn':'Scenario\x20description','WgacE':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','ROVsn':function(_0xe535ce,_0x321a22,_0x52b602){return _0xe535ce(_0x321a22,_0x52b602);},'tliAp':'ranger\x20feature\x20add-checklist-item','uNESh':'ranger\x20add-scenario','sUqri':_0x13f602(0x2b7),'YbESj':_0x13f602(0x27f),'NEBUI':function(_0x5df80,_0x383e61,_0x45960a){return _0x5df80(_0x383e61,_0x45960a);},'XGHwY':function(_0x4e69fe,_0x59bf55,_0x22d81e){return _0x4e69fe(_0x59bf55,_0x22d81e);},'BsrVf':_0x13f602(0x2ed),'COoRb':_0x13f602(0x2b5),'fpVEj':'ranger\x20feature\x20restore','bGgHv':_0x13f602(0x1f7),'EwSXu':_0x13f602(0x1de),'noUjn':_0x13f602(0x25a),'rZPbn':'delete\x20[id]','xNzgV':'restore\x20<id>'};return _0x53659b[_0x13f602(0x1ac)](_0x13f602(0x28e),![],_0x5c3642=>{const _0x48d9f0=_0x13f602;return _0x5c3642['positional'](_0x48d9f0(0x229),{'type':_0x4cb1de[_0x48d9f0(0x295)],'description':_0x4cb1de['ANivu'],'demandOption':!![]})[_0x48d9f0(0x27c)](_0x48d9f0(0x254),{'type':_0x4cb1de[_0x48d9f0(0x295)],'alias':'d','description':_0x48d9f0(0x205)})[_0x48d9f0(0x27c)]('checklist',{'type':_0x48d9f0(0x1dd),'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option'](_0x48d9f0(0x234),{'type':'array','hidden':!![]});},async _0x2d0d0f=>{const _0x3578f7=_0x13f602;warnRenamed(_0x4cb1de['FMmdx'],_0x3578f7(0x239)),warnFlagRenamed(_0x4cb1de['kUnox'],'--checklist',_0x4cb1de['rGwJL']);const _0x437fe4=_0x2d0d0f['scenario']||_0x2d0d0f[_0x3578f7(0x22c)];await _0x4cb1de['KWWhf'](withTelemetry,_0x3578f7(0x2d0),()=>featureCreate(_0x2d0d0f[_0x3578f7(0x229)],{'description':_0x2d0d0f['description'],'scenarios':_0x437fe4}));})[_0x13f602(0x1ac)](_0x13f602(0x1bc),![],_0x357777=>{const _0x1745e8=_0x13f602;return _0x357777['option'](_0x4cb1de['wUqMD'],{'type':'boolean','description':_0x1745e8(0x23c)})['option']('limit',{'type':_0x4cb1de['JnCfo'],'alias':'l','description':_0x4cb1de[_0x1745e8(0x2cf)],'default':0xa})[_0x1745e8(0x27c)](_0x4cb1de['KPWHX'],{'type':'number','alias':'o','description':_0x4cb1de['WfLqB'],'default':0x0})['option'](_0x4cb1de[_0x1745e8(0x2c7)],{'type':_0x4cb1de[_0x1745e8(0x1b2)],'alias':'d','description':_0x1745e8(0x232),'default':![]});},async _0x1cd62d=>{const _0x52de9a=_0x13f602;_0x4cb1de[_0x52de9a(0x2e5)](warnRenamed,'ranger\x20feature\x20list','ranger\x20list'),await _0x4cb1de[_0x52de9a(0x2e5)](withTelemetry,_0x4cb1de[_0x52de9a(0x1ee)],()=>featureList({'currentBranch':_0x1cd62d[_0x52de9a(0x2da)],'limit':_0x1cd62d['limit'],'offset':_0x1cd62d['offset'],'includeDeleted':_0x1cd62d['include-deleted']}));})[_0x13f602(0x1ac)](_0x4cb1de['noUjn'],![],_0x5773cc=>{const _0xe501a3=_0x13f602;return _0x5773cc[_0xe501a3(0x1e4)]('id',{'type':'string','description':_0xe501a3(0x249)});},async _0x21e259=>{const _0x2e1d5a=_0x13f602;warnRenamed(_0x2e1d5a(0x26e),'ranger\x20show'),await _0x4cb1de[_0x2e1d5a(0x280)](withTelemetry,_0x4cb1de['QLUem'],()=>featureShow(_0x21e259['id']));})['command'](_0x13f602(0x2cb),![],_0x54e35c=>{const _0x1b29f5=_0x13f602;return _0x54e35c['positional']('id',{'type':_0x4cb1de[_0x1b29f5(0x295)],'description':_0x4cb1de['ugBXt']});},async _0x464536=>{const _0x12ffaa=_0x13f602;warnRenamed('ranger\x20feature\x20resume',_0x12ffaa(0x26a)),await withTelemetry(_0x4cb1de[_0x12ffaa(0x2b3)],()=>featureResume(_0x464536['id']));})[_0x13f602(0x1ac)]('add-checklist-item\x20<description>',![],_0x163c52=>{const _0x1e1aa3=_0x13f602;return _0x163c52[_0x1e1aa3(0x1e4)]('description',{'type':_0x4cb1de[_0x1e1aa3(0x295)],'description':_0x4cb1de['VNCwn'],'demandOption':!![]})['option']('id',{'type':_0x4cb1de[_0x1e1aa3(0x295)],'description':_0x4cb1de[_0x1e1aa3(0x1e9)]});},async _0x489e63=>{const _0x4112a6=_0x13f602;_0x4cb1de[_0x4112a6(0x29d)](warnRenamed,_0x4cb1de[_0x4112a6(0x216)],_0x4cb1de['uNESh']),await _0x4cb1de['KWWhf'](withTelemetry,_0x4112a6(0x2b4),()=>featureAddScenario(_0x489e63['description'],_0x489e63['id']));})['command'](_0x13f602(0x210),![],_0x279dd7=>{return _0x279dd7['positional']('id',{'type':'string','description':_0x4cb1de['WgacE']});},async _0x8b19f0=>{const _0x49b3a7=_0x13f602;warnRenamed(_0x4cb1de[_0x49b3a7(0x28f)],'ranger\x20get-review'),await _0x4cb1de[_0x49b3a7(0x280)](withTelemetry,_0x4cb1de['YbESj'],()=>featureGetReview(_0x8b19f0['id']));})[_0x13f602(0x1ac)](_0x4cb1de[_0x13f602(0x225)],![],_0x498ed9=>{const _0x2d462e=_0x13f602;return _0x498ed9[_0x2d462e(0x1e4)]('id',{'type':'string','description':_0x2d462e(0x249)});},async _0x5f5a28=>{const _0xb237b=_0x13f602;_0x4cb1de[_0xb237b(0x1f3)](warnRenamed,_0xb237b(0x228),_0xb237b(0x2e0)),await _0x4cb1de['XGHwY'](withTelemetry,_0x4cb1de[_0xb237b(0x252)],()=>featureDelete(_0x5f5a28['id']));})['command'](_0x4cb1de[_0x13f602(0x204)],![],_0x306d60=>{return _0x306d60['positional']('id',{'type':'string','description':_0x4cb1de['COoRb'],'demandOption':!![]});},async _0x52bec5=>{const _0x24f2a6=_0x13f602;warnRenamed(_0x4cb1de[_0x24f2a6(0x279)],_0x4cb1de[_0x24f2a6(0x1e0)]),await _0x4cb1de[_0x24f2a6(0x2e5)](withTelemetry,_0x4cb1de['EwSXu'],()=>featureRestore(_0x52bec5['id']));})[_0x13f602(0x255)](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})[_0x2c8e35(0x1ac)](_0x2c8e35(0x284),![],_0x1c9196=>{const _0x35930c=_0x2c8e35,_0x5270c1={'XdVKW':'session-id','uxsdF':_0x35930c(0x1e8),'qMeMv':function(_0x2a33d6,_0x3be1d4,_0x3b6365){return _0x2a33d6(_0x3be1d4,_0x3b6365);},'ZNPQJ':_0x35930c(0x274),'yVQlY':'hook:disable','AkmuV':'enable','tDPvM':_0x35930c(0x218)};return _0x1c9196['command'](_0x5270c1['AkmuV'],'Enable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x2b5064=>{const _0x2d83ae=_0x35930c;return _0x2b5064[_0x2d83ae(0x27c)](_0x5270c1[_0x2d83ae(0x2d7)],{'type':_0x5270c1[_0x2d83ae(0x300)],'description':_0x2d83ae(0x274)});},async _0x421fdf=>{const _0x333003=_0x35930c;await _0x5270c1[_0x333003(0x2e2)](withTelemetry,'hook:enable',()=>hook('enable',_0x421fdf['session-id']));})['command'](_0x5270c1[_0x35930c(0x304)],'Disable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x52ddd2=>{const _0x4f4025=_0x35930c;return _0x52ddd2['option']('session-id',{'type':_0x5270c1[_0x4f4025(0x300)],'description':_0x5270c1['ZNPQJ']});},async _0x5e7863=>{const _0x538597=_0x35930c;await withTelemetry(_0x5270c1['yVQlY'],()=>hook('disable',_0x5e7863[_0x538597(0x1e7)]));})['option']('name',{'type':_0x5270c1['uxsdF'],'description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})['option'](_0x5270c1['XdVKW'],{'type':'string','description':_0x35930c(0x274)});},async _0xf2000a=>{const _0x278291=_0x2c8e35,_0x3ab6e6={'lMvEu':function(_0x55fb73,_0x2df9fb,_0x143e55){return _0x55fb73(_0x2df9fb,_0x143e55);}};_0xf2000a[_0x278291(0x229)]&&await _0x3ab6e6[_0x278291(0x1d5)](hook,_0xf2000a['name'],_0xf2000a['session-id']);})[_0x2c8e35(0x255)](0x1,'You\x20must\x20specify\x20a\x20command')[_0x2c8e35(0x203)]()[_0x2c8e35(0x20b)](async(_0x449434,_0x313b24,_0x324e90)=>{const _0x5227b3=_0x2c8e35,_0x12202b={'PmSHn':function(_0x2dc6ec,_0x3c3d6b){return _0x2dc6ec(_0x3c3d6b);},'ABydG':function(_0x3e7d3d,_0x57da4e){return _0x3e7d3d||_0x57da4e;}},_0x5bf4a6=_0x12202b['PmSHn'](sanitizeArgs,process['argv']['slice'](0x2)),_0x221048=getErrorType(_0x449434,_0x313b24);if(_0x449434&&_0x449434[_0x5227b3(0x24b)]('Unknown\x20command')){const _0x4b3788=process[_0x5227b3(0x1fc)][0x2];console[_0x5227b3(0x1ea)](_0x5227b3(0x2d9)+_0x4b3788),console['error'](_0x5227b3(0x25f));}else{if(_0x449434)console['error']('\x0a'+_0x449434+'\x0a');else _0x313b24&&console['error'](_0x5227b3(0x208)+_0x313b24[_0x5227b3(0x217)]+'\x0a');}await _0x12202b['PmSHn'](logDesirePath,{'rawCommand':_0x5bf4a6,'errorMessage':_0x449434||_0x313b24?.[_0x5227b3(0x217)],'errorType':_0x221048});const _0x44941a=getCurrentCollector();_0x44941a&&await _0x44941a[_0x5227b3(0x1cf)](_0x313b24||new Error(_0x12202b['ABydG'](_0x449434,_0x5227b3(0x2a6)))),process[_0x5227b3(0x276)](0x1);})[_0x2c8e35(0x2e8)]('Documentation:\x0a'+'\x20\x20https://docs.ranger.net\x0a'+'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)')[_0x2c8e35(0x1ff)]()[_0x2c8e35(0x29b)]('help','h')[_0x2c8e35(0x1ae)]();
@@ -1 +1 @@
1
- (function(_0x53d040,_0x11fc7f){const _0x592c5a=_0x3af7,_0xa70d9e=_0x53d040();while(!![]){try{const _0x12c56f=-parseInt(_0x592c5a(0x134))/0x1*(parseInt(_0x592c5a(0x14a))/0x2)+parseInt(_0x592c5a(0x180))/0x3+-parseInt(_0x592c5a(0x14d))/0x4+-parseInt(_0x592c5a(0x16f))/0x5*(parseInt(_0x592c5a(0x15d))/0x6)+parseInt(_0x592c5a(0x129))/0x7+-parseInt(_0x592c5a(0x114))/0x8+parseInt(_0x592c5a(0x10f))/0x9;if(_0x12c56f===_0x11fc7f)break;else _0xa70d9e['push'](_0xa70d9e['shift']());}catch(_0x43b8ca){_0xa70d9e['push'](_0xa70d9e['shift']());}}}(_0x46ba,0x46d2a));import{mkdir,writeFile,readFile,unlink,rm,mkdtemp,rename}from'fs/promises';import{join}from'path';function _0x3af7(_0x26a9df,_0xfaaa5b){_0x26a9df=_0x26a9df-0x10d;const _0x46ba74=_0x46ba();let _0x3af744=_0x46ba74[_0x26a9df];return _0x3af744;}import _0x50b985 from'inquirer';function _0x46ba(){const _0x4a4c23=['kVuWP','uNqRE','\x20(continuing\x20with\x20--force)','\x20\x20Could\x20not\x20encrypt:\x20No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','Enter\x20a\x20different\x20URL','\x0aโš ๏ธ\x20\x20Profile\x20\x22','\x20\x20Make\x20sure\x20your\x20app\x20is\x20running\x20locally\x20before\x20continuing.','action','\x22\x20already\x20exists\x20in\x20','indexOf','\x0a๐Ÿ“‹\x20Authentication\x20Setup','location','env','use_suggestion','What\x20would\x20you\x20like\x20to\x20do?','4638qObZft','\x20\x20Did\x20you\x20mean\x20','cdpEndpoint','prompt','Use\x20','trackPhaseStart','browser_auth','\x20--safe-mode\x20\x20\x20\x20(disables\x20browser\x20features\x20that\x20can\x20cause\x20crashes)','LJMid','NODE_TLS_REJECT_UNAUTHORIZED','EoRzn','HEAD','overwrite','CgaCo','error','now','gXVPn','path','1245MBXeXP','\x20would\x20shadow\x20the\x20existing\x20profile.','\x20--skip-auth\x20\x20\x20\x20(skip\x20browser\x20auth\x20entirely)\x0a','shouldReplace','EtZiP','.enc','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','\x0aThe\x20browser\x20closed\x20unexpectedly\x20before\x20authentication\x20could\x20be\x20saved.','TypeError','baseUrl','auth.json','\x20\x20\x20When\x20done\x20logging\x20in,\x20close\x20the\x20browser\x20to\x20save\x20the\x20session.','length','Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20backup\x20at\x20','\x0a๐Ÿ”Œ\x20CDP\x20Profile\x20Setup\x0a','\x20\x20Configuring\x20Ranger\x20to\x20connect\x20to:\x20','stdin','800778XDArgF','rKkvi','Missing\x20API\x20token;\x20aborting\x20CI\x20profile\x20creation.','ZRGwX','catch','\x20\x20Set\x20active\x20profile:\x20','nKmJh','assign','5573160ZRgxvP','MkiNq','\x20\x20\x20A\x20browser\x20will\x20open.\x20Please\x20log\x20in\x20to\x20the\x20profile\x20you\x20want\x20to\x20test\x20so\x20Ranger\x20can\x20access\x20it.','allowInsecureLocalhost','trim','1771400SNyiyh','root\x20(.ranger/)','EVQeV','ufxwW','--cdp-endpoint\x20must\x20not\x20be\x20empty.\x20Provide\x20the\x20CDP\x20URL,\x20e.g.\x20--cdp-endpoint\x20http://localhost:9222','โœ“\x20Auth\x20state\x20saved\x20to:\x20','isTTY','Saving\x20authentication\x20state...','close','legacy','abort','includes','\x22\x20configured','\x20\x20\x20If\x20you\x20are\x20an\x20agent,\x20background\x20this\x20process\x20and\x20let\x20your\x20user\x20know\x20they\x20need\x20to\x20complete\x20browser\x20authentication.\x0a','message','HTTP\x20','qsWlD','log','goto','trackPhaseEnd','GVCFz','2500029CGyZyV','continue','force','jEGmx','JLnWm','uGDgU','test','status','slice','\x22\x20already\x20exists.\x20Overwrite?','Removed\x20existing\x20profile\x20at\x20','467284hnvPnj','--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.','utf-8','confirm','Aborted.','signal','push','Browser\x20closed\x20before\x20authentication\x20was\x20saved.','mVmor','storageState','WGxyi','\x0a\x20\x20Could\x20not\x20reach\x20','UjGqG','rMCvO','isProtocolError','extraHTTPHeaders','LRanl','safeMode','Invalid\x20--setup-header\x20format:\x20\x22','url','OImYQ','launch','2UIHsis','tLnyJ','yyWaI','288148dAaBzf'];_0x46ba=function(){return _0x4a4c23;};return _0x46ba();}import{chromium}from'playwright';import{findExistingEnv,loadSettings}from'./utils/settings.js';import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getRangerDir}from'./utils/rangerRoot.js';import{writeActiveProfileName}from'./utils/activeProfile.js';import{addProfileSetupBanner}from'./utils/profileSetupBanner.js';async function checkUrlReachability(_0x70d94){const _0x480d8b=_0x3af7,_0x62e11b={'EVQeV':function(_0x4d2b6a,_0x3794a7,_0x4346bc){return _0x4d2b6a(_0x3794a7,_0x4346bc);},'JLnWm':_0x480d8b(0x168),'qsWlD':function(_0x24f3e0,_0x8dd945){return _0x24f3e0(_0x8dd945);}};try{const _0x5101c7=new AbortController(),_0x4e931d=_0x62e11b[_0x480d8b(0x116)](setTimeout,()=>_0x5101c7[_0x480d8b(0x11e)](),0x1388),_0x100ffb={'method':_0x62e11b[_0x480d8b(0x12d)],'signal':_0x5101c7[_0x480d8b(0x139)],'redirect':'manual'};/^https:\/\/localhost(:\d+)?/i[_0x480d8b(0x12f)](_0x70d94)&&(process['env'][_0x480d8b(0x166)]='0');const _0x155e15=await fetch(_0x70d94,_0x100ffb);delete process[_0x480d8b(0x15a)][_0x480d8b(0x166)],_0x62e11b[_0x480d8b(0x124)](clearTimeout,_0x4e931d);if(_0x155e15['status']<0x190)return{'ok':!![]};return{'ok':![],'error':_0x480d8b(0x123)+_0x155e15[_0x480d8b(0x130)]};}catch(_0x4b1a0c){delete process[_0x480d8b(0x15a)][_0x480d8b(0x166)];const _0xd9bef0=_0x4b1a0c,_0x5a6756=_0xd9bef0[_0x480d8b(0x122)]||_0x62e11b['qsWlD'](String,_0x4b1a0c),_0x46465d=_0x5a6756[_0x480d8b(0x11f)]('Invalid\x20URL')||_0xd9bef0['name']===_0x480d8b(0x177)||_0x5a6756['includes']('fetch\x20failed');return{'ok':![],'error':_0x5a6756,'isProtocolError':_0x46465d};}}export async function addEnv(_0x475c33,_0xe2d68f={},_0x4e9141){const _0x150ce4=_0x3af7,_0x4132ab={'rgqZS':_0x150ce4(0x11b),'gXVPn':function(_0xd5a567,_0x14f6b2,_0x41a8c7,_0x14c5a2){return _0xd5a567(_0x14f6b2,_0x41a8c7,_0x14c5a2);},'LJMid':function(_0x1c8c63){return _0x1c8c63();},'rMCvO':_0x150ce4(0x118),'ErALY':'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','yyWaI':function(_0x9ad14e,_0x37f829){return _0x9ad14e(_0x37f829);},'LRanl':'confirm','kVuWP':_0x150ce4(0x169),'ufxwW':_0x150ce4(0x138),'mVmor':function(_0x3fd0c0,_0x2bac73){return _0x3fd0c0===_0x2bac73;},'OImYQ':_0x150ce4(0x11d),'ELNST':'url_setup','uGDgU':_0x150ce4(0x17d),'dNoXm':function(_0xece592,_0x36630a){return _0xece592(_0x36630a);},'dptiH':'\x0a๐ŸŒ\x20Profile\x20Setup\x0a','uNqRE':_0x150ce4(0x154),'kZzIW':'baseUrl','BdMxk':'Enter\x20a\x20new\x20URL\x20(or\x20press\x20enter\x20to\x20keep\x20current):','xcbCM':'What\x20is\x20the\x20URL\x20of\x20your\x20running\x20app?','CgaCo':function(_0x83c5a9,_0x175b89){return _0x83c5a9||_0x175b89;},'MkiNq':'http://localhost:3000','ZRGwX':_0x150ce4(0x155),'OpcBv':_0x150ce4(0x15c),'sZpxL':_0x150ce4(0x15b),'GwLTj':_0x150ce4(0x152),'LmLtG':'Continue\x20anyway','nKmJh':'continue','EtZiP':function(_0x5186d8,_0x5228df,_0x2d9a09){return _0x5186d8(_0x5228df,_0x2d9a09);},'odwFO':_0x150ce4(0x111),'UjGqG':function(_0x302da9,_0x37aee0){return _0x302da9>_0x37aee0;},'EoRzn':function(_0x5bdbe2,_0xadf08d){return _0x5bdbe2(_0xadf08d);},'yflVo':'about:blank','jEGmx':_0x150ce4(0x13b),'rKkvi':_0x150ce4(0x151),'glofb':function(_0x37b43a,_0x2ab7b3){return _0x37b43a+_0x2ab7b3;},'GVCFz':_0x150ce4(0x175),'WGxyi':'\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','tLnyJ':'config_write','NDHcX':function(_0x238897,_0x1297a9,_0xf8beb9){return _0x238897(_0x1297a9,_0xf8beb9);},'cnoLN':'Warning:\x20Profile\x20created,\x20but\x20failed\x20to\x20mark\x20it\x20as\x20active.'},_0xe8125f=_0xe2d68f['ci']??![],_0x55116c=_0xe8125f?'ci':'local',_0x131b39=_0x4132ab[_0x150ce4(0x16d)](join,getRangerDir(),_0x55116c,_0x475c33),_0x191812={};if(_0xe2d68f['setupHeader'])for(const _0x108e44 of _0xe2d68f['setupHeader']){const _0x3c5824=_0x108e44[_0x150ce4(0x157)](':');if(_0x3c5824===-0x1)throw new Error(_0x150ce4(0x146)+_0x108e44+'\x22.\x20Expected\x20\x22Name:\x20Value\x22.');const _0x482fc3=_0x108e44[_0x150ce4(0x131)](0x0,_0x3c5824)['trim'](),_0x3a6ea1=_0x108e44[_0x150ce4(0x131)](_0x3c5824+0x1)[_0x150ce4(0x113)]();_0x191812[_0x482fc3]=_0x3a6ea1;}const _0x40bd2b=join(_0x4132ab[_0x150ce4(0x165)](getRangerDir),_0x55116c);if(_0xe2d68f[_0x150ce4(0x15f)]!==undefined&&_0xe2d68f['cdpEndpoint'][_0x150ce4(0x113)]()==='')throw new Error(_0x4132ab[_0x150ce4(0x141)]);if(_0xe2d68f[_0x150ce4(0x15f)]&&_0xe2d68f[_0x150ce4(0x147)])throw new Error('--url\x20and\x20--cdp-endpoint\x20are\x20mutually\x20exclusive.\x20Use\x20--url\x20for\x20web\x20apps\x20or\x20--cdp-endpoint\x20for\x20Electron/CDP\x20apps,\x20not\x20both.');if(_0xe2d68f['cdpEndpoint']&&_0xe2d68f['ci'])throw new Error(_0x150ce4(0x135));const _0x41f36e=Boolean(_0xe2d68f[_0x150ce4(0x15f)]),_0xee23e7=!_0xe2d68f['skipAuth']&&!_0x41f36e,_0x219ea0=process[_0x150ce4(0x17f)]['isTTY']&&process['stdout'][_0x150ce4(0x11a)];if(!_0x219ea0&&!_0xe2d68f[_0x150ce4(0x147)]&&!_0x41f36e)throw new Error(_0x4132ab['ErALY']);const _0x1a9ce2=_0x4132ab[_0x150ce4(0x14c)](findExistingEnv,_0x475c33);let _0x6cc849=null;if(_0x1a9ce2){if(!_0x219ea0)_0x6cc849=_0x1a9ce2;else{if(_0x1a9ce2[_0x150ce4(0x159)]===_0x55116c){const {overwrite:_0x2e7208}=await _0x50b985['prompt']([{'type':_0x4132ab[_0x150ce4(0x144)],'name':_0x4132ab[_0x150ce4(0x14e)],'message':'Profile\x20\x22'+_0x475c33+_0x150ce4(0x132),'default':![]}]);if(!_0x2e7208){console[_0x150ce4(0x125)](_0x4132ab[_0x150ce4(0x117)]);return;}_0x6cc849=_0x1a9ce2;}else{const _0x4759e5=_0x4132ab[_0x150ce4(0x13c)](_0x1a9ce2[_0x150ce4(0x159)],_0x4132ab[_0x150ce4(0x148)])?_0x150ce4(0x115):_0x1a9ce2['location'];console['error'](_0x150ce4(0x153)+_0x475c33+_0x150ce4(0x156)+_0x4759e5+':\x20'+_0x1a9ce2[_0x150ce4(0x16e)]),console['error']('\x20\x20\x20Creating\x20it\x20in\x20'+_0x55116c+_0x150ce4(0x170));const {shouldReplace:_0x4a0f5b}=await _0x50b985[_0x150ce4(0x160)]([{'type':_0x150ce4(0x137),'name':_0x150ce4(0x172),'message':'Delete\x20existing\x20and\x20create\x20new\x20in\x20'+_0x55116c+'?','default':![]}]);if(!_0x4a0f5b){console['log'](_0x4132ab[_0x150ce4(0x117)]);return;}_0x6cc849=_0x1a9ce2;}}}_0x4e9141?.['trackPhaseStart'](_0x4132ab['ELNST']);let _0x5520b4='';if(_0x41f36e)console[_0x150ce4(0x125)](_0x4132ab[_0x150ce4(0x12e)]),console[_0x150ce4(0x125)](_0x150ce4(0x17e)+_0xe2d68f['cdpEndpoint']),console[_0x150ce4(0x125)]('\x20\x20Make\x20sure\x20your\x20Electron\x20app\x20(or\x20browser)\x20is\x20running\x20with\x20remote\x20debugging\x20enabled.\x0a');else{if(_0xe2d68f[_0x150ce4(0x147)]){_0x5520b4=_0xe2d68f['url'];const _0x3d68a2=await _0x4132ab['dNoXm'](checkUrlReachability,_0x5520b4);if(!_0x3d68a2['ok']&&!_0xe2d68f[_0x150ce4(0x12b)])throw new Error('Could\x20not\x20reach\x20'+_0x5520b4+':\x20'+_0x3d68a2[_0x150ce4(0x16b)]+'\x0aMake\x20sure\x20your\x20app\x20is\x20running,\x20then\x20try\x20again.\x20To\x20skip\x20this\x20check,\x20pass\x20--force.');!_0x3d68a2['ok']&&_0xe2d68f[_0x150ce4(0x12b)]&&console[_0x150ce4(0x125)]('โš \x20Could\x20not\x20reach\x20'+_0x5520b4+':\x20'+_0x3d68a2[_0x150ce4(0x16b)]+_0x150ce4(0x150));}else{console[_0x150ce4(0x125)](_0x4132ab['dptiH']),console['log'](_0x4132ab[_0x150ce4(0x14f)]),console[_0x150ce4(0x125)]('\x20\x20Ranger\x20will\x20open\x20it\x20in\x20a\x20browser\x20so\x20you\x20can\x20log\x20in\x20and\x20save\x20your\x20session.\x0a');let _0x50f369=![];while(!![]){const _0x20062a=await _0x50b985[_0x150ce4(0x160)]([{'type':'input','name':_0x4132ab['kZzIW'],'message':_0x50f369?_0x4132ab['BdMxk']:_0x4132ab['xcbCM'],'default':_0x4132ab[_0x150ce4(0x16a)](_0x5520b4,_0x4132ab[_0x150ce4(0x110)])}]);_0x5520b4=_0x20062a[_0x150ce4(0x178)];const _0x5d8a0a=await checkUrlReachability(_0x5520b4);if(_0x5d8a0a['ok'])break;const _0x545f40=/^[a-zA-Z][\w+.-]*:\/\//[_0x150ce4(0x12f)](_0x5520b4),_0x4fc72d=_0x5d8a0a[_0x150ce4(0x142)]&&!_0x545f40,_0x17a4be=_0x4fc72d?'http://'+_0x5520b4:null;_0x50f369=!![],console['log'](_0x150ce4(0x13f)+_0x5520b4+':\x20'+_0x5d8a0a[_0x150ce4(0x16b)]);_0x17a4be&&console[_0x150ce4(0x125)](_0x150ce4(0x15e)+_0x17a4be+'?');const {action:_0x1215ad}=await _0x50b985[_0x150ce4(0x160)]([{'type':'list','name':_0x4132ab[_0x150ce4(0x183)],'message':_0x4132ab['OpcBv'],'choices':[..._0x17a4be?[{'name':_0x150ce4(0x161)+_0x17a4be,'value':_0x4132ab['sZpxL']}]:[],{'name':_0x4132ab['GwLTj'],'value':'retry'},{'name':_0x4132ab['LmLtG'],'value':_0x150ce4(0x12a)}]}]);if(_0x1215ad===_0x150ce4(0x15b)&&_0x17a4be){_0x5520b4=_0x17a4be;const _0x513328=await checkUrlReachability(_0x5520b4);if(_0x513328['ok'])break;console['log']('\x0a\x20\x20Still\x20could\x20not\x20reach\x20'+_0x5520b4+':\x20'+_0x513328['error']);}else{if(_0x1215ad===_0x4132ab[_0x150ce4(0x10d)])break;}}}}_0x4e9141?.[_0x150ce4(0x127)]('url_setup');const _0x31b7d5={};if(_0x6cc849){const _0x1ea1df=await _0x4132ab[_0x150ce4(0x14c)](loadSettings,_0x475c33);Object[_0x150ce4(0x10e)](_0x31b7d5,_0x1ea1df['setupHeaders']);}Object[_0x150ce4(0x10e)](_0x31b7d5,_0x191812),await _0x4132ab['EtZiP'](mkdir,_0x40bd2b,{'recursive':!![]});const _0x3f836b=await mkdtemp(join(_0x40bd2b,'.tmp-'+_0x475c33+'-')),_0x1b3329=join(_0x3f836b,_0x150ce4(0x179)),_0x10f457=_0x4132ab['dNoXm'](Boolean,_0x5520b4)&&/^https:\/\/localhost(:\d+)?/i['test'](_0x5520b4);try{if(_0xee23e7){_0x4e9141?.[_0x150ce4(0x162)](_0x150ce4(0x163)),console['log'](_0x150ce4(0x158)),console[_0x150ce4(0x125)](_0x4132ab['odwFO']),console['log'](_0x150ce4(0x17a));!_0x219ea0?(console['log']('\x0a\x20\x20\x20โš \x20This\x20step\x20requires\x20human\x20interaction\x20in\x20a\x20browser.'),console[_0x150ce4(0x125)](_0x150ce4(0x121))):console[_0x150ce4(0x125)]('');await new Promise(_0x598887=>setTimeout(_0x598887,0xbb8));const _0x37c800=[];_0xe2d68f[_0x150ce4(0x145)]&&_0x37c800['push']('--disable-features=WebBluetooth');const _0x39aff6=_0xe2d68f[_0x150ce4(0x112)]||_0x10f457;_0x39aff6&&_0x37c800[_0x150ce4(0x13a)]('--allow-insecure-localhost');const _0x501bb0=await chromium[_0x150ce4(0x149)]({'headless':![],..._0x4132ab[_0x150ce4(0x140)](_0x37c800['length'],0x0)?{'args':_0x37c800}:{}});try{const _0x2a2fea=Object['keys'](_0x31b7d5)[_0x150ce4(0x17b)]>0x0,_0x352d09={'ignoreHTTPSErrors':!![]};_0x2a2fea&&(_0x352d09[_0x150ce4(0x143)]=_0x31b7d5);const _0x265130=await _0x501bb0['newContext'](_0x352d09);await _0x4132ab[_0x150ce4(0x167)](addProfileSetupBanner,_0x265130);const _0x30f517=await _0x265130['newPage']();await _0x30f517[_0x150ce4(0x126)](_0x4132ab[_0x150ce4(0x16a)](_0x5520b4,_0x4132ab['yflVo']));let _0x1887cf=![];await new Promise(_0x288c13=>{const _0x595f25=_0x150ce4;_0x30f517['on'](_0x595f25(0x11c),async()=>{const _0x31a474=_0x595f25;try{console['log'](_0x4132ab['rgqZS']),await _0x265130[_0x31a474(0x13d)]({'path':_0x1b3329}),_0x1887cf=!![];}catch{}_0x288c13();});});if(!_0x1887cf){console['log'](_0x150ce4(0x176));!_0xe2d68f['safeMode']&&(console['log']('This\x20can\x20happen\x20due\x20to\x20a\x20browser\x20compatibility\x20issue\x20on\x20some\x20systems.\x0a'),console[_0x150ce4(0x125)]('You\x20can\x20try\x20again\x20with\x20one\x20of:'),console[_0x150ce4(0x125)]('\x20\x20ranger\x20profile\x20add\x20'+_0x475c33+_0x150ce4(0x164)),console['log']('\x20\x20ranger\x20profile\x20add\x20'+_0x475c33+_0x150ce4(0x171)));throw new Error(_0x4132ab[_0x150ce4(0x12c)]);}}finally{await _0x501bb0['close']()['catch'](()=>{});}if(_0xe8125f){const _0x2e5b6e=await readFile(_0x1b3329,_0x150ce4(0x136)),_0x5f4039=await getToken();if(!_0x5f4039){console['error'](_0x4132ab[_0x150ce4(0x181)]),await unlink(_0x1b3329)[_0x150ce4(0x184)](()=>{});throw new Error(_0x150ce4(0x182));}else{const _0x494821=encrypt(_0x2e5b6e,_0x5f4039);await _0x4132ab[_0x150ce4(0x173)](writeFile,_0x4132ab['glofb'](_0x1b3329,'.enc'),_0x494821),await _0x4132ab['EoRzn'](unlink,_0x1b3329),console['log']('โœ“\x20Encrypted\x20auth\x20saved\x20to:\x20'+_0x1b3329+_0x150ce4(0x174)),console[_0x150ce4(0x125)](_0x4132ab[_0x150ce4(0x128)]),console['log'](_0x4132ab[_0x150ce4(0x13e)]);}}else console['log'](_0x150ce4(0x119)+_0x1b3329);_0x4e9141?.[_0x150ce4(0x127)]('browser_auth');}_0x4e9141?.['trackPhaseStart'](_0x4132ab[_0x150ce4(0x14b)]);const _0x357e4c={};_0x5520b4&&(_0x357e4c[_0x150ce4(0x178)]=_0x5520b4);_0xe2d68f[_0x150ce4(0x15f)]&&(_0x357e4c['cdpEndpoint']=_0xe2d68f[_0x150ce4(0x15f)],_0x357e4c['isElectron']=!![]);(_0xe2d68f['allowInsecureLocalhost']||_0x10f457)&&(_0x357e4c[_0x150ce4(0x112)]=!![]);_0xe2d68f['safeMode']&&(_0x357e4c['safeMode']=!![]);_0x4132ab[_0x150ce4(0x140)](Object['keys'](_0x31b7d5)['length'],0x0)&&(_0x357e4c['setupHeaders']=_0x31b7d5);await writeFile(join(_0x3f836b,'settings.json'),JSON['stringify'](_0x357e4c,null,0x2)),console[_0x150ce4(0x125)]('โœ“\x20Created\x20settings:\x20'+_0x4132ab[_0x150ce4(0x173)](join,_0x131b39,'settings.json'));if(_0x6cc849?.[_0x150ce4(0x159)]===_0x55116c){const _0x375c7d=_0x6cc849['path']+'.backup-'+Date[_0x150ce4(0x16c)]();await rename(_0x6cc849[_0x150ce4(0x16e)],_0x375c7d);try{await rename(_0x3f836b,_0x131b39);}catch(_0x5f45fb){await rename(_0x375c7d,_0x6cc849['path']);throw _0x5f45fb;}try{await rm(_0x375c7d,{'recursive':!![]});}catch{console['log'](_0x150ce4(0x17c)+_0x375c7d);}}else{await _0x4132ab['NDHcX'](rename,_0x3f836b,_0x131b39);if(_0x6cc849)try{await rm(_0x6cc849['path'],{'recursive':!![]}),console['log'](_0x150ce4(0x133)+_0x6cc849[_0x150ce4(0x16e)]);}catch{console[_0x150ce4(0x125)]('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20at\x20'+_0x6cc849[_0x150ce4(0x16e)]);}}try{await writeActiveProfileName(_0x475c33),console['log'](_0x150ce4(0x185)+_0x475c33);}catch{console['log'](_0x4132ab['cnoLN']);}_0x4e9141?.[_0x150ce4(0x127)](_0x4132ab['tLnyJ']),console[_0x150ce4(0x125)]('\x0a\x20\x20Profile\x20\x22'+_0x475c33+_0x150ce4(0x120));}catch(_0x2a28b5){await rm(_0x3f836b,{'recursive':!![],'force':!![]});throw _0x2a28b5;}}
1
+ (function(_0x3490ec,_0x1fcc92){const _0x36d76d=_0x15cf,_0x498ff0=_0x3490ec();while(!![]){try{const _0x3b24f6=parseInt(_0x36d76d(0x234))/0x1+parseInt(_0x36d76d(0x23b))/0x2*(-parseInt(_0x36d76d(0x21a))/0x3)+-parseInt(_0x36d76d(0x20a))/0x4*(-parseInt(_0x36d76d(0x1cb))/0x5)+-parseInt(_0x36d76d(0x1e7))/0x6+-parseInt(_0x36d76d(0x238))/0x7+-parseInt(_0x36d76d(0x1ff))/0x8+parseInt(_0x36d76d(0x21d))/0x9*(parseInt(_0x36d76d(0x1df))/0xa);if(_0x3b24f6===_0x1fcc92)break;else _0x498ff0['push'](_0x498ff0['shift']());}catch(_0x3a0000){_0x498ff0['push'](_0x498ff0['shift']());}}}(_0x4365,0x70b64));import{mkdir,writeFile,readFile,unlink,rm,mkdtemp,rename}from'fs/promises';import{join}from'path';import _0x33b1fe from'inquirer';import{chromium}from'playwright';function _0x4365(){const _0x1a3492=['skipAuth','LdOqC','keys','yFnWn','log','QrrWP','oHPOX','input','url','TypeError','cbSJt','dojxj','456771WwZcyE','--allow-insecure-localhost','config_write','shouldReplace','3617600teeeJx','\x20\x20Configuring\x20Ranger\x20to\x20connect\x20to:\x20','overwrite','252286eWLryE','retry','test','includes','root\x20(.ranger/)','Use\x20','Invalid\x20URL','93640uMdjqZ','kwBPk','local','GrcuT','indexOf','kCZIO','Tvrjb','WalLs','bjcWo','uoSte','newContext','stringify','fJqpF','use_suggestion','continue','slice','legacy','You\x20can\x20try\x20again\x20with\x20one\x20of:','settings.json','abort','5669470yJrzTi','\x0a\x20\x20Profile\x20\x22','isProtocolError','setupHeader','cQUSG','VbQPx','prompt','location','5437020SQkxiv','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','jbCxN','mIcPW','name','\x20\x20\x20When\x20done\x20logging\x20in,\x20close\x20the\x20browser\x20to\x20save\x20the\x20session.','cWRJp','VpshG','\x20\x20Could\x20not\x20encrypt:\x20No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','\x20\x20ranger\x20profile\x20add\x20','safeMode','HTTP\x20','\x0a๐Ÿ”Œ\x20CDP\x20Profile\x20Setup\x0a','isTTY','Warning:\x20Profile\x20created,\x20but\x20failed\x20to\x20mark\x20it\x20as\x20active.','dPBaC','force','edVFB','catch','message','\x22.\x20Expected\x20\x22Name:\x20Value\x22.','\x20\x20Ranger\x20will\x20open\x20it\x20in\x20a\x20browser\x20so\x20you\x20can\x20log\x20in\x20and\x20save\x20your\x20session.\x0a','baseUrl','error','1482968EBvtIS','length','WtJpa','--disable-features=WebBluetooth','UxKvb','manual','setupHeaders','zlVJB','\x22\x20already\x20exists.\x20Overwrite?','โš \x20Could\x20not\x20reach\x20','cdpEndpoint','116OKgulc','Enter\x20a\x20new\x20URL\x20(or\x20press\x20enter\x20to\x20keep\x20current):','action','CEcda','EiqXk','push','browser_auth','assign','list','KxMlL','stdout','status','Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20backup\x20at\x20','Continue\x20anyway','path','.enc','15rwWVnE','--cdp-endpoint\x20must\x20not\x20be\x20empty.\x20Provide\x20the\x20CDP\x20URL,\x20e.g.\x20--cdp-endpoint\x20http://localhost:9222','EbKJg','27uMuXdO','Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20at\x20','http://','HEAD','CEmFv','NODE_TLS_REJECT_UNAUTHORIZED','about:blank','\x22\x20configured','RkvzW','trackPhaseEnd','\x0aโš ๏ธ\x20\x20Profile\x20\x22'];_0x4365=function(){return _0x1a3492;};return _0x4365();}import{findExistingEnv,loadSettings}from'./utils/settings.js';import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getRangerDir}from'./utils/rangerRoot.js';import{writeActiveProfileName}from'./utils/activeProfile.js';function _0x15cf(_0x223b20,_0x3da1d7){_0x223b20=_0x223b20-0x1c5;const _0x436590=_0x4365();let _0x15cfd8=_0x436590[_0x223b20];return _0x15cfd8;}import{addProfileSetupBanner}from'./utils/profileSetupBanner.js';async function checkUrlReachability(_0x163caf){const _0x43ad7b=_0x15cf,_0x4c473f={'WtJpa':_0x43ad7b(0x220),'DpNzL':_0x43ad7b(0x204),'nyDKp':function(_0x391aba,_0x2075a7){return _0x391aba<_0x2075a7;},'cbSJt':_0x43ad7b(0x1ca),'IaAqj':_0x43ad7b(0x231)};try{const _0x2af792=new AbortController(),_0x211f54=setTimeout(()=>_0x2af792[_0x43ad7b(0x1de)](),0x1388),_0x160c71={'method':_0x4c473f[_0x43ad7b(0x201)],'signal':_0x2af792['signal'],'redirect':_0x4c473f['DpNzL']};/^https:\/\/localhost(:\d+)?/i['test'](_0x163caf)&&(process['env']['NODE_TLS_REJECT_UNAUTHORIZED']='0');const _0xfae64e=await fetch(_0x163caf,_0x160c71);delete process['env']['NODE_TLS_REJECT_UNAUTHORIZED'],clearTimeout(_0x211f54);if(_0x4c473f['nyDKp'](_0xfae64e[_0x43ad7b(0x215)],0x190))return{'ok':!![]};return{'ok':![],'error':_0x43ad7b(0x1f2)+_0xfae64e[_0x43ad7b(0x215)]};}catch(_0x1780e5){delete process['env'][_0x43ad7b(0x222)];const _0x4fd79d=_0x1780e5,_0x36557b=_0x4fd79d[_0x43ad7b(0x1fa)]||String(_0x1780e5),_0x53554d=_0x36557b[_0x43ad7b(0x1c7)](_0x4c473f[_0x43ad7b(0x232)])||_0x4fd79d[_0x43ad7b(0x1eb)]===_0x4c473f['IaAqj']||_0x36557b['includes']('fetch\x20failed');return{'ok':![],'error':_0x36557b,'isProtocolError':_0x53554d};}}export async function addEnv(_0x2ec199,_0x2cb121={},_0x14f151){const _0x167d21=_0x15cf,_0x2a6403={'EiqXk':'Saving\x20authentication\x20state...','zlVJB':function(_0x5a9204){return _0x5a9204();},'chutk':_0x167d21(0x1cd),'BzYsk':function(_0x2cc9f0){return _0x2cc9f0();},'meIel':function(_0x156124,_0x4144c3){return _0x156124!==_0x4144c3;},'GrcuT':function(_0x4b2842,_0x3e1999){return _0x4b2842===_0x3e1999;},'bjcWo':_0x167d21(0x21b),'cPOrm':'--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.','XiTXV':'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','CEmFv':function(_0xcbd388,_0x426533){return _0xcbd388(_0x426533);},'WalLs':function(_0x1338e9,_0x532fac){return _0x1338e9===_0x532fac;},'UxKvb':_0x167d21(0x1db),'uoSte':_0x167d21(0x1c8),'Mgzjc':'confirm','aBqFW':_0x167d21(0x237),'fJqpF':'url_setup','RkvzW':'\x20\x20Make\x20sure\x20your\x20Electron\x20app\x20(or\x20browser)\x20is\x20running\x20with\x20remote\x20debugging\x20enabled.\x0a','OWWPb':_0x167d21(0x1fc),'qFHCm':_0x167d21(0x22f),'kNmIH':'baseUrl','LdOqC':'What\x20is\x20the\x20URL\x20of\x20your\x20running\x20app?','orawo':'http://localhost:3000','QrrWP':_0x167d21(0x212),'epEXG':'What\x20would\x20you\x20like\x20to\x20do?','kwBPk':'use_suggestion','edVFB':_0x167d21(0x217),'cWRJp':function(_0x28f713,_0x512bcf){return _0x28f713(_0x512bcf);},'Vmvht':'continue','KxMlL':function(_0x211fb1,_0xe5f758){return _0x211fb1(_0xe5f758);},'CCyel':function(_0x5a497f,_0x1dc076,_0x593c94){return _0x5a497f(_0x1dc076,_0x593c94);},'dPBaC':function(_0x1c0050,_0x39bdf6){return _0x1c0050(_0x39bdf6);},'dojxj':function(_0x4ce4a4,_0x455637,_0x267142){return _0x4ce4a4(_0x455637,_0x267142);},'LCvFE':'auth.json','VbQPx':_0x167d21(0x210),'oHPOX':'\x0a๐Ÿ“‹\x20Authentication\x20Setup','DDJdO':'\x20\x20\x20A\x20browser\x20will\x20open.\x20Please\x20log\x20in\x20to\x20the\x20profile\x20you\x20want\x20to\x20test\x20so\x20Ranger\x20can\x20access\x20it.','kzaje':_0x167d21(0x1ec),'NceRR':'\x20\x20\x20If\x20you\x20are\x20an\x20agent,\x20background\x20this\x20process\x20and\x20let\x20your\x20user\x20know\x20they\x20need\x20to\x20complete\x20browser\x20authentication.\x0a','RNTAV':function(_0x2b2c62,_0xba9790){return _0x2b2c62>_0xba9790;},'SWwCY':function(_0x21337c,_0x33befc){return _0x21337c||_0x33befc;},'VpshG':_0x167d21(0x223),'Tvrjb':'This\x20can\x20happen\x20due\x20to\x20a\x20browser\x20compatibility\x20issue\x20on\x20some\x20systems.\x0a','EbKJg':_0x167d21(0x1dc),'dcKLJ':'Browser\x20closed\x20before\x20authentication\x20was\x20saved.','yFnWn':'utf-8','mIcPW':'Missing\x20API\x20token;\x20aborting\x20CI\x20profile\x20creation.','kCZIO':function(_0x4f4e3d,_0x1d7cde){return _0x4f4e3d>_0x1d7cde;},'vFLRl':_0x167d21(0x1dd),'CEcda':function(_0x14c2c9,_0x12e0fb,_0x361e3c){return _0x14c2c9(_0x12e0fb,_0x361e3c);},'jbCxN':function(_0x4812d6,_0x559675,_0x283af6){return _0x4812d6(_0x559675,_0x283af6);},'cQUSG':_0x167d21(0x1f5)},_0x4196cb=_0x2cb121['ci']??![],_0x459976=_0x4196cb?'ci':_0x2a6403['chutk'],_0x2bf6ed=join(getRangerDir(),_0x459976,_0x2ec199),_0x506d12={};if(_0x2cb121['setupHeader'])for(const _0x49b4de of _0x2cb121[_0x167d21(0x1e2)]){const _0xf531a3=_0x49b4de[_0x167d21(0x1cf)](':');if(_0xf531a3===-0x1)throw new Error('Invalid\x20--setup-header\x20format:\x20\x22'+_0x49b4de+_0x167d21(0x1fb));const _0x1700e8=_0x49b4de['slice'](0x0,_0xf531a3)['trim'](),_0x146b08=_0x49b4de[_0x167d21(0x1da)](_0xf531a3+0x1)['trim']();_0x506d12[_0x1700e8]=_0x146b08;}const _0x1ca607=join(_0x2a6403['BzYsk'](getRangerDir),_0x459976);if(_0x2a6403['meIel'](_0x2cb121['cdpEndpoint'],undefined)&&_0x2a6403[_0x167d21(0x1ce)](_0x2cb121[_0x167d21(0x209)]['trim'](),''))throw new Error(_0x2a6403[_0x167d21(0x1d3)]);if(_0x2cb121[_0x167d21(0x209)]&&_0x2cb121['url'])throw new Error('--url\x20and\x20--cdp-endpoint\x20are\x20mutually\x20exclusive.\x20Use\x20--url\x20for\x20web\x20apps\x20or\x20--cdp-endpoint\x20for\x20Electron/CDP\x20apps,\x20not\x20both.');if(_0x2cb121[_0x167d21(0x209)]&&_0x2cb121['ci'])throw new Error(_0x2a6403['cPOrm']);const _0x481ca0=Boolean(_0x2cb121['cdpEndpoint']),_0x5e112e=!_0x2cb121[_0x167d21(0x228)]&&!_0x481ca0,_0x415026=process['stdin'][_0x167d21(0x1f4)]&&process[_0x167d21(0x214)][_0x167d21(0x1f4)];if(!_0x415026&&!_0x2cb121['url']&&!_0x481ca0)throw new Error(_0x2a6403['XiTXV']);const _0x100b50=_0x2a6403['CEmFv'](findExistingEnv,_0x2ec199);let _0x1c4196=null;if(_0x100b50){if(!_0x415026)_0x1c4196=_0x100b50;else{if(_0x100b50[_0x167d21(0x1e6)]===_0x459976){const {overwrite:_0x1b12f0}=await _0x33b1fe[_0x167d21(0x1e5)]([{'type':'confirm','name':_0x167d21(0x23a),'message':'Profile\x20\x22'+_0x2ec199+_0x167d21(0x207),'default':![]}]);if(!_0x1b12f0){console['log']('Aborted.');return;}_0x1c4196=_0x100b50;}else{const _0x5e81e3=_0x2a6403[_0x167d21(0x1d2)](_0x100b50[_0x167d21(0x1e6)],_0x2a6403[_0x167d21(0x203)])?_0x2a6403[_0x167d21(0x1d4)]:_0x100b50[_0x167d21(0x1e6)];console['error'](_0x167d21(0x227)+_0x2ec199+'\x22\x20already\x20exists\x20in\x20'+_0x5e81e3+':\x20'+_0x100b50['path']),console['error']('\x20\x20\x20Creating\x20it\x20in\x20'+_0x459976+'\x20would\x20shadow\x20the\x20existing\x20profile.');const {shouldReplace:_0x517460}=await _0x33b1fe[_0x167d21(0x1e5)]([{'type':_0x2a6403['Mgzjc'],'name':_0x2a6403['aBqFW'],'message':'Delete\x20existing\x20and\x20create\x20new\x20in\x20'+_0x459976+'?','default':![]}]);if(!_0x517460){console[_0x167d21(0x22c)]('Aborted.');return;}_0x1c4196=_0x100b50;}}}_0x14f151?.['trackPhaseStart'](_0x2a6403['fJqpF']);let _0x1f4dc7='';if(_0x481ca0)console['log'](_0x167d21(0x1f3)),console[_0x167d21(0x22c)](_0x167d21(0x239)+_0x2cb121[_0x167d21(0x209)]),console['log'](_0x2a6403[_0x167d21(0x225)]);else{if(_0x2cb121['url']){_0x1f4dc7=_0x2cb121[_0x167d21(0x230)];const _0x4cfb02=await _0x2a6403[_0x167d21(0x221)](checkUrlReachability,_0x1f4dc7);if(!_0x4cfb02['ok']&&!_0x2cb121[_0x167d21(0x1f7)])throw new Error('Could\x20not\x20reach\x20'+_0x1f4dc7+':\x20'+_0x4cfb02[_0x167d21(0x1fe)]+'\x0aMake\x20sure\x20your\x20app\x20is\x20running,\x20then\x20try\x20again.\x20To\x20skip\x20this\x20check,\x20pass\x20--force.');!_0x4cfb02['ok']&&_0x2cb121[_0x167d21(0x1f7)]&&console[_0x167d21(0x22c)](_0x167d21(0x208)+_0x1f4dc7+':\x20'+_0x4cfb02[_0x167d21(0x1fe)]+'\x20(continuing\x20with\x20--force)');}else{console['log']('\x0a๐ŸŒ\x20Profile\x20Setup\x0a'),console['log']('\x20\x20Make\x20sure\x20your\x20app\x20is\x20running\x20locally\x20before\x20continuing.'),console['log'](_0x2a6403['OWWPb']);let _0x1dac97=![];while(!![]){const _0xdd0ce3=await _0x33b1fe[_0x167d21(0x1e5)]([{'type':_0x2a6403['qFHCm'],'name':_0x2a6403['kNmIH'],'message':_0x1dac97?_0x167d21(0x20b):_0x2a6403[_0x167d21(0x229)],'default':_0x1f4dc7||_0x2a6403['orawo']}]);_0x1f4dc7=_0xdd0ce3[_0x167d21(0x1fd)];const _0x527ed0=await checkUrlReachability(_0x1f4dc7);if(_0x527ed0['ok'])break;const _0x16a01b=/^[a-zA-Z][\w+.-]*:\/\//[_0x167d21(0x1c6)](_0x1f4dc7),_0x47552d=_0x527ed0[_0x167d21(0x1e1)]&&!_0x16a01b,_0xacdebf=_0x47552d?_0x167d21(0x21f)+_0x1f4dc7:null;_0x1dac97=!![],console['log']('\x0a\x20\x20Could\x20not\x20reach\x20'+_0x1f4dc7+':\x20'+_0x527ed0[_0x167d21(0x1fe)]);_0xacdebf&&console['log']('\x20\x20Did\x20you\x20mean\x20'+_0xacdebf+'?');const {action:_0x1e0bde}=await _0x33b1fe[_0x167d21(0x1e5)]([{'type':_0x2a6403[_0x167d21(0x22d)],'name':_0x167d21(0x20c),'message':_0x2a6403['epEXG'],'choices':[..._0xacdebf?[{'name':_0x167d21(0x1c9)+_0xacdebf,'value':_0x2a6403[_0x167d21(0x1cc)]}]:[],{'name':'Enter\x20a\x20different\x20URL','value':_0x167d21(0x1c5)},{'name':_0x2a6403[_0x167d21(0x1f8)],'value':_0x167d21(0x1d9)}]}]);if(_0x1e0bde===_0x167d21(0x1d8)&&_0xacdebf){_0x1f4dc7=_0xacdebf;const _0x1451bf=await _0x2a6403[_0x167d21(0x1ed)](checkUrlReachability,_0x1f4dc7);if(_0x1451bf['ok'])break;console['log']('\x0a\x20\x20Still\x20could\x20not\x20reach\x20'+_0x1f4dc7+':\x20'+_0x1451bf['error']);}else{if(_0x1e0bde===_0x2a6403['Vmvht'])break;}}}}_0x14f151?.['trackPhaseEnd'](_0x2a6403[_0x167d21(0x1d7)]);const _0x54b53d={};if(_0x1c4196){const _0x776773=await _0x2a6403['KxMlL'](loadSettings,_0x2ec199);Object[_0x167d21(0x211)](_0x54b53d,_0x776773['setupHeaders']);}Object['assign'](_0x54b53d,_0x506d12),await _0x2a6403['CCyel'](mkdir,_0x1ca607,{'recursive':!![]});const _0x76f837=await _0x2a6403['dPBaC'](mkdtemp,join(_0x1ca607,'.tmp-'+_0x2ec199+'-')),_0xf0f10=_0x2a6403['dojxj'](join,_0x76f837,_0x2a6403['LCvFE']),_0x188465=Boolean(_0x1f4dc7)&&/^https:\/\/localhost(:\d+)?/i['test'](_0x1f4dc7);try{if(_0x5e112e){_0x14f151?.['trackPhaseStart'](_0x2a6403[_0x167d21(0x1e4)]),console[_0x167d21(0x22c)](_0x2a6403[_0x167d21(0x22e)]),console['log'](_0x2a6403['DDJdO']),console[_0x167d21(0x22c)](_0x2a6403['kzaje']);!_0x415026?(console[_0x167d21(0x22c)]('\x0a\x20\x20\x20โš \x20This\x20step\x20requires\x20human\x20interaction\x20in\x20a\x20browser.'),console['log'](_0x2a6403['NceRR'])):console['log']('');await new Promise(_0x51fb3f=>setTimeout(_0x51fb3f,0xbb8));const _0x20d164=[];_0x2cb121[_0x167d21(0x1f1)]&&_0x20d164['push'](_0x167d21(0x202));const _0x3f6997=_0x2cb121['allowInsecureLocalhost']||_0x188465;_0x3f6997&&_0x20d164[_0x167d21(0x20f)](_0x167d21(0x235));const _0x2bb9f5=await chromium['launch']({'headless':![],..._0x20d164[_0x167d21(0x200)]>0x0?{'args':_0x20d164}:{}});try{const _0x34e287=_0x2a6403['RNTAV'](Object[_0x167d21(0x22a)](_0x54b53d)[_0x167d21(0x200)],0x0),_0x70de0e={'ignoreHTTPSErrors':!![]};_0x34e287&&(_0x70de0e['extraHTTPHeaders']=_0x54b53d);const _0x615a1=await _0x2bb9f5[_0x167d21(0x1d5)](_0x70de0e);await _0x2a6403[_0x167d21(0x1f6)](addProfileSetupBanner,_0x615a1);const _0x393fff=await _0x615a1['newPage']();await _0x393fff['goto'](_0x2a6403['SWwCY'](_0x1f4dc7,_0x2a6403[_0x167d21(0x1ee)]));let _0x3006de=![];await new Promise(_0x41dadb=>{_0x393fff['on']('close',async()=>{const _0x25b2c1=_0x15cf;try{console['log'](_0x2a6403[_0x25b2c1(0x20e)]),await _0x615a1['storageState']({'path':_0xf0f10}),_0x3006de=!![];}catch{}_0x2a6403[_0x25b2c1(0x206)](_0x41dadb);});});if(!_0x3006de){console['log']('\x0aThe\x20browser\x20closed\x20unexpectedly\x20before\x20authentication\x20could\x20be\x20saved.');!_0x2cb121['safeMode']&&(console['log'](_0x2a6403[_0x167d21(0x1d1)]),console['log'](_0x2a6403[_0x167d21(0x21c)]),console['log'](_0x167d21(0x1f0)+_0x2ec199+'\x20--safe-mode\x20\x20\x20\x20(disables\x20browser\x20features\x20that\x20can\x20cause\x20crashes)'),console[_0x167d21(0x22c)]('\x20\x20ranger\x20profile\x20add\x20'+_0x2ec199+'\x20--skip-auth\x20\x20\x20\x20(skip\x20browser\x20auth\x20entirely)\x0a'));throw new Error(_0x2a6403['dcKLJ']);}}finally{await _0x2bb9f5['close']()[_0x167d21(0x1f9)](()=>{});}if(_0x4196cb){const _0xd2651b=await _0x2a6403[_0x167d21(0x233)](readFile,_0xf0f10,_0x2a6403[_0x167d21(0x22b)]),_0x312038=await getToken();if(!_0x312038){console[_0x167d21(0x1fe)](_0x167d21(0x1ef)),await _0x2a6403[_0x167d21(0x213)](unlink,_0xf0f10)[_0x167d21(0x1f9)](()=>{});throw new Error(_0x2a6403[_0x167d21(0x1ea)]);}else{const _0x4fe9e3=encrypt(_0xd2651b,_0x312038);await writeFile(_0xf0f10+_0x167d21(0x219),_0x4fe9e3),await _0x2a6403[_0x167d21(0x213)](unlink,_0xf0f10),console[_0x167d21(0x22c)]('โœ“\x20Encrypted\x20auth\x20saved\x20to:\x20'+_0xf0f10+_0x167d21(0x219)),console[_0x167d21(0x22c)](_0x167d21(0x1e8)),console['log']('\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.');}}else console['log']('โœ“\x20Auth\x20state\x20saved\x20to:\x20'+_0xf0f10);_0x14f151?.[_0x167d21(0x226)](_0x2a6403[_0x167d21(0x1e4)]);}_0x14f151?.['trackPhaseStart'](_0x167d21(0x236));const _0x2e6da8={};_0x1f4dc7&&(_0x2e6da8['baseUrl']=_0x1f4dc7);_0x2cb121['cdpEndpoint']&&(_0x2e6da8[_0x167d21(0x209)]=_0x2cb121[_0x167d21(0x209)],_0x2e6da8['isElectron']=!![]);(_0x2cb121['allowInsecureLocalhost']||_0x188465)&&(_0x2e6da8['allowInsecureLocalhost']=!![]);_0x2cb121['safeMode']&&(_0x2e6da8['safeMode']=!![]);_0x2a6403[_0x167d21(0x1d0)](Object[_0x167d21(0x22a)](_0x54b53d)[_0x167d21(0x200)],0x0)&&(_0x2e6da8[_0x167d21(0x205)]=_0x54b53d);await _0x2a6403['CCyel'](writeFile,join(_0x76f837,'settings.json'),JSON[_0x167d21(0x1d6)](_0x2e6da8,null,0x2)),console['log']('โœ“\x20Created\x20settings:\x20'+_0x2a6403[_0x167d21(0x233)](join,_0x2bf6ed,_0x2a6403['vFLRl']));if(_0x1c4196?.[_0x167d21(0x1e6)]===_0x459976){const _0x28a195=_0x1c4196['path']+'.backup-'+Date['now']();await rename(_0x1c4196['path'],_0x28a195);try{await rename(_0x76f837,_0x2bf6ed);}catch(_0x1f9d3e){await _0x2a6403['CCyel'](rename,_0x28a195,_0x1c4196[_0x167d21(0x218)]);throw _0x1f9d3e;}try{await _0x2a6403['CEcda'](rm,_0x28a195,{'recursive':!![]});}catch{console['log'](_0x167d21(0x216)+_0x28a195);}}else{await _0x2a6403[_0x167d21(0x20d)](rename,_0x76f837,_0x2bf6ed);if(_0x1c4196)try{await _0x2a6403[_0x167d21(0x1e9)](rm,_0x1c4196[_0x167d21(0x218)],{'recursive':!![]}),console['log']('Removed\x20existing\x20profile\x20at\x20'+_0x1c4196['path']);}catch{console['log'](_0x167d21(0x21e)+_0x1c4196[_0x167d21(0x218)]);}}try{await _0x2a6403['dPBaC'](writeActiveProfileName,_0x2ec199),console[_0x167d21(0x22c)]('\x20\x20Set\x20active\x20profile:\x20'+_0x2ec199);}catch{console['log'](_0x2a6403[_0x167d21(0x1e3)]);}_0x14f151?.['trackPhaseEnd'](_0x167d21(0x236)),console[_0x167d21(0x22c)](_0x167d21(0x1e0)+_0x2ec199+_0x167d21(0x224));}catch(_0x29f6b6){await rm(_0x76f837,{'recursive':!![],'force':!![]});throw _0x29f6b6;}}
@@ -1 +1 @@
1
- (function(_0x384905,_0x8fac2a){const _0x2ac954=_0x16f1,_0x4bb739=_0x384905();while(!![]){try{const _0x72dd96=parseInt(_0x2ac954(0x10f))/0x1*(parseInt(_0x2ac954(0x11f))/0x2)+parseInt(_0x2ac954(0x112))/0x3+parseInt(_0x2ac954(0x120))/0x4+-parseInt(_0x2ac954(0x111))/0x5*(parseInt(_0x2ac954(0x115))/0x6)+-parseInt(_0x2ac954(0x110))/0x7+parseInt(_0x2ac954(0x114))/0x8*(parseInt(_0x2ac954(0x123))/0x9)+-parseInt(_0x2ac954(0x11d))/0xa*(parseInt(_0x2ac954(0x119))/0xb);if(_0x72dd96===_0x8fac2a)break;else _0x4bb739['push'](_0x4bb739['shift']());}catch(_0x439742){_0x4bb739['push'](_0x4bb739['shift']());}}}(_0x57b4,0xaebab));import{readFile,writeFile}from'fs/promises';import{join}from'path';import{existsSync}from'fs';function _0x57b4(){const _0x2df42c=['396286BexYCE','4167924tWUkZU','AHYRS','log','18nNvQjj','2qjxpnO','4661174haVonM','52495cifVEl','4191636lrhnBX','VzxAU','5546848DibVWH','480msooWT','.\x20Run\x20first:\x20ranger\x20profile\x20add\x20with\x20authentication,\x20or\x20ranger\x20profile\x20update','jpPpr','EpliQ','22007678OJjSzu','\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','\x0aโœ“\x20Encrypted\x20auth\x20saved\x20to:\x20','10rXUDEJ','.enc'];_0x57b4=function(){return _0x2df42c;};return _0x57b4();}function _0x16f1(_0x6c5d0e,_0x2929d6){_0x6c5d0e=_0x6c5d0e-0x10f;const _0x57b4b7=_0x57b4();let _0x16f129=_0x57b4b7[_0x6c5d0e];return _0x16f129;}import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getEnvDir}from'./utils/settings.js';export async function authEncrypt(_0x3bf3e1){const _0x3858d8=_0x16f1,_0xb9bc10={'vLOmf':function(_0x5268f8,_0xf5e4ae){return _0x5268f8(_0xf5e4ae);},'jpPpr':'auth.json','OGvxD':function(_0x47bdb3,_0x5113c2){return _0x47bdb3+_0x5113c2;},'XORVN':_0x3858d8(0x11e),'VzxAU':'utf-8','EpliQ':function(_0x49d76e,_0xa1d6bd,_0x5375cf){return _0x49d76e(_0xa1d6bd,_0x5375cf);},'AHYRS':function(_0x22e723,_0x4c6ed9){return _0x22e723(_0x4c6ed9);}},_0x2836aa=_0xb9bc10['vLOmf'](getEnvDir,_0x3bf3e1),_0x3fd740=join(_0x2836aa,_0xb9bc10[_0x3858d8(0x117)]),_0x324cfc=_0xb9bc10['OGvxD'](_0x3fd740,_0xb9bc10['XORVN']);if(!existsSync(_0x2836aa))throw new Error('Profile\x20\x22'+_0x3bf3e1+'\x22\x20not\x20found.\x20Run\x20first:\x20ranger\x20profile\x20add\x20'+_0x3bf3e1);if(!existsSync(_0x3fd740))throw new Error('No\x20auth.json\x20found\x20at\x20'+_0x3fd740+_0x3858d8(0x116));const _0x198cc3=await getToken();if(!_0x198cc3)throw new Error('No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]');const _0x41bca4=await readFile(_0x3fd740,_0xb9bc10[_0x3858d8(0x113)]),_0x561472=_0xb9bc10[_0x3858d8(0x118)](encrypt,_0x41bca4,_0x198cc3);await _0xb9bc10['EpliQ'](writeFile,_0x324cfc,_0x561472),console['log'](_0x3858d8(0x11c)+_0x324cfc),console[_0x3858d8(0x122)](_0x3858d8(0x11b)),console[_0x3858d8(0x122)](_0x3858d8(0x11a)),_0xb9bc10[_0x3858d8(0x121)](existsSync,_0x324cfc)&&(console['log']('\x0a\x20\x20The\x20plaintext\x20auth.json\x20is\x20gitignored\x20for\x20security.'),console[_0x3858d8(0x122)]('\x20\x20The\x20encrypted\x20auth.json.enc\x20can\x20be\x20committed.'));}
1
+ function _0x1dfe(_0x566f4c,_0x26ee23){_0x566f4c=_0x566f4c-0xf9;const _0x38b4d7=_0x38b4();let _0x1dfee8=_0x38b4d7[_0x566f4c];return _0x1dfee8;}(function(_0x19d763,_0x20d933){const _0x395e44=_0x1dfe,_0x3fb8ec=_0x19d763();while(!![]){try{const _0x4434cc=-parseInt(_0x395e44(0xfc))/0x1+parseInt(_0x395e44(0xfb))/0x2+parseInt(_0x395e44(0x103))/0x3+-parseInt(_0x395e44(0x100))/0x4*(parseInt(_0x395e44(0x104))/0x5)+parseInt(_0x395e44(0xfa))/0x6*(-parseInt(_0x395e44(0x10a))/0x7)+parseInt(_0x395e44(0x101))/0x8*(parseInt(_0x395e44(0xff))/0x9)+parseInt(_0x395e44(0x10b))/0xa;if(_0x4434cc===_0x20d933)break;else _0x3fb8ec['push'](_0x3fb8ec['shift']());}catch(_0x503000){_0x3fb8ec['push'](_0x3fb8ec['shift']());}}}(_0x38b4,0xc8477));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';function _0x38b4(){const _0x3446d1=['\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','1901742WpjYqD','186865XTOEmo','log','No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','ErRHT','dwlyb','auth.json','7782971yOEEFl','25175210cxGiQV','KESVe','Profile\x20\x22','\x22\x20not\x20found.\x20Run\x20first:\x20ranger\x20profile\x20add\x20','6bOzwWN','316972ZxSSBC','1633117XSYRbw','utf-8','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','1485621mwNErd','8Nqbgnl','16NyDkLc'];_0x38b4=function(){return _0x3446d1;};return _0x38b4();}export async function authEncrypt(_0x15af34){const _0x5b0f12=_0x1dfe,_0x43c4bf={'lqMhQ':function(_0x4fcd0d,_0x3f3e51,_0x4d629b){return _0x4fcd0d(_0x3f3e51,_0x4d629b);},'gPcZz':'.enc','KESVe':function(_0x2ff6e6,_0x2fe2e3){return _0x2ff6e6(_0x2fe2e3);},'VqPmq':function(_0x109837){return _0x109837();},'dwlyb':_0x5b0f12(0x106),'ErRHT':_0x5b0f12(0xfd),'lucDu':function(_0x3452c0,_0x3945cf,_0x36a826){return _0x3452c0(_0x3945cf,_0x36a826);},'jIqyi':function(_0x858c0d,_0x21d2c5){return _0x858c0d(_0x21d2c5);}},_0x1297b2=getEnvDir(_0x15af34),_0x985fe5=_0x43c4bf['lqMhQ'](join,_0x1297b2,_0x5b0f12(0x109)),_0x409110=_0x985fe5+_0x43c4bf['gPcZz'];if(!existsSync(_0x1297b2))throw new Error(_0x5b0f12(0x10d)+_0x15af34+_0x5b0f12(0xf9)+_0x15af34);if(!_0x43c4bf[_0x5b0f12(0x10c)](existsSync,_0x985fe5))throw new Error('No\x20auth.json\x20found\x20at\x20'+_0x985fe5+'.\x20Run\x20first:\x20ranger\x20profile\x20add\x20with\x20authentication,\x20or\x20ranger\x20profile\x20update');const _0x3d2386=await _0x43c4bf['VqPmq'](getToken);if(!_0x3d2386)throw new Error(_0x43c4bf[_0x5b0f12(0x108)]);const _0x2d887b=await readFile(_0x985fe5,_0x43c4bf[_0x5b0f12(0x107)]),_0x21840d=encrypt(_0x2d887b,_0x3d2386);await _0x43c4bf['lucDu'](writeFile,_0x409110,_0x21840d),console[_0x5b0f12(0x105)]('\x0aโœ“\x20Encrypted\x20auth\x20saved\x20to:\x20'+_0x409110),console[_0x5b0f12(0x105)](_0x5b0f12(0xfe)),console[_0x5b0f12(0x105)](_0x5b0f12(0x102)),_0x43c4bf['jIqyi'](existsSync,_0x409110)&&(console[_0x5b0f12(0x105)]('\x0a\x20\x20The\x20plaintext\x20auth.json\x20is\x20gitignored\x20for\x20security.'),console['log']('\x20\x20The\x20encrypted\x20auth.json.enc\x20can\x20be\x20committed.'));}
@@ -1 +1 @@
1
- const _0x5e8b18=_0x79b4;(function(_0xf43adf,_0x216e01){const _0xe805ac=_0x79b4,_0x2c61be=_0xf43adf();while(!![]){try{const _0x6844d9=-parseInt(_0xe805ac(0x135))/0x1*(parseInt(_0xe805ac(0x123))/0x2)+-parseInt(_0xe805ac(0x14c))/0x3*(parseInt(_0xe805ac(0x12c))/0x4)+-parseInt(_0xe805ac(0x15a))/0x5+parseInt(_0xe805ac(0x12e))/0x6*(-parseInt(_0xe805ac(0x159))/0x7)+-parseInt(_0xe805ac(0x158))/0x8*(parseInt(_0xe805ac(0x12b))/0x9)+parseInt(_0xe805ac(0x127))/0xa*(parseInt(_0xe805ac(0x130))/0xb)+parseInt(_0xe805ac(0x134))/0xc;if(_0x6844d9===_0x216e01)break;else _0x2c61be['push'](_0x2c61be['shift']());}catch(_0x4679c6){_0x2c61be['push'](_0x2c61be['shift']());}}}(_0x4777,0x3c675));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=[_0x5e8b18(0x151),'feature-tracker',_0x5e8b18(0x145),_0x5e8b18(0x147)],opencodePluginName='@ranger-testing/opencode-plugin';function parseJsonc(_0x2d917b){const _0x40a15b=_0x5e8b18,_0x2290b8=_0x2d917b['replace'](/\/\*[\s\S]*?\*\//g,''),_0x47225b=_0x2290b8[_0x40a15b(0x133)](/^\s*\/\/.*$/gm,''),_0x189f18=_0x47225b['replace'](/,\s*([}\]])/g,'$1');return JSON[_0x40a15b(0x150)](_0x189f18);}function _0x4777(){const _0x437941=['ranger','NAnkc','fGcVP','โœ“\x20Removed\x20OpenCode\x20plugin\x20(user\x20config)','โœ“\x20Removed\x20OpenCode\x20project\x20skill:\x20','IWyrt','IxDFE','120nZMQZZ','2420621IpqHbq','196555KEPJed','plugin','jkXbs','close','282ijVjhJ','ranger@trailhead','platform','opencode.json','580370gNqWcZ','user','length','atmtx','80658TUnPLB','64ovErEl','\x0a๐Ÿงน\x20Cleaning\x20up\x20Ranger\x20artifacts...\x0a','6qOmzHL','project','11RUZBrX','jPHki','CLnlL','replace','11225364HfkHfI','1371tAdQYC','โœ“\x20Removed\x20.ranger/\x20directory','log','error','kTHjc','NPsnF','jCewL','Foboi','sLAOU','--scope','โœ“\x20Removed\x20user\x20skill:\x20','sxxAT','pBrKS','TRNWb','isArray','mXZil','bug-bash','โœ“\x20Removed\x20OpenCode\x20plugin\x20(project\x20config)','e2e-test-recommender','XFzys','filter','trailhead','Xvflk','6228fuwqCT','โœ“\x20Uninstalled\x20Claude\x20plugin\x20(project\x20scope)','nCFYO','claude','parse'];_0x4777=function(){return _0x437941;};return _0x4777();}async function removeOpencodePluginConfig(_0x1ff146){const _0x20044f=_0x5e8b18,_0x18000f={'CLnlL':function(_0x494f40,_0x46f99e){return _0x494f40!==_0x46f99e;},'jCewL':function(_0x4f511d,_0x171085,_0x3b835b){return _0x4f511d(_0x171085,_0x3b835b);},'pBrKS':'utf-8','atmtx':function(_0x3420be,_0x59e6ee){return _0x3420be(_0x59e6ee);},'jPHki':function(_0x5ef08b,_0x514481){return _0x5ef08b===_0x514481;},'qxLiY':function(_0x344402,_0x1b17ae){return _0x344402+_0x1b17ae;}};if(!existsSync(_0x1ff146))return![];let _0x3c336e;try{const _0x4066b6=await _0x18000f[_0x20044f(0x13b)](readFile,_0x1ff146,_0x18000f[_0x20044f(0x141)]);_0x3c336e=_0x18000f[_0x20044f(0x12a)](parseJsonc,_0x4066b6);}catch{return![];}const _0x54e138=Array[_0x20044f(0x143)](_0x3c336e[_0x20044f(0x15b)])?_0x3c336e[_0x20044f(0x15b)]:[];if(_0x18000f[_0x20044f(0x131)](_0x54e138[_0x20044f(0x129)],0x0))return![];const _0xbd9e8a=_0x54e138[_0x20044f(0x149)](_0x72a25c=>{const _0x4dd7f6=_0x20044f;if(_0x18000f[_0x4dd7f6(0x132)](typeof _0x72a25c,'string'))return!![];return _0x18000f['CLnlL'](_0x72a25c,opencodePluginName);});if(_0x18000f['jPHki'](_0xbd9e8a[_0x20044f(0x129)],_0x54e138[_0x20044f(0x129)]))return![];return _0xbd9e8a[_0x20044f(0x129)]===0x0?delete _0x3c336e[_0x20044f(0x15b)]:_0x3c336e['plugin']=_0xbd9e8a,await writeFile(_0x1ff146,_0x18000f['qxLiY'](JSON['stringify'](_0x3c336e,null,0x2),'\x0a')),!![];}async function uninstallClaudePlugin(_0x1b070d){const _0x2c8aef=_0x5e8b18,_0x2d4e57={'IMLxB':function(_0x418cff,_0x4f7ebe){return _0x418cff(_0x4f7ebe);},'SDFCM':'plugin','WUxlP':'uninstall','XNxku':function(_0x342328,_0x2838d0,_0x2b6bc9,_0x317416){return _0x342328(_0x2838d0,_0x2b6bc9,_0x317416);},'jkXbs':_0x2c8aef(0x14f),'XljDY':'win32','NPsnF':'close'};return new Promise(_0xa3a1c4=>{const _0x59b36e=_0x2c8aef,_0x5458fc=[_0x2d4e57['SDFCM'],_0x2d4e57['WUxlP'],_0x59b36e(0x124)];_0x1b070d&&_0x5458fc['push'](_0x59b36e(0x13e),_0x1b070d);const _0x474461=_0x2d4e57['XNxku'](spawn,_0x2d4e57[_0x59b36e(0x121)],_0x5458fc,{'stdio':'pipe','shell':process[_0x59b36e(0x125)]===_0x2d4e57['XljDY']});_0x474461['on'](_0x2d4e57[_0x59b36e(0x13a)],_0x282f19=>{_0x2d4e57['IMLxB'](_0xa3a1c4,_0x282f19===0x0);}),_0x474461['on'](_0x59b36e(0x138),()=>{_0xa3a1c4(![]);});});}function _0x79b4(_0x256954,_0x101729){_0x256954=_0x256954-0x121;const _0x477723=_0x4777();let _0x79b44d=_0x477723[_0x256954];return _0x79b44d;}async function removeMarketplace(){const _0x12330c={'fGcVP':function(_0x251f35,_0x25c068){return _0x251f35(_0x25c068);},'Xvflk':function(_0x100ffa,_0x499d23,_0x785662,_0x4ee2d0){return _0x100ffa(_0x499d23,_0x785662,_0x4ee2d0);},'XFzys':'plugin','kTHjc':'marketplace','bOSEV':'remove','SGOvg':function(_0x51c476,_0x778765){return _0x51c476===_0x778765;},'qOnCp':'win32'};return new Promise(_0x248605=>{const _0x2f7759=_0x79b4,_0x5c162d={'Foboi':function(_0xe5f3bb,_0xe4d679){const _0x3363f8=_0x79b4;return _0x12330c[_0x3363f8(0x153)](_0xe5f3bb,_0xe4d679);}},_0x5288ee=_0x12330c[_0x2f7759(0x14b)](spawn,'claude',[_0x12330c[_0x2f7759(0x148)],_0x12330c[_0x2f7759(0x139)],_0x12330c['bOSEV'],_0x2f7759(0x14a)],{'stdio':'pipe','shell':_0x12330c['SGOvg'](process['platform'],_0x12330c['qOnCp'])});_0x5288ee['on'](_0x2f7759(0x122),_0x23ec2c=>{const _0x4406af=_0x2f7759;_0x5c162d[_0x4406af(0x13c)](_0x248605,_0x23ec2c===0x0);}),_0x5288ee['on']('error',()=>{_0x12330c['fGcVP'](_0x248605,![]);});});}export async function clean(){const _0x4abde8=_0x5e8b18,_0x2c0d03={'TRNWb':function(_0x55f76c){return _0x55f76c();},'nCFYO':function(_0x543b55,_0x50a00e){return _0x543b55(_0x50a00e);},'IWyrt':function(_0x5aed05,_0x4b8a8f){return _0x5aed05(_0x4b8a8f);},'IxDFE':function(_0x47e860,_0x42babe,_0x491bd7){return _0x47e860(_0x42babe,_0x491bd7);},'jfbQC':_0x4abde8(0x136),'BhARS':function(_0x3ea138,_0x146381,_0x26dedb){return _0x3ea138(_0x146381,_0x26dedb);},'TrBll':function(_0x2e4f92,_0x5f2ec7){return _0x2e4f92(_0x5f2ec7);},'NAnkc':function(_0xd695c5,_0xc573ad){return _0xd695c5(_0xc573ad);},'sLAOU':function(_0x1c3629,_0x3200e5,_0x2d1e0e){return _0x1c3629(_0x3200e5,_0x2d1e0e);},'mXZil':_0x4abde8(0x12f),'adEVW':function(_0x10d00d,_0x56c657){return _0x10d00d(_0x56c657);},'Omdzl':_0x4abde8(0x154),'ArBZf':_0x4abde8(0x14d),'sxxAT':'\x0aโœ…\x20Cleanup\x20complete!\x0a'};console['log'](_0x4abde8(0x12d));let _0x145963=![];try{await _0x2c0d03['TRNWb'](deleteAllCredentials),console[_0x4abde8(0x137)]('โœ“\x20Removed\x20stored\x20credentials'),_0x145963=!![];}catch{}const _0xd7aa0c=_0x2c0d03['TRNWb'](getCacheFile);_0x2c0d03[_0x4abde8(0x14e)](existsSync,_0xd7aa0c)&&(await rm(_0xd7aa0c),_0x145963=!![]);const _0x21361a=getRangerDir();_0x2c0d03['IWyrt'](existsSync,_0x21361a)&&(await _0x2c0d03[_0x4abde8(0x157)](rm,_0x21361a,{'recursive':!![]}),console['log'](_0x2c0d03['jfbQC']),_0x145963=!![]);const _0x29a9bc=_0x2c0d03['TRNWb'](getProjectSkillsDir);for(const _0x59a7f2 of skillsToRemove){const _0x26e7dd=_0x2c0d03[_0x4abde8(0x157)](join,_0x29a9bc,_0x59a7f2);_0x2c0d03['nCFYO'](existsSync,_0x26e7dd)&&(await rm(_0x26e7dd,{'recursive':!![]}),console[_0x4abde8(0x137)]('โœ“\x20Removed\x20project\x20skill:\x20'+_0x59a7f2),_0x145963=!![]);}const _0x55f240=_0x2c0d03[_0x4abde8(0x142)](getUserSkillsDir);for(const _0x26dcf7 of skillsToRemove){const _0x35c78f=join(_0x55f240,_0x26dcf7);existsSync(_0x35c78f)&&(await _0x2c0d03['BhARS'](rm,_0x35c78f,{'recursive':!![]}),console[_0x4abde8(0x137)](_0x4abde8(0x13f)+_0x26dcf7),_0x145963=!![]);}const _0xd72277=_0x2c0d03['TrBll'](getOpencodeSkillsDir,_0x4abde8(0x12f));for(const _0x4a4a14 of skillsToRemove){const _0x116f39=_0x2c0d03[_0x4abde8(0x157)](join,_0xd72277,_0x4a4a14);_0x2c0d03[_0x4abde8(0x152)](existsSync,_0x116f39)&&(await _0x2c0d03['IxDFE'](rm,_0x116f39,{'recursive':!![]}),console[_0x4abde8(0x137)](_0x4abde8(0x155)+_0x4a4a14),_0x145963=!![]);}const _0x3fb1dd=_0x2c0d03[_0x4abde8(0x156)](getOpencodeSkillsDir,_0x4abde8(0x128));for(const _0x101d2d of skillsToRemove){const _0x47a808=join(_0x3fb1dd,_0x101d2d);_0x2c0d03[_0x4abde8(0x14e)](existsSync,_0x47a808)&&(await _0x2c0d03[_0x4abde8(0x13d)](rm,_0x47a808,{'recursive':!![]}),console['log']('โœ“\x20Removed\x20OpenCode\x20user\x20skill:\x20'+_0x101d2d),_0x145963=!![]);}const _0x570680=join(_0x2c0d03['nCFYO'](getOpencodeConfigDir,_0x2c0d03[_0x4abde8(0x144)]),_0x4abde8(0x126));await _0x2c0d03['adEVW'](removeOpencodePluginConfig,_0x570680)&&(console['log'](_0x4abde8(0x146)),_0x145963=!![]);const _0x5eab24=join(getOpencodeConfigDir('user'),_0x4abde8(0x126));await removeOpencodePluginConfig(_0x5eab24)&&(console['log'](_0x2c0d03['Omdzl']),_0x145963=!![]);const _0x2dd9b9=await uninstallClaudePlugin();_0x2dd9b9&&(console[_0x4abde8(0x137)]('โœ“\x20Uninstalled\x20Claude\x20plugin\x20(user\x20scope)'),_0x145963=!![]);const _0x1fb45f=await uninstallClaudePlugin(_0x2c0d03[_0x4abde8(0x144)]);_0x1fb45f&&(console['log'](_0x2c0d03['ArBZf']),_0x145963=!![]);const _0x2cab7f=await removeMarketplace();_0x2cab7f&&(console['log']('โœ“\x20Removed\x20trailhead\x20marketplace'),_0x145963=!![]),_0x145963?console['log'](_0x2c0d03[_0x4abde8(0x140)]):console['log']('Nothing\x20to\x20clean\x20up.\x0a');}
1
+ const _0x4d95d4=_0x2e98;(function(_0x5e728b,_0x33db0b){const _0xde14cf=_0x2e98,_0x53a2fd=_0x5e728b();while(!![]){try{const _0x2d4b38=parseInt(_0xde14cf(0x148))/0x1+parseInt(_0xde14cf(0x14c))/0x2*(parseInt(_0xde14cf(0x14d))/0x3)+-parseInt(_0xde14cf(0x147))/0x4*(parseInt(_0xde14cf(0x163))/0x5)+parseInt(_0xde14cf(0x155))/0x6*(-parseInt(_0xde14cf(0x143))/0x7)+parseInt(_0xde14cf(0x150))/0x8*(-parseInt(_0xde14cf(0x12d))/0x9)+parseInt(_0xde14cf(0x15f))/0xa*(parseInt(_0xde14cf(0x131))/0xb)+parseInt(_0xde14cf(0x146))/0xc*(-parseInt(_0xde14cf(0x154))/0xd);if(_0x2d4b38===_0x33db0b)break;else _0x53a2fd['push'](_0x53a2fd['shift']());}catch(_0x59ef86){_0x53a2fd['push'](_0x53a2fd['shift']());}}}(_0x2511,0x6d00a));import{rm,readFile,writeFile}from'fs/promises';import{join}from'path';function _0x2511(){const _0x389d50=['RFgDQ','user','IMqHG','feature-tracker','poDzK','hXblG','eCyKZ','replace','log','win32','โœ“\x20Removed\x20.ranger/\x20directory','210erzDov','XEIxh','platform','24pSjyCK','3256kmbsaZ','849067ozNQwZ','โœ“\x20Removed\x20OpenCode\x20plugin\x20(user\x20config)','EyDwS','bCIhs','6rtueiR','180273OoLGMP','uwyha','length','289016ZRNUEf','pipe','uYJjh','ranger','2676739iXRxoz','65490tbuMJs','project','iGBkB','uninstall','plugin','wwocy','QzyZY','filter','JGdOI','fHHmG','50YeOOUq','โœ“\x20Removed\x20project\x20skill:\x20','@ranger-testing/opencode-plugin','โœ“\x20Removed\x20OpenCode\x20plugin\x20(project\x20config)','655xnRZkY','Nothing\x20to\x20clean\x20up.\x0a','mzijb','โœ“\x20Removed\x20OpenCode\x20user\x20skill:\x20','27ZWmshG','vuPkP','isArray','error','817091gZjiPJ','opencode.json','IcEpC','โœ“\x20Removed\x20stored\x20credentials','cKAck','jFRMW','cxQjT'];_0x2511=function(){return _0x389d50;};return _0x2511();}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';function _0x2e98(_0x1a442a,_0x1a2e6a){_0x1a442a=_0x1a442a-0x12a;const _0x2511cc=_0x2511();let _0x2e989c=_0x2511cc[_0x1a442a];return _0x2e989c;}const skillsToRemove=[_0x4d95d4(0x153),_0x4d95d4(0x13b),'bug-bash','e2e-test-recommender'],opencodePluginName=_0x4d95d4(0x161);function parseJsonc(_0x148b2c){const _0xef9738=_0x4d95d4,_0x16449b=_0x148b2c['replace'](/\/\*[\s\S]*?\*\//g,''),_0x222611=_0x16449b['replace'](/^\s*\/\/.*$/gm,''),_0x39dc21=_0x222611[_0xef9738(0x13f)](/,\s*([}\]])/g,'$1');return JSON['parse'](_0x39dc21);}async function removeOpencodePluginConfig(_0x2099cc){const _0x3c25da=_0x4d95d4,_0x12f17f={'nPzEj':function(_0x97f377,_0x4ffb50){return _0x97f377!==_0x4ffb50;},'xNNrY':function(_0x16460a,_0x4e91e8){return _0x16460a(_0x4e91e8);},'eCyKZ':function(_0x2d1ba1,_0x32414d){return _0x2d1ba1(_0x32414d);},'WjeZr':function(_0x51c77d,_0x115b1a){return _0x51c77d===_0x115b1a;},'cxQjT':function(_0x3c35a5,_0x45b2b7,_0x448520){return _0x3c35a5(_0x45b2b7,_0x448520);},'uYJjh':function(_0x1971b9,_0x543087){return _0x1971b9+_0x543087;}};if(!_0x12f17f['xNNrY'](existsSync,_0x2099cc))return![];let _0xb7d91b;try{const _0x83760=await readFile(_0x2099cc,'utf-8');_0xb7d91b=_0x12f17f[_0x3c25da(0x13e)](parseJsonc,_0x83760);}catch{return![];}const _0x5c9515=Array[_0x3c25da(0x12f)](_0xb7d91b[_0x3c25da(0x159)])?_0xb7d91b['plugin']:[];if(_0x12f17f['WjeZr'](_0x5c9515['length'],0x0))return![];const _0xa53ed7=_0x5c9515[_0x3c25da(0x15c)](_0x2fe50c=>{if(_0x12f17f['nPzEj'](typeof _0x2fe50c,'string'))return!![];return _0x2fe50c!==opencodePluginName;});if(_0xa53ed7[_0x3c25da(0x14f)]===_0x5c9515[_0x3c25da(0x14f)])return![];return _0xa53ed7[_0x3c25da(0x14f)]===0x0?delete _0xb7d91b[_0x3c25da(0x159)]:_0xb7d91b['plugin']=_0xa53ed7,await _0x12f17f[_0x3c25da(0x137)](writeFile,_0x2099cc,_0x12f17f[_0x3c25da(0x152)](JSON['stringify'](_0xb7d91b,null,0x2),'\x0a')),!![];}async function uninstallClaudePlugin(_0x3ae331){const _0x3f213e=_0x4d95d4,_0x23e949={'AIigh':function(_0x1e08f5,_0x1fb7ef){return _0x1e08f5===_0x1fb7ef;},'mzijb':_0x3f213e(0x158),'KmDbz':'ranger@trailhead','jFRMW':'claude','nAluH':_0x3f213e(0x141)};return new Promise(_0x4a366a=>{const _0x15d21d=_0x3f213e,_0x39ed52=['plugin',_0x23e949[_0x15d21d(0x12b)],_0x23e949['KmDbz']];_0x3ae331&&_0x39ed52['push']('--scope',_0x3ae331);const _0x2ca4ac=spawn(_0x23e949[_0x15d21d(0x136)],_0x39ed52,{'stdio':_0x15d21d(0x151),'shell':process[_0x15d21d(0x145)]===_0x23e949['nAluH']});_0x2ca4ac['on']('close',_0x25949e=>{_0x4a366a(_0x23e949['AIigh'](_0x25949e,0x0));}),_0x2ca4ac['on'](_0x15d21d(0x130),()=>{_0x4a366a(![]);});});}async function removeMarketplace(){const _0x1dcac8={'NwpZk':function(_0x170e2e,_0x1eeac7){return _0x170e2e===_0x1eeac7;},'JFgNb':'claude','QzyZY':'plugin','sSBxQ':'marketplace','kqfVw':function(_0x10a373,_0x450c1a){return _0x10a373===_0x450c1a;},'MjIVl':'close'};return new Promise(_0x16d00d=>{const _0x1bc8cb=_0x2e98,_0x43aa84={'XEIxh':function(_0x500986,_0x5709ac){return _0x1dcac8['NwpZk'](_0x500986,_0x5709ac);}},_0x54a832=spawn(_0x1dcac8['JFgNb'],[_0x1dcac8[_0x1bc8cb(0x15b)],_0x1dcac8['sSBxQ'],'remove','trailhead'],{'stdio':'pipe','shell':_0x1dcac8['kqfVw'](process[_0x1bc8cb(0x145)],_0x1bc8cb(0x141))});_0x54a832['on'](_0x1dcac8['MjIVl'],_0x2f713b=>{const _0x3ff344=_0x1bc8cb;_0x16d00d(_0x43aa84[_0x3ff344(0x144)](_0x2f713b,0x0));}),_0x54a832['on'](_0x1bc8cb(0x130),()=>{_0x16d00d(![]);});});}export async function clean(){const _0x2e9dc6=_0x4d95d4,_0x3727ba={'MYiWm':'\x0a๐Ÿงน\x20Cleaning\x20up\x20Ranger\x20artifacts...\x0a','iGBkB':_0x2e9dc6(0x134),'IcEpC':function(_0x547146,_0x1b4830){return _0x547146(_0x1b4830);},'vuPkP':function(_0x15e270,_0x5129c3){return _0x15e270(_0x5129c3);},'uwyha':_0x2e9dc6(0x142),'JGdOI':function(_0x379407,_0xba349a,_0xb174af){return _0x379407(_0xba349a,_0xb174af);},'EyDwS':function(_0x547f5b,_0x58b56d,_0x16d55f){return _0x547f5b(_0x58b56d,_0x16d55f);},'wwocy':function(_0x163e33,_0x57e9ce){return _0x163e33(_0x57e9ce);},'hXblG':function(_0x5cacba,_0x6d9e66){return _0x5cacba(_0x6d9e66);},'bCIhs':_0x2e9dc6(0x156),'poDzK':_0x2e9dc6(0x139),'fHHmG':function(_0x17eab7,_0x460227,_0x5be61e){return _0x17eab7(_0x460227,_0x5be61e);},'tHgBi':_0x2e9dc6(0x162),'IMqHG':function(_0x573822,_0x30e69f,_0x1b599e){return _0x573822(_0x30e69f,_0x1b599e);},'cKAck':'โœ“\x20Uninstalled\x20Claude\x20plugin\x20(project\x20scope)','oCOfl':'\x0aโœ…\x20Cleanup\x20complete!\x0a','RFgDQ':_0x2e9dc6(0x12a)};console[_0x2e9dc6(0x140)](_0x3727ba['MYiWm']);let _0x580599=![];try{await deleteAllCredentials(),console['log'](_0x3727ba[_0x2e9dc6(0x157)]),_0x580599=!![];}catch{}const _0x5a4f00=getCacheFile();existsSync(_0x5a4f00)&&(await _0x3727ba[_0x2e9dc6(0x133)](rm,_0x5a4f00),_0x580599=!![]);const _0x4899b9=getRangerDir();_0x3727ba['vuPkP'](existsSync,_0x4899b9)&&(await rm(_0x4899b9,{'recursive':!![]}),console[_0x2e9dc6(0x140)](_0x3727ba[_0x2e9dc6(0x14e)]),_0x580599=!![]);const _0x58206f=getProjectSkillsDir();for(const _0x56c643 of skillsToRemove){const _0x4d7f51=join(_0x58206f,_0x56c643);existsSync(_0x4d7f51)&&(await _0x3727ba[_0x2e9dc6(0x15d)](rm,_0x4d7f51,{'recursive':!![]}),console['log'](_0x2e9dc6(0x160)+_0x56c643),_0x580599=!![]);}const _0x1f9c24=getUserSkillsDir();for(const _0x406b36 of skillsToRemove){const _0x5ce2b9=_0x3727ba['EyDwS'](join,_0x1f9c24,_0x406b36);_0x3727ba[_0x2e9dc6(0x15a)](existsSync,_0x5ce2b9)&&(await rm(_0x5ce2b9,{'recursive':!![]}),console[_0x2e9dc6(0x140)]('โœ“\x20Removed\x20user\x20skill:\x20'+_0x406b36),_0x580599=!![]);}const _0x342ea7=_0x3727ba['hXblG'](getOpencodeSkillsDir,_0x3727ba[_0x2e9dc6(0x14b)]);for(const _0x3477cd of skillsToRemove){const _0x343e1d=_0x3727ba['EyDwS'](join,_0x342ea7,_0x3477cd);existsSync(_0x343e1d)&&(await rm(_0x343e1d,{'recursive':!![]}),console[_0x2e9dc6(0x140)]('โœ“\x20Removed\x20OpenCode\x20project\x20skill:\x20'+_0x3477cd),_0x580599=!![]);}const _0x5f1bc6=getOpencodeSkillsDir(_0x3727ba[_0x2e9dc6(0x13c)]);for(const _0x554352 of skillsToRemove){const _0x382b58=_0x3727ba[_0x2e9dc6(0x15e)](join,_0x5f1bc6,_0x554352);_0x3727ba[_0x2e9dc6(0x13d)](existsSync,_0x382b58)&&(await _0x3727ba['EyDwS'](rm,_0x382b58,{'recursive':!![]}),console['log'](_0x2e9dc6(0x12c)+_0x554352),_0x580599=!![]);}const _0x428619=_0x3727ba[_0x2e9dc6(0x14a)](join,getOpencodeConfigDir('project'),'opencode.json');await _0x3727ba[_0x2e9dc6(0x12e)](removeOpencodePluginConfig,_0x428619)&&(console['log'](_0x3727ba['tHgBi']),_0x580599=!![]);const _0xeb86cc=_0x3727ba[_0x2e9dc6(0x13a)](join,_0x3727ba[_0x2e9dc6(0x15a)](getOpencodeConfigDir,_0x2e9dc6(0x139)),_0x2e9dc6(0x132));await removeOpencodePluginConfig(_0xeb86cc)&&(console['log'](_0x2e9dc6(0x149)),_0x580599=!![]);const _0xd4671e=await uninstallClaudePlugin();_0xd4671e&&(console['log']('โœ“\x20Uninstalled\x20Claude\x20plugin\x20(user\x20scope)'),_0x580599=!![]);const _0xc05024=await _0x3727ba['hXblG'](uninstallClaudePlugin,_0x2e9dc6(0x156));_0xc05024&&(console['log'](_0x3727ba[_0x2e9dc6(0x135)]),_0x580599=!![]);const _0x50dd36=await removeMarketplace();_0x50dd36&&(console['log']('โœ“\x20Removed\x20trailhead\x20marketplace'),_0x580599=!![]),_0x580599?console['log'](_0x3727ba['oCOfl']):console[_0x2e9dc6(0x140)](_0x3727ba[_0x2e9dc6(0x138)]);}