@ranger-testing/ranger-cli 3.1.2 → 3.1.3-alpha.546c9e8-43
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 +1 -1
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 _0x2a4fa3=_0x259b;(function(_0x147ee2,_0x35c8f4){const _0x4fdd45=_0x259b,_0x54a46e=_0x147ee2();while(!![]){try{const _0x41ba11=parseInt(_0x4fdd45(0x12e))/0x1*(-parseInt(_0x4fdd45(0x11f))/0x2)+-parseInt(_0x4fdd45(0x289))/0x3*(-parseInt(_0x4fdd45(0x1ae))/0x4)+-parseInt(_0x4fdd45(0x106))/0x5*(-parseInt(_0x4fdd45(0x18e))/0x6)+parseInt(_0x4fdd45(0xdd))/0x7+parseInt(_0x4fdd45(0x228))/0x8+-parseInt(_0x4fdd45(0x250))/0x9*(-parseInt(_0x4fdd45(0x292))/0xa)+parseInt(_0x4fdd45(0x205))/0xb*(-parseInt(_0x4fdd45(0x149))/0xc);if(_0x41ba11===_0x35c8f4)break;else _0x54a46e['push'](_0x54a46e['shift']());}catch(_0x25af53){_0x54a46e['push'](_0x54a46e['shift']());}}}(_0x3577,0x5e252));import _0x51120a from'dotenv';import{dirname,join,parse}from'path';function _0x259b(_0x3b63cf,_0x5bbc90){_0x3b63cf=_0x3b63cf-0xc2;const _0x35772b=_0x3577();let _0x259b8c=_0x35772b[_0x3b63cf];return _0x259b8c;}import{existsSync}from'fs';function findProjectRoot(){const _0x45983a=_0x259b,_0x5f06c8={'JulLv':function(_0x59610a,_0x4ba740){return _0x59610a(_0x4ba740);},'pqAdN':function(_0x12b4df,_0x595792){return _0x12b4df!==_0x595792;},'mHuWj':function(_0x4721d5,_0x39bc1c){return _0x4721d5(_0x39bc1c);},'hdIgB':'.ranger','PFHUN':function(_0x199f04,_0x527fc1){return _0x199f04(_0x527fc1);}};let _0x300a41=process['cwd']();const _0xf9c180=_0x5f06c8[_0x45983a(0x286)](parse,_0x300a41)['root'];while(_0x5f06c8[_0x45983a(0x18b)](_0x300a41,_0xf9c180)){if(_0x5f06c8[_0x45983a(0x1ce)](existsSync,join(_0x300a41,_0x5f06c8['hdIgB']))||_0x5f06c8['PFHUN'](existsSync,join(_0x300a41,'.env')))return _0x300a41;_0x300a41=_0x5f06c8[_0x45983a(0x286)](dirname,_0x300a41);}return process[_0x45983a(0x11d)]();}_0x51120a[_0x2a4fa3(0x1cd)]({'path':join(findProjectRoot(),'.env')});import _0x170b91 from'yargs/yargs';function _0x3577(){const _0xb16c6e=['Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','SDBhi','teljj','print-access-token','CAWoG','uGmzV','gFXHx','get-feedback\x20[id]','NeIFB','aeRmE','sqxwr','qWSTd','mNnuK','IDqdg','ranger','skillup','tgrfU','incomplete','lGNIF','deps','cdp-endpoint','oOqGV','lwsaW','url','awBUu','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','notes','ranger\x20use','gmEBr','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','usage','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','clean','UswVZ','profile\x20config\x20unset','WpIao','\x0aError:\x20','alias','wCkZy','eRLRb','pqAdN','\x0aIssues:','Feature\x20review\x20ID','167424tkPxus','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','issues','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','\x20INCOMPLETE','wOoNV','delete','ranger\x20restore','key','lAcad','rfAwu','option','umrXS','start','setup\x20[tokenOrSubcommand]','env','RANGER_TEST_PASSWORD','include-deleted','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','wqdXb','Authenticate\x20via\x20MCP\x20proxy','Install\x20OS-level\x20dependencies\x20for\x20Chromium','kiltD','Restore\x20a\x20soft-deleted\x20feature\x20review','niZEA','VWpPr','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','mcp','base-url','create\x20<name>','\x20PARTIAL','4DfMFAT','NpqZu','LSkAV','BfEWo','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','ZcliT','yes','filter','Dwicx','skip-auth','Scenario\x20index\x20(1-based)','sVzuk','user','ranger\x20setup','positional','jeEhv','Skip\x20browser\x20authentication','log','list\x20<profile>','KnyWO','CaTwf','sNZUX','hXeGd','ranger\x20env\x20ls','offset','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','ranger\x20resume','setup:profiles','\x20is\x20no\x20longer\x20supported.\x20','token','config','mHuWj','maqYA','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','DEvsw','rTYjr','YBmHM','ekuKQ','encrypt-auth\x20<profile>','JWvIR','EYWZD','uIDAq','iEuRl','demandCommand','UoBBH','YcISo','profile-name','iaLEY','QBzrF','auth','itDJt','UrjXx','Set\x20a\x20config\x20value','List\x20all\x20feature\x20reviews','verify-feature','ranger\x20feature\x20restore','profile\x20config\x20list','get\x20<profile>\x20<key>','argv','\x20FAILED','test','OwQQa','some','YpMDu','jWGPs','config\x20set','KiiQF','HPvGJ','--scenario','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','qcDzG','string','repeat','setup:all','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','Vjlvy','GhGpw','mcp-bootstrap','UHMsD','bbgvk','ranger\x20go','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','ZBSZi','ranger\x20profile\x20config\x20set','skills','sjTGD','954173iLlDeR','Ranger\x20API\x20token\x20(rngr_...)','save-creds','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.','allow-insecure-localhost','Environment\x20name','trackCommandError','isbjx','playwright-cli','Oezaz','jUSZN','exit','add-scenario','PzswZ','dwEui','item','bmVLC','Add\x20profile\x20configuration','ZbHqh','wEdFc','FQeBw','VFnNn','mlVlb','Xecaf','XfYWD','LIGRC','DkTuO','partial','number','Unknown\x20command','error','RhuhE','enable','UEIeL','BDSmG','4344512sBaPfk','ZvMTp','list','hoPGM','sJFbD','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','eLKZR','resume\x20[id]','XuytF','rauqh','strictCommands','yBFhj','DrZQo','exclude-scenario','isArray','Hqvdf','VMMGK','sHFMY','start\x20[token]','feature\x20restore','YHPhR','disable','json','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','session-id','baYpZ','HnYNG','Print\x20the\x20current\x20CLI\x20access\x20token','egAZS','Summary:\x20','profiles','VLHWl','rKjLj','manual','lxBMF','oapwv','add\x20env\x20<env-name>','rAlko','hAyxc','9MAQIpG','strWM','login','.\x20[','EOxnr','ZsnEz','Profile\x20name','LGiUl','oUojJ','KwdcI','boolean','Base\x20URL\x20of\x20the\x20running\x20app','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','failed','XxxdV','cYuDK','hAFWE','OpMXR','--task','rerQl','GHHpv','DnCjz','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','model','✓\x20Login\x20succeeded\x20for\x20\x27','ranger\x20config\x20unset','update\x20<profile-name>','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','headed','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','wUffA','zXBOS','Reason:\x20','force','Stkio','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','evaluation','\x20BLOCKED','kZIGi','lGJig','Number\x20of\x20feature\x20reviews\x20to\x20skip','RjDuu','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','debug-address-comments','hook:disable','GQbqq','summary','TJEuZ','scenario','XtHek','status','Install\x20skills\x20for\x20OpenCode','exitCode','JulLv','config\x20list','MbsXB','396375PwbUZs','env-var','CiQzc','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','eItym','BGFgF','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','lZPvP','jqewk','7327150jslxCq','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','message','EJnew','restore\x20<id>','map','profile','value','gVlmg','CrYya','Ranger\x20API\x20token','jkidO','You\x20must\x20specify\x20a\x20profile\x20subcommand','task','FwrsN','IwFpT','config\x20get','length','GxEia','VaEwM','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','setup-ci','restore','ranger\x20feature\x20show','feature\x20create','setup:deps','vyVFj','hook','debug-outcome','HaufZ','Documentation:\x0a','description','ranger\x20config\x20set','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','profile\x20config\x20set','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','profile\x20config\x20get','ranger\x20profile\x20ls','ranger\x20feature\x20get-feedback','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','Set\x20up\x20a\x20local\x20browser\x20profile','LVmTu','1624980gBapiQ','flatMap','profile\x20update','profile\x20config\x20reset','version','jFUYz','command','QNBcX','lwDMg','API\x20token','ranger\x20feature\x20delete','Eddei','edit-scenario\x20<description>','feature\x20get-feedback','report\x20[id]','profile\x20delete','QAtUx','reset\x20<profile>','tcrxg','ASqio','env\x20update','LJBMo','feature\x20delete','ZEFKa','profile\x20migrate','ranger\x20create','skip-chromium','esSjN','BNwZd','checklist','Scenario\x20description','add\x20<profile-name>','kFWjj','LopIJ','current-branch','--profile','oFRRH','Config\x20key','ranger\x20start','OqUvo','NmVCr','130sCcOzE','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','list\x20<env>','SlRuP','profile\x20login','safe-mode','gKHNw','Delete\x20a\x20cloud\x20profile','Skip\x20authentication','verified','wZjLt','FNzVt','lfDeJ','config\x20unset','DxsSd','fail','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','HYfSb','HjVWL','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','ntgcm','hook:enable','scope','cwd','profile\x20add','1357570CMUtcw','KuEju','bhNkU','mqDfe','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','You\x20must\x20specify\x20an\x20env\x20subcommand','List\x20all\x20config\x20for\x20a\x20profile','dry-run','project','ranger\x20config\x20list','Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','KQsgq','--notes','1GFTurQ','jTOlQ','evaluationReason','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','CzKez','swCst','MLHDi','ZAkHX','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','kGgEW','UMLUf','mVgSW','trim','Feature\x20review\x20ID\x20to\x20restore','CRwTs','JGJcJ','uyhNH','Authenticate\x20with\x20Ranger','opencode','lSCfk','Remove\x20a\x20config\x20value','resume','all','organizationName','show','Ucbee','delete\x20[id]','180ShPuye','report','VfNqQ','ranger\x20profile\x20encrypt-auth','Hlino','feature','Manage\x20profile\x20configuration','uaTCX','ApopO','DessP','with-deps','test_output','blocked','environment-variable','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','start-path','name','update','ranger\x20feature\x20resume','oFfTa','OTqKj','unknown\x20error','MdmDq','limit','success','oysKZ'];_0x3577=function(){return _0xb16c6e;};return _0x3577();}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']('unhandledRejection',async _0x43cccf=>{const _0x5c5f97=_0x2a4fa3,_0x4e96cc={'sjTGD':function(_0xb7f4b3){return _0xb7f4b3();}},_0x529898=_0x4e96cc[_0x5c5f97(0x204)](getCurrentCollector);_0x529898&&await _0x529898[_0x5c5f97(0x20b)](_0x43cccf),process[_0x5c5f97(0x285)]=0x1;});const rawArgs=process[_0x2a4fa3(0x1e9)]['slice'](0x2),TOP_LEVEL_HELP=_0x2a4fa3(0x208),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='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(_0x422e4c,_0x46c877){const _0x36cf4a=_0x2a4fa3;console[_0x36cf4a(0x223)]('\x0a'+_0x422e4c+'\x20is\x20now\x20'+_0x46c877+'\x0a');}function argUsed(_0x3d5b7e){const _0x482197=_0x2a4fa3;return rawArgs[_0x482197(0x1ed)](_0x5b0635=>_0x5b0635===_0x3d5b7e||_0x5b0635['startsWith'](_0x3d5b7e+'='));}function warnFlagRenamed(_0x45309e,_0x52a6f7,_0x2e119c){argUsed(_0x52a6f7)&&warnRenamed(_0x45309e+'\x20'+_0x52a6f7,_0x45309e+'\x20'+_0x2e119c);}function normalizeEnvVarNames(_0x590fab){const _0x2b87da=_0x2a4fa3,_0x4750b6=Array[_0x2b87da(0x237)](_0x590fab)?_0x590fab:_0x590fab?[_0x590fab]:[];return _0x4750b6[_0x2b87da(0xde)](_0x274f13=>String(_0x274f13)['split'](',')['map'](_0xec3954=>_0xec3954[_0x2b87da(0x13a)]())[_0x2b87da(0x1b6)](Boolean));}async function runGoCommand(_0x2abe65,_0x583346=![]){const _0xe9f04=_0x2a4fa3,_0x179b0d={'OvwAo':function(_0x4a8d94,_0x3102f8,_0x15f170){return _0x4a8d94(_0x3102f8,_0x15f170);},'EPbzj':'ranger\x20verify-feature','kcFoo':_0xe9f04(0x1ff),'oFRRH':_0xe9f04(0x100),'sVJMD':function(_0x3d52b8,_0x3b24e2,_0x33257c,_0xd41bee){return _0x3d52b8(_0x3b24e2,_0x33257c,_0xd41bee);},'qRUwF':_0xe9f04(0x262),'uaTCX':_0xe9f04(0x12d),'uGmzV':'--item','CrYya':function(_0x18a77a){return _0x18a77a();},'UoBBH':function(_0xa6bdc4,_0x489658){return _0xa6bdc4(_0x489658);},'jeEhv':function(_0x5bf5dc,_0xd3fdd4){return _0x5bf5dc!==_0xd3fdd4;},'DessP':_0xe9f04(0x20d),'OwQQa':'rangerwright-cli','WpIao':function(_0x437913,_0x2c23b5){return _0x437913(_0x2c23b5);},'zIEWJ':'start-path','EOxnr':function(_0x320f3a,_0x53f49c){return _0x320f3a+_0x53f49c;},'XxxdV':function(_0x2e71ae,_0x2866b7){return _0x2e71ae===_0x2866b7;},'dmijA':'\x20VERIFIED','esSjN':function(_0x454213,_0x507112){return _0x454213===_0x507112;},'MlWNm':_0xe9f04(0x192),'dbDpy':function(_0x3421d0,_0x459920){return _0x3421d0===_0x459920;},'jWGPs':_0xe9f04(0x275),'GkTbK':_0xe9f04(0x1ea),'Xecaf':_0xe9f04(0x10f)};_0x583346&&_0x179b0d['OvwAo'](warnRenamed,_0x179b0d['EPbzj'],'ranger\x20go');warnFlagRenamed(_0x179b0d['kcFoo'],'--env',_0x179b0d[_0xe9f04(0x101)]),_0x179b0d['sVJMD'](warnFlagRenamed,_0xe9f04(0x1ff),_0x179b0d['qRUwF'],_0x179b0d[_0xe9f04(0x150)]),warnFlagRenamed(_0xe9f04(0x1ff),_0x179b0d[_0xe9f04(0x168)],_0xe9f04(0x1f3));const _0x17ced9=await _0x179b0d[_0xe9f04(0x29b)](loadRangerConfig),_0x5b3e62=_0x179b0d[_0xe9f04(0x29b)](isByokEnabled),_0x34085c=_0x2abe65[_0xe9f04(0x267)],_0x3d056c=_0x17ced9[_0xe9f04(0x267)],_0x5bdd90=_0x179b0d[_0xe9f04(0x1db)](normalizeEnvVarNames,_0x2abe65['env-var']),_0x22a4c1=getVerificationTransport();if(_0x5bdd90['length']>0x0&&_0x179b0d[_0xe9f04(0x1be)](_0x22a4c1,_0x179b0d[_0xe9f04(0x152)])&&_0x179b0d['jeEhv'](_0x22a4c1,_0x179b0d[_0xe9f04(0x1ec)]))throw new Error('The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20'+_0x22a4c1+'.');const _0x384ce1=await _0x179b0d[_0xe9f04(0x186)](verifyFeature,{'featureId':_0x2abe65[_0xe9f04(0x14e)],'profile':_0x2abe65['profile']??_0x2abe65[_0xe9f04(0x19d)]??process[_0xe9f04(0x19d)]['RANGER_PROFILE'],'notes':_0x2abe65['notes']??_0x2abe65[_0xe9f04(0x29f)],'scenario':_0x2abe65[_0xe9f04(0x281)]??_0x2abe65[_0xe9f04(0x214)],'startPath':_0x2abe65[_0x179b0d['zIEWJ']],'baseUrl':_0x2abe65[_0xe9f04(0x1ab)],'debugOutcome':_0x2abe65[_0xe9f04(0xcf)],'debugAddressComments':_0x2abe65[_0xe9f04(0x27c)],'headed':_0x2abe65[_0xe9f04(0x26c)],'verifierEnvVars':_0x5bdd90,'byokEnabled':_0x5b3e62,'flagVerifyModel':_0x34085c,'configVerifyModel':_0x3d056c});console[_0xe9f04(0x1c0)](_0x179b0d[_0xe9f04(0x254)]('\x0a','='[_0xe9f04(0x1f7)](0x3c))),console['log'](_0x179b0d[_0xe9f04(0x25e)](_0x384ce1['evaluation'],_0xe9f04(0x10f))?_0x179b0d['dmijA']:_0x179b0d[_0xe9f04(0xf8)](_0x384ce1['evaluation'],_0xe9f04(0x174))?_0x179b0d['MlWNm']:_0x179b0d['XxxdV'](_0x384ce1['evaluation'],_0xe9f04(0x220))?_0xe9f04(0x1ad):_0x179b0d['dbDpy'](_0x384ce1[_0xe9f04(0x274)],_0xe9f04(0x155))?_0x179b0d[_0xe9f04(0x1ef)]:_0x179b0d['GkTbK']),console['log']('='[_0xe9f04(0x1f7)](0x3c)),console[_0xe9f04(0x1c0)](_0xe9f04(0x246)+_0x384ce1[_0xe9f04(0x27f)]),console['log']('Evaluation:\x20'+_0x384ce1['evaluation']),console[_0xe9f04(0x1c0)](_0xe9f04(0x270)+_0x384ce1[_0xe9f04(0x130)]),_0x384ce1[_0xe9f04(0x190)]?.[_0xe9f04(0xc3)]&&(console[_0xe9f04(0x1c0)](_0xe9f04(0x18c)),_0x384ce1['issues']['forEach']((_0x2c7444,_0x5941ac)=>{const _0x414490=_0xe9f04;console[_0x414490(0x1c0)]('\x0a'+(_0x5941ac+0x1)+_0x414490(0x253)+_0x2c7444['severity']+']\x20'+_0x2c7444[_0x414490(0xd2)]);})),process['exit'](_0x384ce1[_0xe9f04(0x274)]===_0x179b0d[_0xe9f04(0x21c)]?0x0:0x1);}export function buildParser(_0x406eaf){const _0x1ed2f0=_0x2a4fa3,_0x491ad4={'MbsXB':'description','VaEwM':'string','qiriX':_0x1ed2f0(0x273),'WYCXl':_0x1ed2f0(0xfa),'DEvsw':'array','XfYWD':'Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','QBzrF':'Example:\x20ranger\x20create\x20my-feature','pqhFV':function(_0x1d0d0e,_0xb1eb60,_0x3bd652,_0x577d80){return _0x1d0d0e(_0xb1eb60,_0x3bd652,_0x577d80);},'Eddei':'--checklist','NpqZu':'create','ouguC':'current-branch','DkTuO':'limit','XcQpC':_0x1ed2f0(0x26b),'sJFbD':_0x1ed2f0(0x1c7),'CRwHQ':'include-deleted','UMLUf':_0x1ed2f0(0x25a),'ZEFKa':'Include\x20soft-deleted\x20feature\x20reviews','ZsnEz':function(_0x26d00b,_0x57f90b,_0x533d94){return _0x26d00b(_0x57f90b,_0x533d94);},'Vjlvy':'Feature\x20review\x20ID','LVmTu':function(_0x2a6242,_0x29eeb0,_0x14d094){return _0x2a6242(_0x29eeb0,_0x14d094);},'SjedC':_0x1ed2f0(0x146),'IDqdg':_0x1ed2f0(0x1a0),'mAXkF':_0x1ed2f0(0x211),'YBmHM':'number','YInWJ':'Scenario\x20number\x20to\x20edit\x20(1-based)','uyhNH':function(_0x58fdf8,_0x16211a,_0x817f45){return _0x58fdf8(_0x16211a,_0x817f45);},'WorkT':_0x1ed2f0(0x28c),'FQeBw':_0x1ed2f0(0x236),'dPwtH':'get-review','maifc':_0x1ed2f0(0x194),'qWSTd':_0x1ed2f0(0x13b),'TgrJL':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','XuytF':_0x1ed2f0(0xcc),'lGJig':'scope','wOoNV':'opencode','VWXKI':function(_0x135417){return _0x135417();},'EKjSV':'setup:skills','ASqio':_0x1ed2f0(0x1cc),'lAcad':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','gVlmg':_0x1ed2f0(0x1b8),'TZdoG':_0x1ed2f0(0x1a3),'RhuhE':_0x1ed2f0(0x1bb),'uDdDv':_0x1ed2f0(0x17a),'KnyWO':'force','EIGvm':_0x1ed2f0(0x119),'egAZS':_0x1ed2f0(0x1fc),'ZbHqh':function(_0xdea10e,_0x2c4dc3,_0x4d6eea){return _0xdea10e(_0x2c4dc3,_0x4d6eea);},'GQnyr':_0x1ed2f0(0x206),'xNkYh':function(_0x141ed4,_0x1aa117){return _0x141ed4(_0x1aa117);},'bLoid':_0x1ed2f0(0x25b),'iaLEY':function(_0x227f48,_0x9ae978){return _0x227f48+_0x9ae978;},'Murar':_0x1ed2f0(0x1ca),'vAGbT':'tokenOrSubcommand','zDvon':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','hoPGM':_0x1ed2f0(0x144),'bbgvk':_0x1ed2f0(0x203),'lSCfk':'skip-chromium','jTOlQ':_0x1ed2f0(0xd6),'VkIyo':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','dwEui':'allow-insecure-localhost','bhNkU':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','UEIeL':_0x1ed2f0(0x266),'MmGmg':_0x1ed2f0(0xe6),'qxvhi':function(_0x4e4583,_0xa3de6c,_0x5f3f86){return _0x4e4583(_0xa3de6c,_0x5f3f86);},'HYfSb':function(_0x520993,_0x3a43fa,_0x7ba0bf){return _0x520993(_0x3a43fa,_0x7ba0bf);},'sNZUX':_0x1ed2f0(0x19b),'Stkio':_0x1ed2f0(0x29c),'aMbJx':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','VlChp':'Skip\x20Chromium\x20browser\x20installation','eItym':_0x1ed2f0(0xc8),'KqVkN':'login','YvkqB':_0x1ed2f0(0x127),'QIXPP':'Install\x20scope\x20for\x20skills','VWpPr':function(_0x5c17b3,_0x16e97e){return _0x5c17b3(_0x16e97e);},'urPhQ':function(_0x346d1e,_0x1f232a,_0xecb97d,_0x173784){return _0x346d1e(_0x1f232a,_0xecb97d,_0x173784);},'yBFhj':_0x1ed2f0(0x11e),'wqdXb':'profile-name','IwFpT':_0x1ed2f0(0xec),'zqIXJ':'profile\x20encrypt-auth','RrwqN':_0x1ed2f0(0xdf),'SlRuP':function(_0x3ba9c1,_0x2b680f,_0x5c0297){return _0x3ba9c1(_0x2b680f,_0x5c0297);},'GhGpw':_0x1ed2f0(0xf5),'GnMCD':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','LGiUl':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','ryWnV':'Name\x20of\x20the\x20profile\x20to\x20update','sqxwr':_0x1ed2f0(0x24a),'AomsD':'name','qxBLb':_0x1ed2f0(0x15e),'FwrsN':function(_0x4019d7,_0x313d14,_0x3d6d7d){return _0x4019d7(_0x313d14,_0x3d6d7d);},'gmEBr':_0x1ed2f0(0x107),'qcDzG':_0x1ed2f0(0x207),'KHUZA':function(_0x4f840b,_0x5e4958,_0x56ba0a){return _0x4f840b(_0x5e4958,_0x56ba0a);},'UswVZ':function(_0x5a1c5f,_0x1501c4,_0x43dac6){return _0x5a1c5f(_0x1501c4,_0x43dac6);},'SqBuT':_0x1ed2f0(0x1b3),'KwdcI':'Config\x20key\x20to\x20remove','QQFcW':'Get\x20a\x20config\x20value','BDSmG':_0x1ed2f0(0xfc),'hwySe':_0x1ed2f0(0x216),'yPIgw':'use\x20<profile-name>','mVgSW':'delete\x20<profile-name>','HSnUK':_0x1ed2f0(0x1d5),'tfGDm':'List\x20all\x20profiles','rPUPc':_0x1ed2f0(0x26a),'dhNmZ':_0x1ed2f0(0x1cd),'QRKZS':_0x1ed2f0(0x14f),'mNnuK':function(_0x58c4fa,_0x3fe652,_0x3ee5d5){return _0x58c4fa(_0x3fe652,_0x3ee5d5);},'iEuRl':_0x1ed2f0(0x15a),'TEDTY':'feature','RjDuu':'Optional\x20feature\x20ID','ylWjN':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','tgrfU':_0x1ed2f0(0x123),'kGgEW':_0x1ed2f0(0x1b9),'XJCAi':'base-url','umrXS':_0x1ed2f0(0x1d0),'bmVLC':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','CzKez':'partial','CnEgK':'failed','QAtUx':_0x1ed2f0(0x27c),'baYpZ':'env','lXzaI':function(_0x282dcd,_0x2e933d){return _0x282dcd(_0x2e933d);},'JWvIR':'ranger\x20auth\x20encrypt','BfEWo':'encrypt\x20<profile>','OpMXR':_0x1ed2f0(0x1f9),'jUSZN':_0x1ed2f0(0xc7),'RITtQ':_0x1ed2f0(0x10e),'OEwSQ':_0x1ed2f0(0x153),'JGJcJ':function(_0x373ae7,_0x6aacb,_0x137f58){return _0x373ae7(_0x6aacb,_0x137f58);},'ZBSZi':_0x1ed2f0(0x103),'Oezaz':_0x1ed2f0(0x1bc),'hAFWE':function(_0x12b14c,_0x1dba85,_0x501454){return _0x12b14c(_0x1dba85,_0x501454);},'nCwJS':_0x1ed2f0(0xda),'UfoZk':_0x1ed2f0(0x17d),'EMfiC':_0x1ed2f0(0x281),'MupUm':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','jkUji':'headed','oUojJ':_0x1ed2f0(0x28a),'NeIFB':_0x1ed2f0(0x156),'DnCjz':'verified','IudYe':_0x1ed2f0(0x174),'CAWoG':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','JjwTy':_0x1ed2f0(0x27b),'fMCmi':'add\x20env','ekuKQ':'Name\x20of\x20the\x20environment','GQbqq':function(_0x280590,_0x43b29e,_0x17b07b){return _0x280590(_0x43b29e,_0x17b07b);},'HHwgY':function(_0x68e555,_0x683888,_0x56cb19){return _0x68e555(_0x683888,_0x56cb19);},'rTYjr':'use','aEuGx':_0x1ed2f0(0x20a),'uFzUE':_0x1ed2f0(0x196),'pctcH':'ranger\x20config\x20get','AXTQi':'ranger\x20profile\x20config\x20get','HnYNG':function(_0xfda5c5,_0x485ceb,_0x5dce5b){return _0xfda5c5(_0x485ceb,_0x5dce5b);},'CYkXL':_0x1ed2f0(0xc2),'tcrxg':_0x1ed2f0(0x299),'mlVlb':_0x1ed2f0(0x128),'hkzPv':'set\x20<env>\x20<key>\x20<value>','GMdkk':'You\x20must\x20specify\x20a\x20config\x20subcommand','wThQu':'Name\x20of\x20the\x20environment\x20to\x20update','MpLTo':'env\x20list','HaufZ':'ranger\x20profile\x20update','YpMDu':function(_0x1d3277,_0x5d0849,_0x3b62fe){return _0x1d3277(_0x5d0849,_0x3b62fe);},'EXGzj':_0x1ed2f0(0x124),'KNver':function(_0x4d7335,_0x5eae74,_0x3554a0){return _0x4d7335(_0x5eae74,_0x3554a0);},'KuEju':'ranger\x20feature\x20create','RZzMq':'ranger\x20create','zNkTd':function(_0x4945a5,_0x4c7128,_0x142451,_0x2056c6){return _0x4945a5(_0x4c7128,_0x142451,_0x2056c6);},'WGDXA':_0x1ed2f0(0x1f3),'cCfKT':_0x1ed2f0(0xcb),'PzswZ':'ranger\x20feature\x20list','kiltD':'feature\x20list','rAlko':_0x1ed2f0(0x1c9),'ApopO':'feature\x20resume','FNzVt':'feature\x20add-checklist-item','WLSRi':function(_0x1846d4,_0x103e33,_0x345b8a){return _0x1846d4(_0x103e33,_0x345b8a);},'ksRZP':_0x1ed2f0(0xe7),'UrjXx':_0x1ed2f0(0xf3),'cYuDK':_0x1ed2f0(0xd4),'ZvMTp':function(_0x1cdb96,_0x425a8b,_0x57d10d){return _0x1cdb96(_0x425a8b,_0x57d10d);},'bosry':'ranger\x20show','mqDfe':_0x1ed2f0(0x23c),'FYVUT':_0x1ed2f0(0x16a),'YcISo':_0x1ed2f0(0x11b),'aeRmE':_0x1ed2f0(0xc6),'ZAkHX':_0x1ed2f0(0x27d),'BNwZd':_0x1ed2f0(0x225),'Hqvdf':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','hXeGd':'disable','Prhie':_0x1ed2f0(0x241),'kZIGi':_0x1ed2f0(0x222),'zXBOS':function(_0x156666,_0x382f1f){return _0x156666||_0x382f1f;},'VLHWl':function(_0x18dafa){return _0x18dafa();},'ZHiOn':'create\x20<name>','bLHNo':_0x1ed2f0(0x22a),'LJBMo':_0x1ed2f0(0x1e4),'Woddk':'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','JFgMb':_0x1ed2f0(0xeb),'DxsSd':'get-review\x20[id]','OwHKw':_0x1ed2f0(0x148),'EJnew':_0x1ed2f0(0x296),'niZEA':_0x1ed2f0(0x247),'strWM':_0x1ed2f0(0x283),'wEdFc':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','UKEgP':_0x1ed2f0(0x1e5),'kjIof':'use\x20<env-name>','isbjx':'You\x20must\x20specify\x20a\x20command','VFnNn':function(_0x57a228,_0x5c124a){return _0x57a228+_0x5c124a;},'FyJig':'help'};return _0x170b91(_0x406eaf??process['argv']['slice'](0x2))['scriptName']('ranger')[_0x1ed2f0(0x181)](TOP_LEVEL_HELP)[_0x1ed2f0(0xe1)](_0x491ad4[_0x1ed2f0(0x248)](getCurrentVersion))['command'](_0x491ad4['ZHiOn'],_0x1ed2f0(0x28f),_0x2bc030=>{const _0x23af70=_0x1ed2f0;return _0x2bc030['positional']('name',{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})[_0x23af70(0x199)](_0x491ad4[_0x23af70(0x288)],{'type':_0x491ad4[_0x23af70(0xc5)],'alias':'d','description':'Feature\x20review\x20description'})['option'](_0x23af70(0x281),{'type':'array','alias':'c','description':_0x491ad4['qiriX']})['option'](_0x491ad4['WYCXl'],{'type':_0x491ad4['DEvsw'],'hidden':!![]});},async _0x1d7eb8=>{const _0x4e0dd2=_0x1ed2f0;if(!_0x1d7eb8[_0x4e0dd2(0x159)]){console[_0x4e0dd2(0x223)](_0x491ad4[_0x4e0dd2(0x21d)]+_0x491ad4[_0x4e0dd2(0x1df)]),process[_0x4e0dd2(0x210)](0x1);return;}_0x491ad4['pqhFV'](warnFlagRenamed,_0x4e0dd2(0xf6),_0x491ad4[_0x4e0dd2(0xe8)],'--scenario');const _0x3f044f=_0x1d7eb8['scenario']||_0x1d7eb8[_0x4e0dd2(0xfa)];await withTelemetry(_0x491ad4[_0x4e0dd2(0x1af)],()=>featureCreate(_0x1d7eb8['name'],{'description':_0x1d7eb8['description'],'scenarios':_0x3f044f}));})[_0x1ed2f0(0xe3)](_0x491ad4['bLHNo'],_0x491ad4[_0x1ed2f0(0xf2)],_0x13b135=>{const _0x411419=_0x1ed2f0;return _0x13b135[_0x411419(0x199)](_0x491ad4['ouguC'],{'type':_0x411419(0x25a),'description':_0x411419(0xd4)})['option'](_0x491ad4['DkTuO'],{'type':'number','alias':'l','description':_0x491ad4['XcQpC'],'default':0xa})[_0x411419(0x199)](_0x491ad4['sJFbD'],{'type':'number','alias':'o','description':_0x411419(0x278),'default':0x0})['option'](_0x491ad4['CRwHQ'],{'type':_0x491ad4[_0x411419(0x138)],'alias':'d','description':_0x491ad4[_0x411419(0xf4)],'default':![]});},async _0x152b9e=>{const _0x16d007=_0x1ed2f0;await _0x491ad4[_0x16d007(0x255)](withTelemetry,'list',()=>featureList({'currentBranch':_0x152b9e['current-branch'],'limit':_0x152b9e[_0x16d007(0x160)],'offset':_0x152b9e['offset'],'includeDeleted':_0x152b9e['include-deleted']}));})['command']('show\x20[id]',_0x491ad4['Woddk'],_0xa6575c=>{const _0x3a8adb=_0x1ed2f0;return _0xa6575c['positional']('id',{'type':'string','description':_0x491ad4[_0x3a8adb(0x1fa)]});},async _0x1cb358=>{const _0x5f44d8=_0x1ed2f0;await _0x491ad4[_0x5f44d8(0xdc)](withTelemetry,_0x491ad4['SjedC'],()=>featureShow(_0x1cb358['id']));})['command']('resume\x20[id]',_0x1ed2f0(0x180),_0x993525=>{const _0x4077c5=_0x1ed2f0;return _0x993525[_0x4077c5(0x1bd)]('id',{'type':_0x4077c5(0x1f6),'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x3f0d30=>{const _0x846003=_0x1ed2f0;await withTelemetry(_0x846003(0x143),()=>featureResume(_0x3f0d30['id']));})['command']('add-scenario\x20<description>',_0x1ed2f0(0x1a8),_0x4c1bba=>{const _0x2ba28f=_0x1ed2f0;return _0x4c1bba['positional']('description',{'type':'string','description':_0x2ba28f(0xfb),'demandOption':!![]})[_0x2ba28f(0x199)]('id',{'type':_0x491ad4[_0x2ba28f(0xc5)],'description':_0x491ad4['IDqdg']});},async _0x4f196f=>{const _0x3f085a=_0x1ed2f0;await withTelemetry(_0x491ad4['mAXkF'],()=>featureAddScenario(_0x4f196f[_0x3f085a(0xd2)],_0x4f196f['id']));})[_0x1ed2f0(0xe3)](_0x1ed2f0(0xe9),_0x1ed2f0(0x1f4),_0x36911b=>{const _0x18bac0=_0x1ed2f0;return _0x36911b[_0x18bac0(0x1bd)]('description',{'type':'string','description':'New\x20scenario\x20description','demandOption':!![]})[_0x18bac0(0x199)]('scenario',{'type':_0x491ad4[_0x18bac0(0x1d3)],'description':_0x491ad4['YInWJ'],'demandOption':!![]})['option']('id',{'type':'string','description':_0x491ad4['IDqdg']});},async _0x116c1c=>{const _0x326942=_0x1ed2f0;await _0x491ad4['uyhNH'](withTelemetry,'edit-scenario',()=>featureEditScenario(_0x116c1c['description'],{'id':_0x116c1c['id'],'scenario':_0x116c1c[_0x326942(0x281)]}));})['command'](_0x491ad4['JFgMb'],_0x1ed2f0(0x191),_0xab11f7=>{const _0x189ef=_0x1ed2f0;return _0xab11f7['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'})[_0x189ef(0x199)](_0x189ef(0x236),{'type':_0x491ad4['DEvsw'],'description':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'})[_0x189ef(0x199)](_0x189ef(0x23f),{'type':_0x189ef(0x25a),'description':_0x491ad4['WorkT'],'default':![]});},async _0x150ea0=>{const _0x364b30=_0x1ed2f0,_0xef0c67=_0x150ea0[_0x491ad4[_0x364b30(0x219)]],_0x1d7ac5=_0xef0c67?_0xef0c67[_0x364b30(0x297)](_0x147351=>Number(_0x147351)):undefined;await _0x491ad4[_0x364b30(0x255)](withTelemetry,_0x364b30(0x14a),()=>featureReportPrDescription(_0x150ea0['id'],{'excludeScenarios':_0x1d7ac5,'json':_0x150ea0['json']}));})[_0x1ed2f0(0xe3)](_0x491ad4[_0x1ed2f0(0x114)],_0x1ed2f0(0x240),_0x2d1f98=>{return _0x2d1f98['positional']('id',{'type':_0x491ad4['VaEwM'],'description':_0x491ad4['IDqdg']});},async _0x385ae4=>{await withTelemetry(_0x491ad4['dPwtH'],()=>featureGetReview(_0x385ae4['id']));})['command'](_0x491ad4['OwHKw'],'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x11d5bc=>{const _0x448522=_0x1ed2f0;return _0x11d5bc[_0x448522(0x1bd)]('id',{'type':_0x448522(0x1f6),'description':_0x448522(0x18d)});},async _0x3e705b=>{await _0x491ad4['LVmTu'](withTelemetry,_0x491ad4['maifc'],()=>featureDelete(_0x3e705b['id']));})['command'](_0x491ad4[_0x1ed2f0(0x295)],_0x1ed2f0(0x1a5),_0x399fcb=>{const _0x541cb5=_0x1ed2f0;return _0x399fcb[_0x541cb5(0x1bd)]('id',{'type':'string','description':_0x491ad4[_0x541cb5(0x16e)],'demandOption':!![]});},async _0x23a3a0=>{const _0x542fee=_0x1ed2f0;await withTelemetry(_0x542fee(0xc9),()=>featureRestore(_0x23a3a0['id']));})['command'](_0x1ed2f0(0x19c),'Initialize\x20Ranger\x20in\x20your\x20project',_0x344929=>{const _0x14835b=_0x1ed2f0,_0x2c499d={'KiiQF':_0x491ad4['ASqio'],'vyVFj':_0x491ad4[_0x14835b(0xc5)],'oysKZ':'Ranger\x20API\x20token','rKjLj':_0x491ad4[_0x14835b(0x138)],'zCUBQ':_0x491ad4[_0x14835b(0x197)],'MdmDq':_0x491ad4[_0x14835b(0x29a)],'bdUWC':_0x491ad4['TZdoG'],'rQsVx':_0x491ad4['RhuhE'],'kFWjj':_0x491ad4['uDdDv'],'Hlino':_0x14835b(0x157),'KQsgq':_0x491ad4[_0x14835b(0x1c2)],'GxEia':_0x491ad4['EIGvm'],'OqUvo':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','SfZjZ':_0x14835b(0x22d),'wUffA':_0x491ad4[_0x14835b(0x245)],'GzQOs':'Alias\x20for\x20--mcp-bootstrap','NivHx':function(_0x2eb51e,_0x16aede,_0x19a211){const _0x3289e0=_0x14835b;return _0x491ad4[_0x3289e0(0x217)](_0x2eb51e,_0x16aede,_0x19a211);},'oapwv':_0x491ad4['GQnyr'],'xgblv':_0x14835b(0x1a2),'sHFMY':function(_0x3dec14){return _0x491ad4['VWXKI'](_0x3dec14);},'JwOsm':_0x14835b(0x12b),'jqewk':function(_0x986463,_0x714cf2){return _0x491ad4['xNkYh'](_0x986463,_0x714cf2);},'rDwWY':_0x491ad4[_0x14835b(0x277)],'kIecG':_0x14835b(0xd6),'ykJFT':_0x491ad4['bLoid'],'lGNIF':_0x14835b(0x1bf),'LSkAV':function(_0x5ee73e,_0x49173c){return _0x5ee73e!==_0x49173c;},'Krczt':function(_0x101953,_0x5a4dfe){const _0x3cd044=_0x14835b;return _0x491ad4[_0x3cd044(0x1de)](_0x101953,_0x5a4dfe);},'MLHDi':_0x491ad4['Murar']};return _0x344929['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')[_0x14835b(0x1bd)](_0x491ad4['vAGbT'],{'type':'string','description':_0x491ad4['zDvon']})[_0x14835b(0xe3)](_0x491ad4[_0x14835b(0x22b)],'Run\x20full\x20interactive\x20setup',_0x3a0e9b=>{const _0x40a872=_0x14835b;return _0x3a0e9b['option'](_0x2c499d['KiiQF'],{'type':_0x2c499d[_0x40a872(0xcd)],'description':_0x2c499d[_0x40a872(0x162)]})['option']('skip-chromium',{'type':_0x2c499d[_0x40a872(0x249)],'description':_0x2c499d['zCUBQ'],'default':![]})[_0x40a872(0x199)](_0x2c499d[_0x40a872(0x15f)],{'type':_0x40a872(0x25a),'description':_0x40a872(0x10e),'default':![]})[_0x40a872(0x199)](_0x40a872(0x153),{'type':'boolean','description':_0x2c499d['bdUWC'],'default':![]})['option']('scope',{'type':_0x2c499d[_0x40a872(0xcd)],'choices':[_0x2c499d['rQsVx']],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x40a872(0x199)](_0x2c499d[_0x40a872(0xfd)],{'type':'string','description':_0x2c499d[_0x40a872(0x14d)]})[_0x40a872(0x199)](_0x2c499d[_0x40a872(0x12c)],{'type':_0x2c499d[_0x40a872(0x249)],'description':_0x2c499d[_0x40a872(0xc4)],'default':![]})['option']('opencode',{'type':_0x2c499d['rKjLj'],'description':_0x2c499d[_0x40a872(0x104)],'default':![]})['option'](_0x40a872(0x209),{'type':_0x40a872(0x25a),'description':_0x2c499d['SfZjZ'],'default':![]})['option'](_0x2c499d[_0x40a872(0x26e)],{'type':'boolean','description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','default':![]})[_0x40a872(0x199)](_0x40a872(0x1aa),{'type':'boolean','description':_0x2c499d['GzQOs'],'default':![]});},async _0xaf0972=>{const _0x245989=_0x14835b;(_0xaf0972[_0x2c499d['wUffA']]||_0xaf0972[_0x245989(0x1aa)])&&await _0x2c499d['NivHx'](withTelemetry,_0x2c499d[_0x245989(0x26e)],()=>mcpBootstrap()),await withTelemetry(_0x245989(0x1f8),_0x347002=>start(_0xaf0972[_0x245989(0x1cc)],{'skipChromium':_0xaf0972[_0x245989(0xf7)],'skipAuth':_0xaf0972[_0x245989(0x1b8)],'withDeps':_0xaf0972[_0x245989(0x153)],'scope':_0xaf0972[_0x245989(0x11c)],'url':_0xaf0972['url'],'force':_0xaf0972['force'],'opencode':_0xaf0972[_0x245989(0x140)],'allowInsecureLocalhost':_0xaf0972[_0x245989(0x209)]},_0x347002));})['command'](_0x14835b(0x176),'Install\x20Chromium\x20browser\x20binary',_0x4dcd1e=>{const _0x1e7e57=_0x14835b;return _0x4dcd1e['option'](_0x1e7e57(0x153),{'type':_0x491ad4['UMLUf'],'description':_0x491ad4['TgrJL'],'default':![]});},async _0xd9ea48=>{const _0x2af2d2=_0x14835b;await withTelemetry(_0x491ad4[_0x2af2d2(0x231)],()=>ensureChromium(_0xd9ea48[_0x2af2d2(0x153)]));})['command'](_0x14835b(0x252),_0x14835b(0x13f),_0x19d099=>{const _0x46d383=_0x14835b;return _0x19d099['option'](_0x2c499d[_0x46d383(0x1f1)],{'type':_0x2c499d[_0x46d383(0xcd)],'description':_0x2c499d[_0x46d383(0x24c)]})['option']('mcp',{'type':'boolean','description':_0x2c499d['xgblv'],'default':![]});},async _0x210933=>{await withTelemetry('setup:login',async()=>{const _0x21fbfc=_0x259b;if(_0x210933['mcp']){await mcpBootstrap();const _0x488d68=await _0x2c499d[_0x21fbfc(0x23a)](refreshCliToken);if(!_0x488d68)throw new Error(_0x2c499d['JwOsm']);const _0x5683e9=await getCurrentUser(_0x488d68);if(!_0x5683e9[_0x21fbfc(0x161)])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x5683e9[_0x21fbfc(0x223)]);console['log']('✓\x20Authenticated\x20to\x20'+_0x5683e9['user'][_0x21fbfc(0x145)]);return;}await _0x2c499d[_0x21fbfc(0x291)](authenticate,_0x210933[_0x21fbfc(0x1cc)]);});})[_0x14835b(0xe3)](_0x491ad4[_0x14835b(0x1fe)],'Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x21ac60=>{const _0x1199d6=_0x14835b;return _0x21ac60['option'](_0x491ad4[_0x1199d6(0x277)],{'type':'string','choices':[_0x1199d6(0x1bb),'project'],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})['option'](_0x491ad4[_0x1199d6(0x193)],{'type':_0x491ad4['UMLUf'],'description':_0x1199d6(0x1b2),'default':![]});},async _0x5e4b69=>{const _0x4a4751=_0x14835b,_0x2d0e41={'oQVqc':_0x4a4751(0x171),'awBUu':function(_0x775dac){return _0x491ad4['VWXKI'](_0x775dac);}};await withTelemetry(_0x491ad4['EKjSV'],async()=>{const _0x2e3e26=_0x4a4751,_0x3e71e2=_0x5e4b69[_0x2e3e26(0x11c)];if(_0x5e4b69['opencode']){const _0x3e954c=await ensureOpencodePluginConfig(_0x3e71e2);_0x3e954c&&await installSkill(_0x2d0e41['oQVqc'],{'level':_0x3e954c['scope'],'cliVersion':_0x2d0e41[_0x2e3e26(0x17b)](getCurrentVersion),'platform':'opencode'});}else await ensureClaudePlugin(_0x3e71e2),await ensureClaudeSkills(_0x3e71e2);});})['command'](_0x14835b(0x247),_0x14835b(0xdb),_0x189d0a=>{const _0x21ee2e=_0x14835b;return _0x189d0a['option'](_0x2c499d['rDwWY'],{'type':_0x2c499d[_0x21ee2e(0xcd)],'choices':[_0x21ee2e(0x1bb)],'description':_0x2c499d['kIecG']})[_0x21ee2e(0x199)](_0x2c499d['kFWjj'],{'type':_0x2c499d[_0x21ee2e(0xcd)],'description':_0x2c499d['ykJFT']})['option']('skip-auth',{'type':_0x2c499d['rKjLj'],'description':_0x2c499d[_0x21ee2e(0x175)],'default':![]})['option'](_0x21ee2e(0x271),{'type':'boolean','description':_0x21ee2e(0x119),'default':![]})['option'](_0x21ee2e(0x209),{'type':_0x2c499d['rKjLj'],'description':_0x2c499d['SfZjZ'],'default':![]});},async _0x412b5b=>{const _0x3c2089=_0x14835b,_0x40e9a1=_0x412b5b['scope'];_0x2c499d[_0x3c2089(0x1b0)](_0x40e9a1,undefined)&&_0x40e9a1!=='user'&&(console[_0x3c2089(0x223)](_0x2c499d['Krczt']('ranger\x20setup\x20profiles\x20--scope='+_0x40e9a1+_0x3c2089(0x1cb),_0x3c2089(0x25c))+'Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.'),process['exit'](0x1)),await withTelemetry(_0x2c499d[_0x3c2089(0x134)],_0xa6a22a=>ensureLocalEnv({'url':_0x412b5b['url'],'force':_0x412b5b[_0x3c2089(0x271)],'allowInsecureLocalhost':_0x412b5b[_0x3c2089(0x209)],'scope':'user'},_0xa6a22a));})[_0x14835b(0x199)](_0x491ad4[_0x14835b(0x141)],{'type':_0x491ad4['UMLUf'],'description':_0x491ad4['lAcad'],'default':![]})[_0x14835b(0x199)]('scope',{'type':_0x491ad4['VaEwM'],'choices':[_0x491ad4['RhuhE']],'hidden':!![],'description':_0x491ad4[_0x14835b(0x12f)]})[_0x14835b(0x199)](_0x491ad4['uDdDv'],{'type':_0x491ad4[_0x14835b(0xc5)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x491ad4['KnyWO'],{'type':_0x491ad4['UMLUf'],'description':_0x491ad4['EIGvm'],'default':![]})[_0x14835b(0x199)](_0x491ad4['wOoNV'],{'type':_0x491ad4[_0x14835b(0x138)],'description':_0x491ad4['VkIyo'],'default':![]})[_0x14835b(0x199)](_0x491ad4[_0x14835b(0x213)],{'type':_0x491ad4[_0x14835b(0x138)],'description':_0x491ad4[_0x14835b(0x121)],'default':![]})['option']('mcp-bootstrap',{'type':_0x14835b(0x25a),'description':_0x491ad4[_0x14835b(0x226)],'default':![]})[_0x14835b(0x199)](_0x491ad4[_0x14835b(0x29a)],{'type':_0x491ad4['UMLUf'],'description':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','default':![]})['option']('with-deps',{'type':_0x14835b(0x25a),'description':_0x491ad4['TgrJL'],'default':![]})['option'](_0x14835b(0x1cc),{'type':_0x491ad4[_0x14835b(0xc5)],'hidden':!![],'description':_0x491ad4['MmGmg']});},async _0x570ee6=>{const _0x477878=_0x1ed2f0,_0x365cf6=_0x570ee6['tokenOrSubcommand'],_0x4fbd12=_0x570ee6[_0x477878(0x1cc)]??_0x365cf6;_0x570ee6['mcp-bootstrap']&&await _0x491ad4['qxvhi'](withTelemetry,_0x477878(0x1fc),()=>mcpBootstrap()),await _0x491ad4[_0x477878(0x117)](withTelemetry,_0x491ad4['sNZUX'],_0xfec4c=>start(_0x4fbd12,{'skipChromium':_0x570ee6['skip-chromium'],'skipAuth':_0x570ee6[_0x477878(0x1b8)],'withDeps':_0x570ee6[_0x477878(0x153)],'scope':_0x570ee6['scope'],'url':_0x570ee6[_0x477878(0x17a)],'force':_0x570ee6['force'],'opencode':_0x570ee6['opencode'],'allowInsecureLocalhost':_0x570ee6[_0x477878(0x209)]},_0xfec4c));})[_0x1ed2f0(0xe3)]('setup-ci\x20<token>',![],_0x5d7b7b=>{const _0x342c7e=_0x1ed2f0;return _0x5d7b7b[_0x342c7e(0x1bd)](_0x491ad4[_0x342c7e(0xf0)],{'type':'string','description':_0x491ad4[_0x342c7e(0x272)],'demandOption':!![]})[_0x342c7e(0x199)](_0x342c7e(0x298),{'type':_0x491ad4['VaEwM'],'description':_0x342c7e(0x200)})['option'](_0x342c7e(0x1ab),{'type':_0x491ad4[_0x342c7e(0xc5)],'description':_0x491ad4['aMbJx']})['option'](_0x491ad4[_0x342c7e(0x141)],{'type':_0x491ad4[_0x342c7e(0x138)],'description':_0x491ad4['VlChp'],'default':![]});},async _0x22df62=>{const _0x25632a=_0x1ed2f0;await withTelemetry(_0x491ad4[_0x25632a(0x28d)],_0x59eb7a=>setupCi(_0x22df62[_0x25632a(0x1cc)],{'profile':_0x22df62['profile'],'baseUrl':_0x22df62[_0x25632a(0x1ab)],'skipChromium':_0x22df62[_0x25632a(0xf7)]},_0x59eb7a));})['command'](_0x1ed2f0(0x252),_0x1ed2f0(0x1c8),()=>{},async()=>{await withTelemetry(_0x491ad4['KqVkN'],()=>login());})[_0x1ed2f0(0xe3)](_0x1ed2f0(0x172),'Install\x20Ranger\x20skills',_0x551e05=>{const _0x28e69f=_0x1ed2f0;return _0x551e05['option'](_0x28e69f(0x140),{'type':_0x491ad4['UMLUf'],'description':_0x28e69f(0x284),'default':![]})[_0x28e69f(0x199)](_0x491ad4[_0x28e69f(0x277)],{'type':_0x28e69f(0x1f6),'choices':[_0x28e69f(0x1bb),_0x491ad4['YvkqB']],'description':_0x491ad4['QIXPP']});},async _0x42247b=>{const _0x2a347f=_0x1ed2f0,_0x1ff9e8=_0x491ad4[_0x2a347f(0x1a7)](Boolean,_0x42247b[_0x2a347f(0x140)]);await withTelemetry(_0x2a347f(0x172),()=>skillup({'autoInstall':_0x42247b['scope'],'platform':_0x1ff9e8?'opencode':'claude'}));})['command'](_0x1ed2f0(0x183),'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{const _0x29bedb=_0x1ed2f0;await _0x491ad4[_0x29bedb(0x117)](withTelemetry,_0x29bedb(0x183),()=>clean());})['command'](['profile',_0x491ad4[_0x1ed2f0(0x1a6)]],'Manage\x20profiles',_0xbb41a9=>{const _0x56f083=_0x1ed2f0,_0x555833={'Dwicx':_0x56f083(0x1f6),'BGFgF':'url','lZPvP':'cdp-endpoint','lxBMF':_0x56f083(0x26d),'dEzcO':_0x56f083(0x10b),'CiQzc':_0x491ad4['UMLUf'],'aBPVK':'setup-header','VMMGK':_0x491ad4['GnMCD'],'gFXHx':_0x56f083(0x11c),'IVKDb':_0x56f083(0x1bb),'HjVWL':_0x56f083(0x127),'wCkZy':_0x491ad4[_0x56f083(0x257)],'ZcliT':'profile-name','EYWZD':'Name\x20of\x20the\x20profile','lwDMg':_0x491ad4['ryWnV'],'Ucbee':'allow-insecure-localhost','lwsaW':_0x491ad4[_0x56f083(0x16d)],'ZUTyK':_0x491ad4['AomsD'],'HPvGJ':function(_0x4c6391,_0x4769db){return _0x4c6391||_0x4769db;},'qTxmy':function(_0x2dbc67,_0x49edc4,_0x582283){return _0x2dbc67(_0x49edc4,_0x582283);},'SDBhi':function(_0x2fd922,_0x565d5d){return _0x2fd922===_0x565d5d;},'eRLRb':function(_0x4b6fdc,_0x2d5e6c){return _0x4b6fdc===_0x2d5e6c;},'URsMf':_0x56f083(0x25d),'bnlXc':_0x491ad4['qxBLb'],'UHMsD':function(_0x4ce721,_0x44a76b,_0x4727d1){const _0x3acfd4=_0x56f083;return _0x491ad4[_0x3acfd4(0x2a0)](_0x4ce721,_0x44a76b,_0x4727d1);},'TJEuZ':_0x491ad4[_0x56f083(0x17f)],'vYtvs':'all','bMJAa':_0x56f083(0x136),'VfNqQ':_0x56f083(0x126),'DrZQo':_0x491ad4[_0x56f083(0x1f5)],'jkidO':_0x56f083(0x18f),'YTxeB':function(_0x5468ef,_0x453d05,_0x292b6b){return _0x491ad4['KHUZA'](_0x5468ef,_0x453d05,_0x292b6b);},'OgHKg':function(_0x5725d5,_0x506390,_0x4e4c88){const _0x2ed081=_0x56f083;return _0x491ad4[_0x2ed081(0x184)](_0x5725d5,_0x506390,_0x4e4c88);},'RItRf':_0x56f083(0x196),'oFfTa':_0x491ad4['SqBuT'],'dyrlR':'value','LopIJ':_0x491ad4[_0x56f083(0x259)],'DLlRM':_0x491ad4['QQFcW'],'NmVCr':'unset\x20<profile>\x20<key>','qMkKj':_0x56f083(0xee)};return _0xbb41a9[_0x56f083(0x181)](PROFILE_HELP)['command'](_0x491ad4[_0x56f083(0x227)],_0x491ad4['hwySe'],_0xe73df4=>{const _0x363aa5=_0x56f083;return _0xe73df4['positional']('profile-name',{'type':_0x555833[_0x363aa5(0x1b7)],'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x363aa5(0x25a),'hidden':!![],'default':![]})['option'](_0x363aa5(0x1b8),{'type':'boolean','description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0x363aa5(0x199)](_0x555833[_0x363aa5(0x28e)],{'type':_0x363aa5(0x1f6),'description':_0x363aa5(0x12a)})['option'](_0x363aa5(0x271),{'type':'boolean','description':_0x363aa5(0x119),'default':![]})['option'](_0x555833[_0x363aa5(0x290)],{'type':_0x555833['Dwicx'],'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})['option'](_0x363aa5(0x209),{'type':'boolean','description':_0x555833[_0x363aa5(0x24b)],'default':![]})[_0x363aa5(0x199)](_0x555833['dEzcO'],{'type':_0x555833[_0x363aa5(0x28b)],'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]})[_0x363aa5(0x199)](_0x555833['aBPVK'],{'type':_0x555833['Dwicx'],'array':!![],'description':_0x555833[_0x363aa5(0x239)]})[_0x363aa5(0x199)](_0x555833[_0x363aa5(0x169)],{'type':'string','choices':[_0x555833['IVKDb'],_0x555833[_0x363aa5(0x118)]],'description':_0x555833[_0x363aa5(0x189)]})[_0x363aa5(0x199)](_0x363aa5(0x1b5),{'type':_0x363aa5(0x25a),'alias':'y','description':_0x363aa5(0x116),'default':![]});},async _0x1beee8=>{const _0x8f40c=_0x56f083;await _0x491ad4['urPhQ'](withTelemetry,_0x491ad4[_0x8f40c(0x234)],_0x46d9b9=>addEnv(_0x1beee8['profile-name'],{'ci':_0x1beee8['ci'],'skipAuth':_0x1beee8['skip-auth'],'url':_0x1beee8[_0x8f40c(0x17a)],'force':_0x1beee8[_0x8f40c(0x271)],'cdpEndpoint':_0x1beee8[_0x8f40c(0x177)],'allowInsecureLocalhost':_0x1beee8[_0x8f40c(0x209)],'safeMode':_0x1beee8[_0x8f40c(0x10b)],'setupHeader':_0x1beee8['setup-header'],'scope':_0x1beee8[_0x8f40c(0x11c)],'yes':_0x1beee8[_0x8f40c(0x1b5)]},_0x46d9b9),{'isElectron':Boolean(_0x1beee8[_0x8f40c(0x177)])});})['command'](_0x491ad4['yPIgw'],'Switch\x20to\x20using\x20a\x20specific\x20profile',_0x57bcc6=>{const _0x3cd672=_0x56f083;return _0x57bcc6[_0x3cd672(0x1bd)](_0x555833[_0x3cd672(0x1b4)],{'type':_0x555833['Dwicx'],'description':_0x555833[_0x3cd672(0x1d7)],'demandOption':!![]});},async _0x2b92cf=>{await withTelemetry('profile\x20use',()=>useEnv(_0x2b92cf['profile-name']));})['command'](_0x491ad4[_0x56f083(0x139)],_0x56f083(0x10d),_0x572ccf=>{const _0x5ee34b=_0x56f083;return _0x572ccf['positional'](_0x491ad4[_0x5ee34b(0x1a1)],{'type':_0x5ee34b(0x1f6),'description':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','demandOption':!![]})['option']('yes',{'type':_0x491ad4[_0x5ee34b(0x138)],'alias':'y','description':'Skip\x20the\x20deletion\x20confirmation\x20prompt.','default':![]});},async _0x5557f8=>{const _0x5a62d8=_0x56f083;await _0x491ad4['uyhNH'](withTelemetry,_0x491ad4[_0x5a62d8(0x2a1)],()=>deleteProfile(_0x5557f8['profile-name'],{'yes':_0x5557f8[_0x5a62d8(0x1b5)]}));})[_0x56f083(0xe3)](_0x491ad4['HSnUK'],![],_0x2541a6=>{const _0x401e88=_0x56f083;return _0x2541a6['positional'](_0x401e88(0x298),{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x14ce1e=>{const _0x5314bb=_0x56f083;await _0x491ad4[_0x5314bb(0x13e)](withTelemetry,_0x491ad4['zqIXJ'],()=>authEncrypt(_0x14ce1e[_0x5314bb(0x298)]));})[_0x56f083(0xe3)]('ls',_0x491ad4['tfGDm'],()=>{},async()=>{await withTelemetry('profile\x20ls',()=>envList());})[_0x56f083(0xe3)](_0x491ad4['rPUPc'],'Update\x20authentication\x20for\x20an\x20existing\x20profile',_0x4a1da0=>{const _0x3ac694=_0x56f083;return _0x4a1da0['positional'](_0x3ac694(0x1dd),{'type':_0x3ac694(0x1f6),'description':_0x555833[_0x3ac694(0xe5)],'demandOption':!![]})['option'](_0x555833[_0x3ac694(0x147)],{'type':_0x555833['CiQzc'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)'})['option'](_0x555833[_0x3ac694(0x179)],{'type':'boolean','description':_0x3ac694(0x129)});},async _0x57cb3f=>{const _0x1e1a8e=_0x56f083;await _0x491ad4[_0x1e1a8e(0x255)](withTelemetry,_0x491ad4['RrwqN'],_0x1291ea=>updateEnv(_0x57cb3f['profile-name'],_0x1291ea,{'allowInsecureLocalhost':_0x57cb3f[_0x1e1a8e(0x209)],'manual':_0x57cb3f[_0x1e1a8e(0x24a)]}));})[_0x56f083(0xe3)]('login\x20<name>',![],_0x3d98b4=>{const _0x5454d9=_0x56f083;return _0x3d98b4['positional'](_0x555833['ZUTyK'],{'type':_0x5454d9(0x1f6),'description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0x3d26d7=>{const _0x123aa5=_0x56f083;await _0x555833[_0x123aa5(0x1fd)](withTelemetry,_0x123aa5(0x10a),async()=>{const _0x1a7ceb=_0x123aa5,_0x206bbe=process[_0x1a7ceb(0x19d)]['RANGER_TEST_USERNAME'],_0x20a2f5=process['env'][_0x1a7ceb(0x19e)];_0x555833[_0x1a7ceb(0x1f2)](!_0x206bbe,!_0x20a2f5)&&(console[_0x1a7ceb(0x223)]('Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.'),process['exit'](0x1));const _0x410169=_0x3d26d7['name'],_0x2d93ad=await _0x555833['qTxmy'](serverSideLogin,_0x410169,{'force':!![]});_0x555833[_0x1a7ceb(0x164)](_0x2d93ad['status'],'not_configured')&&(console[_0x1a7ceb(0x223)]('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process['exit'](0x1)),_0x555833[_0x1a7ceb(0x18a)](_0x2d93ad[_0x1a7ceb(0x283)],_0x555833['URsMf'])&&(console['error']('Login\x20failed:\x20'+(_0x2d93ad['error']??_0x555833['bnlXc'])),_0x2d93ad[_0x1a7ceb(0x154)]&&console['error'](_0x2d93ad['test_output']),process['exit'](0x1)),console[_0x1a7ceb(0x1c0)](_0x1a7ceb(0x268)+_0x410169+'\x27.\x20Session\x20saved.');});})['command']('migrate\x20[profile-name]',![],_0xc021c0=>{const _0x403af7=_0x56f083;return _0xc021c0[_0x403af7(0x1bd)]('profile-name',{'type':_0x555833['Dwicx'],'description':_0x555833[_0x403af7(0x280)]})[_0x403af7(0x199)](_0x555833['vYtvs'],{'type':_0x555833['CiQzc'],'description':_0x555833['bMJAa'],'default':![]})[_0x403af7(0x199)](_0x555833[_0x403af7(0x14b)],{'type':'boolean','description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})['option']('yes',{'type':_0x403af7(0x25a),'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})[_0x403af7(0x199)](_0x555833[_0x403af7(0x235)],{'type':_0x555833['CiQzc'],'description':_0x555833[_0x403af7(0x29d)],'default':![]});},async _0x4e83f0=>{const _0x4644f1=_0x56f083;await _0x491ad4[_0x4644f1(0x109)](withTelemetry,_0x491ad4[_0x4644f1(0x1fb)],_0x31e9a9=>migrateProfile({'profileName':_0x4e83f0[_0x4644f1(0x1dd)],'all':_0x4e83f0['all'],'dryRun':_0x4e83f0['dry-run'],'yes':_0x4e83f0[_0x4644f1(0x1b5)],'saveCreds':_0x4e83f0['save-creds']},_0x31e9a9));})[_0x56f083(0xe3)](_0x491ad4['dhNmZ'],_0x491ad4['QRKZS'],_0x14f1d4=>{const _0xc54f52=_0x56f083,_0x5226b5={'OTqKj':_0xc54f52(0x298),'hAyxc':_0x555833['Dwicx'],'uIDAq':_0xc54f52(0x256),'XtHek':_0x555833['RItRf'],'YHPhR':_0x555833[_0xc54f52(0x15c)],'lfDeJ':_0x555833['dyrlR'],'LXyuR':'Config\x20key','GSBhk':_0xc54f52(0xd7),'QNBcX':_0x555833[_0xc54f52(0xfe)]};return _0x14f1d4[_0xc54f52(0x181)](PROFILE_CONFIG_HELP)['command']('set\x20<profile>\x20<key>\x20<value>',_0xc54f52(0x1e3),_0x2b100b=>{const _0x2cab04=_0xc54f52;return _0x2b100b['positional'](_0x5226b5[_0x2cab04(0x15d)],{'type':_0x5226b5[_0x2cab04(0x24f)],'description':_0x5226b5[_0x2cab04(0x1d8)],'demandOption':!![]})[_0x2cab04(0x1bd)](_0x5226b5[_0x2cab04(0x282)],{'type':'string','description':_0x5226b5[_0x2cab04(0x23d)],'demandOption':!![]})[_0x2cab04(0x1bd)](_0x5226b5[_0x2cab04(0x112)],{'type':_0x5226b5['hAyxc'],'description':'Config\x20value','demandOption':!![]});},async _0x48c537=>{const _0x12d4ed=_0xc54f52;await _0x555833['YTxeB'](withTelemetry,_0x12d4ed(0xd5),()=>configSet(_0x48c537[_0x12d4ed(0x298)],_0x48c537[_0x12d4ed(0x196)],_0x48c537['value']));})[_0xc54f52(0xe3)](_0xc54f52(0x1e8),_0x555833['DLlRM'],_0x1c7ad8=>{const _0x365fb9=_0xc54f52;return _0x1c7ad8[_0x365fb9(0x1bd)](_0x5226b5[_0x365fb9(0x15d)],{'type':_0x5226b5['hAyxc'],'description':_0x365fb9(0x256),'demandOption':!![]})['positional'](_0x5226b5[_0x365fb9(0x282)],{'type':_0x5226b5[_0x365fb9(0x24f)],'description':_0x5226b5['LXyuR'],'demandOption':!![]});},async _0x32206c=>{const _0x48741a=_0xc54f52;await withTelemetry(_0x5226b5['GSBhk'],()=>configGet(_0x32206c['profile'],_0x32206c[_0x48741a(0x196)]));})[_0xc54f52(0xe3)](_0xc54f52(0x1c1),_0xc54f52(0x125),_0xc8442c=>{return _0xc8442c['positional']('profile',{'type':_0x5226b5['hAyxc'],'description':'Profile\x20name','demandOption':!![]});},async _0x5f12ba=>{const _0x56b265=_0xc54f52;await _0x555833['OgHKg'](withTelemetry,_0x56b265(0x1e7),()=>configList(_0x5f12ba[_0x56b265(0x298)]));})[_0xc54f52(0xe3)](_0x555833[_0xc54f52(0x105)],_0xc54f52(0x142),_0x277c0f=>{const _0xeb4774=_0xc54f52;return _0x277c0f[_0xeb4774(0x1bd)](_0x5226b5[_0xeb4774(0x15d)],{'type':_0x5226b5['hAyxc'],'description':'Profile\x20name','demandOption':!![]})[_0xeb4774(0x1bd)](_0xeb4774(0x196),{'type':_0x5226b5['hAyxc'],'description':_0x5226b5[_0xeb4774(0xe4)],'demandOption':!![]});},async _0x360522=>{const _0x3579bd=_0xc54f52;await withTelemetry(_0x3579bd(0x185),()=>configUnset(_0x360522['profile'],_0x360522['key']));})[_0xc54f52(0xe3)](_0x555833['qMkKj'],'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile',_0x132ec3=>{const _0x47bd10=_0xc54f52;return _0x132ec3['positional'](_0x47bd10(0x298),{'type':_0x47bd10(0x1f6),'description':_0x47bd10(0x256),'demandOption':!![]});},async _0x363428=>{const _0x5d3275=_0xc54f52;await withTelemetry(_0x5d3275(0xe0),()=>configReset(_0x363428['profile']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})[_0x56f083(0x1da)](0x1,_0x56f083(0x29e));})[_0x1ed2f0(0xe3)](_0x491ad4[_0x1ed2f0(0x251)],_0x1ed2f0(0x17c),()=>{},async()=>{const _0x4fc1c9=_0x1ed2f0;await _0x491ad4[_0x4fc1c9(0xdc)](withTelemetry,'status',()=>status());})[_0x1ed2f0(0xe3)](_0x491ad4['iEuRl'],_0x491ad4[_0x1ed2f0(0x218)],()=>{},async()=>{const _0x1ae140=_0x1ed2f0;await _0x491ad4[_0x1ae140(0x16f)](withTelemetry,_0x491ad4[_0x1ae140(0x1d9)],()=>update());})['command'](_0x1ed2f0(0x166),_0x1ed2f0(0x244),()=>{},async()=>{const _0x1ba37a=_0x1ed2f0,_0x5f04e1={'dwlWy':function(_0x650563){return _0x650563();},'zeAmR':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.'};await withTelemetry(_0x1ba37a(0x166),async()=>{const _0xbcf242=await _0x5f04e1['dwlWy'](getToken);if(!_0xbcf242)throw new Error(_0x5f04e1['zeAmR']);console['log'](_0xbcf242);});})[_0x1ed2f0(0xe3)]('go','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.',_0x398254=>{const _0x257b7e=_0x1ed2f0;return _0x398254[_0x257b7e(0x199)](_0x491ad4['TEDTY'],{'type':_0x257b7e(0x1f6),'description':_0x491ad4[_0x257b7e(0x279)]})['option']('profile',{'type':_0x491ad4['VaEwM'],'description':_0x491ad4['ylWjN']})[_0x257b7e(0x199)]('notes',{'type':_0x491ad4['VaEwM'],'description':_0x491ad4[_0x257b7e(0x173)]})[_0x257b7e(0x199)]('scenario',{'type':_0x491ad4['YBmHM'],'description':_0x491ad4[_0x257b7e(0x137)]})[_0x257b7e(0x199)]('start-path',{'type':_0x257b7e(0x1f6),'description':_0x257b7e(0x27a)})[_0x257b7e(0x199)](_0x491ad4['XJCAi'],{'type':_0x491ad4[_0x257b7e(0xc5)],'description':_0x491ad4[_0x257b7e(0x19a)]})['option'](_0x257b7e(0x267),{'type':'string','description':'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.'})['option']('headed',{'type':_0x491ad4[_0x257b7e(0x138)],'description':_0x257b7e(0x22e),'default':![]})['option']('env-var',{'type':'string','array':!![],'alias':'environment-variable','description':_0x491ad4[_0x257b7e(0x215)]})['option'](_0x257b7e(0xcf),{'type':_0x491ad4[_0x257b7e(0xc5)],'hidden':!![],'choices':['verified',_0x491ad4[_0x257b7e(0x132)],_0x257b7e(0x155),_0x491ad4['CnEgK'],'incomplete']})['option'](_0x491ad4[_0x257b7e(0xed)],{'type':_0x491ad4[_0x257b7e(0x138)],'hidden':!![]})['option'](_0x491ad4[_0x257b7e(0x242)],{'type':_0x491ad4['VaEwM'],'hidden':!![]})[_0x257b7e(0x199)]('task',{'type':_0x491ad4['VaEwM'],'hidden':!![]})['option'](_0x257b7e(0x214),{'type':_0x257b7e(0x221),'hidden':!![]});},async _0x388670=>{await _0x491ad4['lXzaI'](runGoCommand,_0x388670);})['command'](_0x1ed2f0(0x1e0),![],_0x41ce69=>{const _0x3de78b=_0x1ed2f0,_0x23e325={'gKHNw':_0x3de78b(0x256),'Kycwz':_0x491ad4[_0x3de78b(0x1d6)]};return _0x41ce69['command'](_0x491ad4[_0x3de78b(0x1b1)],![],_0x189a37=>{const _0x2ef007=_0x3de78b;return _0x189a37[_0x2ef007(0x1bd)]('profile',{'type':'string','description':_0x23e325[_0x2ef007(0x10c)],'demandOption':!![]});},async _0x1aafc8=>{const _0x26c37c=_0x3de78b;warnRenamed(_0x23e325['Kycwz'],_0x26c37c(0x14c)),await authEncrypt(_0x1aafc8[_0x26c37c(0x298)]);})[_0x3de78b(0x1da)](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command'](_0x1ed2f0(0x23b),![],_0xfe21=>{const _0x15c1f9=_0x1ed2f0;return _0xfe21['positional'](_0x491ad4[_0x15c1f9(0xf0)],{'type':_0x15c1f9(0x1f6),'description':_0x491ad4[_0x15c1f9(0x261)]})[_0x15c1f9(0x199)]('skip-chromium',{'type':_0x15c1f9(0x25a),'description':_0x491ad4['lAcad'],'default':![]})['option'](_0x491ad4[_0x15c1f9(0x277)],{'type':'string','choices':[_0x491ad4[_0x15c1f9(0x224)]],'hidden':!![],'description':_0x491ad4[_0x15c1f9(0x12f)]})[_0x15c1f9(0x199)](_0x15c1f9(0x17a),{'type':_0x491ad4['VaEwM'],'description':_0x491ad4[_0x15c1f9(0x20f)]})['option']('force',{'type':_0x491ad4[_0x15c1f9(0x138)],'description':_0x15c1f9(0x119),'default':![]})['option']('skip-auth',{'type':_0x491ad4[_0x15c1f9(0x138)],'description':_0x491ad4['RITtQ'],'default':![]})['option'](_0x491ad4['OEwSQ'],{'type':_0x491ad4['UMLUf'],'description':_0x15c1f9(0x1a3),'default':![]});},async _0x459805=>{const _0x422bb7=_0x1ed2f0;_0x491ad4[_0x422bb7(0x13d)](warnRenamed,_0x491ad4[_0x422bb7(0x201)],_0x491ad4[_0x422bb7(0x20e)]),await _0x491ad4[_0x422bb7(0x260)](withTelemetry,_0x491ad4[_0x422bb7(0x1c4)],_0x336965=>start(_0x459805['token'],{'skipChromium':_0x459805['skip-chromium'],'skipAuth':_0x459805['skip-auth'],'withDeps':_0x459805['with-deps'],'scope':_0x459805[_0x422bb7(0x11c)],'url':_0x459805['url'],'force':_0x459805[_0x422bb7(0x271)]},_0x336965));})[_0x1ed2f0(0xe3)](_0x491ad4['UKEgP'],![],_0x3aad46=>{const _0x2a91b1=_0x1ed2f0;return _0x3aad46['option'](_0x491ad4['baYpZ'],{'type':_0x491ad4[_0x2a91b1(0xc5)],'description':_0x491ad4['nCwJS']})[_0x2a91b1(0x199)]('task',{'type':_0x491ad4['VaEwM'],'description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})[_0x2a91b1(0x199)](_0x2a91b1(0x214),{'type':_0x2a91b1(0x221),'description':'Scenario\x20index\x20(1-based)'})[_0x2a91b1(0x199)](_0x2a91b1(0x298),{'type':_0x491ad4[_0x2a91b1(0xc5)],'hidden':!![]})['option'](_0x491ad4['UfoZk'],{'type':_0x491ad4['VaEwM'],'hidden':!![]})['option'](_0x491ad4['EMfiC'],{'type':'number','hidden':!![]})[_0x2a91b1(0x199)](_0x2a91b1(0x158),{'type':_0x491ad4['VaEwM'],'description':_0x491ad4['MupUm']})['option'](_0x491ad4['XJCAi'],{'type':_0x491ad4['VaEwM'],'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x2a91b1(0x199)](_0x2a91b1(0x267),{'type':_0x491ad4[_0x2a91b1(0xc5)],'hidden':!![]})['option'](_0x491ad4['jkUji'],{'type':'boolean','hidden':!![],'default':![]})['option'](_0x491ad4[_0x2a91b1(0x258)],{'type':'string','array':!![],'alias':_0x491ad4[_0x2a91b1(0x16b)],'hidden':!![]})['option']('debug-outcome',{'type':'string','hidden':!![],'choices':[_0x491ad4[_0x2a91b1(0x265)],_0x2a91b1(0x220),_0x2a91b1(0x155),_0x2a91b1(0x25d),_0x491ad4['IudYe']]});},async _0x53dcc1=>{await runGoCommand(_0x53dcc1,!![]);})['command'](_0x1ed2f0(0x24d),![],_0x6a7b29=>{const _0x452ca1=_0x1ed2f0;return _0x6a7b29['positional']('env-name',{'type':'string','description':_0x491ad4[_0x452ca1(0x167)],'demandOption':!![]})['option']('ci',{'type':'boolean','description':_0x491ad4['JjwTy'],'default':![]})[_0x452ca1(0x199)](_0x491ad4['gVlmg'],{'type':_0x491ad4[_0x452ca1(0x138)],'description':_0x452ca1(0x163),'default':![]});},async _0x1db9a4=>{warnRenamed('ranger\x20add\x20env','ranger\x20profile\x20add'),await withTelemetry(_0x491ad4['fMCmi'],_0x29aa42=>addEnv(_0x1db9a4['env-name'],{'ci':_0x1db9a4['ci'],'skipAuth':_0x1db9a4['skip-auth']},_0x29aa42));})['command'](_0x491ad4['kjIof'],![],_0x1ff0cb=>{const _0x41f705=_0x1ed2f0;return _0x1ff0cb['positional']('env-name',{'type':_0x41f705(0x1f6),'description':_0x491ad4[_0x41f705(0x1d4)],'demandOption':!![]});},async _0x390193=>{const _0x11d284=_0x1ed2f0;_0x491ad4['GQbqq'](warnRenamed,_0x11d284(0x17e),'ranger\x20profile\x20use'),await _0x491ad4['HHwgY'](withTelemetry,_0x491ad4[_0x11d284(0x1d2)],()=>useEnv(_0x390193['env-name']));})['command'](_0x491ad4['dhNmZ'],![],_0x6cae96=>{const _0x4bc92f=_0x1ed2f0,_0x6cbd07={'sVzuk':_0x4bc92f(0x19d),'oOqGV':_0x491ad4['VaEwM'],'jFUYz':_0x491ad4['SqBuT'],'maqYA':_0x491ad4[_0x4bc92f(0xef)],'gNzFp':'Config\x20value','xaPaB':_0x4bc92f(0x202),'rerQl':_0x4bc92f(0x20a),'yPWvu':function(_0x211bcf,_0x32c533,_0x3a58cd){return _0x211bcf(_0x32c533,_0x3a58cd);},'LIGRC':_0x491ad4[_0x4bc92f(0x21b)]};return _0x6cae96[_0x4bc92f(0xe3)](_0x491ad4['hkzPv'],![],_0x96786a=>{const _0xeb0d30=_0x4bc92f;return _0x96786a[_0xeb0d30(0x1bd)](_0x6cbd07['sVzuk'],{'type':_0x6cbd07[_0xeb0d30(0x178)],'description':_0xeb0d30(0x20a),'demandOption':!![]})['positional']('key',{'type':_0x6cbd07['oOqGV'],'description':_0x6cbd07[_0xeb0d30(0xe2)],'demandOption':!![]})['positional'](_0x6cbd07[_0xeb0d30(0x1cf)],{'type':_0xeb0d30(0x1f6),'description':_0x6cbd07['gNzFp'],'demandOption':!![]});},async _0x263125=>{const _0x16e280=_0x4bc92f;warnRenamed(_0x16e280(0xd3),_0x6cbd07['xaPaB']),await withTelemetry(_0x16e280(0x1f0),()=>configSet(_0x263125[_0x16e280(0x19d)],_0x263125[_0x16e280(0x196)],_0x263125[_0x16e280(0x299)]));})['command']('get\x20<env>\x20<key>',![],_0x4709e4=>{const _0x598710=_0x4bc92f;return _0x4709e4[_0x598710(0x1bd)](_0x491ad4[_0x598710(0x242)],{'type':_0x491ad4['VaEwM'],'description':_0x491ad4['aEuGx'],'demandOption':!![]})['positional'](_0x491ad4['uFzUE'],{'type':'string','description':_0x598710(0x102),'demandOption':!![]});},async _0x55065f=>{const _0x3847e7=_0x4bc92f;warnRenamed(_0x491ad4['pctcH'],_0x491ad4['AXTQi']),await _0x491ad4['HnYNG'](withTelemetry,_0x491ad4['CYkXL'],()=>configGet(_0x55065f['env'],_0x55065f[_0x3847e7(0x196)]));})[_0x4bc92f(0xe3)](_0x4bc92f(0x108),![],_0x4ef6b3=>{const _0x36c785=_0x4bc92f;return _0x4ef6b3['positional'](_0x6cbd07[_0x36c785(0x1ba)],{'type':_0x6cbd07[_0x36c785(0x178)],'description':_0x6cbd07[_0x36c785(0x263)],'demandOption':!![]});},async _0x420c10=>{const _0x2ac49c=_0x4bc92f;_0x6cbd07['yPWvu'](warnRenamed,_0x6cbd07[_0x2ac49c(0x21e)],'ranger\x20profile\x20config\x20list'),await withTelemetry(_0x2ac49c(0x287),()=>configList(_0x420c10['env']));})[_0x4bc92f(0xe3)]('unset\x20<env>\x20<key>',![],_0x1b701c=>{const _0x14105d=_0x4bc92f;return _0x1b701c[_0x14105d(0x1bd)](_0x491ad4['baYpZ'],{'type':_0x14105d(0x1f6),'description':_0x491ad4['aEuGx'],'demandOption':!![]})[_0x14105d(0x1bd)]('key',{'type':_0x491ad4['VaEwM'],'description':_0x491ad4[_0x14105d(0x259)],'demandOption':!![]});},async _0x580dac=>{const _0x5eb481=_0x4bc92f;_0x491ad4['JGJcJ'](warnRenamed,_0x5eb481(0x269),'ranger\x20profile\x20config\x20unset'),await _0x491ad4[_0x5eb481(0x217)](withTelemetry,_0x5eb481(0x113),()=>configUnset(_0x580dac['env'],_0x580dac[_0x5eb481(0x196)]));})['demandCommand'](0x1,_0x491ad4['GMdkk']);})['command'](_0x1ed2f0(0x19d),![],_0x2dd31f=>{const _0x18e81a=_0x1ed2f0,_0x360102={'itDJt':_0x18e81a(0x1c6),'ntgcm':function(_0x349c32,_0x6fc01c,_0x21665e){const _0x5b6e4c=_0x18e81a;return _0x491ad4[_0x5b6e4c(0x243)](_0x349c32,_0x6fc01c,_0x21665e);},'UmFxD':_0x491ad4['MpLTo'],'yTphR':'ranger\x20env\x20update','vliuV':_0x491ad4[_0x18e81a(0xd0)],'jZepf':function(_0x56dded,_0x3c31bd,_0x1ac033){const _0x36e6a3=_0x18e81a;return _0x491ad4[_0x36e6a3(0x1ee)](_0x56dded,_0x3c31bd,_0x1ac033);}};return _0x2dd31f['command']('ls',![],()=>{},async()=>{const _0x328fb8=_0x18e81a;warnRenamed(_0x360102[_0x328fb8(0x1e1)],_0x328fb8(0xd8)),await _0x360102[_0x328fb8(0x11a)](withTelemetry,_0x360102['UmFxD'],()=>envList());})[_0x18e81a(0xe3)]('update\x20<env-name>',![],_0x33d93f=>{return _0x33d93f['positional']('env-name',{'type':_0x491ad4['VaEwM'],'description':_0x491ad4['wThQu'],'demandOption':!![]});},async _0x8d2827=>{const _0x5855a3=_0x18e81a;warnRenamed(_0x360102['yTphR'],_0x360102['vliuV']),await _0x360102['jZepf'](withTelemetry,_0x5855a3(0xf1),_0x42c4fa=>updateEnv(_0x8d2827['env-name'],_0x42c4fa));})['demandCommand'](0x1,_0x491ad4['EXGzj']);})[_0x1ed2f0(0xe3)]('feature',![],_0x43adbf=>{const _0x2f43e4=_0x1ed2f0,_0x42347c={'CaTwf':_0x2f43e4(0xff),'GHHpv':_0x491ad4['UMLUf'],'HPzQB':_0x491ad4[_0x2f43e4(0x25f)],'HXonl':_0x491ad4[_0x2f43e4(0x21f)],'swCst':_0x491ad4['YBmHM'],'eLKZR':_0x491ad4['XcQpC'],'Xxble':_0x491ad4[_0x2f43e4(0x22c)],'rfAwu':_0x491ad4[_0x2f43e4(0xc5)],'CRwTs':function(_0x35ccdd,_0x309e4e,_0x2f9803){const _0x5d7d33=_0x2f43e4;return _0x491ad4[_0x5d7d33(0x229)](_0x35ccdd,_0x309e4e,_0x2f9803);},'rauqh':_0x491ad4['bosry'],'RwtLm':'feature\x20show','wZjLt':_0x2f43e4(0x1a9),'AZCWq':_0x491ad4['qWSTd'],'teljj':_0x2f43e4(0x1e6),'JsfgK':_0x491ad4[_0x2f43e4(0x122)]};return _0x43adbf['command'](_0x2f43e4(0x1ac),![],_0x4326ff=>{const _0x3f9eea=_0x2f43e4;return _0x4326ff['positional'](_0x491ad4['AomsD'],{'type':_0x491ad4[_0x3f9eea(0xc5)],'description':'Feature\x20review\x20name','demandOption':!![]})[_0x3f9eea(0x199)](_0x491ad4[_0x3f9eea(0x288)],{'type':_0x491ad4['VaEwM'],'alias':'d','description':'Feature\x20review\x20description'})['option']('checklist',{'type':'array','alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x3f9eea(0x199)]('scenario',{'type':_0x491ad4[_0x3f9eea(0x1d1)],'hidden':!![]});},async _0x27a016=>{const _0xeb1dbb=_0x2f43e4;_0x491ad4['KNver'](warnRenamed,_0x491ad4[_0xeb1dbb(0x120)],_0x491ad4['RZzMq']),_0x491ad4['zNkTd'](warnFlagRenamed,_0x491ad4['RZzMq'],_0x491ad4[_0xeb1dbb(0xe8)],_0x491ad4['WGDXA']);const _0x1973c0=_0x27a016[_0xeb1dbb(0x281)]||_0x27a016['checklist'];await _0x491ad4['LVmTu'](withTelemetry,_0x491ad4['cCfKT'],()=>featureCreate(_0x27a016['name'],{'description':_0x27a016[_0xeb1dbb(0xd2)],'scenarios':_0x1973c0}));})['command'](_0x2f43e4(0x22a),![],_0x3a1fa8=>{const _0x1419ec=_0x2f43e4;return _0x3a1fa8[_0x1419ec(0x199)](_0x42347c[_0x1419ec(0x1c3)],{'type':_0x42347c[_0x1419ec(0x264)],'description':_0x42347c['HPzQB']})[_0x1419ec(0x199)](_0x42347c['HXonl'],{'type':_0x42347c[_0x1419ec(0x133)],'alias':'l','description':_0x42347c[_0x1419ec(0x22f)],'default':0xa})['option'](_0x42347c['Xxble'],{'type':_0x42347c['swCst'],'alias':'o','description':_0x1419ec(0x278),'default':0x0})['option'](_0x1419ec(0x19f),{'type':_0x42347c[_0x1419ec(0x264)],'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x574845=>{const _0x12fd17=_0x2f43e4;warnRenamed(_0x491ad4[_0x12fd17(0x212)],'ranger\x20list'),await withTelemetry(_0x491ad4[_0x12fd17(0x1a4)],()=>featureList({'currentBranch':_0x574845['current-branch'],'limit':_0x574845['limit'],'offset':_0x574845[_0x12fd17(0x1c7)],'includeDeleted':_0x574845['include-deleted']}));})[_0x2f43e4(0xe3)]('show\x20[id]',![],_0x2abcf0=>{const _0x3ece7f=_0x2f43e4;return _0x2abcf0[_0x3ece7f(0x1bd)]('id',{'type':_0x42347c[_0x3ece7f(0x198)],'description':_0x3ece7f(0x18d)});},async _0x4df41e=>{const _0xdf64e0=_0x2f43e4;_0x42347c[_0xdf64e0(0x13c)](warnRenamed,_0xdf64e0(0xca),_0x42347c[_0xdf64e0(0x232)]),await _0x42347c[_0xdf64e0(0x13c)](withTelemetry,_0x42347c['RwtLm'],()=>featureShow(_0x4df41e['id']));})['command'](_0x2f43e4(0x230),![],_0x36ed42=>{const _0x1b59b6=_0x2f43e4;return _0x36ed42['positional']('id',{'type':'string','description':_0x42347c[_0x1b59b6(0x110)]});},async _0x4b4b79=>{const _0x42d74a=_0x2f43e4;_0x491ad4[_0x42d74a(0x109)](warnRenamed,_0x42d74a(0x15b),_0x491ad4[_0x42d74a(0x24e)]),await withTelemetry(_0x491ad4[_0x42d74a(0x151)],()=>featureResume(_0x4b4b79['id']));})[_0x2f43e4(0xe3)]('add-checklist-item\x20<description>',![],_0x5b8750=>{const _0x5988a7=_0x2f43e4;return _0x5b8750[_0x5988a7(0x1bd)]('description',{'type':'string','description':_0x5988a7(0xfb),'demandOption':!![]})['option']('id',{'type':_0x491ad4['VaEwM'],'description':_0x491ad4[_0x5988a7(0x170)]});},async _0x251192=>{const _0x1ae046=_0x2f43e4;warnRenamed('ranger\x20feature\x20add-checklist-item','ranger\x20add-scenario'),await _0x491ad4['hAFWE'](withTelemetry,_0x491ad4[_0x1ae046(0x111)],()=>featureAddScenario(_0x251192[_0x1ae046(0xd2)],_0x251192['id']));})[_0x2f43e4(0xe3)](_0x491ad4['FYVUT'],![],_0x39bbee=>{const _0x45fd94=_0x2f43e4;return _0x39bbee[_0x45fd94(0x1bd)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x313a9f=>{const _0x3dab80=_0x2f43e4;warnRenamed(_0x3dab80(0xd9),'ranger\x20get-review'),await _0x491ad4[_0x3dab80(0x255)](withTelemetry,_0x3dab80(0xea),()=>featureGetReview(_0x313a9f['id']));})[_0x2f43e4(0xe3)](_0x2f43e4(0x148),![],_0x29e56c=>{const _0x286986=_0x2f43e4;return _0x29e56c[_0x286986(0x1bd)]('id',{'type':'string','description':_0x491ad4[_0x286986(0x1fa)]});},async _0x141217=>{const _0x1d9760=_0x2f43e4;_0x491ad4['WLSRi'](warnRenamed,_0x491ad4['ksRZP'],'ranger\x20delete'),await withTelemetry(_0x491ad4[_0x1d9760(0x1e2)],()=>featureDelete(_0x141217['id']));})['command']('restore\x20<id>',![],_0x2c73c3=>{const _0x4bf987=_0x2f43e4;return _0x2c73c3[_0x4bf987(0x1bd)]('id',{'type':_0x42347c['rfAwu'],'description':_0x42347c['AZCWq'],'demandOption':!![]});},async _0x15d614=>{const _0xc2fa27=_0x2f43e4;_0x42347c[_0xc2fa27(0x13c)](warnRenamed,_0x42347c[_0xc2fa27(0x165)],_0xc2fa27(0x195)),await withTelemetry(_0x42347c['JsfgK'],()=>featureRestore(_0x15d614['id']));})[_0x2f43e4(0x1da)](0x1,_0x2f43e4(0x293));})[_0x1ed2f0(0xe3)](_0x1ed2f0(0xce),![],_0x573de6=>{const _0xd5da15=_0x1ed2f0;return _0x573de6['command'](_0x491ad4[_0xd5da15(0xf9)],_0x491ad4[_0xd5da15(0x238)],_0x38ad57=>{const _0x5efa14=_0xd5da15;return _0x38ad57['option'](_0x5efa14(0x241),{'type':_0x5efa14(0x1f6),'description':_0x5efa14(0xc6)});},async _0x163e7d=>{const _0x4667b0=_0xd5da15;await withTelemetry(_0x491ad4[_0x4667b0(0x1dc)],()=>hook('enable',_0x163e7d[_0x4667b0(0x241)]));})['command'](_0x491ad4[_0xd5da15(0x1c5)],_0xd5da15(0x182),_0xe7727d=>{const _0x588bbe=_0xd5da15;return _0xe7727d['option']('session-id',{'type':_0x588bbe(0x1f6),'description':_0x491ad4[_0x588bbe(0x16c)]});},async _0x50c9df=>{const _0x2589a7=_0xd5da15;await withTelemetry(_0x491ad4[_0x2589a7(0x135)],()=>hook(_0x2589a7(0x23e),_0x50c9df[_0x2589a7(0x241)]));})['option']('name',{'type':_0x491ad4['VaEwM'],'description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})[_0xd5da15(0x199)](_0x491ad4['Prhie'],{'type':_0x491ad4[_0xd5da15(0xc5)],'description':_0xd5da15(0xc6)});},async _0x3a94c9=>{const _0x17c920=_0x1ed2f0;_0x3a94c9[_0x17c920(0x159)]&&await hook(_0x3a94c9['name'],_0x3a94c9[_0x17c920(0x241)]);})[_0x1ed2f0(0x1da)](0x1,_0x491ad4[_0x1ed2f0(0x20c)])[_0x1ed2f0(0x233)]()[_0x1ed2f0(0x115)](async(_0xebb047,_0x1269e5,_0xc3eaf0)=>{const _0xe03620=_0x1ed2f0,_0x2d9715=sanitizeArgs(process[_0xe03620(0x1e9)]['slice'](0x2)),_0x3b8883=_0x491ad4[_0xe03620(0x27e)](getErrorType,_0xebb047,_0x1269e5);if(_0xebb047&&_0xebb047['includes'](_0x491ad4[_0xe03620(0x276)])){const _0x16deff=process[_0xe03620(0x1e9)][0x2];console[_0xe03620(0x223)]('\x0aUnknown\x20command:\x20'+_0x16deff),console[_0xe03620(0x223)](_0xe03620(0x131));}else{if(_0xebb047)console['error']('\x0a'+_0xebb047+'\x0a');else _0x1269e5&&console['error'](_0xe03620(0x187)+_0x1269e5[_0xe03620(0x294)]+'\x0a');}await logDesirePath({'rawCommand':_0x2d9715,'errorMessage':_0xebb047||_0x1269e5?.[_0xe03620(0x294)],'errorType':_0x3b8883});const _0xbe2759=getCurrentCollector();_0xbe2759&&await _0xbe2759[_0xe03620(0x20b)](_0x1269e5||new Error(_0x491ad4[_0xe03620(0x26f)](_0xebb047,'Unknown\x20error'))),process['exit'](0x1);})['epilogue'](_0x491ad4[_0x1ed2f0(0x21a)](_0x1ed2f0(0xd1),'\x20\x20https://docs.ranger.net\x0a')+'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)')['help']()[_0x1ed2f0(0x188)](_0x491ad4['FyJig'],'h');}process[_0x2a4fa3(0x19d)]['NODE_ENV']!==_0x2a4fa3(0x1eb)&&(shouldShowLegacyWarning(process[_0x2a4fa3(0x1e9)])&&showLegacyDeprecationWarning(),buildParser()['parse']());
|