@ranger-testing/ranger-cli 3.1.2-alpha.b450a14-41 → 3.1.3-alpha.2c5eb8e-44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cli.js +1 -1
- package/build/commands/addEnv.js +1 -1
- package/build/commands/authEncrypt.js +1 -1
- package/build/commands/clean.js +1 -1
- package/build/commands/config.js +1 -1
- package/build/commands/deleteProfile.js +1 -1
- package/build/commands/env.js +1 -1
- package/build/commands/feature.js +1 -1
- package/build/commands/hook.js +1 -1
- package/build/commands/hooks/autoPrompt.js +1 -1
- package/build/commands/hooks/disable.js +1 -1
- package/build/commands/hooks/enable.js +1 -1
- package/build/commands/hooks/exitPlanMode.js +1 -1
- package/build/commands/hooks/index.js +1 -1
- package/build/commands/hooks/output.js +1 -1
- package/build/commands/hooks/planReminder.js +1 -1
- package/build/commands/hooks/planStart.js +1 -1
- package/build/commands/hooks/postEdit.js +1 -1
- package/build/commands/hooks/preCompact.js +1 -1
- package/build/commands/hooks/sessionEnd.js +1 -1
- package/build/commands/hooks/sessionStart.js +1 -1
- package/build/commands/hooks/stopHook.js +1 -1
- package/build/commands/index.js +1 -1
- package/build/commands/login.js +1 -1
- package/build/commands/mcpBootstrap.js +1 -1
- package/build/commands/migrateProfile.js +1 -1
- package/build/commands/setup/claude.js +1 -1
- package/build/commands/setup/opencode.js +1 -1
- package/build/commands/setupCi.js +1 -1
- package/build/commands/skillup.js +1 -1
- package/build/commands/start.js +1 -1
- package/build/commands/status.js +1 -1
- package/build/commands/update.js +1 -1
- package/build/commands/updateEnv.js +1 -1
- package/build/commands/useEnv.js +1 -1
- package/build/commands/utils/activeProfile.js +1 -1
- package/build/commands/utils/agentEnv.js +1 -1
- package/build/commands/utils/browserSessionsApi.js +1 -1
- package/build/commands/utils/claudeConfig.js +1 -1
- package/build/commands/utils/claudeOverrideSettings.js +1 -1
- package/build/commands/utils/claudePlugin.js +1 -1
- package/build/commands/utils/cloudProfile.js +1 -1
- package/build/commands/utils/cloudProfileSession.js +1 -1
- package/build/commands/utils/crypto.js +1 -1
- package/build/commands/utils/desirePathLog.js +1 -1
- package/build/commands/utils/deviceAuth.js +1 -1
- package/build/commands/utils/environment.js +1 -1
- package/build/commands/utils/featureApi.js +1 -1
- package/build/commands/utils/fixWebmDuration.js +1 -1
- package/build/commands/utils/gitTracked.js +1 -1
- package/build/commands/utils/keychain.js +1 -1
- package/build/commands/utils/legacyWarning.js +1 -1
- package/build/commands/utils/localAgentInstallationsApi.js +1 -1
- package/build/commands/utils/matchAuthEnvironment.js +1 -1
- package/build/commands/utils/mcpImageBase64.js +1 -1
- package/build/commands/utils/model.js +1 -1
- package/build/commands/utils/novaActCli.js +1 -1
- package/build/commands/utils/opencodeConfig.js +1 -1
- package/build/commands/utils/organizationEnvApi.js +1 -1
- package/build/commands/utils/playwrightCli.js +1 -1
- package/build/commands/utils/profileMessages.js +1 -1
- package/build/commands/utils/profileSetupBanner.js +1 -1
- package/build/commands/utils/projectsConfig.js +1 -1
- package/build/commands/utils/rangerConfig.js +1 -1
- package/build/commands/utils/rangerRoot.js +1 -1
- package/build/commands/utils/rangerwrightCli.js +1 -1
- package/build/commands/utils/resolveProfileContext.js +1 -1
- package/build/commands/utils/resolveProfileUrl.js +1 -1
- package/build/commands/utils/retry.js +1 -1
- package/build/commands/utils/sessionCache.js +1 -1
- package/build/commands/utils/settings.js +1 -1
- package/build/commands/utils/skillContent.js +1 -1
- package/build/commands/utils/skills.js +1 -1
- package/build/commands/utils/stitchWebmFiles.js +1 -1
- package/build/commands/utils/telemetry.js +1 -1
- package/build/commands/utils/tokenRefresh.js +1 -1
- package/build/commands/utils/traceSnapshotMapper.js +1 -1
- package/build/commands/utils/tunnelClient.js +1 -1
- package/build/commands/utils/userApi.js +1 -1
- package/build/commands/utils/version.js +1 -1
- package/build/commands/verifyFeature.js +1 -1
- package/build/commands/verifyFeatureCli.js +1 -1
- package/build/commands/verifyFeatureNovaCli.js +1 -1
- package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x2348e6=_0x18ce;(function(_0x39a112,_0xab3e2c){const _0x24cb37=_0x18ce,_0x5629f2=_0x39a112();while(!![]){try{const _0x1d6589=parseInt(_0x24cb37(0x182))/0x1*(parseInt(_0x24cb37(0xe2))/0x2)+parseInt(_0x24cb37(0xb8))/0x3*(parseInt(_0x24cb37(0x126))/0x4)+parseInt(_0x24cb37(0x208))/0x5*(parseInt(_0x24cb37(0x1c3))/0x6)+parseInt(_0x24cb37(0x11d))/0x7*(-parseInt(_0x24cb37(0x178))/0x8)+parseInt(_0x24cb37(0x13d))/0x9*(-parseInt(_0x24cb37(0x20d))/0xa)+parseInt(_0x24cb37(0x1db))/0xb+parseInt(_0x24cb37(0x106))/0xc;if(_0x1d6589===_0xab3e2c)break;else _0x5629f2['push'](_0x5629f2['shift']());}catch(_0x116ad4){_0x5629f2['push'](_0x5629f2['shift']());}}}(_0x3005,0x41a60));import _0x5c9c80 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x55e62d=_0x18ce,_0x3929b1={'SenXo':function(_0x811cd6,_0x419f2f){return _0x811cd6!==_0x419f2f;},'StZqQ':function(_0x4676bf,_0x3b111c){return _0x4676bf(_0x3b111c);},'mIYOJ':function(_0x913a8d,_0x3d02f5,_0x1a0dd8){return _0x913a8d(_0x3d02f5,_0x1a0dd8);},'HktdH':_0x55e62d(0x20f),'mZBsf':'.env'};let _0x19d28a=process[_0x55e62d(0xc4)]();const _0x238940=parse(_0x19d28a)['root'];while(_0x3929b1[_0x55e62d(0x151)](_0x19d28a,_0x238940)){if(_0x3929b1[_0x55e62d(0x6a)](existsSync,_0x3929b1['mIYOJ'](join,_0x19d28a,_0x3929b1['HktdH']))||existsSync(join(_0x19d28a,_0x3929b1['mZBsf'])))return _0x19d28a;_0x19d28a=dirname(_0x19d28a);}return process['cwd']();}_0x5c9c80[_0x2348e6(0x11c)]({'path':join(findProjectRoot(),_0x2348e6(0x176))});import _0x249675 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 _0x18ce(_0x10d3d7,_0x981b24){_0x10d3d7=_0x10d3d7-0x6a;const _0x300571=_0x3005();let _0x18cee5=_0x300571[_0x10d3d7];return _0x18cee5;}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';function _0x3005(){const _0x18a12c=['Subcommand\x20or\x20API\x20token\x20(rngr_...)','vFRxP','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','dUzLY','message','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','HToGn','save-creds','JCqqj','log','usage','eoMuo','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','\x27.\x20Session\x20saved.','QYEWN','\x0aIssues:','ranger\x20feature\x20restore','ranger','ranger\x20verify-feature','MzWjT','Skip\x20authentication','ODYfX','Ytgaz','RwchW','status','ranger\x20resume','show','forEach','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','value','not_configured','argv','zLxLO','profile\x20use','593700NCFXDJ','help','mcp','\x0aError:\x20','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','Scenario\x20description','Run\x20full\x20interactive\x20setup','List\x20all\x20profiles','NhySx','Reason:\x20','debug-outcome','hptRb','HVQMN','BDZRb','Restore\x20a\x20soft-deleted\x20feature\x20review','zlbil','gTZaJ','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','show\x20[id]','limit','xLAeT','config','427861RCLPeA','ZObHb','Vryze','\x20INCOMPLETE','Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.','CEwXZ','mplXw','setup-ci\x20<token>','ranger\x20feature\x20get-feedback','78828MlQpCV','IUvBK','Gpiti','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','flatMap','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','sYkFG','eDbnC','--env','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','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','AHAaD','esBBf','option','VUZUX','ccGYj','get-review','eSGNT','LeLVb','ztNAM','Documentation:\x0a','start-path','FXzzs','9yBtCtI','ranger\x20add-scenario','HELyw','RzXCM','JvXxu','pbchs','delete\x20<profile-name>','project','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','list','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','Login\x20failed:\x20','tjFLb','Feature\x20review\x20name','profile-name','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','error','egWmo','get\x20<env>\x20<key>','SenXo','demandCommand','sCcNP','Environment\x20name','sYDgT','oLUyQ','env','yes','VDKUx','qdwXz','tokenOrSubcommand','name','IUoJt','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','gUpoJ','feature\x20add-checklist-item','Set\x20up\x20a\x20local\x20browser\x20profile','restore','Manage\x20profile\x20configuration','headed','set\x20<profile>\x20<key>\x20<value>','Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','scenario','IXVYs','profile\x20config\x20list','ranger\x20feature\x20add-checklist-item','evaluation','UruTY','agIkx','zawed','update\x20<env-name>','Authenticate\x20with\x20Ranger','config\x20unset','boolean','ranger\x20profile\x20config\x20set','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','ranger\x20add\x20env','.env','safe-mode','40vCGGlY','AFesC','bzULt','severity','UFilm','Switch\x20to\x20using\x20a\x20specific\x20profile','fwxCD','NpTuk','resume\x20[id]','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','91447BXCUGs','cfsKR','setup-ci','PbOTm','ranger\x20feature\x20show','alias','delete','add-scenario\x20<description>','ranger\x20feature\x20create','wxBBh','jbCzW','gdqEJ','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','iQSmr','blocked','dry-run','New\x20scenario\x20description','XaMfG','opencode','disable','bZZyn','config\x20get','--checklist','VjxWD','slice','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','IgdtF','feature\x20show','uKoJy','FeDOn','spNus','Profile\x20name','zhhye','Skip\x20Chromium\x20browser\x20installation','--scenario','vyyio','WEKhv','iGoXr','qSdcz','lAMOj','environment-variable','number','\x20\x20https://docs.ranger.net\x0a','Example:\x20ranger\x20create\x20my-feature','setup:login','config\x20set','test_output','You\x20must\x20specify\x20an\x20auth\x20subcommand','setup:all','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','dcJsY','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','oFdkM','Name\x20of\x20the\x20environment\x20to\x20update','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','env\x20list','test','setup:profiles','ranger\x20go','ICRzN','Feature\x20review\x20ID','TzQJr','all','restore\x20<id>','2339574rJmSQj','unset\x20<profile>\x20<key>','iWyWz','fail','incomplete','version','profile\x20config\x20get','ranger\x20create','pskRI','AmdlL','Gnosm','saohy','nEZXt','scope','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','JUWFb','ELYLL','sWNgp','obDCB','with-deps','summary','Initialize\x20Ranger\x20in\x20your\x20project','Config\x20key\x20to\x20remove','gWjGg','1305854InlXIe','KATMR','feature\x20list','HQLgg','startsWith','Uriqi','feature','--notes','IsCba','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','user','offset','BLnWZ','profile\x20config\x20set','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','trackCommandError','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','include-deleted','issues','exit','print-access-token','some','cByzs','BmLVw','update','string','wBVdi','Config\x20value','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','ijGKS','IXKcL','lDMSU','gzQbn','gpKQT','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','hook','ranger\x20delete','list\x20<env>','OSoun','verify-feature','pYAHW','Feature\x20review\x20description','force','anrlC','5iygIqn','hook:enable','ranger\x20list','Include\x20soft-deleted\x20feature\x20reviews','OjsOb','5283150yhDoQu','DOMxO','.ranger','dOtqt','TaCvq','KQCIb','gMaIM','profile\x20encrypt-auth','get\x20<profile>\x20<key>','YmxVM','gcSCc','AKinA','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','TlPKX','vLuOX','notes','\x20VERIFIED','StZqQ','positional','evaluationReason','profile\x20add','ranger\x20config\x20list','array','hook:disable','LqzTW','profile\x20delete','Name\x20of\x20the\x20profile\x20to\x20update','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','iobrN','Ranger\x20API\x20token\x20(rngr_...)','owfOJ','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','allow-insecure-localhost','JSjJE','XixWK','mcp-bootstrap','deps','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','exclude-scenario','NODE_ENV','ovBxE','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','Number\x20of\x20feature\x20reviews\x20to\x20skip','use\x20<profile-name>','map','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','item','bqOWF','RfJEZ','session-id','vDBoW','current-branch','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','DAIcd','hfvwX','base-url','profile\x20ls','KoUzT','iZyoz','erTwN','env-name','NdJzv','jIzCQ','Scenario\x20number\x20to\x20edit\x20(1-based)','create\x20<name>','uKaid','failed','JpxHd','description','PLpkT','pXrsf','repeat','JfMGE','bPyTU','auth','Set\x20a\x20config\x20value','Manage\x20profiles','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','aynmR','ranger\x20config\x20unset','lrJbw','sbhHg','PnwWh','umBdC','XgnBP','\x20BLOCKED','pPkzS','ranger\x20feature\x20list','vbgsv','profile','scriptName','success','command','Install\x20Ranger\x20skills','69yFbNAw','ranger\x20restore','aaEyk','skip-auth','verified','add\x20env','token','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','\x20is\x20now\x20','santB','partial','lLiPs','cwd','FjRxZ','uCrft','checklist','hQuKY','EQToP','add\x20<profile-name>','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','encrypt\x20<profile>','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','RLgpx','WtQFo','VjEof','uhfPO','ranger\x20get-review','LgmxP','hwLff','BYJqD','Feature\x20review\x20ID\x20to\x20restore','GjZjw','url','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','You\x20must\x20specify\x20a\x20config\x20subcommand','Unknown\x20command','ranger\x20profile\x20update','--task','key','skip-chromium','cdp-endpoint','2tJjluu'];_0x3005=function(){return _0x18a12c;};return _0x3005();}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 _0x11b19c=>{const _0x38e69b=_0x2348e6,_0x356639=getCurrentCollector();_0x356639&&await _0x356639[_0x38e69b(0x1ea)](_0x11b19c),process['exitCode']=0x1;});const rawArgs=process['argv'][_0x2348e6(0x19a)](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201',PROFILE_CONFIG_HELP=_0x2348e6(0x130);function warnRenamed(_0x22e39,_0x3c0c79){const _0x476509=_0x2348e6;console['error']('\x0a'+_0x22e39+_0x476509(0xc0)+_0x3c0c79+'\x0a');}function argUsed(_0x25e5b4){const _0x1f2ba2=_0x2348e6;return rawArgs[_0x1f2ba2(0x1f1)](_0x3de5c1=>_0x3de5c1===_0x25e5b4||_0x3de5c1[_0x1f2ba2(0x1df)](_0x25e5b4+'='));}function warnFlagRenamed(_0x210fbc,_0x1cd2aa,_0xe5957){const _0x4c9fd4=_0x2348e6,_0x2bd21b={'eoMuo':function(_0x186af2,_0x1ebdc6){return _0x186af2(_0x1ebdc6);}};_0x2bd21b[_0x4c9fd4(0xee)](argUsed,_0x1cd2aa)&&warnRenamed(_0x210fbc+'\x20'+_0x1cd2aa,_0x210fbc+'\x20'+_0xe5957);}function normalizeEnvVarNames(_0x50e9a6){const _0x11f035=_0x2348e6,_0x1b7f40=Array['isArray'](_0x50e9a6)?_0x50e9a6:_0x50e9a6?[_0x50e9a6]:[];return _0x1b7f40[_0x11f035(0x12a)](_0x49291e=>String(_0x49291e)['split'](',')['map'](_0x53d50a=>_0x53d50a['trim']())['filter'](Boolean));}async function runGoCommand(_0x409849,_0x219835=![]){const _0x5e059a=_0x2348e6,_0x24463d={'VjEof':function(_0x30fe3f,_0x45b846){return _0x30fe3f+_0x45b846;},'OyZCF':function(_0x14c749,_0x1b6ede,_0x47e12c){return _0x14c749(_0x1b6ede,_0x47e12c);},'bqOWF':function(_0x196df6,_0x477661,_0x3f0e4d,_0x2c6ca0){return _0x196df6(_0x477661,_0x3f0e4d,_0x2c6ca0);},'pXrsf':function(_0x308cc4,_0x44a205,_0x5c4c1e,_0x28d5a7){return _0x308cc4(_0x44a205,_0x5c4c1e,_0x28d5a7);},'vLuOX':_0x5e059a(0x1bd),'wVzLH':function(_0xa2ef6,_0x4a9019){return _0xa2ef6(_0x4a9019);},'qihiW':'env-var','LXBCW':function(_0x37afda,_0x20b84c){return _0x37afda!==_0x20b84c;},'sCcNP':_0x5e059a(0x91),'CcZTk':_0x5e059a(0x111),'whmiW':_0x5e059a(0x21d),'eplpR':function(_0x20a483,_0x4f9716){return _0x20a483===_0x4f9716;},'fNfNV':_0x5e059a(0x120),'QTSHL':function(_0x7e46d4,_0x5445aa){return _0x7e46d4===_0x5445aa;},'aLZiM':'\x20PARTIAL','ODYfX':'blocked','DIODu':_0x5e059a(0xaf),'TARJW':'\x20FAILED','qPQJj':'verified'};_0x219835&&_0x24463d['OyZCF'](warnRenamed,_0x5e059a(0xf5),_0x5e059a(0x1bd));_0x24463d[_0x5e059a(0x89)](warnFlagRenamed,_0x5e059a(0x1bd),_0x5e059a(0x12e),'--profile'),_0x24463d[_0x5e059a(0xa0)](warnFlagRenamed,_0x24463d['vLuOX'],_0x5e059a(0xde),_0x5e059a(0x1e2)),_0x24463d['bqOWF'](warnFlagRenamed,_0x24463d[_0x5e059a(0x21b)],'--item','--scenario');const _0x452132=await loadRangerConfig(),_0x5ab988=isByokEnabled(),_0x50b446=_0x409849['model'],_0x244360=_0x452132['model'],_0x1f49aa=_0x24463d['wVzLH'](normalizeEnvVarNames,_0x409849[_0x24463d['qihiW']]),_0x113132=getVerificationTransport();if(_0x1f49aa['length']>0x0&&_0x113132!=='playwright-cli'&&_0x24463d['LXBCW'](_0x113132,'rangerwright-cli'))throw new Error(_0x5e059a(0x129)+_0x113132+'.');const _0x22a469=await verifyFeature({'featureId':_0x409849[_0x5e059a(0x1e1)],'profile':_0x409849[_0x5e059a(0xb3)]??_0x409849['env']??process['env']['RANGER_PROFILE'],'notes':_0x409849[_0x5e059a(0x21c)]??_0x409849['task'],'scenario':_0x409849[_0x5e059a(0x167)]??_0x409849[_0x5e059a(0x88)],'startPath':_0x409849[_0x5e059a(0x13b)],'baseUrl':_0x409849[_0x24463d[_0x5e059a(0x153)]],'debugOutcome':_0x409849[_0x24463d['CcZTk']],'debugAddressComments':_0x409849['debug-address-comments'],'headed':_0x409849[_0x5e059a(0x164)],'verifierEnvVars':_0x1f49aa,'byokEnabled':_0x5ab988,'flagVerifyModel':_0x50b446,'configVerifyModel':_0x244360});console[_0x5e059a(0xec)](_0x24463d['VjEof']('\x0a','='[_0x5e059a(0xa1)](0x3c))),console['log'](_0x22a469[_0x5e059a(0x16b)]===_0x5e059a(0xbc)?_0x24463d['whmiW']:_0x24463d['eplpR'](_0x22a469[_0x5e059a(0x16b)],'incomplete')?_0x24463d['fNfNV']:_0x24463d['QTSHL'](_0x22a469['evaluation'],'partial')?_0x24463d['aLZiM']:_0x24463d['QTSHL'](_0x22a469[_0x5e059a(0x16b)],_0x24463d[_0x5e059a(0xf8)])?_0x24463d['DIODu']:_0x24463d['TARJW']),console['log']('='[_0x5e059a(0xa1)](0x3c)),console[_0x5e059a(0xec)]('Summary:\x20'+_0x22a469[_0x5e059a(0x1d7)]),console['log']('Evaluation:\x20'+_0x22a469[_0x5e059a(0x16b)]),console[_0x5e059a(0xec)](_0x5e059a(0x110)+_0x22a469[_0x5e059a(0x6c)]),_0x22a469[_0x5e059a(0x1ee)]?.['length']&&(console[_0x5e059a(0xec)](_0x5e059a(0xf2)),_0x22a469[_0x5e059a(0x1ee)][_0x5e059a(0xfe)]((_0x571564,_0x277272)=>{const _0x53cf52=_0x5e059a;console[_0x53cf52(0xec)]('\x0a'+_0x24463d[_0x53cf52(0xd1)](_0x277272,0x1)+'.\x20['+_0x571564[_0x53cf52(0x17b)]+']\x20'+_0x571564[_0x53cf52(0x9e)]);})),process['exit'](_0x22a469['evaluation']===_0x24463d['qPQJj']?0x0:0x1);}export function buildParser(_0x391eac){const _0xe839c2=_0x2348e6,_0x1df790={'DAIcd':_0xe839c2(0x15c),'VDKUx':_0xe839c2(0x14b),'DhiMO':_0xe839c2(0x167),'eSGNT':function(_0x19a2f9,_0x2f37b6,_0x1a0d36,_0x35e596){return _0x19a2f9(_0x2f37b6,_0x1a0d36,_0x35e596);},'XaMfG':function(_0x399724,_0x469563,_0x51d076){return _0x399724(_0x469563,_0x51d076);},'saohy':'create','aTVye':'current-branch','UFilm':'limit','WEKhv':_0xe839c2(0x84),'IsCba':_0xe839c2(0x20b),'ztNAM':function(_0x4f0e8d,_0xb7bd78,_0x2d49c0){return _0x4f0e8d(_0xb7bd78,_0x2d49c0);},'oFdkM':_0xe839c2(0x146),'lAMOj':'string','pYAHW':_0xe839c2(0x1bf),'NpTuk':_0xe839c2(0x9e),'FjRxZ':'Scenario\x20description','BDZRb':_0xe839c2(0x1fe),'WClTy':_0xe839c2(0x192),'IuitP':'edit-scenario','tLChu':_0xe839c2(0x80),'YWAav':_0xe839c2(0x6f),'YmxVM':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','iIyKY':'json','wqBfB':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','bdUcU':'report','Gnosm':function(_0xfd4a9f,_0x732ede,_0xae6b60){return _0xfd4a9f(_0x732ede,_0xae6b60);},'ZObHb':_0xe839c2(0x162),'gTZaJ':'Authenticate\x20via\x20MCP\x20proxy','ChrgS':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','tYlRG':'user','PLpkT':_0xe839c2(0x145),'obDCB':'skip-auth','HToGn':'Skip\x20browser\x20authentication','ccGYj':_0xe839c2(0x206),'JUWFb':_0xe839c2(0x172),'NdJzv':_0xe839c2(0x79),'iAqHH':function(_0x2a8238,_0x3e5d2a){return _0x2a8238!==_0x3e5d2a;},'bPyTU':function(_0x523565,_0x205eba){return _0x523565+_0x205eba;},'sWNgp':_0xe839c2(0xbe),'lnYWr':'Ranger\x20API\x20token','uhfPO':_0xe839c2(0x1b9),'VtdOL':'setup:deps','LqzTW':function(_0x4f4f23){return _0x4f4f23();},'JvXxu':function(_0x5302ce,_0x2b325c,_0x15298e){return _0x5302ce(_0x2b325c,_0x15298e);},'pbchs':'opencode','FZvHG':_0xe839c2(0x15b),'qdwXz':_0xe839c2(0xe3),'RwchW':_0xe839c2(0x10d),'ZRvwh':_0xe839c2(0x7d),'gdqEJ':'Install\x20Chromium\x20browser\x20binary','wLVkB':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','dOtqt':_0xe839c2(0x1d0),'dcJsY':_0xe839c2(0xd9),'uCrft':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','XgnBP':_0xe839c2(0x7f),'wBVdi':'mcp-bootstrap','vyyio':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','HVQMN':'start','bzULt':'profile','uHfXR':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','geGLL':'base-url','JpxHd':'skip-chromium','TlPKX':_0xe839c2(0x1a3),'cwCXR':_0xe839c2(0x184),'DOMxO':function(_0x2089cd,_0x2673c7,_0xfce8e2){return _0x2089cd(_0x2673c7,_0xfce8e2);},'PnwWh':'login','Hcaht':'Install\x20scope\x20for\x20skills','GTFJh':function(_0x486866,_0x40d06f){return _0x486866(_0x40d06f);},'hptRb':'skillup','Vryze':_0xe839c2(0x14c),'lrJbw':_0xe839c2(0x12b),'BDrGl':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','ICRzN':_0xe839c2(0x74),'Ytgaz':'Name\x20of\x20the\x20profile','EQToP':'yes','owfOJ':'Skip\x20the\x20deletion\x20confirmation\x20prompt.','HELyw':_0xe839c2(0x72),'umBdC':function(_0xdbcf56,_0x6773c5,_0x241575){return _0xdbcf56(_0x6773c5,_0x241575);},'BYJqD':'profile\x20update','LipdG':'Profile\x20name','dUzLY':_0xe839c2(0x83),'FXzzs':_0xe839c2(0x1f7),'IXVYs':function(_0x17b18e,_0x40360a,_0x2cdcc4){return _0x17b18e(_0x40360a,_0x2cdcc4);},'HUhSO':_0xe839c2(0x1d9),'XixWK':_0xe839c2(0x165),'nkdPa':_0xe839c2(0xa5),'yqMlv':_0xe839c2(0x215),'sbhHg':'Remove\x20a\x20config\x20value','Uriqi':_0xe839c2(0x1eb),'vIlKh':_0xe839c2(0x100),'gUpoJ':function(_0x14a253,_0x56f442,_0x282850){return _0x14a253(_0x56f442,_0x282850);},'vssDY':'unknown\x20error','yNbqQ':_0xe839c2(0x1c1),'iWyWz':'dry-run','esBBf':_0xe839c2(0x85),'IILZi':_0xe839c2(0x143),'aBald':'Update\x20authentication\x20for\x20an\x20existing\x20profile','UruTY':'login\x20<name>','gWjGg':_0xe839c2(0x163),'wjlTo':_0xe839c2(0xfb),'XVdpr':_0xe839c2(0x1f4),'PNFXI':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','ujOaE':_0xe839c2(0x1f0),'ZhgUg':_0xe839c2(0x1e1),'agIkx':'notes','zhhye':'number','mplXw':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','ROQUq':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','AmdlL':_0xe839c2(0x121),'AFesC':_0xe839c2(0x164),'CEwXZ':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','WtQFo':'env-var','jtGeU':_0xe839c2(0x1aa),'LPvsB':_0xe839c2(0x111),'KATMR':_0xe839c2(0xbc),'ziCaM':_0xe839c2(0x9c),'RLgpx':_0xe839c2(0x1c7),'aynmR':_0xe839c2(0x157),'QYEWN':'task','vDBoW':_0xe839c2(0xcc),'iYhvf':_0xe839c2(0x1b1),'DNfyR':'Skip\x20authentication','cByzs':_0xe839c2(0x1d6),'RLRSc':_0xe839c2(0x13b),'caRvs':_0xe839c2(0x148),'CoUyg':'model','PbOTm':_0xe839c2(0xc2),'pPkzS':'env-name','AHAaD':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','IgdtF':_0xe839c2(0x1ec),'XLhlV':'ranger\x20profile\x20add','DFguz':_0xe839c2(0xbd),'uKaid':function(_0x511540,_0x1dccef,_0x10795c){return _0x511540(_0x1dccef,_0x10795c);},'bZZyn':_0xe839c2(0xdf),'anrlC':function(_0x172519,_0x4c6222,_0x410f36){return _0x172519(_0x4c6222,_0x410f36);},'comzC':_0xe839c2(0x1af),'BmLVw':'Config\x20key','IUBSJ':'ranger\x20profile\x20config\x20get','pPnoP':_0xe839c2(0x197),'kaxmH':function(_0x30c58e,_0x33236f,_0x2907ec){return _0x30c58e(_0x33236f,_0x2907ec);},'XeZmR':_0xe839c2(0x6e),'NhySx':'Environment\x20name','rvPGC':_0xe839c2(0xa9),'ijGKS':'ranger\x20env\x20update','vbgsv':'You\x20must\x20specify\x20an\x20env\x20subcommand','TzQJr':_0xe839c2(0x205),'gMaIM':_0xe839c2(0x1b3),'YKITB':_0xe839c2(0x18a),'YqqdV':'ranger\x20create','iZyoz':_0xe839c2(0x198),'aaEyk':_0xe839c2(0x15e),'xQMiv':'include-deleted','NMZwU':_0xe839c2(0x20a),'sYkFG':function(_0x2c8936,_0x1655c4,_0x25804f){return _0x2c8936(_0x1655c4,_0x25804f);},'YfbqN':_0xe839c2(0x125),'ELYLL':_0xe839c2(0xd3),'SAUGe':'feature\x20get-feedback','IXKcL':_0xe839c2(0x160),'WPNPv':_0xe839c2(0xd7),'eDbnC':function(_0x1c27b2,_0x527a1a,_0x156e55){return _0x1c27b2(_0x527a1a,_0x156e55);},'EHPJk':_0xe839c2(0x180),'ptJJJ':'get-feedback\x20[id]','kNyYv':_0xe839c2(0x10b),'vFRxP':_0xe839c2(0x209),'lDMSU':_0xe839c2(0x1e4),'HQLgg':_0xe839c2(0x70),'iwXCW':'disable','cBFZC':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','EcMLJ':_0xe839c2(0x8b),'AWelp':_0xe839c2(0xdc),'rnfXI':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','eelze':function(_0x41344b,_0xa85c5f){return _0x41344b||_0xa85c5f;},'gOlPm':'Unknown\x20error','NOJlq':function(_0x576829,_0x295d08){return _0x576829(_0x295d08);},'zawed':'ranger','VCNhT':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','OjsOb':'List\x20all\x20feature\x20reviews','AHTrE':_0xe839c2(0x119),'SInjD':_0xe839c2(0x10a),'DTwbQ':'report\x20[id]','sYDgT':'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','rxZjH':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','xLAeT':_0xe839c2(0x1c2),'RfJEZ':_0xe839c2(0xb7),'RzXCM':'clean','xARpR':_0xe839c2(0x87),'djSNj':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','WwnVr':'Print\x20the\x20current\x20CLI\x20access\x20token','IGAtF':'add\x20env\x20<env-name>','iQSmr':'use\x20<env-name>','bWoyO':_0xe839c2(0x174),'TaCvq':_0xe839c2(0x107)};return _0x1df790['NOJlq'](_0x249675,_0x391eac??process['argv']['slice'](0x2))[_0xe839c2(0xb4)](_0x1df790[_0xe839c2(0x16e)])['usage'](TOP_LEVEL_HELP)[_0xe839c2(0x1c8)](_0x1df790[_0xe839c2(0x71)](getCurrentVersion))[_0xe839c2(0xb6)](_0xe839c2(0x9a),_0x1df790['VCNhT'],_0xc2b245=>{const _0x14b0cb=_0xe839c2;return _0xc2b245[_0x14b0cb(0x6b)](_0x1df790[_0x14b0cb(0x8f)],{'type':'string','description':_0x1df790[_0x14b0cb(0x159)],'demandOption':!![]})['option'](_0x14b0cb(0x9e),{'type':_0x14b0cb(0x1f5),'alias':'d','description':_0x14b0cb(0x205)})[_0x14b0cb(0x133)](_0x1df790['DhiMO'],{'type':'array','alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x14b0cb(0x133)](_0x14b0cb(0xc7),{'type':'array','hidden':!![]});},async _0xf09b33=>{const _0x3d6e6a=_0xe839c2;if(!_0xf09b33['name']){console['error'](_0x3d6e6a(0x118)+_0x3d6e6a(0x1ad)),process[_0x3d6e6a(0x1ef)](0x1);return;}_0x1df790[_0x3d6e6a(0x137)](warnFlagRenamed,_0x3d6e6a(0x1ca),'--checklist',_0x3d6e6a(0x1a4));const _0x39d743=_0xf09b33['scenario']||_0xf09b33['checklist'];await _0x1df790['XaMfG'](withTelemetry,_0x1df790[_0x3d6e6a(0x1ce)],()=>featureCreate(_0xf09b33[_0x3d6e6a(0x15c)],{'description':_0xf09b33['description'],'scenarios':_0x39d743}));})['command']('list',_0x1df790[_0xe839c2(0x20c)],_0xf1cb71=>{const _0x5617ba=_0xe839c2;return _0xf1cb71[_0x5617ba(0x133)](_0x1df790['aTVye'],{'type':'boolean','description':_0x5617ba(0x15e)})[_0x5617ba(0x133)](_0x1df790[_0x5617ba(0x17c)],{'type':'number','alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option'](_0x5617ba(0x1e6),{'type':'number','alias':'o','description':_0x1df790['WEKhv'],'default':0x0})[_0x5617ba(0x133)](_0x5617ba(0x1ed),{'type':_0x5617ba(0x172),'alias':'d','description':_0x1df790[_0x5617ba(0x1e3)],'default':![]});},async _0xa35f48=>{const _0x46ba6b=_0xe839c2;await _0x1df790[_0x46ba6b(0x139)](withTelemetry,_0x1df790[_0x46ba6b(0x1b7)],()=>featureList({'currentBranch':_0xa35f48[_0x46ba6b(0x8d)],'limit':_0xa35f48['limit'],'offset':_0xa35f48[_0x46ba6b(0x1e6)],'includeDeleted':_0xa35f48['include-deleted']}));})[_0xe839c2(0xb6)](_0x1df790['AHTrE'],_0x1df790['SInjD'],_0x4eebfe=>{const _0x52b612=_0xe839c2;return _0x4eebfe['positional']('id',{'type':_0x1df790['lAMOj'],'description':_0x1df790[_0x52b612(0x204)]});},async _0x54b79f=>{const _0x200956=_0xe839c2;await _0x1df790['ztNAM'](withTelemetry,_0x200956(0xfd),()=>featureShow(_0x54b79f['id']));})['command'](_0x1df790['EHPJk'],'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x266493=>{const _0x527548=_0xe839c2;return _0x266493[_0x527548(0x6b)]('id',{'type':'string','description':_0x527548(0x8e)});},async _0x41405e=>{await withTelemetry('resume',()=>featureResume(_0x41405e['id']));})[_0xe839c2(0xb6)](_0xe839c2(0x189),'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0xdacba5=>{const _0x2bc6b3=_0xe839c2;return _0xdacba5['positional'](_0x1df790[_0x2bc6b3(0x17f)],{'type':_0x1df790['lAMOj'],'description':_0x1df790[_0x2bc6b3(0xc5)],'demandOption':!![]})['option']('id',{'type':_0x1df790[_0x2bc6b3(0x1a9)],'description':_0x1df790['BDZRb']});},async _0x260814=>{const _0x17954f=_0xe839c2;await _0x1df790[_0x17954f(0x139)](withTelemetry,'add-scenario',()=>featureAddScenario(_0x260814[_0x17954f(0x9e)],_0x260814['id']));})[_0xe839c2(0xb6)]('edit-scenario\x20<description>',_0xe839c2(0x12f),_0x4765e8=>{const _0x3ae622=_0xe839c2;return _0x4765e8[_0x3ae622(0x6b)](_0x1df790[_0x3ae622(0x17f)],{'type':_0x1df790[_0x3ae622(0x1a9)],'description':_0x1df790['WClTy'],'demandOption':!![]})[_0x3ae622(0x133)]('scenario',{'type':_0x3ae622(0x1ab),'description':_0x3ae622(0x99),'demandOption':!![]})[_0x3ae622(0x133)]('id',{'type':_0x3ae622(0x1f5),'description':_0x3ae622(0x1fe)});},async _0x5534fd=>{const _0x2b3bdf=_0xe839c2;await _0x1df790[_0x2b3bdf(0x193)](withTelemetry,_0x1df790['IuitP'],()=>featureEditScenario(_0x5534fd[_0x2b3bdf(0x9e)],{'id':_0x5534fd['id'],'scenario':_0x5534fd[_0x2b3bdf(0x167)]}));})['command'](_0x1df790['DTwbQ'],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x1c556e=>{const _0x1304a2=_0xe839c2;return _0x1c556e[_0x1304a2(0x6b)]('id',{'type':_0x1304a2(0x1f5),'description':_0x1304a2(0x1bf)})['option'](_0x1df790['tLChu'],{'type':_0x1df790['YWAav'],'description':_0x1df790[_0x1304a2(0x216)]})[_0x1304a2(0x133)](_0x1df790['iIyKY'],{'type':'boolean','description':_0x1df790['wqBfB'],'default':![]});},async _0x1fd2c3=>{const _0x5f26a9=_0xe839c2,_0x23e065=_0x1fd2c3[_0x1df790['tLChu']],_0x13a3d2=_0x23e065?_0x23e065[_0x5f26a9(0x86)](_0xee6ec=>Number(_0xee6ec)):undefined;await withTelemetry(_0x1df790['bdUcU'],()=>featureReportPrDescription(_0x1fd2c3['id'],{'excludeScenarios':_0x13a3d2,'json':_0x1fd2c3['json']}));})['command']('get-review\x20[id]',_0x1df790[_0xe839c2(0x155)],_0x5816e5=>{const _0x2efa4d=_0xe839c2;return _0x5816e5['positional']('id',{'type':_0x2efa4d(0x1f5),'description':_0x1df790[_0x2efa4d(0x114)]});},async _0x339528=>{const _0x29e215=_0xe839c2;await withTelemetry(_0x29e215(0x136),()=>featureGetReview(_0x339528['id']));})['command']('delete\x20[id]',_0x1df790['rxZjH'],_0x2d6008=>{const _0x5f6ec=_0xe839c2;return _0x2d6008[_0x5f6ec(0x6b)]('id',{'type':_0x5f6ec(0x1f5),'description':_0x5f6ec(0x1bf)});},async _0x113270=>{const _0xfe912c=_0xe839c2;await _0x1df790[_0xfe912c(0x1cd)](withTelemetry,_0xfe912c(0x188),()=>featureDelete(_0x113270['id']));})[_0xe839c2(0xb6)](_0x1df790[_0xe839c2(0x11b)],_0xe839c2(0x115),_0x348cbd=>{const _0x3f0e6f=_0xe839c2;return _0x348cbd['positional']('id',{'type':_0x3f0e6f(0x1f5),'description':_0x3f0e6f(0xd7),'demandOption':!![]});},async _0x3d6765=>{const _0x4b006a=_0xe839c2;await withTelemetry(_0x1df790[_0x4b006a(0x11e)],()=>featureRestore(_0x3d6765['id']));})['command']('setup\x20[tokenOrSubcommand]',_0xe839c2(0x1d8),_0x280ee1=>{const _0x97bb4e=_0xe839c2,_0x199140={'zgYmh':_0x1df790['sWNgp'],'cefWY':_0x1df790['lnYWr'],'VUZUX':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','AKinA':'scope','lLiPs':'user','ovBxE':_0x97bb4e(0xd9),'egWmo':_0x1df790[_0x97bb4e(0x1d2)],'hfvwX':_0x97bb4e(0x7f),'KoUzT':'mcp-bootstrap','IUvBK':_0x1df790[_0x97bb4e(0xd2)],'cfsKR':function(_0x2f6963,_0x119cd4,_0xefc4e){return _0x2f6963(_0x119cd4,_0xefc4e);},'santB':_0x97bb4e(0x1b2),'jIzCQ':_0x1df790['VtdOL'],'hQuKY':function(_0x240e8f){return _0x1df790['LqzTW'](_0x240e8f);},'JLHYt':function(_0x2da05d,_0x233d0d){return _0x2da05d(_0x233d0d);},'MzWjT':function(_0x524897,_0x4c53aa,_0x4a8c68){const _0xeecfa7=_0x97bb4e;return _0x1df790[_0xeecfa7(0x141)](_0x524897,_0x4c53aa,_0x4a8c68);},'OSoun':_0x1df790['pbchs'],'gzQbn':function(_0x357df1,_0x4d6bdd){return _0x357df1(_0x4d6bdd);},'wiWIx':function(_0x658003,_0xadf34f,_0x176355){return _0x658003(_0xadf34f,_0x176355);}};return _0x280ee1[_0x97bb4e(0xed)](_0x97bb4e(0xcb))['positional'](_0x1df790['FZvHG'],{'type':_0x97bb4e(0x1f5),'description':_0x1df790[_0x97bb4e(0x15a)]})[_0x97bb4e(0xb6)](_0x97bb4e(0x1c1),_0x1df790[_0x97bb4e(0xfa)],_0x2600a6=>{const _0xd2e4c5=_0x97bb4e;return _0x2600a6[_0xd2e4c5(0x133)](_0x199140['zgYmh'],{'type':'string','description':_0x199140['cefWY']})['option'](_0xd2e4c5(0xe0),{'type':'boolean','description':_0xd2e4c5(0xff),'default':![]})['option'](_0xd2e4c5(0xbb),{'type':_0xd2e4c5(0x172),'description':_0xd2e4c5(0xf7),'default':![]})[_0xd2e4c5(0x133)](_0xd2e4c5(0x1d6),{'type':_0xd2e4c5(0x172),'description':_0x199140[_0xd2e4c5(0x134)],'default':![]})['option'](_0x199140[_0xd2e4c5(0x218)],{'type':_0xd2e4c5(0x1f5),'choices':[_0x199140[_0xd2e4c5(0xc3)]],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x199140[_0xd2e4c5(0x82)],{'type':'string','description':_0xd2e4c5(0xbf)})[_0xd2e4c5(0x133)]('force',{'type':_0x199140['egWmo'],'description':_0x199140[_0xd2e4c5(0x90)],'default':![]})[_0xd2e4c5(0x133)]('opencode',{'type':_0xd2e4c5(0x172),'description':_0xd2e4c5(0x7e),'default':![]})['option']('allow-insecure-localhost',{'type':_0x199140[_0xd2e4c5(0x14f)],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]})[_0xd2e4c5(0x133)](_0x199140[_0xd2e4c5(0x93)],{'type':_0xd2e4c5(0x172),'description':_0x199140[_0xd2e4c5(0x127)],'default':![]})['option']('mcp',{'type':_0xd2e4c5(0x172),'description':'Alias\x20for\x20--mcp-bootstrap','default':![]});},async _0x45197a=>{const _0x47e983=_0x97bb4e;(_0x45197a['mcp-bootstrap']||_0x45197a[_0x47e983(0x108)])&&await _0x199140[_0x47e983(0x183)](withTelemetry,_0x47e983(0x7c),()=>mcpBootstrap()),await _0x199140['cfsKR'](withTelemetry,_0x199140[_0x47e983(0xc1)],_0x438a9b=>start(_0x45197a[_0x47e983(0xbe)],{'skipChromium':_0x45197a[_0x47e983(0xe0)],'skipAuth':_0x45197a['skip-auth'],'withDeps':_0x45197a['with-deps'],'scope':_0x45197a['scope'],'url':_0x45197a['url'],'force':_0x45197a[_0x47e983(0x206)],'opencode':_0x45197a[_0x47e983(0x194)],'allowInsecureLocalhost':_0x45197a[_0x47e983(0x79)]},_0x438a9b));})['command'](_0x1df790['ZRvwh'],_0x1df790[_0x97bb4e(0x18d)],_0x3565e8=>{const _0x29ab21=_0x97bb4e;return _0x3565e8['option'](_0x29ab21(0x1d6),{'type':'boolean','description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]});},async _0x432046=>{const _0x1e2a40=_0x97bb4e;await withTelemetry(_0x199140[_0x1e2a40(0x98)],()=>ensureChromium(_0x432046['with-deps']));})[_0x97bb4e(0xb6)]('login',_0x97bb4e(0x170),_0x3c7906=>{const _0xa7a552=_0x97bb4e;return _0x3c7906[_0xa7a552(0x133)]('token',{'type':_0x1df790[_0xa7a552(0x1a9)],'description':_0xa7a552(0x76)})[_0xa7a552(0x133)](_0xa7a552(0x108),{'type':'boolean','description':_0x1df790[_0xa7a552(0x117)],'default':![]});},async _0x53e24b=>{const _0x46ec47=_0x97bb4e;await withTelemetry(_0x46ec47(0x1ae),async()=>{const _0x21851f=_0x46ec47;if(_0x53e24b['mcp']){await _0x199140['hQuKY'](mcpBootstrap);const _0x1504af=await refreshCliToken();if(!_0x1504af)throw new Error(_0x21851f(0xe8));const _0x4a59cd=await getCurrentUser(_0x1504af);if(!_0x4a59cd[_0x21851f(0xb5)])throw new Error(_0x21851f(0x181)+_0x4a59cd['error']);console['log']('✓\x20Authenticated\x20to\x20'+_0x4a59cd['user']['organizationName']);return;}await _0x199140['JLHYt'](authenticate,_0x53e24b[_0x21851f(0xbe)]);});})[_0x97bb4e(0xb6)]('skills',_0x1df790['wLVkB'],_0x1cc13d=>{const _0x2689d1=_0x97bb4e;return _0x1cc13d['option'](_0x2689d1(0x1d0),{'type':_0x1df790[_0x2689d1(0x1a9)],'choices':[_0x2689d1(0x1e5),_0x2689d1(0x144)],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})[_0x2689d1(0x133)](_0x2689d1(0x194),{'type':'boolean','description':_0x1df790['ChrgS'],'default':![]});},async _0x6f274b=>{await _0x199140['wiWIx'](withTelemetry,'setup:skills',async()=>{const _0xf6e0a5=_0x18ce,_0x3feb7c=_0x6f274b[_0xf6e0a5(0x1d0)];if(_0x6f274b[_0xf6e0a5(0x194)]){const _0x143067=await ensureOpencodePluginConfig(_0x3feb7c);_0x143067&&await _0x199140[_0xf6e0a5(0xf6)](installSkill,_0xf6e0a5(0xf4),{'level':_0x143067[_0xf6e0a5(0x1d0)],'cliVersion':_0x199140[_0xf6e0a5(0xc8)](getCurrentVersion),'platform':_0x199140[_0xf6e0a5(0x202)]});}else await ensureClaudePlugin(_0x3feb7c),await _0x199140[_0xf6e0a5(0x1fc)](ensureClaudeSkills,_0x3feb7c);});})[_0x97bb4e(0xb6)]('profiles',_0x97bb4e(0x161),_0xb86f99=>{const _0x2cbe54=_0x97bb4e;return _0xb86f99['option']('scope',{'type':'string','choices':[_0x1df790['tYlRG']],'description':_0x1df790[_0x2cbe54(0x9f)]})[_0x2cbe54(0x133)]('url',{'type':_0x1df790['lAMOj'],'description':'Base\x20URL\x20of\x20the\x20running\x20app'})[_0x2cbe54(0x133)](_0x1df790['obDCB'],{'type':'boolean','description':_0x1df790[_0x2cbe54(0xe9)],'default':![]})[_0x2cbe54(0x133)](_0x1df790['ccGYj'],{'type':_0x1df790['JUWFb'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x2cbe54(0x133)](_0x1df790['NdJzv'],{'type':_0x1df790['JUWFb'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x475ee1=>{const _0x211e68=_0x97bb4e,_0x219bb6=_0x475ee1[_0x211e68(0x1d0)];_0x1df790['iAqHH'](_0x219bb6,undefined)&&_0x219bb6!==_0x1df790['tYlRG']&&(console[_0x211e68(0x14e)](_0x1df790['bPyTU'](_0x1df790['bPyTU']('ranger\x20setup\x20profiles\x20--scope='+_0x219bb6+'\x20is\x20no\x20longer\x20supported.\x20',_0x211e68(0x1e9)),'Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.')),process['exit'](0x1)),await withTelemetry(_0x211e68(0x1bc),_0x1fdf0d=>ensureLocalEnv({'url':_0x475ee1['url'],'force':_0x475ee1[_0x211e68(0x206)],'allowInsecureLocalhost':_0x475ee1[_0x211e68(0x79)],'scope':_0x211e68(0x1e5)},_0x1fdf0d));})['option']('skip-chromium',{'type':_0x1df790['JUWFb'],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x97bb4e(0x133)](_0x1df790[_0x97bb4e(0x210)],{'type':_0x1df790[_0x97bb4e(0x1a9)],'choices':['user'],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x97bb4e(0x133)](_0x1df790[_0x97bb4e(0x1b5)],{'type':_0x1df790[_0x97bb4e(0x1a9)],'description':_0x1df790[_0x97bb4e(0xc6)]})[_0x97bb4e(0x133)](_0x97bb4e(0x206),{'type':_0x97bb4e(0x172),'description':_0x1df790[_0x97bb4e(0xae)],'default':![]})[_0x97bb4e(0x133)](_0x1df790[_0x97bb4e(0x142)],{'type':'boolean','description':_0x1df790['ChrgS'],'default':![]})['option']('allow-insecure-localhost',{'type':'boolean','description':_0x97bb4e(0x12b),'default':![]})[_0x97bb4e(0x133)](_0x1df790['wBVdi'],{'type':_0x1df790['JUWFb'],'description':_0x1df790[_0x97bb4e(0x1a5)],'default':![]})[_0x97bb4e(0x133)](_0x1df790[_0x97bb4e(0x1d5)],{'type':_0x97bb4e(0x172),'description':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','default':![]})[_0x97bb4e(0x133)](_0x97bb4e(0x1d6),{'type':_0x1df790['JUWFb'],'description':_0x97bb4e(0xe5),'default':![]})[_0x97bb4e(0x133)](_0x97bb4e(0xbe),{'type':'string','hidden':!![],'description':'API\x20token'});},async _0x4f2cb5=>{const _0x4bad99=_0xe839c2,_0x1cd21a=_0x4f2cb5[_0x4bad99(0x15b)],_0x44f03a=_0x4f2cb5[_0x4bad99(0xbe)]??_0x1cd21a;_0x4f2cb5[_0x4bad99(0x7c)]&&await withTelemetry(_0x1df790[_0x4bad99(0x1f6)],()=>mcpBootstrap()),await withTelemetry(_0x1df790[_0x4bad99(0x113)],_0x2355cb=>start(_0x44f03a,{'skipChromium':_0x4f2cb5['skip-chromium'],'skipAuth':_0x4f2cb5['skip-auth'],'withDeps':_0x4f2cb5['with-deps'],'scope':_0x4f2cb5['scope'],'url':_0x4f2cb5[_0x4bad99(0xd9)],'force':_0x4f2cb5['force'],'opencode':_0x4f2cb5[_0x4bad99(0x194)],'allowInsecureLocalhost':_0x4f2cb5['allow-insecure-localhost']},_0x2355cb));})['command'](_0xe839c2(0x124),![],_0x2fd322=>{const _0x602395=_0xe839c2;return _0x2fd322['positional']('token',{'type':_0x1df790['lAMOj'],'description':_0x1df790['lnYWr'],'demandOption':!![]})['option'](_0x1df790['bzULt'],{'type':_0x602395(0x1f5),'description':_0x1df790['uHfXR']})['option'](_0x1df790['geGLL'],{'type':_0x1df790['lAMOj'],'description':_0x602395(0x19b)})['option'](_0x1df790['JpxHd'],{'type':'boolean','description':_0x1df790[_0x602395(0x21a)],'default':![]});},async _0xd4105d=>{const _0x2babb6=_0xe839c2;await _0x1df790[_0x2babb6(0x193)](withTelemetry,_0x1df790['cwCXR'],_0x52e7ec=>setupCi(_0xd4105d[_0x2babb6(0xbe)],{'profile':_0xd4105d['profile'],'baseUrl':_0xd4105d[_0x2babb6(0x91)],'skipChromium':_0xd4105d['skip-chromium']},_0x52e7ec));})[_0xe839c2(0xb6)]('login',_0xe839c2(0x1b6),()=>{},async()=>{const _0x227dc3=_0xe839c2;await _0x1df790[_0x227dc3(0x20e)](withTelemetry,_0x1df790[_0x227dc3(0xac)],()=>login());})[_0xe839c2(0xb6)](_0x1df790['hptRb'],_0x1df790[_0xe839c2(0x8a)],_0x3bfdd2=>{const _0x54b955=_0xe839c2;return _0x3bfdd2['option'](_0x54b955(0x194),{'type':_0x1df790[_0x54b955(0x1d2)],'description':'Install\x20skills\x20for\x20OpenCode','default':![]})[_0x54b955(0x133)]('scope',{'type':_0x1df790[_0x54b955(0x1a9)],'choices':[_0x1df790['tYlRG'],'project'],'description':_0x1df790['Hcaht']});},async _0x498227=>{const _0x3732b4=_0xe839c2,_0x247301=_0x1df790['GTFJh'](Boolean,_0x498227['opencode']);await _0x1df790['JvXxu'](withTelemetry,_0x1df790[_0x3732b4(0x112)],()=>skillup({'autoInstall':_0x498227['scope'],'platform':_0x247301?_0x3732b4(0x194):'claude'}));})['command'](_0x1df790[_0xe839c2(0x140)],_0x1df790['xARpR'],()=>{},async()=>{await withTelemetry('clean',()=>clean());})['command']([_0x1df790['bzULt'],'profiles'],_0xe839c2(0xa6),_0x12b709=>{const _0x42e9a4=_0xe839c2,_0x4df0cb={'VjxWD':function(_0x45b73e,_0x3e0f74){return _0x45b73e(_0x3e0f74);},'onQGI':'cdp-endpoint','zLxLO':function(_0x4ccbf8,_0x3df3a5,_0xfc56c3){return _0x1df790['gUpoJ'](_0x4ccbf8,_0x3df3a5,_0xfc56c3);},'bYmPI':_0x42e9a4(0xb3),'erTwN':_0x1df790['LipdG'],'vyWZf':_0x42e9a4(0x92),'tjFLb':_0x42e9a4(0x1f5),'jbCzW':_0x42e9a4(0x73),'jEDzG':_0x42e9a4(0x79),'wxBBh':_0x42e9a4(0x172),'RvncQ':_0x1df790['vssDY'],'eGVLB':_0x1df790['yNbqQ'],'IGIxA':_0x1df790[_0x42e9a4(0x1c5)],'qSdcz':_0x1df790['EQToP'],'KQCIb':'key'};return _0x12b709['usage'](PROFILE_HELP)['command'](_0x42e9a4(0xca),'Add\x20profile\x20configuration',_0x517e78=>{const _0x1a789c=_0x42e9a4;return _0x517e78[_0x1a789c(0x6b)](_0x1df790[_0x1a789c(0x11f)],{'type':'string','description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x1a789c(0x133)]('ci',{'type':_0x1a789c(0x172),'hidden':!![],'default':![]})[_0x1a789c(0x133)](_0x1a789c(0xbb),{'type':'boolean','description':_0x1a789c(0xcd),'default':![]})[_0x1a789c(0x133)](_0x1a789c(0xd9),{'type':_0x1df790[_0x1a789c(0x1a9)],'description':_0x1a789c(0x78)})[_0x1a789c(0x133)](_0x1df790[_0x1a789c(0x135)],{'type':_0x1df790['JUWFb'],'description':_0x1df790[_0x1a789c(0xae)],'default':![]})['option'](_0x1a789c(0xe1),{'type':'string','description':_0x1a789c(0xce)})['option'](_0x1df790[_0x1a789c(0x97)],{'type':_0x1df790['JUWFb'],'description':_0x1df790[_0x1a789c(0xaa)],'default':![]})['option'](_0x1a789c(0x177),{'type':_0x1df790[_0x1a789c(0x1d2)],'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]})[_0x1a789c(0x133)]('setup-header',{'type':_0x1df790['lAMOj'],'array':!![],'description':_0x1df790['BDrGl']})['option'](_0x1a789c(0x1d0),{'type':_0x1df790[_0x1a789c(0x1a9)],'choices':[_0x1df790['tYlRG'],'project'],'description':_0x1a789c(0x14d)})[_0x1a789c(0x133)]('yes',{'type':_0x1a789c(0x172),'alias':'y','description':_0x1df790[_0x1a789c(0x1be)],'default':![]});},async _0x577a9c=>{const _0x4f116b=_0x42e9a4;await withTelemetry(_0x4f116b(0x6d),_0x24f211=>addEnv(_0x577a9c[_0x4f116b(0x14c)],{'ci':_0x577a9c['ci'],'skipAuth':_0x577a9c['skip-auth'],'url':_0x577a9c[_0x4f116b(0xd9)],'force':_0x577a9c['force'],'cdpEndpoint':_0x577a9c['cdp-endpoint'],'allowInsecureLocalhost':_0x577a9c['allow-insecure-localhost'],'safeMode':_0x577a9c['safe-mode'],'setupHeader':_0x577a9c['setup-header'],'scope':_0x577a9c['scope'],'yes':_0x577a9c['yes']},_0x24f211),{'isElectron':_0x4df0cb[_0x4f116b(0x199)](Boolean,_0x577a9c[_0x4df0cb['onQGI']])});})[_0x42e9a4(0xb6)](_0x1df790[_0x42e9a4(0x132)],_0x42e9a4(0x17d),_0x29cd52=>{const _0x4963c4=_0x42e9a4;return _0x29cd52['positional']('profile-name',{'type':'string','description':_0x1df790[_0x4963c4(0xf9)],'demandOption':!![]});},async _0x3ec954=>{const _0x3d73c4=_0x42e9a4;await _0x4df0cb['zLxLO'](withTelemetry,_0x3d73c4(0x105),()=>useEnv(_0x3ec954[_0x3d73c4(0x14c)]));})[_0x42e9a4(0xb6)](_0x1df790['IILZi'],'Delete\x20a\x20cloud\x20profile',_0x3f8c7e=>{const _0x594d05=_0x42e9a4;return _0x3f8c7e['positional'](_0x594d05(0x14c),{'type':'string','description':_0x594d05(0x166),'demandOption':!![]})['option'](_0x1df790[_0x594d05(0xc9)],{'type':_0x1df790['JUWFb'],'alias':'y','description':_0x1df790[_0x594d05(0x77)],'default':![]});},async _0x1f1b15=>{const _0x105aba=_0x42e9a4;await withTelemetry(_0x1df790[_0x105aba(0x13f)],()=>deleteProfile(_0x1f1b15['profile-name'],{'yes':_0x1f1b15[_0x105aba(0x158)]}));})['command']('encrypt-auth\x20<profile>',![],_0xf991f7=>{const _0x34ee0f=_0x42e9a4;return _0xf991f7[_0x34ee0f(0x6b)](_0x4df0cb['bYmPI'],{'type':_0x34ee0f(0x1f5),'description':_0x4df0cb['erTwN'],'demandOption':!![]});},async _0x339c1b=>{const _0x2d8e3c=_0x42e9a4;await _0x4df0cb['zLxLO'](withTelemetry,_0x2d8e3c(0x214),()=>authEncrypt(_0x339c1b['profile']));})['command']('ls',_0x42e9a4(0x10e),()=>{},async()=>{await withTelemetry(_0x4df0cb['vyWZf'],()=>envList());})['command']('update\x20<profile-name>',_0x1df790['aBald'],_0xfcac80=>{const _0x51b630=_0x42e9a4;return _0xfcac80[_0x51b630(0x6b)](_0x51b630(0x14c),{'type':_0x4df0cb[_0x51b630(0x14a)],'description':_0x4df0cb[_0x51b630(0x18c)],'demandOption':!![]})[_0x51b630(0x133)](_0x4df0cb['jEDzG'],{'type':_0x4df0cb['wxBBh'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)'})['option']('manual',{'type':'boolean','description':'Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login'});},async _0x68c0f9=>{const _0x692bfa=_0x42e9a4;await _0x1df790[_0x692bfa(0xad)](withTelemetry,_0x1df790[_0x692bfa(0xd6)],_0x42a7a3=>updateEnv(_0x68c0f9['profile-name'],_0x42a7a3,{'allowInsecureLocalhost':_0x68c0f9[_0x692bfa(0x79)],'manual':_0x68c0f9['manual']}));})['command'](_0x1df790[_0x42e9a4(0x16c)],![],_0x461bf5=>{const _0x53c591=_0x42e9a4;return _0x461bf5[_0x53c591(0x6b)](_0x1df790['DAIcd'],{'type':_0x53c591(0x1f5),'description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0x378e24=>{const _0x36505f={'gpKQT':'Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','geFCi':function(_0x443b18,_0x14facd,_0x509ede){return _0x443b18(_0x14facd,_0x509ede);},'FeDOn':function(_0x2a8d59,_0x6b91d0){return _0x2a8d59===_0x6b91d0;},'Gpiti':'No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','GjZjw':_0x4df0cb['RvncQ']};await withTelemetry('profile\x20login',async()=>{const _0x39bb9a=_0x18ce,_0x471ca5=process['env']['RANGER_TEST_USERNAME'],_0x5a324a=process['env']['RANGER_TEST_PASSWORD'];(!_0x471ca5||!_0x5a324a)&&(console[_0x39bb9a(0x14e)](_0x36505f[_0x39bb9a(0x1fd)]),process['exit'](0x1));const _0x1e3748=_0x378e24[_0x39bb9a(0x15c)],_0x10c475=await _0x36505f['geFCi'](serverSideLogin,_0x1e3748,{'force':!![]});_0x36505f[_0x39bb9a(0x19f)](_0x10c475[_0x39bb9a(0xfb)],_0x39bb9a(0x102))&&(console[_0x39bb9a(0x14e)](_0x36505f[_0x39bb9a(0x128)]),process[_0x39bb9a(0x1ef)](0x1)),_0x10c475['status']==='failed'&&(console['error'](_0x39bb9a(0x149)+(_0x10c475[_0x39bb9a(0x14e)]??_0x36505f[_0x39bb9a(0xd8)])),_0x10c475[_0x39bb9a(0x1b0)]&&console[_0x39bb9a(0x14e)](_0x10c475[_0x39bb9a(0x1b0)]),process['exit'](0x1)),console[_0x39bb9a(0xec)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x1e3748+_0x39bb9a(0xf0));});})[_0x42e9a4(0xb6)]('migrate\x20[profile-name]',![],_0x11d537=>{const _0x22a709=_0x42e9a4;return _0x11d537[_0x22a709(0x6b)]('profile-name',{'type':_0x4df0cb['tjFLb'],'description':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.'})['option'](_0x4df0cb['eGVLB'],{'type':_0x4df0cb[_0x22a709(0x18b)],'description':_0x22a709(0x1d1),'default':![]})[_0x22a709(0x133)](_0x4df0cb['IGIxA'],{'type':_0x4df0cb[_0x22a709(0x18b)],'description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})[_0x22a709(0x133)](_0x4df0cb[_0x22a709(0x1a8)],{'type':_0x22a709(0x172),'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})[_0x22a709(0x133)](_0x22a709(0xea),{'type':_0x22a709(0x172),'description':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','default':![]});},async _0x1388a8=>{const _0x34a749=_0x42e9a4;await _0x4df0cb[_0x34a749(0x104)](withTelemetry,'profile\x20migrate',_0x4c16ba=>migrateProfile({'profileName':_0x1388a8[_0x34a749(0x14c)],'all':_0x1388a8['all'],'dryRun':_0x1388a8[_0x34a749(0x191)],'yes':_0x1388a8['yes'],'saveCreds':_0x1388a8[_0x34a749(0xea)]},_0x4c16ba));})['command']('config',_0x1df790[_0x42e9a4(0x1da)],_0x137d7e=>{const _0x380d81=_0x42e9a4,_0x4e2549={'iGoXr':'profile','JCqqj':_0x1df790['LipdG'],'CziBn':_0x1df790[_0x380d81(0xe6)],'hwLff':_0x380d81(0x101),'Mbxeu':_0x1df790[_0x380d81(0x13c)],'LeLVb':function(_0x36dbd0,_0xd15613,_0x5a0a54){const _0xe52bb=_0x380d81;return _0x1df790[_0xe52bb(0x168)](_0x36dbd0,_0xd15613,_0x5a0a54);},'CnsdM':_0x380d81(0x1c9),'JfMGE':function(_0x375cbd,_0x442b4d,_0x5d470c){return _0x375cbd(_0x442b4d,_0x5d470c);},'MeybF':_0x380d81(0x1f5),'rkowe':_0x1df790['HUhSO'],'Ednhu':'profile\x20config\x20unset'};return _0x137d7e['usage'](PROFILE_CONFIG_HELP)[_0x380d81(0xb6)](_0x1df790[_0x380d81(0x7b)],_0x1df790['nkdPa'],_0x5cea0b=>{const _0x11cf2=_0x380d81;return _0x5cea0b['positional'](_0x4e2549[_0x11cf2(0x1a7)],{'type':'string','description':_0x4e2549[_0x11cf2(0xeb)],'demandOption':!![]})[_0x11cf2(0x6b)]('key',{'type':_0x11cf2(0x1f5),'description':_0x4e2549['CziBn'],'demandOption':!![]})['positional'](_0x4e2549[_0x11cf2(0xd5)],{'type':_0x11cf2(0x1f5),'description':_0x4e2549['Mbxeu'],'demandOption':!![]});},async _0x4d45a1=>{const _0x44ee85=_0x380d81;await withTelemetry(_0x44ee85(0x1e8),()=>configSet(_0x4d45a1['profile'],_0x4d45a1[_0x44ee85(0xdf)],_0x4d45a1[_0x44ee85(0x101)]));})[_0x380d81(0xb6)](_0x1df790['yqMlv'],'Get\x20a\x20config\x20value',_0x363f17=>{const _0x353fe1=_0x380d81;return _0x363f17[_0x353fe1(0x6b)](_0x4df0cb['bYmPI'],{'type':_0x4df0cb[_0x353fe1(0x14a)],'description':_0x4df0cb[_0x353fe1(0x95)],'demandOption':!![]})['positional'](_0x4df0cb[_0x353fe1(0x212)],{'type':_0x4df0cb['tjFLb'],'description':'Config\x20key','demandOption':!![]});},async _0x3702ee=>{const _0x8168c8=_0x380d81;await _0x4e2549[_0x8168c8(0x138)](withTelemetry,_0x4e2549['CnsdM'],()=>configGet(_0x3702ee[_0x8168c8(0xb3)],_0x3702ee['key']));})['command']('list\x20<profile>','List\x20all\x20config\x20for\x20a\x20profile',_0x42993c=>{const _0x1176b8=_0x380d81;return _0x42993c['positional'](_0x1176b8(0xb3),{'type':_0x4df0cb[_0x1176b8(0x14a)],'description':_0x1176b8(0x1a1),'demandOption':!![]});},async _0x2184ed=>{const _0x3f5f73=_0x380d81;await _0x4e2549[_0x3f5f73(0xa2)](withTelemetry,_0x3f5f73(0x169),()=>configList(_0x2184ed['profile']));})['command'](_0x380d81(0x1c4),_0x1df790[_0x380d81(0xab)],_0x47ac4f=>{const _0x2d5c25=_0x380d81;return _0x47ac4f[_0x2d5c25(0x6b)]('profile',{'type':_0x4e2549['MeybF'],'description':_0x4e2549['JCqqj'],'demandOption':!![]})['positional'](_0x2d5c25(0xdf),{'type':_0x4e2549['MeybF'],'description':_0x4e2549['rkowe'],'demandOption':!![]});},async _0xf4013f=>{await withTelemetry(_0x4e2549['Ednhu'],()=>configUnset(_0xf4013f['profile'],_0xf4013f['key']));})['command']('reset\x20<profile>',_0x1df790[_0x380d81(0x1e0)],_0x293301=>{const _0x5bb13c=_0x380d81;return _0x293301['positional'](_0x5bb13c(0xb3),{'type':'string','description':_0x4df0cb['erTwN'],'demandOption':!![]});},async _0x21f312=>{const _0x113fd8=_0x380d81;await withTelemetry('profile\x20config\x20reset',()=>configReset(_0x21f312[_0x113fd8(0xb3)]));})['demandCommand'](0x1,_0x1df790['vIlKh']);})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})['command'](_0xe839c2(0xfb),_0xe839c2(0xa7),()=>{},async()=>{await _0x1df790['ztNAM'](withTelemetry,_0x1df790['wjlTo'],()=>status());})[_0xe839c2(0xb6)](_0xe839c2(0x1f4),_0x1df790['djSNj'],()=>{},async()=>{await withTelemetry(_0x1df790['XVdpr'],()=>update());})[_0xe839c2(0xb6)]('print-access-token',_0x1df790['WwnVr'],()=>{},async()=>{await _0x1df790['JvXxu'](withTelemetry,_0x1df790['ujOaE'],async()=>{const _0x34ad9e=_0x18ce,_0x473d8c=await getToken();if(!_0x473d8c)throw new Error(_0x1df790['PNFXI']);console[_0x34ad9e(0xec)](_0x473d8c);});})[_0xe839c2(0xb6)]('go',_0xe839c2(0x18e),_0x399fc5=>{const _0x59ab21=_0xe839c2;return _0x399fc5['option'](_0x1df790['ZhgUg'],{'type':_0x59ab21(0x1f5),'description':'Optional\x20feature\x20ID'})['option'](_0x1df790[_0x59ab21(0x17a)],{'type':_0x59ab21(0x1f5),'description':_0x59ab21(0xda)})[_0x59ab21(0x133)](_0x1df790[_0x59ab21(0x16d)],{'type':_0x59ab21(0x1f5),'description':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)'})[_0x59ab21(0x133)](_0x1df790['DhiMO'],{'type':_0x1df790[_0x59ab21(0x1a2)],'description':'Scenario\x20index\x20(1-based)'})['option']('start-path',{'type':'string','description':_0x1df790[_0x59ab21(0x123)]})['option'](_0x1df790['geGLL'],{'type':'string','description':_0x1df790['ROQUq']})['option']('model',{'type':'string','description':_0x1df790[_0x59ab21(0x1cc)]})['option'](_0x1df790[_0x59ab21(0x179)],{'type':_0x1df790[_0x59ab21(0x1d2)],'description':_0x1df790[_0x59ab21(0x122)],'default':![]})['option'](_0x1df790[_0x59ab21(0xd0)],{'type':_0x1df790[_0x59ab21(0x1a9)],'array':!![],'alias':_0x1df790['jtGeU'],'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'](_0x1df790['LPvsB'],{'type':'string','hidden':!![],'choices':[_0x1df790[_0x59ab21(0x1dc)],'partial','blocked',_0x1df790['ziCaM'],_0x1df790[_0x59ab21(0xcf)]]})['option']('debug-address-comments',{'type':'boolean','hidden':!![]})['option'](_0x1df790[_0x59ab21(0xa8)],{'type':_0x59ab21(0x1f5),'hidden':!![]})['option'](_0x1df790[_0x59ab21(0xf1)],{'type':_0x59ab21(0x1f5),'hidden':!![]})['option']('item',{'type':'number','hidden':!![]});},async _0x33032b=>{await _0x1df790['GTFJh'](runGoCommand,_0x33032b);})[_0xe839c2(0xb6)](_0xe839c2(0xa4),![],_0x1d12c4=>{const _0x18cf28=_0xe839c2;return _0x1d12c4[_0x18cf28(0xb6)](_0x1df790[_0x18cf28(0x8c)],![],_0x53ec79=>{const _0x2c46a4=_0x18cf28;return _0x53ec79['positional']('profile',{'type':_0x2c46a4(0x1f5),'description':'Profile\x20name','demandOption':!![]});},async _0x13782c=>{const _0x331e13=_0x18cf28;warnRenamed('ranger\x20auth\x20encrypt','ranger\x20profile\x20encrypt-auth'),await authEncrypt(_0x13782c[_0x331e13(0xb3)]);})['demandCommand'](0x1,_0x1df790['iYhvf']);},()=>{})['command']('start\x20[token]',![],_0x32541c=>{const _0x427e08=_0xe839c2;return _0x32541c[_0x427e08(0x6b)](_0x1df790[_0x427e08(0x1d4)],{'type':_0x1df790['lAMOj'],'description':_0x427e08(0x1b4)})[_0x427e08(0x133)](_0x1df790[_0x427e08(0x9d)],{'type':'boolean','description':_0x427e08(0xff),'default':![]})[_0x427e08(0x133)]('scope',{'type':'string','choices':[_0x1df790['tYlRG']],'hidden':!![],'description':_0x427e08(0x145)})['option'](_0x1df790[_0x427e08(0x1b5)],{'type':'string','description':_0x1df790['uCrft']})['option'](_0x427e08(0x206),{'type':_0x427e08(0x172),'description':_0x427e08(0x7f),'default':![]})[_0x427e08(0x133)](_0x427e08(0xbb),{'type':_0x1df790[_0x427e08(0x1d2)],'description':_0x1df790['DNfyR'],'default':![]})['option'](_0x1df790[_0x427e08(0x1f2)],{'type':'boolean','description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]});},async _0xadd31d=>{const _0x153a9d=_0xe839c2;warnRenamed('ranger\x20start','ranger\x20setup'),await _0x1df790[_0x153a9d(0x15f)](withTelemetry,'start',_0x57ce1a=>start(_0xadd31d[_0x153a9d(0xbe)],{'skipChromium':_0xadd31d['skip-chromium'],'skipAuth':_0xadd31d[_0x153a9d(0xbb)],'withDeps':_0xadd31d[_0x153a9d(0x1d6)],'scope':_0xadd31d[_0x153a9d(0x1d0)],'url':_0xadd31d[_0x153a9d(0xd9)],'force':_0xadd31d['force']},_0x57ce1a));})['command'](_0xe839c2(0x203),![],_0x51abac=>{const _0x52c102=_0xe839c2;return _0x51abac['option']('env',{'type':'string','description':_0x52c102(0x219)})['option']('task',{'type':_0x1df790['lAMOj'],'description':_0x52c102(0xef)})[_0x52c102(0x133)]('item',{'type':'number','description':'Scenario\x20index\x20(1-based)'})['option'](_0x52c102(0xb3),{'type':_0x52c102(0x1f5),'hidden':!![]})[_0x52c102(0x133)](_0x52c102(0x21c),{'type':'string','hidden':!![]})['option'](_0x1df790['DhiMO'],{'type':_0x52c102(0x1ab),'hidden':!![]})['option'](_0x1df790['RLRSc'],{'type':_0x1df790['lAMOj'],'description':_0x52c102(0x1f8)})['option'](_0x52c102(0x91),{'type':_0x1df790['lAMOj'],'description':_0x1df790['caRvs']})['option'](_0x1df790['CoUyg'],{'type':'string','hidden':!![]})[_0x52c102(0x133)](_0x52c102(0x164),{'type':_0x1df790['JUWFb'],'hidden':!![],'default':![]})['option']('env-var',{'type':_0x52c102(0x1f5),'array':!![],'alias':_0x52c102(0x1aa),'hidden':!![]})[_0x52c102(0x133)](_0x1df790['LPvsB'],{'type':_0x52c102(0x1f5),'hidden':!![],'choices':[_0x52c102(0xbc),_0x1df790[_0x52c102(0x185)],_0x52c102(0x190),'failed',_0x1df790['RLgpx']]});},async _0x3cd3e9=>{await _0x1df790['umBdC'](runGoCommand,_0x3cd3e9,!![]);})['command'](_0x1df790['IGAtF'],![],_0x57e983=>{const _0x3335a5=_0xe839c2;return _0x57e983[_0x3335a5(0x6b)](_0x1df790[_0x3335a5(0xb0)],{'type':_0x1df790[_0x3335a5(0x1a9)],'description':_0x1df790[_0x3335a5(0x131)],'demandOption':!![]})['option']('ci',{'type':_0x3335a5(0x172),'description':_0x1df790[_0x3335a5(0x19c)],'default':![]})[_0x3335a5(0x133)](_0x1df790[_0x3335a5(0x1d5)],{'type':_0x1df790[_0x3335a5(0x1d2)],'description':_0x3335a5(0xcd),'default':![]});},async _0x2be9a7=>{const _0x3a7cea=_0xe839c2;_0x1df790['DOMxO'](warnRenamed,_0x3a7cea(0x175),_0x1df790['XLhlV']),await withTelemetry(_0x1df790['DFguz'],_0x5c1425=>addEnv(_0x2be9a7['env-name'],{'ci':_0x2be9a7['ci'],'skipAuth':_0x2be9a7[_0x3a7cea(0xbb)]},_0x5c1425));})[_0xe839c2(0xb6)](_0x1df790[_0xe839c2(0x18f)],![],_0x30cd57=>{return _0x30cd57['positional']('env-name',{'type':'string','description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x5b10c1=>{const _0x1e48df=_0xe839c2;_0x1df790[_0x1e48df(0x9b)](warnRenamed,'ranger\x20use','ranger\x20profile\x20use'),await _0x1df790['Gnosm'](withTelemetry,'use',()=>useEnv(_0x5b10c1[_0x1e48df(0x96)]));})[_0xe839c2(0xb6)](_0xe839c2(0x11c),![],_0x4d5700=>{const _0x994f33=_0xe839c2,_0x1c99b7={'xGeAJ':_0x1df790[_0x994f33(0x1a9)],'ehRFL':_0x1df790[_0x994f33(0x10f)],'LgmxP':_0x1df790[_0x994f33(0xa8)],'zlbil':_0x994f33(0x1d9),'nEZXt':function(_0x100e9e,_0x3d4317,_0x52a08c){return _0x100e9e(_0x3d4317,_0x52a08c);},'PHDGD':_0x1df790['rvPGC'],'JSjJE':'ranger\x20profile\x20config\x20unset'};return _0x4d5700[_0x994f33(0xb6)]('set\x20<env>\x20<key>\x20<value>',![],_0x103004=>{const _0x491300=_0x994f33;return _0x103004['positional'](_0x1df790[_0x491300(0xa8)],{'type':_0x1df790['lAMOj'],'description':_0x491300(0x154),'demandOption':!![]})['positional'](_0x1df790[_0x491300(0x196)],{'type':'string','description':_0x1df790[_0x491300(0xe6)],'demandOption':!![]})['positional']('value',{'type':_0x1df790[_0x491300(0x1a9)],'description':_0x491300(0x1f7),'demandOption':!![]});},async _0x429e67=>{const _0x4db260=_0x994f33;_0x1df790['anrlC'](warnRenamed,'ranger\x20config\x20set',_0x4db260(0x173)),await withTelemetry(_0x1df790['comzC'],()=>configSet(_0x429e67[_0x4db260(0x157)],_0x429e67['key'],_0x429e67['value']));})[_0x994f33(0xb6)](_0x994f33(0x150),![],_0x511cce=>{const _0x1070aa=_0x994f33;return _0x511cce[_0x1070aa(0x6b)](_0x1df790['aynmR'],{'type':'string','description':'Environment\x20name','demandOption':!![]})['positional'](_0x1070aa(0xdf),{'type':_0x1df790['lAMOj'],'description':_0x1df790[_0x1070aa(0x1f3)],'demandOption':!![]});},async _0x3e72d5=>{const _0x2ebcf3=_0x994f33;warnRenamed('ranger\x20config\x20get',_0x1df790['IUBSJ']),await withTelemetry(_0x1df790['pPnoP'],()=>configGet(_0x3e72d5[_0x2ebcf3(0x157)],_0x3e72d5[_0x2ebcf3(0xdf)]));})['command'](_0x994f33(0x201),![],_0x2442c7=>{const _0x2e8a3c=_0x994f33;return _0x2442c7[_0x2e8a3c(0x6b)](_0x2e8a3c(0x157),{'type':_0x1c99b7['xGeAJ'],'description':_0x1c99b7['ehRFL'],'demandOption':!![]});},async _0x3a219a=>{const _0x8eb35f=_0x994f33;_0x1df790['kaxmH'](warnRenamed,_0x1df790['XeZmR'],'ranger\x20profile\x20config\x20list'),await withTelemetry('config\x20list',()=>configList(_0x3a219a[_0x8eb35f(0x157)]));})[_0x994f33(0xb6)]('unset\x20<env>\x20<key>',![],_0x461a50=>{const _0x4e5347=_0x994f33;return _0x461a50['positional'](_0x1c99b7[_0x4e5347(0xd4)],{'type':'string','description':_0x4e5347(0x154),'demandOption':!![]})[_0x4e5347(0x6b)](_0x4e5347(0xdf),{'type':_0x4e5347(0x1f5),'description':_0x1c99b7[_0x4e5347(0x116)],'demandOption':!![]});},async _0x2cc13d=>{const _0x6a07f0=_0x994f33;_0x1c99b7[_0x6a07f0(0x1cf)](warnRenamed,_0x1c99b7['PHDGD'],_0x1c99b7[_0x6a07f0(0x7a)]),await withTelemetry(_0x6a07f0(0x171),()=>configUnset(_0x2cc13d['env'],_0x2cc13d['key']));})[_0x994f33(0x152)](0x1,_0x994f33(0xdb));})['command'](_0xe839c2(0x157),![],_0xe0728=>{const _0x3a1dfc=_0xe839c2,_0xa4ec24={'uKoJy':function(_0x59aeaf,_0x53640e,_0x42355c){return _0x1df790['Gnosm'](_0x59aeaf,_0x53640e,_0x42355c);},'gcSCc':'ranger\x20env\x20ls','oLUyQ':_0x1df790[_0x3a1dfc(0xb0)],'iobrN':_0x3a1dfc(0x1b8),'IUoJt':_0x1df790[_0x3a1dfc(0x1f9)]};return _0xe0728['command']('ls',![],()=>{},async()=>{const _0x54dd68=_0x3a1dfc;_0xa4ec24[_0x54dd68(0x19e)](warnRenamed,_0xa4ec24[_0x54dd68(0x217)],'ranger\x20profile\x20ls'),await _0xa4ec24[_0x54dd68(0x19e)](withTelemetry,_0x54dd68(0x1ba),()=>envList());})['command'](_0x3a1dfc(0x16f),![],_0x5ee963=>{const _0x39cedb=_0x3a1dfc;return _0x5ee963['positional'](_0xa4ec24[_0x39cedb(0x156)],{'type':_0x39cedb(0x1f5),'description':_0xa4ec24[_0x39cedb(0x75)],'demandOption':!![]});},async _0x342064=>{const _0x32ac6e=_0x3a1dfc;warnRenamed(_0xa4ec24[_0x32ac6e(0x15d)],_0x32ac6e(0xdd)),await withTelemetry('env\x20update',_0x1a2f77=>updateEnv(_0x342064['env-name'],_0x1a2f77));})[_0x3a1dfc(0x152)](0x1,_0x1df790[_0x3a1dfc(0xb2)]);})[_0xe839c2(0xb6)]('feature',![],_0x29713c=>{const _0x3d0654=_0xe839c2,_0xabf1fe={'aJbcW':_0x1df790['pYAHW'],'spNus':'string','QFsyD':_0x3d0654(0x10c),'BLnWZ':_0x1df790[_0x3d0654(0x1fa)],'fwxCD':_0x1df790['WPNPv'],'vRmMk':function(_0x104762,_0x5ec468,_0x4537e6){const _0x27d831=_0x3d0654;return _0x1df790[_0x27d831(0x12d)](_0x104762,_0x5ec468,_0x4537e6);},'znAWs':_0x3d0654(0xf3)};return _0x29713c['command'](_0x3d0654(0x9a),![],_0x29b00a=>{const _0x48ddaa=_0x3d0654;return _0x29b00a['positional'](_0x1df790['DAIcd'],{'type':_0x1df790[_0x48ddaa(0x1a9)],'description':_0x48ddaa(0x14b),'demandOption':!![]})['option'](_0x1df790['NpTuk'],{'type':_0x1df790['lAMOj'],'alias':'d','description':_0x1df790[_0x48ddaa(0x1c0)]})['option']('checklist',{'type':_0x48ddaa(0x6f),'alias':'c','description':_0x1df790[_0x48ddaa(0x213)]})[_0x48ddaa(0x133)](_0x1df790['DhiMO'],{'type':'array','hidden':!![]});},async _0x27ea9e=>{const _0x56e045=_0x3d0654;warnRenamed(_0x1df790['YKITB'],_0x1df790['YqqdV']),warnFlagRenamed(_0x56e045(0x1ca),_0x1df790[_0x56e045(0x94)],_0x56e045(0x1a4));const _0x315215=_0x27ea9e['scenario']||_0x27ea9e[_0x56e045(0xc7)];await _0x1df790[_0x56e045(0x207)](withTelemetry,'feature\x20create',()=>featureCreate(_0x27ea9e['name'],{'description':_0x27ea9e[_0x56e045(0x9e)],'scenarios':_0x315215}));})[_0x3d0654(0xb6)]('list',![],_0x52cbaf=>{const _0x1fe3b1=_0x3d0654;return _0x52cbaf['option'](_0x1df790['aTVye'],{'type':'boolean','description':_0x1df790[_0x1fe3b1(0xba)]})['option']('limit',{'type':'number','alias':'l','description':_0x1fe3b1(0x147),'default':0xa})['option']('offset',{'type':_0x1df790['zhhye'],'alias':'o','description':_0x1df790[_0x1fe3b1(0x1a6)],'default':0x0})['option'](_0x1df790['xQMiv'],{'type':_0x1df790[_0x1fe3b1(0x1d2)],'alias':'d','description':_0x1df790[_0x1fe3b1(0x1e3)],'default':![]});},async _0x4ca8f0=>{const _0x3d6f1e=_0x3d0654;warnRenamed(_0x3d6f1e(0xb1),_0x1df790['NMZwU']),await _0x1df790[_0x3d6f1e(0x12c)](withTelemetry,_0x3d6f1e(0x1dd),()=>featureList({'currentBranch':_0x4ca8f0['current-branch'],'limit':_0x4ca8f0[_0x3d6f1e(0x11a)],'offset':_0x4ca8f0['offset'],'includeDeleted':_0x4ca8f0[_0x3d6f1e(0x1ed)]}));})[_0x3d0654(0xb6)]('show\x20[id]',![],_0x34f2dd=>{const _0x56f031=_0x3d0654;return _0x34f2dd[_0x56f031(0x6b)]('id',{'type':_0x56f031(0x1f5),'description':_0xabf1fe['aJbcW']});},async _0x3e511b=>{const _0x517d6f=_0x3d0654;_0x1df790['Gnosm'](warnRenamed,_0x517d6f(0x186),'ranger\x20show'),await withTelemetry(_0x517d6f(0x19d),()=>featureShow(_0x3e511b['id']));})[_0x3d0654(0xb6)](_0x1df790['EHPJk'],![],_0x3b9d12=>{const _0x44e9bb=_0x3d0654;return _0x3b9d12[_0x44e9bb(0x6b)]('id',{'type':'string','description':_0x44e9bb(0x8e)});},async _0x42725c=>{const _0x17ebe6=_0x3d0654;warnRenamed('ranger\x20feature\x20resume',_0x17ebe6(0xfc)),await withTelemetry('feature\x20resume',()=>featureResume(_0x42725c['id']));})[_0x3d0654(0xb6)]('add-checklist-item\x20<description>',![],_0x40db01=>{const _0x32c162=_0x3d0654;return _0x40db01['positional'](_0x32c162(0x9e),{'type':_0xabf1fe[_0x32c162(0x1a0)],'description':_0xabf1fe['QFsyD'],'demandOption':!![]})['option']('id',{'type':_0xabf1fe['spNus'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x5c26ab=>{const _0x10a055=_0x3d0654;warnRenamed(_0x10a055(0x16a),_0x10a055(0x13e)),await withTelemetry(_0xabf1fe[_0x10a055(0x1e7)],()=>featureAddScenario(_0x5c26ab['description'],_0x5c26ab['id']));})[_0x3d0654(0xb6)](_0x1df790['ptJJJ'],![],_0x190fc9=>{const _0x28a059=_0x3d0654;return _0x190fc9[_0x28a059(0x6b)]('id',{'type':_0x28a059(0x1f5),'description':_0x28a059(0x1fe)});},async _0x3c6dba=>{const _0x3efd48=_0x3d0654;warnRenamed(_0x1df790['YfbqN'],_0x1df790[_0x3efd48(0x1d3)]),await withTelemetry(_0x1df790['SAUGe'],()=>featureGetReview(_0x3c6dba['id']));})[_0x3d0654(0xb6)]('delete\x20[id]',![],_0x40e1be=>{const _0x46a6d2=_0x3d0654;return _0x40e1be['positional']('id',{'type':_0x1df790['lAMOj'],'description':_0x46a6d2(0x1bf)});},async _0x538016=>{const _0x508996=_0x3d0654;_0x1df790[_0x508996(0x15f)](warnRenamed,'ranger\x20feature\x20delete',_0x508996(0x200)),await withTelemetry('feature\x20delete',()=>featureDelete(_0x538016['id']));})[_0x3d0654(0xb6)](_0x3d0654(0x1c2),![],_0x1abac1=>{const _0x172d2b=_0x3d0654;return _0x1abac1[_0x172d2b(0x6b)]('id',{'type':_0xabf1fe['spNus'],'description':_0xabf1fe[_0x172d2b(0x17e)],'demandOption':!![]});},async _0xdf3daa=>{const _0x304fdb=_0x3d0654;_0xabf1fe['vRmMk'](warnRenamed,_0xabf1fe['znAWs'],_0x304fdb(0xb9)),await _0xabf1fe['vRmMk'](withTelemetry,'feature\x20restore',()=>featureRestore(_0xdf3daa['id']));})[_0x3d0654(0x152)](0x1,_0x1df790['kNyYv']);})['command'](_0xe839c2(0x1ff),![],_0x5db810=>{const _0x328386=_0xe839c2,_0x4baa16={'nVPeR':_0x1df790['lAMOj'],'pskRI':_0x1df790[_0x328386(0x1fb)],'OkIsq':_0x1df790[_0x328386(0x1de)]};return _0x5db810[_0x328386(0xb6)]('enable','Enable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x25e62c=>{const _0x539e11=_0x328386;return _0x25e62c[_0x539e11(0x133)](_0x539e11(0x8b),{'type':_0x4baa16['nVPeR'],'description':_0x4baa16[_0x539e11(0x1cb)]});},async _0x138a2d=>{const _0x2a5ea1=_0x328386;await withTelemetry(_0x1df790[_0x2a5ea1(0xe4)],()=>hook('enable',_0x138a2d[_0x2a5ea1(0x8b)]));})[_0x328386(0xb6)](_0x1df790['iwXCW'],_0x1df790['cBFZC'],_0x19ed06=>{return _0x19ed06['option']('session-id',{'type':'string','description':_0x1df790['lDMSU']});},async _0x1ea7c6=>{const _0x2c92e1=_0x328386;await withTelemetry(_0x4baa16['OkIsq'],()=>hook(_0x2c92e1(0x195),_0x1ea7c6['session-id']));})['option'](_0x328386(0x15c),{'type':_0x328386(0x1f5),'description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})[_0x328386(0x133)](_0x1df790['EcMLJ'],{'type':_0x1df790[_0x328386(0x1a9)],'description':_0x1df790['lDMSU']});},async _0x77656c=>{const _0xc9cff3=_0xe839c2;_0x77656c[_0xc9cff3(0x15c)]&&await _0x1df790['kaxmH'](hook,_0x77656c[_0xc9cff3(0x15c)],_0x77656c[_0x1df790['EcMLJ']]);})[_0xe839c2(0x152)](0x1,'You\x20must\x20specify\x20a\x20command')['strictCommands']()[_0xe839c2(0x1c6)](async(_0x366c3d,_0xe7ba6f,_0x591f14)=>{const _0x252731=_0xe839c2,_0x19ec48=sanitizeArgs(process[_0x252731(0x103)][_0x252731(0x19a)](0x2)),_0xda998f=_0x1df790['sYkFG'](getErrorType,_0x366c3d,_0xe7ba6f);if(_0x366c3d&&_0x366c3d['includes'](_0x1df790['AWelp'])){const _0x4eb40b=process['argv'][0x2];console[_0x252731(0x14e)]('\x0aUnknown\x20command:\x20'+_0x4eb40b),console[_0x252731(0x14e)](_0x1df790['rnfXI']);}else{if(_0x366c3d)console['error']('\x0a'+_0x366c3d+'\x0a');else _0xe7ba6f&&console['error'](_0x252731(0x109)+_0xe7ba6f[_0x252731(0xe7)]+'\x0a');}await _0x1df790['GTFJh'](logDesirePath,{'rawCommand':_0x19ec48,'errorMessage':_0x366c3d||_0xe7ba6f?.['message'],'errorType':_0xda998f});const _0x46b77e=getCurrentCollector();_0x46b77e&&await _0x46b77e['trackCommandError'](_0xe7ba6f||new Error(_0x1df790['eelze'](_0x366c3d,_0x1df790['gOlPm']))),process['exit'](0x1);})['epilogue'](_0x1df790[_0xe839c2(0xa3)](_0xe839c2(0x13a),_0xe839c2(0x1ac))+_0x1df790['bWoyO'])['help']()[_0xe839c2(0x187)](_0x1df790[_0xe839c2(0x211)],'h');}process['env'][_0x2348e6(0x81)]!==_0x2348e6(0x1bb)&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()['parse']());
|
|
2
|
+
const _0x5bf4be=_0x23e3;(function(_0x5c5086,_0x150f20){const _0xb6b0d4=_0x23e3,_0x584021=_0x5c5086();while(!![]){try{const _0x2907ec=-parseInt(_0xb6b0d4(0x31d))/0x1+-parseInt(_0xb6b0d4(0x2ff))/0x2+-parseInt(_0xb6b0d4(0x27e))/0x3*(-parseInt(_0xb6b0d4(0x280))/0x4)+-parseInt(_0xb6b0d4(0x30b))/0x5+parseInt(_0xb6b0d4(0x208))/0x6+parseInt(_0xb6b0d4(0x330))/0x7+-parseInt(_0xb6b0d4(0x24e))/0x8*(-parseInt(_0xb6b0d4(0x29f))/0x9);if(_0x2907ec===_0x150f20)break;else _0x584021['push'](_0x584021['shift']());}catch(_0x5e78fd){_0x584021['push'](_0x584021['shift']());}}}(_0x51e5,0x4f319));import _0x37b130 from'dotenv';function _0x23e3(_0x135e54,_0xbcef40){_0x135e54=_0x135e54-0x1c0;const _0x51e595=_0x51e5();let _0x23e31a=_0x51e595[_0x135e54];return _0x23e31a;}import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x40682f=_0x23e3,_0x293592={'amwpJ':function(_0x33066d,_0x48a59d){return _0x33066d(_0x48a59d);},'bjZjC':function(_0x1561ad,_0x53286b){return _0x1561ad!==_0x53286b;},'iQHSY':function(_0x4d8fee,_0x18cfeb,_0x4ce9af){return _0x4d8fee(_0x18cfeb,_0x4ce9af);},'vVvvm':'.ranger','HfVGo':function(_0x358107,_0x36020b){return _0x358107(_0x36020b);},'JMPkO':function(_0x116429,_0x5827e7,_0x5a633a){return _0x116429(_0x5827e7,_0x5a633a);},'vbTpG':function(_0x1b8a60,_0x2a22da){return _0x1b8a60(_0x2a22da);}};let _0x32dfe5=process[_0x40682f(0x1f8)]();const _0xe3899e=_0x293592['amwpJ'](parse,_0x32dfe5)['root'];while(_0x293592['bjZjC'](_0x32dfe5,_0xe3899e)){if(_0x293592['amwpJ'](existsSync,_0x293592[_0x40682f(0x328)](join,_0x32dfe5,_0x293592['vVvvm']))||_0x293592['HfVGo'](existsSync,_0x293592[_0x40682f(0x24b)](join,_0x32dfe5,'.env')))return _0x32dfe5;_0x32dfe5=_0x293592[_0x40682f(0x2be)](dirname,_0x32dfe5);}return process[_0x40682f(0x1f8)]();}_0x37b130['config']({'path':join(findProjectRoot(),'.env')});import _0x277e94 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on'](_0x5bf4be(0x26a),async _0x38e1e3=>{const _0xd298d7=getCurrentCollector();_0xd298d7&&await _0xd298d7['trackCommandError'](_0x38e1e3),process['exitCode']=0x1;});const rawArgs=process['argv'][_0x5bf4be(0x2de)](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201',PROFILE_CONFIG_HELP=_0x5bf4be(0x264);function warnRenamed(_0x3a0325,_0x5dca72){const _0x13cb26=_0x5bf4be;console[_0x13cb26(0x34e)]('\x0a'+_0x3a0325+'\x20is\x20now\x20'+_0x5dca72+'\x0a');}function argUsed(_0x541bdc){return rawArgs['some'](_0x3d1e07=>_0x3d1e07===_0x541bdc||_0x3d1e07['startsWith'](_0x541bdc+'='));}function warnFlagRenamed(_0x33a6b5,_0x13fd82,_0x7bc903){const _0x5947a4={'XRkXi':function(_0x32c1f3,_0x5393c3,_0x9d1791){return _0x32c1f3(_0x5393c3,_0x9d1791);}};argUsed(_0x13fd82)&&_0x5947a4['XRkXi'](warnRenamed,_0x33a6b5+'\x20'+_0x13fd82,_0x33a6b5+'\x20'+_0x7bc903);}function normalizeEnvVarNames(_0x5adaa8){const _0x1559ad=_0x5bf4be,_0x4a9ef2=Array['isArray'](_0x5adaa8)?_0x5adaa8:_0x5adaa8?[_0x5adaa8]:[];return _0x4a9ef2[_0x1559ad(0x2c9)](_0x56158f=>String(_0x56158f)[_0x1559ad(0x26b)](',')['map'](_0xad8e3e=>_0xad8e3e[_0x1559ad(0x362)]())[_0x1559ad(0x205)](Boolean));}async function runGoCommand(_0x2a0804,_0x3f2754=![]){const _0x5e6532=_0x5bf4be,_0x5c9a2c={'kcezq':function(_0x34db64,_0x22a67c){return _0x34db64+_0x22a67c;},'PtFsl':function(_0x58dd58,_0x4dc1c5,_0x395a66){return _0x58dd58(_0x4dc1c5,_0x395a66);},'zmJyq':function(_0x292587,_0x38f0b4,_0x36ef35,_0x14e3a9){return _0x292587(_0x38f0b4,_0x36ef35,_0x14e3a9);},'wDWgh':'ranger\x20go','piFXm':function(_0x34882c,_0x42cb6b,_0x370a25,_0x5b70c0){return _0x34882c(_0x42cb6b,_0x370a25,_0x5b70c0);},'QPVCM':function(_0x399194){return _0x399194();},'CvwnL':function(_0x3cbce9,_0xccc305){return _0x3cbce9(_0xccc305);},'MnDSg':'env-var','tWDYT':function(_0x317c04,_0x36306f){return _0x317c04!==_0x36306f;},'maffG':_0x5e6532(0x22e),'ozeqB':'base-url','lfzhQ':'debug-outcome','tyctq':'debug-address-comments','ePnLC':_0x5e6532(0x1de),'OICfg':function(_0x9f93e9,_0x416e2c){return _0x9f93e9===_0x416e2c;},'kaEUT':'partial','ZWjcQ':'\x20FAILED','iMjKQ':'\x0aIssues:','RbZHq':function(_0x20786c,_0x544eba){return _0x20786c===_0x544eba;},'tDThK':'verified'};_0x3f2754&&_0x5c9a2c['PtFsl'](warnRenamed,_0x5e6532(0x2bf),_0x5e6532(0x377));_0x5c9a2c[_0x5e6532(0x33b)](warnFlagRenamed,'ranger\x20go','--env',_0x5e6532(0x215)),warnFlagRenamed(_0x5c9a2c[_0x5e6532(0x2c8)],'--task','--notes'),_0x5c9a2c[_0x5e6532(0x356)](warnFlagRenamed,_0x5c9a2c[_0x5e6532(0x2c8)],'--item',_0x5e6532(0x27f));const _0x563356=await _0x5c9a2c[_0x5e6532(0x320)](loadRangerConfig),_0x16c810=_0x5c9a2c['QPVCM'](isByokEnabled),_0x473988=_0x2a0804['model'],_0x4a5047=_0x563356[_0x5e6532(0x223)],_0xbd9a0f=_0x5c9a2c['CvwnL'](normalizeEnvVarNames,_0x2a0804[_0x5c9a2c['MnDSg']]),_0xf5c976=getVerificationTransport();if(_0xbd9a0f[_0x5e6532(0x270)]>0x0&&_0x5c9a2c['tWDYT'](_0xf5c976,_0x5c9a2c[_0x5e6532(0x1d1)])&&_0xf5c976!=='rangerwright-cli')throw new Error(_0x5e6532(0x29c)+_0xf5c976+'.');const _0x8d2e2b=await _0x5c9a2c[_0x5e6532(0x2a4)](verifyFeature,{'featureId':_0x2a0804[_0x5e6532(0x21e)],'profile':_0x2a0804[_0x5e6532(0x2cb)]??_0x2a0804[_0x5e6532(0x2f1)]??process[_0x5e6532(0x2f1)]['RANGER_PROFILE'],'notes':_0x2a0804['notes']??_0x2a0804['task'],'scenario':_0x2a0804[_0x5e6532(0x2fc)]??_0x2a0804['item'],'startPath':_0x2a0804[_0x5e6532(0x379)],'baseUrl':_0x2a0804[_0x5c9a2c[_0x5e6532(0x1e6)]],'debugOutcome':_0x2a0804[_0x5c9a2c['lfzhQ']],'debugAddressComments':_0x2a0804[_0x5c9a2c[_0x5e6532(0x318)]],'headed':_0x2a0804['headed'],'verifierEnvVars':_0xbd9a0f,'byokEnabled':_0x16c810,'flagVerifyModel':_0x473988,'configVerifyModel':_0x4a5047});console['log']('\x0a'+'='['repeat'](0x3c)),console[_0x5e6532(0x1cd)](_0x8d2e2b[_0x5e6532(0x2a2)]===_0x5e6532(0x293)?_0x5c9a2c[_0x5e6532(0x1ca)]:_0x5c9a2c[_0x5e6532(0x242)](_0x8d2e2b[_0x5e6532(0x2a2)],_0x5e6532(0x287))?_0x5e6532(0x2e5):_0x8d2e2b[_0x5e6532(0x2a2)]===_0x5c9a2c['kaEUT']?_0x5e6532(0x296):_0x5c9a2c['OICfg'](_0x8d2e2b['evaluation'],'blocked')?'\x20BLOCKED':_0x5c9a2c[_0x5e6532(0x365)]),console[_0x5e6532(0x1cd)]('='['repeat'](0x3c)),console['log']('Summary:\x20'+_0x8d2e2b[_0x5e6532(0x25f)]),console['log']('Evaluation:\x20'+_0x8d2e2b['evaluation']),console[_0x5e6532(0x1cd)]('Reason:\x20'+_0x8d2e2b[_0x5e6532(0x308)]),_0x8d2e2b[_0x5e6532(0x2dc)]?.[_0x5e6532(0x270)]&&(console['log'](_0x5c9a2c[_0x5e6532(0x2c1)]),_0x8d2e2b[_0x5e6532(0x2dc)][_0x5e6532(0x31a)]((_0x1f5839,_0x5b44fa)=>{const _0x32438d=_0x5e6532;console[_0x32438d(0x1cd)]('\x0a'+_0x5c9a2c['kcezq'](_0x5b44fa,0x1)+_0x32438d(0x1fa)+_0x1f5839['severity']+']\x20'+_0x1f5839[_0x32438d(0x274)]);})),process[_0x5e6532(0x20e)](_0x5c9a2c['RbZHq'](_0x8d2e2b['evaluation'],_0x5c9a2c['tDThK'])?0x0:0x1);}function _0x51e5(){const _0x2ee8d5=['Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','Ranger\x20API\x20token','playwright-cli','JZTTL','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','aseyC','command','KVrxP','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','config\x20unset','ranger\x20feature\x20create','with-deps','debug-outcome','save-creds','positional','WnYbo','attbo','vSsYL','start','XgEht','help','ranger\x20create','OICfg','SReeC','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','scope','ceUBQ','XWlzP','disable','json','manual','JMPkO','start\x20[token]','DVSDT','1720ogMvfM','failed','uIeUX','value','gBfUe','Initialize\x20Ranger\x20in\x20your\x20project','setup:all','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','pZlKX','ranger\x20feature\x20add-checklist-item','maeNF','QoWGn','add\x20env\x20<env-name>','profiles','Scenario\x20number\x20to\x20edit\x20(1-based)','summary','ranger\x20setup\x20profiles\x20--scope=','Name\x20of\x20the\x20profile\x20to\x20update','array','ranger\x20profile\x20config\x20list','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','apQyb','epilogue','LSJiN','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','unhandledRejection','split','lGdcm','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','GHqAC','eLsbP','length','zZiQz','delete\x20[id]','Include\x20soft-deleted\x20feature\x20reviews','description','mGCLZ','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','show','txVvB','includes','current-branch','XISJR','headed','159gjOqOy','--scenario','44852tTxSXD','yUcoI','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','iKVSP','ranger\x20feature\x20show','unset\x20<profile>\x20<key>','aNBcg','incomplete','status','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','Xysbu','edit-scenario','List\x20all\x20config\x20for\x20a\x20profile','unset\x20<env>\x20<key>','fsPLJ','ViwFv','Print\x20the\x20current\x20CLI\x20access\x20token','nAlxd','verified','get-review','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','\x20PARTIAL','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','VTYBz','\x0aError:\x20','create','ErmWq','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','boolean','✓\x20Authenticated\x20to\x20','6759gbqEQE','mcp','rzPOH','evaluation','demandCommand','CvwnL','qhlyY','gBEUT','Profile\x20name','Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','List\x20all\x20profiles','env-var','qEvwP','exclude-scenario','session-id','nvqtV','offset','MWwCG','Scenario\x20description','izWZE','all','ranger\x20profile\x20add','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','faPso','BwYjd','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','uHJgs','feature\x20show','create\x20<name>','RGnIa','ranger\x20use','vbTpG','ranger\x20verify-feature','update','iMjKQ','ranger\x20delete','hkRTN','okFSx','skip-chromium','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','kSmKc','wDWgh','flatMap','profile\x20config\x20get','profile','zvfsN','VgbVf','list','Config\x20value','DEilT','ranger\x20profile\x20config\x20set','cvZRg','sQDBG','UToMK','VuMIY','HuxFG','use\x20<profile-name>','Environment\x20name','EKWgj','UlZzE','lIhLk','issues','dZuOI','slice','ghEwM','oDwcZ','vADQY','setup\x20[tokenOrSubcommand]','FDVNG','safe-mode','\x20INCOMPLETE','string','delete','ywocL','set\x20<profile>\x20<key>\x20<value>','force','ranger\x20add\x20env','setup-header','ranger\x20config\x20get','scriptName','wksXd','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','env','StExc','Unknown\x20command','Feature\x20review\x20ID','UfBbd','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','Config\x20key\x20to\x20remove','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','ranger\x20feature\x20delete','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Restore\x20a\x20soft-deleted\x20feature\x20review','scenario','cIXUf','bBCkk','710018OKYlsK','ranger\x20feature\x20restore','UFpSK','bYhpg','SCRCc','Delete\x20a\x20cloud\x20profile','ObLaN','nbpkK','Set\x20a\x20config\x20value','evaluationReason','amusp','woMVj','1032335Mpneep','Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','HGVFn','show\x20[id]','uMquc','XhlYK','Switch\x20to\x20using\x20a\x20specific\x20profile','login','Eyivt','nXkVi','WQOnU','tyctq','argv','forEach','cdp-endpoint','opencode','486206iVTady','zZBJR','include-deleted','QPVCM','limit','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','name','yes','List\x20all\x20feature\x20reviews','wSSoY','base-url','iQHSY','skip-auth','LqvXd','Authenticate\x20via\x20MCP\x20proxy','YtKZw','RANGER_TEST_USERNAME','tuavb','thNLx','2837282vhdiyQ','Example:\x20ranger\x20create\x20my-feature','awFzw','You\x20must\x20specify\x20a\x20config\x20subcommand','knvuX','env-name','emqeN','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','version','jMrkn','acyJT','zmJyq','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','Run\x20full\x20interactive\x20setup','nbuMR','uZfNx','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','KSIDp','UyvPs','xOMUY','yOYLZ','ICJLx','WZPOF','iBfKR','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','not_configured','ranger\x20setup','error','Config\x20key','RANGER_TEST_PASSWORD','XFUQw','PIddS','login\x20<name>','Add\x20profile\x20configuration','ZeDFY','piFXm','tivcT','feature\x20delete','UeOEv','XRzNE','profile\x20migrate','Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level','url','YGSeL','hbfQF','SVdnD','feature\x20list','trim','JOqiH','fail','ZWjcQ','LKptU','\x20\x20https://docs.ranger.net\x0a','ranger\x20get-review','config\x20list','auth','xdeUs','ranger\x20profile\x20config\x20unset','ranger\x20profile\x20encrypt-auth','ZNKGO','profile\x20encrypt-auth','setup-ci','config\x20get','trackCommandError','PmoNi','\x20is\x20no\x20longer\x20supported.\x20','XwnxT','byxyo','ranger\x20go','get-review\x20[id]','start-path','partial','Manage\x20profile\x20configuration','Number\x20of\x20feature\x20reviews\x20to\x20skip','IFqql','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','get-feedback\x20[id]','Cloud\x20profile\x20name','print-access-token','test_output','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','ytLEc','profile\x20login','hook','Feature\x20review\x20description','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','Pdpbe','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','ePnLC','ranger','MfJgC','log','Authenticate\x20with\x20Ranger','mybeW','Base\x20URL\x20of\x20the\x20running\x20app','maffG','pszHh','ranger\x20profile\x20ls','jHIUb','OratY','enable','user','fZZdH','KNMKO','config','tNKcF','mcp-bootstrap','nFBGZ','\x20VERIFIED','LEAuX','OUqnl','sfrby','YyFzM','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','key','peOZN','ozeqB','FKZQk','token','Login\x20failed:\x20','cLnoy','ranger\x20show','SYEhV','YxDaB','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','CRXhn','tokenOrSubcommand','usage','ujsAn','\x0aUnknown\x20command:\x20','lfUKT','VVPSF','xEDft','ZEfdB','cwd','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','.\x20[','AroCe','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','ranger\x20profile\x20use','NODE_ENV','project','FzAEK','Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.','uSUEX','uOxUV','profile\x20config\x20list','filter','iXcSj','thKuS','1265874wDcVuX','allow-insecure-localhost','bkMbg','jFguf','env\x20update','task','exit','FHFwJ','mLYsl','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','uopWu','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','EGobC','--profile','Remove\x20a\x20config\x20value','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','Xaync','iDBlX','DGCnl','oJOla','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','XRhDh','feature','ySBPV','jwGlD','option','AUMDE','model','item','profile-name','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','New\x20scenario\x20description','Manage\x20profiles','blocked','Install\x20OS-level\x20dependencies\x20for\x20Chromium','number'];_0x51e5=function(){return _0x2ee8d5;};return _0x51e5();}export function buildParser(_0x97ab88){const _0x51e773=_0x5bf4be,_0x5e336a={'woMVj':_0x51e773(0x274),'mLYsl':_0x51e773(0x1c6),'fMtGI':_0x51e773(0x2fc),'ARbAM':function(_0x2a0076,_0x1f40a3){return _0x2a0076+_0x1f40a3;},'aseyC':'ranger\x20create','eLsbP':'--checklist','iKVSP':'--scenario','nAlxd':function(_0x3c6c96,_0x4e6f02,_0x30fc79){return _0x3c6c96(_0x4e6f02,_0x30fc79);},'HauYy':_0x51e773(0x29a),'VQMBe':_0x51e773(0x27b),'sfrby':'boolean','wksXd':'offset','izWZE':'number','dgPUR':_0x51e773(0x37c),'FHFwJ':_0x51e773(0x2f4),'StExc':_0x51e773(0x278),'yUcoI':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','Xaync':function(_0x3bdf28,_0x53ac97,_0x4accad){return _0x3bdf28(_0x53ac97,_0x4accad);},'UFpSK':'string','XgEht':'add-scenario','bWZGc':_0x51e773(0x227),'nbpkK':_0x51e773(0x22c),'zvfsN':_0x51e773(0x2ac),'knvuX':_0x51e773(0x37e),'uZfNx':'report','dBzKF':_0x51e773(0x294),'oDwcZ':'token','NEeFx':'skip-chromium','OratY':'Skip\x20authentication','Rdgqi':'force','fsPLJ':_0x51e773(0x2b8),'zZBJR':_0x51e773(0x31c),'hlXzl':'mcp','cyMsI':_0x51e773(0x254),'mybeW':_0x51e773(0x237),'YGSeL':'setup:deps','uSUEX':_0x51e773(0x245),'yOYLZ':_0x51e773(0x1d7),'uMquc':'Install\x20scope\x20for\x20plugin\x20and\x20skills','JZTTL':_0x51e773(0x2fa),'tNKcF':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','VVPSF':'url','Xysbu':function(_0x3e0293,_0x1c0911){return _0x3e0293+_0x1c0911;},'nvqtV':function(_0x485e9a){return _0x485e9a();},'JbVhc':'setup:login','xvPUR':function(_0x2b7786,_0x175e6e){return _0x2b7786(_0x175e6e);},'awFzw':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','uHJgs':'all','ZFqDy':'deps','YyFzM':'Install\x20Chromium\x20browser\x20binary','pFcmJ':_0x51e773(0x314),'UfBbd':_0x51e773(0x1f9),'lwmOO':'Set\x20up\x20a\x20local\x20browser\x20profile','sQDBG':'allow-insecure-localhost','qUhFQ':_0x51e773(0x1fc),'pZlKX':'skip-auth','cvZRg':_0x51e773(0x2f8),'UToMK':'mcp-bootstrap','nqkco':function(_0x4dce9e,_0x580978,_0x2822dc){return _0x4dce9e(_0x580978,_0x2822dc);},'txVvB':_0x51e773(0x23e),'lGdcm':_0x51e773(0x22d),'ceUBQ':_0x51e773(0x348),'UlZzE':_0x51e773(0x370),'VTYBz':'Install\x20skills\x20for\x20OpenCode','RGnIa':'skillup','JIZHC':'clean','TaHlx':_0x51e773(0x225),'VuuFC':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','CRXhn':_0x51e773(0x31b),'VuMIY':_0x51e773(0x295),'TCwjH':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','ZCNtf':_0x51e773(0x21c),'fWrgb':_0x51e773(0x297),'vQNGu':'profile\x20use','TyYYg':_0x51e773(0x36f),'SkVki':_0x51e773(0x380),'ZDeJh':_0x51e773(0x34c),'ypuWC':_0x51e773(0x1c4),'SXPil':function(_0x4158cd,_0x3ae2a4,_0x5c8d64,_0x589ae6){return _0x4158cd(_0x3ae2a4,_0x5c8d64,_0x589ae6);},'uOxUV':_0x51e773(0x2f6),'DMrCj':'profile\x20update','FFBEe':'Skip\x20interactive\x20confirmation\x20prompts.','nbuMR':'save-creds','malmP':_0x51e773(0x35b),'XTwLd':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','RAfoG':_0x51e773(0x2cf),'IFqql':_0x51e773(0x2ca),'vSsYL':'profile\x20config\x20unset','RFlqf':_0x51e773(0x28d),'SCRCc':'reset\x20<profile>','ghEwM':_0x51e773(0x313),'jMrkn':'delete\x20<profile-name>','ObLaN':'update\x20<profile-name>','ujsAn':'Update\x20authentication\x20for\x20an\x20existing\x20profile','rzPOH':_0x51e773(0x353),'wdgzy':_0x51e773(0x37b),'kowgy':_0x51e773(0x2c0),'WQOnU':function(_0xeae531,_0x551311,_0xcd8914){return _0xeae531(_0x551311,_0xcd8914);},'NAjQw':_0x51e773(0x1c0),'ZNKGO':'profile','IXyMg':_0x51e773(0x322),'PmoNi':_0x51e773(0x244),'NWNhh':'Scenario\x20index\x20(1-based)','FMbTk':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','LYZVD':_0x51e773(0x276),'DVSDT':_0x51e773(0x27d),'XWlzP':_0x51e773(0x34a),'ZkjPL':_0x51e773(0x2aa),'VgbVf':'environment-variable','rYDGg':'debug-outcome','jzGrr':'verified','upvKy':'debug-address-comments','amusp':_0x51e773(0x20d),'acyJT':_0x51e773(0x224),'apQyb':'You\x20must\x20specify\x20an\x20auth\x20subcommand','Emjhd':_0x51e773(0x234),'IKKBg':_0x51e773(0x22a),'Ljjwq':'ranger\x20start','EKWgj':_0x51e773(0x34d),'fZZdH':_0x51e773(0x2f1),'fLeri':_0x51e773(0x379),'xEDft':'base-url','FDVNG':_0x51e773(0x37a),'hCFSp':'failed','PaaDo':'incomplete','gFYWG':_0x51e773(0x1c7),'jFguf':_0x51e773(0x349),'KvZyX':_0x51e773(0x2eb),'attbo':_0x51e773(0x2b4),'VKXOd':'Name\x20of\x20the\x20environment','CjVWL':_0x51e773(0x2bd),'BwYjd':_0x51e773(0x1fd),'vADQY':'use','oJOla':function(_0x4e448f,_0x5d1d06,_0xf4ec01){return _0x4e448f(_0x5d1d06,_0xf4ec01);},'hxkYw':'ranger\x20config\x20set','bBCkk':_0x51e773(0x2d1),'zSFmH':_0x51e773(0x2d8),'XRzNE':_0x51e773(0x1e4),'jwGlD':function(_0x1d041b,_0x134256,_0x441e37){return _0x1d041b(_0x134256,_0x441e37);},'euNvm':_0x51e773(0x371),'WZPOF':'ranger\x20config\x20list','OHpqU':_0x51e773(0x263),'SVdnD':'ranger\x20config\x20unset','XwnxT':_0x51e773(0x36c),'OeFzF':'set\x20<env>\x20<key>\x20<value>','AdgYx':'get\x20<env>\x20<key>','TMKvv':'list\x20<env>','gBEUT':_0x51e773(0x333),'SjDhb':'env\x20list','QoWGn':'Name\x20of\x20the\x20environment\x20to\x20update','AUMDE':function(_0x5247c7,_0xf7c160,_0x5c0e54){return _0x5247c7(_0xf7c160,_0x5c0e54);},'XISJR':_0x51e773(0x20c),'ZEfdB':function(_0x1308d6,_0x6856a1,_0x1420c4){return _0x1308d6(_0x6856a1,_0x1420c4);},'xdeUs':'ranger\x20list','XhlYK':_0x51e773(0x2ba),'YxDaB':'Scenario\x20description','ViwFv':_0x51e773(0x358),'XRhDh':function(_0x5cb40d,_0x25b040,_0x560730){return _0x5cb40d(_0x25b040,_0x560730);},'kXVkp':'feature\x20restore','wMlMP':'Feature\x20review\x20name','dZuOI':_0x51e773(0x2f0),'peOZN':'limit','GtwsM':'feature\x20resume','HwjiB':'ranger\x20add-scenario','cIXUf':'feature\x20get-feedback','XFUQw':_0x51e773(0x2bb),'wSSoY':_0x51e773(0x310),'MWwCG':'resume\x20[id]','emqeN':'add-checklist-item\x20<description>','jHIUb':'restore\x20<id>','WwfwM':_0x51e773(0x248),'SYEhV':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','LOPji':'name','iXcSj':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','Nizay':'session-id','PFIph':_0x51e773(0x1e3),'bkMbg':function(_0x56c2ba,_0x208dfe,_0x17f781){return _0x56c2ba(_0x208dfe,_0x17f781);},'tnXlc':function(_0x303735,_0x27dab0){return _0x303735||_0x27dab0;},'uklTT':'Unknown\x20error','iacEz':_0x51e773(0x1cb),'UGUVe':_0x51e773(0x2ce),'Gpioi':_0x51e773(0x1ee),'iBfKR':'edit-scenario\x20<description>','RtLea':_0x51e773(0x378),'SnTYM':_0x51e773(0x272),'zJruk':_0x51e773(0x2fb),'HuxFG':_0x51e773(0x253),'IILaY':'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','KVrxP':'profiles','bYhpg':_0x51e773(0x228),'nFmGO':_0x51e773(0x291),'qEvwP':_0x51e773(0x36a),'ADiQN':'verify-feature','OUqnl':_0x51e773(0x1da),'CShwN':'Documentation:\x0a','cLnoy':_0x51e773(0x367),'Eyivt':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)'};return _0x277e94(_0x97ab88??process['argv'][_0x51e773(0x2de)](0x2))[_0x51e773(0x2ee)](_0x5e336a['iacEz'])[_0x51e773(0x1f1)](TOP_LEVEL_HELP)[_0x51e773(0x338)](_0x5e336a[_0x51e773(0x2ae)](getCurrentVersion))[_0x51e773(0x232)]('create\x20<name>',_0x51e773(0x217),_0x21e49a=>{const _0xe26b23=_0x51e773;return _0x21e49a['positional'](_0xe26b23(0x323),{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x5e336a['woMVj'],{'type':'string','alias':'d','description':_0x5e336a[_0xe26b23(0x210)]})['option'](_0x5e336a['fMtGI'],{'type':_0xe26b23(0x262),'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0xe26b23(0x221)]('checklist',{'type':'array','hidden':!![]});},async _0x5ee492=>{const _0x10bbd9=_0x51e773;if(!_0x5ee492['name']){console[_0x10bbd9(0x34e)](_0x5e336a['ARbAM']('Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a',_0x10bbd9(0x331))),process['exit'](0x1);return;}warnFlagRenamed(_0x5e336a['aseyC'],_0x5e336a['eLsbP'],_0x5e336a['iKVSP']);const _0x14e563=_0x5ee492['scenario']||_0x5ee492['checklist'];await _0x5e336a[_0x10bbd9(0x292)](withTelemetry,_0x5e336a['HauYy'],()=>featureCreate(_0x5ee492[_0x10bbd9(0x323)],{'description':_0x5ee492['description'],'scenarios':_0x14e563}));})['command'](_0x5e336a['UGUVe'],_0x51e773(0x325),_0x3f00b1=>{const _0x1ae4c7=_0x51e773;return _0x3f00b1['option'](_0x5e336a['VQMBe'],{'type':_0x5e336a[_0x1ae4c7(0x1e1)],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option']('limit',{'type':_0x1ae4c7(0x22b),'alias':'l','description':_0x1ae4c7(0x277),'default':0xa})[_0x1ae4c7(0x221)](_0x5e336a[_0x1ae4c7(0x2ef)],{'type':_0x5e336a['izWZE'],'alias':'o','description':_0x5e336a['dgPUR'],'default':0x0})[_0x1ae4c7(0x221)]('include-deleted',{'type':'boolean','alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x4ff15d=>{const _0x16ded5=_0x51e773;await withTelemetry(_0x16ded5(0x2ce),()=>featureList({'currentBranch':_0x4ff15d[_0x16ded5(0x27b)],'limit':_0x4ff15d[_0x16ded5(0x321)],'offset':_0x4ff15d[_0x16ded5(0x2af)],'includeDeleted':_0x4ff15d[_0x16ded5(0x31f)]}));})['command'](_0x5e336a[_0x51e773(0x326)],'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0xd9551=>{return _0xd9551['positional']('id',{'type':'string','description':_0x5e336a['FHFwJ']});},async _0x53a023=>{const _0x200421=_0x51e773;await withTelemetry(_0x5e336a[_0x200421(0x2f2)],()=>featureShow(_0x53a023['id']));})[_0x51e773(0x232)]('resume\x20[id]',_0x5e336a['Gpioi'],_0x2c7510=>{const _0x2d9689=_0x51e773;return _0x2c7510[_0x2d9689(0x23a)]('id',{'type':'string','description':_0x5e336a['yUcoI']});},async _0x557687=>{const _0x16525d=_0x51e773;await _0x5e336a[_0x16525d(0x218)](withTelemetry,'resume',()=>featureResume(_0x557687['id']));})[_0x51e773(0x232)]('add-scenario\x20<description>','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x2fc897=>{const _0x36b593=_0x51e773;return _0x2fc897[_0x36b593(0x23a)](_0x5e336a['woMVj'],{'type':'string','description':_0x36b593(0x2b1),'demandOption':!![]})['option']('id',{'type':_0x5e336a['UFpSK'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x2c9c46=>{const _0xb02441=_0x51e773;await withTelemetry(_0x5e336a[_0xb02441(0x23f)],()=>featureAddScenario(_0x2c9c46[_0xb02441(0x274)],_0x2c9c46['id']));})[_0x51e773(0x232)](_0x5e336a[_0x51e773(0x347)],_0x51e773(0x34b),_0x1239d4=>{const _0x3bf2e6=_0x51e773;return _0x1239d4[_0x3bf2e6(0x23a)](_0x5e336a[_0x3bf2e6(0x30a)],{'type':'string','description':_0x5e336a['bWZGc'],'demandOption':!![]})[_0x3bf2e6(0x221)]('scenario',{'type':'number','description':_0x3bf2e6(0x25e),'demandOption':!![]})['option']('id',{'type':_0x5e336a['UFpSK'],'description':_0x5e336a['nbpkK']});},async _0x5f37ac=>{const _0x270359=_0x51e773;await _0x5e336a['Xaync'](withTelemetry,_0x270359(0x28c),()=>featureEditScenario(_0x5f37ac['description'],{'id':_0x5f37ac['id'],'scenario':_0x5f37ac[_0x270359(0x2fc)]}));})[_0x51e773(0x232)]('report\x20[id]','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x560d62=>{const _0x5c50bb=_0x51e773;return _0x560d62['positional']('id',{'type':_0x5c50bb(0x2e6),'description':_0x5e336a['FHFwJ']})[_0x5c50bb(0x221)](_0x5e336a[_0x5c50bb(0x2cc)],{'type':'array','description':_0x5c50bb(0x282)})[_0x5c50bb(0x221)](_0x5c50bb(0x249),{'type':_0x5e336a[_0x5c50bb(0x1e1)],'description':_0x5e336a[_0x5c50bb(0x334)],'default':![]});},async _0x7f5cfc=>{const _0x5f5a6a=_0x51e773,_0x2c0775=_0x7f5cfc['exclude-scenario'],_0x2d9844=_0x2c0775?_0x2c0775['map'](_0x2d9a70=>Number(_0x2d9a70)):undefined;await _0x5e336a[_0x5f5a6a(0x292)](withTelemetry,_0x5e336a[_0x5f5a6a(0x33f)],()=>featureReportPrDescription(_0x7f5cfc['id'],{'excludeScenarios':_0x2d9844,'json':_0x7f5cfc[_0x5f5a6a(0x249)]}));})[_0x51e773(0x232)](_0x5e336a['RtLea'],'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x1242d0=>{return _0x1242d0['positional']('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x4a6e7c=>{const _0x38ed6b=_0x51e773;await _0x5e336a[_0x38ed6b(0x218)](withTelemetry,_0x5e336a['dBzKF'],()=>featureGetReview(_0x4a6e7c['id']));})[_0x51e773(0x232)](_0x5e336a['SnTYM'],'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x2af40c=>{const _0x3dec61=_0x51e773;return _0x2af40c[_0x3dec61(0x23a)]('id',{'type':_0x5e336a['UFpSK'],'description':'Feature\x20review\x20ID'});},async _0x287cf9=>{const _0x36b7cc=_0x51e773;await withTelemetry(_0x36b7cc(0x2e7),()=>featureDelete(_0x287cf9['id']));})[_0x51e773(0x232)](_0x5e336a[_0x51e773(0x1d4)],_0x5e336a['zJruk'],_0x51f952=>{const _0x4c0b9f=_0x51e773;return _0x51f952[_0x4c0b9f(0x23a)]('id',{'type':_0x4c0b9f(0x2e6),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x4f0bf9=>{await withTelemetry('restore',()=>featureRestore(_0x4f0bf9['id']));})['command'](_0x51e773(0x2e2),_0x5e336a[_0x51e773(0x2d6)],_0x2dcad8=>{const _0x23b5f5=_0x51e773,_0x4b10ee={'EGobC':'Ranger\x20API\x20token\x20(rngr_...)','qhlyY':function(_0x372b38){return _0x5e336a['nvqtV'](_0x372b38);},'LEAuX':_0x5e336a['JbVhc'],'UyvPs':'ranger','DGCnl':function(_0x4772fd){return _0x4772fd();},'DYAdk':function(_0x3d8850,_0x8fa835){return _0x5e336a['xvPUR'](_0x3d8850,_0x8fa835);},'UeOEv':'setup:skills'};return _0x2dcad8[_0x23b5f5(0x1f1)](_0x23b5f5(0x35c))['positional'](_0x23b5f5(0x1f0),{'type':_0x23b5f5(0x2e6),'description':_0x5e336a[_0x23b5f5(0x332)]})['command'](_0x5e336a[_0x23b5f5(0x2b9)],_0x23b5f5(0x33d),_0x421daa=>{const _0xa769f9=_0x23b5f5;return _0x421daa[_0xa769f9(0x221)](_0x5e336a['oDwcZ'],{'type':_0xa769f9(0x2e6),'description':_0xa769f9(0x22d)})['option'](_0x5e336a['NEeFx'],{'type':_0x5e336a[_0xa769f9(0x1e1)],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option'](_0xa769f9(0x329),{'type':_0x5e336a[_0xa769f9(0x1e1)],'description':_0x5e336a[_0xa769f9(0x1d5)],'default':![]})['option']('with-deps',{'type':_0x5e336a[_0xa769f9(0x1e1)],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]})['option'](_0xa769f9(0x245),{'type':'string','choices':['user'],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option']('url',{'type':_0xa769f9(0x2e6),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})[_0xa769f9(0x221)](_0x5e336a['Rdgqi'],{'type':_0x5e336a[_0xa769f9(0x1e1)],'description':_0x5e336a[_0xa769f9(0x28f)],'default':![]})[_0xa769f9(0x221)](_0x5e336a[_0xa769f9(0x31e)],{'type':_0x5e336a['sfrby'],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})[_0xa769f9(0x221)](_0xa769f9(0x209),{'type':'boolean','description':_0xa769f9(0x289),'default':![]})['option'](_0xa769f9(0x1dc),{'type':'boolean','description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','default':![]})['option'](_0x5e336a['hlXzl'],{'type':_0x5e336a['sfrby'],'description':'Alias\x20for\x20--mcp-bootstrap','default':![]});},async _0x1ca81e=>{const _0x9b8ed0=_0x23b5f5;(_0x1ca81e[_0x9b8ed0(0x1dc)]||_0x1ca81e['mcp'])&&await _0x5e336a[_0x9b8ed0(0x218)](withTelemetry,'mcp-bootstrap',()=>mcpBootstrap()),await withTelemetry(_0x5e336a['cyMsI'],_0x5e9348=>start(_0x1ca81e['token'],{'skipChromium':_0x1ca81e[_0x9b8ed0(0x2c5)],'skipAuth':_0x1ca81e['skip-auth'],'withDeps':_0x1ca81e[_0x9b8ed0(0x237)],'scope':_0x1ca81e['scope'],'url':_0x1ca81e['url'],'force':_0x1ca81e['force'],'opencode':_0x1ca81e['opencode'],'allowInsecureLocalhost':_0x1ca81e['allow-insecure-localhost']},_0x5e9348));})['command'](_0x5e336a['ZFqDy'],_0x5e336a[_0x23b5f5(0x1e2)],_0x434228=>{const _0xefd48b=_0x23b5f5;return _0x434228['option'](_0x5e336a[_0xefd48b(0x1cf)],{'type':_0x5e336a['sfrby'],'description':_0xefd48b(0x2f8),'default':![]});},async _0x1690d8=>{const _0x46db43=_0x23b5f5;await withTelemetry(_0x5e336a[_0x46db43(0x35e)],()=>ensureChromium(_0x1690d8['with-deps']));})['command'](_0x5e336a['pFcmJ'],_0x23b5f5(0x1ce),_0x58ac37=>{const _0x592d27=_0x23b5f5;return _0x58ac37['option'](_0x592d27(0x1e8),{'type':_0x592d27(0x2e6),'description':_0x4b10ee[_0x592d27(0x214)]})['option'](_0x592d27(0x2a0),{'type':'boolean','description':_0x592d27(0x32b),'default':![]});},async _0x2e17e0=>{const _0x2619e9=_0x23b5f5,_0x4b7085={'hxoKR':function(_0x46867d){const _0x312c73=_0x23e3;return _0x4b10ee[_0x312c73(0x2a5)](_0x46867d);},'ubtjT':function(_0x2e3f1e,_0x4d5d97){return _0x2e3f1e(_0x4d5d97);}};await withTelemetry(_0x4b10ee[_0x2619e9(0x1df)],async()=>{const _0x158d50=_0x2619e9;if(_0x2e17e0['mcp']){await _0x4b7085['hxoKR'](mcpBootstrap);const _0x18b794=await _0x4b7085['hxoKR'](refreshCliToken);if(!_0x18b794)throw new Error('Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.');const _0x240ad5=await _0x4b7085['ubtjT'](getCurrentUser,_0x18b794);if(!_0x240ad5['success'])throw new Error(_0x158d50(0x255)+_0x240ad5[_0x158d50(0x34e)]);console[_0x158d50(0x1cd)](_0x158d50(0x29e)+_0x240ad5[_0x158d50(0x1d7)]['organizationName']);return;}await authenticate(_0x2e17e0['token']);});})[_0x23b5f5(0x232)]('skills',_0x5e336a[_0x23b5f5(0x2f5)],_0x366323=>{const _0x4b9b29=_0x23b5f5;return _0x366323['option'](_0x5e336a[_0x4b9b29(0x202)],{'type':_0x4b9b29(0x2e6),'choices':[_0x5e336a[_0x4b9b29(0x344)],'project'],'description':_0x5e336a[_0x4b9b29(0x311)]})['option'](_0x4b9b29(0x31c),{'type':_0x5e336a[_0x4b9b29(0x1e1)],'description':_0x5e336a[_0x4b9b29(0x22f)],'default':![]});},async _0x1befb8=>{const _0x21822a=_0x23b5f5;await withTelemetry(_0x4b10ee[_0x21822a(0x359)],async()=>{const _0x415fab=_0x21822a,_0x5f33bd=_0x1befb8[_0x415fab(0x245)];if(_0x1befb8[_0x415fab(0x31c)]){const _0x572b56=await ensureOpencodePluginConfig(_0x5f33bd);_0x572b56&&await installSkill(_0x4b10ee[_0x415fab(0x342)],{'level':_0x572b56[_0x415fab(0x245)],'cliVersion':_0x4b10ee[_0x415fab(0x21a)](getCurrentVersion),'platform':_0x415fab(0x31c)});}else await _0x4b10ee['DYAdk'](ensureClaudePlugin,_0x5f33bd),await _0x4b10ee['DYAdk'](ensureClaudeSkills,_0x5f33bd);});})[_0x23b5f5(0x232)](_0x23b5f5(0x25d),_0x5e336a['lwmOO'],_0x4c0d0a=>{const _0x309e58=_0x23b5f5;return _0x4c0d0a[_0x309e58(0x221)]('scope',{'type':'string','choices':[_0x5e336a[_0x309e58(0x344)]],'description':_0x5e336a[_0x309e58(0x1db)]})[_0x309e58(0x221)](_0x5e336a['VVPSF'],{'type':_0x5e336a[_0x309e58(0x301)],'description':_0x309e58(0x1d0)})['option'](_0x309e58(0x329),{'type':_0x5e336a[_0x309e58(0x1e1)],'description':'Skip\x20browser\x20authentication','default':![]})[_0x309e58(0x221)]('force',{'type':_0x5e336a[_0x309e58(0x1e1)],'description':_0x309e58(0x2b8),'default':![]})[_0x309e58(0x221)]('allow-insecure-localhost',{'type':_0x5e336a['sfrby'],'description':_0x309e58(0x289),'default':![]});},async _0x42b6ac=>{const _0x5bec55=_0x23b5f5,_0x311a7f=_0x42b6ac['scope'];_0x311a7f!==undefined&&_0x311a7f!==_0x5bec55(0x1d7)&&(console['error'](_0x5e336a[_0x5bec55(0x28b)](_0x5bec55(0x260)+_0x311a7f+_0x5bec55(0x374),'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20')+'Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.'),process['exit'](0x1)),await withTelemetry('setup:profiles',_0x3358fa=>ensureLocalEnv({'url':_0x42b6ac['url'],'force':_0x42b6ac[_0x5bec55(0x2ea)],'allowInsecureLocalhost':_0x42b6ac['allow-insecure-localhost'],'scope':'user'},_0x3358fa));})['option'](_0x23b5f5(0x2c5),{'type':_0x23b5f5(0x29d),'description':_0x23b5f5(0x33c),'default':![]})['option'](_0x23b5f5(0x245),{'type':_0x5e336a['UFpSK'],'choices':['user'],'hidden':!![],'description':_0x5e336a['tNKcF']})[_0x23b5f5(0x221)](_0x23b5f5(0x35d),{'type':_0x5e336a[_0x23b5f5(0x301)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option']('force',{'type':'boolean','description':_0x23b5f5(0x2b8),'default':![]})[_0x23b5f5(0x221)]('opencode',{'type':_0x5e336a['sfrby'],'description':_0x23b5f5(0x2fa),'default':![]})['option'](_0x5e336a[_0x23b5f5(0x2d3)],{'type':_0x5e336a['sfrby'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0x23b5f5(0x221)]('mcp-bootstrap',{'type':'boolean','description':_0x5e336a['qUhFQ'],'default':![]})['option'](_0x5e336a['pZlKX'],{'type':_0x5e336a[_0x23b5f5(0x1e1)],'description':_0x23b5f5(0x265),'default':![]})[_0x23b5f5(0x221)](_0x5e336a[_0x23b5f5(0x1cf)],{'type':_0x5e336a[_0x23b5f5(0x1e1)],'description':_0x5e336a[_0x23b5f5(0x2d2)],'default':![]})['option'](_0x5e336a['oDwcZ'],{'type':_0x23b5f5(0x2e6),'hidden':!![],'description':'API\x20token'});},async _0x262269=>{const _0x23b1e7=_0x51e773,_0x32d7b6=_0x262269['tokenOrSubcommand'],_0x2c39fa=_0x262269[_0x23b1e7(0x1e8)]??_0x32d7b6;_0x262269['mcp-bootstrap']&&await withTelemetry(_0x5e336a[_0x23b1e7(0x2d4)],()=>mcpBootstrap()),await _0x5e336a['nqkco'](withTelemetry,_0x5e336a['txVvB'],_0x2e9ab7=>start(_0x2c39fa,{'skipChromium':_0x262269['skip-chromium'],'skipAuth':_0x262269[_0x23b1e7(0x329)],'withDeps':_0x262269['with-deps'],'scope':_0x262269['scope'],'url':_0x262269[_0x23b1e7(0x35d)],'force':_0x262269['force'],'opencode':_0x262269[_0x23b1e7(0x31c)],'allowInsecureLocalhost':_0x262269['allow-insecure-localhost']},_0x2e9ab7));})['command']('setup-ci\x20<token>',![],_0x13f5b0=>{const _0x438bf5=_0x51e773;return _0x13f5b0['positional'](_0x5e336a[_0x438bf5(0x2e0)],{'type':_0x5e336a[_0x438bf5(0x301)],'description':_0x5e336a[_0x438bf5(0x26c)],'demandOption':!![]})[_0x438bf5(0x221)]('profile',{'type':_0x5e336a['UFpSK'],'description':_0x5e336a[_0x438bf5(0x246)]})['option'](_0x438bf5(0x327),{'type':_0x438bf5(0x2e6),'description':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)'})[_0x438bf5(0x221)]('skip-chromium',{'type':_0x5e336a['sfrby'],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x121581=>{const _0x3c3625=_0x51e773;await withTelemetry(_0x5e336a[_0x3c3625(0x2da)],_0x4422aa=>setupCi(_0x121581['token'],{'profile':_0x121581[_0x3c3625(0x2cb)],'baseUrl':_0x121581['base-url'],'skipChromium':_0x121581['skip-chromium']},_0x4422aa));})['command'](_0x5e336a['pFcmJ'],_0x51e773(0x30d),()=>{},async()=>{await withTelemetry('login',()=>login());})['command'](_0x5e336a[_0x51e773(0x2bc)],'Install\x20Ranger\x20skills',_0x501226=>{const _0x53534c=_0x51e773;return _0x501226[_0x53534c(0x221)](_0x53534c(0x31c),{'type':_0x53534c(0x29d),'description':_0x5e336a[_0x53534c(0x298)],'default':![]})[_0x53534c(0x221)](_0x5e336a['uSUEX'],{'type':'string','choices':[_0x5e336a[_0x53534c(0x344)],_0x53534c(0x1ff)],'description':'Install\x20scope\x20for\x20skills'});},async _0xae48cb=>{const _0x37823a=_0x51e773,_0xe4041f=Boolean(_0xae48cb['opencode']);await _0x5e336a[_0x37823a(0x218)](withTelemetry,_0x5e336a[_0x37823a(0x2bc)],()=>skillup({'autoInstall':_0xae48cb['scope'],'platform':_0xe4041f?_0x37823a(0x31c):'claude'}));})[_0x51e773(0x232)](_0x5e336a['JIZHC'],_0x5e336a['IILaY'],()=>{},async()=>{await withTelemetry(_0x5e336a['JIZHC'],()=>clean());})[_0x51e773(0x232)]([_0x5e336a['ZNKGO'],_0x5e336a[_0x51e773(0x233)]],_0x5e336a[_0x51e773(0x302)],_0x39a2d7=>{const _0x1c3275=_0x51e773,_0x3b54d6={'LZHvh':function(_0x541b1f,_0xcf7324,_0x2ecba4,_0xc5c3f4){return _0x5e336a['SXPil'](_0x541b1f,_0xcf7324,_0x2ecba4,_0xc5c3f4);},'YtKZw':'profile\x20add','MfJgC':_0x5e336a[_0x1c3275(0x1ef)],'nFBGZ':'profile-name','tivcT':'boolean','GHqAC':'Skip\x20the\x20deletion\x20confirmation\x20prompt.','okFSx':function(_0x2e01a9,_0x56b3b9,_0x30f50a){return _0x2e01a9(_0x56b3b9,_0x30f50a);},'Pdpbe':'profile\x20delete','ErmWq':'profile\x20ls','AroCe':'string','KSIDp':_0x5e336a[_0x1c3275(0x203)],'hkRTN':function(_0x2f42d3,_0xf29b7a,_0x288656){return _0x2f42d3(_0xf29b7a,_0x288656);},'FzAEK':_0x5e336a['DMrCj'],'GNSSw':_0x1c3275(0x26d),'ytLEc':_0x1c3275(0x2b3),'jOhMC':_0x1c3275(0x230),'thKuS':'dry-run','JOqiH':_0x5e336a['FFBEe'],'DEilT':_0x5e336a[_0x1c3275(0x33e)],'PHgmE':function(_0x58bf55,_0x2e4f5f,_0x5b703e){return _0x58bf55(_0x2e4f5f,_0x5b703e);},'ZeKPK':_0x5e336a['malmP'],'pszHh':_0x1c3275(0x2cb),'LSJiN':_0x1c3275(0x2a7),'LqvXd':_0x5e336a['XTwLd'],'MXBmp':'value','maeNF':_0x5e336a['RAfoG'],'thNLx':_0x5e336a[_0x1c3275(0x37d)],'HGVFn':_0x5e336a[_0x1c3275(0x23d)],'SReeC':_0x1c3275(0x34f),'iDBlX':'get\x20<profile>\x20<key>','uopWu':'Get\x20a\x20config\x20value','ySBPV':'list\x20<profile>','CpzfK':_0x5e336a['RFlqf'],'lfUKT':_0x5e336a[_0x1c3275(0x303)]};return _0x39a2d7['usage'](PROFILE_HELP)['command']('add\x20<profile-name>',_0x1c3275(0x354),_0x478b52=>{const _0x17a153=_0x1c3275;return _0x478b52[_0x17a153(0x23a)](_0x5e336a['TaHlx'],{'type':'string','description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x5e336a['sfrby'],'hidden':!![],'default':![]})['option']('skip-auth',{'type':_0x17a153(0x29d),'description':_0x17a153(0x337),'default':![]})['option'](_0x5e336a[_0x17a153(0x1f5)],{'type':_0x17a153(0x2e6),'description':_0x5e336a['VuuFC']})[_0x17a153(0x221)](_0x5e336a['Rdgqi'],{'type':_0x5e336a['sfrby'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x17a153(0x221)](_0x5e336a[_0x17a153(0x1ef)],{'type':_0x17a153(0x2e6),'description':_0x5e336a[_0x17a153(0x2d5)]})['option']('allow-insecure-localhost',{'type':'boolean','description':_0x17a153(0x2f6),'default':![]})[_0x17a153(0x221)]('safe-mode',{'type':_0x5e336a['sfrby'],'description':_0x5e336a['TCwjH'],'default':![]})['option'](_0x17a153(0x2ec),{'type':_0x5e336a[_0x17a153(0x301)],'array':!![],'description':_0x17a153(0x28a)})[_0x17a153(0x221)](_0x5e336a[_0x17a153(0x202)],{'type':'string','choices':[_0x5e336a[_0x17a153(0x344)],_0x17a153(0x1ff)],'description':_0x5e336a['ZCNtf']})['option']('yes',{'type':_0x5e336a[_0x17a153(0x1e1)],'alias':'y','description':_0x5e336a['fWrgb'],'default':![]});},async _0x5cfd50=>{const _0x12fa87=_0x1c3275;await _0x3b54d6['LZHvh'](withTelemetry,_0x3b54d6[_0x12fa87(0x32c)],_0x2fdbe5=>addEnv(_0x5cfd50[_0x12fa87(0x225)],{'ci':_0x5cfd50['ci'],'skipAuth':_0x5cfd50[_0x12fa87(0x329)],'url':_0x5cfd50['url'],'force':_0x5cfd50[_0x12fa87(0x2ea)],'cdpEndpoint':_0x5cfd50['cdp-endpoint'],'allowInsecureLocalhost':_0x5cfd50[_0x12fa87(0x209)],'safeMode':_0x5cfd50[_0x12fa87(0x2e4)],'setupHeader':_0x5cfd50[_0x12fa87(0x2ec)],'scope':_0x5cfd50[_0x12fa87(0x245)],'yes':_0x5cfd50['yes']},_0x2fdbe5),{'isElectron':Boolean(_0x5cfd50[_0x3b54d6[_0x12fa87(0x1cc)]])});})['command'](_0x1c3275(0x2d7),_0x5e336a[_0x1c3275(0x2df)],_0x3b2589=>{const _0x54cf76=_0x1c3275;return _0x3b2589[_0x54cf76(0x23a)]('profile-name',{'type':'string','description':'Name\x20of\x20the\x20profile','demandOption':!![]});},async _0x1b5770=>{await withTelemetry(_0x5e336a['vQNGu'],()=>useEnv(_0x1b5770['profile-name']));})[_0x1c3275(0x232)](_0x5e336a[_0x1c3275(0x339)],_0x1c3275(0x304),_0x2342b8=>{const _0x2670a4=_0x1c3275;return _0x2342b8[_0x2670a4(0x23a)](_0x3b54d6['nFBGZ'],{'type':'string','description':_0x2670a4(0x257),'demandOption':!![]})[_0x2670a4(0x221)]('yes',{'type':_0x3b54d6['tivcT'],'alias':'y','description':_0x3b54d6[_0x2670a4(0x26e)],'default':![]});},async _0x140fc1=>{const _0x59c43b=_0x1c3275;await _0x3b54d6['okFSx'](withTelemetry,_0x3b54d6[_0x59c43b(0x1c8)],()=>deleteProfile(_0x140fc1[_0x59c43b(0x225)],{'yes':_0x140fc1[_0x59c43b(0x324)]}));})['command']('encrypt-auth\x20<profile>',![],_0x392d1f=>{const _0x1227c7=_0x1c3275;return _0x392d1f[_0x1227c7(0x23a)](_0x1227c7(0x2cb),{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x1b6abb=>{await _0x5e336a['nqkco'](withTelemetry,_0x5e336a['TyYYg'],()=>authEncrypt(_0x1b6abb['profile']));})['command']('ls',_0x1c3275(0x2a9),()=>{},async()=>{const _0x1557b8=_0x1c3275;await withTelemetry(_0x3b54d6[_0x1557b8(0x29b)],()=>envList());})[_0x1c3275(0x232)](_0x5e336a[_0x1c3275(0x305)],_0x5e336a[_0x1c3275(0x1f2)],_0x3727bb=>{const _0x397a0b=_0x1c3275;return _0x3727bb['positional'](_0x3b54d6[_0x397a0b(0x1dd)],{'type':_0x3b54d6[_0x397a0b(0x1fb)],'description':_0x397a0b(0x261),'demandOption':!![]})['option']('allow-insecure-localhost',{'type':_0x3b54d6['tivcT'],'description':_0x3b54d6[_0x397a0b(0x341)]})['option']('manual',{'type':_0x3b54d6['tivcT'],'description':_0x397a0b(0x30c)});},async _0x28dfaf=>{const _0x56498d=_0x1c3275;await _0x3b54d6[_0x56498d(0x2c3)](withTelemetry,_0x3b54d6[_0x56498d(0x200)],_0x47b946=>updateEnv(_0x28dfaf['profile-name'],_0x47b946,{'allowInsecureLocalhost':_0x28dfaf['allow-insecure-localhost'],'manual':_0x28dfaf[_0x56498d(0x24a)]}));})[_0x1c3275(0x232)](_0x5e336a[_0x1c3275(0x2a1)],![],_0x3a4f5a=>{const _0x5d5702=_0x1c3275;return _0x3a4f5a[_0x5d5702(0x23a)]('name',{'type':'string','description':_0x5e336a['SkVki'],'demandOption':!![]});},async _0x3d341b=>{const _0x52d417=_0x1c3275,_0x10c533={'iNsAy':function(_0x110875,_0x43459e){return _0x110875===_0x43459e;},'WjViA':_0x5e336a['ZDeJh'],'kSmKc':_0x52d417(0x340)};await withTelemetry(_0x5e336a['ypuWC'],async()=>{const _0x5b24d5=_0x52d417,_0x1389c2=process['env'][_0x5b24d5(0x32d)],_0x6de44f=process['env'][_0x5b24d5(0x350)];(!_0x1389c2||!_0x6de44f)&&(console[_0x5b24d5(0x34e)](_0x5b24d5(0x269)),process['exit'](0x1));const _0x4133a3=_0x3d341b['name'],_0x4980fb=await serverSideLogin(_0x4133a3,{'force':!![]});_0x10c533['iNsAy'](_0x4980fb[_0x5b24d5(0x288)],_0x10c533['WjViA'])&&(console['error'](_0x10c533[_0x5b24d5(0x2c7)]),process[_0x5b24d5(0x20e)](0x1)),_0x4980fb['status']===_0x5b24d5(0x24f)&&(console['error'](_0x5b24d5(0x1e9)+(_0x4980fb[_0x5b24d5(0x34e)]??'unknown\x20error')),_0x4980fb[_0x5b24d5(0x1c1)]&&console['error'](_0x4980fb[_0x5b24d5(0x1c1)]),process[_0x5b24d5(0x20e)](0x1)),console[_0x5b24d5(0x1cd)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x4133a3+'\x27.\x20Session\x20saved.');});})['command']('migrate\x20[profile-name]',![],_0x5f34a0=>{const _0x39f2d9=_0x1c3275;return _0x5f34a0[_0x39f2d9(0x23a)](_0x39f2d9(0x225),{'type':'string','description':_0x3b54d6['GNSSw']})[_0x39f2d9(0x221)](_0x3b54d6[_0x39f2d9(0x1c3)],{'type':_0x3b54d6[_0x39f2d9(0x357)],'description':_0x3b54d6['jOhMC'],'default':![]})['option'](_0x3b54d6[_0x39f2d9(0x207)],{'type':_0x39f2d9(0x29d),'description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})['option'](_0x39f2d9(0x324),{'type':'boolean','alias':'y','description':_0x3b54d6[_0x39f2d9(0x363)],'default':![]})['option'](_0x3b54d6[_0x39f2d9(0x2d0)],{'type':_0x3b54d6[_0x39f2d9(0x357)],'description':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','default':![]});},async _0xb6574a=>{const _0x5bd3a2=_0x1c3275;await _0x3b54d6['PHgmE'](withTelemetry,_0x3b54d6['ZeKPK'],_0x5f08e0=>migrateProfile({'profileName':_0xb6574a['profile-name'],'all':_0xb6574a[_0x5bd3a2(0x2b3)],'dryRun':_0xb6574a['dry-run'],'yes':_0xb6574a[_0x5bd3a2(0x324)],'saveCreds':_0xb6574a[_0x5bd3a2(0x239)]},_0x5f08e0));})['command'](_0x1c3275(0x1da),_0x5e336a['wdgzy'],_0x1e92d4=>{const _0x309b34=_0x1c3275,_0x4cf09a={'ICJLx':_0x309b34(0x2e6),'FKZQk':_0x309b34(0x1e4),'byxyo':_0x3b54d6[_0x309b34(0x243)],'YavtL':_0x309b34(0x2cb),'bIPll':_0x3b54d6['LSJiN'],'vmWFY':_0x309b34(0x2f7)};return _0x1e92d4['usage'](PROFILE_CONFIG_HELP)['command'](_0x309b34(0x2e9),_0x309b34(0x307),_0x22d267=>{const _0x4cf7a1=_0x309b34;return _0x22d267[_0x4cf7a1(0x23a)](_0x3b54d6['pszHh'],{'type':'string','description':_0x3b54d6[_0x4cf7a1(0x268)],'demandOption':!![]})['positional']('key',{'type':_0x3b54d6[_0x4cf7a1(0x1fb)],'description':_0x3b54d6[_0x4cf7a1(0x32a)],'demandOption':!![]})[_0x4cf7a1(0x23a)](_0x3b54d6['MXBmp'],{'type':_0x3b54d6['AroCe'],'description':_0x3b54d6[_0x4cf7a1(0x25a)],'demandOption':!![]});},async _0x2d5322=>{const _0x1b4446=_0x309b34;await _0x3b54d6[_0x1b4446(0x2c4)](withTelemetry,'profile\x20config\x20set',()=>configSet(_0x2d5322[_0x1b4446(0x2cb)],_0x2d5322['key'],_0x2d5322['value']));})[_0x309b34(0x232)](_0x3b54d6[_0x309b34(0x219)],_0x3b54d6[_0x309b34(0x212)],_0x98be09=>{const _0x130037=_0x309b34;return _0x98be09['positional'](_0x130037(0x2cb),{'type':_0x4cf09a[_0x130037(0x345)],'description':_0x130037(0x2a7),'demandOption':!![]})['positional'](_0x4cf09a[_0x130037(0x1e7)],{'type':_0x4cf09a[_0x130037(0x345)],'description':_0x4cf09a[_0x130037(0x376)],'demandOption':!![]});},async _0x3e2872=>{const _0x29c99d=_0x309b34;await _0x3b54d6[_0x29c99d(0x2c4)](withTelemetry,_0x3b54d6[_0x29c99d(0x32f)],()=>configGet(_0x3e2872['profile'],_0x3e2872['key']));})[_0x309b34(0x232)](_0x3b54d6[_0x309b34(0x21f)],_0x3b54d6['CpzfK'],_0x17a289=>{const _0x498d57=_0x309b34;return _0x17a289[_0x498d57(0x23a)](_0x3b54d6[_0x498d57(0x1d2)],{'type':_0x3b54d6['AroCe'],'description':_0x3b54d6['LSJiN'],'demandOption':!![]});},async _0x88cd37=>{const _0x4cf56a=_0x309b34;await withTelemetry(_0x4cf56a(0x204),()=>configList(_0x88cd37['profile']));})[_0x309b34(0x232)](_0x309b34(0x285),_0x309b34(0x216),_0x1afa24=>{const _0x58027b=_0x309b34;return _0x1afa24[_0x58027b(0x23a)](_0x4cf09a['YavtL'],{'type':'string','description':_0x4cf09a['bIPll'],'demandOption':!![]})['positional']('key',{'type':'string','description':_0x4cf09a['vmWFY'],'demandOption':!![]});},async _0x3bc031=>{const _0x521898=_0x309b34;await withTelemetry(_0x3b54d6[_0x521898(0x30f)],()=>configUnset(_0x3bc031[_0x521898(0x2cb)],_0x3bc031['key']));})['command'](_0x3b54d6[_0x309b34(0x1f4)],_0x309b34(0x1c9),_0x1fb8a7=>{const _0x55b6db=_0x309b34;return _0x1fb8a7[_0x55b6db(0x23a)](_0x3b54d6[_0x55b6db(0x1d2)],{'type':_0x3b54d6[_0x55b6db(0x1fb)],'description':_0x3b54d6[_0x55b6db(0x268)],'demandOption':!![]});},async _0x3a3d10=>{await withTelemetry('profile\x20config\x20reset',()=>configReset(_0x3a3d10['profile']));})[_0x309b34(0x2a3)](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})[_0x51e773(0x232)]('status',_0x51e773(0x213),()=>{},async()=>{await withTelemetry('status',()=>status());})['command']('update',_0x51e773(0x256),()=>{},async()=>{await _0x5e336a['nAlxd'](withTelemetry,_0x5e336a['kowgy'],()=>update());})[_0x51e773(0x232)](_0x5e336a['NAjQw'],_0x5e336a['nFmGO'],()=>{},async()=>{const _0x45639b=_0x51e773,_0x1bb985={'gBfUe':function(_0x2ef841){return _0x2ef841();}};await _0x5e336a[_0x45639b(0x317)](withTelemetry,_0x5e336a['NAjQw'],async()=>{const _0x38b2bb=_0x45639b,_0x18e586=await _0x1bb985[_0x38b2bb(0x252)](getToken);if(!_0x18e586)throw new Error(_0x38b2bb(0x2c6));console[_0x38b2bb(0x1cd)](_0x18e586);});})[_0x51e773(0x232)]('go','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.',_0x1ca368=>{const _0x4bf6f7=_0x51e773;return _0x1ca368['option']('feature',{'type':_0x5e336a[_0x4bf6f7(0x301)],'description':'Optional\x20feature\x20ID'})['option'](_0x5e336a[_0x4bf6f7(0x36e)],{'type':_0x5e336a[_0x4bf6f7(0x301)],'description':_0x5e336a['IXyMg']})[_0x4bf6f7(0x221)]('notes',{'type':_0x5e336a['UFpSK'],'description':_0x5e336a[_0x4bf6f7(0x373)]})['option'](_0x4bf6f7(0x2fc),{'type':_0x5e336a[_0x4bf6f7(0x2b2)],'description':_0x5e336a['NWNhh']})['option'](_0x4bf6f7(0x379),{'type':_0x5e336a[_0x4bf6f7(0x301)],'description':_0x5e336a['FMbTk']})['option']('base-url',{'type':'string','description':_0x5e336a['LYZVD']})[_0x4bf6f7(0x221)](_0x4bf6f7(0x223),{'type':_0x5e336a['UFpSK'],'description':_0x4bf6f7(0x201)})['option'](_0x5e336a['DVSDT'],{'type':_0x5e336a['sfrby'],'description':_0x5e336a[_0x4bf6f7(0x247)],'default':![]})[_0x4bf6f7(0x221)](_0x5e336a['ZkjPL'],{'type':_0x5e336a[_0x4bf6f7(0x301)],'array':!![],'alias':_0x5e336a[_0x4bf6f7(0x2cd)],'description':_0x4bf6f7(0x2a8)})[_0x4bf6f7(0x221)](_0x5e336a['rYDGg'],{'type':_0x4bf6f7(0x2e6),'hidden':!![],'choices':[_0x5e336a['jzGrr'],'partial','blocked','failed','incomplete']})[_0x4bf6f7(0x221)](_0x5e336a['upvKy'],{'type':_0x5e336a[_0x4bf6f7(0x1e1)],'hidden':!![]})['option'](_0x4bf6f7(0x2f1),{'type':_0x4bf6f7(0x2e6),'hidden':!![]})['option'](_0x5e336a[_0x4bf6f7(0x309)],{'type':_0x5e336a[_0x4bf6f7(0x301)],'hidden':!![]})['option'](_0x5e336a[_0x4bf6f7(0x33a)],{'type':_0x4bf6f7(0x22b),'hidden':!![]});},async _0x789a34=>{await runGoCommand(_0x789a34);})[_0x51e773(0x232)](_0x5e336a[_0x51e773(0x2ab)],![],_0x21ddb3=>{const _0xe0f337=_0x51e773,_0x272216={'wtIpY':'ranger\x20auth\x20encrypt'};return _0x21ddb3[_0xe0f337(0x232)]('encrypt\x20<profile>',![],_0x3e9086=>{const _0x214535=_0xe0f337;return _0x3e9086['positional']('profile',{'type':_0x214535(0x2e6),'description':'Profile\x20name','demandOption':!![]});},async _0x44c77f=>{const _0x28e241=_0xe0f337;warnRenamed(_0x272216['wtIpY'],_0x28e241(0x36d)),await authEncrypt(_0x44c77f[_0x28e241(0x2cb)]);})['demandCommand'](0x1,_0x5e336a[_0xe0f337(0x266)]);},()=>{})['command'](_0x51e773(0x24c),![],_0x38602a=>{const _0x100db4=_0x51e773;return _0x38602a['positional'](_0x100db4(0x1e8),{'type':_0x5e336a[_0x100db4(0x301)],'description':_0x5e336a['Emjhd']})['option']('skip-chromium',{'type':'boolean','description':_0x100db4(0x33c),'default':![]})[_0x100db4(0x221)](_0x5e336a[_0x100db4(0x202)],{'type':_0x5e336a['UFpSK'],'choices':[_0x5e336a[_0x100db4(0x344)]],'hidden':!![],'description':_0x100db4(0x2b5)})['option']('url',{'type':_0x5e336a['UFpSK'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x100db4(0x2ea),{'type':_0x5e336a[_0x100db4(0x1e1)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x100db4(0x221)](_0x5e336a['pZlKX'],{'type':'boolean','description':'Skip\x20authentication','default':![]})[_0x100db4(0x221)](_0x5e336a[_0x100db4(0x1cf)],{'type':_0x5e336a['sfrby'],'description':_0x5e336a['IKKBg'],'default':![]});},async _0x228f5e=>{const _0x30eefc=_0x51e773;warnRenamed(_0x5e336a['Ljjwq'],_0x5e336a[_0x30eefc(0x2d9)]),await _0x5e336a['nqkco'](withTelemetry,_0x5e336a[_0x30eefc(0x279)],_0x5e28a0=>start(_0x228f5e[_0x30eefc(0x1e8)],{'skipChromium':_0x228f5e[_0x30eefc(0x2c5)],'skipAuth':_0x228f5e[_0x30eefc(0x329)],'withDeps':_0x228f5e['with-deps'],'scope':_0x228f5e['scope'],'url':_0x228f5e['url'],'force':_0x228f5e['force']},_0x5e28a0));})['command'](_0x5e336a['ADiQN'],![],_0x514dc5=>{const _0x512958=_0x51e773;return _0x514dc5[_0x512958(0x221)](_0x5e336a['fZZdH'],{'type':'string','description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})['option'](_0x5e336a['amusp'],{'type':'string','description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})['option'](_0x5e336a[_0x512958(0x33a)],{'type':'number','description':_0x5e336a['NWNhh']})[_0x512958(0x221)](_0x5e336a[_0x512958(0x36e)],{'type':_0x512958(0x2e6),'hidden':!![]})['option']('notes',{'type':_0x5e336a['UFpSK'],'hidden':!![]})['option'](_0x5e336a['fMtGI'],{'type':_0x5e336a['izWZE'],'hidden':!![]})[_0x512958(0x221)](_0x5e336a['fLeri'],{'type':_0x5e336a[_0x512958(0x301)],'description':_0x512958(0x226)})['option'](_0x5e336a[_0x512958(0x1f6)],{'type':'string','description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})['option']('model',{'type':'string','hidden':!![]})[_0x512958(0x221)](_0x5e336a[_0x512958(0x24d)],{'type':'boolean','hidden':!![],'default':![]})[_0x512958(0x221)]('env-var',{'type':_0x512958(0x2e6),'array':!![],'alias':'environment-variable','hidden':!![]})[_0x512958(0x221)](_0x512958(0x238),{'type':_0x5e336a[_0x512958(0x301)],'hidden':!![],'choices':[_0x512958(0x293),_0x5e336a[_0x512958(0x2e3)],_0x512958(0x229),_0x5e336a['hCFSp'],_0x5e336a['PaaDo']]});},async _0x24b55b=>{const _0x32bbb9=_0x51e773;await _0x5e336a[_0x32bbb9(0x218)](runGoCommand,_0x24b55b,!![]);})['command'](_0x51e773(0x25c),![],_0x11a568=>{const _0x3bfd2f=_0x51e773;return _0x11a568['positional']('env-name',{'type':_0x3bfd2f(0x2e6),'description':_0x5e336a['gFYWG'],'demandOption':!![]})[_0x3bfd2f(0x221)]('ci',{'type':_0x5e336a[_0x3bfd2f(0x1e1)],'description':_0x5e336a[_0x3bfd2f(0x20b)],'default':![]})[_0x3bfd2f(0x221)](_0x5e336a[_0x3bfd2f(0x258)],{'type':_0x3bfd2f(0x29d),'description':_0x3bfd2f(0x337),'default':![]});},async _0x5a13cb=>{const _0x3d80da=_0x51e773;warnRenamed(_0x5e336a['KvZyX'],_0x5e336a[_0x3d80da(0x23c)]),await withTelemetry('add\x20env',_0x453db4=>addEnv(_0x5a13cb[_0x3d80da(0x335)],{'ci':_0x5a13cb['ci'],'skipAuth':_0x5a13cb[_0x3d80da(0x329)]},_0x453db4));})['command']('use\x20<env-name>',![],_0x17fb20=>{const _0x3ce184=_0x51e773;return _0x17fb20[_0x3ce184(0x23a)]('env-name',{'type':_0x5e336a[_0x3ce184(0x301)],'description':_0x5e336a['VKXOd'],'demandOption':!![]});},async _0x137562=>{const _0x19f3f8=_0x51e773;warnRenamed(_0x5e336a['CjVWL'],_0x5e336a[_0x19f3f8(0x2b7)]),await withTelemetry(_0x5e336a[_0x19f3f8(0x2e1)],()=>useEnv(_0x137562[_0x19f3f8(0x335)]));})['command'](_0x5e336a[_0x51e773(0x1e0)],![],_0x58c6b1=>{const _0x694656=_0x51e773,_0x35933f={'hbfQF':'env','oecQk':_0x694656(0x2e6),'wnoBi':function(_0x32fc71,_0x738ff9,_0x41aab5){return _0x32fc71(_0x738ff9,_0x41aab5);},'ywocL':_0x5e336a[_0x694656(0x346)],'GfSbr':_0x5e336a['OHpqU'],'KNMKO':_0x694656(0x369),'bOwen':_0x5e336a[_0x694656(0x360)],'zZiQz':_0x5e336a[_0x694656(0x375)]};return _0x58c6b1['command'](_0x5e336a['OeFzF'],![],_0x372d16=>{const _0xd4aa2c=_0x694656;return _0x372d16[_0xd4aa2c(0x23a)](_0x5e336a[_0xd4aa2c(0x1d8)],{'type':_0xd4aa2c(0x2e6),'description':'Environment\x20name','demandOption':!![]})['positional']('key',{'type':_0xd4aa2c(0x2e6),'description':_0x5e336a['XTwLd'],'demandOption':!![]})[_0xd4aa2c(0x23a)](_0xd4aa2c(0x251),{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0x16513f=>{const _0x131b05=_0x694656;_0x5e336a[_0x131b05(0x21b)](warnRenamed,_0x5e336a['hxkYw'],_0x5e336a[_0x131b05(0x2fe)]),await _0x5e336a[_0x131b05(0x218)](withTelemetry,'config\x20set',()=>configSet(_0x16513f[_0x131b05(0x2f1)],_0x16513f[_0x131b05(0x1e4)],_0x16513f['value']));})[_0x694656(0x232)](_0x5e336a['AdgYx'],![],_0x31b7e4=>{const _0x80b4f2=_0x694656;return _0x31b7e4[_0x80b4f2(0x23a)]('env',{'type':'string','description':_0x5e336a['zSFmH'],'demandOption':!![]})[_0x80b4f2(0x23a)](_0x5e336a[_0x80b4f2(0x35a)],{'type':_0x5e336a['UFpSK'],'description':'Config\x20key','demandOption':!![]});},async _0x2c78b5=>{const _0x304e99=_0x694656;warnRenamed(_0x304e99(0x2ed),'ranger\x20profile\x20config\x20get'),await _0x5e336a[_0x304e99(0x220)](withTelemetry,_0x5e336a['euNvm'],()=>configGet(_0x2c78b5[_0x304e99(0x2f1)],_0x2c78b5[_0x304e99(0x1e4)]));})[_0x694656(0x232)](_0x5e336a['TMKvv'],![],_0x462132=>{const _0x581971=_0x694656;return _0x462132[_0x581971(0x23a)](_0x35933f[_0x581971(0x35f)],{'type':_0x35933f['oecQk'],'description':'Environment\x20name','demandOption':!![]});},async _0x127ddc=>{const _0x3fb8fd=_0x694656;_0x35933f['wnoBi'](warnRenamed,_0x35933f[_0x3fb8fd(0x2e8)],_0x35933f['GfSbr']),await withTelemetry(_0x35933f[_0x3fb8fd(0x1d9)],()=>configList(_0x127ddc[_0x3fb8fd(0x2f1)]));})[_0x694656(0x232)](_0x694656(0x28e),![],_0x55113e=>{const _0x4d0b01=_0x694656;return _0x55113e[_0x4d0b01(0x23a)]('env',{'type':'string','description':'Environment\x20name','demandOption':!![]})['positional'](_0x5e336a[_0x4d0b01(0x35a)],{'type':_0x4d0b01(0x2e6),'description':_0x4d0b01(0x2f7),'demandOption':!![]});},async _0x18dc84=>{const _0x5eaf8c=_0x694656;warnRenamed(_0x35933f['bOwen'],_0x35933f[_0x5eaf8c(0x271)]),await withTelemetry(_0x5eaf8c(0x235),()=>configUnset(_0x18dc84['env'],_0x18dc84['key']));})[_0x694656(0x2a3)](0x1,_0x5e336a[_0x694656(0x2a6)]);})['command']('env',![],_0x6e993f=>{const _0x366095=_0x51e773;return _0x6e993f['command']('ls',![],()=>{},async()=>{const _0x58747d=_0x23e3;warnRenamed('ranger\x20env\x20ls',_0x58747d(0x1d3)),await withTelemetry(_0x5e336a['SjDhb'],()=>envList());})['command']('update\x20<env-name>',![],_0x17bdd3=>{const _0xc8abeb=_0x23e3;return _0x17bdd3[_0xc8abeb(0x23a)](_0xc8abeb(0x335),{'type':_0xc8abeb(0x2e6),'description':_0x5e336a[_0xc8abeb(0x25b)],'demandOption':!![]});},async _0xed302f=>{const _0x37e5b2=_0x23e3;_0x5e336a[_0x37e5b2(0x222)](warnRenamed,'ranger\x20env\x20update','ranger\x20profile\x20update'),await withTelemetry(_0x5e336a[_0x37e5b2(0x27c)],_0x3cca1f=>updateEnv(_0xed302f['env-name'],_0x3cca1f));})[_0x366095(0x2a3)](0x1,'You\x20must\x20specify\x20an\x20env\x20subcommand');})['command']('feature',![],_0x4a3054=>{const _0x5bc6f6=_0x51e773,_0x375a2f={'faPso':_0x5bc6f6(0x2e6),'WnYbo':_0x5e336a['wMlMP'],'yVary':_0x5bc6f6(0x1c6),'uIeUX':'checklist','LKptU':'array','dLlSD':_0x5e336a[_0x5bc6f6(0x2dd)],'mOQtr':_0x5e336a['VQMBe'],'tuavb':_0x5e336a['sfrby'],'GpVLl':_0x5e336a[_0x5bc6f6(0x1e5)],'OYGfO':_0x5e336a[_0x5bc6f6(0x2b2)],'PIddS':_0x5bc6f6(0x273),'ZeDFY':function(_0x289ff9,_0x40a575,_0xb19376){const _0x5a5903=_0x5bc6f6;return _0x5e336a[_0x5a5903(0x317)](_0x289ff9,_0x40a575,_0xb19376);},'rxsFG':_0x5e336a['GtwsM'],'aNBcg':_0x5bc6f6(0x259),'xOMUY':_0x5e336a['HwjiB'],'nXkVi':'feature\x20add-checklist-item','xxqcT':function(_0x1aa984,_0x3a717e,_0x16cc1e){return _0x5e336a['jwGlD'](_0x1aa984,_0x3a717e,_0x16cc1e);},'mGCLZ':_0x5e336a[_0x5bc6f6(0x2fd)]};return _0x4a3054[_0x5bc6f6(0x232)](_0x5e336a[_0x5bc6f6(0x351)],![],_0x1f20b1=>{const _0x1f70c7=_0x5bc6f6;return _0x1f20b1[_0x1f70c7(0x23a)]('name',{'type':_0x375a2f[_0x1f70c7(0x2b6)],'description':_0x375a2f[_0x1f70c7(0x23b)],'demandOption':!![]})[_0x1f70c7(0x221)](_0x1f70c7(0x274),{'type':_0x375a2f[_0x1f70c7(0x2b6)],'alias':'d','description':_0x375a2f['yVary']})[_0x1f70c7(0x221)](_0x375a2f[_0x1f70c7(0x250)],{'type':_0x375a2f[_0x1f70c7(0x366)],'alias':'c','description':_0x375a2f['dLlSD']})['option']('scenario',{'type':_0x375a2f['LKptU'],'hidden':!![]});},async _0x1bcc4b=>{const _0x3f8eb1=_0x5bc6f6;warnRenamed(_0x3f8eb1(0x236),_0x3f8eb1(0x241)),warnFlagRenamed(_0x5e336a[_0x3f8eb1(0x231)],_0x5e336a[_0x3f8eb1(0x26f)],_0x5e336a[_0x3f8eb1(0x283)]);const _0xe42b83=_0x1bcc4b[_0x3f8eb1(0x2fc)]||_0x1bcc4b['checklist'];await _0x5e336a[_0x3f8eb1(0x1f7)](withTelemetry,'feature\x20create',()=>featureCreate(_0x1bcc4b[_0x3f8eb1(0x323)],{'description':_0x1bcc4b['description'],'scenarios':_0xe42b83}));})[_0x5bc6f6(0x232)]('list',![],_0x3cbea4=>{const _0x36428a=_0x5bc6f6;return _0x3cbea4[_0x36428a(0x221)](_0x375a2f['mOQtr'],{'type':_0x375a2f[_0x36428a(0x32e)],'description':_0x36428a(0x211)})[_0x36428a(0x221)](_0x375a2f['GpVLl'],{'type':_0x375a2f['OYGfO'],'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option']('offset',{'type':_0x36428a(0x22b),'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x36428a(0x221)](_0x36428a(0x31f),{'type':_0x375a2f['tuavb'],'alias':'d','description':_0x375a2f[_0x36428a(0x352)],'default':![]});},async _0x17b6d2=>{const _0x4004aa=_0x5bc6f6;warnRenamed('ranger\x20feature\x20list',_0x5e336a[_0x4004aa(0x36b)]),await withTelemetry(_0x4004aa(0x361),()=>featureList({'currentBranch':_0x17b6d2[_0x4004aa(0x27b)],'limit':_0x17b6d2['limit'],'offset':_0x17b6d2[_0x4004aa(0x2af)],'includeDeleted':_0x17b6d2[_0x4004aa(0x31f)]}));})[_0x5bc6f6(0x232)](_0x5e336a['wSSoY'],![],_0x433b3b=>{const _0x7e4524=_0x5bc6f6;return _0x433b3b[_0x7e4524(0x23a)]('id',{'type':_0x5e336a[_0x7e4524(0x301)],'description':_0x5e336a['FHFwJ']});},async _0x19a08f=>{const _0x5d6d16=_0x5bc6f6;warnRenamed(_0x5d6d16(0x284),_0x5d6d16(0x1eb)),await withTelemetry(_0x5e336a[_0x5d6d16(0x312)],()=>featureShow(_0x19a08f['id']));})['command'](_0x5e336a[_0x5bc6f6(0x2b0)],![],_0x400be8=>{const _0x10928c=_0x5bc6f6;return _0x400be8[_0x10928c(0x23a)]('id',{'type':_0x10928c(0x2e6),'description':_0x5e336a[_0x10928c(0x281)]});},async _0x9c0a10=>{const _0x12103d=_0x5bc6f6;warnRenamed('ranger\x20feature\x20resume','ranger\x20resume'),await _0x375a2f[_0x12103d(0x355)](withTelemetry,_0x375a2f['rxsFG'],()=>featureResume(_0x9c0a10['id']));})[_0x5bc6f6(0x232)](_0x5e336a[_0x5bc6f6(0x336)],![],_0x3739d9=>{const _0x1a9a35=_0x5bc6f6;return _0x3739d9['positional']('description',{'type':_0x5e336a['UFpSK'],'description':_0x5e336a[_0x1a9a35(0x1ed)],'demandOption':!![]})['option']('id',{'type':_0x5e336a[_0x1a9a35(0x301)],'description':_0x5e336a[_0x1a9a35(0x306)]});},async _0x219d70=>{const _0x4405a5=_0x5bc6f6;_0x375a2f[_0x4405a5(0x355)](warnRenamed,_0x375a2f[_0x4405a5(0x286)],_0x375a2f[_0x4405a5(0x343)]),await withTelemetry(_0x375a2f[_0x4405a5(0x316)],()=>featureAddScenario(_0x219d70['description'],_0x219d70['id']));})['command'](_0x5bc6f6(0x37f),![],_0x209430=>{const _0xce5ada=_0x5bc6f6;return _0x209430[_0xce5ada(0x23a)]('id',{'type':_0xce5ada(0x2e6),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x1740d8=>{const _0x27d88e=_0x5bc6f6;_0x375a2f['xxqcT'](warnRenamed,'ranger\x20feature\x20get-feedback',_0x27d88e(0x368)),await _0x375a2f['ZeDFY'](withTelemetry,_0x375a2f[_0x27d88e(0x275)],()=>featureGetReview(_0x1740d8['id']));})['command']('delete\x20[id]',![],_0x47f1a2=>{const _0x1b1343=_0x5bc6f6;return _0x47f1a2['positional']('id',{'type':_0x1b1343(0x2e6),'description':_0x5e336a[_0x1b1343(0x20f)]});},async _0x37d7f3=>{const _0x262dff=_0x5bc6f6;_0x5e336a[_0x262dff(0x220)](warnRenamed,_0x262dff(0x2f9),_0x262dff(0x2c2)),await withTelemetry(_0x5e336a[_0x262dff(0x290)],()=>featureDelete(_0x37d7f3['id']));})[_0x5bc6f6(0x232)](_0x5e336a[_0x5bc6f6(0x1d4)],![],_0x3b9e37=>{const _0x3196ba=_0x5bc6f6;return _0x3b9e37[_0x3196ba(0x23a)]('id',{'type':_0x3196ba(0x2e6),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x34ebcd=>{const _0x35f722=_0x5bc6f6;_0x5e336a['XRhDh'](warnRenamed,_0x35f722(0x300),'ranger\x20restore'),await _0x5e336a[_0x35f722(0x21d)](withTelemetry,_0x5e336a['kXVkp'],()=>featureRestore(_0x34ebcd['id']));})[_0x5bc6f6(0x2a3)](0x1,_0x5bc6f6(0x1c2));})[_0x51e773(0x232)](_0x51e773(0x1c5),![],_0x5d2db5=>{const _0x1b8caf=_0x51e773,_0x53d553={'lIhLk':'string'};return _0x5d2db5[_0x1b8caf(0x232)](_0x1b8caf(0x1d6),_0x1b8caf(0x30e),_0x39d845=>{const _0x287801=_0x1b8caf;return _0x39d845[_0x287801(0x221)](_0x287801(0x2ad),{'type':_0x5e336a['UFpSK'],'description':_0x287801(0x1e3)});},async _0x55e1c3=>{await withTelemetry('hook:enable',()=>hook('enable',_0x55e1c3['session-id']));})[_0x1b8caf(0x232)](_0x5e336a['WwfwM'],_0x5e336a[_0x1b8caf(0x1ec)],_0x4385dd=>{const _0x4d6175=_0x1b8caf;return _0x4385dd['option']('session-id',{'type':_0x53d553[_0x4d6175(0x2db)],'description':_0x4d6175(0x1e3)});},async _0x360e30=>{const _0x37831c=_0x1b8caf;await _0x5e336a['jwGlD'](withTelemetry,'hook:disable',()=>hook(_0x37831c(0x248),_0x360e30[_0x37831c(0x2ad)]));})['option'](_0x5e336a['LOPji'],{'type':_0x1b8caf(0x2e6),'description':_0x5e336a[_0x1b8caf(0x206)]})['option'](_0x5e336a['Nizay'],{'type':_0x1b8caf(0x2e6),'description':_0x5e336a['PFIph']});},async _0x37efae=>{const _0x5e521a=_0x51e773;_0x37efae['name']&&await hook(_0x37efae[_0x5e521a(0x323)],_0x37efae['session-id']);})[_0x51e773(0x2a3)](0x1,'You\x20must\x20specify\x20a\x20command')['strictCommands']()[_0x51e773(0x364)](async(_0x24ec63,_0x5978be,_0x1d5421)=>{const _0x38877f=_0x51e773,_0x57f4c2=sanitizeArgs(process[_0x38877f(0x319)][_0x38877f(0x2de)](0x2)),_0x32f112=_0x5e336a[_0x38877f(0x20a)](getErrorType,_0x24ec63,_0x5978be);if(_0x24ec63&&_0x24ec63[_0x38877f(0x27a)](_0x38877f(0x2f3))){const _0x58602d=process['argv'][0x2];console['error'](_0x38877f(0x1f3)+_0x58602d),console[_0x38877f(0x34e)]('Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a');}else{if(_0x24ec63)console['error']('\x0a'+_0x24ec63+'\x0a');else _0x5978be&&console[_0x38877f(0x34e)](_0x38877f(0x299)+_0x5978be['message']+'\x0a');}await logDesirePath({'rawCommand':_0x57f4c2,'errorMessage':_0x24ec63||_0x5978be?.['message'],'errorType':_0x32f112});const _0x5e8fb3=getCurrentCollector();_0x5e8fb3&&await _0x5e8fb3[_0x38877f(0x372)](_0x5978be||new Error(_0x5e336a['tnXlc'](_0x24ec63,_0x5e336a['uklTT']))),process['exit'](0x1);})[_0x51e773(0x267)](_0x5e336a['ARbAM'](_0x5e336a[_0x51e773(0x28b)](_0x5e336a['CShwN'],_0x5e336a[_0x51e773(0x1ea)]),_0x5e336a[_0x51e773(0x315)]))[_0x51e773(0x240)]()['alias']('help','h');}process[_0x5bf4be(0x2f1)][_0x5bf4be(0x1fe)]!=='test'&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()['parse']());
|