@ranger-testing/ranger-cli 3.1.7-alpha.9f8e190-62 → 3.1.7-alpha.be2850d-64
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/actors.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/scenarioOriginCheck.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/build/skills/ranger/SKILL.md +8 -0
- package/package.json +1 -1
package/build/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x27b968=_0x2731;(function(_0x1d996b,_0x1c25fd){const _0x461143=_0x2731,_0x54b97f=_0x1d996b();while(!![]){try{const _0x48c769=-parseInt(_0x461143(0x160))/0x1+parseInt(_0x461143(0xf8))/0x2+parseInt(_0x461143(0x8c))/0x3*(parseInt(_0x461143(0x21d))/0x4)+-parseInt(_0x461143(0x171))/0x5+parseInt(_0x461143(0x10e))/0x6*(parseInt(_0x461143(0x99))/0x7)+parseInt(_0x461143(0x1c1))/0x8+-parseInt(_0x461143(0x231))/0x9;if(_0x48c769===_0x1c25fd)break;else _0x54b97f['push'](_0x54b97f['shift']());}catch(_0x54016d){_0x54b97f['push'](_0x54b97f['shift']());}}}(_0x51e9,0xe42ec));import _0x585268 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x44a75a=_0x2731,_0x4f90ff={'cidGt':function(_0x45fd3a,_0x2c27ef){return _0x45fd3a!==_0x2c27ef;},'vcRoF':function(_0x5eb70d,_0x3d8382,_0x1f43a8){return _0x5eb70d(_0x3d8382,_0x1f43a8);},'WxRAG':'.env','OhOou':function(_0x1b5fc8,_0x3529dc){return _0x1b5fc8(_0x3529dc);}};let _0x4792bc=process[_0x44a75a(0x119)]();const _0x1833aa=parse(_0x4792bc)[_0x44a75a(0xd6)];while(_0x4f90ff['cidGt'](_0x4792bc,_0x1833aa)){if(existsSync(_0x4f90ff[_0x44a75a(0x197)](join,_0x4792bc,_0x44a75a(0xe1)))||existsSync(_0x4f90ff['vcRoF'](join,_0x4792bc,_0x4f90ff['WxRAG'])))return _0x4792bc;_0x4792bc=_0x4f90ff['OhOou'](dirname,_0x4792bc);}return process[_0x44a75a(0x119)]();}_0x585268[_0x27b968(0xb3)]({'path':join(findProjectRoot(),'.env')});import _0x192e6f from'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{parseActors}from'./commands/utils/actors.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 _0x51e9(){const _0x20a54a=['EqsAa','EFjpD','environment-variable','SSXWn','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','dFBbP','parse','IICjn','ranger\x20config\x20unset','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','orfNg','trim','Authenticate\x20via\x20MCP\x20proxy','ranger\x20profile\x20ls','demandCommand','454554cfxSbA','Base\x20URL\x20of\x20the\x20running\x20app','map','AGsSL','NhVeg','QnBap','Scenario\x20number\x20to\x20edit\x20(1-based)','env','Scenario\x20index\x20(1-based)','config\x20set','Add\x20profile\x20configuration','EwOvs','rQAix','yes','Include\x20soft-deleted\x20feature\x20reviews','Run\x20full\x20interactive\x20setup','VmiaR','1680240ezQzFh','project','debug-outcome','user','partial','pvnoT','split','Profile\x20name','dpzTU','kVHDC','resume\x20[id]','Config\x20key\x20to\x20remove','feature\x20get-feedback','mhPER','bBNkU','add\x20<profile-name>','\x20VERIFIED','not_configured','ranger\x20use','profiles','guHJG','aUcKe','token','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','profile','UtJDa','trackCommandError','GWool','XuBuH','model','slice','SJyJI','xoMpV','QcKKf','JlDkA','start-path','--env','mFCxv','vcRoF','uEWas','TJnjk','ranger\x20delete','unset\x20<env>\x20<key>','safe-mode','LVKjS','List\x20all\x20config\x20for\x20a\x20profile','ssdUL','value','debug-address-comments','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','NHBRP','XJIYo','VTukP','XnGtz','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','HxdXA','blocked','force','ranger\x20env\x20update','ranger\x20config\x20set','nyWsD','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','NODE_ENV','env\x20update','Scenario\x20description','scenario','--profile','PnLZU','repeat','Evaluation:\x20','report\x20[id]','Environment\x20name','HlGen','hdafp','aihhs','migrate\x20[profile-name]','UAyCD','includes','MlcPE','zdNSy','7217216IDPtmY','oMLjm','description','inRaW','yTqdZ','NXuVW','ranger','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','nTaYi','qcMPe','profile\x20config\x20unset','Name\x20of\x20the\x20environment','--checklist','delete\x20[id]','feature\x20add-checklist-item','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','failed','incomplete','VXXNo','Restore\x20a\x20soft-deleted\x20feature\x20review','UInSa','scope','--task','DDNZZ','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','Number\x20of\x20feature\x20reviews\x20to\x20skip','skip-auth','setup:deps','Name\x20of\x20the\x20profile\x20to\x20update','skip-chromium','eYCJP','feature\x20resume','log','feature\x20show','✓\x20Authenticated\x20to\x20','playwright-cli','IiMqj','cWtVY','rBxZG','\x20PARTIAL','ZluTf','Get\x20a\x20config\x20value','Install\x20OS-level\x20dependencies\x20for\x20Chromium','setup:skills','profile\x20login','cSfIj','get\x20<env>\x20<key>','RcWnC','include-deleted','WNtOn','key','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','positional','encrypt\x20<profile>','NgiER','kMxuX','mcp-bootstrap','ZjJSn','siAvz','current-branch','jjOmk','ranger\x20profile\x20encrypt-auth','SXIoQ','MaZfP','IhBHz','PwfMr','FEkbR','ETlnk','FFLNT','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','profile\x20update','profile\x20config\x20set','actor','verified','LvFqD','SPVjV','unset\x20<profile>\x20<key>','Switch\x20to\x20using\x20a\x20specific\x20profile','fFyGh','RIpCd','YDedA','base-url','uHxAq','Initialize\x20Ranger\x20in\x20your\x20project','pedvp','ranger\x20go','NtGqn','profile\x20config\x20get','get-review\x20[id]','status','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','4GycqwB','Update\x20authentication\x20for\x20an\x20existing\x20profile','Install\x20scope\x20for\x20skills','IlyZO','mHtMP','boolean','jjClT','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','feature','JvIWx','RANGER_TRANSPORT','env-name','setup:profiles','show\x20[id]','wvIVx','uzajy','fXFud','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.','oOmsx','ranger\x20feature\x20add-checklist-item','14916249FLDBto','Anynt','Optional\x20feature\x20ID','gNNVJ','number','success','notes','SfjzT','YwnOT','Vfthq','LGvMW','option','izhBN','prtJQ','gRXtA','QEOtr','config\x20list','Feature\x20review\x20description','add-scenario\x20<description>','exclude-scenario','fRYZl','EUFMZ','jWmsj','YohUE','1100841aJuTAY','Set\x20a\x20config\x20value','ranger\x20auth\x20encrypt','error','summary','verify-feature','akThl','zanSf','\x20INCOMPLETE','jtTJe','allow-insecure-localhost','alias','--notes','7nfzZte','fImpL','GjnzF','limit','TfJJO','Multi-actor\x20runs\x20need\x20pre-created\x20profiles\x20—\x20unset\x20RANGER_TEST_USERNAME\x20(no\x20ad-hoc\x20materialization).\x20Create\x20each\x20profile\x20with\x20`ranger\x20profile\x20add\x20<name>`,\x20then\x20pass\x20--actor\x20<label>=<name>.','eepMU','CedWI','task','name','LiYGE','cjiwf','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','Print\x20the\x20current\x20CLI\x20access\x20token','NoRLT','setup:all','strictCommands','nSDdG','use\x20<profile-name>','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','command','EIjnl','with-deps','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','qdOGm','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','config','restore\x20<id>','string','profile-name','feature\x20restore','QGwWF','url','login','argv','session-id','uIECI','unknown\x20error','restore','Delete\x20a\x20cloud\x20profile','length','njRsk','claude','AbXAA','exdJc','ranger\x20config\x20get','ranger\x20verify-feature','uIcdD','organizationName','XGYdg','start\x20[token]','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','WHjxm','usage','update','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','gZafz','mcp','QFATM','Install\x20Chromium\x20browser\x20binary','IYotq','root','NIZuw','message','JlmWh','UvlmB','PalHe','Unknown\x20error','EysGR','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','\x0aIssues:','edit-scenario\x20<description>','.ranger','GHGQY','WXBIU','profile\x20encrypt-auth','Skip\x20the\x20deletion\x20confirmation\x20prompt.','opencode','ranger\x20feature\x20restore','yxHOh','oCJlB','checklist','WEYyr','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','ranger\x20resume','MBoOg','\x20FAILED','lUijS','list\x20<profile>','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','MBbXx','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','--scenario','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','item','3558438NnakKv','get-feedback\x20[id]','RANGER_PROFILE','uDudR','skillup','akPer','iWwrV','RAhlm','kgYAD','gxOmQ','issues','disable','✓\x20Login\x20succeeded\x20for\x20\x27','Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','gmHOM','NbMvA','FFGPc','qFEEN','Feature\x20review\x20name','Proceed\x20even\x20when\x20the\x20selected\x20scenario\x20names\x20a\x20URL\x20on\x20a\x20different\x20origin\x20than\x20the\x20resolved\x20target','FhtTf','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','2005686vgJNZt','Config\x20key','DaHRT','Auth\x20environment\x20key\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Used\x20with\x20RANGER_TEST_USERNAME\x20for\x20ad-hoc\x20runs,\x20and\x20with\x20--profile\x20to\x20override\x20that\x20profile\x27s\x20pinned\x20env\x20for\x20this\x20run.\x20Required\x20to\x20run\x20an\x20automated\x20login\x20against\x20a\x20bare-localhost\x20target\x20(localhost\x20/\x20127.0.0.1).\x20Also\x20respects\x20RANGER_AUTH_ENV.','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','YsvVH','FsgzS','list\x20<env>','Install\x20scope\x20for\x20plugin\x20and\x20skills','HhQJt','bLWTl','cwd','test_output','BWsUj','UHNps','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','ranger\x20feature\x20resume','RYXMz','exit','ranger\x20profile\x20config\x20list','skills','DaJaY','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','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.','ranger\x20feature\x20get-feedback','get-review','enable','NXjSw','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','all','list','umoEp','tokenOrSubcommand','OBbFd','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','dqWAv','save-creds','help','hLfTx','dvdgf','scriptName','ranger\x20profile\x20config\x20get','Feature\x20review\x20ID','profile\x20config\x20reset','kfUXG','rMQNi','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','ftAqH','offset','add\x20env\x20<env-name>','CQkUM','qWWJx','oVsxl','aSvEG','chBml','ImoKK','vcZRG','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','wXvqh','use','rktiP','TKGnO','kFeeh','dry-run','evaluation','JCsms','KBVsC'];_0x51e9=function(){return _0x20a54a;};return _0x51e9();}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 _0x25aaaf=>{const _0x438709=_0x27b968,_0x407515=getCurrentCollector();_0x407515&&await _0x407515[_0x438709(0x18b)](_0x25aaaf),process['exitCode']=0x1;});function _0x2731(_0x55cd09,_0x13b6b7){_0x55cd09=_0x55cd09-0x7d;const _0x51e9d3=_0x51e9();let _0x27316c=_0x51e9d3[_0x55cd09];return _0x27316c;}const rawArgs=process['argv'][_0x27b968(0x18f)](0x2),TOP_LEVEL_HELP=_0x27b968(0x125),PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201',PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201';function warnRenamed(_0x421981,_0x10b0ff){console['error']('\x0a'+_0x421981+'\x20is\x20now\x20'+_0x10b0ff+'\x0a');}function argUsed(_0x4fce2b){return rawArgs['some'](_0x5b034f=>_0x5b034f===_0x4fce2b||_0x5b034f['startsWith'](_0x4fce2b+'='));}function warnFlagRenamed(_0x12c488,_0x2a9550,_0x5beca4){const _0x5d086a=_0x27b968,_0x1f9532={'uHxAq':function(_0x41d167,_0x46b499){return _0x41d167(_0x46b499);},'ssdUL':function(_0xf96e15,_0xb1e937,_0x3ca379){return _0xf96e15(_0xb1e937,_0x3ca379);}};_0x1f9532[_0x5d086a(0x214)](argUsed,_0x2a9550)&&_0x1f9532[_0x5d086a(0x19f)](warnRenamed,_0x12c488+'\x20'+_0x2a9550,_0x12c488+'\x20'+_0x5beca4);}function normalizeEnvVarNames(_0x2fbe7b){const _0x110ee2=_0x27b968,_0xef8f6f=Array['isArray'](_0x2fbe7b)?_0x2fbe7b:_0x2fbe7b?[_0x2fbe7b]:[];return _0xef8f6f['flatMap'](_0x38ff38=>String(_0x38ff38)[_0x110ee2(0x177)](',')['map'](_0x80d2c4=>_0x80d2c4[_0x110ee2(0x15c)]())['filter'](Boolean));}async function runGoCommand(_0x29524a,_0x49c971=![]){const _0x1791e4=_0x27b968,_0x47060f={'KrrXP':_0x1791e4(0xc7),'InPpZ':function(_0x4ee5f8,_0x2f45e2,_0x3a5bee,_0x231063){return _0x4ee5f8(_0x2f45e2,_0x3a5bee,_0x231063);},'wXhqn':_0x1791e4(0x217),'dUUHV':'--item','ZluTf':function(_0x25b8c8){return _0x25b8c8();},'SWHDa':function(_0x1b82d4,_0xf1d011){return _0x1b82d4(_0xf1d011);},'SSLwy':function(_0x27d586,_0x5e4c2b){return _0x27d586(_0x5e4c2b);},'aSvEG':'Multi-actor\x20runs\x20currently\x20support\x20up\x20to\x202\x20actors.\x20(--actor\x20is\x20repeatable;\x20v1\x20caps\x20at\x202.)','NHBRP':function(_0x56dfb4,_0x304867){return _0x56dfb4>=_0x304867;},'IhBHz':function(_0x31af62,_0x26b0d2){return _0x31af62!==_0x26b0d2;},'eHdFd':_0x1791e4(0x1e5),'hQZVi':'Multi-actor\x20run\x20→\x20using\x20RANGER_TRANSPORT=playwright-cli\x20(required\x20for\x20per-actor\x20session\x20isolation).','DEzRJ':function(_0x37afd7,_0x528d18){return _0x37afd7>_0x528d18;},'NgiER':function(_0x59a916,_0xb17197){return _0x59a916!==_0xb17197;},'oOmsx':function(_0x1db299,_0x2b5710){return _0x1db299!==_0x2b5710;},'uDudR':_0x1791e4(0x194),'dqWAv':'base-url','dFBbP':_0x1791e4(0x173),'DSWte':_0x1791e4(0x1a1),'LGvMW':function(_0x2ad8da,_0x10bb62){return _0x2ad8da+_0x10bb62;},'UIzJS':function(_0x59918b,_0x424a9d){return _0x59918b===_0x424a9d;},'RAhlm':_0x1791e4(0x1a9),'LiYGE':_0x1791e4(0xef)};_0x49c971&&(warnRenamed('ranger\x20verify-feature',_0x1791e4(0x217)),warnFlagRenamed(_0x47060f['KrrXP'],_0x1791e4(0x195),_0x1791e4(0x1b3)));_0x47060f['InPpZ'](warnFlagRenamed,_0x47060f['wXhqn'],_0x1791e4(0x1d7),_0x1791e4(0x98)),warnFlagRenamed(_0x1791e4(0x217),_0x47060f['dUUHV'],'--scenario');const _0x3ac8df=await _0x47060f[_0x1791e4(0x1ea)](loadRangerConfig),_0x278323=_0x47060f[_0x1791e4(0x1ea)](isByokEnabled),_0x12353e=_0x29524a[_0x1791e4(0x18e)],_0x2a946d=_0x3ac8df['model'],_0x5d8eee=_0x47060f['SWHDa'](normalizeEnvVarNames,_0x29524a['env-var']),_0x5bf7e1=getVerificationTransport(),_0x4e6147=_0x47060f['SSLwy'](parseActors,_0x29524a[_0x1791e4(0x20a)]);if(_0x4e6147['length']>0x2)throw new Error(_0x47060f[_0x1791e4(0x143)]);if(_0x47060f[_0x1791e4(0x1a3)](_0x4e6147[_0x1791e4(0xc1)],0x2)){if(process[_0x1791e4(0x167)]['RANGER_TEST_USERNAME'])throw new Error(_0x1791e4(0x9e));_0x47060f[_0x1791e4(0x202)](_0x5bf7e1,_0x47060f['eHdFd'])&&(console[_0x1791e4(0x1e2)](_0x47060f['hQZVi']),process['env'][_0x1791e4(0x227)]=_0x47060f['eHdFd']);}if(_0x47060f['DEzRJ'](_0x5d8eee[_0x1791e4(0xc1)],0x0)&&_0x47060f[_0x1791e4(0x1f8)](_0x5bf7e1,'playwright-cli')&&_0x47060f[_0x1791e4(0x22f)](_0x5bf7e1,'rangerwright-cli'))throw new Error('The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20'+_0x5bf7e1+'.');const _0x3aae91=await verifyFeature({'featureId':_0x29524a['feature'],'profile':_0x29524a[_0x1791e4(0x189)]??(_0x49c971?_0x29524a[_0x1791e4(0x167)]:undefined)??process['env'][_0x1791e4(0xfa)],'authEnv':_0x49c971?undefined:_0x29524a['env']??process['env']['RANGER_AUTH_ENV'],'notes':_0x29524a['notes']??_0x29524a[_0x1791e4(0xa1)],'check':_0x29524a['check'],'scenario':_0x29524a['scenario']??_0x29524a[_0x1791e4(0xf7)],'startPath':_0x29524a[_0x47060f[_0x1791e4(0xfb)]],'baseUrl':_0x29524a[_0x47060f[_0x1791e4(0x131)]],'debugOutcome':_0x29524a[_0x47060f[_0x1791e4(0x156)]],'debugAddressComments':_0x29524a[_0x47060f['DSWte']],'headed':_0x29524a['headed'],'verifierEnvVars':_0x5d8eee,'allowUrlMismatch':_0x29524a['allow-url-mismatch'],'byokEnabled':_0x278323,'flagVerifyModel':_0x12353e,'configVerifyModel':_0x2a946d,'actors':_0x4e6147[_0x1791e4(0xc1)]?_0x4e6147:undefined});console['log'](_0x47060f[_0x1791e4(0x7e)]('\x0a','='[_0x1791e4(0x1b5)](0x3c))),console['log'](_0x47060f['UIzJS'](_0x3aae91[_0x1791e4(0x14e)],_0x1791e4(0x20b))?_0x1791e4(0x181):_0x3aae91['evaluation']===_0x1791e4(0x1d2)?_0x1791e4(0x94):_0x3aae91[_0x1791e4(0x14e)]==='partial'?_0x1791e4(0x1e9):_0x47060f['UIzJS'](_0x3aae91[_0x1791e4(0x14e)],_0x47060f[_0x1791e4(0xff)])?'\x20BLOCKED':_0x47060f[_0x1791e4(0xa3)]),console[_0x1791e4(0x1e2)]('='[_0x1791e4(0x1b5)](0x3c)),console['log']('Summary:\x20'+_0x3aae91[_0x1791e4(0x90)]),console['log'](_0x1791e4(0x1b6)+_0x3aae91[_0x1791e4(0x14e)]),console[_0x1791e4(0x1e2)]('Reason:\x20'+_0x3aae91['evaluationReason']),_0x3aae91[_0x1791e4(0x102)]?.[_0x1791e4(0xc1)]&&(console[_0x1791e4(0x1e2)](_0x1791e4(0xdf)),_0x3aae91[_0x1791e4(0x102)]['forEach']((_0x26294d,_0x20fc53)=>{const _0x5673b0=_0x1791e4;console['log']('\x0a'+(_0x20fc53+0x1)+'.\x20['+_0x26294d['severity']+']\x20'+_0x26294d[_0x5673b0(0x1c3)]);})),process[_0x1791e4(0x120)](_0x3aae91['evaluation']==='verified'?0x0:0x1);}export function buildParser(_0x43a597){const _0x5285eb=_0x27b968,_0x41ca59={'FEkbR':_0x5285eb(0xa2),'DaJaY':_0x5285eb(0x1c3),'chBml':'string','Vfthq':'Feature\x20review\x20description','NXjSw':'array','CbddJ':_0x5285eb(0x130),'qgTKg':'Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','nyWsD':_0x5285eb(0x1cd),'MBbXx':function(_0x315032,_0x3c3b34,_0x3e1482){return _0x315032(_0x3c3b34,_0x3e1482);},'SJyJI':_0x5285eb(0x222),'HlGen':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','GBufo':'offset','jjClT':_0x5285eb(0x235),'jCkiy':_0x5285eb(0x1db),'siAvz':_0x5285eb(0x1f2),'VXXNo':'Feature\x20review\x20ID','mHtMP':function(_0x4bdc0d,_0x53d100,_0x2d82a5){return _0x4bdc0d(_0x53d100,_0x2d82a5);},'QvXqN':'show','UAyCD':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','fImpL':'Scenario\x20description','PzYCK':function(_0x11f737,_0x43a749,_0x428761){return _0x11f737(_0x43a749,_0x428761);},'zanSf':'add-scenario','XGYdg':_0x5285eb(0x166),'EysGR':_0x5285eb(0x87),'QDWQD':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','SXIoQ':'json','ONUSP':'report','AGSwB':_0x5285eb(0x21c),'cWtVY':_0x5285eb(0x127),'rMkzs':function(_0x55aafa,_0x1ff7d5,_0x135e4b){return _0x55aafa(_0x1ff7d5,_0x135e4b);},'qcMPe':'delete','FsgzS':_0x5285eb(0x1fa),'wvIVx':_0x5285eb(0xa8),'sqEGO':_0x5285eb(0x1dd),'rktiP':'Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','WNtOn':function(_0x1b288d,_0x8905b9,_0x485141){return _0x1b288d(_0x8905b9,_0x485141);},'nTaYi':'setup:login','yxHOh':function(_0x372623,_0x3cfe35,_0x41d423){return _0x372623(_0x3cfe35,_0x41d423);},'JlmWh':_0x5285eb(0xe6),'qokWw':function(_0x4f64b6,_0x130e4e,_0x5a05dc){return _0x4f64b6(_0x130e4e,_0x5a05dc);},'ksZhS':_0x5285eb(0x1ed),'FINll':'Ranger\x20API\x20token','QGwWF':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','YsvVH':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','JlDkA':_0x5285eb(0xde),'jjOmk':_0x5285eb(0xac),'NbMvA':_0x5285eb(0x15d),'qFEEN':_0x5285eb(0x172),'didfL':_0x5285eb(0x116),'vFbmd':_0x5285eb(0x10d),'yEgOF':function(_0x2aa446,_0x42dd08){return _0x2aa446!==_0x42dd08;},'kVHDC':_0x5285eb(0x12e),'qdOGm':_0x5285eb(0x12b),'NXuVW':_0x5285eb(0xd4),'tWSMM':'login','ImoKK':_0x5285eb(0x207),'CQkUM':_0x5285eb(0x1d6),'IICjn':'url','fRYZl':_0x5285eb(0x1aa),'frMvt':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','vIqAf':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','kZBAI':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','UvlmB':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','YwnOT':_0x5285eb(0xaf),'HDWAg':_0x5285eb(0x187),'LVKjS':'start','NIZuw':_0x5285eb(0x12a),'ApInw':_0x5285eb(0x1df),'yeAmx':'Skip\x20Chromium\x20browser\x20installation','orfNg':'Install\x20skills\x20for\x20OpenCode','HPvRU':'user','YOekc':_0x5285eb(0x21f),'uEWas':function(_0xff759d,_0x3c24b7){return _0xff759d(_0x3c24b7);},'kFeeh':'clean','JCOsj':_0x5285eb(0x1dc),'Cljad':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','pvnoT':'cdp-endpoint','uIcdD':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','gRXtA':_0x5285eb(0x19c),'bcpen':'setup-header','jkQHi':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','KRsYp':_0x5285eb(0x167),'xnVDd':'Auth\x20environment\x20key\x20to\x20bind\x20this\x20profile\x20to\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Bypasses\x20URL-based\x20matching;\x20required\x20for\x20bare-localhost\x20custom\x20ports.','guHJG':'profile\x20use','DaHRT':'profile-name','hIwXd':'yes','akThl':'profile','IiMqj':_0x5285eb(0x178),'DHDMM':_0x5285eb(0xe4),'ACFzz':'profile\x20ls','tcjNL':_0x5285eb(0x96),'qTVlu':_0x5285eb(0x105),'PAZnV':'Cloud\x20profile\x20name','aihhs':_0x5285eb(0x1ee),'FTaix':_0x5285eb(0x209),'FhtTf':_0x5285eb(0x1cb),'zdNSy':'set\x20<profile>\x20<key>\x20<value>','hRJOh':_0x5285eb(0x8d),'BWsUj':_0x5285eb(0x1eb),'WniDw':_0x5285eb(0xf1),'ZjJSn':_0x5285eb(0x19e),'sPpUq':'Remove\x20a\x20config\x20value','ZZHng':'reset\x20<profile>','VhleF':'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','RIpCd':'Name\x20of\x20the\x20profile','WDmAB':_0x5285eb(0x182),'qfemi':function(_0xdc3f9b,_0x4ce49a){return _0xdc3f9b===_0x4ce49a;},'fjHvh':'failed','MFyCU':'dry-run','iWwrV':_0x5285eb(0x1f4),'xoMpV':_0x5285eb(0x1c8),'XuBuH':'Config\x20value','hNtlf':_0x5285eb(0x180),'UvSyX':_0x5285eb(0xab),'YohUE':_0x5285eb(0x20f),'SfjzT':'delete\x20<profile-name>','QbWEB':_0x5285eb(0xc0),'gZafz':'encrypt-auth\x20<profile>','eepMU':'update\x20<profile-name>','revsQ':_0x5285eb(0x21e),'sxcJt':_0x5285eb(0xb3),'jtTJe':'Manage\x20profile\x20configuration','QEOtr':'You\x20must\x20specify\x20a\x20profile\x20subcommand','XdtaY':function(_0x35d3fb,_0xdd1d21,_0x585ad7){return _0x35d3fb(_0xdd1d21,_0x585ad7);},'GHGQY':'status','DDNZZ':_0x5285eb(0xcf),'gxOmQ':_0x5285eb(0x11d),'mhPER':_0x5285eb(0x20a),'uIECI':'Actor\x20as\x20<label>=<profile>\x20—\x20bind\x20a\x20role\x20you\x20reference\x20in\x20the\x20scenario\x20(\x22As\x20buyer1,\x20…\x22)\x20to\x20a\x20Ranger\x20profile.\x20Repeatable.\x20Two\x20actors\x20run\x20as\x20two\x20live\x20browser\x20sessions\x20(both\x20profiles\x20must\x20exist;\x20no\x20ad-hoc).\x20Example:\x20--actor\x20buyer1=alice\x20--actor\x20buyer2=bob','mYJLM':'notes','prtJQ':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','oTvLU':'Start\x20a\x20fresh\x20one-scenario\x20feature\x20review\x20from\x20this\x20text\x20and\x20verify\x20it.\x20To\x20re-verify,\x20use\x20--scenario;\x20to\x20extend\x20the\x20active\x20review,\x20use\x20`ranger\x20add-scenario`.','dvdgf':'scenario','PVjYV':_0x5285eb(0x194),'TfJJO':_0x5285eb(0xf4),'eYCJP':_0x5285eb(0x18e),'rQAix':_0x5285eb(0x22e),'lUijS':'env-var','FEcTr':'environment-variable','BRvAF':'allow-url-mismatch','CmwWx':_0x5285eb(0x20b),'SjwgA':_0x5285eb(0x111),'pBjSQ':'item','RielL':function(_0x490b0a,_0x13e444,_0x579aac){return _0x490b0a(_0x13e444,_0x579aac);},'VTukP':_0x5285eb(0x8e),'RGxrS':_0x5285eb(0x1ff),'QnBap':_0x5285eb(0x1f7),'jYpnI':'You\x20must\x20specify\x20an\x20auth\x20subcommand','CKVym':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','UtJDa':_0x5285eb(0x1ec),'ftAqH':'ranger\x20start','HxBDb':'ranger\x20setup','PalHe':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','TJnjk':'headed','UInSa':_0x5285eb(0x173),'pedvp':'blocked','AzWCY':_0x5285eb(0x1d2),'EgqQZ':function(_0x3c1a21,_0x45e507,_0x3142b5){return _0x3c1a21(_0x45e507,_0x3142b5);},'nSDdG':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','VTAfG':_0x5285eb(0x112),'nIOhn':'ranger\x20profile\x20add','nnUQe':'add\x20env','CedWI':_0x5285eb(0x183),'OOsor':'Config\x20key','SPVjV':_0x5285eb(0x137),'rQoLf':function(_0x12d015,_0x5a6c59,_0x15e59b){return _0x12d015(_0x5a6c59,_0x15e59b);},'oIaQn':function(_0x40a1c7,_0x2f75fd,_0x108b51){return _0x40a1c7(_0x2f75fd,_0x108b51);},'QXMDa':'config\x20unset','ICeOf':'set\x20<env>\x20<key>\x20<value>','njRsk':_0x5285eb(0x115),'yTqdZ':_0x5285eb(0x19b),'lrbbk':'You\x20must\x20specify\x20a\x20config\x20subcommand','tPdyw':_0x5285eb(0x15e),'BWWoR':'env\x20list','gyetx':'update\x20<env-name>','UHNps':'You\x20must\x20specify\x20an\x20env\x20subcommand','Anynt':'Feature\x20review\x20name','HKkvC':'checklist','AbXAA':'ranger\x20create','PwfMr':function(_0x46901b,_0x2e53cc,_0x766bbf,_0x378581){return _0x46901b(_0x2e53cc,_0x766bbf,_0x378581);},'NhVeg':'feature\x20create','hnavk':'current-branch','QcKKf':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','EUFMZ':_0x5285eb(0x16e),'EqsAa':function(_0x20c350,_0x4fadc6,_0x2d986d){return _0x20c350(_0x4fadc6,_0x2d986d);},'FFGPc':'ranger\x20show','hLfTx':_0x5285eb(0x230),'gNNVJ':'ranger\x20add-scenario','uzajy':'ranger\x20restore','yHnCG':function(_0x2819ff,_0x5cf6cd,_0x53dcc9){return _0x2819ff(_0x5cf6cd,_0x53dcc9);},'SSXWn':_0x5285eb(0x1e1),'HeMhS':_0x5285eb(0x17d),'cSfIj':'create\x20<name>','hdafp':'resume\x20[id]','EwOvs':'add-checklist-item\x20<description>','XnGtz':_0x5285eb(0xf9),'rHlCq':_0x5285eb(0x1ce),'qWWJx':'session-id','EFjpD':'hook:enable','zgyIB':'hook:disable','JCsms':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','fFyGh':_0x5285eb(0x155),'wxvXP':_0x5285eb(0xf6),'EHYLv':'Unknown\x20command','idlle':function(_0x5c9d8a){return _0x5c9d8a();},'BVDPj':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','MBoOg':_0x5285eb(0x22a),'GVdwJ':_0x5285eb(0x86),'inRaW':_0x5285eb(0xe0),'cOxRA':'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','VLReT':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','vcYsb':'setup-ci\x20<token>','IlyZO':'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','QBNUT':'Install\x20Ranger\x20skills','MlcPE':'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','RcWnC':_0x5285eb(0x184),'YvcUp':_0x5285eb(0xa6),'HMLtE':_0x5285eb(0x91),'JvIWx':_0x5285eb(0x13f),'Hwngl':'You\x20must\x20specify\x20a\x20command','YDedA':function(_0x37f644,_0xe43826){return _0x37f644+_0xe43826;},'OBbFd':'Documentation:\x0a','WEYyr':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','orvwc':_0x5285eb(0x133)};return _0x192e6f(_0x43a597??process['argv'][_0x5285eb(0x18f)](0x2))[_0x5285eb(0x136)](_0x5285eb(0x1c7))['usage'](TOP_LEVEL_HELP)['version'](_0x41ca59['idlle'](getCurrentVersion))[_0x5285eb(0xad)](_0x41ca59[_0x5285eb(0x1ef)],_0x41ca59['BVDPj'],_0x3387e1=>{const _0xcae03=_0x5285eb;return _0x3387e1[_0xcae03(0x1f6)](_0x41ca59[_0xcae03(0x204)],{'type':_0xcae03(0xb5),'description':_0xcae03(0x10a),'demandOption':!![]})[_0xcae03(0x7f)](_0x41ca59['DaJaY'],{'type':_0x41ca59['chBml'],'alias':'d','description':_0x41ca59[_0xcae03(0x7d)]})['option']('scenario',{'type':_0x41ca59[_0xcae03(0x129)],'alias':'c','description':_0x41ca59['CbddJ']})[_0xcae03(0x7f)](_0xcae03(0xea),{'type':'array','hidden':!![]});},async _0x34fdc6=>{const _0x110e10=_0x5285eb;if(!_0x34fdc6[_0x110e10(0xa2)]){console['error'](_0x41ca59['qgTKg']+'Example:\x20ranger\x20create\x20my-feature'),process[_0x110e10(0x120)](0x1);return;}warnFlagRenamed('ranger\x20create',_0x41ca59[_0x110e10(0x1ad)],_0x110e10(0xf5));const _0x2d343d=_0x34fdc6['scenario']||_0x34fdc6[_0x110e10(0xea)];await _0x41ca59['MBbXx'](withTelemetry,'create',()=>featureCreate(_0x34fdc6['name'],{'description':_0x34fdc6[_0x110e10(0x1c3)],'scenarios':_0x2d343d}));})[_0x5285eb(0xad)](_0x5285eb(0x12c),'List\x20all\x20feature\x20reviews',_0x46fd93=>{const _0x1e43ae=_0x5285eb;return _0x46fd93[_0x1e43ae(0x7f)]('current-branch',{'type':_0x41ca59['SJyJI'],'description':_0x41ca59['HlGen']})[_0x1e43ae(0x7f)](_0x1e43ae(0x9c),{'type':_0x1e43ae(0x235),'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})[_0x1e43ae(0x7f)](_0x41ca59['GBufo'],{'type':_0x41ca59[_0x1e43ae(0x223)],'alias':'o','description':_0x41ca59['jCkiy'],'default':0x0})[_0x1e43ae(0x7f)](_0x41ca59[_0x1e43ae(0x1fc)],{'type':_0x41ca59['SJyJI'],'alias':'d','description':_0x1e43ae(0x16e),'default':![]});},async _0x58df6d=>{const _0x284054=_0x5285eb;await _0x41ca59[_0x284054(0xf3)](withTelemetry,'list',()=>featureList({'currentBranch':_0x58df6d['current-branch'],'limit':_0x58df6d['limit'],'offset':_0x58df6d[_0x284054(0x13e)],'includeDeleted':_0x58df6d['include-deleted']}));})[_0x5285eb(0xad)](_0x41ca59[_0x5285eb(0xee)],_0x5285eb(0x1a7),_0x465961=>{const _0x48e7a3=_0x5285eb;return _0x465961['positional']('id',{'type':_0x41ca59[_0x48e7a3(0x144)],'description':_0x41ca59[_0x48e7a3(0x1d3)]});},async _0x483518=>{const _0xe7dfef=_0x5285eb;await _0x41ca59[_0xe7dfef(0x221)](withTelemetry,_0x41ca59['QvXqN'],()=>featureShow(_0x483518['id']));})['command'](_0x5285eb(0x17b),'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x53e70c=>{const _0x5e134e=_0x5285eb;return _0x53e70c['positional']('id',{'type':_0x41ca59[_0x5e134e(0x144)],'description':_0x41ca59[_0x5e134e(0x1bd)]});},async _0x110ec4=>{await _0x41ca59['mHtMP'](withTelemetry,'resume',()=>featureResume(_0x110ec4['id']));})['command'](_0x41ca59['GVdwJ'],'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x1861f4=>{const _0x5d1868=_0x5285eb;return _0x1861f4['positional']('description',{'type':_0x41ca59[_0x5d1868(0x144)],'description':_0x41ca59[_0x5d1868(0x9a)],'demandOption':!![]})[_0x5d1868(0x7f)]('id',{'type':_0x41ca59[_0x5d1868(0x144)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x3ec0bd=>{const _0xc9bc05=_0x5285eb;await _0x41ca59['PzYCK'](withTelemetry,_0x41ca59[_0xc9bc05(0x93)],()=>featureAddScenario(_0x3ec0bd[_0xc9bc05(0x1c3)],_0x3ec0bd['id']));})[_0x5285eb(0xad)](_0x41ca59[_0x5285eb(0x1c4)],'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x4e172c=>{const _0x1881c1=_0x5285eb;return _0x4e172c['positional'](_0x41ca59[_0x1881c1(0x123)],{'type':_0x1881c1(0xb5),'description':'New\x20scenario\x20description','demandOption':!![]})[_0x1881c1(0x7f)]('scenario',{'type':_0x1881c1(0x235),'description':_0x41ca59[_0x1881c1(0xca)],'demandOption':!![]})['option']('id',{'type':_0x41ca59['chBml'],'description':_0x1881c1(0x21c)});},async _0x4b91f0=>{const _0x451758=_0x5285eb;await withTelemetry('edit-scenario',()=>featureEditScenario(_0x4b91f0[_0x451758(0x1c3)],{'id':_0x4b91f0['id'],'scenario':_0x4b91f0[_0x451758(0x1b2)]}));})[_0x5285eb(0xad)](_0x5285eb(0x1b7),_0x41ca59['cOxRA'],_0x45c1da=>{const _0x2abc70=_0x5285eb;return _0x45c1da['positional']('id',{'type':_0x41ca59[_0x2abc70(0x144)],'description':'Feature\x20review\x20ID'})['option'](_0x41ca59[_0x2abc70(0xdd)],{'type':_0x41ca59['NXjSw'],'description':_0x41ca59['QDWQD']})[_0x2abc70(0x7f)](_0x41ca59[_0x2abc70(0x200)],{'type':'boolean','description':_0x2abc70(0x1da),'default':![]});},async _0x37d20c=>{const _0xcade46=_0x5285eb,_0x4299e6=_0x37d20c[_0x41ca59[_0xcade46(0xdd)]],_0x27c42b=_0x4299e6?_0x4299e6[_0xcade46(0x162)](_0x446f81=>Number(_0x446f81)):undefined;await withTelemetry(_0x41ca59['ONUSP'],()=>featureReportPrDescription(_0x37d20c['id'],{'excludeScenarios':_0x27c42b,'json':_0x37d20c['json']}));})[_0x5285eb(0xad)](_0x5285eb(0x21a),_0x5285eb(0x1f5),_0x417dff=>{return _0x417dff['positional']('id',{'type':'string','description':_0x41ca59['AGSwB']});},async _0x1276ea=>{const _0x2ba129=_0x5285eb;await withTelemetry(_0x41ca59[_0x2ba129(0x1e7)],()=>featureGetReview(_0x1276ea['id']));})['command'](_0x41ca59['rHlCq'],_0x41ca59['VLReT'],_0x4aad5e=>{const _0x2911c7=_0x5285eb;return _0x4aad5e[_0x2911c7(0x1f6)]('id',{'type':_0x41ca59[_0x2911c7(0x144)],'description':_0x2911c7(0x138)});},async _0x5f5c4c=>{const _0x3e12d0=_0x5285eb;await _0x41ca59['rMkzs'](withTelemetry,_0x41ca59[_0x3e12d0(0x1ca)],()=>featureDelete(_0x5f5c4c['id']));})[_0x5285eb(0xad)](_0x5285eb(0xb4),_0x5285eb(0x1d4),_0x8774c0=>{return _0x8774c0['positional']('id',{'type':'string','description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x45532=>{const _0x36e923=_0x5285eb;await withTelemetry(_0x36e923(0xbf),()=>featureRestore(_0x45532['id']));})['command']('setup\x20[tokenOrSubcommand]',_0x5285eb(0x215),_0x17ab27=>{const _0x23d389=_0x5285eb,_0x119d0e={'ANjLF':_0x41ca59['FINll'],'SXPYr':'skip-chromium','akPer':'skip-auth','PnLZU':_0x41ca59[_0x23d389(0x144)],'jWmsj':_0x41ca59[_0x23d389(0xb8)],'LvFqD':_0x41ca59[_0x23d389(0x113)],'oVsxl':_0x41ca59[_0x23d389(0x193)],'osjpT':'opencode','yDWED':_0x23d389(0x222),'WGmBq':'mcp-bootstrap','sBbdw':_0x41ca59[_0x23d389(0x1fe)],'qFysW':_0x23d389(0x124),'oMLjm':_0x23d389(0xd2),'laXhl':_0x41ca59[_0x23d389(0x107)],'oCJlB':'scope','NtGqn':'user','aUTBJ':_0x41ca59['qFEEN'],'DBYcE':_0x41ca59['didfL'],'nEkOY':_0x23d389(0x161),'WCuyj':'Skip\x20browser\x20authentication','GjnzF':'force','rYDaG':'allow-insecure-localhost','FFLNT':_0x41ca59['vFbmd'],'IYotq':function(_0x11485b,_0x51456c){return _0x41ca59['yEgOF'](_0x11485b,_0x51456c);},'zgdVs':function(_0x34fdc2,_0x3fde48){return _0x34fdc2+_0x3fde48;},'umoEp':_0x23d389(0x229)};return _0x17ab27[_0x23d389(0xce)]('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')[_0x23d389(0x1f6)](_0x41ca59[_0x23d389(0x17a)],{'type':_0x41ca59['chBml'],'description':'Subcommand\x20or\x20API\x20token\x20(rngr_...)'})[_0x23d389(0xad)](_0x41ca59[_0x23d389(0xb1)],_0x23d389(0x16f),_0x4dc33e=>{const _0x41f4ec=_0x23d389;return _0x4dc33e['option']('token',{'type':'string','description':_0x119d0e['ANjLF']})[_0x41f4ec(0x7f)](_0x119d0e['SXPYr'],{'type':'boolean','description':_0x41f4ec(0xd0),'default':![]})['option'](_0x119d0e[_0x41f4ec(0xfd)],{'type':_0x41f4ec(0x222),'description':'Skip\x20authentication','default':![]})['option']('with-deps',{'type':'boolean','description':_0x41f4ec(0x1ec),'default':![]})[_0x41f4ec(0x7f)]('scope',{'type':_0x119d0e[_0x41f4ec(0x1b4)],'choices':[_0x41f4ec(0x174)],'hidden':!![],'description':_0x119d0e[_0x41f4ec(0x8a)]})[_0x41f4ec(0x7f)]('url',{'type':_0x119d0e['PnLZU'],'description':_0x119d0e[_0x41f4ec(0x20c)]})[_0x41f4ec(0x7f)]('force',{'type':_0x41f4ec(0x222),'description':_0x119d0e[_0x41f4ec(0x142)],'default':![]})[_0x41f4ec(0x7f)](_0x119d0e['osjpT'],{'type':_0x119d0e['yDWED'],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})['option'](_0x41f4ec(0x96),{'type':_0x119d0e['yDWED'],'description':_0x41f4ec(0x10d),'default':![]})['option'](_0x119d0e['WGmBq'],{'type':_0x119d0e['yDWED'],'description':_0x119d0e['sBbdw'],'default':![]})[_0x41f4ec(0x7f)]('mcp',{'type':'boolean','description':'Alias\x20for\x20--mcp-bootstrap','default':![]});},async _0x11db5c=>{const _0x1b96bd=_0x23d389;(_0x11db5c['mcp-bootstrap']||_0x11db5c['mcp'])&&await _0x41ca59['MBbXx'](withTelemetry,_0x41ca59['FsgzS'],()=>mcpBootstrap()),await withTelemetry(_0x41ca59[_0x1b96bd(0x22b)],_0x559202=>start(_0x11db5c['token'],{'skipChromium':_0x11db5c['skip-chromium'],'skipAuth':_0x11db5c[_0x1b96bd(0x1dc)],'withDeps':_0x11db5c[_0x1b96bd(0xaf)],'scope':_0x11db5c[_0x1b96bd(0x1d6)],'url':_0x11db5c['url'],'force':_0x11db5c['force'],'opencode':_0x11db5c[_0x1b96bd(0xe6)],'allowInsecureLocalhost':_0x11db5c[_0x1b96bd(0x96)]},_0x559202));})['command']('deps',_0x41ca59[_0x23d389(0x1c6)],_0x32bc42=>{const _0x54ad06=_0x23d389;return _0x32bc42['option'](_0x54ad06(0xaf),{'type':_0x119d0e['yDWED'],'description':_0x119d0e['qFysW'],'default':![]});},async _0x11968a=>{await _0x41ca59['rMkzs'](withTelemetry,_0x41ca59['sqEGO'],()=>ensureChromium(_0x11968a['with-deps']));})['command'](_0x41ca59['tWSMM'],'Authenticate\x20with\x20Ranger',_0x1f8d8c=>{const _0x4fe720=_0x23d389;return _0x1f8d8c['option']('token',{'type':_0x4fe720(0xb5),'description':'Ranger\x20API\x20token\x20(rngr_...)'})[_0x4fe720(0x7f)](_0x119d0e[_0x4fe720(0x1c2)],{'type':_0x4fe720(0x222),'description':_0x119d0e['laXhl'],'default':![]});},async _0x14a004=>{const _0x22a88e=_0x23d389,_0x3efe56={'WXBIU':function(_0x78a563){return _0x78a563();},'SeCJS':_0x41ca59[_0x22a88e(0x14a)],'HhQJt':function(_0x543a71,_0x436453){return _0x543a71(_0x436453);}};await _0x41ca59[_0x22a88e(0x1f3)](withTelemetry,_0x41ca59[_0x22a88e(0x1c9)],async()=>{const _0xf3bfab=_0x22a88e;if(_0x14a004['mcp']){await mcpBootstrap();const _0x34cfbc=await _0x3efe56[_0xf3bfab(0xe3)](refreshCliToken);if(!_0x34cfbc)throw new Error(_0x3efe56['SeCJS']);const _0x637803=await _0x3efe56[_0xf3bfab(0x117)](getCurrentUser,_0x34cfbc);if(!_0x637803[_0xf3bfab(0x236)])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x637803[_0xf3bfab(0x8f)]);console[_0xf3bfab(0x1e2)](_0xf3bfab(0x1e4)+_0x637803['user'][_0xf3bfab(0xc9)]);return;}await _0x3efe56['HhQJt'](authenticate,_0x14a004['token']);});})[_0x23d389(0xad)](_0x23d389(0x122),_0x41ca59[_0x23d389(0x145)],_0x59309d=>{const _0x132762=_0x23d389;return _0x59309d['option'](_0x119d0e[_0x132762(0xe9)],{'type':'string','choices':[_0x119d0e[_0x132762(0x218)],_0x119d0e['aUTBJ']],'description':_0x119d0e['DBYcE']})['option']('opencode',{'type':_0x132762(0x222),'description':_0x132762(0xcc),'default':![]});},async _0x22ceb6=>{const _0x4352c4=_0x23d389,_0xba9751={'bBNkU':function(_0x1bdba3,_0x5b213a){return _0x1bdba3(_0x5b213a);},'iPdPf':function(_0x1f93c6,_0x311120,_0x106991){const _0xb5f4c6=_0x2731;return _0x41ca59[_0xb5f4c6(0xe8)](_0x1f93c6,_0x311120,_0x106991);},'bLWTl':'ranger','cjiwf':_0x41ca59[_0x4352c4(0xd9)],'JRPEo':function(_0x483d5f,_0x486e77){return _0x483d5f(_0x486e77);}};await _0x41ca59['qokWw'](withTelemetry,_0x41ca59['ksZhS'],async()=>{const _0x264b4f=_0x4352c4,_0x2378da=_0x22ceb6['scope'];if(_0x22ceb6['opencode']){const _0x2d3dbd=await _0xba9751[_0x264b4f(0x17f)](ensureOpencodePluginConfig,_0x2378da);_0x2d3dbd&&await _0xba9751['iPdPf'](installSkill,_0xba9751[_0x264b4f(0x118)],{'level':_0x2d3dbd['scope'],'cliVersion':getCurrentVersion(),'platform':_0xba9751[_0x264b4f(0xa4)]});}else await _0xba9751[_0x264b4f(0x17f)](ensureClaudePlugin,_0x2378da),await _0xba9751['JRPEo'](ensureClaudeSkills,_0x2378da);});})[_0x23d389(0xad)]('profiles','Set\x20up\x20a\x20local\x20browser\x20profile',_0x2e300d=>{const _0x4287d1=_0x23d389;return _0x2e300d[_0x4287d1(0x7f)](_0x119d0e[_0x4287d1(0xe9)],{'type':'string','choices':[_0x4287d1(0x174)],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x4287d1(0xb9),{'type':_0x119d0e[_0x4287d1(0x1b4)],'description':_0x119d0e['nEkOY']})[_0x4287d1(0x7f)](_0x4287d1(0x1dc),{'type':'boolean','description':_0x119d0e['WCuyj'],'default':![]})['option'](_0x119d0e[_0x4287d1(0x9b)],{'type':_0x4287d1(0x222),'description':_0x4287d1(0xde),'default':![]})['option'](_0x119d0e['rYDaG'],{'type':_0x119d0e['yDWED'],'description':_0x119d0e[_0x4287d1(0x206)],'default':![]});},async _0x5e8f42=>{const _0x34230d=_0x23d389,_0x4628d0=_0x5e8f42['scope'];_0x119d0e[_0x34230d(0xd5)](_0x4628d0,undefined)&&_0x4628d0!==_0x119d0e['NtGqn']&&(console[_0x34230d(0x8f)](_0x119d0e['zgdVs']('ranger\x20setup\x20profiles\x20--scope='+_0x4628d0+'\x20is\x20no\x20longer\x20supported.\x20','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20')+'Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.'),process['exit'](0x1)),await withTelemetry(_0x119d0e[_0x34230d(0x12d)],_0x218698=>ensureLocalEnv({'url':_0x5e8f42[_0x34230d(0xb9)],'force':_0x5e8f42['force'],'allowInsecureLocalhost':_0x5e8f42['allow-insecure-localhost'],'scope':'user'},_0x218698));})[_0x23d389(0x7f)](_0x23d389(0x1df),{'type':_0x41ca59[_0x23d389(0x190)],'description':_0x23d389(0xd0),'default':![]})['option'](_0x41ca59['CQkUM'],{'type':'string','choices':[_0x23d389(0x174)],'hidden':!![],'description':_0x41ca59['QGwWF']})['option'](_0x41ca59[_0x23d389(0x158)],{'type':_0x23d389(0xb5),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})[_0x23d389(0x7f)](_0x41ca59[_0x23d389(0x88)],{'type':'boolean','description':_0x41ca59['JlDkA'],'default':![]})[_0x23d389(0x7f)](_0x23d389(0xe6),{'type':_0x41ca59['SJyJI'],'description':_0x41ca59['frMvt'],'default':![]})['option']('allow-insecure-localhost',{'type':'boolean','description':_0x41ca59['vIqAf'],'default':![]})[_0x23d389(0x7f)](_0x23d389(0x1fa),{'type':_0x23d389(0x222),'description':_0x41ca59['kZBAI'],'default':![]})[_0x23d389(0x7f)]('skip-auth',{'type':_0x41ca59[_0x23d389(0x190)],'description':_0x41ca59[_0x23d389(0xda)],'default':![]})['option'](_0x41ca59[_0x23d389(0x239)],{'type':_0x23d389(0x222),'description':_0x23d389(0x124),'default':![]})['option'](_0x41ca59['HDWAg'],{'type':_0x23d389(0xb5),'hidden':!![],'description':'API\x20token'});},async _0x1c1867=>{const _0x357c2e=_0x5285eb,_0x4a288e=_0x1c1867['tokenOrSubcommand'],_0x2cc455=_0x1c1867['token']??_0x4a288e;_0x1c1867[_0x41ca59[_0x357c2e(0x114)]]&&await withTelemetry('mcp-bootstrap',()=>mcpBootstrap()),await withTelemetry(_0x41ca59[_0x357c2e(0x19d)],_0x9b091e=>start(_0x2cc455,{'skipChromium':_0x1c1867[_0x357c2e(0x1df)],'skipAuth':_0x1c1867[_0x357c2e(0x1dc)],'withDeps':_0x1c1867[_0x357c2e(0xaf)],'scope':_0x1c1867[_0x357c2e(0x1d6)],'url':_0x1c1867['url'],'force':_0x1c1867['force'],'opencode':_0x1c1867[_0x357c2e(0xe6)],'allowInsecureLocalhost':_0x1c1867[_0x357c2e(0x96)]},_0x9b091e));})[_0x5285eb(0xad)](_0x41ca59['vcYsb'],![],_0x43e869=>{const _0x124d46=_0x5285eb;return _0x43e869[_0x124d46(0x1f6)](_0x124d46(0x187),{'type':_0x124d46(0xb5),'description':'Ranger\x20API\x20token','demandOption':!![]})[_0x124d46(0x7f)](_0x124d46(0x189),{'type':'string','description':_0x41ca59[_0x124d46(0xd7)]})['option'](_0x124d46(0x213),{'type':'string','description':_0x124d46(0x1d9)})[_0x124d46(0x7f)](_0x41ca59['ApInw'],{'type':_0x41ca59[_0x124d46(0x190)],'description':_0x41ca59['yeAmx'],'default':![]});},async _0x1ec593=>{const _0x510410=_0x5285eb;await withTelemetry('setup-ci',_0x535b4a=>setupCi(_0x1ec593[_0x510410(0x187)],{'profile':_0x1ec593['profile'],'baseUrl':_0x1ec593['base-url'],'skipChromium':_0x1ec593[_0x510410(0x1df)]},_0x535b4a));})[_0x5285eb(0xad)](_0x5285eb(0xba),_0x41ca59[_0x5285eb(0x220)],()=>{},async()=>{await withTelemetry(_0x41ca59['tWSMM'],()=>login());})[_0x5285eb(0xad)](_0x5285eb(0xfc),_0x41ca59['QBNUT'],_0x1d620e=>{const _0x8f3eb1=_0x5285eb;return _0x1d620e[_0x8f3eb1(0x7f)](_0x8f3eb1(0xe6),{'type':_0x8f3eb1(0x222),'description':_0x41ca59[_0x8f3eb1(0x15b)],'default':![]})[_0x8f3eb1(0x7f)](_0x41ca59[_0x8f3eb1(0x140)],{'type':_0x8f3eb1(0xb5),'choices':[_0x41ca59['HPvRU'],_0x41ca59[_0x8f3eb1(0x109)]],'description':_0x41ca59['YOekc']});},async _0x5168a7=>{const _0x500817=_0x5285eb,_0x3ff549=_0x41ca59[_0x500817(0x198)](Boolean,_0x5168a7['opencode']);await withTelemetry('skillup',()=>skillup({'autoInstall':_0x5168a7[_0x500817(0x1d6)],'platform':_0x3ff549?'opencode':_0x500817(0xc3)}));})['command'](_0x41ca59[_0x5285eb(0x14c)],_0x41ca59[_0x5285eb(0x1bf)],()=>{},async()=>{const _0xdb0930=_0x5285eb;await withTelemetry(_0x41ca59[_0xdb0930(0x14c)],()=>clean());})[_0x5285eb(0xad)]([_0x41ca59['akThl'],_0x41ca59[_0x5285eb(0x1f1)]],'Manage\x20profiles',_0x3cb750=>{const _0x55e728=_0x5285eb,_0x317679={'HWhDT':function(_0x325e9f,_0x4f6466){return _0x325e9f(_0x4f6466);},'NoRLT':_0x41ca59[_0x55e728(0x176)],'XJIYo':_0x55e728(0xb6),'mFCxv':'string','zYfgG':_0x41ca59[_0x55e728(0x211)],'pPKQk':'profile\x20delete','CgBHN':function(_0x3b9025,_0x158e68){return _0x3b9025||_0x158e68;},'ETZIi':function(_0x1245b4,_0x480a3a,_0x4aa8bf){return _0x1245b4(_0x480a3a,_0x4aa8bf);},'RYXMz':_0x41ca59['WDmAB'],'gmHOM':'No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','ecpXr':function(_0x3db9c6,_0x238c18){return _0x41ca59['qfemi'](_0x3db9c6,_0x238c18);},'VmiaR':_0x41ca59['fjHvh'],'iWYhx':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','AGsSL':_0x41ca59[_0x55e728(0x190)],'ETlnk':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','aUcKe':_0x41ca59['MFyCU'],'QVtiC':'Skip\x20interactive\x20confirmation\x20prompts.','RFXcp':_0x55e728(0x132),'kfUXG':'profile','dpzTU':_0x41ca59['IiMqj'],'fXFud':_0x41ca59['iWwrV'],'elmBT':_0x41ca59[_0x55e728(0x191)],'exdJc':_0x55e728(0x1a0),'XEfxZ':_0x41ca59[_0x55e728(0x18d)]};return _0x3cb750['usage'](PROFILE_HELP)[_0x55e728(0xad)](_0x41ca59['hNtlf'],_0x55e728(0x16a),_0xdbbd12=>{const _0x1a8f1e=_0x55e728;return _0xdbbd12['positional'](_0x1a8f1e(0xb6),{'type':_0x41ca59['chBml'],'description':_0x1a8f1e(0xb0),'demandOption':!![]})['option']('ci',{'type':'boolean','hidden':!![],'default':![]})['option'](_0x41ca59['JCOsj'],{'type':_0x1a8f1e(0x222),'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0x1a8f1e(0x7f)](_0x41ca59['IICjn'],{'type':_0x41ca59['chBml'],'description':_0x41ca59['Cljad']})[_0x1a8f1e(0x7f)](_0x41ca59['fRYZl'],{'type':_0x41ca59['SJyJI'],'description':_0x1a8f1e(0xde),'default':![]})[_0x1a8f1e(0x7f)](_0x41ca59['pvnoT'],{'type':_0x41ca59['chBml'],'description':_0x41ca59[_0x1a8f1e(0xc8)]})[_0x1a8f1e(0x7f)](_0x1a8f1e(0x96),{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0x1a8f1e(0x7f)](_0x41ca59[_0x1a8f1e(0x82)],{'type':_0x41ca59['SJyJI'],'description':_0x1a8f1e(0x1a2),'default':![]})['option'](_0x41ca59['bcpen'],{'type':_0x41ca59[_0x1a8f1e(0x144)],'array':!![],'description':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)'})[_0x1a8f1e(0x7f)]('scope',{'type':_0x41ca59['chBml'],'choices':[_0x1a8f1e(0x174),_0x1a8f1e(0x172)],'description':_0x41ca59['jkQHi']})[_0x1a8f1e(0x7f)](_0x41ca59['KRsYp'],{'type':'string','description':_0x41ca59['xnVDd']})[_0x1a8f1e(0x7f)](_0x1a8f1e(0x16d),{'type':'boolean','alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','default':![]});},async _0x171337=>{const _0x12e143=_0x55e728;await withTelemetry('profile\x20add',_0x784ab7=>addEnv(_0x171337['profile-name'],{'ci':_0x171337['ci'],'skipAuth':_0x171337[_0x12e143(0x1dc)],'url':_0x171337['url'],'force':_0x171337[_0x12e143(0x1aa)],'cdpEndpoint':_0x171337['cdp-endpoint'],'allowInsecureLocalhost':_0x171337[_0x12e143(0x96)],'safeMode':_0x171337[_0x12e143(0x19c)],'setupHeader':_0x171337['setup-header'],'scope':_0x171337[_0x12e143(0x1d6)],'authEnv':_0x171337[_0x12e143(0x167)],'yes':_0x171337['yes']},_0x784ab7),{'isElectron':_0x317679['HWhDT'](Boolean,_0x171337[_0x317679[_0x12e143(0xa7)]])});})[_0x55e728(0xad)](_0x41ca59['UvSyX'],_0x41ca59[_0x55e728(0x8b)],_0x130c96=>{const _0x2aac85=_0x55e728;return _0x130c96[_0x2aac85(0x1f6)](_0x317679[_0x2aac85(0x1a4)],{'type':_0x317679[_0x2aac85(0x196)],'description':_0x317679['zYfgG'],'demandOption':!![]});},async _0x49af19=>{const _0x152dd9=_0x55e728;await withTelemetry(_0x41ca59[_0x152dd9(0x185)],()=>useEnv(_0x49af19['profile-name']));})['command'](_0x41ca59[_0x55e728(0x238)],_0x41ca59['QbWEB'],_0x3c6576=>{const _0x4570fd=_0x55e728;return _0x3c6576[_0x4570fd(0x1f6)](_0x41ca59[_0x4570fd(0x110)],{'type':_0x4570fd(0xb5),'description':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','demandOption':!![]})['option'](_0x41ca59['hIwXd'],{'type':_0x4570fd(0x222),'alias':'y','description':_0x4570fd(0xe5),'default':![]});},async _0x1c960e=>{const _0x4143c9=_0x55e728;await withTelemetry(_0x317679['pPKQk'],()=>deleteProfile(_0x1c960e[_0x4143c9(0xb6)],{'yes':_0x1c960e[_0x4143c9(0x16d)]}));})['command'](_0x41ca59[_0x55e728(0xd1)],![],_0x284904=>{const _0x4f55f3=_0x55e728;return _0x284904[_0x4f55f3(0x1f6)](_0x41ca59[_0x4f55f3(0x92)],{'type':_0x41ca59[_0x4f55f3(0x144)],'description':_0x41ca59[_0x4f55f3(0x1e6)],'demandOption':!![]});},async _0x46c42f=>{await withTelemetry(_0x41ca59['DHDMM'],()=>authEncrypt(_0x46c42f['profile']));})['command']('ls','List\x20all\x20profiles',()=>{},async()=>{await withTelemetry(_0x41ca59['ACFzz'],()=>envList());})[_0x55e728(0xad)](_0x41ca59[_0x55e728(0x9f)],_0x41ca59['revsQ'],_0x24d743=>{const _0x32c6d3=_0x55e728;return _0x24d743[_0x32c6d3(0x1f6)](_0x41ca59[_0x32c6d3(0x110)],{'type':_0x41ca59['chBml'],'description':_0x32c6d3(0x1de),'demandOption':!![]})['option'](_0x41ca59['tcjNL'],{'type':_0x32c6d3(0x222),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)'})['option']('manual',{'type':_0x41ca59['SJyJI'],'description':_0x41ca59['qTVlu']});},async _0x5c87dd=>{const _0x4d3cba=_0x55e728;await withTelemetry(_0x4d3cba(0x208),_0x1e2488=>updateEnv(_0x5c87dd[_0x4d3cba(0xb6)],_0x1e2488,{'allowInsecureLocalhost':_0x5c87dd[_0x4d3cba(0x96)],'manual':_0x5c87dd['manual']}));})['command']('login\x20<name>',![],_0x20b5b8=>{const _0x2e9678=_0x55e728;return _0x20b5b8[_0x2e9678(0x1f6)]('name',{'type':_0x2e9678(0xb5),'description':_0x41ca59['PAZnV'],'demandOption':!![]});},async _0x5a2161=>{const _0x215221=_0x55e728;await withTelemetry(_0x41ca59[_0x215221(0x1bb)],async()=>{const _0x4ec588=_0x215221,_0x8803f2=process['env']['RANGER_TEST_USERNAME'],_0x15d7f7=process['env']['RANGER_TEST_PASSWORD'];_0x317679['CgBHN'](!_0x8803f2,!_0x15d7f7)&&(console[_0x4ec588(0x8f)](_0x4ec588(0x15a)),process['exit'](0x1));const _0x2b5440=_0x5a2161['name'],_0x5a0848=await _0x317679['ETZIi'](serverSideLogin,_0x2b5440,{'force':!![]});_0x5a0848['status']===_0x317679[_0x4ec588(0x11f)]&&(console[_0x4ec588(0x8f)](_0x317679[_0x4ec588(0x106)]),process[_0x4ec588(0x120)](0x1)),_0x317679['ecpXr'](_0x5a0848[_0x4ec588(0x21b)],_0x317679[_0x4ec588(0x170)])&&(console['error']('Login\x20failed:\x20'+(_0x5a0848[_0x4ec588(0x8f)]??_0x4ec588(0xbe))),_0x5a0848[_0x4ec588(0x11a)]&&console['error'](_0x5a0848[_0x4ec588(0x11a)]),process['exit'](0x1)),console[_0x4ec588(0x1e2)](_0x4ec588(0x104)+_0x2b5440+'\x27.\x20Session\x20saved.');});})['command'](_0x55e728(0x1bc),![],_0x4f72c9=>{const _0x26cd03=_0x55e728;return _0x4f72c9[_0x26cd03(0x1f6)](_0x317679[_0x26cd03(0x1a4)],{'type':_0x317679['mFCxv'],'description':_0x317679['iWYhx']})[_0x26cd03(0x7f)]('all',{'type':_0x317679[_0x26cd03(0x163)],'description':_0x317679[_0x26cd03(0x205)],'default':![]})[_0x26cd03(0x7f)](_0x317679[_0x26cd03(0x186)],{'type':_0x26cd03(0x222),'description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})['option']('yes',{'type':_0x317679['AGsSL'],'alias':'y','description':_0x317679['QVtiC'],'default':![]})['option'](_0x317679['RFXcp'],{'type':_0x317679[_0x26cd03(0x163)],'description':_0x26cd03(0xf2),'default':![]});},async _0x316c1d=>{const _0x3d55d8=_0x55e728;await withTelemetry('profile\x20migrate',_0x2bac32=>migrateProfile({'profileName':_0x316c1d[_0x3d55d8(0xb6)],'all':_0x316c1d[_0x3d55d8(0x12b)],'dryRun':_0x316c1d[_0x3d55d8(0x14d)],'yes':_0x316c1d[_0x3d55d8(0x16d)],'saveCreds':_0x316c1d[_0x3d55d8(0x132)]},_0x2bac32));})[_0x55e728(0xad)](_0x41ca59['sxcJt'],_0x41ca59[_0x55e728(0x95)],_0xd022cc=>{const _0x3d45ab=_0x55e728,_0x2d92f7={'rBxZG':function(_0x4faf25,_0x74682e,_0x196338){return _0x4faf25(_0x74682e,_0x196338);},'AqFYA':_0x41ca59['FTaix'],'qOLsf':'Profile\x20name','KBVsC':_0x41ca59[_0x3d45ab(0x144)],'wXvqh':_0x3d45ab(0x10f),'vcZRG':_0x3d45ab(0x17c),'YdLei':_0x41ca59[_0x3d45ab(0x10c)]};return _0xd022cc['usage'](PROFILE_CONFIG_HELP)['command'](_0x41ca59[_0x3d45ab(0x1c0)],_0x41ca59['hRJOh'],_0x3cf085=>{const _0x9dbdf2=_0x3d45ab;return _0x3cf085['positional'](_0x317679[_0x9dbdf2(0x13a)],{'type':_0x9dbdf2(0xb5),'description':_0x317679[_0x9dbdf2(0x179)],'demandOption':!![]})[_0x9dbdf2(0x1f6)](_0x317679[_0x9dbdf2(0x22d)],{'type':_0x9dbdf2(0xb5),'description':_0x317679['elmBT'],'demandOption':!![]})['positional'](_0x317679[_0x9dbdf2(0xc5)],{'type':_0x317679['mFCxv'],'description':_0x317679['XEfxZ'],'demandOption':!![]});},async _0x4e0be6=>{await _0x2d92f7['rBxZG'](withTelemetry,_0x2d92f7['AqFYA'],()=>configSet(_0x4e0be6['profile'],_0x4e0be6['key'],_0x4e0be6['value']));})['command']('get\x20<profile>\x20<key>',_0x41ca59[_0x3d45ab(0x11b)],_0x4ea2c9=>{const _0x15047d=_0x3d45ab;return _0x4ea2c9[_0x15047d(0x1f6)](_0x15047d(0x189),{'type':'string','description':_0x2d92f7['qOLsf'],'demandOption':!![]})[_0x15047d(0x1f6)](_0x15047d(0x1f4),{'type':_0x2d92f7['KBVsC'],'description':_0x2d92f7[_0x15047d(0x148)],'demandOption':!![]});},async _0x3a544a=>{const _0x34a93a=_0x3d45ab;await withTelemetry(_0x34a93a(0x219),()=>configGet(_0x3a544a['profile'],_0x3a544a['key']));})[_0x3d45ab(0xad)](_0x41ca59['WniDw'],_0x41ca59[_0x3d45ab(0x1fb)],_0x3c5d5e=>{const _0x745ac0=_0x3d45ab;return _0x3c5d5e['positional'](_0x745ac0(0x189),{'type':'string','description':_0x317679['dpzTU'],'demandOption':!![]});},async _0x431da4=>{await withTelemetry('profile\x20config\x20list',()=>configList(_0x431da4['profile']));})[_0x3d45ab(0xad)](_0x3d45ab(0x20e),_0x41ca59['sPpUq'],_0x53811b=>{const _0x5a0d3e=_0x3d45ab;return _0x53811b[_0x5a0d3e(0x1f6)](_0x5a0d3e(0x189),{'type':_0x2d92f7['KBVsC'],'description':'Profile\x20name','demandOption':!![]})[_0x5a0d3e(0x1f6)](_0x5a0d3e(0x1f4),{'type':_0x2d92f7[_0x5a0d3e(0x150)],'description':_0x2d92f7[_0x5a0d3e(0x146)],'demandOption':!![]});},async _0xc770f=>{const _0xdfab1e=_0x3d45ab;await _0x2d92f7[_0xdfab1e(0x1e8)](withTelemetry,_0x2d92f7['YdLei'],()=>configUnset(_0xc770f[_0xdfab1e(0x189)],_0xc770f['key']));})[_0x3d45ab(0xad)](_0x41ca59['ZZHng'],_0x41ca59['VhleF'],_0x39d1b7=>{return _0x39d1b7['positional']('profile',{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x5a16ab=>{const _0x5738df=_0x3d45ab;await withTelemetry(_0x5738df(0x139),()=>configReset(_0x5a16ab[_0x5738df(0x189)]));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})['demandCommand'](0x1,_0x41ca59[_0x55e728(0x83)]);})['command']('status',_0x5285eb(0x224),()=>{},async()=>{const _0x4f0302=_0x5285eb;await _0x41ca59['XdtaY'](withTelemetry,_0x41ca59[_0x4f0302(0xe2)],()=>status());})[_0x5285eb(0xad)](_0x41ca59['DDNZZ'],'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x12ed31=_0x5285eb;await withTelemetry(_0x41ca59[_0x12ed31(0x1d8)],()=>update());})['command']('print-access-token',_0x41ca59['YvcUp'],()=>{},async()=>{const _0x42caa0=_0x5285eb;await _0x41ca59[_0x42caa0(0x221)](withTelemetry,'print-access-token',async()=>{const _0x148b5b=_0x42caa0,_0x4283f8=await getToken();if(!_0x4283f8)throw new Error(_0x148b5b(0x188));console['log'](_0x4283f8);});})[_0x5285eb(0xad)]('go','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.',_0x5ac6fa=>{const _0x28b5ed=_0x5285eb;return _0x5ac6fa['option'](_0x28b5ed(0x225),{'type':_0x41ca59['chBml'],'description':_0x28b5ed(0x233)})['option'](_0x41ca59['akThl'],{'type':_0x28b5ed(0xb5),'description':_0x41ca59[_0x28b5ed(0x101)]})[_0x28b5ed(0x7f)](_0x41ca59[_0x28b5ed(0x17e)],{'type':_0x28b5ed(0xb5),'array':!![],'description':_0x41ca59[_0x28b5ed(0xbd)]})['option'](_0x41ca59['mYJLM'],{'type':_0x28b5ed(0xb5),'description':_0x41ca59[_0x28b5ed(0x81)]})[_0x28b5ed(0x7f)]('check',{'type':_0x41ca59[_0x28b5ed(0x144)],'description':_0x41ca59['oTvLU']})['option'](_0x41ca59['dvdgf'],{'type':_0x28b5ed(0x235),'description':_0x28b5ed(0x168)})['option'](_0x41ca59['PVjYV'],{'type':'string','description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})['option'](_0x28b5ed(0x213),{'type':_0x41ca59['chBml'],'description':_0x41ca59[_0x28b5ed(0x9d)]})['option'](_0x41ca59['eYCJP'],{'type':_0x28b5ed(0xb5),'description':_0x41ca59[_0x28b5ed(0x16c)]})[_0x28b5ed(0x7f)]('headed',{'type':_0x41ca59['SJyJI'],'description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})[_0x28b5ed(0x7f)](_0x41ca59[_0x28b5ed(0xf0)],{'type':_0x41ca59['chBml'],'array':!![],'alias':_0x41ca59['FEcTr'],'description':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.'})[_0x28b5ed(0x7f)](_0x41ca59['BRvAF'],{'type':_0x41ca59['SJyJI'],'description':_0x28b5ed(0x10b),'default':![]})[_0x28b5ed(0x7f)]('debug-outcome',{'type':_0x41ca59['chBml'],'hidden':!![],'choices':[_0x41ca59['CmwWx'],_0x28b5ed(0x175),_0x28b5ed(0x1a9),'failed',_0x28b5ed(0x1d2)]})[_0x28b5ed(0x7f)]('debug-address-comments',{'type':_0x41ca59['SJyJI'],'hidden':!![]})['option'](_0x28b5ed(0x167),{'type':'string','description':_0x41ca59['SjwgA']})[_0x28b5ed(0x7f)](_0x28b5ed(0xa1),{'type':_0x41ca59['chBml'],'hidden':!![]})['option'](_0x41ca59['pBjSQ'],{'type':_0x28b5ed(0x235),'hidden':!![]});},async _0x556cbb=>{await runGoCommand(_0x556cbb);})[_0x5285eb(0xad)]('auth',![],_0x59a3a6=>{const _0x2016af=_0x5285eb,_0x3d2ac2={'kMxuX':function(_0x5d9ee2,_0x33a028,_0x532b52){return _0x41ca59['RielL'](_0x5d9ee2,_0x33a028,_0x532b52);},'GWool':_0x41ca59[_0x2016af(0x1a5)],'kgYAD':_0x41ca59['RGxrS']};return _0x59a3a6['command'](_0x41ca59[_0x2016af(0x165)],![],_0x50ef76=>{const _0x364bf8=_0x2016af;return _0x50ef76[_0x364bf8(0x1f6)](_0x41ca59[_0x364bf8(0x92)],{'type':_0x41ca59[_0x364bf8(0x144)],'description':_0x364bf8(0x178),'demandOption':!![]});},async _0x1255c3=>{const _0xeb9056=_0x2016af;_0x3d2ac2[_0xeb9056(0x1f9)](warnRenamed,_0x3d2ac2[_0xeb9056(0x18c)],_0x3d2ac2[_0xeb9056(0x100)]),await authEncrypt(_0x1255c3[_0xeb9056(0x189)]);})['demandCommand'](0x1,_0x41ca59['jYpnI']);},()=>{})['command'](_0x5285eb(0xcb),![],_0x5ebaa2=>{const _0x1ae065=_0x5285eb;return _0x5ebaa2[_0x1ae065(0x1f6)]('token',{'type':_0x1ae065(0xb5),'description':_0x1ae065(0xec)})['option']('skip-chromium',{'type':_0x41ca59[_0x1ae065(0x190)],'description':_0x41ca59['CKVym'],'default':![]})[_0x1ae065(0x7f)]('scope',{'type':_0x41ca59[_0x1ae065(0x144)],'choices':[_0x1ae065(0x174)],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x41ca59['IICjn'],{'type':_0x41ca59['chBml'],'description':_0x1ae065(0x1ae)})['option'](_0x41ca59['fRYZl'],{'type':_0x1ae065(0x222),'description':_0x41ca59[_0x1ae065(0x193)],'default':![]})[_0x1ae065(0x7f)](_0x1ae065(0x1dc),{'type':'boolean','description':'Skip\x20authentication','default':![]})['option'](_0x1ae065(0xaf),{'type':_0x1ae065(0x222),'description':_0x41ca59[_0x1ae065(0x18a)],'default':![]});},async _0x4168e3=>{const _0x12b5ed=_0x5285eb;warnRenamed(_0x41ca59[_0x12b5ed(0x13d)],_0x41ca59['HxBDb']),await withTelemetry(_0x41ca59[_0x12b5ed(0x19d)],_0x49f539=>start(_0x4168e3[_0x12b5ed(0x187)],{'skipChromium':_0x4168e3[_0x12b5ed(0x1df)],'skipAuth':_0x4168e3['skip-auth'],'withDeps':_0x4168e3['with-deps'],'scope':_0x4168e3['scope'],'url':_0x4168e3[_0x12b5ed(0xb9)],'force':_0x4168e3['force']},_0x49f539));})['command'](_0x41ca59['HMLtE'],![],_0x2ba785=>{const _0x1ef860=_0x5285eb;return _0x2ba785['option'](_0x41ca59['KRsYp'],{'type':_0x1ef860(0xb5),'description':_0x41ca59[_0x1ef860(0xdb)]})[_0x1ef860(0x7f)]('task',{'type':'string','description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})[_0x1ef860(0x7f)]('item',{'type':_0x41ca59['jjClT'],'description':'Scenario\x20index\x20(1-based)'})[_0x1ef860(0x7f)](_0x1ef860(0x189),{'type':_0x41ca59[_0x1ef860(0x144)],'hidden':!![]})[_0x1ef860(0x7f)](_0x1ef860(0x237),{'type':_0x41ca59[_0x1ef860(0x144)],'hidden':!![]})[_0x1ef860(0x7f)](_0x41ca59[_0x1ef860(0x135)],{'type':'number','hidden':!![]})['option'](_0x1ef860(0x194),{'type':_0x41ca59['chBml'],'description':_0x1ef860(0x147)})[_0x1ef860(0x7f)](_0x1ef860(0x213),{'type':_0x1ef860(0xb5),'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x1ef860(0x7f)](_0x41ca59[_0x1ef860(0x1e0)],{'type':_0x1ef860(0xb5),'hidden':!![]})['option'](_0x41ca59[_0x1ef860(0x199)],{'type':_0x1ef860(0x222),'hidden':!![],'default':![]})['option']('env-var',{'type':_0x1ef860(0xb5),'array':!![],'alias':_0x1ef860(0x153),'hidden':!![]})['option'](_0x41ca59[_0x1ef860(0x1d5)],{'type':_0x1ef860(0xb5),'hidden':!![],'choices':['verified',_0x1ef860(0x175),_0x41ca59[_0x1ef860(0x216)],_0x1ef860(0x1d1),_0x41ca59['AzWCY']]});},async _0x37754b=>{await _0x41ca59['EgqQZ'](runGoCommand,_0x37754b,!![]);})[_0x5285eb(0xad)](_0x41ca59[_0x5285eb(0x226)],![],_0x5d2264=>{const _0x1d171e=_0x5285eb;return _0x5d2264['positional']('env-name',{'type':'string','description':_0x41ca59[_0x1d171e(0xaa)],'demandOption':!![]})['option']('ci',{'type':'boolean','description':_0x41ca59['VTAfG'],'default':![]})['option'](_0x1d171e(0x1dc),{'type':_0x41ca59['SJyJI'],'description':_0x1d171e(0xa5),'default':![]});},async _0x1d7772=>{const _0x4e5ff8=_0x5285eb;_0x41ca59[_0x4e5ff8(0xe8)](warnRenamed,'ranger\x20add\x20env',_0x41ca59['nIOhn']),await withTelemetry(_0x41ca59['nnUQe'],_0x5ac214=>addEnv(_0x1d7772['env-name'],{'ci':_0x1d7772['ci'],'skipAuth':_0x1d7772['skip-auth']},_0x5ac214));})[_0x5285eb(0xad)]('use\x20<env-name>',![],_0x477896=>{const _0x4bcbaa=_0x5285eb;return _0x477896[_0x4bcbaa(0x1f6)]('env-name',{'type':_0x41ca59['chBml'],'description':_0x4bcbaa(0x1cc),'demandOption':!![]});},async _0x284bc8=>{const _0x54c922=_0x5285eb;warnRenamed(_0x41ca59[_0x54c922(0xa0)],'ranger\x20profile\x20use'),await _0x41ca59['qokWw'](withTelemetry,_0x54c922(0x149),()=>useEnv(_0x284bc8[_0x54c922(0x228)]));})['command'](_0x5285eb(0xb3),![],_0x3dddb6=>{const _0x3272f5=_0x5285eb,_0x3f09c2={'ZnYZj':function(_0x3f1821,_0x2b6062,_0x11e107){return _0x3f1821(_0x2b6062,_0x11e107);},'uHQAf':'ranger\x20profile\x20config\x20set','Nsgbp':_0x3272f5(0x169),'NLmUb':function(_0x3750ae,_0x53667e,_0x5149a2){return _0x41ca59['oIaQn'](_0x3750ae,_0x53667e,_0x5149a2);},'AYnoH':_0x3272f5(0x84),'NWitc':_0x41ca59['QXMDa']};return _0x3dddb6[_0x3272f5(0xad)](_0x41ca59['ICeOf'],![],_0x4eefc1=>{const _0x52cd37=_0x3272f5;return _0x4eefc1['positional']('env',{'type':_0x41ca59['chBml'],'description':'Environment\x20name','demandOption':!![]})['positional'](_0x41ca59['iWwrV'],{'type':_0x52cd37(0xb5),'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})['positional']('value',{'type':_0x52cd37(0xb5),'description':_0x41ca59[_0x52cd37(0x18d)],'demandOption':!![]});},async _0x490097=>{const _0x4b05ad=_0x3272f5;_0x3f09c2['ZnYZj'](warnRenamed,_0x4b05ad(0x1ac),_0x3f09c2['uHQAf']),await _0x3f09c2['ZnYZj'](withTelemetry,_0x3f09c2['Nsgbp'],()=>configSet(_0x490097[_0x4b05ad(0x167)],_0x490097[_0x4b05ad(0x1f4)],_0x490097[_0x4b05ad(0x1a0)]));})['command'](_0x3272f5(0x1f0),![],_0x1df3db=>{const _0x30db6c=_0x3272f5;return _0x1df3db['positional']('env',{'type':_0x41ca59['chBml'],'description':_0x30db6c(0x1b8),'demandOption':!![]})['positional'](_0x41ca59[_0x30db6c(0xfe)],{'type':'string','description':_0x41ca59['OOsor'],'demandOption':!![]});},async _0x4c1878=>{const _0x51710a=_0x3272f5;warnRenamed(_0x51710a(0xc6),_0x41ca59[_0x51710a(0x20d)]),await _0x41ca59['rQoLf'](withTelemetry,'config\x20get',()=>configGet(_0x4c1878[_0x51710a(0x167)],_0x4c1878['key']));})['command'](_0x41ca59[_0x3272f5(0xc2)],![],_0x12dbcb=>{const _0x5c9946=_0x3272f5;return _0x12dbcb[_0x5c9946(0x1f6)]('env',{'type':_0x5c9946(0xb5),'description':'Environment\x20name','demandOption':!![]});},async _0x642cbf=>{const _0x37406=_0x3272f5;warnRenamed('ranger\x20config\x20list',_0x37406(0x121)),await _0x3f09c2['NLmUb'](withTelemetry,_0x3f09c2['AYnoH'],()=>configList(_0x642cbf[_0x37406(0x167)]));})[_0x3272f5(0xad)](_0x41ca59[_0x3272f5(0x1c5)],![],_0x283a47=>{const _0x54b92=_0x3272f5;return _0x283a47[_0x54b92(0x1f6)]('env',{'type':'string','description':'Environment\x20name','demandOption':!![]})[_0x54b92(0x1f6)](_0x41ca59['iWwrV'],{'type':_0x41ca59[_0x54b92(0x144)],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x110255=>{const _0x53e532=_0x3272f5;_0x3f09c2['NLmUb'](warnRenamed,_0x53e532(0x159),'ranger\x20profile\x20config\x20unset'),await withTelemetry(_0x3f09c2['NWitc'],()=>configUnset(_0x110255['env'],_0x110255[_0x53e532(0x1f4)]));})[_0x3272f5(0x15f)](0x1,_0x41ca59['lrbbk']);})[_0x5285eb(0xad)](_0x5285eb(0x167),![],_0x8fffa5=>{const _0x27944d=_0x5285eb,_0xdc035c={'HxdXA':'env-name','ztpMx':'Name\x20of\x20the\x20environment\x20to\x20update','YcWHW':function(_0x42cc7d,_0x66e470,_0x40288a){return _0x42cc7d(_0x66e470,_0x40288a);},'EIjnl':'ranger\x20profile\x20update','gwEOV':_0x27944d(0x1b0)};return _0x8fffa5['command']('ls',![],()=>{},async()=>{const _0x2eadce=_0x27944d;_0x41ca59[_0x2eadce(0xe8)](warnRenamed,'ranger\x20env\x20ls',_0x41ca59['tPdyw']),await withTelemetry(_0x41ca59['BWWoR'],()=>envList());})['command'](_0x41ca59['gyetx'],![],_0x4efa69=>{const _0x4fcbc0=_0x27944d;return _0x4efa69[_0x4fcbc0(0x1f6)](_0xdc035c[_0x4fcbc0(0x1a8)],{'type':_0x4fcbc0(0xb5),'description':_0xdc035c['ztpMx'],'demandOption':!![]});},async _0x2559e6=>{const _0x5b020d=_0x27944d;_0xdc035c['YcWHW'](warnRenamed,_0x5b020d(0x1ab),_0xdc035c[_0x5b020d(0xae)]),await withTelemetry(_0xdc035c['gwEOV'],_0x17c05b=>updateEnv(_0x2559e6['env-name'],_0x17c05b));})[_0x27944d(0x15f)](0x1,_0x41ca59[_0x27944d(0x11c)]);})[_0x5285eb(0xad)](_0x5285eb(0x225),![],_0x2daf45=>{const _0x17115c=_0x5285eb,_0x2ac0a4={'izhBN':function(_0x1c50f5,_0x163f00,_0x4f9191){return _0x1c50f5(_0x163f00,_0x4f9191);},'MaZfP':'feature\x20list','TKGnO':_0x17115c(0x11e),'XUytX':_0x41ca59[_0x17115c(0x154)],'rMQNi':_0x41ca59[_0x17115c(0x123)],'ybyzM':'string','ylAtM':_0x41ca59['AGSwB'],'QFATM':_0x41ca59['HeMhS']};return _0x2daf45[_0x17115c(0xad)](_0x41ca59['cSfIj'],![],_0x36ce54=>{const _0x67faaa=_0x17115c;return _0x36ce54['positional']('name',{'type':'string','description':_0x41ca59[_0x67faaa(0x232)],'demandOption':!![]})[_0x67faaa(0x7f)]('description',{'type':'string','alias':'d','description':_0x67faaa(0x85)})['option'](_0x41ca59['HKkvC'],{'type':_0x41ca59['NXjSw'],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option'](_0x67faaa(0x1b2),{'type':_0x41ca59[_0x67faaa(0x129)],'hidden':!![]});},async _0x5b2a30=>{const _0x3521ca=_0x17115c;warnRenamed('ranger\x20feature\x20create',_0x41ca59[_0x3521ca(0xc4)]),_0x41ca59[_0x3521ca(0x203)](warnFlagRenamed,'ranger\x20create',_0x3521ca(0x1cd),'--scenario');const _0x509514=_0x5b2a30['scenario']||_0x5b2a30[_0x3521ca(0xea)];await _0x41ca59['yxHOh'](withTelemetry,_0x41ca59[_0x3521ca(0x164)],()=>featureCreate(_0x5b2a30[_0x3521ca(0xa2)],{'description':_0x5b2a30['description'],'scenarios':_0x509514}));})[_0x17115c(0xad)]('list',![],_0x581f7b=>{const _0x3d42dc=_0x17115c;return _0x581f7b['option'](_0x41ca59['hnavk'],{'type':'boolean','description':_0x41ca59[_0x3d42dc(0x1b9)]})[_0x3d42dc(0x7f)]('limit',{'type':'number','alias':'l','description':_0x41ca59[_0x3d42dc(0x192)],'default':0xa})[_0x3d42dc(0x7f)]('offset',{'type':_0x41ca59['jjClT'],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option'](_0x3d42dc(0x1f2),{'type':_0x41ca59[_0x3d42dc(0x190)],'alias':'d','description':_0x41ca59[_0x3d42dc(0x89)],'default':![]});},async _0x342d13=>{const _0x31ec69=_0x17115c;_0x2ac0a4['izhBN'](warnRenamed,'ranger\x20feature\x20list','ranger\x20list'),await withTelemetry(_0x2ac0a4[_0x31ec69(0x201)],()=>featureList({'currentBranch':_0x342d13[_0x31ec69(0x1fd)],'limit':_0x342d13[_0x31ec69(0x9c)],'offset':_0x342d13['offset'],'includeDeleted':_0x342d13[_0x31ec69(0x1f2)]}));})['command']('show\x20[id]',![],_0x2f7009=>{const _0x5ead32=_0x17115c;return _0x2f7009[_0x5ead32(0x1f6)]('id',{'type':_0x41ca59['chBml'],'description':_0x41ca59[_0x5ead32(0x1d3)]});},async _0x344cda=>{const _0x211f7f=_0x17115c;_0x41ca59[_0x211f7f(0x151)](warnRenamed,'ranger\x20feature\x20show',_0x41ca59[_0x211f7f(0x108)]),await withTelemetry(_0x211f7f(0x1e3),()=>featureShow(_0x344cda['id']));})['command'](_0x41ca59[_0x17115c(0x1ba)],![],_0x120d0a=>{const _0x4d1d61=_0x17115c;return _0x120d0a[_0x4d1d61(0x1f6)]('id',{'type':'string','description':_0x4d1d61(0xb2)});},async _0x392daf=>{const _0x4364f0=_0x17115c;_0x2ac0a4[_0x4364f0(0x80)](warnRenamed,_0x2ac0a4[_0x4364f0(0x14b)],_0x4364f0(0xed)),await withTelemetry(_0x2ac0a4['XUytX'],()=>featureResume(_0x392daf['id']));})[_0x17115c(0xad)](_0x41ca59[_0x17115c(0x16b)],![],_0x643171=>{const _0x50c022=_0x17115c;return _0x643171['positional'](_0x2ac0a4[_0x50c022(0x13b)],{'type':_0x2ac0a4['ybyzM'],'description':_0x50c022(0x1b1),'demandOption':!![]})[_0x50c022(0x7f)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x102949=>{const _0x4b32f2=_0x17115c;_0x41ca59['mHtMP'](warnRenamed,_0x41ca59[_0x4b32f2(0x134)],_0x41ca59[_0x4b32f2(0x234)]),await withTelemetry(_0x4b32f2(0x1cf),()=>featureAddScenario(_0x102949['description'],_0x102949['id']));})['command'](_0x41ca59[_0x17115c(0x1a6)],![],_0x3f9811=>{const _0x442215=_0x17115c;return _0x3f9811[_0x442215(0x1f6)]('id',{'type':'string','description':_0x2ac0a4['ylAtM']});},async _0x4d12d7=>{const _0x21f98b=_0x17115c;warnRenamed(_0x21f98b(0x126),'ranger\x20get-review'),await withTelemetry(_0x2ac0a4[_0x21f98b(0xd3)],()=>featureGetReview(_0x4d12d7['id']));})[_0x17115c(0xad)](_0x41ca59['rHlCq'],![],_0x14beee=>{const _0x5a1559=_0x17115c;return _0x14beee[_0x5a1559(0x1f6)]('id',{'type':'string','description':_0x41ca59['VXXNo']});},async _0x48d203=>{const _0x254d69=_0x17115c;warnRenamed('ranger\x20feature\x20delete',_0x254d69(0x19a)),await withTelemetry('feature\x20delete',()=>featureDelete(_0x48d203['id']));})[_0x17115c(0xad)](_0x17115c(0xb4),![],_0x220fae=>{const _0x38816f=_0x17115c;return _0x220fae['positional']('id',{'type':_0x38816f(0xb5),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x1a379e=>{const _0x19e313=_0x17115c;warnRenamed(_0x19e313(0xe7),_0x41ca59[_0x19e313(0x22c)]),await _0x41ca59['yHnCG'](withTelemetry,_0x19e313(0xb7),()=>featureRestore(_0x1a379e['id']));})[_0x17115c(0x15f)](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})['command']('hook',![],_0x13a1d4=>{const _0x3c6340=_0x5285eb,_0x4db9e4={'WHjxm':_0x41ca59['zgyIB']};return _0x13a1d4['command']('enable',_0x3c6340(0x13c),_0x1cbd04=>{const _0xd80775=_0x3c6340;return _0x1cbd04['option'](_0x41ca59[_0xd80775(0x141)],{'type':_0xd80775(0xb5),'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x539f43=>{const _0x1df63d=_0x3c6340;await withTelemetry(_0x41ca59[_0x1df63d(0x152)],()=>hook(_0x1df63d(0x128),_0x539f43[_0x1df63d(0xbc)]));})['command'](_0x3c6340(0x103),_0x41ca59[_0x3c6340(0x14f)],_0x2503c0=>{const _0x32373f=_0x3c6340;return _0x2503c0[_0x32373f(0x7f)]('session-id',{'type':_0x41ca59['chBml'],'description':_0x32373f(0xf6)});},async _0xf8a652=>{const _0x20967a=_0x3c6340;await withTelemetry(_0x4db9e4[_0x20967a(0xcd)],()=>hook('disable',_0xf8a652['session-id']));})['option'](_0x3c6340(0xa2),{'type':_0x41ca59['chBml'],'description':_0x41ca59[_0x3c6340(0x210)]})['option'](_0x41ca59[_0x3c6340(0x141)],{'type':'string','description':_0x41ca59['wxvXP']});},async _0xb328b8=>{const _0x162d35=_0x5285eb;_0xb328b8[_0x162d35(0xa2)]&&await hook(_0xb328b8['name'],_0xb328b8[_0x162d35(0xbc)]);})['demandCommand'](0x1,_0x41ca59['Hwngl'])[_0x5285eb(0xa9)]()['fail'](async(_0x41b5ad,_0x1d98c,_0x37dbdc)=>{const _0x5abb14=_0x5285eb,_0x200c52=_0x41ca59['uEWas'](sanitizeArgs,process['argv'][_0x5abb14(0x18f)](0x2)),_0xc027ba=getErrorType(_0x41b5ad,_0x1d98c);if(_0x41b5ad&&_0x41b5ad[_0x5abb14(0x1be)](_0x41ca59['EHYLv'])){const _0x5c5f72=process[_0x5abb14(0xbb)][0x2];console['error']('\x0aUnknown\x20command:\x20'+_0x5c5f72),console[_0x5abb14(0x8f)](_0x5abb14(0x1d0));}else{if(_0x41b5ad)console['error']('\x0a'+_0x41b5ad+'\x0a');else _0x1d98c&&console[_0x5abb14(0x8f)]('\x0aError:\x20'+_0x1d98c['message']+'\x0a');}await logDesirePath({'rawCommand':_0x200c52,'errorMessage':_0x41b5ad||_0x1d98c?.[_0x5abb14(0xd8)],'errorType':_0xc027ba});const _0x4947c8=getCurrentCollector();_0x4947c8&&await _0x4947c8['trackCommandError'](_0x1d98c||new Error(_0x41b5ad||_0x5abb14(0xdc))),process[_0x5abb14(0x120)](0x1);})['epilogue'](_0x41ca59[_0x5285eb(0x212)](_0x41ca59[_0x5285eb(0x12f)]+'\x20\x20https://docs.ranger.net\x0a',_0x41ca59[_0x5285eb(0xeb)]))['help']()[_0x5285eb(0x97)](_0x41ca59['orvwc'],'h');}process[_0x27b968(0x167)][_0x27b968(0x1af)]!=='test'&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()[_0x27b968(0x157)]());
|
|
2
|
+
const _0xe649af=_0x402c;(function(_0x1734c9,_0x4581f1){const _0x5aafee=_0x402c,_0x12a5d4=_0x1734c9();while(!![]){try{const _0x5b6abf=-parseInt(_0x5aafee(0x10c))/0x1+parseInt(_0x5aafee(0x17d))/0x2+parseInt(_0x5aafee(0x20d))/0x3*(parseInt(_0x5aafee(0x24b))/0x4)+-parseInt(_0x5aafee(0x267))/0x5+parseInt(_0x5aafee(0xd1))/0x6*(parseInt(_0x5aafee(0xe9))/0x7)+parseInt(_0x5aafee(0x224))/0x8+-parseInt(_0x5aafee(0xeb))/0x9;if(_0x5b6abf===_0x4581f1)break;else _0x12a5d4['push'](_0x12a5d4['shift']());}catch(_0x4e2fa7){_0x12a5d4['push'](_0x12a5d4['shift']());}}}(_0x258c,0x19e02));import _0x28d8b2 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x5c65ce=_0x402c,_0x87da79={'ZdBAp':function(_0x2ab4fc,_0x359956){return _0x2ab4fc!==_0x359956;},'cOiXv':function(_0x5117b3,_0x45b509,_0x73aea5){return _0x5117b3(_0x45b509,_0x73aea5);},'DhFdw':function(_0x1313ec,_0x394e93){return _0x1313ec(_0x394e93);},'QHpET':function(_0x5d7104,_0x4d6313){return _0x5d7104(_0x4d6313);}};let _0x3b5e0a=process['cwd']();const _0x54934b=parse(_0x3b5e0a)['root'];while(_0x87da79['ZdBAp'](_0x3b5e0a,_0x54934b)){if(existsSync(_0x87da79[_0x5c65ce(0x27c)](join,_0x3b5e0a,_0x5c65ce(0x140)))||_0x87da79['DhFdw'](existsSync,_0x87da79['cOiXv'](join,_0x3b5e0a,'.env')))return _0x3b5e0a;_0x3b5e0a=_0x87da79[_0x5c65ce(0x23d)](dirname,_0x3b5e0a);}return process[_0x5c65ce(0x190)]();}_0x28d8b2[_0xe649af(0x131)]({'path':join(findProjectRoot(),'.env')});import _0x19b724 from'yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';function _0x402c(_0x21de7d,_0x1b4326){_0x21de7d=_0x21de7d-0xc2;const _0x258c22=_0x258c();let _0x402c64=_0x258c22[_0x21de7d];return _0x402c64;}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{parseActors}from'./commands/utils/actors.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';function _0x258c(){const _0x2c5c8b=['Scenario\x20number\x20to\x20edit\x20(1-based)','Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','check','NCeKi','AepnG','IjyHu','show\x20[id]','ZzjbL','profile\x20login','fZcpJ','jlSFf','GsTer','sLNHw','ecMHa','ranger\x20add-scenario','JrLLK','create','ranger\x20start','DmLoW','\x27.\x20Session\x20saved.','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','IsZdK','BwljC','task','ranger\x20setup','PSpFs','iKNOS','fpKgY','JamyD','cJcgu','issues','LtdBS','allow-url-mismatch','PBQeZ','hook:disable','Get\x20a\x20config\x20value','feature','mcp-bootstrap','GJysE','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','error','cdp-endpoint','TbmVK','env-var','Switch\x20to\x20using\x20a\x20specific\x20profile','evaluation','alias','vasox','Feature\x20review\x20description','report\x20[id]','RANGER_TEST_USERNAME','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','ctoHh','JJUQy','force','partial','--profile','get-review\x20[id]','qBonU','skip-auth','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','KqcKd','rGQwI','hcwwD','QmMye','Ftvkl','ranger\x20profile\x20ls','lmgnT','setup:deps','nocde','argv','DAJaz','exit','scope','VYyZW','BnMqG','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','resume','lwkdy','qreTE','profile\x20encrypt-auth','Documentation:\x0a','gVvOm','dFmGb','vdHrv','JKySB','jlfYU','Start\x20a\x20fresh\x20one-scenario\x20feature\x20review\x20from\x20this\x20text\x20and\x20verify\x20it.\x20To\x20re-verify,\x20use\x20--scenario;\x20to\x20extend\x20the\x20active\x20review,\x20use\x20`ranger\x20add-scenario`.','Authenticate\x20with\x20Ranger','disable','profile\x20delete','sTsRg','lgvJz','blocked','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','flatMap','tpVOA','qWpJE','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','QvaJk','get\x20<env>\x20<key>','YjUtw','Summary:\x20','ranger\x20env\x20update','Name\x20of\x20the\x20profile\x20to\x20update','DgNLa','start-path','\x20is\x20no\x20longer\x20supported.\x20','You\x20must\x20specify\x20an\x20env\x20subcommand','iGQXs','setup:all','gmQLU','OlPEv','feature\x20restore','Profile\x20name','zPkme','trIKr','13659AlAyCX','unset\x20<env>\x20<key>','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','login','base-url','CpDOp','env\x20update','dWMbT','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','ranger\x20profile\x20config\x20unset','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','MLAAC','EXKkS','XjppD','map','XWlLH','qpvNf','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','EdKbz','\x0aError:\x20','TWpXk','feature\x20resume','1125176RELuZU','setup-header','xUOFa','JnmrW','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','JDDLc','Xfrok','migrate\x20[profile-name]','BxAiE','debug-address-comments','becAl','IiGbS','option','hiyfY','You\x20must\x20specify\x20a\x20command','lwPnd','pwyhJ','actor','profile','report','edit-scenario\x20<description>','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','pohbQ','url','API\x20token','QHpET','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','ECEpt','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','Feature\x20review\x20ID','GjXZT','Cpqfw','Mtvkk','Install\x20skills\x20for\x20OpenCode','CzpPU','PVAuC','name','Multi-actor\x20run\x20→\x20using\x20RANGER_TRANSPORT=playwright-cli\x20(required\x20for\x20per-actor\x20session\x20isolation).','Auth\x20environment\x20key\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Used\x20with\x20RANGER_TEST_USERNAME\x20for\x20ad-hoc\x20runs,\x20and\x20with\x20--profile\x20to\x20override\x20that\x20profile\x27s\x20pinned\x20env\x20for\x20this\x20run.\x20Required\x20to\x20run\x20an\x20automated\x20login\x20against\x20a\x20bare-localhost\x20target\x20(localhost\x20/\x20127.0.0.1).\x20Also\x20respects\x20RANGER_AUTH_ENV.','172koTbel','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','project','VzQMz','start\x20[token]','ranger\x20profile\x20use','FvHLu','GSAdh','sGmaR','with-deps','offset','Actor\x20as\x20<label>=<profile>\x20—\x20bind\x20a\x20role\x20you\x20reference\x20in\x20the\x20scenario\x20(\x22As\x20buyer1,\x20…\x22)\x20to\x20a\x20Ranger\x20profile.\x20Repeatable.\x20Two\x20actors\x20run\x20as\x20two\x20live\x20browser\x20sessions\x20(both\x20profiles\x20must\x20exist;\x20no\x20ad-hoc).\x20Example:\x20--actor\x20buyer1=alice\x20--actor\x20buyer2=bob','some','Rtvbg','claude','jiuJk','✓\x20Authenticated\x20to\x20','not_configured','add-scenario','ranger\x20verify-feature','ranger\x20config\x20list','Ramfv','add-checklist-item\x20<description>','config\x20get','Pfkeu','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','CDQCp','description','505235YqMHQA','repeat','nNlsf','\x20\x20https://docs.ranger.net\x0a','Edcgk','ehBaD','AmGyY','xqsle','FFYGh','setup:login','fWoWh','QtFEM','huIyA','limit','NrytN','OoFQq','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','array','Delete\x20a\x20cloud\x20profile','feature\x20get-feedback','cOiXv','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','XbhyK','yKBeq','zeXkN','user','uUOaW','VaRJh','Skip\x20the\x20deletion\x20confirmation\x20prompt.','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.','pwQlg','TWGJo','fNTKW','coyzB','enable','fMDUy','CzsNt','checklist','config\x20list','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','dmQqh','GkFAw','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','ohqlK','fluEJ','EZFrI','ranger\x20feature\x20show','nhfhO','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','set\x20<env>\x20<key>\x20<value>','jTRFd','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','debug-outcome','kahQz','uJtTC','allow-insecure-localhost','UWkWk','edit-scenario','add\x20env','QKKiF','include-deleted','bpIxH','maYUq','Config\x20key\x20to\x20remove','1914rYktus','TLlpu','delete\x20[id]','qCTRS','help','ksbwL','qdaXy','encrypt-auth\x20<profile>','resume\x20[id]','LascW','boolean','Update\x20authentication\x20for\x20an\x20existing\x20profile','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','fSoDH','bWJus','aTSwJ','env-name','ranger\x20show','print-access-token','json','token','oFnJe','Name\x20of\x20the\x20profile','eoNWW','2520RjUpIp','cQyBB','2838888PeyKjP','current-branch','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','pcevk','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','jEEvb','safe-mode','YCvbV','--task','profile-name','DRHBp','WLiMS','severity','goAMt','tofsN','ZljzK','sOUtL','RANGER_AUTH_ENV','YHVCe','EcvQr','ViDyC','key','battG','XiSHk','ranger','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','zWzDm','dKfxi','pobgt','verify-feature','TOsia','string','XFHTv','90879LQqBFO','skip-chromium','iXFVv','FCTvX','GAUBn','JSVCX','ranger\x20profile\x20config\x20get','test_output','rvCjt','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','GJxVv','xQSPy','rZJdA','XpwxX','fehKY','Optional\x20feature\x20ID','ZIRHY','Cloud\x20profile\x20name','log','Install\x20OS-level\x20dependencies\x20for\x20Chromium','usage','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','trackCommandError','pdlNf','scenario','value','mcp','summary','opencode','YFmAk','ranger\x20get-review','item','OeoAw','lksCI','sKNpj','profile\x20update','show','config','QEorG','vHSip','session-id','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.','model','\x20PARTIAL','skillup','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','QKPBQ','bUxWl','POYzY','OpFXh','Environment\x20name','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','.ranger','HknSi','--env','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','Feature\x20review\x20name','use\x20<env-name>','command','gKzLy','exclude-scenario','manual','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','rdHvv','Proceed\x20even\x20when\x20the\x20selected\x20scenario\x20names\x20a\x20URL\x20on\x20a\x20different\x20origin\x20than\x20the\x20resolved\x20target','bubCu','uSGNt','use\x20<profile-name>','EniDb','yes','rvwhQ','UhaNH','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','IBwRs','Config\x20value','--checklist','ncrjN','update\x20<profile-name>','Unknown\x20command','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','number','kyNvC','--scenario','PfjQf','Nmkhy','env','xiLGv','organizationName','all','Feature\x20review\x20ID\x20to\x20restore','Print\x20the\x20current\x20CLI\x20access\x20token','failed','hwPWq','qQKls','ranger\x20add\x20env','baFXQ','GDxOj','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','message','profile\x20config\x20set','tRsDC','GhTyQ','ZZjFv','GeAtL','save-creds','qGwFl','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','dViXf','PZuLv','rEcyd','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','setup:profiles','SSQvX','324156aOyxxB','Oehmo','ranger\x20profile\x20config\x20list','xsnoq','mhzxh','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','EIDOa','profile\x20use','You\x20must\x20specify\x20a\x20config\x20subcommand','--notes','positional','.\x20[','demandCommand','headed','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','Install\x20Chromium\x20browser\x20binary','ranger\x20use','ranger\x20feature\x20restore','unhandledRejection','cwd','ranger\x20create','tokenOrSubcommand','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','dyfYc','wMiQM','Subcommand\x20or\x20API\x20token\x20(rngr_...)','length'];_0x258c=function(){return _0x2c5c8b;};return _0x258c();}import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on'](_0xe649af(0x18f),async _0x597c4d=>{const _0x475f9d=_0xe649af,_0x90593d=getCurrentCollector();_0x90593d&&await _0x90593d[_0x475f9d(0x122)](_0x597c4d),process['exitCode']=0x1;});const rawArgs=process[_0xe649af(0x1de)]['slice'](0x2),TOP_LEVEL_HELP=_0xe649af(0x285),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=_0xe649af(0x264);function warnRenamed(_0x5e9507,_0x45a5e4){console['error']('\x0a'+_0x5e9507+'\x20is\x20now\x20'+_0x45a5e4+'\x0a');}function argUsed(_0x311e2b){const _0x3e7fdf=_0xe649af;return rawArgs[_0x3e7fdf(0x257)](_0x5b95dd=>_0x5b95dd===_0x311e2b||_0x5b95dd['startsWith'](_0x311e2b+'='));}function warnFlagRenamed(_0x218531,_0x472440,_0x20e52d){argUsed(_0x472440)&&warnRenamed(_0x218531+'\x20'+_0x472440,_0x218531+'\x20'+_0x20e52d);}function normalizeEnvVarNames(_0x46f8ae){const _0x4f39db=_0xe649af,_0xbf61cf=Array['isArray'](_0x46f8ae)?_0x46f8ae:_0x46f8ae?[_0x46f8ae]:[];return _0xbf61cf[_0x4f39db(0x1f7)](_0x38cc76=>String(_0x38cc76)['split'](',')[_0x4f39db(0x21c)](_0x56226b=>_0x56226b['trim']())['filter'](Boolean));}async function runGoCommand(_0x7498c3,_0x193c61=![]){const _0x5be119=_0xe649af,_0x2769ae={'EcvQr':function(_0x5526d0,_0x45d2b1,_0x28dc91){return _0x5526d0(_0x45d2b1,_0x28dc91);},'zeXkN':_0x5be119(0x25e),'HBuVC':_0x5be119(0x1d0),'wYfZq':function(_0x3b6848,_0x331c4f,_0xfb8db1,_0x479c8c){return _0x3b6848(_0x331c4f,_0xfb8db1,_0x479c8c);},'fMDUy':function(_0x53cae5,_0x1a3c6f,_0x5848d6,_0x891da7){return _0x53cae5(_0x1a3c6f,_0x5848d6,_0x891da7);},'ViDyC':'ranger\x20go','TWGJo':'--item','qpvNf':function(_0x2d6d84){return _0x2d6d84();},'PfjQf':function(_0x5521fd,_0x139075){return _0x5521fd(_0x139075);},'kySWr':function(_0xd6ee0b,_0x1f5062){return _0xd6ee0b>_0x1f5062;},'sOUtL':'Multi-actor\x20runs\x20currently\x20support\x20up\x20to\x202\x20actors.\x20(--actor\x20is\x20repeatable;\x20v1\x20caps\x20at\x202.)','vHSip':function(_0x53040c,_0x9eac8){return _0x53040c!==_0x9eac8;},'cJcgu':function(_0x1c52c0,_0x3e92c2){return _0x1c52c0>_0x3e92c2;},'battG':function(_0x49363c,_0x4afcc8){return _0x49363c!==_0x4afcc8;},'goAMt':'rangerwright-cli','oSVSq':function(_0x2fc359,_0x13598b){return _0x2fc359(_0x13598b);},'nNlsf':_0x5be119(0xc5),'VYyZW':_0x5be119(0x22d),'igXWK':_0x5be119(0x1b8),'aTSwJ':function(_0x25b6db,_0x56792c){return _0x25b6db===_0x56792c;},'wMiQM':'verified','kuUki':'\x20VERIFIED','AJLPO':function(_0x4c54f4,_0x1c3af6){return _0x4c54f4===_0x1c3af6;},'rvwhQ':'\x20INCOMPLETE','Oehmo':function(_0x5547ea,_0x166cb1){return _0x5547ea===_0x166cb1;},'SLkMX':_0x5be119(0x1cf),'aItpL':_0x5be119(0x137),'XFHTv':'\x20BLOCKED','ARIVJ':'\x20FAILED','JDDLc':'\x0aIssues:'};_0x193c61&&(_0x2769ae[_0x5be119(0xfe)](warnRenamed,_0x5be119(0x25e),'ranger\x20go'),warnFlagRenamed(_0x2769ae[_0x5be119(0x280)],_0x5be119(0x142),_0x2769ae['HBuVC']));_0x2769ae['wYfZq'](warnFlagRenamed,'ranger\x20go',_0x5be119(0xf3),_0x5be119(0x186)),_0x2769ae[_0x5be119(0x28b)](warnFlagRenamed,_0x2769ae[_0x5be119(0xff)],_0x2769ae[_0x5be119(0x287)],_0x5be119(0x15e));const _0x5e7d6d=await _0x2769ae[_0x5be119(0x21e)](loadRangerConfig),_0x1fedf7=isByokEnabled(),_0x578813=_0x7498c3[_0x5be119(0x136)],_0x55b9e0=_0x5e7d6d['model'],_0x454113=_0x2769ae[_0x5be119(0x15f)](normalizeEnvVarNames,_0x7498c3[_0x5be119(0x1c3)]),_0x1e5860=_0x2769ae['qpvNf'](getVerificationTransport),_0x32abaf=parseActors(_0x7498c3[_0x5be119(0x235)]);if(_0x2769ae['kySWr'](_0x32abaf['length'],0x2))throw new Error(_0x2769ae[_0x5be119(0xfb)]);if(_0x32abaf['length']>=0x2){if(process[_0x5be119(0x161)][_0x5be119(0x1ca)])throw new Error('Multi-actor\x20runs\x20need\x20pre-created\x20profiles\x20—\x20unset\x20RANGER_TEST_USERNAME\x20(no\x20ad-hoc\x20materialization).\x20Create\x20each\x20profile\x20with\x20`ranger\x20profile\x20add\x20<name>`,\x20then\x20pass\x20--actor\x20<label>=<name>.');_0x2769ae[_0x5be119(0x133)](_0x1e5860,'playwright-cli')&&(console[_0x5be119(0x11e)](_0x5be119(0x249)),process[_0x5be119(0x161)]['RANGER_TRANSPORT']='playwright-cli');}if(_0x2769ae[_0x5be119(0x1b5)](_0x454113[_0x5be119(0x197)],0x0)&&_0x1e5860!=='playwright-cli'&&_0x2769ae[_0x5be119(0x101)](_0x1e5860,_0x2769ae[_0x5be119(0xf8)]))throw new Error(_0x5be119(0x1d4)+_0x1e5860+'.');const _0x436c36=await _0x2769ae['oSVSq'](verifyFeature,{'featureId':_0x7498c3['feature'],'profile':_0x7498c3[_0x5be119(0x236)]??(_0x193c61?_0x7498c3['env']:undefined)??process[_0x5be119(0x161)]['RANGER_PROFILE'],'authEnv':_0x193c61?undefined:_0x7498c3[_0x5be119(0x161)]??process['env'][_0x5be119(0xfc)],'notes':_0x7498c3['notes']??_0x7498c3[_0x5be119(0x1af)],'check':_0x7498c3[_0x5be119(0x19a)],'scenario':_0x7498c3[_0x5be119(0x124)]??_0x7498c3[_0x5be119(0x12b)],'startPath':_0x7498c3[_0x5be119(0x202)],'baseUrl':_0x7498c3[_0x5be119(0x211)],'debugOutcome':_0x7498c3[_0x2769ae[_0x5be119(0x269)]],'debugAddressComments':_0x7498c3[_0x2769ae[_0x5be119(0x1e2)]],'headed':_0x7498c3['headed'],'verifierEnvVars':_0x454113,'allowUrlMismatch':_0x7498c3[_0x2769ae['igXWK']],'byokEnabled':_0x1fedf7,'flagVerifyModel':_0x578813,'configVerifyModel':_0x55b9e0,'actors':_0x32abaf['length']?_0x32abaf:undefined});console[_0x5be119(0x11e)]('\x0a'+'='[_0x5be119(0x268)](0x3c)),console[_0x5be119(0x11e)](_0x2769ae[_0x5be119(0xe0)](_0x436c36[_0x5be119(0x1c5)],_0x2769ae['wMiQM'])?_0x2769ae['kuUki']:_0x2769ae['AJLPO'](_0x436c36['evaluation'],'incomplete')?_0x2769ae[_0x5be119(0x152)]:_0x2769ae[_0x5be119(0x17e)](_0x436c36[_0x5be119(0x1c5)],_0x2769ae['SLkMX'])?_0x2769ae['aItpL']:_0x436c36['evaluation']===_0x5be119(0x1f5)?_0x2769ae[_0x5be119(0x10b)]:_0x2769ae['ARIVJ']),console['log']('='[_0x5be119(0x268)](0x3c)),console['log'](_0x5be119(0x1fe)+_0x436c36[_0x5be119(0x127)]),console[_0x5be119(0x11e)]('Evaluation:\x20'+_0x436c36[_0x5be119(0x1c5)]),console[_0x5be119(0x11e)]('Reason:\x20'+_0x436c36['evaluationReason']),_0x436c36[_0x5be119(0x1b6)]?.[_0x5be119(0x197)]&&(console['log'](_0x2769ae[_0x5be119(0x229)]),_0x436c36[_0x5be119(0x1b6)]['forEach']((_0x23ddec,_0x2d1fbe)=>{const _0x4735e2=_0x5be119;console['log']('\x0a'+(_0x2d1fbe+0x1)+_0x4735e2(0x188)+_0x23ddec[_0x4735e2(0xf7)]+']\x20'+_0x23ddec[_0x4735e2(0x266)]);})),process['exit'](_0x436c36['evaluation']===_0x2769ae[_0x5be119(0x195)]?0x0:0x1);}export function buildParser(_0x474dde){const _0x2abf03=_0xe649af,_0x52618f={'bpIxH':_0x2abf03(0x248),'qreTE':_0x2abf03(0x266),'wNMIW':_0x2abf03(0x124),'lwPnd':'array','pfMKI':_0x2abf03(0x28d),'cQyBB':_0x2abf03(0x1ac),'puwPA':_0x2abf03(0x15e),'bWJus':function(_0x4e9d41,_0x40be27,_0x38118b){return _0x4e9d41(_0x40be27,_0x38118b);},'PBQeZ':_0x2abf03(0x1a8),'sGmaR':'boolean','GJysE':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','FvHLu':_0x2abf03(0x274),'AmGyY':_0x2abf03(0x255),'XjppD':'number','sKNpj':'Number\x20of\x20feature\x20reviews\x20to\x20skip','ygEyi':'Include\x20soft-deleted\x20feature\x20reviews','CzpPU':'list','dViXf':'string','PSpFs':'Scenario\x20description','TLlpu':_0x2abf03(0x1bf),'oeBjq':_0x2abf03(0x25d),'FCTvX':_0x2abf03(0x198),'kVICf':_0x2abf03(0xca),'HknSi':_0x2abf03(0x27d),'xiLGv':'exclude-scenario','iGQXs':_0x2abf03(0x241),'UhaNH':_0x2abf03(0x165),'JdBLb':function(_0x55ca1f,_0x1b130a,_0x996f4b){return _0x55ca1f(_0x1b130a,_0x996f4b);},'dyfYc':'restore','TWpXk':'scope','IsZdK':_0x2abf03(0x281),'DAJaz':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','jlfYU':'url','relqY':'skip-auth','uPkUD':'Skip\x20browser\x20authentication','huIyA':'force','VaRJh':_0x2abf03(0x193),'khUFV':_0x2abf03(0x23e),'EdKbz':function(_0x7da6d,_0x3ae0b1){return _0x7da6d!==_0x3ae0b1;},'OoFQq':function(_0x303f4e,_0x5210a0){return _0x303f4e+_0x5210a0;},'fSoDH':'mcp-bootstrap','PZuLv':'Alias\x20for\x20--mcp-bootstrap','YFmAk':function(_0x139ab8,_0x3d7fcb,_0x596dfe){return _0x139ab8(_0x3d7fcb,_0x596dfe);},'UWkWk':_0x2abf03(0x104),'YHVCe':function(_0xab3868){return _0xab3868();},'yKBeq':function(_0x3c58ff,_0x1e75df){return _0x3c58ff(_0x1e75df);},'oEyBe':_0x2abf03(0x192),'Edcgk':'all','IiNKG':'Run\x20full\x20interactive\x20setup','OhZiX':'deps','xQSPy':_0x2abf03(0x18c),'ksbwL':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','uJtTC':'profiles','tpVOA':_0x2abf03(0x1fa),'ctoHh':'opencode','CMreI':'allow-insecure-localhost','GAUBn':_0x2abf03(0x254),'SzfrD':_0x2abf03(0xe5),'tRsDC':'profile','FFYGh':_0x2abf03(0x15b),'bgEXI':'setup-ci','prHCm':_0x2abf03(0x210),'DJJTL':_0x2abf03(0x245),'tofsN':'profile\x20add','gVvOm':'profile-name','rvCjt':_0x2abf03(0xe7),'lgvJz':_0x2abf03(0x284),'DRHBp':_0x2abf03(0x20a),'zzfXQ':'profile\x20ls','DgZXk':_0x2abf03(0x12f),'pobgt':_0x2abf03(0x11d),'pXHcn':_0x2abf03(0xdd),'YjUFn':function(_0xfba06e,_0x444f32){return _0xfba06e===_0x444f32;},'vqcFM':_0x2abf03(0x1a0),'JamyD':'key','becAl':'set\x20<profile>\x20<key>\x20<value>','yroQI':'Set\x20a\x20config\x20value','LascW':'get\x20<profile>\x20<key>','Ramfv':_0x2abf03(0x1bb),'zWzDm':'List\x20all\x20config\x20for\x20a\x20profile','xqsle':'unset\x20<profile>\x20<key>','TtvOl':'reset\x20<profile>','cedte':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','XbhyK':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','pDQDe':_0x2abf03(0x13f),'IjyHu':_0x2abf03(0x1e8),'ECEpt':_0x2abf03(0x200),'IiGbS':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','zOUgQ':_0x2abf03(0x149),'dWMbT':'yes','qvUJE':'Skip\x20interactive\x20confirmation\x20prompts.','BwljC':function(_0x48df8f,_0x242bcf,_0x12c54d){return _0x48df8f(_0x242bcf,_0x12c54d);},'OXVBk':'profile\x20config\x20get','QEorG':'profile\x20config\x20reset','iNjlL':_0x2abf03(0x14f),'fUsKU':_0x2abf03(0x1c4),'jiuJk':_0x2abf03(0x159),'FiTvm':_0x2abf03(0xdc),'QKKiF':_0x2abf03(0x131),'NrytN':'status','QEOJV':_0x2abf03(0x11b),'XWlLH':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','yDuqK':'actor','hjVvT':'notes','qWpJE':_0x2abf03(0xef),'VTfWa':_0x2abf03(0x19a),'EXKkS':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','kahQz':_0x2abf03(0x278),'pohbQ':_0x2abf03(0x135),'GeAtL':'headed','rdHvv':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','iyelU':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','lfAjm':_0x2abf03(0x14c),'uUOaW':'debug-outcome','fNTKW':'verified','TxYXa':'failed','PVAuC':_0x2abf03(0x24a),'ZljzK':_0x2abf03(0x12b),'IBwRs':'ranger\x20auth\x20encrypt','pcevk':function(_0xb3f948,_0x5f3896){return _0xb3f948(_0x5f3896);},'kyNvC':_0x2abf03(0x216),'LBUfL':_0x2abf03(0x215),'kpsuH':'Skip\x20authentication','elIUy':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','eoNWW':function(_0x36df95,_0xa939f1,_0x346d72){return _0x36df95(_0xa939f1,_0x346d72);},'rGQwI':function(_0xdeb464,_0x41bbb3,_0x757e91){return _0xdeb464(_0x41bbb3,_0x757e91);},'TbmVK':'start','YhMUX':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','oSRjO':'Scenario\x20index\x20(1-based)','RowSX':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','vdHrv':_0x2abf03(0x136),'JrLLK':'environment-variable','pdlNf':_0x2abf03(0x1f5),'uSGNt':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','OCJsu':_0x2abf03(0x292),'iXFVv':_0x2abf03(0x16a),'SwrBs':'ranger\x20profile\x20add','sotGv':_0x2abf03(0xcb),'ecMHa':function(_0x251e30,_0x5eee60,_0x2b436c){return _0x251e30(_0x5eee60,_0x2b436c);},'Cpqfw':'env','yNsnB':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','coyzB':'ranger\x20config\x20set','JKySB':'ranger\x20profile\x20config\x20set','CpDOp':'Config\x20key','ehBaD':_0x2abf03(0x25f),'Ftvkl':_0x2abf03(0x17f),'otRzb':_0x2abf03(0x28e),'KqcKd':function(_0x39686b,_0x78e210,_0x1f9693){return _0x39686b(_0x78e210,_0x1f9693);},'LtdBS':function(_0x219a78,_0x57619b,_0x235f28){return _0x219a78(_0x57619b,_0x235f28);},'Xfrok':'config\x20unset','IiQtV':_0x2abf03(0x1fc),'hwPWq':'list\x20<env>','GJxVv':_0x2abf03(0x185),'dFmGb':function(_0x309777,_0x418cab,_0x187c42){return _0x309777(_0x418cab,_0x187c42);},'vasox':'env\x20list','GkFAw':'Name\x20of\x20the\x20environment\x20to\x20update','MtYPx':_0x2abf03(0x213),'cQwoC':_0x2abf03(0x204),'zpwFh':_0x2abf03(0x144),'xYGvN':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','GsTer':'current-branch','SSQvX':_0x2abf03(0x296),'KbqML':function(_0x270bd9,_0x481e52,_0x571a6e){return _0x270bd9(_0x481e52,_0x571a6e);},'NCeKi':'feature\x20show','ncrjN':_0x2abf03(0x176),'XoidQ':'ranger\x20feature\x20resume','qJrut':function(_0x5f13ac,_0x3f8110,_0x103a55){return _0x5f13ac(_0x3f8110,_0x103a55);},'fWoWh':_0x2abf03(0x223),'qGwFl':_0x2abf03(0x12a),'sLNHw':_0x2abf03(0x27b),'GhTyQ':'feature\x20delete','EIDOa':_0x2abf03(0x191),'hkFIM':_0x2abf03(0x1a6),'Mtvkk':'feature\x20add-checklist-item','FQNWY':_0x2abf03(0x18e),'ZIRHY':_0x2abf03(0xd9),'YCvbV':_0x2abf03(0x261),'gJMQm':'get-feedback\x20[id]','xUOFa':'restore\x20<id>','houpY':'hook:enable','jlSFf':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','baFXQ':_0x2abf03(0x134),'ECwlS':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','zzwKR':function(_0x4cbf1f,_0x5c6c03){return _0x4cbf1f||_0x5c6c03;},'aIrOw':'Unknown\x20error','QKPBQ':function(_0x2b0b69){return _0x2b0b69();},'wkOKk':'create\x20<name>','wSfvN':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','trIKr':'List\x20all\x20feature\x20reviews','BnMqG':'add-scenario\x20<description>','xsnoq':'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','krZrg':_0x2abf03(0x238),'rEcyd':'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','YoJMw':_0x2abf03(0x1c9),'WzhXe':_0x2abf03(0xd3),'rVnJv':_0x2abf03(0x154),'lVNnF':'setup\x20[tokenOrSubcommand]','FoSLn':'Install\x20Ranger\x20skills','iKNOS':'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','lYqrM':'update','lmgnT':_0x2abf03(0x115),'bUxWl':_0x2abf03(0xe3),'pwyhJ':_0x2abf03(0x166),'LQgML':'Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','eBLDh':'auth','rYqno':'add\x20env\x20<env-name>','exiuo':_0x2abf03(0x1bc),'dKfxi':_0x2abf03(0x232),'Yadfs':function(_0x2d2fb6,_0x204cc8){return _0x2d2fb6+_0x204cc8;},'EZFrI':_0x2abf03(0x1e9),'AuvCV':_0x2abf03(0xd5)};return _0x52618f['pcevk'](_0x19b724,_0x474dde??process[_0x2abf03(0x1de)]['slice'](0x2))['scriptName'](_0x2abf03(0x103))['usage'](TOP_LEVEL_HELP)['version'](_0x52618f[_0x2abf03(0x13a)](getCurrentVersion))[_0x2abf03(0x146)](_0x52618f['wkOKk'],_0x52618f['wSfvN'],_0xbe1a7e=>{const _0x199603=_0x2abf03;return _0xbe1a7e[_0x199603(0x187)](_0x52618f['bpIxH'],{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x52618f['qreTE'],{'type':'string','alias':'d','description':_0x199603(0x1c8)})[_0x199603(0x230)](_0x52618f['wNMIW'],{'type':_0x52618f['lwPnd'],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x199603(0x230)](_0x52618f['pfMKI'],{'type':'array','hidden':!![]});},async _0x5c47eb=>{const _0x2af0be=_0x2abf03;if(!_0x5c47eb[_0x2af0be(0x248)]){console[_0x2af0be(0x1c0)](_0x52618f[_0x2af0be(0xea)]+'Example:\x20ranger\x20create\x20my-feature'),process['exit'](0x1);return;}warnFlagRenamed(_0x2af0be(0x191),_0x2af0be(0x157),_0x52618f['puwPA']);const _0x32788d=_0x5c47eb['scenario']||_0x5c47eb['checklist'];await _0x52618f[_0x2af0be(0xdf)](withTelemetry,_0x52618f[_0x2af0be(0x1b9)],()=>featureCreate(_0x5c47eb[_0x2af0be(0x248)],{'description':_0x5c47eb['description'],'scenarios':_0x32788d}));})['command'](_0x52618f[_0x2abf03(0x246)],_0x52618f[_0x2abf03(0x20c)],_0x3d468a=>{const _0x468d31=_0x2abf03;return _0x3d468a[_0x468d31(0x230)]('current-branch',{'type':_0x52618f[_0x468d31(0x253)],'description':_0x52618f[_0x468d31(0x1be)]})[_0x468d31(0x230)](_0x52618f[_0x468d31(0x251)],{'type':_0x468d31(0x15c),'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option'](_0x52618f[_0x468d31(0x26d)],{'type':_0x52618f[_0x468d31(0x21b)],'alias':'o','description':_0x52618f[_0x468d31(0x12e)],'default':0x0})['option']('include-deleted',{'type':'boolean','alias':'d','description':_0x52618f['ygEyi'],'default':![]});},async _0x3ff13=>{const _0x54b35f=_0x2abf03;await _0x52618f['bWJus'](withTelemetry,_0x52618f[_0x54b35f(0x246)],()=>featureList({'currentBranch':_0x3ff13[_0x54b35f(0xec)],'limit':_0x3ff13['limit'],'offset':_0x3ff13[_0x54b35f(0x255)],'includeDeleted':_0x3ff13['include-deleted']}));})['command'](_0x2abf03(0x19e),_0x2abf03(0x277),_0x2a2afe=>{const _0x2b8980=_0x2abf03;return _0x2a2afe['positional']('id',{'type':'string','description':_0x2b8980(0x241)});},async _0x3ac942=>{const _0x7796a6=_0x2abf03;await _0x52618f[_0x7796a6(0xdf)](withTelemetry,_0x7796a6(0x130),()=>featureShow(_0x3ac942['id']));})['command'](_0x52618f['ZIRHY'],'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x55ef78=>{const _0x42f198=_0x2abf03;return _0x55ef78['positional']('id',{'type':_0x52618f['dViXf'],'description':_0x42f198(0x176)});},async _0x394562=>{const _0x2f5728=_0x2abf03;await withTelemetry(_0x2f5728(0x1e5),()=>featureResume(_0x394562['id']));})['command'](_0x52618f[_0x2abf03(0x1e3)],_0x52618f[_0x2abf03(0x180)],_0x553da7=>{const _0x561942=_0x2abf03;return _0x553da7[_0x561942(0x187)](_0x52618f['qreTE'],{'type':_0x561942(0x10a),'description':_0x52618f['PSpFs'],'demandOption':!![]})[_0x561942(0x230)]('id',{'type':_0x561942(0x10a),'description':_0x52618f[_0x561942(0xd2)]});},async _0xf63360=>{const _0xc221aa=_0x2abf03;await _0x52618f[_0xc221aa(0xdf)](withTelemetry,_0x52618f['oeBjq'],()=>featureAddScenario(_0xf63360['description'],_0xf63360['id']));})[_0x2abf03(0x146)](_0x52618f['krZrg'],_0x52618f[_0x2abf03(0x179)],_0x5568a8=>{const _0x58c4db=_0x2abf03;return _0x5568a8[_0x58c4db(0x187)](_0x52618f[_0x58c4db(0x1e7)],{'type':'string','description':'New\x20scenario\x20description','demandOption':!![]})[_0x58c4db(0x230)](_0x52618f['wNMIW'],{'type':_0x52618f['XjppD'],'description':_0x52618f[_0x58c4db(0x10f)],'demandOption':!![]})[_0x58c4db(0x230)]('id',{'type':_0x52618f['dViXf'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x54b21a=>{const _0x1d04da=_0x2abf03;await _0x52618f[_0x1d04da(0xdf)](withTelemetry,_0x52618f['kVICf'],()=>featureEditScenario(_0x54b21a['description'],{'id':_0x54b21a['id'],'scenario':_0x54b21a[_0x1d04da(0x124)]}));})[_0x2abf03(0x146)](_0x52618f['YoJMw'],_0x2abf03(0x16d),_0x6ebfb0=>{const _0x238f23=_0x2abf03;return _0x6ebfb0[_0x238f23(0x187)]('id',{'type':'string','description':_0x238f23(0x241)})['option'](_0x238f23(0x148),{'type':_0x238f23(0x279),'description':_0x52618f[_0x238f23(0x141)]})['option'](_0x238f23(0xe4),{'type':_0x52618f['sGmaR'],'description':_0x238f23(0x1cb),'default':![]});},async _0x1b629b=>{const _0x2bf8cf=_0x2abf03,_0x517994=_0x1b629b[_0x52618f[_0x2bf8cf(0x162)]],_0x5e824f=_0x517994?_0x517994['map'](_0x49b84e=>Number(_0x49b84e)):undefined;await withTelemetry(_0x2bf8cf(0x237),()=>featureReportPrDescription(_0x1b629b['id'],{'excludeScenarios':_0x5e824f,'json':_0x1b629b[_0x2bf8cf(0xe4)]}));})['command'](_0x2abf03(0x1d1),_0x2abf03(0x1f6),_0x1a44e5=>{const _0xb6bdf1=_0x2abf03;return _0x1a44e5[_0xb6bdf1(0x187)]('id',{'type':_0x52618f[_0xb6bdf1(0x177)],'description':_0x52618f['TLlpu']});},async _0x2a035e=>{await withTelemetry('get-review',()=>featureGetReview(_0x2a035e['id']));})[_0x2abf03(0x146)](_0x52618f['WzhXe'],_0x52618f['rVnJv'],_0x52f323=>{const _0x570e8f=_0x2abf03;return _0x52f323['positional']('id',{'type':_0x570e8f(0x10a),'description':_0x52618f[_0x570e8f(0x205)]});},async _0x5ed2ce=>{await withTelemetry('delete',()=>featureDelete(_0x5ed2ce['id']));})[_0x2abf03(0x146)](_0x52618f['xUOFa'],'Restore\x20a\x20soft-deleted\x20feature\x20review',_0x1df26e=>{const _0x4a37b1=_0x2abf03;return _0x1df26e['positional']('id',{'type':'string','description':_0x52618f[_0x4a37b1(0x153)],'demandOption':!![]});},async _0x116f0c=>{const _0x3c9a66=_0x2abf03;await _0x52618f['JdBLb'](withTelemetry,_0x52618f[_0x3c9a66(0x194)],()=>featureRestore(_0x116f0c['id']));})[_0x2abf03(0x146)](_0x52618f['lVNnF'],'Initialize\x20Ranger\x20in\x20your\x20project',_0x533e9b=>{const _0x213a03=_0x2abf03,_0x5ee293={'OeoAw':_0x213a03(0x10a),'LmajG':_0x213a03(0x10d),'CzsNt':_0x213a03(0xdb),'rlhkT':_0x213a03(0x1fa),'VWEMQ':'Skip\x20authentication','BxAiE':'with-deps','rZJdA':_0x52618f[_0x213a03(0x222)],'AepnG':_0x52618f[_0x213a03(0x1ad)],'fwrNs':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','QvaJk':_0x52618f['fSoDH'],'FakeG':_0x52618f[_0x213a03(0x178)],'GyIFo':function(_0xacc89c,_0x498260,_0x5259dd){return _0xacc89c(_0x498260,_0x5259dd);},'QXBHx':_0x213a03(0x206),'lksCI':function(_0x36cb4e,_0x53f343,_0x37723f){return _0x36cb4e(_0x53f343,_0x37723f);},'WgEeM':_0x213a03(0x20f),'GDxOj':function(_0x181242,_0x1871ca,_0x14a1bb){const _0x5cb287=_0x213a03;return _0x52618f[_0x5cb287(0x129)](_0x181242,_0x1871ca,_0x14a1bb);},'ZzjbL':_0x213a03(0x270),'JJUQy':_0x213a03(0x128),'YcwMY':_0x52618f['UWkWk'],'ezNnL':function(_0x4ad94a){const _0x5189a9=_0x213a03;return _0x52618f[_0x5189a9(0xfd)](_0x4ad94a);},'ohqlK':function(_0xbd5298,_0x59eb33){const _0x485d1f=_0x213a03;return _0x52618f[_0x485d1f(0x27f)](_0xbd5298,_0x59eb33);}};return _0x533e9b[_0x213a03(0x120)](_0x213a03(0x298))[_0x213a03(0x187)](_0x52618f['oEyBe'],{'type':_0x52618f['dViXf'],'description':_0x213a03(0x196)})['command'](_0x52618f[_0x213a03(0x26b)],_0x52618f['IiNKG'],_0x3a6f2d=>{const _0x29e981=_0x213a03;return _0x3a6f2d[_0x29e981(0x230)](_0x29e981(0xe5),{'type':_0x5ee293[_0x29e981(0x12c)],'description':'Ranger\x20API\x20token'})[_0x29e981(0x230)](_0x5ee293['LmajG'],{'type':_0x5ee293['CzsNt'],'description':_0x5ee293['rlhkT'],'default':![]})['option'](_0x29e981(0x1d3),{'type':'boolean','description':_0x5ee293['VWEMQ'],'default':![]})[_0x29e981(0x230)](_0x5ee293['BxAiE'],{'type':_0x5ee293[_0x29e981(0x28c)],'description':_0x29e981(0x11f),'default':![]})[_0x29e981(0x230)](_0x5ee293[_0x29e981(0x118)],{'type':_0x5ee293['OeoAw'],'choices':[_0x5ee293[_0x29e981(0x19c)]],'hidden':!![],'description':_0x29e981(0xed)})[_0x29e981(0x230)](_0x29e981(0x23b),{'type':'string','description':_0x29e981(0xc4)})['option'](_0x29e981(0x1ce),{'type':_0x5ee293['CzsNt'],'description':_0x5ee293['fwrNs'],'default':![]})['option'](_0x29e981(0x128),{'type':'boolean','description':_0x29e981(0x104),'default':![]})[_0x29e981(0x230)](_0x29e981(0xc8),{'type':_0x5ee293['CzsNt'],'description':_0x29e981(0x23e),'default':![]})['option'](_0x5ee293['QvaJk'],{'type':_0x5ee293[_0x29e981(0x28c)],'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','default':![]})['option']('mcp',{'type':'boolean','description':_0x5ee293['FakeG'],'default':![]});},async _0x5f4ca9=>{const _0x4ffdc0=_0x213a03;(_0x5f4ca9[_0x4ffdc0(0x1bd)]||_0x5f4ca9['mcp'])&&await _0x5ee293['GyIFo'](withTelemetry,_0x5ee293[_0x4ffdc0(0x1fb)],()=>mcpBootstrap()),await withTelemetry(_0x5ee293['QXBHx'],_0x582b44=>start(_0x5f4ca9[_0x4ffdc0(0xe5)],{'skipChromium':_0x5f4ca9['skip-chromium'],'skipAuth':_0x5f4ca9['skip-auth'],'withDeps':_0x5f4ca9[_0x4ffdc0(0x254)],'scope':_0x5f4ca9[_0x4ffdc0(0x1e1)],'url':_0x5f4ca9[_0x4ffdc0(0x23b)],'force':_0x5f4ca9[_0x4ffdc0(0x1ce)],'opencode':_0x5f4ca9[_0x4ffdc0(0x128)],'allowInsecureLocalhost':_0x5f4ca9['allow-insecure-localhost']},_0x582b44));})[_0x213a03(0x146)](_0x52618f['OhZiX'],_0x52618f[_0x213a03(0x117)],_0x4b34f2=>{const _0x163865=_0x213a03;return _0x4b34f2['option'](_0x5ee293[_0x163865(0x22c)],{'type':_0x5ee293[_0x163865(0x28c)],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]});},async _0x33b766=>{const _0x5f1cd1=_0x213a03;await _0x5ee293[_0x5f1cd1(0x12d)](withTelemetry,_0x5f1cd1(0x1dc),()=>ensureChromium(_0x33b766['with-deps']));})[_0x213a03(0x146)](_0x213a03(0x210),_0x213a03(0x1f0),_0x154b6d=>{const _0x3fce70=_0x213a03;return _0x154b6d['option'](_0x3fce70(0xe5),{'type':_0x5ee293['OeoAw'],'description':'Ranger\x20API\x20token\x20(rngr_...)'})['option'](_0x3fce70(0x126),{'type':'boolean','description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x1f9f7f=>{const _0x5f04a4=_0x213a03,_0x1b3dfb={'SzWpr':function(_0x302b9c){return _0x302b9c();},'FgqYJ':_0x5ee293['WgEeM'],'btnCl':function(_0x11d174,_0x16b5c2){return _0x11d174(_0x16b5c2);}};await _0x5ee293[_0x5f04a4(0x16c)](withTelemetry,_0x5ee293[_0x5f04a4(0x19f)],async()=>{const _0x454807=_0x5f04a4;if(_0x1f9f7f['mcp']){await _0x1b3dfb['SzWpr'](mcpBootstrap);const _0xe687e8=await refreshCliToken();if(!_0xe687e8)throw new Error(_0x1b3dfb['FgqYJ']);const _0x501cc2=await _0x1b3dfb['btnCl'](getCurrentUser,_0xe687e8);if(!_0x501cc2['success'])throw new Error(_0x454807(0x182)+_0x501cc2['error']);console[_0x454807(0x11e)](_0x454807(0x25b)+_0x501cc2[_0x454807(0x281)][_0x454807(0x163)]);return;}await _0x1b3dfb['btnCl'](authenticate,_0x1f9f7f['token']);});})[_0x213a03(0x146)]('skills',_0x52618f[_0x213a03(0xd6)],_0x3c1a97=>{const _0x3b214d=_0x213a03;return _0x3c1a97['option']('scope',{'type':_0x5ee293[_0x3b214d(0x12c)],'choices':[_0x5ee293['AepnG'],_0x3b214d(0x24d)],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})['option'](_0x5ee293['JJUQy'],{'type':_0x3b214d(0xdb),'description':_0x5ee293['YcwMY'],'default':![]});},async _0x3412ad=>{const _0x2c2340=_0x213a03,_0x18684f={'dmQqh':'ranger','lwkdy':function(_0x5c500e){return _0x5ee293['ezNnL'](_0x5c500e);},'GSAdh':_0x5ee293[_0x2c2340(0x1cd)],'Pfkeu':function(_0x88f9e4,_0xf4e4a){return _0x88f9e4(_0xf4e4a);},'POYzY':function(_0x4cc8fb,_0x590b3d){const _0x36c217=_0x2c2340;return _0x5ee293[_0x36c217(0x293)](_0x4cc8fb,_0x590b3d);}};await withTelemetry('setup:skills',async()=>{const _0x70bf53=_0x2c2340,_0x206bc6=_0x3412ad['scope'];if(_0x3412ad['opencode']){const _0x3f89ca=await ensureOpencodePluginConfig(_0x206bc6);_0x3f89ca&&await installSkill(_0x18684f[_0x70bf53(0x290)],{'level':_0x3f89ca[_0x70bf53(0x1e1)],'cliVersion':_0x18684f[_0x70bf53(0x1e6)](getCurrentVersion),'platform':_0x18684f[_0x70bf53(0x252)]});}else await _0x18684f[_0x70bf53(0x263)](ensureClaudePlugin,_0x206bc6),await _0x18684f[_0x70bf53(0x13c)](ensureClaudeSkills,_0x206bc6);});})['command'](_0x52618f['uJtTC'],'Set\x20up\x20a\x20local\x20browser\x20profile',_0x53a3f3=>{const _0x12ff1a=_0x213a03;return _0x53a3f3['option'](_0x52618f[_0x12ff1a(0x222)],{'type':'string','choices':[_0x52618f['IsZdK']],'description':_0x52618f[_0x12ff1a(0x1df)]})[_0x12ff1a(0x230)](_0x52618f['jlfYU'],{'type':_0x12ff1a(0x10a),'description':'Base\x20URL\x20of\x20the\x20running\x20app'})['option'](_0x52618f['relqY'],{'type':_0x12ff1a(0xdb),'description':_0x52618f['uPkUD'],'default':![]})['option'](_0x52618f[_0x12ff1a(0x273)],{'type':_0x12ff1a(0xdb),'description':_0x52618f[_0x12ff1a(0x283)],'default':![]})[_0x12ff1a(0x230)]('allow-insecure-localhost',{'type':'boolean','description':_0x52618f['khUFV'],'default':![]});},async _0x44d610=>{const _0x210033=_0x213a03,_0x69f704=_0x44d610['scope'];_0x52618f[_0x210033(0x220)](_0x69f704,undefined)&&_0x69f704!==_0x210033(0x281)&&(console['error'](_0x52618f[_0x210033(0x276)]('ranger\x20setup\x20profiles\x20--scope='+_0x69f704+_0x210033(0x203)+'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.')),process['exit'](0x1)),await withTelemetry(_0x210033(0x17b),_0x561480=>ensureLocalEnv({'url':_0x44d610['url'],'force':_0x44d610[_0x210033(0x1ce)],'allowInsecureLocalhost':_0x44d610['allow-insecure-localhost'],'scope':'user'},_0x561480));})[_0x213a03(0x230)]('skip-chromium',{'type':_0x213a03(0xdb),'description':_0x52618f[_0x213a03(0x1f8)],'default':![]})['option'](_0x52618f['TWpXk'],{'type':'string','choices':['user'],'hidden':!![],'description':_0x213a03(0xed)})[_0x213a03(0x230)](_0x213a03(0x23b),{'type':_0x52618f['dViXf'],'description':_0x213a03(0x215)})['option'](_0x213a03(0x1ce),{'type':_0x213a03(0xdb),'description':_0x213a03(0x193),'default':![]})['option'](_0x52618f[_0x213a03(0x1cc)],{'type':_0x52618f[_0x213a03(0x253)],'description':_0x52618f[_0x213a03(0xc9)],'default':![]})[_0x213a03(0x230)](_0x52618f['CMreI'],{'type':_0x52618f['sGmaR'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0x213a03(0x230)](_0x52618f['fSoDH'],{'type':_0x52618f[_0x213a03(0x253)],'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','default':![]})['option'](_0x52618f['relqY'],{'type':_0x52618f['sGmaR'],'description':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','default':![]})['option'](_0x52618f[_0x213a03(0x110)],{'type':_0x52618f['sGmaR'],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]})[_0x213a03(0x230)](_0x52618f['SzfrD'],{'type':_0x213a03(0x10a),'hidden':!![],'description':_0x213a03(0x23c)});},async _0x257e4d=>{const _0x50cad3=_0x2abf03,_0x4f2f18=_0x257e4d[_0x50cad3(0x192)],_0x5cf3a0=_0x257e4d[_0x50cad3(0xe5)]??_0x4f2f18;_0x257e4d[_0x52618f['fSoDH']]&&await withTelemetry(_0x52618f[_0x50cad3(0xde)],()=>mcpBootstrap()),await withTelemetry('start',_0x28d39b=>start(_0x5cf3a0,{'skipChromium':_0x257e4d[_0x50cad3(0x10d)],'skipAuth':_0x257e4d[_0x50cad3(0x1d3)],'withDeps':_0x257e4d['with-deps'],'scope':_0x257e4d[_0x50cad3(0x1e1)],'url':_0x257e4d[_0x50cad3(0x23b)],'force':_0x257e4d[_0x50cad3(0x1ce)],'opencode':_0x257e4d['opencode'],'allowInsecureLocalhost':_0x257e4d[_0x50cad3(0xc8)]},_0x28d39b));})['command']('setup-ci\x20<token>',![],_0x389373=>{const _0xeecf30=_0x2abf03;return _0x389373[_0xeecf30(0x187)]('token',{'type':_0x52618f[_0xeecf30(0x177)],'description':'Ranger\x20API\x20token','demandOption':!![]})[_0xeecf30(0x230)](_0x52618f[_0xeecf30(0x170)],{'type':_0x52618f['dViXf'],'description':_0x52618f[_0xeecf30(0x26f)]})[_0xeecf30(0x230)]('base-url',{'type':_0x52618f[_0xeecf30(0x177)],'description':_0xeecf30(0x218)})['option']('skip-chromium',{'type':_0x52618f[_0xeecf30(0x253)],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x14449b=>{const _0x368436=_0x2abf03;await withTelemetry(_0x52618f['bgEXI'],_0x23a8eb=>setupCi(_0x14449b['token'],{'profile':_0x14449b[_0x368436(0x236)],'baseUrl':_0x14449b['base-url'],'skipChromium':_0x14449b[_0x368436(0x10d)]},_0x23a8eb));})['command']('login','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)',()=>{},async()=>{const _0x3ab8cf=_0x2abf03;await _0x52618f[_0x3ab8cf(0x129)](withTelemetry,_0x52618f['prHCm'],()=>login());})[_0x2abf03(0x146)](_0x2abf03(0x138),_0x52618f['FoSLn'],_0x9c33c6=>{const _0xf8c3b6=_0x2abf03;return _0x9c33c6['option'](_0x52618f[_0xf8c3b6(0x1cc)],{'type':'boolean','description':_0x52618f['DJJTL'],'default':![]})[_0xf8c3b6(0x230)](_0x52618f[_0xf8c3b6(0x222)],{'type':_0x52618f['dViXf'],'choices':[_0x52618f[_0xf8c3b6(0x1ad)],_0xf8c3b6(0x24d)],'description':'Install\x20scope\x20for\x20skills'});},async _0x28143c=>{const _0xf6127d=_0x2abf03,_0x2ac9f9=_0x52618f['yKBeq'](Boolean,_0x28143c['opencode']);await _0x52618f['bWJus'](withTelemetry,_0xf6127d(0x138),()=>skillup({'autoInstall':_0x28143c['scope'],'platform':_0x2ac9f9?_0xf6127d(0x128):_0xf6127d(0x259)}));})['command']('clean',_0x52618f[_0x2abf03(0x1b2)],()=>{},async()=>{await withTelemetry('clean',()=>clean());})[_0x2abf03(0x146)]([_0x52618f['tRsDC'],_0x52618f[_0x2abf03(0xc7)]],'Manage\x20profiles',_0x212b5b=>{const _0x2ab101=_0x2abf03,_0x325540={'gmQLU':_0x52618f[_0x2ab101(0x1ea)],'shiWj':_0x52618f['cedte'],'qZetr':_0x2ab101(0x1d3),'OpFXh':'boolean','jTRFd':_0x52618f[_0x2ab101(0x27e)],'gKzLy':_0x2ab101(0x23b),'WLiMS':'string','NwivW':_0x2ab101(0x121),'XpwxX':_0x2ab101(0x1c1),'qCTRS':_0x2ab101(0x225),'CDQCp':_0x52618f['TWpXk'],'YshtM':_0x2ab101(0x161),'mhzxh':'Auth\x20environment\x20key\x20to\x20bind\x20this\x20profile\x20to\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Bypasses\x20URL-based\x20matching;\x20required\x20for\x20bare-localhost\x20custom\x20ports.','bOzvL':_0x52618f['pDQDe'],'bubCu':function(_0x1c2a2d,_0x2c1787,_0x31dec4){return _0x52618f['bWJus'](_0x1c2a2d,_0x2c1787,_0x31dec4);},'QmMye':_0x2ab101(0x1f2),'zAGtF':_0x52618f[_0x2ab101(0x19d)],'NkLYr':_0x52618f[_0x2ab101(0x23f)],'aYBFP':'allow-insecure-localhost','ECMYE':_0x52618f[_0x2ab101(0x22f)],'cVLEo':_0x52618f['zOUgQ'],'fpKgY':_0x2ab101(0x143),'KgCGa':_0x52618f[_0x2ab101(0x214)],'tDhxA':_0x52618f['qvUJE'],'sTsRg':_0x2ab101(0x174),'maYUq':_0x2ab101(0x24c),'BgYRJ':function(_0x223b7a,_0x7c8f2,_0x3414f5){const _0x5a48e7=_0x2ab101;return _0x52618f[_0x5a48e7(0x1ae)](_0x223b7a,_0x7c8f2,_0x3414f5);},'YCAuQ':'profile\x20migrate','JnmrW':_0x52618f['tRsDC'],'nvLyi':_0x52618f[_0x2ab101(0xf5)],'Nmkhy':_0x2ab101(0x100),'KYUmh':'Config\x20key','pwQlg':function(_0x45fcd0,_0x384737,_0x5e84f4){return _0x45fcd0(_0x384737,_0x5e84f4);},'fZcpJ':_0x52618f['OXVBk'],'nOiWX':_0x52618f[_0x2ab101(0x132)]};return _0x212b5b[_0x2ab101(0x120)](PROFILE_HELP)['command']('add\x20<profile-name>','Add\x20profile\x20configuration',_0x237715=>{const _0x29e0f3=_0x2ab101;return _0x237715[_0x29e0f3(0x187)](_0x325540['gmQLU'],{'type':'string','description':_0x325540['shiWj'],'demandOption':!![]})['option']('ci',{'type':'boolean','hidden':!![],'default':![]})['option'](_0x325540['qZetr'],{'type':_0x325540[_0x29e0f3(0x13d)],'description':_0x325540[_0x29e0f3(0xc3)],'default':![]})['option'](_0x325540[_0x29e0f3(0x147)],{'type':_0x325540['WLiMS'],'description':_0x325540['NwivW']})[_0x29e0f3(0x230)]('force',{'type':_0x325540['OpFXh'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x29e0f3(0x230)](_0x325540[_0x29e0f3(0x119)],{'type':_0x325540['WLiMS'],'description':_0x29e0f3(0x17a)})['option']('allow-insecure-localhost',{'type':_0x325540[_0x29e0f3(0x13d)],'description':_0x29e0f3(0x228),'default':![]})[_0x29e0f3(0x230)](_0x29e0f3(0xf1),{'type':'boolean','description':_0x29e0f3(0x139),'default':![]})[_0x29e0f3(0x230)](_0x325540[_0x29e0f3(0xd4)],{'type':'string','array':!![],'description':_0x29e0f3(0x240)})['option'](_0x325540[_0x29e0f3(0x265)],{'type':_0x325540[_0x29e0f3(0xf6)],'choices':[_0x29e0f3(0x281),'project'],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})['option'](_0x325540['YshtM'],{'type':'string','description':_0x325540[_0x29e0f3(0x181)]})[_0x29e0f3(0x230)]('yes',{'type':'boolean','alias':'y','description':_0x325540['bOzvL'],'default':![]});},async _0x206a07=>{const _0x559ad5=_0x2ab101;await withTelemetry(_0x52618f[_0x559ad5(0xf9)],_0x454eac=>addEnv(_0x206a07[_0x559ad5(0xf4)],{'ci':_0x206a07['ci'],'skipAuth':_0x206a07['skip-auth'],'url':_0x206a07[_0x559ad5(0x23b)],'force':_0x206a07['force'],'cdpEndpoint':_0x206a07[_0x559ad5(0x1c1)],'allowInsecureLocalhost':_0x206a07['allow-insecure-localhost'],'safeMode':_0x206a07[_0x559ad5(0xf1)],'setupHeader':_0x206a07[_0x559ad5(0x225)],'scope':_0x206a07['scope'],'authEnv':_0x206a07[_0x559ad5(0x161)],'yes':_0x206a07['yes']},_0x454eac),{'isElectron':_0x52618f['yKBeq'](Boolean,_0x206a07['cdp-endpoint'])});})[_0x2ab101(0x146)](_0x52618f['iNjlL'],_0x52618f['fUsKU'],_0x3ff333=>{const _0x11e379=_0x2ab101;return _0x3ff333['positional'](_0x52618f['gVvOm'],{'type':'string','description':_0x52618f[_0x11e379(0x114)],'demandOption':!![]});},async _0x2df731=>{const _0xf50704=_0x2ab101;await _0x325540[_0xf50704(0x14d)](withTelemetry,_0xf50704(0x184),()=>useEnv(_0x2df731[_0xf50704(0xf4)]));})[_0x2ab101(0x146)]('delete\x20<profile-name>',_0x2ab101(0x27a),_0x2aadf8=>{const _0x11c812=_0x2ab101;return _0x2aadf8[_0x11c812(0x187)](_0x11c812(0xf4),{'type':_0x52618f[_0x11c812(0x177)],'description':_0x11c812(0x199),'demandOption':!![]})[_0x11c812(0x230)]('yes',{'type':_0x52618f[_0x11c812(0x253)],'alias':'y','description':_0x52618f[_0x11c812(0x1f4)],'default':![]});},async _0x3d02d5=>{const _0x5e7265=_0x2ab101;await withTelemetry(_0x325540[_0x5e7265(0x1d8)],()=>deleteProfile(_0x3d02d5['profile-name'],{'yes':_0x3d02d5['yes']}));})['command'](_0x2ab101(0xd8),![],_0x2d031c=>{const _0x3dd5c9=_0x2ab101;return _0x2d031c[_0x3dd5c9(0x187)](_0x52618f['tRsDC'],{'type':_0x52618f['dViXf'],'description':_0x52618f[_0x3dd5c9(0xf5)],'demandOption':!![]});},async _0x399957=>{const _0x4593cc=_0x2ab101;await _0x325540[_0x4593cc(0x14d)](withTelemetry,_0x325540['zAGtF'],()=>authEncrypt(_0x399957[_0x4593cc(0x236)]));})[_0x2ab101(0x146)]('ls','List\x20all\x20profiles',()=>{},async()=>{const _0x26f258=_0x2ab101;await _0x52618f[_0x26f258(0xdf)](withTelemetry,_0x52618f['zzfXQ'],()=>envList());})[_0x2ab101(0x146)](_0x52618f[_0x2ab101(0x25a)],_0x52618f['FiTvm'],_0x11f052=>{const _0x30b14d=_0x2ab101;return _0x11f052['positional']('profile-name',{'type':_0x325540['WLiMS'],'description':_0x325540['NkLYr'],'demandOption':!![]})[_0x30b14d(0x230)](_0x325540['aYBFP'],{'type':_0x325540[_0x30b14d(0x13d)],'description':_0x325540['ECMYE']})[_0x30b14d(0x230)](_0x325540['cVLEo'],{'type':_0x325540['OpFXh'],'description':'Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login'});},async _0x576525=>{const _0x57b340=_0x2ab101;await _0x52618f[_0x57b340(0x129)](withTelemetry,_0x52618f['DgZXk'],_0x57c9ea=>updateEnv(_0x576525[_0x57b340(0xf4)],_0x57c9ea,{'allowInsecureLocalhost':_0x576525[_0x57b340(0xc8)],'manual':_0x576525[_0x57b340(0x149)]}));})['command']('login\x20<name>',![],_0x3bc8a7=>{const _0x202c8f=_0x2ab101;return _0x3bc8a7[_0x202c8f(0x187)](_0x202c8f(0x248),{'type':_0x52618f[_0x202c8f(0x177)],'description':_0x52618f[_0x202c8f(0x107)],'demandOption':!![]});},async _0x5a28e8=>{const _0x144b4e={'AjeTF':_0x52618f['pXHcn'],'IdBvt':function(_0x54593c,_0x202dbd){return _0x54593c===_0x202dbd;},'hcwwD':function(_0x573901,_0xb10799){return _0x52618f['YjUFn'](_0x573901,_0xb10799);},'jEEvb':'unknown\x20error'};await withTelemetry(_0x52618f['vqcFM'],async()=>{const _0x48a6ea=_0x402c,_0xa2482f=process[_0x48a6ea(0x161)]['RANGER_TEST_USERNAME'],_0x1fc337=process[_0x48a6ea(0x161)]['RANGER_TEST_PASSWORD'];(!_0xa2482f||!_0x1fc337)&&(console['error'](_0x144b4e['AjeTF']),process[_0x48a6ea(0x1e0)](0x1));const _0x354dd8=_0x5a28e8[_0x48a6ea(0x248)],_0x5e22e7=await serverSideLogin(_0x354dd8,{'force':!![]});_0x144b4e['IdBvt'](_0x5e22e7['status'],_0x48a6ea(0x25c))&&(console['error'](_0x48a6ea(0x239)),process[_0x48a6ea(0x1e0)](0x1)),_0x144b4e[_0x48a6ea(0x1d7)](_0x5e22e7['status'],_0x48a6ea(0x167))&&(console['error']('Login\x20failed:\x20'+(_0x5e22e7[_0x48a6ea(0x1c0)]??_0x144b4e[_0x48a6ea(0xf0)])),_0x5e22e7[_0x48a6ea(0x113)]&&console[_0x48a6ea(0x1c0)](_0x5e22e7['test_output']),process['exit'](0x1)),console['log']('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x354dd8+_0x48a6ea(0x1ab));});})['command'](_0x2ab101(0x22b),![],_0x4e82e2=>{const _0x141d00=_0x2ab101;return _0x4e82e2[_0x141d00(0x187)](_0x325540[_0x141d00(0x207)],{'type':_0x141d00(0x10a),'description':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.'})['option']('all',{'type':_0x325540['OpFXh'],'description':_0x325540[_0x141d00(0x1b3)],'default':![]})['option']('dry-run',{'type':_0x141d00(0xdb),'description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})[_0x141d00(0x230)](_0x325540['KgCGa'],{'type':'boolean','alias':'y','description':_0x325540['tDhxA'],'default':![]})[_0x141d00(0x230)](_0x325540[_0x141d00(0x1f3)],{'type':'boolean','description':_0x325540[_0x141d00(0xcf)],'default':![]});},async _0x48f3ee=>{const _0x335bbb=_0x2ab101;await _0x325540['BgYRJ'](withTelemetry,_0x325540['YCAuQ'],_0x43794f=>migrateProfile({'profileName':_0x48f3ee['profile-name'],'all':_0x48f3ee[_0x335bbb(0x164)],'dryRun':_0x48f3ee['dry-run'],'yes':_0x48f3ee[_0x335bbb(0x151)],'saveCreds':_0x48f3ee[_0x335bbb(0x174)]},_0x43794f));})['command'](_0x52618f[_0x2ab101(0xcc)],'Manage\x20profile\x20configuration',_0x4fda3e=>{const _0x3b7913=_0x2ab101,_0x22eb38={'qQKls':'profile','ZZjFv':_0x52618f[_0x3b7913(0xf5)],'Rtvbg':_0x52618f['JamyD'],'DgNLa':'value','EniDb':function(_0x4c7eb0,_0x165339,_0x1ff4ef){return _0x52618f['bWJus'](_0x4c7eb0,_0x165339,_0x1ff4ef);},'SinSj':_0x3b7913(0x16f),'pnWXE':'string'};return _0x4fda3e[_0x3b7913(0x120)](PROFILE_CONFIG_HELP)['command'](_0x52618f[_0x3b7913(0x22e)],_0x52618f['yroQI'],_0x365c1d=>{const _0x4a5b43=_0x3b7913;return _0x365c1d['positional'](_0x22eb38[_0x4a5b43(0x169)],{'type':_0x4a5b43(0x10a),'description':_0x22eb38[_0x4a5b43(0x172)],'demandOption':!![]})['positional'](_0x22eb38[_0x4a5b43(0x258)],{'type':_0x4a5b43(0x10a),'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})['positional'](_0x22eb38[_0x4a5b43(0x201)],{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0x59ce3f=>{const _0x48c02b=_0x3b7913;await _0x22eb38[_0x48c02b(0x150)](withTelemetry,_0x22eb38['SinSj'],()=>configSet(_0x59ce3f[_0x48c02b(0x236)],_0x59ce3f['key'],_0x59ce3f[_0x48c02b(0x125)]));})[_0x3b7913(0x146)](_0x52618f[_0x3b7913(0xda)],_0x52618f[_0x3b7913(0x260)],_0xb5e58f=>{const _0x24a906=_0x3b7913;return _0xb5e58f[_0x24a906(0x187)](_0x325540[_0x24a906(0x227)],{'type':_0x24a906(0x10a),'description':_0x325540['nvLyi'],'demandOption':!![]})[_0x24a906(0x187)](_0x325540[_0x24a906(0x160)],{'type':_0x24a906(0x10a),'description':_0x325540['KYUmh'],'demandOption':!![]});},async _0xdf1ef3=>{const _0x2b9594=_0x3b7913;await _0x325540[_0x2b9594(0x286)](withTelemetry,_0x325540[_0x2b9594(0x1a1)],()=>configGet(_0xdf1ef3[_0x2b9594(0x236)],_0xdf1ef3['key']));})[_0x3b7913(0x146)]('list\x20<profile>',_0x52618f[_0x3b7913(0x105)],_0x3d5bc6=>{const _0x573e9f=_0x3b7913;return _0x3d5bc6['positional'](_0x325540[_0x573e9f(0x227)],{'type':_0x325540[_0x573e9f(0xf6)],'description':'Profile\x20name','demandOption':!![]});},async _0x818ee4=>{const _0x2d77ae=_0x3b7913;await withTelemetry('profile\x20config\x20list',()=>configList(_0x818ee4[_0x2d77ae(0x236)]));})['command'](_0x52618f[_0x3b7913(0x26e)],'Remove\x20a\x20config\x20value',_0x24be7d=>{const _0x137afc=_0x3b7913;return _0x24be7d[_0x137afc(0x187)](_0x137afc(0x236),{'type':'string','description':_0x137afc(0x20a),'demandOption':!![]})[_0x137afc(0x187)](_0x137afc(0x100),{'type':_0x22eb38['pnWXE'],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x3328d6=>{const _0x35586c=_0x3b7913;await withTelemetry('profile\x20config\x20unset',()=>configUnset(_0x3328d6[_0x35586c(0x236)],_0x3328d6[_0x35586c(0x100)]));})['command'](_0x52618f['TtvOl'],_0x3b7913(0x28f),_0x2f3aa5=>{const _0x31af6c=_0x3b7913;return _0x2f3aa5['positional'](_0x31af6c(0x236),{'type':_0x22eb38['pnWXE'],'description':_0x31af6c(0x20a),'demandOption':!![]});},async _0x183d33=>{await withTelemetry(_0x325540['nOiWX'],()=>configReset(_0x183d33['profile']));})[_0x3b7913(0x189)](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})[_0x2ab101(0x189)](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})['command'](_0x52618f[_0x2abf03(0x275)],_0x2abf03(0x1e4),()=>{},async()=>{const _0x3fb003=_0x2abf03;await withTelemetry(_0x52618f[_0x3fb003(0x275)],()=>status());})[_0x2abf03(0x146)](_0x52618f['lYqrM'],_0x52618f[_0x2abf03(0x1db)],()=>{},async()=>{const _0x1d1694=_0x2abf03;await _0x52618f[_0x1d1694(0x129)](withTelemetry,'update',()=>update());})['command'](_0x52618f[_0x2abf03(0x13b)],_0x52618f[_0x2abf03(0x234)],()=>{},async()=>{const _0x5b09e4=_0x2abf03;await _0x52618f[_0x5b09e4(0xdf)](withTelemetry,'print-access-token',async()=>{const _0x2cf655=_0x5b09e4,_0xe2cb5f=await getToken();if(!_0xe2cb5f)throw new Error('No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.');console[_0x2cf655(0x11e)](_0xe2cb5f);});})['command']('go',_0x52618f['LQgML'],_0x4c10cd=>{const _0x5e8ea7=_0x2abf03;return _0x4c10cd[_0x5e8ea7(0x230)](_0x5e8ea7(0x1bc),{'type':_0x52618f['dViXf'],'description':_0x52618f['QEOJV']})[_0x5e8ea7(0x230)](_0x52618f['tRsDC'],{'type':'string','description':_0x52618f[_0x5e8ea7(0x21d)]})['option'](_0x52618f['yDuqK'],{'type':_0x52618f[_0x5e8ea7(0x177)],'array':!![],'description':_0x5e8ea7(0x256)})[_0x5e8ea7(0x230)](_0x52618f['hjVvT'],{'type':_0x52618f['dViXf'],'description':_0x52618f[_0x5e8ea7(0x1f9)]})['option'](_0x52618f['VTfWa'],{'type':'string','description':_0x5e8ea7(0x1ef)})[_0x5e8ea7(0x230)](_0x5e8ea7(0x124),{'type':'number','description':'Scenario\x20index\x20(1-based)'})['option'](_0x5e8ea7(0x202),{'type':_0x5e8ea7(0x10a),'description':_0x52618f[_0x5e8ea7(0x21a)]})['option'](_0x5e8ea7(0x211),{'type':_0x5e8ea7(0x10a),'description':_0x52618f[_0x5e8ea7(0xc6)]})['option']('model',{'type':_0x52618f[_0x5e8ea7(0x177)],'description':_0x52618f[_0x5e8ea7(0x23a)]})[_0x5e8ea7(0x230)](_0x52618f[_0x5e8ea7(0x173)],{'type':_0x52618f[_0x5e8ea7(0x253)],'description':_0x52618f[_0x5e8ea7(0x14b)],'default':![]})['option']('env-var',{'type':_0x52618f['dViXf'],'array':!![],'alias':'environment-variable','description':_0x52618f['iyelU']})['option']('allow-url-mismatch',{'type':_0x52618f['sGmaR'],'description':_0x52618f['lfAjm'],'default':![]})[_0x5e8ea7(0x230)](_0x52618f[_0x5e8ea7(0x282)],{'type':_0x5e8ea7(0x10a),'hidden':!![],'choices':[_0x52618f[_0x5e8ea7(0x288)],_0x5e8ea7(0x1cf),_0x5e8ea7(0x1f5),_0x52618f['TxYXa'],'incomplete']})['option']('debug-address-comments',{'type':_0x52618f['sGmaR'],'hidden':!![]})['option']('env',{'type':_0x52618f[_0x5e8ea7(0x177)],'description':_0x52618f[_0x5e8ea7(0x247)]})['option'](_0x5e8ea7(0x1af),{'type':_0x52618f['dViXf'],'hidden':!![]})['option'](_0x52618f[_0x5e8ea7(0xfa)],{'type':_0x52618f[_0x5e8ea7(0x21b)],'hidden':!![]});},async _0x2f8867=>{await runGoCommand(_0x2f8867);})['command'](_0x52618f['eBLDh'],![],_0x4fdeb7=>{const _0x55ffb2=_0x2abf03,_0x198a75={'YjUtw':_0x52618f['dViXf'],'nocde':_0x52618f[_0x55ffb2(0xf5)]};return _0x4fdeb7[_0x55ffb2(0x146)]('encrypt\x20<profile>',![],_0x3efb22=>{const _0x149745=_0x55ffb2;return _0x3efb22['positional'](_0x149745(0x236),{'type':_0x198a75[_0x149745(0x1fd)],'description':_0x198a75[_0x149745(0x1dd)],'demandOption':!![]});},async _0x375022=>{const _0x55270d=_0x55ffb2;warnRenamed(_0x52618f[_0x55270d(0x155)],'ranger\x20profile\x20encrypt-auth'),await _0x52618f[_0x55270d(0xee)](authEncrypt,_0x375022[_0x55270d(0x236)]);})[_0x55ffb2(0x189)](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command'](_0x2abf03(0x24f),![],_0x546788=>{const _0x3bcbd5=_0x2abf03;return _0x546788[_0x3bcbd5(0x187)](_0x3bcbd5(0xe5),{'type':_0x52618f[_0x3bcbd5(0x177)],'description':_0x52618f[_0x3bcbd5(0x15d)]})['option'](_0x3bcbd5(0x10d),{'type':'boolean','description':_0x52618f['tpVOA'],'default':![]})[_0x3bcbd5(0x230)]('scope',{'type':_0x52618f[_0x3bcbd5(0x177)],'choices':[_0x3bcbd5(0x281)],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x52618f[_0x3bcbd5(0x1ee)],{'type':_0x3bcbd5(0x10a),'description':_0x52618f['LBUfL']})[_0x3bcbd5(0x230)](_0x52618f[_0x3bcbd5(0x273)],{'type':'boolean','description':_0x3bcbd5(0x193),'default':![]})[_0x3bcbd5(0x230)](_0x3bcbd5(0x1d3),{'type':'boolean','description':_0x52618f['kpsuH'],'default':![]})['option'](_0x52618f[_0x3bcbd5(0x110)],{'type':_0x52618f['sGmaR'],'description':_0x52618f['elIUy'],'default':![]});},async _0x1e6a5e=>{const _0x251eb1=_0x2abf03;_0x52618f[_0x251eb1(0xe8)](warnRenamed,_0x251eb1(0x1a9),_0x251eb1(0x1b0)),await _0x52618f[_0x251eb1(0x1d6)](withTelemetry,_0x52618f[_0x251eb1(0x1c2)],_0x37a406=>start(_0x1e6a5e['token'],{'skipChromium':_0x1e6a5e[_0x251eb1(0x10d)],'skipAuth':_0x1e6a5e[_0x251eb1(0x1d3)],'withDeps':_0x1e6a5e[_0x251eb1(0x254)],'scope':_0x1e6a5e[_0x251eb1(0x1e1)],'url':_0x1e6a5e['url'],'force':_0x1e6a5e['force']},_0x37a406));})['command'](_0x2abf03(0x108),![],_0x557328=>{const _0x2976b9=_0x2abf03;return _0x557328['option'](_0x2976b9(0x161),{'type':_0x2976b9(0x10a),'description':_0x52618f['YhMUX']})['option']('task',{'type':_0x2976b9(0x10a),'description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})[_0x2976b9(0x230)](_0x52618f[_0x2976b9(0xfa)],{'type':_0x2976b9(0x15c),'description':_0x52618f['oSRjO']})[_0x2976b9(0x230)](_0x2976b9(0x236),{'type':'string','hidden':!![]})['option'](_0x52618f['hjVvT'],{'type':_0x2976b9(0x10a),'hidden':!![]})[_0x2976b9(0x230)]('scenario',{'type':_0x52618f[_0x2976b9(0x21b)],'hidden':!![]})[_0x2976b9(0x230)]('start-path',{'type':_0x2976b9(0x10a),'description':_0x52618f[_0x2976b9(0x21a)]})[_0x2976b9(0x230)]('base-url',{'type':_0x2976b9(0x10a),'description':_0x52618f['RowSX']})[_0x2976b9(0x230)](_0x52618f[_0x2976b9(0x1ec)],{'type':'string','hidden':!![]})[_0x2976b9(0x230)](_0x2976b9(0x18a),{'type':_0x2976b9(0xdb),'hidden':!![],'default':![]})[_0x2976b9(0x230)]('env-var',{'type':_0x52618f['dViXf'],'array':!![],'alias':_0x52618f[_0x2976b9(0x1a7)],'hidden':!![]})[_0x2976b9(0x230)](_0x52618f[_0x2976b9(0x282)],{'type':_0x52618f[_0x2976b9(0x177)],'hidden':!![],'choices':[_0x52618f['fNTKW'],'partial',_0x52618f[_0x2976b9(0x123)],'failed','incomplete']});},async _0x36249c=>{await runGoCommand(_0x36249c,!![]);})[_0x2abf03(0x146)](_0x52618f['rYqno'],![],_0x244ed7=>{const _0x8f171f=_0x2abf03;return _0x244ed7['positional']('env-name',{'type':'string','description':_0x52618f[_0x8f171f(0x14e)],'demandOption':!![]})['option']('ci',{'type':'boolean','description':_0x52618f['OCJsu'],'default':![]})[_0x8f171f(0x230)](_0x52618f['relqY'],{'type':'boolean','description':_0x8f171f(0x21f),'default':![]});},async _0x192e39=>{const _0x32e653=_0x2abf03;warnRenamed(_0x52618f[_0x32e653(0x10e)],_0x52618f['SwrBs']),await _0x52618f['JdBLb'](withTelemetry,_0x52618f['sotGv'],_0x15cc95=>addEnv(_0x192e39['env-name'],{'ci':_0x192e39['ci'],'skipAuth':_0x192e39['skip-auth']},_0x15cc95));})['command'](_0x2abf03(0x145),![],_0x57dfd2=>{const _0x5a4b15=_0x2abf03;return _0x57dfd2[_0x5a4b15(0x187)]('env-name',{'type':_0x5a4b15(0x10a),'description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x27c596=>{const _0x318b9a=_0x2abf03;warnRenamed(_0x318b9a(0x18d),_0x318b9a(0x250)),await _0x52618f['ecMHa'](withTelemetry,'use',()=>useEnv(_0x27c596['env-name']));})[_0x2abf03(0x146)](_0x2abf03(0x131),![],_0x596f6c=>{const _0x21b8c2=_0x2abf03,_0x55b962={'fehKY':function(_0x340328,_0x5355e9,_0x16b306){return _0x340328(_0x5355e9,_0x16b306);},'dzeKz':function(_0x1e9b21,_0x468f9f,_0x20f8bc){return _0x1e9b21(_0x468f9f,_0x20f8bc);},'qdaXy':_0x21b8c2(0x262),'qBonU':'env','JSVCX':_0x52618f[_0x21b8c2(0x177)],'IjyXm':_0x21b8c2(0x13e)};return _0x596f6c['command'](_0x21b8c2(0xc2),![],_0xf2d5a0=>{const _0x31bc76=_0x21b8c2;return _0xf2d5a0[_0x31bc76(0x187)](_0x52618f[_0x31bc76(0x243)],{'type':_0x31bc76(0x10a),'description':_0x31bc76(0x13e),'demandOption':!![]})['positional']('key',{'type':'string','description':_0x52618f['yNsnB'],'demandOption':!![]})['positional'](_0x31bc76(0x125),{'type':'string','description':_0x31bc76(0x156),'demandOption':!![]});},async _0x14a372=>{const _0x4d79f6=_0x21b8c2;warnRenamed(_0x52618f[_0x4d79f6(0x289)],_0x52618f[_0x4d79f6(0x1ed)]),await withTelemetry('config\x20set',()=>configSet(_0x14a372[_0x4d79f6(0x161)],_0x14a372['key'],_0x14a372['value']));})[_0x21b8c2(0x146)](_0x52618f['IiQtV'],![],_0x13829a=>{const _0x3f0f8d=_0x21b8c2;return _0x13829a['positional'](_0x3f0f8d(0x161),{'type':'string','description':'Environment\x20name','demandOption':!![]})[_0x3f0f8d(0x187)](_0x52618f[_0x3f0f8d(0x1b4)],{'type':_0x52618f[_0x3f0f8d(0x177)],'description':_0x52618f[_0x3f0f8d(0x212)],'demandOption':!![]});},async _0x4f21d0=>{const _0x31de6e=_0x21b8c2;_0x55b962[_0x31de6e(0x11a)](warnRenamed,'ranger\x20config\x20get',_0x31de6e(0x112)),await _0x55b962['dzeKz'](withTelemetry,_0x55b962[_0x31de6e(0xd7)],()=>configGet(_0x4f21d0[_0x31de6e(0x161)],_0x4f21d0['key']));})['command'](_0x52618f[_0x21b8c2(0x168)],![],_0x67e680=>{const _0x27b94d=_0x21b8c2;return _0x67e680[_0x27b94d(0x187)](_0x55b962[_0x27b94d(0x1d2)],{'type':_0x55b962['JSVCX'],'description':_0x27b94d(0x13e),'demandOption':!![]});},async _0xa2f007=>{const _0x34992f=_0x21b8c2;warnRenamed(_0x52618f[_0x34992f(0x26c)],_0x52618f[_0x34992f(0x1d9)]),await _0x52618f[_0x34992f(0x1ae)](withTelemetry,_0x52618f['otRzb'],()=>configList(_0xa2f007['env']));})[_0x21b8c2(0x146)](_0x21b8c2(0x20e),![],_0x596a72=>{const _0x1ff5f0=_0x21b8c2;return _0x596a72['positional'](_0x1ff5f0(0x161),{'type':_0x55b962[_0x1ff5f0(0x111)],'description':_0x55b962['IjyXm'],'demandOption':!![]})[_0x1ff5f0(0x187)](_0x1ff5f0(0x100),{'type':_0x1ff5f0(0x10a),'description':_0x1ff5f0(0xd0),'demandOption':!![]});},async _0x365ded=>{const _0x24aaac=_0x21b8c2;_0x52618f[_0x24aaac(0x1d5)](warnRenamed,'ranger\x20config\x20unset',_0x24aaac(0x217)),await _0x52618f[_0x24aaac(0x1b7)](withTelemetry,_0x52618f[_0x24aaac(0x22a)],()=>configUnset(_0x365ded['env'],_0x365ded[_0x24aaac(0x100)]));})[_0x21b8c2(0x189)](0x1,_0x52618f[_0x21b8c2(0x116)]);})['command'](_0x52618f[_0x2abf03(0x243)],![],_0x5cb614=>{const _0x491bc5=_0x2abf03,_0x1ca75a={'GWudD':function(_0x27a6ee,_0xf104f4,_0xd0d4bc){const _0x447fde=_0x402c;return _0x52618f[_0x447fde(0x1eb)](_0x27a6ee,_0xf104f4,_0xd0d4bc);},'DmLoW':'ranger\x20env\x20ls','GjXZT':_0x491bc5(0x1da),'XiSHk':function(_0x2293da,_0x40c741,_0xbe880a){return _0x2293da(_0x40c741,_0xbe880a);},'MgASq':_0x52618f[_0x491bc5(0x1c7)],'OlPEv':_0x52618f['dViXf'],'oFnJe':_0x52618f[_0x491bc5(0x291)],'WpIWz':_0x52618f['MtYPx']};return _0x5cb614['command']('ls',![],()=>{},async()=>{const _0x226618=_0x491bc5;_0x1ca75a['GWudD'](warnRenamed,_0x1ca75a[_0x226618(0x1aa)],_0x1ca75a[_0x226618(0x242)]),await _0x1ca75a['XiSHk'](withTelemetry,_0x1ca75a['MgASq'],()=>envList());})['command']('update\x20<env-name>',![],_0x4751da=>{const _0x357806=_0x491bc5;return _0x4751da[_0x357806(0x187)](_0x357806(0xe1),{'type':_0x1ca75a[_0x357806(0x208)],'description':_0x1ca75a[_0x357806(0xe6)],'demandOption':!![]});},async _0x17e40c=>{const _0x270247=_0x491bc5;_0x1ca75a[_0x270247(0x102)](warnRenamed,_0x270247(0x1ff),'ranger\x20profile\x20update'),await withTelemetry(_0x1ca75a['WpIWz'],_0x29d642=>updateEnv(_0x17e40c[_0x270247(0xe1)],_0x29d642));})['demandCommand'](0x1,_0x52618f['cQwoC']);})[_0x2abf03(0x146)](_0x52618f['exiuo'],![],_0x96a9ed=>{const _0x55a591=_0x2abf03,_0x938ff4={'fluEJ':_0x52618f[_0x55a591(0x183)],'QtFEM':_0x52618f['puwPA'],'cvwUl':function(_0x30843d,_0x33bf03,_0x82dde0){return _0x30843d(_0x33bf03,_0x82dde0);},'PaLHp':'feature\x20list','dPKVk':_0x55a591(0x10a),'TOsia':_0x52618f[_0x55a591(0x205)],'nIWcP':_0x52618f[_0x55a591(0x1e7)],'WJPmP':_0x52618f[_0x55a591(0x1b1)],'GoPmJ':function(_0x57ce56,_0x30e5cd,_0x450298){const _0x4c4541=_0x55a591;return _0x52618f[_0x4c4541(0xdf)](_0x57ce56,_0x30e5cd,_0x450298);},'hiyfY':_0x52618f['hkFIM'],'emYPW':function(_0x53fdbb,_0x3a99f9,_0x312eae){return _0x52618f['qJrut'](_0x53fdbb,_0x3a99f9,_0x312eae);},'jPUGk':_0x52618f[_0x55a591(0x244)],'zPkme':_0x52618f['FQNWY']};return _0x96a9ed['command']('create\x20<name>',![],_0x35880b=>{const _0x587240=_0x55a591;return _0x35880b['positional'](_0x52618f[_0x587240(0xce)],{'type':_0x587240(0x10a),'description':_0x52618f['zpwFh'],'demandOption':!![]})[_0x587240(0x230)](_0x587240(0x266),{'type':'string','alias':'d','description':_0x587240(0x1c8)})[_0x587240(0x230)](_0x587240(0x28d),{'type':_0x52618f['lwPnd'],'alias':'c','description':_0x52618f['xYGvN']})[_0x587240(0x230)]('scenario',{'type':_0x52618f[_0x587240(0x233)],'hidden':!![]});},async _0x138379=>{const _0xce8188=_0x55a591;warnRenamed('ranger\x20feature\x20create',_0xce8188(0x191)),warnFlagRenamed(_0x938ff4[_0xce8188(0x294)],_0xce8188(0x157),_0x938ff4[_0xce8188(0x272)]);const _0xc57b06=_0x138379[_0xce8188(0x124)]||_0x138379[_0xce8188(0x28d)];await _0x938ff4['cvwUl'](withTelemetry,'feature\x20create',()=>featureCreate(_0x138379['name'],{'description':_0x138379['description'],'scenarios':_0xc57b06}));})['command'](_0x52618f[_0x55a591(0x246)],![],_0x5baf9a=>{const _0x2f797d=_0x55a591;return _0x5baf9a[_0x2f797d(0x230)](_0x52618f[_0x2f797d(0x1a3)],{'type':_0x52618f['sGmaR'],'description':_0x52618f[_0x2f797d(0x1be)]})['option']('limit',{'type':'number','alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option']('offset',{'type':_0x52618f['XjppD'],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option'](_0x2f797d(0xcd),{'type':_0x2f797d(0xdb),'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x2d5ea5=>{const _0x537f25=_0x55a591;warnRenamed('ranger\x20feature\x20list','ranger\x20list'),await _0x938ff4['cvwUl'](withTelemetry,_0x938ff4['PaLHp'],()=>featureList({'currentBranch':_0x2d5ea5['current-branch'],'limit':_0x2d5ea5['limit'],'offset':_0x2d5ea5[_0x537f25(0x255)],'includeDeleted':_0x2d5ea5[_0x537f25(0xcd)]}));})[_0x55a591(0x146)]('show\x20[id]',![],_0x5c31b7=>{const _0x36e88d=_0x55a591;return _0x5c31b7[_0x36e88d(0x187)]('id',{'type':_0x938ff4['dPKVk'],'description':_0x938ff4[_0x36e88d(0x109)]});},async _0x273583=>{const _0x4f6c1e=_0x55a591;warnRenamed(_0x52618f[_0x4f6c1e(0x17c)],_0x4f6c1e(0xe2)),await _0x52618f['KbqML'](withTelemetry,_0x52618f[_0x4f6c1e(0x19b)],()=>featureShow(_0x273583['id']));})[_0x55a591(0x146)](_0x52618f[_0x55a591(0x11c)],![],_0x30786d=>{const _0x1cd12=_0x55a591;return _0x30786d['positional']('id',{'type':_0x1cd12(0x10a),'description':_0x52618f[_0x1cd12(0x158)]});},async _0xdc1308=>{const _0x1be1ca=_0x55a591;warnRenamed(_0x52618f['XoidQ'],'ranger\x20resume'),await _0x52618f['qJrut'](withTelemetry,_0x52618f[_0x1be1ca(0x271)],()=>featureResume(_0xdc1308['id']));})['command'](_0x52618f[_0x55a591(0xf2)],![],_0x5af881=>{const _0xbf2a1a=_0x55a591;return _0x5af881[_0xbf2a1a(0x187)](_0x938ff4['nIWcP'],{'type':_0xbf2a1a(0x10a),'description':_0x938ff4['WJPmP'],'demandOption':!![]})[_0xbf2a1a(0x230)]('id',{'type':_0x938ff4['dPKVk'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x1072f4=>{const _0xbf7561=_0x55a591;_0x938ff4['GoPmJ'](warnRenamed,'ranger\x20feature\x20add-checklist-item',_0x938ff4[_0xbf7561(0x231)]),await _0x938ff4['emYPW'](withTelemetry,_0x938ff4['jPUGk'],()=>featureAddScenario(_0x1072f4[_0xbf7561(0x266)],_0x1072f4['id']));})['command'](_0x52618f['gJMQm'],![],_0x328528=>{const _0x501412=_0x55a591;return _0x328528[_0x501412(0x187)]('id',{'type':_0x52618f[_0x501412(0x177)],'description':_0x52618f[_0x501412(0xd2)]});},async _0x4379be=>{const _0x4f8a2b=_0x55a591;_0x52618f['bWJus'](warnRenamed,'ranger\x20feature\x20get-feedback',_0x52618f[_0x4f8a2b(0x175)]),await withTelemetry(_0x52618f[_0x4f8a2b(0x1a4)],()=>featureGetReview(_0x4379be['id']));})['command'](_0x55a591(0xd3),![],_0x536122=>{return _0x536122['positional']('id',{'type':_0x938ff4['dPKVk'],'description':_0x938ff4['TOsia']});},async _0x7c9b48=>{const _0x35afe0=_0x55a591;_0x52618f['dFmGb'](warnRenamed,'ranger\x20feature\x20delete','ranger\x20delete'),await _0x52618f[_0x35afe0(0x1a5)](withTelemetry,_0x52618f[_0x35afe0(0x171)],()=>featureDelete(_0x7c9b48['id']));})['command'](_0x52618f[_0x55a591(0x226)],![],_0x4a8bf8=>{const _0x9a3865=_0x55a591;return _0x4a8bf8[_0x9a3865(0x187)]('id',{'type':_0x9a3865(0x10a),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x163a40=>{const _0x2c332e=_0x55a591;_0x938ff4['cvwUl'](warnRenamed,_0x938ff4[_0x2c332e(0x20b)],'ranger\x20restore'),await withTelemetry(_0x2c332e(0x209),()=>featureRestore(_0x163a40['id']));})[_0x55a591(0x189)](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})['command']('hook',![],_0x26ed04=>{const _0x5a4396=_0x2abf03,_0x2a500a={'nhfhO':'string','MLAAC':_0x52618f[_0x5a4396(0x1a2)],'VzQMz':_0x52618f[_0x5a4396(0x16b)]};return _0x26ed04['command'](_0x5a4396(0x28a),'Enable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x10d1d2=>{const _0x335bde=_0x5a4396;return _0x10d1d2['option'](_0x335bde(0x134),{'type':_0x2a500a[_0x335bde(0x297)],'description':_0x2a500a[_0x335bde(0x219)]});},async _0x45c093=>{const _0x306bed=_0x5a4396;await _0x52618f[_0x306bed(0x1d6)](withTelemetry,_0x52618f['houpY'],()=>hook('enable',_0x45c093[_0x306bed(0x134)]));})[_0x5a4396(0x146)]('disable','Disable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x5e659d=>{const _0x25b9fb=_0x5a4396;return _0x5e659d[_0x25b9fb(0x230)](_0x2a500a[_0x25b9fb(0x24e)],{'type':_0x25b9fb(0x10a),'description':_0x25b9fb(0x14a)});},async _0xf5e08c=>{const _0x22b464=_0x5a4396;await _0x52618f[_0x22b464(0x1d6)](withTelemetry,_0x22b464(0x1ba),()=>hook(_0x22b464(0x1f1),_0xf5e08c[_0x22b464(0x134)]));})[_0x5a4396(0x230)]('name',{'type':'string','description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})['option'](_0x5a4396(0x134),{'type':_0x52618f['dViXf'],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x193c76=>{_0x193c76['name']&&await _0x52618f['LtdBS'](hook,_0x193c76['name'],_0x193c76[_0x52618f['baFXQ']]);})[_0x2abf03(0x189)](0x1,_0x52618f[_0x2abf03(0x106)])['strictCommands']()['fail'](async(_0x2874bb,_0x191e17,_0x5a4d26)=>{const _0x5b7fd1=_0x2abf03,_0x2d1b98=sanitizeArgs(process[_0x5b7fd1(0x1de)]['slice'](0x2)),_0x2588b0=_0x52618f[_0x5b7fd1(0x129)](getErrorType,_0x2874bb,_0x191e17);if(_0x2874bb&&_0x2874bb['includes'](_0x5b7fd1(0x15a))){const _0x1242d8=process[_0x5b7fd1(0x1de)][0x2];console[_0x5b7fd1(0x1c0)]('\x0aUnknown\x20command:\x20'+_0x1242d8),console['error'](_0x52618f['ECwlS']);}else{if(_0x2874bb)console[_0x5b7fd1(0x1c0)]('\x0a'+_0x2874bb+'\x0a');else _0x191e17&&console[_0x5b7fd1(0x1c0)](_0x5b7fd1(0x221)+_0x191e17['message']+'\x0a');}await _0x52618f['yKBeq'](logDesirePath,{'rawCommand':_0x2d1b98,'errorMessage':_0x2874bb||_0x191e17?.[_0x5b7fd1(0x16e)],'errorType':_0x2588b0});const _0x4785fb=getCurrentCollector();_0x4785fb&&await _0x4785fb['trackCommandError'](_0x191e17||new Error(_0x52618f['zzwKR'](_0x2874bb,_0x52618f['aIrOw']))),process[_0x5b7fd1(0x1e0)](0x1);})['epilogue'](_0x52618f['Yadfs'](_0x52618f[_0x2abf03(0x295)],_0x2abf03(0x26a))+_0x2abf03(0x18b))['help']()[_0x2abf03(0x1c6)](_0x52618f['AuvCV'],'h');}process[_0xe649af(0x161)]['NODE_ENV']!=='test'&&(shouldShowLegacyWarning(process[_0xe649af(0x1de)])&&showLegacyDeprecationWarning(),buildParser()['parse']());
|