@ranger-testing/ranger-cli 3.1.3-alpha.e1ca941-42 → 3.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cli.js +1 -1
- package/build/commands/addEnv.js +1 -1
- package/build/commands/authEncrypt.js +1 -1
- package/build/commands/clean.js +1 -1
- package/build/commands/config.js +1 -1
- package/build/commands/deleteProfile.js +1 -1
- package/build/commands/env.js +1 -1
- package/build/commands/feature.js +1 -1
- package/build/commands/hook.js +1 -1
- package/build/commands/hooks/autoPrompt.js +1 -1
- package/build/commands/hooks/disable.js +1 -1
- package/build/commands/hooks/enable.js +1 -1
- package/build/commands/hooks/exitPlanMode.js +1 -1
- package/build/commands/hooks/index.js +1 -1
- package/build/commands/hooks/output.js +1 -1
- package/build/commands/hooks/planReminder.js +1 -1
- package/build/commands/hooks/planStart.js +1 -1
- package/build/commands/hooks/postEdit.js +1 -1
- package/build/commands/hooks/preCompact.js +1 -1
- package/build/commands/hooks/sessionEnd.js +1 -1
- package/build/commands/hooks/sessionStart.js +1 -1
- package/build/commands/hooks/stopHook.js +1 -1
- package/build/commands/index.js +1 -1
- package/build/commands/login.js +1 -1
- package/build/commands/mcpBootstrap.js +1 -1
- package/build/commands/migrateProfile.js +1 -1
- package/build/commands/setup/claude.js +1 -1
- package/build/commands/setup/opencode.js +1 -1
- package/build/commands/setupCi.js +1 -1
- package/build/commands/skillup.js +1 -1
- package/build/commands/start.js +1 -1
- package/build/commands/status.js +1 -1
- package/build/commands/update.js +1 -1
- package/build/commands/updateEnv.js +1 -1
- package/build/commands/useEnv.js +1 -1
- package/build/commands/utils/activeProfile.js +1 -1
- package/build/commands/utils/agentEnv.js +1 -1
- package/build/commands/utils/browserSessionsApi.js +1 -1
- package/build/commands/utils/claudeConfig.js +1 -1
- package/build/commands/utils/claudeOverrideSettings.js +1 -1
- package/build/commands/utils/claudePlugin.js +1 -1
- package/build/commands/utils/cloudProfile.js +1 -1
- package/build/commands/utils/cloudProfileSession.js +1 -1
- package/build/commands/utils/crypto.js +1 -1
- package/build/commands/utils/desirePathLog.js +1 -1
- package/build/commands/utils/deviceAuth.js +1 -1
- package/build/commands/utils/environment.js +1 -1
- package/build/commands/utils/featureApi.js +1 -1
- package/build/commands/utils/fixWebmDuration.js +1 -1
- package/build/commands/utils/gitTracked.js +1 -1
- package/build/commands/utils/keychain.js +1 -1
- package/build/commands/utils/legacyWarning.js +1 -1
- package/build/commands/utils/localAgentInstallationsApi.js +1 -1
- package/build/commands/utils/matchAuthEnvironment.js +1 -1
- package/build/commands/utils/mcpImageBase64.js +1 -1
- package/build/commands/utils/model.js +1 -1
- package/build/commands/utils/novaActCli.js +1 -1
- package/build/commands/utils/opencodeConfig.js +1 -1
- package/build/commands/utils/organizationEnvApi.js +1 -1
- package/build/commands/utils/playwrightCli.js +1 -1
- package/build/commands/utils/profileMessages.js +1 -1
- package/build/commands/utils/profileSetupBanner.js +1 -1
- package/build/commands/utils/projectsConfig.js +1 -1
- package/build/commands/utils/rangerConfig.js +1 -1
- package/build/commands/utils/rangerRoot.js +1 -1
- package/build/commands/utils/rangerwrightCli.js +1 -1
- package/build/commands/utils/resolveProfileContext.js +1 -1
- package/build/commands/utils/resolveProfileUrl.js +1 -1
- package/build/commands/utils/retry.js +1 -1
- package/build/commands/utils/sessionCache.js +1 -1
- package/build/commands/utils/settings.js +1 -1
- package/build/commands/utils/skillContent.js +1 -1
- package/build/commands/utils/skills.js +1 -1
- package/build/commands/utils/stitchWebmFiles.js +1 -1
- package/build/commands/utils/telemetry.js +1 -1
- package/build/commands/utils/tokenRefresh.js +1 -1
- package/build/commands/utils/traceSnapshotMapper.js +1 -1
- package/build/commands/utils/tunnelClient.js +1 -1
- package/build/commands/utils/userApi.js +1 -1
- package/build/commands/utils/version.js +1 -1
- package/build/commands/verifyFeature.js +1 -1
- package/build/commands/verifyFeatureCli.js +1 -1
- package/build/commands/verifyFeatureNovaCli.js +1 -1
- package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x29fd62=_0x56de;(function(_0x5f6c40,_0x5f52f2){const _0x37733e=_0x56de,_0x4755a5=_0x5f6c40();while(!![]){try{const _0x1442ce=-parseInt(_0x37733e(0x277))/0x1+-parseInt(_0x37733e(0x17a))/0x2+parseInt(_0x37733e(0x287))/0x3+parseInt(_0x37733e(0x1cf))/0x4*(-parseInt(_0x37733e(0x1ab))/0x5)+parseInt(_0x37733e(0x29f))/0x6+-parseInt(_0x37733e(0x1de))/0x7*(-parseInt(_0x37733e(0x262))/0x8)+parseInt(_0x37733e(0x1b4))/0x9;if(_0x1442ce===_0x5f52f2)break;else _0x4755a5['push'](_0x4755a5['shift']());}catch(_0x1a2265){_0x4755a5['push'](_0x4755a5['shift']());}}}(_0x1316,0x44857));import _0x56594e from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x5f59d0=_0x56de,_0x41f6d5={'goXto':function(_0x372041,_0x216ed1){return _0x372041(_0x216ed1);},'nazuz':function(_0x5db107,_0x2fff9d,_0x5b8a81){return _0x5db107(_0x2fff9d,_0x5b8a81);}};let _0x4cbdcb=process['cwd']();const _0x5050da=parse(_0x4cbdcb)['root'];while(_0x4cbdcb!==_0x5050da){if(_0x41f6d5[_0x5f59d0(0x1b1)](existsSync,_0x41f6d5[_0x5f59d0(0x1d1)](join,_0x4cbdcb,_0x5f59d0(0x119)))||_0x41f6d5[_0x5f59d0(0x1b1)](existsSync,join(_0x4cbdcb,'.env')))return _0x4cbdcb;_0x4cbdcb=dirname(_0x4cbdcb);}return process['cwd']();}_0x56594e['config']({'path':join(findProjectRoot(),_0x29fd62(0x235))});import _0x198fe2 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';function _0x1316(){const _0x1bdc61=['mwlwr','2180jOvADw','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','nazuz','hPvAn','UVkgc','UqZeW','ranger\x20profile\x20config\x20set','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201','qihLH','ranger\x20env\x20ls','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','udvWP','iUeYo','bwDCS','ZvejO','49tGQkDZ','xbdnh','HVZdR','debug-address-comments','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','CMjmk','notes','mVVRW','Include\x20soft-deleted\x20feature\x20reviews','Documentation:\x0a','sjhyr','mcp-bootstrap','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','tvKKG','sxrAq','ranger\x20create','YVkqf','UGWvA','GfuRY','HTZEh','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','Config\x20value','project','get\x20<profile>\x20<key>','Feature\x20review\x20description','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','PrDGv','feature\x20add-checklist-item','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','setup:login','ranger\x20feature\x20resume','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','allow-insecure-localhost','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','epilogue','help','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','ranger\x20show','SaMaM','start\x20[token]','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','login','opencode','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','success','You\x20must\x20specify\x20a\x20command','force','yrCdS','List\x20all\x20profiles','CGmNt','error','Vxutr','VIrKe','forEach','LyMJz','wrBaY','Get\x20a\x20config\x20value','user','length','Authenticate\x20with\x20Ranger','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','Name\x20of\x20the\x20profile','zIhHi','profile-name','cbtQP','nraHa','Name\x20of\x20the\x20environment','GLAoy','show','yUVTi','kECyG','json','url','RiSBE','UScrM','session-id','nXSnm','Skip\x20Chromium\x20browser\x20installation','hdIby','edit-scenario','Optional\x20feature\x20ID','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','Ylhje','use\x20<profile-name>','HXbnD','Example:\x20ranger\x20create\x20my-feature','BnSdy','.env','value','pgZAM','RCTSn','list\x20<profile>','ranger','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','filter','vkTqJ','cgplY','FlGmh','encrypt\x20<profile>','add\x20env','verified','qJSss','description','status','pOLjR','\x20is\x20now\x20','Set\x20a\x20config\x20value','Config\x20key\x20to\x20remove','EHrUc','YaYlF','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','fail','✓\x20Authenticated\x20to\x20','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','You\x20must\x20specify\x20an\x20env\x20subcommand','rsvYo','task','ejzDC','Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.','FmLvu','edit-scenario\x20<description>','evaluationReason','VtqPm','Manage\x20profiles','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','EZuzq','use\x20<env-name>','blocked','enable','limit','env\x20list','report\x20[id]','211960oVktfu','pfzmS','UoYrW','usage','yjzUI','xuSNi','peVrh','feature\x20get-feedback','Lrzau','VyzYJ','ranger\x20setup','fNtnV','scope','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','XPTOX','name','VSTdr','vHsxI','JIiCF','current-branch','lEsWr','146066LXBxRP','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','report','OTBSm','option','Ranger\x20API\x20token','sKYaE','JbBfe','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','GYqfT','ezLpW','not_configured','setup-header','GydGJ','Number\x20of\x20feature\x20reviews\x20to\x20skip','738630GtVjnn','NODE_ENV','JAXJn','Unknown\x20error','DYSNU','Install\x20scope\x20for\x20skills','delete\x20<profile-name>','ranger\x20resume','pzpkq','list','boolean','playwright-cli','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201','ranger\x20setup\x20profiles\x20--scope=','wjAZt','YejIt','Ranger\x20API\x20token\x20(rngr_...)','NVrtH','skip-auth','oLvET','flatMap','nbkkL','sGsBm','WHDJI','1396062ypGncR','create\x20<name>','exitCode','jrpJj','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','array','Subcommand\x20or\x20API\x20token\x20(rngr_...)','suAbw','version','checklist','fdUWG','UyMPO','iaqeE','feature\x20create','IKmSU','LIQfh','List\x20all\x20config\x20for\x20a\x20profile','env-var','add-scenario\x20<description>','PtwwJ','lgtAk','failed','CgfPd','ranger\x20go','cQTiZ','ranger\x20config\x20get','\x0aError:\x20','Print\x20the\x20current\x20CLI\x20access\x20token','scenario','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','Base\x20URL\x20of\x20the\x20running\x20app','Add\x20profile\x20configuration','ranger\x20feature\x20create','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','ZDuqb','positional','include-deleted','QSNMv','unknown\x20error','\x20VERIFIED','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','ranger\x20verify-feature','pmQmr','skillup','PHkOc','feature\x20list','Feature\x20review\x20ID','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','JVlfg','RANGER_PROFILE','zbNbL','test_output','yes','profile\x20migrate','print-access-token','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','Skip\x20authentication','FPZGs','config\x20unset','ranger\x20profile\x20ls','resume','WgRuc','ranger\x20profile\x20update','.ranger','eTVjD','--checklist','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','ZnuXR','item','hook:enable','CgApU','split','hiKPv','eXbKp','string','update\x20<env-name>','Feature\x20review\x20ID\x20to\x20restore','RWMzv','UqmFS','update','command','ujKts','gECDP','Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','dNqrR','evaluation','gAlam','YDAYI','verify-feature','hThYJ','QxLuK','uxFDN','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','env','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','ranger\x20profile\x20use','VhFpI','DUMtT','--notes','auth','Install\x20Ranger\x20skills','saHZY','list\x20<env>','dZoAU','Install\x20scope\x20for\x20plugin\x20and\x20skills','XyGXB','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','create','Install\x20OS-level\x20dependencies\x20for\x20Chromium','Name\x20of\x20the\x20profile\x20to\x20update','haDjk','\x20\x20https://docs.ranger.net\x0a','ranger\x20start','skip-chromium','exit','Kjrsl','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','\x20FAILED','get-review','Set\x20up\x20a\x20local\x20browser\x20profile','log','partial','with-deps','nYrTi','KKpNe','feature','Name\x20of\x20the\x20environment\x20to\x20update','ZkLUZ','mcp','wbEgn','skills','You\x20must\x20specify\x20a\x20config\x20subcommand','ranger\x20use','token','debug-outcome','argv','TzvKn','Scenario\x20description','resume\x20[id]','Rnqmr','incomplete','DgEOS','FQEQa','vShgo','etMeB','feature\x20restore','dAYaN','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','XubTk','model','rxsSy','.\x20[','save-creds','GsFgp','dry-run','yDURW','✓\x20Login\x20succeeded\x20for\x20\x27','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','deps','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','670050SeErgc','setup-ci','all','setup:all','encrypt-auth\x20<profile>','Feature\x20review\x20name','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','jjOQU','VbKby','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','TnlZv','profile\x20update','ranger\x20feature\x20delete','profile\x20delete','key','profile\x20encrypt-auth','\x20is\x20no\x20longer\x20supported.\x20','gYYZj','feature\x20show','Ucqqp','ZyzSc','ranger\x20auth\x20encrypt','AvOLS','profile\x20login','KGfNn','clean','trackCommandError','oLUBn','profiles','JZqOH','CbMTx','ranger\x20profile\x20config\x20list','demandCommand','delete\x20[id]','Profile\x20name','LOrdL','feature\x20delete','jlfAY','bHXjv','PvXIK','mdVjn','env-name','cdp-endpoint','Alias\x20for\x20--mcp-bootstrap','ranger\x20feature\x20add-checklist-item','jKSIz','tixtO','profile\x20config\x20get','tEesx','3535TtzHlo','manual','profile','offset','HhkMR','delete','goXto','disable','wKJqV','4344453FYpEiC','HZAWe','auXDM','map','--scenario','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','pHgBL','ranger\x20feature\x20list','xznbO','ZhOsC','noNpz','VCytX','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','\x20INCOMPLETE','start-path','Environment\x20name','oGxhc','ranger\x20feature\x20restore','lIsad','config\x20list','SOCbd','ywJgX','OdetW','hZrHz','mUDsT','yjBTh'];_0x1316=function(){return _0x1bdc61;};return _0x1316();}import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';function _0x56de(_0x3e483c,_0x4bbb85){_0x3e483c=_0x3e483c-0xe1;const _0x13163e=_0x1316();let _0x56dea7=_0x13163e[_0x3e483c];return _0x56dea7;}import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0xafb5c8=>{const _0x32b93b=_0x29fd62,_0x5ad8cf=getCurrentCollector();_0x5ad8cf&&await _0x5ad8cf[_0x32b93b(0x194)](_0xafb5c8),process[_0x32b93b(0x2a1)]=0x1;});const rawArgs=process[_0x29fd62(0x161)]['slice'](0x2),TOP_LEVEL_HELP=_0x29fd62(0x254),PROFILE_HELP=_0x29fd62(0x1d6),PROFILE_CONFIG_HELP=_0x29fd62(0x293);function warnRenamed(_0x1cef25,_0x586ac3){const _0x5d56e9=_0x29fd62;console[_0x5d56e9(0x210)]('\x0a'+_0x1cef25+_0x5d56e9(0x247)+_0x586ac3+'\x0a');}function argUsed(_0x157f58){return rawArgs['some'](_0x2d5864=>_0x2d5864===_0x157f58||_0x2d5864['startsWith'](_0x157f58+'='));}function warnFlagRenamed(_0x3dad4f,_0x2e2199,_0x399aac){argUsed(_0x2e2199)&&warnRenamed(_0x3dad4f+'\x20'+_0x2e2199,_0x3dad4f+'\x20'+_0x399aac);}function normalizeEnvVarNames(_0x12e161){const _0x37067f=_0x29fd62,_0x45d4cb=Array['isArray'](_0x12e161)?_0x12e161:_0x12e161?[_0x12e161]:[];return _0x45d4cb[_0x37067f(0x29b)](_0x4dd8ca=>String(_0x4dd8ca)[_0x37067f(0x121)](',')['map'](_0x35da05=>_0x35da05['trim']())[_0x37067f(0x23c)](Boolean));}async function runGoCommand(_0x22af56,_0x25f3a3=![]){const _0x3f966e=_0x29fd62,_0xbb0ad1={'UuXCC':_0x3f966e(0x102),'SaMaM':function(_0xd194f2,_0x2f04ff,_0x5ef382,_0x15e7f9){return _0xd194f2(_0x2f04ff,_0x5ef382,_0x15e7f9);},'txlXa':'--scenario','KzSfg':function(_0x13b615){return _0x13b615();},'nXSnm':function(_0x110bdc){return _0x110bdc();},'VLmKj':function(_0x2794f7,_0x489708){return _0x2794f7>_0x489708;},'EZzbJ':function(_0x52d654,_0x8d7181){return _0x52d654!==_0x8d7181;},'EFxeo':_0x3f966e(0x292),'ixMkv':'rangerwright-cli','UFVdL':'debug-address-comments','suAbw':function(_0x5949fd,_0x33996d){return _0x5949fd+_0x33996d;},'IGHLZ':_0x3f966e(0x100),'idoRC':'partial','pzpkq':'\x20PARTIAL','qihLH':'\x20BLOCKED','nraHa':function(_0x22594b,_0x16eddc){return _0x22594b===_0x16eddc;},'ezLpW':'verified'};_0x25f3a3&&warnRenamed(_0xbb0ad1['UuXCC'],'ranger\x20go');warnFlagRenamed('ranger\x20go','--env','--profile'),_0xbb0ad1[_0x3f966e(0x204)](warnFlagRenamed,'ranger\x20go','--task',_0x3f966e(0x13c)),_0xbb0ad1['SaMaM'](warnFlagRenamed,_0x3f966e(0xef),'--item',_0xbb0ad1['txlXa']);const _0xf8e0b7=await _0xbb0ad1['KzSfg'](loadRangerConfig),_0x125f41=_0xbb0ad1[_0x3f966e(0x22a)](isByokEnabled),_0x3f3732=_0x22af56[_0x3f966e(0x16f)],_0x597668=_0xf8e0b7['model'],_0xe444c0=normalizeEnvVarNames(_0x22af56['env-var']),_0x49d967=getVerificationTransport();if(_0xbb0ad1['VLmKj'](_0xe444c0[_0x3f966e(0x218)],0x0)&&_0xbb0ad1['EZzbJ'](_0x49d967,_0xbb0ad1['EFxeo'])&&_0x49d967!==_0xbb0ad1['ixMkv'])throw new Error('The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20'+_0x49d967+'.');const _0x598f47=await verifyFeature({'featureId':_0x22af56['feature'],'profile':_0x22af56[_0x3f966e(0x1ad)]??_0x22af56[_0x3f966e(0x137)]??process[_0x3f966e(0x137)][_0x3f966e(0x10b)],'notes':_0x22af56['notes']??_0x22af56['task'],'scenario':_0x22af56[_0x3f966e(0xf4)]??_0x22af56[_0x3f966e(0x11e)],'startPath':_0x22af56['start-path'],'baseUrl':_0x22af56['base-url'],'debugOutcome':_0x22af56[_0x3f966e(0x160)],'debugAddressComments':_0x22af56[_0xbb0ad1['UFVdL']],'headed':_0x22af56['headed'],'verifierEnvVars':_0xe444c0,'byokEnabled':_0x125f41,'flagVerifyModel':_0x3f3732,'configVerifyModel':_0x597668});console['log'](_0xbb0ad1[_0x3f966e(0x2a6)]('\x0a','='['repeat'](0x3c))),console[_0x3f966e(0x152)](_0x598f47[_0x3f966e(0x12f)]===_0x3f966e(0x242)?_0xbb0ad1['IGHLZ']:_0x598f47[_0x3f966e(0x12f)]===_0x3f966e(0x166)?_0x3f966e(0x1c1):_0x598f47[_0x3f966e(0x12f)]===_0xbb0ad1['idoRC']?_0xbb0ad1[_0x3f966e(0x28f)]:_0x598f47[_0x3f966e(0x12f)]===_0x3f966e(0x25d)?_0xbb0ad1[_0x3f966e(0x1d7)]:_0x3f966e(0x14f)),console['log']('='['repeat'](0x3c)),console[_0x3f966e(0x152)]('Summary:\x20'+_0x598f47['summary']),console['log']('Evaluation:\x20'+_0x598f47['evaluation']),console[_0x3f966e(0x152)]('Reason:\x20'+_0x598f47[_0x3f966e(0x257)]),_0x598f47['issues']?.[_0x3f966e(0x218)]&&(console['log']('\x0aIssues:'),_0x598f47['issues'][_0x3f966e(0x213)]((_0x24a53d,_0x34ccee)=>{const _0x291f83=_0x3f966e;console[_0x291f83(0x152)]('\x0a'+(_0x34ccee+0x1)+_0x291f83(0x171)+_0x24a53d['severity']+']\x20'+_0x24a53d['description']);})),process[_0x3f966e(0x14c)](_0xbb0ad1[_0x3f966e(0x21f)](_0x598f47['evaluation'],_0xbb0ad1[_0x3f966e(0x282)])?0x0:0x1);}export function buildParser(_0x34513d){const _0x38f1cd=_0x29fd62,_0x121f71={'GFZJv':_0x38f1cd(0x17f),'afkwB':_0x38f1cd(0x1f6),'eXbKp':'scenario','tEesx':'checklist','PtwwJ':_0x38f1cd(0x2a4),'rxsSy':_0x38f1cd(0x1d0),'DGdNc':_0x38f1cd(0x1ed),'qioJV':'--checklist','GLAoy':function(_0x466f1e,_0x4dc1e7,_0x290a33){return _0x466f1e(_0x4dc1e7,_0x290a33);},'dDnto':_0x38f1cd(0x275),'UScrM':_0x38f1cd(0x25f),'JVlfg':'number','wKJqV':'offset','BnSdy':'string','gdNAL':'Feature\x20review\x20ID','USfTo':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','WHDJI':'add-scenario','jrpJj':'Scenario\x20number\x20to\x20edit\x20(1-based)','wbEgn':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','BHeVX':_0x38f1cd(0x22d),'yDURW':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','wrBaY':_0x38f1cd(0x291),'NojXL':_0x38f1cd(0x11c),'cgplY':'exclude-scenario','HVZdR':_0x38f1cd(0x150),'gumkn':_0x38f1cd(0x154),'hXwse':_0x38f1cd(0x24f),'RCTSn':'token','nbkkL':'mcp','rsvYo':'Authenticate\x20via\x20MCP\x20proxy','yjBTh':'setup:skills','YDAYI':_0x38f1cd(0x14b),'RbYyc':_0x38f1cd(0x112),'iPMZg':_0x38f1cd(0x26e),'LyMJz':_0x38f1cd(0x109),'vmKet':_0x38f1cd(0x1fe),'bNfnw':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','CGmNt':'project','Lrzau':_0x38f1cd(0x144),'AjWBC':function(_0x3166f5,_0x7efe33){return _0x3166f5+_0x7efe33;},'izSfY':'tokenOrSubcommand','oLUBn':_0x38f1cd(0x2a5),'ZZloa':'Run\x20full\x20interactive\x20setup','UyMPO':'Install\x20Chromium\x20browser\x20binary','VyzYJ':_0x38f1cd(0x151),'RpliN':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','hiKPv':'url','hOzrk':_0x38f1cd(0x25a),'XubTk':'force','jKSIz':_0x38f1cd(0x1b9),'OTBSm':_0x38f1cd(0x1e9),'xuSNi':_0x38f1cd(0x299),'HlcEE':'API\x20token','HhkMR':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','QsPYI':_0x38f1cd(0x17b),'dAYaN':'login','ZiPZQ':'Install\x20skills\x20for\x20OpenCode','EplIz':'clean','dgYGL':_0x38f1cd(0x21d),'VhFpI':_0x38f1cd(0x1ad),'YwphL':_0x38f1cd(0x147),'YHTuh':_0x38f1cd(0x1c0),'FQEQa':_0x38f1cd(0x1ac),'DEluC':_0x38f1cd(0x12d),'zFOVo':_0x38f1cd(0x185),'Rnqmr':_0x38f1cd(0x271),'ywvmm':'Cloud\x20profile\x20name','WGkMw':_0x38f1cd(0x111),'UVZQe':_0x38f1cd(0x17c),'NqeRi':_0x38f1cd(0x14e),'pfzmS':_0x38f1cd(0x179),'OWyEK':'yes','JZqOH':'save-creds','TWDTS':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','jlfAY':_0x38f1cd(0x206),'jlWfJ':'set\x20<profile>\x20<key>\x20<value>','mdVjn':_0x38f1cd(0x248),'hZrHz':_0x38f1cd(0x1f5),'OdetW':_0x38f1cd(0x216),'jjOQU':_0x38f1cd(0xe8),'ujKts':'unset\x20<profile>\x20<key>','CgApU':_0x38f1cd(0x2a3),'zbNbL':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','UqZeW':_0x38f1cd(0x1d9),'VSTdr':_0x38f1cd(0x1f7),'rJCxM':'setup-header','xznbO':function(_0x5b7dfe,_0xdac004,_0xa99a9c,_0x2e3a96){return _0x5b7dfe(_0xdac004,_0xa99a9c,_0x2e3a96);},'RiSBE':function(_0x4a6829,_0x1b15a4){return _0x4a6829(_0x1b15a4);},'CbMTx':'profile\x20use','yUVTi':_0x38f1cd(0x191),'lEsWr':_0x38f1cd(0x10f),'tNJwo':'profile\x20config\x20set','aApft':_0x38f1cd(0x188),'wjAZt':'add\x20<profile-name>','Zxgux':_0x38f1cd(0x231),'qfYTx':'Delete\x20a\x20cloud\x20profile','DYSNU':_0x38f1cd(0x17e),'NVrtH':_0x38f1cd(0x20e),'etMeB':'update\x20<profile-name>','Kjrsl':'Update\x20authentication\x20for\x20an\x20existing\x20profile','sKYaE':'login\x20<name>','QJBsU':'Manage\x20profile\x20configuration','CRcLy':_0x38f1cd(0x245),'gYYZj':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','CMjmk':_0x38f1cd(0x110),'qJSss':_0x38f1cd(0x157),'msqFi':_0x38f1cd(0x22e),'pgZAM':_0x38f1cd(0x1e4),'nYrTi':'Scenario\x20index\x20(1-based)','dNqrR':_0x38f1cd(0x1c2),'YVkqf':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','LIQfh':'base-url','xbdnh':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.','zIhHi':'headed','oHCtb':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','WgRuc':_0x38f1cd(0xe9),'gAlam':'environment-variable','JIiCF':'blocked','Vxutr':'incomplete','HZAWe':_0x38f1cd(0x1e1),'iUeYo':_0x38f1cd(0x137),'hThYJ':_0x38f1cd(0x252),'eTVjD':'item','XPTOX':_0x38f1cd(0x240),'Ucqqp':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','EuPUg':_0x38f1cd(0x14a),'mSfar':'start','xYTNF':_0x38f1cd(0x16f),'ejzDC':'debug-outcome','PrDGv':_0x38f1cd(0x153),'KGfNn':_0x38f1cd(0xed),'DUMtT':'env-name','AvOLS':_0x38f1cd(0x241),'GYqfT':_0x38f1cd(0x15e),'gLDFk':_0x38f1cd(0x139),'ihdsO':function(_0x5a738b,_0x39564a,_0x168b51){return _0x5a738b(_0x39564a,_0x168b51);},'TwroD':'use','ksDDu':_0x38f1cd(0x236),'xtBxn':'Config\x20value','IAfWs':'ranger\x20config\x20list','ZkLUZ':_0x38f1cd(0x199),'dGezI':_0x38f1cd(0x1c7),'bfhqD':_0x38f1cd(0x114),'JHjaO':_0x38f1cd(0x1d5),'nwIZR':_0x38f1cd(0x1c3),'gECDP':'get\x20<env>\x20<key>','bHXjv':'unset\x20<env>\x20<key>','NzEBt':_0x38f1cd(0x1d8),'vHsxI':_0x38f1cd(0x158),'UGWvA':function(_0xfcd20b,_0x1f607d,_0x52e4a7){return _0xfcd20b(_0x1f607d,_0x52e4a7);},'dgDWI':'ranger\x20env\x20update','lqPHM':'env\x20update','udmEj':_0x38f1cd(0x250),'uxFDN':function(_0x4111bf,_0x1348af,_0x3df414,_0x5801cf){return _0x4111bf(_0x1348af,_0x3df414,_0x5801cf);},'QDunA':'--scenario','PvXIK':'ranger\x20list','XyGXB':_0x38f1cd(0x106),'XaOnf':function(_0x32d737,_0x57d69e,_0x4f79f0){return _0x32d737(_0x57d69e,_0x4f79f0);},'EIVDi':_0x38f1cd(0x244),'wQLBC':_0x38f1cd(0x163),'ZvejO':function(_0x361cb2,_0x1a4e68,_0x3116c5){return _0x361cb2(_0x1a4e68,_0x3116c5);},'PRmgZ':_0x38f1cd(0x186),'oaFZr':'ranger\x20delete','lIsad':_0x38f1cd(0x19e),'eSSoF':function(_0x47f951,_0x3c4e85,_0x24069c){return _0x47f951(_0x3c4e85,_0x24069c);},'PepDA':_0x38f1cd(0x1c5),'uAjHH':_0x38f1cd(0x16b),'JAXJn':'Number\x20of\x20feature\x20reviews\x20to\x20skip','ZnuXR':_0x38f1cd(0xfd),'iCeRj':function(_0x1ec47e,_0x5b2aaf,_0x32eea8){return _0x1ec47e(_0x5b2aaf,_0x32eea8);},'pOLjR':_0x38f1cd(0x126),'QxLuK':_0x38f1cd(0x290),'ZyzSc':'show\x20[id]','hPvAn':_0x38f1cd(0x19b),'kXiTK':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','mUDsT':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','kECyG':'session-id','DdRIT':'hook:disable','mVVRW':_0x38f1cd(0x1b2),'GydGJ':_0x38f1cd(0x138),'tdRph':'Unknown\x20command','cbtQP':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','kekEP':function(_0x44f422,_0x931057){return _0x44f422||_0x931057;},'IBgdx':_0x38f1cd(0x23a),'ksjPX':_0x38f1cd(0x2a0),'fdUWG':_0x38f1cd(0x22f),'wwBct':'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','xgkLu':_0x38f1cd(0xfa),'kVPXG':_0x38f1cd(0x177),'QSNMv':'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','Ylhje':'get-review\x20[id]','tixtO':'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','vkTqJ':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','FLGwC':'Restore\x20a\x20soft-deleted\x20feature\x20review','udvWP':'Initialize\x20Ranger\x20in\x20your\x20project','oYjfh':_0x38f1cd(0x13e),'UqmFS':_0x38f1cd(0x259),'ZbAbT':_0x38f1cd(0x209),'DgEOS':_0x38f1cd(0xf3),'VIrKe':_0x38f1cd(0x13d),'fNtnV':_0x38f1cd(0x132),'EHrUc':'config','jZAsC':_0x38f1cd(0x149),'saHZY':_0x38f1cd(0x23b),'OyroQ':'help'};return _0x198fe2(_0x34513d??process['argv']['slice'](0x2))['scriptName'](_0x121f71['IBgdx'])['usage'](TOP_LEVEL_HELP)[_0x38f1cd(0x2a7)](getCurrentVersion())['command'](_0x121f71['ksjPX'],_0x121f71[_0x38f1cd(0xe2)],_0x3aeda0=>{const _0x576bfd=_0x38f1cd;return _0x3aeda0[_0x576bfd(0xfc)]('name',{'type':'string','description':_0x121f71['GFZJv'],'demandOption':!![]})[_0x576bfd(0x27b)](_0x576bfd(0x244),{'type':_0x576bfd(0x124),'alias':'d','description':_0x121f71['afkwB']})['option'](_0x121f71[_0x576bfd(0x123)],{'type':'array','alias':'c','description':_0x576bfd(0x27f)})['option'](_0x121f71[_0x576bfd(0x1aa)],{'type':_0x121f71[_0x576bfd(0xeb)],'hidden':!![]});},async _0x4a65a9=>{const _0x442abb=_0x38f1cd;if(!_0x4a65a9[_0x442abb(0x271)]){console[_0x442abb(0x210)](_0x121f71[_0x442abb(0x170)]+_0x442abb(0x233)),process[_0x442abb(0x14c)](0x1);return;}warnFlagRenamed(_0x121f71['DGdNc'],_0x121f71['qioJV'],_0x442abb(0x1b8));const _0x5cac71=_0x4a65a9['scenario']||_0x4a65a9[_0x442abb(0xe1)];await _0x121f71['GLAoy'](withTelemetry,_0x442abb(0x145),()=>featureCreate(_0x4a65a9[_0x442abb(0x271)],{'description':_0x4a65a9['description'],'scenarios':_0x5cac71}));})[_0x38f1cd(0x12a)]('list','List\x20all\x20feature\x20reviews',_0x43d45e=>{const _0x2d42bd=_0x38f1cd;return _0x43d45e[_0x2d42bd(0x27b)](_0x121f71['dDnto'],{'type':'boolean','description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option'](_0x121f71[_0x2d42bd(0x228)],{'type':_0x121f71['JVlfg'],'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})[_0x2d42bd(0x27b)](_0x121f71[_0x2d42bd(0x1b3)],{'type':'number','alias':'o','description':_0x2d42bd(0x286),'default':0x0})[_0x2d42bd(0x27b)]('include-deleted',{'type':_0x2d42bd(0x291),'alias':'d','description':_0x2d42bd(0x1e6),'default':![]});},async _0x24b4f8=>{const _0x5dd6a2=_0x38f1cd;await withTelemetry('list',()=>featureList({'currentBranch':_0x24b4f8['current-branch'],'limit':_0x24b4f8[_0x5dd6a2(0x25f)],'offset':_0x24b4f8['offset'],'includeDeleted':_0x24b4f8['include-deleted']}));})[_0x38f1cd(0x12a)]('show\x20[id]',_0x121f71['wwBct'],_0x3d0180=>{const _0x1e06b1=_0x38f1cd;return _0x3d0180[_0x1e06b1(0xfc)]('id',{'type':_0x121f71['BnSdy'],'description':_0x121f71['gdNAL']});},async _0x3ca305=>{const _0x225bf4=_0x38f1cd;await withTelemetry(_0x225bf4(0x222),()=>featureShow(_0x3ca305['id']));})[_0x38f1cd(0x12a)](_0x38f1cd(0x164),_0x121f71['xgkLu'],_0x3ee218=>{const _0x27c6dd=_0x38f1cd;return _0x3ee218[_0x27c6dd(0xfc)]('id',{'type':_0x27c6dd(0x124),'description':_0x121f71['USfTo']});},async _0x37e8a9=>{const _0x256ff8=_0x38f1cd;await withTelemetry(_0x256ff8(0x116),()=>featureResume(_0x37e8a9['id']));})['command'](_0x38f1cd(0xea),_0x121f71['kVPXG'],_0x3c4519=>{const _0x297499=_0x38f1cd;return _0x3c4519['positional'](_0x297499(0x244),{'type':_0x121f71[_0x297499(0x234)],'description':_0x297499(0x163),'demandOption':!![]})['option']('id',{'type':_0x297499(0x124),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x4515a7=>{const _0x3dd868=_0x38f1cd;await withTelemetry(_0x121f71[_0x3dd868(0x29e)],()=>featureAddScenario(_0x4515a7[_0x3dd868(0x244)],_0x4515a7['id']));})[_0x38f1cd(0x12a)](_0x38f1cd(0x256),_0x121f71[_0x38f1cd(0xfe)],_0x29b71e=>{const _0x441a09=_0x38f1cd;return _0x29b71e[_0x441a09(0xfc)]('description',{'type':_0x121f71['BnSdy'],'description':'New\x20scenario\x20description','demandOption':!![]})['option']('scenario',{'type':_0x121f71['JVlfg'],'description':_0x121f71[_0x441a09(0x2a2)],'demandOption':!![]})['option']('id',{'type':_0x121f71[_0x441a09(0x234)],'description':_0x121f71[_0x441a09(0x15b)]});},async _0x3764c1=>{const _0x58b075=_0x38f1cd;await withTelemetry(_0x121f71['BHeVX'],()=>featureEditScenario(_0x3764c1[_0x58b075(0x244)],{'id':_0x3764c1['id'],'scenario':_0x3764c1[_0x58b075(0xf4)]}));})[_0x38f1cd(0x12a)](_0x38f1cd(0x261),_0x38f1cd(0x1fd),_0x2279dd=>{const _0x4d8731=_0x38f1cd;return _0x2279dd['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'})['option']('exclude-scenario',{'type':_0x4d8731(0x2a4),'description':_0x121f71[_0x4d8731(0x175)]})['option'](_0x4d8731(0x225),{'type':_0x121f71[_0x4d8731(0x215)],'description':_0x121f71['NojXL'],'default':![]});},async _0x250aef=>{const _0x345197=_0x38f1cd,_0x313fc1=_0x250aef[_0x121f71[_0x345197(0x23e)]],_0x3b1e89=_0x313fc1?_0x313fc1[_0x345197(0x1b7)](_0x239fbe=>Number(_0x239fbe)):undefined;await withTelemetry(_0x345197(0x279),()=>featureReportPrDescription(_0x250aef['id'],{'excludeScenarios':_0x3b1e89,'json':_0x250aef[_0x345197(0x225)]}));})['command'](_0x121f71[_0x38f1cd(0x230)],_0x121f71[_0x38f1cd(0x1a8)],_0x349285=>{const _0x35d8a3=_0x38f1cd;return _0x349285[_0x35d8a3(0xfc)]('id',{'type':_0x121f71['BnSdy'],'description':_0x35d8a3(0x180)});},async _0x1787c5=>{const _0x2368b0=_0x38f1cd;await _0x121f71['GLAoy'](withTelemetry,_0x121f71[_0x2368b0(0x1e0)],()=>featureGetReview(_0x1787c5['id']));})['command'](_0x121f71['hPvAn'],_0x121f71[_0x38f1cd(0x23d)],_0x446be6=>{const _0x2fc055=_0x38f1cd;return _0x446be6[_0x2fc055(0xfc)]('id',{'type':'string','description':_0x2fc055(0x107)});},async _0x44f8cd=>{const _0x37bc82=_0x38f1cd;await withTelemetry(_0x37bc82(0x1b0),()=>featureDelete(_0x44f8cd['id']));})['command']('restore\x20<id>',_0x121f71['FLGwC'],_0x15844c=>{return _0x15844c['positional']('id',{'type':_0x121f71['BnSdy'],'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x52750f=>{await withTelemetry('restore',()=>featureRestore(_0x52750f['id']));})[_0x38f1cd(0x12a)]('setup\x20[tokenOrSubcommand]',_0x121f71[_0x38f1cd(0x1da)],_0x32f207=>{const _0x155ca2=_0x38f1cd,_0x2f26bc={'yjzUI':_0x155ca2(0x27c),'aRZcQ':_0x121f71['YDAYI'],'haDjk':_0x121f71['RbYyc'],'VCytX':_0x121f71['iPMZg'],'FmLvu':_0x121f71[_0x155ca2(0x234)],'SOCbd':'user','FPZGs':_0x121f71[_0x155ca2(0x214)],'peVrh':_0x121f71['vmKet'],'UoYrW':_0x121f71['wrBaY'],'RmGST':_0x121f71['bNfnw'],'CDpxz':function(_0x20c5cf,_0x460d4b,_0x5c4d99){return _0x20c5cf(_0x460d4b,_0x5c4d99);},'PdozF':_0x155ca2(0x17d),'MdPrn':function(_0x519d11,_0x163fc0,_0x3d2dfd){return _0x519d11(_0x163fc0,_0x3d2dfd);},'PHkOc':function(_0x5d312d){return _0x5d312d();},'vShgo':_0x155ca2(0x1fb),'iaqeE':_0x121f71[_0x155ca2(0x20f)],'LLaPX':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','oGxhc':_0x121f71['Lrzau'],'xAfxi':_0x155ca2(0x226),'isoyd':'Skip\x20browser\x20authentication','sGsBm':function(_0x4c4184,_0x476e1b){return _0x4c4184!==_0x476e1b;},'NhddP':function(_0x35c5ef,_0x58842a){return _0x121f71['AjWBC'](_0x35c5ef,_0x58842a);},'vUxPL':function(_0x17e897,_0x4fad06,_0x4ba72a){return _0x17e897(_0x4fad06,_0x4ba72a);},'CgfPd':'setup:profiles'};return _0x32f207[_0x155ca2(0x265)]('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')['positional'](_0x121f71['izSfY'],{'type':_0x121f71[_0x155ca2(0x234)],'description':_0x121f71[_0x155ca2(0x195)]})[_0x155ca2(0x12a)]('all',_0x121f71['ZZloa'],_0x560513=>{const _0x2d01df=_0x155ca2;return _0x560513[_0x2d01df(0x27b)](_0x2d01df(0x15f),{'type':_0x2d01df(0x124),'description':_0x2f26bc[_0x2d01df(0x266)]})[_0x2d01df(0x27b)](_0x2f26bc['aRZcQ'],{'type':_0x2d01df(0x291),'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option']('skip-auth',{'type':_0x2d01df(0x291),'description':_0x2f26bc[_0x2d01df(0x148)],'default':![]})['option'](_0x2d01df(0x154),{'type':_0x2d01df(0x291),'description':_0x2d01df(0x146),'default':![]})['option'](_0x2f26bc[_0x2d01df(0x1bf)],{'type':_0x2f26bc[_0x2d01df(0x255)],'choices':[_0x2f26bc['SOCbd']],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x2d01df(0x27b)](_0x2d01df(0x226),{'type':_0x2f26bc['FmLvu'],'description':_0x2d01df(0x101)})['option'](_0x2d01df(0x20c),{'type':_0x2d01df(0x291),'description':_0x2f26bc[_0x2d01df(0x113)],'default':![]})[_0x2d01df(0x27b)](_0x2d01df(0x208),{'type':'boolean','description':_0x2d01df(0x1b9),'default':![]})['option'](_0x2f26bc[_0x2d01df(0x268)],{'type':_0x2f26bc[_0x2d01df(0x264)],'description':_0x2f26bc['RmGST'],'default':![]})['option'](_0x2d01df(0x1e9),{'type':_0x2f26bc['UoYrW'],'description':_0x2d01df(0x16d),'default':![]})['option']('mcp',{'type':_0x2f26bc['UoYrW'],'description':_0x2d01df(0x1a5),'default':![]});},async _0x432427=>{const _0x7cc1b8=_0x155ca2;(_0x432427['mcp-bootstrap']||_0x432427['mcp'])&&await withTelemetry(_0x7cc1b8(0x1e9),()=>mcpBootstrap()),await _0x2f26bc['CDpxz'](withTelemetry,_0x2f26bc['PdozF'],_0x58d84e=>start(_0x432427['token'],{'skipChromium':_0x432427[_0x7cc1b8(0x14b)],'skipAuth':_0x432427['skip-auth'],'withDeps':_0x432427[_0x7cc1b8(0x154)],'scope':_0x432427['scope'],'url':_0x432427[_0x7cc1b8(0x226)],'force':_0x432427['force'],'opencode':_0x432427['opencode'],'allowInsecureLocalhost':_0x432427['allow-insecure-localhost']},_0x58d84e));})['command'](_0x155ca2(0x178),_0x121f71[_0x155ca2(0xe3)],_0x316a0d=>{const _0x24bd0c=_0x155ca2;return _0x316a0d[_0x24bd0c(0x27b)](_0x121f71['gumkn'],{'type':'boolean','description':_0x121f71['hXwse'],'default':![]});},async _0x59fa70=>{await _0x2f26bc['MdPrn'](withTelemetry,'setup:deps',()=>ensureChromium(_0x59fa70['with-deps']));})['command'](_0x155ca2(0x207),_0x155ca2(0x219),_0x34b061=>{const _0x32dcad=_0x155ca2;return _0x34b061['option'](_0x121f71[_0x32dcad(0x238)],{'type':_0x32dcad(0x124),'description':_0x32dcad(0x297)})[_0x32dcad(0x27b)](_0x121f71[_0x32dcad(0x29c)],{'type':_0x121f71['wrBaY'],'description':_0x121f71[_0x32dcad(0x251)],'default':![]});},async _0xc588a2=>{const _0x4ea33c=_0x155ca2;await withTelemetry(_0x2f26bc[_0x4ea33c(0x169)],async()=>{const _0x21d567=_0x4ea33c;if(_0xc588a2[_0x21d567(0x15a)]){await mcpBootstrap();const _0x5b14f4=await _0x2f26bc[_0x21d567(0x105)](refreshCliToken);if(!_0x5b14f4)throw new Error(_0x21d567(0x24c));const _0x43d53b=await getCurrentUser(_0x5b14f4);if(!_0x43d53b[_0x21d567(0x20a)])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x43d53b[_0x21d567(0x210)]);console['log'](_0x21d567(0x24e)+_0x43d53b[_0x21d567(0x217)]['organizationName']);return;}await authenticate(_0xc588a2[_0x21d567(0x15f)]);});})['command'](_0x155ca2(0x15c),'Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x6dc7f4=>{const _0x45b387=_0x155ca2;return _0x6dc7f4['option']('scope',{'type':_0x45b387(0x124),'choices':[_0x2f26bc[_0x45b387(0x1c8)],_0x2f26bc[_0x45b387(0xe4)]],'description':_0x45b387(0x142)})['option']('opencode',{'type':'boolean','description':_0x2f26bc['LLaPX'],'default':![]});},async _0x4f47b3=>{const _0x1bb8a0=_0x155ca2,_0x35a189={'WgnKR':function(_0x35301c,_0x257b83){return _0x35301c(_0x257b83);},'lgtAk':function(_0xe5c7b3,_0x309570){return _0xe5c7b3(_0x309570);}};await withTelemetry(_0x121f71[_0x1bb8a0(0x1cd)],async()=>{const _0x4690e3=_0x1bb8a0,_0x4c8303=_0x4f47b3['scope'];if(_0x4f47b3['opencode']){const _0x10d63a=await _0x35a189['WgnKR'](ensureOpencodePluginConfig,_0x4c8303);_0x10d63a&&await installSkill(_0x4690e3(0x23a),{'level':_0x10d63a['scope'],'cliVersion':getCurrentVersion(),'platform':'opencode'});}else await _0x35a189[_0x4690e3(0xec)](ensureClaudePlugin,_0x4c8303),await ensureClaudeSkills(_0x4c8303);});})['command'](_0x155ca2(0x196),_0x121f71[_0x155ca2(0x26b)],_0xbbd8fe=>{const _0x3b4b4d=_0x155ca2;return _0xbbd8fe['option']('scope',{'type':_0x2f26bc[_0x3b4b4d(0x255)],'choices':[_0x2f26bc[_0x3b4b4d(0x1c8)]],'description':_0x2f26bc[_0x3b4b4d(0x1c4)]})['option'](_0x2f26bc['xAfxi'],{'type':_0x2f26bc[_0x3b4b4d(0x255)],'description':_0x3b4b4d(0xf6)})[_0x3b4b4d(0x27b)](_0x3b4b4d(0x299),{'type':'boolean','description':_0x2f26bc['isoyd'],'default':![]})[_0x3b4b4d(0x27b)]('force',{'type':_0x2f26bc['UoYrW'],'description':_0x3b4b4d(0x109),'default':![]})['option'](_0x2f26bc[_0x3b4b4d(0x268)],{'type':_0x2f26bc['UoYrW'],'description':_0x3b4b4d(0xf9),'default':![]});},async _0x27ad96=>{const _0x28e112=_0x155ca2,_0x3912eb=_0x27ad96['scope'];_0x2f26bc[_0x28e112(0x29d)](_0x3912eb,undefined)&&_0x3912eb!==_0x2f26bc[_0x28e112(0x1c8)]&&(console['error'](_0x2f26bc['NhddP'](_0x28e112(0x294)+_0x3912eb+_0x28e112(0x18a)+_0x28e112(0x1f2),'Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.')),process[_0x28e112(0x14c)](0x1)),await _0x2f26bc['vUxPL'](withTelemetry,_0x2f26bc[_0x28e112(0xee)],_0x51d136=>ensureLocalEnv({'url':_0x27ad96[_0x28e112(0x226)],'force':_0x27ad96['force'],'allowInsecureLocalhost':_0x27ad96[_0x28e112(0x1fe)],'scope':'user'},_0x51d136));})[_0x155ca2(0x27b)](_0x121f71[_0x155ca2(0x131)],{'type':_0x121f71['wrBaY'],'description':_0x121f71['RpliN'],'default':![]})['option'](_0x121f71['iPMZg'],{'type':'string','choices':['user'],'hidden':!![],'description':_0x121f71[_0x155ca2(0x26a)]})[_0x155ca2(0x27b)](_0x121f71[_0x155ca2(0x122)],{'type':_0x121f71['BnSdy'],'description':_0x121f71['hOzrk']})[_0x155ca2(0x27b)](_0x121f71[_0x155ca2(0x16e)],{'type':_0x121f71[_0x155ca2(0x215)],'description':_0x121f71['LyMJz'],'default':![]})['option'](_0x155ca2(0x208),{'type':_0x121f71[_0x155ca2(0x215)],'description':_0x121f71[_0x155ca2(0x1a7)],'default':![]})[_0x155ca2(0x27b)](_0x121f71['vmKet'],{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})['option'](_0x121f71[_0x155ca2(0x27a)],{'type':'boolean','description':_0x155ca2(0x183),'default':![]})['option'](_0x121f71[_0x155ca2(0x267)],{'type':_0x121f71[_0x155ca2(0x215)],'description':_0x155ca2(0x21a),'default':![]})['option'](_0x155ca2(0x154),{'type':'boolean','description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]})[_0x155ca2(0x27b)](_0x121f71[_0x155ca2(0x238)],{'type':_0x121f71[_0x155ca2(0x234)],'hidden':!![],'description':_0x121f71['HlcEE']});},async _0x3516c6=>{const _0x4e451e=_0x38f1cd,_0x4f6492=_0x3516c6['tokenOrSubcommand'],_0x575c04=_0x3516c6[_0x4e451e(0x15f)]??_0x4f6492;_0x3516c6[_0x121f71[_0x4e451e(0x27a)]]&&await withTelemetry('mcp-bootstrap',()=>mcpBootstrap()),await withTelemetry('start',_0x274b48=>start(_0x575c04,{'skipChromium':_0x3516c6[_0x4e451e(0x14b)],'skipAuth':_0x3516c6[_0x4e451e(0x299)],'withDeps':_0x3516c6['with-deps'],'scope':_0x3516c6[_0x4e451e(0x26e)],'url':_0x3516c6['url'],'force':_0x3516c6['force'],'opencode':_0x3516c6['opencode'],'allowInsecureLocalhost':_0x3516c6[_0x4e451e(0x1fe)]},_0x274b48));})['command']('setup-ci\x20<token>',![],_0x45edd1=>{const _0x2cf429=_0x38f1cd;return _0x45edd1['positional'](_0x121f71['RCTSn'],{'type':_0x121f71[_0x2cf429(0x234)],'description':'Ranger\x20API\x20token','demandOption':!![]})['option']('profile',{'type':_0x121f71['BnSdy'],'description':_0x2cf429(0x278)})[_0x2cf429(0x27b)]('base-url',{'type':'string','description':_0x121f71[_0x2cf429(0x1af)]})['option'](_0x121f71['YDAYI'],{'type':_0x2cf429(0x291),'description':_0x2cf429(0x22b),'default':![]});},async _0x17b7f9=>{await _0x121f71['GLAoy'](withTelemetry,_0x121f71['QsPYI'],_0x1ca0ac=>setupCi(_0x17b7f9['token'],{'profile':_0x17b7f9['profile'],'baseUrl':_0x17b7f9['base-url'],'skipChromium':_0x17b7f9['skip-chromium']},_0x1ca0ac));})['command'](_0x38f1cd(0x207),_0x38f1cd(0x1e2),()=>{},async()=>{const _0x1badde=_0x38f1cd;await _0x121f71[_0x1badde(0x221)](withTelemetry,_0x121f71[_0x1badde(0x16c)],()=>login());})[_0x38f1cd(0x12a)]('skillup',_0x121f71['oYjfh'],_0x5dbae9=>{const _0x34e7f8=_0x38f1cd;return _0x5dbae9[_0x34e7f8(0x27b)](_0x34e7f8(0x208),{'type':'boolean','description':_0x121f71['ZiPZQ'],'default':![]})['option'](_0x34e7f8(0x26e),{'type':_0x121f71[_0x34e7f8(0x234)],'choices':[_0x34e7f8(0x217),_0x34e7f8(0x1f4)],'description':_0x34e7f8(0x28c)});},async _0x3977b1=>{const _0x3abc47=_0x38f1cd,_0x9bc3e2=Boolean(_0x3977b1[_0x3abc47(0x208)]);await _0x121f71['GLAoy'](withTelemetry,_0x3abc47(0x104),()=>skillup({'autoInstall':_0x3977b1[_0x3abc47(0x26e)],'platform':_0x9bc3e2?'opencode':'claude'}));})[_0x38f1cd(0x12a)](_0x38f1cd(0x193),'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{await _0x121f71['GLAoy'](withTelemetry,_0x121f71['EplIz'],()=>clean());})[_0x38f1cd(0x12a)]([_0x38f1cd(0x1ad),_0x38f1cd(0x196)],_0x121f71[_0x38f1cd(0x128)],_0x450421=>{const _0x52efe9=_0x38f1cd,_0x23164a={'YaYlF':_0x52efe9(0x202),'mwlwr':_0x52efe9(0x291),'cQTiZ':_0x52efe9(0x299),'kYmVs':_0x121f71[_0x52efe9(0x1d4)],'eOWUd':'url','VbKby':_0x121f71[_0x52efe9(0x272)],'dsYQI':'force','YejIt':_0x52efe9(0x1a4),'lKXPl':_0x121f71['BnSdy'],'hdIby':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','IbhEq':'allow-insecure-localhost','OtBXo':_0x121f71['rJCxM'],'nyXnX':_0x52efe9(0x108),'dZoAU':'scope','yWYrh':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','HXbnD':'yes','xAzMj':function(_0x1f77cf,_0x180d25,_0x5502ab,_0x562e9a){const _0x54e22a=_0x52efe9;return _0x121f71[_0x54e22a(0x1bc)](_0x1f77cf,_0x180d25,_0x5502ab,_0x562e9a);},'PzoFj':function(_0x297d11,_0x50dbeb){const _0x4dabbb=_0x52efe9;return _0x121f71[_0x4dabbb(0x227)](_0x297d11,_0x50dbeb);},'TnlZv':function(_0x5dbc91,_0x1cd030,_0x2a54f4){const _0x365771=_0x52efe9;return _0x121f71[_0x365771(0x221)](_0x5dbc91,_0x1cd030,_0x2a54f4);},'ZwQea':_0x121f71[_0x52efe9(0x198)],'qNctF':_0x52efe9(0x187),'auXDM':function(_0x2c8274,_0x324901,_0x1e8b94){return _0x2c8274(_0x324901,_0x1e8b94);},'ZDuqb':function(_0x3fcafc,_0x54f9d7,_0x34d049){return _0x3fcafc(_0x54f9d7,_0x34d049);},'mESdG':_0x121f71[_0x52efe9(0x223)],'QageA':function(_0x141e08,_0x4d6663,_0x3b147b){return _0x141e08(_0x4d6663,_0x3b147b);},'oLvET':_0x121f71[_0x52efe9(0x276)],'sjhyr':_0x121f71['tNJwo'],'pmQmr':_0x121f71['aApft'],'JbBfe':_0x52efe9(0x1ad),'woTsh':_0x52efe9(0x249),'ZhOsC':'profile\x20config\x20reset'};return _0x450421[_0x52efe9(0x265)](PROFILE_HELP)['command'](_0x121f71[_0x52efe9(0x295)],_0x52efe9(0xf7),_0x185d57=>{const _0x5879ac=_0x52efe9;return _0x185d57['positional'](_0x5879ac(0x21d),{'type':'string','description':_0x23164a[_0x5879ac(0x24b)],'demandOption':!![]})[_0x5879ac(0x27b)]('ci',{'type':_0x23164a[_0x5879ac(0x1ce)],'hidden':!![],'default':![]})['option'](_0x23164a[_0x5879ac(0xf0)],{'type':_0x23164a['mwlwr'],'description':_0x23164a['kYmVs'],'default':![]})['option'](_0x23164a['eOWUd'],{'type':'string','description':_0x23164a[_0x5879ac(0x182)]})['option'](_0x23164a['dsYQI'],{'type':_0x23164a['mwlwr'],'description':_0x5879ac(0x109),'default':![]})['option'](_0x23164a['YejIt'],{'type':_0x23164a['lKXPl'],'description':_0x23164a[_0x5879ac(0x22c)]})['option'](_0x23164a['IbhEq'],{'type':_0x5879ac(0x291),'description':_0x5879ac(0x1c0),'default':![]})['option']('safe-mode',{'type':_0x5879ac(0x291),'description':_0x5879ac(0x136),'default':![]})['option'](_0x23164a['OtBXo'],{'type':_0x23164a['lKXPl'],'array':!![],'description':_0x23164a['nyXnX']})['option'](_0x23164a[_0x5879ac(0x141)],{'type':_0x23164a['lKXPl'],'choices':[_0x5879ac(0x217),_0x5879ac(0x1f4)],'description':_0x23164a['yWYrh']})[_0x5879ac(0x27b)](_0x23164a[_0x5879ac(0x232)],{'type':_0x5879ac(0x291),'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','default':![]});},async _0x5b2796=>{const _0x36e3f5=_0x52efe9;await _0x23164a['xAzMj'](withTelemetry,'profile\x20add',_0x14cd29=>addEnv(_0x5b2796[_0x36e3f5(0x21d)],{'ci':_0x5b2796['ci'],'skipAuth':_0x5b2796['skip-auth'],'url':_0x5b2796[_0x36e3f5(0x226)],'force':_0x5b2796[_0x36e3f5(0x20c)],'cdpEndpoint':_0x5b2796[_0x36e3f5(0x1a4)],'allowInsecureLocalhost':_0x5b2796['allow-insecure-localhost'],'safeMode':_0x5b2796['safe-mode'],'setupHeader':_0x5b2796[_0x36e3f5(0x284)],'scope':_0x5b2796[_0x36e3f5(0x26e)],'yes':_0x5b2796[_0x36e3f5(0x10e)]},_0x14cd29),{'isElectron':_0x23164a['PzoFj'](Boolean,_0x5b2796[_0x23164a[_0x36e3f5(0x296)]])});})['command'](_0x121f71['Zxgux'],'Switch\x20to\x20using\x20a\x20specific\x20profile',_0x9b9f9c=>{const _0xf379e3=_0x52efe9;return _0x9b9f9c[_0xf379e3(0xfc)](_0x121f71['dgYGL'],{'type':'string','description':_0xf379e3(0x21b),'demandOption':!![]});},async _0x34dec3=>{const _0x14b785=_0x52efe9;await _0x23164a[_0x14b785(0x184)](withTelemetry,_0x23164a['ZwQea'],()=>useEnv(_0x34dec3['profile-name']));})[_0x52efe9(0x12a)](_0x52efe9(0x28d),_0x121f71['qfYTx'],_0x557bde=>{const _0x4e4d07=_0x52efe9;return _0x557bde['positional']('profile-name',{'type':'string','description':_0x4e4d07(0x280),'demandOption':!![]})[_0x4e4d07(0x27b)](_0x23164a[_0x4e4d07(0x232)],{'type':_0x23164a['mwlwr'],'alias':'y','description':'Skip\x20the\x20deletion\x20confirmation\x20prompt.','default':![]});},async _0x6433c8=>{const _0x599790=_0x52efe9;await _0x23164a[_0x599790(0x184)](withTelemetry,_0x23164a['qNctF'],()=>deleteProfile(_0x6433c8[_0x599790(0x21d)],{'yes':_0x6433c8[_0x599790(0x10e)]}));})['command'](_0x121f71[_0x52efe9(0x28b)],![],_0x4d3a94=>{const _0x4541ed=_0x52efe9;return _0x4d3a94['positional'](_0x121f71['VhFpI'],{'type':_0x121f71['BnSdy'],'description':_0x4541ed(0x19c),'demandOption':!![]});},async _0x438b26=>{const _0x21c9bc=_0x52efe9;await withTelemetry(_0x21c9bc(0x189),()=>authEncrypt(_0x438b26[_0x21c9bc(0x1ad)]));})['command']('ls',_0x121f71[_0x52efe9(0x298)],()=>{},async()=>{await _0x23164a['auXDM'](withTelemetry,'profile\x20ls',()=>envList());})[_0x52efe9(0x12a)](_0x121f71[_0x52efe9(0x16a)],_0x121f71[_0x52efe9(0x14d)],_0x287c04=>{const _0x479bf7=_0x52efe9;return _0x287c04['positional'](_0x121f71['dgYGL'],{'type':_0x121f71['BnSdy'],'description':_0x121f71['YwphL'],'demandOption':!![]})[_0x479bf7(0x27b)]('allow-insecure-localhost',{'type':_0x121f71['wrBaY'],'description':_0x121f71['YHTuh']})['option'](_0x121f71[_0x479bf7(0x168)],{'type':_0x121f71[_0x479bf7(0x215)],'description':_0x121f71['DEluC']});},async _0x264133=>{const _0x5f4bf9=_0x52efe9;await _0x121f71[_0x5f4bf9(0x221)](withTelemetry,_0x121f71['zFOVo'],_0x2ced44=>updateEnv(_0x264133['profile-name'],_0x2ced44,{'allowInsecureLocalhost':_0x264133['allow-insecure-localhost'],'manual':_0x264133[_0x5f4bf9(0x1ac)]}));})['command'](_0x121f71[_0x52efe9(0x27d)],![],_0x47b9fb=>{const _0x53778e=_0x52efe9;return _0x47b9fb[_0x53778e(0xfc)](_0x121f71['Rnqmr'],{'type':_0x121f71[_0x53778e(0x234)],'description':_0x121f71['ywvmm'],'demandOption':!![]});},async _0x557d1e=>{const _0x2a097a=_0x52efe9,_0x47c0ae={'ywJgX':function(_0x6f9297,_0x52e0f7,_0x4720fd){return _0x6f9297(_0x52e0f7,_0x4720fd);},'GDPHb':_0x2a097a(0x283),'zoEtb':'failed','GfuRY':_0x2a097a(0xff)};await _0x23164a[_0x2a097a(0xfb)](withTelemetry,_0x23164a['mESdG'],async()=>{const _0x10cd3f=_0x2a097a,_0x3f1d88=process[_0x10cd3f(0x137)]['RANGER_TEST_USERNAME'],_0x288554=process[_0x10cd3f(0x137)]['RANGER_TEST_PASSWORD'];(!_0x3f1d88||!_0x288554)&&(console[_0x10cd3f(0x210)]('Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.'),process[_0x10cd3f(0x14c)](0x1));const _0x3edf1a=_0x557d1e['name'],_0x4d41d7=await _0x47c0ae[_0x10cd3f(0x1c9)](serverSideLogin,_0x3edf1a,{'force':!![]});_0x4d41d7['status']===_0x47c0ae['GDPHb']&&(console[_0x10cd3f(0x210)]('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process[_0x10cd3f(0x14c)](0x1)),_0x4d41d7['status']===_0x47c0ae['zoEtb']&&(console['error']('Login\x20failed:\x20'+(_0x4d41d7['error']??_0x47c0ae[_0x10cd3f(0x1f0)])),_0x4d41d7[_0x10cd3f(0x10d)]&&console['error'](_0x4d41d7['test_output']),process[_0x10cd3f(0x14c)](0x1)),console[_0x10cd3f(0x152)](_0x10cd3f(0x176)+_0x3edf1a+'\x27.\x20Session\x20saved.');});})['command']('migrate\x20[profile-name]',![],_0x59554c=>{const _0x6fb154=_0x52efe9;return _0x59554c['positional'](_0x6fb154(0x21d),{'type':_0x6fb154(0x124),'description':_0x121f71['WGkMw']})['option'](_0x121f71['UVZQe'],{'type':'boolean','description':_0x121f71['NqeRi'],'default':![]})['option'](_0x6fb154(0x174),{'type':_0x121f71[_0x6fb154(0x215)],'description':_0x121f71[_0x6fb154(0x263)],'default':![]})[_0x6fb154(0x27b)](_0x121f71['OWyEK'],{'type':_0x6fb154(0x291),'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})['option'](_0x121f71[_0x6fb154(0x197)],{'type':_0x121f71['wrBaY'],'description':_0x121f71['TWDTS'],'default':![]});},async _0x339db6=>{const _0x594fad=_0x52efe9;await _0x23164a['QageA'](withTelemetry,_0x23164a[_0x594fad(0x29a)],_0x12d493=>migrateProfile({'profileName':_0x339db6['profile-name'],'all':_0x339db6['all'],'dryRun':_0x339db6[_0x594fad(0x174)],'yes':_0x339db6['yes'],'saveCreds':_0x339db6[_0x594fad(0x172)]},_0x12d493));})[_0x52efe9(0x12a)]('config',_0x121f71['QJBsU'],_0x8d65df=>{const _0x40c3f4=_0x52efe9,_0x2a1f40={'FsKzV':_0x121f71['VhFpI'],'EZuzq':_0x40c3f4(0x124),'NBMGG':_0x121f71[_0x40c3f4(0x19f)],'GsmGO':_0x40c3f4(0x1f3)};return _0x8d65df[_0x40c3f4(0x265)](PROFILE_CONFIG_HELP)['command'](_0x121f71['jlWfJ'],_0x121f71[_0x40c3f4(0x1a2)],_0x2444c9=>{const _0x5da4e4=_0x40c3f4;return _0x2444c9['positional'](_0x2a1f40['FsKzV'],{'type':_0x5da4e4(0x124),'description':_0x5da4e4(0x19c),'demandOption':!![]})[_0x5da4e4(0xfc)](_0x5da4e4(0x188),{'type':_0x2a1f40[_0x5da4e4(0x25b)],'description':_0x2a1f40['NBMGG'],'demandOption':!![]})[_0x5da4e4(0xfc)]('value',{'type':_0x5da4e4(0x124),'description':_0x2a1f40['GsmGO'],'demandOption':!![]});},async _0x2532e7=>{const _0xf92af8=_0x40c3f4;await _0x23164a[_0xf92af8(0x1b6)](withTelemetry,_0x23164a[_0xf92af8(0x1e8)],()=>configSet(_0x2532e7[_0xf92af8(0x1ad)],_0x2532e7[_0xf92af8(0x188)],_0x2532e7[_0xf92af8(0x236)]));})[_0x40c3f4(0x12a)](_0x121f71[_0x40c3f4(0x1cb)],_0x121f71[_0x40c3f4(0x1ca)],_0x548f8b=>{const _0x47c993=_0x40c3f4;return _0x548f8b['positional']('profile',{'type':'string','description':_0x47c993(0x19c),'demandOption':!![]})['positional'](_0x23164a[_0x47c993(0x103)],{'type':'string','description':'Config\x20key','demandOption':!![]});},async _0x291f22=>{const _0x3cbae6=_0x40c3f4;await withTelemetry(_0x3cbae6(0x1a9),()=>configGet(_0x291f22['profile'],_0x291f22[_0x3cbae6(0x188)]));})[_0x40c3f4(0x12a)](_0x40c3f4(0x239),_0x121f71[_0x40c3f4(0x181)],_0x4907d5=>{const _0x587b68=_0x40c3f4;return _0x4907d5['positional']('profile',{'type':_0x23164a['lKXPl'],'description':_0x587b68(0x19c),'demandOption':!![]});},async _0x30f67c=>{const _0x392315=_0x40c3f4;await withTelemetry('profile\x20config\x20list',()=>configList(_0x30f67c[_0x392315(0x1ad)]));})['command'](_0x121f71[_0x40c3f4(0x12b)],'Remove\x20a\x20config\x20value',_0x37264a=>{const _0x39e77e=_0x40c3f4;return _0x37264a[_0x39e77e(0xfc)](_0x23164a[_0x39e77e(0x27e)],{'type':_0x39e77e(0x124),'description':_0x39e77e(0x19c),'demandOption':!![]})['positional'](_0x23164a[_0x39e77e(0x103)],{'type':_0x39e77e(0x124),'description':_0x23164a['woTsh'],'demandOption':!![]});},async _0x4f33ec=>{const _0x5776fc=_0x40c3f4;await _0x23164a['TnlZv'](withTelemetry,'profile\x20config\x20unset',()=>configUnset(_0x4f33ec[_0x5776fc(0x1ad)],_0x4f33ec[_0x5776fc(0x188)]));})[_0x40c3f4(0x12a)]('reset\x20<profile>',_0x121f71[_0x40c3f4(0x120)],_0x20a85c=>{const _0x12d5bc=_0x40c3f4;return _0x20a85c[_0x12d5bc(0xfc)](_0x2a1f40['FsKzV'],{'type':_0x12d5bc(0x124),'description':_0x12d5bc(0x19c),'demandOption':!![]});},async _0x3e25bb=>{const _0x2eee50=_0x40c3f4;await withTelemetry(_0x23164a[_0x2eee50(0x1bd)],()=>configReset(_0x3e25bb[_0x2eee50(0x1ad)]));})[_0x40c3f4(0x19a)](0x1,_0x121f71[_0x40c3f4(0x10c)]);})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})['command']('status',_0x121f71['ZbAbT'],()=>{},async()=>{await withTelemetry(_0x121f71['CRcLy'],()=>status());})['command']('update','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x473779=_0x38f1cd;await withTelemetry(_0x473779(0x129),()=>update());})[_0x38f1cd(0x12a)](_0x121f71[_0x38f1cd(0x1e3)],_0x121f71[_0x38f1cd(0x167)],()=>{},async()=>{const _0x4d993a=_0x38f1cd;await _0x121f71['GLAoy'](withTelemetry,_0x121f71[_0x4d993a(0x1e3)],async()=>{const _0x522321=_0x4d993a,_0x3961e2=await getToken();if(!_0x3961e2)throw new Error(_0x121f71[_0x522321(0x18b)]);console['log'](_0x3961e2);});})['command']('go','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.',_0x13fc30=>{const _0x195aa1=_0x38f1cd;return _0x13fc30['option'](_0x121f71['qJSss'],{'type':_0x121f71['BnSdy'],'description':_0x121f71['msqFi']})['option'](_0x121f71[_0x195aa1(0x13a)],{'type':'string','description':_0x195aa1(0x26f)})['option'](_0x121f71[_0x195aa1(0x237)],{'type':_0x121f71['BnSdy'],'description':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)'})['option'](_0x121f71[_0x195aa1(0x123)],{'type':_0x121f71['JVlfg'],'description':_0x121f71[_0x195aa1(0x155)]})['option'](_0x121f71[_0x195aa1(0x12e)],{'type':_0x195aa1(0x124),'description':_0x121f71[_0x195aa1(0x1ee)]})['option'](_0x121f71[_0x195aa1(0xe7)],{'type':_0x195aa1(0x124),'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x195aa1(0x27b)]('model',{'type':_0x195aa1(0x124),'description':_0x121f71[_0x195aa1(0x1df)]})[_0x195aa1(0x27b)](_0x121f71['zIhHi'],{'type':_0x121f71[_0x195aa1(0x215)],'description':_0x121f71['oHCtb'],'default':![]})[_0x195aa1(0x27b)](_0x121f71['WgRuc'],{'type':_0x121f71[_0x195aa1(0x234)],'array':!![],'alias':_0x121f71[_0x195aa1(0x130)],'description':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.'})['option']('debug-outcome',{'type':'string','hidden':!![],'choices':['verified',_0x195aa1(0x153),_0x121f71[_0x195aa1(0x274)],'failed',_0x121f71[_0x195aa1(0x211)]]})['option'](_0x121f71[_0x195aa1(0x1b5)],{'type':_0x195aa1(0x291),'hidden':!![]})[_0x195aa1(0x27b)](_0x121f71['iUeYo'],{'type':_0x121f71[_0x195aa1(0x234)],'hidden':!![]})[_0x195aa1(0x27b)](_0x121f71[_0x195aa1(0x133)],{'type':'string','hidden':!![]})[_0x195aa1(0x27b)](_0x121f71[_0x195aa1(0x11a)],{'type':_0x121f71['JVlfg'],'hidden':!![]});},async _0xd56ef3=>{await runGoCommand(_0xd56ef3);})['command'](_0x121f71[_0x38f1cd(0x212)],![],_0x4e8945=>{const _0x322404=_0x38f1cd,_0x3bba4f={'BsQFj':function(_0x3bc2e5,_0x3cb5ee,_0x37c611){return _0x3bc2e5(_0x3cb5ee,_0x37c611);}};return _0x4e8945['command'](_0x121f71[_0x322404(0x270)],![],_0x263639=>{const _0x2ce8da=_0x322404;return _0x263639[_0x2ce8da(0xfc)](_0x2ce8da(0x1ad),{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x39f215=>{const _0x257e3c=_0x322404;_0x3bba4f['BsQFj'](warnRenamed,_0x257e3c(0x18f),'ranger\x20profile\x20encrypt-auth'),await authEncrypt(_0x39f215['profile']);})[_0x322404(0x19a)](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command'](_0x38f1cd(0x205),![],_0x4b19eb=>{const _0x339a38=_0x38f1cd;return _0x4b19eb['positional'](_0x339a38(0x15f),{'type':_0x121f71[_0x339a38(0x234)],'description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})[_0x339a38(0x27b)](_0x339a38(0x14b),{'type':_0x339a38(0x291),'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x339a38(0x27b)]('scope',{'type':_0x121f71[_0x339a38(0x234)],'choices':['user'],'hidden':!![],'description':_0x121f71[_0x339a38(0x26a)]})['option'](_0x121f71['hiKPv'],{'type':'string','description':_0x121f71['hOzrk']})['option'](_0x339a38(0x20c),{'type':_0x121f71[_0x339a38(0x215)],'description':_0x339a38(0x109),'default':![]})[_0x339a38(0x27b)]('skip-auth',{'type':_0x121f71[_0x339a38(0x215)],'description':'Skip\x20authentication','default':![]})['option']('with-deps',{'type':'boolean','description':_0x121f71[_0x339a38(0x18d)],'default':![]});},async _0x29d675=>{const _0x53f7cd=_0x38f1cd;warnRenamed(_0x121f71['EuPUg'],_0x53f7cd(0x26c)),await withTelemetry(_0x121f71['mSfar'],_0x48bc27=>start(_0x29d675['token'],{'skipChromium':_0x29d675['skip-chromium'],'skipAuth':_0x29d675[_0x53f7cd(0x299)],'withDeps':_0x29d675[_0x53f7cd(0x154)],'scope':_0x29d675[_0x53f7cd(0x26e)],'url':_0x29d675['url'],'force':_0x29d675['force']},_0x48bc27));})['command'](_0x121f71[_0x38f1cd(0x26d)],![],_0x109d92=>{const _0x4c4a00=_0x38f1cd;return _0x109d92['option'](_0x121f71[_0x4c4a00(0x1db)],{'type':_0x121f71[_0x4c4a00(0x234)],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0x4c4a00(0x27b)](_0x121f71[_0x4c4a00(0x133)],{'type':_0x4c4a00(0x124),'description':_0x4c4a00(0xf5)})['option']('item',{'type':'number','description':_0x121f71[_0x4c4a00(0x155)]})['option']('profile',{'type':_0x121f71[_0x4c4a00(0x234)],'hidden':!![]})['option'](_0x121f71[_0x4c4a00(0x237)],{'type':_0x121f71['BnSdy'],'hidden':!![]})[_0x4c4a00(0x27b)]('scenario',{'type':_0x121f71[_0x4c4a00(0x10a)],'hidden':!![]})[_0x4c4a00(0x27b)](_0x4c4a00(0x1c2),{'type':_0x121f71['BnSdy'],'description':_0x121f71[_0x4c4a00(0x1ee)]})[_0x4c4a00(0x27b)]('base-url',{'type':_0x121f71[_0x4c4a00(0x234)],'description':_0x4c4a00(0x1ea)})[_0x4c4a00(0x27b)](_0x121f71['xYTNF'],{'type':'string','hidden':!![]})['option'](_0x121f71[_0x4c4a00(0x21c)],{'type':_0x4c4a00(0x291),'hidden':!![],'default':![]})[_0x4c4a00(0x27b)](_0x121f71[_0x4c4a00(0x117)],{'type':_0x121f71['BnSdy'],'array':!![],'alias':_0x121f71[_0x4c4a00(0x130)],'hidden':!![]})['option'](_0x121f71[_0x4c4a00(0x253)],{'type':_0x121f71['BnSdy'],'hidden':!![],'choices':['verified',_0x121f71[_0x4c4a00(0x1f8)],_0x121f71['JIiCF'],_0x121f71[_0x4c4a00(0x192)],_0x121f71['Vxutr']]});},async _0xefc5ba=>{await _0x121f71['GLAoy'](runGoCommand,_0xefc5ba,!![]);})['command']('add\x20env\x20<env-name>',![],_0x45279d=>{const _0x4f8f20=_0x38f1cd;return _0x45279d[_0x4f8f20(0xfc)](_0x121f71[_0x4f8f20(0x13b)],{'type':_0x121f71[_0x4f8f20(0x234)],'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':'boolean','description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x121f71[_0x4f8f20(0x267)],{'type':_0x121f71['wrBaY'],'description':_0x121f71[_0x4f8f20(0x1d4)],'default':![]});},async _0x465a84=>{const _0x5b9529=_0x38f1cd;warnRenamed('ranger\x20add\x20env','ranger\x20profile\x20add'),await withTelemetry(_0x121f71[_0x5b9529(0x190)],_0x32be99=>addEnv(_0x465a84[_0x5b9529(0x1a3)],{'ci':_0x465a84['ci'],'skipAuth':_0x465a84['skip-auth']},_0x32be99));})[_0x38f1cd(0x12a)](_0x38f1cd(0x25c),![],_0x456000=>{const _0x409138=_0x38f1cd;return _0x456000['positional']('env-name',{'type':_0x121f71['BnSdy'],'description':_0x409138(0x220),'demandOption':!![]});},async _0x57258e=>{const _0x47394c=_0x38f1cd;warnRenamed(_0x121f71[_0x47394c(0x281)],_0x121f71['gLDFk']),await _0x121f71['ihdsO'](withTelemetry,_0x121f71['TwroD'],()=>useEnv(_0x57258e['env-name']));})['command'](_0x121f71[_0x38f1cd(0x24a)],![],_0x5a6318=>{const _0x4aa606=_0x38f1cd,_0x7d05={'yrCdS':function(_0xe5f2e9,_0x338f6e,_0x310cdf){return _0xe5f2e9(_0x338f6e,_0x310cdf);},'HTZEh':_0x121f71['JHjaO'],'IKmSU':_0x121f71['iUeYo'],'noNpz':_0x121f71[_0x4aa606(0x234)],'LOrdL':_0x121f71['nwIZR'],'pHgBL':function(_0x1c10d9,_0x1d5b8c,_0x18af21){return _0x1c10d9(_0x1d5b8c,_0x18af21);},'KKpNe':'Config\x20key\x20to\x20remove'};return _0x5a6318[_0x4aa606(0x12a)]('set\x20<env>\x20<key>\x20<value>',![],_0x4b2678=>{const _0xb6744=_0x4aa606;return _0x4b2678[_0xb6744(0xfc)](_0xb6744(0x137),{'type':'string','description':'Environment\x20name','demandOption':!![]})[_0xb6744(0xfc)](_0xb6744(0x188),{'type':_0x121f71['BnSdy'],'description':_0x121f71[_0xb6744(0x19f)],'demandOption':!![]})[_0xb6744(0xfc)](_0x121f71['ksDDu'],{'type':_0x121f71[_0xb6744(0x234)],'description':_0x121f71['xtBxn'],'demandOption':!![]});},async _0x3bf400=>{const _0x24d34c=_0x4aa606;_0x7d05[_0x24d34c(0x20d)](warnRenamed,'ranger\x20config\x20set',_0x7d05[_0x24d34c(0x1f1)]),await _0x7d05['yrCdS'](withTelemetry,'config\x20set',()=>configSet(_0x3bf400[_0x24d34c(0x137)],_0x3bf400['key'],_0x3bf400[_0x24d34c(0x236)]));})['command'](_0x121f71[_0x4aa606(0x12c)],![],_0x4a4e7e=>{const _0x279feb=_0x4aa606;return _0x4a4e7e['positional'](_0x7d05[_0x279feb(0xe6)],{'type':_0x7d05['noNpz'],'description':_0x7d05[_0x279feb(0x19d)],'demandOption':!![]})[_0x279feb(0xfc)](_0x279feb(0x188),{'type':_0x7d05[_0x279feb(0x1be)],'description':'Config\x20key','demandOption':!![]});},async _0x4424a5=>{const _0x38c36f=_0x4aa606;_0x7d05[_0x38c36f(0x1ba)](warnRenamed,_0x38c36f(0xf1),'ranger\x20profile\x20config\x20get'),await withTelemetry('config\x20get',()=>configGet(_0x4424a5['env'],_0x4424a5[_0x38c36f(0x188)]));})['command'](_0x4aa606(0x140),![],_0x1cc14a=>{const _0x371ba5=_0x4aa606;return _0x1cc14a['positional'](_0x121f71[_0x371ba5(0x1db)],{'type':'string','description':_0x371ba5(0x1c3),'demandOption':!![]});},async _0x409045=>{const _0x4092b1=_0x4aa606;warnRenamed(_0x121f71['IAfWs'],_0x121f71[_0x4092b1(0x159)]),await withTelemetry(_0x121f71['dGezI'],()=>configList(_0x409045[_0x4092b1(0x137)]));})['command'](_0x121f71[_0x4aa606(0x1a0)],![],_0x1e2446=>{const _0xe06e23=_0x4aa606;return _0x1e2446[_0xe06e23(0xfc)](_0x7d05[_0xe06e23(0xe6)],{'type':_0xe06e23(0x124),'description':'Environment\x20name','demandOption':!![]})[_0xe06e23(0xfc)]('key',{'type':_0xe06e23(0x124),'description':_0x7d05[_0xe06e23(0x156)],'demandOption':!![]});},async _0x472ea2=>{const _0x76171b=_0x4aa606;warnRenamed('ranger\x20config\x20unset','ranger\x20profile\x20config\x20unset'),await withTelemetry(_0x121f71['bfhqD'],()=>configUnset(_0x472ea2[_0x76171b(0x137)],_0x472ea2[_0x76171b(0x188)]));})['demandCommand'](0x1,_0x4aa606(0x15d));})[_0x38f1cd(0x12a)]('env',![],_0x511d33=>{const _0x4f7c8c=_0x38f1cd;return _0x511d33['command']('ls',![],()=>{},async()=>{const _0xfcdb3d=_0x56de;warnRenamed(_0x121f71['NzEBt'],_0xfcdb3d(0x115)),await withTelemetry(_0xfcdb3d(0x260),()=>envList());})['command'](_0x4f7c8c(0x125),![],_0xd57f2a=>{const _0x2a7efc=_0x4f7c8c;return _0xd57f2a['positional'](_0x121f71[_0x2a7efc(0x13b)],{'type':_0x121f71['BnSdy'],'description':_0x121f71[_0x2a7efc(0x273)],'demandOption':!![]});},async _0x2cbc8f=>{const _0x709e14=_0x4f7c8c;_0x121f71[_0x709e14(0x1ef)](warnRenamed,_0x121f71['dgDWI'],_0x709e14(0x118)),await withTelemetry(_0x121f71['lqPHM'],_0x36ce74=>updateEnv(_0x2cbc8f['env-name'],_0x36ce74));})['demandCommand'](0x1,_0x121f71['udmEj']);})['command'](_0x121f71[_0x38f1cd(0x243)],![],_0x120080=>{const _0x55dd33=_0x38f1cd,_0x3eea91={'OxxBO':'string','sxrAq':_0x55dd33(0xe1),'VoOrz':_0x55dd33(0x27f),'RWMzv':'scenario','tvKKG':'array','GDjnO':'boolean','FlGmh':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','VtqPm':_0x121f71[_0x55dd33(0x228)],'UVkgc':_0x121f71['JVlfg'],'bwDCS':_0x121f71[_0x55dd33(0x289)],'GsFgp':_0x121f71[_0x55dd33(0x11d)],'TzvKn':'ranger\x20feature\x20show','mEqoh':function(_0x105bde,_0x42cfc5,_0x286124){return _0x121f71['iCeRj'](_0x105bde,_0x42cfc5,_0x286124);},'xJSVX':_0x121f71[_0x55dd33(0x246)]};return _0x120080['command'](_0x55dd33(0x2a0),![],_0x332b61=>{const _0x3c45a5=_0x55dd33;return _0x332b61[_0x3c45a5(0xfc)]('name',{'type':_0x3c45a5(0x124),'description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x3c45a5(0x244),{'type':_0x3eea91['OxxBO'],'alias':'d','description':_0x3c45a5(0x1f6)})[_0x3c45a5(0x27b)](_0x3eea91[_0x3c45a5(0x1ec)],{'type':'array','alias':'c','description':_0x3eea91['VoOrz']})['option'](_0x3eea91[_0x3c45a5(0x127)],{'type':_0x3eea91[_0x3c45a5(0x1eb)],'hidden':!![]});},async _0x281eee=>{const _0x3d1def=_0x55dd33;_0x121f71['ihdsO'](warnRenamed,_0x3d1def(0xf8),_0x3d1def(0x1ed)),_0x121f71[_0x3d1def(0x135)](warnFlagRenamed,'ranger\x20create',_0x3d1def(0x11b),_0x121f71['QDunA']);const _0x1d4bcf=_0x281eee[_0x3d1def(0xf4)]||_0x281eee[_0x3d1def(0xe1)];await withTelemetry(_0x3d1def(0xe5),()=>featureCreate(_0x281eee[_0x3d1def(0x271)],{'description':_0x281eee[_0x3d1def(0x244)],'scenarios':_0x1d4bcf}));})[_0x55dd33(0x12a)](_0x121f71[_0x55dd33(0x134)],![],_0x39db2e=>{const _0x496884=_0x55dd33;return _0x39db2e['option']('current-branch',{'type':_0x3eea91['GDjnO'],'description':_0x3eea91[_0x496884(0x23f)]})[_0x496884(0x27b)](_0x3eea91[_0x496884(0x258)],{'type':_0x3eea91[_0x496884(0x1d3)],'alias':'l','description':_0x496884(0x1fa),'default':0xa})[_0x496884(0x27b)]('offset',{'type':'number','alias':'o','description':_0x3eea91[_0x496884(0x1dc)],'default':0x0})['option'](_0x3eea91[_0x496884(0x173)],{'type':_0x496884(0x291),'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x389434=>{const _0x3c75f0=_0x55dd33;_0x121f71[_0x3c75f0(0x221)](warnRenamed,_0x3c75f0(0x1bb),_0x121f71[_0x3c75f0(0x1a1)]),await _0x121f71['ihdsO'](withTelemetry,_0x121f71[_0x3c75f0(0x143)],()=>featureList({'currentBranch':_0x389434['current-branch'],'limit':_0x389434[_0x3c75f0(0x25f)],'offset':_0x389434[_0x3c75f0(0x1ae)],'includeDeleted':_0x389434['include-deleted']}));})[_0x55dd33(0x12a)](_0x121f71[_0x55dd33(0x18e)],![],_0x530616=>{const _0x223449=_0x55dd33;return _0x530616[_0x223449(0xfc)]('id',{'type':'string','description':_0x121f71['gdNAL']});},async _0x3b63c6=>{const _0x43c819=_0x55dd33;warnRenamed(_0x3eea91[_0x43c819(0x162)],_0x43c819(0x203)),await withTelemetry(_0x43c819(0x18c),()=>featureShow(_0x3b63c6['id']));})[_0x55dd33(0x12a)]('resume\x20[id]',![],_0x4d4e7f=>{const _0x26d19e=_0x55dd33;return _0x4d4e7f[_0x26d19e(0xfc)]('id',{'type':'string','description':_0x121f71['USfTo']});},async _0x54811d=>{const _0x3ee0f6=_0x55dd33;warnRenamed(_0x3ee0f6(0x1fc),_0x3ee0f6(0x28e)),await _0x121f71['XaOnf'](withTelemetry,'feature\x20resume',()=>featureResume(_0x54811d['id']));})[_0x55dd33(0x12a)]('add-checklist-item\x20<description>',![],_0x185399=>{const _0x4f8586=_0x55dd33;return _0x185399['positional'](_0x121f71['EIVDi'],{'type':'string','description':_0x121f71['wQLBC'],'demandOption':!![]})['option']('id',{'type':_0x121f71[_0x4f8586(0x234)],'description':_0x121f71[_0x4f8586(0x15b)]});},async _0x200cb5=>{const _0x39e2e3=_0x55dd33;warnRenamed(_0x39e2e3(0x1a6),'ranger\x20add-scenario'),await _0x3eea91['mEqoh'](withTelemetry,_0x39e2e3(0x1f9),()=>featureAddScenario(_0x200cb5['description'],_0x200cb5['id']));})['command']('get-feedback\x20[id]',![],_0x499e2f=>{const _0x4e5b53=_0x55dd33;return _0x499e2f[_0x4e5b53(0xfc)]('id',{'type':_0x4e5b53(0x124),'description':_0x4e5b53(0x180)});},async _0x2764e3=>{const _0x135aaf=_0x55dd33;warnRenamed('ranger\x20feature\x20get-feedback','ranger\x20get-review'),await withTelemetry(_0x135aaf(0x269),()=>featureGetReview(_0x2764e3['id']));})[_0x55dd33(0x12a)](_0x121f71[_0x55dd33(0x1d2)],![],_0x1afeea=>{const _0x349c55=_0x55dd33;return _0x1afeea['positional']('id',{'type':_0x121f71[_0x349c55(0x234)],'description':_0x349c55(0x107)});},async _0xa0e619=>{const _0x354730=_0x55dd33;_0x121f71[_0x354730(0x1dd)](warnRenamed,_0x121f71['PRmgZ'],_0x121f71['oaFZr']),await _0x121f71['ihdsO'](withTelemetry,_0x121f71[_0x354730(0x1c6)],()=>featureDelete(_0xa0e619['id']));})['command']('restore\x20<id>',![],_0x46e70a=>{const _0x18b673=_0x55dd33;return _0x46e70a[_0x18b673(0xfc)]('id',{'type':_0x3eea91['OxxBO'],'description':_0x3eea91['xJSVX'],'demandOption':!![]});},async _0x440d0a=>{_0x121f71['eSSoF'](warnRenamed,_0x121f71['PepDA'],'ranger\x20restore'),await _0x121f71['ihdsO'](withTelemetry,_0x121f71['uAjHH'],()=>featureRestore(_0x440d0a['id']));})['demandCommand'](0x1,_0x121f71['kXiTK']);})[_0x38f1cd(0x12a)]('hook',![],_0x569a28=>{const _0x292416=_0x38f1cd;return _0x569a28[_0x292416(0x12a)](_0x292416(0x25e),'Enable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x2821de=>{const _0x167e69=_0x292416;return _0x2821de[_0x167e69(0x27b)](_0x167e69(0x229),{'type':_0x121f71[_0x167e69(0x234)],'description':_0x121f71['mUDsT']});},async _0x188709=>{const _0x2075bb=_0x292416;await withTelemetry(_0x2075bb(0x11f),()=>hook(_0x2075bb(0x25e),_0x188709[_0x2075bb(0x229)]));})[_0x292416(0x12a)](_0x121f71[_0x292416(0x1e5)],_0x121f71[_0x292416(0x285)],_0x1c7a12=>{const _0x3cc753=_0x292416;return _0x1c7a12[_0x3cc753(0x27b)](_0x121f71[_0x3cc753(0x224)],{'type':'string','description':_0x121f71[_0x3cc753(0x1cc)]});},async _0x4903ef=>{const _0x2abe3a=_0x292416;await withTelemetry(_0x121f71['DdRIT'],()=>hook('disable',_0x4903ef[_0x2abe3a(0x229)]));})['option'](_0x121f71[_0x292416(0x165)],{'type':_0x292416(0x124),'description':_0x292416(0x1ff)})['option'](_0x121f71['kECyG'],{'type':_0x121f71['BnSdy'],'description':_0x121f71[_0x292416(0x1cc)]});},async _0x2587a0=>{const _0x50ee5c=_0x38f1cd;_0x2587a0['name']&&await _0x121f71[_0x50ee5c(0x221)](hook,_0x2587a0['name'],_0x2587a0[_0x50ee5c(0x229)]);})['demandCommand'](0x1,_0x38f1cd(0x20b))['strictCommands']()[_0x38f1cd(0x24d)](async(_0x233bca,_0x4f0ea9,_0x549e4d)=>{const _0x15abf0=_0x38f1cd,_0x4367e9=sanitizeArgs(process['argv']['slice'](0x2)),_0x1de751=_0x121f71[_0x15abf0(0x221)](getErrorType,_0x233bca,_0x4f0ea9);if(_0x233bca&&_0x233bca['includes'](_0x121f71['tdRph'])){const _0x10e270=process['argv'][0x2];console[_0x15abf0(0x210)]('\x0aUnknown\x20command:\x20'+_0x10e270),console['error'](_0x121f71[_0x15abf0(0x21e)]);}else{if(_0x233bca)console[_0x15abf0(0x210)]('\x0a'+_0x233bca+'\x0a');else _0x4f0ea9&&console['error'](_0x15abf0(0xf2)+_0x4f0ea9['message']+'\x0a');}await logDesirePath({'rawCommand':_0x4367e9,'errorMessage':_0x233bca||_0x4f0ea9?.['message'],'errorType':_0x1de751});const _0x1e89b8=getCurrentCollector();_0x1e89b8&&await _0x1e89b8[_0x15abf0(0x194)](_0x4f0ea9||new Error(_0x121f71['kekEP'](_0x233bca,_0x15abf0(0x28a)))),process['exit'](0x1);})[_0x38f1cd(0x200)](_0x38f1cd(0x1e7)+_0x121f71['jZAsC']+_0x121f71[_0x38f1cd(0x13f)])[_0x38f1cd(0x201)]()['alias'](_0x121f71['OyroQ'],'h');}process['env'][_0x29fd62(0x288)]!=='test'&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()['parse']());
|
|
2
|
+
const _0xd5872e=_0x2e2d;function _0x2e2d(_0x58d30d,_0x159e40){_0x58d30d=_0x58d30d-0xe2;const _0x29f0ee=_0x29f0();let _0x2e2dd5=_0x29f0ee[_0x58d30d];return _0x2e2dd5;}(function(_0x421f18,_0x333609){const _0x11ca57=_0x2e2d,_0x2c6500=_0x421f18();while(!![]){try{const _0x4e94b7=parseInt(_0x11ca57(0xfa))/0x1*(parseInt(_0x11ca57(0xe9))/0x2)+parseInt(_0x11ca57(0xf7))/0x3+parseInt(_0x11ca57(0x187))/0x4+-parseInt(_0x11ca57(0x1aa))/0x5+parseInt(_0x11ca57(0x1a0))/0x6*(-parseInt(_0x11ca57(0x21c))/0x7)+parseInt(_0x11ca57(0x20a))/0x8+parseInt(_0x11ca57(0x1fd))/0x9;if(_0x4e94b7===_0x333609)break;else _0x2c6500['push'](_0x2c6500['shift']());}catch(_0x352de0){_0x2c6500['push'](_0x2c6500['shift']());}}}(_0x29f0,0x21952));import _0x1bcdda from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x323357=_0x2e2d,_0x26e8ce={'FsnYF':function(_0x46d9c5,_0x449066){return _0x46d9c5!==_0x449066;},'pZsqq':function(_0xe20e99,_0x66e8a6){return _0xe20e99(_0x66e8a6);},'atszH':_0x323357(0x1ff)};let _0x416a4d=process[_0x323357(0x168)]();const _0x48e5f7=parse(_0x416a4d)['root'];while(_0x26e8ce['FsnYF'](_0x416a4d,_0x48e5f7)){if(_0x26e8ce['pZsqq'](existsSync,join(_0x416a4d,_0x323357(0x14d)))||existsSync(join(_0x416a4d,_0x26e8ce['atszH'])))return _0x416a4d;_0x416a4d=dirname(_0x416a4d);}return process['cwd']();}_0x1bcdda[_0xd5872e(0x221)]({'path':join(findProjectRoot(),_0xd5872e(0x1ff))});import _0xefce23 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';function _0x29f0(){const _0x1d48f7=['AtioP','XmAoW','qaboi','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','Skip\x20authentication','--item','debug-address-comments','exitCode','migrate\x20[profile-name]','zaIjN','demandCommand','HLFJZ','MoWpy','HEKKu','key','qkHQa','ranger\x20verify-feature','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','oCXdo','You\x20must\x20specify\x20a\x20config\x20subcommand','profile\x20ls','forEach','--task','cwd','Feature\x20review\x20name','--profile','oZEAr','eZQJk','env-var','Skip\x20Chromium\x20browser\x20installation','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','\x20BLOCKED','Scenario\x20index\x20(1-based)','XDWTh','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','some','LrYHZ','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','QEVSR','fIZvo','list','encrypt-auth\x20<profile>','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','WNZUX','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','zSPVw','status','array','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','xAjXh','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','XxigA','ojUph','BpaYp','601544QhKczc','ranger\x20feature\x20delete','allow-insecure-localhost','ViZav','start-path','GhcjM','tokenOrSubcommand','hook:enable','Authenticate\x20via\x20MCP\x20proxy','Pwykt','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201','add\x20<profile-name>','VHdKu','spdDw','.\x20[','pbQhp','QOMMF','sdonn','get-feedback\x20[id]','mDkSb','option','show','WLtsQ','verified','ranger\x20profile\x20config\x20get','1266gnTMuV','Install\x20Ranger\x20skills','token','AFYBW','ENIZT','ranger\x20get-review','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','Config\x20key','dKCDn','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','1308880HwHiGZ','Remove\x20a\x20config\x20value','iklri','LbuKU','profile\x20add','uzgtH','NGdtl','issues','force','value','Feature\x20review\x20ID\x20to\x20restore','add-checklist-item\x20<description>','debug-outcome','roQJg','zabWZ','fHvzu','mgqQI','\x20VERIFIED','Scenario\x20description','limit','fFxIA','GZCRq','save-creds','okFqs','cVHik','env','setup-ci\x20<token>','EdcpQ','feature','failed','number','KoWqi','yes','lLVEw','wLonJ','ranger','string','url','lFjSy','with-deps','XSzwi','mzXzG','argv','ranger\x20add\x20env','etFqi','RANGER_PROFILE','start\x20[token]','model','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','\x20INCOMPLETE','UuGCO','rangerwright-cli','MnKsa','summary','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','xoJRV','JNAub','Subcommand\x20or\x20API\x20token\x20(rngr_...)','FffrH','ranger\x20config\x20set','UpGhT','setup:profiles','base-url','Feature\x20review\x20ID','mcp','GebAi','Update\x20authentication\x20for\x20an\x20existing\x20profile','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','OBOHU','include-deleted','headed','FGFVj','auljp','Ktrdc','You\x20must\x20specify\x20an\x20env\x20subcommand','OlyNI','boolean','partial','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','dseRn','Reason:\x20','session-id','report\x20[id]','1881333LqdZGF','profile\x20config\x20get','.env','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','Delete\x20a\x20cloud\x20profile','NMKFx','profile','profile\x20migrate','Lduyy','use\x20<env-name>','Feature\x20review\x20description','banWR','kDSCL','1467176MymXKF','JeZGl','ExwkB','IFZjB','dry-run','NFiEw','evaluationReason','Hayuh','ranger\x20profile\x20config\x20set','ttVWz','THypu','lduiL','YAZWo','skillup','deps','profile-name','You\x20must\x20specify\x20an\x20auth\x20subcommand','UjqBc','8071ejHlKm','Initialize\x20Ranger\x20in\x20your\x20project','QMnWR','List\x20all\x20profiles','Get\x20a\x20config\x20value','config','log','filter','pRZBv','print-access-token','epilogue','safe-mode','delete\x20<profile-name>','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','slice','scope','SIEob','Environment\x20name','blocked','Name\x20of\x20the\x20profile\x20to\x20update','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','GNPsD','vuetC','VvdSf','use','nxfqo','\x0aUnknown\x20command:\x20','setup:all','HegYv','NdSal','oBaNc','RQeih','exit','unset\x20<env>\x20<key>','get\x20<profile>\x20<key>','rwsWj','profile\x20login','Restore\x20a\x20soft-deleted\x20feature\x20review','Unknown\x20error','kNmTM','\x20FAILED','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','hKDBY','TcIoX','FSpzh','You\x20must\x20specify\x20a\x20command','tbJDR','RFaMk','LqVhN','FwRCO','SuyNo','oWKuv','ztNKM','evaluation','iGaUf','current-branch','WSbSy','aUFXi','WRhIX','login\x20<name>','mfVLH','show\x20[id]','Config\x20key\x20to\x20remove','dSCwZ','QvLJG','Ignmg','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','hook','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','Include\x20soft-deleted\x20feature\x20reviews','--checklist','AJTQk','mcp-bootstrap','usage','CYwXl','WvyLp','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.','use\x20<profile-name>','flatMap','--scenario','LYnHj','XbeCF','oDrOD','error','reset\x20<profile>','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','UZUKp','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','feature\x20get-feedback','config\x20get','Aetyd','positional','FMxfG','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','skip-chromium','lxqZe','pxhHP','ranger\x20list','organizationName','nGnwr','ranger\x20go','help','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','leYtB','bCecj','RANGER_TEST_PASSWORD','add-scenario\x20<description>','DPals','severity','ranger\x20feature\x20create','nxFRD','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','task','ZETuh','ranger\x20profile\x20ls','NODE_ENV','fail','36132qsFfyl','trackCommandError','Cloud\x20profile\x20name','feature\x20resume','delete\x20[id]','Profile\x20name','resume','includes','gUBGc','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','lyQfs','New\x20scenario\x20description','bFBho','setup:deps','82587zBiqKN','delete','JWoFo','4IFuDIQ','Ranger\x20API\x20token','env\x20update','BBVKP','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','skip-auth','vjBJZ','pioHj','description','BxFWZ','opencode','XjrIM','ANauj','DiMCV','version','bXCGY','checklist','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','ranger\x20use','create\x20<name>','Config\x20value','ranger\x20feature\x20show','KROlH','cnQXk','xthXQ','wUWsd','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','PliBJ','CvFoV','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','CUCPD','project','get-review','iMaqM','uIVJV','aXxce','csjfr','ranger\x20feature\x20get-feedback','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','scenario','aYRJP','ranger\x20config\x20list','GYylg','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','user','sCZKe','test_output','AExDQ','feature\x20delete','KWEMJ','RCqsu','login','repeat','aZLVX','message','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','Summary:\x20','EkOha','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','setup\x20[tokenOrSubcommand]','\x20is\x20now\x20','json','ranger\x20show','env-name','NfyaE','QcTEO','Rxkee','name','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','Efjez','command','Install\x20OS-level\x20dependencies\x20for\x20Chromium','get-review\x20[id]','✓\x20Login\x20succeeded\x20for\x20\x27','fgISR','kPpZi','UTGEq','all','pzBAF','ranger\x20profile\x20use','hook:disable','notes','.ranger','offset','skills','LIGsN'];_0x29f0=function(){return _0x1d48f7;};return _0x29f0();}import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x5f1e75=>{const _0x130a76=_0xd5872e,_0x2e0229={'TEpUX':function(_0x16cbd2){return _0x16cbd2();}},_0x460190=_0x2e0229['TEpUX'](getCurrentCollector);_0x460190&&await _0x460190['trackCommandError'](_0x5f1e75),process[_0x130a76(0x158)]=0x1;});const rawArgs=process[_0xd5872e(0x1d4)]['slice'](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201',PROFILE_CONFIG_HELP=_0xd5872e(0x191);function warnRenamed(_0x2a8b35,_0x254c24){const _0x35bfc0=_0xd5872e;console[_0x35bfc0(0x26f)]('\x0a'+_0x2a8b35+_0x35bfc0(0x137)+_0x254c24+'\x0a');}function argUsed(_0x29cae5){const _0x25e1a1=_0xd5872e;return rawArgs[_0x25e1a1(0x174)](_0x379289=>_0x379289===_0x29cae5||_0x379289['startsWith'](_0x29cae5+'='));}function warnFlagRenamed(_0x144e92,_0x408d13,_0x52010b){const _0x223564={'kDpMv':function(_0x2b9419,_0x1be39a){return _0x2b9419(_0x1be39a);}};_0x223564['kDpMv'](argUsed,_0x408d13)&&warnRenamed(_0x144e92+'\x20'+_0x408d13,_0x144e92+'\x20'+_0x52010b);}function normalizeEnvVarNames(_0x51d7f0){const _0x386460=_0xd5872e,_0x4ae345=Array['isArray'](_0x51d7f0)?_0x51d7f0:_0x51d7f0?[_0x51d7f0]:[];return _0x4ae345[_0x386460(0x26a)](_0xf33a2f=>String(_0xf33a2f)['split'](',')['map'](_0x50f946=>_0x50f946['trim']())[_0x386460(0x223)](Boolean));}async function runGoCommand(_0x2534ca,_0x2fc9bc=![]){const _0x4d4873=_0xd5872e,_0x46bd2f={'kcpxL':function(_0x280f92,_0x5bd05c){return _0x280f92+_0x5bd05c;},'GebAi':function(_0x1b84ab,_0x51b0c2,_0x23cac9){return _0x1b84ab(_0x51b0c2,_0x23cac9);},'xAjXh':function(_0x5e9eeb,_0x5a8c21,_0x316589,_0x50a82f){return _0x5e9eeb(_0x5a8c21,_0x316589,_0x50a82f);},'mzXzG':_0x4d4873(0x281),'VQEkB':'--env','mWxWf':_0x4d4873(0x16a),'gLzqA':function(_0x2c20d2,_0x1729a1,_0x52d3f9,_0x45a146){return _0x2c20d2(_0x1729a1,_0x52d3f9,_0x45a146);},'QMnWR':_0x4d4873(0x167),'uCmaE':_0x4d4873(0x156),'wpGKB':_0x4d4873(0x26b),'izfTH':function(_0x30ff45){return _0x30ff45();},'FffrH':function(_0x3814b0,_0x404dec){return _0x3814b0(_0x404dec);},'MxNbQ':'playwright-cli','UuGCO':function(_0x831d2c,_0x887d42){return _0x831d2c!==_0x887d42;},'YteEm':_0x4d4873(0x1dd),'Apqqf':_0x4d4873(0x18b),'QOMMF':function(_0x21fd2e,_0x5cead6){return _0x21fd2e===_0x5cead6;},'sJgFa':'verified','eZQJk':'partial','pZxlj':'\x20PARTIAL','LqVhN':_0x4d4873(0x170)};_0x2fc9bc&&_0x46bd2f[_0x4d4873(0x1eb)](warnRenamed,_0x4d4873(0x161),'ranger\x20go');_0x46bd2f['xAjXh'](warnFlagRenamed,_0x46bd2f[_0x4d4873(0x1d3)],_0x46bd2f['VQEkB'],_0x46bd2f['mWxWf']),_0x46bd2f['gLzqA'](warnFlagRenamed,'ranger\x20go',_0x46bd2f[_0x4d4873(0x21e)],'--notes'),_0x46bd2f[_0x4d4873(0x182)](warnFlagRenamed,_0x4d4873(0x281),_0x46bd2f['uCmaE'],_0x46bd2f['wpGKB']);const _0x82f515=await loadRangerConfig(),_0x56fba6=_0x46bd2f['izfTH'](isByokEnabled),_0x45fbc6=_0x2534ca['model'],_0x5c868b=_0x82f515[_0x4d4873(0x1d9)],_0x2a66e4=_0x46bd2f[_0x4d4873(0x1e4)](normalizeEnvVarNames,_0x2534ca[_0x4d4873(0x16d)]),_0x443d7f=getVerificationTransport();if(_0x2a66e4['length']>0x0&&_0x443d7f!==_0x46bd2f['MxNbQ']&&_0x46bd2f[_0x4d4873(0x1dc)](_0x443d7f,_0x46bd2f['YteEm']))throw new Error('The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20'+_0x443d7f+'.');const _0x52b02f=await verifyFeature({'featureId':_0x2534ca['feature'],'profile':_0x2534ca['profile']??_0x2534ca[_0x4d4873(0x1c3)]??process['env'][_0x4d4873(0x1d7)],'notes':_0x2534ca['notes']??_0x2534ca[_0x4d4873(0xe4)],'scenario':_0x2534ca[_0x4d4873(0x122)]??_0x2534ca['item'],'startPath':_0x2534ca[_0x46bd2f['Apqqf']],'baseUrl':_0x2534ca['base-url'],'debugOutcome':_0x2534ca['debug-outcome'],'debugAddressComments':_0x2534ca[_0x4d4873(0x157)],'headed':_0x2534ca[_0x4d4873(0x1f0)],'verifierEnvVars':_0x2a66e4,'byokEnabled':_0x56fba6,'flagVerifyModel':_0x45fbc6,'configVerifyModel':_0x5c868b});console[_0x4d4873(0x222)]('\x0a'+'='[_0x4d4873(0x12f)](0x3c)),console['log'](_0x46bd2f['QOMMF'](_0x52b02f['evaluation'],_0x46bd2f['sJgFa'])?_0x4d4873(0x1bb):_0x46bd2f['QOMMF'](_0x52b02f['evaluation'],'incomplete')?_0x4d4873(0x1db):_0x52b02f['evaluation']===_0x46bd2f[_0x4d4873(0x16c)]?_0x46bd2f['pZxlj']:_0x46bd2f[_0x4d4873(0x197)](_0x52b02f[_0x4d4873(0x251)],_0x4d4873(0x22e))?_0x46bd2f[_0x4d4873(0x24c)]:_0x4d4873(0x244)),console[_0x4d4873(0x222)]('='[_0x4d4873(0x12f)](0x3c)),console[_0x4d4873(0x222)](_0x4d4873(0x133)+_0x52b02f[_0x4d4873(0x1df)]),console[_0x4d4873(0x222)]('Evaluation:\x20'+_0x52b02f['evaluation']),console['log'](_0x4d4873(0x1fa)+_0x52b02f[_0x4d4873(0x210)]),_0x52b02f['issues']?.['length']&&(console[_0x4d4873(0x222)]('\x0aIssues:'),_0x52b02f[_0x4d4873(0x1b1)][_0x4d4873(0x166)]((_0x549669,_0x2cb406)=>{const _0x5053df=_0x4d4873;console['log']('\x0a'+_0x46bd2f['kcpxL'](_0x2cb406,0x1)+_0x5053df(0x195)+_0x549669[_0x5053df(0x289)]+']\x20'+_0x549669[_0x5053df(0x102)]);})),process['exit'](_0x52b02f[_0x4d4873(0x251)]==='verified'?0x0:0x1);}export function buildParser(_0x5d80d4){const _0x4deea5=_0xd5872e,_0xb6bd09={'QvLJG':_0x4deea5(0x13e),'XDWTh':'string','HuqPE':_0x4deea5(0x102),'QcTEO':'scenario','HEKKu':_0x4deea5(0x180),'VvdSf':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','spdDw':'checklist','gCxPV':'Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','wLonJ':'ranger\x20create','hKDBY':_0x4deea5(0x262),'aYHPh':'--scenario','RGEeV':_0x4deea5(0x253),'XPaYu':'offset','RCqsu':function(_0x131767,_0x5c8f7f,_0x4cc82b){return _0x131767(_0x5c8f7f,_0x4cc82b);},'wOINu':_0x4deea5(0x19c),'LOSog':_0x4deea5(0xfe),'aYRJP':function(_0x1a2ea1,_0x206147,_0x587a97){return _0x1a2ea1(_0x206147,_0x587a97);},'VKIfs':_0x4deea5(0xef),'dKCDn':'add-scenario','KWEMJ':_0x4deea5(0xf4),'sdonn':'number','THypu':'Scenario\x20number\x20to\x20edit\x20(1-based)','DhbXs':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','DPals':'edit-scenario','MDyGl':'exclude-scenario','uZyOJ':_0x4deea5(0x200),'LYnHj':_0x4deea5(0x1f6),'MBWHZ':_0x4deea5(0xf8),'YodLJ':'restore','oBaNc':_0x4deea5(0x237),'zSPVw':_0x4deea5(0x11a),'XjrIM':'Install\x20scope\x20for\x20plugin\x20and\x20skills','ANauj':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','IFZjB':_0x4deea5(0x22b),'Lduyy':_0x4deea5(0x127),'oCXdo':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','SlCIM':'Base\x20URL\x20of\x20the\x20running\x20app','FGFVj':_0x4deea5(0xff),'fbNCQ':_0x4deea5(0x1b2),'QEVSR':_0x4deea5(0x162),'bCecj':'allow-insecure-localhost','kExYT':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','xthXQ':'Skip\x20authentication','GPczV':'Alias\x20for\x20--mcp-bootstrap','fHvzu':function(_0x3b5c61){return _0x3b5c61();},'txYJR':function(_0x3077d8,_0x1eef1d){return _0x3077d8(_0x1eef1d);},'hzkKx':function(_0x3ca788,_0x4231bc){return _0x3ca788!==_0x4231bc;},'roQJg':function(_0x223150,_0x3e2420){return _0x223150+_0x3e2420;},'Hayuh':_0x4deea5(0x148),'eauSR':'Run\x20full\x20interactive\x20setup','BjMjH':_0x4deea5(0x12e),'pzBAF':'url','FSpzh':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','XxigA':'opencode','ztNKM':_0x4deea5(0x176),'LIGsN':'token','IZDsq':'API\x20token','fUCqK':_0x4deea5(0x264),'mUDnA':'start','nGnwr':'Ranger\x20API\x20token','OBOHU':_0x4deea5(0x203),'tbJDR':'skip-chromium','oDrOD':'setup-ci','YpSEk':function(_0x35ba75,_0x1f50e8){return _0x35ba75(_0x1f50e8);},'XbeCF':_0x4deea5(0x217),'nxfqo':_0x4deea5(0x271),'jcQrs':_0x4deea5(0x1ed),'IZZUL':'cdp-endpoint','ojUph':_0x4deea5(0x274),'OCogw':_0x4deea5(0x260),'khrHQ':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','fsDZA':_0x4deea5(0x1ca),'OlyNI':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','vuetC':'profile-name','ExwkB':_0x4deea5(0x1f8),'GYylg':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','IbWNC':'Skip\x20interactive\x20confirmation\x20prompts.','lUcOb':_0x4deea5(0x1c0),'UVaZn':_0x4deea5(0x173),'zaIjN':_0x4deea5(0x204),'UVoxB':function(_0x5868fe,_0x6e0a75,_0x2a18de,_0x4bcd47){return _0x5868fe(_0x6e0a75,_0x2a18de,_0x4bcd47);},'PnQqM':_0x4deea5(0xeb),'IXcXE':function(_0x4bb43b,_0x19fa5c,_0x1c08ce){return _0x4bb43b(_0x19fa5c,_0x1c08ce);},'jJsBa':_0x4deea5(0x240),'JERgA':'Profile\x20name','XJyhD':function(_0x1c1cad,_0x287b17,_0x1150c8){return _0x1c1cad(_0x287b17,_0x1150c8);},'MKUyA':'key','LnjAD':'profile\x20config\x20unset','Frqdb':'set\x20<profile>\x20<key>\x20<value>','SlszS':'Set\x20a\x20config\x20value','cornO':_0x4deea5(0x23e),'KBFVL':'list\x20<profile>','fSKxY':_0x4deea5(0x1ab),'auljp':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','kWzai':'Add\x20profile\x20configuration','WrOvT':_0x4deea5(0x201),'SDbKQ':_0x4deea5(0x17a),'BBVKP':_0x4deea5(0x221),'LrYHZ':'Manage\x20profile\x20configuration','WvyLp':'You\x20must\x20specify\x20a\x20profile\x20subcommand','rvRkT':_0x4deea5(0x17f),'nxFRD':function(_0x536a36){return _0x536a36();},'csjfr':_0x4deea5(0x230),'LbuKU':_0x4deea5(0x225),'dsciX':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','BpaYp':'start-path','uIVJV':_0x4deea5(0x1e8),'DiMCV':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','PliBJ':'headed','pioHj':_0x4deea5(0x25e),'CvFoV':'env-var','NMKFx':_0x4deea5(0x1f7),'cnQXk':_0x4deea5(0x22e),'vZMYO':'debug-address-comments','BkhRk':'item','lFjSy':'encrypt\x20<profile>','NfyaE':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','bXCGY':'with-deps','iGaUf':function(_0x5f067c,_0x179a4b,_0x6d5f8d){return _0x5f067c(_0x179a4b,_0x6d5f8d);},'ibXXy':'ranger\x20start','sCZKe':'ranger\x20setup','jvdAJ':'task','oxWem':'Scenario\x20index\x20(1-based)','bFBho':_0x4deea5(0x14c),'lduiL':_0x4deea5(0x283),'ycYGE':'environment-variable','NFiEw':'debug-outcome','oZEAr':'env-name','CUCPD':'add\x20env','AFYBW':_0x4deea5(0x10c),'MuKvh':_0x4deea5(0x14a),'kPpZi':_0x4deea5(0x1c3),'mgqQI':_0x4deea5(0x22d),'KROlH':_0x4deea5(0x1b3),'DIUpw':_0x4deea5(0x10e),'BxFWZ':function(_0x3009e6,_0x5b5e5b,_0xfa5f48){return _0x3009e6(_0x5b5e5b,_0xfa5f48);},'hwFJI':_0x4deea5(0x124),'rtJLE':'ranger\x20profile\x20config\x20list','xpELE':'config\x20list','XGPbI':'ranger\x20config\x20unset','AJTQk':'ranger\x20profile\x20config\x20unset','LkTcF':_0x4deea5(0x212),'IzUup':'config\x20set','VooJK':'list\x20<env>','lyQfs':_0x4deea5(0x23d),'JeZGl':'env\x20list','rQHbF':'update\x20<env-name>','GrQGM':function(_0x493ff4,_0x1bf70b,_0x549ee2){return _0x493ff4(_0x1bf70b,_0x549ee2);},'ROIEu':_0x4deea5(0x28a),'dSCwZ':function(_0x26b952,_0x15a494,_0x4b0740,_0x65ac3f){return _0x26b952(_0x15a494,_0x4b0740,_0x65ac3f);},'MRZmA':function(_0x527feb,_0x5b4c49,_0x193297){return _0x527feb(_0x5b4c49,_0x193297);},'FMxfG':'ranger\x20feature\x20restore','IgJVX':function(_0x30a35a,_0x2184a8,_0x83f12){return _0x30a35a(_0x2184a8,_0x83f12);},'zlQXE':_0x4deea5(0x10f),'hlzhx':function(_0x4647d2,_0x1acb30,_0x56319a){return _0x4647d2(_0x1acb30,_0x56319a);},'HLFJZ':'ranger\x20feature\x20resume','pEZjK':'Scenario\x20description','SElPH':_0x4deea5(0x275),'VEsZS':_0x4deea5(0x12b),'wlDla':_0x4deea5(0x1b4),'JNAub':_0x4deea5(0x10d),'XSzwi':_0x4deea5(0x179),'NGdtl':'resume\x20[id]','BwEVn':_0x4deea5(0x1b5),'kVJpX':_0x4deea5(0xed),'QmJes':_0x4deea5(0x183),'iklri':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','mDkSb':_0x4deea5(0x18e),'banWR':'session-id','fFxIA':_0x4deea5(0x14b),'WLZCe':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','vjBJZ':_0x4deea5(0x13f),'cVHik':function(_0x1045f0,_0x53e24c){return _0x1045f0(_0x53e24c);},'fgISR':_0x4deea5(0x242),'fVaaq':function(_0x20f2ec,_0x2741b8){return _0x20f2ec(_0x2741b8);},'rTlrN':_0x4deea5(0x1cd),'fVipY':'List\x20all\x20feature\x20reviews','CTGfY':'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','etFqi':'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','VHdKu':'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','nyLVx':_0x4deea5(0x1fc),'qaboi':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','rwsWj':'restore\x20<id>','okFqs':_0x4deea5(0x136),'AtioP':_0x4deea5(0x135),'NkFIq':_0x4deea5(0x1a1),'jSJfJ':'clean','UpGhT':'profiles','Pwykt':'Manage\x20profiles','rWONA':'Print\x20the\x20current\x20CLI\x20access\x20token','gUBGc':'auth','GyVcQ':_0x4deea5(0x1d8),'PaKbF':'add\x20env\x20<env-name>','WNZUX':'feature','UbBni':_0x4deea5(0x249),'Rxkee':function(_0x498865,_0x82f45d){return _0x498865+_0x82f45d;},'UYdsA':'Documentation:\x0a','IwoCh':'\x20\x20https://docs.ranger.net\x0a','fIZvo':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)'};return _0xb6bd09['fVaaq'](_0xefce23,_0x5d80d4??process[_0x4deea5(0x1d4)][_0x4deea5(0x22a)](0x2))['scriptName'](_0xb6bd09['rTlrN'])[_0x4deea5(0x265)](TOP_LEVEL_HELP)[_0x4deea5(0x108)](getCurrentVersion())['command']('create\x20<name>',_0x4deea5(0x121),_0x3ebcbf=>{const _0x37af9a=_0x4deea5;return _0x3ebcbf['positional'](_0xb6bd09['QvLJG'],{'type':_0xb6bd09['XDWTh'],'description':_0x37af9a(0x169),'demandOption':!![]})['option'](_0xb6bd09['HuqPE'],{'type':'string','alias':'d','description':_0x37af9a(0x207)})[_0x37af9a(0x19b)](_0xb6bd09[_0x37af9a(0x13c)],{'type':_0xb6bd09['HEKKu'],'alias':'c','description':_0xb6bd09[_0x37af9a(0x233)]})[_0x37af9a(0x19b)](_0xb6bd09[_0x37af9a(0x194)],{'type':_0xb6bd09[_0x37af9a(0x15e)],'hidden':!![]});},async _0x34c4f4=>{const _0x317d8b=_0x4deea5;if(!_0x34c4f4[_0x317d8b(0x13e)]){console[_0x317d8b(0x26f)](_0xb6bd09['gCxPV']+'Example:\x20ranger\x20create\x20my-feature'),process['exit'](0x1);return;}warnFlagRenamed(_0xb6bd09['wLonJ'],_0xb6bd09[_0x317d8b(0x246)],_0xb6bd09['aYHPh']);const _0x37df2f=_0x34c4f4['scenario']||_0x34c4f4[_0x317d8b(0x10a)];await withTelemetry('create',()=>featureCreate(_0x34c4f4['name'],{'description':_0x34c4f4['description'],'scenarios':_0x37df2f}));})[_0x4deea5(0x141)](_0x4deea5(0x179),_0xb6bd09['fVipY'],_0x2f3bcf=>{const _0x102739=_0x4deea5;return _0x2f3bcf[_0x102739(0x19b)](_0xb6bd09['RGEeV'],{'type':'boolean','description':_0x102739(0x1a9)})['option']('limit',{'type':'number','alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})[_0x102739(0x19b)](_0xb6bd09['XPaYu'],{'type':'number','alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option']('include-deleted',{'type':'boolean','alias':'d','description':_0x102739(0x261),'default':![]});},async _0x4a06d5=>{const _0x330088=_0x4deea5;await withTelemetry('list',()=>featureList({'currentBranch':_0x4a06d5[_0x330088(0x253)],'limit':_0x4a06d5[_0x330088(0x1bd)],'offset':_0x4a06d5['offset'],'includeDeleted':_0x4a06d5[_0x330088(0x1ef)]}));})['command'](_0x4deea5(0x259),_0xb6bd09['CTGfY'],_0x3161fd=>{const _0x41a4be=_0x4deea5;return _0x3161fd['positional']('id',{'type':_0xb6bd09[_0x41a4be(0x172)],'description':'Feature\x20review\x20ID'});},async _0x579e0e=>{await _0xb6bd09['RCqsu'](withTelemetry,_0xb6bd09['wOINu'],()=>featureShow(_0x579e0e['id']));})[_0x4deea5(0x141)](_0xb6bd09['NGdtl'],_0xb6bd09[_0x4deea5(0x1d6)],_0xfe93fd=>{const _0x2d3804=_0x4deea5;return _0xfe93fd[_0x2d3804(0x278)]('id',{'type':_0xb6bd09['XDWTh'],'description':_0xb6bd09['LOSog']});},async _0xda863e=>{const _0x37d61d=_0x4deea5;await _0xb6bd09[_0x37d61d(0x123)](withTelemetry,_0xb6bd09['VKIfs'],()=>featureResume(_0xda863e['id']));})['command'](_0x4deea5(0x287),_0xb6bd09[_0x4deea5(0x193)],_0x60168e=>{const _0x26d4a0=_0x4deea5;return _0x60168e['positional'](_0x26d4a0(0x102),{'type':'string','description':_0x26d4a0(0x1bc),'demandOption':!![]})[_0x26d4a0(0x19b)]('id',{'type':_0xb6bd09[_0x26d4a0(0x172)],'description':_0x26d4a0(0x181)});},async _0x62114=>{const _0x142a4a=_0x4deea5;await withTelemetry(_0xb6bd09[_0x142a4a(0x1a8)],()=>featureAddScenario(_0x62114[_0x142a4a(0x102)],_0x62114['id']));})[_0x4deea5(0x141)]('edit-scenario\x20<description>','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x2752ed=>{const _0x5d777f=_0x4deea5;return _0x2752ed[_0x5d777f(0x278)](_0xb6bd09['HuqPE'],{'type':_0xb6bd09[_0x5d777f(0x172)],'description':_0xb6bd09[_0x5d777f(0x12c)],'demandOption':!![]})['option']('scenario',{'type':_0xb6bd09[_0x5d777f(0x198)],'description':_0xb6bd09[_0x5d777f(0x214)],'demandOption':!![]})[_0x5d777f(0x19b)]('id',{'type':_0xb6bd09[_0x5d777f(0x172)],'description':_0xb6bd09['DhbXs']});},async _0x367229=>{const _0x5e692c=_0x4deea5;await _0xb6bd09[_0x5e692c(0x123)](withTelemetry,_0xb6bd09[_0x5e692c(0x288)],()=>featureEditScenario(_0x367229['description'],{'id':_0x367229['id'],'scenario':_0x367229['scenario']}));})['command'](_0xb6bd09['nyLVx'],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x17963b=>{const _0x1fa4d4=_0x4deea5;return _0x17963b['positional']('id',{'type':_0xb6bd09[_0x1fa4d4(0x172)],'description':'Feature\x20review\x20ID'})['option'](_0xb6bd09['MDyGl'],{'type':_0xb6bd09['HEKKu'],'description':_0xb6bd09['uZyOJ']})[_0x1fa4d4(0x19b)](_0x1fa4d4(0x138),{'type':_0xb6bd09[_0x1fa4d4(0x26c)],'description':_0x1fa4d4(0x272),'default':![]});},async _0x42a00b=>{const _0x3dcdb0=_0x4deea5,_0x292332=_0x42a00b[_0xb6bd09['MDyGl']],_0x5ebfa6=_0x292332?_0x292332['map'](_0x5581ff=>Number(_0x5581ff)):undefined;await withTelemetry('report',()=>featureReportPrDescription(_0x42a00b['id'],{'excludeScenarios':_0x5ebfa6,'json':_0x42a00b[_0x3dcdb0(0x138)]}));})[_0x4deea5(0x141)](_0x4deea5(0x143),_0x4deea5(0x114),_0x843ced=>{const _0x451b59=_0x4deea5;return _0x843ced[_0x451b59(0x278)]('id',{'type':_0xb6bd09[_0x451b59(0x172)],'description':_0x451b59(0x181)});},async _0x3bbde2=>{const _0x54b266=_0x4deea5;await withTelemetry(_0x54b266(0x11b),()=>featureGetReview(_0x3bbde2['id']));})[_0x4deea5(0x141)](_0xb6bd09['kVJpX'],_0xb6bd09[_0x4deea5(0x153)],_0x4b4d5e=>{const _0x3d3503=_0x4deea5;return _0x4b4d5e['positional']('id',{'type':_0x3d3503(0x1ce),'description':_0x3d3503(0x1e9)});},async _0x45558d=>{await withTelemetry(_0xb6bd09['MBWHZ'],()=>featureDelete(_0x45558d['id']));})['command'](_0xb6bd09[_0x4deea5(0x23f)],_0x4deea5(0x241),_0x4b0a97=>{const _0x12b362=_0x4deea5;return _0x4b0a97[_0x12b362(0x278)]('id',{'type':_0x12b362(0x1ce),'description':_0x12b362(0x1b4),'demandOption':!![]});},async _0x2c9e33=>{await withTelemetry(_0xb6bd09['YodLJ'],()=>featureRestore(_0x2c9e33['id']));})['command'](_0xb6bd09[_0x4deea5(0x1c1)],_0x4deea5(0x21d),_0x2e0651=>{const _0x4ae7a3=_0x4deea5,_0x42cb2e={'zKEYH':_0x4ae7a3(0xfb),'ClUvV':'skip-chromium','nHpsb':_0xb6bd09[_0x4ae7a3(0x26c)],'YAZWo':_0xb6bd09[_0x4ae7a3(0x1f1)],'zabWZ':_0xb6bd09[_0x4ae7a3(0x112)],'kNmTM':'with-deps','UjqBc':_0x4ae7a3(0x142),'MnKsa':_0xb6bd09[_0x4ae7a3(0x205)],'Ignmg':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','tHWyU':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','tzcdy':_0xb6bd09['fbNCQ'],'DTApG':_0x4ae7a3(0x162),'VKECq':_0x4ae7a3(0xe3),'FqPbp':_0xb6bd09['kExYT'],'ENIZT':_0x4ae7a3(0x264),'MWiVH':_0x4ae7a3(0xf2),'ttVWz':_0xb6bd09['GPczV'],'GZCRq':'token','tTRPG':_0xb6bd09[_0x4ae7a3(0x172)],'VUKao':'Ranger\x20API\x20token\x20(rngr_...)','RFaMk':_0x4ae7a3(0x18f),'oKrks':function(_0x4fff71){const _0x82553=_0x4ae7a3;return _0xb6bd09[_0x82553(0x1b9)](_0x4fff71);},'IjMxD':'Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','mfVLH':function(_0x1697c7,_0x3226b7){return _0xb6bd09['txYJR'](_0x1697c7,_0x3226b7);},'pxhHP':function(_0x28c690,_0x5f0988){return _0xb6bd09['hzkKx'](_0x28c690,_0x5f0988);},'TcIoX':function(_0x12ca6a,_0x1d2ef6){return _0xb6bd09['roQJg'](_0x12ca6a,_0x1d2ef6);}};return _0x2e0651['usage'](_0x4ae7a3(0x132))['positional'](_0x4ae7a3(0x18d),{'type':'string','description':_0x4ae7a3(0x1e3)})[_0x4ae7a3(0x141)](_0xb6bd09[_0x4ae7a3(0x211)],_0xb6bd09['eauSR'],_0x4ffb70=>{const _0x3b4427=_0x4ae7a3;return _0x4ffb70[_0x3b4427(0x19b)]('token',{'type':'string','description':_0x42cb2e['zKEYH']})['option'](_0x42cb2e['ClUvV'],{'type':_0x42cb2e['nHpsb'],'description':_0x3b4427(0x27a),'default':![]})[_0x3b4427(0x19b)](_0x42cb2e[_0x3b4427(0x216)],{'type':_0x3b4427(0x1f6),'description':_0x42cb2e[_0x3b4427(0x1b8)],'default':![]})[_0x3b4427(0x19b)](_0x42cb2e[_0x3b4427(0x243)],{'type':_0x42cb2e['nHpsb'],'description':_0x42cb2e[_0x3b4427(0x21b)],'default':![]})['option']('scope',{'type':_0x3b4427(0x1ce),'choices':[_0x42cb2e['MnKsa']],'hidden':!![],'description':_0x42cb2e[_0x3b4427(0x25d)]})['option'](_0x3b4427(0x1cf),{'type':_0x3b4427(0x1ce),'description':_0x42cb2e['tHWyU']})[_0x3b4427(0x19b)](_0x42cb2e['tzcdy'],{'type':'boolean','description':_0x42cb2e['DTApG'],'default':![]})['option'](_0x3b4427(0x104),{'type':_0x3b4427(0x1f6),'description':_0x42cb2e['VKECq'],'default':![]})['option'](_0x3b4427(0x189),{'type':_0x42cb2e['nHpsb'],'description':_0x42cb2e['FqPbp'],'default':![]})['option'](_0x42cb2e[_0x3b4427(0x1a4)],{'type':'boolean','description':_0x42cb2e['MWiVH'],'default':![]})['option'](_0x3b4427(0x1ea),{'type':_0x3b4427(0x1f6),'description':_0x42cb2e[_0x3b4427(0x213)],'default':![]});},async _0x26fec5=>{const _0x4b90ab=_0x4ae7a3;(_0x26fec5[_0x4b90ab(0x264)]||_0x26fec5['mcp'])&&await _0xb6bd09[_0x4b90ab(0x12d)](withTelemetry,_0x4b90ab(0x264),()=>mcpBootstrap()),await _0xb6bd09[_0x4b90ab(0x123)](withTelemetry,_0xb6bd09[_0x4b90ab(0x23a)],_0x204a5e=>start(_0x26fec5['token'],{'skipChromium':_0x26fec5['skip-chromium'],'skipAuth':_0x26fec5['skip-auth'],'withDeps':_0x26fec5['with-deps'],'scope':_0x26fec5['scope'],'url':_0x26fec5['url'],'force':_0x26fec5[_0x4b90ab(0x1b2)],'opencode':_0x26fec5[_0x4b90ab(0x104)],'allowInsecureLocalhost':_0x26fec5[_0x4b90ab(0x189)]},_0x204a5e));})[_0x4ae7a3(0x141)](_0x4ae7a3(0x218),'Install\x20Chromium\x20browser\x20binary',_0x606de3=>{const _0x45adb9=_0x4ae7a3;return _0x606de3['option']('with-deps',{'type':_0x45adb9(0x1f6),'description':_0x45adb9(0x176),'default':![]});},async _0x44f1fb=>{const _0x5c4d20=_0x4ae7a3;await withTelemetry(_0x5c4d20(0xf6),()=>ensureChromium(_0x44f1fb['with-deps']));})['command'](_0xb6bd09['BjMjH'],'Authenticate\x20with\x20Ranger',_0x123ba1=>{const _0x349d87=_0x4ae7a3;return _0x123ba1[_0x349d87(0x19b)](_0x42cb2e[_0x349d87(0x1bf)],{'type':_0x42cb2e['tTRPG'],'description':_0x42cb2e['VUKao']})[_0x349d87(0x19b)]('mcp',{'type':_0x349d87(0x1f6),'description':_0x42cb2e[_0x349d87(0x24b)],'default':![]});},async _0x2b0aa8=>{await withTelemetry('setup:login',async()=>{const _0x2a8b48=_0x2e2d;if(_0x2b0aa8[_0x2a8b48(0x1ea)]){await _0x42cb2e['oKrks'](mcpBootstrap);const _0x232c79=await refreshCliToken();if(!_0x232c79)throw new Error(_0x42cb2e['IjMxD']);const _0x259d1b=await getCurrentUser(_0x232c79);if(!_0x259d1b['success'])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x259d1b['error']);console['log']('✓\x20Authenticated\x20to\x20'+_0x259d1b[_0x2a8b48(0x127)][_0x2a8b48(0x27f)]);return;}await _0x42cb2e[_0x2a8b48(0x258)](authenticate,_0x2b0aa8['token']);});})['command'](_0x4ae7a3(0x14f),'Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x1c66b9=>{const _0x5a61a1=_0x4ae7a3;return _0x1c66b9[_0x5a61a1(0x19b)](_0x5a61a1(0x22b),{'type':_0xb6bd09[_0x5a61a1(0x172)],'choices':['user',_0xb6bd09[_0x5a61a1(0x17e)]],'description':_0xb6bd09[_0x5a61a1(0x105)]})['option']('opencode',{'type':_0x5a61a1(0x1f6),'description':_0xb6bd09[_0x5a61a1(0x106)],'default':![]});},async _0x3f050a=>{const _0x37a203=_0x4ae7a3,_0x5b6168={'GNPsD':function(_0x147527,_0x43cd6d){const _0xc57a7a=_0x2e2d;return _0x42cb2e[_0xc57a7a(0x258)](_0x147527,_0x43cd6d);},'fisYL':function(_0x22343f,_0x3f93fa,_0x218d02){return _0x22343f(_0x3f93fa,_0x218d02);},'TkHih':_0x37a203(0x1cd),'oFpab':function(_0xe085d1){return _0xe085d1();},'cBxhn':_0x37a203(0x104)};await withTelemetry('setup:skills',async()=>{const _0x11b1b5=_0x37a203,_0x573a75=_0x3f050a[_0x11b1b5(0x22b)];if(_0x3f050a[_0x11b1b5(0x104)]){const _0x3d31d7=await _0x5b6168[_0x11b1b5(0x231)](ensureOpencodePluginConfig,_0x573a75);_0x3d31d7&&await _0x5b6168['fisYL'](installSkill,_0x5b6168['TkHih'],{'level':_0x3d31d7[_0x11b1b5(0x22b)],'cliVersion':_0x5b6168['oFpab'](getCurrentVersion),'platform':_0x5b6168['cBxhn']});}else await ensureClaudePlugin(_0x573a75),await _0x5b6168[_0x11b1b5(0x231)](ensureClaudeSkills,_0x573a75);});})[_0x4ae7a3(0x141)]('profiles','Set\x20up\x20a\x20local\x20browser\x20profile',_0x4d8ac2=>{const _0x48ba66=_0x4ae7a3;return _0x4d8ac2['option'](_0xb6bd09[_0x48ba66(0x20d)],{'type':_0xb6bd09[_0x48ba66(0x172)],'choices':[_0xb6bd09[_0x48ba66(0x205)]],'description':_0xb6bd09[_0x48ba66(0x163)]})[_0x48ba66(0x19b)](_0x48ba66(0x1cf),{'type':'string','description':_0xb6bd09['SlCIM']})[_0x48ba66(0x19b)](_0xb6bd09['FGFVj'],{'type':_0x48ba66(0x1f6),'description':'Skip\x20browser\x20authentication','default':![]})[_0x48ba66(0x19b)](_0xb6bd09['fbNCQ'],{'type':'boolean','description':_0xb6bd09[_0x48ba66(0x177)],'default':![]})[_0x48ba66(0x19b)](_0xb6bd09[_0x48ba66(0x285)],{'type':_0x48ba66(0x1f6),'description':_0xb6bd09['kExYT'],'default':![]});},async _0x651564=>{const _0xd23178=_0x4ae7a3,_0x3a59a7=_0x651564[_0xd23178(0x22b)];_0x3a59a7!==undefined&&_0x42cb2e[_0xd23178(0x27d)](_0x3a59a7,_0x42cb2e[_0xd23178(0x1de)])&&(console['error'](_0x42cb2e[_0xd23178(0x247)]('ranger\x20setup\x20profiles\x20--scope='+_0x3a59a7+'\x20is\x20no\x20longer\x20supported.\x20','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20')+'Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.'),process['exit'](0x1)),await withTelemetry(_0xd23178(0x1e7),_0x5d7e73=>ensureLocalEnv({'url':_0x651564[_0xd23178(0x1cf)],'force':_0x651564[_0xd23178(0x1b2)],'allowInsecureLocalhost':_0x651564['allow-insecure-localhost'],'scope':'user'},_0x5d7e73));})[_0x4ae7a3(0x19b)](_0x4ae7a3(0x27b),{'type':_0x4ae7a3(0x1f6),'description':_0x4ae7a3(0x27a),'default':![]})[_0x4ae7a3(0x19b)](_0x4ae7a3(0x22b),{'type':'string','choices':['user'],'hidden':!![],'description':_0xb6bd09['oCXdo']})['option'](_0xb6bd09['pzBAF'],{'type':'string','description':_0xb6bd09[_0x4ae7a3(0x248)]})[_0x4ae7a3(0x19b)](_0xb6bd09['fbNCQ'],{'type':_0xb6bd09['LYnHj'],'description':_0xb6bd09['QEVSR'],'default':![]})['option'](_0xb6bd09[_0x4ae7a3(0x184)],{'type':_0xb6bd09['LYnHj'],'description':_0xb6bd09['ANauj'],'default':![]})[_0x4ae7a3(0x19b)]('allow-insecure-localhost',{'type':'boolean','description':_0x4ae7a3(0x1a6),'default':![]})['option'](_0x4ae7a3(0x264),{'type':_0xb6bd09['LYnHj'],'description':_0x4ae7a3(0x1da),'default':![]})['option'](_0x4ae7a3(0xff),{'type':'boolean','description':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','default':![]})[_0x4ae7a3(0x19b)](_0x4ae7a3(0x1d1),{'type':_0x4ae7a3(0x1f6),'description':_0xb6bd09[_0x4ae7a3(0x250)],'default':![]})['option'](_0xb6bd09[_0x4ae7a3(0x150)],{'type':_0xb6bd09[_0x4ae7a3(0x172)],'hidden':!![],'description':_0xb6bd09['IZDsq']});},async _0x140697=>{const _0x547f0d=_0x4deea5,_0x84b9ba=_0x140697[_0x547f0d(0x18d)],_0x2b78e5=_0x140697[_0x547f0d(0x1a2)]??_0x84b9ba;_0x140697[_0xb6bd09['fUCqK']]&&await withTelemetry(_0xb6bd09['fUCqK'],()=>mcpBootstrap()),await withTelemetry(_0xb6bd09['mUDnA'],_0x40737a=>start(_0x2b78e5,{'skipChromium':_0x140697['skip-chromium'],'skipAuth':_0x140697['skip-auth'],'withDeps':_0x140697['with-deps'],'scope':_0x140697[_0x547f0d(0x22b)],'url':_0x140697['url'],'force':_0x140697['force'],'opencode':_0x140697['opencode'],'allowInsecureLocalhost':_0x140697['allow-insecure-localhost']},_0x40737a));})[_0x4deea5(0x141)](_0x4deea5(0x1c4),![],_0x4031ad=>{const _0x3c3bfa=_0x4deea5;return _0x4031ad[_0x3c3bfa(0x278)](_0xb6bd09['LIGsN'],{'type':_0x3c3bfa(0x1ce),'description':_0xb6bd09[_0x3c3bfa(0x280)],'demandOption':!![]})[_0x3c3bfa(0x19b)](_0xb6bd09['OBOHU'],{'type':_0x3c3bfa(0x1ce),'description':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)'})['option']('base-url',{'type':_0x3c3bfa(0x1ce),'description':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)'})[_0x3c3bfa(0x19b)](_0xb6bd09[_0x3c3bfa(0x24a)],{'type':_0x3c3bfa(0x1f6),'description':_0x3c3bfa(0x16e),'default':![]});},async _0xae31d=>{const _0x2b2d36=_0x4deea5;await withTelemetry(_0xb6bd09[_0x2b2d36(0x26e)],_0x10a5f1=>setupCi(_0xae31d[_0x2b2d36(0x1a2)],{'profile':_0xae31d['profile'],'baseUrl':_0xae31d['base-url'],'skipChromium':_0xae31d['skip-chromium']},_0x10a5f1));})['command'](_0xb6bd09['BjMjH'],_0xb6bd09[_0x4deea5(0x151)],()=>{},async()=>{await withTelemetry('login',()=>login());})[_0x4deea5(0x141)](_0x4deea5(0x217),_0xb6bd09['NkFIq'],_0xe6cacd=>{const _0x29b03d=_0x4deea5;return _0xe6cacd['option']('opencode',{'type':'boolean','description':'Install\x20skills\x20for\x20OpenCode','default':![]})[_0x29b03d(0x19b)](_0xb6bd09[_0x29b03d(0x20d)],{'type':_0xb6bd09['XDWTh'],'choices':['user',_0xb6bd09['zSPVw']],'description':'Install\x20scope\x20for\x20skills'});},async _0x402c19=>{const _0x229315=_0x4deea5,_0x2a09bd=_0xb6bd09['YpSEk'](Boolean,_0x402c19[_0x229315(0x104)]);await _0xb6bd09['RCqsu'](withTelemetry,_0xb6bd09[_0x229315(0x26d)],()=>skillup({'autoInstall':_0x402c19['scope'],'platform':_0x2a09bd?'opencode':'claude'}));})[_0x4deea5(0x141)](_0xb6bd09['jSJfJ'],_0x4deea5(0x1e0),()=>{},async()=>{const _0x1b63e7=_0x4deea5;await _0xb6bd09[_0x1b63e7(0x12d)](withTelemetry,'clean',()=>clean());})[_0x4deea5(0x141)]([_0xb6bd09[_0x4deea5(0x1ee)],_0xb6bd09[_0x4deea5(0x1e6)]],_0xb6bd09[_0x4deea5(0x190)],_0x38f477=>{const _0x17c250=_0x4deea5,_0x22f3f4={'RkVxt':function(_0x144536,_0x14bfc2,_0x2c68c3,_0x1a4c9b){return _0xb6bd09['UVoxB'](_0x144536,_0x14bfc2,_0x2c68c3,_0x1a4c9b);},'twVdo':_0x17c250(0x1ae),'iMaqM':function(_0x81f2,_0x409a05){return _0x81f2(_0x409a05);},'wUWsd':_0xb6bd09[_0x17c250(0x172)],'aUFXi':'Name\x20of\x20the\x20profile','WRhIX':function(_0x291cf6,_0x151352,_0x22c47f){return _0x291cf6(_0x151352,_0x22c47f);},'UZUKp':_0xb6bd09['vuetC'],'aZLVX':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','AOlaZ':function(_0x32d698,_0xf49acb,_0x4a16d7){return _0x32d698(_0xf49acb,_0x4a16d7);},'wgmNU':_0xb6bd09[_0x17c250(0x25c)],'dseRn':_0xb6bd09['PnQqM'],'pisuN':_0x17c250(0x10b),'uzgtH':'No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','ZETuh':function(_0x580dbd,_0x4e53d1,_0x4468bb){return _0xb6bd09['IXcXE'](_0x580dbd,_0x4e53d1,_0x4468bb);},'rynRK':_0xb6bd09['jJsBa'],'FbIPN':_0xb6bd09['JERgA'],'QiPta':'value','XmAoW':_0x17c250(0x1fe),'pRZBv':function(_0x1109a8,_0x62e243,_0x3a1d83){return _0xb6bd09['XJyhD'](_0x1109a8,_0x62e243,_0x3a1d83);},'bzSvA':_0xb6bd09['MKUyA'],'qkHQa':'Config\x20key\x20to\x20remove','raADt':_0xb6bd09['LnjAD'],'FwRCO':_0xb6bd09['Frqdb'],'mrUdf':_0xb6bd09['SlszS'],'aXxce':_0xb6bd09['cornO'],'xoJRV':_0x17c250(0x220),'aMtcy':_0xb6bd09['KBFVL'],'CYwXl':'unset\x20<profile>\x20<key>','Ntqnn':_0xb6bd09['fSKxY'],'NXBRK':_0x17c250(0x17b),'mZcjd':_0xb6bd09[_0x17c250(0x1f2)]};return _0x38f477['usage'](PROFILE_HELP)['command'](_0x17c250(0x192),_0xb6bd09['kWzai'],_0x1d8c04=>{const _0x659472=_0x17c250;return _0x1d8c04['positional'](_0x659472(0x219),{'type':_0xb6bd09[_0x659472(0x172)],'description':_0x659472(0x245),'demandOption':!![]})[_0x659472(0x19b)]('ci',{'type':'boolean','hidden':!![],'default':![]})[_0x659472(0x19b)](_0xb6bd09['FGFVj'],{'type':_0xb6bd09[_0x659472(0x26c)],'description':_0xb6bd09[_0x659472(0x235)],'default':![]})['option'](_0xb6bd09[_0x659472(0x149)],{'type':_0xb6bd09['XDWTh'],'description':_0xb6bd09['jcQrs']})['option'](_0x659472(0x1b2),{'type':_0x659472(0x1f6),'description':_0xb6bd09['QEVSR'],'default':![]})[_0x659472(0x19b)](_0xb6bd09['IZZUL'],{'type':_0x659472(0x1ce),'description':_0xb6bd09[_0x659472(0x185)]})['option']('allow-insecure-localhost',{'type':_0x659472(0x1f6),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})['option']('safe-mode',{'type':'boolean','description':_0xb6bd09['OCogw'],'default':![]})['option']('setup-header',{'type':_0xb6bd09['XDWTh'],'array':!![],'description':_0x659472(0x16f)})['option']('scope',{'type':_0xb6bd09['XDWTh'],'choices':[_0xb6bd09[_0x659472(0x205)],'project'],'description':_0xb6bd09['khrHQ']})['option'](_0xb6bd09['fsDZA'],{'type':_0xb6bd09[_0x659472(0x26c)],'alias':'y','description':_0x659472(0x126),'default':![]});},async _0x2298e3=>{const _0x365f07=_0x17c250;await _0x22f3f4['RkVxt'](withTelemetry,_0x22f3f4['twVdo'],_0x41254f=>addEnv(_0x2298e3[_0x365f07(0x219)],{'ci':_0x2298e3['ci'],'skipAuth':_0x2298e3[_0x365f07(0xff)],'url':_0x2298e3['url'],'force':_0x2298e3[_0x365f07(0x1b2)],'cdpEndpoint':_0x2298e3['cdp-endpoint'],'allowInsecureLocalhost':_0x2298e3[_0x365f07(0x189)],'safeMode':_0x2298e3[_0x365f07(0x227)],'setupHeader':_0x2298e3['setup-header'],'scope':_0x2298e3[_0x365f07(0x22b)],'yes':_0x2298e3[_0x365f07(0x1ca)]},_0x41254f),{'isElectron':_0x22f3f4[_0x365f07(0x11c)](Boolean,_0x2298e3['cdp-endpoint'])});})['command'](_0x17c250(0x269),'Switch\x20to\x20using\x20a\x20specific\x20profile',_0x11fbfe=>{const _0x4d68a1=_0x17c250;return _0x11fbfe[_0x4d68a1(0x278)](_0x4d68a1(0x219),{'type':_0x22f3f4['wUWsd'],'description':_0x22f3f4[_0x4d68a1(0x255)],'demandOption':!![]});},async _0x53fdb9=>{const _0x3b15c7=_0x17c250;await _0x22f3f4[_0x3b15c7(0x256)](withTelemetry,'profile\x20use',()=>useEnv(_0x53fdb9['profile-name']));})[_0x17c250(0x141)](_0x17c250(0x228),_0xb6bd09['WrOvT'],_0x5618f9=>{const _0x269187=_0x17c250;return _0x5618f9['positional'](_0x22f3f4[_0x269187(0x273)],{'type':'string','description':_0x22f3f4[_0x269187(0x130)],'demandOption':!![]})[_0x269187(0x19b)](_0x269187(0x1ca),{'type':'boolean','alias':'y','description':'Skip\x20the\x20deletion\x20confirmation\x20prompt.','default':![]});},async _0x50bb89=>{await _0x22f3f4['WRhIX'](withTelemetry,'profile\x20delete',()=>deleteProfile(_0x50bb89['profile-name'],{'yes':_0x50bb89['yes']}));})[_0x17c250(0x141)](_0xb6bd09['SDbKQ'],![],_0x1a4075=>{const _0xc3a352=_0x17c250;return _0x1a4075[_0xc3a352(0x278)](_0xc3a352(0x203),{'type':_0xc3a352(0x1ce),'description':'Profile\x20name','demandOption':!![]});},async _0xea0ca5=>{const _0x2c9ba3=_0x17c250;await _0x22f3f4['AOlaZ'](withTelemetry,'profile\x20encrypt-auth',()=>authEncrypt(_0xea0ca5[_0x2c9ba3(0x203)]));})[_0x17c250(0x141)]('ls',_0x17c250(0x21f),()=>{},async()=>{const _0x303ad5=_0x17c250;await withTelemetry(_0x303ad5(0x165),()=>envList());})['command']('update\x20<profile-name>',_0x17c250(0x1ec),_0x1c8696=>{const _0x38fd49=_0x17c250;return _0x1c8696['positional']('profile-name',{'type':'string','description':_0x38fd49(0x22f),'demandOption':!![]})['option'](_0xb6bd09['bCecj'],{'type':_0xb6bd09['LYnHj'],'description':_0xb6bd09[_0x38fd49(0x1f5)]})['option']('manual',{'type':_0xb6bd09['LYnHj'],'description':'Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login'});},async _0x2057f4=>{const _0x44cae7=_0x17c250;await withTelemetry('profile\x20update',_0x24fefb=>updateEnv(_0x2057f4[_0x44cae7(0x219)],_0x24fefb,{'allowInsecureLocalhost':_0x2057f4[_0x44cae7(0x189)],'manual':_0x2057f4['manual']}));})[_0x17c250(0x141)](_0x17c250(0x257),![],_0x37dc22=>{const _0xe45002=_0x17c250;return _0x37dc22['positional'](_0x22f3f4['wgmNU'],{'type':_0x22f3f4[_0xe45002(0x113)],'description':_0x22f3f4[_0xe45002(0x1f9)],'demandOption':!![]});},async _0x501f47=>{const _0x5a23a4=_0x17c250;await _0x22f3f4[_0x5a23a4(0xe5)](withTelemetry,_0x22f3f4['rynRK'],async()=>{const _0x40641f=_0x5a23a4,_0x45c0a4=process['env']['RANGER_TEST_USERNAME'],_0x59b0a3=process['env'][_0x40641f(0x286)];(!_0x45c0a4||!_0x59b0a3)&&(console[_0x40641f(0x26f)](_0x22f3f4['pisuN']),process['exit'](0x1));const _0x493f80=_0x501f47['name'],_0x922611=await serverSideLogin(_0x493f80,{'force':!![]});_0x922611['status']==='not_configured'&&(console[_0x40641f(0x26f)](_0x22f3f4[_0x40641f(0x1af)]),process[_0x40641f(0x23c)](0x1)),_0x922611['status']===_0x40641f(0x1c7)&&(console[_0x40641f(0x26f)]('Login\x20failed:\x20'+(_0x922611[_0x40641f(0x26f)]??'unknown\x20error')),_0x922611[_0x40641f(0x129)]&&console['error'](_0x922611[_0x40641f(0x129)]),process[_0x40641f(0x23c)](0x1)),console['log'](_0x40641f(0x144)+_0x493f80+'\x27.\x20Session\x20saved.');});})['command'](_0x17c250(0x159),![],_0x11e3ae=>{const _0xce30a0=_0x17c250;return _0x11e3ae['positional'](_0xb6bd09[_0xce30a0(0x232)],{'type':_0xce30a0(0x1ce),'description':_0xb6bd09[_0xce30a0(0x20c)]})[_0xce30a0(0x19b)](_0xb6bd09[_0xce30a0(0x211)],{'type':_0xce30a0(0x1f6),'description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})['option'](_0xce30a0(0x20e),{'type':_0xb6bd09[_0xce30a0(0x26c)],'description':_0xb6bd09[_0xce30a0(0x125)],'default':![]})[_0xce30a0(0x19b)](_0xb6bd09['fsDZA'],{'type':_0xb6bd09['LYnHj'],'alias':'y','description':_0xb6bd09['IbWNC'],'default':![]})['option'](_0xb6bd09['lUcOb'],{'type':_0xb6bd09[_0xce30a0(0x26c)],'description':_0xb6bd09['UVaZn'],'default':![]});},async _0xd02946=>{const _0xd1dbff=_0x17c250;await _0xb6bd09['aYRJP'](withTelemetry,_0xb6bd09[_0xd1dbff(0x15a)],_0x577ada=>migrateProfile({'profileName':_0xd02946['profile-name'],'all':_0xd02946['all'],'dryRun':_0xd02946[_0xd1dbff(0x20e)],'yes':_0xd02946['yes'],'saveCreds':_0xd02946['save-creds']},_0x577ada));})[_0x17c250(0x141)](_0xb6bd09[_0x17c250(0xfd)],_0xb6bd09[_0x17c250(0x175)],_0x120e07=>{const _0x4ba444=_0x17c250,_0x211e3b={'RQeih':function(_0x2cda1d,_0x4d19b3,_0x4c441c){const _0x54f6b3=_0x2e2d;return _0x22f3f4[_0x54f6b3(0x256)](_0x2cda1d,_0x4d19b3,_0x4c441c);},'zexLk':'profile','SIEob':_0x4ba444(0x15f),'niMlp':_0x22f3f4['FbIPN'],'HQLhy':'profile\x20config\x20reset'};return _0x120e07['usage'](PROFILE_CONFIG_HELP)[_0x4ba444(0x141)](_0x22f3f4[_0x4ba444(0x24d)],_0x22f3f4['mrUdf'],_0x467c12=>{const _0xc0e18d=_0x4ba444;return _0x467c12['positional'](_0xc0e18d(0x203),{'type':_0x22f3f4['wUWsd'],'description':_0x22f3f4['FbIPN'],'demandOption':!![]})['positional'](_0xc0e18d(0x15f),{'type':_0x22f3f4[_0xc0e18d(0x113)],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})['positional'](_0x22f3f4['QiPta'],{'type':_0x22f3f4[_0xc0e18d(0x113)],'description':'Config\x20value','demandOption':!![]});},async _0x17bd92=>{const _0x2ee615=_0x4ba444;await _0x211e3b[_0x2ee615(0x23b)](withTelemetry,'profile\x20config\x20set',()=>configSet(_0x17bd92[_0x2ee615(0x203)],_0x17bd92['key'],_0x17bd92['value']));})['command'](_0x22f3f4[_0x4ba444(0x11e)],_0x22f3f4[_0x4ba444(0x1e1)],_0x5f55cc=>{const _0x33d396=_0x4ba444;return _0x5f55cc[_0x33d396(0x278)](_0x211e3b['zexLk'],{'type':_0x33d396(0x1ce),'description':'Profile\x20name','demandOption':!![]})[_0x33d396(0x278)](_0x211e3b[_0x33d396(0x22c)],{'type':'string','description':'Config\x20key','demandOption':!![]});},async _0x321091=>{const _0x4e1e7b=_0x4ba444;await withTelemetry(_0x22f3f4[_0x4e1e7b(0x152)],()=>configGet(_0x321091['profile'],_0x321091['key']));})['command'](_0x22f3f4['aMtcy'],'List\x20all\x20config\x20for\x20a\x20profile',_0x374c25=>{const _0x142d89=_0x4ba444;return _0x374c25[_0x142d89(0x278)](_0x142d89(0x203),{'type':'string','description':_0x211e3b['niMlp'],'demandOption':!![]});},async _0x291413=>{const _0x5ced80=_0x4ba444;await _0x22f3f4[_0x5ced80(0x224)](withTelemetry,'profile\x20config\x20list',()=>configList(_0x291413[_0x5ced80(0x203)]));})['command'](_0x22f3f4[_0x4ba444(0x266)],_0x22f3f4['Ntqnn'],_0x551a1c=>{const _0x1280b2=_0x4ba444;return _0x551a1c[_0x1280b2(0x278)](_0x1280b2(0x203),{'type':'string','description':_0x22f3f4['FbIPN'],'demandOption':!![]})['positional'](_0x22f3f4['bzSvA'],{'type':_0x22f3f4['wUWsd'],'description':_0x22f3f4[_0x1280b2(0x160)],'demandOption':!![]});},async _0x296051=>{const _0x406ace=_0x4ba444;await _0x22f3f4['WRhIX'](withTelemetry,_0x22f3f4['raADt'],()=>configUnset(_0x296051[_0x406ace(0x203)],_0x296051['key']));})[_0x4ba444(0x141)](_0x4ba444(0x270),_0x22f3f4['NXBRK'],_0x56b8ee=>{const _0x31096e=_0x4ba444;return _0x56b8ee[_0x31096e(0x278)](_0x31096e(0x203),{'type':_0x22f3f4['wUWsd'],'description':_0x31096e(0xee),'demandOption':!![]});},async _0x40feb6=>{await withTelemetry(_0x211e3b['HQLhy'],()=>configReset(_0x40feb6['profile']));})['demandCommand'](0x1,_0x22f3f4['mZcjd']);})[_0x17c250(0x15b)](0x1,_0xb6bd09[_0x17c250(0x267)]);})['command'](_0x4deea5(0x17f),'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{await _0xb6bd09['RCqsu'](withTelemetry,_0xb6bd09['rvRkT'],()=>status());})[_0x4deea5(0x141)]('update','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{await withTelemetry('update',()=>update());})['command'](_0xb6bd09[_0x4deea5(0x1ad)],_0xb6bd09['rWONA'],()=>{},async()=>{await withTelemetry(_0xb6bd09['LbuKU'],async()=>{const _0x28516a=_0x2e2d,_0x5dd8d6=await _0xb6bd09[_0x28516a(0xe2)](getToken);if(!_0x5dd8d6)throw new Error(_0xb6bd09[_0x28516a(0x11f)]);console[_0x28516a(0x222)](_0x5dd8d6);});})[_0x4deea5(0x141)]('go','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.',_0x268a10=>{const _0x4f4e4e=_0x4deea5;return _0x268a10['option'](_0x4f4e4e(0x1c6),{'type':_0xb6bd09[_0x4f4e4e(0x172)],'description':'Optional\x20feature\x20ID'})[_0x4f4e4e(0x19b)]('profile',{'type':_0x4f4e4e(0x1ce),'description':_0xb6bd09['dsciX']})['option'](_0x4f4e4e(0x14c),{'type':_0xb6bd09[_0x4f4e4e(0x172)],'description':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)'})['option'](_0x4f4e4e(0x122),{'type':'number','description':_0x4f4e4e(0x171)})['option'](_0xb6bd09[_0x4f4e4e(0x186)],{'type':_0xb6bd09[_0x4f4e4e(0x172)],'description':_0x4f4e4e(0x283)})[_0x4f4e4e(0x19b)](_0xb6bd09[_0x4f4e4e(0x11d)],{'type':'string','description':_0xb6bd09[_0x4f4e4e(0x107)]})[_0x4f4e4e(0x19b)]('model',{'type':_0xb6bd09['XDWTh'],'description':_0x4f4e4e(0x268)})[_0x4f4e4e(0x19b)](_0xb6bd09[_0x4f4e4e(0x116)],{'type':'boolean','description':_0xb6bd09[_0x4f4e4e(0x101)],'default':![]})[_0x4f4e4e(0x19b)](_0xb6bd09[_0x4f4e4e(0x117)],{'type':_0xb6bd09['XDWTh'],'array':!![],'alias':'environment-variable','description':_0x4f4e4e(0x115)})['option'](_0x4f4e4e(0x1b6),{'type':_0x4f4e4e(0x1ce),'hidden':!![],'choices':[_0x4f4e4e(0x19e),_0xb6bd09[_0x4f4e4e(0x202)],_0xb6bd09['cnQXk'],_0x4f4e4e(0x1c7),'incomplete']})['option'](_0xb6bd09['vZMYO'],{'type':'boolean','hidden':!![]})['option'](_0x4f4e4e(0x1c3),{'type':_0xb6bd09[_0x4f4e4e(0x172)],'hidden':!![]})[_0x4f4e4e(0x19b)](_0x4f4e4e(0xe4),{'type':_0xb6bd09['XDWTh'],'hidden':!![]})['option'](_0xb6bd09['BkhRk'],{'type':_0xb6bd09[_0x4f4e4e(0x198)],'hidden':!![]});},async _0x337ce7=>{await runGoCommand(_0x337ce7);})['command'](_0xb6bd09[_0x4deea5(0xf1)],![],_0x15d5c0=>{const _0x3f215f=_0x4deea5,_0x34905c={'gMsEc':_0x3f215f(0x203)};return _0x15d5c0[_0x3f215f(0x141)](_0xb6bd09[_0x3f215f(0x1d0)],![],_0x22e48e=>{return _0x22e48e['positional'](_0x34905c['gMsEc'],{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x4279c5=>{warnRenamed('ranger\x20auth\x20encrypt','ranger\x20profile\x20encrypt-auth'),await authEncrypt(_0x4279c5['profile']);})[_0x3f215f(0x15b)](0x1,_0x3f215f(0x21a));},()=>{})[_0x4deea5(0x141)](_0xb6bd09['GyVcQ'],![],_0xbdcee4=>{const _0x3aada1=_0x4deea5;return _0xbdcee4[_0x3aada1(0x278)](_0xb6bd09['LIGsN'],{'type':_0xb6bd09[_0x3aada1(0x172)],'description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})['option'](_0xb6bd09['tbJDR'],{'type':_0xb6bd09['LYnHj'],'description':_0xb6bd09[_0x3aada1(0x13b)],'default':![]})['option'](_0xb6bd09[_0x3aada1(0x20d)],{'type':'string','choices':[_0x3aada1(0x127)],'hidden':!![],'description':_0xb6bd09['oCXdo']})['option'](_0xb6bd09['pzBAF'],{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x3aada1(0x1b2),{'type':_0xb6bd09[_0x3aada1(0x26c)],'description':_0xb6bd09[_0x3aada1(0x177)],'default':![]})[_0x3aada1(0x19b)](_0xb6bd09[_0x3aada1(0x1f1)],{'type':_0xb6bd09['LYnHj'],'description':_0x3aada1(0x155),'default':![]})[_0x3aada1(0x19b)](_0xb6bd09[_0x3aada1(0x109)],{'type':_0xb6bd09['LYnHj'],'description':_0x3aada1(0x142),'default':![]});},async _0x51a92b=>{const _0x512a60=_0x4deea5;_0xb6bd09[_0x512a60(0x252)](warnRenamed,_0xb6bd09['ibXXy'],_0xb6bd09[_0x512a60(0x128)]),await withTelemetry(_0xb6bd09['mUDnA'],_0x25bbb2=>start(_0x51a92b['token'],{'skipChromium':_0x51a92b[_0x512a60(0x27b)],'skipAuth':_0x51a92b[_0x512a60(0xff)],'withDeps':_0x51a92b['with-deps'],'scope':_0x51a92b[_0x512a60(0x22b)],'url':_0x51a92b[_0x512a60(0x1cf)],'force':_0x51a92b[_0x512a60(0x1b2)]},_0x25bbb2));})[_0x4deea5(0x141)]('verify-feature',![],_0x393aa8=>{const _0x3e2582=_0x4deea5;return _0x393aa8['option'](_0x3e2582(0x1c3),{'type':_0xb6bd09[_0x3e2582(0x172)],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0x3e2582(0x19b)](_0xb6bd09['jvdAJ'],{'type':'string','description':_0x3e2582(0x17d)})[_0x3e2582(0x19b)](_0xb6bd09['BkhRk'],{'type':_0xb6bd09['sdonn'],'description':_0xb6bd09['oxWem']})['option']('profile',{'type':_0x3e2582(0x1ce),'hidden':!![]})[_0x3e2582(0x19b)](_0xb6bd09[_0x3e2582(0xf5)],{'type':_0xb6bd09[_0x3e2582(0x172)],'hidden':!![]})['option'](_0x3e2582(0x122),{'type':_0xb6bd09['sdonn'],'hidden':!![]})[_0x3e2582(0x19b)]('start-path',{'type':_0xb6bd09[_0x3e2582(0x172)],'description':_0xb6bd09[_0x3e2582(0x215)]})['option']('base-url',{'type':'string','description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})['option'](_0x3e2582(0x1d9),{'type':'string','hidden':!![]})[_0x3e2582(0x19b)](_0xb6bd09['PliBJ'],{'type':_0xb6bd09['LYnHj'],'hidden':!![],'default':![]})['option']('env-var',{'type':_0x3e2582(0x1ce),'array':!![],'alias':_0xb6bd09['ycYGE'],'hidden':!![]})['option'](_0xb6bd09[_0x3e2582(0x20f)],{'type':_0xb6bd09[_0x3e2582(0x172)],'hidden':!![],'choices':['verified',_0xb6bd09[_0x3e2582(0x202)],_0xb6bd09[_0x3e2582(0x111)],_0x3e2582(0x1c7),'incomplete']});},async _0x49c16c=>{await runGoCommand(_0x49c16c,!![]);})[_0x4deea5(0x141)](_0xb6bd09['PaKbF'],![],_0x15e4f0=>{const _0x603ecd=_0x4deea5;return _0x15e4f0[_0x603ecd(0x278)](_0xb6bd09[_0x603ecd(0x16b)],{'type':'string','description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0xb6bd09['LYnHj'],'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})[_0x603ecd(0x19b)]('skip-auth',{'type':'boolean','description':_0x603ecd(0x271),'default':![]});},async _0x55b38c=>{const _0x49592b=_0x4deea5;warnRenamed(_0x49592b(0x1d5),'ranger\x20profile\x20add'),await withTelemetry(_0xb6bd09[_0x49592b(0x119)],_0x23aa25=>addEnv(_0x55b38c[_0x49592b(0x13a)],{'ci':_0x55b38c['ci'],'skipAuth':_0x55b38c['skip-auth']},_0x23aa25));})[_0x4deea5(0x141)](_0x4deea5(0x206),![],_0xa0f1c8=>{const _0x83ab5a=_0x4deea5;return _0xa0f1c8['positional'](_0xb6bd09['oZEAr'],{'type':_0xb6bd09[_0x83ab5a(0x172)],'description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x5a406c=>{const _0x3238e5=_0x4deea5;_0xb6bd09[_0x3238e5(0x123)](warnRenamed,_0xb6bd09[_0x3238e5(0x1a3)],_0xb6bd09['MuKvh']),await _0xb6bd09[_0x3238e5(0x12d)](withTelemetry,_0x3238e5(0x234),()=>useEnv(_0x5a406c['env-name']));})[_0x4deea5(0x141)](_0x4deea5(0x221),![],_0x2d903f=>{const _0x24512f=_0x4deea5,_0x2d3727={'ccVNT':_0xb6bd09['LkTcF'],'Efjez':_0xb6bd09['IzUup'],'OqWef':function(_0x1cea19,_0x3511c2,_0x335ffe){const _0x24da04=_0x2e2d;return _0xb6bd09[_0x24da04(0x103)](_0x1cea19,_0x3511c2,_0x335ffe);},'QqIqT':_0xb6bd09['kPpZi'],'kDSCL':_0xb6bd09[_0x24512f(0x1ba)]};return _0x2d903f[_0x24512f(0x141)]('set\x20<env>\x20<key>\x20<value>',![],_0x28aca3=>{const _0x227bbd=_0x24512f;return _0x28aca3[_0x227bbd(0x278)](_0xb6bd09['kPpZi'],{'type':'string','description':_0xb6bd09[_0x227bbd(0x1ba)],'demandOption':!![]})[_0x227bbd(0x278)](_0xb6bd09['MKUyA'],{'type':_0xb6bd09['XDWTh'],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})['positional'](_0xb6bd09[_0x227bbd(0x110)],{'type':_0x227bbd(0x1ce),'description':_0xb6bd09['DIUpw'],'demandOption':!![]});},async _0x1d73a1=>{const _0x363413=_0x24512f;warnRenamed(_0x363413(0x1e5),_0x2d3727['ccVNT']),await withTelemetry(_0x2d3727[_0x363413(0x140)],()=>configSet(_0x1d73a1['env'],_0x1d73a1[_0x363413(0x15f)],_0x1d73a1[_0x363413(0x1b3)]));})['command']('get\x20<env>\x20<key>',![],_0x5d4c82=>{const _0x507646=_0x24512f;return _0x5d4c82[_0x507646(0x278)]('env',{'type':_0xb6bd09['XDWTh'],'description':'Environment\x20name','demandOption':!![]})['positional'](_0x507646(0x15f),{'type':_0x507646(0x1ce),'description':_0x507646(0x1a7),'demandOption':!![]});},async _0x2d3ba5=>{const _0x78dcc7=_0x24512f;warnRenamed('ranger\x20config\x20get',_0x78dcc7(0x19f)),await _0x2d3727['OqWef'](withTelemetry,_0x78dcc7(0x276),()=>configGet(_0x2d3ba5[_0x78dcc7(0x1c3)],_0x2d3ba5['key']));})['command'](_0xb6bd09['VooJK'],![],_0xe72cd3=>{const _0x16b8b6=_0x24512f;return _0xe72cd3['positional'](_0x2d3727['QqIqT'],{'type':_0x16b8b6(0x1ce),'description':_0x2d3727[_0x16b8b6(0x209)],'demandOption':!![]});},async _0x167753=>{const _0x3b0cef=_0x24512f;_0xb6bd09[_0x3b0cef(0x103)](warnRenamed,_0xb6bd09['hwFJI'],_0xb6bd09['rtJLE']),await withTelemetry(_0xb6bd09['xpELE'],()=>configList(_0x167753[_0x3b0cef(0x1c3)]));})[_0x24512f(0x141)](_0xb6bd09[_0x24512f(0xf3)],![],_0x1ad65d=>{const _0x4091cc=_0x24512f;return _0x1ad65d[_0x4091cc(0x278)](_0xb6bd09[_0x4091cc(0x146)],{'type':_0xb6bd09['XDWTh'],'description':'Environment\x20name','demandOption':!![]})[_0x4091cc(0x278)](_0xb6bd09['MKUyA'],{'type':_0xb6bd09['XDWTh'],'description':_0x4091cc(0x25a),'demandOption':!![]});},async _0x1f74e0=>{const _0x18eb99=_0x24512f;warnRenamed(_0xb6bd09['XGPbI'],_0xb6bd09[_0x18eb99(0x263)]),await withTelemetry('config\x20unset',()=>configUnset(_0x1f74e0[_0x18eb99(0x1c3)],_0x1f74e0['key']));})[_0x24512f(0x15b)](0x1,_0x24512f(0x164));})[_0x4deea5(0x141)]('env',![],_0xe54632=>{const _0x56eafb=_0x4deea5,_0x3818f4={'JWoFo':_0xb6bd09[_0x56eafb(0x20b)]};return _0xe54632[_0x56eafb(0x141)]('ls',![],()=>{},async()=>{const _0xfa2677=_0x56eafb;warnRenamed('ranger\x20env\x20ls',_0xfa2677(0xe6)),await withTelemetry(_0x3818f4[_0xfa2677(0xf9)],()=>envList());})['command'](_0xb6bd09['rQHbF'],![],_0x20b817=>{const _0x2f9bcb=_0x56eafb;return _0x20b817[_0x2f9bcb(0x278)](_0x2f9bcb(0x13a),{'type':_0xb6bd09['XDWTh'],'description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x551f56=>{const _0x555d4d=_0x56eafb;warnRenamed('ranger\x20env\x20update','ranger\x20profile\x20update'),await withTelemetry(_0x555d4d(0xfc),_0x948937=>updateEnv(_0x551f56['env-name'],_0x948937));})['demandCommand'](0x1,_0x56eafb(0x1f4));})['command'](_0xb6bd09[_0x4deea5(0x17c)],![],_0x4f99c3=>{const _0x5cb342=_0x4deea5,_0x379cf4={'GhcjM':'description','WLtsQ':_0xb6bd09['spdDw'],'WSbSy':'array','ZZgZS':_0xb6bd09[_0x5cb342(0x13c)],'gcAiN':_0x5cb342(0x1f6),'Aetyd':_0x5cb342(0x1c8),'jsqWd':'ranger\x20feature\x20list','NdSal':function(_0x2c6903,_0x4b9296,_0x4eb6b4){return _0xb6bd09['IgJVX'](_0x2c6903,_0x4b9296,_0x4eb6b4);},'UTGEq':'feature\x20list','lLVEw':_0xb6bd09['zlQXE'],'Ktrdc':function(_0x3fd6f4,_0x55cf80,_0x4236ba){return _0xb6bd09['hlzhx'](_0x3fd6f4,_0x55cf80,_0x4236ba);},'leYtB':_0xb6bd09[_0x5cb342(0x15c)],'MoWpy':_0xb6bd09[_0x5cb342(0x172)],'SuyNo':_0xb6bd09['pEZjK'],'oWKuv':_0x5cb342(0x181),'lxqZe':function(_0x23a141,_0x2a3e77,_0xa135c){return _0xb6bd09['MRZmA'](_0x23a141,_0x2a3e77,_0xa135c);},'EdcpQ':'ranger\x20feature\x20add-checklist-item','pbQhp':function(_0x198b22,_0x13629b,_0x23ca56){const _0x53eab8=_0x5cb342;return _0xb6bd09[_0x53eab8(0x12d)](_0x198b22,_0x13629b,_0x23ca56);},'HegYv':_0xb6bd09['SElPH'],'KoWqi':_0x5cb342(0x188),'EkOha':'ranger\x20delete','AExDQ':_0xb6bd09['VEsZS'],'dqZGi':_0xb6bd09['wlDla']};return _0x4f99c3['command'](_0xb6bd09[_0x5cb342(0x1e2)],![],_0x5c6d79=>{const _0x2cb804=_0x5cb342;return _0x5c6d79['positional'](_0x2cb804(0x13e),{'type':_0x2cb804(0x1ce),'description':_0x2cb804(0x169),'demandOption':!![]})[_0x2cb804(0x19b)](_0x379cf4[_0x2cb804(0x18c)],{'type':_0x2cb804(0x1ce),'alias':'d','description':'Feature\x20review\x20description'})[_0x2cb804(0x19b)](_0x379cf4[_0x2cb804(0x19d)],{'type':_0x379cf4[_0x2cb804(0x254)],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x2cb804(0x19b)](_0x379cf4['ZZgZS'],{'type':'array','hidden':!![]});},async _0x3ef9e2=>{const _0x3cebf7=_0x5cb342;_0xb6bd09['GrQGM'](warnRenamed,_0xb6bd09['ROIEu'],_0xb6bd09[_0x3cebf7(0x1cc)]),_0xb6bd09[_0x3cebf7(0x25b)](warnFlagRenamed,'ranger\x20create',_0x3cebf7(0x262),'--scenario');const _0x15c6d4=_0x3ef9e2['scenario']||_0x3ef9e2[_0x3cebf7(0x10a)];await _0xb6bd09['MRZmA'](withTelemetry,'feature\x20create',()=>featureCreate(_0x3ef9e2['name'],{'description':_0x3ef9e2['description'],'scenarios':_0x15c6d4}));})['command'](_0xb6bd09[_0x5cb342(0x1d2)],![],_0x469199=>{const _0x55c17e=_0x5cb342;return _0x469199['option'](_0x55c17e(0x253),{'type':_0x379cf4['gcAiN'],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})[_0x55c17e(0x19b)](_0x55c17e(0x1bd),{'type':_0x379cf4['Aetyd'],'alias':'l','description':_0x55c17e(0x154),'default':0xa})['option'](_0x55c17e(0x14e),{'type':_0x379cf4[_0x55c17e(0x277)],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x55c17e(0x19b)](_0x55c17e(0x1ef),{'type':'boolean','alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x4d7fae=>{const _0xf53b0f=_0x5cb342;warnRenamed(_0x379cf4['jsqWd'],_0xf53b0f(0x27e)),await _0x379cf4[_0xf53b0f(0x239)](withTelemetry,_0x379cf4[_0xf53b0f(0x147)],()=>featureList({'currentBranch':_0x4d7fae[_0xf53b0f(0x253)],'limit':_0x4d7fae['limit'],'offset':_0x4d7fae['offset'],'includeDeleted':_0x4d7fae['include-deleted']}));})['command'](_0x5cb342(0x259),![],_0x123867=>{return _0x123867['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x40bb6e=>{const _0x2f1c7c=_0x5cb342;warnRenamed(_0x379cf4[_0x2f1c7c(0x1cb)],_0x2f1c7c(0x139)),await _0x379cf4['NdSal'](withTelemetry,'feature\x20show',()=>featureShow(_0x40bb6e['id']));})['command'](_0xb6bd09[_0x5cb342(0x1b0)],![],_0x402e8a=>{const _0x5d6776=_0x5cb342;return _0x402e8a[_0x5d6776(0x278)]('id',{'type':_0xb6bd09[_0x5d6776(0x172)],'description':_0xb6bd09['LOSog']});},async _0x1c3fb6=>{const _0x15111e=_0x5cb342;_0x379cf4[_0x15111e(0x1f3)](warnRenamed,_0x379cf4[_0x15111e(0x284)],'ranger\x20resume'),await withTelemetry(_0x15111e(0xec),()=>featureResume(_0x1c3fb6['id']));})[_0x5cb342(0x141)](_0xb6bd09['BwEVn'],![],_0x36753d=>{const _0x13de54=_0x5cb342;return _0x36753d['positional'](_0x379cf4['GhcjM'],{'type':_0x379cf4[_0x13de54(0x15d)],'description':_0x379cf4[_0x13de54(0x24e)],'demandOption':!![]})['option']('id',{'type':_0x379cf4[_0x13de54(0x15d)],'description':_0x379cf4[_0x13de54(0x24f)]});},async _0x4cc0e5=>{const _0x7a1604=_0x5cb342;_0x379cf4[_0x7a1604(0x27c)](warnRenamed,_0x379cf4[_0x7a1604(0x1c5)],'ranger\x20add-scenario'),await _0x379cf4[_0x7a1604(0x1f3)](withTelemetry,'feature\x20add-checklist-item',()=>featureAddScenario(_0x4cc0e5['description'],_0x4cc0e5['id']));})[_0x5cb342(0x141)](_0x5cb342(0x199),![],_0x3d1543=>{const _0x54d132=_0x5cb342;return _0x3d1543[_0x54d132(0x278)]('id',{'type':_0xb6bd09['XDWTh'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x228ccd=>{const _0x43d2bd=_0x5cb342;_0x379cf4['Ktrdc'](warnRenamed,_0x43d2bd(0x120),_0x43d2bd(0x1a5)),await _0x379cf4[_0x43d2bd(0x196)](withTelemetry,_0x379cf4[_0x43d2bd(0x238)],()=>featureGetReview(_0x228ccd['id']));})['command'](_0xb6bd09['kVJpX'],![],_0x40c12d=>{const _0x98e0d4=_0x5cb342;return _0x40c12d[_0x98e0d4(0x278)]('id',{'type':_0x379cf4[_0x98e0d4(0x15d)],'description':_0x98e0d4(0x1e9)});},async _0x14c790=>{const _0x1dc21a=_0x5cb342;_0x379cf4['lxqZe'](warnRenamed,_0x379cf4[_0x1dc21a(0x1c9)],_0x379cf4[_0x1dc21a(0x134)]),await withTelemetry(_0x379cf4[_0x1dc21a(0x12a)],()=>featureDelete(_0x14c790['id']));})['command']('restore\x20<id>',![],_0x157fbb=>{const _0x96fb4c=_0x5cb342;return _0x157fbb['positional']('id',{'type':_0x96fb4c(0x1ce),'description':_0x379cf4['dqZGi'],'demandOption':!![]});},async _0x4a7dae=>{const _0xfa067=_0x5cb342;warnRenamed(_0xb6bd09[_0xfa067(0x279)],'ranger\x20restore'),await withTelemetry('feature\x20restore',()=>featureRestore(_0x4a7dae['id']));})['demandCommand'](0x1,_0xb6bd09['QmJes']);})['command'](_0x4deea5(0x25f),![],_0x36409a=>{const _0xa8140c=_0x4deea5,_0x270190={'ViZav':_0xb6bd09[_0xa8140c(0x1be)]};return _0x36409a['command']('enable',_0xb6bd09['WLZCe'],_0x11c474=>{const _0x4ff6ec=_0xa8140c;return _0x11c474['option'](_0x4ff6ec(0x1fb),{'type':_0xb6bd09['XDWTh'],'description':_0xb6bd09[_0x4ff6ec(0x1ac)]});},async _0x1fa414=>{const _0x38c01c=_0xa8140c;await withTelemetry(_0xb6bd09[_0x38c01c(0x19a)],()=>hook('enable',_0x1fa414[_0x38c01c(0x1fb)]));})['command']('disable','Disable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x1f2db2=>{const _0x5d2a63=_0xa8140c;return _0x1f2db2['option'](_0xb6bd09[_0x5d2a63(0x208)],{'type':_0xb6bd09['XDWTh'],'description':_0x5d2a63(0x118)});},async _0x5999b5=>{const _0x8a92c7=_0xa8140c;await withTelemetry(_0x270190[_0x8a92c7(0x18a)],()=>hook('disable',_0x5999b5['session-id']));})['option'](_0xb6bd09['QvLJG'],{'type':_0xb6bd09['XDWTh'],'description':_0xb6bd09[_0xa8140c(0x100)]})['option'](_0xb6bd09[_0xa8140c(0x208)],{'type':_0xb6bd09[_0xa8140c(0x172)],'description':_0xa8140c(0x118)});},async _0x11f4bb=>{const _0x2657ef=_0x4deea5;_0x11f4bb[_0x2657ef(0x13e)]&&await hook(_0x11f4bb['name'],_0x11f4bb[_0xb6bd09[_0x2657ef(0x208)]]);})['demandCommand'](0x1,_0xb6bd09['UbBni'])['strictCommands']()[_0x4deea5(0xe8)](async(_0x35aa61,_0x814165,_0x3012)=>{const _0x4d245f=_0x4deea5,_0x4cc5d3=_0xb6bd09['cVHik'](sanitizeArgs,process['argv'][_0x4d245f(0x22a)](0x2)),_0x43973e=getErrorType(_0x35aa61,_0x814165);if(_0x35aa61&&_0x35aa61[_0x4d245f(0xf0)]('Unknown\x20command')){const _0x209955=process[_0x4d245f(0x1d4)][0x2];console['error'](_0x4d245f(0x236)+_0x209955),console[_0x4d245f(0x26f)](_0x4d245f(0x229));}else{if(_0x35aa61)console['error']('\x0a'+_0x35aa61+'\x0a');else _0x814165&&console['error']('\x0aError:\x20'+_0x814165[_0x4d245f(0x131)]+'\x0a');}await _0xb6bd09[_0x4d245f(0x1c2)](logDesirePath,{'rawCommand':_0x4cc5d3,'errorMessage':_0x35aa61||_0x814165?.[_0x4d245f(0x131)],'errorType':_0x43973e});const _0x1daf03=getCurrentCollector();_0x1daf03&&await _0x1daf03[_0x4d245f(0xea)](_0x814165||new Error(_0x35aa61||_0xb6bd09[_0x4d245f(0x145)])),process[_0x4d245f(0x23c)](0x1);})[_0x4deea5(0x226)](_0xb6bd09[_0x4deea5(0x13d)](_0xb6bd09[_0x4deea5(0x1b7)](_0xb6bd09['UYdsA'],_0xb6bd09['IwoCh']),_0xb6bd09[_0x4deea5(0x178)]))['help']()['alias'](_0x4deea5(0x282),'h');}process['env'][_0xd5872e(0xe7)]!=='test'&&(shouldShowLegacyWarning(process[_0xd5872e(0x1d4)])&&showLegacyDeprecationWarning(),buildParser()['parse']());
|