@ranger-testing/ranger-cli 2.5.4-alpha.a70fc60-4 → 2.5.4-alpha.a98f848-6
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/env.js +1 -1
- package/build/commands/feature.js +1 -1
- package/build/commands/hook.js +1 -1
- package/build/commands/hooks/autoPrompt.js +1 -1
- package/build/commands/hooks/disable.js +1 -1
- package/build/commands/hooks/enable.js +1 -1
- package/build/commands/hooks/exitPlanMode.js +1 -1
- package/build/commands/hooks/index.js +1 -1
- package/build/commands/hooks/output.js +1 -1
- package/build/commands/hooks/planReminder.js +1 -1
- package/build/commands/hooks/planStart.js +1 -1
- package/build/commands/hooks/postEdit.js +1 -1
- package/build/commands/hooks/preCompact.js +1 -1
- package/build/commands/hooks/sessionEnd.js +1 -1
- package/build/commands/hooks/sessionStart.js +1 -1
- package/build/commands/hooks/stopHook.js +1 -1
- package/build/commands/index.js +1 -1
- package/build/commands/login.js +1 -1
- package/build/commands/mcpBootstrap.js +1 -1
- package/build/commands/migrateProfile.js +1 -1
- package/build/commands/setup/claude.js +1 -1
- package/build/commands/setup/opencode.js +1 -1
- package/build/commands/setupCi.js +1 -1
- package/build/commands/skillup.js +1 -1
- package/build/commands/start.js +1 -1
- package/build/commands/status.js +1 -1
- package/build/commands/update.js +1 -1
- package/build/commands/updateEnv.js +1 -1
- package/build/commands/useEnv.js +1 -1
- package/build/commands/utils/activeProfile.js +1 -1
- package/build/commands/utils/agentEnv.js +1 -1
- package/build/commands/utils/browserSessionsApi.js +1 -1
- package/build/commands/utils/claudeConfig.js +1 -1
- package/build/commands/utils/claudeOverrideSettings.js +1 -1
- package/build/commands/utils/claudePlugin.js +1 -1
- package/build/commands/utils/cloudProfile.js +1 -1
- package/build/commands/utils/cloudProfileSession.js +1 -1
- package/build/commands/utils/crypto.js +1 -1
- package/build/commands/utils/desirePathLog.js +1 -1
- package/build/commands/utils/deviceAuth.js +1 -1
- package/build/commands/utils/environment.js +1 -1
- package/build/commands/utils/featureApi.js +1 -1
- package/build/commands/utils/fixWebmDuration.js +1 -1
- package/build/commands/utils/gitTracked.js +1 -1
- package/build/commands/utils/keychain.js +1 -1
- package/build/commands/utils/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/opencodeConfig.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/resolveProfileContext.js +1 -1
- package/build/commands/utils/resolveProfileUrl.js +1 -1
- package/build/commands/utils/retry.js +1 -1
- package/build/commands/utils/sessionCache.js +1 -1
- package/build/commands/utils/settings.js +1 -1
- package/build/commands/utils/skillContent.js +1 -1
- package/build/commands/utils/skills.js +1 -1
- package/build/commands/utils/stitchWebmFiles.js +1 -1
- package/build/commands/utils/telemetry.js +1 -1
- package/build/commands/utils/tokenRefresh.js +1 -1
- package/build/commands/utils/traceSnapshotMapper.js +1 -1
- package/build/commands/utils/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/skills/ranger/SKILL.md +17 -3
- package/build/skills/ranger/create.md +6 -0
- package/build/skills/ranger/verify.md +23 -3
- package/package.json +1 -1
package/build/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x14be9b=_0x1cda;(function(_0x28932b,_0xb83781){const _0x59ccf6=_0x1cda,_0x40c82c=_0x28932b();while(!![]){try{const _0x575e14=parseInt(_0x59ccf6(0x201))/0x1+parseInt(_0x59ccf6(0x251))/0x2*(parseInt(_0x59ccf6(0x23a))/0x3)+-parseInt(_0x59ccf6(0x29d))/0x4*(parseInt(_0x59ccf6(0x1e9))/0x5)+parseInt(_0x59ccf6(0x2a8))/0x6+parseInt(_0x59ccf6(0x21d))/0x7*(-parseInt(_0x59ccf6(0x124))/0x8)+-parseInt(_0x59ccf6(0x227))/0x9*(-parseInt(_0x59ccf6(0x234))/0xa)+-parseInt(_0x59ccf6(0x292))/0xb;if(_0x575e14===_0xb83781)break;else _0x40c82c['push'](_0x40c82c['shift']());}catch(_0x5cc1a4){_0x40c82c['push'](_0x40c82c['shift']());}}}(_0x54ef,0xb5b06));import _0x2e5403 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x19aacc=_0x1cda,_0x11fdb0={'XHnvg':function(_0x45b078,_0xd268b2,_0x2cebcd){return _0x45b078(_0xd268b2,_0x2cebcd);},'kMQBN':'.ranger','JTQnS':function(_0x55f4a3,_0x103dc7){return _0x55f4a3(_0x103dc7);}};let _0x2be29d=process[_0x19aacc(0x20e)]();const _0x4f1da5=parse(_0x2be29d)[_0x19aacc(0x2a3)];while(_0x2be29d!==_0x4f1da5){if(existsSync(_0x11fdb0['XHnvg'](join,_0x2be29d,_0x11fdb0['kMQBN']))||_0x11fdb0[_0x19aacc(0x221)](existsSync,_0x11fdb0['XHnvg'](join,_0x2be29d,'.env')))return _0x2be29d;_0x2be29d=_0x11fdb0[_0x19aacc(0x221)](dirname,_0x2be29d);}return process['cwd']();}_0x2e5403[_0x14be9b(0x2b8)]({'path':join(findProjectRoot(),_0x14be9b(0x163))});import _0x580bd4 from'yargs/yargs';function _0x1cda(_0x4a563b,_0x2d1106){_0x4a563b=_0x4a563b-0x10d;const _0x54ef29=_0x54ef();let _0x1cdaf0=_0x54ef29[_0x4a563b];return _0x1cdaf0;}import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';function _0x54ef(){const _0x96c34a=['Config\x20key\x20to\x20remove','Profile\x20name','string','New\x20scenario\x20description','mcp-bootstrap','Feature\x20review\x20description','ranger','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','restore\x20<id>','qRIjx','forEach','name','ZyPVM','list','start-path','.env','all','unknown\x20error','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','set\x20<profile>\x20<key>\x20<value>','KQFOP','SsEYq','user','Unknown\x20command','jxwhA','mSjSZ','ranger\x20create','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','report\x20[id]','project','QvtzP','--task','ranger\x20config\x20set','mcp','Dduwq','verify-feature','env','BvXqp','update','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','JuILz','\x20BLOCKED','ranger\x20env\x20ls','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','zKZFH','add\x20<profile-name>','KwmCS','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','RCmyi','LBIXB','demandCommand','Qrsqd','vWqNX','gKSzw','config\x20set','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','PwpNL','Xmtqc','tdjnu','vOtDJ','feature\x20get-feedback','feature\x20add-checklist-item','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','BiEib','Ranger\x20API\x20token\x20(rngr_...)','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','show','key','ranger\x20use','report','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','dry-run','oJVeA','herDE','VzaXM','unset\x20<env>\x20<key>','WCqrG','pFjmc','env-name','RdZmy','YzDKr','usnbM','cEVAQ','option','hByNq','print-access-token','sbFJI','zGUJt','setup:profiles','kIaLQ','OHenx','error','ranger\x20profile\x20use','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','migrate\x20[profile-name]','UqBnw','ranger\x20feature\x20delete','ranger\x20feature\x20restore','claude','fTQFa','ranger\x20profile\x20config\x20unset','WPNXC','session-id','edit-scenario','jBLkV','profile\x20login','command','fIKYV','eWIKH','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','QLByP','wUDgA','\x0aIssues:','MHvYn','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','QSneg','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','evaluation','ranger\x20feature\x20create','WXmbW','array','notes','NODE_ENV','fhkmL','YHuIt','success','token','setup-ci','ICxQn','resume','rjhmc','update\x20<env-name>','Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','cJPgt','Install\x20scope\x20for\x20plugin\x20and\x20skills','sNIPY','knznl','disable','add\x20env\x20<env-name>','Unknown\x20error','epilogue','ranger\x20feature\x20resume','Authenticate\x20with\x20Ranger','Switch\x20to\x20using\x20a\x20specific\x20profile','MVWQX','afCbu','eIhsp','2800gNxFxE','OtGPj','sglnp','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','setup-ci\x20<token>','AdnWg','feature\x20list','yuzlF','ranger\x20go','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','List\x20all\x20feature\x20reviews','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','Get\x20a\x20config\x20value','ranger\x20show','json','hook','whqzO','oAROb','API\x20token','RCAIk','\x0aUnknown\x20command:\x20','\x20PARTIAL','ranger\x20config\x20get','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','1066724LRiBds','VTcjW','resume\x20[id]','XJijy','IVSTT','KCuei','Iwsun','test_output','Skrwr','reset\x20<profile>','necBR','JGHnF','xeuob','cwd','Remove\x20a\x20config\x20value','verified','ranger\x20env\x20update','feature\x20create','Reason:\x20','set\x20<env>\x20<key>\x20<value>','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aProfile\x20config.\x20Routes\x20automatically\x20based\x20on\x20where\x20the\x20profile\x20lives:\x0a\x20\x20-\x20Local\x20profiles\x20write\x20to\x20.ranger/<env>/settings.json\x0a\x20\x20-\x20Cloud\x20profiles\x20write\x20a\x20local\x20overlay\x20in\x20~/.ranger/projects.json\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\x20(effective\x20value\x20for\x20cloud\x20profiles)\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\x20local\x20overrides\x20(cloud\x20profiles\x20only)\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override\x20for\x20cloud\x20profiles)\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\x20header.<name>\x20\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20header.X-Test-Mode)\x0a\x20\x20setupHeader.<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(e.g.,\x20setupHeader.x-bypass-turnstile)\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','incomplete','blocked','GIdMh','rWWcS','value','VDcBA','url','5239185ySfuRH','WsWOY','CPSGl','limit','JTQnS','ranger\x20feature\x20add-checklist-item','cowOW','gDqCa','CwLPz','ranger\x20auth\x20encrypt','3916719jYAUne','list\x20<env>','qQiEa','feature\x20delete','WqiXR','nfUgF','ranger\x20config\x20unset','with-deps','get\x20<env>\x20<key>','KQYkn','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile\x20(cloud\x20profiles\x20only)','--checklist','YFNlG','20GgAUPH','clean','slice','skip-chromium','config\x20list','UrAOi','10518VjCsXQ','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','IqXOW','YJlcy','fJGLk','dCccH','Name\x20of\x20the\x20profile','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','login','gVwpY','fhsjg','encrypt\x20<profile>','vQSox','Set\x20up\x20a\x20local\x20browser\x20profile','Manage\x20profile\x20configuration','Login\x20failed:\x20','Include\x20soft-deleted\x20feature\x20reviews','GZsiK','item','Restore\x20a\x20soft-deleted\x20feature\x20review','AyPZj','Example:\x20ranger\x20create\x20my-feature','debug-address-comments','710lyhfEa','repeat','scope','profile\x20ls','TeqKt','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','exitCode','Skip\x20Chromium\x20browser\x20installation','wghrn','ranger\x20list','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','QnxDK','profile\x20config\x20reset','Skip\x20interactive\x20confirmation\x20prompts.','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','fQgMn','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','setup-header','EhzAY','WmGpk','profile','base-url','sXIKa','JRrwc','allow-insecure-localhost','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','partial','LmvPw','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','boolean','List\x20all\x20profiles','cAEsp','Config\x20value','aOUGA','WiCsg','RANGER_TEST_PASSWORD','force','ranger\x20get-review','ranger\x20add-scenario','message','start\x20[token]','enable','setup:skills','trackCommandError','RTpPD','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','exit','profile\x20use','status','JVwoK','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','Manage\x20profiles','cMIqg','number','opencode','exclude-scenario','ryWJr','qUWby','ZIsLA','GqwMB','config\x20get','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','FvZFc','Feature\x20review\x20ID','27002514BOeBNR','KvWzh','list\x20<profile>','MIzgu','zJPUr','IcMtN','aZwSE','mXGuV','--notes','meEoc','ranger\x20profile\x20encrypt-auth','1332MbCTzc','RYxpx','yes','ranger\x20verify-feature','profiles','wMkBa','root','description','Install\x20OS-level\x20dependencies\x20for\x20Chromium','hook:disable','severity','5713026iaVWzs','help','headed','ranger\x20feature\x20list','ranger\x20delete','NxBMU','rsfnr','Skip\x20authentication','ktVKS','nonkB','KULoE','checklist','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','create\x20<name>','encrypt-auth\x20<profile>','Feature\x20review\x20name','config','Evaluation:\x20','YAEnA','debug-outcome','get-review','YILHN','gQQhV','cdp-endpoint','You\x20must\x20specify\x20a\x20config\x20subcommand','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','NDWiS','QJyBe','\x20INCOMPLETE','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','fqvNo','VZEpU','xPVtU','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','safe-mode','eXzla','summary','GfJqD','BvUOB','map','parse','Name\x20of\x20the\x20profile\x20to\x20update','8XLQsab','RANGER_TEST_USERNAME','ihvDn','skip-auth','SwUub','ranger\x20profile\x20config\x20set','current-branch','log','model','YSvQc','afixL','FzXEv','nEwnF','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','positional','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','bErSl','IlROO','evaluationReason','Name\x20of\x20the\x20environment','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','use\x20<env-name>','.\x20[','argv','save-creds','LtpXD','includes','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','Pdjoq','bQsDJ','scenario','fxpkC','Update\x20authentication\x20for\x20an\x20existing\x20profile','CVJzs','WLsWT','hbMjX','HYHoe','setup\x20[tokenOrSubcommand]','delete\x20[id]','profile-name','usage','FIWnG','fAFqE','ZxvTk','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','tNQNn','LDyEr','Skip\x20browser\x20authentication'];_0x54ef=function(){return _0x96c34a;};return _0x54ef();}import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x507c10=>{const _0xaa4ded=_0x14be9b,_0x7bae12={'kzBvC':function(_0x18d15c){return _0x18d15c();}},_0x259976=_0x7bae12['kzBvC'](getCurrentCollector);_0x259976&&await _0x259976['trackCommandError'](_0x507c10),process[_0xaa4ded(0x257)]=0x1;});const rawArgs=process['argv'][_0x14be9b(0x236)](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\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\x20Set\x20up\x20a\x20local\x20browser\x20profile\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/update/config/encrypt-auth)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\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\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\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\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x20\x20migrate\x20[<profile>]\x20\x20\x20\x20\x20\x20\x20Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20migrate\x20--all\x20--dry-run',PROFILE_CONFIG_HELP=_0x14be9b(0x215);function warnRenamed(_0xe380ae,_0x767eef){console['error']('\x0a'+_0xe380ae+'\x20is\x20now\x20'+_0x767eef+'\x0a');}function argUsed(_0x2d0d43){return rawArgs['some'](_0x27e366=>_0x27e366===_0x2d0d43||_0x27e366['startsWith'](_0x2d0d43+'='));}function warnFlagRenamed(_0x243738,_0x2ea12b,_0x450311){const _0x48fea0=_0x14be9b,_0x17f83b={'eolSo':function(_0x7d696a,_0xa3d49f){return _0x7d696a(_0xa3d49f);},'meEoc':function(_0x2116d0,_0x2da93c,_0x2f2403){return _0x2116d0(_0x2da93c,_0x2f2403);}};_0x17f83b['eolSo'](argUsed,_0x2ea12b)&&_0x17f83b[_0x48fea0(0x29b)](warnRenamed,_0x243738+'\x20'+_0x2ea12b,_0x243738+'\x20'+_0x450311);}async function runGoCommand(_0x30cc9b,_0x19b729=![]){const _0x2f053b=_0x14be9b,_0x4c9a41={'wMkBa':_0x2f053b(0x2a0),'IlROO':_0x2f053b(0x1f1),'bgVTf':_0x2f053b(0x173),'XJijy':function(_0x6308f1,_0x147494,_0x32a9dc,_0x48014c){return _0x6308f1(_0x147494,_0x32a9dc,_0x48014c);},'mQgWM':'--item','sNIPY':'--scenario','LDyEr':function(_0x36e2ac){return _0x36e2ac();},'ihvDn':function(_0x5caa9b,_0x596ede){return _0x5caa9b(_0x596ede);},'rxtJp':_0x2f053b(0x162),'qQiEa':'verified','Iwsun':'\x20VERIFIED','CVJzs':'incomplete','xnJux':_0x2f053b(0x1fe),'FIWnG':function(_0x3d6322,_0x4b5465){return _0x3d6322===_0x4b5465;}};_0x19b729&&warnRenamed(_0x4c9a41[_0x2f053b(0x2a2)],_0x2f053b(0x1f1));warnFlagRenamed(_0x4c9a41['IlROO'],'--env','--profile'),warnFlagRenamed(_0x4c9a41[_0x2f053b(0x135)],_0x4c9a41['bgVTf'],_0x2f053b(0x29a)),_0x4c9a41[_0x2f053b(0x204)](warnFlagRenamed,_0x4c9a41['IlROO'],_0x4c9a41['mQgWM'],_0x4c9a41[_0x2f053b(0x1dd)]);const _0x384a49=await loadRangerConfig(),_0x332796=_0x4c9a41[_0x2f053b(0x152)](isByokEnabled),_0x3999e6=_0x30cc9b[_0x2f053b(0x12c)],_0x469f8b=_0x384a49['model'],_0x3b349f=await _0x4c9a41[_0x2f053b(0x126)](verifyFeature,{'featureId':_0x30cc9b['feature'],'profile':_0x30cc9b['profile']??_0x30cc9b[_0x2f053b(0x178)],'notes':_0x30cc9b['notes']??_0x30cc9b['task'],'scenario':_0x30cc9b[_0x2f053b(0x142)]??_0x30cc9b[_0x2f053b(0x24c)],'startPath':_0x30cc9b[_0x4c9a41['rxtJp']],'baseUrl':_0x30cc9b[_0x2f053b(0x266)],'debugOutcome':_0x30cc9b[_0x2f053b(0x10d)],'debugAddressComments':_0x30cc9b['debug-address-comments'],'headed':_0x30cc9b['headed'],'byokEnabled':_0x332796,'flagVerifyModel':_0x3999e6,'configVerifyModel':_0x469f8b});console[_0x2f053b(0x12b)]('\x0a'+'='[_0x2f053b(0x252)](0x3c)),console[_0x2f053b(0x12b)](_0x3b349f[_0x2f053b(0x1cb)]===_0x4c9a41[_0x2f053b(0x229)]?_0x4c9a41[_0x2f053b(0x207)]:_0x3b349f[_0x2f053b(0x1cb)]===_0x4c9a41[_0x2f053b(0x145)]?_0x2f053b(0x116):_0x3b349f[_0x2f053b(0x1cb)]==='partial'?_0x4c9a41['xnJux']:_0x4c9a41['FIWnG'](_0x3b349f[_0x2f053b(0x1cb)],'blocked')?_0x2f053b(0x17d):'\x20FAILED'),console['log']('='['repeat'](0x3c)),console['log']('Summary:\x20'+_0x3b349f[_0x2f053b(0x11e)]),console[_0x2f053b(0x12b)](_0x2f053b(0x2b9)+_0x3b349f[_0x2f053b(0x1cb)]),console[_0x2f053b(0x12b)](_0x2f053b(0x213)+_0x3b349f[_0x2f053b(0x136)]),_0x3b349f['issues']?.['length']&&(console['log'](_0x2f053b(0x1c6)),_0x3b349f['issues'][_0x2f053b(0x15e)]((_0x2e2f12,_0x1f839e)=>{const _0x12da85=_0x2f053b;console['log']('\x0a'+(_0x1f839e+0x1)+_0x12da85(0x13a)+_0x2e2f12[_0x12da85(0x2a7)]+']\x20'+_0x2e2f12[_0x12da85(0x2a4)]);})),process[_0x2f053b(0x27f)](_0x4c9a41[_0x2f053b(0x14d)](_0x3b349f[_0x2f053b(0x1cb)],_0x2f053b(0x210))?0x0:0x1);}export function buildParser(_0x4a3117){const _0x14f1d0=_0x14be9b,_0x5501f5={'gQQhV':_0x14f1d0(0x15f),'kIaLQ':'string','fAFqE':_0x14f1d0(0x2b7),'zKZFH':_0x14f1d0(0x2a4),'KULoE':_0x14f1d0(0x159),'ICxQn':'scenario','qdHQn':_0x14f1d0(0x1c8),'YSvQc':_0x14f1d0(0x27e),'WXmbW':_0x14f1d0(0x232),'jnQwV':'--scenario','cJPgt':_0x14f1d0(0x26e),'YILHN':_0x14f1d0(0x185),'lKFXi':_0x14f1d0(0x1c3),'QSneg':_0x14f1d0(0x287),'SIFhL':'include-deleted','cAEsp':_0x14f1d0(0x198),'MIzgu':function(_0x4bedfa,_0x1e177e,_0x135351){return _0x4bedfa(_0x1e177e,_0x135351);},'bQsDJ':_0x14f1d0(0x1d7),'ikeVf':'Scenario\x20description','nfUgF':'add-scenario','VAvGq':'Scenario\x20number\x20to\x20edit\x20(1-based)','xPVtU':function(_0x19e66b,_0x34f0c8,_0x290bdb){return _0x19e66b(_0x34f0c8,_0x290bdb);},'ZqFGT':_0x14f1d0(0x291),'GIdMh':_0x14f1d0(0x289),'FzXEv':_0x14f1d0(0x1f7),'afCbu':_0x14f1d0(0x19b),'sglnp':_0x14f1d0(0x2b4),'fIKYV':_0x14f1d0(0x10e),'vOtDJ':'Feature\x20review\x20ID\x20to\x20restore','VzaXM':'restore','NbtLa':'Ranger\x20API\x20token','VZEpU':_0x14f1d0(0x237),'RMlNI':_0x14f1d0(0x283),'OHenx':'skip-auth','QvtzP':_0x14f1d0(0x171),'Ogqdv':_0x14f1d0(0x1dc),'NxBMU':_0x14f1d0(0x275),'aOUGA':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','EqPbT':'Alias\x20for\x20--mcp-bootstrap','XIXLB':_0x14f1d0(0x175),'fhkmL':function(_0x43b129){return _0x43b129();},'IWDAw':function(_0x3a927c,_0x3a56b1){return _0x3a927c(_0x3a56b1);},'RTpPD':_0x14f1d0(0x253),'cEVAQ':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','fMzkK':'Where\x20to\x20store\x20the\x20profile','wghrn':_0x14f1d0(0x21c),'TtIZn':_0x14f1d0(0x153),'YzDKr':function(_0x4a2926,_0x25794b){return _0x4a2926(_0x25794b);},'GnPrv':'tokenOrSubcommand','IcMtN':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','cowOW':'Install\x20Chromium\x20browser\x20binary','MVWQX':_0x14f1d0(0x1e4),'AlcfL':'skills','JOuJJ':_0x14f1d0(0x2a1),'JBwIz':_0x14f1d0(0x247),'eIhsp':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','xeuob':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','PaQRB':_0x14f1d0(0x26a),'mXGuV':'with-deps','TjYLZ':_0x14f1d0(0x18d),'Qrsqd':_0x14f1d0(0x158),'jxwhA':'start','YrNPH':_0x14f1d0(0x1ca),'Xmtqc':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','DafvU':_0x14f1d0(0x258),'GZsiK':function(_0x54eafa,_0x32a13b,_0x8ffffc){return _0x54eafa(_0x32a13b,_0x8ffffc);},'eXzla':_0x14f1d0(0x242),'WsWOY':_0x14f1d0(0x288),'CPSGl':'Install\x20skills\x20for\x20OpenCode','OtGPj':'user','JYslu':'Install\x20scope\x20for\x20skills','RdZmy':function(_0x19c172,_0x5a2fb5){return _0x19c172(_0x5a2fb5);},'TicBa':'skillup','IeKgP':function(_0x53e545,_0x2a0bc2,_0x3f9e55){return _0x53e545(_0x2a0bc2,_0x3f9e55);},'WcFvD':'clean','BiEib':_0x14f1d0(0x14b),'PwpNL':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','YHuIt':_0x14f1d0(0x269),'dCccH':_0x14f1d0(0x11c),'zkrtB':_0x14f1d0(0x131),'TeqKt':'Cloud\x20profile\x20name','KwmCS':_0x14f1d0(0x1bf),'mRAEA':'dry-run','LBIXB':_0x14f1d0(0x13c),'sbFJI':function(_0x164c69,_0x3aa8e6,_0x401927){return _0x164c69(_0x3aa8e6,_0x401927);},'oYIzQ':'profile\x20config\x20get','IqGcH':_0x14f1d0(0x167),'BKiwm':'Set\x20a\x20config\x20value','zGUJt':'unset\x20<profile>\x20<key>','qUWby':_0x14f1d0(0x20f),'QJyBe':_0x14f1d0(0x231),'fQgMn':'profile\x20update','IgSEu':'key','WPNXC':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','IPbsD':'value','WmGpk':'profile\x20config\x20list','LmvPw':_0x14f1d0(0x182),'ODAAE':'use\x20<profile-name>','wNjIc':_0x14f1d0(0x1e5),'knznl':_0x14f1d0(0x2b6),'ESeig':_0x14f1d0(0x26f),'fxpkC':'login\x20<name>','SWkkp':'You\x20must\x20specify\x20a\x20profile\x20subcommand','eDYNE':'status','afixL':function(_0x16238e,_0xf06a93,_0xb58a){return _0x16238e(_0xf06a93,_0xb58a);},'QjXrG':_0x14f1d0(0x1ab),'fhsjg':'feature','jXxpx':'Optional\x20feature\x20ID','opTrM':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','ryWJr':'Scenario\x20index\x20(1-based)','AdnWg':'start-path','EBpmN':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','Vhbyn':'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.','YAEnA':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','RCmyi':_0x14f1d0(0x10d),'pYTQS':'verified','mIcVt':'blocked','Skrwr':'profile','FLrsA':_0x14f1d0(0x245),'JRrwc':'You\x20must\x20specify\x20an\x20auth\x20subcommand','dGQHS':function(_0x10ab8c,_0x23ec48,_0x4fbb0b){return _0x10ab8c(_0x23ec48,_0x4fbb0b);},'zJPUr':'env','BvXqp':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','KiAST':_0x14f1d0(0x117),'AyPZj':'item','oAROb':_0x14f1d0(0x184),'JGHnF':_0x14f1d0(0x216),'whqzO':_0x14f1d0(0x11b),'PAyoq':'ranger\x20add\x20env','glrlP':function(_0x1543af,_0x493e52,_0x4d46ce){return _0x1543af(_0x493e52,_0x4d46ce);},'vWqNX':'Environment\x20name','YekPN':'Config\x20key','ZIsLA':'ranger\x20config\x20list','sXIKa':_0x14f1d0(0x1ff),'rIsrr':'ranger\x20profile\x20config\x20get','sQpdl':_0x14f1d0(0x1ba),'xqZiZ':'config\x20unset','zjnKD':_0x14f1d0(0x22f),'mwZpX':_0x14f1d0(0x1a1),'eWIKH':'ranger\x20profile\x20ls','VGsIk':'env\x20list','FvZFc':'env-name','owZLc':_0x14f1d0(0x1d9),'rjhmc':'You\x20must\x20specify\x20an\x20env\x20subcommand','BvUOB':'limit','EhzAY':'offset','RYxpx':'Number\x20of\x20feature\x20reviews\x20to\x20skip','VDcBA':function(_0x1fd51d,_0x197a65,_0x443746){return _0x1fd51d(_0x197a65,_0x443746);},'UrAOi':_0x14f1d0(0x1e3),'ntlZb':'ranger\x20resume','nonkB':'feature\x20resume','IEQfg':'ranger\x20feature\x20get-feedback','LONjO':_0x14f1d0(0x276),'cMIqg':function(_0x5b9db8,_0x492cb6,_0x21cea1){return _0x5b9db8(_0x492cb6,_0x21cea1);},'LtpXD':_0x14f1d0(0x22a),'BgAyj':'ranger\x20create','QLByP':_0x14f1d0(0x1f6),'MtoEN':function(_0x2104db,_0xc9d060,_0x3d47be){return _0x2104db(_0xc9d060,_0x3d47be);},'Ebvpu':_0x14f1d0(0x277),'VTcjW':function(_0x12a4ef,_0x4f161e,_0x246559){return _0x12a4ef(_0x4f161e,_0x246559);},'KudMo':_0x14f1d0(0x203),'zgxsS':'get-feedback\x20[id]','gKSzw':_0x14f1d0(0x15c),'KCuQJ':_0x14f1d0(0x241),'GqwMB':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','YxCLd':_0x14f1d0(0x284),'fJGLk':function(_0x1fdb08,_0x2ef537,_0x27e970){return _0x1fdb08(_0x2ef537,_0x27e970);},'SVJOe':_0x14f1d0(0x16b),'JVwoK':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','KCuei':_0x14f1d0(0x1e1),'HYHoe':function(_0x37b77c,_0x48050c){return _0x37b77c(_0x48050c);},'tNQNn':function(_0x757301){return _0x757301();},'seHrY':'create\x20<name>','HuFLt':_0x14f1d0(0x1f3),'TULGf':'show\x20[id]','ktVKS':'add-scenario\x20<description>','aZwSE':'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','YjBUJ':_0x14f1d0(0x170),'NyXUo':'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','WqiXR':_0x14f1d0(0x24d),'kMCFT':'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','KTMtG':'Install\x20Ranger\x20skills','WCqrG':'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','ywugR':_0x14f1d0(0x261),'YJlcy':_0x14f1d0(0x23b),'ZDltT':'auth','NFDiF':_0x14f1d0(0x279),'MHvYn':_0x14f1d0(0x139),'haEWH':_0x14f1d0(0x1f8),'SsEYq':'You\x20must\x20specify\x20a\x20command','WLsWT':function(_0xa5d04c,_0x5b56d2){return _0xa5d04c+_0x5b56d2;},'lpGVt':'Documentation:\x0a','auDLl':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','RhKhj':'help'};return _0x5501f5[_0x14f1d0(0x148)](_0x580bd4,_0x4a3117??process[_0x14f1d0(0x13b)]['slice'](0x2))['scriptName'](_0x14f1d0(0x15a))['usage'](TOP_LEVEL_HELP)['version'](_0x5501f5[_0x14f1d0(0x151)](getCurrentVersion))[_0x14f1d0(0x1c0)](_0x5501f5['seHrY'],_0x14f1d0(0x180),_0x163a92=>{const _0x3288ca=_0x14f1d0;return _0x163a92[_0x3288ca(0x132)](_0x5501f5['gQQhV'],{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5[_0x3288ca(0x14e)],'demandOption':!![]})['option'](_0x5501f5[_0x3288ca(0x181)],{'type':_0x3288ca(0x156),'alias':'d','description':_0x5501f5['KULoE']})[_0x3288ca(0x1a9)](_0x5501f5[_0x3288ca(0x1d6)],{'type':'array','alias':'c','description':_0x5501f5['qdHQn']})['option']('checklist',{'type':_0x3288ca(0x1ce),'hidden':!![]});},async _0xdd8bee=>{const _0x4cea5a=_0x14f1d0;if(!_0xdd8bee['name']){console['error'](_0x5501f5[_0x4cea5a(0x12d)]+_0x4cea5a(0x24f)),process[_0x4cea5a(0x27f)](0x1);return;}warnFlagRenamed('ranger\x20create',_0x5501f5['WXmbW'],_0x5501f5['jnQwV']);const _0x20030e=_0xdd8bee['scenario']||_0xdd8bee['checklist'];await withTelemetry('create',()=>featureCreate(_0xdd8bee[_0x4cea5a(0x15f)],{'description':_0xdd8bee[_0x4cea5a(0x2a4)],'scenarios':_0x20030e}));})[_0x14f1d0(0x1c0)](_0x14f1d0(0x161),_0x5501f5['HuFLt'],_0x16ebeb=>{const _0x5cb58f=_0x14f1d0;return _0x16ebeb['option']('current-branch',{'type':_0x5501f5[_0x5cb58f(0x1db)],'description':_0x5501f5[_0x5cb58f(0x10f)]})['option'](_0x5cb58f(0x220),{'type':'number','alias':'l','description':_0x5501f5['lKFXi'],'default':0xa})['option']('offset',{'type':_0x5501f5[_0x5cb58f(0x1c9)],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x5cb58f(0x1a9)](_0x5501f5['SIFhL'],{'type':'boolean','alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x29c4fc=>{await withTelemetry('list',()=>featureList({'currentBranch':_0x29c4fc['current-branch'],'limit':_0x29c4fc['limit'],'offset':_0x29c4fc['offset'],'includeDeleted':_0x29c4fc['include-deleted']}));})['command'](_0x5501f5['TULGf'],'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x3b548a=>{const _0x4ae08c=_0x14f1d0;return _0x3b548a[_0x4ae08c(0x132)]('id',{'type':_0x4ae08c(0x156),'description':'Feature\x20review\x20ID'});},async _0x25d804=>{const _0x5d109d=_0x14f1d0;await withTelemetry(_0x5501f5[_0x5d109d(0x270)],()=>featureShow(_0x25d804['id']));})[_0x14f1d0(0x1c0)](_0x5501f5['KudMo'],_0x14f1d0(0x16f),_0x167f08=>{const _0x3a5adc=_0x14f1d0;return _0x167f08[_0x3a5adc(0x132)]('id',{'type':_0x5501f5['kIaLQ'],'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x381402=>{const _0x40de3b=_0x14f1d0;await _0x5501f5['MIzgu'](withTelemetry,_0x5501f5[_0x40de3b(0x141)],()=>featureResume(_0x381402['id']));})[_0x14f1d0(0x1c0)](_0x5501f5[_0x14f1d0(0x2b0)],_0x5501f5[_0x14f1d0(0x298)],_0x3417e1=>{const _0x11f6f1=_0x14f1d0;return _0x3417e1[_0x11f6f1(0x132)](_0x5501f5[_0x11f6f1(0x181)],{'type':'string','description':_0x5501f5['ikeVf'],'demandOption':!![]})['option']('id',{'type':_0x11f6f1(0x156),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0xc0f0d4=>{const _0x252fff=_0x14f1d0;await withTelemetry(_0x5501f5[_0x252fff(0x22c)],()=>featureAddScenario(_0xc0f0d4[_0x252fff(0x2a4)],_0xc0f0d4['id']));})[_0x14f1d0(0x1c0)]('edit-scenario\x20<description>','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0xa12dd1=>{const _0x250da8=_0x14f1d0;return _0xa12dd1[_0x250da8(0x132)](_0x5501f5['zKZFH'],{'type':_0x5501f5[_0x250da8(0x1af)],'description':_0x250da8(0x157),'demandOption':!![]})[_0x250da8(0x1a9)](_0x5501f5[_0x250da8(0x1d6)],{'type':'number','description':_0x5501f5['VAvGq'],'demandOption':!![]})['option']('id',{'type':_0x5501f5[_0x250da8(0x1af)],'description':_0x250da8(0x2b4)});},async _0x47416b=>{const _0x2f9e44=_0x14f1d0;await _0x5501f5[_0x2f9e44(0x11a)](withTelemetry,_0x2f9e44(0x1bd),()=>featureEditScenario(_0x47416b['description'],{'id':_0x47416b['id'],'scenario':_0x47416b['scenario']}));})['command'](_0x5501f5['YjBUJ'],_0x5501f5['NyXUo'],_0x32b2d2=>{const _0x27f81c=_0x14f1d0;return _0x32b2d2[_0x27f81c(0x132)]('id',{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5['ZqFGT']})[_0x27f81c(0x1a9)](_0x5501f5[_0x27f81c(0x218)],{'type':_0x27f81c(0x1ce),'description':_0x27f81c(0x26d)})['option'](_0x5501f5[_0x27f81c(0x12f)],{'type':_0x27f81c(0x26e),'description':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','default':![]});},async _0x2af31f=>{const _0x13b379=_0x14f1d0,_0x1fdec1=_0x2af31f[_0x13b379(0x289)],_0xa7ac7b=_0x1fdec1?_0x1fdec1[_0x13b379(0x121)](_0x50812e=>Number(_0x50812e)):undefined;await withTelemetry(_0x5501f5[_0x13b379(0x1e7)],()=>featureReportPrDescription(_0x2af31f['id'],{'excludeScenarios':_0xa7ac7b,'json':_0x2af31f['json']}));})['command']('get-review\x20[id]',_0x14f1d0(0x1b3),_0x28672e=>{const _0x15d8c5=_0x14f1d0;return _0x28672e['positional']('id',{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5[_0x15d8c5(0x1eb)]});},async _0x397cb6=>{const _0x3debce=_0x14f1d0;await withTelemetry(_0x5501f5[_0x3debce(0x1c1)],()=>featureGetReview(_0x397cb6['id']));})[_0x14f1d0(0x1c0)]('delete\x20[id]','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x27bb7d=>{const _0x36384f=_0x14f1d0;return _0x27bb7d['positional']('id',{'type':_0x36384f(0x156),'description':_0x5501f5['ZqFGT']});},async _0x4f98af=>{await _0x5501f5['MIzgu'](withTelemetry,'delete',()=>featureDelete(_0x4f98af['id']));})['command'](_0x5501f5[_0x14f1d0(0x18b)],_0x5501f5[_0x14f1d0(0x22b)],_0x2c1b85=>{return _0x2c1b85['positional']('id',{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5['vOtDJ'],'demandOption':!![]});},async _0x3617fe=>{const _0xcd1ee3=_0x14f1d0;await withTelemetry(_0x5501f5[_0xcd1ee3(0x1a0)],()=>featureRestore(_0x3617fe['id']));})[_0x14f1d0(0x1c0)](_0x14f1d0(0x149),'Initialize\x20Ranger\x20in\x20your\x20project',_0x2deba5=>{const _0x468811=_0x14f1d0,_0x392326={'yuzlF':function(_0x1df988,_0x44c3ea,_0x16e9c8){return _0x5501f5['MIzgu'](_0x1df988,_0x44c3ea,_0x16e9c8);},'rsfnr':_0x468811(0x158),'eBNdm':function(_0x50f12a,_0x324afe,_0x578130){const _0x5847b8=_0x468811;return _0x5501f5[_0x5847b8(0x295)](_0x50f12a,_0x324afe,_0x578130);},'pFjmc':'setup:all','jBLkV':function(_0x101f76){const _0x50a4bf=_0x468811;return _0x5501f5[_0x50a4bf(0x1d1)](_0x101f76);},'yyLxG':function(_0x2f6bec,_0x3a5f1f){const _0x4f0cc3=_0x468811;return _0x5501f5[_0x4f0cc3(0x1a6)](_0x2f6bec,_0x3a5f1f);},'JuILz':_0x468811(0x1ae)};return _0x2deba5[_0x468811(0x14c)]('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')[_0x468811(0x132)](_0x5501f5['GnPrv'],{'type':'string','description':_0x5501f5[_0x468811(0x297)]})['command'](_0x468811(0x164),'Run\x20full\x20interactive\x20setup',_0x5437af=>{const _0x83f38f=_0x468811;return _0x5437af['option'](_0x83f38f(0x1d4),{'type':_0x83f38f(0x156),'description':_0x5501f5['NbtLa']})['option'](_0x5501f5['VZEpU'],{'type':_0x83f38f(0x26e),'description':_0x5501f5['RMlNI'],'default':![]})[_0x83f38f(0x1a9)](_0x5501f5['OHenx'],{'type':_0x5501f5['cJPgt'],'description':'Skip\x20authentication','default':![]})[_0x83f38f(0x1a9)](_0x83f38f(0x22e),{'type':'boolean','description':_0x83f38f(0x2a5),'default':![]})[_0x83f38f(0x1a9)]('scope',{'type':_0x5501f5['kIaLQ'],'choices':['user',_0x5501f5['QvtzP']],'description':_0x5501f5['Ogqdv']})[_0x83f38f(0x1a9)](_0x83f38f(0x21c),{'type':'string','description':_0x83f38f(0x25b)})[_0x83f38f(0x1a9)](_0x5501f5['NxBMU'],{'type':_0x5501f5['cJPgt'],'description':_0x5501f5['aOUGA'],'default':![]})[_0x83f38f(0x1a9)]('opencode',{'type':_0x83f38f(0x26e),'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})[_0x83f38f(0x1a9)](_0x83f38f(0x269),{'type':_0x83f38f(0x26e),'description':_0x83f38f(0x256),'default':![]})[_0x83f38f(0x1a9)](_0x83f38f(0x158),{'type':_0x5501f5['cJPgt'],'description':_0x83f38f(0x19c),'default':![]})[_0x83f38f(0x1a9)]('mcp',{'type':_0x5501f5['cJPgt'],'description':_0x5501f5['EqPbT'],'default':![]});},async _0x1ec46c=>{const _0x328821=_0x468811;(_0x1ec46c[_0x328821(0x158)]||_0x1ec46c['mcp'])&&await _0x392326[_0x328821(0x1f0)](withTelemetry,_0x392326[_0x328821(0x2ae)],()=>mcpBootstrap()),await _0x392326['eBNdm'](withTelemetry,_0x392326[_0x328821(0x1a3)],_0x5bde12=>start(_0x1ec46c['token'],{'skipChromium':_0x1ec46c[_0x328821(0x237)],'skipAuth':_0x1ec46c['skip-auth'],'withDeps':_0x1ec46c['with-deps'],'scope':_0x1ec46c['scope'],'url':_0x1ec46c[_0x328821(0x21c)],'force':_0x1ec46c[_0x328821(0x275)],'opencode':_0x1ec46c[_0x328821(0x288)],'allowInsecureLocalhost':_0x1ec46c['allow-insecure-localhost']},_0x5bde12));})['command']('deps',_0x5501f5[_0x468811(0x223)],_0x3727b6=>{return _0x3727b6['option']('with-deps',{'type':'boolean','description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]});},async _0x40b90b=>{await withTelemetry('setup:deps',()=>ensureChromium(_0x40b90b['with-deps']));})[_0x468811(0x1c0)]('login',_0x5501f5[_0x468811(0x1e6)],_0x54e778=>{const _0x4cf43c=_0x468811;return _0x54e778['option']('token',{'type':'string','description':_0x4cf43c(0x196)})['option'](_0x5501f5['XIXLB'],{'type':_0x5501f5['cJPgt'],'description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x32df84=>{const _0x1e6f60=_0x468811,_0x633b17={'fTQFa':function(_0x1a1c07){return _0x5501f5['fhkmL'](_0x1a1c07);},'hbMjX':'Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','KQYkn':function(_0x3aa304,_0x2b90de){return _0x5501f5['IWDAw'](_0x3aa304,_0x2b90de);}};await _0x5501f5[_0x1e6f60(0x295)](withTelemetry,'setup:login',async()=>{const _0x2a4200=_0x1e6f60;if(_0x32df84[_0x2a4200(0x175)]){await mcpBootstrap();const _0x2a6c82=await _0x633b17[_0x2a4200(0x1b9)](refreshCliToken);if(!_0x2a6c82)throw new Error(_0x633b17[_0x2a4200(0x147)]);const _0x2db821=await getCurrentUser(_0x2a6c82);if(!_0x2db821[_0x2a4200(0x1d3)])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x2db821[_0x2a4200(0x1b1)]);console['log']('✓\x20Authenticated\x20to\x20'+_0x2db821['user']['organizationName']);return;}await _0x633b17[_0x2a4200(0x230)](authenticate,_0x32df84[_0x2a4200(0x1d4)]);});})['command'](_0x5501f5['AlcfL'],_0x468811(0x166),_0x3fd800=>{const _0x1933ca=_0x468811;return _0x3fd800['option'](_0x5501f5[_0x1933ca(0x27d)],{'type':_0x1933ca(0x156),'choices':['user',_0x5501f5[_0x1933ca(0x172)]],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})['option'](_0x1933ca(0x288),{'type':_0x1933ca(0x26e),'description':_0x5501f5[_0x1933ca(0x1a8)],'default':![]});},async _0x4308db=>{const _0x447877=_0x468811;await withTelemetry(_0x447877(0x27b),async()=>{const _0x3d5308=_0x447877,_0x3f8c5f=_0x4308db[_0x3d5308(0x253)];if(_0x4308db['opencode']){const _0x13b9a5=await ensureOpencodePluginConfig(_0x3f8c5f);_0x13b9a5&&await installSkill(_0x3d5308(0x15a),{'level':_0x13b9a5[_0x3d5308(0x253)],'cliVersion':_0x392326[_0x3d5308(0x1be)](getCurrentVersion),'platform':_0x3d5308(0x288)});}else await _0x392326['yyLxG'](ensureClaudePlugin,_0x3f8c5f),await ensureClaudeSkills(_0x3f8c5f);});})[_0x468811(0x1c0)](_0x5501f5['JOuJJ'],_0x5501f5['JBwIz'],_0x17121e=>{const _0x1e2a8b=_0x468811;return _0x17121e[_0x1e2a8b(0x1a9)](_0x1e2a8b(0x253),{'type':'string','choices':[_0x1e2a8b(0x16a),_0x5501f5['QvtzP']],'description':_0x5501f5['fMzkK']})['option'](_0x5501f5[_0x1e2a8b(0x259)],{'type':_0x5501f5['kIaLQ'],'description':'Base\x20URL\x20of\x20the\x20running\x20app'})['option'](_0x5501f5[_0x1e2a8b(0x1b0)],{'type':_0x1e2a8b(0x26e),'description':_0x5501f5['TtIZn'],'default':![]})['option'](_0x5501f5[_0x1e2a8b(0x2ad)],{'type':'boolean','description':_0x5501f5['aOUGA'],'default':![]})['option'](_0x1e2a8b(0x269),{'type':_0x5501f5[_0x1e2a8b(0x1db)],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x2e81d0=>{const _0x598cd5=_0x468811;await withTelemetry(_0x392326[_0x598cd5(0x17c)],_0x405dd5=>ensureLocalEnv({'url':_0x2e81d0['url'],'force':_0x2e81d0[_0x598cd5(0x275)],'allowInsecureLocalhost':_0x2e81d0[_0x598cd5(0x269)],'scope':_0x2e81d0['scope']==='user'?'user':undefined},_0x405dd5));})['option'](_0x5501f5['VZEpU'],{'type':_0x468811(0x26e),'description':_0x5501f5['RMlNI'],'default':![]})['option'](_0x5501f5['RTpPD'],{'type':'string','choices':[_0x468811(0x16a),_0x5501f5['QvtzP']],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})[_0x468811(0x1a9)](_0x5501f5['wghrn'],{'type':_0x5501f5[_0x468811(0x1af)],'description':_0x468811(0x17f)})['option'](_0x468811(0x275),{'type':_0x468811(0x26e),'description':_0x5501f5[_0x468811(0x272)],'default':![]})[_0x468811(0x1a9)]('opencode',{'type':_0x5501f5['cJPgt'],'description':_0x5501f5['cEVAQ'],'default':![]})['option']('allow-insecure-localhost',{'type':_0x5501f5['cJPgt'],'description':_0x5501f5[_0x468811(0x1e8)],'default':![]})['option'](_0x468811(0x158),{'type':'boolean','description':_0x5501f5[_0x468811(0x20d)],'default':![]})['option'](_0x5501f5[_0x468811(0x1b0)],{'type':_0x5501f5[_0x468811(0x1db)],'description':_0x5501f5['PaQRB'],'default':![]})[_0x468811(0x1a9)](_0x5501f5[_0x468811(0x299)],{'type':_0x5501f5['cJPgt'],'description':_0x5501f5['TjYLZ'],'default':![]})[_0x468811(0x1a9)](_0x468811(0x1d4),{'type':'string','hidden':!![],'description':_0x468811(0x1fb)});},async _0x4552f7=>{const _0x505e41=_0x14f1d0,_0x1f9044=_0x4552f7['tokenOrSubcommand'],_0xc17573=_0x4552f7['token']??_0x1f9044;_0x4552f7[_0x5501f5['Qrsqd']]&&await withTelemetry(_0x5501f5[_0x505e41(0x189)],()=>mcpBootstrap()),await withTelemetry(_0x5501f5[_0x505e41(0x16c)],_0x123797=>start(_0xc17573,{'skipChromium':_0x4552f7['skip-chromium'],'skipAuth':_0x4552f7[_0x505e41(0x127)],'withDeps':_0x4552f7[_0x505e41(0x22e)],'scope':_0x4552f7[_0x505e41(0x253)],'url':_0x4552f7[_0x505e41(0x21c)],'force':_0x4552f7['force'],'opencode':_0x4552f7[_0x505e41(0x288)],'allowInsecureLocalhost':_0x4552f7['allow-insecure-localhost']},_0x123797));})['command'](_0x14f1d0(0x1ed),'Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0x263677=>{const _0x38370d=_0x14f1d0;return _0x263677[_0x38370d(0x132)]('token',{'type':'string','description':'Ranger\x20API\x20token','demandOption':!![]})['option']('profile',{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5['YrNPH']})[_0x38370d(0x1a9)](_0x38370d(0x266),{'type':_0x38370d(0x156),'description':_0x5501f5[_0x38370d(0x18f)]})['option'](_0x38370d(0x237),{'type':'boolean','description':_0x5501f5['DafvU'],'default':![]});},async _0x36607e=>{const _0x3a5008=_0x14f1d0;await _0x5501f5[_0x3a5008(0x11a)](withTelemetry,_0x3a5008(0x1d5),_0x537265=>setupCi(_0x36607e['token'],{'profile':_0x36607e[_0x3a5008(0x265)],'baseUrl':_0x36607e['base-url'],'skipChromium':_0x36607e['skip-chromium']},_0x537265));})[_0x14f1d0(0x1c0)](_0x5501f5['eXzla'],_0x5501f5['kMCFT'],()=>{},async()=>{const _0x1782ef=_0x14f1d0;await _0x5501f5[_0x1782ef(0x24b)](withTelemetry,_0x5501f5[_0x1782ef(0x11d)],()=>login());})['command'](_0x5501f5['TicBa'],_0x5501f5['KTMtG'],_0x3f59b4=>{const _0x53d71c=_0x14f1d0;return _0x3f59b4[_0x53d71c(0x1a9)](_0x5501f5[_0x53d71c(0x21e)],{'type':'boolean','description':_0x5501f5[_0x53d71c(0x21f)],'default':![]})['option']('scope',{'type':_0x53d71c(0x156),'choices':[_0x5501f5[_0x53d71c(0x1ea)],'project'],'description':_0x5501f5['JYslu']});},async _0x258c0a=>{const _0x196a3b=_0x14f1d0,_0x135fa1=_0x5501f5[_0x196a3b(0x1a5)](Boolean,_0x258c0a['opencode']);await withTelemetry(_0x5501f5['TicBa'],()=>skillup({'autoInstall':_0x258c0a['scope'],'platform':_0x135fa1?'opencode':_0x196a3b(0x1b8)}));})[_0x14f1d0(0x1c0)](_0x14f1d0(0x235),_0x5501f5[_0x14f1d0(0x1a2)],()=>{},async()=>{await _0x5501f5['IeKgP'](withTelemetry,_0x5501f5['WcFvD'],()=>clean());})['command'](_0x5501f5[_0x14f1d0(0x209)],_0x14f1d0(0x285),_0xfb7246=>{const _0x527a45=_0x14f1d0,_0x4f399e={'necBR':'profile\x20add','uoaDn':_0x527a45(0x111),'WiCsg':function(_0x4037b9,_0x99a5b4,_0x5d0214){return _0x4037b9(_0x99a5b4,_0x5d0214);},'ZxvTk':_0x527a45(0x265),'nEwnF':_0x527a45(0x155),'CwLPz':_0x527a45(0x123),'mSuCm':_0x5501f5[_0x527a45(0x1db)],'IqXOW':function(_0x450242,_0x1460bd,_0x373496){return _0x450242(_0x1460bd,_0x373496);},'LczOh':_0x5501f5[_0x527a45(0x260)],'HarrR':function(_0x341adf,_0x7cc776,_0x4280e1){return _0x341adf(_0x7cc776,_0x4280e1);},'aWAkp':function(_0x44d606,_0x581ca0){return _0x44d606===_0x581ca0;},'JFEjW':_0x5501f5['IgSEu'],'NDWiS':_0x527a45(0x156),'lbbnQ':_0x5501f5[_0x527a45(0x1bb)],'GfJqD':_0x5501f5['IPbsD'],'ZyPVM':'profile\x20config\x20set','wRIUj':_0x5501f5[_0x527a45(0x264)],'vQSox':function(_0x48fde8,_0xe3d227,_0x22d780){return _0x5501f5['MIzgu'](_0x48fde8,_0xe3d227,_0x22d780);}};return _0xfb7246['usage'](PROFILE_HELP)['command'](_0x5501f5[_0x527a45(0x26c)],'Add\x20profile\x20configuration',_0x18c8c5=>{const _0x5e2551=_0x527a45;return _0x18c8c5['positional'](_0x5501f5[_0x5e2551(0x195)],{'type':'string','description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x5501f5['cJPgt'],'description':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option']('skip-auth',{'type':_0x5e2551(0x26e),'description':_0x5501f5['PwpNL'],'default':![]})[_0x5e2551(0x1a9)](_0x5e2551(0x21c),{'type':_0x5501f5['kIaLQ'],'description':_0x5e2551(0x1f2)})['option'](_0x5e2551(0x275),{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x5e2551(0x1a9)](_0x5e2551(0x111),{'type':_0x5501f5['kIaLQ'],'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})[_0x5e2551(0x1a9)](_0x5501f5[_0x5e2551(0x1d2)],{'type':_0x5e2551(0x26e),'description':_0x5e2551(0x133),'default':![]})['option'](_0x5501f5[_0x5e2551(0x23f)],{'type':_0x5501f5['cJPgt'],'description':_0x5501f5['zkrtB'],'default':![]})[_0x5e2551(0x1a9)](_0x5e2551(0x262),{'type':'string','array':!![],'description':_0x5e2551(0x194)})['option']('scope',{'type':_0x5e2551(0x156),'choices':['user','project'],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})[_0x5e2551(0x1a9)](_0x5e2551(0x29f),{'type':_0x5e2551(0x26e),'alias':'y','description':_0x5e2551(0x113),'default':![]});},async _0x12a2e9=>{const _0x5e1e92=_0x527a45;await withTelemetry(_0x4f399e[_0x5e1e92(0x20b)],_0x1160e3=>addEnv(_0x12a2e9['profile-name'],{'ci':_0x12a2e9['ci'],'skipAuth':_0x12a2e9['skip-auth'],'url':_0x12a2e9['url'],'force':_0x12a2e9[_0x5e1e92(0x275)],'cdpEndpoint':_0x12a2e9['cdp-endpoint'],'allowInsecureLocalhost':_0x12a2e9['allow-insecure-localhost'],'safeMode':_0x12a2e9[_0x5e1e92(0x11c)],'setupHeader':_0x12a2e9['setup-header'],'scope':_0x12a2e9['scope'],'yes':_0x12a2e9[_0x5e1e92(0x29f)]},_0x1160e3),{'isElectron':Boolean(_0x12a2e9[_0x4f399e['uoaDn']])});})[_0x527a45(0x1c0)](_0x5501f5['ODAAE'],_0x5501f5['wNjIc'],_0x28ad7d=>{const _0x14c9a7=_0x527a45;return _0x28ad7d[_0x14c9a7(0x132)]('profile-name',{'type':_0x5501f5[_0x14c9a7(0x1af)],'description':_0x14c9a7(0x240),'demandOption':!![]});},async _0x2677bc=>{const _0x46796c=_0x527a45;await _0x4f399e[_0x46796c(0x273)](withTelemetry,_0x46796c(0x280),()=>useEnv(_0x2677bc[_0x46796c(0x14b)]));})['command'](_0x5501f5[_0x527a45(0x1de)],_0x527a45(0x17b),_0x884c7b=>{const _0x5da533=_0x527a45;return _0x884c7b['positional'](_0x4f399e[_0x5da533(0x14f)],{'type':_0x5da533(0x156),'description':_0x4f399e['nEwnF'],'demandOption':!![]});},async _0xe58349=>{const _0xdb7041=_0x527a45;await withTelemetry('profile\x20encrypt-auth',()=>authEncrypt(_0xe58349[_0xdb7041(0x265)]));})[_0x527a45(0x1c0)]('ls',_0x5501f5['ESeig'],()=>{},async()=>{const _0x9bd9e=_0x527a45;await withTelemetry(_0x9bd9e(0x254),()=>envList());})[_0x527a45(0x1c0)]('update\x20<profile-name>',_0x527a45(0x144),_0x14577d=>{const _0xcf044b=_0x527a45;return _0x14577d['positional']('profile-name',{'type':_0xcf044b(0x156),'description':_0x4f399e[_0xcf044b(0x225)],'demandOption':!![]})[_0xcf044b(0x1a9)]('allow-insecure-localhost',{'type':_0x4f399e['mSuCm'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)'});},async _0xf2fdb8=>{const _0x41b15e=_0x527a45;await _0x4f399e[_0x41b15e(0x23c)](withTelemetry,_0x4f399e['LczOh'],_0x5a5303=>updateEnv(_0xf2fdb8['profile-name'],_0x5a5303,{'allowInsecureLocalhost':_0xf2fdb8['allow-insecure-localhost']}));})['command'](_0x5501f5[_0x527a45(0x143)],![],_0x5483f7=>{const _0x5933be=_0x527a45;return _0x5483f7['positional'](_0x5933be(0x15f),{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5[_0x5933be(0x255)],'demandOption':!![]});},async _0xedfca3=>{const _0x1612e7=_0x527a45;await _0x5501f5['IeKgP'](withTelemetry,_0x5501f5[_0x1612e7(0x183)],async()=>{const _0x1345df=_0x1612e7,_0x18c90c=process[_0x1345df(0x178)][_0x1345df(0x125)],_0x3183a1=process[_0x1345df(0x178)][_0x1345df(0x274)];(!_0x18c90c||!_0x3183a1)&&(console[_0x1345df(0x1b1)]('Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.'),process['exit'](0x1));const _0x404184=_0xedfca3[_0x1345df(0x15f)],_0x3f7f30=await _0x4f399e['HarrR'](serverSideLogin,_0x404184,{'force':!![]});_0x4f399e['aWAkp'](_0x3f7f30['status'],'not_configured')&&(console[_0x1345df(0x1b1)]('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process[_0x1345df(0x27f)](0x1)),_0x4f399e['aWAkp'](_0x3f7f30[_0x1345df(0x281)],'failed')&&(console[_0x1345df(0x1b1)](_0x1345df(0x249)+(_0x3f7f30[_0x1345df(0x1b1)]??_0x1345df(0x165))),_0x3f7f30['test_output']&&console[_0x1345df(0x1b1)](_0x3f7f30[_0x1345df(0x208)]),process[_0x1345df(0x27f)](0x1)),console['log']('✓\x20Server-side\x20login\x20succeeded\x20for\x20\x27'+_0x404184+'\x27.\x20Session\x20written\x20to\x20cloud\x20profile.');});})[_0x527a45(0x1c0)](_0x527a45(0x1b4),'Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)',_0x3f8788=>{const _0xc0d14=_0x527a45;return _0x3f8788['positional']('profile-name',{'type':_0x5501f5['kIaLQ'],'description':_0xc0d14(0x1f4)})['option']('all',{'type':_0x5501f5[_0xc0d14(0x1db)],'description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})[_0xc0d14(0x1a9)](_0x5501f5['mRAEA'],{'type':_0x5501f5['cJPgt'],'description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})[_0xc0d14(0x1a9)]('yes',{'type':'boolean','alias':'y','description':_0xc0d14(0x25e),'default':![]})[_0xc0d14(0x1a9)](_0x5501f5[_0xc0d14(0x187)],{'type':_0xc0d14(0x26e),'description':_0xc0d14(0x138),'default':![]});},async _0x1b3c8d=>{const _0x5b0566=_0x527a45;await _0x5501f5[_0x5b0566(0x1ac)](withTelemetry,'profile\x20migrate',_0x6540e1=>migrateProfile({'profileName':_0x1b3c8d['profile-name'],'all':_0x1b3c8d[_0x5b0566(0x164)],'dryRun':_0x1b3c8d[_0x5b0566(0x19d)],'yes':_0x1b3c8d[_0x5b0566(0x29f)],'saveCreds':_0x1b3c8d['save-creds']},_0x6540e1));})['command'](_0x527a45(0x2b8),_0x527a45(0x248),_0x4ebc7b=>{const _0x4ebc31=_0x527a45,_0x43ffda={'fqvNo':_0x4ebc31(0x156),'bvBwd':_0x4ebc31(0x155),'QnxDK':_0x4ebc31(0x199),'gDqCa':_0x5501f5['oYIzQ'],'PgWeb':_0x4ebc31(0x154)};return _0x4ebc7b['usage'](PROFILE_CONFIG_HELP)[_0x4ebc31(0x1c0)](_0x5501f5['IqGcH'],_0x5501f5['BKiwm'],_0x48096b=>{const _0x257b6c=_0x4ebc31;return _0x48096b[_0x257b6c(0x132)](_0x4f399e[_0x257b6c(0x14f)],{'type':'string','description':_0x4f399e['nEwnF'],'demandOption':!![]})['positional'](_0x4f399e['JFEjW'],{'type':_0x4f399e[_0x257b6c(0x114)],'description':_0x4f399e['lbbnQ'],'demandOption':!![]})['positional'](_0x4f399e[_0x257b6c(0x11f)],{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0x2e594f=>{const _0x2591d9=_0x4ebc31;await withTelemetry(_0x4f399e[_0x2591d9(0x160)],()=>configSet(_0x2e594f[_0x2591d9(0x265)],_0x2e594f[_0x2591d9(0x199)],_0x2e594f['value']));})[_0x4ebc31(0x1c0)]('get\x20<profile>\x20<key>',_0x4ebc31(0x1f5),_0x6cd551=>{const _0x1aa853=_0x4ebc31;return _0x6cd551['positional'](_0x1aa853(0x265),{'type':_0x43ffda[_0x1aa853(0x118)],'description':_0x43ffda['bvBwd'],'demandOption':!![]})[_0x1aa853(0x132)](_0x43ffda[_0x1aa853(0x25c)],{'type':_0x43ffda['fqvNo'],'description':'Config\x20key','demandOption':!![]});},async _0x3ba866=>{const _0x19e2be=_0x4ebc31;await withTelemetry(_0x43ffda[_0x19e2be(0x224)],()=>configGet(_0x3ba866[_0x19e2be(0x265)],_0x3ba866['key']));})['command'](_0x4ebc31(0x294),'List\x20all\x20config\x20for\x20a\x20profile',_0x1d9495=>{const _0x201930=_0x4ebc31;return _0x1d9495[_0x201930(0x132)](_0x4f399e['ZxvTk'],{'type':_0x4f399e[_0x201930(0x114)],'description':_0x4f399e[_0x201930(0x130)],'demandOption':!![]});},async _0x1184ab=>{await withTelemetry(_0x4f399e['wRIUj'],()=>configList(_0x1184ab['profile']));})['command'](_0x5501f5[_0x4ebc31(0x1ad)],_0x5501f5[_0x4ebc31(0x28b)],_0x3fb867=>{const _0x11bf56=_0x4ebc31;return _0x3fb867['positional'](_0x11bf56(0x265),{'type':_0x43ffda['fqvNo'],'description':_0x11bf56(0x155),'demandOption':!![]})['positional'](_0x43ffda['QnxDK'],{'type':'string','description':_0x43ffda['PgWeb'],'demandOption':!![]});},async _0x1909c8=>{await _0x4f399e['WiCsg'](withTelemetry,'profile\x20config\x20unset',()=>configUnset(_0x1909c8['profile'],_0x1909c8['key']));})['command'](_0x4ebc31(0x20a),_0x5501f5[_0x4ebc31(0x115)],_0x4c5472=>{const _0x1518ef=_0x4ebc31;return _0x4c5472[_0x1518ef(0x132)](_0x1518ef(0x265),{'type':_0x4f399e[_0x1518ef(0x114)],'description':_0x4f399e['nEwnF'],'demandOption':!![]});},async _0x2964d1=>{const _0x4a1e58=_0x4ebc31;await _0x4f399e[_0x4a1e58(0x246)](withTelemetry,_0x4a1e58(0x25d),()=>configReset(_0x2964d1[_0x4a1e58(0x265)]));})[_0x4ebc31(0x188)](0x1,_0x4ebc31(0x1ec));})[_0x527a45(0x188)](0x1,_0x5501f5['SWkkp']);})[_0x14f1d0(0x1c0)](_0x5501f5['eDYNE'],_0x5501f5['ywugR'],()=>{},async()=>{await _0x5501f5['IeKgP'](withTelemetry,_0x5501f5['eDYNE'],()=>status());})['command'](_0x14f1d0(0x17a),'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{await withTelemetry('update',()=>update());})['command']('print-access-token','Print\x20the\x20current\x20CLI\x20access\x20token',()=>{},async()=>{const _0x47e051=_0x14f1d0;await _0x5501f5[_0x47e051(0x12e)](withTelemetry,_0x5501f5['QjXrG'],async()=>{const _0x5b3831=_0x47e051,_0x31169d=await getToken();if(!_0x31169d)throw new Error(_0x5b3831(0x200));console[_0x5b3831(0x12b)](_0x31169d);});})['command']('go',_0x5501f5[_0x14f1d0(0x23d)],_0x306352=>{const _0x33e5c2=_0x14f1d0;return _0x306352[_0x33e5c2(0x1a9)](_0x5501f5[_0x33e5c2(0x244)],{'type':_0x5501f5[_0x33e5c2(0x1af)],'description':_0x5501f5['jXxpx']})['option'](_0x33e5c2(0x265),{'type':_0x5501f5['kIaLQ'],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0x33e5c2(0x1a9)](_0x33e5c2(0x1cf),{'type':'string','description':_0x5501f5['opTrM']})[_0x33e5c2(0x1a9)](_0x33e5c2(0x142),{'type':'number','description':_0x5501f5[_0x33e5c2(0x28a)]})['option'](_0x5501f5[_0x33e5c2(0x1ee)],{'type':_0x33e5c2(0x156),'description':_0x5501f5['EBpmN']})[_0x33e5c2(0x1a9)](_0x33e5c2(0x266),{'type':_0x5501f5['kIaLQ'],'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.'})['option'](_0x33e5c2(0x12c),{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5['Vhbyn']})['option'](_0x33e5c2(0x2aa),{'type':'boolean','description':_0x5501f5[_0x33e5c2(0x2ba)],'default':![]})['option'](_0x5501f5[_0x33e5c2(0x186)],{'type':_0x5501f5[_0x33e5c2(0x1af)],'hidden':!![],'choices':[_0x5501f5['pYTQS'],'partial',_0x5501f5['mIcVt'],'failed','incomplete']})[_0x33e5c2(0x1a9)](_0x33e5c2(0x250),{'type':'boolean','hidden':!![]})['option'](_0x33e5c2(0x178),{'type':_0x5501f5[_0x33e5c2(0x1af)],'hidden':!![]})['option']('task',{'type':'string','hidden':!![]})['option'](_0x33e5c2(0x24c),{'type':_0x5501f5[_0x33e5c2(0x1c9)],'hidden':!![]});},async _0x59d0b0=>{await runGoCommand(_0x59d0b0);})[_0x14f1d0(0x1c0)](_0x5501f5['ZDltT'],![],_0x15ec80=>{const _0x178171=_0x14f1d0,_0x5d0f2f={'qRIjx':function(_0x3f5cc2,_0x52ebfe,_0x4c85a5){return _0x3f5cc2(_0x52ebfe,_0x4c85a5);},'OrUVw':_0x178171(0x226),'WlroT':_0x178171(0x29c),'herDE':function(_0xa1d6f9,_0x2335f1){return _0xa1d6f9(_0x2335f1);}};return _0x15ec80[_0x178171(0x1c0)](_0x5501f5['FLrsA'],![],_0xd7c658=>{const _0x26b090=_0x178171;return _0xd7c658[_0x26b090(0x132)](_0x5501f5[_0x26b090(0x209)],{'type':_0x26b090(0x156),'description':_0x26b090(0x155),'demandOption':!![]});},async _0x414a1f=>{const _0x54066a=_0x178171;_0x5d0f2f[_0x54066a(0x15d)](warnRenamed,_0x5d0f2f['OrUVw'],_0x5d0f2f['WlroT']),await _0x5d0f2f[_0x54066a(0x19f)](authEncrypt,_0x414a1f[_0x54066a(0x265)]);})['demandCommand'](0x1,_0x5501f5[_0x178171(0x268)]);},()=>{})[_0x14f1d0(0x1c0)](_0x5501f5['NFDiF'],![],_0x2d5289=>{const _0x105884=_0x14f1d0;return _0x2d5289['positional']('token',{'type':'string','description':_0x105884(0x197)})['option'](_0x5501f5[_0x105884(0x119)],{'type':'boolean','description':_0x5501f5['RMlNI'],'default':![]})['option'](_0x105884(0x253),{'type':_0x5501f5[_0x105884(0x1af)],'choices':[_0x5501f5['OtGPj'],_0x105884(0x171)],'description':_0x105884(0x1da)})[_0x105884(0x1a9)](_0x105884(0x21c),{'type':_0x105884(0x156),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x105884(0x275),{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x105884(0x1a9)]('skip-auth',{'type':'boolean','description':_0x105884(0x2af),'default':![]})[_0x105884(0x1a9)]('with-deps',{'type':'boolean','description':_0x105884(0x2a5),'default':![]});},async _0x26de8d=>{const _0x493f04=_0x14f1d0;_0x5501f5['dGQHS'](warnRenamed,'ranger\x20start','ranger\x20setup'),await withTelemetry(_0x5501f5['jxwhA'],_0x5df84e=>start(_0x26de8d['token'],{'skipChromium':_0x26de8d['skip-chromium'],'skipAuth':_0x26de8d['skip-auth'],'withDeps':_0x26de8d[_0x493f04(0x22e)],'scope':_0x26de8d['scope'],'url':_0x26de8d[_0x493f04(0x21c)],'force':_0x26de8d[_0x493f04(0x275)]},_0x5df84e));})['command'](_0x14f1d0(0x177),![],_0x49f985=>{const _0x33b544=_0x14f1d0;return _0x49f985[_0x33b544(0x1a9)](_0x5501f5['zJPUr'],{'type':_0x33b544(0x156),'description':_0x5501f5[_0x33b544(0x179)]})['option']('task',{'type':_0x33b544(0x156),'description':_0x5501f5['KiAST']})[_0x33b544(0x1a9)](_0x5501f5[_0x33b544(0x24e)],{'type':_0x5501f5['QSneg'],'description':_0x5501f5[_0x33b544(0x28a)]})['option']('profile',{'type':_0x5501f5['kIaLQ'],'hidden':!![]})['option']('notes',{'type':_0x33b544(0x156),'hidden':!![]})['option']('scenario',{'type':_0x5501f5[_0x33b544(0x1c9)],'hidden':!![]})['option'](_0x5501f5[_0x33b544(0x1ee)],{'type':'string','description':_0x33b544(0x28f)})['option']('base-url',{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5[_0x33b544(0x1fa)]})[_0x33b544(0x1a9)]('model',{'type':_0x5501f5['kIaLQ'],'hidden':!![]})[_0x33b544(0x1a9)](_0x33b544(0x2aa),{'type':_0x33b544(0x26e),'hidden':!![],'default':![]})[_0x33b544(0x1a9)]('debug-outcome',{'type':_0x5501f5['kIaLQ'],'hidden':!![],'choices':['verified',_0x33b544(0x26b),_0x33b544(0x217),'failed',_0x5501f5[_0x33b544(0x20c)]]});},async _0x5348f4=>{const _0x321f34=_0x14f1d0;await _0x5501f5[_0x321f34(0x295)](runGoCommand,_0x5348f4,!![]);})[_0x14f1d0(0x1c0)](_0x14f1d0(0x1e0),![],_0x2d34c1=>{const _0x20a50c=_0x14f1d0;return _0x2d34c1[_0x20a50c(0x132)](_0x20a50c(0x1a4),{'type':'string','description':_0x20a50c(0x25f),'demandOption':!![]})['option']('ci',{'type':_0x5501f5[_0x20a50c(0x1db)],'description':_0x5501f5[_0x20a50c(0x1f9)],'default':![]})['option'](_0x5501f5['OHenx'],{'type':_0x5501f5['cJPgt'],'description':_0x5501f5[_0x20a50c(0x18e)],'default':![]});},async _0x974f0f=>{const _0x3b997b=_0x14f1d0;_0x5501f5[_0x3b997b(0x295)](warnRenamed,_0x5501f5['PAyoq'],'ranger\x20profile\x20add'),await withTelemetry('add\x20env',_0x3073cf=>addEnv(_0x974f0f['env-name'],{'ci':_0x974f0f['ci'],'skipAuth':_0x974f0f['skip-auth']},_0x3073cf));})[_0x14f1d0(0x1c0)](_0x5501f5[_0x14f1d0(0x1c7)],![],_0x479871=>{const _0x503acb=_0x14f1d0;return _0x479871[_0x503acb(0x132)]('env-name',{'type':'string','description':_0x503acb(0x137),'demandOption':!![]});},async _0x45e92b=>{const _0x5a2d8f=_0x14f1d0;warnRenamed(_0x5a2d8f(0x19a),_0x5a2d8f(0x1b2)),await _0x5501f5[_0x5a2d8f(0x12e)](withTelemetry,'use',()=>useEnv(_0x45e92b['env-name']));})['command'](_0x14f1d0(0x2b8),![],_0x3fc34d=>{const _0x295c70=_0x14f1d0,_0x24ec17={'wUDgA':'env','gVwpY':_0x5501f5[_0x295c70(0x18a)],'jyCZS':_0x5501f5['WPNXC'],'oJVeA':_0x295c70(0x156),'LTPUI':_0x295c70(0x271),'tdjnu':function(_0x4c59f5,_0x1821d6,_0xee031d){return _0x5501f5['IeKgP'](_0x4c59f5,_0x1821d6,_0xee031d);},'xcCHg':_0x5501f5[_0x295c70(0x267)],'WCHhc':_0x5501f5['rIsrr'],'XQXUB':_0x295c70(0x28e),'ZkRkx':'key','eiMCo':_0x295c70(0x22d),'rWWcS':_0x5501f5['sQpdl'],'PZaLB':_0x5501f5['xqZiZ']};return _0x3fc34d['command'](_0x295c70(0x214),![],_0x55176d=>{const _0x549584=_0x295c70;return _0x55176d['positional'](_0x24ec17['wUDgA'],{'type':'string','description':_0x24ec17[_0x549584(0x243)],'demandOption':!![]})[_0x549584(0x132)]('key',{'type':_0x549584(0x156),'description':_0x24ec17['jyCZS'],'demandOption':!![]})[_0x549584(0x132)](_0x549584(0x21a),{'type':_0x24ec17[_0x549584(0x19e)],'description':_0x24ec17['LTPUI'],'demandOption':!![]});},async _0x2ad3c7=>{const _0x597ab4=_0x295c70;_0x5501f5[_0x597ab4(0x1ac)](warnRenamed,_0x597ab4(0x174),_0x597ab4(0x129)),await _0x5501f5['glrlP'](withTelemetry,_0x597ab4(0x18c),()=>configSet(_0x2ad3c7['env'],_0x2ad3c7[_0x597ab4(0x199)],_0x2ad3c7['value']));})[_0x295c70(0x1c0)](_0x5501f5['zjnKD'],![],_0x17b6e8=>{const _0x466db7=_0x295c70;return _0x17b6e8['positional'](_0x5501f5[_0x466db7(0x296)],{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5['vWqNX'],'demandOption':!![]})['positional'](_0x466db7(0x199),{'type':_0x466db7(0x156),'description':_0x5501f5['YekPN'],'demandOption':!![]});},async _0x40f789=>{const _0xf504b0=_0x295c70;_0x24ec17[_0xf504b0(0x190)](warnRenamed,_0x24ec17['xcCHg'],_0x24ec17['WCHhc']),await withTelemetry(_0x24ec17['XQXUB'],()=>configGet(_0x40f789[_0xf504b0(0x178)],_0x40f789[_0xf504b0(0x199)]));})['command'](_0x295c70(0x228),![],_0x4c7d96=>{const _0x9672fa=_0x295c70;return _0x4c7d96[_0x9672fa(0x132)](_0x24ec17[_0x9672fa(0x1c5)],{'type':_0x9672fa(0x156),'description':_0x24ec17['gVwpY'],'demandOption':!![]});},async _0x3f1b1f=>{const _0x26b287=_0x295c70;warnRenamed(_0x5501f5[_0x26b287(0x28c)],'ranger\x20profile\x20config\x20list'),await withTelemetry(_0x26b287(0x238),()=>configList(_0x3f1b1f[_0x26b287(0x178)]));})['command'](_0x5501f5['mwZpX'],![],_0x452fd4=>{const _0x21f753=_0x295c70;return _0x452fd4[_0x21f753(0x132)](_0x24ec17[_0x21f753(0x1c5)],{'type':_0x24ec17['oJVeA'],'description':_0x24ec17['gVwpY'],'demandOption':!![]})['positional'](_0x24ec17['ZkRkx'],{'type':'string','description':_0x21f753(0x154),'demandOption':!![]});},async _0xc5574b=>{const _0x1f5145=_0x295c70;_0x24ec17['tdjnu'](warnRenamed,_0x24ec17['eiMCo'],_0x24ec17[_0x1f5145(0x219)]),await withTelemetry(_0x24ec17['PZaLB'],()=>configUnset(_0xc5574b[_0x1f5145(0x178)],_0xc5574b['key']));})['demandCommand'](0x1,_0x295c70(0x112));})['command'](_0x5501f5[_0x14f1d0(0x296)],![],_0x2f55cf=>{const _0x5257b0=_0x14f1d0,_0x449010={'BVyHf':'env\x20update'};return _0x2f55cf['command']('ls',![],()=>{},async()=>{const _0x1cba29=_0x1cda;_0x5501f5['IeKgP'](warnRenamed,_0x1cba29(0x17e),_0x5501f5[_0x1cba29(0x1c2)]),await withTelemetry(_0x5501f5['VGsIk'],()=>envList());})[_0x5257b0(0x1c0)](_0x5501f5['owZLc'],![],_0xd9d16a=>{const _0x5dd088=_0x5257b0;return _0xd9d16a[_0x5dd088(0x132)](_0x5501f5[_0x5dd088(0x290)],{'type':'string','description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x432e8f=>{const _0x32a216=_0x5257b0;warnRenamed(_0x32a216(0x211),'ranger\x20profile\x20update'),await withTelemetry(_0x449010['BVyHf'],_0x2193fc=>updateEnv(_0x432e8f[_0x32a216(0x1a4)],_0x2193fc));})[_0x5257b0(0x188)](0x1,_0x5501f5[_0x5257b0(0x1d8)]);})[_0x14f1d0(0x1c0)]('feature',![],_0x5add83=>{const _0x18427f=_0x14f1d0,_0x1f9ad3={'IgfBb':_0x5501f5[_0x18427f(0x110)],'KvWzh':_0x5501f5['kIaLQ'],'zZZch':_0x5501f5['zKZFH'],'Dduwq':_0x5501f5[_0x18427f(0x2b2)],'WZiZB':_0x18427f(0x2b3),'KLDJh':_0x5501f5['ICxQn'],'hByNq':_0x18427f(0x1cc),'UqBnw':_0x5501f5['BgAyj'],'bErSl':_0x5501f5[_0x18427f(0x1cd)],'usnbM':function(_0x57fbaa,_0x51d3da,_0x63da2c){return _0x57fbaa(_0x51d3da,_0x63da2c);},'KQFOP':_0x5501f5[_0x18427f(0x1c4)],'mSjSZ':function(_0x438250,_0x40b77e,_0x2b5fa1){return _0x5501f5['MtoEN'](_0x438250,_0x40b77e,_0x2b5fa1);},'nGvBz':_0x5501f5['ikeVf'],'SwUub':function(_0x465293,_0x419a16,_0x1a5ea){return _0x465293(_0x419a16,_0x1a5ea);},'GGfyQ':_0x5501f5['Ebvpu'],'YFNlG':_0x18427f(0x2b4),'HByZo':function(_0x88070e,_0x59424a,_0xcae639){const _0x346d0e=_0x18427f;return _0x5501f5[_0x346d0e(0x202)](_0x88070e,_0x59424a,_0xcae639);},'Pdjoq':_0x18427f(0x1b7)};return _0x5add83[_0x18427f(0x1c0)](_0x18427f(0x2b5),![],_0x8ffc30=>{const _0x28af7d=_0x18427f;return _0x8ffc30[_0x28af7d(0x132)](_0x1f9ad3['IgfBb'],{'type':_0x1f9ad3['KvWzh'],'description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x1f9ad3['zZZch'],{'type':_0x1f9ad3['KvWzh'],'alias':'d','description':_0x1f9ad3[_0x28af7d(0x176)]})['option'](_0x1f9ad3['WZiZB'],{'type':'array','alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x28af7d(0x1a9)](_0x1f9ad3['KLDJh'],{'type':'array','hidden':!![]});},async _0x51d48=>{const _0x14ba1a=_0x18427f;warnRenamed(_0x1f9ad3[_0x14ba1a(0x1aa)],_0x14ba1a(0x16e)),warnFlagRenamed(_0x1f9ad3[_0x14ba1a(0x1b5)],_0x1f9ad3[_0x14ba1a(0x134)],'--scenario');const _0x40ace7=_0x51d48['scenario']||_0x51d48['checklist'];await withTelemetry(_0x14ba1a(0x212),()=>featureCreate(_0x51d48['name'],{'description':_0x51d48[_0x14ba1a(0x2a4)],'scenarios':_0x40ace7}));})[_0x18427f(0x1c0)]('list',![],_0x4a2ae8=>{const _0x1e8c9a=_0x18427f;return _0x4a2ae8['option'](_0x1e8c9a(0x12a),{'type':'boolean','description':_0x5501f5[_0x1e8c9a(0x10f)]})['option'](_0x5501f5[_0x1e8c9a(0x120)],{'type':'number','alias':'l','description':_0x1e8c9a(0x1c3),'default':0xa})['option'](_0x5501f5[_0x1e8c9a(0x263)],{'type':_0x1e8c9a(0x287),'alias':'o','description':_0x5501f5[_0x1e8c9a(0x29e)],'default':0x0})['option'](_0x5501f5['SIFhL'],{'type':_0x1e8c9a(0x26e),'alias':'d','description':_0x1e8c9a(0x24a),'default':![]});},async _0x31ec4f=>{const _0x3f0e84=_0x18427f;_0x1f9ad3[_0x3f0e84(0x1a7)](warnRenamed,_0x3f0e84(0x2ab),_0x3f0e84(0x25a)),await withTelemetry(_0x3f0e84(0x1ef),()=>featureList({'currentBranch':_0x31ec4f[_0x3f0e84(0x12a)],'limit':_0x31ec4f[_0x3f0e84(0x220)],'offset':_0x31ec4f['offset'],'includeDeleted':_0x31ec4f['include-deleted']}));})['command']('show\x20[id]',![],_0x8a0cd9=>{const _0x5ea8d8=_0x18427f;return _0x8a0cd9[_0x5ea8d8(0x132)]('id',{'type':_0x5501f5[_0x5ea8d8(0x1af)],'description':_0x5501f5['ZqFGT']});},async _0xa2d0a8=>{const _0x259b3c=_0x18427f;warnRenamed('ranger\x20feature\x20show',_0x1f9ad3[_0x259b3c(0x168)]),await _0x1f9ad3[_0x259b3c(0x16d)](withTelemetry,'feature\x20show',()=>featureShow(_0xa2d0a8['id']));})['command'](_0x5501f5['KudMo'],![],_0x5c8ff5=>{const _0x3c7121=_0x18427f;return _0x5c8ff5['positional']('id',{'type':_0x3c7121(0x156),'description':_0x3c7121(0x13f)});},async _0x2703fb=>{const _0x44113c=_0x18427f;_0x5501f5[_0x44113c(0x21b)](warnRenamed,_0x5501f5[_0x44113c(0x239)],_0x5501f5['ntlZb']),await withTelemetry(_0x5501f5[_0x44113c(0x2b1)],()=>featureResume(_0x2703fb['id']));})[_0x18427f(0x1c0)]('add-checklist-item\x20<description>',![],_0x173900=>{const _0xa7d099=_0x18427f;return _0x173900['positional']('description',{'type':_0xa7d099(0x156),'description':_0x1f9ad3['nGvBz'],'demandOption':!![]})[_0xa7d099(0x1a9)]('id',{'type':_0x1f9ad3[_0xa7d099(0x293)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x83badf=>{const _0x59609d=_0x18427f;_0x1f9ad3[_0x59609d(0x128)](warnRenamed,_0x59609d(0x222),_0x1f9ad3['GGfyQ']),await withTelemetry(_0x59609d(0x193),()=>featureAddScenario(_0x83badf['description'],_0x83badf['id']));})[_0x18427f(0x1c0)](_0x5501f5['zgxsS'],![],_0x249abb=>{const _0x591c2d=_0x18427f;return _0x249abb['positional']('id',{'type':_0x591c2d(0x156),'description':_0x1f9ad3[_0x591c2d(0x233)]});},async _0xfac1a5=>{const _0x303168=_0x18427f;warnRenamed(_0x5501f5['IEQfg'],_0x5501f5['LONjO']),await _0x5501f5['cMIqg'](withTelemetry,_0x303168(0x192),()=>featureGetReview(_0xfac1a5['id']));})[_0x18427f(0x1c0)](_0x18427f(0x14a),![],_0x17ed15=>{const _0x2c6104=_0x18427f;return _0x17ed15['positional']('id',{'type':_0x5501f5[_0x2c6104(0x1af)],'description':_0x2c6104(0x291)});},async _0x1c7394=>{const _0x58139c=_0x18427f;warnRenamed(_0x58139c(0x1b6),_0x58139c(0x2ac)),await withTelemetry(_0x5501f5[_0x58139c(0x13d)],()=>featureDelete(_0x1c7394['id']));})['command'](_0x5501f5[_0x18427f(0x18b)],![],_0x2f304c=>{const _0x4ab0d4=_0x18427f;return _0x2f304c['positional']('id',{'type':'string','description':_0x5501f5[_0x4ab0d4(0x191)],'demandOption':!![]});},async _0x45819a=>{const _0x1c48fd=_0x18427f;_0x1f9ad3['HByZo'](warnRenamed,_0x1f9ad3[_0x1c48fd(0x140)],'ranger\x20restore'),await withTelemetry('feature\x20restore',()=>featureRestore(_0x45819a['id']));})[_0x18427f(0x188)](0x1,_0x5501f5['KCuQJ']);})[_0x14f1d0(0x1c0)](_0x5501f5['haEWH'],![],_0x85c769=>{const _0x121444=_0x14f1d0,_0x4e9f0f={'IVSTT':_0x5501f5['kIaLQ'],'RCAIk':_0x5501f5[_0x121444(0x28d)],'okpHR':function(_0x5696ab,_0x544d61,_0x1ec785){const _0x54ab06=_0x121444;return _0x5501f5[_0x54ab06(0x286)](_0x5696ab,_0x544d61,_0x1ec785);}};return _0x85c769['command'](_0x121444(0x27a),_0x5501f5['YxCLd'],_0x14922f=>{const _0x13c110=_0x121444;return _0x14922f['option']('session-id',{'type':_0x4e9f0f[_0x13c110(0x205)],'description':_0x4e9f0f[_0x13c110(0x1fc)]});},async _0x13253e=>{const _0x49dc73=_0x121444;await withTelemetry('hook:enable',()=>hook('enable',_0x13253e[_0x49dc73(0x1bc)]));})[_0x121444(0x1c0)]('disable',_0x121444(0x15b),_0x425573=>{const _0x25a8fa=_0x121444;return _0x425573['option'](_0x25a8fa(0x1bc),{'type':_0x25a8fa(0x156),'description':_0x4e9f0f[_0x25a8fa(0x1fc)]});},async _0x354d70=>{const _0x35f982=_0x121444;await _0x4e9f0f['okpHR'](withTelemetry,_0x35f982(0x2a6),()=>hook(_0x35f982(0x1df),_0x354d70[_0x35f982(0x1bc)]));})[_0x121444(0x1a9)](_0x5501f5[_0x121444(0x110)],{'type':'string','description':_0x121444(0x150)})['option'](_0x121444(0x1bc),{'type':_0x5501f5[_0x121444(0x1af)],'description':_0x5501f5['GqwMB']});},async _0x52a729=>{_0x52a729['name']&&await hook(_0x52a729['name'],_0x52a729['session-id']);})['demandCommand'](0x1,_0x5501f5[_0x14f1d0(0x169)])['strictCommands']()['fail'](async(_0x5dd726,_0x5a993c,_0x3424e4)=>{const _0x34129f=_0x14f1d0,_0x34830b=sanitizeArgs(process[_0x34129f(0x13b)][_0x34129f(0x236)](0x2)),_0x1f99a0=_0x5501f5[_0x34129f(0x23e)](getErrorType,_0x5dd726,_0x5a993c);if(_0x5dd726&&_0x5dd726[_0x34129f(0x13e)](_0x5501f5['SVJOe'])){const _0x10b901=process['argv'][0x2];console['error'](_0x34129f(0x1fd)+_0x10b901),console[_0x34129f(0x1b1)](_0x5501f5[_0x34129f(0x282)]);}else{if(_0x5dd726)console['error']('\x0a'+_0x5dd726+'\x0a');else _0x5a993c&&console['error']('\x0aError:\x20'+_0x5a993c['message']+'\x0a');}await logDesirePath({'rawCommand':_0x34830b,'errorMessage':_0x5dd726||_0x5a993c?.[_0x34129f(0x278)],'errorType':_0x1f99a0});const _0x362676=getCurrentCollector();_0x362676&&await _0x362676[_0x34129f(0x27c)](_0x5a993c||new Error(_0x5dd726||_0x5501f5[_0x34129f(0x206)])),process['exit'](0x1);})[_0x14f1d0(0x1e2)](_0x5501f5[_0x14f1d0(0x146)](_0x5501f5['lpGVt'],'\x20\x20https://docs.ranger.net\x0a')+_0x5501f5['auDLl'])[_0x14f1d0(0x2a9)]()['alias'](_0x5501f5['RhKhj'],'h');}process[_0x14be9b(0x178)][_0x14be9b(0x1d0)]!=='test'&&buildParser()[_0x14be9b(0x122)]();
|
|
2
|
+
const _0x10ef54=_0x1deb;(function(_0x4c6d39,_0x1cbfa3){const _0x3893d2=_0x1deb,_0x6ec789=_0x4c6d39();while(!![]){try{const _0x55f641=-parseInt(_0x3893d2(0x34b))/0x1+-parseInt(_0x3893d2(0x1fa))/0x2*(-parseInt(_0x3893d2(0x355))/0x3)+parseInt(_0x3893d2(0x2c2))/0x4*(parseInt(_0x3893d2(0x342))/0x5)+-parseInt(_0x3893d2(0x35d))/0x6+parseInt(_0x3893d2(0x29c))/0x7*(-parseInt(_0x3893d2(0x337))/0x8)+parseInt(_0x3893d2(0x276))/0x9+parseInt(_0x3893d2(0x2ca))/0xa*(parseInt(_0x3893d2(0x34d))/0xb);if(_0x55f641===_0x1cbfa3)break;else _0x6ec789['push'](_0x6ec789['shift']());}catch(_0x37e8f1){_0x6ec789['push'](_0x6ec789['shift']());}}}(_0xeddc,0xaf4e5));import _0x4c53d0 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x552fc4=_0x1deb,_0x6d2eb3={'PwKDK':function(_0x5176d8,_0x81bfa1){return _0x5176d8!==_0x81bfa1;},'ucLvo':function(_0x2f1ee3,_0x201b0d,_0x569ab6){return _0x2f1ee3(_0x201b0d,_0x569ab6);},'OFpbq':'.ranger','QduxG':function(_0x237e27,_0x3f56b0){return _0x237e27(_0x3f56b0);},'rMGiy':_0x552fc4(0x2b5)};let _0x1cc5a6=process['cwd']();const _0x20c344=parse(_0x1cc5a6)[_0x552fc4(0x306)];while(_0x6d2eb3['PwKDK'](_0x1cc5a6,_0x20c344)){if(existsSync(_0x6d2eb3[_0x552fc4(0x285)](join,_0x1cc5a6,_0x6d2eb3[_0x552fc4(0x268)]))||_0x6d2eb3[_0x552fc4(0x29a)](existsSync,_0x6d2eb3['ucLvo'](join,_0x1cc5a6,_0x6d2eb3[_0x552fc4(0x371)])))return _0x1cc5a6;_0x1cc5a6=dirname(_0x1cc5a6);}return process[_0x552fc4(0x2ee)]();}_0x4c53d0['config']({'path':join(findProjectRoot(),_0x10ef54(0x2b5))});import _0x198c04 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,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';function _0xeddc(){const _0x388230=['Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','Optmf','Name\x20of\x20the\x20environment\x20to\x20update','--env','kIbPI','Name\x20of\x20the\x20profile\x20to\x20update','sGoNu','Dlpzz','VjzEH','pCuTH','ranger\x20feature\x20list','tZqOs','string','NHplm','WeULz','ExHoW','evaluation','exit','map','Rznqf','list','env\x20update','OXfxt','model','OOuBa','giecO','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','set\x20<profile>\x20<key>\x20<value>','skip-chromium','add-checklist-item\x20<description>','gQkln','TmaTA','ranger\x20feature\x20create','TYmyD','OSXYN','oFYwT','XCUUv','eUmTI','allow-insecure-localhost','42086iYiZSb','AqCks','unset\x20<env>\x20<key>','gTojp','ranger\x20delete','rvyit','option','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','trNoN','jGbYH','JiNno','Install\x20Chromium\x20browser\x20binary','xAKiS','epilogue','yes','KgSTG','wLzsY','qiwEq','Ranger\x20API\x20token\x20(rngr_...)','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','ranger\x20profile\x20config\x20set','get\x20<profile>\x20<key>','eiOeG','lyTbd','error','wNKCu','LlHDI','UngNx','show','token','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','QXhCk','uiSeT','skillup','--task','rQmhj','task','ranger\x20show','limit','mjZUh','Update\x20authentication\x20for\x20an\x20existing\x20profile','feature','rNYVz','profile\x20config\x20reset','headed','List\x20all\x20config\x20for\x20a\x20profile','RTmcK','LjhlO','incomplete','ranger\x20verify-feature','restore\x20<id>','API\x20token','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','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','config\x20list','delete\x20[id]','Manage\x20profile\x20configuration','sNCzm','WyAlH','ohrhe','not_configured','profile-name','--scenario','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','forEach','Manage\x20profiles','Skip\x20interactive\x20confirmation\x20prompts.','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','ranger\x20feature\x20delete','ogGcg','KZiCI','profile\x20config\x20list','failed','BcCbe','IqLUw','RZsov','setup:profiles','dry-run','gwghi','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','rvAkF','hSDRp','VzafD','SnExY','Include\x20soft-deleted\x20feature\x20reviews','Login\x20failed:\x20','qwQUa','xZRdW','SxaGF','hHtHI','Skip\x20authentication','Set\x20up\x20a\x20local\x20browser\x20profile','slice','vnSzD','get-feedback\x20[id]','encrypt\x20<profile>','hook:disable','Unknown\x20command','SMXSt','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','JyKot','ranger\x20use','url','scriptName','PCiRu','cdp-endpoint','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','base-url','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','OFpbq','TRMYs','poZaI','RANGER_TEST_PASSWORD','You\x20must\x20specify\x20a\x20profile\x20subcommand','Subcommand\x20or\x20API\x20token\x20(rngr_...)','ranger\x20profile\x20encrypt-auth','RwCaF','profile\x20use','checklist','UXjgv','get-review','IBgSN','Etudq','7575975jyKTQP','mmSRE','Get\x20a\x20config\x20value','use\x20<env-name>','rrmGM','jtbpr','YuIeB','cDOYv','update\x20<env-name>','Run\x20full\x20interactive\x20setup','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','Add\x20profile\x20configuration','jvQPO','RwAir','oGmKd','ucLvo','feature\x20create','uoSDR','nlEhZ','WeDbM','fkTUr','scope','AMoWo','Skip\x20browser\x20authentication','Config\x20key\x20to\x20remove','ranger','ranger\x20profile\x20config\x20unset','config\x20get','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','wmVNh','InTLD','debug-outcome','Profile\x20name','MZIOH','ranger\x20profile\x20add','print-access-token','QduxG','profile\x20config\x20get','7gkXqVT','update\x20<profile-name>','boolean','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aProfile\x20config.\x20Routes\x20automatically\x20based\x20on\x20where\x20the\x20profile\x20lives:\x0a\x20\x20-\x20Local\x20profiles\x20write\x20to\x20.ranger/<env>/settings.json\x0a\x20\x20-\x20Cloud\x20profiles\x20write\x20a\x20local\x20overlay\x20in\x20~/.ranger/projects.json\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\x20(effective\x20value\x20for\x20cloud\x20profiles)\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\x20local\x20overrides\x20(cloud\x20profiles\x20only)\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override\x20for\x20cloud\x20profiles)\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','feature\x20add-checklist-item','xRLgX','\x20is\x20now\x20','\x20INCOMPLETE','Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.','profile\x20config\x20set','uYyFF','TCaHl','help','lIffR','aAvbp','rexKv','.\x20[','eIgNh','vBbrT','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','iuJJO','Ranger\x20API\x20token','ranger\x20config\x20unset','XsRXo','QYBcn','.env','avhas','HRnEG','env-name','PErCo','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','VybXy','jQXFx','ZJLUA','array','You\x20must\x20specify\x20an\x20auth\x20subcommand','Base\x20URL\x20of\x20the\x20running\x20app','resume','24EMOaMe','Authenticate\x20via\x20MCP\x20proxy','zthTW','unset\x20<profile>\x20<key>','update','jwDeJ','parse','XGsdB','20260rGaqxs','XrUWv','OLUDQ','FUomt','ICClD','exclude-scenario','demandCommand','RANGER_PROFILE','json','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','ZjkCO','Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','clean','edit-scenario\x20<description>','hkAwn','Restore\x20a\x20soft-deleted\x20feature\x20review','QrwgK','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','ranger\x20go','key','SzSEi','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','Tysih','setup:skills','profile\x20migrate','ranger\x20get-review','verified','--profile','Etbiy','fSMuO','ifRGt','zFnGo','sXbnG','include-deleted','cwd','Where\x20to\x20store\x20the\x20profile','SYbXw','Install\x20scope\x20for\x20plugin\x20and\x20skills','List\x20all\x20profiles','\x0aIssues:','yacmF','item','folrF','reset\x20<profile>','CIrEg','ScMrB','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','debug-address-comments','usage','blocked','profile\x20config\x20unset','status','UvVKF','current-branch','Feature\x20review\x20ID','BfFYt','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','root','add\x20<profile-name>','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','FvZtL','xcvCU','hZHZg','wHYic','claude','offset','hjHWg','ranger\x20profile\x20ls','profile','repeat','ubqnj','report\x20[id]','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','profiles','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','config\x20unset','InInX','KBDUC','feature\x20list','issues','aNkdm','Lriim','nPGKu','some','dIDje','You\x20must\x20specify\x20a\x20command','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','fVKLf','XxiZy','startsWith','iYShy','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','positional','sWwCO','Config\x20value','JjtWZ','Nwxml','IYITf','list\x20<profile>','lBflK','test_output','Name\x20of\x20the\x20environment','opencode','ranger\x20feature\x20restore','skip-auth','evaluationReason','3890200mLldWr','mMrue','oGCXc','LQaed','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','project','bSSen','tvTiX','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','Install\x20Ranger\x20skills','feature\x20restore','954895AeTlYa','fDlmi','Number\x20of\x20feature\x20reviews\x20to\x20skip','feature\x20show','mcp','scenario','with-deps','env','vjnYO','854630NjmdlW','AYiKT','275qVoOyf','Remove\x20a\x20config\x20value','session-id','KQPYe','user','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','ranger\x20profile\x20config\x20list','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','129uteUYr','add-scenario','Feature\x20review\x20description','flazk','message','force','ranger\x20feature\x20resume','name','5305140QYbneo','unhandledRejection','kdreT','Jngdv','enable','xnjYn','Scenario\x20number\x20to\x20edit\x20(1-based)','hook:enable','twHuj','notes','number','edit-scenario','✓\x20Authenticated\x20to\x20','log','mcp-bootstrap','profile\x20ls','setup:login','hook','iKTsr','QRfmA','rMGiy','Scenario\x20index\x20(1-based)','profile\x20add','ranger\x20start','description','login','save-creds','Unknown\x20error','wjcVH','config','create\x20<name>','Environment\x20name','start-path','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','add-scenario\x20<description>','HfNkp','partial','start','VaQIK','yfncr','\x20BLOCKED','TeVVa','HqOPH','all','jXgou','Install\x20skills\x20for\x20OpenCode','TCOhH','env\x20list','delete','ranger\x20config\x20set','You\x20must\x20specify\x20a\x20config\x20subcommand','command','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','ranger\x20config\x20get','JPmNQ'];_0xeddc=function(){return _0x388230;};return _0xeddc();}import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.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';function _0x1deb(_0x56940e,_0x3f13eb){_0x56940e=_0x56940e-0x1bf;const _0xeddc80=_0xeddc();let _0x1deb55=_0xeddc80[_0x56940e];return _0x1deb55;}import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on'](_0x10ef54(0x35e),async _0x2bc5e5=>{const _0x1e8679={'kVztQ':function(_0x24553f){return _0x24553f();}},_0x57f1fb=_0x1e8679['kVztQ'](getCurrentCollector);_0x57f1fb&&await _0x57f1fb['trackCommandError'](_0x2bc5e5),process['exitCode']=0x1;});const rawArgs=process['argv'][_0x10ef54(0x256)](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\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\x20Set\x20up\x20a\x20local\x20browser\x20profile\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/update/config/encrypt-auth)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\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\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\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\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x20\x20migrate\x20[<profile>]\x20\x20\x20\x20\x20\x20\x20Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20migrate\x20--all\x20--dry-run',PROFILE_CONFIG_HELP=_0x10ef54(0x29f);function warnRenamed(_0x55258a,_0x4b76e3){const _0x89b9e8=_0x10ef54;console[_0x89b9e8(0x212)]('\x0a'+_0x55258a+_0x89b9e8(0x2a2)+_0x4b76e3+'\x0a');}function argUsed(_0x4d99be){const _0x4ef845=_0x10ef54;return rawArgs[_0x4ef845(0x320)](_0x5b0552=>_0x5b0552===_0x4d99be||_0x5b0552[_0x4ef845(0x326)](_0x4d99be+'='));}function warnFlagRenamed(_0xe53a52,_0x534a9e,_0x15d4b6){const _0x360781=_0x10ef54,_0x361012={'ZjkCO':function(_0x321b60,_0x5b4512){return _0x321b60(_0x5b4512);}};_0x361012[_0x360781(0x2d5)](argUsed,_0x534a9e)&&warnRenamed(_0xe53a52+'\x20'+_0x534a9e,_0xe53a52+'\x20'+_0x15d4b6);}async function runGoCommand(_0x28f2c0,_0x4afb04=![]){const _0x3d8a51=_0x10ef54,_0xefd929={'JbmaS':function(_0x14c4bd,_0xd4540){return _0x14c4bd+_0xd4540;},'mMrue':function(_0x308929,_0xc67459,_0x185bf){return _0x308929(_0xc67459,_0x185bf);},'vjnYO':_0x3d8a51(0x22b),'czVCn':function(_0x11444e,_0x5c5867,_0x4314c0,_0x15775e){return _0x11444e(_0x5c5867,_0x4314c0,_0x15775e);},'IqLUw':_0x3d8a51(0x2de),'suWKQ':_0x3d8a51(0x1d6),'BduhC':_0x3d8a51(0x2e7),'Etbiy':'--item','KNQkQ':_0x3d8a51(0x238),'jexoo':function(_0x2d4d5b){return _0x2d4d5b();},'LQaed':function(_0x31de61,_0x6c2d0a){return _0x31de61(_0x6c2d0a);},'XuBhj':'start-path','raZTJ':'base-url','XrUWv':function(_0x2d22c4,_0x3c855e){return _0x2d22c4+_0x3c855e;},'QrwgK':function(_0x3acff4,_0x54f74d){return _0x3acff4===_0x54f74d;},'XGsdB':'verified','KZiCI':'\x20VERIFIED','mmSRE':function(_0x56874a,_0x33c410){return _0x56874a===_0x33c410;},'IBgSN':function(_0x5e6484,_0x18c9df){return _0x5e6484===_0x18c9df;},'ExHoW':_0x3d8a51(0x1c0),'zFnGo':_0x3d8a51(0x2fe),'mjZUh':_0x3d8a51(0x1c4),'qRrak':'\x20FAILED'};_0x4afb04&&_0xefd929[_0x3d8a51(0x338)](warnRenamed,_0xefd929[_0x3d8a51(0x34a)],_0x3d8a51(0x2de));_0xefd929['czVCn'](warnFlagRenamed,_0xefd929[_0x3d8a51(0x244)],_0xefd929['suWKQ'],_0xefd929['BduhC']),warnFlagRenamed(_0xefd929['IqLUw'],_0x3d8a51(0x21c),'--notes'),warnFlagRenamed(_0xefd929['IqLUw'],_0xefd929[_0x3d8a51(0x2e8)],_0xefd929['KNQkQ']);const _0x465392=await _0xefd929['jexoo'](loadRangerConfig),_0x588fac=isByokEnabled(),_0x360826=_0x28f2c0['model'],_0x258210=_0x465392[_0x3d8a51(0x1ea)],_0x29a498=await _0xefd929[_0x3d8a51(0x33a)](verifyFeature,{'featureId':_0x28f2c0[_0x3d8a51(0x223)],'profile':_0x28f2c0['profile']??_0x28f2c0[_0x3d8a51(0x349)]??process['env'][_0x3d8a51(0x2d1)],'notes':_0x28f2c0['notes']??_0x28f2c0[_0x3d8a51(0x21e)],'scenario':_0x28f2c0[_0x3d8a51(0x347)]??_0x28f2c0[_0x3d8a51(0x2f5)],'startPath':_0x28f2c0[_0xefd929['XuBhj']],'baseUrl':_0x28f2c0[_0xefd929['raZTJ']],'debugOutcome':_0x28f2c0[_0x3d8a51(0x295)],'debugAddressComments':_0x28f2c0['debug-address-comments'],'headed':_0x28f2c0['headed'],'byokEnabled':_0x588fac,'flagVerifyModel':_0x360826,'configVerifyModel':_0x258210});console['log'](_0xefd929[_0x3d8a51(0x2cb)]('\x0a','='[_0x3d8a51(0x312)](0x3c))),console[_0x3d8a51(0x36a)](_0xefd929[_0x3d8a51(0x2db)](_0x29a498['evaluation'],_0xefd929[_0x3d8a51(0x2c9)])?_0xefd929[_0x3d8a51(0x240)]:_0xefd929[_0x3d8a51(0x277)](_0x29a498[_0x3d8a51(0x1e3)],_0x3d8a51(0x22a))?_0x3d8a51(0x2a3):_0xefd929[_0x3d8a51(0x274)](_0x29a498['evaluation'],_0xefd929[_0x3d8a51(0x1e2)])?'\x20PARTIAL':_0x29a498[_0x3d8a51(0x1e3)]===_0xefd929[_0x3d8a51(0x2eb)]?_0xefd929[_0x3d8a51(0x221)]:_0xefd929['qRrak']),console['log']('='[_0x3d8a51(0x312)](0x3c)),console['log']('Summary:\x20'+_0x29a498['summary']),console['log']('Evaluation:\x20'+_0x29a498[_0x3d8a51(0x1e3)]),console['log']('Reason:\x20'+_0x29a498[_0x3d8a51(0x336)]),_0x29a498[_0x3d8a51(0x31c)]?.['length']&&(console['log'](_0x3d8a51(0x2f3)),_0x29a498[_0x3d8a51(0x31c)][_0x3d8a51(0x23a)]((_0x305962,_0x2200cc)=>{const _0x53ed58=_0x3d8a51;console[_0x53ed58(0x36a)]('\x0a'+_0xefd929['JbmaS'](_0x2200cc,0x1)+_0x53ed58(0x2ac)+_0x305962['severity']+']\x20'+_0x305962['description']);})),process[_0x3d8a51(0x1e4)](_0x29a498['evaluation']===_0xefd929['XGsdB']?0x0:0x1);}export function buildParser(_0x363f26){const _0x5ca7c5=_0x10ef54,_0x44ba09={'lBflK':'name','JPmNQ':'string','Dlpzz':'Feature\x20review\x20name','vaWaU':_0x5ca7c5(0x357),'xnjYn':'array','JiNno':_0x5ca7c5(0x2ba),'xcNaV':_0x5ca7c5(0x271),'FvZtL':'Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','flazk':'--checklist','vBbrT':_0x5ca7c5(0x238),'aNkdm':function(_0x1256cf,_0x4313d4,_0x3e3abd){return _0x1256cf(_0x4313d4,_0x3e3abd);},'mXcnM':'limit','OOuBa':_0x5ca7c5(0x367),'RQojc':_0x5ca7c5(0x24e),'IqTMg':_0x5ca7c5(0x216),'MlmTd':_0x5ca7c5(0x2c1),'aAvbp':'Scenario\x20description','KQPYe':_0x5ca7c5(0x356),'OSXYN':_0x5ca7c5(0x347),'tBfor':_0x5ca7c5(0x363),'sGoNu':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','xAKiS':_0x5ca7c5(0x2d2),'xcvCU':_0x5ca7c5(0x29e),'CukFV':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','UfByq':'report','Vumxt':function(_0x40a374,_0x3aae29,_0x1991de){return _0x40a374(_0x3aae29,_0x1991de);},'NHplm':_0x5ca7c5(0x303),'HfNkp':function(_0x5a3155,_0x51633f,_0x434c28){return _0x5a3155(_0x51633f,_0x434c28);},'BcCbe':'Feature\x20review\x20ID\x20to\x20restore','ICClD':'restore','TeVVa':'setup:deps','gIZcd':'mcp','jvQPO':_0x5ca7c5(0x2c3),'InTLD':function(_0x5f5cf){return _0x5f5cf();},'PrJEI':_0x5ca7c5(0x36d),'rrmGM':_0x5ca7c5(0x33c),'nPGKu':_0x5ca7c5(0x2f1),'Lriim':_0x5ca7c5(0x333),'AYiKT':'Ranger\x20API\x20token','wLzsY':'skip-chromium','kthyr':_0x5ca7c5(0x335),'fpCro':_0x5ca7c5(0x254),'WyAlH':'scope','avhas':'user','SxaGF':'allow-insecure-localhost','UawrG':'mcp-bootstrap','HqOPH':_0x5ca7c5(0x2af),'AqCks':function(_0x284a54,_0xedfc27){return _0x284a54(_0xedfc27);},'uyiDG':_0x5ca7c5(0x28f),'EtKuX':_0x5ca7c5(0x2c0),'hHtHI':'tokenOrSubcommand','nTuIr':_0x5ca7c5(0x205),'lyTbd':_0x5ca7c5(0x376),'nlEhZ':'Authenticate\x20with\x20Ranger','hjHWg':'skills','iYShy':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','AMoWo':_0x5ca7c5(0x316),'xKIGH':'url','LLXKK':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','Sgeru':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','IYITf':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','GBOEA':_0x5ca7c5(0x348),'NwmDN':_0x5ca7c5(0x217),'yfncr':_0x5ca7c5(0x22d),'WeDbM':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','ndOld':'setup-ci','eILyW':_0x5ca7c5(0x1c9),'jPMeB':'Install\x20scope\x20for\x20skills','Kelal':function(_0x279938,_0x42e05f){return _0x279938(_0x42e05f);},'hZHZg':_0x5ca7c5(0x21b),'fbsNG':_0x5ca7c5(0x2d7),'LVMEy':_0x5ca7c5(0x237),'LlHDI':'force','RZsov':_0x5ca7c5(0x239),'InInX':'setup-header','uaDbd':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','CIrEg':_0x5ca7c5(0x218),'jzPLk':'profile\x20encrypt-auth','ZpGHg':_0x5ca7c5(0x2e4),'YuIeB':'value','QXhCk':'Profile\x20name','uoSDR':_0x5ca7c5(0x241),'khpZb':_0x5ca7c5(0x2ff),'UvVKF':'Set\x20a\x20config\x20value','WeULz':_0x5ca7c5(0x2c5),'MchHC':_0x5ca7c5(0x34e),'AVxXh':_0x5ca7c5(0x2f7),'dIDje':function(_0x4bfd76,_0x8df0b3,_0x16b7b1){return _0x4bfd76(_0x8df0b3,_0x16b7b1);},'xwTAZ':_0x5ca7c5(0x1d3),'iuJJO':_0x5ca7c5(0x1c7),'UafXO':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','cDOYv':'use\x20<profile-name>','TCaHl':'Switch\x20to\x20using\x20a\x20specific\x20profile','TRMYs':_0x5ca7c5(0x222),'mmUWc':'login\x20<name>','pCuTH':'migrate\x20[profile-name]','xToAD':'config','OLUDQ':_0x5ca7c5(0x232),'yacmF':_0x5ca7c5(0x26c),'LOBVH':_0x5ca7c5(0x300),'bSSen':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','VjzEH':_0x5ca7c5(0x299),'fDlmi':_0x5ca7c5(0x223),'uYyFF':_0x5ca7c5(0x311),'oGmKd':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','UBsQS':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','AKyFF':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','esfoR':'partial','cYxkf':'blocked','CSXmS':_0x5ca7c5(0x242),'qwQUa':_0x5ca7c5(0x2fc),'rJEHl':'task','csobG':_0x5ca7c5(0x2f5),'rNYVz':function(_0x165d77,_0x564d27){return _0x165d77(_0x564d27);},'BYnxm':_0x5ca7c5(0x259),'qUqJP':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','Tysih':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','jGbYH':_0x5ca7c5(0x374),'EYmvf':_0x5ca7c5(0x266),'rvAkF':_0x5ca7c5(0x1ea),'Qukzh':_0x5ca7c5(0x226),'twHuj':'env-name','wmVNh':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','RnSAe':_0x5ca7c5(0x328),'YDIsF':_0x5ca7c5(0x332),'ASGMO':function(_0x3c6c5a,_0x52e638,_0x5ec42b){return _0x3c6c5a(_0x52e638,_0x5ec42b);},'fkTUr':_0x5ca7c5(0x25f),'jQXFx':'env','rvyit':_0x5ca7c5(0x37c),'fVKLf':'Config\x20value','eUmTI':'Config\x20key','gQkln':'ranger\x20profile\x20config\x20get','puXZX':_0x5ca7c5(0x291),'vrmKr':_0x5ca7c5(0x353),'liRrH':function(_0x21fc16,_0x4eafbe,_0x3cac6b){return _0x21fc16(_0x4eafbe,_0x3cac6b);},'enVZY':_0x5ca7c5(0x20e),'zthTW':function(_0x2004e1,_0x21dff0,_0x431ab1){return _0x2004e1(_0x21dff0,_0x431ab1);},'LCwFC':_0x5ca7c5(0x318),'VybXy':'set\x20<env>\x20<key>\x20<value>','MZIOH':'list\x20<env>','jXgou':'ranger\x20env\x20update','RwAir':_0x5ca7c5(0x1e8),'wNKCu':_0x5ca7c5(0x310),'jtbpr':function(_0x1c63be,_0x1c21a7,_0x20942b){return _0x1c63be(_0x1c21a7,_0x20942b);},'AeNDH':'You\x20must\x20specify\x20an\x20env\x20subcommand','GlVJg':function(_0x17c873,_0x238167,_0x153dc3){return _0x17c873(_0x238167,_0x153dc3);},'roWqK':_0x5ca7c5(0x1f3),'rQmhj':'ranger\x20create','ogGcg':function(_0x3f3b9d,_0x3a74da,_0x35a8cd,_0x3a8bee){return _0x3f3b9d(_0x3a74da,_0x35a8cd,_0x3a8bee);},'GIZgH':function(_0x6f9a9e,_0x2c03fa,_0x3873c7){return _0x6f9a9e(_0x2c03fa,_0x3873c7);},'SIAPs':_0x5ca7c5(0x302),'jwDeJ':function(_0xcc5472,_0x281638,_0x3e5a43){return _0xcc5472(_0x281638,_0x3e5a43);},'TmaTA':_0x5ca7c5(0x31b),'snhqm':'ranger\x20feature\x20get-feedback','KwmPh':_0x5ca7c5(0x2e5),'kYjjB':'feature\x20get-feedback','XKBig':_0x5ca7c5(0x35b),'LjhlO':'description','rexKv':'ranger\x20restore','Jngdv':'show\x20[id]','yTySa':'resume\x20[id]','SnExY':_0x5ca7c5(0x1f0),'grFas':_0x5ca7c5(0x258),'yRcfS':_0x5ca7c5(0x22c),'SBNts':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','lIffR':_0x5ca7c5(0x34f),'qoVnX':_0x5ca7c5(0x265),'eIgNh':'enable','EzWPG':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','hkAwn':'disable','oFYwT':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','VzafD':function(_0x542796,_0x558431,_0x17a6e0){return _0x542796(_0x558431,_0x17a6e0);},'RjJWU':function(_0x422c94,_0x110911){return _0x422c94(_0x110911);},'sFuxM':_0x5ca7c5(0x25b),'ctCJm':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','IttIF':function(_0x520711,_0x123026){return _0x520711||_0x123026;},'ubqnj':function(_0x5a2ae4,_0x381e86){return _0x5a2ae4(_0x381e86);},'gwghi':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','KBDUC':_0x5ca7c5(0x292),'sXbnG':_0x5ca7c5(0x380),'oGCXc':'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','xFauq':'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','VOcGY':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','vcmKc':'setup\x20[tokenOrSubcommand]','tvTiX':'setup-ci\x20<token>','ohrhe':'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','xZRdW':_0x5ca7c5(0x340),'toJJU':'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','FUomt':_0x5ca7c5(0x23b),'FEOoU':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','SYbXw':'verify-feature','ScMrB':_0x5ca7c5(0x36e),'tZqOs':function(_0x550bd7,_0x56c794){return _0x550bd7+_0x56c794;},'wjcVH':'\x20\x20https://docs.ranger.net\x0a','aCNWM':'help'};return _0x44ba09[_0x5ca7c5(0x313)](_0x198c04,_0x363f26??process['argv']['slice'](0x2))[_0x5ca7c5(0x261)](_0x5ca7c5(0x28f))['usage'](TOP_LEVEL_HELP)['version'](_0x44ba09['InTLD'](getCurrentVersion))[_0x5ca7c5(0x1cf)](_0x5ca7c5(0x37b),_0x44ba09[_0x5ca7c5(0x248)],_0x1d73b6=>{const _0x287955=_0x5ca7c5;return _0x1d73b6['positional'](_0x44ba09[_0x287955(0x330)],{'type':_0x44ba09[_0x287955(0x1d2)],'description':_0x44ba09['Dlpzz'],'demandOption':!![]})[_0x287955(0x200)](_0x287955(0x375),{'type':_0x44ba09[_0x287955(0x1d2)],'alias':'d','description':_0x44ba09['vaWaU']})[_0x287955(0x200)](_0x287955(0x347),{'type':_0x44ba09[_0x287955(0x362)],'alias':'c','description':_0x44ba09['JiNno']})[_0x287955(0x200)](_0x44ba09['xcNaV'],{'type':_0x44ba09[_0x287955(0x362)],'hidden':!![]});},async _0x1e6342=>{const _0x3a1044=_0x5ca7c5;if(!_0x1e6342[_0x3a1044(0x35c)]){console[_0x3a1044(0x212)](_0x44ba09[_0x3a1044(0x309)]+'Example:\x20ranger\x20create\x20my-feature'),process['exit'](0x1);return;}warnFlagRenamed('ranger\x20create',_0x44ba09['flazk'],_0x44ba09[_0x3a1044(0x2ae)]);const _0x211b2f=_0x1e6342['scenario']||_0x1e6342['checklist'];await _0x44ba09[_0x3a1044(0x31d)](withTelemetry,'create',()=>featureCreate(_0x1e6342['name'],{'description':_0x1e6342['description'],'scenarios':_0x211b2f}));})['command']('list','List\x20all\x20feature\x20reviews',_0xfbe24c=>{const _0x5e2399=_0x5ca7c5;return _0xfbe24c['option'](_0x5e2399(0x302),{'type':_0x5e2399(0x29e),'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option'](_0x44ba09['mXcnM'],{'type':_0x5e2399(0x367),'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option']('offset',{'type':_0x44ba09[_0x5e2399(0x1eb)],'alias':'o','description':_0x5e2399(0x344),'default':0x0})[_0x5e2399(0x200)](_0x5e2399(0x2ed),{'type':'boolean','alias':'d','description':_0x44ba09['RQojc'],'default':![]});},async _0x2b3831=>{const _0x1b6019=_0x5ca7c5;await withTelemetry(_0x1b6019(0x1e7),()=>featureList({'currentBranch':_0x2b3831['current-branch'],'limit':_0x2b3831[_0x1b6019(0x220)],'offset':_0x2b3831['offset'],'includeDeleted':_0x2b3831[_0x1b6019(0x2ed)]}));})['command']('show\x20[id]',_0x44ba09[_0x5ca7c5(0x31a)],_0x4211fc=>{const _0x4d724d=_0x5ca7c5;return _0x4211fc[_0x4d724d(0x329)]('id',{'type':_0x44ba09['JPmNQ'],'description':_0x4d724d(0x303)});},async _0x3716ff=>{await withTelemetry(_0x44ba09['IqTMg'],()=>featureShow(_0x3716ff['id']));})['command']('resume\x20[id]',_0x5ca7c5(0x2dc),_0x18649d=>{const _0x51ca20=_0x5ca7c5;return _0x18649d[_0x51ca20(0x329)]('id',{'type':_0x44ba09['JPmNQ'],'description':_0x51ca20(0x20d)});},async _0xd209ed=>{await withTelemetry(_0x44ba09['MlmTd'],()=>featureResume(_0xd209ed['id']));})['command'](_0x44ba09[_0x5ca7c5(0x2ec)],'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x411eba=>{const _0x25a47d=_0x5ca7c5;return _0x411eba['positional']('description',{'type':'string','description':_0x44ba09[_0x25a47d(0x2aa)],'demandOption':!![]})[_0x25a47d(0x200)]('id',{'type':_0x25a47d(0x1df),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x3b95f1=>{const _0x1bb19b=_0x5ca7c5;await _0x44ba09[_0x1bb19b(0x31d)](withTelemetry,_0x44ba09[_0x1bb19b(0x350)],()=>featureAddScenario(_0x3b95f1['description'],_0x3b95f1['id']));})['command'](_0x5ca7c5(0x2d8),_0x44ba09[_0x5ca7c5(0x339)],_0x5cb851=>{const _0x2f68fa=_0x5ca7c5;return _0x5cb851['positional'](_0x2f68fa(0x375),{'type':_0x44ba09['JPmNQ'],'description':'New\x20scenario\x20description','demandOption':!![]})['option'](_0x44ba09[_0x2f68fa(0x1f5)],{'type':_0x2f68fa(0x367),'description':_0x44ba09['tBfor'],'demandOption':!![]})[_0x2f68fa(0x200)]('id',{'type':_0x2f68fa(0x1df),'description':_0x44ba09['sGoNu']});},async _0x4545aa=>{const _0x2efabf=_0x5ca7c5;await withTelemetry(_0x2efabf(0x368),()=>featureEditScenario(_0x4545aa[_0x2efabf(0x375)],{'id':_0x4545aa['id'],'scenario':_0x4545aa['scenario']}));})[_0x5ca7c5(0x1cf)](_0x5ca7c5(0x314),_0x44ba09['xFauq'],_0x4c81fe=>{const _0xc4c88a=_0x5ca7c5;return _0x4c81fe['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'})['option'](_0xc4c88a(0x2cf),{'type':_0xc4c88a(0x2be),'description':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'})['option'](_0x44ba09[_0xc4c88a(0x206)],{'type':_0x44ba09['xcvCU'],'description':_0x44ba09['CukFV'],'default':![]});},async _0x45dea6=>{const _0x4951c8=_0x5ca7c5,_0x3aecf5=_0x45dea6[_0x4951c8(0x2cf)],_0x23d0a1=_0x3aecf5?_0x3aecf5[_0x4951c8(0x1e5)](_0x4ae454=>Number(_0x4ae454)):undefined;await _0x44ba09[_0x4951c8(0x31d)](withTelemetry,_0x44ba09['UfByq'],()=>featureReportPrDescription(_0x45dea6['id'],{'excludeScenarios':_0x23d0a1,'json':_0x45dea6['json']}));})['command']('get-review\x20[id]',_0x5ca7c5(0x2fb),_0x239648=>{const _0x19ab1e=_0x5ca7c5;return _0x239648['positional']('id',{'type':_0x44ba09[_0x19ab1e(0x1d2)],'description':_0x44ba09[_0x19ab1e(0x1d9)]});},async _0x130526=>{const _0x1cff2f=_0x5ca7c5;await _0x44ba09['Vumxt'](withTelemetry,_0x1cff2f(0x273),()=>featureGetReview(_0x130526['id']));})[_0x5ca7c5(0x1cf)]('delete\x20[id]',_0x44ba09['VOcGY'],_0xac9ceb=>{const _0x3cd64d=_0x5ca7c5;return _0xac9ceb[_0x3cd64d(0x329)]('id',{'type':_0x3cd64d(0x1df),'description':_0x44ba09[_0x3cd64d(0x1e0)]});},async _0x2c89de=>{const _0x1b54ea=_0x5ca7c5;await _0x44ba09['HfNkp'](withTelemetry,_0x1b54ea(0x1cc),()=>featureDelete(_0x2c89de['id']));})['command'](_0x5ca7c5(0x22c),_0x5ca7c5(0x2da),_0x5f56e8=>{return _0x5f56e8['positional']('id',{'type':'string','description':_0x44ba09['BcCbe'],'demandOption':!![]});},async _0x49520d=>{const _0x45f37e=_0x5ca7c5;await _0x44ba09[_0x45f37e(0x1bf)](withTelemetry,_0x44ba09[_0x45f37e(0x2ce)],()=>featureRestore(_0x49520d['id']));})[_0x5ca7c5(0x1cf)](_0x44ba09['vcmKc'],'Initialize\x20Ranger\x20in\x20your\x20project',_0x3600bd=>{const _0x35d2f8=_0x5ca7c5,_0x598ce9={'kIbPI':_0x35d2f8(0x1df),'VqWxC':_0x44ba09[_0x35d2f8(0x34c)],'QRfmA':_0x44ba09['wLzsY'],'UXjgv':_0x35d2f8(0x29e),'Etudq':_0x44ba09['kthyr'],'Optmf':_0x44ba09['fpCro'],'XxiZy':'with-deps','SMXSt':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','giecO':_0x44ba09[_0x35d2f8(0x234)],'UolDP':_0x44ba09[_0x35d2f8(0x2b6)],'VphDO':_0x44ba09[_0x35d2f8(0x27a)],'KgSTG':_0x44ba09[_0x35d2f8(0x31f)],'hXdDZ':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','TYmyD':_0x44ba09['SxaGF'],'sNCzm':_0x44ba09['UawrG'],'fEZcE':function(_0x61ab9d,_0x216cd5,_0x4c7ff6){const _0x5d7f23=_0x35d2f8;return _0x44ba09[_0x5d7f23(0x31d)](_0x61ab9d,_0x216cd5,_0x4c7ff6);},'HRnEG':'setup:all','BfFYt':_0x44ba09['HqOPH'],'iKTsr':function(_0x68a52f,_0x34c3b2){const _0x5cecd3=_0x35d2f8;return _0x44ba09[_0x5cecd3(0x1fb)](_0x68a52f,_0x34c3b2);},'eiOeG':function(_0x5f0237,_0x39d698,_0x3aeace){return _0x5f0237(_0x39d698,_0x3aeace);},'NvNtJ':_0x44ba09['uyiDG'],'PCiRu':function(_0x545f0c,_0x2764fa){return _0x545f0c(_0x2764fa);},'euuFS':function(_0x37e956,_0x594d37,_0x42711b){return _0x37e956(_0x594d37,_0x42711b);},'JPMYZ':_0x35d2f8(0x2e3),'fSMuO':_0x44ba09['EtKuX'],'toYFZ':_0x35d2f8(0x28d),'ZJLUA':_0x35d2f8(0x35a)};return _0x3600bd[_0x35d2f8(0x2fd)](_0x35d2f8(0x22e))['positional'](_0x44ba09[_0x35d2f8(0x253)],{'type':_0x35d2f8(0x1df),'description':_0x35d2f8(0x26d)})['command']('all',_0x35d2f8(0x27f),_0x1e57b4=>{const _0x55a7d9=_0x35d2f8;return _0x1e57b4['option']('token',{'type':_0x598ce9[_0x55a7d9(0x1d7)],'description':_0x598ce9['VqWxC']})['option'](_0x598ce9[_0x55a7d9(0x370)],{'type':_0x598ce9[_0x55a7d9(0x272)],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x55a7d9(0x200)](_0x598ce9['Etudq'],{'type':_0x55a7d9(0x29e),'description':_0x598ce9[_0x55a7d9(0x1d4)],'default':![]})['option'](_0x598ce9[_0x55a7d9(0x325)],{'type':_0x598ce9['UXjgv'],'description':_0x598ce9[_0x55a7d9(0x25c)],'default':![]})['option'](_0x598ce9[_0x55a7d9(0x1ec)],{'type':_0x598ce9['kIbPI'],'choices':[_0x598ce9['UolDP'],_0x598ce9['VphDO']],'description':_0x598ce9[_0x55a7d9(0x209)]})['option']('url',{'type':_0x598ce9['kIbPI'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})['option'](_0x55a7d9(0x35a),{'type':'boolean','description':_0x598ce9['hXdDZ'],'default':![]})[_0x55a7d9(0x200)](_0x55a7d9(0x333),{'type':'boolean','description':_0x55a7d9(0x264),'default':![]})['option'](_0x598ce9['TYmyD'],{'type':_0x55a7d9(0x29e),'description':_0x55a7d9(0x2d3),'default':![]})['option']('mcp-bootstrap',{'type':_0x598ce9['UXjgv'],'description':_0x55a7d9(0x2e1),'default':![]})['option']('mcp',{'type':_0x598ce9[_0x55a7d9(0x272)],'description':'Alias\x20for\x20--mcp-bootstrap','default':![]});},async _0x1d3592=>{const _0x2cd034=_0x35d2f8;(_0x1d3592[_0x598ce9[_0x2cd034(0x233)]]||_0x1d3592['mcp'])&&await withTelemetry(_0x598ce9['sNCzm'],()=>mcpBootstrap()),await _0x598ce9['fEZcE'](withTelemetry,_0x598ce9[_0x2cd034(0x2b7)],_0x23c90a=>start(_0x1d3592['token'],{'skipChromium':_0x1d3592['skip-chromium'],'skipAuth':_0x1d3592[_0x2cd034(0x335)],'withDeps':_0x1d3592[_0x2cd034(0x348)],'scope':_0x1d3592[_0x2cd034(0x28b)],'url':_0x1d3592['url'],'force':_0x1d3592['force'],'opencode':_0x1d3592['opencode'],'allowInsecureLocalhost':_0x1d3592[_0x2cd034(0x1f9)]},_0x23c90a));})['command']('deps',_0x44ba09['nTuIr'],_0x42471d=>{const _0x5b4b35=_0x35d2f8;return _0x42471d['option']('with-deps',{'type':_0x598ce9['UXjgv'],'description':_0x598ce9[_0x5b4b35(0x304)],'default':![]});},async _0x12861b=>{const _0x1f15a7=_0x35d2f8;await withTelemetry(_0x44ba09[_0x1f15a7(0x1c5)],()=>ensureChromium(_0x12861b[_0x1f15a7(0x348)]));})[_0x35d2f8(0x1cf)](_0x44ba09['lyTbd'],_0x44ba09[_0x35d2f8(0x288)],_0x2844fd=>{const _0x5839cd=_0x35d2f8;return _0x2844fd[_0x5839cd(0x200)]('token',{'type':'string','description':_0x5839cd(0x20c)})['option'](_0x44ba09['gIZcd'],{'type':_0x5839cd(0x29e),'description':_0x44ba09[_0x5839cd(0x282)],'default':![]});},async _0x25e463=>{const _0x3edff1={'xRLgX':function(_0x5d1616){const _0x23b145=_0x1deb;return _0x44ba09[_0x23b145(0x294)](_0x5d1616);},'VaQIK':function(_0x143a4b,_0x1c7557){return _0x143a4b(_0x1c7557);},'Rznqf':function(_0x3bb911,_0x291cbe){return _0x3bb911(_0x291cbe);}};await withTelemetry(_0x44ba09['PrJEI'],async()=>{const _0x5bb41e=_0x1deb;if(_0x25e463[_0x5bb41e(0x346)]){await _0x3edff1['xRLgX'](mcpBootstrap);const _0x5d3eaf=await _0x3edff1[_0x5bb41e(0x2a1)](refreshCliToken);if(!_0x5d3eaf)throw new Error(_0x5bb41e(0x249));const _0x13f8d3=await _0x3edff1[_0x5bb41e(0x1c2)](getCurrentUser,_0x5d3eaf);if(!_0x13f8d3['success'])throw new Error(_0x5bb41e(0x308)+_0x13f8d3['error']);console['log'](_0x5bb41e(0x369)+_0x13f8d3['user']['organizationName']);return;}await _0x3edff1[_0x5bb41e(0x1e6)](authenticate,_0x25e463['token']);});})[_0x35d2f8(0x1cf)](_0x44ba09[_0x35d2f8(0x30f)],_0x44ba09[_0x35d2f8(0x327)],_0x5a0ab3=>{const _0x284b21=_0x35d2f8;return _0x5a0ab3[_0x284b21(0x200)](_0x284b21(0x28b),{'type':_0x44ba09[_0x284b21(0x1d2)],'choices':[_0x284b21(0x351),_0x44ba09[_0x284b21(0x27a)]],'description':_0x44ba09[_0x284b21(0x31f)]})['option'](_0x44ba09[_0x284b21(0x31e)],{'type':'boolean','description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]});},async _0xe97736=>{await _0x598ce9['euuFS'](withTelemetry,_0x598ce9['JPMYZ'],async()=>{const _0x186c5e=_0x1deb,_0x263bcd=_0xe97736['scope'];if(_0xe97736['opencode']){const _0x370fb3=await _0x598ce9[_0x186c5e(0x36f)](ensureOpencodePluginConfig,_0x263bcd);_0x370fb3&&await _0x598ce9[_0x186c5e(0x210)](installSkill,_0x598ce9['NvNtJ'],{'level':_0x370fb3[_0x186c5e(0x28b)],'cliVersion':getCurrentVersion(),'platform':_0x186c5e(0x333)});}else await _0x598ce9[_0x186c5e(0x36f)](ensureClaudePlugin,_0x263bcd),await _0x598ce9[_0x186c5e(0x262)](ensureClaudeSkills,_0x263bcd);});})['command'](_0x44ba09[_0x35d2f8(0x28c)],_0x35d2f8(0x255),_0x4b7696=>{const _0x37ab8b=_0x35d2f8;return _0x4b7696[_0x37ab8b(0x200)]('scope',{'type':_0x598ce9[_0x37ab8b(0x1d7)],'choices':[_0x598ce9['UolDP'],_0x37ab8b(0x33c)],'description':_0x37ab8b(0x2ef)})[_0x37ab8b(0x200)]('url',{'type':_0x598ce9[_0x37ab8b(0x1d7)],'description':_0x598ce9[_0x37ab8b(0x2e9)]})['option'](_0x598ce9[_0x37ab8b(0x275)],{'type':_0x37ab8b(0x29e),'description':_0x598ce9['toYFZ'],'default':![]})['option'](_0x598ce9[_0x37ab8b(0x2bd)],{'type':_0x598ce9[_0x37ab8b(0x272)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x598ce9[_0x37ab8b(0x1f4)],{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x548b92=>{const _0x2a64a0=_0x35d2f8;await _0x44ba09['aNkdm'](withTelemetry,_0x2a64a0(0x246),_0x425d8a=>ensureLocalEnv({'url':_0x548b92['url'],'force':_0x548b92[_0x2a64a0(0x35a)],'allowInsecureLocalhost':_0x548b92['allow-insecure-localhost'],'scope':_0x548b92['scope']===_0x2a64a0(0x351)?_0x2a64a0(0x351):undefined},_0x425d8a));})['option'](_0x44ba09[_0x35d2f8(0x20a)],{'type':'boolean','description':_0x35d2f8(0x37e),'default':![]})[_0x35d2f8(0x200)](_0x35d2f8(0x28b),{'type':_0x44ba09[_0x35d2f8(0x1d2)],'choices':['user',_0x44ba09['rrmGM']],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})['option'](_0x44ba09['xKIGH'],{'type':_0x35d2f8(0x1df),'description':_0x35d2f8(0x1d0)})['option'](_0x35d2f8(0x35a),{'type':_0x44ba09['xcvCU'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x35d2f8(0x333),{'type':_0x44ba09['xcvCU'],'description':_0x35d2f8(0x264),'default':![]})[_0x35d2f8(0x200)](_0x44ba09[_0x35d2f8(0x252)],{'type':_0x44ba09['xcvCU'],'description':_0x44ba09['LLXKK'],'default':![]})['option'](_0x35d2f8(0x36b),{'type':_0x44ba09['xcvCU'],'description':_0x44ba09['Sgeru'],'default':![]})[_0x35d2f8(0x200)](_0x35d2f8(0x335),{'type':_0x44ba09[_0x35d2f8(0x30a)],'description':_0x44ba09[_0x35d2f8(0x32e)],'default':![]})[_0x35d2f8(0x200)](_0x44ba09['GBOEA'],{'type':_0x44ba09['xcvCU'],'description':_0x44ba09[_0x35d2f8(0x1c6)],'default':![]})[_0x35d2f8(0x200)](_0x44ba09['NwmDN'],{'type':_0x44ba09['JPmNQ'],'hidden':!![],'description':_0x44ba09[_0x35d2f8(0x1c3)]});},async _0x13806c=>{const _0x1794f7=_0x5ca7c5,_0x4fc101=_0x13806c['tokenOrSubcommand'],_0x591b5f=_0x13806c[_0x1794f7(0x217)]??_0x4fc101;_0x13806c[_0x1794f7(0x36b)]&&await withTelemetry(_0x1794f7(0x36b),()=>mcpBootstrap()),await _0x44ba09[_0x1794f7(0x1bf)](withTelemetry,'start',_0x58cae6=>start(_0x591b5f,{'skipChromium':_0x13806c['skip-chromium'],'skipAuth':_0x13806c[_0x1794f7(0x335)],'withDeps':_0x13806c['with-deps'],'scope':_0x13806c['scope'],'url':_0x13806c[_0x1794f7(0x260)],'force':_0x13806c['force'],'opencode':_0x13806c[_0x1794f7(0x333)],'allowInsecureLocalhost':_0x13806c[_0x1794f7(0x1f9)]},_0x58cae6));})['command'](_0x44ba09[_0x5ca7c5(0x33e)],_0x5ca7c5(0x267),_0x28a775=>{const _0x3afeba=_0x5ca7c5;return _0x28a775['positional'](_0x3afeba(0x217),{'type':_0x44ba09[_0x3afeba(0x1d2)],'description':_0x3afeba(0x2b1),'demandOption':!![]})['option']('profile',{'type':'string','description':_0x44ba09[_0x3afeba(0x289)]})['option']('base-url',{'type':_0x44ba09[_0x3afeba(0x1d2)],'description':_0x3afeba(0x23d)})['option'](_0x44ba09[_0x3afeba(0x20a)],{'type':_0x44ba09['xcvCU'],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x2d8232=>{const _0x2a1760=_0x5ca7c5;await withTelemetry(_0x44ba09['ndOld'],_0x4d7fe0=>setupCi(_0x2d8232[_0x2a1760(0x217)],{'profile':_0x2d8232['profile'],'baseUrl':_0x2d8232['base-url'],'skipChromium':_0x2d8232[_0x2a1760(0x1ef)]},_0x4d7fe0));})['command'](_0x44ba09['lyTbd'],_0x44ba09[_0x5ca7c5(0x235)],()=>{},async()=>{const _0x574761=_0x5ca7c5;await withTelemetry(_0x44ba09[_0x574761(0x211)],()=>login());})[_0x5ca7c5(0x1cf)]('skillup',_0x44ba09[_0x5ca7c5(0x251)],_0x3b07fc=>{const _0x11f772=_0x5ca7c5;return _0x3b07fc[_0x11f772(0x200)](_0x44ba09['Lriim'],{'type':_0x44ba09['xcvCU'],'description':_0x44ba09['eILyW'],'default':![]})['option'](_0x44ba09['WyAlH'],{'type':'string','choices':[_0x11f772(0x351),_0x44ba09[_0x11f772(0x27a)]],'description':_0x44ba09['jPMeB']});},async _0x518dbf=>{const _0x7730ad=_0x5ca7c5,_0x3777b6=_0x44ba09['Kelal'](Boolean,_0x518dbf['opencode']);await withTelemetry(_0x44ba09[_0x7730ad(0x30b)],()=>skillup({'autoInstall':_0x518dbf[_0x7730ad(0x28b)],'platform':_0x3777b6?_0x7730ad(0x333):_0x7730ad(0x30d)}));})[_0x5ca7c5(0x1cf)](_0x5ca7c5(0x2d7),_0x44ba09['toJJU'],()=>{},async()=>{await _0x44ba09['HfNkp'](withTelemetry,_0x44ba09['fbsNG'],()=>clean());})[_0x5ca7c5(0x1cf)]([_0x44ba09[_0x5ca7c5(0x2a6)],'profiles'],_0x44ba09[_0x5ca7c5(0x2cd)],_0x3f2fc7=>{const _0x14254e=_0x5ca7c5,_0x30041f={'gTojp':_0x14254e(0x373),'PErCo':_0x14254e(0x263),'XCUUv':'profile-name','SSHBy':_0x44ba09['JPmNQ'],'VUGOC':_0x44ba09[_0x14254e(0x219)],'TCOhH':_0x14254e(0x36c),'Nwxml':_0x14254e(0x1d8),'wXKDL':'allow-insecure-localhost','vnSzD':'profile\x20update','BrsQF':_0x14254e(0x37f),'SzSEi':function(_0x49ef42,_0x15896b,_0x440608){const _0x111d7a=_0x14254e;return _0x44ba09[_0x111d7a(0x321)](_0x49ef42,_0x15896b,_0x440608);},'UQwTZ':_0x44ba09['xwTAZ'],'UCBCQ':_0x44ba09[_0x14254e(0x2b0)],'niQOA':_0x14254e(0x29e),'DPozB':_0x44ba09['UafXO'],'huAdr':_0x14254e(0x208),'SjTsG':_0x14254e(0x377),'RTmcK':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','trNoN':_0x14254e(0x311)};return _0x3f2fc7['usage'](PROFILE_HELP)['command'](_0x14254e(0x307),_0x14254e(0x281),_0x34ab56=>{const _0x5fa7a0=_0x14254e;return _0x34ab56['positional'](_0x44ba09['LVMEy'],{'type':_0x44ba09[_0x5fa7a0(0x1d2)],'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x5fa7a0(0x29e),'description':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x5fa7a0(0x335),{'type':_0x5fa7a0(0x29e),'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0x5fa7a0(0x200)](_0x44ba09['xKIGH'],{'type':_0x44ba09[_0x5fa7a0(0x1d2)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)'})[_0x5fa7a0(0x200)](_0x44ba09[_0x5fa7a0(0x214)],{'type':_0x44ba09['xcvCU'],'description':_0x44ba09['RZsov'],'default':![]})['option'](_0x5fa7a0(0x263),{'type':_0x5fa7a0(0x1df),'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})['option'](_0x5fa7a0(0x1f9),{'type':'boolean','description':_0x5fa7a0(0x352),'default':![]})[_0x5fa7a0(0x200)]('safe-mode',{'type':_0x5fa7a0(0x29e),'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]})['option'](_0x44ba09[_0x5fa7a0(0x319)],{'type':'string','array':!![],'description':_0x44ba09['uaDbd']})[_0x5fa7a0(0x200)](_0x44ba09['WyAlH'],{'type':_0x44ba09[_0x5fa7a0(0x1d2)],'choices':[_0x44ba09[_0x5fa7a0(0x2b6)],_0x44ba09[_0x5fa7a0(0x27a)]],'description':_0x5fa7a0(0x305)})[_0x5fa7a0(0x200)](_0x5fa7a0(0x208),{'type':_0x5fa7a0(0x29e),'alias':'y','description':_0x44ba09[_0x5fa7a0(0x2f8)],'default':![]});},async _0x13caca=>{const _0x1e57b3=_0x14254e;await withTelemetry(_0x30041f[_0x1e57b3(0x1fd)],_0x29b9bc=>addEnv(_0x13caca['profile-name'],{'ci':_0x13caca['ci'],'skipAuth':_0x13caca[_0x1e57b3(0x335)],'url':_0x13caca['url'],'force':_0x13caca[_0x1e57b3(0x35a)],'cdpEndpoint':_0x13caca['cdp-endpoint'],'allowInsecureLocalhost':_0x13caca['allow-insecure-localhost'],'safeMode':_0x13caca['safe-mode'],'setupHeader':_0x13caca['setup-header'],'scope':_0x13caca['scope'],'yes':_0x13caca[_0x1e57b3(0x208)]},_0x29b9bc),{'isElectron':Boolean(_0x13caca[_0x30041f[_0x1e57b3(0x2b9)]])});})[_0x14254e(0x1cf)](_0x44ba09[_0x14254e(0x27d)],_0x44ba09[_0x14254e(0x2a7)],_0x324985=>{const _0x384011=_0x14254e;return _0x324985[_0x384011(0x329)](_0x30041f[_0x384011(0x1f7)],{'type':_0x30041f['SSHBy'],'description':'Name\x20of\x20the\x20profile','demandOption':!![]});},async _0x1d0ef9=>{const _0x57fb5b=_0x14254e;await withTelemetry(_0x57fb5b(0x270),()=>useEnv(_0x1d0ef9['profile-name']));})['command']('encrypt-auth\x20<profile>',_0x14254e(0x2d4),_0x435981=>{const _0x1ee40c=_0x14254e;return _0x435981['positional'](_0x1ee40c(0x311),{'type':_0x1ee40c(0x1df),'description':_0x30041f['VUGOC'],'demandOption':!![]});},async _0x57adf6=>{const _0x205d1d=_0x14254e;await _0x44ba09[_0x205d1d(0x31d)](withTelemetry,_0x44ba09['jzPLk'],()=>authEncrypt(_0x57adf6[_0x205d1d(0x311)]));})['command']('ls',_0x14254e(0x2f2),()=>{},async()=>{const _0x4e5ab4=_0x14254e;await withTelemetry(_0x30041f[_0x4e5ab4(0x1ca)],()=>envList());})['command'](_0x14254e(0x29d),_0x44ba09[_0x14254e(0x269)],_0x1a0e56=>{const _0x1a372d=_0x14254e;return _0x1a0e56[_0x1a372d(0x329)](_0x30041f[_0x1a372d(0x1f7)],{'type':_0x30041f['SSHBy'],'description':_0x30041f[_0x1a372d(0x32d)],'demandOption':!![]})['option'](_0x30041f['wXKDL'],{'type':_0x1a372d(0x29e),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)'});},async _0x25ef44=>{const _0x202f08=_0x14254e;await withTelemetry(_0x30041f[_0x202f08(0x257)],_0x4c8654=>updateEnv(_0x25ef44[_0x202f08(0x237)],_0x4c8654,{'allowInsecureLocalhost':_0x25ef44[_0x202f08(0x1f9)]}));})['command'](_0x44ba09['mmUWc'],![],_0x35c651=>{const _0x1294c5=_0x14254e;return _0x35c651[_0x1294c5(0x329)](_0x1294c5(0x35c),{'type':_0x44ba09[_0x1294c5(0x1d2)],'description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0xe277c5=>{await withTelemetry('profile\x20login',async()=>{const _0x4d89c9=_0x1deb,_0x1c3c57=process['env']['RANGER_TEST_USERNAME'],_0x156bd0=process['env'][_0x4d89c9(0x26b)];(!_0x1c3c57||!_0x156bd0)&&(console['error'](_0x30041f['BrsQF']),process[_0x4d89c9(0x1e4)](0x1));const _0x44c78b=_0xe277c5['name'],_0x718727=await _0x30041f[_0x4d89c9(0x2e0)](serverSideLogin,_0x44c78b,{'force':!![]});_0x718727[_0x4d89c9(0x300)]===_0x4d89c9(0x236)&&(console['error'](_0x4d89c9(0x2dd)),process[_0x4d89c9(0x1e4)](0x1)),_0x718727['status']===_0x4d89c9(0x242)&&(console[_0x4d89c9(0x212)](_0x4d89c9(0x24f)+(_0x718727[_0x4d89c9(0x212)]??'unknown\x20error')),_0x718727['test_output']&&console['error'](_0x718727[_0x4d89c9(0x331)]),process[_0x4d89c9(0x1e4)](0x1)),console['log']('✓\x20Server-side\x20login\x20succeeded\x20for\x20\x27'+_0x44c78b+'\x27.\x20Session\x20written\x20to\x20cloud\x20profile.');});})[_0x14254e(0x1cf)](_0x44ba09[_0x14254e(0x1dc)],'Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)',_0x1e62db=>{const _0x2f58f2=_0x14254e;return _0x1e62db[_0x2f58f2(0x329)](_0x30041f['XCUUv'],{'type':_0x2f58f2(0x1df),'description':_0x30041f['UQwTZ']})[_0x2f58f2(0x200)](_0x30041f['UCBCQ'],{'type':_0x30041f['niQOA'],'description':_0x2f58f2(0x317),'default':![]})[_0x2f58f2(0x200)](_0x2f58f2(0x247),{'type':'boolean','description':_0x30041f['DPozB'],'default':![]})['option'](_0x30041f['huAdr'],{'type':'boolean','alias':'y','description':_0x2f58f2(0x23c),'default':![]})['option'](_0x30041f['SjTsG'],{'type':'boolean','description':_0x30041f[_0x2f58f2(0x228)],'default':![]});},async _0x279d87=>{const _0x43317d=_0x14254e;await withTelemetry(_0x44ba09['ZpGHg'],_0x1f32bd=>migrateProfile({'profileName':_0x279d87['profile-name'],'all':_0x279d87[_0x43317d(0x1c7)],'dryRun':_0x279d87['dry-run'],'yes':_0x279d87[_0x43317d(0x208)],'saveCreds':_0x279d87[_0x43317d(0x377)]},_0x1f32bd));})['command'](_0x44ba09['xToAD'],_0x44ba09[_0x14254e(0x2cc)],_0x25f03b=>{const _0x182771=_0x14254e,_0x456e9d={'uiSeT':_0x44ba09[_0x182771(0x1d2)],'StWss':'key','LLwJX':_0x44ba09[_0x182771(0x27c)],'folrF':_0x182771(0x311),'kdreT':_0x44ba09[_0x182771(0x219)],'adSeN':_0x44ba09[_0x182771(0x287)],'mADDT':_0x182771(0x28e),'MlNvU':_0x44ba09['khpZb']};return _0x25f03b['usage'](PROFILE_CONFIG_HELP)['command'](_0x182771(0x1ee),_0x44ba09[_0x182771(0x301)],_0x4a5df6=>{const _0x15cf7f=_0x182771;return _0x4a5df6['positional'](_0x15cf7f(0x311),{'type':_0x456e9d[_0x15cf7f(0x21a)],'description':_0x15cf7f(0x296),'demandOption':!![]})[_0x15cf7f(0x329)](_0x456e9d['StWss'],{'type':_0x456e9d[_0x15cf7f(0x21a)],'description':_0x15cf7f(0x315),'demandOption':!![]})['positional'](_0x456e9d['LLwJX'],{'type':_0x456e9d['uiSeT'],'description':_0x15cf7f(0x32b),'demandOption':!![]});},async _0x306d52=>{const _0x59c05c=_0x182771;await _0x30041f[_0x59c05c(0x2e0)](withTelemetry,_0x59c05c(0x2a5),()=>configSet(_0x306d52[_0x59c05c(0x311)],_0x306d52['key'],_0x306d52['value']));})[_0x182771(0x1cf)](_0x182771(0x20f),_0x182771(0x278),_0x2c67f0=>{const _0xa92222=_0x182771;return _0x2c67f0[_0xa92222(0x329)](_0x30041f[_0xa92222(0x202)],{'type':_0xa92222(0x1df),'description':_0x30041f['VUGOC'],'demandOption':!![]})[_0xa92222(0x329)](_0xa92222(0x2df),{'type':_0x30041f['SSHBy'],'description':'Config\x20key','demandOption':!![]});},async _0x27f6b0=>{const _0x521749=_0x182771;await _0x30041f[_0x521749(0x2e0)](withTelemetry,_0x521749(0x29b),()=>configGet(_0x27f6b0[_0x521749(0x311)],_0x27f6b0[_0x521749(0x2df)]));})[_0x182771(0x1cf)](_0x182771(0x32f),_0x182771(0x227),_0x36c834=>{const _0x1941f8=_0x182771;return _0x36c834['positional'](_0x456e9d[_0x1941f8(0x2f6)],{'type':_0x456e9d['uiSeT'],'description':_0x456e9d[_0x1941f8(0x35f)],'demandOption':!![]});},async _0x432076=>{const _0xcdeac9=_0x182771;await withTelemetry(_0x456e9d['adSeN'],()=>configList(_0x432076[_0xcdeac9(0x311)]));})[_0x182771(0x1cf)](_0x44ba09[_0x182771(0x1e1)],_0x44ba09['MchHC'],_0x354cd7=>{const _0x8dfcc6=_0x182771;return _0x354cd7[_0x8dfcc6(0x329)](_0x8dfcc6(0x311),{'type':_0x456e9d[_0x8dfcc6(0x21a)],'description':_0x456e9d[_0x8dfcc6(0x35f)],'demandOption':!![]})[_0x8dfcc6(0x329)]('key',{'type':_0x456e9d['uiSeT'],'description':_0x456e9d['mADDT'],'demandOption':!![]});},async _0x398604=>{const _0x191ab2=_0x182771;await withTelemetry(_0x456e9d['MlNvU'],()=>configUnset(_0x398604[_0x191ab2(0x311)],_0x398604[_0x191ab2(0x2df)]));})[_0x182771(0x1cf)](_0x44ba09['AVxXh'],'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile\x20(cloud\x20profiles\x20only)',_0x5ed465=>{const _0x4cac9a=_0x182771;return _0x5ed465['positional'](_0x4cac9a(0x311),{'type':_0x30041f['SSHBy'],'description':'Profile\x20name','demandOption':!![]});},async _0x5d4d49=>{const _0x2c2059=_0x182771;await withTelemetry(_0x2c2059(0x225),()=>configReset(_0x5d4d49['profile']));})[_0x182771(0x2d0)](0x1,_0x182771(0x354));})['demandCommand'](0x1,_0x44ba09[_0x14254e(0x2f4)]);})['command']('status',_0x44ba09['FEOoU'],()=>{},async()=>{await withTelemetry(_0x44ba09['LOBVH'],()=>status());})[_0x5ca7c5(0x1cf)](_0x5ca7c5(0x2c6),'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{await withTelemetry('update',()=>update());})[_0x5ca7c5(0x1cf)](_0x44ba09[_0x5ca7c5(0x1db)],'Print\x20the\x20current\x20CLI\x20access\x20token',()=>{},async()=>{const _0x56f1cc=_0x5ca7c5,_0x356cbc={'JjtWZ':function(_0x2852fe){return _0x2852fe();},'OHhrQ':_0x44ba09[_0x56f1cc(0x33d)]};await withTelemetry(_0x44ba09[_0x56f1cc(0x1db)],async()=>{const _0x4bef2a=_0x56f1cc,_0x53ad1d=await _0x356cbc[_0x4bef2a(0x32c)](getToken);if(!_0x53ad1d)throw new Error(_0x356cbc['OHhrQ']);console['log'](_0x53ad1d);});})[_0x5ca7c5(0x1cf)]('go',_0x5ca7c5(0x280),_0x52a92c=>{const _0x57ea04=_0x5ca7c5;return _0x52a92c[_0x57ea04(0x200)](_0x44ba09[_0x57ea04(0x343)],{'type':_0x44ba09[_0x57ea04(0x1d2)],'description':'Optional\x20feature\x20ID'})[_0x57ea04(0x200)](_0x44ba09['uYyFF'],{'type':_0x44ba09['JPmNQ'],'description':_0x44ba09['oGmKd']})['option'](_0x57ea04(0x366),{'type':_0x44ba09[_0x57ea04(0x1d2)],'description':_0x57ea04(0x323)})['option']('scenario',{'type':_0x57ea04(0x367),'description':'Scenario\x20index\x20(1-based)'})[_0x57ea04(0x200)]('start-path',{'type':_0x44ba09['JPmNQ'],'description':_0x44ba09['UBsQS']})['option'](_0x57ea04(0x266),{'type':_0x44ba09[_0x57ea04(0x1d2)],'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x57ea04(0x200)]('model',{'type':'string','description':_0x57ea04(0x2a4)})['option'](_0x57ea04(0x226),{'type':_0x57ea04(0x29e),'description':_0x44ba09['AKyFF'],'default':![]})[_0x57ea04(0x200)](_0x57ea04(0x295),{'type':_0x44ba09[_0x57ea04(0x1d2)],'hidden':!![],'choices':[_0x57ea04(0x2e6),_0x44ba09['esfoR'],_0x44ba09['cYxkf'],_0x44ba09['CSXmS'],'incomplete']})['option'](_0x44ba09[_0x57ea04(0x250)],{'type':_0x44ba09[_0x57ea04(0x30a)],'hidden':!![]})['option'](_0x57ea04(0x349),{'type':_0x44ba09[_0x57ea04(0x1d2)],'hidden':!![]})[_0x57ea04(0x200)](_0x44ba09['rJEHl'],{'type':'string','hidden':!![]})[_0x57ea04(0x200)](_0x44ba09['csobG'],{'type':'number','hidden':!![]});},async _0x1375d1=>{const _0x217777=_0x5ca7c5;await _0x44ba09[_0x217777(0x224)](runGoCommand,_0x1375d1);})[_0x5ca7c5(0x1cf)]('auth',![],_0x53c4de=>{const _0x4d78c0=_0x5ca7c5;return _0x53c4de['command'](_0x44ba09['BYnxm'],![],_0x1034e7=>{const _0xe7513e=_0x1deb;return _0x1034e7['positional']('profile',{'type':_0xe7513e(0x1df),'description':_0x44ba09[_0xe7513e(0x219)],'demandOption':!![]});},async _0x447c7f=>{const _0x4b2d60=_0x1deb;warnRenamed('ranger\x20auth\x20encrypt',_0x4b2d60(0x26e)),await authEncrypt(_0x447c7f['profile']);})[_0x4d78c0(0x2d0)](0x1,_0x4d78c0(0x2bf));},()=>{})['command']('start\x20[token]',![],_0x317a85=>{const _0x25a491=_0x5ca7c5;return _0x317a85[_0x25a491(0x329)](_0x25a491(0x217),{'type':'string','description':_0x44ba09['qUqJP']})[_0x25a491(0x200)](_0x44ba09[_0x25a491(0x20a)],{'type':'boolean','description':_0x44ba09[_0x25a491(0x2e2)],'default':![]})[_0x25a491(0x200)](_0x44ba09[_0x25a491(0x234)],{'type':'string','choices':[_0x25a491(0x351),_0x44ba09[_0x25a491(0x27a)]],'description':_0x25a491(0x2d6)})['option'](_0x25a491(0x260),{'type':_0x44ba09[_0x25a491(0x1d2)],'description':_0x25a491(0x1d0)})[_0x25a491(0x200)]('force',{'type':_0x44ba09['xcvCU'],'description':_0x44ba09[_0x25a491(0x245)],'default':![]})['option'](_0x44ba09['kthyr'],{'type':'boolean','description':'Skip\x20authentication','default':![]})[_0x25a491(0x200)]('with-deps',{'type':_0x25a491(0x29e),'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]});},async _0x357be3=>{const _0x5921c7=_0x5ca7c5;warnRenamed(_0x44ba09[_0x5921c7(0x203)],'ranger\x20setup'),await _0x44ba09['Vumxt'](withTelemetry,_0x5921c7(0x1c1),_0x25e35e=>start(_0x357be3[_0x5921c7(0x217)],{'skipChromium':_0x357be3[_0x5921c7(0x1ef)],'skipAuth':_0x357be3['skip-auth'],'withDeps':_0x357be3['with-deps'],'scope':_0x357be3['scope'],'url':_0x357be3['url'],'force':_0x357be3['force']},_0x25e35e));})['command'](_0x44ba09[_0x5ca7c5(0x2f0)],![],_0x1f8623=>{const _0x4e2a1d=_0x5ca7c5;return _0x1f8623[_0x4e2a1d(0x200)](_0x4e2a1d(0x349),{'type':'string','description':_0x44ba09[_0x4e2a1d(0x284)]})[_0x4e2a1d(0x200)](_0x44ba09['rJEHl'],{'type':_0x44ba09[_0x4e2a1d(0x1d2)],'description':_0x4e2a1d(0x22f)})[_0x4e2a1d(0x200)](_0x4e2a1d(0x2f5),{'type':_0x4e2a1d(0x367),'description':_0x4e2a1d(0x372)})[_0x4e2a1d(0x200)](_0x44ba09[_0x4e2a1d(0x2a6)],{'type':_0x44ba09['JPmNQ'],'hidden':!![]})['option']('notes',{'type':'string','hidden':!![]})[_0x4e2a1d(0x200)]('scenario',{'type':_0x4e2a1d(0x367),'hidden':!![]})['option'](_0x4e2a1d(0x37d),{'type':_0x4e2a1d(0x1df),'description':_0x44ba09['UBsQS']})[_0x4e2a1d(0x200)](_0x44ba09['EYmvf'],{'type':_0x4e2a1d(0x1df),'description':_0x4e2a1d(0x25d)})['option'](_0x44ba09[_0x4e2a1d(0x24a)],{'type':_0x4e2a1d(0x1df),'hidden':!![]})['option'](_0x44ba09['Qukzh'],{'type':_0x44ba09['xcvCU'],'hidden':!![],'default':![]})['option']('debug-outcome',{'type':'string','hidden':!![],'choices':['verified',_0x44ba09['esfoR'],_0x4e2a1d(0x2fe),_0x4e2a1d(0x242),'incomplete']});},async _0xb3db84=>{await runGoCommand(_0xb3db84,!![]);})['command']('add\x20env\x20<env-name>',![],_0x3beaa2=>{const _0x4559b0=_0x5ca7c5;return _0x3beaa2['positional'](_0x44ba09[_0x4559b0(0x365)],{'type':'string','description':_0x44ba09[_0x4559b0(0x293)],'demandOption':!![]})[_0x4559b0(0x200)]('ci',{'type':'boolean','description':_0x44ba09['RnSAe'],'default':![]})['option'](_0x44ba09['kthyr'],{'type':'boolean','description':_0x4559b0(0x1ed),'default':![]});},async _0x15c3e3=>{const _0x23ad50=_0x5ca7c5;_0x44ba09[_0x23ad50(0x1bf)](warnRenamed,'ranger\x20add\x20env',_0x23ad50(0x298)),await withTelemetry('add\x20env',_0x2f08f2=>addEnv(_0x15c3e3[_0x23ad50(0x2b8)],{'ci':_0x15c3e3['ci'],'skipAuth':_0x15c3e3['skip-auth']},_0x2f08f2));})['command'](_0x5ca7c5(0x279),![],_0x4f2dd3=>{const _0x3473bc=_0x5ca7c5;return _0x4f2dd3['positional'](_0x44ba09['twHuj'],{'type':_0x44ba09[_0x3473bc(0x1d2)],'description':_0x44ba09['YDIsF'],'demandOption':!![]});},async _0x3278b0=>{const _0x41c3ea=_0x5ca7c5;_0x44ba09['ASGMO'](warnRenamed,_0x44ba09[_0x41c3ea(0x28a)],'ranger\x20profile\x20use'),await _0x44ba09['aNkdm'](withTelemetry,'use',()=>useEnv(_0x3278b0['env-name']));})['command'](_0x5ca7c5(0x37a),![],_0x3f7a81=>{const _0x35f57f=_0x5ca7c5,_0x1f776b={'UngNx':function(_0x1512bf,_0x47924b,_0x5393e0){return _0x44ba09['liRrH'](_0x1512bf,_0x47924b,_0x5393e0);},'JyKot':_0x44ba09['enVZY'],'rJcyS':function(_0x5de7bb,_0x1dd980,_0x44e621){const _0x20be10=_0x1deb;return _0x44ba09[_0x20be10(0x2c4)](_0x5de7bb,_0x1dd980,_0x44e621);},'RwCaF':function(_0x1ab073,_0x22cb14,_0x3e8db0){return _0x1ab073(_0x22cb14,_0x3e8db0);},'rqkJQ':_0x44ba09['LCwFC']};return _0x3f7a81[_0x35f57f(0x1cf)](_0x44ba09[_0x35f57f(0x2bb)],![],_0x2ae79d=>{const _0x1e2e8e=_0x35f57f;return _0x2ae79d[_0x1e2e8e(0x329)](_0x44ba09[_0x1e2e8e(0x2bc)],{'type':_0x1e2e8e(0x1df),'description':_0x44ba09[_0x1e2e8e(0x1ff)],'demandOption':!![]})[_0x1e2e8e(0x329)]('key',{'type':_0x1e2e8e(0x1df),'description':_0x1e2e8e(0x315),'demandOption':!![]})['positional'](_0x44ba09[_0x1e2e8e(0x27c)],{'type':_0x44ba09['JPmNQ'],'description':_0x44ba09[_0x1e2e8e(0x324)],'demandOption':!![]});},async _0x56b594=>{const _0x5a6469=_0x35f57f;_0x1f776b[_0x5a6469(0x215)](warnRenamed,_0x5a6469(0x1cd),_0x1f776b[_0x5a6469(0x25e)]),await _0x1f776b['rJcyS'](withTelemetry,'config\x20set',()=>configSet(_0x56b594['env'],_0x56b594['key'],_0x56b594['value']));})[_0x35f57f(0x1cf)]('get\x20<env>\x20<key>',![],_0x771cfc=>{const _0x49ace6=_0x35f57f;return _0x771cfc[_0x49ace6(0x329)](_0x49ace6(0x349),{'type':_0x44ba09[_0x49ace6(0x1d2)],'description':_0x49ace6(0x37c),'demandOption':!![]})['positional'](_0x49ace6(0x2df),{'type':_0x49ace6(0x1df),'description':_0x44ba09[_0x49ace6(0x1f8)],'demandOption':!![]});},async _0x48482c=>{const _0x3b2d19=_0x35f57f;warnRenamed(_0x3b2d19(0x1d1),_0x44ba09[_0x3b2d19(0x1f1)]),await withTelemetry(_0x44ba09['puXZX'],()=>configGet(_0x48482c['env'],_0x48482c['key']));})['command'](_0x44ba09[_0x35f57f(0x297)],![],_0x113f4f=>{const _0x57eea7=_0x35f57f;return _0x113f4f[_0x57eea7(0x329)](_0x57eea7(0x349),{'type':_0x57eea7(0x1df),'description':_0x57eea7(0x37c),'demandOption':!![]});},async _0x438574=>{const _0x1b228c=_0x35f57f;_0x44ba09['Vumxt'](warnRenamed,'ranger\x20config\x20list',_0x44ba09['vrmKr']),await withTelemetry(_0x1b228c(0x230),()=>configList(_0x438574['env']));})['command'](_0x35f57f(0x1fc),![],_0x1dfc50=>{const _0x3214b7=_0x35f57f;return _0x1dfc50['positional'](_0x3214b7(0x349),{'type':_0x44ba09['JPmNQ'],'description':_0x44ba09['rvyit'],'demandOption':!![]})['positional']('key',{'type':_0x44ba09[_0x3214b7(0x1d2)],'description':_0x3214b7(0x28e),'demandOption':!![]});},async _0x98051=>{const _0xb38b7b=_0x35f57f;warnRenamed(_0xb38b7b(0x2b2),_0xb38b7b(0x290)),await _0x1f776b[_0xb38b7b(0x26f)](withTelemetry,_0x1f776b['rqkJQ'],()=>configUnset(_0x98051['env'],_0x98051['key']));})[_0x35f57f(0x2d0)](0x1,_0x35f57f(0x1ce));})[_0x5ca7c5(0x1cf)](_0x44ba09[_0x5ca7c5(0x2bc)],![],_0x1ea77b=>{const _0x304267=_0x5ca7c5,_0x133a00={'poZaI':_0x44ba09[_0x304267(0x213)],'VXsPI':function(_0x1a0b62,_0x5a7efe,_0x4ad427){const _0x52210a=_0x304267;return _0x44ba09[_0x52210a(0x27b)](_0x1a0b62,_0x5a7efe,_0x4ad427);}};return _0x1ea77b[_0x304267(0x1cf)]('ls',![],()=>{},async()=>{const _0x2c799d=_0x304267;warnRenamed('ranger\x20env\x20ls',_0x133a00[_0x2c799d(0x26a)]),await _0x133a00['VXsPI'](withTelemetry,_0x2c799d(0x1cb),()=>envList());})[_0x304267(0x1cf)](_0x304267(0x27e),![],_0x45921f=>{const _0x42bb7d=_0x304267;return _0x45921f[_0x42bb7d(0x329)](_0x42bb7d(0x2b8),{'type':_0x42bb7d(0x1df),'description':_0x42bb7d(0x1d5),'demandOption':!![]});},async _0x207ba0=>{const _0x2ba10c=_0x304267;warnRenamed(_0x44ba09[_0x2ba10c(0x1c8)],'ranger\x20profile\x20update'),await _0x44ba09[_0x2ba10c(0x31d)](withTelemetry,_0x44ba09[_0x2ba10c(0x283)],_0x14e3ab=>updateEnv(_0x207ba0[_0x2ba10c(0x2b8)],_0x14e3ab));})[_0x304267(0x2d0)](0x1,_0x44ba09['AeNDH']);})[_0x5ca7c5(0x1cf)]('feature',![],_0xd1098c=>{const _0x1b8f0a=_0x5ca7c5,_0x25ca88={'hSDRp':function(_0x4a18d3,_0x436a3f,_0x2cb63d){return _0x4a18d3(_0x436a3f,_0x2cb63d);},'sWwCO':'ranger\x20feature\x20show','ifRGt':_0x1b8f0a(0x21f),'UwcXQ':_0x1b8f0a(0x345),'OXrmL':_0x44ba09['XKBig'],'XsRXo':'ranger\x20resume','qiwEq':'feature\x20resume','wXPCW':_0x44ba09[_0x1b8f0a(0x229)],'QYBcn':'string','wHYic':_0x44ba09[_0x1b8f0a(0x2aa)],'OXfxt':function(_0x42448d,_0x383fce,_0x2ac364){return _0x42448d(_0x383fce,_0x2ac364);},'VZPrn':_0x44ba09[_0x1b8f0a(0x2ab)]};return _0xd1098c['command'](_0x1b8f0a(0x37b),![],_0xbb7a24=>{const _0x1b4f72=_0x1b8f0a;return _0xbb7a24[_0x1b4f72(0x329)](_0x1b4f72(0x35c),{'type':'string','description':_0x44ba09[_0x1b4f72(0x1da)],'demandOption':!![]})[_0x1b4f72(0x200)]('description',{'type':_0x1b4f72(0x1df),'alias':'d','description':'Feature\x20review\x20description'})['option'](_0x44ba09['xcNaV'],{'type':_0x44ba09['xnjYn'],'alias':'c','description':_0x44ba09[_0x1b4f72(0x204)]})[_0x1b4f72(0x200)]('scenario',{'type':_0x1b4f72(0x2be),'hidden':!![]});},async _0x1f8495=>{const _0x1ad58f=_0x1b8f0a;_0x44ba09['GlVJg'](warnRenamed,_0x44ba09['roWqK'],_0x44ba09[_0x1ad58f(0x21d)]),_0x44ba09[_0x1ad58f(0x23f)](warnFlagRenamed,_0x44ba09[_0x1ad58f(0x21d)],_0x44ba09[_0x1ad58f(0x358)],'--scenario');const _0x56d8ad=_0x1f8495[_0x1ad58f(0x347)]||_0x1f8495[_0x1ad58f(0x271)];await _0x44ba09['GIZgH'](withTelemetry,_0x1ad58f(0x286),()=>featureCreate(_0x1f8495[_0x1ad58f(0x35c)],{'description':_0x1f8495['description'],'scenarios':_0x56d8ad}));})[_0x1b8f0a(0x1cf)]('list',![],_0x2c9d11=>{const _0x570bbb=_0x1b8f0a;return _0x2c9d11['option'](_0x44ba09['SIAPs'],{'type':_0x44ba09['xcvCU'],'description':_0x570bbb(0x201)})[_0x570bbb(0x200)](_0x570bbb(0x220),{'type':_0x570bbb(0x367),'alias':'l','description':_0x570bbb(0x33b),'default':0xa})['option'](_0x570bbb(0x30e),{'type':_0x44ba09[_0x570bbb(0x1eb)],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x570bbb(0x200)]('include-deleted',{'type':_0x44ba09['xcvCU'],'alias':'d','description':_0x570bbb(0x24e),'default':![]});},async _0x8cc696=>{const _0xad67cf=_0x1b8f0a;_0x44ba09[_0xad67cf(0x2c7)](warnRenamed,_0xad67cf(0x1dd),'ranger\x20list'),await withTelemetry(_0x44ba09[_0xad67cf(0x1f2)],()=>featureList({'currentBranch':_0x8cc696['current-branch'],'limit':_0x8cc696['limit'],'offset':_0x8cc696['offset'],'includeDeleted':_0x8cc696[_0xad67cf(0x2ed)]}));})[_0x1b8f0a(0x1cf)](_0x44ba09[_0x1b8f0a(0x360)],![],_0x3a28a4=>{const _0x6075db=_0x1b8f0a;return _0x3a28a4['positional']('id',{'type':_0x6075db(0x1df),'description':_0x6075db(0x303)});},async _0x202aa3=>{const _0xf061fe=_0x1b8f0a;_0x25ca88[_0xf061fe(0x24b)](warnRenamed,_0x25ca88[_0xf061fe(0x32a)],_0x25ca88[_0xf061fe(0x2ea)]),await _0x25ca88['hSDRp'](withTelemetry,_0x25ca88['UwcXQ'],()=>featureShow(_0x202aa3['id']));})['command'](_0x44ba09['yTySa'],![],_0x399453=>{const _0x10de81=_0x1b8f0a;return _0x399453[_0x10de81(0x329)]('id',{'type':_0x10de81(0x1df),'description':_0x10de81(0x20d)});},async _0x136d2d=>{const _0x3781d0=_0x1b8f0a;_0x25ca88[_0x3781d0(0x24b)](warnRenamed,_0x25ca88['OXrmL'],_0x25ca88[_0x3781d0(0x2b3)]),await withTelemetry(_0x25ca88[_0x3781d0(0x20b)],()=>featureResume(_0x136d2d['id']));})['command'](_0x44ba09[_0x1b8f0a(0x24d)],![],_0x360228=>{const _0xeb2a4c=_0x1b8f0a;return _0x360228['positional'](_0x25ca88['wXPCW'],{'type':_0x25ca88['QYBcn'],'description':_0x25ca88[_0xeb2a4c(0x30c)],'demandOption':!![]})['option']('id',{'type':_0x25ca88[_0xeb2a4c(0x2b4)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x353f44=>{const _0x4e5f82=_0x1b8f0a;_0x25ca88[_0x4e5f82(0x1e9)](warnRenamed,'ranger\x20feature\x20add-checklist-item','ranger\x20add-scenario'),await withTelemetry(_0x4e5f82(0x2a0),()=>featureAddScenario(_0x353f44['description'],_0x353f44['id']));})[_0x1b8f0a(0x1cf)](_0x44ba09['grFas'],![],_0x36b59b=>{const _0x2c0b7b=_0x1b8f0a;return _0x36b59b['positional']('id',{'type':_0x25ca88[_0x2c0b7b(0x2b4)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x27d132=>{warnRenamed(_0x44ba09['snhqm'],_0x44ba09['KwmPh']),await withTelemetry(_0x44ba09['kYjjB'],()=>featureGetReview(_0x27d132['id']));})['command'](_0x1b8f0a(0x231),![],_0x5f4b8a=>{return _0x5f4b8a['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x515c99=>{const _0x860702=_0x1b8f0a;warnRenamed(_0x860702(0x23e),_0x860702(0x1fe)),await withTelemetry('feature\x20delete',()=>featureDelete(_0x515c99['id']));})['command'](_0x44ba09['yRcfS'],![],_0x7dda57=>{const _0x21ec77=_0x1b8f0a;return _0x7dda57['positional']('id',{'type':_0x44ba09[_0x21ec77(0x1d2)],'description':_0x44ba09[_0x21ec77(0x243)],'demandOption':!![]});},async _0x4729b1=>{const _0x348ac0=_0x1b8f0a;_0x25ca88[_0x348ac0(0x24b)](warnRenamed,_0x348ac0(0x334),_0x25ca88['VZPrn']),await _0x25ca88[_0x348ac0(0x1e9)](withTelemetry,_0x348ac0(0x341),()=>featureRestore(_0x4729b1['id']));})[_0x1b8f0a(0x2d0)](0x1,_0x44ba09['SBNts']);})['command'](_0x44ba09[_0x5ca7c5(0x2f9)],![],_0x4fd106=>{const _0x51f5ae=_0x5ca7c5,_0x5b8696={'onCeH':_0x51f5ae(0x34f),'otvxN':_0x51f5ae(0x1df)};return _0x4fd106['command'](_0x44ba09[_0x51f5ae(0x2ad)],_0x44ba09['EzWPG'],_0x101f61=>{return _0x101f61['option'](_0x5b8696['onCeH'],{'type':_0x5b8696['otvxN'],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x46b25b=>{const _0x5b0de8=_0x51f5ae;await withTelemetry(_0x5b0de8(0x364),()=>hook(_0x5b0de8(0x361),_0x46b25b['session-id']));})['command'](_0x44ba09[_0x51f5ae(0x2d9)],_0x51f5ae(0x33f),_0x56aabb=>{const _0x5adce2=_0x51f5ae;return _0x56aabb[_0x5adce2(0x200)](_0x44ba09[_0x5adce2(0x2a9)],{'type':'string','description':_0x44ba09['qoVnX']});},async _0x1a35f4=>{const _0x19bc19=_0x51f5ae;await withTelemetry(_0x19bc19(0x25a),()=>hook('disable',_0x1a35f4[_0x19bc19(0x34f)]));})['option'](_0x44ba09[_0x51f5ae(0x330)],{'type':_0x44ba09['JPmNQ'],'description':_0x44ba09[_0x51f5ae(0x1f6)]})['option'](_0x51f5ae(0x34f),{'type':'string','description':_0x44ba09['qoVnX']});},async _0xd5e7c=>{const _0x5e5dab=_0x5ca7c5;_0xd5e7c['name']&&await _0x44ba09[_0x5e5dab(0x24c)](hook,_0xd5e7c[_0x5e5dab(0x35c)],_0xd5e7c[_0x44ba09['lIffR']]);})[_0x5ca7c5(0x2d0)](0x1,_0x5ca7c5(0x322))['strictCommands']()['fail'](async(_0x3b709d,_0x43f48a,_0x1c66a6)=>{const _0x929888=_0x5ca7c5,_0x4da482=_0x44ba09['RjJWU'](sanitizeArgs,process['argv'][_0x929888(0x256)](0x2)),_0x464bff=getErrorType(_0x3b709d,_0x43f48a);if(_0x3b709d&&_0x3b709d['includes'](_0x44ba09['sFuxM'])){const _0x3a1fa7=process['argv'][0x2];console[_0x929888(0x212)]('\x0aUnknown\x20command:\x20'+_0x3a1fa7),console['error'](_0x44ba09['ctCJm']);}else{if(_0x3b709d)console['error']('\x0a'+_0x3b709d+'\x0a');else _0x43f48a&&console[_0x929888(0x212)]('\x0aError:\x20'+_0x43f48a[_0x929888(0x359)]+'\x0a');}await logDesirePath({'rawCommand':_0x4da482,'errorMessage':_0x3b709d||_0x43f48a?.[_0x929888(0x359)],'errorType':_0x464bff});const _0x4bd874=getCurrentCollector();_0x4bd874&&await _0x4bd874['trackCommandError'](_0x43f48a||new Error(_0x44ba09['IttIF'](_0x3b709d,_0x929888(0x378)))),process[_0x929888(0x1e4)](0x1);})[_0x5ca7c5(0x207)](_0x44ba09[_0x5ca7c5(0x1de)](_0x44ba09['tZqOs']('Documentation:\x0a',_0x44ba09[_0x5ca7c5(0x379)]),_0x5ca7c5(0x2fa)))[_0x5ca7c5(0x2a8)]()['alias'](_0x44ba09['aCNWM'],'h');}process['env']['NODE_ENV']!=='test'&&buildParser()[_0x10ef54(0x2c8)]();
|