@ranger-testing/ranger-cli 2.5.4-alpha.a98f848-6 → 2.5.4-alpha.b28d3b1-14

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 (81) 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/mcpBootstrap.js +1 -1
  25. package/build/commands/migrateProfile.js +1 -1
  26. package/build/commands/setup/claude.js +1 -1
  27. package/build/commands/setup/opencode.js +1 -1
  28. package/build/commands/setupCi.js +1 -1
  29. package/build/commands/skillup.js +1 -1
  30. package/build/commands/start.js +1 -1
  31. package/build/commands/status.js +1 -1
  32. package/build/commands/update.js +1 -1
  33. package/build/commands/updateEnv.js +1 -1
  34. package/build/commands/useEnv.js +1 -1
  35. package/build/commands/utils/activeProfile.js +1 -1
  36. package/build/commands/utils/agentEnv.js +1 -1
  37. package/build/commands/utils/browserSessionsApi.js +1 -1
  38. package/build/commands/utils/claudeConfig.js +1 -1
  39. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  40. package/build/commands/utils/claudePlugin.js +1 -1
  41. package/build/commands/utils/cloudProfile.js +1 -1
  42. package/build/commands/utils/cloudProfileSession.js +1 -1
  43. package/build/commands/utils/crypto.js +1 -1
  44. package/build/commands/utils/desirePathLog.js +1 -1
  45. package/build/commands/utils/deviceAuth.js +1 -1
  46. package/build/commands/utils/environment.js +1 -1
  47. package/build/commands/utils/featureApi.js +1 -1
  48. package/build/commands/utils/fixWebmDuration.js +1 -1
  49. package/build/commands/utils/gitTracked.js +1 -1
  50. package/build/commands/utils/keychain.js +1 -1
  51. package/build/commands/utils/legacyWarning.js +1 -0
  52. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  53. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  54. package/build/commands/utils/mcpImageBase64.js +1 -1
  55. package/build/commands/utils/model.js +1 -1
  56. package/build/commands/utils/opencodeConfig.js +1 -1
  57. package/build/commands/utils/playwrightCli.js +1 -1
  58. package/build/commands/utils/profileMessages.js +1 -1
  59. package/build/commands/utils/profileSetupBanner.js +1 -1
  60. package/build/commands/utils/projectsConfig.js +1 -1
  61. package/build/commands/utils/rangerConfig.js +1 -1
  62. package/build/commands/utils/rangerRoot.js +1 -1
  63. package/build/commands/utils/resolveProfileContext.js +1 -1
  64. package/build/commands/utils/resolveProfileUrl.js +1 -1
  65. package/build/commands/utils/retry.js +1 -1
  66. package/build/commands/utils/sessionCache.js +1 -1
  67. package/build/commands/utils/settings.js +1 -1
  68. package/build/commands/utils/skillContent.js +1 -1
  69. package/build/commands/utils/skills.js +1 -1
  70. package/build/commands/utils/stitchWebmFiles.js +1 -1
  71. package/build/commands/utils/telemetry.js +1 -1
  72. package/build/commands/utils/tokenRefresh.js +1 -1
  73. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  74. package/build/commands/utils/userApi.js +1 -1
  75. package/build/commands/utils/version.js +1 -1
  76. package/build/commands/verifyFeature.js +1 -1
  77. package/build/commands/verifyFeatureCli.js +1 -1
  78. package/build/skills/ranger/SKILL.md +13 -7
  79. package/build/skills/ranger/create.md +16 -3
  80. package/build/skills/ranger/verify.md +25 -18
  81. package/package.json +3 -2
