@ranger-testing/ranger-cli 2.5.4-alpha.78800d3-3 → 2.5.4-alpha.bc88254-5
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 +5 -4
- package/build/skills/ranger/verify.md +15 -3
- package/package.json +1 -1
package/build/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x3f7e8a=_0x8fb0;(function(_0x17b644,_0x3b1c94){const _0x56cc17=_0x8fb0,_0xb367af=_0x17b644();while(!![]){try{const _0x36f0a2=-parseInt(_0x56cc17(0x203))/0x1+-parseInt(_0x56cc17(0x243))/0x2*(-parseInt(_0x56cc17(0x22f))/0x3)+-parseInt(_0x56cc17(0x258))/0x4*(-parseInt(_0x56cc17(0x2c3))/0x5)+parseInt(_0x56cc17(0x1cc))/0x6*(-parseInt(_0x56cc17(0x2d8))/0x7)+parseInt(_0x56cc17(0x269))/0x8+parseInt(_0x56cc17(0x2a2))/0x9+-parseInt(_0x56cc17(0x234))/0xa*(parseInt(_0x56cc17(0x2eb))/0xb);if(_0x36f0a2===_0x3b1c94)break;else _0xb367af['push'](_0xb367af['shift']());}catch(_0x496d18){_0xb367af['push'](_0xb367af['shift']());}}}(_0x5e0d,0x8e77d));import _0x2f5e9f from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x297b76=_0x8fb0,_0x575b55={'oAAgL':function(_0x5f40c1,_0x195509){return _0x5f40c1!==_0x195509;},'jcgjG':function(_0x2e555a,_0x5117aa,_0x61b725){return _0x2e555a(_0x5117aa,_0x61b725);},'wgSSj':'.ranger','eGBvE':function(_0xb1074b,_0x55eb31){return _0xb1074b(_0x55eb31);}};let _0x2e85d2=process['cwd']();const _0x279853=parse(_0x2e85d2)['root'];while(_0x575b55[_0x297b76(0x2df)](_0x2e85d2,_0x279853)){if(existsSync(_0x575b55[_0x297b76(0x33d)](join,_0x2e85d2,_0x575b55['wgSSj']))||existsSync(_0x575b55['jcgjG'](join,_0x2e85d2,'.env')))return _0x2e85d2;_0x2e85d2=_0x575b55['eGBvE'](dirname,_0x2e85d2);}return process['cwd']();}_0x2f5e9f['config']({'path':join(findProjectRoot(),_0x3f7e8a(0x211))});import _0x49a8f5 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';import{getToken}from'./commands/utils/keychain.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';function _0x5e0d(){const _0x8fd146=['akhEe','Scenario\x20index\x20(1-based)','ePRNf','Authenticate\x20via\x20MCP\x20proxy','ranger\x20create','swnOx','feature\x20resume','base-url','GZXyD','Environment\x20name','ROjIt','epsMn','OWRAA','skip-auth','nKflN','Kcygl','login','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','ranger\x20profile\x20use','save-creds','tTJGV','jTNJL','force','ranger\x20profile\x20add','ranger\x20use','dCxAG','FrSrn','get\x20<profile>\x20<key>','bOeUi','Ranger\x20API\x20token','json','get\x20<env>\x20<key>','LlNCD','Profile\x20name','cVkHK','summary','create','kEEYW','\x20INCOMPLETE','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','vWyYU','issues','FGacm','all','sxgus','config\x20get','QWqPX','feature\x20create','966474zZZkrE','Set\x20up\x20a\x20local\x20browser\x20profile','MIclY','update\x20<profile-name>','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','VZFJc','token','NpEBw','dry-run','headed','YeGvk','Include\x20soft-deleted\x20feature\x20reviews','env','some','.env','xULgB','show','organizationName','wZgAs','fYvXe','AbGxK','oDYAP','GAEbd','YfeRt','VFVxZ','Feature\x20review\x20ID','ZVyUP','scenario','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','debug-outcome','project','--scenario','UwdsJ','error','scriptName','kTeod','CGxVo','OPMwT','pCpYY','surpG','pfmyd','XjVLJ','WYJIb','debug-address-comments','209154yjGeVT','zGHoA','success','ZTiQt','tokenOrSubcommand','19450DqMvSs','quhKR','blocked','TQOMZ','repeat','dTiKV','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.','session-id','QLDYe','ranger\x20config\x20list','NODE_ENV','aKJlE','--profile','ytPNL','claude','6kjVBbE','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','PorVr','partial','KfJFZ','xHZBz','setup-header','jLORW','uwAfw','map','include-deleted','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','You\x20must\x20specify\x20a\x20command','You\x20must\x20specify\x20an\x20auth\x20subcommand','ranger\x20feature\x20create','Number\x20of\x20feature\x20reviews\x20to\x20skip','demandCommand','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','jzQuQ','Scenario\x20description','dUhvi','15452lUvdaH','ranger\x20delete','ptwWx','ksJDh','Get\x20a\x20config\x20value','cramu','Feature\x20review\x20description','strictCommands','ijliY','description','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','SyTgL','encrypt\x20<profile>','setup:deps','start\x20[token]','Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','opencode','7354216DJifZH','Set\x20a\x20config\x20value','qFrqU','mNlQd','icQcJ','command','task','feature\x20add-checklist-item','MCibx','LAdcO','get-review','add-scenario','UvaEU','ZiINB','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','current-branch','name','Skip\x20browser\x20authentication','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','cnPMd','ranger\x20config\x20set','profile\x20config\x20reset','List\x20all\x20feature\x20reviews','qEasq','log','Install\x20scope\x20for\x20skills','jcXAy','notes','GqjeF','Optional\x20feature\x20ID','SEKvU','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','hovqW','mcp-bootstrap','kFkZN','nSZpB','AowZe','limit','bXSPV','OSfcL','setup:all','UZGwG','usage','fFDTt','ranger\x20auth\x20encrypt','KBfjY','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','DCJzE','message','setup:login','HwkSm','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','edit-scenario','XnFzp','THfdq','status','10201284jpRGZu','qHPkQ','ranger\x20env\x20ls','ranger\x20feature\x20resume','ranger\x20profile\x20encrypt-auth','incomplete','with-deps','VrFiY','setup-ci','FPMkY','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','WCHJB','cedjm','NgFsP','rpAue','fULAf','--checklist','MXVjP','WaBeL','xeYvB','kRKIe','Authenticate\x20with\x20Ranger','Config\x20value','profile-name','profile\x20add','Cllqy','resume','LQMoG','epilogue','skip-chromium','pFulN','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','1015WlUmtA','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','Print\x20the\x20current\x20CLI\x20access\x20token','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','ranger\x20profile\x20config\x20unset','reset\x20<profile>','cdp-endpoint','qBIRl','list\x20<profile>','list','BpwnB','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','svEXW','test','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','exclude-scenario','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','profile\x20config\x20set','yes','resume\x20[id]','ugJrI','392RSvLGT','kWypX','string','ranger\x20get-review','ranger\x20start','number','hook:enable','oAAgL','feature\x20get-feedback','FcokL','MEwkz','argv','auth','Skip\x20interactive\x20confirmation\x20prompts.','config\x20list','bduqj','Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','qKpks','allow-insecure-localhost','5643rZCYvm','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','slice','jWRXQ','create\x20<name>','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','mElEo','YGNgg','exit','unhandledRejection','positional','item','pvMhx','Install\x20skills\x20for\x20OpenCode','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','ranger\x20env\x20update','pMJWT','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','start','Zoeqz','Evaluation:\x20','List\x20all\x20config\x20for\x20a\x20profile','ranger\x20list','TdtkC','value','qFIig','Update\x20authentication\x20for\x20an\x20existing\x20profile','parse','etoen','Ranger\x20API\x20token\x20(rngr_...)','UbNfc','array','sKRNq','JrfLZ','delete\x20[id]','vFyge','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','New\x20scenario\x20description','evaluation','get-review\x20[id]','RHvGx','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','hook','mGeRJ','QDtlb','Config\x20key','skills','profile\x20migrate','JeQQE','offset','TVsHy','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','env\x20update','scope','KNFwL','list\x20<env>','delete','CVRXE','ranger\x20profile\x20config\x20set','user','Scenario\x20number\x20to\x20edit\x20(1-based)','Feature\x20review\x20name','RraSG','bAbYN','TjxbV','OoUxL','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','Name\x20of\x20the\x20environment','env-name','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','Mkznl','disable','kPsFM','ranger\x20add-scenario','zjrEi','inCmD','USuMF','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','DITeR','help','\x0aIssues:','jcgjG','url','hXZMZ','dZwmy','ranger\x20profile\x20config\x20get','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','enable','unset\x20<env>\x20<key>','EbQWV','wywWl','CRJNt','QocFa','boolean','DTiXR','ranger\x20config\x20get','FCazN','epOwV','xcFAa','Restore\x20a\x20soft-deleted\x20feature\x20review','bnhmM','uBavU','checklist','profile','verified','You\x20must\x20specify\x20a\x20profile\x20subcommand','Name\x20of\x20the\x20environment\x20to\x20update','Switch\x20to\x20using\x20a\x20specific\x20profile','UEQfZ','FnfCy','model','✓\x20Authenticated\x20to\x20','alxCi','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','ranger\x20go','eQFpD','XYbiG','set\x20<env>\x20<key>\x20<value>','Config\x20key\x20to\x20remove','eOKIE','start-path','option','fHpMo','print-access-token','53388LuNBEQ','exitCode','nDGiZ','ranger\x20config\x20unset','VBgQo','EOIvX','key'];_0x5e0d=function(){return _0x8fd146;};return _0x5e0d();}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'](_0x3f7e8a(0x2f4),async _0xf44936=>{const _0x323684=_0x3f7e8a,_0x2b5d10=getCurrentCollector();_0x2b5d10&&await _0x2b5d10['trackCommandError'](_0xf44936),process[_0x323684(0x1cd)]=0x1;});const rawArgs=process[_0x3f7e8a(0x2e3)][_0x3f7e8a(0x2ed)](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='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';function warnRenamed(_0xb21b7f,_0x7d0d68){console['error']('\x0a'+_0xb21b7f+'\x20is\x20now\x20'+_0x7d0d68+'\x0a');}function argUsed(_0x3a8157){const _0x5f0cfb=_0x3f7e8a;return rawArgs[_0x5f0cfb(0x210)](_0x1ae211=>_0x1ae211===_0x3a8157||_0x1ae211['startsWith'](_0x3a8157+'='));}function _0x8fb0(_0x5c95e9,_0xdc738){_0x5c95e9=_0x5c95e9-0x1a9;const _0x5e0df0=_0x5e0d();let _0x8fb05c=_0x5e0df0[_0x5c95e9];return _0x8fb05c;}function warnFlagRenamed(_0xfedded,_0x577ea4,_0x37b250){const _0x34d532=_0x3f7e8a,_0x578f31={'AowZe':function(_0x16a48d,_0x5f31ff){return _0x16a48d(_0x5f31ff);},'icQcJ':function(_0x290347,_0x4a832e,_0x3019ab){return _0x290347(_0x4a832e,_0x3019ab);}};_0x578f31[_0x34d532(0x28e)](argUsed,_0x577ea4)&&_0x578f31[_0x34d532(0x26d)](warnRenamed,_0xfedded+'\x20'+_0x577ea4,_0xfedded+'\x20'+_0x37b250);}async function runGoCommand(_0x41e122,_0x32e2b2=![]){const _0x338289=_0x3f7e8a,_0x18c4ce={'sJvlf':'ranger\x20verify-feature','UvaEU':_0x338289(0x1c2),'VZFJc':'--env','MEwkz':_0x338289(0x240),'XyWbP':'--task','epOwV':function(_0x25e978,_0x2df13a,_0x4d0a8f,_0x263dc5){return _0x25e978(_0x2df13a,_0x4d0a8f,_0x263dc5);},'akhEe':function(_0x2abf39){return _0x2abf39();},'SwGua':function(_0x373fb2,_0x2e2f52){return _0x373fb2(_0x2e2f52);},'XbaXI':_0x338289(0x220),'Iuxix':'debug-address-comments','Bvcds':function(_0x28ec8a,_0x34c52f){return _0x28ec8a+_0x34c52f;},'SzoTM':_0x338289(0x1b8),'ofHVB':'\x20VERIFIED','EToUt':function(_0x31a535,_0xfc0422){return _0x31a535===_0xfc0422;},'xcFAa':'\x20PARTIAL','TQOMZ':'\x20FAILED','ulFFj':_0x338289(0x33c),'epsMn':function(_0x587199,_0x87c9ef){return _0x587199===_0x87c9ef;}};_0x32e2b2&&warnRenamed(_0x18c4ce['sJvlf'],_0x338289(0x1c2));warnFlagRenamed(_0x18c4ce[_0x338289(0x275)],_0x18c4ce[_0x338289(0x208)],_0x18c4ce[_0x338289(0x2e2)]),warnFlagRenamed('ranger\x20go',_0x18c4ce['XyWbP'],'--notes'),_0x18c4ce[_0x338289(0x1b1)](warnFlagRenamed,_0x338289(0x1c2),'--item',_0x338289(0x222));const _0x4e508c=await loadRangerConfig(),_0x55e611=_0x18c4ce[_0x338289(0x1d3)](isByokEnabled),_0x4d9095=_0x41e122[_0x338289(0x1be)],_0x1a56d8=_0x4e508c[_0x338289(0x1be)],_0x53d2bf=await _0x18c4ce['SwGua'](verifyFeature,{'featureId':_0x41e122['feature'],'profile':_0x41e122[_0x338289(0x1b7)]??_0x41e122['env'],'notes':_0x41e122[_0x338289(0x284)]??_0x41e122[_0x338289(0x26f)],'scenario':_0x41e122['scenario']??_0x41e122[_0x338289(0x2f6)],'startPath':_0x41e122['start-path'],'baseUrl':_0x41e122[_0x338289(0x1da)],'debugOutcome':_0x41e122[_0x18c4ce['XbaXI']],'debugAddressComments':_0x41e122[_0x18c4ce['Iuxix']],'headed':_0x41e122[_0x338289(0x20c)],'byokEnabled':_0x55e611,'flagVerifyModel':_0x4d9095,'configVerifyModel':_0x1a56d8});console[_0x338289(0x281)](_0x18c4ce['Bvcds']('\x0a','='['repeat'](0x3c))),console['log'](_0x53d2bf['evaluation']===_0x18c4ce['SzoTM']?_0x18c4ce['ofHVB']:_0x53d2bf[_0x338289(0x311)]===_0x338289(0x2a7)?_0x338289(0x1f9):_0x18c4ce['EToUt'](_0x53d2bf['evaluation'],'partial')?_0x18c4ce[_0x338289(0x1b2)]:_0x53d2bf[_0x338289(0x311)]===_0x338289(0x236)?'\x20BLOCKED':_0x18c4ce[_0x338289(0x237)]),console['log']('='[_0x338289(0x238)](0x3c)),console['log']('Summary:\x20'+_0x53d2bf[_0x338289(0x1f6)]),console[_0x338289(0x281)](_0x338289(0x2ff)+_0x53d2bf[_0x338289(0x311)]),console['log']('Reason:\x20'+_0x53d2bf['evaluationReason']),_0x53d2bf['issues']?.['length']&&(console[_0x338289(0x281)](_0x18c4ce['ulFFj']),_0x53d2bf[_0x338289(0x1fc)]['forEach']((_0x276660,_0x50ce02)=>{const _0x49273a=_0x338289;console[_0x49273a(0x281)]('\x0a'+(_0x50ce02+0x1)+'.\x20['+_0x276660['severity']+']\x20'+_0x276660['description']);})),process[_0x338289(0x2f3)](_0x18c4ce[_0x338289(0x1de)](_0x53d2bf[_0x338289(0x311)],_0x18c4ce['SzoTM'])?0x0:0x1);}export function buildParser(_0x5e8c3d){const _0x51ec5c=_0x3f7e8a,_0x589fb0={'OoUxL':'name','FPMkY':_0x51ec5c(0x328),'OgVOO':'description','zTMgz':_0x51ec5c(0x25e),'xHZBz':'array','LlNCD':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','fYvXe':function(_0x540b2a,_0x19c710,_0x5f58b4,_0x575c90){return _0x540b2a(_0x19c710,_0x5f58b4,_0x575c90);},'BLAoF':_0x51ec5c(0x222),'MIclY':function(_0x4f1e3e,_0x5d03be,_0x5e06ba){return _0x4f1e3e(_0x5d03be,_0x5e06ba);},'wyQkM':_0x51ec5c(0x1f7),'rpAue':'boolean','inCmD':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','jWRXQ':_0x51ec5c(0x288),'NpEBw':'number','SodzD':'include-deleted','ZVyUP':_0x51ec5c(0x2cc),'eQFpD':_0x51ec5c(0x21c),'XIkPl':_0x51ec5c(0x213),'UbNfc':'string','oDYAP':_0x51ec5c(0x21e),'Cllqy':_0x51ec5c(0x327),'rUFLE':_0x51ec5c(0x2ec),'sxgus':_0x51ec5c(0x29e),'nDobP':_0x51ec5c(0x1f1),'bnhmM':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','fHpMo':'report','PlIhl':_0x51ec5c(0x273),'ffkjp':_0x51ec5c(0x323),'xeYvB':'Feature\x20review\x20ID\x20to\x20restore','ZTiQt':function(_0xd2226c,_0x599236,_0x53f77b){return _0xd2226c(_0x599236,_0x53f77b);},'OpXZK':_0x51ec5c(0x28b),'EOIvX':_0x51ec5c(0x292),'ZiINB':_0x51ec5c(0x29b),'zjrEi':_0x51ec5c(0x320),'KNFwL':'user','GqjeF':_0x51ec5c(0x221),'WZVDw':_0x51ec5c(0x268),'ptwWx':_0x51ec5c(0x262),'YGNgg':'setup:skills','bOeUi':'skip-auth','tUDpc':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','PorVr':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','qFIig':'allow-insecure-localhost','CshQd':_0x51ec5c(0x308),'QDqre':_0x51ec5c(0x27a),'CVRXE':_0x51ec5c(0x1e9),'QjzZY':_0x51ec5c(0x1fe),'lHbzT':'Run\x20full\x20interactive\x20setup','kWypX':'deps','nKflN':'login','hBdne':_0x51ec5c(0x2b8),'KfJFZ':_0x51ec5c(0x319),'ugJrI':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','XjVLJ':'profiles','pMJWT':_0x51ec5c(0x2d3),'GZXyD':'url','TdtkC':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','dZwmy':function(_0x71ad1,_0x1c639b,_0x33975d){return _0x71ad1(_0x1c639b,_0x33975d);},'Xqbia':_0x51ec5c(0x1f0),'QDtlb':_0x51ec5c(0x2c4),'cramu':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','tTJGV':'skip-chromium','ePRNf':'Skip\x20Chromium\x20browser\x20installation','ZQsJT':_0x51ec5c(0x2aa),'TmJSh':function(_0x1af67d,_0x3d9ba6){return _0x1af67d(_0x3d9ba6);},'JrfLZ':function(_0x3a0964,_0x177d7b,_0x36b6fd){return _0x3a0964(_0x177d7b,_0x36b6fd);},'XuGmV':'clean','XyiHd':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','ijliY':_0x51ec5c(0x2ac),'BCAGD':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','TjxbV':'setup-header','WMjwp':_0x51ec5c(0x2ad),'VBgQo':function(_0x14b2a9,_0x3dd303){return _0x14b2a9(_0x3dd303);},'ksTtE':'Name\x20of\x20the\x20profile','oTGyr':'yes','MXVjP':'save-creds','KarcQ':_0x51ec5c(0x2d4),'qHPkQ':'key','qFrqU':_0x51ec5c(0x26a),'alxCi':_0x51ec5c(0x25c),'XDboz':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','CjUDc':'Name\x20of\x20the\x20profile\x20to\x20update','nDGiZ':'profile','pinxF':_0x51ec5c(0x2e8),'UZGwG':'add\x20<profile-name>','KBfjY':_0x51ec5c(0x1bb),'ytPNL':'List\x20all\x20profiles','svEXW':_0x51ec5c(0x206),'SEKvU':'config','pCpYY':'Manage\x20profile\x20configuration','OPMwT':_0x51ec5c(0x1b9),'uwAfw':_0x51ec5c(0x1cb),'sarlW':'feature','oSOVW':_0x51ec5c(0x284),'CRJNt':_0x51ec5c(0x244),'AWuDk':_0x51ec5c(0x2d1),'DITeR':_0x51ec5c(0x1da),'fWyno':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','fULAf':'model','DuSpi':_0x51ec5c(0x20c),'TVsHy':'debug-outcome','BMxIY':'verified','rYLIh':'incomplete','Mkznl':_0x51ec5c(0x20f),'UwdsJ':'task','kRKIe':function(_0x27d28b,_0x1a8025){return _0x27d28b(_0x1a8025);},'bduqj':_0x51ec5c(0x264),'LvQVc':_0x51ec5c(0x209),'meVcr':_0x51ec5c(0x2dc),'PggtW':'ranger\x20setup','cVkHK':_0x51ec5c(0x2fd),'FGacm':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','sOLho':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','VpuQa':_0x51ec5c(0x1d4),'YfeRt':_0x51ec5c(0x330),'TvfbT':'blocked','LAdcO':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','qqXDi':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','gPSri':_0x51ec5c(0x1ea),'tjsVU':function(_0x1afb81,_0xc1cac5,_0x10bd20){return _0x1afb81(_0xc1cac5,_0x10bd20);},'gCpfH':_0x51ec5c(0x1eb),'PcXwC':_0x51ec5c(0x1e5),'FmRJL':function(_0xbc3da6,_0x41fa4b,_0xf04ef7){return _0xbc3da6(_0x41fa4b,_0xf04ef7);},'eOKIE':_0x51ec5c(0x1dc),'THfdq':_0x51ec5c(0x1cf),'Ijtty':_0x51ec5c(0x23d),'hbuCW':_0x51ec5c(0x1c5),'CVxRd':_0x51ec5c(0x1f2),'hdPTL':_0x51ec5c(0x322),'EmSsi':'You\x20must\x20specify\x20a\x20config\x20subcommand','cOfYL':'ranger\x20profile\x20update','Wnvuh':'checklist','VFVxZ':_0x51ec5c(0x202),'GAEbd':'ranger\x20feature\x20list','CzFdv':_0x51ec5c(0x301),'CldVs':function(_0x131065,_0xeffb86,_0x384096){return _0x131065(_0xeffb86,_0x384096);},'Kcygl':'feature\x20list','RraSG':'ranger\x20show','WYJIb':'feature\x20show','DTiXR':'ranger\x20feature\x20add-checklist-item','ygwJN':_0x51ec5c(0x335),'udBLZ':_0x51ec5c(0x270),'FrSrn':'ranger\x20restore','EOeuF':function(_0x48f86b,_0x3c42f4,_0x32107b){return _0x48f86b(_0x3c42f4,_0x32107b);},'mElEo':'feature\x20restore','BNXop':'current-branch','bXSPV':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','goSxR':'ranger\x20resume','qIkjs':_0x51ec5c(0x1d9),'hsqtp':'ranger\x20feature\x20get-feedback','mNlQd':'show\x20[id]','tyeAz':'add-checklist-item\x20<description>','KdIwn':'get-feedback\x20[id]','jLORW':_0x51ec5c(0x30d),'rwpSV':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','dCxAG':_0x51ec5c(0x343),'MCibx':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','mGeRJ':_0x51ec5c(0x23b),'cedjm':'Unknown\x20command','nSZpB':'ranger','OSfcL':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','LwIxm':_0x51ec5c(0x27f),'NgFsP':_0x51ec5c(0x1fa),'USuMF':_0x51ec5c(0x2d6),'sKRNq':'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','OWRAA':'Initialize\x20Ranger\x20in\x20your\x20project','hXZMZ':'setup-ci\x20<token>','Txdge':'Install\x20Ranger\x20skills','kFkZN':'Manage\x20profiles','xULgB':'status','hovqW':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','QWqPX':_0x51ec5c(0x2c5),'gfEqA':_0x51ec5c(0x266),'BpgcY':'verify-feature','kEEYW':'use\x20<env-name>','qKpks':_0x51ec5c(0x315),'FcokL':function(_0x345b5e,_0x115141){return _0x345b5e+_0x115141;},'BvuAR':'\x20\x20https://docs.ranger.net\x0a','XJpgz':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)'};return _0x49a8f5(_0x5e8c3d??process[_0x51ec5c(0x2e3)][_0x51ec5c(0x2ed)](0x2))[_0x51ec5c(0x225)](_0x589fb0[_0x51ec5c(0x28d)])[_0x51ec5c(0x294)](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command'](_0x51ec5c(0x2ef),_0x589fb0[_0x51ec5c(0x291)],_0x58f349=>{const _0x1145b4=_0x51ec5c;return _0x58f349[_0x1145b4(0x2f5)](_0x589fb0[_0x1145b4(0x32c)],{'type':'string','description':_0x589fb0[_0x1145b4(0x2ab)],'demandOption':!![]})['option'](_0x589fb0['OgVOO'],{'type':_0x1145b4(0x2da),'alias':'d','description':_0x589fb0['zTMgz']})[_0x1145b4(0x1c9)]('scenario',{'type':_0x589fb0[_0x1145b4(0x248)],'alias':'c','description':_0x589fb0[_0x1145b4(0x1f3)]})[_0x1145b4(0x1c9)]('checklist',{'type':'array','hidden':!![]});},async _0x4a2a5a=>{const _0x1db90e=_0x51ec5c;_0x589fb0[_0x1db90e(0x216)](warnFlagRenamed,_0x1db90e(0x1d7),'--checklist',_0x589fb0['BLAoF']);const _0x396b97=_0x4a2a5a['scenario']||_0x4a2a5a[_0x1db90e(0x1b6)];await _0x589fb0['MIclY'](withTelemetry,_0x589fb0['wyQkM'],()=>featureCreate(_0x4a2a5a[_0x1db90e(0x279)],{'description':_0x4a2a5a['description'],'scenarios':_0x396b97}));})[_0x51ec5c(0x26e)]('list',_0x589fb0['LwIxm'],_0x10b8dd=>{const _0xcca51=_0x51ec5c;return _0x10b8dd[_0xcca51(0x1c9)]('current-branch',{'type':_0x589fb0[_0xcca51(0x2b1)],'description':_0x589fb0[_0xcca51(0x337)]})[_0xcca51(0x1c9)](_0xcca51(0x28f),{'type':'number','alias':'l','description':_0x589fb0[_0xcca51(0x2ee)],'default':0xa})[_0xcca51(0x1c9)](_0xcca51(0x31c),{'type':_0x589fb0[_0xcca51(0x20a)],'alias':'o','description':_0xcca51(0x252),'default':0x0})[_0xcca51(0x1c9)](_0x589fb0['SodzD'],{'type':'boolean','alias':'d','description':_0xcca51(0x20e),'default':![]});},async _0x42a50e=>{const _0x3d133f=_0x51ec5c;await _0x589fb0['MIclY'](withTelemetry,_0x589fb0[_0x3d133f(0x21d)],()=>featureList({'currentBranch':_0x42a50e['current-branch'],'limit':_0x42a50e['limit'],'offset':_0x42a50e['offset'],'includeDeleted':_0x42a50e['include-deleted']}));})[_0x51ec5c(0x26e)](_0x589fb0[_0x51ec5c(0x26c)],_0x589fb0[_0x51ec5c(0x2b0)],_0x5f570a=>{const _0x27fa73=_0x51ec5c;return _0x5f570a[_0x27fa73(0x2f5)]('id',{'type':_0x27fa73(0x2da),'description':_0x589fb0[_0x27fa73(0x1c3)]});},async _0x5d5a59=>{await withTelemetry(_0x589fb0['XIkPl'],()=>featureShow(_0x5d5a59['id']));})[_0x51ec5c(0x26e)](_0x589fb0[_0x51ec5c(0x338)],_0x51ec5c(0x277),_0x10e991=>{const _0x5be1f6=_0x51ec5c;return _0x10e991[_0x5be1f6(0x2f5)]('id',{'type':_0x5be1f6(0x2da),'description':_0x5be1f6(0x2c6)});},async _0x43c66c=>{const _0x3a0df4=_0x51ec5c;await _0x589fb0['MIclY'](withTelemetry,_0x3a0df4(0x2bd),()=>featureResume(_0x43c66c['id']));})['command']('add-scenario\x20<description>',_0x51ec5c(0x29d),_0x553a37=>{const _0x6b016e=_0x51ec5c;return _0x553a37['positional'](_0x6b016e(0x261),{'type':_0x589fb0['UbNfc'],'description':_0x6b016e(0x256),'demandOption':!![]})['option']('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x404fcd=>{const _0x1ca195=_0x51ec5c;await _0x589fb0['MIclY'](withTelemetry,_0x1ca195(0x274),()=>featureAddScenario(_0x404fcd[_0x1ca195(0x261)],_0x404fcd['id']));})['command']('edit-scenario\x20<description>',_0x51ec5c(0x2f0),_0x110683=>{const _0x134ee1=_0x51ec5c;return _0x110683['positional'](_0x589fb0['OgVOO'],{'type':_0x134ee1(0x2da),'description':_0x134ee1(0x310),'demandOption':!![]})[_0x134ee1(0x1c9)](_0x589fb0['oDYAP'],{'type':_0x589fb0['NpEBw'],'description':_0x589fb0[_0x134ee1(0x2bc)],'demandOption':!![]})[_0x134ee1(0x1c9)]('id',{'type':_0x589fb0['UbNfc'],'description':_0x589fb0['rUFLE']});},async _0x116f95=>{const _0x578c9c=_0x51ec5c;await withTelemetry(_0x589fb0[_0x578c9c(0x1ff)],()=>featureEditScenario(_0x116f95[_0x578c9c(0x261)],{'id':_0x116f95['id'],'scenario':_0x116f95['scenario']}));})['command']('report\x20[id]',_0x589fb0[_0x51ec5c(0x30b)],_0x359cfd=>{const _0x11a363=_0x51ec5c;return _0x359cfd['positional']('id',{'type':_0x589fb0['UbNfc'],'description':_0x589fb0[_0x11a363(0x1c3)]})['option']('exclude-scenario',{'type':_0x11a363(0x30a),'description':_0x11a363(0x31e)})[_0x11a363(0x1c9)](_0x589fb0['nDobP'],{'type':_0x589fb0[_0x11a363(0x2b1)],'description':_0x589fb0[_0x11a363(0x1b4)],'default':![]});},async _0x396436=>{const _0x2c04ff=_0x51ec5c,_0x5511d5=_0x396436[_0x2c04ff(0x2d2)],_0x80422f=_0x5511d5?_0x5511d5[_0x2c04ff(0x24c)](_0x4f4127=>Number(_0x4f4127)):undefined;await withTelemetry(_0x589fb0[_0x2c04ff(0x1ca)],()=>featureReportPrDescription(_0x396436['id'],{'excludeScenarios':_0x80422f,'json':_0x396436['json']}));})[_0x51ec5c(0x26e)](_0x51ec5c(0x312),'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x4306fb=>{const _0x5cc6ba=_0x51ec5c;return _0x4306fb[_0x5cc6ba(0x2f5)]('id',{'type':_0x5cc6ba(0x2da),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x4d617e=>{await withTelemetry(_0x589fb0['PlIhl'],()=>featureGetReview(_0x4d617e['id']));})['command'](_0x589fb0['jLORW'],'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x3cc2fa=>{const _0x756fe7=_0x51ec5c;return _0x3cc2fa[_0x756fe7(0x2f5)]('id',{'type':'string','description':_0x756fe7(0x21c)});},async _0x2df8a4=>{await withTelemetry(_0x589fb0['ffkjp'],()=>featureDelete(_0x2df8a4['id']));})[_0x51ec5c(0x26e)]('restore\x20<id>',_0x51ec5c(0x1b3),_0x50978f=>{const _0x31f30f=_0x51ec5c;return _0x50978f[_0x31f30f(0x2f5)]('id',{'type':'string','description':_0x589fb0[_0x31f30f(0x2b6)],'demandOption':!![]});},async _0x14ad56=>{const _0x1d6d48=_0x51ec5c;await _0x589fb0[_0x1d6d48(0x232)](withTelemetry,'restore',()=>featureRestore(_0x14ad56['id']));})[_0x51ec5c(0x26e)]('setup\x20[tokenOrSubcommand]',_0x589fb0[_0x51ec5c(0x1df)],_0x36f052=>{const _0x29d914=_0x51ec5c,_0x4f8e92={'XnFzp':_0x589fb0['UbNfc'],'JeQQE':_0x589fb0[_0x29d914(0x2b1)],'PdWSD':_0x29d914(0x2d3),'gaCTC':_0x589fb0['bOeUi'],'HXjnO':'Skip\x20authentication','JsAQk':_0x589fb0['tUDpc'],'kPsFM':_0x29d914(0x326),'oazeN':_0x589fb0[_0x29d914(0x245)],'VvsKI':_0x29d914(0x1e4),'pfmyd':_0x589fb0['WZVDw'],'HfhwR':_0x589fb0[_0x29d914(0x304)],'DCJzE':_0x589fb0['OpXZK'],'tlExQ':'Alias\x20for\x20--mcp-bootstrap','uBavU':'with-deps','ofcJz':_0x29d914(0x265),'FCazN':_0x589fb0['CshQd'],'qEasq':function(_0x2599b6){return _0x2599b6();},'LQMoG':function(_0x2bb37f){return _0x2bb37f();},'aKJlE':function(_0x40c669,_0x4d34b9){return _0x40c669(_0x4d34b9);},'wZgAs':function(_0x412ee1,_0x205b31,_0x3001b4){return _0x412ee1(_0x205b31,_0x3001b4);},'vWyYU':_0x29d914(0x320),'nQNBU':_0x589fb0[_0x29d914(0x285)],'EbQWV':'Where\x20to\x20store\x20the\x20profile','mOekn':'url','Zoeqz':'Base\x20URL\x20of\x20the\x20running\x20app','VrFiY':_0x589fb0['QDqre'],'VGGQK':_0x589fb0[_0x29d914(0x324)],'SNUCb':_0x29d914(0x207)};return _0x36f052['usage'](_0x29d914(0x27b))[_0x29d914(0x2f5)]('tokenOrSubcommand',{'type':_0x589fb0[_0x29d914(0x309)],'description':'Subcommand\x20or\x20API\x20token\x20(rngr_...)'})[_0x29d914(0x26e)](_0x589fb0['QjzZY'],_0x589fb0['lHbzT'],_0x4fbce1=>{const _0x3dd7d9=_0x29d914;return _0x4fbce1['option']('token',{'type':_0x4f8e92['XnFzp'],'description':_0x3dd7d9(0x1f0)})[_0x3dd7d9(0x1c9)](_0x3dd7d9(0x2c0),{'type':_0x4f8e92[_0x3dd7d9(0x31b)],'description':_0x4f8e92['PdWSD'],'default':![]})[_0x3dd7d9(0x1c9)](_0x4f8e92['gaCTC'],{'type':_0x4f8e92['JeQQE'],'description':_0x4f8e92['HXjnO'],'default':![]})['option']('with-deps',{'type':'boolean','description':_0x4f8e92['JsAQk'],'default':![]})[_0x3dd7d9(0x1c9)]('scope',{'type':_0x4f8e92['XnFzp'],'choices':[_0x4f8e92[_0x3dd7d9(0x334)],'project'],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})['option'](_0x3dd7d9(0x33e),{'type':_0x4f8e92['XnFzp'],'description':_0x4f8e92['oazeN']})[_0x3dd7d9(0x1c9)]('force',{'type':_0x3dd7d9(0x1ad),'description':_0x4f8e92['VvsKI'],'default':![]})[_0x3dd7d9(0x1c9)](_0x4f8e92['pfmyd'],{'type':_0x4f8e92['JeQQE'],'description':_0x3dd7d9(0x262),'default':![]})['option'](_0x4f8e92['HfhwR'],{'type':_0x4f8e92[_0x3dd7d9(0x31b)],'description':_0x3dd7d9(0x207),'default':![]})['option'](_0x4f8e92[_0x3dd7d9(0x299)],{'type':_0x4f8e92['JeQQE'],'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','default':![]})['option']('mcp',{'type':_0x3dd7d9(0x1ad),'description':_0x4f8e92['tlExQ'],'default':![]});},async _0x49a463=>{const _0x7b9069=_0x29d914;(_0x49a463[_0x7b9069(0x28b)]||_0x49a463['mcp'])&&await withTelemetry(_0x589fb0['OpXZK'],()=>mcpBootstrap()),await _0x589fb0[_0x7b9069(0x232)](withTelemetry,_0x589fb0[_0x7b9069(0x1d1)],_0x2fc810=>start(_0x49a463['token'],{'skipChromium':_0x49a463[_0x7b9069(0x2c0)],'skipAuth':_0x49a463['skip-auth'],'withDeps':_0x49a463[_0x7b9069(0x2a8)],'scope':_0x49a463['scope'],'url':_0x49a463['url'],'force':_0x49a463['force'],'opencode':_0x49a463['opencode'],'allowInsecureLocalhost':_0x49a463['allow-insecure-localhost']},_0x2fc810));})['command'](_0x589fb0[_0x29d914(0x2d9)],'Install\x20Chromium\x20browser\x20binary',_0x2056de=>{const _0x33fd31=_0x29d914;return _0x2056de[_0x33fd31(0x1c9)](_0x4f8e92[_0x33fd31(0x1b5)],{'type':'boolean','description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]});},async _0xab13ff=>{const _0x502a9d=_0x29d914;await withTelemetry(_0x4f8e92['ofcJz'],()=>ensureChromium(_0xab13ff[_0x502a9d(0x2a8)]));})[_0x29d914(0x26e)](_0x589fb0[_0x29d914(0x1e1)],_0x589fb0['hBdne'],_0x3a06b1=>{const _0x27f19d=_0x29d914;return _0x3a06b1[_0x27f19d(0x1c9)](_0x27f19d(0x209),{'type':_0x4f8e92[_0x27f19d(0x29f)],'description':_0x4f8e92[_0x27f19d(0x1b0)]})['option']('mcp',{'type':_0x27f19d(0x1ad),'description':_0x27f19d(0x1d6),'default':![]});},async _0x103fa6=>{const _0x501f55=_0x29d914;await withTelemetry(_0x589fb0[_0x501f55(0x276)],async()=>{const _0x3c0d66=_0x501f55;if(_0x103fa6['mcp']){await _0x4f8e92[_0x3c0d66(0x280)](mcpBootstrap);const _0xca7319=await _0x4f8e92[_0x3c0d66(0x2be)](refreshCliToken);if(!_0xca7319)throw new Error(_0x3c0d66(0x289));const _0x1887be=await _0x4f8e92[_0x3c0d66(0x23f)](getCurrentUser,_0xca7319);if(!_0x1887be[_0x3c0d66(0x231)])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x1887be['error']);console['log'](_0x3c0d66(0x1bf)+_0x1887be['user'][_0x3c0d66(0x214)]);return;}await _0x4f8e92[_0x3c0d66(0x23f)](authenticate,_0x103fa6[_0x3c0d66(0x209)]);});})['command'](_0x589fb0[_0x29d914(0x247)],_0x589fb0[_0x29d914(0x2d7)],_0x5ec4bc=>{const _0x5cd0ea=_0x29d914;return _0x5ec4bc[_0x5cd0ea(0x1c9)](_0x589fb0[_0x5cd0ea(0x336)],{'type':_0x589fb0['UbNfc'],'choices':[_0x589fb0[_0x5cd0ea(0x321)],_0x589fb0['GqjeF']],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})[_0x5cd0ea(0x1c9)](_0x589fb0['WZVDw'],{'type':_0x5cd0ea(0x1ad),'description':_0x589fb0[_0x5cd0ea(0x25a)],'default':![]});},async _0x4a6e9e=>{const _0x301e23=_0x29d914;await withTelemetry(_0x589fb0[_0x301e23(0x2f2)],async()=>{const _0x3bdab9=_0x301e23,_0x3c11dd=_0x4a6e9e[_0x3bdab9(0x320)];if(_0x4a6e9e['opencode']){const _0x5a388c=await _0x4f8e92[_0x3bdab9(0x23f)](ensureOpencodePluginConfig,_0x3c11dd);_0x5a388c&&await _0x4f8e92[_0x3bdab9(0x215)](installSkill,'ranger',{'level':_0x5a388c[_0x3bdab9(0x320)],'cliVersion':getCurrentVersion(),'platform':_0x4f8e92[_0x3bdab9(0x22b)]});}else await _0x4f8e92[_0x3bdab9(0x23f)](ensureClaudePlugin,_0x3c11dd),await ensureClaudeSkills(_0x3c11dd);});})['command'](_0x589fb0[_0x29d914(0x22c)],_0x29d914(0x204),_0x5c77b1=>{const _0x5c66b1=_0x29d914;return _0x5c77b1['option'](_0x4f8e92[_0x5c66b1(0x1fb)],{'type':_0x5c66b1(0x2da),'choices':[_0x5c66b1(0x326),_0x4f8e92['nQNBU']],'description':_0x4f8e92[_0x5c66b1(0x1a9)]})[_0x5c66b1(0x1c9)](_0x4f8e92['mOekn'],{'type':_0x4f8e92[_0x5c66b1(0x29f)],'description':_0x4f8e92[_0x5c66b1(0x2fe)]})['option'](_0x4f8e92['gaCTC'],{'type':_0x4f8e92['JeQQE'],'description':_0x4f8e92[_0x5c66b1(0x2a9)],'default':![]})[_0x5c66b1(0x1c9)](_0x4f8e92['VGGQK'],{'type':_0x4f8e92['JeQQE'],'description':_0x4f8e92['VvsKI'],'default':![]})[_0x5c66b1(0x1c9)](_0x4f8e92['HfhwR'],{'type':_0x5c66b1(0x1ad),'description':_0x4f8e92['SNUCb'],'default':![]});},async _0x14bd01=>{const _0x2a2ef1=_0x29d914;await _0x4f8e92['wZgAs'](withTelemetry,'setup:profiles',_0x139741=>ensureLocalEnv({'url':_0x14bd01['url'],'force':_0x14bd01['force'],'allowInsecureLocalhost':_0x14bd01['allow-insecure-localhost'],'scope':_0x14bd01['scope']==='user'?_0x2a2ef1(0x326):undefined},_0x139741));})['option']('skip-chromium',{'type':'boolean','description':_0x589fb0['pMJWT'],'default':![]})[_0x29d914(0x1c9)](_0x589fb0[_0x29d914(0x336)],{'type':_0x29d914(0x2da),'choices':[_0x589fb0['KNFwL'],_0x589fb0['GqjeF']],'description':_0x29d914(0x267)})[_0x29d914(0x1c9)](_0x589fb0['GZXyD'],{'type':'string','description':_0x29d914(0x331)})[_0x29d914(0x1c9)](_0x29d914(0x1e9),{'type':'boolean','description':_0x29d914(0x1e4),'default':![]})['option'](_0x29d914(0x268),{'type':_0x589fb0['rpAue'],'description':_0x589fb0['ptwWx'],'default':![]})['option'](_0x589fb0['qFIig'],{'type':_0x589fb0['rpAue'],'description':_0x29d914(0x2c2),'default':![]})['option']('mcp-bootstrap',{'type':'boolean','description':_0x589fb0[_0x29d914(0x302)],'default':![]})['option'](_0x589fb0[_0x29d914(0x1ef)],{'type':_0x29d914(0x1ad),'description':_0x29d914(0x24e),'default':![]})[_0x29d914(0x1c9)](_0x29d914(0x2a8),{'type':_0x589fb0[_0x29d914(0x2b1)],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]})[_0x29d914(0x1c9)]('token',{'type':_0x29d914(0x2da),'hidden':!![],'description':'API\x20token'});},async _0x3bc6b7=>{const _0x4034bc=_0x51ec5c,_0xf5a0a=_0x3bc6b7[_0x4034bc(0x233)],_0x34cba0=_0x3bc6b7['token']??_0xf5a0a;_0x3bc6b7[_0x4034bc(0x28b)]&&await _0x589fb0[_0x4034bc(0x232)](withTelemetry,'mcp-bootstrap',()=>mcpBootstrap()),await _0x589fb0[_0x4034bc(0x340)](withTelemetry,_0x4034bc(0x2fd),_0xb9d445=>start(_0x34cba0,{'skipChromium':_0x3bc6b7[_0x4034bc(0x2c0)],'skipAuth':_0x3bc6b7[_0x4034bc(0x1e0)],'withDeps':_0x3bc6b7['with-deps'],'scope':_0x3bc6b7[_0x4034bc(0x320)],'url':_0x3bc6b7['url'],'force':_0x3bc6b7[_0x4034bc(0x1e9)],'opencode':_0x3bc6b7[_0x4034bc(0x268)],'allowInsecureLocalhost':_0x3bc6b7['allow-insecure-localhost']},_0xb9d445));})[_0x51ec5c(0x26e)](_0x589fb0[_0x51ec5c(0x33f)],_0x51ec5c(0x2f9),_0x113bc0=>{const _0x247960=_0x51ec5c;return _0x113bc0[_0x247960(0x2f5)](_0x247960(0x209),{'type':_0x589fb0['UbNfc'],'description':_0x589fb0['Xqbia'],'demandOption':!![]})['option']('profile',{'type':'string','description':_0x589fb0[_0x247960(0x317)]})[_0x247960(0x1c9)](_0x247960(0x1da),{'type':_0x247960(0x2da),'description':_0x589fb0[_0x247960(0x25d)]})['option'](_0x589fb0[_0x247960(0x1e7)],{'type':'boolean','description':_0x589fb0[_0x247960(0x1d5)],'default':![]});},async _0x3e8bf9=>{const _0x38fec8=_0x51ec5c;await withTelemetry(_0x589fb0['ZQsJT'],_0x99e6c8=>setupCi(_0x3e8bf9[_0x38fec8(0x209)],{'profile':_0x3e8bf9['profile'],'baseUrl':_0x3e8bf9['base-url'],'skipChromium':_0x3e8bf9['skip-chromium']},_0x99e6c8));})['command'](_0x51ec5c(0x1e3),_0x51ec5c(0x32d),()=>{},async()=>{await withTelemetry(_0x589fb0['nKflN'],()=>login());})[_0x51ec5c(0x26e)]('skillup',_0x589fb0['Txdge'],_0x1ec44d=>{const _0x4c2c4d=_0x51ec5c;return _0x1ec44d['option'](_0x589fb0['WZVDw'],{'type':'boolean','description':_0x4c2c4d(0x2f8),'default':![]})['option'](_0x589fb0[_0x4c2c4d(0x336)],{'type':_0x589fb0[_0x4c2c4d(0x309)],'choices':[_0x589fb0[_0x4c2c4d(0x321)],'project'],'description':_0x4c2c4d(0x282)});},async _0x1f0691=>{const _0x28894c=_0x51ec5c,_0x43a61f=_0x589fb0['TmJSh'](Boolean,_0x1f0691['opencode']);await _0x589fb0[_0x28894c(0x340)](withTelemetry,'skillup',()=>skillup({'autoInstall':_0x1f0691['scope'],'platform':_0x43a61f?'opencode':_0x28894c(0x242)}));})['command']('clean',_0x51ec5c(0x2ce),()=>{},async()=>{const _0x12a335=_0x51ec5c;await _0x589fb0[_0x12a335(0x30c)](withTelemetry,_0x589fb0['XuGmV'],()=>clean());})[_0x51ec5c(0x26e)](_0x51ec5c(0x1b7),_0x589fb0[_0x51ec5c(0x28c)],_0x5665b2=>{const _0x54bb3a=_0x51ec5c,_0x45dcf4={'UEQfZ':_0x589fb0['UbNfc'],'fRVSU':_0x54bb3a(0x2ba),'rtYJG':_0x589fb0['CjUDc'],'kTeod':_0x589fb0['qFIig'],'vGfni':'boolean','LUIZq':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','ksJDh':_0x589fb0[_0x54bb3a(0x1ce)],'dTiKV':_0x589fb0['qHPkQ'],'YeGvk':_0x589fb0['pinxF'],'OHuSX':_0x54bb3a(0x2b9),'iyJKl':_0x54bb3a(0x1f4)};return _0x5665b2[_0x54bb3a(0x294)](PROFILE_HELP)['command'](_0x589fb0[_0x54bb3a(0x293)],'Add\x20profile\x20configuration',_0x561968=>{const _0x38483e=_0x54bb3a;return _0x561968[_0x38483e(0x2f5)](_0x38483e(0x2ba),{'type':_0x589fb0['UbNfc'],'description':_0x589fb0['XyiHd'],'demandOption':!![]})[_0x38483e(0x1c9)]('ci',{'type':_0x38483e(0x1ad),'description':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x589fb0['bOeUi'],{'type':_0x589fb0[_0x38483e(0x2b1)],'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0x38483e(0x1c9)](_0x589fb0[_0x38483e(0x1db)],{'type':_0x589fb0[_0x38483e(0x309)],'description':_0x38483e(0x342)})['option'](_0x38483e(0x1e9),{'type':'boolean','description':_0x38483e(0x1e4),'default':![]})[_0x38483e(0x1c9)]('cdp-endpoint',{'type':'string','description':_0x589fb0[_0x38483e(0x260)]})['option'](_0x38483e(0x2ea),{'type':_0x589fb0['rpAue'],'description':_0x38483e(0x2c2),'default':![]})['option']('safe-mode',{'type':_0x589fb0[_0x38483e(0x2b1)],'description':_0x589fb0['BCAGD'],'default':![]})['option'](_0x589fb0[_0x38483e(0x32b)],{'type':'string','array':!![],'description':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)'})['option'](_0x589fb0['zjrEi'],{'type':_0x589fb0['UbNfc'],'choices':[_0x589fb0['KNFwL'],'project'],'description':_0x589fb0['WMjwp']})['option']('yes',{'type':_0x38483e(0x1ad),'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','default':![]});},async _0x4eb94c=>{const _0x4ce20e=_0x54bb3a;await _0x589fb0[_0x4ce20e(0x216)](withTelemetry,_0x4ce20e(0x2bb),_0x3a14d7=>addEnv(_0x4eb94c[_0x4ce20e(0x2ba)],{'ci':_0x4eb94c['ci'],'skipAuth':_0x4eb94c[_0x4ce20e(0x1e0)],'url':_0x4eb94c[_0x4ce20e(0x33e)],'force':_0x4eb94c[_0x4ce20e(0x1e9)],'cdpEndpoint':_0x4eb94c['cdp-endpoint'],'allowInsecureLocalhost':_0x4eb94c['allow-insecure-localhost'],'safeMode':_0x4eb94c['safe-mode'],'setupHeader':_0x4eb94c[_0x4ce20e(0x249)],'scope':_0x4eb94c['scope'],'yes':_0x4eb94c[_0x4ce20e(0x2d5)]},_0x3a14d7),{'isElectron':_0x589fb0[_0x4ce20e(0x1d0)](Boolean,_0x4eb94c[_0x4ce20e(0x2c9)])});})['command']('use\x20<profile-name>',_0x589fb0[_0x54bb3a(0x297)],_0x141a71=>{const _0x444ced=_0x54bb3a;return _0x141a71['positional']('profile-name',{'type':_0x589fb0[_0x444ced(0x309)],'description':_0x589fb0['ksTtE'],'demandOption':!![]});},async _0x1659fb=>{await withTelemetry('profile\x20use',()=>useEnv(_0x1659fb['profile-name']));})['command']('encrypt-auth\x20<profile>','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)',_0x3b5805=>{const _0x197825=_0x54bb3a;return _0x3b5805['positional'](_0x197825(0x1b7),{'type':_0x45dcf4[_0x197825(0x1bc)],'description':_0x197825(0x1f4),'demandOption':!![]});},async _0x4f5241=>{const _0x4ba51f=_0x54bb3a;await withTelemetry('profile\x20encrypt-auth',()=>authEncrypt(_0x4f5241[_0x4ba51f(0x1b7)]));})['command']('ls',_0x589fb0[_0x54bb3a(0x241)],()=>{},async()=>{const _0x32c73d=_0x54bb3a;await _0x589fb0[_0x32c73d(0x232)](withTelemetry,'profile\x20ls',()=>envList());})[_0x54bb3a(0x26e)](_0x589fb0[_0x54bb3a(0x2cf)],_0x54bb3a(0x305),_0x1829d0=>{const _0x5442d1=_0x54bb3a;return _0x1829d0[_0x5442d1(0x2f5)](_0x45dcf4['fRVSU'],{'type':_0x5442d1(0x2da),'description':_0x45dcf4['rtYJG'],'demandOption':!![]})[_0x5442d1(0x1c9)](_0x45dcf4[_0x5442d1(0x226)],{'type':_0x45dcf4['vGfni'],'description':_0x45dcf4['LUIZq']});},async _0xeda28c=>{const _0x1d8c3d=_0x54bb3a;await withTelemetry('profile\x20update',_0x423ba9=>updateEnv(_0xeda28c[_0x1d8c3d(0x2ba)],_0x423ba9,{'allowInsecureLocalhost':_0xeda28c['allow-insecure-localhost']}));})['command']('migrate\x20[profile-name]','Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)',_0x12afdc=>{const _0x22d146=_0x54bb3a;return _0x12afdc['positional'](_0x22d146(0x2ba),{'type':_0x589fb0['UbNfc'],'description':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.'})[_0x22d146(0x1c9)]('all',{'type':'boolean','description':_0x22d146(0x30f),'default':![]})[_0x22d146(0x1c9)](_0x22d146(0x20b),{'type':_0x589fb0['rpAue'],'description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})[_0x22d146(0x1c9)](_0x589fb0['oTGyr'],{'type':_0x22d146(0x1ad),'alias':'y','description':_0x22d146(0x2e5),'default':![]})[_0x22d146(0x1c9)](_0x589fb0[_0x22d146(0x2b4)],{'type':_0x589fb0['rpAue'],'description':_0x22d146(0x254),'default':![]});},async _0x4ba049=>{const _0x2b869d=_0x54bb3a;await withTelemetry(_0x2b869d(0x31a),_0x2510b6=>migrateProfile({'profileName':_0x4ba049['profile-name'],'all':_0x4ba049['all'],'dryRun':_0x4ba049[_0x2b869d(0x20b)],'yes':_0x4ba049['yes'],'saveCreds':_0x4ba049[_0x2b869d(0x1e6)]},_0x2510b6));})['command'](_0x589fb0[_0x54bb3a(0x287)],_0x589fb0[_0x54bb3a(0x229)],_0x597252=>{const _0x24cbea=_0x54bb3a,_0x418cb2={'jTNJL':function(_0x3e996f,_0x1b39d4,_0x4c0e87){return _0x3e996f(_0x1b39d4,_0x4c0e87);},'jzQuQ':_0x589fb0['KarcQ'],'ROjIt':'string','bAbYN':_0x589fb0['qHPkQ'],'MQfuV':'Config\x20key','sqXXX':'Config\x20key\x20to\x20remove','etoen':'profile\x20config\x20unset','enfMn':function(_0x75c630,_0x181cb6,_0x56843c){return _0x589fb0['MIclY'](_0x75c630,_0x181cb6,_0x56843c);}};return _0x597252[_0x24cbea(0x294)](PROFILE_CONFIG_HELP)['command']('set\x20<profile>\x20<key>\x20<value>',_0x589fb0[_0x24cbea(0x26b)],_0x974227=>{const _0xec2515=_0x24cbea;return _0x974227[_0xec2515(0x2f5)](_0x45dcf4[_0xec2515(0x25b)],{'type':_0x45dcf4[_0xec2515(0x1bc)],'description':'Profile\x20name','demandOption':!![]})[_0xec2515(0x2f5)](_0x45dcf4[_0xec2515(0x239)],{'type':_0xec2515(0x2da),'description':_0x45dcf4[_0xec2515(0x20d)],'demandOption':!![]})['positional'](_0xec2515(0x303),{'type':_0x45dcf4['UEQfZ'],'description':_0x45dcf4['OHuSX'],'demandOption':!![]});},async _0x6f1016=>{const _0x2e2e6e=_0x24cbea;await _0x418cb2[_0x2e2e6e(0x1e8)](withTelemetry,_0x418cb2[_0x2e2e6e(0x255)],()=>configSet(_0x6f1016[_0x2e2e6e(0x1b7)],_0x6f1016['key'],_0x6f1016['value']));})[_0x24cbea(0x26e)](_0x24cbea(0x1ee),_0x589fb0[_0x24cbea(0x1c0)],_0x148331=>{const _0x5dd3cc=_0x24cbea;return _0x148331['positional'](_0x5dd3cc(0x1b7),{'type':_0x418cb2['ROjIt'],'description':_0x5dd3cc(0x1f4),'demandOption':!![]})['positional'](_0x418cb2['bAbYN'],{'type':_0x418cb2[_0x5dd3cc(0x1dd)],'description':_0x418cb2['MQfuV'],'demandOption':!![]});},async _0x2b3928=>{const _0x409073=_0x24cbea;await withTelemetry('profile\x20config\x20get',()=>configGet(_0x2b3928[_0x409073(0x1b7)],_0x2b3928['key']));})[_0x24cbea(0x26e)](_0x24cbea(0x2cb),_0x24cbea(0x300),_0x246e76=>{const _0x12d648=_0x24cbea;return _0x246e76['positional'](_0x45dcf4['ksJDh'],{'type':_0x45dcf4[_0x12d648(0x1bc)],'description':_0x45dcf4['iyJKl'],'demandOption':!![]});},async _0x3f6e8a=>{const _0x55b06c=_0x24cbea;await withTelemetry('profile\x20config\x20list',()=>configList(_0x3f6e8a[_0x55b06c(0x1b7)]));})[_0x24cbea(0x26e)]('unset\x20<profile>\x20<key>','Remove\x20a\x20config\x20value',_0x1f6da0=>{const _0x55b8f8=_0x24cbea;return _0x1f6da0[_0x55b8f8(0x2f5)](_0x55b8f8(0x1b7),{'type':_0x418cb2[_0x55b8f8(0x1dd)],'description':_0x55b8f8(0x1f4),'demandOption':!![]})['positional'](_0x418cb2[_0x55b8f8(0x32a)],{'type':'string','description':_0x418cb2['sqXXX'],'demandOption':!![]});},async _0x459d23=>{const _0x34b5a5=_0x24cbea;await withTelemetry(_0x418cb2[_0x34b5a5(0x307)],()=>configUnset(_0x459d23['profile'],_0x459d23[_0x34b5a5(0x1d2)]));})['command'](_0x24cbea(0x2c8),'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile\x20(cloud\x20profiles\x20only)',_0x129b4a=>{const _0x32ad7c=_0x24cbea;return _0x129b4a['positional'](_0x45dcf4[_0x32ad7c(0x25b)],{'type':_0x32ad7c(0x2da),'description':_0x45dcf4['iyJKl'],'demandOption':!![]});},async _0x25f4fa=>{const _0x4d3f69=_0x24cbea;await _0x418cb2['enfMn'](withTelemetry,_0x4d3f69(0x27e),()=>configReset(_0x25f4fa[_0x4d3f69(0x1b7)]));})['demandCommand'](0x1,_0x589fb0['XDboz']);})[_0x54bb3a(0x253)](0x1,_0x589fb0[_0x54bb3a(0x228)]);})['command'](_0x589fb0[_0x51ec5c(0x212)],_0x589fb0[_0x51ec5c(0x28a)],()=>{},async()=>{const _0x4853de=_0x51ec5c;await _0x589fb0[_0x4853de(0x340)](withTelemetry,_0x4853de(0x2a1),()=>status());})['command']('update',_0x51ec5c(0x1c1),()=>{},async()=>{await withTelemetry('update',()=>update());})[_0x51ec5c(0x26e)](_0x589fb0[_0x51ec5c(0x24b)],_0x589fb0[_0x51ec5c(0x201)],()=>{},async()=>{await withTelemetry(_0x589fb0['uwAfw'],async()=>{const _0x17a750=await getToken();if(!_0x17a750)throw new Error('No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.');console['log'](_0x17a750);});})['command']('go','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)',_0x3f9258=>{const _0x2434a4=_0x51ec5c;return _0x3f9258[_0x2434a4(0x1c9)](_0x589fb0['sarlW'],{'type':'string','description':_0x2434a4(0x286)})['option'](_0x589fb0['nDGiZ'],{'type':_0x2434a4(0x2da),'description':_0x2434a4(0x21f)})[_0x2434a4(0x1c9)](_0x589fb0['oSOVW'],{'type':_0x589fb0['UbNfc'],'description':_0x589fb0[_0x2434a4(0x1ab)]})['option'](_0x589fb0[_0x2434a4(0x218)],{'type':_0x589fb0[_0x2434a4(0x20a)],'description':'Scenario\x20index\x20(1-based)'})['option']('start-path',{'type':_0x589fb0[_0x2434a4(0x309)],'description':_0x589fb0['AWuDk']})['option'](_0x589fb0[_0x2434a4(0x33a)],{'type':_0x2434a4(0x2da),'description':_0x589fb0['fWyno']})['option'](_0x589fb0[_0x2434a4(0x2b2)],{'type':'string','description':_0x2434a4(0x23a)})['option'](_0x589fb0['DuSpi'],{'type':_0x2434a4(0x1ad),'description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})[_0x2434a4(0x1c9)](_0x589fb0[_0x2434a4(0x31d)],{'type':_0x589fb0['UbNfc'],'hidden':!![],'choices':[_0x589fb0['BMxIY'],_0x2434a4(0x246),_0x2434a4(0x236),'failed',_0x589fb0['rYLIh']]})['option'](_0x2434a4(0x22e),{'type':_0x589fb0[_0x2434a4(0x2b1)],'hidden':!![]})['option'](_0x589fb0[_0x2434a4(0x332)],{'type':_0x589fb0[_0x2434a4(0x309)],'hidden':!![]})['option'](_0x589fb0['UwdsJ'],{'type':_0x589fb0['UbNfc'],'hidden':!![]})['option']('item',{'type':_0x589fb0[_0x2434a4(0x20a)],'hidden':!![]});},async _0x33fd40=>{await runGoCommand(_0x33fd40);})[_0x51ec5c(0x26e)](_0x51ec5c(0x2e4),![],_0x14f59f=>{const _0x4e77ef=_0x51ec5c,_0x440c9d={'vCKgt':_0x589fb0[_0x4e77ef(0x1ce)],'zGHoA':function(_0x3da93c,_0x4ad084,_0x39e031){return _0x3da93c(_0x4ad084,_0x39e031);},'IqZlc':_0x4e77ef(0x2a6),'RHvGx':function(_0x30dcd7,_0x463141){const _0x2b9310=_0x4e77ef;return _0x589fb0[_0x2b9310(0x2b7)](_0x30dcd7,_0x463141);}};return _0x14f59f['command'](_0x589fb0[_0x4e77ef(0x2e7)],![],_0x4a35ee=>{const _0x2d290d=_0x4e77ef;return _0x4a35ee[_0x2d290d(0x2f5)](_0x440c9d['vCKgt'],{'type':'string','description':_0x2d290d(0x1f4),'demandOption':!![]});},async _0x5bf1a4=>{const _0x178b02=_0x4e77ef;_0x440c9d[_0x178b02(0x230)](warnRenamed,_0x178b02(0x296),_0x440c9d['IqZlc']),await _0x440c9d[_0x178b02(0x313)](authEncrypt,_0x5bf1a4[_0x178b02(0x1b7)]);})[_0x4e77ef(0x253)](0x1,_0x4e77ef(0x250));},()=>{})[_0x51ec5c(0x26e)](_0x589fb0['gfEqA'],![],_0x4a5a93=>{const _0x108be6=_0x51ec5c;return _0x4a5a93[_0x108be6(0x2f5)](_0x589fb0['LvQVc'],{'type':_0x108be6(0x2da),'description':_0x108be6(0x298)})[_0x108be6(0x1c9)](_0x108be6(0x2c0),{'type':_0x108be6(0x1ad),'description':_0x589fb0[_0x108be6(0x2fb)],'default':![]})['option']('scope',{'type':_0x108be6(0x2da),'choices':[_0x589fb0[_0x108be6(0x321)],_0x589fb0[_0x108be6(0x285)]],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})[_0x108be6(0x1c9)](_0x589fb0[_0x108be6(0x1db)],{'type':_0x589fb0[_0x108be6(0x309)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})[_0x108be6(0x1c9)]('force',{'type':'boolean','description':_0x108be6(0x1e4),'default':![]})['option']('skip-auth',{'type':'boolean','description':'Skip\x20authentication','default':![]})['option'](_0x108be6(0x2a8),{'type':_0x589fb0[_0x108be6(0x2b1)],'description':_0x589fb0['tUDpc'],'default':![]});},async _0x390ab4=>{const _0x399a7e=_0x51ec5c;warnRenamed(_0x589fb0['meVcr'],_0x589fb0['PggtW']),await withTelemetry(_0x589fb0[_0x399a7e(0x1f5)],_0x37a085=>start(_0x390ab4['token'],{'skipChromium':_0x390ab4['skip-chromium'],'skipAuth':_0x390ab4['skip-auth'],'withDeps':_0x390ab4[_0x399a7e(0x2a8)],'scope':_0x390ab4['scope'],'url':_0x390ab4[_0x399a7e(0x33e)],'force':_0x390ab4[_0x399a7e(0x1e9)]},_0x37a085));})['command'](_0x589fb0['BpgcY'],![],_0x254903=>{const _0x2f27c8=_0x51ec5c;return _0x254903[_0x2f27c8(0x1c9)](_0x589fb0['Mkznl'],{'type':_0x2f27c8(0x2da),'description':_0x589fb0[_0x2f27c8(0x1fd)]})[_0x2f27c8(0x1c9)](_0x589fb0[_0x2f27c8(0x223)],{'type':_0x589fb0['UbNfc'],'description':_0x589fb0['sOLho']})[_0x2f27c8(0x1c9)](_0x2f27c8(0x2f6),{'type':'number','description':_0x589fb0['VpuQa']})['option'](_0x2f27c8(0x1b7),{'type':_0x2f27c8(0x2da),'hidden':!![]})['option'](_0x2f27c8(0x284),{'type':'string','hidden':!![]})['option'](_0x589fb0['oDYAP'],{'type':_0x589fb0['NpEBw'],'hidden':!![]})[_0x2f27c8(0x1c9)](_0x2f27c8(0x1c8),{'type':_0x2f27c8(0x2da),'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})[_0x2f27c8(0x1c9)](_0x589fb0['DITeR'],{'type':_0x589fb0[_0x2f27c8(0x309)],'description':_0x589fb0[_0x2f27c8(0x21a)]})[_0x2f27c8(0x1c9)](_0x589fb0['fULAf'],{'type':_0x2f27c8(0x2da),'hidden':!![]})[_0x2f27c8(0x1c9)](_0x589fb0['DuSpi'],{'type':_0x589fb0['rpAue'],'hidden':!![],'default':![]})[_0x2f27c8(0x1c9)](_0x589fb0[_0x2f27c8(0x31d)],{'type':_0x589fb0['UbNfc'],'hidden':!![],'choices':[_0x589fb0['BMxIY'],_0x2f27c8(0x246),_0x589fb0['TvfbT'],'failed',_0x589fb0['rYLIh']]});},async _0x54c691=>{await runGoCommand(_0x54c691,!![]);})[_0x51ec5c(0x26e)]('add\x20env\x20<env-name>',![],_0x5d65c0=>{const _0x1a6650=_0x51ec5c;return _0x5d65c0[_0x1a6650(0x2f5)]('env-name',{'type':_0x1a6650(0x2da),'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x1a6650(0x1c9)]('ci',{'type':'boolean','description':_0x589fb0[_0x1a6650(0x272)],'default':![]})[_0x1a6650(0x1c9)]('skip-auth',{'type':_0x589fb0[_0x1a6650(0x2b1)],'description':_0x589fb0['qqXDi'],'default':![]});},async _0x1cdc81=>{const _0x57f59e=_0x51ec5c;_0x589fb0['MIclY'](warnRenamed,'ranger\x20add\x20env',_0x589fb0['gPSri']),await _0x589fb0['tjsVU'](withTelemetry,'add\x20env',_0x58c48e=>addEnv(_0x1cdc81['env-name'],{'ci':_0x1cdc81['ci'],'skipAuth':_0x1cdc81[_0x57f59e(0x1e0)]},_0x58c48e));})['command'](_0x589fb0[_0x51ec5c(0x1f8)],![],_0x163880=>{const _0x5b8b48=_0x51ec5c;return _0x163880['positional'](_0x5b8b48(0x32f),{'type':'string','description':_0x5b8b48(0x32e),'demandOption':!![]});},async _0x5dd332=>{const _0x2899f1=_0x51ec5c;_0x589fb0[_0x2899f1(0x340)](warnRenamed,_0x589fb0['gCpfH'],_0x589fb0['PcXwC']),await withTelemetry('use',()=>useEnv(_0x5dd332[_0x2899f1(0x32f)]));})['command']('config',![],_0x33357b=>{const _0x4256cc=_0x51ec5c,_0x2740ba={'pFulN':_0x589fb0['eOKIE'],'BpwnB':'key','surpG':_0x589fb0[_0x4256cc(0x309)],'PfDuo':_0x4256cc(0x303),'CGxVo':function(_0x2c17a6,_0x256c6e,_0x1f4a6f){return _0x2c17a6(_0x256c6e,_0x1f4a6f);},'AbGxK':_0x4256cc(0x1af),'lmxwe':_0x4256cc(0x341),'dUhvi':_0x589fb0['Ijtty'],'QLDYe':'ranger\x20profile\x20config\x20list','OgKGO':_0x4256cc(0x2e6)};return _0x33357b[_0x4256cc(0x26e)](_0x589fb0['hbuCW'],![],_0x38f561=>{const _0x31f85f=_0x4256cc;return _0x38f561[_0x31f85f(0x2f5)](_0x31f85f(0x20f),{'type':_0x31f85f(0x2da),'description':_0x2740ba[_0x31f85f(0x2c1)],'demandOption':!![]})[_0x31f85f(0x2f5)](_0x2740ba[_0x31f85f(0x2cd)],{'type':_0x2740ba[_0x31f85f(0x22a)],'description':_0x31f85f(0x2e8),'demandOption':!![]})['positional'](_0x2740ba['PfDuo'],{'type':_0x2740ba['surpG'],'description':'Config\x20value','demandOption':!![]});},async _0x5c8405=>{const _0xc52f45=_0x4256cc;_0x589fb0['FmRJL'](warnRenamed,_0xc52f45(0x27d),_0xc52f45(0x325)),await withTelemetry('config\x20set',()=>configSet(_0x5c8405['env'],_0x5c8405['key'],_0x5c8405['value']));})['command'](_0x589fb0['CVxRd'],![],_0x1f53a2=>{const _0x534ae9=_0x4256cc;return _0x1f53a2['positional'](_0x589fb0['Mkznl'],{'type':_0x589fb0[_0x534ae9(0x309)],'description':_0x589fb0[_0x534ae9(0x1c7)],'demandOption':!![]})['positional']('key',{'type':'string','description':_0x534ae9(0x318),'demandOption':!![]});},async _0x24ba33=>{const _0x26bfc1=_0x4256cc;_0x2740ba[_0x26bfc1(0x227)](warnRenamed,_0x2740ba[_0x26bfc1(0x217)],_0x2740ba['lmxwe']),await withTelemetry(_0x26bfc1(0x200),()=>configGet(_0x24ba33['env'],_0x24ba33['key']));})[_0x4256cc(0x26e)](_0x589fb0['hdPTL'],![],_0x3c3ece=>{const _0x1b747e=_0x4256cc;return _0x3c3ece[_0x1b747e(0x2f5)](_0x589fb0['Mkznl'],{'type':'string','description':_0x589fb0[_0x1b747e(0x1c7)],'demandOption':!![]});},async _0xc078c5=>{const _0x2e0f93=_0x4256cc;warnRenamed(_0x2740ba[_0x2e0f93(0x257)],_0x2740ba[_0x2e0f93(0x23c)]),await withTelemetry(_0x2740ba['OgKGO'],()=>configList(_0xc078c5[_0x2e0f93(0x20f)]));})[_0x4256cc(0x26e)](_0x4256cc(0x344),![],_0x4cf851=>{const _0xb912=_0x4256cc;return _0x4cf851[_0xb912(0x2f5)](_0xb912(0x20f),{'type':_0x589fb0['UbNfc'],'description':_0xb912(0x1dc),'demandOption':!![]})['positional'](_0x589fb0[_0xb912(0x2a3)],{'type':_0x589fb0['UbNfc'],'description':_0xb912(0x1c6),'demandOption':!![]});},async _0x56ddbb=>{const _0x6e297e=_0x4256cc;_0x589fb0['FmRJL'](warnRenamed,_0x589fb0[_0x6e297e(0x2a0)],_0x6e297e(0x2c7)),await withTelemetry('config\x20unset',()=>configUnset(_0x56ddbb['env'],_0x56ddbb[_0x6e297e(0x1d2)]));})[_0x4256cc(0x253)](0x1,_0x589fb0['EmSsi']);})['command']('env',![],_0x20f09=>{const _0x250a25=_0x51ec5c,_0x3a92b6={'cnPMd':function(_0x4f79b8,_0x394614,_0x396f4c){return _0x4f79b8(_0x394614,_0x396f4c);},'swnOx':'env\x20list','CNGvp':_0x250a25(0x2da),'jcXAy':_0x250a25(0x1ba)};return _0x20f09['command']('ls',![],()=>{},async()=>{const _0x7d9e2c=_0x250a25;_0x3a92b6[_0x7d9e2c(0x27c)](warnRenamed,_0x7d9e2c(0x2a4),'ranger\x20profile\x20ls'),await withTelemetry(_0x3a92b6[_0x7d9e2c(0x1d8)],()=>envList());})['command']('update\x20<env-name>',![],_0xb55b57=>{const _0x5f58e9=_0x250a25;return _0xb55b57['positional'](_0x5f58e9(0x32f),{'type':_0x3a92b6['CNGvp'],'description':_0x3a92b6[_0x5f58e9(0x283)],'demandOption':!![]});},async _0x2fbc0c=>{const _0x4dc4ce=_0x250a25;_0x589fb0['dZwmy'](warnRenamed,_0x4dc4ce(0x2fa),_0x589fb0['cOfYL']),await withTelemetry(_0x4dc4ce(0x31f),_0x420255=>updateEnv(_0x2fbc0c['env-name'],_0x420255));})[_0x250a25(0x253)](0x1,'You\x20must\x20specify\x20an\x20env\x20subcommand');})['command']('feature',![],_0x4f5d7f=>{const _0x963e7c=_0x51ec5c,_0x2ca47e={'fFDTt':_0x589fb0['BNXop'],'nLMMw':_0x589fb0['rpAue'],'vFyge':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','yLOox':_0x963e7c(0x2dd),'FnfCy':'offset','JBpqR':_0x963e7c(0x252),'wtgRK':_0x963e7c(0x24d),'quhKR':_0x589fb0[_0x963e7c(0x290)],'pvMhx':function(_0x36b37e,_0x37e431,_0xca628){return _0x36b37e(_0x37e431,_0xca628);},'wywWl':_0x963e7c(0x2a5),'WaBeL':_0x589fb0['goSxR'],'QocFa':_0x589fb0['qIkjs'],'QVUPg':_0x963e7c(0x2da),'XYbiG':_0x589fb0['rUFLE'],'WCHJB':_0x589fb0['hsqtp'],'JbVQL':_0x963e7c(0x2db),'qBIRl':_0x963e7c(0x2e0),'TOjYG':_0x963e7c(0x259),'HwkSm':'feature\x20delete'};return _0x4f5d7f[_0x963e7c(0x26e)](_0x963e7c(0x2ef),![],_0x103454=>{const _0x1b615e=_0x963e7c;return _0x103454['positional']('name',{'type':'string','description':_0x1b615e(0x328),'demandOption':!![]})[_0x1b615e(0x1c9)](_0x589fb0['OgVOO'],{'type':_0x1b615e(0x2da),'alias':'d','description':'Feature\x20review\x20description'})['option'](_0x589fb0['Wnvuh'],{'type':'array','alias':'c','description':_0x589fb0[_0x1b615e(0x1f3)]})[_0x1b615e(0x1c9)](_0x589fb0[_0x1b615e(0x218)],{'type':_0x589fb0[_0x1b615e(0x248)],'hidden':!![]});},async _0x3c02c=>{const _0x344586=_0x963e7c;warnRenamed(_0x344586(0x251),_0x344586(0x1d7)),_0x589fb0[_0x344586(0x216)](warnFlagRenamed,_0x344586(0x1d7),_0x344586(0x2b3),_0x589fb0['BLAoF']);const _0x331b7a=_0x3c02c[_0x344586(0x21e)]||_0x3c02c[_0x344586(0x1b6)];await withTelemetry(_0x589fb0[_0x344586(0x21b)],()=>featureCreate(_0x3c02c[_0x344586(0x279)],{'description':_0x3c02c[_0x344586(0x261)],'scenarios':_0x331b7a}));})[_0x963e7c(0x26e)]('list',![],_0x47cb92=>{const _0x2fc622=_0x963e7c;return _0x47cb92['option'](_0x2ca47e[_0x2fc622(0x295)],{'type':_0x2ca47e['nLMMw'],'description':_0x2ca47e[_0x2fc622(0x30e)]})[_0x2fc622(0x1c9)](_0x2fc622(0x28f),{'type':_0x2ca47e['yLOox'],'alias':'l','description':_0x2fc622(0x288),'default':0xa})['option'](_0x2ca47e[_0x2fc622(0x1bd)],{'type':'number','alias':'o','description':_0x2ca47e['JBpqR'],'default':0x0})[_0x2fc622(0x1c9)](_0x2ca47e['wtgRK'],{'type':_0x2ca47e['nLMMw'],'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x4e5102=>{const _0x176691=_0x963e7c;warnRenamed(_0x589fb0[_0x176691(0x219)],_0x589fb0['CzFdv']),await _0x589fb0['CldVs'](withTelemetry,_0x589fb0[_0x176691(0x1e2)],()=>featureList({'currentBranch':_0x4e5102[_0x176691(0x278)],'limit':_0x4e5102['limit'],'offset':_0x4e5102[_0x176691(0x31c)],'includeDeleted':_0x4e5102[_0x176691(0x24d)]}));})['command'](_0x589fb0[_0x963e7c(0x26c)],![],_0x4d12a1=>{const _0x41074f=_0x963e7c;return _0x4d12a1[_0x41074f(0x2f5)]('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x42ffca=>{const _0x3613dd=_0x963e7c;warnRenamed('ranger\x20feature\x20show',_0x589fb0[_0x3613dd(0x329)]),await _0x589fb0[_0x3613dd(0x30c)](withTelemetry,_0x589fb0[_0x3613dd(0x22d)],()=>featureShow(_0x42ffca['id']));})['command']('resume\x20[id]',![],_0x5acb9e=>{const _0x40ade0=_0x963e7c;return _0x5acb9e['positional']('id',{'type':'string','description':_0x2ca47e[_0x40ade0(0x235)]});},async _0x224ac6=>{const _0x437670=_0x963e7c;_0x2ca47e[_0x437670(0x2f7)](warnRenamed,_0x2ca47e[_0x437670(0x1aa)],_0x2ca47e[_0x437670(0x2b5)]),await withTelemetry(_0x2ca47e[_0x437670(0x1ac)],()=>featureResume(_0x224ac6['id']));})[_0x963e7c(0x26e)](_0x589fb0['tyeAz'],![],_0x4a9085=>{const _0x4a043b=_0x963e7c;return _0x4a9085[_0x4a043b(0x2f5)](_0x4a043b(0x261),{'type':_0x2ca47e['QVUPg'],'description':_0x4a043b(0x256),'demandOption':!![]})[_0x4a043b(0x1c9)]('id',{'type':'string','description':_0x2ca47e[_0x4a043b(0x1c4)]});},async _0x476207=>{const _0x2f2055=_0x963e7c;warnRenamed(_0x589fb0[_0x2f2055(0x1ae)],_0x589fb0['ygwJN']),await withTelemetry(_0x589fb0['udBLZ'],()=>featureAddScenario(_0x476207[_0x2f2055(0x261)],_0x476207['id']));})[_0x963e7c(0x26e)](_0x589fb0['KdIwn'],![],_0x33a7ac=>{const _0x569dfa=_0x963e7c;return _0x33a7ac[_0x569dfa(0x2f5)]('id',{'type':_0x589fb0[_0x569dfa(0x309)],'description':_0x569dfa(0x2ec)});},async _0x9ec9a4=>{const _0x19e9f1=_0x963e7c;_0x2ca47e[_0x19e9f1(0x2f7)](warnRenamed,_0x2ca47e[_0x19e9f1(0x2ae)],_0x2ca47e['JbVQL']),await withTelemetry(_0x2ca47e[_0x19e9f1(0x2ca)],()=>featureGetReview(_0x9ec9a4['id']));})[_0x963e7c(0x26e)](_0x589fb0[_0x963e7c(0x24a)],![],_0x4467cf=>{const _0x40b77d=_0x963e7c;return _0x4467cf[_0x40b77d(0x2f5)]('id',{'type':'string','description':_0x40b77d(0x21c)});},async _0x1820da=>{const _0x90adb8=_0x963e7c;_0x2ca47e[_0x90adb8(0x2f7)](warnRenamed,'ranger\x20feature\x20delete',_0x2ca47e['TOjYG']),await withTelemetry(_0x2ca47e[_0x90adb8(0x29c)],()=>featureDelete(_0x1820da['id']));})[_0x963e7c(0x26e)]('restore\x20<id>',![],_0x33ca25=>{const _0x4ed181=_0x963e7c;return _0x33ca25[_0x4ed181(0x2f5)]('id',{'type':'string','description':_0x589fb0['xeYvB'],'demandOption':!![]});},async _0x307df9=>{const _0x40a608=_0x963e7c;warnRenamed('ranger\x20feature\x20restore',_0x589fb0[_0x40a608(0x1ed)]),await _0x589fb0['EOeuF'](withTelemetry,_0x589fb0[_0x40a608(0x2f1)],()=>featureRestore(_0x307df9['id']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})['command'](_0x589fb0[_0x51ec5c(0x2e9)],![],_0x41377e=>{const _0x2dd578=_0x51ec5c,_0xf29fd9={'SyTgL':_0x589fb0['rwpSV'],'MroKe':_0x589fb0[_0x2dd578(0x309)]};return _0x41377e[_0x2dd578(0x26e)](_0x589fb0[_0x2dd578(0x1ec)],_0x589fb0[_0x2dd578(0x271)],_0x2a67e2=>{const _0x3b51fc=_0x2dd578;return _0x2a67e2[_0x3b51fc(0x1c9)](_0x3b51fc(0x23b),{'type':'string','description':_0xf29fd9[_0x3b51fc(0x263)]});},async _0x33ef79=>{const _0x1dde61=_0x2dd578;await withTelemetry(_0x1dde61(0x2de),()=>hook('enable',_0x33ef79['session-id']));})['command'](_0x2dd578(0x333),_0x2dd578(0x314),_0x4724cb=>{const _0x3dbe04=_0x2dd578;return _0x4724cb[_0x3dbe04(0x1c9)]('session-id',{'type':_0xf29fd9['MroKe'],'description':_0xf29fd9['SyTgL']});},async _0x2c318d=>{await _0x589fb0['EOeuF'](withTelemetry,'hook:disable',()=>hook('disable',_0x2c318d['session-id']));})[_0x2dd578(0x1c9)](_0x589fb0['OoUxL'],{'type':'string','description':_0x2dd578(0x339)})[_0x2dd578(0x1c9)](_0x589fb0[_0x2dd578(0x316)],{'type':_0x2dd578(0x2da),'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x48f9d6=>{const _0xeee245=_0x51ec5c;_0x48f9d6['name']&&await _0x589fb0[_0xeee245(0x205)](hook,_0x48f9d6['name'],_0x48f9d6[_0xeee245(0x23b)]);})[_0x51ec5c(0x253)](0x1,_0x51ec5c(0x24f))[_0x51ec5c(0x25f)]()['fail'](async(_0x2a6ad1,_0x5d1f5d,_0x3c9930)=>{const _0x165e5c=_0x51ec5c,_0x40a248=_0x589fb0[_0x165e5c(0x2b7)](sanitizeArgs,process[_0x165e5c(0x2e3)][_0x165e5c(0x2ed)](0x2)),_0xafde2c=getErrorType(_0x2a6ad1,_0x5d1f5d);if(_0x2a6ad1&&_0x2a6ad1['includes'](_0x589fb0[_0x165e5c(0x2af)])){const _0x17f785=process['argv'][0x2];console['error']('\x0aUnknown\x20command:\x20'+_0x17f785),console[_0x165e5c(0x224)](_0x165e5c(0x2fc));}else{if(_0x2a6ad1)console['error']('\x0a'+_0x2a6ad1+'\x0a');else _0x5d1f5d&&console['error']('\x0aError:\x20'+_0x5d1f5d[_0x165e5c(0x29a)]+'\x0a');}await _0x589fb0[_0x165e5c(0x2b7)](logDesirePath,{'rawCommand':_0x40a248,'errorMessage':_0x2a6ad1||_0x5d1f5d?.[_0x165e5c(0x29a)],'errorType':_0xafde2c});const _0x30fe88=getCurrentCollector();_0x30fe88&&await _0x30fe88['trackCommandError'](_0x5d1f5d||new Error(_0x2a6ad1||'Unknown\x20error')),process['exit'](0x1);})[_0x51ec5c(0x2bf)](_0x589fb0['FcokL'](_0x589fb0[_0x51ec5c(0x2e1)]('Documentation:\x0a',_0x589fb0['BvuAR']),_0x589fb0['XJpgz']))[_0x51ec5c(0x33b)]()['alias'](_0x51ec5c(0x33b),'h');}process['env'][_0x3f7e8a(0x23e)]!==_0x3f7e8a(0x2d0)&&buildParser()[_0x3f7e8a(0x306)]();
|
|
2
|
+
const _0x4f3969=_0x1065;(function(_0x45a210,_0xac6257){const _0x17d01a=_0x1065,_0x2e431a=_0x45a210();while(!![]){try{const _0x45ebb7=-parseInt(_0x17d01a(0x1d4))/0x1+parseInt(_0x17d01a(0x145))/0x2+-parseInt(_0x17d01a(0x255))/0x3+parseInt(_0x17d01a(0x214))/0x4*(-parseInt(_0x17d01a(0x21a))/0x5)+parseInt(_0x17d01a(0x147))/0x6+parseInt(_0x17d01a(0xe2))/0x7*(parseInt(_0x17d01a(0xd9))/0x8)+-parseInt(_0x17d01a(0x18d))/0x9*(-parseInt(_0x17d01a(0xff))/0xa);if(_0x45ebb7===_0xac6257)break;else _0x2e431a['push'](_0x2e431a['shift']());}catch(_0x49b028){_0x2e431a['push'](_0x2e431a['shift']());}}}(_0x36f0,0xacfee));import _0xd33391 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x135f42=_0x1065,_0x51f608={'XocWf':function(_0x56fd7c,_0x40d239){return _0x56fd7c!==_0x40d239;},'JrlKX':function(_0x4c5e63,_0x741ff5){return _0x4c5e63(_0x741ff5);},'sjecw':'.ranger','BXfer':function(_0xe9f035,_0x4aca08,_0x14ae6c){return _0xe9f035(_0x4aca08,_0x14ae6c);},'sKSKS':_0x135f42(0x131)};let _0x1ced70=process[_0x135f42(0x188)]();const _0x4c8b17=parse(_0x1ced70)[_0x135f42(0xf1)];while(_0x51f608['XocWf'](_0x1ced70,_0x4c8b17)){if(_0x51f608[_0x135f42(0x1ee)](existsSync,join(_0x1ced70,_0x51f608[_0x135f42(0x260)]))||existsSync(_0x51f608[_0x135f42(0x1eb)](join,_0x1ced70,_0x51f608[_0x135f42(0x1c9)])))return _0x1ced70;_0x1ced70=_0x51f608['JrlKX'](dirname,_0x1ced70);}return process['cwd']();}function _0x1065(_0x40a45b,_0x415522){_0x40a45b=_0x40a45b-0x92;const _0x36f00d=_0x36f0();let _0x1065f8=_0x36f00d[_0x40a45b];return _0x1065f8;}_0xd33391[_0x4f3969(0x11a)]({'path':join(findProjectRoot(),'.env')});import _0x2edbe2 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';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';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'](_0x4f3969(0x16d),async _0x19d4ee=>{const _0x41a38e={'wUfhS':function(_0x437910){return _0x437910();}},_0x406ae7=_0x41a38e['wUfhS'](getCurrentCollector);_0x406ae7&&await _0x406ae7['trackCommandError'](_0x19d4ee),process['exitCode']=0x1;});function _0x36f0(){const _0x166db1=['auth','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','with-deps','--profile','Scenario\x20description','MzoLg','env','Feature\x20review\x20name','task','tokenOrSubcommand','aoREf','mcp','ICyKT','usage','add\x20env\x20<env-name>','NeWsR','Config\x20value','YwMXE','\x0aError:\x20','.\x20[','profile\x20add','dry-run','ranger\x20profile\x20update','boolean','url','KGLYb','zWONq','item','MHGXQ','Install\x20skills\x20for\x20OpenCode','array','force','show\x20[id]','current-branch','json','hook:enable','report','enable','ranger\x20profile\x20config\x20set','RANGER_PROFILE','edit-scenario\x20<description>','SFbum','RllvJ','yaWFy','16DXPeBu','fBgIn','GHzyh','TsLSO','vLKco','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','ZxwUG','Cloud\x20profile\x20name','eEQKA','1569106GTgLwD','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','get-review\x20[id]','xWYWQ','value','restore\x20<id>','cxdHP','Lejll','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','fPoTt','dcTOA','cleuj','demandCommand','Ranger\x20API\x20token\x20(rngr_...)','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','root','Unknown\x20error','Print\x20the\x20current\x20CLI\x20access\x20token','kheXx','disable','reset\x20<profile>','ranger\x20feature\x20create','uLZad','SARgk','profile\x20config\x20unset','cNieb','add\x20env','delete','Config\x20key','6180FYXkKS','resume','lScpd','zoEoo','string','TGDrw','YXduf','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','Name\x20of\x20the\x20environment\x20to\x20update','skip-auth','XVeLK','PgpXB','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','partial','dmvdY','profile\x20config\x20get','test_output','bOuzB','setup:all','QvweT','RoPHB','Config\x20key\x20to\x20remove','pTULP','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','JIqKw','command','qbjvR','config','show','Authenticate\x20via\x20MCP\x20proxy','\x20PARTIAL','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','Feature\x20review\x20ID','profile\x20config\x20set','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','pyVbp','PZNiu','add\x20<profile-name>','Authenticate\x20with\x20Ranger','limit','OKLbh','CVWeu','VpwTX','ILtCa','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','zrefy','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','sRdOx','hook','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','.env','Update\x20authentication\x20for\x20an\x20existing\x20profile','ranger\x20go','yyrWk','ranger\x20profile\x20ls','novZq','HWGpa','CyAEY','iHCzI','zaGpv','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','Restore\x20a\x20soft-deleted\x20feature\x20review','kwrYl','GutHx','verify-feature','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','laYWs','positional','yes','rcSnz','703266ukfAoI','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','626166hFFccY','sHGmM','checklist','exclude-scenario','louPB','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','incomplete','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','Add\x20profile\x20configuration','Wiwfn','OHjED','NWPRD','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','ULPlh','IegJE','CAcIQ','issues','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','--notes','YobWz','fVjHB','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','aBBVm','QfOIS','profile','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','message','mcp-bootstrap','nBlIt','fvMlb','user','hDVns','ranger\x20show','length','notes','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','add-scenario\x20<description>','profile\x20config\x20reset','unhandledRejection','list\x20<env>','mUghn','DUeOn','unknown\x20error','SoWVW','KHVWZ','Example:\x20ranger\x20create\x20my-feature','AtTCQ','EcOCC','option','Unknown\x20command','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','clean','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','SLcwX','ranger','FBhMd','cCLdq','Skip\x20Chromium\x20browser\x20installation','pgqob','use\x20<env-name>','FcKlT','status','restore','yZNKw','GlWPp','cwd','feature\x20get-feedback','ranger\x20auth\x20encrypt','miZmX','sTcuU','21501FBYvjx','JVCLp','NBDja','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','KFazf','Name\x20of\x20the\x20environment','base-url','List\x20all\x20profiles','Reason:\x20','OxOIY','setup:profiles','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','Install\x20scope\x20for\x20plugin\x20and\x20skills','eUypO','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','NiWKH','ranger\x20profile\x20config\x20get','BglqR','Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)','oxIoj','include-deleted','zhHDo','ranger\x20profile\x20use','jBuhb','setup-ci\x20<token>','tdhvP','NhVhO','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','slice','Profile\x20name','RKvQt','Scenario\x20number\x20to\x20edit\x20(1-based)','all','LJRtZ','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','update\x20<env-name>','print-access-token','evaluation','ranger\x20profile\x20encrypt-auth','help','miadn','frnaR','Where\x20to\x20store\x20the\x20profile','ubMRh','update\x20<profile-name>','offset','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','name','YLgsl','profiles','zvCFR','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','cdp-endpoint','fGTIE','XFxVj','LHszE','Scenario\x20index\x20(1-based)','ViGNY','Skip\x20browser\x20authentication','scenario','sKSKS','SEqEu','start-path','rJYMr','key','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','gYcnU','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','AioVb','Gnpzs','432257dpSdFj','--scenario','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','FOFUK','BqhWc','ranger\x20add-scenario','scriptName','Czbhp','lOLvv','Skip\x20authentication','Optional\x20feature\x20ID','log','report\x20[id]','env\x20update','fmEIx','mXHID','wWzbi','CqPFI','feature\x20resume','QbGfI','edit-scenario','griXF','KqkXG','BXfer','tqhHZ','goujk','JrlKX','description','Name\x20of\x20the\x20profile\x20to\x20update','skip-chromium','Summary:\x20','uNgFI','add-checklist-item\x20<description>','\x20VERIFIED','CeuSH','ranger\x20feature\x20resume','ranger\x20config\x20unset','Feature\x20review\x20description','yWjmx','kAZMx','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile\x20(cloud\x20profiles\x20only)','dvdFs','number','failed','YbWzF','kPgLU','Subcommand\x20or\x20API\x20token\x20(rngr_...)','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','error','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','get\x20<profile>\x20<key>','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','cZCvk','kmBet','test','update','login','version','GitgC','\x0aUnknown\x20command:\x20','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','cXnKz','map','save-creds','25052eDUxeC','list','HlqSZ','mgXXJ','HXAVr','lwRYG','370VqDhcU','XeHMx','GjBHZ','scope','You\x20must\x20specify\x20a\x20config\x20subcommand','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','HGUtP','create\x20<name>','allow-insecure-localhost','deps','opencode','ycJPq','pXFAQ','model','GIbSo','AdLQI','ezFgJ','uWnrK','cKtTV','kkKaE','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','Switch\x20to\x20using\x20a\x20specific\x20profile','exit','setup-header','VhoCh','HtqDx','\x20\x20https://docs.ranger.net\x0a','\x20is\x20now\x20','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','pcJwi','login\x20<name>','jNiaw','ranger\x20create','RYKoe','tndLw','EgIzg','ranger\x20feature\x20delete','summary','ranger\x20config\x20list','ranger\x20config\x20set','get\x20<env>\x20<key>','not_configured','session-id','rgROo','ohsSn','debug-outcome','iPnYi','LvLIT','Alias\x20for\x20--mcp-bootstrap','qINQG','Name\x20of\x20the\x20profile','✓\x20Authenticated\x20to\x20','repeat','Manage\x20profiles','setup-ci','profile-name','Uewsa','lcCmK','Include\x20soft-deleted\x20feature\x20reviews','2329209jjvqqf','feature\x20show','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','organizationName','argv','LaAiE','token','list\x20<profile>','setup:skills','jYrCl','hSUao','sjecw','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','nCKwS','Login\x20failed:\x20','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','piemM','GGmeF','zVdpn','env-name','trackCommandError','jRznD','vTUeO','use\x20<profile-name>','bhCOX','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','ngJJo','set\x20<profile>\x20<key>\x20<value>','\x27.\x20Session\x20written\x20to\x20cloud\x20profile.','qnExo','yOkop','resume\x20[id]','CIVOg','delete\x20[id]','encrypt\x20<profile>','drzWh','feature\x20restore','Number\x20of\x20feature\x20reviews\x20to\x20skip','project','feature\x20list'];_0x36f0=function(){return _0x166db1;};return _0x36f0();}const rawArgs=process['argv'][_0x4f3969(0x1a9)](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=_0x4f3969(0xae),PROFILE_CONFIG_HELP='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';function warnRenamed(_0x1f65cf,_0x8bd015){const _0x3e2eab=_0x4f3969;console['error']('\x0a'+_0x1f65cf+_0x3e2eab(0x235)+_0x8bd015+'\x0a');}function argUsed(_0x33e021){return rawArgs['some'](_0x2584e3=>_0x2584e3===_0x33e021||_0x2584e3['startsWith'](_0x33e021+'='));}function warnFlagRenamed(_0x913a,_0x290255,_0x5bdd7b){const _0x45e1b6={'XAbzs':function(_0x3f7fbf,_0xe3594a){return _0x3f7fbf(_0xe3594a);},'zxThS':function(_0xec6471,_0x40a9f6,_0xb34b1d){return _0xec6471(_0x40a9f6,_0xb34b1d);}};_0x45e1b6['XAbzs'](argUsed,_0x290255)&&_0x45e1b6['zxThS'](warnRenamed,_0x913a+'\x20'+_0x290255,_0x913a+'\x20'+_0x5bdd7b);}async function runGoCommand(_0x48e958,_0x5f45db=![]){const _0x494a25=_0x4f3969,_0x1a6646={'EZjnG':function(_0x542246,_0x535d4e,_0x3dd7db){return _0x542246(_0x535d4e,_0x3dd7db);},'zfKwr':'ranger\x20verify-feature','VhoCh':'ranger\x20go','NJhIg':_0x494a25(0xb0),'rLWaH':function(_0x367468,_0x208f7a,_0x5f1c4d,_0x5f4bcf){return _0x367468(_0x208f7a,_0x5f1c4d,_0x5f4bcf);},'ADtqb':function(_0x15cb10){return _0x15cb10();},'Czbhp':function(_0x4deebd,_0x4ee006){return _0x4deebd(_0x4ee006);},'Wiwfn':'base-url','ULPlh':'debug-address-comments','ICyKT':function(_0x97d8b1,_0x16a35c){return _0x97d8b1+_0x16a35c;},'YXduf':'verified','BLqrr':'\x20INCOMPLETE','GutHx':_0x494a25(0x10c),'AfUBz':_0x494a25(0x11d),'GHzyh':function(_0x45881b,_0x5dffaf){return _0x45881b===_0x5dffaf;},'UwDhk':'blocked','Uewsa':'\x20FAILED','tdhvP':'\x0aIssues:'};_0x5f45db&&_0x1a6646['EZjnG'](warnRenamed,_0x1a6646['zfKwr'],_0x1a6646[_0x494a25(0x232)]);warnFlagRenamed('ranger\x20go','--env',_0x1a6646['NJhIg']),warnFlagRenamed(_0x494a25(0x133),'--task',_0x494a25(0x159)),_0x1a6646['rLWaH'](warnFlagRenamed,_0x1a6646['VhoCh'],'--item','--scenario');const _0x281d5f=await loadRangerConfig(),_0x3dcf41=_0x1a6646['ADtqb'](isByokEnabled),_0x3ef4a1=_0x48e958[_0x494a25(0x227)],_0x366e24=_0x281d5f['model'],_0x36518d=await _0x1a6646[_0x494a25(0x1db)](verifyFeature,{'featureId':_0x48e958['feature'],'profile':_0x48e958['profile']??_0x48e958[_0x494a25(0xb3)]??process[_0x494a25(0xb3)][_0x494a25(0xd4)],'notes':_0x48e958['notes']??_0x48e958[_0x494a25(0xb5)],'scenario':_0x48e958[_0x494a25(0x1c8)]??_0x48e958['item'],'startPath':_0x48e958['start-path'],'baseUrl':_0x48e958[_0x1a6646[_0x494a25(0x150)]],'debugOutcome':_0x48e958['debug-outcome'],'debugAddressComments':_0x48e958[_0x1a6646[_0x494a25(0x154)]],'headed':_0x48e958['headed'],'byokEnabled':_0x3dcf41,'flagVerifyModel':_0x3ef4a1,'configVerifyModel':_0x366e24});console[_0x494a25(0x1df)](_0x1a6646[_0x494a25(0xb9)]('\x0a','='[_0x494a25(0x24e)](0x3c))),console[_0x494a25(0x1df)](_0x36518d[_0x494a25(0x1b2)]===_0x1a6646['YXduf']?_0x494a25(0x1f5):_0x36518d['evaluation']==='incomplete'?_0x1a6646['BLqrr']:_0x36518d['evaluation']===_0x1a6646[_0x494a25(0x13e)]?_0x1a6646['AfUBz']:_0x1a6646[_0x494a25(0xdb)](_0x36518d[_0x494a25(0x1b2)],_0x1a6646['UwDhk'])?'\x20BLOCKED':_0x1a6646[_0x494a25(0x252)]),console[_0x494a25(0x1df)]('='['repeat'](0x3c)),console['log'](_0x494a25(0x1f2)+_0x36518d[_0x494a25(0x23f)]),console['log']('Evaluation:\x20'+_0x36518d[_0x494a25(0x1b2)]),console[_0x494a25(0x1df)](_0x494a25(0x195)+_0x36518d['evaluationReason']),_0x36518d[_0x494a25(0x157)]?.[_0x494a25(0x168)]&&(console['log'](_0x1a6646[_0x494a25(0x1a6)]),_0x36518d['issues']['forEach']((_0x614e21,_0x541e0d)=>{const _0x54e78f=_0x494a25;console['log']('\x0a'+(_0x541e0d+0x1)+_0x54e78f(0xc0)+_0x614e21['severity']+']\x20'+_0x614e21['description']);})),process['exit'](_0x1a6646['GHzyh'](_0x36518d['evaluation'],_0x1a6646[_0x494a25(0x105)])?0x0:0x1);}export function buildParser(_0x5111b1){const _0x3b6247=_0x4f3969,_0x1bf278={'AioVb':'name','Gnpzs':'string','LHszE':_0x3b6247(0xb4),'kylKf':'description','YUYbz':_0x3b6247(0x1f9),'nBlIt':'scenario','laYWs':_0x3b6247(0xcb),'bOuzB':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','Lejll':_0x3b6247(0x21f),'GIbSo':_0x3b6247(0x174),'noWzz':function(_0x5ed065,_0x4d9622,_0x1baecd,_0x19f8e8){return _0x5ed065(_0x4d9622,_0x1baecd,_0x19f8e8);},'wxrWe':'ranger\x20create','fkhjo':'--checklist','fDxLb':'--scenario','eeHvi':'create','zvCFR':'boolean','yZNKw':_0x3b6247(0x126),'NWPRD':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','JVCLp':_0x3b6247(0x1fe),'HlqSZ':_0x3b6247(0xaa),'zVdpn':function(_0x24eeed,_0x54d032,_0x14363f){return _0x24eeed(_0x54d032,_0x14363f);},'MHGXQ':_0x3b6247(0x11f),'bhCOX':function(_0x2eb6f8,_0x42abb9,_0x57495d){return _0x2eb6f8(_0x42abb9,_0x57495d);},'rGHOH':_0x3b6247(0x11b),'XJVRZ':_0x3b6247(0x10b),'FlUqG':_0x3b6247(0x100),'CjqeH':_0x3b6247(0xb1),'GlWPp':_0x3b6247(0x210),'RllvJ':_0x3b6247(0x1ac),'lScpd':function(_0xb91929,_0x14c6b4,_0x4d9f65){return _0xb91929(_0x14c6b4,_0x4d9f65);},'ubMRh':_0x3b6247(0x14a),'HtqDx':function(_0x1c6c8f,_0x38277f,_0x292132){return _0x1c6c8f(_0x38277f,_0x292132);},'LaAiE':function(_0xef5362,_0x3fa4c2,_0x9a0e1){return _0xef5362(_0x3fa4c2,_0x9a0e1);},'ezFgJ':'get-review','OWSCd':function(_0x37f5da,_0x436917,_0x19f8be){return _0x37f5da(_0x436917,_0x19f8be);},'mXHID':'Feature\x20review\x20ID\x20to\x20restore','sHGmM':function(_0x4af2ad,_0xd5ca48,_0x515014){return _0x4af2ad(_0xd5ca48,_0x515014);},'bxUkw':function(_0x520729,_0x41cc4e,_0x5e76d9){return _0x520729(_0x41cc4e,_0x5e76d9);},'IMsrg':_0x3b6247(0x111),'sTcuU':_0x3b6247(0xaf),'eTCuP':'token','DCJXN':'mcp','DzrHo':_0x3b6247(0x11c),'SFbum':_0x3b6247(0x21d),'fvMlb':_0x3b6247(0x197),'pXFAQ':_0x3b6247(0x1f1),'fVjHB':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','izjfl':'url','hgjfd':'mcp-bootstrap','tqhHZ':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','SEqEu':function(_0x4e4932,_0x2423e9){return _0x4e4932(_0x2423e9);},'BwdZB':'setup:login','LxMDq':function(_0x502632){return _0x502632();},'OxOIY':_0x3b6247(0x1b7),'TGDrw':_0x3b6247(0x222),'JIqKw':_0x3b6247(0x202),'uuqOT':'Run\x20full\x20interactive\x20setup','cXnKz':_0x3b6247(0x223),'XVeLK':'Install\x20Chromium\x20browser\x20binary','eEQKA':'skills','ENmdj':_0x3b6247(0x121),'vbiQx':_0x3b6247(0x94),'iHCzI':'skip-auth','zhHDo':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','FcKlT':'API\x20token','zLlea':'start','cxdHP':'Ranger\x20API\x20token','GitgC':'profile','YobWz':_0x3b6247(0x193),'piemM':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','PYRwq':_0x3b6247(0x180),'qrwiz':_0x3b6247(0x250),'IPwAT':'login','MGOYv':'Install\x20scope\x20for\x20skills','AehSr':function(_0x2211cc,_0xb4b32a){return _0x2211cc(_0xb4b32a);},'gpVHu':_0x3b6247(0x251),'drzWh':_0x3b6247(0x24c),'nCKwS':function(_0x1ebe72,_0x5b8d16,_0x15d077){return _0x1ebe72(_0x5b8d16,_0x15d077);},'zefwH':'profile\x20use','zWONq':function(_0x57daa7,_0x175ebc,_0x463845){return _0x57daa7(_0x175ebc,_0x463845);},'bKuqv':'profile\x20login','zQSBn':'all','rgROo':'Skip\x20interactive\x20confirmation\x20prompts.','KJnuJ':_0x3b6247(0x1bb),'XbtRC':'profile\x20migrate','MTbIv':_0x3b6247(0xde),'BTMUP':_0x3b6247(0x16a),'zoEoo':_0x3b6247(0x1c0),'Vuwpz':_0x3b6247(0x1aa),'EBqVM':_0x3b6247(0xe0),'BqhWc':_0x3b6247(0x236),'YZpLt':_0x3b6247(0x120),'uLZad':'key','LKVNg':_0x3b6247(0x16c),'esuFn':'Set\x20a\x20config\x20value','kAZMx':_0x3b6247(0x25c),'zrefy':'List\x20all\x20config\x20for\x20a\x20profile','eBPVn':'unset\x20<profile>\x20<key>','frnaR':_0x3b6247(0xf6),'xBiPP':_0x3b6247(0x1fc),'KGLYb':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','HXAVr':_0x3b6247(0x124),'YDfpG':'encrypt-auth\x20<profile>','kiHvI':_0x3b6247(0x106),'lRios':_0x3b6247(0x132),'CqPFI':_0x3b6247(0x238),'NiWKH':'migrate\x20[profile-name]','pJODg':'Manage\x20profile\x20configuration','CIVOg':function(_0x52991d,_0x43eab5,_0x4be0c1){return _0x52991d(_0x43eab5,_0x4be0c1);},'yaWFy':function(_0x5bc65d,_0x167c02,_0x49940d){return _0x5bc65d(_0x167c02,_0x49940d);},'mgXXJ':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','zaGpv':'feature','ldxYP':_0x3b6247(0x1de),'BFGoT':_0x3b6247(0x169),'vLKco':_0x3b6247(0x17b),'dcTOA':_0x3b6247(0x1c5),'iPnYi':'model','cZCvk':'headed','gszfP':'blocked','fGTIE':'debug-address-comments','NIerT':function(_0x27a85f,_0x3cb698){return _0x27a85f(_0x3cb698);},'EcOCC':_0x3b6247(0x165),'lWYTs':'project','CWjMk':'force','PgpXB':'Skip\x20authentication','VePVU':'ranger\x20start','XLTFN':function(_0x2e59db,_0x464eda,_0x29261a){return _0x2e59db(_0x464eda,_0x29261a);},'TsLSO':'env','yWjmx':_0x3b6247(0xb5),'fmEIx':_0x3b6247(0x1af),'pcJwi':_0x3b6247(0x1cb),'ftTzW':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','HGUtP':'debug-outcome','jBuhb':'verified','AdLQI':'partial','FMliv':'failed','UDaTm':_0x3b6247(0x98),'digbC':_0x3b6247(0x140),'mQLkH':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','RbzNO':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','UBJpA':_0x3b6247(0xfc),'NeWsR':_0x3b6247(0x192),'YwMXE':function(_0x4aa7e6,_0x922740,_0x1fd91d){return _0x4aa7e6(_0x922740,_0x1fd91d);},'fPoTt':'Environment\x20name','eUypO':_0x3b6247(0x114),'LxXMk':'value','lJThg':_0x3b6247(0xd3),'fVbYx':function(_0x56f5fb,_0x1d3fd8,_0x11fc9b){return _0x56f5fb(_0x1d3fd8,_0x11fc9b);},'PZNiu':'config\x20set','HBtdL':'set\x20<env>\x20<key>\x20<value>','hATrN':_0x3b6247(0x242),'SLcwX':'unset\x20<env>\x20<key>','TZQAw':_0x3b6247(0xc3),'rJYMr':_0x3b6247(0x1e1),'czXAD':'ranger\x20env\x20ls','wWzbi':_0x3b6247(0x1b0),'OYneA':'You\x20must\x20specify\x20an\x20env\x20subcommand','kPgLU':'current-branch','dmvdY':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','hQZpn':_0x3b6247(0x1ba),'WpTJx':'ranger\x20feature\x20show','hboEA':function(_0x338a47,_0xa3fde2,_0x2d2d21){return _0x338a47(_0xa3fde2,_0x2d2d21);},'EgIzg':function(_0x1983ae,_0x3da873,_0x3b601d){return _0x1983ae(_0x3da873,_0x3b601d);},'YLgsl':_0x3b6247(0x1f7),'pTULP':function(_0x2bad11,_0x4de635,_0xfd436a){return _0x2bad11(_0x4de635,_0xfd436a);},'SzaxA':'ranger\x20feature\x20restore','qnExo':function(_0x5cc16b,_0x35340f,_0x179b77){return _0x5cc16b(_0x35340f,_0x179b77);},'AWqCL':'ranger\x20feature\x20add-checklist-item','fwUAM':_0x3b6247(0x189),'goujk':_0x3b6247(0x221),'FLLGH':_0x3b6247(0xcd),'OKLbh':'get-feedback\x20[id]','jRznD':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','DUeOn':_0x3b6247(0xd0),'ohsSn':_0x3b6247(0x116),'FBLfn':_0x3b6247(0x11e),'SoWVW':'session-id','fHIRa':function(_0x5d0709,_0x2d427c){return _0x5d0709(_0x2d427c);},'IegJE':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','aoREf':function(_0x5d84ea,_0x3581e6){return _0x5d84ea(_0x3581e6);},'RKvQt':_0x3b6247(0xf2),'oxIoj':_0x3b6247(0xe3),'kmBet':'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','CeuSH':_0x3b6247(0xa4),'KjzgF':_0x3b6247(0x16b),'RkCcY':_0x3b6247(0x262),'novZq':_0x3b6247(0x1e0),'KHVWZ':_0x3b6247(0xe4),'vyFzV':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','griXF':_0x3b6247(0xe7),'yyrWk':'Initialize\x20Ranger\x20in\x20your\x20project','qbjvR':'Install\x20Ranger\x20skills','VDdkO':_0x3b6247(0x17a),'RAkBj':_0x3b6247(0x15c),'ZxwUG':_0x3b6247(0x24f),'pyVbp':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','bGtxZ':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','KEjTS':'print-access-token','tndLw':'Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','glfcv':_0x3b6247(0xad),'yOkop':'start\x20[token]','vTUeO':_0x3b6247(0x182),'hjquk':_0x3b6247(0x12f),'SARgk':'You\x20must\x20specify\x20a\x20command','LvLIT':function(_0x3d03cc,_0x340fb1){return _0x3d03cc+_0x340fb1;},'xWYWQ':_0x3b6247(0x234)};return _0x1bf278[_0x3b6247(0xb7)](_0x2edbe2,_0x5111b1??process['argv']['slice'](0x2))[_0x3b6247(0x1da)](_0x3b6247(0x17d))[_0x3b6247(0xba)](TOP_LEVEL_HELP)[_0x3b6247(0x20d)](getCurrentVersion())['command'](_0x1bf278[_0x3b6247(0x1ed)],_0x1bf278[_0x3b6247(0x1a0)],_0x5b0b34=>{const _0x50f485=_0x3b6247;return _0x5b0b34['positional'](_0x1bf278['AioVb'],{'type':_0x1bf278[_0x50f485(0x1d3)],'description':_0x1bf278[_0x50f485(0x1c4)],'demandOption':!![]})[_0x50f485(0x177)](_0x1bf278['kylKf'],{'type':_0x50f485(0x103),'alias':'d','description':_0x1bf278['YUYbz']})[_0x50f485(0x177)](_0x1bf278['nBlIt'],{'type':_0x1bf278[_0x50f485(0x141)],'alias':'c','description':_0x1bf278[_0x50f485(0x110)]})['option']('checklist',{'type':'array','hidden':!![]});},async _0x1cdbad=>{const _0x8f0bcc=_0x3b6247;if(!_0x1cdbad[_0x8f0bcc(0x1bc)]){console['error'](_0x1bf278[_0x8f0bcc(0xe9)]+_0x1bf278[_0x8f0bcc(0x228)]),process[_0x8f0bcc(0x230)](0x1);return;}_0x1bf278['noWzz'](warnFlagRenamed,_0x1bf278['wxrWe'],_0x1bf278['fkhjo'],_0x1bf278['fDxLb']);const _0xe80101=_0x1cdbad[_0x8f0bcc(0x1c8)]||_0x1cdbad['checklist'];await withTelemetry(_0x1bf278['eeHvi'],()=>featureCreate(_0x1cdbad['name'],{'description':_0x1cdbad[_0x8f0bcc(0x1ef)],'scenarios':_0xe80101}));})[_0x3b6247(0x118)]('list','List\x20all\x20feature\x20reviews',_0x3ec5fa=>{const _0xe1d480=_0x3b6247;return _0x3ec5fa[_0xe1d480(0x177)](_0xe1d480(0xce),{'type':_0x1bf278['zvCFR'],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})[_0xe1d480(0x177)](_0x1bf278['yZNKw'],{'type':'number','alias':'l','description':_0x1bf278[_0xe1d480(0x152)],'default':0xa})['option']('offset',{'type':_0x1bf278[_0xe1d480(0x18e)],'alias':'o','description':_0x1bf278[_0xe1d480(0x216)],'default':0x0})['option'](_0xe1d480(0x1a1),{'type':_0xe1d480(0xc4),'alias':'d','description':_0xe1d480(0x254),'default':![]});},async _0x2b9f92=>{const _0x306130=_0x3b6247;await _0x1bf278['zVdpn'](withTelemetry,_0x306130(0x215),()=>featureList({'currentBranch':_0x2b9f92[_0x306130(0xce)],'limit':_0x2b9f92[_0x306130(0x126)],'offset':_0x2b9f92['offset'],'includeDeleted':_0x2b9f92['include-deleted']}));})['command']('show\x20[id]',_0x1bf278[_0x3b6247(0x209)],_0x442b74=>{const _0x5eb8dd=_0x3b6247;return _0x442b74[_0x5eb8dd(0x142)]('id',{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278['MHGXQ']});},async _0x97e3b=>{await _0x1bf278['bhCOX'](withTelemetry,_0x1bf278['rGHOH'],()=>featureShow(_0x97e3b['id']));})[_0x3b6247(0x118)](_0x1bf278[_0x3b6247(0x1f6)],_0x3b6247(0x160),_0x182c45=>{const _0x1ef7f8=_0x3b6247;return _0x182c45[_0x1ef7f8(0x142)]('id',{'type':_0x1bf278[_0x1ef7f8(0x1d3)],'description':_0x1bf278['XJVRZ']});},async _0x286fee=>{await withTelemetry(_0x1bf278['FlUqG'],()=>featureResume(_0x286fee['id']));})[_0x3b6247(0x118)](_0x1bf278['KjzgF'],_0x1bf278['RkCcY'],_0x353c5b=>{const _0x2cb8e9=_0x3b6247;return _0x353c5b[_0x2cb8e9(0x142)]('description',{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278['CjqeH'],'demandOption':!![]})[_0x2cb8e9(0x177)]('id',{'type':_0x1bf278[_0x2cb8e9(0x1d3)],'description':_0x1bf278[_0x2cb8e9(0x187)]});},async _0x483e16=>{await withTelemetry('add-scenario',()=>featureAddScenario(_0x483e16['description'],_0x483e16['id']));})['command'](_0x3b6247(0xd5),_0x3b6247(0x261),_0x232265=>{const _0x369992=_0x3b6247;return _0x232265['positional'](_0x369992(0x1ef),{'type':_0x1bf278[_0x369992(0x1d3)],'description':'New\x20scenario\x20description','demandOption':!![]})['option'](_0x369992(0x1c8),{'type':_0x1bf278['JVCLp'],'description':_0x1bf278[_0x369992(0xd7)],'demandOption':!![]})[_0x369992(0x177)]('id',{'type':_0x369992(0x103),'description':_0x1bf278[_0x369992(0x187)]});},async _0x171f6b=>{const _0x1689e2=_0x3b6247;await _0x1bf278[_0x1689e2(0x101)](withTelemetry,_0x1689e2(0x1e8),()=>featureEditScenario(_0x171f6b['description'],{'id':_0x171f6b['id'],'scenario':_0x171f6b['scenario']}));})['command'](_0x1bf278[_0x3b6247(0x136)],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x505d7f=>{const _0xb99ccd=_0x3b6247;return _0x505d7f['positional']('id',{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278[_0xb99ccd(0xc9)]})['option'](_0x1bf278['ubMRh'],{'type':_0x1bf278[_0xb99ccd(0x141)],'description':_0xb99ccd(0x198)})['option'](_0xb99ccd(0xcf),{'type':'boolean','description':_0xb99ccd(0x1d1),'default':![]});},async _0x349898=>{const _0x2d3b27=_0x3b6247,_0x1fc487=_0x349898[_0x1bf278[_0x2d3b27(0x1b8)]],_0x131096=_0x1fc487?_0x1fc487[_0x2d3b27(0x212)](_0xe46851=>Number(_0xe46851)):undefined;await _0x1bf278[_0x2d3b27(0x233)](withTelemetry,_0x2d3b27(0xd1),()=>featureReportPrDescription(_0x349898['id'],{'excludeScenarios':_0x131096,'json':_0x349898['json']}));})[_0x3b6247(0x118)](_0x1bf278[_0x3b6247(0x173)],_0x3b6247(0x205),_0x41f868=>{const _0x1f2d18=_0x3b6247;return _0x41f868[_0x1f2d18(0x142)]('id',{'type':'string','description':_0x1bf278['GlWPp']});},async _0x300e57=>{const _0x1ba785=_0x3b6247;await _0x1bf278[_0x1ba785(0x25a)](withTelemetry,_0x1bf278[_0x1ba785(0x22a)],()=>featureGetReview(_0x300e57['id']));})[_0x3b6247(0x118)](_0x3b6247(0xa6),_0x1bf278['vyFzV'],_0x35baf8=>{const _0xb4567e=_0x3b6247;return _0x35baf8[_0xb4567e(0x142)]('id',{'type':_0x1bf278[_0xb4567e(0x1d3)],'description':_0x1bf278['MHGXQ']});},async _0xc76f82=>{const _0x34753b=_0x3b6247;await _0x1bf278['OWSCd'](withTelemetry,_0x34753b(0xfd),()=>featureDelete(_0xc76f82['id']));})['command'](_0x1bf278[_0x3b6247(0x1e9)],_0x3b6247(0x13c),_0x45961=>{const _0x32fd6a=_0x3b6247;return _0x45961[_0x32fd6a(0x142)]('id',{'type':'string','description':_0x1bf278['mXHID'],'demandOption':!![]});},async _0x4f741c=>{const _0x19e845=_0x3b6247;await _0x1bf278[_0x19e845(0x9d)](withTelemetry,_0x19e845(0x185),()=>featureRestore(_0x4f741c['id']));})['command']('setup\x20[tokenOrSubcommand]',_0x1bf278[_0x3b6247(0x134)],_0x58efc3=>{const _0x141fa8=_0x3b6247,_0x44961b={'JmNzF':'token','pgqob':_0x141fa8(0x103),'CeoFA':_0x1bf278[_0x141fa8(0x226)],'uNgFI':'boolean','MNEYc':_0x141fa8(0x1dd),'VilHF':_0x1bf278[_0x141fa8(0x15b)],'RoPHB':_0x141fa8(0x199),'eLFXr':_0x1bf278['izjfl'],'HOilM':_0x141fa8(0x22e),'qQhAj':_0x141fa8(0x190),'NhVhO':'opencode','lcCmK':_0x141fa8(0x153),'TnMqp':_0x1bf278['hgjfd'],'cnBpe':_0x1bf278[_0x141fa8(0x1ec)],'kheXx':_0x141fa8(0x24a),'uWnrK':function(_0x583910,_0x4367cc,_0x31c06f){return _0x1bf278['lScpd'](_0x583910,_0x4367cc,_0x31c06f);},'ksTfZ':function(_0x1b6c3b,_0x4800d6){const _0x3318de=_0x141fa8;return _0x1bf278[_0x3318de(0x1ca)](_0x1b6c3b,_0x4800d6);},'cOTeo':function(_0x39ad5c,_0x1d3892,_0x27e09e){return _0x39ad5c(_0x1d3892,_0x27e09e);},'hDVns':_0x1bf278['BwdZB'],'LgXWw':function(_0x410f13){return _0x1bf278['LxMDq'](_0x410f13);},'SbvSl':_0x141fa8(0x25d),'QfOIS':_0x1bf278['SFbum'],'cHdxt':'project','byPFz':_0x1bf278[_0x141fa8(0x196)],'YLXtS':'skip-auth','tAvsG':_0x141fa8(0x1c7),'fyvPv':_0x1bf278[_0x141fa8(0x104)]};return _0x58efc3['usage']('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')['positional']('tokenOrSubcommand',{'type':'string','description':_0x1bf278[_0x141fa8(0x117)]})['command'](_0x141fa8(0x1ad),_0x1bf278['uuqOT'],_0x2ff31d=>{const _0x26e495=_0x141fa8;return _0x2ff31d['option'](_0x44961b['JmNzF'],{'type':_0x44961b['pgqob'],'description':'Ranger\x20API\x20token'})[_0x26e495(0x177)](_0x44961b['CeoFA'],{'type':_0x44961b['uNgFI'],'description':_0x26e495(0x146),'default':![]})[_0x26e495(0x177)](_0x26e495(0x108),{'type':_0x44961b['uNgFI'],'description':_0x44961b['MNEYc'],'default':![]})[_0x26e495(0x177)]('with-deps',{'type':_0x44961b['uNgFI'],'description':_0x44961b['VilHF'],'default':![]})[_0x26e495(0x177)](_0x26e495(0x21d),{'type':_0x44961b['pgqob'],'choices':[_0x26e495(0x165),_0x26e495(0xab)],'description':_0x44961b[_0x26e495(0x113)]})['option'](_0x44961b['eLFXr'],{'type':'string','description':_0x44961b['HOilM']})['option']('force',{'type':_0x44961b['uNgFI'],'description':_0x44961b['qQhAj'],'default':![]})['option'](_0x44961b[_0x26e495(0x1a7)],{'type':_0x26e495(0xc4),'description':_0x26e495(0x179),'default':![]})[_0x26e495(0x177)]('allow-insecure-localhost',{'type':_0x26e495(0xc4),'description':_0x44961b['lcCmK'],'default':![]})['option'](_0x44961b['TnMqp'],{'type':_0x26e495(0xc4),'description':_0x44961b['cnBpe'],'default':![]})['option']('mcp',{'type':'boolean','description':_0x44961b[_0x26e495(0xf4)],'default':![]});},async _0x2b0d02=>{const _0x26615f=_0x141fa8;(_0x2b0d02[_0x26615f(0x162)]||_0x2b0d02[_0x26615f(0xb8)])&&await _0x1bf278[_0x26615f(0x148)](withTelemetry,'mcp-bootstrap',()=>mcpBootstrap()),await _0x1bf278['bxUkw'](withTelemetry,_0x1bf278['IMsrg'],_0x2f196f=>start(_0x2b0d02[_0x26615f(0x25b)],{'skipChromium':_0x2b0d02[_0x26615f(0x1f1)],'skipAuth':_0x2b0d02[_0x26615f(0x108)],'withDeps':_0x2b0d02['with-deps'],'scope':_0x2b0d02['scope'],'url':_0x2b0d02[_0x26615f(0xc5)],'force':_0x2b0d02['force'],'opencode':_0x2b0d02['opencode'],'allowInsecureLocalhost':_0x2b0d02['allow-insecure-localhost']},_0x2f196f));})['command'](_0x1bf278[_0x141fa8(0x211)],_0x1bf278[_0x141fa8(0x109)],_0x3ad772=>{const _0x4c0ee5=_0x141fa8;return _0x3ad772['option'](_0x1bf278['sTcuU'],{'type':_0x4c0ee5(0xc4),'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]});},async _0x140b27=>{const _0xc5c578=_0x141fa8;await _0x44961b[_0xc5c578(0x22b)](withTelemetry,'setup:deps',()=>ensureChromium(_0x140b27['with-deps']));})[_0x141fa8(0x118)](_0x141fa8(0x20c),_0x141fa8(0x125),_0x345913=>{const _0x3eae24=_0x141fa8;return _0x345913[_0x3eae24(0x177)](_0x1bf278['eTCuP'],{'type':_0x1bf278[_0x3eae24(0x1d3)],'description':_0x3eae24(0xef)})['option'](_0x1bf278['DCJXN'],{'type':_0x1bf278['zvCFR'],'description':_0x1bf278['DzrHo'],'default':![]});},async _0x91ad4b=>{const _0x301e98=_0x141fa8;await _0x44961b['cOTeo'](withTelemetry,_0x44961b[_0x301e98(0x166)],async()=>{const _0x3c8a92=_0x301e98;if(_0x91ad4b[_0x3c8a92(0xb8)]){await mcpBootstrap();const _0x4cd2d4=await refreshCliToken();if(!_0x4cd2d4)throw new Error('Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.');const _0x124536=await getCurrentUser(_0x4cd2d4);if(!_0x124536['success'])throw new Error(_0x3c8a92(0xea)+_0x124536[_0x3c8a92(0x204)]);console[_0x3c8a92(0x1df)](_0x3c8a92(0x24d)+_0x124536['user'][_0x3c8a92(0x258)]);return;}await _0x44961b['ksTfZ'](authenticate,_0x91ad4b['token']);});})[_0x141fa8(0x118)](_0x1bf278[_0x141fa8(0xe1)],_0x141fa8(0x203),_0x4e430a=>{const _0x1fbc22=_0x141fa8;return _0x4e430a['option'](_0x1bf278['SFbum'],{'type':'string','choices':['user',_0x1fbc22(0xab)],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})[_0x1fbc22(0x177)](_0x1fbc22(0x224),{'type':'boolean','description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]});},async _0x258922=>{const _0xd96c6e=_0x141fa8,_0x177281={'KFazf':'ranger','vGswQ':function(_0x10dcba){return _0x44961b['LgXWw'](_0x10dcba);},'LXNUi':_0xd96c6e(0x224)};await _0x44961b[_0xd96c6e(0x22b)](withTelemetry,_0x44961b['SbvSl'],async()=>{const _0xa37544=_0xd96c6e,_0x2a9552=_0x258922[_0xa37544(0x21d)];if(_0x258922[_0xa37544(0x224)]){const _0x407e68=await ensureOpencodePluginConfig(_0x2a9552);_0x407e68&&await installSkill(_0x177281[_0xa37544(0x191)],{'level':_0x407e68[_0xa37544(0x21d)],'cliVersion':_0x177281['vGswQ'](getCurrentVersion),'platform':_0x177281['LXNUi']});}else await ensureClaudePlugin(_0x2a9552),await ensureClaudeSkills(_0x2a9552);});})['command'](_0x141fa8(0x1be),'Set\x20up\x20a\x20local\x20browser\x20profile',_0xadaa6d=>{const _0x43f6c1=_0x141fa8;return _0xadaa6d['option'](_0x44961b[_0x43f6c1(0x15e)],{'type':_0x44961b[_0x43f6c1(0x181)],'choices':['user',_0x44961b['cHdxt']],'description':_0x44961b['byPFz']})[_0x43f6c1(0x177)](_0x44961b['eLFXr'],{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app'})[_0x43f6c1(0x177)](_0x44961b['YLXtS'],{'type':'boolean','description':_0x44961b['tAvsG'],'default':![]})[_0x43f6c1(0x177)]('force',{'type':_0x44961b[_0x43f6c1(0x1f3)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x43f6c1(0x177)](_0x44961b['fyvPv'],{'type':'boolean','description':_0x44961b[_0x43f6c1(0x253)],'default':![]});},async _0x35015f=>{const _0x20beb6=_0x141fa8;await withTelemetry(_0x1bf278[_0x20beb6(0x164)],_0x3ac51e=>ensureLocalEnv({'url':_0x35015f['url'],'force':_0x35015f['force'],'allowInsecureLocalhost':_0x35015f[_0x20beb6(0x222)],'scope':_0x35015f[_0x20beb6(0x21d)]==='user'?'user':undefined},_0x3ac51e));})['option'](_0x141fa8(0x1f1),{'type':_0x1bf278['zvCFR'],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option'](_0x1bf278['SFbum'],{'type':'string','choices':['user','project'],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})['option'](_0x141fa8(0xc5),{'type':_0x1bf278[_0x141fa8(0x1d3)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option']('force',{'type':'boolean','description':_0x141fa8(0x190),'default':![]})['option']('opencode',{'type':_0x1bf278['zvCFR'],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})[_0x141fa8(0x177)](_0x141fa8(0x222),{'type':_0x1bf278['zvCFR'],'description':_0x1bf278['ENmdj'],'default':![]})[_0x141fa8(0x177)]('mcp-bootstrap',{'type':'boolean','description':_0x1bf278['vbiQx'],'default':![]})['option'](_0x1bf278['iHCzI'],{'type':_0x1bf278['zvCFR'],'description':_0x141fa8(0x1d6),'default':![]})[_0x141fa8(0x177)](_0x141fa8(0xaf),{'type':'boolean','description':_0x1bf278[_0x141fa8(0x1a2)],'default':![]})[_0x141fa8(0x177)]('token',{'type':'string','hidden':!![],'description':_0x1bf278[_0x141fa8(0x183)]});},async _0x11ba5d=>{const _0x59eedf=_0x3b6247,_0x1ea179=_0x11ba5d[_0x59eedf(0xb6)],_0x25b52d=_0x11ba5d[_0x59eedf(0x25b)]??_0x1ea179;_0x11ba5d[_0x59eedf(0x162)]&&await withTelemetry(_0x1bf278['hgjfd'],()=>mcpBootstrap()),await _0x1bf278['zVdpn'](withTelemetry,_0x1bf278['zLlea'],_0x1542e9=>start(_0x25b52d,{'skipChromium':_0x11ba5d['skip-chromium'],'skipAuth':_0x11ba5d[_0x59eedf(0x108)],'withDeps':_0x11ba5d['with-deps'],'scope':_0x11ba5d[_0x59eedf(0x21d)],'url':_0x11ba5d['url'],'force':_0x11ba5d[_0x59eedf(0xcc)],'opencode':_0x11ba5d[_0x59eedf(0x224)],'allowInsecureLocalhost':_0x11ba5d['allow-insecure-localhost']},_0x1542e9));})[_0x3b6247(0x118)](_0x3b6247(0x1a5),_0x3b6247(0x9e),_0x18361d=>{const _0x3b75cf=_0x3b6247;return _0x18361d[_0x3b75cf(0x142)]('token',{'type':_0x3b75cf(0x103),'description':_0x1bf278[_0x3b75cf(0xe8)],'demandOption':!![]})['option'](_0x1bf278['GitgC'],{'type':'string','description':_0x3b75cf(0x257)})['option'](_0x1bf278['YobWz'],{'type':_0x3b75cf(0x103),'description':_0x1bf278[_0x3b75cf(0x95)]})[_0x3b75cf(0x177)]('skip-chromium',{'type':_0x1bf278[_0x3b75cf(0x1bf)],'description':_0x1bf278['PYRwq'],'default':![]});},async _0x2295a6=>{const _0x3922e3=_0x3b6247;await _0x1bf278[_0x3922e3(0x233)](withTelemetry,_0x1bf278['qrwiz'],_0x4e4dc8=>setupCi(_0x2295a6['token'],{'profile':_0x2295a6['profile'],'baseUrl':_0x2295a6['base-url'],'skipChromium':_0x2295a6['skip-chromium']},_0x4e4dc8));})['command'](_0x1bf278['IPwAT'],_0x3b6247(0x1d0),()=>{},async()=>{await _0x1bf278['OWSCd'](withTelemetry,_0x1bf278['IPwAT'],()=>login());})['command']('skillup',_0x1bf278[_0x3b6247(0x119)],_0x4d1fad=>{const _0x2f78c9=_0x3b6247;return _0x4d1fad[_0x2f78c9(0x177)](_0x2f78c9(0x224),{'type':_0x1bf278[_0x2f78c9(0x1bf)],'description':_0x2f78c9(0xca),'default':![]})[_0x2f78c9(0x177)]('scope',{'type':_0x2f78c9(0x103),'choices':[_0x2f78c9(0x165),_0x2f78c9(0xab)],'description':_0x1bf278['MGOYv']});},async _0x24e6ef=>{const _0x5ba779=_0x3b6247,_0xa804f5=_0x1bf278['AehSr'](Boolean,_0x24e6ef[_0x5ba779(0x224)]);await _0x1bf278['lScpd'](withTelemetry,'skillup',()=>skillup({'autoInstall':_0x24e6ef['scope'],'platform':_0xa804f5?'opencode':'claude'}));})[_0x3b6247(0x118)](_0x1bf278['VDdkO'],_0x1bf278['RAkBj'],()=>{},async()=>{const _0x120932=_0x3b6247;await _0x1bf278[_0x120932(0x148)](withTelemetry,'clean',()=>clean());})[_0x3b6247(0x118)](_0x1bf278['GitgC'],_0x1bf278[_0x3b6247(0xdf)],_0x29220d=>{const _0x3075dd=_0x3b6247,_0x30abda={'sRdOx':_0x3075dd(0x1ce),'cleuj':_0x3075dd(0xc4),'cGjaa':_0x1bf278['MTbIv'],'LJRtZ':_0x3075dd(0xc5),'AtTCQ':'string','XRXHt':_0x3075dd(0x14c),'BglqR':_0x3075dd(0x222),'CyAEY':_0x3075dd(0x121),'miZmX':_0x1bf278['BTMUP'],'jNiaw':'setup-header','dvdFs':_0x3075dd(0x13b),'HWGpa':_0x3075dd(0x21d),'WhpxK':'yes','GJkyg':_0x1bf278[_0x3075dd(0x102)],'hSUao':function(_0x4ba08a,_0x538eff,_0x433bfa,_0x42f58a){return _0x4ba08a(_0x538eff,_0x433bfa,_0x42f58a);},'POCPE':function(_0x429016,_0x2ee67d){const _0x44ed73=_0x3075dd;return _0x1bf278[_0x44ed73(0x1ca)](_0x429016,_0x2ee67d);},'iclFF':_0x3075dd(0x1c1),'YbWzF':_0x1bf278[_0x3075dd(0x20e)],'VpwTX':_0x1bf278['Vuwpz'],'BjgAd':function(_0x3d21e5,_0x2283f2,_0x41ed2c){return _0x1bf278['OWSCd'](_0x3d21e5,_0x2283f2,_0x41ed2c);},'OeKmw':_0x3075dd(0x251),'gYcnU':_0x1bf278['AioVb'],'NBDja':_0x1bf278['EBqVM'],'KqkXG':_0x1bf278[_0x3075dd(0x1d8)],'OtlrZ':function(_0x5eac7b,_0x2c239e,_0x4569af){return _0x5eac7b(_0x2c239e,_0x4569af);},'qXyaj':_0x3075dd(0x243),'WpxnR':'failed','DFvOQ':_0x1bf278['YZpLt'],'uRJfc':_0x1bf278['uLZad'],'ngJJo':_0x1bf278['LKVNg'],'CVWeu':_0x3075dd(0xa0),'miadn':_0x1bf278['esuFn'],'JzzvW':_0x1bf278[_0x3075dd(0x1fb)],'JLQlp':_0x1bf278[_0x3075dd(0x12c)],'ycJPq':_0x1bf278['eBPVn'],'jYrCl':'Remove\x20a\x20config\x20value','LWYso':_0x1bf278[_0x3075dd(0x1b6)],'jrmtv':_0x1bf278['xBiPP'],'MOeRZ':_0x1bf278[_0x3075dd(0xc6)]};return _0x29220d[_0x3075dd(0xba)](PROFILE_HELP)['command'](_0x1bf278[_0x3075dd(0x218)],_0x3075dd(0x14f),_0x3c9aeb=>{const _0x3c8e15=_0x3075dd;return _0x3c9aeb[_0x3c8e15(0x142)]('profile-name',{'type':'string','description':_0x30abda[_0x3c8e15(0x12e)],'demandOption':!![]})['option']('ci',{'type':_0x30abda['cleuj'],'description':_0x30abda['cGjaa'],'default':![]})[_0x3c8e15(0x177)]('skip-auth',{'type':_0x3c8e15(0xc4),'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})['option'](_0x30abda[_0x3c8e15(0x1ae)],{'type':_0x30abda['AtTCQ'],'description':_0x30abda['XRXHt']})['option'](_0x3c8e15(0xcc),{'type':_0x30abda['cleuj'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x3c8e15(0x1c1),{'type':_0x30abda['AtTCQ'],'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})[_0x3c8e15(0x177)](_0x30abda[_0x3c8e15(0x19e)],{'type':_0x30abda['cleuj'],'description':_0x30abda[_0x3c8e15(0x138)],'default':![]})[_0x3c8e15(0x177)]('safe-mode',{'type':_0x30abda['cleuj'],'description':_0x30abda[_0x3c8e15(0x18b)],'default':![]})[_0x3c8e15(0x177)](_0x30abda[_0x3c8e15(0x239)],{'type':_0x30abda['AtTCQ'],'array':!![],'description':_0x30abda[_0x3c8e15(0x1fd)]})[_0x3c8e15(0x177)](_0x30abda[_0x3c8e15(0x137)],{'type':_0x3c8e15(0x103),'choices':[_0x3c8e15(0x165),_0x3c8e15(0xab)],'description':_0x3c8e15(0x1a8)})[_0x3c8e15(0x177)](_0x30abda['WhpxK'],{'type':_0x3c8e15(0xc4),'alias':'y','description':_0x30abda['GJkyg'],'default':![]});},async _0x3cb6c1=>{const _0x4940de=_0x3075dd;await _0x30abda[_0x4940de(0x25f)](withTelemetry,_0x4940de(0xc1),_0x3f4676=>addEnv(_0x3cb6c1[_0x4940de(0x251)],{'ci':_0x3cb6c1['ci'],'skipAuth':_0x3cb6c1['skip-auth'],'url':_0x3cb6c1[_0x4940de(0xc5)],'force':_0x3cb6c1['force'],'cdpEndpoint':_0x3cb6c1[_0x4940de(0x1c1)],'allowInsecureLocalhost':_0x3cb6c1[_0x4940de(0x222)],'safeMode':_0x3cb6c1['safe-mode'],'setupHeader':_0x3cb6c1[_0x4940de(0x231)],'scope':_0x3cb6c1['scope'],'yes':_0x3cb6c1[_0x4940de(0x143)]},_0x3f4676),{'isElectron':_0x30abda['POCPE'](Boolean,_0x3cb6c1[_0x30abda['iclFF']])});})[_0x3075dd(0x118)](_0x3075dd(0x9c),_0x3075dd(0x22f),_0x3390d0=>{const _0x243f5e=_0x3075dd;return _0x3390d0[_0x243f5e(0x142)](_0x1bf278['gpVHu'],{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278[_0x243f5e(0xa8)],'demandOption':!![]});},async _0x540fd4=>{const _0x23e874=_0x3075dd;await _0x1bf278[_0x23e874(0x92)](withTelemetry,_0x1bf278['zefwH'],()=>useEnv(_0x540fd4[_0x23e874(0x251)]));})['command'](_0x1bf278['YDfpG'],_0x1bf278['kiHvI'],_0x59e81e=>{const _0x4e96e2=_0x3075dd;return _0x59e81e[_0x4e96e2(0x142)](_0x30abda[_0x4e96e2(0x200)],{'type':'string','description':_0x30abda['VpwTX'],'demandOption':!![]});},async _0x3edc42=>{await _0x30abda['BjgAd'](withTelemetry,'profile\x20encrypt-auth',()=>authEncrypt(_0x3edc42['profile']));})['command']('ls',_0x3075dd(0x194),()=>{},async()=>{await withTelemetry('profile\x20ls',()=>envList());})['command'](_0x3075dd(0x1b9),_0x1bf278['lRios'],_0x5179b3=>{const _0x42a62f=_0x3075dd;return _0x5179b3[_0x42a62f(0x142)](_0x30abda['OeKmw'],{'type':'string','description':_0x42a62f(0x1f0),'demandOption':!![]})[_0x42a62f(0x177)]('allow-insecure-localhost',{'type':_0x30abda[_0x42a62f(0xed)],'description':_0x30abda[_0x42a62f(0x138)]});},async _0x36438d=>{const _0xaf9682=_0x3075dd;await withTelemetry('profile\x20update',_0x5c45cd=>updateEnv(_0x36438d[_0xaf9682(0x251)],_0x5c45cd,{'allowInsecureLocalhost':_0x36438d['allow-insecure-localhost']}));})[_0x3075dd(0x118)](_0x1bf278[_0x3075dd(0x1e5)],![],_0x1ee9db=>{const _0xc1bbb5=_0x3075dd;return _0x1ee9db[_0xc1bbb5(0x142)](_0x30abda[_0xc1bbb5(0x1cf)],{'type':_0xc1bbb5(0x103),'description':_0x30abda[_0xc1bbb5(0x18f)],'demandOption':!![]});},async _0x3cea67=>{await _0x1bf278['zWONq'](withTelemetry,_0x1bf278['bKuqv'],async()=>{const _0x133fbb=_0x1065,_0x548ad8=process[_0x133fbb(0xb3)]['RANGER_TEST_USERNAME'],_0x2fae2d=process['env']['RANGER_TEST_PASSWORD'];(!_0x548ad8||!_0x2fae2d)&&(console['error'](_0x30abda[_0x133fbb(0x1ea)]),process[_0x133fbb(0x230)](0x1));const _0x51f196=_0x3cea67[_0x133fbb(0x1bc)],_0x5de67a=await _0x30abda['OtlrZ'](serverSideLogin,_0x51f196,{'force':!![]});_0x5de67a[_0x133fbb(0x184)]===_0x30abda['qXyaj']&&(console[_0x133fbb(0x204)]('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process[_0x133fbb(0x230)](0x1)),_0x5de67a['status']===_0x30abda['WpxnR']&&(console['error'](_0x133fbb(0x93)+(_0x5de67a['error']??_0x133fbb(0x171))),_0x5de67a[_0x133fbb(0x10f)]&&console['error'](_0x5de67a[_0x133fbb(0x10f)]),process['exit'](0x1)),console['log']('✓\x20Server-side\x20login\x20succeeded\x20for\x20\x27'+_0x51f196+_0x133fbb(0xa1));});})['command'](_0x1bf278[_0x3075dd(0x19c)],_0x3075dd(0x19f),_0x26a8cb=>{const _0x4e4391=_0x3075dd;return _0x26a8cb['positional'](_0x4e4391(0x251),{'type':_0x1bf278['Gnpzs'],'description':_0x4e4391(0x130)})['option'](_0x1bf278['zQSBn'],{'type':_0x1bf278[_0x4e4391(0x1bf)],'description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})[_0x4e4391(0x177)]('dry-run',{'type':_0x4e4391(0xc4),'description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})[_0x4e4391(0x177)](_0x4e4391(0x143),{'type':_0x4e4391(0xc4),'alias':'y','description':_0x1bf278[_0x4e4391(0x245)],'default':![]})['option']('save-creds',{'type':_0x1bf278[_0x4e4391(0x1bf)],'description':_0x1bf278['KJnuJ'],'default':![]});},async _0x1e7df9=>{const _0x425e2e=_0x3075dd;await withTelemetry(_0x1bf278['XbtRC'],_0x27cf43=>migrateProfile({'profileName':_0x1e7df9['profile-name'],'all':_0x1e7df9['all'],'dryRun':_0x1e7df9[_0x425e2e(0xc2)],'yes':_0x1e7df9[_0x425e2e(0x143)],'saveCreds':_0x1e7df9[_0x425e2e(0x213)]},_0x27cf43));})['command'](_0x3075dd(0x11a),_0x1bf278['pJODg'],_0x903246=>{const _0x270a41=_0x3075dd,_0x5f37db={'iqJiT':_0x270a41(0x103),'XeHMx':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','louPB':_0x30abda[_0x270a41(0x129)],'OHjED':function(_0x41664f,_0x6b1a29,_0x3e51cb){return _0x41664f(_0x6b1a29,_0x3e51cb);}};return _0x903246['usage'](PROFILE_CONFIG_HELP)['command'](_0x30abda[_0x270a41(0x128)],_0x30abda[_0x270a41(0x1b5)],_0x44e55e=>{const _0x3f4655=_0x270a41;return _0x44e55e[_0x3f4655(0x142)]('profile',{'type':_0x5f37db['iqJiT'],'description':_0x3f4655(0x1aa),'demandOption':!![]})[_0x3f4655(0x142)]('key',{'type':_0x5f37db['iqJiT'],'description':_0x5f37db[_0x3f4655(0x21b)],'demandOption':!![]})['positional'](_0x3f4655(0xe6),{'type':_0x3f4655(0x103),'description':'Config\x20value','demandOption':!![]});},async _0x361306=>{const _0x7a0aef=_0x270a41;await withTelemetry(_0x30abda['DFvOQ'],()=>configSet(_0x361306[_0x7a0aef(0x15f)],_0x361306['key'],_0x361306[_0x7a0aef(0xe6)]));})['command'](_0x270a41(0x206),'Get\x20a\x20config\x20value',_0x3dbf4a=>{const _0x2c6a59=_0x270a41;return _0x3dbf4a['positional'](_0x30abda['YbWzF'],{'type':_0x30abda[_0x2c6a59(0x175)],'description':_0x30abda[_0x2c6a59(0x129)],'demandOption':!![]})[_0x2c6a59(0x142)](_0x30abda['uRJfc'],{'type':_0x30abda[_0x2c6a59(0x175)],'description':_0x2c6a59(0xfe),'demandOption':!![]});},async _0x104360=>{const _0x4a8655=_0x270a41;await withTelemetry(_0x4a8655(0x10e),()=>configGet(_0x104360[_0x4a8655(0x15f)],_0x104360[_0x4a8655(0x1cd)]));})['command'](_0x30abda['JzzvW'],_0x30abda['JLQlp'],_0xb228fe=>{const _0x24b9e7=_0x270a41;return _0xb228fe['positional'](_0x30abda[_0x24b9e7(0x200)],{'type':'string','description':_0x30abda[_0x24b9e7(0x129)],'demandOption':!![]});},async _0x34c55c=>{await withTelemetry('profile\x20config\x20list',()=>configList(_0x34c55c['profile']));})[_0x270a41(0x118)](_0x30abda[_0x270a41(0x225)],_0x30abda[_0x270a41(0x25e)],_0x4c1f74=>{const _0x218581=_0x270a41;return _0x4c1f74['positional']('profile',{'type':'string','description':_0x5f37db[_0x218581(0x14b)],'demandOption':!![]})[_0x218581(0x142)]('key',{'type':_0x218581(0x103),'description':_0x218581(0x114),'demandOption':!![]});},async _0x5441eb=>{const _0x18bcb1=_0x270a41;await _0x5f37db[_0x18bcb1(0x151)](withTelemetry,_0x18bcb1(0xfa),()=>configUnset(_0x5441eb['profile'],_0x5441eb['key']));})[_0x270a41(0x118)](_0x30abda['LWYso'],_0x30abda['jrmtv'],_0x3e8b2c=>{const _0x9bb9fa=_0x270a41;return _0x3e8b2c[_0x9bb9fa(0x142)](_0x9bb9fa(0x15f),{'type':_0x30abda[_0x9bb9fa(0x175)],'description':_0x30abda[_0x9bb9fa(0x129)],'demandOption':!![]});},async _0xeab682=>{const _0x4379c5=_0x270a41;await withTelemetry(_0x30abda[_0x4379c5(0x9f)],()=>configReset(_0xeab682[_0x4379c5(0x15f)]));})['demandCommand'](0x1,_0x30abda['MOeRZ']);})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})['command']('status',_0x1bf278[_0x3b6247(0x122)],()=>{},async()=>{const _0x5c096b=_0x3b6247;await _0x1bf278[_0x5c096b(0xa5)](withTelemetry,'status',()=>status());})['command'](_0x3b6247(0x20b),_0x1bf278['bGtxZ'],()=>{},async()=>{const _0x5a9ad2=_0x3b6247;await _0x1bf278[_0x5a9ad2(0xd8)](withTelemetry,'update',()=>update());})[_0x3b6247(0x118)](_0x1bf278['KEjTS'],_0x3b6247(0xf3),()=>{},async()=>{const _0x50cfc6=_0x3b6247,_0x39947c={'lwRYG':_0x1bf278[_0x50cfc6(0x217)]};await withTelemetry(_0x50cfc6(0x1b1),async()=>{const _0x1803cc=_0x50cfc6,_0xb81f96=await getToken();if(!_0xb81f96)throw new Error(_0x39947c[_0x1803cc(0x219)]);console['log'](_0xb81f96);});})['command']('go',_0x1bf278[_0x3b6247(0x23c)],_0x4dd8bc=>{const _0x4aac9c=_0x3b6247;return _0x4dd8bc['option'](_0x1bf278[_0x4aac9c(0x13a)],{'type':_0x4aac9c(0x103),'description':_0x1bf278['ldxYP']})[_0x4aac9c(0x177)](_0x1bf278['GitgC'],{'type':_0x1bf278['Gnpzs'],'description':_0x4aac9c(0xf0)})['option'](_0x1bf278['BFGoT'],{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278[_0x4aac9c(0xdd)]})['option'](_0x1bf278[_0x4aac9c(0x163)],{'type':_0x1bf278[_0x4aac9c(0x18e)],'description':_0x1bf278[_0x4aac9c(0xec)]})['option'](_0x4aac9c(0x1cb),{'type':'string','description':_0x4aac9c(0x12d)})[_0x4aac9c(0x177)](_0x1bf278[_0x4aac9c(0x15a)],{'type':'string','description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x4aac9c(0x177)](_0x1bf278[_0x4aac9c(0x248)],{'type':_0x1bf278['Gnpzs'],'description':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.'})['option'](_0x1bf278[_0x4aac9c(0x208)],{'type':'boolean','description':_0x4aac9c(0x158),'default':![]})['option'](_0x4aac9c(0x247),{'type':_0x4aac9c(0x103),'hidden':!![],'choices':['verified','partial',_0x1bf278['gszfP'],_0x4aac9c(0x1ff),_0x4aac9c(0x14d)]})[_0x4aac9c(0x177)](_0x1bf278[_0x4aac9c(0x1c2)],{'type':_0x4aac9c(0xc4),'hidden':!![]})['option']('env',{'type':_0x1bf278[_0x4aac9c(0x1d3)],'hidden':!![]})[_0x4aac9c(0x177)](_0x4aac9c(0xb5),{'type':_0x4aac9c(0x103),'hidden':!![]})[_0x4aac9c(0x177)](_0x4aac9c(0xc8),{'type':_0x1bf278[_0x4aac9c(0x18e)],'hidden':!![]});},async _0x47436a=>{await _0x1bf278['NIerT'](runGoCommand,_0x47436a);})['command'](_0x1bf278['glfcv'],![],_0x3bf51c=>{const _0x306913=_0x3b6247,_0x141b15={'vDhVD':_0x306913(0x15f),'QvweT':_0x1bf278['Gnpzs'],'NbAnL':function(_0x98b3ff,_0x414149,_0x1f30d1){return _0x98b3ff(_0x414149,_0x1f30d1);},'RmgRF':_0x306913(0x18a)};return _0x3bf51c['command'](_0x306913(0xa7),![],_0x48e099=>{const _0x93466b=_0x306913;return _0x48e099[_0x93466b(0x142)](_0x141b15['vDhVD'],{'type':_0x141b15[_0x93466b(0x112)],'description':_0x93466b(0x1aa),'demandOption':!![]});},async _0x5163bb=>{const _0x398e39=_0x306913;_0x141b15['NbAnL'](warnRenamed,_0x141b15['RmgRF'],_0x398e39(0x1b3)),await authEncrypt(_0x5163bb[_0x398e39(0x15f)]);})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})[_0x3b6247(0x118)](_0x1bf278[_0x3b6247(0xa3)],![],_0xb20bc9=>{const _0x46c8b9=_0x3b6247;return _0xb20bc9['positional'](_0x46c8b9(0x25b),{'type':_0x1bf278['Gnpzs'],'description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})[_0x46c8b9(0x177)](_0x1bf278[_0x46c8b9(0x226)],{'type':_0x1bf278[_0x46c8b9(0x1bf)],'description':_0x46c8b9(0x146),'default':![]})[_0x46c8b9(0x177)](_0x1bf278[_0x46c8b9(0xd6)],{'type':_0x46c8b9(0x103),'choices':[_0x1bf278[_0x46c8b9(0x176)],_0x1bf278['lWYTs']],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})['option'](_0x46c8b9(0xc5),{'type':_0x1bf278[_0x46c8b9(0x1d3)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x1bf278['CWjMk'],{'type':_0x1bf278['zvCFR'],'description':_0x46c8b9(0x190),'default':![]})[_0x46c8b9(0x177)]('skip-auth',{'type':_0x1bf278[_0x46c8b9(0x1bf)],'description':_0x1bf278[_0x46c8b9(0x10a)],'default':![]})[_0x46c8b9(0x177)](_0x1bf278[_0x46c8b9(0x18c)],{'type':_0x1bf278['zvCFR'],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]});},async _0x1f7628=>{const _0x1f917f=_0x3b6247;_0x1bf278[_0x1f917f(0x97)](warnRenamed,_0x1bf278['VePVU'],'ranger\x20setup'),await _0x1bf278['XLTFN'](withTelemetry,_0x1bf278['zLlea'],_0x59396c=>start(_0x1f7628['token'],{'skipChromium':_0x1f7628[_0x1f917f(0x1f1)],'skipAuth':_0x1f7628['skip-auth'],'withDeps':_0x1f7628['with-deps'],'scope':_0x1f7628[_0x1f917f(0x21d)],'url':_0x1f7628['url'],'force':_0x1f7628[_0x1f917f(0xcc)]},_0x59396c));})['command'](_0x3b6247(0x13f),![],_0x35c849=>{const _0x51d36b=_0x3b6247;return _0x35c849[_0x51d36b(0x177)](_0x1bf278[_0x51d36b(0xdc)],{'type':_0x1bf278['Gnpzs'],'description':_0x51d36b(0xf0)})['option'](_0x1bf278[_0x51d36b(0x1fa)],{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278[_0x51d36b(0x1e2)]})['option'](_0x51d36b(0xc8),{'type':_0x1bf278[_0x51d36b(0x18e)],'description':_0x1bf278[_0x51d36b(0xec)]})['option']('profile',{'type':'string','hidden':!![]})[_0x51d36b(0x177)](_0x1bf278['BFGoT'],{'type':_0x1bf278['Gnpzs'],'hidden':!![]})['option'](_0x51d36b(0x1c8),{'type':_0x1bf278[_0x51d36b(0x18e)],'hidden':!![]})['option'](_0x1bf278[_0x51d36b(0x237)],{'type':_0x51d36b(0x103),'description':_0x51d36b(0x12d)})['option'](_0x1bf278['YobWz'],{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278['ftTzW']})['option'](_0x51d36b(0x227),{'type':'string','hidden':!![]})[_0x51d36b(0x177)](_0x1bf278['cZCvk'],{'type':'boolean','hidden':!![],'default':![]})['option'](_0x1bf278[_0x51d36b(0x220)],{'type':_0x1bf278[_0x51d36b(0x1d3)],'hidden':!![],'choices':[_0x1bf278[_0x51d36b(0x1a4)],_0x1bf278[_0x51d36b(0x229)],'blocked',_0x1bf278['FMliv'],_0x51d36b(0x14d)]});},async _0x1e5ef8=>{await _0x1bf278['sHGmM'](runGoCommand,_0x1e5ef8,!![]);})[_0x3b6247(0x118)](_0x3b6247(0xbb),![],_0x327e81=>{const _0x40163f=_0x3b6247;return _0x327e81['positional'](_0x1bf278['UDaTm'],{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278['digbC'],'demandOption':!![]})['option']('ci',{'type':_0x1bf278['zvCFR'],'description':_0x1bf278['mQLkH'],'default':![]})['option'](_0x1bf278[_0x40163f(0x139)],{'type':'boolean','description':_0x1bf278['RbzNO'],'default':![]});},async _0x454f50=>{const _0x457265=_0x3b6247;warnRenamed('ranger\x20add\x20env','ranger\x20profile\x20add'),await withTelemetry(_0x1bf278['UBJpA'],_0x563c89=>addEnv(_0x454f50[_0x457265(0x98)],{'ci':_0x454f50['ci'],'skipAuth':_0x454f50['skip-auth']},_0x563c89));})['command'](_0x1bf278[_0x3b6247(0x9b)],![],_0x33e3c9=>{const _0x38d766=_0x3b6247;return _0x33e3c9['positional'](_0x1bf278['UDaTm'],{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278[_0x38d766(0xbc)],'demandOption':!![]});},async _0x252768=>{const _0x392fb9=_0x3b6247;warnRenamed('ranger\x20use',_0x392fb9(0x1a3)),await _0x1bf278['YwMXE'](withTelemetry,'use',()=>useEnv(_0x252768['env-name']));})['command'](_0x3b6247(0x11a),![],_0x376ffc=>{const _0x3ca68c=_0x3b6247,_0x4f48b5={'GGmeF':_0x1bf278['TsLSO'],'MzoLg':'string','zPKoV':_0x1bf278['LxXMk'],'mUghn':_0x1bf278['lJThg'],'cNieb':function(_0x183e79,_0xcd18c5,_0x5caf6c){return _0x1bf278['fVbYx'](_0x183e79,_0xcd18c5,_0x5caf6c);},'rEvby':_0x1bf278[_0x3ca68c(0x123)],'XFxVj':'Environment\x20name','kkKaE':_0x1bf278[_0x3ca68c(0xf8)],'cCLdq':'Config\x20key','gejpo':'ranger\x20config\x20get','ViGNY':_0x3ca68c(0x240),'ILtCa':'ranger\x20profile\x20config\x20list','kwrYl':'config\x20list','fBgIn':function(_0x2624b7,_0x3f4f41,_0x4823f1){return _0x2624b7(_0x3f4f41,_0x4823f1);}};return _0x376ffc[_0x3ca68c(0x118)](_0x1bf278['HBtdL'],![],_0x2417a4=>{const _0xb30a1e=_0x3ca68c;return _0x2417a4[_0xb30a1e(0x142)](_0x4f48b5[_0xb30a1e(0x96)],{'type':_0x4f48b5['MzoLg'],'description':'Environment\x20name','demandOption':!![]})['positional'](_0xb30a1e(0x1cd),{'type':'string','description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})[_0xb30a1e(0x142)](_0x4f48b5['zPKoV'],{'type':_0x4f48b5[_0xb30a1e(0xb2)],'description':_0xb30a1e(0xbd),'demandOption':!![]});},async _0x242c69=>{const _0x4a25db=_0x3ca68c;warnRenamed(_0x4a25db(0x241),_0x4f48b5[_0x4a25db(0x16f)]),await _0x4f48b5[_0x4a25db(0xfb)](withTelemetry,_0x4f48b5['rEvby'],()=>configSet(_0x242c69['env'],_0x242c69['key'],_0x242c69['value']));})[_0x3ca68c(0x118)](_0x1bf278['hATrN'],![],_0x5c87fd=>{const _0x2cc09c=_0x3ca68c;return _0x5c87fd['positional']('env',{'type':_0x4f48b5['MzoLg'],'description':_0x4f48b5[_0x2cc09c(0x1c3)],'demandOption':!![]})['positional'](_0x4f48b5[_0x2cc09c(0x22d)],{'type':_0x4f48b5[_0x2cc09c(0xb2)],'description':_0x4f48b5[_0x2cc09c(0x17f)],'demandOption':!![]});},async _0x587f7a=>{const _0x58b1be=_0x3ca68c;warnRenamed(_0x4f48b5['gejpo'],_0x58b1be(0x19d)),await withTelemetry('config\x20get',()=>configGet(_0x587f7a['env'],_0x587f7a[_0x58b1be(0x1cd)]));})['command'](_0x3ca68c(0x16e),![],_0x42b60f=>{return _0x42b60f['positional']('env',{'type':'string','description':_0x4f48b5['XFxVj'],'demandOption':!![]});},async _0x28792c=>{const _0x5d1f49=_0x3ca68c;warnRenamed(_0x4f48b5[_0x5d1f49(0x1c6)],_0x4f48b5[_0x5d1f49(0x12a)]),await _0x4f48b5[_0x5d1f49(0xfb)](withTelemetry,_0x4f48b5[_0x5d1f49(0x13d)],()=>configList(_0x28792c['env']));})[_0x3ca68c(0x118)](_0x1bf278[_0x3ca68c(0x17c)],![],_0x2fd2ce=>{const _0x5ef95=_0x3ca68c;return _0x2fd2ce['positional'](_0x1bf278['TsLSO'],{'type':_0x1bf278['Gnpzs'],'description':_0x1bf278[_0x5ef95(0xeb)],'demandOption':!![]})[_0x5ef95(0x142)](_0x5ef95(0x1cd),{'type':_0x1bf278[_0x5ef95(0x1d3)],'description':_0x1bf278[_0x5ef95(0x19a)],'demandOption':!![]});},async _0x496f9f=>{const _0x4e4c4a=_0x3ca68c;_0x4f48b5[_0x4e4c4a(0xda)](warnRenamed,_0x4e4c4a(0x1f8),'ranger\x20profile\x20config\x20unset'),await withTelemetry('config\x20unset',()=>configUnset(_0x496f9f['env'],_0x496f9f[_0x4e4c4a(0x1cd)]));})[_0x3ca68c(0xee)](0x1,_0x3ca68c(0x21e));})['command'](_0x1bf278['TsLSO'],![],_0x1dc3d0=>{const _0x1d02a1=_0x3b6247,_0x30061c={'aBBVm':function(_0x3aee23,_0x19d498,_0x2c9815){return _0x1bf278['bxUkw'](_0x3aee23,_0x19d498,_0x2c9815);},'ckCqc':_0x1bf278['czXAD']};return _0x1dc3d0[_0x1d02a1(0x118)]('ls',![],()=>{},async()=>{const _0x489a24=_0x1d02a1;_0x30061c[_0x489a24(0x15d)](warnRenamed,_0x30061c['ckCqc'],_0x489a24(0x135)),await withTelemetry('env\x20list',()=>envList());})['command'](_0x1bf278[_0x1d02a1(0x1e4)],![],_0x328fae=>{const _0x54d7b6=_0x1d02a1;return _0x328fae[_0x54d7b6(0x142)](_0x54d7b6(0x98),{'type':'string','description':_0x54d7b6(0x107),'demandOption':!![]});},async _0x5c63c=>{const _0xc15511=_0x1d02a1;warnRenamed('ranger\x20env\x20update',_0x1bf278['TZQAw']),await _0x1bf278[_0xc15511(0x101)](withTelemetry,_0x1bf278[_0xc15511(0x1cc)],_0x11b343=>updateEnv(_0x5c63c[_0xc15511(0x98)],_0x11b343));})[_0x1d02a1(0xee)](0x1,_0x1bf278['OYneA']);})['command']('feature',![],_0x23f468=>{const _0x43ee3e=_0x3b6247,_0x5a9be9={'qINQG':_0x43ee3e(0x103),'QbGfI':_0x43ee3e(0x1f9),'FBhMd':_0x1bf278['laYWs'],'bAlGt':function(_0x335843,_0x5b270c,_0x407b4d){const _0x424592=_0x43ee3e;return _0x1bf278[_0x424592(0xbe)](_0x335843,_0x5b270c,_0x407b4d);},'rcSnz':_0x43ee3e(0xf7),'CAcIQ':'ranger\x20create','oowVH':'--checklist','lOLvv':function(_0x4c3cc9,_0x202d25,_0x3f8bb3){const _0xa3df30=_0x43ee3e;return _0x1bf278[_0xa3df30(0xa2)](_0x4c3cc9,_0x202d25,_0x3f8bb3);},'GjBHZ':'ranger\x20list','cKtTV':_0x1bf278['AWqCL'],'FOFUK':'ranger\x20get-review','RYKoe':_0x1bf278['fwUAM'],'GLGMV':_0x1bf278[_0x43ee3e(0x1e3)]};return _0x23f468[_0x43ee3e(0x118)](_0x1bf278['goujk'],![],_0x248982=>{const _0x417b5e=_0x43ee3e;return _0x248982['positional']('name',{'type':'string','description':_0x417b5e(0xb4),'demandOption':!![]})[_0x417b5e(0x177)]('description',{'type':_0x5a9be9['qINQG'],'alias':'d','description':_0x5a9be9[_0x417b5e(0x1e7)]})[_0x417b5e(0x177)](_0x417b5e(0x149),{'type':_0x417b5e(0xcb),'alias':'c','description':_0x417b5e(0x14e)})['option'](_0x417b5e(0x1c8),{'type':_0x5a9be9[_0x417b5e(0x17e)],'hidden':!![]});},async _0x35aeb5=>{const _0x35b3ce=_0x43ee3e;_0x5a9be9['bAlGt'](warnRenamed,_0x5a9be9[_0x35b3ce(0x144)],_0x5a9be9[_0x35b3ce(0x156)]),warnFlagRenamed(_0x35b3ce(0x23a),_0x5a9be9['oowVH'],_0x35b3ce(0x1d5));const _0x266569=_0x35aeb5['scenario']||_0x35aeb5[_0x35b3ce(0x149)];await withTelemetry('feature\x20create',()=>featureCreate(_0x35aeb5['name'],{'description':_0x35aeb5[_0x35b3ce(0x1ef)],'scenarios':_0x266569}));})[_0x43ee3e(0x118)]('list',![],_0xb79505=>{const _0x2582a7=_0x43ee3e;return _0xb79505['option'](_0x1bf278[_0x2582a7(0x201)],{'type':_0x2582a7(0xc4),'description':_0x1bf278[_0x2582a7(0x10d)]})['option'](_0x1bf278[_0x2582a7(0x186)],{'type':_0x1bf278[_0x2582a7(0x18e)],'alias':'l','description':_0x1bf278['NWPRD'],'default':0xa})['option'](_0x1bf278['hQZpn'],{'type':_0x2582a7(0x1fe),'alias':'o','description':_0x1bf278[_0x2582a7(0x216)],'default':0x0})['option']('include-deleted',{'type':_0x2582a7(0xc4),'alias':'d','description':_0x2582a7(0x254),'default':![]});},async _0x586fd0=>{const _0x189ee3=_0x43ee3e;_0x5a9be9[_0x189ee3(0x1dc)](warnRenamed,'ranger\x20feature\x20list',_0x5a9be9[_0x189ee3(0x21c)]),await _0x5a9be9[_0x189ee3(0x1dc)](withTelemetry,_0x189ee3(0xac),()=>featureList({'currentBranch':_0x586fd0['current-branch'],'limit':_0x586fd0['limit'],'offset':_0x586fd0['offset'],'includeDeleted':_0x586fd0[_0x189ee3(0x1a1)]}));})['command'](_0x1bf278['FLLGH'],![],_0x2e8c59=>{const _0x2fed46=_0x43ee3e;return _0x2e8c59[_0x2fed46(0x142)]('id',{'type':_0x1bf278[_0x2fed46(0x1d3)],'description':_0x2fed46(0x11f)});},async _0x11e3ee=>{const _0x211d5b=_0x43ee3e;_0x1bf278[_0x211d5b(0xbe)](warnRenamed,_0x1bf278['WpTJx'],_0x211d5b(0x167)),await _0x1bf278['hboEA'](withTelemetry,_0x211d5b(0x256),()=>featureShow(_0x11e3ee['id']));})[_0x43ee3e(0x118)]('resume\x20[id]',![],_0x82f1be=>{const _0x419dde=_0x43ee3e;return _0x82f1be[_0x419dde(0x142)]('id',{'type':_0x419dde(0x103),'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x4e6bbf=>{const _0x56f6d4=_0x43ee3e;_0x1bf278[_0x56f6d4(0x23d)](warnRenamed,_0x1bf278[_0x56f6d4(0x1bd)],'ranger\x20resume'),await _0x1bf278[_0x56f6d4(0x115)](withTelemetry,_0x56f6d4(0x1e6),()=>featureResume(_0x4e6bbf['id']));})['command'](_0x43ee3e(0x1f4),![],_0x4d988d=>{const _0x539475=_0x43ee3e;return _0x4d988d[_0x539475(0x142)]('description',{'type':_0x539475(0x103),'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':_0x1bf278[_0x539475(0x1d3)],'description':_0x539475(0x210)});},async _0x5f2d35=>{const _0x29adc8=_0x43ee3e;_0x5a9be9['bAlGt'](warnRenamed,_0x5a9be9[_0x29adc8(0x22c)],_0x29adc8(0x1d9)),await withTelemetry('feature\x20add-checklist-item',()=>featureAddScenario(_0x5f2d35[_0x29adc8(0x1ef)],_0x5f2d35['id']));})['command'](_0x1bf278[_0x43ee3e(0x127)],![],_0x5d63d7=>{const _0x18454b=_0x43ee3e;return _0x5d63d7[_0x18454b(0x142)]('id',{'type':_0x5a9be9[_0x18454b(0x24b)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x454d53=>{const _0x1c8c55=_0x43ee3e;warnRenamed('ranger\x20feature\x20get-feedback',_0x5a9be9[_0x1c8c55(0x1d7)]),await _0x5a9be9[_0x1c8c55(0x1dc)](withTelemetry,_0x5a9be9[_0x1c8c55(0x23b)],()=>featureGetReview(_0x454d53['id']));})[_0x43ee3e(0x118)](_0x43ee3e(0xa6),![],_0x83c419=>{const _0x5bac00=_0x43ee3e;return _0x83c419[_0x5bac00(0x142)]('id',{'type':_0x5a9be9[_0x5bac00(0x24b)],'description':_0x5bac00(0x11f)});},async _0x500f7=>{const _0xd9ef88=_0x43ee3e;warnRenamed(_0xd9ef88(0x23e),'ranger\x20delete'),await withTelemetry('feature\x20delete',()=>featureDelete(_0x500f7['id']));})['command']('restore\x20<id>',![],_0x3b6f05=>{const _0x1adbaa=_0x43ee3e;return _0x3b6f05[_0x1adbaa(0x142)]('id',{'type':_0x1adbaa(0x103),'description':_0x5a9be9['GLGMV'],'demandOption':!![]});},async _0x24c86f=>{const _0x3dbbec=_0x43ee3e;_0x1bf278[_0x3dbbec(0xc7)](warnRenamed,_0x1bf278['SzaxA'],'ranger\x20restore'),await withTelemetry(_0x3dbbec(0xa9),()=>featureRestore(_0x24c86f['id']));})['demandCommand'](0x1,_0x43ee3e(0x207));})[_0x3b6247(0x118)](_0x1bf278['hjquk'],![],_0x489ca3=>{const _0x1385fb=_0x3b6247,_0x572102={'sPIYQ':_0x1385fb(0x244)};return _0x489ca3['command']('enable',_0x1bf278[_0x1385fb(0x246)],_0x5ad030=>{const _0xce5158=_0x1385fb;return _0x5ad030[_0xce5158(0x177)]('session-id',{'type':_0x1bf278[_0xce5158(0x1d3)],'description':_0x1bf278[_0xce5158(0x9a)]});},async _0x3ecfb2=>{const _0x541948=_0x1385fb;await withTelemetry(_0x1bf278[_0x541948(0x170)],()=>hook(_0x541948(0xd2),_0x3ecfb2[_0x541948(0x244)]));})['command'](_0x1385fb(0xf5),_0x1bf278['FBLfn'],_0x29071d=>{const _0x4703fb=_0x1385fb;return _0x29071d['option'](_0x572102['sPIYQ'],{'type':'string','description':_0x4703fb(0x12b)});},async _0x1e1c01=>{const _0x3baae0=_0x1385fb;await withTelemetry('hook:disable',()=>hook('disable',_0x1e1c01[_0x3baae0(0x244)]));})[_0x1385fb(0x177)](_0x1bf278[_0x1385fb(0x1d2)],{'type':_0x1385fb(0x103),'description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})['option'](_0x1bf278['SoWVW'],{'type':'string','description':_0x1bf278[_0x1385fb(0x9a)]});},async _0x49a316=>{const _0x319b03=_0x3b6247;_0x49a316['name']&&await _0x1bf278[_0x319b03(0x148)](hook,_0x49a316[_0x319b03(0x1bc)],_0x49a316[_0x1bf278[_0x319b03(0x172)]]);})[_0x3b6247(0xee)](0x1,_0x1bf278[_0x3b6247(0xf9)])['strictCommands']()['fail'](async(_0x18153b,_0x118b77,_0x3a6371)=>{const _0x154153=_0x3b6247,_0x2f9555=_0x1bf278['fHIRa'](sanitizeArgs,process['argv'][_0x154153(0x1a9)](0x2)),_0xe1c05e=getErrorType(_0x18153b,_0x118b77);if(_0x18153b&&_0x18153b['includes'](_0x154153(0x178))){const _0x11f551=process[_0x154153(0x259)][0x2];console[_0x154153(0x204)](_0x154153(0x20f)+_0x11f551),console[_0x154153(0x204)](_0x1bf278[_0x154153(0x155)]);}else{if(_0x18153b)console['error']('\x0a'+_0x18153b+'\x0a');else _0x118b77&&console['error'](_0x154153(0xbf)+_0x118b77[_0x154153(0x161)]+'\x0a');}await _0x1bf278[_0x154153(0xb7)](logDesirePath,{'rawCommand':_0x2f9555,'errorMessage':_0x18153b||_0x118b77?.[_0x154153(0x161)],'errorType':_0xe1c05e});const _0xdbe277=getCurrentCollector();_0xdbe277&&await _0xdbe277[_0x154153(0x99)](_0x118b77||new Error(_0x18153b||_0x1bf278[_0x154153(0x1ab)])),process[_0x154153(0x230)](0x1);})['epilogue'](_0x1bf278[_0x3b6247(0x249)]('Documentation:\x0a',_0x1bf278[_0x3b6247(0xe5)])+_0x3b6247(0x19b))[_0x3b6247(0x1b4)]()['alias']('help','h');}process[_0x4f3969(0xb3)]['NODE_ENV']!==_0x4f3969(0x20a)&&buildParser()['parse']();
|