@ranger-testing/ranger-cli 2.1.4 → 2.1.6

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 (66) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/env.js +1 -1
  7. package/build/commands/feature.js +1 -1
  8. package/build/commands/hook.js +1 -1
  9. package/build/commands/hooks/autoPrompt.js +1 -1
  10. package/build/commands/hooks/disable.js +1 -1
  11. package/build/commands/hooks/enable.js +1 -1
  12. package/build/commands/hooks/exitPlanMode.js +1 -1
  13. package/build/commands/hooks/index.js +1 -1
  14. package/build/commands/hooks/output.js +1 -1
  15. package/build/commands/hooks/planReminder.js +1 -1
  16. package/build/commands/hooks/planStart.js +1 -1
  17. package/build/commands/hooks/postEdit.js +1 -1
  18. package/build/commands/hooks/preCompact.js +1 -1
  19. package/build/commands/hooks/sessionEnd.js +1 -1
  20. package/build/commands/hooks/sessionStart.js +1 -1
  21. package/build/commands/hooks/stopHook.js +1 -1
  22. package/build/commands/index.js +1 -1
  23. package/build/commands/login.js +1 -1
  24. package/build/commands/setup/claude.js +1 -1
  25. package/build/commands/setup/opencode.js +1 -1
  26. package/build/commands/setupCi.js +1 -1
  27. package/build/commands/skillup.js +1 -1
  28. package/build/commands/start.js +1 -1
  29. package/build/commands/status.js +1 -1
  30. package/build/commands/update.js +1 -1
  31. package/build/commands/updateEnv.js +1 -1
  32. package/build/commands/useEnv.js +1 -1
  33. package/build/commands/utils/activeProfile.js +1 -1
  34. package/build/commands/utils/browserSessionsApi.js +1 -1
  35. package/build/commands/utils/claudeConfig.js +1 -1
  36. package/build/commands/utils/claudePlugin.js +1 -1
  37. package/build/commands/utils/crypto.js +1 -1
  38. package/build/commands/utils/desirePathLog.js +1 -1
  39. package/build/commands/utils/deviceAuth.js +1 -1
  40. package/build/commands/utils/environment.js +1 -1
  41. package/build/commands/utils/featureApi.js +1 -1
  42. package/build/commands/utils/featureReportGenerator.js +1 -1
  43. package/build/commands/utils/fixWebmDuration.js +1 -1
  44. package/build/commands/utils/git.js +1 -1
  45. package/build/commands/utils/keychain.js +1 -1
  46. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  47. package/build/commands/utils/mcpImageBase64.js +1 -1
  48. package/build/commands/utils/model.js +1 -1
  49. package/build/commands/utils/opencodeConfig.js +1 -1
  50. package/build/commands/utils/profileMessages.js +1 -1
  51. package/build/commands/utils/profileSetupBanner.js +1 -1
  52. package/build/commands/utils/rangerConfig.js +1 -1
  53. package/build/commands/utils/rangerRoot.js +1 -1
  54. package/build/commands/utils/reportGenerator.js +1 -1
  55. package/build/commands/utils/retry.js +1 -1
  56. package/build/commands/utils/sessionCache.js +1 -1
  57. package/build/commands/utils/settings.js +1 -1
  58. package/build/commands/utils/skillContent.js +1 -1
  59. package/build/commands/utils/skills.js +1 -1
  60. package/build/commands/utils/telemetry.js +1 -1
  61. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  62. package/build/commands/utils/userApi.js +1 -1
  63. package/build/commands/utils/version.js +1 -1
  64. package/build/commands/verifyFeature.js +1 -1
  65. package/build/commands/verifyInBrowser.js +1 -1
  66. package/package.json +1 -1