package/build/cli.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const _0x10ef54=_0x1deb;(function(_0x4c6d39,_0x1cbfa3){const _0x3893d2=_0x1deb,_0x6ec789=_0x4c6d39();while(!![]){try{const _0x55f641=-parseInt(_0x3893d2(0x34b))/0x1+-parseInt(_0x3893d2(0x1fa))/0x2*(-parseInt(_0x3893d2(0x355))/0x3)+parseInt(_0x3893d2(0x2c2))/0x4*(parseInt(_0x3893d2(0x342))/0x5)+-parseInt(_0x3893d2(0x35d))/0x6+parseInt(_0x3893d2(0x29c))/0x7*(-parseInt(_0x3893d2(0x337))/0x8)+parseInt(_0x3893d2(0x276))/0x9+parseInt(_0x3893d2(0x2ca))/0xa*(parseInt(_0x3893d2(0x34d))/0xb);if(_0x55f641===_0x1cbfa3)break;else _0x6ec789['push'](_0x6ec789['shift']());}catch(_0x37e8f1){_0x6ec789['push'](_0x6ec789['shift']());}}}(_0xeddc,0xaf4e5));import _0x4c53d0 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x552fc4=_0x1deb,_0x6d2eb3={'PwKDK':function(_0x5176d8,_0x81bfa1){return _0x5176d8!==_0x81bfa1;},'ucLvo':function(_0x2f1ee3,_0x201b0d,_0x569ab6){return _0x2f1ee3(_0x201b0d,_0x569ab6);},'OFpbq':'.ranger','QduxG':function(_0x237e27,_0x3f56b0){return _0x237e27(_0x3f56b0);},'rMGiy':_0x552fc4(0x2b5)};let _0x1cc5a6=process['cwd']();const _0x20c344=parse(_0x1cc5a6)[_0x552fc4(0x306)];while(_0x6d2eb3['PwKDK'](_0x1cc5a6,_0x20c344)){if(existsSync(_0x6d2eb3[_0x552fc4(0x285)](join,_0x1cc5a6,_0x6d2eb3[_0x552fc4(0x268)]))||_0x6d2eb3[_0x552fc4(0x29a)](existsSync,_0x6d2eb3['ucLvo'](join,_0x1cc5a6,_0x6d2eb3[_0x552fc4(0x371)])))return _0x1cc5a6;_0x1cc5a6=dirname(_0x1cc5a6);}return process[_0x552fc4(0x2ee)]();}_0x4c53d0['config']({'path':join(findProjectRoot(),_0x10ef54(0x2b5))});import _0x198c04 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';function _0xeddc(){const _0x388230=['Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','Optmf','Name\x20of\x20the\x20environment\x20to\x20update','--env','kIbPI','Name\x20of\x20the\x20profile\x20to\x20update','sGoNu','Dlpzz','VjzEH','pCuTH','ranger\x20feature\x20list','tZqOs','string','NHplm','WeULz','ExHoW','evaluation','exit','map','Rznqf','list','env\x20update','OXfxt','model','OOuBa','giecO','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','set\x20<profile>\x20<key>\x20<value>','skip-chromium','add-checklist-item\x20<description>','gQkln','TmaTA','ranger\x20feature\x20create','TYmyD','OSXYN','oFYwT','XCUUv','eUmTI','allow-insecure-localhost','42086iYiZSb','AqCks','unset\x20<env>\x20<key>','gTojp','ranger\x20delete','rvyit','option','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','trNoN','jGbYH','JiNno','Install\x20Chromium\x20browser\x20binary','xAKiS','epilogue','yes','KgSTG','wLzsY','qiwEq','Ranger\x20API\x20token\x20(rngr_...)','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','ranger\x20profile\x20config\x20set','get\x20<profile>\x20<key>','eiOeG','lyTbd','error','wNKCu','LlHDI','UngNx','show','token','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','QXhCk','uiSeT','skillup','--task','rQmhj','task','ranger\x20show','limit','mjZUh','Update\x20authentication\x20for\x20an\x20existing\x20profile','feature','rNYVz','profile\x20config\x20reset','headed','List\x20all\x20config\x20for\x20a\x20profile','RTmcK','LjhlO','incomplete','ranger\x20verify-feature','restore\x20<id>','API\x20token','Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\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\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','config\x20list','delete\x20[id]','Manage\x20profile\x20configuration','sNCzm','WyAlH','ohrhe','not_configured','profile-name','--scenario','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','forEach','Manage\x20profiles','Skip\x20interactive\x20confirmation\x20prompts.','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','ranger\x20feature\x20delete','ogGcg','KZiCI','profile\x20config\x20list','failed','BcCbe','IqLUw','RZsov','setup:profiles','dry-run','gwghi','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','rvAkF','hSDRp','VzafD','SnExY','Include\x20soft-deleted\x20feature\x20reviews','Login\x20failed:\x20','qwQUa','xZRdW','SxaGF','hHtHI','Skip\x20authentication','Set\x20up\x20a\x20local\x20browser\x20profile','slice','vnSzD','get-feedback\x20[id]','encrypt\x20<profile>','hook:disable','Unknown\x20command','SMXSt','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','JyKot','ranger\x20use','url','scriptName','PCiRu','cdp-endpoint','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','base-url','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','OFpbq','TRMYs','poZaI','RANGER_TEST_PASSWORD','You\x20must\x20specify\x20a\x20profile\x20subcommand','Subcommand\x20or\x20API\x20token\x20(rngr_...)','ranger\x20profile\x20encrypt-auth','RwCaF','profile\x20use','checklist','UXjgv','get-review','IBgSN','Etudq','7575975jyKTQP','mmSRE','Get\x20a\x20config\x20value','use\x20<env-name>','rrmGM','jtbpr','YuIeB','cDOYv','update\x20<env-name>','Run\x20full\x20interactive\x20setup','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','Add\x20profile\x20configuration','jvQPO','RwAir','oGmKd','ucLvo','feature\x20create','uoSDR','nlEhZ','WeDbM','fkTUr','scope','AMoWo','Skip\x20browser\x20authentication','Config\x20key\x20to\x20remove','ranger','ranger\x20profile\x20config\x20unset','config\x20get','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','wmVNh','InTLD','debug-outcome','Profile\x20name','MZIOH','ranger\x20profile\x20add','print-access-token','QduxG','profile\x20config\x20get','7gkXqVT','update\x20<profile-name>','boolean','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aProfile\x20config.\x20Routes\x20automatically\x20based\x20on\x20where\x20the\x20profile\x20lives:\x0a\x20\x20-\x20Local\x20profiles\x20write\x20to\x20.ranger/<env>/settings.json\x0a\x20\x20-\x20Cloud\x20profiles\x20write\x20a\x20local\x20overlay\x20in\x20~/.ranger/projects.json\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\x20(effective\x20value\x20for\x20cloud\x20profiles)\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\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20local\x20overrides\x20(cloud\x20profiles\x20only)\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override\x20for\x20cloud\x20profiles)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201','feature\x20add-checklist-item','xRLgX','\x20is\x20now\x20','\x20INCOMPLETE','Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.','profile\x20config\x20set','uYyFF','TCaHl','help','lIffR','aAvbp','rexKv','.\x20[','eIgNh','vBbrT','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','iuJJO','Ranger\x20API\x20token','ranger\x20config\x20unset','XsRXo','QYBcn','.env','avhas','HRnEG','env-name','PErCo','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','VybXy','jQXFx','ZJLUA','array','You\x20must\x20specify\x20an\x20auth\x20subcommand','Base\x20URL\x20of\x20the\x20running\x20app','resume','24EMOaMe','Authenticate\x20via\x20MCP\x20proxy','zthTW','unset\x20<profile>\x20<key>','update','jwDeJ','parse','XGsdB','20260rGaqxs','XrUWv','OLUDQ','FUomt','ICClD','exclude-scenario','demandCommand','RANGER_PROFILE','json','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','ZjkCO','Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','clean','edit-scenario\x20<description>','hkAwn','Restore\x20a\x20soft-deleted\x20feature\x20review','QrwgK','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','ranger\x20go','key','SzSEi','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','Tysih','setup:skills','profile\x20migrate','ranger\x20get-review','verified','--profile','Etbiy','fSMuO','ifRGt','zFnGo','sXbnG','include-deleted','cwd','Where\x20to\x20store\x20the\x20profile','SYbXw','Install\x20scope\x20for\x20plugin\x20and\x20skills','List\x20all\x20profiles','\x0aIssues:','yacmF','item','folrF','reset\x20<profile>','CIrEg','ScMrB','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','debug-address-comments','usage','blocked','profile\x20config\x20unset','status','UvVKF','current-branch','Feature\x20review\x20ID','BfFYt','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','root','add\x20<profile-name>','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','FvZtL','xcvCU','hZHZg','wHYic','claude','offset','hjHWg','ranger\x20profile\x20ls','profile','repeat','ubqnj','report\x20[id]','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','profiles','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','config\x20unset','InInX','KBDUC','feature\x20list','issues','aNkdm','Lriim','nPGKu','some','dIDje','You\x20must\x20specify\x20a\x20command','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','fVKLf','XxiZy','startsWith','iYShy','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','positional','sWwCO','Config\x20value','JjtWZ','Nwxml','IYITf','list\x20<profile>','lBflK','test_output','Name\x20of\x20the\x20environment','opencode','ranger\x20feature\x20restore','skip-auth','evaluationReason','3890200mLldWr','mMrue','oGCXc','LQaed','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','project','bSSen','tvTiX','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','Install\x20Ranger\x20skills','feature\x20restore','954895AeTlYa','fDlmi','Number\x20of\x20feature\x20reviews\x20to\x20skip','feature\x20show','mcp','scenario','with-deps','env','vjnYO','854630NjmdlW','AYiKT','275qVoOyf','Remove\x20a\x20config\x20value','session-id','KQPYe','user','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','ranger\x20profile\x20config\x20list','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','129uteUYr','add-scenario','Feature\x20review\x20description','flazk','message','force','ranger\x20feature\x20resume','name','5305140QYbneo','unhandledRejection','kdreT','Jngdv','enable','xnjYn','Scenario\x20number\x20to\x20edit\x20(1-based)','hook:enable','twHuj','notes','number','edit-scenario','✓\x20Authenticated\x20to\x20','log','mcp-bootstrap','profile\x20ls','setup:login','hook','iKTsr','QRfmA','rMGiy','Scenario\x20index\x20(1-based)','profile\x20add','ranger\x20start','description','login','save-creds','Unknown\x20error','wjcVH','config','create\x20<name>','Environment\x20name','start-path','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','add-scenario\x20<description>','HfNkp','partial','start','VaQIK','yfncr','\x20BLOCKED','TeVVa','HqOPH','all','jXgou','Install\x20skills\x20for\x20OpenCode','TCOhH','env\x20list','delete','ranger\x20config\x20set','You\x20must\x20specify\x20a\x20config\x20subcommand','command','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','ranger\x20config\x20get','JPmNQ'];_0xeddc=function(){return _0x388230;};return _0xeddc();}import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.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';function _0x1deb(_0x56940e,_0x3f13eb){_0x56940e=_0x56940e-0x1bf;const _0xeddc80=_0xeddc();let _0x1deb55=_0xeddc80[_0x56940e];return _0x1deb55;}import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on'](_0x10ef54(0x35e),async _0x2bc5e5=>{const _0x1e8679={'kVztQ':function(_0x24553f){return _0x24553f();}},_0x57f1fb=_0x1e8679['kVztQ'](getCurrentCollector);_0x57f1fb&&await _0x57f1fb['trackCommandError'](_0x2bc5e5),process['exitCode']=0x1;});const rawArgs=process['argv'][_0x10ef54(0x256)](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\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\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,\x20--scope\x20user|project)\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/reset\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='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,\x20--scope\x20user|project)\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/reset)\x0a\x20\x20migrate\x20[<profile>]\x20\x20\x20\x20\x20\x20\x20Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20migrate\x20--all\x20--dry-run',PROFILE_CONFIG_HELP=_0x10ef54(0x29f);function warnRenamed(_0x55258a,_0x4b76e3){const _0x89b9e8=_0x10ef54;console[_0x89b9e8(0x212)]('\x0a'+_0x55258a+_0x89b9e8(0x2a2)+_0x4b76e3+'\x0a');}function argUsed(_0x4d99be){const _0x4ef845=_0x10ef54;return rawArgs[_0x4ef845(0x320)](_0x5b0552=>_0x5b0552===_0x4d99be||_0x5b0552[_0x4ef845(0x326)](_0x4d99be+'='));}function warnFlagRenamed(_0xe53a52,_0x534a9e,_0x15d4b6){const _0x360781=_0x10ef54,_0x361012={'ZjkCO':function(_0x321b60,_0x5b4512){return _0x321b60(_0x5b4512);}};_0x361012[_0x360781(0x2d5)](argUsed,_0x534a9e)&&warnRenamed(_0xe53a52+'\x20'+_0x534a9e,_0xe53a52+'\x20'+_0x15d4b6);}async function runGoCommand(_0x28f2c0,_0x4afb04=![]){const _0x3d8a51=_0x10ef54,_0xefd929={'JbmaS':function(_0x14c4bd,_0xd4540){return _0x14c4bd+_0xd4540;},'mMrue':function(_0x308929,_0xc67459,_0x185bf){return _0x308929(_0xc67459,_0x185bf);},'vjnYO':_0x3d8a51(0x22b),'czVCn':function(_0x11444e,_0x5c5867,_0x4314c0,_0x15775e){return _0x11444e(_0x5c5867,_0x4314c0,_0x15775e);},'IqLUw':_0x3d8a51(0x2de),'suWKQ':_0x3d8a51(0x1d6),'BduhC':_0x3d8a51(0x2e7),'Etbiy':'--item','KNQkQ':_0x3d8a51(0x238),'jexoo':function(_0x2d4d5b){return _0x2d4d5b();},'LQaed':function(_0x31de61,_0x6c2d0a){return _0x31de61(_0x6c2d0a);},'XuBhj':'start-path','raZTJ':'base-url','XrUWv':function(_0x2d22c4,_0x3c855e){return _0x2d22c4+_0x3c855e;},'QrwgK':function(_0x3acff4,_0x54f74d){return _0x3acff4===_0x54f74d;},'XGsdB':'verified','KZiCI':'\x20VERIFIED','mmSRE':function(_0x56874a,_0x33c410){return _0x56874a===_0x33c410;},'IBgSN':function(_0x5e6484,_0x18c9df){return _0x5e6484===_0x18c9df;},'ExHoW':_0x3d8a51(0x1c0),'zFnGo':_0x3d8a51(0x2fe),'mjZUh':_0x3d8a51(0x1c4),'qRrak':'\x20FAILED'};_0x4afb04&&_0xefd929[_0x3d8a51(0x338)](warnRenamed,_0xefd929[_0x3d8a51(0x34a)],_0x3d8a51(0x2de));_0xefd929['czVCn'](warnFlagRenamed,_0xefd929[_0x3d8a51(0x244)],_0xefd929['suWKQ'],_0xefd929['BduhC']),warnFlagRenamed(_0xefd929['IqLUw'],_0x3d8a51(0x21c),'--notes'),warnFlagRenamed(_0xefd929['IqLUw'],_0xefd929[_0x3d8a51(0x2e8)],_0xefd929['KNQkQ']);const _0x465392=await _0xefd929['jexoo'](loadRangerConfig),_0x588fac=isByokEnabled(),_0x360826=_0x28f2c0['model'],_0x258210=_0x465392[_0x3d8a51(0x1ea)],_0x29a498=await _0xefd929[_0x3d8a51(0x33a)](verifyFeature,{'featureId':_0x28f2c0[_0x3d8a51(0x223)],'profile':_0x28f2c0['profile']??_0x28f2c0[_0x3d8a51(0x349)]??process['env'][_0x3d8a51(0x2d1)],'notes':_0x28f2c0['notes']??_0x28f2c0[_0x3d8a51(0x21e)],'scenario':_0x28f2c0[_0x3d8a51(0x347)]??_0x28f2c0[_0x3d8a51(0x2f5)],'startPath':_0x28f2c0[_0xefd929['XuBhj']],'baseUrl':_0x28f2c0[_0xefd929['raZTJ']],'debugOutcome':_0x28f2c0[_0x3d8a51(0x295)],'debugAddressComments':_0x28f2c0['debug-address-comments'],'headed':_0x28f2c0['headed'],'byokEnabled':_0x588fac,'flagVerifyModel':_0x360826,'configVerifyModel':_0x258210});console['log'](_0xefd929[_0x3d8a51(0x2cb)]('\x0a','='[_0x3d8a51(0x312)](0x3c))),console[_0x3d8a51(0x36a)](_0xefd929[_0x3d8a51(0x2db)](_0x29a498['evaluation'],_0xefd929[_0x3d8a51(0x2c9)])?_0xefd929[_0x3d8a51(0x240)]:_0xefd929[_0x3d8a51(0x277)](_0x29a498[_0x3d8a51(0x1e3)],_0x3d8a51(0x22a))?_0x3d8a51(0x2a3):_0xefd929[_0x3d8a51(0x274)](_0x29a498['evaluation'],_0xefd929[_0x3d8a51(0x1e2)])?'\x20PARTIAL':_0x29a498[_0x3d8a51(0x1e3)]===_0xefd929[_0x3d8a51(0x2eb)]?_0xefd929[_0x3d8a51(0x221)]:_0xefd929['qRrak']),console['log']('='[_0x3d8a51(0x312)](0x3c)),console['log']('Summary:\x20'+_0x29a498['summary']),console['log']('Evaluation:\x20'+_0x29a498[_0x3d8a51(0x1e3)]),console['log']('Reason:\x20'+_0x29a498[_0x3d8a51(0x336)]),_0x29a498[_0x3d8a51(0x31c)]?.['length']&&(console['log'](_0x3d8a51(0x2f3)),_0x29a498[_0x3d8a51(0x31c)][_0x3d8a51(0x23a)]((_0x305962,_0x2200cc)=>{const _0x53ed58=_0x3d8a51;console[_0x53ed58(0x36a)]('\x0a'+_0xefd929['JbmaS'](_0x2200cc,0x1)+_0x53ed58(0x2ac)+_0x305962['severity']+']\x20'+_0x305962['description']);})),process[_0x3d8a51(0x1e4)](_0x29a498['evaluation']===_0xefd929['XGsdB']?0x0:0x1);}export function buildParser(_0x363f26){const _0x5ca7c5=_0x10ef54,_0x44ba09={'lBflK':'name','JPmNQ':'string','Dlpzz':'Feature\x20review\x20name','vaWaU':_0x5ca7c5(0x357),'xnjYn':'array','JiNno':_0x5ca7c5(0x2ba),'xcNaV':_0x5ca7c5(0x271),'FvZtL':'Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','flazk':'--checklist','vBbrT':_0x5ca7c5(0x238),'aNkdm':function(_0x1256cf,_0x4313d4,_0x3e3abd){return _0x1256cf(_0x4313d4,_0x3e3abd);},'mXcnM':'limit','OOuBa':_0x5ca7c5(0x367),'RQojc':_0x5ca7c5(0x24e),'IqTMg':_0x5ca7c5(0x216),'MlmTd':_0x5ca7c5(0x2c1),'aAvbp':'Scenario\x20description','KQPYe':_0x5ca7c5(0x356),'OSXYN':_0x5ca7c5(0x347),'tBfor':_0x5ca7c5(0x363),'sGoNu':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','xAKiS':_0x5ca7c5(0x2d2),'xcvCU':_0x5ca7c5(0x29e),'CukFV':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','UfByq':'report','Vumxt':function(_0x40a374,_0x3aae29,_0x1991de){return _0x40a374(_0x3aae29,_0x1991de);},'NHplm':_0x5ca7c5(0x303),'HfNkp':function(_0x5a3155,_0x51633f,_0x434c28){return _0x5a3155(_0x51633f,_0x434c28);},'BcCbe':'Feature\x20review\x20ID\x20to\x20restore','ICClD':'restore','TeVVa':'setup:deps','gIZcd':'mcp','jvQPO':_0x5ca7c5(0x2c3),'InTLD':function(_0x5f5cf){return _0x5f5cf();},'PrJEI':_0x5ca7c5(0x36d),'rrmGM':_0x5ca7c5(0x33c),'nPGKu':_0x5ca7c5(0x2f1),'Lriim':_0x5ca7c5(0x333),'AYiKT':'Ranger\x20API\x20token','wLzsY':'skip-chromium','kthyr':_0x5ca7c5(0x335),'fpCro':_0x5ca7c5(0x254),'WyAlH':'scope','avhas':'user','SxaGF':'allow-insecure-localhost','UawrG':'mcp-bootstrap','HqOPH':_0x5ca7c5(0x2af),'AqCks':function(_0x284a54,_0xedfc27){return _0x284a54(_0xedfc27);},'uyiDG':_0x5ca7c5(0x28f),'EtKuX':_0x5ca7c5(0x2c0),'hHtHI':'tokenOrSubcommand','nTuIr':_0x5ca7c5(0x205),'lyTbd':_0x5ca7c5(0x376),'nlEhZ':'Authenticate\x20with\x20Ranger','hjHWg':'skills','iYShy':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','AMoWo':_0x5ca7c5(0x316),'xKIGH':'url','LLXKK':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','Sgeru':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','IYITf':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','GBOEA':_0x5ca7c5(0x348),'NwmDN':_0x5ca7c5(0x217),'yfncr':_0x5ca7c5(0x22d),'WeDbM':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','ndOld':'setup-ci','eILyW':_0x5ca7c5(0x1c9),'jPMeB':'Install\x20scope\x20for\x20skills','Kelal':function(_0x279938,_0x42e05f){return _0x279938(_0x42e05f);},'hZHZg':_0x5ca7c5(0x21b),'fbsNG':_0x5ca7c5(0x2d7),'LVMEy':_0x5ca7c5(0x237),'LlHDI':'force','RZsov':_0x5ca7c5(0x239),'InInX':'setup-header','uaDbd':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','CIrEg':_0x5ca7c5(0x218),'jzPLk':'profile\x20encrypt-auth','ZpGHg':_0x5ca7c5(0x2e4),'YuIeB':'value','QXhCk':'Profile\x20name','uoSDR':_0x5ca7c5(0x241),'khpZb':_0x5ca7c5(0x2ff),'UvVKF':'Set\x20a\x20config\x20value','WeULz':_0x5ca7c5(0x2c5),'MchHC':_0x5ca7c5(0x34e),'AVxXh':_0x5ca7c5(0x2f7),'dIDje':function(_0x4bfd76,_0x8df0b3,_0x16b7b1){return _0x4bfd76(_0x8df0b3,_0x16b7b1);},'xwTAZ':_0x5ca7c5(0x1d3),'iuJJO':_0x5ca7c5(0x1c7),'UafXO':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','cDOYv':'use\x20<profile-name>','TCaHl':'Switch\x20to\x20using\x20a\x20specific\x20profile','TRMYs':_0x5ca7c5(0x222),'mmUWc':'login\x20<name>','pCuTH':'migrate\x20[profile-name]','xToAD':'config','OLUDQ':_0x5ca7c5(0x232),'yacmF':_0x5ca7c5(0x26c),'LOBVH':_0x5ca7c5(0x300),'bSSen':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','VjzEH':_0x5ca7c5(0x299),'fDlmi':_0x5ca7c5(0x223),'uYyFF':_0x5ca7c5(0x311),'oGmKd':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','UBsQS':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','AKyFF':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','esfoR':'partial','cYxkf':'blocked','CSXmS':_0x5ca7c5(0x242),'qwQUa':_0x5ca7c5(0x2fc),'rJEHl':'task','csobG':_0x5ca7c5(0x2f5),'rNYVz':function(_0x165d77,_0x564d27){return _0x165d77(_0x564d27);},'BYnxm':_0x5ca7c5(0x259),'qUqJP':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','Tysih':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','jGbYH':_0x5ca7c5(0x374),'EYmvf':_0x5ca7c5(0x266),'rvAkF':_0x5ca7c5(0x1ea),'Qukzh':_0x5ca7c5(0x226),'twHuj':'env-name','wmVNh':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','RnSAe':_0x5ca7c5(0x328),'YDIsF':_0x5ca7c5(0x332),'ASGMO':function(_0x3c6c5a,_0x52e638,_0x5ec42b){return _0x3c6c5a(_0x52e638,_0x5ec42b);},'fkTUr':_0x5ca7c5(0x25f),'jQXFx':'env','rvyit':_0x5ca7c5(0x37c),'fVKLf':'Config\x20value','eUmTI':'Config\x20key','gQkln':'ranger\x20profile\x20config\x20get','puXZX':_0x5ca7c5(0x291),'vrmKr':_0x5ca7c5(0x353),'liRrH':function(_0x21fc16,_0x4eafbe,_0x3cac6b){return _0x21fc16(_0x4eafbe,_0x3cac6b);},'enVZY':_0x5ca7c5(0x20e),'zthTW':function(_0x2004e1,_0x21dff0,_0x431ab1){return _0x2004e1(_0x21dff0,_0x431ab1);},'LCwFC':_0x5ca7c5(0x318),'VybXy':'set\x20<env>\x20<key>\x20<value>','MZIOH':'list\x20<env>','jXgou':'ranger\x20env\x20update','RwAir':_0x5ca7c5(0x1e8),'wNKCu':_0x5ca7c5(0x310),'jtbpr':function(_0x1c63be,_0x1c21a7,_0x20942b){return _0x1c63be(_0x1c21a7,_0x20942b);},'AeNDH':'You\x20must\x20specify\x20an\x20env\x20subcommand','GlVJg':function(_0x17c873,_0x238167,_0x153dc3){return _0x17c873(_0x238167,_0x153dc3);},'roWqK':_0x5ca7c5(0x1f3),'rQmhj':'ranger\x20create','ogGcg':function(_0x3f3b9d,_0x3a74da,_0x35a8cd,_0x3a8bee){return _0x3f3b9d(_0x3a74da,_0x35a8cd,_0x3a8bee);},'GIZgH':function(_0x6f9a9e,_0x2c03fa,_0x3873c7){return _0x6f9a9e(_0x2c03fa,_0x3873c7);},'SIAPs':_0x5ca7c5(0x302),'jwDeJ':function(_0xcc5472,_0x281638,_0x3e5a43){return _0xcc5472(_0x281638,_0x3e5a43);},'TmaTA':_0x5ca7c5(0x31b),'snhqm':'ranger\x20feature\x20get-feedback','KwmPh':_0x5ca7c5(0x2e5),'kYjjB':'feature\x20get-feedback','XKBig':_0x5ca7c5(0x35b),'LjhlO':'description','rexKv':'ranger\x20restore','Jngdv':'show\x20[id]','yTySa':'resume\x20[id]','SnExY':_0x5ca7c5(0x1f0),'grFas':_0x5ca7c5(0x258),'yRcfS':_0x5ca7c5(0x22c),'SBNts':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','lIffR':_0x5ca7c5(0x34f),'qoVnX':_0x5ca7c5(0x265),'eIgNh':'enable','EzWPG':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','hkAwn':'disable','oFYwT':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','VzafD':function(_0x542796,_0x558431,_0x17a6e0){return _0x542796(_0x558431,_0x17a6e0);},'RjJWU':function(_0x422c94,_0x110911){return _0x422c94(_0x110911);},'sFuxM':_0x5ca7c5(0x25b),'ctCJm':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','IttIF':function(_0x520711,_0x123026){return _0x520711||_0x123026;},'ubqnj':function(_0x5a2ae4,_0x381e86){return _0x5a2ae4(_0x381e86);},'gwghi':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','KBDUC':_0x5ca7c5(0x292),'sXbnG':_0x5ca7c5(0x380),'oGCXc':'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','xFauq':'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','VOcGY':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','vcmKc':'setup\x20[tokenOrSubcommand]','tvTiX':'setup-ci\x20<token>','ohrhe':'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','xZRdW':_0x5ca7c5(0x340),'toJJU':'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','FUomt':_0x5ca7c5(0x23b),'FEOoU':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','SYbXw':'verify-feature','ScMrB':_0x5ca7c5(0x36e),'tZqOs':function(_0x550bd7,_0x56c794){return _0x550bd7+_0x56c794;},'wjcVH':'\x20\x20https://docs.ranger.net\x0a','aCNWM':'help'};return _0x44ba09[_0x5ca7c5(0x313)](_0x198c04,_0x363f26??process['argv']['slice'](0x2))[_0x5ca7c5(0x261)](_0x5ca7c5(0x28f))['usage'](TOP_LEVEL_HELP)['version'](_0x44ba09['InTLD'](getCurrentVersion))[_0x5ca7c5(0x1cf)](_0x5ca7c5(0x37b),_0x44ba09[_0x5ca7c5(0x248)],_0x1d73b6=>{const _0x287955=_0x5ca7c5;return _0x1d73b6['positional'](_0x44ba09[_0x287955(0x330)],{'type':_0x44ba09[_0x287955(0x1d2)],'description':_0x44ba09['Dlpzz'],'demandOption':!![]})[_0x287955(0x200)](_0x287955(0x375),{'type':_0x44ba09[_0x287955(0x1d2)],'alias':'d','description':_0x44ba09['vaWaU']})[_0x287955(0x200)](_0x287955(0x347),{'type':_0x44ba09[_0x287955(0x362)],'alias':'c','description':_0x44ba09['JiNno']})[_0x287955(0x200)](_0x44ba09['xcNaV'],{'type':_0x44ba09[_0x287955(0x362)],'hidden':!![]});},async _0x1e6342=>{const _0x3a1044=_0x5ca7c5;if(!_0x1e6342[_0x3a1044(0x35c)]){console[_0x3a1044(0x212)](_0x44ba09[_0x3a1044(0x309)]+'Example:\x20ranger\x20create\x20my-feature'),process['exit'](0x1);return;}warnFlagRenamed('ranger\x20create',_0x44ba09['flazk'],_0x44ba09[_0x3a1044(0x2ae)]);const _0x211b2f=_0x1e6342['scenario']||_0x1e6342['checklist'];await _0x44ba09[_0x3a1044(0x31d)](withTelemetry,'create',()=>featureCreate(_0x1e6342['name'],{'description':_0x1e6342['description'],'scenarios':_0x211b2f}));})['command']('list','List\x20all\x20feature\x20reviews',_0xfbe24c=>{const _0x5e2399=_0x5ca7c5;return _0xfbe24c['option'](_0x5e2399(0x302),{'type':_0x5e2399(0x29e),'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option'](_0x44ba09['mXcnM'],{'type':_0x5e2399(0x367),'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option']('offset',{'type':_0x44ba09[_0x5e2399(0x1eb)],'alias':'o','description':_0x5e2399(0x344),'default':0x0})[_0x5e2399(0x200)](_0x5e2399(0x2ed),{'type':'boolean','alias':'d','description':_0x44ba09['RQojc'],'default':![]});},async _0x2b3831=>{const _0x1b6019=_0x5ca7c5;await withTelemetry(_0x1b6019(0x1e7),()=>featureList({'currentBranch':_0x2b3831['current-branch'],'limit':_0x2b3831[_0x1b6019(0x220)],'offset':_0x2b3831['offset'],'includeDeleted':_0x2b3831[_0x1b6019(0x2ed)]}));})['command']('show\x20[id]',_0x44ba09[_0x5ca7c5(0x31a)],_0x4211fc=>{const _0x4d724d=_0x5ca7c5;return _0x4211fc[_0x4d724d(0x329)]('id',{'type':_0x44ba09['JPmNQ'],'description':_0x4d724d(0x303)});},async _0x3716ff=>{await withTelemetry(_0x44ba09['IqTMg'],()=>featureShow(_0x3716ff['id']));})['command']('resume\x20[id]',_0x5ca7c5(0x2dc),_0x18649d=>{const _0x51ca20=_0x5ca7c5;return _0x18649d[_0x51ca20(0x329)]('id',{'type':_0x44ba09['JPmNQ'],'description':_0x51ca20(0x20d)});},async _0xd209ed=>{await withTelemetry(_0x44ba09['MlmTd'],()=>featureResume(_0xd209ed['id']));})['command'](_0x44ba09[_0x5ca7c5(0x2ec)],'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x411eba=>{const _0x25a47d=_0x5ca7c5;return _0x411eba['positional']('description',{'type':'string','description':_0x44ba09[_0x25a47d(0x2aa)],'demandOption':!![]})[_0x25a47d(0x200)]('id',{'type':_0x25a47d(0x1df),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x3b95f1=>{const _0x1bb19b=_0x5ca7c5;await _0x44ba09[_0x1bb19b(0x31d)](withTelemetry,_0x44ba09[_0x1bb19b(0x350)],()=>featureAddScenario(_0x3b95f1['description'],_0x3b95f1['id']));})['command'](_0x5ca7c5(0x2d8),_0x44ba09[_0x5ca7c5(0x339)],_0x5cb851=>{const _0x2f68fa=_0x5ca7c5;return _0x5cb851['positional'](_0x2f68fa(0x375),{'type':_0x44ba09['JPmNQ'],'description':'New\x20scenario\x20description','demandOption':!![]})['option'](_0x44ba09[_0x2f68fa(0x1f5)],{'type':_0x2f68fa(0x367),'description':_0x44ba09['tBfor'],'demandOption':!![]})[_0x2f68fa(0x200)]('id',{'type':_0x2f68fa(0x1df),'description':_0x44ba09['sGoNu']});},async _0x4545aa=>{const _0x2efabf=_0x5ca7c5;await withTelemetry(_0x2efabf(0x368),()=>featureEditScenario(_0x4545aa[_0x2efabf(0x375)],{'id':_0x4545aa['id'],'scenario':_0x4545aa['scenario']}));})[_0x5ca7c5(0x1cf)](_0x5ca7c5(0x314),_0x44ba09['xFauq'],_0x4c81fe=>{const _0xc4c88a=_0x5ca7c5;return _0x4c81fe['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'})['option'](_0xc4c88a(0x2cf),{'type':_0xc4c88a(0x2be),'description':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'})['option'](_0x44ba09[_0xc4c88a(0x206)],{'type':_0x44ba09['xcvCU'],'description':_0x44ba09['CukFV'],'default':![]});},async _0x45dea6=>{const _0x4951c8=_0x5ca7c5,_0x3aecf5=_0x45dea6[_0x4951c8(0x2cf)],_0x23d0a1=_0x3aecf5?_0x3aecf5[_0x4951c8(0x1e5)](_0x4ae454=>Number(_0x4ae454)):undefined;await _0x44ba09[_0x4951c8(0x31d)](withTelemetry,_0x44ba09['UfByq'],()=>featureReportPrDescription(_0x45dea6['id'],{'excludeScenarios':_0x23d0a1,'json':_0x45dea6['json']}));})['command']('get-review\x20[id]',_0x5ca7c5(0x2fb),_0x239648=>{const _0x19ab1e=_0x5ca7c5;return _0x239648['positional']('id',{'type':_0x44ba09[_0x19ab1e(0x1d2)],'description':_0x44ba09[_0x19ab1e(0x1d9)]});},async _0x130526=>{const _0x1cff2f=_0x5ca7c5;await _0x44ba09['Vumxt'](withTelemetry,_0x1cff2f(0x273),()=>featureGetReview(_0x130526['id']));})[_0x5ca7c5(0x1cf)]('delete\x20[id]',_0x44ba09['VOcGY'],_0xac9ceb=>{const _0x3cd64d=_0x5ca7c5;return _0xac9ceb[_0x3cd64d(0x329)]('id',{'type':_0x3cd64d(0x1df),'description':_0x44ba09[_0x3cd64d(0x1e0)]});},async _0x2c89de=>{const _0x1b54ea=_0x5ca7c5;await _0x44ba09['HfNkp'](withTelemetry,_0x1b54ea(0x1cc),()=>featureDelete(_0x2c89de['id']));})['command'](_0x5ca7c5(0x22c),_0x5ca7c5(0x2da),_0x5f56e8=>{return _0x5f56e8['positional']('id',{'type':'string','description':_0x44ba09['BcCbe'],'demandOption':!![]});},async _0x49520d=>{const _0x45f37e=_0x5ca7c5;await _0x44ba09[_0x45f37e(0x1bf)](withTelemetry,_0x44ba09[_0x45f37e(0x2ce)],()=>featureRestore(_0x49520d['id']));})[_0x5ca7c5(0x1cf)](_0x44ba09['vcmKc'],'Initialize\x20Ranger\x20in\x20your\x20project',_0x3600bd=>{const _0x35d2f8=_0x5ca7c5,_0x598ce9={'kIbPI':_0x35d2f8(0x1df),'VqWxC':_0x44ba09[_0x35d2f8(0x34c)],'QRfmA':_0x44ba09['wLzsY'],'UXjgv':_0x35d2f8(0x29e),'Etudq':_0x44ba09['kthyr'],'Optmf':_0x44ba09['fpCro'],'XxiZy':'with-deps','SMXSt':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','giecO':_0x44ba09[_0x35d2f8(0x234)],'UolDP':_0x44ba09[_0x35d2f8(0x2b6)],'VphDO':_0x44ba09[_0x35d2f8(0x27a)],'KgSTG':_0x44ba09[_0x35d2f8(0x31f)],'hXdDZ':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','TYmyD':_0x44ba09['SxaGF'],'sNCzm':_0x44ba09['UawrG'],'fEZcE':function(_0x61ab9d,_0x216cd5,_0x4c7ff6){const _0x5d7f23=_0x35d2f8;return _0x44ba09[_0x5d7f23(0x31d)](_0x61ab9d,_0x216cd5,_0x4c7ff6);},'HRnEG':'setup:all','BfFYt':_0x44ba09['HqOPH'],'iKTsr':function(_0x68a52f,_0x34c3b2){const _0x5cecd3=_0x35d2f8;return _0x44ba09[_0x5cecd3(0x1fb)](_0x68a52f,_0x34c3b2);},'eiOeG':function(_0x5f0237,_0x39d698,_0x3aeace){return _0x5f0237(_0x39d698,_0x3aeace);},'NvNtJ':_0x44ba09['uyiDG'],'PCiRu':function(_0x545f0c,_0x2764fa){return _0x545f0c(_0x2764fa);},'euuFS':function(_0x37e956,_0x594d37,_0x42711b){return _0x37e956(_0x594d37,_0x42711b);},'JPMYZ':_0x35d2f8(0x2e3),'fSMuO':_0x44ba09['EtKuX'],'toYFZ':_0x35d2f8(0x28d),'ZJLUA':_0x35d2f8(0x35a)};return _0x3600bd[_0x35d2f8(0x2fd)](_0x35d2f8(0x22e))['positional'](_0x44ba09[_0x35d2f8(0x253)],{'type':_0x35d2f8(0x1df),'description':_0x35d2f8(0x26d)})['command']('all',_0x35d2f8(0x27f),_0x1e57b4=>{const _0x55a7d9=_0x35d2f8;return _0x1e57b4['option']('token',{'type':_0x598ce9[_0x55a7d9(0x1d7)],'description':_0x598ce9['VqWxC']})['option'](_0x598ce9[_0x55a7d9(0x370)],{'type':_0x598ce9[_0x55a7d9(0x272)],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x55a7d9(0x200)](_0x598ce9['Etudq'],{'type':_0x55a7d9(0x29e),'description':_0x598ce9[_0x55a7d9(0x1d4)],'default':![]})['option'](_0x598ce9[_0x55a7d9(0x325)],{'type':_0x598ce9['UXjgv'],'description':_0x598ce9[_0x55a7d9(0x25c)],'default':![]})['option'](_0x598ce9[_0x55a7d9(0x1ec)],{'type':_0x598ce9['kIbPI'],'choices':[_0x598ce9['UolDP'],_0x598ce9['VphDO']],'description':_0x598ce9[_0x55a7d9(0x209)]})['option']('url',{'type':_0x598ce9['kIbPI'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})['option'](_0x55a7d9(0x35a),{'type':'boolean','description':_0x598ce9['hXdDZ'],'default':![]})[_0x55a7d9(0x200)](_0x55a7d9(0x333),{'type':'boolean','description':_0x55a7d9(0x264),'default':![]})['option'](_0x598ce9['TYmyD'],{'type':_0x55a7d9(0x29e),'description':_0x55a7d9(0x2d3),'default':![]})['option']('mcp-bootstrap',{'type':_0x598ce9['UXjgv'],'description':_0x55a7d9(0x2e1),'default':![]})['option']('mcp',{'type':_0x598ce9[_0x55a7d9(0x272)],'description':'Alias\x20for\x20--mcp-bootstrap','default':![]});},async _0x1d3592=>{const _0x2cd034=_0x35d2f8;(_0x1d3592[_0x598ce9[_0x2cd034(0x233)]]||_0x1d3592['mcp'])&&await withTelemetry(_0x598ce9['sNCzm'],()=>mcpBootstrap()),await _0x598ce9['fEZcE'](withTelemetry,_0x598ce9[_0x2cd034(0x2b7)],_0x23c90a=>start(_0x1d3592['token'],{'skipChromium':_0x1d3592['skip-chromium'],'skipAuth':_0x1d3592[_0x2cd034(0x335)],'withDeps':_0x1d3592[_0x2cd034(0x348)],'scope':_0x1d3592[_0x2cd034(0x28b)],'url':_0x1d3592['url'],'force':_0x1d3592['force'],'opencode':_0x1d3592['opencode'],'allowInsecureLocalhost':_0x1d3592[_0x2cd034(0x1f9)]},_0x23c90a));})['command']('deps',_0x44ba09['nTuIr'],_0x42471d=>{const _0x5b4b35=_0x35d2f8;return _0x42471d['option']('with-deps',{'type':_0x598ce9['UXjgv'],'description':_0x598ce9[_0x5b4b35(0x304)],'default':![]});},async _0x12861b=>{const _0x1f15a7=_0x35d2f8;await withTelemetry(_0x44ba09[_0x1f15a7(0x1c5)],()=>ensureChromium(_0x12861b[_0x1f15a7(0x348)]));})[_0x35d2f8(0x1cf)](_0x44ba09['lyTbd'],_0x44ba09[_0x35d2f8(0x288)],_0x2844fd=>{const _0x5839cd=_0x35d2f8;return _0x2844fd[_0x5839cd(0x200)]('token',{'type':'string','description':_0x5839cd(0x20c)})['option'](_0x44ba09['gIZcd'],{'type':_0x5839cd(0x29e),'description':_0x44ba09[_0x5839cd(0x282)],'default':![]});},async _0x25e463=>{const _0x3edff1={'xRLgX':function(_0x5d1616){const _0x23b145=_0x1deb;return _0x44ba09[_0x23b145(0x294)](_0x5d1616);},'VaQIK':function(_0x143a4b,_0x1c7557){return _0x143a4b(_0x1c7557);},'Rznqf':function(_0x3bb911,_0x291cbe){return _0x3bb911(_0x291cbe);}};await withTelemetry(_0x44ba09['PrJEI'],async()=>{const _0x5bb41e=_0x1deb;if(_0x25e463[_0x5bb41e(0x346)]){await _0x3edff1['xRLgX'](mcpBootstrap);const _0x5d3eaf=await _0x3edff1[_0x5bb41e(0x2a1)](refreshCliToken);if(!_0x5d3eaf)throw new Error(_0x5bb41e(0x249));const _0x13f8d3=await _0x3edff1[_0x5bb41e(0x1c2)](getCurrentUser,_0x5d3eaf);if(!_0x13f8d3['success'])throw new Error(_0x5bb41e(0x308)+_0x13f8d3['error']);console['log'](_0x5bb41e(0x369)+_0x13f8d3['user']['organizationName']);return;}await _0x3edff1[_0x5bb41e(0x1e6)](authenticate,_0x25e463['token']);});})[_0x35d2f8(0x1cf)](_0x44ba09[_0x35d2f8(0x30f)],_0x44ba09[_0x35d2f8(0x327)],_0x5a0ab3=>{const _0x284b21=_0x35d2f8;return _0x5a0ab3[_0x284b21(0x200)](_0x284b21(0x28b),{'type':_0x44ba09[_0x284b21(0x1d2)],'choices':[_0x284b21(0x351),_0x44ba09[_0x284b21(0x27a)]],'description':_0x44ba09[_0x284b21(0x31f)]})['option'](_0x44ba09[_0x284b21(0x31e)],{'type':'boolean','description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]});},async _0xe97736=>{await _0x598ce9['euuFS'](withTelemetry,_0x598ce9['JPMYZ'],async()=>{const _0x186c5e=_0x1deb,_0x263bcd=_0xe97736['scope'];if(_0xe97736['opencode']){const _0x370fb3=await _0x598ce9[_0x186c5e(0x36f)](ensureOpencodePluginConfig,_0x263bcd);_0x370fb3&&await _0x598ce9[_0x186c5e(0x210)](installSkill,_0x598ce9['NvNtJ'],{'level':_0x370fb3[_0x186c5e(0x28b)],'cliVersion':getCurrentVersion(),'platform':_0x186c5e(0x333)});}else await _0x598ce9[_0x186c5e(0x36f)](ensureClaudePlugin,_0x263bcd),await _0x598ce9[_0x186c5e(0x262)](ensureClaudeSkills,_0x263bcd);});})['command'](_0x44ba09[_0x35d2f8(0x28c)],_0x35d2f8(0x255),_0x4b7696=>{const _0x37ab8b=_0x35d2f8;return _0x4b7696[_0x37ab8b(0x200)]('scope',{'type':_0x598ce9[_0x37ab8b(0x1d7)],'choices':[_0x598ce9['UolDP'],_0x37ab8b(0x33c)],'description':_0x37ab8b(0x2ef)})[_0x37ab8b(0x200)]('url',{'type':_0x598ce9[_0x37ab8b(0x1d7)],'description':_0x598ce9[_0x37ab8b(0x2e9)]})['option'](_0x598ce9[_0x37ab8b(0x275)],{'type':_0x37ab8b(0x29e),'description':_0x598ce9['toYFZ'],'default':![]})['option'](_0x598ce9[_0x37ab8b(0x2bd)],{'type':_0x598ce9[_0x37ab8b(0x272)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x598ce9[_0x37ab8b(0x1f4)],{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x548b92=>{const _0x2a64a0=_0x35d2f8;await _0x44ba09['aNkdm'](withTelemetry,_0x2a64a0(0x246),_0x425d8a=>ensureLocalEnv({'url':_0x548b92['url'],'force':_0x548b92[_0x2a64a0(0x35a)],'allowInsecureLocalhost':_0x548b92['allow-insecure-localhost'],'scope':_0x548b92['scope']===_0x2a64a0(0x351)?_0x2a64a0(0x351):undefined},_0x425d8a));})['option'](_0x44ba09[_0x35d2f8(0x20a)],{'type':'boolean','description':_0x35d2f8(0x37e),'default':![]})[_0x35d2f8(0x200)](_0x35d2f8(0x28b),{'type':_0x44ba09[_0x35d2f8(0x1d2)],'choices':['user',_0x44ba09['rrmGM']],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})['option'](_0x44ba09['xKIGH'],{'type':_0x35d2f8(0x1df),'description':_0x35d2f8(0x1d0)})['option'](_0x35d2f8(0x35a),{'type':_0x44ba09['xcvCU'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x35d2f8(0x333),{'type':_0x44ba09['xcvCU'],'description':_0x35d2f8(0x264),'default':![]})[_0x35d2f8(0x200)](_0x44ba09[_0x35d2f8(0x252)],{'type':_0x44ba09['xcvCU'],'description':_0x44ba09['LLXKK'],'default':![]})['option'](_0x35d2f8(0x36b),{'type':_0x44ba09['xcvCU'],'description':_0x44ba09['Sgeru'],'default':![]})[_0x35d2f8(0x200)](_0x35d2f8(0x335),{'type':_0x44ba09[_0x35d2f8(0x30a)],'description':_0x44ba09[_0x35d2f8(0x32e)],'default':![]})[_0x35d2f8(0x200)](_0x44ba09['GBOEA'],{'type':_0x44ba09['xcvCU'],'description':_0x44ba09[_0x35d2f8(0x1c6)],'default':![]})[_0x35d2f8(0x200)](_0x44ba09['NwmDN'],{'type':_0x44ba09['JPmNQ'],'hidden':!![],'description':_0x44ba09[_0x35d2f8(0x1c3)]});},async _0x13806c=>{const _0x1794f7=_0x5ca7c5,_0x4fc101=_0x13806c['tokenOrSubcommand'],_0x591b5f=_0x13806c[_0x1794f7(0x217)]??_0x4fc101;_0x13806c[_0x1794f7(0x36b)]&&await withTelemetry(_0x1794f7(0x36b),()=>mcpBootstrap()),await _0x44ba09[_0x1794f7(0x1bf)](withTelemetry,'start',_0x58cae6=>start(_0x591b5f,{'skipChromium':_0x13806c['skip-chromium'],'skipAuth':_0x13806c[_0x1794f7(0x335)],'withDeps':_0x13806c['with-deps'],'scope':_0x13806c['scope'],'url':_0x13806c[_0x1794f7(0x260)],'force':_0x13806c['force'],'opencode':_0x13806c[_0x1794f7(0x333)],'allowInsecureLocalhost':_0x13806c[_0x1794f7(0x1f9)]},_0x58cae6));})['command'](_0x44ba09[_0x5ca7c5(0x33e)],_0x5ca7c5(0x267),_0x28a775=>{const _0x3afeba=_0x5ca7c5;return _0x28a775['positional'](_0x3afeba(0x217),{'type':_0x44ba09[_0x3afeba(0x1d2)],'description':_0x3afeba(0x2b1),'demandOption':!![]})['option']('profile',{'type':'string','description':_0x44ba09[_0x3afeba(0x289)]})['option']('base-url',{'type':_0x44ba09[_0x3afeba(0x1d2)],'description':_0x3afeba(0x23d)})['option'](_0x44ba09[_0x3afeba(0x20a)],{'type':_0x44ba09['xcvCU'],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x2d8232=>{const _0x2a1760=_0x5ca7c5;await withTelemetry(_0x44ba09['ndOld'],_0x4d7fe0=>setupCi(_0x2d8232[_0x2a1760(0x217)],{'profile':_0x2d8232['profile'],'baseUrl':_0x2d8232['base-url'],'skipChromium':_0x2d8232[_0x2a1760(0x1ef)]},_0x4d7fe0));})['command'](_0x44ba09['lyTbd'],_0x44ba09[_0x5ca7c5(0x235)],()=>{},async()=>{const _0x574761=_0x5ca7c5;await withTelemetry(_0x44ba09[_0x574761(0x211)],()=>login());})[_0x5ca7c5(0x1cf)]('skillup',_0x44ba09[_0x5ca7c5(0x251)],_0x3b07fc=>{const _0x11f772=_0x5ca7c5;return _0x3b07fc[_0x11f772(0x200)](_0x44ba09['Lriim'],{'type':_0x44ba09['xcvCU'],'description':_0x44ba09['eILyW'],'default':![]})['option'](_0x44ba09['WyAlH'],{'type':'string','choices':[_0x11f772(0x351),_0x44ba09[_0x11f772(0x27a)]],'description':_0x44ba09['jPMeB']});},async _0x518dbf=>{const _0x7730ad=_0x5ca7c5,_0x3777b6=_0x44ba09['Kelal'](Boolean,_0x518dbf['opencode']);await withTelemetry(_0x44ba09[_0x7730ad(0x30b)],()=>skillup({'autoInstall':_0x518dbf[_0x7730ad(0x28b)],'platform':_0x3777b6?_0x7730ad(0x333):_0x7730ad(0x30d)}));})[_0x5ca7c5(0x1cf)](_0x5ca7c5(0x2d7),_0x44ba09['toJJU'],()=>{},async()=>{await _0x44ba09['HfNkp'](withTelemetry,_0x44ba09['fbsNG'],()=>clean());})[_0x5ca7c5(0x1cf)]([_0x44ba09[_0x5ca7c5(0x2a6)],'profiles'],_0x44ba09[_0x5ca7c5(0x2cd)],_0x3f2fc7=>{const _0x14254e=_0x5ca7c5,_0x30041f={'gTojp':_0x14254e(0x373),'PErCo':_0x14254e(0x263),'XCUUv':'profile-name','SSHBy':_0x44ba09['JPmNQ'],'VUGOC':_0x44ba09[_0x14254e(0x219)],'TCOhH':_0x14254e(0x36c),'Nwxml':_0x14254e(0x1d8),'wXKDL':'allow-insecure-localhost','vnSzD':'profile\x20update','BrsQF':_0x14254e(0x37f),'SzSEi':function(_0x49ef42,_0x15896b,_0x440608){const _0x111d7a=_0x14254e;return _0x44ba09[_0x111d7a(0x321)](_0x49ef42,_0x15896b,_0x440608);},'UQwTZ':_0x44ba09['xwTAZ'],'UCBCQ':_0x44ba09[_0x14254e(0x2b0)],'niQOA':_0x14254e(0x29e),'DPozB':_0x44ba09['UafXO'],'huAdr':_0x14254e(0x208),'SjTsG':_0x14254e(0x377),'RTmcK':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','trNoN':_0x14254e(0x311)};return _0x3f2fc7['usage'](PROFILE_HELP)['command'](_0x14254e(0x307),_0x14254e(0x281),_0x34ab56=>{const _0x5fa7a0=_0x14254e;return _0x34ab56['positional'](_0x44ba09['LVMEy'],{'type':_0x44ba09[_0x5fa7a0(0x1d2)],'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x5fa7a0(0x29e),'description':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x5fa7a0(0x335),{'type':_0x5fa7a0(0x29e),'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0x5fa7a0(0x200)](_0x44ba09['xKIGH'],{'type':_0x44ba09[_0x5fa7a0(0x1d2)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)'})[_0x5fa7a0(0x200)](_0x44ba09[_0x5fa7a0(0x214)],{'type':_0x44ba09['xcvCU'],'description':_0x44ba09['RZsov'],'default':![]})['option'](_0x5fa7a0(0x263),{'type':_0x5fa7a0(0x1df),'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})['option'](_0x5fa7a0(0x1f9),{'type':'boolean','description':_0x5fa7a0(0x352),'default':![]})[_0x5fa7a0(0x200)]('safe-mode',{'type':_0x5fa7a0(0x29e),'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]})['option'](_0x44ba09[_0x5fa7a0(0x319)],{'type':'string','array':!![],'description':_0x44ba09['uaDbd']})[_0x5fa7a0(0x200)](_0x44ba09['WyAlH'],{'type':_0x44ba09[_0x5fa7a0(0x1d2)],'choices':[_0x44ba09[_0x5fa7a0(0x2b6)],_0x44ba09[_0x5fa7a0(0x27a)]],'description':_0x5fa7a0(0x305)})[_0x5fa7a0(0x200)](_0x5fa7a0(0x208),{'type':_0x5fa7a0(0x29e),'alias':'y','description':_0x44ba09[_0x5fa7a0(0x2f8)],'default':![]});},async _0x13caca=>{const _0x1e57b3=_0x14254e;await withTelemetry(_0x30041f[_0x1e57b3(0x1fd)],_0x29b9bc=>addEnv(_0x13caca['profile-name'],{'ci':_0x13caca['ci'],'skipAuth':_0x13caca[_0x1e57b3(0x335)],'url':_0x13caca['url'],'force':_0x13caca[_0x1e57b3(0x35a)],'cdpEndpoint':_0x13caca['cdp-endpoint'],'allowInsecureLocalhost':_0x13caca['allow-insecure-localhost'],'safeMode':_0x13caca['safe-mode'],'setupHeader':_0x13caca['setup-header'],'scope':_0x13caca['scope'],'yes':_0x13caca[_0x1e57b3(0x208)]},_0x29b9bc),{'isElectron':Boolean(_0x13caca[_0x30041f[_0x1e57b3(0x2b9)]])});})[_0x14254e(0x1cf)](_0x44ba09[_0x14254e(0x27d)],_0x44ba09[_0x14254e(0x2a7)],_0x324985=>{const _0x384011=_0x14254e;return _0x324985[_0x384011(0x329)](_0x30041f[_0x384011(0x1f7)],{'type':_0x30041f['SSHBy'],'description':'Name\x20of\x20the\x20profile','demandOption':!![]});},async _0x1d0ef9=>{const _0x57fb5b=_0x14254e;await withTelemetry(_0x57fb5b(0x270),()=>useEnv(_0x1d0ef9['profile-name']));})['command']('encrypt-auth\x20<profile>',_0x14254e(0x2d4),_0x435981=>{const _0x1ee40c=_0x14254e;return _0x435981['positional'](_0x1ee40c(0x311),{'type':_0x1ee40c(0x1df),'description':_0x30041f['VUGOC'],'demandOption':!![]});},async _0x57adf6=>{const _0x205d1d=_0x14254e;await _0x44ba09[_0x205d1d(0x31d)](withTelemetry,_0x44ba09['jzPLk'],()=>authEncrypt(_0x57adf6[_0x205d1d(0x311)]));})['command']('ls',_0x14254e(0x2f2),()=>{},async()=>{const _0x4e5ab4=_0x14254e;await withTelemetry(_0x30041f[_0x4e5ab4(0x1ca)],()=>envList());})['command'](_0x14254e(0x29d),_0x44ba09[_0x14254e(0x269)],_0x1a0e56=>{const _0x1a372d=_0x14254e;return _0x1a0e56[_0x1a372d(0x329)](_0x30041f[_0x1a372d(0x1f7)],{'type':_0x30041f['SSHBy'],'description':_0x30041f[_0x1a372d(0x32d)],'demandOption':!![]})['option'](_0x30041f['wXKDL'],{'type':_0x1a372d(0x29e),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)'});},async _0x25ef44=>{const _0x202f08=_0x14254e;await withTelemetry(_0x30041f[_0x202f08(0x257)],_0x4c8654=>updateEnv(_0x25ef44[_0x202f08(0x237)],_0x4c8654,{'allowInsecureLocalhost':_0x25ef44[_0x202f08(0x1f9)]}));})['command'](_0x44ba09['mmUWc'],![],_0x35c651=>{const _0x1294c5=_0x14254e;return _0x35c651[_0x1294c5(0x329)](_0x1294c5(0x35c),{'type':_0x44ba09[_0x1294c5(0x1d2)],'description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0xe277c5=>{await withTelemetry('profile\x20login',async()=>{const _0x4d89c9=_0x1deb,_0x1c3c57=process['env']['RANGER_TEST_USERNAME'],_0x156bd0=process['env'][_0x4d89c9(0x26b)];(!_0x1c3c57||!_0x156bd0)&&(console['error'](_0x30041f['BrsQF']),process[_0x4d89c9(0x1e4)](0x1));const _0x44c78b=_0xe277c5['name'],_0x718727=await _0x30041f[_0x4d89c9(0x2e0)](serverSideLogin,_0x44c78b,{'force':!![]});_0x718727[_0x4d89c9(0x300)]===_0x4d89c9(0x236)&&(console['error'](_0x4d89c9(0x2dd)),process[_0x4d89c9(0x1e4)](0x1)),_0x718727['status']===_0x4d89c9(0x242)&&(console[_0x4d89c9(0x212)](_0x4d89c9(0x24f)+(_0x718727[_0x4d89c9(0x212)]??'unknown\x20error')),_0x718727['test_output']&&console['error'](_0x718727[_0x4d89c9(0x331)]),process[_0x4d89c9(0x1e4)](0x1)),console['log']('✓\x20Server-side\x20login\x20succeeded\x20for\x20\x27'+_0x44c78b+'\x27.\x20Session\x20written\x20to\x20cloud\x20profile.');});})[_0x14254e(0x1cf)](_0x44ba09[_0x14254e(0x1dc)],'Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)',_0x1e62db=>{const _0x2f58f2=_0x14254e;return _0x1e62db[_0x2f58f2(0x329)](_0x30041f['XCUUv'],{'type':_0x2f58f2(0x1df),'description':_0x30041f['UQwTZ']})[_0x2f58f2(0x200)](_0x30041f['UCBCQ'],{'type':_0x30041f['niQOA'],'description':_0x2f58f2(0x317),'default':![]})[_0x2f58f2(0x200)](_0x2f58f2(0x247),{'type':'boolean','description':_0x30041f['DPozB'],'default':![]})['option'](_0x30041f['huAdr'],{'type':'boolean','alias':'y','description':_0x2f58f2(0x23c),'default':![]})['option'](_0x30041f['SjTsG'],{'type':'boolean','description':_0x30041f[_0x2f58f2(0x228)],'default':![]});},async _0x279d87=>{const _0x43317d=_0x14254e;await withTelemetry(_0x44ba09['ZpGHg'],_0x1f32bd=>migrateProfile({'profileName':_0x279d87['profile-name'],'all':_0x279d87[_0x43317d(0x1c7)],'dryRun':_0x279d87['dry-run'],'yes':_0x279d87[_0x43317d(0x208)],'saveCreds':_0x279d87[_0x43317d(0x377)]},_0x1f32bd));})['command'](_0x44ba09['xToAD'],_0x44ba09[_0x14254e(0x2cc)],_0x25f03b=>{const _0x182771=_0x14254e,_0x456e9d={'uiSeT':_0x44ba09[_0x182771(0x1d2)],'StWss':'key','LLwJX':_0x44ba09[_0x182771(0x27c)],'folrF':_0x182771(0x311),'kdreT':_0x44ba09[_0x182771(0x219)],'adSeN':_0x44ba09[_0x182771(0x287)],'mADDT':_0x182771(0x28e),'MlNvU':_0x44ba09['khpZb']};return _0x25f03b['usage'](PROFILE_CONFIG_HELP)['command'](_0x182771(0x1ee),_0x44ba09[_0x182771(0x301)],_0x4a5df6=>{const _0x15cf7f=_0x182771;return _0x4a5df6['positional'](_0x15cf7f(0x311),{'type':_0x456e9d[_0x15cf7f(0x21a)],'description':_0x15cf7f(0x296),'demandOption':!![]})[_0x15cf7f(0x329)](_0x456e9d['StWss'],{'type':_0x456e9d[_0x15cf7f(0x21a)],'description':_0x15cf7f(0x315),'demandOption':!![]})['positional'](_0x456e9d['LLwJX'],{'type':_0x456e9d['uiSeT'],'description':_0x15cf7f(0x32b),'demandOption':!![]});},async _0x306d52=>{const _0x59c05c=_0x182771;await _0x30041f[_0x59c05c(0x2e0)](withTelemetry,_0x59c05c(0x2a5),()=>configSet(_0x306d52[_0x59c05c(0x311)],_0x306d52['key'],_0x306d52['value']));})[_0x182771(0x1cf)](_0x182771(0x20f),_0x182771(0x278),_0x2c67f0=>{const _0xa92222=_0x182771;return _0x2c67f0[_0xa92222(0x329)](_0x30041f[_0xa92222(0x202)],{'type':_0xa92222(0x1df),'description':_0x30041f['VUGOC'],'demandOption':!![]})[_0xa92222(0x329)](_0xa92222(0x2df),{'type':_0x30041f['SSHBy'],'description':'Config\x20key','demandOption':!![]});},async _0x27f6b0=>{const _0x521749=_0x182771;await _0x30041f[_0x521749(0x2e0)](withTelemetry,_0x521749(0x29b),()=>configGet(_0x27f6b0[_0x521749(0x311)],_0x27f6b0[_0x521749(0x2df)]));})[_0x182771(0x1cf)](_0x182771(0x32f),_0x182771(0x227),_0x36c834=>{const _0x1941f8=_0x182771;return _0x36c834['positional'](_0x456e9d[_0x1941f8(0x2f6)],{'type':_0x456e9d['uiSeT'],'description':_0x456e9d[_0x1941f8(0x35f)],'demandOption':!![]});},async _0x432076=>{const _0xcdeac9=_0x182771;await withTelemetry(_0x456e9d['adSeN'],()=>configList(_0x432076[_0xcdeac9(0x311)]));})[_0x182771(0x1cf)](_0x44ba09[_0x182771(0x1e1)],_0x44ba09['MchHC'],_0x354cd7=>{const _0x8dfcc6=_0x182771;return _0x354cd7[_0x8dfcc6(0x329)](_0x8dfcc6(0x311),{'type':_0x456e9d[_0x8dfcc6(0x21a)],'description':_0x456e9d[_0x8dfcc6(0x35f)],'demandOption':!![]})[_0x8dfcc6(0x329)]('key',{'type':_0x456e9d['uiSeT'],'description':_0x456e9d['mADDT'],'demandOption':!![]});},async _0x398604=>{const _0x191ab2=_0x182771;await withTelemetry(_0x456e9d['MlNvU'],()=>configUnset(_0x398604[_0x191ab2(0x311)],_0x398604[_0x191ab2(0x2df)]));})[_0x182771(0x1cf)](_0x44ba09['AVxXh'],'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile\x20(cloud\x20profiles\x20only)',_0x5ed465=>{const _0x4cac9a=_0x182771;return _0x5ed465['positional'](_0x4cac9a(0x311),{'type':_0x30041f['SSHBy'],'description':'Profile\x20name','demandOption':!![]});},async _0x5d4d49=>{const _0x2c2059=_0x182771;await withTelemetry(_0x2c2059(0x225),()=>configReset(_0x5d4d49['profile']));})[_0x182771(0x2d0)](0x1,_0x182771(0x354));})['demandCommand'](0x1,_0x44ba09[_0x14254e(0x2f4)]);})['command']('status',_0x44ba09['FEOoU'],()=>{},async()=>{await withTelemetry(_0x44ba09['LOBVH'],()=>status());})[_0x5ca7c5(0x1cf)](_0x5ca7c5(0x2c6),'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{await withTelemetry('update',()=>update());})[_0x5ca7c5(0x1cf)](_0x44ba09[_0x5ca7c5(0x1db)],'Print\x20the\x20current\x20CLI\x20access\x20token',()=>{},async()=>{const _0x56f1cc=_0x5ca7c5,_0x356cbc={'JjtWZ':function(_0x2852fe){return _0x2852fe();},'OHhrQ':_0x44ba09[_0x56f1cc(0x33d)]};await withTelemetry(_0x44ba09[_0x56f1cc(0x1db)],async()=>{const _0x4bef2a=_0x56f1cc,_0x53ad1d=await _0x356cbc[_0x4bef2a(0x32c)](getToken);if(!_0x53ad1d)throw new Error(_0x356cbc['OHhrQ']);console['log'](_0x53ad1d);});})[_0x5ca7c5(0x1cf)]('go',_0x5ca7c5(0x280),_0x52a92c=>{const _0x57ea04=_0x5ca7c5;return _0x52a92c[_0x57ea04(0x200)](_0x44ba09[_0x57ea04(0x343)],{'type':_0x44ba09[_0x57ea04(0x1d2)],'description':'Optional\x20feature\x20ID'})[_0x57ea04(0x200)](_0x44ba09['uYyFF'],{'type':_0x44ba09['JPmNQ'],'description':_0x44ba09['oGmKd']})['option'](_0x57ea04(0x366),{'type':_0x44ba09[_0x57ea04(0x1d2)],'description':_0x57ea04(0x323)})['option']('scenario',{'type':_0x57ea04(0x367),'description':'Scenario\x20index\x20(1-based)'})[_0x57ea04(0x200)]('start-path',{'type':_0x44ba09['JPmNQ'],'description':_0x44ba09['UBsQS']})['option'](_0x57ea04(0x266),{'type':_0x44ba09[_0x57ea04(0x1d2)],'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x57ea04(0x200)]('model',{'type':'string','description':_0x57ea04(0x2a4)})['option'](_0x57ea04(0x226),{'type':_0x57ea04(0x29e),'description':_0x44ba09['AKyFF'],'default':![]})[_0x57ea04(0x200)](_0x57ea04(0x295),{'type':_0x44ba09[_0x57ea04(0x1d2)],'hidden':!![],'choices':[_0x57ea04(0x2e6),_0x44ba09['esfoR'],_0x44ba09['cYxkf'],_0x44ba09['CSXmS'],'incomplete']})['option'](_0x44ba09[_0x57ea04(0x250)],{'type':_0x44ba09[_0x57ea04(0x30a)],'hidden':!![]})['option'](_0x57ea04(0x349),{'type':_0x44ba09[_0x57ea04(0x1d2)],'hidden':!![]})[_0x57ea04(0x200)](_0x44ba09['rJEHl'],{'type':'string','hidden':!![]})[_0x57ea04(0x200)](_0x44ba09['csobG'],{'type':'number','hidden':!![]});},async _0x1375d1=>{const _0x217777=_0x5ca7c5;await _0x44ba09[_0x217777(0x224)](runGoCommand,_0x1375d1);})[_0x5ca7c5(0x1cf)]('auth',![],_0x53c4de=>{const _0x4d78c0=_0x5ca7c5;return _0x53c4de['command'](_0x44ba09['BYnxm'],![],_0x1034e7=>{const _0xe7513e=_0x1deb;return _0x1034e7['positional']('profile',{'type':_0xe7513e(0x1df),'description':_0x44ba09[_0xe7513e(0x219)],'demandOption':!![]});},async _0x447c7f=>{const _0x4b2d60=_0x1deb;warnRenamed('ranger\x20auth\x20encrypt',_0x4b2d60(0x26e)),await authEncrypt(_0x447c7f['profile']);})[_0x4d78c0(0x2d0)](0x1,_0x4d78c0(0x2bf));},()=>{})['command']('start\x20[token]',![],_0x317a85=>{const _0x25a491=_0x5ca7c5;return _0x317a85[_0x25a491(0x329)](_0x25a491(0x217),{'type':'string','description':_0x44ba09['qUqJP']})[_0x25a491(0x200)](_0x44ba09[_0x25a491(0x20a)],{'type':'boolean','description':_0x44ba09[_0x25a491(0x2e2)],'default':![]})[_0x25a491(0x200)](_0x44ba09[_0x25a491(0x234)],{'type':'string','choices':[_0x25a491(0x351),_0x44ba09[_0x25a491(0x27a)]],'description':_0x25a491(0x2d6)})['option'](_0x25a491(0x260),{'type':_0x44ba09[_0x25a491(0x1d2)],'description':_0x25a491(0x1d0)})[_0x25a491(0x200)]('force',{'type':_0x44ba09['xcvCU'],'description':_0x44ba09[_0x25a491(0x245)],'default':![]})['option'](_0x44ba09['kthyr'],{'type':'boolean','description':'Skip\x20authentication','default':![]})[_0x25a491(0x200)]('with-deps',{'type':_0x25a491(0x29e),'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]});},async _0x357be3=>{const _0x5921c7=_0x5ca7c5;warnRenamed(_0x44ba09[_0x5921c7(0x203)],'ranger\x20setup'),await _0x44ba09['Vumxt'](withTelemetry,_0x5921c7(0x1c1),_0x25e35e=>start(_0x357be3[_0x5921c7(0x217)],{'skipChromium':_0x357be3[_0x5921c7(0x1ef)],'skipAuth':_0x357be3['skip-auth'],'withDeps':_0x357be3['with-deps'],'scope':_0x357be3['scope'],'url':_0x357be3['url'],'force':_0x357be3['force']},_0x25e35e));})['command'](_0x44ba09[_0x5ca7c5(0x2f0)],![],_0x1f8623=>{const _0x4e2a1d=_0x5ca7c5;return _0x1f8623[_0x4e2a1d(0x200)](_0x4e2a1d(0x349),{'type':'string','description':_0x44ba09[_0x4e2a1d(0x284)]})[_0x4e2a1d(0x200)](_0x44ba09['rJEHl'],{'type':_0x44ba09[_0x4e2a1d(0x1d2)],'description':_0x4e2a1d(0x22f)})[_0x4e2a1d(0x200)](_0x4e2a1d(0x2f5),{'type':_0x4e2a1d(0x367),'description':_0x4e2a1d(0x372)})[_0x4e2a1d(0x200)](_0x44ba09[_0x4e2a1d(0x2a6)],{'type':_0x44ba09['JPmNQ'],'hidden':!![]})['option']('notes',{'type':'string','hidden':!![]})[_0x4e2a1d(0x200)]('scenario',{'type':_0x4e2a1d(0x367),'hidden':!![]})['option'](_0x4e2a1d(0x37d),{'type':_0x4e2a1d(0x1df),'description':_0x44ba09['UBsQS']})[_0x4e2a1d(0x200)](_0x44ba09['EYmvf'],{'type':_0x4e2a1d(0x1df),'description':_0x4e2a1d(0x25d)})['option'](_0x44ba09[_0x4e2a1d(0x24a)],{'type':_0x4e2a1d(0x1df),'hidden':!![]})['option'](_0x44ba09['Qukzh'],{'type':_0x44ba09['xcvCU'],'hidden':!![],'default':![]})['option']('debug-outcome',{'type':'string','hidden':!![],'choices':['verified',_0x44ba09['esfoR'],_0x4e2a1d(0x2fe),_0x4e2a1d(0x242),'incomplete']});},async _0xb3db84=>{await runGoCommand(_0xb3db84,!![]);})['command']('add\x20env\x20<env-name>',![],_0x3beaa2=>{const _0x4559b0=_0x5ca7c5;return _0x3beaa2['positional'](_0x44ba09[_0x4559b0(0x365)],{'type':'string','description':_0x44ba09[_0x4559b0(0x293)],'demandOption':!![]})[_0x4559b0(0x200)]('ci',{'type':'boolean','description':_0x44ba09['RnSAe'],'default':![]})['option'](_0x44ba09['kthyr'],{'type':'boolean','description':_0x4559b0(0x1ed),'default':![]});},async _0x15c3e3=>{const _0x23ad50=_0x5ca7c5;_0x44ba09[_0x23ad50(0x1bf)](warnRenamed,'ranger\x20add\x20env',_0x23ad50(0x298)),await withTelemetry('add\x20env',_0x2f08f2=>addEnv(_0x15c3e3[_0x23ad50(0x2b8)],{'ci':_0x15c3e3['ci'],'skipAuth':_0x15c3e3['skip-auth']},_0x2f08f2));})['command'](_0x5ca7c5(0x279),![],_0x4f2dd3=>{const _0x3473bc=_0x5ca7c5;return _0x4f2dd3['positional'](_0x44ba09['twHuj'],{'type':_0x44ba09[_0x3473bc(0x1d2)],'description':_0x44ba09['YDIsF'],'demandOption':!![]});},async _0x3278b0=>{const _0x41c3ea=_0x5ca7c5;_0x44ba09['ASGMO'](warnRenamed,_0x44ba09[_0x41c3ea(0x28a)],'ranger\x20profile\x20use'),await _0x44ba09['aNkdm'](withTelemetry,'use',()=>useEnv(_0x3278b0['env-name']));})['command'](_0x5ca7c5(0x37a),![],_0x3f7a81=>{const _0x35f57f=_0x5ca7c5,_0x1f776b={'UngNx':function(_0x1512bf,_0x47924b,_0x5393e0){return _0x44ba09['liRrH'](_0x1512bf,_0x47924b,_0x5393e0);},'JyKot':_0x44ba09['enVZY'],'rJcyS':function(_0x5de7bb,_0x1dd980,_0x44e621){const _0x20be10=_0x1deb;return _0x44ba09[_0x20be10(0x2c4)](_0x5de7bb,_0x1dd980,_0x44e621);},'RwCaF':function(_0x1ab073,_0x22cb14,_0x3e8db0){return _0x1ab073(_0x22cb14,_0x3e8db0);},'rqkJQ':_0x44ba09['LCwFC']};return _0x3f7a81[_0x35f57f(0x1cf)](_0x44ba09[_0x35f57f(0x2bb)],![],_0x2ae79d=>{const _0x1e2e8e=_0x35f57f;return _0x2ae79d[_0x1e2e8e(0x329)](_0x44ba09[_0x1e2e8e(0x2bc)],{'type':_0x1e2e8e(0x1df),'description':_0x44ba09[_0x1e2e8e(0x1ff)],'demandOption':!![]})[_0x1e2e8e(0x329)]('key',{'type':_0x1e2e8e(0x1df),'description':_0x1e2e8e(0x315),'demandOption':!![]})['positional'](_0x44ba09[_0x1e2e8e(0x27c)],{'type':_0x44ba09['JPmNQ'],'description':_0x44ba09[_0x1e2e8e(0x324)],'demandOption':!![]});},async _0x56b594=>{const _0x5a6469=_0x35f57f;_0x1f776b[_0x5a6469(0x215)](warnRenamed,_0x5a6469(0x1cd),_0x1f776b[_0x5a6469(0x25e)]),await _0x1f776b['rJcyS'](withTelemetry,'config\x20set',()=>configSet(_0x56b594['env'],_0x56b594['key'],_0x56b594['value']));})[_0x35f57f(0x1cf)]('get\x20<env>\x20<key>',![],_0x771cfc=>{const _0x49ace6=_0x35f57f;return _0x771cfc[_0x49ace6(0x329)](_0x49ace6(0x349),{'type':_0x44ba09[_0x49ace6(0x1d2)],'description':_0x49ace6(0x37c),'demandOption':!![]})['positional'](_0x49ace6(0x2df),{'type':_0x49ace6(0x1df),'description':_0x44ba09[_0x49ace6(0x1f8)],'demandOption':!![]});},async _0x48482c=>{const _0x3b2d19=_0x35f57f;warnRenamed(_0x3b2d19(0x1d1),_0x44ba09[_0x3b2d19(0x1f1)]),await withTelemetry(_0x44ba09['puXZX'],()=>configGet(_0x48482c['env'],_0x48482c['key']));})['command'](_0x44ba09[_0x35f57f(0x297)],![],_0x113f4f=>{const _0x57eea7=_0x35f57f;return _0x113f4f[_0x57eea7(0x329)](_0x57eea7(0x349),{'type':_0x57eea7(0x1df),'description':_0x57eea7(0x37c),'demandOption':!![]});},async _0x438574=>{const _0x1b228c=_0x35f57f;_0x44ba09['Vumxt'](warnRenamed,'ranger\x20config\x20list',_0x44ba09['vrmKr']),await withTelemetry(_0x1b228c(0x230),()=>configList(_0x438574['env']));})['command'](_0x35f57f(0x1fc),![],_0x1dfc50=>{const _0x3214b7=_0x35f57f;return _0x1dfc50['positional'](_0x3214b7(0x349),{'type':_0x44ba09['JPmNQ'],'description':_0x44ba09['rvyit'],'demandOption':!![]})['positional']('key',{'type':_0x44ba09[_0x3214b7(0x1d2)],'description':_0x3214b7(0x28e),'demandOption':!![]});},async _0x98051=>{const _0xb38b7b=_0x35f57f;warnRenamed(_0xb38b7b(0x2b2),_0xb38b7b(0x290)),await _0x1f776b[_0xb38b7b(0x26f)](withTelemetry,_0x1f776b['rqkJQ'],()=>configUnset(_0x98051['env'],_0x98051['key']));})[_0x35f57f(0x2d0)](0x1,_0x35f57f(0x1ce));})[_0x5ca7c5(0x1cf)](_0x44ba09[_0x5ca7c5(0x2bc)],![],_0x1ea77b=>{const _0x304267=_0x5ca7c5,_0x133a00={'poZaI':_0x44ba09[_0x304267(0x213)],'VXsPI':function(_0x1a0b62,_0x5a7efe,_0x4ad427){const _0x52210a=_0x304267;return _0x44ba09[_0x52210a(0x27b)](_0x1a0b62,_0x5a7efe,_0x4ad427);}};return _0x1ea77b[_0x304267(0x1cf)]('ls',![],()=>{},async()=>{const _0x2c799d=_0x304267;warnRenamed('ranger\x20env\x20ls',_0x133a00[_0x2c799d(0x26a)]),await _0x133a00['VXsPI'](withTelemetry,_0x2c799d(0x1cb),()=>envList());})[_0x304267(0x1cf)](_0x304267(0x27e),![],_0x45921f=>{const _0x42bb7d=_0x304267;return _0x45921f[_0x42bb7d(0x329)](_0x42bb7d(0x2b8),{'type':_0x42bb7d(0x1df),'description':_0x42bb7d(0x1d5),'demandOption':!![]});},async _0x207ba0=>{const _0x2ba10c=_0x304267;warnRenamed(_0x44ba09[_0x2ba10c(0x1c8)],'ranger\x20profile\x20update'),await _0x44ba09[_0x2ba10c(0x31d)](withTelemetry,_0x44ba09[_0x2ba10c(0x283)],_0x14e3ab=>updateEnv(_0x207ba0[_0x2ba10c(0x2b8)],_0x14e3ab));})[_0x304267(0x2d0)](0x1,_0x44ba09['AeNDH']);})[_0x5ca7c5(0x1cf)]('feature',![],_0xd1098c=>{const _0x1b8f0a=_0x5ca7c5,_0x25ca88={'hSDRp':function(_0x4a18d3,_0x436a3f,_0x2cb63d){return _0x4a18d3(_0x436a3f,_0x2cb63d);},'sWwCO':'ranger\x20feature\x20show','ifRGt':_0x1b8f0a(0x21f),'UwcXQ':_0x1b8f0a(0x345),'OXrmL':_0x44ba09['XKBig'],'XsRXo':'ranger\x20resume','qiwEq':'feature\x20resume','wXPCW':_0x44ba09[_0x1b8f0a(0x229)],'QYBcn':'string','wHYic':_0x44ba09[_0x1b8f0a(0x2aa)],'OXfxt':function(_0x42448d,_0x383fce,_0x2ac364){return _0x42448d(_0x383fce,_0x2ac364);},'VZPrn':_0x44ba09[_0x1b8f0a(0x2ab)]};return _0xd1098c['command'](_0x1b8f0a(0x37b),![],_0xbb7a24=>{const _0x1b4f72=_0x1b8f0a;return _0xbb7a24[_0x1b4f72(0x329)](_0x1b4f72(0x35c),{'type':'string','description':_0x44ba09[_0x1b4f72(0x1da)],'demandOption':!![]})[_0x1b4f72(0x200)]('description',{'type':_0x1b4f72(0x1df),'alias':'d','description':'Feature\x20review\x20description'})['option'](_0x44ba09['xcNaV'],{'type':_0x44ba09['xnjYn'],'alias':'c','description':_0x44ba09[_0x1b4f72(0x204)]})[_0x1b4f72(0x200)]('scenario',{'type':_0x1b4f72(0x2be),'hidden':!![]});},async _0x1f8495=>{const _0x1ad58f=_0x1b8f0a;_0x44ba09['GlVJg'](warnRenamed,_0x44ba09['roWqK'],_0x44ba09[_0x1ad58f(0x21d)]),_0x44ba09[_0x1ad58f(0x23f)](warnFlagRenamed,_0x44ba09[_0x1ad58f(0x21d)],_0x44ba09[_0x1ad58f(0x358)],'--scenario');const _0x56d8ad=_0x1f8495[_0x1ad58f(0x347)]||_0x1f8495[_0x1ad58f(0x271)];await _0x44ba09['GIZgH'](withTelemetry,_0x1ad58f(0x286),()=>featureCreate(_0x1f8495[_0x1ad58f(0x35c)],{'description':_0x1f8495['description'],'scenarios':_0x56d8ad}));})[_0x1b8f0a(0x1cf)]('list',![],_0x2c9d11=>{const _0x570bbb=_0x1b8f0a;return _0x2c9d11['option'](_0x44ba09['SIAPs'],{'type':_0x44ba09['xcvCU'],'description':_0x570bbb(0x201)})[_0x570bbb(0x200)](_0x570bbb(0x220),{'type':_0x570bbb(0x367),'alias':'l','description':_0x570bbb(0x33b),'default':0xa})['option'](_0x570bbb(0x30e),{'type':_0x44ba09[_0x570bbb(0x1eb)],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x570bbb(0x200)]('include-deleted',{'type':_0x44ba09['xcvCU'],'alias':'d','description':_0x570bbb(0x24e),'default':![]});},async _0x8cc696=>{const _0xad67cf=_0x1b8f0a;_0x44ba09[_0xad67cf(0x2c7)](warnRenamed,_0xad67cf(0x1dd),'ranger\x20list'),await withTelemetry(_0x44ba09[_0xad67cf(0x1f2)],()=>featureList({'currentBranch':_0x8cc696['current-branch'],'limit':_0x8cc696['limit'],'offset':_0x8cc696['offset'],'includeDeleted':_0x8cc696[_0xad67cf(0x2ed)]}));})[_0x1b8f0a(0x1cf)](_0x44ba09[_0x1b8f0a(0x360)],![],_0x3a28a4=>{const _0x6075db=_0x1b8f0a;return _0x3a28a4['positional']('id',{'type':_0x6075db(0x1df),'description':_0x6075db(0x303)});},async _0x202aa3=>{const _0xf061fe=_0x1b8f0a;_0x25ca88[_0xf061fe(0x24b)](warnRenamed,_0x25ca88[_0xf061fe(0x32a)],_0x25ca88[_0xf061fe(0x2ea)]),await _0x25ca88['hSDRp'](withTelemetry,_0x25ca88['UwcXQ'],()=>featureShow(_0x202aa3['id']));})['command'](_0x44ba09['yTySa'],![],_0x399453=>{const _0x10de81=_0x1b8f0a;return _0x399453[_0x10de81(0x329)]('id',{'type':_0x10de81(0x1df),'description':_0x10de81(0x20d)});},async _0x136d2d=>{const _0x3781d0=_0x1b8f0a;_0x25ca88[_0x3781d0(0x24b)](warnRenamed,_0x25ca88['OXrmL'],_0x25ca88[_0x3781d0(0x2b3)]),await withTelemetry(_0x25ca88[_0x3781d0(0x20b)],()=>featureResume(_0x136d2d['id']));})['command'](_0x44ba09[_0x1b8f0a(0x24d)],![],_0x360228=>{const _0xeb2a4c=_0x1b8f0a;return _0x360228['positional'](_0x25ca88['wXPCW'],{'type':_0x25ca88['QYBcn'],'description':_0x25ca88[_0xeb2a4c(0x30c)],'demandOption':!![]})['option']('id',{'type':_0x25ca88[_0xeb2a4c(0x2b4)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x353f44=>{const _0x4e5f82=_0x1b8f0a;_0x25ca88[_0x4e5f82(0x1e9)](warnRenamed,'ranger\x20feature\x20add-checklist-item','ranger\x20add-scenario'),await withTelemetry(_0x4e5f82(0x2a0),()=>featureAddScenario(_0x353f44['description'],_0x353f44['id']));})[_0x1b8f0a(0x1cf)](_0x44ba09['grFas'],![],_0x36b59b=>{const _0x2c0b7b=_0x1b8f0a;return _0x36b59b['positional']('id',{'type':_0x25ca88[_0x2c0b7b(0x2b4)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x27d132=>{warnRenamed(_0x44ba09['snhqm'],_0x44ba09['KwmPh']),await withTelemetry(_0x44ba09['kYjjB'],()=>featureGetReview(_0x27d132['id']));})['command'](_0x1b8f0a(0x231),![],_0x5f4b8a=>{return _0x5f4b8a['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x515c99=>{const _0x860702=_0x1b8f0a;warnRenamed(_0x860702(0x23e),_0x860702(0x1fe)),await withTelemetry('feature\x20delete',()=>featureDelete(_0x515c99['id']));})['command'](_0x44ba09['yRcfS'],![],_0x7dda57=>{const _0x21ec77=_0x1b8f0a;return _0x7dda57['positional']('id',{'type':_0x44ba09[_0x21ec77(0x1d2)],'description':_0x44ba09[_0x21ec77(0x243)],'demandOption':!![]});},async _0x4729b1=>{const _0x348ac0=_0x1b8f0a;_0x25ca88[_0x348ac0(0x24b)](warnRenamed,_0x348ac0(0x334),_0x25ca88['VZPrn']),await _0x25ca88[_0x348ac0(0x1e9)](withTelemetry,_0x348ac0(0x341),()=>featureRestore(_0x4729b1['id']));})[_0x1b8f0a(0x2d0)](0x1,_0x44ba09['SBNts']);})['command'](_0x44ba09[_0x5ca7c5(0x2f9)],![],_0x4fd106=>{const _0x51f5ae=_0x5ca7c5,_0x5b8696={'onCeH':_0x51f5ae(0x34f),'otvxN':_0x51f5ae(0x1df)};return _0x4fd106['command'](_0x44ba09[_0x51f5ae(0x2ad)],_0x44ba09['EzWPG'],_0x101f61=>{return _0x101f61['option'](_0x5b8696['onCeH'],{'type':_0x5b8696['otvxN'],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x46b25b=>{const _0x5b0de8=_0x51f5ae;await withTelemetry(_0x5b0de8(0x364),()=>hook(_0x5b0de8(0x361),_0x46b25b['session-id']));})['command'](_0x44ba09[_0x51f5ae(0x2d9)],_0x51f5ae(0x33f),_0x56aabb=>{const _0x5adce2=_0x51f5ae;return _0x56aabb[_0x5adce2(0x200)](_0x44ba09[_0x5adce2(0x2a9)],{'type':'string','description':_0x44ba09['qoVnX']});},async _0x1a35f4=>{const _0x19bc19=_0x51f5ae;await withTelemetry(_0x19bc19(0x25a),()=>hook('disable',_0x1a35f4[_0x19bc19(0x34f)]));})['option'](_0x44ba09[_0x51f5ae(0x330)],{'type':_0x44ba09['JPmNQ'],'description':_0x44ba09[_0x51f5ae(0x1f6)]})['option'](_0x51f5ae(0x34f),{'type':'string','description':_0x44ba09['qoVnX']});},async _0xd5e7c=>{const _0x5e5dab=_0x5ca7c5;_0xd5e7c['name']&&await _0x44ba09[_0x5e5dab(0x24c)](hook,_0xd5e7c[_0x5e5dab(0x35c)],_0xd5e7c[_0x44ba09['lIffR']]);})[_0x5ca7c5(0x2d0)](0x1,_0x5ca7c5(0x322))['strictCommands']()['fail'](async(_0x3b709d,_0x43f48a,_0x1c66a6)=>{const _0x929888=_0x5ca7c5,_0x4da482=_0x44ba09['RjJWU'](sanitizeArgs,process['argv'][_0x929888(0x256)](0x2)),_0x464bff=getErrorType(_0x3b709d,_0x43f48a);if(_0x3b709d&&_0x3b709d['includes'](_0x44ba09['sFuxM'])){const _0x3a1fa7=process['argv'][0x2];console[_0x929888(0x212)]('\x0aUnknown\x20command:\x20'+_0x3a1fa7),console['error'](_0x44ba09['ctCJm']);}else{if(_0x3b709d)console['error']('\x0a'+_0x3b709d+'\x0a');else _0x43f48a&&console[_0x929888(0x212)]('\x0aError:\x20'+_0x43f48a[_0x929888(0x359)]+'\x0a');}await logDesirePath({'rawCommand':_0x4da482,'errorMessage':_0x3b709d||_0x43f48a?.[_0x929888(0x359)],'errorType':_0x464bff});const _0x4bd874=getCurrentCollector();_0x4bd874&&await _0x4bd874['trackCommandError'](_0x43f48a||new Error(_0x44ba09['IttIF'](_0x3b709d,_0x929888(0x378)))),process[_0x929888(0x1e4)](0x1);})[_0x5ca7c5(0x207)](_0x44ba09[_0x5ca7c5(0x1de)](_0x44ba09['tZqOs']('Documentation:\x0a',_0x44ba09[_0x5ca7c5(0x379)]),_0x5ca7c5(0x2fa)))[_0x5ca7c5(0x2a8)]()['alias'](_0x44ba09['aCNWM'],'h');}process['env']['NODE_ENV']!=='test'&&buildParser()[_0x10ef54(0x2c8)]();
2
+ const _0x26ed22=_0x4e13;(function(_0x14acc9,_0x1e6315){const _0xadc693=_0x4e13,_0x1791e3=_0x14acc9();while(!![]){try{const _0x2eb130=-parseInt(_0xadc693(0x329))/0x1*(parseInt(_0xadc693(0x380))/0x2)+-parseInt(_0xadc693(0x389))/0x3+-parseInt(_0xadc693(0x2b8))/0x4*(parseInt(_0xadc693(0x2ed))/0x5)+parseInt(_0xadc693(0x27d))/0x6*(parseInt(_0xadc693(0x219))/0x7)+parseInt(_0xadc693(0x36f))/0x8*(parseInt(_0xadc693(0x1eb))/0x9)+-parseInt(_0xadc693(0x2ba))/0xa*(-parseInt(_0xadc693(0x1e7))/0xb)+parseInt(_0xadc693(0x2d3))/0xc*(parseInt(_0xadc693(0x33d))/0xd);if(_0x2eb130===_0x1e6315)break;else _0x1791e3['push'](_0x1791e3['shift']());}catch(_0x1f1b16){_0x1791e3['push'](_0x1791e3['shift']());}}}(_0x39ee,0x603f8));import _0x3e7883 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x57275e=_0x4e13,_0x5bd202={'ZsYKL':function(_0x4c4fbc,_0xc4c526){return _0x4c4fbc(_0xc4c526);},'CpkkI':function(_0x398e3f,_0x5cfa17){return _0x398e3f!==_0x5cfa17;}};let _0x40a863=process[_0x57275e(0x35e)]();const _0x13759f=_0x5bd202['ZsYKL'](parse,_0x40a863)['root'];while(_0x5bd202['CpkkI'](_0x40a863,_0x13759f)){if(existsSync(join(_0x40a863,_0x57275e(0x2b0)))||existsSync(join(_0x40a863,_0x57275e(0x354))))return _0x40a863;_0x40a863=_0x5bd202['ZsYKL'](dirname,_0x40a863);}return process['cwd']();}_0x3e7883[_0x26ed22(0x32e)]({'path':join(findProjectRoot(),_0x26ed22(0x354))});import _0x3e7870 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.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';function _0x39ee(){const _0x33aee6=['qVEKi','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','miJum','rpIEV','ukJmI','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','yfkbb','kgrDT','\x20INCOMPLETE','WgDOP','--checklist','scenario','value','setup-ci','profile','dshVY','report','with-deps','ranger\x20feature\x20show','setup:all','setup\x20[tokenOrSubcommand]','MgFnt','encrypt-auth\x20<profile>','--env','fopJX','qjgAT','get-review','Name\x20of\x20the\x20environment','2cNYiWn','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','Environment\x20name','item','deps','config','get\x20<env>\x20<key>','cqjUf','config\x20list','\x0aError:\x20','save-creds','sfGZp','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','BgNwp','session-id','Lgcto','skip-chromium','Alias\x20for\x20--mcp-bootstrap','gTPYu','dRNve','139763ubaQEO','\x20is\x20now\x20','VZycR','LTvzI','DqGAu','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','vSOji','UzrfC','fFMNE','dwsoT','UthAH','NODE_ENV','raaIn','Include\x20soft-deleted\x20feature\x20reviews','Number\x20of\x20feature\x20reviews\x20to\x20skip','YJuhg','gMPSd','ranger\x20profile\x20use','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','BJqkX','set\x20<profile>\x20<key>\x20<value>','fail','string','.env','DzSTk','number','sHKVz','add\x20<profile-name>','CJkNv','tABfX','mzOHW','log','SSXZS','cwd','\x20BLOCKED','opencode','gmMtY','xBcWj','Run\x20full\x20interactive\x20setup','ranger\x20show','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','setup-header','debug-outcome','gbCHm','ccmoe','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','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,\x20--scope\x20user|project)\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/reset)\x0a\x20\x20migrate\x20[<profile>]\x20\x20\x20\x20\x20\x20\x20Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20migrate\x20--all\x20--dry-run','yWdOR','ranger\x20get-review','7976LSMBRg','WKwfF','argv','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','AFXCZ','project-scope\x20setup\x20obsolete).\x20Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','API\x20token','Config\x20key\x20to\x20remove','lAwRM','ranger\x20profile\x20update','NYCHs','shhbp','headed','FnafX','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','key','tokenOrSubcommand','256206CCFaUQ','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','boolean','HxyZS','resume\x20[id]','FgsHA','blocked','aOaLc','slQaP','1740597WdKauI','Evaluation:\x20','disable','hvPBl','message','DNJuz','ZXKBZ','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','WcfYU','JYyXD','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now\x20(cloud\x20profiles\x20make\x20','vwuqF','You\x20must\x20specify\x20a\x20command','EaYvR','user','LDzzy','use\x20<env-name>','add-scenario','description','tKkle','PQuQA','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','add\x20env\x20<env-name>','lpUeN','MDyZi','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','zMPlL','skip-auth','Config\x20key','DdZVx','Fkebe','vesGJ','440nyaMUc','vLXlM','delete\x20[id]','login','3213KLfGgm','Add\x20profile\x20configuration','OzhEL','--task','scope','get-review\x20[id]','jebBH','xgvFp','FHrKo','failed','severity','kHOZN','vSbuN','bwIBq','unset\x20<profile>\x20<key>','profile\x20update','profile\x20ls','eymrT','pfQkC','You\x20must\x20specify\x20an\x20auth\x20subcommand','WlTic','✓\x20Server-side\x20login\x20succeeded\x20for\x20\x27','incomplete','Ivjxa','all','Skip\x20interactive\x20confirmation\x20prompts.','profile\x20login','eoCHT','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','dZFRo','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','start\x20[token]','json','url','Name\x20of\x20the\x20profile','Feature\x20review\x20ID','unset\x20<env>\x20<key>','\x20is\x20no\x20longer\x20supported.\x20','baMFj','current-branch','print-access-token','Name\x20of\x20the\x20profile\x20to\x20update','DCAcB','KnWsp','trackCommandError','SxXZI','35LYZQBI','demandCommand','length','dhOrZ','isdGF','ZKfHY','XZWrg','Profile\x20name','✓\x20Authenticated\x20to\x20','bYygA','Feature\x20review\x20ID\x20to\x20restore','EJIvb','Cxokr','edit-scenario','Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)','oXxVb','iUGJk','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','cRhqF','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','verify-feature','ranger\x20env\x20ls','evaluation','profile\x20config\x20get','Optional\x20feature\x20ID','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','DkNRX','LcSAB','DFskx','JFjRo','ranger','setup:skills','Install\x20skills\x20for\x20OpenCode','strictCommands','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','Subcommand\x20or\x20API\x20token\x20(rngr_...)','GlDmX','env\x20update','exit','nMPLp','ranger\x20delete','show\x20[id]','vJoHp','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','ranger\x20profile\x20add','GyUOT','deHXK','XwNFV','BBOiF','not_configured','ranger\x20list','config\x20unset','bURBy','XPtow','aFGRc','ranger\x20auth\x20encrypt','RANGER_TEST_PASSWORD','create','name','fogBH','rZXvr','feature','Install\x20scope\x20for\x20plugin\x20and\x20skills','nRAhc','token','xZqjq','create\x20<name>','ranger\x20env\x20update','pTqIf','cdp-endpoint','XbdVw','NOPvA','Restore\x20a\x20soft-deleted\x20feature\x20review','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','uBIXB','pedpc','rvJYQ','qAOhj','mcp-bootstrap','UAfvG','PlxPU','env\x20list','use\x20<profile-name>','evCps','Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.','profile-name','get\x20<profile>\x20<key>','PAZTl','fHvrO','kaPwT','znJYi','ranger\x20config\x20set','MOORD','claude','ranger\x20go','feature\x20add-checklist-item','mAxoi','781998QVbpfu','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','Install\x20OS-level\x20dependencies\x20for\x20Chromium','YPYjj','yes','Ranger\x20API\x20token','add-checklist-item\x20<description>','ranger\x20start','wEpbD','WPCOw','pWNlA','skills','start-path','yWLDO','mWOhv','update','setup:login','YjAYR','command','repeat','kfNdR','epilogue','QRCdu','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','HaHLr','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','Remove\x20a\x20config\x20value','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','mQUhw','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','verified','KFxVZ','list','New\x20scenario\x20description','YkmAM','OXhZO','positional','option','.\x20[','\x0aIssues:','BgjdB','status','safe-mode','success','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','startsWith','scriptName','iUdZa','Reason:\x20','ranger\x20profile\x20config\x20get','env','.ranger','profile\x20config\x20set','cKKdd','xUtYv','mcp','offset','encrypt\x20<profile>','AUSFA','18164BORjxC','profile\x20config\x20unset','117850AgEMDk','--scenario','oHaMl','Scenario\x20index\x20(1-based)','ranger\x20profile\x20config\x20list','AnBev','Documentation:\x0a','include-deleted','delete','YiNOM','ranger\x20create','allow-insecure-localhost','Feature\x20review\x20description','Skip\x20Chromium\x20browser\x20installation','error','efdeX','clean','help','cdSJk','Naoyh','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','TuBkX','\x20FAILED','jOgxh','iNDWO','108yWgzkp','test_output','feature\x20show','You\x20must\x20specify\x20an\x20env\x20subcommand','usage','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','enable','unfQG','force','TncDn','profiles','dry-run','ZIjlX','limit','VxOui','array','eILyN','ahKiZ','ranger\x20setup\x20profiles\x20--scope=','Login\x20failed:\x20','mHUfZ','resume','odrvQ','zPNaa','qPdks','slice','380xqJImn','setup:profiles','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','KAUiB','Set\x20a\x20config\x20value','SVAVc','task','xgKUE','start','profile\x20config\x20list','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','VvHGZ','EfkDT','Nwoqb','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','zMPFA','unhandledRejection','RANGER_PROFILE','Rycwt','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','ranger\x20feature\x20list','env-name','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','Authenticate\x20with\x20Ranger','\x0aUnknown\x20command:\x20','SEqgo','xDsSe','OazgF','Config\x20value','jBAXT'];_0x39ee=function(){return _0x33aee6;};return _0x39ee();}import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';function _0x4e13(_0x1c5ce4,_0x54e3f2){_0x1c5ce4=_0x1c5ce4-0x1d7;const _0x39eefb=_0x39ee();let _0x4e139b=_0x39eefb[_0x1c5ce4];return _0x4e139b;}import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on'](_0x26ed22(0x2fd),async _0xc28f15=>{const _0x1d008e=_0x26ed22,_0x32fd37=getCurrentCollector();_0x32fd37&&await _0x32fd37[_0x1d008e(0x217)](_0xc28f15),process['exitCode']=0x1;});const rawArgs=process['argv']['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\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\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,\x20--scope\x20user|project)\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/reset\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=_0x26ed22(0x36c),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aProfile\x20config.\x20Routes\x20automatically\x20based\x20on\x20where\x20the\x20profile\x20lives:\x0a\x20\x20-\x20Local\x20profiles\x20write\x20to\x20.ranger/<env>/settings.json\x0a\x20\x20-\x20Cloud\x20profiles\x20write\x20a\x20local\x20overlay\x20in\x20~/.ranger/projects.json\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\x20(effective\x20value\x20for\x20cloud\x20profiles)\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\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20local\x20overrides\x20(cloud\x20profiles\x20only)\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override\x20for\x20cloud\x20profiles)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201';function warnRenamed(_0x912e47,_0x227ad8){const _0x40d1a8=_0x26ed22;console['error']('\x0a'+_0x912e47+_0x40d1a8(0x33e)+_0x227ad8+'\x0a');}function argUsed(_0x48a203){const _0x3f36fb=_0x26ed22;return rawArgs['some'](_0x3d2e91=>_0x3d2e91===_0x48a203||_0x3d2e91[_0x3f36fb(0x2aa)](_0x48a203+'='));}function warnFlagRenamed(_0x2e33fe,_0xb26b66,_0x5770ba){argUsed(_0xb26b66)&&warnRenamed(_0x2e33fe+'\x20'+_0xb26b66,_0x2e33fe+'\x20'+_0x5770ba);}async function runGoCommand(_0x5ec2f4,_0x5abb6b=![]){const _0x535985=_0x26ed22,_0x3985c4={'nlnMR':function(_0xa849aa,_0x47f4d2){return _0xa849aa+_0x47f4d2;},'nQoiY':'--profile','WlTic':'ranger\x20go','oXxVb':'base-url','mRuRp':_0x535985(0x368),'efdeX':'debug-address-comments','GlDmX':function(_0x206b9b,_0x4a2e6c){return _0x206b9b+_0x4a2e6c;},'raaIn':function(_0x2ed911,_0x50a96a){return _0x2ed911===_0x50a96a;},'FgsHA':'\x20VERIFIED','xGtdA':_0x535985(0x315),'fHvrO':function(_0x3d7c55,_0x48d748){return _0x3d7c55===_0x48d748;},'zMPlL':'partial','isdGF':_0x535985(0x35f),'JYyXD':function(_0x340ad2,_0x1e0264){return _0x340ad2===_0x1e0264;},'oHaMl':_0x535985(0x29b)};_0x5abb6b&&warnRenamed('ranger\x20verify-feature',_0x535985(0x27a));warnFlagRenamed(_0x535985(0x27a),_0x535985(0x324),_0x3985c4['nQoiY']),warnFlagRenamed(_0x3985c4['WlTic'],_0x535985(0x1ee),'--notes'),warnFlagRenamed(_0x3985c4[_0x535985(0x1ff)],'--item','--scenario');const _0x20f6f1=await loadRangerConfig(),_0x31b42d=isByokEnabled(),_0x406402=_0x5ec2f4['model'],_0x52bb5e=_0x20f6f1['model'],_0x4ea0a6=await verifyFeature({'featureId':_0x5ec2f4[_0x535985(0x259)],'profile':_0x5ec2f4['profile']??_0x5ec2f4['env']??process['env'][_0x535985(0x2fe)],'notes':_0x5ec2f4['notes']??_0x5ec2f4[_0x535985(0x2f3)],'scenario':_0x5ec2f4['scenario']??_0x5ec2f4['item'],'startPath':_0x5ec2f4['start-path'],'baseUrl':_0x5ec2f4[_0x3985c4[_0x535985(0x228)]],'debugOutcome':_0x5ec2f4[_0x3985c4['mRuRp']],'debugAddressComments':_0x5ec2f4[_0x3985c4[_0x535985(0x2c9)]],'headed':_0x5ec2f4['headed'],'byokEnabled':_0x31b42d,'flagVerifyModel':_0x406402,'configVerifyModel':_0x52bb5e});console['log'](_0x3985c4[_0x535985(0x23f)]('\x0a','='[_0x535985(0x290)](0x3c))),console[_0x535985(0x35c)](_0x3985c4[_0x535985(0x349)](_0x4ea0a6[_0x535985(0x231)],'verified')?_0x3985c4[_0x535985(0x385)]:_0x4ea0a6['evaluation']===_0x535985(0x201)?_0x3985c4['xGtdA']:_0x3985c4['fHvrO'](_0x4ea0a6['evaluation'],_0x3985c4[_0x535985(0x1e1)])?'\x20PARTIAL':_0x3985c4[_0x535985(0x274)](_0x4ea0a6['evaluation'],_0x535985(0x386))?_0x3985c4[_0x535985(0x21d)]:_0x535985(0x2d0)),console[_0x535985(0x35c)]('='['repeat'](0x3c)),console['log']('Summary:\x20'+_0x4ea0a6['summary']),console[_0x535985(0x35c)](_0x535985(0x38a)+_0x4ea0a6[_0x535985(0x231)]),console['log'](_0x535985(0x2ad)+_0x4ea0a6['evaluationReason']),_0x4ea0a6['issues']?.[_0x535985(0x21b)]&&(console[_0x535985(0x35c)](_0x535985(0x2a4)),_0x4ea0a6['issues']['forEach']((_0x11c143,_0x49b3fd)=>{const _0x331782=_0x535985;console[_0x331782(0x35c)]('\x0a'+_0x3985c4['nlnMR'](_0x49b3fd,0x1)+_0x331782(0x2a3)+_0x11c143[_0x331782(0x1f5)]+']\x20'+_0x11c143['description']);})),process['exit'](_0x3985c4[_0x535985(0x392)](_0x4ea0a6[_0x535985(0x231)],_0x3985c4[_0x535985(0x2bc)])?0x0:0x1);}export function buildParser(_0xba1bb7){const _0x11575b=_0x26ed22,_0x3b1db8={'tABfX':_0x11575b(0x353),'xBcWj':'description','dZFRo':'scenario','vSOji':_0x11575b(0x2e2),'YiNOM':_0x11575b(0x1db),'Ivjxa':'checklist','VVGUn':'Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','BBOiF':'Example:\x20ranger\x20create\x20my-feature','VxOui':'ranger\x20create','BMTGp':_0x11575b(0x317),'gmMtY':function(_0x2cb6b3,_0x4e0bbb,_0x1efe08){return _0x2cb6b3(_0x4e0bbb,_0x1efe08);},'cqjUf':_0x11575b(0x255),'BgNwp':_0x11575b(0x382),'lAwRM':_0x11575b(0x335),'tkbdI':_0x11575b(0x2e0),'aFGRc':_0x11575b(0x356),'zOwws':_0x11575b(0x365),'PQuQA':_0x11575b(0x2b5),'mAxoi':'Include\x20soft-deleted\x20feature\x20reviews','qAOhj':'Scenario\x20description','nRAhc':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','SSXZS':_0x11575b(0x20e),'vJoHp':'exclude-scenario','HaHLr':_0x11575b(0x2ce),'PJsnY':_0x11575b(0x1dc),'OazgF':_0x11575b(0x2c2),'nxQhn':_0x11575b(0x223),'AUSFA':'restore','kaPwT':_0x11575b(0x282),'cRhqF':'with-deps','WgDOP':_0x11575b(0x1ef),'eoCHT':_0x11575b(0x2a9),'Naoyh':_0x11575b(0x22b),'rZXvr':'force','FnafX':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','AnBev':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','LcSAB':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','qVEKi':_0x11575b(0x26a),'mzOHW':_0x11575b(0x320),'NQYAB':'setup:deps','DNJuz':_0x11575b(0x381),'sfGZp':function(_0xc19bb2,_0x3b974c,_0x1b783f){return _0xc19bb2(_0x3b974c,_0x1b783f);},'ukJmI':function(_0x33ffac,_0x41c417){return _0x33ffac(_0x41c417);},'Lgcto':function(_0x3a09d3){return _0x3a09d3();},'vwuqF':_0x11575b(0x23a),'BgjdB':'user','UFueZ':'Skip\x20browser\x20authentication','hvPBl':'allow-insecure-localhost','Lkaqf':'mcp','pWNlA':'opencode','XYswU':function(_0x3f7cd7,_0x310867,_0x163fe4){return _0x3f7cd7(_0x310867,_0x163fe4);},'baMFj':_0x11575b(0x2ee),'xSFkT':_0x11575b(0x363),'RFKnL':'Install\x20Chromium\x20browser\x20binary','yWLDO':_0x11575b(0x2dd),'gbCHm':'skip-chromium','izEQE':_0x11575b(0x1e0),'ZtFmp':_0x11575b(0x29a),'DIsNr':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','bwIBq':'skip-auth','tAazf':_0x11575b(0x2fb),'EfkDT':'token','MOORD':function(_0x5572f8,_0x363971,_0x2e61a2){return _0x5572f8(_0x363971,_0x2e61a2);},'mHUfZ':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','EJIvb':'base-url','mfVPP':_0x11575b(0x2c7),'xfdjA':_0x11575b(0x1ea),'mjldI':function(_0x19654a,_0x38d0da){return _0x19654a(_0x38d0da);},'jOgxh':function(_0x17770d,_0x1fff7d,_0x1376ff){return _0x17770d(_0x1fff7d,_0x1376ff);},'KnWsp':_0x11575b(0x2ca),'slQaP':_0x11575b(0x1fb),'HUyVh':_0x11575b(0x214),'Nwoqb':'profile\x20migrate','znJYi':_0x11575b(0x220),'MDyZi':_0x11575b(0x232),'OzhEL':_0x11575b(0x2f1),'qDvZN':_0x11575b(0x272),'shhbp':'Get\x20a\x20config\x20value','DzSTk':'list\x20<profile>','yfkbb':'List\x20all\x20config\x20for\x20a\x20profile','TncDn':_0x11575b(0x297),'xgKUE':'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile\x20(cloud\x20profiles\x20only)','SEqgo':_0x11575b(0x2ef),'tiZIo':_0x11575b(0x2a7),'OxVdp':'setup-header','bYygA':_0x11575b(0x305),'KAUiB':function(_0x3cf53d,_0x373850,_0x1b9c55,_0xf23b6e){return _0x3cf53d(_0x373850,_0x1b9c55,_0xf23b6e);},'RJzzf':function(_0x54ed23,_0x4600dc){return _0x54ed23(_0x4600dc);},'rpIEV':_0x11575b(0x1fa),'ZZHDF':'Cloud\x20profile\x20name','zPNaa':_0x11575b(0x2d8),'NMjcA':_0x11575b(0x281),'tfuXI':_0x11575b(0x37e),'iNDWO':_0x11575b(0x2b1),'IEbXu':_0x11575b(0x2f6),'hCgSg':_0x11575b(0x2b9),'ajlyr':'Switch\x20to\x20using\x20a\x20specific\x20profile','dhOrZ':_0x11575b(0x323),'KFxVZ':_0x11575b(0x296),'PdkdD':'update\x20<profile-name>','YPYjj':'migrate\x20[profile-name]','evCps':_0x11575b(0x227),'cKKdd':_0x11575b(0x32e),'kgrDT':'status','xZqjq':function(_0xdd0a45,_0x2e0b7f,_0xd79883){return _0xdd0a45(_0x2e0b7f,_0xd79883);},'WPCOw':_0x11575b(0x213),'dwsoT':'feature','Cxokr':'profile','jebBH':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','frAnw':'notes','nqedK':_0x11575b(0x390),'ahKiZ':_0x11575b(0x2bd),'bcZuV':_0x11575b(0x289),'Vfsmo':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','DdZVx':_0x11575b(0x312),'ccmoe':_0x11575b(0x368),'YjAYR':_0x11575b(0x29b),'bDkZU':'blocked','wCXvn':'failed','LTvzI':_0x11575b(0x201),'uBIXB':'env','ZIjlX':'task','jyyrU':'item','mMeRT':function(_0x5ba1f1,_0x956515){return _0x5ba1f1(_0x956515);},'XwNFV':function(_0x40c748,_0xbe25a5){return _0x40c748(_0xbe25a5);},'WZnBS':_0x11575b(0x2b6),'mQUhw':_0x11575b(0x22a),'TuBkX':'Skip\x20authentication','DqGAu':function(_0x715fd4,_0x2b81d6,_0x17fb27){return _0x715fd4(_0x2b81d6,_0x17fb27);},'BOyTA':_0x11575b(0x284),'HxyZS':'ranger\x20setup','dRNve':_0x11575b(0x2f5),'ydbtr':'headed','gAujT':'partial','kHOZN':_0x11575b(0x248),'jBAXT':function(_0x208c39,_0x348429,_0x4c6891){return _0x208c39(_0x348429,_0x4c6891);},'wjCOb':'add\x20env','Fkebe':'env-name','uRNKh':_0x11575b(0x328),'kfNdR':'ranger\x20use','SwiIB':'Environment\x20name','iUdZa':'Config\x20key','nSmJN':function(_0x39abc1,_0x17bcae,_0x4e9536){return _0x39abc1(_0x17bcae,_0x4e9536);},'KEAsv':'ranger\x20config\x20get','FkwMv':'config\x20get','UnkBg':_0x11575b(0x2be),'pjxyo':function(_0x426768,_0x5c9824,_0x443552){return _0x426768(_0x5c9824,_0x443552);},'HVOgr':'config\x20set','qjgAT':_0x11575b(0x376),'Idkcs':_0x11575b(0x32f),'tHRoX':function(_0x20923f,_0x396f2e,_0x29029a){return _0x20923f(_0x396f2e,_0x29029a);},'DkNRX':_0x11575b(0x230),'SipOd':'Name\x20of\x20the\x20environment\x20to\x20update','UfSsX':_0x11575b(0x378),'mAlEu':'update\x20<env-name>','hXQzd':_0x11575b(0x2d6),'SxXZI':'Feature\x20review\x20name','GGUaI':_0x11575b(0x302),'eUQHL':_0x11575b(0x24e),'mQrwr':function(_0x77ab2,_0x523cde,_0x3844a4){return _0x77ab2(_0x523cde,_0x3844a4);},'DFskx':'ranger\x20feature\x20create','tWMrA':function(_0x27496b,_0x11ef4b,_0x52b78c,_0xcea7a8){return _0x27496b(_0x11ef4b,_0x52b78c,_0xcea7a8);},'TQiUX':_0x11575b(0x212),'SUfSn':_0x11575b(0x364),'opmYt':'ranger\x20feature\x20get-feedback','RgDeC':'ranger\x20feature\x20delete','yWdOR':function(_0x257f18,_0x5e7eb8,_0x34e956){return _0x257f18(_0x5e7eb8,_0x34e956);},'fopJX':'feature\x20restore','lpUeN':_0x11575b(0x244),'EaYvR':_0x11575b(0x384),'vLXlM':'get-feedback\x20[id]','LDzzy':_0x11575b(0x1e9),'qAzUE':_0x11575b(0x22c),'JFjRo':'hook:disable','BJqkX':_0x11575b(0x2d9),'pfQkC':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','ksXbH':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','VvHGZ':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','pedpc':function(_0x401fd5,_0x4e0c02){return _0x401fd5(_0x4e0c02);},'acFEt':function(_0xa91a13,_0x5c9275,_0x3f627f){return _0xa91a13(_0x5c9275,_0x3f627f);},'XZWrg':function(_0x530e95){return _0x530e95();},'BdAWP':function(_0x2f46c3,_0x9e1558){return _0x2f46c3(_0x9e1558);},'llzjF':'list','fFMNE':'List\x20all\x20feature\x20reviews','CCkEs':_0x11575b(0x32a),'IWxBJ':'add-scenario\x20<description>','tuXWb':'edit-scenario\x20<description>','WXBNf':'report\x20[id]','rvJYQ':'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','hVsRA':'restore\x20<id>','gTPYu':_0x11575b(0x264),'Rycwt':_0x11575b(0x321),'GjKIj':'Initialize\x20Ranger\x20in\x20your\x20project','uJEGX':'skillup','EaDny':_0x11575b(0x265),'eymrT':'Manage\x20profiles','VEaZO':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','GnRRu':'Print\x20the\x20current\x20CLI\x20access\x20token','zMYNS':_0x11575b(0x34f),'qYmEH':'auth','UzrfC':_0x11575b(0x395),'DCAcB':function(_0x43c418,_0x1a320d){return _0x43c418+_0x1a320d;},'WSDAZ':'\x20\x20https://docs.ranger.net\x0a','VQvyf':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','NYCHs':_0x11575b(0x2cb)};return _0x3b1db8['BdAWP'](_0x3e7870,_0xba1bb7??process[_0x11575b(0x371)]['slice'](0x2))[_0x11575b(0x2ab)](_0x11575b(0x239))['usage'](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command']('create\x20<name>',_0x11575b(0x22e),_0x44b0d7=>{const _0x516909=_0x11575b;return _0x44b0d7['positional'](_0x516909(0x256),{'type':_0x3b1db8[_0x516909(0x35a)],'description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x3b1db8['xBcWj'],{'type':_0x516909(0x353),'alias':'d','description':_0x516909(0x2c6)})['option'](_0x3b1db8['dZFRo'],{'type':_0x3b1db8[_0x516909(0x343)],'alias':'c','description':_0x3b1db8['YiNOM']})['option'](_0x3b1db8[_0x516909(0x202)],{'type':'array','hidden':!![]});},async _0x132527=>{const _0x7dfc10=_0x11575b;if(!_0x132527['name']){console['error'](_0x3b1db8['VVGUn']+_0x3b1db8[_0x7dfc10(0x24c)]),process[_0x7dfc10(0x241)](0x1);return;}warnFlagRenamed(_0x3b1db8['VxOui'],_0x3b1db8['BMTGp'],_0x7dfc10(0x2bb));const _0x332dc4=_0x132527['scenario']||_0x132527['checklist'];await _0x3b1db8[_0x7dfc10(0x361)](withTelemetry,_0x3b1db8[_0x7dfc10(0x330)],()=>featureCreate(_0x132527['name'],{'description':_0x132527[_0x7dfc10(0x1d8)],'scenarios':_0x332dc4}));})['command'](_0x3b1db8['llzjF'],_0x3b1db8[_0x11575b(0x345)],_0x24d4dc=>{const _0x3ea0b6=_0x11575b;return _0x24d4dc[_0x3ea0b6(0x2a2)](_0x3ea0b6(0x212),{'type':_0x3b1db8[_0x3ea0b6(0x336)],'description':_0x3b1db8[_0x3ea0b6(0x377)]})[_0x3ea0b6(0x2a2)](_0x3b1db8['tkbdI'],{'type':_0x3b1db8['aFGRc'],'alias':'l','description':_0x3b1db8['zOwws'],'default':0xa})[_0x3ea0b6(0x2a2)](_0x3b1db8[_0x3ea0b6(0x1da)],{'type':_0x3b1db8['aFGRc'],'alias':'o','description':_0x3ea0b6(0x34b),'default':0x0})[_0x3ea0b6(0x2a2)]('include-deleted',{'type':'boolean','alias':'d','description':_0x3b1db8[_0x3ea0b6(0x27c)],'default':![]});},async _0x582dd1=>{const _0x375c78=_0x11575b;await withTelemetry(_0x375c78(0x29d),()=>featureList({'currentBranch':_0x582dd1[_0x375c78(0x212)],'limit':_0x582dd1[_0x375c78(0x2e0)],'offset':_0x582dd1['offset'],'includeDeleted':_0x582dd1[_0x375c78(0x2c1)]}));})[_0x11575b(0x28f)](_0x3b1db8['lpUeN'],'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x148c07=>{const _0x2b3141=_0x11575b;return _0x148c07['positional']('id',{'type':_0x3b1db8['tABfX'],'description':_0x2b3141(0x20e)});},async _0x313a3d=>{const _0x362bd8=_0x11575b;await _0x3b1db8[_0x362bd8(0x361)](withTelemetry,'show',()=>featureShow(_0x313a3d['id']));})['command']('resume\x20[id]',_0x3b1db8['CCkEs'],_0x4a860f=>{const _0x2a0422=_0x11575b;return _0x4a860f[_0x2a0422(0x2a1)]('id',{'type':_0x3b1db8['tABfX'],'description':_0x2a0422(0x246)});},async _0x27bff4=>{const _0x578a68=_0x11575b;await _0x3b1db8['gmMtY'](withTelemetry,_0x578a68(0x2e8),()=>featureResume(_0x27bff4['id']));})['command'](_0x3b1db8['IWxBJ'],'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x25dc17=>{const _0x3fbdcd=_0x11575b;return _0x25dc17['positional']('description',{'type':'string','description':_0x3b1db8[_0x3fbdcd(0x269)],'demandOption':!![]})[_0x3fbdcd(0x2a2)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x26689c=>{const _0x38fc83=_0x11575b;await withTelemetry(_0x38fc83(0x1d7),()=>featureAddScenario(_0x26689c[_0x38fc83(0x1d8)],_0x26689c['id']));})['command'](_0x3b1db8['tuXWb'],_0x11575b(0x27e),_0x57e54a=>{const _0x5432a0=_0x11575b;return _0x57e54a[_0x5432a0(0x2a1)]('description',{'type':_0x5432a0(0x353),'description':_0x5432a0(0x29e),'demandOption':!![]})['option'](_0x3b1db8[_0x5432a0(0x208)],{'type':'number','description':'Scenario\x20number\x20to\x20edit\x20(1-based)','demandOption':!![]})['option']('id',{'type':_0x3b1db8['tABfX'],'description':_0x3b1db8[_0x5432a0(0x25b)]});},async _0x2a4cbe=>{const _0x4bfe09=_0x11575b;await withTelemetry(_0x4bfe09(0x226),()=>featureEditScenario(_0x2a4cbe[_0x4bfe09(0x1d8)],{'id':_0x2a4cbe['id'],'scenario':_0x2a4cbe['scenario']}));})['command'](_0x3b1db8['WXBNf'],_0x3b1db8[_0x11575b(0x268)],_0x14851e=>{const _0x150f90=_0x11575b;return _0x14851e[_0x150f90(0x2a1)]('id',{'type':_0x150f90(0x353),'description':_0x3b1db8['SSXZS']})['option'](_0x3b1db8[_0x150f90(0x245)],{'type':'array','description':_0x3b1db8[_0x150f90(0x295)]})['option'](_0x150f90(0x20b),{'type':'boolean','description':_0x3b1db8['PJsnY'],'default':![]});},async _0xc1784a=>{const _0x204eba=_0x11575b,_0x1469aa=_0xc1784a['exclude-scenario'],_0x4bf8ee=_0x1469aa?_0x1469aa['map'](_0x2d7014=>Number(_0x2d7014)):undefined;await withTelemetry(_0x204eba(0x31d),()=>featureReportPrDescription(_0xc1784a['id'],{'excludeScenarios':_0x4bf8ee,'json':_0xc1784a[_0x204eba(0x20b)]}));})[_0x11575b(0x28f)](_0x11575b(0x1f0),_0x11575b(0x372),_0x273b18=>{const _0x2a7df0=_0x11575b;return _0x273b18[_0x2a7df0(0x2a1)]('id',{'type':_0x3b1db8[_0x2a7df0(0x35a)],'description':_0x2a7df0(0x366)});},async _0x587f6e=>{const _0x58c802=_0x11575b;await withTelemetry(_0x58c802(0x327),()=>featureGetReview(_0x587f6e['id']));})['command'](_0x11575b(0x1e9),'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x1b7c32=>{const _0x3fdfd0=_0x11575b;return _0x1b7c32['positional']('id',{'type':_0x3b1db8[_0x3fdfd0(0x35a)],'description':'Feature\x20review\x20ID'});},async _0xd567dd=>{const _0x30e7bf=_0x11575b;await _0x3b1db8[_0x30e7bf(0x361)](withTelemetry,_0x3b1db8[_0x30e7bf(0x30a)],()=>featureDelete(_0xd567dd['id']));})['command'](_0x3b1db8['hVsRA'],_0x3b1db8[_0x11575b(0x33b)],_0x49c36e=>{return _0x49c36e['positional']('id',{'type':_0x3b1db8['tABfX'],'description':_0x3b1db8['nxQhn'],'demandOption':!![]});},async _0xb604d7=>{const _0x4a764a=_0x11575b;await withTelemetry(_0x3b1db8[_0x4a764a(0x2b7)],()=>featureRestore(_0xb604d7['id']));})['command'](_0x3b1db8[_0x11575b(0x2ff)],_0x3b1db8['GjKIj'],_0x483cdc=>{const _0x42f202=_0x11575b,_0x3bf929={'fvLyT':_0x3b1db8[_0x42f202(0x22d)],'wEpbD':_0x3b1db8['Lkaqf'],'fTpem':_0x3b1db8['WgDOP'],'vesGJ':_0x3b1db8[_0x42f202(0x2a5)],'FHrKo':'project','OLwub':_0x3b1db8[_0x42f202(0x287)],'qPdks':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','SVAVc':function(_0x114313,_0x275258){return _0x114313+_0x275258;},'dwyJF':function(_0x2f85ba,_0x411477,_0xf545c8){return _0x3b1db8['XYswU'](_0x2f85ba,_0x411477,_0xf545c8);},'pTqIf':_0x3b1db8[_0x42f202(0x211)]};return _0x483cdc[_0x42f202(0x2d7)]('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\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\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')['positional']('tokenOrSubcommand',{'type':_0x3b1db8['tABfX'],'description':_0x42f202(0x23e)})[_0x42f202(0x28f)](_0x42f202(0x203),_0x3b1db8['xSFkT'],_0x1c191f=>{const _0x333075=_0x42f202;return _0x1c191f['option'](_0x333075(0x25c),{'type':_0x3b1db8['tABfX'],'description':_0x3b1db8[_0x333075(0x275)]})[_0x333075(0x2a2)](_0x333075(0x339),{'type':_0x333075(0x382),'description':_0x333075(0x30e),'default':![]})[_0x333075(0x2a2)](_0x333075(0x1e2),{'type':_0x333075(0x382),'description':'Skip\x20authentication','default':![]})[_0x333075(0x2a2)](_0x3b1db8[_0x333075(0x22d)],{'type':_0x3b1db8[_0x333075(0x336)],'description':_0x333075(0x27f),'default':![]})['option'](_0x3b1db8['WgDOP'],{'type':_0x3b1db8[_0x333075(0x35a)],'choices':['user'],'hidden':!![],'description':_0x3b1db8['eoCHT']})[_0x333075(0x2a2)](_0x333075(0x20c),{'type':_0x333075(0x353),'description':_0x3b1db8[_0x333075(0x2cd)]})['option'](_0x3b1db8[_0x333075(0x258)],{'type':_0x3b1db8['BgNwp'],'description':_0x333075(0x29a),'default':![]})['option']('opencode',{'type':'boolean','description':_0x3b1db8[_0x333075(0x37c)],'default':![]})[_0x333075(0x2a2)]('allow-insecure-localhost',{'type':'boolean','description':_0x3b1db8[_0x333075(0x2bf)],'default':![]})[_0x333075(0x2a2)]('mcp-bootstrap',{'type':_0x3b1db8[_0x333075(0x336)],'description':_0x3b1db8[_0x333075(0x236)],'default':![]})['option'](_0x333075(0x2b4),{'type':_0x333075(0x382),'description':_0x333075(0x33a),'default':![]});},async _0x4d3e2f=>{const _0x569f9e=_0x42f202;(_0x4d3e2f['mcp-bootstrap']||_0x4d3e2f['mcp'])&&await withTelemetry(_0x3b1db8['qVEKi'],()=>mcpBootstrap()),await withTelemetry(_0x3b1db8[_0x569f9e(0x35b)],_0x43faf0=>start(_0x4d3e2f[_0x569f9e(0x25c)],{'skipChromium':_0x4d3e2f['skip-chromium'],'skipAuth':_0x4d3e2f['skip-auth'],'withDeps':_0x4d3e2f['with-deps'],'scope':_0x4d3e2f[_0x569f9e(0x1ef)],'url':_0x4d3e2f['url'],'force':_0x4d3e2f['force'],'opencode':_0x4d3e2f[_0x569f9e(0x360)],'allowInsecureLocalhost':_0x4d3e2f[_0x569f9e(0x2c5)]},_0x43faf0));})['command'](_0x42f202(0x32d),_0x3b1db8['RFKnL'],_0x4f5e6f=>{const _0x41593a=_0x42f202;return _0x4f5e6f[_0x41593a(0x2a2)](_0x3bf929['fvLyT'],{'type':'boolean','description':_0x41593a(0x2fb),'default':![]});},async _0x21b30a=>{await withTelemetry(_0x3b1db8['NQYAB'],()=>ensureChromium(_0x21b30a['with-deps']));})[_0x42f202(0x28f)]('login',_0x42f202(0x306),_0x37ac44=>{const _0x1a5388=_0x42f202;return _0x37ac44[_0x1a5388(0x2a2)](_0x1a5388(0x25c),{'type':'string','description':'Ranger\x20API\x20token\x20(rngr_...)'})['option'](_0x3bf929[_0x1a5388(0x285)],{'type':_0x1a5388(0x382),'description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x3d2550=>{const _0x3b6b5a=_0x42f202,_0x12c5a4={'MTbMt':function(_0x58a3b7){return _0x58a3b7();},'UmHJu':_0x3b1db8[_0x3b6b5a(0x38e)],'vSbuN':function(_0x39558c,_0x4f13cd){return _0x39558c(_0x4f13cd);}};await _0x3b1db8['sfGZp'](withTelemetry,_0x3b6b5a(0x28d),async()=>{const _0xeb24f8=_0x3b6b5a;if(_0x3d2550['mcp']){await _0x12c5a4['MTbMt'](mcpBootstrap);const _0x46f56e=await _0x12c5a4['MTbMt'](refreshCliToken);if(!_0x46f56e)throw new Error(_0x12c5a4['UmHJu']);const _0x530986=await getCurrentUser(_0x46f56e);if(!_0x530986[_0xeb24f8(0x2a8)])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x530986[_0xeb24f8(0x2c8)]);console['log'](_0xeb24f8(0x221)+_0x530986['user']['organizationName']);return;}await _0x12c5a4[_0xeb24f8(0x1f7)](authenticate,_0x3d2550[_0xeb24f8(0x25c)]);});})[_0x42f202(0x28f)](_0x42f202(0x288),_0x42f202(0x342),_0x13cfd9=>{const _0x58bef0=_0x42f202;return _0x13cfd9[_0x58bef0(0x2a2)](_0x3bf929['fTpem'],{'type':'string','choices':[_0x3bf929[_0x58bef0(0x1e6)],_0x3bf929[_0x58bef0(0x1f3)]],'description':_0x58bef0(0x25a)})['option'](_0x3bf929['OLwub'],{'type':'boolean','description':_0x3bf929[_0x58bef0(0x2eb)],'default':![]});},async _0x59d542=>{const _0x4aecc1=_0x42f202,_0x524d1c={'OXhZO':function(_0x3edacf,_0x4a8412){const _0x27985e=_0x4e13;return _0x3b1db8[_0x27985e(0x311)](_0x3edacf,_0x4a8412);},'bWdeZ':function(_0x7e3d29){const _0x36320c=_0x4e13;return _0x3b1db8[_0x36320c(0x338)](_0x7e3d29);}};await withTelemetry(_0x3b1db8[_0x4aecc1(0x394)],async()=>{const _0x1c87da=_0x4aecc1,_0xbc07c0=_0x59d542['scope'];if(_0x59d542['opencode']){const _0x57ff3b=await _0x524d1c['OXhZO'](ensureOpencodePluginConfig,_0xbc07c0);_0x57ff3b&&await installSkill(_0x1c87da(0x239),{'level':_0x57ff3b[_0x1c87da(0x1ef)],'cliVersion':_0x524d1c['bWdeZ'](getCurrentVersion),'platform':_0x1c87da(0x360)});}else await ensureClaudePlugin(_0xbc07c0),await _0x524d1c[_0x1c87da(0x2a0)](ensureClaudeSkills,_0xbc07c0);});})[_0x42f202(0x28f)](_0x3b1db8['yWLDO'],'Set\x20up\x20a\x20local\x20browser\x20profile',_0x4395b3=>{const _0x4d579d=_0x42f202;return _0x4395b3['option'](_0x3b1db8[_0x4d579d(0x316)],{'type':_0x3b1db8['tABfX'],'choices':[_0x3b1db8[_0x4d579d(0x2a5)]],'description':_0x3b1db8[_0x4d579d(0x206)]})[_0x4d579d(0x2a2)](_0x4d579d(0x20c),{'type':_0x4d579d(0x353),'description':'Base\x20URL\x20of\x20the\x20running\x20app'})[_0x4d579d(0x2a2)](_0x4d579d(0x1e2),{'type':_0x3b1db8[_0x4d579d(0x336)],'description':_0x3b1db8['UFueZ'],'default':![]})[_0x4d579d(0x2a2)]('force',{'type':_0x3b1db8[_0x4d579d(0x336)],'description':_0x4d579d(0x29a),'default':![]})[_0x4d579d(0x2a2)](_0x3b1db8[_0x4d579d(0x38c)],{'type':_0x4d579d(0x382),'description':_0x3b1db8[_0x4d579d(0x2bf)],'default':![]});},async _0x2798c9=>{const _0xd88377=_0x42f202,_0x54687a=_0x2798c9['scope'];_0x54687a!==undefined&&_0x54687a!==_0x3bf929['vesGJ']&&(console[_0xd88377(0x2c8)](_0x3bf929[_0xd88377(0x2f2)](_0x3bf929[_0xd88377(0x2f2)](_0xd88377(0x2e5)+_0x54687a+_0xd88377(0x210),_0xd88377(0x393)),_0xd88377(0x374))),process[_0xd88377(0x241)](0x1)),await _0x3bf929['dwyJF'](withTelemetry,_0x3bf929[_0xd88377(0x260)],_0x2ae4d5=>ensureLocalEnv({'url':_0x2798c9['url'],'force':_0x2798c9[_0xd88377(0x2db)],'allowInsecureLocalhost':_0x2798c9['allow-insecure-localhost'],'scope':_0xd88377(0x397)},_0x2ae4d5));})['option'](_0x3b1db8[_0x42f202(0x369)],{'type':_0x3b1db8['BgNwp'],'description':_0x42f202(0x30e),'default':![]})[_0x42f202(0x2a2)](_0x3b1db8['WgDOP'],{'type':_0x3b1db8[_0x42f202(0x35a)],'choices':['user'],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x42f202(0x20c),{'type':_0x3b1db8[_0x42f202(0x35a)],'description':_0x3b1db8['izEQE']})[_0x42f202(0x2a2)]('force',{'type':_0x3b1db8[_0x42f202(0x336)],'description':_0x3b1db8['ZtFmp'],'default':![]})['option'](_0x3b1db8[_0x42f202(0x287)],{'type':_0x3b1db8['BgNwp'],'description':_0x3b1db8['FnafX'],'default':![]})['option'](_0x3b1db8[_0x42f202(0x38c)],{'type':_0x3b1db8['BgNwp'],'description':_0x3b1db8['DIsNr'],'default':![]})['option'](_0x3b1db8['qVEKi'],{'type':'boolean','description':_0x42f202(0x23d),'default':![]})['option'](_0x3b1db8['bwIBq'],{'type':'boolean','description':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','default':![]})[_0x42f202(0x2a2)](_0x42f202(0x31e),{'type':'boolean','description':_0x3b1db8['tAazf'],'default':![]})[_0x42f202(0x2a2)](_0x3b1db8[_0x42f202(0x2f9)],{'type':'string','hidden':!![],'description':_0x42f202(0x375)});},async _0x1e833f=>{const _0x3eb2ca=_0x11575b,_0x2341a0=_0x1e833f[_0x3eb2ca(0x37f)],_0x43b21d=_0x1e833f[_0x3eb2ca(0x25c)]??_0x2341a0;_0x1e833f[_0x3b1db8[_0x3eb2ca(0x30d)]]&&await withTelemetry(_0x3eb2ca(0x26a),()=>mcpBootstrap()),await _0x3b1db8[_0x3eb2ca(0x278)](withTelemetry,'start',_0x47ef31=>start(_0x43b21d,{'skipChromium':_0x1e833f['skip-chromium'],'skipAuth':_0x1e833f[_0x3eb2ca(0x1e2)],'withDeps':_0x1e833f[_0x3eb2ca(0x31e)],'scope':_0x1e833f['scope'],'url':_0x1e833f['url'],'force':_0x1e833f['force'],'opencode':_0x1e833f['opencode'],'allowInsecureLocalhost':_0x1e833f[_0x3eb2ca(0x2c5)]},_0x47ef31));})['command']('setup-ci\x20<token>','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0x358b9e=>{const _0x5184fb=_0x11575b;return _0x358b9e[_0x5184fb(0x2a1)]('token',{'type':_0x3b1db8[_0x5184fb(0x35a)],'description':_0x3b1db8[_0x5184fb(0x275)],'demandOption':!![]})[_0x5184fb(0x2a2)](_0x5184fb(0x31b),{'type':_0x5184fb(0x353),'description':_0x3b1db8[_0x5184fb(0x2e7)]})[_0x5184fb(0x2a2)](_0x3b1db8[_0x5184fb(0x224)],{'type':'string','description':_0x5184fb(0x209)})[_0x5184fb(0x2a2)]('skip-chromium',{'type':_0x3b1db8['BgNwp'],'description':_0x3b1db8['mfVPP'],'default':![]});},async _0x20dbb1=>{const _0x3f96b8=_0x11575b;await withTelemetry(_0x3f96b8(0x31a),_0x18e369=>setupCi(_0x20dbb1['token'],{'profile':_0x20dbb1[_0x3f96b8(0x31b)],'baseUrl':_0x20dbb1['base-url'],'skipChromium':_0x20dbb1['skip-chromium']},_0x18e369));})['command'](_0x11575b(0x1ea),'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)',()=>{},async()=>{await withTelemetry(_0x3b1db8['xfdjA'],()=>login());})[_0x11575b(0x28f)](_0x3b1db8['uJEGX'],'Install\x20Ranger\x20skills',_0x4d730d=>{const _0x16cbca=_0x11575b;return _0x4d730d['option'](_0x16cbca(0x360),{'type':_0x3b1db8['BgNwp'],'description':_0x16cbca(0x23b),'default':![]})['option'](_0x16cbca(0x1ef),{'type':_0x16cbca(0x353),'choices':['user','project'],'description':'Install\x20scope\x20for\x20skills'});},async _0x29ee0a=>{const _0x231b02=_0x11575b,_0x248149=_0x3b1db8['mjldI'](Boolean,_0x29ee0a['opencode']);await withTelemetry('skillup',()=>skillup({'autoInstall':_0x29ee0a[_0x231b02(0x1ef)],'platform':_0x248149?'opencode':_0x231b02(0x279)}));})[_0x11575b(0x28f)](_0x3b1db8[_0x11575b(0x216)],_0x3b1db8['EaDny'],()=>{},async()=>{const _0x34ea5c=_0x11575b;await _0x3b1db8[_0x34ea5c(0x2d1)](withTelemetry,_0x3b1db8[_0x34ea5c(0x216)],()=>clean());})[_0x11575b(0x28f)]([_0x3b1db8['Cxokr'],_0x3b1db8[_0x11575b(0x28a)]],_0x3b1db8[_0x11575b(0x1fc)],_0x5cdf5b=>{const _0x33c316=_0x11575b,_0x4f20c5={'AFXCZ':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','mMJEs':_0x3b1db8['bwIBq'],'unfQG':_0x3b1db8[_0x33c316(0x308)],'tKkle':_0x3b1db8[_0x33c316(0x35a)],'NOPvA':_0x3b1db8['BgNwp'],'AHMdH':'cdp-endpoint','fogBH':_0x3b1db8['tiZIo'],'YkmAM':_0x3b1db8['OxVdp'],'dshVY':_0x3b1db8[_0x33c316(0x222)],'nMPLp':_0x3b1db8['BgjdB'],'xgvFp':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','QRCdu':function(_0x16e6a3,_0x4863bb,_0x16ecf1,_0x523bb8){const _0x30fec0=_0x33c316;return _0x3b1db8[_0x30fec0(0x2f0)](_0x16e6a3,_0x4863bb,_0x16ecf1,_0x523bb8);},'WKwfF':'profile\x20add','VZycR':function(_0x5a0d4a,_0x467266){return _0x3b1db8['RJzzf'](_0x5a0d4a,_0x467266);},'XPtow':_0x33c316(0x20d),'eILyN':'profile','PlxPU':_0x3b1db8[_0x33c316(0x276)],'XsBEP':_0x3b1db8[_0x33c316(0x310)],'tHfvh':_0x3b1db8['ZZHDF'],'YJuhg':_0x33c316(0x24d),'CwPPh':'unknown\x20error','xDsSe':_0x3b1db8[_0x33c316(0x2ea)],'sHKVz':_0x33c316(0x203),'EQjQj':_0x3b1db8['NMjcA'],'deHXK':_0x3b1db8['tfuXI'],'ZKfHY':function(_0x357be6,_0x11e982,_0x550171){return _0x357be6(_0x11e982,_0x550171);},'bURBy':_0x3b1db8[_0x33c316(0x2d2)],'wbmwW':_0x3b1db8['IEbXu'],'bjBYC':_0x3b1db8['hCgSg']};return _0x5cdf5b['usage'](PROFILE_HELP)['command'](_0x33c316(0x358),_0x33c316(0x1ec),_0xcf4951=>{const _0x3e0d26=_0x33c316;return _0xcf4951[_0x3e0d26(0x2a1)](_0x3e0d26(0x271),{'type':_0x3e0d26(0x353),'description':_0x4f20c5[_0x3e0d26(0x373)],'demandOption':!![]})[_0x3e0d26(0x2a2)]('ci',{'type':'boolean','description':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x4f20c5['mMJEs'],{'type':_0x3e0d26(0x382),'description':_0x4f20c5[_0x3e0d26(0x2da)],'default':![]})['option']('url',{'type':_0x4f20c5['tKkle'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)'})['option']('force',{'type':_0x4f20c5['NOPvA'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x4f20c5['AHMdH'],{'type':'string','description':_0x3e0d26(0x37d)})[_0x3e0d26(0x2a2)]('allow-insecure-localhost',{'type':_0x4f20c5['NOPvA'],'description':_0x3e0d26(0x2f7),'default':![]})['option'](_0x4f20c5[_0x3e0d26(0x257)],{'type':_0x3e0d26(0x382),'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]})[_0x3e0d26(0x2a2)](_0x4f20c5[_0x3e0d26(0x29f)],{'type':_0x4f20c5['tKkle'],'array':!![],'description':_0x4f20c5[_0x3e0d26(0x31c)]})['option']('scope',{'type':'string','choices':[_0x4f20c5[_0x3e0d26(0x242)],'project'],'description':_0x3e0d26(0x300)})['option'](_0x3e0d26(0x281),{'type':_0x4f20c5['NOPvA'],'alias':'y','description':_0x4f20c5[_0x3e0d26(0x1f2)],'default':![]});},async _0xc02e2a=>{const _0x2bced6=_0x33c316;await _0x4f20c5[_0x2bced6(0x293)](withTelemetry,_0x4f20c5[_0x2bced6(0x370)],_0x36d634=>addEnv(_0xc02e2a['profile-name'],{'ci':_0xc02e2a['ci'],'skipAuth':_0xc02e2a['skip-auth'],'url':_0xc02e2a['url'],'force':_0xc02e2a['force'],'cdpEndpoint':_0xc02e2a[_0x2bced6(0x261)],'allowInsecureLocalhost':_0xc02e2a['allow-insecure-localhost'],'safeMode':_0xc02e2a['safe-mode'],'setupHeader':_0xc02e2a[_0x2bced6(0x367)],'scope':_0xc02e2a['scope'],'yes':_0xc02e2a['yes']},_0x36d634),{'isElectron':_0x4f20c5[_0x2bced6(0x33f)](Boolean,_0xc02e2a['cdp-endpoint'])});})['command'](_0x33c316(0x26e),_0x3b1db8['ajlyr'],_0x34f25e=>{const _0x1c9973=_0x33c316;return _0x34f25e['positional']('profile-name',{'type':'string','description':_0x4f20c5[_0x1c9973(0x251)],'demandOption':!![]});},async _0x5552ec=>{await _0x3b1db8['jOgxh'](withTelemetry,'profile\x20use',()=>useEnv(_0x5552ec['profile-name']));})[_0x33c316(0x28f)](_0x3b1db8[_0x33c316(0x21c)],_0x3b1db8[_0x33c316(0x29c)],_0x5e4190=>{const _0x136971=_0x33c316;return _0x5e4190['positional'](_0x4f20c5['eILyN'],{'type':_0x4f20c5[_0x136971(0x1d9)],'description':_0x4f20c5[_0x136971(0x26c)],'demandOption':!![]});},async _0x175d82=>{await withTelemetry('profile\x20encrypt-auth',()=>authEncrypt(_0x175d82['profile']));})[_0x33c316(0x28f)]('ls','List\x20all\x20profiles',()=>{},async()=>{const _0x506bab=_0x33c316;await withTelemetry(_0x3b1db8[_0x506bab(0x388)],()=>envList());})['command'](_0x3b1db8['PdkdD'],'Update\x20authentication\x20for\x20an\x20existing\x20profile',_0x5a3533=>{const _0x143680=_0x33c316;return _0x5a3533[_0x143680(0x2a1)](_0x143680(0x271),{'type':'string','description':_0x3b1db8['HUyVh'],'demandOption':!![]})[_0x143680(0x2a2)](_0x3b1db8['hvPBl'],{'type':_0x3b1db8['BgNwp'],'description':_0x3b1db8['DIsNr']});},async _0xed2cb7=>{const _0x419e99=_0x33c316;await withTelemetry(_0x4f20c5['XsBEP'],_0x14bf17=>updateEnv(_0xed2cb7['profile-name'],_0x14bf17,{'allowInsecureLocalhost':_0xed2cb7[_0x419e99(0x2c5)]}));})[_0x33c316(0x28f)]('login\x20<name>',![],_0x46c8a9=>{const _0x2b7079=_0x33c316;return _0x46c8a9[_0x2b7079(0x2a1)]('name',{'type':'string','description':_0x4f20c5['tHfvh'],'demandOption':!![]});},async _0x321544=>{const _0x1e0f91=_0x33c316;await withTelemetry(_0x1e0f91(0x205),async()=>{const _0x36a2a0=_0x1e0f91,_0x4376f2=process[_0x36a2a0(0x2af)]['RANGER_TEST_USERNAME'],_0x359ee3=process['env'][_0x36a2a0(0x254)];(!_0x4376f2||!_0x359ee3)&&(console[_0x36a2a0(0x2c8)]('Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.'),process[_0x36a2a0(0x241)](0x1));const _0x10f6ed=_0x321544[_0x36a2a0(0x256)],_0x29c01b=await serverSideLogin(_0x10f6ed,{'force':!![]});_0x29c01b['status']===_0x4f20c5[_0x36a2a0(0x34c)]&&(console['error']('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process[_0x36a2a0(0x241)](0x1)),_0x29c01b[_0x36a2a0(0x2a6)]===_0x36a2a0(0x1f4)&&(console[_0x36a2a0(0x2c8)](_0x36a2a0(0x2e6)+(_0x29c01b['error']??_0x4f20c5['CwPPh'])),_0x29c01b[_0x36a2a0(0x2d4)]&&console[_0x36a2a0(0x2c8)](_0x29c01b['test_output']),process['exit'](0x1)),console['log'](_0x36a2a0(0x200)+_0x10f6ed+'\x27.\x20Session\x20written\x20to\x20cloud\x20profile.');});})['command'](_0x3b1db8[_0x33c316(0x280)],_0x3b1db8[_0x33c316(0x26f)],_0x5f4c83=>{const _0x241a99=_0x33c316;return _0x5f4c83[_0x241a99(0x2a1)](_0x241a99(0x271),{'type':_0x241a99(0x353),'description':_0x4f20c5[_0x241a99(0x309)]})[_0x241a99(0x2a2)](_0x4f20c5[_0x241a99(0x357)],{'type':_0x4f20c5[_0x241a99(0x263)],'description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})['option'](_0x241a99(0x2de),{'type':_0x4f20c5[_0x241a99(0x263)],'description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})['option'](_0x4f20c5['EQjQj'],{'type':_0x4f20c5['NOPvA'],'alias':'y','description':_0x241a99(0x204),'default':![]})['option'](_0x241a99(0x333),{'type':_0x4f20c5[_0x241a99(0x263)],'description':_0x241a99(0x36b),'default':![]});},async _0x516f90=>{const _0x53571b=_0x33c316;await withTelemetry(_0x3b1db8[_0x53571b(0x2fa)],_0x338a67=>migrateProfile({'profileName':_0x516f90['profile-name'],'all':_0x516f90[_0x53571b(0x203)],'dryRun':_0x516f90[_0x53571b(0x2de)],'yes':_0x516f90['yes'],'saveCreds':_0x516f90[_0x53571b(0x333)]},_0x338a67));})['command'](_0x3b1db8[_0x33c316(0x2b2)],'Manage\x20profile\x20configuration',_0x2c34c6=>{const _0x13f45c=_0x33c316,_0x504cae={'gMPSd':_0x13f45c(0x31b),'mWOhv':_0x3b1db8['znJYi'],'UthAH':'key','CJkNv':_0x13f45c(0x1e3),'BsmVb':function(_0x3db4c0,_0x40b6b7,_0x47e432){return _0x3db4c0(_0x40b6b7,_0x47e432);},'ZqERm':_0x3b1db8[_0x13f45c(0x1df)],'EXyuK':'string','aOaLc':'profile\x20config\x20reset'};return _0x2c34c6[_0x13f45c(0x2d7)](PROFILE_CONFIG_HELP)[_0x13f45c(0x28f)](_0x13f45c(0x351),_0x3b1db8[_0x13f45c(0x1ed)],_0x22d6be=>{const _0x5cfaf6=_0x13f45c;return _0x22d6be[_0x5cfaf6(0x2a1)](_0x4f20c5[_0x5cfaf6(0x2e3)],{'type':_0x4f20c5[_0x5cfaf6(0x1d9)],'description':_0x5cfaf6(0x220),'demandOption':!![]})[_0x5cfaf6(0x2a1)](_0x4f20c5[_0x5cfaf6(0x24a)],{'type':_0x5cfaf6(0x353),'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})['positional'](_0x5cfaf6(0x319),{'type':_0x4f20c5['tKkle'],'description':'Config\x20value','demandOption':!![]});},async _0x438a89=>{const _0x27ac4e=_0x13f45c;await _0x4f20c5[_0x27ac4e(0x21e)](withTelemetry,_0x4f20c5[_0x27ac4e(0x250)],()=>configSet(_0x438a89[_0x27ac4e(0x31b)],_0x438a89[_0x27ac4e(0x37e)],_0x438a89[_0x27ac4e(0x319)]));})[_0x13f45c(0x28f)](_0x3b1db8['qDvZN'],_0x3b1db8[_0x13f45c(0x37a)],_0x1c635e=>{const _0x3897cf=_0x13f45c;return _0x1c635e['positional'](_0x504cae['gMPSd'],{'type':'string','description':_0x504cae[_0x3897cf(0x28b)],'demandOption':!![]})['positional'](_0x504cae[_0x3897cf(0x347)],{'type':'string','description':_0x504cae[_0x3897cf(0x359)],'demandOption':!![]});},async _0x17e0d9=>{const _0x1f0292=_0x13f45c;await _0x504cae['BsmVb'](withTelemetry,_0x504cae['ZqERm'],()=>configGet(_0x17e0d9[_0x1f0292(0x31b)],_0x17e0d9['key']));})['command'](_0x3b1db8[_0x13f45c(0x355)],_0x3b1db8[_0x13f45c(0x313)],_0x232078=>{const _0x169f32=_0x13f45c;return _0x232078[_0x169f32(0x2a1)](_0x169f32(0x31b),{'type':_0x4f20c5['tKkle'],'description':_0x4f20c5['PlxPU'],'demandOption':!![]});},async _0x72a813=>{const _0x539b9e=_0x13f45c;await _0x4f20c5[_0x539b9e(0x21e)](withTelemetry,_0x4f20c5['wbmwW'],()=>configList(_0x72a813[_0x539b9e(0x31b)]));})['command'](_0x13f45c(0x1f9),_0x3b1db8[_0x13f45c(0x2dc)],_0x29e380=>{const _0x4252a1=_0x13f45c;return _0x29e380[_0x4252a1(0x2a1)](_0x4252a1(0x31b),{'type':_0x4f20c5[_0x4252a1(0x1d9)],'description':_0x4f20c5[_0x4252a1(0x26c)],'demandOption':!![]})['positional'](_0x4f20c5['deHXK'],{'type':_0x4f20c5['tKkle'],'description':_0x4252a1(0x376),'demandOption':!![]});},async _0x337aa2=>{const _0x4eb530=_0x13f45c;await withTelemetry(_0x4f20c5['bjBYC'],()=>configUnset(_0x337aa2['profile'],_0x337aa2[_0x4eb530(0x37e)]));})['command']('reset\x20<profile>',_0x3b1db8[_0x13f45c(0x2f4)],_0x2c2ce2=>{const _0x1e353b=_0x13f45c;return _0x2c2ce2[_0x1e353b(0x2a1)](_0x504cae[_0x1e353b(0x34d)],{'type':_0x504cae['EXyuK'],'description':_0x504cae[_0x1e353b(0x28b)],'demandOption':!![]});},async _0x5344d7=>{const _0x1be94a=_0x13f45c;await withTelemetry(_0x504cae[_0x1be94a(0x387)],()=>configReset(_0x5344d7['profile']));})[_0x13f45c(0x21a)](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})[_0x33c316(0x21a)](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})['command'](_0x3b1db8[_0x11575b(0x314)],_0x3b1db8['VEaZO'],()=>{},async()=>{const _0x2829df=_0x11575b;await withTelemetry(_0x3b1db8[_0x2829df(0x314)],()=>status());})['command'](_0x11575b(0x28c),_0x11575b(0x304),()=>{},async()=>{await withTelemetry('update',()=>update());})[_0x11575b(0x28f)](_0x3b1db8[_0x11575b(0x286)],_0x3b1db8['GnRRu'],()=>{},async()=>{const _0x11ba3d=_0x11575b;await _0x3b1db8[_0x11ba3d(0x25d)](withTelemetry,_0x3b1db8[_0x11ba3d(0x286)],async()=>{const _0x35f141=_0x11ba3d,_0x4c3a96=await getToken();if(!_0x4c3a96)throw new Error(_0x35f141(0x247));console['log'](_0x4c3a96);});})[_0x11575b(0x28f)]('go',_0x3b1db8['zMYNS'],_0x24a0f9=>{const _0x1dbfd1=_0x11575b;return _0x24a0f9['option'](_0x3b1db8[_0x1dbfd1(0x346)],{'type':_0x1dbfd1(0x353),'description':_0x1dbfd1(0x233)})['option'](_0x3b1db8[_0x1dbfd1(0x225)],{'type':_0x3b1db8['tABfX'],'description':_0x3b1db8[_0x1dbfd1(0x1f1)]})[_0x1dbfd1(0x2a2)](_0x3b1db8['frAnw'],{'type':_0x3b1db8['tABfX'],'description':_0x3b1db8['nqedK']})['option']('scenario',{'type':_0x3b1db8['aFGRc'],'description':_0x3b1db8[_0x1dbfd1(0x2e4)]})[_0x1dbfd1(0x2a2)](_0x3b1db8['bcZuV'],{'type':'string','description':_0x3b1db8['Vfsmo']})[_0x1dbfd1(0x2a2)](_0x3b1db8['EJIvb'],{'type':_0x1dbfd1(0x353),'description':_0x1dbfd1(0x207)})['option']('model',{'type':'string','description':_0x1dbfd1(0x270)})['option'](_0x1dbfd1(0x37b),{'type':_0x3b1db8['BgNwp'],'description':_0x3b1db8[_0x1dbfd1(0x1e4)],'default':![]})[_0x1dbfd1(0x2a2)](_0x3b1db8[_0x1dbfd1(0x36a)],{'type':_0x3b1db8['tABfX'],'hidden':!![],'choices':[_0x3b1db8[_0x1dbfd1(0x28e)],'partial',_0x3b1db8['bDkZU'],_0x3b1db8['wCXvn'],_0x3b1db8[_0x1dbfd1(0x340)]]})['option']('debug-address-comments',{'type':_0x1dbfd1(0x382),'hidden':!![]})['option'](_0x3b1db8[_0x1dbfd1(0x266)],{'type':'string','hidden':!![]})['option'](_0x3b1db8[_0x1dbfd1(0x2df)],{'type':_0x3b1db8[_0x1dbfd1(0x35a)],'hidden':!![]})[_0x1dbfd1(0x2a2)](_0x3b1db8['jyyrU'],{'type':'number','hidden':!![]});},async _0x4291ec=>{await _0x3b1db8['mMeRT'](runGoCommand,_0x4291ec);})[_0x11575b(0x28f)](_0x3b1db8['qYmEH'],![],_0x397c8b=>{const _0x167365=_0x11575b,_0x5bf6ac={'rIqNV':function(_0x4b8e3a,_0x45137a){const _0x1feb7e=_0x4e13;return _0x3b1db8[_0x1feb7e(0x24b)](_0x4b8e3a,_0x45137a);}};return _0x397c8b['command'](_0x3b1db8['WZnBS'],![],_0x122344=>{const _0x3b8a13=_0x4e13;return _0x122344['positional'](_0x3b1db8['Cxokr'],{'type':_0x3b1db8[_0x3b8a13(0x35a)],'description':'Profile\x20name','demandOption':!![]});},async _0x3d9f1d=>{const _0x13f87c=_0x4e13;warnRenamed(_0x13f87c(0x253),'ranger\x20profile\x20encrypt-auth'),await _0x5bf6ac['rIqNV'](authEncrypt,_0x3d9f1d['profile']);})[_0x167365(0x21a)](0x1,_0x167365(0x1fe));},()=>{})[_0x11575b(0x28f)](_0x11575b(0x20a),![],_0xb833c8=>{const _0x11bcf4=_0x11575b;return _0xb833c8['positional']('token',{'type':_0x11bcf4(0x353),'description':_0x3b1db8[_0x11bcf4(0x299)]})['option'](_0x3b1db8[_0x11bcf4(0x369)],{'type':_0x3b1db8[_0x11bcf4(0x336)],'description':_0x11bcf4(0x30e),'default':![]})['option']('scope',{'type':_0x11bcf4(0x353),'choices':[_0x3b1db8['BgjdB']],'hidden':!![],'description':_0x11bcf4(0x2a9)})[_0x11bcf4(0x2a2)]('url',{'type':_0x3b1db8[_0x11bcf4(0x35a)],'description':_0x3b1db8['izEQE']})[_0x11bcf4(0x2a2)](_0x11bcf4(0x2db),{'type':_0x3b1db8[_0x11bcf4(0x336)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x3b1db8[_0x11bcf4(0x1f8)],{'type':'boolean','description':_0x3b1db8[_0x11bcf4(0x2cf)],'default':![]})['option'](_0x3b1db8[_0x11bcf4(0x22d)],{'type':_0x3b1db8['BgNwp'],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]});},async _0x5cb501=>{const _0x58ca91=_0x11575b;_0x3b1db8['DqGAu'](warnRenamed,_0x3b1db8['BOyTA'],_0x3b1db8[_0x58ca91(0x383)]),await withTelemetry(_0x3b1db8[_0x58ca91(0x33c)],_0x340f29=>start(_0x5cb501['token'],{'skipChromium':_0x5cb501[_0x58ca91(0x339)],'skipAuth':_0x5cb501[_0x58ca91(0x1e2)],'withDeps':_0x5cb501['with-deps'],'scope':_0x5cb501[_0x58ca91(0x1ef)],'url':_0x5cb501['url'],'force':_0x5cb501[_0x58ca91(0x2db)]},_0x340f29));})[_0x11575b(0x28f)](_0x11575b(0x22f),![],_0x391eb4=>{const _0x32a4cc=_0x11575b;return _0x391eb4[_0x32a4cc(0x2a2)]('env',{'type':'string','description':_0x32a4cc(0x301)})['option'](_0x3b1db8[_0x32a4cc(0x2df)],{'type':_0x3b1db8['tABfX'],'description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})[_0x32a4cc(0x2a2)](_0x32a4cc(0x32c),{'type':_0x32a4cc(0x356),'description':_0x3b1db8['ahKiZ']})['option']('profile',{'type':_0x3b1db8[_0x32a4cc(0x35a)],'hidden':!![]})[_0x32a4cc(0x2a2)]('notes',{'type':_0x3b1db8[_0x32a4cc(0x35a)],'hidden':!![]})['option'](_0x3b1db8['dZFRo'],{'type':_0x3b1db8[_0x32a4cc(0x252)],'hidden':!![]})[_0x32a4cc(0x2a2)]('start-path',{'type':_0x32a4cc(0x353),'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})[_0x32a4cc(0x2a2)]('base-url',{'type':'string','description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x32a4cc(0x2a2)]('model',{'type':_0x3b1db8[_0x32a4cc(0x35a)],'hidden':!![]})[_0x32a4cc(0x2a2)](_0x3b1db8['ydbtr'],{'type':_0x3b1db8['BgNwp'],'hidden':!![],'default':![]})[_0x32a4cc(0x2a2)](_0x3b1db8['ccmoe'],{'type':_0x32a4cc(0x353),'hidden':!![],'choices':[_0x32a4cc(0x29b),_0x3b1db8['gAujT'],_0x32a4cc(0x386),_0x32a4cc(0x1f4),_0x32a4cc(0x201)]});},async _0x412ca4=>{await runGoCommand(_0x412ca4,!![]);})['command'](_0x11575b(0x1dd),![],_0x2bb88e=>{const _0xe3d70d=_0x11575b;return _0x2bb88e[_0xe3d70d(0x2a1)](_0xe3d70d(0x303),{'type':_0xe3d70d(0x353),'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0xe3d70d(0x2a2)]('ci',{'type':_0xe3d70d(0x382),'description':_0xe3d70d(0x298),'default':![]})[_0xe3d70d(0x2a2)](_0x3b1db8['bwIBq'],{'type':'boolean','description':_0x3b1db8[_0xe3d70d(0x308)],'default':![]});},async _0x58aac3=>{const _0x451b28=_0x11575b;warnRenamed('ranger\x20add\x20env',_0x3b1db8[_0x451b28(0x1f6)]),await _0x3b1db8['jBAXT'](withTelemetry,_0x3b1db8['wjCOb'],_0x31329e=>addEnv(_0x58aac3[_0x451b28(0x303)],{'ci':_0x58aac3['ci'],'skipAuth':_0x58aac3[_0x451b28(0x1e2)]},_0x31329e));})['command'](_0x11575b(0x399),![],_0x16a1a0=>{return _0x16a1a0['positional'](_0x3b1db8['Fkebe'],{'type':'string','description':_0x3b1db8['uRNKh'],'demandOption':!![]});},async _0x2083e5=>{const _0x96108c=_0x11575b;_0x3b1db8[_0x96108c(0x30c)](warnRenamed,_0x3b1db8[_0x96108c(0x291)],_0x96108c(0x34e)),await withTelemetry('use',()=>useEnv(_0x2083e5['env-name']));})[_0x11575b(0x28f)](_0x3b1db8['cKKdd'],![],_0x272dcc=>{const _0x57a73a=_0x11575b,_0x2ddb39={'dkPLK':function(_0x542c96,_0x312c33,_0x4dd6df){return _0x3b1db8['jBAXT'](_0x542c96,_0x312c33,_0x4dd6df);},'XbdVw':_0x57a73a(0x277),'ZXKBZ':'ranger\x20profile\x20config\x20set','kybHc':_0x3b1db8['HVOgr'],'jGDyN':_0x3b1db8[_0x57a73a(0x266)],'AtulL':_0x3b1db8[_0x57a73a(0x35a)],'zMPFA':_0x3b1db8[_0x57a73a(0x326)]};return _0x272dcc['command']('set\x20<env>\x20<key>\x20<value>',![],_0x51f9c1=>{const _0x1ac6eb=_0x57a73a;return _0x51f9c1['positional'](_0x1ac6eb(0x2af),{'type':_0x3b1db8['tABfX'],'description':_0x3b1db8['SwiIB'],'demandOption':!![]})[_0x1ac6eb(0x2a1)](_0x3b1db8['tfuXI'],{'type':_0x3b1db8[_0x1ac6eb(0x35a)],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})['positional'](_0x1ac6eb(0x319),{'type':_0x1ac6eb(0x353),'description':_0x1ac6eb(0x30b),'demandOption':!![]});},async _0x20900f=>{const _0x3beffa=_0x57a73a;_0x2ddb39['dkPLK'](warnRenamed,_0x2ddb39[_0x3beffa(0x262)],_0x2ddb39[_0x3beffa(0x38f)]),await withTelemetry(_0x2ddb39['kybHc'],()=>configSet(_0x20900f['env'],_0x20900f[_0x3beffa(0x37e)],_0x20900f['value']));})['command'](_0x3b1db8['Idkcs'],![],_0x28714b=>{const _0x3bc963=_0x57a73a;return _0x28714b[_0x3bc963(0x2a1)]('env',{'type':_0x3bc963(0x353),'description':_0x3bc963(0x32b),'demandOption':!![]})[_0x3bc963(0x2a1)](_0x3b1db8['tfuXI'],{'type':_0x3b1db8[_0x3bc963(0x35a)],'description':_0x3b1db8[_0x3bc963(0x2ac)],'demandOption':!![]});},async _0x1005b7=>{const _0x10c64e=_0x57a73a;_0x3b1db8['nSmJN'](warnRenamed,_0x3b1db8['KEAsv'],_0x10c64e(0x2ae)),await withTelemetry(_0x3b1db8['FkwMv'],()=>configGet(_0x1005b7['env'],_0x1005b7[_0x10c64e(0x37e)]));})['command']('list\x20<env>',![],_0x24a9fe=>{const _0x5c89cd=_0x57a73a;return _0x24a9fe['positional'](_0x2ddb39['jGDyN'],{'type':_0x2ddb39['AtulL'],'description':_0x5c89cd(0x32b),'demandOption':!![]});},async _0xf9f9f8=>{const _0xf6dbc=_0x57a73a;_0x3b1db8['MOORD'](warnRenamed,'ranger\x20config\x20list',_0x3b1db8['UnkBg']),await withTelemetry(_0xf6dbc(0x331),()=>configList(_0xf9f9f8[_0xf6dbc(0x2af)]));})['command'](_0x57a73a(0x20f),![],_0x904301=>{const _0x136ccc=_0x57a73a;return _0x904301['positional']('env',{'type':'string','description':'Environment\x20name','demandOption':!![]})[_0x136ccc(0x2a1)](_0x136ccc(0x37e),{'type':'string','description':_0x2ddb39[_0x136ccc(0x2fc)],'demandOption':!![]});},async _0x5161f2=>{const _0x2bd42e=_0x57a73a;warnRenamed('ranger\x20config\x20unset','ranger\x20profile\x20config\x20unset'),await _0x3b1db8['pjxyo'](withTelemetry,_0x2bd42e(0x24f),()=>configUnset(_0x5161f2[_0x2bd42e(0x2af)],_0x5161f2[_0x2bd42e(0x37e)]));})[_0x57a73a(0x21a)](0x1,'You\x20must\x20specify\x20a\x20config\x20subcommand');})['command'](_0x11575b(0x2af),![],_0x156ba6=>{return _0x156ba6['command']('ls',![],()=>{},async()=>{const _0x192a9a=_0x4e13;_0x3b1db8['tHRoX'](warnRenamed,_0x3b1db8[_0x192a9a(0x235)],'ranger\x20profile\x20ls'),await _0x3b1db8['pjxyo'](withTelemetry,_0x192a9a(0x26d),()=>envList());})['command'](_0x3b1db8['mAlEu'],![],_0x593571=>{const _0xd39915=_0x4e13;return _0x593571['positional'](_0x3b1db8[_0xd39915(0x1e5)],{'type':'string','description':_0x3b1db8['SipOd'],'demandOption':!![]});},async _0x101971=>{const _0x4322be=_0x4e13;warnRenamed(_0x4322be(0x25f),_0x3b1db8['UfSsX']),await _0x3b1db8[_0x4322be(0x25d)](withTelemetry,_0x4322be(0x240),_0x343863=>updateEnv(_0x101971['env-name'],_0x343863));})['demandCommand'](0x1,_0x3b1db8['hXQzd']);})[_0x11575b(0x28f)](_0x3b1db8['dwsoT'],![],_0x1ea6ba=>{const _0x420cdf=_0x11575b,_0x28576e={'cdSJk':_0x3b1db8[_0x420cdf(0x237)],'urtlz':_0x3b1db8[_0x420cdf(0x2e1)],'zGtBy':function(_0x1c2fe1,_0x245af2,_0x23c205,_0x562463){return _0x3b1db8['tWMrA'](_0x1c2fe1,_0x245af2,_0x23c205,_0x562463);},'MgFnt':_0x3b1db8['TQiUX'],'rhCjM':_0x3b1db8['tkbdI'],'SdmXq':_0x3b1db8['aFGRc'],'noqyW':_0x420cdf(0x34b),'agznK':_0x420cdf(0x353),'AfFHq':_0x3b1db8[_0x420cdf(0x35d)],'miJum':_0x3b1db8['SUfSn'],'EPLrk':_0x420cdf(0x2d5),'odrvQ':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','GyUOT':_0x3b1db8[_0x420cdf(0x362)],'yLnUE':'ranger\x20add-scenario','UAfvG':function(_0x5c2708,_0x42d1b0,_0x13b23a){return _0x5c2708(_0x42d1b0,_0x13b23a);},'qARBf':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','NGdRg':function(_0x3e15fd,_0x5e8c85,_0x36df67){const _0x112998=_0x420cdf;return _0x3b1db8[_0x112998(0x30c)](_0x3e15fd,_0x5e8c85,_0x36df67);},'UXueZ':_0x3b1db8['opmYt'],'gjpMm':'feature\x20get-feedback','WcfYU':function(_0x6d770,_0x16c8cd,_0xbf2436){return _0x6d770(_0x16c8cd,_0xbf2436);},'sALVq':_0x3b1db8['RgDeC'],'PAZTl':function(_0x50dba4,_0x1b6722,_0x14f4c4){const _0x353fe3=_0x420cdf;return _0x3b1db8[_0x353fe3(0x36d)](_0x50dba4,_0x1b6722,_0x14f4c4);},'KPIaW':'Feature\x20review\x20ID\x20to\x20restore','iUGJk':function(_0x1e0b4b,_0x33b772,_0x588508){return _0x1e0b4b(_0x33b772,_0x588508);},'DTaxo':_0x3b1db8[_0x420cdf(0x325)]};return _0x1ea6ba[_0x420cdf(0x28f)](_0x420cdf(0x25e),![],_0xa1fd6a=>{const _0x4e2d33=_0x420cdf;return _0xa1fd6a['positional'](_0x4e2d33(0x256),{'type':_0x4e2d33(0x353),'description':_0x3b1db8[_0x4e2d33(0x218)],'demandOption':!![]})['option']('description',{'type':'string','alias':'d','description':'Feature\x20review\x20description'})['option'](_0x3b1db8['Ivjxa'],{'type':_0x4e2d33(0x2e2),'alias':'c','description':_0x3b1db8[_0x4e2d33(0x2c3)]})[_0x4e2d33(0x2a2)](_0x4e2d33(0x318),{'type':_0x3b1db8['vSOji'],'hidden':!![]});},async _0x4d73ed=>{const _0x4fd498=_0x420cdf;warnRenamed(_0x28576e[_0x4fd498(0x2cc)],_0x28576e['urtlz']),_0x28576e['zGtBy'](warnFlagRenamed,_0x4fd498(0x2c4),'--checklist',_0x4fd498(0x2bb));const _0x16f829=_0x4d73ed['scenario']||_0x4d73ed['checklist'];await withTelemetry('feature\x20create',()=>featureCreate(_0x4d73ed[_0x4fd498(0x256)],{'description':_0x4d73ed[_0x4fd498(0x1d8)],'scenarios':_0x16f829}));})['command']('list',![],_0x3313b0=>{const _0x1849a5=_0x420cdf;return _0x3313b0['option'](_0x28576e[_0x1849a5(0x322)],{'type':'boolean','description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})[_0x1849a5(0x2a2)](_0x28576e['rhCjM'],{'type':_0x28576e['SdmXq'],'alias':'l','description':_0x1849a5(0x365),'default':0xa})[_0x1849a5(0x2a2)]('offset',{'type':_0x28576e['SdmXq'],'alias':'o','description':_0x28576e['noqyW'],'default':0x0})[_0x1849a5(0x2a2)]('include-deleted',{'type':_0x1849a5(0x382),'alias':'d','description':_0x1849a5(0x34a),'default':![]});},async _0x8dd626=>{const _0x1284e7=_0x420cdf;warnRenamed(_0x3b1db8['GGUaI'],_0x3b1db8['eUQHL']),await _0x3b1db8['mQrwr'](withTelemetry,'feature\x20list',()=>featureList({'currentBranch':_0x8dd626[_0x1284e7(0x212)],'limit':_0x8dd626[_0x1284e7(0x2e0)],'offset':_0x8dd626[_0x1284e7(0x2b5)],'includeDeleted':_0x8dd626[_0x1284e7(0x2c1)]}));})[_0x420cdf(0x28f)](_0x3b1db8[_0x420cdf(0x1de)],![],_0x51cdc6=>{return _0x51cdc6['positional']('id',{'type':_0x28576e['agznK'],'description':_0x28576e['AfFHq']});},async _0xa9090d=>{const _0x3b899a=_0x420cdf;warnRenamed(_0x3b899a(0x31f),_0x28576e[_0x3b899a(0x30f)]),await withTelemetry(_0x28576e['EPLrk'],()=>featureShow(_0xa9090d['id']));})[_0x420cdf(0x28f)](_0x3b1db8[_0x420cdf(0x396)],![],_0x3f6250=>{const _0x5aafec=_0x420cdf;return _0x3f6250['positional']('id',{'type':'string','description':_0x28576e[_0x5aafec(0x2e9)]});},async _0x5132bd=>{warnRenamed('ranger\x20feature\x20resume','ranger\x20resume'),await withTelemetry('feature\x20resume',()=>featureResume(_0x5132bd['id']));})['command'](_0x420cdf(0x283),![],_0x338995=>{const _0x1ea614=_0x420cdf;return _0x338995['positional'](_0x28576e[_0x1ea614(0x249)],{'type':'string','description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':_0x1ea614(0x353),'description':_0x1ea614(0x366)});},async _0x15bd2a=>{const _0x13d034=_0x420cdf;warnRenamed('ranger\x20feature\x20add-checklist-item',_0x28576e['yLnUE']),await _0x28576e['UAfvG'](withTelemetry,_0x13d034(0x27b),()=>featureAddScenario(_0x15bd2a[_0x13d034(0x1d8)],_0x15bd2a['id']));})[_0x420cdf(0x28f)](_0x3b1db8[_0x420cdf(0x1e8)],![],_0x2be17c=>{const _0x1f85aa=_0x420cdf;return _0x2be17c[_0x1f85aa(0x2a1)]('id',{'type':_0x28576e['agznK'],'description':_0x28576e['qARBf']});},async _0x34fbe6=>{const _0x2990d0=_0x420cdf;_0x28576e['NGdRg'](warnRenamed,_0x28576e['UXueZ'],_0x2990d0(0x36e)),await withTelemetry(_0x28576e['gjpMm'],()=>featureGetReview(_0x34fbe6['id']));})['command'](_0x3b1db8[_0x420cdf(0x398)],![],_0x26db9b=>{const _0x394a31=_0x420cdf;return _0x26db9b[_0x394a31(0x2a1)]('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x1f9e08=>{const _0x30a813=_0x420cdf;_0x28576e[_0x30a813(0x391)](warnRenamed,_0x28576e['sALVq'],_0x30a813(0x243)),await _0x28576e[_0x30a813(0x273)](withTelemetry,'feature\x20delete',()=>featureDelete(_0x1f9e08['id']));})['command']('restore\x20<id>',![],_0xb92221=>{const _0x50951b=_0x420cdf;return _0xb92221['positional']('id',{'type':_0x50951b(0x353),'description':_0x28576e['KPIaW'],'demandOption':!![]});},async _0x3d0abf=>{const _0x5c6222=_0x420cdf;_0x28576e[_0x5c6222(0x26b)](warnRenamed,'ranger\x20feature\x20restore','ranger\x20restore'),await _0x28576e[_0x5c6222(0x229)](withTelemetry,_0x28576e['DTaxo'],()=>featureRestore(_0x3d0abf['id']));})['demandCommand'](0x1,_0x3b1db8['qAzUE']);})['command']('hook',![],_0xae49be=>{const _0x25d5df=_0x11575b,_0x5b328b={'xUtYv':_0x25d5df(0x337),'zkvFE':_0x25d5df(0x294)};return _0xae49be['command'](_0x3b1db8[_0x25d5df(0x350)],'Enable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x5e66de=>{const _0x24ac83=_0x25d5df;return _0x5e66de['option'](_0x5b328b[_0x24ac83(0x2b3)],{'type':_0x24ac83(0x353),'description':_0x5b328b['zkvFE']});},async _0x4f8fe3=>{const _0xa7ca20=_0x25d5df;await withTelemetry('hook:enable',()=>hook(_0xa7ca20(0x2d9),_0x4f8fe3['session-id']));})[_0x25d5df(0x28f)](_0x25d5df(0x38b),_0x3b1db8[_0x25d5df(0x1fd)],_0x4914cf=>{const _0x214bd0=_0x25d5df;return _0x4914cf['option'](_0x5b328b['xUtYv'],{'type':_0x214bd0(0x353),'description':_0x5b328b['zkvFE']});},async _0x3b4d36=>{const _0x4b1fab=_0x25d5df;await _0x3b1db8[_0x4b1fab(0x341)](withTelemetry,_0x3b1db8[_0x4b1fab(0x238)],()=>hook('disable',_0x3b4d36['session-id']));})['option']('name',{'type':'string','description':_0x3b1db8['ksXbH']})[_0x25d5df(0x2a2)](_0x25d5df(0x337),{'type':_0x25d5df(0x353),'description':_0x3b1db8[_0x25d5df(0x2f8)]});},async _0x42b3e5=>{const _0xab68ab=_0x11575b;_0x42b3e5[_0xab68ab(0x256)]&&await _0x3b1db8[_0xab68ab(0x334)](hook,_0x42b3e5['name'],_0x42b3e5[_0xab68ab(0x337)]);})[_0x11575b(0x21a)](0x1,_0x3b1db8[_0x11575b(0x344)])[_0x11575b(0x23c)]()[_0x11575b(0x352)](async(_0x2db0ea,_0x558194,_0x49a4f1)=>{const _0x5e9a2a=_0x11575b,_0x20b661=_0x3b1db8[_0x5e9a2a(0x267)](sanitizeArgs,process[_0x5e9a2a(0x371)][_0x5e9a2a(0x2ec)](0x2)),_0x185144=_0x3b1db8['acFEt'](getErrorType,_0x2db0ea,_0x558194);if(_0x2db0ea&&_0x2db0ea['includes']('Unknown\x20command')){const _0x5edd63=process['argv'][0x2];console['error'](_0x5e9a2a(0x307)+_0x5edd63),console['error'](_0x5e9a2a(0x234));}else{if(_0x2db0ea)console[_0x5e9a2a(0x2c8)]('\x0a'+_0x2db0ea+'\x0a');else _0x558194&&console[_0x5e9a2a(0x2c8)](_0x5e9a2a(0x332)+_0x558194['message']+'\x0a');}await _0x3b1db8[_0x5e9a2a(0x267)](logDesirePath,{'rawCommand':_0x20b661,'errorMessage':_0x2db0ea||_0x558194?.[_0x5e9a2a(0x38d)],'errorType':_0x185144});const _0x436784=_0x3b1db8[_0x5e9a2a(0x21f)](getCurrentCollector);_0x436784&&await _0x436784[_0x5e9a2a(0x217)](_0x558194||new Error(_0x2db0ea||'Unknown\x20error')),process['exit'](0x1);})[_0x11575b(0x292)](_0x3b1db8[_0x11575b(0x215)](_0x3b1db8[_0x11575b(0x215)](_0x11575b(0x2c0),_0x3b1db8['WSDAZ']),_0x3b1db8['VQvyf']))['help']()['alias'](_0x3b1db8[_0x11575b(0x379)],'h');}process['env'][_0x26ed22(0x348)]!=='test'&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()['parse']());