@ranger-testing/ranger-cli 3.1.2 → 3.1.3-alpha.2c5eb8e-44
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.
- package/build/cli.js +1 -1
- package/build/commands/addEnv.js +1 -1
- package/build/commands/authEncrypt.js +1 -1
- package/build/commands/clean.js +1 -1
- package/build/commands/config.js +1 -1
- package/build/commands/deleteProfile.js +1 -1
- package/build/commands/env.js +1 -1
- package/build/commands/feature.js +1 -1
- package/build/commands/hook.js +1 -1
- package/build/commands/hooks/autoPrompt.js +1 -1
- package/build/commands/hooks/disable.js +1 -1
- package/build/commands/hooks/enable.js +1 -1
- package/build/commands/hooks/exitPlanMode.js +1 -1
- package/build/commands/hooks/index.js +1 -1
- package/build/commands/hooks/output.js +1 -1
- package/build/commands/hooks/planReminder.js +1 -1
- package/build/commands/hooks/planStart.js +1 -1
- package/build/commands/hooks/postEdit.js +1 -1
- package/build/commands/hooks/preCompact.js +1 -1
- package/build/commands/hooks/sessionEnd.js +1 -1
- package/build/commands/hooks/sessionStart.js +1 -1
- package/build/commands/hooks/stopHook.js +1 -1
- package/build/commands/index.js +1 -1
- package/build/commands/login.js +1 -1
- package/build/commands/mcpBootstrap.js +1 -1
- package/build/commands/migrateProfile.js +1 -1
- package/build/commands/setup/claude.js +1 -1
- package/build/commands/setup/opencode.js +1 -1
- package/build/commands/setupCi.js +1 -1
- package/build/commands/skillup.js +1 -1
- package/build/commands/start.js +1 -1
- package/build/commands/status.js +1 -1
- package/build/commands/update.js +1 -1
- package/build/commands/updateEnv.js +1 -1
- package/build/commands/useEnv.js +1 -1
- package/build/commands/utils/activeProfile.js +1 -1
- package/build/commands/utils/agentEnv.js +1 -1
- package/build/commands/utils/browserSessionsApi.js +1 -1
- package/build/commands/utils/claudeConfig.js +1 -1
- package/build/commands/utils/claudeOverrideSettings.js +1 -1
- package/build/commands/utils/claudePlugin.js +1 -1
- package/build/commands/utils/cloudProfile.js +1 -1
- package/build/commands/utils/cloudProfileSession.js +1 -1
- package/build/commands/utils/crypto.js +1 -1
- package/build/commands/utils/desirePathLog.js +1 -1
- package/build/commands/utils/deviceAuth.js +1 -1
- package/build/commands/utils/environment.js +1 -1
- package/build/commands/utils/featureApi.js +1 -1
- package/build/commands/utils/fixWebmDuration.js +1 -1
- package/build/commands/utils/gitTracked.js +1 -1
- package/build/commands/utils/keychain.js +1 -1
- package/build/commands/utils/legacyWarning.js +1 -1
- package/build/commands/utils/localAgentInstallationsApi.js +1 -1
- package/build/commands/utils/matchAuthEnvironment.js +1 -1
- package/build/commands/utils/mcpImageBase64.js +1 -1
- package/build/commands/utils/model.js +1 -1
- package/build/commands/utils/novaActCli.js +1 -1
- package/build/commands/utils/opencodeConfig.js +1 -1
- package/build/commands/utils/organizationEnvApi.js +1 -1
- package/build/commands/utils/playwrightCli.js +1 -1
- package/build/commands/utils/profileMessages.js +1 -1
- package/build/commands/utils/profileSetupBanner.js +1 -1
- package/build/commands/utils/projectsConfig.js +1 -1
- package/build/commands/utils/rangerConfig.js +1 -1
- package/build/commands/utils/rangerRoot.js +1 -1
- package/build/commands/utils/rangerwrightCli.js +1 -1
- package/build/commands/utils/resolveProfileContext.js +1 -1
- package/build/commands/utils/resolveProfileUrl.js +1 -1
- package/build/commands/utils/retry.js +1 -1
- package/build/commands/utils/sessionCache.js +1 -1
- package/build/commands/utils/settings.js +1 -1
- package/build/commands/utils/skillContent.js +1 -1
- package/build/commands/utils/skills.js +1 -1
- package/build/commands/utils/stitchWebmFiles.js +1 -1
- package/build/commands/utils/telemetry.js +1 -1
- package/build/commands/utils/tokenRefresh.js +1 -1
- package/build/commands/utils/traceSnapshotMapper.js +1 -1
- package/build/commands/utils/tunnelClient.js +1 -1
- package/build/commands/utils/userApi.js +1 -1
- package/build/commands/utils/version.js +1 -1
- package/build/commands/verifyFeature.js +1 -1
- package/build/commands/verifyFeatureCli.js +1 -1
- package/build/commands/verifyFeatureNovaCli.js +1 -1
- package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x3990b5=_0x58bc;(function(_0x5d6696,_0x1441a3){const _0x2316c7=_0x58bc,_0x429679=_0x5d6696();while(!![]){try{const _0x34a750=-parseInt(_0x2316c7(0x1d3))/0x1*(-parseInt(_0x2316c7(0x16c))/0x2)+parseInt(_0x2316c7(0x1c8))/0x3+parseInt(_0x2316c7(0x11f))/0x4*(parseInt(_0x2316c7(0x273))/0x5)+-parseInt(_0x2316c7(0x177))/0x6*(-parseInt(_0x2316c7(0xde))/0x7)+parseInt(_0x2316c7(0x182))/0x8+parseInt(_0x2316c7(0xd5))/0x9*(parseInt(_0x2316c7(0x10d))/0xa)+-parseInt(_0x2316c7(0x17d))/0xb*(parseInt(_0x2316c7(0x132))/0xc);if(_0x34a750===_0x1441a3)break;else _0x429679['push'](_0x429679['shift']());}catch(_0x1931de){_0x429679['push'](_0x429679['shift']());}}}(_0x8ca6,0x4b8ac));import _0x2f37b3 from'dotenv';import{dirname,join,parse}from'path';function _0x8ca6(){const _0x34b650=['Unknown\x20error','VZGjl','debug-address-comments','BXZZV','use','model','gSEjY','name','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','TmeaY','RADPJ','SdLar','UaqyY','get-feedback\x20[id]','HkvHU','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','NAGbR','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','profile-name','yLleY','profiles','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','Login\x20failed:\x20','failed','error','sMJJk','KHFZd','ranger\x20feature\x20delete','option','resume','ranger','Install\x20OS-level\x20dependencies\x20for\x20Chromium','Cloud\x20profile\x20name','ranger\x20profile\x20use','split','exclude-scenario','ZLaXl','Summary:\x20','Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','OuFGk','isArray','tyZKa','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','wUrLY','You\x20must\x20specify\x20a\x20command','AEyPg','zvJIb','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','kCDRb','Name\x20of\x20the\x20environment\x20to\x20update','ranger\x20feature\x20show','env','Gahdu','command','login\x20<name>','ranger\x20profile\x20encrypt-auth','oWXuJ','LByog','kfOOi','config\x20set','feature\x20restore','Run\x20full\x20interactive\x20setup','env\x20update','KAueo','VohMW','BMyng','enable','print-access-token','dry-run','create','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','claude','kFkRO','Environment\x20name','severity','limit','Manage\x20profile\x20configuration','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','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.','sijIZ','ranger\x20add\x20env','JNjlY','VOveb','mEQYb','Config\x20key','Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','NOnfR','not_configured','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','Skip\x20browser\x20authentication','trackCommandError','trim','OYzrW','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','fLTji','show\x20[id]','1680vSwQpn','FRLYP','parse','QJkyB','ZYSbS','description','scriptName','yGTfx','ranger\x20profile\x20update','VGEAD','bLvuw','YbBhP','scenario','QuBrx','add\x20env\x20<env-name>','JdPrc','VKlga','nBmtp','start-path','LiJcO','Authenticate\x20with\x20Ranger','ranger\x20profile\x20add','slice','pZxne','setup:deps','FUzLn','FRJwH','PEcvW','lgTWk','QgTjM','allow-insecure-localhost','env-name','Daqjl','ranger\x20verify-feature','unhandledRejection','with-deps','YQLZJ','argv','delete','clPMn','\x0aUnknown\x20command:\x20','kWBiT','get-review\x20[id]','--env','opencode','set\x20<profile>\x20<key>\x20<value>','XVfwV','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','evaluation','ZnbpJ','paofb','62613ORxvFc','cwd','ranger\x20config\x20set','demandCommand','Include\x20soft-deleted\x20feature\x20reviews','Documentation:\x0a','lqrQT','boolean','config','427nUfOBR','HQEJP','mcp-bootstrap','\x20PARTIAL','project','Install\x20scope\x20for\x20skills','aNbCm','status','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','setup:login','ysUgM','verify-feature','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','JrZZD','OQVbj','bbUvC','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','axtjg','ZTVIM','save-creds','VEzXq','profile\x20delete','QIXzB','summary','DrKJC','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','create\x20<name>','edlIT','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','Feature\x20review\x20ID','bgpbi','ranger\x20profile\x20ls','key','--checklist','map','QphsA','--scenario','HWopT','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','OwlAn','add-checklist-item\x20<description>','feature\x20delete','clean','some','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','iCxHm','mGMrS','610kNVRCI','wmaJh','List\x20all\x20feature\x20reviews','ranger\x20config\x20get','hook','safe-mode','delete\x20[id]','gpghD','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','usage','ranger\x20profile\x20config\x20unset','array','wtuoJ','WHbap','use\x20<profile-name>','tokenOrSubcommand','mcp','Switch\x20to\x20using\x20a\x20specific\x20profile','292OxBDZT','VAyYx','get-review','yMdsL','VrgFm','API\x20token','number','log','ranger\x20profile\x20config\x20list','BbYqs','TNTgh','wEEWX','nHSUN','AzKgi','Name\x20of\x20the\x20environment','OFTLw','BzwUv','gFycg','profile','69636bLdryB','base-url','HHDWh','PwUjT','profile\x20config\x20list','aOhsp','update','feature','bhsJR','DgIPR','Skip\x20authentication','headed','skip-auth','partial','length','bqpVt','EZbwX','aMbWS','Ranger\x20API\x20token','HCWdn','--profile','chSNR','positional','login','hwEMW','force','ranger\x20create','HFSRg','Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','feature\x20add-checklist-item','sjkAj','qlMTP','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','jrUoF','Alias\x20for\x20--mcp-bootstrap','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','Xxzyo','feature\x20show','profile\x20use','List\x20all\x20config\x20for\x20a\x20profile','Feature\x20review\x20ID\x20to\x20restore','hqSdX','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','set\x20<env>\x20<key>\x20<value>','RMeWL','strictCommands','QJkRa','ranger\x20feature\x20list','UBhfF','success','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','ARKeX','mcLfs','task','YDuiM','coeQC','Print\x20the\x20current\x20CLI\x20access\x20token','string','1578vPIXKC','fqgMe','profile\x20config\x20unset','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','show','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','Unknown\x20command','BJOvN','LZalD','DTrqd','rmBkH','18354EAmtoF','PFQGO','debug-outcome','Install\x20Chromium\x20browser\x20binary','dDnGS','✓\x20Authenticated\x20to\x20','2013bBiCmm','Profile\x20name','soPCz','Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\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\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\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/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\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\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.','setup-ci\x20<token>','1547432ZNGaib','LrSen','cOYxZ','cTvQc','EUbqH','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','nnOGe','SubAH','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','idXHi','test','Scenario\x20description','MGoSY','environment-variable','RANGER_TEST_PASSWORD','gTGpM','You\x20must\x20specify\x20a\x20config\x20subcommand','Optional\x20feature\x20ID','Isvjn','BgIWW','issues','HHgwl','scope','YvUyO','hook:enable','vJRUS','epilogue','GrDsB','lTWvy','uIiUM','YjYMJ','notes','report\x20[id]','yphSI','npdlQ','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','ZxnDA','BcwVM','cdp-endpoint','startsWith','GDsjR','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\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\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201','value','manual','OGFYt','pDNkn','hKVlq','config\x20get','rLEuX','BCNkY','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','cIMcY','nRVNm','PLlAg','nREXH','ZqHdI','Config\x20key\x20to\x20remove','version','mEqob','eNMNk','alias','.ranger','HlfJA','ranger\x20setup\x20profiles\x20--scope=','WuHqi','get\x20<env>\x20<key>','exit','setup:profiles','ranger\x20feature\x20restore','1004787ZxkLqe','ckyeC','delete\x20<profile-name>','.\x20[','yes','IVfEa','help','Install\x20Ranger\x20skills','otjgs','pzRZN','json','263rOMsEm','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','Delete\x20a\x20cloud\x20profile','YyhAR','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','incomplete','Nggpm','feature\x20resume','unknown\x20error','url','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','current-branch','profile\x20login','gGLte','env-var','Restore\x20a\x20soft-deleted\x20feature\x20review','list','ranger\x20feature\x20get-feedback','IcFnj','GuItV','disable','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','use\x20<env-name>','--task','PFdIR','deps','skillup','ranger\x20feature\x20add-checklist-item','profile\x20config\x20set','skip-chromium','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','Ltxsr','unset\x20<env>\x20<key>','LDxwZ','XSeMC','ENfoJ','migrate\x20[profile-name]','Skip\x20interactive\x20confirmation\x20prompts.','LBkYE','checklist','Manage\x20profiles','session-id','vjxzj','rGJrX','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','FScDh','Install\x20skills\x20for\x20OpenCode','douqe','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','feature\x20list','test_output','xRlTw','token','uGwqB','mzHkZ','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','report','guWMf','gOvTF','xyfkd','Skip\x20Chromium\x20browser\x20installation','SoTSD','user'];_0x8ca6=function(){return _0x34b650;};return _0x8ca6();}import{existsSync}from'fs';function findProjectRoot(){const _0x5f4f31=_0x58bc,_0x419874={'IEzqb':function(_0x586f22,_0x2eb46f){return _0x586f22(_0x2eb46f);},'ENfoJ':_0x5f4f31(0x1c0),'sOWtY':'.env'};let _0x4a4e9d=process['cwd']();const _0x37bc6a=_0x419874['IEzqb'](parse,_0x4a4e9d)['root'];while(_0x4a4e9d!==_0x37bc6a){if(_0x419874['IEzqb'](existsSync,join(_0x4a4e9d,_0x419874[_0x5f4f31(0x1f7)]))||_0x419874['IEzqb'](existsSync,join(_0x4a4e9d,_0x419874['sOWtY'])))return _0x4a4e9d;_0x4a4e9d=dirname(_0x4a4e9d);}return process[_0x5f4f31(0xd6)]();}_0x2f37b3[_0x3990b5(0xdd)]({'path':join(findProjectRoot(),'.env')});import _0x3fe89e from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,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{getVerificationTransport,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';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'](_0x3990b5(0xc4),async _0x318cc4=>{const _0x3f23ec=_0x3990b5,_0x323251=getCurrentCollector();_0x323251&&await _0x323251[_0x3f23ec(0x26d)](_0x318cc4),process['exitCode']=0x1;});const rawArgs=process[_0x3990b5(0xc7)][_0x3990b5(0x289)](0x2),TOP_LEVEL_HELP=_0x3990b5(0x180),PROFILE_HELP=_0x3990b5(0x1ac),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\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(_0x5f33bd,_0x1ebf89){const _0x4f4be6=_0x3990b5;console[_0x4f4be6(0x22b)]('\x0a'+_0x5f33bd+'\x20is\x20now\x20'+_0x1ebf89+'\x0a');}function _0x58bc(_0x144840,_0x3dc18b){_0x144840=_0x144840-0xc4;const _0x8ca6fe=_0x8ca6();let _0x58bcf8=_0x8ca6fe[_0x144840];return _0x58bcf8;}function argUsed(_0x206daa){const _0x4ea321=_0x3990b5;return rawArgs[_0x4ea321(0x109)](_0x3a4294=>_0x3a4294===_0x206daa||_0x3a4294[_0x4ea321(0x1aa)](_0x206daa+'='));}function warnFlagRenamed(_0x23cc59,_0x262f19,_0x1178b3){const _0x5e617a=_0x3990b5,_0x2336c2={'npdlQ':function(_0xbfb562,_0x451af4){return _0xbfb562(_0x451af4);},'aWwOy':function(_0x2e4c2f,_0x1cd1d3,_0x223f26){return _0x2e4c2f(_0x1cd1d3,_0x223f26);}};_0x2336c2[_0x5e617a(0x1a5)](argUsed,_0x262f19)&&_0x2336c2['aWwOy'](warnRenamed,_0x23cc59+'\x20'+_0x262f19,_0x23cc59+'\x20'+_0x1178b3);}function normalizeEnvVarNames(_0x492b9c){const _0xa83673=_0x3990b5,_0x45424e=Array[_0xa83673(0x23b)](_0x492b9c)?_0x492b9c:_0x492b9c?[_0x492b9c]:[];return _0x45424e['flatMap'](_0x32a66d=>String(_0x32a66d)[_0xa83673(0x235)](',')[_0xa83673(0x100)](_0x2c6aac=>_0x2c6aac[_0xa83673(0x26e)]())['filter'](Boolean));}async function runGoCommand(_0x2ed033,_0x5e79f6=![]){const _0x25ac91=_0x3990b5,_0x3e3310={'XNImz':function(_0x1f9097,_0x50a207,_0xe65b83){return _0x1f9097(_0x50a207,_0xe65b83);},'cqLgS':_0x25ac91(0x294),'YyhAR':'ranger\x20go','kwLUz':_0x25ac91(0xcd),'tRPZL':_0x25ac91(0x146),'vJRUS':function(_0x36ca6b,_0x1e83a8,_0xafcca6,_0x5678c4){return _0x36ca6b(_0x1e83a8,_0xafcca6,_0x5678c4);},'Daqjl':_0x25ac91(0x1eb),'HlfJA':'--notes','YNUjQ':'--item','VEzXq':function(_0x1a9e49){return _0x1a9e49();},'iCxHm':function(_0x56e4e2,_0x36665f){return _0x56e4e2(_0x36665f);},'guWMf':function(_0x4cc858,_0x4d1f7a){return _0x4cc858>_0x4d1f7a;},'BbYqs':function(_0x5646ef,_0x558759){return _0x5646ef!==_0x558759;},'lgTWk':'playwright-cli','ySUVs':'rangerwright-cli','fLTji':'base-url','HHDWh':'debug-address-comments','RADPJ':function(_0x5da48c,_0x1046b7){return _0x5da48c+_0x1046b7;},'UaqyY':'verified','sjkAj':'\x20VERIFIED','YQLZJ':function(_0x423a12,_0x50ea4e){return _0x423a12===_0x50ea4e;},'FUzLn':_0x25ac91(0x1d9),'eSkpf':'\x20INCOMPLETE','mhdZU':'blocked','CpsNw':'\x0aIssues:'};_0x5e79f6&&_0x3e3310['XNImz'](warnRenamed,_0x3e3310['cqLgS'],_0x3e3310[_0x25ac91(0x1d6)]);warnFlagRenamed(_0x3e3310[_0x25ac91(0x1d6)],_0x3e3310['kwLUz'],_0x3e3310['tRPZL']),_0x3e3310[_0x25ac91(0x19c)](warnFlagRenamed,'ranger\x20go',_0x3e3310[_0x25ac91(0x293)],_0x3e3310[_0x25ac91(0x1c1)]),warnFlagRenamed(_0x3e3310[_0x25ac91(0x1d6)],_0x3e3310['YNUjQ'],'--scenario');const _0x52396b=await loadRangerConfig(),_0x1f524b=_0x3e3310['VEzXq'](isByokEnabled),_0x6cd310=_0x2ed033[_0x25ac91(0x218)],_0x9df81b=_0x52396b['model'],_0x2a7334=_0x3e3310[_0x25ac91(0x10b)](normalizeEnvVarNames,_0x2ed033['env-var']),_0x10a791=_0x3e3310[_0x25ac91(0xf2)](getVerificationTransport);if(_0x3e3310[_0x25ac91(0x20d)](_0x2a7334[_0x25ac91(0x140)],0x0)&&_0x3e3310[_0x25ac91(0x128)](_0x10a791,_0x3e3310[_0x25ac91(0x28f)])&&_0x10a791!==_0x3e3310['ySUVs'])throw new Error(_0x25ac91(0x270)+_0x10a791+'.');const _0x512d60=await verifyFeature({'featureId':_0x2ed033['feature'],'profile':_0x2ed033['profile']??_0x2ed033['env']??process['env']['RANGER_PROFILE'],'notes':_0x2ed033[_0x25ac91(0x1a2)]??_0x2ed033[_0x25ac91(0x167)],'scenario':_0x2ed033[_0x25ac91(0x27f)]??_0x2ed033['item'],'startPath':_0x2ed033[_0x25ac91(0x285)],'baseUrl':_0x2ed033[_0x3e3310[_0x25ac91(0x271)]],'debugOutcome':_0x2ed033[_0x25ac91(0x179)],'debugAddressComments':_0x2ed033[_0x3e3310[_0x25ac91(0x134)]],'headed':_0x2ed033['headed'],'verifierEnvVars':_0x2a7334,'byokEnabled':_0x1f524b,'flagVerifyModel':_0x6cd310,'configVerifyModel':_0x9df81b});console['log'](_0x3e3310[_0x25ac91(0x21d)]('\x0a','='['repeat'](0x3c))),console['log'](_0x512d60['evaluation']===_0x3e3310[_0x25ac91(0x21f)]?_0x3e3310[_0x25ac91(0x150)]:_0x3e3310['YQLZJ'](_0x512d60['evaluation'],_0x3e3310[_0x25ac91(0x28c)])?_0x3e3310['eSkpf']:_0x3e3310[_0x25ac91(0xc6)](_0x512d60[_0x25ac91(0xd2)],_0x25ac91(0x13f))?_0x25ac91(0xe1):_0x512d60[_0x25ac91(0xd2)]===_0x3e3310['mhdZU']?'\x20BLOCKED':'\x20FAILED'),console['log']('='['repeat'](0x3c)),console['log'](_0x25ac91(0x238)+_0x512d60[_0x25ac91(0xf5)]),console[_0x25ac91(0x126)]('Evaluation:\x20'+_0x512d60['evaluation']),console[_0x25ac91(0x126)]('Reason:\x20'+_0x512d60['evaluationReason']),_0x512d60[_0x25ac91(0x197)]?.[_0x25ac91(0x140)]&&(console['log'](_0x3e3310['CpsNw']),_0x512d60['issues']['forEach']((_0x4537d2,_0x592fe7)=>{const _0x2a163d=_0x25ac91;console[_0x2a163d(0x126)]('\x0a'+(_0x592fe7+0x1)+_0x2a163d(0x1cb)+_0x4537d2[_0x2a163d(0x25d)]+']\x20'+_0x4537d2['description']);})),process['exit'](_0x512d60['evaluation']===_0x3e3310['UaqyY']?0x0:0x1);}export function buildParser(_0x5baf03){const _0x44d741=_0x3990b5,_0x222f68={'kFkRO':'description','cOYxZ':_0x44d741(0x118),'YjYMJ':_0x44d741(0x23d),'sMJJk':function(_0x2e2aa2,_0x25bfe6){return _0x2e2aa2+_0x25bfe6;},'LBkYE':'Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','VZGjl':function(_0x117845,_0x4d3266,_0x5e9ba5){return _0x117845(_0x4d3266,_0x5e9ba5);},'ysUgM':_0x44d741(0x258),'LiJcO':'limit','GrDsB':'Number\x20of\x20feature\x20reviews\x20to\x20skip','SubAH':_0x44d741(0xd9),'FRJwH':_0x44d741(0x16b),'BgIWW':_0x44d741(0xfb),'ZTVIM':_0x44d741(0x170),'bbUvC':_0x44d741(0x200),'LrSen':_0x44d741(0x230),'gOvTF':'Scenario\x20description','PLlAg':_0x44d741(0x10a),'ugIRR':'add-scenario','OMEAG':function(_0x3a50a3,_0x2cd041,_0x180edd){return _0x3a50a3(_0x2cd041,_0x180edd);},'FKInX':'edit-scenario','axtjg':_0x44d741(0x236),'qlMTP':_0x44d741(0x1d8),'WuHqi':_0x44d741(0xdc),'IHRJX':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','SdLar':_0x44d741(0x20c),'aOhsp':_0x44d741(0xc8),'CqWap':_0x44d741(0x204),'FRLYP':function(_0x52a94e,_0x532308,_0x26e11c){return _0x52a94e(_0x532308,_0x26e11c);},'nBmtp':_0x44d741(0x28b),'aMbWS':function(_0x3f1cb6,_0x53078f,_0x37d551){return _0x3f1cb6(_0x53078f,_0x37d551);},'PEcvW':_0x44d741(0x1dd),'tbrZA':'Base\x20URL\x20of\x20the\x20running\x20app','bgpbi':'skip-auth','eNMNk':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','HkvHU':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','cRiiS':function(_0x3dc0ff,_0x22a854){return _0x3dc0ff!==_0x22a854;},'douqe':'user','pjoSL':_0x44d741(0x1c6),'OuFGk':_0x44d741(0x144),'fqgMe':'skip-chromium','evmaU':_0x44d741(0x13c),'ZnbpJ':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','YvUyO':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','yGTfx':_0x44d741(0xce),'ZLaXl':_0x44d741(0x291),'kfOOi':_0x44d741(0xe0),'PFdIR':function(_0x5ac1f0,_0x4f4fb7,_0xd1a0b4){return _0x5ac1f0(_0x4f4fb7,_0xd1a0b4);},'wpEvX':function(_0x291744,_0x1a70a2){return _0x291744(_0x1a70a2);},'OGFYt':'project','cBfyv':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','FGABL':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','mcLfs':'all','bGyTB':_0x44d741(0x250),'MGoSY':_0x44d741(0x149),'SNrbU':_0x44d741(0x287),'FScDh':'skills','XVfwV':_0x44d741(0x227),'Fgckz':'Set\x20up\x20a\x20local\x20browser\x20profile','nnOGe':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','NAGbR':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','LARDf':_0x44d741(0x260),'mdiJd':'start','wmaJh':_0x44d741(0x208),'nHSUN':'profile','BcwVM':_0x44d741(0x15c),'nfHcq':_0x44d741(0x210),'zvJIb':function(_0x54fe8c,_0x52f53e,_0x24c559){return _0x54fe8c(_0x52f53e,_0x24c559);},'gGLte':'setup-ci','jrUoF':_0x44d741(0x1ee),'gFycg':function(_0x33ebb6,_0x4e8c6d,_0x458633){return _0x33ebb6(_0x4e8c6d,_0x458633);},'YHfrd':_0x44d741(0x108),'Nggpm':_0x44d741(0x225),'pZxne':'Name\x20of\x20the\x20profile','rmBkH':function(_0x2b3e18,_0x1ea1cf,_0x1a652b){return _0x2b3e18(_0x1ea1cf,_0x1a652b);},'DrKJC':_0x44d741(0x158),'yjDdo':_0x44d741(0x14e),'ZYSbS':_0x44d741(0xf3),'Ltxsr':_0x44d741(0x233),'QJkRa':_0x44d741(0x171),'afXCH':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','nPqBD':_0x44d741(0x1cc),'ZxnDA':_0x44d741(0x1f9),'oKwYA':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','JdPrc':'profile\x20config\x20get','YKibA':'Set\x20a\x20config\x20value','yMdsL':'get\x20<profile>\x20<key>','wEEWX':'list\x20<profile>','tHikb':_0x44d741(0x159),'oYZOH':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','dKWUz':'safe-mode','ckyeC':_0x44d741(0xd1),'rwESs':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','lnORf':_0x44d741(0x1b5),'DVgOw':'profile\x20add','bqpVt':function(_0xa5dfa1,_0x181784){return _0xa5dfa1(_0x181784);},'hTbtS':'profile\x20encrypt-auth','DmoOI':'profile\x20ls','BCNkY':'Name\x20of\x20the\x20profile\x20to\x20update','QCAva':function(_0x10b073,_0x2fc34a,_0xed11bb){return _0x10b073(_0x2fc34a,_0xed11bb);},'bhsJR':'failed','DvCck':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','cHfaV':'Config\x20value','VrgFm':_0x44d741(0x17e),'OJtkQ':'Add\x20profile\x20configuration','moVwU':_0x44d741(0x11b),'RdZjZ':_0x44d741(0x11e),'RcNEq':_0x44d741(0x1ca),'npZKx':'update\x20<profile-name>','TmeaY':_0x44d741(0x249),'VfgAf':_0x44d741(0x1f8),'GuItV':_0x44d741(0x25f),'QIXzB':'You\x20must\x20specify\x20a\x20profile\x20subcommand','BzwUv':function(_0x4d1083,_0x555ecd,_0x4cc891){return _0x4d1083(_0x555ecd,_0x4cc891);},'QuBrx':function(_0x493052,_0x5a2ce5,_0x4505b7){return _0x493052(_0x5a2ce5,_0x4505b7);},'hqSdX':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','cBxQu':'Scenario\x20index\x20(1-based)','CCSnL':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','KHFZd':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','TNTgh':'model','xFkMG':'headed','HRoRx':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','wtuoJ':_0x44d741(0x190),'gOJqO':'partial','Xxzyo':'blocked','iXhzO':_0x44d741(0x215),'soPCz':'item','yBRxA':function(_0x5e2a20,_0x522b09){return _0x5e2a20(_0x522b09);},'PytNr':'ranger\x20auth\x20encrypt','GDoSq':_0x44d741(0x199),'yLleY':_0x44d741(0x14b),'FrgIU':'env','Vfixb':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','sLoXz':_0x44d741(0x1a2),'jBULV':'scenario','jYhte':_0x44d741(0x125),'AqIPu':_0x44d741(0x133),'CGFSZ':'env-var','jesdl':_0x44d741(0x1d9),'tLMHl':function(_0x2212ef,_0xabce9,_0x36768e){return _0x2212ef(_0xabce9,_0x36768e);},'ZqHdI':_0x44d741(0x292),'AsXpp':_0x44d741(0x1de),'gpghD':function(_0x55aa2f,_0x30a497,_0x35c5e5){return _0x55aa2f(_0x30a497,_0x35c5e5);},'bsgbN':_0x44d741(0x288),'ccBDk':'ranger\x20use','XHLJP':'key','clPMn':_0x44d741(0x267),'QgTjM':'config\x20list','sijIZ':_0x44d741(0x1bb),'paofb':'ranger\x20config\x20unset','DTrqd':_0x44d741(0x117),'nREXH':'config\x20unset','wkwSg':_0x44d741(0xd7),'xyfkd':_0x44d741(0x1c4),'BITFa':_0x44d741(0x1f4),'FyjHR':_0x44d741(0x193),'SxVpT':_0x44d741(0x244),'biTkv':'ranger\x20env\x20update','chSNR':_0x44d741(0x251),'NOCBy':_0x44d741(0xfd),'BJOvN':_0x44d741(0x21a),'xbUES':'Feature\x20review\x20name','QJkyB':'Feature\x20review\x20description','VBAiK':_0x44d741(0x1fb),'Gahdu':'ranger\x20create','RMeWL':function(_0x3319c2,_0x155139,_0x1141a1,_0x1dc2b5){return _0x3319c2(_0x155139,_0x1141a1,_0x1dc2b5);},'gENto':_0x44d741(0x102),'bLvuw':'feature\x20create','igznw':'current-branch','PeSSv':_0x44d741(0x16f),'EZbwX':'ranger\x20restore','OQVbj':_0x44d741(0x205),'wUrLY':_0x44d741(0x1db),'mzHkZ':function(_0x2ed686,_0xedc0cb,_0xddda82){return _0x2ed686(_0xedc0cb,_0xddda82);},'NTsna':_0x44d741(0x22e),'VAyYx':'ranger\x20delete','kCDRb':_0x44d741(0xf8),'QzNuL':_0x44d741(0x220),'JLHqp':'restore\x20<id>','mEqob':_0x44d741(0x1fd),'mWqyT':_0x44d741(0x1d4),'idXHi':_0x44d741(0x1e8),'cIMcY':_0x44d741(0x228),'SoTSD':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','jMpBQ':function(_0x3e3663,_0x3ec5f6,_0x401f33){return _0x3e3663(_0x3ec5f6,_0x401f33);},'gSEjY':_0x44d741(0x164),'OwlAn':function(_0x164fb8,_0x10b7dd){return _0x164fb8(_0x10b7dd);},'pzRZN':function(_0x3d4b8c){return _0x3d4b8c();},'cebIc':_0x44d741(0x1e9),'HFSRg':_0x44d741(0x10f),'yphSI':_0x44d741(0x1a3),'yyoYd':_0x44d741(0xcc),'hzRnB':'delete\x20[id]','LByog':_0x44d741(0x181),'AzKgi':_0x44d741(0x1cf),'lTWvy':'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','tyZKa':_0x44d741(0xe5),'vUWbu':_0x44d741(0xfa),'DgIPR':'update','PSETz':_0x44d741(0x222),'gTGpM':_0x44d741(0xda),'YDuiM':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)'};return _0x3fe89e(_0x5baf03??process['argv'][_0x44d741(0x289)](0x2))[_0x44d741(0x279)](_0x44d741(0x231))[_0x44d741(0x116)](TOP_LEVEL_HELP)[_0x44d741(0x1bc)](_0x222f68[_0x44d741(0x1d1)](getCurrentVersion))['command'](_0x222f68[_0x44d741(0x243)],_0x222f68['cebIc'],_0x24a2aa=>{const _0x128f9c=_0x44d741;return _0x24a2aa['positional']('name',{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x222f68['kFkRO'],{'type':_0x128f9c(0x16b),'alias':'d','description':'Feature\x20review\x20description'})[_0x128f9c(0x22f)](_0x128f9c(0x27f),{'type':_0x222f68['cOYxZ'],'alias':'c','description':_0x222f68[_0x128f9c(0x1a1)]})[_0x128f9c(0x22f)]('checklist',{'type':_0x128f9c(0x118),'hidden':!![]});},async _0x352d9d=>{const _0xc8f926=_0x44d741;if(!_0x352d9d['name']){console[_0xc8f926(0x22b)](_0x222f68[_0xc8f926(0x22c)](_0x222f68[_0xc8f926(0x1fa)],'Example:\x20ranger\x20create\x20my-feature')),process['exit'](0x1);return;}warnFlagRenamed(_0xc8f926(0x14c),_0xc8f926(0xff),'--scenario');const _0x37a578=_0x352d9d[_0xc8f926(0x27f)]||_0x352d9d['checklist'];await _0x222f68['VZGjl'](withTelemetry,_0x222f68[_0xc8f926(0xe8)],()=>featureCreate(_0x352d9d['name'],{'description':_0x352d9d['description'],'scenarios':_0x37a578}));})[_0x44d741(0x248)](_0x44d741(0x1e4),_0x222f68[_0x44d741(0x14d)],_0x533995=>{const _0x55cbcd=_0x44d741;return _0x533995['option']('current-branch',{'type':'boolean','description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option'](_0x222f68['LiJcO'],{'type':'number','alias':'l','description':_0x55cbcd(0x16f),'default':0xa})['option']('offset',{'type':'number','alias':'o','description':_0x222f68[_0x55cbcd(0x19e)],'default':0x0})['option']('include-deleted',{'type':'boolean','alias':'d','description':_0x222f68[_0x55cbcd(0x189)],'default':![]});},async _0x5614df=>{const _0x269bc2=_0x44d741;await withTelemetry(_0x269bc2(0x1e4),()=>featureList({'currentBranch':_0x5614df[_0x269bc2(0x1df)],'limit':_0x5614df['limit'],'offset':_0x5614df['offset'],'includeDeleted':_0x5614df['include-deleted']}));})[_0x44d741(0x248)](_0x44d741(0x272),_0x44d741(0x21b),_0x25c7a4=>{return _0x25c7a4['positional']('id',{'type':_0x222f68['FRJwH'],'description':_0x222f68['BgIWW']});},async _0x4467db=>{const _0x3bc821=_0x44d741;await withTelemetry(_0x222f68[_0x3bc821(0xf0)],()=>featureShow(_0x4467db['id']));})['command']('resume\x20[id]','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x432206=>{const _0x5acd24=_0x44d741;return _0x432206['positional']('id',{'type':_0x222f68['FRJwH'],'description':_0x222f68[_0x5acd24(0xed)]});},async _0x33da75=>{const _0x598563=_0x44d741;await withTelemetry(_0x222f68[_0x598563(0x183)],()=>featureResume(_0x33da75['id']));})[_0x44d741(0x248)]('add-scenario\x20<description>','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x302b51=>{const _0x397f76=_0x44d741;return _0x302b51['positional'](_0x222f68[_0x397f76(0x25b)],{'type':'string','description':_0x222f68[_0x397f76(0x20e)],'demandOption':!![]})['option']('id',{'type':_0x397f76(0x16b),'description':_0x222f68[_0x397f76(0x1b8)]});},async _0x287433=>{await withTelemetry(_0x222f68['ugIRR'],()=>featureAddScenario(_0x287433['description'],_0x287433['id']));})[_0x44d741(0x248)]('edit-scenario\x20<description>','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x530b06=>{const _0x25260c=_0x44d741;return _0x530b06[_0x25260c(0x148)]('description',{'type':_0x222f68[_0x25260c(0x28d)],'description':'New\x20scenario\x20description','demandOption':!![]})['option']('scenario',{'type':_0x25260c(0x125),'description':'Scenario\x20number\x20to\x20edit\x20(1-based)','demandOption':!![]})[_0x25260c(0x22f)]('id',{'type':_0x222f68[_0x25260c(0x28d)],'description':_0x222f68['PLlAg']});},async _0x32818d=>{const _0x559330=_0x44d741;await _0x222f68['OMEAG'](withTelemetry,_0x222f68['FKInX'],()=>featureEditScenario(_0x32818d['description'],{'id':_0x32818d['id'],'scenario':_0x32818d[_0x559330(0x27f)]}));})['command'](_0x222f68[_0x44d741(0x1a4)],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x29ef08=>{const _0x948bb6=_0x44d741;return _0x29ef08['positional']('id',{'type':_0x222f68['FRJwH'],'description':_0x948bb6(0xfb)})[_0x948bb6(0x22f)](_0x222f68[_0x948bb6(0xef)],{'type':_0x948bb6(0x118),'description':_0x222f68[_0x948bb6(0x151)]})[_0x948bb6(0x22f)](_0x948bb6(0x1d2),{'type':_0x222f68['WuHqi'],'description':_0x222f68['IHRJX'],'default':![]});},async _0x2cfb6c=>{const _0xa28318=_0x44d741,_0x507f88=_0x2cfb6c[_0x222f68['axtjg']],_0x519dc7=_0x507f88?_0x507f88['map'](_0x36d1c3=>Number(_0x36d1c3)):undefined;await withTelemetry(_0x222f68[_0xa28318(0x21e)],()=>featureReportPrDescription(_0x2cfb6c['id'],{'excludeScenarios':_0x519dc7,'json':_0x2cfb6c[_0xa28318(0x1d2)]}));})[_0x44d741(0x248)](_0x222f68['yyoYd'],_0x44d741(0x20b),_0x3ef379=>{const _0x41e554=_0x44d741;return _0x3ef379['positional']('id',{'type':_0x222f68[_0x41e554(0x28d)],'description':_0x222f68['PLlAg']});},async _0x18a640=>{const _0x5e6bb0=_0x44d741;await withTelemetry(_0x5e6bb0(0x121),()=>featureGetReview(_0x18a640['id']));})[_0x44d741(0x248)](_0x222f68['hzRnB'],'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x46609e=>{const _0xb4ae7e=_0x44d741;return _0x46609e[_0xb4ae7e(0x148)]('id',{'type':_0xb4ae7e(0x16b),'description':_0x222f68[_0xb4ae7e(0x196)]});},async _0x4017b6=>{const _0x16653f=_0x44d741;await withTelemetry(_0x222f68[_0x16653f(0x137)],()=>featureDelete(_0x4017b6['id']));})['command']('restore\x20<id>',_0x44d741(0x1e3),_0xdf0aa6=>{const _0x1d213b=_0x44d741;return _0xdf0aa6['positional']('id',{'type':_0x1d213b(0x16b),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x530f88=>{await _0x222f68['VZGjl'](withTelemetry,'restore',()=>featureRestore(_0x530f88['id']));})['command']('setup\x20[tokenOrSubcommand]','Initialize\x20Ranger\x20in\x20your\x20project',_0x205052=>{const _0x49f160=_0x44d741,_0x1db87d={'KolAL':'token','OBDOB':_0x222f68[_0x49f160(0x23a)],'EvMUp':_0x222f68[_0x49f160(0x16d)],'VohMW':_0x222f68['evmaU'],'ARKeX':'boolean','edlIT':_0x49f160(0x16b),'JGpaE':_0x222f68[_0x49f160(0xd3)],'clugn':_0x222f68[_0x49f160(0x19a)],'HHgwl':_0x222f68[_0x49f160(0x27a)],'HQEJP':_0x222f68['ZLaXl'],'IVfEa':_0x222f68[_0x49f160(0x221)],'mFLaS':_0x222f68[_0x49f160(0x24d)],'KAueo':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','rLEuX':'mcp','PwUjT':function(_0x4f71de,_0x8acf87,_0x9ee44b){return _0x222f68['PFdIR'](_0x4f71de,_0x8acf87,_0x9ee44b);},'kWBiT':function(_0x510f1d){return _0x510f1d();},'cTvQc':function(_0x1624f0,_0x326c00){return _0x222f68['wpEvX'](_0x1624f0,_0x326c00);},'dOeSI':_0x222f68[_0x49f160(0x1af)],'PFQGO':_0x222f68['cBfyv'],'BjidO':function(_0x9544e4,_0x15b685,_0x2b360d){const _0x11e4c0=_0x49f160;return _0x222f68[_0x11e4c0(0x1ec)](_0x9544e4,_0x15b685,_0x2b360d);}};return _0x205052['usage']('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'](_0x49f160(0x11c),{'type':_0x222f68['FRJwH'],'description':_0x222f68['FGABL']})['command'](_0x222f68[_0x49f160(0x166)],_0x222f68['bGyTB'],_0x5d8b57=>{const _0x1ff571=_0x49f160;return _0x5d8b57['option'](_0x1db87d['KolAL'],{'type':'string','description':_0x1db87d['OBDOB']})[_0x1ff571(0x22f)](_0x1db87d['EvMUp'],{'type':'boolean','description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option'](_0x1ff571(0x13e),{'type':'boolean','description':_0x1db87d[_0x1ff571(0x253)],'default':![]})['option'](_0x1ff571(0xc5),{'type':_0x1db87d[_0x1ff571(0x165)],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]})[_0x1ff571(0x22f)](_0x1ff571(0x199),{'type':_0x1db87d['edlIT'],'choices':['user'],'hidden':!![],'description':_0x1db87d['JGpaE']})['option'](_0x1ff571(0x1dd),{'type':_0x1db87d['edlIT'],'description':_0x1db87d['clugn']})['option'](_0x1ff571(0x14b),{'type':_0x1db87d['ARKeX'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x1ff571(0x22f)](_0x1db87d['HHgwl'],{'type':_0x1db87d['ARKeX'],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})[_0x1ff571(0x22f)](_0x1db87d[_0x1ff571(0xdf)],{'type':'boolean','description':_0x1db87d[_0x1ff571(0x1cd)],'default':![]})[_0x1ff571(0x22f)](_0x1db87d['mFLaS'],{'type':'boolean','description':_0x1db87d[_0x1ff571(0x252)],'default':![]})[_0x1ff571(0x22f)](_0x1db87d[_0x1ff571(0x1b3)],{'type':'boolean','description':_0x1ff571(0x154),'default':![]});},async _0x40047e=>{const _0x57dc9a=_0x49f160;(_0x40047e[_0x1db87d['mFLaS']]||_0x40047e[_0x57dc9a(0x11d)])&&await _0x1db87d[_0x57dc9a(0x135)](withTelemetry,_0x1db87d['mFLaS'],()=>mcpBootstrap()),await withTelemetry('setup:all',_0x40137e=>start(_0x40047e['token'],{'skipChromium':_0x40047e['skip-chromium'],'skipAuth':_0x40047e['skip-auth'],'withDeps':_0x40047e['with-deps'],'scope':_0x40047e[_0x57dc9a(0x199)],'url':_0x40047e['url'],'force':_0x40047e['force'],'opencode':_0x40047e[_0x57dc9a(0xce)],'allowInsecureLocalhost':_0x40047e[_0x57dc9a(0x291)]},_0x40137e));})['command'](_0x49f160(0x1ed),_0x49f160(0x17a),_0xb7be6e=>{const _0x561f9c=_0x49f160;return _0xb7be6e['option']('with-deps',{'type':_0x561f9c(0xdc),'description':_0x222f68['CqWap'],'default':![]});},async _0x26f36e=>{const _0x29047f=_0x49f160;await _0x222f68[_0x29047f(0x274)](withTelemetry,_0x222f68[_0x29047f(0x284)],()=>ensureChromium(_0x26f36e[_0x29047f(0xc5)]));})[_0x49f160(0x248)](_0x222f68[_0x49f160(0x18f)],_0x222f68['SNrbU'],_0x3e15e6=>{const _0x1a8e19=_0x49f160;return _0x3e15e6[_0x1a8e19(0x22f)](_0x1db87d['KolAL'],{'type':_0x1db87d[_0x1a8e19(0xf9)],'description':'Ranger\x20API\x20token\x20(rngr_...)'})['option'](_0x1db87d['rLEuX'],{'type':'boolean','description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x9ea3b5=>{const _0x2c7410=_0x49f160;await _0x222f68[_0x2c7410(0x143)](withTelemetry,_0x2c7410(0xe7),async()=>{const _0x4afdd7=_0x2c7410;if(_0x9ea3b5[_0x4afdd7(0x11d)]){await mcpBootstrap();const _0x2a81b5=await _0x1db87d[_0x4afdd7(0xcb)](refreshCliToken);if(!_0x2a81b5)throw new Error('Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.');const _0x51489c=await _0x1db87d[_0x4afdd7(0x185)](getCurrentUser,_0x2a81b5);if(!_0x51489c[_0x4afdd7(0x163)])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x51489c[_0x4afdd7(0x22b)]);console['log'](_0x4afdd7(0x17c)+_0x51489c['user']['organizationName']);return;}await authenticate(_0x9ea3b5['token']);});})[_0x49f160(0x248)](_0x222f68[_0x49f160(0x201)],_0x49f160(0x1d7),_0x4de49c=>{const _0x2ad98f=_0x49f160;return _0x4de49c[_0x2ad98f(0x22f)](_0x2ad98f(0x199),{'type':_0x1db87d[_0x2ad98f(0xf9)],'choices':['user',_0x1db87d['dOeSI']],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})[_0x2ad98f(0x22f)](_0x1db87d[_0x2ad98f(0x198)],{'type':_0x1db87d[_0x2ad98f(0x165)],'description':_0x1db87d[_0x2ad98f(0x178)],'default':![]});},async _0x7b32bf=>{const _0x3cd850={'haexl':'ranger','ANKXR':function(_0x550c31,_0xb82df3){return _0x1db87d['cTvQc'](_0x550c31,_0xb82df3);}};await _0x1db87d['BjidO'](withTelemetry,'setup:skills',async()=>{const _0x39dc56=_0x58bc,_0x54c39b=_0x7b32bf[_0x39dc56(0x199)];if(_0x7b32bf[_0x39dc56(0xce)]){const _0x29a5f8=await ensureOpencodePluginConfig(_0x54c39b);_0x29a5f8&&await installSkill(_0x3cd850['haexl'],{'level':_0x29a5f8[_0x39dc56(0x199)],'cliVersion':getCurrentVersion(),'platform':'opencode'});}else await ensureClaudePlugin(_0x54c39b),await _0x3cd850['ANKXR'](ensureClaudeSkills,_0x54c39b);});})['command'](_0x222f68[_0x49f160(0xd0)],_0x222f68['Fgckz'],_0x148805=>{const _0x2fbe13=_0x49f160;return _0x148805['option']('scope',{'type':_0x2fbe13(0x16b),'choices':[_0x2fbe13(0x212)],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x222f68[_0x2fbe13(0x28e)],{'type':_0x222f68['FRJwH'],'description':_0x222f68['tbrZA']})['option'](_0x222f68[_0x2fbe13(0xfc)],{'type':'boolean','description':_0x2fbe13(0x26c),'default':![]})[_0x2fbe13(0x22f)](_0x2fbe13(0x14b),{'type':_0x222f68[_0x2fbe13(0x1c3)],'description':_0x222f68[_0x2fbe13(0x1be)],'default':![]})[_0x2fbe13(0x22f)](_0x2fbe13(0x291),{'type':'boolean','description':_0x222f68[_0x2fbe13(0x221)],'default':![]});},async _0x468d3a=>{const _0x40533b=_0x49f160,_0x3e53e8=_0x468d3a[_0x40533b(0x199)];_0x3e53e8!==undefined&&_0x222f68['cRiiS'](_0x3e53e8,_0x222f68[_0x40533b(0x203)])&&(console['error'](_0x222f68['sMJJk'](_0x40533b(0x1c2)+_0x3e53e8+'\x20is\x20no\x20longer\x20supported.\x20'+'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20',_0x40533b(0xee))),process['exit'](0x1)),await withTelemetry(_0x222f68['pjoSL'],_0x3e45f8=>ensureLocalEnv({'url':_0x468d3a['url'],'force':_0x468d3a['force'],'allowInsecureLocalhost':_0x468d3a['allow-insecure-localhost'],'scope':'user'},_0x3e45f8));})[_0x49f160(0x22f)](_0x49f160(0x1f1),{'type':_0x222f68['WuHqi'],'description':_0x222f68[_0x49f160(0x188)],'default':![]})[_0x49f160(0x22f)]('scope',{'type':_0x49f160(0x16b),'choices':[_0x49f160(0x212)],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x49f160(0x22f)](_0x222f68['PEcvW'],{'type':_0x222f68['FRJwH'],'description':_0x222f68[_0x49f160(0x223)]})['option'](_0x49f160(0x14b),{'type':_0x222f68[_0x49f160(0x1c3)],'description':_0x49f160(0x242),'default':![]})[_0x49f160(0x22f)](_0x222f68[_0x49f160(0x27a)],{'type':_0x222f68['WuHqi'],'description':_0x222f68['cBfyv'],'default':![]})[_0x49f160(0x22f)]('allow-insecure-localhost',{'type':_0x49f160(0xdc),'description':_0x222f68['LARDf'],'default':![]})['option'](_0x222f68['kfOOi'],{'type':'boolean','description':_0x49f160(0x1a6),'default':![]})[_0x49f160(0x22f)]('skip-auth',{'type':_0x49f160(0xdc),'description':_0x49f160(0xf7),'default':![]})['option'](_0x49f160(0xc5),{'type':_0x222f68['WuHqi'],'description':_0x49f160(0x204),'default':![]})['option'](_0x49f160(0x208),{'type':_0x222f68[_0x49f160(0x28d)],'hidden':!![],'description':_0x49f160(0x124)});},async _0x1b6693=>{const _0x42b4de=_0x44d741,_0xf0b078=_0x1b6693[_0x42b4de(0x11c)],_0x408934=_0x1b6693['token']??_0xf0b078;_0x1b6693[_0x222f68[_0x42b4de(0x24d)]]&&await _0x222f68[_0x42b4de(0x1ec)](withTelemetry,_0x222f68['kfOOi'],()=>mcpBootstrap()),await withTelemetry(_0x222f68['mdiJd'],_0x376230=>start(_0x408934,{'skipChromium':_0x1b6693['skip-chromium'],'skipAuth':_0x1b6693['skip-auth'],'withDeps':_0x1b6693[_0x42b4de(0xc5)],'scope':_0x1b6693['scope'],'url':_0x1b6693['url'],'force':_0x1b6693['force'],'opencode':_0x1b6693['opencode'],'allowInsecureLocalhost':_0x1b6693[_0x42b4de(0x291)]},_0x376230));})['command'](_0x222f68[_0x44d741(0x24c)],![],_0x59b054=>{const _0x4ad94a=_0x44d741;return _0x59b054[_0x4ad94a(0x148)](_0x222f68[_0x4ad94a(0x10e)],{'type':_0x222f68[_0x4ad94a(0x28d)],'description':_0x222f68['OuFGk'],'demandOption':!![]})[_0x4ad94a(0x22f)](_0x222f68[_0x4ad94a(0x12b)],{'type':_0x222f68[_0x4ad94a(0x28d)],'description':_0x222f68[_0x4ad94a(0x1a8)]})['option'](_0x4ad94a(0x133),{'type':_0x222f68[_0x4ad94a(0x28d)],'description':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)'})[_0x4ad94a(0x22f)](_0x222f68[_0x4ad94a(0x16d)],{'type':_0x222f68[_0x4ad94a(0x1c3)],'description':_0x222f68['nfHcq'],'default':![]});},async _0x1258f0=>{const _0x4f1b95=_0x44d741;await _0x222f68[_0x4f1b95(0x241)](withTelemetry,_0x222f68[_0x4f1b95(0x1e1)],_0x26c40e=>setupCi(_0x1258f0['token'],{'profile':_0x1258f0['profile'],'baseUrl':_0x1258f0['base-url'],'skipChromium':_0x1258f0[_0x4f1b95(0x1f1)]},_0x26c40e));})['command'](_0x222f68[_0x44d741(0x18f)],'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)',()=>{},async()=>{const _0x141f66=_0x44d741;await withTelemetry(_0x141f66(0x149),()=>login());})[_0x44d741(0x248)](_0x222f68[_0x44d741(0x153)],_0x222f68[_0x44d741(0x12c)],_0x2ec5c9=>{const _0x2ca17b=_0x44d741;return _0x2ec5c9[_0x2ca17b(0x22f)](_0x222f68[_0x2ca17b(0x27a)],{'type':_0x222f68['WuHqi'],'description':_0x2ca17b(0x202),'default':![]})['option'](_0x2ca17b(0x199),{'type':_0x2ca17b(0x16b),'choices':['user',_0x222f68[_0x2ca17b(0x1af)]],'description':_0x2ca17b(0xe3)});},async _0x54226b=>{const _0x342265=_0x44d741,_0x1bf6f4=Boolean(_0x54226b[_0x342265(0xce)]);await withTelemetry(_0x222f68[_0x342265(0x153)],()=>skillup({'autoInstall':_0x54226b['scope'],'platform':_0x1bf6f4?'opencode':_0x342265(0x25a)}));})[_0x44d741(0x248)](_0x44d741(0x108),_0x222f68[_0x44d741(0x19f)],()=>{},async()=>{const _0x1611f6=_0x44d741;await _0x222f68[_0x1611f6(0x130)](withTelemetry,_0x222f68['YHfrd'],()=>clean());})['command']([_0x44d741(0x131),_0x44d741(0x227)],_0x44d741(0x1fc),_0x3035ca=>{const _0x469bc5=_0x44d741,_0xb4c20d={'lqrQT':_0x222f68[_0x469bc5(0x28d)],'OFTLw':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','HWopT':_0x222f68['WuHqi'],'GDsjR':_0x222f68['oYZOH'],'hKVlq':'force','CoLSu':_0x222f68['dKWUz'],'okogY':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','dDnGS':_0x222f68[_0x469bc5(0x1c9)],'KCYRM':'user','BhhMR':_0x222f68['rwESs'],'bePga':'yes','EUbqH':_0x222f68['lnORf'],'mGtMI':_0x222f68['DVgOw'],'eNcQy':function(_0x14928b,_0x36ea4f){const _0x3c5dcf=_0x469bc5;return _0x222f68[_0x3c5dcf(0x141)](_0x14928b,_0x36ea4f);},'AEyPg':_0x222f68['hTbtS'],'vjxzj':function(_0x772f27,_0x20c078,_0x49f09d){return _0x772f27(_0x20c078,_0x49f09d);},'aNbCm':_0x222f68['DmoOI'],'oWXuJ':_0x222f68[_0x469bc5(0x1b4)],'tnefk':_0x222f68[_0x469bc5(0x237)],'DjWNr':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','IcFnj':_0x469bc5(0x239),'EseKN':'profile\x20update','uGwqB':function(_0x12380e,_0x367751,_0x2397e6){return _0x222f68['QCAva'](_0x12380e,_0x367751,_0x2397e6);},'zkaGO':function(_0x1032f5,_0x4c6a17){return _0x1032f5===_0x4c6a17;},'iCLdZ':_0x222f68[_0x469bc5(0x13a)],'YbBhP':_0x222f68['nHSUN'],'xRlTw':_0x222f68['DvCck'],'XSeMC':_0x222f68['cHfaV'],'foAys':function(_0xc8a70d,_0x456019,_0x3a7014){const _0x267469=_0x469bc5;return _0x222f68[_0x267469(0x214)](_0xc8a70d,_0x456019,_0x3a7014);},'BMyng':_0x469bc5(0x136),'coeQC':_0x469bc5(0x16e),'QphsA':_0x222f68[_0x469bc5(0x123)],'nRVNm':function(_0x39b24c,_0x5d133f,_0x55fc13){return _0x222f68['VZGjl'](_0x39b24c,_0x5d133f,_0x55fc13);}};return _0x3035ca['usage'](PROFILE_HELP)[_0x469bc5(0x248)]('add\x20<profile-name>',_0x222f68['OJtkQ'],_0x4ad774=>{const _0x4ada07=_0x469bc5;return _0x4ad774[_0x4ada07(0x148)]('profile-name',{'type':_0xb4c20d['lqrQT'],'description':_0xb4c20d[_0x4ada07(0x12e)],'demandOption':!![]})['option']('ci',{'type':'boolean','hidden':!![],'default':![]})['option'](_0x4ada07(0x13e),{'type':_0xb4c20d['HWopT'],'description':_0xb4c20d[_0x4ada07(0x1ab)],'default':![]})[_0x4ada07(0x22f)](_0x4ada07(0x1dd),{'type':_0xb4c20d['lqrQT'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)'})[_0x4ada07(0x22f)](_0xb4c20d[_0x4ada07(0x1b1)],{'type':'boolean','description':_0x4ada07(0x242),'default':![]})[_0x4ada07(0x22f)](_0x4ada07(0x1a9),{'type':_0xb4c20d['lqrQT'],'description':_0x4ada07(0x1f2)})[_0x4ada07(0x22f)](_0x4ada07(0x291),{'type':_0x4ada07(0xdc),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0x4ada07(0x22f)](_0xb4c20d['CoLSu'],{'type':_0xb4c20d['HWopT'],'description':_0xb4c20d['okogY'],'default':![]})['option']('setup-header',{'type':_0x4ada07(0x16b),'array':!![],'description':_0xb4c20d[_0x4ada07(0x17b)]})['option']('scope',{'type':_0xb4c20d['lqrQT'],'choices':[_0xb4c20d['KCYRM'],_0x4ada07(0xe2)],'description':_0xb4c20d['BhhMR']})[_0x4ada07(0x22f)](_0xb4c20d['bePga'],{'type':_0xb4c20d[_0x4ada07(0x103)],'alias':'y','description':_0xb4c20d[_0x4ada07(0x186)],'default':![]});},async _0x2f347b=>{const _0x4d58ec=_0x469bc5;await withTelemetry(_0xb4c20d['mGtMI'],_0x3abcae=>addEnv(_0x2f347b['profile-name'],{'ci':_0x2f347b['ci'],'skipAuth':_0x2f347b['skip-auth'],'url':_0x2f347b['url'],'force':_0x2f347b['force'],'cdpEndpoint':_0x2f347b[_0x4d58ec(0x1a9)],'allowInsecureLocalhost':_0x2f347b['allow-insecure-localhost'],'safeMode':_0x2f347b[_0x4d58ec(0x112)],'setupHeader':_0x2f347b['setup-header'],'scope':_0x2f347b[_0x4d58ec(0x199)],'yes':_0x2f347b[_0x4d58ec(0x1cc)]},_0x3abcae),{'isElectron':_0xb4c20d['eNcQy'](Boolean,_0x2f347b[_0x4d58ec(0x1a9)])});})['command'](_0x222f68['moVwU'],_0x222f68['RdZjZ'],_0x5a56e6=>{const _0x299618=_0x469bc5;return _0x5a56e6[_0x299618(0x148)](_0x222f68[_0x299618(0x1da)],{'type':_0x299618(0x16b),'description':_0x222f68[_0x299618(0x28a)],'demandOption':!![]});},async _0x3019c6=>{const _0x70a08a=_0x469bc5;await _0x222f68[_0x70a08a(0x176)](withTelemetry,_0x222f68[_0x70a08a(0xf6)],()=>useEnv(_0x3019c6[_0x70a08a(0x225)]));})[_0x469bc5(0x248)](_0x222f68['RcNEq'],_0x469bc5(0x1d5),_0x275d1f=>{const _0x24f5f2=_0x469bc5;return _0x275d1f[_0x24f5f2(0x148)]('profile-name',{'type':_0x222f68['FRJwH'],'description':_0x222f68['yjDdo'],'demandOption':!![]})['option'](_0x24f5f2(0x1cc),{'type':_0x222f68['WuHqi'],'alias':'y','description':'Skip\x20the\x20deletion\x20confirmation\x20prompt.','default':![]});},async _0x332e12=>{const _0x351940=_0x469bc5;await withTelemetry(_0x222f68[_0x351940(0x277)],()=>deleteProfile(_0x332e12[_0x351940(0x225)],{'yes':_0x332e12[_0x351940(0x1cc)]}));})['command']('encrypt-auth\x20<profile>',![],_0x71c7e9=>{const _0x4acf81=_0x469bc5;return _0x71c7e9['positional']('profile',{'type':_0x222f68['FRJwH'],'description':_0x4acf81(0x17e),'demandOption':!![]});},async _0x189c8a=>{const _0xd8493f=_0x469bc5;await withTelemetry(_0xb4c20d[_0xd8493f(0x240)],()=>authEncrypt(_0x189c8a['profile']));})['command']('ls','List\x20all\x20profiles',()=>{},async()=>{const _0x51c8aa=_0x469bc5;await _0xb4c20d['vjxzj'](withTelemetry,_0xb4c20d[_0x51c8aa(0xe4)],()=>envList());})[_0x469bc5(0x248)](_0x222f68['npZKx'],'Update\x20authentication\x20for\x20an\x20existing\x20profile',_0x47db28=>{const _0x57f509=_0x469bc5;return _0x47db28[_0x57f509(0x148)]('profile-name',{'type':_0x57f509(0x16b),'description':_0xb4c20d[_0x57f509(0x24b)],'demandOption':!![]})['option'](_0xb4c20d['tnefk'],{'type':'boolean','description':_0xb4c20d['DjWNr']})['option'](_0x57f509(0x1ae),{'type':_0xb4c20d[_0x57f509(0x103)],'description':_0xb4c20d[_0x57f509(0x1e6)]});},async _0x1a5a62=>{const _0x5f262f=_0x469bc5;await _0xb4c20d[_0x5f262f(0x1fe)](withTelemetry,_0xb4c20d['EseKN'],_0x12a3eb=>updateEnv(_0x1a5a62[_0x5f262f(0x225)],_0x12a3eb,{'allowInsecureLocalhost':_0x1a5a62['allow-insecure-localhost'],'manual':_0x1a5a62[_0x5f262f(0x1ae)]}));})[_0x469bc5(0x248)](_0x222f68[_0x469bc5(0x21c)],![],_0x1269c5=>{const _0x4a1555=_0x469bc5;return _0x1269c5['positional']('name',{'type':_0x222f68[_0x4a1555(0x28d)],'description':_0x222f68[_0x4a1555(0x1f3)],'demandOption':!![]});},async _0x1a9fd5=>{const _0x4ec44d=_0x469bc5,_0x3606f7={'UBhfF':'Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','CfInJ':function(_0x4e5daf,_0x445c05,_0x9027bc){const _0x4646c1=_0x58bc;return _0xb4c20d[_0x4646c1(0x209)](_0x4e5daf,_0x445c05,_0x9027bc);},'LZalD':function(_0x114e0a,_0x1d3ae3){return _0xb4c20d['zkaGO'](_0x114e0a,_0x1d3ae3);},'BXZZV':_0x4ec44d(0x26a),'WpjNc':_0xb4c20d['iCLdZ']};await _0xb4c20d['uGwqB'](withTelemetry,_0x4ec44d(0x1e0),async()=>{const _0x2d2291=_0x4ec44d,_0x2f32d8=process[_0x2d2291(0x246)]['RANGER_TEST_USERNAME'],_0x16759a=process[_0x2d2291(0x246)][_0x2d2291(0x191)];(!_0x2f32d8||!_0x16759a)&&(console['error'](_0x3606f7[_0x2d2291(0x162)]),process[_0x2d2291(0x1c5)](0x1));const _0x3e2b19=_0x1a9fd5[_0x2d2291(0x21a)],_0x2b7a1e=await _0x3606f7['CfInJ'](serverSideLogin,_0x3e2b19,{'force':!![]});_0x3606f7[_0x2d2291(0x174)](_0x2b7a1e['status'],_0x3606f7[_0x2d2291(0x216)])&&(console[_0x2d2291(0x22b)](_0x2d2291(0x18b)),process['exit'](0x1)),_0x3606f7['LZalD'](_0x2b7a1e[_0x2d2291(0xe5)],_0x3606f7['WpjNc'])&&(console['error'](_0x2d2291(0x229)+(_0x2b7a1e[_0x2d2291(0x22b)]??_0x2d2291(0x1dc))),_0x2b7a1e[_0x2d2291(0x206)]&&console[_0x2d2291(0x22b)](_0x2b7a1e['test_output']),process[_0x2d2291(0x1c5)](0x1)),console['log']('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x3e2b19+'\x27.\x20Session\x20saved.');});})['command'](_0x222f68['VfgAf'],![],_0x3f363c=>{const _0x5cb23c=_0x469bc5;return _0x3f363c[_0x5cb23c(0x148)](_0x5cb23c(0x225),{'type':_0x222f68['FRJwH'],'description':_0x222f68[_0x5cb23c(0x160)]})['option']('all',{'type':'boolean','description':_0x222f68['afXCH'],'default':![]})['option'](_0x5cb23c(0x257),{'type':'boolean','description':_0x5cb23c(0x224),'default':![]})[_0x5cb23c(0x22f)](_0x222f68['nPqBD'],{'type':_0x5cb23c(0xdc),'alias':'y','description':_0x222f68[_0x5cb23c(0x1a7)],'default':![]})[_0x5cb23c(0x22f)](_0x5cb23c(0xf1),{'type':_0x222f68['WuHqi'],'description':_0x222f68['oKwYA'],'default':![]});},async _0x10386a=>{const _0x5df3db=_0x469bc5;await _0x222f68['FRLYP'](withTelemetry,'profile\x20migrate',_0x50d8e0=>migrateProfile({'profileName':_0x10386a['profile-name'],'all':_0x10386a['all'],'dryRun':_0x10386a['dry-run'],'yes':_0x10386a['yes'],'saveCreds':_0x10386a[_0x5df3db(0xf1)]},_0x50d8e0));})['command'](_0x469bc5(0xdd),_0x222f68[_0x469bc5(0x1e7)],_0x2f7c39=>{const _0x44b21f=_0x469bc5,_0x4f0732={'VKlga':_0x222f68[_0x44b21f(0x28d)],'mecDz':_0x44b21f(0xfe),'JrZZD':function(_0xd5891a,_0x214f8b,_0x582327){const _0x4bc788=_0x44b21f;return _0x222f68[_0x4bc788(0x143)](_0xd5891a,_0x214f8b,_0x582327);},'TqTBe':_0x222f68[_0x44b21f(0x282)],'VGEAD':_0x222f68['nHSUN'],'otjgs':'Profile\x20name'};return _0x2f7c39['usage'](PROFILE_CONFIG_HELP)[_0x44b21f(0x248)](_0x44b21f(0xcf),_0x222f68['YKibA'],_0x416789=>{const _0x1f50cc=_0x44b21f;return _0x416789['positional'](_0xb4c20d['YbBhP'],{'type':_0xb4c20d[_0x1f50cc(0xdb)],'description':'Profile\x20name','demandOption':!![]})['positional'](_0x1f50cc(0xfe),{'type':_0xb4c20d['lqrQT'],'description':_0xb4c20d[_0x1f50cc(0x207)],'demandOption':!![]})['positional']('value',{'type':_0x1f50cc(0x16b),'description':_0xb4c20d[_0x1f50cc(0x1f6)],'demandOption':!![]});},async _0xbc2b5=>{const _0x141ef9=_0x44b21f;await _0xb4c20d['foAys'](withTelemetry,_0x141ef9(0x1f0),()=>configSet(_0xbc2b5[_0x141ef9(0x131)],_0xbc2b5['key'],_0xbc2b5['value']));})['command'](_0x222f68[_0x44b21f(0x122)],'Get\x20a\x20config\x20value',_0xc0be85=>{const _0x3ad400=_0x44b21f;return _0xc0be85['positional']('profile',{'type':_0x4f0732[_0x3ad400(0x283)],'description':'Profile\x20name','demandOption':!![]})[_0x3ad400(0x148)](_0x4f0732['mecDz'],{'type':_0x3ad400(0x16b),'description':'Config\x20key','demandOption':!![]});},async _0x2a9f57=>{const _0x2864b9=_0x44b21f;await _0x4f0732[_0x2864b9(0xeb)](withTelemetry,_0x4f0732['TqTBe'],()=>configGet(_0x2a9f57[_0x2864b9(0x131)],_0x2a9f57[_0x2864b9(0xfe)]));})['command'](_0x222f68[_0x44b21f(0x12a)],_0x222f68['tHikb'],_0x7b697a=>{const _0x3f3851=_0x44b21f;return _0x7b697a[_0x3f3851(0x148)](_0x4f0732[_0x3f3851(0x27c)],{'type':_0x4f0732[_0x3f3851(0x283)],'description':_0x4f0732[_0x3f3851(0x1d0)],'demandOption':!![]});},async _0x455af3=>{const _0x2c496a=_0x44b21f;await _0xb4c20d['vjxzj'](withTelemetry,_0xb4c20d[_0x2c496a(0x254)],()=>configList(_0x455af3['profile']));})['command']('unset\x20<profile>\x20<key>','Remove\x20a\x20config\x20value',_0x23fa60=>{const _0x4f26be=_0x44b21f;return _0x23fa60['positional'](_0xb4c20d[_0x4f26be(0x27e)],{'type':_0xb4c20d[_0x4f26be(0xdb)],'description':_0x4f26be(0x17e),'demandOption':!![]})[_0x4f26be(0x148)]('key',{'type':_0x4f26be(0x16b),'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x38c93b=>{const _0x1c15f8=_0x44b21f;await _0xb4c20d['vjxzj'](withTelemetry,_0xb4c20d[_0x1c15f8(0x169)],()=>configUnset(_0x38c93b['profile'],_0x38c93b[_0x1c15f8(0xfe)]));})['command']('reset\x20<profile>',_0x44b21f(0x115),_0x1bdb16=>{const _0x23f7d2=_0x44b21f;return _0x1bdb16['positional'](_0x23f7d2(0x131),{'type':_0xb4c20d['lqrQT'],'description':_0xb4c20d[_0x23f7d2(0x101)],'demandOption':!![]});},async _0x5a4518=>{const _0x562524=_0x44b21f;await _0xb4c20d[_0x562524(0x1b7)](withTelemetry,'profile\x20config\x20reset',()=>configReset(_0x5a4518['profile']));})[_0x44b21f(0xd8)](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})[_0x469bc5(0xd8)](0x1,_0x222f68[_0x469bc5(0xf4)]);})['command'](_0x222f68[_0x44d741(0x23c)],_0x222f68['vUWbu'],()=>{},async()=>{const _0x10f244=_0x44d741;await withTelemetry(_0x10f244(0xe5),()=>status());})[_0x44d741(0x248)](_0x222f68[_0x44d741(0x13b)],_0x44d741(0x18a),()=>{},async()=>{const _0x41dfb0=_0x44d741;await _0x222f68[_0x41dfb0(0x12f)](withTelemetry,_0x41dfb0(0x138),()=>update());})[_0x44d741(0x248)]('print-access-token',_0x44d741(0x16a),()=>{},async()=>{const _0x38d745=_0x44d741;await _0x222f68['QuBrx'](withTelemetry,_0x38d745(0x256),async()=>{const _0x1c5f79=_0x38d745,_0x6cd333=await getToken();if(!_0x6cd333)throw new Error(_0x1c5f79(0x104));console['log'](_0x6cd333);});})[_0x44d741(0x248)]('go',_0x222f68['PSETz'],_0x366c03=>{const _0x13b887=_0x44d741;return _0x366c03['option'](_0x13b887(0x139),{'type':_0x222f68[_0x13b887(0x28d)],'description':_0x13b887(0x194)})[_0x13b887(0x22f)](_0x13b887(0x131),{'type':'string','description':_0x13b887(0x26b)})['option'](_0x13b887(0x1a2),{'type':_0x13b887(0x16b),'description':_0x222f68[_0x13b887(0x15b)]})[_0x13b887(0x22f)](_0x13b887(0x27f),{'type':'number','description':_0x222f68['cBxQu']})['option'](_0x13b887(0x285),{'type':'string','description':_0x222f68['CCSnL']})[_0x13b887(0x22f)](_0x13b887(0x133),{'type':_0x222f68['FRJwH'],'description':_0x222f68[_0x13b887(0x22d)]})[_0x13b887(0x22f)](_0x222f68[_0x13b887(0x129)],{'type':_0x222f68['FRJwH'],'description':_0x13b887(0x261)})[_0x13b887(0x22f)](_0x222f68['xFkMG'],{'type':_0x222f68[_0x13b887(0x1c3)],'description':_0x222f68['HRoRx'],'default':![]})[_0x13b887(0x22f)](_0x13b887(0x1e2),{'type':_0x13b887(0x16b),'array':!![],'alias':_0x222f68[_0x13b887(0x119)],'description':_0x13b887(0x268)})['option']('debug-outcome',{'type':_0x222f68['FRJwH'],'hidden':!![],'choices':['verified',_0x222f68['gOJqO'],_0x222f68['Xxzyo'],_0x222f68['bhsJR'],_0x13b887(0x1d9)]})[_0x13b887(0x22f)](_0x222f68['iXhzO'],{'type':_0x13b887(0xdc),'hidden':!![]})[_0x13b887(0x22f)]('env',{'type':_0x13b887(0x16b),'hidden':!![]})[_0x13b887(0x22f)]('task',{'type':_0x222f68[_0x13b887(0x28d)],'hidden':!![]})[_0x13b887(0x22f)](_0x222f68[_0x13b887(0x17f)],{'type':_0x13b887(0x125),'hidden':!![]});},async _0xea6f48=>{await _0x222f68['yBRxA'](runGoCommand,_0xea6f48);})['command']('auth',![],_0x527219=>{const _0x4d05d3=_0x44d741,_0x4c4b12={'agNYr':_0x4d05d3(0x16b),'AMgYd':_0x222f68['VrgFm'],'aQAZM':_0x222f68['PytNr'],'VOveb':function(_0x5030c7,_0x1b222c){return _0x5030c7(_0x1b222c);}};return _0x527219[_0x4d05d3(0x248)]('encrypt\x20<profile>',![],_0x226ad4=>{return _0x226ad4['positional']('profile',{'type':_0x4c4b12['agNYr'],'description':_0x4c4b12['AMgYd'],'demandOption':!![]});},async _0x30bf60=>{const _0x338104=_0x4d05d3;warnRenamed(_0x4c4b12['aQAZM'],_0x338104(0x24a)),await _0x4c4b12[_0x338104(0x265)](authEncrypt,_0x30bf60['profile']);})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})[_0x44d741(0x248)]('start\x20[token]',![],_0x2eb849=>{const _0x3fb5e1=_0x44d741;return _0x2eb849[_0x3fb5e1(0x148)](_0x3fb5e1(0x208),{'type':'string','description':_0x3fb5e1(0x152)})['option'](_0x222f68[_0x3fb5e1(0x16d)],{'type':'boolean','description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x3fb5e1(0x22f)](_0x222f68['GDoSq'],{'type':_0x222f68[_0x3fb5e1(0x28d)],'choices':['user'],'hidden':!![],'description':_0x3fb5e1(0x259)})['option'](_0x3fb5e1(0x1dd),{'type':_0x222f68[_0x3fb5e1(0x28d)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})[_0x3fb5e1(0x22f)](_0x222f68[_0x3fb5e1(0x226)],{'type':_0x222f68[_0x3fb5e1(0x1c3)],'description':_0x222f68[_0x3fb5e1(0x1be)],'default':![]})[_0x3fb5e1(0x22f)](_0x222f68[_0x3fb5e1(0xfc)],{'type':_0x222f68['WuHqi'],'description':_0x222f68['evmaU'],'default':![]})['option'](_0x3fb5e1(0xc5),{'type':_0x3fb5e1(0xdc),'description':_0x3fb5e1(0x232),'default':![]});},async _0x59c649=>{const _0x2090b2=_0x44d741;warnRenamed('ranger\x20start','ranger\x20setup'),await withTelemetry(_0x222f68['mdiJd'],_0x3cec3e=>start(_0x59c649[_0x2090b2(0x208)],{'skipChromium':_0x59c649[_0x2090b2(0x1f1)],'skipAuth':_0x59c649[_0x2090b2(0x13e)],'withDeps':_0x59c649[_0x2090b2(0xc5)],'scope':_0x59c649['scope'],'url':_0x59c649['url'],'force':_0x59c649[_0x2090b2(0x14b)]},_0x3cec3e));})[_0x44d741(0x248)](_0x44d741(0xe9),![],_0x431d7e=>{const _0x52c37e=_0x44d741;return _0x431d7e[_0x52c37e(0x22f)](_0x222f68['FrgIU'],{'type':_0x222f68[_0x52c37e(0x28d)],'description':_0x52c37e(0xe6)})[_0x52c37e(0x22f)]('task',{'type':_0x222f68['FRJwH'],'description':_0x222f68['Vfixb']})['option'](_0x222f68['soPCz'],{'type':'number','description':_0x222f68['cBxQu']})[_0x52c37e(0x22f)](_0x222f68['nHSUN'],{'type':_0x52c37e(0x16b),'hidden':!![]})[_0x52c37e(0x22f)](_0x222f68['sLoXz'],{'type':_0x222f68[_0x52c37e(0x28d)],'hidden':!![]})['option'](_0x222f68['jBULV'],{'type':_0x222f68['jYhte'],'hidden':!![]})['option'](_0x52c37e(0x285),{'type':_0x222f68[_0x52c37e(0x28d)],'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})['option'](_0x222f68['AqIPu'],{'type':_0x222f68['FRJwH'],'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x52c37e(0x22f)]('model',{'type':_0x222f68[_0x52c37e(0x28d)],'hidden':!![]})[_0x52c37e(0x22f)](_0x52c37e(0x13d),{'type':_0x222f68['WuHqi'],'hidden':!![],'default':![]})[_0x52c37e(0x22f)](_0x222f68['CGFSZ'],{'type':_0x52c37e(0x16b),'array':!![],'alias':'environment-variable','hidden':!![]})['option']('debug-outcome',{'type':'string','hidden':!![],'choices':['verified',_0x52c37e(0x13f),_0x222f68[_0x52c37e(0x156)],_0x52c37e(0x22a),_0x222f68['jesdl']]});},async _0x5151fb=>{await _0x222f68['tLMHl'](runGoCommand,_0x5151fb,!![]);})['command'](_0x44d741(0x281),![],_0x5eea58=>{const _0x2b8afc=_0x44d741;return _0x5eea58['positional'](_0x222f68['ZqHdI'],{'type':'string','description':_0x222f68['AsXpp'],'demandOption':!![]})['option']('ci',{'type':_0x2b8afc(0xdc),'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})[_0x2b8afc(0x22f)](_0x222f68[_0x2b8afc(0xfc)],{'type':_0x222f68['WuHqi'],'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]});},async _0xe2e3bb=>{const _0x871554=_0x44d741;_0x222f68[_0x871554(0x114)](warnRenamed,_0x871554(0x263),_0x222f68['bsgbN']),await withTelemetry('add\x20env',_0x3cab5f=>addEnv(_0xe2e3bb[_0x871554(0x292)],{'ci':_0xe2e3bb['ci'],'skipAuth':_0xe2e3bb['skip-auth']},_0x3cab5f));})['command'](_0x44d741(0x1ea),![],_0x34e9b3=>{const _0x18b48a=_0x44d741;return _0x34e9b3[_0x18b48a(0x148)](_0x222f68['ZqHdI'],{'type':_0x222f68[_0x18b48a(0x28d)],'description':_0x18b48a(0x12d),'demandOption':!![]});},async _0x47e22e=>{const _0x385498=_0x44d741;warnRenamed(_0x222f68['ccBDk'],_0x385498(0x234)),await _0x222f68['zvJIb'](withTelemetry,_0x385498(0x217),()=>useEnv(_0x47e22e[_0x385498(0x292)]));})['command'](_0x44d741(0xdd),![],_0x1fe0e4=>{const _0xec3562=_0x44d741,_0x2fe00f={'mEQYb':_0x222f68[_0xec3562(0x28d)],'hwEMW':'Config\x20value','IBfiu':_0x222f68['wkwSg'],'Dybes':'ranger\x20profile\x20config\x20set','iWunk':_0xec3562(0x24e),'UyicH':function(_0x4e3902,_0x3f57f0,_0x3ff3b5){return _0x4e3902(_0x3f57f0,_0x3ff3b5);},'mGMrS':_0x222f68['FrgIU']};return _0x1fe0e4['command'](_0xec3562(0x15d),![],_0x4be86f=>{const _0x3321a5=_0xec3562;return _0x4be86f[_0x3321a5(0x148)](_0x3321a5(0x246),{'type':_0x2fe00f['mEQYb'],'description':_0x3321a5(0x25c),'demandOption':!![]})['positional'](_0x3321a5(0xfe),{'type':_0x3321a5(0x16b),'description':_0x3321a5(0x187),'demandOption':!![]})['positional']('value',{'type':_0x2fe00f[_0x3321a5(0x266)],'description':_0x2fe00f[_0x3321a5(0x14a)],'demandOption':!![]});},async _0x1145ae=>{const _0x148fc6=_0xec3562;warnRenamed(_0x2fe00f['IBfiu'],_0x2fe00f['Dybes']),await withTelemetry(_0x2fe00f['iWunk'],()=>configSet(_0x1145ae['env'],_0x1145ae['key'],_0x1145ae[_0x148fc6(0x1ad)]));})[_0xec3562(0x248)](_0x222f68[_0xec3562(0x20f)],![],_0x5c0fd0=>{const _0x206cd4=_0xec3562;return _0x5c0fd0['positional'](_0x206cd4(0x246),{'type':'string','description':'Environment\x20name','demandOption':!![]})['positional'](_0x222f68['XHLJP'],{'type':_0x222f68[_0x206cd4(0x28d)],'description':_0x222f68[_0x206cd4(0xc9)],'demandOption':!![]});},async _0x463d53=>{const _0x162ccf=_0xec3562;_0x2fe00f['UyicH'](warnRenamed,_0x162ccf(0x110),'ranger\x20profile\x20config\x20get'),await withTelemetry(_0x162ccf(0x1b2),()=>configGet(_0x463d53[_0x162ccf(0x246)],_0x463d53[_0x162ccf(0xfe)]));})[_0xec3562(0x248)]('list\x20<env>',![],_0x238642=>{const _0x3a0f6e=_0xec3562;return _0x238642['positional'](_0x2fe00f[_0x3a0f6e(0x10c)],{'type':_0x3a0f6e(0x16b),'description':'Environment\x20name','demandOption':!![]});},async _0x23d72c=>{const _0xaf4a49=_0xec3562;warnRenamed('ranger\x20config\x20list',_0xaf4a49(0x127)),await _0x222f68['QuBrx'](withTelemetry,_0x222f68[_0xaf4a49(0x290)],()=>configList(_0x23d72c['env']));})[_0xec3562(0x248)](_0x222f68['BITFa'],![],_0x4f6991=>{const _0x43d98f=_0xec3562;return _0x4f6991[_0x43d98f(0x148)](_0x43d98f(0x246),{'type':_0x222f68[_0x43d98f(0x28d)],'description':'Environment\x20name','demandOption':!![]})['positional'](_0x222f68['XHLJP'],{'type':_0x222f68['FRJwH'],'description':_0x222f68[_0x43d98f(0x262)],'demandOption':!![]});},async _0x20c19a=>{const _0x12739f=_0xec3562;warnRenamed(_0x222f68[_0x12739f(0xd4)],_0x222f68[_0x12739f(0x175)]),await withTelemetry(_0x222f68[_0x12739f(0x1b9)],()=>configUnset(_0x20c19a['env'],_0x20c19a['key']));})[_0xec3562(0xd8)](0x1,_0x222f68['FyjHR']);})[_0x44d741(0x248)](_0x44d741(0x246),![],_0x1f560c=>{const _0x1ba9d4=_0x44d741,_0x49de4b={'uIiUM':_0x222f68['NOCBy']};return _0x1f560c[_0x1ba9d4(0x248)]('ls',![],()=>{},async()=>{const _0x5c3542=_0x1ba9d4;warnRenamed('ranger\x20env\x20ls',_0x49de4b[_0x5c3542(0x1a0)]),await withTelemetry('env\x20list',()=>envList());})[_0x1ba9d4(0x248)]('update\x20<env-name>',![],_0x1c8731=>{const _0x3410be=_0x1ba9d4;return _0x1c8731[_0x3410be(0x148)](_0x222f68[_0x3410be(0x1ba)],{'type':_0x3410be(0x16b),'description':_0x222f68['SxVpT'],'demandOption':!![]});},async _0x53bf90=>{const _0x45619b=_0x1ba9d4;warnRenamed(_0x222f68['biTkv'],_0x45619b(0x27b)),await _0x222f68['gFycg'](withTelemetry,_0x222f68[_0x45619b(0x147)],_0xfdfa42=>updateEnv(_0x53bf90[_0x45619b(0x292)],_0xfdfa42));})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20env\x20subcommand');})[_0x44d741(0x248)]('feature',![],_0x429373=>{const _0x55d841=_0x44d741,_0x2703d7={'OdvGV':function(_0x527bcc,_0x24b538,_0x2fd317){return _0x527bcc(_0x24b538,_0x2fd317);},'Isvjn':_0x55d841(0x161),'NOnfR':'ranger\x20list','OYzrW':_0x222f68[_0x55d841(0xec)],'JNjlY':function(_0x2cd7df,_0x5201a1,_0x2bccb6){return _0x2cd7df(_0x5201a1,_0x2bccb6);},'pDNkn':'ranger\x20show','WHbap':function(_0x4aacee,_0x56d51c,_0xb92d12){const _0x57ffef=_0x55d841;return _0x222f68[_0x57ffef(0x143)](_0x4aacee,_0x56d51c,_0xb92d12);},'biNHZ':_0x222f68[_0x55d841(0x23e)],'yGaPM':_0x222f68['kFkRO'],'oJcVt':_0x222f68[_0x55d841(0x28d)],'LDxwZ':_0x222f68['PLlAg'],'ssOVN':function(_0x551380,_0x2a321d,_0x16ce72){const _0x49d7e5=_0x55d841;return _0x222f68[_0x49d7e5(0x20a)](_0x551380,_0x2a321d,_0x16ce72);},'HCWdn':'feature\x20get-feedback','rGJrX':function(_0x5409c0,_0x2de29f,_0xe4e781){return _0x5409c0(_0x2de29f,_0xe4e781);},'CqUjO':_0x222f68['NTsna'],'WNiHT':_0x222f68[_0x55d841(0x120)],'gtVrO':_0x55d841(0x15a)};return _0x429373['command'](_0x222f68['kCDRb'],![],_0x3098b1=>{const _0x43ba8b=_0x55d841;return _0x3098b1[_0x43ba8b(0x148)](_0x222f68[_0x43ba8b(0x173)],{'type':_0x43ba8b(0x16b),'description':_0x222f68['xbUES'],'demandOption':!![]})[_0x43ba8b(0x22f)](_0x222f68['kFkRO'],{'type':_0x222f68['FRJwH'],'alias':'d','description':_0x222f68[_0x43ba8b(0x276)]})['option'](_0x222f68['VBAiK'],{'type':_0x222f68[_0x43ba8b(0x184)],'alias':'c','description':_0x43ba8b(0x23d)})['option'](_0x222f68['jBULV'],{'type':_0x43ba8b(0x118),'hidden':!![]});},async _0x69cfb1=>{const _0xf12359=_0x55d841;warnRenamed('ranger\x20feature\x20create',_0x222f68[_0xf12359(0x247)]),_0x222f68[_0xf12359(0x15e)](warnFlagRenamed,_0xf12359(0x14c),'--checklist',_0x222f68['gENto']);const _0x32b441=_0x69cfb1[_0xf12359(0x27f)]||_0x69cfb1['checklist'];await withTelemetry(_0x222f68[_0xf12359(0x27d)],()=>featureCreate(_0x69cfb1[_0xf12359(0x21a)],{'description':_0x69cfb1['description'],'scenarios':_0x32b441}));})['command'](_0x55d841(0x1e4),![],_0x38755a=>{const _0x6e9216=_0x55d841;return _0x38755a[_0x6e9216(0x22f)](_0x222f68['igznw'],{'type':_0x6e9216(0xdc),'description':_0x6e9216(0x155)})['option'](_0x222f68[_0x6e9216(0x286)],{'type':'number','alias':'l','description':_0x222f68['PeSSv'],'default':0xa})[_0x6e9216(0x22f)]('offset',{'type':_0x222f68['jYhte'],'alias':'o','description':_0x222f68['GrDsB'],'default':0x0})[_0x6e9216(0x22f)]('include-deleted',{'type':'boolean','alias':'d','description':_0x222f68[_0x6e9216(0x189)],'default':![]});},async _0x2e685d=>{const _0x481510=_0x55d841;_0x2703d7['OdvGV'](warnRenamed,_0x2703d7[_0x481510(0x195)],_0x2703d7[_0x481510(0x269)]),await withTelemetry(_0x2703d7[_0x481510(0x26f)],()=>featureList({'currentBranch':_0x2e685d['current-branch'],'limit':_0x2e685d[_0x481510(0x25e)],'offset':_0x2e685d['offset'],'includeDeleted':_0x2e685d['include-deleted']}));})[_0x55d841(0x248)]('show\x20[id]',![],_0x4d0c82=>{const _0x5e1e8e=_0x55d841;return _0x4d0c82['positional']('id',{'type':_0x222f68[_0x5e1e8e(0x28d)],'description':'Feature\x20review\x20ID'});},async _0x2be385=>{const _0x57eef3=_0x55d841;_0x2703d7['JNjlY'](warnRenamed,_0x57eef3(0x245),_0x2703d7[_0x57eef3(0x1b0)]),await _0x2703d7[_0x57eef3(0x264)](withTelemetry,_0x57eef3(0x157),()=>featureShow(_0x2be385['id']));})['command']('resume\x20[id]',![],_0x2afc79=>{const _0x3e8508=_0x55d841;return _0x2afc79['positional']('id',{'type':_0x3e8508(0x16b),'description':_0x3e8508(0x200)});},async _0x2b788c=>{const _0x41774d=_0x55d841;warnRenamed('ranger\x20feature\x20resume','ranger\x20resume'),await _0x2703d7[_0x41774d(0x11a)](withTelemetry,_0x2703d7['biNHZ'],()=>featureResume(_0x2b788c['id']));})['command'](_0x55d841(0x106),![],_0x5e11fa=>{const _0x92e93f=_0x55d841;return _0x5e11fa['positional'](_0x2703d7['yGaPM'],{'type':_0x92e93f(0x16b),'description':_0x92e93f(0x18e),'demandOption':!![]})['option']('id',{'type':_0x2703d7['oJcVt'],'description':_0x2703d7[_0x92e93f(0x1f5)]});},async _0x86f533=>{const _0x242d98=_0x55d841;_0x2703d7['ssOVN'](warnRenamed,_0x242d98(0x1ef),'ranger\x20add-scenario'),await withTelemetry(_0x242d98(0x14f),()=>featureAddScenario(_0x86f533[_0x242d98(0x278)],_0x86f533['id']));})['command'](_0x222f68['QzNuL'],![],_0x1206f5=>{const _0x3751ca=_0x55d841;return _0x1206f5['positional']('id',{'type':_0x222f68[_0x3751ca(0x28d)],'description':_0x222f68[_0x3751ca(0x1b8)]});},async _0xb1ce6e=>{const _0x10dd25=_0x55d841;warnRenamed(_0x10dd25(0x1e5),'ranger\x20get-review'),await withTelemetry(_0x2703d7[_0x10dd25(0x145)],()=>featureGetReview(_0xb1ce6e['id']));})['command'](_0x55d841(0x113),![],_0x2a9e72=>{const _0x5ccc75=_0x55d841;return _0x2a9e72[_0x5ccc75(0x148)]('id',{'type':_0x5ccc75(0x16b),'description':'Feature\x20review\x20ID'});},async _0x121806=>{const _0x198d9f=_0x55d841;_0x2703d7[_0x198d9f(0x1ff)](warnRenamed,_0x2703d7['CqUjO'],_0x2703d7['WNiHT']),await withTelemetry(_0x198d9f(0x107),()=>featureDelete(_0x121806['id']));})['command'](_0x222f68['JLHqp'],![],_0x27d732=>{const _0x3c4412=_0x55d841;return _0x27d732[_0x3c4412(0x148)]('id',{'type':'string','description':_0x2703d7['gtVrO'],'demandOption':!![]});},async _0x30a14e=>{const _0x2960b4=_0x55d841;warnRenamed(_0x2960b4(0x1c7),_0x222f68[_0x2960b4(0x142)]),await _0x222f68[_0x2960b4(0x214)](withTelemetry,_0x2960b4(0x24f),()=>featureRestore(_0x30a14e['id']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})['command'](_0x44d741(0x111),![],_0x1f2786=>{const _0x1ef62a=_0x44d741;return _0x1f2786[_0x1ef62a(0x248)](_0x1ef62a(0x255),_0x1ef62a(0xea),_0x2a3c2f=>{const _0x4bfdc5=_0x1ef62a;return _0x2a3c2f['option'](_0x222f68['mEqob'],{'type':_0x4bfdc5(0x16b),'description':_0x222f68['mWqyT']});},async _0x30af21=>{const _0x34360f=_0x1ef62a;await _0x222f68['VZGjl'](withTelemetry,_0x34360f(0x19b),()=>hook('enable',_0x30af21[_0x34360f(0x1fd)]));})[_0x1ef62a(0x248)](_0x222f68[_0x1ef62a(0x18c)],_0x222f68[_0x1ef62a(0x1b6)],_0x346da5=>{const _0x795363=_0x1ef62a;return _0x346da5['option'](_0x222f68[_0x795363(0x1bd)],{'type':_0x222f68['FRJwH'],'description':_0x795363(0x1d4)});},async _0x8220f4=>{const _0x2d20b7=_0x1ef62a;await _0x222f68[_0x2d20b7(0x280)](withTelemetry,'hook:disable',()=>hook('disable',_0x8220f4['session-id']));})[_0x1ef62a(0x22f)](_0x1ef62a(0x21a),{'type':_0x222f68[_0x1ef62a(0x28d)],'description':_0x222f68[_0x1ef62a(0x211)]})['option'](_0x222f68['mEqob'],{'type':'string','description':_0x1ef62a(0x1d4)});},async _0x34af8e=>{const _0x45e5e7=_0x44d741;_0x34af8e['name']&&await _0x222f68['jMpBQ'](hook,_0x34af8e[_0x45e5e7(0x21a)],_0x34af8e[_0x222f68['mEqob']]);})['demandCommand'](0x1,_0x44d741(0x23f))[_0x44d741(0x15f)]()['fail'](async(_0x24d575,_0x21f1d5,_0x56431b)=>{const _0x252830=_0x44d741,_0x236c35=sanitizeArgs(process[_0x252830(0xc7)][_0x252830(0x289)](0x2)),_0x7819db=getErrorType(_0x24d575,_0x21f1d5);if(_0x24d575&&_0x24d575['includes'](_0x252830(0x172))){const _0x2ba10b=process[_0x252830(0xc7)][0x2];console['error'](_0x252830(0xca)+_0x2ba10b),console[_0x252830(0x22b)](_0x222f68[_0x252830(0x219)]);}else{if(_0x24d575)console['error']('\x0a'+_0x24d575+'\x0a');else _0x21f1d5&&console['error']('\x0aError:\x20'+_0x21f1d5['message']+'\x0a');}await _0x222f68[_0x252830(0x105)](logDesirePath,{'rawCommand':_0x236c35,'errorMessage':_0x24d575||_0x21f1d5?.['message'],'errorType':_0x7819db});const _0x372387=_0x222f68[_0x252830(0x1d1)](getCurrentCollector);_0x372387&&await _0x372387[_0x252830(0x26d)](_0x21f1d5||new Error(_0x24d575||_0x252830(0x213))),process['exit'](0x1);})[_0x44d741(0x19d)](_0x222f68[_0x44d741(0x22c)](_0x222f68[_0x44d741(0x192)]+'\x20\x20https://docs.ranger.net\x0a',_0x222f68[_0x44d741(0x168)]))[_0x44d741(0x1ce)]()[_0x44d741(0x1bf)]('help','h');}process['env']['NODE_ENV']!==_0x3990b5(0x18d)&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()[_0x3990b5(0x275)]());
|
|
2
|
+
const _0x5bf4be=_0x23e3;(function(_0x5c5086,_0x150f20){const _0xb6b0d4=_0x23e3,_0x584021=_0x5c5086();while(!![]){try{const _0x2907ec=-parseInt(_0xb6b0d4(0x31d))/0x1+-parseInt(_0xb6b0d4(0x2ff))/0x2+-parseInt(_0xb6b0d4(0x27e))/0x3*(-parseInt(_0xb6b0d4(0x280))/0x4)+-parseInt(_0xb6b0d4(0x30b))/0x5+parseInt(_0xb6b0d4(0x208))/0x6+parseInt(_0xb6b0d4(0x330))/0x7+-parseInt(_0xb6b0d4(0x24e))/0x8*(-parseInt(_0xb6b0d4(0x29f))/0x9);if(_0x2907ec===_0x150f20)break;else _0x584021['push'](_0x584021['shift']());}catch(_0x5e78fd){_0x584021['push'](_0x584021['shift']());}}}(_0x51e5,0x4f319));import _0x37b130 from'dotenv';function _0x23e3(_0x135e54,_0xbcef40){_0x135e54=_0x135e54-0x1c0;const _0x51e595=_0x51e5();let _0x23e31a=_0x51e595[_0x135e54];return _0x23e31a;}import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x40682f=_0x23e3,_0x293592={'amwpJ':function(_0x33066d,_0x48a59d){return _0x33066d(_0x48a59d);},'bjZjC':function(_0x1561ad,_0x53286b){return _0x1561ad!==_0x53286b;},'iQHSY':function(_0x4d8fee,_0x18cfeb,_0x4ce9af){return _0x4d8fee(_0x18cfeb,_0x4ce9af);},'vVvvm':'.ranger','HfVGo':function(_0x358107,_0x36020b){return _0x358107(_0x36020b);},'JMPkO':function(_0x116429,_0x5827e7,_0x5a633a){return _0x116429(_0x5827e7,_0x5a633a);},'vbTpG':function(_0x1b8a60,_0x2a22da){return _0x1b8a60(_0x2a22da);}};let _0x32dfe5=process[_0x40682f(0x1f8)]();const _0xe3899e=_0x293592['amwpJ'](parse,_0x32dfe5)['root'];while(_0x293592['bjZjC'](_0x32dfe5,_0xe3899e)){if(_0x293592['amwpJ'](existsSync,_0x293592[_0x40682f(0x328)](join,_0x32dfe5,_0x293592['vVvvm']))||_0x293592['HfVGo'](existsSync,_0x293592[_0x40682f(0x24b)](join,_0x32dfe5,'.env')))return _0x32dfe5;_0x32dfe5=_0x293592[_0x40682f(0x2be)](dirname,_0x32dfe5);}return process[_0x40682f(0x1f8)]();}_0x37b130['config']({'path':join(findProjectRoot(),'.env')});import _0x277e94 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,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{getVerificationTransport,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';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'](_0x5bf4be(0x26a),async _0x38e1e3=>{const _0xd298d7=getCurrentCollector();_0xd298d7&&await _0xd298d7['trackCommandError'](_0x38e1e3),process['exitCode']=0x1;});const rawArgs=process['argv'][_0x5bf4be(0x2de)](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\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\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\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/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\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\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\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\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\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201',PROFILE_CONFIG_HELP=_0x5bf4be(0x264);function warnRenamed(_0x3a0325,_0x5dca72){const _0x13cb26=_0x5bf4be;console[_0x13cb26(0x34e)]('\x0a'+_0x3a0325+'\x20is\x20now\x20'+_0x5dca72+'\x0a');}function argUsed(_0x541bdc){return rawArgs['some'](_0x3d1e07=>_0x3d1e07===_0x541bdc||_0x3d1e07['startsWith'](_0x541bdc+'='));}function warnFlagRenamed(_0x33a6b5,_0x13fd82,_0x7bc903){const _0x5947a4={'XRkXi':function(_0x32c1f3,_0x5393c3,_0x9d1791){return _0x32c1f3(_0x5393c3,_0x9d1791);}};argUsed(_0x13fd82)&&_0x5947a4['XRkXi'](warnRenamed,_0x33a6b5+'\x20'+_0x13fd82,_0x33a6b5+'\x20'+_0x7bc903);}function normalizeEnvVarNames(_0x5adaa8){const _0x1559ad=_0x5bf4be,_0x4a9ef2=Array['isArray'](_0x5adaa8)?_0x5adaa8:_0x5adaa8?[_0x5adaa8]:[];return _0x4a9ef2[_0x1559ad(0x2c9)](_0x56158f=>String(_0x56158f)[_0x1559ad(0x26b)](',')['map'](_0xad8e3e=>_0xad8e3e[_0x1559ad(0x362)]())[_0x1559ad(0x205)](Boolean));}async function runGoCommand(_0x2a0804,_0x3f2754=![]){const _0x5e6532=_0x5bf4be,_0x5c9a2c={'kcezq':function(_0x34db64,_0x22a67c){return _0x34db64+_0x22a67c;},'PtFsl':function(_0x58dd58,_0x4dc1c5,_0x395a66){return _0x58dd58(_0x4dc1c5,_0x395a66);},'zmJyq':function(_0x292587,_0x38f0b4,_0x36ef35,_0x14e3a9){return _0x292587(_0x38f0b4,_0x36ef35,_0x14e3a9);},'wDWgh':'ranger\x20go','piFXm':function(_0x34882c,_0x42cb6b,_0x370a25,_0x5b70c0){return _0x34882c(_0x42cb6b,_0x370a25,_0x5b70c0);},'QPVCM':function(_0x399194){return _0x399194();},'CvwnL':function(_0x3cbce9,_0xccc305){return _0x3cbce9(_0xccc305);},'MnDSg':'env-var','tWDYT':function(_0x317c04,_0x36306f){return _0x317c04!==_0x36306f;},'maffG':_0x5e6532(0x22e),'ozeqB':'base-url','lfzhQ':'debug-outcome','tyctq':'debug-address-comments','ePnLC':_0x5e6532(0x1de),'OICfg':function(_0x9f93e9,_0x416e2c){return _0x9f93e9===_0x416e2c;},'kaEUT':'partial','ZWjcQ':'\x20FAILED','iMjKQ':'\x0aIssues:','RbZHq':function(_0x20786c,_0x544eba){return _0x20786c===_0x544eba;},'tDThK':'verified'};_0x3f2754&&_0x5c9a2c['PtFsl'](warnRenamed,_0x5e6532(0x2bf),_0x5e6532(0x377));_0x5c9a2c[_0x5e6532(0x33b)](warnFlagRenamed,'ranger\x20go','--env',_0x5e6532(0x215)),warnFlagRenamed(_0x5c9a2c[_0x5e6532(0x2c8)],'--task','--notes'),_0x5c9a2c[_0x5e6532(0x356)](warnFlagRenamed,_0x5c9a2c[_0x5e6532(0x2c8)],'--item',_0x5e6532(0x27f));const _0x563356=await _0x5c9a2c[_0x5e6532(0x320)](loadRangerConfig),_0x16c810=_0x5c9a2c['QPVCM'](isByokEnabled),_0x473988=_0x2a0804['model'],_0x4a5047=_0x563356[_0x5e6532(0x223)],_0xbd9a0f=_0x5c9a2c['CvwnL'](normalizeEnvVarNames,_0x2a0804[_0x5c9a2c['MnDSg']]),_0xf5c976=getVerificationTransport();if(_0xbd9a0f[_0x5e6532(0x270)]>0x0&&_0x5c9a2c['tWDYT'](_0xf5c976,_0x5c9a2c[_0x5e6532(0x1d1)])&&_0xf5c976!=='rangerwright-cli')throw new Error(_0x5e6532(0x29c)+_0xf5c976+'.');const _0x8d2e2b=await _0x5c9a2c[_0x5e6532(0x2a4)](verifyFeature,{'featureId':_0x2a0804[_0x5e6532(0x21e)],'profile':_0x2a0804[_0x5e6532(0x2cb)]??_0x2a0804[_0x5e6532(0x2f1)]??process[_0x5e6532(0x2f1)]['RANGER_PROFILE'],'notes':_0x2a0804['notes']??_0x2a0804['task'],'scenario':_0x2a0804[_0x5e6532(0x2fc)]??_0x2a0804['item'],'startPath':_0x2a0804[_0x5e6532(0x379)],'baseUrl':_0x2a0804[_0x5c9a2c[_0x5e6532(0x1e6)]],'debugOutcome':_0x2a0804[_0x5c9a2c['lfzhQ']],'debugAddressComments':_0x2a0804[_0x5c9a2c[_0x5e6532(0x318)]],'headed':_0x2a0804['headed'],'verifierEnvVars':_0xbd9a0f,'byokEnabled':_0x16c810,'flagVerifyModel':_0x473988,'configVerifyModel':_0x4a5047});console['log']('\x0a'+'='['repeat'](0x3c)),console[_0x5e6532(0x1cd)](_0x8d2e2b[_0x5e6532(0x2a2)]===_0x5e6532(0x293)?_0x5c9a2c[_0x5e6532(0x1ca)]:_0x5c9a2c[_0x5e6532(0x242)](_0x8d2e2b[_0x5e6532(0x2a2)],_0x5e6532(0x287))?_0x5e6532(0x2e5):_0x8d2e2b[_0x5e6532(0x2a2)]===_0x5c9a2c['kaEUT']?_0x5e6532(0x296):_0x5c9a2c['OICfg'](_0x8d2e2b['evaluation'],'blocked')?'\x20BLOCKED':_0x5c9a2c[_0x5e6532(0x365)]),console[_0x5e6532(0x1cd)]('='['repeat'](0x3c)),console['log']('Summary:\x20'+_0x8d2e2b[_0x5e6532(0x25f)]),console['log']('Evaluation:\x20'+_0x8d2e2b['evaluation']),console[_0x5e6532(0x1cd)]('Reason:\x20'+_0x8d2e2b[_0x5e6532(0x308)]),_0x8d2e2b[_0x5e6532(0x2dc)]?.[_0x5e6532(0x270)]&&(console['log'](_0x5c9a2c[_0x5e6532(0x2c1)]),_0x8d2e2b[_0x5e6532(0x2dc)][_0x5e6532(0x31a)]((_0x1f5839,_0x5b44fa)=>{const _0x32438d=_0x5e6532;console[_0x32438d(0x1cd)]('\x0a'+_0x5c9a2c['kcezq'](_0x5b44fa,0x1)+_0x32438d(0x1fa)+_0x1f5839['severity']+']\x20'+_0x1f5839[_0x32438d(0x274)]);})),process[_0x5e6532(0x20e)](_0x5c9a2c['RbZHq'](_0x8d2e2b['evaluation'],_0x5c9a2c['tDThK'])?0x0:0x1);}function _0x51e5(){const _0x2ee8d5=['Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','Ranger\x20API\x20token','playwright-cli','JZTTL','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','aseyC','command','KVrxP','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','config\x20unset','ranger\x20feature\x20create','with-deps','debug-outcome','save-creds','positional','WnYbo','attbo','vSsYL','start','XgEht','help','ranger\x20create','OICfg','SReeC','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','scope','ceUBQ','XWlzP','disable','json','manual','JMPkO','start\x20[token]','DVSDT','1720ogMvfM','failed','uIeUX','value','gBfUe','Initialize\x20Ranger\x20in\x20your\x20project','setup:all','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','pZlKX','ranger\x20feature\x20add-checklist-item','maeNF','QoWGn','add\x20env\x20<env-name>','profiles','Scenario\x20number\x20to\x20edit\x20(1-based)','summary','ranger\x20setup\x20profiles\x20--scope=','Name\x20of\x20the\x20profile\x20to\x20update','array','ranger\x20profile\x20config\x20list','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\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','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','apQyb','epilogue','LSJiN','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','unhandledRejection','split','lGdcm','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','GHqAC','eLsbP','length','zZiQz','delete\x20[id]','Include\x20soft-deleted\x20feature\x20reviews','description','mGCLZ','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','show','txVvB','includes','current-branch','XISJR','headed','159gjOqOy','--scenario','44852tTxSXD','yUcoI','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','iKVSP','ranger\x20feature\x20show','unset\x20<profile>\x20<key>','aNBcg','incomplete','status','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','Xysbu','edit-scenario','List\x20all\x20config\x20for\x20a\x20profile','unset\x20<env>\x20<key>','fsPLJ','ViwFv','Print\x20the\x20current\x20CLI\x20access\x20token','nAlxd','verified','get-review','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','\x20PARTIAL','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','VTYBz','\x0aError:\x20','create','ErmWq','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','boolean','✓\x20Authenticated\x20to\x20','6759gbqEQE','mcp','rzPOH','evaluation','demandCommand','CvwnL','qhlyY','gBEUT','Profile\x20name','Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','List\x20all\x20profiles','env-var','qEvwP','exclude-scenario','session-id','nvqtV','offset','MWwCG','Scenario\x20description','izWZE','all','ranger\x20profile\x20add','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','faPso','BwYjd','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','uHJgs','feature\x20show','create\x20<name>','RGnIa','ranger\x20use','vbTpG','ranger\x20verify-feature','update','iMjKQ','ranger\x20delete','hkRTN','okFSx','skip-chromium','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','kSmKc','wDWgh','flatMap','profile\x20config\x20get','profile','zvfsN','VgbVf','list','Config\x20value','DEilT','ranger\x20profile\x20config\x20set','cvZRg','sQDBG','UToMK','VuMIY','HuxFG','use\x20<profile-name>','Environment\x20name','EKWgj','UlZzE','lIhLk','issues','dZuOI','slice','ghEwM','oDwcZ','vADQY','setup\x20[tokenOrSubcommand]','FDVNG','safe-mode','\x20INCOMPLETE','string','delete','ywocL','set\x20<profile>\x20<key>\x20<value>','force','ranger\x20add\x20env','setup-header','ranger\x20config\x20get','scriptName','wksXd','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','env','StExc','Unknown\x20command','Feature\x20review\x20ID','UfBbd','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','Config\x20key\x20to\x20remove','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','ranger\x20feature\x20delete','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Restore\x20a\x20soft-deleted\x20feature\x20review','scenario','cIXUf','bBCkk','710018OKYlsK','ranger\x20feature\x20restore','UFpSK','bYhpg','SCRCc','Delete\x20a\x20cloud\x20profile','ObLaN','nbpkK','Set\x20a\x20config\x20value','evaluationReason','amusp','woMVj','1032335Mpneep','Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','HGVFn','show\x20[id]','uMquc','XhlYK','Switch\x20to\x20using\x20a\x20specific\x20profile','login','Eyivt','nXkVi','WQOnU','tyctq','argv','forEach','cdp-endpoint','opencode','486206iVTady','zZBJR','include-deleted','QPVCM','limit','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','name','yes','List\x20all\x20feature\x20reviews','wSSoY','base-url','iQHSY','skip-auth','LqvXd','Authenticate\x20via\x20MCP\x20proxy','YtKZw','RANGER_TEST_USERNAME','tuavb','thNLx','2837282vhdiyQ','Example:\x20ranger\x20create\x20my-feature','awFzw','You\x20must\x20specify\x20a\x20config\x20subcommand','knvuX','env-name','emqeN','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','version','jMrkn','acyJT','zmJyq','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','Run\x20full\x20interactive\x20setup','nbuMR','uZfNx','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','KSIDp','UyvPs','xOMUY','yOYLZ','ICJLx','WZPOF','iBfKR','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','not_configured','ranger\x20setup','error','Config\x20key','RANGER_TEST_PASSWORD','XFUQw','PIddS','login\x20<name>','Add\x20profile\x20configuration','ZeDFY','piFXm','tivcT','feature\x20delete','UeOEv','XRzNE','profile\x20migrate','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','url','YGSeL','hbfQF','SVdnD','feature\x20list','trim','JOqiH','fail','ZWjcQ','LKptU','\x20\x20https://docs.ranger.net\x0a','ranger\x20get-review','config\x20list','auth','xdeUs','ranger\x20profile\x20config\x20unset','ranger\x20profile\x20encrypt-auth','ZNKGO','profile\x20encrypt-auth','setup-ci','config\x20get','trackCommandError','PmoNi','\x20is\x20no\x20longer\x20supported.\x20','XwnxT','byxyo','ranger\x20go','get-review\x20[id]','start-path','partial','Manage\x20profile\x20configuration','Number\x20of\x20feature\x20reviews\x20to\x20skip','IFqql','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','get-feedback\x20[id]','Cloud\x20profile\x20name','print-access-token','test_output','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','ytLEc','profile\x20login','hook','Feature\x20review\x20description','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','Pdpbe','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','ePnLC','ranger','MfJgC','log','Authenticate\x20with\x20Ranger','mybeW','Base\x20URL\x20of\x20the\x20running\x20app','maffG','pszHh','ranger\x20profile\x20ls','jHIUb','OratY','enable','user','fZZdH','KNMKO','config','tNKcF','mcp-bootstrap','nFBGZ','\x20VERIFIED','LEAuX','OUqnl','sfrby','YyFzM','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','key','peOZN','ozeqB','FKZQk','token','Login\x20failed:\x20','cLnoy','ranger\x20show','SYEhV','YxDaB','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','CRXhn','tokenOrSubcommand','usage','ujsAn','\x0aUnknown\x20command:\x20','lfUKT','VVPSF','xEDft','ZEfdB','cwd','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','.\x20[','AroCe','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','ranger\x20profile\x20use','NODE_ENV','project','FzAEK','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.','uSUEX','uOxUV','profile\x20config\x20list','filter','iXcSj','thKuS','1265874wDcVuX','allow-insecure-localhost','bkMbg','jFguf','env\x20update','task','exit','FHFwJ','mLYsl','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','uopWu','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','EGobC','--profile','Remove\x20a\x20config\x20value','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','Xaync','iDBlX','DGCnl','oJOla','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','XRhDh','feature','ySBPV','jwGlD','option','AUMDE','model','item','profile-name','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','New\x20scenario\x20description','Manage\x20profiles','blocked','Install\x20OS-level\x20dependencies\x20for\x20Chromium','number'];_0x51e5=function(){return _0x2ee8d5;};return _0x51e5();}export function buildParser(_0x97ab88){const _0x51e773=_0x5bf4be,_0x5e336a={'woMVj':_0x51e773(0x274),'mLYsl':_0x51e773(0x1c6),'fMtGI':_0x51e773(0x2fc),'ARbAM':function(_0x2a0076,_0x1f40a3){return _0x2a0076+_0x1f40a3;},'aseyC':'ranger\x20create','eLsbP':'--checklist','iKVSP':'--scenario','nAlxd':function(_0x3c6c96,_0x4e6f02,_0x30fc79){return _0x3c6c96(_0x4e6f02,_0x30fc79);},'HauYy':_0x51e773(0x29a),'VQMBe':_0x51e773(0x27b),'sfrby':'boolean','wksXd':'offset','izWZE':'number','dgPUR':_0x51e773(0x37c),'FHFwJ':_0x51e773(0x2f4),'StExc':_0x51e773(0x278),'yUcoI':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','Xaync':function(_0x3bdf28,_0x53ac97,_0x4accad){return _0x3bdf28(_0x53ac97,_0x4accad);},'UFpSK':'string','XgEht':'add-scenario','bWZGc':_0x51e773(0x227),'nbpkK':_0x51e773(0x22c),'zvfsN':_0x51e773(0x2ac),'knvuX':_0x51e773(0x37e),'uZfNx':'report','dBzKF':_0x51e773(0x294),'oDwcZ':'token','NEeFx':'skip-chromium','OratY':'Skip\x20authentication','Rdgqi':'force','fsPLJ':_0x51e773(0x2b8),'zZBJR':_0x51e773(0x31c),'hlXzl':'mcp','cyMsI':_0x51e773(0x254),'mybeW':_0x51e773(0x237),'YGSeL':'setup:deps','uSUEX':_0x51e773(0x245),'yOYLZ':_0x51e773(0x1d7),'uMquc':'Install\x20scope\x20for\x20plugin\x20and\x20skills','JZTTL':_0x51e773(0x2fa),'tNKcF':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','VVPSF':'url','Xysbu':function(_0x3e0293,_0x1c0911){return _0x3e0293+_0x1c0911;},'nvqtV':function(_0x485e9a){return _0x485e9a();},'JbVhc':'setup:login','xvPUR':function(_0x2b7786,_0x175e6e){return _0x2b7786(_0x175e6e);},'awFzw':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','uHJgs':'all','ZFqDy':'deps','YyFzM':'Install\x20Chromium\x20browser\x20binary','pFcmJ':_0x51e773(0x314),'UfBbd':_0x51e773(0x1f9),'lwmOO':'Set\x20up\x20a\x20local\x20browser\x20profile','sQDBG':'allow-insecure-localhost','qUhFQ':_0x51e773(0x1fc),'pZlKX':'skip-auth','cvZRg':_0x51e773(0x2f8),'UToMK':'mcp-bootstrap','nqkco':function(_0x4dce9e,_0x580978,_0x2822dc){return _0x4dce9e(_0x580978,_0x2822dc);},'txVvB':_0x51e773(0x23e),'lGdcm':_0x51e773(0x22d),'ceUBQ':_0x51e773(0x348),'UlZzE':_0x51e773(0x370),'VTYBz':'Install\x20skills\x20for\x20OpenCode','RGnIa':'skillup','JIZHC':'clean','TaHlx':_0x51e773(0x225),'VuuFC':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','CRXhn':_0x51e773(0x31b),'VuMIY':_0x51e773(0x295),'TCwjH':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','ZCNtf':_0x51e773(0x21c),'fWrgb':_0x51e773(0x297),'vQNGu':'profile\x20use','TyYYg':_0x51e773(0x36f),'SkVki':_0x51e773(0x380),'ZDeJh':_0x51e773(0x34c),'ypuWC':_0x51e773(0x1c4),'SXPil':function(_0x4158cd,_0x3ae2a4,_0x5c8d64,_0x589ae6){return _0x4158cd(_0x3ae2a4,_0x5c8d64,_0x589ae6);},'uOxUV':_0x51e773(0x2f6),'DMrCj':'profile\x20update','FFBEe':'Skip\x20interactive\x20confirmation\x20prompts.','nbuMR':'save-creds','malmP':_0x51e773(0x35b),'XTwLd':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','RAfoG':_0x51e773(0x2cf),'IFqql':_0x51e773(0x2ca),'vSsYL':'profile\x20config\x20unset','RFlqf':_0x51e773(0x28d),'SCRCc':'reset\x20<profile>','ghEwM':_0x51e773(0x313),'jMrkn':'delete\x20<profile-name>','ObLaN':'update\x20<profile-name>','ujsAn':'Update\x20authentication\x20for\x20an\x20existing\x20profile','rzPOH':_0x51e773(0x353),'wdgzy':_0x51e773(0x37b),'kowgy':_0x51e773(0x2c0),'WQOnU':function(_0xeae531,_0x551311,_0xcd8914){return _0xeae531(_0x551311,_0xcd8914);},'NAjQw':_0x51e773(0x1c0),'ZNKGO':'profile','IXyMg':_0x51e773(0x322),'PmoNi':_0x51e773(0x244),'NWNhh':'Scenario\x20index\x20(1-based)','FMbTk':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','LYZVD':_0x51e773(0x276),'DVSDT':_0x51e773(0x27d),'XWlzP':_0x51e773(0x34a),'ZkjPL':_0x51e773(0x2aa),'VgbVf':'environment-variable','rYDGg':'debug-outcome','jzGrr':'verified','upvKy':'debug-address-comments','amusp':_0x51e773(0x20d),'acyJT':_0x51e773(0x224),'apQyb':'You\x20must\x20specify\x20an\x20auth\x20subcommand','Emjhd':_0x51e773(0x234),'IKKBg':_0x51e773(0x22a),'Ljjwq':'ranger\x20start','EKWgj':_0x51e773(0x34d),'fZZdH':_0x51e773(0x2f1),'fLeri':_0x51e773(0x379),'xEDft':'base-url','FDVNG':_0x51e773(0x37a),'hCFSp':'failed','PaaDo':'incomplete','gFYWG':_0x51e773(0x1c7),'jFguf':_0x51e773(0x349),'KvZyX':_0x51e773(0x2eb),'attbo':_0x51e773(0x2b4),'VKXOd':'Name\x20of\x20the\x20environment','CjVWL':_0x51e773(0x2bd),'BwYjd':_0x51e773(0x1fd),'vADQY':'use','oJOla':function(_0x4e448f,_0x5d1d06,_0xf4ec01){return _0x4e448f(_0x5d1d06,_0xf4ec01);},'hxkYw':'ranger\x20config\x20set','bBCkk':_0x51e773(0x2d1),'zSFmH':_0x51e773(0x2d8),'XRzNE':_0x51e773(0x1e4),'jwGlD':function(_0x1d041b,_0x134256,_0x441e37){return _0x1d041b(_0x134256,_0x441e37);},'euNvm':_0x51e773(0x371),'WZPOF':'ranger\x20config\x20list','OHpqU':_0x51e773(0x263),'SVdnD':'ranger\x20config\x20unset','XwnxT':_0x51e773(0x36c),'OeFzF':'set\x20<env>\x20<key>\x20<value>','AdgYx':'get\x20<env>\x20<key>','TMKvv':'list\x20<env>','gBEUT':_0x51e773(0x333),'SjDhb':'env\x20list','QoWGn':'Name\x20of\x20the\x20environment\x20to\x20update','AUMDE':function(_0x5247c7,_0xf7c160,_0x5c0e54){return _0x5247c7(_0xf7c160,_0x5c0e54);},'XISJR':_0x51e773(0x20c),'ZEfdB':function(_0x1308d6,_0x6856a1,_0x1420c4){return _0x1308d6(_0x6856a1,_0x1420c4);},'xdeUs':'ranger\x20list','XhlYK':_0x51e773(0x2ba),'YxDaB':'Scenario\x20description','ViwFv':_0x51e773(0x358),'XRhDh':function(_0x5cb40d,_0x25b040,_0x560730){return _0x5cb40d(_0x25b040,_0x560730);},'kXVkp':'feature\x20restore','wMlMP':'Feature\x20review\x20name','dZuOI':_0x51e773(0x2f0),'peOZN':'limit','GtwsM':'feature\x20resume','HwjiB':'ranger\x20add-scenario','cIXUf':'feature\x20get-feedback','XFUQw':_0x51e773(0x2bb),'wSSoY':_0x51e773(0x310),'MWwCG':'resume\x20[id]','emqeN':'add-checklist-item\x20<description>','jHIUb':'restore\x20<id>','WwfwM':_0x51e773(0x248),'SYEhV':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','LOPji':'name','iXcSj':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','Nizay':'session-id','PFIph':_0x51e773(0x1e3),'bkMbg':function(_0x56c2ba,_0x208dfe,_0x17f781){return _0x56c2ba(_0x208dfe,_0x17f781);},'tnXlc':function(_0x303735,_0x27dab0){return _0x303735||_0x27dab0;},'uklTT':'Unknown\x20error','iacEz':_0x51e773(0x1cb),'UGUVe':_0x51e773(0x2ce),'Gpioi':_0x51e773(0x1ee),'iBfKR':'edit-scenario\x20<description>','RtLea':_0x51e773(0x378),'SnTYM':_0x51e773(0x272),'zJruk':_0x51e773(0x2fb),'HuxFG':_0x51e773(0x253),'IILaY':'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','KVrxP':'profiles','bYhpg':_0x51e773(0x228),'nFmGO':_0x51e773(0x291),'qEvwP':_0x51e773(0x36a),'ADiQN':'verify-feature','OUqnl':_0x51e773(0x1da),'CShwN':'Documentation:\x0a','cLnoy':_0x51e773(0x367),'Eyivt':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)'};return _0x277e94(_0x97ab88??process['argv'][_0x51e773(0x2de)](0x2))[_0x51e773(0x2ee)](_0x5e336a['iacEz'])[_0x51e773(0x1f1)](TOP_LEVEL_HELP)[_0x51e773(0x338)](_0x5e336a[_0x51e773(0x2ae)](getCurrentVersion))[_0x51e773(0x232)]('create\x20<name>',_0x51e773(0x217),_0x21e49a=>{const _0xe26b23=_0x51e773;return _0x21e49a['positional'](_0xe26b23(0x323),{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x5e336a['woMVj'],{'type':'string','alias':'d','description':_0x5e336a[_0xe26b23(0x210)]})['option'](_0x5e336a['fMtGI'],{'type':_0xe26b23(0x262),'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0xe26b23(0x221)]('checklist',{'type':'array','hidden':!![]});},async _0x5ee492=>{const _0x10bbd9=_0x51e773;if(!_0x5ee492['name']){console[_0x10bbd9(0x34e)](_0x5e336a['ARbAM']('Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a',_0x10bbd9(0x331))),process['exit'](0x1);return;}warnFlagRenamed(_0x5e336a['aseyC'],_0x5e336a['eLsbP'],_0x5e336a['iKVSP']);const _0x14e563=_0x5ee492['scenario']||_0x5ee492['checklist'];await _0x5e336a[_0x10bbd9(0x292)](withTelemetry,_0x5e336a['HauYy'],()=>featureCreate(_0x5ee492[_0x10bbd9(0x323)],{'description':_0x5ee492['description'],'scenarios':_0x14e563}));})['command'](_0x5e336a['UGUVe'],_0x51e773(0x325),_0x3f00b1=>{const _0x1ae4c7=_0x51e773;return _0x3f00b1['option'](_0x5e336a['VQMBe'],{'type':_0x5e336a[_0x1ae4c7(0x1e1)],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option']('limit',{'type':_0x1ae4c7(0x22b),'alias':'l','description':_0x1ae4c7(0x277),'default':0xa})[_0x1ae4c7(0x221)](_0x5e336a[_0x1ae4c7(0x2ef)],{'type':_0x5e336a['izWZE'],'alias':'o','description':_0x5e336a['dgPUR'],'default':0x0})[_0x1ae4c7(0x221)]('include-deleted',{'type':'boolean','alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x4ff15d=>{const _0x16ded5=_0x51e773;await withTelemetry(_0x16ded5(0x2ce),()=>featureList({'currentBranch':_0x4ff15d[_0x16ded5(0x27b)],'limit':_0x4ff15d[_0x16ded5(0x321)],'offset':_0x4ff15d[_0x16ded5(0x2af)],'includeDeleted':_0x4ff15d[_0x16ded5(0x31f)]}));})['command'](_0x5e336a[_0x51e773(0x326)],'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0xd9551=>{return _0xd9551['positional']('id',{'type':'string','description':_0x5e336a['FHFwJ']});},async _0x53a023=>{const _0x200421=_0x51e773;await withTelemetry(_0x5e336a[_0x200421(0x2f2)],()=>featureShow(_0x53a023['id']));})[_0x51e773(0x232)]('resume\x20[id]',_0x5e336a['Gpioi'],_0x2c7510=>{const _0x2d9689=_0x51e773;return _0x2c7510[_0x2d9689(0x23a)]('id',{'type':'string','description':_0x5e336a['yUcoI']});},async _0x557687=>{const _0x16525d=_0x51e773;await _0x5e336a[_0x16525d(0x218)](withTelemetry,'resume',()=>featureResume(_0x557687['id']));})[_0x51e773(0x232)]('add-scenario\x20<description>','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x2fc897=>{const _0x36b593=_0x51e773;return _0x2fc897[_0x36b593(0x23a)](_0x5e336a['woMVj'],{'type':'string','description':_0x36b593(0x2b1),'demandOption':!![]})['option']('id',{'type':_0x5e336a['UFpSK'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x2c9c46=>{const _0xb02441=_0x51e773;await withTelemetry(_0x5e336a[_0xb02441(0x23f)],()=>featureAddScenario(_0x2c9c46[_0xb02441(0x274)],_0x2c9c46['id']));})[_0x51e773(0x232)](_0x5e336a[_0x51e773(0x347)],_0x51e773(0x34b),_0x1239d4=>{const _0x3bf2e6=_0x51e773;return _0x1239d4[_0x3bf2e6(0x23a)](_0x5e336a[_0x3bf2e6(0x30a)],{'type':'string','description':_0x5e336a['bWZGc'],'demandOption':!![]})[_0x3bf2e6(0x221)]('scenario',{'type':'number','description':_0x3bf2e6(0x25e),'demandOption':!![]})['option']('id',{'type':_0x5e336a['UFpSK'],'description':_0x5e336a['nbpkK']});},async _0x5f37ac=>{const _0x270359=_0x51e773;await _0x5e336a['Xaync'](withTelemetry,_0x270359(0x28c),()=>featureEditScenario(_0x5f37ac['description'],{'id':_0x5f37ac['id'],'scenario':_0x5f37ac[_0x270359(0x2fc)]}));})[_0x51e773(0x232)]('report\x20[id]','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x560d62=>{const _0x5c50bb=_0x51e773;return _0x560d62['positional']('id',{'type':_0x5c50bb(0x2e6),'description':_0x5e336a['FHFwJ']})[_0x5c50bb(0x221)](_0x5e336a[_0x5c50bb(0x2cc)],{'type':'array','description':_0x5c50bb(0x282)})[_0x5c50bb(0x221)](_0x5c50bb(0x249),{'type':_0x5e336a[_0x5c50bb(0x1e1)],'description':_0x5e336a[_0x5c50bb(0x334)],'default':![]});},async _0x7f5cfc=>{const _0x5f5a6a=_0x51e773,_0x2c0775=_0x7f5cfc['exclude-scenario'],_0x2d9844=_0x2c0775?_0x2c0775['map'](_0x2d9a70=>Number(_0x2d9a70)):undefined;await _0x5e336a[_0x5f5a6a(0x292)](withTelemetry,_0x5e336a[_0x5f5a6a(0x33f)],()=>featureReportPrDescription(_0x7f5cfc['id'],{'excludeScenarios':_0x2d9844,'json':_0x7f5cfc[_0x5f5a6a(0x249)]}));})[_0x51e773(0x232)](_0x5e336a['RtLea'],'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x1242d0=>{return _0x1242d0['positional']('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x4a6e7c=>{const _0x38ed6b=_0x51e773;await _0x5e336a[_0x38ed6b(0x218)](withTelemetry,_0x5e336a['dBzKF'],()=>featureGetReview(_0x4a6e7c['id']));})[_0x51e773(0x232)](_0x5e336a['SnTYM'],'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x2af40c=>{const _0x3dec61=_0x51e773;return _0x2af40c[_0x3dec61(0x23a)]('id',{'type':_0x5e336a['UFpSK'],'description':'Feature\x20review\x20ID'});},async _0x287cf9=>{const _0x36b7cc=_0x51e773;await withTelemetry(_0x36b7cc(0x2e7),()=>featureDelete(_0x287cf9['id']));})[_0x51e773(0x232)](_0x5e336a[_0x51e773(0x1d4)],_0x5e336a['zJruk'],_0x51f952=>{const _0x4c0b9f=_0x51e773;return _0x51f952[_0x4c0b9f(0x23a)]('id',{'type':_0x4c0b9f(0x2e6),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x4f0bf9=>{await withTelemetry('restore',()=>featureRestore(_0x4f0bf9['id']));})['command'](_0x51e773(0x2e2),_0x5e336a[_0x51e773(0x2d6)],_0x2dcad8=>{const _0x23b5f5=_0x51e773,_0x4b10ee={'EGobC':'Ranger\x20API\x20token\x20(rngr_...)','qhlyY':function(_0x372b38){return _0x5e336a['nvqtV'](_0x372b38);},'LEAuX':_0x5e336a['JbVhc'],'UyvPs':'ranger','DGCnl':function(_0x4772fd){return _0x4772fd();},'DYAdk':function(_0x3d8850,_0x8fa835){return _0x5e336a['xvPUR'](_0x3d8850,_0x8fa835);},'UeOEv':'setup:skills'};return _0x2dcad8[_0x23b5f5(0x1f1)](_0x23b5f5(0x35c))['positional'](_0x23b5f5(0x1f0),{'type':_0x23b5f5(0x2e6),'description':_0x5e336a[_0x23b5f5(0x332)]})['command'](_0x5e336a[_0x23b5f5(0x2b9)],_0x23b5f5(0x33d),_0x421daa=>{const _0xa769f9=_0x23b5f5;return _0x421daa[_0xa769f9(0x221)](_0x5e336a['oDwcZ'],{'type':_0xa769f9(0x2e6),'description':_0xa769f9(0x22d)})['option'](_0x5e336a['NEeFx'],{'type':_0x5e336a[_0xa769f9(0x1e1)],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option'](_0xa769f9(0x329),{'type':_0x5e336a[_0xa769f9(0x1e1)],'description':_0x5e336a[_0xa769f9(0x1d5)],'default':![]})['option']('with-deps',{'type':_0x5e336a[_0xa769f9(0x1e1)],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]})['option'](_0xa769f9(0x245),{'type':'string','choices':['user'],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option']('url',{'type':_0xa769f9(0x2e6),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})[_0xa769f9(0x221)](_0x5e336a['Rdgqi'],{'type':_0x5e336a[_0xa769f9(0x1e1)],'description':_0x5e336a[_0xa769f9(0x28f)],'default':![]})[_0xa769f9(0x221)](_0x5e336a[_0xa769f9(0x31e)],{'type':_0x5e336a['sfrby'],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})[_0xa769f9(0x221)](_0xa769f9(0x209),{'type':'boolean','description':_0xa769f9(0x289),'default':![]})['option'](_0xa769f9(0x1dc),{'type':'boolean','description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','default':![]})['option'](_0x5e336a['hlXzl'],{'type':_0x5e336a['sfrby'],'description':'Alias\x20for\x20--mcp-bootstrap','default':![]});},async _0x1ca81e=>{const _0x9b8ed0=_0x23b5f5;(_0x1ca81e[_0x9b8ed0(0x1dc)]||_0x1ca81e['mcp'])&&await _0x5e336a[_0x9b8ed0(0x218)](withTelemetry,'mcp-bootstrap',()=>mcpBootstrap()),await withTelemetry(_0x5e336a['cyMsI'],_0x5e9348=>start(_0x1ca81e['token'],{'skipChromium':_0x1ca81e[_0x9b8ed0(0x2c5)],'skipAuth':_0x1ca81e['skip-auth'],'withDeps':_0x1ca81e[_0x9b8ed0(0x237)],'scope':_0x1ca81e['scope'],'url':_0x1ca81e['url'],'force':_0x1ca81e['force'],'opencode':_0x1ca81e['opencode'],'allowInsecureLocalhost':_0x1ca81e['allow-insecure-localhost']},_0x5e9348));})['command'](_0x5e336a['ZFqDy'],_0x5e336a[_0x23b5f5(0x1e2)],_0x434228=>{const _0xefd48b=_0x23b5f5;return _0x434228['option'](_0x5e336a[_0xefd48b(0x1cf)],{'type':_0x5e336a['sfrby'],'description':_0xefd48b(0x2f8),'default':![]});},async _0x1690d8=>{const _0x46db43=_0x23b5f5;await withTelemetry(_0x5e336a[_0x46db43(0x35e)],()=>ensureChromium(_0x1690d8['with-deps']));})['command'](_0x5e336a['pFcmJ'],_0x23b5f5(0x1ce),_0x58ac37=>{const _0x592d27=_0x23b5f5;return _0x58ac37['option'](_0x592d27(0x1e8),{'type':_0x592d27(0x2e6),'description':_0x4b10ee[_0x592d27(0x214)]})['option'](_0x592d27(0x2a0),{'type':'boolean','description':_0x592d27(0x32b),'default':![]});},async _0x2e17e0=>{const _0x2619e9=_0x23b5f5,_0x4b7085={'hxoKR':function(_0x46867d){const _0x312c73=_0x23e3;return _0x4b10ee[_0x312c73(0x2a5)](_0x46867d);},'ubtjT':function(_0x2e3f1e,_0x4d5d97){return _0x2e3f1e(_0x4d5d97);}};await withTelemetry(_0x4b10ee[_0x2619e9(0x1df)],async()=>{const _0x158d50=_0x2619e9;if(_0x2e17e0['mcp']){await _0x4b7085['hxoKR'](mcpBootstrap);const _0x18b794=await _0x4b7085['hxoKR'](refreshCliToken);if(!_0x18b794)throw new Error('Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.');const _0x240ad5=await _0x4b7085['ubtjT'](getCurrentUser,_0x18b794);if(!_0x240ad5['success'])throw new Error(_0x158d50(0x255)+_0x240ad5[_0x158d50(0x34e)]);console[_0x158d50(0x1cd)](_0x158d50(0x29e)+_0x240ad5[_0x158d50(0x1d7)]['organizationName']);return;}await authenticate(_0x2e17e0['token']);});})[_0x23b5f5(0x232)]('skills',_0x5e336a[_0x23b5f5(0x2f5)],_0x366323=>{const _0x4b9b29=_0x23b5f5;return _0x366323['option'](_0x5e336a[_0x4b9b29(0x202)],{'type':_0x4b9b29(0x2e6),'choices':[_0x5e336a[_0x4b9b29(0x344)],'project'],'description':_0x5e336a[_0x4b9b29(0x311)]})['option'](_0x4b9b29(0x31c),{'type':_0x5e336a[_0x4b9b29(0x1e1)],'description':_0x5e336a[_0x4b9b29(0x22f)],'default':![]});},async _0x1befb8=>{const _0x21822a=_0x23b5f5;await withTelemetry(_0x4b10ee[_0x21822a(0x359)],async()=>{const _0x415fab=_0x21822a,_0x5f33bd=_0x1befb8[_0x415fab(0x245)];if(_0x1befb8[_0x415fab(0x31c)]){const _0x572b56=await ensureOpencodePluginConfig(_0x5f33bd);_0x572b56&&await installSkill(_0x4b10ee[_0x415fab(0x342)],{'level':_0x572b56[_0x415fab(0x245)],'cliVersion':_0x4b10ee[_0x415fab(0x21a)](getCurrentVersion),'platform':_0x415fab(0x31c)});}else await _0x4b10ee['DYAdk'](ensureClaudePlugin,_0x5f33bd),await _0x4b10ee['DYAdk'](ensureClaudeSkills,_0x5f33bd);});})[_0x23b5f5(0x232)](_0x23b5f5(0x25d),_0x5e336a['lwmOO'],_0x4c0d0a=>{const _0x309e58=_0x23b5f5;return _0x4c0d0a[_0x309e58(0x221)]('scope',{'type':'string','choices':[_0x5e336a[_0x309e58(0x344)]],'description':_0x5e336a[_0x309e58(0x1db)]})[_0x309e58(0x221)](_0x5e336a['VVPSF'],{'type':_0x5e336a[_0x309e58(0x301)],'description':_0x309e58(0x1d0)})['option'](_0x309e58(0x329),{'type':_0x5e336a[_0x309e58(0x1e1)],'description':'Skip\x20browser\x20authentication','default':![]})[_0x309e58(0x221)]('force',{'type':_0x5e336a[_0x309e58(0x1e1)],'description':_0x309e58(0x2b8),'default':![]})[_0x309e58(0x221)]('allow-insecure-localhost',{'type':_0x5e336a['sfrby'],'description':_0x309e58(0x289),'default':![]});},async _0x42b6ac=>{const _0x5bec55=_0x23b5f5,_0x311a7f=_0x42b6ac['scope'];_0x311a7f!==undefined&&_0x311a7f!==_0x5bec55(0x1d7)&&(console['error'](_0x5e336a[_0x5bec55(0x28b)](_0x5bec55(0x260)+_0x311a7f+_0x5bec55(0x374),'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20')+'Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.'),process['exit'](0x1)),await withTelemetry('setup:profiles',_0x3358fa=>ensureLocalEnv({'url':_0x42b6ac['url'],'force':_0x42b6ac[_0x5bec55(0x2ea)],'allowInsecureLocalhost':_0x42b6ac['allow-insecure-localhost'],'scope':'user'},_0x3358fa));})['option'](_0x23b5f5(0x2c5),{'type':_0x23b5f5(0x29d),'description':_0x23b5f5(0x33c),'default':![]})['option'](_0x23b5f5(0x245),{'type':_0x5e336a['UFpSK'],'choices':['user'],'hidden':!![],'description':_0x5e336a['tNKcF']})[_0x23b5f5(0x221)](_0x23b5f5(0x35d),{'type':_0x5e336a[_0x23b5f5(0x301)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option']('force',{'type':'boolean','description':_0x23b5f5(0x2b8),'default':![]})[_0x23b5f5(0x221)]('opencode',{'type':_0x5e336a['sfrby'],'description':_0x23b5f5(0x2fa),'default':![]})['option'](_0x5e336a[_0x23b5f5(0x2d3)],{'type':_0x5e336a['sfrby'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0x23b5f5(0x221)]('mcp-bootstrap',{'type':'boolean','description':_0x5e336a['qUhFQ'],'default':![]})['option'](_0x5e336a['pZlKX'],{'type':_0x5e336a[_0x23b5f5(0x1e1)],'description':_0x23b5f5(0x265),'default':![]})[_0x23b5f5(0x221)](_0x5e336a[_0x23b5f5(0x1cf)],{'type':_0x5e336a[_0x23b5f5(0x1e1)],'description':_0x5e336a[_0x23b5f5(0x2d2)],'default':![]})['option'](_0x5e336a['oDwcZ'],{'type':_0x23b5f5(0x2e6),'hidden':!![],'description':'API\x20token'});},async _0x262269=>{const _0x23b1e7=_0x51e773,_0x32d7b6=_0x262269['tokenOrSubcommand'],_0x2c39fa=_0x262269[_0x23b1e7(0x1e8)]??_0x32d7b6;_0x262269['mcp-bootstrap']&&await withTelemetry(_0x5e336a[_0x23b1e7(0x2d4)],()=>mcpBootstrap()),await _0x5e336a['nqkco'](withTelemetry,_0x5e336a['txVvB'],_0x2e9ab7=>start(_0x2c39fa,{'skipChromium':_0x262269['skip-chromium'],'skipAuth':_0x262269[_0x23b1e7(0x329)],'withDeps':_0x262269['with-deps'],'scope':_0x262269['scope'],'url':_0x262269[_0x23b1e7(0x35d)],'force':_0x262269['force'],'opencode':_0x262269[_0x23b1e7(0x31c)],'allowInsecureLocalhost':_0x262269['allow-insecure-localhost']},_0x2e9ab7));})['command']('setup-ci\x20<token>',![],_0x13f5b0=>{const _0x438bf5=_0x51e773;return _0x13f5b0['positional'](_0x5e336a[_0x438bf5(0x2e0)],{'type':_0x5e336a[_0x438bf5(0x301)],'description':_0x5e336a[_0x438bf5(0x26c)],'demandOption':!![]})[_0x438bf5(0x221)]('profile',{'type':_0x5e336a['UFpSK'],'description':_0x5e336a[_0x438bf5(0x246)]})['option'](_0x438bf5(0x327),{'type':_0x438bf5(0x2e6),'description':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)'})[_0x438bf5(0x221)]('skip-chromium',{'type':_0x5e336a['sfrby'],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x121581=>{const _0x3c3625=_0x51e773;await withTelemetry(_0x5e336a[_0x3c3625(0x2da)],_0x4422aa=>setupCi(_0x121581['token'],{'profile':_0x121581[_0x3c3625(0x2cb)],'baseUrl':_0x121581['base-url'],'skipChromium':_0x121581['skip-chromium']},_0x4422aa));})['command'](_0x5e336a['pFcmJ'],_0x51e773(0x30d),()=>{},async()=>{await withTelemetry('login',()=>login());})['command'](_0x5e336a[_0x51e773(0x2bc)],'Install\x20Ranger\x20skills',_0x501226=>{const _0x53534c=_0x51e773;return _0x501226[_0x53534c(0x221)](_0x53534c(0x31c),{'type':_0x53534c(0x29d),'description':_0x5e336a[_0x53534c(0x298)],'default':![]})[_0x53534c(0x221)](_0x5e336a['uSUEX'],{'type':'string','choices':[_0x5e336a[_0x53534c(0x344)],_0x53534c(0x1ff)],'description':'Install\x20scope\x20for\x20skills'});},async _0xae48cb=>{const _0x37823a=_0x51e773,_0xe4041f=Boolean(_0xae48cb['opencode']);await _0x5e336a[_0x37823a(0x218)](withTelemetry,_0x5e336a[_0x37823a(0x2bc)],()=>skillup({'autoInstall':_0xae48cb['scope'],'platform':_0xe4041f?_0x37823a(0x31c):'claude'}));})[_0x51e773(0x232)](_0x5e336a['JIZHC'],_0x5e336a['IILaY'],()=>{},async()=>{await withTelemetry(_0x5e336a['JIZHC'],()=>clean());})[_0x51e773(0x232)]([_0x5e336a['ZNKGO'],_0x5e336a[_0x51e773(0x233)]],_0x5e336a[_0x51e773(0x302)],_0x39a2d7=>{const _0x1c3275=_0x51e773,_0x3b54d6={'LZHvh':function(_0x541b1f,_0xcf7324,_0x2ecba4,_0xc5c3f4){return _0x5e336a['SXPil'](_0x541b1f,_0xcf7324,_0x2ecba4,_0xc5c3f4);},'YtKZw':'profile\x20add','MfJgC':_0x5e336a[_0x1c3275(0x1ef)],'nFBGZ':'profile-name','tivcT':'boolean','GHqAC':'Skip\x20the\x20deletion\x20confirmation\x20prompt.','okFSx':function(_0x2e01a9,_0x56b3b9,_0x30f50a){return _0x2e01a9(_0x56b3b9,_0x30f50a);},'Pdpbe':'profile\x20delete','ErmWq':'profile\x20ls','AroCe':'string','KSIDp':_0x5e336a[_0x1c3275(0x203)],'hkRTN':function(_0x2f42d3,_0xf29b7a,_0x288656){return _0x2f42d3(_0xf29b7a,_0x288656);},'FzAEK':_0x5e336a['DMrCj'],'GNSSw':_0x1c3275(0x26d),'ytLEc':_0x1c3275(0x2b3),'jOhMC':_0x1c3275(0x230),'thKuS':'dry-run','JOqiH':_0x5e336a['FFBEe'],'DEilT':_0x5e336a[_0x1c3275(0x33e)],'PHgmE':function(_0x58bf55,_0x2e4f5f,_0x5b703e){return _0x58bf55(_0x2e4f5f,_0x5b703e);},'ZeKPK':_0x5e336a['malmP'],'pszHh':_0x1c3275(0x2cb),'LSJiN':_0x1c3275(0x2a7),'LqvXd':_0x5e336a['XTwLd'],'MXBmp':'value','maeNF':_0x5e336a['RAfoG'],'thNLx':_0x5e336a[_0x1c3275(0x37d)],'HGVFn':_0x5e336a[_0x1c3275(0x23d)],'SReeC':_0x1c3275(0x34f),'iDBlX':'get\x20<profile>\x20<key>','uopWu':'Get\x20a\x20config\x20value','ySBPV':'list\x20<profile>','CpzfK':_0x5e336a['RFlqf'],'lfUKT':_0x5e336a[_0x1c3275(0x303)]};return _0x39a2d7['usage'](PROFILE_HELP)['command']('add\x20<profile-name>',_0x1c3275(0x354),_0x478b52=>{const _0x17a153=_0x1c3275;return _0x478b52[_0x17a153(0x23a)](_0x5e336a['TaHlx'],{'type':'string','description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x5e336a['sfrby'],'hidden':!![],'default':![]})['option']('skip-auth',{'type':_0x17a153(0x29d),'description':_0x17a153(0x337),'default':![]})['option'](_0x5e336a[_0x17a153(0x1f5)],{'type':_0x17a153(0x2e6),'description':_0x5e336a['VuuFC']})[_0x17a153(0x221)](_0x5e336a['Rdgqi'],{'type':_0x5e336a['sfrby'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x17a153(0x221)](_0x5e336a[_0x17a153(0x1ef)],{'type':_0x17a153(0x2e6),'description':_0x5e336a[_0x17a153(0x2d5)]})['option']('allow-insecure-localhost',{'type':'boolean','description':_0x17a153(0x2f6),'default':![]})[_0x17a153(0x221)]('safe-mode',{'type':_0x5e336a['sfrby'],'description':_0x5e336a['TCwjH'],'default':![]})['option'](_0x17a153(0x2ec),{'type':_0x5e336a[_0x17a153(0x301)],'array':!![],'description':_0x17a153(0x28a)})[_0x17a153(0x221)](_0x5e336a[_0x17a153(0x202)],{'type':'string','choices':[_0x5e336a[_0x17a153(0x344)],_0x17a153(0x1ff)],'description':_0x5e336a['ZCNtf']})['option']('yes',{'type':_0x5e336a[_0x17a153(0x1e1)],'alias':'y','description':_0x5e336a['fWrgb'],'default':![]});},async _0x5cfd50=>{const _0x12fa87=_0x1c3275;await _0x3b54d6['LZHvh'](withTelemetry,_0x3b54d6[_0x12fa87(0x32c)],_0x2fdbe5=>addEnv(_0x5cfd50[_0x12fa87(0x225)],{'ci':_0x5cfd50['ci'],'skipAuth':_0x5cfd50[_0x12fa87(0x329)],'url':_0x5cfd50['url'],'force':_0x5cfd50[_0x12fa87(0x2ea)],'cdpEndpoint':_0x5cfd50['cdp-endpoint'],'allowInsecureLocalhost':_0x5cfd50[_0x12fa87(0x209)],'safeMode':_0x5cfd50[_0x12fa87(0x2e4)],'setupHeader':_0x5cfd50[_0x12fa87(0x2ec)],'scope':_0x5cfd50[_0x12fa87(0x245)],'yes':_0x5cfd50['yes']},_0x2fdbe5),{'isElectron':Boolean(_0x5cfd50[_0x3b54d6[_0x12fa87(0x1cc)]])});})['command'](_0x1c3275(0x2d7),_0x5e336a[_0x1c3275(0x2df)],_0x3b2589=>{const _0x54cf76=_0x1c3275;return _0x3b2589[_0x54cf76(0x23a)]('profile-name',{'type':'string','description':'Name\x20of\x20the\x20profile','demandOption':!![]});},async _0x1b5770=>{await withTelemetry(_0x5e336a['vQNGu'],()=>useEnv(_0x1b5770['profile-name']));})[_0x1c3275(0x232)](_0x5e336a[_0x1c3275(0x339)],_0x1c3275(0x304),_0x2342b8=>{const _0x2670a4=_0x1c3275;return _0x2342b8[_0x2670a4(0x23a)](_0x3b54d6['nFBGZ'],{'type':'string','description':_0x2670a4(0x257),'demandOption':!![]})[_0x2670a4(0x221)]('yes',{'type':_0x3b54d6['tivcT'],'alias':'y','description':_0x3b54d6[_0x2670a4(0x26e)],'default':![]});},async _0x140fc1=>{const _0x59c43b=_0x1c3275;await _0x3b54d6['okFSx'](withTelemetry,_0x3b54d6[_0x59c43b(0x1c8)],()=>deleteProfile(_0x140fc1[_0x59c43b(0x225)],{'yes':_0x140fc1[_0x59c43b(0x324)]}));})['command']('encrypt-auth\x20<profile>',![],_0x392d1f=>{const _0x1227c7=_0x1c3275;return _0x392d1f[_0x1227c7(0x23a)](_0x1227c7(0x2cb),{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x1b6abb=>{await _0x5e336a['nqkco'](withTelemetry,_0x5e336a['TyYYg'],()=>authEncrypt(_0x1b6abb['profile']));})['command']('ls',_0x1c3275(0x2a9),()=>{},async()=>{const _0x1557b8=_0x1c3275;await withTelemetry(_0x3b54d6[_0x1557b8(0x29b)],()=>envList());})[_0x1c3275(0x232)](_0x5e336a[_0x1c3275(0x305)],_0x5e336a[_0x1c3275(0x1f2)],_0x3727bb=>{const _0x397a0b=_0x1c3275;return _0x3727bb['positional'](_0x3b54d6[_0x397a0b(0x1dd)],{'type':_0x3b54d6[_0x397a0b(0x1fb)],'description':_0x397a0b(0x261),'demandOption':!![]})['option']('allow-insecure-localhost',{'type':_0x3b54d6['tivcT'],'description':_0x3b54d6[_0x397a0b(0x341)]})['option']('manual',{'type':_0x3b54d6['tivcT'],'description':_0x397a0b(0x30c)});},async _0x28dfaf=>{const _0x56498d=_0x1c3275;await _0x3b54d6[_0x56498d(0x2c3)](withTelemetry,_0x3b54d6[_0x56498d(0x200)],_0x47b946=>updateEnv(_0x28dfaf['profile-name'],_0x47b946,{'allowInsecureLocalhost':_0x28dfaf['allow-insecure-localhost'],'manual':_0x28dfaf[_0x56498d(0x24a)]}));})[_0x1c3275(0x232)](_0x5e336a[_0x1c3275(0x2a1)],![],_0x3a4f5a=>{const _0x5d5702=_0x1c3275;return _0x3a4f5a[_0x5d5702(0x23a)]('name',{'type':'string','description':_0x5e336a['SkVki'],'demandOption':!![]});},async _0x3d341b=>{const _0x52d417=_0x1c3275,_0x10c533={'iNsAy':function(_0x110875,_0x43459e){return _0x110875===_0x43459e;},'WjViA':_0x5e336a['ZDeJh'],'kSmKc':_0x52d417(0x340)};await withTelemetry(_0x5e336a['ypuWC'],async()=>{const _0x5b24d5=_0x52d417,_0x1389c2=process['env'][_0x5b24d5(0x32d)],_0x6de44f=process['env'][_0x5b24d5(0x350)];(!_0x1389c2||!_0x6de44f)&&(console[_0x5b24d5(0x34e)](_0x5b24d5(0x269)),process['exit'](0x1));const _0x4133a3=_0x3d341b['name'],_0x4980fb=await serverSideLogin(_0x4133a3,{'force':!![]});_0x10c533['iNsAy'](_0x4980fb[_0x5b24d5(0x288)],_0x10c533['WjViA'])&&(console['error'](_0x10c533[_0x5b24d5(0x2c7)]),process[_0x5b24d5(0x20e)](0x1)),_0x4980fb['status']===_0x5b24d5(0x24f)&&(console['error'](_0x5b24d5(0x1e9)+(_0x4980fb[_0x5b24d5(0x34e)]??'unknown\x20error')),_0x4980fb[_0x5b24d5(0x1c1)]&&console['error'](_0x4980fb[_0x5b24d5(0x1c1)]),process[_0x5b24d5(0x20e)](0x1)),console[_0x5b24d5(0x1cd)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x4133a3+'\x27.\x20Session\x20saved.');});})['command']('migrate\x20[profile-name]',![],_0x5f34a0=>{const _0x39f2d9=_0x1c3275;return _0x5f34a0[_0x39f2d9(0x23a)](_0x39f2d9(0x225),{'type':'string','description':_0x3b54d6['GNSSw']})[_0x39f2d9(0x221)](_0x3b54d6[_0x39f2d9(0x1c3)],{'type':_0x3b54d6[_0x39f2d9(0x357)],'description':_0x3b54d6['jOhMC'],'default':![]})['option'](_0x3b54d6[_0x39f2d9(0x207)],{'type':_0x39f2d9(0x29d),'description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})['option'](_0x39f2d9(0x324),{'type':'boolean','alias':'y','description':_0x3b54d6[_0x39f2d9(0x363)],'default':![]})['option'](_0x3b54d6[_0x39f2d9(0x2d0)],{'type':_0x3b54d6[_0x39f2d9(0x357)],'description':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','default':![]});},async _0xb6574a=>{const _0x5bd3a2=_0x1c3275;await _0x3b54d6['PHgmE'](withTelemetry,_0x3b54d6['ZeKPK'],_0x5f08e0=>migrateProfile({'profileName':_0xb6574a['profile-name'],'all':_0xb6574a[_0x5bd3a2(0x2b3)],'dryRun':_0xb6574a['dry-run'],'yes':_0xb6574a[_0x5bd3a2(0x324)],'saveCreds':_0xb6574a[_0x5bd3a2(0x239)]},_0x5f08e0));})['command'](_0x1c3275(0x1da),_0x5e336a['wdgzy'],_0x1e92d4=>{const _0x309b34=_0x1c3275,_0x4cf09a={'ICJLx':_0x309b34(0x2e6),'FKZQk':_0x309b34(0x1e4),'byxyo':_0x3b54d6[_0x309b34(0x243)],'YavtL':_0x309b34(0x2cb),'bIPll':_0x3b54d6['LSJiN'],'vmWFY':_0x309b34(0x2f7)};return _0x1e92d4['usage'](PROFILE_CONFIG_HELP)['command'](_0x309b34(0x2e9),_0x309b34(0x307),_0x22d267=>{const _0x4cf7a1=_0x309b34;return _0x22d267[_0x4cf7a1(0x23a)](_0x3b54d6['pszHh'],{'type':'string','description':_0x3b54d6[_0x4cf7a1(0x268)],'demandOption':!![]})['positional']('key',{'type':_0x3b54d6[_0x4cf7a1(0x1fb)],'description':_0x3b54d6[_0x4cf7a1(0x32a)],'demandOption':!![]})[_0x4cf7a1(0x23a)](_0x3b54d6['MXBmp'],{'type':_0x3b54d6['AroCe'],'description':_0x3b54d6[_0x4cf7a1(0x25a)],'demandOption':!![]});},async _0x2d5322=>{const _0x1b4446=_0x309b34;await _0x3b54d6[_0x1b4446(0x2c4)](withTelemetry,'profile\x20config\x20set',()=>configSet(_0x2d5322[_0x1b4446(0x2cb)],_0x2d5322['key'],_0x2d5322['value']));})[_0x309b34(0x232)](_0x3b54d6[_0x309b34(0x219)],_0x3b54d6[_0x309b34(0x212)],_0x98be09=>{const _0x130037=_0x309b34;return _0x98be09['positional'](_0x130037(0x2cb),{'type':_0x4cf09a[_0x130037(0x345)],'description':_0x130037(0x2a7),'demandOption':!![]})['positional'](_0x4cf09a[_0x130037(0x1e7)],{'type':_0x4cf09a[_0x130037(0x345)],'description':_0x4cf09a[_0x130037(0x376)],'demandOption':!![]});},async _0x3e2872=>{const _0x29c99d=_0x309b34;await _0x3b54d6[_0x29c99d(0x2c4)](withTelemetry,_0x3b54d6[_0x29c99d(0x32f)],()=>configGet(_0x3e2872['profile'],_0x3e2872['key']));})[_0x309b34(0x232)](_0x3b54d6[_0x309b34(0x21f)],_0x3b54d6['CpzfK'],_0x17a289=>{const _0x498d57=_0x309b34;return _0x17a289[_0x498d57(0x23a)](_0x3b54d6[_0x498d57(0x1d2)],{'type':_0x3b54d6['AroCe'],'description':_0x3b54d6['LSJiN'],'demandOption':!![]});},async _0x88cd37=>{const _0x4cf56a=_0x309b34;await withTelemetry(_0x4cf56a(0x204),()=>configList(_0x88cd37['profile']));})[_0x309b34(0x232)](_0x309b34(0x285),_0x309b34(0x216),_0x1afa24=>{const _0x58027b=_0x309b34;return _0x1afa24[_0x58027b(0x23a)](_0x4cf09a['YavtL'],{'type':'string','description':_0x4cf09a['bIPll'],'demandOption':!![]})['positional']('key',{'type':'string','description':_0x4cf09a['vmWFY'],'demandOption':!![]});},async _0x3bc031=>{const _0x521898=_0x309b34;await withTelemetry(_0x3b54d6[_0x521898(0x30f)],()=>configUnset(_0x3bc031[_0x521898(0x2cb)],_0x3bc031['key']));})['command'](_0x3b54d6[_0x309b34(0x1f4)],_0x309b34(0x1c9),_0x1fb8a7=>{const _0x55b6db=_0x309b34;return _0x1fb8a7[_0x55b6db(0x23a)](_0x3b54d6[_0x55b6db(0x1d2)],{'type':_0x3b54d6[_0x55b6db(0x1fb)],'description':_0x3b54d6[_0x55b6db(0x268)],'demandOption':!![]});},async _0x3a3d10=>{await withTelemetry('profile\x20config\x20reset',()=>configReset(_0x3a3d10['profile']));})[_0x309b34(0x2a3)](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})[_0x51e773(0x232)]('status',_0x51e773(0x213),()=>{},async()=>{await withTelemetry('status',()=>status());})['command']('update',_0x51e773(0x256),()=>{},async()=>{await _0x5e336a['nAlxd'](withTelemetry,_0x5e336a['kowgy'],()=>update());})[_0x51e773(0x232)](_0x5e336a['NAjQw'],_0x5e336a['nFmGO'],()=>{},async()=>{const _0x45639b=_0x51e773,_0x1bb985={'gBfUe':function(_0x2ef841){return _0x2ef841();}};await _0x5e336a[_0x45639b(0x317)](withTelemetry,_0x5e336a['NAjQw'],async()=>{const _0x38b2bb=_0x45639b,_0x18e586=await _0x1bb985[_0x38b2bb(0x252)](getToken);if(!_0x18e586)throw new Error(_0x38b2bb(0x2c6));console[_0x38b2bb(0x1cd)](_0x18e586);});})[_0x51e773(0x232)]('go','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.',_0x1ca368=>{const _0x4bf6f7=_0x51e773;return _0x1ca368['option']('feature',{'type':_0x5e336a[_0x4bf6f7(0x301)],'description':'Optional\x20feature\x20ID'})['option'](_0x5e336a[_0x4bf6f7(0x36e)],{'type':_0x5e336a[_0x4bf6f7(0x301)],'description':_0x5e336a['IXyMg']})[_0x4bf6f7(0x221)]('notes',{'type':_0x5e336a['UFpSK'],'description':_0x5e336a[_0x4bf6f7(0x373)]})['option'](_0x4bf6f7(0x2fc),{'type':_0x5e336a[_0x4bf6f7(0x2b2)],'description':_0x5e336a['NWNhh']})['option'](_0x4bf6f7(0x379),{'type':_0x5e336a[_0x4bf6f7(0x301)],'description':_0x5e336a['FMbTk']})['option']('base-url',{'type':'string','description':_0x5e336a['LYZVD']})[_0x4bf6f7(0x221)](_0x4bf6f7(0x223),{'type':_0x5e336a['UFpSK'],'description':_0x4bf6f7(0x201)})['option'](_0x5e336a['DVSDT'],{'type':_0x5e336a['sfrby'],'description':_0x5e336a[_0x4bf6f7(0x247)],'default':![]})[_0x4bf6f7(0x221)](_0x5e336a['ZkjPL'],{'type':_0x5e336a[_0x4bf6f7(0x301)],'array':!![],'alias':_0x5e336a[_0x4bf6f7(0x2cd)],'description':_0x4bf6f7(0x2a8)})[_0x4bf6f7(0x221)](_0x5e336a['rYDGg'],{'type':_0x4bf6f7(0x2e6),'hidden':!![],'choices':[_0x5e336a['jzGrr'],'partial','blocked','failed','incomplete']})[_0x4bf6f7(0x221)](_0x5e336a['upvKy'],{'type':_0x5e336a[_0x4bf6f7(0x1e1)],'hidden':!![]})['option'](_0x4bf6f7(0x2f1),{'type':_0x4bf6f7(0x2e6),'hidden':!![]})['option'](_0x5e336a[_0x4bf6f7(0x309)],{'type':_0x5e336a[_0x4bf6f7(0x301)],'hidden':!![]})['option'](_0x5e336a[_0x4bf6f7(0x33a)],{'type':_0x4bf6f7(0x22b),'hidden':!![]});},async _0x789a34=>{await runGoCommand(_0x789a34);})[_0x51e773(0x232)](_0x5e336a[_0x51e773(0x2ab)],![],_0x21ddb3=>{const _0xe0f337=_0x51e773,_0x272216={'wtIpY':'ranger\x20auth\x20encrypt'};return _0x21ddb3[_0xe0f337(0x232)]('encrypt\x20<profile>',![],_0x3e9086=>{const _0x214535=_0xe0f337;return _0x3e9086['positional']('profile',{'type':_0x214535(0x2e6),'description':'Profile\x20name','demandOption':!![]});},async _0x44c77f=>{const _0x28e241=_0xe0f337;warnRenamed(_0x272216['wtIpY'],_0x28e241(0x36d)),await authEncrypt(_0x44c77f[_0x28e241(0x2cb)]);})['demandCommand'](0x1,_0x5e336a[_0xe0f337(0x266)]);},()=>{})['command'](_0x51e773(0x24c),![],_0x38602a=>{const _0x100db4=_0x51e773;return _0x38602a['positional'](_0x100db4(0x1e8),{'type':_0x5e336a[_0x100db4(0x301)],'description':_0x5e336a['Emjhd']})['option']('skip-chromium',{'type':'boolean','description':_0x100db4(0x33c),'default':![]})[_0x100db4(0x221)](_0x5e336a[_0x100db4(0x202)],{'type':_0x5e336a['UFpSK'],'choices':[_0x5e336a[_0x100db4(0x344)]],'hidden':!![],'description':_0x100db4(0x2b5)})['option']('url',{'type':_0x5e336a['UFpSK'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x100db4(0x2ea),{'type':_0x5e336a[_0x100db4(0x1e1)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x100db4(0x221)](_0x5e336a['pZlKX'],{'type':'boolean','description':'Skip\x20authentication','default':![]})[_0x100db4(0x221)](_0x5e336a[_0x100db4(0x1cf)],{'type':_0x5e336a['sfrby'],'description':_0x5e336a['IKKBg'],'default':![]});},async _0x228f5e=>{const _0x30eefc=_0x51e773;warnRenamed(_0x5e336a['Ljjwq'],_0x5e336a[_0x30eefc(0x2d9)]),await _0x5e336a['nqkco'](withTelemetry,_0x5e336a[_0x30eefc(0x279)],_0x5e28a0=>start(_0x228f5e[_0x30eefc(0x1e8)],{'skipChromium':_0x228f5e[_0x30eefc(0x2c5)],'skipAuth':_0x228f5e[_0x30eefc(0x329)],'withDeps':_0x228f5e['with-deps'],'scope':_0x228f5e['scope'],'url':_0x228f5e['url'],'force':_0x228f5e['force']},_0x5e28a0));})['command'](_0x5e336a['ADiQN'],![],_0x514dc5=>{const _0x512958=_0x51e773;return _0x514dc5[_0x512958(0x221)](_0x5e336a['fZZdH'],{'type':'string','description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})['option'](_0x5e336a['amusp'],{'type':'string','description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})['option'](_0x5e336a[_0x512958(0x33a)],{'type':'number','description':_0x5e336a['NWNhh']})[_0x512958(0x221)](_0x5e336a[_0x512958(0x36e)],{'type':_0x512958(0x2e6),'hidden':!![]})['option']('notes',{'type':_0x5e336a['UFpSK'],'hidden':!![]})['option'](_0x5e336a['fMtGI'],{'type':_0x5e336a['izWZE'],'hidden':!![]})[_0x512958(0x221)](_0x5e336a['fLeri'],{'type':_0x5e336a[_0x512958(0x301)],'description':_0x512958(0x226)})['option'](_0x5e336a[_0x512958(0x1f6)],{'type':'string','description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})['option']('model',{'type':'string','hidden':!![]})[_0x512958(0x221)](_0x5e336a[_0x512958(0x24d)],{'type':'boolean','hidden':!![],'default':![]})[_0x512958(0x221)]('env-var',{'type':_0x512958(0x2e6),'array':!![],'alias':'environment-variable','hidden':!![]})[_0x512958(0x221)](_0x512958(0x238),{'type':_0x5e336a[_0x512958(0x301)],'hidden':!![],'choices':[_0x512958(0x293),_0x5e336a[_0x512958(0x2e3)],_0x512958(0x229),_0x5e336a['hCFSp'],_0x5e336a['PaaDo']]});},async _0x24b55b=>{const _0x32bbb9=_0x51e773;await _0x5e336a[_0x32bbb9(0x218)](runGoCommand,_0x24b55b,!![]);})['command'](_0x51e773(0x25c),![],_0x11a568=>{const _0x3bfd2f=_0x51e773;return _0x11a568['positional']('env-name',{'type':_0x3bfd2f(0x2e6),'description':_0x5e336a['gFYWG'],'demandOption':!![]})[_0x3bfd2f(0x221)]('ci',{'type':_0x5e336a[_0x3bfd2f(0x1e1)],'description':_0x5e336a[_0x3bfd2f(0x20b)],'default':![]})[_0x3bfd2f(0x221)](_0x5e336a[_0x3bfd2f(0x258)],{'type':_0x3bfd2f(0x29d),'description':_0x3bfd2f(0x337),'default':![]});},async _0x5a13cb=>{const _0x3d80da=_0x51e773;warnRenamed(_0x5e336a['KvZyX'],_0x5e336a[_0x3d80da(0x23c)]),await withTelemetry('add\x20env',_0x453db4=>addEnv(_0x5a13cb[_0x3d80da(0x335)],{'ci':_0x5a13cb['ci'],'skipAuth':_0x5a13cb[_0x3d80da(0x329)]},_0x453db4));})['command']('use\x20<env-name>',![],_0x17fb20=>{const _0x3ce184=_0x51e773;return _0x17fb20[_0x3ce184(0x23a)]('env-name',{'type':_0x5e336a[_0x3ce184(0x301)],'description':_0x5e336a['VKXOd'],'demandOption':!![]});},async _0x137562=>{const _0x19f3f8=_0x51e773;warnRenamed(_0x5e336a['CjVWL'],_0x5e336a[_0x19f3f8(0x2b7)]),await withTelemetry(_0x5e336a[_0x19f3f8(0x2e1)],()=>useEnv(_0x137562[_0x19f3f8(0x335)]));})['command'](_0x5e336a[_0x51e773(0x1e0)],![],_0x58c6b1=>{const _0x694656=_0x51e773,_0x35933f={'hbfQF':'env','oecQk':_0x694656(0x2e6),'wnoBi':function(_0x32fc71,_0x738ff9,_0x41aab5){return _0x32fc71(_0x738ff9,_0x41aab5);},'ywocL':_0x5e336a[_0x694656(0x346)],'GfSbr':_0x5e336a['OHpqU'],'KNMKO':_0x694656(0x369),'bOwen':_0x5e336a[_0x694656(0x360)],'zZiQz':_0x5e336a[_0x694656(0x375)]};return _0x58c6b1['command'](_0x5e336a['OeFzF'],![],_0x372d16=>{const _0xd4aa2c=_0x694656;return _0x372d16[_0xd4aa2c(0x23a)](_0x5e336a[_0xd4aa2c(0x1d8)],{'type':_0xd4aa2c(0x2e6),'description':'Environment\x20name','demandOption':!![]})['positional']('key',{'type':_0xd4aa2c(0x2e6),'description':_0x5e336a['XTwLd'],'demandOption':!![]})[_0xd4aa2c(0x23a)](_0xd4aa2c(0x251),{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0x16513f=>{const _0x131b05=_0x694656;_0x5e336a[_0x131b05(0x21b)](warnRenamed,_0x5e336a['hxkYw'],_0x5e336a[_0x131b05(0x2fe)]),await _0x5e336a[_0x131b05(0x218)](withTelemetry,'config\x20set',()=>configSet(_0x16513f[_0x131b05(0x2f1)],_0x16513f[_0x131b05(0x1e4)],_0x16513f['value']));})[_0x694656(0x232)](_0x5e336a['AdgYx'],![],_0x31b7e4=>{const _0x80b4f2=_0x694656;return _0x31b7e4[_0x80b4f2(0x23a)]('env',{'type':'string','description':_0x5e336a['zSFmH'],'demandOption':!![]})[_0x80b4f2(0x23a)](_0x5e336a[_0x80b4f2(0x35a)],{'type':_0x5e336a['UFpSK'],'description':'Config\x20key','demandOption':!![]});},async _0x2c78b5=>{const _0x304e99=_0x694656;warnRenamed(_0x304e99(0x2ed),'ranger\x20profile\x20config\x20get'),await _0x5e336a[_0x304e99(0x220)](withTelemetry,_0x5e336a['euNvm'],()=>configGet(_0x2c78b5[_0x304e99(0x2f1)],_0x2c78b5[_0x304e99(0x1e4)]));})[_0x694656(0x232)](_0x5e336a['TMKvv'],![],_0x462132=>{const _0x581971=_0x694656;return _0x462132[_0x581971(0x23a)](_0x35933f[_0x581971(0x35f)],{'type':_0x35933f['oecQk'],'description':'Environment\x20name','demandOption':!![]});},async _0x127ddc=>{const _0x3fb8fd=_0x694656;_0x35933f['wnoBi'](warnRenamed,_0x35933f[_0x3fb8fd(0x2e8)],_0x35933f['GfSbr']),await withTelemetry(_0x35933f[_0x3fb8fd(0x1d9)],()=>configList(_0x127ddc[_0x3fb8fd(0x2f1)]));})[_0x694656(0x232)](_0x694656(0x28e),![],_0x55113e=>{const _0x4d0b01=_0x694656;return _0x55113e[_0x4d0b01(0x23a)]('env',{'type':'string','description':'Environment\x20name','demandOption':!![]})['positional'](_0x5e336a[_0x4d0b01(0x35a)],{'type':_0x4d0b01(0x2e6),'description':_0x4d0b01(0x2f7),'demandOption':!![]});},async _0x18dc84=>{const _0x5eaf8c=_0x694656;warnRenamed(_0x35933f['bOwen'],_0x35933f[_0x5eaf8c(0x271)]),await withTelemetry(_0x5eaf8c(0x235),()=>configUnset(_0x18dc84['env'],_0x18dc84['key']));})[_0x694656(0x2a3)](0x1,_0x5e336a[_0x694656(0x2a6)]);})['command']('env',![],_0x6e993f=>{const _0x366095=_0x51e773;return _0x6e993f['command']('ls',![],()=>{},async()=>{const _0x58747d=_0x23e3;warnRenamed('ranger\x20env\x20ls',_0x58747d(0x1d3)),await withTelemetry(_0x5e336a['SjDhb'],()=>envList());})['command']('update\x20<env-name>',![],_0x17bdd3=>{const _0xc8abeb=_0x23e3;return _0x17bdd3[_0xc8abeb(0x23a)](_0xc8abeb(0x335),{'type':_0xc8abeb(0x2e6),'description':_0x5e336a[_0xc8abeb(0x25b)],'demandOption':!![]});},async _0xed302f=>{const _0x37e5b2=_0x23e3;_0x5e336a[_0x37e5b2(0x222)](warnRenamed,'ranger\x20env\x20update','ranger\x20profile\x20update'),await withTelemetry(_0x5e336a[_0x37e5b2(0x27c)],_0x3cca1f=>updateEnv(_0xed302f['env-name'],_0x3cca1f));})[_0x366095(0x2a3)](0x1,'You\x20must\x20specify\x20an\x20env\x20subcommand');})['command']('feature',![],_0x4a3054=>{const _0x5bc6f6=_0x51e773,_0x375a2f={'faPso':_0x5bc6f6(0x2e6),'WnYbo':_0x5e336a['wMlMP'],'yVary':_0x5bc6f6(0x1c6),'uIeUX':'checklist','LKptU':'array','dLlSD':_0x5e336a[_0x5bc6f6(0x2dd)],'mOQtr':_0x5e336a['VQMBe'],'tuavb':_0x5e336a['sfrby'],'GpVLl':_0x5e336a[_0x5bc6f6(0x1e5)],'OYGfO':_0x5e336a[_0x5bc6f6(0x2b2)],'PIddS':_0x5bc6f6(0x273),'ZeDFY':function(_0x289ff9,_0x40a575,_0xb19376){const _0x5a5903=_0x5bc6f6;return _0x5e336a[_0x5a5903(0x317)](_0x289ff9,_0x40a575,_0xb19376);},'rxsFG':_0x5e336a['GtwsM'],'aNBcg':_0x5bc6f6(0x259),'xOMUY':_0x5e336a['HwjiB'],'nXkVi':'feature\x20add-checklist-item','xxqcT':function(_0x1aa984,_0x3a717e,_0x16cc1e){return _0x5e336a['jwGlD'](_0x1aa984,_0x3a717e,_0x16cc1e);},'mGCLZ':_0x5e336a[_0x5bc6f6(0x2fd)]};return _0x4a3054[_0x5bc6f6(0x232)](_0x5e336a[_0x5bc6f6(0x351)],![],_0x1f20b1=>{const _0x1f70c7=_0x5bc6f6;return _0x1f20b1[_0x1f70c7(0x23a)]('name',{'type':_0x375a2f[_0x1f70c7(0x2b6)],'description':_0x375a2f[_0x1f70c7(0x23b)],'demandOption':!![]})[_0x1f70c7(0x221)](_0x1f70c7(0x274),{'type':_0x375a2f[_0x1f70c7(0x2b6)],'alias':'d','description':_0x375a2f['yVary']})[_0x1f70c7(0x221)](_0x375a2f[_0x1f70c7(0x250)],{'type':_0x375a2f[_0x1f70c7(0x366)],'alias':'c','description':_0x375a2f['dLlSD']})['option']('scenario',{'type':_0x375a2f['LKptU'],'hidden':!![]});},async _0x1bcc4b=>{const _0x3f8eb1=_0x5bc6f6;warnRenamed(_0x3f8eb1(0x236),_0x3f8eb1(0x241)),warnFlagRenamed(_0x5e336a[_0x3f8eb1(0x231)],_0x5e336a[_0x3f8eb1(0x26f)],_0x5e336a[_0x3f8eb1(0x283)]);const _0xe42b83=_0x1bcc4b[_0x3f8eb1(0x2fc)]||_0x1bcc4b['checklist'];await _0x5e336a[_0x3f8eb1(0x1f7)](withTelemetry,'feature\x20create',()=>featureCreate(_0x1bcc4b[_0x3f8eb1(0x323)],{'description':_0x1bcc4b['description'],'scenarios':_0xe42b83}));})[_0x5bc6f6(0x232)]('list',![],_0x3cbea4=>{const _0x36428a=_0x5bc6f6;return _0x3cbea4[_0x36428a(0x221)](_0x375a2f['mOQtr'],{'type':_0x375a2f[_0x36428a(0x32e)],'description':_0x36428a(0x211)})[_0x36428a(0x221)](_0x375a2f['GpVLl'],{'type':_0x375a2f['OYGfO'],'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option']('offset',{'type':_0x36428a(0x22b),'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x36428a(0x221)](_0x36428a(0x31f),{'type':_0x375a2f['tuavb'],'alias':'d','description':_0x375a2f[_0x36428a(0x352)],'default':![]});},async _0x17b6d2=>{const _0x4004aa=_0x5bc6f6;warnRenamed('ranger\x20feature\x20list',_0x5e336a[_0x4004aa(0x36b)]),await withTelemetry(_0x4004aa(0x361),()=>featureList({'currentBranch':_0x17b6d2[_0x4004aa(0x27b)],'limit':_0x17b6d2['limit'],'offset':_0x17b6d2[_0x4004aa(0x2af)],'includeDeleted':_0x17b6d2[_0x4004aa(0x31f)]}));})[_0x5bc6f6(0x232)](_0x5e336a['wSSoY'],![],_0x433b3b=>{const _0x7e4524=_0x5bc6f6;return _0x433b3b[_0x7e4524(0x23a)]('id',{'type':_0x5e336a[_0x7e4524(0x301)],'description':_0x5e336a['FHFwJ']});},async _0x19a08f=>{const _0x5d6d16=_0x5bc6f6;warnRenamed(_0x5d6d16(0x284),_0x5d6d16(0x1eb)),await withTelemetry(_0x5e336a[_0x5d6d16(0x312)],()=>featureShow(_0x19a08f['id']));})['command'](_0x5e336a[_0x5bc6f6(0x2b0)],![],_0x400be8=>{const _0x10928c=_0x5bc6f6;return _0x400be8[_0x10928c(0x23a)]('id',{'type':_0x10928c(0x2e6),'description':_0x5e336a[_0x10928c(0x281)]});},async _0x9c0a10=>{const _0x12103d=_0x5bc6f6;warnRenamed('ranger\x20feature\x20resume','ranger\x20resume'),await _0x375a2f[_0x12103d(0x355)](withTelemetry,_0x375a2f['rxsFG'],()=>featureResume(_0x9c0a10['id']));})[_0x5bc6f6(0x232)](_0x5e336a[_0x5bc6f6(0x336)],![],_0x3739d9=>{const _0x1a9a35=_0x5bc6f6;return _0x3739d9['positional']('description',{'type':_0x5e336a['UFpSK'],'description':_0x5e336a[_0x1a9a35(0x1ed)],'demandOption':!![]})['option']('id',{'type':_0x5e336a[_0x1a9a35(0x301)],'description':_0x5e336a[_0x1a9a35(0x306)]});},async _0x219d70=>{const _0x4405a5=_0x5bc6f6;_0x375a2f[_0x4405a5(0x355)](warnRenamed,_0x375a2f[_0x4405a5(0x286)],_0x375a2f[_0x4405a5(0x343)]),await withTelemetry(_0x375a2f[_0x4405a5(0x316)],()=>featureAddScenario(_0x219d70['description'],_0x219d70['id']));})['command'](_0x5bc6f6(0x37f),![],_0x209430=>{const _0xce5ada=_0x5bc6f6;return _0x209430[_0xce5ada(0x23a)]('id',{'type':_0xce5ada(0x2e6),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x1740d8=>{const _0x27d88e=_0x5bc6f6;_0x375a2f['xxqcT'](warnRenamed,'ranger\x20feature\x20get-feedback',_0x27d88e(0x368)),await _0x375a2f['ZeDFY'](withTelemetry,_0x375a2f[_0x27d88e(0x275)],()=>featureGetReview(_0x1740d8['id']));})['command']('delete\x20[id]',![],_0x47f1a2=>{const _0x1b1343=_0x5bc6f6;return _0x47f1a2['positional']('id',{'type':_0x1b1343(0x2e6),'description':_0x5e336a[_0x1b1343(0x20f)]});},async _0x37d7f3=>{const _0x262dff=_0x5bc6f6;_0x5e336a[_0x262dff(0x220)](warnRenamed,_0x262dff(0x2f9),_0x262dff(0x2c2)),await withTelemetry(_0x5e336a[_0x262dff(0x290)],()=>featureDelete(_0x37d7f3['id']));})[_0x5bc6f6(0x232)](_0x5e336a[_0x5bc6f6(0x1d4)],![],_0x3b9e37=>{const _0x3196ba=_0x5bc6f6;return _0x3b9e37[_0x3196ba(0x23a)]('id',{'type':_0x3196ba(0x2e6),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x34ebcd=>{const _0x35f722=_0x5bc6f6;_0x5e336a['XRhDh'](warnRenamed,_0x35f722(0x300),'ranger\x20restore'),await _0x5e336a[_0x35f722(0x21d)](withTelemetry,_0x5e336a['kXVkp'],()=>featureRestore(_0x34ebcd['id']));})[_0x5bc6f6(0x2a3)](0x1,_0x5bc6f6(0x1c2));})[_0x51e773(0x232)](_0x51e773(0x1c5),![],_0x5d2db5=>{const _0x1b8caf=_0x51e773,_0x53d553={'lIhLk':'string'};return _0x5d2db5[_0x1b8caf(0x232)](_0x1b8caf(0x1d6),_0x1b8caf(0x30e),_0x39d845=>{const _0x287801=_0x1b8caf;return _0x39d845[_0x287801(0x221)](_0x287801(0x2ad),{'type':_0x5e336a['UFpSK'],'description':_0x287801(0x1e3)});},async _0x55e1c3=>{await withTelemetry('hook:enable',()=>hook('enable',_0x55e1c3['session-id']));})[_0x1b8caf(0x232)](_0x5e336a['WwfwM'],_0x5e336a[_0x1b8caf(0x1ec)],_0x4385dd=>{const _0x4d6175=_0x1b8caf;return _0x4385dd['option']('session-id',{'type':_0x53d553[_0x4d6175(0x2db)],'description':_0x4d6175(0x1e3)});},async _0x360e30=>{const _0x37831c=_0x1b8caf;await _0x5e336a['jwGlD'](withTelemetry,'hook:disable',()=>hook(_0x37831c(0x248),_0x360e30[_0x37831c(0x2ad)]));})['option'](_0x5e336a['LOPji'],{'type':_0x1b8caf(0x2e6),'description':_0x5e336a[_0x1b8caf(0x206)]})['option'](_0x5e336a['Nizay'],{'type':_0x1b8caf(0x2e6),'description':_0x5e336a['PFIph']});},async _0x37efae=>{const _0x5e521a=_0x51e773;_0x37efae['name']&&await hook(_0x37efae[_0x5e521a(0x323)],_0x37efae['session-id']);})[_0x51e773(0x2a3)](0x1,'You\x20must\x20specify\x20a\x20command')['strictCommands']()[_0x51e773(0x364)](async(_0x24ec63,_0x5978be,_0x1d5421)=>{const _0x38877f=_0x51e773,_0x57f4c2=sanitizeArgs(process[_0x38877f(0x319)][_0x38877f(0x2de)](0x2)),_0x32f112=_0x5e336a[_0x38877f(0x20a)](getErrorType,_0x24ec63,_0x5978be);if(_0x24ec63&&_0x24ec63[_0x38877f(0x27a)](_0x38877f(0x2f3))){const _0x58602d=process['argv'][0x2];console['error'](_0x38877f(0x1f3)+_0x58602d),console[_0x38877f(0x34e)]('Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a');}else{if(_0x24ec63)console['error']('\x0a'+_0x24ec63+'\x0a');else _0x5978be&&console[_0x38877f(0x34e)](_0x38877f(0x299)+_0x5978be['message']+'\x0a');}await logDesirePath({'rawCommand':_0x57f4c2,'errorMessage':_0x24ec63||_0x5978be?.['message'],'errorType':_0x32f112});const _0x5e8fb3=getCurrentCollector();_0x5e8fb3&&await _0x5e8fb3[_0x38877f(0x372)](_0x5978be||new Error(_0x5e336a['tnXlc'](_0x24ec63,_0x5e336a['uklTT']))),process['exit'](0x1);})[_0x51e773(0x267)](_0x5e336a['ARbAM'](_0x5e336a[_0x51e773(0x28b)](_0x5e336a['CShwN'],_0x5e336a[_0x51e773(0x1ea)]),_0x5e336a[_0x51e773(0x315)]))[_0x51e773(0x240)]()['alias']('help','h');}process[_0x5bf4be(0x2f1)][_0x5bf4be(0x1fe)]!=='test'&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()['parse']());
|