@ranger-testing/ranger-cli 3.1.2 → 3.1.3-alpha.e1ca941-42
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 _0x29fd62=_0x56de;(function(_0x5f6c40,_0x5f52f2){const _0x37733e=_0x56de,_0x4755a5=_0x5f6c40();while(!![]){try{const _0x1442ce=-parseInt(_0x37733e(0x277))/0x1+-parseInt(_0x37733e(0x17a))/0x2+parseInt(_0x37733e(0x287))/0x3+parseInt(_0x37733e(0x1cf))/0x4*(-parseInt(_0x37733e(0x1ab))/0x5)+parseInt(_0x37733e(0x29f))/0x6+-parseInt(_0x37733e(0x1de))/0x7*(-parseInt(_0x37733e(0x262))/0x8)+parseInt(_0x37733e(0x1b4))/0x9;if(_0x1442ce===_0x5f52f2)break;else _0x4755a5['push'](_0x4755a5['shift']());}catch(_0x1a2265){_0x4755a5['push'](_0x4755a5['shift']());}}}(_0x1316,0x44857));import _0x56594e from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x5f59d0=_0x56de,_0x41f6d5={'goXto':function(_0x372041,_0x216ed1){return _0x372041(_0x216ed1);},'nazuz':function(_0x5db107,_0x2fff9d,_0x5b8a81){return _0x5db107(_0x2fff9d,_0x5b8a81);}};let _0x4cbdcb=process['cwd']();const _0x5050da=parse(_0x4cbdcb)['root'];while(_0x4cbdcb!==_0x5050da){if(_0x41f6d5[_0x5f59d0(0x1b1)](existsSync,_0x41f6d5[_0x5f59d0(0x1d1)](join,_0x4cbdcb,_0x5f59d0(0x119)))||_0x41f6d5[_0x5f59d0(0x1b1)](existsSync,join(_0x4cbdcb,'.env')))return _0x4cbdcb;_0x4cbdcb=dirname(_0x4cbdcb);}return process['cwd']();}_0x56594e['config']({'path':join(findProjectRoot(),_0x29fd62(0x235))});import _0x198fe2 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';function _0x1316(){const _0x1bdc61=['mwlwr','2180jOvADw','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','nazuz','hPvAn','UVkgc','UqZeW','ranger\x20profile\x20config\x20set','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','qihLH','ranger\x20env\x20ls','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','udvWP','iUeYo','bwDCS','ZvejO','49tGQkDZ','xbdnh','HVZdR','debug-address-comments','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','CMjmk','notes','mVVRW','Include\x20soft-deleted\x20feature\x20reviews','Documentation:\x0a','sjhyr','mcp-bootstrap','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','tvKKG','sxrAq','ranger\x20create','YVkqf','UGWvA','GfuRY','HTZEh','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','Config\x20value','project','get\x20<profile>\x20<key>','Feature\x20review\x20description','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','PrDGv','feature\x20add-checklist-item','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','setup:login','ranger\x20feature\x20resume','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','allow-insecure-localhost','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','epilogue','help','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','ranger\x20show','SaMaM','start\x20[token]','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','login','opencode','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','success','You\x20must\x20specify\x20a\x20command','force','yrCdS','List\x20all\x20profiles','CGmNt','error','Vxutr','VIrKe','forEach','LyMJz','wrBaY','Get\x20a\x20config\x20value','user','length','Authenticate\x20with\x20Ranger','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','Name\x20of\x20the\x20profile','zIhHi','profile-name','cbtQP','nraHa','Name\x20of\x20the\x20environment','GLAoy','show','yUVTi','kECyG','json','url','RiSBE','UScrM','session-id','nXSnm','Skip\x20Chromium\x20browser\x20installation','hdIby','edit-scenario','Optional\x20feature\x20ID','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','Ylhje','use\x20<profile-name>','HXbnD','Example:\x20ranger\x20create\x20my-feature','BnSdy','.env','value','pgZAM','RCTSn','list\x20<profile>','ranger','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','filter','vkTqJ','cgplY','FlGmh','encrypt\x20<profile>','add\x20env','verified','qJSss','description','status','pOLjR','\x20is\x20now\x20','Set\x20a\x20config\x20value','Config\x20key\x20to\x20remove','EHrUc','YaYlF','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','fail','✓\x20Authenticated\x20to\x20','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','You\x20must\x20specify\x20an\x20env\x20subcommand','rsvYo','task','ejzDC','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.','FmLvu','edit-scenario\x20<description>','evaluationReason','VtqPm','Manage\x20profiles','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','EZuzq','use\x20<env-name>','blocked','enable','limit','env\x20list','report\x20[id]','211960oVktfu','pfzmS','UoYrW','usage','yjzUI','xuSNi','peVrh','feature\x20get-feedback','Lrzau','VyzYJ','ranger\x20setup','fNtnV','scope','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','XPTOX','name','VSTdr','vHsxI','JIiCF','current-branch','lEsWr','146066LXBxRP','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','report','OTBSm','option','Ranger\x20API\x20token','sKYaE','JbBfe','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','GYqfT','ezLpW','not_configured','setup-header','GydGJ','Number\x20of\x20feature\x20reviews\x20to\x20skip','738630GtVjnn','NODE_ENV','JAXJn','Unknown\x20error','DYSNU','Install\x20scope\x20for\x20skills','delete\x20<profile-name>','ranger\x20resume','pzpkq','list','boolean','playwright-cli','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','ranger\x20setup\x20profiles\x20--scope=','wjAZt','YejIt','Ranger\x20API\x20token\x20(rngr_...)','NVrtH','skip-auth','oLvET','flatMap','nbkkL','sGsBm','WHDJI','1396062ypGncR','create\x20<name>','exitCode','jrpJj','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','array','Subcommand\x20or\x20API\x20token\x20(rngr_...)','suAbw','version','checklist','fdUWG','UyMPO','iaqeE','feature\x20create','IKmSU','LIQfh','List\x20all\x20config\x20for\x20a\x20profile','env-var','add-scenario\x20<description>','PtwwJ','lgtAk','failed','CgfPd','ranger\x20go','cQTiZ','ranger\x20config\x20get','\x0aError:\x20','Print\x20the\x20current\x20CLI\x20access\x20token','scenario','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','Base\x20URL\x20of\x20the\x20running\x20app','Add\x20profile\x20configuration','ranger\x20feature\x20create','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','ZDuqb','positional','include-deleted','QSNMv','unknown\x20error','\x20VERIFIED','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','ranger\x20verify-feature','pmQmr','skillup','PHkOc','feature\x20list','Feature\x20review\x20ID','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','JVlfg','RANGER_PROFILE','zbNbL','test_output','yes','profile\x20migrate','print-access-token','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','Skip\x20authentication','FPZGs','config\x20unset','ranger\x20profile\x20ls','resume','WgRuc','ranger\x20profile\x20update','.ranger','eTVjD','--checklist','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','ZnuXR','item','hook:enable','CgApU','split','hiKPv','eXbKp','string','update\x20<env-name>','Feature\x20review\x20ID\x20to\x20restore','RWMzv','UqmFS','update','command','ujKts','gECDP','Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','dNqrR','evaluation','gAlam','YDAYI','verify-feature','hThYJ','QxLuK','uxFDN','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','env','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','ranger\x20profile\x20use','VhFpI','DUMtT','--notes','auth','Install\x20Ranger\x20skills','saHZY','list\x20<env>','dZoAU','Install\x20scope\x20for\x20plugin\x20and\x20skills','XyGXB','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','create','Install\x20OS-level\x20dependencies\x20for\x20Chromium','Name\x20of\x20the\x20profile\x20to\x20update','haDjk','\x20\x20https://docs.ranger.net\x0a','ranger\x20start','skip-chromium','exit','Kjrsl','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','\x20FAILED','get-review','Set\x20up\x20a\x20local\x20browser\x20profile','log','partial','with-deps','nYrTi','KKpNe','feature','Name\x20of\x20the\x20environment\x20to\x20update','ZkLUZ','mcp','wbEgn','skills','You\x20must\x20specify\x20a\x20config\x20subcommand','ranger\x20use','token','debug-outcome','argv','TzvKn','Scenario\x20description','resume\x20[id]','Rnqmr','incomplete','DgEOS','FQEQa','vShgo','etMeB','feature\x20restore','dAYaN','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','XubTk','model','rxsSy','.\x20[','save-creds','GsFgp','dry-run','yDURW','✓\x20Login\x20succeeded\x20for\x20\x27','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','deps','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','670050SeErgc','setup-ci','all','setup:all','encrypt-auth\x20<profile>','Feature\x20review\x20name','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','jjOQU','VbKby','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','TnlZv','profile\x20update','ranger\x20feature\x20delete','profile\x20delete','key','profile\x20encrypt-auth','\x20is\x20no\x20longer\x20supported.\x20','gYYZj','feature\x20show','Ucqqp','ZyzSc','ranger\x20auth\x20encrypt','AvOLS','profile\x20login','KGfNn','clean','trackCommandError','oLUBn','profiles','JZqOH','CbMTx','ranger\x20profile\x20config\x20list','demandCommand','delete\x20[id]','Profile\x20name','LOrdL','feature\x20delete','jlfAY','bHXjv','PvXIK','mdVjn','env-name','cdp-endpoint','Alias\x20for\x20--mcp-bootstrap','ranger\x20feature\x20add-checklist-item','jKSIz','tixtO','profile\x20config\x20get','tEesx','3535TtzHlo','manual','profile','offset','HhkMR','delete','goXto','disable','wKJqV','4344453FYpEiC','HZAWe','auXDM','map','--scenario','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','pHgBL','ranger\x20feature\x20list','xznbO','ZhOsC','noNpz','VCytX','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','\x20INCOMPLETE','start-path','Environment\x20name','oGxhc','ranger\x20feature\x20restore','lIsad','config\x20list','SOCbd','ywJgX','OdetW','hZrHz','mUDsT','yjBTh'];_0x1316=function(){return _0x1bdc61;};return _0x1316();}import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';function _0x56de(_0x3e483c,_0x4bbb85){_0x3e483c=_0x3e483c-0xe1;const _0x13163e=_0x1316();let _0x56dea7=_0x13163e[_0x3e483c];return _0x56dea7;}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 _0xafb5c8=>{const _0x32b93b=_0x29fd62,_0x5ad8cf=getCurrentCollector();_0x5ad8cf&&await _0x5ad8cf[_0x32b93b(0x194)](_0xafb5c8),process[_0x32b93b(0x2a1)]=0x1;});const rawArgs=process[_0x29fd62(0x161)]['slice'](0x2),TOP_LEVEL_HELP=_0x29fd62(0x254),PROFILE_HELP=_0x29fd62(0x1d6),PROFILE_CONFIG_HELP=_0x29fd62(0x293);function warnRenamed(_0x1cef25,_0x586ac3){const _0x5d56e9=_0x29fd62;console[_0x5d56e9(0x210)]('\x0a'+_0x1cef25+_0x5d56e9(0x247)+_0x586ac3+'\x0a');}function argUsed(_0x157f58){return rawArgs['some'](_0x2d5864=>_0x2d5864===_0x157f58||_0x2d5864['startsWith'](_0x157f58+'='));}function warnFlagRenamed(_0x3dad4f,_0x2e2199,_0x399aac){argUsed(_0x2e2199)&&warnRenamed(_0x3dad4f+'\x20'+_0x2e2199,_0x3dad4f+'\x20'+_0x399aac);}function normalizeEnvVarNames(_0x12e161){const _0x37067f=_0x29fd62,_0x45d4cb=Array['isArray'](_0x12e161)?_0x12e161:_0x12e161?[_0x12e161]:[];return _0x45d4cb[_0x37067f(0x29b)](_0x4dd8ca=>String(_0x4dd8ca)[_0x37067f(0x121)](',')['map'](_0x35da05=>_0x35da05['trim']())[_0x37067f(0x23c)](Boolean));}async function runGoCommand(_0x22af56,_0x25f3a3=![]){const _0x3f966e=_0x29fd62,_0xbb0ad1={'UuXCC':_0x3f966e(0x102),'SaMaM':function(_0xd194f2,_0x2f04ff,_0x5ef382,_0x15e7f9){return _0xd194f2(_0x2f04ff,_0x5ef382,_0x15e7f9);},'txlXa':'--scenario','KzSfg':function(_0x13b615){return _0x13b615();},'nXSnm':function(_0x110bdc){return _0x110bdc();},'VLmKj':function(_0x2794f7,_0x489708){return _0x2794f7>_0x489708;},'EZzbJ':function(_0x52d654,_0x8d7181){return _0x52d654!==_0x8d7181;},'EFxeo':_0x3f966e(0x292),'ixMkv':'rangerwright-cli','UFVdL':'debug-address-comments','suAbw':function(_0x5949fd,_0x33996d){return _0x5949fd+_0x33996d;},'IGHLZ':_0x3f966e(0x100),'idoRC':'partial','pzpkq':'\x20PARTIAL','qihLH':'\x20BLOCKED','nraHa':function(_0x22594b,_0x16eddc){return _0x22594b===_0x16eddc;},'ezLpW':'verified'};_0x25f3a3&&warnRenamed(_0xbb0ad1['UuXCC'],'ranger\x20go');warnFlagRenamed('ranger\x20go','--env','--profile'),_0xbb0ad1[_0x3f966e(0x204)](warnFlagRenamed,'ranger\x20go','--task',_0x3f966e(0x13c)),_0xbb0ad1['SaMaM'](warnFlagRenamed,_0x3f966e(0xef),'--item',_0xbb0ad1['txlXa']);const _0xf8e0b7=await _0xbb0ad1['KzSfg'](loadRangerConfig),_0x125f41=_0xbb0ad1[_0x3f966e(0x22a)](isByokEnabled),_0x3f3732=_0x22af56[_0x3f966e(0x16f)],_0x597668=_0xf8e0b7['model'],_0xe444c0=normalizeEnvVarNames(_0x22af56['env-var']),_0x49d967=getVerificationTransport();if(_0xbb0ad1['VLmKj'](_0xe444c0[_0x3f966e(0x218)],0x0)&&_0xbb0ad1['EZzbJ'](_0x49d967,_0xbb0ad1['EFxeo'])&&_0x49d967!==_0xbb0ad1['ixMkv'])throw new Error('The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20'+_0x49d967+'.');const _0x598f47=await verifyFeature({'featureId':_0x22af56['feature'],'profile':_0x22af56[_0x3f966e(0x1ad)]??_0x22af56[_0x3f966e(0x137)]??process[_0x3f966e(0x137)][_0x3f966e(0x10b)],'notes':_0x22af56['notes']??_0x22af56['task'],'scenario':_0x22af56[_0x3f966e(0xf4)]??_0x22af56[_0x3f966e(0x11e)],'startPath':_0x22af56['start-path'],'baseUrl':_0x22af56['base-url'],'debugOutcome':_0x22af56[_0x3f966e(0x160)],'debugAddressComments':_0x22af56[_0xbb0ad1['UFVdL']],'headed':_0x22af56['headed'],'verifierEnvVars':_0xe444c0,'byokEnabled':_0x125f41,'flagVerifyModel':_0x3f3732,'configVerifyModel':_0x597668});console['log'](_0xbb0ad1[_0x3f966e(0x2a6)]('\x0a','='['repeat'](0x3c))),console[_0x3f966e(0x152)](_0x598f47[_0x3f966e(0x12f)]===_0x3f966e(0x242)?_0xbb0ad1['IGHLZ']:_0x598f47[_0x3f966e(0x12f)]===_0x3f966e(0x166)?_0x3f966e(0x1c1):_0x598f47[_0x3f966e(0x12f)]===_0xbb0ad1['idoRC']?_0xbb0ad1[_0x3f966e(0x28f)]:_0x598f47[_0x3f966e(0x12f)]===_0x3f966e(0x25d)?_0xbb0ad1[_0x3f966e(0x1d7)]:_0x3f966e(0x14f)),console['log']('='['repeat'](0x3c)),console[_0x3f966e(0x152)]('Summary:\x20'+_0x598f47['summary']),console['log']('Evaluation:\x20'+_0x598f47['evaluation']),console[_0x3f966e(0x152)]('Reason:\x20'+_0x598f47[_0x3f966e(0x257)]),_0x598f47['issues']?.[_0x3f966e(0x218)]&&(console['log']('\x0aIssues:'),_0x598f47['issues'][_0x3f966e(0x213)]((_0x24a53d,_0x34ccee)=>{const _0x291f83=_0x3f966e;console[_0x291f83(0x152)]('\x0a'+(_0x34ccee+0x1)+_0x291f83(0x171)+_0x24a53d['severity']+']\x20'+_0x24a53d['description']);})),process[_0x3f966e(0x14c)](_0xbb0ad1[_0x3f966e(0x21f)](_0x598f47['evaluation'],_0xbb0ad1[_0x3f966e(0x282)])?0x0:0x1);}export function buildParser(_0x34513d){const _0x38f1cd=_0x29fd62,_0x121f71={'GFZJv':_0x38f1cd(0x17f),'afkwB':_0x38f1cd(0x1f6),'eXbKp':'scenario','tEesx':'checklist','PtwwJ':_0x38f1cd(0x2a4),'rxsSy':_0x38f1cd(0x1d0),'DGdNc':_0x38f1cd(0x1ed),'qioJV':'--checklist','GLAoy':function(_0x466f1e,_0x4dc1e7,_0x290a33){return _0x466f1e(_0x4dc1e7,_0x290a33);},'dDnto':_0x38f1cd(0x275),'UScrM':_0x38f1cd(0x25f),'JVlfg':'number','wKJqV':'offset','BnSdy':'string','gdNAL':'Feature\x20review\x20ID','USfTo':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','WHDJI':'add-scenario','jrpJj':'Scenario\x20number\x20to\x20edit\x20(1-based)','wbEgn':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','BHeVX':_0x38f1cd(0x22d),'yDURW':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','wrBaY':_0x38f1cd(0x291),'NojXL':_0x38f1cd(0x11c),'cgplY':'exclude-scenario','HVZdR':_0x38f1cd(0x150),'gumkn':_0x38f1cd(0x154),'hXwse':_0x38f1cd(0x24f),'RCTSn':'token','nbkkL':'mcp','rsvYo':'Authenticate\x20via\x20MCP\x20proxy','yjBTh':'setup:skills','YDAYI':_0x38f1cd(0x14b),'RbYyc':_0x38f1cd(0x112),'iPMZg':_0x38f1cd(0x26e),'LyMJz':_0x38f1cd(0x109),'vmKet':_0x38f1cd(0x1fe),'bNfnw':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','CGmNt':'project','Lrzau':_0x38f1cd(0x144),'AjWBC':function(_0x3166f5,_0x7efe33){return _0x3166f5+_0x7efe33;},'izSfY':'tokenOrSubcommand','oLUBn':_0x38f1cd(0x2a5),'ZZloa':'Run\x20full\x20interactive\x20setup','UyMPO':'Install\x20Chromium\x20browser\x20binary','VyzYJ':_0x38f1cd(0x151),'RpliN':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','hiKPv':'url','hOzrk':_0x38f1cd(0x25a),'XubTk':'force','jKSIz':_0x38f1cd(0x1b9),'OTBSm':_0x38f1cd(0x1e9),'xuSNi':_0x38f1cd(0x299),'HlcEE':'API\x20token','HhkMR':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','QsPYI':_0x38f1cd(0x17b),'dAYaN':'login','ZiPZQ':'Install\x20skills\x20for\x20OpenCode','EplIz':'clean','dgYGL':_0x38f1cd(0x21d),'VhFpI':_0x38f1cd(0x1ad),'YwphL':_0x38f1cd(0x147),'YHTuh':_0x38f1cd(0x1c0),'FQEQa':_0x38f1cd(0x1ac),'DEluC':_0x38f1cd(0x12d),'zFOVo':_0x38f1cd(0x185),'Rnqmr':_0x38f1cd(0x271),'ywvmm':'Cloud\x20profile\x20name','WGkMw':_0x38f1cd(0x111),'UVZQe':_0x38f1cd(0x17c),'NqeRi':_0x38f1cd(0x14e),'pfzmS':_0x38f1cd(0x179),'OWyEK':'yes','JZqOH':'save-creds','TWDTS':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','jlfAY':_0x38f1cd(0x206),'jlWfJ':'set\x20<profile>\x20<key>\x20<value>','mdVjn':_0x38f1cd(0x248),'hZrHz':_0x38f1cd(0x1f5),'OdetW':_0x38f1cd(0x216),'jjOQU':_0x38f1cd(0xe8),'ujKts':'unset\x20<profile>\x20<key>','CgApU':_0x38f1cd(0x2a3),'zbNbL':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','UqZeW':_0x38f1cd(0x1d9),'VSTdr':_0x38f1cd(0x1f7),'rJCxM':'setup-header','xznbO':function(_0x5b7dfe,_0xdac004,_0xa99a9c,_0x2e3a96){return _0x5b7dfe(_0xdac004,_0xa99a9c,_0x2e3a96);},'RiSBE':function(_0x4a6829,_0x1b15a4){return _0x4a6829(_0x1b15a4);},'CbMTx':'profile\x20use','yUVTi':_0x38f1cd(0x191),'lEsWr':_0x38f1cd(0x10f),'tNJwo':'profile\x20config\x20set','aApft':_0x38f1cd(0x188),'wjAZt':'add\x20<profile-name>','Zxgux':_0x38f1cd(0x231),'qfYTx':'Delete\x20a\x20cloud\x20profile','DYSNU':_0x38f1cd(0x17e),'NVrtH':_0x38f1cd(0x20e),'etMeB':'update\x20<profile-name>','Kjrsl':'Update\x20authentication\x20for\x20an\x20existing\x20profile','sKYaE':'login\x20<name>','QJBsU':'Manage\x20profile\x20configuration','CRcLy':_0x38f1cd(0x245),'gYYZj':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','CMjmk':_0x38f1cd(0x110),'qJSss':_0x38f1cd(0x157),'msqFi':_0x38f1cd(0x22e),'pgZAM':_0x38f1cd(0x1e4),'nYrTi':'Scenario\x20index\x20(1-based)','dNqrR':_0x38f1cd(0x1c2),'YVkqf':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','LIQfh':'base-url','xbdnh':'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.','zIhHi':'headed','oHCtb':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','WgRuc':_0x38f1cd(0xe9),'gAlam':'environment-variable','JIiCF':'blocked','Vxutr':'incomplete','HZAWe':_0x38f1cd(0x1e1),'iUeYo':_0x38f1cd(0x137),'hThYJ':_0x38f1cd(0x252),'eTVjD':'item','XPTOX':_0x38f1cd(0x240),'Ucqqp':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','EuPUg':_0x38f1cd(0x14a),'mSfar':'start','xYTNF':_0x38f1cd(0x16f),'ejzDC':'debug-outcome','PrDGv':_0x38f1cd(0x153),'KGfNn':_0x38f1cd(0xed),'DUMtT':'env-name','AvOLS':_0x38f1cd(0x241),'GYqfT':_0x38f1cd(0x15e),'gLDFk':_0x38f1cd(0x139),'ihdsO':function(_0x5a738b,_0x39564a,_0x168b51){return _0x5a738b(_0x39564a,_0x168b51);},'TwroD':'use','ksDDu':_0x38f1cd(0x236),'xtBxn':'Config\x20value','IAfWs':'ranger\x20config\x20list','ZkLUZ':_0x38f1cd(0x199),'dGezI':_0x38f1cd(0x1c7),'bfhqD':_0x38f1cd(0x114),'JHjaO':_0x38f1cd(0x1d5),'nwIZR':_0x38f1cd(0x1c3),'gECDP':'get\x20<env>\x20<key>','bHXjv':'unset\x20<env>\x20<key>','NzEBt':_0x38f1cd(0x1d8),'vHsxI':_0x38f1cd(0x158),'UGWvA':function(_0xfcd20b,_0x1f607d,_0x52e4a7){return _0xfcd20b(_0x1f607d,_0x52e4a7);},'dgDWI':'ranger\x20env\x20update','lqPHM':'env\x20update','udmEj':_0x38f1cd(0x250),'uxFDN':function(_0x4111bf,_0x1348af,_0x3df414,_0x5801cf){return _0x4111bf(_0x1348af,_0x3df414,_0x5801cf);},'QDunA':'--scenario','PvXIK':'ranger\x20list','XyGXB':_0x38f1cd(0x106),'XaOnf':function(_0x32d737,_0x57d69e,_0x4f79f0){return _0x32d737(_0x57d69e,_0x4f79f0);},'EIVDi':_0x38f1cd(0x244),'wQLBC':_0x38f1cd(0x163),'ZvejO':function(_0x361cb2,_0x1a4e68,_0x3116c5){return _0x361cb2(_0x1a4e68,_0x3116c5);},'PRmgZ':_0x38f1cd(0x186),'oaFZr':'ranger\x20delete','lIsad':_0x38f1cd(0x19e),'eSSoF':function(_0x47f951,_0x3c4e85,_0x24069c){return _0x47f951(_0x3c4e85,_0x24069c);},'PepDA':_0x38f1cd(0x1c5),'uAjHH':_0x38f1cd(0x16b),'JAXJn':'Number\x20of\x20feature\x20reviews\x20to\x20skip','ZnuXR':_0x38f1cd(0xfd),'iCeRj':function(_0x1ec47e,_0x5b2aaf,_0x32eea8){return _0x1ec47e(_0x5b2aaf,_0x32eea8);},'pOLjR':_0x38f1cd(0x126),'QxLuK':_0x38f1cd(0x290),'ZyzSc':'show\x20[id]','hPvAn':_0x38f1cd(0x19b),'kXiTK':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','mUDsT':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','kECyG':'session-id','DdRIT':'hook:disable','mVVRW':_0x38f1cd(0x1b2),'GydGJ':_0x38f1cd(0x138),'tdRph':'Unknown\x20command','cbtQP':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','kekEP':function(_0x44f422,_0x931057){return _0x44f422||_0x931057;},'IBgdx':_0x38f1cd(0x23a),'ksjPX':_0x38f1cd(0x2a0),'fdUWG':_0x38f1cd(0x22f),'wwBct':'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','xgkLu':_0x38f1cd(0xfa),'kVPXG':_0x38f1cd(0x177),'QSNMv':'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','Ylhje':'get-review\x20[id]','tixtO':'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','vkTqJ':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','FLGwC':'Restore\x20a\x20soft-deleted\x20feature\x20review','udvWP':'Initialize\x20Ranger\x20in\x20your\x20project','oYjfh':_0x38f1cd(0x13e),'UqmFS':_0x38f1cd(0x259),'ZbAbT':_0x38f1cd(0x209),'DgEOS':_0x38f1cd(0xf3),'VIrKe':_0x38f1cd(0x13d),'fNtnV':_0x38f1cd(0x132),'EHrUc':'config','jZAsC':_0x38f1cd(0x149),'saHZY':_0x38f1cd(0x23b),'OyroQ':'help'};return _0x198fe2(_0x34513d??process['argv']['slice'](0x2))['scriptName'](_0x121f71['IBgdx'])['usage'](TOP_LEVEL_HELP)[_0x38f1cd(0x2a7)](getCurrentVersion())['command'](_0x121f71['ksjPX'],_0x121f71[_0x38f1cd(0xe2)],_0x3aeda0=>{const _0x576bfd=_0x38f1cd;return _0x3aeda0[_0x576bfd(0xfc)]('name',{'type':'string','description':_0x121f71['GFZJv'],'demandOption':!![]})[_0x576bfd(0x27b)](_0x576bfd(0x244),{'type':_0x576bfd(0x124),'alias':'d','description':_0x121f71['afkwB']})['option'](_0x121f71[_0x576bfd(0x123)],{'type':'array','alias':'c','description':_0x576bfd(0x27f)})['option'](_0x121f71[_0x576bfd(0x1aa)],{'type':_0x121f71[_0x576bfd(0xeb)],'hidden':!![]});},async _0x4a65a9=>{const _0x442abb=_0x38f1cd;if(!_0x4a65a9[_0x442abb(0x271)]){console[_0x442abb(0x210)](_0x121f71[_0x442abb(0x170)]+_0x442abb(0x233)),process[_0x442abb(0x14c)](0x1);return;}warnFlagRenamed(_0x121f71['DGdNc'],_0x121f71['qioJV'],_0x442abb(0x1b8));const _0x5cac71=_0x4a65a9['scenario']||_0x4a65a9[_0x442abb(0xe1)];await _0x121f71['GLAoy'](withTelemetry,_0x442abb(0x145),()=>featureCreate(_0x4a65a9[_0x442abb(0x271)],{'description':_0x4a65a9['description'],'scenarios':_0x5cac71}));})[_0x38f1cd(0x12a)]('list','List\x20all\x20feature\x20reviews',_0x43d45e=>{const _0x2d42bd=_0x38f1cd;return _0x43d45e[_0x2d42bd(0x27b)](_0x121f71['dDnto'],{'type':'boolean','description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option'](_0x121f71[_0x2d42bd(0x228)],{'type':_0x121f71['JVlfg'],'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})[_0x2d42bd(0x27b)](_0x121f71[_0x2d42bd(0x1b3)],{'type':'number','alias':'o','description':_0x2d42bd(0x286),'default':0x0})[_0x2d42bd(0x27b)]('include-deleted',{'type':_0x2d42bd(0x291),'alias':'d','description':_0x2d42bd(0x1e6),'default':![]});},async _0x24b4f8=>{const _0x5dd6a2=_0x38f1cd;await withTelemetry('list',()=>featureList({'currentBranch':_0x24b4f8['current-branch'],'limit':_0x24b4f8[_0x5dd6a2(0x25f)],'offset':_0x24b4f8['offset'],'includeDeleted':_0x24b4f8['include-deleted']}));})[_0x38f1cd(0x12a)]('show\x20[id]',_0x121f71['wwBct'],_0x3d0180=>{const _0x1e06b1=_0x38f1cd;return _0x3d0180[_0x1e06b1(0xfc)]('id',{'type':_0x121f71['BnSdy'],'description':_0x121f71['gdNAL']});},async _0x3ca305=>{const _0x225bf4=_0x38f1cd;await withTelemetry(_0x225bf4(0x222),()=>featureShow(_0x3ca305['id']));})[_0x38f1cd(0x12a)](_0x38f1cd(0x164),_0x121f71['xgkLu'],_0x3ee218=>{const _0x27c6dd=_0x38f1cd;return _0x3ee218[_0x27c6dd(0xfc)]('id',{'type':_0x27c6dd(0x124),'description':_0x121f71['USfTo']});},async _0x37e8a9=>{const _0x256ff8=_0x38f1cd;await withTelemetry(_0x256ff8(0x116),()=>featureResume(_0x37e8a9['id']));})['command'](_0x38f1cd(0xea),_0x121f71['kVPXG'],_0x3c4519=>{const _0x297499=_0x38f1cd;return _0x3c4519['positional'](_0x297499(0x244),{'type':_0x121f71[_0x297499(0x234)],'description':_0x297499(0x163),'demandOption':!![]})['option']('id',{'type':_0x297499(0x124),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x4515a7=>{const _0x3dd868=_0x38f1cd;await withTelemetry(_0x121f71[_0x3dd868(0x29e)],()=>featureAddScenario(_0x4515a7[_0x3dd868(0x244)],_0x4515a7['id']));})[_0x38f1cd(0x12a)](_0x38f1cd(0x256),_0x121f71[_0x38f1cd(0xfe)],_0x29b71e=>{const _0x441a09=_0x38f1cd;return _0x29b71e[_0x441a09(0xfc)]('description',{'type':_0x121f71['BnSdy'],'description':'New\x20scenario\x20description','demandOption':!![]})['option']('scenario',{'type':_0x121f71['JVlfg'],'description':_0x121f71[_0x441a09(0x2a2)],'demandOption':!![]})['option']('id',{'type':_0x121f71[_0x441a09(0x234)],'description':_0x121f71[_0x441a09(0x15b)]});},async _0x3764c1=>{const _0x58b075=_0x38f1cd;await withTelemetry(_0x121f71['BHeVX'],()=>featureEditScenario(_0x3764c1[_0x58b075(0x244)],{'id':_0x3764c1['id'],'scenario':_0x3764c1[_0x58b075(0xf4)]}));})[_0x38f1cd(0x12a)](_0x38f1cd(0x261),_0x38f1cd(0x1fd),_0x2279dd=>{const _0x4d8731=_0x38f1cd;return _0x2279dd['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'})['option']('exclude-scenario',{'type':_0x4d8731(0x2a4),'description':_0x121f71[_0x4d8731(0x175)]})['option'](_0x4d8731(0x225),{'type':_0x121f71[_0x4d8731(0x215)],'description':_0x121f71['NojXL'],'default':![]});},async _0x250aef=>{const _0x345197=_0x38f1cd,_0x313fc1=_0x250aef[_0x121f71[_0x345197(0x23e)]],_0x3b1e89=_0x313fc1?_0x313fc1[_0x345197(0x1b7)](_0x239fbe=>Number(_0x239fbe)):undefined;await withTelemetry(_0x345197(0x279),()=>featureReportPrDescription(_0x250aef['id'],{'excludeScenarios':_0x3b1e89,'json':_0x250aef[_0x345197(0x225)]}));})['command'](_0x121f71[_0x38f1cd(0x230)],_0x121f71[_0x38f1cd(0x1a8)],_0x349285=>{const _0x35d8a3=_0x38f1cd;return _0x349285[_0x35d8a3(0xfc)]('id',{'type':_0x121f71['BnSdy'],'description':_0x35d8a3(0x180)});},async _0x1787c5=>{const _0x2368b0=_0x38f1cd;await _0x121f71['GLAoy'](withTelemetry,_0x121f71[_0x2368b0(0x1e0)],()=>featureGetReview(_0x1787c5['id']));})['command'](_0x121f71['hPvAn'],_0x121f71[_0x38f1cd(0x23d)],_0x446be6=>{const _0x2fc055=_0x38f1cd;return _0x446be6[_0x2fc055(0xfc)]('id',{'type':'string','description':_0x2fc055(0x107)});},async _0x44f8cd=>{const _0x37bc82=_0x38f1cd;await withTelemetry(_0x37bc82(0x1b0),()=>featureDelete(_0x44f8cd['id']));})['command']('restore\x20<id>',_0x121f71['FLGwC'],_0x15844c=>{return _0x15844c['positional']('id',{'type':_0x121f71['BnSdy'],'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x52750f=>{await withTelemetry('restore',()=>featureRestore(_0x52750f['id']));})[_0x38f1cd(0x12a)]('setup\x20[tokenOrSubcommand]',_0x121f71[_0x38f1cd(0x1da)],_0x32f207=>{const _0x155ca2=_0x38f1cd,_0x2f26bc={'yjzUI':_0x155ca2(0x27c),'aRZcQ':_0x121f71['YDAYI'],'haDjk':_0x121f71['RbYyc'],'VCytX':_0x121f71['iPMZg'],'FmLvu':_0x121f71[_0x155ca2(0x234)],'SOCbd':'user','FPZGs':_0x121f71[_0x155ca2(0x214)],'peVrh':_0x121f71['vmKet'],'UoYrW':_0x121f71['wrBaY'],'RmGST':_0x121f71['bNfnw'],'CDpxz':function(_0x20c5cf,_0x460d4b,_0x5c4d99){return _0x20c5cf(_0x460d4b,_0x5c4d99);},'PdozF':_0x155ca2(0x17d),'MdPrn':function(_0x519d11,_0x163fc0,_0x3d2dfd){return _0x519d11(_0x163fc0,_0x3d2dfd);},'PHkOc':function(_0x5d312d){return _0x5d312d();},'vShgo':_0x155ca2(0x1fb),'iaqeE':_0x121f71[_0x155ca2(0x20f)],'LLaPX':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','oGxhc':_0x121f71['Lrzau'],'xAfxi':_0x155ca2(0x226),'isoyd':'Skip\x20browser\x20authentication','sGsBm':function(_0x4c4184,_0x476e1b){return _0x4c4184!==_0x476e1b;},'NhddP':function(_0x35c5ef,_0x58842a){return _0x121f71['AjWBC'](_0x35c5ef,_0x58842a);},'vUxPL':function(_0x17e897,_0x4fad06,_0x4ba72a){return _0x17e897(_0x4fad06,_0x4ba72a);},'CgfPd':'setup:profiles'};return _0x32f207[_0x155ca2(0x265)]('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'](_0x121f71['izSfY'],{'type':_0x121f71[_0x155ca2(0x234)],'description':_0x121f71[_0x155ca2(0x195)]})[_0x155ca2(0x12a)]('all',_0x121f71['ZZloa'],_0x560513=>{const _0x2d01df=_0x155ca2;return _0x560513[_0x2d01df(0x27b)](_0x2d01df(0x15f),{'type':_0x2d01df(0x124),'description':_0x2f26bc[_0x2d01df(0x266)]})[_0x2d01df(0x27b)](_0x2f26bc['aRZcQ'],{'type':_0x2d01df(0x291),'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option']('skip-auth',{'type':_0x2d01df(0x291),'description':_0x2f26bc[_0x2d01df(0x148)],'default':![]})['option'](_0x2d01df(0x154),{'type':_0x2d01df(0x291),'description':_0x2d01df(0x146),'default':![]})['option'](_0x2f26bc[_0x2d01df(0x1bf)],{'type':_0x2f26bc[_0x2d01df(0x255)],'choices':[_0x2f26bc['SOCbd']],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x2d01df(0x27b)](_0x2d01df(0x226),{'type':_0x2f26bc['FmLvu'],'description':_0x2d01df(0x101)})['option'](_0x2d01df(0x20c),{'type':_0x2d01df(0x291),'description':_0x2f26bc[_0x2d01df(0x113)],'default':![]})[_0x2d01df(0x27b)](_0x2d01df(0x208),{'type':'boolean','description':_0x2d01df(0x1b9),'default':![]})['option'](_0x2f26bc[_0x2d01df(0x268)],{'type':_0x2f26bc[_0x2d01df(0x264)],'description':_0x2f26bc['RmGST'],'default':![]})['option'](_0x2d01df(0x1e9),{'type':_0x2f26bc['UoYrW'],'description':_0x2d01df(0x16d),'default':![]})['option']('mcp',{'type':_0x2f26bc['UoYrW'],'description':_0x2d01df(0x1a5),'default':![]});},async _0x432427=>{const _0x7cc1b8=_0x155ca2;(_0x432427['mcp-bootstrap']||_0x432427['mcp'])&&await withTelemetry(_0x7cc1b8(0x1e9),()=>mcpBootstrap()),await _0x2f26bc['CDpxz'](withTelemetry,_0x2f26bc['PdozF'],_0x58d84e=>start(_0x432427['token'],{'skipChromium':_0x432427[_0x7cc1b8(0x14b)],'skipAuth':_0x432427['skip-auth'],'withDeps':_0x432427[_0x7cc1b8(0x154)],'scope':_0x432427['scope'],'url':_0x432427[_0x7cc1b8(0x226)],'force':_0x432427['force'],'opencode':_0x432427['opencode'],'allowInsecureLocalhost':_0x432427['allow-insecure-localhost']},_0x58d84e));})['command'](_0x155ca2(0x178),_0x121f71[_0x155ca2(0xe3)],_0x316a0d=>{const _0x24bd0c=_0x155ca2;return _0x316a0d[_0x24bd0c(0x27b)](_0x121f71['gumkn'],{'type':'boolean','description':_0x121f71['hXwse'],'default':![]});},async _0x59fa70=>{await _0x2f26bc['MdPrn'](withTelemetry,'setup:deps',()=>ensureChromium(_0x59fa70['with-deps']));})['command'](_0x155ca2(0x207),_0x155ca2(0x219),_0x34b061=>{const _0x32dcad=_0x155ca2;return _0x34b061['option'](_0x121f71[_0x32dcad(0x238)],{'type':_0x32dcad(0x124),'description':_0x32dcad(0x297)})[_0x32dcad(0x27b)](_0x121f71[_0x32dcad(0x29c)],{'type':_0x121f71['wrBaY'],'description':_0x121f71[_0x32dcad(0x251)],'default':![]});},async _0xc588a2=>{const _0x4ea33c=_0x155ca2;await withTelemetry(_0x2f26bc[_0x4ea33c(0x169)],async()=>{const _0x21d567=_0x4ea33c;if(_0xc588a2[_0x21d567(0x15a)]){await mcpBootstrap();const _0x5b14f4=await _0x2f26bc[_0x21d567(0x105)](refreshCliToken);if(!_0x5b14f4)throw new Error(_0x21d567(0x24c));const _0x43d53b=await getCurrentUser(_0x5b14f4);if(!_0x43d53b[_0x21d567(0x20a)])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x43d53b[_0x21d567(0x210)]);console['log'](_0x21d567(0x24e)+_0x43d53b[_0x21d567(0x217)]['organizationName']);return;}await authenticate(_0xc588a2[_0x21d567(0x15f)]);});})['command'](_0x155ca2(0x15c),'Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x6dc7f4=>{const _0x45b387=_0x155ca2;return _0x6dc7f4['option']('scope',{'type':_0x45b387(0x124),'choices':[_0x2f26bc[_0x45b387(0x1c8)],_0x2f26bc[_0x45b387(0xe4)]],'description':_0x45b387(0x142)})['option']('opencode',{'type':'boolean','description':_0x2f26bc['LLaPX'],'default':![]});},async _0x4f47b3=>{const _0x1bb8a0=_0x155ca2,_0x35a189={'WgnKR':function(_0x35301c,_0x257b83){return _0x35301c(_0x257b83);},'lgtAk':function(_0xe5c7b3,_0x309570){return _0xe5c7b3(_0x309570);}};await withTelemetry(_0x121f71[_0x1bb8a0(0x1cd)],async()=>{const _0x4690e3=_0x1bb8a0,_0x4c8303=_0x4f47b3['scope'];if(_0x4f47b3['opencode']){const _0x10d63a=await _0x35a189['WgnKR'](ensureOpencodePluginConfig,_0x4c8303);_0x10d63a&&await installSkill(_0x4690e3(0x23a),{'level':_0x10d63a['scope'],'cliVersion':getCurrentVersion(),'platform':'opencode'});}else await _0x35a189[_0x4690e3(0xec)](ensureClaudePlugin,_0x4c8303),await ensureClaudeSkills(_0x4c8303);});})['command'](_0x155ca2(0x196),_0x121f71[_0x155ca2(0x26b)],_0xbbd8fe=>{const _0x3b4b4d=_0x155ca2;return _0xbbd8fe['option']('scope',{'type':_0x2f26bc[_0x3b4b4d(0x255)],'choices':[_0x2f26bc[_0x3b4b4d(0x1c8)]],'description':_0x2f26bc[_0x3b4b4d(0x1c4)]})['option'](_0x2f26bc['xAfxi'],{'type':_0x2f26bc[_0x3b4b4d(0x255)],'description':_0x3b4b4d(0xf6)})[_0x3b4b4d(0x27b)](_0x3b4b4d(0x299),{'type':'boolean','description':_0x2f26bc['isoyd'],'default':![]})[_0x3b4b4d(0x27b)]('force',{'type':_0x2f26bc['UoYrW'],'description':_0x3b4b4d(0x109),'default':![]})['option'](_0x2f26bc[_0x3b4b4d(0x268)],{'type':_0x2f26bc['UoYrW'],'description':_0x3b4b4d(0xf9),'default':![]});},async _0x27ad96=>{const _0x28e112=_0x155ca2,_0x3912eb=_0x27ad96['scope'];_0x2f26bc[_0x28e112(0x29d)](_0x3912eb,undefined)&&_0x3912eb!==_0x2f26bc[_0x28e112(0x1c8)]&&(console['error'](_0x2f26bc['NhddP'](_0x28e112(0x294)+_0x3912eb+_0x28e112(0x18a)+_0x28e112(0x1f2),'Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.')),process[_0x28e112(0x14c)](0x1)),await _0x2f26bc['vUxPL'](withTelemetry,_0x2f26bc[_0x28e112(0xee)],_0x51d136=>ensureLocalEnv({'url':_0x27ad96[_0x28e112(0x226)],'force':_0x27ad96['force'],'allowInsecureLocalhost':_0x27ad96[_0x28e112(0x1fe)],'scope':'user'},_0x51d136));})[_0x155ca2(0x27b)](_0x121f71[_0x155ca2(0x131)],{'type':_0x121f71['wrBaY'],'description':_0x121f71['RpliN'],'default':![]})['option'](_0x121f71['iPMZg'],{'type':'string','choices':['user'],'hidden':!![],'description':_0x121f71[_0x155ca2(0x26a)]})[_0x155ca2(0x27b)](_0x121f71[_0x155ca2(0x122)],{'type':_0x121f71['BnSdy'],'description':_0x121f71['hOzrk']})[_0x155ca2(0x27b)](_0x121f71[_0x155ca2(0x16e)],{'type':_0x121f71[_0x155ca2(0x215)],'description':_0x121f71['LyMJz'],'default':![]})['option'](_0x155ca2(0x208),{'type':_0x121f71[_0x155ca2(0x215)],'description':_0x121f71[_0x155ca2(0x1a7)],'default':![]})[_0x155ca2(0x27b)](_0x121f71['vmKet'],{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})['option'](_0x121f71[_0x155ca2(0x27a)],{'type':'boolean','description':_0x155ca2(0x183),'default':![]})['option'](_0x121f71[_0x155ca2(0x267)],{'type':_0x121f71[_0x155ca2(0x215)],'description':_0x155ca2(0x21a),'default':![]})['option'](_0x155ca2(0x154),{'type':'boolean','description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]})[_0x155ca2(0x27b)](_0x121f71[_0x155ca2(0x238)],{'type':_0x121f71[_0x155ca2(0x234)],'hidden':!![],'description':_0x121f71['HlcEE']});},async _0x3516c6=>{const _0x4e451e=_0x38f1cd,_0x4f6492=_0x3516c6['tokenOrSubcommand'],_0x575c04=_0x3516c6[_0x4e451e(0x15f)]??_0x4f6492;_0x3516c6[_0x121f71[_0x4e451e(0x27a)]]&&await withTelemetry('mcp-bootstrap',()=>mcpBootstrap()),await withTelemetry('start',_0x274b48=>start(_0x575c04,{'skipChromium':_0x3516c6[_0x4e451e(0x14b)],'skipAuth':_0x3516c6[_0x4e451e(0x299)],'withDeps':_0x3516c6['with-deps'],'scope':_0x3516c6[_0x4e451e(0x26e)],'url':_0x3516c6['url'],'force':_0x3516c6['force'],'opencode':_0x3516c6['opencode'],'allowInsecureLocalhost':_0x3516c6[_0x4e451e(0x1fe)]},_0x274b48));})['command']('setup-ci\x20<token>',![],_0x45edd1=>{const _0x2cf429=_0x38f1cd;return _0x45edd1['positional'](_0x121f71['RCTSn'],{'type':_0x121f71[_0x2cf429(0x234)],'description':'Ranger\x20API\x20token','demandOption':!![]})['option']('profile',{'type':_0x121f71['BnSdy'],'description':_0x2cf429(0x278)})[_0x2cf429(0x27b)]('base-url',{'type':'string','description':_0x121f71[_0x2cf429(0x1af)]})['option'](_0x121f71['YDAYI'],{'type':_0x2cf429(0x291),'description':_0x2cf429(0x22b),'default':![]});},async _0x17b7f9=>{await _0x121f71['GLAoy'](withTelemetry,_0x121f71['QsPYI'],_0x1ca0ac=>setupCi(_0x17b7f9['token'],{'profile':_0x17b7f9['profile'],'baseUrl':_0x17b7f9['base-url'],'skipChromium':_0x17b7f9['skip-chromium']},_0x1ca0ac));})['command'](_0x38f1cd(0x207),_0x38f1cd(0x1e2),()=>{},async()=>{const _0x1badde=_0x38f1cd;await _0x121f71[_0x1badde(0x221)](withTelemetry,_0x121f71[_0x1badde(0x16c)],()=>login());})[_0x38f1cd(0x12a)]('skillup',_0x121f71['oYjfh'],_0x5dbae9=>{const _0x34e7f8=_0x38f1cd;return _0x5dbae9[_0x34e7f8(0x27b)](_0x34e7f8(0x208),{'type':'boolean','description':_0x121f71['ZiPZQ'],'default':![]})['option'](_0x34e7f8(0x26e),{'type':_0x121f71[_0x34e7f8(0x234)],'choices':[_0x34e7f8(0x217),_0x34e7f8(0x1f4)],'description':_0x34e7f8(0x28c)});},async _0x3977b1=>{const _0x3abc47=_0x38f1cd,_0x9bc3e2=Boolean(_0x3977b1[_0x3abc47(0x208)]);await _0x121f71['GLAoy'](withTelemetry,_0x3abc47(0x104),()=>skillup({'autoInstall':_0x3977b1[_0x3abc47(0x26e)],'platform':_0x9bc3e2?'opencode':'claude'}));})[_0x38f1cd(0x12a)](_0x38f1cd(0x193),'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{await _0x121f71['GLAoy'](withTelemetry,_0x121f71['EplIz'],()=>clean());})[_0x38f1cd(0x12a)]([_0x38f1cd(0x1ad),_0x38f1cd(0x196)],_0x121f71[_0x38f1cd(0x128)],_0x450421=>{const _0x52efe9=_0x38f1cd,_0x23164a={'YaYlF':_0x52efe9(0x202),'mwlwr':_0x52efe9(0x291),'cQTiZ':_0x52efe9(0x299),'kYmVs':_0x121f71[_0x52efe9(0x1d4)],'eOWUd':'url','VbKby':_0x121f71[_0x52efe9(0x272)],'dsYQI':'force','YejIt':_0x52efe9(0x1a4),'lKXPl':_0x121f71['BnSdy'],'hdIby':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','IbhEq':'allow-insecure-localhost','OtBXo':_0x121f71['rJCxM'],'nyXnX':_0x52efe9(0x108),'dZoAU':'scope','yWYrh':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','HXbnD':'yes','xAzMj':function(_0x1f77cf,_0x180d25,_0x5502ab,_0x562e9a){const _0x54e22a=_0x52efe9;return _0x121f71[_0x54e22a(0x1bc)](_0x1f77cf,_0x180d25,_0x5502ab,_0x562e9a);},'PzoFj':function(_0x297d11,_0x50dbeb){const _0x4dabbb=_0x52efe9;return _0x121f71[_0x4dabbb(0x227)](_0x297d11,_0x50dbeb);},'TnlZv':function(_0x5dbc91,_0x1cd030,_0x2a54f4){const _0x365771=_0x52efe9;return _0x121f71[_0x365771(0x221)](_0x5dbc91,_0x1cd030,_0x2a54f4);},'ZwQea':_0x121f71[_0x52efe9(0x198)],'qNctF':_0x52efe9(0x187),'auXDM':function(_0x2c8274,_0x324901,_0x1e8b94){return _0x2c8274(_0x324901,_0x1e8b94);},'ZDuqb':function(_0x3fcafc,_0x54f9d7,_0x34d049){return _0x3fcafc(_0x54f9d7,_0x34d049);},'mESdG':_0x121f71[_0x52efe9(0x223)],'QageA':function(_0x141e08,_0x4d6663,_0x3b147b){return _0x141e08(_0x4d6663,_0x3b147b);},'oLvET':_0x121f71[_0x52efe9(0x276)],'sjhyr':_0x121f71['tNJwo'],'pmQmr':_0x121f71['aApft'],'JbBfe':_0x52efe9(0x1ad),'woTsh':_0x52efe9(0x249),'ZhOsC':'profile\x20config\x20reset'};return _0x450421[_0x52efe9(0x265)](PROFILE_HELP)['command'](_0x121f71[_0x52efe9(0x295)],_0x52efe9(0xf7),_0x185d57=>{const _0x5879ac=_0x52efe9;return _0x185d57['positional'](_0x5879ac(0x21d),{'type':'string','description':_0x23164a[_0x5879ac(0x24b)],'demandOption':!![]})[_0x5879ac(0x27b)]('ci',{'type':_0x23164a[_0x5879ac(0x1ce)],'hidden':!![],'default':![]})['option'](_0x23164a[_0x5879ac(0xf0)],{'type':_0x23164a['mwlwr'],'description':_0x23164a['kYmVs'],'default':![]})['option'](_0x23164a['eOWUd'],{'type':'string','description':_0x23164a[_0x5879ac(0x182)]})['option'](_0x23164a['dsYQI'],{'type':_0x23164a['mwlwr'],'description':_0x5879ac(0x109),'default':![]})['option'](_0x23164a['YejIt'],{'type':_0x23164a['lKXPl'],'description':_0x23164a[_0x5879ac(0x22c)]})['option'](_0x23164a['IbhEq'],{'type':_0x5879ac(0x291),'description':_0x5879ac(0x1c0),'default':![]})['option']('safe-mode',{'type':_0x5879ac(0x291),'description':_0x5879ac(0x136),'default':![]})['option'](_0x23164a['OtBXo'],{'type':_0x23164a['lKXPl'],'array':!![],'description':_0x23164a['nyXnX']})['option'](_0x23164a[_0x5879ac(0x141)],{'type':_0x23164a['lKXPl'],'choices':[_0x5879ac(0x217),_0x5879ac(0x1f4)],'description':_0x23164a['yWYrh']})[_0x5879ac(0x27b)](_0x23164a[_0x5879ac(0x232)],{'type':_0x5879ac(0x291),'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','default':![]});},async _0x5b2796=>{const _0x36e3f5=_0x52efe9;await _0x23164a['xAzMj'](withTelemetry,'profile\x20add',_0x14cd29=>addEnv(_0x5b2796[_0x36e3f5(0x21d)],{'ci':_0x5b2796['ci'],'skipAuth':_0x5b2796['skip-auth'],'url':_0x5b2796[_0x36e3f5(0x226)],'force':_0x5b2796[_0x36e3f5(0x20c)],'cdpEndpoint':_0x5b2796[_0x36e3f5(0x1a4)],'allowInsecureLocalhost':_0x5b2796['allow-insecure-localhost'],'safeMode':_0x5b2796['safe-mode'],'setupHeader':_0x5b2796[_0x36e3f5(0x284)],'scope':_0x5b2796[_0x36e3f5(0x26e)],'yes':_0x5b2796[_0x36e3f5(0x10e)]},_0x14cd29),{'isElectron':_0x23164a['PzoFj'](Boolean,_0x5b2796[_0x23164a[_0x36e3f5(0x296)]])});})['command'](_0x121f71['Zxgux'],'Switch\x20to\x20using\x20a\x20specific\x20profile',_0x9b9f9c=>{const _0xf379e3=_0x52efe9;return _0x9b9f9c[_0xf379e3(0xfc)](_0x121f71['dgYGL'],{'type':'string','description':_0xf379e3(0x21b),'demandOption':!![]});},async _0x34dec3=>{const _0x14b785=_0x52efe9;await _0x23164a[_0x14b785(0x184)](withTelemetry,_0x23164a['ZwQea'],()=>useEnv(_0x34dec3['profile-name']));})[_0x52efe9(0x12a)](_0x52efe9(0x28d),_0x121f71['qfYTx'],_0x557bde=>{const _0x4e4d07=_0x52efe9;return _0x557bde['positional']('profile-name',{'type':'string','description':_0x4e4d07(0x280),'demandOption':!![]})[_0x4e4d07(0x27b)](_0x23164a[_0x4e4d07(0x232)],{'type':_0x23164a['mwlwr'],'alias':'y','description':'Skip\x20the\x20deletion\x20confirmation\x20prompt.','default':![]});},async _0x6433c8=>{const _0x599790=_0x52efe9;await _0x23164a[_0x599790(0x184)](withTelemetry,_0x23164a['qNctF'],()=>deleteProfile(_0x6433c8[_0x599790(0x21d)],{'yes':_0x6433c8[_0x599790(0x10e)]}));})['command'](_0x121f71[_0x52efe9(0x28b)],![],_0x4d3a94=>{const _0x4541ed=_0x52efe9;return _0x4d3a94['positional'](_0x121f71['VhFpI'],{'type':_0x121f71['BnSdy'],'description':_0x4541ed(0x19c),'demandOption':!![]});},async _0x438b26=>{const _0x21c9bc=_0x52efe9;await withTelemetry(_0x21c9bc(0x189),()=>authEncrypt(_0x438b26[_0x21c9bc(0x1ad)]));})['command']('ls',_0x121f71[_0x52efe9(0x298)],()=>{},async()=>{await _0x23164a['auXDM'](withTelemetry,'profile\x20ls',()=>envList());})[_0x52efe9(0x12a)](_0x121f71[_0x52efe9(0x16a)],_0x121f71[_0x52efe9(0x14d)],_0x287c04=>{const _0x479bf7=_0x52efe9;return _0x287c04['positional'](_0x121f71['dgYGL'],{'type':_0x121f71['BnSdy'],'description':_0x121f71['YwphL'],'demandOption':!![]})[_0x479bf7(0x27b)]('allow-insecure-localhost',{'type':_0x121f71['wrBaY'],'description':_0x121f71['YHTuh']})['option'](_0x121f71[_0x479bf7(0x168)],{'type':_0x121f71[_0x479bf7(0x215)],'description':_0x121f71['DEluC']});},async _0x264133=>{const _0x5f4bf9=_0x52efe9;await _0x121f71[_0x5f4bf9(0x221)](withTelemetry,_0x121f71['zFOVo'],_0x2ced44=>updateEnv(_0x264133['profile-name'],_0x2ced44,{'allowInsecureLocalhost':_0x264133['allow-insecure-localhost'],'manual':_0x264133[_0x5f4bf9(0x1ac)]}));})['command'](_0x121f71[_0x52efe9(0x27d)],![],_0x47b9fb=>{const _0x53778e=_0x52efe9;return _0x47b9fb[_0x53778e(0xfc)](_0x121f71['Rnqmr'],{'type':_0x121f71[_0x53778e(0x234)],'description':_0x121f71['ywvmm'],'demandOption':!![]});},async _0x557d1e=>{const _0x2a097a=_0x52efe9,_0x47c0ae={'ywJgX':function(_0x6f9297,_0x52e0f7,_0x4720fd){return _0x6f9297(_0x52e0f7,_0x4720fd);},'GDPHb':_0x2a097a(0x283),'zoEtb':'failed','GfuRY':_0x2a097a(0xff)};await _0x23164a[_0x2a097a(0xfb)](withTelemetry,_0x23164a['mESdG'],async()=>{const _0x10cd3f=_0x2a097a,_0x3f1d88=process[_0x10cd3f(0x137)]['RANGER_TEST_USERNAME'],_0x288554=process[_0x10cd3f(0x137)]['RANGER_TEST_PASSWORD'];(!_0x3f1d88||!_0x288554)&&(console[_0x10cd3f(0x210)]('Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.'),process[_0x10cd3f(0x14c)](0x1));const _0x3edf1a=_0x557d1e['name'],_0x4d41d7=await _0x47c0ae[_0x10cd3f(0x1c9)](serverSideLogin,_0x3edf1a,{'force':!![]});_0x4d41d7['status']===_0x47c0ae['GDPHb']&&(console[_0x10cd3f(0x210)]('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process[_0x10cd3f(0x14c)](0x1)),_0x4d41d7['status']===_0x47c0ae['zoEtb']&&(console['error']('Login\x20failed:\x20'+(_0x4d41d7['error']??_0x47c0ae[_0x10cd3f(0x1f0)])),_0x4d41d7[_0x10cd3f(0x10d)]&&console['error'](_0x4d41d7['test_output']),process[_0x10cd3f(0x14c)](0x1)),console[_0x10cd3f(0x152)](_0x10cd3f(0x176)+_0x3edf1a+'\x27.\x20Session\x20saved.');});})['command']('migrate\x20[profile-name]',![],_0x59554c=>{const _0x6fb154=_0x52efe9;return _0x59554c['positional'](_0x6fb154(0x21d),{'type':_0x6fb154(0x124),'description':_0x121f71['WGkMw']})['option'](_0x121f71['UVZQe'],{'type':'boolean','description':_0x121f71['NqeRi'],'default':![]})['option'](_0x6fb154(0x174),{'type':_0x121f71[_0x6fb154(0x215)],'description':_0x121f71[_0x6fb154(0x263)],'default':![]})[_0x6fb154(0x27b)](_0x121f71['OWyEK'],{'type':_0x6fb154(0x291),'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})['option'](_0x121f71[_0x6fb154(0x197)],{'type':_0x121f71['wrBaY'],'description':_0x121f71['TWDTS'],'default':![]});},async _0x339db6=>{const _0x594fad=_0x52efe9;await _0x23164a['QageA'](withTelemetry,_0x23164a[_0x594fad(0x29a)],_0x12d493=>migrateProfile({'profileName':_0x339db6['profile-name'],'all':_0x339db6['all'],'dryRun':_0x339db6[_0x594fad(0x174)],'yes':_0x339db6['yes'],'saveCreds':_0x339db6[_0x594fad(0x172)]},_0x12d493));})[_0x52efe9(0x12a)]('config',_0x121f71['QJBsU'],_0x8d65df=>{const _0x40c3f4=_0x52efe9,_0x2a1f40={'FsKzV':_0x121f71['VhFpI'],'EZuzq':_0x40c3f4(0x124),'NBMGG':_0x121f71[_0x40c3f4(0x19f)],'GsmGO':_0x40c3f4(0x1f3)};return _0x8d65df[_0x40c3f4(0x265)](PROFILE_CONFIG_HELP)['command'](_0x121f71['jlWfJ'],_0x121f71[_0x40c3f4(0x1a2)],_0x2444c9=>{const _0x5da4e4=_0x40c3f4;return _0x2444c9['positional'](_0x2a1f40['FsKzV'],{'type':_0x5da4e4(0x124),'description':_0x5da4e4(0x19c),'demandOption':!![]})[_0x5da4e4(0xfc)](_0x5da4e4(0x188),{'type':_0x2a1f40[_0x5da4e4(0x25b)],'description':_0x2a1f40['NBMGG'],'demandOption':!![]})[_0x5da4e4(0xfc)]('value',{'type':_0x5da4e4(0x124),'description':_0x2a1f40['GsmGO'],'demandOption':!![]});},async _0x2532e7=>{const _0xf92af8=_0x40c3f4;await _0x23164a[_0xf92af8(0x1b6)](withTelemetry,_0x23164a[_0xf92af8(0x1e8)],()=>configSet(_0x2532e7[_0xf92af8(0x1ad)],_0x2532e7[_0xf92af8(0x188)],_0x2532e7[_0xf92af8(0x236)]));})[_0x40c3f4(0x12a)](_0x121f71[_0x40c3f4(0x1cb)],_0x121f71[_0x40c3f4(0x1ca)],_0x548f8b=>{const _0x47c993=_0x40c3f4;return _0x548f8b['positional']('profile',{'type':'string','description':_0x47c993(0x19c),'demandOption':!![]})['positional'](_0x23164a[_0x47c993(0x103)],{'type':'string','description':'Config\x20key','demandOption':!![]});},async _0x291f22=>{const _0x3cbae6=_0x40c3f4;await withTelemetry(_0x3cbae6(0x1a9),()=>configGet(_0x291f22['profile'],_0x291f22[_0x3cbae6(0x188)]));})[_0x40c3f4(0x12a)](_0x40c3f4(0x239),_0x121f71[_0x40c3f4(0x181)],_0x4907d5=>{const _0x587b68=_0x40c3f4;return _0x4907d5['positional']('profile',{'type':_0x23164a['lKXPl'],'description':_0x587b68(0x19c),'demandOption':!![]});},async _0x30f67c=>{const _0x392315=_0x40c3f4;await withTelemetry('profile\x20config\x20list',()=>configList(_0x30f67c[_0x392315(0x1ad)]));})['command'](_0x121f71[_0x40c3f4(0x12b)],'Remove\x20a\x20config\x20value',_0x37264a=>{const _0x39e77e=_0x40c3f4;return _0x37264a[_0x39e77e(0xfc)](_0x23164a[_0x39e77e(0x27e)],{'type':_0x39e77e(0x124),'description':_0x39e77e(0x19c),'demandOption':!![]})['positional'](_0x23164a[_0x39e77e(0x103)],{'type':_0x39e77e(0x124),'description':_0x23164a['woTsh'],'demandOption':!![]});},async _0x4f33ec=>{const _0x5776fc=_0x40c3f4;await _0x23164a['TnlZv'](withTelemetry,'profile\x20config\x20unset',()=>configUnset(_0x4f33ec[_0x5776fc(0x1ad)],_0x4f33ec[_0x5776fc(0x188)]));})[_0x40c3f4(0x12a)]('reset\x20<profile>',_0x121f71[_0x40c3f4(0x120)],_0x20a85c=>{const _0x12d5bc=_0x40c3f4;return _0x20a85c[_0x12d5bc(0xfc)](_0x2a1f40['FsKzV'],{'type':_0x12d5bc(0x124),'description':_0x12d5bc(0x19c),'demandOption':!![]});},async _0x3e25bb=>{const _0x2eee50=_0x40c3f4;await withTelemetry(_0x23164a[_0x2eee50(0x1bd)],()=>configReset(_0x3e25bb[_0x2eee50(0x1ad)]));})[_0x40c3f4(0x19a)](0x1,_0x121f71[_0x40c3f4(0x10c)]);})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})['command']('status',_0x121f71['ZbAbT'],()=>{},async()=>{await withTelemetry(_0x121f71['CRcLy'],()=>status());})['command']('update','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x473779=_0x38f1cd;await withTelemetry(_0x473779(0x129),()=>update());})[_0x38f1cd(0x12a)](_0x121f71[_0x38f1cd(0x1e3)],_0x121f71[_0x38f1cd(0x167)],()=>{},async()=>{const _0x4d993a=_0x38f1cd;await _0x121f71['GLAoy'](withTelemetry,_0x121f71[_0x4d993a(0x1e3)],async()=>{const _0x522321=_0x4d993a,_0x3961e2=await getToken();if(!_0x3961e2)throw new Error(_0x121f71[_0x522321(0x18b)]);console['log'](_0x3961e2);});})['command']('go','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.',_0x13fc30=>{const _0x195aa1=_0x38f1cd;return _0x13fc30['option'](_0x121f71['qJSss'],{'type':_0x121f71['BnSdy'],'description':_0x121f71['msqFi']})['option'](_0x121f71[_0x195aa1(0x13a)],{'type':'string','description':_0x195aa1(0x26f)})['option'](_0x121f71[_0x195aa1(0x237)],{'type':_0x121f71['BnSdy'],'description':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)'})['option'](_0x121f71[_0x195aa1(0x123)],{'type':_0x121f71['JVlfg'],'description':_0x121f71[_0x195aa1(0x155)]})['option'](_0x121f71[_0x195aa1(0x12e)],{'type':_0x195aa1(0x124),'description':_0x121f71[_0x195aa1(0x1ee)]})['option'](_0x121f71[_0x195aa1(0xe7)],{'type':_0x195aa1(0x124),'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x195aa1(0x27b)]('model',{'type':_0x195aa1(0x124),'description':_0x121f71[_0x195aa1(0x1df)]})[_0x195aa1(0x27b)](_0x121f71['zIhHi'],{'type':_0x121f71[_0x195aa1(0x215)],'description':_0x121f71['oHCtb'],'default':![]})[_0x195aa1(0x27b)](_0x121f71['WgRuc'],{'type':_0x121f71[_0x195aa1(0x234)],'array':!![],'alias':_0x121f71[_0x195aa1(0x130)],'description':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.'})['option']('debug-outcome',{'type':'string','hidden':!![],'choices':['verified',_0x195aa1(0x153),_0x121f71[_0x195aa1(0x274)],'failed',_0x121f71[_0x195aa1(0x211)]]})['option'](_0x121f71[_0x195aa1(0x1b5)],{'type':_0x195aa1(0x291),'hidden':!![]})[_0x195aa1(0x27b)](_0x121f71['iUeYo'],{'type':_0x121f71[_0x195aa1(0x234)],'hidden':!![]})[_0x195aa1(0x27b)](_0x121f71[_0x195aa1(0x133)],{'type':'string','hidden':!![]})[_0x195aa1(0x27b)](_0x121f71[_0x195aa1(0x11a)],{'type':_0x121f71['JVlfg'],'hidden':!![]});},async _0xd56ef3=>{await runGoCommand(_0xd56ef3);})['command'](_0x121f71[_0x38f1cd(0x212)],![],_0x4e8945=>{const _0x322404=_0x38f1cd,_0x3bba4f={'BsQFj':function(_0x3bc2e5,_0x3cb5ee,_0x37c611){return _0x3bc2e5(_0x3cb5ee,_0x37c611);}};return _0x4e8945['command'](_0x121f71[_0x322404(0x270)],![],_0x263639=>{const _0x2ce8da=_0x322404;return _0x263639[_0x2ce8da(0xfc)](_0x2ce8da(0x1ad),{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x39f215=>{const _0x257e3c=_0x322404;_0x3bba4f['BsQFj'](warnRenamed,_0x257e3c(0x18f),'ranger\x20profile\x20encrypt-auth'),await authEncrypt(_0x39f215['profile']);})[_0x322404(0x19a)](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command'](_0x38f1cd(0x205),![],_0x4b19eb=>{const _0x339a38=_0x38f1cd;return _0x4b19eb['positional'](_0x339a38(0x15f),{'type':_0x121f71[_0x339a38(0x234)],'description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})[_0x339a38(0x27b)](_0x339a38(0x14b),{'type':_0x339a38(0x291),'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x339a38(0x27b)]('scope',{'type':_0x121f71[_0x339a38(0x234)],'choices':['user'],'hidden':!![],'description':_0x121f71[_0x339a38(0x26a)]})['option'](_0x121f71['hiKPv'],{'type':'string','description':_0x121f71['hOzrk']})['option'](_0x339a38(0x20c),{'type':_0x121f71[_0x339a38(0x215)],'description':_0x339a38(0x109),'default':![]})[_0x339a38(0x27b)]('skip-auth',{'type':_0x121f71[_0x339a38(0x215)],'description':'Skip\x20authentication','default':![]})['option']('with-deps',{'type':'boolean','description':_0x121f71[_0x339a38(0x18d)],'default':![]});},async _0x29d675=>{const _0x53f7cd=_0x38f1cd;warnRenamed(_0x121f71['EuPUg'],_0x53f7cd(0x26c)),await withTelemetry(_0x121f71['mSfar'],_0x48bc27=>start(_0x29d675['token'],{'skipChromium':_0x29d675['skip-chromium'],'skipAuth':_0x29d675[_0x53f7cd(0x299)],'withDeps':_0x29d675[_0x53f7cd(0x154)],'scope':_0x29d675[_0x53f7cd(0x26e)],'url':_0x29d675['url'],'force':_0x29d675['force']},_0x48bc27));})['command'](_0x121f71[_0x38f1cd(0x26d)],![],_0x109d92=>{const _0x4c4a00=_0x38f1cd;return _0x109d92['option'](_0x121f71[_0x4c4a00(0x1db)],{'type':_0x121f71[_0x4c4a00(0x234)],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0x4c4a00(0x27b)](_0x121f71[_0x4c4a00(0x133)],{'type':_0x4c4a00(0x124),'description':_0x4c4a00(0xf5)})['option']('item',{'type':'number','description':_0x121f71[_0x4c4a00(0x155)]})['option']('profile',{'type':_0x121f71[_0x4c4a00(0x234)],'hidden':!![]})['option'](_0x121f71[_0x4c4a00(0x237)],{'type':_0x121f71['BnSdy'],'hidden':!![]})[_0x4c4a00(0x27b)]('scenario',{'type':_0x121f71[_0x4c4a00(0x10a)],'hidden':!![]})[_0x4c4a00(0x27b)](_0x4c4a00(0x1c2),{'type':_0x121f71['BnSdy'],'description':_0x121f71[_0x4c4a00(0x1ee)]})[_0x4c4a00(0x27b)]('base-url',{'type':_0x121f71[_0x4c4a00(0x234)],'description':_0x4c4a00(0x1ea)})[_0x4c4a00(0x27b)](_0x121f71['xYTNF'],{'type':'string','hidden':!![]})['option'](_0x121f71[_0x4c4a00(0x21c)],{'type':_0x4c4a00(0x291),'hidden':!![],'default':![]})[_0x4c4a00(0x27b)](_0x121f71[_0x4c4a00(0x117)],{'type':_0x121f71['BnSdy'],'array':!![],'alias':_0x121f71[_0x4c4a00(0x130)],'hidden':!![]})['option'](_0x121f71[_0x4c4a00(0x253)],{'type':_0x121f71['BnSdy'],'hidden':!![],'choices':['verified',_0x121f71[_0x4c4a00(0x1f8)],_0x121f71['JIiCF'],_0x121f71[_0x4c4a00(0x192)],_0x121f71['Vxutr']]});},async _0xefc5ba=>{await _0x121f71['GLAoy'](runGoCommand,_0xefc5ba,!![]);})['command']('add\x20env\x20<env-name>',![],_0x45279d=>{const _0x4f8f20=_0x38f1cd;return _0x45279d[_0x4f8f20(0xfc)](_0x121f71[_0x4f8f20(0x13b)],{'type':_0x121f71[_0x4f8f20(0x234)],'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':'boolean','description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x121f71[_0x4f8f20(0x267)],{'type':_0x121f71['wrBaY'],'description':_0x121f71[_0x4f8f20(0x1d4)],'default':![]});},async _0x465a84=>{const _0x5b9529=_0x38f1cd;warnRenamed('ranger\x20add\x20env','ranger\x20profile\x20add'),await withTelemetry(_0x121f71[_0x5b9529(0x190)],_0x32be99=>addEnv(_0x465a84[_0x5b9529(0x1a3)],{'ci':_0x465a84['ci'],'skipAuth':_0x465a84['skip-auth']},_0x32be99));})[_0x38f1cd(0x12a)](_0x38f1cd(0x25c),![],_0x456000=>{const _0x409138=_0x38f1cd;return _0x456000['positional']('env-name',{'type':_0x121f71['BnSdy'],'description':_0x409138(0x220),'demandOption':!![]});},async _0x57258e=>{const _0x47394c=_0x38f1cd;warnRenamed(_0x121f71[_0x47394c(0x281)],_0x121f71['gLDFk']),await _0x121f71['ihdsO'](withTelemetry,_0x121f71['TwroD'],()=>useEnv(_0x57258e['env-name']));})['command'](_0x121f71[_0x38f1cd(0x24a)],![],_0x5a6318=>{const _0x4aa606=_0x38f1cd,_0x7d05={'yrCdS':function(_0xe5f2e9,_0x338f6e,_0x310cdf){return _0xe5f2e9(_0x338f6e,_0x310cdf);},'HTZEh':_0x121f71['JHjaO'],'IKmSU':_0x121f71['iUeYo'],'noNpz':_0x121f71[_0x4aa606(0x234)],'LOrdL':_0x121f71['nwIZR'],'pHgBL':function(_0x1c10d9,_0x1d5b8c,_0x18af21){return _0x1c10d9(_0x1d5b8c,_0x18af21);},'KKpNe':'Config\x20key\x20to\x20remove'};return _0x5a6318[_0x4aa606(0x12a)]('set\x20<env>\x20<key>\x20<value>',![],_0x4b2678=>{const _0xb6744=_0x4aa606;return _0x4b2678[_0xb6744(0xfc)](_0xb6744(0x137),{'type':'string','description':'Environment\x20name','demandOption':!![]})[_0xb6744(0xfc)](_0xb6744(0x188),{'type':_0x121f71['BnSdy'],'description':_0x121f71[_0xb6744(0x19f)],'demandOption':!![]})[_0xb6744(0xfc)](_0x121f71['ksDDu'],{'type':_0x121f71[_0xb6744(0x234)],'description':_0x121f71['xtBxn'],'demandOption':!![]});},async _0x3bf400=>{const _0x24d34c=_0x4aa606;_0x7d05[_0x24d34c(0x20d)](warnRenamed,'ranger\x20config\x20set',_0x7d05[_0x24d34c(0x1f1)]),await _0x7d05['yrCdS'](withTelemetry,'config\x20set',()=>configSet(_0x3bf400[_0x24d34c(0x137)],_0x3bf400['key'],_0x3bf400[_0x24d34c(0x236)]));})['command'](_0x121f71[_0x4aa606(0x12c)],![],_0x4a4e7e=>{const _0x279feb=_0x4aa606;return _0x4a4e7e['positional'](_0x7d05[_0x279feb(0xe6)],{'type':_0x7d05['noNpz'],'description':_0x7d05[_0x279feb(0x19d)],'demandOption':!![]})[_0x279feb(0xfc)](_0x279feb(0x188),{'type':_0x7d05[_0x279feb(0x1be)],'description':'Config\x20key','demandOption':!![]});},async _0x4424a5=>{const _0x38c36f=_0x4aa606;_0x7d05[_0x38c36f(0x1ba)](warnRenamed,_0x38c36f(0xf1),'ranger\x20profile\x20config\x20get'),await withTelemetry('config\x20get',()=>configGet(_0x4424a5['env'],_0x4424a5[_0x38c36f(0x188)]));})['command'](_0x4aa606(0x140),![],_0x1cc14a=>{const _0x371ba5=_0x4aa606;return _0x1cc14a['positional'](_0x121f71[_0x371ba5(0x1db)],{'type':'string','description':_0x371ba5(0x1c3),'demandOption':!![]});},async _0x409045=>{const _0x4092b1=_0x4aa606;warnRenamed(_0x121f71['IAfWs'],_0x121f71[_0x4092b1(0x159)]),await withTelemetry(_0x121f71['dGezI'],()=>configList(_0x409045[_0x4092b1(0x137)]));})['command'](_0x121f71[_0x4aa606(0x1a0)],![],_0x1e2446=>{const _0xe06e23=_0x4aa606;return _0x1e2446[_0xe06e23(0xfc)](_0x7d05[_0xe06e23(0xe6)],{'type':_0xe06e23(0x124),'description':'Environment\x20name','demandOption':!![]})[_0xe06e23(0xfc)]('key',{'type':_0xe06e23(0x124),'description':_0x7d05[_0xe06e23(0x156)],'demandOption':!![]});},async _0x472ea2=>{const _0x76171b=_0x4aa606;warnRenamed('ranger\x20config\x20unset','ranger\x20profile\x20config\x20unset'),await withTelemetry(_0x121f71['bfhqD'],()=>configUnset(_0x472ea2[_0x76171b(0x137)],_0x472ea2[_0x76171b(0x188)]));})['demandCommand'](0x1,_0x4aa606(0x15d));})[_0x38f1cd(0x12a)]('env',![],_0x511d33=>{const _0x4f7c8c=_0x38f1cd;return _0x511d33['command']('ls',![],()=>{},async()=>{const _0xfcdb3d=_0x56de;warnRenamed(_0x121f71['NzEBt'],_0xfcdb3d(0x115)),await withTelemetry(_0xfcdb3d(0x260),()=>envList());})['command'](_0x4f7c8c(0x125),![],_0xd57f2a=>{const _0x2a7efc=_0x4f7c8c;return _0xd57f2a['positional'](_0x121f71[_0x2a7efc(0x13b)],{'type':_0x121f71['BnSdy'],'description':_0x121f71[_0x2a7efc(0x273)],'demandOption':!![]});},async _0x2cbc8f=>{const _0x709e14=_0x4f7c8c;_0x121f71[_0x709e14(0x1ef)](warnRenamed,_0x121f71['dgDWI'],_0x709e14(0x118)),await withTelemetry(_0x121f71['lqPHM'],_0x36ce74=>updateEnv(_0x2cbc8f['env-name'],_0x36ce74));})['demandCommand'](0x1,_0x121f71['udmEj']);})['command'](_0x121f71[_0x38f1cd(0x243)],![],_0x120080=>{const _0x55dd33=_0x38f1cd,_0x3eea91={'OxxBO':'string','sxrAq':_0x55dd33(0xe1),'VoOrz':_0x55dd33(0x27f),'RWMzv':'scenario','tvKKG':'array','GDjnO':'boolean','FlGmh':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','VtqPm':_0x121f71[_0x55dd33(0x228)],'UVkgc':_0x121f71['JVlfg'],'bwDCS':_0x121f71[_0x55dd33(0x289)],'GsFgp':_0x121f71[_0x55dd33(0x11d)],'TzvKn':'ranger\x20feature\x20show','mEqoh':function(_0x105bde,_0x42cfc5,_0x286124){return _0x121f71['iCeRj'](_0x105bde,_0x42cfc5,_0x286124);},'xJSVX':_0x121f71[_0x55dd33(0x246)]};return _0x120080['command'](_0x55dd33(0x2a0),![],_0x332b61=>{const _0x3c45a5=_0x55dd33;return _0x332b61[_0x3c45a5(0xfc)]('name',{'type':_0x3c45a5(0x124),'description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x3c45a5(0x244),{'type':_0x3eea91['OxxBO'],'alias':'d','description':_0x3c45a5(0x1f6)})[_0x3c45a5(0x27b)](_0x3eea91[_0x3c45a5(0x1ec)],{'type':'array','alias':'c','description':_0x3eea91['VoOrz']})['option'](_0x3eea91[_0x3c45a5(0x127)],{'type':_0x3eea91[_0x3c45a5(0x1eb)],'hidden':!![]});},async _0x281eee=>{const _0x3d1def=_0x55dd33;_0x121f71['ihdsO'](warnRenamed,_0x3d1def(0xf8),_0x3d1def(0x1ed)),_0x121f71[_0x3d1def(0x135)](warnFlagRenamed,'ranger\x20create',_0x3d1def(0x11b),_0x121f71['QDunA']);const _0x1d4bcf=_0x281eee[_0x3d1def(0xf4)]||_0x281eee[_0x3d1def(0xe1)];await withTelemetry(_0x3d1def(0xe5),()=>featureCreate(_0x281eee[_0x3d1def(0x271)],{'description':_0x281eee[_0x3d1def(0x244)],'scenarios':_0x1d4bcf}));})[_0x55dd33(0x12a)](_0x121f71[_0x55dd33(0x134)],![],_0x39db2e=>{const _0x496884=_0x55dd33;return _0x39db2e['option']('current-branch',{'type':_0x3eea91['GDjnO'],'description':_0x3eea91[_0x496884(0x23f)]})[_0x496884(0x27b)](_0x3eea91[_0x496884(0x258)],{'type':_0x3eea91[_0x496884(0x1d3)],'alias':'l','description':_0x496884(0x1fa),'default':0xa})[_0x496884(0x27b)]('offset',{'type':'number','alias':'o','description':_0x3eea91[_0x496884(0x1dc)],'default':0x0})['option'](_0x3eea91[_0x496884(0x173)],{'type':_0x496884(0x291),'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x389434=>{const _0x3c75f0=_0x55dd33;_0x121f71[_0x3c75f0(0x221)](warnRenamed,_0x3c75f0(0x1bb),_0x121f71[_0x3c75f0(0x1a1)]),await _0x121f71['ihdsO'](withTelemetry,_0x121f71[_0x3c75f0(0x143)],()=>featureList({'currentBranch':_0x389434['current-branch'],'limit':_0x389434[_0x3c75f0(0x25f)],'offset':_0x389434[_0x3c75f0(0x1ae)],'includeDeleted':_0x389434['include-deleted']}));})[_0x55dd33(0x12a)](_0x121f71[_0x55dd33(0x18e)],![],_0x530616=>{const _0x223449=_0x55dd33;return _0x530616[_0x223449(0xfc)]('id',{'type':'string','description':_0x121f71['gdNAL']});},async _0x3b63c6=>{const _0x43c819=_0x55dd33;warnRenamed(_0x3eea91[_0x43c819(0x162)],_0x43c819(0x203)),await withTelemetry(_0x43c819(0x18c),()=>featureShow(_0x3b63c6['id']));})[_0x55dd33(0x12a)]('resume\x20[id]',![],_0x4d4e7f=>{const _0x26d19e=_0x55dd33;return _0x4d4e7f[_0x26d19e(0xfc)]('id',{'type':'string','description':_0x121f71['USfTo']});},async _0x54811d=>{const _0x3ee0f6=_0x55dd33;warnRenamed(_0x3ee0f6(0x1fc),_0x3ee0f6(0x28e)),await _0x121f71['XaOnf'](withTelemetry,'feature\x20resume',()=>featureResume(_0x54811d['id']));})[_0x55dd33(0x12a)]('add-checklist-item\x20<description>',![],_0x185399=>{const _0x4f8586=_0x55dd33;return _0x185399['positional'](_0x121f71['EIVDi'],{'type':'string','description':_0x121f71['wQLBC'],'demandOption':!![]})['option']('id',{'type':_0x121f71[_0x4f8586(0x234)],'description':_0x121f71[_0x4f8586(0x15b)]});},async _0x200cb5=>{const _0x39e2e3=_0x55dd33;warnRenamed(_0x39e2e3(0x1a6),'ranger\x20add-scenario'),await _0x3eea91['mEqoh'](withTelemetry,_0x39e2e3(0x1f9),()=>featureAddScenario(_0x200cb5['description'],_0x200cb5['id']));})['command']('get-feedback\x20[id]',![],_0x499e2f=>{const _0x4e5b53=_0x55dd33;return _0x499e2f[_0x4e5b53(0xfc)]('id',{'type':_0x4e5b53(0x124),'description':_0x4e5b53(0x180)});},async _0x2764e3=>{const _0x135aaf=_0x55dd33;warnRenamed('ranger\x20feature\x20get-feedback','ranger\x20get-review'),await withTelemetry(_0x135aaf(0x269),()=>featureGetReview(_0x2764e3['id']));})[_0x55dd33(0x12a)](_0x121f71[_0x55dd33(0x1d2)],![],_0x1afeea=>{const _0x349c55=_0x55dd33;return _0x1afeea['positional']('id',{'type':_0x121f71[_0x349c55(0x234)],'description':_0x349c55(0x107)});},async _0xa0e619=>{const _0x354730=_0x55dd33;_0x121f71[_0x354730(0x1dd)](warnRenamed,_0x121f71['PRmgZ'],_0x121f71['oaFZr']),await _0x121f71['ihdsO'](withTelemetry,_0x121f71[_0x354730(0x1c6)],()=>featureDelete(_0xa0e619['id']));})['command']('restore\x20<id>',![],_0x46e70a=>{const _0x18b673=_0x55dd33;return _0x46e70a[_0x18b673(0xfc)]('id',{'type':_0x3eea91['OxxBO'],'description':_0x3eea91['xJSVX'],'demandOption':!![]});},async _0x440d0a=>{_0x121f71['eSSoF'](warnRenamed,_0x121f71['PepDA'],'ranger\x20restore'),await _0x121f71['ihdsO'](withTelemetry,_0x121f71['uAjHH'],()=>featureRestore(_0x440d0a['id']));})['demandCommand'](0x1,_0x121f71['kXiTK']);})[_0x38f1cd(0x12a)]('hook',![],_0x569a28=>{const _0x292416=_0x38f1cd;return _0x569a28[_0x292416(0x12a)](_0x292416(0x25e),'Enable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x2821de=>{const _0x167e69=_0x292416;return _0x2821de[_0x167e69(0x27b)](_0x167e69(0x229),{'type':_0x121f71[_0x167e69(0x234)],'description':_0x121f71['mUDsT']});},async _0x188709=>{const _0x2075bb=_0x292416;await withTelemetry(_0x2075bb(0x11f),()=>hook(_0x2075bb(0x25e),_0x188709[_0x2075bb(0x229)]));})[_0x292416(0x12a)](_0x121f71[_0x292416(0x1e5)],_0x121f71[_0x292416(0x285)],_0x1c7a12=>{const _0x3cc753=_0x292416;return _0x1c7a12[_0x3cc753(0x27b)](_0x121f71[_0x3cc753(0x224)],{'type':'string','description':_0x121f71[_0x3cc753(0x1cc)]});},async _0x4903ef=>{const _0x2abe3a=_0x292416;await withTelemetry(_0x121f71['DdRIT'],()=>hook('disable',_0x4903ef[_0x2abe3a(0x229)]));})['option'](_0x121f71[_0x292416(0x165)],{'type':_0x292416(0x124),'description':_0x292416(0x1ff)})['option'](_0x121f71['kECyG'],{'type':_0x121f71['BnSdy'],'description':_0x121f71[_0x292416(0x1cc)]});},async _0x2587a0=>{const _0x50ee5c=_0x38f1cd;_0x2587a0['name']&&await _0x121f71[_0x50ee5c(0x221)](hook,_0x2587a0['name'],_0x2587a0[_0x50ee5c(0x229)]);})['demandCommand'](0x1,_0x38f1cd(0x20b))['strictCommands']()[_0x38f1cd(0x24d)](async(_0x233bca,_0x4f0ea9,_0x549e4d)=>{const _0x15abf0=_0x38f1cd,_0x4367e9=sanitizeArgs(process['argv']['slice'](0x2)),_0x1de751=_0x121f71[_0x15abf0(0x221)](getErrorType,_0x233bca,_0x4f0ea9);if(_0x233bca&&_0x233bca['includes'](_0x121f71['tdRph'])){const _0x10e270=process['argv'][0x2];console[_0x15abf0(0x210)]('\x0aUnknown\x20command:\x20'+_0x10e270),console['error'](_0x121f71[_0x15abf0(0x21e)]);}else{if(_0x233bca)console[_0x15abf0(0x210)]('\x0a'+_0x233bca+'\x0a');else _0x4f0ea9&&console['error'](_0x15abf0(0xf2)+_0x4f0ea9['message']+'\x0a');}await logDesirePath({'rawCommand':_0x4367e9,'errorMessage':_0x233bca||_0x4f0ea9?.['message'],'errorType':_0x1de751});const _0x1e89b8=getCurrentCollector();_0x1e89b8&&await _0x1e89b8[_0x15abf0(0x194)](_0x4f0ea9||new Error(_0x121f71['kekEP'](_0x233bca,_0x15abf0(0x28a)))),process['exit'](0x1);})[_0x38f1cd(0x200)](_0x38f1cd(0x1e7)+_0x121f71['jZAsC']+_0x121f71[_0x38f1cd(0x13f)])[_0x38f1cd(0x201)]()['alias'](_0x121f71['OyroQ'],'h');}process['env'][_0x29fd62(0x288)]!=='test'&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()['parse']());
|