package/build/cli.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- function _0x4b21(_0x43e835,_0x31c5ea){_0x43e835=_0x43e835-0x1b0;const _0xf581b=_0xf581();let _0x4b21a4=_0xf581b[_0x43e835];return _0x4b21a4;}const _0x30021c=_0x4b21;(function(_0x3e925f,_0x5369f2){const _0x4c570b=_0x4b21,_0x5e7d17=_0x3e925f();while(!![]){try{const _0x28a363=-parseInt(_0x4c570b(0x225))/0x1+parseInt(_0x4c570b(0x26f))/0x2*(parseInt(_0x4c570b(0x1eb))/0x3)+-parseInt(_0x4c570b(0x1e9))/0x4+parseInt(_0x4c570b(0x2f7))/0x5+-parseInt(_0x4c570b(0x252))/0x6*(parseInt(_0x4c570b(0x221))/0x7)+-parseInt(_0x4c570b(0x20d))/0x8+parseInt(_0x4c570b(0x280))/0x9*(parseInt(_0x4c570b(0x272))/0xa);if(_0x28a363===_0x5369f2)break;else _0x5e7d17['push'](_0x5e7d17['shift']());}catch(_0x5163aa){_0x5e7d17['push'](_0x5e7d17['shift']());}}}(_0xf581,0x5402b));import _0xa25af5 from'dotenv';function _0xf581(){const _0x390757=['enable','usage','CFGpk','--checklist','XTMZH','Install\x20skills\x20for\x20OpenCode','ranger\x20profile\x20update','UDaac','MTshV','limit','Initialize\x20Ranger\x20in\x20your\x20project','Scenario\x20description','ranger\x20delete','You\x20must\x20specify\x20a\x20config\x20subcommand','hwczf','Manage\x20profile\x20configuration','yRKyn','Name\x20of\x20the\x20environment','kOumK','update','TtRRi','feature\x20delete','eoZkQ','vpcrm','.\x20[','TRMLy','EOSIr','profile\x20use','rlaCA','failed','profile\x20add','verified','HieRP','ktaUo','--notes','cwd','ltdYc','llGZD','Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','option','demandCommand','add\x20env\x20<env-name>','cQnxP','resume','xgKyw','mhARu','VnkIK','ranger\x20show','\x20FAILED','start\x20[token]','blocked','Unknown\x20command','ieBWl','ZnoGC','FDYrz','ePZeM','nDGLR','report','ranger\x20use','ibuuQ','gqbqM','LZfQa','Vwkfl','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','evaluation','MqxKA','status','NHVQK','value','DMleC','mSFhJ','token','ImgDH','Install\x20Ranger\x20skills','xNFet','add-checklist-item\x20<description>','ranger\x20resume','1684915NWwjCx','OaPXP','KbWML','Documentation:\x0a','Evaluation:\x20','edit-scenario','zStdk','incomplete','mzGsO','feature\x20get-feedback','unhandledRejection','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','partial','Albdc','boolean','current-branch','setup\x20[token]','IdDfl','Include\x20soft-deleted\x20feature\x20reviews','ptsyl','EFGbB','qiGwt','opencode','uNIUi','parse','ranger\x20restore','deMaZ','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','\x0aUnknown\x20command:\x20','juakS','Scenario\x20number\x20to\x20edit\x20(1-based)','skillup','FQbTM','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','dkBIr','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x0aKeys:\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20header.<name>\x20\x20\x20\x20Custom\x20HTTP\x20header\x20(e.g.,\x20header.X-Test-Mode)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20header.Authorization\x20\x27${AUTH_TOKEN}\x27','start-path','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','disable','ranger\x20feature\x20add-checklist-item','iwHal','unset\x20<env>\x20<key>','dmUeL','ranger\x20profile\x20config\x20get','QSXNd','ranger\x20feature\x20list','profile\x20config\x20list','exclude-scenario','ranger\x20go','--task','WFVVt','profile\x20config\x20unset','riThU','add\x20env','project','strictCommands','skip-auth','show\x20[id]','ranger\x20feature\x20delete','task','argv','vpfwN','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','login','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','HkXDq','Set\x20a\x20config\x20value','Feature\x20review\x20description','tUMiz','list','Skip\x20Claude\x20Code\x20plugin\x20+\x20skills\x20install\x20(for\x20OpenCode\x20users)','RflVW','OfNCJ','item','mxSsJ','kvOOG','You\x20must\x20specify\x20an\x20auth\x20subcommand','iNXCe','ZtfKC','pCGTg','env\x20update','add-scenario','VjnQN','profile-name','1129580CFBblL','BhDHV','6wClkcd','kKmWe','hook:enable','Feature\x20review\x20ID\x20to\x20restore','ranger','Profile\x20name','SsbiD','ranger\x20env\x20ls','issues','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','ranger\x20env\x20update','use','oHiQA','KKmXP','show','\x20INCOMPLETE','name','ranger\x20list','ranger\x20profile\x20config\x20set','feature\x20create','VsVQF','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','force','CtXoV','create\x20<name>','env','command','error','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','ranger\x20auth\x20encrypt','SGWfz','scope','help','exit','5289352YkzbMK','skip-chromium','encrypt\x20<profile>','ranger\x20verify-feature','profile\x20config\x20set','AeeYa','log','nIRwL','bbbei','uLGeB','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','notes','evaluationReason','bmXAS','Update\x20authentication\x20for\x20an\x20existing\x20profile','fcjoM','fbJLK','unXbK','pGmoX','\x20BLOCKED','4058565KHBBvH','create','icZOx','env-name','479061DAMBmb','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','XNtXr','FYIxP','url','pZjRI','config\x20get','HgMoX','description','qzyGc','ranger\x20feature\x20restore','xLgFS','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','ygQqS','pqJiT','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','string','session-id','pwZJr','config\x20set','BqhfY','mjPaU','ranger\x20start','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','jOWaG','HNLjW','rsBQt','positional','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','mOCct','checklist','EponG','trackCommandError','HGYoa','LFkwv','List\x20all\x20profiles','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','config','ogpAk','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','config\x20list','Config\x20key\x20to\x20remove','6thBPnA','claude','PvlVr','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','delete\x20[id]','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','debug-address-comments','update\x20<env-name>','PIdOa','model','Config\x20key','scenario','RbKiF','number','OhTAO','Scenario\x20index\x20(1-based)','--scenario','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','profile','BCWim','user','Feature\x20review\x20ID','Name\x20of\x20the\x20profile\x20to\x20update','ranger\x20profile\x20config\x20list','olakc','update\x20<profile-name>','Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','ranger\x20feature\x20create','308820QZuFIL','MNEah','jvPLp','28680zhZnDL','fgxBf','restore','Number\x20of\x20feature\x20reviews\x20to\x20skip','gtrJk','ranger\x20add\x20env','sNnit','yeGzQ','List\x20all\x20config\x20for\x20a\x20profile','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','include-deleted','ranger\x20profile\x20ls','SFGqb','setup-ci\x20<token>','5337TnAeqB','list\x20<env>','ranger\x20setup','QYtxK','cdp-endpoint','Remove\x20a\x20config\x20value','stpXS','restore\x20<id>','get-review','ranger\x20config\x20get','XqMiG','Reason:\x20','Add\x20profile\x20configuration','use\x20<profile-name>','BfUhJ','debug-outcome','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','QwcsM','key','gWYBU','array','Ranger\x20API\x20token','egqjK','Environment\x20name','use\x20<env-name>','length','Name\x20of\x20the\x20profile','feature\x20resume','UggcZ','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','feature\x20show','FUnHT','fROrG','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','Vvxhl','JQQMD','KrDIU','Get\x20a\x20config\x20value','vXUuF','Restore\x20a\x20soft-deleted\x20feature\x20review','jRaeA','offset'];_0xf581=function(){return _0x390757;};return _0xf581();}import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x39a21b=_0x4b21,_0x5ded30={'dhesf':function(_0x3655dd,_0x43a0cc){return _0x3655dd(_0x43a0cc);},'laYps':function(_0x421380,_0x1c7b1c){return _0x421380(_0x1c7b1c);}};let _0x34ec9f=process[_0x39a21b(0x2cd)]();const _0x31e8c8=parse(_0x34ec9f)['root'];while(_0x34ec9f!==_0x31e8c8){if(_0x5ded30['dhesf'](existsSync,join(_0x34ec9f,'.ranger'))||_0x5ded30['laYps'](existsSync,join(_0x34ec9f,'.env')))return _0x34ec9f;_0x34ec9f=dirname(_0x34ec9f);}return process['cwd']();}_0xa25af5[_0x30021c(0x24d)]({'path':join(findProjectRoot(),'.env')});import _0x2b2c43 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'](_0x30021c(0x301),async _0x5d36a4=>{const _0xe3901a=_0x30021c,_0x27553b={'riThU':function(_0x5e3551){return _0x5e3551();}},_0x4f0fc0=_0x27553b[_0xe3901a(0x1c9)](getCurrentCollector);_0x4f0fc0&&await _0x4f0fc0[_0xe3901a(0x248)](_0x5d36a4),process['exitCode']=0x1;});const rawArgs=process[_0x30021c(0x1d1)]['slice'](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/update/config/encrypt-auth)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP=_0x30021c(0x302),PROFILE_CONFIG_HELP=_0x30021c(0x1b8);function warnRenamed(_0x58d4c7,_0x4050de){console['error']('\x0a'+_0x58d4c7+'\x20is\x20now\x20'+_0x4050de+'\x0a');}function argUsed(_0xf45ae7){return rawArgs['some'](_0x11c328=>_0x11c328===_0xf45ae7||_0x11c328['startsWith'](_0xf45ae7+'='));}function warnFlagRenamed(_0x233971,_0x4910f3,_0x368f25){const _0xb61c30={'ZMUTu':function(_0x5c912e,_0x35b10){return _0x5c912e(_0x35b10);}};_0xb61c30['ZMUTu'](argUsed,_0x4910f3)&&warnRenamed(_0x233971+'\x20'+_0x4910f3,_0x233971+'\x20'+_0x368f25);}async function runGoCommand(_0x14676e,_0x4589fc=![]){const _0x4e8176=_0x30021c,_0x1e4e16={'IdDfl':function(_0x4833e0,_0x2594e7){return _0x4833e0+_0x2594e7;},'gtrJk':_0x4e8176(0x210),'mzGsO':_0x4e8176(0x1c5),'EdGst':function(_0x322c0a,_0x4416aa,_0x776c17,_0x337895){return _0x322c0a(_0x4416aa,_0x776c17,_0x337895);},'Forws':'--env','ktaUo':function(_0x39c437,_0x11bbbe,_0x372f06,_0x2748dc){return _0x39c437(_0x11bbbe,_0x372f06,_0x2748dc);},'eoZkQ':_0x4e8176(0x1c6),'gWYBU':_0x4e8176(0x2cc),'WFxIz':'--item','HGYoa':_0x4e8176(0x263),'IHDpG':function(_0x1035cd,_0x30fa42){return _0x1035cd??_0x30fa42;},'hxRjr':'flag','pDqaV':'config','Vvxhl':'default','PIdOa':_0x4e8176(0x259),'TojiK':function(_0x59067e,_0x5d6f7c){return _0x59067e+_0x5d6f7c;},'tROwk':function(_0x384c41,_0x3152fc){return _0x384c41===_0x3152fc;},'VuYeW':_0x4e8176(0x1fa),'FUnHT':'\x20PARTIAL','HNLjW':_0x4e8176(0x220),'AeeYa':_0x4e8176(0x2da),'llGZD':'verified'};_0x4589fc&&warnRenamed(_0x1e4e16[_0x4e8176(0x276)],_0x1e4e16['mzGsO']);_0x1e4e16['EdGst'](warnFlagRenamed,_0x1e4e16[_0x4e8176(0x2ff)],_0x1e4e16['Forws'],'--profile'),_0x1e4e16[_0x4e8176(0x2cb)](warnFlagRenamed,'ranger\x20go',_0x1e4e16[_0x4e8176(0x2c0)],_0x1e4e16[_0x4e8176(0x293)]),_0x1e4e16[_0x4e8176(0x2cb)](warnFlagRenamed,'ranger\x20go',_0x1e4e16['WFxIz'],_0x1e4e16[_0x4e8176(0x249)]);const _0x86edf8=await loadRangerConfig(),_0x424b6a=_0x14676e['model'],_0x5afbec=_0x86edf8['model'],_0x2f96e2=_0x1e4e16['IHDpG'](_0x424b6a,_0x5afbec),_0x1df11d=_0x424b6a?_0x1e4e16['hxRjr']:_0x5afbec?_0x1e4e16['pDqaV']:_0x1e4e16[_0x4e8176(0x2a2)],_0x36abe6=await verifyFeature({'profile':_0x14676e[_0x4e8176(0x265)]??_0x14676e['env'],'notes':_0x14676e['notes']??_0x14676e[_0x4e8176(0x1d0)],'scenario':_0x14676e['scenario']??_0x14676e[_0x4e8176(0x1de)],'startPath':_0x14676e['start-path'],'debugOutcome':_0x14676e['debug-outcome'],'debugAddressComments':_0x14676e[_0x1e4e16[_0x4e8176(0x25b)]],'verifyModel':_0x2f96e2,'verifyModelInput':_0x2f96e2,'verifyModelSource':_0x1df11d});console[_0x4e8176(0x213)](_0x1e4e16['TojiK']('\x0a','='['repeat'](0x3c))),console['log'](_0x36abe6['evaluation']==='verified'?'\x20VERIFIED':_0x1e4e16['tROwk'](_0x36abe6['evaluation'],'incomplete')?_0x1e4e16['VuYeW']:_0x36abe6[_0x4e8176(0x2ea)]==='partial'?_0x1e4e16[_0x4e8176(0x29f)]:_0x36abe6[_0x4e8176(0x2ea)]===_0x4e8176(0x2dc)?_0x1e4e16[_0x4e8176(0x241)]:_0x1e4e16[_0x4e8176(0x212)]),console[_0x4e8176(0x213)]('='['repeat'](0x3c)),console[_0x4e8176(0x213)]('Summary:\x20'+_0x36abe6['summary']),console['log'](_0x4e8176(0x2fb)+_0x36abe6[_0x4e8176(0x2ea)]),console[_0x4e8176(0x213)](_0x4e8176(0x28b)+_0x36abe6[_0x4e8176(0x219)]),_0x36abe6[_0x4e8176(0x1f3)]?.[_0x4e8176(0x299)]&&(console['log']('\x0aIssues:'),_0x36abe6[_0x4e8176(0x1f3)]['forEach']((_0x484d73,_0x1e0edf)=>{const _0x119519=_0x4e8176;console[_0x119519(0x213)]('\x0a'+_0x1e4e16[_0x119519(0x308)](_0x1e0edf,0x1)+_0x119519(0x2c2)+_0x484d73['severity']+']\x20'+_0x484d73['description']);})),process[_0x4e8176(0x20c)](_0x36abe6[_0x4e8176(0x2ea)]===_0x1e4e16[_0x4e8176(0x2cf)]?0x0:0x1);}_0x2b2c43(process['argv']['slice'](0x2))['scriptName'](_0x30021c(0x1ef))[_0x30021c(0x2ab)](TOP_LEVEL_HELP)['version'](getCurrentVersion())[_0x30021c(0x205)](_0x30021c(0x203),_0x30021c(0x232),_0x5d6958=>{const _0x5cd206=_0x30021c,_0x777ea={'TtRRi':'string','jRaeA':'Feature\x20review\x20name','OfNCJ':_0x5cd206(0x1d8),'UqxRl':'scenario','ygQqS':_0x5cd206(0x294)};return _0x5d6958[_0x5cd206(0x243)](_0x5cd206(0x1fb),{'type':_0x777ea[_0x5cd206(0x2be)],'description':_0x777ea[_0x5cd206(0x2a8)],'demandOption':!![]})[_0x5cd206(0x2d1)](_0x5cd206(0x22e),{'type':_0x5cd206(0x237),'alias':'d','description':_0x777ea[_0x5cd206(0x1dd)]})['option'](_0x777ea['UqxRl'],{'type':_0x777ea[_0x5cd206(0x234)],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option']('checklist',{'type':_0x777ea['ygQqS'],'hidden':!![]});},async _0x34ff68=>{const _0x3edf78=_0x30021c,_0x1e8e6b={'RNSGp':'ranger\x20create','CFGpk':'--scenario','mhARu':function(_0x59ac80,_0x554631,_0x2d2c65){return _0x59ac80(_0x554631,_0x2d2c65);},'vpfwN':_0x3edf78(0x222)};warnFlagRenamed(_0x1e8e6b['RNSGp'],_0x3edf78(0x2ad),_0x1e8e6b[_0x3edf78(0x2ac)]);const _0x14b460=_0x34ff68[_0x3edf78(0x25e)]||_0x34ff68[_0x3edf78(0x246)];await _0x1e8e6b[_0x3edf78(0x2d7)](withTelemetry,_0x1e8e6b[_0x3edf78(0x1d2)],()=>featureCreate(_0x34ff68['name'],{'description':_0x34ff68['description'],'scenarios':_0x14b460}));})['command']('list','List\x20all\x20feature\x20reviews',_0x2160ce=>{const _0x26eb60=_0x30021c,_0x4f14b6={'EFGbB':'current-branch','BCWim':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','Nvhiw':'limit','vXUuF':_0x26eb60(0x236),'HgMoX':_0x26eb60(0x2a9),'kKmWe':_0x26eb60(0x260),'qiGwt':_0x26eb60(0x275),'QhbPe':_0x26eb60(0x27c),'Isdui':_0x26eb60(0x305)};return _0x2160ce[_0x26eb60(0x2d1)](_0x4f14b6[_0x26eb60(0x30b)],{'type':'boolean','description':_0x4f14b6[_0x26eb60(0x266)]})['option'](_0x4f14b6['Nvhiw'],{'type':'number','alias':'l','description':_0x4f14b6[_0x26eb60(0x2a6)],'default':0xa})[_0x26eb60(0x2d1)](_0x4f14b6[_0x26eb60(0x22d)],{'type':_0x4f14b6[_0x26eb60(0x1ec)],'alias':'o','description':_0x4f14b6[_0x26eb60(0x30c)],'default':0x0})[_0x26eb60(0x2d1)](_0x4f14b6['QhbPe'],{'type':_0x4f14b6['Isdui'],'alias':'d','description':_0x26eb60(0x309),'default':![]});},async _0x4ed397=>{const _0x1ec172=_0x30021c;await withTelemetry(_0x1ec172(0x1da),()=>featureList({'currentBranch':_0x4ed397[_0x1ec172(0x306)],'limit':_0x4ed397['limit'],'offset':_0x4ed397[_0x1ec172(0x2a9)],'includeDeleted':_0x4ed397[_0x1ec172(0x27c)]}));})[_0x30021c(0x205)](_0x30021c(0x1ce),'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x20b2e8=>{const _0x90babe=_0x30021c,_0x788ca4={'meWBd':'string','gqbqM':_0x90babe(0x268)};return _0x20b2e8[_0x90babe(0x243)]('id',{'type':_0x788ca4['meWBd'],'description':_0x788ca4[_0x90babe(0x2e6)]});},async _0x1d41c1=>{const _0x20faf2=_0x30021c;await withTelemetry(_0x20faf2(0x1f9),()=>featureShow(_0x1d41c1['id']));})['command']('resume\x20[id]','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x235019=>{const _0xa2a50d=_0x30021c,_0x32331b={'ygSxp':_0xa2a50d(0x255)};return _0x235019['positional']('id',{'type':'string','description':_0x32331b['ygSxp']});},async _0x218f74=>{const _0x265e26=_0x30021c,_0x58e975={'wAXBv':function(_0x78d1b3,_0x536f5e,_0x5f1bac){return _0x78d1b3(_0x536f5e,_0x5f1bac);}};await _0x58e975['wAXBv'](withTelemetry,_0x265e26(0x2d5),()=>featureResume(_0x218f74['id']));})['command']('add-scenario\x20<description>',_0x30021c(0x244),_0x429804=>{const _0x48a50a=_0x30021c,_0x3112a9={'PILFG':_0x48a50a(0x22e),'qbIfS':_0x48a50a(0x237),'eEWSR':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0x429804['positional'](_0x3112a9['PILFG'],{'type':'string','description':_0x48a50a(0x2b5),'demandOption':!![]})[_0x48a50a(0x2d1)]('id',{'type':_0x3112a9['qbIfS'],'description':_0x3112a9['eEWSR']});},async _0xf4418d=>{const _0x36fccb=_0x30021c,_0x432d59={'dmUeL':function(_0x6ffdef,_0x857564,_0x519a9f){return _0x6ffdef(_0x857564,_0x519a9f);}};await _0x432d59[_0x36fccb(0x1bf)](withTelemetry,_0x36fccb(0x1e6),()=>featureAddScenario(_0xf4418d[_0x36fccb(0x22e)],_0xf4418d['id']));})[_0x30021c(0x205)]('edit-scenario\x20<description>','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x231674=>{const _0xaef63b=_0x30021c,_0x20abc1={'ImgDH':'string','bbbei':'New\x20scenario\x20description','BnWrI':_0xaef63b(0x25e),'leXEv':_0xaef63b(0x2e9)};return _0x231674[_0xaef63b(0x243)]('description',{'type':_0x20abc1[_0xaef63b(0x2f2)],'description':_0x20abc1[_0xaef63b(0x215)],'demandOption':!![]})[_0xaef63b(0x2d1)](_0x20abc1['BnWrI'],{'type':'number','description':_0xaef63b(0x1b3),'demandOption':!![]})[_0xaef63b(0x2d1)]('id',{'type':'string','description':_0x20abc1['leXEv']});},async _0x52e5ba=>{const _0x1362fc=_0x30021c,_0x14c2ed={'SsbiD':function(_0xce3b90,_0x597d77,_0x4f4640){return _0xce3b90(_0x597d77,_0x4f4640);}};await _0x14c2ed[_0x1362fc(0x1f1)](withTelemetry,_0x1362fc(0x2fc),()=>featureEditScenario(_0x52e5ba[_0x1362fc(0x22e)],{'id':_0x52e5ba['id'],'scenario':_0x52e5ba['scenario']}));})['command']('report\x20[id]',_0x30021c(0x290),_0x13b325=>{const _0x4e06ec=_0x30021c,_0x3b4f48={'unXbK':_0x4e06ec(0x1c4),'VsVQF':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'};return _0x13b325['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'})[_0x4e06ec(0x2d1)](_0x3b4f48[_0x4e06ec(0x21e)],{'type':_0x4e06ec(0x294),'description':_0x3b4f48[_0x4e06ec(0x1ff)]});},async _0xc7d5bb=>{const _0x3b24f9=_0x30021c,_0x49a072={'jjbKr':function(_0x473ef4,_0xcd7f51,_0x210b7d){return _0x473ef4(_0xcd7f51,_0x210b7d);}},_0x12e2b8=_0xc7d5bb['exclude-scenario'],_0x45b5df=_0x12e2b8?_0x12e2b8['map'](_0x3e701d=>Number(_0x3e701d)):undefined;await _0x49a072['jjbKr'](withTelemetry,_0x3b24f9(0x2e3),()=>featureReportPrDescription(_0xc7d5bb['id'],{'excludeScenarios':_0x45b5df}));})['command']('get-review\x20[id]','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x12e7a3=>{const _0x2360c8=_0x30021c,_0x58e7e9={'stpXS':_0x2360c8(0x237),'ZtfKC':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0x12e7a3[_0x2360c8(0x243)]('id',{'type':_0x58e7e9[_0x2360c8(0x286)],'description':_0x58e7e9[_0x2360c8(0x1e3)]});},async _0x1e8029=>{const _0x1bccb3=_0x30021c,_0x4ab929={'KUjXQ':function(_0x44e59c,_0x4a656e,_0x1f90c1){return _0x44e59c(_0x4a656e,_0x1f90c1);}};await _0x4ab929['KUjXQ'](withTelemetry,_0x1bccb3(0x288),()=>featureGetReview(_0x1e8029['id']));})[_0x30021c(0x205)](_0x30021c(0x256),'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x4ea39b=>{const _0x50ba17=_0x30021c;return _0x4ea39b[_0x50ba17(0x243)]('id',{'type':_0x50ba17(0x237),'description':'Feature\x20review\x20ID'});},async _0x53e83a=>{const _0x5626e7={'FnhyL':function(_0x21badd,_0x2c543d,_0x59fa31){return _0x21badd(_0x2c543d,_0x59fa31);},'PRifO':'delete'};await _0x5626e7['FnhyL'](withTelemetry,_0x5626e7['PRifO'],()=>featureDelete(_0x53e83a['id']));})['command'](_0x30021c(0x287),_0x30021c(0x2a7),_0x41e91f=>{const _0x15e982=_0x30021c;return _0x41e91f[_0x15e982(0x243)]('id',{'type':'string','description':_0x15e982(0x1ee),'demandOption':!![]});},async _0x134df3=>{const _0x23c0f1=_0x30021c;await withTelemetry(_0x23c0f1(0x274),()=>featureRestore(_0x134df3['id']));})['command'](_0x30021c(0x307),_0x30021c(0x2b4),_0x14b4f8=>{const _0x469a41=_0x30021c,_0x5407c2={'VnkIK':_0x469a41(0x2f1),'EponG':_0x469a41(0x237),'OaPXP':'project','pCGTg':'url','SGWfz':_0x469a41(0x23f),'AVnBo':'boolean','cDRYb':_0x469a41(0x29d),'VCOHo':_0x469a41(0x1db)};return _0x14b4f8[_0x469a41(0x243)](_0x5407c2[_0x469a41(0x2d8)],{'type':_0x5407c2[_0x469a41(0x247)],'description':_0x469a41(0x1ba)})['option']('skip-chromium',{'type':_0x469a41(0x305),'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option']('scope',{'type':_0x5407c2[_0x469a41(0x247)],'choices':['user',_0x5407c2[_0x469a41(0x2f8)]],'description':_0x469a41(0x2d0)})[_0x469a41(0x2d1)](_0x5407c2[_0x469a41(0x1e4)],{'type':_0x5407c2[_0x469a41(0x247)],'description':_0x5407c2[_0x469a41(0x209)]})['option'](_0x469a41(0x201),{'type':_0x5407c2['AVnBo'],'description':_0x5407c2['cDRYb'],'default':![]})['option']('opencode',{'type':'boolean','description':_0x5407c2['VCOHo'],'default':![]});},async _0x1d45cf=>{const _0x403780=_0x30021c,_0x5c420b={'fgxBf':'start'};await withTelemetry(_0x5c420b[_0x403780(0x273)],_0x2dfefb=>start(_0x1d45cf['token'],{'skipChromium':_0x1d45cf[_0x403780(0x20e)],'scope':_0x1d45cf['scope'],'url':_0x1d45cf['url'],'force':_0x1d45cf[_0x403780(0x201)],'opencode':_0x1d45cf[_0x403780(0x30d)]},_0x2dfefb));})['command'](_0x30021c(0x27f),'Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0x37f6dc=>{const _0x48c51d=_0x30021c,_0x3080dd={'hwczf':'string','aWCuM':_0x48c51d(0x265),'fmEaE':_0x48c51d(0x1d5),'VcVwN':_0x48c51d(0x305)};return _0x37f6dc[_0x48c51d(0x243)]('token',{'type':_0x3080dd[_0x48c51d(0x2b8)],'description':_0x48c51d(0x295),'demandOption':!![]})['option'](_0x3080dd['aWCuM'],{'type':_0x48c51d(0x237),'description':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)'})[_0x48c51d(0x2d1)]('base-url',{'type':_0x3080dd['hwczf'],'description':_0x3080dd['fmEaE']})[_0x48c51d(0x2d1)]('skip-chromium',{'type':_0x3080dd['VcVwN'],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0xe5b9e6=>{const _0x2576e8=_0x30021c;await withTelemetry('setup-ci',_0x606436=>setupCi(_0xe5b9e6['token'],{'profile':_0xe5b9e6[_0x2576e8(0x265)],'baseUrl':_0xe5b9e6['base-url'],'skipChromium':_0xe5b9e6['skip-chromium']},_0x606436));})[_0x30021c(0x205)]('login',_0x30021c(0x1d3),()=>{},async()=>{const _0x46bc5f=_0x30021c,_0x1c819a={'mSFhJ':function(_0x5e0c77,_0x555ad1,_0x40643c){return _0x5e0c77(_0x555ad1,_0x40643c);},'ermSg':_0x46bc5f(0x1d4)};await _0x1c819a[_0x46bc5f(0x2f0)](withTelemetry,_0x1c819a['ermSg'],()=>login());})['command'](_0x30021c(0x1b4),_0x30021c(0x2f3),_0x2235ad=>{const _0xf2efe0=_0x30021c,_0x31001c={'kOumK':'opencode','jILpt':'boolean','kEnLS':_0xf2efe0(0x2af),'vpcrm':_0xf2efe0(0x237),'RoQXw':'project'};return _0x2235ad[_0xf2efe0(0x2d1)](_0x31001c[_0xf2efe0(0x2bc)],{'type':_0x31001c['jILpt'],'description':_0x31001c['kEnLS'],'default':![]})[_0xf2efe0(0x2d1)]('scope',{'type':_0x31001c[_0xf2efe0(0x2c1)],'choices':['user',_0x31001c['RoQXw']],'description':'Install\x20scope\x20for\x20skills'});},async _0x233d52=>{const _0x40cc9e=_0x30021c,_0x3666b2={'yeGzQ':function(_0x3ab88c,_0x5452fd){return _0x3ab88c(_0x5452fd);},'DMleC':function(_0x1acd42,_0x50940b,_0x5caff6){return _0x1acd42(_0x50940b,_0x5caff6);},'SFDHd':_0x40cc9e(0x1b4)},_0x2adeb8=_0x3666b2[_0x40cc9e(0x279)](Boolean,_0x233d52['opencode']);await _0x3666b2[_0x40cc9e(0x2ef)](withTelemetry,_0x3666b2['SFDHd'],()=>skillup({'autoInstall':_0x233d52[_0x40cc9e(0x20a)],'platform':_0x2adeb8?_0x40cc9e(0x30d):_0x40cc9e(0x253)}));})['command']('clean',_0x30021c(0x200),()=>{},async()=>{const _0x308c64=_0x30021c,_0x4c6d1f={'egqjK':function(_0x3146d6,_0x16d8ed,_0x12054e){return _0x3146d6(_0x16d8ed,_0x12054e);}};await _0x4c6d1f[_0x308c64(0x296)](withTelemetry,'clean',()=>clean());})['command']('profile','Manage\x20profiles',_0x4656a6=>{const _0x31cfa2=_0x30021c,_0x34ec56={'OFCwK':_0x31cfa2(0x1e8),'xuWzU':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','KrDIU':_0x31cfa2(0x24f),'FYIxP':_0x31cfa2(0x305),'tBuLh':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','ptsyl':_0x31cfa2(0x22a),'llSCM':_0x31cfa2(0x226),'cQnxP':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','DbXcI':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','XNtXr':_0x31cfa2(0x2c8),'fydvp':function(_0x3b94d8,_0x59b664){return _0x3b94d8(_0x59b664);},'OhTAO':_0x31cfa2(0x237),'ltdYc':_0x31cfa2(0x29a),'mSwGN':function(_0x57d035,_0x1838da,_0x469fd1){return _0x57d035(_0x1838da,_0x469fd1);},'jOWaG':_0x31cfa2(0x265),'UcMzS':function(_0x854b1e,_0xe41a95,_0x5d3515){return _0x854b1e(_0xe41a95,_0x5d3515);},'BqhfY':function(_0x1e9ebb,_0x1a9d9a,_0x47902c){return _0x1e9ebb(_0x1a9d9a,_0x47902c);},'RbKiF':'profile\x20update','xgKyw':'key','jnfBs':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','QwdmC':'value','xZfQm':'Profile\x20name','eHJhL':_0x31cfa2(0x251),'mFPcX':function(_0x8924d0,_0x26d5f3,_0x12db94){return _0x8924d0(_0x26d5f3,_0x12db94);},'rlaCA':'set\x20<profile>\x20<key>\x20<value>','bYjAr':'get\x20<profile>\x20<key>','LnUOR':_0x31cfa2(0x2a5),'BhDHV':_0x31cfa2(0x27a),'PNrqI':_0x31cfa2(0x285),'SFGqb':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','SGlLl':'add\x20<profile-name>','ibuuQ':_0x31cfa2(0x28c),'QJEdx':'Switch\x20to\x20using\x20a\x20specific\x20profile','bmVpl':'encrypt-auth\x20<profile>','rsBQt':_0x31cfa2(0x264),'QSXNd':_0x31cfa2(0x24b),'dukbb':_0x31cfa2(0x21b),'xHNks':'You\x20must\x20specify\x20a\x20profile\x20subcommand'};return _0x4656a6[_0x31cfa2(0x2ab)](PROFILE_HELP)['command'](_0x34ec56['SGlLl'],_0x34ec56[_0x31cfa2(0x2e5)],_0x559414=>{const _0x1a9067=_0x31cfa2;return _0x559414['positional'](_0x34ec56['OFCwK'],{'type':'string','description':_0x34ec56['xuWzU'],'demandOption':!![]})['option']('ci',{'type':_0x1a9067(0x305),'description':_0x34ec56[_0x1a9067(0x2a4)],'default':![]})['option']('skip-auth',{'type':_0x34ec56[_0x1a9067(0x229)],'description':_0x34ec56['tBuLh'],'default':![]})[_0x1a9067(0x2d1)](_0x34ec56[_0x1a9067(0x30a)],{'type':'string','description':_0x34ec56['llSCM']})['option'](_0x1a9067(0x201),{'type':_0x34ec56['FYIxP'],'description':_0x34ec56[_0x1a9067(0x2d4)],'default':![]})[_0x1a9067(0x2d1)]('cdp-endpoint',{'type':_0x1a9067(0x237),'description':_0x34ec56['DbXcI']});},async _0x308d94=>{const _0x5ca02f=_0x31cfa2;await withTelemetry(_0x34ec56[_0x5ca02f(0x228)],_0x41684e=>addEnv(_0x308d94[_0x5ca02f(0x1e8)],{'ci':_0x308d94['ci'],'skipAuth':_0x308d94[_0x5ca02f(0x1cd)],'url':_0x308d94[_0x5ca02f(0x22a)],'force':_0x308d94[_0x5ca02f(0x201)],'cdpEndpoint':_0x308d94[_0x5ca02f(0x284)]},_0x41684e),{'isElectron':_0x34ec56['fydvp'](Boolean,_0x308d94[_0x5ca02f(0x284)])});})['command'](_0x31cfa2(0x28d),_0x34ec56['QJEdx'],_0x354588=>{const _0x18259a=_0x31cfa2;return _0x354588[_0x18259a(0x243)]('profile-name',{'type':_0x34ec56[_0x18259a(0x261)],'description':_0x34ec56[_0x18259a(0x2ce)],'demandOption':!![]});},async _0x33b93b=>{const _0x6954ba=_0x31cfa2;await _0x34ec56['mSwGN'](withTelemetry,_0x6954ba(0x2c5),()=>useEnv(_0x33b93b[_0x6954ba(0x1e8)]));})[_0x31cfa2(0x205)](_0x34ec56['bmVpl'],_0x34ec56[_0x31cfa2(0x242)],_0x54fe65=>{const _0x579817=_0x31cfa2;return _0x54fe65[_0x579817(0x243)](_0x34ec56[_0x579817(0x240)],{'type':_0x34ec56['OhTAO'],'description':_0x579817(0x1f0),'demandOption':!![]});},async _0x9dffa0=>{await _0x34ec56['mSwGN'](withTelemetry,'profile\x20encrypt-auth',()=>authEncrypt(_0x9dffa0['profile']));})['command']('ls',_0x34ec56[_0x31cfa2(0x1c1)],()=>{},async()=>{await _0x34ec56['UcMzS'](withTelemetry,'profile\x20ls',()=>envList());})['command'](_0x31cfa2(0x26c),_0x34ec56['dukbb'],_0x38c643=>{const _0x287d5e=_0x31cfa2;return _0x38c643[_0x287d5e(0x243)](_0x287d5e(0x1e8),{'type':'string','description':_0x287d5e(0x269),'demandOption':!![]});},async _0x182805=>{const _0x15d3a4=_0x31cfa2;await _0x34ec56[_0x15d3a4(0x23b)](withTelemetry,_0x34ec56[_0x15d3a4(0x25f)],_0x7393ce=>updateEnv(_0x182805['profile-name'],_0x7393ce));})['command'](_0x31cfa2(0x24d),_0x31cfa2(0x2b9),_0x326529=>{const _0x26d872=_0x31cfa2,_0x18ff6c={'yRKyn':function(_0x1f24bc,_0x1f4ede,_0x16314e){return _0x34ec56['mFPcX'](_0x1f24bc,_0x1f4ede,_0x16314e);},'ogpAk':_0x26d872(0x211),'sSIcq':_0x34ec56[_0x26d872(0x2d6)],'EOSIr':_0x26d872(0x237),'QrsCK':_0x26d872(0x25d)};return _0x326529[_0x26d872(0x2ab)](PROFILE_CONFIG_HELP)[_0x26d872(0x205)](_0x34ec56[_0x26d872(0x2c6)],_0x26d872(0x1d7),_0x1ab219=>{const _0x54dc55=_0x26d872;return _0x1ab219[_0x54dc55(0x243)](_0x54dc55(0x265),{'type':'string','description':_0x54dc55(0x1f0),'demandOption':!![]})[_0x54dc55(0x243)](_0x34ec56[_0x54dc55(0x2d6)],{'type':_0x34ec56['OhTAO'],'description':_0x34ec56['jnfBs'],'demandOption':!![]})['positional'](_0x34ec56['QwdmC'],{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0x46bc94=>{const _0x1c71ec=_0x26d872;await _0x18ff6c[_0x1c71ec(0x2ba)](withTelemetry,_0x18ff6c[_0x1c71ec(0x24e)],()=>configSet(_0x46bc94['profile'],_0x46bc94[_0x1c71ec(0x292)],_0x46bc94[_0x1c71ec(0x2ee)]));})[_0x26d872(0x205)](_0x34ec56['bYjAr'],_0x34ec56['LnUOR'],_0x23e737=>{const _0x4d4318=_0x26d872;return _0x23e737['positional'](_0x4d4318(0x265),{'type':_0x4d4318(0x237),'description':_0x4d4318(0x1f0),'demandOption':!![]})['positional'](_0x18ff6c['sSIcq'],{'type':_0x18ff6c[_0x4d4318(0x2c4)],'description':_0x18ff6c['QrsCK'],'demandOption':!![]});},async _0x120d6a=>{const _0x346726=_0x26d872;await withTelemetry('profile\x20config\x20get',()=>configGet(_0x120d6a[_0x346726(0x265)],_0x120d6a['key']));})['command']('list\x20<profile>',_0x34ec56[_0x26d872(0x1ea)],_0x3c13b7=>{const _0x40a0a1=_0x26d872;return _0x3c13b7['positional'](_0x40a0a1(0x265),{'type':_0x34ec56['OhTAO'],'description':_0x34ec56['xZfQm'],'demandOption':!![]});},async _0x409cb6=>{const _0x1fe1df=_0x26d872;await withTelemetry(_0x1fe1df(0x1c3),()=>configList(_0x409cb6['profile']));})[_0x26d872(0x205)]('unset\x20<profile>\x20<key>',_0x34ec56['PNrqI'],_0x4399aa=>{const _0x56a1c7=_0x26d872;return _0x4399aa[_0x56a1c7(0x243)]('profile',{'type':'string','description':_0x56a1c7(0x1f0),'demandOption':!![]})[_0x56a1c7(0x243)]('key',{'type':_0x34ec56['OhTAO'],'description':_0x34ec56['eHJhL'],'demandOption':!![]});},async _0x4431fc=>{const _0x2c69c8=_0x26d872;await withTelemetry(_0x2c69c8(0x1c8),()=>configUnset(_0x4431fc[_0x2c69c8(0x265)],_0x4431fc[_0x2c69c8(0x292)]));})['demandCommand'](0x1,_0x34ec56[_0x26d872(0x27e)]);})[_0x31cfa2(0x2d2)](0x1,_0x34ec56['xHNks']);})['command'](_0x30021c(0x2ec),'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{await withTelemetry('status',()=>status());})[_0x30021c(0x205)](_0x30021c(0x2bd),'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x507b3e=_0x30021c;await withTelemetry(_0x507b3e(0x2bd),()=>update());})['command']('go',_0x30021c(0x1b6),_0x470781=>{const _0x456e3d=_0x30021c,_0x2684a7={'cDKAl':_0x456e3d(0x218),'Albdc':_0x456e3d(0x237),'tYUVi':_0x456e3d(0x258),'XTMZH':_0x456e3d(0x260),'FQbTM':_0x456e3d(0x262),'BfUhJ':'start-path','tUMiz':'model','AFgFf':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1)','uNIUi':'verified','TRMLy':_0x456e3d(0x303),'fcjoM':_0x456e3d(0x2c7),'ppUnL':_0x456e3d(0x2fe),'QYtxK':'debug-address-comments','mOCct':'boolean','juakS':_0x456e3d(0x204),'zdAAg':_0x456e3d(0x1d0)};return _0x470781['option'](_0x456e3d(0x265),{'type':_0x456e3d(0x237),'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0x456e3d(0x2d1)](_0x2684a7['cDKAl'],{'type':_0x2684a7['Albdc'],'description':_0x2684a7['tYUVi']})[_0x456e3d(0x2d1)](_0x456e3d(0x25e),{'type':_0x2684a7[_0x456e3d(0x2ae)],'description':_0x2684a7[_0x456e3d(0x1b5)]})['option'](_0x2684a7[_0x456e3d(0x28e)],{'type':_0x456e3d(0x237),'description':_0x456e3d(0x257)})['option'](_0x2684a7[_0x456e3d(0x1d9)],{'type':_0x456e3d(0x237),'description':_0x2684a7['AFgFf']})[_0x456e3d(0x2d1)]('debug-outcome',{'type':'string','hidden':!![],'choices':[_0x2684a7[_0x456e3d(0x30e)],_0x2684a7[_0x456e3d(0x2c3)],_0x456e3d(0x2dc),_0x2684a7[_0x456e3d(0x21c)],_0x2684a7['ppUnL']]})[_0x456e3d(0x2d1)](_0x2684a7[_0x456e3d(0x283)],{'type':_0x2684a7[_0x456e3d(0x245)],'hidden':!![]})['option'](_0x2684a7[_0x456e3d(0x1b2)],{'type':_0x2684a7[_0x456e3d(0x304)],'hidden':!![]})[_0x456e3d(0x2d1)](_0x2684a7['zdAAg'],{'type':'string','hidden':!![]})['option'](_0x456e3d(0x1de),{'type':'number','hidden':!![]});},async _0x2d4cde=>{const _0x2b1a5b=_0x30021c,_0x4b4147={'xNFet':function(_0x273635,_0x4612fa){return _0x273635(_0x4612fa);}};await _0x4b4147[_0x2b1a5b(0x2f4)](runGoCommand,_0x2d4cde);})['command']('auth',![],_0x26f080=>{const _0x1c4672=_0x30021c,_0x4ef408={'NHVQK':'profile','ROMGN':'Profile\x20name','qbZbt':function(_0x5a22f1,_0x46c495,_0x501a91){return _0x5a22f1(_0x46c495,_0x501a91);},'xLgFS':_0x1c4672(0x208),'CtXoV':'ranger\x20profile\x20encrypt-auth'};return _0x26f080['command'](_0x1c4672(0x20f),![],_0x5b3c01=>{const _0x1014c6=_0x1c4672;return _0x5b3c01['positional'](_0x4ef408[_0x1014c6(0x2ed)],{'type':_0x1014c6(0x237),'description':_0x4ef408['ROMGN'],'demandOption':!![]});},async _0x170954=>{const _0x474fa3=_0x1c4672;_0x4ef408['qbZbt'](warnRenamed,_0x4ef408[_0x474fa3(0x231)],_0x4ef408[_0x474fa3(0x202)]),await authEncrypt(_0x170954[_0x474fa3(0x265)]);})['demandCommand'](0x1,_0x1c4672(0x1e1));},()=>{})['command'](_0x30021c(0x2db),![],_0x132339=>{const _0x60215c=_0x30021c,_0x74bfbd={'LiPLF':'string','hNoFs':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','olakc':'boolean','jvPLp':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','zOYfC':'force'};return _0x132339['positional'](_0x60215c(0x2f1),{'type':_0x74bfbd['LiPLF'],'description':_0x74bfbd['hNoFs']})[_0x60215c(0x2d1)](_0x60215c(0x20e),{'type':_0x74bfbd[_0x60215c(0x26b)],'description':_0x60215c(0x207),'default':![]})['option'](_0x60215c(0x20a),{'type':_0x74bfbd['LiPLF'],'choices':[_0x60215c(0x267),_0x60215c(0x1cb)],'description':_0x74bfbd[_0x60215c(0x271)]})[_0x60215c(0x2d1)]('url',{'type':_0x74bfbd['LiPLF'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x74bfbd['zOYfC'],{'type':_0x74bfbd[_0x60215c(0x26b)],'description':_0x60215c(0x29d),'default':![]});},async _0x4f6090=>{const _0x4ef505=_0x30021c,_0x278708={'fROrG':function(_0x3e1804,_0x38ba44,_0x10d2bf){return _0x3e1804(_0x38ba44,_0x10d2bf);},'iNXCe':_0x4ef505(0x23d),'ENKsL':_0x4ef505(0x282),'GqnKj':'start'};_0x278708[_0x4ef505(0x2a0)](warnRenamed,_0x278708[_0x4ef505(0x1e2)],_0x278708['ENKsL']),await withTelemetry(_0x278708['GqnKj'],_0xdef9c1=>start(_0x4f6090[_0x4ef505(0x2f1)],{'skipChromium':_0x4f6090[_0x4ef505(0x20e)],'scope':_0x4f6090[_0x4ef505(0x20a)],'url':_0x4f6090['url'],'force':_0x4f6090['force']},_0xdef9c1));})[_0x30021c(0x205)]('verify-feature',![],_0x555697=>{const _0x5b9167=_0x30021c,_0x47df7a={'nIRwL':_0x5b9167(0x237),'UzLJC':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','UDaac':'number','ePZeM':_0x5b9167(0x1b9),'ZnoGC':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','nDGLR':_0x5b9167(0x25c),'OGLAK':_0x5b9167(0x2c9),'PncgI':'partial'};return _0x555697[_0x5b9167(0x2d1)]('env',{'type':_0x5b9167(0x237),'description':_0x5b9167(0x1f4)})[_0x5b9167(0x2d1)](_0x5b9167(0x1d0),{'type':_0x47df7a['nIRwL'],'description':_0x47df7a['UzLJC']})[_0x5b9167(0x2d1)]('item',{'type':'number','description':'Scenario\x20index\x20(1-based)'})['option']('profile',{'type':_0x47df7a[_0x5b9167(0x214)],'hidden':!![]})[_0x5b9167(0x2d1)](_0x5b9167(0x218),{'type':_0x47df7a['nIRwL'],'hidden':!![]})['option']('scenario',{'type':_0x47df7a[_0x5b9167(0x2b1)],'hidden':!![]})[_0x5b9167(0x2d1)](_0x47df7a[_0x5b9167(0x2e1)],{'type':_0x47df7a['nIRwL'],'description':_0x47df7a[_0x5b9167(0x2df)]})[_0x5b9167(0x2d1)](_0x47df7a[_0x5b9167(0x2e2)],{'type':_0x47df7a[_0x5b9167(0x214)],'hidden':!![]})[_0x5b9167(0x2d1)](_0x5b9167(0x28f),{'type':'string','hidden':!![],'choices':[_0x47df7a['OGLAK'],_0x47df7a['PncgI'],_0x5b9167(0x2dc),_0x5b9167(0x2c7),_0x5b9167(0x2fe)]});},async _0x1922e1=>{await runGoCommand(_0x1922e1,!![]);})[_0x30021c(0x205)](_0x30021c(0x2d3),![],_0x44adf0=>{const _0x56ebcd=_0x30021c,_0x5a1dc4={'DterG':_0x56ebcd(0x224),'dkBIr':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','UggcZ':_0x56ebcd(0x305),'cfxUH':_0x56ebcd(0x2a1)};return _0x44adf0['positional'](_0x5a1dc4['DterG'],{'type':_0x56ebcd(0x237),'description':_0x5a1dc4[_0x56ebcd(0x1b7)],'demandOption':!![]})['option']('ci',{'type':'boolean','description':_0x56ebcd(0x217),'default':![]})[_0x56ebcd(0x2d1)](_0x56ebcd(0x1cd),{'type':_0x5a1dc4[_0x56ebcd(0x29c)],'description':_0x5a1dc4['cfxUH'],'default':![]});},async _0x45175d=>{const _0x2b1911=_0x30021c,_0x51b090={'lNcLU':function(_0x1046cd,_0x3d819c,_0x2c81c3){return _0x1046cd(_0x3d819c,_0x2c81c3);},'HieRP':_0x2b1911(0x277),'deMaZ':function(_0x591276,_0x57f45d,_0x26f058){return _0x591276(_0x57f45d,_0x26f058);},'icZOx':_0x2b1911(0x1ca)};_0x51b090['lNcLU'](warnRenamed,_0x51b090[_0x2b1911(0x2ca)],'ranger\x20profile\x20add'),await _0x51b090[_0x2b1911(0x311)](withTelemetry,_0x51b090[_0x2b1911(0x223)],_0x1d8f27=>addEnv(_0x45175d[_0x2b1911(0x224)],{'ci':_0x45175d['ci'],'skipAuth':_0x45175d[_0x2b1911(0x1cd)]},_0x1d8f27));})['command'](_0x30021c(0x298),![],_0xa59289=>{const _0x2da342=_0x30021c,_0xc40cc={'MNEah':_0x2da342(0x2bb)};return _0xa59289['positional']('env-name',{'type':_0x2da342(0x237),'description':_0xc40cc[_0x2da342(0x270)],'demandOption':!![]});},async _0x237d4c=>{const _0x322c5b=_0x30021c,_0x5385cb={'ftQay':_0x322c5b(0x2e4),'HxymX':function(_0x382d6d,_0x417974,_0x4b7d31){return _0x382d6d(_0x417974,_0x4b7d31);},'ieBWl':_0x322c5b(0x1f6)};warnRenamed(_0x5385cb['ftQay'],'ranger\x20profile\x20use'),await _0x5385cb['HxymX'](withTelemetry,_0x5385cb[_0x322c5b(0x2de)],()=>useEnv(_0x237d4c[_0x322c5b(0x224)]));})['command'](_0x30021c(0x24d),![],_0x12d538=>{const _0x39469d=_0x30021c,_0x25fefd={'QwcsM':'env','VjnQN':'string','pqJiT':_0x39469d(0x292),'LFkwv':_0x39469d(0x26d),'GUMas':_0x39469d(0x1fd),'kvOOG':function(_0xbbff22,_0x480837,_0x36214f){return _0xbbff22(_0x480837,_0x36214f);},'RDkvg':_0x39469d(0x297),'JQQMD':function(_0x3a6a7c,_0x54e54c,_0x3e13bf){return _0x3a6a7c(_0x54e54c,_0x3e13bf);},'AJryw':_0x39469d(0x250),'nsvFE':function(_0x316c36,_0x192db6,_0x2a0514){return _0x316c36(_0x192db6,_0x2a0514);},'uLGeB':'ranger\x20config\x20unset','KbWML':'ranger\x20profile\x20config\x20unset','MQWYh':'set\x20<env>\x20<key>\x20<value>','HkXDq':_0x39469d(0x2b7)};return _0x12d538['command'](_0x25fefd['MQWYh'],![],_0x499468=>{const _0xf324e7=_0x39469d;return _0x499468['positional'](_0x25fefd['QwcsM'],{'type':_0x25fefd[_0xf324e7(0x1e7)],'description':_0xf324e7(0x297),'demandOption':!![]})['positional'](_0x25fefd['pqJiT'],{'type':_0x25fefd[_0xf324e7(0x1e7)],'description':_0x25fefd[_0xf324e7(0x24a)],'demandOption':!![]})[_0xf324e7(0x243)]('value',{'type':_0x25fefd['VjnQN'],'description':'Config\x20value','demandOption':!![]});},async _0x3554cc=>{const _0x319446=_0x39469d;warnRenamed('ranger\x20config\x20set',_0x25fefd['GUMas']),await _0x25fefd[_0x319446(0x1e0)](withTelemetry,_0x319446(0x23a),()=>configSet(_0x3554cc[_0x319446(0x204)],_0x3554cc['key'],_0x3554cc['value']));})[_0x39469d(0x205)]('get\x20<env>\x20<key>',![],_0x5b3b8c=>{const _0x51f397=_0x39469d;return _0x5b3b8c['positional'](_0x25fefd[_0x51f397(0x291)],{'type':_0x51f397(0x237),'description':_0x25fefd['RDkvg'],'demandOption':!![]})['positional'](_0x25fefd[_0x51f397(0x235)],{'type':_0x51f397(0x237),'description':_0x51f397(0x25d),'demandOption':!![]});},async _0x3cceff=>{const _0x4bd4c4=_0x39469d;_0x25fefd[_0x4bd4c4(0x2a3)](warnRenamed,_0x4bd4c4(0x289),_0x4bd4c4(0x1c0)),await _0x25fefd['JQQMD'](withTelemetry,_0x4bd4c4(0x22c),()=>configGet(_0x3cceff['env'],_0x3cceff['key']));})[_0x39469d(0x205)](_0x39469d(0x281),![],_0xa5518=>{const _0x354c7e=_0x39469d;return _0xa5518['positional'](_0x354c7e(0x204),{'type':_0x25fefd['VjnQN'],'description':_0x354c7e(0x297),'demandOption':!![]});},async _0x3702dd=>{const _0x21cd80=_0x39469d;warnRenamed('ranger\x20config\x20list',_0x21cd80(0x26a)),await _0x25fefd['JQQMD'](withTelemetry,_0x25fefd['AJryw'],()=>configList(_0x3702dd[_0x21cd80(0x204)]));})['command'](_0x39469d(0x1be),![],_0x4fa560=>{const _0x39a01c=_0x39469d;return _0x4fa560['positional'](_0x25fefd[_0x39a01c(0x291)],{'type':_0x25fefd['VjnQN'],'description':_0x25fefd['RDkvg'],'demandOption':!![]})[_0x39a01c(0x243)](_0x39a01c(0x292),{'type':_0x25fefd[_0x39a01c(0x1e7)],'description':_0x39a01c(0x251),'demandOption':!![]});},async _0x5e33b5=>{const _0x5ad9b3=_0x39469d;_0x25fefd['nsvFE'](warnRenamed,_0x25fefd[_0x5ad9b3(0x216)],_0x25fefd[_0x5ad9b3(0x2f9)]),await _0x25fefd[_0x5ad9b3(0x2a3)](withTelemetry,'config\x20unset',()=>configUnset(_0x5e33b5['env'],_0x5e33b5['key']));})[_0x39469d(0x2d2)](0x1,_0x25fefd[_0x39469d(0x1d6)]);})[_0x30021c(0x205)](_0x30021c(0x204),![],_0x2a20ec=>{const _0x5b5b44=_0x30021c,_0x2b3308={'BdEDA':_0x5b5b44(0x1f2),'hUtwP':function(_0x1fea0d,_0x3cf8ac,_0x172d7f){return _0x1fea0d(_0x3cf8ac,_0x172d7f);},'oHiQA':'Name\x20of\x20the\x20environment\x20to\x20update','bmXAS':function(_0x467892,_0x22bf10,_0x38628d){return _0x467892(_0x22bf10,_0x38628d);},'pwZJr':_0x5b5b44(0x25a),'sNnit':'You\x20must\x20specify\x20an\x20env\x20subcommand'};return _0x2a20ec['command']('ls',![],()=>{},async()=>{const _0x41b331=_0x5b5b44;warnRenamed(_0x2b3308['BdEDA'],_0x41b331(0x27d)),await _0x2b3308['hUtwP'](withTelemetry,'env\x20list',()=>envList());})['command'](_0x2b3308[_0x5b5b44(0x239)],![],_0x31dda2=>{const _0x1417ca=_0x5b5b44;return _0x31dda2['positional'](_0x1417ca(0x224),{'type':_0x1417ca(0x237),'description':_0x2b3308[_0x1417ca(0x1f7)],'demandOption':!![]});},async _0x2b45e2=>{const _0x17ee9=_0x5b5b44;_0x2b3308[_0x17ee9(0x21a)](warnRenamed,_0x17ee9(0x1f5),_0x17ee9(0x2b0)),await withTelemetry(_0x17ee9(0x1e5),_0x256d9a=>updateEnv(_0x2b45e2['env-name'],_0x256d9a));})['demandCommand'](0x1,_0x2b3308[_0x5b5b44(0x278)]);})[_0x30021c(0x205)]('feature',![],_0xcb3b9a=>{const _0x1b3907=_0x30021c,_0x4599ac={'XqMiG':'Feature\x20review\x20name','HVLeo':_0x1b3907(0x22e),'RflVW':_0x1b3907(0x294),'gomRE':_0x1b3907(0x1b0),'CpQze':'scenario','MqxKA':'ranger\x20create','KKmXP':_0x1b3907(0x1fe),'jwhOv':_0x1b3907(0x306),'FDYrz':'limit','mxSsJ':_0x1b3907(0x2a9),'uCUex':_0x1b3907(0x260),'WFVVt':function(_0x355250,_0x189c3c,_0x2427d4){return _0x355250(_0x189c3c,_0x2427d4);},'HUplF':_0x1b3907(0x2d9),'WvAsp':function(_0x4bfd51,_0x21d5bc,_0x24a488){return _0x4bfd51(_0x21d5bc,_0x24a488);},'Vwkfl':_0x1b3907(0x237),'MTshV':function(_0x302add,_0x225c6c,_0x412887){return _0x302add(_0x225c6c,_0x412887);},'LZfQa':_0x1b3907(0x29b),'pGmoX':_0x1b3907(0x2e9),'CcSGB':'ranger\x20add-scenario','aOFVc':'feature\x20add-checklist-item','qzyGc':function(_0x243d1a,_0x192a4b,_0x2fc02a){return _0x243d1a(_0x192a4b,_0x2fc02a);},'vblFM':_0x1b3907(0x300),'mjPaU':function(_0x395ebb,_0x5a0286,_0x37f170){return _0x395ebb(_0x5a0286,_0x37f170);},'iwHal':_0x1b3907(0x2b6),'YqAAK':_0x1b3907(0x230),'pZjRI':'feature\x20restore','sNIDl':'resume\x20[id]','qOzoi':_0x1b3907(0x2f5),'oDoJI':'get-feedback\x20[id]','kXCBq':'delete\x20[id]','CoDpy':_0x1b3907(0x27b)};return _0xcb3b9a['command'](_0x1b3907(0x203),![],_0x2ef3ae=>{const _0x29d5a3=_0x1b3907;return _0x2ef3ae[_0x29d5a3(0x243)]('name',{'type':'string','description':_0x4599ac[_0x29d5a3(0x28a)],'demandOption':!![]})[_0x29d5a3(0x2d1)](_0x4599ac['HVLeo'],{'type':'string','alias':'d','description':_0x29d5a3(0x1d8)})[_0x29d5a3(0x2d1)](_0x29d5a3(0x246),{'type':_0x4599ac[_0x29d5a3(0x1dc)],'alias':'c','description':_0x4599ac['gomRE']})[_0x29d5a3(0x2d1)](_0x4599ac['CpQze'],{'type':'array','hidden':!![]});},async _0x5e81cc=>{const _0x2d94cf=_0x1b3907;warnRenamed(_0x2d94cf(0x26e),_0x4599ac[_0x2d94cf(0x2eb)]),warnFlagRenamed(_0x4599ac[_0x2d94cf(0x2eb)],_0x2d94cf(0x2ad),_0x2d94cf(0x263));const _0x1da569=_0x5e81cc[_0x2d94cf(0x25e)]||_0x5e81cc['checklist'];await withTelemetry(_0x4599ac[_0x2d94cf(0x1f8)],()=>featureCreate(_0x5e81cc[_0x2d94cf(0x1fb)],{'description':_0x5e81cc['description'],'scenarios':_0x1da569}));})['command'](_0x1b3907(0x1da),![],_0x3db584=>{const _0x3415d4=_0x1b3907;return _0x3db584[_0x3415d4(0x2d1)](_0x4599ac['jwhOv'],{'type':'boolean','description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})[_0x3415d4(0x2d1)](_0x4599ac[_0x3415d4(0x2e0)],{'type':_0x3415d4(0x260),'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option'](_0x4599ac[_0x3415d4(0x1df)],{'type':_0x4599ac['uCUex'],'alias':'o','description':_0x3415d4(0x275),'default':0x0})['option'](_0x3415d4(0x27c),{'type':_0x3415d4(0x305),'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x23dc97=>{const _0x2d1301=_0x1b3907;_0x4599ac[_0x2d1301(0x1c7)](warnRenamed,_0x2d1301(0x1c2),_0x2d1301(0x1fc)),await withTelemetry('feature\x20list',()=>featureList({'currentBranch':_0x23dc97['current-branch'],'limit':_0x23dc97[_0x2d1301(0x2b3)],'offset':_0x23dc97[_0x2d1301(0x2a9)],'includeDeleted':_0x23dc97[_0x2d1301(0x27c)]}));})[_0x1b3907(0x205)]('show\x20[id]',![],_0x5b5e84=>{const _0x298cc5=_0x1b3907;return _0x5b5e84[_0x298cc5(0x243)]('id',{'type':_0x298cc5(0x237),'description':'Feature\x20review\x20ID'});},async _0x10c565=>{const _0x29c3ea=_0x1b3907;warnRenamed('ranger\x20feature\x20show',_0x4599ac['HUplF']),await _0x4599ac['WvAsp'](withTelemetry,_0x29c3ea(0x29e),()=>featureShow(_0x10c565['id']));})[_0x1b3907(0x205)](_0x4599ac['sNIDl'],![],_0x488003=>{const _0x2c8b11=_0x1b3907;return _0x488003[_0x2c8b11(0x243)]('id',{'type':_0x4599ac[_0x2c8b11(0x2e8)],'description':_0x2c8b11(0x255)});},async _0x50dc7c=>{const _0xe3f73a=_0x1b3907;_0x4599ac['WvAsp'](warnRenamed,'ranger\x20feature\x20resume',_0xe3f73a(0x2f6)),await _0x4599ac[_0xe3f73a(0x2b2)](withTelemetry,_0x4599ac[_0xe3f73a(0x2e7)],()=>featureResume(_0x50dc7c['id']));})['command'](_0x4599ac['qOzoi'],![],_0x367911=>{const _0x42bf97=_0x1b3907;return _0x367911['positional'](_0x4599ac['HVLeo'],{'type':'string','description':_0x42bf97(0x2b5),'demandOption':!![]})[_0x42bf97(0x2d1)]('id',{'type':_0x4599ac['Vwkfl'],'description':_0x4599ac[_0x42bf97(0x21f)]});},async _0x5bba1c=>{const _0x4f8352=_0x1b3907;warnRenamed(_0x4f8352(0x1bc),_0x4599ac['CcSGB']),await withTelemetry(_0x4599ac['aOFVc'],()=>featureAddScenario(_0x5bba1c[_0x4f8352(0x22e)],_0x5bba1c['id']));})[_0x1b3907(0x205)](_0x4599ac['oDoJI'],![],_0x480ff7=>{return _0x480ff7['positional']('id',{'type':_0x4599ac['Vwkfl'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0xc5ce55=>{const _0x2ea6ae=_0x1b3907;warnRenamed('ranger\x20feature\x20get-feedback','ranger\x20get-review'),await _0x4599ac[_0x2ea6ae(0x22f)](withTelemetry,_0x4599ac['vblFM'],()=>featureGetReview(_0xc5ce55['id']));})['command'](_0x4599ac['kXCBq'],![],_0x3d38b1=>{const _0xc2e75b=_0x1b3907;return _0x3d38b1[_0xc2e75b(0x243)]('id',{'type':_0xc2e75b(0x237),'description':_0xc2e75b(0x268)});},async _0x5ef227=>{const _0x4a1b3e=_0x1b3907;_0x4599ac[_0x4a1b3e(0x23c)](warnRenamed,_0x4a1b3e(0x1cf),_0x4599ac[_0x4a1b3e(0x1bd)]),await _0x4599ac[_0x4a1b3e(0x23c)](withTelemetry,_0x4a1b3e(0x2bf),()=>featureDelete(_0x5ef227['id']));})[_0x1b3907(0x205)](_0x1b3907(0x287),![],_0x8f841a=>{const _0x1cc08f=_0x1b3907;return _0x8f841a['positional']('id',{'type':_0x4599ac[_0x1cc08f(0x2e8)],'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x5d37ff=>{const _0x3dbc9b=_0x1b3907;warnRenamed(_0x4599ac['YqAAK'],_0x3dbc9b(0x310)),await withTelemetry(_0x4599ac[_0x3dbc9b(0x22b)],()=>featureRestore(_0x5d37ff['id']));})[_0x1b3907(0x2d2)](0x1,_0x4599ac['CoDpy']);})['command']('hook',![],_0x5b2c90=>{const _0x5f5bb8=_0x30021c,_0xaf5e94={'vyCWN':'session-id','alKVG':function(_0x1502a7,_0x23585c,_0x32323c){return _0x1502a7(_0x23585c,_0x32323c);},'yYyoN':_0x5f5bb8(0x2aa),'XSfoQ':_0x5f5bb8(0x227),'PvlVr':'disable','fbJLK':_0x5f5bb8(0x1fb),'KQKnx':_0x5f5bb8(0x24c)};return _0x5b2c90[_0x5f5bb8(0x205)](_0xaf5e94['yYyoN'],_0xaf5e94['XSfoQ'],_0x2e8d22=>{const _0x28428f=_0x5f5bb8;return _0x2e8d22[_0x28428f(0x2d1)](_0xaf5e94['vyCWN'],{'type':'string','description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x1de68d=>{const _0x136b1f=_0x5f5bb8;await _0xaf5e94['alKVG'](withTelemetry,_0x136b1f(0x1ed),()=>hook(_0x136b1f(0x2aa),_0x1de68d[_0x136b1f(0x238)]));})['command'](_0xaf5e94[_0x5f5bb8(0x254)],_0x5f5bb8(0x233),_0x4d0b02=>{const _0x131f4a=_0x5f5bb8;return _0x4d0b02['option'](_0x131f4a(0x238),{'type':'string','description':_0x131f4a(0x24c)});},async _0x140389=>{const _0x130d17=_0x5f5bb8;await withTelemetry('hook:disable',()=>hook(_0x130d17(0x1bb),_0x140389['session-id']));})[_0x5f5bb8(0x2d1)](_0xaf5e94[_0x5f5bb8(0x21d)],{'type':'string','description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})[_0x5f5bb8(0x2d1)](_0x5f5bb8(0x238),{'type':_0x5f5bb8(0x237),'description':_0xaf5e94['KQKnx']});},async _0x438f32=>{const _0x59dedc=_0x30021c;_0x438f32['name']&&await hook(_0x438f32[_0x59dedc(0x1fb)],_0x438f32['session-id']);})[_0x30021c(0x2d2)](0x1,'You\x20must\x20specify\x20a\x20command')[_0x30021c(0x1cc)]()['fail'](async(_0x5846ff,_0x31cb96,_0x1342f2)=>{const _0x10bbbe=_0x30021c,_0x2b3452={'zStdk':_0x10bbbe(0x2dd),'lYixV':function(_0x46f077){return _0x46f077();}},_0x5cf0b7=sanitizeArgs(process['argv']['slice'](0x2)),_0xe2e01c=getErrorType(_0x5846ff,_0x31cb96);if(_0x5846ff&&_0x5846ff['includes'](_0x2b3452[_0x10bbbe(0x2fd)])){const _0x16e8a4=process[_0x10bbbe(0x1d1)][0x2];console[_0x10bbbe(0x206)](_0x10bbbe(0x1b1)+_0x16e8a4),console[_0x10bbbe(0x206)]('Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a');}else{if(_0x5846ff)console['error']('\x0a'+_0x5846ff+'\x0a');else _0x31cb96&&console[_0x10bbbe(0x206)]('\x0aError:\x20'+_0x31cb96['message']+'\x0a');}await logDesirePath({'rawCommand':_0x5cf0b7,'errorMessage':_0x5846ff||_0x31cb96?.['message'],'errorType':_0xe2e01c});const _0x3c95e1=_0x2b3452['lYixV'](getCurrentCollector);_0x3c95e1&&await _0x3c95e1[_0x10bbbe(0x248)](_0x31cb96||new Error(_0x5846ff||'Unknown\x20error')),process['exit'](0x1);})['epilogue'](_0x30021c(0x2fa)+'\x20\x20https://docs.ranger.net\x0a'+_0x30021c(0x23e))[_0x30021c(0x20b)]()['alias'](_0x30021c(0x20b),'h')[_0x30021c(0x30f)]();
2
+ const _0x11ef01=_0x4000;(function(_0x5222e0,_0x40f069){const _0x3bd5e9=_0x4000,_0xcc43ed=_0x5222e0();while(!![]){try{const _0x12979=-parseInt(_0x3bd5e9(0xe5))/0x1+-parseInt(_0x3bd5e9(0x9c))/0x2+parseInt(_0x3bd5e9(0x136))/0x3*(-parseInt(_0x3bd5e9(0x174))/0x4)+-parseInt(_0x3bd5e9(0x170))/0x5+parseInt(_0x3bd5e9(0x12b))/0x6+parseInt(_0x3bd5e9(0x86))/0x7*(parseInt(_0x3bd5e9(0x14b))/0x8)+parseInt(_0x3bd5e9(0x159))/0x9;if(_0x12979===_0x40f069)break;else _0xcc43ed['push'](_0xcc43ed['shift']());}catch(_0x36d86d){_0xcc43ed['push'](_0xcc43ed['shift']());}}}(_0x2b2c,0xc9413));import _0x3a8342 from'dotenv';import{dirname,join,parse}from'path';function _0x4000(_0x51385c,_0xba9a04){_0x51385c=_0x51385c-0x7b;const _0x2b2c17=_0x2b2c();let _0x4000f3=_0x2b2c17[_0x51385c];return _0x4000f3;}import{existsSync}from'fs';function findProjectRoot(){const _0x3eef23=_0x4000,_0x525fb2={'rZYOp':function(_0x484a3e,_0x2ea2e6){return _0x484a3e(_0x2ea2e6);},'Rmeiz':function(_0x451804,_0x31ad5b,_0x2123ed){return _0x451804(_0x31ad5b,_0x2123ed);},'gwKeR':'.env'};let _0x4db99b=process['cwd']();const _0x51cab0=_0x525fb2['rZYOp'](parse,_0x4db99b)['root'];while(_0x4db99b!==_0x51cab0){if(_0x525fb2['rZYOp'](existsSync,_0x525fb2['Rmeiz'](join,_0x4db99b,_0x3eef23(0xfd)))||existsSync(join(_0x4db99b,_0x525fb2[_0x3eef23(0x17c)])))return _0x4db99b;_0x4db99b=dirname(_0x4db99b);}return process[_0x3eef23(0x12e)]();}_0x3a8342[_0x11ef01(0x131)]({'path':join(findProjectRoot(),'.env')});import _0x2bb460 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'](_0x11ef01(0x108),async _0x361c0e=>{const _0x431ee3=_0x11ef01,_0xb4261={'hSCxi':function(_0xfa4ce8){return _0xfa4ce8();}},_0x4c0c7b=_0xb4261['hSCxi'](getCurrentCollector);_0x4c0c7b&&await _0x4c0c7b['trackCommandError'](_0x361c0e),process[_0x431ee3(0xb7)]=0x1;});const rawArgs=process[_0x11ef01(0x109)][_0x11ef01(0xa4)](0x2),TOP_LEVEL_HELP=_0x11ef01(0xc6),PROFILE_HELP=_0x11ef01(0xed),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x0aKeys:\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20header.<name>\x20\x20\x20\x20Custom\x20HTTP\x20header\x20(e.g.,\x20header.X-Test-Mode)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20header.Authorization\x20\x27${AUTH_TOKEN}\x27';function warnRenamed(_0x5b8a62,_0x931c45){const _0x2c1151=_0x11ef01;console[_0x2c1151(0x96)]('\x0a'+_0x5b8a62+_0x2c1151(0x80)+_0x931c45+'\x0a');}function argUsed(_0xfc902){const _0x226590=_0x11ef01;return rawArgs[_0x226590(0xf0)](_0x3cc135=>_0x3cc135===_0xfc902||_0x3cc135['startsWith'](_0xfc902+'='));}function warnFlagRenamed(_0x575373,_0x198b5a,_0x2a7fc7){const _0xd92c57={'EDJxN':function(_0x3d9681,_0x23c5a8){return _0x3d9681(_0x23c5a8);}};_0xd92c57['EDJxN'](argUsed,_0x198b5a)&&warnRenamed(_0x575373+'\x20'+_0x198b5a,_0x575373+'\x20'+_0x2a7fc7);}async function runGoCommand(_0x33e166,_0x6fc1c=![]){const _0x45bde5=_0x11ef01,_0x227a3b={'tHJPz':'ranger\x20go','xtRRf':function(_0x1da0a3,_0x992d54,_0x3b213b,_0xde4216){return _0x1da0a3(_0x992d54,_0x3b213b,_0xde4216);},'COZkK':function(_0x26651d,_0xb278da,_0x1ecaed,_0x217d2f){return _0x26651d(_0xb278da,_0x1ecaed,_0x217d2f);},'JNljh':_0x45bde5(0x125),'FfaUG':'--notes','hpYUt':function(_0x39ce76,_0x45e423,_0x5f2539,_0x136a3c){return _0x39ce76(_0x45e423,_0x5f2539,_0x136a3c);},'mDEEz':'--item','MuwDI':function(_0xbd31bf){return _0xbd31bf();},'HGLHO':function(_0x1b37fc,_0x58f7fd){return _0x1b37fc??_0x58f7fd;},'frRfy':'config','FUnUj':function(_0x479c8c,_0x574b97){return _0x479c8c(_0x574b97);},'SesRD':'start-path','ryokA':function(_0x244314,_0x16c127){return _0x244314===_0x16c127;},'IeOoU':_0x45bde5(0x1a6),'WfTlc':_0x45bde5(0xa6),'woZfX':function(_0x5a6bee,_0x227906){return _0x5a6bee===_0x227906;},'mevGl':_0x45bde5(0x161),'JRoPE':'\x20INCOMPLETE','agebl':'\x20PARTIAL','eqBFY':'\x20BLOCKED','xSvDe':'\x20FAILED'};_0x6fc1c&&warnRenamed('ranger\x20verify-feature',_0x227a3b[_0x45bde5(0x107)]);_0x227a3b['xtRRf'](warnFlagRenamed,_0x227a3b['tHJPz'],'--env','--profile'),_0x227a3b['COZkK'](warnFlagRenamed,'ranger\x20go',_0x227a3b[_0x45bde5(0xd4)],_0x227a3b[_0x45bde5(0x1a2)]),_0x227a3b['hpYUt'](warnFlagRenamed,_0x227a3b[_0x45bde5(0x107)],_0x227a3b[_0x45bde5(0xc4)],'--scenario');const _0xa6742=await _0x227a3b['MuwDI'](loadRangerConfig),_0xd75d0d=_0x33e166[_0x45bde5(0xb1)],_0x185cbf=_0xa6742[_0x45bde5(0xb1)],_0x19814a=_0x227a3b['HGLHO'](_0xd75d0d,_0x185cbf),_0x5eadb7=_0xd75d0d?'flag':_0x185cbf?_0x227a3b['frRfy']:_0x45bde5(0xf8),_0x2cd7f2=await _0x227a3b['FUnUj'](verifyFeature,{'profile':_0x33e166[_0x45bde5(0x88)]??_0x33e166['env'],'notes':_0x33e166['notes']??_0x33e166['task'],'scenario':_0x33e166[_0x45bde5(0x19a)]??_0x33e166[_0x45bde5(0xbd)],'startPath':_0x33e166[_0x227a3b['SesRD']],'debugOutcome':_0x33e166[_0x45bde5(0x11c)],'debugAddressComments':_0x33e166[_0x45bde5(0x19d)],'verifyModel':_0x19814a,'verifyModelInput':_0x19814a,'verifyModelSource':_0x5eadb7});console['log']('\x0a'+'='['repeat'](0x3c)),console[_0x45bde5(0x124)](_0x227a3b[_0x45bde5(0x179)](_0x2cd7f2[_0x45bde5(0x16c)],_0x227a3b['IeOoU'])?_0x227a3b['WfTlc']:_0x227a3b[_0x45bde5(0x18a)](_0x2cd7f2[_0x45bde5(0x16c)],_0x227a3b[_0x45bde5(0x13d)])?_0x227a3b['JRoPE']:_0x2cd7f2['evaluation']==='partial'?_0x227a3b['agebl']:_0x2cd7f2[_0x45bde5(0x16c)]===_0x45bde5(0xc9)?_0x227a3b['eqBFY']:_0x227a3b['xSvDe']),console[_0x45bde5(0x124)]('='['repeat'](0x3c)),console[_0x45bde5(0x124)]('Summary:\x20'+_0x2cd7f2['summary']),console[_0x45bde5(0x124)]('Evaluation:\x20'+_0x2cd7f2['evaluation']),console[_0x45bde5(0x124)](_0x45bde5(0x195)+_0x2cd7f2[_0x45bde5(0xb8)]),_0x2cd7f2['issues']?.['length']&&(console['log']('\x0aIssues:'),_0x2cd7f2['issues']['forEach']((_0xa935c3,_0x509fe9)=>{const _0xd34382=_0x45bde5;console[_0xd34382(0x124)]('\x0a'+(_0x509fe9+0x1)+_0xd34382(0x132)+_0xa935c3[_0xd34382(0x12d)]+']\x20'+_0xa935c3[_0xd34382(0x138)]);})),process[_0x45bde5(0x164)](_0x2cd7f2['evaluation']===_0x227a3b['IeOoU']?0x0:0x1);}_0x2bb460(process['argv']['slice'](0x2))['scriptName']('ranger')[_0x11ef01(0x140)](TOP_LEVEL_HELP)[_0x11ef01(0x199)](getCurrentVersion())[_0x11ef01(0x156)]('create\x20<name>','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios',_0x286e84=>{const _0x334ed2=_0x11ef01,_0x2b96ef={'POnKE':'string','nnFsO':_0x334ed2(0x1a1),'pokEg':'scenario','npdCg':_0x334ed2(0x16b),'GRpcw':'checklist'};return _0x286e84[_0x334ed2(0x13e)]('name',{'type':_0x2b96ef['POnKE'],'description':'Feature\x20review\x20name','demandOption':!![]})['option']('description',{'type':'string','alias':'d','description':_0x2b96ef[_0x334ed2(0xce)]})[_0x334ed2(0x180)](_0x2b96ef['pokEg'],{'type':_0x2b96ef[_0x334ed2(0xb9)],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option'](_0x2b96ef['GRpcw'],{'type':_0x2b96ef[_0x334ed2(0xb9)],'hidden':!![]});},async _0x5554a8=>{const _0x32d41a=_0x11ef01,_0x58e1da={'EHQyD':function(_0x5ce752,_0x21d0e5,_0x1dc3c7,_0x480bed){return _0x5ce752(_0x21d0e5,_0x1dc3c7,_0x480bed);},'EdYIf':'--scenario','jcGjQ':_0x32d41a(0x103)};_0x58e1da['EHQyD'](warnFlagRenamed,_0x32d41a(0xef),'--checklist',_0x58e1da[_0x32d41a(0x9f)]);const _0x141d7e=_0x5554a8[_0x32d41a(0x19a)]||_0x5554a8[_0x32d41a(0x153)];await withTelemetry(_0x58e1da['jcGjQ'],()=>featureCreate(_0x5554a8[_0x32d41a(0x119)],{'description':_0x5554a8['description'],'scenarios':_0x141d7e}));})[_0x11ef01(0x156)]('list','List\x20all\x20feature\x20reviews',_0x575ecb=>{const _0x250cfa=_0x11ef01,_0x5017aa={'EEmRp':_0x250cfa(0x152),'fhoSg':_0x250cfa(0xc5),'TfJmS':'limit','yrOch':_0x250cfa(0xd5),'pjpdO':_0x250cfa(0xab),'QBAXv':'include-deleted','ZqAJs':'Include\x20soft-deleted\x20feature\x20reviews'};return _0x575ecb[_0x250cfa(0x180)](_0x5017aa['EEmRp'],{'type':_0x5017aa[_0x250cfa(0xa2)],'description':_0x250cfa(0xfc)})[_0x250cfa(0x180)](_0x5017aa[_0x250cfa(0xe2)],{'type':_0x250cfa(0xab),'alias':'l','description':_0x5017aa[_0x250cfa(0x1a0)],'default':0xa})['option']('offset',{'type':_0x5017aa[_0x250cfa(0x184)],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option'](_0x5017aa['QBAXv'],{'type':_0x5017aa['fhoSg'],'alias':'d','description':_0x5017aa[_0x250cfa(0x173)],'default':![]});},async _0x47cbe9=>{const _0x4a3220=_0x11ef01,_0x4459a1={'NZDMR':'list'};await withTelemetry(_0x4459a1['NZDMR'],()=>featureList({'currentBranch':_0x47cbe9['current-branch'],'limit':_0x47cbe9['limit'],'offset':_0x47cbe9[_0x4a3220(0x99)],'includeDeleted':_0x47cbe9['include-deleted']}));})[_0x11ef01(0x156)]('show\x20[id]',_0x11ef01(0xe1),_0x4bbf20=>{const _0x19baad=_0x11ef01,_0x443f63={'ARnvC':'string'};return _0x4bbf20[_0x19baad(0x13e)]('id',{'type':_0x443f63['ARnvC'],'description':'Feature\x20review\x20ID'});},async _0x48e04b=>{const _0x1554f2=_0x11ef01,_0x577f19={'ZpEgf':function(_0x5f117e,_0x4f5f46,_0x3a07c6){return _0x5f117e(_0x4f5f46,_0x3a07c6);}};await _0x577f19['ZpEgf'](withTelemetry,_0x1554f2(0xdb),()=>featureShow(_0x48e04b['id']));})['command'](_0x11ef01(0x130),_0x11ef01(0xff),_0x3135e5=>{const _0x47780c=_0x11ef01;return _0x3135e5['positional']('id',{'type':'string','description':_0x47780c(0x172)});},async _0x14ee10=>{await withTelemetry('resume',()=>featureResume(_0x14ee10['id']));})[_0x11ef01(0x156)](_0x11ef01(0x189),'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x538e34=>{const _0xe495e5=_0x11ef01,_0x3703f2={'dHkeT':_0xe495e5(0x138),'eGvzx':'string','TPPbs':_0xe495e5(0x134)};return _0x538e34['positional'](_0x3703f2['dHkeT'],{'type':_0x3703f2[_0xe495e5(0x93)],'description':_0x3703f2[_0xe495e5(0x13a)],'demandOption':!![]})['option']('id',{'type':_0x3703f2['eGvzx'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x4a86e8=>{const _0x25db82=_0x11ef01,_0x3738d9={'InAwu':function(_0x1df84f,_0x1f0ed6,_0x37b1f6){return _0x1df84f(_0x1f0ed6,_0x37b1f6);},'KmPcV':_0x25db82(0x7d)};await _0x3738d9[_0x25db82(0xea)](withTelemetry,_0x3738d9[_0x25db82(0x116)],()=>featureAddScenario(_0x4a86e8[_0x25db82(0x138)],_0x4a86e8['id']));})[_0x11ef01(0x156)]('edit-scenario\x20<description>','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0xe3b728=>{const _0xcf2b85=_0x11ef01,_0x3d5526={'CfjuB':'New\x20scenario\x20description','geQIl':_0xcf2b85(0x19a),'memQU':'number','vppQh':'string','ajLpu':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0xe3b728['positional'](_0xcf2b85(0x138),{'type':_0xcf2b85(0x7e),'description':_0x3d5526[_0xcf2b85(0xa1)],'demandOption':!![]})[_0xcf2b85(0x180)](_0x3d5526[_0xcf2b85(0xbe)],{'type':_0x3d5526[_0xcf2b85(0x181)],'description':_0xcf2b85(0x148),'demandOption':!![]})['option']('id',{'type':_0x3d5526['vppQh'],'description':_0x3d5526['ajLpu']});},async _0x496d8e=>{const _0x2dc4aa=_0x11ef01,_0x1756eb={'iFoKL':function(_0x193a8e,_0x54e90e,_0x3cf0a0){return _0x193a8e(_0x54e90e,_0x3cf0a0);},'CXdBA':_0x2dc4aa(0xa0)};await _0x1756eb[_0x2dc4aa(0xdd)](withTelemetry,_0x1756eb[_0x2dc4aa(0xc0)],()=>featureEditScenario(_0x496d8e[_0x2dc4aa(0x138)],{'id':_0x496d8e['id'],'scenario':_0x496d8e[_0x2dc4aa(0x19a)]}));})['command'](_0x11ef01(0x92),_0x11ef01(0x15e),_0x1a8adb=>{const _0x48c1a6=_0x11ef01,_0x439b76={'AGrRE':'string','yNgdE':'exclude-scenario'};return _0x1a8adb['positional']('id',{'type':_0x439b76['AGrRE'],'description':_0x48c1a6(0x17a)})[_0x48c1a6(0x180)](_0x439b76[_0x48c1a6(0x105)],{'type':_0x48c1a6(0x16b),'description':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'});},async _0x3ced32=>{const _0x24e5e3=_0x11ef01,_0xa09892={'cLuVx':function(_0x5b4274,_0xf5e058,_0x2869ce){return _0x5b4274(_0xf5e058,_0x2869ce);}},_0x5bab23=_0x3ced32['exclude-scenario'],_0xeb243b=_0x5bab23?_0x5bab23[_0x24e5e3(0x100)](_0x62dfc8=>Number(_0x62dfc8)):undefined;await _0xa09892[_0x24e5e3(0x171)](withTelemetry,'report',()=>featureReportPrDescription(_0x3ced32['id'],{'excludeScenarios':_0xeb243b}));})['command']('get-review\x20[id]','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x40ba58=>{const _0x2c9d3b=_0x11ef01;return _0x40ba58[_0x2c9d3b(0x13e)]('id',{'type':'string','description':_0x2c9d3b(0x1b7)});},async _0x1c1fc0=>{const _0x25a510=_0x11ef01,_0x1e0b62={'BkUIN':_0x25a510(0xf4)};await withTelemetry(_0x1e0b62[_0x25a510(0x15b)],()=>featureGetReview(_0x1c1fc0['id']));})[_0x11ef01(0x156)](_0x11ef01(0x1b8),'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x141b0e=>{const _0x384f82=_0x11ef01,_0x12fe94={'BFflu':'string'};return _0x141b0e[_0x384f82(0x13e)]('id',{'type':_0x12fe94['BFflu'],'description':'Feature\x20review\x20ID'});},async _0x2d43b0=>{const _0x2a50cf=_0x11ef01,_0x553623={'rvxSM':function(_0x16c415,_0x4d319e,_0x45e920){return _0x16c415(_0x4d319e,_0x45e920);},'mCnRj':'delete'};await _0x553623[_0x2a50cf(0x18e)](withTelemetry,_0x553623[_0x2a50cf(0x185)],()=>featureDelete(_0x2d43b0['id']));})['command']('restore\x20<id>','Restore\x20a\x20soft-deleted\x20feature\x20review',_0x161426=>{const _0x1a4107=_0x11ef01,_0x41d061={'yhiFi':_0x1a4107(0x144)};return _0x161426['positional']('id',{'type':'string','description':_0x41d061[_0x1a4107(0x112)],'demandOption':!![]});},async _0x1765c5=>{await withTelemetry('restore',()=>featureRestore(_0x1765c5['id']));})[_0x11ef01(0x156)](_0x11ef01(0xfb),_0x11ef01(0xa5),_0x41fdc2=>{const _0x4487ef=_0x11ef01,_0x12babd={'rkEgw':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','rlogz':'boolean','KGuJv':_0x4487ef(0x7f),'gPeBm':_0x4487ef(0x14c),'kZNoy':'url','NKDtR':_0x4487ef(0xbb),'daTUv':'Skip\x20Claude\x20Code\x20plugin\x20+\x20skills\x20install\x20(for\x20OpenCode\x20users)'};return _0x41fdc2['positional']('token',{'type':'string','description':_0x12babd[_0x4487ef(0xf3)]})['option']('skip-chromium',{'type':_0x12babd['rlogz'],'description':_0x4487ef(0x8c),'default':![]})['option'](_0x12babd['KGuJv'],{'type':_0x4487ef(0x7e),'choices':[_0x4487ef(0x17f),_0x4487ef(0x197)],'description':_0x12babd[_0x4487ef(0x1bb)]})[_0x4487ef(0x180)](_0x12babd['kZNoy'],{'type':'string','description':_0x12babd[_0x4487ef(0xb0)]})[_0x4487ef(0x180)](_0x4487ef(0x12a),{'type':_0x4487ef(0xc5),'description':_0x4487ef(0x1b5),'default':![]})[_0x4487ef(0x180)](_0x4487ef(0xde),{'type':_0x4487ef(0xc5),'description':_0x12babd[_0x4487ef(0x120)],'default':![]});},async _0x155ee4=>{const _0x3fcf42=_0x11ef01,_0x1251bf={'pzVsf':function(_0x1e21e2,_0x5ee640,_0x1dbb38){return _0x1e21e2(_0x5ee640,_0x1dbb38);}};await _0x1251bf['pzVsf'](withTelemetry,'start',_0x5cecac=>start(_0x155ee4['token'],{'skipChromium':_0x155ee4['skip-chromium'],'scope':_0x155ee4[_0x3fcf42(0x7f)],'url':_0x155ee4['url'],'force':_0x155ee4['force'],'opencode':_0x155ee4[_0x3fcf42(0xde)]},_0x5cecac));})[_0x11ef01(0x156)]('setup-ci\x20<token>',_0x11ef01(0x1b3),_0x2026d3=>{const _0x4ef88f=_0x11ef01,_0x1f3e54={'AAYHj':'Ranger\x20API\x20token','cgQvc':_0x4ef88f(0x88),'Kxkub':'string','fqGfF':'skip-chromium'};return _0x2026d3['positional'](_0x4ef88f(0x18f),{'type':'string','description':_0x1f3e54[_0x4ef88f(0x143)],'demandOption':!![]})['option'](_0x1f3e54[_0x4ef88f(0xd6)],{'type':'string','description':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)'})['option']('base-url',{'type':_0x1f3e54[_0x4ef88f(0x183)],'description':_0x4ef88f(0x1b4)})['option'](_0x1f3e54[_0x4ef88f(0x81)],{'type':_0x4ef88f(0xc5),'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x1cfda6=>{const _0x37f8e5=_0x11ef01,_0x3d2f52={'QkrMr':function(_0x233abc,_0x38ea9c,_0x1b049c){return _0x233abc(_0x38ea9c,_0x1b049c);}};await _0x3d2f52['QkrMr'](withTelemetry,'setup-ci',_0x4ad68c=>setupCi(_0x1cfda6[_0x37f8e5(0x18f)],{'profile':_0x1cfda6[_0x37f8e5(0x88)],'baseUrl':_0x1cfda6[_0x37f8e5(0x85)],'skipChromium':_0x1cfda6['skip-chromium']},_0x4ad68c));})['command']('login',_0x11ef01(0xe7),()=>{},async()=>{const _0x7652a9={'XjLDA':function(_0xd48caa,_0x93b587,_0x24ea87){return _0xd48caa(_0x93b587,_0x24ea87);},'EllXA':'login'};await _0x7652a9['XjLDA'](withTelemetry,_0x7652a9['EllXA'],()=>login());})['command']('skillup',_0x11ef01(0x194),_0x10c886=>{const _0x5bb860=_0x11ef01,_0x391f99={'uZxpc':'user'};return _0x10c886['option']('opencode',{'type':'boolean','description':_0x5bb860(0xcb),'default':![]})['option']('scope',{'type':'string','choices':[_0x391f99[_0x5bb860(0xd1)],'project'],'description':_0x5bb860(0x16a)});},async _0x3ed272=>{const _0x5275ba=_0x11ef01,_0x44a139={'eTCMN':function(_0x404c5f,_0x203271){return _0x404c5f(_0x203271);},'NdYQg':_0x5275ba(0x162)},_0x5c9b3c=_0x44a139['eTCMN'](Boolean,_0x3ed272['opencode']);await withTelemetry(_0x44a139[_0x5275ba(0xe9)],()=>skillup({'autoInstall':_0x3ed272['scope'],'platform':_0x5c9b3c?'opencode':_0x5275ba(0x17b)}));})[_0x11ef01(0x156)](_0x11ef01(0xeb),_0x11ef01(0x167),()=>{},async()=>{const _0x1c6d49=_0x11ef01,_0x73558e={'XpXvY':function(_0x5e1a62,_0x532f14,_0x584cb1){return _0x5e1a62(_0x532f14,_0x584cb1);},'iujnv':_0x1c6d49(0xeb)};await _0x73558e['XpXvY'](withTelemetry,_0x73558e[_0x1c6d49(0x8b)],()=>clean());})[_0x11ef01(0x156)](_0x11ef01(0x88),'Manage\x20profiles',_0x556e84=>{const _0x4de61f=_0x11ef01,_0x59c626={'QQsZd':_0x4de61f(0x7e),'WMoKQ':'skip-auth','eRniv':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','SiKSs':'force','LoZiG':_0x4de61f(0x19e),'URwtM':function(_0x42357a,_0x880011,_0xf20eb2,_0x544597){return _0x42357a(_0x880011,_0xf20eb2,_0x544597);},'Gvjsp':'profile\x20add','pBuAr':function(_0x3fa6b2,_0x2f2d7f){return _0x3fa6b2(_0x2f2d7f);},'BGNjL':_0x4de61f(0xe8),'YqQby':_0x4de61f(0x91),'bPSZg':'Name\x20of\x20the\x20profile','kzeVA':'profile','zfJQa':'Profile\x20name','FCkWV':function(_0x89b3ab,_0x25f33a,_0x188a47){return _0x89b3ab(_0x25f33a,_0x188a47);},'PQtGP':'profile\x20ls','CsYxu':_0x4de61f(0xf7),'yXMYC':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','vWrVo':'value','kDgzF':_0x4de61f(0x9d),'RWwAw':_0x4de61f(0xb4),'yqKCk':'profile\x20config\x20list','MhEAM':'Config\x20key\x20to\x20remove','mFnjG':_0x4de61f(0xa9),'HMswi':'Get\x20a\x20config\x20value','WyxVb':'unset\x20<profile>\x20<key>','sEPze':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','lPSzN':'Switch\x20to\x20using\x20a\x20specific\x20profile','AvgnC':_0x4de61f(0x83),'fBXvf':'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','iLGkl':'List\x20all\x20profiles','KtYwK':_0x4de61f(0x11e),'NvkdS':_0x4de61f(0xdf),'jFEFV':_0x4de61f(0xca)};return _0x556e84[_0x4de61f(0x140)](PROFILE_HELP)['command'](_0x4de61f(0x10a),_0x4de61f(0x15a),_0x49c1d9=>{const _0x251eab=_0x4de61f;return _0x49c1d9[_0x251eab(0x13e)]('profile-name',{'type':_0x59c626['QQsZd'],'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x251eab(0x180)]('ci',{'type':_0x251eab(0xc5),'description':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x59c626[_0x251eab(0x106)],{'type':'boolean','description':_0x59c626['eRniv'],'default':![]})['option']('url',{'type':_0x251eab(0x7e),'description':_0x251eab(0x102)})[_0x251eab(0x180)](_0x59c626[_0x251eab(0xc2)],{'type':_0x251eab(0xc5),'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option']('cdp-endpoint',{'type':_0x251eab(0x7e),'description':_0x59c626['LoZiG']});},async _0x1e5b90=>{const _0x1ef249=_0x4de61f;await _0x59c626['URwtM'](withTelemetry,_0x59c626[_0x1ef249(0x10e)],_0xd98fb0=>addEnv(_0x1e5b90[_0x1ef249(0x91)],{'ci':_0x1e5b90['ci'],'skipAuth':_0x1e5b90['skip-auth'],'url':_0x1e5b90[_0x1ef249(0x142)],'force':_0x1e5b90['force'],'cdpEndpoint':_0x1e5b90['cdp-endpoint']},_0xd98fb0),{'isElectron':_0x59c626[_0x1ef249(0x192)](Boolean,_0x1e5b90[_0x59c626[_0x1ef249(0xc3)]])});})['command']('use\x20<profile-name>',_0x59c626['lPSzN'],_0x1ff801=>{const _0x3dc8da=_0x4de61f;return _0x1ff801[_0x3dc8da(0x13e)](_0x59c626[_0x3dc8da(0x1a7)],{'type':_0x3dc8da(0x7e),'description':_0x59c626[_0x3dc8da(0x19b)],'demandOption':!![]});},async _0x170132=>{await withTelemetry('profile\x20use',()=>useEnv(_0x170132['profile-name']));})['command'](_0x59c626[_0x4de61f(0x123)],_0x59c626[_0x4de61f(0x158)],_0x2b2aed=>{const _0x51b3b2=_0x4de61f;return _0x2b2aed[_0x51b3b2(0x13e)](_0x59c626['kzeVA'],{'type':_0x59c626[_0x51b3b2(0x139)],'description':_0x59c626['zfJQa'],'demandOption':!![]});},async _0x4b335d=>{const _0x2f3904=_0x4de61f;await withTelemetry('profile\x20encrypt-auth',()=>authEncrypt(_0x4b335d[_0x2f3904(0x88)]));})['command']('ls',_0x59c626[_0x4de61f(0x94)],()=>{},async()=>{await _0x59c626['FCkWV'](withTelemetry,_0x59c626['PQtGP'],()=>envList());})['command'](_0x4de61f(0x8f),_0x59c626['KtYwK'],_0x2842ed=>{const _0x3c5183=_0x4de61f;return _0x2842ed[_0x3c5183(0x13e)](_0x59c626['YqQby'],{'type':_0x3c5183(0x7e),'description':_0x3c5183(0xcd),'demandOption':!![]});},async _0x3d6ca4=>{const _0x36e690=_0x4de61f;await withTelemetry(_0x59c626[_0x36e690(0x1a4)],_0x1e7230=>updateEnv(_0x3d6ca4[_0x36e690(0x91)],_0x1e7230));})[_0x4de61f(0x156)]('config',_0x59c626['NvkdS'],_0x7587b6=>{const _0x2c6e34=_0x4de61f,_0x3ad9a9={'ntJia':function(_0x591400,_0x4f8faa,_0x5ba74a){return _0x59c626['FCkWV'](_0x591400,_0x4f8faa,_0x5ba74a);},'XfJpP':function(_0x338ffb,_0x1fe801,_0x2da27f){return _0x338ffb(_0x1fe801,_0x2da27f);},'TJBIx':'profile\x20config\x20get','sEPnh':_0x59c626['yqKCk'],'BQOAJ':_0x59c626[_0x2c6e34(0x114)],'aVyjI':_0x59c626['QQsZd'],'MlZNL':_0x59c626[_0x2c6e34(0xe3)],'DbAdH':_0x59c626[_0x2c6e34(0x118)]};return _0x7587b6[_0x2c6e34(0x140)](PROFILE_CONFIG_HELP)['command'](_0x59c626['mFnjG'],_0x2c6e34(0x127),_0x3699ce=>{const _0x3c94ff=_0x2c6e34;return _0x3699ce[_0x3c94ff(0x13e)]('profile',{'type':_0x59c626['QQsZd'],'description':_0x3c94ff(0x11f),'demandOption':!![]})[_0x3c94ff(0x13e)](_0x3c94ff(0xb4),{'type':_0x59c626[_0x3c94ff(0x139)],'description':_0x59c626[_0x3c94ff(0xa7)],'demandOption':!![]})[_0x3c94ff(0x13e)](_0x59c626['vWrVo'],{'type':_0x59c626['QQsZd'],'description':_0x59c626[_0x3c94ff(0x115)],'demandOption':!![]});},async _0x443e96=>{const _0xfa5041=_0x2c6e34;await _0x3ad9a9['ntJia'](withTelemetry,'profile\x20config\x20set',()=>configSet(_0x443e96[_0xfa5041(0x88)],_0x443e96[_0xfa5041(0xb4)],_0x443e96[_0xfa5041(0x10f)]));})['command']('get\x20<profile>\x20<key>',_0x59c626['HMswi'],_0x131da9=>{const _0x68cb3f=_0x2c6e34;return _0x131da9[_0x68cb3f(0x13e)](_0x59c626['kzeVA'],{'type':_0x68cb3f(0x7e),'description':_0x68cb3f(0x11f),'demandOption':!![]})['positional'](_0x59c626[_0x68cb3f(0xe3)],{'type':_0x59c626[_0x68cb3f(0x139)],'description':'Config\x20key','demandOption':!![]});},async _0x24ab81=>{const _0x3ca91f=_0x2c6e34;await _0x3ad9a9[_0x3ca91f(0x187)](withTelemetry,_0x3ad9a9[_0x3ca91f(0x9a)],()=>configGet(_0x24ab81[_0x3ca91f(0x88)],_0x24ab81['key']));})['command'](_0x2c6e34(0x95),_0x2c6e34(0x7c),_0x110c70=>{const _0x2d5447=_0x2c6e34;return _0x110c70[_0x2d5447(0x13e)](_0x59c626[_0x2d5447(0x114)],{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x2bce83=>{const _0x5fadb=_0x2c6e34;await withTelemetry(_0x3ad9a9[_0x5fadb(0xda)],()=>configList(_0x2bce83[_0x5fadb(0x88)]));})[_0x2c6e34(0x156)](_0x59c626[_0x2c6e34(0x1ab)],'Remove\x20a\x20config\x20value',_0x32fb2e=>{const _0x1d375d=_0x2c6e34;return _0x32fb2e[_0x1d375d(0x13e)](_0x3ad9a9['BQOAJ'],{'type':_0x3ad9a9[_0x1d375d(0xae)],'description':_0x1d375d(0x11f),'demandOption':!![]})[_0x1d375d(0x13e)](_0x3ad9a9['MlZNL'],{'type':_0x3ad9a9[_0x1d375d(0xae)],'description':_0x3ad9a9['DbAdH'],'demandOption':!![]});},async _0x311002=>{const _0x24a5d4=_0x2c6e34;await withTelemetry('profile\x20config\x20unset',()=>configUnset(_0x311002[_0x24a5d4(0x88)],_0x311002[_0x24a5d4(0xb4)]));})['demandCommand'](0x1,_0x59c626[_0x2c6e34(0x1a3)]);})[_0x4de61f(0x9e)](0x1,_0x59c626[_0x4de61f(0xc1)]);})[_0x11ef01(0x156)](_0x11ef01(0x9b),'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{const _0x5ee264={'PBbZS':'status'};await withTelemetry(_0x5ee264['PBbZS'],()=>status());})[_0x11ef01(0x156)](_0x11ef01(0x168),'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x428b4b=_0x11ef01;await withTelemetry(_0x428b4b(0x168),()=>update());})['command']('go','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)',_0x3b8f68=>{const _0x2375dc=_0x11ef01,_0x534e5e={'qlTxg':'string','bnjqN':_0x2375dc(0x182),'OZNZy':_0x2375dc(0x19a),'kAILZ':_0x2375dc(0x150),'usMvH':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','LKcJK':'partial','ivUvE':_0x2375dc(0xc9),'hnmWN':_0x2375dc(0x19d),'hyrfc':'boolean','MPJdP':_0x2375dc(0x188),'mpwxP':'number'};return _0x3b8f68['option'](_0x2375dc(0x88),{'type':_0x534e5e['qlTxg'],'description':_0x534e5e['bnjqN']})[_0x2375dc(0x180)](_0x2375dc(0x1a5),{'type':_0x2375dc(0x7e),'description':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)'})['option'](_0x534e5e[_0x2375dc(0x1bc)],{'type':'number','description':_0x534e5e['kAILZ']})['option'](_0x2375dc(0x16f),{'type':_0x534e5e[_0x2375dc(0x12c)],'description':_0x534e5e[_0x2375dc(0xd9)]})[_0x2375dc(0x180)](_0x2375dc(0xb1),{'type':'string','description':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1)'})['option'](_0x2375dc(0x11c),{'type':_0x534e5e['qlTxg'],'hidden':!![],'choices':['verified',_0x534e5e['LKcJK'],_0x534e5e[_0x2375dc(0x10c)],'failed',_0x2375dc(0x161)]})['option'](_0x534e5e[_0x2375dc(0xbf)],{'type':_0x534e5e[_0x2375dc(0x19c)],'hidden':!![]})['option'](_0x534e5e[_0x2375dc(0xb2)],{'type':_0x534e5e[_0x2375dc(0x12c)],'hidden':!![]})[_0x2375dc(0x180)](_0x2375dc(0x122),{'type':_0x2375dc(0x7e),'hidden':!![]})[_0x2375dc(0x180)]('item',{'type':_0x534e5e['mpwxP'],'hidden':!![]});},async _0xdc2730=>{await runGoCommand(_0xdc2730);})[_0x11ef01(0x156)](_0x11ef01(0xcf),![],_0x45b028=>{const _0x4a7b21=_0x11ef01,_0xff4bda={'QOmoB':_0x4a7b21(0x88),'fazix':function(_0x294029,_0x4c2c8c,_0x5953a6){return _0x294029(_0x4c2c8c,_0x5953a6);},'CeOsv':'ranger\x20profile\x20encrypt-auth','ZKOwk':'encrypt\x20<profile>','TdPiM':'You\x20must\x20specify\x20an\x20auth\x20subcommand'};return _0x45b028[_0x4a7b21(0x156)](_0xff4bda[_0x4a7b21(0x166)],![],_0x2c5cda=>{const _0x40f9bb=_0x4a7b21;return _0x2c5cda[_0x40f9bb(0x13e)](_0xff4bda['QOmoB'],{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x555f8a=>{const _0x58c385=_0x4a7b21;_0xff4bda['fazix'](warnRenamed,'ranger\x20auth\x20encrypt',_0xff4bda[_0x58c385(0xe4)]),await authEncrypt(_0x555f8a[_0x58c385(0x88)]);})['demandCommand'](0x1,_0xff4bda[_0x4a7b21(0x10d)]);},()=>{})['command'](_0x11ef01(0x1b1),![],_0x384361=>{const _0x37b176=_0x11ef01,_0x492c9f={'eGpgv':'token','mfafD':_0x37b176(0x7e),'KiInS':_0x37b176(0x17f),'cwgxm':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','nxfVQ':'url','CHXYG':'force','jdclo':_0x37b176(0xc5),'omIlD':_0x37b176(0x1b5)};return _0x384361['positional'](_0x492c9f['eGpgv'],{'type':_0x492c9f['mfafD'],'description':_0x37b176(0x104)})[_0x37b176(0x180)](_0x37b176(0xfe),{'type':'boolean','description':_0x37b176(0x8c),'default':![]})['option']('scope',{'type':'string','choices':[_0x492c9f['KiInS'],'project'],'description':_0x492c9f[_0x37b176(0xbc)]})['option'](_0x492c9f['nxfVQ'],{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x492c9f[_0x37b176(0x84)],{'type':_0x492c9f[_0x37b176(0x1ae)],'description':_0x492c9f[_0x37b176(0x8d)],'default':![]});},async _0x50c0d8=>{const _0x2536a8=_0x11ef01,_0x5036ce={'KwkIy':'ranger\x20start','IQKDn':_0x2536a8(0xd2)};warnRenamed(_0x5036ce['KwkIy'],_0x5036ce['IQKDn']),await withTelemetry('start',_0x844ad8=>start(_0x50c0d8['token'],{'skipChromium':_0x50c0d8['skip-chromium'],'scope':_0x50c0d8[_0x2536a8(0x7f)],'url':_0x50c0d8[_0x2536a8(0x142)],'force':_0x50c0d8[_0x2536a8(0x12a)]},_0x844ad8));})['command']('verify-feature',![],_0x31e07f=>{const _0x5be40e=_0x11ef01,_0x2b3f4d={'friKh':'env','ytohd':'string','OgXoy':_0x5be40e(0x122),'JKINd':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','VYdpp':_0x5be40e(0xab),'AQwdH':'profile','VqAPQ':_0x5be40e(0x1a5),'Soroa':'start-path','LmhVw':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','pDpgm':'failed','oxoGB':'incomplete'};return _0x31e07f[_0x5be40e(0x180)](_0x2b3f4d[_0x5be40e(0x141)],{'type':_0x2b3f4d['ytohd'],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0x5be40e(0x180)](_0x2b3f4d[_0x5be40e(0x149)],{'type':_0x2b3f4d['ytohd'],'description':_0x2b3f4d[_0x5be40e(0xac)]})['option']('item',{'type':_0x2b3f4d['VYdpp'],'description':_0x5be40e(0x150)})['option'](_0x2b3f4d['AQwdH'],{'type':_0x2b3f4d['ytohd'],'hidden':!![]})['option'](_0x2b3f4d[_0x5be40e(0x7b)],{'type':'string','hidden':!![]})[_0x5be40e(0x180)]('scenario',{'type':_0x2b3f4d['VYdpp'],'hidden':!![]})['option'](_0x2b3f4d['Soroa'],{'type':'string','description':_0x2b3f4d[_0x5be40e(0xe6)]})['option']('model',{'type':_0x5be40e(0x7e),'hidden':!![]})['option'](_0x5be40e(0x11c),{'type':_0x2b3f4d[_0x5be40e(0x8a)],'hidden':!![],'choices':['verified',_0x5be40e(0xba),'blocked',_0x2b3f4d['pDpgm'],_0x2b3f4d['oxoGB']]});},async _0x288d6b=>{await runGoCommand(_0x288d6b,!![]);})['command'](_0x11ef01(0x190),![],_0x443e46=>{const _0x57d208=_0x11ef01,_0x43fc6d={'ivdYg':'env-name','hRytf':_0x57d208(0xe0),'MAknB':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)'};return _0x443e46['positional'](_0x43fc6d['ivdYg'],{'type':_0x57d208(0x7e),'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x57d208(0x180)]('ci',{'type':_0x57d208(0xc5),'description':_0x57d208(0x1b2),'default':![]})[_0x57d208(0x180)](_0x43fc6d[_0x57d208(0x154)],{'type':'boolean','description':_0x43fc6d['MAknB'],'default':![]});},async _0x8e4249=>{const _0x8336e4=_0x11ef01,_0x1b134a={'sPUdg':'ranger\x20add\x20env'};warnRenamed(_0x1b134a[_0x8336e4(0x8e)],_0x8336e4(0x126)),await withTelemetry('add\x20env',_0x2f5bf5=>addEnv(_0x8e4249[_0x8336e4(0x11b)],{'ci':_0x8e4249['ci'],'skipAuth':_0x8e4249['skip-auth']},_0x2f5bf5));})['command']('use\x20<env-name>',![],_0x764855=>{const _0x437246=_0x11ef01,_0x38effc={'Edxju':_0x437246(0x7e),'vSLGM':'Name\x20of\x20the\x20environment'};return _0x764855[_0x437246(0x13e)]('env-name',{'type':_0x38effc['Edxju'],'description':_0x38effc['vSLGM'],'demandOption':!![]});},async _0x4b30c6=>{const _0x44aede=_0x11ef01,_0x297bc7={'wKhxI':function(_0x30ae56,_0x1c5141,_0x1760af){return _0x30ae56(_0x1c5141,_0x1760af);},'wZxkw':_0x44aede(0x147),'rmufB':_0x44aede(0x15f)};_0x297bc7['wKhxI'](warnRenamed,_0x44aede(0x113),_0x297bc7[_0x44aede(0x1ac)]),await withTelemetry(_0x297bc7[_0x44aede(0xd0)],()=>useEnv(_0x4b30c6['env-name']));})['command']('config',![],_0x4bb0c6=>{const _0x3439d8=_0x11ef01,_0x5bf922={'XNnfL':_0x3439d8(0x188),'jCUzz':'value','AUKoq':_0x3439d8(0x9d),'thNKs':function(_0x3a9480,_0x128b44,_0x2db7c2){return _0x3a9480(_0x128b44,_0x2db7c2);},'OCteu':function(_0x50b7cb,_0x556189,_0x58ec29){return _0x50b7cb(_0x556189,_0x58ec29);},'QmsVl':'string','WYvbB':_0x3439d8(0xb4),'icrWv':_0x3439d8(0xee),'QAaak':'ranger\x20config\x20get','vUuZk':_0x3439d8(0x133),'QlfUJ':function(_0x337d63,_0x4d12dd,_0x31d966){return _0x337d63(_0x4d12dd,_0x31d966);},'yHwAs':'ranger\x20config\x20list','gMLGp':'ranger\x20profile\x20config\x20list','sSwkr':_0x3439d8(0x16e),'IwVCj':'Environment\x20name','whUmS':function(_0x2a738d,_0x29b74a,_0x5b4939){return _0x2a738d(_0x29b74a,_0x5b4939);},'TErWg':'config\x20unset','ihktv':_0x3439d8(0x146),'YYAZL':_0x3439d8(0x18b)};return _0x4bb0c6[_0x3439d8(0x156)](_0x3439d8(0xfa),![],_0x3e26f2=>{const _0x2d12e9=_0x3439d8;return _0x3e26f2['positional'](_0x5bf922['XNnfL'],{'type':'string','description':'Environment\x20name','demandOption':!![]})['positional']('key',{'type':_0x2d12e9(0x7e),'description':_0x2d12e9(0x101),'demandOption':!![]})['positional'](_0x5bf922['jCUzz'],{'type':'string','description':_0x5bf922['AUKoq'],'demandOption':!![]});},async _0x491fb9=>{const _0x851a1f=_0x3439d8;_0x5bf922[_0x851a1f(0x13f)](warnRenamed,'ranger\x20config\x20set',_0x851a1f(0x1ba)),await _0x5bf922[_0x851a1f(0xc7)](withTelemetry,_0x851a1f(0x98),()=>configSet(_0x491fb9[_0x851a1f(0x188)],_0x491fb9['key'],_0x491fb9['value']));})['command'](_0x3439d8(0x12f),![],_0x340825=>{const _0x480d57=_0x3439d8;return _0x340825['positional'](_0x5bf922[_0x480d57(0x10b)],{'type':_0x5bf922['QmsVl'],'description':'Environment\x20name','demandOption':!![]})['positional'](_0x5bf922['WYvbB'],{'type':_0x5bf922['QmsVl'],'description':_0x5bf922['icrWv'],'demandOption':!![]});},async _0x3d2750=>{const _0x115245=_0x3439d8;warnRenamed(_0x5bf922[_0x115245(0xf9)],_0x5bf922[_0x115245(0x89)]),await _0x5bf922['QlfUJ'](withTelemetry,'config\x20get',()=>configGet(_0x3d2750[_0x115245(0x188)],_0x3d2750['key']));})['command'](_0x3439d8(0x97),![],_0x1b110a=>{const _0x2e5460=_0x3439d8;return _0x1b110a[_0x2e5460(0x13e)](_0x5bf922[_0x2e5460(0x10b)],{'type':_0x5bf922[_0x2e5460(0x15c)],'description':_0x2e5460(0x17e),'demandOption':!![]});},async _0x22b5d9=>{const _0x4da7c9=_0x3439d8;warnRenamed(_0x5bf922['yHwAs'],_0x5bf922[_0x4da7c9(0xa3)]),await withTelemetry(_0x5bf922['sSwkr'],()=>configList(_0x22b5d9['env']));})['command'](_0x5bf922[_0x3439d8(0x17d)],![],_0x7eb124=>{const _0x2a0c1e=_0x3439d8;return _0x7eb124['positional']('env',{'type':_0x5bf922[_0x2a0c1e(0x15c)],'description':_0x5bf922['IwVCj'],'demandOption':!![]})['positional'](_0x2a0c1e(0xb4),{'type':_0x5bf922['QmsVl'],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x3ae942=>{const _0xa27e99=_0x3439d8;_0x5bf922['whUmS'](warnRenamed,'ranger\x20config\x20unset','ranger\x20profile\x20config\x20unset'),await withTelemetry(_0x5bf922['TErWg'],()=>configUnset(_0x3ae942[_0xa27e99(0x188)],_0x3ae942[_0xa27e99(0xb4)]));})['demandCommand'](0x1,_0x5bf922['YYAZL']);})['command'](_0x11ef01(0x188),![],_0xd0b59c=>{const _0x45863d=_0x11ef01,_0x986f3f={'aacwe':function(_0x5ba2a3,_0x41e5da,_0x4c7597){return _0x5ba2a3(_0x41e5da,_0x4c7597);},'KCgYp':'ranger\x20env\x20ls','CoUHe':'ranger\x20profile\x20ls','InFRt':'env-name','ydprZ':'ranger\x20env\x20update','zSWks':'env\x20update'};return _0xd0b59c[_0x45863d(0x156)]('ls',![],()=>{},async()=>{const _0x153bf5=_0x45863d;_0x986f3f[_0x153bf5(0x90)](warnRenamed,_0x986f3f['KCgYp'],_0x986f3f['CoUHe']),await withTelemetry(_0x153bf5(0x129),()=>envList());})['command']('update\x20<env-name>',![],_0x206b58=>{const _0x400fae=_0x45863d;return _0x206b58['positional'](_0x986f3f[_0x400fae(0x175)],{'type':_0x400fae(0x7e),'description':_0x400fae(0xb6),'demandOption':!![]});},async _0x404d0c=>{const _0x42d755=_0x45863d;_0x986f3f[_0x42d755(0x90)](warnRenamed,_0x986f3f[_0x42d755(0xa8)],'ranger\x20profile\x20update'),await withTelemetry(_0x986f3f[_0x42d755(0x178)],_0x384730=>updateEnv(_0x404d0c[_0x42d755(0x11b)],_0x384730));})['demandCommand'](0x1,_0x45863d(0x14f));})['command']('feature',![],_0xfd2ccc=>{const _0xb870eb=_0x11ef01,_0x391558={'kvjXS':_0xb870eb(0x119),'WYiIl':'string','SbcsW':_0xb870eb(0x1a1),'iiqSu':_0xb870eb(0x19a),'aWMvp':_0xb870eb(0xaa),'bncqt':'ranger\x20create','nNaUG':'--checklist','CyGOo':function(_0x5b7fff,_0x36c042,_0x578d87){return _0x5b7fff(_0x36c042,_0x578d87);},'bBRqs':_0xb870eb(0x152),'QXMrz':_0xb870eb(0x191),'vAVOw':'include-deleted','VZdMg':'ranger\x20list','TzpgO':'Feature\x20review\x20ID','VobUP':'ranger\x20show','cOSNr':function(_0xec9763,_0x104e6e,_0x12605f){return _0xec9763(_0x104e6e,_0x12605f);},'amnlo':'feature\x20show','GpeiA':_0xb870eb(0x172),'bbBMv':'ranger\x20feature\x20resume','CcNCc':'feature\x20resume','AQbCv':'Scenario\x20description','MhTZX':'ranger\x20add-scenario','reiZo':function(_0x3bc65f,_0x1e270e,_0x56c412){return _0x3bc65f(_0x1e270e,_0x56c412);},'ZaHRP':function(_0x1c6877,_0xca1410,_0x502587){return _0x1c6877(_0xca1410,_0x502587);},'elGDb':function(_0x584082,_0x4a94af,_0x310e31){return _0x584082(_0x4a94af,_0x310e31);},'sNePr':_0xb870eb(0x160),'vXaCt':_0xb870eb(0xf6),'wjLFE':_0xb870eb(0x130),'vCDGy':'add-checklist-item\x20<description>','WGqwD':_0xb870eb(0x13b),'ZLpbV':'delete\x20[id]'};return _0xfd2ccc['command'](_0xb870eb(0x11a),![],_0x5b64fe=>{const _0x572efd=_0xb870eb;return _0x5b64fe['positional'](_0x391558[_0x572efd(0x151)],{'type':_0x572efd(0x7e),'description':_0x572efd(0x111),'demandOption':!![]})[_0x572efd(0x180)](_0x572efd(0x138),{'type':_0x391558[_0x572efd(0x1a8)],'alias':'d','description':_0x391558['SbcsW']})[_0x572efd(0x180)](_0x572efd(0x153),{'type':_0x572efd(0x16b),'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x572efd(0x180)](_0x391558['iiqSu'],{'type':'array','hidden':!![]});},async _0xfe9fe6=>{const _0x53d8a2=_0xb870eb;warnRenamed(_0x391558[_0x53d8a2(0x11d)],_0x53d8a2(0xef)),warnFlagRenamed(_0x391558[_0x53d8a2(0x121)],_0x391558[_0x53d8a2(0x137)],'--scenario');const _0x53418e=_0xfe9fe6[_0x53d8a2(0x19a)]||_0xfe9fe6['checklist'];await _0x391558['CyGOo'](withTelemetry,_0x53d8a2(0x186),()=>featureCreate(_0xfe9fe6[_0x53d8a2(0x119)],{'description':_0xfe9fe6['description'],'scenarios':_0x53418e}));})[_0xb870eb(0x156)]('list',![],_0x599d00=>{const _0x15c29b=_0xb870eb;return _0x599d00['option'](_0x391558['bBRqs'],{'type':'boolean','description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})[_0x15c29b(0x180)](_0x391558['QXMrz'],{'type':_0x15c29b(0xab),'alias':'l','description':_0x15c29b(0xd5),'default':0xa})['option']('offset',{'type':'number','alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x15c29b(0x180)](_0x391558[_0x15c29b(0x16d)],{'type':'boolean','alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x56f976=>{const _0x5ba19d=_0xb870eb;_0x391558[_0x5ba19d(0x18c)](warnRenamed,_0x5ba19d(0xad),_0x391558[_0x5ba19d(0xd8)]),await withTelemetry('feature\x20list',()=>featureList({'currentBranch':_0x56f976['current-branch'],'limit':_0x56f976['limit'],'offset':_0x56f976[_0x5ba19d(0x99)],'includeDeleted':_0x56f976['include-deleted']}));})['command']('show\x20[id]',![],_0x486139=>{const _0x42ff96=_0xb870eb;return _0x486139[_0x42ff96(0x13e)]('id',{'type':_0x391558['WYiIl'],'description':_0x391558['TzpgO']});},async _0x55c734=>{const _0x47ecf7=_0xb870eb;warnRenamed(_0x47ecf7(0xec),_0x391558['VobUP']),await _0x391558['cOSNr'](withTelemetry,_0x391558['amnlo'],()=>featureShow(_0x55c734['id']));})['command'](_0x391558[_0xb870eb(0xf2)],![],_0x24f7fd=>{return _0x24f7fd['positional']('id',{'type':_0x391558['WYiIl'],'description':_0x391558['GpeiA']});},async _0x19d4ae=>{const _0x316017=_0xb870eb;warnRenamed(_0x391558[_0x316017(0x19f)],_0x316017(0x1b0)),await withTelemetry(_0x391558[_0x316017(0x110)],()=>featureResume(_0x19d4ae['id']));})['command'](_0x391558[_0xb870eb(0x169)],![],_0x4dace1=>{const _0x1e5d7d=_0xb870eb;return _0x4dace1['positional'](_0x1e5d7d(0x138),{'type':_0x391558['WYiIl'],'description':_0x391558['AQbCv'],'demandOption':!![]})[_0x1e5d7d(0x180)]('id',{'type':_0x391558[_0x1e5d7d(0x1a8)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x497c92=>{const _0x5b848f=_0xb870eb;warnRenamed(_0x5b848f(0x1aa),_0x391558[_0x5b848f(0x13c)]),await withTelemetry('feature\x20add-checklist-item',()=>featureAddScenario(_0x497c92['description'],_0x497c92['id']));})[_0xb870eb(0x156)](_0x391558[_0xb870eb(0x1ad)],![],_0x451121=>{const _0x36ed42=_0xb870eb;return _0x451121['positional']('id',{'type':'string','description':_0x36ed42(0x1b7)});},async _0xc48c5c=>{const _0x20ff5d=_0xb870eb;_0x391558[_0x20ff5d(0x135)](warnRenamed,_0x20ff5d(0x1b9),'ranger\x20get-review'),await withTelemetry(_0x20ff5d(0xb5),()=>featureGetReview(_0xc48c5c['id']));})[_0xb870eb(0x156)](_0x391558[_0xb870eb(0x177)],![],_0x3f00c5=>{const _0x2eb471=_0xb870eb;return _0x3f00c5['positional']('id',{'type':_0x2eb471(0x7e),'description':_0x391558[_0x2eb471(0xdc)]});},async _0x3fac41=>{const _0x1c50c6=_0xb870eb;_0x391558[_0x1c50c6(0xd3)](warnRenamed,_0x1c50c6(0x198),'ranger\x20delete'),await _0x391558['elGDb'](withTelemetry,_0x391558['sNePr'],()=>featureDelete(_0x3fac41['id']));})[_0xb870eb(0x156)]('restore\x20<id>',![],_0x31a775=>{return _0x31a775['positional']('id',{'type':_0x391558['WYiIl'],'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x998889=>{const _0x2a882b=_0xb870eb;_0x391558['ZaHRP'](warnRenamed,_0x2a882b(0x165),'ranger\x20restore'),await _0x391558[_0x2a882b(0x18c)](withTelemetry,_0x391558['vXaCt'],()=>featureRestore(_0x998889['id']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})['command']('hook',![],_0x4b2e4a=>{const _0x13f802=_0x11ef01,_0x52e1f0={'lDIED':'string','YCbbC':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','kXbJH':function(_0xe450aa,_0x375bd0,_0x266ee9){return _0xe450aa(_0x375bd0,_0x266ee9);},'GCHgE':_0x13f802(0x176),'TdNMs':_0x13f802(0x193),'QixmM':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','YduxR':_0x13f802(0xcc),'mDzPq':'name'};return _0x4b2e4a[_0x13f802(0x156)](_0x52e1f0[_0x13f802(0x145)],_0x52e1f0[_0x13f802(0x163)],_0x405c6d=>{const _0x423a05=_0x13f802;return _0x405c6d['option']('session-id',{'type':_0x52e1f0['lDIED'],'description':_0x52e1f0[_0x423a05(0xc8)]});},async _0x55c358=>{const _0x348581=_0x13f802;await _0x52e1f0[_0x348581(0x14a)](withTelemetry,_0x52e1f0[_0x348581(0x1a9)],()=>hook('enable',_0x55c358['session-id']));})['command']('disable',_0x52e1f0[_0x13f802(0x128)],_0x158768=>{const _0x28c14f=_0x13f802;return _0x158768[_0x28c14f(0x180)](_0x28c14f(0x155),{'type':'string','description':_0x52e1f0['YCbbC']});},async _0x165b2b=>{const _0x127935=_0x13f802;await _0x52e1f0[_0x127935(0x14a)](withTelemetry,_0x127935(0x117),()=>hook(_0x127935(0xf5),_0x165b2b['session-id']));})[_0x13f802(0x180)](_0x52e1f0[_0x13f802(0x1af)],{'type':'string','description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})['option']('session-id',{'type':_0x13f802(0x7e),'description':_0x52e1f0['YCbbC']});},async _0x190b6b=>{const _0x589e86=_0x11ef01,_0x214045={'EvQew':function(_0x1fe673,_0x5b096a,_0x214f1d){return _0x1fe673(_0x5b096a,_0x214f1d);}};_0x190b6b['name']&&await _0x214045[_0x589e86(0x196)](hook,_0x190b6b[_0x589e86(0x119)],_0x190b6b['session-id']);})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20command')['strictCommands']()['fail'](async(_0x37495d,_0xeb8481,_0x558604)=>{const _0x183a65=_0x11ef01,_0x2de59b={'QkATW':function(_0x23840e,_0x38c7eb,_0xeb31d1){return _0x23840e(_0x38c7eb,_0xeb31d1);},'hGpmS':'Unknown\x20command','vhoVg':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','YWATS':function(_0xe3df2,_0x2acb68){return _0xe3df2||_0x2acb68;}},_0x2f4879=sanitizeArgs(process[_0x183a65(0x109)]['slice'](0x2)),_0x3598a6=_0x2de59b[_0x183a65(0x87)](getErrorType,_0x37495d,_0xeb8481);if(_0x37495d&&_0x37495d[_0x183a65(0x15d)](_0x2de59b[_0x183a65(0x14e)])){const _0x132636=process[_0x183a65(0x109)][0x2];console['error']('\x0aUnknown\x20command:\x20'+_0x132636),console[_0x183a65(0x96)](_0x2de59b['vhoVg']);}else{if(_0x37495d)console['error']('\x0a'+_0x37495d+'\x0a');else _0xeb8481&&console[_0x183a65(0x96)](_0x183a65(0x82)+_0xeb8481['message']+'\x0a');}await logDesirePath({'rawCommand':_0x2f4879,'errorMessage':_0x37495d||_0xeb8481?.[_0x183a65(0x157)],'errorType':_0x3598a6});const _0x18cbe9=getCurrentCollector();_0x18cbe9&&await _0x18cbe9[_0x183a65(0xf1)](_0xeb8481||new Error(_0x2de59b['YWATS'](_0x37495d,_0x183a65(0x18d)))),process['exit'](0x1);})[_0x11ef01(0x1b6)](_0x11ef01(0xd7)+_0x11ef01(0x14d)+'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)')[_0x11ef01(0xb3)]()[_0x11ef01(0xaf)]('help','h')['parse']();function _0x2b2c(){const _0x7e88e4=['ranger\x20feature\x20restore','ZKOwk','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','update','vCDGy','Install\x20scope\x20for\x20skills','array','evaluation','vAVOw','config\x20list','start-path','5993275DitNyo','cLuVx','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','ZqAJs','28ddaejG','InFRt','hook:enable','ZLpbV','zSWks','ryokA','Feature\x20review\x20ID','claude','gwKeR','ihktv','Environment\x20name','user','option','memQU','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','Kxkub','pjpdO','mCnRj','feature\x20create','XfJpP','env','add-scenario\x20<description>','woZfX','You\x20must\x20specify\x20a\x20config\x20subcommand','CyGOo','Unknown\x20error','rvxSM','token','add\x20env\x20<env-name>','limit','pBuAr','enable','Install\x20Ranger\x20skills','Reason:\x20','EvQew','project','ranger\x20feature\x20delete','version','scenario','bPSZg','hyrfc','debug-address-comments','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','bbBMv','yrOch','Feature\x20review\x20description','FfaUG','sEPze','CsYxu','notes','verified','YqQby','WYiIl','GCHgE','ranger\x20feature\x20add-checklist-item','WyxVb','wZxkw','WGqwD','jdclo','mDzPq','ranger\x20resume','start\x20[token]','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','epilogue','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','delete\x20[id]','ranger\x20feature\x20get-feedback','ranger\x20profile\x20config\x20set','gPeBm','OZNZy','VqAPQ','List\x20all\x20config\x20for\x20a\x20profile','add-scenario','string','scope','\x20is\x20now\x20','fqGfF','\x0aError:\x20','encrypt-auth\x20<profile>','CHXYG','base-url','16961VEzIux','QkATW','profile','vUuZk','ytohd','iujnv','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','omIlD','sPUdg','update\x20<profile-name>','aacwe','profile-name','report\x20[id]','eGvzx','iLGkl','list\x20<profile>','error','list\x20<env>','config\x20set','offset','TJBIx','status','2987686yoycTw','Config\x20value','demandCommand','EdYIf','edit-scenario','CfjuB','fhoSg','gMLGp','slice','Initialize\x20Ranger\x20in\x20your\x20project','\x20VERIFIED','yXMYC','ydprZ','set\x20<profile>\x20<key>\x20<value>','ranger\x20feature\x20create','number','JKINd','ranger\x20feature\x20list','aVyjI','alias','NKDtR','model','MPJdP','help','key','feature\x20get-feedback','Name\x20of\x20the\x20environment\x20to\x20update','exitCode','evaluationReason','npdCg','partial','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','cwgxm','item','geQIl','hnmWN','CXdBA','jFEFV','SiKSs','BGNjL','mDEEz','boolean','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.','OCteu','YCbbC','blocked','You\x20must\x20specify\x20a\x20profile\x20subcommand','Install\x20skills\x20for\x20OpenCode','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','Name\x20of\x20the\x20profile\x20to\x20update','nnFsO','auth','rmufB','uZxpc','ranger\x20setup','ZaHRP','JNljh','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','cgQvc','Documentation:\x0a','VZdMg','usMvH','sEPnh','show','TzpgO','iFoKL','opencode','Manage\x20profile\x20configuration','skip-auth','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','TfJmS','RWwAw','CeOsv','1310394aYNBWM','LmhVw','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','cdp-endpoint','NdYQg','InAwu','clean','ranger\x20feature\x20show','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','Config\x20key','ranger\x20create','some','trackCommandError','wjLFE','rkEgw','get-review','disable','feature\x20restore','profile\x20update','default','QAaak','set\x20<env>\x20<key>\x20<value>','setup\x20[token]','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','.ranger','skip-chromium','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','map','Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','create','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','yNgdE','WMoKQ','tHJPz','unhandledRejection','argv','add\x20<profile-name>','XNnfL','ivUvE','TdPiM','Gvjsp','value','CcNCc','Feature\x20review\x20name','yhiFi','ranger\x20use','kzeVA','kDgzF','KmPcV','hook:disable','MhEAM','name','create\x20<name>','env-name','debug-outcome','aWMvp','Update\x20authentication\x20for\x20an\x20existing\x20profile','Profile\x20name','daTUv','bncqt','task','AvgnC','log','--task','ranger\x20profile\x20add','Set\x20a\x20config\x20value','YduxR','env\x20list','force','953442RSYbnu','qlTxg','severity','cwd','get\x20<env>\x20<key>','resume\x20[id]','config','.\x20[','ranger\x20profile\x20config\x20get','Scenario\x20description','reiZo','260427acQilX','nNaUG','description','QQsZd','TPPbs','get-feedback\x20[id]','MhTZX','mevGl','positional','thNKs','usage','friKh','url','AAYHj','Feature\x20review\x20ID\x20to\x20restore','TdNMs','unset\x20<env>\x20<key>','ranger\x20profile\x20use','Scenario\x20number\x20to\x20edit\x20(1-based)','OgXoy','kXbJH','2952BhWbsa','Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','\x20\x20https://docs.ranger.net\x0a','hGpmS','You\x20must\x20specify\x20an\x20env\x20subcommand','Scenario\x20index\x20(1-based)','kvjXS','current-branch','checklist','hRytf','session-id','command','message','fBXvf','39437100HXFEYK','Add\x20profile\x20configuration','BkUIN','QmsVl','includes','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','use','feature\x20delete','incomplete','skillup','QixmM','exit'];_0x2b2c=function(){return _0x7e88e4;};return _0x2b2c();}
@@ -1 +1 @@
1
- function _0xa47e(){const _0x286578=['about:blank','tYKMz','msrRK','Jnvom','KIYWq','gWjMW','UueUa','catch','What\x20would\x20you\x20like\x20to\x20do?','✓\x20Auth\x20state\x20saved\x20to:\x20','XHhiW','message','1805620MdVzYz','close','SvCWi','13iUCwvs','stringify','now','browser_auth','Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20backup\x20at\x20','JVHyr','\x20would\x20shadow\x20the\x20existing\x20profile.','JMQcZ','cdpEndpoint','url_setup','name','DiNKw','isProtocolError','.backup-','url','Ciuiy','continue','CNcXc','\x20\x20Did\x20you\x20mean\x20','\x20(continuing\x20with\x20--force)','legacy','31443756eAOlGA','qSovG','cAvlc','164NZFOXd','\x20\x20Make\x20sure\x20your\x20app\x20is\x20running\x20locally\x20before\x20continuing.','trackPhaseEnd','Aborted.','abort','local','\x20\x20\x20A\x20browser\x20will\x20open.\x20Please\x20log\x20in\x20to\x20the\x20profile\x20you\x20want\x20to\x20test\x20so\x20Ranger\x20can\x20access\x20it.','isTTY','bUmzt','prompt','input','force','NJKTe','3gYPDYW','--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.','18UySNZF','skipAuth','overwrite','error','signal','uyORr','1846660nPeFxk','\x0a🌐\x20Profile\x20Setup\x0a','Warning:\x20Profile\x20created,\x20but\x20failed\x20to\x20mark\x20it\x20as\x20active.','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','\x20\x20Set\x20active\x20profile:\x20','retry','Enter\x20a\x20different\x20URL','\x0aMake\x20sure\x20your\x20app\x20is\x20running,\x20then\x20try\x20again.\x20To\x20skip\x20this\x20check,\x20pass\x20--force.','storageState','location','config_write','newContext','aJotX','.tmp-','\x22\x20already\x20exists.\x20Overwrite?','log','baseUrl','use_suggestion','\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','9201xLkRrp','IiJHh','BrVan','HEAD','2288391xNxrzH','2729025QsgtuB','\x0a🔌\x20CDP\x20Profile\x20Setup\x0a','24REtwqp','JeSvw','1310hGBzWV','path','includes','✓\x20Encrypted\x20auth\x20saved\x20to:\x20','Use\x20','51854PsbDXC'];_0xa47e=function(){return _0x286578;};return _0xa47e();}(function(_0x1c8223,_0x276283){const _0x254d7d=_0x1756,_0x125ae9=_0x1c8223();while(!![]){try{const _0x16b05b=-parseInt(_0x254d7d(0x1cf))/0x1*(parseInt(_0x254d7d(0x205))/0x2)+parseInt(_0x254d7d(0x212))/0x3*(-parseInt(_0x254d7d(0x1bc))/0x4)+parseInt(_0x254d7d(0x1ea))/0x5+parseInt(_0x254d7d(0x214))/0x6*(-parseInt(_0x254d7d(0x1d3))/0x7)+-parseInt(_0x254d7d(0x1d6))/0x8*(parseInt(_0x254d7d(0x1d4))/0x9)+parseInt(_0x254d7d(0x1d8))/0xa*(parseInt(_0x254d7d(0x1dd))/0xb)+parseInt(_0x254d7d(0x202))/0xc*(parseInt(_0x254d7d(0x1ed))/0xd);if(_0x16b05b===_0x276283)break;else _0x125ae9['push'](_0x125ae9['shift']());}catch(_0x21d89d){_0x125ae9['push'](_0x125ae9['shift']());}}}(_0xa47e,0x7837a));import{mkdir,writeFile,readFile,unlink,rm,mkdtemp,rename}from'fs/promises';import{join}from'path';import _0x1fd844 from'inquirer';import{chromium}from'playwright';import{findExistingEnv}from'./utils/settings.js';import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getRangerDir}from'./utils/rangerRoot.js';import{writeActiveProfileName}from'./utils/activeProfile.js';import{addProfileSetupBanner}from'./utils/profileSetupBanner.js';async function checkUrlReachability(_0x596655){const _0x168e1c=_0x1756,_0x20911b={'LWAVi':'manual','NJKTe':function(_0x483463,_0x31528f){return _0x483463(_0x31528f);},'kCjiK':function(_0x383893,_0x3fd2ac){return _0x383893<_0x3fd2ac;},'hFlbH':'Invalid\x20URL','yinkp':function(_0x2df4f6,_0x362cf4){return _0x2df4f6===_0x362cf4;},'DYmCr':'fetch\x20failed'};try{const _0x316b20=new AbortController(),_0xaa5ecd=setTimeout(()=>_0x316b20[_0x168e1c(0x209)](),0x1388),_0x380c67=await fetch(_0x596655,{'method':_0x168e1c(0x1d2),'signal':_0x316b20[_0x168e1c(0x218)],'redirect':_0x20911b['LWAVi']});_0x20911b[_0x168e1c(0x211)](clearTimeout,_0xaa5ecd);if(_0x20911b['kCjiK'](_0x380c67['status'],0x190))return{'ok':!![]};return{'ok':![],'error':'HTTP\x20'+_0x380c67['status']};}catch(_0x15e2f2){const _0x5476ec=_0x15e2f2,_0x595ba4=_0x5476ec[_0x168e1c(0x1e9)]||String(_0x15e2f2),_0x1b6ec2=_0x595ba4[_0x168e1c(0x1da)](_0x20911b['hFlbH'])||_0x20911b['yinkp'](_0x5476ec[_0x168e1c(0x1f7)],'TypeError')||_0x595ba4[_0x168e1c(0x1da)](_0x20911b['DYmCr']);return{'ok':![],'error':_0x595ba4,'isProtocolError':_0x1b6ec2};}}function _0x1756(_0x4191e9,_0x189650){_0x4191e9=_0x4191e9-0x1bb;const _0xa47e5f=_0xa47e();let _0x175620=_0xa47e5f[_0x4191e9];return _0x175620;}export async function addEnv(_0x18f5fa,_0x3e4ddb={},_0x4ae4ee){const _0x41d850=_0x1756,_0x3c328b={'JeSvw':_0x41d850(0x1eb),'cMoOu':_0x41d850(0x20a),'CNcXc':function(_0x41371c,_0x50f750){return _0x41371c!==_0x50f750;},'Jnvom':function(_0x7b54eb,_0x368e85){return _0x7b54eb===_0x368e85;},'aJotX':'--cdp-endpoint\x20must\x20not\x20be\x20empty.\x20Provide\x20the\x20CDP\x20URL,\x20e.g.\x20--cdp-endpoint\x20http://localhost:9222','JVHyr':'--url\x20and\x20--cdp-endpoint\x20are\x20mutually\x20exclusive.\x20Use\x20--url\x20for\x20web\x20apps\x20or\x20--cdp-endpoint\x20for\x20Electron/CDP\x20apps,\x20not\x20both.','BmWqr':_0x41d850(0x213),'HTZKa':'confirm','IiJHh':'root\x20(.ranger/)','WTMIc':'shouldReplace','Ciuiy':_0x41d850(0x208),'BrVan':_0x41d850(0x1f6),'YqLMr':'\x20\x20Make\x20sure\x20your\x20Electron\x20app\x20(or\x20browser)\x20is\x20running\x20with\x20remote\x20debugging\x20enabled.\x0a','wdlUP':'http://localhost:3000','SvCWi':'list','HqntQ':_0x41d850(0x1c2),'gWjMW':_0x41d850(0x1c1),'msrRK':function(_0x424ebf,_0x26c314){return _0x424ebf(_0x26c314);},'bUmzt':'\x0a📋\x20Authentication\x20Setup','EERCL':_0x41d850(0x20b),'cCdPV':'\x20\x20\x20When\x20done\x20logging\x20in,\x20close\x20the\x20browser\x20to\x20save\x20the\x20session.','qVkZd':'\x20\x20\x20If\x20you\x20are\x20an\x20agent,\x20background\x20this\x20process\x20and\x20let\x20your\x20user\x20know\x20they\x20need\x20to\x20complete\x20browser\x20authentication.\x0a','KaQaG':function(_0x15492c,_0x3da9e0){return _0x15492c(_0x3da9e0);},'uyORr':function(_0x2fd565,_0xb2b651){return _0x2fd565||_0xb2b651;},'foNGf':_0x41d850(0x1de),'XHhiW':'\x20\x20Could\x20not\x20encrypt:\x20No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','UueUa':function(_0x5bd405,_0x1926de,_0x41eb3e){return _0x5bd405(_0x1926de,_0x41eb3e);},'DiNKw':function(_0x16edb,_0x1c9844){return _0x16edb(_0x1c9844);},'tYKMz':function(_0x4bfc0c,_0x40ef99,_0x253e49){return _0x4bfc0c(_0x40ef99,_0x253e49);},'qSovG':'settings.json','JMQcZ':function(_0x1ad77e,_0x1f5e28,_0xe1bea){return _0x1ad77e(_0x1f5e28,_0xe1bea);},'KIYWq':function(_0x4772b6,_0x319fd3,_0xb1af85){return _0x4772b6(_0x319fd3,_0xb1af85);},'cAvlc':function(_0x193d12,_0x2bdf54,_0x47571c){return _0x193d12(_0x2bdf54,_0x47571c);},'tGKPD':_0x41d850(0x1be),'zuXbT':_0x41d850(0x1c6)},_0x374cea=_0x3e4ddb['ci']??![],_0x5a5041=_0x374cea?'ci':_0x3c328b['cMoOu'],_0x5e01f4=join(getRangerDir(),_0x5a5041,_0x18f5fa),_0x263cc8=join(getRangerDir(),_0x5a5041);if(_0x3c328b[_0x41d850(0x1fe)](_0x3e4ddb[_0x41d850(0x1f5)],undefined)&&_0x3c328b['Jnvom'](_0x3e4ddb[_0x41d850(0x1f5)]['trim'](),''))throw new Error(_0x3c328b[_0x41d850(0x1c8)]);if(_0x3e4ddb[_0x41d850(0x1f5)]&&_0x3e4ddb['url'])throw new Error(_0x3c328b[_0x41d850(0x1f2)]);if(_0x3e4ddb['cdpEndpoint']&&_0x3e4ddb['ci'])throw new Error(_0x3c328b['BmWqr']);const _0x2b23da=Boolean(_0x3e4ddb['cdpEndpoint']),_0x4e8643=!_0x3e4ddb[_0x41d850(0x215)]&&!_0x2b23da,_0x307665=process['stdin'][_0x41d850(0x20c)]&&process['stdout']['isTTY'];if(!_0x307665&&!_0x3e4ddb[_0x41d850(0x1fb)]&&!_0x2b23da)throw new Error(_0x41d850(0x1bf));const _0x52935c=findExistingEnv(_0x18f5fa);let _0x5ca1da=null;if(_0x52935c){if(!_0x307665)_0x5ca1da=_0x52935c;else{if(_0x3c328b['Jnvom'](_0x52935c[_0x41d850(0x1c5)],_0x5a5041)){const {overwrite:_0xd3390}=await _0x1fd844[_0x41d850(0x20e)]([{'type':_0x3c328b['HTZKa'],'name':_0x41d850(0x216),'message':'Profile\x20\x22'+_0x18f5fa+_0x41d850(0x1ca),'default':![]}]);if(!_0xd3390){console[_0x41d850(0x1cb)]('Aborted.');return;}_0x5ca1da=_0x52935c;}else{const _0x34eb29=_0x3c328b[_0x41d850(0x1e1)](_0x52935c['location'],_0x41d850(0x201))?_0x3c328b[_0x41d850(0x1d0)]:_0x52935c['location'];console[_0x41d850(0x217)]('\x0a⚠️\x20\x20Profile\x20\x22'+_0x18f5fa+'\x22\x20already\x20exists\x20in\x20'+_0x34eb29+':\x20'+_0x52935c['path']),console['error']('\x20\x20\x20Creating\x20it\x20in\x20'+_0x5a5041+_0x41d850(0x1f3));const {shouldReplace:_0x2abf2d}=await _0x1fd844[_0x41d850(0x20e)]([{'type':'confirm','name':_0x3c328b['WTMIc'],'message':'Delete\x20existing\x20and\x20create\x20new\x20in\x20'+_0x5a5041+'?','default':![]}]);if(!_0x2abf2d){console['log'](_0x3c328b[_0x41d850(0x1fc)]);return;}_0x5ca1da=_0x52935c;}}}_0x4ae4ee?.['trackPhaseStart'](_0x3c328b[_0x41d850(0x1d1)]);let _0xd0c93f='';if(_0x2b23da)console['log'](_0x41d850(0x1d5)),console['log']('\x20\x20Configuring\x20Ranger\x20to\x20connect\x20to:\x20'+_0x3e4ddb['cdpEndpoint']),console[_0x41d850(0x1cb)](_0x3c328b['YqLMr']);else{if(_0x3e4ddb['url']){_0xd0c93f=_0x3e4ddb['url'];const _0x1190a3=await checkUrlReachability(_0xd0c93f);if(!_0x1190a3['ok']&&!_0x3e4ddb[_0x41d850(0x210)])throw new Error('Could\x20not\x20reach\x20'+_0xd0c93f+':\x20'+_0x1190a3['error']+_0x41d850(0x1c3));!_0x1190a3['ok']&&_0x3e4ddb['force']&&console['log']('⚠\x20Could\x20not\x20reach\x20'+_0xd0c93f+':\x20'+_0x1190a3['error']+_0x41d850(0x200));}else{console[_0x41d850(0x1cb)](_0x41d850(0x1bd)),console[_0x41d850(0x1cb)](_0x41d850(0x206)),console['log']('\x20\x20Ranger\x20will\x20open\x20it\x20in\x20a\x20browser\x20so\x20you\x20can\x20log\x20in\x20and\x20save\x20your\x20session.\x0a');let _0x5b4655=![];while(!![]){const _0x5d78a0=await _0x1fd844[_0x41d850(0x20e)]([{'type':_0x41d850(0x20f),'name':_0x41d850(0x1cc),'message':_0x5b4655?'Enter\x20a\x20new\x20URL\x20(or\x20press\x20enter\x20to\x20keep\x20current):':'What\x20is\x20the\x20URL\x20of\x20your\x20running\x20app?','default':_0xd0c93f||_0x3c328b['wdlUP']}]);_0xd0c93f=_0x5d78a0['baseUrl'];const _0x3cf116=await checkUrlReachability(_0xd0c93f);if(_0x3cf116['ok'])break;const _0x3fa5dd=/^[a-zA-Z][\w+.-]*:\/\//['test'](_0xd0c93f),_0x5e374a=_0x3cf116[_0x41d850(0x1f9)]&&!_0x3fa5dd,_0x332a0d=_0x5e374a?'http://'+_0xd0c93f:null;_0x5b4655=!![],console['log']('\x0a\x20\x20Could\x20not\x20reach\x20'+_0xd0c93f+':\x20'+_0x3cf116['error']);_0x332a0d&&console['log'](_0x41d850(0x1ff)+_0x332a0d+'?');const {action:_0x184eeb}=await _0x1fd844['prompt']([{'type':_0x3c328b[_0x41d850(0x1ec)],'name':'action','message':_0x41d850(0x1e6),'choices':[..._0x332a0d?[{'name':_0x41d850(0x1dc)+_0x332a0d,'value':'use_suggestion'}]:[],{'name':_0x3c328b['HqntQ'],'value':_0x3c328b[_0x41d850(0x1e3)]},{'name':'Continue\x20anyway','value':_0x41d850(0x1fd)}]}]);if(_0x3c328b['Jnvom'](_0x184eeb,_0x41d850(0x1cd))&&_0x332a0d){_0xd0c93f=_0x332a0d;const _0x4ae839=await _0x3c328b[_0x41d850(0x1e0)](checkUrlReachability,_0xd0c93f);if(_0x4ae839['ok'])break;console['log']('\x0a\x20\x20Still\x20could\x20not\x20reach\x20'+_0xd0c93f+':\x20'+_0x4ae839[_0x41d850(0x217)]);}else{if(_0x184eeb===_0x41d850(0x1fd))break;}}}}_0x4ae4ee?.['trackPhaseEnd'](_0x3c328b[_0x41d850(0x1d1)]),await mkdir(_0x263cc8,{'recursive':!![]});const _0x2889a4=await mkdtemp(join(_0x263cc8,_0x41d850(0x1c9)+_0x18f5fa+'-')),_0x703351=join(_0x2889a4,'auth.json');try{if(_0x4e8643){_0x4ae4ee?.['trackPhaseStart'](_0x41d850(0x1f0)),console['log'](_0x3c328b[_0x41d850(0x20d)]),console['log'](_0x3c328b['EERCL']),console['log'](_0x3c328b['cCdPV']);!_0x307665?(console[_0x41d850(0x1cb)]('\x0a\x20\x20\x20⚠\x20This\x20step\x20requires\x20human\x20interaction\x20in\x20a\x20browser.'),console[_0x41d850(0x1cb)](_0x3c328b['qVkZd'])):console['log']('');await new Promise(_0x16f878=>setTimeout(_0x16f878,0xbb8));const _0x24cec5=await chromium['launch']({'headless':![]});try{const _0x2f63e1=await _0x24cec5[_0x41d850(0x1c7)]();await _0x3c328b['KaQaG'](addProfileSetupBanner,_0x2f63e1);const _0x119fd3=await _0x2f63e1['newPage']();await _0x119fd3['goto'](_0x3c328b[_0x41d850(0x1bb)](_0xd0c93f,_0x3c328b['foNGf'])),await new Promise(_0x378d0e=>{const _0x2648a1=_0x41d850;_0x119fd3['on'](_0x3c328b[_0x2648a1(0x1d7)],async()=>{const _0x3b4791=_0x2648a1;try{console['log']('Saving\x20authentication\x20state...'),await _0x2f63e1[_0x3b4791(0x1c4)]({'path':_0x703351});}catch{}_0x378d0e();});});}finally{await _0x24cec5[_0x41d850(0x1eb)]()[_0x41d850(0x1e5)](()=>{});}if(_0x374cea){const _0x2208a1=await readFile(_0x703351,'utf-8'),_0x17e603=await getToken();if(!_0x17e603){console['error'](_0x3c328b[_0x41d850(0x1e8)]),await unlink(_0x703351)['catch'](()=>{});throw new Error('Missing\x20API\x20token;\x20aborting\x20CI\x20profile\x20creation.');}else{const _0x31e4a6=encrypt(_0x2208a1,_0x17e603);await _0x3c328b['UueUa'](writeFile,_0x703351+'.enc',_0x31e4a6),await _0x3c328b[_0x41d850(0x1f8)](unlink,_0x703351),console[_0x41d850(0x1cb)](_0x41d850(0x1db)+_0x703351+'.enc'),console[_0x41d850(0x1cb)]('\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.'),console[_0x41d850(0x1cb)](_0x41d850(0x1ce));}}else console['log'](_0x41d850(0x1e7)+_0x703351);_0x4ae4ee?.['trackPhaseEnd']('browser_auth');}_0x4ae4ee?.['trackPhaseStart']('config_write');const _0x11a196={};_0xd0c93f&&(_0x11a196['baseUrl']=_0xd0c93f);_0x3e4ddb[_0x41d850(0x1f5)]&&(_0x11a196['cdpEndpoint']=_0x3e4ddb[_0x41d850(0x1f5)],_0x11a196['isElectron']=!![]);await _0x3c328b[_0x41d850(0x1df)](writeFile,join(_0x2889a4,_0x3c328b[_0x41d850(0x203)]),JSON[_0x41d850(0x1ee)](_0x11a196,null,0x2)),console[_0x41d850(0x1cb)]('✓\x20Created\x20settings:\x20'+_0x3c328b[_0x41d850(0x1f4)](join,_0x5e01f4,_0x3c328b[_0x41d850(0x203)]));if(_0x5ca1da?.[_0x41d850(0x1c5)]===_0x5a5041){const _0x1b9214=_0x5ca1da[_0x41d850(0x1d9)]+_0x41d850(0x1fa)+Date[_0x41d850(0x1ef)]();await _0x3c328b[_0x41d850(0x1e2)](rename,_0x5ca1da[_0x41d850(0x1d9)],_0x1b9214);try{await _0x3c328b[_0x41d850(0x204)](rename,_0x2889a4,_0x5e01f4);}catch(_0x1debf5){await _0x3c328b[_0x41d850(0x1f4)](rename,_0x1b9214,_0x5ca1da['path']);throw _0x1debf5;}try{await _0x3c328b[_0x41d850(0x1e4)](rm,_0x1b9214,{'recursive':!![]});}catch{console[_0x41d850(0x1cb)](_0x41d850(0x1f1)+_0x1b9214);}}else{await _0x3c328b[_0x41d850(0x1e2)](rename,_0x2889a4,_0x5e01f4);if(_0x5ca1da)try{await rm(_0x5ca1da[_0x41d850(0x1d9)],{'recursive':!![]}),console['log']('Removed\x20existing\x20profile\x20at\x20'+_0x5ca1da[_0x41d850(0x1d9)]);}catch{console[_0x41d850(0x1cb)]('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20at\x20'+_0x5ca1da[_0x41d850(0x1d9)]);}}try{await writeActiveProfileName(_0x18f5fa),console['log'](_0x41d850(0x1c0)+_0x18f5fa);}catch{console[_0x41d850(0x1cb)](_0x3c328b['tGKPD']);}_0x4ae4ee?.[_0x41d850(0x207)](_0x3c328b['zuXbT']),console['log']('\x0a\x20\x20Profile\x20\x22'+_0x18f5fa+'\x22\x20configured');}catch(_0x770435){await _0x3c328b[_0x41d850(0x1e4)](rm,_0x2889a4,{'recursive':!![],'force':!![]});throw _0x770435;}}
1
+ function _0xa268(){const _0x522b71=['Invalid\x20URL','mUNpH','continue','5128186wdxgfb','--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.','WfPXI','3726MPJLYN','HCqBS','McHMG','rzURa','launch','Continue\x20anyway','local','--url\x20and\x20--cdp-endpoint\x20are\x20mutually\x20exclusive.\x20Use\x20--url\x20for\x20web\x20apps\x20or\x20--cdp-endpoint\x20for\x20Electron/CDP\x20apps,\x20not\x20both.','KBpad','RvtXo','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','\x20\x20Set\x20active\x20profile:\x20','1510362QHOMat','5410msIFps','stdin','\x22\x20already\x20exists.\x20Overwrite?','Enter\x20a\x20different\x20URL','\x20\x20Make\x20sure\x20your\x20app\x20is\x20running\x20locally\x20before\x20continuing.','\x0a🔌\x20CDP\x20Profile\x20Setup\x0a','\x0a📋\x20Authentication\x20Setup','uwVQn','Enter\x20a\x20new\x20URL\x20(or\x20press\x20enter\x20to\x20keep\x20current):','50xMebEd','\x20\x20Ranger\x20will\x20open\x20it\x20in\x20a\x20browser\x20so\x20you\x20can\x20log\x20in\x20and\x20save\x20your\x20session.\x0a','Uqouk','TypeError','prompt','message','baseUrl','trackPhaseEnd','Missing\x20API\x20token;\x20aborting\x20CI\x20profile\x20creation.','Could\x20not\x20reach\x20','HRKJL','Warning:\x20Profile\x20created,\x20but\x20failed\x20to\x20mark\x20it\x20as\x20active.','catch','\x0a\x20\x20Could\x20not\x20reach\x20','tJebU','kOIdT','browser_auth','✓\x20Auth\x20state\x20saved\x20to:\x20','location','retry','\x22\x20configured','\x0a\x20\x20Still\x20could\x20not\x20reach\x20','--cdp-endpoint\x20must\x20not\x20be\x20empty.\x20Provide\x20the\x20CDP\x20URL,\x20e.g.\x20--cdp-endpoint\x20http://localhost:9222','mgdfU','NoFcp','\x20\x20\x20A\x20browser\x20will\x20open.\x20Please\x20log\x20in\x20to\x20the\x20profile\x20you\x20want\x20to\x20test\x20so\x20Ranger\x20can\x20access\x20it.','494877kmZKJS','Use\x20','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','path','Saving\x20authentication\x20state...','What\x20would\x20you\x20like\x20to\x20do?','930645eaVouj','✓\x20Created\x20settings:\x20','trackPhaseStart','3138496AAzmxk','url','\x20\x20Configuring\x20Ranger\x20to\x20connect\x20to:\x20','HaLcO','.backup-','config_write','SxSUi','\x20would\x20shadow\x20the\x20existing\x20profile.','force','Aborted.','log','error','manual','183402WSMysB','url_setup','\x20(continuing\x20with\x20--force)','12MotrUe','newPage','yYjpl','ixKcc','.enc','piBzz','stdout','\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','NCcfS','confirm','OyFXN','status','VcqpP','close','qNDiP','\x20\x20\x20When\x20done\x20logging\x20in,\x20close\x20the\x20browser\x20to\x20save\x20the\x20session.','wUoSA','cdpEndpoint','isProtocolError','WFJBG','vfsbc','ikdbS','\x20\x20Could\x20not\x20encrypt:\x20No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]'];_0xa268=function(){return _0x522b71;};return _0xa268();}(function(_0x9adc7a,_0x23c3f8){const _0x1445d3=_0x20e1,_0x3b22cc=_0x9adc7a();while(!![]){try{const _0x57c651=parseInt(_0x1445d3(0x1fe))/0x1+parseInt(_0x1445d3(0x22a))/0x2+parseInt(_0x1445d3(0x24e))/0x3*(-parseInt(_0x1445d3(0x201))/0x4)+parseInt(_0x1445d3(0x22b))/0x5*(-parseInt(_0x1445d3(0x21e))/0x6)+parseInt(_0x1445d3(0x21b))/0x7+parseInt(_0x1445d3(0x1f1))/0x8+-parseInt(_0x1445d3(0x254))/0x9*(parseInt(_0x1445d3(0x234))/0xa);if(_0x57c651===_0x23c3f8)break;else _0x3b22cc['push'](_0x3b22cc['shift']());}catch(_0x488eac){_0x3b22cc['push'](_0x3b22cc['shift']());}}}(_0xa268,0x5cb15));import{mkdir,writeFile,readFile,unlink,rm,mkdtemp,rename}from'fs/promises';import{join}from'path';import _0x56d22c from'inquirer';import{chromium}from'playwright';import{findExistingEnv}from'./utils/settings.js';import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getRangerDir}from'./utils/rangerRoot.js';import{writeActiveProfileName}from'./utils/activeProfile.js';import{addProfileSetupBanner}from'./utils/profileSetupBanner.js';async function checkUrlReachability(_0x3149c0){const _0x53ce32=_0x20e1,_0x387f2d={'RvtXo':function(_0x556230,_0x24dbbd,_0x327a55){return _0x556230(_0x24dbbd,_0x327a55);},'VuMFL':_0x53ce32(0x1fd),'RxJCj':function(_0x462555,_0x25baf3){return _0x462555(_0x25baf3);},'HCqBS':function(_0x3fa889,_0xcf8196){return _0x3fa889<_0xcf8196;},'HcePm':function(_0x4fa975,_0x439e00){return _0x4fa975(_0x439e00);},'WfPXI':_0x53ce32(0x218),'vfsbc':function(_0x469239,_0x6d150c){return _0x469239===_0x6d150c;},'oRoct':'fetch\x20failed'};try{const _0x32f1cb=new AbortController(),_0x2ce009=_0x387f2d['RvtXo'](setTimeout,()=>_0x32f1cb['abort'](),0x1388),_0x1045f4=await _0x387f2d[_0x53ce32(0x227)](fetch,_0x3149c0,{'method':'HEAD','signal':_0x32f1cb['signal'],'redirect':_0x387f2d['VuMFL']});_0x387f2d['RxJCj'](clearTimeout,_0x2ce009);if(_0x387f2d[_0x53ce32(0x21f)](_0x1045f4[_0x53ce32(0x20c)],0x190))return{'ok':!![]};return{'ok':![],'error':'HTTP\x20'+_0x1045f4[_0x53ce32(0x20c)]};}catch(_0x506d1f){const _0xda77fd=_0x506d1f,_0x1c34e7=_0xda77fd[_0x53ce32(0x239)]||_0x387f2d['HcePm'](String,_0x506d1f),_0x698da7=_0x1c34e7['includes'](_0x387f2d[_0x53ce32(0x21d)])||_0x387f2d[_0x53ce32(0x215)](_0xda77fd['name'],_0x53ce32(0x237))||_0x1c34e7['includes'](_0x387f2d['oRoct']);return{'ok':![],'error':_0x1c34e7,'isProtocolError':_0x698da7};}}function _0x20e1(_0x43d4dd,_0x50bea9){_0x43d4dd=_0x43d4dd-0x1ef;const _0xa26890=_0xa268();let _0x20e118=_0xa26890[_0x43d4dd];return _0x20e118;}export async function addEnv(_0x10671a,_0x3ffea6={},_0x367bf1){const _0x2f33b3=_0x20e1,_0x508a61={'GZagd':_0x2f33b3(0x252),'ixKcc':function(_0x3883db){return _0x3883db();},'OyFXN':'close','LaIxW':function(_0x40ab0e,_0x34db8a){return _0x40ab0e===_0x34db8a;},'rzURa':_0x2f33b3(0x24a),'mCAyT':_0x2f33b3(0x225),'nCmGt':function(_0x4ff3b,_0x1d5a45){return _0x4ff3b===_0x1d5a45;},'WFJBG':_0x2f33b3(0x20a),'wUoSA':'overwrite','AAJml':'Aborted.','ikdbS':'root\x20(.ranger/)','HRKJL':_0x2f33b3(0x1ff),'mUNpH':'\x20\x20Make\x20sure\x20your\x20Electron\x20app\x20(or\x20browser)\x20is\x20running\x20with\x20remote\x20debugging\x20enabled.\x0a','kOIdT':_0x2f33b3(0x235),'VcqpP':'input','McHMG':_0x2f33b3(0x23a),'yYjpl':_0x2f33b3(0x233),'SxjfC':'What\x20is\x20the\x20URL\x20of\x20your\x20running\x20app?','mgdfU':'http://localhost:3000','MArZO':'list','WftXR':_0x2f33b3(0x253),'ECHhc':_0x2f33b3(0x22e),'gvfHT':function(_0x5decba,_0x4bc190){return _0x5decba(_0x4bc190);},'uzTZR':function(_0x5545fa,_0x174ce8,_0x35a027){return _0x5545fa(_0x174ce8,_0x35a027);},'NoFcp':'auth.json','GYvBQ':_0x2f33b3(0x231),'UvLsE':function(_0x88bc1f,_0x1b3bef){return _0x88bc1f(_0x1b3bef);},'GWIwp':function(_0x43cfe7,_0x460540){return _0x43cfe7||_0x460540;},'uwVQn':'about:blank','KBpad':'utf-8','SipXG':_0x2f33b3(0x217),'piBzz':function(_0x17bfe0,_0x3a313a){return _0x17bfe0(_0x3a313a);},'qNDiP':_0x2f33b3(0x23c),'SxSUi':function(_0xbffce5,_0x3065b4,_0x2b572b){return _0xbffce5(_0x3065b4,_0x2b572b);},'NCcfS':function(_0x548d45,_0x11ce49){return _0x548d45+_0x11ce49;},'QEndH':_0x2f33b3(0x250),'HaLcO':_0x2f33b3(0x208),'tJebU':_0x2f33b3(0x244),'UVdaw':'settings.json','Uqouk':function(_0x5eecd2,_0xf99845,_0x2187c6){return _0x5eecd2(_0xf99845,_0x2187c6);},'CwNrE':_0x2f33b3(0x23f),'AvnCu':_0x2f33b3(0x1f6),'qxdEs':function(_0x816e29,_0x509d7d,_0x3381bd){return _0x816e29(_0x509d7d,_0x3381bd);}},_0x387c56=_0x3ffea6['ci']??![],_0x1993a3=_0x387c56?'ci':_0x2f33b3(0x224),_0x416323=join(getRangerDir(),_0x1993a3,_0x10671a),_0x5e06f8=join(_0x508a61[_0x2f33b3(0x204)](getRangerDir),_0x1993a3);if(_0x3ffea6['cdpEndpoint']!==undefined&&_0x508a61['LaIxW'](_0x3ffea6['cdpEndpoint']['trim'](),''))throw new Error(_0x508a61[_0x2f33b3(0x221)]);if(_0x3ffea6[_0x2f33b3(0x212)]&&_0x3ffea6[_0x2f33b3(0x1f2)])throw new Error(_0x508a61['mCAyT']);if(_0x3ffea6['cdpEndpoint']&&_0x3ffea6['ci'])throw new Error(_0x2f33b3(0x21c));const _0x13301d=Boolean(_0x3ffea6[_0x2f33b3(0x212)]),_0x367598=!_0x3ffea6['skipAuth']&&!_0x13301d,_0x532250=process[_0x2f33b3(0x22c)]['isTTY']&&process[_0x2f33b3(0x207)]['isTTY'];if(!_0x532250&&!_0x3ffea6[_0x2f33b3(0x1f2)]&&!_0x13301d)throw new Error(_0x2f33b3(0x228));const _0x524e41=findExistingEnv(_0x10671a);let _0x52b3b0=null;if(_0x524e41){if(!_0x532250)_0x52b3b0=_0x524e41;else{if(_0x508a61['nCmGt'](_0x524e41[_0x2f33b3(0x246)],_0x1993a3)){const {overwrite:_0x5584cf}=await _0x56d22c['prompt']([{'type':_0x508a61[_0x2f33b3(0x214)],'name':_0x508a61[_0x2f33b3(0x211)],'message':'Profile\x20\x22'+_0x10671a+_0x2f33b3(0x22d),'default':![]}]);if(!_0x5584cf){console['log'](_0x508a61['AAJml']);return;}_0x52b3b0=_0x524e41;}else{const _0x2f3793=_0x524e41[_0x2f33b3(0x246)]==='legacy'?_0x508a61[_0x2f33b3(0x216)]:_0x524e41[_0x2f33b3(0x246)];console['error']('\x0a⚠️\x20\x20Profile\x20\x22'+_0x10671a+'\x22\x20already\x20exists\x20in\x20'+_0x2f3793+':\x20'+_0x524e41[_0x2f33b3(0x251)]),console['error']('\x20\x20\x20Creating\x20it\x20in\x20'+_0x1993a3+_0x2f33b3(0x1f8));const {shouldReplace:_0x23cfc3}=await _0x56d22c[_0x2f33b3(0x238)]([{'type':_0x2f33b3(0x20a),'name':'shouldReplace','message':'Delete\x20existing\x20and\x20create\x20new\x20in\x20'+_0x1993a3+'?','default':![]}]);if(!_0x23cfc3){console[_0x2f33b3(0x1fb)](_0x2f33b3(0x1fa));return;}_0x52b3b0=_0x524e41;}}}_0x367bf1?.['trackPhaseStart'](_0x508a61[_0x2f33b3(0x23e)]);let _0x58671d='';if(_0x13301d)console[_0x2f33b3(0x1fb)](_0x2f33b3(0x230)),console['log'](_0x2f33b3(0x1f3)+_0x3ffea6[_0x2f33b3(0x212)]),console['log'](_0x508a61[_0x2f33b3(0x219)]);else{if(_0x3ffea6[_0x2f33b3(0x1f2)]){_0x58671d=_0x3ffea6['url'];const _0x6fbc43=await checkUrlReachability(_0x58671d);if(!_0x6fbc43['ok']&&!_0x3ffea6['force'])throw new Error(_0x2f33b3(0x23d)+_0x58671d+':\x20'+_0x6fbc43[_0x2f33b3(0x1fc)]+'\x0aMake\x20sure\x20your\x20app\x20is\x20running,\x20then\x20try\x20again.\x20To\x20skip\x20this\x20check,\x20pass\x20--force.');!_0x6fbc43['ok']&&_0x3ffea6[_0x2f33b3(0x1f9)]&&console[_0x2f33b3(0x1fb)]('⚠\x20Could\x20not\x20reach\x20'+_0x58671d+':\x20'+_0x6fbc43[_0x2f33b3(0x1fc)]+_0x2f33b3(0x200));}else{console[_0x2f33b3(0x1fb)]('\x0a🌐\x20Profile\x20Setup\x0a'),console[_0x2f33b3(0x1fb)](_0x2f33b3(0x22f)),console['log'](_0x508a61[_0x2f33b3(0x243)]);let _0x593ac2=![];while(!![]){const _0x5b3787=await _0x56d22c[_0x2f33b3(0x238)]([{'type':_0x508a61[_0x2f33b3(0x20d)],'name':_0x508a61[_0x2f33b3(0x220)],'message':_0x593ac2?_0x508a61[_0x2f33b3(0x203)]:_0x508a61['SxjfC'],'default':_0x58671d||_0x508a61[_0x2f33b3(0x24b)]}]);_0x58671d=_0x5b3787['baseUrl'];const _0x46477b=await checkUrlReachability(_0x58671d);if(_0x46477b['ok'])break;const _0x5bd5ef=/^[a-zA-Z][\w+.-]*:\/\//['test'](_0x58671d),_0x4ff905=_0x46477b[_0x2f33b3(0x213)]&&!_0x5bd5ef,_0x5fc0f2=_0x4ff905?'http://'+_0x58671d:null;_0x593ac2=!![],console['log'](_0x2f33b3(0x241)+_0x58671d+':\x20'+_0x46477b[_0x2f33b3(0x1fc)]);_0x5fc0f2&&console['log']('\x20\x20Did\x20you\x20mean\x20'+_0x5fc0f2+'?');const {action:_0x5af2de}=await _0x56d22c[_0x2f33b3(0x238)]([{'type':_0x508a61['MArZO'],'name':'action','message':_0x508a61['WftXR'],'choices':[..._0x5fc0f2?[{'name':_0x2f33b3(0x24f)+_0x5fc0f2,'value':'use_suggestion'}]:[],{'name':_0x508a61['ECHhc'],'value':_0x2f33b3(0x247)},{'name':_0x2f33b3(0x223),'value':'continue'}]}]);if(_0x5af2de==='use_suggestion'&&_0x5fc0f2){_0x58671d=_0x5fc0f2;const _0x2119f8=await _0x508a61['gvfHT'](checkUrlReachability,_0x58671d);if(_0x2119f8['ok'])break;console[_0x2f33b3(0x1fb)](_0x2f33b3(0x249)+_0x58671d+':\x20'+_0x2119f8[_0x2f33b3(0x1fc)]);}else{if(_0x508a61['nCmGt'](_0x5af2de,_0x2f33b3(0x21a)))break;}}}}_0x367bf1?.[_0x2f33b3(0x23b)]('url_setup'),await mkdir(_0x5e06f8,{'recursive':!![]});const _0x2e511c=await mkdtemp(_0x508a61['uzTZR'](join,_0x5e06f8,'.tmp-'+_0x10671a+'-')),_0xbbea5=_0x508a61['uzTZR'](join,_0x2e511c,_0x508a61[_0x2f33b3(0x24c)]);try{if(_0x367598){_0x367bf1?.['trackPhaseStart'](_0x2f33b3(0x244)),console[_0x2f33b3(0x1fb)](_0x508a61['GYvBQ']),console[_0x2f33b3(0x1fb)](_0x2f33b3(0x24d)),console['log'](_0x2f33b3(0x210));!_0x532250?(console['log']('\x0a\x20\x20\x20⚠\x20This\x20step\x20requires\x20human\x20interaction\x20in\x20a\x20browser.'),console['log']('\x20\x20\x20If\x20you\x20are\x20an\x20agent,\x20background\x20this\x20process\x20and\x20let\x20your\x20user\x20know\x20they\x20need\x20to\x20complete\x20browser\x20authentication.\x0a')):console[_0x2f33b3(0x1fb)]('');await new Promise(_0x1787cc=>setTimeout(_0x1787cc,0xbb8));const _0x3ccf77=await chromium[_0x2f33b3(0x222)]({'headless':![]});try{const _0x23c7de=await _0x3ccf77['newContext']();await _0x508a61['UvLsE'](addProfileSetupBanner,_0x23c7de);const _0x3a133d=await _0x23c7de[_0x2f33b3(0x202)]();await _0x3a133d['goto'](_0x508a61['GWIwp'](_0x58671d,_0x508a61[_0x2f33b3(0x232)])),await new Promise(_0x4ae5d7=>{const _0x4d88e2=_0x2f33b3;_0x3a133d['on'](_0x508a61[_0x4d88e2(0x20b)],async()=>{const _0x54e895=_0x4d88e2;try{console['log'](_0x508a61['GZagd']),await _0x23c7de['storageState']({'path':_0xbbea5});}catch{}_0x508a61[_0x54e895(0x204)](_0x4ae5d7);});});}finally{await _0x3ccf77[_0x2f33b3(0x20e)]()[_0x2f33b3(0x240)](()=>{});}if(_0x387c56){const _0x416727=await readFile(_0xbbea5,_0x508a61[_0x2f33b3(0x226)]),_0x252694=await getToken();if(!_0x252694){console[_0x2f33b3(0x1fc)](_0x508a61['SipXG']),await _0x508a61[_0x2f33b3(0x206)](unlink,_0xbbea5)[_0x2f33b3(0x240)](()=>{});throw new Error(_0x508a61[_0x2f33b3(0x20f)]);}else{const _0x44b2f5=encrypt(_0x416727,_0x252694);await _0x508a61[_0x2f33b3(0x1f7)](writeFile,_0x508a61[_0x2f33b3(0x209)](_0xbbea5,'.enc'),_0x44b2f5),await _0x508a61['piBzz'](unlink,_0xbbea5),console['log']('✓\x20Encrypted\x20auth\x20saved\x20to:\x20'+_0xbbea5+_0x2f33b3(0x205)),console['log'](_0x508a61['QEndH']),console[_0x2f33b3(0x1fb)](_0x508a61[_0x2f33b3(0x1f4)]);}}else console['log'](_0x2f33b3(0x245)+_0xbbea5);_0x367bf1?.[_0x2f33b3(0x23b)](_0x508a61[_0x2f33b3(0x242)]);}_0x367bf1?.[_0x2f33b3(0x1f0)]('config_write');const _0x11245a={};_0x58671d&&(_0x11245a[_0x2f33b3(0x23a)]=_0x58671d);_0x3ffea6['cdpEndpoint']&&(_0x11245a[_0x2f33b3(0x212)]=_0x3ffea6['cdpEndpoint'],_0x11245a['isElectron']=!![]);await writeFile(_0x508a61['SxSUi'](join,_0x2e511c,'settings.json'),JSON['stringify'](_0x11245a,null,0x2)),console[_0x2f33b3(0x1fb)](_0x2f33b3(0x1ef)+join(_0x416323,_0x508a61['UVdaw']));if(_0x52b3b0?.[_0x2f33b3(0x246)]===_0x1993a3){const _0x21084d=_0x52b3b0[_0x2f33b3(0x251)]+_0x2f33b3(0x1f5)+Date['now']();await rename(_0x52b3b0['path'],_0x21084d);try{await _0x508a61[_0x2f33b3(0x1f7)](rename,_0x2e511c,_0x416323);}catch(_0x3f9ab){await rename(_0x21084d,_0x52b3b0['path']);throw _0x3f9ab;}try{await _0x508a61[_0x2f33b3(0x1f7)](rm,_0x21084d,{'recursive':!![]});}catch{console[_0x2f33b3(0x1fb)]('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20backup\x20at\x20'+_0x21084d);}}else{await rename(_0x2e511c,_0x416323);if(_0x52b3b0)try{await _0x508a61[_0x2f33b3(0x236)](rm,_0x52b3b0[_0x2f33b3(0x251)],{'recursive':!![]}),console[_0x2f33b3(0x1fb)]('Removed\x20existing\x20profile\x20at\x20'+_0x52b3b0[_0x2f33b3(0x251)]);}catch{console['log']('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20at\x20'+_0x52b3b0['path']);}}try{await writeActiveProfileName(_0x10671a),console['log'](_0x2f33b3(0x229)+_0x10671a);}catch{console[_0x2f33b3(0x1fb)](_0x508a61['CwNrE']);}_0x367bf1?.[_0x2f33b3(0x23b)](_0x508a61['AvnCu']),console[_0x2f33b3(0x1fb)]('\x0a\x20\x20Profile\x20\x22'+_0x10671a+_0x2f33b3(0x248));}catch(_0xf3a399){await _0x508a61['qxdEs'](rm,_0x2e511c,{'recursive':!![],'force':!![]});throw _0xf3a399;}}
@@ -1 +1 @@
1
- function _0x201a(){const _0x5888de=['\x20\x20The\x20encrypted\x20auth.json.enc\x20can\x20be\x20committed.','3pofPNz','log','bTQMb','269753FHobnA','206606lVuBOb','2772568knYRWF','2995410Cjxydh','auth.json','1035DlQEJK','\x0a✓\x20Encrypted\x20auth\x20saved\x20to:\x20','No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','130730RXXczX','1273752cMvgvv','3413572AIEKhU','7SGfutM','Profile\x20\x22','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.'];_0x201a=function(){return _0x5888de;};return _0x201a();}(function(_0x5368e8,_0x53f4db){const _0x5536a1=_0x1179,_0x40eba2=_0x5368e8();while(!![]){try{const _0x100e91=parseInt(_0x5536a1(0x150))/0x1+-parseInt(_0x5536a1(0x151))/0x2*(-parseInt(_0x5536a1(0x15f))/0x3)+parseInt(_0x5536a1(0x15a))/0x4+parseInt(_0x5536a1(0x153))/0x5+-parseInt(_0x5536a1(0x159))/0x6+parseInt(_0x5536a1(0x15b))/0x7*(parseInt(_0x5536a1(0x152))/0x8)+parseInt(_0x5536a1(0x155))/0x9*(-parseInt(_0x5536a1(0x158))/0xa);if(_0x100e91===_0x53f4db)break;else _0x40eba2['push'](_0x40eba2['shift']());}catch(_0x50beed){_0x40eba2['push'](_0x40eba2['shift']());}}}(_0x201a,0x6f6df));import{readFile,writeFile}from'fs/promises';function _0x1179(_0x239e80,_0x381035){_0x239e80=_0x239e80-0x150;const _0x201ab7=_0x201a();let _0x1179e4=_0x201ab7[_0x239e80];return _0x1179e4;}import{join}from'path';import{existsSync}from'fs';import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getEnvDir}from'./utils/settings.js';export async function authEncrypt(_0x4e68eb){const _0x8556f7=_0x1179,_0x852715={'aPNMw':'.enc','bTQMb':function(_0x47ee0c,_0x14fe25){return _0x47ee0c(_0x14fe25);},'LCIMz':'utf-8','aeltR':function(_0x1e70b6,_0x2893c2,_0x3f6863){return _0x1e70b6(_0x2893c2,_0x3f6863);},'GEvhz':_0x8556f7(0x15d),'SzATL':'\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.'},_0x234fcd=getEnvDir(_0x4e68eb),_0x192f3e=join(_0x234fcd,_0x8556f7(0x154)),_0x47778b=_0x192f3e+_0x852715['aPNMw'];if(!_0x852715[_0x8556f7(0x161)](existsSync,_0x234fcd))throw new Error(_0x8556f7(0x15c)+_0x4e68eb+'\x22\x20not\x20found.\x20Run\x20first:\x20ranger\x20profile\x20add\x20'+_0x4e68eb);if(!existsSync(_0x192f3e))throw new Error('No\x20auth.json\x20found\x20at\x20'+_0x192f3e+'.\x20Run\x20first:\x20ranger\x20profile\x20add\x20with\x20authentication,\x20or\x20ranger\x20profile\x20update');const _0x1e6410=await getToken();if(!_0x1e6410)throw new Error(_0x8556f7(0x157));const _0x57a1ea=await readFile(_0x192f3e,_0x852715['LCIMz']),_0x154379=_0x852715['aeltR'](encrypt,_0x57a1ea,_0x1e6410);await writeFile(_0x47778b,_0x154379),console[_0x8556f7(0x160)](_0x8556f7(0x156)+_0x47778b),console[_0x8556f7(0x160)](_0x852715['GEvhz']),console[_0x8556f7(0x160)](_0x852715['SzATL']),existsSync(_0x47778b)&&(console[_0x8556f7(0x160)]('\x0a\x20\x20The\x20plaintext\x20auth.json\x20is\x20gitignored\x20for\x20security.'),console['log'](_0x8556f7(0x15e)));}
1
+ function _0x38c0(){const _0x16635c=['auth.json','2732681HjHDBl','.enc','3488346dQrNhR','No\x20auth.json\x20found\x20at\x20','SdVBC','.\x20Run\x20first:\x20ranger\x20profile\x20add\x20with\x20authentication,\x20or\x20ranger\x20profile\x20update','\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','BFHsw','134700Qumipu','2135732TWWpIm','jLfGr','58668NIjNch','2880845ApLpJc','No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','\x0a✓\x20Encrypted\x20auth\x20saved\x20to:\x20','log','\x22\x20not\x20found.\x20Run\x20first:\x20ranger\x20profile\x20add\x20','387413bXhCga'];_0x38c0=function(){return _0x16635c;};return _0x38c0();}(function(_0x58456e,_0x100b95){const _0x2b198b=_0x59e7,_0x5da3d8=_0x58456e();while(!![]){try{const _0x66c367=-parseInt(_0x2b198b(0x115))/0x1+parseInt(_0x2b198b(0x10f))/0x2+-parseInt(_0x2b198b(0x10c))/0x3+parseInt(_0x2b198b(0x10d))/0x4+-parseInt(_0x2b198b(0x110))/0x5+parseInt(_0x2b198b(0x106))/0x6+parseInt(_0x2b198b(0x117))/0x7;if(_0x66c367===_0x100b95)break;else _0x5da3d8['push'](_0x5da3d8['shift']());}catch(_0x5bb097){_0x5da3d8['push'](_0x5da3d8['shift']());}}}(_0x38c0,0x808df));import{readFile,writeFile}from'fs/promises';import{join}from'path';function _0x59e7(_0xf70f05,_0x7d64dc){_0xf70f05=_0xf70f05-0x106;const _0x38c0b5=_0x38c0();let _0x59e792=_0x38c0b5[_0xf70f05];return _0x59e792;}import{existsSync}from'fs';import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getEnvDir}from'./utils/settings.js';export async function authEncrypt(_0x388ea7){const _0x352b35=_0x59e7,_0x1cbe90={'FmavB':function(_0x4fb418,_0x105f4b){return _0x4fb418(_0x105f4b);},'Pwoys':_0x352b35(0x116),'GvmsY':function(_0x4acc45,_0x5c1cbf){return _0x4acc45+_0x5c1cbf;},'BFHsw':function(_0x161339,_0x45f0ea){return _0x161339(_0x45f0ea);},'Brdgl':function(_0x3c0fe8,_0x1bedc3,_0x39d371){return _0x3c0fe8(_0x1bedc3,_0x39d371);},'jLfGr':function(_0x472d52,_0x5d67db,_0x4d1a87){return _0x472d52(_0x5d67db,_0x4d1a87);},'fsLhP':'\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','xbOBs':_0x352b35(0x10a),'SdVBC':function(_0x14ab38,_0x2a5674){return _0x14ab38(_0x2a5674);}},_0x31d082=_0x1cbe90['FmavB'](getEnvDir,_0x388ea7),_0x2fcc11=join(_0x31d082,_0x1cbe90['Pwoys']),_0x1adaae=_0x1cbe90['GvmsY'](_0x2fcc11,_0x352b35(0x118));if(!_0x1cbe90['FmavB'](existsSync,_0x31d082))throw new Error('Profile\x20\x22'+_0x388ea7+_0x352b35(0x114)+_0x388ea7);if(!_0x1cbe90[_0x352b35(0x10b)](existsSync,_0x2fcc11))throw new Error(_0x352b35(0x107)+_0x2fcc11+_0x352b35(0x109));const _0x27a811=await getToken();if(!_0x27a811)throw new Error(_0x352b35(0x111));const _0x227468=await readFile(_0x2fcc11,'utf-8'),_0x8b9521=_0x1cbe90['Brdgl'](encrypt,_0x227468,_0x27a811);await _0x1cbe90[_0x352b35(0x10e)](writeFile,_0x1adaae,_0x8b9521),console['log'](_0x352b35(0x112)+_0x1adaae),console['log'](_0x1cbe90['fsLhP']),console['log'](_0x1cbe90['xbOBs']),_0x1cbe90[_0x352b35(0x108)](existsSync,_0x1adaae)&&(console['log']('\x0a\x20\x20The\x20plaintext\x20auth.json\x20is\x20gitignored\x20for\x20security.'),console[_0x352b35(0x113)]('\x20\x20The\x20encrypted\x20auth.json.enc\x20can\x20be\x20committed.'));}
@@ -1 +1 @@
1
- const _0x1b166c=_0x3df4;(function(_0x5bd542,_0xd6301e){const _0x5e8005=_0x3df4,_0x9bb78b=_0x5bd542();while(!![]){try{const _0x2bdbaa=-parseInt(_0x5e8005(0xc0))/0x1*(parseInt(_0x5e8005(0xcf))/0x2)+-parseInt(_0x5e8005(0xa9))/0x3+-parseInt(_0x5e8005(0xae))/0x4+-parseInt(_0x5e8005(0xdc))/0x5*(-parseInt(_0x5e8005(0xc5))/0x6)+parseInt(_0x5e8005(0xb3))/0x7+parseInt(_0x5e8005(0xd1))/0x8*(parseInt(_0x5e8005(0xb0))/0x9)+-parseInt(_0x5e8005(0xb7))/0xa*(-parseInt(_0x5e8005(0xc8))/0xb);if(_0x2bdbaa===_0xd6301e)break;else _0x9bb78b['push'](_0x9bb78b['shift']());}catch(_0xaeb925){_0x9bb78b['push'](_0x9bb78b['shift']());}}}(_0x13a8,0xf1134));import{rm,readFile,writeFile}from'fs/promises';import{join}from'path';function _0x13a8(){const _0x4ed2c8=['claude','platform','e2e-test-recommender','10UgKCng','plugin','ixXxf','Nothing\x20to\x20clean\x20up.\x0a','CnZOC','4068324hbUjjB','ctCdD','rNCDO','1485PcAzNm','ELHEO','KpJWL','LvYAN','win32','trailhead','lfROS','39892ZHoZKc','pASoQ','384200JyKMcW','filter','project','user','--scope','bug-bash','sluvP','✓\x20Removed\x20OpenCode\x20plugin\x20(project\x20config)','YRxAr','close','YWaPP','10ryQLRe','✓\x20Uninstalled\x20Claude\x20plugin\x20(project\x20scope)','1542153nLzHJZ','✓\x20Uninstalled\x20Claude\x20plugin\x20(user\x20scope)','IKsXq','zCWnO','isArray','7132508UwFlyk','replace','63vwfLXz','\x0a🧹\x20Cleaning\x20up\x20Ranger\x20artifacts...\x0a','length','5493838nyHMef','utf-8','string','fWjjP','74590NqUsnC','log','✓\x20Removed\x20user\x20skill:\x20','IyGvm','ranger@trailhead','pipe'];_0x13a8=function(){return _0x4ed2c8;};return _0x13a8();}import{existsSync}from'fs';import{spawn}from'child_process';import{deleteAllCredentials}from'./utils/keychain.js';function _0x3df4(_0x239fae,_0x1a41b6){_0x239fae=_0x239fae-0xa8;const _0x13a8a0=_0x13a8();let _0x3df422=_0x13a8a0[_0x239fae];return _0x3df422;}import{getProjectSkillsDir,getUserSkillsDir}from'./utils/claudeConfig.js';import{getRangerDir}from'./utils/rangerRoot.js';import{getCacheFile}from'./utils/sessionCache.js';import{getOpencodeConfigDir,getOpencodeSkillsDir}from'./utils/opencodeConfig.js';const skillsToRemove=['ranger','feature-tracker',_0x1b166c(0xd6),_0x1b166c(0xbf)],opencodePluginName='@ranger-testing/opencode-plugin';function parseJsonc(_0x459632){const _0x39e476=_0x1b166c,_0x2d5750=_0x459632['replace'](/\/\*[\s\S]*?\*\//g,''),_0x365736=_0x2d5750['replace'](/^\s*\/\/.*$/gm,''),_0x4ca2b9=_0x365736[_0x39e476(0xaf)](/,\s*([}\]])/g,'$1');return JSON['parse'](_0x4ca2b9);}async function removeOpencodePluginConfig(_0x191c9a){const _0x43c63d=_0x1b166c,_0x3860b7={'YWaPP':function(_0x5c5c2c,_0x36b864){return _0x5c5c2c!==_0x36b864;},'iSCxv':_0x43c63d(0xb5),'KpJWL':function(_0x3f3cda,_0x5c3461){return _0x3f3cda===_0x5c3461;},'CnZOC':function(_0x5e1c6b,_0x3a2adf,_0x640a41){return _0x5e1c6b(_0x3a2adf,_0x640a41);},'ixXxf':function(_0x33de5a,_0x16ba21){return _0x33de5a+_0x16ba21;}};if(!existsSync(_0x191c9a))return![];let _0xcac010;try{const _0x28af1b=await readFile(_0x191c9a,_0x43c63d(0xb4));_0xcac010=parseJsonc(_0x28af1b);}catch{return![];}const _0x2d5e41=Array[_0x43c63d(0xad)](_0xcac010['plugin'])?_0xcac010[_0x43c63d(0xc1)]:[];if(_0x2d5e41[_0x43c63d(0xb2)]===0x0)return![];const _0x2d46ce=_0x2d5e41[_0x43c63d(0xd2)](_0x40bf7c=>{const _0x573ac9=_0x43c63d;if(_0x3860b7[_0x573ac9(0xdb)](typeof _0x40bf7c,_0x3860b7['iSCxv']))return!![];return _0x40bf7c!==opencodePluginName;});if(_0x3860b7[_0x43c63d(0xca)](_0x2d46ce['length'],_0x2d5e41['length']))return![];return _0x2d46ce['length']===0x0?delete _0xcac010['plugin']:_0xcac010[_0x43c63d(0xc1)]=_0x2d46ce,await _0x3860b7[_0x43c63d(0xc4)](writeFile,_0x191c9a,_0x3860b7[_0x43c63d(0xc2)](JSON['stringify'](_0xcac010,null,0x2),'\x0a')),!![];}async function uninstallClaudePlugin(_0x4529e1){const _0x3a9933=_0x1b166c,_0x36d1e9={'IyGvm':function(_0x4dd4d8,_0x13d904){return _0x4dd4d8(_0x13d904);},'lfROS':_0x3a9933(0xc1),'gguZW':'uninstall','eGqmy':_0x3a9933(0xbb),'WBOHK':_0x3a9933(0xd5),'NmLnc':function(_0x8661c1,_0x34aa7a,_0x5a5c22,_0x2bf5be){return _0x8661c1(_0x34aa7a,_0x5a5c22,_0x2bf5be);},'kTMaQ':'claude','hYKlS':function(_0xd3c047,_0x5cd94){return _0xd3c047===_0x5cd94;},'GFDgu':_0x3a9933(0xcc),'pASoQ':'error'};return new Promise(_0x3a899e=>{const _0x487c23=_0x3a9933,_0x45bad8={'lTPXL':function(_0x2e84c6,_0x382f14){const _0x3ab039=_0x3df4;return _0x36d1e9[_0x3ab039(0xba)](_0x2e84c6,_0x382f14);}},_0x2b8146=[_0x36d1e9[_0x487c23(0xce)],_0x36d1e9['gguZW'],_0x36d1e9['eGqmy']];_0x4529e1&&_0x2b8146['push'](_0x36d1e9['WBOHK'],_0x4529e1);const _0x5acc5a=_0x36d1e9['NmLnc'](spawn,_0x36d1e9['kTMaQ'],_0x2b8146,{'stdio':_0x487c23(0xbc),'shell':_0x36d1e9['hYKlS'](process[_0x487c23(0xbe)],_0x36d1e9['GFDgu'])});_0x5acc5a['on'](_0x487c23(0xda),_0x5b22b3=>{_0x3a899e(_0x5b22b3===0x0);}),_0x5acc5a['on'](_0x36d1e9[_0x487c23(0xd0)],()=>{_0x45bad8['lTPXL'](_0x3a899e,![]);});});}async function removeMarketplace(){const _0x3f2433=_0x1b166c,_0x42ef7d={'rNCDO':function(_0x4135c6,_0x1386bc){return _0x4135c6(_0x1386bc);},'VeqZB':_0x3f2433(0xbd),'nOcyG':'remove','fWjjP':_0x3f2433(0xcc),'zCWnO':'close'};return new Promise(_0x2e2343=>{const _0x279555=_0x3f2433,_0x19b6ef={'ctCdD':function(_0x45ef47,_0x21bf40){const _0x84f539=_0x3df4;return _0x42ef7d[_0x84f539(0xc7)](_0x45ef47,_0x21bf40);}},_0x375161=spawn(_0x42ef7d['VeqZB'],[_0x279555(0xc1),'marketplace',_0x42ef7d['nOcyG'],_0x279555(0xcd)],{'stdio':'pipe','shell':process['platform']===_0x42ef7d[_0x279555(0xb6)]});_0x375161['on'](_0x42ef7d[_0x279555(0xac)],_0x182646=>{const _0x5db552=_0x279555;_0x19b6ef[_0x5db552(0xc6)](_0x2e2343,_0x182646===0x0);}),_0x375161['on']('error',()=>{_0x2e2343(![]);});});}export async function clean(){const _0x2631a6=_0x1b166c,_0x3713a9={'ELHEO':function(_0x4dce78,_0x485664){return _0x4dce78(_0x485664);},'YRxAr':'✓\x20Removed\x20.ranger/\x20directory','IKsXq':function(_0x33a455){return _0x33a455();},'lteHd':function(_0x321d1d,_0x3eaef6,_0x1e2730){return _0x321d1d(_0x3eaef6,_0x1e2730);},'LvYAN':function(_0x2998cb){return _0x2998cb();},'yrGmG':function(_0x3c39d5,_0x4b6c11,_0xce35c){return _0x3c39d5(_0x4b6c11,_0xce35c);},'duoxU':function(_0x21ccf0,_0x194caa,_0x42ff35){return _0x21ccf0(_0x194caa,_0x42ff35);},'eqMFC':function(_0x543012,_0x1f998c){return _0x543012(_0x1f998c);},'VLcGF':function(_0x3a065a,_0x78c94e,_0x28c187){return _0x3a065a(_0x78c94e,_0x28c187);},'xMWJM':function(_0x431543,_0x5399ed){return _0x431543(_0x5399ed);},'sluvP':_0x2631a6(0xd8),'payoC':function(_0x8531e1,_0x4369df,_0x284715){return _0x8531e1(_0x4369df,_0x284715);},'tfovz':'opencode.json','rJQby':_0x2631a6(0xa8),'smtNM':'✓\x20Removed\x20trailhead\x20marketplace'};console[_0x2631a6(0xb8)](_0x2631a6(0xb1));let _0x21a741=![];try{await deleteAllCredentials(),console[_0x2631a6(0xb8)]('✓\x20Removed\x20stored\x20credentials'),_0x21a741=!![];}catch{}const _0x3a165c=getCacheFile();existsSync(_0x3a165c)&&(await _0x3713a9[_0x2631a6(0xc9)](rm,_0x3a165c),_0x21a741=!![]);const _0x4dc712=getRangerDir();_0x3713a9[_0x2631a6(0xc9)](existsSync,_0x4dc712)&&(await rm(_0x4dc712,{'recursive':!![]}),console[_0x2631a6(0xb8)](_0x3713a9[_0x2631a6(0xd9)]),_0x21a741=!![]);const _0x1b721f=_0x3713a9[_0x2631a6(0xab)](getProjectSkillsDir);for(const _0xa32479 of skillsToRemove){const _0x1ba04c=_0x3713a9['lteHd'](join,_0x1b721f,_0xa32479);existsSync(_0x1ba04c)&&(await _0x3713a9['lteHd'](rm,_0x1ba04c,{'recursive':!![]}),console[_0x2631a6(0xb8)]('✓\x20Removed\x20project\x20skill:\x20'+_0xa32479),_0x21a741=!![]);}const _0x2f2305=_0x3713a9[_0x2631a6(0xcb)](getUserSkillsDir);for(const _0x5c348a of skillsToRemove){const _0x425a48=_0x3713a9['yrGmG'](join,_0x2f2305,_0x5c348a);existsSync(_0x425a48)&&(await rm(_0x425a48,{'recursive':!![]}),console['log'](_0x2631a6(0xb9)+_0x5c348a),_0x21a741=!![]);}const _0x4b38aa=_0x3713a9['ELHEO'](getOpencodeSkillsDir,'project');for(const _0x4ee1c9 of skillsToRemove){const _0x10e9e9=join(_0x4b38aa,_0x4ee1c9);_0x3713a9['ELHEO'](existsSync,_0x10e9e9)&&(await _0x3713a9['duoxU'](rm,_0x10e9e9,{'recursive':!![]}),console['log']('✓\x20Removed\x20OpenCode\x20project\x20skill:\x20'+_0x4ee1c9),_0x21a741=!![]);}const _0x10f8bb=_0x3713a9['eqMFC'](getOpencodeSkillsDir,_0x2631a6(0xd4));for(const _0x1841be of skillsToRemove){const _0x3a6f27=join(_0x10f8bb,_0x1841be);existsSync(_0x3a6f27)&&(await rm(_0x3a6f27,{'recursive':!![]}),console['log']('✓\x20Removed\x20OpenCode\x20user\x20skill:\x20'+_0x1841be),_0x21a741=!![]);}const _0x430084=_0x3713a9['VLcGF'](join,_0x3713a9['ELHEO'](getOpencodeConfigDir,_0x2631a6(0xd3)),'opencode.json');await _0x3713a9['xMWJM'](removeOpencodePluginConfig,_0x430084)&&(console[_0x2631a6(0xb8)](_0x3713a9[_0x2631a6(0xd7)]),_0x21a741=!![]);const _0x3b15ba=_0x3713a9['payoC'](join,getOpencodeConfigDir(_0x2631a6(0xd4)),_0x3713a9['tfovz']);await removeOpencodePluginConfig(_0x3b15ba)&&(console['log']('✓\x20Removed\x20OpenCode\x20plugin\x20(user\x20config)'),_0x21a741=!![]);const _0x407c5c=await uninstallClaudePlugin();_0x407c5c&&(console['log'](_0x2631a6(0xaa)),_0x21a741=!![]);const _0x163a9e=await uninstallClaudePlugin('project');_0x163a9e&&(console['log'](_0x3713a9['rJQby']),_0x21a741=!![]);const _0x1ea8b7=await _0x3713a9['LvYAN'](removeMarketplace);_0x1ea8b7&&(console[_0x2631a6(0xb8)](_0x3713a9['smtNM']),_0x21a741=!![]),_0x21a741?console[_0x2631a6(0xb8)]('\x0a✅\x20Cleanup\x20complete!\x0a'):console['log'](_0x2631a6(0xc3));}
1
+ const _0x1747b0=_0x4c5a;(function(_0x1cfad2,_0x2a03ad){const _0x2945b4=_0x4c5a,_0x55a638=_0x1cfad2();while(!![]){try{const _0xa68637=-parseInt(_0x2945b4(0x133))/0x1*(-parseInt(_0x2945b4(0x141))/0x2)+-parseInt(_0x2945b4(0x11e))/0x3+-parseInt(_0x2945b4(0x135))/0x4*(parseInt(_0x2945b4(0x12f))/0x5)+-parseInt(_0x2945b4(0x127))/0x6*(parseInt(_0x2945b4(0x130))/0x7)+-parseInt(_0x2945b4(0x12c))/0x8+parseInt(_0x2945b4(0x142))/0x9+parseInt(_0x2945b4(0x147))/0xa;if(_0xa68637===_0x2a03ad)break;else _0x55a638['push'](_0x55a638['shift']());}catch(_0x1acb80){_0x55a638['push'](_0x55a638['shift']());}}}(_0x568b,0x8f2d8));import{rm,readFile,writeFile}from'fs/promises';import{join}from'path';import{existsSync}from'fs';function _0x4c5a(_0x55a7c0,_0x2ad8ac){_0x55a7c0=_0x55a7c0-0x11a;const _0x568b7e=_0x568b();let _0x4c5a36=_0x568b7e[_0x55a7c0];return _0x4c5a36;}import{spawn}from'child_process';function _0x568b(){const _0x4d4e43=['wOhzR','zrYoz','QLcfY','✓\x20Removed\x20trailhead\x20marketplace','sDQmh','win32','2238yGUmCq','3659922cxatxl','eDLlS','vCjvJ','opencode.json','NFTqQ','19398140bRSnaB','stringify','replace','@ranger-testing/opencode-plugin','bug-bash','close','✓\x20Removed\x20project\x20skill:\x20','dbYZm','AfWCU','994209jTDnip','user','string','platform','isArray','log','IOhlu','MdFCL','PFLOm','652686PZoAYG','\x0a🧹\x20Cleaning\x20up\x20Ranger\x20artifacts...\x0a','claude','✓\x20Removed\x20stored\x20credentials','\x0a✅\x20Cleanup\x20complete!\x0a','2904744MJygAX','pipe','error','3039725xMkYlb','63akxDkr','marketplace','plugin','466PzHSvM','project','4QexfiI','GNYhy','MkbXI','length','giSYX','--scope'];_0x568b=function(){return _0x4d4e43;};return _0x568b();}import{deleteAllCredentials}from'./utils/keychain.js';import{getProjectSkillsDir,getUserSkillsDir}from'./utils/claudeConfig.js';import{getRangerDir}from'./utils/rangerRoot.js';import{getCacheFile}from'./utils/sessionCache.js';import{getOpencodeConfigDir,getOpencodeSkillsDir}from'./utils/opencodeConfig.js';const skillsToRemove=['ranger','feature-tracker',_0x1747b0(0x14b),'e2e-test-recommender'],opencodePluginName=_0x1747b0(0x14a);function parseJsonc(_0xde8ad9){const _0x40156d=_0x1747b0,_0x595551=_0xde8ad9[_0x40156d(0x149)](/\/\*[\s\S]*?\*\//g,''),_0x275ad7=_0x595551['replace'](/^\s*\/\/.*$/gm,''),_0xd703c5=_0x275ad7[_0x40156d(0x149)](/,\s*([}\]])/g,'$1');return JSON['parse'](_0xd703c5);}async function removeOpencodePluginConfig(_0x459d49){const _0x154735=_0x1747b0,_0xd7acae={'kFsRR':function(_0x1d0cff,_0x4581c0){return _0x1d0cff!==_0x4581c0;},'zrYoz':function(_0x510b0d,_0x264102,_0x24c258){return _0x510b0d(_0x264102,_0x24c258);},'AfWCU':'utf-8','DtGfN':function(_0xb5ebff,_0x5cd954){return _0xb5ebff+_0x5cd954;}};if(!existsSync(_0x459d49))return![];let _0x2b44fb;try{const _0x28321c=await _0xd7acae['zrYoz'](readFile,_0x459d49,_0xd7acae[_0x154735(0x11d)]);_0x2b44fb=parseJsonc(_0x28321c);}catch{return![];}const _0x4f1bb4=Array[_0x154735(0x122)](_0x2b44fb[_0x154735(0x132)])?_0x2b44fb[_0x154735(0x132)]:[];if(_0x4f1bb4[_0x154735(0x138)]===0x0)return![];const _0x3c7a56=_0x4f1bb4['filter'](_0x2a59d5=>{const _0x2bb01a=_0x154735;if(_0xd7acae['kFsRR'](typeof _0x2a59d5,_0x2bb01a(0x120)))return!![];return _0x2a59d5!==opencodePluginName;});if(_0x3c7a56[_0x154735(0x138)]===_0x4f1bb4['length'])return![];return _0x3c7a56['length']===0x0?delete _0x2b44fb['plugin']:_0x2b44fb[_0x154735(0x132)]=_0x3c7a56,await _0xd7acae[_0x154735(0x13c)](writeFile,_0x459d49,_0xd7acae['DtGfN'](JSON[_0x154735(0x148)](_0x2b44fb,null,0x2),'\x0a')),!![];}async function uninstallClaudePlugin(_0x5b19f2){const _0x1eb2f8=_0x1747b0,_0x55096d={'QCEIm':'ranger@trailhead','MftTi':'claude','MdFCL':function(_0xf63d8,_0x4bdb65){return _0xf63d8===_0x4bdb65;},'IOhlu':_0x1eb2f8(0x140)};return new Promise(_0x204993=>{const _0xea81b8=_0x1eb2f8,_0x578b2e={'GNYhy':function(_0x335842,_0x174ce6){return _0x335842(_0x174ce6);}},_0x4ce251=['plugin','uninstall',_0x55096d['QCEIm']];_0x5b19f2&&_0x4ce251['push'](_0xea81b8(0x13a),_0x5b19f2);const _0x2381fc=spawn(_0x55096d['MftTi'],_0x4ce251,{'stdio':'pipe','shell':_0x55096d[_0xea81b8(0x125)](process[_0xea81b8(0x121)],_0x55096d[_0xea81b8(0x124)])});_0x2381fc['on'](_0xea81b8(0x11a),_0x58a8c7=>{_0x204993(_0x58a8c7===0x0);}),_0x2381fc['on'](_0xea81b8(0x12e),()=>{const _0x340e73=_0xea81b8;_0x578b2e[_0x340e73(0x136)](_0x204993,![]);});});}async function removeMarketplace(){const _0x509efb=_0x1747b0,_0x2493b1={'ExhSG':function(_0x307808,_0x217041,_0x115c8f,_0x1cec83){return _0x307808(_0x217041,_0x115c8f,_0x1cec83);},'ZGIst':'plugin','PFLOm':'remove','XQOcr':_0x509efb(0x140),'gRTdY':'close'};return new Promise(_0x2c9306=>{const _0x3e7ea3=_0x509efb,_0x2d3ad0=_0x2493b1['ExhSG'](spawn,_0x3e7ea3(0x129),[_0x2493b1['ZGIst'],_0x3e7ea3(0x131),_0x2493b1[_0x3e7ea3(0x126)],'trailhead'],{'stdio':_0x3e7ea3(0x12d),'shell':process[_0x3e7ea3(0x121)]===_0x2493b1['XQOcr']});_0x2d3ad0['on'](_0x2493b1['gRTdY'],_0x2d1050=>{_0x2c9306(_0x2d1050===0x0);}),_0x2d3ad0['on'](_0x3e7ea3(0x12e),()=>{_0x2c9306(![]);});});}export async function clean(){const _0x51abc4=_0x1747b0,_0x2784bd={'wOhzR':_0x51abc4(0x128),'XtXIT':_0x51abc4(0x12a),'vCjvJ':function(_0x88e744){return _0x88e744();},'NFTqQ':function(_0x4bf937,_0x336226){return _0x4bf937(_0x336226);},'dbYZm':'✓\x20Removed\x20.ranger/\x20directory','CmhCA':function(_0x2395e8){return _0x2395e8();},'xkPnC':function(_0x58640e,_0x23b6ef,_0x459468){return _0x58640e(_0x23b6ef,_0x459468);},'giSYX':function(_0x566094,_0x413814){return _0x566094(_0x413814);},'ArDML':function(_0x3c8098,_0x48b54d,_0x335938){return _0x3c8098(_0x48b54d,_0x335938);},'sDQmh':function(_0x3389b8,_0x1c4ad8,_0x57937a){return _0x3389b8(_0x1c4ad8,_0x57937a);},'IuURq':_0x51abc4(0x11f),'iUhIA':function(_0x1afd4b,_0x264b6c){return _0x1afd4b(_0x264b6c);},'eDLlS':'✓\x20Removed\x20OpenCode\x20plugin\x20(project\x20config)','QLcfY':'opencode.json','MkbXI':'✓\x20Removed\x20OpenCode\x20plugin\x20(user\x20config)','swJSK':'✓\x20Uninstalled\x20Claude\x20plugin\x20(user\x20scope)','fPnSe':_0x51abc4(0x12b)};console[_0x51abc4(0x123)](_0x2784bd[_0x51abc4(0x13b)]);let _0x38963a=![];try{await deleteAllCredentials(),console['log'](_0x2784bd['XtXIT']),_0x38963a=!![];}catch{}const _0x37dc4e=_0x2784bd[_0x51abc4(0x144)](getCacheFile);_0x2784bd[_0x51abc4(0x146)](existsSync,_0x37dc4e)&&(await rm(_0x37dc4e),_0x38963a=!![]);const _0x4d2148=getRangerDir();_0x2784bd['NFTqQ'](existsSync,_0x4d2148)&&(await rm(_0x4d2148,{'recursive':!![]}),console['log'](_0x2784bd[_0x51abc4(0x11c)]),_0x38963a=!![]);const _0x12d46b=_0x2784bd['CmhCA'](getProjectSkillsDir);for(const _0x3681ae of skillsToRemove){const _0x1cb6c8=_0x2784bd['xkPnC'](join,_0x12d46b,_0x3681ae);_0x2784bd[_0x51abc4(0x139)](existsSync,_0x1cb6c8)&&(await _0x2784bd['ArDML'](rm,_0x1cb6c8,{'recursive':!![]}),console[_0x51abc4(0x123)](_0x51abc4(0x11b)+_0x3681ae),_0x38963a=!![]);}const _0x23cf9a=_0x2784bd['CmhCA'](getUserSkillsDir);for(const _0x3019ad of skillsToRemove){const _0x99377b=_0x2784bd['ArDML'](join,_0x23cf9a,_0x3019ad);_0x2784bd['giSYX'](existsSync,_0x99377b)&&(await _0x2784bd[_0x51abc4(0x13f)](rm,_0x99377b,{'recursive':!![]}),console['log']('✓\x20Removed\x20user\x20skill:\x20'+_0x3019ad),_0x38963a=!![]);}const _0x50b495=getOpencodeSkillsDir('project');for(const _0x3a78be of skillsToRemove){const _0xc952a1=join(_0x50b495,_0x3a78be);existsSync(_0xc952a1)&&(await rm(_0xc952a1,{'recursive':!![]}),console['log']('✓\x20Removed\x20OpenCode\x20project\x20skill:\x20'+_0x3a78be),_0x38963a=!![]);}const _0xf32740=getOpencodeSkillsDir(_0x2784bd['IuURq']);for(const _0x5c846a of skillsToRemove){const _0x294d03=join(_0xf32740,_0x5c846a);existsSync(_0x294d03)&&(await rm(_0x294d03,{'recursive':!![]}),console['log']('✓\x20Removed\x20OpenCode\x20user\x20skill:\x20'+_0x5c846a),_0x38963a=!![]);}const _0x468342=join(_0x2784bd['iUhIA'](getOpencodeConfigDir,_0x51abc4(0x134)),_0x51abc4(0x145));await _0x2784bd['giSYX'](removeOpencodePluginConfig,_0x468342)&&(console['log'](_0x2784bd[_0x51abc4(0x143)]),_0x38963a=!![]);const _0x2d6de0=join(_0x2784bd['giSYX'](getOpencodeConfigDir,_0x2784bd['IuURq']),_0x2784bd[_0x51abc4(0x13d)]);await _0x2784bd['giSYX'](removeOpencodePluginConfig,_0x2d6de0)&&(console[_0x51abc4(0x123)](_0x2784bd[_0x51abc4(0x137)]),_0x38963a=!![]);const _0x217eb8=await _0x2784bd['vCjvJ'](uninstallClaudePlugin);_0x217eb8&&(console['log'](_0x2784bd['swJSK']),_0x38963a=!![]);const _0x2bb6d4=await _0x2784bd[_0x51abc4(0x146)](uninstallClaudePlugin,_0x51abc4(0x134));_0x2bb6d4&&(console[_0x51abc4(0x123)]('✓\x20Uninstalled\x20Claude\x20plugin\x20(project\x20scope)'),_0x38963a=!![]);const _0x5dd9ce=await removeMarketplace();_0x5dd9ce&&(console[_0x51abc4(0x123)](_0x51abc4(0x13e)),_0x38963a=!![]),_0x38963a?console['log'](_0x2784bd['fPnSe']):console['log']('Nothing\x20to\x20clean\x20up.\x0a');}
@@ -1 +1 @@
1
- const _0x1408d2=_0xa9f1;function _0x482e(){const _0x27922f=['SjpiG','1852544FqyRtV','2514625xTisto','ZExih','true','No\x20configuration\x20set\x20for\x20\x22','bffyg','2SwGYAx','object','headless','GRalg','\x22\x20does\x20not\x20exist.\x20Run:\x20ranger\x20profile\x20add\x20','32591710aaYYkP','\x22\x20does\x20not\x20exist.','Kagjd','log','4745532FvPCfd','(not\x20set)','zLYwR','Removed\x20','5269544qIwTZd','329379EuyBHi','448506VFjhEK','false','7CXBmBu','Profile\x20\x22','18DfRAaf'];_0x482e=function(){return _0x27922f;};return _0x482e();}(function(_0x18c300,_0xa3c35b){const _0x200668=_0xa9f1,_0x30fa30=_0x18c300();while(!![]){try{const _0x48fe74=-parseInt(_0x200668(0x151))/0x1*(parseInt(_0x200668(0x143))/0x2)+-parseInt(_0x200668(0x152))/0x3+-parseInt(_0x200668(0x150))/0x4+parseInt(_0x200668(0x159))/0x5+parseInt(_0x200668(0x14c))/0x6*(-parseInt(_0x200668(0x154))/0x7)+parseInt(_0x200668(0x158))/0x8*(-parseInt(_0x200668(0x156))/0x9)+parseInt(_0x200668(0x148))/0xa;if(_0x48fe74===_0xa3c35b)break;else _0x30fa30['push'](_0x30fa30['shift']());}catch(_0x43f695){_0x30fa30['push'](_0x30fa30['shift']());}}}(_0x482e,0xadc5b));import{existsSync}from'fs';function _0xa9f1(_0x11cf03,_0x43c716){_0x11cf03=_0x11cf03-0x142;const _0x482e06=_0x482e();let _0xa9f14d=_0x482e06[_0x11cf03];return _0xa9f14d;}import{loadSettings,saveSettings,getNestedValue,setNestedValue,deleteNestedValue,formatSettings,getSettingsPath,getEnvDir}from'./utils/settings.js';const BOOLEAN_KEYS=[_0x1408d2(0x145)];function parseValue(_0x4224f4,_0x3ed08a){const _0x17fe22=_0x1408d2,_0x1afb00={'lwoNp':_0x17fe22(0x15b),'QgDuF':function(_0x19cdb6,_0x11457b){return _0x19cdb6===_0x11457b;}};if(BOOLEAN_KEYS['includes'](_0x4224f4)){if(_0x3ed08a===_0x1afb00['lwoNp'])return!![];if(_0x1afb00['QgDuF'](_0x3ed08a,_0x17fe22(0x153)))return![];throw new Error('Invalid\x20value\x20for\x20'+_0x4224f4+':\x20expected\x20\x22true\x22\x20or\x20\x22false\x22');}return _0x3ed08a;}export async function configSet(_0x33b51e,_0xdc8dcb,_0xb71611){const _0x570a33=_0x1408d2,_0x26d51c={'BCcaP':function(_0x42f89e,_0x1c5a58){return _0x42f89e(_0x1c5a58);},'bffyg':function(_0x343067,_0x2997a4){return _0x343067(_0x2997a4);},'SjpiG':function(_0x68e439,_0x13bac8,_0x1fd395,_0x5d16e6){return _0x68e439(_0x13bac8,_0x1fd395,_0x5d16e6);},'XoJfR':function(_0x126db1,_0x28fad7,_0x480fc0){return _0x126db1(_0x28fad7,_0x480fc0);}},_0x126734=_0x26d51c['BCcaP'](getEnvDir,_0x33b51e);if(!_0x26d51c[_0x570a33(0x142)](existsSync,_0x126734))throw new Error(_0x570a33(0x155)+_0x33b51e+_0x570a33(0x147)+_0x33b51e);const _0x27b00b=await loadSettings(_0x33b51e),_0x5a0ef5=parseValue(_0xdc8dcb,_0xb71611);_0x26d51c[_0x570a33(0x157)](setNestedValue,_0x27b00b,_0xdc8dcb,_0x5a0ef5),await _0x26d51c['XoJfR'](saveSettings,_0x33b51e,_0x27b00b),console['log']('Set\x20'+_0xdc8dcb+'\x20=\x20'+_0x5a0ef5);}export async function configGet(_0x4bf9a1,_0x5b9512){const _0x5922df=_0x1408d2,_0x2a52e2={'Kagjd':function(_0x96cab,_0x2838c8){return _0x96cab(_0x2838c8);},'ZExih':function(_0x26fedc,_0x28945c){return _0x26fedc===_0x28945c;}},_0x270355=_0x2a52e2[_0x5922df(0x14a)](getEnvDir,_0x4bf9a1);if(!_0x2a52e2[_0x5922df(0x14a)](existsSync,_0x270355))throw new Error('Profile\x20\x22'+_0x4bf9a1+'\x22\x20does\x20not\x20exist.');const _0x582bf5=await loadSettings(_0x4bf9a1),_0xd6bf51=getNestedValue(_0x582bf5,_0x5b9512);if(_0x2a52e2['ZExih'](_0xd6bf51,undefined))console[_0x5922df(0x14b)](_0x5922df(0x14d));else _0x2a52e2[_0x5922df(0x15a)](typeof _0xd6bf51,_0x5922df(0x144))?console['log'](JSON['stringify'](_0xd6bf51,null,0x2)):console['log'](_0xd6bf51);}export async function configList(_0x27bf24){const _0x338f38=_0x1408d2,_0xe74b67={'GRalg':function(_0x5c21d8,_0x4ed6ab){return _0x5c21d8(_0x4ed6ab);},'vaoVZ':function(_0x252fec,_0xe607bf){return _0x252fec(_0xe607bf);}},_0xad8e22=getSettingsPath(_0x27bf24);if(!existsSync(_0xad8e22)){const _0x24c91a=_0xe74b67[_0x338f38(0x146)](getEnvDir,_0x27bf24);if(!existsSync(_0x24c91a))throw new Error('Profile\x20\x22'+_0x27bf24+_0x338f38(0x149));console['log'](_0x338f38(0x15c)+_0x27bf24+'\x22');return;}const _0x3f9471=await _0xe74b67[_0x338f38(0x146)](loadSettings,_0x27bf24),_0x32ef69=_0xe74b67['vaoVZ'](formatSettings,_0x3f9471);!_0x32ef69?console['log']('No\x20configuration\x20set\x20for\x20\x22'+_0x27bf24+'\x22'):console['log'](_0x32ef69);}export async function configUnset(_0x46bbc0,_0x2547ba){const _0x4de0b7=_0x1408d2,_0x2d302a={'LkbMl':function(_0x4f0024,_0x35d306){return _0x4f0024(_0x35d306);},'zLYwR':function(_0x33eaa1,_0x4a6b4d){return _0x33eaa1(_0x4a6b4d);},'gNWRx':function(_0x301e83,_0x3c0a78,_0x4c2555){return _0x301e83(_0x3c0a78,_0x4c2555);}},_0x1173d8=_0x2d302a['LkbMl'](getEnvDir,_0x46bbc0);if(!_0x2d302a[_0x4de0b7(0x14e)](existsSync,_0x1173d8))throw new Error('Profile\x20\x22'+_0x46bbc0+'\x22\x20does\x20not\x20exist.');const _0x1abb7b=await _0x2d302a['LkbMl'](loadSettings,_0x46bbc0),_0x4e1f91=_0x2d302a['gNWRx'](deleteNestedValue,_0x1abb7b,_0x2547ba);_0x4e1f91?(await saveSettings(_0x46bbc0,_0x1abb7b),console[_0x4de0b7(0x14b)](_0x4de0b7(0x14f)+_0x2547ba)):console['log']('Key\x20\x22'+_0x2547ba+'\x22\x20not\x20found');}
1
+ const _0x5d2b50=_0x5bce;function _0xab32(){const _0x391a73=['2493001kvqLOO','log','17183230VwhpzE','Set\x20','TWUgY','UbLeb','Key\x20\x22','3405300dnDgMm','includes','object','7016589hBYGgG','36GbAigv','\x20=\x20','rlfdm','VOMeI','true','2zCISUX','47555xQQBfM','UiVaO','\x22\x20does\x20not\x20exist.','1350486gQKumd','headless','8aZcWLq','jwlBF','vJmcU','No\x20configuration\x20set\x20for\x20\x22','wFnGT','lvBCw','Profile\x20\x22','\x22\x20not\x20found','427919ZMUvmp','HExxD'];_0xab32=function(){return _0x391a73;};return _0xab32();}(function(_0x44c8c9,_0x38775a){const _0x185c4b=_0x5bce,_0x263f4d=_0x44c8c9();while(!![]){try{const _0x23e512=-parseInt(_0x185c4b(0xfc))/0x1*(-parseInt(_0x185c4b(0x10e))/0x2)+-parseInt(_0x185c4b(0xf2))/0x3+-parseInt(_0x185c4b(0x105))/0x4+parseInt(_0x185c4b(0xef))/0x5*(parseInt(_0x185c4b(0x109))/0x6)+parseInt(_0x185c4b(0xfe))/0x7+parseInt(_0x185c4b(0xf4))/0x8*(-parseInt(_0x185c4b(0x108))/0x9)+parseInt(_0x185c4b(0x100))/0xa;if(_0x23e512===_0x38775a)break;else _0x263f4d['push'](_0x263f4d['shift']());}catch(_0x2094b9){_0x263f4d['push'](_0x263f4d['shift']());}}}(_0xab32,0x74c87));import{existsSync}from'fs';import{loadSettings,saveSettings,getNestedValue,setNestedValue,deleteNestedValue,formatSettings,getSettingsPath,getEnvDir}from'./utils/settings.js';const BOOLEAN_KEYS=[_0x5d2b50(0xf3)];function parseValue(_0x35f6f1,_0x136a0c){const _0x52eae=_0x5d2b50,_0x18e2f0={'jwlBF':function(_0x159bb9,_0x59b878){return _0x159bb9===_0x59b878;},'wFnGT':_0x52eae(0x10d),'vJmcU':function(_0x3836ce,_0x3e1db1){return _0x3836ce===_0x3e1db1;}};if(BOOLEAN_KEYS[_0x52eae(0x106)](_0x35f6f1)){if(_0x18e2f0[_0x52eae(0xf5)](_0x136a0c,_0x18e2f0[_0x52eae(0xf8)]))return!![];if(_0x18e2f0[_0x52eae(0xf6)](_0x136a0c,'false'))return![];throw new Error('Invalid\x20value\x20for\x20'+_0x35f6f1+':\x20expected\x20\x22true\x22\x20or\x20\x22false\x22');}return _0x136a0c;}function _0x5bce(_0x6b0f4b,_0x517efc){_0x6b0f4b=_0x6b0f4b-0xef;const _0xab3238=_0xab32();let _0x5bce8f=_0xab3238[_0x6b0f4b];return _0x5bce8f;}export async function configSet(_0x733818,_0x5f1d48,_0x55c67a){const _0x1d7122=_0x5d2b50,_0x5847a2={'HExxD':function(_0x34a987,_0x7c80dd){return _0x34a987(_0x7c80dd);},'IpaIn':function(_0x28dbb5,_0x3caa06){return _0x28dbb5(_0x3caa06);},'GlVDE':function(_0x2a8e29,_0x3ff432,_0x50ee31){return _0x2a8e29(_0x3ff432,_0x50ee31);},'QQcmW':function(_0x36691b,_0x2b3b70,_0x3c5ff9,_0x394db9){return _0x36691b(_0x2b3b70,_0x3c5ff9,_0x394db9);},'VOMeI':function(_0x43fdef,_0x1a3cf2,_0x3498b0){return _0x43fdef(_0x1a3cf2,_0x3498b0);}},_0x28bbbf=_0x5847a2[_0x1d7122(0xfd)](getEnvDir,_0x733818);if(!_0x5847a2[_0x1d7122(0xfd)](existsSync,_0x28bbbf))throw new Error('Profile\x20\x22'+_0x733818+'\x22\x20does\x20not\x20exist.\x20Run:\x20ranger\x20profile\x20add\x20'+_0x733818);const _0x2e22ff=await _0x5847a2['IpaIn'](loadSettings,_0x733818),_0x5aebae=_0x5847a2['GlVDE'](parseValue,_0x5f1d48,_0x55c67a);_0x5847a2['QQcmW'](setNestedValue,_0x2e22ff,_0x5f1d48,_0x5aebae),await _0x5847a2[_0x1d7122(0x10c)](saveSettings,_0x733818,_0x2e22ff),console['log'](_0x1d7122(0x101)+_0x5f1d48+_0x1d7122(0x10a)+_0x5aebae);}export async function configGet(_0x5954a2,_0x597a1e){const _0x4bb6da=_0x5d2b50,_0x492345={'rlfdm':function(_0x2d0567,_0x49eed1,_0x45917c){return _0x2d0567(_0x49eed1,_0x45917c);},'UbLeb':function(_0x598bdc,_0x463d64){return _0x598bdc===_0x463d64;}},_0x1bd6f8=getEnvDir(_0x5954a2);if(!existsSync(_0x1bd6f8))throw new Error(_0x4bb6da(0xfa)+_0x5954a2+_0x4bb6da(0xf1));const _0x492174=await loadSettings(_0x5954a2),_0x512abc=_0x492345[_0x4bb6da(0x10b)](getNestedValue,_0x492174,_0x597a1e);if(_0x492345[_0x4bb6da(0x103)](_0x512abc,undefined))console[_0x4bb6da(0xff)]('(not\x20set)');else typeof _0x512abc===_0x4bb6da(0x107)?console['log'](JSON['stringify'](_0x512abc,null,0x2)):console[_0x4bb6da(0xff)](_0x512abc);}export async function configList(_0x468b4e){const _0x450f2c=_0x5d2b50,_0x5c364d={'TWUgY':function(_0x292ad3,_0xaf9db8){return _0x292ad3(_0xaf9db8);},'pXwOZ':function(_0x5dd7ee,_0x4ad1de){return _0x5dd7ee(_0x4ad1de);}},_0x5b9c48=getSettingsPath(_0x468b4e);if(!existsSync(_0x5b9c48)){const _0x631ea1=getEnvDir(_0x468b4e);if(!_0x5c364d[_0x450f2c(0x102)](existsSync,_0x631ea1))throw new Error(_0x450f2c(0xfa)+_0x468b4e+'\x22\x20does\x20not\x20exist.');console[_0x450f2c(0xff)](_0x450f2c(0xf7)+_0x468b4e+'\x22');return;}const _0x11063c=await loadSettings(_0x468b4e),_0x47df54=_0x5c364d['pXwOZ'](formatSettings,_0x11063c);!_0x47df54?console[_0x450f2c(0xff)](_0x450f2c(0xf7)+_0x468b4e+'\x22'):console[_0x450f2c(0xff)](_0x47df54);}export async function configUnset(_0x1c11da,_0x32e8a){const _0x3642ae=_0x5d2b50,_0x3f9862={'lvBCw':function(_0x208324,_0x84723b){return _0x208324(_0x84723b);},'UiVaO':function(_0x1f237d,_0x3bfcaf,_0x2581c5){return _0x1f237d(_0x3bfcaf,_0x2581c5);}},_0x9997c4=getEnvDir(_0x1c11da);if(!existsSync(_0x9997c4))throw new Error(_0x3642ae(0xfa)+_0x1c11da+_0x3642ae(0xf1));const _0x57f21f=await _0x3f9862[_0x3642ae(0xf9)](loadSettings,_0x1c11da),_0x2eef28=_0x3f9862[_0x3642ae(0xf0)](deleteNestedValue,_0x57f21f,_0x32e8a);_0x2eef28?(await saveSettings(_0x1c11da,_0x57f21f),console['log']('Removed\x20'+_0x32e8a)):console[_0x3642ae(0xff)](_0x3642ae(0x104)+_0x32e8a+_0x3642ae(0xfb));}